diff --git a/app/build.gradle b/app/build.gradle index 65b5c500b1..91f4cc4c79 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId 'com.discord' minSdkVersion 21 targetSdkVersion 30 - versionCode 99020 - versionName "99.20 - Stable" + versionCode 100016 + versionName "100.16 - Stable" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index c169fc6490..43d206852b 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ - + @@ -72,7 +72,7 @@ - + @@ -99,6 +99,8 @@ + + @@ -118,8 +120,10 @@ + + - + @@ -138,7 +142,7 @@ - + @@ -201,8 +205,8 @@ - - + + @@ -292,7 +296,7 @@ - + diff --git a/app/src/main/java/a0/a/a/a.java b/app/src/main/java/a0/a/a/a.java index f3203bb19a..60a84cf1f6 100644 --- a/app/src/main/java/a0/a/a/a.java +++ b/app/src/main/java/a0/a/a/a.java @@ -1,33 +1,7 @@ package a0.a.a; - -import a0.a.a.e.c; -import android.graphics.Bitmap; -import c0.z.d.m; -import c0.z.d.o; -import java.util.Objects; -import kotlin.Unit; -import kotlin.jvm.functions.Function1; -/* compiled from: Compressor.kt */ -public final class a extends o implements Function1 { - public static final a i = new a(); - - public a() { - super(1); - } - - /* Return type fixed from 'java.lang.Object' to match base method */ - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // kotlin.jvm.functions.Function1 - public Unit invoke(a0.a.a.e.a aVar) { - a0.a.a.e.a aVar2 = aVar; - m.checkParameterIsNotNull(aVar2, "$receiver"); - Bitmap.CompressFormat compressFormat = Bitmap.CompressFormat.JPEG; - m.checkParameterIsNotNull(aVar2, "$this$default"); - m.checkParameterIsNotNull(compressFormat, "format"); - c cVar = new c(612, 816, compressFormat, 80); - Objects.requireNonNull(aVar2); - m.checkParameterIsNotNull(cVar, "constraint"); - aVar2.a.add(cVar); - return Unit.a; +public /* synthetic */ class a { + public static /* synthetic */ int a(double d) { + long doubleToLongBits = Double.doubleToLongBits(d); + return (int) (doubleToLongBits ^ (doubleToLongBits >>> 32)); } } diff --git a/app/src/main/java/a0/a/a/b.java b/app/src/main/java/a0/a/a/b.java index 65b4e459cc..18e77b7ea6 100644 --- a/app/src/main/java/a0/a/a/b.java +++ b/app/src/main/java/a0/a/a/b.java @@ -1,159 +1,6 @@ package a0.a.a; - -import a0.a.a.e.a; -import android.content.ContentResolver; -import android.content.Context; -import android.database.Cursor; -import android.net.Uri; -import android.os.ParcelFileDescriptor; -import androidx.core.app.NotificationCompat; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.k; -import c0.z.d.m; -import java.io.File; -import java.io.FileOutputStream; -import java.text.SimpleDateFormat; -import java.util.Date; -import java.util.Locale; -import kotlin.Unit; -import kotlin.coroutines.Continuation; -import kotlin.jvm.functions.Function1; -import kotlin.jvm.functions.Function2; -import kotlinx.coroutines.CoroutineScope; -/* compiled from: Compressor.kt */ -@e(c = "id.zelory.compressor.Compressor$compress$6", f = "Compressor.kt", l = {}, m = "invokeSuspend") -public final class b extends k implements Function2, Object> { - public final /* synthetic */ Function1 $compressionPatch; - public final /* synthetic */ Context $context; - public final /* synthetic */ Uri $imageFileUri; - public int label; - private CoroutineScope p$; - - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public b(Function1 function1, Context context, Uri uri, Continuation continuation) { - super(2, continuation); - this.$compressionPatch = function1; - this.$context = context; - this.$imageFileUri = uri; - } - - @Override // c0.w.i.a.a - public final Continuation create(Object obj, Continuation continuation) { - m.checkParameterIsNotNull(continuation, "completion"); - b bVar = new b(this.$compressionPatch, this.$context, this.$imageFileUri, continuation); - bVar.p$ = (CoroutineScope) obj; - return bVar; - } - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ - @Override // kotlin.jvm.functions.Function2 - public final Object invoke(CoroutineScope coroutineScope, Continuation continuation) { - Continuation continuation2 = continuation; - m.checkParameterIsNotNull(continuation2, "completion"); - b bVar = new b(this.$compressionPatch, this.$context, this.$imageFileUri, continuation2); - bVar.p$ = coroutineScope; - return bVar.invokeSuspend(Unit.a); - } - - /* JADX WARNING: Code restructure failed: missing block: B:42:0x015e, code lost: - r2 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:43:0x015f, code lost: - c0.y.b.closeFinally(r0, r13); - */ - /* JADX WARNING: Code restructure failed: missing block: B:44:0x0162, code lost: - throw r2; - */ - /* JADX WARNING: Code restructure failed: missing block: B:47:0x0164, code lost: - r0 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:48:0x0165, code lost: - c0.y.b.closeFinally(r1, r13); - */ - /* JADX WARNING: Code restructure failed: missing block: B:49:0x0168, code lost: - throw r0; - */ - /* JADX WARNING: Code restructure failed: missing block: B:55:0x0182, code lost: - r0 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:56:0x0183, code lost: - c0.y.b.closeFinally(r1, r13); - */ - /* JADX WARNING: Code restructure failed: missing block: B:57:0x0186, code lost: - throw r0; - */ - @Override // c0.w.i.a.a - public final Object invokeSuspend(Object obj) { - String str; - c.getCOROUTINE_SUSPENDED(); - if (this.label == 0) { - l.throwOnFailure(obj); - a aVar = new a(); - this.$compressionPatch.invoke(aVar); - Context context = this.$context; - Uri uri = this.$imageFileUri; - String str2 = d.a; - m.checkParameterIsNotNull(context, "context"); - m.checkParameterIsNotNull(uri, "srcFileUri"); - StringBuilder sb = new StringBuilder(); - StringBuilder sb2 = new StringBuilder(); - File cacheDir = context.getCacheDir(); - m.checkExpressionValueIsNotNull(cacheDir, "context.cacheDir"); - sb2.append(cacheDir.getPath()); - String str3 = d.a; - sb2.append(str3); - sb2.append("compressor"); - sb2.append(str3); - sb.append(sb2.toString()); - m.checkParameterIsNotNull(context, "context"); - m.checkParameterIsNotNull(uri, NotificationCompat.MessagingStyle.Message.KEY_DATA_URI); - ContentResolver contentResolver = context.getContentResolver(); - Cursor query = contentResolver.query(uri, new String[]{"_display_name"}, null, null, null); - if (query == null) { - m.throwNpe(); - } - int columnIndex = query.getColumnIndex("_display_name"); - if (query.moveToFirst()) { - str = query.getString(columnIndex); - m.checkExpressionValueIsNotNull(str, "it.getString(nameIndex)"); - c0.y.b.closeFinally(query, null); - } else { - String str4 = "IMG_" + new SimpleDateFormat("yyyyMMdd_", Locale.getDefault()).format(new Date()) + System.nanoTime(); - String type = contentResolver.getType(uri); - if (m.areEqual(type, "image/jpg") || m.areEqual(type, "image/jpeg")) { - str = str4 + ".jpeg"; - } else if (m.areEqual(type, "image/png")) { - str = str4 + ".png"; - } else { - throw new IllegalStateException(type + " fallback display name not supported"); - } - c0.y.b.closeFinally(query, null); - } - sb.append(str); - File file = new File(sb.toString()); - File parentFile = file.getParentFile(); - if (parentFile != null) { - parentFile.mkdirs(); - } - if (file.exists()) { - file.delete(); - } - file.createNewFile(); - file.deleteOnExit(); - ParcelFileDescriptor.AutoCloseInputStream autoCloseInputStream = new ParcelFileDescriptor.AutoCloseInputStream(context.getContentResolver().openFileDescriptor(uri, "r")); - FileOutputStream fileOutputStream = new FileOutputStream(file); - c0.y.a.copyTo$default(autoCloseInputStream, fileOutputStream, 0, 2, null); - c0.y.b.closeFinally(fileOutputStream, null); - c0.y.b.closeFinally(autoCloseInputStream, null); - for (a0.a.a.e.b bVar : aVar.a) { - while (!bVar.b(file)) { - file = bVar.a(file); - } - } - return file; - } - throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); +public /* synthetic */ class b { + public static /* synthetic */ int a(long j) { + return (int) (j ^ (j >>> 32)); } } diff --git a/app/src/main/java/a0/a/a/c.java b/app/src/main/java/a0/a/a/c.java deleted file mode 100644 index 277244e5c7..0000000000 --- a/app/src/main/java/a0/a/a/c.java +++ /dev/null @@ -1,13 +0,0 @@ -package a0.a.a; - -import android.graphics.Bitmap; -public final /* synthetic */ class c { - public static final /* synthetic */ int[] a; - - static { - int[] iArr = new int[Bitmap.CompressFormat.values().length]; - a = iArr; - iArr[Bitmap.CompressFormat.PNG.ordinal()] = 1; - iArr[Bitmap.CompressFormat.WEBP.ordinal()] = 2; - } -} diff --git a/app/src/main/java/a0/a/a/d.java b/app/src/main/java/a0/a/a/d.java deleted file mode 100644 index 65dbdd4d0d..0000000000 --- a/app/src/main/java/a0/a/a/d.java +++ /dev/null @@ -1,7 +0,0 @@ -package a0.a.a; - -import java.io.File; -/* compiled from: Util.kt */ -public final class d { - public static final String a = File.separator; -} diff --git a/app/src/main/java/a0/a/a/e/a.java b/app/src/main/java/a0/a/a/e/a.java deleted file mode 100644 index 675aa7a524..0000000000 --- a/app/src/main/java/a0/a/a/e/a.java +++ /dev/null @@ -1,8 +0,0 @@ -package a0.a.a.e; - -import java.util.ArrayList; -import java.util.List; -/* compiled from: Compression.kt */ -public final class a { - public final List a = new ArrayList(); -} diff --git a/app/src/main/java/a0/a/a/e/b.java b/app/src/main/java/a0/a/a/e/b.java deleted file mode 100644 index ea6d9645bd..0000000000 --- a/app/src/main/java/a0/a/a/e/b.java +++ /dev/null @@ -1,9 +0,0 @@ -package a0.a.a.e; - -import java.io.File; -/* compiled from: Constraint.kt */ -public interface b { - File a(File file); - - boolean b(File file); -} diff --git a/app/src/main/java/a0/a/a/e/c.java b/app/src/main/java/a0/a/a/e/c.java deleted file mode 100644 index 566cef8768..0000000000 --- a/app/src/main/java/a0/a/a/e/c.java +++ /dev/null @@ -1,198 +0,0 @@ -package a0.a.a.e; - -import a0.a.a.d; -import android.graphics.Bitmap; -import android.graphics.BitmapFactory; -import android.graphics.Matrix; -import android.media.ExifInterface; -import c0.g0.w; -import c0.o; -import c0.y.h; -import c0.z.d.m; -import java.io.File; -import java.io.FileOutputStream; -import kotlin.Pair; -import kotlin.TypeCastException; -/* compiled from: DefaultConstraint.kt */ -public final class c implements b { - public boolean a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f13c; - public final Bitmap.CompressFormat d; - public final int e; - - public c(int i, int i2, Bitmap.CompressFormat compressFormat, int i3) { - m.checkParameterIsNotNull(compressFormat, "format"); - this.b = i; - this.f13c = i2; - this.d = compressFormat; - this.e = i3; - } - - /* JADX WARNING: Removed duplicated region for block: B:34:0x0111 */ - /* JADX WARNING: Removed duplicated region for block: B:35:0x0113 */ - /* JADX WARNING: Removed duplicated region for block: B:43:0x0164 */ - /* JADX WARNING: Removed duplicated region for block: B:54:0x0182 */ - @Override // a0.a.a.e.b - public File a(File file) { - int i; - Bitmap.CompressFormat compressFormat; - File file2; - File parentFile; - Throwable th; - FileOutputStream fileOutputStream; - m.checkParameterIsNotNull(file, "imageFile"); - int i2 = this.b; - int i3 = this.f13c; - String str = d.a; - m.checkParameterIsNotNull(file, "imageFile"); - BitmapFactory.Options options = new BitmapFactory.Options(); - options.inJustDecodeBounds = true; - BitmapFactory.decodeFile(file.getAbsolutePath(), options); - m.checkParameterIsNotNull(options, "options"); - Pair pair = o.to(Integer.valueOf(options.outHeight), Integer.valueOf(options.outWidth)); - int intValue = ((Number) pair.component1()).intValue(); - int intValue2 = ((Number) pair.component2()).intValue(); - if (intValue > i3 || intValue2 > i2) { - int i4 = intValue / 2; - int i5 = intValue2 / 2; - i = 1; - while (i4 / i >= i3 && i5 / i >= i2) { - i *= 2; - } - } else { - i = 1; - } - options.inSampleSize = i; - options.inJustDecodeBounds = false; - Bitmap decodeFile = BitmapFactory.decodeFile(file.getAbsolutePath(), options); - m.checkExpressionValueIsNotNull(decodeFile, "BitmapFactory.decodeFile…eFile.absolutePath, this)"); - m.checkExpressionValueIsNotNull(decodeFile, "BitmapFactory.Options().…absolutePath, this)\n }"); - m.checkParameterIsNotNull(file, "imageFile"); - m.checkParameterIsNotNull(decodeFile, "bitmap"); - int attributeInt = new ExifInterface(file.getAbsolutePath()).getAttributeInt(androidx.exifinterface.media.ExifInterface.TAG_ORIENTATION, 0); - Matrix matrix = new Matrix(); - if (attributeInt == 3) { - matrix.postRotate(180.0f); - } else if (attributeInt == 6) { - matrix.postRotate(90.0f); - } else if (attributeInt == 8) { - matrix.postRotate(270.0f); - } - Bitmap createBitmap = Bitmap.createBitmap(decodeFile, 0, 0, decodeFile.getWidth(), decodeFile.getHeight(), matrix, true); - m.checkExpressionValueIsNotNull(createBitmap, "Bitmap.createBitmap(bitm…map.height, matrix, true)"); - Bitmap.CompressFormat compressFormat2 = this.d; - int i6 = this.e; - m.checkParameterIsNotNull(file, "imageFile"); - m.checkParameterIsNotNull(createBitmap, "bitmap"); - m.checkParameterIsNotNull(compressFormat2, "format"); - m.checkParameterIsNotNull(file, "$this$compressFormat"); - String extension = h.getExtension(file); - if (extension != null) { - String lowerCase = extension.toLowerCase(); - m.checkExpressionValueIsNotNull(lowerCase, "(this as java.lang.String).toLowerCase()"); - int hashCode = lowerCase.hashCode(); - String str2 = "webp"; - if (hashCode != 111145) { - if (hashCode == 3645340 && lowerCase.equals(str2)) { - compressFormat = Bitmap.CompressFormat.WEBP; - FileOutputStream fileOutputStream2 = null; - if (compressFormat2 == compressFormat) { - file2 = file; - } else { - StringBuilder sb = new StringBuilder(); - String absolutePath = file.getAbsolutePath(); - m.checkExpressionValueIsNotNull(absolutePath, "imageFile.absolutePath"); - sb.append(w.substringBeforeLast$default(absolutePath, ".", (String) null, 2, (Object) null)); - sb.append('.'); - m.checkParameterIsNotNull(compressFormat2, "$this$extension"); - int i7 = a0.a.a.c.a[compressFormat2.ordinal()]; - if (i7 == 1) { - str2 = "png"; - } else if (i7 != 2) { - str2 = "jpg"; - } - sb.append(str2); - file2 = new File(sb.toString()); - } - file.delete(); - m.checkParameterIsNotNull(createBitmap, "bitmap"); - m.checkParameterIsNotNull(file2, "destination"); - m.checkParameterIsNotNull(compressFormat2, "format"); - parentFile = file2.getParentFile(); - if (parentFile != null) { - parentFile.mkdirs(); - } - fileOutputStream = new FileOutputStream(file2.getAbsolutePath()); - createBitmap.compress(compressFormat2, i6, fileOutputStream); - fileOutputStream.flush(); - fileOutputStream.close(); - this.a = true; - return file2; - } - } else if (lowerCase.equals("png")) { - compressFormat = Bitmap.CompressFormat.PNG; - FileOutputStream fileOutputStream2 = null; - if (compressFormat2 == compressFormat) { - } - file.delete(); - m.checkParameterIsNotNull(createBitmap, "bitmap"); - m.checkParameterIsNotNull(file2, "destination"); - m.checkParameterIsNotNull(compressFormat2, "format"); - parentFile = file2.getParentFile(); - if (parentFile != null) { - } - fileOutputStream = new FileOutputStream(file2.getAbsolutePath()); - createBitmap.compress(compressFormat2, i6, fileOutputStream); - fileOutputStream.flush(); - fileOutputStream.close(); - this.a = true; - return file2; - } - compressFormat = Bitmap.CompressFormat.JPEG; - FileOutputStream fileOutputStream2 = null; - if (compressFormat2 == compressFormat) { - } - file.delete(); - m.checkParameterIsNotNull(createBitmap, "bitmap"); - m.checkParameterIsNotNull(file2, "destination"); - m.checkParameterIsNotNull(compressFormat2, "format"); - parentFile = file2.getParentFile(); - if (parentFile != null) { - } - try { - fileOutputStream = new FileOutputStream(file2.getAbsolutePath()); - try { - createBitmap.compress(compressFormat2, i6, fileOutputStream); - fileOutputStream.flush(); - fileOutputStream.close(); - this.a = true; - return file2; - } catch (Throwable th2) { - th = th2; - fileOutputStream2 = fileOutputStream; - if (fileOutputStream2 != null) { - fileOutputStream2.flush(); - fileOutputStream2.close(); - } - throw th; - } - } catch (Throwable th3) { - th = th3; - if (fileOutputStream2 != null) { - } - throw th; - } - } else { - throw new TypeCastException("null cannot be cast to non-null type java.lang.String"); - } - } - - @Override // a0.a.a.e.b - public boolean b(File file) { - m.checkParameterIsNotNull(file, "imageFile"); - return this.a; - } -} diff --git a/app/src/main/java/android/support/v4/media/MediaBrowserCompat.java b/app/src/main/java/android/support/v4/media/MediaBrowserCompat.java index 33b916a783..98f6be149e 100644 --- a/app/src/main/java/android/support/v4/media/MediaBrowserCompat.java +++ b/app/src/main/java/android/support/v4/media/MediaBrowserCompat.java @@ -3,6 +3,7 @@ package android.support.v4.media; import android.annotation.SuppressLint; import android.content.ComponentName; import android.content.Context; +import android.media.MediaDescription; import android.media.browse.MediaBrowser; import android.os.BadParcelableException; import android.os.Binder; @@ -20,6 +21,7 @@ import android.support.v4.media.session.MediaSessionCompat; import android.support.v4.os.ResultReceiver; import android.text.TextUtils; import android.util.Log; +import androidx.annotation.DoNotInline; import androidx.annotation.NonNull; import androidx.annotation.RequiresApi; import androidx.collection.ArrayMap; @@ -31,10 +33,10 @@ import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.List; import java.util.Objects; -import w.a.b.b.a.b; +import x.a.b.b.a.b; public final class MediaBrowserCompat { public static final boolean a = Log.isLoggable("MediaBrowserCompat", 3); - public final c b; + public final d b; public static class CustomActionResultReceiver extends ResultReceiver { @Override // android.support.v4.os.ResultReceiver @@ -105,7 +107,7 @@ public final class MediaBrowserCompat { for (Object obj : list) { if (obj != null) { MediaBrowser.MediaItem mediaItem2 = (MediaBrowser.MediaItem) obj; - mediaItem = new MediaItem(MediaDescriptionCompat.a(mediaItem2.getDescription()), mediaItem2.getFlags()); + mediaItem = new MediaItem(MediaDescriptionCompat.a(a.a(mediaItem2)), a.b(mediaItem2)); } else { mediaItem = null; } @@ -151,12 +153,25 @@ public final class MediaBrowserCompat { } } - public static class a extends Handler { - public final WeakReference a; + @RequiresApi(21) + public static class a { + @DoNotInline + public static MediaDescription a(MediaBrowser.MediaItem mediaItem) { + return mediaItem.getDescription(); + } + + @DoNotInline + public static int b(MediaBrowser.MediaItem mediaItem) { + return mediaItem.getFlags(); + } + } + + public static class b extends Handler { + public final WeakReference a; public WeakReference b; - public a(g gVar) { - this.a = new WeakReference<>(gVar); + public b(h hVar) { + this.a = new WeakReference<>(hVar); } public void a(Messenger messenger) { @@ -169,16 +184,16 @@ public final class MediaBrowserCompat { if (weakReference != null && weakReference.get() != null && this.a.get() != null) { Bundle data = message.getData(); MediaSessionCompat.a(data); - g gVar = this.a.get(); + h hVar = this.a.get(); Messenger messenger = this.b.get(); try { int i = message.what; if (i == 1) { Bundle bundle = data.getBundle(MediaBrowserProtocol.DATA_ROOT_HINTS); MediaSessionCompat.a(bundle); - gVar.a(messenger, data.getString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID), (MediaSessionCompat.Token) data.getParcelable(MediaBrowserProtocol.DATA_MEDIA_SESSION_TOKEN), bundle); + hVar.a(messenger, data.getString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID), (MediaSessionCompat.Token) data.getParcelable(MediaBrowserProtocol.DATA_MEDIA_SESSION_TOKEN), bundle); } else if (i == 2) { - gVar.c(messenger); + hVar.c(messenger); } else if (i != 3) { Log.w("MediaBrowserCompat", "Unhandled message: " + message + "\n Client version: 1\n Service version: " + message.arg1); } else { @@ -186,21 +201,21 @@ public final class MediaBrowserCompat { MediaSessionCompat.a(bundle2); Bundle bundle3 = data.getBundle(MediaBrowserProtocol.DATA_NOTIFY_CHILDREN_CHANGED_OPTIONS); MediaSessionCompat.a(bundle3); - gVar.b(messenger, data.getString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID), data.getParcelableArrayList(MediaBrowserProtocol.DATA_MEDIA_ITEM_LIST), bundle2, bundle3); + hVar.b(messenger, data.getString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID), data.getParcelableArrayList(MediaBrowserProtocol.DATA_MEDIA_ITEM_LIST), bundle2, bundle3); } } catch (BadParcelableException unused) { Log.e("MediaBrowserCompat", "Could not unparcel the data."); if (message.what == 1) { - gVar.c(messenger); + hVar.c(messenger); } } } } } - public static class b { + public static class c { public final MediaBrowser.ConnectionCallback mConnectionCallbackFwk = new a(); - public AbstractC0000b mConnectionCallbackInternal; + public b mConnectionCallbackInternal; @RequiresApi(21) public class a extends MediaBrowser.ConnectionCallback { @@ -209,71 +224,70 @@ public final class MediaBrowserCompat { @Override // android.media.browse.MediaBrowser.ConnectionCallback public void onConnected() { - AbstractC0000b bVar = b.this.mConnectionCallbackInternal; + b bVar = c.this.mConnectionCallbackInternal; if (bVar != null) { - d dVar = (d) bVar; - Objects.requireNonNull(dVar); + e eVar = (e) bVar; + Objects.requireNonNull(eVar); try { - Bundle extras = dVar.b.getExtras(); + Bundle extras = eVar.b.getExtras(); if (extras != null) { extras.getInt(MediaBrowserProtocol.EXTRA_SERVICE_VERSION, 0); IBinder binder = BundleCompat.getBinder(extras, MediaBrowserProtocol.EXTRA_MESSENGER_BINDER); if (binder != null) { - dVar.f = new h(binder, dVar.f14c); - Messenger messenger = new Messenger(dVar.d); - dVar.g = messenger; - dVar.d.a(messenger); + eVar.f = new i(binder, eVar.f13c); + Messenger messenger = new Messenger(eVar.d); + eVar.g = messenger; + eVar.d.a(messenger); try { - h hVar = dVar.f; - Context context = dVar.a; - Messenger messenger2 = dVar.g; - Objects.requireNonNull(hVar); + i iVar = eVar.f; + Context context = eVar.a; + Messenger messenger2 = eVar.g; + Objects.requireNonNull(iVar); Bundle bundle = new Bundle(); bundle.putString(MediaBrowserProtocol.DATA_PACKAGE_NAME, context.getPackageName()); bundle.putInt(MediaBrowserProtocol.DATA_CALLING_PID, Process.myPid()); - bundle.putBundle(MediaBrowserProtocol.DATA_ROOT_HINTS, hVar.b); - hVar.a(6, bundle, messenger2); + bundle.putBundle(MediaBrowserProtocol.DATA_ROOT_HINTS, iVar.b); + iVar.a(6, bundle, messenger2); } catch (RemoteException unused) { Log.i("MediaBrowserCompat", "Remote error registering client messenger."); } } - w.a.b.b.a.b e = b.a.e(BundleCompat.getBinder(extras, MediaBrowserProtocol.EXTRA_SESSION_BINDER)); + x.a.b.b.a.b e = b.a.e(BundleCompat.getBinder(extras, MediaBrowserProtocol.EXTRA_SESSION_BINDER)); if (e != null) { - dVar.h = MediaSessionCompat.Token.a(dVar.b.getSessionToken(), e); + eVar.h = MediaSessionCompat.Token.a(eVar.b.getSessionToken(), e); } } } catch (IllegalStateException e2) { Log.e("MediaBrowserCompat", "Unexpected IllegalStateException", e2); } } - b.this.onConnected(); + c.this.onConnected(); } @Override // android.media.browse.MediaBrowser.ConnectionCallback public void onConnectionFailed() { - AbstractC0000b bVar = b.this.mConnectionCallbackInternal; + b bVar = c.this.mConnectionCallbackInternal; if (bVar != null) { - Objects.requireNonNull((d) bVar); + Objects.requireNonNull((e) bVar); } - b.this.onConnectionFailed(); + c.this.onConnectionFailed(); } @Override // android.media.browse.MediaBrowser.ConnectionCallback public void onConnectionSuspended() { - AbstractC0000b bVar = b.this.mConnectionCallbackInternal; + b bVar = c.this.mConnectionCallbackInternal; if (bVar != null) { - d dVar = (d) bVar; - dVar.f = null; - dVar.g = null; - dVar.h = null; - dVar.d.a(null); + e eVar = (e) bVar; + eVar.f = null; + eVar.g = null; + eVar.h = null; + eVar.d.a(null); } - b.this.onConnectionSuspended(); + c.this.onConnectionSuspended(); } } - /* renamed from: android.support.v4.media.MediaBrowserCompat$b$b reason: collision with other inner class name */ - public interface AbstractC0000b { + public interface b { } public void onConnected() { @@ -288,73 +302,73 @@ public final class MediaBrowserCompat { throw null; } - public void setInternalConnectionCallback(AbstractC0000b bVar) { + public void setInternalConnectionCallback(b bVar) { this.mConnectionCallbackInternal = bVar; } } - public interface c { + public interface d { } @RequiresApi(21) - public static class d implements c, g, b.AbstractC0000b { + public static class e implements d, h, c.b { public final Context a; public final MediaBrowser b; /* renamed from: c reason: collision with root package name */ - public final Bundle f14c; - public final a d = new a(this); - public final ArrayMap e = new ArrayMap<>(); - public h f; + public final Bundle f13c; + public final b d = new b(this); + public final ArrayMap e = new ArrayMap<>(); + public i f; public Messenger g; public MediaSessionCompat.Token h; - public d(Context context, ComponentName componentName, b bVar, Bundle bundle) { + public e(Context context, ComponentName componentName, c cVar, Bundle bundle) { this.a = context; Bundle bundle2 = bundle != null ? new Bundle(bundle) : new Bundle(); - this.f14c = bundle2; + this.f13c = bundle2; bundle2.putInt(MediaBrowserProtocol.EXTRA_CLIENT_VERSION, 1); bundle2.putInt(MediaBrowserProtocol.EXTRA_CALLING_PID, Process.myPid()); - bVar.setInternalConnectionCallback(this); - this.b = new MediaBrowser(context, componentName, bVar.mConnectionCallbackFwk, bundle2); + cVar.setInternalConnectionCallback(this); + this.b = new MediaBrowser(context, componentName, cVar.mConnectionCallbackFwk, bundle2); } - @Override // android.support.v4.media.MediaBrowserCompat.g + @Override // android.support.v4.media.MediaBrowserCompat.h public void a(Messenger messenger, String str, MediaSessionCompat.Token token, Bundle bundle) { } - @Override // android.support.v4.media.MediaBrowserCompat.g + @Override // android.support.v4.media.MediaBrowserCompat.h public void b(Messenger messenger, String str, List list, Bundle bundle, Bundle bundle2) { if (this.g == messenger) { - i iVar = this.e.get(str); - if (iVar != null) { - iVar.a(bundle); + j jVar = this.e.get(str); + if (jVar != null) { + jVar.a(bundle); } else if (MediaBrowserCompat.a) { Log.d("MediaBrowserCompat", "onLoadChildren for id that isn't subscribed id=" + str); } } } - @Override // android.support.v4.media.MediaBrowserCompat.g + @Override // android.support.v4.media.MediaBrowserCompat.h public void c(Messenger messenger) { } } @RequiresApi(23) - public static class e extends d { - public e(Context context, ComponentName componentName, b bVar, Bundle bundle) { - super(context, componentName, bVar, bundle); + public static class f extends e { + public f(Context context, ComponentName componentName, c cVar, Bundle bundle) { + super(context, componentName, cVar, bundle); } } @RequiresApi(26) - public static class f extends e { - public f(Context context, ComponentName componentName, b bVar, Bundle bundle) { - super(context, componentName, bVar, bundle); + public static class g extends f { + public g(Context context, ComponentName componentName, c cVar, Bundle bundle) { + super(context, componentName, cVar, bundle); } } - public interface g { + public interface h { void a(Messenger messenger, String str, MediaSessionCompat.Token token, Bundle bundle); void b(Messenger messenger, String str, List list, Bundle bundle, Bundle bundle2); @@ -362,11 +376,11 @@ public final class MediaBrowserCompat { void c(Messenger messenger); } - public static class h { + public static class i { public Messenger a; public Bundle b; - public h(IBinder iBinder, Bundle bundle) { + public i(IBinder iBinder, Bundle bundle) { this.a = new Messenger(iBinder); this.b = bundle; } @@ -381,11 +395,11 @@ public final class MediaBrowserCompat { } } - public static class i { - public final List a = new ArrayList(); + public static class j { + public final List a = new ArrayList(); public final List b = new ArrayList(); - public j a(Bundle bundle) { + public k a(Bundle bundle) { for (int i = 0; i < this.b.size(); i++) { if (MediaBrowserCompatUtils.areSameOptions(this.b.get(i), bundle)) { return this.a.get(i); @@ -395,7 +409,7 @@ public final class MediaBrowserCompat { } } - public static abstract class j { + public static abstract class k { public final IBinder a = new Binder(); @RequiresApi(21) @@ -405,15 +419,15 @@ public final class MediaBrowserCompat { @Override // android.media.browse.MediaBrowser.SubscriptionCallback public void onChildrenLoaded(@NonNull String str, List list) { - Objects.requireNonNull(j.this); - j jVar = j.this; + Objects.requireNonNull(k.this); + k kVar = k.this; MediaItem.a(list); - Objects.requireNonNull(jVar); + Objects.requireNonNull(kVar); } @Override // android.media.browse.MediaBrowser.SubscriptionCallback public void onError(@NonNull String str) { - Objects.requireNonNull(j.this); + Objects.requireNonNull(k.this); } } @@ -426,19 +440,19 @@ public final class MediaBrowserCompat { @Override // android.media.browse.MediaBrowser.SubscriptionCallback public void onChildrenLoaded(@NonNull String str, @NonNull List list, @NonNull Bundle bundle) { MediaSessionCompat.a(bundle); - j jVar = j.this; + k kVar = k.this; MediaItem.a(list); - Objects.requireNonNull(jVar); + Objects.requireNonNull(kVar); } @Override // android.media.browse.MediaBrowser.SubscriptionCallback public void onError(@NonNull String str, @NonNull Bundle bundle) { MediaSessionCompat.a(bundle); - Objects.requireNonNull(j.this); + Objects.requireNonNull(k.this); } } - public j() { + public k() { if (Build.VERSION.SDK_INT >= 26) { new b(); } else { @@ -447,14 +461,14 @@ public final class MediaBrowserCompat { } } - public MediaBrowserCompat(Context context, ComponentName componentName, b bVar, Bundle bundle) { + public MediaBrowserCompat(Context context, ComponentName componentName, c cVar, Bundle bundle) { int i2 = Build.VERSION.SDK_INT; if (i2 >= 26) { - this.b = new f(context, componentName, bVar, null); + this.b = new g(context, componentName, cVar, null); } else if (i2 >= 23) { - this.b = new e(context, componentName, bVar, null); + this.b = new f(context, componentName, cVar, null); } else { - this.b = new d(context, componentName, bVar, null); + this.b = new e(context, componentName, cVar, null); } } } diff --git a/app/src/main/java/android/support/v4/media/MediaDescriptionCompat.java b/app/src/main/java/android/support/v4/media/MediaDescriptionCompat.java index c5c03898db..eae642a373 100644 --- a/app/src/main/java/android/support/v4/media/MediaDescriptionCompat.java +++ b/app/src/main/java/android/support/v4/media/MediaDescriptionCompat.java @@ -9,6 +9,9 @@ import android.os.Bundle; import android.os.Parcel; import android.os.Parcelable; import android.support.v4.media.session.MediaSessionCompat; +import androidx.annotation.DoNotInline; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; @SuppressLint({"BanParcelableUsage"}) public final class MediaDescriptionCompat implements Parcelable { public static final Parcelable.Creator CREATOR = new a(); @@ -36,6 +39,110 @@ public final class MediaDescriptionCompat implements Parcelable { } } + @RequiresApi(21) + public static class b { + @DoNotInline + public static MediaDescription a(MediaDescription.Builder builder) { + return builder.build(); + } + + @DoNotInline + public static MediaDescription.Builder b() { + return new MediaDescription.Builder(); + } + + @Nullable + @DoNotInline + public static CharSequence c(MediaDescription mediaDescription) { + return mediaDescription.getDescription(); + } + + @Nullable + @DoNotInline + public static Bundle d(MediaDescription mediaDescription) { + return mediaDescription.getExtras(); + } + + @Nullable + @DoNotInline + public static Bitmap e(MediaDescription mediaDescription) { + return mediaDescription.getIconBitmap(); + } + + @Nullable + @DoNotInline + public static Uri f(MediaDescription mediaDescription) { + return mediaDescription.getIconUri(); + } + + @Nullable + @DoNotInline + public static String g(MediaDescription mediaDescription) { + return mediaDescription.getMediaId(); + } + + @Nullable + @DoNotInline + public static CharSequence h(MediaDescription mediaDescription) { + return mediaDescription.getSubtitle(); + } + + @Nullable + @DoNotInline + public static CharSequence i(MediaDescription mediaDescription) { + return mediaDescription.getTitle(); + } + + @DoNotInline + public static void j(MediaDescription.Builder builder, @Nullable CharSequence charSequence) { + builder.setDescription(charSequence); + } + + @DoNotInline + public static void k(MediaDescription.Builder builder, @Nullable Bundle bundle) { + builder.setExtras(bundle); + } + + @DoNotInline + public static void l(MediaDescription.Builder builder, @Nullable Bitmap bitmap) { + builder.setIconBitmap(bitmap); + } + + @DoNotInline + public static void m(MediaDescription.Builder builder, @Nullable Uri uri) { + builder.setIconUri(uri); + } + + @DoNotInline + public static void n(MediaDescription.Builder builder, @Nullable String str) { + builder.setMediaId(str); + } + + @DoNotInline + public static void o(MediaDescription.Builder builder, @Nullable CharSequence charSequence) { + builder.setSubtitle(charSequence); + } + + @DoNotInline + public static void p(MediaDescription.Builder builder, @Nullable CharSequence charSequence) { + builder.setTitle(charSequence); + } + } + + @RequiresApi(23) + public static class c { + @Nullable + @DoNotInline + public static Uri a(MediaDescription mediaDescription) { + return mediaDescription.getMediaUri(); + } + + @DoNotInline + public static void b(MediaDescription.Builder builder, @Nullable Uri uri) { + builder.setMediaUri(uri); + } + } + public MediaDescriptionCompat(String str, CharSequence charSequence, CharSequence charSequence2, CharSequence charSequence3, Bitmap bitmap, Uri uri, Bundle bundle, Uri uri2) { this.i = str; this.j = charSequence; @@ -56,38 +163,38 @@ public final class MediaDescriptionCompat implements Parcelable { } int i = Build.VERSION.SDK_INT; MediaDescription mediaDescription = (MediaDescription) obj; - String mediaId = mediaDescription.getMediaId(); - CharSequence title = mediaDescription.getTitle(); - CharSequence subtitle = mediaDescription.getSubtitle(); - CharSequence description = mediaDescription.getDescription(); - Bitmap iconBitmap = mediaDescription.getIconBitmap(); - Uri iconUri = mediaDescription.getIconUri(); - Bundle extras = mediaDescription.getExtras(); - if (extras != null) { - extras = MediaSessionCompat.b(extras); + String g = b.g(mediaDescription); + CharSequence i2 = b.i(mediaDescription); + CharSequence h = b.h(mediaDescription); + CharSequence c2 = b.c(mediaDescription); + Bitmap e = b.e(mediaDescription); + Uri f = b.f(mediaDescription); + Bundle d = b.d(mediaDescription); + if (d != null) { + d = MediaSessionCompat.b(d); } - Uri uri2 = extras != null ? (Uri) extras.getParcelable("android.support.v4.media.description.MEDIA_URI") : null; + Uri uri2 = d != null ? (Uri) d.getParcelable("android.support.v4.media.description.MEDIA_URI") : null; if (uri2 != null) { - if (!extras.containsKey("android.support.v4.media.description.NULL_BUNDLE_FLAG") || extras.size() != 2) { - extras.remove("android.support.v4.media.description.MEDIA_URI"); - extras.remove("android.support.v4.media.description.NULL_BUNDLE_FLAG"); + if (!d.containsKey("android.support.v4.media.description.NULL_BUNDLE_FLAG") || d.size() != 2) { + d.remove("android.support.v4.media.description.MEDIA_URI"); + d.remove("android.support.v4.media.description.NULL_BUNDLE_FLAG"); } else { bundle = null; if (uri2 == null) { if (i >= 23) { - uri = mediaDescription.getMediaUri(); + uri = c.a(mediaDescription); } uri2 = uri; } - MediaDescriptionCompat mediaDescriptionCompat = new MediaDescriptionCompat(mediaId, title, subtitle, description, iconBitmap, iconUri, bundle, uri2); + MediaDescriptionCompat mediaDescriptionCompat = new MediaDescriptionCompat(g, i2, h, c2, e, f, bundle, uri2); mediaDescriptionCompat.q = mediaDescription; return mediaDescriptionCompat; } } - bundle = extras; + bundle = d; if (uri2 == null) { } - MediaDescriptionCompat mediaDescriptionCompat = new MediaDescriptionCompat(mediaId, title, subtitle, description, iconBitmap, iconUri, bundle, uri2); + MediaDescriptionCompat mediaDescriptionCompat = new MediaDescriptionCompat(g, i2, h, c2, e, f, bundle, uri2); mediaDescriptionCompat.q = mediaDescription; return mediaDescriptionCompat; } @@ -104,29 +211,33 @@ public final class MediaDescriptionCompat implements Parcelable { @Override // android.os.Parcelable public void writeToParcel(Parcel parcel, int i) { + Bundle bundle; int i2 = Build.VERSION.SDK_INT; MediaDescription mediaDescription = this.q; if (mediaDescription == null) { - MediaDescription.Builder builder = new MediaDescription.Builder(); - builder.setMediaId(this.i); - builder.setTitle(this.j); - builder.setSubtitle(this.k); - builder.setDescription(this.l); - builder.setIconBitmap(this.m); - builder.setIconUri(this.n); - Bundle bundle = this.o; - if (i2 < 23 && this.p != null) { - if (bundle == null) { + MediaDescription.Builder b2 = b.b(); + b.n(b2, this.i); + b.p(b2, this.j); + b.o(b2, this.k); + b.j(b2, this.l); + b.l(b2, this.m); + b.m(b2, this.n); + if (i2 >= 23 || this.p == null) { + b.k(b2, this.o); + } else { + if (this.o == null) { bundle = new Bundle(); bundle.putBoolean("android.support.v4.media.description.NULL_BUNDLE_FLAG", true); + } else { + bundle = new Bundle(this.o); } bundle.putParcelable("android.support.v4.media.description.MEDIA_URI", this.p); + b.k(b2, bundle); } - builder.setExtras(bundle); if (i2 >= 23) { - builder.setMediaUri(this.p); + c.b(b2, this.p); } - mediaDescription = builder.build(); + mediaDescription = b.a(b2); this.q = mediaDescription; } mediaDescription.writeToParcel(parcel, i); diff --git a/app/src/main/java/android/support/v4/media/MediaMetadataCompat.java b/app/src/main/java/android/support/v4/media/MediaMetadataCompat.java index df03bbf6c9..2efae3405c 100644 --- a/app/src/main/java/android/support/v4/media/MediaMetadataCompat.java +++ b/app/src/main/java/android/support/v4/media/MediaMetadataCompat.java @@ -6,6 +6,7 @@ import android.os.Parcel; import android.os.Parcelable; import android.support.v4.media.session.MediaSessionCompat; import androidx.collection.ArrayMap; +import androidx.media.utils.MediaConstants; @SuppressLint({"BanParcelableUsage"}) public final class MediaMetadataCompat implements Parcelable { public static final Parcelable.Creator CREATOR = new a(); @@ -58,7 +59,7 @@ public final class MediaMetadataCompat implements Parcelable { arrayMap.put("android.media.metadata.MEDIA_ID", 1); arrayMap.put("android.media.metadata.BT_FOLDER_TYPE", 0); arrayMap.put("android.media.metadata.MEDIA_URI", 1); - arrayMap.put("android.media.metadata.ADVERTISEMENT", 0); + arrayMap.put(MediaConstants.METADATA_KEY_IS_ADVERTISEMENT, 0); arrayMap.put("android.media.metadata.DOWNLOAD_STATUS", 0); } diff --git a/app/src/main/java/android/support/v4/media/RatingCompat.java b/app/src/main/java/android/support/v4/media/RatingCompat.java index ab9c80e7f7..fa35d234d6 100644 --- a/app/src/main/java/android/support/v4/media/RatingCompat.java +++ b/app/src/main/java/android/support/v4/media/RatingCompat.java @@ -35,12 +35,12 @@ public final class RatingCompat implements Parcelable { @Override // java.lang.Object public String toString() { - StringBuilder O = c.d.b.a.a.O("Rating:style="); - O.append(this.i); - O.append(" rating="); + StringBuilder R = c.d.b.a.a.R("Rating:style="); + R.append(this.i); + R.append(" rating="); float f = this.j; - O.append(f < 0.0f ? "unrated" : String.valueOf(f)); - return O.toString(); + R.append(f < 0.0f ? "unrated" : String.valueOf(f)); + return R.toString(); } @Override // android.os.Parcelable diff --git a/app/src/main/java/android/support/v4/media/session/MediaControllerCompat$MediaControllerImplApi21.java b/app/src/main/java/android/support/v4/media/session/MediaControllerCompat$MediaControllerImplApi21.java index 106201cd56..49dabe990c 100644 --- a/app/src/main/java/android/support/v4/media/session/MediaControllerCompat$MediaControllerImplApi21.java +++ b/app/src/main/java/android/support/v4/media/session/MediaControllerCompat$MediaControllerImplApi21.java @@ -18,8 +18,8 @@ import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.HashMap; import java.util.List; -import w.a.b.b.a.b; -import w.a.b.b.a.c; +import x.a.b.b.a.b; +import x.a.b.b.a.c; @RequiresApi(21) public class MediaControllerCompat$MediaControllerImplApi21 { public final MediaController a; @@ -27,7 +27,7 @@ public class MediaControllerCompat$MediaControllerImplApi21 { @GuardedBy("mLock") /* renamed from: c reason: collision with root package name */ - public final List f15c = new ArrayList(); + public final List f14c = new ArrayList(); public HashMap d = new HashMap<>(); public final MediaSessionCompat.Token e; @@ -65,33 +65,33 @@ public class MediaControllerCompat$MediaControllerImplApi21 { super(cVar); } - @Override // w.a.b.b.a.c.b, w.a.b.b.a.a - public void T(CharSequence charSequence) throws RemoteException { + @Override // x.a.b.b.a.c.b, x.a.b.b.a.a + public void V(CharSequence charSequence) throws RemoteException { throw new AssertionError(); } - @Override // w.a.b.b.a.c.b, w.a.b.b.a.a - public void U() throws RemoteException { + @Override // x.a.b.b.a.c.b, x.a.b.b.a.a + public void W() throws RemoteException { throw new AssertionError(); } - @Override // w.a.b.b.a.c.b, w.a.b.b.a.a - public void V(MediaMetadataCompat mediaMetadataCompat) throws RemoteException { + @Override // x.a.b.b.a.c.b, x.a.b.b.a.a + public void X(MediaMetadataCompat mediaMetadataCompat) throws RemoteException { throw new AssertionError(); } - @Override // w.a.b.b.a.c.b, w.a.b.b.a.a - public void x(Bundle bundle) throws RemoteException { + @Override // x.a.b.b.a.c.b, x.a.b.b.a.a + public void w0(ParcelableVolumeInfo parcelableVolumeInfo) throws RemoteException { throw new AssertionError(); } - @Override // w.a.b.b.a.c.b, w.a.b.b.a.a - public void x0(ParcelableVolumeInfo parcelableVolumeInfo) throws RemoteException { + @Override // x.a.b.b.a.c.b, x.a.b.b.a.a + public void y(Bundle bundle) throws RemoteException { throw new AssertionError(); } - @Override // w.a.b.b.a.c.b, w.a.b.b.a.a - public void y(List list) throws RemoteException { + @Override // x.a.b.b.a.c.b, x.a.b.b.a.a + public void z(List list) throws RemoteException { throw new AssertionError(); } } @@ -108,7 +108,7 @@ public class MediaControllerCompat$MediaControllerImplApi21 { @GuardedBy("mLock") public void a() { if (this.e.b() != null) { - for (c cVar : this.f15c) { + for (c cVar : this.f14c) { a aVar = new a(cVar); this.d.put(cVar, aVar); cVar.a = aVar; @@ -118,7 +118,7 @@ public class MediaControllerCompat$MediaControllerImplApi21 { Log.e("MediaControllerCompat", "Dead object in registerCallback.", e); } } - this.f15c.clear(); + this.f14c.clear(); } } } diff --git a/app/src/main/java/android/support/v4/media/session/MediaSessionCompat.java b/app/src/main/java/android/support/v4/media/session/MediaSessionCompat.java index 6f45d5d907..e9ccf131ef 100644 --- a/app/src/main/java/android/support/v4/media/session/MediaSessionCompat.java +++ b/app/src/main/java/android/support/v4/media/session/MediaSessionCompat.java @@ -1,6 +1,7 @@ package android.support.v4.media.session; import android.annotation.SuppressLint; +import android.media.MediaDescription; import android.media.session.MediaSession; import android.os.BadParcelableException; import android.os.Bundle; @@ -9,12 +10,17 @@ import android.os.Parcelable; import android.os.ResultReceiver; import android.support.v4.media.MediaDescriptionCompat; import android.util.Log; +import androidx.annotation.DoNotInline; import androidx.annotation.GuardedBy; import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; import androidx.annotation.RestrictTo; +import androidx.core.os.BuildCompat; import androidx.versionedparcelable.VersionedParcelable; -import w.a.b.b.a.b; +import x.a.b.b.a.b; public class MediaSessionCompat { + @RestrictTo({RestrictTo.Scope.LIBRARY}) + public static final int a = (BuildCompat.isAtLeastS() ? 33554432 : 0); @SuppressLint({"BanParcelableUsage"}) public static final class QueueItem implements Parcelable { @@ -36,6 +42,24 @@ public class MediaSessionCompat { } } + @RequiresApi(21) + public static class b { + @DoNotInline + public static MediaSession.QueueItem a(MediaDescription mediaDescription, long j) { + return new MediaSession.QueueItem(mediaDescription, j); + } + + @DoNotInline + public static MediaDescription b(MediaSession.QueueItem queueItem) { + return queueItem.getDescription(); + } + + @DoNotInline + public static long c(MediaSession.QueueItem queueItem) { + return queueItem.getQueueId(); + } + } + public QueueItem(MediaSession.QueueItem queueItem, MediaDescriptionCompat mediaDescriptionCompat, long j) { if (mediaDescriptionCompat == null) { throw new IllegalArgumentException("Description cannot be null"); @@ -59,10 +83,10 @@ public class MediaSessionCompat { @Override // java.lang.Object public String toString() { - StringBuilder O = c.d.b.a.a.O("MediaSession.QueueItem {Description="); - O.append(this.i); - O.append(", Id="); - return c.d.b.a.a.A(O, this.j, " }"); + StringBuilder R = c.d.b.a.a.R("MediaSession.QueueItem {Description="); + R.append(this.i); + R.append(", Id="); + return c.d.b.a.a.B(R, this.j, " }"); } @Override // android.os.Parcelable diff --git a/app/src/main/java/android/support/v4/media/session/PlaybackStateCompat.java b/app/src/main/java/android/support/v4/media/session/PlaybackStateCompat.java index ec9315c5b7..e650df983d 100644 --- a/app/src/main/java/android/support/v4/media/session/PlaybackStateCompat.java +++ b/app/src/main/java/android/support/v4/media/session/PlaybackStateCompat.java @@ -1,10 +1,13 @@ package android.support.v4.media.session; import android.annotation.SuppressLint; +import android.media.session.PlaybackState; import android.os.Bundle; import android.os.Parcel; import android.os.Parcelable; import android.text.TextUtils; +import androidx.annotation.DoNotInline; +import androidx.annotation.RequiresApi; import java.util.ArrayList; import java.util.List; @SuppressLint({"BanParcelableUsage"}) @@ -19,10 +22,10 @@ public final class PlaybackStateCompat implements Parcelable { public final CharSequence o; public final long p; public List q; + public final long r; - /* renamed from: r reason: collision with root package name */ - public final long f16r; - public final Bundle s; + /* renamed from: s reason: collision with root package name */ + public final Bundle f15s; public static final class CustomAction implements Parcelable { public static final Parcelable.Creator CREATOR = new a(); @@ -66,13 +69,13 @@ public final class PlaybackStateCompat implements Parcelable { @Override // java.lang.Object public String toString() { - StringBuilder O = c.d.b.a.a.O("Action:mName='"); - O.append((Object) this.j); - O.append(", mIcon="); - O.append(this.k); - O.append(", mExtras="); - O.append(this.l); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("Action:mName='"); + R.append((Object) this.j); + R.append(", mIcon="); + R.append(this.k); + R.append(", mExtras="); + R.append(this.l); + return R.toString(); } @Override // android.os.Parcelable @@ -98,6 +101,142 @@ public final class PlaybackStateCompat implements Parcelable { } } + @RequiresApi(21) + public static class b { + @DoNotInline + public static void a(PlaybackState.Builder builder, PlaybackState.CustomAction customAction) { + builder.addCustomAction(customAction); + } + + @DoNotInline + public static PlaybackState.CustomAction b(PlaybackState.CustomAction.Builder builder) { + return builder.build(); + } + + @DoNotInline + public static PlaybackState c(PlaybackState.Builder builder) { + return builder.build(); + } + + @DoNotInline + public static PlaybackState.Builder d() { + return new PlaybackState.Builder(); + } + + @DoNotInline + public static PlaybackState.CustomAction.Builder e(String str, CharSequence charSequence, int i) { + return new PlaybackState.CustomAction.Builder(str, charSequence, i); + } + + @DoNotInline + public static String f(PlaybackState.CustomAction customAction) { + return customAction.getAction(); + } + + @DoNotInline + public static long g(PlaybackState playbackState) { + return playbackState.getActions(); + } + + @DoNotInline + public static long h(PlaybackState playbackState) { + return playbackState.getActiveQueueItemId(); + } + + @DoNotInline + public static long i(PlaybackState playbackState) { + return playbackState.getBufferedPosition(); + } + + @DoNotInline + public static List j(PlaybackState playbackState) { + return playbackState.getCustomActions(); + } + + @DoNotInline + public static CharSequence k(PlaybackState playbackState) { + return playbackState.getErrorMessage(); + } + + @DoNotInline + public static Bundle l(PlaybackState.CustomAction customAction) { + return customAction.getExtras(); + } + + @DoNotInline + public static int m(PlaybackState.CustomAction customAction) { + return customAction.getIcon(); + } + + @DoNotInline + public static long n(PlaybackState playbackState) { + return playbackState.getLastPositionUpdateTime(); + } + + @DoNotInline + public static CharSequence o(PlaybackState.CustomAction customAction) { + return customAction.getName(); + } + + @DoNotInline + public static float p(PlaybackState playbackState) { + return playbackState.getPlaybackSpeed(); + } + + @DoNotInline + public static long q(PlaybackState playbackState) { + return playbackState.getPosition(); + } + + @DoNotInline + public static int r(PlaybackState playbackState) { + return playbackState.getState(); + } + + @DoNotInline + public static void s(PlaybackState.Builder builder, long j) { + builder.setActions(j); + } + + @DoNotInline + public static void t(PlaybackState.Builder builder, long j) { + builder.setActiveQueueItemId(j); + } + + @DoNotInline + public static void u(PlaybackState.Builder builder, long j) { + builder.setBufferedPosition(j); + } + + @DoNotInline + public static void v(PlaybackState.Builder builder, CharSequence charSequence) { + builder.setErrorMessage(charSequence); + } + + @DoNotInline + public static void w(PlaybackState.CustomAction.Builder builder, Bundle bundle) { + builder.setExtras(bundle); + } + + @DoNotInline + public static void x(PlaybackState.Builder builder, int i, long j, float f, long j2) { + builder.setState(i, j, f, j2); + } + } + + @RequiresApi(22) + public static class c { + @DoNotInline + public static Bundle a(PlaybackState playbackState) { + return playbackState.getExtras(); + } + + @DoNotInline + public static void b(PlaybackState.Builder builder, Bundle bundle) { + builder.setExtras(bundle); + } + } + public PlaybackStateCompat(int i, long j, long j2, float f, long j3, int i2, CharSequence charSequence, long j4, List list, long j5, Bundle bundle) { this.i = i; this.j = j; @@ -108,8 +247,8 @@ public final class PlaybackStateCompat implements Parcelable { this.o = charSequence; this.p = j4; this.q = new ArrayList(list); - this.f16r = j5; - this.s = bundle; + this.r = j5; + this.f15s = bundle; } public PlaybackStateCompat(Parcel parcel) { @@ -121,8 +260,8 @@ public final class PlaybackStateCompat implements Parcelable { this.m = parcel.readLong(); this.o = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel); this.q = parcel.createTypedArrayList(CustomAction.CREATOR); - this.f16r = parcel.readLong(); - this.s = parcel.readBundle(MediaSessionCompat.class.getClassLoader()); + this.r = parcel.readLong(); + this.f15s = parcel.readBundle(MediaSessionCompat.class.getClassLoader()); this.n = parcel.readInt(); } @@ -153,7 +292,7 @@ public final class PlaybackStateCompat implements Parcelable { sb.append(", custom actions="); sb.append(this.q); sb.append(", active item id="); - return c.d.b.a.a.A(sb, this.f16r, "}"); + return c.d.b.a.a.B(sb, this.r, "}"); } @Override // android.os.Parcelable @@ -166,8 +305,8 @@ public final class PlaybackStateCompat implements Parcelable { parcel.writeLong(this.m); TextUtils.writeToParcel(this.o, parcel, i); parcel.writeTypedList(this.q); - parcel.writeLong(this.f16r); - parcel.writeBundle(this.s); + parcel.writeLong(this.r); + parcel.writeBundle(this.f15s); parcel.writeInt(this.n); } } diff --git a/app/src/main/java/android/support/v4/os/ResultReceiver.java b/app/src/main/java/android/support/v4/os/ResultReceiver.java index 96c7bdc581..14532075b7 100644 --- a/app/src/main/java/android/support/v4/os/ResultReceiver.java +++ b/app/src/main/java/android/support/v4/os/ResultReceiver.java @@ -9,12 +9,12 @@ import android.os.Parcelable; import android.os.RemoteException; import androidx.annotation.RestrictTo; import java.util.Objects; -import w.a.b.c.a; +import x.a.b.c.a; @SuppressLint({"BanParcelableUsage"}) @RestrictTo({RestrictTo.Scope.LIBRARY_GROUP_PREFIX}) public class ResultReceiver implements Parcelable { public static final Parcelable.Creator CREATOR = new a(); - public w.a.b.c.a i; + public x.a.b.c.a i; public class a implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @@ -34,22 +34,22 @@ public class ResultReceiver implements Parcelable { public b() { } - @Override // w.a.b.c.a - public void w0(int i, Bundle bundle) { + @Override // x.a.b.c.a + public void v0(int i, Bundle bundle) { Objects.requireNonNull(ResultReceiver.this); ResultReceiver.this.a(i, bundle); } } public ResultReceiver(Parcel parcel) { - w.a.b.c.a aVar; + x.a.b.c.a aVar; IBinder readStrongBinder = parcel.readStrongBinder(); int i = a.AbstractBinderC0362a.a; if (readStrongBinder == null) { aVar = null; } else { IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("android.support.v4.os.IResultReceiver"); - aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof w.a.b.c.a)) ? new a.AbstractBinderC0362a.C0363a(readStrongBinder) : (w.a.b.c.a) queryLocalInterface; + aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof x.a.b.c.a)) ? new a.AbstractBinderC0362a.C0363a(readStrongBinder) : (x.a.b.c.a) queryLocalInterface; } this.i = aVar; } @@ -58,10 +58,10 @@ public class ResultReceiver implements Parcelable { } public void b(int i, Bundle bundle) { - w.a.b.c.a aVar = this.i; + x.a.b.c.a aVar = this.i; if (aVar != null) { try { - aVar.w0(i, bundle); + aVar.v0(i, bundle); } catch (RemoteException unused) { } } diff --git a/app/src/main/java/androidx/activity/ActivityViewModelLazyKt$viewModels$1.java b/app/src/main/java/androidx/activity/ActivityViewModelLazyKt$viewModels$1.java index c4e81b532a..b7c381e451 100644 --- a/app/src/main/java/androidx/activity/ActivityViewModelLazyKt$viewModels$1.java +++ b/app/src/main/java/androidx/activity/ActivityViewModelLazyKt$viewModels$1.java @@ -1,8 +1,8 @@ package androidx.activity; import androidx.lifecycle.ViewModelStore; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: ActivityViewModelLazy.kt */ public final class ActivityViewModelLazyKt$viewModels$1 extends o implements Function0 { @@ -16,7 +16,7 @@ public final class ActivityViewModelLazyKt$viewModels$1 extends o implements Fun @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public final ViewModelStore mo17invoke() { + public final ViewModelStore mo1invoke() { ViewModelStore viewModelStore = this.$this_viewModels.getViewModelStore(); m.checkNotNullExpressionValue(viewModelStore, "viewModelStore"); return viewModelStore; diff --git a/app/src/main/java/androidx/activity/ActivityViewModelLazyKt$viewModels$factoryPromise$1.java b/app/src/main/java/androidx/activity/ActivityViewModelLazyKt$viewModels$factoryPromise$1.java index 8dfbe6d7fd..16d27294be 100644 --- a/app/src/main/java/androidx/activity/ActivityViewModelLazyKt$viewModels$factoryPromise$1.java +++ b/app/src/main/java/androidx/activity/ActivityViewModelLazyKt$viewModels$factoryPromise$1.java @@ -1,7 +1,7 @@ package androidx.activity; import androidx.lifecycle.ViewModelProvider; -import c0.z.d.o; +import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: ActivityViewModelLazy.kt */ public final class ActivityViewModelLazyKt$viewModels$factoryPromise$1 extends o implements Function0 { @@ -15,7 +15,7 @@ public final class ActivityViewModelLazyKt$viewModels$factoryPromise$1 extends o @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public final ViewModelProvider.Factory mo17invoke() { + public final ViewModelProvider.Factory mo1invoke() { return this.$this_viewModels.getDefaultViewModelProviderFactory(); } } diff --git a/app/src/main/java/androidx/activity/ActivityViewModelLazyKt.java b/app/src/main/java/androidx/activity/ActivityViewModelLazyKt.java index c7c7e334dd..e5731646fa 100644 --- a/app/src/main/java/androidx/activity/ActivityViewModelLazyKt.java +++ b/app/src/main/java/androidx/activity/ActivityViewModelLazyKt.java @@ -4,8 +4,8 @@ import androidx.annotation.MainThread; import androidx.lifecycle.ViewModel; import androidx.lifecycle.ViewModelLazy; import androidx.lifecycle.ViewModelProvider; -import c0.z.d.a0; -import c0.z.d.m; +import d0.z.d.a0; +import d0.z.d.m; import kotlin.Lazy; import kotlin.jvm.functions.Function0; /* compiled from: ActivityViewModelLazy.kt */ diff --git a/app/src/main/java/androidx/activity/ComponentActivity.java b/app/src/main/java/androidx/activity/ComponentActivity.java index 63c3cd7416..84fd3e5279 100644 --- a/app/src/main/java/androidx/activity/ComponentActivity.java +++ b/app/src/main/java/androidx/activity/ComponentActivity.java @@ -415,9 +415,9 @@ public class ComponentActivity extends androidx.core.app.ComponentActivity imple @Override // androidx.activity.result.ActivityResultCaller @NonNull public final ActivityResultLauncher registerForActivityResult(@NonNull ActivityResultContract activityResultContract, @NonNull ActivityResultRegistry activityResultRegistry, @NonNull ActivityResultCallback activityResultCallback) { - StringBuilder O = a.O("activity_rq#"); - O.append(this.mNextLocalRequestCode.getAndIncrement()); - return activityResultRegistry.register(O.toString(), this, activityResultContract, activityResultCallback); + StringBuilder R = a.R("activity_rq#"); + R.append(this.mNextLocalRequestCode.getAndIncrement()); + return activityResultRegistry.register(R.toString(), this, activityResultContract, activityResultCallback); } @Override // androidx.activity.contextaware.ContextAware diff --git a/app/src/main/java/androidx/activity/OnBackPressedDispatcherKt.java b/app/src/main/java/androidx/activity/OnBackPressedDispatcherKt.java index de10884c1a..b780a33861 100644 --- a/app/src/main/java/androidx/activity/OnBackPressedDispatcherKt.java +++ b/app/src/main/java/androidx/activity/OnBackPressedDispatcherKt.java @@ -1,7 +1,7 @@ package androidx.activity; import androidx.lifecycle.LifecycleOwner; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: OnBackPressedDispatcher.kt */ diff --git a/app/src/main/java/androidx/activity/contextaware/ContextAwareKt$withContextAvailable$$inlined$suspendCancellableCoroutine$lambda$1.java b/app/src/main/java/androidx/activity/contextaware/ContextAwareKt$withContextAvailable$$inlined$suspendCancellableCoroutine$lambda$1.java index aaafe64b25..0d38199d1e 100644 --- a/app/src/main/java/androidx/activity/contextaware/ContextAwareKt$withContextAvailable$$inlined$suspendCancellableCoroutine$lambda$1.java +++ b/app/src/main/java/androidx/activity/contextaware/ContextAwareKt$withContextAvailable$$inlined$suspendCancellableCoroutine$lambda$1.java @@ -1,9 +1,9 @@ package androidx.activity.contextaware; import android.content.Context; -import c0.k; -import c0.l; -import c0.z.d.m; +import d0.k; +import d0.l; +import d0.z.d.m; import kotlin.jvm.functions.Function1; import kotlinx.coroutines.CancellableContinuation; /* compiled from: ContextAware.kt */ @@ -25,10 +25,10 @@ public final class ContextAwareKt$withContextAvailable$$inlined$suspendCancellab CancellableContinuation cancellableContinuation = this.$co; try { k.a aVar = k.i; - obj = k.m2constructorimpl(this.$onContextAvailable$inlined.invoke(context)); + obj = k.m72constructorimpl(this.$onContextAvailable$inlined.invoke(context)); } catch (Throwable th) { k.a aVar2 = k.i; - obj = k.m2constructorimpl(l.createFailure(th)); + obj = k.m72constructorimpl(l.createFailure(th)); } cancellableContinuation.resumeWith(obj); } diff --git a/app/src/main/java/androidx/activity/contextaware/ContextAwareKt$withContextAvailable$$inlined$suspendCancellableCoroutine$lambda$2.java b/app/src/main/java/androidx/activity/contextaware/ContextAwareKt$withContextAvailable$$inlined$suspendCancellableCoroutine$lambda$2.java index 8d850857dc..5c4016cbfc 100644 --- a/app/src/main/java/androidx/activity/contextaware/ContextAwareKt$withContextAvailable$$inlined$suspendCancellableCoroutine$lambda$2.java +++ b/app/src/main/java/androidx/activity/contextaware/ContextAwareKt$withContextAvailable$$inlined$suspendCancellableCoroutine$lambda$2.java @@ -1,6 +1,6 @@ package androidx.activity.contextaware; -import c0.z.d.o; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: ContextAware.kt */ diff --git a/app/src/main/java/androidx/activity/contextaware/ContextAwareKt.java b/app/src/main/java/androidx/activity/contextaware/ContextAwareKt.java index 51ca71d85c..f3c685e99d 100644 --- a/app/src/main/java/androidx/activity/contextaware/ContextAwareKt.java +++ b/app/src/main/java/androidx/activity/contextaware/ContextAwareKt.java @@ -1,13 +1,13 @@ package androidx.activity.contextaware; import android.content.Context; -import c0.w.h.b; -import c0.w.h.c; -import c0.w.i.a.g; -import c0.z.d.l; +import d0.w.h.b; +import d0.w.h.c; +import d0.w.i.a.g; +import d0.z.d.l; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function1; -import r.a.k; +import s.a.k; /* compiled from: ContextAware.kt */ public final class ContextAwareKt { public static final Object withContextAvailable(ContextAware contextAware, Function1 function1, Continuation continuation) { diff --git a/app/src/main/java/androidx/activity/result/ActivityResult.java b/app/src/main/java/androidx/activity/result/ActivityResult.java index 40abb1dee4..004beec863 100644 --- a/app/src/main/java/androidx/activity/result/ActivityResult.java +++ b/app/src/main/java/androidx/activity/result/ActivityResult.java @@ -59,12 +59,12 @@ public final class ActivityResult implements Parcelable { @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("ActivityResult{resultCode="); - O.append(resultCodeToString(this.mResultCode)); - O.append(", data="); - O.append(this.mData); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("ActivityResult{resultCode="); + R.append(resultCodeToString(this.mResultCode)); + R.append(", data="); + R.append(this.mData); + R.append('}'); + return R.toString(); } @Override // android.os.Parcelable diff --git a/app/src/main/java/androidx/activity/result/ActivityResultCallerKt.java b/app/src/main/java/androidx/activity/result/ActivityResultCallerKt.java index f87b78193c..30c4c0da89 100644 --- a/app/src/main/java/androidx/activity/result/ActivityResultCallerKt.java +++ b/app/src/main/java/androidx/activity/result/ActivityResultCallerKt.java @@ -1,7 +1,7 @@ package androidx.activity.result; import androidx.activity.result.contract.ActivityResultContract; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: ActivityResultCaller.kt */ diff --git a/app/src/main/java/androidx/activity/result/ActivityResultCallerLauncher$resultContract$2.java b/app/src/main/java/androidx/activity/result/ActivityResultCallerLauncher$resultContract$2.java index 8447744605..e3c2593134 100644 --- a/app/src/main/java/androidx/activity/result/ActivityResultCallerLauncher$resultContract$2.java +++ b/app/src/main/java/androidx/activity/result/ActivityResultCallerLauncher$resultContract$2.java @@ -3,8 +3,8 @@ package androidx.activity.result; import android.content.Context; import android.content.Intent; import androidx.activity.result.contract.ActivityResultContract; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: ActivityResultCaller.kt */ @@ -42,7 +42,7 @@ public final class ActivityResultCallerLauncher$resultContract$2 extends o imple @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public final AnonymousClass1 mo17invoke() { + public final AnonymousClass1 mo1invoke() { return new AnonymousClass1(this); } } diff --git a/app/src/main/java/androidx/activity/result/ActivityResultCallerLauncher.java b/app/src/main/java/androidx/activity/result/ActivityResultCallerLauncher.java index 4f48ea7632..e3e6217be4 100644 --- a/app/src/main/java/androidx/activity/result/ActivityResultCallerLauncher.java +++ b/app/src/main/java/androidx/activity/result/ActivityResultCallerLauncher.java @@ -2,8 +2,8 @@ package androidx.activity.result; import androidx.activity.result.contract.ActivityResultContract; import androidx.core.app.ActivityOptionsCompat; -import c0.g; -import c0.z.d.m; +import d0.g; +import d0.z.d.m; import kotlin.Lazy; import kotlin.Unit; /* compiled from: ActivityResultCaller.kt */ diff --git a/app/src/main/java/androidx/activity/result/ActivityResultKt.java b/app/src/main/java/androidx/activity/result/ActivityResultKt.java index a5281c1872..94d2f17f4a 100644 --- a/app/src/main/java/androidx/activity/result/ActivityResultKt.java +++ b/app/src/main/java/androidx/activity/result/ActivityResultKt.java @@ -1,7 +1,7 @@ package androidx.activity.result; import android.content.Intent; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: ActivityResult.kt */ public final class ActivityResultKt { public static final int component1(ActivityResult activityResult) { diff --git a/app/src/main/java/androidx/activity/result/ActivityResultLauncherKt.java b/app/src/main/java/androidx/activity/result/ActivityResultLauncherKt.java index 5c36b7e38a..3e9bbeacca 100644 --- a/app/src/main/java/androidx/activity/result/ActivityResultLauncherKt.java +++ b/app/src/main/java/androidx/activity/result/ActivityResultLauncherKt.java @@ -1,7 +1,7 @@ package androidx.activity.result; import androidx.core.app.ActivityOptionsCompat; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; /* compiled from: ActivityResultLauncher.kt */ public final class ActivityResultLauncherKt { diff --git a/app/src/main/java/androidx/activity/result/ActivityResultRegistry.java b/app/src/main/java/androidx/activity/result/ActivityResultRegistry.java index bcf444de35..042d68715e 100644 --- a/app/src/main/java/androidx/activity/result/ActivityResultRegistry.java +++ b/app/src/main/java/androidx/activity/result/ActivityResultRegistry.java @@ -288,15 +288,15 @@ public abstract class ActivityResultRegistry { } this.mKeyToCallback.remove(str); if (this.mParsedPendingResults.containsKey(str)) { - StringBuilder U = a.U("Dropping pending result for request ", str, ": "); - U.append(this.mParsedPendingResults.get(str)); - Log.w(LOG_TAG, U.toString()); + StringBuilder W = a.W("Dropping pending result for request ", str, ": "); + W.append(this.mParsedPendingResults.get(str)); + Log.w(LOG_TAG, W.toString()); this.mParsedPendingResults.remove(str); } if (this.mPendingResults.containsKey(str)) { - StringBuilder U2 = a.U("Dropping pending result for request ", str, ": "); - U2.append(this.mPendingResults.getParcelable(str)); - Log.w(LOG_TAG, U2.toString()); + StringBuilder W2 = a.W("Dropping pending result for request ", str, ": "); + W2.append(this.mPendingResults.getParcelable(str)); + Log.w(LOG_TAG, W2.toString()); this.mPendingResults.remove(str); } LifecycleContainer lifecycleContainer = this.mKeyToLifecycleContainers.get(str); diff --git a/app/src/main/java/androidx/appcompat/app/AppCompatDelegateImpl.java b/app/src/main/java/androidx/appcompat/app/AppCompatDelegateImpl.java index 24df650286..ba33f9664a 100644 --- a/app/src/main/java/androidx/appcompat/app/AppCompatDelegateImpl.java +++ b/app/src/main/java/androidx/appcompat/app/AppCompatDelegateImpl.java @@ -754,10 +754,10 @@ public class AppCompatDelegateImpl extends AppCompatDelegate implements MenuBuil public int windowAnimations; /* renamed from: x reason: collision with root package name */ - public int f17x; + public int f16x; /* renamed from: y reason: collision with root package name */ - public int f18y; + public int f17y; @SuppressLint({"BanParcelableUsage"}) public static class SavedState implements Parcelable { @@ -1165,16 +1165,16 @@ public class AppCompatDelegateImpl extends AppCompatDelegate implements MenuBuil contentFrameLayout.setAttachListener(new AnonymousClass5()); return viewGroup; } - StringBuilder O = a.O("AppCompat does not support the current theme features: { windowActionBar: "); - O.append(this.mHasActionBar); - O.append(", windowActionBarOverlay: "); - O.append(this.mOverlayActionBar); - O.append(", android:windowIsFloating: "); - O.append(this.mIsFloating); - O.append(", windowActionModeOverlay: "); - O.append(this.mOverlayActionMode); - O.append(", windowNoTitle: "); - throw new IllegalArgumentException(a.K(O, this.mWindowNoTitle, " }")); + StringBuilder R = a.R("AppCompat does not support the current theme features: { windowActionBar: "); + R.append(this.mHasActionBar); + R.append(", windowActionBarOverlay: "); + R.append(this.mOverlayActionBar); + R.append(", android:windowIsFloating: "); + R.append(this.mIsFloating); + R.append(", windowActionModeOverlay: "); + R.append(this.mOverlayActionMode); + R.append(", windowNoTitle: "); + throw new IllegalArgumentException(a.L(R, this.mWindowNoTitle, " }")); } obtainStyledAttributes.recycle(); throw new IllegalStateException("You need to use a Theme.AppCompat theme (or descendant) with this activity."); @@ -1555,7 +1555,7 @@ public class AppCompatDelegateImpl extends AppCompatDelegate implements MenuBuil if (!(view == null || (layoutParams = view.getLayoutParams()) == null || layoutParams.width != -1)) { i = -1; panelFeatureState.isHandled = false; - WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f17x, panelFeatureState.f18y, PointerIconCompat.TYPE_HAND, 8519680, -3); + WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f16x, panelFeatureState.f17y, PointerIconCompat.TYPE_HAND, 8519680, -3); layoutParams3.gravity = panelFeatureState.gravity; layoutParams3.windowAnimations = panelFeatureState.windowAnimations; windowManager.addView(panelFeatureState.decorView, layoutParams3); @@ -1565,7 +1565,7 @@ public class AppCompatDelegateImpl extends AppCompatDelegate implements MenuBuil } i = -2; panelFeatureState.isHandled = false; - WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f17x, panelFeatureState.f18y, PointerIconCompat.TYPE_HAND, 8519680, -3); + WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f16x, panelFeatureState.f17y, PointerIconCompat.TYPE_HAND, 8519680, -3); layoutParams3.gravity = panelFeatureState.gravity; layoutParams3.windowAnimations = panelFeatureState.windowAnimations; windowManager.addView(panelFeatureState.decorView, layoutParams3); diff --git a/app/src/main/java/androidx/appcompat/app/AppCompatViewInflater.java b/app/src/main/java/androidx/appcompat/app/AppCompatViewInflater.java index a6b086b048..830a7e8afb 100644 --- a/app/src/main/java/androidx/appcompat/app/AppCompatViewInflater.java +++ b/app/src/main/java/androidx/appcompat/app/AppCompatViewInflater.java @@ -69,17 +69,17 @@ public class AppCompatViewInflater { if (id2 == -1) { str = ""; } else { - StringBuilder O = a.O(" with id '"); - O.append(this.mHostView.getContext().getResources().getResourceEntryName(id2)); - O.append("'"); - str = O.toString(); + StringBuilder R = a.R(" with id '"); + R.append(this.mHostView.getContext().getResources().getResourceEntryName(id2)); + R.append("'"); + str = R.toString(); } - StringBuilder O2 = a.O("Could not find method "); - O2.append(this.mMethodName); - O2.append("(View) in a parent or ancestor Context for android:onClick attribute defined on view "); - O2.append(this.mHostView.getClass()); - O2.append(str); - throw new IllegalStateException(O2.toString()); + StringBuilder R2 = a.R("Could not find method "); + R2.append(this.mMethodName); + R2.append("(View) in a parent or ancestor Context for android:onClick attribute defined on view "); + R2.append(this.mHostView.getClass()); + R2.append(str); + throw new IllegalStateException(R2.toString()); } @Override // android.view.View.OnClickListener diff --git a/app/src/main/java/androidx/appcompat/app/WindowDecorActionBar.java b/app/src/main/java/androidx/appcompat/app/WindowDecorActionBar.java index f63566b78e..8d7221c85b 100644 --- a/app/src/main/java/androidx/appcompat/app/WindowDecorActionBar.java +++ b/app/src/main/java/androidx/appcompat/app/WindowDecorActionBar.java @@ -509,9 +509,9 @@ public class WindowDecorActionBar extends ActionBar implements ActionBarOverlayL if (view instanceof Toolbar) { return ((Toolbar) view).getWrapper(); } - StringBuilder O = a.O("Can't make a decor toolbar out of "); - O.append(view != null ? view.getClass().getSimpleName() : "null"); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Can't make a decor toolbar out of "); + R.append(view != null ? view.getClass().getSimpleName() : "null"); + throw new IllegalStateException(R.toString()); } private void hideForActionMode() { diff --git a/app/src/main/java/androidx/appcompat/view/SupportMenuInflater.java b/app/src/main/java/androidx/appcompat/view/SupportMenuInflater.java index de27fbfe27..106cbaf5f2 100644 --- a/app/src/main/java/androidx/appcompat/view/SupportMenuInflater.java +++ b/app/src/main/java/androidx/appcompat/view/SupportMenuInflater.java @@ -57,9 +57,9 @@ public class SupportMenuInflater extends MenuInflater { try { this.mMethod = cls.getMethod(str, PARAM_TYPES); } catch (Exception e) { - StringBuilder U = a.U("Couldn't resolve menu item onClick handler ", str, " in class "); - U.append(cls.getName()); - InflateException inflateException = new InflateException(U.toString()); + StringBuilder W = a.W("Couldn't resolve menu item onClick handler ", str, " in class "); + W.append(cls.getName()); + InflateException inflateException = new InflateException(W.toString()); inflateException.initCause(e); throw inflateException; } @@ -317,7 +317,7 @@ public class SupportMenuInflater extends MenuInflater { if (name.equals(XML_MENU)) { eventType = xmlPullParser.next(); } else { - throw new RuntimeException(a.u("Expecting menu, got ", name)); + throw new RuntimeException(a.v("Expecting menu, got ", name)); } } } diff --git a/app/src/main/java/androidx/appcompat/widget/ActionBarOverlayLayout.java b/app/src/main/java/androidx/appcompat/widget/ActionBarOverlayLayout.java index 150e5c19c1..403b480afa 100644 --- a/app/src/main/java/androidx/appcompat/widget/ActionBarOverlayLayout.java +++ b/app/src/main/java/androidx/appcompat/widget/ActionBarOverlayLayout.java @@ -219,9 +219,9 @@ public class ActionBarOverlayLayout extends ViewGroup implements DecorContentPar if (view instanceof Toolbar) { return ((Toolbar) view).getWrapper(); } - StringBuilder O = a.O("Can't make a decor toolbar out of "); - O.append(view.getClass().getSimpleName()); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Can't make a decor toolbar out of "); + R.append(view.getClass().getSimpleName()); + throw new IllegalStateException(R.toString()); } private void init(Context context) { diff --git a/app/src/main/java/androidx/appcompat/widget/ActivityChooserModel.java b/app/src/main/java/androidx/appcompat/widget/ActivityChooserModel.java index 1c086a6555..954de1f64d 100644 --- a/app/src/main/java/androidx/appcompat/widget/ActivityChooserModel.java +++ b/app/src/main/java/androidx/appcompat/widget/ActivityChooserModel.java @@ -86,12 +86,12 @@ public class ActivityChooserModel extends DataSetObservable { @Override // java.lang.Object public String toString() { - StringBuilder S = a.S("[", "resolveInfo:"); - S.append(this.resolveInfo.toString()); - S.append("; weight:"); - S.append(new BigDecimal((double) this.weight)); - S.append("]"); - return S.toString(); + StringBuilder V = a.V("[", "resolveInfo:"); + V.append(this.resolveInfo.toString()); + V.append("; weight:"); + V.append(new BigDecimal((double) this.weight)); + V.append("]"); + return V.toString(); } } @@ -169,14 +169,14 @@ public class ActivityChooserModel extends DataSetObservable { } public String toString() { - StringBuilder S = a.S("[", "; activity:"); - S.append(this.activity); - S.append("; time:"); - S.append(this.time); - S.append("; weight:"); - S.append(new BigDecimal((double) this.weight)); - S.append("]"); - return S.toString(); + StringBuilder V = a.V("[", "; activity:"); + V.append(this.activity); + V.append("; time:"); + V.append(this.time); + V.append("; weight:"); + V.append(new BigDecimal((double) this.weight)); + V.append("]"); + return V.toString(); } } @@ -262,7 +262,7 @@ public class ActivityChooserModel extends DataSetObservable { if (TextUtils.isEmpty(str) || str.endsWith(HISTORY_FILE_EXTENSION)) { this.mHistoryFileName = str; } else { - this.mHistoryFileName = a.u(str, HISTORY_FILE_EXTENSION); + this.mHistoryFileName = a.v(str, HISTORY_FILE_EXTENSION); } } diff --git a/app/src/main/java/androidx/appcompat/widget/AppCompatTextViewAutoSizeHelper.java b/app/src/main/java/androidx/appcompat/widget/AppCompatTextViewAutoSizeHelper.java index 4c1d9f6613..72d7e139e4 100644 --- a/app/src/main/java/androidx/appcompat/widget/AppCompatTextViewAutoSizeHelper.java +++ b/app/src/main/java/androidx/appcompat/widget/AppCompatTextViewAutoSizeHelper.java @@ -471,9 +471,9 @@ public class AppCompatTextViewAutoSizeHelper { } this.mAutoSizeTextSizesInPx = cleanupAutoSizePresetSizes(iArr2); if (!setupAutoSizeUniformPresetSizesConfiguration()) { - StringBuilder O = a.O("None of the preset sizes is valid: "); - O.append(Arrays.toString(iArr)); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("None of the preset sizes is valid: "); + R.append(Arrays.toString(iArr)); + throw new IllegalArgumentException(R.toString()); } } else { this.mHasPresetAutoSizeValues = false; @@ -498,7 +498,7 @@ public class AppCompatTextViewAutoSizeHelper { autoSizeText(); } } else { - throw new IllegalArgumentException(a.l("Unknown auto-size text type: ", i)); + throw new IllegalArgumentException(a.p("Unknown auto-size text type: ", i)); } } diff --git a/app/src/main/java/androidx/appcompat/widget/LinearLayoutCompat.java b/app/src/main/java/androidx/appcompat/widget/LinearLayoutCompat.java index 203628ea1b..e94b105f19 100644 --- a/app/src/main/java/androidx/appcompat/widget/LinearLayoutCompat.java +++ b/app/src/main/java/androidx/appcompat/widget/LinearLayoutCompat.java @@ -1263,10 +1263,10 @@ public class LinearLayoutCompat extends ViewGroup { public void setBaselineAlignedChildIndex(int i) { if (i < 0 || i >= getChildCount()) { - StringBuilder O = a.O("base aligned child index out of range (0, "); - O.append(getChildCount()); - O.append(")"); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("base aligned child index out of range (0, "); + R.append(getChildCount()); + R.append(")"); + throw new IllegalArgumentException(R.toString()); } this.mBaselineAlignedChildIndex = i; } diff --git a/app/src/main/java/androidx/appcompat/widget/ListPopupWindow.java b/app/src/main/java/androidx/appcompat/widget/ListPopupWindow.java index 9d4a3dcff3..836fdafb4f 100644 --- a/app/src/main/java/androidx/appcompat/widget/ListPopupWindow.java +++ b/app/src/main/java/androidx/appcompat/widget/ListPopupWindow.java @@ -312,9 +312,9 @@ public class ListPopupWindow implements ShowableListMenu { linearLayout.addView(view); linearLayout.addView(dropDownListView, layoutParams); } else if (i5 != 1) { - StringBuilder O = a.O("Invalid hint position "); - O.append(this.mPromptPosition); - Log.e(TAG, O.toString()); + StringBuilder R = a.R("Invalid hint position "); + R.append(this.mPromptPosition); + Log.e(TAG, R.toString()); } else { linearLayout.addView(dropDownListView, layoutParams); linearLayout.addView(view); diff --git a/app/src/main/java/androidx/appcompat/widget/SearchView.java b/app/src/main/java/androidx/appcompat/widget/SearchView.java index 9dfc55d931..609fe54619 100644 --- a/app/src/main/java/androidx/appcompat/widget/SearchView.java +++ b/app/src/main/java/androidx/appcompat/widget/SearchView.java @@ -379,10 +379,10 @@ public class SearchView extends LinearLayoutCompat implements CollapsibleActionV @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("SearchView.SavedState{"); - O.append(Integer.toHexString(System.identityHashCode(this))); - O.append(" isIconified="); - return a.K(O, this.isIconified, "}"); + StringBuilder R = a.R("SearchView.SavedState{"); + R.append(Integer.toHexString(System.identityHashCode(this))); + R.append(" isIconified="); + return a.L(R, this.isIconified, "}"); } @Override // androidx.customview.view.AbsSavedState, android.os.Parcelable diff --git a/app/src/main/java/androidx/appcompat/widget/SuggestionsAdapter.java b/app/src/main/java/androidx/appcompat/widget/SuggestionsAdapter.java index dc1c1c4859..de22c6c970 100644 --- a/app/src/main/java/androidx/appcompat/widget/SuggestionsAdapter.java +++ b/app/src/main/java/androidx/appcompat/widget/SuggestionsAdapter.java @@ -111,9 +111,9 @@ public class SuggestionsAdapter extends ResourceCursorAdapter implements View.On if (drawable != null) { return drawable; } - StringBuilder P = a.P("Invalid icon resource ", iconResource, " for "); - P.append(componentName.flattenToShortString()); - Log.w(LOG_TAG, P.toString()); + StringBuilder S = a.S("Invalid icon resource ", iconResource, " for "); + S.append(componentName.flattenToShortString()); + Log.w(LOG_TAG, S.toString()); return null; } catch (PackageManager.NameNotFoundException e) { Log.w(LOG_TAG, e.toString()); @@ -206,7 +206,7 @@ public class SuggestionsAdapter extends ResourceCursorAdapter implements View.On storeInIconCache(str, drawable2); return drawable2; } catch (Resources.NotFoundException unused2) { - a.k0("Icon resource not found: ", str, LOG_TAG); + Log.w(LOG_TAG, "Icon resource not found: " + str); return null; } } diff --git a/app/src/main/java/androidx/appcompat/widget/ToolbarWidgetWrapper.java b/app/src/main/java/androidx/appcompat/widget/ToolbarWidgetWrapper.java index 980f646be9..d0cfd35c09 100644 --- a/app/src/main/java/androidx/appcompat/widget/ToolbarWidgetWrapper.java +++ b/app/src/main/java/androidx/appcompat/widget/ToolbarWidgetWrapper.java @@ -593,7 +593,7 @@ public class ToolbarWidgetWrapper implements DecorToolbar { layoutParams.gravity = BadgeDrawable.BOTTOM_START; } } else { - throw new IllegalArgumentException(a.l("Invalid navigation mode ", i)); + throw new IllegalArgumentException(a.p("Invalid navigation mode ", i)); } } } diff --git a/app/src/main/java/androidx/arch/core/internal/SafeIterableMap.java b/app/src/main/java/androidx/arch/core/internal/SafeIterableMap.java index 06ae1ba470..97c8e7f925 100644 --- a/app/src/main/java/androidx/arch/core/internal/SafeIterableMap.java +++ b/app/src/main/java/androidx/arch/core/internal/SafeIterableMap.java @@ -319,15 +319,15 @@ public class SafeIterableMap implements Iterable> { @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("["); + StringBuilder R = a.R("["); Iterator> it = iterator(); while (it.hasNext()) { - O.append(it.next().toString()); + R.append(it.next().toString()); if (it.hasNext()) { - O.append(", "); + R.append(", "); } } - O.append("]"); - return O.toString(); + R.append("]"); + return R.toString(); } } diff --git a/app/src/main/java/androidx/browser/browseractions/BrowserServiceFileProvider.java b/app/src/main/java/androidx/browser/browseractions/BrowserServiceFileProvider.java index c3e8f69e5e..40c1bd9b8e 100644 --- a/app/src/main/java/androidx/browser/browseractions/BrowserServiceFileProvider.java +++ b/app/src/main/java/androidx/browser/browseractions/BrowserServiceFileProvider.java @@ -203,9 +203,9 @@ public final class BrowserServiceFileProvider extends FileProvider { } private static Uri generateUri(Context context, String str) { - String v = a.v(FILE_SUB_DIR_NAME, str, FILE_EXTENSION); + String w = a.w(FILE_SUB_DIR_NAME, str, FILE_EXTENSION); Uri.Builder scheme = new Uri.Builder().scheme(CONTENT_SCHEME); - return scheme.authority(context.getPackageName() + AUTHORITY_SUFFIX).path(v).build(); + return scheme.authority(context.getPackageName() + AUTHORITY_SUFFIX).path(w).build(); } public static void grantReadPermission(@NonNull Intent intent, @Nullable List list, @NonNull Context context) { @@ -230,9 +230,9 @@ public final class BrowserServiceFileProvider extends FileProvider { @NonNull @UiThread public static ResolvableFuture saveBitmap(@NonNull Context context, @NonNull Bitmap bitmap, @NonNull String str, int i) { - StringBuilder S = a.S(str, "_"); - S.append(Integer.toString(i)); - String sb = S.toString(); + StringBuilder V = a.V(str, "_"); + V.append(Integer.toString(i)); + String sb = V.toString(); Uri generateUri = generateUri(context, sb); ResolvableFuture create = ResolvableFuture.create(); new FileSaveTask(context, sb, bitmap, generateUri, create).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, new String[0]); diff --git a/app/src/main/java/androidx/browser/customtabs/CustomTabsClient.java b/app/src/main/java/androidx/browser/customtabs/CustomTabsClient.java index 141d78e445..4e227c5f56 100644 --- a/app/src/main/java/androidx/browser/customtabs/CustomTabsClient.java +++ b/app/src/main/java/androidx/browser/customtabs/CustomTabsClient.java @@ -20,8 +20,8 @@ import androidx.annotation.RestrictTo; import androidx.browser.customtabs.CustomTabsSession; import java.util.ArrayList; import java.util.List; -import w.a.a.a; -import w.a.a.b; +import x.a.a.a; +import x.a.a.b; public class CustomTabsClient { private static final String TAG = "CustomTabsClient"; private final Context mApplicationContext; @@ -138,14 +138,14 @@ public class CustomTabsClient { this.val$callback = customTabsCallback; } - @Override // w.a.a.a + @Override // x.a.a.a public void extraCallback(String str, Bundle bundle) throws RemoteException { if (this.val$callback != null) { this.mHandler.post(new AnonymousClass2(str, bundle)); } } - @Override // w.a.a.a + @Override // x.a.a.a public Bundle extraCallbackWithResult(@NonNull String str, @Nullable Bundle bundle) throws RemoteException { CustomTabsCallback customTabsCallback = this.val$callback; if (customTabsCallback == null) { @@ -154,28 +154,28 @@ public class CustomTabsClient { return customTabsCallback.extraCallbackWithResult(str, bundle); } - @Override // w.a.a.a + @Override // x.a.a.a public void onMessageChannelReady(Bundle bundle) throws RemoteException { if (this.val$callback != null) { this.mHandler.post(new AnonymousClass3(bundle)); } } - @Override // w.a.a.a + @Override // x.a.a.a public void onNavigationEvent(int i, Bundle bundle) { if (this.val$callback != null) { this.mHandler.post(new AnonymousClass1(i, bundle)); } } - @Override // w.a.a.a + @Override // x.a.a.a public void onPostMessage(String str, Bundle bundle) throws RemoteException { if (this.val$callback != null) { this.mHandler.post(new AnonymousClass4(str, bundle)); } } - @Override // w.a.a.a + @Override // x.a.a.a public void onRelationshipValidationResult(int i, Uri uri, boolean z2, @Nullable Bundle bundle) throws RemoteException { if (this.val$callback != null) { this.mHandler.post(new AnonymousClass5(i, uri, z2, bundle)); diff --git a/app/src/main/java/androidx/browser/customtabs/CustomTabsIntent.java b/app/src/main/java/androidx/browser/customtabs/CustomTabsIntent.java index 46fc23249e..479a6897c0 100644 --- a/app/src/main/java/androidx/browser/customtabs/CustomTabsIntent.java +++ b/app/src/main/java/androidx/browser/customtabs/CustomTabsIntent.java @@ -213,7 +213,7 @@ public final class CustomTabsIntent { @NonNull public Builder setColorSchemeParams(int i, @NonNull CustomTabColorSchemeParams customTabColorSchemeParams) { if (i < 0 || i > 2 || i == 0) { - throw new IllegalArgumentException(a.l("Invalid colorScheme: ", i)); + throw new IllegalArgumentException(a.p("Invalid colorScheme: ", i)); } if (this.mColorSchemeParamBundles == null) { this.mColorSchemeParamBundles = new SparseArray<>(); @@ -355,7 +355,7 @@ public final class CustomTabsIntent { public static CustomTabColorSchemeParams getColorSchemeParams(@NonNull Intent intent, int i) { Bundle bundle; if (i < 0 || i > 2 || i == 0) { - throw new IllegalArgumentException(a.l("Invalid colorScheme: ", i)); + throw new IllegalArgumentException(a.p("Invalid colorScheme: ", i)); } Bundle extras = intent.getExtras(); if (extras == null) { diff --git a/app/src/main/java/androidx/browser/customtabs/CustomTabsService.java b/app/src/main/java/androidx/browser/customtabs/CustomTabsService.java index 45d322b17d..bc7c21c10b 100644 --- a/app/src/main/java/androidx/browser/customtabs/CustomTabsService.java +++ b/app/src/main/java/androidx/browser/customtabs/CustomTabsService.java @@ -15,8 +15,8 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.util.List; import java.util.NoSuchElementException; -import w.a.a.a; -import w.a.a.b; +import x.a.a.a; +import x.a.a.b; public abstract class CustomTabsService extends Service { public static final String ACTION_CUSTOM_TABS_CONNECTION = "android.support.customtabs.action.CustomTabsService"; public static final String CATEGORY_COLOR_SCHEME_CUSTOMIZATION = "androidx.browser.customtabs.category.ColorSchemeCustomization"; @@ -54,7 +54,7 @@ public abstract class CustomTabsService extends Service { private boolean newSessionInternal(@NonNull a aVar, @Nullable PendingIntent pendingIntent) { CustomTabsSessionToken customTabsSessionToken = new CustomTabsSessionToken(aVar, pendingIntent); try { - x.a.a.a aVar2 = new x.a.a.a(this, customTabsSessionToken); + y.a.a.a aVar2 = new y.a.a.a(this, customTabsSessionToken); synchronized (CustomTabsService.this.mDeathRecipientMap) { aVar.asBinder().linkToDeath(aVar2, 0); CustomTabsService.this.mDeathRecipientMap.put(aVar.asBinder(), aVar2); @@ -65,57 +65,57 @@ public abstract class CustomTabsService extends Service { } } - @Override // w.a.a.b + @Override // x.a.a.b public Bundle extraCommand(@NonNull String str, @Nullable Bundle bundle) { return CustomTabsService.this.extraCommand(str, bundle); } - @Override // w.a.a.b + @Override // x.a.a.b public boolean mayLaunchUrl(@Nullable a aVar, @Nullable Uri uri, @Nullable Bundle bundle, @Nullable List list) { return CustomTabsService.this.mayLaunchUrl(new CustomTabsSessionToken(aVar, getSessionIdFromBundle(bundle)), uri, bundle, list); } - @Override // w.a.a.b + @Override // x.a.a.b public boolean newSession(@NonNull a aVar) { return newSessionInternal(aVar, null); } - @Override // w.a.a.b + @Override // x.a.a.b public boolean newSessionWithExtras(@NonNull a aVar, @Nullable Bundle bundle) { return newSessionInternal(aVar, getSessionIdFromBundle(bundle)); } - @Override // w.a.a.b + @Override // x.a.a.b public int postMessage(@NonNull a aVar, @NonNull String str, @Nullable Bundle bundle) { return CustomTabsService.this.postMessage(new CustomTabsSessionToken(aVar, getSessionIdFromBundle(bundle)), str, bundle); } - @Override // w.a.a.b + @Override // x.a.a.b public boolean receiveFile(@NonNull a aVar, @NonNull Uri uri, int i, @Nullable Bundle bundle) { return CustomTabsService.this.receiveFile(new CustomTabsSessionToken(aVar, getSessionIdFromBundle(bundle)), uri, i, bundle); } - @Override // w.a.a.b + @Override // x.a.a.b public boolean requestPostMessageChannel(@NonNull a aVar, @NonNull Uri uri) { return CustomTabsService.this.requestPostMessageChannel(new CustomTabsSessionToken(aVar, null), uri); } - @Override // w.a.a.b + @Override // x.a.a.b public boolean requestPostMessageChannelWithExtras(@NonNull a aVar, @NonNull Uri uri, @NonNull Bundle bundle) { return CustomTabsService.this.requestPostMessageChannel(new CustomTabsSessionToken(aVar, getSessionIdFromBundle(bundle)), uri); } - @Override // w.a.a.b + @Override // x.a.a.b public boolean updateVisuals(@NonNull a aVar, @Nullable Bundle bundle) { return CustomTabsService.this.updateVisuals(new CustomTabsSessionToken(aVar, getSessionIdFromBundle(bundle)), bundle); } - @Override // w.a.a.b + @Override // x.a.a.b public boolean validateRelationship(@NonNull a aVar, int i, @NonNull Uri uri, @Nullable Bundle bundle) { return CustomTabsService.this.validateRelationship(new CustomTabsSessionToken(aVar, getSessionIdFromBundle(bundle)), i, uri, bundle); } - @Override // w.a.a.b + @Override // x.a.a.b public boolean warmup(long j) { return CustomTabsService.this.warmup(j); } diff --git a/app/src/main/java/androidx/browser/customtabs/CustomTabsServiceConnection.java b/app/src/main/java/androidx/browser/customtabs/CustomTabsServiceConnection.java index f86f112923..fa64d7afc4 100644 --- a/app/src/main/java/androidx/browser/customtabs/CustomTabsServiceConnection.java +++ b/app/src/main/java/androidx/browser/customtabs/CustomTabsServiceConnection.java @@ -7,7 +7,7 @@ import android.os.IBinder; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.RestrictTo; -import w.a.a.b; +import x.a.a.b; public abstract class CustomTabsServiceConnection implements ServiceConnection { @Nullable private Context mApplicationContext; diff --git a/app/src/main/java/androidx/browser/customtabs/CustomTabsSession.java b/app/src/main/java/androidx/browser/customtabs/CustomTabsSession.java index 1a9a1b1507..7374d24127 100644 --- a/app/src/main/java/androidx/browser/customtabs/CustomTabsSession.java +++ b/app/src/main/java/androidx/browser/customtabs/CustomTabsSession.java @@ -14,8 +14,8 @@ import androidx.annotation.RestrictTo; import androidx.annotation.VisibleForTesting; import androidx.browser.customtabs.CustomTabsSessionToken; import java.util.List; -import w.a.a.a; -import w.a.a.b; +import x.a.a.a; +import x.a.a.b; public final class CustomTabsSession { private static final String TAG = "CustomTabsSession"; private final a mCallback; @@ -26,57 +26,57 @@ public final class CustomTabsSession { private final b mService; public static class MockSession extends b.a { - @Override // w.a.a.b + @Override // x.a.a.b public Bundle extraCommand(String str, Bundle bundle) throws RemoteException { return null; } - @Override // w.a.a.b + @Override // x.a.a.b public boolean mayLaunchUrl(a aVar, Uri uri, Bundle bundle, List list) throws RemoteException { return false; } - @Override // w.a.a.b + @Override // x.a.a.b public boolean newSession(a aVar) throws RemoteException { return false; } - @Override // w.a.a.b + @Override // x.a.a.b public boolean newSessionWithExtras(a aVar, Bundle bundle) throws RemoteException { return false; } - @Override // w.a.a.b + @Override // x.a.a.b public int postMessage(a aVar, String str, Bundle bundle) throws RemoteException { return 0; } - @Override // w.a.a.b + @Override // x.a.a.b public boolean receiveFile(a aVar, Uri uri, int i, Bundle bundle) throws RemoteException { return false; } - @Override // w.a.a.b + @Override // x.a.a.b public boolean requestPostMessageChannel(a aVar, Uri uri) throws RemoteException { return false; } - @Override // w.a.a.b + @Override // x.a.a.b public boolean requestPostMessageChannelWithExtras(a aVar, Uri uri, Bundle bundle) throws RemoteException { return false; } - @Override // w.a.a.b + @Override // x.a.a.b public boolean updateVisuals(a aVar, Bundle bundle) throws RemoteException { return false; } - @Override // w.a.a.b + @Override // x.a.a.b public boolean validateRelationship(a aVar, int i, Uri uri, Bundle bundle) throws RemoteException { return false; } - @Override // w.a.a.b + @Override // x.a.a.b public boolean warmup(long j) throws RemoteException { return false; } diff --git a/app/src/main/java/androidx/browser/customtabs/CustomTabsSessionToken.java b/app/src/main/java/androidx/browser/customtabs/CustomTabsSessionToken.java index cadd503591..75022887ee 100644 --- a/app/src/main/java/androidx/browser/customtabs/CustomTabsSessionToken.java +++ b/app/src/main/java/androidx/browser/customtabs/CustomTabsSessionToken.java @@ -11,7 +11,7 @@ import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.RestrictTo; import androidx.core.app.BundleCompat; -import w.a.a.a; +import x.a.a.a; public class CustomTabsSessionToken { private static final String TAG = "CustomTabsSessionToken"; @Nullable @@ -84,33 +84,33 @@ public class CustomTabsSessionToken { } public static class MockCallback extends a.AbstractBinderC0351a { - @Override // w.a.a.a.AbstractBinderC0351a, android.os.IInterface + @Override // x.a.a.a.AbstractBinderC0351a, android.os.IInterface public IBinder asBinder() { return this; } - @Override // w.a.a.a + @Override // x.a.a.a public void extraCallback(String str, Bundle bundle) { } - @Override // w.a.a.a + @Override // x.a.a.a public Bundle extraCallbackWithResult(String str, Bundle bundle) { return null; } - @Override // w.a.a.a + @Override // x.a.a.a public void onMessageChannelReady(Bundle bundle) { } - @Override // w.a.a.a + @Override // x.a.a.a public void onNavigationEvent(int i, Bundle bundle) { } - @Override // w.a.a.a + @Override // x.a.a.a public void onPostMessage(String str, Bundle bundle) { } - @Override // w.a.a.a + @Override // x.a.a.a public void onRelationshipValidationResult(int i, Uri uri, boolean z2, Bundle bundle) { } } diff --git a/app/src/main/java/androidx/browser/customtabs/PostMessageService.java b/app/src/main/java/androidx/browser/customtabs/PostMessageService.java index 945d91faa2..96055774c0 100644 --- a/app/src/main/java/androidx/browser/customtabs/PostMessageService.java +++ b/app/src/main/java/androidx/browser/customtabs/PostMessageService.java @@ -7,8 +7,8 @@ import android.os.IBinder; import android.os.RemoteException; import androidx.annotation.NonNull; import androidx.annotation.Nullable; -import w.a.a.a; -import w.a.a.c; +import x.a.a.a; +import x.a.a.c; public class PostMessageService extends Service { private c.a mBinder = new AnonymousClass1(); @@ -17,12 +17,12 @@ public class PostMessageService extends Service { public AnonymousClass1() { } - @Override // w.a.a.c + @Override // x.a.a.c public void onMessageChannelReady(@NonNull a aVar, @Nullable Bundle bundle) throws RemoteException { aVar.onMessageChannelReady(bundle); } - @Override // w.a.a.c + @Override // x.a.a.c public void onPostMessage(@NonNull a aVar, @NonNull String str, @Nullable Bundle bundle) throws RemoteException { aVar.onPostMessage(str, bundle); } diff --git a/app/src/main/java/androidx/browser/customtabs/PostMessageServiceConnection.java b/app/src/main/java/androidx/browser/customtabs/PostMessageServiceConnection.java index e3d5c97fbc..698dc0e60c 100644 --- a/app/src/main/java/androidx/browser/customtabs/PostMessageServiceConnection.java +++ b/app/src/main/java/androidx/browser/customtabs/PostMessageServiceConnection.java @@ -11,8 +11,8 @@ import android.util.Log; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.RestrictTo; -import w.a.a.a; -import w.a.a.c; +import x.a.a.a; +import x.a.a.c; public abstract class PostMessageServiceConnection implements PostMessageBackend, ServiceConnection { private static final String TAG = "PostMessageServConn"; private final Object mLock = new Object(); diff --git a/app/src/main/java/androidx/browser/trusted/ConnectionHolder.java b/app/src/main/java/androidx/browser/trusted/ConnectionHolder.java index c6d1504ab4..5a2465d257 100644 --- a/app/src/main/java/androidx/browser/trusted/ConnectionHolder.java +++ b/app/src/main/java/androidx/browser/trusted/ConnectionHolder.java @@ -10,7 +10,7 @@ import androidx.concurrent.futures.CallbackToFutureAdapter; import c.d.b.a.a; import java.util.ArrayList; import java.util.List; -import w.a.a.d.b; +import x.a.a.d.b; public class ConnectionHolder implements ServiceConnection { private static final int STATE_AWAITING_CONNECTION = 0; private static final int STATE_CANCELLED = 3; @@ -66,9 +66,9 @@ public class ConnectionHolder implements ServiceConnection { } else { throw this.mCancellationException; } - StringBuilder O = a.O("ConnectionHolder, state = "); - O.append(this.mState); - return O.toString(); + StringBuilder R = a.R("ConnectionHolder, state = "); + R.append(this.mState); + return R.toString(); } @MainThread @@ -85,7 +85,7 @@ public class ConnectionHolder implements ServiceConnection { @NonNull @MainThread public c.i.b.d.a.a getServiceWrapper() { - return CallbackToFutureAdapter.getFuture(new x.a.b.a(this)); + return CallbackToFutureAdapter.getFuture(new y.a.b.a(this)); } @Override // android.content.ServiceConnection diff --git a/app/src/main/java/androidx/browser/trusted/TokenContents.java b/app/src/main/java/androidx/browser/trusted/TokenContents.java index 2e0bb4ec7a..9b94df26e1 100644 --- a/app/src/main/java/androidx/browser/trusted/TokenContents.java +++ b/app/src/main/java/androidx/browser/trusted/TokenContents.java @@ -11,7 +11,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; -import x.a.b.b; +import y.a.b.b; public final class TokenContents { @NonNull private final byte[] mContents; diff --git a/app/src/main/java/androidx/browser/trusted/TrustedWebActivityCallbackRemote.java b/app/src/main/java/androidx/browser/trusted/TrustedWebActivityCallbackRemote.java index 4da3d6867c..cd16fe5751 100644 --- a/app/src/main/java/androidx/browser/trusted/TrustedWebActivityCallbackRemote.java +++ b/app/src/main/java/androidx/browser/trusted/TrustedWebActivityCallbackRemote.java @@ -5,7 +5,7 @@ import android.os.IBinder; import android.os.RemoteException; import androidx.annotation.NonNull; import androidx.annotation.Nullable; -import w.a.a.d.a; +import x.a.a.d.a; public class TrustedWebActivityCallbackRemote { private final a mCallbackBinder; diff --git a/app/src/main/java/androidx/browser/trusted/TrustedWebActivityService.java b/app/src/main/java/androidx/browser/trusted/TrustedWebActivityService.java index f73be7d1a0..ec11742673 100644 --- a/app/src/main/java/androidx/browser/trusted/TrustedWebActivityService.java +++ b/app/src/main/java/androidx/browser/trusted/TrustedWebActivityService.java @@ -22,7 +22,7 @@ import androidx.annotation.RestrictTo; import androidx.browser.trusted.TrustedWebActivityServiceConnection; import androidx.core.app.NotificationManagerCompat; import java.util.Locale; -import w.a.a.d.b; +import x.a.a.d.b; public abstract class TrustedWebActivityService extends Service { @SuppressLint({"ActionValue", "ServiceName"}) public static final String ACTION_TRUSTED_WEB_ACTIVITY_SERVICE = "android.support.customtabs.trusted.TRUSTED_WEB_ACTIVITY_SERVICE"; @@ -68,44 +68,44 @@ public abstract class TrustedWebActivityService extends Service { } } - @Override // w.a.a.d.b + @Override // x.a.a.d.b public Bundle areNotificationsEnabled(Bundle bundle) { checkCaller(); return new TrustedWebActivityServiceConnection.ResultArgs(TrustedWebActivityService.this.onAreNotificationsEnabled(TrustedWebActivityServiceConnection.NotificationsEnabledArgs.fromBundle(bundle).channelName)).toBundle(); } - @Override // w.a.a.d.b + @Override // x.a.a.d.b public void cancelNotification(Bundle bundle) { checkCaller(); TrustedWebActivityServiceConnection.CancelNotificationArgs fromBundle = TrustedWebActivityServiceConnection.CancelNotificationArgs.fromBundle(bundle); TrustedWebActivityService.this.onCancelNotification(fromBundle.platformTag, fromBundle.platformId); } - @Override // w.a.a.d.b + @Override // x.a.a.d.b public Bundle extraCommand(String str, Bundle bundle, IBinder iBinder) { checkCaller(); return TrustedWebActivityService.this.onExtraCommand(str, bundle, TrustedWebActivityCallbackRemote.fromBinder(iBinder)); } - @Override // w.a.a.d.b + @Override // x.a.a.d.b public Bundle getActiveNotifications() { checkCaller(); return new TrustedWebActivityServiceConnection.ActiveNotificationsArgs(TrustedWebActivityService.this.onGetActiveNotifications()).toBundle(); } - @Override // w.a.a.d.b + @Override // x.a.a.d.b public Bundle getSmallIconBitmap() { checkCaller(); return TrustedWebActivityService.this.onGetSmallIconBitmap(); } - @Override // w.a.a.d.b + @Override // x.a.a.d.b public int getSmallIconId() { checkCaller(); return TrustedWebActivityService.this.onGetSmallIconId(); } - @Override // w.a.a.d.b + @Override // x.a.a.d.b public Bundle notifyNotificationWithChannel(Bundle bundle) { checkCaller(); TrustedWebActivityServiceConnection.NotifyNotificationArgs fromBundle = TrustedWebActivityServiceConnection.NotifyNotificationArgs.fromBundle(bundle); diff --git a/app/src/main/java/androidx/browser/trusted/TrustedWebActivityServiceConnection.java b/app/src/main/java/androidx/browser/trusted/TrustedWebActivityServiceConnection.java index ddda5fbad3..fe9b9a8bc2 100644 --- a/app/src/main/java/androidx/browser/trusted/TrustedWebActivityServiceConnection.java +++ b/app/src/main/java/androidx/browser/trusted/TrustedWebActivityServiceConnection.java @@ -10,8 +10,8 @@ import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.RequiresApi; import androidx.annotation.RestrictTo; -import w.a.a.d.a; -import w.a.a.d.b; +import x.a.a.d.a; +import x.a.a.d.b; public final class TrustedWebActivityServiceConnection { private static final String KEY_ACTIVE_NOTIFICATIONS = "android.support.customtabs.trusted.ACTIVE_NOTIFICATIONS"; private static final String KEY_CHANNEL_NAME = "android.support.customtabs.trusted.CHANNEL_NAME"; @@ -30,7 +30,7 @@ public final class TrustedWebActivityServiceConnection { this.val$callback = trustedWebActivityCallback; } - @Override // w.a.a.d.a + @Override // x.a.a.d.a public void onExtraCallback(String str, Bundle bundle) throws RemoteException { this.val$callback.onExtraCallback(str, bundle); } @@ -154,7 +154,7 @@ public final class TrustedWebActivityServiceConnection { public static void ensureBundleContains(Bundle bundle, String str) { if (!bundle.containsKey(str)) { - throw new IllegalArgumentException(c.d.b.a.a.u("Bundle must contain ", str)); + throw new IllegalArgumentException(c.d.b.a.a.v("Bundle must contain ", str)); } } diff --git a/app/src/main/java/androidx/browser/trusted/TrustedWebActivityServiceConnectionPool.java b/app/src/main/java/androidx/browser/trusted/TrustedWebActivityServiceConnectionPool.java index 80877e5b97..3bb1959ab3 100644 --- a/app/src/main/java/androidx/browser/trusted/TrustedWebActivityServiceConnectionPool.java +++ b/app/src/main/java/androidx/browser/trusted/TrustedWebActivityServiceConnectionPool.java @@ -17,7 +17,7 @@ import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.concurrent.Executor; -import x.a.b.c; +import y.a.b.c; public final class TrustedWebActivityServiceConnectionPool { private static final String TAG = "TWAConnectionPool"; private final Map mConnections = new HashMap(); @@ -99,16 +99,16 @@ public final class TrustedWebActivityServiceConnectionPool { ResolveInfo resolveService = context.getPackageManager().resolveService(intent2, 131072); if (resolveService == null) { if (z2) { - a.k0("Could not find TWAService for ", str, TAG); + Log.w(TAG, "Could not find TWAService for " + str); } return null; } if (z2) { - StringBuilder O = a.O("Found "); - O.append(resolveService.serviceInfo.name); - O.append(" to handle request for "); - O.append(uri); - Log.i(TAG, O.toString()); + StringBuilder R = a.R("Found "); + R.append(resolveService.serviceInfo.name); + R.append(" to handle request for "); + R.append(uri); + Log.i(TAG, R.toString()); } Intent intent3 = new Intent(); intent3.setComponent(new ComponentName(str, resolveService.serviceInfo.name)); diff --git a/app/src/main/java/androidx/collection/ArrayMapKt.java b/app/src/main/java/androidx/collection/ArrayMapKt.java index 923ae36877..6d10bff744 100644 --- a/app/src/main/java/androidx/collection/ArrayMapKt.java +++ b/app/src/main/java/androidx/collection/ArrayMapKt.java @@ -1,6 +1,6 @@ package androidx.collection; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Pair; /* compiled from: ArrayMap.kt */ public final class ArrayMapKt { diff --git a/app/src/main/java/androidx/collection/ArraySetKt.java b/app/src/main/java/androidx/collection/ArraySetKt.java index d59b6783c8..14d9c09eaa 100644 --- a/app/src/main/java/androidx/collection/ArraySetKt.java +++ b/app/src/main/java/androidx/collection/ArraySetKt.java @@ -1,6 +1,6 @@ package androidx.collection; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: ArraySet.kt */ public final class ArraySetKt { public static final ArraySet arraySetOf() { diff --git a/app/src/main/java/androidx/collection/LongSparseArrayKt$keyIterator$1.java b/app/src/main/java/androidx/collection/LongSparseArrayKt$keyIterator$1.java index 731821be40..35c96c18c3 100644 --- a/app/src/main/java/androidx/collection/LongSparseArrayKt$keyIterator$1.java +++ b/app/src/main/java/androidx/collection/LongSparseArrayKt$keyIterator$1.java @@ -1,6 +1,6 @@ package androidx.collection; -import c0.t.d0; +import d0.t.d0; /* compiled from: LongSparseArray.kt */ public final class LongSparseArrayKt$keyIterator$1 extends d0 { public final /* synthetic */ LongSparseArray $this_keyIterator; @@ -19,7 +19,7 @@ public final class LongSparseArrayKt$keyIterator$1 extends d0 { return this.index < this.$this_keyIterator.size(); } - @Override // c0.t.d0 + @Override // d0.t.d0 public long nextLong() { LongSparseArray longSparseArray = this.$this_keyIterator; int i = this.index; diff --git a/app/src/main/java/androidx/collection/LongSparseArrayKt$valueIterator$1.java b/app/src/main/java/androidx/collection/LongSparseArrayKt$valueIterator$1.java index e167ccab97..7fde0cf377 100644 --- a/app/src/main/java/androidx/collection/LongSparseArrayKt$valueIterator$1.java +++ b/app/src/main/java/androidx/collection/LongSparseArrayKt$valueIterator$1.java @@ -1,6 +1,6 @@ package androidx.collection; -import c0.z.d.g0.a; +import d0.z.d.g0.a; import java.util.Iterator; /* compiled from: LongSparseArray.kt */ public final class LongSparseArrayKt$valueIterator$1 implements Iterator, a { diff --git a/app/src/main/java/androidx/collection/LongSparseArrayKt.java b/app/src/main/java/androidx/collection/LongSparseArrayKt.java index b247efefc0..b172b9f999 100644 --- a/app/src/main/java/androidx/collection/LongSparseArrayKt.java +++ b/app/src/main/java/androidx/collection/LongSparseArrayKt.java @@ -1,7 +1,7 @@ package androidx.collection; -import c0.t.d0; -import c0.z.d.m; +import d0.t.d0; +import d0.z.d.m; import java.util.Iterator; import kotlin.Unit; import kotlin.jvm.functions.Function0; @@ -31,7 +31,7 @@ public final class LongSparseArrayKt { m.checkParameterIsNotNull(longSparseArray, "receiver$0"); m.checkParameterIsNotNull(function0, "defaultValue"); T t = longSparseArray.get(j); - return t != null ? t : (T) function0.mo17invoke(); + return t != null ? t : (T) function0.mo1invoke(); } public static final int getSize(LongSparseArray longSparseArray) { diff --git a/app/src/main/java/androidx/collection/LruCacheKt$lruCache$1.java b/app/src/main/java/androidx/collection/LruCacheKt$lruCache$1.java index 3f153888dc..6d74390893 100644 --- a/app/src/main/java/androidx/collection/LruCacheKt$lruCache$1.java +++ b/app/src/main/java/androidx/collection/LruCacheKt$lruCache$1.java @@ -1,7 +1,7 @@ package androidx.collection; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.jvm.functions.Function2; /* compiled from: LruCache.kt */ public final class LruCacheKt$lruCache$1 extends o implements Function2 { diff --git a/app/src/main/java/androidx/collection/LruCacheKt$lruCache$2.java b/app/src/main/java/androidx/collection/LruCacheKt$lruCache$2.java index 1ca22181d0..14a4bc76bd 100644 --- a/app/src/main/java/androidx/collection/LruCacheKt$lruCache$2.java +++ b/app/src/main/java/androidx/collection/LruCacheKt$lruCache$2.java @@ -1,7 +1,7 @@ package androidx.collection; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.jvm.functions.Function1; /* compiled from: LruCache.kt */ public final class LruCacheKt$lruCache$2 extends o implements Function1 { diff --git a/app/src/main/java/androidx/collection/LruCacheKt$lruCache$3.java b/app/src/main/java/androidx/collection/LruCacheKt$lruCache$3.java index 43c3d39d96..b4ee2e4d78 100644 --- a/app/src/main/java/androidx/collection/LruCacheKt$lruCache$3.java +++ b/app/src/main/java/androidx/collection/LruCacheKt$lruCache$3.java @@ -1,7 +1,7 @@ package androidx.collection; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function4; /* compiled from: LruCache.kt */ diff --git a/app/src/main/java/androidx/collection/LruCacheKt$lruCache$4.java b/app/src/main/java/androidx/collection/LruCacheKt$lruCache$4.java index 10f4f49767..8dedcb7e94 100644 --- a/app/src/main/java/androidx/collection/LruCacheKt$lruCache$4.java +++ b/app/src/main/java/androidx/collection/LruCacheKt$lruCache$4.java @@ -1,6 +1,6 @@ package androidx.collection; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function2; import kotlin.jvm.functions.Function4; diff --git a/app/src/main/java/androidx/collection/LruCacheKt.java b/app/src/main/java/androidx/collection/LruCacheKt.java index d74b9bc929..e2ffcf245f 100644 --- a/app/src/main/java/androidx/collection/LruCacheKt.java +++ b/app/src/main/java/androidx/collection/LruCacheKt.java @@ -1,6 +1,6 @@ package androidx.collection; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function2; diff --git a/app/src/main/java/androidx/collection/SparseArrayKt$keyIterator$1.java b/app/src/main/java/androidx/collection/SparseArrayKt$keyIterator$1.java index c7ececde4e..701e41a11e 100644 --- a/app/src/main/java/androidx/collection/SparseArrayKt$keyIterator$1.java +++ b/app/src/main/java/androidx/collection/SparseArrayKt$keyIterator$1.java @@ -1,6 +1,6 @@ package androidx.collection; -import c0.t.c0; +import d0.t.c0; /* compiled from: SparseArray.kt */ public final class SparseArrayKt$keyIterator$1 extends c0 { public final /* synthetic */ SparseArrayCompat $this_keyIterator; @@ -19,7 +19,7 @@ public final class SparseArrayKt$keyIterator$1 extends c0 { return this.index < this.$this_keyIterator.size(); } - @Override // c0.t.c0 + @Override // d0.t.c0 public int nextInt() { SparseArrayCompat sparseArrayCompat = this.$this_keyIterator; int i = this.index; diff --git a/app/src/main/java/androidx/collection/SparseArrayKt$valueIterator$1.java b/app/src/main/java/androidx/collection/SparseArrayKt$valueIterator$1.java index 59c264bf60..df14bcbb17 100644 --- a/app/src/main/java/androidx/collection/SparseArrayKt$valueIterator$1.java +++ b/app/src/main/java/androidx/collection/SparseArrayKt$valueIterator$1.java @@ -1,6 +1,6 @@ package androidx.collection; -import c0.z.d.g0.a; +import d0.z.d.g0.a; import java.util.Iterator; /* compiled from: SparseArray.kt */ public final class SparseArrayKt$valueIterator$1 implements Iterator, a { diff --git a/app/src/main/java/androidx/collection/SparseArrayKt.java b/app/src/main/java/androidx/collection/SparseArrayKt.java index b23f67e68a..60ae202a42 100644 --- a/app/src/main/java/androidx/collection/SparseArrayKt.java +++ b/app/src/main/java/androidx/collection/SparseArrayKt.java @@ -1,7 +1,7 @@ package androidx.collection; -import c0.t.c0; -import c0.z.d.m; +import d0.t.c0; +import d0.z.d.m; import java.util.Iterator; import kotlin.Unit; import kotlin.jvm.functions.Function0; @@ -31,7 +31,7 @@ public final class SparseArrayKt { m.checkParameterIsNotNull(sparseArrayCompat, "receiver$0"); m.checkParameterIsNotNull(function0, "defaultValue"); T t = sparseArrayCompat.get(i); - return t != null ? t : (T) function0.mo17invoke(); + return t != null ? t : (T) function0.mo1invoke(); } public static final int getSize(SparseArrayCompat sparseArrayCompat) { diff --git a/app/src/main/java/androidx/concurrent/futures/AbstractResolvableFuture.java b/app/src/main/java/androidx/concurrent/futures/AbstractResolvableFuture.java index 68201bf603..ec5d5d5a73 100644 --- a/app/src/main/java/androidx/concurrent/futures/AbstractResolvableFuture.java +++ b/app/src/main/java/androidx/concurrent/futures/AbstractResolvableFuture.java @@ -595,32 +595,30 @@ public abstract class AbstractResolvableFuture implements a { String timeUnit2 = timeUnit.toString(); Locale locale = Locale.ROOT; String lowerCase = timeUnit2.toLowerCase(locale); - StringBuilder R = c.d.b.a.a.R("Waited ", j, " "); - R.append(timeUnit.toString().toLowerCase(locale)); - String sb = R.toString(); + String str = "Waited " + j + " " + timeUnit.toString().toLowerCase(locale); if (nanos + 1000 < 0) { - String u = c.d.b.a.a.u(sb, " (plus "); + String v = c.d.b.a.a.v(str, " (plus "); long j2 = -nanos; long convert = timeUnit.convert(j2, TimeUnit.NANOSECONDS); long nanos2 = j2 - timeUnit.toNanos(convert); int i = (convert > 0 ? 1 : (convert == 0 ? 0 : -1)); boolean z2 = i == 0 || nanos2 > 1000; if (i > 0) { - String str = u + convert + " " + lowerCase; + String str2 = v + convert + " " + lowerCase; if (z2) { - str = c.d.b.a.a.u(str, ","); + str2 = c.d.b.a.a.v(str2, ","); } - u = c.d.b.a.a.u(str, " "); + v = c.d.b.a.a.v(str2, " "); } if (z2) { - u = c.d.b.a.a.r(u, nanos2, " nanoseconds "); + v = v + nanos2 + " nanoseconds "; } - sb = c.d.b.a.a.u(u, "delay)"); + str = c.d.b.a.a.v(v, "delay)"); } if (isDone()) { - throw new TimeoutException(c.d.b.a.a.u(sb, " but future completed as timeout expired")); + throw new TimeoutException(c.d.b.a.a.v(str, " but future completed as timeout expired")); } - throw new TimeoutException(c.d.b.a.a.v(sb, " for ", abstractResolvableFuture)); + throw new TimeoutException(c.d.b.a.a.w(str, " for ", abstractResolvableFuture)); } throw new InterruptedException(); } @@ -649,15 +647,15 @@ public abstract class AbstractResolvableFuture implements a { public String pendingToString() { Object obj = this.value; if (obj instanceof SetFuture) { - return c.d.b.a.a.G(c.d.b.a.a.O("setFuture=["), userObjectToString(((SetFuture) obj).future), "]"); + return c.d.b.a.a.H(c.d.b.a.a.R("setFuture=["), userObjectToString(((SetFuture) obj).future), "]"); } if (!(this instanceof ScheduledFuture)) { return null; } - StringBuilder O = c.d.b.a.a.O("remaining delay=["); - O.append(((ScheduledFuture) this).getDelay(TimeUnit.MILLISECONDS)); - O.append(" ms]"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("remaining delay=["); + R.append(((ScheduledFuture) this).getDelay(TimeUnit.MILLISECONDS)); + R.append(" ms]"); + return R.toString(); } public boolean set(@Nullable V v) { @@ -725,9 +723,9 @@ public abstract class AbstractResolvableFuture implements a { try { str = pendingToString(); } catch (RuntimeException e) { - StringBuilder O = c.d.b.a.a.O("Exception thrown from implementation: "); - O.append(e.getClass()); - str = O.toString(); + StringBuilder R = c.d.b.a.a.R("Exception thrown from implementation: "); + R.append(e.getClass()); + str = R.toString(); } if (str != null && !str.isEmpty()) { sb.append("PENDING, info=["); diff --git a/app/src/main/java/androidx/concurrent/futures/CallbackToFutureAdapter.java b/app/src/main/java/androidx/concurrent/futures/CallbackToFutureAdapter.java index 4e842b2718..9358b7363c 100644 --- a/app/src/main/java/androidx/concurrent/futures/CallbackToFutureAdapter.java +++ b/app/src/main/java/androidx/concurrent/futures/CallbackToFutureAdapter.java @@ -33,9 +33,9 @@ public final class CallbackToFutureAdapter { ResolvableFuture resolvableFuture; SafeFuture safeFuture = this.future; if (safeFuture != null && !safeFuture.isDone()) { - StringBuilder O = a.O("The completer object was garbage collected - this future would otherwise never complete. The tag was: "); - O.append(this.tag); - safeFuture.setException(new FutureGarbageCollectedException(O.toString())); + StringBuilder R = a.R("The completer object was garbage collected - this future would otherwise never complete. The tag was: "); + R.append(this.tag); + safeFuture.setException(new FutureGarbageCollectedException(R.toString())); } if (!this.attemptedSetting && (resolvableFuture = this.cancellationFuture) != null) { resolvableFuture.set(null); @@ -119,10 +119,10 @@ public final class CallbackToFutureAdapter { if (completer == null) { return "Completer object has been garbage collected, future will fail soon"; } - StringBuilder O = a.O("tag=["); - O.append(completer.tag); - O.append("]"); - return O.toString(); + StringBuilder R = a.R("tag=["); + R.append(completer.tag); + R.append("]"); + return R.toString(); } } diff --git a/app/src/main/java/androidx/constraintlayout/motion/utils/Easing.java b/app/src/main/java/androidx/constraintlayout/motion/utils/Easing.java index 447151a602..5704490f1c 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/utils/Easing.java +++ b/app/src/main/java/androidx/constraintlayout/motion/utils/Easing.java @@ -169,9 +169,9 @@ public class Easing { case 3: return new CubicEasing(STANDARD); default: - StringBuilder O = a.O("transitionEasing syntax error syntax:transitionEasing=\"cubic(1.0,0.5,0.0,0.6)\" or "); - O.append(Arrays.toString(NAMED_EASING)); - Log.e("ConstraintSet", O.toString()); + StringBuilder R = a.R("transitionEasing syntax error syntax:transitionEasing=\"cubic(1.0,0.5,0.0,0.6)\" or "); + R.append(Arrays.toString(NAMED_EASING)); + Log.e("ConstraintSet", R.toString()); return sDefault; } } diff --git a/app/src/main/java/androidx/constraintlayout/motion/utils/Oscillator.java b/app/src/main/java/androidx/constraintlayout/motion/utils/Oscillator.java index 04545b9cc0..f197190882 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/utils/Oscillator.java +++ b/app/src/main/java/androidx/constraintlayout/motion/utils/Oscillator.java @@ -175,10 +175,10 @@ public class Oscillator { } public String toString() { - StringBuilder O = a.O("pos ="); - O.append(Arrays.toString(this.mPosition)); - O.append(" period="); - O.append(Arrays.toString(this.mPeriod)); - return O.toString(); + StringBuilder R = a.R("pos ="); + R.append(Arrays.toString(this.mPosition)); + R.append(" period="); + R.append(Arrays.toString(this.mPeriod)); + return R.toString(); } } diff --git a/app/src/main/java/androidx/constraintlayout/motion/utils/StopLogic.java b/app/src/main/java/androidx/constraintlayout/motion/utils/StopLogic.java index b2d379f5df..9063ad9149 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/utils/StopLogic.java +++ b/app/src/main/java/androidx/constraintlayout/motion/utils/StopLogic.java @@ -156,9 +156,9 @@ public class StopLogic extends MotionInterpolator { } public void debug(String str, String str2, float f) { - StringBuilder S = a.S(str2, " ===== "); - S.append(this.mType); - Log.v(str, S.toString()); + StringBuilder V = a.V(str2, " ===== "); + V.append(this.mType); + Log.v(str, V.toString()); StringBuilder sb = new StringBuilder(); sb.append(str2); sb.append(this.mBackwards ? "backwards" : "forward "); @@ -169,22 +169,22 @@ public class StopLogic extends MotionInterpolator { Log.v(str, sb.toString()); Log.v(str, str2 + " dur " + this.mStage1Duration + " vel " + this.mStage1Velocity + " pos " + this.mStage1EndPosition); if (this.mNumberOfStages > 1) { - StringBuilder S2 = a.S(str2, " dur "); - S2.append(this.mStage2Duration); - S2.append(" vel "); - S2.append(this.mStage2Velocity); - S2.append(" pos "); - S2.append(this.mStage2EndPosition); - Log.v(str, S2.toString()); + StringBuilder V2 = a.V(str2, " dur "); + V2.append(this.mStage2Duration); + V2.append(" vel "); + V2.append(this.mStage2Velocity); + V2.append(" pos "); + V2.append(this.mStage2EndPosition); + Log.v(str, V2.toString()); } if (this.mNumberOfStages > 2) { - StringBuilder S3 = a.S(str2, " dur "); - S3.append(this.mStage3Duration); - S3.append(" vel "); - S3.append(this.mStage3Velocity); - S3.append(" pos "); - S3.append(this.mStage3EndPosition); - Log.v(str, S3.toString()); + StringBuilder V3 = a.V(str2, " dur "); + V3.append(this.mStage3Duration); + V3.append(" vel "); + V3.append(this.mStage3Velocity); + V3.append(" pos "); + V3.append(this.mStage3EndPosition); + Log.v(str, V3.toString()); } float f2 = this.mStage1Duration; if (f <= f2) { diff --git a/app/src/main/java/androidx/constraintlayout/motion/widget/Debug.java b/app/src/main/java/androidx/constraintlayout/motion/widget/Debug.java index 3cf1537fa4..1cb4994d68 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/Debug.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/Debug.java @@ -13,18 +13,18 @@ import java.lang.reflect.Modifier; public class Debug { public static void dumpLayoutParams(ViewGroup.LayoutParams layoutParams, String str) { StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1]; - StringBuilder O = a.O(".("); - O.append(stackTraceElement.getFileName()); - O.append(":"); - O.append(stackTraceElement.getLineNumber()); - O.append(") "); - O.append(str); - O.append(" "); - String sb = O.toString(); + StringBuilder R = a.R(".("); + R.append(stackTraceElement.getFileName()); + R.append(":"); + R.append(stackTraceElement.getLineNumber()); + R.append(") "); + R.append(str); + R.append(" "); + String sb = R.toString(); PrintStream printStream = System.out; - StringBuilder U = a.U(" >>>>>>>>>>>>>>>>>>. dump ", sb, " "); - U.append(layoutParams.getClass().getName()); - printStream.println(U.toString()); + StringBuilder W = a.W(" >>>>>>>>>>>>>>>>>>. dump ", sb, " "); + W.append(layoutParams.getClass().getName()); + printStream.println(W.toString()); Field[] fields = layoutParams.getClass().getFields(); for (Field field : fields) { try { @@ -43,22 +43,22 @@ public class Debug { public static void dumpLayoutParams(ViewGroup viewGroup, String str) { StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1]; - StringBuilder O = a.O(".("); - O.append(stackTraceElement.getFileName()); - O.append(":"); - O.append(stackTraceElement.getLineNumber()); - O.append(") "); - O.append(str); - O.append(" "); - String sb = O.toString(); + StringBuilder R = a.R(".("); + R.append(stackTraceElement.getFileName()); + R.append(":"); + R.append(stackTraceElement.getLineNumber()); + R.append(") "); + R.append(str); + R.append(" "); + String sb = R.toString(); int childCount = viewGroup.getChildCount(); System.out.println(str + " children " + childCount); for (int i = 0; i < childCount; i++) { View childAt = viewGroup.getChildAt(i); PrintStream printStream = System.out; - StringBuilder S = a.S(sb, " "); - S.append(getName(childAt)); - printStream.println(S.toString()); + StringBuilder V = a.V(sb, " "); + V.append(getName(childAt)); + printStream.println(V.toString()); ViewGroup.LayoutParams layoutParams = childAt.getLayoutParams(); Field[] fields = layoutParams.getClass().getFields(); for (Field field : fields) { @@ -77,18 +77,18 @@ public class Debug { public static void dumpPoc(Object obj) { StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1]; - StringBuilder O = a.O(".("); - O.append(stackTraceElement.getFileName()); - O.append(":"); - O.append(stackTraceElement.getLineNumber()); - O.append(")"); - String sb = O.toString(); + StringBuilder R = a.R(".("); + R.append(stackTraceElement.getFileName()); + R.append(":"); + R.append(stackTraceElement.getLineNumber()); + R.append(")"); + String sb = R.toString(); Class cls = obj.getClass(); PrintStream printStream = System.out; - StringBuilder S = a.S(sb, "------------- "); - S.append(cls.getName()); - S.append(" --------------------"); - printStream.println(S.toString()); + StringBuilder V = a.V(sb, "------------- "); + V.append(cls.getName()); + V.append(" --------------------"); + printStream.println(V.toString()); Field[] fields = cls.getFields(); for (Field field : fields) { try { @@ -108,10 +108,10 @@ public class Debug { } } PrintStream printStream2 = System.out; - StringBuilder S2 = a.S(sb, "------------- "); - S2.append(cls.getSimpleName()); - S2.append(" --------------------"); - printStream2.println(S2.toString()); + StringBuilder V2 = a.V(sb, "------------- "); + V2.append(cls.getSimpleName()); + V2.append(" --------------------"); + printStream2.println(V2.toString()); } public static String getActionType(MotionEvent motionEvent) { @@ -130,44 +130,44 @@ public class Debug { public static String getCallFrom(int i) { StackTraceElement stackTraceElement = new Throwable().getStackTrace()[i + 2]; - StringBuilder O = a.O(".("); - O.append(stackTraceElement.getFileName()); - O.append(":"); - O.append(stackTraceElement.getLineNumber()); - O.append(")"); - return O.toString(); + StringBuilder R = a.R(".("); + R.append(stackTraceElement.getFileName()); + R.append(":"); + R.append(stackTraceElement.getLineNumber()); + R.append(")"); + return R.toString(); } public static String getLoc() { StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1]; - StringBuilder O = a.O(".("); - O.append(stackTraceElement.getFileName()); - O.append(":"); - O.append(stackTraceElement.getLineNumber()); - O.append(") "); - O.append(stackTraceElement.getMethodName()); - O.append("()"); - return O.toString(); + StringBuilder R = a.R(".("); + R.append(stackTraceElement.getFileName()); + R.append(":"); + R.append(stackTraceElement.getLineNumber()); + R.append(") "); + R.append(stackTraceElement.getMethodName()); + R.append("()"); + return R.toString(); } public static String getLocation() { StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1]; - StringBuilder O = a.O(".("); - O.append(stackTraceElement.getFileName()); - O.append(":"); - O.append(stackTraceElement.getLineNumber()); - O.append(")"); - return O.toString(); + StringBuilder R = a.R(".("); + R.append(stackTraceElement.getFileName()); + R.append(":"); + R.append(stackTraceElement.getLineNumber()); + R.append(")"); + return R.toString(); } public static String getLocation2() { StackTraceElement stackTraceElement = new Throwable().getStackTrace()[2]; - StringBuilder O = a.O(".("); - O.append(stackTraceElement.getFileName()); - O.append(":"); - O.append(stackTraceElement.getLineNumber()); - O.append(")"); - return O.toString(); + StringBuilder R = a.R(".("); + R.append(stackTraceElement.getFileName()); + R.append(":"); + R.append(stackTraceElement.getLineNumber()); + R.append(")"); + return R.toString(); } public static String getName(Context context, int i) { @@ -177,7 +177,7 @@ public class Debug { try { return context.getResources().getResourceEntryName(i); } catch (Exception unused) { - return a.l("?", i); + return a.p("?", i); } } @@ -224,14 +224,14 @@ public class Debug { String str3 = " "; for (int i2 = 1; i2 <= min; i2++) { StackTraceElement stackTraceElement = stackTrace[i2]; - StringBuilder O = a.O(".("); - O.append(stackTrace[i2].getFileName()); - O.append(":"); - O.append(stackTrace[i2].getLineNumber()); - O.append(") "); - O.append(stackTrace[i2].getMethodName()); - String sb = O.toString(); - str3 = a.u(str3, " "); + StringBuilder R = a.R(".("); + R.append(stackTrace[i2].getFileName()); + R.append(":"); + R.append(stackTrace[i2].getLineNumber()); + R.append(") "); + R.append(stackTrace[i2].getMethodName()); + String sb = R.toString(); + str3 = a.v(str3, " "); Log.v(str, str2 + str3 + sb + str3); } } @@ -242,13 +242,13 @@ public class Debug { String str2 = " "; for (int i2 = 1; i2 <= min; i2++) { StackTraceElement stackTraceElement = stackTrace[i2]; - StringBuilder O = a.O(".("); - O.append(stackTrace[i2].getFileName()); - O.append(":"); - O.append(stackTrace[i2].getLineNumber()); - O.append(") "); - String sb = O.toString(); - str2 = a.u(str2, " "); + StringBuilder R = a.R(".("); + R.append(stackTrace[i2].getFileName()); + R.append(":"); + R.append(stackTrace[i2].getLineNumber()); + R.append(") "); + String sb = R.toString(); + str2 = a.v(str2, " "); PrintStream printStream = System.out; printStream.println(str + str2 + sb + str2); } diff --git a/app/src/main/java/androidx/constraintlayout/motion/widget/KeyAttributes.java b/app/src/main/java/androidx/constraintlayout/motion/widget/KeyAttributes.java index ff30042e1b..a366e173ac 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/KeyAttributes.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/KeyAttributes.java @@ -95,11 +95,11 @@ public class KeyAttributes extends Key { case 3: case 11: default: - StringBuilder O = a.O("unused attribute 0x"); - O.append(Integer.toHexString(index)); - O.append(" "); - O.append(mAttrMap.get(index)); - Log.e("KeyAttribute", O.toString()); + StringBuilder R = a.R("unused attribute 0x"); + R.append(Integer.toHexString(index)); + R.append(" "); + R.append(mAttrMap.get(index)); + Log.e("KeyAttribute", R.toString()); break; case 4: KeyAttributes.access$202(keyAttributes, typedArray.getFloat(index, KeyAttributes.access$200(keyAttributes))); @@ -645,7 +645,7 @@ public class KeyAttributes extends Key { } if (this.mCustomConstraints.size() > 0) { for (String str : this.mCustomConstraints.keySet()) { - hashMap.put(a.u("CUSTOM,", str), Integer.valueOf(this.mCurveFit)); + hashMap.put(a.v("CUSTOM,", str), Integer.valueOf(this.mCurveFit)); } } } diff --git a/app/src/main/java/androidx/constraintlayout/motion/widget/KeyCycle.java b/app/src/main/java/androidx/constraintlayout/motion/widget/KeyCycle.java index 3af1224633..5c7b53375b 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/KeyCycle.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/KeyCycle.java @@ -176,11 +176,11 @@ public class KeyCycle extends Key { KeyCycle.access$1802(keyCycle, typedArray.getFloat(index, KeyCycle.access$1800(keyCycle))); break; default: - StringBuilder O = a.O("unused attribute 0x"); - O.append(Integer.toHexString(index)); - O.append(" "); - O.append(mAttrMap.get(index)); - Log.e("KeyCycle", O.toString()); + StringBuilder R = a.R("unused attribute 0x"); + R.append(Integer.toHexString(index)); + R.append(" "); + R.append(mAttrMap.get(index)); + Log.e("KeyCycle", R.toString()); break; } } @@ -368,10 +368,10 @@ public class KeyCycle extends Key { @Override // androidx.constraintlayout.motion.widget.Key public void addValues(HashMap hashMap) { - StringBuilder O = a.O("add "); - O.append(hashMap.size()); - O.append(" values"); - Debug.logStack("KeyCycle", O.toString(), 2); + StringBuilder R = a.R("add "); + R.append(hashMap.size()); + R.append(" values"); + Debug.logStack("KeyCycle", R.toString(), 2); for (String str : hashMap.keySet()) { SplineSet splineSet = hashMap.get(str); str.hashCode(); diff --git a/app/src/main/java/androidx/constraintlayout/motion/widget/KeyCycleOscillator.java b/app/src/main/java/androidx/constraintlayout/motion/widget/KeyCycleOscillator.java index 0456aaa676..7012de075c 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/KeyCycleOscillator.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/KeyCycleOscillator.java @@ -88,9 +88,9 @@ public abstract class KeyCycleOscillator { if (constraintAttribute.getType() == attributeType) { return constraintAttribute; } - StringBuilder O = a.O("ConstraintAttribute is already a "); - O.append(constraintAttribute.getType().name()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("ConstraintAttribute is already a "); + R.append(constraintAttribute.getType().name()); + throw new IllegalArgumentException(R.toString()); } ConstraintAttribute constraintAttribute2 = new ConstraintAttribute(str, attributeType); this.mCustomConstraints.put(str, constraintAttribute2); @@ -593,12 +593,12 @@ public abstract class KeyCycleOscillator { Iterator it = this.mWavePoints.iterator(); while (it.hasNext()) { WavePoint next = it.next(); - StringBuilder S = a.S(str, "["); - S.append(next.mPosition); - S.append(" , "); - S.append(decimalFormat.format((double) next.mValue)); - S.append("] "); - str = S.toString(); + StringBuilder V = a.V(str, "["); + V.append(next.mPosition); + V.append(" , "); + V.append(decimalFormat.format((double) next.mValue)); + V.append("] "); + str = V.toString(); } return str; } diff --git a/app/src/main/java/androidx/constraintlayout/motion/widget/KeyPosition.java b/app/src/main/java/androidx/constraintlayout/motion/widget/KeyPosition.java index 77ffcfc82e..3f556c2ab9 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/KeyPosition.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/KeyPosition.java @@ -138,11 +138,11 @@ public class KeyPosition extends KeyPositionBase { keyPosition.mPercentHeight = typedArray.getFloat(index, keyPosition.mPercentHeight); break; default: - StringBuilder O = a.O("unused attribute 0x"); - O.append(Integer.toHexString(index)); - O.append(" "); - O.append(mAttrMap.get(index)); - Log.e("KeyPosition", O.toString()); + StringBuilder R = a.R("unused attribute 0x"); + R.append(Integer.toHexString(index)); + R.append(" "); + R.append(mAttrMap.get(index)); + Log.e("KeyPosition", R.toString()); break; } } diff --git a/app/src/main/java/androidx/constraintlayout/motion/widget/KeyTimeCycle.java b/app/src/main/java/androidx/constraintlayout/motion/widget/KeyTimeCycle.java index 2c80683adc..6bbc141ccb 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/KeyTimeCycle.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/KeyTimeCycle.java @@ -97,11 +97,11 @@ public class KeyTimeCycle extends Key { case 3: case 11: default: - StringBuilder O = a.O("unused attribute 0x"); - O.append(Integer.toHexString(index)); - O.append(" "); - O.append(mAttrMap.get(index)); - Log.e("KeyTimeCycle", O.toString()); + StringBuilder R = a.R("unused attribute 0x"); + R.append(Integer.toHexString(index)); + R.append(" "); + R.append(mAttrMap.get(index)); + Log.e("KeyTimeCycle", R.toString()); break; case 4: KeyTimeCycle.access$202(keyTimeCycle, typedArray.getFloat(index, KeyTimeCycle.access$200(keyTimeCycle))); @@ -624,7 +624,7 @@ public class KeyTimeCycle extends Key { } if (this.mCustomConstraints.size() > 0) { for (String str : this.mCustomConstraints.keySet()) { - hashMap.put(a.u("CUSTOM,", str), Integer.valueOf(this.mCurveFit)); + hashMap.put(a.v("CUSTOM,", str), Integer.valueOf(this.mCurveFit)); } } } diff --git a/app/src/main/java/androidx/constraintlayout/motion/widget/KeyTrigger.java b/app/src/main/java/androidx/constraintlayout/motion/widget/KeyTrigger.java index 08b86cd800..bccdd352d9 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/KeyTrigger.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/KeyTrigger.java @@ -118,11 +118,11 @@ public class KeyTrigger extends Key { KeyTrigger.access$702(keyTrigger, typedArray.getResourceId(index, KeyTrigger.access$700(keyTrigger))); break; } - StringBuilder O = a.O("unused attribute 0x"); - O.append(Integer.toHexString(index)); - O.append(" "); - O.append(mAttrMap.get(index)); - Log.e("KeyTrigger", O.toString()); + StringBuilder R = a.R("unused attribute 0x"); + R.append(Integer.toHexString(index)); + R.append(" "); + R.append(mAttrMap.get(index)); + Log.e("KeyTrigger", R.toString()); } } } @@ -266,13 +266,13 @@ public class KeyTrigger extends Key { try { this.mFireNegativeCross = view.getClass().getMethod(this.mNegativeCross, new Class[0]); } catch (NoSuchMethodException unused) { - StringBuilder O = a.O("Could not find method \""); - O.append(this.mNegativeCross); - O.append("\"on class "); - O.append(view.getClass().getSimpleName()); - O.append(" "); - O.append(Debug.getName(view)); - Log.e("KeyTrigger", O.toString()); + StringBuilder R = a.R("Could not find method \""); + R.append(this.mNegativeCross); + R.append("\"on class "); + R.append(view.getClass().getSimpleName()); + R.append(" "); + R.append(Debug.getName(view)); + Log.e("KeyTrigger", R.toString()); } } this.mFireNegativeCross.invoke(view, new Object[0]); @@ -282,13 +282,13 @@ public class KeyTrigger extends Key { try { this.mFirePositiveCross = view.getClass().getMethod(this.mPositiveCross, new Class[0]); } catch (NoSuchMethodException unused2) { - StringBuilder O2 = a.O("Could not find method \""); - O2.append(this.mPositiveCross); - O2.append("\"on class "); - O2.append(view.getClass().getSimpleName()); - O2.append(" "); - O2.append(Debug.getName(view)); - Log.e("KeyTrigger", O2.toString()); + StringBuilder R2 = a.R("Could not find method \""); + R2.append(this.mPositiveCross); + R2.append("\"on class "); + R2.append(view.getClass().getSimpleName()); + R2.append(" "); + R2.append(Debug.getName(view)); + Log.e("KeyTrigger", R2.toString()); } } this.mFirePositiveCross.invoke(view, new Object[0]); @@ -298,26 +298,26 @@ public class KeyTrigger extends Key { try { this.mFireCross = view.getClass().getMethod(this.mCross, new Class[0]); } catch (NoSuchMethodException unused3) { - StringBuilder O3 = a.O("Could not find method \""); - O3.append(this.mCross); - O3.append("\"on class "); - O3.append(view.getClass().getSimpleName()); - O3.append(" "); - O3.append(Debug.getName(view)); - Log.e("KeyTrigger", O3.toString()); + StringBuilder R3 = a.R("Could not find method \""); + R3.append(this.mCross); + R3.append("\"on class "); + R3.append(view.getClass().getSimpleName()); + R3.append(" "); + R3.append(Debug.getName(view)); + Log.e("KeyTrigger", R3.toString()); } } try { this.mFireCross.invoke(view, new Object[0]); return; } catch (Exception unused4) { - StringBuilder O4 = a.O("Exception in call \""); - O4.append(this.mCross); - O4.append("\"on class "); - O4.append(view.getClass().getSimpleName()); - O4.append(" "); - O4.append(Debug.getName(view)); - Log.e("KeyTrigger", O4.toString()); + StringBuilder R4 = a.R("Exception in call \""); + R4.append(this.mCross); + R4.append("\"on class "); + R4.append(view.getClass().getSimpleName()); + R4.append(" "); + R4.append(Debug.getName(view)); + Log.e("KeyTrigger", R4.toString()); return; } } else { @@ -408,26 +408,26 @@ public class KeyTrigger extends Key { try { this.mFireNegativeCross.invoke(view, new Object[0]); } catch (Exception unused5) { - StringBuilder O5 = a.O("Exception in call \""); - O5.append(this.mNegativeCross); - O5.append("\"on class "); - O5.append(view.getClass().getSimpleName()); - O5.append(" "); - O5.append(Debug.getName(view)); - Log.e("KeyTrigger", O5.toString()); + StringBuilder R5 = a.R("Exception in call \""); + R5.append(this.mNegativeCross); + R5.append("\"on class "); + R5.append(view.getClass().getSimpleName()); + R5.append(" "); + R5.append(Debug.getName(view)); + Log.e("KeyTrigger", R5.toString()); } if (this.mFirePositiveCross == null) { } try { this.mFirePositiveCross.invoke(view, new Object[0]); } catch (Exception unused6) { - StringBuilder O6 = a.O("Exception in call \""); - O6.append(this.mPositiveCross); - O6.append("\"on class "); - O6.append(view.getClass().getSimpleName()); - O6.append(" "); - O6.append(Debug.getName(view)); - Log.e("KeyTrigger", O6.toString()); + StringBuilder R6 = a.R("Exception in call \""); + R6.append(this.mPositiveCross); + R6.append("\"on class "); + R6.append(view.getClass().getSimpleName()); + R6.append(" "); + R6.append(Debug.getName(view)); + Log.e("KeyTrigger", R6.toString()); } if (!z4) { } diff --git a/app/src/main/java/androidx/constraintlayout/motion/widget/MotionConstrainedPoint.java b/app/src/main/java/androidx/constraintlayout/motion/widget/MotionConstrainedPoint.java index 0ee6f00463..f2425d7b05 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/MotionConstrainedPoint.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/MotionConstrainedPoint.java @@ -45,10 +45,10 @@ public class MotionConstrainedPoint implements Comparable 1.0E-6f; @@ -362,14 +362,14 @@ public class MotionConstrainedPoint implements Comparable "); - O.append(Debug.getState(this, this.mEndState)); - O.append(" (progress: "); - O.append(((float) ((int) (getProgress() * 1000.0f))) / 10.0f); - O.append(" ) state="); + StringBuilder R = a.R(this.mLastFps + " fps " + Debug.getState(this, this.mBeginState) + " -> "); + R.append(Debug.getState(this, this.mEndState)); + R.append(" (progress: "); + R.append(((float) ((int) (getProgress() * 1000.0f))) / 10.0f); + R.append(" ) state="); int i = this.mCurrentState; - O.append(i == -1 ? "undefined" : Debug.getState(this, i)); - String sb = O.toString(); + R.append(i == -1 ? "undefined" : Debug.getState(this, i)); + String sb = R.toString(); paint.setColor(ViewCompat.MEASURED_STATE_MASK); canvas.drawText(sb, 11.0f, (float) (getHeight() - 29), paint); paint.setColor(-7864184); @@ -1891,7 +1891,8 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar this.lastY = y2; return; } - a.k0("WARNING could not find view id ", viewById == null ? a.l("", i) : viewById.getContext().getResources().getResourceName(i), TAG); + String p = viewById == null ? a.p("", i) : viewById.getContext().getResources().getResourceName(i); + Log.w(TAG, "WARNING could not find view id " + p); } public ConstraintSet getConstraintSet(int i) { diff --git a/app/src/main/java/androidx/constraintlayout/motion/widget/MotionPaths.java b/app/src/main/java/androidx/constraintlayout/motion/widget/MotionPaths.java index 506e7b1885..ecd8015650 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/MotionPaths.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/MotionPaths.java @@ -39,10 +39,10 @@ public class MotionPaths implements Comparable { public float width; /* renamed from: x reason: collision with root package name */ - public float f22x; + public float f21x; /* renamed from: y reason: collision with root package name */ - public float f23y; + public float f22y; public MotionPaths() { this.mDrawPath = 0; @@ -107,14 +107,14 @@ public class MotionPaths implements Comparable { public void different(MotionPaths motionPaths, boolean[] zArr, String[] strArr, boolean z2) { zArr[0] = zArr[0] | diff(this.position, motionPaths.position); - zArr[1] = zArr[1] | diff(this.f22x, motionPaths.f22x) | z2; - zArr[2] = z2 | diff(this.f23y, motionPaths.f23y) | zArr[2]; + zArr[1] = zArr[1] | diff(this.f21x, motionPaths.f21x) | z2; + zArr[2] = z2 | diff(this.f22y, motionPaths.f22y) | zArr[2]; zArr[3] = zArr[3] | diff(this.width, motionPaths.width); zArr[4] = diff(this.height, motionPaths.height) | zArr[4]; } public void fillStandard(double[] dArr, int[] iArr) { - float[] fArr = {this.position, this.f22x, this.f23y, this.width, this.height, this.mPathRotate}; + float[] fArr = {this.position, this.f21x, this.f22y, this.width, this.height, this.mPathRotate}; int i = 0; for (int i2 = 0; i2 < iArr.length; i2++) { if (iArr[i2] < 6) { @@ -141,8 +141,8 @@ public class MotionPaths implements Comparable { } public void getCenter(int[] iArr, double[] dArr, float[] fArr, int i) { - float f = this.f22x; - float f2 = this.f23y; + float f = this.f21x; + float f2 = this.f22y; float f3 = this.width; float f4 = this.height; for (int i2 = 0; i2 < iArr.length; i2++) { @@ -185,8 +185,8 @@ public class MotionPaths implements Comparable { } public void getRect(int[] iArr, double[] dArr, float[] fArr, int i) { - float f = this.f22x; - float f2 = this.f23y; + float f = this.f21x; + float f2 = this.f22y; float f3 = this.width; float f4 = this.height; for (int i2 = 0; i2 < iArr.length; i2++) { @@ -239,17 +239,17 @@ public class MotionPaths implements Comparable { float f8 = motionPaths.height; float f9 = f7 - f8; this.position = this.time; - float f10 = motionPaths.f22x; - float f11 = motionPaths.f23y; - float f12 = ((f4 / 2.0f) + motionPaths2.f22x) - ((f5 / 2.0f) + f10); - float f13 = ((f7 / 2.0f) + motionPaths2.f23y) - ((f8 / 2.0f) + f11); + float f10 = motionPaths.f21x; + float f11 = motionPaths.f22y; + float f12 = ((f4 / 2.0f) + motionPaths2.f21x) - ((f5 / 2.0f) + f10); + float f13 = ((f7 / 2.0f) + motionPaths2.f22y) - ((f8 / 2.0f) + f11); float f14 = f6 * f2; float f15 = f14 / 2.0f; - this.f22x = (float) ((int) (((f12 * f) + f10) - f15)); + this.f21x = (float) ((int) (((f12 * f) + f10) - f15)); float f16 = (f13 * f) + f11; float f17 = f9 * f3; float f18 = f17 / 2.0f; - this.f23y = (float) ((int) (f16 - f18)); + this.f22y = (float) ((int) (f16 - f18)); this.width = (float) ((int) (f5 + f14)); this.height = (float) ((int) (f8 + f17)); float f19 = Float.isNaN(keyPosition.mPercentX) ? f : keyPosition.mPercentX; @@ -262,8 +262,8 @@ public class MotionPaths implements Comparable { f20 = keyPosition.mAltPercentX; } this.mMode = 2; - this.f22x = (float) ((int) (((f20 * f13) + ((f19 * f12) + motionPaths.f22x)) - f15)); - this.f23y = (float) ((int) (((f13 * f) + ((f12 * f21) + motionPaths.f23y)) - f18)); + this.f21x = (float) ((int) (((f20 * f13) + ((f19 * f12) + motionPaths.f21x)) - f15)); + this.f22y = (float) ((int) (((f13 * f) + ((f12 * f21) + motionPaths.f22y)) - f18)); this.mKeyFrameEasing = Easing.getInterpolator(keyPosition.mTransitionEasing); this.mPathMotionArc = keyPosition.mPathMotionArc; } @@ -280,30 +280,30 @@ public class MotionPaths implements Comparable { if (!Float.isNaN(keyPosition.mPercentX)) { f = keyPosition.mPercentX; } - float f6 = motionPaths.f22x; + float f6 = motionPaths.f21x; float f7 = motionPaths.width; - float f8 = motionPaths.f23y; + float f8 = motionPaths.f22y; float f9 = motionPaths.height; - float f10 = ((motionPaths2.width / 2.0f) + motionPaths2.f22x) - ((f7 / 2.0f) + f6); - float f11 = ((motionPaths2.height / 2.0f) + motionPaths2.f23y) - ((f9 / 2.0f) + f8); + float f10 = ((motionPaths2.width / 2.0f) + motionPaths2.f21x) - ((f7 / 2.0f) + f6); + float f11 = ((motionPaths2.height / 2.0f) + motionPaths2.f22y) - ((f9 / 2.0f) + f8); float f12 = f10 * f; float f13 = f4 * f2; float f14 = f13 / 2.0f; - this.f22x = (float) ((int) ((f6 + f12) - f14)); + this.f21x = (float) ((int) ((f6 + f12) - f14)); float f15 = f * f11; float f16 = f5 * f3; float f17 = f16 / 2.0f; - this.f23y = (float) ((int) ((f8 + f15) - f17)); + this.f22y = (float) ((int) ((f8 + f15) - f17)); this.width = (float) ((int) (f7 + f13)); this.height = (float) ((int) (f9 + f16)); float f18 = Float.isNaN(keyPosition.mPercentY) ? 0.0f : keyPosition.mPercentY; this.mMode = 1; - float f19 = (float) ((int) ((motionPaths.f22x + f12) - f14)); - this.f22x = f19; - float f20 = (float) ((int) ((motionPaths.f23y + f15) - f17)); - this.f23y = f20; - this.f22x = f19 + ((-f11) * f18); - this.f23y = f20 + (f10 * f18); + float f19 = (float) ((int) ((motionPaths.f21x + f12) - f14)); + this.f21x = f19; + float f20 = (float) ((int) ((motionPaths.f22y + f15) - f17)); + this.f22y = f20; + this.f21x = f19 + ((-f11) * f18); + this.f22y = f20 + (f10 * f18); this.mKeyFrameEasing = Easing.getInterpolator(keyPosition.mTransitionEasing); this.mPathMotionArc = keyPosition.mPathMotionArc; } @@ -321,30 +321,30 @@ public class MotionPaths implements Comparable { float f8 = motionPaths.height; float f9 = f7 - f8; this.position = this.time; - float f10 = motionPaths.f22x; - float f11 = motionPaths.f23y; - float f12 = (f4 / 2.0f) + motionPaths2.f22x; - float f13 = (f7 / 2.0f) + motionPaths2.f23y; + float f10 = motionPaths.f21x; + float f11 = motionPaths.f22y; + float f12 = (f4 / 2.0f) + motionPaths2.f21x; + float f13 = (f7 / 2.0f) + motionPaths2.f22y; float f14 = f6 * f2; - this.f22x = (float) ((int) ((((f12 - ((f5 / 2.0f) + f10)) * f) + f10) - (f14 / 2.0f))); + this.f21x = (float) ((int) ((((f12 - ((f5 / 2.0f) + f10)) * f) + f10) - (f14 / 2.0f))); float f15 = f9 * f3; - this.f23y = (float) ((int) ((((f13 - ((f8 / 2.0f) + f11)) * f) + f11) - (f15 / 2.0f))); + this.f22y = (float) ((int) ((((f13 - ((f8 / 2.0f) + f11)) * f) + f11) - (f15 / 2.0f))); this.width = (float) ((int) (f5 + f14)); this.height = (float) ((int) (f8 + f15)); this.mMode = 3; if (!Float.isNaN(keyPosition.mPercentX)) { - this.f22x = (float) ((int) (keyPosition.mPercentX * ((float) ((int) (((float) i) - this.width))))); + this.f21x = (float) ((int) (keyPosition.mPercentX * ((float) ((int) (((float) i) - this.width))))); } if (!Float.isNaN(keyPosition.mPercentY)) { - this.f23y = (float) ((int) (keyPosition.mPercentY * ((float) ((int) (((float) i2) - this.height))))); + this.f22y = (float) ((int) (keyPosition.mPercentY * ((float) ((int) (((float) i2) - this.height))))); } this.mKeyFrameEasing = Easing.getInterpolator(keyPosition.mTransitionEasing); this.mPathMotionArc = keyPosition.mPathMotionArc; } public void setBounds(float f, float f2, float f3, float f4) { - this.f22x = f; - this.f23y = f2; + this.f21x = f; + this.f22y = f2; this.width = f3; this.height = f4; } @@ -376,8 +376,8 @@ public class MotionPaths implements Comparable { public void setView(View view, int[] iArr, double[] dArr, double[] dArr2, double[] dArr3) { float f; - float f2 = this.f22x; - float f3 = this.f23y; + float f2 = this.f21x; + float f3 = this.f22y; float f4 = this.width; float f5 = this.height; if (iArr.length != 0 && this.mTempValue.length <= iArr[iArr.length - 1]) { diff --git a/app/src/main/java/androidx/constraintlayout/motion/widget/MotionScene.java b/app/src/main/java/androidx/constraintlayout/motion/widget/MotionScene.java index 84e875e448..b866262717 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/MotionScene.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/MotionScene.java @@ -147,9 +147,9 @@ public class MotionScene { motionLayout2 = motionLayout.findViewById(i2); } if (motionLayout2 == null) { - StringBuilder O = a.O("OnClick could not find id "); - O.append(this.mTargetId); - Log.e(MotionScene.TAG, O.toString()); + StringBuilder R = a.R("OnClick could not find id "); + R.append(this.mTargetId); + Log.e(MotionScene.TAG, R.toString()); return; } int access$100 = Transition.access$100(transition); @@ -242,9 +242,9 @@ public class MotionScene { if (i != -1) { View findViewById = motionLayout.findViewById(i); if (findViewById == null) { - StringBuilder O = a.O(" (*) could not find id "); - O.append(this.mTargetId); - Log.e(MotionScene.TAG, O.toString()); + StringBuilder R = a.R(" (*) could not find id "); + R.append(this.mTargetId); + Log.e(MotionScene.TAG, R.toString()); return; } findViewById.setOnClickListener(null); @@ -435,11 +435,11 @@ public class MotionScene { public String debugString(Context context) { String resourceEntryName = this.mConstraintSetStart == -1 ? "null" : context.getResources().getResourceEntryName(this.mConstraintSetStart); if (this.mConstraintSetEnd == -1) { - return a.u(resourceEntryName, " -> null"); + return a.v(resourceEntryName, " -> null"); } - StringBuilder S = a.S(resourceEntryName, " -> "); - S.append(context.getResources().getResourceEntryName(this.mConstraintSetEnd)); - return S.toString(); + StringBuilder V = a.V(resourceEntryName, " -> "); + V.append(context.getResources().getResourceEntryName(this.mConstraintSetEnd)); + return V.toString(); } public int getAutoTransition() { @@ -789,9 +789,9 @@ public class MotionScene { ConstraintSet constraintSet = this.mConstraintSetMap.get(i); ConstraintSet constraintSet2 = this.mConstraintSetMap.get(i2); if (constraintSet2 == null) { - StringBuilder O = a.O("ERROR! invalid deriveConstraintsFrom: @id/"); - O.append(Debug.getName(this.mMotionLayout.getContext(), i2)); - Log.e(TAG, O.toString()); + StringBuilder R = a.R("ERROR! invalid deriveConstraintsFrom: @id/"); + R.append(Debug.getName(this.mMotionLayout.getContext(), i2)); + Log.e(TAG, R.toString()); return; } constraintSet.readFallback(constraintSet2); @@ -956,9 +956,9 @@ public class MotionScene { PrintStream printStream = System.out; printStream.println("id " + i); PrintStream printStream2 = System.out; - StringBuilder O = a.O("size "); - O.append(this.mConstraintSetMap.size()); - printStream2.println(O.toString()); + StringBuilder R = a.R("size "); + R.append(this.mConstraintSetMap.size()); + printStream2.println(R.toString()); } StateSet stateSet = this.mStateSet; if (!(stateSet == null || (stateGetConstraintID = stateSet.stateGetConstraintID(i, i2, i3)) == -1)) { @@ -967,10 +967,10 @@ public class MotionScene { if (this.mConstraintSetMap.get(i) != null) { return this.mConstraintSetMap.get(i); } - StringBuilder O2 = a.O("Warning could not find ConstraintSet id/"); - O2.append(Debug.getName(this.mMotionLayout.getContext(), i)); - O2.append(" In MotionScene"); - Log.e(TAG, O2.toString()); + StringBuilder R2 = a.R("Warning could not find ConstraintSet id/"); + R2.append(Debug.getName(this.mMotionLayout.getContext(), i)); + R2.append(" In MotionScene"); + Log.e(TAG, R2.toString()); SparseArray sparseArray = this.mConstraintSetMap; return sparseArray.get(sparseArray.keyAt(0)); } @@ -980,9 +980,9 @@ public class MotionScene { PrintStream printStream = System.out; printStream.println("id " + str); PrintStream printStream2 = System.out; - StringBuilder O = a.O("size "); - O.append(this.mConstraintSetMap.size()); - printStream2.println(O.toString()); + StringBuilder R = a.R("size "); + R.append(this.mConstraintSetMap.size()); + printStream2.println(R.toString()); } for (int i = 0; i < this.mConstraintSetMap.size(); i++) { int keyAt = this.mConstraintSetMap.keyAt(i); diff --git a/app/src/main/java/androidx/constraintlayout/motion/widget/SplineSet.java b/app/src/main/java/androidx/constraintlayout/motion/widget/SplineSet.java index 5f7f4ec4fc..09131e13c4 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/SplineSet.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/SplineSet.java @@ -454,12 +454,12 @@ public abstract class SplineSet { String str = this.mType; DecimalFormat decimalFormat = new DecimalFormat("##.##"); for (int i = 0; i < this.count; i++) { - StringBuilder S = a.S(str, "["); - S.append(this.mTimePoints[i]); - S.append(" , "); - S.append(decimalFormat.format((double) this.mValues[i])); - S.append("] "); - str = S.toString(); + StringBuilder V = a.V(str, "["); + V.append(this.mTimePoints[i]); + V.append(" , "); + V.append(decimalFormat.format((double) this.mValues[i])); + V.append("] "); + str = V.toString(); } return str; } diff --git a/app/src/main/java/androidx/constraintlayout/motion/widget/TimeCycleSplineSet.java b/app/src/main/java/androidx/constraintlayout/motion/widget/TimeCycleSplineSet.java index 8842318715..c98896ca95 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/TimeCycleSplineSet.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/TimeCycleSplineSet.java @@ -502,9 +502,9 @@ public abstract class TimeCycleSplineSet { public void setup(int i) { int i2 = this.count; if (i2 == 0) { - StringBuilder O = a.O("Error no points added to "); - O.append(this.mType); - Log.e(TAG, O.toString()); + StringBuilder R = a.R("Error no points added to "); + R.append(this.mType); + Log.e(TAG, R.toString()); return; } Sort.doubleQuickSort(this.mTimePoints, this.mValues, 0, i2 - 1); @@ -550,12 +550,12 @@ public abstract class TimeCycleSplineSet { String str = this.mType; DecimalFormat decimalFormat = new DecimalFormat("##.##"); for (int i = 0; i < this.count; i++) { - StringBuilder S = a.S(str, "["); - S.append(this.mTimePoints[i]); - S.append(" , "); - S.append(decimalFormat.format(this.mValues[i])); - S.append("] "); - str = S.toString(); + StringBuilder V = a.V(str, "["); + V.append(this.mTimePoints[i]); + V.append(" , "); + V.append(decimalFormat.format(this.mValues[i])); + V.append("] "); + str = V.toString(); } return str; } diff --git a/app/src/main/java/androidx/constraintlayout/motion/widget/TouchResponse.java b/app/src/main/java/androidx/constraintlayout/motion/widget/TouchResponse.java index 37837d0863..510fe0f45b 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/TouchResponse.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/TouchResponse.java @@ -385,9 +385,9 @@ public class TouchResponse { if (i != -1) { view = this.mMotionLayout.findViewById(i); if (view == null) { - StringBuilder O = a.O("cannot find TouchAnchorId @id/"); - O.append(Debug.getName(this.mMotionLayout.getContext(), this.mTouchAnchorId)); - Log.e(TAG, O.toString()); + StringBuilder R = a.R("cannot find TouchAnchorId @id/"); + R.append(Debug.getName(this.mMotionLayout.getContext(), this.mTouchAnchorId)); + Log.e(TAG, R.toString()); } } else { view = null; diff --git a/app/src/main/java/androidx/constraintlayout/solver/ArrayLinkedVariables.java b/app/src/main/java/androidx/constraintlayout/solver/ArrayLinkedVariables.java index 11772618bd..4928d16d9d 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/ArrayLinkedVariables.java +++ b/app/src/main/java/androidx/constraintlayout/solver/ArrayLinkedVariables.java @@ -34,7 +34,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables { if (i == -1) { this.mHead = 0; this.mArrayValues[0] = f; - this.mArrayIndices[0] = solverVariable.f24id; + this.mArrayIndices[0] = solverVariable.f23id; this.mArrayNextIndices[0] = -1; solverVariable.usageInRowCount++; solverVariable.addToRow(this.mRow); @@ -57,7 +57,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables { while (i != -1 && i3 < this.currentSize) { int[] iArr2 = this.mArrayIndices; int i5 = iArr2[i]; - int i6 = solverVariable.f24id; + int i6 = solverVariable.f23id; if (i5 == i6) { float[] fArr = this.mArrayValues; float f3 = fArr[i] + f; @@ -127,7 +127,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables { this.mArrayIndices = Arrays.copyOf(this.mArrayIndices, this.ROW_SIZE); this.mArrayNextIndices = Arrays.copyOf(this.mArrayNextIndices, this.ROW_SIZE); } - this.mArrayIndices[i7] = solverVariable.f24id; + this.mArrayIndices[i7] = solverVariable.f23id; this.mArrayValues[i7] = f; if (i4 != -1) { int[] iArr8 = this.mArrayNextIndices; @@ -178,7 +178,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables { } int i2 = 0; while (i != -1 && i2 < this.currentSize) { - if (this.mArrayIndices[i] == solverVariable.f24id) { + if (this.mArrayIndices[i] == solverVariable.f23id) { return true; } i = this.mArrayNextIndices[i]; @@ -218,7 +218,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables { int i = this.mHead; int i2 = 0; while (i != -1 && i2 < this.currentSize) { - if (this.mArrayIndices[i] == solverVariable.f24id) { + if (this.mArrayIndices[i] == solverVariable.f23id) { return this.mArrayValues[i]; } i = this.mArrayNextIndices[i]; @@ -318,7 +318,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables { } int i2 = 0; while (i != -1 && i2 < this.currentSize) { - if (this.mArrayIndices[i] == solverVariable.f24id) { + if (this.mArrayIndices[i] == solverVariable.f23id) { return i; } i = this.mArrayNextIndices[i]; @@ -349,7 +349,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables { if (i == -1) { this.mHead = 0; this.mArrayValues[0] = f; - this.mArrayIndices[0] = solverVariable.f24id; + this.mArrayIndices[0] = solverVariable.f23id; this.mArrayNextIndices[0] = -1; solverVariable.usageInRowCount++; solverVariable.addToRow(this.mRow); @@ -372,7 +372,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables { while (i != -1 && i3 < this.currentSize) { int[] iArr2 = this.mArrayIndices; int i5 = iArr2[i]; - int i6 = solverVariable.f24id; + int i6 = solverVariable.f23id; if (i5 == i6) { this.mArrayValues[i] = f; return; @@ -419,7 +419,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables { this.mArrayIndices = Arrays.copyOf(this.mArrayIndices, this.ROW_SIZE); this.mArrayNextIndices = Arrays.copyOf(this.mArrayNextIndices, this.ROW_SIZE); } - this.mArrayIndices[i7] = solverVariable.f24id; + this.mArrayIndices[i7] = solverVariable.f23id; this.mArrayValues[i7] = f; if (i4 != -1) { int[] iArr7 = this.mArrayNextIndices; @@ -458,7 +458,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables { int i2 = 0; int i3 = -1; while (i != -1 && i2 < this.currentSize) { - if (this.mArrayIndices[i] == solverVariable.f24id) { + if (this.mArrayIndices[i] == solverVariable.f23id) { if (i == this.mHead) { this.mHead = this.mArrayNextIndices[i]; } else { @@ -493,12 +493,12 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables { String str = ""; int i2 = 0; while (i != -1 && i2 < this.currentSize) { - StringBuilder O = a.O(a.u(str, " -> ")); - O.append(this.mArrayValues[i]); - O.append(" : "); - StringBuilder O2 = a.O(O.toString()); - O2.append(this.mCache.mIndexedVariables[this.mArrayIndices[i]]); - str = O2.toString(); + StringBuilder R = a.R(a.v(str, " -> ")); + R.append(this.mArrayValues[i]); + R.append(" : "); + StringBuilder R2 = a.R(R.toString()); + R2.append(this.mCache.mIndexedVariables[this.mArrayIndices[i]]); + str = R2.toString(); i = this.mArrayNextIndices[i]; i2++; } diff --git a/app/src/main/java/androidx/constraintlayout/solver/ArrayRow.java b/app/src/main/java/androidx/constraintlayout/solver/ArrayRow.java index be07c2846a..d7d788b8d3 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/ArrayRow.java +++ b/app/src/main/java/androidx/constraintlayout/solver/ArrayRow.java @@ -66,7 +66,7 @@ public class ArrayRow implements LinearSystem.Row { float variableValue = this.variables.getVariableValue(i); if (variableValue < 0.0f) { SolverVariable variable = this.variables.getVariable(i); - if ((zArr == null || !zArr[variable.f24id]) && variable != solverVariable && (((type = variable.mType) == SolverVariable.Type.SLACK || type == SolverVariable.Type.ERROR) && variableValue < f)) { + if ((zArr == null || !zArr[variable.f23id]) && variable != solverVariable && (((type = variable.mType) == SolverVariable.Type.SLACK || type == SolverVariable.Type.ERROR) && variableValue < f)) { f = variableValue; solverVariable2 = variable; } @@ -441,15 +441,15 @@ public class ArrayRow implements LinearSystem.Row { if (this.variable == null) { str = "0"; } else { - StringBuilder O = a.O(""); - O.append(this.variable); - str = O.toString(); + StringBuilder R = a.R(""); + R.append(this.variable); + str = R.toString(); } - String u = a.u(str, " = "); + String v = a.v(str, " = "); if (this.constantValue != 0.0f) { - StringBuilder O2 = a.O(u); - O2.append(this.constantValue); - u = O2.toString(); + StringBuilder R2 = a.R(v); + R2.append(this.constantValue); + v = R2.toString(); z2 = true; } else { z2 = false; @@ -461,17 +461,17 @@ public class ArrayRow implements LinearSystem.Row { String solverVariable = variable.toString(); if (!z2) { if (variableValue < 0.0f) { - u = a.u(u, "- "); + v = a.v(v, "- "); } - u = variableValue == 1.0f ? a.u(u, solverVariable) : u + variableValue + " " + solverVariable; + v = variableValue == 1.0f ? a.v(v, solverVariable) : v + variableValue + " " + solverVariable; z2 = true; } else if (i > 0) { - u = a.u(u, " + "); + v = a.v(v, " + "); if (variableValue == 1.0f) { } z2 = true; } else { - u = a.u(u, " - "); + v = a.v(v, " - "); } variableValue *= -1.0f; if (variableValue == 1.0f) { @@ -479,7 +479,7 @@ public class ArrayRow implements LinearSystem.Row { z2 = true; } } - return !z2 ? a.u(u, "0.0") : u; + return !z2 ? a.v(v, "0.0") : v; } public String toString() { diff --git a/app/src/main/java/androidx/constraintlayout/solver/LinearSystem.java b/app/src/main/java/androidx/constraintlayout/solver/LinearSystem.java index 28d53eb10c..4f34e3b22a 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/LinearSystem.java +++ b/app/src/main/java/androidx/constraintlayout/solver/LinearSystem.java @@ -206,7 +206,7 @@ public class LinearSystem { int i = this.mVariablesID + 1; this.mVariablesID = i; this.mNumColumns++; - acquireSolverVariable.f24id = i; + acquireSolverVariable.f23id = i; if (this.mVariables == null) { this.mVariables = new HashMap<>(); } @@ -219,21 +219,21 @@ public class LinearSystem { displaySolverVariables(); String str = ""; for (int i = 0; i < this.mNumRows; i++) { - StringBuilder O = a.O(str); - O.append(this.mRows[i]); - str = a.u(O.toString(), "\n"); + StringBuilder R = a.R(str); + R.append(this.mRows[i]); + str = a.v(R.toString(), "\n"); } - StringBuilder O2 = a.O(str); - O2.append(this.mGoal); - O2.append("\n"); - System.out.println(O2.toString()); + StringBuilder R2 = a.R(str); + R2.append(this.mGoal); + R2.append("\n"); + System.out.println(R2.toString()); } private void displaySolverVariables() { - StringBuilder O = a.O("Display Rows ("); - O.append(this.mNumRows); - O.append("x"); - System.out.println(a.z(O, this.mNumColumns, ")\n")); + StringBuilder R = a.R("Display Rows ("); + R.append(this.mNumRows); + R.append("x"); + System.out.println(a.A(R, this.mNumColumns, ")\n")); } private int enforceBFS(Row row) throws Exception { @@ -281,7 +281,7 @@ public class LinearSystem { while (i9 < i7) { float f3 = variable.strengthVector[i9] / f2; if ((f3 < f && i9 == i5) || i9 > i5) { - i4 = variable.f24id; + i4 = variable.f23id; i5 = i9; i3 = i6; f = f3; @@ -337,7 +337,7 @@ public class LinearSystem { int i2 = i * 4; int i3 = i2 / 1024; int i4 = i3 / 1024; - return i4 > 0 ? a.n("", i4, " Mb") : i3 > 0 ? a.n("", i3, " Kb") : a.n("", i2, " bytes"); + return i4 > 0 ? a.q("", i4, " Mb") : i3 > 0 ? a.q("", i3, " Kb") : a.q("", i2, " bytes"); } private String getDisplayStrength(int i) { @@ -387,12 +387,12 @@ public class LinearSystem { return i2; } if (row.getKey() != null) { - this.mAlreadyTestedCandidates[row.getKey().f24id] = true; + this.mAlreadyTestedCandidates[row.getKey().f23id] = true; } SolverVariable pivotCandidate = row.getPivotCandidate(this, this.mAlreadyTestedCandidates); if (pivotCandidate != null) { boolean[] zArr = this.mAlreadyTestedCandidates; - int i3 = pivotCandidate.f24id; + int i3 = pivotCandidate.f23id; if (zArr[i3]) { return i2; } @@ -594,7 +594,7 @@ public class LinearSystem { solverVariable.setFinalValue(this, f); for (int i3 = 0; i3 < this.mVariablesID + 1; i3++) { SolverVariable solverVariable2 = this.mCache.mIndexedVariables[i3]; - if (solverVariable2 != null && solverVariable2.isSynonym && solverVariable2.synonym == solverVariable.f24id) { + if (solverVariable2 != null && solverVariable2.isSynonym && solverVariable2.synonym == solverVariable.f23id) { solverVariable2.setFinalValue(this, solverVariable2.synonymDelta + f); } } @@ -715,7 +715,7 @@ public class LinearSystem { int i2 = this.mVariablesID + 1; this.mVariablesID = i2; this.mNumColumns++; - acquireSolverVariable.f24id = i2; + acquireSolverVariable.f23id = i2; acquireSolverVariable.strength = i; this.mCache.mIndexedVariables[i2] = acquireSolverVariable; this.mGoal.addError(acquireSolverVariable); @@ -734,7 +734,7 @@ public class LinearSystem { int i = this.mVariablesID + 1; this.mVariablesID = i; this.mNumColumns++; - acquireSolverVariable.f24id = i; + acquireSolverVariable.f23id = i; this.mCache.mIndexedVariables[i] = acquireSolverVariable; return acquireSolverVariable; } @@ -754,7 +754,7 @@ public class LinearSystem { constraintAnchor.resetSolverVariable(this.mCache); solverVariable = constraintAnchor.getSolverVariable(); } - int i = solverVariable.f24id; + int i = solverVariable.f23id; if (i == -1 || i > this.mVariablesID || this.mCache.mIndexedVariables[i] == null) { if (i != -1) { solverVariable.reset(); @@ -762,7 +762,7 @@ public class LinearSystem { int i2 = this.mVariablesID + 1; this.mVariablesID = i2; this.mNumColumns++; - solverVariable.f24id = i2; + solverVariable.f23id = i2; solverVariable.mType = SolverVariable.Type.UNRESTRICTED; this.mCache.mIndexedVariables[i2] = solverVariable; } @@ -805,41 +805,41 @@ public class LinearSystem { int i = this.mVariablesID + 1; this.mVariablesID = i; this.mNumColumns++; - acquireSolverVariable.f24id = i; + acquireSolverVariable.f23id = i; this.mCache.mIndexedVariables[i] = acquireSolverVariable; return acquireSolverVariable; } public void displayReadableRows() { displaySolverVariables(); - String z2 = a.z(a.O(" num vars "), this.mVariablesID, "\n"); + String A = a.A(a.R(" num vars "), this.mVariablesID, "\n"); for (int i = 0; i < this.mVariablesID + 1; i++) { SolverVariable solverVariable = this.mCache.mIndexedVariables[i]; if (solverVariable != null && solverVariable.isFinalValue) { - z2 = z2 + " $[" + i + "] => " + solverVariable + " = " + solverVariable.computedValue + "\n"; + A = A + " $[" + i + "] => " + solverVariable + " = " + solverVariable.computedValue + "\n"; } } - String u = a.u(z2, "\n"); + String v = a.v(A, "\n"); for (int i2 = 0; i2 < this.mVariablesID + 1; i2++) { SolverVariable[] solverVariableArr = this.mCache.mIndexedVariables; SolverVariable solverVariable2 = solverVariableArr[i2]; if (solverVariable2 != null && solverVariable2.isSynonym) { - u = u + " ~[" + i2 + "] => " + solverVariable2 + " = " + solverVariableArr[solverVariable2.synonym] + " + " + solverVariable2.synonymDelta + "\n"; + v = v + " ~[" + i2 + "] => " + solverVariable2 + " = " + solverVariableArr[solverVariable2.synonym] + " + " + solverVariable2.synonymDelta + "\n"; } } - String u2 = a.u(u, "\n\n # "); + String v2 = a.v(v, "\n\n # "); for (int i3 = 0; i3 < this.mNumRows; i3++) { - StringBuilder O = a.O(u2); - O.append(this.mRows[i3].toReadableString()); - u2 = a.u(O.toString(), "\n # "); + StringBuilder R = a.R(v2); + R.append(this.mRows[i3].toReadableString()); + v2 = a.v(R.toString(), "\n # "); } if (this.mGoal != null) { - StringBuilder S = a.S(u2, "Goal: "); - S.append(this.mGoal); - S.append("\n"); - u2 = S.toString(); + StringBuilder V = a.V(v2, "Goal: "); + V.append(this.mGoal); + V.append("\n"); + v2 = V.toString(); } - System.out.println(u2); + System.out.println(v2); } public void displaySystemInformations() { @@ -858,28 +858,28 @@ public class LinearSystem { } } PrintStream printStream = System.out; - StringBuilder O = a.O("Linear System -> Table size: "); - O.append(this.TABLE_SIZE); - O.append(" ("); + StringBuilder R = a.R("Linear System -> Table size: "); + R.append(this.TABLE_SIZE); + R.append(" ("); int i5 = this.TABLE_SIZE; - O.append(getDisplaySize(i5 * i5)); - O.append(") -- row sizes: "); - O.append(getDisplaySize(i)); - O.append(", actual size: "); - O.append(getDisplaySize(i3)); - O.append(" rows: "); - O.append(this.mNumRows); - O.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN); - O.append(this.mMaxRows); - O.append(" cols: "); - O.append(this.mNumColumns); - O.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN); - O.append(this.mMaxColumns); - O.append(" "); - O.append(0); - O.append(" occupied cells, "); - O.append(getDisplaySize(0)); - printStream.println(O.toString()); + R.append(getDisplaySize(i5 * i5)); + R.append(") -- row sizes: "); + R.append(getDisplaySize(i)); + R.append(", actual size: "); + R.append(getDisplaySize(i3)); + R.append(" rows: "); + R.append(this.mNumRows); + R.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN); + R.append(this.mMaxRows); + R.append(" cols: "); + R.append(this.mNumColumns); + R.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN); + R.append(this.mMaxColumns); + R.append(" "); + R.append(0); + R.append(" occupied cells, "); + R.append(getDisplaySize(0)); + printStream.println(R.toString()); } public void displayVariablesReadableRows() { @@ -887,15 +887,15 @@ public class LinearSystem { String str = ""; for (int i = 0; i < this.mNumRows; i++) { if (this.mRows[i].variable.mType == SolverVariable.Type.UNRESTRICTED) { - StringBuilder O = a.O(str); - O.append(this.mRows[i].toReadableString()); - str = a.u(O.toString(), "\n"); + StringBuilder R = a.R(str); + R.append(this.mRows[i].toReadableString()); + str = a.v(R.toString(), "\n"); } } - StringBuilder O2 = a.O(str); - O2.append(this.mGoal); - O2.append("\n"); - System.out.println(O2.toString()); + StringBuilder R2 = a.R(str); + R2.append(this.mGoal); + R2.append("\n"); + System.out.println(R2.toString()); } public void fillMetrics(Metrics metrics) { diff --git a/app/src/main/java/androidx/constraintlayout/solver/Metrics.java b/app/src/main/java/androidx/constraintlayout/solver/Metrics.java index d2d425b098..430e6dc65c 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/Metrics.java +++ b/app/src/main/java/androidx/constraintlayout/solver/Metrics.java @@ -83,23 +83,23 @@ public class Metrics { } public String toString() { - StringBuilder O = a.O("\n*** Metrics ***\nmeasures: "); - O.append(this.measures); - O.append("\nmeasuresWrap: "); - O.append(this.measuresWrap); - O.append("\nmeasuresWrapInfeasible: "); - O.append(this.measuresWrapInfeasible); - O.append("\ndetermineGroups: "); - O.append(this.determineGroups); - O.append("\ninfeasibleDetermineGroups: "); - O.append(this.infeasibleDetermineGroups); - O.append("\ngraphOptimizer: "); - O.append(this.graphOptimizer); - O.append("\nwidgets: "); - O.append(this.widgets); - O.append("\ngraphSolved: "); - O.append(this.graphSolved); - O.append("\nlinearSolved: "); - return a.A(O, this.linearSolved, "\n"); + StringBuilder R = a.R("\n*** Metrics ***\nmeasures: "); + R.append(this.measures); + R.append("\nmeasuresWrap: "); + R.append(this.measuresWrap); + R.append("\nmeasuresWrapInfeasible: "); + R.append(this.measuresWrapInfeasible); + R.append("\ndetermineGroups: "); + R.append(this.determineGroups); + R.append("\ninfeasibleDetermineGroups: "); + R.append(this.infeasibleDetermineGroups); + R.append("\ngraphOptimizer: "); + R.append(this.graphOptimizer); + R.append("\nwidgets: "); + R.append(this.widgets); + R.append("\ngraphSolved: "); + R.append(this.graphSolved); + R.append("\nlinearSolved: "); + return a.B(R, this.linearSolved, "\n"); } } diff --git a/app/src/main/java/androidx/constraintlayout/solver/PriorityGoalRow.java b/app/src/main/java/androidx/constraintlayout/solver/PriorityGoalRow.java index 3815e75c3d..e11f71d2ce 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/PriorityGoalRow.java +++ b/app/src/main/java/androidx/constraintlayout/solver/PriorityGoalRow.java @@ -21,7 +21,7 @@ public class PriorityGoalRow extends ArrayRow { } public int compare(SolverVariable solverVariable, SolverVariable solverVariable2) { - return solverVariable.f24id - solverVariable2.f24id; + return solverVariable.f23id - solverVariable2.f23id; } } @@ -77,7 +77,7 @@ public class PriorityGoalRow extends ArrayRow { @Override // java.lang.Comparable public int compareTo(Object obj) { - return this.variable.f24id - ((SolverVariable) obj).f24id; + return this.variable.f23id - ((SolverVariable) obj).f23id; } public void init(SolverVariable solverVariable) { @@ -132,15 +132,15 @@ public class PriorityGoalRow extends ArrayRow { String str = "[ "; if (this.variable != null) { for (int i = 0; i < 9; i++) { - StringBuilder O = a.O(str); - O.append(this.variable.goalStrengthVector[i]); - O.append(" "); - str = O.toString(); + StringBuilder R = a.R(str); + R.append(this.variable.goalStrengthVector[i]); + R.append(" "); + str = R.toString(); } } - StringBuilder S = a.S(str, "] "); - S.append(this.variable); - return S.toString(); + StringBuilder V = a.V(str, "] "); + V.append(this.variable); + return V.toString(); } } @@ -167,7 +167,7 @@ public class PriorityGoalRow extends ArrayRow { solverVariableArr3[i3] = solverVariable; int i4 = i3 + 1; this.numGoals = i4; - if (i4 > 1 && solverVariableArr3[i4 - 1].f24id > solverVariable.f24id) { + if (i4 > 1 && solverVariableArr3[i4 - 1].f23id > solverVariable.f23id) { int i5 = 0; while (true) { i = this.numGoals; @@ -228,7 +228,7 @@ public class PriorityGoalRow extends ArrayRow { int i = -1; for (int i2 = 0; i2 < this.numGoals; i2++) { SolverVariable solverVariable = this.arrayGoals[i2]; - if (!zArr[solverVariable.f24id]) { + if (!zArr[solverVariable.f23id]) { this.accessor.init(solverVariable); if (i == -1) { if (!this.accessor.isNegative()) { @@ -251,10 +251,10 @@ public class PriorityGoalRow extends ArrayRow { @Override // androidx.constraintlayout.solver.ArrayRow public String toString() { - StringBuilder S = a.S("", " goal -> ("); - S.append(this.constantValue); - S.append(") : "); - String sb = S.toString(); + StringBuilder V = a.V("", " goal -> ("); + V.append(this.constantValue); + V.append(") : "); + String sb = V.toString(); for (int i = 0; i < this.numGoals; i++) { this.accessor.init(this.arrayGoals[i]); sb = sb + this.accessor + " "; diff --git a/app/src/main/java/androidx/constraintlayout/solver/SolverVariable.java b/app/src/main/java/androidx/constraintlayout/solver/SolverVariable.java index 6059c44cea..522586c119 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/SolverVariable.java +++ b/app/src/main/java/androidx/constraintlayout/solver/SolverVariable.java @@ -27,7 +27,7 @@ public class SolverVariable { public float[] goalStrengthVector; /* renamed from: id reason: collision with root package name */ - public int f24id; + public int f23id; public boolean inGoal; public HashSet inRows; public boolean isFinalValue; @@ -82,7 +82,7 @@ public class SolverVariable { } public SolverVariable(Type type, String str) { - this.f24id = -1; + this.f23id = -1; this.definitionId = -1; this.strength = 0; this.isFinalValue = false; @@ -99,7 +99,7 @@ public class SolverVariable { } public SolverVariable(String str, Type type) { - this.f24id = -1; + this.f23id = -1; this.definitionId = -1; this.strength = 0; this.isFinalValue = false; @@ -118,41 +118,41 @@ public class SolverVariable { private static String getUniqueName(Type type, String str) { if (str != null) { - StringBuilder O = a.O(str); - O.append(uniqueErrorId); - return O.toString(); + StringBuilder R = a.R(str); + R.append(uniqueErrorId); + return R.toString(); } int ordinal = type.ordinal(); if (ordinal == 0) { - StringBuilder O2 = a.O("U"); + StringBuilder R2 = a.R("U"); int i = uniqueUnrestrictedId + 1; uniqueUnrestrictedId = i; - O2.append(i); - return O2.toString(); + R2.append(i); + return R2.toString(); } else if (ordinal == 1) { - StringBuilder O3 = a.O("C"); + StringBuilder R3 = a.R("C"); int i2 = uniqueConstantId + 1; uniqueConstantId = i2; - O3.append(i2); - return O3.toString(); + R3.append(i2); + return R3.toString(); } else if (ordinal == 2) { - StringBuilder O4 = a.O(ExifInterface.LATITUDE_SOUTH); + StringBuilder R4 = a.R(ExifInterface.LATITUDE_SOUTH); int i3 = uniqueSlackId + 1; uniqueSlackId = i3; - O4.append(i3); - return O4.toString(); + R4.append(i3); + return R4.toString(); } else if (ordinal == 3) { - StringBuilder O5 = a.O("e"); + StringBuilder R5 = a.R("e"); int i4 = uniqueErrorId + 1; uniqueErrorId = i4; - O5.append(i4); - return O5.toString(); + R5.append(i4); + return R5.toString(); } else if (ordinal == 4) { - StringBuilder O6 = a.O(ExifInterface.GPS_MEASUREMENT_INTERRUPTED); + StringBuilder R6 = a.R(ExifInterface.GPS_MEASUREMENT_INTERRUPTED); int i5 = uniqueId + 1; uniqueId = i5; - O6.append(i5); - return O6.toString(); + R6.append(i5); + return R6.toString(); } else { throw new AssertionError(type.name()); } @@ -216,7 +216,7 @@ public class SolverVariable { this.mName = null; this.mType = Type.UNKNOWN; this.strength = 0; - this.f24id = -1; + this.f23id = -1; this.definitionId = -1; this.computedValue = 0.0f; this.isFinalValue = false; @@ -253,7 +253,7 @@ public class SolverVariable { public void setSynonym(LinearSystem linearSystem, SolverVariable solverVariable, float f) { this.isSynonym = true; - this.synonym = solverVariable.f24id; + this.synonym = solverVariable.f23id; this.synonymDelta = f; int i = this.mClientEquationsCount; this.definitionId = -1; @@ -274,9 +274,9 @@ public class SolverVariable { boolean z2 = false; boolean z3 = true; while (i < this.strengthVector.length) { - StringBuilder O = a.O(str); - O.append(this.strengthVector[i]); - String sb = O.toString(); + StringBuilder R = a.R(str); + R.append(this.strengthVector[i]); + String sb = R.toString(); float[] fArr = this.strengthVector; if (fArr[i] > 0.0f) { z2 = false; @@ -286,24 +286,24 @@ public class SolverVariable { if (fArr[i] != 0.0f) { z3 = false; } - str = i < fArr.length + -1 ? a.u(sb, ", ") : a.u(sb, "] "); + str = i < fArr.length + -1 ? a.v(sb, ", ") : a.v(sb, "] "); i++; } if (z2) { - str = a.u(str, " (-)"); + str = a.v(str, " (-)"); } - return z3 ? a.u(str, " (*)") : str; + return z3 ? a.v(str, " (*)") : str; } public String toString() { if (this.mName != null) { - StringBuilder O = a.O(""); - O.append(this.mName); - return O.toString(); + StringBuilder R = a.R(""); + R.append(this.mName); + return R.toString(); } - StringBuilder O2 = a.O(""); - O2.append(this.f24id); - return O2.toString(); + StringBuilder R2 = a.R(""); + R2.append(this.f23id); + return R2.toString(); } public final void updateReferencesWithNewDefinition(LinearSystem linearSystem, ArrayRow arrayRow) { diff --git a/app/src/main/java/androidx/constraintlayout/solver/SolverVariableValues.java b/app/src/main/java/androidx/constraintlayout/solver/SolverVariableValues.java index 9269b6cb0c..12eceb74f2 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/SolverVariableValues.java +++ b/app/src/main/java/androidx/constraintlayout/solver/SolverVariableValues.java @@ -30,7 +30,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables { private void addToHashMap(SolverVariable solverVariable, int i) { int[] iArr; - int i2 = solverVariable.f24id % this.HASH_SIZE; + int i2 = solverVariable.f23id % this.HASH_SIZE; int[] iArr2 = this.keys; int i3 = iArr2[i2]; if (i3 == -1) { @@ -49,7 +49,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables { } private void addVariable(int i, SolverVariable solverVariable, float f) { - this.variables[i] = solverVariable.f24id; + this.variables[i] = solverVariable.f23id; this.values[i] = f; this.previous[i] = -1; this.next[i] = -1; @@ -65,9 +65,9 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables { int i2 = this.keys[i]; boolean z2 = false; while (!z2) { - StringBuilder S = a.S(str, " "); - S.append(this.variables[i2]); - str = S.toString(); + StringBuilder V = a.V(str, " "); + V.append(this.variables[i2]); + str = V.toString(); int[] iArr = this.nextKeys; if (iArr[i2] != -1) { i2 = iArr[i2]; @@ -129,7 +129,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables { private void removeFromHashMap(SolverVariable solverVariable) { int[] iArr; - int i = solverVariable.f24id; + int i = solverVariable.f23id; int i2 = i % this.HASH_SIZE; int[] iArr2 = this.keys; int i3 = iArr2[i2]; @@ -281,7 +281,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables { public int indexOf(SolverVariable solverVariable) { int[] iArr; if (!(this.mCount == 0 || solverVariable == null)) { - int i = solverVariable.f24id; + int i = solverVariable.f23id; int i2 = this.keys[i % this.HASH_SIZE]; if (i2 == -1) { return -1; @@ -341,7 +341,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables { for (int i4 = 0; i4 < i; i4++) { int[] iArr = this.variables; int i5 = iArr[i2]; - int i6 = solverVariable.f24id; + int i6 = solverVariable.f23id; if (i5 == i6) { this.values[i2] = f; return; @@ -404,26 +404,26 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables { if (variable != null) { String str4 = str3 + variable + " = " + getVariableValue(i2) + " "; int indexOf = indexOf(variable); - String u = a.u(str4, "[p: "); + String v = a.v(str4, "[p: "); if (this.previous[indexOf] != -1) { - StringBuilder O = a.O(u); - O.append(this.mCache.mIndexedVariables[this.variables[this.previous[indexOf]]]); - str = O.toString(); + StringBuilder R = a.R(v); + R.append(this.mCache.mIndexedVariables[this.variables[this.previous[indexOf]]]); + str = R.toString(); } else { - str = a.u(u, "none"); + str = a.v(v, "none"); } - String u2 = a.u(str, ", n: "); + String v2 = a.v(str, ", n: "); if (this.next[indexOf] != -1) { - StringBuilder O2 = a.O(u2); - O2.append(this.mCache.mIndexedVariables[this.variables[this.next[indexOf]]]); - str2 = O2.toString(); + StringBuilder R2 = a.R(v2); + R2.append(this.mCache.mIndexedVariables[this.variables[this.next[indexOf]]]); + str2 = R2.toString(); } else { - str2 = a.u(u2, "none"); + str2 = a.v(v2, "none"); } - str3 = a.u(str2, "]"); + str3 = a.v(str2, "]"); } } - return a.u(str3, " }"); + return a.v(str3, " }"); } @Override // androidx.constraintlayout.solver.ArrayRow.ArrayRowVariables diff --git a/app/src/main/java/androidx/constraintlayout/solver/state/ConstraintReference.java b/app/src/main/java/androidx/constraintlayout/solver/state/ConstraintReference.java index fd37ea65e5..3e1ec8a4d3 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/state/ConstraintReference.java +++ b/app/src/main/java/androidx/constraintlayout/solver/state/ConstraintReference.java @@ -131,9 +131,9 @@ public class ConstraintReference implements Reference { @Override // java.lang.Throwable, java.lang.Object public String toString() { - StringBuilder O = a.O("IncorrectConstraintException: "); - O.append(this.mErrors.toString()); - return O.toString(); + StringBuilder R = a.R("IncorrectConstraintException: "); + R.append(this.mErrors.toString()); + return R.toString(); } } diff --git a/app/src/main/java/androidx/constraintlayout/solver/state/State.java b/app/src/main/java/androidx/constraintlayout/solver/state/State.java index ccb93ca2ec..db879be847 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/state/State.java +++ b/app/src/main/java/androidx/constraintlayout/solver/state/State.java @@ -105,10 +105,10 @@ public class State { } private String createHelperKey() { - StringBuilder O = a.O("__HELPER_KEY_"); + StringBuilder R = a.R("__HELPER_KEY_"); int i = this.numHelpers; this.numHelpers = i + 1; - return a.z(O, i, "__"); + return a.A(R, i, "__"); } public void apply(ConstraintWidgetContainer constraintWidgetContainer) { diff --git a/app/src/main/java/androidx/constraintlayout/solver/widgets/Barrier.java b/app/src/main/java/androidx/constraintlayout/solver/widgets/Barrier.java index 4a5edb9f6b..f88d523675 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/widgets/Barrier.java +++ b/app/src/main/java/androidx/constraintlayout/solver/widgets/Barrier.java @@ -252,19 +252,19 @@ public class Barrier extends HelperWidget { @Override // androidx.constraintlayout.solver.widgets.ConstraintWidget public String toString() { - StringBuilder O = a.O("[Barrier] "); - O.append(getDebugName()); - O.append(" {"); - String sb = O.toString(); + StringBuilder R = a.R("[Barrier] "); + R.append(getDebugName()); + R.append(" {"); + String sb = R.toString(); for (int i = 0; i < this.mWidgetsCount; i++) { ConstraintWidget constraintWidget = this.mWidgets[i]; if (i > 0) { - sb = a.u(sb, ", "); + sb = a.v(sb, ", "); } - StringBuilder O2 = a.O(sb); - O2.append(constraintWidget.getDebugName()); - sb = O2.toString(); + StringBuilder R2 = a.R(sb); + R2.append(constraintWidget.getDebugName()); + sb = R2.toString(); } - return a.u(sb, "}"); + return a.v(sb, "}"); } } diff --git a/app/src/main/java/androidx/constraintlayout/solver/widgets/ConstraintWidget.java b/app/src/main/java/androidx/constraintlayout/solver/widgets/ConstraintWidget.java index dfccbe52d5..2d2d083977 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/widgets/ConstraintWidget.java +++ b/app/src/main/java/androidx/constraintlayout/solver/widgets/ConstraintWidget.java @@ -3058,9 +3058,9 @@ public class ConstraintWidget { public String toString() { StringBuilder sb = new StringBuilder(); String str = ""; - sb.append(this.mType != null ? a.G(a.O("type: "), this.mType, " ") : str); + sb.append(this.mType != null ? a.H(a.R("type: "), this.mType, " ") : str); if (this.mDebugName != null) { - str = a.G(a.O("id: "), this.mDebugName, " "); + str = a.H(a.R("id: "), this.mDebugName, " "); } sb.append(str); sb.append("("); @@ -3070,7 +3070,7 @@ public class ConstraintWidget { sb.append(") - ("); sb.append(this.mWidth); sb.append(" x "); - return a.z(sb, this.mHeight, ")"); + return a.A(sb, this.mHeight, ")"); } public void updateFromRuns(boolean z2, boolean z3) { diff --git a/app/src/main/java/androidx/constraintlayout/solver/widgets/Rectangle.java b/app/src/main/java/androidx/constraintlayout/solver/widgets/Rectangle.java index 7be83a98bf..53e890c842 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/widgets/Rectangle.java +++ b/app/src/main/java/androidx/constraintlayout/solver/widgets/Rectangle.java @@ -4,28 +4,28 @@ public class Rectangle { public int width; /* renamed from: x reason: collision with root package name */ - public int f25x; + public int f24x; /* renamed from: y reason: collision with root package name */ - public int f26y; + public int f25y; public boolean contains(int i, int i2) { int i3; - int i4 = this.f25x; - return i >= i4 && i < i4 + this.width && i2 >= (i3 = this.f26y) && i2 < i3 + this.height; + int i4 = this.f24x; + return i >= i4 && i < i4 + this.width && i2 >= (i3 = this.f25y) && i2 < i3 + this.height; } public int getCenterX() { - return (this.f25x + this.width) / 2; + return (this.f24x + this.width) / 2; } public int getCenterY() { - return (this.f26y + this.height) / 2; + return (this.f25y + this.height) / 2; } public void grow(int i, int i2) { - this.f25x -= i; - this.f26y -= i2; + this.f24x -= i; + this.f25y -= i2; this.width = (i * 2) + this.width; this.height = (i2 * 2) + this.height; } @@ -33,14 +33,14 @@ public class Rectangle { public boolean intersects(Rectangle rectangle) { int i; int i2; - int i3 = this.f25x; - int i4 = rectangle.f25x; - return i3 >= i4 && i3 < i4 + rectangle.width && (i = this.f26y) >= (i2 = rectangle.f26y) && i < i2 + rectangle.height; + int i3 = this.f24x; + int i4 = rectangle.f24x; + return i3 >= i4 && i3 < i4 + rectangle.width && (i = this.f25y) >= (i2 = rectangle.f25y) && i < i2 + rectangle.height; } public void setBounds(int i, int i2, int i3, int i4) { - this.f25x = i; - this.f26y = i2; + this.f24x = i; + this.f25y = i2; this.width = i3; this.height = i4; } diff --git a/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/ChainRun.java b/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/ChainRun.java index 8e9de52acb..cdd6b00dc8 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/ChainRun.java +++ b/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/ChainRun.java @@ -173,13 +173,13 @@ public class ChainRun extends WidgetRun { } public String toString() { - StringBuilder O = a.O("ChainRun "); - O.append(this.orientation == 0 ? "horizontal : " : "vertical : "); - String sb = O.toString(); + StringBuilder R = a.R("ChainRun "); + R.append(this.orientation == 0 ? "horizontal : " : "vertical : "); + String sb = R.toString(); Iterator it = this.widgets.iterator(); while (it.hasNext()) { - String u = a.u(sb, "<"); - sb = a.u(u + it.next(), "> "); + String v = a.v(sb, "<"); + sb = a.v(v + it.next(), "> "); } return sb; } diff --git a/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/DependencyGraph.java b/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/DependencyGraph.java index 5c827add21..2f7dfca117 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/DependencyGraph.java +++ b/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/DependencyGraph.java @@ -267,9 +267,9 @@ public class DependencyGraph { while (it.hasNext()) { str = generateDisplayGraph(it.next(), str); } - String u = a.u(str, "\n}\n"); + String v = a.v(str, "\n}\n"); PrintStream printStream = System.out; - printStream.println("content:<<\n" + u + "\n>>"); + printStream.println("content:<<\n" + v + "\n>>"); } private void findGroup(WidgetRun widgetRun, int i, ArrayList arrayList) { @@ -298,19 +298,19 @@ public class DependencyGraph { private String generateChainDisplayGraph(ChainRun chainRun, String str) { int i = chainRun.orientation; - StringBuilder O = a.O("cluster_"); - O.append(chainRun.widget.getDebugName()); - String sb = O.toString(); - String v = a.v("subgraph ", i == 0 ? a.u(sb, "_h") : a.u(sb, "_v"), " {\n"); + StringBuilder R = a.R("cluster_"); + R.append(chainRun.widget.getDebugName()); + String sb = R.toString(); + String w = a.w("subgraph ", i == 0 ? a.v(sb, "_h") : a.v(sb, "_v"), " {\n"); Iterator it = chainRun.widgets.iterator(); String str2 = ""; while (it.hasNext()) { WidgetRun next = it.next(); String debugName = next.widget.getDebugName(); - v = a.v(v, i == 0 ? a.u(debugName, "_HORIZONTAL") : a.u(debugName, "_VERTICAL"), ";\n"); + w = a.w(w, i == 0 ? a.v(debugName, "_HORIZONTAL") : a.v(debugName, "_VERTICAL"), ";\n"); str2 = generateDisplayGraph(next, str2); } - return a.v(str, str2, a.u(v, "}\n")); + return a.w(str, str2, a.v(w, "}\n")); } private String generateDisplayGraph(WidgetRun widgetRun, String str) { @@ -320,9 +320,9 @@ public class DependencyGraph { if (!(widgetRun instanceof HelperReferences) && dependencyNode.dependencies.isEmpty() && (dependencyNode2.dependencies.isEmpty() && dependencyNode.targets.isEmpty()) && dependencyNode2.targets.isEmpty()) { return str; } - StringBuilder O = a.O(str); - O.append(nodeDefinition(widgetRun)); - String sb = O.toString(); + StringBuilder R = a.R(str); + R.append(nodeDefinition(widgetRun)); + String sb = R.toString(); boolean isCenteredConnection = isCenteredConnection(dependencyNode, dependencyNode2); String generateDisplayNode = generateDisplayNode(dependencyNode2, isCenteredConnection, generateDisplayNode(dependencyNode, isCenteredConnection, sb)); boolean z3 = widgetRun instanceof VerticalWidgetRun; @@ -333,19 +333,19 @@ public class DependencyGraph { ConstraintWidget.DimensionBehaviour horizontalDimensionBehaviour = widgetRun.widget.getHorizontalDimensionBehaviour(); if (horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.FIXED || horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.WRAP_CONTENT) { if (!dependencyNode.targets.isEmpty() && dependencyNode2.targets.isEmpty()) { - StringBuilder O2 = a.O("\n"); - O2.append(dependencyNode2.name()); - O2.append(" -> "); - O2.append(dependencyNode.name()); - O2.append("\n"); - generateDisplayNode = a.u(generateDisplayNode, O2.toString()); + StringBuilder R2 = a.R("\n"); + R2.append(dependencyNode2.name()); + R2.append(" -> "); + R2.append(dependencyNode.name()); + R2.append("\n"); + generateDisplayNode = a.v(generateDisplayNode, R2.toString()); } else if (dependencyNode.targets.isEmpty() && !dependencyNode2.targets.isEmpty()) { - StringBuilder O3 = a.O("\n"); - O3.append(dependencyNode.name()); - O3.append(" -> "); - O3.append(dependencyNode2.name()); - O3.append("\n"); - generateDisplayNode = a.u(generateDisplayNode, O3.toString()); + StringBuilder R3 = a.R("\n"); + R3.append(dependencyNode.name()); + R3.append(" -> "); + R3.append(dependencyNode2.name()); + R3.append("\n"); + generateDisplayNode = a.v(generateDisplayNode, R3.toString()); } } else if (horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.MATCH_CONSTRAINT && widgetRun.widget.getDimensionRatio() > 0.0f) { widgetRun.widget.getDebugName(); @@ -354,19 +354,19 @@ public class DependencyGraph { ConstraintWidget.DimensionBehaviour verticalDimensionBehaviour = widgetRun.widget.getVerticalDimensionBehaviour(); if (verticalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.FIXED || verticalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.WRAP_CONTENT) { if (!dependencyNode.targets.isEmpty() && dependencyNode2.targets.isEmpty()) { - StringBuilder O4 = a.O("\n"); - O4.append(dependencyNode2.name()); - O4.append(" -> "); - O4.append(dependencyNode.name()); - O4.append("\n"); - generateDisplayNode = a.u(generateDisplayNode, O4.toString()); + StringBuilder R4 = a.R("\n"); + R4.append(dependencyNode2.name()); + R4.append(" -> "); + R4.append(dependencyNode.name()); + R4.append("\n"); + generateDisplayNode = a.v(generateDisplayNode, R4.toString()); } else if (dependencyNode.targets.isEmpty() && !dependencyNode2.targets.isEmpty()) { - StringBuilder O5 = a.O("\n"); - O5.append(dependencyNode.name()); - O5.append(" -> "); - O5.append(dependencyNode2.name()); - O5.append("\n"); - generateDisplayNode = a.u(generateDisplayNode, O5.toString()); + StringBuilder R5 = a.R("\n"); + R5.append(dependencyNode.name()); + R5.append(" -> "); + R5.append(dependencyNode2.name()); + R5.append("\n"); + generateDisplayNode = a.v(generateDisplayNode, R5.toString()); } } else if (verticalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.MATCH_CONSTRAINT && widgetRun.widget.getDimensionRatio() > 0.0f) { widgetRun.widget.getDebugName(); @@ -377,28 +377,28 @@ public class DependencyGraph { private String generateDisplayNode(DependencyNode dependencyNode, boolean z2, String str) { for (DependencyNode dependencyNode2 : dependencyNode.targets) { - StringBuilder O = a.O("\n"); - O.append(dependencyNode.name()); - StringBuilder S = a.S(O.toString(), " -> "); - S.append(dependencyNode2.name()); - String sb = S.toString(); + StringBuilder R = a.R("\n"); + R.append(dependencyNode.name()); + StringBuilder V = a.V(R.toString(), " -> "); + V.append(dependencyNode2.name()); + String sb = V.toString(); if (dependencyNode.margin > 0 || z2 || (dependencyNode.run instanceof HelperReferences)) { - String u = a.u(sb, "["); + String v = a.v(sb, "["); if (dependencyNode.margin > 0) { - u = a.z(a.S(u, "label=\""), dependencyNode.margin, "\""); + v = a.A(a.V(v, "label=\""), dependencyNode.margin, "\""); if (z2) { - u = a.u(u, ","); + v = a.v(v, ","); } } if (z2) { - u = a.u(u, " style=dashed "); + v = a.v(v, " style=dashed "); } if (dependencyNode.run instanceof HelperReferences) { - u = a.u(u, " style=bold,color=gray "); + v = a.v(v, " style=bold,color=gray "); } - sb = a.u(u, "]"); + sb = a.v(v, "]"); } - str = a.u(str, a.u(sb, "\n")); + str = a.v(str, a.v(sb, "\n")); } return str; } @@ -441,59 +441,59 @@ public class DependencyGraph { ConstraintWidget constraintWidget = widgetRun.widget; ConstraintWidget.DimensionBehaviour horizontalDimensionBehaviour = !z2 ? constraintWidget.getHorizontalDimensionBehaviour() : constraintWidget.getVerticalDimensionBehaviour(); RunGroup runGroup = widgetRun.runGroup; - String u = a.u(a.u(a.u(!z2 ? a.u(debugName, "_HORIZONTAL") : a.u(debugName, "_VERTICAL"), " [shape=none, label=<"), ""), " "); + String v = a.v(a.v(a.v(!z2 ? a.v(debugName, "_HORIZONTAL") : a.v(debugName, "_VERTICAL"), " [shape=none, label=<"), "
"), " "); if (!z2) { - String u2 = a.u(u, " "); + str = a.v(v2, " PORT=\"LEFT\" BORDER=\"1\">L"); } else { - String u3 = a.u(u, " "); + str = a.v(v3, " PORT=\"TOP\" BORDER=\"1\">T"); } - String u4 = a.u(str, " "; + String str4 = v4 + ">" + debugName + str2 + " "; if (!z2) { - String u5 = a.u(str4, " "); + str3 = a.v(v5, " PORT=\"RIGHT\" BORDER=\"1\">R"); } else { - String u6 = a.u(str4, " "), " "), " "); + str3 = a.v(v7, " PORT=\"BOTTOM\" BORDER=\"1\">B"); } - return a.u(a.u(str3, "
LT" + debugName + str2 + " RbbB
"), ">];\n"); + return a.v(a.v(str3, " "), ">];\n"); } public void buildGraph() { diff --git a/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/DependencyNode.java b/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/DependencyNode.java index e2c01b2268..d40a85475e 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/DependencyNode.java +++ b/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/DependencyNode.java @@ -51,9 +51,9 @@ public class DependencyNode implements Dependency { public String name() { String debugName = this.run.widget.getDebugName(); Type type = this.type; - StringBuilder S = a.S((type == Type.LEFT || type == Type.RIGHT) ? a.u(debugName, "_HORIZONTAL") : a.u(debugName, "_VERTICAL"), ":"); - S.append(this.type.name()); - return S.toString(); + StringBuilder V = a.V((type == Type.LEFT || type == Type.RIGHT) ? a.v(debugName, "_HORIZONTAL") : a.v(debugName, "_VERTICAL"), ":"); + V.append(this.type.name()); + return V.toString(); } public void resolve(int i) { diff --git a/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/Grouping.java b/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/Grouping.java index df764120f4..d7510373f6 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/Grouping.java +++ b/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/Grouping.java @@ -19,7 +19,7 @@ public class Grouping { int findGroupInDependents; int i2 = i == 0 ? constraintWidget.horizontalGroup : constraintWidget.verticalGroup; int i3 = 0; - if (i2 != -1 && (widgetGroup == null || i2 != widgetGroup.f27id)) { + if (i2 != -1 && (widgetGroup == null || i2 != widgetGroup.f26id)) { int i4 = 0; while (true) { if (i4 >= arrayList.size()) { @@ -87,7 +87,7 @@ public class Grouping { int size = arrayList.size(); for (int i2 = 0; i2 < size; i2++) { WidgetGroup widgetGroup = arrayList.get(i2); - if (i == widgetGroup.f27id) { + if (i == widgetGroup.f26id) { return widgetGroup; } } diff --git a/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun.java b/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun.java index ae4c337bbb..e38459c9c4 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun.java +++ b/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/HorizontalWidgetRun.java @@ -257,9 +257,9 @@ public class HorizontalWidgetRun extends WidgetRun { } public String toString() { - StringBuilder O = a.O("HorizontalRun "); - O.append(this.widget.getDebugName()); - return O.toString(); + StringBuilder R = a.R("HorizontalRun "); + R.append(this.widget.getDebugName()); + return R.toString(); } /* JADX WARNING: Code restructure failed: missing block: B:103:0x02ba, code lost: diff --git a/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun.java b/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun.java index 78afa77b79..760121c8de 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun.java +++ b/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/VerticalWidgetRun.java @@ -283,9 +283,9 @@ public class VerticalWidgetRun extends WidgetRun { } public String toString() { - StringBuilder O = a.O("VerticalRun "); - O.append(this.widget.getDebugName()); - return O.toString(); + StringBuilder R = a.R("VerticalRun "); + R.append(this.widget.getDebugName()); + return R.toString(); } @Override // androidx.constraintlayout.solver.widgets.analyzer.WidgetRun, androidx.constraintlayout.solver.widgets.analyzer.Dependency diff --git a/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/WidgetGroup.java b/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/WidgetGroup.java index 6fa869228a..455b8f1738 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/WidgetGroup.java +++ b/app/src/main/java/androidx/constraintlayout/solver/widgets/analyzer/WidgetGroup.java @@ -14,7 +14,7 @@ public class WidgetGroup { public boolean authoritative = false; /* renamed from: id reason: collision with root package name */ - public int f27id = -1; + public int f26id = -1; private int moveTo = -1; public int orientation = 0; public ArrayList results = null; @@ -50,7 +50,7 @@ public class WidgetGroup { public WidgetGroup(int i) { int i2 = count; count = i2 + 1; - this.f27id = i2; + this.f26id = i2; this.orientation = i; } @@ -128,7 +128,7 @@ public class WidgetGroup { if (this.moveTo != -1 && size > 0) { for (int i = 0; i < arrayList.size(); i++) { WidgetGroup widgetGroup = arrayList.get(i); - if (this.moveTo == widgetGroup.f27id) { + if (this.moveTo == widgetGroup.f26id) { moveTo(this.orientation, widgetGroup); } } @@ -143,7 +143,7 @@ public class WidgetGroup { } public int getId() { - return this.f27id; + return this.f26id; } public int getOrientation() { @@ -181,7 +181,7 @@ public class WidgetGroup { next.verticalGroup = widgetGroup.getId(); } } - this.moveTo = widgetGroup.f27id; + this.moveTo = widgetGroup.f26id; } public void setAuthoritative(boolean z2) { @@ -200,13 +200,13 @@ public class WidgetGroup { StringBuilder sb = new StringBuilder(); sb.append(getOrientationString()); sb.append(" ["); - String z2 = a.z(sb, this.f27id, "] <"); + String A = a.A(sb, this.f26id, "] <"); Iterator it = this.widgets.iterator(); while (it.hasNext()) { - StringBuilder S = a.S(z2, " "); - S.append(it.next().getDebugName()); - z2 = S.toString(); + StringBuilder V = a.V(A, " "); + V.append(it.next().getDebugName()); + A = V.toString(); } - return a.u(z2, " >"); + return a.v(A, " >"); } } diff --git a/app/src/main/java/androidx/constraintlayout/widget/ConstraintAttribute.java b/app/src/main/java/androidx/constraintlayout/widget/ConstraintAttribute.java index 7a7ddea623..68cf131b91 100644 --- a/app/src/main/java/androidx/constraintlayout/widget/ConstraintAttribute.java +++ b/app/src/main/java/androidx/constraintlayout/widget/ConstraintAttribute.java @@ -174,32 +174,32 @@ public class ConstraintAttribute { Class cls = view.getClass(); for (String str : hashMap.keySet()) { ConstraintAttribute constraintAttribute = hashMap.get(str); - String u = a.u("set", str); + String v = a.v("set", str); try { switch (constraintAttribute.mType.ordinal()) { case 0: - cls.getMethod(u, Integer.TYPE).invoke(view, Integer.valueOf(constraintAttribute.mIntegerValue)); + cls.getMethod(v, Integer.TYPE).invoke(view, Integer.valueOf(constraintAttribute.mIntegerValue)); continue; case 1: - cls.getMethod(u, Float.TYPE).invoke(view, Float.valueOf(constraintAttribute.mFloatValue)); + cls.getMethod(v, Float.TYPE).invoke(view, Float.valueOf(constraintAttribute.mFloatValue)); continue; case 2: - cls.getMethod(u, Integer.TYPE).invoke(view, Integer.valueOf(constraintAttribute.mColorValue)); + cls.getMethod(v, Integer.TYPE).invoke(view, Integer.valueOf(constraintAttribute.mColorValue)); continue; case 3: - Method method = cls.getMethod(u, Drawable.class); + Method method = cls.getMethod(v, Drawable.class); ColorDrawable colorDrawable = new ColorDrawable(); colorDrawable.setColor(constraintAttribute.mColorValue); method.invoke(view, colorDrawable); continue; case 4: - cls.getMethod(u, CharSequence.class).invoke(view, constraintAttribute.mStringValue); + cls.getMethod(v, CharSequence.class).invoke(view, constraintAttribute.mStringValue); continue; case 5: - cls.getMethod(u, Boolean.TYPE).invoke(view, Boolean.valueOf(constraintAttribute.mBooleanValue)); + cls.getMethod(v, Boolean.TYPE).invoke(view, Boolean.valueOf(constraintAttribute.mBooleanValue)); continue; case 6: - cls.getMethod(u, Float.TYPE).invoke(view, Float.valueOf(constraintAttribute.mFloatValue)); + cls.getMethod(v, Float.TYPE).invoke(view, Float.valueOf(constraintAttribute.mFloatValue)); continue; default: continue; @@ -210,17 +210,17 @@ public class ConstraintAttribute { StringBuilder sb = new StringBuilder(); sb.append(cls.getName()); sb.append(" must have a method "); - sb.append(u); + sb.append(v); Log.e(TAG, sb.toString()); } catch (IllegalAccessException e2) { - StringBuilder U = a.U(" Custom Attribute \"", str, "\" not found on "); - U.append(cls.getName()); - Log.e(TAG, U.toString()); + StringBuilder W = a.W(" Custom Attribute \"", str, "\" not found on "); + W.append(cls.getName()); + Log.e(TAG, W.toString()); e2.printStackTrace(); } catch (InvocationTargetException e3) { - StringBuilder U2 = a.U(" Custom Attribute \"", str, "\" not found on "); - U2.append(cls.getName()); - Log.e(TAG, U2.toString()); + StringBuilder W2 = a.W(" Custom Attribute \"", str, "\" not found on "); + W2.append(cls.getName()); + Log.e(TAG, W2.toString()); e3.printStackTrace(); } } @@ -329,9 +329,9 @@ public class ConstraintAttribute { */ public void setInterpolatedValue(View view, float[] fArr) { Class cls = view.getClass(); - StringBuilder O = a.O("set"); - O.append(this.mName); - String sb = O.toString(); + StringBuilder R = a.R("set"); + R.append(this.mName); + String sb = R.toString(); try { boolean z2 = true; switch (this.mType.ordinal()) { @@ -370,16 +370,16 @@ public class ConstraintAttribute { return; } } catch (NoSuchMethodException e) { - StringBuilder U = a.U("no method ", sb, "on View \""); - U.append(Debug.getName(view)); - U.append("\""); - Log.e(TAG, U.toString()); + StringBuilder W = a.W("no method ", sb, "on View \""); + W.append(Debug.getName(view)); + W.append("\""); + Log.e(TAG, W.toString()); e.printStackTrace(); } catch (IllegalAccessException e2) { - StringBuilder U2 = a.U("cannot access method ", sb, "on View \""); - U2.append(Debug.getName(view)); - U2.append("\""); - Log.e(TAG, U2.toString()); + StringBuilder W2 = a.W("cannot access method ", sb, "on View \""); + W2.append(Debug.getName(view)); + W2.append("\""); + Log.e(TAG, W2.toString()); e2.printStackTrace(); } catch (InvocationTargetException e3) { e3.printStackTrace(); diff --git a/app/src/main/java/androidx/constraintlayout/widget/ConstraintHelper.java b/app/src/main/java/androidx/constraintlayout/widget/ConstraintHelper.java index f39190fcf9..e235b91cf9 100644 --- a/app/src/main/java/androidx/constraintlayout/widget/ConstraintHelper.java +++ b/app/src/main/java/androidx/constraintlayout/widget/ConstraintHelper.java @@ -109,10 +109,10 @@ public abstract class ConstraintHelper extends View { ViewGroup.LayoutParams layoutParams = childAt.getLayoutParams(); if ((layoutParams instanceof ConstraintLayout.LayoutParams) && trim.equals(((ConstraintLayout.LayoutParams) layoutParams).constraintTag)) { if (childAt.getId() == -1) { - StringBuilder O = a.O("to use ConstraintTag view "); - O.append(childAt.getClass().getSimpleName()); - O.append(" must have an ID"); - Log.w("ConstraintHelper", O.toString()); + StringBuilder R = a.R("to use ConstraintTag view "); + R.append(childAt.getClass().getSimpleName()); + R.append(" must have an ID"); + Log.w("ConstraintHelper", R.toString()); } else { addRscID(childAt.getId()); } diff --git a/app/src/main/java/androidx/constraintlayout/widget/ConstraintProperties.java b/app/src/main/java/androidx/constraintlayout/widget/ConstraintProperties.java index 82b2210ff5..ef1b1007b2 100644 --- a/app/src/main/java/androidx/constraintlayout/widget/ConstraintProperties.java +++ b/app/src/main/java/androidx/constraintlayout/widget/ConstraintProperties.java @@ -181,7 +181,7 @@ public class ConstraintProperties { layoutParams2.leftToRight = i2; layoutParams2.leftToLeft = -1; } else { - throw new IllegalArgumentException(a.G(a.O("Left to "), sideToString(i3), " undefined")); + throw new IllegalArgumentException(a.H(a.R("Left to "), sideToString(i3), " undefined")); } ((ViewGroup.MarginLayoutParams) this.mParams).leftMargin = i4; break; @@ -195,7 +195,7 @@ public class ConstraintProperties { layoutParams4.rightToRight = i2; layoutParams4.rightToLeft = -1; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i3), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i3), " undefined")); } ((ViewGroup.MarginLayoutParams) this.mParams).rightMargin = i4; break; @@ -211,7 +211,7 @@ public class ConstraintProperties { layoutParams6.topToTop = -1; layoutParams6.baselineToBaseline = -1; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i3), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i3), " undefined")); } ((ViewGroup.MarginLayoutParams) this.mParams).topMargin = i4; break; @@ -227,7 +227,7 @@ public class ConstraintProperties { layoutParams8.bottomToBottom = -1; layoutParams8.baselineToBaseline = -1; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i3), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i3), " undefined")); } ((ViewGroup.MarginLayoutParams) this.mParams).bottomMargin = i4; break; @@ -241,7 +241,7 @@ public class ConstraintProperties { layoutParams9.topToBottom = -1; break; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i3), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i3), " undefined")); } case 6: if (i3 == 6) { @@ -253,7 +253,7 @@ public class ConstraintProperties { layoutParams11.startToEnd = i2; layoutParams11.startToStart = -1; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i3), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i3), " undefined")); } this.mParams.setMarginStart(i4); break; @@ -267,7 +267,7 @@ public class ConstraintProperties { layoutParams13.endToStart = i2; layoutParams13.endToEnd = -1; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i3), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i3), " undefined")); } this.mParams.setMarginEnd(i4); break; @@ -275,7 +275,7 @@ public class ConstraintProperties { StringBuilder sb = new StringBuilder(); sb.append(sideToString(i)); sb.append(" to "); - throw new IllegalArgumentException(a.G(sb, sideToString(i3), " unknown")); + throw new IllegalArgumentException(a.H(sb, sideToString(i3), " unknown")); } return this; } diff --git a/app/src/main/java/androidx/constraintlayout/widget/ConstraintSet.java b/app/src/main/java/androidx/constraintlayout/widget/ConstraintSet.java index 74d9a8db5c..fb0d0bd439 100644 --- a/app/src/main/java/androidx/constraintlayout/widget/ConstraintSet.java +++ b/app/src/main/java/androidx/constraintlayout/widget/ConstraintSet.java @@ -287,9 +287,9 @@ public class ConstraintSet { if (constraintAttribute.getType() == attributeType) { return constraintAttribute; } - StringBuilder O = a.O("ConstraintAttribute is already a "); - O.append(constraintAttribute.getType().name()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("ConstraintAttribute is already a "); + R.append(constraintAttribute.getType().name()); + throw new IllegalArgumentException(R.toString()); } ConstraintAttribute constraintAttribute2 = new ConstraintAttribute(str, attributeType); this.mCustomConstraints.put(str, constraintAttribute2); @@ -857,21 +857,21 @@ public class ConstraintSet { this.mBarrierAllowsGoneWidgets = obtainStyledAttributes.getBoolean(index, this.mBarrierAllowsGoneWidgets); continue; case 76: - StringBuilder O = a.O("unused attribute 0x"); - O.append(Integer.toHexString(index)); - O.append(" "); - O.append(mapToConstant.get(index)); - Log.w(ConstraintSet.TAG, O.toString()); + StringBuilder R = a.R("unused attribute 0x"); + R.append(Integer.toHexString(index)); + R.append(" "); + R.append(mapToConstant.get(index)); + Log.w(ConstraintSet.TAG, R.toString()); continue; case 77: this.mConstraintTag = obtainStyledAttributes.getString(index); continue; default: - StringBuilder O2 = a.O("Unknown attribute 0x"); - O2.append(Integer.toHexString(index)); - O2.append(" "); - O2.append(mapToConstant.get(index)); - Log.w(ConstraintSet.TAG, O2.toString()); + StringBuilder R2 = a.R("Unknown attribute 0x"); + R2.append(Integer.toHexString(index)); + R2.append(" "); + R2.append(mapToConstant.get(index)); + Log.w(ConstraintSet.TAG, R2.toString()); continue; continue; continue; @@ -1207,9 +1207,9 @@ public class ConstraintSet { if (this.mSavedAttributes.containsKey(strArr[i])) { ConstraintAttribute constraintAttribute = this.mSavedAttributes.get(strArr[i]); if (constraintAttribute.getType() != attributeType) { - StringBuilder O = a.O("ConstraintAttribute is already a "); - O.append(constraintAttribute.getType().name()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("ConstraintAttribute is already a "); + R.append(constraintAttribute.getType().name()); + throw new IllegalArgumentException(R.toString()); } } else { this.mSavedAttributes.put(strArr[i], new ConstraintAttribute(strArr[i], attributeType)); @@ -1624,18 +1624,18 @@ public class ConstraintSet { layout53.constrainedHeight = typedArray.getBoolean(index, layout53.constrainedHeight); break; case 82: - StringBuilder O = a.O("unused attribute 0x"); - O.append(Integer.toHexString(index)); - O.append(" "); - O.append(mapToConstant.get(index)); - Log.w(TAG, O.toString()); + StringBuilder R = a.R("unused attribute 0x"); + R.append(Integer.toHexString(index)); + R.append(" "); + R.append(mapToConstant.get(index)); + Log.w(TAG, R.toString()); break; default: - StringBuilder O2 = a.O("Unknown attribute 0x"); - O2.append(Integer.toHexString(index)); - O2.append(" "); - O2.append(mapToConstant.get(index)); - Log.w(TAG, O2.toString()); + StringBuilder R2 = a.R("Unknown attribute 0x"); + R2.append(Integer.toHexString(index)); + R2.append(" "); + R2.append(mapToConstant.get(index)); + Log.w(TAG, R2.toString()); break; } } @@ -1734,9 +1734,9 @@ public class ConstraintSet { View childAt = constraintLayout.getChildAt(i); int id2 = childAt.getId(); if (!this.mConstraints.containsKey(Integer.valueOf(id2))) { - StringBuilder O = a.O("id unknown "); - O.append(Debug.getName(childAt)); - Log.v(TAG, O.toString()); + StringBuilder R = a.R("id unknown "); + R.append(Debug.getName(childAt)); + Log.v(TAG, R.toString()); } else if (this.mForceId && id2 == -1) { throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet"); } else if (this.mConstraints.containsKey(Integer.valueOf(id2))) { @@ -1768,9 +1768,9 @@ public class ConstraintSet { View childAt = constraintLayout.getChildAt(i); int id2 = childAt.getId(); if (!this.mConstraints.containsKey(Integer.valueOf(id2))) { - StringBuilder O = a.O("id unknown "); - O.append(Debug.getName(childAt)); - Log.w(TAG, O.toString()); + StringBuilder R = a.R("id unknown "); + R.append(Debug.getName(childAt)); + Log.w(TAG, R.toString()); } else if (this.mForceId && id2 == -1) { throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet"); } else if (id2 != -1) { @@ -2103,7 +2103,7 @@ public class ConstraintSet { layout2.leftToLeft = -1; return; } else { - throw new IllegalArgumentException(a.G(a.O("left to "), sideToString(i4), " undefined")); + throw new IllegalArgumentException(a.H(a.R("left to "), sideToString(i4), " undefined")); } case 2: if (i4 == 1) { @@ -2117,7 +2117,7 @@ public class ConstraintSet { layout4.rightToLeft = -1; return; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined")); } case 3: if (i4 == 3) { @@ -2133,7 +2133,7 @@ public class ConstraintSet { layout6.baselineToBaseline = -1; return; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined")); } case 4: if (i4 == 4) { @@ -2149,7 +2149,7 @@ public class ConstraintSet { layout8.baselineToBaseline = -1; return; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined")); } case 5: if (i4 == 5) { @@ -2161,7 +2161,7 @@ public class ConstraintSet { layout9.topToBottom = -1; return; } - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined")); case 6: if (i4 == 6) { Layout layout10 = constraint.layout; @@ -2174,7 +2174,7 @@ public class ConstraintSet { layout11.startToStart = -1; return; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined")); } case 7: if (i4 == 7) { @@ -2188,13 +2188,13 @@ public class ConstraintSet { layout13.endToEnd = -1; return; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined")); } default: StringBuilder sb = new StringBuilder(); sb.append(sideToString(i2)); sb.append(" to "); - throw new IllegalArgumentException(a.G(sb, sideToString(i4), " unknown")); + throw new IllegalArgumentException(a.H(sb, sideToString(i4), " unknown")); } } @@ -2214,7 +2214,7 @@ public class ConstraintSet { layout2.leftToRight = i3; layout2.leftToLeft = -1; } else { - throw new IllegalArgumentException(a.G(a.O("Left to "), sideToString(i4), " undefined")); + throw new IllegalArgumentException(a.H(a.R("Left to "), sideToString(i4), " undefined")); } constraint.layout.leftMargin = i5; return; @@ -2228,7 +2228,7 @@ public class ConstraintSet { layout4.rightToRight = i3; layout4.rightToLeft = -1; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined")); } constraint.layout.rightMargin = i5; return; @@ -2244,7 +2244,7 @@ public class ConstraintSet { layout6.topToTop = -1; layout6.baselineToBaseline = -1; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined")); } constraint.layout.topMargin = i5; return; @@ -2260,7 +2260,7 @@ public class ConstraintSet { layout8.bottomToBottom = -1; layout8.baselineToBaseline = -1; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined")); } constraint.layout.bottomMargin = i5; return; @@ -2274,7 +2274,7 @@ public class ConstraintSet { layout9.topToBottom = -1; return; } - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined")); case 6: if (i4 == 6) { Layout layout10 = constraint.layout; @@ -2285,7 +2285,7 @@ public class ConstraintSet { layout11.startToEnd = i3; layout11.startToStart = -1; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined")); } constraint.layout.startMargin = i5; return; @@ -2299,7 +2299,7 @@ public class ConstraintSet { layout13.endToStart = i3; layout13.endToEnd = -1; } else { - throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined")); + throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined")); } constraint.layout.endMargin = i5; return; @@ -2307,7 +2307,7 @@ public class ConstraintSet { StringBuilder sb = new StringBuilder(); sb.append(sideToString(i2)); sb.append(" to "); - throw new IllegalArgumentException(a.G(sb, sideToString(i4), " unknown")); + throw new IllegalArgumentException(a.H(sb, sideToString(i4), " unknown")); } } @@ -2669,7 +2669,7 @@ public class ConstraintSet { for (int i = 0; i < split.length; i++) { String[] split2 = split[i].split("="); if (split2.length != 2) { - a.m0(a.O(" Unable to parse "), split[i], TAG); + a.n0(a.R(" Unable to parse "), split[i], TAG); } else { Constraint.access$600(constraint, split2[0], Color.parseColor(split2[1])); } @@ -2681,7 +2681,7 @@ public class ConstraintSet { for (int i = 0; i < split.length; i++) { String[] split2 = split[i].split("="); if (split2.length != 2) { - a.m0(a.O(" Unable to parse "), split[i], TAG); + a.n0(a.R(" Unable to parse "), split[i], TAG); } else { Constraint.access$700(constraint, split2[0], Float.parseFloat(split2[1])); } @@ -2693,7 +2693,7 @@ public class ConstraintSet { for (int i = 0; i < split.length; i++) { String[] split2 = split[i].split("="); if (split2.length != 2) { - a.m0(a.O(" Unable to parse "), split[i], TAG); + a.n0(a.R(" Unable to parse "), split[i], TAG); } else { Constraint.access$700(constraint, split2[0], (float) Integer.decode(split2[1]).intValue()); } @@ -2704,7 +2704,7 @@ public class ConstraintSet { String[] splitString = splitString(str); for (int i = 0; i < splitString.length; i++) { String[] split = splitString[i].split("="); - a.m0(a.O(" Unable to parse "), splitString[i], TAG); + a.n0(a.R(" Unable to parse "), splitString[i], TAG); Constraint.access$800(constraint, split[0], split[1]); } } diff --git a/app/src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java b/app/src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java index 6a51dbd85b..03d7e37df5 100644 --- a/app/src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java +++ b/app/src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java @@ -379,11 +379,11 @@ public class CoordinatorLayout extends ViewGroup implements NestedScrollingParen this.mAnchorDirectChild = null; this.mAnchorView = null; } else { - StringBuilder O = a.O("Could not find CoordinatorLayout descendant view with id "); - O.append(coordinatorLayout.getResources().getResourceName(this.mAnchorId)); - O.append(" to anchor view "); - O.append(view); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Could not find CoordinatorLayout descendant view with id "); + R.append(coordinatorLayout.getResources().getResourceName(this.mAnchorId)); + R.append(" to anchor view "); + R.append(view); + throw new IllegalStateException(R.toString()); } } @@ -826,11 +826,11 @@ public class CoordinatorLayout extends ViewGroup implements NestedScrollingParen if (behavior == null || !behavior.getInsetDodgeRect(this, view, acquireTempRect)) { acquireTempRect.set(acquireTempRect2); } else if (!acquireTempRect2.contains(acquireTempRect)) { - StringBuilder O = a.O("Rect should be within the child's bounds. Rect:"); - O.append(acquireTempRect.toShortString()); - O.append(" | Bounds:"); - O.append(acquireTempRect2.toShortString()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Rect should be within the child's bounds. Rect:"); + R.append(acquireTempRect.toShortString()); + R.append(" | Bounds:"); + R.append(acquireTempRect2.toShortString()); + throw new IllegalArgumentException(R.toString()); } releaseTempRect(acquireTempRect2); if (acquireTempRect.isEmpty()) { @@ -899,7 +899,7 @@ public class CoordinatorLayout extends ViewGroup implements NestedScrollingParen } return constructor.newInstance(context, attributeSet); } catch (Exception e) { - throw new RuntimeException(a.u("Could not inflate Behavior subclass ", str), e); + throw new RuntimeException(a.v("Could not inflate Behavior subclass ", str), e); } } @@ -1257,10 +1257,10 @@ public class CoordinatorLayout extends ViewGroup implements NestedScrollingParen try { layoutParams.setBehavior((Behavior) defaultBehavior.value().getDeclaredConstructor(new Class[0]).newInstance(new Object[0])); } catch (Exception e) { - StringBuilder O = a.O("Default behavior class "); - O.append(defaultBehavior.value().getName()); - O.append(" could not be instantiated. Did you forget a default constructor?"); - Log.e(TAG, O.toString(), e); + StringBuilder R = a.R("Default behavior class "); + R.append(defaultBehavior.value().getName()); + R.append(" could not be instantiated. Did you forget a default constructor?"); + Log.e(TAG, R.toString(), e); } } layoutParams.mBehaviorResolved = true; diff --git a/app/src/main/java/androidx/core/accessibilityservice/AccessibilityServiceInfoCompat.java b/app/src/main/java/androidx/core/accessibilityservice/AccessibilityServiceInfoCompat.java index 0b82e1ae22..5cb715f6c9 100644 --- a/app/src/main/java/androidx/core/accessibilityservice/AccessibilityServiceInfoCompat.java +++ b/app/src/main/java/androidx/core/accessibilityservice/AccessibilityServiceInfoCompat.java @@ -28,27 +28,27 @@ public final class AccessibilityServiceInfoCompat { @NonNull public static String feedbackTypeToString(int i) { - StringBuilder O = a.O("["); + StringBuilder R = a.R("["); while (i > 0) { int numberOfTrailingZeros = 1 << Integer.numberOfTrailingZeros(i); i &= ~numberOfTrailingZeros; - if (O.length() > 1) { - O.append(", "); + if (R.length() > 1) { + R.append(", "); } if (numberOfTrailingZeros == 1) { - O.append("FEEDBACK_SPOKEN"); + R.append("FEEDBACK_SPOKEN"); } else if (numberOfTrailingZeros == 2) { - O.append("FEEDBACK_HAPTIC"); + R.append("FEEDBACK_HAPTIC"); } else if (numberOfTrailingZeros == 4) { - O.append("FEEDBACK_AUDIBLE"); + R.append("FEEDBACK_AUDIBLE"); } else if (numberOfTrailingZeros == 8) { - O.append("FEEDBACK_VISUAL"); + R.append("FEEDBACK_VISUAL"); } else if (numberOfTrailingZeros == 16) { - O.append("FEEDBACK_GENERIC"); + R.append("FEEDBACK_GENERIC"); } } - O.append("]"); - return O.toString(); + R.append("]"); + return R.toString(); } @Nullable diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$1.java b/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$1.java index 1e54b91d67..5e2e13ed53 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$1.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$1.java @@ -1,8 +1,8 @@ package androidx.core.animation; import android.animation.Animator; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$2.java b/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$2.java index 4c8c08e832..117c6b6689 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$2.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$2.java @@ -1,8 +1,8 @@ package androidx.core.animation; import android.animation.Animator; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$3.java b/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$3.java index 475932bae7..8b0496b5ec 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$3.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$3.java @@ -1,8 +1,8 @@ package androidx.core.animation; import android.animation.Animator; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$4.java b/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$4.java index 8169a9dcda..873c99fa08 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$4.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$4.java @@ -1,8 +1,8 @@ package androidx.core.animation; import android.animation.Animator; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$listener$1.java b/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$listener$1.java index 84c7a82800..c00c88a7c1 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$listener$1.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt$addListener$listener$1.java @@ -1,7 +1,7 @@ package androidx.core.animation; import android.animation.Animator; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt$addPauseListener$1.java b/app/src/main/java/androidx/core/animation/AnimatorKt$addPauseListener$1.java index 6612404f70..dbf3f2335a 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt$addPauseListener$1.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt$addPauseListener$1.java @@ -1,8 +1,8 @@ package androidx.core.animation; import android.animation.Animator; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt$addPauseListener$2.java b/app/src/main/java/androidx/core/animation/AnimatorKt$addPauseListener$2.java index 4f7bcef6be..8f22e323f8 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt$addPauseListener$2.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt$addPauseListener$2.java @@ -1,8 +1,8 @@ package androidx.core.animation; import android.animation.Animator; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt$addPauseListener$listener$1.java b/app/src/main/java/androidx/core/animation/AnimatorKt$addPauseListener$listener$1.java index 1131f20a9a..a35ebda7e3 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt$addPauseListener$listener$1.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt$addPauseListener$listener$1.java @@ -1,7 +1,7 @@ package androidx.core.animation; import android.animation.Animator; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt$doOnCancel$$inlined$addListener$default$1.java b/app/src/main/java/androidx/core/animation/AnimatorKt$doOnCancel$$inlined$addListener$default$1.java index ca7152d60a..416bc76ccf 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt$doOnCancel$$inlined$addListener$default$1.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt$doOnCancel$$inlined$addListener$default$1.java @@ -1,7 +1,7 @@ package androidx.core.animation; import android.animation.Animator; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ public final class AnimatorKt$doOnCancel$$inlined$addListener$default$1 implements Animator.AnimatorListener { diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt$doOnEnd$$inlined$addListener$default$1.java b/app/src/main/java/androidx/core/animation/AnimatorKt$doOnEnd$$inlined$addListener$default$1.java index a65bb9108a..e211c2d855 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt$doOnEnd$$inlined$addListener$default$1.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt$doOnEnd$$inlined$addListener$default$1.java @@ -1,7 +1,7 @@ package androidx.core.animation; import android.animation.Animator; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ public final class AnimatorKt$doOnEnd$$inlined$addListener$default$1 implements Animator.AnimatorListener { diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt$doOnPause$$inlined$addPauseListener$default$1.java b/app/src/main/java/androidx/core/animation/AnimatorKt$doOnPause$$inlined$addPauseListener$default$1.java index 7aa9f4a897..9cfe67ea3b 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt$doOnPause$$inlined$addPauseListener$default$1.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt$doOnPause$$inlined$addPauseListener$default$1.java @@ -1,7 +1,7 @@ package androidx.core.animation; import android.animation.Animator; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ public final class AnimatorKt$doOnPause$$inlined$addPauseListener$default$1 implements Animator.AnimatorPauseListener { diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt$doOnRepeat$$inlined$addListener$default$1.java b/app/src/main/java/androidx/core/animation/AnimatorKt$doOnRepeat$$inlined$addListener$default$1.java index 2af927ad6f..0e0eddaea1 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt$doOnRepeat$$inlined$addListener$default$1.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt$doOnRepeat$$inlined$addListener$default$1.java @@ -1,7 +1,7 @@ package androidx.core.animation; import android.animation.Animator; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ public final class AnimatorKt$doOnRepeat$$inlined$addListener$default$1 implements Animator.AnimatorListener { diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt$doOnResume$$inlined$addPauseListener$default$1.java b/app/src/main/java/androidx/core/animation/AnimatorKt$doOnResume$$inlined$addPauseListener$default$1.java index 3bae7b2bf5..70e68a631e 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt$doOnResume$$inlined$addPauseListener$default$1.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt$doOnResume$$inlined$addPauseListener$default$1.java @@ -1,7 +1,7 @@ package androidx.core.animation; import android.animation.Animator; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ public final class AnimatorKt$doOnResume$$inlined$addPauseListener$default$1 implements Animator.AnimatorPauseListener { diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt$doOnStart$$inlined$addListener$default$1.java b/app/src/main/java/androidx/core/animation/AnimatorKt$doOnStart$$inlined$addListener$default$1.java index cbb11bf059..2261eace7e 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt$doOnStart$$inlined$addListener$default$1.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt$doOnStart$$inlined$addListener$default$1.java @@ -1,7 +1,7 @@ package androidx.core.animation; import android.animation.Animator; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ public final class AnimatorKt$doOnStart$$inlined$addListener$default$1 implements Animator.AnimatorListener { diff --git a/app/src/main/java/androidx/core/animation/AnimatorKt.java b/app/src/main/java/androidx/core/animation/AnimatorKt.java index ddc45716ab..3074064e42 100644 --- a/app/src/main/java/androidx/core/animation/AnimatorKt.java +++ b/app/src/main/java/androidx/core/animation/AnimatorKt.java @@ -2,7 +2,7 @@ package androidx.core.animation; import android.animation.Animator; import androidx.annotation.RequiresApi; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Animator.kt */ diff --git a/app/src/main/java/androidx/core/app/ActivityCompat.java b/app/src/main/java/androidx/core/app/ActivityCompat.java index ac6bd92aa2..3685804c50 100644 --- a/app/src/main/java/androidx/core/app/ActivityCompat.java +++ b/app/src/main/java/androidx/core/app/ActivityCompat.java @@ -220,7 +220,7 @@ public class ActivityCompat extends ContextCompat { if (permissionCompatDelegate == null || !permissionCompatDelegate.requestPermissions(activity, strArr, i)) { for (String str : strArr) { if (TextUtils.isEmpty(str)) { - throw new IllegalArgumentException(a.G(a.O("Permission request for permissions "), Arrays.toString(strArr), " must not contain null or empty values")); + throw new IllegalArgumentException(a.H(a.R("Permission request for permissions "), Arrays.toString(strArr), " must not contain null or empty values")); } } if (Build.VERSION.SDK_INT >= 23) { diff --git a/app/src/main/java/androidx/core/app/JobIntentService.java b/app/src/main/java/androidx/core/app/JobIntentService.java index 19950cfff6..df62161c32 100644 --- a/app/src/main/java/androidx/core/app/JobIntentService.java +++ b/app/src/main/java/androidx/core/app/JobIntentService.java @@ -266,9 +266,9 @@ public abstract class JobIntentService extends Service { this.mHasJobId = true; this.mJobId = i; } else if (this.mJobId != i) { - StringBuilder P = a.P("Given job ID ", i, " is different than previous "); - P.append(this.mJobId); - throw new IllegalArgumentException(P.toString()); + StringBuilder S = a.S("Given job ID ", i, " is different than previous "); + S.append(this.mJobId); + throw new IllegalArgumentException(S.toString()); } } diff --git a/app/src/main/java/androidx/core/app/NavUtils.java b/app/src/main/java/androidx/core/app/NavUtils.java index fbe71cb379..d10911b92c 100644 --- a/app/src/main/java/androidx/core/app/NavUtils.java +++ b/app/src/main/java/androidx/core/app/NavUtils.java @@ -99,10 +99,10 @@ public final class NavUtils { navigateUpTo(activity, parentActivityIntent); return; } - StringBuilder O = a.O("Activity "); - O.append(activity.getClass().getSimpleName()); - O.append(" does not have a parent activity name specified. (Did you forget to add the android.support.PARENT_ACTIVITY element in your manifest?)"); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Activity "); + R.append(activity.getClass().getSimpleName()); + R.append(" does not have a parent activity name specified. (Did you forget to add the android.support.PARENT_ACTIVITY element in your manifest?)"); + throw new IllegalArgumentException(R.toString()); } public static void navigateUpTo(@NonNull Activity activity, @NonNull Intent intent) { diff --git a/app/src/main/java/androidx/core/app/NotificationCompatSideChannelService.java b/app/src/main/java/androidx/core/app/NotificationCompatSideChannelService.java index ad554e6df7..7328853af3 100644 --- a/app/src/main/java/androidx/core/app/NotificationCompatSideChannelService.java +++ b/app/src/main/java/androidx/core/app/NotificationCompatSideChannelService.java @@ -6,14 +6,14 @@ import android.content.Intent; import android.os.Binder; import android.os.IBinder; import android.os.RemoteException; -import w.a.b.a.a; +import x.a.b.a.a; public abstract class NotificationCompatSideChannelService extends Service { public class NotificationSideChannelStub extends a.AbstractBinderC0358a { public NotificationSideChannelStub() { } - @Override // w.a.b.a.a + @Override // x.a.b.a.a public void cancel(String str, int i, String str2) throws RemoteException { NotificationCompatSideChannelService.this.checkPermission(Binder.getCallingUid(), str); long clearCallingIdentity = Binder.clearCallingIdentity(); @@ -24,7 +24,7 @@ public abstract class NotificationCompatSideChannelService extends Service { } } - @Override // w.a.b.a.a + @Override // x.a.b.a.a public void cancelAll(String str) { NotificationCompatSideChannelService.this.checkPermission(Binder.getCallingUid(), str); long clearCallingIdentity = Binder.clearCallingIdentity(); @@ -35,7 +35,7 @@ public abstract class NotificationCompatSideChannelService extends Service { } } - @Override // w.a.b.a.a + @Override // x.a.b.a.a public void notify(String str, int i, String str2, Notification notification) throws RemoteException { NotificationCompatSideChannelService.this.checkPermission(Binder.getCallingUid(), str); long clearCallingIdentity = Binder.clearCallingIdentity(); diff --git a/app/src/main/java/androidx/core/app/NotificationManagerCompat.java b/app/src/main/java/androidx/core/app/NotificationManagerCompat.java index 4e98bbdbaa..32e5f4c644 100644 --- a/app/src/main/java/androidx/core/app/NotificationManagerCompat.java +++ b/app/src/main/java/androidx/core/app/NotificationManagerCompat.java @@ -36,7 +36,7 @@ import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; -import w.a.b.a.a; +import x.a.b.a.a; public final class NotificationManagerCompat { public static final String ACTION_BIND_SIDE_CHANNEL = "android.support.BIND_NOTIFICATION_SIDE_CHANNEL"; private static final String CHECK_OP_NO_THROW = "checkOpNoThrow"; @@ -69,20 +69,20 @@ public final class NotificationManagerCompat { public final boolean all; /* renamed from: id reason: collision with root package name */ - public final int f28id; + public final int f27id; public final String packageName; public final String tag; public CancelTask(String str) { this.packageName = str; - this.f28id = 0; + this.f27id = 0; this.tag = null; this.all = true; } public CancelTask(String str, int i, String str2) { this.packageName = str; - this.f28id = i; + this.f27id = i; this.tag = str2; this.all = false; } @@ -92,7 +92,7 @@ public final class NotificationManagerCompat { if (this.all) { aVar.cancelAll(this.packageName); } else { - aVar.cancel(this.packageName, this.f28id, this.tag); + aVar.cancel(this.packageName, this.f27id, this.tag); } } @@ -102,32 +102,32 @@ public final class NotificationManagerCompat { sb.append("packageName:"); sb.append(this.packageName); sb.append(", id:"); - sb.append(this.f28id); + sb.append(this.f27id); sb.append(", tag:"); sb.append(this.tag); sb.append(", all:"); - return c.d.b.a.a.K(sb, this.all, "]"); + return c.d.b.a.a.L(sb, this.all, "]"); } } public static class NotifyTask implements Task { /* renamed from: id reason: collision with root package name */ - public final int f29id; + public final int f28id; public final Notification notif; public final String packageName; public final String tag; public NotifyTask(String str, int i, String str2, Notification notification) { this.packageName = str; - this.f29id = i; + this.f28id = i; this.tag = str2; this.notif = notification; } @Override // androidx.core.app.NotificationManagerCompat.Task public void send(a aVar) throws RemoteException { - aVar.notify(this.packageName, this.f29id, this.tag, this.notif); + aVar.notify(this.packageName, this.f28id, this.tag, this.notif); } @NonNull @@ -136,9 +136,9 @@ public final class NotificationManagerCompat { sb.append("packageName:"); sb.append(this.packageName); sb.append(", id:"); - sb.append(this.f29id); + sb.append(this.f28id); sb.append(", tag:"); - return c.d.b.a.a.G(sb, this.tag, "]"); + return c.d.b.a.a.H(sb, this.tag, "]"); } } @@ -192,9 +192,9 @@ public final class NotificationManagerCompat { if (bindService) { listenerRecord.retryCount = 0; } else { - StringBuilder O = c.d.b.a.a.O("Unable to bind to listener "); - O.append(listenerRecord.componentName); - Log.w(NotificationManagerCompat.TAG, O.toString()); + StringBuilder R = c.d.b.a.a.R("Unable to bind to listener "); + R.append(listenerRecord.componentName); + Log.w(NotificationManagerCompat.TAG, R.toString()); this.mContext.unbindService(this); } return listenerRecord.bound; @@ -241,12 +241,12 @@ public final class NotificationManagerCompat { private void processListenerQueue(ListenerRecord listenerRecord) { if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) { - StringBuilder O = c.d.b.a.a.O("Processing component "); - O.append(listenerRecord.componentName); - O.append(", "); - O.append(listenerRecord.taskQueue.size()); - O.append(" queued tasks"); - Log.d(NotificationManagerCompat.TAG, O.toString()); + StringBuilder R = c.d.b.a.a.R("Processing component "); + R.append(listenerRecord.componentName); + R.append(", "); + R.append(listenerRecord.taskQueue.size()); + R.append(" queued tasks"); + Log.d(NotificationManagerCompat.TAG, R.toString()); } if (!listenerRecord.taskQueue.isEmpty()) { if (!ensureServiceBound(listenerRecord) || listenerRecord.service == null) { @@ -266,14 +266,14 @@ public final class NotificationManagerCompat { listenerRecord.taskQueue.remove(); } catch (DeadObjectException unused) { if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) { - StringBuilder O2 = c.d.b.a.a.O("Remote service has died: "); - O2.append(listenerRecord.componentName); - Log.d(NotificationManagerCompat.TAG, O2.toString()); + StringBuilder R2 = c.d.b.a.a.R("Remote service has died: "); + R2.append(listenerRecord.componentName); + Log.d(NotificationManagerCompat.TAG, R2.toString()); } } catch (RemoteException e) { - StringBuilder O3 = c.d.b.a.a.O("RemoteException communicating with "); - O3.append(listenerRecord.componentName); - Log.w(NotificationManagerCompat.TAG, O3.toString(), e); + StringBuilder R3 = c.d.b.a.a.R("RemoteException communicating with "); + R3.append(listenerRecord.componentName); + Log.w(NotificationManagerCompat.TAG, R3.toString(), e); } } if (!listenerRecord.taskQueue.isEmpty()) { @@ -287,14 +287,14 @@ public final class NotificationManagerCompat { int i = listenerRecord.retryCount + 1; listenerRecord.retryCount = i; if (i > 6) { - StringBuilder O = c.d.b.a.a.O("Giving up on delivering "); - O.append(listenerRecord.taskQueue.size()); - O.append(" tasks to "); - O.append(listenerRecord.componentName); - O.append(" after "); - O.append(listenerRecord.retryCount); - O.append(" retries"); - Log.w(NotificationManagerCompat.TAG, O.toString()); + StringBuilder R = c.d.b.a.a.R("Giving up on delivering "); + R.append(listenerRecord.taskQueue.size()); + R.append(" tasks to "); + R.append(listenerRecord.componentName); + R.append(" after "); + R.append(listenerRecord.retryCount); + R.append(" retries"); + Log.w(NotificationManagerCompat.TAG, R.toString()); listenerRecord.taskQueue.clear(); return; } @@ -338,9 +338,9 @@ public final class NotificationManagerCompat { Map.Entry next = it2.next(); if (!hashSet.contains(next.getKey())) { if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) { - StringBuilder O = c.d.b.a.a.O("Removing listener record for "); - O.append(next.getKey()); - Log.d(NotificationManagerCompat.TAG, O.toString()); + StringBuilder R = c.d.b.a.a.R("Removing listener record for "); + R.append(next.getKey()); + Log.d(NotificationManagerCompat.TAG, R.toString()); } ensureServiceUnbound(next.getValue()); it2.remove(); diff --git a/app/src/main/java/androidx/core/app/Person.java b/app/src/main/java/androidx/core/app/Person.java index d7e52afb21..0c28806f36 100644 --- a/app/src/main/java/androidx/core/app/Person.java +++ b/app/src/main/java/androidx/core/app/Person.java @@ -160,9 +160,9 @@ public class Person { if (this.mName == null) { return ""; } - StringBuilder O = a.O("name:"); - O.append((Object) this.mName); - return O.toString(); + StringBuilder R = a.R("name:"); + R.append((Object) this.mName); + return R.toString(); } @NonNull diff --git a/app/src/main/java/androidx/core/app/RemoteInput.java b/app/src/main/java/androidx/core/app/RemoteInput.java index 9bdcb7a3c6..5ca469ccb3 100644 --- a/app/src/main/java/androidx/core/app/RemoteInput.java +++ b/app/src/main/java/androidx/core/app/RemoteInput.java @@ -255,7 +255,7 @@ public final class RemoteInput { } private static String getExtraResultsKeyForData(String str) { - return a.u(EXTRA_DATA_TYPE_RESULTS_DATA, str); + return a.v(EXTRA_DATA_TYPE_RESULTS_DATA, str); } public static Bundle getResultsFromIntent(Intent intent) { diff --git a/app/src/main/java/androidx/core/app/ShareCompat.java b/app/src/main/java/androidx/core/app/ShareCompat.java index ab1b7519f6..8dbf65b1e2 100644 --- a/app/src/main/java/androidx/core/app/ShareCompat.java +++ b/app/src/main/java/androidx/core/app/ShareCompat.java @@ -453,11 +453,11 @@ public final class ShareCompat { if (i == 0) { return (Uri) this.mIntent.getParcelableExtra("android.intent.extra.STREAM"); } - StringBuilder O = a.O("Stream items available: "); - O.append(getStreamCount()); - O.append(" index requested: "); - O.append(i); - throw new IndexOutOfBoundsException(O.toString()); + StringBuilder R = a.R("Stream items available: "); + R.append(getStreamCount()); + R.append(" index requested: "); + R.append(i); + throw new IndexOutOfBoundsException(R.toString()); } public int getStreamCount() { @@ -507,16 +507,16 @@ public final class ShareCompat { configureMenuItem(findItem, intentBuilder); return; } - throw new IllegalArgumentException(a.n("Could not find menu item with id ", i, " in the supplied menu")); + throw new IllegalArgumentException(a.q("Could not find menu item with id ", i, " in the supplied menu")); } @Deprecated public static void configureMenuItem(@NonNull MenuItem menuItem, @NonNull IntentBuilder intentBuilder) { ActionProvider actionProvider = menuItem.getActionProvider(); ShareActionProvider shareActionProvider = !(actionProvider instanceof ShareActionProvider) ? new ShareActionProvider(intentBuilder.getContext()) : (ShareActionProvider) actionProvider; - StringBuilder O = a.O(HISTORY_FILENAME_PREFIX); - O.append(intentBuilder.getContext().getClass().getName()); - shareActionProvider.setShareHistoryFileName(O.toString()); + StringBuilder R = a.R(HISTORY_FILENAME_PREFIX); + R.append(intentBuilder.getContext().getClass().getName()); + shareActionProvider.setShareHistoryFileName(R.toString()); shareActionProvider.setShareIntent(intentBuilder.getIntent()); menuItem.setActionProvider(shareActionProvider); } diff --git a/app/src/main/java/androidx/core/content/ContentValuesKt.java b/app/src/main/java/androidx/core/content/ContentValuesKt.java index 3ef0376e0f..e859dad063 100644 --- a/app/src/main/java/androidx/core/content/ContentValuesKt.java +++ b/app/src/main/java/androidx/core/content/ContentValuesKt.java @@ -1,7 +1,7 @@ package androidx.core.content; import android.content.ContentValues; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Pair; /* compiled from: ContentValues.kt */ public final class ContentValuesKt { diff --git a/app/src/main/java/androidx/core/content/ContextKt.java b/app/src/main/java/androidx/core/content/ContextKt.java index e4ad43dd27..a5f936331c 100644 --- a/app/src/main/java/androidx/core/content/ContextKt.java +++ b/app/src/main/java/androidx/core/content/ContextKt.java @@ -6,7 +6,7 @@ import android.util.AttributeSet; import androidx.annotation.AttrRes; import androidx.annotation.StyleRes; import androidx.exifinterface.media.ExifInterface; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Context.kt */ diff --git a/app/src/main/java/androidx/core/content/FileProvider.java b/app/src/main/java/androidx/core/content/FileProvider.java index 201895f7b4..0640727250 100644 --- a/app/src/main/java/androidx/core/content/FileProvider.java +++ b/app/src/main/java/androidx/core/content/FileProvider.java @@ -108,7 +108,7 @@ public class FileProvider extends ContentProvider { String substring = path2.endsWith(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN) ? canonicalPath.substring(path2.length()) : canonicalPath.substring(path2.length() + 1); return new Uri.Builder().scheme("content").authority(this.mAuthority).encodedPath(Uri.encode(entry.getKey()) + MentionUtilsKt.SLASH_CHAR + Uri.encode(substring, AutocompleteViewModel.COMMAND_DISCOVER_TOKEN)).build(); } - throw new IllegalArgumentException(a.u("Failed to find configured root that contains ", canonicalPath)); + throw new IllegalArgumentException(a.v("Failed to find configured root that contains ", canonicalPath)); } catch (IOException unused) { throw new IllegalArgumentException("Failed to resolve canonical path for " + file); } @@ -180,7 +180,7 @@ public class FileProvider extends ContentProvider { if ("rwt".equals(str)) { return 1006632960; } - throw new IllegalArgumentException(a.u("Invalid mode: ", str)); + throw new IllegalArgumentException(a.v("Invalid mode: ", str)); } private static PathStrategy parsePathStrategy(Context context, String str) throws IOException, XmlPullParserException { @@ -232,7 +232,7 @@ public class FileProvider extends ContentProvider { throw new IllegalArgumentException("Missing android.support.FILE_PROVIDER_PATHS meta-data"); } } else { - throw new IllegalArgumentException(a.u("Couldn't find meta-data for provider with authority ", str)); + throw new IllegalArgumentException(a.v("Couldn't find meta-data for provider with authority ", str)); } } diff --git a/app/src/main/java/androidx/core/content/LocusIdCompat.java b/app/src/main/java/androidx/core/content/LocusIdCompat.java index d9cd15806a..27b9cbc5f4 100644 --- a/app/src/main/java/androidx/core/content/LocusIdCompat.java +++ b/app/src/main/java/androidx/core/content/LocusIdCompat.java @@ -79,6 +79,6 @@ public final class LocusIdCompat { @NonNull public String toString() { - return a.G(a.O("LocusIdCompat["), getSanitizedId(), "]"); + return a.H(a.R("LocusIdCompat["), getSanitizedId(), "]"); } } diff --git a/app/src/main/java/androidx/core/content/SharedPreferencesKt.java b/app/src/main/java/androidx/core/content/SharedPreferencesKt.java index 293575db29..3b85ed8d6c 100644 --- a/app/src/main/java/androidx/core/content/SharedPreferencesKt.java +++ b/app/src/main/java/androidx/core/content/SharedPreferencesKt.java @@ -2,7 +2,7 @@ package androidx.core.content; import android.annotation.SuppressLint; import android.content.SharedPreferences; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: SharedPreferences.kt */ diff --git a/app/src/main/java/androidx/core/content/pm/PackageInfoCompat.java b/app/src/main/java/androidx/core/content/pm/PackageInfoCompat.java index f27caad3c8..e163f5742a 100644 --- a/app/src/main/java/androidx/core/content/pm/PackageInfoCompat.java +++ b/app/src/main/java/androidx/core/content/pm/PackageInfoCompat.java @@ -94,10 +94,10 @@ public final class PackageInfoCompat { throw new IllegalArgumentException("Unsupported certificate type " + num + " when verifying " + str); } } else { - throw new IllegalArgumentException(a.u("Type must be specified for cert when verifying ", str)); + throw new IllegalArgumentException(a.v("Type must be specified for cert when verifying ", str)); } } else { - throw new IllegalArgumentException(a.u("Cert byte array cannot be null when verifying ", str)); + throw new IllegalArgumentException(a.v("Cert byte array cannot be null when verifying ", str)); } } List signatures = getSignatures(packageManager, str); diff --git a/app/src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java b/app/src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java index 7db4495158..9b0c530178 100644 --- a/app/src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java +++ b/app/src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java @@ -215,7 +215,7 @@ public class ShortcutInfoCompat { this.mInfo.mExtras.putStringArray(str, (String[]) map.keySet().toArray(new String[0])); for (String str2 : map.keySet()) { List list = map.get(str2); - this.mInfo.mExtras.putStringArray(a.v(str, AutocompleteViewModel.COMMAND_DISCOVER_TOKEN, str2), list == null ? new String[0] : (String[]) list.toArray(new String[0])); + this.mInfo.mExtras.putStringArray(a.w(str, AutocompleteViewModel.COMMAND_DISCOVER_TOKEN, str2), list == null ? new String[0] : (String[]) list.toArray(new String[0])); } } } @@ -352,10 +352,10 @@ public class ShortcutInfoCompat { int i = 0; while (i < this.mPersons.length) { PersistableBundle persistableBundle = this.mExtras; - StringBuilder O = a.O(EXTRA_PERSON_); + StringBuilder R = a.R(EXTRA_PERSON_); int i2 = i + 1; - O.append(i2); - persistableBundle.putPersistableBundle(O.toString(), this.mPersons[i].toPersistableBundle()); + R.append(i2); + persistableBundle.putPersistableBundle(R.toString(), this.mPersons[i].toPersistableBundle()); i = i2; } } @@ -422,10 +422,10 @@ public class ShortcutInfoCompat { Person[] personArr = new Person[i]; int i2 = 0; while (i2 < i) { - StringBuilder O = a.O(EXTRA_PERSON_); + StringBuilder R = a.R(EXTRA_PERSON_); int i3 = i2 + 1; - O.append(i3); - personArr[i2] = Person.fromPersistableBundle(persistableBundle.getPersistableBundle(O.toString())); + R.append(i3); + personArr[i2] = Person.fromPersistableBundle(persistableBundle.getPersistableBundle(R.toString())); i2 = i3; } return personArr; diff --git a/app/src/main/java/androidx/core/content/res/ResourcesCompat.java b/app/src/main/java/androidx/core/content/res/ResourcesCompat.java index 351cbe261d..30f226eb95 100644 --- a/app/src/main/java/androidx/core/content/res/ResourcesCompat.java +++ b/app/src/main/java/androidx/core/content/res/ResourcesCompat.java @@ -276,12 +276,12 @@ public final class ResourcesCompat { if (typedValue.type == 4) { return typedValue.getFloat(); } - StringBuilder O = a.O("Resource ID #0x"); - O.append(Integer.toHexString(i)); - O.append(" type #0x"); - O.append(Integer.toHexString(typedValue.type)); - O.append(" is not valid"); - throw new Resources.NotFoundException(O.toString()); + StringBuilder R = a.R("Resource ID #0x"); + R.append(Integer.toHexString(i)); + R.append(" type #0x"); + R.append(Integer.toHexString(typedValue.type)); + R.append(" is not valid"); + throw new Resources.NotFoundException(R.toString()); } @Nullable @@ -348,10 +348,10 @@ public final class ResourcesCompat { if (loadFont != null || fontCallback != null || z3) { return loadFont; } - StringBuilder O = a.O("Font resource ID #0x"); - O.append(Integer.toHexString(i)); - O.append(" could not be retrieved."); - throw new Resources.NotFoundException(O.toString()); + StringBuilder R = a.R("Font resource ID #0x"); + R.append(Integer.toHexString(i)); + R.append(" could not be retrieved."); + throw new Resources.NotFoundException(R.toString()); } /* JADX WARNING: Removed duplicated region for block: B:36:0x00a7 */ @@ -409,13 +409,13 @@ public final class ResourcesCompat { } } } else { - StringBuilder O = a.O("Resource \""); - O.append(resources.getResourceName(i)); - O.append("\" ("); - O.append(Integer.toHexString(i)); - O.append(") is not a Font: "); - O.append(typedValue); - throw new Resources.NotFoundException(O.toString()); + StringBuilder R = a.R("Resource \""); + R.append(resources.getResourceName(i)); + R.append("\" ("); + R.append(Integer.toHexString(i)); + R.append(") is not a Font: "); + R.append(typedValue); + throw new Resources.NotFoundException(R.toString()); } } } diff --git a/app/src/main/java/androidx/core/content/res/TypedArrayKt.java b/app/src/main/java/androidx/core/content/res/TypedArrayKt.java index ccf74fd649..5d1e1b33e9 100644 --- a/app/src/main/java/androidx/core/content/res/TypedArrayKt.java +++ b/app/src/main/java/androidx/core/content/res/TypedArrayKt.java @@ -9,7 +9,7 @@ import androidx.annotation.ColorInt; import androidx.annotation.Dimension; import androidx.annotation.RequiresApi; import androidx.annotation.StyleableRes; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: TypedArray.kt */ public final class TypedArrayKt { @@ -135,8 +135,8 @@ public final class TypedArrayKt { public static final R use(TypedArray typedArray, Function1 function1) { m.checkNotNullParameter(typedArray, ""); m.checkNotNullParameter(function1, "block"); - R r2 = (R) function1.invoke(typedArray); + R r = (R) function1.invoke(typedArray); typedArray.recycle(); - return r2; + return r; } } diff --git a/app/src/main/java/androidx/core/database/CursorKt.java b/app/src/main/java/androidx/core/database/CursorKt.java index ed5358051e..43dd1a84a2 100644 --- a/app/src/main/java/androidx/core/database/CursorKt.java +++ b/app/src/main/java/androidx/core/database/CursorKt.java @@ -1,7 +1,7 @@ package androidx.core.database; import android.database.Cursor; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Cursor.kt */ public final class CursorKt { public static final byte[] getBlobOrNull(Cursor cursor, int i) { diff --git a/app/src/main/java/androidx/core/database/sqlite/SQLiteDatabaseKt.java b/app/src/main/java/androidx/core/database/sqlite/SQLiteDatabaseKt.java index 31cbe4f2e0..d36a12136a 100644 --- a/app/src/main/java/androidx/core/database/sqlite/SQLiteDatabaseKt.java +++ b/app/src/main/java/androidx/core/database/sqlite/SQLiteDatabaseKt.java @@ -1,8 +1,8 @@ package androidx.core.database.sqlite; import android.database.sqlite.SQLiteDatabase; -import c0.z.d.l; -import c0.z.d.m; +import d0.z.d.l; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: SQLiteDatabase.kt */ public final class SQLiteDatabaseKt { diff --git a/app/src/main/java/androidx/core/graphics/BitmapKt.java b/app/src/main/java/androidx/core/graphics/BitmapKt.java index bfe1dc6d07..36dd6dc4a2 100644 --- a/app/src/main/java/androidx/core/graphics/BitmapKt.java +++ b/app/src/main/java/androidx/core/graphics/BitmapKt.java @@ -7,7 +7,7 @@ import android.graphics.Point; import android.graphics.PointF; import androidx.annotation.ColorInt; import androidx.annotation.RequiresApi; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Bitmap.kt */ diff --git a/app/src/main/java/androidx/core/graphics/CanvasKt.java b/app/src/main/java/androidx/core/graphics/CanvasKt.java index 3a752522ca..11fc3598b2 100644 --- a/app/src/main/java/androidx/core/graphics/CanvasKt.java +++ b/app/src/main/java/androidx/core/graphics/CanvasKt.java @@ -6,7 +6,7 @@ import android.graphics.Path; import android.graphics.Rect; import android.graphics.RectF; import c.d.b.a.a; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Canvas.kt */ @@ -20,7 +20,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i, canvas, save, i); + a.c0(i, canvas, save, i); } } @@ -33,7 +33,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i5, canvas, save, i5); + a.c0(i5, canvas, save, i5); } } @@ -47,7 +47,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i, canvas, save, i); + a.c0(i, canvas, save, i); } } @@ -61,7 +61,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i, canvas, save, i); + a.c0(i, canvas, save, i); } } @@ -75,7 +75,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i, canvas, save, i); + a.c0(i, canvas, save, i); } } @@ -89,7 +89,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i, canvas, save, i); + a.c0(i, canvas, save, i); } } @@ -106,7 +106,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i2, canvas, save, i2); + a.c0(i2, canvas, save, i2); } } @@ -119,7 +119,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i, canvas, save, i); + a.c0(i, canvas, save, i); } } @@ -141,7 +141,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i2, canvas, save, i2); + a.c0(i2, canvas, save, i2); } } @@ -153,7 +153,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i, canvas, save, i); + a.c0(i, canvas, save, i); } } @@ -166,7 +166,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i, canvas, save, i); + a.c0(i, canvas, save, i); } } @@ -191,7 +191,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i2, canvas, save, i2); + a.c0(i2, canvas, save, i2); } } @@ -204,7 +204,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i, canvas, save, i); + a.c0(i, canvas, save, i); } } @@ -223,7 +223,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i2, canvas, save, i2); + a.c0(i2, canvas, save, i2); } } @@ -236,7 +236,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i, canvas, save, i); + a.c0(i, canvas, save, i); } } @@ -255,7 +255,7 @@ public final class CanvasKt { try { function1.invoke(canvas); } finally { - a.a0(i2, canvas, save, i2); + a.c0(i2, canvas, save, i2); } } } diff --git a/app/src/main/java/androidx/core/graphics/ColorKt.java b/app/src/main/java/androidx/core/graphics/ColorKt.java index 2385a46eb8..1efebbe161 100644 --- a/app/src/main/java/androidx/core/graphics/ColorKt.java +++ b/app/src/main/java/androidx/core/graphics/ColorKt.java @@ -4,7 +4,7 @@ import android.graphics.Color; import android.graphics.ColorSpace; import androidx.annotation.ColorInt; import androidx.annotation.RequiresApi; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Color.kt */ public final class ColorKt { @RequiresApi(26) diff --git a/app/src/main/java/androidx/core/graphics/ColorUtils.java b/app/src/main/java/androidx/core/graphics/ColorUtils.java index b02ac3c00f..14ac1e5dee 100644 --- a/app/src/main/java/androidx/core/graphics/ColorUtils.java +++ b/app/src/main/java/androidx/core/graphics/ColorUtils.java @@ -206,9 +206,9 @@ public final class ColorUtils { double calculateLuminance2 = calculateLuminance(i2) + 0.05d; return Math.max(calculateLuminance, calculateLuminance2) / Math.min(calculateLuminance, calculateLuminance2); } - StringBuilder O = a.O("background can not be translucent: #"); - O.append(Integer.toHexString(i2)); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("background can not be translucent: #"); + R.append(Integer.toHexString(i2)); + throw new IllegalArgumentException(R.toString()); } @FloatRange(from = ShadowDrawableWrapper.COS_45, to = 1.0d) @@ -236,9 +236,9 @@ public final class ColorUtils { } return i3; } - StringBuilder O = a.O("background can not be translucent: #"); - O.append(Integer.toHexString(i2)); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("background can not be translucent: #"); + R.append(Integer.toHexString(i2)); + throw new IllegalArgumentException(R.toString()); } @VisibleForTesting @@ -298,12 +298,12 @@ public final class ColorUtils { } return Color.valueOf(components2, color2.getColorSpace()); } - StringBuilder O = a.O("Color models must match ("); - O.append(color.getModel()); - O.append(" vs. "); - O.append(color2.getModel()); - O.append(")"); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Color models must match ("); + R.append(color.getModel()); + R.append(" vs. "); + R.append(color2.getModel()); + R.append(")"); + throw new IllegalArgumentException(R.toString()); } private static int compositeComponent(int i, int i2, int i3, int i4, int i5) { diff --git a/app/src/main/java/androidx/core/graphics/ImageDecoderKt$decodeBitmap$1.java b/app/src/main/java/androidx/core/graphics/ImageDecoderKt$decodeBitmap$1.java index f3d2b8ebcf..b586840c23 100644 --- a/app/src/main/java/androidx/core/graphics/ImageDecoderKt$decodeBitmap$1.java +++ b/app/src/main/java/androidx/core/graphics/ImageDecoderKt$decodeBitmap$1.java @@ -1,7 +1,7 @@ package androidx.core.graphics; import android.graphics.ImageDecoder; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function3; /* compiled from: ImageDecoder.kt */ diff --git a/app/src/main/java/androidx/core/graphics/ImageDecoderKt$decodeDrawable$1.java b/app/src/main/java/androidx/core/graphics/ImageDecoderKt$decodeDrawable$1.java index 688d1a6998..6e9c72c5aa 100644 --- a/app/src/main/java/androidx/core/graphics/ImageDecoderKt$decodeDrawable$1.java +++ b/app/src/main/java/androidx/core/graphics/ImageDecoderKt$decodeDrawable$1.java @@ -1,7 +1,7 @@ package androidx.core.graphics; import android.graphics.ImageDecoder; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function3; /* compiled from: ImageDecoder.kt */ diff --git a/app/src/main/java/androidx/core/graphics/ImageDecoderKt.java b/app/src/main/java/androidx/core/graphics/ImageDecoderKt.java index 80291b0bd8..c9854b4d14 100644 --- a/app/src/main/java/androidx/core/graphics/ImageDecoderKt.java +++ b/app/src/main/java/androidx/core/graphics/ImageDecoderKt.java @@ -4,7 +4,7 @@ import android.graphics.Bitmap; import android.graphics.ImageDecoder; import android.graphics.drawable.Drawable; import androidx.annotation.RequiresApi; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function3; /* compiled from: ImageDecoder.kt */ diff --git a/app/src/main/java/androidx/core/graphics/Insets.java b/app/src/main/java/androidx/core/graphics/Insets.java index 25ffb4aa20..94d9886601 100644 --- a/app/src/main/java/androidx/core/graphics/Insets.java +++ b/app/src/main/java/androidx/core/graphics/Insets.java @@ -86,13 +86,13 @@ public final class Insets { } public String toString() { - StringBuilder O = a.O("Insets{left="); - O.append(this.left); - O.append(", top="); - O.append(this.top); - O.append(", right="); - O.append(this.right); - O.append(", bottom="); - return a.y(O, this.bottom, '}'); + StringBuilder R = a.R("Insets{left="); + R.append(this.left); + R.append(", top="); + R.append(this.top); + R.append(", right="); + R.append(this.right); + R.append(", bottom="); + return a.z(R, this.bottom, '}'); } } diff --git a/app/src/main/java/androidx/core/graphics/MatrixKt.java b/app/src/main/java/androidx/core/graphics/MatrixKt.java index e1cdb4f735..9a64301ca2 100644 --- a/app/src/main/java/androidx/core/graphics/MatrixKt.java +++ b/app/src/main/java/androidx/core/graphics/MatrixKt.java @@ -1,7 +1,7 @@ package androidx.core.graphics; import android.graphics.Matrix; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Matrix.kt */ public final class MatrixKt { public static final Matrix rotationMatrix(float f, float f2, float f3) { diff --git a/app/src/main/java/androidx/core/graphics/PaintKt.java b/app/src/main/java/androidx/core/graphics/PaintKt.java index 49d7c5d942..368a9953c8 100644 --- a/app/src/main/java/androidx/core/graphics/PaintKt.java +++ b/app/src/main/java/androidx/core/graphics/PaintKt.java @@ -1,7 +1,7 @@ package androidx.core.graphics; import android.graphics.Paint; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Paint.kt */ public final class PaintKt { public static final boolean setBlendMode(Paint paint, BlendModeCompat blendModeCompat) { diff --git a/app/src/main/java/androidx/core/graphics/PathKt.java b/app/src/main/java/androidx/core/graphics/PathKt.java index cfd828a1be..1206713415 100644 --- a/app/src/main/java/androidx/core/graphics/PathKt.java +++ b/app/src/main/java/androidx/core/graphics/PathKt.java @@ -2,7 +2,7 @@ package androidx.core.graphics; import android.graphics.Path; import androidx.annotation.RequiresApi; -import c0.z.d.m; +import d0.z.d.m; import java.util.Collection; /* compiled from: Path.kt */ public final class PathKt { diff --git a/app/src/main/java/androidx/core/graphics/PathParser.java b/app/src/main/java/androidx/core/graphics/PathParser.java index fea4eb1d2a..b57c0dbedb 100644 --- a/app/src/main/java/androidx/core/graphics/PathParser.java +++ b/app/src/main/java/androidx/core/graphics/PathParser.java @@ -504,7 +504,7 @@ public class PathParser { PathDataNode.nodesToPath(createNodesFromPathData, path); return path; } catch (RuntimeException e) { - throw new RuntimeException(a.u("Error in parsing ", str), e); + throw new RuntimeException(a.v("Error in parsing ", str), e); } } @@ -592,7 +592,7 @@ public class PathParser { } return copyOfRange(fArr, 0, i2); } catch (NumberFormatException e) { - throw new RuntimeException(a.v("error in parsing \"", str, "\""), e); + throw new RuntimeException(a.w("error in parsing \"", str, "\""), e); } } diff --git a/app/src/main/java/androidx/core/graphics/PathSegment.java b/app/src/main/java/androidx/core/graphics/PathSegment.java index 3e6ed2992b..a7a3c6137e 100644 --- a/app/src/main/java/androidx/core/graphics/PathSegment.java +++ b/app/src/main/java/androidx/core/graphics/PathSegment.java @@ -59,15 +59,15 @@ public final class PathSegment { } public String toString() { - StringBuilder O = a.O("PathSegment{start="); - O.append(this.mStart); - O.append(", startFraction="); - O.append(this.mStartFraction); - O.append(", end="); - O.append(this.mEnd); - O.append(", endFraction="); - O.append(this.mEndFraction); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("PathSegment{start="); + R.append(this.mStart); + R.append(", startFraction="); + R.append(this.mStartFraction); + R.append(", end="); + R.append(this.mEnd); + R.append(", endFraction="); + R.append(this.mEndFraction); + R.append('}'); + return R.toString(); } } diff --git a/app/src/main/java/androidx/core/graphics/PictureKt.java b/app/src/main/java/androidx/core/graphics/PictureKt.java index 4bc532135e..0baa26b3e4 100644 --- a/app/src/main/java/androidx/core/graphics/PictureKt.java +++ b/app/src/main/java/androidx/core/graphics/PictureKt.java @@ -2,8 +2,8 @@ package androidx.core.graphics; import android.graphics.Canvas; import android.graphics.Picture; -import c0.z.d.l; -import c0.z.d.m; +import d0.z.d.l; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Picture.kt */ diff --git a/app/src/main/java/androidx/core/graphics/PointKt.java b/app/src/main/java/androidx/core/graphics/PointKt.java index 44ee32f503..ee2453c292 100644 --- a/app/src/main/java/androidx/core/graphics/PointKt.java +++ b/app/src/main/java/androidx/core/graphics/PointKt.java @@ -2,7 +2,7 @@ package androidx.core.graphics; import android.graphics.Point; import android.graphics.PointF; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Point.kt */ public final class PointKt { public static final float component1(PointF pointF) { diff --git a/app/src/main/java/androidx/core/graphics/PorterDuffKt.java b/app/src/main/java/androidx/core/graphics/PorterDuffKt.java index d0ba5d110b..219cc14308 100644 --- a/app/src/main/java/androidx/core/graphics/PorterDuffKt.java +++ b/app/src/main/java/androidx/core/graphics/PorterDuffKt.java @@ -3,7 +3,7 @@ package androidx.core.graphics; import android.graphics.PorterDuff; import android.graphics.PorterDuffColorFilter; import android.graphics.PorterDuffXfermode; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: PorterDuff.kt */ public final class PorterDuffKt { public static final PorterDuffColorFilter toColorFilter(PorterDuff.Mode mode, int i) { diff --git a/app/src/main/java/androidx/core/graphics/RectKt.java b/app/src/main/java/androidx/core/graphics/RectKt.java index e23daaac1e..7bfb26253b 100644 --- a/app/src/main/java/androidx/core/graphics/RectKt.java +++ b/app/src/main/java/androidx/core/graphics/RectKt.java @@ -7,7 +7,7 @@ import android.graphics.PointF; import android.graphics.Rect; import android.graphics.RectF; import android.graphics.Region; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Rect.kt */ public final class RectKt { @SuppressLint({"CheckResult"}) diff --git a/app/src/main/java/androidx/core/graphics/RegionKt$iterator$1.java b/app/src/main/java/androidx/core/graphics/RegionKt$iterator$1.java index 31fef9dff8..ec442e3a08 100644 --- a/app/src/main/java/androidx/core/graphics/RegionKt$iterator$1.java +++ b/app/src/main/java/androidx/core/graphics/RegionKt$iterator$1.java @@ -3,7 +3,7 @@ package androidx.core.graphics; import android.graphics.Rect; import android.graphics.Region; import android.graphics.RegionIterator; -import c0.z.d.g0.a; +import d0.z.d.g0.a; import java.util.Iterator; /* compiled from: Region.kt */ public final class RegionKt$iterator$1 implements Iterator, a { diff --git a/app/src/main/java/androidx/core/graphics/RegionKt.java b/app/src/main/java/androidx/core/graphics/RegionKt.java index 36b7751623..6cfc18b1e8 100644 --- a/app/src/main/java/androidx/core/graphics/RegionKt.java +++ b/app/src/main/java/androidx/core/graphics/RegionKt.java @@ -4,7 +4,7 @@ import android.graphics.Point; import android.graphics.Rect; import android.graphics.Region; import android.graphics.RegionIterator; -import c0.z.d.m; +import d0.z.d.m; import java.util.Iterator; import kotlin.Unit; import kotlin.jvm.functions.Function1; diff --git a/app/src/main/java/androidx/core/graphics/ShaderKt.java b/app/src/main/java/androidx/core/graphics/ShaderKt.java index d183aa0cd7..55e95b35d4 100644 --- a/app/src/main/java/androidx/core/graphics/ShaderKt.java +++ b/app/src/main/java/androidx/core/graphics/ShaderKt.java @@ -2,7 +2,7 @@ package androidx.core.graphics; import android.graphics.Matrix; import android.graphics.Shader; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Shader.kt */ diff --git a/app/src/main/java/androidx/core/graphics/TypefaceCompatApi26Impl.java b/app/src/main/java/androidx/core/graphics/TypefaceCompatApi26Impl.java index bcfd8a471f..134a81e296 100644 --- a/app/src/main/java/androidx/core/graphics/TypefaceCompatApi26Impl.java +++ b/app/src/main/java/androidx/core/graphics/TypefaceCompatApi26Impl.java @@ -60,9 +60,9 @@ public class TypefaceCompatApi26Impl extends TypefaceCompatApi21Impl { method5 = obtainCreateFromFamiliesWithDefaultMethod(obtainFontFamily); cls = obtainFontFamily; } catch (ClassNotFoundException | NoSuchMethodException e) { - StringBuilder O = a.O("Unable to collect necessary methods for class "); - O.append(e.getClass().getName()); - Log.e(TAG, O.toString(), e); + StringBuilder R = a.R("Unable to collect necessary methods for class "); + R.append(e.getClass().getName()); + Log.e(TAG, R.toString(), e); method5 = null; constructor = null; method4 = null; diff --git a/app/src/main/java/androidx/core/graphics/TypefaceCompatUtil.java b/app/src/main/java/androidx/core/graphics/TypefaceCompatUtil.java index 0337125787..8317964a5d 100644 --- a/app/src/main/java/androidx/core/graphics/TypefaceCompatUtil.java +++ b/app/src/main/java/androidx/core/graphics/TypefaceCompatUtil.java @@ -139,14 +139,14 @@ public class TypefaceCompatUtil { if (cacheDir == null) { return null; } - StringBuilder O = a.O(CACHE_FILE_PREFIX); - O.append(Process.myPid()); - O.append("-"); - O.append(Process.myTid()); - O.append("-"); - String sb = O.toString(); + StringBuilder R = a.R(CACHE_FILE_PREFIX); + R.append(Process.myPid()); + R.append("-"); + R.append(Process.myTid()); + R.append("-"); + String sb = R.toString(); for (int i = 0; i < 100; i++) { - File file = new File(cacheDir, a.l(sb, i)); + File file = new File(cacheDir, a.p(sb, i)); try { if (file.createNewFile()) { return file; diff --git a/app/src/main/java/androidx/core/graphics/drawable/BitmapDrawableKt.java b/app/src/main/java/androidx/core/graphics/drawable/BitmapDrawableKt.java index 5c1bc23ed7..e487512d8a 100644 --- a/app/src/main/java/androidx/core/graphics/drawable/BitmapDrawableKt.java +++ b/app/src/main/java/androidx/core/graphics/drawable/BitmapDrawableKt.java @@ -3,7 +3,7 @@ package androidx.core.graphics.drawable; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: BitmapDrawable.kt */ public final class BitmapDrawableKt { public static final BitmapDrawable toDrawable(Bitmap bitmap, Resources resources) { diff --git a/app/src/main/java/androidx/core/graphics/drawable/ColorDrawableKt.java b/app/src/main/java/androidx/core/graphics/drawable/ColorDrawableKt.java index 259259ab84..9892593889 100644 --- a/app/src/main/java/androidx/core/graphics/drawable/ColorDrawableKt.java +++ b/app/src/main/java/androidx/core/graphics/drawable/ColorDrawableKt.java @@ -4,7 +4,7 @@ import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import androidx.annotation.ColorInt; import androidx.annotation.RequiresApi; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: ColorDrawable.kt */ public final class ColorDrawableKt { public static final ColorDrawable toDrawable(@ColorInt int i) { diff --git a/app/src/main/java/androidx/core/graphics/drawable/DrawableKt.java b/app/src/main/java/androidx/core/graphics/drawable/DrawableKt.java index e51d64102d..e074f6b2f8 100644 --- a/app/src/main/java/androidx/core/graphics/drawable/DrawableKt.java +++ b/app/src/main/java/androidx/core/graphics/drawable/DrawableKt.java @@ -6,7 +6,7 @@ import android.graphics.Rect; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import androidx.annotation.Px; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Drawable.kt */ public final class DrawableKt { public static final Bitmap toBitmap(Drawable drawable, @Px int i, @Px int i2, Bitmap.Config config) { diff --git a/app/src/main/java/androidx/core/graphics/drawable/IconCompat.java b/app/src/main/java/androidx/core/graphics/drawable/IconCompat.java index e146db60c8..988bcd617d 100644 --- a/app/src/main/java/androidx/core/graphics/drawable/IconCompat.java +++ b/app/src/main/java/androidx/core/graphics/drawable/IconCompat.java @@ -134,7 +134,7 @@ public class IconCompat extends CustomVersionedParcelable { break; case 0: default: - a.i0("Unknown type ", i, TAG); + Log.w(TAG, "Unknown type " + i); return null; case 2: case 4: @@ -506,9 +506,9 @@ public class IconCompat extends CustomVersionedParcelable { drawable2.setBounds(0, 0, bitmap.getWidth(), bitmap.getHeight()); drawable2.draw(new Canvas(bitmap)); } catch (PackageManager.NameNotFoundException e) { - StringBuilder O = a.O("Can't find package "); - O.append(this.mObj1); - throw new IllegalArgumentException(O.toString(), e); + StringBuilder R = a.R("Can't find package "); + R.append(this.mObj1); + throw new IllegalArgumentException(R.toString(), e); } } else if (i == 5) { bitmap = createLegacyIconFromAdaptiveIcon((Bitmap) this.mObj1, true); @@ -830,14 +830,14 @@ public class IconCompat extends CustomVersionedParcelable { break; } } else { - StringBuilder O = a.O("Cannot load adaptive icon from uri: "); - O.append(getUri()); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Cannot load adaptive icon from uri: "); + R.append(getUri()); + throw new IllegalStateException(R.toString()); } } else { - StringBuilder O2 = a.O("Context is required to resolve the file uri of the icon: "); - O2.append(getUri()); - throw new IllegalArgumentException(O2.toString()); + StringBuilder R2 = a.R("Context is required to resolve the file uri of the icon: "); + R2.append(getUri()); + throw new IllegalArgumentException(R2.toString()); } } ColorStateList colorStateList = this.mTintList; diff --git a/app/src/main/java/androidx/core/graphics/drawable/IconKt.java b/app/src/main/java/androidx/core/graphics/drawable/IconKt.java index 1b5980a612..92f6a52ca8 100644 --- a/app/src/main/java/androidx/core/graphics/drawable/IconKt.java +++ b/app/src/main/java/androidx/core/graphics/drawable/IconKt.java @@ -4,7 +4,7 @@ import android.graphics.Bitmap; import android.graphics.drawable.Icon; import android.net.Uri; import androidx.annotation.RequiresApi; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Icon.kt */ public final class IconKt { @RequiresApi(26) diff --git a/app/src/main/java/androidx/core/graphics/drawable/RoundedBitmapDrawableFactory.java b/app/src/main/java/androidx/core/graphics/drawable/RoundedBitmapDrawableFactory.java index 1ea6cd0c59..2699b7e3fa 100644 --- a/app/src/main/java/androidx/core/graphics/drawable/RoundedBitmapDrawableFactory.java +++ b/app/src/main/java/androidx/core/graphics/drawable/RoundedBitmapDrawableFactory.java @@ -9,7 +9,6 @@ import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.core.graphics.BitmapCompat; import androidx.core.view.GravityCompat; -import c.d.b.a.a; import java.io.InputStream; public final class RoundedBitmapDrawableFactory { private static final String TAG = "RoundedBitmapDrawableFa"; @@ -61,7 +60,7 @@ public final class RoundedBitmapDrawableFactory { public static RoundedBitmapDrawable create(@NonNull Resources resources, @NonNull String str) { RoundedBitmapDrawable create = create(resources, BitmapFactory.decodeFile(str)); if (create.getBitmap() == null) { - a.k0("RoundedBitmapDrawable cannot decode ", str, TAG); + Log.w(TAG, "RoundedBitmapDrawable cannot decode " + str); } return create; } diff --git a/app/src/main/java/androidx/core/location/LocationKt.java b/app/src/main/java/androidx/core/location/LocationKt.java index 69ae480113..4add48fa29 100644 --- a/app/src/main/java/androidx/core/location/LocationKt.java +++ b/app/src/main/java/androidx/core/location/LocationKt.java @@ -1,7 +1,7 @@ package androidx.core.location; import android.location.Location; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Location.kt */ public final class LocationKt { public static final double component1(Location location) { diff --git a/app/src/main/java/androidx/core/net/MailTo.java b/app/src/main/java/androidx/core/net/MailTo.java index 69d8df8639..d59cf5964f 100644 --- a/app/src/main/java/androidx/core/net/MailTo.java +++ b/app/src/main/java/androidx/core/net/MailTo.java @@ -63,7 +63,7 @@ public final class MailTo { } String to = mailTo.getTo(); if (to != null) { - str3 = a.v(str3, ", ", to); + str3 = a.w(str3, ", ", to); } mailTo.mHeaders.put(TO, str3); return mailTo; diff --git a/app/src/main/java/androidx/core/net/UriCompat.java b/app/src/main/java/androidx/core/net/UriCompat.java index b05e16e0a5..62a0325d5f 100644 --- a/app/src/main/java/androidx/core/net/UriCompat.java +++ b/app/src/main/java/androidx/core/net/UriCompat.java @@ -30,15 +30,15 @@ public final class UriCompat { } return sb.toString(); } else if (scheme.equalsIgnoreCase("http") || scheme.equalsIgnoreCase(Constants.SCHEME) || scheme.equalsIgnoreCase("ftp") || scheme.equalsIgnoreCase("rtsp")) { - StringBuilder O = a.O("//"); + StringBuilder R = a.R("//"); String str = ""; - O.append(uri.getHost() != null ? uri.getHost() : str); + R.append(uri.getHost() != null ? uri.getHost() : str); if (uri.getPort() != -1) { - StringBuilder O2 = a.O(":"); - O2.append(uri.getPort()); - str = O2.toString(); + StringBuilder R2 = a.R(":"); + R2.append(uri.getPort()); + str = R2.toString(); } - schemeSpecificPart = a.G(O, str, "/..."); + schemeSpecificPart = a.H(R, str, "/..."); } } StringBuilder sb2 = new StringBuilder(64); diff --git a/app/src/main/java/androidx/core/net/UriKt.java b/app/src/main/java/androidx/core/net/UriKt.java index 0098d63ae7..efcf1c0b96 100644 --- a/app/src/main/java/androidx/core/net/UriKt.java +++ b/app/src/main/java/androidx/core/net/UriKt.java @@ -1,7 +1,7 @@ package androidx.core.net; import android.net.Uri; -import c0.z.d.m; +import d0.z.d.m; import java.io.File; /* compiled from: Uri.kt */ public final class UriKt { diff --git a/app/src/main/java/androidx/core/os/BundleKt.java b/app/src/main/java/androidx/core/os/BundleKt.java index 1d71608202..20e9d40159 100644 --- a/app/src/main/java/androidx/core/os/BundleKt.java +++ b/app/src/main/java/androidx/core/os/BundleKt.java @@ -5,7 +5,7 @@ import android.os.IBinder; import android.os.Parcelable; import android.util.Size; import android.util.SizeF; -import c0.z.d.m; +import d0.z.d.m; import java.io.Serializable; import kotlin.Pair; /* compiled from: Bundle.kt */ diff --git a/app/src/main/java/androidx/core/os/HandlerKt$postAtTime$runnable$1.java b/app/src/main/java/androidx/core/os/HandlerKt$postAtTime$runnable$1.java index 9815a2a579..d7d6edede4 100644 --- a/app/src/main/java/androidx/core/os/HandlerKt$postAtTime$runnable$1.java +++ b/app/src/main/java/androidx/core/os/HandlerKt$postAtTime$runnable$1.java @@ -12,6 +12,6 @@ public final class HandlerKt$postAtTime$runnable$1 implements Runnable { @Override // java.lang.Runnable public final void run() { - this.$action.mo17invoke(); + this.$action.mo1invoke(); } } diff --git a/app/src/main/java/androidx/core/os/HandlerKt$postDelayed$runnable$1.java b/app/src/main/java/androidx/core/os/HandlerKt$postDelayed$runnable$1.java index 13ed143fca..75497d52e3 100644 --- a/app/src/main/java/androidx/core/os/HandlerKt$postDelayed$runnable$1.java +++ b/app/src/main/java/androidx/core/os/HandlerKt$postDelayed$runnable$1.java @@ -12,6 +12,6 @@ public final class HandlerKt$postDelayed$runnable$1 implements Runnable { @Override // java.lang.Runnable public final void run() { - this.$action.mo17invoke(); + this.$action.mo1invoke(); } } diff --git a/app/src/main/java/androidx/core/os/HandlerKt.java b/app/src/main/java/androidx/core/os/HandlerKt.java index e1ccfcc557..6801c69faa 100644 --- a/app/src/main/java/androidx/core/os/HandlerKt.java +++ b/app/src/main/java/androidx/core/os/HandlerKt.java @@ -1,7 +1,7 @@ package androidx.core.os; import android.os.Handler; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: Handler.kt */ diff --git a/app/src/main/java/androidx/core/os/LocaleListCompat.java b/app/src/main/java/androidx/core/os/LocaleListCompat.java index fa0e2feb18..c8eb3737f8 100644 --- a/app/src/main/java/androidx/core/os/LocaleListCompat.java +++ b/app/src/main/java/androidx/core/os/LocaleListCompat.java @@ -48,7 +48,7 @@ public final class LocaleListCompat { return new Locale(split2[0]); } } - throw new IllegalArgumentException(a.v("Can not parse language tag: [", str, "]")); + throw new IllegalArgumentException(a.w("Can not parse language tag: [", str, "]")); } @NonNull diff --git a/app/src/main/java/androidx/core/os/LocaleListCompatWrapper.java b/app/src/main/java/androidx/core/os/LocaleListCompatWrapper.java index 086ae2415d..588f1633e6 100644 --- a/app/src/main/java/androidx/core/os/LocaleListCompatWrapper.java +++ b/app/src/main/java/androidx/core/os/LocaleListCompatWrapper.java @@ -41,7 +41,7 @@ public final class LocaleListCompatWrapper implements LocaleListInterface { hashSet.add(locale2); } } else { - throw new NullPointerException(a.n("list[", i, "] is null")); + throw new NullPointerException(a.q("list[", i, "] is null")); } } this.mList = (Locale[]) arrayList.toArray(new Locale[arrayList.size()]); @@ -229,19 +229,19 @@ public final class LocaleListCompatWrapper implements LocaleListInterface { } public String toString() { - StringBuilder O = a.O("["); + StringBuilder R = a.R("["); int i = 0; while (true) { Locale[] localeArr = this.mList; if (i < localeArr.length) { - O.append(localeArr[i]); + R.append(localeArr[i]); if (i < this.mList.length - 1) { - O.append(','); + R.append(','); } i++; } else { - O.append("]"); - return O.toString(); + R.append("]"); + return R.toString(); } } } diff --git a/app/src/main/java/androidx/core/os/PersistableBundleKt.java b/app/src/main/java/androidx/core/os/PersistableBundleKt.java index acf915d801..ad3ba489f2 100644 --- a/app/src/main/java/androidx/core/os/PersistableBundleKt.java +++ b/app/src/main/java/androidx/core/os/PersistableBundleKt.java @@ -3,7 +3,7 @@ package androidx.core.os; import android.os.Build; import android.os.PersistableBundle; import androidx.annotation.RequiresApi; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Pair; /* compiled from: PersistableBundle.kt */ public final class PersistableBundleKt { diff --git a/app/src/main/java/androidx/core/os/TraceKt.java b/app/src/main/java/androidx/core/os/TraceKt.java index 00d37669d4..1d05dc6d1a 100644 --- a/app/src/main/java/androidx/core/os/TraceKt.java +++ b/app/src/main/java/androidx/core/os/TraceKt.java @@ -1,7 +1,7 @@ package androidx.core.os; -import c0.z.d.l; -import c0.z.d.m; +import d0.z.d.l; +import d0.z.d.m; import kotlin.jvm.functions.Function0; /* compiled from: Trace.kt */ public final class TraceKt { @@ -11,7 +11,7 @@ public final class TraceKt { TraceCompat.beginSection(str); int i = 1; try { - return (T) function0.mo17invoke(); + return (T) function0.mo1invoke(); } finally { l.finallyStart(i); TraceCompat.endSection(); diff --git a/app/src/main/java/androidx/core/provider/FontProvider.java b/app/src/main/java/androidx/core/provider/FontProvider.java index 0abaa07460..48404c43e3 100644 --- a/app/src/main/java/androidx/core/provider/FontProvider.java +++ b/app/src/main/java/androidx/core/provider/FontProvider.java @@ -83,7 +83,7 @@ public class FontProvider { String providerAuthority = fontRequest.getProviderAuthority(); ProviderInfo resolveContentProvider = packageManager.resolveContentProvider(providerAuthority, 0); if (resolveContentProvider == null) { - throw new PackageManager.NameNotFoundException(a.u("No package found for authority: ", providerAuthority)); + throw new PackageManager.NameNotFoundException(a.v("No package found for authority: ", providerAuthority)); } else if (resolveContentProvider.packageName.equals(fontRequest.getProviderPackage())) { List convertToByteArrayList = convertToByteArrayList(packageManager.getPackageInfo(resolveContentProvider.packageName, 64).signatures); Collections.sort(convertToByteArrayList, sByteArrayComparator); @@ -97,9 +97,9 @@ public class FontProvider { } return null; } else { - StringBuilder U = a.U("Found content provider ", providerAuthority, ", but package was not "); - U.append(fontRequest.getProviderPackage()); - throw new PackageManager.NameNotFoundException(U.toString()); + StringBuilder W = a.W("Found content provider ", providerAuthority, ", but package was not "); + W.append(fontRequest.getProviderPackage()); + throw new PackageManager.NameNotFoundException(W.toString()); } } diff --git a/app/src/main/java/androidx/core/provider/FontRequest.java b/app/src/main/java/androidx/core/provider/FontRequest.java index 43b9d19758..409a8fac1e 100644 --- a/app/src/main/java/androidx/core/provider/FontRequest.java +++ b/app/src/main/java/androidx/core/provider/FontRequest.java @@ -78,14 +78,14 @@ public final class FontRequest { public String toString() { StringBuilder sb = new StringBuilder(); - StringBuilder O = a.O("FontRequest {mProviderAuthority: "); - O.append(this.mProviderAuthority); - O.append(", mProviderPackage: "); - O.append(this.mProviderPackage); - O.append(", mQuery: "); - O.append(this.mQuery); - O.append(", mCertificates:"); - sb.append(O.toString()); + StringBuilder R = a.R("FontRequest {mProviderAuthority: "); + R.append(this.mProviderAuthority); + R.append(", mProviderPackage: "); + R.append(this.mProviderPackage); + R.append(", mQuery: "); + R.append(this.mQuery); + R.append(", mCertificates:"); + sb.append(R.toString()); for (int i = 0; i < this.mCertificates.size(); i++) { sb.append(" ["); List list = this.mCertificates.get(i); diff --git a/app/src/main/java/androidx/core/text/CharSequenceKt.java b/app/src/main/java/androidx/core/text/CharSequenceKt.java index 17a9e179d4..3ef64d3db4 100644 --- a/app/src/main/java/androidx/core/text/CharSequenceKt.java +++ b/app/src/main/java/androidx/core/text/CharSequenceKt.java @@ -1,7 +1,7 @@ package androidx.core.text; import android.text.TextUtils; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: CharSequence.kt */ public final class CharSequenceKt { public static final boolean isDigitsOnly(CharSequence charSequence) { diff --git a/app/src/main/java/androidx/core/text/HtmlKt.java b/app/src/main/java/androidx/core/text/HtmlKt.java index 7c53cf24bc..0a5820c731 100644 --- a/app/src/main/java/androidx/core/text/HtmlKt.java +++ b/app/src/main/java/androidx/core/text/HtmlKt.java @@ -2,7 +2,7 @@ package androidx.core.text; import android.text.Html; import android.text.Spanned; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Html.kt */ public final class HtmlKt { public static final Spanned parseAsHtml(String str, int i, Html.ImageGetter imageGetter, Html.TagHandler tagHandler) { diff --git a/app/src/main/java/androidx/core/text/LocaleKt.java b/app/src/main/java/androidx/core/text/LocaleKt.java index 8920f70099..a44fa7874a 100644 --- a/app/src/main/java/androidx/core/text/LocaleKt.java +++ b/app/src/main/java/androidx/core/text/LocaleKt.java @@ -2,7 +2,7 @@ package androidx.core.text; import android.text.TextUtils; import androidx.annotation.RequiresApi; -import c0.z.d.m; +import d0.z.d.m; import java.util.Locale; /* compiled from: Locale.kt */ public final class LocaleKt { diff --git a/app/src/main/java/androidx/core/text/PrecomputedTextCompat.java b/app/src/main/java/androidx/core/text/PrecomputedTextCompat.java index 7e16c1e85c..b7967b4c29 100644 --- a/app/src/main/java/androidx/core/text/PrecomputedTextCompat.java +++ b/app/src/main/java/androidx/core/text/PrecomputedTextCompat.java @@ -172,36 +172,36 @@ public class PrecomputedTextCompat implements Spannable { public String toString() { StringBuilder sb = new StringBuilder("{"); - StringBuilder O = a.O("textSize="); - O.append(this.mPaint.getTextSize()); - sb.append(O.toString()); + StringBuilder R = a.R("textSize="); + R.append(this.mPaint.getTextSize()); + sb.append(R.toString()); sb.append(", textScaleX=" + this.mPaint.getTextScaleX()); sb.append(", textSkewX=" + this.mPaint.getTextSkewX()); int i = Build.VERSION.SDK_INT; - StringBuilder O2 = a.O(", letterSpacing="); - O2.append(this.mPaint.getLetterSpacing()); - sb.append(O2.toString()); + StringBuilder R2 = a.R(", letterSpacing="); + R2.append(this.mPaint.getLetterSpacing()); + sb.append(R2.toString()); sb.append(", elegantTextHeight=" + this.mPaint.isElegantTextHeight()); if (i >= 24) { - StringBuilder O3 = a.O(", textLocale="); - O3.append(this.mPaint.getTextLocales()); - sb.append(O3.toString()); + StringBuilder R3 = a.R(", textLocale="); + R3.append(this.mPaint.getTextLocales()); + sb.append(R3.toString()); } else { - StringBuilder O4 = a.O(", textLocale="); - O4.append(this.mPaint.getTextLocale()); - sb.append(O4.toString()); + StringBuilder R4 = a.R(", textLocale="); + R4.append(this.mPaint.getTextLocale()); + sb.append(R4.toString()); } - StringBuilder O5 = a.O(", typeface="); - O5.append(this.mPaint.getTypeface()); - sb.append(O5.toString()); + StringBuilder R5 = a.R(", typeface="); + R5.append(this.mPaint.getTypeface()); + sb.append(R5.toString()); if (i >= 26) { - StringBuilder O6 = a.O(", variationSettings="); - O6.append(this.mPaint.getFontVariationSettings()); - sb.append(O6.toString()); + StringBuilder R6 = a.R(", variationSettings="); + R6.append(this.mPaint.getFontVariationSettings()); + sb.append(R6.toString()); } - StringBuilder O7 = a.O(", textDir="); - O7.append(this.mTextDir); - sb.append(O7.toString()); + StringBuilder R7 = a.R(", textDir="); + R7.append(this.mTextDir); + sb.append(R7.toString()); sb.append(", breakStrategy=" + this.mBreakStrategy); sb.append(", hyphenationFrequency=" + this.mHyphenationFrequency); sb.append("}"); diff --git a/app/src/main/java/androidx/core/text/SpannableStringBuilderKt.java b/app/src/main/java/androidx/core/text/SpannableStringBuilderKt.java index 7eb2c57634..2f86a89324 100644 --- a/app/src/main/java/androidx/core/text/SpannableStringBuilderKt.java +++ b/app/src/main/java/androidx/core/text/SpannableStringBuilderKt.java @@ -11,7 +11,7 @@ import android.text.style.SubscriptSpan; import android.text.style.SuperscriptSpan; import android.text.style.UnderlineSpan; import androidx.annotation.ColorInt; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: SpannableStringBuilder.kt */ diff --git a/app/src/main/java/androidx/core/text/SpannableStringKt.java b/app/src/main/java/androidx/core/text/SpannableStringKt.java index 32a1fd7c50..fc5b9f7d19 100644 --- a/app/src/main/java/androidx/core/text/SpannableStringKt.java +++ b/app/src/main/java/androidx/core/text/SpannableStringKt.java @@ -3,7 +3,7 @@ package androidx.core.text; import android.annotation.SuppressLint; import android.text.Spannable; import android.text.SpannableString; -import c0.z.d.m; +import d0.z.d.m; import kotlin.ranges.IntRange; /* compiled from: SpannableString.kt */ public final class SpannableStringKt { diff --git a/app/src/main/java/androidx/core/text/SpannedStringKt.java b/app/src/main/java/androidx/core/text/SpannedStringKt.java index 7c9e2c9076..19a8d813c7 100644 --- a/app/src/main/java/androidx/core/text/SpannedStringKt.java +++ b/app/src/main/java/androidx/core/text/SpannedStringKt.java @@ -3,7 +3,7 @@ package androidx.core.text; import android.text.Spanned; import android.text.SpannedString; import androidx.exifinterface.media.ExifInterface; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: SpannedString.kt */ public final class SpannedStringKt { public static final /* synthetic */ T[] getSpans(Spanned spanned, int i, int i2) { diff --git a/app/src/main/java/androidx/core/text/StringKt.java b/app/src/main/java/androidx/core/text/StringKt.java index 13bdbf2620..b342996d48 100644 --- a/app/src/main/java/androidx/core/text/StringKt.java +++ b/app/src/main/java/androidx/core/text/StringKt.java @@ -1,7 +1,7 @@ package androidx.core.text; import android.text.TextUtils; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: String.kt */ public final class StringKt { public static final String htmlEncode(String str) { diff --git a/app/src/main/java/androidx/core/text/util/LinkifyCompat.java b/app/src/main/java/androidx/core/text/util/LinkifyCompat.java index d14973a89d..47450bbf63 100644 --- a/app/src/main/java/androidx/core/text/util/LinkifyCompat.java +++ b/app/src/main/java/androidx/core/text/util/LinkifyCompat.java @@ -273,7 +273,7 @@ public final class LinkifyCompat { str = strArr[i] + str.substring(strArr[i].length()); } } - return (z2 || strArr.length <= 0) ? str : a.G(new StringBuilder(), strArr[0], str); + return (z2 || strArr.length <= 0) ? str : a.H(new StringBuilder(), strArr[0], str); } private static void pruneOverlaps(ArrayList arrayList, Spannable spannable) { diff --git a/app/src/main/java/androidx/core/transition/TransitionKt$addListener$1.java b/app/src/main/java/androidx/core/transition/TransitionKt$addListener$1.java index 52af83c365..7262013290 100644 --- a/app/src/main/java/androidx/core/transition/TransitionKt$addListener$1.java +++ b/app/src/main/java/androidx/core/transition/TransitionKt$addListener$1.java @@ -1,8 +1,8 @@ package androidx.core.transition; import android.transition.Transition; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Transition.kt */ diff --git a/app/src/main/java/androidx/core/transition/TransitionKt$addListener$2.java b/app/src/main/java/androidx/core/transition/TransitionKt$addListener$2.java index 6ebdf38571..c38a3370da 100644 --- a/app/src/main/java/androidx/core/transition/TransitionKt$addListener$2.java +++ b/app/src/main/java/androidx/core/transition/TransitionKt$addListener$2.java @@ -1,8 +1,8 @@ package androidx.core.transition; import android.transition.Transition; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Transition.kt */ diff --git a/app/src/main/java/androidx/core/transition/TransitionKt$addListener$3.java b/app/src/main/java/androidx/core/transition/TransitionKt$addListener$3.java index 2484c9fda9..4ee05daf8f 100644 --- a/app/src/main/java/androidx/core/transition/TransitionKt$addListener$3.java +++ b/app/src/main/java/androidx/core/transition/TransitionKt$addListener$3.java @@ -1,8 +1,8 @@ package androidx.core.transition; import android.transition.Transition; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Transition.kt */ diff --git a/app/src/main/java/androidx/core/transition/TransitionKt$addListener$4.java b/app/src/main/java/androidx/core/transition/TransitionKt$addListener$4.java index 8b30e70aa2..c2b9ec74b9 100644 --- a/app/src/main/java/androidx/core/transition/TransitionKt$addListener$4.java +++ b/app/src/main/java/androidx/core/transition/TransitionKt$addListener$4.java @@ -1,8 +1,8 @@ package androidx.core.transition; import android.transition.Transition; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Transition.kt */ diff --git a/app/src/main/java/androidx/core/transition/TransitionKt$addListener$5.java b/app/src/main/java/androidx/core/transition/TransitionKt$addListener$5.java index a51e205af4..a578a3a823 100644 --- a/app/src/main/java/androidx/core/transition/TransitionKt$addListener$5.java +++ b/app/src/main/java/androidx/core/transition/TransitionKt$addListener$5.java @@ -1,8 +1,8 @@ package androidx.core.transition; import android.transition.Transition; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Transition.kt */ diff --git a/app/src/main/java/androidx/core/transition/TransitionKt$addListener$listener$1.java b/app/src/main/java/androidx/core/transition/TransitionKt$addListener$listener$1.java index a40f680d57..ca38a7589a 100644 --- a/app/src/main/java/androidx/core/transition/TransitionKt$addListener$listener$1.java +++ b/app/src/main/java/androidx/core/transition/TransitionKt$addListener$listener$1.java @@ -1,7 +1,7 @@ package androidx.core.transition; import android.transition.Transition; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Transition.kt */ diff --git a/app/src/main/java/androidx/core/transition/TransitionKt$doOnCancel$$inlined$addListener$default$1.java b/app/src/main/java/androidx/core/transition/TransitionKt$doOnCancel$$inlined$addListener$default$1.java index a31f6fbfe6..f65d4f98f3 100644 --- a/app/src/main/java/androidx/core/transition/TransitionKt$doOnCancel$$inlined$addListener$default$1.java +++ b/app/src/main/java/androidx/core/transition/TransitionKt$doOnCancel$$inlined$addListener$default$1.java @@ -1,7 +1,7 @@ package androidx.core.transition; import android.transition.Transition; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: Transition.kt */ public final class TransitionKt$doOnCancel$$inlined$addListener$default$1 implements Transition.TransitionListener { diff --git a/app/src/main/java/androidx/core/transition/TransitionKt$doOnEnd$$inlined$addListener$default$1.java b/app/src/main/java/androidx/core/transition/TransitionKt$doOnEnd$$inlined$addListener$default$1.java index 10afe53cb5..2f93fc3235 100644 --- a/app/src/main/java/androidx/core/transition/TransitionKt$doOnEnd$$inlined$addListener$default$1.java +++ b/app/src/main/java/androidx/core/transition/TransitionKt$doOnEnd$$inlined$addListener$default$1.java @@ -1,7 +1,7 @@ package androidx.core.transition; import android.transition.Transition; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: Transition.kt */ public final class TransitionKt$doOnEnd$$inlined$addListener$default$1 implements Transition.TransitionListener { diff --git a/app/src/main/java/androidx/core/transition/TransitionKt$doOnPause$$inlined$addListener$default$1.java b/app/src/main/java/androidx/core/transition/TransitionKt$doOnPause$$inlined$addListener$default$1.java index 7920a0f120..6afbd6d6e3 100644 --- a/app/src/main/java/androidx/core/transition/TransitionKt$doOnPause$$inlined$addListener$default$1.java +++ b/app/src/main/java/androidx/core/transition/TransitionKt$doOnPause$$inlined$addListener$default$1.java @@ -1,7 +1,7 @@ package androidx.core.transition; import android.transition.Transition; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: Transition.kt */ public final class TransitionKt$doOnPause$$inlined$addListener$default$1 implements Transition.TransitionListener { diff --git a/app/src/main/java/androidx/core/transition/TransitionKt$doOnResume$$inlined$addListener$default$1.java b/app/src/main/java/androidx/core/transition/TransitionKt$doOnResume$$inlined$addListener$default$1.java index 1f656d48ab..1fc8f73539 100644 --- a/app/src/main/java/androidx/core/transition/TransitionKt$doOnResume$$inlined$addListener$default$1.java +++ b/app/src/main/java/androidx/core/transition/TransitionKt$doOnResume$$inlined$addListener$default$1.java @@ -1,7 +1,7 @@ package androidx.core.transition; import android.transition.Transition; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: Transition.kt */ public final class TransitionKt$doOnResume$$inlined$addListener$default$1 implements Transition.TransitionListener { diff --git a/app/src/main/java/androidx/core/transition/TransitionKt$doOnStart$$inlined$addListener$default$1.java b/app/src/main/java/androidx/core/transition/TransitionKt$doOnStart$$inlined$addListener$default$1.java index 87a97a3118..139a7faca2 100644 --- a/app/src/main/java/androidx/core/transition/TransitionKt$doOnStart$$inlined$addListener$default$1.java +++ b/app/src/main/java/androidx/core/transition/TransitionKt$doOnStart$$inlined$addListener$default$1.java @@ -1,7 +1,7 @@ package androidx.core.transition; import android.transition.Transition; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: Transition.kt */ public final class TransitionKt$doOnStart$$inlined$addListener$default$1 implements Transition.TransitionListener { diff --git a/app/src/main/java/androidx/core/transition/TransitionKt.java b/app/src/main/java/androidx/core/transition/TransitionKt.java index be7549882a..01fee76e3a 100644 --- a/app/src/main/java/androidx/core/transition/TransitionKt.java +++ b/app/src/main/java/androidx/core/transition/TransitionKt.java @@ -2,7 +2,7 @@ package androidx.core.transition; import android.transition.Transition; import androidx.annotation.RequiresApi; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: Transition.kt */ diff --git a/app/src/main/java/androidx/core/util/AtomicFile.java b/app/src/main/java/androidx/core/util/AtomicFile.java index ceeb3197ef..f9ba7cb525 100644 --- a/app/src/main/java/androidx/core/util/AtomicFile.java +++ b/app/src/main/java/androidx/core/util/AtomicFile.java @@ -56,9 +56,9 @@ public class AtomicFile { Log.e(LOG_TAG, "Failed to close file output stream", e); } if (!this.mNewName.delete()) { - StringBuilder O = a.O("Failed to delete new file "); - O.append(this.mNewName); - Log.e(LOG_TAG, O.toString()); + StringBuilder R = a.R("Failed to delete new file "); + R.append(this.mNewName); + Log.e(LOG_TAG, R.toString()); } } } @@ -88,9 +88,9 @@ public class AtomicFile { rename(this.mLegacyBackupName, this.mBaseName); } if (this.mNewName.exists() && this.mBaseName.exists() && !this.mNewName.delete()) { - StringBuilder O = a.O("Failed to delete outdated new file "); - O.append(this.mNewName); - Log.e(LOG_TAG, O.toString()); + StringBuilder R = a.R("Failed to delete outdated new file "); + R.append(this.mNewName); + Log.e(LOG_TAG, R.toString()); } return new FileInputStream(this.mBaseName); } @@ -131,14 +131,14 @@ public class AtomicFile { try { return new FileOutputStream(this.mNewName); } catch (FileNotFoundException e) { - StringBuilder O = a.O("Failed to create new file "); - O.append(this.mNewName); - throw new IOException(O.toString(), e); + StringBuilder R = a.R("Failed to create new file "); + R.append(this.mNewName); + throw new IOException(R.toString(), e); } } else { - StringBuilder O2 = a.O("Failed to create directory for "); - O2.append(this.mNewName); - throw new IOException(O2.toString()); + StringBuilder R2 = a.R("Failed to create directory for "); + R2.append(this.mNewName); + throw new IOException(R2.toString()); } } } diff --git a/app/src/main/java/androidx/core/util/AtomicFileKt.java b/app/src/main/java/androidx/core/util/AtomicFileKt.java index a6fd469788..5144a5f322 100644 --- a/app/src/main/java/androidx/core/util/AtomicFileKt.java +++ b/app/src/main/java/androidx/core/util/AtomicFileKt.java @@ -3,9 +3,9 @@ package androidx.core.util; import android.util.AtomicFile; import androidx.annotation.RequiresApi; import androidx.core.app.NotificationCompat; -import c0.g0.c; -import c0.z.d.l; -import c0.z.d.m; +import d0.g0.c; +import d0.z.d.l; +import d0.z.d.m; import java.io.FileOutputStream; import java.nio.charset.Charset; import kotlin.Unit; diff --git a/app/src/main/java/androidx/core/util/HalfKt.java b/app/src/main/java/androidx/core/util/HalfKt.java index ca0b97808a..39f2f92b6b 100644 --- a/app/src/main/java/androidx/core/util/HalfKt.java +++ b/app/src/main/java/androidx/core/util/HalfKt.java @@ -2,7 +2,7 @@ package androidx.core.util; import android.util.Half; import androidx.annotation.RequiresApi; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Half.kt */ public final class HalfKt { @RequiresApi(26) @@ -28,8 +28,8 @@ public final class HalfKt { } @RequiresApi(26) - public static final Half toHalf(short s) { - Half valueOf = Half.valueOf(s); + public static final Half toHalf(short s2) { + Half valueOf = Half.valueOf(s2); m.checkNotNullExpressionValue(valueOf, "valueOf(this)"); return valueOf; } diff --git a/app/src/main/java/androidx/core/util/LongSparseArrayKt$keyIterator$1.java b/app/src/main/java/androidx/core/util/LongSparseArrayKt$keyIterator$1.java index e57e246503..842480e083 100644 --- a/app/src/main/java/androidx/core/util/LongSparseArrayKt$keyIterator$1.java +++ b/app/src/main/java/androidx/core/util/LongSparseArrayKt$keyIterator$1.java @@ -1,7 +1,7 @@ package androidx.core.util; import android.util.LongSparseArray; -import c0.t.d0; +import d0.t.d0; /* compiled from: LongSparseArray.kt */ public final class LongSparseArrayKt$keyIterator$1 extends d0 { public final /* synthetic */ LongSparseArray $this_keyIterator; @@ -20,7 +20,7 @@ public final class LongSparseArrayKt$keyIterator$1 extends d0 { return this.index < this.$this_keyIterator.size(); } - @Override // c0.t.d0 + @Override // d0.t.d0 public long nextLong() { LongSparseArray longSparseArray = this.$this_keyIterator; int i = this.index; diff --git a/app/src/main/java/androidx/core/util/LongSparseArrayKt$valueIterator$1.java b/app/src/main/java/androidx/core/util/LongSparseArrayKt$valueIterator$1.java index 5dc8863a43..3627e03cdd 100644 --- a/app/src/main/java/androidx/core/util/LongSparseArrayKt$valueIterator$1.java +++ b/app/src/main/java/androidx/core/util/LongSparseArrayKt$valueIterator$1.java @@ -1,7 +1,7 @@ package androidx.core.util; import android.util.LongSparseArray; -import c0.z.d.g0.a; +import d0.z.d.g0.a; import java.util.Iterator; /* compiled from: LongSparseArray.kt */ public final class LongSparseArrayKt$valueIterator$1 implements Iterator, a { diff --git a/app/src/main/java/androidx/core/util/LongSparseArrayKt.java b/app/src/main/java/androidx/core/util/LongSparseArrayKt.java index 1d36a47fb3..f4ac2d85bc 100644 --- a/app/src/main/java/androidx/core/util/LongSparseArrayKt.java +++ b/app/src/main/java/androidx/core/util/LongSparseArrayKt.java @@ -2,8 +2,8 @@ package androidx.core.util; import android.util.LongSparseArray; import androidx.annotation.RequiresApi; -import c0.t.d0; -import c0.z.d.m; +import d0.t.d0; +import d0.z.d.m; import java.util.Iterator; import kotlin.Unit; import kotlin.jvm.functions.Function0; @@ -59,7 +59,7 @@ public final class LongSparseArrayKt { m.checkNotNullParameter(longSparseArray, ""); m.checkNotNullParameter(function0, "defaultValue"); T t = longSparseArray.get(j); - return t == null ? (T) function0.mo17invoke() : t; + return t == null ? (T) function0.mo1invoke() : t; } @RequiresApi(16) diff --git a/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$1.java b/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$1.java index 1d27eb761a..bcc1c4b617 100644 --- a/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$1.java +++ b/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$1.java @@ -1,7 +1,7 @@ package androidx.core.util; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.jvm.functions.Function2; /* compiled from: LruCache.kt */ public final class LruCacheKt$lruCache$1 extends o implements Function2 { diff --git a/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$2.java b/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$2.java index 3d27995a70..d566c8fc48 100644 --- a/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$2.java +++ b/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$2.java @@ -1,7 +1,7 @@ package androidx.core.util; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.jvm.functions.Function1; /* compiled from: LruCache.kt */ public final class LruCacheKt$lruCache$2 extends o implements Function1 { diff --git a/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$3.java b/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$3.java index 5e8d3cedf4..d1fc98cce0 100644 --- a/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$3.java +++ b/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$3.java @@ -1,7 +1,7 @@ package androidx.core.util; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function4; /* compiled from: LruCache.kt */ diff --git a/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$4.java b/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$4.java index 20146ec508..a74f913e60 100644 --- a/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$4.java +++ b/app/src/main/java/androidx/core/util/LruCacheKt$lruCache$4.java @@ -1,7 +1,7 @@ package androidx.core.util; import android.util.LruCache; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function2; diff --git a/app/src/main/java/androidx/core/util/LruCacheKt.java b/app/src/main/java/androidx/core/util/LruCacheKt.java index db958089cf..945aef27e3 100644 --- a/app/src/main/java/androidx/core/util/LruCacheKt.java +++ b/app/src/main/java/androidx/core/util/LruCacheKt.java @@ -1,7 +1,7 @@ package androidx.core.util; import android.util.LruCache; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function2; diff --git a/app/src/main/java/androidx/core/util/Pair.java b/app/src/main/java/androidx/core/util/Pair.java index a7a94dfa73..47c33d00e0 100644 --- a/app/src/main/java/androidx/core/util/Pair.java +++ b/app/src/main/java/androidx/core/util/Pair.java @@ -6,9 +6,9 @@ public class Pair { public final F first; public final S second; - public Pair(F f, S s) { + public Pair(F f, S s2) { this.first = f; - this.second = s; + this.second = s2; } @NonNull @@ -28,20 +28,20 @@ public class Pair { F f = this.first; int i = 0; int hashCode = f == null ? 0 : f.hashCode(); - S s = this.second; - if (s != null) { - i = s.hashCode(); + S s2 = this.second; + if (s2 != null) { + i = s2.hashCode(); } return hashCode ^ i; } @NonNull public String toString() { - StringBuilder O = a.O("Pair{"); - O.append((Object) this.first); - O.append(" "); - O.append((Object) this.second); - O.append("}"); - return O.toString(); + StringBuilder R = a.R("Pair{"); + R.append((Object) this.first); + R.append(" "); + R.append((Object) this.second); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/androidx/core/util/PairKt.java b/app/src/main/java/androidx/core/util/PairKt.java index 8f719dad25..4c24cba27e 100644 --- a/app/src/main/java/androidx/core/util/PairKt.java +++ b/app/src/main/java/androidx/core/util/PairKt.java @@ -2,7 +2,7 @@ package androidx.core.util; import android.annotation.SuppressLint; import android.util.Pair; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Pair.kt */ public final class PairKt { @SuppressLint({"UnknownNullness"}) diff --git a/app/src/main/java/androidx/core/util/Preconditions.java b/app/src/main/java/androidx/core/util/Preconditions.java index fd42ddc825..5eef27dd61 100644 --- a/app/src/main/java/androidx/core/util/Preconditions.java +++ b/app/src/main/java/androidx/core/util/Preconditions.java @@ -55,12 +55,12 @@ public final class Preconditions { if ((i & i2) == i) { return i; } - StringBuilder O = a.O("Requested flags 0x"); - O.append(Integer.toHexString(i)); - O.append(", but only 0x"); - O.append(Integer.toHexString(i2)); - O.append(" are allowed"); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Requested flags 0x"); + R.append(Integer.toHexString(i)); + R.append(", but only 0x"); + R.append(Integer.toHexString(i2)); + R.append(" are allowed"); + throw new IllegalArgumentException(R.toString()); } @NonNull diff --git a/app/src/main/java/androidx/core/util/RangeKt$toClosedRange$1.java b/app/src/main/java/androidx/core/util/RangeKt$toClosedRange$1.java index 22ec5bac90..d2e570912d 100644 --- a/app/src/main/java/androidx/core/util/RangeKt$toClosedRange$1.java +++ b/app/src/main/java/androidx/core/util/RangeKt$toClosedRange$1.java @@ -1,7 +1,7 @@ package androidx.core.util; import android.util.Range; -import c0.d0.a; +import d0.d0.a; /* compiled from: Range.kt */ public final class RangeKt$toClosedRange$1 implements a { public final /* synthetic */ Range $this_toClosedRange; @@ -10,24 +10,24 @@ public final class RangeKt$toClosedRange$1 implements a { this.$this_toClosedRange = range; } - @Override // c0.d0.a + @Override // d0.d0.a public boolean contains(T t) { - return a.C0179a.contains(this, t); + return a.C0196a.contains(this, t); } /* JADX WARNING: Unknown variable types count: 1 */ - @Override // c0.d0.a + @Override // d0.d0.a public T getEndInclusive() { return this.$this_toClosedRange.getUpper(); } /* JADX WARNING: Unknown variable types count: 1 */ - @Override // c0.d0.a + @Override // d0.d0.a public T getStart() { return this.$this_toClosedRange.getLower(); } public boolean isEmpty() { - return a.C0179a.isEmpty(this); + return a.C0196a.isEmpty(this); } } diff --git a/app/src/main/java/androidx/core/util/RangeKt.java b/app/src/main/java/androidx/core/util/RangeKt.java index 1ae8b696de..fecc87e676 100644 --- a/app/src/main/java/androidx/core/util/RangeKt.java +++ b/app/src/main/java/androidx/core/util/RangeKt.java @@ -2,8 +2,8 @@ package androidx.core.util; import android.util.Range; import androidx.annotation.RequiresApi; -import c0.d0.a; -import c0.z.d.m; +import d0.d0.a; +import d0.z.d.m; /* compiled from: Range.kt */ public final class RangeKt { @RequiresApi(21) diff --git a/app/src/main/java/androidx/core/util/SizeKt.java b/app/src/main/java/androidx/core/util/SizeKt.java index 8776bd05e2..1c065076de 100644 --- a/app/src/main/java/androidx/core/util/SizeKt.java +++ b/app/src/main/java/androidx/core/util/SizeKt.java @@ -3,7 +3,7 @@ package androidx.core.util; import android.util.Size; import android.util.SizeF; import androidx.annotation.RequiresApi; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Size.kt */ public final class SizeKt { @RequiresApi(21) diff --git a/app/src/main/java/androidx/core/util/SparseArrayKt$keyIterator$1.java b/app/src/main/java/androidx/core/util/SparseArrayKt$keyIterator$1.java index af980c4241..a57f892604 100644 --- a/app/src/main/java/androidx/core/util/SparseArrayKt$keyIterator$1.java +++ b/app/src/main/java/androidx/core/util/SparseArrayKt$keyIterator$1.java @@ -1,7 +1,7 @@ package androidx.core.util; import android.util.SparseArray; -import c0.t.c0; +import d0.t.c0; /* compiled from: SparseArray.kt */ public final class SparseArrayKt$keyIterator$1 extends c0 { public final /* synthetic */ SparseArray $this_keyIterator; @@ -20,7 +20,7 @@ public final class SparseArrayKt$keyIterator$1 extends c0 { return this.index < this.$this_keyIterator.size(); } - @Override // c0.t.c0 + @Override // d0.t.c0 public int nextInt() { SparseArray sparseArray = this.$this_keyIterator; int i = this.index; diff --git a/app/src/main/java/androidx/core/util/SparseArrayKt$valueIterator$1.java b/app/src/main/java/androidx/core/util/SparseArrayKt$valueIterator$1.java index 25c1dd8ae2..7f3201330c 100644 --- a/app/src/main/java/androidx/core/util/SparseArrayKt$valueIterator$1.java +++ b/app/src/main/java/androidx/core/util/SparseArrayKt$valueIterator$1.java @@ -1,7 +1,7 @@ package androidx.core.util; import android.util.SparseArray; -import c0.z.d.g0.a; +import d0.z.d.g0.a; import java.util.Iterator; /* compiled from: SparseArray.kt */ public final class SparseArrayKt$valueIterator$1 implements Iterator, a { diff --git a/app/src/main/java/androidx/core/util/SparseArrayKt.java b/app/src/main/java/androidx/core/util/SparseArrayKt.java index dee617a412..b8c1510e15 100644 --- a/app/src/main/java/androidx/core/util/SparseArrayKt.java +++ b/app/src/main/java/androidx/core/util/SparseArrayKt.java @@ -1,8 +1,8 @@ package androidx.core.util; import android.util.SparseArray; -import c0.t.c0; -import c0.z.d.m; +import d0.t.c0; +import d0.z.d.m; import java.util.Iterator; import kotlin.Unit; import kotlin.jvm.functions.Function0; @@ -52,7 +52,7 @@ public final class SparseArrayKt { m.checkNotNullParameter(sparseArray, ""); m.checkNotNullParameter(function0, "defaultValue"); T t = sparseArray.get(i); - return t == null ? (T) function0.mo17invoke() : t; + return t == null ? (T) function0.mo1invoke() : t; } public static final int getSize(SparseArray sparseArray) { diff --git a/app/src/main/java/androidx/core/util/SparseBooleanArrayKt$keyIterator$1.java b/app/src/main/java/androidx/core/util/SparseBooleanArrayKt$keyIterator$1.java index f6f7b8b25f..4a94cab1d6 100644 --- a/app/src/main/java/androidx/core/util/SparseBooleanArrayKt$keyIterator$1.java +++ b/app/src/main/java/androidx/core/util/SparseBooleanArrayKt$keyIterator$1.java @@ -1,7 +1,7 @@ package androidx.core.util; import android.util.SparseBooleanArray; -import c0.t.c0; +import d0.t.c0; /* compiled from: SparseBooleanArray.kt */ public final class SparseBooleanArrayKt$keyIterator$1 extends c0 { public final /* synthetic */ SparseBooleanArray $this_keyIterator; @@ -20,7 +20,7 @@ public final class SparseBooleanArrayKt$keyIterator$1 extends c0 { return this.index < this.$this_keyIterator.size(); } - @Override // c0.t.c0 + @Override // d0.t.c0 public int nextInt() { SparseBooleanArray sparseBooleanArray = this.$this_keyIterator; int i = this.index; diff --git a/app/src/main/java/androidx/core/util/SparseBooleanArrayKt$valueIterator$1.java b/app/src/main/java/androidx/core/util/SparseBooleanArrayKt$valueIterator$1.java index 22a95a480b..c60a315072 100644 --- a/app/src/main/java/androidx/core/util/SparseBooleanArrayKt$valueIterator$1.java +++ b/app/src/main/java/androidx/core/util/SparseBooleanArrayKt$valueIterator$1.java @@ -1,7 +1,7 @@ package androidx.core.util; import android.util.SparseBooleanArray; -import c0.t.l; +import d0.t.l; /* compiled from: SparseBooleanArray.kt */ public final class SparseBooleanArrayKt$valueIterator$1 extends l { public final /* synthetic */ SparseBooleanArray $this_valueIterator; @@ -20,7 +20,7 @@ public final class SparseBooleanArrayKt$valueIterator$1 extends l { return this.index < this.$this_valueIterator.size(); } - @Override // c0.t.l + @Override // d0.t.l public boolean nextBoolean() { SparseBooleanArray sparseBooleanArray = this.$this_valueIterator; int i = this.index; diff --git a/app/src/main/java/androidx/core/util/SparseBooleanArrayKt.java b/app/src/main/java/androidx/core/util/SparseBooleanArrayKt.java index 8be9d4cad8..1a3f60bf56 100644 --- a/app/src/main/java/androidx/core/util/SparseBooleanArrayKt.java +++ b/app/src/main/java/androidx/core/util/SparseBooleanArrayKt.java @@ -1,9 +1,9 @@ package androidx.core.util; import android.util.SparseBooleanArray; -import c0.t.c0; -import c0.t.l; -import c0.z.d.m; +import d0.t.c0; +import d0.t.l; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function2; @@ -51,7 +51,7 @@ public final class SparseBooleanArrayKt { m.checkNotNullParameter(sparseBooleanArray, ""); m.checkNotNullParameter(function0, "defaultValue"); int indexOfKey = sparseBooleanArray.indexOfKey(i); - return indexOfKey >= 0 ? sparseBooleanArray.valueAt(indexOfKey) : function0.mo17invoke().booleanValue(); + return indexOfKey >= 0 ? sparseBooleanArray.valueAt(indexOfKey) : function0.mo1invoke().booleanValue(); } public static final int getSize(SparseBooleanArray sparseBooleanArray) { diff --git a/app/src/main/java/androidx/core/util/SparseIntArrayKt$keyIterator$1.java b/app/src/main/java/androidx/core/util/SparseIntArrayKt$keyIterator$1.java index d8d8a44601..4b17d69407 100644 --- a/app/src/main/java/androidx/core/util/SparseIntArrayKt$keyIterator$1.java +++ b/app/src/main/java/androidx/core/util/SparseIntArrayKt$keyIterator$1.java @@ -1,7 +1,7 @@ package androidx.core.util; import android.util.SparseIntArray; -import c0.t.c0; +import d0.t.c0; /* compiled from: SparseIntArray.kt */ public final class SparseIntArrayKt$keyIterator$1 extends c0 { public final /* synthetic */ SparseIntArray $this_keyIterator; @@ -20,7 +20,7 @@ public final class SparseIntArrayKt$keyIterator$1 extends c0 { return this.index < this.$this_keyIterator.size(); } - @Override // c0.t.c0 + @Override // d0.t.c0 public int nextInt() { SparseIntArray sparseIntArray = this.$this_keyIterator; int i = this.index; diff --git a/app/src/main/java/androidx/core/util/SparseIntArrayKt$valueIterator$1.java b/app/src/main/java/androidx/core/util/SparseIntArrayKt$valueIterator$1.java index 8d0641f788..73dbe67c78 100644 --- a/app/src/main/java/androidx/core/util/SparseIntArrayKt$valueIterator$1.java +++ b/app/src/main/java/androidx/core/util/SparseIntArrayKt$valueIterator$1.java @@ -1,7 +1,7 @@ package androidx.core.util; import android.util.SparseIntArray; -import c0.t.c0; +import d0.t.c0; /* compiled from: SparseIntArray.kt */ public final class SparseIntArrayKt$valueIterator$1 extends c0 { public final /* synthetic */ SparseIntArray $this_valueIterator; @@ -20,7 +20,7 @@ public final class SparseIntArrayKt$valueIterator$1 extends c0 { return this.index < this.$this_valueIterator.size(); } - @Override // c0.t.c0 + @Override // d0.t.c0 public int nextInt() { SparseIntArray sparseIntArray = this.$this_valueIterator; int i = this.index; diff --git a/app/src/main/java/androidx/core/util/SparseIntArrayKt.java b/app/src/main/java/androidx/core/util/SparseIntArrayKt.java index 865af20746..5d85736e96 100644 --- a/app/src/main/java/androidx/core/util/SparseIntArrayKt.java +++ b/app/src/main/java/androidx/core/util/SparseIntArrayKt.java @@ -1,8 +1,8 @@ package androidx.core.util; import android.util.SparseIntArray; -import c0.t.c0; -import c0.z.d.m; +import d0.t.c0; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function2; @@ -50,7 +50,7 @@ public final class SparseIntArrayKt { m.checkNotNullParameter(sparseIntArray, ""); m.checkNotNullParameter(function0, "defaultValue"); int indexOfKey = sparseIntArray.indexOfKey(i); - return indexOfKey >= 0 ? sparseIntArray.valueAt(indexOfKey) : function0.mo17invoke().intValue(); + return indexOfKey >= 0 ? sparseIntArray.valueAt(indexOfKey) : function0.mo1invoke().intValue(); } public static final int getSize(SparseIntArray sparseIntArray) { diff --git a/app/src/main/java/androidx/core/util/SparseLongArrayKt$keyIterator$1.java b/app/src/main/java/androidx/core/util/SparseLongArrayKt$keyIterator$1.java index 1c28a07bcd..6a01e900cb 100644 --- a/app/src/main/java/androidx/core/util/SparseLongArrayKt$keyIterator$1.java +++ b/app/src/main/java/androidx/core/util/SparseLongArrayKt$keyIterator$1.java @@ -1,7 +1,7 @@ package androidx.core.util; import android.util.SparseLongArray; -import c0.t.c0; +import d0.t.c0; /* compiled from: SparseLongArray.kt */ public final class SparseLongArrayKt$keyIterator$1 extends c0 { public final /* synthetic */ SparseLongArray $this_keyIterator; @@ -20,7 +20,7 @@ public final class SparseLongArrayKt$keyIterator$1 extends c0 { return this.index < this.$this_keyIterator.size(); } - @Override // c0.t.c0 + @Override // d0.t.c0 public int nextInt() { SparseLongArray sparseLongArray = this.$this_keyIterator; int i = this.index; diff --git a/app/src/main/java/androidx/core/util/SparseLongArrayKt$valueIterator$1.java b/app/src/main/java/androidx/core/util/SparseLongArrayKt$valueIterator$1.java index acd41a0114..0b6208df23 100644 --- a/app/src/main/java/androidx/core/util/SparseLongArrayKt$valueIterator$1.java +++ b/app/src/main/java/androidx/core/util/SparseLongArrayKt$valueIterator$1.java @@ -1,7 +1,7 @@ package androidx.core.util; import android.util.SparseLongArray; -import c0.t.d0; +import d0.t.d0; /* compiled from: SparseLongArray.kt */ public final class SparseLongArrayKt$valueIterator$1 extends d0 { public final /* synthetic */ SparseLongArray $this_valueIterator; @@ -20,7 +20,7 @@ public final class SparseLongArrayKt$valueIterator$1 extends d0 { return this.index < this.$this_valueIterator.size(); } - @Override // c0.t.d0 + @Override // d0.t.d0 public long nextLong() { SparseLongArray sparseLongArray = this.$this_valueIterator; int i = this.index; diff --git a/app/src/main/java/androidx/core/util/SparseLongArrayKt.java b/app/src/main/java/androidx/core/util/SparseLongArrayKt.java index 7f1760a665..2a7f13155d 100644 --- a/app/src/main/java/androidx/core/util/SparseLongArrayKt.java +++ b/app/src/main/java/androidx/core/util/SparseLongArrayKt.java @@ -2,9 +2,9 @@ package androidx.core.util; import android.util.SparseLongArray; import androidx.annotation.RequiresApi; -import c0.t.c0; -import c0.t.d0; -import c0.z.d.m; +import d0.t.c0; +import d0.t.d0; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function2; @@ -58,7 +58,7 @@ public final class SparseLongArrayKt { m.checkNotNullParameter(sparseLongArray, ""); m.checkNotNullParameter(function0, "defaultValue"); int indexOfKey = sparseLongArray.indexOfKey(i); - return indexOfKey >= 0 ? sparseLongArray.valueAt(indexOfKey) : function0.mo17invoke().longValue(); + return indexOfKey >= 0 ? sparseLongArray.valueAt(indexOfKey) : function0.mo1invoke().longValue(); } @RequiresApi(18) diff --git a/app/src/main/java/androidx/core/view/ActionProvider.java b/app/src/main/java/androidx/core/view/ActionProvider.java index 5d4d359378..9310407b4e 100644 --- a/app/src/main/java/androidx/core/view/ActionProvider.java +++ b/app/src/main/java/androidx/core/view/ActionProvider.java @@ -74,10 +74,10 @@ public abstract class ActionProvider { public void setVisibilityListener(VisibilityListener visibilityListener) { if (!(this.mVisibilityListener == null || visibilityListener == null)) { - StringBuilder O = a.O("setVisibilityListener: Setting a new ActionProvider.VisibilityListener when one is already set. Are you reusing this "); - O.append(getClass().getSimpleName()); - O.append(" instance while it is still in use somewhere else?"); - Log.w(TAG, O.toString()); + StringBuilder R = a.R("setVisibilityListener: Setting a new ActionProvider.VisibilityListener when one is already set. Are you reusing this "); + R.append(getClass().getSimpleName()); + R.append(" instance while it is still in use somewhere else?"); + Log.w(TAG, R.toString()); } this.mVisibilityListener = visibilityListener; } diff --git a/app/src/main/java/androidx/core/view/ContentInfoCompat.java b/app/src/main/java/androidx/core/view/ContentInfoCompat.java index 247d81420f..e1fb890913 100644 --- a/app/src/main/java/androidx/core/view/ContentInfoCompat.java +++ b/app/src/main/java/androidx/core/view/ContentInfoCompat.java @@ -177,25 +177,25 @@ public final class ContentInfoCompat { @NonNull public String toString() { String str; - StringBuilder O = a.O("ContentInfoCompat{clip="); - O.append(this.mClip.getDescription()); - O.append(", source="); - O.append(sourceToString(this.mSource)); - O.append(", flags="); - O.append(flagsToString(this.mFlags)); + StringBuilder R = a.R("ContentInfoCompat{clip="); + R.append(this.mClip.getDescription()); + R.append(", source="); + R.append(sourceToString(this.mSource)); + R.append(", flags="); + R.append(flagsToString(this.mFlags)); String str2 = ""; if (this.mLinkUri == null) { str = str2; } else { - StringBuilder O2 = a.O(", hasLinkUri("); - O2.append(this.mLinkUri.toString().length()); - O2.append(")"); - str = O2.toString(); + StringBuilder R2 = a.R(", hasLinkUri("); + R2.append(this.mLinkUri.toString().length()); + R2.append(")"); + str = R2.toString(); } - O.append(str); + R.append(str); if (this.mExtras != null) { str2 = ", hasExtras"; } - return a.G(O, str2, "}"); + return a.H(R, str2, "}"); } } diff --git a/app/src/main/java/androidx/core/view/DisplayCutoutCompat.java b/app/src/main/java/androidx/core/view/DisplayCutoutCompat.java index 970387c1aa..0848f3f1eb 100644 --- a/app/src/main/java/androidx/core/view/DisplayCutoutCompat.java +++ b/app/src/main/java/androidx/core/view/DisplayCutoutCompat.java @@ -121,10 +121,10 @@ public final class DisplayCutoutCompat { } public String toString() { - StringBuilder O = a.O("DisplayCutoutCompat{"); - O.append(this.mDisplayCutout); - O.append("}"); - return O.toString(); + StringBuilder R = a.R("DisplayCutoutCompat{"); + R.append(this.mDisplayCutout); + R.append("}"); + return R.toString(); } @RequiresApi(api = 28) diff --git a/app/src/main/java/androidx/core/view/LayoutInflaterCompat.java b/app/src/main/java/androidx/core/view/LayoutInflaterCompat.java index 7382c4f091..d28b9fcf12 100644 --- a/app/src/main/java/androidx/core/view/LayoutInflaterCompat.java +++ b/app/src/main/java/androidx/core/view/LayoutInflaterCompat.java @@ -47,10 +47,10 @@ public final class LayoutInflaterCompat { sLayoutInflaterFactory2Field = declaredField; declaredField.setAccessible(true); } catch (NoSuchFieldException e) { - StringBuilder O = a.O("forceSetFactory2 Could not find field 'mFactory2' on class "); - O.append(LayoutInflater.class.getName()); - O.append("; inflation may have unexpected results."); - Log.e(TAG, O.toString(), e); + StringBuilder R = a.R("forceSetFactory2 Could not find field 'mFactory2' on class "); + R.append(LayoutInflater.class.getName()); + R.append("; inflation may have unexpected results."); + Log.e(TAG, R.toString(), e); } sCheckedField = true; } diff --git a/app/src/main/java/androidx/core/view/MenuKt$iterator$1.java b/app/src/main/java/androidx/core/view/MenuKt$iterator$1.java index d208a5f7d1..ab92ceee7b 100644 --- a/app/src/main/java/androidx/core/view/MenuKt$iterator$1.java +++ b/app/src/main/java/androidx/core/view/MenuKt$iterator$1.java @@ -2,7 +2,7 @@ package androidx.core.view; import android.view.Menu; import android.view.MenuItem; -import c0.z.d.g0.a; +import d0.z.d.g0.a; import java.util.Iterator; /* compiled from: Menu.kt */ public final class MenuKt$iterator$1 implements Iterator, a { diff --git a/app/src/main/java/androidx/core/view/MenuKt.java b/app/src/main/java/androidx/core/view/MenuKt.java index 6aa399dadc..30582a6610 100644 --- a/app/src/main/java/androidx/core/view/MenuKt.java +++ b/app/src/main/java/androidx/core/view/MenuKt.java @@ -2,7 +2,7 @@ package androidx.core.view; import android.view.Menu; import android.view.MenuItem; -import c0.z.d.m; +import d0.z.d.m; import java.util.Iterator; import kotlin.Unit; import kotlin.jvm.functions.Function1; diff --git a/app/src/main/java/androidx/core/view/ViewCompat.java b/app/src/main/java/androidx/core/view/ViewCompat.java index d1078db178..0ea2d1c31d 100644 --- a/app/src/main/java/androidx/core/view/ViewCompat.java +++ b/app/src/main/java/androidx/core/view/ViewCompat.java @@ -1792,9 +1792,9 @@ public class ViewCompat { i++; } } - StringBuilder O = a.O("A MIME type set here must not start with *: "); - O.append(Arrays.toString(strArr)); - Preconditions.checkArgument(!z2, O.toString()); + StringBuilder R = a.R("A MIME type set here must not start with *: "); + R.append(Arrays.toString(strArr)); + Preconditions.checkArgument(!z2, R.toString()); } view.setTag(R.id.tag_on_receive_content_mime_types, strArr); view.setTag(R.id.tag_on_receive_content_listener, onReceiveContentListener); diff --git a/app/src/main/java/androidx/core/view/ViewGroupKt$descendants$1.java b/app/src/main/java/androidx/core/view/ViewGroupKt$descendants$1.java index 57531711e3..ad75c27a3b 100644 --- a/app/src/main/java/androidx/core/view/ViewGroupKt$descendants$1.java +++ b/app/src/main/java/androidx/core/view/ViewGroupKt$descendants$1.java @@ -2,12 +2,12 @@ package androidx.core.view; import android.view.View; import android.view.ViewGroup; -import c0.f0.k; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.j; -import c0.z.d.m; +import d0.f0.k; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.j; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; @@ -29,7 +29,7 @@ public final class ViewGroupKt$descendants$1 extends j implements Function2 create(Object obj, Continuation continuation) { ViewGroupKt$descendants$1 viewGroupKt$descendants$1 = new ViewGroupKt$descendants$1(this.$this_descendants, continuation); viewGroupKt$descendants$1.L$0 = obj; @@ -44,7 +44,7 @@ public final class ViewGroupKt$descendants$1 extends j implements Function2, a { diff --git a/app/src/main/java/androidx/core/view/ViewGroupKt.java b/app/src/main/java/androidx/core/view/ViewGroupKt.java index 187c3c255f..bd15b1d57c 100644 --- a/app/src/main/java/androidx/core/view/ViewGroupKt.java +++ b/app/src/main/java/androidx/core/view/ViewGroupKt.java @@ -5,8 +5,8 @@ import android.view.ViewGroup; import androidx.annotation.Px; import androidx.annotation.RequiresApi; import c.d.b.a.a; -import c0.f0.l; -import c0.z.d.m; +import d0.f0.l; +import d0.z.d.m; import java.util.Iterator; import kotlin.Unit; import kotlin.jvm.functions.Function1; @@ -67,9 +67,9 @@ public final class ViewGroupKt { if (childAt != null) { return childAt; } - StringBuilder P = a.P("Index: ", i, ", Size: "); - P.append(viewGroup.getChildCount()); - throw new IndexOutOfBoundsException(P.toString()); + StringBuilder S = a.S("Index: ", i, ", Size: "); + S.append(viewGroup.getChildCount()); + throw new IndexOutOfBoundsException(S.toString()); } public static final Sequence getChildren(ViewGroup viewGroup) { diff --git a/app/src/main/java/androidx/core/view/ViewKt$allViews$1.java b/app/src/main/java/androidx/core/view/ViewKt$allViews$1.java index 247d0c207e..e1e2b08213 100644 --- a/app/src/main/java/androidx/core/view/ViewKt$allViews$1.java +++ b/app/src/main/java/androidx/core/view/ViewKt$allViews$1.java @@ -2,11 +2,11 @@ package androidx.core.view; import android.view.View; import android.view.ViewGroup; -import c0.f0.k; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.j; +import d0.f0.k; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.j; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; @@ -24,7 +24,7 @@ public final class ViewKt$allViews$1 extends j implements Function2 create(Object obj, Continuation continuation) { ViewKt$allViews$1 viewKt$allViews$1 = new ViewKt$allViews$1(this.$this_allViews, continuation); viewKt$allViews$1.L$0 = obj; @@ -35,7 +35,7 @@ public final class ViewKt$allViews$1 extends j implements Function2 { diff --git a/app/src/main/java/androidx/core/view/ViewKt$doOnAttach$1.java b/app/src/main/java/androidx/core/view/ViewKt$doOnAttach$1.java index 9356387de1..eea01b76d2 100644 --- a/app/src/main/java/androidx/core/view/ViewKt$doOnAttach$1.java +++ b/app/src/main/java/androidx/core/view/ViewKt$doOnAttach$1.java @@ -1,7 +1,7 @@ package androidx.core.view; import android.view.View; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: View.kt */ diff --git a/app/src/main/java/androidx/core/view/ViewKt$doOnDetach$1.java b/app/src/main/java/androidx/core/view/ViewKt$doOnDetach$1.java index 7a8c27b1ec..1a30689a0e 100644 --- a/app/src/main/java/androidx/core/view/ViewKt$doOnDetach$1.java +++ b/app/src/main/java/androidx/core/view/ViewKt$doOnDetach$1.java @@ -1,7 +1,7 @@ package androidx.core.view; import android.view.View; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: View.kt */ diff --git a/app/src/main/java/androidx/core/view/ViewKt$doOnLayout$$inlined$doOnNextLayout$1.java b/app/src/main/java/androidx/core/view/ViewKt$doOnLayout$$inlined$doOnNextLayout$1.java index a0888ada92..83218d6aac 100644 --- a/app/src/main/java/androidx/core/view/ViewKt$doOnLayout$$inlined$doOnNextLayout$1.java +++ b/app/src/main/java/androidx/core/view/ViewKt$doOnLayout$$inlined$doOnNextLayout$1.java @@ -1,7 +1,7 @@ package androidx.core.view; import android.view.View; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: View.kt */ public final class ViewKt$doOnLayout$$inlined$doOnNextLayout$1 implements View.OnLayoutChangeListener { diff --git a/app/src/main/java/androidx/core/view/ViewKt$doOnNextLayout$1.java b/app/src/main/java/androidx/core/view/ViewKt$doOnNextLayout$1.java index 978ee37c36..7daf7f1f2a 100644 --- a/app/src/main/java/androidx/core/view/ViewKt$doOnNextLayout$1.java +++ b/app/src/main/java/androidx/core/view/ViewKt$doOnNextLayout$1.java @@ -1,7 +1,7 @@ package androidx.core.view; import android.view.View; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: View.kt */ diff --git a/app/src/main/java/androidx/core/view/ViewKt$postDelayed$runnable$1.java b/app/src/main/java/androidx/core/view/ViewKt$postDelayed$runnable$1.java index 0c3913f003..2ccac31bcf 100644 --- a/app/src/main/java/androidx/core/view/ViewKt$postDelayed$runnable$1.java +++ b/app/src/main/java/androidx/core/view/ViewKt$postDelayed$runnable$1.java @@ -12,6 +12,6 @@ public final class ViewKt$postDelayed$runnable$1 implements Runnable { @Override // java.lang.Runnable public final void run() { - this.$action.mo17invoke(); + this.$action.mo1invoke(); } } diff --git a/app/src/main/java/androidx/core/view/ViewKt$postOnAnimationDelayed$runnable$1.java b/app/src/main/java/androidx/core/view/ViewKt$postOnAnimationDelayed$runnable$1.java index 6b6badda0e..49e357d4fb 100644 --- a/app/src/main/java/androidx/core/view/ViewKt$postOnAnimationDelayed$runnable$1.java +++ b/app/src/main/java/androidx/core/view/ViewKt$postOnAnimationDelayed$runnable$1.java @@ -12,6 +12,6 @@ public final class ViewKt$postOnAnimationDelayed$runnable$1 implements Runnable @Override // java.lang.Runnable public final void run() { - this.$action.mo17invoke(); + this.$action.mo1invoke(); } } diff --git a/app/src/main/java/androidx/core/view/ViewKt.java b/app/src/main/java/androidx/core/view/ViewKt.java index c08ad74a6d..8d0be7ac42 100644 --- a/app/src/main/java/androidx/core/view/ViewKt.java +++ b/app/src/main/java/androidx/core/view/ViewKt.java @@ -8,9 +8,9 @@ import android.view.ViewParent; import androidx.annotation.Px; import androidx.annotation.RequiresApi; import androidx.exifinterface.media.ExifInterface; -import c0.f0.l; -import c0.f0.n; -import c0.z.d.m; +import d0.f0.l; +import d0.f0.n; +import d0.z.d.m; import java.util.Objects; import kotlin.Unit; import kotlin.jvm.functions.Function0; diff --git a/app/src/main/java/androidx/core/view/WindowInsetsAnimationCompat.java b/app/src/main/java/androidx/core/view/WindowInsetsAnimationCompat.java index edcaeb2c48..3a52802809 100644 --- a/app/src/main/java/androidx/core/view/WindowInsetsAnimationCompat.java +++ b/app/src/main/java/androidx/core/view/WindowInsetsAnimationCompat.java @@ -76,12 +76,12 @@ public final class WindowInsetsAnimationCompat { } public String toString() { - StringBuilder O = a.O("Bounds{lower="); - O.append(this.mLowerBound); - O.append(" upper="); - O.append(this.mUpperBound); - O.append("}"); - return O.toString(); + StringBuilder R = a.R("Bounds{lower="); + R.append(this.mLowerBound); + R.append(" upper="); + R.append(this.mUpperBound); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/androidx/core/view/WindowInsetsAnimationControllerCompat.java b/app/src/main/java/androidx/core/view/WindowInsetsAnimationControllerCompat.java index ac69dc9487..962bec17a3 100644 --- a/app/src/main/java/androidx/core/view/WindowInsetsAnimationControllerCompat.java +++ b/app/src/main/java/androidx/core/view/WindowInsetsAnimationControllerCompat.java @@ -132,10 +132,10 @@ public final class WindowInsetsAnimationControllerCompat { this.mImpl = new Impl(); return; } - StringBuilder O = a.O("On API 30+, the constructor taking a "); - O.append(WindowInsetsAnimationController.class.getSimpleName()); - O.append(" as parameter"); - throw new UnsupportedOperationException(O.toString()); + StringBuilder R = a.R("On API 30+, the constructor taking a "); + R.append(WindowInsetsAnimationController.class.getSimpleName()); + R.append(" as parameter"); + throw new UnsupportedOperationException(R.toString()); } @RequiresApi(30) diff --git a/app/src/main/java/androidx/core/view/WindowInsetsCompat.java b/app/src/main/java/androidx/core/view/WindowInsetsCompat.java index 439a2b2140..5f81668129 100644 --- a/app/src/main/java/androidx/core/view/WindowInsetsCompat.java +++ b/app/src/main/java/androidx/core/view/WindowInsetsCompat.java @@ -47,9 +47,9 @@ public class WindowInsetsCompat { sContentInsets = declaredField3; declaredField3.setAccessible(true); } catch (ReflectiveOperationException e) { - StringBuilder O = a.O("Failed to get visible insets from AttachInfo "); - O.append(e.getMessage()); - Log.w(WindowInsetsCompat.TAG, O.toString(), e); + StringBuilder R = a.R("Failed to get visible insets from AttachInfo "); + R.append(e.getMessage()); + Log.w(WindowInsetsCompat.TAG, R.toString(), e); } } @@ -72,9 +72,9 @@ public class WindowInsetsCompat { } } } catch (IllegalAccessException e) { - StringBuilder O = a.O("Failed to get insets from AttachInfo. "); - O.append(e.getMessage()); - Log.w(WindowInsetsCompat.TAG, O.toString(), e); + StringBuilder R = a.R("Failed to get insets from AttachInfo. "); + R.append(e.getMessage()); + Log.w(WindowInsetsCompat.TAG, R.toString(), e); } } return null; @@ -596,9 +596,9 @@ public class WindowInsetsCompat { } return null; } catch (ReflectiveOperationException e) { - StringBuilder O = a.O("Failed to get visible insets. (Reflection error). "); - O.append(e.getMessage()); - Log.e(WindowInsetsCompat.TAG, O.toString(), e); + StringBuilder R = a.R("Failed to get visible insets. (Reflection error). "); + R.append(e.getMessage()); + Log.e(WindowInsetsCompat.TAG, R.toString(), e); } } return null; @@ -618,9 +618,9 @@ public class WindowInsetsCompat { sVisibleInsetsField.setAccessible(true); sAttachInfoField.setAccessible(true); } catch (ReflectiveOperationException e) { - StringBuilder O = a.O("Failed to get visible insets. (Reflection error). "); - O.append(e.getMessage()); - Log.e(WindowInsetsCompat.TAG, O.toString(), e); + StringBuilder R = a.R("Failed to get visible insets. (Reflection error). "); + R.append(e.getMessage()); + Log.e(WindowInsetsCompat.TAG, R.toString(), e); } sVisibleRectReflectionFetched = true; } @@ -1020,7 +1020,7 @@ public class WindowInsetsCompat { if (i == 256) { return 8; } - throw new IllegalArgumentException(a.l("type needs to be >= FIRST and <= LAST, type=", i)); + throw new IllegalArgumentException(a.p("type needs to be >= FIRST and <= LAST, type=", i)); } public static int mandatorySystemGestures() { diff --git a/app/src/main/java/androidx/core/widget/ContentLoadingProgressBar.java b/app/src/main/java/androidx/core/widget/ContentLoadingProgressBar.java index d5996444ae..73dfe194ee 100644 --- a/app/src/main/java/androidx/core/widget/ContentLoadingProgressBar.java +++ b/app/src/main/java/androidx/core/widget/ContentLoadingProgressBar.java @@ -6,10 +6,10 @@ import android.widget.ProgressBar; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.UiThread; -import x.b.b.a; -import x.b.b.b; -import x.b.b.c; -import x.b.b.d; +import y.b.b.a; +import y.b.b.b; +import y.b.b.c; +import y.b.b.d; public class ContentLoadingProgressBar extends ProgressBar { private static final int MIN_DELAY_MS = 500; private static final int MIN_SHOW_TIME_MS = 500; diff --git a/app/src/main/java/androidx/core/widget/NestedScrollView.java b/app/src/main/java/androidx/core/widget/NestedScrollView.java index 8014650345..708fce8da8 100644 --- a/app/src/main/java/androidx/core/widget/NestedScrollView.java +++ b/app/src/main/java/androidx/core/widget/NestedScrollView.java @@ -170,10 +170,10 @@ public class NestedScrollView extends FrameLayout implements NestedScrollingPare @Override // java.lang.Object @NonNull public String toString() { - StringBuilder O = a.O("HorizontalScrollView.SavedState{"); - O.append(Integer.toHexString(System.identityHashCode(this))); - O.append(" scrollPosition="); - return a.z(O, this.scrollPosition, "}"); + StringBuilder R = a.R("HorizontalScrollView.SavedState{"); + R.append(Integer.toHexString(System.identityHashCode(this))); + R.append(" scrollPosition="); + return a.A(R, this.scrollPosition, "}"); } @Override // android.view.View.BaseSavedState, android.os.Parcelable, android.view.AbsSavedState @@ -1183,10 +1183,10 @@ public class NestedScrollView extends FrameLayout implements NestedScrollingPare } else if (actionMasked == 2) { int findPointerIndex = motionEvent.findPointerIndex(this.mActivePointerId); if (findPointerIndex == -1) { - StringBuilder O = a.O("Invalid pointerId="); - O.append(this.mActivePointerId); - O.append(" in onTouchEvent"); - Log.e(TAG, O.toString()); + StringBuilder R = a.R("Invalid pointerId="); + R.append(this.mActivePointerId); + R.append(" in onTouchEvent"); + Log.e(TAG, R.toString()); } else { int y2 = (int) motionEvent.getY(findPointerIndex); int i2 = this.mLastMotionY - y2; diff --git a/app/src/main/java/androidx/core/widget/TextViewCompat.java b/app/src/main/java/androidx/core/widget/TextViewCompat.java index 2c0390bc2a..840b873d87 100644 --- a/app/src/main/java/androidx/core/widget/TextViewCompat.java +++ b/app/src/main/java/androidx/core/widget/TextViewCompat.java @@ -353,10 +353,10 @@ public final class TextViewCompat { try { return field.getInt(textView); } catch (IllegalAccessException unused) { - StringBuilder O = a.O("Could not retrieve value of "); - O.append(field.getName()); - O.append(" field."); - Log.d(LOG_TAG, O.toString()); + StringBuilder R = a.R("Could not retrieve value of "); + R.append(field.getName()); + R.append(" field."); + Log.d(LOG_TAG, R.toString()); return -1; } } diff --git a/app/src/main/java/androidx/core/widget/TextViewKt$addTextChangedListener$1.java b/app/src/main/java/androidx/core/widget/TextViewKt$addTextChangedListener$1.java index defeffb2b5..6a56fa6003 100644 --- a/app/src/main/java/androidx/core/widget/TextViewKt$addTextChangedListener$1.java +++ b/app/src/main/java/androidx/core/widget/TextViewKt$addTextChangedListener$1.java @@ -1,6 +1,6 @@ package androidx.core.widget; -import c0.z.d.o; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function4; /* compiled from: TextView.kt */ diff --git a/app/src/main/java/androidx/core/widget/TextViewKt$addTextChangedListener$2.java b/app/src/main/java/androidx/core/widget/TextViewKt$addTextChangedListener$2.java index 13bd4772fe..a2e1fb6cf6 100644 --- a/app/src/main/java/androidx/core/widget/TextViewKt$addTextChangedListener$2.java +++ b/app/src/main/java/androidx/core/widget/TextViewKt$addTextChangedListener$2.java @@ -1,6 +1,6 @@ package androidx.core.widget; -import c0.z.d.o; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function4; /* compiled from: TextView.kt */ diff --git a/app/src/main/java/androidx/core/widget/TextViewKt$addTextChangedListener$3.java b/app/src/main/java/androidx/core/widget/TextViewKt$addTextChangedListener$3.java index 466f495a00..5d3067d647 100644 --- a/app/src/main/java/androidx/core/widget/TextViewKt$addTextChangedListener$3.java +++ b/app/src/main/java/androidx/core/widget/TextViewKt$addTextChangedListener$3.java @@ -1,7 +1,7 @@ package androidx.core.widget; import android.text.Editable; -import c0.z.d.o; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: TextView.kt */ diff --git a/app/src/main/java/androidx/core/widget/TextViewKt.java b/app/src/main/java/androidx/core/widget/TextViewKt.java index f2860b58d9..943832fdef 100644 --- a/app/src/main/java/androidx/core/widget/TextViewKt.java +++ b/app/src/main/java/androidx/core/widget/TextViewKt.java @@ -3,7 +3,7 @@ package androidx.core.widget; import android.text.Editable; import android.text.TextWatcher; import android.widget.TextView; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function4; diff --git a/app/src/main/java/androidx/cursoradapter/widget/CursorAdapter.java b/app/src/main/java/androidx/cursoradapter/widget/CursorAdapter.java index 70c46b4325..48a8d4c605 100644 --- a/app/src/main/java/androidx/cursoradapter/widget/CursorAdapter.java +++ b/app/src/main/java/androidx/cursoradapter/widget/CursorAdapter.java @@ -169,7 +169,7 @@ public abstract class CursorAdapter extends BaseAdapter implements Filterable, C bindView(view, this.mContext, this.mCursor); return view; } else { - throw new IllegalStateException(a.l("couldn't move cursor to position ", i)); + throw new IllegalStateException(a.p("couldn't move cursor to position ", i)); } } diff --git a/app/src/main/java/androidx/customview/widget/ViewDragHelper.java b/app/src/main/java/androidx/customview/widget/ViewDragHelper.java index 878ceca195..3d3fe6f6e0 100644 --- a/app/src/main/java/androidx/customview/widget/ViewDragHelper.java +++ b/app/src/main/java/androidx/customview/widget/ViewDragHelper.java @@ -465,10 +465,10 @@ public class ViewDragHelper { setDragState(1); return; } - StringBuilder O = a.O("captureChildView: parameter must be a descendant of the ViewDragHelper's tracked parent view ("); - O.append(this.mParentView); - O.append(")"); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("captureChildView: parameter must be a descendant of the ViewDragHelper's tracked parent view ("); + R.append(this.mParentView); + R.append(")"); + throw new IllegalArgumentException(R.toString()); } public boolean checkTouchSlop(int i) { diff --git a/app/src/main/java/androidx/documentfile/provider/RawDocumentFile.java b/app/src/main/java/androidx/documentfile/provider/RawDocumentFile.java index bb0d137023..eb0b1745b9 100644 --- a/app/src/main/java/androidx/documentfile/provider/RawDocumentFile.java +++ b/app/src/main/java/androidx/documentfile/provider/RawDocumentFile.java @@ -64,7 +64,7 @@ public class RawDocumentFile extends DocumentFile { public DocumentFile createFile(String str, String str2) { String extensionFromMimeType = MimeTypeMap.getSingleton().getExtensionFromMimeType(str); if (extensionFromMimeType != null) { - str2 = a.v(str2, ".", extensionFromMimeType); + str2 = a.w(str2, ".", extensionFromMimeType); } File file = new File(this.mFile, str2); try { diff --git a/app/src/main/java/androidx/drawerlayout/widget/DrawerLayout.java b/app/src/main/java/androidx/drawerlayout/widget/DrawerLayout.java index a0b421bb37..d9c0a16b21 100644 --- a/app/src/main/java/androidx/drawerlayout/widget/DrawerLayout.java +++ b/app/src/main/java/androidx/drawerlayout/widget/DrawerLayout.java @@ -748,9 +748,9 @@ public class DrawerLayout extends ViewGroup { closeDrawer(findDrawerWithGravity, z2); return; } - StringBuilder O = a.O("No drawer view found with gravity "); - O.append(gravityToString(i)); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("No drawer view found with gravity "); + R.append(gravityToString(i)); + throw new IllegalArgumentException(R.toString()); } public void closeDrawer(@NonNull View view) { @@ -1342,13 +1342,13 @@ public class DrawerLayout extends ViewGroup { i4++; i3 = 0; } else { - StringBuilder O = a.O("Child drawer has absolute gravity "); - O.append(gravityToString(drawerViewAbsoluteGravity)); - O.append(" but this "); - O.append(TAG); - O.append(" already has a "); - O.append("drawer view along that edge"); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Child drawer has absolute gravity "); + R.append(gravityToString(drawerViewAbsoluteGravity)); + R.append(" but this "); + R.append(TAG); + R.append(" already has a "); + R.append("drawer view along that edge"); + throw new IllegalStateException(R.toString()); } } else { throw new IllegalStateException("Child " + childAt + " at index " + i4 + " does not have a valid layout_gravity - must be Gravity.LEFT, Gravity.RIGHT or Gravity.NO_GRAVITY"); @@ -1475,9 +1475,9 @@ public class DrawerLayout extends ViewGroup { openDrawer(findDrawerWithGravity, z2); return; } - StringBuilder O = a.O("No drawer view found with gravity "); - O.append(gravityToString(i)); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("No drawer view found with gravity "); + R.append(gravityToString(i)); + throw new IllegalArgumentException(R.toString()); } public void openDrawer(@NonNull View view) { diff --git a/app/src/main/java/androidx/exifinterface/media/ExifInterface.java b/app/src/main/java/androidx/exifinterface/media/ExifInterface.java index ab7ae079f6..49ff24a610 100644 --- a/app/src/main/java/androidx/exifinterface/media/ExifInterface.java +++ b/app/src/main/java/androidx/exifinterface/media/ExifInterface.java @@ -719,9 +719,9 @@ public class ExifInterface { if (byteOrder == BIG_ENDIAN) { return (read << 24) + (read2 << 16) + (read3 << 8) + read4; } - StringBuilder O = a.O("Invalid byte order: "); - O.append(this.mByteOrder); - throw new IOException(O.toString()); + StringBuilder R = a.R("Invalid byte order: "); + R.append(this.mByteOrder); + throw new IOException(R.toString()); } throw new EOFException(); } @@ -755,9 +755,9 @@ public class ExifInterface { if (byteOrder == BIG_ENDIAN) { return (((long) read) << 56) + (((long) read2) << 48) + (((long) read3) << 40) + (((long) read4) << 32) + (((long) read5) << 24) + (((long) read6) << 16) + (((long) read7) << 8) + ((long) read8); } - StringBuilder O = a.O("Invalid byte order: "); - O.append(this.mByteOrder); - throw new IOException(O.toString()); + StringBuilder R = a.R("Invalid byte order: "); + R.append(this.mByteOrder); + throw new IOException(R.toString()); } throw new EOFException(); } @@ -779,9 +779,9 @@ public class ExifInterface { if (byteOrder == BIG_ENDIAN) { return (short) ((read << 8) + read2); } - StringBuilder O = a.O("Invalid byte order: "); - O.append(this.mByteOrder); - throw new IOException(O.toString()); + StringBuilder R = a.R("Invalid byte order: "); + R.append(this.mByteOrder); + throw new IOException(R.toString()); } throw new EOFException(); } @@ -819,9 +819,9 @@ public class ExifInterface { if (byteOrder == BIG_ENDIAN) { return (read << 8) + read2; } - StringBuilder O = a.O("Invalid byte order: "); - O.append(this.mByteOrder); - throw new IOException(O.toString()); + StringBuilder R = a.R("Invalid byte order: "); + R.append(this.mByteOrder); + throw new IOException(R.toString()); } throw new EOFException(); } @@ -902,14 +902,14 @@ public class ExifInterface { } } - public void writeShort(short s) throws IOException { + public void writeShort(short s2) throws IOException { ByteOrder byteOrder = this.mByteOrder; if (byteOrder == ByteOrder.LITTLE_ENDIAN) { - this.mOutputStream.write((s >>> 0) & 255); - this.mOutputStream.write((s >>> 8) & 255); + this.mOutputStream.write((s2 >>> 0) & 255); + this.mOutputStream.write((s2 >>> 8) & 255); } else if (byteOrder == ByteOrder.BIG_ENDIAN) { - this.mOutputStream.write((s >>> 8) & 255); - this.mOutputStream.write((s >>> 0) & 255); + this.mOutputStream.write((s2 >>> 8) & 255); + this.mOutputStream.write((s2 >>> 0) & 255); } } @@ -1370,10 +1370,10 @@ public class ExifInterface { } public String toString() { - StringBuilder O = a.O("("); - O.append(ExifInterface.IFD_FORMAT_NAMES[this.format]); - O.append(", data length:"); - return a.z(O, this.bytes.length, ")"); + StringBuilder R = a.R("("); + R.append(ExifInterface.IFD_FORMAT_NAMES[this.format]); + R.append(", data length:"); + return a.A(R, this.bytes.length, ")"); } } @@ -1740,18 +1740,18 @@ public class ExifInterface { while (true) { byte[] bArr3 = new byte[4]; if (byteOrderedDataInputStream.read(bArr3) != 4) { - StringBuilder O = a.O("Encountered invalid length while copying WebP chunks up tochunk type "); + StringBuilder R = a.R("Encountered invalid length while copying WebP chunks up tochunk type "); Charset charset = ASCII; - O.append(new String(bArr, charset)); + R.append(new String(bArr, charset)); if (bArr2 == null) { str = ""; } else { - StringBuilder O2 = a.O(" or "); - O2.append(new String(bArr2, charset)); - str = O2.toString(); + StringBuilder R2 = a.R(" or "); + R2.append(new String(bArr2, charset)); + str = R2.toString(); } - O.append(str); - throw new IOException(O.toString()); + R.append(str); + throw new IOException(R.toString()); } copyWebPChunk(byteOrderedDataInputStream, byteOrderedDataOutputStream, bArr3); if (Arrays.equals(bArr3, bArr)) { @@ -1895,9 +1895,9 @@ public class ExifInterface { byte readByte = byteOrderedDataInputStream.readByte(); byte b = -1; if (readByte != -1) { - StringBuilder O = a.O("Invalid marker: "); - O.append(Integer.toHexString(readByte & 255)); - throw new IOException(O.toString()); + StringBuilder R = a.R("Invalid marker: "); + R.append(Integer.toHexString(readByte & 255)); + throw new IOException(R.toString()); } else if (byteOrderedDataInputStream.readByte() == -40) { int i3 = 2; int i4 = 2; @@ -1908,21 +1908,21 @@ public class ExifInterface { byte readByte3 = byteOrderedDataInputStream.readByte(); boolean z2 = DEBUG; if (z2) { - StringBuilder O2 = a.O("Found JPEG segment indicator: "); - O2.append(Integer.toHexString(readByte3 & 255)); - Log.d(TAG, O2.toString()); + StringBuilder R2 = a.R("Found JPEG segment indicator: "); + R2.append(Integer.toHexString(readByte3 & 255)); + Log.d(TAG, R2.toString()); } int i6 = i5 + 1; if (readByte3 != -39 && readByte3 != -38) { int readUnsignedShort = byteOrderedDataInputStream.readUnsignedShort() - i3; int i7 = i6 + i3; if (z2) { - StringBuilder O3 = a.O("JPEG segment: "); - O3.append(Integer.toHexString(readByte3 & 255)); - O3.append(" (length: "); - O3.append(readUnsignedShort + 2); - O3.append(")"); - Log.d(TAG, O3.toString()); + StringBuilder R3 = a.R("JPEG segment: "); + R3.append(Integer.toHexString(readByte3 & 255)); + R3.append(" (length: "); + R3.append(readUnsignedShort + 2); + R3.append(")"); + Log.d(TAG, R3.toString()); } if (readUnsignedShort >= 0) { if (readByte3 == -31) { @@ -2005,16 +2005,16 @@ public class ExifInterface { } } } else { - StringBuilder O4 = a.O("Invalid marker:"); - O4.append(Integer.toHexString(readByte2 & 255)); - throw new IOException(O4.toString()); + StringBuilder R4 = a.R("Invalid marker:"); + R4.append(Integer.toHexString(readByte2 & 255)); + throw new IOException(R4.toString()); } } byteOrderedDataInputStream.setByteOrder(this.mExifByteOrder); } else { - StringBuilder O5 = a.O("Invalid marker: "); - O5.append(Integer.toHexString(readByte & 255)); - throw new IOException(O5.toString()); + StringBuilder R5 = a.R("Invalid marker: "); + R5.append(Integer.toHexString(readByte & 255)); + throw new IOException(R5.toString()); } } @@ -2073,9 +2073,9 @@ public class ExifInterface { if (exifAttribute4 != null) { int[] iArr = (int[]) exifAttribute4.getValue(this.mExifByteOrder); if (iArr == null || iArr.length != 4) { - StringBuilder O = a.O("Invalid aspect frame values. frame="); - O.append(Arrays.toString(iArr)); - Log.w(TAG, O.toString()); + StringBuilder R = a.R("Invalid aspect frame values. frame="); + R.append(Arrays.toString(iArr)); + Log.w(TAG, R.toString()); } else if (iArr[2] > iArr[0] && iArr[3] > iArr[1]) { int i = (iArr[2] - iArr[0]) + 1; int i2 = (iArr[3] - iArr[1]) + 1; @@ -2172,7 +2172,7 @@ public class ExifInterface { byteOrderedDataInputStream.setByteOrder(ByteOrder.BIG_ENDIAN); int readInt = byteOrderedDataInputStream.readInt(); if (z2) { - a.h0("numberOfDirectoryEntry: ", readInt, TAG); + a.k0("numberOfDirectoryEntry: ", readInt, TAG); } for (int i4 = 0; i4 < readInt; i4++) { int readUnsignedShort = byteOrderedDataInputStream.readUnsignedShort(); @@ -3041,34 +3041,34 @@ public class ExifInterface { if (i2 == 7 || i2 == 10 || readUnsignedShort == 42) { int readInt = byteOrderedDataInputStream.readInt(); if (readInt < 8 || readInt >= i) { - throw new IOException(a.l("Invalid first Ifd offset: ", readInt)); + throw new IOException(a.p("Invalid first Ifd offset: ", readInt)); } int i3 = readInt - 8; if (i3 > 0 && byteOrderedDataInputStream.skipBytes(i3) != i3) { - throw new IOException(a.l("Couldn't jump to first Ifd: ", i3)); + throw new IOException(a.p("Couldn't jump to first Ifd: ", i3)); } return; } - StringBuilder O = a.O("Invalid start code: "); - O.append(Integer.toHexString(readUnsignedShort)); - throw new IOException(O.toString()); + StringBuilder R = a.R("Invalid start code: "); + R.append(Integer.toHexString(readUnsignedShort)); + throw new IOException(R.toString()); } private void printAttributes() { for (int i = 0; i < this.mAttributes.length; i++) { - StringBuilder P = a.P("The size of tag group[", i, "]: "); - P.append(this.mAttributes[i].size()); - Log.d(TAG, P.toString()); + StringBuilder S = a.S("The size of tag group[", i, "]: "); + S.append(this.mAttributes[i].size()); + Log.d(TAG, S.toString()); for (Map.Entry entry : this.mAttributes[i].entrySet()) { ExifAttribute value = entry.getValue(); - StringBuilder O = a.O("tagName: "); - O.append(entry.getKey()); - O.append(", tagType: "); - O.append(value.toString()); - O.append(", tagValue: '"); - O.append(value.getStringValue(this.mExifByteOrder)); - O.append("'"); - Log.d(TAG, O.toString()); + StringBuilder R = a.R("tagName: "); + R.append(entry.getKey()); + R.append(", tagType: "); + R.append(value.toString()); + R.append(", tagValue: '"); + R.append(value.getStringValue(this.mExifByteOrder)); + R.append("'"); + Log.d(TAG, R.toString()); } } } @@ -3086,9 +3086,9 @@ public class ExifInterface { } return ByteOrder.BIG_ENDIAN; } else { - StringBuilder O = a.O("Invalid byte order: "); - O.append(Integer.toHexString(readShort)); - throw new IOException(O.toString()); + StringBuilder R = a.R("Invalid byte order: "); + R.append(Integer.toHexString(readShort)); + throw new IOException(R.toString()); } } @@ -3105,8 +3105,8 @@ public class ExifInterface { /* JADX WARNING: Removed duplicated region for block: B:66:0x0192 */ /* JADX WARNING: Removed duplicated region for block: B:92:0x0206 */ private void readImageFileDirectory(ByteOrderedDataInputStream byteOrderedDataInputStream, int i) throws IOException { - short s; short s2; + short s3; boolean z2; long j; long j2; @@ -3121,12 +3121,12 @@ public class ExifInterface { if (byteOrderedDataInputStream.mPosition + 2 <= byteOrderedDataInputStream.mLength) { short readShort = byteOrderedDataInputStream.readShort(); if (DEBUG) { - a.h0("numberOfDirectoryEntry: ", readShort, TAG); + a.k0("numberOfDirectoryEntry: ", readShort, TAG); } if ((readShort * 12) + byteOrderedDataInputStream.mPosition <= byteOrderedDataInputStream.mLength && readShort > 0) { char c2 = 0; - short s3 = 0; - while (s3 < readShort) { + short s4 = 0; + while (s4 < readShort) { int readUnsignedShort = byteOrderedDataInputStream.readUnsignedShort(); int readUnsignedShort2 = byteOrderedDataInputStream.readUnsignedShort(); int readInt = byteOrderedDataInputStream.readInt(); @@ -3150,12 +3150,12 @@ public class ExifInterface { if (readUnsignedShort2 == 7) { readUnsignedShort2 = exifTag2.primaryFormat; } - s2 = readShort; - s = s3; + s3 = readShort; + s2 = s4; j = ((long) readInt) * ((long) iArr[readUnsignedShort2]); if (j < 0 || j > 2147483647L) { if (z3) { - a.h0("Skip the tag entry since the number of components is invalid: ", readInt, TAG); + a.k0("Skip the tag entry since the number of components is invalid: ", readInt, TAG); } z2 = false; if (z2) { @@ -3164,7 +3164,7 @@ public class ExifInterface { if (j > 4) { int readInt2 = byteOrderedDataInputStream.readInt(); if (z3) { - a.h0("seek to data offset: ", readInt2, TAG); + a.k0("seek to data offset: ", readInt2, TAG); } i3 = readUnsignedShort2; if (this.mMimeType == 7) { @@ -3187,7 +3187,7 @@ public class ExifInterface { byteOrderedDataInputStream.seek(j4); } else { if (z3) { - a.h0("Skip the tag entry since data offset is invalid: ", readInt2, TAG); + a.k0("Skip the tag entry since data offset is invalid: ", readInt2, TAG); } byteOrderedDataInputStream.seek(peek); } @@ -3269,54 +3269,54 @@ public class ExifInterface { } } } - s3 = (short) (s + 1); + s4 = (short) (s2 + 1); c2 = 0; i5 = i; - readShort = s2; + readShort = s3; } else { z2 = true; if (z2) { } - s3 = (short) (s + 1); + s4 = (short) (s2 + 1); c2 = 0; i5 = i; - readShort = s2; + readShort = s3; } } else if (z3) { - StringBuilder O = a.O("Skip the tag entry since data format ("); - O.append(IFD_FORMAT_NAMES[readUnsignedShort2]); - O.append(") is unexpected for tag: "); - O.append(exifTag2.name); - Log.d(TAG, O.toString()); + StringBuilder R = a.R("Skip the tag entry since data format ("); + R.append(IFD_FORMAT_NAMES[readUnsignedShort2]); + R.append(") is unexpected for tag: "); + R.append(exifTag2.name); + Log.d(TAG, R.toString()); } } } - s2 = readShort; - s = s3; + s3 = readShort; + s2 = s4; if (z3) { - a.h0("Skip the tag entry since data format is invalid: ", readUnsignedShort2, TAG); + a.k0("Skip the tag entry since data format is invalid: ", readUnsignedShort2, TAG); } j = 0; z2 = false; if (z2) { } - s3 = (short) (s + 1); + s4 = (short) (s2 + 1); c2 = 0; i5 = i; - readShort = s2; + readShort = s3; } else if (z3) { - a.h0("Skip the tag entry since tag number is not defined: ", readUnsignedShort, TAG); + a.k0("Skip the tag entry since tag number is not defined: ", readUnsignedShort, TAG); } - s2 = readShort; - s = s3; + s3 = readShort; + s2 = s4; j = 0; z2 = false; if (z2) { } - s3 = (short) (s + 1); + s4 = (short) (s2 + 1); c2 = 0; i5 = i; - readShort = s2; + readShort = s3; } if (byteOrderedDataInputStream.peek() + 4 <= byteOrderedDataInputStream.mLength) { int readInt3 = byteOrderedDataInputStream.readInt(); @@ -3327,7 +3327,7 @@ public class ExifInterface { long j6 = (long) readInt3; if (j6 <= 0 || readInt3 >= byteOrderedDataInputStream.mLength) { if (z4) { - a.h0("Stop reading file since a wrong offset may cause an infinite loop: ", readInt3, TAG); + a.k0("Stop reading file since a wrong offset may cause an infinite loop: ", readInt3, TAG); } } else if (!this.mAttributesOffsets.contains(Integer.valueOf(readInt3))) { byteOrderedDataInputStream.seek(j6); @@ -3337,7 +3337,7 @@ public class ExifInterface { readImageFileDirectory(byteOrderedDataInputStream, 5); } } else if (z4) { - a.h0("Stop reading file since re-reading an IFD may cause an infinite loop: ", readInt3, TAG); + a.k0("Stop reading file since re-reading an IFD may cause an infinite loop: ", readInt3, TAG); } } } @@ -3748,9 +3748,9 @@ public class ExifInterface { if (exifAttribute3.format == 5) { Rational[] rationalArr = (Rational[]) exifAttribute3.getValue(this.mExifByteOrder); if (rationalArr == null || rationalArr.length != 2) { - StringBuilder O = a.O("Invalid crop size values. cropSize="); - O.append(Arrays.toString(rationalArr)); - Log.w(TAG, O.toString()); + StringBuilder R = a.R("Invalid crop size values. cropSize="); + R.append(Arrays.toString(rationalArr)); + Log.w(TAG, R.toString()); return; } exifAttribute2 = ExifAttribute.createURational(rationalArr[0], this.mExifByteOrder); @@ -3758,9 +3758,9 @@ public class ExifInterface { } else { int[] iArr = (int[]) exifAttribute3.getValue(this.mExifByteOrder); if (iArr == null || iArr.length != 2) { - StringBuilder O2 = a.O("Invalid crop size values. cropSize="); - O2.append(Arrays.toString(iArr)); - Log.w(TAG, O2.toString()); + StringBuilder R2 = a.R("Invalid crop size values. cropSize="); + R2.append(Arrays.toString(iArr)); + Log.w(TAG, R2.toString()); return; } exifAttribute2 = ExifAttribute.createUShort(iArr[0], this.mExifByteOrder); @@ -4029,14 +4029,14 @@ public class ExifInterface { if (rationalArr != null && rationalArr.length == 3) { return String.format("%02d:%02d:%02d", Integer.valueOf((int) (((float) rationalArr[0].numerator) / ((float) rationalArr[0].denominator))), Integer.valueOf((int) (((float) rationalArr[1].numerator) / ((float) rationalArr[1].denominator))), Integer.valueOf((int) (((float) rationalArr[2].numerator) / ((float) rationalArr[2].denominator)))); } - StringBuilder O = a.O("Invalid GPS Timestamp array. array="); - O.append(Arrays.toString(rationalArr)); - Log.w(TAG, O.toString()); + StringBuilder R = a.R("Invalid GPS Timestamp array. array="); + R.append(Arrays.toString(rationalArr)); + Log.w(TAG, R.toString()); return null; } - StringBuilder O2 = a.O("GPS Timestamp format is not rational. format="); - O2.append(exifAttribute.format); - Log.w(TAG, O2.toString()); + StringBuilder R2 = a.R("GPS Timestamp format is not rational. format="); + R2.append(exifAttribute.format); + Log.w(TAG, R2.toString()); return null; } try { @@ -4160,9 +4160,9 @@ public class ExifInterface { try { return new double[]{convertRationalLatLonToDouble(attribute, attribute2), convertRationalLatLonToDouble(attribute3, attribute4)}; } catch (IllegalArgumentException unused) { - StringBuilder O = a.O("Latitude/longitude values are not parsable. "); - O.append(String.format("latValue=%s, latRef=%s, lngValue=%s, lngRef=%s", attribute, attribute2, attribute3, attribute4)); - Log.w(TAG, O.toString()); + StringBuilder R = a.R("Latitude/longitude values are not parsable. "); + R.append(String.format("latValue=%s, latRef=%s, lngValue=%s, lngRef=%s", attribute, attribute2, attribute3, attribute4)); + Log.w(TAG, R.toString()); return null; } } @@ -4714,28 +4714,28 @@ public class ExifInterface { if (i7 == i3 || i7 == 7 || i7 == i2) { i = i7; } else if (DEBUG) { - StringBuilder U = a.U("Given tag (", str4, ") value didn't match with one of expected formats: "); + StringBuilder W = a.W("Given tag (", str4, ") value didn't match with one of expected formats: "); String[] strArr = IFD_FORMAT_NAMES; - U.append(strArr[exifTag.primaryFormat]); + W.append(strArr[exifTag.primaryFormat]); String str6 = ""; if (exifTag.secondaryFormat == -1) { str3 = str6; } else { - StringBuilder O = a.O(", "); - O.append(strArr[exifTag.secondaryFormat]); - str3 = O.toString(); + StringBuilder R = a.R(", "); + R.append(strArr[exifTag.secondaryFormat]); + str3 = R.toString(); } - U.append(str3); - U.append(" (guess: "); - U.append(strArr[((Integer) guessDataFormat.first).intValue()]); + W.append(str3); + W.append(" (guess: "); + W.append(strArr[((Integer) guessDataFormat.first).intValue()]); if (((Integer) guessDataFormat.second).intValue() != -1) { - StringBuilder O2 = a.O(", "); - O2.append(strArr[((Integer) guessDataFormat.second).intValue()]); - str6 = O2.toString(); + StringBuilder R2 = a.R(", "); + R2.append(strArr[((Integer) guessDataFormat.second).intValue()]); + str6 = R2.toString(); } - U.append(str6); - U.append(")"); - Log.d(TAG, U.toString()); + W.append(str6); + W.append(")"); + Log.d(TAG, W.toString()); } } else { i = exifTag.secondaryFormat; @@ -4782,7 +4782,7 @@ public class ExifInterface { case 11: default: if (DEBUG) { - a.h0("Data format isn't one of expected formats: ", i, TAG); + a.k0("Data format isn't one of expected formats: ", i, TAG); break; } else { continue; diff --git a/app/src/main/java/androidx/fragment/app/BackStackRecord.java b/app/src/main/java/androidx/fragment/app/BackStackRecord.java index 67ed92dd2c..fa81b438f9 100644 --- a/app/src/main/java/androidx/fragment/app/BackStackRecord.java +++ b/app/src/main/java/androidx/fragment/app/BackStackRecord.java @@ -40,11 +40,11 @@ public final class BackStackRecord extends FragmentTransaction implements Fragme if (fragment != null) { fragment.mBackStackNesting += i; if (FragmentManager.isLoggingEnabled(2)) { - StringBuilder O = a.O("Bump nesting of "); - O.append(op.mFragment); - O.append(" to "); - O.append(op.mFragment.mBackStackNesting); - Log.v("FragmentManager", O.toString()); + StringBuilder R = a.R("Bump nesting of "); + R.append(op.mFragment); + R.append(" to "); + R.append(op.mFragment.mBackStackNesting); + Log.v("FragmentManager", R.toString()); } } } @@ -100,10 +100,10 @@ public final class BackStackRecord extends FragmentTransaction implements Fragme if (fragmentManager == null || fragmentManager == this.mManager) { return super.detach(fragment); } - StringBuilder O = a.O("Cannot detach Fragment attached to a different FragmentManager. Fragment "); - O.append(fragment.toString()); - O.append(" is already attached to a FragmentManager."); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Cannot detach Fragment attached to a different FragmentManager. Fragment "); + R.append(fragment.toString()); + R.append(" is already attached to a FragmentManager."); + throw new IllegalStateException(R.toString()); } @Override // androidx.fragment.app.FragmentTransaction @@ -201,9 +201,9 @@ public final class BackStackRecord extends FragmentTransaction implements Fragme str2 = "OP_SET_MAX_LIFECYCLE"; break; default: - StringBuilder O = a.O("cmd="); - O.append(op.mCmd); - str2 = O.toString(); + StringBuilder R = a.R("cmd="); + R.append(op.mCmd); + str2 = R.toString(); break; } printWriter.print(str); @@ -250,9 +250,9 @@ public final class BackStackRecord extends FragmentTransaction implements Fragme break; case 2: default: - StringBuilder O = a.O("Unknown cmd: "); - O.append(op.mCmd); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Unknown cmd: "); + R.append(op.mCmd); + throw new IllegalArgumentException(R.toString()); case 3: fragment.setNextAnim(op.mExitAnim); this.mManager.removeFragment(fragment); @@ -311,9 +311,9 @@ public final class BackStackRecord extends FragmentTransaction implements Fragme break; case 2: default: - StringBuilder O = a.O("Unknown cmd: "); - O.append(op.mCmd); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Unknown cmd: "); + R.append(op.mCmd); + throw new IllegalArgumentException(R.toString()); case 3: fragment.setNextAnim(op.mPopEnterAnim); this.mManager.addFragment(fragment); @@ -473,10 +473,10 @@ public final class BackStackRecord extends FragmentTransaction implements Fragme if (fragmentManager == null || fragmentManager == this.mManager) { return super.hide(fragment); } - StringBuilder O = a.O("Cannot hide Fragment attached to a different FragmentManager. Fragment "); - O.append(fragment.toString()); - O.append(" is already attached to a FragmentManager."); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Cannot hide Fragment attached to a different FragmentManager. Fragment "); + R.append(fragment.toString()); + R.append(" is already attached to a FragmentManager."); + throw new IllegalStateException(R.toString()); } public boolean interactsWith(int i) { @@ -538,10 +538,10 @@ public final class BackStackRecord extends FragmentTransaction implements Fragme if (fragmentManager == null || fragmentManager == this.mManager) { return super.remove(fragment); } - StringBuilder O = a.O("Cannot remove Fragment attached to a different FragmentManager. Fragment "); - O.append(fragment.toString()); - O.append(" is already attached to a FragmentManager."); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Cannot remove Fragment attached to a different FragmentManager. Fragment "); + R.append(fragment.toString()); + R.append(" is already attached to a FragmentManager."); + throw new IllegalStateException(R.toString()); } public void runOnCommitRunnables() { @@ -557,9 +557,9 @@ public final class BackStackRecord extends FragmentTransaction implements Fragme @NonNull public FragmentTransaction setMaxLifecycle(@NonNull Fragment fragment, @NonNull Lifecycle.State state) { if (fragment.mFragmentManager != this.mManager) { - StringBuilder O = a.O("Cannot setMaxLifecycle for Fragment not attached to FragmentManager "); - O.append(this.mManager); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Cannot setMaxLifecycle for Fragment not attached to FragmentManager "); + R.append(this.mManager); + throw new IllegalArgumentException(R.toString()); } else if (state == Lifecycle.State.INITIALIZED && fragment.mState > -1) { throw new IllegalArgumentException("Cannot set maximum Lifecycle to " + state + " after the Fragment has been created"); } else if (state != Lifecycle.State.DESTROYED) { @@ -585,10 +585,10 @@ public final class BackStackRecord extends FragmentTransaction implements Fragme if (fragment == null || (fragmentManager = fragment.mFragmentManager) == null || fragmentManager == this.mManager) { return super.setPrimaryNavigationFragment(fragment); } - StringBuilder O = a.O("Cannot setPrimaryNavigation for Fragment attached to a different FragmentManager. Fragment "); - O.append(fragment.toString()); - O.append(" is already attached to a FragmentManager."); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Cannot setPrimaryNavigation for Fragment attached to a different FragmentManager. Fragment "); + R.append(fragment.toString()); + R.append(" is already attached to a FragmentManager."); + throw new IllegalStateException(R.toString()); } @Override // androidx.fragment.app.FragmentTransaction @@ -598,10 +598,10 @@ public final class BackStackRecord extends FragmentTransaction implements Fragme if (fragmentManager == null || fragmentManager == this.mManager) { return super.show(fragment); } - StringBuilder O = a.O("Cannot show Fragment attached to a different FragmentManager. Fragment "); - O.append(fragment.toString()); - O.append(" is already attached to a FragmentManager."); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Cannot show Fragment attached to a different FragmentManager. Fragment "); + R.append(fragment.toString()); + R.append(" is already attached to a FragmentManager."); + throw new IllegalStateException(R.toString()); } public String toString() { diff --git a/app/src/main/java/androidx/fragment/app/DefaultSpecialEffectsController.java b/app/src/main/java/androidx/fragment/app/DefaultSpecialEffectsController.java index 073cafefe6..f4324d24f3 100644 --- a/app/src/main/java/androidx/fragment/app/DefaultSpecialEffectsController.java +++ b/app/src/main/java/androidx/fragment/app/DefaultSpecialEffectsController.java @@ -341,13 +341,13 @@ public class DefaultSpecialEffectsController extends SpecialEffectsController { if (handlingImpl == null || handlingImpl2 == null || handlingImpl == handlingImpl2) { return handlingImpl != null ? handlingImpl : handlingImpl2; } - StringBuilder O = a.O("Mixing framework transitions and AndroidX transitions is not allowed. Fragment "); - O.append(getOperation().getFragment()); - O.append(" returned Transition "); - O.append(this.mTransition); - O.append(" which uses a different Transition type than its shared element transition "); - O.append(this.mSharedElementTransition); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Mixing framework transitions and AndroidX transitions is not allowed. Fragment "); + R.append(getOperation().getFragment()); + R.append(" returned Transition "); + R.append(this.mTransition); + R.append(" which uses a different Transition type than its shared element transition "); + R.append(this.mSharedElementTransition); + throw new IllegalArgumentException(R.toString()); } @Nullable @@ -485,12 +485,12 @@ public class DefaultSpecialEffectsController extends SpecialEffectsController { if (fragmentTransitionImpl2 == null) { fragmentTransitionImpl2 = handlingImpl; } else if (!(handlingImpl == null || fragmentTransitionImpl2 == handlingImpl)) { - StringBuilder O = a.O("Mixing framework transitions and AndroidX transitions is not allowed. Fragment "); - O.append(transitionInfo.getOperation().getFragment()); - O.append(" returned Transition "); - O.append(transitionInfo.getTransition()); - O.append(" which uses a different Transition type than other Fragments."); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Mixing framework transitions and AndroidX transitions is not allowed. Fragment "); + R.append(transitionInfo.getOperation().getFragment()); + R.append(" returned Transition "); + R.append(transitionInfo.getTransition()); + R.append(" which uses a different Transition type than other Fragments."); + throw new IllegalArgumentException(R.toString()); } } } diff --git a/app/src/main/java/androidx/fragment/app/Fragment.java b/app/src/main/java/androidx/fragment/app/Fragment.java index 114ad4937c..596207698b 100644 --- a/app/src/main/java/androidx/fragment/app/Fragment.java +++ b/app/src/main/java/androidx/fragment/app/Fragment.java @@ -191,10 +191,10 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis if (view != null) { return view.findViewById(i); } - StringBuilder O = a.O("Fragment "); - O.append(Fragment.this); - O.append(" does not have a view"); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Fragment "); + R.append(Fragment.this); + R.append(" does not have a view"); + throw new IllegalStateException(R.toString()); } @Override // androidx.fragment.app.FragmentContainer @@ -462,13 +462,13 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis } return fragment; } catch (InstantiationException e) { - throw new InstantiationException(a.v("Unable to instantiate fragment ", str, ": make sure class name exists, is public, and has an empty constructor that is public"), e); + throw new InstantiationException(a.w("Unable to instantiate fragment ", str, ": make sure class name exists, is public, and has an empty constructor that is public"), e); } catch (IllegalAccessException e2) { - throw new InstantiationException(a.v("Unable to instantiate fragment ", str, ": make sure class name exists, is public, and has an empty constructor that is public"), e2); + throw new InstantiationException(a.w("Unable to instantiate fragment ", str, ": make sure class name exists, is public, and has an empty constructor that is public"), e2); } catch (NoSuchMethodException e3) { - throw new InstantiationException(a.v("Unable to instantiate fragment ", str, ": could not find Fragment constructor"), e3); + throw new InstantiationException(a.w("Unable to instantiate fragment ", str, ": could not find Fragment constructor"), e3); } catch (InvocationTargetException e4) { - throw new InstantiationException(a.v("Unable to instantiate fragment ", str, ": calling Fragment constructor caused an exception"), e4); + throw new InstantiationException(a.w("Unable to instantiate fragment ", str, ": calling Fragment constructor caused an exception"), e4); } } @@ -479,7 +479,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis registerOnPreAttachListener(new AnonymousClass8(function, atomicReference, activityResultContract, activityResultCallback)); return new AnonymousClass9(atomicReference, activityResultContract); } - throw new IllegalStateException(a.s("Fragment ", this, " is attempting to registerForActivityResult after being created. Fragments must call registerForActivityResult() before they are created (i.e. initialization, onAttach(), or onCreate()).")); + throw new IllegalStateException(a.t("Fragment ", this, " is attempting to registerForActivityResult after being created. Fragments must call registerForActivityResult() before they are created (i.e. initialization, onAttach(), or onCreate()).")); } private void registerOnPreAttachListener(@NonNull OnPreAttachedListener onPreAttachedListener) { @@ -635,7 +635,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis } printWriter.print(str); printWriter.println("Child " + this.mChildFragmentManager + ":"); - this.mChildFragmentManager.dump(a.u(str, " "), fileDescriptor, printWriter, strArr); + this.mChildFragmentManager.dump(a.v(str, " "), fileDescriptor, printWriter, strArr); } @Override // java.lang.Object @@ -650,11 +650,11 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis @NonNull public String generateActivityResultKey() { - StringBuilder O = a.O("fragment_"); - O.append(this.mWho); - O.append("_rq#"); - O.append(this.mNextLocalRequestCode.getAndIncrement()); - return O.toString(); + StringBuilder R = a.R("fragment_"); + R.append(this.mWho); + R.append("_rq#"); + R.append(this.mNextLocalRequestCode.getAndIncrement()); + return R.toString(); } @Nullable @@ -710,7 +710,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis if (this.mHost != null) { return this.mChildFragmentManager; } - throw new IllegalStateException(a.s("Fragment ", this, " has not been attached yet.")); + throw new IllegalStateException(a.t("Fragment ", this, " has not been attached yet.")); } @Nullable @@ -740,10 +740,10 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis } } if (application == null && FragmentManager.isLoggingEnabled(3)) { - StringBuilder O = a.O("Could not find Application instance from Context "); - O.append(requireContext().getApplicationContext()); - O.append(", you will not be able to use AndroidViewModel with the default ViewModelProvider.Factory"); - Log.d(FragmentManager.TAG, O.toString()); + StringBuilder R = a.R("Could not find Application instance from Context "); + R.append(requireContext().getApplicationContext()); + R.append(", you will not be able to use AndroidViewModel with the default ViewModelProvider.Factory"); + Log.d(FragmentManager.TAG, R.toString()); } this.mDefaultFactory = new SavedStateViewModelFactory(application, this, getArguments()); } @@ -871,7 +871,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis if (fragmentManager != null) { return fragmentManager; } - throw new IllegalStateException(a.s("Fragment ", this, " not associated with a fragment manager.")); + throw new IllegalStateException(a.t("Fragment ", this, " not associated with a fragment manager.")); } public float getPostOnViewCreatedAlpha() { @@ -1353,7 +1353,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis this.mChildFragmentManager.dispatchActivityCreated(); return; } - throw new SuperNotCalledException(a.s("Fragment ", this, " did not call through to super.onActivityCreated()")); + throw new SuperNotCalledException(a.t("Fragment ", this, " did not call through to super.onActivityCreated()")); } public void performAttach() { @@ -1371,7 +1371,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis this.mChildFragmentManager.dispatchAttach(); return; } - throw new SuperNotCalledException(a.s("Fragment ", this, " did not call through to super.onAttach()")); + throw new SuperNotCalledException(a.t("Fragment ", this, " did not call through to super.onAttach()")); } public void performConfigurationChanged(@NonNull Configuration configuration) { @@ -1401,7 +1401,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis this.mLifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_CREATE); return; } - throw new SuperNotCalledException(a.s("Fragment ", this, " did not call through to super.onCreate()")); + throw new SuperNotCalledException(a.t("Fragment ", this, " did not call through to super.onCreate()")); } public boolean performCreateOptionsMenu(@NonNull Menu menu, @NonNull MenuInflater menuInflater) { @@ -1443,7 +1443,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis this.mIsCreated = false; onDestroy(); if (!this.mCalled) { - throw new SuperNotCalledException(a.s("Fragment ", this, " did not call through to super.onDestroy()")); + throw new SuperNotCalledException(a.t("Fragment ", this, " did not call through to super.onDestroy()")); } } @@ -1460,7 +1460,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis this.mPerformedCreateView = false; return; } - throw new SuperNotCalledException(a.s("Fragment ", this, " did not call through to super.onDestroyView()")); + throw new SuperNotCalledException(a.t("Fragment ", this, " did not call through to super.onDestroyView()")); } public void performDetach() { @@ -1469,7 +1469,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis onDetach(); this.mLayoutInflater = null; if (!this.mCalled) { - throw new SuperNotCalledException(a.s("Fragment ", this, " did not call through to super.onDetach()")); + throw new SuperNotCalledException(a.t("Fragment ", this, " did not call through to super.onDetach()")); } else if (!this.mChildFragmentManager.isDestroyed()) { this.mChildFragmentManager.dispatchDestroy(); this.mChildFragmentManager = new FragmentManagerImpl(); @@ -1522,7 +1522,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis this.mCalled = false; onPause(); if (!this.mCalled) { - throw new SuperNotCalledException(a.s("Fragment ", this, " did not call through to super.onPause()")); + throw new SuperNotCalledException(a.t("Fragment ", this, " did not call through to super.onPause()")); } } @@ -1569,7 +1569,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis this.mChildFragmentManager.dispatchResume(); return; } - throw new SuperNotCalledException(a.s("Fragment ", this, " did not call through to super.onResume()")); + throw new SuperNotCalledException(a.t("Fragment ", this, " did not call through to super.onResume()")); } public void performSaveInstanceState(Bundle bundle) { @@ -1597,7 +1597,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis this.mChildFragmentManager.dispatchStart(); return; } - throw new SuperNotCalledException(a.s("Fragment ", this, " did not call through to super.onStart()")); + throw new SuperNotCalledException(a.t("Fragment ", this, " did not call through to super.onStart()")); } public void performStop() { @@ -1610,7 +1610,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis this.mCalled = false; onStop(); if (!this.mCalled) { - throw new SuperNotCalledException(a.s("Fragment ", this, " did not call through to super.onStop()")); + throw new SuperNotCalledException(a.t("Fragment ", this, " did not call through to super.onStop()")); } } @@ -1655,7 +1655,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis getParentFragmentManager().launchRequestPermissions(this, strArr, i); return; } - throw new IllegalStateException(a.s("Fragment ", this, " not attached to Activity")); + throw new IllegalStateException(a.t("Fragment ", this, " not attached to Activity")); } @NonNull @@ -1664,7 +1664,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis if (activity != null) { return activity; } - throw new IllegalStateException(a.s("Fragment ", this, " not attached to an activity.")); + throw new IllegalStateException(a.t("Fragment ", this, " not attached to an activity.")); } @NonNull @@ -1673,7 +1673,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis if (arguments != null) { return arguments; } - throw new IllegalStateException(a.s("Fragment ", this, " does not have any arguments.")); + throw new IllegalStateException(a.t("Fragment ", this, " does not have any arguments.")); } @NonNull @@ -1682,7 +1682,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis if (context != null) { return context; } - throw new IllegalStateException(a.s("Fragment ", this, " not attached to a context.")); + throw new IllegalStateException(a.t("Fragment ", this, " not attached to a context.")); } @NonNull @@ -1697,7 +1697,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis if (host != null) { return host; } - throw new IllegalStateException(a.s("Fragment ", this, " not attached to a host.")); + throw new IllegalStateException(a.t("Fragment ", this, " not attached to a host.")); } @NonNull @@ -1707,7 +1707,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis return parentFragment; } if (getContext() == null) { - throw new IllegalStateException(a.s("Fragment ", this, " is not attached to any Fragment or host")); + throw new IllegalStateException(a.t("Fragment ", this, " is not attached to any Fragment or host")); } throw new IllegalStateException("Fragment " + this + " is not a child Fragment, it is directly attached to " + getContext()); } @@ -1718,7 +1718,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis if (view != null) { return view; } - throw new IllegalStateException(a.s("Fragment ", this, " did not return a View from onCreateView() or this was called before onCreateView().")); + throw new IllegalStateException(a.t("Fragment ", this, " did not return a View from onCreateView() or this was called before onCreateView().")); } public void restoreChildFragmentState(@Nullable Bundle bundle) { @@ -1742,7 +1742,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis this.mCalled = false; onViewStateRestored(bundle); if (!this.mCalled) { - throw new SuperNotCalledException(a.s("Fragment ", this, " did not call through to super.onViewStateRestored()")); + throw new SuperNotCalledException(a.t("Fragment ", this, " did not call through to super.onViewStateRestored()")); } else if (this.mView != null) { this.mViewLifecycleOwner.handleLifecycleEvent(Lifecycle.Event.ON_CREATE); } @@ -1921,7 +1921,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis this.mTargetRequestCode = i; return; } - throw new IllegalArgumentException(a.s("Fragment ", fragment, " must share the same FragmentManager to be set as a target fragment")); + throw new IllegalArgumentException(a.t("Fragment ", fragment, " must share the same FragmentManager to be set as a target fragment")); } @Deprecated @@ -1955,7 +1955,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis fragmentHostCallback.onStartActivityFromFragment(this, intent, -1, bundle); return; } - throw new IllegalStateException(a.s("Fragment ", this, " not attached to Activity")); + throw new IllegalStateException(a.t("Fragment ", this, " not attached to Activity")); } @Deprecated @@ -1969,7 +1969,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis getParentFragmentManager().launchStartActivityForResult(this, intent, i, bundle); return; } - throw new IllegalStateException(a.s("Fragment ", this, " not attached to Activity")); + throw new IllegalStateException(a.t("Fragment ", this, " not attached to Activity")); } @Deprecated @@ -1981,7 +1981,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis getParentFragmentManager().launchStartIntentSenderForResult(this, intentSender, i, intent, i2, i3, i4, bundle); return; } - throw new IllegalStateException(a.s("Fragment ", this, " not attached to Activity")); + throw new IllegalStateException(a.t("Fragment ", this, " not attached to Activity")); } public void startPostponedEnterTransition() { diff --git a/app/src/main/java/androidx/fragment/app/FragmentContainerView.java b/app/src/main/java/androidx/fragment/app/FragmentContainerView.java index c6549b0dc1..df85f7abce 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentContainerView.java +++ b/app/src/main/java/androidx/fragment/app/FragmentContainerView.java @@ -62,7 +62,7 @@ public final class FragmentContainerView extends FrameLayout { Fragment findFragmentById = fragmentManager.findFragmentById(id2); if (classAttribute != null && findFragmentById == null) { if (id2 <= 0) { - throw new IllegalStateException(a.v("FragmentContainerView must have an android:id to add Fragment ", classAttribute, string != null ? a.u(" with tag ", string) : "")); + throw new IllegalStateException(a.w("FragmentContainerView must have an android:id to add Fragment ", classAttribute, string != null ? a.v(" with tag ", string) : "")); } Fragment instantiate = fragmentManager.getFragmentFactory().instantiate(context.getClassLoader(), classAttribute); instantiate.onInflate(context, attributeSet, (Bundle) null); diff --git a/app/src/main/java/androidx/fragment/app/FragmentFactory.java b/app/src/main/java/androidx/fragment/app/FragmentFactory.java index d3dde37303..0b3a8eacd0 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentFactory.java +++ b/app/src/main/java/androidx/fragment/app/FragmentFactory.java @@ -39,9 +39,9 @@ public class FragmentFactory { try { return loadClass(classLoader, str); } catch (ClassNotFoundException e) { - throw new Fragment.InstantiationException(a.v("Unable to instantiate fragment ", str, ": make sure class name exists"), e); + throw new Fragment.InstantiationException(a.w("Unable to instantiate fragment ", str, ": make sure class name exists"), e); } catch (ClassCastException e2) { - throw new Fragment.InstantiationException(a.v("Unable to instantiate fragment ", str, ": make sure class is a valid subclass of Fragment"), e2); + throw new Fragment.InstantiationException(a.w("Unable to instantiate fragment ", str, ": make sure class is a valid subclass of Fragment"), e2); } } @@ -50,13 +50,13 @@ public class FragmentFactory { try { return (Fragment) loadFragmentClass(classLoader, str).getConstructor(new Class[0]).newInstance(new Object[0]); } catch (InstantiationException e) { - throw new Fragment.InstantiationException(a.v("Unable to instantiate fragment ", str, ": make sure class name exists, is public, and has an empty constructor that is public"), e); + throw new Fragment.InstantiationException(a.w("Unable to instantiate fragment ", str, ": make sure class name exists, is public, and has an empty constructor that is public"), e); } catch (IllegalAccessException e2) { - throw new Fragment.InstantiationException(a.v("Unable to instantiate fragment ", str, ": make sure class name exists, is public, and has an empty constructor that is public"), e2); + throw new Fragment.InstantiationException(a.w("Unable to instantiate fragment ", str, ": make sure class name exists, is public, and has an empty constructor that is public"), e2); } catch (NoSuchMethodException e3) { - throw new Fragment.InstantiationException(a.v("Unable to instantiate fragment ", str, ": could not find Fragment constructor"), e3); + throw new Fragment.InstantiationException(a.w("Unable to instantiate fragment ", str, ": could not find Fragment constructor"), e3); } catch (InvocationTargetException e4) { - throw new Fragment.InstantiationException(a.v("Unable to instantiate fragment ", str, ": calling Fragment constructor caused an exception"), e4); + throw new Fragment.InstantiationException(a.w("Unable to instantiate fragment ", str, ": calling Fragment constructor caused an exception"), e4); } } } diff --git a/app/src/main/java/androidx/fragment/app/FragmentKt$sam$androidx_fragment_app_FragmentResultListener$0.java b/app/src/main/java/androidx/fragment/app/FragmentKt$sam$androidx_fragment_app_FragmentResultListener$0.java index 7d605d919a..bc4e1d8240 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentKt$sam$androidx_fragment_app_FragmentResultListener$0.java +++ b/app/src/main/java/androidx/fragment/app/FragmentKt$sam$androidx_fragment_app_FragmentResultListener$0.java @@ -2,7 +2,7 @@ package androidx.fragment.app; import android.os.Bundle; import androidx.annotation.NonNull; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function2; /* compiled from: Fragment.kt */ public final class FragmentKt$sam$androidx_fragment_app_FragmentResultListener$0 implements FragmentResultListener { diff --git a/app/src/main/java/androidx/fragment/app/FragmentKt.java b/app/src/main/java/androidx/fragment/app/FragmentKt.java index 03be12d6d0..3d47d8c109 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentKt.java +++ b/app/src/main/java/androidx/fragment/app/FragmentKt.java @@ -1,7 +1,7 @@ package androidx.fragment.app; import android.os.Bundle; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function2; /* compiled from: Fragment.kt */ diff --git a/app/src/main/java/androidx/fragment/app/FragmentLayoutInflaterFactory.java b/app/src/main/java/androidx/fragment/app/FragmentLayoutInflaterFactory.java index 01683127e0..58cc3c0313 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentLayoutInflaterFactory.java +++ b/app/src/main/java/androidx/fragment/app/FragmentLayoutInflaterFactory.java @@ -96,7 +96,7 @@ public class FragmentLayoutInflaterFactory implements LayoutInflater.Factory2 { } return fragment.mView; } - throw new IllegalStateException(a.v("Fragment ", attributeValue, " did not create a view.")); + throw new IllegalStateException(a.w("Fragment ", attributeValue, " did not create a view.")); } @Override // android.view.LayoutInflater.Factory diff --git a/app/src/main/java/androidx/fragment/app/FragmentManager.java b/app/src/main/java/androidx/fragment/app/FragmentManager.java index 3af4a0e698..a63e05754b 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentManager.java +++ b/app/src/main/java/androidx/fragment/app/FragmentManager.java @@ -139,10 +139,10 @@ public abstract class FragmentManager implements FragmentResultOwner { int i = pollFirst.mRequestCode; Fragment findFragmentByWho = FragmentManager.access$200(FragmentManager.this).findFragmentByWho(str); if (findFragmentByWho == null) { - a.k0("Intent Sender result delivered for unknown Fragment ", str, FragmentManager.TAG); - } else { - findFragmentByWho.onActivityResult(i, activityResult.getResultCode(), activityResult.getData()); + Log.w(FragmentManager.TAG, "Intent Sender result delivered for unknown Fragment " + str); + return; } + findFragmentByWho.onActivityResult(i, activityResult.getResultCode(), activityResult.getData()); } } @@ -168,10 +168,10 @@ public abstract class FragmentManager implements FragmentResultOwner { int i2 = pollFirst.mRequestCode; Fragment findFragmentByWho = FragmentManager.access$200(FragmentManager.this).findFragmentByWho(str); if (findFragmentByWho == null) { - a.k0("Permission request result delivered for unknown Fragment ", str, FragmentManager.TAG); - } else { - findFragmentByWho.onRequestPermissionsResult(i2, strArr, iArr); + Log.w(FragmentManager.TAG, "Permission request result delivered for unknown Fragment " + str); + return; } + findFragmentByWho.onRequestPermissionsResult(i2, strArr, iArr); } } @@ -307,10 +307,10 @@ public abstract class FragmentManager implements FragmentResultOwner { int i = pollFirst.mRequestCode; Fragment findFragmentByWho = FragmentManager.access$200(FragmentManager.this).findFragmentByWho(str); if (findFragmentByWho == null) { - a.k0("Activity result delivered for unknown Fragment ", str, FragmentManager.TAG); - } else { - findFragmentByWho.onActivityResult(i, activityResult.getResultCode(), activityResult.getData()); + Log.w(FragmentManager.TAG, "Activity result delivered for unknown Fragment " + str); + return; } + findFragmentByWho.onActivityResult(i, activityResult.getResultCode(), activityResult.getData()); } } @@ -1315,10 +1315,10 @@ public abstract class FragmentManager implements FragmentResultOwner { FragmentHostCallback fragmentHostCallback2 = this.mHost; if (fragmentHostCallback2 instanceof ActivityResultRegistryOwner) { ActivityResultRegistry activityResultRegistry = ((ActivityResultRegistryOwner) fragmentHostCallback2).getActivityResultRegistry(); - String u = a.u("FragmentManager:", fragment != null ? a.G(new StringBuilder(), fragment.mWho, ":") : ""); - this.mStartActivityForResult = activityResultRegistry.register(a.u(u, "StartActivityForResult"), new ActivityResultContracts.StartActivityForResult(), new AnonymousClass9()); - this.mStartIntentSenderForResult = activityResultRegistry.register(a.u(u, "StartIntentSenderForResult"), new FragmentIntentSenderContract(), new AnonymousClass10()); - this.mRequestPermissions = activityResultRegistry.register(a.u(u, "RequestPermissions"), new ActivityResultContracts.RequestMultiplePermissions(), new AnonymousClass11()); + String v = a.v("FragmentManager:", fragment != null ? a.H(new StringBuilder(), fragment.mWho, ":") : ""); + this.mStartActivityForResult = activityResultRegistry.register(a.v(v, "StartActivityForResult"), new ActivityResultContracts.StartActivityForResult(), new AnonymousClass9()); + this.mStartIntentSenderForResult = activityResultRegistry.register(a.v(v, "StartIntentSenderForResult"), new FragmentIntentSenderContract(), new AnonymousClass10()); + this.mRequestPermissions = activityResultRegistry.register(a.v(v, "RequestPermissions"), new ActivityResultContracts.RequestMultiplePermissions(), new AnonymousClass11()); return; } return; @@ -1633,7 +1633,7 @@ public abstract class FragmentManager implements FragmentResultOwner { public void dump(@NonNull String str, @Nullable FileDescriptor fileDescriptor, @NonNull PrintWriter printWriter, @Nullable String[] strArr) { int size; int size2; - String u = a.u(str, " "); + String v = a.v(str, " "); this.mFragmentStore.dump(str, fileDescriptor, printWriter, strArr); ArrayList arrayList = this.mCreatedMenus; if (arrayList != null && (size2 = arrayList.size()) > 0) { @@ -1658,7 +1658,7 @@ public abstract class FragmentManager implements FragmentResultOwner { printWriter.print(i2); printWriter.print(": "); printWriter.println(backStackRecord.toString()); - backStackRecord.dump(u, printWriter); + backStackRecord.dump(v, printWriter); } } printWriter.print(str); @@ -2250,7 +2250,7 @@ public abstract class FragmentManager implements FragmentResultOwner { enqueueAction(new PopBackStackState(null, i, i2), false); return; } - throw new IllegalArgumentException(a.l("Bad id: ", i)); + throw new IllegalArgumentException(a.p("Bad id: ", i)); } public void popBackStack(@Nullable String str, int i) { @@ -2265,7 +2265,7 @@ public abstract class FragmentManager implements FragmentResultOwner { if (i >= 0) { return popBackStackImmediate(null, i, i2); } - throw new IllegalArgumentException(a.l("Bad id: ", i)); + throw new IllegalArgumentException(a.p("Bad id: ", i)); } public boolean popBackStackImmediate(@Nullable String str, int i) { @@ -2329,7 +2329,7 @@ public abstract class FragmentManager implements FragmentResultOwner { public void putFragment(@NonNull Bundle bundle, @NonNull String str, @NonNull Fragment fragment) { if (fragment.mFragmentManager != this) { - throwException(new IllegalStateException(a.s("Fragment ", fragment, " is not currently in the FragmentManager"))); + throwException(new IllegalStateException(a.t("Fragment ", fragment, " is not currently in the FragmentManager"))); } bundle.putString(str, fragment.mWho); } @@ -2409,11 +2409,11 @@ public abstract class FragmentManager implements FragmentResultOwner { Fragment fragment = fragmentStateManager.getFragment(); fragment.mFragmentManager = this; if (isLoggingEnabled(2)) { - StringBuilder O = a.O("restoreSaveState: active ("); - O.append(fragment.mWho); - O.append("): "); - O.append(fragment); - Log.v(TAG, O.toString()); + StringBuilder R = a.R("restoreSaveState: active ("); + R.append(fragment.mWho); + R.append("): "); + R.append(fragment); + Log.v(TAG, R.toString()); } fragmentStateManager.restoreState(this.mHost.getContext().getClassLoader()); this.mFragmentStore.makeActive(fragmentStateManager); @@ -2445,11 +2445,11 @@ public abstract class FragmentManager implements FragmentResultOwner { } BackStackRecord instantiate = backStackStateArr[i].instantiate(this); if (isLoggingEnabled(2)) { - StringBuilder P = a.P("restoreAllState: back stack #", i, " (index "); - P.append(instantiate.mIndex); - P.append("): "); - P.append(instantiate); - Log.v(TAG, P.toString()); + StringBuilder S = a.S("restoreAllState: back stack #", i, " (index "); + S.append(instantiate.mIndex); + S.append("): "); + S.append(instantiate); + Log.v(TAG, S.toString()); PrintWriter printWriter = new PrintWriter(new LogWriter(TAG)); instantiate.dump(" ", printWriter, false); printWriter.close(); @@ -2508,9 +2508,9 @@ public abstract class FragmentManager implements FragmentResultOwner { for (int i = 0; i < size; i++) { backStackStateArr[i] = new BackStackState(this.mBackStack.get(i)); if (isLoggingEnabled(2)) { - StringBuilder P = a.P("saveAllState: adding back stack #", i, ": "); - P.append(this.mBackStack.get(i)); - Log.v(TAG, P.toString()); + StringBuilder S = a.S("saveAllState: adding back stack #", i, ": "); + S.append(this.mBackStack.get(i)); + Log.v(TAG, S.toString()); } } } @@ -2533,7 +2533,7 @@ public abstract class FragmentManager implements FragmentResultOwner { public Fragment.SavedState saveFragmentInstanceState(@NonNull Fragment fragment) { FragmentStateManager fragmentStateManager = this.mFragmentStore.getFragmentStateManager(fragment.mWho); if (fragmentStateManager == null || !fragmentStateManager.getFragment().equals(fragment)) { - throwException(new IllegalStateException(a.s("Fragment ", fragment, " is not currently in the FragmentManager"))); + throwException(new IllegalStateException(a.t("Fragment ", fragment, " is not currently in the FragmentManager"))); } return fragmentStateManager.saveInstanceState(); } diff --git a/app/src/main/java/androidx/fragment/app/FragmentManagerKt.java b/app/src/main/java/androidx/fragment/app/FragmentManagerKt.java index af02437919..b428de6520 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentManagerKt.java +++ b/app/src/main/java/androidx/fragment/app/FragmentManagerKt.java @@ -1,6 +1,6 @@ package androidx.fragment.app; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: FragmentManager.kt */ diff --git a/app/src/main/java/androidx/fragment/app/FragmentStateManager.java b/app/src/main/java/androidx/fragment/app/FragmentStateManager.java index 3d340a1771..cbed80a9e2 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentStateManager.java +++ b/app/src/main/java/androidx/fragment/app/FragmentStateManager.java @@ -183,9 +183,9 @@ public class FragmentStateManager { public void activityCreated() { if (FragmentManager.isLoggingEnabled(3)) { - StringBuilder O = a.O("moveto ACTIVITY_CREATED: "); - O.append(this.mFragment); - Log.d("FragmentManager", O.toString()); + StringBuilder R = a.R("moveto ACTIVITY_CREATED: "); + R.append(this.mFragment); + Log.d("FragmentManager", R.toString()); } Fragment fragment = this.mFragment; fragment.performActivityCreated(fragment.mSavedFragmentState); @@ -202,9 +202,9 @@ public class FragmentStateManager { public void attach() { if (FragmentManager.isLoggingEnabled(3)) { - StringBuilder O = a.O("moveto ATTACHED: "); - O.append(this.mFragment); - Log.d("FragmentManager", O.toString()); + StringBuilder R = a.R("moveto ATTACHED: "); + R.append(this.mFragment); + Log.d("FragmentManager", R.toString()); } Fragment fragment = this.mFragment; Fragment fragment2 = fragment.mTarget; @@ -217,20 +217,20 @@ public class FragmentStateManager { fragment3.mTarget = null; fragmentStateManager = fragmentStateManager2; } else { - StringBuilder O2 = a.O("Fragment "); - O2.append(this.mFragment); - O2.append(" declared target fragment "); - O2.append(this.mFragment.mTarget); - O2.append(" that does not belong to this FragmentManager!"); - throw new IllegalStateException(O2.toString()); + StringBuilder R2 = a.R("Fragment "); + R2.append(this.mFragment); + R2.append(" declared target fragment "); + R2.append(this.mFragment.mTarget); + R2.append(" that does not belong to this FragmentManager!"); + throw new IllegalStateException(R2.toString()); } } else { String str = fragment.mTargetWho; if (str != null && (fragmentStateManager = this.mFragmentStore.getFragmentStateManager(str)) == null) { - StringBuilder O3 = a.O("Fragment "); - O3.append(this.mFragment); - O3.append(" declared target fragment "); - throw new IllegalStateException(a.G(O3, this.mFragment.mTargetWho, " that does not belong to this FragmentManager!")); + StringBuilder R3 = a.R("Fragment "); + R3.append(this.mFragment); + R3.append(" declared target fragment "); + throw new IllegalStateException(a.H(R3, this.mFragment.mTargetWho, " that does not belong to this FragmentManager!")); } } if (fragmentStateManager != null && (FragmentManager.USE_STATE_MANAGER || fragmentStateManager.getFragment().mState < 1)) { @@ -297,18 +297,18 @@ public class FragmentStateManager { i = Math.min(i, 4); } if (FragmentManager.isLoggingEnabled(2)) { - StringBuilder P = a.P("computeExpectedState() of ", i, " for "); - P.append(this.mFragment); - Log.v("FragmentManager", P.toString()); + StringBuilder S = a.S("computeExpectedState() of ", i, " for "); + S.append(this.mFragment); + Log.v("FragmentManager", S.toString()); } return i; } public void create() { if (FragmentManager.isLoggingEnabled(3)) { - StringBuilder O = a.O("moveto CREATED: "); - O.append(this.mFragment); - Log.d("FragmentManager", O.toString()); + StringBuilder R = a.R("moveto CREATED: "); + R.append(this.mFragment); + Log.d("FragmentManager", R.toString()); } Fragment fragment = this.mFragment; if (!fragment.mIsCreated) { @@ -328,9 +328,9 @@ public class FragmentStateManager { String str; if (!this.mFragment.mFromLayout) { if (FragmentManager.isLoggingEnabled(3)) { - StringBuilder O = a.O("moveto CREATE_VIEW: "); - O.append(this.mFragment); - Log.d("FragmentManager", O.toString()); + StringBuilder R = a.R("moveto CREATE_VIEW: "); + R.append(this.mFragment); + Log.d("FragmentManager", R.toString()); } Fragment fragment = this.mFragment; LayoutInflater performGetLayoutInflater = fragment.performGetLayoutInflater(fragment.mSavedFragmentState); @@ -352,20 +352,20 @@ public class FragmentStateManager { } catch (Resources.NotFoundException unused) { str = EnvironmentCompat.MEDIA_UNKNOWN; } - StringBuilder O2 = a.O("No view found for id 0x"); - O2.append(Integer.toHexString(this.mFragment.mContainerId)); - O2.append(" ("); - O2.append(str); - O2.append(") for fragment "); - O2.append(this.mFragment); - throw new IllegalArgumentException(O2.toString()); + StringBuilder R2 = a.R("No view found for id 0x"); + R2.append(Integer.toHexString(this.mFragment.mContainerId)); + R2.append(" ("); + R2.append(str); + R2.append(") for fragment "); + R2.append(this.mFragment); + throw new IllegalArgumentException(R2.toString()); } } } else { - StringBuilder O3 = a.O("Cannot create fragment "); - O3.append(this.mFragment); - O3.append(" for a container view with no id"); - throw new IllegalArgumentException(O3.toString()); + StringBuilder R3 = a.R("Cannot create fragment "); + R3.append(this.mFragment); + R3.append(" for a container view with no id"); + throw new IllegalArgumentException(R3.toString()); } } } @@ -425,9 +425,9 @@ public class FragmentStateManager { public void destroy() { Fragment findActiveFragment; if (FragmentManager.isLoggingEnabled(3)) { - StringBuilder O = a.O("movefrom CREATED: "); - O.append(this.mFragment); - Log.d("FragmentManager", O.toString()); + StringBuilder R = a.R("movefrom CREATED: "); + R.append(this.mFragment); + Log.d("FragmentManager", R.toString()); } Fragment fragment = this.mFragment; boolean z2 = true; @@ -471,9 +471,9 @@ public class FragmentStateManager { public void destroyFragmentView() { View view; if (FragmentManager.isLoggingEnabled(3)) { - StringBuilder O = a.O("movefrom CREATE_VIEW: "); - O.append(this.mFragment); - Log.d("FragmentManager", O.toString()); + StringBuilder R = a.R("movefrom CREATE_VIEW: "); + R.append(this.mFragment); + Log.d("FragmentManager", R.toString()); } Fragment fragment = this.mFragment; ViewGroup viewGroup = fragment.mContainer; @@ -492,9 +492,9 @@ public class FragmentStateManager { public void detach() { if (FragmentManager.isLoggingEnabled(3)) { - StringBuilder O = a.O("movefrom ATTACHED: "); - O.append(this.mFragment); - Log.d("FragmentManager", O.toString()); + StringBuilder R = a.R("movefrom ATTACHED: "); + R.append(this.mFragment); + Log.d("FragmentManager", R.toString()); } this.mFragment.performDetach(); boolean z2 = false; @@ -509,9 +509,9 @@ public class FragmentStateManager { } if (z2 || this.mFragmentStore.getNonConfig().shouldDestroy(this.mFragment)) { if (FragmentManager.isLoggingEnabled(3)) { - StringBuilder O2 = a.O("initState called for fragment: "); - O2.append(this.mFragment); - Log.d("FragmentManager", O2.toString()); + StringBuilder R2 = a.R("initState called for fragment: "); + R2.append(this.mFragment); + Log.d("FragmentManager", R2.toString()); } this.mFragment.initState(); } @@ -521,9 +521,9 @@ public class FragmentStateManager { Fragment fragment = this.mFragment; if (fragment.mFromLayout && fragment.mInLayout && !fragment.mPerformedCreateView) { if (FragmentManager.isLoggingEnabled(3)) { - StringBuilder O = a.O("moveto CREATE_VIEW: "); - O.append(this.mFragment); - Log.d("FragmentManager", O.toString()); + StringBuilder R = a.R("moveto CREATE_VIEW: "); + R.append(this.mFragment); + Log.d("FragmentManager", R.toString()); } Fragment fragment2 = this.mFragment; fragment2.performCreateView(fragment2.performGetLayoutInflater(fragment2.mSavedFragmentState), null, this.mFragment.mSavedFragmentState); @@ -659,17 +659,17 @@ public class FragmentStateManager { this.mMovingToState = z2; } } else if (FragmentManager.isLoggingEnabled(2)) { - StringBuilder O = a.O("Ignoring re-entrant call to moveToExpectedState() for "); - O.append(getFragment()); - Log.v("FragmentManager", O.toString()); + StringBuilder R = a.R("Ignoring re-entrant call to moveToExpectedState() for "); + R.append(getFragment()); + Log.v("FragmentManager", R.toString()); } } public void pause() { if (FragmentManager.isLoggingEnabled(3)) { - StringBuilder O = a.O("movefrom RESUMED: "); - O.append(this.mFragment); - Log.d("FragmentManager", O.toString()); + StringBuilder R = a.R("movefrom RESUMED: "); + R.append(this.mFragment); + Log.d("FragmentManager", R.toString()); } this.mFragment.performPause(); this.mDispatcher.dispatchOnFragmentPaused(this.mFragment, false); @@ -706,9 +706,9 @@ public class FragmentStateManager { public void resume() { if (FragmentManager.isLoggingEnabled(3)) { - StringBuilder O = a.O("moveto RESUMED: "); - O.append(this.mFragment); - Log.d("FragmentManager", O.toString()); + StringBuilder R = a.R("moveto RESUMED: "); + R.append(this.mFragment); + Log.d("FragmentManager", R.toString()); } View focusedView = this.mFragment.getFocusedView(); if (focusedView != null && isFragmentViewChild(focusedView)) { @@ -788,9 +788,9 @@ public class FragmentStateManager { public void start() { if (FragmentManager.isLoggingEnabled(3)) { - StringBuilder O = a.O("moveto STARTED: "); - O.append(this.mFragment); - Log.d("FragmentManager", O.toString()); + StringBuilder R = a.R("moveto STARTED: "); + R.append(this.mFragment); + Log.d("FragmentManager", R.toString()); } this.mFragment.performStart(); this.mDispatcher.dispatchOnFragmentStarted(this.mFragment, false); @@ -798,9 +798,9 @@ public class FragmentStateManager { public void stop() { if (FragmentManager.isLoggingEnabled(3)) { - StringBuilder O = a.O("movefrom STARTED: "); - O.append(this.mFragment); - Log.d("FragmentManager", O.toString()); + StringBuilder R = a.R("movefrom STARTED: "); + R.append(this.mFragment); + Log.d("FragmentManager", R.toString()); } this.mFragment.performStop(); this.mDispatcher.dispatchOnFragmentStopped(this.mFragment, false); diff --git a/app/src/main/java/androidx/fragment/app/FragmentStatePagerAdapter.java b/app/src/main/java/androidx/fragment/app/FragmentStatePagerAdapter.java index 54ded15e73..e1f6e8f509 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentStatePagerAdapter.java +++ b/app/src/main/java/androidx/fragment/app/FragmentStatePagerAdapter.java @@ -2,6 +2,7 @@ package androidx.fragment.app; import android.os.Bundle; import android.os.Parcelable; +import android.util.Log; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; @@ -138,7 +139,7 @@ public abstract class FragmentStatePagerAdapter extends PagerAdapter { fragment.setMenuVisibility(false); this.mFragments.set(parseInt, fragment); } else { - a.k0("Bad fragment at key ", str, TAG); + Log.w(TAG, "Bad fragment at key " + str); } } } @@ -163,7 +164,7 @@ public abstract class FragmentStatePagerAdapter extends PagerAdapter { if (bundle == null) { bundle = new Bundle(); } - this.mFragmentManager.putFragment(bundle, a.l("f", i), fragment); + this.mFragmentManager.putFragment(bundle, a.p("f", i), fragment); } } return bundle; diff --git a/app/src/main/java/androidx/fragment/app/FragmentStore.java b/app/src/main/java/androidx/fragment/app/FragmentStore.java index 70cb5cfb02..e761d37aa9 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentStore.java +++ b/app/src/main/java/androidx/fragment/app/FragmentStore.java @@ -48,7 +48,7 @@ public class FragmentStore { } public void dump(@NonNull String str, @Nullable FileDescriptor fileDescriptor, @NonNull PrintWriter printWriter, @Nullable String[] strArr) { - String u = a.u(str, " "); + String v = a.v(str, " "); if (!this.mActive.isEmpty()) { printWriter.print(str); printWriter.print("Active Fragments:"); @@ -57,7 +57,7 @@ public class FragmentStore { if (fragmentStateManager != null) { Fragment fragment = fragmentStateManager.getFragment(); printWriter.println(fragment); - fragment.dump(u, fileDescriptor, printWriter, strArr); + fragment.dump(v, fileDescriptor, printWriter, strArr); } else { printWriter.println("null"); } @@ -284,7 +284,7 @@ public class FragmentStore { } addFragment(findActiveFragment); } else { - throw new IllegalStateException(a.v("No instantiated fragment for (", str, ")")); + throw new IllegalStateException(a.w("No instantiated fragment for (", str, ")")); } } } diff --git a/app/src/main/java/androidx/fragment/app/FragmentTabHost.java b/app/src/main/java/androidx/fragment/app/FragmentTabHost.java index 57150a0a70..ac0d8fbbac 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentTabHost.java +++ b/app/src/main/java/androidx/fragment/app/FragmentTabHost.java @@ -72,10 +72,10 @@ public class FragmentTabHost extends TabHost implements TabHost.OnTabChangeListe @Override // java.lang.Object @NonNull public String toString() { - StringBuilder O = a.O("FragmentTabHost.SavedState{"); - O.append(Integer.toHexString(System.identityHashCode(this))); - O.append(" curTab="); - return a.G(O, this.curTab, "}"); + StringBuilder R = a.R("FragmentTabHost.SavedState{"); + R.append(Integer.toHexString(System.identityHashCode(this))); + R.append(" curTab="); + return a.H(R, this.curTab, "}"); } @Override // android.view.View.BaseSavedState, android.os.Parcelable, android.view.AbsSavedState @@ -146,9 +146,9 @@ public class FragmentTabHost extends TabHost implements TabHost.OnTabChangeListe FrameLayout frameLayout = (FrameLayout) findViewById(this.mContainerId); this.mRealTabContent = frameLayout; if (frameLayout == null) { - StringBuilder O = a.O("No tab content FrameLayout found for id "); - O.append(this.mContainerId); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("No tab content FrameLayout found for id "); + R.append(this.mContainerId); + throw new IllegalStateException(R.toString()); } } } diff --git a/app/src/main/java/androidx/fragment/app/FragmentTransaction.java b/app/src/main/java/androidx/fragment/app/FragmentTransaction.java index f379f4d0a9..624594c446 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentTransaction.java +++ b/app/src/main/java/androidx/fragment/app/FragmentTransaction.java @@ -173,9 +173,9 @@ public abstract class FragmentTransaction { this.mSharedElementSourceNames = new ArrayList<>(); this.mSharedElementTargetNames = new ArrayList<>(); } else if (this.mSharedElementTargetNames.contains(str)) { - throw new IllegalArgumentException(a.v("A shared element with the target name '", str, "' has already been added to the transaction.")); + throw new IllegalArgumentException(a.w("A shared element with the target name '", str, "' has already been added to the transaction.")); } else if (this.mSharedElementSourceNames.contains(transitionName)) { - throw new IllegalArgumentException(a.v("A shared element with the source name '", transitionName, "' has already been added to the transaction.")); + throw new IllegalArgumentException(a.w("A shared element with the source name '", transitionName, "' has already been added to the transaction.")); } this.mSharedElementSourceNames.add(transitionName); this.mSharedElementTargetNames.add(str); @@ -229,10 +229,10 @@ public abstract class FragmentTransaction { Class cls = fragment.getClass(); int modifiers = cls.getModifiers(); if (cls.isAnonymousClass() || !Modifier.isPublic(modifiers) || (cls.isMemberClass() && !Modifier.isStatic(modifiers))) { - StringBuilder O = a.O("Fragment "); - O.append(cls.getCanonicalName()); - O.append(" must be a public static class to be properly recreated from instance state."); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Fragment "); + R.append(cls.getCanonicalName()); + R.append(" must be a public static class to be properly recreated from instance state."); + throw new IllegalStateException(R.toString()); } if (str != null) { String str2 = fragment.mTag; diff --git a/app/src/main/java/androidx/fragment/app/FragmentTransactionKt.java b/app/src/main/java/androidx/fragment/app/FragmentTransactionKt.java index 066d7b43d0..f9b56c6c72 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentTransactionKt.java +++ b/app/src/main/java/androidx/fragment/app/FragmentTransactionKt.java @@ -2,7 +2,7 @@ package androidx.fragment.app; import android.os.Bundle; import androidx.annotation.IdRes; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: FragmentTransaction.kt */ public final class FragmentTransactionKt { public static final /* synthetic */ FragmentTransaction add(FragmentTransaction fragmentTransaction, @IdRes int i, String str, Bundle bundle) { diff --git a/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$activityViewModels$1.java b/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$activityViewModels$1.java index 7398704c70..0bd213c749 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$activityViewModels$1.java +++ b/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$activityViewModels$1.java @@ -2,7 +2,7 @@ package androidx.fragment.app; import androidx.lifecycle.ViewModelStore; import c.d.b.a.a; -import c0.z.d.o; +import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: FragmentViewModelLazy.kt */ public final class FragmentViewModelLazyKt$activityViewModels$1 extends o implements Function0 { @@ -16,7 +16,7 @@ public final class FragmentViewModelLazyKt$activityViewModels$1 extends o implem @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public final ViewModelStore mo17invoke() { + public final ViewModelStore mo1invoke() { return a.e0(this.$this_activityViewModels, "requireActivity()", "requireActivity().viewModelStore"); } } diff --git a/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$activityViewModels$2.java b/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$activityViewModels$2.java index b03189e71a..851ebde956 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$activityViewModels$2.java +++ b/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$activityViewModels$2.java @@ -2,7 +2,7 @@ package androidx.fragment.app; import androidx.lifecycle.ViewModelProvider; import c.d.b.a.a; -import c0.z.d.o; +import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: FragmentViewModelLazy.kt */ public final class FragmentViewModelLazyKt$activityViewModels$2 extends o implements Function0 { @@ -16,7 +16,7 @@ public final class FragmentViewModelLazyKt$activityViewModels$2 extends o implem @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public final ViewModelProvider.Factory mo17invoke() { + public final ViewModelProvider.Factory mo1invoke() { return a.T(this.$this_activityViewModels, "requireActivity()"); } } diff --git a/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$createViewModelLazy$factoryPromise$1.java b/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$createViewModelLazy$factoryPromise$1.java index 41749c4382..ad1119b666 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$createViewModelLazy$factoryPromise$1.java +++ b/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$createViewModelLazy$factoryPromise$1.java @@ -1,7 +1,7 @@ package androidx.fragment.app; import androidx.lifecycle.ViewModelProvider; -import c0.z.d.o; +import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: FragmentViewModelLazy.kt */ public final class FragmentViewModelLazyKt$createViewModelLazy$factoryPromise$1 extends o implements Function0 { @@ -15,7 +15,7 @@ public final class FragmentViewModelLazyKt$createViewModelLazy$factoryPromise$1 @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public final ViewModelProvider.Factory mo17invoke() { + public final ViewModelProvider.Factory mo1invoke() { return this.$this_createViewModelLazy.getDefaultViewModelProviderFactory(); } } diff --git a/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$viewModels$1.java b/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$viewModels$1.java index 62fa5c8d45..5bbcca365e 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$viewModels$1.java +++ b/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$viewModels$1.java @@ -1,6 +1,6 @@ package androidx.fragment.app; -import c0.z.d.o; +import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: FragmentViewModelLazy.kt */ public final class FragmentViewModelLazyKt$viewModels$1 extends o implements Function0 { @@ -14,7 +14,7 @@ public final class FragmentViewModelLazyKt$viewModels$1 extends o implements Fun @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public final Fragment mo17invoke() { + public final Fragment mo1invoke() { return this.$this_viewModels; } } diff --git a/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$viewModels$2.java b/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$viewModels$2.java index fce4b03528..e1209fb2ff 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$viewModels$2.java +++ b/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt$viewModels$2.java @@ -2,8 +2,8 @@ package androidx.fragment.app; import androidx.lifecycle.ViewModelStore; import androidx.lifecycle.ViewModelStoreOwner; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: FragmentViewModelLazy.kt */ public final class FragmentViewModelLazyKt$viewModels$2 extends o implements Function0 { @@ -17,8 +17,8 @@ public final class FragmentViewModelLazyKt$viewModels$2 extends o implements Fun @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public final ViewModelStore mo17invoke() { - ViewModelStore viewModelStore = ((ViewModelStoreOwner) this.$ownerProducer.mo17invoke()).getViewModelStore(); + public final ViewModelStore mo1invoke() { + ViewModelStore viewModelStore = ((ViewModelStoreOwner) this.$ownerProducer.mo1invoke()).getViewModelStore(); m.checkNotNullExpressionValue(viewModelStore, "ownerProducer().viewModelStore"); return viewModelStore; } diff --git a/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt.java b/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt.java index c639e3db65..17d752b498 100644 --- a/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt.java +++ b/app/src/main/java/androidx/fragment/app/FragmentViewModelLazyKt.java @@ -6,9 +6,9 @@ import androidx.lifecycle.ViewModelLazy; import androidx.lifecycle.ViewModelProvider; import androidx.lifecycle.ViewModelStore; import androidx.lifecycle.ViewModelStoreOwner; -import c0.e0.c; -import c0.z.d.a0; -import c0.z.d.m; +import d0.e0.c; +import d0.z.d.a0; +import d0.z.d.m; import kotlin.Lazy; import kotlin.jvm.functions.Function0; /* compiled from: FragmentViewModelLazy.kt */ diff --git a/app/src/main/java/androidx/fragment/app/SpecialEffectsController.java b/app/src/main/java/androidx/fragment/app/SpecialEffectsController.java index b29f0c357e..8f97bd5650 100644 --- a/app/src/main/java/androidx/fragment/app/SpecialEffectsController.java +++ b/app/src/main/java/androidx/fragment/app/SpecialEffectsController.java @@ -182,7 +182,7 @@ public abstract class SpecialEffectsController { if (i == 8) { return GONE; } - throw new IllegalArgumentException(a.l("Unknown visibility ", i)); + throw new IllegalArgumentException(a.p("Unknown visibility ", i)); } @NonNull @@ -297,40 +297,40 @@ public abstract class SpecialEffectsController { if (ordinal != 1) { if (ordinal == 2) { if (FragmentManager.isLoggingEnabled(2)) { - StringBuilder O = a.O("SpecialEffectsController: For fragment "); - O.append(this.mFragment); - O.append(" mFinalState = "); - O.append(this.mFinalState); - O.append(" -> REMOVED. mLifecycleImpact = "); - O.append(this.mLifecycleImpact); - O.append(" to REMOVING."); - Log.v(FragmentManager.TAG, O.toString()); + StringBuilder R = a.R("SpecialEffectsController: For fragment "); + R.append(this.mFragment); + R.append(" mFinalState = "); + R.append(this.mFinalState); + R.append(" -> REMOVED. mLifecycleImpact = "); + R.append(this.mLifecycleImpact); + R.append(" to REMOVING."); + Log.v(FragmentManager.TAG, R.toString()); } this.mFinalState = State.REMOVED; this.mLifecycleImpact = LifecycleImpact.REMOVING; } } else if (this.mFinalState == State.REMOVED) { if (FragmentManager.isLoggingEnabled(2)) { - StringBuilder O2 = a.O("SpecialEffectsController: For fragment "); - O2.append(this.mFragment); - O2.append(" mFinalState = REMOVED -> VISIBLE. mLifecycleImpact = "); - O2.append(this.mLifecycleImpact); - O2.append(" to ADDING."); - Log.v(FragmentManager.TAG, O2.toString()); + StringBuilder R2 = a.R("SpecialEffectsController: For fragment "); + R2.append(this.mFragment); + R2.append(" mFinalState = REMOVED -> VISIBLE. mLifecycleImpact = "); + R2.append(this.mLifecycleImpact); + R2.append(" to ADDING."); + Log.v(FragmentManager.TAG, R2.toString()); } this.mFinalState = State.VISIBLE; this.mLifecycleImpact = LifecycleImpact.ADDING; } } else if (this.mFinalState != State.REMOVED) { if (FragmentManager.isLoggingEnabled(2)) { - StringBuilder O3 = a.O("SpecialEffectsController: For fragment "); - O3.append(this.mFragment); - O3.append(" mFinalState = "); - O3.append(this.mFinalState); - O3.append(" -> "); - O3.append(state); - O3.append(". "); - Log.v(FragmentManager.TAG, O3.toString()); + StringBuilder R3 = a.R("SpecialEffectsController: For fragment "); + R3.append(this.mFragment); + R3.append(" mFinalState = "); + R3.append(this.mFinalState); + R3.append(" -> "); + R3.append(state); + R3.append(". "); + Log.v(FragmentManager.TAG, R3.toString()); } this.mFinalState = state; } @@ -341,22 +341,22 @@ public abstract class SpecialEffectsController { @NonNull public String toString() { - StringBuilder S = a.S("Operation ", "{"); - S.append(Integer.toHexString(System.identityHashCode(this))); - S.append("} "); - S.append("{"); - S.append("mFinalState = "); - S.append(this.mFinalState); - S.append("} "); - S.append("{"); - S.append("mLifecycleImpact = "); - S.append(this.mLifecycleImpact); - S.append("} "); - S.append("{"); - S.append("mFragment = "); - S.append(this.mFragment); - S.append("}"); - return S.toString(); + StringBuilder V = a.V("Operation ", "{"); + V.append(Integer.toHexString(System.identityHashCode(this))); + V.append("} "); + V.append("{"); + V.append("mFinalState = "); + V.append(this.mFinalState); + V.append("} "); + V.append("{"); + V.append("mLifecycleImpact = "); + V.append(this.mLifecycleImpact); + V.append("} "); + V.append("{"); + V.append("mFragment = "); + V.append(this.mFragment); + V.append("}"); + return V.toString(); } } @@ -432,36 +432,36 @@ public abstract class SpecialEffectsController { public void enqueueAdd(@NonNull Operation.State state, @NonNull FragmentStateManager fragmentStateManager) { if (FragmentManager.isLoggingEnabled(2)) { - StringBuilder O = a.O("SpecialEffectsController: Enqueuing add operation for fragment "); - O.append(fragmentStateManager.getFragment()); - Log.v(FragmentManager.TAG, O.toString()); + StringBuilder R = a.R("SpecialEffectsController: Enqueuing add operation for fragment "); + R.append(fragmentStateManager.getFragment()); + Log.v(FragmentManager.TAG, R.toString()); } enqueue(state, Operation.LifecycleImpact.ADDING, fragmentStateManager); } public void enqueueHide(@NonNull FragmentStateManager fragmentStateManager) { if (FragmentManager.isLoggingEnabled(2)) { - StringBuilder O = a.O("SpecialEffectsController: Enqueuing hide operation for fragment "); - O.append(fragmentStateManager.getFragment()); - Log.v(FragmentManager.TAG, O.toString()); + StringBuilder R = a.R("SpecialEffectsController: Enqueuing hide operation for fragment "); + R.append(fragmentStateManager.getFragment()); + Log.v(FragmentManager.TAG, R.toString()); } enqueue(Operation.State.GONE, Operation.LifecycleImpact.NONE, fragmentStateManager); } public void enqueueRemove(@NonNull FragmentStateManager fragmentStateManager) { if (FragmentManager.isLoggingEnabled(2)) { - StringBuilder O = a.O("SpecialEffectsController: Enqueuing remove operation for fragment "); - O.append(fragmentStateManager.getFragment()); - Log.v(FragmentManager.TAG, O.toString()); + StringBuilder R = a.R("SpecialEffectsController: Enqueuing remove operation for fragment "); + R.append(fragmentStateManager.getFragment()); + Log.v(FragmentManager.TAG, R.toString()); } enqueue(Operation.State.REMOVED, Operation.LifecycleImpact.REMOVING, fragmentStateManager); } public void enqueueShow(@NonNull FragmentStateManager fragmentStateManager) { if (FragmentManager.isLoggingEnabled(2)) { - StringBuilder O = a.O("SpecialEffectsController: Enqueuing show operation for fragment "); - O.append(fragmentStateManager.getFragment()); - Log.v(FragmentManager.TAG, O.toString()); + StringBuilder R = a.R("SpecialEffectsController: Enqueuing show operation for fragment "); + R.append(fragmentStateManager.getFragment()); + Log.v(FragmentManager.TAG, R.toString()); } enqueue(Operation.State.VISIBLE, Operation.LifecycleImpact.NONE, fragmentStateManager); } diff --git a/app/src/main/java/androidx/fragment/app/ViewKt.java b/app/src/main/java/androidx/fragment/app/ViewKt.java index 65c1bb57e2..a4bced200a 100644 --- a/app/src/main/java/androidx/fragment/app/ViewKt.java +++ b/app/src/main/java/androidx/fragment/app/ViewKt.java @@ -1,7 +1,7 @@ package androidx.fragment.app; import android.view.View; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: View.kt */ public final class ViewKt { public static final F findFragment(View view) { diff --git a/app/src/main/java/androidx/lifecycle/BlockRunner$cancel$1.java b/app/src/main/java/androidx/lifecycle/BlockRunner$cancel$1.java index fae708cd2d..c3addffdfc 100644 --- a/app/src/main/java/androidx/lifecycle/BlockRunner$cancel$1.java +++ b/app/src/main/java/androidx/lifecycle/BlockRunner$cancel$1.java @@ -1,11 +1,11 @@ package androidx.lifecycle; -import c.q.a.k.a; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.k; -import c0.z.d.m; +import c.i.a.f.e.o.f; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; @@ -23,7 +23,7 @@ public final class BlockRunner$cancel$1 extends k implements Function2 create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); return new BlockRunner$cancel$1(this.this$0, continuation); @@ -35,7 +35,7 @@ public final class BlockRunner$cancel$1 extends k implements Function2 create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); BlockRunner$maybeRun$1 blockRunner$maybeRun$1 = new BlockRunner$maybeRun$1(this.this$0, continuation); @@ -36,7 +36,7 @@ public final class BlockRunner$maybeRun$1 extends k implements Function2 { private final Function2, Continuation, Object> block; @@ -65,7 +65,7 @@ public final class BlockRunner { if (this.cancellationJob == null) { CoroutineScope coroutineScope = this.scope; CoroutineDispatcher coroutineDispatcher = j0.a; - this.cancellationJob = a.H(coroutineScope, n.b.H(), null, new BlockRunner$cancel$1(this, null), 2, null); + this.cancellationJob = f.x0(coroutineScope, n.b.H(), null, new BlockRunner$cancel$1(this, null), 2, null); return; } throw new IllegalStateException("Cancel call cannot happen without a maybeRun".toString()); @@ -75,11 +75,11 @@ public final class BlockRunner { public final void maybeRun() { Job job = this.cancellationJob; if (job != null) { - a.k(job, null, 1, null); + f.p(job, null, 1, null); } this.cancellationJob = null; if (this.runningJob == null) { - this.runningJob = a.H(this.scope, null, null, new BlockRunner$maybeRun$1(this, null), 3, null); + this.runningJob = f.x0(this.scope, null, null, new BlockRunner$maybeRun$1(this, null), 3, null); } } } diff --git a/app/src/main/java/androidx/lifecycle/ClassesInfoCache.java b/app/src/main/java/androidx/lifecycle/ClassesInfoCache.java index c7e3e396a2..4b8745483f 100644 --- a/app/src/main/java/androidx/lifecycle/ClassesInfoCache.java +++ b/app/src/main/java/androidx/lifecycle/ClassesInfoCache.java @@ -155,15 +155,15 @@ public final class ClassesInfoCache { Lifecycle.Event event2 = map.get(methodReference); if (event2 != null && event != event2) { Method method = methodReference.mMethod; - StringBuilder O = a.O("Method "); - O.append(method.getName()); - O.append(" in "); - O.append(cls.getName()); - O.append(" already declared with different @OnLifecycleEvent value: previous value "); - O.append(event2); - O.append(", new value "); - O.append(event); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Method "); + R.append(method.getName()); + R.append(" in "); + R.append(cls.getName()); + R.append(" already declared with different @OnLifecycleEvent value: previous value "); + R.append(event2); + R.append(", new value "); + R.append(event); + throw new IllegalArgumentException(R.toString()); } else if (event2 == null) { map.put(methodReference, event); } diff --git a/app/src/main/java/androidx/lifecycle/CloseableCoroutineScope.java b/app/src/main/java/androidx/lifecycle/CloseableCoroutineScope.java index 56267c659f..3ce1e307ce 100644 --- a/app/src/main/java/androidx/lifecycle/CloseableCoroutineScope.java +++ b/app/src/main/java/androidx/lifecycle/CloseableCoroutineScope.java @@ -1,7 +1,7 @@ package androidx.lifecycle; -import c.q.a.k.a; -import c0.z.d.m; +import c.i.a.f.e.o.f; +import d0.z.d.m; import java.io.Closeable; import kotlin.coroutines.CoroutineContext; import kotlinx.coroutines.CoroutineScope; @@ -16,7 +16,7 @@ public final class CloseableCoroutineScope implements Closeable, CoroutineScope @Override // java.io.Closeable, java.lang.AutoCloseable public void close() { - a.j(getCoroutineContext(), null, 1, null); + f.o(getCoroutineContext(), null, 1, null); } @Override // kotlinx.coroutines.CoroutineScope diff --git a/app/src/main/java/androidx/lifecycle/CoroutineLiveData$clearSource$1.java b/app/src/main/java/androidx/lifecycle/CoroutineLiveData$clearSource$1.java index 4cfd3b106d..b3ec0c8532 100644 --- a/app/src/main/java/androidx/lifecycle/CoroutineLiveData$clearSource$1.java +++ b/app/src/main/java/androidx/lifecycle/CoroutineLiveData$clearSource$1.java @@ -1,7 +1,7 @@ package androidx.lifecycle; -import c0.w.i.a.d; -import c0.w.i.a.e; +import d0.w.i.a.d; +import d0.w.i.a.e; import kotlin.coroutines.Continuation; /* compiled from: CoroutineLiveData.kt */ @e(c = "androidx.lifecycle.CoroutineLiveData", f = "CoroutineLiveData.kt", l = {234}, m = "clearSource$lifecycle_livedata_ktx_release") @@ -17,7 +17,7 @@ public final class CoroutineLiveData$clearSource$1 extends d { this.this$0 = coroutineLiveData; } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { this.result = obj; this.label |= Integer.MIN_VALUE; diff --git a/app/src/main/java/androidx/lifecycle/CoroutineLiveData$emitSource$1.java b/app/src/main/java/androidx/lifecycle/CoroutineLiveData$emitSource$1.java index c8e2fb4eec..5f6c266738 100644 --- a/app/src/main/java/androidx/lifecycle/CoroutineLiveData$emitSource$1.java +++ b/app/src/main/java/androidx/lifecycle/CoroutineLiveData$emitSource$1.java @@ -1,7 +1,7 @@ package androidx.lifecycle; -import c0.w.i.a.d; -import c0.w.i.a.e; +import d0.w.i.a.d; +import d0.w.i.a.e; import kotlin.coroutines.Continuation; /* compiled from: CoroutineLiveData.kt */ @e(c = "androidx.lifecycle.CoroutineLiveData", f = "CoroutineLiveData.kt", l = {227, 228}, m = "emitSource$lifecycle_livedata_ktx_release") @@ -18,7 +18,7 @@ public final class CoroutineLiveData$emitSource$1 extends d { this.this$0 = coroutineLiveData; } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { this.result = obj; this.label |= Integer.MIN_VALUE; diff --git a/app/src/main/java/androidx/lifecycle/CoroutineLiveData.java b/app/src/main/java/androidx/lifecycle/CoroutineLiveData.java index 1dd3fe462c..3b8bf6d8f8 100644 --- a/app/src/main/java/androidx/lifecycle/CoroutineLiveData.java +++ b/app/src/main/java/androidx/lifecycle/CoroutineLiveData.java @@ -1,11 +1,10 @@ package androidx.lifecycle; -import c.q.a.k.a; -import c0.l; -import c0.w.f; -import c0.w.h.c; -import c0.z.d.m; -import c0.z.d.o; +import c.i.a.f.e.o.f; +import d0.l; +import d0.w.h.c; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.coroutines.CoroutineContext; @@ -14,10 +13,10 @@ import kotlin.jvm.functions.Function2; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlinx.coroutines.CoroutineDispatcher; import kotlinx.coroutines.Job; -import r.a.a.n; -import r.a.j0; -import r.a.l0; -import r.a.r1; +import s.a.a.n; +import s.a.j0; +import s.a.l0; +import s.a.r1; /* compiled from: CoroutineLiveData.kt */ public final class CoroutineLiveData extends MediatorLiveData { private BlockRunner blockRunner; @@ -36,7 +35,7 @@ public final class CoroutineLiveData extends MediatorLiveData { @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public final void mo17invoke() { + public final void mo1invoke() { CoroutineLiveData.access$setBlockRunner$p(this.this$0, null); } } @@ -46,12 +45,12 @@ public final class CoroutineLiveData extends MediatorLiveData { m.checkNotNullParameter(function2, "block"); r1 r1Var = new r1((Job) coroutineContext.get(Job.h)); CoroutineDispatcher coroutineDispatcher = j0.a; - this.blockRunner = new BlockRunner<>(this, function2, j, a.a(n.b.H().plus(coroutineContext).plus(r1Var)), new AnonymousClass1(this)); + this.blockRunner = new BlockRunner<>(this, function2, j, f.a(n.b.H().plus(coroutineContext).plus(r1Var)), new AnonymousClass1(this)); } /* JADX INFO: this call moved to the top of the method (can break code semantics) */ public /* synthetic */ CoroutineLiveData(CoroutineContext coroutineContext, long j, Function2 function2, int i, DefaultConstructorMarker defaultConstructorMarker) { - this((i & 1) != 0 ? f.i : coroutineContext, (i & 2) != 0 ? 5000 : j, function2); + this((i & 1) != 0 ? d0.w.f.i : coroutineContext, (i & 2) != 0 ? 5000 : j, function2); } public static final /* synthetic */ BlockRunner access$getBlockRunner$p(CoroutineLiveData coroutineLiveData) { diff --git a/app/src/main/java/androidx/lifecycle/CoroutineLiveDataKt$addDisposableSource$2.java b/app/src/main/java/androidx/lifecycle/CoroutineLiveDataKt$addDisposableSource$2.java index e0311589a4..7f9a42b83e 100644 --- a/app/src/main/java/androidx/lifecycle/CoroutineLiveDataKt$addDisposableSource$2.java +++ b/app/src/main/java/androidx/lifecycle/CoroutineLiveDataKt$addDisposableSource$2.java @@ -1,10 +1,10 @@ package androidx.lifecycle; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.k; -import c0.z.d.m; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; @@ -38,7 +38,7 @@ public final class CoroutineLiveDataKt$addDisposableSource$2 extends k implement this.$source = liveData; } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Continuation create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); return new CoroutineLiveDataKt$addDisposableSource$2(this.$this_addDisposableSource, this.$source, continuation); @@ -50,7 +50,7 @@ public final class CoroutineLiveDataKt$addDisposableSource$2 extends k implement return ((CoroutineLiveDataKt$addDisposableSource$2) create(coroutineScope, continuation)).invokeSuspend(Unit.a); } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { c.getCOROUTINE_SUSPENDED(); if (this.label == 0) { diff --git a/app/src/main/java/androidx/lifecycle/CoroutineLiveDataKt.java b/app/src/main/java/androidx/lifecycle/CoroutineLiveDataKt.java index 935543d8a3..cbab735232 100644 --- a/app/src/main/java/androidx/lifecycle/CoroutineLiveDataKt.java +++ b/app/src/main/java/androidx/lifecycle/CoroutineLiveDataKt.java @@ -1,24 +1,23 @@ package androidx.lifecycle; import androidx.annotation.RequiresApi; -import c.q.a.k.a; -import c0.w.f; -import c0.z.d.m; +import c.i.a.f.e.o.f; +import d0.z.d.m; import java.time.Duration; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.coroutines.CoroutineContext; import kotlin.jvm.functions.Function2; import kotlinx.coroutines.CoroutineDispatcher; -import r.a.a.n; -import r.a.j0; +import s.a.a.n; +import s.a.j0; /* compiled from: CoroutineLiveData.kt */ public final class CoroutineLiveDataKt { public static final long DEFAULT_TIMEOUT = 5000; public static final Object addDisposableSource(MediatorLiveData mediatorLiveData, LiveData liveData, Continuation continuation) { CoroutineDispatcher coroutineDispatcher = j0.a; - return a.j0(n.b.H(), new CoroutineLiveDataKt$addDisposableSource$2(mediatorLiveData, liveData, null), continuation); + return f.k1(n.b.H(), new CoroutineLiveDataKt$addDisposableSource$2(mediatorLiveData, liveData, null), continuation); } public static final LiveData liveData(CoroutineContext coroutineContext, long j, Function2, ? super Continuation, ? extends Object> function2) { @@ -37,7 +36,7 @@ public final class CoroutineLiveDataKt { public static /* synthetic */ LiveData liveData$default(CoroutineContext coroutineContext, long j, Function2 function2, int i, Object obj) { if ((i & 1) != 0) { - coroutineContext = f.i; + coroutineContext = d0.w.f.i; } if ((i & 2) != 0) { j = 5000; @@ -47,7 +46,7 @@ public final class CoroutineLiveDataKt { public static /* synthetic */ LiveData liveData$default(CoroutineContext coroutineContext, Duration duration, Function2 function2, int i, Object obj) { if ((i & 1) != 0) { - coroutineContext = f.i; + coroutineContext = d0.w.f.i; } return liveData(coroutineContext, duration, function2); } diff --git a/app/src/main/java/androidx/lifecycle/DispatchQueue.java b/app/src/main/java/androidx/lifecycle/DispatchQueue.java index 0634fbc254..a82aeb2705 100644 --- a/app/src/main/java/androidx/lifecycle/DispatchQueue.java +++ b/app/src/main/java/androidx/lifecycle/DispatchQueue.java @@ -3,14 +3,14 @@ package androidx.lifecycle; import android.annotation.SuppressLint; import androidx.annotation.AnyThread; import androidx.annotation.MainThread; -import c0.z.d.m; +import d0.z.d.m; import java.util.ArrayDeque; import java.util.Queue; import kotlin.coroutines.CoroutineContext; import kotlinx.coroutines.CoroutineDispatcher; -import r.a.a.n; -import r.a.j0; -import r.a.k1; +import s.a.a.n; +import s.a.j0; +import s.a.k1; /* compiled from: DispatchQueue.kt */ public final class DispatchQueue { private boolean finished; diff --git a/app/src/main/java/androidx/lifecycle/EmittedSource$dispose$1.java b/app/src/main/java/androidx/lifecycle/EmittedSource$dispose$1.java index 721865138a..ebd23d0478 100644 --- a/app/src/main/java/androidx/lifecycle/EmittedSource$dispose$1.java +++ b/app/src/main/java/androidx/lifecycle/EmittedSource$dispose$1.java @@ -1,10 +1,10 @@ package androidx.lifecycle; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.k; -import c0.z.d.m; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; @@ -21,7 +21,7 @@ public final class EmittedSource$dispose$1 extends k implements Function2 create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); return new EmittedSource$dispose$1(this.this$0, continuation); @@ -33,7 +33,7 @@ public final class EmittedSource$dispose$1 extends k implements Function2 create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); return new EmittedSource$disposeNow$2(this.this$0, continuation); @@ -33,7 +33,7 @@ public final class EmittedSource$disposeNow$2 extends k implements Function2 continuation) { CoroutineDispatcher coroutineDispatcher = j0.a; - Object j0 = a.j0(n.b.H(), new EmittedSource$disposeNow$2(this, null), continuation); - return j0 == c.getCOROUTINE_SUSPENDED() ? j0 : Unit.a; + Object k1 = f.k1(n.b.H(), new EmittedSource$disposeNow$2(this, null), continuation); + return k1 == c.getCOROUTINE_SUSPENDED() ? k1 : Unit.a; } } diff --git a/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asFlow$1$observer$1.java b/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asFlow$1$observer$1.java index bbd67c0adf..49f8aa320e 100644 --- a/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asFlow$1$observer$1.java +++ b/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asFlow$1$observer$1.java @@ -1,6 +1,6 @@ package androidx.lifecycle; -import r.a.z1.d; +import s.a.z1.d; /* compiled from: FlowLiveData.kt */ public final class FlowLiveDataConversions$asFlow$1$observer$1 implements Observer { public final /* synthetic */ d $channel; diff --git a/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asFlow$1.java b/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asFlow$1.java index 43c323ed2a..c98323ecdb 100644 --- a/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asFlow$1.java +++ b/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asFlow$1.java @@ -1,22 +1,22 @@ package androidx.lifecycle; -import c.q.a.k.a; -import c0.l; -import c0.w.i.a.e; -import c0.w.i.a.k; -import c0.z.d.m; +import c.i.a.f.e.o.f; +import d0.l; +import d0.w.i.a.e; +import d0.w.i.a.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; import kotlinx.coroutines.CoroutineDispatcher; import kotlinx.coroutines.CoroutineScope; -import r.a.a.n; -import r.a.a2.c; -import r.a.j0; -import r.a.k1; -import r.a.w0; -import r.a.z1.d; -import r.a.z1.g; +import s.a.a.n; +import s.a.a2.c; +import s.a.j0; +import s.a.k1; +import s.a.w0; +import s.a.z1.d; +import s.a.z1.g; /* compiled from: FlowLiveData.kt */ @e(c = "androidx.lifecycle.FlowLiveDataConversions$asFlow$1", f = "FlowLiveData.kt", l = {96, 100, 101}, m = "invokeSuspend") public final class FlowLiveDataConversions$asFlow$1 extends k implements Function2, Continuation, Object> { @@ -41,7 +41,7 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio this.$observer = observer; } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Continuation create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); return new AnonymousClass1(this.this$0, this.$observer, continuation); @@ -53,9 +53,9 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio return ((AnonymousClass1) create(coroutineScope, continuation)).invokeSuspend(Unit.a); } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { - c0.w.h.c.getCOROUTINE_SUSPENDED(); + d0.w.h.c.getCOROUTINE_SUSPENDED(); if (this.label == 0) { l.throwOnFailure(obj); this.this$0.$this_asFlow.observeForever(this.$observer); @@ -80,7 +80,7 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio this.$observer = observer; } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Continuation create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); return new AnonymousClass2(this.this$0, this.$observer, continuation); @@ -92,9 +92,9 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio return ((AnonymousClass2) create(coroutineScope, continuation)).invokeSuspend(Unit.a); } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { - c0.w.h.c.getCOROUTINE_SUSPENDED(); + d0.w.h.c.getCOROUTINE_SUSPENDED(); if (this.label == 0) { l.throwOnFailure(obj); this.this$0.$this_asFlow.removeObserver(this.$observer); @@ -110,7 +110,7 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio this.$this_asFlow = liveData; } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Continuation create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); FlowLiveDataConversions$asFlow$1 flowLiveDataConversions$asFlow$1 = new FlowLiveDataConversions$asFlow$1(this.$this_asFlow, continuation); @@ -126,7 +126,7 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio /* JADX WARNING: Removed duplicated region for block: B:25:0x009a */ /* JADX WARNING: Removed duplicated region for block: B:29:0x00a9 A[Catch:{ all -> 0x00da }] */ - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { FlowLiveDataConversions$asFlow$1 flowLiveDataConversions$asFlow$1; Observer observer; @@ -134,15 +134,15 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio Throwable th2; c cVar; Observer observer2; - r.a.z1.e eVar; + s.a.z1.e eVar; Object obj2; FlowLiveDataConversions$asFlow$1 flowLiveDataConversions$asFlow$12; - r.a.z1.e eVar2; + s.a.z1.e eVar2; c cVar2; Object a; d dVar; Observer observer3; - Object coroutine_suspended = c0.w.h.c.getCOROUTINE_SUSPENDED(); + Object coroutine_suspended = d0.w.h.c.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { l.throwOnFailure(obj); @@ -156,7 +156,7 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio this.L$1 = gVar; this.L$2 = flowLiveDataConversions$asFlow$1$observer$1; this.label = 1; - if (a.j0(H, r8, this) == coroutine_suspended) { + if (f.k1(H, r8, this) == coroutine_suspended) { return coroutine_suspended; } dVar = gVar; @@ -171,17 +171,17 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio l.throwOnFailure(obj); cVar = (c) this.L$0; observer2 = (Observer) this.L$1; - eVar = (r.a.z1.e) this.L$2; + eVar = (s.a.z1.e) this.L$2; obj2 = coroutine_suspended; flowLiveDataConversions$asFlow$12 = this; if (!((Boolean) obj).booleanValue()) { } w0 w0Var = w0.i; CoroutineDispatcher coroutineDispatcher2 = j0.a; - a.H(w0Var, n.b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$12, observer2, null), 2, null); + f.x0(w0Var, n.b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$12, observer2, null), 2, null); return Unit.a; } else if (i == 3) { - eVar2 = (r.a.z1.e) this.L$2; + eVar2 = (s.a.z1.e) this.L$2; observer = (Observer) this.L$1; cVar2 = (c) this.L$0; try { @@ -224,7 +224,7 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio } w0 w0Var = w0.i; CoroutineDispatcher coroutineDispatcher2 = j0.a; - a.H(w0Var, n.b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$12, observer2, null), 2, null); + f.x0(w0Var, n.b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$12, observer2, null), 2, null); return Unit.a; } catch (Throwable th3) { observer = observer2; @@ -232,7 +232,7 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio flowLiveDataConversions$asFlow$1 = flowLiveDataConversions$asFlow$12; w0 w0Var2 = w0.i; CoroutineDispatcher coroutineDispatcher3 = j0.a; - a.H(w0Var2, n.b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer, null), 2, null); + f.x0(w0Var2, n.b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer, null), 2, null); throw th; } } @@ -244,7 +244,7 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } try { - r.a.z1.e it = dVar.iterator(); + s.a.z1.e it = dVar.iterator(); observer = observer3; eVar2 = it; flowLiveDataConversions$asFlow$1 = this; @@ -255,7 +255,7 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio flowLiveDataConversions$asFlow$1 = this; w0 w0Var2 = w0.i; CoroutineDispatcher coroutineDispatcher3 = j0.a; - a.H(w0Var2, n.b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer, null), 2, null); + f.x0(w0Var2, n.b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer, null), 2, null); throw th; } try { @@ -271,7 +271,7 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio th = th6; w0 w0Var2 = w0.i; CoroutineDispatcher coroutineDispatcher3 = j0.a; - a.H(w0Var2, n.b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer, null), 2, null); + f.x0(w0Var2, n.b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer, null), 2, null); throw th; } } diff --git a/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asLiveData$1$invokeSuspend$$inlined$collect$1.java b/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asLiveData$1$invokeSuspend$$inlined$collect$1.java index cbe7937109..906cbde2f3 100644 --- a/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asLiveData$1$invokeSuspend$$inlined$collect$1.java +++ b/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asLiveData$1$invokeSuspend$$inlined$collect$1.java @@ -2,7 +2,7 @@ package androidx.lifecycle; import kotlin.Unit; import kotlin.coroutines.Continuation; -import r.a.a2.c; +import s.a.a2.c; /* compiled from: Collect.kt */ public final class FlowLiveDataConversions$asLiveData$1$invokeSuspend$$inlined$collect$1 implements c { public final /* synthetic */ LiveDataScope $this_liveData$inlined; @@ -11,9 +11,9 @@ public final class FlowLiveDataConversions$asLiveData$1$invokeSuspend$$inlined$c this.$this_liveData$inlined = liveDataScope; } - @Override // r.a.a2.c + @Override // s.a.a2.c public Object emit(Object obj, Continuation continuation) { Object emit = this.$this_liveData$inlined.emit(obj, continuation); - return emit == c0.w.h.c.getCOROUTINE_SUSPENDED() ? emit : Unit.a; + return emit == d0.w.h.c.getCOROUTINE_SUSPENDED() ? emit : Unit.a; } } diff --git a/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asLiveData$1.java b/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asLiveData$1.java index 725bd5761d..ac5f3a10d9 100644 --- a/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asLiveData$1.java +++ b/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asLiveData$1.java @@ -1,14 +1,14 @@ package androidx.lifecycle; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.k; -import c0.z.d.m; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; -import r.a.a2.b; +import s.a.a2.b; /* compiled from: FlowLiveData.kt */ @e(c = "androidx.lifecycle.FlowLiveDataConversions$asLiveData$1", f = "FlowLiveData.kt", l = {149}, m = "invokeSuspend") public final class FlowLiveDataConversions$asLiveData$1 extends k implements Function2, Continuation, Object> { @@ -22,7 +22,7 @@ public final class FlowLiveDataConversions$asLiveData$1 extends k implements Fun this.$this_asLiveData = bVar; } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Continuation create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); FlowLiveDataConversions$asLiveData$1 flowLiveDataConversions$asLiveData$1 = new FlowLiveDataConversions$asLiveData$1(this.$this_asLiveData, continuation); @@ -36,7 +36,7 @@ public final class FlowLiveDataConversions$asLiveData$1 extends k implements Fun return ((FlowLiveDataConversions$asLiveData$1) create(obj, continuation)).invokeSuspend(Unit.a); } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { Object coroutine_suspended = c.getCOROUTINE_SUSPENDED(); int i = this.label; diff --git a/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions.java b/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions.java index 720d311e30..16491bc6bc 100644 --- a/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions.java +++ b/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions.java @@ -1,12 +1,12 @@ package androidx.lifecycle; import androidx.annotation.RequiresApi; -import c0.w.f; -import c0.z.d.m; +import d0.w.f; +import d0.z.d.m; import java.time.Duration; import kotlin.coroutines.CoroutineContext; -import r.a.a2.b; -import r.a.a2.d; +import s.a.a2.b; +import s.a.a2.d; /* compiled from: FlowLiveData.kt */ public final class FlowLiveDataConversions { public static final b asFlow(LiveData liveData) { diff --git a/app/src/main/java/androidx/lifecycle/LifecycleController$observer$1.java b/app/src/main/java/androidx/lifecycle/LifecycleController$observer$1.java index 40faf576ea..737a9ee742 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleController$observer$1.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleController$observer$1.java @@ -1,8 +1,8 @@ package androidx.lifecycle; import androidx.lifecycle.Lifecycle; -import c.q.a.k.a; -import c0.z.d.m; +import c.i.a.f.e.o.f; +import d0.z.d.m; import kotlinx.coroutines.Job; /* compiled from: LifecycleController.kt */ public final class LifecycleController$observer$1 implements LifecycleEventObserver { @@ -22,7 +22,7 @@ public final class LifecycleController$observer$1 implements LifecycleEventObser m.checkNotNullExpressionValue(lifecycle, "source.lifecycle"); if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) { LifecycleController lifecycleController = this.this$0; - a.k(this.$parentJob, null, 1, null); + f.p(this.$parentJob, null, 1, null); lifecycleController.finish(); return; } diff --git a/app/src/main/java/androidx/lifecycle/LifecycleController.java b/app/src/main/java/androidx/lifecycle/LifecycleController.java index 1199804367..cc4ca4ad0c 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleController.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleController.java @@ -2,8 +2,8 @@ package androidx.lifecycle; import androidx.annotation.MainThread; import androidx.lifecycle.Lifecycle; -import c.q.a.k.a; -import c0.z.d.m; +import c.i.a.f.e.o.f; +import d0.z.d.m; import kotlinx.coroutines.Job; /* compiled from: LifecycleController.kt */ @MainThread @@ -24,7 +24,7 @@ public final class LifecycleController { LifecycleController$observer$1 lifecycleController$observer$1 = new LifecycleController$observer$1(this, job); this.observer = lifecycleController$observer$1; if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) { - a.k(job, null, 1, null); + f.p(job, null, 1, null); finish(); return; } @@ -44,7 +44,7 @@ public final class LifecycleController { } private final void handleDestroy(Job job) { - a.k(job, null, 1, null); + f.p(job, null, 1, null); finish(); } diff --git a/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1.java b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1.java index 3033461fb1..d941b0a438 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1.java @@ -1,10 +1,10 @@ package androidx.lifecycle; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.k; -import c0.z.d.m; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; @@ -23,7 +23,7 @@ public final class LifecycleCoroutineScope$launchWhenCreated$1 extends k impleme this.$block = function2; } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Continuation create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); return new LifecycleCoroutineScope$launchWhenCreated$1(this.this$0, this.$block, continuation); @@ -35,7 +35,7 @@ public final class LifecycleCoroutineScope$launchWhenCreated$1 extends k impleme return ((LifecycleCoroutineScope$launchWhenCreated$1) create(coroutineScope, continuation)).invokeSuspend(Unit.a); } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { Object coroutine_suspended = c.getCOROUTINE_SUSPENDED(); int i = this.label; diff --git a/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1.java b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1.java index 1745ff8ffa..2b01a4e9cf 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1.java @@ -1,10 +1,10 @@ package androidx.lifecycle; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.k; -import c0.z.d.m; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; @@ -23,7 +23,7 @@ public final class LifecycleCoroutineScope$launchWhenResumed$1 extends k impleme this.$block = function2; } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Continuation create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); return new LifecycleCoroutineScope$launchWhenResumed$1(this.this$0, this.$block, continuation); @@ -35,7 +35,7 @@ public final class LifecycleCoroutineScope$launchWhenResumed$1 extends k impleme return ((LifecycleCoroutineScope$launchWhenResumed$1) create(coroutineScope, continuation)).invokeSuspend(Unit.a); } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { Object coroutine_suspended = c.getCOROUTINE_SUSPENDED(); int i = this.label; diff --git a/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1.java b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1.java index 40e01e03c3..aff5141451 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1.java @@ -1,10 +1,10 @@ package androidx.lifecycle; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.k; -import c0.z.d.m; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; @@ -23,7 +23,7 @@ public final class LifecycleCoroutineScope$launchWhenStarted$1 extends k impleme this.$block = function2; } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Continuation create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); return new LifecycleCoroutineScope$launchWhenStarted$1(this.this$0, this.$block, continuation); @@ -35,7 +35,7 @@ public final class LifecycleCoroutineScope$launchWhenStarted$1 extends k impleme return ((LifecycleCoroutineScope$launchWhenStarted$1) create(coroutineScope, continuation)).invokeSuspend(Unit.a); } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { Object coroutine_suspended = c.getCOROUTINE_SUSPENDED(); int i = this.label; diff --git a/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope.java b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope.java index ed207d5a67..70219e8246 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope.java @@ -1,7 +1,7 @@ package androidx.lifecycle; -import c.q.a.k.a; -import c0.z.d.m; +import c.i.a.f.e.o.f; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.coroutines.CoroutineContext; @@ -17,16 +17,16 @@ public abstract class LifecycleCoroutineScope implements CoroutineScope { public final Job launchWhenCreated(Function2, ? extends Object> function2) { m.checkNotNullParameter(function2, "block"); - return a.H(this, null, null, new LifecycleCoroutineScope$launchWhenCreated$1(this, function2, null), 3, null); + return f.x0(this, null, null, new LifecycleCoroutineScope$launchWhenCreated$1(this, function2, null), 3, null); } public final Job launchWhenResumed(Function2, ? extends Object> function2) { m.checkNotNullParameter(function2, "block"); - return a.H(this, null, null, new LifecycleCoroutineScope$launchWhenResumed$1(this, function2, null), 3, null); + return f.x0(this, null, null, new LifecycleCoroutineScope$launchWhenResumed$1(this, function2, null), 3, null); } public final Job launchWhenStarted(Function2, ? extends Object> function2) { m.checkNotNullParameter(function2, "block"); - return a.H(this, null, null, new LifecycleCoroutineScope$launchWhenStarted$1(this, function2, null), 3, null); + return f.x0(this, null, null, new LifecycleCoroutineScope$launchWhenStarted$1(this, function2, null), 3, null); } } diff --git a/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScopeImpl$register$1.java b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScopeImpl$register$1.java index 3438b5a9ef..b85f400eca 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScopeImpl$register$1.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScopeImpl$register$1.java @@ -1,12 +1,12 @@ package androidx.lifecycle; import androidx.lifecycle.Lifecycle; -import c.q.a.k.a; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.k; -import c0.z.d.m; +import c.i.a.f.e.o.f; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; @@ -24,7 +24,7 @@ public final class LifecycleCoroutineScopeImpl$register$1 extends k implements F this.this$0 = lifecycleCoroutineScopeImpl; } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Continuation create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); LifecycleCoroutineScopeImpl$register$1 lifecycleCoroutineScopeImpl$register$1 = new LifecycleCoroutineScopeImpl$register$1(this.this$0, continuation); @@ -38,7 +38,7 @@ public final class LifecycleCoroutineScopeImpl$register$1 extends k implements F return ((LifecycleCoroutineScopeImpl$register$1) create(coroutineScope, continuation)).invokeSuspend(Unit.a); } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { c.getCOROUTINE_SUSPENDED(); if (this.label == 0) { @@ -47,7 +47,7 @@ public final class LifecycleCoroutineScopeImpl$register$1 extends k implements F if (this.this$0.getLifecycle$lifecycle_runtime_ktx_release().getCurrentState().compareTo(Lifecycle.State.INITIALIZED) >= 0) { this.this$0.getLifecycle$lifecycle_runtime_ktx_release().addObserver(this.this$0); } else { - a.j(coroutineScope.getCoroutineContext(), null, 1, null); + f.o(coroutineScope.getCoroutineContext(), null, 1, null); } return Unit.a; } diff --git a/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScopeImpl.java b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScopeImpl.java index 7d4f77e967..32200043ee 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScopeImpl.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScopeImpl.java @@ -1,12 +1,12 @@ package androidx.lifecycle; import androidx.lifecycle.Lifecycle; -import c.q.a.k.a; -import c0.z.d.m; +import c.i.a.f.e.o.f; +import d0.z.d.m; import kotlin.coroutines.CoroutineContext; import kotlinx.coroutines.CoroutineDispatcher; -import r.a.a.n; -import r.a.j0; +import s.a.a.n; +import s.a.j0; /* compiled from: Lifecycle.kt */ public final class LifecycleCoroutineScopeImpl extends LifecycleCoroutineScope implements LifecycleEventObserver { private final CoroutineContext coroutineContext; @@ -18,7 +18,7 @@ public final class LifecycleCoroutineScopeImpl extends LifecycleCoroutineScope i this.lifecycle = lifecycle; this.coroutineContext = coroutineContext; if (getLifecycle$lifecycle_runtime_ktx_release().getCurrentState() == Lifecycle.State.DESTROYED) { - a.j(getCoroutineContext(), null, 1, null); + f.o(getCoroutineContext(), null, 1, null); } } @@ -38,12 +38,12 @@ public final class LifecycleCoroutineScopeImpl extends LifecycleCoroutineScope i m.checkNotNullParameter(event, "event"); if (getLifecycle$lifecycle_runtime_ktx_release().getCurrentState().compareTo(Lifecycle.State.DESTROYED) <= 0) { getLifecycle$lifecycle_runtime_ktx_release().removeObserver(this); - a.j(getCoroutineContext(), null, 1, null); + f.o(getCoroutineContext(), null, 1, null); } } public final void register() { CoroutineDispatcher coroutineDispatcher = j0.a; - a.H(this, n.b.H(), null, new LifecycleCoroutineScopeImpl$register$1(this, null), 2, null); + f.x0(this, n.b.H(), null, new LifecycleCoroutineScopeImpl$register$1(this, null), 2, null); } } diff --git a/app/src/main/java/androidx/lifecycle/LifecycleKt.java b/app/src/main/java/androidx/lifecycle/LifecycleKt.java index 19d897d62d..ab6f88e4c5 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleKt.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleKt.java @@ -1,13 +1,13 @@ package androidx.lifecycle; -import c.q.a.k.a; -import c0.z.d.m; +import c.i.a.f.e.o.f; +import d0.z.d.m; import kotlin.coroutines.CoroutineContext; import kotlinx.coroutines.CoroutineDispatcher; -import r.a.a.n; -import r.a.g1; -import r.a.j0; -import r.a.t; +import s.a.a.n; +import s.a.g1; +import s.a.j0; +import s.a.t; /* compiled from: Lifecycle.kt */ public final class LifecycleKt { public static final LifecycleCoroutineScope getCoroutineScope(Lifecycle lifecycle) { @@ -18,7 +18,7 @@ public final class LifecycleKt { if (lifecycleCoroutineScopeImpl2 != null) { return lifecycleCoroutineScopeImpl2; } - t b = a.b(null, 1); + t b = f.b(null, 1); CoroutineDispatcher coroutineDispatcher = j0.a; lifecycleCoroutineScopeImpl = new LifecycleCoroutineScopeImpl(lifecycle, CoroutineContext.Element.a.plus((g1) b, n.b.H())); } while (!lifecycle.mInternalScopeRef.compareAndSet(null, lifecycleCoroutineScopeImpl)); diff --git a/app/src/main/java/androidx/lifecycle/LifecycleOwnerKt.java b/app/src/main/java/androidx/lifecycle/LifecycleOwnerKt.java index a7b9bf3dd9..36f77cb069 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleOwnerKt.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleOwnerKt.java @@ -1,6 +1,6 @@ package androidx.lifecycle; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: LifecycleOwner.kt */ public final class LifecycleOwnerKt { public static final LifecycleCoroutineScope getLifecycleScope(LifecycleOwner lifecycleOwner) { diff --git a/app/src/main/java/androidx/lifecycle/LifecycleRegistry.java b/app/src/main/java/androidx/lifecycle/LifecycleRegistry.java index 3dacab5a42..50d1d6f841 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleRegistry.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleRegistry.java @@ -68,9 +68,9 @@ public class LifecycleRegistry extends Lifecycle { value.dispatchEvent(lifecycleOwner, downFrom); popParentState(); } else { - StringBuilder O = a.O("no event down from "); - O.append(value.mState); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("no event down from "); + R.append(value.mState); + throw new IllegalStateException(R.toString()); } } } @@ -96,7 +96,7 @@ public class LifecycleRegistry extends Lifecycle { @SuppressLint({"RestrictedApi"}) private void enforceMainThreadIfNeeded(String str) { if (this.mEnforceMainThread && !ArchTaskExecutor.getInstance().isMainThread()) { - throw new IllegalStateException(a.v("Method ", str, " must be called on the main thread")); + throw new IllegalStateException(a.w("Method ", str, " must be called on the main thread")); } } @@ -114,9 +114,9 @@ public class LifecycleRegistry extends Lifecycle { observerWithState.dispatchEvent(lifecycleOwner, upFrom); popParentState(); } else { - StringBuilder O = a.O("no event up from "); - O.append(observerWithState.mState); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("no event up from "); + R.append(observerWithState.mState); + throw new IllegalStateException(R.toString()); } } } @@ -198,9 +198,9 @@ public class LifecycleRegistry extends Lifecycle { popParentState(); calculateTargetState = calculateTargetState(lifecycleObserver); } else { - StringBuilder O = a.O("no event up from "); - O.append(observerWithState.mState); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("no event up from "); + R.append(observerWithState.mState); + throw new IllegalStateException(R.toString()); } } if (!z2) { diff --git a/app/src/main/java/androidx/lifecycle/LiveData.java b/app/src/main/java/androidx/lifecycle/LiveData.java index 5e6c2fdbf0..736fe5c932 100644 --- a/app/src/main/java/androidx/lifecycle/LiveData.java +++ b/app/src/main/java/androidx/lifecycle/LiveData.java @@ -144,7 +144,7 @@ public abstract class LiveData { public static void assertMainThread(String str) { if (!ArchTaskExecutor.getInstance().isMainThread()) { - throw new IllegalStateException(a.v("Cannot invoke ", str, " on a background thread")); + throw new IllegalStateException(a.w("Cannot invoke ", str, " on a background thread")); } } diff --git a/app/src/main/java/androidx/lifecycle/LiveDataKt.java b/app/src/main/java/androidx/lifecycle/LiveDataKt.java index 3be2dec6f2..fd8a6988e6 100644 --- a/app/src/main/java/androidx/lifecycle/LiveDataKt.java +++ b/app/src/main/java/androidx/lifecycle/LiveDataKt.java @@ -1,7 +1,7 @@ package androidx.lifecycle; import androidx.annotation.MainThread; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: LiveData.kt */ diff --git a/app/src/main/java/androidx/lifecycle/LiveDataScope.java b/app/src/main/java/androidx/lifecycle/LiveDataScope.java index 9a166e4583..718ad6b42d 100644 --- a/app/src/main/java/androidx/lifecycle/LiveDataScope.java +++ b/app/src/main/java/androidx/lifecycle/LiveDataScope.java @@ -2,7 +2,7 @@ package androidx.lifecycle; import kotlin.Unit; import kotlin.coroutines.Continuation; -import r.a.l0; +import s.a.l0; /* compiled from: CoroutineLiveData.kt */ public interface LiveDataScope { Object emit(T t, Continuation continuation); diff --git a/app/src/main/java/androidx/lifecycle/LiveDataScopeImpl$emit$2.java b/app/src/main/java/androidx/lifecycle/LiveDataScopeImpl$emit$2.java index 3e930f3db6..8f0a14babd 100644 --- a/app/src/main/java/androidx/lifecycle/LiveDataScopeImpl$emit$2.java +++ b/app/src/main/java/androidx/lifecycle/LiveDataScopeImpl$emit$2.java @@ -1,10 +1,10 @@ package androidx.lifecycle; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.k; -import c0.z.d.m; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; @@ -23,7 +23,7 @@ public final class LiveDataScopeImpl$emit$2 extends k implements Function2 create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); return new LiveDataScopeImpl$emit$2(this.this$0, this.$value, continuation); @@ -35,7 +35,7 @@ public final class LiveDataScopeImpl$emit$2 extends k implements Function2, Object> { @@ -24,7 +24,7 @@ public final class LiveDataScopeImpl$emitSource$2 extends k implements Function2 this.$source = liveData; } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Continuation create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); return new LiveDataScopeImpl$emitSource$2(this.this$0, this.$source, continuation); @@ -36,7 +36,7 @@ public final class LiveDataScopeImpl$emitSource$2 extends k implements Function2 return ((LiveDataScopeImpl$emitSource$2) create(coroutineScope, continuation)).invokeSuspend(Unit.a); } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { Object coroutine_suspended = c.getCOROUTINE_SUSPENDED(); int i = this.label; diff --git a/app/src/main/java/androidx/lifecycle/LiveDataScopeImpl.java b/app/src/main/java/androidx/lifecycle/LiveDataScopeImpl.java index 0b271bace2..35f7582b89 100644 --- a/app/src/main/java/androidx/lifecycle/LiveDataScopeImpl.java +++ b/app/src/main/java/androidx/lifecycle/LiveDataScopeImpl.java @@ -1,15 +1,15 @@ package androidx.lifecycle; -import c.q.a.k.a; -import c0.w.h.c; -import c0.z.d.m; +import c.i.a.f.e.o.f; +import d0.w.h.c; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.coroutines.CoroutineContext; import kotlinx.coroutines.CoroutineDispatcher; -import r.a.a.n; -import r.a.j0; -import r.a.l0; +import s.a.a.n; +import s.a.j0; +import s.a.l0; /* compiled from: CoroutineLiveData.kt */ public final class LiveDataScopeImpl implements LiveDataScope { private final CoroutineContext coroutineContext; @@ -25,13 +25,13 @@ public final class LiveDataScopeImpl implements LiveDataScope { @Override // androidx.lifecycle.LiveDataScope public Object emit(T t, Continuation continuation) { - Object j0 = a.j0(this.coroutineContext, new LiveDataScopeImpl$emit$2(this, t, null), continuation); - return j0 == c.getCOROUTINE_SUSPENDED() ? j0 : Unit.a; + Object k1 = f.k1(this.coroutineContext, new LiveDataScopeImpl$emit$2(this, t, null), continuation); + return k1 == c.getCOROUTINE_SUSPENDED() ? k1 : Unit.a; } @Override // androidx.lifecycle.LiveDataScope public Object emitSource(LiveData liveData, Continuation continuation) { - return a.j0(this.coroutineContext, new LiveDataScopeImpl$emitSource$2(this, liveData, null), continuation); + return f.k1(this.coroutineContext, new LiveDataScopeImpl$emitSource$2(this, liveData, null), continuation); } @Override // androidx.lifecycle.LiveDataScope diff --git a/app/src/main/java/androidx/lifecycle/PausingDispatcher.java b/app/src/main/java/androidx/lifecycle/PausingDispatcher.java index 23a071043c..0858eeea1b 100644 --- a/app/src/main/java/androidx/lifecycle/PausingDispatcher.java +++ b/app/src/main/java/androidx/lifecycle/PausingDispatcher.java @@ -1,10 +1,10 @@ package androidx.lifecycle; -import c0.z.d.m; +import d0.z.d.m; import kotlin.coroutines.CoroutineContext; import kotlinx.coroutines.CoroutineDispatcher; -import r.a.a.n; -import r.a.j0; +import s.a.a.n; +import s.a.j0; /* compiled from: PausingDispatcher.kt */ public final class PausingDispatcher extends CoroutineDispatcher { public final DispatchQueue dispatchQueue = new DispatchQueue(); diff --git a/app/src/main/java/androidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2.java b/app/src/main/java/androidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2.java index 97d9c8228b..c3772a1823 100644 --- a/app/src/main/java/androidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2.java +++ b/app/src/main/java/androidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2.java @@ -1,12 +1,12 @@ package androidx.lifecycle; import androidx.lifecycle.Lifecycle; -import c.q.a.k.a; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.k; -import c0.z.d.m; +import c.i.a.f.e.o.f; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; @@ -29,7 +29,7 @@ public final class PausingDispatcherKt$whenStateAtLeast$2 extends k implements F this.$block = function2; } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Continuation create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); PausingDispatcherKt$whenStateAtLeast$2 pausingDispatcherKt$whenStateAtLeast$2 = new PausingDispatcherKt$whenStateAtLeast$2(this.$this_whenStateAtLeast, this.$minState, this.$block, continuation); @@ -43,7 +43,7 @@ public final class PausingDispatcherKt$whenStateAtLeast$2 extends k implements F return ((PausingDispatcherKt$whenStateAtLeast$2) create(coroutineScope, (Continuation) obj)).invokeSuspend(Unit.a); } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { Throwable th; LifecycleController lifecycleController; @@ -59,7 +59,7 @@ public final class PausingDispatcherKt$whenStateAtLeast$2 extends k implements F Function2 function2 = this.$block; this.L$0 = lifecycleController2; this.label = 1; - obj = a.j0(pausingDispatcher, function2, this); + obj = f.k1(pausingDispatcher, function2, this); if (obj == coroutine_suspended) { return coroutine_suspended; } diff --git a/app/src/main/java/androidx/lifecycle/PausingDispatcherKt.java b/app/src/main/java/androidx/lifecycle/PausingDispatcherKt.java index d8f7f5f0ef..eeea5b8d58 100644 --- a/app/src/main/java/androidx/lifecycle/PausingDispatcherKt.java +++ b/app/src/main/java/androidx/lifecycle/PausingDispatcherKt.java @@ -1,14 +1,14 @@ package androidx.lifecycle; import androidx.lifecycle.Lifecycle; -import c.q.a.k.a; -import c0.z.d.m; +import c.i.a.f.e.o.f; +import d0.z.d.m; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; import kotlinx.coroutines.CoroutineDispatcher; import kotlinx.coroutines.CoroutineScope; -import r.a.a.n; -import r.a.j0; +import s.a.a.n; +import s.a.j0; /* compiled from: PausingDispatcher.kt */ public final class PausingDispatcherKt { public static final Object whenCreated(Lifecycle lifecycle, Function2, ? extends Object> function2, Continuation continuation) { @@ -43,6 +43,6 @@ public final class PausingDispatcherKt { public static final Object whenStateAtLeast(Lifecycle lifecycle, Lifecycle.State state, Function2, ? extends Object> function2, Continuation continuation) { CoroutineDispatcher coroutineDispatcher = j0.a; - return a.j0(n.b.H(), new PausingDispatcherKt$whenStateAtLeast$2(lifecycle, state, function2, null), continuation); + return f.k1(n.b.H(), new PausingDispatcherKt$whenStateAtLeast$2(lifecycle, state, function2, null), continuation); } } diff --git a/app/src/main/java/androidx/lifecycle/SavedStateHandle.java b/app/src/main/java/androidx/lifecycle/SavedStateHandle.java index 83c989e88a..bfe30c777a 100644 --- a/app/src/main/java/androidx/lifecycle/SavedStateHandle.java +++ b/app/src/main/java/androidx/lifecycle/SavedStateHandle.java @@ -137,10 +137,10 @@ public final class SavedStateHandle { return; } } - StringBuilder O = a.O("Can't put value with type "); - O.append(obj.getClass()); - O.append(" into saved state"); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Can't put value with type "); + R.append(obj.getClass()); + R.append(" into saved state"); + throw new IllegalArgumentException(R.toString()); } } diff --git a/app/src/main/java/androidx/lifecycle/TransformationsKt.java b/app/src/main/java/androidx/lifecycle/TransformationsKt.java index 5ac6c1e6cb..71a3d787c0 100644 --- a/app/src/main/java/androidx/lifecycle/TransformationsKt.java +++ b/app/src/main/java/androidx/lifecycle/TransformationsKt.java @@ -1,6 +1,6 @@ package androidx.lifecycle; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: Transformations.kt */ public final class TransformationsKt { diff --git a/app/src/main/java/androidx/lifecycle/ViewKt.java b/app/src/main/java/androidx/lifecycle/ViewKt.java index 1e8c1225a4..24862804f9 100644 --- a/app/src/main/java/androidx/lifecycle/ViewKt.java +++ b/app/src/main/java/androidx/lifecycle/ViewKt.java @@ -1,7 +1,7 @@ package androidx.lifecycle; import android.view.View; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: View.kt */ public final class ViewKt { public static final LifecycleOwner findViewTreeLifecycleOwner(View view) { diff --git a/app/src/main/java/androidx/lifecycle/ViewModelKt.java b/app/src/main/java/androidx/lifecycle/ViewModelKt.java index a4a6e1f6dc..eba5419ef2 100644 --- a/app/src/main/java/androidx/lifecycle/ViewModelKt.java +++ b/app/src/main/java/androidx/lifecycle/ViewModelKt.java @@ -1,14 +1,14 @@ package androidx.lifecycle; -import c.q.a.k.a; -import c0.z.d.m; +import c.i.a.f.e.o.f; +import d0.z.d.m; import kotlin.coroutines.CoroutineContext; import kotlinx.coroutines.CoroutineDispatcher; import kotlinx.coroutines.CoroutineScope; -import r.a.a.n; -import r.a.g1; -import r.a.j0; -import r.a.t; +import s.a.a.n; +import s.a.g1; +import s.a.j0; +import s.a.t; /* compiled from: ViewModel.kt */ public final class ViewModelKt { private static final String JOB_KEY = "androidx.lifecycle.ViewModelCoroutineScope.JOB_KEY"; @@ -19,7 +19,7 @@ public final class ViewModelKt { if (coroutineScope != null) { return coroutineScope; } - t b = a.b(null, 1); + t b = f.b(null, 1); CoroutineDispatcher coroutineDispatcher = j0.a; Object tagIfAbsent = viewModel.setTagIfAbsent(JOB_KEY, new CloseableCoroutineScope(CoroutineContext.Element.a.plus((g1) b, n.b.H()))); m.checkNotNullExpressionValue(tagIfAbsent, "setTagIfAbsent(\n …Main.immediate)\n )"); diff --git a/app/src/main/java/androidx/lifecycle/ViewModelLazy.java b/app/src/main/java/androidx/lifecycle/ViewModelLazy.java index 9f8c3dba67..d333a8dde0 100644 --- a/app/src/main/java/androidx/lifecycle/ViewModelLazy.java +++ b/app/src/main/java/androidx/lifecycle/ViewModelLazy.java @@ -2,9 +2,9 @@ package androidx.lifecycle; import androidx.lifecycle.ViewModel; import androidx.lifecycle.ViewModelProvider; -import c0.e0.c; -import c0.z.a; -import c0.z.d.m; +import d0.e0.c; +import d0.z.a; +import d0.z.d.m; import kotlin.Lazy; import kotlin.jvm.functions.Function0; /* compiled from: ViewModelProvider.kt */ @@ -32,7 +32,7 @@ public final class ViewModelLazy implements Lazy { if (vm != null) { return vm; } - VM vm2 = (VM) new ViewModelProvider(this.storeProducer.mo17invoke(), this.factoryProducer.mo17invoke()).get(a.getJavaClass(this.viewModelClass)); + VM vm2 = (VM) new ViewModelProvider(this.storeProducer.mo1invoke(), this.factoryProducer.mo1invoke()).get(a.getJavaClass(this.viewModelClass)); this.cached = vm2; m.checkNotNullExpressionValue(vm2, "ViewModelProvider(store,…ed = it\n }"); return vm2; diff --git a/app/src/main/java/androidx/lifecycle/ViewModelProviderKt.java b/app/src/main/java/androidx/lifecycle/ViewModelProviderKt.java index ec23a72941..f5aba50d72 100644 --- a/app/src/main/java/androidx/lifecycle/ViewModelProviderKt.java +++ b/app/src/main/java/androidx/lifecycle/ViewModelProviderKt.java @@ -1,7 +1,7 @@ package androidx.lifecycle; import androidx.annotation.MainThread; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: ViewModelProvider.kt */ public final class ViewModelProviderKt { @MainThread diff --git a/app/src/main/java/androidx/lifecycle/ViewTreeViewModelKt.java b/app/src/main/java/androidx/lifecycle/ViewTreeViewModelKt.java index 4b86fc7ee2..0a368abfd0 100644 --- a/app/src/main/java/androidx/lifecycle/ViewTreeViewModelKt.java +++ b/app/src/main/java/androidx/lifecycle/ViewTreeViewModelKt.java @@ -1,7 +1,7 @@ package androidx.lifecycle; import android.view.View; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: ViewTreeViewModel.kt */ public final class ViewTreeViewModelKt { public static final ViewModelStoreOwner findViewTreeViewModelStoreOwner(View view) { diff --git a/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt$suspendWithStateAtLeastUnchecked$$inlined$suspendCancellableCoroutine$lambda$1.java b/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt$suspendWithStateAtLeastUnchecked$$inlined$suspendCancellableCoroutine$lambda$1.java index 132810e4fa..9925f4d908 100644 --- a/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt$suspendWithStateAtLeastUnchecked$$inlined$suspendCancellableCoroutine$lambda$1.java +++ b/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt$suspendWithStateAtLeastUnchecked$$inlined$suspendCancellableCoroutine$lambda$1.java @@ -1,9 +1,9 @@ package androidx.lifecycle; import androidx.lifecycle.Lifecycle; -import c0.k; -import c0.l; -import c0.z.d.m; +import d0.k; +import d0.l; +import d0.z.d.m; import kotlin.jvm.functions.Function0; import kotlinx.coroutines.CancellableContinuation; import kotlinx.coroutines.CoroutineDispatcher; @@ -36,10 +36,10 @@ public final class WithLifecycleStateKt$suspendWithStateAtLeastUnchecked$$inline Function0 function0 = this.$block$inlined; try { k.a aVar = k.i; - obj = k.m2constructorimpl(function0.mo17invoke()); + obj = k.m72constructorimpl(function0.mo1invoke()); } catch (Throwable th) { k.a aVar2 = k.i; - obj = k.m2constructorimpl(l.createFailure(th)); + obj = k.m72constructorimpl(l.createFailure(th)); } cancellableContinuation.resumeWith(obj); } else if (event == Lifecycle.Event.ON_DESTROY) { @@ -47,7 +47,7 @@ public final class WithLifecycleStateKt$suspendWithStateAtLeastUnchecked$$inline CancellableContinuation cancellableContinuation2 = this.$co; LifecycleDestroyedException lifecycleDestroyedException = new LifecycleDestroyedException(); k.a aVar3 = k.i; - cancellableContinuation2.resumeWith(k.m2constructorimpl(l.createFailure(lifecycleDestroyedException))); + cancellableContinuation2.resumeWith(k.m72constructorimpl(l.createFailure(lifecycleDestroyedException))); } } } diff --git a/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt$suspendWithStateAtLeastUnchecked$$inlined$suspendCancellableCoroutine$lambda$3.java b/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt$suspendWithStateAtLeastUnchecked$$inlined$suspendCancellableCoroutine$lambda$3.java index 0c4e2a7c33..6cd6abf387 100644 --- a/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt$suspendWithStateAtLeastUnchecked$$inlined$suspendCancellableCoroutine$lambda$3.java +++ b/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt$suspendWithStateAtLeastUnchecked$$inlined$suspendCancellableCoroutine$lambda$3.java @@ -1,8 +1,8 @@ package androidx.lifecycle; import androidx.lifecycle.Lifecycle; -import c0.w.f; -import c0.z.d.o; +import d0.w.f; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; diff --git a/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt$withStateAtLeastUnchecked$2.java b/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt$withStateAtLeastUnchecked$2.java index 5c93be45b1..3af40def12 100644 --- a/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt$withStateAtLeastUnchecked$2.java +++ b/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt$withStateAtLeastUnchecked$2.java @@ -1,6 +1,6 @@ package androidx.lifecycle; -import c0.z.d.o; +import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: WithLifecycleState.kt */ public final class WithLifecycleStateKt$withStateAtLeastUnchecked$2 extends o implements Function0 { @@ -15,7 +15,7 @@ public final class WithLifecycleStateKt$withStateAtLeastUnchecked$2 extends o im /* JADX WARNING: Unknown variable types count: 1 */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public final R mo17invoke() { - return this.$block.mo17invoke(); + public final R mo1invoke() { + return this.$block.mo1invoke(); } } diff --git a/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt.java b/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt.java index 1cf0bc893b..e928b56dce 100644 --- a/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt.java +++ b/app/src/main/java/androidx/lifecycle/WithLifecycleStateKt.java @@ -1,19 +1,19 @@ package androidx.lifecycle; import androidx.lifecycle.Lifecycle; -import c0.w.f; -import c0.w.h.b; -import c0.w.h.c; -import c0.w.i.a.g; -import c0.z.d.l; -import c0.z.d.m; +import d0.w.f; +import d0.w.h.b; +import d0.w.h.c; +import d0.w.i.a.g; +import d0.z.d.l; +import d0.z.d.m; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function0; import kotlinx.coroutines.CoroutineDispatcher; -import r.a.a.n; -import r.a.j0; -import r.a.k; -import r.a.k1; +import s.a.a.n; +import s.a.j0; +import s.a.k; +import s.a.k1; /* compiled from: WithLifecycleState.kt */ public final class WithLifecycleStateKt { public static final Object suspendWithStateAtLeastUnchecked(Lifecycle lifecycle, Lifecycle.State state, boolean z2, CoroutineDispatcher coroutineDispatcher, Function0 function0, Continuation continuation) { @@ -42,7 +42,7 @@ public final class WithLifecycleStateKt { if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) { throw new LifecycleDestroyedException(); } else if (lifecycle.getCurrentState().compareTo(state) >= 0) { - return function0.mo17invoke(); + return function0.mo1invoke(); } } return suspendWithStateAtLeastUnchecked(lifecycle, state, isDispatchNeeded, H, new WithLifecycleStateKt$withStateAtLeastUnchecked$2(function0), continuation); @@ -59,7 +59,7 @@ public final class WithLifecycleStateKt { if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) { throw new LifecycleDestroyedException(); } else if (lifecycle.getCurrentState().compareTo(state) >= 0) { - return function0.mo17invoke(); + return function0.mo1invoke(); } } return suspendWithStateAtLeastUnchecked(lifecycle, state, isDispatchNeeded, H, new WithLifecycleStateKt$withStateAtLeastUnchecked$2(function0), continuation); @@ -91,7 +91,7 @@ public final class WithLifecycleStateKt { if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) { throw new LifecycleDestroyedException(); } else if (lifecycle.getCurrentState().compareTo(state) >= 0) { - return function0.mo17invoke(); + return function0.mo1invoke(); } } return suspendWithStateAtLeastUnchecked(lifecycle, state, isDispatchNeeded, H, new WithLifecycleStateKt$withStateAtLeastUnchecked$2(function0), continuation); @@ -108,7 +108,7 @@ public final class WithLifecycleStateKt { if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) { throw new LifecycleDestroyedException(); } else if (lifecycle.getCurrentState().compareTo(state) >= 0) { - return function0.mo17invoke(); + return function0.mo1invoke(); } } return suspendWithStateAtLeastUnchecked(lifecycle, state, isDispatchNeeded, H, new WithLifecycleStateKt$withStateAtLeastUnchecked$2(function0), continuation); @@ -140,7 +140,7 @@ public final class WithLifecycleStateKt { if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) { throw new LifecycleDestroyedException(); } else if (lifecycle.getCurrentState().compareTo(state) >= 0) { - return function0.mo17invoke(); + return function0.mo1invoke(); } } return suspendWithStateAtLeastUnchecked(lifecycle, state, isDispatchNeeded, H, new WithLifecycleStateKt$withStateAtLeastUnchecked$2(function0), continuation); @@ -157,7 +157,7 @@ public final class WithLifecycleStateKt { if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) { throw new LifecycleDestroyedException(); } else if (lifecycle.getCurrentState().compareTo(state) >= 0) { - return function0.mo17invoke(); + return function0.mo1invoke(); } } return suspendWithStateAtLeastUnchecked(lifecycle, state, isDispatchNeeded, H, new WithLifecycleStateKt$withStateAtLeastUnchecked$2(function0), continuation); @@ -189,7 +189,7 @@ public final class WithLifecycleStateKt { if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) { throw new LifecycleDestroyedException(); } else if (lifecycle.getCurrentState().compareTo(state) >= 0) { - return function0.mo17invoke(); + return function0.mo1invoke(); } } return suspendWithStateAtLeastUnchecked(lifecycle, state, isDispatchNeeded, H, new WithLifecycleStateKt$withStateAtLeastUnchecked$2(function0), continuation); @@ -208,7 +208,7 @@ public final class WithLifecycleStateKt { if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) { throw new LifecycleDestroyedException(); } else if (lifecycle.getCurrentState().compareTo(state) >= 0) { - return function0.mo17invoke(); + return function0.mo1invoke(); } } return suspendWithStateAtLeastUnchecked(lifecycle, state, isDispatchNeeded, H, new WithLifecycleStateKt$withStateAtLeastUnchecked$2(function0), continuation); @@ -245,7 +245,7 @@ public final class WithLifecycleStateKt { if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) { throw new LifecycleDestroyedException(); } else if (lifecycle.getCurrentState().compareTo(state) >= 0) { - return function0.mo17invoke(); + return function0.mo1invoke(); } } return suspendWithStateAtLeastUnchecked(lifecycle, state, isDispatchNeeded, H, new WithLifecycleStateKt$withStateAtLeastUnchecked$2(function0), continuation); diff --git a/app/src/main/java/androidx/loader/app/LoaderManagerImpl.java b/app/src/main/java/androidx/loader/app/LoaderManagerImpl.java index 1eedb99682..385c0193e5 100644 --- a/app/src/main/java/androidx/loader/app/LoaderManagerImpl.java +++ b/app/src/main/java/androidx/loader/app/LoaderManagerImpl.java @@ -77,7 +77,7 @@ public class LoaderManagerImpl extends LoaderManager { printWriter.print(str); printWriter.print("mLoader="); printWriter.println(this.mLoader); - this.mLoader.dump(a.u(str, " "), fileDescriptor, printWriter, strArr); + this.mLoader.dump(a.v(str, " "), fileDescriptor, printWriter, strArr); if (this.mObserver != null) { printWriter.print(str); printWriter.print("mCallbacks="); @@ -214,11 +214,11 @@ public class LoaderManagerImpl extends LoaderManager { @Override // androidx.lifecycle.Observer public void onChanged(@Nullable D d) { if (LoaderManagerImpl.DEBUG) { - StringBuilder O = a.O(" onLoadFinished in "); - O.append(this.mLoader); - O.append(": "); - O.append(this.mLoader.dataToString(d)); - Log.v(LoaderManagerImpl.TAG, O.toString()); + StringBuilder R = a.R(" onLoadFinished in "); + R.append(this.mLoader); + R.append(": "); + R.append(this.mLoader.dataToString(d)); + Log.v(LoaderManagerImpl.TAG, R.toString()); } this.mCallback.onLoadFinished(this.mLoader, d); this.mDeliveredData = true; @@ -228,9 +228,9 @@ public class LoaderManagerImpl extends LoaderManager { public void reset() { if (this.mDeliveredData) { if (LoaderManagerImpl.DEBUG) { - StringBuilder O = a.O(" Resetting: "); - O.append(this.mLoader); - Log.v(LoaderManagerImpl.TAG, O.toString()); + StringBuilder R = a.R(" Resetting: "); + R.append(this.mLoader); + Log.v(LoaderManagerImpl.TAG, R.toString()); } this.mCallback.onLoaderReset(this.mLoader); } diff --git a/app/src/main/java/androidx/loader/content/Loader.java b/app/src/main/java/androidx/loader/content/Loader.java index 081958933b..f382eb501b 100644 --- a/app/src/main/java/androidx/loader/content/Loader.java +++ b/app/src/main/java/androidx/loader/content/Loader.java @@ -233,7 +233,7 @@ public class Loader { StringBuilder sb = new StringBuilder(64); DebugUtils.buildShortClassTag(this, sb); sb.append(" id="); - return a.z(sb, this.mId, "}"); + return a.A(sb, this.mId, "}"); } @MainThread diff --git a/app/src/main/java/androidx/loader/content/ModernAsyncTask.java b/app/src/main/java/androidx/loader/content/ModernAsyncTask.java index 76118ba488..dcf42e93f0 100644 --- a/app/src/main/java/androidx/loader/content/ModernAsyncTask.java +++ b/app/src/main/java/androidx/loader/content/ModernAsyncTask.java @@ -45,9 +45,9 @@ public abstract class ModernAsyncTask { @Override // java.util.concurrent.ThreadFactory public Thread newThread(Runnable runnable) { - StringBuilder O = a.O("ModernAsyncTask #"); - O.append(this.mCount.getAndIncrement()); - return new Thread(runnable, O.toString()); + StringBuilder R = a.R("ModernAsyncTask #"); + R.append(this.mCount.getAndIncrement()); + return new Thread(runnable, R.toString()); } } diff --git a/app/src/main/java/androidx/media/AudioAttributesCompat.java b/app/src/main/java/androidx/media/AudioAttributesCompat.java index 980805a22d..ee57ae83f6 100644 --- a/app/src/main/java/androidx/media/AudioAttributesCompat.java +++ b/app/src/main/java/androidx/media/AudioAttributesCompat.java @@ -188,7 +188,7 @@ public class AudioAttributesCompat implements VersionedParcelable { if (!z2) { return 3; } - throw new IllegalArgumentException(a.n("Unknown usage value ", i2, " in audio attributes")); + throw new IllegalArgumentException(a.q("Unknown usage value ", i2, " in audio attributes")); } } @@ -226,7 +226,7 @@ public class AudioAttributesCompat implements VersionedParcelable { return "USAGE_GAME"; case 15: default: - return a.l("unknown usage ", i); + return a.p("unknown usage ", i); case 16: return "USAGE_ASSISTANT"; } diff --git a/app/src/main/java/androidx/media/AudioAttributesImplApi21.java b/app/src/main/java/androidx/media/AudioAttributesImplApi21.java index 5935e89cf9..94cc1deccf 100644 --- a/app/src/main/java/androidx/media/AudioAttributesImplApi21.java +++ b/app/src/main/java/androidx/media/AudioAttributesImplApi21.java @@ -1,6 +1,5 @@ package androidx.media; -import android.annotation.SuppressLint; import android.media.AudioAttributes; import androidx.annotation.NonNull; import androidx.annotation.Nullable; @@ -16,6 +15,7 @@ public class AudioAttributesImplApi21 implements AudioAttributesImpl { @RestrictTo({RestrictTo.Scope.LIBRARY}) public int mLegacyStreamType; + @RequiresApi(21) public static class Builder implements AudioAttributesImpl.Builder { public final AudioAttributes.Builder mFwkBuilder; @@ -120,7 +120,6 @@ public class AudioAttributesImplApi21 implements AudioAttributesImpl { } @Override // androidx.media.AudioAttributesImpl - @SuppressLint({"NewApi"}) public int getVolumeControlStream() { return AudioAttributesCompat.toVolumeStreamType(true, getFlags(), getUsage()); } @@ -131,8 +130,8 @@ public class AudioAttributesImplApi21 implements AudioAttributesImpl { @NonNull public String toString() { - StringBuilder O = a.O("AudioAttributesCompat: audioattributes="); - O.append(this.mAudioAttributes); - return O.toString(); + StringBuilder R = a.R("AudioAttributesCompat: audioattributes="); + R.append(this.mAudioAttributes); + return R.toString(); } } diff --git a/app/src/main/java/androidx/media/AudioAttributesImplApi26.java b/app/src/main/java/androidx/media/AudioAttributesImplApi26.java index 30087162fb..35375683d1 100644 --- a/app/src/main/java/androidx/media/AudioAttributesImplApi26.java +++ b/app/src/main/java/androidx/media/AudioAttributesImplApi26.java @@ -9,6 +9,7 @@ import androidx.media.AudioAttributesImplApi21; @RestrictTo({RestrictTo.Scope.LIBRARY}) public class AudioAttributesImplApi26 extends AudioAttributesImplApi21 { + @RequiresApi(26) public static class Builder extends AudioAttributesImplApi21.Builder { public Builder() { } diff --git a/app/src/main/java/androidx/media/AudioFocusRequestCompat.java b/app/src/main/java/androidx/media/AudioFocusRequestCompat.java index f4e0d1a005..d6cc6b7dd5 100644 --- a/app/src/main/java/androidx/media/AudioFocusRequestCompat.java +++ b/app/src/main/java/androidx/media/AudioFocusRequestCompat.java @@ -7,6 +7,7 @@ import android.os.Build; import android.os.Handler; import android.os.Looper; import android.os.Message; +import androidx.annotation.DoNotInline; import androidx.annotation.NonNull; import androidx.annotation.RequiresApi; import androidx.core.util.ObjectsCompat; @@ -22,6 +23,17 @@ public class AudioFocusRequestCompat { private final AudioManager.OnAudioFocusChangeListener mOnAudioFocusChangeListener; private final boolean mPauseOnDuck; + @RequiresApi(26) + public static class Api26Impl { + private Api26Impl() { + } + + @DoNotInline + public static AudioFocusRequest createInstance(int i, AudioAttributes audioAttributes, boolean z2, AudioManager.OnAudioFocusChangeListener onAudioFocusChangeListener, Handler handler) { + return new AudioFocusRequest.Builder(i).setAudioAttributes(audioAttributes).setWillPauseWhenDucked(z2).setOnAudioFocusChangeListener(onAudioFocusChangeListener, handler).build(); + } + } + public static final class Builder { private AudioAttributesCompat mAudioAttributesCompat = AudioFocusRequestCompat.FOCUS_DEFAULT_ATTR; private Handler mFocusChangeHandler; @@ -69,7 +81,7 @@ public class AudioFocusRequestCompat { this.mFocusGain = i; return this; } - throw new IllegalArgumentException(a.l("Illegal audio focus gain type ", i)); + throw new IllegalArgumentException(a.p("Illegal audio focus gain type ", i)); } @NonNull @@ -135,7 +147,7 @@ public class AudioFocusRequestCompat { this.mOnAudioFocusChangeListener = new OnAudioFocusChangeListenerHandlerCompat(onAudioFocusChangeListener, handler); } if (i2 >= 26) { - this.mFrameworkAudioFocusRequest = new AudioFocusRequest.Builder(i).setAudioAttributes(getAudioAttributes()).setWillPauseWhenDucked(z2).setOnAudioFocusChangeListener(this.mOnAudioFocusChangeListener, handler).build(); + this.mFrameworkAudioFocusRequest = Api26Impl.createInstance(i, getAudioAttributes(), z2, this.mOnAudioFocusChangeListener, handler); } else { this.mFrameworkAudioFocusRequest = null; } diff --git a/app/src/main/java/androidx/media/AudioManagerCompat.java b/app/src/main/java/androidx/media/AudioManagerCompat.java index aaf36022eb..af2075faaf 100644 --- a/app/src/main/java/androidx/media/AudioManagerCompat.java +++ b/app/src/main/java/androidx/media/AudioManagerCompat.java @@ -1,9 +1,12 @@ package androidx.media; +import android.media.AudioFocusRequest; import android.media.AudioManager; import android.os.Build; +import androidx.annotation.DoNotInline; import androidx.annotation.IntRange; import androidx.annotation.NonNull; +import androidx.annotation.RequiresApi; public final class AudioManagerCompat { public static final int AUDIOFOCUS_GAIN = 1; public static final int AUDIOFOCUS_GAIN_TRANSIENT = 2; @@ -11,6 +14,33 @@ public final class AudioManagerCompat { public static final int AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK = 3; private static final String TAG = "AudioManCompat"; + @RequiresApi(26) + public static class Api26Impl { + private Api26Impl() { + } + + @DoNotInline + public static int abandonAudioFocusRequest(AudioManager audioManager, AudioFocusRequest audioFocusRequest) { + return audioManager.abandonAudioFocusRequest(audioFocusRequest); + } + + @DoNotInline + public static int requestAudioFocus(AudioManager audioManager, AudioFocusRequest audioFocusRequest) { + return audioManager.requestAudioFocus(audioFocusRequest); + } + } + + @RequiresApi(28) + public static class Api28Impl { + private Api28Impl() { + } + + @DoNotInline + public static int getStreamMinVolume(AudioManager audioManager, int i) { + return audioManager.getStreamMinVolume(i); + } + } + private AudioManagerCompat() { } @@ -18,7 +48,7 @@ public final class AudioManagerCompat { if (audioManager == null) { throw new IllegalArgumentException("AudioManager must not be null"); } else if (audioFocusRequestCompat != null) { - return Build.VERSION.SDK_INT >= 26 ? audioManager.abandonAudioFocusRequest(audioFocusRequestCompat.getAudioFocusRequest()) : audioManager.abandonAudioFocus(audioFocusRequestCompat.getOnAudioFocusChangeListener()); + return Build.VERSION.SDK_INT >= 26 ? Api26Impl.abandonAudioFocusRequest(audioManager, audioFocusRequestCompat.getAudioFocusRequest()) : audioManager.abandonAudioFocus(audioFocusRequestCompat.getOnAudioFocusChangeListener()); } else { throw new IllegalArgumentException("AudioFocusRequestCompat must not be null"); } @@ -32,7 +62,7 @@ public final class AudioManagerCompat { @IntRange(from = 0) public static int getStreamMinVolume(@NonNull AudioManager audioManager, int i) { if (Build.VERSION.SDK_INT >= 28) { - return audioManager.getStreamMinVolume(i); + return Api28Impl.getStreamMinVolume(audioManager, i); } return 0; } @@ -41,7 +71,7 @@ public final class AudioManagerCompat { if (audioManager == null) { throw new IllegalArgumentException("AudioManager must not be null"); } else if (audioFocusRequestCompat != null) { - return Build.VERSION.SDK_INT >= 26 ? audioManager.requestAudioFocus(audioFocusRequestCompat.getAudioFocusRequest()) : audioManager.requestAudioFocus(audioFocusRequestCompat.getOnAudioFocusChangeListener(), audioFocusRequestCompat.getAudioAttributesCompat().getLegacyStreamType(), audioFocusRequestCompat.getFocusGain()); + return Build.VERSION.SDK_INT >= 26 ? Api26Impl.requestAudioFocus(audioManager, audioFocusRequestCompat.getAudioFocusRequest()) : audioManager.requestAudioFocus(audioFocusRequestCompat.getOnAudioFocusChangeListener(), audioFocusRequestCompat.getAudioAttributesCompat().getLegacyStreamType(), audioFocusRequestCompat.getFocusGain()); } else { throw new IllegalArgumentException("AudioFocusRequestCompat must not be null"); } diff --git a/app/src/main/java/androidx/media/MediaBrowserServiceCompat.java b/app/src/main/java/androidx/media/MediaBrowserServiceCompat.java index 5c04eae31d..7752661b3f 100644 --- a/app/src/main/java/androidx/media/MediaBrowserServiceCompat.java +++ b/app/src/main/java/androidx/media/MediaBrowserServiceCompat.java @@ -38,7 +38,7 @@ import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; -import w.a.b.b.a.b; +import x.a.b.b.a.b; public abstract class MediaBrowserServiceCompat extends Service { public static final boolean DEBUG = Log.isLoggable(TAG, 3); private static final float EPSILON = 1.0E-5f; @@ -81,7 +81,7 @@ public abstract class MediaBrowserServiceCompat extends Service { this.val$notifyChildrenChangedOptions = bundle2; } - public void onResultSent(List list) { + public void onResultSent(@Nullable List list) { if (MediaBrowserServiceCompat.this.mConnections.get(this.val$connection.callbacks.asBinder()) == this.val$connection) { if ((getFlags() & 1) != 0) { list = MediaBrowserServiceCompat.this.applyOptions(list, this.val$subscribeOptions); @@ -89,17 +89,17 @@ public abstract class MediaBrowserServiceCompat extends Service { try { this.val$connection.callbacks.onLoadChildren(this.val$parentId, list, this.val$subscribeOptions, this.val$notifyChildrenChangedOptions); } catch (RemoteException unused) { - StringBuilder O = a.O("Calling onLoadChildren() failed for id="); - O.append(this.val$parentId); - O.append(" package="); - a.m0(O, this.val$connection.pkg, MediaBrowserServiceCompat.TAG); + StringBuilder R = a.R("Calling onLoadChildren() failed for id="); + R.append(this.val$parentId); + R.append(" package="); + a.n0(R, this.val$connection.pkg, MediaBrowserServiceCompat.TAG); } } else if (MediaBrowserServiceCompat.DEBUG) { - StringBuilder O2 = a.O("Not sending onLoadChildren result for connection that has been disconnected. pkg="); - O2.append(this.val$connection.pkg); - O2.append(" id="); - O2.append(this.val$parentId); - Log.d(MediaBrowserServiceCompat.TAG, O2.toString()); + StringBuilder R2 = a.R("Not sending onLoadChildren result for connection that has been disconnected. pkg="); + R2.append(this.val$connection.pkg); + R2.append(" id="); + R2.append(this.val$parentId); + Log.d(MediaBrowserServiceCompat.TAG, R2.toString()); } } } @@ -114,7 +114,7 @@ public abstract class MediaBrowserServiceCompat extends Service { this.val$receiver = resultReceiver; } - public void onResultSent(MediaBrowserCompat.MediaItem mediaItem) { + public void onResultSent(@Nullable MediaBrowserCompat.MediaItem mediaItem) { if ((getFlags() & 2) != 0) { this.val$receiver.b(-1, null); return; @@ -135,7 +135,7 @@ public abstract class MediaBrowserServiceCompat extends Service { this.val$receiver = resultReceiver; } - public void onResultSent(List list) { + public void onResultSent(@Nullable List list) { if ((getFlags() & 4) != 0 || list == null) { this.val$receiver.b(-1, null); return; @@ -157,16 +157,16 @@ public abstract class MediaBrowserServiceCompat extends Service { } @Override // androidx.media.MediaBrowserServiceCompat.Result - public void onErrorSent(Bundle bundle) { + public void onErrorSent(@Nullable Bundle bundle) { this.val$receiver.b(-1, bundle); } @Override // androidx.media.MediaBrowserServiceCompat.Result - public void onProgressUpdateSent(Bundle bundle) { + public void onProgressUpdateSent(@Nullable Bundle bundle) { this.val$receiver.b(1, bundle); } - public void onResultSent(Bundle bundle) { + public void onResultSent(@Nullable Bundle bundle) { this.val$receiver.b(0, bundle); } } @@ -275,16 +275,7 @@ public abstract class MediaBrowserServiceCompat extends Service { @Override // java.lang.Runnable public void run() { - if (!MediaBrowserServiceImplApi21.this.mRootExtrasList.isEmpty()) { - b b = this.val$token.b(); - if (b != null) { - for (Bundle bundle : MediaBrowserServiceImplApi21.this.mRootExtrasList) { - BundleCompat.putBinder(bundle, MediaBrowserProtocol.EXTRA_SESSION_BINDER, b.asBinder()); - } - } - MediaBrowserServiceImplApi21.this.mRootExtrasList.clear(); - } - MediaBrowserServiceImplApi21.this.mServiceFwk.setSessionToken((MediaSession.Token) this.val$token.j); + MediaBrowserServiceImplApi21.this.setSessionTokenOnHandler(this.val$token); } } @@ -303,7 +294,7 @@ public abstract class MediaBrowserServiceCompat extends Service { this.val$resultWrapper.detach(); } - public void onResultSent(List list) { + public void onResultSent(@Nullable List list) { ArrayList arrayList; if (list != null) { arrayList = new ArrayList(); @@ -361,6 +352,7 @@ public abstract class MediaBrowserServiceCompat extends Service { } } + @RequiresApi(21) public class MediaBrowserServiceApi21 extends MediaBrowserService { public MediaBrowserServiceApi21(Context context) { attachBaseContext(context); @@ -511,6 +503,19 @@ public abstract class MediaBrowserServiceCompat extends Service { public void setSessionToken(MediaSessionCompat.Token token) { MediaBrowserServiceCompat.this.mHandler.postOrRun(new AnonymousClass1(token)); } + + public void setSessionTokenOnHandler(MediaSessionCompat.Token token) { + if (!this.mRootExtrasList.isEmpty()) { + b b = token.b(); + if (b != null) { + for (Bundle bundle : this.mRootExtrasList) { + BundleCompat.putBinder(bundle, MediaBrowserProtocol.EXTRA_SESSION_BINDER, b.asBinder()); + } + } + this.mRootExtrasList.clear(); + } + this.mServiceFwk.setSessionToken((MediaSession.Token) token.j); + } } @RequiresApi(23) @@ -531,7 +536,7 @@ public abstract class MediaBrowserServiceCompat extends Service { this.val$resultWrapper.detach(); } - public void onResultSent(MediaBrowserCompat.MediaItem mediaItem) { + public void onResultSent(@Nullable MediaBrowserCompat.MediaItem mediaItem) { if (mediaItem == null) { this.val$resultWrapper.sendResult(null); return; @@ -593,7 +598,7 @@ public abstract class MediaBrowserServiceCompat extends Service { this.val$resultWrapper.detach(); } - public void onResultSent(List list) { + public void onResultSent(@Nullable List list) { if (list == null) { this.val$resultWrapper.sendResult(null); return; @@ -708,10 +713,10 @@ public abstract class MediaBrowserServiceCompat extends Service { try { next.callbacks.onConnect(next.root.getRootId(), this.val$token, next.root.getExtras()); } catch (RemoteException unused) { - StringBuilder O = a.O("Connection for "); - O.append(next.pkg); - O.append(" is no longer valid."); - Log.w(MediaBrowserServiceCompat.TAG, O.toString()); + StringBuilder R = a.R("Connection for "); + R.append(next.pkg); + R.append(" is no longer valid."); + Log.w(MediaBrowserServiceCompat.TAG, R.toString()); it.remove(); } } @@ -836,7 +841,7 @@ public abstract class MediaBrowserServiceCompat extends Service { this.mDebug = obj; } - private void checkExtraFields(Bundle bundle) { + private void checkExtraFields(@Nullable Bundle bundle) { if (bundle != null && bundle.containsKey("android.media.browse.extra.DOWNLOAD_PROGRESS")) { float f = bundle.getFloat("android.media.browse.extra.DOWNLOAD_PROGRESS"); if (f < -1.0E-5f || f > 1.00001f) { @@ -847,19 +852,19 @@ public abstract class MediaBrowserServiceCompat extends Service { public void detach() { if (this.mDetachCalled) { - StringBuilder O = a.O("detach() called when detach() had already been called for: "); - O.append(this.mDebug); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("detach() called when detach() had already been called for: "); + R.append(this.mDebug); + throw new IllegalStateException(R.toString()); } else if (this.mSendResultCalled) { - StringBuilder O2 = a.O("detach() called when sendResult() had already been called for: "); - O2.append(this.mDebug); - throw new IllegalStateException(O2.toString()); + StringBuilder R2 = a.R("detach() called when sendResult() had already been called for: "); + R2.append(this.mDebug); + throw new IllegalStateException(R2.toString()); } else if (!this.mSendErrorCalled) { this.mDetachCalled = true; } else { - StringBuilder O3 = a.O("detach() called when sendError() had already been called for: "); - O3.append(this.mDebug); - throw new IllegalStateException(O3.toString()); + StringBuilder R3 = a.R("detach() called when sendError() had already been called for: "); + R3.append(this.mDebug); + throw new IllegalStateException(R3.toString()); } } @@ -871,46 +876,46 @@ public abstract class MediaBrowserServiceCompat extends Service { return this.mDetachCalled || this.mSendResultCalled || this.mSendErrorCalled; } - public void onErrorSent(Bundle bundle) { - StringBuilder O = a.O("It is not supported to send an error for "); - O.append(this.mDebug); - throw new UnsupportedOperationException(O.toString()); + public void onErrorSent(@Nullable Bundle bundle) { + StringBuilder R = a.R("It is not supported to send an error for "); + R.append(this.mDebug); + throw new UnsupportedOperationException(R.toString()); } - public void onProgressUpdateSent(Bundle bundle) { - StringBuilder O = a.O("It is not supported to send an interim update for "); - O.append(this.mDebug); - throw new UnsupportedOperationException(O.toString()); + public void onProgressUpdateSent(@Nullable Bundle bundle) { + StringBuilder R = a.R("It is not supported to send an interim update for "); + R.append(this.mDebug); + throw new UnsupportedOperationException(R.toString()); } - public void onResultSent(T t) { + public void onResultSent(@Nullable T t) { } - public void sendError(Bundle bundle) { + public void sendError(@Nullable Bundle bundle) { if (this.mSendResultCalled || this.mSendErrorCalled) { - StringBuilder O = a.O("sendError() called when either sendResult() or sendError() had already been called for: "); - O.append(this.mDebug); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("sendError() called when either sendResult() or sendError() had already been called for: "); + R.append(this.mDebug); + throw new IllegalStateException(R.toString()); } this.mSendErrorCalled = true; onErrorSent(bundle); } - public void sendProgressUpdate(Bundle bundle) { + public void sendProgressUpdate(@Nullable Bundle bundle) { if (this.mSendResultCalled || this.mSendErrorCalled) { - StringBuilder O = a.O("sendProgressUpdate() called when either sendResult() or sendError() had already been called for: "); - O.append(this.mDebug); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("sendProgressUpdate() called when either sendResult() or sendError() had already been called for: "); + R.append(this.mDebug); + throw new IllegalStateException(R.toString()); } checkExtraFields(bundle); onProgressUpdateSent(bundle); } - public void sendResult(T t) { + public void sendResult(@Nullable T t) { if (this.mSendResultCalled || this.mSendErrorCalled) { - StringBuilder O = a.O("sendResult() called when either sendResult() or sendError() had already been called for: "); - O.append(this.mDebug); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("sendResult() called when either sendResult() or sendError() had already been called for: "); + R.append(this.mDebug); + throw new IllegalStateException(R.toString()); } this.mSendResultCalled = true; onResultSent(t); @@ -993,15 +998,15 @@ public abstract class MediaBrowserServiceCompat extends Service { MediaBrowserServiceCompat mediaBrowserServiceCompat2 = MediaBrowserServiceCompat.this; mediaBrowserServiceCompat2.mCurConnection = null; if (onGetRoot == null) { - StringBuilder O = a.O("No root for client "); - O.append(this.val$pkg); - O.append(" from service "); - O.append(getClass().getName()); - Log.i(MediaBrowserServiceCompat.TAG, O.toString()); + StringBuilder R = a.R("No root for client "); + R.append(this.val$pkg); + R.append(" from service "); + R.append(getClass().getName()); + Log.i(MediaBrowserServiceCompat.TAG, R.toString()); try { this.val$callbacks.onConnectFailed(); } catch (RemoteException unused) { - a.m0(a.O("Calling onConnectFailed() failed. Ignoring. pkg="), this.val$pkg, MediaBrowserServiceCompat.TAG); + a.n0(a.R("Calling onConnectFailed() failed. Ignoring. pkg="), this.val$pkg, MediaBrowserServiceCompat.TAG); } } else { try { @@ -1011,7 +1016,7 @@ public abstract class MediaBrowserServiceCompat extends Service { this.val$callbacks.onConnect(connectionRecord.root.getRootId(), MediaBrowserServiceCompat.this.mSession, connectionRecord.root.getExtras()); } } catch (RemoteException unused2) { - a.m0(a.O("Calling onConnect() failed. Dropping client. pkg="), this.val$pkg, MediaBrowserServiceCompat.TAG); + a.n0(a.R("Calling onConnect() failed. Dropping client. pkg="), this.val$pkg, MediaBrowserServiceCompat.TAG); MediaBrowserServiceCompat.this.mConnections.remove(asBinder); } } @@ -1053,7 +1058,7 @@ public abstract class MediaBrowserServiceCompat extends Service { public void run() { ConnectionRecord connectionRecord = MediaBrowserServiceCompat.this.mConnections.get(this.val$callbacks.asBinder()); if (connectionRecord == null) { - a.m0(a.O("addSubscription for callback that isn't registered id="), this.val$id, MediaBrowserServiceCompat.TAG); + a.n0(a.R("addSubscription for callback that isn't registered id="), this.val$id, MediaBrowserServiceCompat.TAG); } else { MediaBrowserServiceCompat.this.addSubscription(this.val$id, connectionRecord, this.val$token, this.val$options); } @@ -1076,12 +1081,12 @@ public abstract class MediaBrowserServiceCompat extends Service { public void run() { ConnectionRecord connectionRecord = MediaBrowserServiceCompat.this.mConnections.get(this.val$callbacks.asBinder()); if (connectionRecord == null) { - a.m0(a.O("removeSubscription for callback that isn't registered id="), this.val$id, MediaBrowserServiceCompat.TAG); + a.n0(a.R("removeSubscription for callback that isn't registered id="), this.val$id, MediaBrowserServiceCompat.TAG); } else if (!MediaBrowserServiceCompat.this.removeSubscription(this.val$id, connectionRecord, this.val$token)) { - StringBuilder O = a.O("removeSubscription called for "); - O.append(this.val$id); - O.append(" which is not subscribed"); - Log.w(MediaBrowserServiceCompat.TAG, O.toString()); + StringBuilder R = a.R("removeSubscription called for "); + R.append(this.val$id); + R.append(" which is not subscribed"); + Log.w(MediaBrowserServiceCompat.TAG, R.toString()); } } } @@ -1102,7 +1107,7 @@ public abstract class MediaBrowserServiceCompat extends Service { public void run() { ConnectionRecord connectionRecord = MediaBrowserServiceCompat.this.mConnections.get(this.val$callbacks.asBinder()); if (connectionRecord == null) { - a.m0(a.O("getMediaItem for callback that isn't registered id="), this.val$mediaId, MediaBrowserServiceCompat.TAG); + a.n0(a.R("getMediaItem for callback that isn't registered id="), this.val$mediaId, MediaBrowserServiceCompat.TAG); } else { MediaBrowserServiceCompat.this.performLoadItem(this.val$mediaId, connectionRecord, this.val$receiver); } @@ -1127,11 +1132,15 @@ public abstract class MediaBrowserServiceCompat extends Service { @Override // java.lang.Runnable public void run() { + ConnectionRecord connectionRecord; IBinder asBinder = this.val$callbacks.asBinder(); MediaBrowserServiceCompat.this.mConnections.remove(asBinder); Iterator it = MediaBrowserServiceCompat.this.mPendingConnections.iterator(); - ConnectionRecord connectionRecord = null; - while (it.hasNext()) { + while (true) { + connectionRecord = null; + if (!it.hasNext()) { + break; + } ConnectionRecord next = it.next(); if (next.uid == this.val$uid) { if (TextUtils.isEmpty(this.val$pkg) || this.val$pid <= 0) { @@ -1188,7 +1197,7 @@ public abstract class MediaBrowserServiceCompat extends Service { public void run() { ConnectionRecord connectionRecord = MediaBrowserServiceCompat.this.mConnections.get(this.val$callbacks.asBinder()); if (connectionRecord == null) { - a.m0(a.O("search for callback that isn't registered query="), this.val$query, MediaBrowserServiceCompat.TAG); + a.n0(a.R("search for callback that isn't registered query="), this.val$query, MediaBrowserServiceCompat.TAG); } else { MediaBrowserServiceCompat.this.performSearch(this.val$query, this.val$extras, connectionRecord, this.val$receiver); } @@ -1213,11 +1222,11 @@ public abstract class MediaBrowserServiceCompat extends Service { public void run() { ConnectionRecord connectionRecord = MediaBrowserServiceCompat.this.mConnections.get(this.val$callbacks.asBinder()); if (connectionRecord == null) { - StringBuilder O = a.O("sendCustomAction for callback that isn't registered action="); - O.append(this.val$action); - O.append(", extras="); - O.append(this.val$extras); - Log.w(MediaBrowserServiceCompat.TAG, O.toString()); + StringBuilder R = a.R("sendCustomAction for callback that isn't registered action="); + R.append(this.val$action); + R.append(", extras="); + R.append(this.val$extras); + Log.w(MediaBrowserServiceCompat.TAG, R.toString()); return; } MediaBrowserServiceCompat.this.performCustomAction(this.val$action, this.val$extras, connectionRecord, this.val$receiver); @@ -1589,11 +1598,11 @@ public abstract class MediaBrowserServiceCompat extends Service { } this.mCurConnection = null; if (!r7.isDone()) { - StringBuilder O = a.O("onLoadChildren must call detach() or sendResult() before returning for package="); - O.append(connectionRecord.pkg); - O.append(" id="); - O.append(str); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("onLoadChildren must call detach() or sendResult() before returning for package="); + R.append(connectionRecord.pkg); + R.append(" id="); + R.append(str); + throw new IllegalStateException(R.toString()); } } @@ -1603,7 +1612,7 @@ public abstract class MediaBrowserServiceCompat extends Service { onLoadItem(str, r0); this.mCurConnection = null; if (!r0.isDone()) { - throw new IllegalStateException(a.u("onLoadItem must call detach() or sendResult() before returning for id=", str)); + throw new IllegalStateException(a.v("onLoadItem must call detach() or sendResult() before returning for id=", str)); } } @@ -1613,7 +1622,7 @@ public abstract class MediaBrowserServiceCompat extends Service { onSearch(str, bundle, r0); this.mCurConnection = null; if (!r0.isDone()) { - throw new IllegalStateException(a.u("onSearch must call detach() or sendResult() before returning for query=", str)); + throw new IllegalStateException(a.v("onSearch must call detach() or sendResult() before returning for query=", str)); } } diff --git a/app/src/main/java/androidx/media/MediaSessionManager.java b/app/src/main/java/androidx/media/MediaSessionManager.java index 1f08a720d7..a36f1b1c42 100644 --- a/app/src/main/java/androidx/media/MediaSessionManager.java +++ b/app/src/main/java/androidx/media/MediaSessionManager.java @@ -3,6 +3,7 @@ package androidx.media; import android.content.Context; import android.media.session.MediaSessionManager; import android.os.Build; +import android.text.TextUtils; import android.util.Log; import androidx.annotation.NonNull; import androidx.annotation.Nullable; @@ -10,6 +11,7 @@ import androidx.annotation.RequiresApi; import androidx.annotation.RestrictTo; import androidx.media.MediaSessionManagerImplApi28; import androidx.media.MediaSessionManagerImplBase; +import java.util.Objects; public final class MediaSessionManager { public static final boolean DEBUG = Log.isLoggable(TAG, 3); public static final String TAG = "MediaSessionManager"; @@ -34,11 +36,20 @@ public final class MediaSessionManager { @RequiresApi(28) @RestrictTo({RestrictTo.Scope.LIBRARY}) public RemoteUserInfo(MediaSessionManager.RemoteUserInfo remoteUserInfo) { - this.mImpl = new MediaSessionManagerImplApi28.RemoteUserInfoImplApi28(remoteUserInfo); + String packageName = MediaSessionManagerImplApi28.RemoteUserInfoImplApi28.getPackageName(remoteUserInfo); + Objects.requireNonNull(packageName, "package shouldn't be null"); + if (!TextUtils.isEmpty(packageName)) { + this.mImpl = new MediaSessionManagerImplApi28.RemoteUserInfoImplApi28(remoteUserInfo); + return; + } + throw new IllegalArgumentException("packageName should be nonempty"); } public RemoteUserInfo(@NonNull String str, int i, int i2) { - if (Build.VERSION.SDK_INT >= 28) { + Objects.requireNonNull(str, "package shouldn't be null"); + if (TextUtils.isEmpty(str)) { + throw new IllegalArgumentException("packageName should be nonempty"); + } else if (Build.VERSION.SDK_INT >= 28) { this.mImpl = new MediaSessionManagerImplApi28.RemoteUserInfoImplApi28(str, i, i2); } else { this.mImpl = new MediaSessionManagerImplBase.RemoteUserInfoImplBase(str, i, i2); diff --git a/app/src/main/java/androidx/media/MediaSessionManagerImplApi28.java b/app/src/main/java/androidx/media/MediaSessionManagerImplApi28.java index f26dfc8cfc..65a9ecebdd 100644 --- a/app/src/main/java/androidx/media/MediaSessionManagerImplApi28.java +++ b/app/src/main/java/androidx/media/MediaSessionManagerImplApi28.java @@ -9,6 +9,7 @@ import androidx.media.MediaSessionManagerImplBase; public class MediaSessionManagerImplApi28 extends MediaSessionManagerImplApi21 { public MediaSessionManager mObject; + @RequiresApi(28) public static final class RemoteUserInfoImplApi28 extends MediaSessionManagerImplBase.RemoteUserInfoImplBase { public final MediaSessionManager.RemoteUserInfo mObject; @@ -21,6 +22,10 @@ public class MediaSessionManagerImplApi28 extends MediaSessionManagerImplApi21 { super(str, i, i2); this.mObject = new MediaSessionManager.RemoteUserInfo(str, i, i2); } + + public static String getPackageName(MediaSessionManager.RemoteUserInfo remoteUserInfo) { + return remoteUserInfo.getPackageName(); + } } public MediaSessionManagerImplApi28(Context context) { diff --git a/app/src/main/java/androidx/media/MediaSessionManagerImplBase.java b/app/src/main/java/androidx/media/MediaSessionManagerImplBase.java index 2a086ad0d2..d695c57d37 100644 --- a/app/src/main/java/androidx/media/MediaSessionManagerImplBase.java +++ b/app/src/main/java/androidx/media/MediaSessionManagerImplBase.java @@ -99,10 +99,10 @@ public class MediaSessionManagerImplBase implements MediaSessionManager.MediaSes return isPermissionGranted(remoteUserInfoImpl, PERMISSION_STATUS_BAR_SERVICE) || isPermissionGranted(remoteUserInfoImpl, PERMISSION_MEDIA_CONTENT_CONTROL) || remoteUserInfoImpl.getUid() == 1000 || isEnabledNotificationListener(remoteUserInfoImpl); } catch (PackageManager.NameNotFoundException unused) { if (DEBUG) { - StringBuilder O = a.O("Package "); - O.append(remoteUserInfoImpl.getPackageName()); - O.append(" doesn't exist"); - Log.d("MediaSessionManager", O.toString()); + StringBuilder R = a.R("Package "); + R.append(remoteUserInfoImpl.getPackageName()); + R.append(" doesn't exist"); + Log.d("MediaSessionManager", R.toString()); } return false; } diff --git a/app/src/main/java/androidx/media/VolumeProviderCompat.java b/app/src/main/java/androidx/media/VolumeProviderCompat.java index 83890226a3..19c82a4f55 100644 --- a/app/src/main/java/androidx/media/VolumeProviderCompat.java +++ b/app/src/main/java/androidx/media/VolumeProviderCompat.java @@ -2,7 +2,9 @@ package androidx.media; import android.media.VolumeProvider; import android.os.Build; +import androidx.annotation.DoNotInline; import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; import androidx.annotation.RestrictTo; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @@ -51,6 +53,17 @@ public abstract class VolumeProviderCompat { } } + @RequiresApi(21) + public static class Api21Impl { + private Api21Impl() { + } + + @DoNotInline + public static void setCurrentVolume(VolumeProvider volumeProvider, int i) { + volumeProvider.setCurrentVolume(i); + } + } + public static abstract class Callback { public abstract void onVolumeChanged(VolumeProviderCompat volumeProviderCompat); } @@ -113,7 +126,7 @@ public abstract class VolumeProviderCompat { public final void setCurrentVolume(int i) { this.mCurrentVolume = i; - ((VolumeProvider) getVolumeProvider()).setCurrentVolume(i); + Api21Impl.setCurrentVolume((VolumeProvider) getVolumeProvider(), i); Callback callback = this.mCallback; if (callback != null) { callback.onVolumeChanged(this); diff --git a/app/src/main/java/androidx/media/app/NotificationCompat.java b/app/src/main/java/androidx/media/app/NotificationCompat.java index c9dab16374..380767309a 100644 --- a/app/src/main/java/androidx/media/app/NotificationCompat.java +++ b/app/src/main/java/androidx/media/app/NotificationCompat.java @@ -8,6 +8,7 @@ import android.os.Bundle; import android.os.Parcelable; import android.support.v4.media.session.MediaSessionCompat; import android.widget.RemoteViews; +import androidx.annotation.DoNotInline; import androidx.annotation.RequiresApi; import androidx.annotation.RestrictTo; import androidx.core.app.NotificationBuilderWithBuilderAccessor; @@ -15,6 +16,65 @@ import androidx.core.app.NotificationCompat; import androidx.media.R; public class NotificationCompat { + @RequiresApi(15) + public static class Api15Impl { + private Api15Impl() { + } + + @DoNotInline + public static void setContentDescription(RemoteViews remoteViews, int i, CharSequence charSequence) { + remoteViews.setContentDescription(i, charSequence); + } + } + + @RequiresApi(21) + public static class Api21Impl { + private Api21Impl() { + } + + @DoNotInline + public static Notification.MediaStyle createMediaStyle() { + return new Notification.MediaStyle(); + } + + @DoNotInline + public static Notification.MediaStyle fillInMediaStyle(Notification.MediaStyle mediaStyle, int[] iArr, MediaSessionCompat.Token token) { + if (iArr != null) { + setShowActionsInCompactView(mediaStyle, iArr); + } + if (token != null) { + setMediaSession(mediaStyle, (MediaSession.Token) token.j); + } + return mediaStyle; + } + + @DoNotInline + public static void setMediaSession(Notification.MediaStyle mediaStyle, MediaSession.Token token) { + mediaStyle.setMediaSession(token); + } + + @DoNotInline + public static void setMediaStyle(Notification.Builder builder, Notification.MediaStyle mediaStyle) { + builder.setStyle(mediaStyle); + } + + @DoNotInline + public static void setShowActionsInCompactView(Notification.MediaStyle mediaStyle, int... iArr) { + mediaStyle.setShowActionsInCompactView(iArr); + } + } + + @RequiresApi(24) + public static class Api24Impl { + private Api24Impl() { + } + + @DoNotInline + public static Notification.DecoratedMediaCustomViewStyle createDecoratedMediaCustomViewStyle() { + return new Notification.DecoratedMediaCustomViewStyle(); + } + } + public static class DecoratedMediaCustomViewStyle extends MediaStyle { private void setBackgroundColor(RemoteViews remoteViews) { remoteViews.setInt(R.id.status_bar_latest_event_content, "setBackgroundColor", this.mBuilder.getColor() != 0 ? this.mBuilder.getColor() : this.mBuilder.mContext.getResources().getColor(R.color.notification_material_background_media_default_color)); @@ -24,7 +84,7 @@ public class NotificationCompat { @RestrictTo({RestrictTo.Scope.LIBRARY}) public void apply(NotificationBuilderWithBuilderAccessor notificationBuilderWithBuilderAccessor) { if (Build.VERSION.SDK_INT >= 24) { - notificationBuilderWithBuilderAccessor.getBuilder().setStyle(fillInMediaStyle(new Notification.DecoratedMediaCustomViewStyle())); + Api21Impl.setMediaStyle(notificationBuilderWithBuilderAccessor.getBuilder(), Api21Impl.fillInMediaStyle(Api24Impl.createDecoratedMediaCustomViewStyle(), this.mActionsToShowInCompact, this.mToken)); } else { super.apply(notificationBuilderWithBuilderAccessor); } @@ -118,7 +178,7 @@ public class NotificationCompat { if (!z2) { remoteViews.setOnClickPendingIntent(i, action.getActionIntent()); } - remoteViews.setContentDescription(i, action.getTitle()); + Api15Impl.setContentDescription(remoteViews, i, action.getTitle()); return remoteViews; } @@ -134,20 +194,7 @@ public class NotificationCompat { @Override // androidx.core.app.NotificationCompat.Style @RestrictTo({RestrictTo.Scope.LIBRARY}) public void apply(NotificationBuilderWithBuilderAccessor notificationBuilderWithBuilderAccessor) { - notificationBuilderWithBuilderAccessor.getBuilder().setStyle(fillInMediaStyle(new Notification.MediaStyle())); - } - - @RequiresApi(21) - public Notification.MediaStyle fillInMediaStyle(Notification.MediaStyle mediaStyle) { - int[] iArr = this.mActionsToShowInCompact; - if (iArr != null) { - mediaStyle.setShowActionsInCompactView(iArr); - } - MediaSessionCompat.Token token = this.mToken; - if (token != null) { - mediaStyle.setMediaSession((MediaSession.Token) token.j); - } - return mediaStyle; + Api21Impl.setMediaStyle(notificationBuilderWithBuilderAccessor.getBuilder(), Api21Impl.fillInMediaStyle(Api21Impl.createMediaStyle(), this.mActionsToShowInCompact, this.mToken)); } public RemoteViews generateBigContentView() { diff --git a/app/src/main/java/androidx/media/session/MediaButtonReceiver.java b/app/src/main/java/androidx/media/session/MediaButtonReceiver.java index 4a058384a6..f8acb08c57 100644 --- a/app/src/main/java/androidx/media/session/MediaButtonReceiver.java +++ b/app/src/main/java/androidx/media/session/MediaButtonReceiver.java @@ -1,5 +1,6 @@ package androidx.media.session; +import android.annotation.SuppressLint; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.ComponentName; @@ -9,7 +10,6 @@ import android.content.pm.ActivityInfo; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.content.pm.ServiceInfo; -import android.os.Build; import android.os.Messenger; import android.os.RemoteException; import android.support.v4.media.MediaBrowserCompat; @@ -18,6 +18,7 @@ import android.support.v4.media.session.MediaSessionCompat; import android.util.Log; import android.view.KeyEvent; import androidx.annotation.RestrictTo; +import androidx.core.content.ContextCompat; import androidx.media.MediaBrowserServiceCompat; import c.d.b.a.a; import java.util.List; @@ -25,7 +26,7 @@ import java.util.concurrent.ConcurrentHashMap; public class MediaButtonReceiver extends BroadcastReceiver { private static final String TAG = "MediaButtonReceiver"; - public static class MediaButtonConnectionCallback extends MediaBrowserCompat.b { + public static class MediaButtonConnectionCallback extends MediaBrowserCompat.c { private final Context mContext; private final Intent mIntent; private MediaBrowserCompat mMediaBrowser; @@ -39,27 +40,27 @@ public class MediaButtonReceiver extends BroadcastReceiver { private void finish() { Messenger messenger; - MediaBrowserCompat.d dVar = (MediaBrowserCompat.d) this.mMediaBrowser.b; - MediaBrowserCompat.h hVar = dVar.f; - if (!(hVar == null || (messenger = dVar.g) == null)) { + MediaBrowserCompat.e eVar = (MediaBrowserCompat.e) this.mMediaBrowser.b; + MediaBrowserCompat.i iVar = eVar.f; + if (!(iVar == null || (messenger = eVar.g) == null)) { try { - hVar.a(7, null, messenger); + iVar.a(7, null, messenger); } catch (RemoteException unused) { Log.i("MediaBrowserCompat", "Remote error unregistering client messenger."); } } - dVar.b.disconnect(); + eVar.b.disconnect(); this.mPendingResult.finish(); } - @Override // android.support.v4.media.MediaBrowserCompat.b + @Override // android.support.v4.media.MediaBrowserCompat.c public void onConnected() { Context context = this.mContext; - MediaBrowserCompat.d dVar = (MediaBrowserCompat.d) this.mMediaBrowser.b; - if (dVar.h == null) { - dVar.h = MediaSessionCompat.Token.a(dVar.b.getSessionToken(), null); + MediaBrowserCompat.e eVar = (MediaBrowserCompat.e) this.mMediaBrowser.b; + if (eVar.h == null) { + eVar.h = MediaSessionCompat.Token.a(eVar.b.getSessionToken(), null); } - MediaSessionCompat.Token token = dVar.h; + MediaSessionCompat.Token token = eVar.h; new ConcurrentHashMap(); if (token != null) { MediaControllerCompat$MediaControllerImplApi21 mediaControllerCompat$MediaControllerImplApi21 = new MediaControllerCompat$MediaControllerImplApi21(context, token); @@ -74,12 +75,12 @@ public class MediaButtonReceiver extends BroadcastReceiver { throw new IllegalArgumentException("sessionToken must not be null"); } - @Override // android.support.v4.media.MediaBrowserCompat.b + @Override // android.support.v4.media.MediaBrowserCompat.c public void onConnectionFailed() { finish(); } - @Override // android.support.v4.media.MediaBrowserCompat.b + @Override // android.support.v4.media.MediaBrowserCompat.c public void onConnectionSuspended() { finish(); } @@ -98,6 +99,7 @@ public class MediaButtonReceiver extends BroadcastReceiver { return null; } + @SuppressLint({"WrongConstant"}) public static PendingIntent buildMediaButtonPendingIntent(Context context, ComponentName componentName, long j) { if (componentName == null) { Log.w(TAG, "The component name of media button receiver should be provided."); @@ -111,7 +113,8 @@ public class MediaButtonReceiver extends BroadcastReceiver { Intent intent = new Intent("android.intent.action.MEDIA_BUTTON"); intent.setComponent(componentName); intent.putExtra("android.intent.extra.KEY_EVENT", new KeyEvent(0, i)); - return PendingIntent.getBroadcast(context, i, intent, 0); + intent.addFlags(268435456); + return PendingIntent.getBroadcast(context, i, intent, MediaSessionCompat.a); } @RestrictTo({RestrictTo.Scope.LIBRARY}) @@ -141,9 +144,9 @@ public class MediaButtonReceiver extends BroadcastReceiver { } else if (queryIntentServices.isEmpty()) { return null; } else { - StringBuilder U = a.U("Expected 1 service that handles ", str, ", found "); - U.append(queryIntentServices.size()); - throw new IllegalStateException(U.toString()); + StringBuilder W = a.W("Expected 1 service that handles ", str, ", found "); + W.append(queryIntentServices.size()); + throw new IllegalStateException(W.toString()); } } @@ -155,14 +158,6 @@ public class MediaButtonReceiver extends BroadcastReceiver { throw null; } - private static void startForegroundService(Context context, Intent intent) { - if (Build.VERSION.SDK_INT >= 26) { - context.startForegroundService(intent); - } else { - context.startService(intent); - } - } - @Override // android.content.BroadcastReceiver public void onReceive(Context context, Intent intent) { if (intent == null || !"android.intent.action.MEDIA_BUTTON".equals(intent.getAction()) || !intent.hasExtra("android.intent.extra.KEY_EVENT")) { @@ -172,7 +167,7 @@ public class MediaButtonReceiver extends BroadcastReceiver { ComponentName serviceComponentByAction = getServiceComponentByAction(context, "android.intent.action.MEDIA_BUTTON"); if (serviceComponentByAction != null) { intent.setComponent(serviceComponentByAction); - startForegroundService(context, intent); + ContextCompat.startForegroundService(context, intent); return; } ComponentName serviceComponentByAction2 = getServiceComponentByAction(context, MediaBrowserServiceCompat.SERVICE_INTERFACE); @@ -183,7 +178,7 @@ public class MediaButtonReceiver extends BroadcastReceiver { MediaBrowserCompat mediaBrowserCompat = new MediaBrowserCompat(applicationContext, serviceComponentByAction2, mediaButtonConnectionCallback, null); mediaButtonConnectionCallback.setMediaBrowser(mediaBrowserCompat); Log.d("MediaBrowserCompat", "Connecting to a MediaBrowserService."); - ((MediaBrowserCompat.d) mediaBrowserCompat.b).b.connect(); + ((MediaBrowserCompat.e) mediaBrowserCompat.b).b.connect(); return; } throw new IllegalStateException("Could not find any Service that handles android.intent.action.MEDIA_BUTTON or implements a media browser service."); diff --git a/app/src/main/java/androidx/media/utils/MediaConstants.java b/app/src/main/java/androidx/media/utils/MediaConstants.java index 6a8d5f85ab..4e8a705c11 100644 --- a/app/src/main/java/androidx/media/utils/MediaConstants.java +++ b/app/src/main/java/androidx/media/utils/MediaConstants.java @@ -3,9 +3,45 @@ package androidx.media.utils; import android.annotation.SuppressLint; import androidx.annotation.RestrictTo; public final class MediaConstants { + @SuppressLint({"IntentName"}) + public static final String BROWSER_ROOT_HINTS_KEY_MEDIA_ART_SIZE_PIXELS = "android.media.extras.MEDIA_ART_SIZE_HINT_PIXELS"; + @SuppressLint({"IntentName"}) + public static final String BROWSER_ROOT_HINTS_KEY_ROOT_CHILDREN_LIMIT = "androidx.media.MediaBrowserCompat.Extras.KEY_ROOT_CHILDREN_LIMIT"; + @SuppressLint({"IntentName"}) + public static final String BROWSER_ROOT_HINTS_KEY_ROOT_CHILDREN_SUPPORTED_FLAGS = "androidx.media.MediaBrowserCompat.Extras.KEY_ROOT_CHILDREN_SUPPORTED_FLAGS"; + @SuppressLint({"IntentName"}) + public static final String BROWSER_SERVICE_EXTRAS_KEY_SEARCH_SUPPORTED = "android.media.browse.SEARCH_SUPPORTED"; + @SuppressLint({"IntentName"}) + public static final String DESCRIPTION_EXTRAS_KEY_COMPLETION_STATUS = "android.media.extra.PLAYBACK_STATUS"; + @SuppressLint({"IntentName"}) + public static final String DESCRIPTION_EXTRAS_KEY_CONTENT_STYLE_BROWSABLE = "android.media.browse.CONTENT_STYLE_BROWSABLE_HINT"; + @SuppressLint({"IntentName"}) + public static final String DESCRIPTION_EXTRAS_KEY_CONTENT_STYLE_GROUP_TITLE = "android.media.browse.CONTENT_STYLE_GROUP_TITLE_HINT"; + @SuppressLint({"IntentName"}) + public static final String DESCRIPTION_EXTRAS_KEY_CONTENT_STYLE_PLAYABLE = "android.media.browse.CONTENT_STYLE_PLAYABLE_HINT"; + public static final int DESCRIPTION_EXTRAS_VALUE_COMPLETION_STATUS_FULLY_PLAYED = 2; + public static final int DESCRIPTION_EXTRAS_VALUE_COMPLETION_STATUS_NOT_PLAYED = 0; + public static final int DESCRIPTION_EXTRAS_VALUE_COMPLETION_STATUS_PARTIALLY_PLAYED = 1; + public static final int DESCRIPTION_EXTRAS_VALUE_CONTENT_STYLE_CATEGORY_GRID_ITEM = 4; + public static final int DESCRIPTION_EXTRAS_VALUE_CONTENT_STYLE_CATEGORY_LIST_ITEM = 3; + public static final int DESCRIPTION_EXTRAS_VALUE_CONTENT_STYLE_GRID_ITEM = 2; + public static final int DESCRIPTION_EXTRAS_VALUE_CONTENT_STYLE_LIST_ITEM = 1; @SuppressLint({"IntentName"}) public static final String METADATA_KEY_CONTENT_ID = "androidx.media.MediaMetadatCompat.METADATA_KEY_CONTENT_ID"; @SuppressLint({"IntentName"}) + public static final String METADATA_KEY_IS_ADVERTISEMENT = "android.media.metadata.ADVERTISEMENT"; + @SuppressLint({"IntentName"}) + public static final String METADATA_KEY_IS_EXPLICIT = "android.media.IS_EXPLICIT"; + @SuppressLint({"IntentName"}) + public static final String METADATA_KEY_NEXT_EPISODE_CONTENT_ID = "androidx.media.MediaMetadatCompat.METADATA_KEY_NEXT_EPISODE_CONTENT_ID"; + @SuppressLint({"IntentName"}) + public static final String METADATA_KEY_SERIES_CONTENT_ID = "androidx.media.MediaMetadatCompat.METADATA_KEY_SERIES_CONTENT_ID"; + public static final long METADATA_VALUE_ATTRIBUTE_PRESENT = 1; + @SuppressLint({"IntentName"}) + public static final String PLAYBACK_STATE_EXTRAS_KEY_ERROR_RESOLUTION_ACTION_INTENT = "android.media.extras.ERROR_RESOLUTION_ACTION_INTENT"; + @SuppressLint({"IntentName"}) + public static final String PLAYBACK_STATE_EXTRAS_KEY_ERROR_RESOLUTION_ACTION_LABEL = "android.media.extras.ERROR_RESOLUTION_ACTION_LABEL"; + @SuppressLint({"IntentName"}) public static final String PLAYBACK_STATE_EXTRAS_KEY_MEDIA_ID = "androidx.media.PlaybackStateCompat.Extras.KEY_MEDIA_ID"; @SuppressLint({"IntentName"}) public static final String SESSION_EXTRAS_KEY_ACCOUNT_NAME = "androidx.media.MediaSessionCompat.Extras.KEY_ACCOUNT_NAME"; @@ -14,6 +50,14 @@ public final class MediaConstants { @SuppressLint({"IntentName"}) @RestrictTo({RestrictTo.Scope.LIBRARY}) public static final String SESSION_EXTRAS_KEY_AUTHTOKEN = "androidx.media.MediaSessionCompat.Extras.KEY_AUTHTOKEN"; + @SuppressLint({"IntentName"}) + public static final String SESSION_EXTRAS_KEY_SLOT_RESERVATION_SKIP_TO_NEXT = "android.media.playback.ALWAYS_RESERVE_SPACE_FOR.ACTION_SKIP_TO_NEXT"; + @SuppressLint({"IntentName"}) + public static final String SESSION_EXTRAS_KEY_SLOT_RESERVATION_SKIP_TO_PREV = "android.media.playback.ALWAYS_RESERVE_SPACE_FOR.ACTION_SKIP_TO_PREVIOUS"; + @SuppressLint({"IntentName"}) + public static final String TRANSPORT_CONTROLS_EXTRAS_KEY_LEGACY_STREAM_TYPE = "android.media.session.extra.LEGACY_STREAM_TYPE"; + @SuppressLint({"IntentName"}) + public static final String TRANSPORT_CONTROLS_EXTRAS_KEY_SHUFFLE = "androidx.media.MediaControllerCompat.TransportControls.extras.KEY_SHUFFLE"; private MediaConstants() { } diff --git a/app/src/main/java/androidx/preference/Preference.java b/app/src/main/java/androidx/preference/Preference.java index 173840541e..16b8a84873 100644 --- a/app/src/main/java/androidx/preference/Preference.java +++ b/app/src/main/java/androidx/preference/Preference.java @@ -253,14 +253,14 @@ public class Preference implements Comparable { findPreferenceInHierarchy.registerDependent(this); return; } - StringBuilder O = a.O("Dependency \""); - O.append(this.mDependencyKey); - O.append("\" not found for preference \""); - O.append(this.mKey); - O.append("\" (title: \""); - O.append((Object) this.mTitle); - O.append("\""); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Dependency \""); + R.append(this.mDependencyKey); + R.append("\" not found for preference \""); + R.append(this.mKey); + R.append("\" (title: \""); + R.append((Object) this.mTitle); + R.append("\""); + throw new IllegalStateException(R.toString()); } } diff --git a/app/src/main/java/androidx/preference/PreferenceFragment.java b/app/src/main/java/androidx/preference/PreferenceFragment.java index 8ba1ce5c3b..58efb2b0e5 100644 --- a/app/src/main/java/androidx/preference/PreferenceFragment.java +++ b/app/src/main/java/androidx/preference/PreferenceFragment.java @@ -528,7 +528,7 @@ public abstract class PreferenceFragment extends Fragment implements PreferenceM boolean z2 = findPreference instanceof PreferenceScreen; obj = findPreference; if (!z2) { - throw new IllegalArgumentException(a.v("Preference object with key ", str, " is not a PreferenceScreen")); + throw new IllegalArgumentException(a.w("Preference object with key ", str, " is not a PreferenceScreen")); } } setPreferenceScreen((PreferenceScreen) obj); diff --git a/app/src/main/java/androidx/preference/PreferenceFragmentCompat.java b/app/src/main/java/androidx/preference/PreferenceFragmentCompat.java index 758465b2b3..9a60fa5e5c 100644 --- a/app/src/main/java/androidx/preference/PreferenceFragmentCompat.java +++ b/app/src/main/java/androidx/preference/PreferenceFragmentCompat.java @@ -398,10 +398,10 @@ public abstract class PreferenceFragmentCompat extends Fragment implements Prefe } else if (preference instanceof MultiSelectListPreference) { dialogFragment = MultiSelectListPreferenceDialogFragmentCompat.newInstance(preference.getKey()); } else { - StringBuilder O = a.O("Cannot display dialog for an unknown Preference type: "); - O.append(preference.getClass().getSimpleName()); - O.append(". Make sure to implement onPreferenceDisplayDialog() to handle displaying a custom dialog for this Preference."); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Cannot display dialog for an unknown Preference type: "); + R.append(preference.getClass().getSimpleName()); + R.append(". Make sure to implement onPreferenceDisplayDialog() to handle displaying a custom dialog for this Preference."); + throw new IllegalArgumentException(R.toString()); } dialogFragment.setTargetFragment(this, 0); dialogFragment.show(getParentFragmentManager(), DIALOG_FRAGMENT_TAG); @@ -520,7 +520,7 @@ public abstract class PreferenceFragmentCompat extends Fragment implements Prefe boolean z2 = findPreference instanceof PreferenceScreen; obj = findPreference; if (!z2) { - throw new IllegalArgumentException(a.v("Preference object with key ", str, " is not a PreferenceScreen")); + throw new IllegalArgumentException(a.w("Preference object with key ", str, " is not a PreferenceScreen")); } } setPreferenceScreen((PreferenceScreen) obj); diff --git a/app/src/main/java/androidx/preference/PreferenceGroupKt$iterator$1.java b/app/src/main/java/androidx/preference/PreferenceGroupKt$iterator$1.java index 54d8e14fbe..40729896e1 100644 --- a/app/src/main/java/androidx/preference/PreferenceGroupKt$iterator$1.java +++ b/app/src/main/java/androidx/preference/PreferenceGroupKt$iterator$1.java @@ -1,6 +1,6 @@ package androidx.preference; -import c0.z.d.g0.a; +import d0.z.d.g0.a; import java.util.Iterator; /* compiled from: PreferenceGroup.kt */ public final class PreferenceGroupKt$iterator$1 implements Iterator, a { diff --git a/app/src/main/java/androidx/preference/PreferenceGroupKt.java b/app/src/main/java/androidx/preference/PreferenceGroupKt.java index 27ed293cb3..0eea3ca206 100644 --- a/app/src/main/java/androidx/preference/PreferenceGroupKt.java +++ b/app/src/main/java/androidx/preference/PreferenceGroupKt.java @@ -1,7 +1,7 @@ package androidx.preference; import c.d.b.a.a; -import c0.z.d.m; +import d0.z.d.m; import java.util.Iterator; import kotlin.Unit; import kotlin.jvm.functions.Function1; @@ -45,9 +45,9 @@ public final class PreferenceGroupKt { if (preference != null) { return preference; } - StringBuilder P = a.P("Index: ", i, ", Size: "); - P.append(preferenceGroup.getPreferenceCount()); - throw new IndexOutOfBoundsException(P.toString()); + StringBuilder S = a.S("Index: ", i, ", Size: "); + S.append(preferenceGroup.getPreferenceCount()); + throw new IndexOutOfBoundsException(S.toString()); } public static final T get(PreferenceGroup preferenceGroup, CharSequence charSequence) { diff --git a/app/src/main/java/androidx/recyclerview/widget/AdapterHelper.java b/app/src/main/java/androidx/recyclerview/widget/AdapterHelper.java index ac6622e33e..eb873c3b42 100644 --- a/app/src/main/java/androidx/recyclerview/widget/AdapterHelper.java +++ b/app/src/main/java/androidx/recyclerview/widget/AdapterHelper.java @@ -6,7 +6,7 @@ import androidx.recyclerview.widget.RecyclerView; import java.util.ArrayList; import java.util.Collections; import java.util.List; -public class AdapterHelper implements OpReorderer.Callback { +public final class AdapterHelper implements OpReorderer.Callback { private static final boolean DEBUG = false; public static final int POSITION_TYPE_INVISIBLE = 0; public static final int POSITION_TYPE_NEW_OR_LAID_OUT = 1; @@ -38,7 +38,7 @@ public class AdapterHelper implements OpReorderer.Callback { void onDispatchSecondPass(UpdateOp updateOp); } - public static class UpdateOp { + public static final class UpdateOp { public static final int ADD = 1; public static final int MOVE = 8; public static final int POOL_SIZE = 30; @@ -65,7 +65,7 @@ public class AdapterHelper implements OpReorderer.Callback { if (this == obj) { return true; } - if (obj == null || getClass() != obj.getClass()) { + if (!(obj instanceof UpdateOp)) { return false; } UpdateOp updateOp = (UpdateOp) obj; diff --git a/app/src/main/java/androidx/recyclerview/widget/AsyncListUtil.java b/app/src/main/java/androidx/recyclerview/widget/AsyncListUtil.java index 410dd22800..85ca828b22 100644 --- a/app/src/main/java/androidx/recyclerview/widget/AsyncListUtil.java +++ b/app/src/main/java/androidx/recyclerview/widget/AsyncListUtil.java @@ -57,9 +57,9 @@ public class AsyncListUtil { } TileList.Tile addOrReplace = AsyncListUtil.this.mTileList.addOrReplace(tile); if (addOrReplace != null) { - StringBuilder O = a.O("duplicate tile @"); - O.append(addOrReplace.mStartPosition); - Log.e(AsyncListUtil.TAG, O.toString()); + StringBuilder R = a.R("duplicate tile @"); + R.append(addOrReplace.mStartPosition); + Log.e(AsyncListUtil.TAG, R.toString()); AsyncListUtil.this.mBackgroundProxy.recycleTile(addOrReplace); } int i2 = tile.mStartPosition + tile.mItemCount; @@ -161,9 +161,9 @@ public class AsyncListUtil { } private void log(String str, Object... objArr) { - StringBuilder O = a.O("[BKGR] "); - O.append(String.format(str, objArr)); - Log.d(AsyncListUtil.TAG, O.toString()); + StringBuilder R = a.R("[BKGR] "); + R.append(String.format(str, objArr)); + Log.d(AsyncListUtil.TAG, R.toString()); } private void removeTile(int i) { @@ -308,9 +308,9 @@ public class AsyncListUtil { } public void log(String str, Object... objArr) { - StringBuilder O = a.O("[MAIN] "); - O.append(String.format(str, objArr)); - Log.d(TAG, O.toString()); + StringBuilder R = a.R("[MAIN] "); + R.append(String.format(str, objArr)); + Log.d(TAG, R.toString()); } public void onRangeChanged() { diff --git a/app/src/main/java/androidx/recyclerview/widget/ConcatAdapter.java b/app/src/main/java/androidx/recyclerview/widget/ConcatAdapter.java new file mode 100644 index 0000000000..fd81614192 --- /dev/null +++ b/app/src/main/java/androidx/recyclerview/widget/ConcatAdapter.java @@ -0,0 +1,173 @@ +package androidx.recyclerview.widget; + +import android.view.ViewGroup; +import androidx.annotation.NonNull; +import androidx.recyclerview.widget.RecyclerView; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +public final class ConcatAdapter extends RecyclerView.Adapter { + public static final String TAG = "ConcatAdapter"; + private final ConcatAdapterController mController; + + public static final class Config { + @NonNull + public static final Config DEFAULT = new Config(true, StableIdMode.NO_STABLE_IDS); + public final boolean isolateViewTypes; + @NonNull + public final StableIdMode stableIdMode; + + public static final class Builder { + private boolean mIsolateViewTypes; + private StableIdMode mStableIdMode; + + public Builder() { + Config config = Config.DEFAULT; + this.mIsolateViewTypes = config.isolateViewTypes; + this.mStableIdMode = config.stableIdMode; + } + + @NonNull + public Config build() { + return new Config(this.mIsolateViewTypes, this.mStableIdMode); + } + + @NonNull + public Builder setIsolateViewTypes(boolean z2) { + this.mIsolateViewTypes = z2; + return this; + } + + @NonNull + public Builder setStableIdMode(@NonNull StableIdMode stableIdMode) { + this.mStableIdMode = stableIdMode; + return this; + } + } + + public enum StableIdMode { + NO_STABLE_IDS, + ISOLATED_STABLE_IDS, + SHARED_STABLE_IDS + } + + public Config(boolean z2, @NonNull StableIdMode stableIdMode) { + this.isolateViewTypes = z2; + this.stableIdMode = stableIdMode; + } + } + + public ConcatAdapter(@NonNull Config config, @NonNull List> list) { + this.mController = new ConcatAdapterController(this, config); + for (RecyclerView.Adapter adapter : list) { + addAdapter(adapter); + } + super.setHasStableIds(this.mController.hasStableIds()); + } + + @SafeVarargs + public ConcatAdapter(@NonNull Config config, @NonNull RecyclerView.Adapter... adapterArr) { + this(config, Arrays.asList(adapterArr)); + } + + public ConcatAdapter(@NonNull List> list) { + this(Config.DEFAULT, list); + } + + @SafeVarargs + public ConcatAdapter(@NonNull RecyclerView.Adapter... adapterArr) { + this(Config.DEFAULT, adapterArr); + } + + public boolean addAdapter(int i, @NonNull RecyclerView.Adapter adapter) { + return this.mController.addAdapter(i, adapter); + } + + public boolean addAdapter(@NonNull RecyclerView.Adapter adapter) { + return this.mController.addAdapter(adapter); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public int findRelativeAdapterPositionIn(@NonNull RecyclerView.Adapter adapter, @NonNull RecyclerView.ViewHolder viewHolder, int i) { + return this.mController.getLocalAdapterPosition(adapter, viewHolder, i); + } + + @NonNull + public List> getAdapters() { + return Collections.unmodifiableList(this.mController.getCopyOfAdapters()); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public int getItemCount() { + return this.mController.getTotalCount(); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public long getItemId(int i) { + return this.mController.getItemId(i); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public int getItemViewType(int i) { + return this.mController.getItemViewType(i); + } + + public void internalSetStateRestorationPolicy(@NonNull RecyclerView.Adapter.StateRestorationPolicy stateRestorationPolicy) { + super.setStateRestorationPolicy(stateRestorationPolicy); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public void onAttachedToRecyclerView(@NonNull RecyclerView recyclerView) { + this.mController.onAttachedToRecyclerView(recyclerView); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public void onBindViewHolder(@NonNull RecyclerView.ViewHolder viewHolder, int i) { + this.mController.onBindViewHolder(viewHolder, i); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + @NonNull + public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) { + return this.mController.onCreateViewHolder(viewGroup, i); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public void onDetachedFromRecyclerView(@NonNull RecyclerView recyclerView) { + this.mController.onDetachedFromRecyclerView(recyclerView); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public boolean onFailedToRecycleView(@NonNull RecyclerView.ViewHolder viewHolder) { + return this.mController.onFailedToRecycleView(viewHolder); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public void onViewAttachedToWindow(@NonNull RecyclerView.ViewHolder viewHolder) { + this.mController.onViewAttachedToWindow(viewHolder); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public void onViewDetachedFromWindow(@NonNull RecyclerView.ViewHolder viewHolder) { + this.mController.onViewDetachedFromWindow(viewHolder); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public void onViewRecycled(@NonNull RecyclerView.ViewHolder viewHolder) { + this.mController.onViewRecycled(viewHolder); + } + + public boolean removeAdapter(@NonNull RecyclerView.Adapter adapter) { + return this.mController.removeAdapter(adapter); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public void setHasStableIds(boolean z2) { + throw new UnsupportedOperationException("Calling setHasStableIds is not allowed on the ConcatAdapter. Use the Config object passed in the constructor to control this behavior"); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public void setStateRestorationPolicy(@NonNull RecyclerView.Adapter.StateRestorationPolicy stateRestorationPolicy) { + throw new UnsupportedOperationException("Calling setStateRestorationPolicy is not allowed on the ConcatAdapter. This value is inferred from added adapters"); + } +} diff --git a/app/src/main/java/androidx/recyclerview/widget/ConcatAdapterController.java b/app/src/main/java/androidx/recyclerview/widget/ConcatAdapterController.java new file mode 100644 index 0000000000..dbabdfe0e5 --- /dev/null +++ b/app/src/main/java/androidx/recyclerview/widget/ConcatAdapterController.java @@ -0,0 +1,391 @@ +package androidx.recyclerview.widget; + +import android.util.Log; +import android.view.ViewGroup; +import androidx.annotation.NonNull; +import androidx.annotation.Nullable; +import androidx.core.util.Preconditions; +import androidx.recyclerview.widget.ConcatAdapter; +import androidx.recyclerview.widget.NestedAdapterWrapper; +import androidx.recyclerview.widget.RecyclerView; +import androidx.recyclerview.widget.StableIdStorage; +import androidx.recyclerview.widget.ViewTypeStorage; +import c.d.b.a.a; +import java.lang.ref.WeakReference; +import java.util.ArrayList; +import java.util.Collections; +import java.util.IdentityHashMap; +import java.util.Iterator; +import java.util.List; +public class ConcatAdapterController implements NestedAdapterWrapper.Callback { + private List> mAttachedRecyclerViews = new ArrayList(); + private final IdentityHashMap mBinderLookup = new IdentityHashMap<>(); + private final ConcatAdapter mConcatAdapter; + private WrapperAndLocalPosition mReusableHolder = new WrapperAndLocalPosition(); + @NonNull + private final ConcatAdapter.Config.StableIdMode mStableIdMode; + private final StableIdStorage mStableIdStorage; + private final ViewTypeStorage mViewTypeStorage; + private List mWrappers = new ArrayList(); + + public static class WrapperAndLocalPosition { + public boolean mInUse; + public int mLocalPosition; + public NestedAdapterWrapper mWrapper; + } + + public ConcatAdapterController(ConcatAdapter concatAdapter, ConcatAdapter.Config config) { + this.mConcatAdapter = concatAdapter; + if (config.isolateViewTypes) { + this.mViewTypeStorage = new ViewTypeStorage.IsolatedViewTypeStorage(); + } else { + this.mViewTypeStorage = new ViewTypeStorage.SharedIdRangeViewTypeStorage(); + } + ConcatAdapter.Config.StableIdMode stableIdMode = config.stableIdMode; + this.mStableIdMode = stableIdMode; + if (stableIdMode == ConcatAdapter.Config.StableIdMode.NO_STABLE_IDS) { + this.mStableIdStorage = new StableIdStorage.NoStableIdStorage(); + } else if (stableIdMode == ConcatAdapter.Config.StableIdMode.ISOLATED_STABLE_IDS) { + this.mStableIdStorage = new StableIdStorage.IsolatedStableIdStorage(); + } else if (stableIdMode == ConcatAdapter.Config.StableIdMode.SHARED_STABLE_IDS) { + this.mStableIdStorage = new StableIdStorage.SharedPoolStableIdStorage(); + } else { + throw new IllegalArgumentException("unknown stable id mode"); + } + } + + private void calculateAndUpdateStateRestorationPolicy() { + RecyclerView.Adapter.StateRestorationPolicy computeStateRestorationPolicy = computeStateRestorationPolicy(); + if (computeStateRestorationPolicy != this.mConcatAdapter.getStateRestorationPolicy()) { + this.mConcatAdapter.internalSetStateRestorationPolicy(computeStateRestorationPolicy); + } + } + + private RecyclerView.Adapter.StateRestorationPolicy computeStateRestorationPolicy() { + for (NestedAdapterWrapper nestedAdapterWrapper : this.mWrappers) { + RecyclerView.Adapter.StateRestorationPolicy stateRestorationPolicy = nestedAdapterWrapper.adapter.getStateRestorationPolicy(); + RecyclerView.Adapter.StateRestorationPolicy stateRestorationPolicy2 = RecyclerView.Adapter.StateRestorationPolicy.PREVENT; + if (stateRestorationPolicy == stateRestorationPolicy2) { + return stateRestorationPolicy2; + } + if (stateRestorationPolicy == RecyclerView.Adapter.StateRestorationPolicy.PREVENT_WHEN_EMPTY && nestedAdapterWrapper.getCachedItemCount() == 0) { + return stateRestorationPolicy2; + } + } + return RecyclerView.Adapter.StateRestorationPolicy.ALLOW; + } + + private int countItemsBefore(NestedAdapterWrapper nestedAdapterWrapper) { + NestedAdapterWrapper next; + Iterator it = this.mWrappers.iterator(); + int i = 0; + while (it.hasNext() && (next = it.next()) != nestedAdapterWrapper) { + i += next.getCachedItemCount(); + } + return i; + } + + @NonNull + private WrapperAndLocalPosition findWrapperAndLocalPosition(int i) { + WrapperAndLocalPosition wrapperAndLocalPosition = this.mReusableHolder; + if (wrapperAndLocalPosition.mInUse) { + wrapperAndLocalPosition = new WrapperAndLocalPosition(); + } else { + wrapperAndLocalPosition.mInUse = true; + } + Iterator it = this.mWrappers.iterator(); + int i2 = i; + while (true) { + if (!it.hasNext()) { + break; + } + NestedAdapterWrapper next = it.next(); + if (next.getCachedItemCount() > i2) { + wrapperAndLocalPosition.mWrapper = next; + wrapperAndLocalPosition.mLocalPosition = i2; + break; + } + i2 -= next.getCachedItemCount(); + } + if (wrapperAndLocalPosition.mWrapper != null) { + return wrapperAndLocalPosition; + } + throw new IllegalArgumentException(a.p("Cannot find wrapper for ", i)); + } + + @Nullable + private NestedAdapterWrapper findWrapperFor(RecyclerView.Adapter adapter) { + int indexOfWrapper = indexOfWrapper(adapter); + if (indexOfWrapper == -1) { + return null; + } + return this.mWrappers.get(indexOfWrapper); + } + + @NonNull + private NestedAdapterWrapper getWrapper(RecyclerView.ViewHolder viewHolder) { + NestedAdapterWrapper nestedAdapterWrapper = this.mBinderLookup.get(viewHolder); + if (nestedAdapterWrapper != null) { + return nestedAdapterWrapper; + } + throw new IllegalStateException("Cannot find wrapper for " + viewHolder + ", seems like it is not bound by this adapter: " + this); + } + + private int indexOfWrapper(RecyclerView.Adapter adapter) { + int size = this.mWrappers.size(); + for (int i = 0; i < size; i++) { + if (this.mWrappers.get(i).adapter == adapter) { + return i; + } + } + return -1; + } + + private boolean isAttachedTo(RecyclerView recyclerView) { + for (WeakReference weakReference : this.mAttachedRecyclerViews) { + if (weakReference.get() == recyclerView) { + return true; + } + } + return false; + } + + private void releaseWrapperAndLocalPosition(WrapperAndLocalPosition wrapperAndLocalPosition) { + wrapperAndLocalPosition.mInUse = false; + wrapperAndLocalPosition.mWrapper = null; + wrapperAndLocalPosition.mLocalPosition = -1; + this.mReusableHolder = wrapperAndLocalPosition; + } + + public boolean addAdapter(int i, RecyclerView.Adapter adapter) { + if (i < 0 || i > this.mWrappers.size()) { + StringBuilder R = a.R("Index must be between 0 and "); + R.append(this.mWrappers.size()); + R.append(". Given:"); + R.append(i); + throw new IndexOutOfBoundsException(R.toString()); + } + if (hasStableIds()) { + Preconditions.checkArgument(adapter.hasStableIds(), "All sub adapters must have stable ids when stable id mode is ISOLATED_STABLE_IDS or SHARED_STABLE_IDS"); + } else if (adapter.hasStableIds()) { + Log.w(ConcatAdapter.TAG, "Stable ids in the adapter will be ignored as the ConcatAdapter is configured not to have stable ids"); + } + if (findWrapperFor(adapter) != null) { + return false; + } + NestedAdapterWrapper nestedAdapterWrapper = new NestedAdapterWrapper(adapter, this, this.mViewTypeStorage, this.mStableIdStorage.createStableIdLookup()); + this.mWrappers.add(i, nestedAdapterWrapper); + for (WeakReference weakReference : this.mAttachedRecyclerViews) { + RecyclerView recyclerView = weakReference.get(); + if (recyclerView != null) { + adapter.onAttachedToRecyclerView(recyclerView); + } + } + if (nestedAdapterWrapper.getCachedItemCount() > 0) { + this.mConcatAdapter.notifyItemRangeInserted(countItemsBefore(nestedAdapterWrapper), nestedAdapterWrapper.getCachedItemCount()); + } + calculateAndUpdateStateRestorationPolicy(); + return true; + } + + public boolean addAdapter(RecyclerView.Adapter adapter) { + return addAdapter(this.mWrappers.size(), adapter); + } + + public boolean canRestoreState() { + for (NestedAdapterWrapper nestedAdapterWrapper : this.mWrappers) { + if (!nestedAdapterWrapper.adapter.canRestoreState()) { + return false; + } + } + return true; + } + + @Nullable + public RecyclerView.Adapter getBoundAdapter(RecyclerView.ViewHolder viewHolder) { + NestedAdapterWrapper nestedAdapterWrapper = this.mBinderLookup.get(viewHolder); + if (nestedAdapterWrapper == null) { + return null; + } + return nestedAdapterWrapper.adapter; + } + + public List> getCopyOfAdapters() { + if (this.mWrappers.isEmpty()) { + return Collections.emptyList(); + } + ArrayList arrayList = new ArrayList(this.mWrappers.size()); + for (NestedAdapterWrapper nestedAdapterWrapper : this.mWrappers) { + arrayList.add(nestedAdapterWrapper.adapter); + } + return arrayList; + } + + public long getItemId(int i) { + WrapperAndLocalPosition findWrapperAndLocalPosition = findWrapperAndLocalPosition(i); + long itemId = findWrapperAndLocalPosition.mWrapper.getItemId(findWrapperAndLocalPosition.mLocalPosition); + releaseWrapperAndLocalPosition(findWrapperAndLocalPosition); + return itemId; + } + + public int getItemViewType(int i) { + WrapperAndLocalPosition findWrapperAndLocalPosition = findWrapperAndLocalPosition(i); + int itemViewType = findWrapperAndLocalPosition.mWrapper.getItemViewType(findWrapperAndLocalPosition.mLocalPosition); + releaseWrapperAndLocalPosition(findWrapperAndLocalPosition); + return itemViewType; + } + + public int getLocalAdapterPosition(RecyclerView.Adapter adapter, RecyclerView.ViewHolder viewHolder, int i) { + NestedAdapterWrapper nestedAdapterWrapper = this.mBinderLookup.get(viewHolder); + if (nestedAdapterWrapper == null) { + return -1; + } + int countItemsBefore = i - countItemsBefore(nestedAdapterWrapper); + int itemCount = nestedAdapterWrapper.adapter.getItemCount(); + if (countItemsBefore >= 0 && countItemsBefore < itemCount) { + return nestedAdapterWrapper.adapter.findRelativeAdapterPositionIn(adapter, viewHolder, countItemsBefore); + } + StringBuilder U = a.U("Detected inconsistent adapter updates. The local position of the view holder maps to ", countItemsBefore, " which is out of bounds for the adapter with size ", itemCount, ".Make sure to immediately call notify methods in your adapter when you change the backing dataviewHolder:"); + U.append(viewHolder); + U.append("adapter:"); + U.append(adapter); + throw new IllegalStateException(U.toString()); + } + + public int getTotalCount() { + int i = 0; + for (NestedAdapterWrapper nestedAdapterWrapper : this.mWrappers) { + i += nestedAdapterWrapper.getCachedItemCount(); + } + return i; + } + + public boolean hasStableIds() { + return this.mStableIdMode != ConcatAdapter.Config.StableIdMode.NO_STABLE_IDS; + } + + public void onAttachedToRecyclerView(RecyclerView recyclerView) { + if (!isAttachedTo(recyclerView)) { + this.mAttachedRecyclerViews.add(new WeakReference<>(recyclerView)); + for (NestedAdapterWrapper nestedAdapterWrapper : this.mWrappers) { + nestedAdapterWrapper.adapter.onAttachedToRecyclerView(recyclerView); + } + } + } + + public void onBindViewHolder(RecyclerView.ViewHolder viewHolder, int i) { + WrapperAndLocalPosition findWrapperAndLocalPosition = findWrapperAndLocalPosition(i); + this.mBinderLookup.put(viewHolder, findWrapperAndLocalPosition.mWrapper); + findWrapperAndLocalPosition.mWrapper.onBindViewHolder(viewHolder, findWrapperAndLocalPosition.mLocalPosition); + releaseWrapperAndLocalPosition(findWrapperAndLocalPosition); + } + + @Override // androidx.recyclerview.widget.NestedAdapterWrapper.Callback + public void onChanged(@NonNull NestedAdapterWrapper nestedAdapterWrapper) { + this.mConcatAdapter.notifyDataSetChanged(); + calculateAndUpdateStateRestorationPolicy(); + } + + public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup viewGroup, int i) { + return this.mViewTypeStorage.getWrapperForGlobalType(i).onCreateViewHolder(viewGroup, i); + } + + public void onDetachedFromRecyclerView(RecyclerView recyclerView) { + int size = this.mAttachedRecyclerViews.size() - 1; + while (true) { + if (size < 0) { + break; + } + WeakReference weakReference = this.mAttachedRecyclerViews.get(size); + if (weakReference.get() == null) { + this.mAttachedRecyclerViews.remove(size); + } else if (weakReference.get() == recyclerView) { + this.mAttachedRecyclerViews.remove(size); + break; + } + size--; + } + for (NestedAdapterWrapper nestedAdapterWrapper : this.mWrappers) { + nestedAdapterWrapper.adapter.onDetachedFromRecyclerView(recyclerView); + } + } + + public boolean onFailedToRecycleView(RecyclerView.ViewHolder viewHolder) { + NestedAdapterWrapper nestedAdapterWrapper = this.mBinderLookup.get(viewHolder); + if (nestedAdapterWrapper != null) { + boolean onFailedToRecycleView = nestedAdapterWrapper.adapter.onFailedToRecycleView(viewHolder); + this.mBinderLookup.remove(viewHolder); + return onFailedToRecycleView; + } + throw new IllegalStateException("Cannot find wrapper for " + viewHolder + ", seems like it is not bound by this adapter: " + this); + } + + @Override // androidx.recyclerview.widget.NestedAdapterWrapper.Callback + public void onItemRangeChanged(@NonNull NestedAdapterWrapper nestedAdapterWrapper, int i, int i2) { + this.mConcatAdapter.notifyItemRangeChanged(i + countItemsBefore(nestedAdapterWrapper), i2); + } + + @Override // androidx.recyclerview.widget.NestedAdapterWrapper.Callback + public void onItemRangeChanged(@NonNull NestedAdapterWrapper nestedAdapterWrapper, int i, int i2, @Nullable Object obj) { + this.mConcatAdapter.notifyItemRangeChanged(i + countItemsBefore(nestedAdapterWrapper), i2, obj); + } + + @Override // androidx.recyclerview.widget.NestedAdapterWrapper.Callback + public void onItemRangeInserted(@NonNull NestedAdapterWrapper nestedAdapterWrapper, int i, int i2) { + this.mConcatAdapter.notifyItemRangeInserted(i + countItemsBefore(nestedAdapterWrapper), i2); + } + + @Override // androidx.recyclerview.widget.NestedAdapterWrapper.Callback + public void onItemRangeMoved(@NonNull NestedAdapterWrapper nestedAdapterWrapper, int i, int i2) { + int countItemsBefore = countItemsBefore(nestedAdapterWrapper); + this.mConcatAdapter.notifyItemMoved(i + countItemsBefore, i2 + countItemsBefore); + } + + @Override // androidx.recyclerview.widget.NestedAdapterWrapper.Callback + public void onItemRangeRemoved(@NonNull NestedAdapterWrapper nestedAdapterWrapper, int i, int i2) { + this.mConcatAdapter.notifyItemRangeRemoved(i + countItemsBefore(nestedAdapterWrapper), i2); + } + + @Override // androidx.recyclerview.widget.NestedAdapterWrapper.Callback + public void onStateRestorationPolicyChanged(NestedAdapterWrapper nestedAdapterWrapper) { + calculateAndUpdateStateRestorationPolicy(); + } + + public void onViewAttachedToWindow(RecyclerView.ViewHolder viewHolder) { + getWrapper(viewHolder).adapter.onViewAttachedToWindow(viewHolder); + } + + public void onViewDetachedFromWindow(RecyclerView.ViewHolder viewHolder) { + getWrapper(viewHolder).adapter.onViewDetachedFromWindow(viewHolder); + } + + public void onViewRecycled(RecyclerView.ViewHolder viewHolder) { + NestedAdapterWrapper nestedAdapterWrapper = this.mBinderLookup.get(viewHolder); + if (nestedAdapterWrapper != null) { + nestedAdapterWrapper.adapter.onViewRecycled(viewHolder); + this.mBinderLookup.remove(viewHolder); + return; + } + throw new IllegalStateException("Cannot find wrapper for " + viewHolder + ", seems like it is not bound by this adapter: " + this); + } + + public boolean removeAdapter(RecyclerView.Adapter adapter) { + int indexOfWrapper = indexOfWrapper(adapter); + if (indexOfWrapper == -1) { + return false; + } + NestedAdapterWrapper nestedAdapterWrapper = this.mWrappers.get(indexOfWrapper); + int countItemsBefore = countItemsBefore(nestedAdapterWrapper); + this.mWrappers.remove(indexOfWrapper); + this.mConcatAdapter.notifyItemRangeRemoved(countItemsBefore, nestedAdapterWrapper.getCachedItemCount()); + for (WeakReference weakReference : this.mAttachedRecyclerViews) { + RecyclerView recyclerView = weakReference.get(); + if (recyclerView != null) { + adapter.onDetachedFromRecyclerView(recyclerView); + } + } + nestedAdapterWrapper.dispose(); + calculateAndUpdateStateRestorationPolicy(); + return true; + } +} diff --git a/app/src/main/java/androidx/recyclerview/widget/DefaultItemAnimator.java b/app/src/main/java/androidx/recyclerview/widget/DefaultItemAnimator.java index 22ad563cc9..722260217d 100644 --- a/app/src/main/java/androidx/recyclerview/widget/DefaultItemAnimator.java +++ b/app/src/main/java/androidx/recyclerview/widget/DefaultItemAnimator.java @@ -264,18 +264,18 @@ public class DefaultItemAnimator extends SimpleItemAnimator { } public String toString() { - StringBuilder O = a.O("ChangeInfo{oldHolder="); - O.append(this.oldHolder); - O.append(", newHolder="); - O.append(this.newHolder); - O.append(", fromX="); - O.append(this.fromX); - O.append(", fromY="); - O.append(this.fromY); - O.append(", toX="); - O.append(this.toX); - O.append(", toY="); - return a.y(O, this.toY, '}'); + StringBuilder R = a.R("ChangeInfo{oldHolder="); + R.append(this.oldHolder); + R.append(", newHolder="); + R.append(this.newHolder); + R.append(", fromX="); + R.append(this.fromX); + R.append(", fromY="); + R.append(this.fromY); + R.append(", toX="); + R.append(this.toX); + R.append(", toY="); + return a.z(R, this.toY, '}'); } } diff --git a/app/src/main/java/androidx/recyclerview/widget/DiffUtil.java b/app/src/main/java/androidx/recyclerview/widget/DiffUtil.java index a7a81ceb5e..a36a3fe6f8 100644 --- a/app/src/main/java/androidx/recyclerview/widget/DiffUtil.java +++ b/app/src/main/java/androidx/recyclerview/widget/DiffUtil.java @@ -3,22 +3,23 @@ package androidx.recyclerview.widget; import androidx.annotation.IntRange; import androidx.annotation.NonNull; import androidx.annotation.Nullable; -import androidx.annotation.VisibleForTesting; import androidx.recyclerview.widget.RecyclerView; import c.d.b.a.a; +import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; +import java.util.Collection; import java.util.Collections; import java.util.Comparator; +import java.util.Iterator; import java.util.List; public class DiffUtil { - private static final Comparator SNAKE_COMPARATOR = new AnonymousClass1(); + private static final Comparator DIAGONAL_COMPARATOR = new AnonymousClass1(); /* renamed from: androidx.recyclerview.widget.DiffUtil$1 reason: invalid class name */ - public static class AnonymousClass1 implements Comparator { - public int compare(Snake snake, Snake snake2) { - int i = snake.f30x - snake2.f30x; - return i == 0 ? snake.f31y - snake2.f31y : i; + public class AnonymousClass1 implements Comparator { + public int compare(Diagonal diagonal, Diagonal diagonal2) { + return diagonal.f29x - diagonal2.f29x; } } @@ -37,25 +38,76 @@ public class DiffUtil { public abstract int getOldListSize(); } + public static class CenteredArray { + private final int[] mData; + private final int mMid; + + public CenteredArray(int i) { + int[] iArr = new int[i]; + this.mData = iArr; + this.mMid = iArr.length / 2; + } + + public int[] backingData() { + return this.mData; + } + + public void fill(int i) { + Arrays.fill(this.mData, i); + } + + public int get(int i) { + return this.mData[i + this.mMid]; + } + + public void set(int i, int i2) { + this.mData[i + this.mMid] = i2; + } + } + + public static class Diagonal { + public final int size; + + /* renamed from: x reason: collision with root package name */ + public final int f29x; + + /* renamed from: y reason: collision with root package name */ + public final int f30y; + + public Diagonal(int i, int i2, int i3) { + this.f29x = i; + this.f30y = i2; + this.size = i3; + } + + public int endX() { + return this.f29x + this.size; + } + + public int endY() { + return this.f30y + this.size; + } + } + public static class DiffResult { private static final int FLAG_CHANGED = 2; - private static final int FLAG_IGNORE = 16; - private static final int FLAG_MASK = 31; + private static final int FLAG_MASK = 15; + private static final int FLAG_MOVED = 12; private static final int FLAG_MOVED_CHANGED = 4; private static final int FLAG_MOVED_NOT_CHANGED = 8; private static final int FLAG_NOT_CHANGED = 1; - private static final int FLAG_OFFSET = 5; + private static final int FLAG_OFFSET = 4; public static final int NO_POSITION = -1; private final Callback mCallback; private final boolean mDetectMoves; + private final List mDiagonals; private final int[] mNewItemStatuses; private final int mNewListSize; private final int[] mOldItemStatuses; private final int mOldListSize; - private final List mSnakes; - public DiffResult(Callback callback, List list, int[] iArr, int[] iArr2, boolean z2) { - this.mSnakes = list; + public DiffResult(Callback callback, List list, int[] iArr, int[] iArr2, boolean z2) { + this.mDiagonals = list; this.mOldItemStatuses = iArr; this.mNewItemStatuses = iArr2; Arrays.fill(iArr, 0); @@ -64,246 +116,181 @@ public class DiffUtil { this.mOldListSize = callback.getOldListSize(); this.mNewListSize = callback.getNewListSize(); this.mDetectMoves = z2; - addRootSnake(); + addEdgeDiagonals(); findMatchingItems(); } - private void addRootSnake() { - Snake snake = this.mSnakes.isEmpty() ? null : this.mSnakes.get(0); - if (snake == null || snake.f30x != 0 || snake.f31y != 0) { - Snake snake2 = new Snake(); - snake2.f30x = 0; - snake2.f31y = 0; - snake2.removal = false; - snake2.size = 0; - snake2.reverse = false; - this.mSnakes.add(0, snake2); + private void addEdgeDiagonals() { + Diagonal diagonal = this.mDiagonals.isEmpty() ? null : this.mDiagonals.get(0); + if (!(diagonal != null && diagonal.f29x == 0 && diagonal.f30y == 0)) { + this.mDiagonals.add(0, new Diagonal(0, 0, 0)); } + this.mDiagonals.add(new Diagonal(this.mOldListSize, this.mNewListSize, 0)); } - private void dispatchAdditions(List list, ListUpdateCallback listUpdateCallback, int i, int i2, int i3) { - if (!this.mDetectMoves) { - listUpdateCallback.onInserted(i, i2); - return; - } - for (int i4 = i2 - 1; i4 >= 0; i4--) { - int[] iArr = this.mNewItemStatuses; - int i5 = i3 + i4; - int i6 = iArr[i5] & 31; - if (i6 == 0) { - listUpdateCallback.onInserted(i, 1); - for (PostponedUpdate postponedUpdate : list) { - postponedUpdate.currentPos++; + private void findMatchingAddition(int i) { + int size = this.mDiagonals.size(); + int i2 = 0; + for (int i3 = 0; i3 < size; i3++) { + Diagonal diagonal = this.mDiagonals.get(i3); + while (i2 < diagonal.f30y) { + if (this.mNewItemStatuses[i2] != 0 || !this.mCallback.areItemsTheSame(i, i2)) { + i2++; + } else { + int i4 = this.mCallback.areContentsTheSame(i, i2) ? 8 : 4; + this.mOldItemStatuses[i] = (i2 << 4) | i4; + this.mNewItemStatuses[i2] = (i << 4) | i4; + return; } - } else if (i6 == 4 || i6 == 8) { - int i7 = iArr[i5] >> 5; - listUpdateCallback.onMoved(removePostponedUpdate(list, i7, true).currentPos, i); - if (i6 == 4) { - listUpdateCallback.onChanged(i, 1, this.mCallback.getChangePayload(i7, i5)); - } - } else if (i6 == 16) { - list.add(new PostponedUpdate(i5, i, false)); - } else { - StringBuilder P = a.P("unknown flag for pos ", i5, " "); - P.append(Long.toBinaryString((long) i6)); - throw new IllegalStateException(P.toString()); } + i2 = diagonal.endY(); } } - private void dispatchRemovals(List list, ListUpdateCallback listUpdateCallback, int i, int i2, int i3) { - if (!this.mDetectMoves) { - listUpdateCallback.onRemoved(i, i2); - return; - } - for (int i4 = i2 - 1; i4 >= 0; i4--) { - int[] iArr = this.mOldItemStatuses; - int i5 = i3 + i4; - int i6 = iArr[i5] & 31; - if (i6 == 0) { - listUpdateCallback.onRemoved(i + i4, 1); - for (PostponedUpdate postponedUpdate : list) { - postponedUpdate.currentPos--; - } - } else if (i6 == 4 || i6 == 8) { - int i7 = iArr[i5] >> 5; - PostponedUpdate removePostponedUpdate = removePostponedUpdate(list, i7, false); - listUpdateCallback.onMoved(i + i4, removePostponedUpdate.currentPos - 1); - if (i6 == 4) { - listUpdateCallback.onChanged(removePostponedUpdate.currentPos - 1, 1, this.mCallback.getChangePayload(i5, i7)); - } - } else if (i6 == 16) { - list.add(new PostponedUpdate(i5, i + i4, true)); - } else { - StringBuilder P = a.P("unknown flag for pos ", i5, " "); - P.append(Long.toBinaryString((long) i6)); - throw new IllegalStateException(P.toString()); - } - } - } - - private void findAddition(int i, int i2, int i3) { - if (this.mOldItemStatuses[i - 1] == 0) { - findMatchingItem(i, i2, i3, false); - } - } - - private boolean findMatchingItem(int i, int i2, int i3, boolean z2) { - int i4; - int i5; - if (z2) { - i2--; - i4 = i; - i5 = i2; - } else { - i5 = i - 1; - i4 = i5; - } - while (i3 >= 0) { - Snake snake = this.mSnakes.get(i3); - int i6 = snake.f30x; - int i7 = snake.size; - int i8 = i6 + i7; - int i9 = snake.f31y + i7; - int i10 = 8; - if (z2) { - for (int i11 = i4 - 1; i11 >= i8; i11--) { - if (this.mCallback.areItemsTheSame(i11, i5)) { - if (!this.mCallback.areContentsTheSame(i11, i5)) { - i10 = 4; - } - this.mNewItemStatuses[i5] = (i11 << 5) | 16; - this.mOldItemStatuses[i11] = (i5 << 5) | i10; - return true; - } - } - continue; - } else { - for (int i12 = i2 - 1; i12 >= i9; i12--) { - if (this.mCallback.areItemsTheSame(i5, i12)) { - if (!this.mCallback.areContentsTheSame(i5, i12)) { - i10 = 4; - } - int i13 = i - 1; - this.mOldItemStatuses[i13] = (i12 << 5) | 16; - this.mNewItemStatuses[i12] = (i13 << 5) | i10; - return true; - } - } - continue; - } - i4 = snake.f30x; - i2 = snake.f31y; - i3--; - } - return false; - } - private void findMatchingItems() { - int i = this.mOldListSize; - int i2 = this.mNewListSize; - for (int size = this.mSnakes.size() - 1; size >= 0; size--) { - Snake snake = this.mSnakes.get(size); - int i3 = snake.f30x; - int i4 = snake.size; - int i5 = i3 + i4; - int i6 = snake.f31y + i4; - if (this.mDetectMoves) { - while (i > i5) { - findAddition(i, i2, size); - i--; - } - while (i2 > i6) { - findRemoval(i, i2, size); - i2--; - } + for (Diagonal diagonal : this.mDiagonals) { + for (int i = 0; i < diagonal.size; i++) { + int i2 = diagonal.f29x + i; + int i3 = diagonal.f30y + i; + int i4 = this.mCallback.areContentsTheSame(i2, i3) ? 1 : 2; + this.mOldItemStatuses[i2] = (i3 << 4) | i4; + this.mNewItemStatuses[i3] = (i2 << 4) | i4; } - for (int i7 = 0; i7 < snake.size; i7++) { - int i8 = snake.f30x + i7; - int i9 = snake.f31y + i7; - int i10 = this.mCallback.areContentsTheSame(i8, i9) ? 1 : 2; - this.mOldItemStatuses[i8] = (i9 << 5) | i10; - this.mNewItemStatuses[i9] = (i8 << 5) | i10; - } - i = snake.f30x; - i2 = snake.f31y; + } + if (this.mDetectMoves) { + findMoveMatches(); } } - private void findRemoval(int i, int i2, int i3) { - if (this.mNewItemStatuses[i2 - 1] == 0) { - findMatchingItem(i, i2, i3, true); + private void findMoveMatches() { + int i = 0; + for (Diagonal diagonal : this.mDiagonals) { + while (i < diagonal.f29x) { + if (this.mOldItemStatuses[i] == 0) { + findMatchingAddition(i); + } + i++; + } + i = diagonal.endX(); } } - private static PostponedUpdate removePostponedUpdate(List list, int i, boolean z2) { - int size = list.size() - 1; - while (size >= 0) { - PostponedUpdate postponedUpdate = list.get(size); + @Nullable + private static PostponedUpdate getPostponedUpdate(Collection collection, int i, boolean z2) { + PostponedUpdate postponedUpdate; + Iterator it = collection.iterator(); + while (true) { + if (!it.hasNext()) { + postponedUpdate = null; + break; + } + postponedUpdate = it.next(); if (postponedUpdate.posInOwnerList == i && postponedUpdate.removal == z2) { - list.remove(size); - while (size < list.size()) { - list.get(size).currentPos += z2 ? 1 : -1; - size++; - } - return postponedUpdate; + it.remove(); + break; } - size--; } - return null; + while (it.hasNext()) { + PostponedUpdate next = it.next(); + if (z2) { + next.currentPos--; + } else { + next.currentPos++; + } + } + return postponedUpdate; } public int convertNewPositionToOld(@IntRange(from = 0) int i) { if (i < 0 || i >= this.mNewListSize) { - StringBuilder P = a.P("Index out of bounds - passed position = ", i, ", new list size = "); - P.append(this.mNewListSize); - throw new IndexOutOfBoundsException(P.toString()); + StringBuilder S = a.S("Index out of bounds - passed position = ", i, ", new list size = "); + S.append(this.mNewListSize); + throw new IndexOutOfBoundsException(S.toString()); } int i2 = this.mNewItemStatuses[i]; - if ((i2 & 31) == 0) { + if ((i2 & 15) == 0) { return -1; } - return i2 >> 5; + return i2 >> 4; } public int convertOldPositionToNew(@IntRange(from = 0) int i) { if (i < 0 || i >= this.mOldListSize) { - StringBuilder P = a.P("Index out of bounds - passed position = ", i, ", old list size = "); - P.append(this.mOldListSize); - throw new IndexOutOfBoundsException(P.toString()); + StringBuilder S = a.S("Index out of bounds - passed position = ", i, ", old list size = "); + S.append(this.mOldListSize); + throw new IndexOutOfBoundsException(S.toString()); } int i2 = this.mOldItemStatuses[i]; - if ((i2 & 31) == 0) { + if ((i2 & 15) == 0) { return -1; } - return i2 >> 5; + return i2 >> 4; } public void dispatchUpdatesTo(@NonNull ListUpdateCallback listUpdateCallback) { + int i; BatchingListUpdateCallback batchingListUpdateCallback = listUpdateCallback instanceof BatchingListUpdateCallback ? (BatchingListUpdateCallback) listUpdateCallback : new BatchingListUpdateCallback(listUpdateCallback); - List arrayList = new ArrayList<>(); - int i = this.mOldListSize; - int i2 = this.mNewListSize; - for (int size = this.mSnakes.size() - 1; size >= 0; size--) { - Snake snake = this.mSnakes.get(size); - int i3 = snake.size; - int i4 = snake.f30x + i3; - int i5 = snake.f31y + i3; - if (i4 < i) { - dispatchRemovals(arrayList, batchingListUpdateCallback, i4, i - i4, i4); - } - if (i5 < i2) { - dispatchAdditions(arrayList, batchingListUpdateCallback, i4, i2 - i5, i5); - } - for (int i6 = i3 - 1; i6 >= 0; i6--) { - int[] iArr = this.mOldItemStatuses; - int i7 = snake.f30x; - if ((iArr[i7 + i6] & 31) == 2) { - batchingListUpdateCallback.onChanged(i7 + i6, 1, this.mCallback.getChangePayload(i7 + i6, snake.f31y + i6)); + int i2 = this.mOldListSize; + ArrayDeque arrayDeque = new ArrayDeque(); + int i3 = this.mOldListSize; + int i4 = this.mNewListSize; + for (int size = this.mDiagonals.size() - 1; size >= 0; size--) { + Diagonal diagonal = this.mDiagonals.get(size); + int endX = diagonal.endX(); + int endY = diagonal.endY(); + while (true) { + if (i3 <= endX) { + break; + } + i3--; + int i5 = this.mOldItemStatuses[i3]; + if ((i5 & 12) != 0) { + int i6 = i5 >> 4; + PostponedUpdate postponedUpdate = getPostponedUpdate(arrayDeque, i6, false); + if (postponedUpdate != null) { + int i7 = (i2 - postponedUpdate.currentPos) - 1; + batchingListUpdateCallback.onMoved(i3, i7); + if ((i5 & 4) != 0) { + batchingListUpdateCallback.onChanged(i7, 1, this.mCallback.getChangePayload(i3, i6)); + } + } else { + arrayDeque.add(new PostponedUpdate(i3, (i2 - i3) - 1, true)); + } + } else { + batchingListUpdateCallback.onRemoved(i3, 1); + i2--; } } - i = snake.f30x; - i2 = snake.f31y; + while (i4 > endY) { + i4--; + int i8 = this.mNewItemStatuses[i4]; + if ((i8 & 12) != 0) { + int i9 = i8 >> 4; + PostponedUpdate postponedUpdate2 = getPostponedUpdate(arrayDeque, i9, true); + if (postponedUpdate2 == null) { + arrayDeque.add(new PostponedUpdate(i4, i2 - i3, false)); + } else { + batchingListUpdateCallback.onMoved((i2 - postponedUpdate2.currentPos) - 1, i3); + if ((i8 & 4) != 0) { + batchingListUpdateCallback.onChanged(i3, 1, this.mCallback.getChangePayload(i9, i4)); + } + } + } else { + batchingListUpdateCallback.onInserted(i3, 1); + i2++; + } + } + int i10 = diagonal.f29x; + int i11 = diagonal.f30y; + for (i = 0; i < diagonal.size; i++) { + if ((this.mOldItemStatuses[i10] & 15) == 2) { + batchingListUpdateCallback.onChanged(i10, 1, this.mCallback.getChangePayload(i10, i11)); + } + i10++; + i11++; + } + i3 = diagonal.f29x; + i4 = diagonal.f30y; } batchingListUpdateCallback.dispatchLastEvent(); } @@ -311,11 +298,6 @@ public class DiffUtil { public void dispatchUpdatesTo(@NonNull RecyclerView.Adapter adapter) { dispatchUpdatesTo(new AdapterListUpdateCallback(adapter)); } - - @VisibleForTesting - public List getSnakes() { - return this.mSnakes; - } } public static abstract class ItemCallback { @@ -356,23 +338,84 @@ public class DiffUtil { this.newListStart = i3; this.newListEnd = i4; } + + public int newSize() { + return this.newListEnd - this.newListStart; + } + + public int oldSize() { + return this.oldListEnd - this.oldListStart; + } } public static class Snake { - public boolean removal; + public int endX; + public int endY; public boolean reverse; - public int size; + public int startX; + public int startY; - /* renamed from: x reason: collision with root package name */ - public int f30x; + public int diagonalSize() { + return Math.min(this.endX - this.startX, this.endY - this.startY); + } - /* renamed from: y reason: collision with root package name */ - public int f31y; + public boolean hasAdditionOrRemoval() { + return this.endY - this.startY != this.endX - this.startX; + } + + public boolean isAddition() { + return this.endY - this.startY > this.endX - this.startX; + } + + @NonNull + public Diagonal toDiagonal() { + if (hasAdditionOrRemoval()) { + return this.reverse ? new Diagonal(this.startX, this.startY, diagonalSize()) : isAddition() ? new Diagonal(this.startX, this.startY + 1, diagonalSize()) : new Diagonal(this.startX + 1, this.startY, diagonalSize()); + } + int i = this.startX; + return new Diagonal(i, this.startY, this.endX - i); + } } private DiffUtil() { } + @Nullable + private static Snake backward(Range range, Callback callback, CenteredArray centeredArray, CenteredArray centeredArray2, int i) { + int i2; + int i3; + int i4; + boolean z2 = (range.oldSize() - range.newSize()) % 2 == 0; + int oldSize = range.oldSize() - range.newSize(); + int i5 = -i; + for (int i6 = i5; i6 <= i; i6 += 2) { + if (i6 == i5 || (i6 != i && centeredArray2.get(i6 + 1) < centeredArray2.get(i6 - 1))) { + i3 = centeredArray2.get(i6 + 1); + i2 = i3; + } else { + i3 = centeredArray2.get(i6 - 1); + i2 = i3 - 1; + } + int i7 = range.newListEnd - ((range.oldListEnd - i2) - i6); + int i8 = (i == 0 || i2 != i3) ? i7 : i7 + 1; + while (i2 > range.oldListStart && i7 > range.newListStart && callback.areItemsTheSame(i2 - 1, i7 - 1)) { + i2--; + i7--; + } + centeredArray2.set(i6, i2); + if (z2 && (i4 = oldSize - i6) >= i5 && i4 <= i && centeredArray.get(i4) >= i2) { + Snake snake = new Snake(); + snake.startX = i2; + snake.startY = i7; + snake.endX = i3; + snake.endY = i8; + snake.reverse = true; + return snake; + } + } + return null; + } + @NonNull public static DiffResult calculateDiff(@NonNull Callback callback) { return calculateDiff(callback, true); @@ -385,202 +428,92 @@ public class DiffUtil { ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); arrayList2.add(new Range(0, oldListSize, 0, newListSize)); - int abs = Math.abs(oldListSize - newListSize) + oldListSize + newListSize; - int i = abs * 2; - int[] iArr = new int[i]; - int[] iArr2 = new int[i]; + int i = ((((oldListSize + newListSize) + 1) / 2) * 2) + 1; + CenteredArray centeredArray = new CenteredArray(i); + CenteredArray centeredArray2 = new CenteredArray(i); ArrayList arrayList3 = new ArrayList(); while (!arrayList2.isEmpty()) { Range range = (Range) arrayList2.remove(arrayList2.size() - 1); - Snake diffPartial = diffPartial(callback, range.oldListStart, range.oldListEnd, range.newListStart, range.newListEnd, iArr, iArr2, abs); - if (diffPartial != null) { - if (diffPartial.size > 0) { - arrayList.add(diffPartial); + Snake midPoint = midPoint(range, callback, centeredArray, centeredArray2); + if (midPoint != null) { + if (midPoint.diagonalSize() > 0) { + arrayList.add(midPoint.toDiagonal()); } - diffPartial.f30x += range.oldListStart; - diffPartial.f31y += range.newListStart; Range range2 = arrayList3.isEmpty() ? new Range() : (Range) arrayList3.remove(arrayList3.size() - 1); range2.oldListStart = range.oldListStart; range2.newListStart = range.newListStart; - if (diffPartial.reverse) { - range2.oldListEnd = diffPartial.f30x; - range2.newListEnd = diffPartial.f31y; - } else if (diffPartial.removal) { - range2.oldListEnd = diffPartial.f30x - 1; - range2.newListEnd = diffPartial.f31y; - } else { - range2.oldListEnd = diffPartial.f30x; - range2.newListEnd = diffPartial.f31y - 1; - } + range2.oldListEnd = midPoint.startX; + range2.newListEnd = midPoint.startY; arrayList2.add(range2); - if (!diffPartial.reverse) { - int i2 = diffPartial.f30x; - int i3 = diffPartial.size; - range.oldListStart = i2 + i3; - range.newListStart = diffPartial.f31y + i3; - } else if (diffPartial.removal) { - int i4 = diffPartial.f30x; - int i5 = diffPartial.size; - range.oldListStart = i4 + i5 + 1; - range.newListStart = diffPartial.f31y + i5; - } else { - int i6 = diffPartial.f30x; - int i7 = diffPartial.size; - range.oldListStart = i6 + i7; - range.newListStart = diffPartial.f31y + i7 + 1; - } + range.oldListEnd = range.oldListEnd; + range.newListEnd = range.newListEnd; + range.oldListStart = midPoint.endX; + range.newListStart = midPoint.endY; arrayList2.add(range); } else { arrayList3.add(range); } } - Collections.sort(arrayList, SNAKE_COMPARATOR); - return new DiffResult(callback, arrayList, iArr, iArr2, z2); + Collections.sort(arrayList, DIAGONAL_COMPARATOR); + return new DiffResult(callback, arrayList, centeredArray.backingData(), centeredArray2.backingData(), z2); } - /* JADX WARNING: Code restructure failed: missing block: B:14:0x0042, code lost: - if (r24[r13 - 1] < r24[r13 + r5]) goto L_0x004d; - */ - /* JADX WARNING: Code restructure failed: missing block: B:41:0x00b8, code lost: - if (r25[r12 - 1] < r25[r12 + 1]) goto L_0x00c5; - */ - private static Snake diffPartial(Callback callback, int i, int i2, int i3, int i4, int[] iArr, int[] iArr2, int i5) { - boolean z2; - int i6; - int i7; - int i8; - int i9; - boolean z3; - int i10; - int i11; - int i12 = i2 - i; - int i13 = i4 - i3; - int i14 = 1; - if (i12 < 1 || i13 < 1) { - return null; + @Nullable + private static Snake forward(Range range, Callback callback, CenteredArray centeredArray, CenteredArray centeredArray2, int i) { + int i2; + int i3; + int i4; + boolean z2 = true; + if (Math.abs(range.oldSize() - range.newSize()) % 2 != 1) { + z2 = false; } - int i15 = i12 - i13; - int i16 = ((i12 + i13) + 1) / 2; - int i17 = (i5 - i16) - 1; - int i18 = i5 + i16 + 1; - Arrays.fill(iArr, i17, i18, 0); - Arrays.fill(iArr2, i17 + i15, i18 + i15, i12); - boolean z4 = i15 % 2 != 0; - int i19 = 0; - while (i19 <= i16) { - int i20 = -i19; - int i21 = i20; - while (i21 <= i19) { - if (i21 != i20) { - if (i21 != i19) { - int i22 = i5 + i21; - } - i10 = iArr[(i5 + i21) - i14] + i14; - z3 = true; - i11 = i10 - i21; - while (i10 < i12 && i11 < i13 && callback.areItemsTheSame(i + i10, i3 + i11)) { - i10++; - i11++; - } - int i23 = i5 + i21; - iArr[i23] = i10; - if (z4 || i21 < (i15 - i19) + 1 || i21 > (i15 + i19) - 1 || iArr[i23] < iArr2[i23]) { - i21 += 2; - i14 = 1; - } else { - Snake snake = new Snake(); - int i24 = iArr2[i23]; - snake.f30x = i24; - snake.f31y = i24 - i21; - snake.size = iArr[i23] - iArr2[i23]; - snake.removal = z3; - snake.reverse = false; - return snake; - } - } - i10 = iArr[i5 + i21 + i14]; - z3 = false; - i11 = i10 - i21; - while (i10 < i12) { - i10++; - i11++; - } - int i23 = i5 + i21; - iArr[i23] = i10; - if (z4) { - } - i21 += 2; - i14 = 1; + int oldSize = range.oldSize() - range.newSize(); + int i5 = -i; + for (int i6 = i5; i6 <= i; i6 += 2) { + if (i6 == i5 || (i6 != i && centeredArray.get(i6 + 1) > centeredArray.get(i6 - 1))) { + i3 = centeredArray.get(i6 + 1); + i2 = i3; + } else { + i3 = centeredArray.get(i6 - 1); + i2 = i3 + 1; } - int i25 = i20; - while (i25 <= i19) { - int i26 = i25 + i15; - if (i26 != i19 + i15) { - if (i26 != i20 + i15) { - int i27 = i5 + i26; - i9 = 1; - } else { - i9 = 1; - } - i6 = iArr2[(i5 + i26) + i9] - i9; - z2 = true; - i7 = i6 - i26; - while (true) { - if (i6 > 0 && i7 > 0) { - i8 = i12; - if (!callback.areItemsTheSame((i + i6) - 1, (i3 + i7) - 1)) { - break; - } - i6--; - i7--; - i12 = i8; - } else { - break; - } - } - i8 = i12; - int i28 = i5 + i26; - iArr2[i28] = i6; - if (!z4 || i26 < i20 || i26 > i19 || iArr[i28] < iArr2[i28]) { - i25 += 2; - i12 = i8; - } else { - Snake snake2 = new Snake(); - int i29 = iArr2[i28]; - snake2.f30x = i29; - snake2.f31y = i29 - i26; - snake2.size = iArr[i28] - iArr2[i28]; - snake2.removal = z2; - snake2.reverse = true; - return snake2; - } - } else { - i9 = 1; - } - i6 = iArr2[(i5 + i26) - i9]; - z2 = false; - i7 = i6 - i26; - while (true) { - if (i6 > 0) { - break; - } - break; - i6--; - i7--; - i12 = i8; - } - i8 = i12; - int i28 = i5 + i26; - iArr2[i28] = i6; - if (!z4) { - } - i25 += 2; - i12 = i8; + int i7 = ((i2 - range.oldListStart) + range.newListStart) - i6; + int i8 = (i == 0 || i2 != i3) ? i7 : i7 - 1; + while (i2 < range.oldListEnd && i7 < range.newListEnd && callback.areItemsTheSame(i2, i7)) { + i2++; + i7++; + } + centeredArray.set(i6, i2); + if (z2 && (i4 = oldSize - i6) >= i5 + 1 && i4 <= i - 1 && centeredArray2.get(i4) <= i2) { + Snake snake = new Snake(); + snake.startX = i3; + snake.startY = i8; + snake.endX = i2; + snake.endY = i7; + snake.reverse = false; + return snake; } - i19++; - i12 = i12; - i14 = 1; } - throw new IllegalStateException("DiffUtil hit an unexpected case while trying to calculate the optimal path. Please make sure your data is not changing during the diff calculation."); + return null; + } + + @Nullable + private static Snake midPoint(Range range, Callback callback, CenteredArray centeredArray, CenteredArray centeredArray2) { + if (range.oldSize() >= 1 && range.newSize() >= 1) { + int newSize = ((range.newSize() + range.oldSize()) + 1) / 2; + centeredArray.set(1, range.oldListStart); + centeredArray2.set(1, range.oldListEnd); + for (int i = 0; i < newSize; i++) { + Snake forward = forward(range, callback, centeredArray, centeredArray2, i); + if (forward != null) { + return forward; + } + Snake backward = backward(range, callback, centeredArray, centeredArray2, i); + if (backward != null) { + return backward; + } + } + } + return null; } } diff --git a/app/src/main/java/androidx/recyclerview/widget/FastScroller.java b/app/src/main/java/androidx/recyclerview/widget/FastScroller.java index 07f6e1c6f3..c2cd05edf8 100644 --- a/app/src/main/java/androidx/recyclerview/widget/FastScroller.java +++ b/app/src/main/java/androidx/recyclerview/widget/FastScroller.java @@ -193,7 +193,7 @@ public class FastScroller extends RecyclerView.ItemDecoration implements Recycle canvas.translate((float) this.mVerticalThumbWidth, (float) i6); canvas.scale(-1.0f, 1.0f); this.mVerticalThumbDrawable.draw(canvas); - canvas.scale(1.0f, 1.0f); + canvas.scale(-1.0f, 1.0f); canvas.translate((float) (-this.mVerticalThumbWidth), (float) (-i6)); return; } @@ -339,7 +339,7 @@ public class FastScroller extends RecyclerView.ItemDecoration implements Recycle @VisibleForTesting public boolean isPointInsideVerticalThumb(float f, float f2) { - if (!isLayoutRTL() ? f >= ((float) (this.mRecyclerViewWidth - this.mVerticalThumbWidth)) : f <= ((float) (this.mVerticalThumbWidth / 2))) { + if (!isLayoutRTL() ? f >= ((float) (this.mRecyclerViewWidth - this.mVerticalThumbWidth)) : f <= ((float) this.mVerticalThumbWidth)) { int i = this.mVerticalThumbCenterY; int i2 = this.mVerticalThumbHeight; if (f2 >= ((float) (i - (i2 / 2))) && f2 <= ((float) ((i2 / 2) + i))) { diff --git a/app/src/main/java/androidx/recyclerview/widget/GapWorker.java b/app/src/main/java/androidx/recyclerview/widget/GapWorker.java index d9f26fb8cb..aae2276137 100644 --- a/app/src/main/java/androidx/recyclerview/widget/GapWorker.java +++ b/app/src/main/java/androidx/recyclerview/widget/GapWorker.java @@ -18,7 +18,7 @@ public final class GapWorker implements Runnable { private ArrayList mTasks = new ArrayList<>(); /* renamed from: androidx.recyclerview.widget.GapWorker$1 reason: invalid class name */ - public static class AnonymousClass1 implements Comparator { + public class AnonymousClass1 implements Comparator { public int compare(Task task, Task task2) { RecyclerView recyclerView = task.view; if ((recyclerView == null) != (task2.view == null)) { diff --git a/app/src/main/java/androidx/recyclerview/widget/GridLayoutManager.java b/app/src/main/java/androidx/recyclerview/widget/GridLayoutManager.java index 3b65e14005..f79f152f67 100644 --- a/app/src/main/java/androidx/recyclerview/widget/GridLayoutManager.java +++ b/app/src/main/java/androidx/recyclerview/widget/GridLayoutManager.java @@ -3,6 +3,7 @@ package androidx.recyclerview.widget; import android.content.Context; import android.graphics.Rect; import android.util.AttributeSet; +import android.util.Log; import android.util.SparseIntArray; import android.view.View; import android.view.ViewGroup; @@ -386,7 +387,7 @@ public class GridLayoutManager extends LinearLayoutManager { if (convertPreLayoutPositionToPostLayout != -1) { return this.mSpanSizeLookup.getCachedSpanGroupIndex(convertPreLayoutPositionToPostLayout, this.mSpanCount); } - a.i0("Cannot find span size for pre layout position. ", i, TAG); + Log.w(TAG, "Cannot find span size for pre layout position. " + i); return 0; } @@ -402,7 +403,7 @@ public class GridLayoutManager extends LinearLayoutManager { if (convertPreLayoutPositionToPostLayout != -1) { return this.mSpanSizeLookup.getCachedSpanIndex(convertPreLayoutPositionToPostLayout, this.mSpanCount); } - a.i0("Cannot find span size for pre layout position. It is not cached, not in the adapter. Pos:", i, TAG); + Log.w(TAG, "Cannot find span size for pre layout position. It is not cached, not in the adapter. Pos:" + i); return 0; } @@ -418,7 +419,7 @@ public class GridLayoutManager extends LinearLayoutManager { if (convertPreLayoutPositionToPostLayout != -1) { return this.mSpanSizeLookup.getSpanSize(convertPreLayoutPositionToPostLayout); } - a.i0("Cannot find span size for pre layout position. It is not cached, not in the adapter. Pos:", i, TAG); + Log.w(TAG, "Cannot find span size for pre layout position. It is not cached, not in the adapter. Pos:" + i); return 1; } @@ -503,17 +504,28 @@ public class GridLayoutManager extends LinearLayoutManager { } @Override // androidx.recyclerview.widget.LinearLayoutManager - public View findReferenceChild(RecyclerView.Recycler recycler, RecyclerView.State state, int i, int i2, int i3) { + public View findReferenceChild(RecyclerView.Recycler recycler, RecyclerView.State state, boolean z2, boolean z3) { + int i; + int childCount = getChildCount(); + int i2 = -1; + int i3 = 1; + if (z3) { + i = getChildCount() - 1; + i3 = -1; + } else { + i2 = childCount; + i = 0; + } + int itemCount = state.getItemCount(); ensureLayoutState(); int startAfterPadding = this.mOrientationHelper.getStartAfterPadding(); int endAfterPadding = this.mOrientationHelper.getEndAfterPadding(); - int i4 = i2 > i ? 1 : -1; View view = null; View view2 = null; while (i != i2) { View childAt = getChildAt(i); int position = getPosition(childAt); - if (position >= 0 && position < i3 && getSpanIndex(recycler, state, position) == 0) { + if (position >= 0 && position < itemCount && getSpanIndex(recycler, state, position) == 0) { if (((RecyclerView.LayoutParams) childAt.getLayoutParams()).isItemRemoved()) { if (view2 == null) { view2 = childAt; @@ -526,7 +538,7 @@ public class GridLayoutManager extends LinearLayoutManager { } } } - i += i4; + i += i3; } return view != null ? view : view2; } @@ -605,44 +617,46 @@ public class GridLayoutManager extends LinearLayoutManager { int i8; int i9; int i10; + int i11; + int i12; View next; int modeInOther = this.mOrientationHelper.getModeInOther(); ?? r5 = 0; boolean z2 = modeInOther != 1073741824; - int i11 = getChildCount() > 0 ? this.mCachedBorders[this.mSpanCount] : 0; + int i13 = getChildCount() > 0 ? this.mCachedBorders[this.mSpanCount] : 0; if (z2) { updateMeasurements(); } boolean z3 = layoutState.mItemDirection == 1; - int i12 = this.mSpanCount; + int i14 = this.mSpanCount; if (!z3) { - i12 = getSpanIndex(recycler, state, layoutState.mCurrentPosition) + getSpanSize(recycler, state, layoutState.mCurrentPosition); + i14 = getSpanIndex(recycler, state, layoutState.mCurrentPosition) + getSpanSize(recycler, state, layoutState.mCurrentPosition); } - int i13 = 0; - while (i13 < this.mSpanCount && layoutState.hasMore(state) && i12 > 0) { - int i14 = layoutState.mCurrentPosition; - int spanSize = getSpanSize(recycler, state, i14); + int i15 = 0; + while (i15 < this.mSpanCount && layoutState.hasMore(state) && i14 > 0) { + int i16 = layoutState.mCurrentPosition; + int spanSize = getSpanSize(recycler, state, i16); if (spanSize <= this.mSpanCount) { - i12 -= spanSize; - if (i12 < 0 || (next = layoutState.next(recycler)) == null) { + i14 -= spanSize; + if (i14 < 0 || (next = layoutState.next(recycler)) == null) { break; } - this.mSet[i13] = next; - i13++; + this.mSet[i15] = next; + i15++; } else { - throw new IllegalArgumentException(a.z(a.Q("Item at position ", i14, " requires ", spanSize, " spans but GridLayoutManager has only "), this.mSpanCount, " spans.")); + throw new IllegalArgumentException(a.A(a.U("Item at position ", i16, " requires ", spanSize, " spans but GridLayoutManager has only "), this.mSpanCount, " spans.")); } } - if (i13 == 0) { + if (i15 == 0) { layoutChunkResult.mFinished = true; return; } float f = 0.0f; - assignSpans(recycler, state, i13, z3); - int i15 = 0; - int i16 = 0; - while (i15 < i13) { - View view = this.mSet[i15]; + assignSpans(recycler, state, i15, z3); + int i17 = 0; + int i18 = 0; + while (i17 < i15) { + View view = this.mSet[i17]; if (layoutState.mScrapList == null) { if (z3) { addView(view); @@ -652,115 +666,107 @@ public class GridLayoutManager extends LinearLayoutManager { } else if (z3) { addDisappearingView(view); } else { - int i17 = r5 == true ? 1 : 0; - int i18 = r5 == true ? 1 : 0; int i19 = r5 == true ? 1 : 0; - addDisappearingView(view, i17); + int i20 = r5 == true ? 1 : 0; + int i21 = r5 == true ? 1 : 0; + addDisappearingView(view, i19); } calculateItemDecorationsForChild(view, this.mDecorInsets); measureChild(view, modeInOther, (boolean) r5); int decoratedMeasurement = this.mOrientationHelper.getDecoratedMeasurement(view); - if (decoratedMeasurement > i16) { - i16 = decoratedMeasurement; + if (decoratedMeasurement > i18) { + i18 = decoratedMeasurement; } float decoratedMeasurementInOther = (((float) this.mOrientationHelper.getDecoratedMeasurementInOther(view)) * 1.0f) / ((float) ((LayoutParams) view.getLayoutParams()).mSpanSize); if (decoratedMeasurementInOther > f) { f = decoratedMeasurementInOther; } - i15++; + i17++; r5 = 0; } if (z2) { - guessMeasurement(f, i11); - i16 = 0; - for (int i20 = 0; i20 < i13; i20++) { - View view2 = this.mSet[i20]; + guessMeasurement(f, i13); + i18 = 0; + for (int i22 = 0; i22 < i15; i22++) { + View view2 = this.mSet[i22]; measureChild(view2, (int) BasicMeasure.EXACTLY, true); int decoratedMeasurement2 = this.mOrientationHelper.getDecoratedMeasurement(view2); - if (decoratedMeasurement2 > i16) { - i16 = decoratedMeasurement2; + if (decoratedMeasurement2 > i18) { + i18 = decoratedMeasurement2; } } } - for (int i21 = 0; i21 < i13; i21++) { - View view3 = this.mSet[i21]; - if (this.mOrientationHelper.getDecoratedMeasurement(view3) != i16) { + for (int i23 = 0; i23 < i15; i23++) { + View view3 = this.mSet[i23]; + if (this.mOrientationHelper.getDecoratedMeasurement(view3) != i18) { LayoutParams layoutParams = (LayoutParams) view3.getLayoutParams(); Rect rect = layoutParams.mDecorInsets; - int i22 = rect.top + rect.bottom + ((ViewGroup.MarginLayoutParams) layoutParams).topMargin + ((ViewGroup.MarginLayoutParams) layoutParams).bottomMargin; - int i23 = rect.left + rect.right + ((ViewGroup.MarginLayoutParams) layoutParams).leftMargin + ((ViewGroup.MarginLayoutParams) layoutParams).rightMargin; + int i24 = rect.top + rect.bottom + ((ViewGroup.MarginLayoutParams) layoutParams).topMargin + ((ViewGroup.MarginLayoutParams) layoutParams).bottomMargin; + int i25 = rect.left + rect.right + ((ViewGroup.MarginLayoutParams) layoutParams).leftMargin + ((ViewGroup.MarginLayoutParams) layoutParams).rightMargin; int spaceForSpanRange = getSpaceForSpanRange(layoutParams.mSpanIndex, layoutParams.mSpanSize); if (this.mOrientation == 1) { - i10 = RecyclerView.LayoutManager.getChildMeasureSpec(spaceForSpanRange, BasicMeasure.EXACTLY, i23, ((ViewGroup.MarginLayoutParams) layoutParams).width, false); - i9 = View.MeasureSpec.makeMeasureSpec(i16 - i22, BasicMeasure.EXACTLY); + i12 = RecyclerView.LayoutManager.getChildMeasureSpec(spaceForSpanRange, BasicMeasure.EXACTLY, i25, ((ViewGroup.MarginLayoutParams) layoutParams).width, false); + i11 = View.MeasureSpec.makeMeasureSpec(i18 - i24, BasicMeasure.EXACTLY); } else { - int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(i16 - i23, BasicMeasure.EXACTLY); - i9 = RecyclerView.LayoutManager.getChildMeasureSpec(spaceForSpanRange, BasicMeasure.EXACTLY, i22, ((ViewGroup.MarginLayoutParams) layoutParams).height, false); - i10 = makeMeasureSpec; + int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(i18 - i25, BasicMeasure.EXACTLY); + i11 = RecyclerView.LayoutManager.getChildMeasureSpec(spaceForSpanRange, BasicMeasure.EXACTLY, i24, ((ViewGroup.MarginLayoutParams) layoutParams).height, false); + i12 = makeMeasureSpec; } - measureChildWithDecorationsAndMargin(view3, i10, i9, true); + measureChildWithDecorationsAndMargin(view3, i12, i11, true); } } - layoutChunkResult.mConsumed = i16; + layoutChunkResult.mConsumed = i18; if (this.mOrientation == 1) { if (layoutState.mLayoutDirection == -1) { i3 = layoutState.mOffset; - i4 = i3 - i16; + i4 = i3 - i18; } else { - int i24 = layoutState.mOffset; - i3 = i16 + i24; - i4 = i24; + int i26 = layoutState.mOffset; + i3 = i18 + i26; + i4 = i26; } i2 = 0; i = 0; } else if (layoutState.mLayoutDirection == -1) { i2 = layoutState.mOffset; - i = i2 - i16; + i = i2 - i18; i4 = 0; i3 = 0; } else { i = layoutState.mOffset; - i2 = i16 + i; + i2 = i18 + i; i3 = 0; i4 = 0; } - int i25 = 0; - while (i25 < i13) { - View view4 = this.mSet[i25]; + int i27 = 0; + while (i27 < i15) { + View view4 = this.mSet[i27]; LayoutParams layoutParams2 = (LayoutParams) view4.getLayoutParams(); - if (this.mOrientation != 1) { - i4 = this.mCachedBorders[layoutParams2.mSpanIndex] + getPaddingTop(); - i3 = this.mOrientationHelper.getDecoratedMeasurementInOther(view4) + i4; - } else if (isLayoutRTL()) { - i2 = this.mCachedBorders[this.mSpanCount - layoutParams2.mSpanIndex] + getPaddingLeft(); - i = i2 - this.mOrientationHelper.getDecoratedMeasurementInOther(view4); - } else { - int paddingLeft = getPaddingLeft() + this.mCachedBorders[layoutParams2.mSpanIndex]; - i5 = paddingLeft; + if (this.mOrientation == 1) { + if (isLayoutRTL()) { + i10 = getPaddingLeft() + this.mCachedBorders[this.mSpanCount - layoutParams2.mSpanIndex]; + i9 = i10 - this.mOrientationHelper.getDecoratedMeasurementInOther(view4); + } else { + i9 = this.mCachedBorders[layoutParams2.mSpanIndex] + getPaddingLeft(); + i10 = this.mOrientationHelper.getDecoratedMeasurementInOther(view4) + i9; + } + i6 = i10; i8 = i4; i7 = i3; - i6 = this.mOrientationHelper.getDecoratedMeasurementInOther(view4) + paddingLeft; - layoutDecoratedWithMargins(view4, i5, i8, i6, i7); - if (!layoutParams2.isItemRemoved() || layoutParams2.isItemChanged()) { - layoutChunkResult.mIgnoreConsumed = true; - } - layoutChunkResult.mFocusable |= view4.hasFocusable(); - i25++; - i4 = i8; - i3 = i7; - i2 = i6; - i = i5; + i5 = i9; + } else { + int paddingTop = getPaddingTop() + this.mCachedBorders[layoutParams2.mSpanIndex]; + i8 = paddingTop; + i7 = this.mOrientationHelper.getDecoratedMeasurementInOther(view4) + paddingTop; + i6 = i2; + i5 = i; } - i8 = i4; - i7 = i3; - i6 = i2; - i5 = i; layoutDecoratedWithMargins(view4, i5, i8, i6, i7); - if (!layoutParams2.isItemRemoved()) { + if (layoutParams2.isItemRemoved() || layoutParams2.isItemChanged()) { + layoutChunkResult.mIgnoreConsumed = true; } - layoutChunkResult.mIgnoreConsumed = true; layoutChunkResult.mFocusable |= view4.hasFocusable(); - i25++; + i27++; i4 = i8; i3 = i7; i2 = i6; @@ -1044,7 +1050,7 @@ public class GridLayoutManager extends LinearLayoutManager { requestLayout(); return; } - throw new IllegalArgumentException(a.l("Span count should be at least 1. Provided ", i)); + throw new IllegalArgumentException(a.p("Span count should be at least 1. Provided ", i)); } } diff --git a/app/src/main/java/androidx/recyclerview/widget/ItemTouchHelper.java b/app/src/main/java/androidx/recyclerview/widget/ItemTouchHelper.java index c527b4d6bc..ccbd7e5ee7 100644 --- a/app/src/main/java/androidx/recyclerview/widget/ItemTouchHelper.java +++ b/app/src/main/java/androidx/recyclerview/widget/ItemTouchHelper.java @@ -15,6 +15,7 @@ import android.view.ViewParent; import android.view.animation.Interpolator; import androidx.annotation.NonNull; import androidx.annotation.Nullable; +import androidx.annotation.VisibleForTesting; import androidx.core.view.GestureDetectorCompat; import androidx.core.view.ViewCompat; import androidx.recyclerview.R; @@ -61,6 +62,7 @@ public class ItemTouchHelper extends RecyclerView.ItemDecoration implements Recy public View mOverdrawChild = null; public int mOverdrawChildPosition = -1; public final List mPendingCleanup = new ArrayList(); + @VisibleForTesting public List mRecoverAnimations = new ArrayList(); public RecyclerView mRecyclerView; public final Runnable mScrollRunnable = new AnonymousClass1(); @@ -262,7 +264,7 @@ public class ItemTouchHelper extends RecyclerView.ItemDecoration implements Recy RecyclerView recyclerView = ItemTouchHelper.this.mRecyclerView; if (recyclerView != null && recyclerView.isAttachedToWindow()) { RecoverAnimation recoverAnimation = this.val$anim; - if (!recoverAnimation.mOverridden && recoverAnimation.mViewHolder.getAdapterPosition() != -1) { + if (!recoverAnimation.mOverridden && recoverAnimation.mViewHolder.getAbsoluteAdapterPosition() != -1) { RecyclerView.ItemAnimator itemAnimator = ItemTouchHelper.this.mRecyclerView.getItemAnimator(); if ((itemAnimator == null || !itemAnimator.isRunning(null)) && !ItemTouchHelper.this.hasRunningRecoverAnim()) { ItemTouchHelper.this.mCallback.onSwiped(this.val$anim.mViewHolder, this.val$swipeDir); @@ -306,7 +308,7 @@ public class ItemTouchHelper extends RecyclerView.ItemDecoration implements Recy private int mCachedMaxScrollSpeed = -1; /* renamed from: androidx.recyclerview.widget.ItemTouchHelper$Callback$1 reason: invalid class name */ - public static class AnonymousClass1 implements Interpolator { + public class AnonymousClass1 implements Interpolator { @Override // android.animation.TimeInterpolator public float getInterpolation(float f) { return f * f * f * f * f; @@ -314,7 +316,7 @@ public class ItemTouchHelper extends RecyclerView.ItemDecoration implements Recy } /* renamed from: androidx.recyclerview.widget.ItemTouchHelper$Callback$2 reason: invalid class name */ - public static class AnonymousClass2 implements Interpolator { + public class AnonymousClass2 implements Interpolator { @Override // android.animation.TimeInterpolator public float getInterpolation(float f) { float f2 = f - 1.0f; @@ -606,6 +608,7 @@ public class ItemTouchHelper extends RecyclerView.ItemDecoration implements Recy } } + @VisibleForTesting public static class RecoverAnimation implements Animator.AnimatorListener { public final int mActionState; public final int mAnimationType; @@ -617,7 +620,8 @@ public class ItemTouchHelper extends RecyclerView.ItemDecoration implements Recy public final float mStartDy; public final float mTargetX; public final float mTargetY; - private final ValueAnimator mValueAnimator; + @VisibleForTesting + public final ValueAnimator mValueAnimator; public final RecyclerView.ViewHolder mViewHolder; public float mX; public float mY; @@ -804,7 +808,9 @@ public class ItemTouchHelper extends RecyclerView.ItemDecoration implements Recy this.mRecyclerView.removeOnItemTouchListener(this.mOnItemTouchListener); this.mRecyclerView.removeOnChildAttachStateChangeListener(this); for (int size = this.mRecoverAnimations.size() - 1; size >= 0; size--) { - this.mCallback.clearView(this.mRecyclerView, this.mRecoverAnimations.get(0).mViewHolder); + RecoverAnimation recoverAnimation = this.mRecoverAnimations.get(0); + recoverAnimation.cancel(); + this.mCallback.clearView(this.mRecyclerView, recoverAnimation.mViewHolder); } this.mRecoverAnimations.clear(); this.mOverdrawChild = null; @@ -1090,10 +1096,10 @@ public class ItemTouchHelper extends RecyclerView.ItemDecoration implements Recy this.mDistances.clear(); return; } - int adapterPosition = chooseDropTarget.getAdapterPosition(); - int adapterPosition2 = viewHolder.getAdapterPosition(); + int absoluteAdapterPosition = chooseDropTarget.getAbsoluteAdapterPosition(); + int absoluteAdapterPosition2 = viewHolder.getAbsoluteAdapterPosition(); if (this.mCallback.onMove(this.mRecyclerView, viewHolder, chooseDropTarget)) { - this.mCallback.onMoved(this.mRecyclerView, viewHolder, adapterPosition2, chooseDropTarget, adapterPosition, i, i2); + this.mCallback.onMoved(this.mRecyclerView, viewHolder, absoluteAdapterPosition2, chooseDropTarget, absoluteAdapterPosition, i, i2); } } } diff --git a/app/src/main/java/androidx/recyclerview/widget/LayoutState.java b/app/src/main/java/androidx/recyclerview/widget/LayoutState.java index 8b45a8acc8..09ca3374c5 100644 --- a/app/src/main/java/androidx/recyclerview/widget/LayoutState.java +++ b/app/src/main/java/androidx/recyclerview/widget/LayoutState.java @@ -31,17 +31,17 @@ public class LayoutState { } public String toString() { - StringBuilder O = a.O("LayoutState{mAvailable="); - O.append(this.mAvailable); - O.append(", mCurrentPosition="); - O.append(this.mCurrentPosition); - O.append(", mItemDirection="); - O.append(this.mItemDirection); - O.append(", mLayoutDirection="); - O.append(this.mLayoutDirection); - O.append(", mStartLine="); - O.append(this.mStartLine); - O.append(", mEndLine="); - return a.y(O, this.mEndLine, '}'); + StringBuilder R = a.R("LayoutState{mAvailable="); + R.append(this.mAvailable); + R.append(", mCurrentPosition="); + R.append(this.mCurrentPosition); + R.append(", mItemDirection="); + R.append(this.mItemDirection); + R.append(", mLayoutDirection="); + R.append(this.mLayoutDirection); + R.append(", mStartLine="); + R.append(this.mStartLine); + R.append(", mEndLine="); + return a.z(R, this.mEndLine, '}'); } } diff --git a/app/src/main/java/androidx/recyclerview/widget/LinearLayoutManager.java b/app/src/main/java/androidx/recyclerview/widget/LinearLayoutManager.java index 9210710dd4..7f971fdb2a 100644 --- a/app/src/main/java/androidx/recyclerview/widget/LinearLayoutManager.java +++ b/app/src/main/java/androidx/recyclerview/widget/LinearLayoutManager.java @@ -110,16 +110,16 @@ public class LinearLayoutManager extends RecyclerView.LayoutManager implements I } public String toString() { - StringBuilder O = a.O("AnchorInfo{mPosition="); - O.append(this.mPosition); - O.append(", mCoordinate="); - O.append(this.mCoordinate); - O.append(", mLayoutFromEnd="); - O.append(this.mLayoutFromEnd); - O.append(", mValid="); - O.append(this.mValid); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("AnchorInfo{mPosition="); + R.append(this.mPosition); + R.append(", mCoordinate="); + R.append(this.mCoordinate); + R.append(", mLayoutFromEnd="); + R.append(this.mLayoutFromEnd); + R.append(", mValid="); + R.append(this.mValid); + R.append('}'); + return R.toString(); } } @@ -191,17 +191,17 @@ public class LinearLayoutManager extends RecyclerView.LayoutManager implements I } public void log() { - StringBuilder O = a.O("avail:"); - O.append(this.mAvailable); - O.append(", ind:"); - O.append(this.mCurrentPosition); - O.append(", dir:"); - O.append(this.mItemDirection); - O.append(", offset:"); - O.append(this.mOffset); - O.append(", layoutDir:"); - O.append(this.mLayoutDirection); - Log.d(TAG, O.toString()); + StringBuilder R = a.R("avail:"); + R.append(this.mAvailable); + R.append(", ind:"); + R.append(this.mCurrentPosition); + R.append(", dir:"); + R.append(this.mItemDirection); + R.append(", offset:"); + R.append(this.mOffset); + R.append(", layoutDir:"); + R.append(this.mLayoutDirection); + Log.d(TAG, R.toString()); } public View next(RecyclerView.Recycler recycler) { @@ -242,7 +242,7 @@ public class LinearLayoutManager extends RecyclerView.LayoutManager implements I public int mAnchorPosition; /* renamed from: androidx.recyclerview.widget.LinearLayoutManager$SavedState$1 reason: invalid class name */ - public static class AnonymousClass1 implements Parcelable.Creator { + public class AnonymousClass1 implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public SavedState createFromParcel(Parcel parcel) { return new SavedState(parcel); @@ -358,18 +358,10 @@ public class LinearLayoutManager extends RecyclerView.LayoutManager implements I return findOnePartiallyOrCompletelyInvisibleChild(0, getChildCount()); } - private View findFirstReferenceChild(RecyclerView.Recycler recycler, RecyclerView.State state) { - return findReferenceChild(recycler, state, 0, getChildCount(), state.getItemCount()); - } - private View findLastPartiallyOrCompletelyInvisibleChild() { return findOnePartiallyOrCompletelyInvisibleChild(getChildCount() - 1, -1); } - private View findLastReferenceChild(RecyclerView.Recycler recycler, RecyclerView.State state) { - return findReferenceChild(recycler, state, getChildCount() - 1, -1, state.getItemCount()); - } - private View findPartiallyOrCompletelyInvisibleChildClosestToEnd() { return this.mShouldReverseLayout ? findFirstPartiallyOrCompletelyInvisibleChild() : findLastPartiallyOrCompletelyInvisibleChild(); } @@ -378,14 +370,6 @@ public class LinearLayoutManager extends RecyclerView.LayoutManager implements I return this.mShouldReverseLayout ? findLastPartiallyOrCompletelyInvisibleChild() : findFirstPartiallyOrCompletelyInvisibleChild(); } - private View findReferenceChildClosestToEnd(RecyclerView.Recycler recycler, RecyclerView.State state) { - return this.mShouldReverseLayout ? findFirstReferenceChild(recycler, state) : findLastReferenceChild(recycler, state); - } - - private View findReferenceChildClosestToStart(RecyclerView.Recycler recycler, RecyclerView.State state) { - return this.mShouldReverseLayout ? findLastReferenceChild(recycler, state) : findFirstReferenceChild(recycler, state); - } - private int fixLayoutEndGap(int i, RecyclerView.Recycler recycler, RecyclerView.State state, boolean z2) { int endAfterPadding; int endAfterPadding2 = this.mOrientationHelper.getEndAfterPadding() - i; @@ -470,11 +454,11 @@ public class LinearLayoutManager extends RecyclerView.LayoutManager implements I Log.d(TAG, "internal representation of views on the screen"); for (int i = 0; i < getChildCount(); i++) { View childAt = getChildAt(i); - StringBuilder O = a.O("item "); - O.append(getPosition(childAt)); - O.append(", coord:"); - O.append(this.mOrientationHelper.getDecoratedStart(childAt)); - Log.d(TAG, O.toString()); + StringBuilder R = a.R("item "); + R.append(getPosition(childAt)); + R.append(", coord:"); + R.append(this.mOrientationHelper.getDecoratedStart(childAt)); + Log.d(TAG, R.toString()); } Log.d(TAG, "=============="); } @@ -565,32 +549,39 @@ public class LinearLayoutManager extends RecyclerView.LayoutManager implements I } private boolean updateAnchorFromChildren(RecyclerView.Recycler recycler, RecyclerView.State state, AnchorInfo anchorInfo) { + View findReferenceChild; boolean z2 = false; if (getChildCount() == 0) { return false; } View focusedChild = getFocusedChild(); - if (focusedChild != null && anchorInfo.isViewValidAsAnchor(focusedChild, state)) { - anchorInfo.assignFromViewAndKeepVisibleRect(focusedChild, getPosition(focusedChild)); - return true; - } else if (this.mLastStackFromEnd != this.mStackFromEnd) { - return false; - } else { - View findReferenceChildClosestToEnd = anchorInfo.mLayoutFromEnd ? findReferenceChildClosestToEnd(recycler, state) : findReferenceChildClosestToStart(recycler, state); - if (findReferenceChildClosestToEnd == null) { + if (focusedChild == null || !anchorInfo.isViewValidAsAnchor(focusedChild, state)) { + boolean z3 = this.mLastStackFromEnd; + boolean z4 = this.mStackFromEnd; + if (z3 != z4 || (findReferenceChild = findReferenceChild(recycler, state, anchorInfo.mLayoutFromEnd, z4)) == null) { return false; } - anchorInfo.assignFromView(findReferenceChildClosestToEnd, getPosition(findReferenceChildClosestToEnd)); + anchorInfo.assignFromView(findReferenceChild, getPosition(findReferenceChild)); if (!state.isPreLayout() && supportsPredictiveItemAnimations()) { - if (this.mOrientationHelper.getDecoratedStart(findReferenceChildClosestToEnd) >= this.mOrientationHelper.getEndAfterPadding() || this.mOrientationHelper.getDecoratedEnd(findReferenceChildClosestToEnd) < this.mOrientationHelper.getStartAfterPadding()) { + int decoratedStart = this.mOrientationHelper.getDecoratedStart(findReferenceChild); + int decoratedEnd = this.mOrientationHelper.getDecoratedEnd(findReferenceChild); + int startAfterPadding = this.mOrientationHelper.getStartAfterPadding(); + int endAfterPadding = this.mOrientationHelper.getEndAfterPadding(); + boolean z5 = decoratedEnd <= startAfterPadding && decoratedStart < startAfterPadding; + if (decoratedStart >= endAfterPadding && decoratedEnd > endAfterPadding) { z2 = true; } - if (z2) { - anchorInfo.mCoordinate = anchorInfo.mLayoutFromEnd ? this.mOrientationHelper.getEndAfterPadding() : this.mOrientationHelper.getStartAfterPadding(); + if (z5 || z2) { + if (anchorInfo.mLayoutFromEnd) { + startAfterPadding = endAfterPadding; + } + anchorInfo.mCoordinate = startAfterPadding; } } return true; } + anchorInfo.assignFromViewAndKeepVisibleRect(focusedChild, getPosition(focusedChild)); + return true; } private boolean updateAnchorFromPendingData(RecyclerView.State state, AnchorInfo anchorInfo) { @@ -993,32 +984,57 @@ public class LinearLayoutManager extends RecyclerView.LayoutManager implements I return this.mOrientation == 0 ? this.mHorizontalBoundCheck.findOneViewWithinBoundFlags(i, i2, i4, i3) : this.mVerticalBoundCheck.findOneViewWithinBoundFlags(i, i2, i4, i3); } - public View findReferenceChild(RecyclerView.Recycler recycler, RecyclerView.State state, int i, int i2, int i3) { + public View findReferenceChild(RecyclerView.Recycler recycler, RecyclerView.State state, boolean z2, boolean z3) { + int i; + int i2; ensureLayoutState(); + int childCount = getChildCount(); + int i3 = -1; + if (z3) { + i2 = getChildCount() - 1; + i = -1; + } else { + i3 = childCount; + i2 = 0; + i = 1; + } + int itemCount = state.getItemCount(); int startAfterPadding = this.mOrientationHelper.getStartAfterPadding(); int endAfterPadding = this.mOrientationHelper.getEndAfterPadding(); - int i4 = i2 > i ? 1 : -1; View view = null; View view2 = null; - while (i != i2) { - View childAt = getChildAt(i); + View view3 = null; + while (i2 != i3) { + View childAt = getChildAt(i2); int position = getPosition(childAt); - if (position >= 0 && position < i3) { - if (((RecyclerView.LayoutParams) childAt.getLayoutParams()).isItemRemoved()) { - if (view2 == null) { - view2 = childAt; + int decoratedStart = this.mOrientationHelper.getDecoratedStart(childAt); + int decoratedEnd = this.mOrientationHelper.getDecoratedEnd(childAt); + if (position >= 0 && position < itemCount) { + if (!((RecyclerView.LayoutParams) childAt.getLayoutParams()).isItemRemoved()) { + boolean z4 = decoratedEnd <= startAfterPadding && decoratedStart < startAfterPadding; + boolean z5 = decoratedStart >= endAfterPadding && decoratedEnd > endAfterPadding; + if (!z4 && !z5) { + return childAt; } - } else if (this.mOrientationHelper.getDecoratedStart(childAt) < endAfterPadding && this.mOrientationHelper.getDecoratedEnd(childAt) >= startAfterPadding) { - return childAt; - } else { - if (view == null) { + if (z2) { + if (!z5) { + if (view != null) { + } + view = childAt; + } + } else if (!z4) { + if (view != null) { + } view = childAt; } + view2 = childAt; + } else if (view3 == null) { + view3 = childAt; } } - i += i4; + i2 += i; } - return view != null ? view : view2; + return view != null ? view : view2 != null ? view2 : view3; } @Override // androidx.recyclerview.widget.RecyclerView.LayoutManager @@ -1357,7 +1373,11 @@ public class LinearLayoutManager extends RecyclerView.LayoutManager implements I @Override // androidx.recyclerview.widget.RecyclerView.LayoutManager public void onRestoreInstanceState(Parcelable parcelable) { if (parcelable instanceof SavedState) { - this.mPendingSavedState = (SavedState) parcelable; + SavedState savedState = (SavedState) parcelable; + this.mPendingSavedState = savedState; + if (this.mPendingScrollPosition != -1) { + savedState.invalidateAnchor(); + } requestLayout(); } } @@ -1488,7 +1508,7 @@ public class LinearLayoutManager extends RecyclerView.LayoutManager implements I } return; } - throw new IllegalArgumentException(a.l("invalid orientation:", i)); + throw new IllegalArgumentException(a.p("invalid orientation:", i)); } public void setRecycleChildrenOnDetach(boolean z2) { @@ -1533,9 +1553,9 @@ public class LinearLayoutManager extends RecyclerView.LayoutManager implements I } public void validateChildOrder() { - StringBuilder O = a.O("validating child count "); - O.append(getChildCount()); - Log.d(TAG, O.toString()); + StringBuilder R = a.R("validating child count "); + R.append(getChildCount()); + Log.d(TAG, R.toString()); boolean z2 = true; if (getChildCount() >= 1) { int position = getPosition(getChildAt(0)); @@ -1547,12 +1567,12 @@ public class LinearLayoutManager extends RecyclerView.LayoutManager implements I int decoratedStart2 = this.mOrientationHelper.getDecoratedStart(childAt); if (position2 < position) { logChildren(); - StringBuilder O2 = a.O("detected invalid position. loc invalid? "); + StringBuilder R2 = a.R("detected invalid position. loc invalid? "); if (decoratedStart2 >= decoratedStart) { z2 = false; } - O2.append(z2); - throw new RuntimeException(O2.toString()); + R2.append(z2); + throw new RuntimeException(R2.toString()); } else if (decoratedStart2 > decoratedStart) { logChildren(); throw new RuntimeException("detected invalid location"); @@ -1566,12 +1586,12 @@ public class LinearLayoutManager extends RecyclerView.LayoutManager implements I int decoratedStart3 = this.mOrientationHelper.getDecoratedStart(childAt2); if (position3 < position) { logChildren(); - StringBuilder O3 = a.O("detected invalid position. loc invalid? "); + StringBuilder R3 = a.R("detected invalid position. loc invalid? "); if (decoratedStart3 >= decoratedStart) { z2 = false; } - O3.append(z2); - throw new RuntimeException(O3.toString()); + R3.append(z2); + throw new RuntimeException(R3.toString()); } else if (decoratedStart3 < decoratedStart) { logChildren(); throw new RuntimeException("detected invalid location"); diff --git a/app/src/main/java/androidx/recyclerview/widget/LinearSnapHelper.java b/app/src/main/java/androidx/recyclerview/widget/LinearSnapHelper.java index 682f34a50a..6b75ef18a9 100644 --- a/app/src/main/java/androidx/recyclerview/widget/LinearSnapHelper.java +++ b/app/src/main/java/androidx/recyclerview/widget/LinearSnapHelper.java @@ -42,7 +42,7 @@ public class LinearSnapHelper extends SnapHelper { return (((float) max) * 1.0f) / ((float) ((i2 - i) + 1)); } - private int distanceToCenter(@NonNull RecyclerView.LayoutManager layoutManager, @NonNull View view, OrientationHelper orientationHelper) { + private int distanceToCenter(@NonNull View view, OrientationHelper orientationHelper) { return ((orientationHelper.getDecoratedMeasurement(view) / 2) + orientationHelper.getDecoratedStart(view)) - ((orientationHelper.getTotalSpace() / 2) + orientationHelper.getStartAfterPadding()); } @@ -97,12 +97,12 @@ public class LinearSnapHelper extends SnapHelper { public int[] calculateDistanceToFinalSnap(@NonNull RecyclerView.LayoutManager layoutManager, @NonNull View view) { int[] iArr = new int[2]; if (layoutManager.canScrollHorizontally()) { - iArr[0] = distanceToCenter(layoutManager, view, getHorizontalHelper(layoutManager)); + iArr[0] = distanceToCenter(view, getHorizontalHelper(layoutManager)); } else { iArr[0] = 0; } if (layoutManager.canScrollVertically()) { - iArr[1] = distanceToCenter(layoutManager, view, getVerticalHelper(layoutManager)); + iArr[1] = distanceToCenter(view, getVerticalHelper(layoutManager)); } else { iArr[1] = 0; } diff --git a/app/src/main/java/androidx/recyclerview/widget/MessageThreadUtil.java b/app/src/main/java/androidx/recyclerview/widget/MessageThreadUtil.java index 1ea1bada4b..b6a5b1300c 100644 --- a/app/src/main/java/androidx/recyclerview/widget/MessageThreadUtil.java +++ b/app/src/main/java/androidx/recyclerview/widget/MessageThreadUtil.java @@ -36,9 +36,9 @@ public class MessageThreadUtil implements ThreadUtil { } else if (i == 2) { AnonymousClass1.this.val$callback.addTile(next.arg1, (TileList.Tile) next.data); } else if (i != 3) { - StringBuilder O = a.O("Unsupported message, what="); - O.append(next.what); - Log.e("ThreadUtil", O.toString()); + StringBuilder R = a.R("Unsupported message, what="); + R.append(next.what); + Log.e("ThreadUtil", R.toString()); } else { AnonymousClass1.this.val$callback.removeTile(next.arg1, next.arg2); } @@ -108,9 +108,9 @@ public class MessageThreadUtil implements ThreadUtil { } else if (i == 3) { AnonymousClass2.this.val$callback.loadTile(next.arg1, next.arg2); } else if (i != 4) { - StringBuilder O = a.O("Unsupported message, what="); - O.append(next.what); - Log.e("ThreadUtil", O.toString()); + StringBuilder R = a.R("Unsupported message, what="); + R.append(next.what); + Log.e("ThreadUtil", R.toString()); } else { AnonymousClass2.this.val$callback.recycleTile((TileList.Tile) next.data); } diff --git a/app/src/main/java/androidx/recyclerview/widget/NestedAdapterWrapper.java b/app/src/main/java/androidx/recyclerview/widget/NestedAdapterWrapper.java new file mode 100644 index 0000000000..7d568a00bb --- /dev/null +++ b/app/src/main/java/androidx/recyclerview/widget/NestedAdapterWrapper.java @@ -0,0 +1,136 @@ +package androidx.recyclerview.widget; + +import android.view.ViewGroup; +import androidx.annotation.NonNull; +import androidx.annotation.Nullable; +import androidx.core.util.Preconditions; +import androidx.recyclerview.widget.RecyclerView; +import androidx.recyclerview.widget.StableIdStorage; +import androidx.recyclerview.widget.ViewTypeStorage; +public class NestedAdapterWrapper { + public final RecyclerView.Adapter adapter; + private RecyclerView.AdapterDataObserver mAdapterObserver = new AnonymousClass1(); + public int mCachedItemCount; + public final Callback mCallback; + @NonNull + private final StableIdStorage.StableIdLookup mStableIdLookup; + @NonNull + private final ViewTypeStorage.ViewTypeLookup mViewTypeLookup; + + /* renamed from: androidx.recyclerview.widget.NestedAdapterWrapper$1 reason: invalid class name */ + public class AnonymousClass1 extends RecyclerView.AdapterDataObserver { + public AnonymousClass1() { + } + + @Override // androidx.recyclerview.widget.RecyclerView.AdapterDataObserver + public void onChanged() { + NestedAdapterWrapper nestedAdapterWrapper = NestedAdapterWrapper.this; + nestedAdapterWrapper.mCachedItemCount = nestedAdapterWrapper.adapter.getItemCount(); + NestedAdapterWrapper nestedAdapterWrapper2 = NestedAdapterWrapper.this; + nestedAdapterWrapper2.mCallback.onChanged(nestedAdapterWrapper2); + } + + @Override // androidx.recyclerview.widget.RecyclerView.AdapterDataObserver + public void onItemRangeChanged(int i, int i2) { + NestedAdapterWrapper nestedAdapterWrapper = NestedAdapterWrapper.this; + nestedAdapterWrapper.mCallback.onItemRangeChanged(nestedAdapterWrapper, i, i2, null); + } + + @Override // androidx.recyclerview.widget.RecyclerView.AdapterDataObserver + public void onItemRangeChanged(int i, int i2, @Nullable Object obj) { + NestedAdapterWrapper nestedAdapterWrapper = NestedAdapterWrapper.this; + nestedAdapterWrapper.mCallback.onItemRangeChanged(nestedAdapterWrapper, i, i2, obj); + } + + @Override // androidx.recyclerview.widget.RecyclerView.AdapterDataObserver + public void onItemRangeInserted(int i, int i2) { + NestedAdapterWrapper nestedAdapterWrapper = NestedAdapterWrapper.this; + nestedAdapterWrapper.mCachedItemCount += i2; + nestedAdapterWrapper.mCallback.onItemRangeInserted(nestedAdapterWrapper, i, i2); + NestedAdapterWrapper nestedAdapterWrapper2 = NestedAdapterWrapper.this; + if (nestedAdapterWrapper2.mCachedItemCount > 0 && nestedAdapterWrapper2.adapter.getStateRestorationPolicy() == RecyclerView.Adapter.StateRestorationPolicy.PREVENT_WHEN_EMPTY) { + NestedAdapterWrapper nestedAdapterWrapper3 = NestedAdapterWrapper.this; + nestedAdapterWrapper3.mCallback.onStateRestorationPolicyChanged(nestedAdapterWrapper3); + } + } + + @Override // androidx.recyclerview.widget.RecyclerView.AdapterDataObserver + public void onItemRangeMoved(int i, int i2, int i3) { + boolean z2 = true; + if (i3 != 1) { + z2 = false; + } + Preconditions.checkArgument(z2, "moving more than 1 item is not supported in RecyclerView"); + NestedAdapterWrapper nestedAdapterWrapper = NestedAdapterWrapper.this; + nestedAdapterWrapper.mCallback.onItemRangeMoved(nestedAdapterWrapper, i, i2); + } + + @Override // androidx.recyclerview.widget.RecyclerView.AdapterDataObserver + public void onItemRangeRemoved(int i, int i2) { + NestedAdapterWrapper nestedAdapterWrapper = NestedAdapterWrapper.this; + nestedAdapterWrapper.mCachedItemCount -= i2; + nestedAdapterWrapper.mCallback.onItemRangeRemoved(nestedAdapterWrapper, i, i2); + NestedAdapterWrapper nestedAdapterWrapper2 = NestedAdapterWrapper.this; + if (nestedAdapterWrapper2.mCachedItemCount < 1 && nestedAdapterWrapper2.adapter.getStateRestorationPolicy() == RecyclerView.Adapter.StateRestorationPolicy.PREVENT_WHEN_EMPTY) { + NestedAdapterWrapper nestedAdapterWrapper3 = NestedAdapterWrapper.this; + nestedAdapterWrapper3.mCallback.onStateRestorationPolicyChanged(nestedAdapterWrapper3); + } + } + + @Override // androidx.recyclerview.widget.RecyclerView.AdapterDataObserver + public void onStateRestorationPolicyChanged() { + NestedAdapterWrapper nestedAdapterWrapper = NestedAdapterWrapper.this; + nestedAdapterWrapper.mCallback.onStateRestorationPolicyChanged(nestedAdapterWrapper); + } + } + + public interface Callback { + void onChanged(@NonNull NestedAdapterWrapper nestedAdapterWrapper); + + void onItemRangeChanged(@NonNull NestedAdapterWrapper nestedAdapterWrapper, int i, int i2); + + void onItemRangeChanged(@NonNull NestedAdapterWrapper nestedAdapterWrapper, int i, int i2, @Nullable Object obj); + + void onItemRangeInserted(@NonNull NestedAdapterWrapper nestedAdapterWrapper, int i, int i2); + + void onItemRangeMoved(@NonNull NestedAdapterWrapper nestedAdapterWrapper, int i, int i2); + + void onItemRangeRemoved(@NonNull NestedAdapterWrapper nestedAdapterWrapper, int i, int i2); + + void onStateRestorationPolicyChanged(NestedAdapterWrapper nestedAdapterWrapper); + } + + public NestedAdapterWrapper(RecyclerView.Adapter adapter, Callback callback, ViewTypeStorage viewTypeStorage, StableIdStorage.StableIdLookup stableIdLookup) { + this.adapter = adapter; + this.mCallback = callback; + this.mViewTypeLookup = viewTypeStorage.createViewTypeWrapper(this); + this.mStableIdLookup = stableIdLookup; + this.mCachedItemCount = adapter.getItemCount(); + adapter.registerAdapterDataObserver(this.mAdapterObserver); + } + + public void dispose() { + this.adapter.unregisterAdapterDataObserver(this.mAdapterObserver); + this.mViewTypeLookup.dispose(); + } + + public int getCachedItemCount() { + return this.mCachedItemCount; + } + + public long getItemId(int i) { + return this.mStableIdLookup.localToGlobal(this.adapter.getItemId(i)); + } + + public int getItemViewType(int i) { + return this.mViewTypeLookup.localToGlobal(this.adapter.getItemViewType(i)); + } + + public void onBindViewHolder(RecyclerView.ViewHolder viewHolder, int i) { + this.adapter.bindViewHolder(viewHolder, i); + } + + public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup viewGroup, int i) { + return this.adapter.onCreateViewHolder(viewGroup, this.mViewTypeLookup.globalToLocal(i)); + } +} diff --git a/app/src/main/java/androidx/recyclerview/widget/OrientationHelper.java b/app/src/main/java/androidx/recyclerview/widget/OrientationHelper.java index b43dd12a8c..152ea53cbc 100644 --- a/app/src/main/java/androidx/recyclerview/widget/OrientationHelper.java +++ b/app/src/main/java/androidx/recyclerview/widget/OrientationHelper.java @@ -13,7 +13,7 @@ public abstract class OrientationHelper { public final Rect mTmpRect; /* renamed from: androidx.recyclerview.widget.OrientationHelper$1 reason: invalid class name */ - public static class AnonymousClass1 extends OrientationHelper { + public class AnonymousClass1 extends OrientationHelper { public AnonymousClass1(RecyclerView.LayoutManager layoutManager) { super(layoutManager, null); } @@ -99,7 +99,7 @@ public abstract class OrientationHelper { } /* renamed from: androidx.recyclerview.widget.OrientationHelper$2 reason: invalid class name */ - public static class AnonymousClass2 extends OrientationHelper { + public class AnonymousClass2 extends OrientationHelper { public AnonymousClass2(RecyclerView.LayoutManager layoutManager) { super(layoutManager, null); } diff --git a/app/src/main/java/androidx/recyclerview/widget/PagerSnapHelper.java b/app/src/main/java/androidx/recyclerview/widget/PagerSnapHelper.java index 79f1aa82a7..25eef71fd9 100644 --- a/app/src/main/java/androidx/recyclerview/widget/PagerSnapHelper.java +++ b/app/src/main/java/androidx/recyclerview/widget/PagerSnapHelper.java @@ -43,7 +43,7 @@ public class PagerSnapHelper extends SnapHelper { } } - private int distanceToCenter(@NonNull RecyclerView.LayoutManager layoutManager, @NonNull View view, OrientationHelper orientationHelper) { + private int distanceToCenter(@NonNull View view, OrientationHelper orientationHelper) { return ((orientationHelper.getDecoratedMeasurement(view) / 2) + orientationHelper.getDecoratedStart(view)) - ((orientationHelper.getTotalSpace() / 2) + orientationHelper.getStartAfterPadding()); } @@ -114,12 +114,12 @@ public class PagerSnapHelper extends SnapHelper { public int[] calculateDistanceToFinalSnap(@NonNull RecyclerView.LayoutManager layoutManager, @NonNull View view) { int[] iArr = new int[2]; if (layoutManager.canScrollHorizontally()) { - iArr[0] = distanceToCenter(layoutManager, view, getHorizontalHelper(layoutManager)); + iArr[0] = distanceToCenter(view, getHorizontalHelper(layoutManager)); } else { iArr[0] = 0; } if (layoutManager.canScrollVertically()) { - iArr[1] = distanceToCenter(layoutManager, view, getVerticalHelper(layoutManager)); + iArr[1] = distanceToCenter(view, getVerticalHelper(layoutManager)); } else { iArr[1] = 0; } @@ -127,7 +127,8 @@ public class PagerSnapHelper extends SnapHelper { } @Override // androidx.recyclerview.widget.SnapHelper - public LinearSmoothScroller createSnapScroller(RecyclerView.LayoutManager layoutManager) { + @Nullable + public RecyclerView.SmoothScroller createScroller(@NonNull RecyclerView.LayoutManager layoutManager) { if (!(layoutManager instanceof RecyclerView.SmoothScroller.ScrollVectorProvider)) { return null; } @@ -161,7 +162,7 @@ public class PagerSnapHelper extends SnapHelper { for (int i5 = 0; i5 < childCount; i5++) { View childAt = layoutManager.getChildAt(i5); if (childAt != null) { - int distanceToCenter = distanceToCenter(layoutManager, childAt, orientationHelper); + int distanceToCenter = distanceToCenter(childAt, orientationHelper); if (distanceToCenter <= 0 && distanceToCenter > i3) { view2 = childAt; i3 = distanceToCenter; diff --git a/app/src/main/java/androidx/recyclerview/widget/RecyclerView.java b/app/src/main/java/androidx/recyclerview/widget/RecyclerView.java index ab81cc6d3d..66068fd430 100644 --- a/app/src/main/java/androidx/recyclerview/widget/RecyclerView.java +++ b/app/src/main/java/androidx/recyclerview/widget/RecyclerView.java @@ -140,6 +140,9 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro public final ArrayList mItemDecorations; public boolean mItemsAddedOrRemoved; public boolean mItemsChanged; + private int mLastAutoMeasureNonExactMeasuredHeight; + private int mLastAutoMeasureNonExactMeasuredWidth; + private boolean mLastAutoMeasureSkippedDueToExact; private int mLastTouchX; private int mLastTouchY; @VisibleForTesting @@ -158,12 +161,13 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro private final ArrayList mOnItemTouchListeners; @VisibleForTesting public final List mPendingAccessibilityImportanceChange; - private SavedState mPendingSavedState; + public SavedState mPendingSavedState; public boolean mPostedAnimatorRunner; public GapWorker.LayoutPrefetchRegistryImpl mPrefetchRegistry; private boolean mPreserveFocusAfterLayout; public final Recycler mRecycler; public RecyclerListener mRecyclerListener; + public final List mRecyclerListeners; public final int[] mReusableIntPair; private EdgeEffect mRightGlow; private float mScaledHorizontalScrollFactor; @@ -223,7 +227,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } /* renamed from: androidx.recyclerview.widget.RecyclerView$3 reason: invalid class name */ - public static class AnonymousClass3 implements Interpolator { + public class AnonymousClass3 implements Interpolator { @Override // android.animation.TimeInterpolator public float getInterpolation(float f) { float f2 = f - 1.0f; @@ -288,7 +292,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro StringBuilder sb = new StringBuilder(); sb.append("Called attach on a child which is not detached: "); sb.append(childViewHolderInt); - throw new IllegalArgumentException(a.i(RecyclerView.this, sb)); + throw new IllegalArgumentException(a.l(RecyclerView.this, sb)); } } RecyclerView.access$000(RecyclerView.this, view, i, layoutParams); @@ -305,7 +309,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro StringBuilder sb = new StringBuilder(); sb.append("called detach on an already detached child "); sb.append(childViewHolderInt); - throw new IllegalArgumentException(a.i(RecyclerView.this, sb)); + throw new IllegalArgumentException(a.l(RecyclerView.this, sb)); } } RecyclerView.access$100(RecyclerView.this, i); @@ -443,24 +447,61 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } } + /* renamed from: androidx.recyclerview.widget.RecyclerView$7 reason: invalid class name */ + public static /* synthetic */ class AnonymousClass7 { + public static final /* synthetic */ int[] $SwitchMap$androidx$recyclerview$widget$RecyclerView$Adapter$StateRestorationPolicy; + + static { + Adapter.StateRestorationPolicy.values(); + int[] iArr = new int[3]; + $SwitchMap$androidx$recyclerview$widget$RecyclerView$Adapter$StateRestorationPolicy = iArr; + try { + iArr[Adapter.StateRestorationPolicy.PREVENT.ordinal()] = 1; + } catch (NoSuchFieldError unused) { + } + try { + $SwitchMap$androidx$recyclerview$widget$RecyclerView$Adapter$StateRestorationPolicy[Adapter.StateRestorationPolicy.PREVENT_WHEN_EMPTY.ordinal()] = 2; + } catch (NoSuchFieldError unused2) { + } + } + } + public static abstract class Adapter { private boolean mHasStableIds = false; private final AdapterDataObservable mObservable = new AdapterDataObservable(); + private StateRestorationPolicy mStateRestorationPolicy = StateRestorationPolicy.ALLOW; + + public enum StateRestorationPolicy { + ALLOW, + PREVENT_WHEN_EMPTY, + PREVENT + } public final void bindViewHolder(@NonNull VH vh, int i) { - vh.mPosition = i; - if (hasStableIds()) { - vh.mItemId = getItemId(i); + boolean z2 = vh.mBindingAdapter == null; + if (z2) { + vh.mPosition = i; + if (hasStableIds()) { + vh.mItemId = getItemId(i); + } + vh.setFlags(1, 519); + TraceCompat.beginSection(RecyclerView.TRACE_BIND_VIEW_TAG); } - vh.setFlags(1, 519); - TraceCompat.beginSection(RecyclerView.TRACE_BIND_VIEW_TAG); + vh.mBindingAdapter = this; onBindViewHolder(vh, i, vh.getUnmodifiedPayloads()); - vh.clearPayload(); - ViewGroup.LayoutParams layoutParams = vh.itemView.getLayoutParams(); - if (layoutParams instanceof LayoutParams) { - ((LayoutParams) layoutParams).mInsetsDirty = true; + if (z2) { + vh.clearPayload(); + ViewGroup.LayoutParams layoutParams = vh.itemView.getLayoutParams(); + if (layoutParams instanceof LayoutParams) { + ((LayoutParams) layoutParams).mInsetsDirty = true; + } + TraceCompat.endSection(); } - TraceCompat.endSection(); + } + + public boolean canRestoreState() { + int ordinal = this.mStateRestorationPolicy.ordinal(); + return ordinal != 1 ? ordinal != 2 : getItemCount() > 0; } @NonNull @@ -478,6 +519,13 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } } + public int findRelativeAdapterPositionIn(@NonNull Adapter adapter, @NonNull ViewHolder viewHolder, int i) { + if (adapter == this) { + return i; + } + return -1; + } + public abstract int getItemCount(); public long getItemId(int i) { @@ -488,6 +536,11 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro return 0; } + @NonNull + public final StateRestorationPolicy getStateRestorationPolicy() { + return this.mStateRestorationPolicy; + } + public final boolean hasObservers() { return this.mObservable.hasObservers(); } @@ -576,6 +629,11 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro throw new IllegalStateException("Cannot change whether this adapter has stable IDs while the adapter has registered observers."); } + public void setStateRestorationPolicy(@NonNull StateRestorationPolicy stateRestorationPolicy) { + this.mStateRestorationPolicy = stateRestorationPolicy; + this.mObservable.notifyStateRestorationPolicyChanged(); + } + public void unregisterAdapterDataObserver(@NonNull AdapterDataObserver adapterDataObserver) { this.mObservable.unregisterObserver(adapterDataObserver); } @@ -619,6 +677,12 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro ((AdapterDataObserver) ((Observable) this).mObservers.get(size)).onItemRangeRemoved(i, i2); } } + + public void notifyStateRestorationPolicyChanged() { + for (int size = ((Observable) this).mObservers.size() - 1; size >= 0; size--) { + ((AdapterDataObserver) ((Observable) this).mObservers.get(size)).onStateRestorationPolicyChanged(); + } + } } public static abstract class AdapterDataObserver { @@ -640,6 +704,9 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro public void onItemRangeRemoved(int i, int i2) { } + + public void onStateRestorationPolicyChanged() { + } } public interface ChildDrawingOrderCallback { @@ -719,8 +786,8 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro return i; } int oldPosition = viewHolder.getOldPosition(); - int adapterPosition = viewHolder.getAdapterPosition(); - return (oldPosition == -1 || adapterPosition == -1 || oldPosition == adapterPosition) ? i : i | 2048; + int absoluteAdapterPosition = viewHolder.getAbsoluteAdapterPosition(); + return (oldPosition == -1 || absoluteAdapterPosition == -1 || oldPosition == absoluteAdapterPosition) ? i : i | 2048; } public abstract boolean animateAppearance(@NonNull ViewHolder viewHolder, @Nullable ItemHolderInfo itemHolderInfo, @NonNull ItemHolderInfo itemHolderInfo2); @@ -1005,9 +1072,9 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro i = this.mChildHelper.getChildCount(); } if (indexOfChild == -1) { - StringBuilder O = a.O("Added View has RecyclerView as parent but view is not a real child. Unfiltered index:"); - O.append(this.mRecyclerView.indexOfChild(view)); - throw new IllegalStateException(a.i(this.mRecyclerView, O)); + StringBuilder R = a.R("Added View has RecyclerView as parent but view is not a real child. Unfiltered index:"); + R.append(this.mRecyclerView.indexOfChild(view)); + throw new IllegalStateException(a.l(this.mRecyclerView, R)); } else if (indexOfChild != i) { this.mRecyclerView.mLayout.moveView(indexOfChild, i); } @@ -1388,11 +1455,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } public int getColumnCountForAccessibility(@NonNull Recycler recycler, @NonNull State state) { - RecyclerView recyclerView = this.mRecyclerView; - if (recyclerView == null || recyclerView.mAdapter == null || !canScrollHorizontally()) { - return 1; - } - return this.mRecyclerView.mAdapter.getItemCount(); + return -1; } public int getDecoratedBottom(@NonNull View view) { @@ -1538,11 +1601,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } public int getRowCountForAccessibility(@NonNull Recycler recycler, @NonNull State state) { - RecyclerView recyclerView = this.mRecyclerView; - if (recyclerView == null || recyclerView.mAdapter == null || !canScrollVertically()) { - return 1; - } - return this.mRecyclerView.mAdapter.getItemCount(); + return -1; } public int getSelectionModeForAccessibility(@NonNull Recycler recycler, @NonNull State state) { @@ -1599,7 +1658,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro ViewParent parent = view.getParent(); RecyclerView recyclerView = this.mRecyclerView; if (parent != recyclerView || recyclerView.indexOfChild(view) == -1) { - throw new IllegalArgumentException(a.i(this.mRecyclerView, a.O("View should be fully attached to be ignored"))); + throw new IllegalArgumentException(a.l(this.mRecyclerView, a.R("View should be fully attached to be ignored"))); } ViewHolder childViewHolderInt = RecyclerView.getChildViewHolderInt(view); childViewHolderInt.addFlags(128); @@ -1771,7 +1830,6 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } public void onInitializeAccessibilityNodeInfoForItem(@NonNull Recycler recycler, @NonNull State state, @NonNull View view, @NonNull AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - accessibilityNodeInfoCompat.setCollectionItemInfo(AccessibilityNodeInfoCompat.CollectionItemInfoCompat.obtain(canScrollVertically() ? getPosition(view) : 0, 1, canScrollHorizontally() ? getPosition(view) : 0, 1, false, false)); } @Nullable @@ -2185,8 +2243,17 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro super((ViewGroup.LayoutParams) layoutParams); } + public int getAbsoluteAdapterPosition() { + return this.mViewHolder.getAbsoluteAdapterPosition(); + } + + public int getBindingAdapterPosition() { + return this.mViewHolder.getBindingAdapterPosition(); + } + + @Deprecated public int getViewAdapterPosition() { - return this.mViewHolder.getAdapterPosition(); + return this.mViewHolder.getBindingAdapterPosition(); } public int getViewLayoutPosition() { @@ -2433,6 +2500,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } private boolean tryBindViewHolderByDeadline(@NonNull ViewHolder viewHolder, int i, int i2, long j) { + viewHolder.mBindingAdapter = null; viewHolder.mOwnerRecyclerView = RecyclerView.this; int itemViewType = viewHolder.getItemViewType(); long nanoTime = RecyclerView.this.getNanoTime(); @@ -2460,6 +2528,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro if (z2) { dispatchViewRecycled(viewHolder); } + viewHolder.mBindingAdapter = null; viewHolder.mOwnerRecyclerView = null; getRecycledViewPool().putRecycledView(viewHolder); } @@ -2470,9 +2539,9 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro if (childViewHolderInt != null) { int findPositionOffset = RecyclerView.this.mAdapterHelper.findPositionOffset(i); if (findPositionOffset < 0 || findPositionOffset >= RecyclerView.this.mAdapter.getItemCount()) { - StringBuilder Q = a.Q("Inconsistency detected. Invalid item position ", i, "(offset:", findPositionOffset, ").state:"); - Q.append(RecyclerView.this.mState.getItemCount()); - throw new IndexOutOfBoundsException(a.i(RecyclerView.this, Q)); + StringBuilder U = a.U("Inconsistency detected. Invalid item position ", i, "(offset:", findPositionOffset, ").state:"); + U.append(RecyclerView.this.mState.getItemCount()); + throw new IndexOutOfBoundsException(a.l(RecyclerView.this, U)); } tryBindViewHolderByDeadline(childViewHolderInt, findPositionOffset, i, RecyclerView.FOREVER_NS); ViewGroup.LayoutParams layoutParams2 = childViewHolderInt.itemView.getLayoutParams(); @@ -2494,7 +2563,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro layoutParams.mPendingInvalidate = z2; return; } - throw new IllegalArgumentException(a.i(RecyclerView.this, a.O("The view does not have a ViewHolder. You cannot pass arbitrary views to this method, they should be created by the Adapter"))); + throw new IllegalArgumentException(a.l(RecyclerView.this, a.R("The view does not have a ViewHolder. You cannot pass arbitrary views to this method, they should be created by the Adapter"))); } public void clear() { @@ -2532,9 +2601,9 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro if (i >= 0 && i < RecyclerView.this.mState.getItemCount()) { return !RecyclerView.this.mState.isPreLayout() ? i : RecyclerView.this.mAdapterHelper.findPositionOffset(i); } - StringBuilder P = a.P("invalid position ", i, ". State item count is "); - P.append(RecyclerView.this.mState.getItemCount()); - throw new IndexOutOfBoundsException(a.i(RecyclerView.this, P)); + StringBuilder S = a.S("invalid position ", i, ". State item count is "); + S.append(RecyclerView.this.mState.getItemCount()); + throw new IndexOutOfBoundsException(a.l(RecyclerView.this, S)); } public void dispatchViewRecycled(@NonNull ViewHolder viewHolder) { @@ -2542,6 +2611,10 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro if (recyclerListener != null) { recyclerListener.onViewRecycled(viewHolder); } + int size = RecyclerView.this.mRecyclerListeners.size(); + for (int i = 0; i < size; i++) { + RecyclerView.this.mRecyclerListeners.get(i).onViewRecycled(viewHolder); + } Adapter adapter = RecyclerView.this.mAdapter; if (adapter != null) { adapter.onViewRecycled(viewHolder); @@ -2667,7 +2740,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro StringBuilder sb = new StringBuilder(); sb.append("layout index should not be -1 after unhiding a view:"); sb.append(childViewHolderInt); - throw new IllegalStateException(a.i(RecyclerView.this, sb)); + throw new IllegalStateException(a.l(RecyclerView.this, sb)); } public View getScrapViewAt(int i) { @@ -2713,7 +2786,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro for (int i3 = 0; i3 < size; i3++) { ViewHolder viewHolder = this.mCachedViews.get(i3); if (viewHolder != null && viewHolder.mPosition >= i) { - viewHolder.offsetPosition(i2, true); + viewHolder.offsetPosition(i2, false); } } } @@ -2809,19 +2882,19 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro boolean z2 = false; boolean z3 = true; if (viewHolder.isScrap() || viewHolder.itemView.getParent() != null) { - StringBuilder O = a.O("Scrapped or attached views may not be recycled. isScrap:"); - O.append(viewHolder.isScrap()); - O.append(" isAttached:"); + StringBuilder R = a.R("Scrapped or attached views may not be recycled. isScrap:"); + R.append(viewHolder.isScrap()); + R.append(" isAttached:"); if (viewHolder.itemView.getParent() != null) { z2 = true; } - O.append(z2); - throw new IllegalArgumentException(a.i(RecyclerView.this, O)); + R.append(z2); + throw new IllegalArgumentException(a.l(RecyclerView.this, R)); } else if (viewHolder.isTmpDetached()) { StringBuilder sb = new StringBuilder(); sb.append("Tmp detached view should be removed from RecyclerView before it can be recycled: "); sb.append(viewHolder); - throw new IllegalArgumentException(a.i(RecyclerView.this, sb)); + throw new IllegalArgumentException(a.l(RecyclerView.this, sb)); } else if (!viewHolder.shouldIgnore()) { boolean doesTransientStatePreventRecycling = viewHolder.doesTransientStatePreventRecycling(); Adapter adapter = RecyclerView.this.mAdapter; @@ -2850,6 +2923,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro addViewHolderToRecycledViewPool(viewHolder, true); RecyclerView.this.mViewInfoStore.removeViewHolder(viewHolder); if (!z2 && !z3 && doesTransientStatePreventRecycling) { + viewHolder.mBindingAdapter = null; viewHolder.mOwnerRecyclerView = null; return; } @@ -2861,7 +2935,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro if (!z2) { } } else { - throw new IllegalArgumentException(a.i(RecyclerView.this, a.O("Trying to recycle an ignored view holder. You should first call stopIgnoringView(view) before calling recycle."))); + throw new IllegalArgumentException(a.l(RecyclerView.this, a.R("Trying to recycle an ignored view holder. You should first call stopIgnoringView(view) before calling recycle."))); } } @@ -2877,7 +2951,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro childViewHolderInt.setScrapContainer(this, false); this.mAttachedScrap.add(childViewHolderInt); } else { - throw new IllegalArgumentException(a.i(RecyclerView.this, a.O("Called scrap view with an invalid view. Invalid views cannot be reused from scrap, they should rebound from recycler pool."))); + throw new IllegalArgumentException(a.l(RecyclerView.this, a.R("Called scrap view with an invalid view. Invalid views cannot be reused from scrap, they should rebound from recycler pool."))); } } @@ -2920,9 +2994,9 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro ViewCacheExtension viewCacheExtension; View viewForPositionAndType; if (i < 0 || i >= RecyclerView.this.mState.getItemCount()) { - StringBuilder Q = a.Q("Invalid item position ", i, "(", i, "). Item count:"); - Q.append(RecyclerView.this.mState.getItemCount()); - throw new IndexOutOfBoundsException(a.i(RecyclerView.this, Q)); + StringBuilder U = a.U("Invalid item position ", i, "(", i, "). Item count:"); + U.append(RecyclerView.this.mState.getItemCount()); + throw new IndexOutOfBoundsException(a.l(RecyclerView.this, U)); } boolean z5 = true; if (RecyclerView.this.mState.isPreLayout()) { @@ -2949,9 +3023,9 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro if (viewHolder == null) { int findPositionOffset = RecyclerView.this.mAdapterHelper.findPositionOffset(i); if (findPositionOffset < 0 || findPositionOffset >= RecyclerView.this.mAdapter.getItemCount()) { - StringBuilder Q2 = a.Q("Inconsistency detected. Invalid item position ", i, "(offset:", findPositionOffset, ").state:"); - Q2.append(RecyclerView.this.mState.getItemCount()); - throw new IndexOutOfBoundsException(a.i(RecyclerView.this, Q2)); + StringBuilder U2 = a.U("Inconsistency detected. Invalid item position ", i, "(offset:", findPositionOffset, ").state:"); + U2.append(RecyclerView.this.mState.getItemCount()); + throw new IndexOutOfBoundsException(a.l(RecyclerView.this, U2)); } int itemViewType = RecyclerView.this.mAdapter.getItemViewType(findPositionOffset); if (RecyclerView.this.mAdapter.hasStableIds() && (viewHolder = getScrapOrCachedViewForId(RecyclerView.this.mAdapter.getItemId(findPositionOffset), itemViewType, z2)) != null) { @@ -2961,9 +3035,9 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro if (!(viewHolder != null || (viewCacheExtension = this.mViewCacheExtension) == null || (viewForPositionAndType = viewCacheExtension.getViewForPositionAndType(this, i, itemViewType)) == null)) { viewHolder = RecyclerView.this.getChildViewHolder(viewForPositionAndType); if (viewHolder == null) { - throw new IllegalArgumentException(a.i(RecyclerView.this, a.O("getViewForPositionAndType returned a view which does not have a ViewHolder"))); + throw new IllegalArgumentException(a.l(RecyclerView.this, a.R("getViewForPositionAndType returned a view which does not have a ViewHolder"))); } else if (viewHolder.shouldIgnore()) { - throw new IllegalArgumentException(a.i(RecyclerView.this, a.O("getViewForPositionAndType returned a view that is ignored. You must call stopIgnoring before returning this view."))); + throw new IllegalArgumentException(a.l(RecyclerView.this, a.R("getViewForPositionAndType returned a view that is ignored. You must call stopIgnoring before returning this view."))); } } if (viewHolder == null) { @@ -3093,7 +3167,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro StringBuilder sb = new StringBuilder(); sb.append("Inconsistency detected. Invalid view holder adapter position"); sb.append(viewHolder); - throw new IndexOutOfBoundsException(a.i(RecyclerView.this, sb)); + throw new IndexOutOfBoundsException(a.l(RecyclerView.this, sb)); } else if (RecyclerView.this.mState.isPreLayout() || RecyclerView.this.mAdapter.getItemViewType(viewHolder.mPosition) == viewHolder.getItemViewType()) { return !RecyclerView.this.mAdapter.hasStableIds() || viewHolder.getItemId() == RecyclerView.this.mAdapter.getItemId(viewHolder.mPosition); } else { @@ -3165,6 +3239,15 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } } + @Override // androidx.recyclerview.widget.RecyclerView.AdapterDataObserver + public void onStateRestorationPolicyChanged() { + Adapter adapter; + RecyclerView recyclerView = RecyclerView.this; + if (recyclerView.mPendingSavedState != null && (adapter = recyclerView.mAdapter) != null && adapter.canRestoreState()) { + RecyclerView.this.requestLayout(); + } + } + public void triggerUpdateProcessor() { if (RecyclerView.POST_UPDATES_ON_ANIMATION) { RecyclerView recyclerView = RecyclerView.this; @@ -3185,7 +3268,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro public Parcelable mLayoutState; /* renamed from: androidx.recyclerview.widget.RecyclerView$SavedState$1 reason: invalid class name */ - public static class AnonymousClass1 implements Parcelable.ClassLoaderCreator { + public class AnonymousClass1 implements Parcelable.ClassLoaderCreator { @Override // android.os.Parcelable.Creator public SavedState createFromParcel(Parcel parcel) { return new SavedState(parcel, null); @@ -3370,9 +3453,9 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro if (layoutManager instanceof ScrollVectorProvider) { return ((ScrollVectorProvider) layoutManager).computeScrollVectorForPosition(i); } - StringBuilder O = a.O("You should override computeScrollVectorForPosition when the LayoutManager does not implement "); - O.append(ScrollVectorProvider.class.getCanonicalName()); - Log.w(RecyclerView.TAG, O.toString()); + StringBuilder R = a.R("You should override computeScrollVectorForPosition when the LayoutManager does not implement "); + R.append(ScrollVectorProvider.class.getCanonicalName()); + Log.w(RecyclerView.TAG, R.toString()); return null; } @@ -3474,12 +3557,12 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro public void start(RecyclerView recyclerView, LayoutManager layoutManager) { recyclerView.mViewFlinger.stop(); if (this.mStarted) { - StringBuilder O = a.O("An instance of "); - O.append(getClass().getSimpleName()); - O.append(" was started more than once. Each instance of"); - O.append(getClass().getSimpleName()); - O.append(" is intended to only be used once. You should create a new instance for each use."); - Log.w(RecyclerView.TAG, O.toString()); + StringBuilder R = a.R("An instance of "); + R.append(getClass().getSimpleName()); + R.append(" was started more than once. Each instance of"); + R.append(getClass().getSimpleName()); + R.append(" is intended to only be used once. You should create a new instance for each use."); + Log.w(RecyclerView.TAG, R.toString()); } this.mRecyclerView = recyclerView; this.mLayoutManager = layoutManager; @@ -3536,11 +3619,11 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro public void assertLayoutStep(int i) { if ((this.mLayoutStep & i) == 0) { - StringBuilder O = a.O("Layout state should be one of "); - O.append(Integer.toBinaryString(i)); - O.append(" but it is "); - O.append(Integer.toBinaryString(this.mLayoutStep)); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Layout state should be one of "); + R.append(Integer.toBinaryString(i)); + R.append(" but it is "); + R.append(Integer.toBinaryString(this.mLayoutStep)); + throw new IllegalStateException(R.toString()); } } @@ -3607,28 +3690,28 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } public String toString() { - StringBuilder O = a.O("State{mTargetPosition="); - O.append(this.mTargetPosition); - O.append(", mData="); - O.append(this.mData); - O.append(", mItemCount="); - O.append(this.mItemCount); - O.append(", mIsMeasuring="); - O.append(this.mIsMeasuring); - O.append(", mPreviousLayoutItemCount="); - O.append(this.mPreviousLayoutItemCount); - O.append(", mDeletedInvisibleItemCountSincePreviousLayout="); - O.append(this.mDeletedInvisibleItemCountSincePreviousLayout); - O.append(", mStructureChanged="); - O.append(this.mStructureChanged); - O.append(", mInPreLayout="); - O.append(this.mInPreLayout); - O.append(", mRunSimpleAnimations="); - O.append(this.mRunSimpleAnimations); - O.append(", mRunPredictiveAnimations="); - O.append(this.mRunPredictiveAnimations); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("State{mTargetPosition="); + R.append(this.mTargetPosition); + R.append(", mData="); + R.append(this.mData); + R.append(", mItemCount="); + R.append(this.mItemCount); + R.append(", mIsMeasuring="); + R.append(this.mIsMeasuring); + R.append(", mPreviousLayoutItemCount="); + R.append(this.mPreviousLayoutItemCount); + R.append(", mDeletedInvisibleItemCountSincePreviousLayout="); + R.append(this.mDeletedInvisibleItemCountSincePreviousLayout); + R.append(", mStructureChanged="); + R.append(this.mStructureChanged); + R.append(", mInPreLayout="); + R.append(this.mInPreLayout); + R.append(", mRunSimpleAnimations="); + R.append(this.mRunSimpleAnimations); + R.append(", mRunPredictiveAnimations="); + R.append(this.mRunPredictiveAnimations); + R.append('}'); + return R.toString(); } public boolean willRunPredictiveAnimations() { @@ -3659,32 +3742,16 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro this.mOverScroller = new OverScroller(RecyclerView.this.getContext(), interpolator); } - private int computeScrollDuration(int i, int i2, int i3, int i4) { - int i5; + private int computeScrollDuration(int i, int i2) { int abs = Math.abs(i); int abs2 = Math.abs(i2); boolean z2 = abs > abs2; - int sqrt = (int) Math.sqrt((double) ((i4 * i4) + (i3 * i3))); - int sqrt2 = (int) Math.sqrt((double) ((i2 * i2) + (i * i))); RecyclerView recyclerView = RecyclerView.this; int width = z2 ? recyclerView.getWidth() : recyclerView.getHeight(); - int i6 = width / 2; - float f = (float) width; - float f2 = (float) i6; - float distanceInfluenceForSnapDuration = (distanceInfluenceForSnapDuration(Math.min(1.0f, (((float) sqrt2) * 1.0f) / f)) * f2) + f2; - if (sqrt > 0) { - i5 = Math.round(Math.abs(distanceInfluenceForSnapDuration / ((float) sqrt)) * 1000.0f) * 4; - } else { - if (!z2) { - abs = abs2; - } - i5 = (int) (((((float) abs) / f) + 1.0f) * 300.0f); + if (!z2) { + abs = abs2; } - return Math.min(i5, 2000); - } - - private float distanceInfluenceForSnapDuration(float f) { - return (float) Math.sin((double) ((f - 0.5f) * 0.47123894f)); + return Math.min((int) (((((float) abs) / ((float) width)) + 1.0f) * 300.0f), 2000); } private void internalPostOnAnimation() { @@ -3832,7 +3899,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro public void smoothScrollBy(int i, int i2, int i3, @Nullable Interpolator interpolator) { if (i3 == Integer.MIN_VALUE) { - i3 = computeScrollDuration(i, i2, 0, 0); + i3 = computeScrollDuration(i, i2); } if (interpolator == null) { interpolator = RecyclerView.sQuinticInterpolator; @@ -3875,6 +3942,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro public static final int PENDING_ACCESSIBILITY_STATE_NOT_SET = -1; @NonNull public final View itemView; + public Adapter mBindingAdapter; public int mFlags; public boolean mInChangeScrap = false; private int mIsRecyclableCount = 0; @@ -3954,12 +4022,32 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro this.mPosition = i; } - public final int getAdapterPosition() { + public final int getAbsoluteAdapterPosition() { RecyclerView recyclerView = this.mOwnerRecyclerView; if (recyclerView == null) { return -1; } - return recyclerView.getAdapterPositionFor(this); + return recyclerView.getAdapterPositionInRecyclerView(this); + } + + @Deprecated + public final int getAdapterPosition() { + return getBindingAdapterPosition(); + } + + @Nullable + public final Adapter getBindingAdapter() { + return this.mBindingAdapter; + } + + public final int getBindingAdapterPosition() { + RecyclerView recyclerView; + Adapter adapter; + int adapterPositionInRecyclerView; + if (this.mBindingAdapter == null || (recyclerView = this.mOwnerRecyclerView) == null || (adapter = recyclerView.getAdapter()) == null || (adapterPositionInRecyclerView = this.mOwnerRecyclerView.getAdapterPositionInRecyclerView(this)) == -1) { + return -1; + } + return adapter.findRelativeAdapterPositionIn(this.mBindingAdapter, this, adapterPositionInRecyclerView); } public final long getItemId() { @@ -4125,17 +4213,17 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } public String toString() { - StringBuilder S = a.S(getClass().isAnonymousClass() ? "ViewHolder" : getClass().getSimpleName(), "{"); - S.append(Integer.toHexString(hashCode())); - S.append(" position="); - S.append(this.mPosition); - S.append(" id="); - S.append(this.mItemId); - S.append(", oldPos="); - S.append(this.mOldPosition); - S.append(", pLpos:"); - S.append(this.mPreLayoutPosition); - StringBuilder sb = new StringBuilder(S.toString()); + StringBuilder V = a.V(getClass().isAnonymousClass() ? "ViewHolder" : getClass().getSimpleName(), "{"); + V.append(Integer.toHexString(hashCode())); + V.append(" position="); + V.append(this.mPosition); + V.append(" id="); + V.append(this.mItemId); + V.append(", oldPos="); + V.append(this.mOldPosition); + V.append(", pLpos:"); + V.append(this.mPreLayoutPosition); + StringBuilder sb = new StringBuilder(V.toString()); if (isScrap()) { sb.append(" scrap "); sb.append(this.mInChangeScrap ? "[changeScrap]" : "[attachedScrap]"); @@ -4159,10 +4247,10 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro sb.append(" tmpDetached"); } if (!isRecyclable()) { - StringBuilder O = a.O(" not recyclable("); - O.append(this.mIsRecyclableCount); - O.append(")"); - sb.append(O.toString()); + StringBuilder R = a.R(" not recyclable("); + R.append(this.mIsRecyclableCount); + R.append(")"); + sb.append(R.toString()); } if (isAdapterPositionUnknown()) { sb.append(" undefined adapter position"); @@ -4205,6 +4293,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro this.mTempRect = new Rect(); this.mTempRect2 = new Rect(); this.mTempRectF = new RectF(); + this.mRecyclerListeners = new ArrayList(); this.mItemDecorations = new ArrayList<>(); this.mOnItemTouchListeners = new ArrayList<>(); this.mInterceptRequestLayoutDepth = 0; @@ -4232,6 +4321,8 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro this.mReusableIntPair = new int[2]; this.mPendingAccessibilityImportanceChange = new ArrayList(); this.mItemAnimatorRunner = new AnonymousClass2(); + this.mLastAutoMeasureNonExactMeasuredWidth = 0; + this.mLastAutoMeasureNonExactMeasuredHeight = 0; this.mViewInfoProcessCallback = new AnonymousClass4(); setScrollContainer(true); setFocusableInTouchMode(true); @@ -4253,10 +4344,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro setAccessibilityDelegateCompat(new RecyclerViewAccessibilityDelegate(this)); int[] iArr = R.styleable.RecyclerView; TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, iArr, i, 0); - int i2 = Build.VERSION.SDK_INT; - if (i2 >= 29) { - saveAttributeDataForStyleable(context, iArr, attributeSet, obtainStyledAttributes, i, 0); - } + ViewCompat.saveAttributeDataForStyleable(this, context, iArr, attributeSet, obtainStyledAttributes, i, 0); String string = obtainStyledAttributes.getString(R.styleable.RecyclerView_layoutManager); if (obtainStyledAttributes.getInt(R.styleable.RecyclerView_android_descendantFocusability, -1) == -1) { setDescendantFocusability(262144); @@ -4271,9 +4359,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro createLayoutManager(context, string, attributeSet, i, 0); int[] iArr2 = NESTED_SCROLLING_ATTRS; TypedArray obtainStyledAttributes2 = context.obtainStyledAttributes(attributeSet, iArr2, i, 0); - if (i2 >= 29) { - saveAttributeDataForStyleable(context, iArr2, attributeSet, obtainStyledAttributes2, i, 0); - } + ViewCompat.saveAttributeDataForStyleable(this, context, iArr2, attributeSet, obtainStyledAttributes2, i, 0); boolean z3 = obtainStyledAttributes2.getBoolean(0, true); obtainStyledAttributes2.recycle(); setNestedScrollingEnabled(z3); @@ -4473,13 +4559,19 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro this.mState.assertLayoutStep(6); this.mAdapterHelper.consumeUpdatesInOnePass(); this.mState.mItemCount = this.mAdapter.getItemCount(); + this.mState.mDeletedInvisibleItemCountSincePreviousLayout = 0; + if (this.mPendingSavedState != null && this.mAdapter.canRestoreState()) { + Parcelable parcelable = this.mPendingSavedState.mLayoutState; + if (parcelable != null) { + this.mLayout.onRestoreInstanceState(parcelable); + } + this.mPendingSavedState = null; + } State state = this.mState; - state.mDeletedInvisibleItemCountSincePreviousLayout = 0; state.mInPreLayout = false; this.mLayout.onLayoutChildren(this.mRecycler, state); State state2 = this.mState; state2.mStructureChanged = false; - this.mPendingSavedState = null; state2.mRunSimpleAnimations = state2.mRunSimpleAnimations && this.mItemAnimator != null; state2.mLayoutStep = 4; onExitLayoutOrScroll(); @@ -4706,14 +4798,14 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro sb.append(childViewHolderInt); sb.append(" \n View Holder 2:"); sb.append(viewHolder); - throw new IllegalStateException(a.i(this, sb)); + throw new IllegalStateException(a.l(this, sb)); } StringBuilder sb2 = new StringBuilder(); sb2.append("Two different ViewHolders have the same stable ID. Stable IDs in your adapter MUST BE unique and SHOULD NOT change.\n ViewHolder 1:"); sb2.append(childViewHolderInt); sb2.append(" \n View Holder 2:"); sb2.append(viewHolder); - throw new IllegalStateException(a.i(this, sb2)); + throw new IllegalStateException(a.l(this, sb2)); } } Log.e(TAG, "Problem while matching changed view holders with the newones. The pre-layout information for the change holder " + viewHolder2 + " cannot be found but it is necessary for " + viewHolder + exceptionLabel()); @@ -4743,7 +4835,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro private boolean isPreferredNextFocus(View view, View view2, int i) { int i2; - if (view2 == null || view2 == this || findContainingItemView(view2) == null) { + if (view2 == null || view2 == this || view2 == view || findContainingItemView(view2) == null) { return false; } if (view == null || findContainingItemView(view) == null) { @@ -4778,10 +4870,10 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } } if (i == 1) { - return c2 < 0 || (c2 == 0 && i2 * i3 <= 0); + return c2 < 0 || (c2 == 0 && i2 * i3 < 0); } if (i == 2) { - return c2 > 0 || (c2 == 0 && i2 * i3 >= 0); + return c2 > 0 || (c2 == 0 && i2 * i3 > 0); } if (i == 17) { return i2 < 0; @@ -4798,7 +4890,41 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro StringBuilder sb = new StringBuilder(); sb.append("Invalid direction: "); sb.append(i); - throw new IllegalArgumentException(a.i(this, sb)); + throw new IllegalArgumentException(a.l(this, sb)); + } + + private void nestedScrollByInternal(int i, int i2, @Nullable MotionEvent motionEvent, int i3) { + LayoutManager layoutManager = this.mLayout; + if (layoutManager == null) { + Log.e(TAG, "Cannot scroll without a LayoutManager set. Call setLayoutManager with a non-null argument."); + } else if (!this.mLayoutSuppressed) { + int[] iArr = this.mReusableIntPair; + int i4 = 0; + iArr[0] = 0; + iArr[1] = 0; + boolean canScrollHorizontally = layoutManager.canScrollHorizontally(); + boolean canScrollVertically = this.mLayout.canScrollVertically(); + int i5 = canScrollHorizontally ? 1 : 0; + if (canScrollVertically) { + i5 |= 2; + } + startNestedScroll(i5, i3); + if (dispatchNestedPreScroll(canScrollHorizontally ? i : 0, canScrollVertically ? i2 : 0, this.mReusableIntPair, this.mScrollOffset, i3)) { + int[] iArr2 = this.mReusableIntPair; + i -= iArr2[0]; + i2 -= iArr2[1]; + } + int i6 = canScrollHorizontally ? i : 0; + if (canScrollVertically) { + i4 = i2; + } + scrollByInternal(i6, i4, motionEvent, i3); + GapWorker gapWorker = this.mGapWorker; + if (!(gapWorker == null || (i == 0 && i2 == 0))) { + gapWorker.postFromTraversal(this, i, i2); + } + stopNestedScroll(i3); + } } private void onPointerUp(MotionEvent motionEvent) { @@ -4988,7 +5114,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro return; } this.mState.mFocusedItemId = this.mAdapter.hasStableIds() ? viewHolder.getItemId() : -1; - this.mState.mFocusedItemPosition = this.mDataSetHasChangedAfterLayout ? -1 : viewHolder.isRemoved() ? viewHolder.mOldPosition : viewHolder.getAdapterPosition(); + this.mState.mFocusedItemPosition = this.mDataSetHasChangedAfterLayout ? -1 : viewHolder.isRemoved() ? viewHolder.mOldPosition : viewHolder.getAbsoluteAdapterPosition(); this.mState.mFocusedSubChildId = getDeepestFocusedViewWithId(viewHolder.itemView); } @@ -5099,6 +5225,11 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro this.mScrollListeners.add(onScrollListener); } + public void addRecyclerListener(@NonNull RecyclerListener recyclerListener) { + Preconditions.checkArgument(recyclerListener != null, "'listener' arg cannot be null."); + this.mRecyclerListeners.add(recyclerListener); + } + public void animateAppearance(@NonNull ViewHolder viewHolder, @Nullable ItemAnimator.ItemHolderInfo itemHolderInfo, @NonNull ItemAnimator.ItemHolderInfo itemHolderInfo2) { viewHolder.setIsRecyclable(false); if (this.mItemAnimator.animateAppearance(viewHolder, itemHolderInfo, itemHolderInfo2)) { @@ -5119,19 +5250,19 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro return; } if (str == null) { - throw new IllegalStateException(a.i(this, a.O("Cannot call this method unless RecyclerView is computing a layout or scrolling"))); + throw new IllegalStateException(a.l(this, a.R("Cannot call this method unless RecyclerView is computing a layout or scrolling"))); } - throw new IllegalStateException(a.i(this, a.O(str))); + throw new IllegalStateException(a.l(this, a.R(str))); } public void assertNotInLayoutOrScroll(String str) { if (isComputingLayout()) { if (str == null) { - throw new IllegalStateException(a.i(this, a.O("Cannot call this method while RecyclerView is computing a layout or scrolling"))); + throw new IllegalStateException(a.l(this, a.R("Cannot call this method while RecyclerView is computing a layout or scrolling"))); } throw new IllegalStateException(str); } else if (this.mDispatchScrollCounter > 0) { - Log.w(TAG, "Cannot call this method in a scroll callback. Scroll callbacks mightbe run during a measure & layout pass where you cannot change theRecyclerView data. Any method call that might change the structureof the RecyclerView or the adapter contents should be postponed tothe next frame.", new IllegalStateException(a.i(this, a.O("")))); + Log.w(TAG, "Cannot call this method in a scroll callback. Scroll callbacks mightbe run during a measure & layout pass where you cannot change theRecyclerView data. Any method call that might change the structureof the RecyclerView or the adapter contents should be postponed tothe next frame.", new IllegalStateException(a.l(this, a.R("")))); } } @@ -5318,21 +5449,24 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro public void dispatchLayout() { if (this.mAdapter == null) { - Log.e(TAG, "No adapter attached; skipping layout"); + Log.w(TAG, "No adapter attached; skipping layout"); } else if (this.mLayout == null) { Log.e(TAG, "No layout manager attached; skipping layout"); } else { - State state = this.mState; - state.mIsMeasuring = false; - if (state.mLayoutStep == 1) { + this.mState.mIsMeasuring = false; + boolean z2 = this.mLastAutoMeasureSkippedDueToExact && !(this.mLastAutoMeasureNonExactMeasuredWidth == getWidth() && this.mLastAutoMeasureNonExactMeasuredHeight == getHeight()); + this.mLastAutoMeasureNonExactMeasuredWidth = 0; + this.mLastAutoMeasureNonExactMeasuredHeight = 0; + this.mLastAutoMeasureSkippedDueToExact = false; + if (this.mState.mLayoutStep == 1) { dispatchLayoutStep1(); this.mLayout.setExactMeasureSpecsFrom(this); dispatchLayoutStep2(); - } else if (!this.mAdapterHelper.hasUpdates() && this.mLayout.getWidth() == getWidth() && this.mLayout.getHeight() == getHeight()) { - this.mLayout.setExactMeasureSpecsFrom(this); - } else { + } else if (this.mAdapterHelper.hasUpdates() || z2 || this.mLayout.getWidth() != getWidth() || this.mLayout.getHeight() != getHeight()) { this.mLayout.setExactMeasureSpecsFrom(this); dispatchLayoutStep2(); + } else { + this.mLayout.setExactMeasureSpecsFrom(this); } dispatchLayoutStep3(); } @@ -5476,7 +5610,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro int width = getWidth(); int paddingTop = this.mClipToPadding ? getPaddingTop() : 0; canvas.rotate(90.0f); - canvas.translate((float) (-paddingTop), (float) (-width)); + canvas.translate((float) paddingTop, (float) (-width)); EdgeEffect edgeEffect6 = this.mRightGlow; z2 |= edgeEffect6 != null && edgeEffect6.draw(canvas); canvas.restoreToCount(save3); @@ -5559,15 +5693,15 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } public String exceptionLabel() { - StringBuilder O = a.O(" "); - O.append(super.toString()); - O.append(", adapter:"); - O.append(this.mAdapter); - O.append(", layout:"); - O.append(this.mLayout); - O.append(", context:"); - O.append(getContext()); - return O.toString(); + StringBuilder R = a.R(" "); + R.append(super.toString()); + R.append(", adapter:"); + R.append(this.mAdapter); + R.append(", layout:"); + R.append(this.mLayout); + R.append(", context:"); + R.append(getContext()); + return R.toString(); } public final void fillRemainingScrollValues(State state) { @@ -5625,7 +5759,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro int unfilteredChildCount = this.mChildHelper.getUnfilteredChildCount(); for (int i2 = 0; i2 < unfilteredChildCount; i2++) { ViewHolder childViewHolderInt = getChildViewHolderInt(this.mChildHelper.getUnfilteredChildAt(i2)); - if (childViewHolderInt != null && !childViewHolderInt.isRemoved() && getAdapterPositionFor(childViewHolderInt) == i) { + if (childViewHolderInt != null && !childViewHolderInt.isRemoved() && getAdapterPositionInRecyclerView(childViewHolderInt) == i) { if (!this.mChildHelper.isHidden(childViewHolderInt.itemView)) { return childViewHolderInt; } @@ -5806,7 +5940,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro if (layoutManager != null) { return layoutManager.generateDefaultLayoutParams(); } - throw new IllegalStateException(a.i(this, a.O("RecyclerView has no LayoutManager"))); + throw new IllegalStateException(a.l(this, a.R("RecyclerView has no LayoutManager"))); } @Override // android.view.ViewGroup @@ -5815,7 +5949,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro if (layoutManager != null) { return layoutManager.generateLayoutParams(getContext(), attributeSet); } - throw new IllegalStateException(a.i(this, a.O("RecyclerView has no LayoutManager"))); + throw new IllegalStateException(a.l(this, a.R("RecyclerView has no LayoutManager"))); } @Override // android.view.ViewGroup @@ -5824,7 +5958,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro if (layoutManager != null) { return layoutManager.generateLayoutParams(layoutParams); } - throw new IllegalStateException(a.i(this, a.O("RecyclerView has no LayoutManager"))); + throw new IllegalStateException(a.l(this, a.R("RecyclerView has no LayoutManager"))); } @Override // android.view.ViewGroup, android.view.View @@ -5837,7 +5971,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro return this.mAdapter; } - public int getAdapterPositionFor(ViewHolder viewHolder) { + public int getAdapterPositionInRecyclerView(ViewHolder viewHolder) { if (viewHolder.hasAnyOfTheFlags(524) || !viewHolder.isBound()) { return -1; } @@ -5857,7 +5991,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro public int getChildAdapterPosition(@NonNull View view) { ViewHolder childViewHolderInt = getChildViewHolderInt(view); if (childViewHolderInt != null) { - return childViewHolderInt.getAdapterPosition(); + return childViewHolderInt.getAbsoluteAdapterPosition(); } return -1; } @@ -6023,7 +6157,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro @VisibleForTesting public void initFastScroller(StateListDrawable stateListDrawable, Drawable drawable, StateListDrawable stateListDrawable2, Drawable drawable2) { if (stateListDrawable == null || drawable == null || stateListDrawable2 == null || drawable2 == null) { - throw new IllegalArgumentException(a.i(this, a.O("Trying to set fast scroller without both required drawables."))); + throw new IllegalArgumentException(a.l(this, a.R("Trying to set fast scroller without both required drawables."))); } Resources resources = getContext().getResources(); new FastScroller(this, stateListDrawable, drawable, stateListDrawable2, drawable2, resources.getDimensionPixelSize(R.dimen.fastscroll_default_thickness), resources.getDimensionPixelSize(R.dimen.fastscroll_minimum_range), resources.getDimensionPixelOffset(R.dimen.fastscroll_margin)); @@ -6109,6 +6243,10 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro this.mRecycler.markKnownViewsInvalid(); } + public void nestedScrollBy(int i, int i2) { + nestedScrollByInternal(i, i2, null, 1); + } + public void offsetChildrenHorizontal(@Px int i) { int childCount = this.mChildHelper.getChildCount(); for (int i2 = 0; i2 < childCount; i2++) { @@ -6291,7 +6429,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro if (this.mLayout.canScrollHorizontally()) { f = motionEvent.getAxisValue(10); if (!(f2 == 0.0f && f == 0.0f)) { - scrollByInternal((int) (f * this.mScaledHorizontalScrollFactor), (int) (f2 * this.mScaledVerticalScrollFactor), motionEvent); + nestedScrollByInternal((int) (f * this.mScaledHorizontalScrollFactor), (int) (f2 * this.mScaledVerticalScrollFactor), motionEvent, 1); } } } else { @@ -6302,13 +6440,13 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } else if (this.mLayout.canScrollHorizontally()) { f = axisValue; f2 = 0.0f; - scrollByInternal((int) (f * this.mScaledHorizontalScrollFactor), (int) (f2 * this.mScaledVerticalScrollFactor), motionEvent); + nestedScrollByInternal((int) (f * this.mScaledHorizontalScrollFactor), (int) (f2 * this.mScaledVerticalScrollFactor), motionEvent, 1); } } f2 = 0.0f; } f = 0.0f; - scrollByInternal((int) (f * this.mScaledHorizontalScrollFactor), (int) (f2 * this.mScaledVerticalScrollFactor), motionEvent); + nestedScrollByInternal((int) (f * this.mScaledHorizontalScrollFactor), (int) (f2 * this.mScaledVerticalScrollFactor), motionEvent, 1); } return false; } @@ -6370,10 +6508,10 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } else if (actionMasked == 2) { int findPointerIndex = motionEvent.findPointerIndex(this.mScrollPointerId); if (findPointerIndex < 0) { - StringBuilder O = a.O("Error processing scroll; pointer index for id "); - O.append(this.mScrollPointerId); - O.append(" not found. Did any MotionEvents get skipped?"); - Log.e(TAG, O.toString()); + StringBuilder R = a.R("Error processing scroll; pointer index for id "); + R.append(this.mScrollPointerId); + R.append(" not found. Did any MotionEvents get skipped?"); + Log.e(TAG, R.toString()); return false; } int x3 = (int) (motionEvent.getX(findPointerIndex) + 0.5f); @@ -6434,6 +6572,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro if (mode == 1073741824 && mode2 == 1073741824) { z2 = true; } + this.mLastAutoMeasureSkippedDueToExact = z2; if (!z2 && this.mAdapter != null) { if (this.mState.mLayoutStep == 1) { dispatchLayoutStep1(); @@ -6448,6 +6587,8 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro dispatchLayoutStep2(); this.mLayout.setMeasuredDimensionFromChildren(i, i2); } + this.mLastAutoMeasureNonExactMeasuredWidth = getMeasuredWidth(); + this.mLastAutoMeasureNonExactMeasuredHeight = getMeasuredHeight(); } } else if (this.mHasFixedSize) { this.mLayout.onMeasure(this.mRecycler, this.mState, i, i2); @@ -6493,7 +6634,6 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro @Override // android.view.View public void onRestoreInstanceState(Parcelable parcelable) { - Parcelable parcelable2; if (!(parcelable instanceof SavedState)) { super.onRestoreInstanceState(parcelable); return; @@ -6501,10 +6641,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro SavedState savedState = (SavedState) parcelable; this.mPendingSavedState = savedState; super.onRestoreInstanceState(savedState.getSuperState()); - LayoutManager layoutManager = this.mLayout; - if (layoutManager != null && (parcelable2 = this.mPendingSavedState.mLayoutState) != null) { - layoutManager.onRestoreInstanceState(parcelable2); - } + requestLayout(); } @Override // android.view.View @@ -6600,10 +6737,10 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } else if (actionMasked == 2) { int findPointerIndex = motionEvent.findPointerIndex(this.mScrollPointerId); if (findPointerIndex < 0) { - StringBuilder O = a.O("Error processing scroll; pointer index for id "); - O.append(this.mScrollPointerId); - O.append(" not found. Did any MotionEvents get skipped?"); - Log.e(TAG, O.toString()); + StringBuilder R = a.R("Error processing scroll; pointer index for id "); + R.append(this.mScrollPointerId); + R.append(" not found. Did any MotionEvents get skipped?"); + Log.e(TAG, R.toString()); return false; } int x3 = (int) (motionEvent.getX(findPointerIndex) + 0.5f); @@ -6652,7 +6789,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro int[] iArr7 = this.mScrollOffset; this.mLastTouchX = x3 - iArr7[0]; this.mLastTouchY = y3 - iArr7[1]; - if (scrollByInternal(canScrollHorizontally ? i6 : 0, canScrollVertically ? i7 : 0, motionEvent)) { + if (scrollByInternal(canScrollHorizontally ? i6 : 0, canScrollVertically ? i7 : 0, motionEvent, 0)) { getParent().requestDisallowInterceptTouchEvent(true); } GapWorker gapWorker = this.mGapWorker; @@ -6736,7 +6873,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro StringBuilder sb = new StringBuilder(); sb.append("Called removeDetachedView with a view which is not flagged as tmp detached."); sb.append(childViewHolderInt); - throw new IllegalArgumentException(a.i(this, sb)); + throw new IllegalArgumentException(a.l(this, sb)); } } view.clearAnimation(); @@ -6786,6 +6923,10 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro } } + public void removeRecyclerListener(@NonNull RecyclerListener recyclerListener) { + this.mRecyclerListeners.remove(recyclerListener); + } + public void repositionShadowingViews() { ViewHolder viewHolder; int childCount = this.mChildHelper.getChildCount(); @@ -6859,16 +7000,16 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro if (!canScrollVertically) { i2 = 0; } - scrollByInternal(i, i2, null); + scrollByInternal(i, i2, null, 0); } } } - public boolean scrollByInternal(int i, int i2, MotionEvent motionEvent) { - int i3; + public boolean scrollByInternal(int i, int i2, MotionEvent motionEvent, int i3) { int i4; int i5; int i6; + int i7; consumePendingUpdateOperations(); if (this.mAdapter != null) { int[] iArr = this.mReusableIntPair; @@ -6876,17 +7017,17 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro iArr[1] = 0; scrollStep(i, i2, iArr); int[] iArr2 = this.mReusableIntPair; - int i7 = iArr2[0]; - int i8 = iArr2[1]; + int i8 = iArr2[0]; + int i9 = iArr2[1]; + i7 = i9; i6 = i8; - i5 = i7; - i4 = i - i7; - i3 = i2 - i8; + i5 = i - i8; + i4 = i2 - i9; } else { + i7 = 0; i6 = 0; i5 = 0; i4 = 0; - i3 = 0; } if (!this.mItemDecorations.isEmpty()) { invalidate(); @@ -6894,31 +7035,31 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro int[] iArr3 = this.mReusableIntPair; iArr3[0] = 0; iArr3[1] = 0; - dispatchNestedScroll(i5, i6, i4, i3, this.mScrollOffset, 0, iArr3); + dispatchNestedScroll(i6, i7, i5, i4, this.mScrollOffset, i3, iArr3); int[] iArr4 = this.mReusableIntPair; - int i9 = i4 - iArr4[0]; - int i10 = i3 - iArr4[1]; + int i10 = i5 - iArr4[0]; + int i11 = i4 - iArr4[1]; boolean z2 = (iArr4[0] == 0 && iArr4[1] == 0) ? false : true; - int i11 = this.mLastTouchX; + int i12 = this.mLastTouchX; int[] iArr5 = this.mScrollOffset; - this.mLastTouchX = i11 - iArr5[0]; + this.mLastTouchX = i12 - iArr5[0]; this.mLastTouchY -= iArr5[1]; int[] iArr6 = this.mNestedOffsets; iArr6[0] = iArr6[0] + iArr5[0]; iArr6[1] = iArr6[1] + iArr5[1]; if (getOverScrollMode() != 2) { if (motionEvent != null && !MotionEventCompat.isFromSource(motionEvent, 8194)) { - pullGlows(motionEvent.getX(), (float) i9, motionEvent.getY(), (float) i10); + pullGlows(motionEvent.getX(), (float) i10, motionEvent.getY(), (float) i11); } considerReleasingGlowsOnScroll(i, i2); } - if (!(i5 == 0 && i6 == 0)) { - dispatchOnScrolled(i5, i6); + if (!(i6 == 0 && i7 == 0)) { + dispatchOnScrolled(i6, i7); } if (!awakenScrollBars()) { invalidate(); } - return (!z2 && i5 == 0 && i6 == 0) ? false : true; + return (!z2 && i6 == 0 && i7 == 0) ? false : true; } public void scrollStep(int i, int i2, @Nullable int[] iArr) { @@ -7068,7 +7209,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro sb.append("LayoutManager "); sb.append(layoutManager); sb.append(" is already attached to a RecyclerView:"); - throw new IllegalArgumentException(a.i(layoutManager.mRecyclerView, sb)); + throw new IllegalArgumentException(a.l(layoutManager.mRecyclerView, sb)); } } this.mRecycler.updateViewCacheSize(); @@ -7108,6 +7249,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro this.mRecycler.setRecycledViewPool(recycledViewPool); } + @Deprecated public void setRecyclerListener(@Nullable RecyclerListener recyclerListener) { this.mRecyclerListener = recyclerListener; } diff --git a/app/src/main/java/androidx/recyclerview/widget/SnapHelper.java b/app/src/main/java/androidx/recyclerview/widget/SnapHelper.java index 6fa9f0991e..3d8d3b481b 100644 --- a/app/src/main/java/androidx/recyclerview/widget/SnapHelper.java +++ b/app/src/main/java/androidx/recyclerview/widget/SnapHelper.java @@ -114,13 +114,13 @@ public abstract class SnapHelper extends RecyclerView.OnFlingListener { } @Nullable - public RecyclerView.SmoothScroller createScroller(RecyclerView.LayoutManager layoutManager) { + public RecyclerView.SmoothScroller createScroller(@NonNull RecyclerView.LayoutManager layoutManager) { return createSnapScroller(layoutManager); } @Nullable @Deprecated - public LinearSmoothScroller createSnapScroller(RecyclerView.LayoutManager layoutManager) { + public LinearSmoothScroller createSnapScroller(@NonNull RecyclerView.LayoutManager layoutManager) { if (!(layoutManager instanceof RecyclerView.SmoothScroller.ScrollVectorProvider)) { return null; } diff --git a/app/src/main/java/androidx/recyclerview/widget/SortedList.java b/app/src/main/java/androidx/recyclerview/widget/SortedList.java index 6c848b66c5..1d3584ee4d 100644 --- a/app/src/main/java/androidx/recyclerview/widget/SortedList.java +++ b/app/src/main/java/androidx/recyclerview/widget/SortedList.java @@ -170,9 +170,9 @@ public class SortedList { this.mSize++; return; } - StringBuilder P = a.P("cannot add item to ", i, " because size is "); - P.append(this.mSize); - throw new IndexOutOfBoundsException(P.toString()); + StringBuilder S = a.S("cannot add item to ", i, " because size is "); + S.append(this.mSize); + throw new IndexOutOfBoundsException(S.toString()); } private T[] copyArray(T[] tArr) { @@ -500,9 +500,9 @@ public class SortedList { public T get(int i) throws IndexOutOfBoundsException { int i2; if (i >= this.mSize || i < 0) { - StringBuilder P = a.P("Asked to get item at ", i, " but size is "); - P.append(this.mSize); - throw new IndexOutOfBoundsException(P.toString()); + StringBuilder S = a.S("Asked to get item at ", i, " but size is "); + S.append(this.mSize); + throw new IndexOutOfBoundsException(S.toString()); } T[] tArr = this.mOldData; return (tArr == null || i < (i2 = this.mNewDataStart)) ? this.mData[i] : tArr[(i - i2) + this.mOldDataStart]; diff --git a/app/src/main/java/androidx/recyclerview/widget/StableIdStorage.java b/app/src/main/java/androidx/recyclerview/widget/StableIdStorage.java new file mode 100644 index 0000000000..8a8afc94e1 --- /dev/null +++ b/app/src/main/java/androidx/recyclerview/widget/StableIdStorage.java @@ -0,0 +1,88 @@ +package androidx.recyclerview.widget; + +import androidx.annotation.NonNull; +import androidx.collection.LongSparseArray; +public interface StableIdStorage { + + public static class IsolatedStableIdStorage implements StableIdStorage { + public long mNextStableId = 0; + + public class WrapperStableIdLookup implements StableIdLookup { + private final LongSparseArray mLocalToGlobalLookup = new LongSparseArray<>(); + + public WrapperStableIdLookup() { + } + + @Override // androidx.recyclerview.widget.StableIdStorage.StableIdLookup + public long localToGlobal(long j) { + Long l = this.mLocalToGlobalLookup.get(j); + if (l == null) { + l = Long.valueOf(IsolatedStableIdStorage.this.obtainId()); + this.mLocalToGlobalLookup.put(j, l); + } + return l.longValue(); + } + } + + @Override // androidx.recyclerview.widget.StableIdStorage + @NonNull + public StableIdLookup createStableIdLookup() { + return new WrapperStableIdLookup(); + } + + public long obtainId() { + long j = this.mNextStableId; + this.mNextStableId = 1 + j; + return j; + } + } + + public static class NoStableIdStorage implements StableIdStorage { + private final StableIdLookup mNoIdLookup = new AnonymousClass1(); + + /* renamed from: androidx.recyclerview.widget.StableIdStorage$NoStableIdStorage$1 reason: invalid class name */ + public class AnonymousClass1 implements StableIdLookup { + public AnonymousClass1() { + } + + @Override // androidx.recyclerview.widget.StableIdStorage.StableIdLookup + public long localToGlobal(long j) { + return -1; + } + } + + @Override // androidx.recyclerview.widget.StableIdStorage + @NonNull + public StableIdLookup createStableIdLookup() { + return this.mNoIdLookup; + } + } + + public static class SharedPoolStableIdStorage implements StableIdStorage { + private final StableIdLookup mSameIdLookup = new AnonymousClass1(); + + /* renamed from: androidx.recyclerview.widget.StableIdStorage$SharedPoolStableIdStorage$1 reason: invalid class name */ + public class AnonymousClass1 implements StableIdLookup { + public AnonymousClass1() { + } + + @Override // androidx.recyclerview.widget.StableIdStorage.StableIdLookup + public long localToGlobal(long j) { + return j; + } + } + + @Override // androidx.recyclerview.widget.StableIdStorage + @NonNull + public StableIdLookup createStableIdLookup() { + return this.mSameIdLookup; + } + } + + public interface StableIdLookup { + long localToGlobal(long j); + } + + @NonNull + StableIdLookup createStableIdLookup(); +} diff --git a/app/src/main/java/androidx/recyclerview/widget/StaggeredGridLayoutManager.java b/app/src/main/java/androidx/recyclerview/widget/StaggeredGridLayoutManager.java index a7526afc00..783e890de4 100644 --- a/app/src/main/java/androidx/recyclerview/widget/StaggeredGridLayoutManager.java +++ b/app/src/main/java/androidx/recyclerview/widget/StaggeredGridLayoutManager.java @@ -13,7 +13,6 @@ import android.view.accessibility.AccessibilityEvent; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.RestrictTo; -import androidx.core.view.accessibility.AccessibilityNodeInfoCompat; import androidx.recyclerview.widget.RecyclerView; import c.d.b.a.a; import java.util.ArrayList; @@ -174,7 +173,7 @@ public class StaggeredGridLayoutManager extends RecyclerView.LayoutManager imple public int mPosition; /* renamed from: androidx.recyclerview.widget.StaggeredGridLayoutManager$LazySpanLookup$FullSpanItem$1 reason: invalid class name */ - public static class AnonymousClass1 implements Parcelable.Creator { + public class AnonymousClass1 implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public FullSpanItem createFromParcel(Parcel parcel) { return new FullSpanItem(parcel); @@ -216,16 +215,16 @@ public class StaggeredGridLayoutManager extends RecyclerView.LayoutManager imple @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("FullSpanItem{mPosition="); - O.append(this.mPosition); - O.append(", mGapDir="); - O.append(this.mGapDir); - O.append(", mHasUnwantedGapAfter="); - O.append(this.mHasUnwantedGapAfter); - O.append(", mGapPerSpan="); - O.append(Arrays.toString(this.mGapPerSpan)); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("FullSpanItem{mPosition="); + R.append(this.mPosition); + R.append(", mGapDir="); + R.append(this.mGapDir); + R.append(", mHasUnwantedGapAfter="); + R.append(this.mHasUnwantedGapAfter); + R.append(", mGapPerSpan="); + R.append(Arrays.toString(this.mGapPerSpan)); + R.append('}'); + return R.toString(); } @Override // android.os.Parcelable @@ -406,9 +405,9 @@ public class StaggeredGridLayoutManager extends RecyclerView.LayoutManager imple Arrays.fill(iArr2, i, iArr2.length, -1); return this.mData.length; } - int i2 = invalidateFullSpansAfter + 1; - Arrays.fill(this.mData, i, i2, -1); - return i2; + int min = Math.min(invalidateFullSpansAfter + 1, this.mData.length); + Arrays.fill(this.mData, i, min, -1); + return min; } public void offsetForAddition(int i, int i2) { @@ -466,7 +465,7 @@ public class StaggeredGridLayoutManager extends RecyclerView.LayoutManager imple public int mVisibleAnchorPosition; /* renamed from: androidx.recyclerview.widget.StaggeredGridLayoutManager$SavedState$1 reason: invalid class name */ - public static class AnonymousClass1 implements Parcelable.Creator { + public class AnonymousClass1 implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public SavedState createFromParcel(Parcel parcel) { return new SavedState(parcel); @@ -1795,11 +1794,11 @@ public class StaggeredGridLayoutManager extends RecyclerView.LayoutManager imple if (iArr == null) { iArr = new int[this.mSpanCount]; } else if (iArr.length < this.mSpanCount) { - StringBuilder O = a.O("Provided int[]'s size must be more than or equal to span count. Expected:"); - O.append(this.mSpanCount); - O.append(", array size:"); - O.append(iArr.length); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Provided int[]'s size must be more than or equal to span count. Expected:"); + R.append(this.mSpanCount); + R.append(", array size:"); + R.append(iArr.length); + throw new IllegalArgumentException(R.toString()); } for (int i = 0; i < this.mSpanCount; i++) { iArr[i] = this.mSpans[i].findFirstCompletelyVisibleItemPosition(); @@ -1859,11 +1858,11 @@ public class StaggeredGridLayoutManager extends RecyclerView.LayoutManager imple if (iArr == null) { iArr = new int[this.mSpanCount]; } else if (iArr.length < this.mSpanCount) { - StringBuilder O = a.O("Provided int[]'s size must be more than or equal to span count. Expected:"); - O.append(this.mSpanCount); - O.append(", array size:"); - O.append(iArr.length); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Provided int[]'s size must be more than or equal to span count. Expected:"); + R.append(this.mSpanCount); + R.append(", array size:"); + R.append(iArr.length); + throw new IllegalArgumentException(R.toString()); } for (int i = 0; i < this.mSpanCount; i++) { iArr[i] = this.mSpans[i].findFirstVisibleItemPosition(); @@ -1875,11 +1874,11 @@ public class StaggeredGridLayoutManager extends RecyclerView.LayoutManager imple if (iArr == null) { iArr = new int[this.mSpanCount]; } else if (iArr.length < this.mSpanCount) { - StringBuilder O = a.O("Provided int[]'s size must be more than or equal to span count. Expected:"); - O.append(this.mSpanCount); - O.append(", array size:"); - O.append(iArr.length); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Provided int[]'s size must be more than or equal to span count. Expected:"); + R.append(this.mSpanCount); + R.append(", array size:"); + R.append(iArr.length); + throw new IllegalArgumentException(R.toString()); } for (int i = 0; i < this.mSpanCount; i++) { iArr[i] = this.mSpans[i].findLastCompletelyVisibleItemPosition(); @@ -1891,11 +1890,11 @@ public class StaggeredGridLayoutManager extends RecyclerView.LayoutManager imple if (iArr == null) { iArr = new int[this.mSpanCount]; } else if (iArr.length < this.mSpanCount) { - StringBuilder O = a.O("Provided int[]'s size must be more than or equal to span count. Expected:"); - O.append(this.mSpanCount); - O.append(", array size:"); - O.append(iArr.length); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Provided int[]'s size must be more than or equal to span count. Expected:"); + R.append(this.mSpanCount); + R.append(", array size:"); + R.append(iArr.length); + throw new IllegalArgumentException(R.toString()); } for (int i = 0; i < this.mSpanCount; i++) { iArr[i] = this.mSpans[i].findLastVisibleItemPosition(); @@ -1918,11 +1917,6 @@ public class StaggeredGridLayoutManager extends RecyclerView.LayoutManager imple return layoutParams instanceof ViewGroup.MarginLayoutParams ? new LayoutParams((ViewGroup.MarginLayoutParams) layoutParams) : new LayoutParams(layoutParams); } - @Override // androidx.recyclerview.widget.RecyclerView.LayoutManager - public int getColumnCountForAccessibility(RecyclerView.Recycler recycler, RecyclerView.State state) { - return this.mOrientation == 1 ? this.mSpanCount : super.getColumnCountForAccessibility(recycler, state); - } - public int getFirstChildPosition() { if (getChildCount() == 0) { return 0; @@ -1950,11 +1944,6 @@ public class StaggeredGridLayoutManager extends RecyclerView.LayoutManager imple return this.mReverseLayout; } - @Override // androidx.recyclerview.widget.RecyclerView.LayoutManager - public int getRowCountForAccessibility(RecyclerView.Recycler recycler, RecyclerView.State state) { - return this.mOrientation == 0 ? this.mSpanCount : super.getRowCountForAccessibility(recycler, state); - } - public int getSpanCount() { return this.mSpanCount; } @@ -2053,6 +2042,14 @@ public class StaggeredGridLayoutManager extends RecyclerView.LayoutManager imple } } + @Override // androidx.recyclerview.widget.RecyclerView.LayoutManager + public void onAdapterChanged(@Nullable RecyclerView.Adapter adapter, @Nullable RecyclerView.Adapter adapter2) { + this.mLazySpanLookup.clear(); + for (int i = 0; i < this.mSpanCount; i++) { + this.mSpans[i].clear(); + } + } + @Override // androidx.recyclerview.widget.RecyclerView.LayoutManager public void onDetachedFromWindow(RecyclerView recyclerView, RecyclerView.Recycler recycler) { super.onDetachedFromWindow(recyclerView, recycler); @@ -2155,21 +2152,6 @@ public class StaggeredGridLayoutManager extends RecyclerView.LayoutManager imple } } - @Override // androidx.recyclerview.widget.RecyclerView.LayoutManager - public void onInitializeAccessibilityNodeInfoForItem(RecyclerView.Recycler recycler, RecyclerView.State state, View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); - if (!(layoutParams instanceof LayoutParams)) { - super.onInitializeAccessibilityNodeInfoForItem(view, accessibilityNodeInfoCompat); - return; - } - LayoutParams layoutParams2 = (LayoutParams) layoutParams; - if (this.mOrientation == 0) { - accessibilityNodeInfoCompat.setCollectionItemInfo(AccessibilityNodeInfoCompat.CollectionItemInfoCompat.obtain(layoutParams2.getSpanIndex(), layoutParams2.mFullSpan ? this.mSpanCount : 1, -1, -1, false, false)); - } else { - accessibilityNodeInfoCompat.setCollectionItemInfo(AccessibilityNodeInfoCompat.CollectionItemInfoCompat.obtain(-1, -1, layoutParams2.getSpanIndex(), layoutParams2.mFullSpan ? this.mSpanCount : 1, false, false)); - } - } - @Override // androidx.recyclerview.widget.RecyclerView.LayoutManager public void onItemsAdded(RecyclerView recyclerView, int i, int i2) { handleUpdate(i, i2, 1); @@ -2213,7 +2195,12 @@ public class StaggeredGridLayoutManager extends RecyclerView.LayoutManager imple @Override // androidx.recyclerview.widget.RecyclerView.LayoutManager public void onRestoreInstanceState(Parcelable parcelable) { if (parcelable instanceof SavedState) { - this.mPendingSavedState = (SavedState) parcelable; + SavedState savedState = (SavedState) parcelable; + this.mPendingSavedState = savedState; + if (this.mPendingScrollPosition != -1) { + savedState.invalidateAnchorPositionInfo(); + this.mPendingSavedState.invalidateSpanInfo(); + } requestLayout(); } } diff --git a/app/src/main/java/androidx/recyclerview/widget/TileList.java b/app/src/main/java/androidx/recyclerview/widget/TileList.java index 2580e2830e..2ff58760f8 100644 --- a/app/src/main/java/androidx/recyclerview/widget/TileList.java +++ b/app/src/main/java/androidx/recyclerview/widget/TileList.java @@ -50,6 +50,9 @@ public class TileList { } public Tile getAtIndex(int i) { + if (i < 0 || i >= this.mTiles.size()) { + return null; + } return this.mTiles.valueAt(i); } diff --git a/app/src/main/java/androidx/recyclerview/widget/ViewTypeStorage.java b/app/src/main/java/androidx/recyclerview/widget/ViewTypeStorage.java new file mode 100644 index 0000000000..939b2de755 --- /dev/null +++ b/app/src/main/java/androidx/recyclerview/widget/ViewTypeStorage.java @@ -0,0 +1,158 @@ +package androidx.recyclerview.widget; + +import android.util.SparseArray; +import android.util.SparseIntArray; +import androidx.annotation.NonNull; +import c.d.b.a.a; +import java.util.ArrayList; +import java.util.List; +public interface ViewTypeStorage { + + public static class IsolatedViewTypeStorage implements ViewTypeStorage { + public SparseArray mGlobalTypeToWrapper = new SparseArray<>(); + public int mNextViewType = 0; + + public class WrapperViewTypeLookup implements ViewTypeLookup { + private SparseIntArray mGlobalToLocalMapping = new SparseIntArray(1); + private SparseIntArray mLocalToGlobalMapping = new SparseIntArray(1); + public final NestedAdapterWrapper mWrapper; + + public WrapperViewTypeLookup(NestedAdapterWrapper nestedAdapterWrapper) { + this.mWrapper = nestedAdapterWrapper; + } + + @Override // androidx.recyclerview.widget.ViewTypeStorage.ViewTypeLookup + public void dispose() { + IsolatedViewTypeStorage.this.removeWrapper(this.mWrapper); + } + + @Override // androidx.recyclerview.widget.ViewTypeStorage.ViewTypeLookup + public int globalToLocal(int i) { + int indexOfKey = this.mGlobalToLocalMapping.indexOfKey(i); + if (indexOfKey >= 0) { + return this.mGlobalToLocalMapping.valueAt(indexOfKey); + } + StringBuilder S = a.S("requested global type ", i, " does not belong to the adapter:"); + S.append(this.mWrapper.adapter); + throw new IllegalStateException(S.toString()); + } + + @Override // androidx.recyclerview.widget.ViewTypeStorage.ViewTypeLookup + public int localToGlobal(int i) { + int indexOfKey = this.mLocalToGlobalMapping.indexOfKey(i); + if (indexOfKey > -1) { + return this.mLocalToGlobalMapping.valueAt(indexOfKey); + } + int obtainViewType = IsolatedViewTypeStorage.this.obtainViewType(this.mWrapper); + this.mLocalToGlobalMapping.put(i, obtainViewType); + this.mGlobalToLocalMapping.put(obtainViewType, i); + return obtainViewType; + } + } + + @Override // androidx.recyclerview.widget.ViewTypeStorage + @NonNull + public ViewTypeLookup createViewTypeWrapper(@NonNull NestedAdapterWrapper nestedAdapterWrapper) { + return new WrapperViewTypeLookup(nestedAdapterWrapper); + } + + @Override // androidx.recyclerview.widget.ViewTypeStorage + @NonNull + public NestedAdapterWrapper getWrapperForGlobalType(int i) { + NestedAdapterWrapper nestedAdapterWrapper = this.mGlobalTypeToWrapper.get(i); + if (nestedAdapterWrapper != null) { + return nestedAdapterWrapper; + } + throw new IllegalArgumentException(a.p("Cannot find the wrapper for global view type ", i)); + } + + public int obtainViewType(NestedAdapterWrapper nestedAdapterWrapper) { + int i = this.mNextViewType; + this.mNextViewType = i + 1; + this.mGlobalTypeToWrapper.put(i, nestedAdapterWrapper); + return i; + } + + public void removeWrapper(@NonNull NestedAdapterWrapper nestedAdapterWrapper) { + for (int size = this.mGlobalTypeToWrapper.size() - 1; size >= 0; size--) { + if (this.mGlobalTypeToWrapper.valueAt(size) == nestedAdapterWrapper) { + this.mGlobalTypeToWrapper.removeAt(size); + } + } + } + } + + public static class SharedIdRangeViewTypeStorage implements ViewTypeStorage { + public SparseArray> mGlobalTypeToWrapper = new SparseArray<>(); + + public class WrapperViewTypeLookup implements ViewTypeLookup { + public final NestedAdapterWrapper mWrapper; + + public WrapperViewTypeLookup(NestedAdapterWrapper nestedAdapterWrapper) { + this.mWrapper = nestedAdapterWrapper; + } + + @Override // androidx.recyclerview.widget.ViewTypeStorage.ViewTypeLookup + public void dispose() { + SharedIdRangeViewTypeStorage.this.removeWrapper(this.mWrapper); + } + + @Override // androidx.recyclerview.widget.ViewTypeStorage.ViewTypeLookup + public int globalToLocal(int i) { + return i; + } + + @Override // androidx.recyclerview.widget.ViewTypeStorage.ViewTypeLookup + public int localToGlobal(int i) { + List list = SharedIdRangeViewTypeStorage.this.mGlobalTypeToWrapper.get(i); + if (list == null) { + list = new ArrayList<>(); + SharedIdRangeViewTypeStorage.this.mGlobalTypeToWrapper.put(i, list); + } + if (!list.contains(this.mWrapper)) { + list.add(this.mWrapper); + } + return i; + } + } + + @Override // androidx.recyclerview.widget.ViewTypeStorage + @NonNull + public ViewTypeLookup createViewTypeWrapper(@NonNull NestedAdapterWrapper nestedAdapterWrapper) { + return new WrapperViewTypeLookup(nestedAdapterWrapper); + } + + @Override // androidx.recyclerview.widget.ViewTypeStorage + @NonNull + public NestedAdapterWrapper getWrapperForGlobalType(int i) { + List list = this.mGlobalTypeToWrapper.get(i); + if (list != null && !list.isEmpty()) { + return list.get(0); + } + throw new IllegalArgumentException(a.p("Cannot find the wrapper for global view type ", i)); + } + + public void removeWrapper(@NonNull NestedAdapterWrapper nestedAdapterWrapper) { + for (int size = this.mGlobalTypeToWrapper.size() - 1; size >= 0; size--) { + List valueAt = this.mGlobalTypeToWrapper.valueAt(size); + if (valueAt.remove(nestedAdapterWrapper) && valueAt.isEmpty()) { + this.mGlobalTypeToWrapper.removeAt(size); + } + } + } + } + + public interface ViewTypeLookup { + void dispose(); + + int globalToLocal(int i); + + int localToGlobal(int i); + } + + @NonNull + ViewTypeLookup createViewTypeWrapper(@NonNull NestedAdapterWrapper nestedAdapterWrapper); + + @NonNull + NestedAdapterWrapper getWrapperForGlobalType(int i); +} diff --git a/app/src/main/java/androidx/room/InvalidationTracker.java b/app/src/main/java/androidx/room/InvalidationTracker.java index 2686510d45..091dc25f37 100644 --- a/app/src/main/java/androidx/room/InvalidationTracker.java +++ b/app/src/main/java/androidx/room/InvalidationTracker.java @@ -386,7 +386,7 @@ public class InvalidationTracker { } private static void appendTriggerName(StringBuilder sb, String str, String str2) { - a.n0(sb, "`", "room_table_modification_trigger_", str, "_"); + a.o0(sb, "`", "room_table_modification_trigger_", str, "_"); sb.append(str2); sb.append("`"); } @@ -413,9 +413,9 @@ public class InvalidationTracker { sb.setLength(0); sb.append("CREATE TEMP TRIGGER IF NOT EXISTS "); appendTriggerName(sb, str, str2); - a.n0(sb, " AFTER ", str2, " ON `", str); - a.n0(sb, "` BEGIN UPDATE ", UPDATE_TABLE_NAME, " SET ", INVALIDATED_COLUMN_NAME); - a.n0(sb, " = 1", " WHERE ", TABLE_ID_COLUMN_NAME, " = "); + a.o0(sb, " AFTER ", str2, " ON `", str); + a.o0(sb, "` BEGIN UPDATE ", UPDATE_TABLE_NAME, " SET ", INVALIDATED_COLUMN_NAME); + a.o0(sb, " = 1", " WHERE ", TABLE_ID_COLUMN_NAME, " = "); sb.append(i); sb.append(" AND "); sb.append(INVALIDATED_COLUMN_NAME); @@ -441,7 +441,7 @@ public class InvalidationTracker { String[] resolveViews = resolveViews(strArr); for (String str : resolveViews) { if (!this.mTableIdLookup.containsKey(str.toLowerCase(Locale.US))) { - throw new IllegalArgumentException(a.u("There is no table with name ", str)); + throw new IllegalArgumentException(a.v("There is no table with name ", str)); } } return resolveViews; @@ -459,9 +459,9 @@ public class InvalidationTracker { if (num != null) { iArr[i] = num.intValue(); } else { - StringBuilder O = a.O("There is no table with name "); - O.append(resolveViews[i]); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("There is no table with name "); + R.append(resolveViews[i]); + throw new IllegalArgumentException(R.toString()); } } ObserverWrapper observerWrapper = new ObserverWrapper(observer, iArr, resolveViews); diff --git a/app/src/main/java/androidx/room/Room.java b/app/src/main/java/androidx/room/Room.java index fb00928e6b..4afb8be76c 100644 --- a/app/src/main/java/androidx/room/Room.java +++ b/app/src/main/java/androidx/room/Room.java @@ -34,20 +34,20 @@ public class Room { } return (T) Class.forName(str2).newInstance(); } catch (ClassNotFoundException unused) { - StringBuilder O = a.O("cannot find implementation for "); - O.append(cls.getCanonicalName()); - O.append(". "); - O.append(str3); - O.append(" does not exist"); - throw new RuntimeException(O.toString()); + StringBuilder R = a.R("cannot find implementation for "); + R.append(cls.getCanonicalName()); + R.append(". "); + R.append(str3); + R.append(" does not exist"); + throw new RuntimeException(R.toString()); } catch (IllegalAccessException unused2) { - StringBuilder O2 = a.O("Cannot access the constructor"); - O2.append(cls.getCanonicalName()); - throw new RuntimeException(O2.toString()); + StringBuilder R2 = a.R("Cannot access the constructor"); + R2.append(cls.getCanonicalName()); + throw new RuntimeException(R2.toString()); } catch (InstantiationException unused3) { - StringBuilder O3 = a.O("Failed to create an instance of "); - O3.append(cls.getCanonicalName()); - throw new RuntimeException(O3.toString()); + StringBuilder R3 = a.R("Failed to create an instance of "); + R3.append(cls.getCanonicalName()); + throw new RuntimeException(R3.toString()); } } diff --git a/app/src/main/java/androidx/room/RoomMasterTable.java b/app/src/main/java/androidx/room/RoomMasterTable.java index 7d33e6ce12..7f64fe9eb4 100644 --- a/app/src/main/java/androidx/room/RoomMasterTable.java +++ b/app/src/main/java/androidx/room/RoomMasterTable.java @@ -16,6 +16,6 @@ public class RoomMasterTable { } public static String createInsertQuery(String str) { - return a.v("INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '", str, "')"); + return a.w("INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '", str, "')"); } } diff --git a/app/src/main/java/androidx/room/RoomOpenHelper.java b/app/src/main/java/androidx/room/RoomOpenHelper.java index 012c30f739..87d617d860 100644 --- a/app/src/main/java/androidx/room/RoomOpenHelper.java +++ b/app/src/main/java/androidx/room/RoomOpenHelper.java @@ -103,9 +103,9 @@ public class RoomOpenHelper extends SupportSQLiteOpenHelper.Callback { updateIdentity(supportSQLiteDatabase); return; } - StringBuilder O = a.O("Pre-packaged database has an invalid schema: "); - O.append(onValidateSchema.expectedFoundMsg); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Pre-packaged database has an invalid schema: "); + R.append(onValidateSchema.expectedFoundMsg); + throw new IllegalStateException(R.toString()); } } @@ -156,9 +156,9 @@ public class RoomOpenHelper extends SupportSQLiteOpenHelper.Callback { if (!hasEmptySchema) { ValidationResult onValidateSchema = this.mDelegate.onValidateSchema(supportSQLiteDatabase); if (!onValidateSchema.isValid) { - StringBuilder O = a.O("Pre-packaged database has an invalid schema: "); - O.append(onValidateSchema.expectedFoundMsg); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Pre-packaged database has an invalid schema: "); + R.append(onValidateSchema.expectedFoundMsg); + throw new IllegalStateException(R.toString()); } } updateIdentity(supportSQLiteDatabase); @@ -196,15 +196,15 @@ public class RoomOpenHelper extends SupportSQLiteOpenHelper.Callback { updateIdentity(supportSQLiteDatabase); z2 = true; } else { - StringBuilder O = a.O("Migration didn't properly handle: "); - O.append(onValidateSchema.expectedFoundMsg); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Migration didn't properly handle: "); + R.append(onValidateSchema.expectedFoundMsg); + throw new IllegalStateException(R.toString()); } } if (!z2) { DatabaseConfiguration databaseConfiguration2 = this.mConfiguration; if (databaseConfiguration2 == null || databaseConfiguration2.isMigrationRequired(i, i2)) { - throw new IllegalStateException(a.p("A migration from ", i, " to ", i2, " was required but not found. Please provide the necessary Migration path via RoomDatabase.Builder.addMigration(Migration ...) or allow for destructive migrations via one of the RoomDatabase.Builder.fallbackToDestructiveMigration* methods.")); + throw new IllegalStateException("A migration from " + i + " to " + i2 + " was required but not found. Please provide the necessary Migration path via RoomDatabase.Builder.addMigration(Migration ...) or allow for destructive migrations via one of the RoomDatabase.Builder.fallbackToDestructiveMigration* methods."); } this.mDelegate.dropAllTables(supportSQLiteDatabase); this.mDelegate.createAllTables(supportSQLiteDatabase); diff --git a/app/src/main/java/androidx/room/SQLiteCopyOpenHelper.java b/app/src/main/java/androidx/room/SQLiteCopyOpenHelper.java index 86fbf78a2d..dd870075c7 100644 --- a/app/src/main/java/androidx/room/SQLiteCopyOpenHelper.java +++ b/app/src/main/java/androidx/room/SQLiteCopyOpenHelper.java @@ -53,16 +53,16 @@ public class SQLiteCopyOpenHelper implements SupportSQLiteOpenHelper { FileUtil.copy(readableByteChannel, new FileOutputStream(createTempFile).getChannel()); File parentFile = file.getParentFile(); if (parentFile != null && !parentFile.exists() && !parentFile.mkdirs()) { - StringBuilder O = a.O("Failed to create directories for "); - O.append(file.getAbsolutePath()); - throw new IOException(O.toString()); + StringBuilder R = a.R("Failed to create directories for "); + R.append(file.getAbsolutePath()); + throw new IOException(R.toString()); } else if (!createTempFile.renameTo(file)) { - StringBuilder O2 = a.O("Failed to move intermediate file ("); - O2.append(createTempFile.getAbsolutePath()); - O2.append(") to destination ("); - O2.append(file.getAbsolutePath()); - O2.append(")."); - throw new IOException(O2.toString()); + StringBuilder R2 = a.R("Failed to move intermediate file ("); + R2.append(createTempFile.getAbsolutePath()); + R2.append(") to destination ("); + R2.append(file.getAbsolutePath()); + R2.append(")."); + throw new IOException(R2.toString()); } } diff --git a/app/src/main/java/androidx/room/paging/LimitOffsetDataSource.java b/app/src/main/java/androidx/room/paging/LimitOffsetDataSource.java index 89893411e2..833fae8069 100644 --- a/app/src/main/java/androidx/room/paging/LimitOffsetDataSource.java +++ b/app/src/main/java/androidx/room/paging/LimitOffsetDataSource.java @@ -37,14 +37,14 @@ public abstract class LimitOffsetDataSource extends PositionalDataSource { this.mDb = roomDatabase; this.mSourceQuery = roomSQLiteQuery; this.mInTransaction = z2; - StringBuilder O = a.O("SELECT COUNT(*) FROM ( "); - O.append(roomSQLiteQuery.getSql()); - O.append(" )"); - this.mCountQuery = O.toString(); - StringBuilder O2 = a.O("SELECT * FROM ( "); - O2.append(roomSQLiteQuery.getSql()); - O2.append(" ) LIMIT ? OFFSET ?"); - this.mLimitOffsetQuery = O2.toString(); + StringBuilder R = a.R("SELECT COUNT(*) FROM ( "); + R.append(roomSQLiteQuery.getSql()); + R.append(" )"); + this.mCountQuery = R.toString(); + StringBuilder R2 = a.R("SELECT * FROM ( "); + R2.append(roomSQLiteQuery.getSql()); + R2.append(" ) LIMIT ? OFFSET ?"); + this.mLimitOffsetQuery = R2.toString(); AnonymousClass1 r3 = new AnonymousClass1(strArr); this.mObserver = r3; roomDatabase.getInvalidationTracker().addWeakObserver(r3); diff --git a/app/src/main/java/androidx/room/util/CopyLock.java b/app/src/main/java/androidx/room/util/CopyLock.java index d67ebc5640..725308e501 100644 --- a/app/src/main/java/androidx/room/util/CopyLock.java +++ b/app/src/main/java/androidx/room/util/CopyLock.java @@ -20,7 +20,7 @@ public class CopyLock { private final Lock mThreadLock; public CopyLock(@NonNull String str, @NonNull File file, boolean z2) { - File file2 = new File(file, a.u(str, ".lck")); + File file2 = new File(file, a.v(str, ".lck")); this.mCopyLockFile = file2; this.mThreadLock = getThreadLock(file2.getAbsolutePath()); this.mFileLevelLock = z2; diff --git a/app/src/main/java/androidx/room/util/FtsTableInfo.java b/app/src/main/java/androidx/room/util/FtsTableInfo.java index 58f8934265..afba626fd5 100644 --- a/app/src/main/java/androidx/room/util/FtsTableInfo.java +++ b/app/src/main/java/androidx/room/util/FtsTableInfo.java @@ -146,14 +146,14 @@ public class FtsTableInfo { } public String toString() { - StringBuilder O = a.O("FtsTableInfo{name='"); - O.append(this.name); - O.append('\''); - O.append(", columns="); - O.append(this.columns); - O.append(", options="); - O.append(this.options); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("FtsTableInfo{name='"); + R.append(this.name); + R.append('\''); + R.append(", columns="); + R.append(this.columns); + R.append(", options="); + R.append(this.options); + R.append('}'); + return R.toString(); } } diff --git a/app/src/main/java/androidx/room/util/TableInfo.java b/app/src/main/java/androidx/room/util/TableInfo.java index f04b6a8029..93cbb0635b 100644 --- a/app/src/main/java/androidx/room/util/TableInfo.java +++ b/app/src/main/java/androidx/room/util/TableInfo.java @@ -104,24 +104,24 @@ public class TableInfo { } public String toString() { - StringBuilder O = a.O("Column{name='"); - O.append(this.name); - O.append('\''); - O.append(", type='"); - O.append(this.type); - O.append('\''); - O.append(", affinity='"); - O.append(this.affinity); - O.append('\''); - O.append(", notNull="); - O.append(this.notNull); - O.append(", primaryKeyPosition="); - O.append(this.primaryKeyPosition); - O.append(", defaultValue='"); - O.append(this.defaultValue); - O.append('\''); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("Column{name='"); + R.append(this.name); + R.append('\''); + R.append(", type='"); + R.append(this.type); + R.append('\''); + R.append(", affinity='"); + R.append(this.affinity); + R.append('\''); + R.append(", notNull="); + R.append(this.notNull); + R.append(", primaryKeyPosition="); + R.append(this.primaryKeyPosition); + R.append(", defaultValue='"); + R.append(this.defaultValue); + R.append('\''); + R.append('}'); + return R.toString(); } } @@ -166,21 +166,21 @@ public class TableInfo { } public String toString() { - StringBuilder O = a.O("ForeignKey{referenceTable='"); - O.append(this.referenceTable); - O.append('\''); - O.append(", onDelete='"); - O.append(this.onDelete); - O.append('\''); - O.append(", onUpdate='"); - O.append(this.onUpdate); - O.append('\''); - O.append(", columnNames="); - O.append(this.columnNames); - O.append(", referenceColumnNames="); - O.append(this.referenceColumnNames); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("ForeignKey{referenceTable='"); + R.append(this.referenceTable); + R.append('\''); + R.append(", onDelete='"); + R.append(this.onDelete); + R.append('\''); + R.append(", onUpdate='"); + R.append(this.onUpdate); + R.append('\''); + R.append(", columnNames="); + R.append(this.columnNames); + R.append(", referenceColumnNames="); + R.append(this.referenceColumnNames); + R.append('}'); + return R.toString(); } } @@ -236,15 +236,15 @@ public class TableInfo { } public String toString() { - StringBuilder O = a.O("Index{name='"); - O.append(this.name); - O.append('\''); - O.append(", unique="); - O.append(this.unique); - O.append(", columns="); - O.append(this.columns); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("Index{name='"); + R.append(this.name); + R.append('\''); + R.append(", unique="); + R.append(this.unique); + R.append(", columns="); + R.append(this.columns); + R.append('}'); + return R.toString(); } } @@ -437,16 +437,16 @@ public class TableInfo { } public String toString() { - StringBuilder O = a.O("TableInfo{name='"); - O.append(this.name); - O.append('\''); - O.append(", columns="); - O.append(this.columns); - O.append(", foreignKeys="); - O.append(this.foreignKeys); - O.append(", indices="); - O.append(this.indices); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("TableInfo{name='"); + R.append(this.name); + R.append('\''); + R.append(", columns="); + R.append(this.columns); + R.append(", foreignKeys="); + R.append(this.foreignKeys); + R.append(", indices="); + R.append(this.indices); + R.append('}'); + return R.toString(); } } diff --git a/app/src/main/java/androidx/room/util/ViewInfo.java b/app/src/main/java/androidx/room/util/ViewInfo.java index e34c5a0fd0..8ba5226c9f 100644 --- a/app/src/main/java/androidx/room/util/ViewInfo.java +++ b/app/src/main/java/androidx/room/util/ViewInfo.java @@ -62,13 +62,13 @@ public class ViewInfo { } public String toString() { - StringBuilder O = a.O("ViewInfo{name='"); - O.append(this.name); - O.append('\''); - O.append(", sql='"); - O.append(this.sql); - O.append('\''); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("ViewInfo{name='"); + R.append(this.name); + R.append('\''); + R.append(", sql='"); + R.append(this.sql); + R.append('\''); + R.append('}'); + return R.toString(); } } diff --git a/app/src/main/java/androidx/savedstate/Recreator.java b/app/src/main/java/androidx/savedstate/Recreator.java index 25ea4db4c8..5638f301ab 100644 --- a/app/src/main/java/androidx/savedstate/Recreator.java +++ b/app/src/main/java/androidx/savedstate/Recreator.java @@ -52,16 +52,16 @@ public final class Recreator implements GenericLifecycleObserver { try { ((SavedStateRegistry.AutoRecreated) declaredConstructor.newInstance(new Object[0])).onRecreated(this.mOwner); } catch (Exception e) { - throw new RuntimeException(a.u("Failed to instantiate ", str), e); + throw new RuntimeException(a.v("Failed to instantiate ", str), e); } } catch (NoSuchMethodException e2) { - StringBuilder O = a.O("Class"); - O.append(cls.getSimpleName()); - O.append(" must have default constructor in order to be automatically recreated"); - throw new IllegalStateException(O.toString(), e2); + StringBuilder R = a.R("Class"); + R.append(cls.getSimpleName()); + R.append(" must have default constructor in order to be automatically recreated"); + throw new IllegalStateException(R.toString(), e2); } } catch (ClassNotFoundException e3) { - throw new RuntimeException(a.v("Class ", str, " wasn't found"), e3); + throw new RuntimeException(a.w("Class ", str, " wasn't found"), e3); } } diff --git a/app/src/main/java/androidx/savedstate/SavedStateRegistry.java b/app/src/main/java/androidx/savedstate/SavedStateRegistry.java index d574fb07cb..b9845f9cb2 100644 --- a/app/src/main/java/androidx/savedstate/SavedStateRegistry.java +++ b/app/src/main/java/androidx/savedstate/SavedStateRegistry.java @@ -114,10 +114,10 @@ public final class SavedStateRegistry { cls.getDeclaredConstructor(new Class[0]); this.mRecreatorProvider.add(cls.getName()); } catch (NoSuchMethodException e) { - StringBuilder O = a.O("Class"); - O.append(cls.getSimpleName()); - O.append(" must have default constructor in order to be automatically recreated"); - throw new IllegalArgumentException(O.toString(), e); + StringBuilder R = a.R("Class"); + R.append(cls.getSimpleName()); + R.append(" must have default constructor in order to be automatically recreated"); + throw new IllegalArgumentException(R.toString(), e); } } else { throw new IllegalStateException("Can not perform this action after onSaveInstanceState"); diff --git a/app/src/main/java/androidx/savedstate/ViewKt.java b/app/src/main/java/androidx/savedstate/ViewKt.java index 90761c71b8..93c35b8b28 100644 --- a/app/src/main/java/androidx/savedstate/ViewKt.java +++ b/app/src/main/java/androidx/savedstate/ViewKt.java @@ -1,7 +1,7 @@ package androidx.savedstate; import android.view.View; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: View.kt */ public final class ViewKt { public static final SavedStateRegistryOwner findViewTreeSavedStateRegistryOwner(View view) { diff --git a/app/src/main/java/androidx/sharetarget/ShareTargetXmlParser.java b/app/src/main/java/androidx/sharetarget/ShareTargetXmlParser.java index 35192fa605..f41aa27618 100644 --- a/app/src/main/java/androidx/sharetarget/ShareTargetXmlParser.java +++ b/app/src/main/java/androidx/sharetarget/ShareTargetXmlParser.java @@ -57,9 +57,9 @@ public class ShareTargetXmlParser { if (loadXmlMetaData != null) { return loadXmlMetaData; } - StringBuilder O = a.O("Failed to open android.app.shortcuts meta-data resource of "); - O.append(activityInfo.name); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Failed to open android.app.shortcuts meta-data resource of "); + R.append(activityInfo.name); + throw new IllegalArgumentException(R.toString()); } private static ShareTargetCompat parseShareTarget(XmlResourceParser xmlResourceParser) throws Exception { diff --git a/app/src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java b/app/src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java index d285f03b26..50ba9d423b 100644 --- a/app/src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java +++ b/app/src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java @@ -446,7 +446,7 @@ public class ShortcutInfoCompatSaverImpl extends ShortcutInfoCompatSaver } } catch (IOException | OutOfMemoryError | RuntimeException e) { Log.wtf(TAG, "Unable to write bitmap to file", e); - throw new RuntimeException(c.d.b.a.a.u("Unable to write bitmap to file ", str), e); + throw new RuntimeException(c.d.b.a.a.v("Unable to write bitmap to file ", str), e); } } else { throw new IllegalArgumentException("path is empty"); diff --git a/app/src/main/java/androidx/sharetarget/ShortcutsInfoSerialization.java b/app/src/main/java/androidx/sharetarget/ShortcutsInfoSerialization.java index bee3ee4690..da08b542e6 100644 --- a/app/src/main/java/androidx/sharetarget/ShortcutsInfoSerialization.java +++ b/app/src/main/java/androidx/sharetarget/ShortcutsInfoSerialization.java @@ -208,23 +208,23 @@ public class ShortcutsInfoSerialization { } catch (Exception e2) { e = e2; fileOutputStream = startWrite; - StringBuilder O = a.O("Failed to write to file "); - O.append(atomicFile.getBaseFile()); - Log.e("ShortcutInfoCompatSaver", O.toString(), e); + StringBuilder R = a.R("Failed to write to file "); + R.append(atomicFile.getBaseFile()); + Log.e("ShortcutInfoCompatSaver", R.toString(), e); atomicFile.failWrite(fileOutputStream); - StringBuilder O2 = a.O("Failed to write to file "); - O2.append(atomicFile.getBaseFile()); - throw new RuntimeException(O2.toString(), e); + StringBuilder R2 = a.R("Failed to write to file "); + R2.append(atomicFile.getBaseFile()); + throw new RuntimeException(R2.toString(), e); } } catch (Exception e3) { e = e3; - StringBuilder O = a.O("Failed to write to file "); - O.append(atomicFile.getBaseFile()); - Log.e("ShortcutInfoCompatSaver", O.toString(), e); + StringBuilder R = a.R("Failed to write to file "); + R.append(atomicFile.getBaseFile()); + Log.e("ShortcutInfoCompatSaver", R.toString(), e); atomicFile.failWrite(fileOutputStream); - StringBuilder O2 = a.O("Failed to write to file "); - O2.append(atomicFile.getBaseFile()); - throw new RuntimeException(O2.toString(), e); + StringBuilder R2 = a.R("Failed to write to file "); + R2.append(atomicFile.getBaseFile()); + throw new RuntimeException(R2.toString(), e); } } diff --git a/app/src/main/java/androidx/sqlite/db/SupportSQLiteOpenHelper.java b/app/src/main/java/androidx/sqlite/db/SupportSQLiteOpenHelper.java index 4ff61e3b05..2edeca1185 100644 --- a/app/src/main/java/androidx/sqlite/db/SupportSQLiteOpenHelper.java +++ b/app/src/main/java/androidx/sqlite/db/SupportSQLiteOpenHelper.java @@ -26,7 +26,7 @@ public interface SupportSQLiteOpenHelper extends Closeable { private void deleteDatabaseFile(String str) { if (!str.equalsIgnoreCase(":memory:") && str.trim().length() != 0) { - a.k0("deleting the database file: ", str, TAG); + Log.w(TAG, "deleting the database file: " + str); try { SQLiteDatabase.deleteDatabase(new File(str)); } catch (Exception e) { @@ -63,9 +63,9 @@ public interface SupportSQLiteOpenHelper extends Closeable { /* JADX WARNING: Removed duplicated region for block: B:7:0x002a A[ExcHandler: all (r1v2 'th' java.lang.Throwable A[CUSTOM_DECLARE]), PHI: r0 PHI: (r0v12 java.util.List>) = (r0v4 java.util.List>), (r0v6 java.util.List>), (r0v6 java.util.List>) binds: [B:5:0x0025, B:8:0x002c, B:10:?] A[DONT_GENERATE, DONT_INLINE], Splitter:B:5:0x0025] */ public void onCorruption(@NonNull SupportSQLiteDatabase supportSQLiteDatabase) { - StringBuilder O = a.O("Corruption reported by sqlite on database: "); - O.append(supportSQLiteDatabase.getPath()); - Log.e(TAG, O.toString()); + StringBuilder R = a.R("Corruption reported by sqlite on database: "); + R.append(supportSQLiteDatabase.getPath()); + Log.e(TAG, R.toString()); if (!supportSQLiteDatabase.isOpen()) { deleteDatabaseFile(supportSQLiteDatabase.getPath()); return; @@ -89,7 +89,7 @@ public interface SupportSQLiteOpenHelper extends Closeable { public abstract void onCreate(@NonNull SupportSQLiteDatabase supportSQLiteDatabase); public void onDowngrade(@NonNull SupportSQLiteDatabase supportSQLiteDatabase, int i, int i2) { - throw new SQLiteException(a.o("Can't downgrade database from version ", i, " to ", i2)); + throw new SQLiteException(a.r("Can't downgrade database from version ", i, " to ", i2)); } public void onOpen(@NonNull SupportSQLiteDatabase supportSQLiteDatabase) { diff --git a/app/src/main/java/androidx/sqlite/db/SupportSQLiteQueryBuilder.java b/app/src/main/java/androidx/sqlite/db/SupportSQLiteQueryBuilder.java index ed092d53e4..cca2cf6e09 100644 --- a/app/src/main/java/androidx/sqlite/db/SupportSQLiteQueryBuilder.java +++ b/app/src/main/java/androidx/sqlite/db/SupportSQLiteQueryBuilder.java @@ -95,7 +95,7 @@ public final class SupportSQLiteQueryBuilder { this.mLimit = str; return this; } - throw new IllegalArgumentException(a.u("invalid LIMIT clauses:", str)); + throw new IllegalArgumentException(a.v("invalid LIMIT clauses:", str)); } public SupportSQLiteQueryBuilder orderBy(String str) { diff --git a/app/src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteDatabase.java b/app/src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteDatabase.java index 469f4f1c0d..b7dd3a5015 100644 --- a/app/src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteDatabase.java +++ b/app/src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteDatabase.java @@ -91,9 +91,9 @@ public class FrameworkSQLiteDatabase implements SupportSQLiteDatabase { @Override // androidx.sqlite.db.SupportSQLiteDatabase public int delete(String str, String str2, Object[] objArr) { - StringBuilder S = a.S("DELETE FROM ", str); - S.append(TextUtils.isEmpty(str2) ? "" : a.u(" WHERE ", str2)); - SupportSQLiteStatement compileStatement = compileStatement(S.toString()); + StringBuilder V = a.V("DELETE FROM ", str); + V.append(TextUtils.isEmpty(str2) ? "" : a.v(" WHERE ", str2)); + SupportSQLiteStatement compileStatement = compileStatement(V.toString()); SimpleSQLiteQuery.bind(compileStatement, objArr); return compileStatement.executeUpdateDelete(); } diff --git a/app/src/main/java/androidx/transition/Transition.java b/app/src/main/java/androidx/transition/Transition.java index 1facf209ad..99eacf52f4 100644 --- a/app/src/main/java/androidx/transition/Transition.java +++ b/app/src/main/java/androidx/transition/Transition.java @@ -488,7 +488,7 @@ public abstract class Transition implements Cloneable { i--; iArr = iArr2; } else { - throw new InflateException(a.v("Unknown match type in matchOrder: '", trim, "'")); + throw new InflateException(a.w("Unknown match type in matchOrder: '", trim, "'")); } i++; } @@ -1271,48 +1271,48 @@ public abstract class Transition implements Cloneable { } public String toString(String str) { - StringBuilder O = a.O(str); - O.append(getClass().getSimpleName()); - O.append("@"); - O.append(Integer.toHexString(hashCode())); - O.append(": "); - String sb = O.toString(); + StringBuilder R = a.R(str); + R.append(getClass().getSimpleName()); + R.append("@"); + R.append(Integer.toHexString(hashCode())); + R.append(": "); + String sb = R.toString(); if (this.mDuration != -1) { - sb = a.A(a.S(sb, "dur("), this.mDuration, ") "); + sb = a.B(a.V(sb, "dur("), this.mDuration, ") "); } if (this.mStartDelay != -1) { - sb = a.A(a.S(sb, "dly("), this.mStartDelay, ") "); + sb = a.B(a.V(sb, "dly("), this.mStartDelay, ") "); } if (this.mInterpolator != null) { - StringBuilder S = a.S(sb, "interp("); - S.append(this.mInterpolator); - S.append(") "); - sb = S.toString(); + StringBuilder V = a.V(sb, "interp("); + V.append(this.mInterpolator); + V.append(") "); + sb = V.toString(); } if (this.mTargetIds.size() <= 0 && this.mTargets.size() <= 0) { return sb; } - String u = a.u(sb, "tgts("); + String v = a.v(sb, "tgts("); if (this.mTargetIds.size() > 0) { for (int i = 0; i < this.mTargetIds.size(); i++) { if (i > 0) { - u = a.u(u, ", "); + v = a.v(v, ", "); } - StringBuilder O2 = a.O(u); - O2.append(this.mTargetIds.get(i)); - u = O2.toString(); + StringBuilder R2 = a.R(v); + R2.append(this.mTargetIds.get(i)); + v = R2.toString(); } } if (this.mTargets.size() > 0) { for (int i2 = 0; i2 < this.mTargets.size(); i2++) { if (i2 > 0) { - u = a.u(u, ", "); + v = a.v(v, ", "); } - StringBuilder O3 = a.O(u); - O3.append(this.mTargets.get(i2)); - u = O3.toString(); + StringBuilder R3 = a.R(v); + R3.append(this.mTargets.get(i2)); + v = R3.toString(); } } - return a.u(u, ")"); + return a.v(v, ")"); } } diff --git a/app/src/main/java/androidx/transition/TransitionInflater.java b/app/src/main/java/androidx/transition/TransitionInflater.java index 5dd3ac010c..bfab3c27b0 100644 --- a/app/src/main/java/androidx/transition/TransitionInflater.java +++ b/app/src/main/java/androidx/transition/TransitionInflater.java @@ -47,7 +47,7 @@ public class TransitionInflater { throw new InflateException("Could not instantiate " + cls + " class " + attributeValue, e); } } else { - throw new InflateException(a.u(str, " tag must have a 'class' attribute")); + throw new InflateException(a.v(str, " tag must have a 'class' attribute")); } } @@ -100,9 +100,9 @@ public class TransitionInflater { throw new RuntimeException("Invalid use of pathMotion element"); } } else if (!"patternPathMotion".equals(name)) { - StringBuilder O = a.O("Unknown scene name: "); - O.append(xmlPullParser.getName()); - throw new RuntimeException(O.toString()); + StringBuilder R = a.R("Unknown scene name: "); + R.append(xmlPullParser.getName()); + throw new RuntimeException(R.toString()); } else if (transition != null) { transition.setPathMotion(new PatternPathMotion(this.mContext, attributeSet)); } else { @@ -149,9 +149,9 @@ public class TransitionInflater { } } } - StringBuilder O = a.O("Unknown scene name: "); - O.append(xmlPullParser.getName()); - throw new RuntimeException(O.toString()); + StringBuilder R = a.R("Unknown scene name: "); + R.append(xmlPullParser.getName()); + throw new RuntimeException(R.toString()); } public static TransitionInflater from(Context context) { @@ -191,7 +191,7 @@ public class TransitionInflater { transition.excludeTarget(Class.forName(namedString3), true); } catch (ClassNotFoundException e) { obtainStyledAttributes.recycle(); - throw new RuntimeException(a.u("Could not create ", namedString3), e); + throw new RuntimeException(a.v("Could not create ", namedString3), e); } } else { String namedString4 = TypedArrayUtils.getNamedString(obtainStyledAttributes, xmlPullParser, "targetClass", 0); @@ -205,9 +205,9 @@ public class TransitionInflater { } obtainStyledAttributes.recycle(); } else { - StringBuilder O = a.O("Unknown scene name: "); - O.append(xmlPullParser.getName()); - throw new RuntimeException(O.toString()); + StringBuilder R = a.R("Unknown scene name: "); + R.append(xmlPullParser.getName()); + throw new RuntimeException(R.toString()); } } } @@ -227,7 +227,7 @@ public class TransitionInflater { } if (namedResourceId >= 0 && (inflateTransition = inflateTransition(namedResourceId)) != null) { if (scene == null) { - throw new RuntimeException(a.l("No toScene for transition ID ", namedResourceId)); + throw new RuntimeException(a.p("No toScene for transition ID ", namedResourceId)); } else if (sceneForLayout == null) { transitionManager.setTransition(scene, inflateTransition); } else { diff --git a/app/src/main/java/androidx/transition/TransitionSet.java b/app/src/main/java/androidx/transition/TransitionSet.java index bae1a7ee4e..068168bcb8 100644 --- a/app/src/main/java/androidx/transition/TransitionSet.java +++ b/app/src/main/java/androidx/transition/TransitionSet.java @@ -452,7 +452,7 @@ public class TransitionSet extends Transition { } else if (i == 1) { this.mPlayTogether = false; } else { - throw new AndroidRuntimeException(a.l("Invalid parameter for TransitionSet ordering: ", i)); + throw new AndroidRuntimeException(a.p("Invalid parameter for TransitionSet ordering: ", i)); } return this; } @@ -498,9 +498,9 @@ public class TransitionSet extends Transition { public String toString(String str) { String transition = super.toString(str); for (int i = 0; i < this.mTransitions.size(); i++) { - StringBuilder S = a.S(transition, "\n"); - S.append(this.mTransitions.get(i).toString(str + " ")); - transition = S.toString(); + StringBuilder V = a.V(transition, "\n"); + V.append(this.mTransitions.get(i).toString(str + " ")); + transition = V.toString(); } return transition; } diff --git a/app/src/main/java/androidx/transition/TransitionValues.java b/app/src/main/java/androidx/transition/TransitionValues.java index 5d90a5c544..9aabb45ccb 100644 --- a/app/src/main/java/androidx/transition/TransitionValues.java +++ b/app/src/main/java/androidx/transition/TransitionValues.java @@ -32,16 +32,16 @@ public class TransitionValues { } public String toString() { - StringBuilder O = a.O("TransitionValues@"); - O.append(Integer.toHexString(hashCode())); - O.append(":\n"); - StringBuilder S = a.S(O.toString(), " view = "); - S.append(this.view); - S.append("\n"); - String u = a.u(S.toString(), " values:"); + StringBuilder R = a.R("TransitionValues@"); + R.append(Integer.toHexString(hashCode())); + R.append(":\n"); + StringBuilder V = a.V(R.toString(), " view = "); + V.append(this.view); + V.append("\n"); + String v = a.v(V.toString(), " values:"); for (String str : this.values.keySet()) { - u = u + " " + str + ": " + this.values.get(str) + "\n"; + v = v + " " + str + ": " + this.values.get(str) + "\n"; } - return u; + return v; } } diff --git a/app/src/main/java/androidx/vectordrawable/graphics/drawable/AnimationUtilsCompat.java b/app/src/main/java/androidx/vectordrawable/graphics/drawable/AnimationUtilsCompat.java index 038a6e21e0..676a3b0177 100644 --- a/app/src/main/java/androidx/vectordrawable/graphics/drawable/AnimationUtilsCompat.java +++ b/app/src/main/java/androidx/vectordrawable/graphics/drawable/AnimationUtilsCompat.java @@ -57,9 +57,9 @@ public class AnimationUtilsCompat { } else if (name.equals("pathInterpolator")) { accelerateInterpolator = new PathInterpolatorCompat(context, asAttributeSet, xmlPullParser); } else { - StringBuilder O = a.O("Unknown interpolator name: "); - O.append(xmlPullParser.getName()); - throw new RuntimeException(O.toString()); + StringBuilder R = a.R("Unknown interpolator name: "); + R.append(xmlPullParser.getName()); + throw new RuntimeException(R.toString()); } interpolator = accelerateInterpolator; } diff --git a/app/src/main/java/androidx/vectordrawable/graphics/drawable/AnimatorInflaterCompat.java b/app/src/main/java/androidx/vectordrawable/graphics/drawable/AnimatorInflaterCompat.java index 1bc495230f..0e96e73145 100644 --- a/app/src/main/java/androidx/vectordrawable/graphics/drawable/AnimatorInflaterCompat.java +++ b/app/src/main/java/androidx/vectordrawable/graphics/drawable/AnimatorInflaterCompat.java @@ -105,9 +105,9 @@ public class AnimatorInflaterCompat { } i2 = 1; } else { - StringBuilder O = a.O("Unknown animator name: "); - O.append(xmlPullParser.getName()); - throw new RuntimeException(O.toString()); + StringBuilder R = a.R("Unknown animator name: "); + R.append(xmlPullParser.getName()); + throw new RuntimeException(R.toString()); } if (animatorSet != null && i2 == 0) { if (arrayList == null) { @@ -156,15 +156,15 @@ public class AnimatorInflaterCompat { int length = objArr.length; for (int i = 0; i < length; i++) { Keyframe keyframe = (Keyframe) objArr[i]; - StringBuilder P = a.P("Keyframe ", i, ": fraction "); + StringBuilder S = a.S("Keyframe ", i, ": fraction "); Object obj = "null"; - P.append(keyframe.getFraction() < 0.0f ? obj : Float.valueOf(keyframe.getFraction())); - P.append(", , value : "); + S.append(keyframe.getFraction() < 0.0f ? obj : Float.valueOf(keyframe.getFraction())); + S.append(", , value : "); if (keyframe.hasValue()) { obj = keyframe.getValue(); } - P.append(obj); - Log.d(TAG, P.toString()); + S.append(obj); + Log.d(TAG, S.toString()); } } } diff --git a/app/src/main/java/androidx/vectordrawable/graphics/drawable/PathInterpolatorCompat.java b/app/src/main/java/androidx/vectordrawable/graphics/drawable/PathInterpolatorCompat.java index bbcde4b1b4..bef08c1ebb 100644 --- a/app/src/main/java/androidx/vectordrawable/graphics/drawable/PathInterpolatorCompat.java +++ b/app/src/main/java/androidx/vectordrawable/graphics/drawable/PathInterpolatorCompat.java @@ -76,16 +76,16 @@ public class PathInterpolatorCompat implements Interpolator { return; } } - StringBuilder O = a.O("The Path must start at (0,0) and end at (1,1) start: "); - O.append(this.mX[0]); - O.append(","); - O.append(this.mY[0]); - O.append(" end:"); + StringBuilder R = a.R("The Path must start at (0,0) and end at (1,1) start: "); + R.append(this.mX[0]); + R.append(","); + R.append(this.mY[0]); + R.append(" end:"); int i6 = min - 1; - O.append(this.mX[i6]); - O.append(","); - O.append(this.mY[i6]); - throw new IllegalArgumentException(O.toString()); + R.append(this.mX[i6]); + R.append(","); + R.append(this.mY[i6]); + throw new IllegalArgumentException(R.toString()); } throw new IllegalArgumentException("The Path has a invalid length " + length); } @@ -105,7 +105,7 @@ public class PathInterpolatorCompat implements Interpolator { initPath(createPathFromPathData); return; } - throw new InflateException(a.u("The path is null, which is created from ", namedString)); + throw new InflateException(a.v("The path is null, which is created from ", namedString)); } else if (!TypedArrayUtils.hasAttribute(xmlPullParser, "controlX1")) { throw new InflateException("pathInterpolator requires the controlX1 attribute"); } else if (TypedArrayUtils.hasAttribute(xmlPullParser, "controlY1")) { diff --git a/app/src/main/java/androidx/vectordrawable/graphics/drawable/VectorDrawableCompat.java b/app/src/main/java/androidx/vectordrawable/graphics/drawable/VectorDrawableCompat.java index ef0da311cd..4853b0f352 100644 --- a/app/src/main/java/androidx/vectordrawable/graphics/drawable/VectorDrawableCompat.java +++ b/app/src/main/java/androidx/vectordrawable/graphics/drawable/VectorDrawableCompat.java @@ -535,15 +535,15 @@ public class VectorDrawableCompat extends VectorDrawableCommon { float[] fArr; String str = " "; for (int i = 0; i < pathDataNodeArr.length; i++) { - StringBuilder O = a.O(str); - O.append(pathDataNodeArr[i].mType); - O.append(":"); - str = O.toString(); + StringBuilder R = a.R(str); + R.append(pathDataNodeArr[i].mType); + R.append(":"); + str = R.toString(); for (float f : pathDataNodeArr[i].mParams) { - StringBuilder O2 = a.O(str); - O2.append(f); - O2.append(","); - str = O2.toString(); + StringBuilder R2 = a.R(str); + R2.append(f); + R2.append(","); + str = R2.toString(); } } return str; @@ -552,13 +552,13 @@ public class VectorDrawableCompat extends VectorDrawableCommon { public void printVPath(int i) { String str = ""; for (int i2 = 0; i2 < i; i2++) { - str = a.u(str, " "); + str = a.v(str, " "); } - StringBuilder S = a.S(str, "current path is :"); - S.append(this.mPathName); - S.append(" pathData is "); - S.append(nodesToString(this.mNodes)); - Log.v(VectorDrawableCompat.LOGTAG, S.toString()); + StringBuilder V = a.V(str, "current path is :"); + V.append(this.mPathName); + V.append(" pathData is "); + V.append(nodesToString(this.mNodes)); + Log.v(VectorDrawableCompat.LOGTAG, V.toString()); } public void setPathData(PathParser.PathDataNode[] pathDataNodeArr) { @@ -1094,13 +1094,13 @@ public class VectorDrawableCompat extends VectorDrawableCommon { private void printGroupTree(VGroup vGroup, int i) { String str = ""; for (int i2 = 0; i2 < i; i2++) { - str = a.u(str, " "); + str = a.v(str, " "); } - StringBuilder S = a.S(str, "current group is :"); - S.append(vGroup.getGroupName()); - S.append(" rotation is "); - S.append(vGroup.mRotate); - Log.v(LOGTAG, S.toString()); + StringBuilder V = a.V(str, "current group is :"); + V.append(vGroup.getGroupName()); + V.append(" rotation is "); + V.append(vGroup.mRotate); + Log.v(LOGTAG, V.toString()); Log.v(LOGTAG, str + "matrix is :" + vGroup.getLocalMatrix().toString()); for (int i3 = 0; i3 < vGroup.mChildren.size(); i3++) { VObject vObject = vGroup.mChildren.get(i3); diff --git a/app/src/main/java/androidx/versionedparcelable/VersionedParcel.java b/app/src/main/java/androidx/versionedparcelable/VersionedParcel.java index bc1b036202..dea57a6373 100644 --- a/app/src/main/java/androidx/versionedparcelable/VersionedParcel.java +++ b/app/src/main/java/androidx/versionedparcelable/VersionedParcel.java @@ -167,7 +167,7 @@ public abstract class VersionedParcel { return declaredMethod; } - private > S readCollection(S s) { + private > S readCollection(S s2) { int readInt = readInt(); if (readInt < 0) { return null; @@ -179,32 +179,32 @@ public abstract class VersionedParcel { } if (readInt2 == 1) { while (readInt > 0) { - s.add(readVersionedParcelable()); + s2.add(readVersionedParcelable()); readInt--; } } else if (readInt2 == 2) { while (readInt > 0) { - s.add(readParcelable()); + s2.add(readParcelable()); readInt--; } } else if (readInt2 == 3) { while (readInt > 0) { - s.add(readSerializable()); + s2.add(readSerializable()); readInt--; } } else if (readInt2 == 4) { while (readInt > 0) { - s.add(readString()); + s2.add(readString()); readInt--; } } else if (readInt2 == 5) { while (readInt > 0) { - s.add(readStrongBinder()); + s2.add(readStrongBinder()); readInt--; } } } - return s; + return s2; } private Exception readException(int i, String str) { @@ -287,7 +287,7 @@ public abstract class VersionedParcel { objectOutputStream.close(); writeByteArray(byteArrayOutputStream.toByteArray()); } catch (IOException e) { - throw new RuntimeException(a.v("VersionedParcelable encountered IOException writing serializable object (name = ", name, ")"), e); + throw new RuntimeException(a.w("VersionedParcelable encountered IOException writing serializable object (name = ", name, ")"), e); } } @@ -567,9 +567,9 @@ public abstract class VersionedParcel { try { return (Serializable) new AnonymousClass1(new ByteArrayInputStream(readByteArray())).readObject(); } catch (IOException e) { - throw new RuntimeException(a.v("VersionedParcelable encountered IOException reading a Serializable object (name = ", readString, ")"), e); + throw new RuntimeException(a.w("VersionedParcelable encountered IOException reading a Serializable object (name = ", readString, ")"), e); } catch (ClassNotFoundException e2) { - throw new RuntimeException(a.v("VersionedParcelable encountered ClassNotFoundException reading a Serializable object (name = ", readString, ")"), e2); + throw new RuntimeException(a.w("VersionedParcelable encountered ClassNotFoundException reading a Serializable object (name = ", readString, ")"), e2); } } diff --git a/app/src/main/java/androidx/versionedparcelable/VersionedParcelParcel.java b/app/src/main/java/androidx/versionedparcelable/VersionedParcelParcel.java index be476acf1e..00f052d50d 100644 --- a/app/src/main/java/androidx/versionedparcelable/VersionedParcelParcel.java +++ b/app/src/main/java/androidx/versionedparcelable/VersionedParcelParcel.java @@ -61,7 +61,7 @@ public class VersionedParcelParcel extends VersionedParcel { if (i == this.mOffset) { i = this.mEnd; } - return new VersionedParcelParcel(parcel, dataPosition, i, a.G(new StringBuilder(), this.mPrefix, " "), this.mReadCache, this.mWriteCache, this.mParcelizerCache); + return new VersionedParcelParcel(parcel, dataPosition, i, a.H(new StringBuilder(), this.mPrefix, " "), this.mReadCache, this.mWriteCache, this.mParcelizerCache); } @Override // androidx.versionedparcelable.VersionedParcel diff --git a/app/src/main/java/androidx/versionedparcelable/VersionedParcelStream.java b/app/src/main/java/androidx/versionedparcelable/VersionedParcelStream.java index 83f05b9c3c..504ce53e69 100644 --- a/app/src/main/java/androidx/versionedparcelable/VersionedParcelStream.java +++ b/app/src/main/java/androidx/versionedparcelable/VersionedParcelStream.java @@ -184,7 +184,7 @@ public class VersionedParcelStream extends VersionedParcel { bundle.putFloatArray(str, readFloatArray()); return; default: - throw new RuntimeException(a.l("Unknown type ", i)); + throw new RuntimeException(a.p("Unknown type ", i)); } } @@ -231,9 +231,9 @@ public class VersionedParcelStream extends VersionedParcel { writeInt(14); writeFloatArray((float[]) obj); } else { - StringBuilder O = a.O("Unsupported type "); - O.append(obj.getClass()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Unsupported type "); + R.append(obj.getClass()); + throw new IllegalArgumentException(R.toString()); } } diff --git a/app/src/main/java/androidx/viewpager/widget/ViewPager.java b/app/src/main/java/androidx/viewpager/widget/ViewPager.java index e3932784db..c83f2f2a68 100644 --- a/app/src/main/java/androidx/viewpager/widget/ViewPager.java +++ b/app/src/main/java/androidx/viewpager/widget/ViewPager.java @@ -346,10 +346,10 @@ public class ViewPager extends ViewGroup { @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("FragmentPager.SavedState{"); - O.append(Integer.toHexString(System.identityHashCode(this))); - O.append(" position="); - return a.z(O, this.position, "}"); + StringBuilder R = a.R("FragmentPager.SavedState{"); + R.append(Integer.toHexString(System.identityHashCode(this))); + R.append(" position="); + return a.A(R, this.position, "}"); } @Override // androidx.customview.view.AbsSavedState, android.os.Parcelable @@ -981,9 +981,9 @@ public class ViewPager extends ViewGroup { sb.append(" => "); sb.append(parent2.getClass().getSimpleName()); } - StringBuilder O = a.O("arrowScroll tried to find focus based on non-child current focused view "); - O.append(sb.toString()); - Log.e(TAG, O.toString()); + StringBuilder R = a.R("arrowScroll tried to find focus based on non-child current focused view "); + R.append(sb.toString()); + Log.e(TAG, R.toString()); } } findNextFocus = FocusFinder.getInstance().findNextFocus(this, findFocus, i); @@ -2121,17 +2121,17 @@ public class ViewPager extends ViewGroup { } catch (Resources.NotFoundException unused) { str = Integer.toHexString(getId()); } - StringBuilder O = a.O("The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: "); - O.append(this.mExpectedAdapterCount); - O.append(", found: "); - O.append(count); - O.append(" Pager id: "); - O.append(str); - O.append(" Pager class: "); - O.append(getClass()); - O.append(" Problematic adapter: "); - O.append(this.mAdapter.getClass()); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: "); + R.append(this.mExpectedAdapterCount); + R.append(", found: "); + R.append(count); + R.append(" Pager id: "); + R.append(str); + R.append(" Pager class: "); + R.append(getClass()); + R.append(" Problematic adapter: "); + R.append(this.mAdapter.getClass()); + throw new IllegalStateException(R.toString()); } } diff --git a/app/src/main/java/androidx/viewpager2/adapter/FragmentStateAdapter.java b/app/src/main/java/androidx/viewpager2/adapter/FragmentStateAdapter.java index 9467d85c8e..1b34421221 100644 --- a/app/src/main/java/androidx/viewpager2/adapter/FragmentStateAdapter.java +++ b/app/src/main/java/androidx/viewpager2/adapter/FragmentStateAdapter.java @@ -295,7 +295,7 @@ public abstract class FragmentStateAdapter extends RecyclerView.Adapter create(Object obj, Continuation continuation) { m.checkParameterIsNotNull(continuation, "completion"); CoroutineWorker$startWork$1 coroutineWorker$startWork$1 = new CoroutineWorker$startWork$1(this.this$0, continuation); @@ -38,7 +38,7 @@ public final class CoroutineWorker$startWork$1 extends k implements Function2 continuation) { Object obj; - c.i.b.d.a.a foregroundAsync = setForegroundAsync(foregroundInfo); + a foregroundAsync = setForegroundAsync(foregroundInfo); m.checkExpressionValueIsNotNull(foregroundAsync, "setForegroundAsync(foregroundInfo)"); if (foregroundAsync.isDone()) { try { @@ -105,7 +106,7 @@ public abstract class CoroutineWorker extends ListenableWorker { public final Object setProgress(Data data, Continuation continuation) { Object obj; - c.i.b.d.a.a progressAsync = setProgressAsync(data); + a progressAsync = setProgressAsync(data); m.checkExpressionValueIsNotNull(progressAsync, "setProgressAsync(data)"); if (progressAsync.isDone()) { try { @@ -129,8 +130,8 @@ public abstract class CoroutineWorker extends ListenableWorker { } @Override // androidx.work.ListenableWorker - public final c.i.b.d.a.a startWork() { - a.H(a.a(getCoroutineContext().plus(this.job)), null, null, new CoroutineWorker$startWork$1(this, null), 3, null); + public final a startWork() { + f.x0(f.a(getCoroutineContext().plus(this.job)), null, null, new CoroutineWorker$startWork$1(this, null), 3, null); return this.future; } } diff --git a/app/src/main/java/androidx/work/DataKt.java b/app/src/main/java/androidx/work/DataKt.java index b7e3fd0f62..8e7959ed17 100644 --- a/app/src/main/java/androidx/work/DataKt.java +++ b/app/src/main/java/androidx/work/DataKt.java @@ -2,7 +2,7 @@ package androidx.work; import androidx.exifinterface.media.ExifInterface; import androidx.work.Data; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Pair; /* compiled from: Data.kt */ public final class DataKt { diff --git a/app/src/main/java/androidx/work/DirectExecutor.java b/app/src/main/java/androidx/work/DirectExecutor.java index 0648419bb9..9d27efb9ed 100644 --- a/app/src/main/java/androidx/work/DirectExecutor.java +++ b/app/src/main/java/androidx/work/DirectExecutor.java @@ -1,7 +1,7 @@ package androidx.work; import androidx.annotation.RestrictTo; -import c0.z.d.m; +import d0.z.d.m; import java.util.concurrent.Executor; /* compiled from: DirectExecutor.kt */ @RestrictTo({RestrictTo.Scope.LIBRARY_GROUP}) diff --git a/app/src/main/java/androidx/work/InputMerger.java b/app/src/main/java/androidx/work/InputMerger.java index b3a89f07cc..14641ffec7 100644 --- a/app/src/main/java/androidx/work/InputMerger.java +++ b/app/src/main/java/androidx/work/InputMerger.java @@ -12,7 +12,7 @@ public abstract class InputMerger { try { return (InputMerger) Class.forName(str).newInstance(); } catch (Exception e) { - Logger.get().error(TAG, a.u("Trouble instantiating + ", str), e); + Logger.get().error(TAG, a.v("Trouble instantiating + ", str), e); return null; } } diff --git a/app/src/main/java/androidx/work/ListenableFutureKt$await$$inlined$suspendCancellableCoroutine$lambda$1.java b/app/src/main/java/androidx/work/ListenableFutureKt$await$$inlined$suspendCancellableCoroutine$lambda$1.java index 35b081bb65..366cfadcba 100644 --- a/app/src/main/java/androidx/work/ListenableFutureKt$await$$inlined$suspendCancellableCoroutine$lambda$1.java +++ b/app/src/main/java/androidx/work/ListenableFutureKt$await$$inlined$suspendCancellableCoroutine$lambda$1.java @@ -1,8 +1,8 @@ package androidx.work; import c.i.b.d.a.a; -import c0.k; -import c0.l; +import d0.k; +import d0.l; import java.util.concurrent.CancellationException; import kotlinx.coroutines.CancellableContinuation; /* compiled from: ListenableFuture.kt */ @@ -21,7 +21,7 @@ public final class ListenableFutureKt$await$$inlined$suspendCancellableCoroutine CancellableContinuation cancellableContinuation = this.$cancellableContinuation; V v = this.$this_await$inlined.get(); k.a aVar = k.i; - cancellableContinuation.resumeWith(k.m2constructorimpl(v)); + cancellableContinuation.resumeWith(k.m72constructorimpl(v)); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { @@ -33,7 +33,7 @@ public final class ListenableFutureKt$await$$inlined$suspendCancellableCoroutine } CancellableContinuation cancellableContinuation2 = this.$cancellableContinuation; k.a aVar2 = k.i; - cancellableContinuation2.resumeWith(k.m2constructorimpl(l.createFailure(cause))); + cancellableContinuation2.resumeWith(k.m72constructorimpl(l.createFailure(cause))); } } } diff --git a/app/src/main/java/androidx/work/ListenableFutureKt$await$$inlined$suspendCancellableCoroutine$lambda$2.java b/app/src/main/java/androidx/work/ListenableFutureKt$await$$inlined$suspendCancellableCoroutine$lambda$2.java index 2aedf0f29c..6fa7fcc82a 100644 --- a/app/src/main/java/androidx/work/ListenableFutureKt$await$$inlined$suspendCancellableCoroutine$lambda$2.java +++ b/app/src/main/java/androidx/work/ListenableFutureKt$await$$inlined$suspendCancellableCoroutine$lambda$2.java @@ -1,8 +1,8 @@ package androidx.work; import c.i.b.d.a.a; -import c0.k; -import c0.l; +import d0.k; +import d0.l; import java.util.concurrent.CancellationException; import kotlinx.coroutines.CancellableContinuation; /* compiled from: ListenableFuture.kt */ @@ -21,7 +21,7 @@ public final class ListenableFutureKt$await$$inlined$suspendCancellableCoroutine CancellableContinuation cancellableContinuation = this.$cancellableContinuation; V v = this.$this_await$inlined.get(); k.a aVar = k.i; - cancellableContinuation.resumeWith(k.m2constructorimpl(v)); + cancellableContinuation.resumeWith(k.m72constructorimpl(v)); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { @@ -33,7 +33,7 @@ public final class ListenableFutureKt$await$$inlined$suspendCancellableCoroutine } CancellableContinuation cancellableContinuation2 = this.$cancellableContinuation; k.a aVar2 = k.i; - cancellableContinuation2.resumeWith(k.m2constructorimpl(l.createFailure(cause))); + cancellableContinuation2.resumeWith(k.m72constructorimpl(l.createFailure(cause))); } } } diff --git a/app/src/main/java/androidx/work/ListenableFutureKt.java b/app/src/main/java/androidx/work/ListenableFutureKt.java index 65b742e192..d1b69d6a6f 100644 --- a/app/src/main/java/androidx/work/ListenableFutureKt.java +++ b/app/src/main/java/androidx/work/ListenableFutureKt.java @@ -2,13 +2,13 @@ package androidx.work; import androidx.annotation.RestrictTo; import c.i.b.d.a.a; -import c0.w.h.b; -import c0.w.h.c; -import c0.w.i.a.g; -import c0.z.d.l; +import d0.w.h.b; +import d0.w.h.c; +import d0.w.i.a.g; +import d0.z.d.l; import java.util.concurrent.ExecutionException; import kotlin.coroutines.Continuation; -import r.a.k; +import s.a.k; /* compiled from: ListenableFuture.kt */ public final class ListenableFutureKt { @RestrictTo({RestrictTo.Scope.LIBRARY_GROUP}) diff --git a/app/src/main/java/androidx/work/ListenableWorker.java b/app/src/main/java/androidx/work/ListenableWorker.java index 50eef0baa5..4472a439bd 100644 --- a/app/src/main/java/androidx/work/ListenableWorker.java +++ b/app/src/main/java/androidx/work/ListenableWorker.java @@ -61,10 +61,10 @@ public abstract class ListenableWorker { } public String toString() { - StringBuilder O = a.O("Failure {mOutputData="); - O.append(this.mOutputData); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("Failure {mOutputData="); + R.append(this.mOutputData); + R.append('}'); + return R.toString(); } } @@ -119,10 +119,10 @@ public abstract class ListenableWorker { } public String toString() { - StringBuilder O = a.O("Success {mOutputData="); - O.append(this.mOutputData); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("Success {mOutputData="); + R.append(this.mOutputData); + R.append('}'); + return R.toString(); } } diff --git a/app/src/main/java/androidx/work/OneTimeWorkRequestKt.java b/app/src/main/java/androidx/work/OneTimeWorkRequestKt.java index 16ed993cc7..7739fe8a91 100644 --- a/app/src/main/java/androidx/work/OneTimeWorkRequestKt.java +++ b/app/src/main/java/androidx/work/OneTimeWorkRequestKt.java @@ -3,9 +3,9 @@ package androidx.work; import androidx.annotation.NonNull; import androidx.exifinterface.media.ExifInterface; import androidx.work.OneTimeWorkRequest; -import c0.e0.c; -import c0.z.a; -import c0.z.d.m; +import d0.e0.c; +import d0.z.a; +import d0.z.d.m; /* compiled from: OneTimeWorkRequest.kt */ public final class OneTimeWorkRequestKt { public static final /* synthetic */ OneTimeWorkRequest.Builder OneTimeWorkRequestBuilder() { diff --git a/app/src/main/java/androidx/work/OperationKt$await$$inlined$suspendCancellableCoroutine$lambda$1.java b/app/src/main/java/androidx/work/OperationKt$await$$inlined$suspendCancellableCoroutine$lambda$1.java index 0ef56925bc..91b224fc4f 100644 --- a/app/src/main/java/androidx/work/OperationKt$await$$inlined$suspendCancellableCoroutine$lambda$1.java +++ b/app/src/main/java/androidx/work/OperationKt$await$$inlined$suspendCancellableCoroutine$lambda$1.java @@ -1,8 +1,8 @@ package androidx.work; import c.i.b.d.a.a; -import c0.k; -import c0.l; +import d0.k; +import d0.l; import java.util.concurrent.CancellationException; import kotlinx.coroutines.CancellableContinuation; /* compiled from: ListenableFuture.kt */ @@ -21,7 +21,7 @@ public final class OperationKt$await$$inlined$suspendCancellableCoroutine$lambda CancellableContinuation cancellableContinuation = this.$cancellableContinuation; V v = this.$this_await$inlined.get(); k.a aVar = k.i; - cancellableContinuation.resumeWith(k.m2constructorimpl(v)); + cancellableContinuation.resumeWith(k.m72constructorimpl(v)); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { @@ -33,7 +33,7 @@ public final class OperationKt$await$$inlined$suspendCancellableCoroutine$lambda } CancellableContinuation cancellableContinuation2 = this.$cancellableContinuation; k.a aVar2 = k.i; - cancellableContinuation2.resumeWith(k.m2constructorimpl(l.createFailure(cause))); + cancellableContinuation2.resumeWith(k.m72constructorimpl(l.createFailure(cause))); } } } diff --git a/app/src/main/java/androidx/work/OperationKt$await$$inlined$suspendCancellableCoroutine$lambda$2.java b/app/src/main/java/androidx/work/OperationKt$await$$inlined$suspendCancellableCoroutine$lambda$2.java index 86c6a6ec1c..cd0ac4b1da 100644 --- a/app/src/main/java/androidx/work/OperationKt$await$$inlined$suspendCancellableCoroutine$lambda$2.java +++ b/app/src/main/java/androidx/work/OperationKt$await$$inlined$suspendCancellableCoroutine$lambda$2.java @@ -1,8 +1,8 @@ package androidx.work; import c.i.b.d.a.a; -import c0.k; -import c0.l; +import d0.k; +import d0.l; import java.util.concurrent.CancellationException; import kotlinx.coroutines.CancellableContinuation; /* compiled from: ListenableFuture.kt */ @@ -21,7 +21,7 @@ public final class OperationKt$await$$inlined$suspendCancellableCoroutine$lambda CancellableContinuation cancellableContinuation = this.$cancellableContinuation; V v = this.$this_await$inlined.get(); k.a aVar = k.i; - cancellableContinuation.resumeWith(k.m2constructorimpl(v)); + cancellableContinuation.resumeWith(k.m72constructorimpl(v)); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { @@ -33,7 +33,7 @@ public final class OperationKt$await$$inlined$suspendCancellableCoroutine$lambda } CancellableContinuation cancellableContinuation2 = this.$cancellableContinuation; k.a aVar2 = k.i; - cancellableContinuation2.resumeWith(k.m2constructorimpl(l.createFailure(cause))); + cancellableContinuation2.resumeWith(k.m72constructorimpl(l.createFailure(cause))); } } } diff --git a/app/src/main/java/androidx/work/OperationKt.java b/app/src/main/java/androidx/work/OperationKt.java index d12ae2d575..0858fab710 100644 --- a/app/src/main/java/androidx/work/OperationKt.java +++ b/app/src/main/java/androidx/work/OperationKt.java @@ -2,14 +2,14 @@ package androidx.work; import androidx.work.Operation; import c.i.b.d.a.a; -import c0.w.h.b; -import c0.w.h.c; -import c0.w.i.a.g; -import c0.z.d.l; -import c0.z.d.m; +import d0.w.h.b; +import d0.w.h.c; +import d0.w.i.a.g; +import d0.z.d.l; +import d0.z.d.m; import java.util.concurrent.ExecutionException; import kotlin.coroutines.Continuation; -import r.a.k; +import s.a.k; /* compiled from: Operation.kt */ public final class OperationKt { public static final Object await(Operation operation, Continuation continuation) { diff --git a/app/src/main/java/androidx/work/PeriodicWorkRequestKt.java b/app/src/main/java/androidx/work/PeriodicWorkRequestKt.java index dba6ffaccd..c2ac9546c6 100644 --- a/app/src/main/java/androidx/work/PeriodicWorkRequestKt.java +++ b/app/src/main/java/androidx/work/PeriodicWorkRequestKt.java @@ -3,7 +3,7 @@ package androidx.work; import androidx.annotation.RequiresApi; import androidx.exifinterface.media.ExifInterface; import androidx.work.PeriodicWorkRequest; -import c0.z.d.m; +import d0.z.d.m; import java.time.Duration; import java.util.concurrent.TimeUnit; /* compiled from: PeriodicWorkRequest.kt */ diff --git a/app/src/main/java/androidx/work/WorkInfo.java b/app/src/main/java/androidx/work/WorkInfo.java index 26b2e31eef..abd19d8ec0 100644 --- a/app/src/main/java/androidx/work/WorkInfo.java +++ b/app/src/main/java/androidx/work/WorkInfo.java @@ -96,18 +96,18 @@ public final class WorkInfo { } public String toString() { - StringBuilder O = a.O("WorkInfo{mId='"); - O.append(this.mId); - O.append('\''); - O.append(", mState="); - O.append(this.mState); - O.append(", mOutputData="); - O.append(this.mOutputData); - O.append(", mTags="); - O.append(this.mTags); - O.append(", mProgress="); - O.append(this.mProgress); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("WorkInfo{mId='"); + R.append(this.mId); + R.append('\''); + R.append(", mState="); + R.append(this.mState); + R.append(", mOutputData="); + R.append(this.mOutputData); + R.append(", mTags="); + R.append(this.mTags); + R.append(", mProgress="); + R.append(this.mProgress); + R.append('}'); + return R.toString(); } } diff --git a/app/src/main/java/androidx/work/WorkRequest.java b/app/src/main/java/androidx/work/WorkRequest.java index f0d71a3cdf..e0f6c7ab9e 100644 --- a/app/src/main/java/androidx/work/WorkRequest.java +++ b/app/src/main/java/androidx/work/WorkRequest.java @@ -51,7 +51,7 @@ public abstract class WorkRequest { this.mId = UUID.randomUUID(); WorkSpec workSpec = new WorkSpec(this.mWorkSpec); this.mWorkSpec = workSpec; - workSpec.f32id = this.mId.toString(); + workSpec.f31id = this.mId.toString(); return buildInternal; } diff --git a/app/src/main/java/androidx/work/WorkerFactory.java b/app/src/main/java/androidx/work/WorkerFactory.java index fd25258657..449c39d35f 100644 --- a/app/src/main/java/androidx/work/WorkerFactory.java +++ b/app/src/main/java/androidx/work/WorkerFactory.java @@ -35,13 +35,13 @@ public abstract class WorkerFactory { try { cls = Class.forName(str).asSubclass(ListenableWorker.class); } catch (Throwable th) { - Logger.get().error(TAG, a.u("Invalid class: ", str), th); + Logger.get().error(TAG, a.v("Invalid class: ", str), th); } if (cls != null) { try { createWorker = (ListenableWorker) cls.getDeclaredConstructor(Context.class, WorkerParameters.class).newInstance(context, workerParameters); } catch (Throwable th2) { - Logger.get().error(TAG, a.u("Could not instantiate ", str), th2); + Logger.get().error(TAG, a.v("Could not instantiate ", str), th2); } } } diff --git a/app/src/main/java/androidx/work/impl/Schedulers.java b/app/src/main/java/androidx/work/impl/Schedulers.java index 6cb54364ac..71344cfc00 100644 --- a/app/src/main/java/androidx/work/impl/Schedulers.java +++ b/app/src/main/java/androidx/work/impl/Schedulers.java @@ -51,7 +51,7 @@ public class Schedulers { if (eligibleWorkForScheduling != null && eligibleWorkForScheduling.size() > 0) { long currentTimeMillis = System.currentTimeMillis(); for (WorkSpec workSpec : eligibleWorkForScheduling) { - workSpecDao.markWorkSpecScheduled(workSpec.f32id, currentTimeMillis); + workSpecDao.markWorkSpecScheduled(workSpec.f31id, currentTimeMillis); } } workDatabase.setTransactionSuccessful(); diff --git a/app/src/main/java/androidx/work/impl/WorkDatabase.java b/app/src/main/java/androidx/work/impl/WorkDatabase.java index a8fa48274e..cbd40b6ab4 100644 --- a/app/src/main/java/androidx/work/impl/WorkDatabase.java +++ b/app/src/main/java/androidx/work/impl/WorkDatabase.java @@ -93,10 +93,10 @@ public abstract class WorkDatabase extends RoomDatabase { @NonNull public static String getPruneSQL() { - StringBuilder O = a.O(PRUNE_SQL_FORMAT_PREFIX); - O.append(getPruneDate()); - O.append(PRUNE_SQL_FORMAT_SUFFIX); - return O.toString(); + StringBuilder R = a.R(PRUNE_SQL_FORMAT_PREFIX); + R.append(getPruneDate()); + R.append(PRUNE_SQL_FORMAT_SUFFIX); + return R.toString(); } @NonNull diff --git a/app/src/main/java/androidx/work/impl/background/greedy/DelayedWorkTracker.java b/app/src/main/java/androidx/work/impl/background/greedy/DelayedWorkTracker.java index 42169cee27..509f21b81d 100644 --- a/app/src/main/java/androidx/work/impl/background/greedy/DelayedWorkTracker.java +++ b/app/src/main/java/androidx/work/impl/background/greedy/DelayedWorkTracker.java @@ -24,7 +24,7 @@ public class DelayedWorkTracker { @Override // java.lang.Runnable public void run() { - Logger.get().debug(DelayedWorkTracker.TAG, String.format("Scheduling work %s", this.val$workSpec.f32id), new Throwable[0]); + Logger.get().debug(DelayedWorkTracker.TAG, String.format("Scheduling work %s", this.val$workSpec.f31id), new Throwable[0]); DelayedWorkTracker.this.mGreedyScheduler.schedule(this.val$workSpec); } } @@ -35,12 +35,12 @@ public class DelayedWorkTracker { } public void schedule(@NonNull WorkSpec workSpec) { - Runnable remove = this.mRunnables.remove(workSpec.f32id); + Runnable remove = this.mRunnables.remove(workSpec.f31id); if (remove != null) { this.mRunnableScheduler.cancel(remove); } AnonymousClass1 r0 = new AnonymousClass1(workSpec); - this.mRunnables.put(workSpec.f32id, r0); + this.mRunnables.put(workSpec.f31id, r0); long currentTimeMillis = System.currentTimeMillis(); this.mRunnableScheduler.scheduleWithDelay(workSpec.calculateNextRunTime() - currentTimeMillis, r0); } diff --git a/app/src/main/java/androidx/work/impl/background/greedy/GreedyScheduler.java b/app/src/main/java/androidx/work/impl/background/greedy/GreedyScheduler.java index 12ba3a63ff..0b6023bf4c 100644 --- a/app/src/main/java/androidx/work/impl/background/greedy/GreedyScheduler.java +++ b/app/src/main/java/androidx/work/impl/background/greedy/GreedyScheduler.java @@ -98,7 +98,7 @@ public class GreedyScheduler implements Scheduler, WorkConstraintsCallback, Exec break; } WorkSpec next = it.next(); - if (next.f32id.equals(str)) { + if (next.f31id.equals(str)) { Logger.get().debug(TAG, String.format("Stopping tracking for %s", str), new Throwable[0]); this.mConstrainedWorkSpecs.remove(next); this.mWorkConstraintsTracker.replace(this.mConstrainedWorkSpecs); @@ -179,13 +179,13 @@ public class GreedyScheduler implements Scheduler, WorkConstraintsCallback, Exec Logger.get().debug(TAG, String.format("Ignoring WorkSpec %s, Requires device idle.", workSpec), new Throwable[0]); } else if (i < 24 || !workSpec.constraints.hasContentUriTriggers()) { hashSet.add(workSpec); - hashSet2.add(workSpec.f32id); + hashSet2.add(workSpec.f31id); } else { Logger.get().debug(TAG, String.format("Ignoring WorkSpec %s, Requires ContentUri triggers.", workSpec), new Throwable[0]); } } else { - Logger.get().debug(TAG, String.format("Starting work for %s", workSpec.f32id), new Throwable[0]); - this.mWorkManagerImpl.startWork(workSpec.f32id); + Logger.get().debug(TAG, String.format("Starting work for %s", workSpec.f31id), new Throwable[0]); + this.mWorkManagerImpl.startWork(workSpec.f31id); } } } diff --git a/app/src/main/java/androidx/work/impl/background/systemalarm/ConstraintsCommandHandler.java b/app/src/main/java/androidx/work/impl/background/systemalarm/ConstraintsCommandHandler.java index 7594d84d2e..5274e49b4f 100644 --- a/app/src/main/java/androidx/work/impl/background/systemalarm/ConstraintsCommandHandler.java +++ b/app/src/main/java/androidx/work/impl/background/systemalarm/ConstraintsCommandHandler.java @@ -35,14 +35,14 @@ public class ConstraintsCommandHandler { ArrayList arrayList = new ArrayList(scheduledWork.size()); long currentTimeMillis = System.currentTimeMillis(); for (WorkSpec workSpec : scheduledWork) { - String str = workSpec.f32id; + String str = workSpec.f31id; if (currentTimeMillis >= workSpec.calculateNextRunTime() && (!workSpec.hasConstraints() || this.mWorkConstraintsTracker.areAllConstraintsMet(str))) { arrayList.add(workSpec); } } Iterator it = arrayList.iterator(); while (it.hasNext()) { - String str2 = ((WorkSpec) it.next()).f32id; + String str2 = ((WorkSpec) it.next()).f31id; Intent createDelayMetIntent = CommandHandler.createDelayMetIntent(this.mContext, str2); Logger.get().debug(TAG, String.format("Creating a delay_met command for workSpec with id (%s)", str2), new Throwable[0]); SystemAlarmDispatcher systemAlarmDispatcher = this.mDispatcher; diff --git a/app/src/main/java/androidx/work/impl/background/systemalarm/SystemAlarmScheduler.java b/app/src/main/java/androidx/work/impl/background/systemalarm/SystemAlarmScheduler.java index 78bf8cf9e5..db8f28682c 100644 --- a/app/src/main/java/androidx/work/impl/background/systemalarm/SystemAlarmScheduler.java +++ b/app/src/main/java/androidx/work/impl/background/systemalarm/SystemAlarmScheduler.java @@ -16,8 +16,8 @@ public class SystemAlarmScheduler implements Scheduler { } private void scheduleWorkSpec(@NonNull WorkSpec workSpec) { - Logger.get().debug(TAG, String.format("Scheduling work with workSpecId %s", workSpec.f32id), new Throwable[0]); - this.mContext.startService(CommandHandler.createScheduleWorkIntent(this.mContext, workSpec.f32id)); + Logger.get().debug(TAG, String.format("Scheduling work with workSpecId %s", workSpec.f31id), new Throwable[0]); + this.mContext.startService(CommandHandler.createScheduleWorkIntent(this.mContext, workSpec.f31id)); } @Override // androidx.work.impl.Scheduler diff --git a/app/src/main/java/androidx/work/impl/background/systemjob/SystemJobInfoConverter.java b/app/src/main/java/androidx/work/impl/background/systemjob/SystemJobInfoConverter.java index f656107441..643c68b841 100644 --- a/app/src/main/java/androidx/work/impl/background/systemjob/SystemJobInfoConverter.java +++ b/app/src/main/java/androidx/work/impl/background/systemjob/SystemJobInfoConverter.java @@ -90,7 +90,7 @@ public class SystemJobInfoConverter { Constraints constraints = workSpec.constraints; int convertNetworkType = convertNetworkType(constraints.getRequiredNetworkType()); PersistableBundle persistableBundle = new PersistableBundle(); - persistableBundle.putString(EXTRA_WORK_SPEC_ID, workSpec.f32id); + persistableBundle.putString(EXTRA_WORK_SPEC_ID, workSpec.f31id); persistableBundle.putBoolean(EXTRA_IS_PERIODIC, workSpec.isPeriodic()); JobInfo.Builder extras = new JobInfo.Builder(i, this.mWorkServiceComponent).setRequiredNetworkType(convertNetworkType).setRequiresCharging(constraints.requiresCharging()).setRequiresDeviceIdle(constraints.requiresDeviceIdle()).setExtras(persistableBundle); if (!constraints.requiresDeviceIdle()) { diff --git a/app/src/main/java/androidx/work/impl/background/systemjob/SystemJobScheduler.java b/app/src/main/java/androidx/work/impl/background/systemjob/SystemJobScheduler.java index c01d5f0c63..c5312a5407 100644 --- a/app/src/main/java/androidx/work/impl/background/systemjob/SystemJobScheduler.java +++ b/app/src/main/java/androidx/work/impl/background/systemjob/SystemJobScheduler.java @@ -151,21 +151,21 @@ public class SystemJobScheduler implements Scheduler { for (WorkSpec workSpec : workSpecArr) { workDatabase.beginTransaction(); try { - WorkSpec workSpec2 = workDatabase.workSpecDao().getWorkSpec(workSpec.f32id); + WorkSpec workSpec2 = workDatabase.workSpecDao().getWorkSpec(workSpec.f31id); if (workSpec2 == null) { - Logger.get().warning(TAG, "Skipping scheduling " + workSpec.f32id + " because it's no longer in the DB", new Throwable[0]); + Logger.get().warning(TAG, "Skipping scheduling " + workSpec.f31id + " because it's no longer in the DB", new Throwable[0]); workDatabase.setTransactionSuccessful(); } else if (workSpec2.state != WorkInfo.State.ENQUEUED) { - Logger.get().warning(TAG, "Skipping scheduling " + workSpec.f32id + " because it is no longer enqueued", new Throwable[0]); + Logger.get().warning(TAG, "Skipping scheduling " + workSpec.f31id + " because it is no longer enqueued", new Throwable[0]); workDatabase.setTransactionSuccessful(); } else { - SystemIdInfo systemIdInfo = workDatabase.systemIdInfoDao().getSystemIdInfo(workSpec.f32id); + SystemIdInfo systemIdInfo = workDatabase.systemIdInfoDao().getSystemIdInfo(workSpec.f31id); int nextJobSchedulerIdWithRange = systemIdInfo != null ? systemIdInfo.systemId : idGenerator.nextJobSchedulerIdWithRange(this.mWorkManager.getConfiguration().getMinJobSchedulerId(), this.mWorkManager.getConfiguration().getMaxJobSchedulerId()); if (systemIdInfo == null) { - this.mWorkManager.getWorkDatabase().systemIdInfoDao().insertSystemIdInfo(new SystemIdInfo(workSpec.f32id, nextJobSchedulerIdWithRange)); + this.mWorkManager.getWorkDatabase().systemIdInfoDao().insertSystemIdInfo(new SystemIdInfo(workSpec.f31id, nextJobSchedulerIdWithRange)); } scheduleInternal(workSpec, nextJobSchedulerIdWithRange); - if (Build.VERSION.SDK_INT == 23 && (pendingJobIds = getPendingJobIds(this.mContext, this.mJobScheduler, workSpec.f32id)) != null) { + if (Build.VERSION.SDK_INT == 23 && (pendingJobIds = getPendingJobIds(this.mContext, this.mJobScheduler, workSpec.f31id)) != null) { int indexOf = pendingJobIds.indexOf(Integer.valueOf(nextJobSchedulerIdWithRange)); if (indexOf >= 0) { pendingJobIds.remove(indexOf); @@ -185,7 +185,7 @@ public class SystemJobScheduler implements Scheduler { @VisibleForTesting public void scheduleInternal(WorkSpec workSpec, int i) { JobInfo convert = this.mSystemJobInfoConverter.convert(workSpec, i); - Logger.get().debug(TAG, String.format("Scheduling work ID %s Job ID %s", workSpec.f32id, Integer.valueOf(i)), new Throwable[0]); + Logger.get().debug(TAG, String.format("Scheduling work ID %s Job ID %s", workSpec.f31id, Integer.valueOf(i)), new Throwable[0]); try { this.mJobScheduler.schedule(convert); } catch (IllegalStateException e) { diff --git a/app/src/main/java/androidx/work/impl/constraints/controllers/ConstraintController.java b/app/src/main/java/androidx/work/impl/constraints/controllers/ConstraintController.java index 0524309ad7..e628a56172 100644 --- a/app/src/main/java/androidx/work/impl/constraints/controllers/ConstraintController.java +++ b/app/src/main/java/androidx/work/impl/constraints/controllers/ConstraintController.java @@ -52,7 +52,7 @@ public abstract class ConstraintController implements ConstraintListener { this.mMatchingWorkSpecIds.clear(); for (WorkSpec workSpec : iterable) { if (hasConstraint(workSpec)) { - this.mMatchingWorkSpecIds.add(workSpec.f32id); + this.mMatchingWorkSpecIds.add(workSpec.f31id); } } if (this.mMatchingWorkSpecIds.isEmpty()) { diff --git a/app/src/main/java/androidx/work/impl/model/RawWorkInfoDao_Impl.java b/app/src/main/java/androidx/work/impl/model/RawWorkInfoDao_Impl.java index 0c54beee04..a8d0bd8007 100644 --- a/app/src/main/java/androidx/work/impl/model/RawWorkInfoDao_Impl.java +++ b/app/src/main/java/androidx/work/impl/model/RawWorkInfoDao_Impl.java @@ -66,7 +66,7 @@ public final class RawWorkInfoDao_Impl implements RawWorkInfoDao { } WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo(); if (columnIndex != -1) { - workInfoPojo.f34id = query.getString(columnIndex); + workInfoPojo.f33id = query.getString(columnIndex); } if (columnIndex2 != -1) { workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndex2)); @@ -266,7 +266,7 @@ public final class RawWorkInfoDao_Impl implements RawWorkInfoDao { } WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo(); if (columnIndex != -1) { - workInfoPojo.f34id = query.getString(columnIndex); + workInfoPojo.f33id = query.getString(columnIndex); } if (columnIndex2 != -1) { workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndex2)); diff --git a/app/src/main/java/androidx/work/impl/model/WorkSpec.java b/app/src/main/java/androidx/work/impl/model/WorkSpec.java index 04a89b8f69..7f218c92c1 100644 --- a/app/src/main/java/androidx/work/impl/model/WorkSpec.java +++ b/app/src/main/java/androidx/work/impl/model/WorkSpec.java @@ -42,7 +42,7 @@ public final class WorkSpec { @ColumnInfo(name = ModelAuditLogEntry.CHANGE_KEY_ID) /* renamed from: id reason: collision with root package name */ - public String f32id; + public String f31id; @ColumnInfo(name = "initial_delay") public long initialDelay; @NonNull @@ -91,7 +91,7 @@ public final class WorkSpec { @ColumnInfo(name = ModelAuditLogEntry.CHANGE_KEY_ID) /* renamed from: id reason: collision with root package name */ - public String f33id; + public String f32id; @ColumnInfo(name = "state") public WorkInfo.State state; @@ -106,11 +106,11 @@ public final class WorkSpec { if (this.state != idAndState.state) { return false; } - return this.f33id.equals(idAndState.f33id); + return this.f32id.equals(idAndState.f32id); } public int hashCode() { - return this.state.hashCode() + (this.f33id.hashCode() * 31); + return this.state.hashCode() + (this.f32id.hashCode() * 31); } } @@ -118,7 +118,7 @@ public final class WorkSpec { @ColumnInfo(name = ModelAuditLogEntry.CHANGE_KEY_ID) /* renamed from: id reason: collision with root package name */ - public String f34id; + public String f33id; @ColumnInfo(name = "output") public Data output; @Relation(entity = WorkProgress.class, entityColumn = "work_spec_id", parentColumn = ModelAuditLogEntry.CHANGE_KEY_ID, projection = {"progress"}) @@ -141,8 +141,8 @@ public final class WorkSpec { if (this.runAttemptCount != workInfoPojo.runAttemptCount) { return false; } - String str = this.f34id; - if (str == null ? workInfoPojo.f34id != null : !str.equals(workInfoPojo.f34id)) { + String str = this.f33id; + if (str == null ? workInfoPojo.f33id != null : !str.equals(workInfoPojo.f33id)) { return false; } if (this.state != workInfoPojo.state) { @@ -162,7 +162,7 @@ public final class WorkSpec { } public int hashCode() { - String str = this.f34id; + String str = this.f33id; int i = 0; int hashCode = (str != null ? str.hashCode() : 0) * 31; WorkInfo.State state = this.state; @@ -181,7 +181,7 @@ public final class WorkSpec { @NonNull public WorkInfo toWorkInfo() { List list = this.progress; - return new WorkInfo(UUID.fromString(this.f34id), this.state, this.output, this.tags, (list == null || list.isEmpty()) ? Data.EMPTY : this.progress.get(0), this.runAttemptCount); + return new WorkInfo(UUID.fromString(this.f33id), this.state, this.output, this.tags, (list == null || list.isEmpty()) ? Data.EMPTY : this.progress.get(0), this.runAttemptCount); } } @@ -193,7 +193,7 @@ public final class WorkSpec { this.backoffPolicy = BackoffPolicy.EXPONENTIAL; this.backoffDelayDuration = 30000; this.scheduleRequestedAt = -1; - this.f32id = workSpec.f32id; + this.f31id = workSpec.f31id; this.workerClassName = workSpec.workerClassName; this.state = workSpec.state; this.inputMergerClassName = workSpec.inputMergerClassName; @@ -220,7 +220,7 @@ public final class WorkSpec { this.backoffPolicy = BackoffPolicy.EXPONENTIAL; this.backoffDelayDuration = 30000; this.scheduleRequestedAt = -1; - this.f32id = str; + this.f31id = str; this.workerClassName = str2; } @@ -274,7 +274,7 @@ public final class WorkSpec { return false; } WorkSpec workSpec = (WorkSpec) obj; - if (this.initialDelay != workSpec.initialDelay || this.intervalDuration != workSpec.intervalDuration || this.flexDuration != workSpec.flexDuration || this.runAttemptCount != workSpec.runAttemptCount || this.backoffDelayDuration != workSpec.backoffDelayDuration || this.periodStartTime != workSpec.periodStartTime || this.minimumRetentionDuration != workSpec.minimumRetentionDuration || this.scheduleRequestedAt != workSpec.scheduleRequestedAt || this.runInForeground != workSpec.runInForeground || !this.f32id.equals(workSpec.f32id) || this.state != workSpec.state || !this.workerClassName.equals(workSpec.workerClassName)) { + if (this.initialDelay != workSpec.initialDelay || this.intervalDuration != workSpec.intervalDuration || this.flexDuration != workSpec.flexDuration || this.runAttemptCount != workSpec.runAttemptCount || this.backoffDelayDuration != workSpec.backoffDelayDuration || this.periodStartTime != workSpec.periodStartTime || this.minimumRetentionDuration != workSpec.minimumRetentionDuration || this.scheduleRequestedAt != workSpec.scheduleRequestedAt || this.runInForeground != workSpec.runInForeground || !this.f31id.equals(workSpec.f31id) || this.state != workSpec.state || !this.workerClassName.equals(workSpec.workerClassName)) { return false; } String str = this.inputMergerClassName; @@ -289,7 +289,7 @@ public final class WorkSpec { } public int hashCode() { - int m = a.m(this.workerClassName, (this.state.hashCode() + (this.f32id.hashCode() * 31)) * 31, 31); + int m = a.m(this.workerClassName, (this.state.hashCode() + (this.f31id.hashCode() * 31)) * 31, 31); String str = this.inputMergerClassName; int hashCode = str != null ? str.hashCode() : 0; int hashCode2 = this.input.hashCode(); @@ -353,6 +353,6 @@ public final class WorkSpec { @NonNull public String toString() { - return a.G(a.O("{WorkSpec: "), this.f32id, "}"); + return a.H(a.R("{WorkSpec: "), this.f31id, "}"); } } diff --git a/app/src/main/java/androidx/work/impl/model/WorkSpecDao_Impl.java b/app/src/main/java/androidx/work/impl/model/WorkSpecDao_Impl.java index f337a724c7..f71e7d0f12 100644 --- a/app/src/main/java/androidx/work/impl/model/WorkSpecDao_Impl.java +++ b/app/src/main/java/androidx/work/impl/model/WorkSpecDao_Impl.java @@ -39,7 +39,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao { } public void bind(SupportSQLiteStatement supportSQLiteStatement, WorkSpec workSpec) { - String str = workSpec.f32id; + String str = workSpec.f31id; if (str == null) { supportSQLiteStatement.bindNull(1); } else { @@ -162,7 +162,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao { arrayList3 = new ArrayList(); } WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo(); - workInfoPojo.f34id = query.getString(columnIndexOrThrow); + workInfoPojo.f33id = query.getString(columnIndexOrThrow); workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2)); workInfoPojo.output = Data.fromByteArray(query.getBlob(columnIndexOrThrow3)); workInfoPojo.runAttemptCount = query.getInt(columnIndexOrThrow4); @@ -237,7 +237,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao { arrayList3 = new ArrayList(); } WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo(); - workInfoPojo.f34id = query.getString(columnIndexOrThrow); + workInfoPojo.f33id = query.getString(columnIndexOrThrow); workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2)); workInfoPojo.output = Data.fromByteArray(query.getBlob(columnIndexOrThrow3)); workInfoPojo.runAttemptCount = query.getInt(columnIndexOrThrow4); @@ -312,7 +312,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao { arrayList3 = new ArrayList(); } WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo(); - workInfoPojo.f34id = query.getString(columnIndexOrThrow); + workInfoPojo.f33id = query.getString(columnIndexOrThrow); workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2)); workInfoPojo.output = Data.fromByteArray(query.getBlob(columnIndexOrThrow3)); workInfoPojo.runAttemptCount = query.getInt(columnIndexOrThrow4); @@ -1340,7 +1340,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao { ArrayList arrayList = new ArrayList(query.getCount()); while (query.moveToNext()) { WorkSpec.IdAndState idAndState = new WorkSpec.IdAndState(); - idAndState.f33id = query.getString(columnIndexOrThrow); + idAndState.f32id = query.getString(columnIndexOrThrow); idAndState.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2)); arrayList.add(idAndState); } @@ -1521,7 +1521,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao { arrayList = new ArrayList<>(); } WorkSpec.WorkInfoPojo workInfoPojo2 = new WorkSpec.WorkInfoPojo(); - workInfoPojo2.f34id = query.getString(columnIndexOrThrow); + workInfoPojo2.f33id = query.getString(columnIndexOrThrow); workInfoPojo2.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2)); workInfoPojo2.output = Data.fromByteArray(query.getBlob(columnIndexOrThrow3)); workInfoPojo2.runAttemptCount = query.getInt(columnIndexOrThrow4); @@ -1600,7 +1600,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao { arrayList3 = new ArrayList<>(); } WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo(); - workInfoPojo.f34id = query.getString(columnIndexOrThrow); + workInfoPojo.f33id = query.getString(columnIndexOrThrow); workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2)); workInfoPojo.output = Data.fromByteArray(query.getBlob(columnIndexOrThrow3)); workInfoPojo.runAttemptCount = query.getInt(columnIndexOrThrow4); @@ -1670,7 +1670,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao { arrayList3 = new ArrayList<>(); } WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo(); - workInfoPojo.f34id = query.getString(columnIndexOrThrow); + workInfoPojo.f33id = query.getString(columnIndexOrThrow); workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2)); workInfoPojo.output = Data.fromByteArray(query.getBlob(columnIndexOrThrow3)); workInfoPojo.runAttemptCount = query.getInt(columnIndexOrThrow4); @@ -1740,7 +1740,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao { arrayList3 = new ArrayList<>(); } WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo(); - workInfoPojo.f34id = query.getString(columnIndexOrThrow); + workInfoPojo.f33id = query.getString(columnIndexOrThrow); workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2)); workInfoPojo.output = Data.fromByteArray(query.getBlob(columnIndexOrThrow3)); workInfoPojo.runAttemptCount = query.getInt(columnIndexOrThrow4); diff --git a/app/src/main/java/androidx/work/impl/model/WorkTypeConverters.java b/app/src/main/java/androidx/work/impl/model/WorkTypeConverters.java index ae4d73904b..356f880786 100644 --- a/app/src/main/java/androidx/work/impl/model/WorkTypeConverters.java +++ b/app/src/main/java/androidx/work/impl/model/WorkTypeConverters.java @@ -286,7 +286,7 @@ public class WorkTypeConverters { if (i == 1) { return BackoffPolicy.LINEAR; } - throw new IllegalArgumentException(a.n("Could not convert ", i, " to BackoffPolicy")); + throw new IllegalArgumentException(a.q("Could not convert ", i, " to BackoffPolicy")); } @TypeConverter @@ -306,7 +306,7 @@ public class WorkTypeConverters { if (i == 4) { return NetworkType.METERED; } - throw new IllegalArgumentException(a.n("Could not convert ", i, " to NetworkType")); + throw new IllegalArgumentException(a.q("Could not convert ", i, " to NetworkType")); } @TypeConverter @@ -329,7 +329,7 @@ public class WorkTypeConverters { if (i == 5) { return WorkInfo.State.CANCELLED; } - throw new IllegalArgumentException(a.n("Could not convert ", i, " to State")); + throw new IllegalArgumentException(a.q("Could not convert ", i, " to State")); } @TypeConverter diff --git a/app/src/main/java/androidx/work/impl/utils/EnqueueRunnable.java b/app/src/main/java/androidx/work/impl/utils/EnqueueRunnable.java index bc4fa2b9a3..ed9f43265e 100644 --- a/app/src/main/java/androidx/work/impl/utils/EnqueueRunnable.java +++ b/app/src/main/java/androidx/work/impl/utils/EnqueueRunnable.java @@ -100,7 +100,7 @@ public class EnqueueRunnable implements Runnable { DependencyDao dependencyDao2 = workDatabase.dependencyDao(); ArrayList arrayList2 = new ArrayList(); for (WorkSpec.IdAndState idAndState : workSpecIdAndStatesForName) { - if (!dependencyDao2.hasDependents(idAndState.f33id)) { + if (!dependencyDao2.hasDependents(idAndState.f32id)) { WorkInfo.State state2 = idAndState.state; dependencyDao = dependencyDao2; boolean z9 = (state2 == WorkInfo.State.SUCCEEDED) & z4; @@ -109,7 +109,7 @@ public class EnqueueRunnable implements Runnable { } else if (state2 == WorkInfo.State.CANCELLED) { z3 = true; } - arrayList2.add(idAndState.f33id); + arrayList2.add(idAndState.f32id); z4 = z9; } else { dependencyDao = dependencyDao2; @@ -122,7 +122,7 @@ public class EnqueueRunnable implements Runnable { } else { WorkSpecDao workSpecDao = workDatabase.workSpecDao(); for (WorkSpec.IdAndState idAndState2 : workSpecDao.getWorkSpecIdAndStatesForName(str)) { - workSpecDao.delete(idAndState2.f33id); + workSpecDao.delete(idAndState2.f32id); } z6 = false; z3 = false; @@ -145,7 +145,7 @@ public class EnqueueRunnable implements Runnable { CancelWorkRunnable.forName(str, workManagerImpl2, false).run(); WorkSpecDao workSpecDao2 = workDatabase.workSpecDao(); for (WorkSpec.IdAndState idAndState4 : workSpecIdAndStatesForName) { - workSpecDao2.delete(idAndState4.f33id); + workSpecDao2.delete(idAndState4.f32id); } z5 = true; for (WorkRequest workRequest : list) { diff --git a/app/src/main/java/androidx/work/impl/utils/ForceStopRunnable.java b/app/src/main/java/androidx/work/impl/utils/ForceStopRunnable.java index 583f2598f5..a3b01e3252 100644 --- a/app/src/main/java/androidx/work/impl/utils/ForceStopRunnable.java +++ b/app/src/main/java/androidx/work/impl/utils/ForceStopRunnable.java @@ -88,8 +88,8 @@ public class ForceStopRunnable implements Runnable { boolean z2 = runningWork != null && !runningWork.isEmpty(); if (z2) { for (WorkSpec workSpec : runningWork) { - workSpecDao.setState(WorkInfo.State.ENQUEUED, workSpec.f32id); - workSpecDao.markWorkSpecScheduled(workSpec.f32id, -1); + workSpecDao.setState(WorkInfo.State.ENQUEUED, workSpec.f31id); + workSpecDao.markWorkSpecScheduled(workSpec.f31id, -1); } } workProgressDao.deleteAll(); diff --git a/app/src/main/java/androidx/work/impl/utils/WakeLocks.java b/app/src/main/java/androidx/work/impl/utils/WakeLocks.java index c48f5319a2..2650d5af2a 100644 --- a/app/src/main/java/androidx/work/impl/utils/WakeLocks.java +++ b/app/src/main/java/androidx/work/impl/utils/WakeLocks.java @@ -30,11 +30,11 @@ public class WakeLocks { } public static PowerManager.WakeLock newWakeLock(@NonNull Context context, @NonNull String str) { - String u = a.u("WorkManager: ", str); - PowerManager.WakeLock newWakeLock = ((PowerManager) context.getApplicationContext().getSystemService("power")).newWakeLock(1, u); + String v = a.v("WorkManager: ", str); + PowerManager.WakeLock newWakeLock = ((PowerManager) context.getApplicationContext().getSystemService("power")).newWakeLock(1, v); WeakHashMap weakHashMap = sWakeLocks; synchronized (weakHashMap) { - weakHashMap.put(newWakeLock, u); + weakHashMap.put(newWakeLock, v); } return newWakeLock; } diff --git a/app/src/main/java/androidx/work/impl/utils/WorkTimer.java b/app/src/main/java/androidx/work/impl/utils/WorkTimer.java index 6619cf2ba5..d6f69d9d20 100644 --- a/app/src/main/java/androidx/work/impl/utils/WorkTimer.java +++ b/app/src/main/java/androidx/work/impl/utils/WorkTimer.java @@ -30,9 +30,9 @@ public class WorkTimer { @Override // java.util.concurrent.ThreadFactory public Thread newThread(@NonNull Runnable runnable) { Thread newThread = Executors.defaultThreadFactory().newThread(runnable); - StringBuilder O = a.O("WorkManager-WorkTimer-thread-"); - O.append(this.mThreadsCreated); - newThread.setName(O.toString()); + StringBuilder R = a.R("WorkManager-WorkTimer-thread-"); + R.append(this.mThreadsCreated); + newThread.setName(R.toString()); this.mThreadsCreated++; return newThread; } diff --git a/app/src/main/java/androidx/work/impl/utils/futures/AbstractFuture.java b/app/src/main/java/androidx/work/impl/utils/futures/AbstractFuture.java index 8d489826d3..4c9b77e49e 100644 --- a/app/src/main/java/androidx/work/impl/utils/futures/AbstractFuture.java +++ b/app/src/main/java/androidx/work/impl/utils/futures/AbstractFuture.java @@ -595,32 +595,30 @@ public abstract class AbstractFuture implements a { String timeUnit2 = timeUnit.toString(); Locale locale = Locale.ROOT; String lowerCase = timeUnit2.toLowerCase(locale); - StringBuilder R = c.d.b.a.a.R("Waited ", j, " "); - R.append(timeUnit.toString().toLowerCase(locale)); - String sb = R.toString(); + String str = "Waited " + j + " " + timeUnit.toString().toLowerCase(locale); if (nanos + 1000 < 0) { - String u = c.d.b.a.a.u(sb, " (plus "); + String v = c.d.b.a.a.v(str, " (plus "); long j2 = -nanos; long convert = timeUnit.convert(j2, TimeUnit.NANOSECONDS); long nanos2 = j2 - timeUnit.toNanos(convert); int i = (convert > 0 ? 1 : (convert == 0 ? 0 : -1)); boolean z2 = i == 0 || nanos2 > 1000; if (i > 0) { - String str = u + convert + " " + lowerCase; + String str2 = v + convert + " " + lowerCase; if (z2) { - str = c.d.b.a.a.u(str, ","); + str2 = c.d.b.a.a.v(str2, ","); } - u = c.d.b.a.a.u(str, " "); + v = c.d.b.a.a.v(str2, " "); } if (z2) { - u = c.d.b.a.a.r(u, nanos2, " nanoseconds "); + v = v + nanos2 + " nanoseconds "; } - sb = c.d.b.a.a.u(u, "delay)"); + str = c.d.b.a.a.v(v, "delay)"); } if (isDone()) { - throw new TimeoutException(c.d.b.a.a.u(sb, " but future completed as timeout expired")); + throw new TimeoutException(c.d.b.a.a.v(str, " but future completed as timeout expired")); } - throw new TimeoutException(c.d.b.a.a.v(sb, " for ", abstractFuture)); + throw new TimeoutException(c.d.b.a.a.w(str, " for ", abstractFuture)); } throw new InterruptedException(); } @@ -649,15 +647,15 @@ public abstract class AbstractFuture implements a { public String pendingToString() { Object obj = this.value; if (obj instanceof SetFuture) { - return c.d.b.a.a.G(c.d.b.a.a.O("setFuture=["), userObjectToString(((SetFuture) obj).future), "]"); + return c.d.b.a.a.H(c.d.b.a.a.R("setFuture=["), userObjectToString(((SetFuture) obj).future), "]"); } if (!(this instanceof ScheduledFuture)) { return null; } - StringBuilder O = c.d.b.a.a.O("remaining delay=["); - O.append(((ScheduledFuture) this).getDelay(TimeUnit.MILLISECONDS)); - O.append(" ms]"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("remaining delay=["); + R.append(((ScheduledFuture) this).getDelay(TimeUnit.MILLISECONDS)); + R.append(" ms]"); + return R.toString(); } public boolean set(@Nullable V v) { @@ -725,9 +723,9 @@ public abstract class AbstractFuture implements a { try { str = pendingToString(); } catch (RuntimeException e) { - StringBuilder O = c.d.b.a.a.O("Exception thrown from implementation: "); - O.append(e.getClass()); - str = O.toString(); + StringBuilder R = c.d.b.a.a.R("Exception thrown from implementation: "); + R.append(e.getClass()); + str = R.toString(); } if (str != null && !str.isEmpty()) { sb.append("PENDING, info=["); diff --git a/app/src/main/java/androidx/work/impl/workers/DiagnosticsWorker.java b/app/src/main/java/androidx/work/impl/workers/DiagnosticsWorker.java index d2dced5cff..fd9cb541ec 100644 --- a/app/src/main/java/androidx/work/impl/workers/DiagnosticsWorker.java +++ b/app/src/main/java/androidx/work/impl/workers/DiagnosticsWorker.java @@ -30,7 +30,7 @@ public class DiagnosticsWorker extends Worker { @NonNull private static String workSpecRow(@NonNull WorkSpec workSpec, @Nullable String str, @Nullable Integer num, @NonNull String str2) { - return String.format("\n%s\t %s\t %s\t %s\t %s\t %s\t", workSpec.f32id, workSpec.workerClassName, num, workSpec.state.name(), str, str2); + return String.format("\n%s\t %s\t %s\t %s\t %s\t %s\t", workSpec.f31id, workSpec.workerClassName, num, workSpec.state.name(), str, str2); } @NonNull @@ -39,11 +39,11 @@ public class DiagnosticsWorker extends Worker { sb.append(String.format("\n Id \t Class Name\t %s\t State\t Unique Name\t Tags\t", Build.VERSION.SDK_INT >= 23 ? "Job Id" : "Alarm Id")); for (WorkSpec workSpec : list) { Integer num = null; - SystemIdInfo systemIdInfo = systemIdInfoDao.getSystemIdInfo(workSpec.f32id); + SystemIdInfo systemIdInfo = systemIdInfoDao.getSystemIdInfo(workSpec.f31id); if (systemIdInfo != null) { num = Integer.valueOf(systemIdInfo.systemId); } - sb.append(workSpecRow(workSpec, TextUtils.join(",", workNameDao.getNamesForWorkSpecId(workSpec.f32id)), num, TextUtils.join(",", workTagDao.getTagsForWorkSpecId(workSpec.f32id)))); + sb.append(workSpecRow(workSpec, TextUtils.join(",", workNameDao.getNamesForWorkSpecId(workSpec.f31id)), num, TextUtils.join(",", workTagDao.getTagsForWorkSpecId(workSpec.f31id)))); } return sb.toString(); } diff --git a/app/src/main/java/b0/a/a.java b/app/src/main/java/b0/a/a.java deleted file mode 100644 index 2333f1255e..0000000000 --- a/app/src/main/java/b0/a/a.java +++ /dev/null @@ -1,5 +0,0 @@ -package b0.a; -/* compiled from: Provider */ -public interface a { - T get(); -} diff --git a/app/src/main/java/b0/a/a/a.java b/app/src/main/java/b0/a/a/a.java new file mode 100644 index 0000000000..e291155317 --- /dev/null +++ b/app/src/main/java/b0/a/a/a.java @@ -0,0 +1,33 @@ +package b0.a.a; + +import android.graphics.Bitmap; +import b0.a.a.e.c; +import d0.z.d.m; +import d0.z.d.o; +import java.util.Objects; +import kotlin.Unit; +import kotlin.jvm.functions.Function1; +/* compiled from: Compressor.kt */ +public final class a extends o implements Function1 { + public static final a i = new a(); + + public a() { + super(1); + } + + /* Return type fixed from 'java.lang.Object' to match base method */ + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ + @Override // kotlin.jvm.functions.Function1 + public Unit invoke(b0.a.a.e.a aVar) { + b0.a.a.e.a aVar2 = aVar; + m.checkParameterIsNotNull(aVar2, "$receiver"); + Bitmap.CompressFormat compressFormat = Bitmap.CompressFormat.JPEG; + m.checkParameterIsNotNull(aVar2, "$this$default"); + m.checkParameterIsNotNull(compressFormat, "format"); + c cVar = new c(612, 816, compressFormat, 80); + Objects.requireNonNull(aVar2); + m.checkParameterIsNotNull(cVar, "constraint"); + aVar2.a.add(cVar); + return Unit.a; + } +} diff --git a/app/src/main/java/b0/a/a/b.java b/app/src/main/java/b0/a/a/b.java new file mode 100644 index 0000000000..07fd30c64e --- /dev/null +++ b/app/src/main/java/b0/a/a/b.java @@ -0,0 +1,159 @@ +package b0.a.a; + +import android.content.ContentResolver; +import android.content.Context; +import android.database.Cursor; +import android.net.Uri; +import android.os.ParcelFileDescriptor; +import androidx.core.app.NotificationCompat; +import b0.a.a.e.a; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.k; +import d0.z.d.m; +import java.io.File; +import java.io.FileOutputStream; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.Locale; +import kotlin.Unit; +import kotlin.coroutines.Continuation; +import kotlin.jvm.functions.Function1; +import kotlin.jvm.functions.Function2; +import kotlinx.coroutines.CoroutineScope; +/* compiled from: Compressor.kt */ +@e(c = "id.zelory.compressor.Compressor$compress$6", f = "Compressor.kt", l = {}, m = "invokeSuspend") +public final class b extends k implements Function2, Object> { + public final /* synthetic */ Function1 $compressionPatch; + public final /* synthetic */ Context $context; + public final /* synthetic */ Uri $imageFileUri; + public int label; + private CoroutineScope p$; + + /* JADX INFO: super call moved to the top of the method (can break code semantics) */ + public b(Function1 function1, Context context, Uri uri, Continuation continuation) { + super(2, continuation); + this.$compressionPatch = function1; + this.$context = context; + this.$imageFileUri = uri; + } + + @Override // d0.w.i.a.a + public final Continuation create(Object obj, Continuation continuation) { + m.checkParameterIsNotNull(continuation, "completion"); + b bVar = new b(this.$compressionPatch, this.$context, this.$imageFileUri, continuation); + bVar.p$ = (CoroutineScope) obj; + return bVar; + } + + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ + @Override // kotlin.jvm.functions.Function2 + public final Object invoke(CoroutineScope coroutineScope, Continuation continuation) { + Continuation continuation2 = continuation; + m.checkParameterIsNotNull(continuation2, "completion"); + b bVar = new b(this.$compressionPatch, this.$context, this.$imageFileUri, continuation2); + bVar.p$ = coroutineScope; + return bVar.invokeSuspend(Unit.a); + } + + /* JADX WARNING: Code restructure failed: missing block: B:42:0x015e, code lost: + r2 = move-exception; + */ + /* JADX WARNING: Code restructure failed: missing block: B:43:0x015f, code lost: + d0.y.b.closeFinally(r0, r13); + */ + /* JADX WARNING: Code restructure failed: missing block: B:44:0x0162, code lost: + throw r2; + */ + /* JADX WARNING: Code restructure failed: missing block: B:47:0x0164, code lost: + r0 = move-exception; + */ + /* JADX WARNING: Code restructure failed: missing block: B:48:0x0165, code lost: + d0.y.b.closeFinally(r1, r13); + */ + /* JADX WARNING: Code restructure failed: missing block: B:49:0x0168, code lost: + throw r0; + */ + /* JADX WARNING: Code restructure failed: missing block: B:55:0x0182, code lost: + r0 = move-exception; + */ + /* JADX WARNING: Code restructure failed: missing block: B:56:0x0183, code lost: + d0.y.b.closeFinally(r1, r13); + */ + /* JADX WARNING: Code restructure failed: missing block: B:57:0x0186, code lost: + throw r0; + */ + @Override // d0.w.i.a.a + public final Object invokeSuspend(Object obj) { + String str; + c.getCOROUTINE_SUSPENDED(); + if (this.label == 0) { + l.throwOnFailure(obj); + a aVar = new a(); + this.$compressionPatch.invoke(aVar); + Context context = this.$context; + Uri uri = this.$imageFileUri; + String str2 = d.a; + m.checkParameterIsNotNull(context, "context"); + m.checkParameterIsNotNull(uri, "srcFileUri"); + StringBuilder sb = new StringBuilder(); + StringBuilder sb2 = new StringBuilder(); + File cacheDir = context.getCacheDir(); + m.checkExpressionValueIsNotNull(cacheDir, "context.cacheDir"); + sb2.append(cacheDir.getPath()); + String str3 = d.a; + sb2.append(str3); + sb2.append("compressor"); + sb2.append(str3); + sb.append(sb2.toString()); + m.checkParameterIsNotNull(context, "context"); + m.checkParameterIsNotNull(uri, NotificationCompat.MessagingStyle.Message.KEY_DATA_URI); + ContentResolver contentResolver = context.getContentResolver(); + Cursor query = contentResolver.query(uri, new String[]{"_display_name"}, null, null, null); + if (query == null) { + m.throwNpe(); + } + int columnIndex = query.getColumnIndex("_display_name"); + if (query.moveToFirst()) { + str = query.getString(columnIndex); + m.checkExpressionValueIsNotNull(str, "it.getString(nameIndex)"); + d0.y.b.closeFinally(query, null); + } else { + String str4 = "IMG_" + new SimpleDateFormat("yyyyMMdd_", Locale.getDefault()).format(new Date()) + System.nanoTime(); + String type = contentResolver.getType(uri); + if (m.areEqual(type, "image/jpg") || m.areEqual(type, "image/jpeg")) { + str = str4 + ".jpeg"; + } else if (m.areEqual(type, "image/png")) { + str = str4 + ".png"; + } else { + throw new IllegalStateException(type + " fallback display name not supported"); + } + d0.y.b.closeFinally(query, null); + } + sb.append(str); + File file = new File(sb.toString()); + File parentFile = file.getParentFile(); + if (parentFile != null) { + parentFile.mkdirs(); + } + if (file.exists()) { + file.delete(); + } + file.createNewFile(); + file.deleteOnExit(); + ParcelFileDescriptor.AutoCloseInputStream autoCloseInputStream = new ParcelFileDescriptor.AutoCloseInputStream(context.getContentResolver().openFileDescriptor(uri, "r")); + FileOutputStream fileOutputStream = new FileOutputStream(file); + d0.y.a.copyTo$default(autoCloseInputStream, fileOutputStream, 0, 2, null); + d0.y.b.closeFinally(fileOutputStream, null); + d0.y.b.closeFinally(autoCloseInputStream, null); + for (b0.a.a.e.b bVar : aVar.a) { + while (!bVar.b(file)) { + file = bVar.a(file); + } + } + return file; + } + throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); + } +} diff --git a/app/src/main/java/b0/a/a/c.java b/app/src/main/java/b0/a/a/c.java new file mode 100644 index 0000000000..94bcff0880 --- /dev/null +++ b/app/src/main/java/b0/a/a/c.java @@ -0,0 +1,13 @@ +package b0.a.a; + +import android.graphics.Bitmap; +public final /* synthetic */ class c { + public static final /* synthetic */ int[] a; + + static { + int[] iArr = new int[Bitmap.CompressFormat.values().length]; + a = iArr; + iArr[Bitmap.CompressFormat.PNG.ordinal()] = 1; + iArr[Bitmap.CompressFormat.WEBP.ordinal()] = 2; + } +} diff --git a/app/src/main/java/b0/a/a/d.java b/app/src/main/java/b0/a/a/d.java new file mode 100644 index 0000000000..531ee3b023 --- /dev/null +++ b/app/src/main/java/b0/a/a/d.java @@ -0,0 +1,7 @@ +package b0.a.a; + +import java.io.File; +/* compiled from: Util.kt */ +public final class d { + public static final String a = File.separator; +} diff --git a/app/src/main/java/b0/a/a/e/a.java b/app/src/main/java/b0/a/a/e/a.java new file mode 100644 index 0000000000..22983a3fd1 --- /dev/null +++ b/app/src/main/java/b0/a/a/e/a.java @@ -0,0 +1,8 @@ +package b0.a.a.e; + +import java.util.ArrayList; +import java.util.List; +/* compiled from: Compression.kt */ +public final class a { + public final List a = new ArrayList(); +} diff --git a/app/src/main/java/b0/a/a/e/b.java b/app/src/main/java/b0/a/a/e/b.java new file mode 100644 index 0000000000..9bf44bb5ce --- /dev/null +++ b/app/src/main/java/b0/a/a/e/b.java @@ -0,0 +1,9 @@ +package b0.a.a.e; + +import java.io.File; +/* compiled from: Constraint.kt */ +public interface b { + File a(File file); + + boolean b(File file); +} diff --git a/app/src/main/java/b0/a/a/e/c.java b/app/src/main/java/b0/a/a/e/c.java new file mode 100644 index 0000000000..f0345ec587 --- /dev/null +++ b/app/src/main/java/b0/a/a/e/c.java @@ -0,0 +1,198 @@ +package b0.a.a.e; + +import android.graphics.Bitmap; +import android.graphics.BitmapFactory; +import android.graphics.Matrix; +import android.media.ExifInterface; +import b0.a.a.d; +import d0.g0.w; +import d0.o; +import d0.y.h; +import d0.z.d.m; +import java.io.File; +import java.io.FileOutputStream; +import kotlin.Pair; +import kotlin.TypeCastException; +/* compiled from: DefaultConstraint.kt */ +public final class c implements b { + public boolean a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f34c; + public final Bitmap.CompressFormat d; + public final int e; + + public c(int i, int i2, Bitmap.CompressFormat compressFormat, int i3) { + m.checkParameterIsNotNull(compressFormat, "format"); + this.b = i; + this.f34c = i2; + this.d = compressFormat; + this.e = i3; + } + + /* JADX WARNING: Removed duplicated region for block: B:34:0x0111 */ + /* JADX WARNING: Removed duplicated region for block: B:35:0x0113 */ + /* JADX WARNING: Removed duplicated region for block: B:43:0x0164 */ + /* JADX WARNING: Removed duplicated region for block: B:54:0x0182 */ + @Override // b0.a.a.e.b + public File a(File file) { + int i; + Bitmap.CompressFormat compressFormat; + File file2; + File parentFile; + Throwable th; + FileOutputStream fileOutputStream; + m.checkParameterIsNotNull(file, "imageFile"); + int i2 = this.b; + int i3 = this.f34c; + String str = d.a; + m.checkParameterIsNotNull(file, "imageFile"); + BitmapFactory.Options options = new BitmapFactory.Options(); + options.inJustDecodeBounds = true; + BitmapFactory.decodeFile(file.getAbsolutePath(), options); + m.checkParameterIsNotNull(options, "options"); + Pair pair = o.to(Integer.valueOf(options.outHeight), Integer.valueOf(options.outWidth)); + int intValue = ((Number) pair.component1()).intValue(); + int intValue2 = ((Number) pair.component2()).intValue(); + if (intValue > i3 || intValue2 > i2) { + int i4 = intValue / 2; + int i5 = intValue2 / 2; + i = 1; + while (i4 / i >= i3 && i5 / i >= i2) { + i *= 2; + } + } else { + i = 1; + } + options.inSampleSize = i; + options.inJustDecodeBounds = false; + Bitmap decodeFile = BitmapFactory.decodeFile(file.getAbsolutePath(), options); + m.checkExpressionValueIsNotNull(decodeFile, "BitmapFactory.decodeFile…eFile.absolutePath, this)"); + m.checkExpressionValueIsNotNull(decodeFile, "BitmapFactory.Options().…absolutePath, this)\n }"); + m.checkParameterIsNotNull(file, "imageFile"); + m.checkParameterIsNotNull(decodeFile, "bitmap"); + int attributeInt = new ExifInterface(file.getAbsolutePath()).getAttributeInt(androidx.exifinterface.media.ExifInterface.TAG_ORIENTATION, 0); + Matrix matrix = new Matrix(); + if (attributeInt == 3) { + matrix.postRotate(180.0f); + } else if (attributeInt == 6) { + matrix.postRotate(90.0f); + } else if (attributeInt == 8) { + matrix.postRotate(270.0f); + } + Bitmap createBitmap = Bitmap.createBitmap(decodeFile, 0, 0, decodeFile.getWidth(), decodeFile.getHeight(), matrix, true); + m.checkExpressionValueIsNotNull(createBitmap, "Bitmap.createBitmap(bitm…map.height, matrix, true)"); + Bitmap.CompressFormat compressFormat2 = this.d; + int i6 = this.e; + m.checkParameterIsNotNull(file, "imageFile"); + m.checkParameterIsNotNull(createBitmap, "bitmap"); + m.checkParameterIsNotNull(compressFormat2, "format"); + m.checkParameterIsNotNull(file, "$this$compressFormat"); + String extension = h.getExtension(file); + if (extension != null) { + String lowerCase = extension.toLowerCase(); + m.checkExpressionValueIsNotNull(lowerCase, "(this as java.lang.String).toLowerCase()"); + int hashCode = lowerCase.hashCode(); + String str2 = "webp"; + if (hashCode != 111145) { + if (hashCode == 3645340 && lowerCase.equals(str2)) { + compressFormat = Bitmap.CompressFormat.WEBP; + FileOutputStream fileOutputStream2 = null; + if (compressFormat2 == compressFormat) { + file2 = file; + } else { + StringBuilder sb = new StringBuilder(); + String absolutePath = file.getAbsolutePath(); + m.checkExpressionValueIsNotNull(absolutePath, "imageFile.absolutePath"); + sb.append(w.substringBeforeLast$default(absolutePath, ".", (String) null, 2, (Object) null)); + sb.append('.'); + m.checkParameterIsNotNull(compressFormat2, "$this$extension"); + int i7 = b0.a.a.c.a[compressFormat2.ordinal()]; + if (i7 == 1) { + str2 = "png"; + } else if (i7 != 2) { + str2 = "jpg"; + } + sb.append(str2); + file2 = new File(sb.toString()); + } + file.delete(); + m.checkParameterIsNotNull(createBitmap, "bitmap"); + m.checkParameterIsNotNull(file2, "destination"); + m.checkParameterIsNotNull(compressFormat2, "format"); + parentFile = file2.getParentFile(); + if (parentFile != null) { + parentFile.mkdirs(); + } + fileOutputStream = new FileOutputStream(file2.getAbsolutePath()); + createBitmap.compress(compressFormat2, i6, fileOutputStream); + fileOutputStream.flush(); + fileOutputStream.close(); + this.a = true; + return file2; + } + } else if (lowerCase.equals("png")) { + compressFormat = Bitmap.CompressFormat.PNG; + FileOutputStream fileOutputStream2 = null; + if (compressFormat2 == compressFormat) { + } + file.delete(); + m.checkParameterIsNotNull(createBitmap, "bitmap"); + m.checkParameterIsNotNull(file2, "destination"); + m.checkParameterIsNotNull(compressFormat2, "format"); + parentFile = file2.getParentFile(); + if (parentFile != null) { + } + fileOutputStream = new FileOutputStream(file2.getAbsolutePath()); + createBitmap.compress(compressFormat2, i6, fileOutputStream); + fileOutputStream.flush(); + fileOutputStream.close(); + this.a = true; + return file2; + } + compressFormat = Bitmap.CompressFormat.JPEG; + FileOutputStream fileOutputStream2 = null; + if (compressFormat2 == compressFormat) { + } + file.delete(); + m.checkParameterIsNotNull(createBitmap, "bitmap"); + m.checkParameterIsNotNull(file2, "destination"); + m.checkParameterIsNotNull(compressFormat2, "format"); + parentFile = file2.getParentFile(); + if (parentFile != null) { + } + try { + fileOutputStream = new FileOutputStream(file2.getAbsolutePath()); + try { + createBitmap.compress(compressFormat2, i6, fileOutputStream); + fileOutputStream.flush(); + fileOutputStream.close(); + this.a = true; + return file2; + } catch (Throwable th2) { + th = th2; + fileOutputStream2 = fileOutputStream; + if (fileOutputStream2 != null) { + fileOutputStream2.flush(); + fileOutputStream2.close(); + } + throw th; + } + } catch (Throwable th3) { + th = th3; + if (fileOutputStream2 != null) { + } + throw th; + } + } else { + throw new TypeCastException("null cannot be cast to non-null type java.lang.String"); + } + } + + @Override // b0.a.a.e.b + public boolean b(File file) { + m.checkParameterIsNotNull(file, "imageFile"); + return this.a; + } +} diff --git a/app/src/main/java/c/a/a/a.java b/app/src/main/java/c/a/a/a.java index cc6022cd02..9ab994b972 100644 --- a/app/src/main/java/c/a/a/a.java +++ b/app/src/main/java/c/a/a/a.java @@ -10,8 +10,6 @@ import android.widget.TextView; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import c.a.i.v; -import c0.z.d.k; -import c0.z.d.m; import com.discord.R; import com.discord.app.AppDialog; import com.discord.dialogs.ImageUploadDialog; @@ -24,6 +22,8 @@ import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.discord.widgets.settings.premium.WidgetSettingsPremium; import com.google.android.material.button.MaterialButton; import com.google.android.material.switchmaterial.SwitchMaterial; +import d0.z.d.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; @@ -31,18 +31,18 @@ import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: ImageUploadFailedDialog.kt */ public final class a extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(a.class, "binding", "getBinding()Lcom/discord/databinding/ImageUploadFailedDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(a.class, "binding", "getBinding()Lcom/discord/databinding/ImageUploadFailedDialogBinding;", 0)}; public static final b j = new b(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null); public Function0 l; /* compiled from: java-style lambda group */ /* renamed from: c.a.a.a$a reason: collision with other inner class name */ - public static final class View$OnClickListenerC0001a implements View.OnClickListener { + public static final class View$OnClickListenerC0000a implements View.OnClickListener { public final /* synthetic */ int i; public final /* synthetic */ Object j; - public View$OnClickListenerC0001a(int i, Object obj) { + public View$OnClickListenerC0000a(int i, Object obj) { this.i = i; this.j = obj; } @@ -53,7 +53,7 @@ public final class a extends AppDialog { if (i == 0) { Function0 function0 = ((a) this.j).l; if (function0 != null) { - function0.mo17invoke(); + function0.mo1invoke(); } ((a) this.j).dismiss(); } else if (i == 1) { @@ -70,7 +70,7 @@ public final class a extends AppDialog { ((a) this.j).dismiss(); } else if (i == 4) { KProperty[] kPropertyArr = a.i; - ((a) this.j).g().f174c.toggle(); + ((a) this.j).g().f173c.toggle(); } else { throw null; } @@ -196,7 +196,7 @@ public final class a extends AppDialog { MaterialButton materialButton = g().i; m.checkNotNullExpressionValue(materialButton, "binding.imageUploadFailedSendCompress"); materialButton.setVisibility(z3 ? 0 : 8); - g().i.setOnClickListener(new View$OnClickListenerC0001a(0, this)); + g().i.setOnClickListener(new View$OnClickListenerC0000a(0, this)); boolean z4 = z2 && !z3; View view2 = g().e; m.checkNotNullExpressionValue(view2, "binding.imageUploadFailedDivider"); @@ -205,26 +205,26 @@ public final class a extends AppDialog { MaterialButton materialButton2 = g().h; m.checkNotNullExpressionValue(materialButton2, "binding.imageUploadFailedOkay"); materialButton2.setVisibility(z4 ? 0 : 8); - g().h.setOnClickListener(new View$OnClickListenerC0001a(1, this)); + g().h.setOnClickListener(new View$OnClickListenerC0000a(1, this)); MaterialButton materialButton3 = g().b; m.checkNotNullExpressionValue(materialButton3, "binding.imageUploadFailedCancel"); materialButton3.setVisibility(z5 ? 0 : 8); - g().b.setOnClickListener(new View$OnClickListenerC0001a(2, this)); + g().b.setOnClickListener(new View$OnClickListenerC0000a(2, this)); RelativeLayout relativeLayout = g().g; m.checkNotNullExpressionValue(relativeLayout, "binding.imageUploadFailedNitroWrapper"); relativeLayout.setVisibility(z2 ^ true ? 0 : 8); - g().f.setOnClickListener(new View$OnClickListenerC0001a(3, this)); + g().f.setOnClickListener(new View$OnClickListenerC0000a(3, this)); RelativeLayout relativeLayout2 = g().d; m.checkNotNullExpressionValue(relativeLayout2, "binding.imageUploadFaile…pressionSettingsContainer"); if (z3) { i3 = 0; } relativeLayout2.setVisibility(i3); - g().d.setOnClickListener(new View$OnClickListenerC0001a(4, this)); - SwitchMaterial switchMaterial = g().f174c; + g().d.setOnClickListener(new View$OnClickListenerC0000a(4, this)); + SwitchMaterial switchMaterial = g().f173c; m.checkNotNullExpressionValue(switchMaterial, "binding.imageUploadFaile…mpressionSettingsCheckbox"); switchMaterial.setChecked(StoreStream.Companion.getUserSettings().getIsAutoImageCompressionEnabled()); - g().f174c.setOnCheckedChangeListener(d.a); + g().f173c.setOnCheckedChangeListener(d.a); TextView textView = g().j; m.checkNotNullExpressionValue(textView, "binding.imageUploadFailedText"); CharSequence charSequence = null; diff --git a/app/src/main/java/c/a/a/b/a.java b/app/src/main/java/c/a/a/b/a.java index a6d83bc7f3..308e4fc2c3 100644 --- a/app/src/main/java/c/a/a/b/a.java +++ b/app/src/main/java/c/a/a/b/a.java @@ -10,10 +10,6 @@ import c.a.a.b.f; import c.a.d.f0; import c.a.d.h0; import c.a.i.r1; -import c0.z.d.a0; -import c0.z.d.k; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.app.AppDialog; import com.discord.app.AppViewModel; @@ -26,6 +22,10 @@ import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.discord.widgets.user.UserNameFormatterKt; import com.facebook.drawee.view.SimpleDraweeView; +import d0.z.d.a0; +import d0.z.d.k; +import d0.z.d.m; +import d0.z.d.o; import java.util.Objects; import kotlin.Lazy; import kotlin.Unit; @@ -37,7 +37,7 @@ import rx.Observable; import rx.subjects.PublishSubject; /* compiled from: UserActionsDialog.kt */ public final class a extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(a.class, "binding", "getBinding()Lcom/discord/databinding/UserActionsDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(a.class, "binding", "getBinding()Lcom/discord/databinding/UserActionsDialogBinding;", 0)}; public static final b j = new b(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null); public final Lazy l; @@ -45,11 +45,11 @@ public final class a extends AppDialog { /* compiled from: java-style lambda group */ /* renamed from: c.a.a.b.a$a reason: collision with other inner class name */ - public static final class View$OnClickListenerC0002a implements View.OnClickListener { + public static final class View$OnClickListenerC0001a implements View.OnClickListener { public final /* synthetic */ int i; public final /* synthetic */ Object j; - public View$OnClickListenerC0002a(int i, Object obj) { + public View$OnClickListenerC0001a(int i, Object obj) { this.i = i; this.j = obj; } @@ -119,21 +119,21 @@ public final class a extends AppDialog { } /* compiled from: ObservableExtensions.kt */ - public static final class d implements i0.k.b { + public static final class d implements j0.k.b { public static final d i = new d(); /* Return type fixed from 'java.lang.Object' to match base method */ - @Override // i0.k.b + @Override // j0.k.b public Boolean call(Object obj) { return Boolean.valueOf(obj instanceof f.d.a); } } /* compiled from: ObservableExtensions.kt */ - public static final class e implements i0.k.b { + public static final class e implements j0.k.b { public static final e i = new e(); - @Override // i0.k.b + @Override // j0.k.b public final T call(Object obj) { Objects.requireNonNull(obj, "null cannot be cast to non-null type com.discord.dialogs.useractions.UserActionsDialogViewModel.ViewState.Loaded"); return (T) ((f.d.a) obj); @@ -164,7 +164,7 @@ public final class a extends AppDialog { Context requireContext = aVar3.requireContext(); m.checkNotNullExpressionValue(requireContext, "requireContext()"); textView.setText(UserNameFormatterKt.getSpannableForUserNameWithDiscrim(user, str, requireContext, R.attr.colorHeaderPrimary, R.attr.font_primary_semibold, R.integer.uikit_textsize_large_sp, R.attr.colorTextMuted, R.attr.font_primary_normal, R.integer.uikit_textsize_large_sp)); - TextView textView2 = aVar3.g().f153c; + TextView textView2 = aVar3.g().f152c; m.checkNotNullExpressionValue(textView2, "binding.userActionsDialogBlockItem"); int i = 8; textView2.setVisibility(aVar2.f36c ? 0 : 8); @@ -196,8 +196,8 @@ public final class a extends AppDialog { a aVar = (a) this.receiver; KProperty[] kPropertyArr = a.i; Objects.requireNonNull(aVar); - if (bVar2 instanceof f.b.C0003b) { - c.a.d.m.i(aVar, ((f.b.C0003b) bVar2).a, 0, 4); + if (bVar2 instanceof f.b.C0002b) { + c.a.d.m.i(aVar, ((f.b.C0002b) bVar2).a, 0, 4); aVar.dismiss(); } else if (bVar2 instanceof f.b.a) { c.a.d.m.i(aVar, ((f.b.a) bVar2).a, 0, 4); @@ -220,7 +220,7 @@ public final class a extends AppDialog { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public AppViewModel mo17invoke() { + public AppViewModel mo1invoke() { a aVar = this.this$0; KProperty[] kPropertyArr = a.i; return new f(aVar.getArgumentsOrDefault().getLong("com.discord.intent.extra.EXTRA_USER_ID", 0), this.this$0.getArgumentsOrDefault().getLong("com.discord.intent.extra.EXTRA_CHANNEL_ID", 0), null, null, 12); @@ -231,7 +231,7 @@ public final class a extends AppDialog { super(R.layout.user_actions_dialog); h hVar = new h(this); f0 f0Var = new f0(this); - this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(f.class), new l(4, f0Var), new h0(hVar)); + this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(f.class), new m(4, f0Var), new h0(hVar)); this.m = new MGImages.DistinctChangeDetector(); } @@ -247,9 +247,9 @@ public final class a extends AppDialog { public void onViewBound(View view) { m.checkNotNullParameter(view, "view"); super.onViewBound(view); - g().f153c.setOnClickListener(new View$OnClickListenerC0002a(0, this)); - g().e.setOnClickListener(new View$OnClickListenerC0002a(1, this)); - g().d.setOnClickListener(new View$OnClickListenerC0002a(2, this)); + g().f152c.setOnClickListener(new View$OnClickListenerC0001a(0, this)); + g().e.setOnClickListener(new View$OnClickListenerC0001a(1, this)); + g().d.setOnClickListener(new View$OnClickListenerC0001a(2, this)); } @Override // com.discord.app.AppDialog diff --git a/app/src/main/java/c/a/a/b/b.java b/app/src/main/java/c/a/a/b/b.java index 74caf27c24..0f6ef73524 100644 --- a/app/src/main/java/c/a/a/b/b.java +++ b/app/src/main/java/c/a/a/b/b.java @@ -1,12 +1,12 @@ package c.a.a.b; import c.a.a.b.f; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.models.domain.ModelUserRelationship; import com.discord.models.member.GuildMember; import com.discord.models.user.User; +import d0.z.d.m; +import d0.z.d.o; import java.util.Objects; import kotlin.Unit; import kotlin.jvm.functions.Function1; diff --git a/app/src/main/java/c/a/a/b/c.java b/app/src/main/java/c/a/a/b/c.java index d7bbb5ba3d..b4deb8b8a6 100644 --- a/app/src/main/java/c/a/a/b/c.java +++ b/app/src/main/java/c/a/a/b/c.java @@ -2,7 +2,7 @@ package c.a.a.b; import com.discord.api.channel.Channel; import com.discord.models.member.GuildMember; -import i0.k.b; +import j0.k.b; import java.util.Map; /* compiled from: UserActionsDialogViewModel.kt */ public final class c implements b, GuildMember> { @@ -14,7 +14,7 @@ public final class c implements b, GuildM /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // i0.k.b + @Override // j0.k.b public GuildMember call(Map map) { return (GuildMember) map.get(Long.valueOf(this.i.j)); } diff --git a/app/src/main/java/c/a/a/b/d.java b/app/src/main/java/c/a/a/b/d.java index ef7140647e..1e27d76943 100644 --- a/app/src/main/java/c/a/a/b/d.java +++ b/app/src/main/java/c/a/a/b/d.java @@ -1,11 +1,11 @@ package c.a.a.b; -import c0.t.m0; import com.discord.api.channel.Channel; import com.discord.models.member.GuildMember; import com.discord.stores.StoreGuilds; -import i0.k.b; -import i0.l.e.j; +import d0.t.m0; +import j0.k.b; +import j0.l.e.j; import rx.Observable; /* compiled from: UserActionsDialogViewModel.kt */ public final class d implements b> { @@ -19,7 +19,7 @@ public final class d implements b call(Channel channel) { Channel channel2 = channel; return channel2 != null ? this.i.observeComputed(channel2.f(), m0.setOf(Long.valueOf(this.j))).F(new c(this, channel2)) : new j(null); diff --git a/app/src/main/java/c/a/a/b/f.java b/app/src/main/java/c/a/a/b/f.java index 78c7194bac..316018ed12 100644 --- a/app/src/main/java/c/a/a/b/f.java +++ b/app/src/main/java/c/a/a/b/f.java @@ -2,8 +2,6 @@ package c.a.a.b; import android.content.Context; import androidx.annotation.StringRes; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.app.AppViewModel; import com.discord.models.member.GuildMember; @@ -16,6 +14,8 @@ import com.discord.stores.StoreUserRelationships; import com.discord.utilities.error.Error; import com.discord.utilities.rest.RestAPI; import com.discord.utilities.rx.ObservableExtensionsKt; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; @@ -59,23 +59,23 @@ public final class f extends AppViewModel { } public String toString() { - return c.d.b.a.a.z(c.d.b.a.a.O("Failure(failureMessageStringRes="), this.a, ")"); + return c.d.b.a.a.A(c.d.b.a.a.R("Failure(failureMessageStringRes="), this.a, ")"); } } /* compiled from: UserActionsDialogViewModel.kt */ /* renamed from: c.a.a.b.f$b$b reason: collision with other inner class name */ - public static final class C0003b extends b { + public static final class C0002b extends b { public final int a; - public C0003b(int i) { + public C0002b(int i) { super(null); this.a = i; } public boolean equals(Object obj) { if (this != obj) { - return (obj instanceof C0003b) && this.a == ((C0003b) obj).a; + return (obj instanceof C0002b) && this.a == ((C0002b) obj).a; } return true; } @@ -85,7 +85,7 @@ public final class f extends AppViewModel { } public String toString() { - return c.d.b.a.a.z(c.d.b.a.a.O("Success(successMessageStringRes="), this.a, ")"); + return c.d.b.a.a.A(c.d.b.a.a.R("Success(successMessageStringRes="), this.a, ")"); } } @@ -180,16 +180,16 @@ public final class f extends AppViewModel { } public String toString() { - StringBuilder O = c.d.b.a.a.O("Loaded(user="); - O.append(this.a); - O.append(", userNickname="); - O.append(this.b); - O.append(", showBlockItem="); - O.append(this.f36c); - O.append(", showUnblockItem="); - O.append(this.d); - O.append(", showRemoveFriendItem="); - return c.d.b.a.a.K(O, this.e, ")"); + StringBuilder R = c.d.b.a.a.R("Loaded(user="); + R.append(this.a); + R.append(", userNickname="); + R.append(this.b); + R.append(", showBlockItem="); + R.append(this.f36c); + R.append(", showUnblockItem="); + R.append(this.d); + R.append(", showRemoveFriendItem="); + return c.d.b.a.a.L(R, this.e, ")"); } } @@ -225,18 +225,18 @@ public final class f extends AppViewModel { f fVar = this.this$0; int i = this.$successMessageStringRes; PublishSubject publishSubject = fVar.j; - publishSubject.j.onNext(new b.C0003b(i)); + publishSubject.j.onNext(new b.C0002b(i)); return Unit.a; } } /* compiled from: UserActionsDialogViewModel.kt */ /* renamed from: c.a.a.b.f$f reason: collision with other inner class name */ - public static final class C0004f extends o implements Function1 { + public static final class C0003f extends o implements Function1 { public final /* synthetic */ f this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public C0004f(f fVar) { + public C0003f(f fVar) { super(1); this.this$0 = fVar; } @@ -281,6 +281,6 @@ public final class f extends AppViewModel { } public final void removeRelationship(@StringRes int i2) { - ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(this.l.removeRelationship("User Profile", this.k), false, 1, null), this, null, 2, null), f.class, (Context) null, (Function1) null, new C0004f(this), (Function0) null, (Function0) null, new e(this, i2), 54, (Object) null); + ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(this.l.removeRelationship("User Profile", this.k), false, 1, null), this, null, 2, null), f.class, (Context) null, (Function1) null, new C0003f(this), (Function0) null, (Function0) null, new e(this, i2), 54, (Object) null); } } diff --git a/app/src/main/java/c/a/a/b/g.java b/app/src/main/java/c/a/a/b/g.java index 295efa9808..80416a59d4 100644 --- a/app/src/main/java/c/a/a/b/g.java +++ b/app/src/main/java/c/a/a/b/g.java @@ -1,8 +1,8 @@ package c.a.a.b; import c.a.a.b.f; -import c0.z.d.o; import com.discord.R; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; import rx.subjects.PublishSubject; @@ -21,7 +21,7 @@ public final class g extends o implements Function1 { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Void r3) { PublishSubject publishSubject = this.this$0.j; - publishSubject.j.onNext(new f.b.C0003b(R.string.user_has_been_blocked)); + publishSubject.j.onNext(new f.b.C0002b(R.string.user_has_been_blocked)); return Unit.a; } } diff --git a/app/src/main/java/c/a/a/b/h.java b/app/src/main/java/c/a/a/b/h.java index 6949c37461..6df1782af5 100644 --- a/app/src/main/java/c/a/a/b/h.java +++ b/app/src/main/java/c/a/a/b/h.java @@ -1,10 +1,10 @@ package c.a.a.b; import c.a.a.b.f; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.utilities.error.Error; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; import rx.subjects.PublishSubject; diff --git a/app/src/main/java/c/a/a/c/a.java b/app/src/main/java/c/a/a/c/a.java index 06077d2ca4..7ddebe8876 100644 --- a/app/src/main/java/c/a/a/c/a.java +++ b/app/src/main/java/c/a/a/c/a.java @@ -12,11 +12,6 @@ import c.a.a.c.f; import c.a.d.f0; import c.a.d.h0; import c.a.i.y0; -import c0.g; -import c0.z.d.a0; -import c0.z.d.k; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.app.AppDialog; import com.discord.app.AppViewFlipper; @@ -31,6 +26,11 @@ import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.discord.views.LoadingButton; import com.google.android.material.button.MaterialButton; +import d0.g; +import d0.z.d.a0; +import d0.z.d.k; +import d0.z.d.m; +import d0.z.d.o; import java.text.DateFormat; import java.util.Objects; import kotlin.Lazy; @@ -42,7 +42,7 @@ import kotlin.reflect.KProperty; import rx.Observable; /* compiled from: PremiumGuildSubscriptionCancelDialog.kt */ public final class a extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(a.class, "binding", "getBinding()Lcom/discord/databinding/PremiumGuildSubscriptionCancelDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(a.class, "binding", "getBinding()Lcom/discord/databinding/PremiumGuildSubscriptionCancelDialogBinding;", 0)}; public static final b j = new b(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null); public final Lazy l; @@ -50,11 +50,11 @@ public final class a extends AppDialog { /* compiled from: java-style lambda group */ /* renamed from: c.a.a.c.a$a reason: collision with other inner class name */ - public static final class View$OnClickListenerC0005a implements View.OnClickListener { + public static final class View$OnClickListenerC0004a implements View.OnClickListener { public final /* synthetic */ int i; public final /* synthetic */ Object j; - public View$OnClickListenerC0005a(int i, Object obj) { + public View$OnClickListenerC0004a(int i, Object obj) { this.i = i; this.j = obj; } @@ -65,16 +65,16 @@ public final class a extends AppDialog { if (i == 0) { f fVar = (f) ((a) this.j).l.getValue(); f.c viewState = fVar.getViewState(); - if ((viewState instanceof f.c.C0009f) || (viewState instanceof f.c.a)) { + if ((viewState instanceof f.c.C0008f) || (viewState instanceof f.c.a)) { return; } if ((viewState instanceof f.c.e) || (viewState instanceof f.c.d) || (viewState instanceof f.c.b)) { - fVar.updateViewState(new f.c.C0008c(null, 1)); + fVar.updateViewState(new f.c.C0007c(null, 1)); } } else if (i == 1) { f fVar2 = (f) ((a) this.j).l.getValue(); f.c viewState2 = fVar2.getViewState(); - if ((viewState2 instanceof f.c.C0009f) || (viewState2 instanceof f.c.a)) { + if ((viewState2 instanceof f.c.C0008f) || (viewState2 instanceof f.c.a)) { return; } if ((viewState2 instanceof f.c.e) || (viewState2 instanceof f.c.d)) { @@ -85,7 +85,7 @@ public final class a extends AppDialog { ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(PremiumGuildSubscriptionUtils.INSTANCE.cancelSubscriptionSlot(fVar2.m, fVar2.j, modelSubscription, fVar2.k), fVar2, null, 2, null), f.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new g(fVar2, modelSubscription), 62, (Object) null); } } else if (viewState2 instanceof f.c.b) { - fVar2.updateViewState(new f.c.C0008c(null, 1)); + fVar2.updateViewState(new f.c.C0007c(null, 1)); } } else { throw null; @@ -182,10 +182,10 @@ public final class a extends AppDialog { m.checkNotNullExpressionValue(materialButton2, "binding.premiumGuildSubscriptionCancelNevermind"); ViewExtensions.setEnabledAndAlpha$default(materialButton2, cVar2.f37c, 0.0f, 2, null); aVar.setCancelable(cVar2.e); - aVar.g().f192c.setIsLoading(cVar2.d); + aVar.g().f191c.setIsLoading(cVar2.d); AppViewFlipper appViewFlipper = aVar.g().e; m.checkNotNullExpressionValue(appViewFlipper, "binding.premiumGuildSubscriptionCancelFlipper"); - appViewFlipper.setDisplayedChild(!(cVar2 instanceof f.c.C0009f) ? 1 : 0); + appViewFlipper.setDisplayedChild(!(cVar2 instanceof f.c.C0008f) ? 1 : 0); if (cVar2 instanceof f.c.e) { TimeUtils timeUtils = TimeUtils.INSTANCE; f.c.e eVar = (f.c.e) cVar2; @@ -202,7 +202,7 @@ public final class a extends AppDialog { m.checkNotNullExpressionValue(textView3, "binding.premiumGuildSubscriptionCancelBody"); c.a.k.b.n(textView3, R.string.premium_guild_subscription_cancel_body_guild, new Object[]{renderUtcDate$default}, null, 4); } - aVar.g().f192c.setBackgroundColor(ColorCompat.getColor(aVar, (int) R.color.status_red_500)); + aVar.g().f191c.setBackgroundColor(ColorCompat.getColor(aVar, (int) R.color.status_red_500)); } else if (cVar2 instanceof f.c.b) { TextView textView4 = aVar.g().f; m.checkNotNullExpressionValue(textView4, "binding.premiumGuildSubscriptionCancelHeader"); @@ -214,10 +214,10 @@ public final class a extends AppDialog { Context requireContext2 = aVar.requireContext(); m.checkNotNullExpressionValue(requireContext2, "requireContext()"); c.a.k.b.n(textView5, R.string.premium_guild_subscription_confirm_body, new Object[]{TimeUtils.renderUtcDate$default(timeUtils2, currentPeriodEnd2, requireContext2, (String) null, (DateFormat) null, 0, 28, (Object) null)}, null, 4); - aVar.g().f192c.setText(aVar.getString(R.string.okay)); - aVar.g().f192c.setBackgroundColor(ColorCompat.getThemedColor(aVar, (int) R.attr.color_brand_500)); - } else if (cVar2 instanceof f.c.C0008c) { - Integer num = ((f.c.C0008c) cVar2).f; + aVar.g().f191c.setText(aVar.getString(R.string.okay)); + aVar.g().f191c.setBackgroundColor(ColorCompat.getThemedColor(aVar, (int) R.attr.color_brand_500)); + } else if (cVar2 instanceof f.c.C0007c) { + Integer num = ((f.c.C0007c) cVar2).f; if (num != null) { c.a.d.m.g(aVar.requireContext(), num.intValue(), 0, null, 12); } @@ -240,7 +240,7 @@ public final class a extends AppDialog { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Long mo17invoke() { + public Long mo1invoke() { Bundle arguments = this.this$0.getArguments(); Long valueOf = arguments != null ? Long.valueOf(arguments.getLong("extra_slot_id")) : null; Objects.requireNonNull(valueOf, "null cannot be cast to non-null type com.discord.primitives.PremiumGuildSubscriptionSlotId /* = kotlin.Long */"); @@ -261,7 +261,7 @@ public final class a extends AppDialog { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public AppViewModel mo17invoke() { + public AppViewModel mo1invoke() { return new f(((Number) this.this$0.m.getValue()).longValue(), null, null, null, null, 30); } } @@ -270,7 +270,7 @@ public final class a extends AppDialog { super(R.layout.premium_guild_subscription_cancel_dialog); f fVar = new f(this); f0 f0Var = new f0(this); - this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(f.class), new l(2, f0Var), new h0(fVar)); + this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(f.class), new m(2, f0Var), new h0(fVar)); this.m = g.lazy(new e(this)); } @@ -282,8 +282,8 @@ public final class a extends AppDialog { public void onViewBound(View view) { m.checkNotNullParameter(view, "view"); super.onViewBound(view); - g().g.setOnClickListener(new View$OnClickListenerC0005a(0, this)); - g().f192c.setOnClickListener(new View$OnClickListenerC0005a(1, this)); + g().g.setOnClickListener(new View$OnClickListenerC0004a(0, this)); + g().f191c.setOnClickListener(new View$OnClickListenerC0004a(1, this)); } @Override // com.discord.app.AppDialog diff --git a/app/src/main/java/c/a/a/c/b.java b/app/src/main/java/c/a/a/c/b.java index 3237c705ec..fbc6beb28d 100644 --- a/app/src/main/java/c/a/a/c/b.java +++ b/app/src/main/java/c/a/a/c/b.java @@ -12,10 +12,6 @@ import c.a.a.c.k; import c.a.d.f0; import c.a.d.h0; import c.a.i.z0; -import c0.g; -import c0.z.d.a0; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.app.AppDialog; import com.discord.app.AppViewFlipper; @@ -27,6 +23,10 @@ import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.discord.views.LoadingButton; import com.google.android.material.button.MaterialButton; +import d0.g; +import d0.z.d.a0; +import d0.z.d.m; +import d0.z.d.o; import java.util.Objects; import kotlin.Lazy; import kotlin.Unit; @@ -37,8 +37,8 @@ import kotlin.reflect.KProperty; import rx.Observable; /* compiled from: PremiumGuildSubscriptionUncancelDialog.kt */ public final class b extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(b.class, "binding", "getBinding()Lcom/discord/databinding/PremiumGuildSubscriptionUncancelDialogBinding;", 0)}; - public static final C0006b j = new C0006b(null); + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(b.class, "binding", "getBinding()Lcom/discord/databinding/PremiumGuildSubscriptionUncancelDialogBinding;", 0)}; + public static final C0005b j = new C0005b(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null); public final Lazy l; public final Lazy m; @@ -59,7 +59,7 @@ public final class b extends AppDialog { if (i == 0) { k kVar = (k) ((b) this.j).l.getValue(); k.c viewState = kVar.getViewState(); - if (!m.areEqual(viewState, k.c.C0010c.a)) { + if (!m.areEqual(viewState, k.c.C0009c.a)) { if ((viewState instanceof k.c.b) || (viewState instanceof k.c.a)) { kVar.updateViewState(new k.c.a(null, 1)); } @@ -67,7 +67,7 @@ public final class b extends AppDialog { } else if (i == 1) { k kVar2 = (k) ((b) this.j).l.getValue(); k.c viewState2 = kVar2.getViewState(); - if (!m.areEqual(viewState2, k.c.C0010c.a)) { + if (!m.areEqual(viewState2, k.c.C0009c.a)) { if (viewState2 instanceof k.c.b) { k.c viewState3 = kVar2.getViewState(); Objects.requireNonNull(viewState3, "null cannot be cast to non-null type com.discord.dialogs.premiumguild.PremiumGuildSubscriptionUncancelViewModel.ViewState.Loaded"); @@ -94,13 +94,13 @@ public final class b extends AppDialog { /* compiled from: PremiumGuildSubscriptionUncancelDialog.kt */ /* renamed from: c.a.a.c.b$b reason: collision with other inner class name */ - public static final class C0006b { - public C0006b(DefaultConstructorMarker defaultConstructorMarker) { + public static final class C0005b { + public C0005b(DefaultConstructorMarker defaultConstructorMarker) { } } /* compiled from: PremiumGuildSubscriptionUncancelDialog.kt */ - public static final /* synthetic */ class c extends c0.z.d.k implements Function1 { + public static final /* synthetic */ class c extends d0.z.d.k implements Function1 { public static final c i = new c(); public c() { @@ -171,7 +171,7 @@ public final class b extends AppDialog { AppViewFlipper appViewFlipper = bVar.g().e; m.checkNotNullExpressionValue(appViewFlipper, "binding.premiumGuildSubscriptionUncancelFlipper"); boolean z2 = true; - appViewFlipper.setDisplayedChild(!(cVar2 instanceof k.c.C0010c) ? 1 : 0); + appViewFlipper.setDisplayedChild(!(cVar2 instanceof k.c.C0009c) ? 1 : 0); TextView textView = bVar.g().d; m.checkNotNullExpressionValue(textView, "binding.premiumGuildSubscriptionUncancelError"); boolean z3 = cVar2 instanceof k.c.b; @@ -186,8 +186,8 @@ public final class b extends AppDialog { MaterialButton materialButton2 = bVar.g().h; m.checkNotNullExpressionValue(materialButton2, "binding.premiumGuildSubscriptionUncancelNevermind"); ViewExtensions.setEnabledAndAlpha$default(materialButton2, z3 && !((k.c.b) cVar2).b, 0.0f, 2, null); - bVar.g().f197c.setIsLoading(z3 && ((k.c.b) cVar2).b); - k.c.C0010c cVar3 = k.c.C0010c.a; + bVar.g().f196c.setIsLoading(z3 && ((k.c.b) cVar2).b); + k.c.C0009c cVar3 = k.c.C0009c.a; if (!(!m.areEqual(cVar2, cVar3)) || !z3 || ((k.c.b) cVar2).b) { z2 = false; } @@ -210,7 +210,7 @@ public final class b extends AppDialog { TextView textView5 = bVar.g().b; m.checkNotNullExpressionValue(textView5, "binding.premiumGuildSubscriptionUncancelBody"); textView5.setText(bVar.getString(R.string.premium_guild_subscription_inventory_uncancel_confirm_description)); - bVar.g().f197c.setText(bVar.getString(R.string.okay)); + bVar.g().f196c.setText(bVar.getString(R.string.okay)); } else if (cVar2 instanceof k.c.a) { Integer num = ((k.c.a) cVar2).a; if (num != null) { @@ -236,7 +236,7 @@ public final class b extends AppDialog { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Long mo17invoke() { + public Long mo1invoke() { Bundle arguments = this.this$0.getArguments(); Long valueOf = arguments != null ? Long.valueOf(arguments.getLong("extra_slot_id")) : null; Objects.requireNonNull(valueOf, "null cannot be cast to non-null type com.discord.primitives.PremiumGuildSubscriptionSlotId /* = kotlin.Long */"); @@ -257,7 +257,7 @@ public final class b extends AppDialog { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public AppViewModel mo17invoke() { + public AppViewModel mo1invoke() { return new k(((Number) this.this$0.m.getValue()).longValue(), null, null, null, null, 30); } } @@ -266,7 +266,7 @@ public final class b extends AppDialog { super(R.layout.premium_guild_subscription_uncancel_dialog); f fVar = new f(this); f0 f0Var = new f0(this); - this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(k.class), new l(3, f0Var), new h0(fVar)); + this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(k.class), new m(3, f0Var), new h0(fVar)); this.m = g.lazy(new e(this)); } @@ -279,7 +279,7 @@ public final class b extends AppDialog { m.checkNotNullParameter(view, "view"); super.onViewBound(view); g().h.setOnClickListener(new a(0, this)); - g().f197c.setOnClickListener(new a(1, this)); + g().f196c.setOnClickListener(new a(1, this)); } @Override // com.discord.app.AppDialog diff --git a/app/src/main/java/c/a/a/c/c.java b/app/src/main/java/c/a/a/c/c.java index 542127f2d1..78f548f1ea 100644 --- a/app/src/main/java/c/a/a/c/c.java +++ b/app/src/main/java/c/a/a/c/c.java @@ -9,8 +9,6 @@ import android.widget.TextView; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import c.a.i.x0; -import c0.z.d.k; -import c0.z.d.m; import com.airbnb.lottie.LottieAnimationView; import com.discord.R; import com.discord.app.AppDialog; @@ -20,6 +18,8 @@ import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.google.android.material.button.MaterialButton; import com.google.android.material.snackbar.BaseTransientBottomBar; +import d0.z.d.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; @@ -28,7 +28,7 @@ import kotlin.ranges.IntRange; import kotlin.reflect.KProperty; /* compiled from: PremiumGuildSubscriptionActivatedDialog.kt */ public final class c extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(c.class, "binding", "getBinding()Lcom/discord/databinding/PremiumGuildSubscriptionActivatedDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(c.class, "binding", "getBinding()Lcom/discord/databinding/PremiumGuildSubscriptionActivatedDialogBinding;", 0)}; public static final IntRange j = new IntRange(540, 825); public static final a k = new a(null); public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, b.i, null, 2, null); @@ -92,10 +92,10 @@ public final class c extends AppDialog { /* compiled from: PremiumGuildSubscriptionActivatedDialog.kt */ /* renamed from: c.a.a.c.c$c reason: collision with other inner class name */ - public static final class View$OnClickListenerC0007c implements View.OnClickListener { + public static final class View$OnClickListenerC0006c implements View.OnClickListener { public final /* synthetic */ c i; - public View$OnClickListenerC0007c(c cVar) { + public View$OnClickListenerC0006c(c cVar) { this.i = cVar; } @@ -118,7 +118,7 @@ public final class c extends AppDialog { m.checkNotNullParameter(dialogInterface, "dialog"); Function0 function0 = this.m; if (function0 != null) { - function0.mo17invoke(); + function0.mo1invoke(); } super.onDismiss(dialogInterface); } @@ -138,7 +138,7 @@ public final class c extends AppDialog { charSequence = arguments2.getCharSequence("extra_body2_text"); } textView2.setText(charSequence); - g().e.setOnClickListener(new View$OnClickListenerC0007c(this)); + g().e.setOnClickListener(new View$OnClickListenerC0006c(this)); LottieAnimationView lottieAnimationView = g().d; m.checkNotNullExpressionValue(lottieAnimationView, "binding.premiumGuildSubscriptionActivatedLottie"); LottieAnimationUtilsKt.loopFrom$default(lottieAnimationView, BaseTransientBottomBar.ANIMATION_FADE_DURATION, j, false, 4, null); diff --git a/app/src/main/java/c/a/a/c/d.java b/app/src/main/java/c/a/a/c/d.java index 0b023c0fa0..5ada096671 100644 --- a/app/src/main/java/c/a/a/c/d.java +++ b/app/src/main/java/c/a/a/c/d.java @@ -1,15 +1,15 @@ package c.a.a.c; import c.a.a.c.f; -import c0.t.u; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.models.domain.ModelPremiumGuildSubscription; import com.discord.models.domain.ModelPremiumGuildSubscriptionSlot; import com.discord.models.domain.ModelSubscription; import com.discord.stores.StorePremiumGuildSubscription; import com.discord.stores.StoreSubscriptions; +import d0.t.u; +import d0.z.d.m; +import d0.z.d.o; import java.util.List; import java.util.Objects; import kotlin.Unit; @@ -36,17 +36,17 @@ public final class d extends o implements Function1 { Objects.requireNonNull(fVar); StorePremiumGuildSubscription.State state = bVar2.a; StoreSubscriptions.SubscriptionsState subscriptionsState = bVar2.b; - if (!(fVar.getViewState() instanceof f.c.b) && !(fVar.getViewState() instanceof f.c.C0008c)) { + if (!(fVar.getViewState() instanceof f.c.b) && !(fVar.getViewState() instanceof f.c.C0007c)) { if ((state instanceof StorePremiumGuildSubscription.State.Loading) || (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Loading)) { - obj = f.c.C0009f.f; + obj = f.c.C0008f.f; } else if ((state instanceof StorePremiumGuildSubscription.State.Failure) || (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Failure)) { - obj = new f.c.C0008c(Integer.valueOf((int) R.string.premium_guild_subscription_cancel_error_mobile)); + obj = new f.c.C0007c(Integer.valueOf((int) R.string.premium_guild_subscription_cancel_error_mobile)); } else if (!(state instanceof StorePremiumGuildSubscription.State.Loaded) || !(subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Loaded)) { - obj = new f.c.C0008c(Integer.valueOf((int) R.string.premium_guild_subscription_cancel_error_mobile)); + obj = new f.c.C0007c(Integer.valueOf((int) R.string.premium_guild_subscription_cancel_error_mobile)); } else { ModelSubscription modelSubscription = (ModelSubscription) u.firstOrNull((List) ((StoreSubscriptions.SubscriptionsState.Loaded) subscriptionsState).getSubscriptions()); if (modelSubscription == null) { - obj = new f.c.C0008c(Integer.valueOf((int) R.string.premium_guild_subscription_cancel_error_mobile)); + obj = new f.c.C0007c(Integer.valueOf((int) R.string.premium_guild_subscription_cancel_error_mobile)); } else if (fVar.getViewState() instanceof f.c.b) { obj = new f.c.b(modelSubscription); } else { diff --git a/app/src/main/java/c/a/a/c/e.java b/app/src/main/java/c/a/a/c/e.java index 6e77643f8f..e75b612559 100644 --- a/app/src/main/java/c/a/a/c/e.java +++ b/app/src/main/java/c/a/a/c/e.java @@ -1,10 +1,10 @@ package c.a.a.c; import c.a.a.c.f; -import c0.z.d.k; -import c0.z.d.m; import com.discord.stores.StorePremiumGuildSubscription; import com.discord.stores.StoreSubscriptions; +import d0.z.d.k; +import d0.z.d.m; import kotlin.jvm.functions.Function2; /* compiled from: PremiumGuildSubscriptionCancelViewModel.kt */ public final /* synthetic */ class e extends k implements Function2 { diff --git a/app/src/main/java/c/a/a/c/f.java b/app/src/main/java/c/a/a/c/f.java index beca8d3801..8f439d566c 100644 --- a/app/src/main/java/c/a/a/c/f.java +++ b/app/src/main/java/c/a/a/c/f.java @@ -2,7 +2,6 @@ package c.a.a.c; import android.content.Context; import androidx.annotation.StringRes; -import c0.z.d.m; import com.discord.app.AppViewModel; import com.discord.models.domain.ModelSubscription; import com.discord.stores.StorePremiumGuildSubscription; @@ -11,6 +10,7 @@ import com.discord.stores.StoreSubscriptions; import com.discord.utilities.analytics.Traits; import com.discord.utilities.rest.RestAPI; import com.discord.utilities.rx.ObservableExtensionsKt; +import d0.z.d.m; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.DefaultConstructorMarker; @@ -65,12 +65,12 @@ public final class f extends AppViewModel { } public String toString() { - StringBuilder O = c.d.b.a.a.O("StoreState(premiumGuildSubscriptionState="); - O.append(this.a); - O.append(", subscriptionState="); - O.append(this.b); - O.append(")"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("StoreState(premiumGuildSubscriptionState="); + R.append(this.a); + R.append(", subscriptionState="); + R.append(this.b); + R.append(")"); + return R.toString(); } } @@ -111,10 +111,10 @@ public final class f extends AppViewModel { } public String toString() { - StringBuilder O = c.d.b.a.a.O("CancelInProgress(subscription="); - O.append(this.f); - O.append(")"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("CancelInProgress(subscription="); + R.append(this.f); + R.append(")"); + return R.toString(); } } @@ -145,36 +145,36 @@ public final class f extends AppViewModel { } public String toString() { - StringBuilder O = c.d.b.a.a.O("Cancelled(subscription="); - O.append(this.f); - O.append(")"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("Cancelled(subscription="); + R.append(this.f); + R.append(")"); + return R.toString(); } } /* compiled from: PremiumGuildSubscriptionCancelViewModel.kt */ /* renamed from: c.a.a.c.f$c$c reason: collision with other inner class name */ - public static final class C0008c extends c { + public static final class C0007c extends c { public final Integer f; - public C0008c() { + public C0007c() { this(null, 1); } - public C0008c(@StringRes Integer num) { + public C0007c(@StringRes Integer num) { super(false, false, false, false, true, null); this.f = num; } /* JADX INFO: this call moved to the top of the method (can break code semantics) */ - public /* synthetic */ C0008c(Integer num, int i) { + public /* synthetic */ C0007c(Integer num, int i) { this(null); int i2 = i & 1; } public boolean equals(Object obj) { if (this != obj) { - return (obj instanceof C0008c) && m.areEqual(this.f, ((C0008c) obj).f); + return (obj instanceof C0007c) && m.areEqual(this.f, ((C0007c) obj).f); } return true; } @@ -188,7 +188,7 @@ public final class f extends AppViewModel { } public String toString() { - return c.d.b.a.a.D(c.d.b.a.a.O("Dismiss(dismissStringId="), this.f, ")"); + return c.d.b.a.a.E(c.d.b.a.a.R("Dismiss(dismissStringId="), this.f, ")"); } } @@ -217,10 +217,10 @@ public final class f extends AppViewModel { } public String toString() { - StringBuilder O = c.d.b.a.a.O("FailureCancelling(subscription="); - O.append(this.f); - O.append(")"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("FailureCancelling(subscription="); + R.append(this.f); + R.append(")"); + return R.toString(); } } @@ -262,19 +262,19 @@ public final class f extends AppViewModel { } public String toString() { - StringBuilder O = c.d.b.a.a.O("Loaded(subscription="); - O.append(this.f); - O.append(", isFromInventory="); - return c.d.b.a.a.K(O, this.g, ")"); + StringBuilder R = c.d.b.a.a.R("Loaded(subscription="); + R.append(this.f); + R.append(", isFromInventory="); + return c.d.b.a.a.L(R, this.g, ")"); } } /* compiled from: PremiumGuildSubscriptionCancelViewModel.kt */ /* renamed from: c.a.a.c.f$c$f reason: collision with other inner class name */ - public static final class C0009f extends c { - public static final C0009f f = new C0009f(); + public static final class C0008f extends c { + public static final C0008f f = new C0008f(); - public C0009f() { + public C0008f() { super(false, true, false, false, true, null); } } @@ -292,7 +292,7 @@ public final class f extends AppViewModel { /* JADX INFO: super call moved to the top of the method (can break code semantics) */ /* JADX WARNING: Unknown variable types count: 1 */ public f(long j, StorePremiumGuildSubscription storePremiumGuildSubscription, StoreSubscriptions storeSubscriptions, RestAPI restAPI, Observable observable, int i2) { - super(c.C0009f.f); + super(c.C0008f.f); Observable observable2; StorePremiumGuildSubscription premiumGuildSubscriptions = (i2 & 2) != 0 ? StoreStream.Companion.getPremiumGuildSubscriptions() : null; StoreSubscriptions subscriptions = (i2 & 4) != 0 ? StoreStream.Companion.getSubscriptions() : null; diff --git a/app/src/main/java/c/a/a/c/g.java b/app/src/main/java/c/a/a/c/g.java index 3aedad0ed6..e25d1959b0 100644 --- a/app/src/main/java/c/a/a/c/g.java +++ b/app/src/main/java/c/a/a/c/g.java @@ -1,10 +1,10 @@ package c.a.a.c; import c.a.a.c.f; -import c0.z.d.m; -import c0.z.d.o; import com.discord.models.domain.ModelSubscription; import com.discord.utilities.premium.PremiumGuildSubscriptionUtils; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: PremiumGuildSubscriptionCancelViewModel.kt */ diff --git a/app/src/main/java/c/a/a/c/i.java b/app/src/main/java/c/a/a/c/i.java index dc4f0476a3..83fedcccd6 100644 --- a/app/src/main/java/c/a/a/c/i.java +++ b/app/src/main/java/c/a/a/c/i.java @@ -1,12 +1,12 @@ package c.a.a.c; import c.a.a.c.k; -import c0.t.u; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.models.domain.ModelSubscription; import com.discord.stores.StoreSubscriptions; +import d0.t.u; +import d0.z.d.m; +import d0.z.d.o; import java.util.List; import kotlin.Unit; import kotlin.jvm.functions.Function1; @@ -31,7 +31,7 @@ public final class i extends o implements Function1 { if (!(kVar.getViewState() instanceof k.c.d) && !(kVar.getViewState() instanceof k.c.a)) { StoreSubscriptions.SubscriptionsState subscriptionsState = bVar2.a; if (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Loading) { - obj = k.c.C0010c.a; + obj = k.c.C0009c.a; } else if (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Failure) { obj = new k.c.a(Integer.valueOf((int) R.string.premium_guild_subscription_cancel_error_mobile)); } else if (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Loaded) { diff --git a/app/src/main/java/c/a/a/c/j.java b/app/src/main/java/c/a/a/c/j.java index c2bd1ce496..bd16283d4c 100644 --- a/app/src/main/java/c/a/a/c/j.java +++ b/app/src/main/java/c/a/a/c/j.java @@ -1,16 +1,16 @@ package c.a.a.c; import c.a.a.c.k; -import c0.z.d.m; import com.discord.stores.StoreSubscriptions; -import i0.k.b; +import d0.z.d.m; +import j0.k.b; /* compiled from: PremiumGuildSubscriptionUncancelViewModel.kt */ public final class j implements b { public static final j i = new j(); /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // i0.k.b + @Override // j0.k.b public k.b call(StoreSubscriptions.SubscriptionsState subscriptionsState) { StoreSubscriptions.SubscriptionsState subscriptionsState2 = subscriptionsState; m.checkNotNullExpressionValue(subscriptionsState2, "it"); diff --git a/app/src/main/java/c/a/a/c/k.java b/app/src/main/java/c/a/a/c/k.java index 97d23a6858..b84a6d916a 100644 --- a/app/src/main/java/c/a/a/c/k.java +++ b/app/src/main/java/c/a/a/c/k.java @@ -1,7 +1,6 @@ package c.a.a.c; import android.content.Context; -import c0.z.d.m; import com.discord.app.AppViewModel; import com.discord.models.domain.ModelSubscription; import com.discord.stores.StorePremiumGuildSubscription; @@ -10,6 +9,7 @@ import com.discord.stores.StoreSubscriptions; import com.discord.utilities.analytics.Traits; import com.discord.utilities.rest.RestAPI; import com.discord.utilities.rx.ObservableExtensionsKt; +import d0.z.d.m; import java.util.Objects; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; @@ -54,10 +54,10 @@ public final class k extends AppViewModel { } public String toString() { - StringBuilder O = c.d.b.a.a.O("StoreState(subscriptionState="); - O.append(this.a); - O.append(")"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("StoreState(subscriptionState="); + R.append(this.a); + R.append(")"); + return R.toString(); } } @@ -99,7 +99,7 @@ public final class k extends AppViewModel { } public String toString() { - return c.d.b.a.a.D(c.d.b.a.a.O("Dismiss(errorToastStringResId="), this.a, ")"); + return c.d.b.a.a.E(c.d.b.a.a.R("Dismiss(errorToastStringResId="), this.a, ")"); } } @@ -164,21 +164,21 @@ public final class k extends AppViewModel { } public String toString() { - StringBuilder O = c.d.b.a.a.O("Loaded(subscription="); - O.append(this.a); - O.append(", uncancelInProgress="); - O.append(this.b); - O.append(", error="); - return c.d.b.a.a.K(O, this.f38c, ")"); + StringBuilder R = c.d.b.a.a.R("Loaded(subscription="); + R.append(this.a); + R.append(", uncancelInProgress="); + R.append(this.b); + R.append(", error="); + return c.d.b.a.a.L(R, this.f38c, ")"); } } /* compiled from: PremiumGuildSubscriptionUncancelViewModel.kt */ /* renamed from: c.a.a.c.k$c$c reason: collision with other inner class name */ - public static final class C0010c extends c { - public static final C0010c a = new C0010c(); + public static final class C0009c extends c { + public static final C0009c a = new C0009c(); - public C0010c() { + public C0009c() { super(null); } } @@ -201,7 +201,7 @@ public final class k extends AppViewModel { /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public k(long j, StoreSubscriptions storeSubscriptions, StorePremiumGuildSubscription storePremiumGuildSubscription, RestAPI restAPI, Observable observable, int i2) { - super(c.C0010c.a); + super(c.C0009c.a); Observable observable2; StoreSubscriptions subscriptions = (i2 & 2) != 0 ? StoreStream.Companion.getSubscriptions() : null; StorePremiumGuildSubscription premiumGuildSubscriptions = (i2 & 4) != 0 ? StoreStream.Companion.getPremiumGuildSubscriptions() : null; diff --git a/app/src/main/java/c/a/a/c/l.java b/app/src/main/java/c/a/a/c/l.java index b69213311e..58e9cd5651 100644 --- a/app/src/main/java/c/a/a/c/l.java +++ b/app/src/main/java/c/a/a/c/l.java @@ -1,9 +1,9 @@ package c.a.a.c; import c.a.a.c.k; -import c0.z.d.m; -import c0.z.d.o; import com.discord.utilities.premium.PremiumGuildSubscriptionUtils; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: PremiumGuildSubscriptionUncancelViewModel.kt */ diff --git a/app/src/main/java/c/a/a/d.java b/app/src/main/java/c/a/a/d.java index dfaf92a34e..26c483105a 100644 --- a/app/src/main/java/c/a/a/d.java +++ b/app/src/main/java/c/a/a/d.java @@ -7,17 +7,17 @@ import android.widget.TextView; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import c.a.i.l1; -import c0.g; -import c0.z.d.a0; -import c0.z.d.k; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.app.AppDialog; import com.discord.dialogs.SimpleConfirmationDialogArgs; import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.google.android.material.button.MaterialButton; +import d0.g; +import d0.z.d.a0; +import d0.z.d.k; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Lazy; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; @@ -25,11 +25,11 @@ import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: SimpleConfirmationDialog.kt */ public final class d extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(d.class, "binding", "getBinding()Lcom/discord/databinding/SimpleConfirmationDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(d.class, "binding", "getBinding()Lcom/discord/databinding/SimpleConfirmationDialogBinding;", 0)}; public static final c j = new c(null); public final Lazy k = g.lazy(new b(this, "intent_args_key")); public View.OnClickListener l; - public final FragmentViewBindingDelegate m = FragmentViewBindingDelegateKt.viewBinding$default(this, C0011d.i, null, 2, null); + public final FragmentViewBindingDelegate m = FragmentViewBindingDelegateKt.viewBinding$default(this, C0010d.i, null, 2, null); /* compiled from: java-style lambda group */ public static final class a implements View.OnClickListener { @@ -73,7 +73,7 @@ public final class d extends AppDialog { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public SimpleConfirmationDialogArgs mo17invoke() { + public SimpleConfirmationDialogArgs mo1invoke() { Bundle arguments = this.$this_args.getArguments(); SimpleConfirmationDialogArgs simpleConfirmationDialogArgs = null; Object obj = arguments != null ? arguments.get(this.$argsKey) : null; @@ -84,10 +84,10 @@ public final class d extends AppDialog { if (simpleConfirmationDialogArgs2 != null) { return simpleConfirmationDialogArgs2; } - StringBuilder O = c.d.b.a.a.O("Missing args for class type "); - O.append(a0.getOrCreateKotlinClass(SimpleConfirmationDialogArgs.class).getSimpleName()); - O.append(" + key "); - throw new IllegalStateException(c.d.b.a.a.F(O, this.$argsKey, '!')); + StringBuilder R = c.d.b.a.a.R("Missing args for class type "); + R.append(a0.getOrCreateKotlinClass(SimpleConfirmationDialogArgs.class).getSimpleName()); + R.append(" + key "); + throw new IllegalStateException(c.d.b.a.a.G(R, this.$argsKey, '!')); } } @@ -101,7 +101,7 @@ public final class d extends AppDialog { m.checkNotNullParameter(simpleConfirmationDialogArgs, "args"); m.checkNotNullParameter(onClickListener, "positiveClickListener"); d dVar = new d(); - dVar.setArguments(c.c.a.a0.d.d2(simpleConfirmationDialogArgs)); + dVar.setArguments(c.c.a.a0.d.c2(simpleConfirmationDialogArgs)); dVar.l = onClickListener; dVar.show(fragmentManager, a0.getOrCreateKotlinClass(d.class).toString()); return dVar; @@ -110,10 +110,10 @@ public final class d extends AppDialog { /* compiled from: SimpleConfirmationDialog.kt */ /* renamed from: c.a.a.d$d reason: collision with other inner class name */ - public static final /* synthetic */ class C0011d extends k implements Function1 { - public static final C0011d i = new C0011d(); + public static final /* synthetic */ class C0010d extends k implements Function1 { + public static final C0010d i = new C0010d(); - public C0011d() { + public C0010d() { super(1, l1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/SimpleConfirmationDialogBinding;", 0); } diff --git a/app/src/main/java/c/a/a/e/a.java b/app/src/main/java/c/a/a/e/a.java index 88e846ccf5..6c7900360f 100644 --- a/app/src/main/java/c/a/a/e/a.java +++ b/app/src/main/java/c/a/a/e/a.java @@ -9,8 +9,6 @@ import android.widget.TextView; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import c.a.i.a1; -import c0.z.d.k; -import c0.z.d.m; import com.discord.R; import com.discord.app.AppDialog; import com.discord.utilities.analytics.AnalyticsTracker; @@ -19,22 +17,24 @@ import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.discord.widgets.servers.premiumguild.WidgetPremiumGuildSubscription; import com.google.android.material.button.MaterialButton; +import d0.z.d.k; +import d0.z.d.m; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: PremiumGuildSubscriptionUpsellDialog.kt */ public final class a extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(a.class, "binding", "getBinding()Lcom/discord/databinding/PremiumGuildSubscriptionUpsellDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(a.class, "binding", "getBinding()Lcom/discord/databinding/PremiumGuildSubscriptionUpsellDialogBinding;", 0)}; public static final b j = new b(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null); /* compiled from: java-style lambda group */ /* renamed from: c.a.a.e.a$a reason: collision with other inner class name */ - public static final class View$OnClickListenerC0012a implements View.OnClickListener { + public static final class View$OnClickListenerC0011a implements View.OnClickListener { public final /* synthetic */ int i; public final /* synthetic */ Object j; - public View$OnClickListenerC0012a(int i, Object obj) { + public View$OnClickListenerC0011a(int i, Object obj) { this.i = i; this.j = obj; } @@ -93,13 +93,13 @@ public final class a extends AppDialog { aVar.setArguments(I); aVar.show(fragmentManager, a.class.getSimpleName()); AnalyticsTracker analyticsTracker = AnalyticsTracker.INSTANCE; - String u = c.d.b.a.a.u("Premium Guild Upsell Modal - Tier ", str); + String v = c.d.b.a.a.v("Premium Guild Upsell Modal - Tier ", str); String page2 = location == null ? location.getPage() : null; String str4 = location == null ? location.get_object() : null; if (location != null) { str3 = location.getSection(); } - analyticsTracker.openModal(u, new Traits.Location(page2, str3, str4, str, null, 16, null)); + analyticsTracker.openModal(v, new Traits.Location(page2, str3, str4, str, null, 16, null)); } str = str2; I = c.d.b.a.a.I("extra_guild_id", j); @@ -111,14 +111,14 @@ public final class a extends AppDialog { aVar.setArguments(I); aVar.show(fragmentManager, a.class.getSimpleName()); AnalyticsTracker analyticsTracker = AnalyticsTracker.INSTANCE; - String u = c.d.b.a.a.u("Premium Guild Upsell Modal - Tier ", str); + String v = c.d.b.a.a.v("Premium Guild Upsell Modal - Tier ", str); if (location == null) { } if (location == null) { } if (location != null) { } - analyticsTracker.openModal(u, new Traits.Location(page2, str3, str4, str, null, 16, null)); + analyticsTracker.openModal(v, new Traits.Location(page2, str3, str4, str, null, 16, null)); } } @@ -199,7 +199,7 @@ public final class a extends AppDialog { String string = arguments2 != null ? arguments2.getString("extra_object_type") : null; Bundle arguments3 = getArguments(); g().d.setOnClickListener(new d(this, j2, valueOf, arguments3 != null ? arguments3.getString("extra_page") : null, string)); - g().b.setOnClickListener(new View$OnClickListenerC0012a(0, this)); - g().f64c.setOnClickListener(new View$OnClickListenerC0012a(1, this)); + g().b.setOnClickListener(new View$OnClickListenerC0011a(0, this)); + g().f62c.setOnClickListener(new View$OnClickListenerC0011a(1, this)); } } diff --git a/app/src/main/java/c/a/a/e/b.java b/app/src/main/java/c/a/a/e/b.java index 5bb9ca8440..c99845a9d7 100644 --- a/app/src/main/java/c/a/a/e/b.java +++ b/app/src/main/java/c/a/a/e/b.java @@ -12,12 +12,8 @@ import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.viewpager2.adapter.FragmentStateAdapter; import androidx.viewpager2.widget.ViewPager2; -import c.a.i.n5; +import c.a.i.m5; import c.a.i.o0; -import c0.t.n; -import c0.t.u; -import c0.z.d.k; -import c0.z.d.m; import com.discord.R; import com.discord.app.AppDialog; import com.discord.app.AppFragment; @@ -29,6 +25,10 @@ import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.discord.widgets.settings.premium.WidgetSettingsPremium; import com.google.android.material.button.MaterialButton; import com.google.android.material.tabs.TabLayout; +import d0.t.n; +import d0.t.u; +import d0.z.d.k; +import d0.z.d.m; import java.util.List; import java.util.Objects; import kotlin.jvm.functions.Function1; @@ -36,8 +36,8 @@ import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: MultiValuePropPremiumUpsellDialog.kt */ public final class b extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(b.class, "binding", "getBinding()Lcom/discord/databinding/MultiValuePropPremiumUpsellDialogBinding;", 0)}; - public static final C0013b j = new C0013b(null); + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(b.class, "binding", "getBinding()Lcom/discord/databinding/MultiValuePropPremiumUpsellDialogBinding;", 0)}; + public static final C0012b j = new C0012b(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, f.i, null, 2, null); public e l; @@ -68,11 +68,11 @@ public final class b extends AppDialog { /* compiled from: MultiValuePropPremiumUpsellDialog.kt */ /* renamed from: c.a.a.e.b$b reason: collision with other inner class name */ - public static final class C0013b { - public C0013b(DefaultConstructorMarker defaultConstructorMarker) { + public static final class C0012b { + public C0012b(DefaultConstructorMarker defaultConstructorMarker) { } - public static void a(C0013b bVar, FragmentManager fragmentManager, int i, String str, String str2, String str3, String str4, String str5, String str6, boolean z2, boolean z3, int i2) { + public static void a(C0012b bVar, FragmentManager fragmentManager, int i, String str, String str2, String str3, String str4, String str5, String str6, boolean z2, boolean z3, int i2) { if ((i2 & 4) != 0) { str = null; } @@ -159,20 +159,20 @@ public final class b extends AppDialog { } public String toString() { - StringBuilder O = c.d.b.a.a.O("UpsellData(imageResId="); - O.append(this.a); - O.append(", headerText="); - O.append(this.b); - O.append(", bodyText="); - return c.d.b.a.a.C(O, this.f39c, ")"); + StringBuilder R = c.d.b.a.a.R("UpsellData(imageResId="); + R.append(this.a); + R.append(", headerText="); + R.append(this.b); + R.append(", bodyText="); + return c.d.b.a.a.D(R, this.f39c, ")"); } } /* compiled from: MultiValuePropPremiumUpsellDialog.kt */ public static final class d extends AppFragment { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(d.class, "binding", "getBinding()Lcom/discord/databinding/WidgetPremiumUpsellBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(d.class, "binding", "getBinding()Lcom/discord/databinding/WidgetPremiumUpsellBinding;", 0)}; public static final a j = new a(null); - public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, C0014b.i, null, 2, null); + public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, C0013b.i, null, 2, null); /* compiled from: MultiValuePropPremiumUpsellDialog.kt */ public static final class a { @@ -182,17 +182,17 @@ public final class b extends AppDialog { /* compiled from: MultiValuePropPremiumUpsellDialog.kt */ /* renamed from: c.a.a.e.b$d$b reason: collision with other inner class name */ - public static final /* synthetic */ class C0014b extends k implements Function1 { - public static final C0014b i = new C0014b(); + public static final /* synthetic */ class C0013b extends k implements Function1 { + public static final C0013b i = new C0013b(); - public C0014b() { - super(1, n5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetPremiumUpsellBinding;", 0); + public C0013b() { + super(1, m5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetPremiumUpsellBinding;", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 - public n5 invoke(View view) { + public m5 invoke(View view) { View view2 = view; m.checkNotNullParameter(view2, "p1"); int i2 = R.id.premium_upsell_body; @@ -204,7 +204,7 @@ public final class b extends AppDialog { i2 = R.id.premium_upsell_img; ImageView imageView = (ImageView) view2.findViewById(R.id.premium_upsell_img); if (imageView != null) { - return new n5((LinearLayout) view2, textView, textView2, imageView); + return new m5((LinearLayout) view2, textView, textView2, imageView); } } } @@ -216,8 +216,8 @@ public final class b extends AppDialog { super(R.layout.widget_premium_upsell); } - public final n5 g() { - return (n5) this.k.getValue((Fragment) this, i[0]); + public final m5 g() { + return (m5) this.k.getValue((Fragment) this, i[0]); } @Override // com.discord.app.AppFragment @@ -227,7 +227,7 @@ public final class b extends AppDialog { ImageView imageView = g().d; Bundle arguments = getArguments(); imageView.setImageResource(arguments != null ? arguments.getInt("extra_image_id") : 0); - TextView textView = g().f137c; + TextView textView = g().f132c; m.checkNotNullExpressionValue(textView, "binding.premiumUpsellHeader"); Bundle arguments2 = getArguments(); textView.setText(arguments2 != null ? arguments2.getString("extra_header_string") : null); @@ -429,11 +429,11 @@ public final class b extends AppDialog { m.throwUninitializedPropertyAccessException("pagerAdapter"); } viewPager2.setAdapter(eVar); - TabLayout tabLayout = h().f138c; + TabLayout tabLayout = h().f137c; m.checkNotNullExpressionValue(tabLayout, "binding.premiumUpsellDots"); int i2 = 8; tabLayout.setVisibility(j() ? 0 : 8); - TabLayout tabLayout2 = h().f138c; + TabLayout tabLayout2 = h().f137c; m.checkNotNullExpressionValue(tabLayout2, "binding.premiumUpsellDots"); ViewPager2 viewPager22 = h().f; m.checkNotNullExpressionValue(viewPager22, "binding.premiumUpsellViewpager"); diff --git a/app/src/main/java/c/a/a/e/c.java b/app/src/main/java/c/a/a/e/c.java index 0d85976877..c658594ca0 100644 --- a/app/src/main/java/c/a/a/e/c.java +++ b/app/src/main/java/c/a/a/e/c.java @@ -9,14 +9,14 @@ import android.widget.RelativeLayout; import android.widget.TextView; import androidx.fragment.app.Fragment; import c.a.i.b1; -import c0.z.d.k; -import c0.z.d.m; import com.discord.R; import com.discord.app.AppDialog; import com.discord.utilities.resources.StringResourceUtilsKt; import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.google.android.material.button.MaterialButton; +import d0.z.d.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; @@ -24,13 +24,13 @@ import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: UpgradePremiumGuildDialog.kt */ public final class c extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(c.class, "binding", "getBinding()Lcom/discord/databinding/PremiumGuildUpgradeDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(c.class, "binding", "getBinding()Lcom/discord/databinding/PremiumGuildUpgradeDialogBinding;", 0)}; public static final b j = new b(null); public Function0 k; public Function0 l; public String m; public boolean n; - public final FragmentViewBindingDelegate o = FragmentViewBindingDelegateKt.viewBinding$default(this, C0015c.i, null, 2, null); + public final FragmentViewBindingDelegate o = FragmentViewBindingDelegateKt.viewBinding$default(this, C0014c.i, null, 2, null); /* compiled from: java-style lambda group */ public static final class a implements View.OnClickListener { @@ -48,13 +48,13 @@ public final class c extends AppDialog { if (i == 0) { Function0 function0 = ((c) this.j).k; if (function0 != null) { - function0.mo17invoke(); + function0.mo1invoke(); } ((c) this.j).dismiss(); } else if (i == 1) { Function0 function02 = ((c) this.j).l; if (function02 != null) { - function02.mo17invoke(); + function02.mo1invoke(); } ((c) this.j).dismiss(); } else if (i == 2) { @@ -73,10 +73,10 @@ public final class c extends AppDialog { /* compiled from: UpgradePremiumGuildDialog.kt */ /* renamed from: c.a.a.e.c$c reason: collision with other inner class name */ - public static final /* synthetic */ class C0015c extends k implements Function1 { - public static final C0015c i = new C0015c(); + public static final /* synthetic */ class C0014c extends k implements Function1 { + public static final C0014c i = new C0014c(); - public C0015c() { + public C0014c() { super(1, b1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumGuildUpgradeDialogBinding;", 0); } @@ -150,6 +150,6 @@ public final class c extends AppDialog { textView3.setVisibility(this.n ^ true ? 0 : 8); g().b.setOnClickListener(new a(0, this)); g().f.setOnClickListener(new a(1, this)); - g().f70c.setOnClickListener(new a(2, this)); + g().f69c.setOnClickListener(new a(2, this)); } } diff --git a/app/src/main/java/c/a/a/e/d.java b/app/src/main/java/c/a/a/e/d.java index 610f516953..0e88860fff 100644 --- a/app/src/main/java/c/a/a/e/d.java +++ b/app/src/main/java/c/a/a/e/d.java @@ -11,8 +11,6 @@ import androidx.core.content.ContextCompat; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import c.a.i.m1; -import c0.z.d.k; -import c0.z.d.m; import com.discord.R; import com.discord.app.AppDialog; import com.discord.utilities.analytics.AnalyticsTracker; @@ -22,13 +20,15 @@ import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.discord.views.premium.ShinyButton; import com.discord.widgets.settings.premium.WidgetSettingsPremium; import com.google.android.material.button.MaterialButton; +import d0.z.d.k; +import d0.z.d.m; import java.util.Objects; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: SingleValuePropPremiumUpsellDialog.kt */ public final class d extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(d.class, "binding", "getBinding()Lcom/discord/databinding/SingleValuePropPremiumUpsellDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(d.class, "binding", "getBinding()Lcom/discord/databinding/SingleValuePropPremiumUpsellDialogBinding;", 0)}; public static final b j = new b(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null); diff --git a/app/src/main/java/c/a/a/e/e.java b/app/src/main/java/c/a/a/e/e.java index 3f18057820..f0827a98b7 100644 --- a/app/src/main/java/c/a/a/e/e.java +++ b/app/src/main/java/c/a/a/e/e.java @@ -8,13 +8,13 @@ import android.widget.LinearLayout; import android.widget.TextView; import androidx.fragment.app.Fragment; import c.a.i.c1; -import c0.z.d.k; -import c0.z.d.m; import com.discord.R; import com.discord.app.AppDialog; import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.google.android.material.button.MaterialButton; +import d0.z.d.k; +import d0.z.d.m; import java.text.NumberFormat; import kotlin.Unit; import kotlin.jvm.functions.Function0; @@ -23,7 +23,7 @@ import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: UpgradePremiumYearlyDialog.kt */ public final class e extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(e.class, "binding", "getBinding()Lcom/discord/databinding/PremiumUpgradeYearlyDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(e.class, "binding", "getBinding()Lcom/discord/databinding/PremiumUpgradeYearlyDialogBinding;", 0)}; public static final b j = new b(null); public Function0 k; public Function0 l; @@ -47,13 +47,13 @@ public final class e extends AppDialog { if (i == 0) { Function0 function0 = ((e) this.j).k; if (function0 != null) { - function0.mo17invoke(); + function0.mo1invoke(); } ((e) this.j).dismiss(); } else if (i == 1) { Function0 function02 = ((e) this.j).l; if (function02 != null) { - function02.mo17invoke(); + function02.mo1invoke(); } ((e) this.j).dismiss(); } else { diff --git a/app/src/main/java/c/a/a/e/f.java b/app/src/main/java/c/a/a/e/f.java index 056fb0b97e..cf6562d066 100644 --- a/app/src/main/java/c/a/a/e/f.java +++ b/app/src/main/java/c/a/a/e/f.java @@ -10,14 +10,14 @@ import androidx.core.content.ContextCompat; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import c.a.i.v0; -import c0.z.d.k; -import c0.z.d.m; import com.discord.R; import com.discord.app.AppDialog; import com.discord.utilities.drawable.DrawableCompat; import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.google.android.material.button.MaterialButton; +import d0.z.d.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; @@ -25,7 +25,7 @@ import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: PremiumActivatedDialog.kt */ public final class f extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(f.class, "binding", "getBinding()Lcom/discord/databinding/PremiumActivatedDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(f.class, "binding", "getBinding()Lcom/discord/databinding/PremiumActivatedDialogBinding;", 0)}; public static final a j = new a(null); public Function0 k; public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, b.i, null, 2, null); @@ -102,7 +102,7 @@ public final class f extends AppDialog { public final void onClick(View view) { Function0 function0 = this.i.k; if (function0 != null) { - function0.mo17invoke(); + function0.mo1invoke(); } this.i.dismiss(); } @@ -144,7 +144,7 @@ public final class f extends AppDialog { m.checkNotNullExpressionValue(imageView, "binding.premiumActivatedWumpus"); imageView.setScaleX(z2 ? 1.0f : -1.0f); g().f.setImageDrawable(ContextCompat.getDrawable(requireContext(), i2)); - TextView textView = g().f175c; + TextView textView = g().f174c; m.checkNotNullExpressionValue(textView, "binding.premiumActivatedDescription"); textView.setText(getString(i6)); requireDialog().setCanceledOnTouchOutside(true); diff --git a/app/src/main/java/c/a/a/e/g.java b/app/src/main/java/c/a/a/e/g.java index 8d9d6de5aa..57451ce405 100644 --- a/app/src/main/java/c/a/a/e/g.java +++ b/app/src/main/java/c/a/a/e/g.java @@ -6,13 +6,13 @@ import android.widget.LinearLayout; import android.widget.TextView; import androidx.fragment.app.Fragment; import c.a.i.w0; -import c0.z.d.k; -import c0.z.d.m; import com.discord.R; import com.discord.app.AppDialog; import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.google.android.material.button.MaterialButton; +import d0.z.d.k; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; @@ -20,7 +20,7 @@ import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: PremiumAndPremiumGuildActivatedDialog.kt */ public final class g extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(g.class, "binding", "getBinding()Lcom/discord/databinding/PremiumAndPremiumGuildActivatedDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(g.class, "binding", "getBinding()Lcom/discord/databinding/PremiumAndPremiumGuildActivatedDialogBinding;", 0)}; public static final a j = new a(null); public Function0 k; public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, b.i, null, 2, null); @@ -70,7 +70,7 @@ public final class g extends AppDialog { public final void onClick(View view) { Function0 function0 = this.i.k; if (function0 != null) { - function0.mo17invoke(); + function0.mo1invoke(); } this.i.dismiss(); } diff --git a/app/src/main/java/c/a/a/f/a/a.java b/app/src/main/java/c/a/a/f/a/a.java index 37126757a7..ba10904813 100644 --- a/app/src/main/java/c/a/a/f/a/a.java +++ b/app/src/main/java/c/a/a/f/a/a.java @@ -10,10 +10,6 @@ import androidx.fragment.app.FragmentViewModelLazyKt; import c.a.a.f.a.d; import c.a.d.f0; import c.a.d.h0; -import c0.z.d.a0; -import c0.z.d.k; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.app.AppDialog; import com.discord.app.AppViewModel; @@ -24,6 +20,10 @@ import com.discord.utilities.rx.ObservableExtensionsKt; import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.google.android.material.radiobutton.MaterialRadioButton; +import d0.z.d.a0; +import d0.z.d.k; +import d0.z.d.m; +import d0.z.d.o; import java.util.Objects; import java.util.concurrent.TimeUnit; import kotlin.Lazy; @@ -35,18 +35,18 @@ import kotlin.reflect.KProperty; import rx.Observable; /* compiled from: AudioOutputSelectionDialog.kt */ public final class a extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(a.class, "binding", "getBinding()Lcom/discord/databinding/AudioOutputSelectionDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(a.class, "binding", "getBinding()Lcom/discord/databinding/AudioOutputSelectionDialogBinding;", 0)}; public static final b j = new b(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null); public final Lazy l; /* compiled from: java-style lambda group */ /* renamed from: c.a.a.f.a.a$a reason: collision with other inner class name */ - public static final class View$OnClickListenerC0016a implements View.OnClickListener { + public static final class View$OnClickListenerC0015a implements View.OnClickListener { public final /* synthetic */ int i; public final /* synthetic */ Object j; - public View$OnClickListenerC0016a(int i, Object obj) { + public View$OnClickListenerC0015a(int i, Object obj) { this.i = i; this.j = obj; } @@ -141,8 +141,8 @@ public final class a extends AppDialog { a aVar3 = this.this$0; Objects.requireNonNull(aVar3); m.checkNotNullParameter(aVar2, "viewState"); - if (!(aVar2 instanceof d.a.b) && (aVar2 instanceof d.a.C0017a)) { - d.a.C0017a aVar4 = (d.a.C0017a) aVar2; + if (!(aVar2 instanceof d.a.b) && (aVar2 instanceof d.a.C0016a)) { + d.a.C0016a aVar4 = (d.a.C0016a) aVar2; int ordinal = aVar4.a.ordinal(); if (ordinal == 2) { MaterialRadioButton materialRadioButton = aVar3.i().e; @@ -161,7 +161,7 @@ public final class a extends AppDialog { m.checkNotNullExpressionValue(materialRadioButton4, "binding.audioOutputSelectionBluetoothRadio"); i = materialRadioButton4.getId(); } - aVar3.i().f68c.check(i); + aVar3.i().f67c.check(i); MaterialRadioButton materialRadioButton5 = aVar3.i().b; m.checkNotNullExpressionValue(materialRadioButton5, "binding.audioOutputSelectionBluetoothRadio"); int i2 = 0; @@ -201,7 +201,7 @@ public final class a extends AppDialog { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public AppViewModel mo17invoke() { + public AppViewModel mo1invoke() { return new d(null, null, 3); } } @@ -210,7 +210,7 @@ public final class a extends AppDialog { super(R.layout.audio_output_selection_dialog); e eVar = e.i; f0 f0Var = new f0(this); - this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(d.class), new l(5, f0Var), new h0(eVar)); + this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(d.class), new m(5, f0Var), new h0(eVar)); } public static final void g(a aVar) { @@ -245,10 +245,10 @@ public final class a extends AppDialog { MaterialRadioButton materialRadioButton4 = i().d; m.checkNotNullExpressionValue(materialRadioButton4, "binding.audioOutputSelectionEarpieceRadio"); ColorCompatKt.setDrawableColor(materialRadioButton4, themedColor); - i().b.setOnClickListener(new View$OnClickListenerC0016a(0, this)); - i().e.setOnClickListener(new View$OnClickListenerC0016a(1, this)); - i().f.setOnClickListener(new View$OnClickListenerC0016a(2, this)); - i().d.setOnClickListener(new View$OnClickListenerC0016a(3, this)); + i().b.setOnClickListener(new View$OnClickListenerC0015a(0, this)); + i().e.setOnClickListener(new View$OnClickListenerC0015a(1, this)); + i().f.setOnClickListener(new View$OnClickListenerC0015a(2, this)); + i().d.setOnClickListener(new View$OnClickListenerC0015a(3, this)); } @Override // com.discord.app.AppDialog diff --git a/app/src/main/java/c/a/a/f/a/b.java b/app/src/main/java/c/a/a/f/a/b.java index b520b52b63..638837dc05 100644 --- a/app/src/main/java/c/a/a/f/a/b.java +++ b/app/src/main/java/c/a/a/f/a/b.java @@ -1,6 +1,6 @@ package c.a.a.f.a; -import c0.z.d.o; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: AudioOutputSelectionDialog.kt */ diff --git a/app/src/main/java/c/a/a/f/a/c.java b/app/src/main/java/c/a/a/f/a/c.java index 5c07c63f0f..889a5ded60 100644 --- a/app/src/main/java/c/a/a/f/a/c.java +++ b/app/src/main/java/c/a/a/f/a/c.java @@ -1,10 +1,10 @@ package c.a.a.f.a; import c.a.a.f.a.d; -import c0.z.d.m; -import c0.z.d.o; import com.discord.rtcconnection.audio.DiscordAudioManager; import com.discord.stores.StoreAudioManagerV2; +import d0.z.d.m; +import d0.z.d.o; import java.util.List; import java.util.Objects; import kotlin.Unit; @@ -30,7 +30,7 @@ public final class c extends o implements Function1 audioDevices = state2.getAudioDevices(); DiscordAudioManager.DeviceTypes activeAudioDevice = state2.getActiveAudioDevice(); DiscordAudioManager.DeviceTypes deviceTypes = DiscordAudioManager.DeviceTypes.BLUETOOTH_HEADSET; - dVar.updateViewState(new d.a.C0017a(activeAudioDevice, audioDevices.get(deviceTypes.getValue()).b, audioDevices.get(deviceTypes.getValue()).d, audioDevices.get(DiscordAudioManager.DeviceTypes.SPEAKERPHONE.getValue()).b, audioDevices.get(DiscordAudioManager.DeviceTypes.WIRED_HEADSET.getValue()).b, audioDevices.get(DiscordAudioManager.DeviceTypes.EARPIECE.getValue()).b)); + dVar.updateViewState(new d.a.C0016a(activeAudioDevice, audioDevices.get(deviceTypes.getValue()).b, audioDevices.get(deviceTypes.getValue()).d, audioDevices.get(DiscordAudioManager.DeviceTypes.SPEAKERPHONE.getValue()).b, audioDevices.get(DiscordAudioManager.DeviceTypes.WIRED_HEADSET.getValue()).b, audioDevices.get(DiscordAudioManager.DeviceTypes.EARPIECE.getValue()).b)); return Unit.a; } } diff --git a/app/src/main/java/c/a/a/f/a/d.java b/app/src/main/java/c/a/a/f/a/d.java index 6cdc7edef1..b0c22a4371 100644 --- a/app/src/main/java/c/a/a/f/a/d.java +++ b/app/src/main/java/c/a/a/f/a/d.java @@ -1,12 +1,12 @@ package c.a.a.f.a; import android.content.Context; -import c0.z.d.m; import com.discord.app.AppViewModel; import com.discord.rtcconnection.audio.DiscordAudioManager; import com.discord.stores.StoreAudioManagerV2; import com.discord.stores.StoreStream; import com.discord.utilities.rx.ObservableExtensionsKt; +import d0.z.d.m; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.DefaultConstructorMarker; @@ -20,7 +20,7 @@ public final class d extends AppViewModel { /* compiled from: AudioOutputSelectionDialogViewModel.kt */ /* renamed from: c.a.a.f.a.d$a$a reason: collision with other inner class name */ - public static final class C0017a extends a { + public static final class C0016a extends a { public final DiscordAudioManager.DeviceTypes a; public final boolean b; @@ -31,7 +31,7 @@ public final class d extends AppViewModel { public final boolean f; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public C0017a(DiscordAudioManager.DeviceTypes deviceTypes, boolean z2, String str, boolean z3, boolean z4, boolean z5) { + public C0016a(DiscordAudioManager.DeviceTypes deviceTypes, boolean z2, String str, boolean z3, boolean z4, boolean z5) { super(null); m.checkNotNullParameter(deviceTypes, "selectedAudioOutput"); this.a = deviceTypes; @@ -46,10 +46,10 @@ public final class d extends AppViewModel { if (this == obj) { return true; } - if (!(obj instanceof C0017a)) { + if (!(obj instanceof C0016a)) { return false; } - C0017a aVar = (C0017a) obj; + C0016a aVar = (C0016a) obj; return m.areEqual(this.a, aVar.a) && this.b == aVar.b && m.areEqual(this.f40c, aVar.f40c) && this.d == aVar.d && this.e == aVar.e && this.f == aVar.f; } @@ -95,18 +95,18 @@ public final class d extends AppViewModel { } public String toString() { - StringBuilder O = c.d.b.a.a.O("Loaded(selectedAudioOutput="); - O.append(this.a); - O.append(", showBluetoothItem="); - O.append(this.b); - O.append(", bluetoothDeviceName="); - O.append(this.f40c); - O.append(", showSpeakerItem="); - O.append(this.d); - O.append(", showWiredItem="); - O.append(this.e); - O.append(", showEarpieceItem="); - return c.d.b.a.a.K(O, this.f, ")"); + StringBuilder R = c.d.b.a.a.R("Loaded(selectedAudioOutput="); + R.append(this.a); + R.append(", showBluetoothItem="); + R.append(this.b); + R.append(", bluetoothDeviceName="); + R.append(this.f40c); + R.append(", showSpeakerItem="); + R.append(this.d); + R.append(", showWiredItem="); + R.append(this.e); + R.append(", showEarpieceItem="); + return c.d.b.a.a.L(R, this.f, ")"); } } diff --git a/app/src/main/java/c/a/a/g/a.java b/app/src/main/java/c/a/a/g/a.java index 50252169a4..b096df5d49 100644 --- a/app/src/main/java/c/a/a/g/a.java +++ b/app/src/main/java/c/a/a/g/a.java @@ -6,9 +6,7 @@ import android.view.View; import android.widget.LinearLayout; import android.widget.TextView; import androidx.fragment.app.Fragment; -import c.a.i.j5; -import c0.z.d.k; -import c0.z.d.m; +import c.a.i.i5; import com.discord.R; import com.discord.app.AppDialog; import com.discord.stores.StoreNotices; @@ -18,6 +16,8 @@ import com.discord.utilities.uri.UriHandler; import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.google.android.material.button.MaterialButton; +import d0.z.d.k; +import d0.z.d.m; import java.util.Objects; import kotlin.Unit; import kotlin.jvm.functions.Function1; @@ -25,18 +25,18 @@ import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: WidgetMaskedLinksDialog.kt */ public final class a extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(a.class, "binding", "getBinding()Lcom/discord/databinding/WidgetMaskedLinksDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(a.class, "binding", "getBinding()Lcom/discord/databinding/WidgetMaskedLinksDialogBinding;", 0)}; public static final b j = new b(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null); /* compiled from: java-style lambda group */ /* renamed from: c.a.a.g.a$a reason: collision with other inner class name */ - public static final class View$OnClickListenerC0018a implements View.OnClickListener { + public static final class View$OnClickListenerC0017a implements View.OnClickListener { public final /* synthetic */ int i; public final /* synthetic */ Object j; public final /* synthetic */ Object k; - public View$OnClickListenerC0018a(int i, Object obj, Object obj2) { + public View$OnClickListenerC0017a(int i, Object obj, Object obj2) { this.i = i; this.j = obj; this.k = obj2; @@ -79,17 +79,17 @@ public final class a extends AppDialog { } /* compiled from: WidgetMaskedLinksDialog.kt */ - public static final /* synthetic */ class c extends k implements Function1 { + public static final /* synthetic */ class c extends k implements Function1 { public static final c i = new c(); public c() { - super(1, j5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetMaskedLinksDialogBinding;", 0); + super(1, i5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetMaskedLinksDialogBinding;", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 - public j5 invoke(View view) { + public i5 invoke(View view) { View view2 = view; m.checkNotNullParameter(view2, "p1"); int i2 = R.id.masked_links_body_text; @@ -107,7 +107,7 @@ public final class a extends AppDialog { i2 = R.id.view_dialog_confirmation_header; TextView textView3 = (TextView) view2.findViewById(R.id.view_dialog_confirmation_header); if (textView3 != null) { - return new j5((LinearLayout) view2, textView, materialButton, materialButton2, textView2, textView3); + return new i5((LinearLayout) view2, textView, materialButton, materialButton2, textView2, textView3); } } } @@ -135,8 +135,8 @@ public final class a extends AppDialog { super(R.layout.widget_masked_links_dialog); } - public final j5 g() { - return (j5) this.k.getValue((Fragment) this, i[0]); + public final i5 g() { + return (i5) this.k.getValue((Fragment) this, i[0]); } @Override // androidx.fragment.app.Fragment @@ -167,8 +167,8 @@ public final class a extends AppDialog { TextView textView = g().b; m.checkNotNullExpressionValue(textView, "binding.maskedLinksBodyText"); c.a.k.b.n(textView, R.string.masked_link_body, new Object[]{obj}, null, 4); - g().f116c.setOnClickListener(new d(this)); - g().d.setOnClickListener(new View$OnClickListenerC0018a(0, this, str)); - g().e.setOnClickListener(new View$OnClickListenerC0018a(1, this, str)); + g().f110c.setOnClickListener(new d(this)); + g().d.setOnClickListener(new View$OnClickListenerC0017a(0, this, str)); + g().e.setOnClickListener(new View$OnClickListenerC0017a(1, this, str)); } } diff --git a/app/src/main/java/c/a/a/h.java b/app/src/main/java/c/a/a/h.java index 2250d7f5bb..38bb59a5d1 100644 --- a/app/src/main/java/c/a/a/h.java +++ b/app/src/main/java/c/a/a/h.java @@ -10,10 +10,6 @@ import c.a.a.p; import c.a.d.f; import c.a.d.f0; import c.a.d.h0; -import c0.z.d.a0; -import c0.z.d.k; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.app.AppDialog; import com.discord.app.AppViewModel; @@ -21,6 +17,10 @@ import com.discord.utilities.rx.ObservableExtensionsKt; import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.google.android.material.button.MaterialButton; +import d0.z.d.a0; +import d0.z.d.k; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Lazy; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; @@ -28,7 +28,7 @@ import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: WidgetAccessibilityDetectionDialog.kt */ public final class h extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(h.class, "binding", "getBinding()Lcom/discord/databinding/AllowAccessibilityDetectionDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(h.class, "binding", "getBinding()Lcom/discord/databinding/AllowAccessibilityDetectionDialogBinding;", 0)}; public static final b j = new b(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null); public final Lazy l; @@ -108,7 +108,7 @@ public final class h extends AppDialog { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public AppViewModel mo17invoke() { + public AppViewModel mo1invoke() { return new p(null, null, 3); } } @@ -117,7 +117,7 @@ public final class h extends AppDialog { super(R.layout.allow_accessibility_detection_dialog); d dVar = d.i; f0 f0Var = new f0(this); - this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(p.class), new l(0, f0Var), new h0(dVar)); + this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(p.class), new m(0, f0Var), new h0(dVar)); } public static final void g(h hVar, boolean z2) { @@ -133,7 +133,7 @@ public final class h extends AppDialog { public void onViewBound(View view) { m.checkNotNullParameter(view, "view"); super.onViewBound(view); - h().f62c.setOnClickListener(new a(0, this)); + h().f60c.setOnClickListener(new a(0, this)); h().d.setOnClickListener(new a(1, this)); TextView textView = h().b; m.checkNotNullExpressionValue(textView, "binding.accessibilityDetectionBodyText"); diff --git a/app/src/main/java/c/a/a/i.java b/app/src/main/java/c/a/a/i.java index c8fe95e09f..052c4f288f 100644 --- a/app/src/main/java/c/a/a/i.java +++ b/app/src/main/java/c/a/a/i.java @@ -6,20 +6,21 @@ import android.widget.LinearLayout; import android.widget.TextView; import androidx.fragment.app.Fragment; import c.a.i.h; -import c0.z.d.k; -import c0.z.d.m; import com.discord.R; import com.discord.app.AppDialog; +import com.discord.utilities.drawable.DrawableCompat; import com.discord.utilities.uri.UriHandler; import com.discord.utilities.view.extensions.ViewExtensions; import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; +import d0.z.d.k; +import d0.z.d.m; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: ConnectedAccountActionsDialog.kt */ public final class i extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(i.class, "binding", "getBinding()Lcom/discord/databinding/ConnectedAccountActionsDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(i.class, "binding", "getBinding()Lcom/discord/databinding/ConnectedAccountActionsDialogBinding;", 0)}; public static final b j = new b(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null); @@ -108,11 +109,11 @@ public final class i extends AppDialog { super.onViewBound(view); String string = getArgumentsOrDefault().getString("ARG_PROFILE_URL", ""); String string2 = getArgumentsOrDefault().getString("ARG_USERNAME", ""); - int i2 = getArgumentsOrDefault().getInt("ARG_PLATFORM_IMAGE_RES", 0); + int i2 = getArgumentsOrDefault().getInt("ARG_THEMED_PLATFORM_IMAGE_RES", 0); if (i2 != 0) { TextView textView = g().f103c; m.checkNotNullExpressionValue(textView, "binding.connectedAccountActionsDialogHeader"); - ViewExtensions.setCompoundDrawableWithIntrinsicBounds$default(textView, i2, 0, 0, 0, 14, null); + ViewExtensions.setCompoundDrawableWithIntrinsicBounds$default(textView, DrawableCompat.getThemedDrawableRes$default(view, i2, 0, 2, (Object) null), 0, 0, 0, 14, null); } TextView textView2 = g().f103c; m.checkNotNullExpressionValue(textView2, "binding.connectedAccountActionsDialogHeader"); diff --git a/app/src/main/java/c/a/a/j.java b/app/src/main/java/c/a/a/j.java index 96e404bc84..0a75e03e38 100644 --- a/app/src/main/java/c/a/a/j.java +++ b/app/src/main/java/c/a/a/j.java @@ -7,19 +7,19 @@ import android.widget.TextView; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import c.a.i.e; -import c0.z.d.k; -import c0.z.d.m; import com.discord.R; import com.discord.app.AppDialog; import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.google.android.material.button.MaterialButton; +import d0.z.d.k; +import d0.z.d.m; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: CameraCapacityDialog.kt */ public final class j extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(j.class, "binding", "getBinding()Lcom/discord/databinding/CameraCapacityDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(j.class, "binding", "getBinding()Lcom/discord/databinding/CameraCapacityDialogBinding;", 0)}; public static final a j = new a(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, b.i, null, 2, null); @@ -93,7 +93,7 @@ public final class j extends AppDialog { requireDialog().setCanceledOnTouchOutside(true); FragmentViewBindingDelegate fragmentViewBindingDelegate = this.k; KProperty[] kPropertyArr = i; - ((e) fragmentViewBindingDelegate.getValue((Fragment) this, kPropertyArr[0])).f86c.setOnClickListener(new c(this)); + ((e) fragmentViewBindingDelegate.getValue((Fragment) this, kPropertyArr[0])).f85c.setOnClickListener(new c(this)); Bundle arguments = getArguments(); Integer valueOf = arguments != null ? Integer.valueOf(arguments.getInt("ARG_MAX_VIDEO_CHANNEL_USERS")) : null; TextView textView = ((e) this.k.getValue((Fragment) this, kPropertyArr[0])).b; diff --git a/app/src/main/java/c/a/a/k.java b/app/src/main/java/c/a/a/k.java index ea6b4ec136..41a5b512a8 100644 --- a/app/src/main/java/c/a/a/k.java +++ b/app/src/main/java/c/a/a/k.java @@ -7,7 +7,6 @@ import android.widget.LinearLayout; import android.widget.TextView; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; -import c0.z.d.m; import com.discord.R; import com.discord.app.AppDialog; import com.discord.utilities.birthday.BirthdayHelper; @@ -15,6 +14,7 @@ import com.discord.utilities.font.FontUtils; import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.google.android.material.button.MaterialButton; +import d0.z.d.m; import java.util.Calendar; import kotlin.Unit; import kotlin.jvm.functions.Function1; @@ -22,7 +22,7 @@ import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: DatePickerDialog.kt */ public final class k extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(k.class, "binding", "getBinding()Lcom/discord/databinding/DialogDatePickerBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(k.class, "binding", "getBinding()Lcom/discord/databinding/DialogDatePickerBinding;", 0)}; public static final a j = new a(null); public Function1 k; public long l; @@ -49,7 +49,7 @@ public final class k extends AppDialog { } /* compiled from: DatePickerDialog.kt */ - public static final /* synthetic */ class b extends c0.z.d.k implements Function1 { + public static final /* synthetic */ class b extends d0.z.d.k implements Function1 { public static final b i = new b(); public b() { @@ -133,7 +133,7 @@ public final class k extends AppDialog { @Override // com.discord.app.AppDialog, androidx.fragment.app.Fragment public void onPause() { super.onPause(); - g().f117c.clearFocus(); + g().f116c.clearFocus(); } @Override // com.discord.app.AppDialog @@ -147,12 +147,12 @@ public final class k extends AppDialog { charSequence = ""; } textView.setText(charSequence); - DatePicker datePicker = g().f117c; + DatePicker datePicker = g().f116c; m.checkNotNullExpressionValue(datePicker, "binding.dialogDatePickerInput"); Bundle arguments2 = getArguments(); long j2 = 0; datePicker.setMaxDate(arguments2 != null ? arguments2.getLong("max_date") : 0); - DatePicker datePicker2 = g().f117c; + DatePicker datePicker2 = g().f116c; m.checkNotNullExpressionValue(datePicker2, "binding.dialogDatePickerInput"); datePicker2.setMinDate(BirthdayHelper.INSTANCE.subtractYearsFromToday(FontUtils.MAX_FONT_SCALING)); Bundle arguments3 = getArguments(); @@ -166,7 +166,7 @@ public final class k extends AppDialog { Calendar instance = Calendar.getInstance(); m.checkNotNullExpressionValue(instance, "calendar"); instance.setTimeInMillis(this.l); - g().f117c.init(instance.get(1), instance.get(2), instance.get(5), new c(this)); + g().f116c.init(instance.get(1), instance.get(2), instance.get(5), new c(this)); g().b.setOnClickListener(new d(this)); } } diff --git a/app/src/main/java/c/a/a/l.java b/app/src/main/java/c/a/a/l.java index 5a949429b7..ba75570425 100644 --- a/app/src/main/java/c/a/a/l.java +++ b/app/src/main/java/c/a/a/l.java @@ -1,9 +1,9 @@ package c.a.a; import android.view.View; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: FriendRequestDialogs.kt */ diff --git a/app/src/main/java/c/a/a/m.java b/app/src/main/java/c/a/a/m.java index 8f7c5e92fd..174188078e 100644 --- a/app/src/main/java/c/a/a/m.java +++ b/app/src/main/java/c/a/a/m.java @@ -5,18 +5,18 @@ import android.widget.LinearLayout; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import c.a.i.s; -import c0.z.d.k; import com.discord.R; import com.discord.app.AppDialog; import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.google.android.material.button.MaterialButton; +import d0.z.d.k; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: GuildVideoAtCapacityDialog.kt */ public final class m extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(m.class, "binding", "getBinding()Lcom/discord/databinding/GuildVideoAtCapacityBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(m.class, "binding", "getBinding()Lcom/discord/databinding/GuildVideoAtCapacityBinding;", 0)}; public static final a j = new a(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, b.i, null, 2, null); @@ -26,7 +26,7 @@ public final class m extends AppDialog { } public final void a(FragmentManager fragmentManager) { - c0.z.d.m.checkNotNullParameter(fragmentManager, "fragmentManager"); + d0.z.d.m.checkNotNullParameter(fragmentManager, "fragmentManager"); new m().show(fragmentManager, m.class.getSimpleName()); } } @@ -44,7 +44,7 @@ public final class m extends AppDialog { @Override // kotlin.jvm.functions.Function1 public s invoke(View view) { View view2 = view; - c0.z.d.m.checkNotNullParameter(view2, "p1"); + d0.z.d.m.checkNotNullParameter(view2, "p1"); int i2 = R.id.guild_video_at_capacity_confirm; MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.guild_video_at_capacity_confirm); if (materialButton != null) { diff --git a/app/src/main/java/c/a/a/n.java b/app/src/main/java/c/a/a/n.java index 7aa84ba6f7..cb2e479bf7 100644 --- a/app/src/main/java/c/a/a/n.java +++ b/app/src/main/java/c/a/a/n.java @@ -10,11 +10,6 @@ import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.recyclerview.widget.RecyclerView; import c.a.i.l; -import c0.t.j; -import c0.z.d.a0; -import c0.z.d.k; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.app.AppDialog; import com.discord.databinding.DialogSimpleSelectorItemBinding; @@ -23,6 +18,11 @@ import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.discord.utilities.views.SimpleRecyclerAdapter; import com.google.android.material.button.MaterialButton; +import d0.t.j; +import d0.z.d.a0; +import d0.z.d.k; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function2; @@ -30,7 +30,7 @@ import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: SelectorDialog.kt */ public final class n extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(n.class, "binding", "getBinding()Lcom/discord/databinding/DialogSimpleSelectorBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(n.class, "binding", "getBinding()Lcom/discord/databinding/DialogSimpleSelectorBinding;", 0)}; public static final a j = new a(null); public Function1 k; public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null); diff --git a/app/src/main/java/c/a/a/p.java b/app/src/main/java/c/a/a/p.java index 2ea16f502e..c399650096 100644 --- a/app/src/main/java/c/a/a/p.java +++ b/app/src/main/java/c/a/a/p.java @@ -1,10 +1,10 @@ package c.a.a; -import c0.z.d.m; import com.discord.app.AppViewModel; import com.discord.stores.StoreNotices; import com.discord.stores.StoreStream; import com.discord.stores.StoreUserSettings; +import d0.z.d.m; import java.util.Objects; import kotlin.jvm.internal.DefaultConstructorMarker; /* compiled from: WidgetAccessibilityDetectionDialogViewModel.kt */ @@ -17,10 +17,10 @@ public final class p extends AppViewModel { /* compiled from: WidgetAccessibilityDetectionDialogViewModel.kt */ /* renamed from: c.a.a.p$a$a reason: collision with other inner class name */ - public static final class C0019a extends a { - public static final C0019a a = new C0019a(); + public static final class C0018a extends a { + public static final C0018a a = new C0018a(); - public C0019a() { + public C0018a() { super(null); } } @@ -35,7 +35,7 @@ public final class p extends AppViewModel { /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public p(StoreUserSettings storeUserSettings, StoreNotices storeNotices, int i) { - super(a.C0019a.a); + super(a.C0018a.a); StoreNotices storeNotices2 = null; StoreUserSettings userSettings = (i & 1) != 0 ? StoreStream.Companion.getUserSettings() : null; storeNotices2 = (i & 2) != 0 ? StoreStream.Companion.getNotices() : storeNotices2; diff --git a/app/src/main/java/c/a/a/q.java b/app/src/main/java/c/a/a/q.java index 576d1230ec..332f06288c 100644 --- a/app/src/main/java/c/a/a/q.java +++ b/app/src/main/java/c/a/a/q.java @@ -1,8 +1,8 @@ package c.a.a; -import c0.z.d.m; -import c0.z.d.o; import com.discord.models.domain.ModelUserSettings; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: WidgetAccessibilityDetectionDialogViewModel.kt */ diff --git a/app/src/main/java/c/a/a/r.java b/app/src/main/java/c/a/a/r.java index 3b8f1e4145..637f55c10e 100644 --- a/app/src/main/java/c/a/a/r.java +++ b/app/src/main/java/c/a/a/r.java @@ -5,10 +5,7 @@ import android.widget.LinearLayout; import android.widget.TextView; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentActivity; -import c.a.i.a5; -import c0.z.d.k; -import c0.z.d.m; -import c0.z.d.o; +import c.a.i.z4; import com.discord.R; import com.discord.api.auth.mfa.EnableMfaResponse; import com.discord.app.AppDialog; @@ -22,6 +19,9 @@ import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.discord.views.LoadingButton; import com.google.android.material.button.MaterialButton; import com.google.android.material.textfield.TextInputLayout; +import d0.z.d.k; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; @@ -30,7 +30,7 @@ import kotlin.reflect.KProperty; import rx.Observable; /* compiled from: WidgetEnableTwoFactorPasswordDialog.kt */ public final class r extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(r.class, "binding", "getBinding()Lcom/discord/databinding/WidgetEnableTwoFactorPasswordDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(r.class, "binding", "getBinding()Lcom/discord/databinding/WidgetEnableTwoFactorPasswordDialogBinding;", 0)}; public static final a j = new a(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, b.i, null, 2, null); public Function1 l = c.i; @@ -42,17 +42,17 @@ public final class r extends AppDialog { } /* compiled from: WidgetEnableTwoFactorPasswordDialog.kt */ - public static final /* synthetic */ class b extends k implements Function1 { + public static final /* synthetic */ class b extends k implements Function1 { public static final b i = new b(); public b() { - super(1, a5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetEnableTwoFactorPasswordDialogBinding;", 0); + super(1, z4.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetEnableTwoFactorPasswordDialogBinding;", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 - public a5 invoke(View view) { + public z4 invoke(View view) { View view2 = view; m.checkNotNullParameter(view2, "p1"); int i2 = R.id.enable_two_factor_password_body_container; @@ -76,7 +76,7 @@ public final class r extends AppDialog { i2 = R.id.enable_two_factor_password_view_input; TextInputLayout textInputLayout = (TextInputLayout) view2.findViewById(R.id.enable_two_factor_password_view_input); if (textInputLayout != null) { - return new a5((LinearLayout) view2, linearLayout, textView, materialButton, textView2, linearLayout2, loadingButton, textInputLayout); + return new z4((LinearLayout) view2, linearLayout, textView, materialButton, textView2, linearLayout2, loadingButton, textInputLayout); } } } @@ -145,7 +145,7 @@ public final class r extends AppDialog { m.checkNotNullParameter(error2, "error"); r rVar = this.this$0.i; KProperty[] kPropertyArr = r.i; - rVar.g().f67c.setIsLoading(false); + rVar.g().f199c.setIsLoading(false); Error.Response response = error2.getResponse(); m.checkNotNullExpressionValue(response, "error.response"); if (response.getCode() == 60005) { @@ -173,7 +173,7 @@ public final class r extends AppDialog { TextInputLayout textInputLayout = rVar.g().d; m.checkNotNullExpressionValue(textInputLayout, "binding.enableTwoFactorPasswordViewInput"); String textOrEmpty = ViewExtensions.getTextOrEmpty(textInputLayout); - this.i.g().f67c.setIsLoading(true); + this.i.g().f199c.setIsLoading(true); Observable ui$default = ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(RestAPI.Companion.getApi().enableMFA(new RestAPIParams.EnableMFA("random code", "random secret", textOrEmpty)), false, 1, null), this.i, null, 2, null); a aVar = a.i; ObservableExtensionsKt.appSubscribe$default(ui$default, this.i.getClass(), this.j.getContext(), (Function1) null, new b(this), (Function0) null, (Function0) null, aVar, 52, (Object) null); @@ -201,8 +201,8 @@ public final class r extends AppDialog { super(R.layout.widget_enable_two_factor_password_dialog); } - public final a5 g() { - return (a5) this.k.getValue((Fragment) this, i[0]); + public final z4 g() { + return (z4) this.k.getValue((Fragment) this, i[0]); } @Override // com.discord.app.AppDialog @@ -210,8 +210,8 @@ public final class r extends AppDialog { m.checkNotNullParameter(view, "view"); super.onViewBound(view); setCancelable(false); - g().f67c.setIsLoading(false); - g().f67c.setOnClickListener(new d(this, view)); + g().f199c.setIsLoading(false); + g().f199c.setOnClickListener(new d(this, view)); g().b.setOnClickListener(new e(this)); } } diff --git a/app/src/main/java/c/a/a/s.java b/app/src/main/java/c/a/a/s.java index ac80a67803..1302c30417 100644 --- a/app/src/main/java/c/a/a/s.java +++ b/app/src/main/java/c/a/a/s.java @@ -9,11 +9,7 @@ import androidx.fragment.app.FragmentViewModelLazyKt; import c.a.a.w; import c.a.d.f0; import c.a.d.h0; -import c.a.i.w5; -import c0.z.d.a0; -import c0.z.d.k; -import c0.z.d.m; -import c0.z.d.o; +import c.a.i.v5; import com.discord.R; import com.discord.app.AppDialog; import com.discord.app.AppViewModel; @@ -22,6 +18,10 @@ import com.discord.utilities.rx.ObservableExtensionsKt; import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.discord.views.LoadingButton; +import d0.z.d.a0; +import d0.z.d.k; +import d0.z.d.m; +import d0.z.d.o; import java.util.Objects; import kotlin.Lazy; import kotlin.NoWhenBranchMatchedException; @@ -33,7 +33,7 @@ import kotlin.reflect.KProperty; import rx.subjects.PublishSubject; /* compiled from: WidgetUrgentMessageDialog.kt */ public final class s extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(s.class, "binding", "getBinding()Lcom/discord/databinding/WidgetUrgentMessageDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(s.class, "binding", "getBinding()Lcom/discord/databinding/WidgetUrgentMessageDialogBinding;", 0)}; public static final a j = new a(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, b.i, null, 2, null); public final Lazy l; @@ -45,17 +45,17 @@ public final class s extends AppDialog { } /* compiled from: WidgetUrgentMessageDialog.kt */ - public static final /* synthetic */ class b extends k implements Function1 { + public static final /* synthetic */ class b extends k implements Function1 { public static final b i = new b(); public b() { - super(1, w5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetUrgentMessageDialogBinding;", 0); + super(1, v5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetUrgentMessageDialogBinding;", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 - public w5 invoke(View view) { + public v5 invoke(View view) { View view2 = view; m.checkNotNullParameter(view2, "p1"); int i2 = R.id.view_dialog_confirmation_confirm; @@ -67,7 +67,7 @@ public final class s extends AppDialog { i2 = R.id.view_dialog_confirmation_text; TextView textView2 = (TextView) view2.findViewById(R.id.view_dialog_confirmation_text); if (textView2 != null) { - return new w5((LinearLayout) view2, loadingButton, textView, textView2); + return new v5((LinearLayout) view2, loadingButton, textView, textView2); } } } @@ -93,7 +93,7 @@ public final class s extends AppDialog { m.checkNotNullParameter(dVar2, "viewState"); s sVar = this.this$0; KProperty[] kPropertyArr = s.i; - TextView textView = sVar.g().f184c; + TextView textView = sVar.g().f179c; m.checkNotNullExpressionValue(textView, "binding.viewDialogConfirmationHeader"); textView.setText(sVar.getString(R.string.system_dm_urgent_message_modal_header)); TextView textView2 = sVar.g().d; @@ -127,7 +127,7 @@ public final class s extends AppDialog { Objects.requireNonNull(sVar); if (m.areEqual(bVar2, w.b.a.a)) { sVar.dismiss(); - } else if (m.areEqual(bVar2, w.b.C0020b.a)) { + } else if (m.areEqual(bVar2, w.b.C0019b.a)) { c.a.d.m.g(sVar.getContext(), R.string.internal_server_error, 0, null, 12); } else { throw new NoWhenBranchMatchedException(); @@ -147,7 +147,7 @@ public final class s extends AppDialog { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public AppViewModel mo17invoke() { + public AppViewModel mo1invoke() { return new w(null, null, null, 7); } } @@ -156,11 +156,11 @@ public final class s extends AppDialog { super(R.layout.widget_urgent_message_dialog); e eVar = e.i; f0 f0Var = new f0(this); - this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(w.class), new l(1, f0Var), new h0(eVar)); + this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(w.class), new m(1, f0Var), new h0(eVar)); } - public final w5 g() { - return (w5) this.k.getValue((Fragment) this, i[0]); + public final v5 g() { + return (v5) this.k.getValue((Fragment) this, i[0]); } public final w h() { diff --git a/app/src/main/java/c/a/a/t.java b/app/src/main/java/c/a/a/t.java index 97b2c3c510..2557f13017 100644 --- a/app/src/main/java/c/a/a/t.java +++ b/app/src/main/java/c/a/a/t.java @@ -3,11 +3,11 @@ package c.a.a; import android.content.Context; import android.view.View; import c.a.a.w; -import c0.z.d.m; import com.discord.restapi.RestAPIParams; import com.discord.utilities.channel.ChannelSelector; import com.discord.utilities.rx.ObservableExtensionsKt; import com.discord.utilities.user.UserUtils; +import d0.z.d.m; import java.util.Objects; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; diff --git a/app/src/main/java/c/a/a/u.java b/app/src/main/java/c/a/a/u.java index f9bee346e3..c861ed3977 100644 --- a/app/src/main/java/c/a/a/u.java +++ b/app/src/main/java/c/a/a/u.java @@ -1,9 +1,9 @@ package c.a.a; import c.a.a.w; -import c0.z.d.m; -import c0.z.d.o; import com.discord.models.user.User; +import d0.z.d.m; +import d0.z.d.o; import java.util.Objects; import kotlin.Unit; import kotlin.jvm.functions.Function1; diff --git a/app/src/main/java/c/a/a/v.java b/app/src/main/java/c/a/a/v.java index bdaf810a00..88a8babe2d 100644 --- a/app/src/main/java/c/a/a/v.java +++ b/app/src/main/java/c/a/a/v.java @@ -1,16 +1,16 @@ package c.a.a; import c.a.a.w; -import c0.z.d.m; import com.discord.models.user.MeUser; -import i0.k.b; +import d0.z.d.m; +import j0.k.b; /* compiled from: WidgetUrgentMessageDialogViewModel.kt */ public final class v implements b { public static final v i = new v(); /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // i0.k.b + @Override // j0.k.b public w.c call(MeUser meUser) { MeUser meUser2 = meUser; m.checkNotNullExpressionValue(meUser2, "meUser"); diff --git a/app/src/main/java/c/a/a/w.java b/app/src/main/java/c/a/a/w.java index 5f71e7a8ed..4245ded7cb 100644 --- a/app/src/main/java/c/a/a/w.java +++ b/app/src/main/java/c/a/a/w.java @@ -1,13 +1,13 @@ package c.a.a; import android.content.Context; -import c0.z.d.m; import com.discord.app.AppViewModel; import com.discord.models.user.User; import com.discord.stores.StoreStream; import com.discord.stores.StoreUser; import com.discord.utilities.rest.RestAPI; import com.discord.utilities.rx.ObservableExtensionsKt; +import d0.z.d.m; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.DefaultConstructorMarker; @@ -39,10 +39,10 @@ public final class w extends AppViewModel { /* compiled from: WidgetUrgentMessageDialogViewModel.kt */ /* renamed from: c.a.a.w$b$b reason: collision with other inner class name */ - public static final class C0020b extends b { - public static final C0020b a = new C0020b(); + public static final class C0019b extends b { + public static final C0019b a = new C0019b(); - public C0020b() { + public C0019b() { super(null); } } @@ -79,10 +79,10 @@ public final class w extends AppViewModel { } public String toString() { - StringBuilder O = c.d.b.a.a.O("StoreState(user="); - O.append(this.a); - O.append(")"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("StoreState(user="); + R.append(this.a); + R.append(")"); + return R.toString(); } } @@ -121,10 +121,10 @@ public final class w extends AppViewModel { } public String toString() { - StringBuilder O = c.d.b.a.a.O("ViewState(userFlags="); - O.append(this.a); - O.append(", isBusy="); - return c.d.b.a.a.K(O, this.b, ")"); + StringBuilder R = c.d.b.a.a.R("ViewState(userFlags="); + R.append(this.a); + R.append(", isBusy="); + return c.d.b.a.a.L(R, this.b, ")"); } } diff --git a/app/src/main/java/c/a/a/x.java b/app/src/main/java/c/a/a/x.java index 5c46d80a65..9131742a13 100644 --- a/app/src/main/java/c/a/a/x.java +++ b/app/src/main/java/c/a/a/x.java @@ -1,9 +1,9 @@ package c.a.a; import c.a.a.w; -import c0.z.d.m; -import c0.z.d.o; import com.discord.api.user.User; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; import rx.subjects.PublishSubject; diff --git a/app/src/main/java/c/a/a/y.java b/app/src/main/java/c/a/a/y.java index 9b346d08b7..80ba533181 100644 --- a/app/src/main/java/c/a/a/y.java +++ b/app/src/main/java/c/a/a/y.java @@ -1,9 +1,9 @@ package c.a.a; import c.a.a.w; -import c0.z.d.m; -import c0.z.d.o; import com.discord.utilities.error.Error; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; import rx.subjects.PublishSubject; @@ -23,7 +23,7 @@ public final class y extends o implements Function1 { public Unit invoke(Error error) { m.checkNotNullParameter(error, "it"); PublishSubject publishSubject = this.this$0.j; - publishSubject.j.onNext(w.b.C0020b.a); + publishSubject.j.onNext(w.b.C0019b.a); return Unit.a; } } diff --git a/app/src/main/java/c/a/a/z/a.java b/app/src/main/java/c/a/a/z/a.java index 058963ed90..c08b8f6465 100644 --- a/app/src/main/java/c/a/a/z/a.java +++ b/app/src/main/java/c/a/a/z/a.java @@ -10,9 +10,6 @@ import android.widget.RelativeLayout; import android.widget.TextView; import androidx.fragment.app.Fragment; import c.a.i.p; -import c0.z.d.k; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.api.premium.PremiumTier; import com.discord.api.premium.SubscriptionInterval; @@ -28,6 +25,9 @@ import com.discord.utilities.view.text.LinkifiedTextView; import com.discord.utilities.viewbinding.FragmentViewBindingDelegate; import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.google.android.material.button.MaterialButton; +import d0.z.d.k; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Pair; import kotlin.Unit; import kotlin.jvm.functions.Function0; @@ -36,15 +36,15 @@ import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: GiftPurchasedDialog.kt */ public final class a extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(a.class, "binding", "getBinding()Lcom/discord/databinding/GiftPurchasedDialogBinding;", 0)}; - public static final C0021a j = new C0021a(null); + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(a.class, "binding", "getBinding()Lcom/discord/databinding/GiftPurchasedDialogBinding;", 0)}; + public static final C0020a j = new C0020a(null); public Function0 k; public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, b.i, null, 2, null); /* compiled from: GiftPurchasedDialog.kt */ /* renamed from: c.a.a.z.a$a reason: collision with other inner class name */ - public static final class C0021a { - public C0021a(DefaultConstructorMarker defaultConstructorMarker) { + public static final class C0020a { + public C0020a(DefaultConstructorMarker defaultConstructorMarker) { } } @@ -107,7 +107,7 @@ public final class a extends AppDialog { public final void onClick(View view) { Function0 function0 = this.i.k; if (function0 != null) { - function0.mo17invoke(); + function0.mo1invoke(); } this.i.dismiss(); } @@ -162,7 +162,7 @@ public final class a extends AppDialog { MaterialButton materialButton = aVar.g().d; m.checkNotNullExpressionValue(materialButton, "binding.giftEntitlementCopy"); materialButton.setText(context.getString(R.string.copied)); - this.i.g().f143c.setBackgroundResource(DrawableCompat.getThemedDrawableRes$default(context, (int) R.attr.gift_code_copied_outline, 0, 2, (Object) null)); + this.i.g().f141c.setBackgroundResource(DrawableCompat.getThemedDrawableRes$default(context, (int) R.attr.gift_code_copied_outline, 0, 2, (Object) null)); } } } diff --git a/app/src/main/java/c/a/a/z/b.java b/app/src/main/java/c/a/a/z/b.java index be0edca6c0..8554836841 100644 --- a/app/src/main/java/c/a/a/z/b.java +++ b/app/src/main/java/c/a/a/z/b.java @@ -2,8 +2,8 @@ package c.a.a.z; import android.view.View; import c.a.a.z.a; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; import kotlin.reflect.KProperty; diff --git a/app/src/main/java/c/a/a/z/c.java b/app/src/main/java/c/a/a/z/c.java index 75cd32e5e5..f7ee9ec4c0 100644 --- a/app/src/main/java/c/a/a/z/c.java +++ b/app/src/main/java/c/a/a/z/c.java @@ -10,12 +10,7 @@ import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentActivity; import androidx.fragment.app.FragmentManager; import c.a.d.f; -import c.a.i.h4; -import c0.t.n; -import c0.z.d.a0; -import c0.z.d.k; -import c0.z.d.m; -import c0.z.d.o; +import c.a.i.g4; import com.discord.R; import com.discord.api.application.Application; import com.discord.api.premium.SubscriptionPlan; @@ -41,6 +36,11 @@ import com.discord.widgets.home.WidgetHome; import com.discord.widgets.settings.premium.WidgetSettingsGifting; import com.facebook.drawee.view.SimpleDraweeView; import com.google.android.material.button.MaterialButton; +import d0.t.n; +import d0.z.d.a0; +import d0.z.d.k; +import d0.z.d.m; +import d0.z.d.o; import java.util.Objects; import kotlin.NoWhenBranchMatchedException; import kotlin.Unit; @@ -50,7 +50,7 @@ import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: WidgetGiftAcceptDialog.kt */ public final class c extends AppDialog { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(c.class, "binding", "getBinding()Lcom/discord/databinding/WidgetAcceptGiftDialogBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(c.class, "binding", "getBinding()Lcom/discord/databinding/WidgetAcceptGiftDialogBinding;", 0)}; public static final a j = new a(null); public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, b.i, null, 2, null); @@ -59,13 +59,13 @@ public final class c extends AppDialog { /* compiled from: WidgetGiftAcceptDialog.kt */ /* renamed from: c.a.a.z.c$a$a reason: collision with other inner class name */ - public static final class C0022a extends o implements Function1 { + public static final class C0021a extends o implements Function1 { public final /* synthetic */ long $channelId; public final /* synthetic */ String $giftCode; public final /* synthetic */ String $source; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public C0022a(String str, String str2, long j) { + public C0021a(String str, String str2, long j) { super(1); this.$giftCode = str; this.$source = str2; @@ -97,22 +97,22 @@ public final class c extends AppDialog { m.checkNotNullParameter(str, "giftCode"); m.checkNotNullParameter(str2, "source"); m.checkNotNullParameter(str, "giftCode"); - StoreStream.Companion.getNotices().requestToShow(new StoreNotices.Notice("gift:" + str, null, 0, 0, false, n.listOf((Object[]) new c0.e0.c[]{a0.getOrCreateKotlinClass(WidgetSettingsGifting.class), a0.getOrCreateKotlinClass(WidgetHome.class)}), 0, false, 0, new C0022a(str, str2, j), FontUtils.MAX_FONT_SCALING, null)); + StoreStream.Companion.getNotices().requestToShow(new StoreNotices.Notice("gift:" + str, null, 0, 0, false, n.listOf((Object[]) new d0.e0.c[]{a0.getOrCreateKotlinClass(WidgetSettingsGifting.class), a0.getOrCreateKotlinClass(WidgetHome.class)}), 0, false, 0, new C0021a(str, str2, j), FontUtils.MAX_FONT_SCALING, null)); } } /* compiled from: WidgetGiftAcceptDialog.kt */ - public static final /* synthetic */ class b extends k implements Function1 { + public static final /* synthetic */ class b extends k implements Function1 { public static final b i = new b(); public b() { - super(1, h4.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetAcceptGiftDialogBinding;", 0); + super(1, g4.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetAcceptGiftDialogBinding;", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 - public h4 invoke(View view) { + public g4 invoke(View view) { View view2 = view; m.checkNotNullParameter(view2, "p1"); int i2 = R.id.accept_gift_body_container; @@ -142,7 +142,7 @@ public final class c extends AppDialog { i2 = R.id.accept_gift_progress; ProgressBar progressBar = (ProgressBar) view2.findViewById(R.id.accept_gift_progress); if (progressBar != null) { - return new h4((LinearLayout) view2, linearLayout, simpleDraweeView, textView, materialButton, linearLayout2, linkifiedTextView, appViewFlipper, textView2, progressBar); + return new g4((LinearLayout) view2, linearLayout, simpleDraweeView, textView, materialButton, linearLayout2, linkifiedTextView, appViewFlipper, textView2, progressBar); } } } @@ -158,11 +158,11 @@ public final class c extends AppDialog { /* compiled from: WidgetGiftAcceptDialog.kt */ /* renamed from: c.a.a.z.c$c reason: collision with other inner class name */ - public static final class C0023c extends o implements Function1 { + public static final class C0022c extends o implements Function1 { public final /* synthetic */ c this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public C0023c(c cVar) { + public C0022c(c cVar) { super(1); this.this$0 = cVar; } @@ -218,7 +218,7 @@ public final class c extends AppDialog { str = ""; } CharSequence i2 = cVar2.i(gift); - LinearLayout linearLayout = c.d.b.a.a.p0(c.d.b.a.a.p0(cVar2.h().h, "binding.acceptGiftHeader", gift.isAnyNitroGift() ? c.a.k.b.k(cVar2, R.string.gift_confirmation_header_success_nitro, new Object[]{str}, null, 4) : c.a.k.b.k(cVar2, R.string.gift_confirmation_header_success, new Object[0], null, 4), cVar2).f107c, "binding.acceptGiftBodyText", gift.isNitroClassicGift() ? c.a.k.b.k(cVar2, R.string.gift_confirmation_body_success_nitro_classic_mobile, new Object[]{i2}, null, 4) : gift.isNitroGift() ? c.a.k.b.k(cVar2, R.string.gift_confirmation_body_success_nitro_mobile, new Object[]{i2}, null, 4) : c.a.k.b.k(cVar2, R.string.gift_confirmation_body_success_mobile, new Object[]{str}, null, 4), cVar2).e; + LinearLayout linearLayout = c.d.b.a.a.p0(c.d.b.a.a.p0(cVar2.h().h, "binding.acceptGiftHeader", gift.isAnyNitroGift() ? c.a.k.b.k(cVar2, R.string.gift_confirmation_header_success_nitro, new Object[]{str}, null, 4) : c.a.k.b.k(cVar2, R.string.gift_confirmation_header_success, new Object[0], null, 4), cVar2).f101c, "binding.acceptGiftBodyText", gift.isNitroClassicGift() ? c.a.k.b.k(cVar2, R.string.gift_confirmation_body_success_nitro_classic_mobile, new Object[]{i2}, null, 4) : gift.isNitroGift() ? c.a.k.b.k(cVar2, R.string.gift_confirmation_body_success_nitro_mobile, new Object[]{i2}, null, 4) : c.a.k.b.k(cVar2, R.string.gift_confirmation_body_success_mobile, new Object[]{str}, null, 4), cVar2).e; m.checkNotNullExpressionValue(linearLayout, "binding.acceptGiftDisclaimerContainer"); linearLayout.setVisibility(8); MaterialButton materialButton = cVar2.h().d; @@ -237,7 +237,7 @@ public final class c extends AppDialog { TextView textView = cVar3.h().h; m.checkNotNullExpressionValue(textView, "binding.acceptGiftHeader"); c.a.k.b.n(textView, R.string.gift_confirmation_header_fail, new Object[0], null, 4); - TextView textView2 = cVar3.h().f107c; + TextView textView2 = cVar3.h().f101c; m.checkNotNullExpressionValue(textView2, "binding.acceptGiftBodyText"); c.a.k.b.n(textView2, R.string.gift_confirmation_body_claimed, new Object[0], null, 4); LinearLayout linearLayout2 = cVar3.h().e; @@ -254,7 +254,7 @@ public final class c extends AppDialog { cVar4.g(gift3); ModelStoreListing storeListing2 = gift3.getStoreListing(); String name = (storeListing2 == null || (sku2 = storeListing2.getSku()) == null) ? null : sku2.getName(); - LinearLayout linearLayout3 = c.d.b.a.a.p0(c.d.b.a.a.p0(cVar4.h().h, "binding.acceptGiftHeader", gift3.isAnyNitroGift() ? c.a.k.b.k(cVar4, R.string.gift_confirmation_header_confirm_nitro, new Object[]{name}, null, 4) : c.a.k.b.k(cVar4, R.string.gift_confirmation_header_confirm, new Object[0], null, 4), cVar4).f107c, "binding.acceptGiftBodyText", gift3.isAnyNitroGift() ? c.a.k.b.k(cVar4, R.string.gift_confirmation_body_confirm_nitro, new Object[]{name, cVar4.i(gift3)}, null, 4) : c.a.k.b.k(cVar4, R.string.gift_confirmation_body_confirm, new Object[]{name}, null, 4), cVar4).e; + LinearLayout linearLayout3 = c.d.b.a.a.p0(c.d.b.a.a.p0(cVar4.h().h, "binding.acceptGiftHeader", gift3.isAnyNitroGift() ? c.a.k.b.k(cVar4, R.string.gift_confirmation_header_confirm_nitro, new Object[]{name}, null, 4) : c.a.k.b.k(cVar4, R.string.gift_confirmation_header_confirm, new Object[0], null, 4), cVar4).f101c, "binding.acceptGiftBodyText", gift3.isAnyNitroGift() ? c.a.k.b.k(cVar4, R.string.gift_confirmation_body_confirm_nitro, new Object[]{name, cVar4.i(gift3)}, null, 4) : c.a.k.b.k(cVar4, R.string.gift_confirmation_body_confirm, new Object[]{name}, null, 4), cVar4).e; m.checkNotNullExpressionValue(linearLayout3, "binding.acceptGiftDisclaimerContainer"); if (!gift3.isAnyNitroGift()) { i = 8; @@ -282,7 +282,7 @@ public final class c extends AppDialog { ProgressBar progressBar = cVar5.h().i; m.checkNotNullExpressionValue(progressBar, "binding.acceptGiftProgress"); progressBar.setVisibility(0); - LinearLayout linearLayout4 = c.d.b.a.a.p0(c.d.b.a.a.p0(cVar5.h().h, "binding.acceptGiftHeader", gift4.isAnyNitroGift() ? c.a.k.b.k(cVar5, R.string.gift_confirmation_header_confirm_nitro, new Object[]{name2}, null, 4) : c.a.k.b.k(cVar5, R.string.gift_confirmation_header_confirm, new Object[0], null, 4), cVar5).f107c, "binding.acceptGiftBodyText", gift4.isAnyNitroGift() ? c.a.k.b.k(cVar5, R.string.gift_confirmation_body_confirm_nitro, new Object[]{name2, cVar5.i(gift4)}, null, 4) : c.a.k.b.k(cVar5, R.string.gift_confirmation_body_confirm, new Object[]{name2}, null, 4), cVar5).e; + LinearLayout linearLayout4 = c.d.b.a.a.p0(c.d.b.a.a.p0(cVar5.h().h, "binding.acceptGiftHeader", gift4.isAnyNitroGift() ? c.a.k.b.k(cVar5, R.string.gift_confirmation_header_confirm_nitro, new Object[]{name2}, null, 4) : c.a.k.b.k(cVar5, R.string.gift_confirmation_header_confirm, new Object[0], null, 4), cVar5).f101c, "binding.acceptGiftBodyText", gift4.isAnyNitroGift() ? c.a.k.b.k(cVar5, R.string.gift_confirmation_body_confirm_nitro, new Object[]{name2, cVar5.i(gift4)}, null, 4) : c.a.k.b.k(cVar5, R.string.gift_confirmation_body_confirm, new Object[]{name2}, null, 4), cVar5).e; m.checkNotNullExpressionValue(linearLayout4, "binding.acceptGiftDisclaimerContainer"); if (!gift4.isAnyNitroGift()) { i = 8; @@ -297,11 +297,11 @@ public final class c extends AppDialog { TextView textView3 = cVar6.h().h; m.checkNotNullExpressionValue(textView3, "binding.acceptGiftHeader"); textView3.setText(c.a.k.b.k(cVar6, R.string.gift_confirmation_header_fail, new Object[0], null, 4)); - TextView textView4 = cVar6.h().f107c; + TextView textView4 = cVar6.h().f101c; m.checkNotNullExpressionValue(textView4, "binding.acceptGiftBodyText"); c.a.k.b.n(textView4, R.string.gift_confirmation_body_unknown_error, new Object[0], null, 4); if (redeemedFailed.getCanRetry()) { - TextView textView5 = cVar6.h().f107c; + TextView textView5 = cVar6.h().f101c; m.checkNotNullExpressionValue(textView5, "binding.acceptGiftBodyText"); c.a.k.b.n(textView5, R.string.gift_confirmation_body_unknown_error, new Object[0], null, 4); MaterialButton materialButton5 = cVar6.h().d; @@ -311,17 +311,17 @@ public final class c extends AppDialog { charSequence = context3.getText(R.string.retry); } materialButton5.setText(charSequence); - cVar6.h().d.setOnClickListener(new f(0, redeemedFailed)); + cVar6.h().d.setOnClickListener(new g(0, redeemedFailed)); } else { Integer errorCode = redeemedFailed.getErrorCode(); if (errorCode != null && errorCode.intValue() == 50054) { - cVar6.h().f107c.setText(R.string.gift_confirmation_body_self_gift_no_payment); + cVar6.h().f101c.setText(R.string.gift_confirmation_body_self_gift_no_payment); } else if (errorCode != null && errorCode.intValue() == 100024) { - cVar6.h().f107c.setText(R.string.gift_confirmation_body_error_nitro_upgrade_downgrade); + cVar6.h().f101c.setText(R.string.gift_confirmation_body_error_nitro_upgrade_downgrade); } else if (errorCode != null && errorCode.intValue() == 100022) { - cVar6.h().f107c.setText(R.string.gift_confirmation_body_error_subscription_managed); + cVar6.h().f101c.setText(R.string.gift_confirmation_body_error_subscription_managed); } else if (errorCode != null && errorCode.intValue() == 100025) { - cVar6.h().f107c.setText(R.string.gift_confirmation_body_error_invoice_open); + cVar6.h().f101c.setText(R.string.gift_confirmation_body_error_invoice_open); } MaterialButton materialButton6 = cVar6.h().d; m.checkNotNullExpressionValue(materialButton6, "binding.acceptGiftConfirm"); @@ -330,7 +330,7 @@ public final class c extends AppDialog { charSequence = context4.getText(R.string.gift_confirmation_button_fail); } materialButton6.setText(charSequence); - cVar6.h().d.setOnClickListener(new f(1, cVar6)); + cVar6.h().d.setOnClickListener(new g(1, cVar6)); } } else if ((giftState2 instanceof StoreGifting.GiftState.Invalid) || (giftState2 instanceof StoreGifting.GiftState.LoadFailed) || (giftState2 instanceof StoreGifting.GiftState.Revoking)) { this.this$0.dismiss(); @@ -376,8 +376,8 @@ public final class c extends AppDialog { progressBar.setVisibility(8); } - public final h4 h() { - return (h4) this.k.getValue((Fragment) this, i[0]); + public final g4 h() { + return (g4) this.k.getValue((Fragment) this, i[0]); } public final CharSequence i(ModelGift modelGift) { @@ -437,6 +437,6 @@ public final class c extends AppDialog { LinkifiedTextView linkifiedTextView = h().f; m.checkNotNullExpressionValue(linkifiedTextView, "binding.acceptGiftDisclaimerText"); c.a.k.b.n(linkifiedTextView, R.string.gift_confirmation_body_confirm_nitro_disclaimer, new Object[]{f.a.a(360055386693L, null)}, null, 4); - ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(StoreStream.Companion.getGifting().requestGift(string), this, null, 2, null), c.class, (Context) null, (Function1) null, new C0023c(this), (Function0) null, (Function0) null, new d(this), 54, (Object) null); + ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(StoreStream.Companion.getGifting().requestGift(string), this, null, 2, null), c.class, (Context) null, (Function1) null, new C0022c(this), (Function0) null, (Function0) null, new d(this), 54, (Object) null); } } diff --git a/app/src/main/java/c/a/b/a.java b/app/src/main/java/c/a/b/a.java index bba7663bc9..4e995554dc 100644 --- a/app/src/main/java/c/a/b/a.java +++ b/app/src/main/java/c/a/b/a.java @@ -1,10 +1,6 @@ package c.a.b; import c.i.d.e; -import c0.o; -import c0.t.h0; -import c0.t.n; -import c0.z.d.m; import com.discord.api.activity.ActivityPlatform; import com.discord.api.activity.ActivityPlatformTypeAdapter; import com.discord.api.activity.ActivityType; @@ -69,68 +65,70 @@ import com.discord.api.user.PhoneTypeAdapter; import com.discord.api.utcdatetime.UtcDateTime; import com.discord.api.utcdatetime.UtcDateTimeTypeAdapter; import com.discord.nullserializable.NullSerializableTypeAdapterFactory; +import d0.o; +import d0.t.h0; +import d0.t.n; +import d0.z.d.m; import java.util.List; import java.util.Map; import kotlin.jvm.functions.Function0; /* compiled from: TypeAdapterRegistrar.kt */ public final class a { - public static final Map, Function0> a = h0.mapOf(o.to(ActivityPlatform.class, b.i), o.to(ApplicationStatus.class, C0024a.C), o.to(UtcDateTime.class, C0024a.F), o.to(NsfwAllowance.class, C0024a.G), o.to(PremiumTier.class, C0024a.H), o.to(ActivityType.class, C0024a.I), o.to(Phone.class, C0024a.J), o.to(ApplicationCommandType.class, C0024a.K), o.to(OAuthScope.class, C0024a.L), o.to(GuildVerificationLevel.class, C0024a.i), o.to(GuildExplicitContentFilter.class, C0024a.j), o.to(GuildMaxVideoChannelUsers.class, C0024a.k), o.to(ComponentType.class, C0024a.l), o.to(ButtonStyle.class, C0024a.m), o.to(ReportNodeChild.class, C0024a.n), o.to(ReportNodeElementData.class, C0024a.o), o.to(ReportNodeBottomButton.class, C0024a.p), o.to(ApplicationCommandPermissionType.class, C0024a.q), o.to(StageInstancePrivacyLevel.class, C0024a.f41r), o.to(FriendSuggestionReasonType.class, C0024a.s), o.to(AllowedInSuggestionsType.class, C0024a.t), o.to(StickerFormatType.class, C0024a.u), o.to(LocalizedString.class, C0024a.v), o.to(MessageActivityType.class, C0024a.f42w), o.to(EmbedType.class, C0024a.f43x), o.to(StickerType.class, C0024a.f44y), o.to(GuildScheduledEventStatus.class, C0024a.f45z), o.to(GuildScheduledEventEntityType.class, C0024a.A), o.to(Science.Event.SchemaObject.class, C0024a.B), o.to(GuildRoleSubscriptionBenefitType.class, C0024a.D), o.to(PriceTierType.class, C0024a.E)); + public static final Map, Function0> a = h0.mapOf(o.to(ActivityPlatform.class, b.i), o.to(ApplicationStatus.class, C0023a.C), o.to(UtcDateTime.class, C0023a.F), o.to(NsfwAllowance.class, C0023a.G), o.to(PremiumTier.class, C0023a.H), o.to(ActivityType.class, C0023a.I), o.to(Phone.class, C0023a.J), o.to(ApplicationCommandType.class, C0023a.K), o.to(OAuthScope.class, C0023a.L), o.to(GuildVerificationLevel.class, C0023a.i), o.to(GuildExplicitContentFilter.class, C0023a.j), o.to(GuildMaxVideoChannelUsers.class, C0023a.k), o.to(ComponentType.class, C0023a.l), o.to(ButtonStyle.class, C0023a.m), o.to(ReportNodeChild.class, C0023a.n), o.to(ReportNodeElementData.class, C0023a.o), o.to(ReportNodeBottomButton.class, C0023a.p), o.to(ApplicationCommandPermissionType.class, C0023a.q), o.to(StageInstancePrivacyLevel.class, C0023a.r), o.to(FriendSuggestionReasonType.class, C0023a.f41s), o.to(AllowedInSuggestionsType.class, C0023a.t), o.to(StickerFormatType.class, C0023a.u), o.to(LocalizedString.class, C0023a.v), o.to(MessageActivityType.class, C0023a.w), o.to(EmbedType.class, C0023a.f42x), o.to(StickerType.class, C0023a.f43y), o.to(GuildScheduledEventStatus.class, C0023a.f44z), o.to(GuildScheduledEventEntityType.class, C0023a.A), o.to(Science.Event.SchemaObject.class, C0023a.B), o.to(GuildRoleSubscriptionBenefitType.class, C0023a.D), o.to(PriceTierType.class, C0023a.E)); public static final List b = n.listOf((Object[]) new c.i.d.o[]{ComponentRuntimeTypeAdapter.INSTANCE.a(), new NullSerializableTypeAdapterFactory()}); /* compiled from: kotlin-style lambda group */ /* renamed from: c.a.b.a$a reason: collision with other inner class name */ - public static final class C0024a extends c0.z.d.o implements Function0 { - public static final C0024a A = new C0024a(18); - public static final C0024a B = new C0024a(19); - public static final C0024a C = new C0024a(20); - public static final C0024a D = new C0024a(21); - public static final C0024a E = new C0024a(22); - public static final C0024a F = new C0024a(23); - public static final C0024a G = new C0024a(24); - public static final C0024a H = new C0024a(25); - public static final C0024a I = new C0024a(26); - public static final C0024a J = new C0024a(27); - public static final C0024a K = new C0024a(28); - public static final C0024a L = new C0024a(29); - public static final C0024a i = new C0024a(0); - public static final C0024a j = new C0024a(1); - public static final C0024a k = new C0024a(2); - public static final C0024a l = new C0024a(3); - public static final C0024a m = new C0024a(4); - public static final C0024a n = new C0024a(5); - public static final C0024a o = new C0024a(6); - public static final C0024a p = new C0024a(7); - public static final C0024a q = new C0024a(8); + public static final class C0023a extends d0.z.d.o implements Function0 { + public static final C0023a A = new C0023a(18); + public static final C0023a B = new C0023a(19); + public static final C0023a C = new C0023a(20); + public static final C0023a D = new C0023a(21); + public static final C0023a E = new C0023a(22); + public static final C0023a F = new C0023a(23); + public static final C0023a G = new C0023a(24); + public static final C0023a H = new C0023a(25); + public static final C0023a I = new C0023a(26); + public static final C0023a J = new C0023a(27); + public static final C0023a K = new C0023a(28); + public static final C0023a L = new C0023a(29); + public static final C0023a i = new C0023a(0); + public static final C0023a j = new C0023a(1); + public static final C0023a k = new C0023a(2); + public static final C0023a l = new C0023a(3); + public static final C0023a m = new C0023a(4); + public static final C0023a n = new C0023a(5); + public static final C0023a o = new C0023a(6); + public static final C0023a p = new C0023a(7); + public static final C0023a q = new C0023a(8); + public static final C0023a r = new C0023a(9); - /* renamed from: r reason: collision with root package name */ - public static final C0024a f41r = new C0024a(9); - public static final C0024a s = new C0024a(10); - public static final C0024a t = new C0024a(11); - public static final C0024a u = new C0024a(12); - public static final C0024a v = new C0024a(13); - - /* renamed from: w reason: collision with root package name */ - public static final C0024a f42w = new C0024a(14); + /* renamed from: s reason: collision with root package name */ + public static final C0023a f41s = new C0023a(10); + public static final C0023a t = new C0023a(11); + public static final C0023a u = new C0023a(12); + public static final C0023a v = new C0023a(13); + public static final C0023a w = new C0023a(14); /* renamed from: x reason: collision with root package name */ - public static final C0024a f43x = new C0024a(15); + public static final C0023a f42x = new C0023a(15); /* renamed from: y reason: collision with root package name */ - public static final C0024a f44y = new C0024a(16); + public static final C0023a f43y = new C0023a(16); /* renamed from: z reason: collision with root package name */ - public static final C0024a f45z = new C0024a(17); + public static final C0023a f44z = new C0023a(17); public final /* synthetic */ int M; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public C0024a(int i2) { + public C0023a(int i2) { super(0); this.M = i2; } @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public final Object mo17invoke() { + public final Object mo1invoke() { switch (this.M) { case 0: return new GuildVerificationLevelTypeAdapter(); @@ -199,7 +197,7 @@ public final class a { } /* compiled from: TypeAdapterRegistrar.kt */ - public static final class b extends c0.z.d.o implements Function0 { + public static final class b extends d0.z.d.o implements Function0 { public static final b i = new b(); public b() { @@ -209,7 +207,7 @@ public final class a { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public ActivityPlatformTypeAdapter mo17invoke() { + public ActivityPlatformTypeAdapter mo1invoke() { return new ActivityPlatformTypeAdapter(); } } @@ -217,7 +215,7 @@ public final class a { public static final e a(e eVar) { m.checkNotNullParameter(eVar, "$this$registerDiscordApiTypeAdapters"); for (Map.Entry, Function0> entry : a.entrySet()) { - eVar.b(entry.getKey(), entry.getValue().mo17invoke()); + eVar.b(entry.getKey(), entry.getValue().mo1invoke()); } m.checkNotNullParameter(eVar, "$this$registerDiscordApiTypeAdapterFactories"); for (c.i.d.o oVar : b) { diff --git a/app/src/main/java/c/a/d/a.java b/app/src/main/java/c/a/d/a.java index ad1c6fe499..7d8eacd143 100644 --- a/app/src/main/java/c/a/d/a.java +++ b/app/src/main/java/c/a/d/a.java @@ -1,6 +1,6 @@ package c.a.d; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function3; import rx.functions.Action3; /* compiled from: App.kt */ diff --git a/app/src/main/java/c/a/d/a0.java b/app/src/main/java/c/a/d/a0.java index 3ad7facf23..4df7db802a 100644 --- a/app/src/main/java/c/a/d/a0.java +++ b/app/src/main/java/c/a/d/a0.java @@ -14,7 +14,7 @@ public final class a0 implements Observable.c { this.k = function13; } - @Override // i0.k.b + @Override // j0.k.b public Object call(Object obj) { return ((Observable) obj).Y(new z(this)); } diff --git a/app/src/main/java/c/a/d/b.java b/app/src/main/java/c/a/d/b.java index e80e2999df..6f0c13c9ef 100644 --- a/app/src/main/java/c/a/d/b.java +++ b/app/src/main/java/c/a/d/b.java @@ -10,12 +10,12 @@ public final class b implements Toolbar.OnMenuItemClickListener { public final /* synthetic */ Action2 b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ Action1 f46c; + public final /* synthetic */ Action1 f45c; public b(Toolbar toolbar, int i, Action2 action2, Action1 action1) { this.a = toolbar; this.b = action2; - this.f46c = action1; + this.f45c = action1; } @Override // androidx.appcompat.widget.Toolbar.OnMenuItemClickListener diff --git a/app/src/main/java/c/a/d/b0.java b/app/src/main/java/c/a/d/b0.java index 4d7181b8a2..5409965b06 100644 --- a/app/src/main/java/c/a/d/b0.java +++ b/app/src/main/java/c/a/d/b0.java @@ -1,8 +1,8 @@ package c.a.d; -import c0.z.d.m; -import c0.z.d.o; -import i0.l.e.j; +import d0.z.d.m; +import d0.z.d.o; +import j0.l.e.j; import kotlin.jvm.functions.Function1; import rx.Observable; /* compiled from: AppTransformers.kt */ diff --git a/app/src/main/java/c/a/d/c.java b/app/src/main/java/c/a/d/c.java index 0afcd6cb55..f1b6e215fb 100644 --- a/app/src/main/java/c/a/d/c.java +++ b/app/src/main/java/c/a/d/c.java @@ -1,8 +1,8 @@ package c.a.d; import android.util.TypedValue; -import c0.z.d.o; import com.discord.app.AppActivity; +import d0.z.d.o; import kotlin.jvm.functions.Function2; /* compiled from: AppActivity.kt */ public final class c extends o implements Function2 { diff --git a/app/src/main/java/c/a/d/c0.java b/app/src/main/java/c/a/d/c0.java index 5b71e9ebc8..460626c658 100644 --- a/app/src/main/java/c/a/d/c0.java +++ b/app/src/main/java/c/a/d/c0.java @@ -1,6 +1,6 @@ package c.a.d; -import c0.z.d.o; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; import rx.functions.Action1; diff --git a/app/src/main/java/c/a/d/d.java b/app/src/main/java/c/a/d/d.java index c1edd798ac..8eff2b634e 100644 --- a/app/src/main/java/c/a/d/d.java +++ b/app/src/main/java/c/a/d/d.java @@ -1,7 +1,7 @@ package c.a.d; -import c0.z.d.m; import com.discord.app.AppTransitionActivity; +import d0.z.d.m; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; @@ -28,7 +28,7 @@ public abstract class d extends AppTransitionActivity { Iterator it2 = values2.iterator(); while (true) { if (it2.hasNext()) { - if (((Boolean) ((Function0) it2.next()).mo17invoke()).booleanValue()) { + if (((Boolean) ((Function0) it2.next()).mo1invoke()).booleanValue()) { z2 = true; break loop0; } diff --git a/app/src/main/java/c/a/d/d0.java b/app/src/main/java/c/a/d/d0.java index bd13911a5b..db9cc4cb9a 100644 --- a/app/src/main/java/c/a/d/d0.java +++ b/app/src/main/java/c/a/d/d0.java @@ -2,7 +2,7 @@ package c.a.d; import androidx.lifecycle.ViewModel; import androidx.lifecycle.ViewModelProvider; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: AppViewModelDelegates.kt */ public final class d0 implements ViewModelProvider.Factory { public final /* synthetic */ e0 a; @@ -14,6 +14,6 @@ public final class d0 implements ViewModelProvider.Factory { @Override // androidx.lifecycle.ViewModelProvider.Factory public T create(Class cls) { m.checkNotNullParameter(cls, "modelClass"); - return (T) ((ViewModel) this.a.$viewModelProducer.mo17invoke()); + return (T) ((ViewModel) this.a.$viewModelProducer.mo1invoke()); } } diff --git a/app/src/main/java/c/a/d/e.java b/app/src/main/java/c/a/d/e.java index 61f5103e54..1aaf78d74f 100644 --- a/app/src/main/java/c/a/d/e.java +++ b/app/src/main/java/c/a/d/e.java @@ -1,10 +1,10 @@ package c.a.d; import c.a.k.b; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.app.AppFragment; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: AppFragment.kt */ diff --git a/app/src/main/java/c/a/d/e0.java b/app/src/main/java/c/a/d/e0.java index f1ca786a63..7e87501677 100644 --- a/app/src/main/java/c/a/d/e0.java +++ b/app/src/main/java/c/a/d/e0.java @@ -1,7 +1,7 @@ package c.a.d; import androidx.lifecycle.ViewModelProvider; -import c0.z.d.o; +import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: AppViewModelDelegates.kt */ public final class e0 extends o implements Function0 { @@ -16,7 +16,7 @@ public final class e0 extends o implements Function0 /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public ViewModelProvider.Factory mo17invoke() { + public ViewModelProvider.Factory mo1invoke() { return new d0(this); } } diff --git a/app/src/main/java/c/a/d/f.java b/app/src/main/java/c/a/d/f.java index 00c98759ac..b518d778f7 100644 --- a/app/src/main/java/c/a/d/f.java +++ b/app/src/main/java/c/a/d/f.java @@ -2,40 +2,40 @@ package c.a.d; import android.annotation.SuppressLint; import c.d.b.a.a; -import c0.z.d.m; import com.discord.stores.StoreStream; import com.discord.widgets.chat.input.MentionUtilsKt; +import d0.z.d.m; import java.util.Objects; /* compiled from: AppHelpDesk.kt */ public final class f { public static final f a = new f(); public static final String c() { - StringBuilder S = a.S("https://support.discord.com", "/hc/"); + StringBuilder V = a.V("https://support.discord.com", "/hc/"); String locale = StoreStream.Companion.getUserSettingsSystem().getLocale(); Objects.requireNonNull(locale, "null cannot be cast to non-null type java.lang.String"); String lowerCase = locale.toLowerCase(); m.checkNotNullExpressionValue(lowerCase, "(this as java.lang.String).toLowerCase()"); - S.append(lowerCase); - S.append("/requests/new"); - return S.toString(); + V.append(lowerCase); + V.append("/requests/new"); + return V.toString(); } public final String a(long j, String str) { if (str != null) { - StringBuilder S = a.S("https://support.discord.com", "/hc/"); - S.append(b()); - S.append("/articles/"); - S.append(j); - S.append(MentionUtilsKt.CHANNELS_CHAR); - S.append(str); - return S.toString(); + StringBuilder V = a.V("https://support.discord.com", "/hc/"); + V.append(b()); + V.append("/articles/"); + V.append(j); + V.append(MentionUtilsKt.CHANNELS_CHAR); + V.append(str); + return V.toString(); } - StringBuilder S2 = a.S("https://support.discord.com", "/hc/"); - S2.append(b()); - S2.append("/articles/"); - S2.append(j); - return S2.toString(); + StringBuilder V2 = a.V("https://support.discord.com", "/hc/"); + V2.append(b()); + V2.append("/articles/"); + V2.append(j); + return V2.toString(); } @SuppressLint({"DefaultLocale"}) diff --git a/app/src/main/java/c/a/d/f0.java b/app/src/main/java/c/a/d/f0.java index d7113d1b94..204b728cd7 100644 --- a/app/src/main/java/c/a/d/f0.java +++ b/app/src/main/java/c/a/d/f0.java @@ -1,7 +1,7 @@ package c.a.d; import androidx.fragment.app.Fragment; -import c0.z.d.o; +import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: AppViewModelDelegates.kt */ public final class f0 extends o implements Function0 { @@ -16,7 +16,7 @@ public final class f0 extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Fragment mo17invoke() { + public Fragment mo1invoke() { return this.$this_appViewModels; } } diff --git a/app/src/main/java/c/a/d/g.java b/app/src/main/java/c/a/d/g.java index 670a10a44c..6eebbfe6e5 100644 --- a/app/src/main/java/c/a/d/g.java +++ b/app/src/main/java/c/a/d/g.java @@ -1,9 +1,9 @@ package c.a.d; -import c0.z.d.m; -import c0.z.d.o; import com.discord.app.AppLog; import com.discord.utilities.logging.Logger; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function3; /* compiled from: AppLog.kt */ diff --git a/app/src/main/java/c/a/d/g0.java b/app/src/main/java/c/a/d/g0.java index 61136eba2e..bc0c19e6d7 100644 --- a/app/src/main/java/c/a/d/g0.java +++ b/app/src/main/java/c/a/d/g0.java @@ -2,7 +2,7 @@ package c.a.d; import androidx.lifecycle.ViewModel; import androidx.lifecycle.ViewModelProvider; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: AppViewModelDelegates.kt */ public final class g0 implements ViewModelProvider.Factory { public final /* synthetic */ h0 a; @@ -14,6 +14,6 @@ public final class g0 implements ViewModelProvider.Factory { @Override // androidx.lifecycle.ViewModelProvider.Factory public T create(Class cls) { m.checkNotNullParameter(cls, "modelClass"); - return (T) ((ViewModel) this.a.$viewModelProducer.mo17invoke()); + return (T) ((ViewModel) this.a.$viewModelProducer.mo1invoke()); } } diff --git a/app/src/main/java/c/a/d/h.java b/app/src/main/java/c/a/d/h.java index ae4f1754a2..06214c4a30 100644 --- a/app/src/main/java/c/a/d/h.java +++ b/app/src/main/java/c/a/d/h.java @@ -8,12 +8,12 @@ import androidx.activity.result.contract.ActivityResultContracts; import androidx.annotation.MainThread; import androidx.appcompat.widget.ActivityChooserModel; import androidx.core.content.ContextCompat; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.app.AppPermissionsRequests; import com.discord.stores.StoreStream; import com.discord.utilities.time.ClockFactory; +import d0.z.d.m; +import d0.z.d.o; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; @@ -59,7 +59,7 @@ public final class h implements AppPermissionsRequests { } else { Function0 function0 = this.a.k; if (function0 != null) { - function0.mo17invoke(); + function0.mo1invoke(); } } h hVar = this.a; @@ -87,7 +87,7 @@ public final class h implements AppPermissionsRequests { public Unit invoke(Map map) { m.checkNotNullParameter(map, "it"); Function0 function0 = this.$onFailure; - if (function0 == null || ((Unit) function0.mo17invoke()) == null) { + if (function0 == null || ((Unit) function0.mo1invoke()) == null) { h.a(this.this$0, R.string.permission_qr_scanner_denied); } return Unit.a; @@ -109,7 +109,7 @@ public final class h implements AppPermissionsRequests { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Map map) { m.checkNotNullParameter(map, "it"); - this.$onFailure.mo17invoke(); + this.$onFailure.mo1invoke(); return Unit.a; } } @@ -169,24 +169,24 @@ public final class h implements AppPermissionsRequests { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { if (!this.$hadPermissions) { StoreStream.Companion.getMediaEngine().handleMicrophonePermissionGranted(); } StoreStream.Companion.getMediaEngine().setAudioInputEnabled(true); - this.$onSuccess.mo17invoke(); + this.$onSuccess.mo1invoke(); return Unit.a; } } /* compiled from: AppPermissions.kt */ /* renamed from: c.a.d.h$h reason: collision with other inner class name */ - public static final class C0025h extends o implements Function1, Unit> { + public static final class C0024h extends o implements Function1, Unit> { public final /* synthetic */ Function0 $onFailure; public final /* synthetic */ h this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public C0025h(h hVar, Function0 function0) { + public C0024h(h hVar, Function0 function0) { super(1); this.this$0 = hVar; this.$onFailure = function0; @@ -198,7 +198,7 @@ public final class h implements AppPermissionsRequests { public Unit invoke(Map map) { m.checkNotNullParameter(map, "it"); Function0 function0 = this.$onFailure; - if (function0 == null || ((Unit) function0.mo17invoke()) == null) { + if (function0 == null || ((Unit) function0.mo1invoke()) == null) { h.a(this.this$0, R.string.permission_microphone_denied); } return Unit.a; @@ -307,7 +307,7 @@ public final class h implements AppPermissionsRequests { if (strArr != null) { m.checkNotNullExpressionValue(strArr, "PERMISSION_GROUPS[requestCode] ?: return"); if (b(i2)) { - function0.mo17invoke(); + function0.mo1invoke(); return; } if (!(ClockFactory.get().currentTimeMillis() - this.m < 350)) { @@ -365,7 +365,7 @@ public final class h implements AppPermissionsRequests { @MainThread public void requestMicrophone(Function0 function0, Function0 function02) { m.checkNotNullParameter(function02, "onSuccess"); - c(211, new g(b(211), function02), new C0025h(this, function0)); + c(211, new g(b(211), function02), new C0024h(this, function0)); } @Override // com.discord.app.AppPermissionsRequests diff --git a/app/src/main/java/c/a/d/h0.java b/app/src/main/java/c/a/d/h0.java index c092b9fd4c..fcd9720476 100644 --- a/app/src/main/java/c/a/d/h0.java +++ b/app/src/main/java/c/a/d/h0.java @@ -1,7 +1,7 @@ package c.a.d; import androidx.lifecycle.ViewModelProvider; -import c0.z.d.o; +import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: AppViewModelDelegates.kt */ public final class h0 extends o implements Function0 { @@ -16,7 +16,7 @@ public final class h0 extends o implements Function0 /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public ViewModelProvider.Factory mo17invoke() { + public ViewModelProvider.Factory mo1invoke() { return new g0(this); } } diff --git a/app/src/main/java/c/a/d/i0.java b/app/src/main/java/c/a/d/i0.java index 01ddfc43c1..0c4e82b58e 100644 --- a/app/src/main/java/c/a/d/i0.java +++ b/app/src/main/java/c/a/d/i0.java @@ -1,13 +1,13 @@ package c.a.d; -import i0.k.b; +import j0.k.b; /* compiled from: DiscordConnectService.kt */ public final class i0 implements b { public static final i0 i = new i0(); /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // i0.k.b + @Override // j0.k.b public Boolean call(Boolean bool) { return bool; } diff --git a/app/src/main/java/c/a/d/j.java b/app/src/main/java/c/a/d/j.java index 61fb455e23..3e943a6b21 100644 --- a/app/src/main/java/c/a/d/j.java +++ b/app/src/main/java/c/a/d/j.java @@ -9,10 +9,6 @@ import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentTransaction; import c.c.a.a0.d; -import c0.e0.c; -import c0.t.m; -import c0.t.n; -import c0.z.d.a0; import com.discord.app.AppActivity; import com.discord.app.AppComponent; import com.discord.app.AppFragment; @@ -81,6 +77,10 @@ import com.discord.widgets.user.email.WidgetUserEmailUpdate; import com.discord.widgets.user.email.WidgetUserEmailVerify; import com.discord.widgets.user.phone.WidgetUserPhoneManage; import com.discord.widgets.user.phone.WidgetUserPhoneVerify; +import d0.e0.c; +import d0.t.m; +import d0.t.n; +import d0.z.d.a0; import java.util.List; /* compiled from: AppScreen.kt */ public final class j { @@ -88,7 +88,7 @@ public final class j { public static final List> b = m.listOf(a0.getOrCreateKotlinClass(WidgetAgeVerify.class)); /* renamed from: c reason: collision with root package name */ - public static final List> f47c = n.listOf((Object[]) new c[]{a0.getOrCreateKotlinClass(WidgetOauth2Authorize.class), a0.getOrCreateKotlinClass(WidgetOauth2AuthorizeSamsung.class)}); + public static final List> f46c = n.listOf((Object[]) new c[]{a0.getOrCreateKotlinClass(WidgetOauth2Authorize.class), a0.getOrCreateKotlinClass(WidgetOauth2AuthorizeSamsung.class)}); public static final List> d = n.listOf((Object[]) new c[]{a0.getOrCreateKotlinClass(WidgetSettingsAccount.class), a0.getOrCreateKotlinClass(WidgetSettingsAccountBackupCodes.class), a0.getOrCreateKotlinClass(WidgetSettingsAccountChangePassword.class), a0.getOrCreateKotlinClass(WidgetSettingsAccountUsernameEdit.class), a0.getOrCreateKotlinClass(WidgetSettingsAccountEmailEdit.class), a0.getOrCreateKotlinClass(WidgetUserPasswordVerify.class), a0.getOrCreateKotlinClass(WidgetEnableMFASteps.class), a0.getOrCreateKotlinClass(WidgetSettingsAppearance.class), a0.getOrCreateKotlinClass(WidgetSettingsBehavior.class), a0.getOrCreateKotlinClass(WidgetSettingsLanguage.class), a0.getOrCreateKotlinClass(WidgetSettingsMedia.class), a0.getOrCreateKotlinClass(WidgetSettingsPremium.class), a0.getOrCreateKotlinClass(WidgetSettingsNotifications.class), a0.getOrCreateKotlinClass(WidgetSettingsUserConnections.class), a0.getOrCreateKotlinClass(WidgetSettingsVoice.class), a0.getOrCreateKotlinClass(WidgetSettingsPrivacy.class), a0.getOrCreateKotlinClass(WidgetSettingsAuthorizedApps.class), a0.getOrCreateKotlinClass(WidgetServerNotifications.class), a0.getOrCreateKotlinClass(WidgetServerSettingsOverview.class), a0.getOrCreateKotlinClass(WidgetServerSettingsChannels.class), a0.getOrCreateKotlinClass(WidgetServerSettingsEditMember.class), a0.getOrCreateKotlinClass(WidgetServerSettingsEditRole.class), a0.getOrCreateKotlinClass(WidgetServerSettingsIntegrations.class), a0.getOrCreateKotlinClass(WidgetServerSettingsModeration.class), a0.getOrCreateKotlinClass(WidgetServerSettingsVanityUrl.class), a0.getOrCreateKotlinClass(WidgetServerSettingsSecurity.class), a0.getOrCreateKotlinClass(WidgetServerSettingsMembers.class), a0.getOrCreateKotlinClass(WidgetServerSettingsEmojis.class), a0.getOrCreateKotlinClass(WidgetServerSettingsEmojisEdit.class), a0.getOrCreateKotlinClass(WidgetServerSettingsRoles.class), a0.getOrCreateKotlinClass(WidgetServerSettingsInstantInvites.class), a0.getOrCreateKotlinClass(WidgetServerSettingsBans.class), a0.getOrCreateKotlinClass(WidgetChannelSettingsEditPermissions.class), a0.getOrCreateKotlinClass(WidgetChannelSettingsPermissionsOverview.class), a0.getOrCreateKotlinClass(WidgetAuthRegisterIdentity.class), a0.getOrCreateKotlinClass(WidgetAuthRegisterAccountInformation.class), a0.getOrCreateKotlinClass(WidgetAuthBirthday.class), a0.getOrCreateKotlinClass(WidgetAuthAgeGated.class), a0.getOrCreateKotlinClass(WidgetAuthLogin.class), a0.getOrCreateKotlinClass(WidgetAuthPhoneVerify.class), a0.getOrCreateKotlinClass(WidgetAuthResetPassword.class), a0.getOrCreateKotlinClass(WidgetSettingsDeveloper.class), a0.getOrCreateKotlinClass(WidgetSettingsBlockedUsers.class), a0.getOrCreateKotlinClass(WidgetNuxChannelPrompt.class), a0.getOrCreateKotlinClass(WidgetChoosePlan.class), a0.getOrCreateKotlinClass(WidgetServerSettingsCommunityOverview.class), a0.getOrCreateKotlinClass(WidgetServerSettingsEnableCommunitySteps.class), a0.getOrCreateKotlinClass(WidgetGuildScheduledEventSettings.class)}); public static final List> e = n.listOf((Object[]) new c[]{a0.getOrCreateKotlinClass(WidgetUserAccountVerify.class), a0.getOrCreateKotlinClass(WidgetUserEmailVerify.class), a0.getOrCreateKotlinClass(WidgetUserEmailUpdate.class), a0.getOrCreateKotlinClass(WidgetUserPhoneManage.class), a0.getOrCreateKotlinClass(WidgetUserPhoneVerify.class), a0.getOrCreateKotlinClass(WidgetUserPasswordVerify.class)}); public static final List> f = m.listOf(a0.getOrCreateKotlinClass(WidgetTabsHost.class)); @@ -96,7 +96,7 @@ public final class j { public static final void b(Context context, boolean z2, Intent intent) { Class cls; - c0.z.d.m.checkNotNullParameter(context, "context"); + d0.z.d.m.checkNotNullParameter(context, "context"); if (z2) { StoreTabsNavigation.selectHomeTab$default(StoreStream.Companion.getTabsNavigation(), intent != null ? intent.getBooleanExtra("com.discord.intent.extra.EXTRA_OPEN_PANEL", false) : false ? StoreNavigation.PanelAction.OPEN : StoreNavigation.PanelAction.CLOSE, false, 2, null); cls = WidgetTabsHost.class; @@ -117,23 +117,23 @@ public final class j { } public static final void d(Context context, Class cls, Parcelable parcelable) { - c0.z.d.m.checkNotNullParameter(context, "context"); - c0.z.d.m.checkNotNullParameter(cls, "screen"); + d0.z.d.m.checkNotNullParameter(context, "context"); + d0.z.d.m.checkNotNullParameter(cls, "screen"); Intent intent = null; Intent intent2 = (Intent) (!(parcelable instanceof Intent) ? null : parcelable); if (intent2 != null) { intent = intent2; } else if (parcelable != null) { - intent = d.f2(parcelable); + intent = d.e2(parcelable); } AppLog appLog = AppLog.g; String simpleName = context.getClass().getSimpleName(); - c0.z.d.m.checkNotNullExpressionValue(simpleName, "javaClass.simpleName"); + d0.z.d.m.checkNotNullExpressionValue(simpleName, "javaClass.simpleName"); String simpleName2 = cls.getSimpleName(); - c0.z.d.m.checkNotNullExpressionValue(simpleName2, "screen.simpleName"); + d0.z.d.m.checkNotNullExpressionValue(simpleName2, "screen.simpleName"); appLog.f(simpleName, simpleName2); Intent putExtra = (intent != null ? new Intent(intent) : new Intent()).setClass(context, AppActivity.class).putExtra("com.discord.intent.extra.EXTRA_SCREEN", cls); - c0.z.d.m.checkNotNullExpressionValue(putExtra, "if (extras != null) {\n …nts.EXTRA_SCREEN, screen)"); + d0.z.d.m.checkNotNullExpressionValue(putExtra, "if (extras != null) {\n …nts.EXTRA_SCREEN, screen)"); context.startActivity(putExtra); } @@ -153,21 +153,21 @@ public final class j { if ((i2 & 64) != 0) { parcelable = null; } - c0.z.d.m.checkNotNullParameter(context, "context"); - c0.z.d.m.checkNotNullParameter(cls, "screen"); + d0.z.d.m.checkNotNullParameter(context, "context"); + d0.z.d.m.checkNotNullParameter(cls, "screen"); if (fragmentManager != null) { FragmentTransaction beginTransaction = fragmentManager.beginTransaction(); - c0.z.d.m.checkNotNullExpressionValue(beginTransaction, "fragmentManager.beginTransaction()"); + d0.z.d.m.checkNotNullExpressionValue(beginTransaction, "fragmentManager.beginTransaction()"); Fragment instantiate = Fragment.instantiate(context, cls.getName()); if (parcelable != null) { - c0.z.d.m.checkNotNullExpressionValue(instantiate, "fragment"); + d0.z.d.m.checkNotNullExpressionValue(instantiate, "fragment"); Bundle bundle = (Bundle) (!(parcelable instanceof Bundle) ? null : parcelable); if (bundle == null) { - bundle = d.d2(parcelable); + bundle = d.c2(parcelable); } instantiate.setArguments(bundle); } - c0.z.d.m.checkNotNullExpressionValue(instantiate, "Fragment.instantiate(con….toBundle()\n }\n }"); + d0.z.d.m.checkNotNullExpressionValue(instantiate, "Fragment.instantiate(con….toBundle()\n }\n }"); beginTransaction.replace(i, instantiate, cls.getName()); if (z2) { beginTransaction.addToBackStack(null); @@ -179,25 +179,25 @@ public final class j { public final Intent a(Context context, Class cls, Intent intent) { AppLog appLog = AppLog.g; String simpleName = context.getClass().getSimpleName(); - c0.z.d.m.checkNotNullExpressionValue(simpleName, "javaClass.simpleName"); + d0.z.d.m.checkNotNullExpressionValue(simpleName, "javaClass.simpleName"); String simpleName2 = cls.getSimpleName(); - c0.z.d.m.checkNotNullExpressionValue(simpleName2, "screen.simpleName"); + d0.z.d.m.checkNotNullExpressionValue(simpleName2, "screen.simpleName"); appLog.f(simpleName, simpleName2); Intent putExtra = (intent != null ? new Intent(intent) : new Intent()).setClass(context, AppActivity.class).putExtra("com.discord.intent.extra.EXTRA_SCREEN", cls); - c0.z.d.m.checkNotNullExpressionValue(putExtra, "if (extras != null) {\n …nts.EXTRA_SCREEN, screen)"); + d0.z.d.m.checkNotNullExpressionValue(putExtra, "if (extras != null) {\n …nts.EXTRA_SCREEN, screen)"); return putExtra; } public final void f(Context context, ActivityResultLauncher activityResultLauncher, Class cls, Parcelable parcelable) { - c0.z.d.m.checkNotNullParameter(context, "context"); - c0.z.d.m.checkNotNullParameter(activityResultLauncher, "launcher"); - c0.z.d.m.checkNotNullParameter(cls, "screen"); + d0.z.d.m.checkNotNullParameter(context, "context"); + d0.z.d.m.checkNotNullParameter(activityResultLauncher, "launcher"); + d0.z.d.m.checkNotNullParameter(cls, "screen"); Intent intent = null; Intent intent2 = (Intent) (!(parcelable instanceof Intent) ? null : parcelable); if (intent2 != null) { intent = intent2; } else if (parcelable != null) { - intent = d.f2(parcelable); + intent = d.e2(parcelable); } activityResultLauncher.launch(a(context, cls, intent)); } diff --git a/app/src/main/java/c/a/d/j0.java b/app/src/main/java/c/a/d/j0.java index 3f3998abd6..38f07baf42 100644 --- a/app/src/main/java/c/a/d/j0.java +++ b/app/src/main/java/c/a/d/j0.java @@ -1,14 +1,14 @@ package c.a.d; import com.discord.rtcconnection.RtcConnection; -import i0.k.b; +import j0.k.b; /* compiled from: DiscordConnectService.kt */ public final class j0 implements b { public static final j0 i = new j0(); /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // i0.k.b + @Override // j0.k.b public Boolean call(RtcConnection.StateChange stateChange) { RtcConnection.State state = stateChange.a; return Boolean.valueOf(!(state instanceof RtcConnection.State.d) && !(state instanceof RtcConnection.State.h)); diff --git a/app/src/main/java/c/a/d/k.java b/app/src/main/java/c/a/d/k.java index baee5338ce..e3790c44af 100644 --- a/app/src/main/java/c/a/d/k.java +++ b/app/src/main/java/c/a/d/k.java @@ -1,13 +1,13 @@ package c.a.d; -import i0.k.b; +import j0.k.b; /* compiled from: AppState.kt */ public final class k implements b { public static final k i = new k(); /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // i0.k.b + @Override // j0.k.b public Boolean call(Integer num) { return Boolean.valueOf(num.intValue() > 0); } diff --git a/app/src/main/java/c/a/d/k0.java b/app/src/main/java/c/a/d/k0.java index 4efed1a27a..e0e097c17c 100644 --- a/app/src/main/java/c/a/d/k0.java +++ b/app/src/main/java/c/a/d/k0.java @@ -2,7 +2,7 @@ package c.a.d; import com.discord.rtcconnection.RtcConnection; import com.discord.stores.StoreStream; -import i0.k.b; +import j0.k.b; import rx.Observable; /* compiled from: DiscordConnectService.kt */ public final class k0 implements b> { @@ -10,7 +10,7 @@ public final class k0 implements b call(Boolean bool) { return StoreStream.Companion.getRtcConnection().getConnectionState().x(j0.i); } diff --git a/app/src/main/java/c/a/d/l.java b/app/src/main/java/c/a/d/l.java index ddc6216520..bd6f32eb06 100644 --- a/app/src/main/java/c/a/d/l.java +++ b/app/src/main/java/c/a/d/l.java @@ -1,8 +1,8 @@ package c.a.d; -import c0.z.d.m; import com.discord.app.AppLog; import com.discord.utilities.logging.Logger; +import d0.z.d.m; import java.util.ArrayList; import rx.subjects.BehaviorSubject; /* compiled from: AppState.kt */ @@ -11,7 +11,7 @@ public final class l { public static final BehaviorSubject b = BehaviorSubject.l0(0); /* renamed from: c reason: collision with root package name */ - public static final l f48c = new l(); + public static final l f47c = new l(); public final synchronized void a(Object obj) { m.checkNotNullParameter(obj, "consumer"); diff --git a/app/src/main/java/c/a/d/l0/a.java b/app/src/main/java/c/a/d/l0/a.java index 3ccab1036e..e04e655b0f 100644 --- a/app/src/main/java/c/a/d/l0/a.java +++ b/app/src/main/java/c/a/d/l0/a.java @@ -1,10 +1,10 @@ package c.a.d.l0; import android.net.Uri; -import c0.g0.i; -import c0.g0.t; -import c0.z.d.m; import com.discord.BuildConfig; +import d0.g0.i; +import d0.g0.t; +import d0.z.d.m; import kotlin.text.Regex; /* compiled from: RoutingPatterns.kt */ public final class a { @@ -12,12 +12,13 @@ public final class a { public static final Regex B; public static final Regex C = new Regex("^/ra/([\\w-]+)$"); public static final Regex D; - public static final a E; + public static final Regex E; + public static final a F; public static final String a; public static final String b; /* renamed from: c reason: collision with root package name */ - public static final String f49c; + public static final String f48c; public static final String d; public static final String e; public static final String f; @@ -32,35 +33,33 @@ public final class a { public static final Regex o; public static final Regex p; public static final Regex q; + public static final Regex r; - /* renamed from: r reason: collision with root package name */ - public static final Regex f50r; - public static final Regex s; + /* renamed from: s reason: collision with root package name */ + public static final Regex f49s; public static final Regex t; public static final Regex u; public static final Regex v; - - /* renamed from: w reason: collision with root package name */ - public static final Regex f51w; + public static final Regex w; /* renamed from: x reason: collision with root package name */ - public static final Regex f52x; + public static final Regex f50x; /* renamed from: y reason: collision with root package name */ - public static final Regex f53y; + public static final Regex f51y; /* renamed from: z reason: collision with root package name */ - public static final Regex f54z; + public static final Regex f52z; static { a aVar = new a(); - E = aVar; + F = aVar; String b2 = aVar.b(BuildConfig.HOST); a = b2; String b3 = aVar.b(BuildConfig.HOST_ALTERNATE); b = b3; String b4 = aVar.b(BuildConfig.HOST_GIFT); - f49c = b4; + f48c = b4; String b5 = aVar.b(BuildConfig.HOST_INVITE); d = b5; String b6 = aVar.b(BuildConfig.HOST_GUILD_TEMPLATE); @@ -102,25 +101,26 @@ public final class a { sb5.append("(?:" + replace$default3 + "))/([\\w-]+)/?"); String sb6 = sb5.toString(); m.checkNotNullExpressionValue(sb6, "StringBuilder()\n …?\")\n .toString()"); - f50r = new Regex(sb6, iVar); - s = new Regex("^/connect(?:/(\\d+))?/?$", iVar); + r = new Regex(sb6, iVar); + f49s = new Regex("^/connect(?:/(\\d+))?/?$", iVar); t = new Regex("^/channels/((?:@me)|(?:\\d+))(?:/(\\d+))?(?:/(\\d+))?/?$", iVar); u = new Regex("^/channels/@me/-1?/?$", iVar); v = new Regex("^/lurk/(\\d+)(?:/(\\d+))?/?$", iVar); - f51w = new Regex("^/channels/@me/user/(\\d+)/?$", iVar); - f52x = new Regex("^/users/(\\d+)/?$", iVar); - f53y = new Regex("^/settings(/\\w+)*/?$", iVar); - f54z = new Regex("^/feature(/\\w+)*/?$", iVar); + w = new Regex("^/channels/@me/user/(\\d+)/?$", iVar); + f50x = new Regex("^/users/(\\d+)/?$", iVar); + f51y = new Regex("^/settings(/\\w+)*/?$", iVar); + f52z = new Regex("^/feature(/\\w+)*/?$", iVar); A = new Regex("^/query(/\\w+)*/?$", iVar); B = new Regex("^/(?:oauth2|connect)/authorize/?$", iVar); D = new Regex("^/guild/((?:@me)|(?:\\d+))/premiumguild/?$", iVar); + E = new Regex("^/events/(\\d+)/(\\d+)/?$", iVar); } public final boolean a(String str) { if (str == null) { return false; } - if (!m.areEqual(str, a) && !m.areEqual(str, b) && !m.areEqual(str, f49c) && !m.areEqual(str, e) && !m.areEqual(str, d)) { + if (!m.areEqual(str, a) && !m.areEqual(str, b) && !m.areEqual(str, f48c) && !m.areEqual(str, e) && !m.areEqual(str, d)) { return l.matches(str); } return true; diff --git a/app/src/main/java/c/a/d/m.java b/app/src/main/java/c/a/d/m.java index 113652c98d..3adf9b316f 100644 --- a/app/src/main/java/c/a/d/m.java +++ b/app/src/main/java/c/a/d/m.java @@ -16,17 +16,17 @@ import com.facebook.drawee.span.DraweeSpanStringBuilder; /* compiled from: AppToast.kt */ public final class m { public static final void a(Context context, CharSequence charSequence, int i) { - c0.z.d.m.checkNotNullParameter(context, "context"); - c0.z.d.m.checkNotNullParameter(charSequence, NotificationCompat.MessagingStyle.Message.KEY_TEXT); + d0.z.d.m.checkNotNullParameter(context, "context"); + d0.z.d.m.checkNotNullParameter(charSequence, NotificationCompat.MessagingStyle.Message.KEY_TEXT); String string = context.getString(i); - c0.z.d.m.checkNotNullExpressionValue(string, "context.getString(toastResId)"); + d0.z.d.m.checkNotNullExpressionValue(string, "context.getString(toastResId)"); b(context, charSequence, string); } public static final void b(Context context, CharSequence charSequence, CharSequence charSequence2) { - c0.z.d.m.checkNotNullParameter(context, "context"); - c0.z.d.m.checkNotNullParameter(charSequence, NotificationCompat.MessagingStyle.Message.KEY_TEXT); - c0.z.d.m.checkNotNullParameter(charSequence2, "toastText"); + d0.z.d.m.checkNotNullParameter(context, "context"); + d0.z.d.m.checkNotNullParameter(charSequence, NotificationCompat.MessagingStyle.Message.KEY_TEXT); + d0.z.d.m.checkNotNullParameter(charSequence2, "toastText"); Object systemService = context.getSystemService("clipboard"); if (!(systemService instanceof ClipboardManager)) { systemService = null; diff --git a/app/src/main/java/c/a/d/n.java b/app/src/main/java/c/a/d/n.java index 1f124fd313..c2a9f802c4 100644 --- a/app/src/main/java/c/a/d/n.java +++ b/app/src/main/java/c/a/d/n.java @@ -1,13 +1,13 @@ package c.a.d; -import c0.z.d.m; import com.discord.utilities.rx.ObservableExtensionsKt; +import d0.z.d.m; import rx.Observable; /* compiled from: AppTransformers.kt */ public final class n implements Observable.c { public static final n i = new n(); - @Override // i0.k.b + @Override // j0.k.b public Object call(Object obj) { Observable observable = (Observable) obj; m.checkNotNullExpressionValue(observable, "observable"); diff --git a/app/src/main/java/c/a/d/o.java b/app/src/main/java/c/a/d/o.java index 0d4427757c..b2b4cc90f4 100644 --- a/app/src/main/java/c/a/d/o.java +++ b/app/src/main/java/c/a/d/o.java @@ -2,12 +2,12 @@ package c.a.d; import android.content.Context; import androidx.core.app.NotificationCompat; -import c0.t.h0; -import c0.z.d.k; -import c0.z.d.m; import com.discord.app.AppFragment; import com.discord.utilities.error.Error; -import i0.l.e.j; +import d0.t.h0; +import d0.z.d.k; +import d0.z.d.m; +import j0.l.e.j; import java.util.Collection; import java.util.Map; import java.util.concurrent.TimeUnit; @@ -21,7 +21,7 @@ public final class o { public static final o a = new o(); /* compiled from: AppTransformers.kt */ - public static final class a extends c0.z.d.o implements Function1 { + public static final class a extends d0.z.d.o implements Function1 { public static final a i = new a(); public a() { @@ -39,7 +39,7 @@ public final class o { public static final class b implements Observable.c, Map> { public static final b i = new b(); - @Override // i0.k.b + @Override // j0.k.b public Object call(Object obj) { Observable observable = (Observable) obj; return new j(h0.emptyMap()); @@ -56,7 +56,7 @@ public final class o { this.j = function1; } - @Override // i0.k.b + @Override // j0.k.b public Object call(Object obj) { return ((Observable) obj).Y(new s(this)).q(); } @@ -76,7 +76,7 @@ public final class o { this.l = timeUnit; } - @Override // i0.k.b + @Override // j0.k.b public Object call(Object obj) { return ((Observable) obj).Y(new t(this)); } diff --git a/app/src/main/java/c/a/d/p.java b/app/src/main/java/c/a/d/p.java index 73dec3e059..c3a4074074 100644 --- a/app/src/main/java/c/a/d/p.java +++ b/app/src/main/java/c/a/d/p.java @@ -1,6 +1,6 @@ package c.a.d; -import i0.k.b; +import j0.k.b; import java.util.Map; /* compiled from: AppTransformers.kt */ public final class p implements b { @@ -11,7 +11,7 @@ public final class p implements b { } /* Return type fixed from 'java.lang.Object' to match base method */ - @Override // i0.k.b + @Override // j0.k.b public Boolean call(Object obj) { return Boolean.valueOf(this.i.containsKey(obj)); } diff --git a/app/src/main/java/c/a/d/q.java b/app/src/main/java/c/a/d/q.java index b53387c5cb..c194de1bc2 100644 --- a/app/src/main/java/c/a/d/q.java +++ b/app/src/main/java/c/a/d/q.java @@ -1,11 +1,11 @@ package c.a.d; -import i0.k.b; +import j0.k.b; /* compiled from: AppTransformers.kt */ public final class q implements b { public static final q i = new q(); - @Override // i0.k.b + @Override // j0.k.b public final K call(K k) { return k; } diff --git a/app/src/main/java/c/a/d/r.java b/app/src/main/java/c/a/d/r.java index dabab4fced..be8aa3ef0d 100644 --- a/app/src/main/java/c/a/d/r.java +++ b/app/src/main/java/c/a/d/r.java @@ -1,6 +1,6 @@ package c.a.d; -import i0.k.b; +import j0.k.b; import java.util.Map; /* compiled from: AppTransformers.kt */ public final class r implements b { @@ -13,7 +13,7 @@ public final class r implements b { } /* JADX WARNING: Unknown variable types count: 1 */ - @Override // i0.k.b + @Override // j0.k.b public final V1 call(K k) { return this.i.i.j.invoke(this.j.get(k)); } diff --git a/app/src/main/java/c/a/d/s.java b/app/src/main/java/c/a/d/s.java index 174a7229b0..7a8f1b43ad 100644 --- a/app/src/main/java/c/a/d/s.java +++ b/app/src/main/java/c/a/d/s.java @@ -1,7 +1,7 @@ package c.a.d; import c.a.d.o; -import i0.k.b; +import j0.k.b; import java.util.Map; import rx.Observable; /* compiled from: AppTransformers.kt */ @@ -12,7 +12,7 @@ public final class s implements b, Observable implements b> { @@ -12,7 +12,7 @@ public final class t implements b> { this.i = dVar; } - @Override // i0.k.b + @Override // j0.k.b public Object call(Object obj) { if (((Boolean) this.i.i.invoke(obj)).booleanValue()) { return new j(obj); diff --git a/app/src/main/java/c/a/d/u.java b/app/src/main/java/c/a/d/u.java index 14e5da8f46..625e9b04ee 100644 --- a/app/src/main/java/c/a/d/u.java +++ b/app/src/main/java/c/a/d/u.java @@ -1,7 +1,7 @@ package c.a.d; import androidx.core.app.NotificationCompat; -import c0.z.d.k; +import d0.z.d.k; import kotlin.Unit; import kotlin.jvm.functions.Function1; import rx.functions.Action1; diff --git a/app/src/main/java/c/a/d/v.java b/app/src/main/java/c/a/d/v.java index c7e6d281e4..6ad095d1f2 100644 --- a/app/src/main/java/c/a/d/v.java +++ b/app/src/main/java/c/a/d/v.java @@ -1,6 +1,6 @@ package c.a.d; -import c0.z.d.o; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: AppTransformers.kt */ @@ -14,7 +14,7 @@ public final class v extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { return Unit.a; } } diff --git a/app/src/main/java/c/a/d/w.java b/app/src/main/java/c/a/d/w.java index ddcf98231b..e373196478 100644 --- a/app/src/main/java/c/a/d/w.java +++ b/app/src/main/java/c/a/d/w.java @@ -1,8 +1,8 @@ package c.a.d; import android.content.Context; -import c0.z.d.m; import com.discord.utilities.rx.ObservableExtensionsKt; +import d0.z.d.m; import kotlin.jvm.functions.Function0; import rx.Observable; import rx.functions.Action1; @@ -22,7 +22,7 @@ public final class w implements Observable.c { this.m = action13; } - @Override // i0.k.b + @Override // j0.k.b public Object call(Object obj) { Observable observable = (Observable) obj; m.checkNotNullExpressionValue(observable, "observable"); diff --git a/app/src/main/java/c/a/d/x.java b/app/src/main/java/c/a/d/x.java index 987839bdb3..fa23bb62c1 100644 --- a/app/src/main/java/c/a/d/x.java +++ b/app/src/main/java/c/a/d/x.java @@ -1,6 +1,6 @@ package c.a.d; -import c0.z.d.o; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: AppTransformers.kt */ @@ -14,7 +14,7 @@ public final class x extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { return Unit.a; } } diff --git a/app/src/main/java/c/a/d/y.java b/app/src/main/java/c/a/d/y.java index a806c368ad..5e6d9e9f32 100644 --- a/app/src/main/java/c/a/d/y.java +++ b/app/src/main/java/c/a/d/y.java @@ -1,8 +1,8 @@ package c.a.d; import android.content.Context; -import c0.z.d.m; import com.discord.utilities.rx.ObservableExtensionsKt; +import d0.z.d.m; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; import rx.Observable; @@ -24,7 +24,7 @@ public final class y implements Observable.c { this.n = function0; } - @Override // i0.k.b + @Override // j0.k.b public Object call(Object obj) { Observable observable = (Observable) obj; m.checkNotNullExpressionValue(observable, "observable"); diff --git a/app/src/main/java/c/a/d/z.java b/app/src/main/java/c/a/d/z.java index 523ef165ff..0e84b91f5e 100644 --- a/app/src/main/java/c/a/d/z.java +++ b/app/src/main/java/c/a/d/z.java @@ -1,6 +1,6 @@ package c.a.d; -import i0.k.b; +import j0.k.b; import rx.Observable; /* compiled from: AppTransformers.kt */ public final class z implements b> { @@ -10,7 +10,7 @@ public final class z implements b> { this.i = a0Var; } - @Override // i0.k.b + @Override // j0.k.b public Object call(Object obj) { return ((Boolean) this.i.i.invoke(obj)).booleanValue() ? (Observable) this.i.j.invoke(obj) : (Observable) this.i.k.invoke(obj); } diff --git a/app/src/main/java/c/a/e/a.java b/app/src/main/java/c/a/e/a.java index d07e53cc30..971245ed5f 100644 --- a/app/src/main/java/c/a/e/a.java +++ b/app/src/main/java/c/a/e/a.java @@ -1,6 +1,6 @@ package c.a.e; -import c0.z.d.k; +import d0.z.d.k; import java.util.Objects; import kotlin.Unit; import kotlin.jvm.functions.Function1; @@ -19,7 +19,7 @@ public final /* synthetic */ class a extends k implements Function1 b; /* renamed from: c reason: collision with root package name */ - public static Subscription f55c; + public static Subscription f53c; public static final d d = new d(); static { diff --git a/app/src/main/java/c/a/f/a.java b/app/src/main/java/c/a/f/a.java index 8287e65b6a..e38e44c26a 100644 --- a/app/src/main/java/c/a/f/a.java +++ b/app/src/main/java/c/a/f/a.java @@ -1,9 +1,9 @@ package c.a.f; import android.view.View; -import c0.z.d.m; import com.discord.chips_view.ChipsView; import com.discord.chips_view.ChipsView.a; +import d0.z.d.m; import java.util.Objects; /* compiled from: Chip.kt */ public final class a implements View.OnClickListener { @@ -13,32 +13,32 @@ public final class a implements View.OnClickListener { public String l; public final K m; public final T n; - public final C0026a o; + public final C0025a o; public final ChipsView p; /* compiled from: Chip.kt */ /* renamed from: c.a.f.a$a reason: collision with other inner class name */ - public static final class C0026a { + public static final class C0025a { public final int a; public final int b; /* renamed from: c reason: collision with root package name */ - public final int f56c; + public final int f54c; public final int d; public final int e; public final int f; - public C0026a(int i, float f, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9) { + public C0025a(int i, float f, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9) { this.a = i; this.b = i2; - this.f56c = i3; + this.f54c = i3; this.d = i4; this.e = i5; this.f = i8; } } - public a(String str, String str2, K k, T t, C0026a aVar, ChipsView chipsView) { + public a(String str, String str2, K k, T t, C0025a aVar, ChipsView chipsView) { m.checkNotNullParameter(aVar, "params"); m.checkNotNullParameter(chipsView, "container"); this.k = str; @@ -91,7 +91,7 @@ public final class a implements View.OnClickListener { @Override // android.view.View.OnClickListener public void onClick(View view) { m.checkNotNullParameter(view, "v"); - this.p.f2014z.clearFocus(); + this.p.f1644z.clearFocus(); ChipsView chipsView = this.p; Objects.requireNonNull(chipsView); m.checkNotNullParameter(this, "chip"); @@ -101,16 +101,16 @@ public final class a implements View.OnClickListener { @Override // java.lang.Object public String toString() { - StringBuilder O = c.d.b.a.a.O("{[Data: "); - O.append(this.n); - O.append(']'); - O.append("[Label: "); - O.append(this.k); - O.append(']'); - O.append("[ImageDescription: "); - O.append(this.l); - O.append(']'); - O.append('}'); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("{[Data: "); + R.append(this.n); + R.append(']'); + R.append("[Label: "); + R.append(this.k); + R.append(']'); + R.append("[ImageDescription: "); + R.append(this.l); + R.append(']'); + R.append('}'); + return R.toString(); } } diff --git a/app/src/main/java/c/a/f/b.java b/app/src/main/java/c/a/f/b.java index bd795dc31b..41224abbdb 100644 --- a/app/src/main/java/c/a/f/b.java +++ b/app/src/main/java/c/a/f/b.java @@ -3,7 +3,7 @@ package c.a.f; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.widget.RelativeLayout; -import c0.z.d.m; +import d0.z.d.m; import java.util.Objects; /* compiled from: Chip.kt */ public final class b implements Runnable { @@ -22,7 +22,7 @@ public final class b implements Runnable { m.checkNotNullExpressionValue(relativeLayout, "it"); Drawable background = relativeLayout.getBackground(); m.checkNotNullExpressionValue(background, "it.background"); - int i = this.j.o.f56c; + int i = this.j.o.f54c; Objects.requireNonNull(aVar); background.setColorFilter(i, PorterDuff.Mode.SRC_ATOP); } diff --git a/app/src/main/java/c/a/f/d.java b/app/src/main/java/c/a/f/d.java index f2711bf1eb..62c512c82c 100644 --- a/app/src/main/java/c/a/f/d.java +++ b/app/src/main/java/c/a/f/d.java @@ -5,7 +5,7 @@ import android.content.Context; import android.view.inputmethod.EditorInfo; import android.view.inputmethod.InputConnection; import androidx.appcompat.widget.AppCompatEditText; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: ChipsEditText.kt */ @SuppressLint({"ViewConstructor"}) public final class d extends AppCompatEditText { diff --git a/app/src/main/java/c/a/f/e.java b/app/src/main/java/c/a/f/e.java index 55245be645..0e227bda47 100644 --- a/app/src/main/java/c/a/f/e.java +++ b/app/src/main/java/c/a/f/e.java @@ -4,7 +4,7 @@ import android.annotation.SuppressLint; import android.content.Context; import android.view.ViewGroup; import android.widget.LinearLayout; -import c0.z.d.m; +import d0.z.d.m; import java.util.ArrayList; import java.util.List; /* compiled from: ChipsVerticalLinearLayout.kt */ diff --git a/app/src/main/java/c/a/f/g.java b/app/src/main/java/c/a/f/g.java index 9f176e7387..09e89ac842 100644 --- a/app/src/main/java/c/a/f/g.java +++ b/app/src/main/java/c/a/f/g.java @@ -12,7 +12,7 @@ public final class g implements View.OnClickListener { @Override // android.view.View.OnClickListener public final void onClick(View view) { - this.i.f2014z.requestFocus(); + this.i.f1644z.requestFocus(); this.i.f(null); } } diff --git a/app/src/main/java/c/a/f/h/a.java b/app/src/main/java/c/a/f/h/a.java index d843118215..a546606f76 100644 --- a/app/src/main/java/c/a/f/h/a.java +++ b/app/src/main/java/c/a/f/h/a.java @@ -15,12 +15,12 @@ public final class a implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f57c; + public final TextView f55c; public a(@NonNull RelativeLayout relativeLayout, @NonNull ImageView imageView, @NonNull TextView textView) { this.a = relativeLayout; this.b = imageView; - this.f57c = textView; + this.f55c = textView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/g/a.java b/app/src/main/java/c/a/g/a.java index 4de3fc2f3c..1a42e873c1 100644 --- a/app/src/main/java/c/a/g/a.java +++ b/app/src/main/java/c/a/g/a.java @@ -2,7 +2,7 @@ package c.a.g; import android.graphics.Color; import android.util.SparseIntArray; -import c0.z.d.m; +import d0.z.d.m; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; @@ -17,14 +17,14 @@ public final class a { public final float[] b = new float[3]; /* renamed from: c reason: collision with root package name */ - public final int[] f58c; + public final int[] f56c; public final SparseIntArray d; public final List e; /* compiled from: ColorCutQuantizer.kt */ /* renamed from: c.a.g.a$a reason: collision with other inner class name */ - public static final class C0027a implements Comparator { - public static final C0027a i = new C0027a(); + public static final class C0026a implements Comparator { + public static final C0026a i = new C0026a(); /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // java.util.Comparator @@ -45,7 +45,7 @@ public final class a { public int b; /* renamed from: c reason: collision with root package name */ - public int f59c; + public int f57c; public int d; public int e; public int f; @@ -60,7 +60,7 @@ public final class a { public final void a() { this.e = 255; - this.f59c = 255; + this.f57c = 255; this.a = 255; this.f = 0; this.d = 0; @@ -69,7 +69,7 @@ public final class a { int i2 = this.h; if (i <= i2) { while (true) { - int i3 = a.this.f58c[i]; + int i3 = a.this.f56c[i]; int red = Color.red(i3); int green = Color.green(i3); int blue = Color.blue(i3); @@ -82,8 +82,8 @@ public final class a { if (green > this.d) { this.d = green; } - if (green < this.f59c) { - this.f59c = green; + if (green < this.f57c) { + this.f57c = green; } if (blue > this.f) { this.f = blue; @@ -101,7 +101,7 @@ public final class a { } public final int b() { - return ((this.f - this.e) + 1) * ((this.d - this.f59c) + 1) * ((this.b - this.a) + 1); + return ((this.f - this.e) + 1) * ((this.d - this.f57c) + 1) * ((this.b - this.a) + 1); } } @@ -124,13 +124,13 @@ public final class a { if (i >= 1) { int i6 = bVar.d; int[] iArr = bVar.b; - int[] iArr2 = bVar.f60c; + int[] iArr2 = bVar.f58c; this.d = new SparseIntArray(i6); int length = iArr.length; for (int i7 = 0; i7 < length; i7++) { this.d.append(iArr[i7], iArr2[i7]); } - this.f58c = new int[i6]; + this.f56c = new int[i6]; int i8 = 0; for (int i9 : iArr) { int alpha = Color.alpha(i9); @@ -145,7 +145,7 @@ public final class a { if (!z5) { z4 = false; if (z4) { - this.f58c[i8] = i9; + this.f56c[i8] = i9; i8++; } } @@ -162,13 +162,13 @@ public final class a { } if (i8 <= i) { this.e = new ArrayList(); - int[] iArr3 = this.f58c; + int[] iArr3 = this.f56c; for (int i10 : iArr3) { this.e.add(new d(i10, this.d.get(i10))); } return; } - PriorityQueue priorityQueue = new PriorityQueue(i, C0027a.i); + PriorityQueue priorityQueue = new PriorityQueue(i, C0026a.i); priorityQueue.offer(new c(0, i8 - 1)); while (priorityQueue.size() < i && (cVar = (c) priorityQueue.poll()) != null) { int i11 = cVar.h; @@ -179,13 +179,13 @@ public final class a { } if (i13 > 1) { int i14 = cVar.b - cVar.a; - int i15 = cVar.d - cVar.f59c; + int i15 = cVar.d - cVar.f57c; int i16 = cVar.f - cVar.e; int i17 = (i14 < i15 || i14 < i16) ? (i15 < i14 || i15 < i16) ? -1 : -2 : -3; a(a.this, i17, i12, i11); - Arrays.sort(a.this.f58c, cVar.g, cVar.h + 1); + Arrays.sort(a.this.f56c, cVar.g, cVar.h + 1); a(a.this, i17, cVar.g, cVar.h); - int i18 = i17 != -3 ? i17 != -2 ? i17 != -1 ? (cVar.a + cVar.b) / 2 : (cVar.e + cVar.f) / 2 : (cVar.f59c + cVar.d) / 2 : (cVar.a + cVar.b) / 2; + int i18 = i17 != -3 ? i17 != -2 ? i17 != -1 ? (cVar.a + cVar.b) / 2 : (cVar.e + cVar.f) / 2 : (cVar.f57c + cVar.d) / 2 : (cVar.a + cVar.b) / 2; int i19 = cVar.g; int i20 = cVar.h; while (true) { @@ -193,7 +193,7 @@ public final class a { i19 = cVar.g; break; } - int i21 = a.this.f58c[i19]; + int i21 = a.this.f56c[i19]; if (i17 != -3) { if (i17 != -2) { if (i17 == -1 && Color.blue(i21) > i18) { @@ -229,7 +229,7 @@ public final class a { i2 = 0; while (true) { a aVar = a.this; - int i24 = aVar.f58c[i22]; + int i24 = aVar.f56c[i22]; int i25 = aVar.d.get(i24); i5 += i25; i4 = (Color.red(i24) * i25) + i4; @@ -297,14 +297,14 @@ public final class a { Objects.requireNonNull(aVar); if (i == -2) { while (i2 <= i3) { - int[] iArr = aVar.f58c; + int[] iArr = aVar.f56c; int i4 = iArr[i2]; iArr[i2] = Color.rgb((i4 >> 8) & 255, (i4 >> 16) & 255, i4 & 255); i2++; } } else if (i == -1) { while (i2 <= i3) { - int[] iArr2 = aVar.f58c; + int[] iArr2 = aVar.f56c; int i5 = iArr2[i2]; iArr2[i2] = Color.rgb(i5 & 255, (i5 >> 8) & 255, (i5 >> 16) & 255); i2++; diff --git a/app/src/main/java/c/a/g/b.java b/app/src/main/java/c/a/g/b.java index 4057b45e6e..7eb4fe31cb 100644 --- a/app/src/main/java/c/a/g/b.java +++ b/app/src/main/java/c/a/g/b.java @@ -1,6 +1,6 @@ package c.a.g; -import c0.z.d.m; +import d0.z.d.m; import java.util.Arrays; import kotlin.jvm.internal.DefaultConstructorMarker; /* compiled from: ColorHistogram.kt */ @@ -9,7 +9,7 @@ public final class b { public final int[] b; /* renamed from: c reason: collision with root package name */ - public final int[] f60c; + public final int[] f58c; public final int d; /* compiled from: ColorHistogram.kt */ @@ -41,7 +41,7 @@ public final class b { int[] iArr2 = new int[i]; this.b = iArr2; int[] iArr3 = new int[i]; - this.f60c = iArr3; + this.f58c = iArr3; if (!(iArr.length == 0)) { int i6 = iArr[0]; iArr2[0] = i6; @@ -50,13 +50,13 @@ public final class b { int length2 = iArr.length; for (int i7 = 1; i7 < length2; i7++) { if (iArr[i7] == i6) { - int[] iArr4 = this.f60c; + int[] iArr4 = this.f58c; iArr4[i2] = iArr4[i2] + 1; } else { i6 = iArr[i7]; i2++; this.b[i2] = i6; - this.f60c[i2] = 1; + this.f58c[i2] = 1; } } } diff --git a/app/src/main/java/c/a/g/c.java b/app/src/main/java/c/a/g/c.java index 5282e8444f..54127b0054 100644 --- a/app/src/main/java/c/a/g/c.java +++ b/app/src/main/java/c/a/g/c.java @@ -1,6 +1,6 @@ package c.a.g; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: ColorUtils.kt */ public final class c { public static final void a(int i, int i2, int i3, float[] fArr) { diff --git a/app/src/main/java/c/a/g/d.java b/app/src/main/java/c/a/g/d.java index bd0a4976ed..8acb1ca575 100644 --- a/app/src/main/java/c/a/g/d.java +++ b/app/src/main/java/c/a/g/d.java @@ -9,7 +9,7 @@ public final class d { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f61c; + public final int f59c; public final int d; public final int e; public float[] f; @@ -17,7 +17,7 @@ public final class d { public d(int i, int i2) { this.a = Color.red(i); this.b = Color.green(i); - this.f61c = Color.blue(i); + this.f59c = Color.blue(i); this.d = i; this.e = i2; } @@ -25,7 +25,7 @@ public final class d { public d(int i, int i2, int i3, int i4) { this.a = i; this.b = i2; - this.f61c = i3; + this.f59c = i3; this.d = Color.rgb(i, i2, i3); this.e = i4; } @@ -34,7 +34,7 @@ public final class d { if (this.f == null) { float[] fArr = new float[3]; this.f = fArr; - c.a(this.a, this.b, this.f61c, fArr); + c.a(this.a, this.b, this.f59c, fArr); } return this.f; } @@ -49,6 +49,6 @@ public final class d { sb.append(Arrays.toString(a())); sb.append(']'); sb.append("[Population: "); - return a.y(sb, this.e, ']'); + return a.z(sb, this.e, ']'); } } diff --git a/app/src/main/java/c/a/h/a.java b/app/src/main/java/c/a/h/a.java index d95158f6f8..a7dbf66385 100644 --- a/app/src/main/java/c/a/h/a.java +++ b/app/src/main/java/c/a/h/a.java @@ -6,8 +6,8 @@ import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.net.Uri; import androidx.browser.customtabs.CustomTabsService; -import c0.t.u; -import c0.z.d.m; +import d0.t.u; +import d0.z.d.m; import java.util.ArrayList; import java.util.Iterator; import java.util.List; diff --git a/app/src/main/java/c/a/h/b.java b/app/src/main/java/c/a/h/b.java index fedc53735f..b8c7796f42 100644 --- a/app/src/main/java/c/a/h/b.java +++ b/app/src/main/java/c/a/h/b.java @@ -8,10 +8,10 @@ import androidx.browser.customtabs.CustomTabsClient; import androidx.browser.customtabs.CustomTabsService; import androidx.browser.customtabs.CustomTabsServiceConnection; import androidx.browser.customtabs.CustomTabsSession; -import c0.t.o; -import c0.t.u; -import c0.z.d.m; import com.discord.models.domain.ModelAuditLogEntry; +import d0.t.o; +import d0.t.u; +import d0.z.d.m; import java.util.ArrayList; import java.util.List; /* compiled from: CustomTabsService.kt */ diff --git a/app/src/main/java/c/a/i/a.java b/app/src/main/java/c/a/i/a.java index 619218e79b..dd6dadbb20 100644 --- a/app/src/main/java/c/a/i/a.java +++ b/app/src/main/java/c/a/i/a.java @@ -15,14 +15,14 @@ public final class a implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final MaterialButton f62c; + public final MaterialButton f60c; @NonNull public final MaterialButton d; public a(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView2) { this.a = linearLayout; this.b = textView; - this.f62c = materialButton; + this.f60c = materialButton; this.d = materialButton2; } diff --git a/app/src/main/java/c/a/i/a0.java b/app/src/main/java/c/a/i/a0.java index 4951256c63..7d06b9516f 100644 --- a/app/src/main/java/c/a/i/a0.java +++ b/app/src/main/java/c/a/i/a0.java @@ -17,7 +17,7 @@ public final class a0 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final LoadingButton f63c; + public final LoadingButton f61c; @NonNull public final LinkifiedTextView d; @NonNull @@ -26,7 +26,7 @@ public final class a0 implements ViewBinding { public a0(@NonNull ConstraintLayout constraintLayout, @NonNull MaterialButton materialButton, @NonNull LoadingButton loadingButton, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView) { this.a = constraintLayout; this.b = materialButton; - this.f63c = loadingButton; + this.f61c = loadingButton; this.d = linkifiedTextView; this.e = textView; } diff --git a/app/src/main/java/c/a/i/a1.java b/app/src/main/java/c/a/i/a1.java index def04f8bea..a9c2d66d02 100644 --- a/app/src/main/java/c/a/i/a1.java +++ b/app/src/main/java/c/a/i/a1.java @@ -16,14 +16,14 @@ public final class a1 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f64c; + public final TextView f62c; @NonNull public final MaterialButton d; public a1(@NonNull RelativeLayout relativeLayout, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull MaterialButton materialButton) { this.a = relativeLayout; this.b = imageView; - this.f64c = textView; + this.f62c = textView; this.d = materialButton; } diff --git a/app/src/main/java/c/a/i/a2.java b/app/src/main/java/c/a/i/a2.java index 4ef7f38035..592e2c18df 100644 --- a/app/src/main/java/c/a/i/a2.java +++ b/app/src/main/java/c/a/i/a2.java @@ -14,14 +14,14 @@ public final class a2 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final FailedUploadView f65c; + public final FailedUploadView f63c; @NonNull public final FailedUploadView d; public a2(@NonNull LinearLayout linearLayout, @NonNull FailedUploadView failedUploadView, @NonNull FailedUploadView failedUploadView2, @NonNull FailedUploadView failedUploadView3) { this.a = linearLayout; this.b = failedUploadView; - this.f65c = failedUploadView2; + this.f63c = failedUploadView2; this.d = failedUploadView3; } diff --git a/app/src/main/java/c/a/i/a3.java b/app/src/main/java/c/a/i/a3.java index cea13374e7..2d6b2b0ad9 100644 --- a/app/src/main/java/c/a/i/a3.java +++ b/app/src/main/java/c/a/i/a3.java @@ -15,14 +15,14 @@ public final class a3 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final FrameLayout f66c; + public final FrameLayout f64c; @NonNull public final TextView d; public a3(@NonNull View view, @NonNull TextView textView, @NonNull ImageView imageView, @NonNull FrameLayout frameLayout, @NonNull TextView textView2) { this.a = view; this.b = textView; - this.f66c = frameLayout; + this.f64c = frameLayout; this.d = textView2; } diff --git a/app/src/main/java/c/a/i/a4.java b/app/src/main/java/c/a/i/a4.java index ca789bd431..3df1cacef0 100644 --- a/app/src/main/java/c/a/i/a4.java +++ b/app/src/main/java/c/a/i/a4.java @@ -1,30 +1,25 @@ package c.a.i; import android.view.View; +import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.discord.R; -import com.discord.views.CutoutView; -import com.facebook.drawee.view.SimpleDraweeView; -/* compiled from: ViewUserSummaryItemBinding */ +import com.facebook.drawee.span.SimpleDraweeSpanTextView; +/* compiled from: ViewUsernameBinding */ public final class a4 implements ViewBinding { @NonNull - public final CutoutView a; + public final View a; @NonNull - public final SimpleDraweeView b; - - public a4(@NonNull CutoutView cutoutView, @NonNull SimpleDraweeView simpleDraweeView) { - this.a = cutoutView; - this.b = simpleDraweeView; - } - + public final TextView b; @NonNull - public static a4 a(@NonNull View view) { - SimpleDraweeView simpleDraweeView = (SimpleDraweeView) view.findViewById(R.id.avatar); - if (simpleDraweeView != null) { - return new a4((CutoutView) view, simpleDraweeView); - } - throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(R.id.avatar))); + + /* renamed from: c reason: collision with root package name */ + public final SimpleDraweeSpanTextView f65c; + + public a4(@NonNull View view, @NonNull TextView textView, @NonNull SimpleDraweeSpanTextView simpleDraweeSpanTextView) { + this.a = view; + this.b = textView; + this.f65c = simpleDraweeSpanTextView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/a5.java b/app/src/main/java/c/a/i/a5.java index b1920a550d..5dcbd306a9 100644 --- a/app/src/main/java/c/a/i/a5.java +++ b/app/src/main/java/c/a/i/a5.java @@ -1,31 +1,25 @@ package c.a.i; import android.view.View; -import android.widget.LinearLayout; -import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.fragment.app.FragmentContainerView; import androidx.viewbinding.ViewBinding; -import com.discord.views.LoadingButton; -import com.google.android.material.button.MaterialButton; -import com.google.android.material.textfield.TextInputLayout; -/* compiled from: WidgetEnableTwoFactorPasswordDialogBinding */ +import com.discord.utilities.view.rounded.RoundedRelativeLayout; +/* compiled from: WidgetHomePanelCenterBinding */ public final class a5 implements ViewBinding { @NonNull - public final LinearLayout a; + public final RoundedRelativeLayout a; @NonNull - public final MaterialButton b; + public final b5 b; @NonNull /* renamed from: c reason: collision with root package name */ - public final LoadingButton f67c; - @NonNull - public final TextInputLayout d; + public final FragmentContainerView f66c; - public a5(@NonNull LinearLayout linearLayout, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull TextView textView2, @NonNull LinearLayout linearLayout3, @NonNull LoadingButton loadingButton, @NonNull TextInputLayout textInputLayout) { - this.a = linearLayout; - this.b = materialButton; - this.f67c = loadingButton; - this.d = textInputLayout; + public a5(@NonNull RoundedRelativeLayout roundedRelativeLayout, @NonNull b5 b5Var, @NonNull FragmentContainerView fragmentContainerView) { + this.a = roundedRelativeLayout; + this.b = b5Var; + this.f66c = fragmentContainerView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/b.java b/app/src/main/java/c/a/i/b.java index a93a6f6c0a..89e50ad5a2 100644 --- a/app/src/main/java/c/a/i/b.java +++ b/app/src/main/java/c/a/i/b.java @@ -16,7 +16,7 @@ public final class b implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final RadioGroup f68c; + public final RadioGroup f67c; @NonNull public final MaterialRadioButton d; @NonNull @@ -27,7 +27,7 @@ public final class b implements ViewBinding { public b(@NonNull LinearLayout linearLayout, @NonNull MaterialRadioButton materialRadioButton, @NonNull TextView textView, @NonNull RadioGroup radioGroup, @NonNull MaterialRadioButton materialRadioButton2, @NonNull MaterialRadioButton materialRadioButton3, @NonNull MaterialRadioButton materialRadioButton4) { this.a = linearLayout; this.b = materialRadioButton; - this.f68c = radioGroup; + this.f67c = radioGroup; this.d = materialRadioButton2; this.e = materialRadioButton3; this.f = materialRadioButton4; diff --git a/app/src/main/java/c/a/i/b0.java b/app/src/main/java/c/a/i/b0.java index 6255a2e5e9..26ba8ecc71 100644 --- a/app/src/main/java/c/a/i/b0.java +++ b/app/src/main/java/c/a/i/b0.java @@ -16,14 +16,14 @@ public final class b0 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final LinkifiedTextView f69c; + public final LinkifiedTextView f68c; @NonNull public final TextView d; public b0(@NonNull ConstraintLayout constraintLayout, @NonNull MaterialButton materialButton, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView, @NonNull TextView textView2) { this.a = constraintLayout; this.b = materialButton; - this.f69c = linkifiedTextView; + this.f68c = linkifiedTextView; this.d = textView2; } diff --git a/app/src/main/java/c/a/i/b1.java b/app/src/main/java/c/a/i/b1.java index a60e48bc9c..6b55581577 100644 --- a/app/src/main/java/c/a/i/b1.java +++ b/app/src/main/java/c/a/i/b1.java @@ -16,7 +16,7 @@ public final class b1 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final ImageView f70c; + public final ImageView f69c; @NonNull public final TextView d; @NonNull @@ -27,7 +27,7 @@ public final class b1 implements ViewBinding { public b1(@NonNull RelativeLayout relativeLayout, @NonNull TextView textView, @NonNull ImageView imageView, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull MaterialButton materialButton) { this.a = relativeLayout; this.b = textView; - this.f70c = imageView; + this.f69c = imageView; this.d = textView2; this.e = textView3; this.f = materialButton; diff --git a/app/src/main/java/c/a/i/b3.java b/app/src/main/java/c/a/i/b3.java index 5fd89c2cf0..05eb37ad56 100644 --- a/app/src/main/java/c/a/i/b3.java +++ b/app/src/main/java/c/a/i/b3.java @@ -18,7 +18,7 @@ public final class b3 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final MaterialButton f71c; + public final MaterialButton f70c; @NonNull public final ServerMemberCount d; @NonNull @@ -33,7 +33,7 @@ public final class b3 implements ViewBinding { public b3(@NonNull View view, @NonNull Barrier barrier, @NonNull Barrier barrier2, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull ServerMemberCount serverMemberCount, @NonNull TextView textView, @NonNull GuildView guildView, @NonNull ImageView imageView, @NonNull TextView textView2) { this.a = view; this.b = materialButton; - this.f71c = materialButton2; + this.f70c = materialButton2; this.d = serverMemberCount; this.e = textView; this.f = guildView; diff --git a/app/src/main/java/c/a/i/b4.java b/app/src/main/java/c/a/i/b4.java index 86392a1dbe..1246b87429 100644 --- a/app/src/main/java/c/a/i/b4.java +++ b/app/src/main/java/c/a/i/b4.java @@ -1,25 +1,82 @@ package c.a.i; import android.view.View; +import android.widget.ImageView; +import android.widget.LinearLayout; +import android.widget.ProgressBar; +import android.widget.Space; import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; -import com.facebook.drawee.span.SimpleDraweeSpanTextView; -/* compiled from: ViewUsernameBinding */ +import com.discord.views.VoiceUserView; +import com.discord.views.calls.AppVideoStreamRenderer; +import com.facebook.drawee.view.SimpleDraweeView; +/* compiled from: ViewVideoCallParticipantBinding */ public final class b4 implements ViewBinding { @NonNull public final View a; @NonNull - public final TextView b; + public final View b; @NonNull /* renamed from: c reason: collision with root package name */ - public final SimpleDraweeSpanTextView f72c; + public final View f71c; + @NonNull + public final ImageView d; + @NonNull + public final ConstraintLayout e; + @NonNull + public final ImageView f; + @NonNull + public final TextView g; + @NonNull + public final TextView h; + @NonNull + public final TextView i; + @NonNull + public final ImageView j; + @NonNull + public final ConstraintLayout k; + @NonNull + public final TextView l; + @NonNull + public final SimpleDraweeView m; + @NonNull + public final TextView n; + @NonNull + public final TextView o; + @NonNull + public final ProgressBar p; + @NonNull + public final AppVideoStreamRenderer q; + @NonNull + public final LinearLayout r; + @NonNull - public b4(@NonNull View view, @NonNull TextView textView, @NonNull SimpleDraweeSpanTextView simpleDraweeSpanTextView) { + /* renamed from: s reason: collision with root package name */ + public final VoiceUserView f72s; + + public b4(@NonNull View view, @NonNull View view2, @NonNull View view3, @NonNull ImageView imageView, @NonNull ConstraintLayout constraintLayout, @NonNull Space space, @NonNull ImageView imageView2, @NonNull TextView textView, @NonNull LinearLayout linearLayout, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull ImageView imageView3, @NonNull ConstraintLayout constraintLayout2, @NonNull ImageView imageView4, @NonNull TextView textView4, @NonNull TextView textView5, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView6, @NonNull TextView textView7, @NonNull ProgressBar progressBar, @NonNull AppVideoStreamRenderer appVideoStreamRenderer, @NonNull LinearLayout linearLayout2, @NonNull VoiceUserView voiceUserView) { this.a = view; - this.b = textView; - this.f72c = simpleDraweeSpanTextView; + this.b = view2; + this.f71c = view3; + this.d = imageView; + this.e = constraintLayout; + this.f = imageView2; + this.g = textView; + this.h = textView2; + this.i = textView3; + this.j = imageView3; + this.k = constraintLayout2; + this.l = textView5; + this.m = simpleDraweeView; + this.n = textView6; + this.o = textView7; + this.p = progressBar; + this.q = appVideoStreamRenderer; + this.r = linearLayout2; + this.f72s = voiceUserView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/b5.java b/app/src/main/java/c/a/i/b5.java index 4a1217a7af..78fe4630cd 100644 --- a/app/src/main/java/c/a/i/b5.java +++ b/app/src/main/java/c/a/i/b5.java @@ -1,25 +1,33 @@ package c.a.i; import android.view.View; +import android.view.ViewStub; import androidx.annotation.NonNull; +import androidx.constraintlayout.widget.ConstraintLayout; import androidx.fragment.app.FragmentContainerView; import androidx.viewbinding.ViewBinding; -import com.discord.utilities.view.rounded.RoundedRelativeLayout; -/* compiled from: WidgetHomePanelCenterBinding */ +import com.google.android.material.appbar.AppBarLayout; +/* compiled from: WidgetHomePanelCenterChatBinding */ public final class b5 implements ViewBinding { @NonNull - public final RoundedRelativeLayout a; + public final ConstraintLayout a; @NonNull - public final c5 b; + public final ViewStub b; @NonNull /* renamed from: c reason: collision with root package name */ - public final FragmentContainerView f73c; + public final c5 f73c; + @NonNull + public final FragmentContainerView d; + @NonNull + public final FragmentContainerView e; - public b5(@NonNull RoundedRelativeLayout roundedRelativeLayout, @NonNull c5 c5Var, @NonNull FragmentContainerView fragmentContainerView) { - this.a = roundedRelativeLayout; - this.b = c5Var; - this.f73c = fragmentContainerView; + public b5(@NonNull ConstraintLayout constraintLayout, @NonNull AppBarLayout appBarLayout, @NonNull ViewStub viewStub, @NonNull ViewStub viewStub2, @NonNull c5 c5Var, @NonNull View view, @NonNull FragmentContainerView fragmentContainerView, @NonNull FragmentContainerView fragmentContainerView2, @NonNull FragmentContainerView fragmentContainerView3, @NonNull FragmentContainerView fragmentContainerView4, @NonNull ConstraintLayout constraintLayout2, @NonNull FragmentContainerView fragmentContainerView5, @NonNull FragmentContainerView fragmentContainerView6) { + this.a = constraintLayout; + this.b = viewStub2; + this.f73c = c5Var; + this.d = fragmentContainerView; + this.e = fragmentContainerView4; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/c4.java b/app/src/main/java/c/a/i/c4.java index 45133681e3..f8be0a54e5 100644 --- a/app/src/main/java/c/a/i/c4.java +++ b/app/src/main/java/c/a/i/c4.java @@ -2,81 +2,25 @@ package c.a.i; import android.view.View; import android.widget.ImageView; -import android.widget.LinearLayout; -import android.widget.ProgressBar; -import android.widget.Space; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; -import com.discord.views.VoiceUserView; -import com.discord.views.calls.AppVideoStreamRenderer; -import com.facebook.drawee.view.SimpleDraweeView; -/* compiled from: ViewVideoCallParticipantBinding */ +/* compiled from: ViewVoiceCallActiveEventBinding */ public final class c4 implements ViewBinding { @NonNull - public final View a; + public final ConstraintLayout a; @NonNull - public final View b; + public final TextView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final View f78c; - @NonNull - public final ImageView d; - @NonNull - public final ConstraintLayout e; - @NonNull - public final ImageView f; - @NonNull - public final TextView g; - @NonNull - public final TextView h; - @NonNull - public final TextView i; - @NonNull - public final ImageView j; - @NonNull - public final ConstraintLayout k; - @NonNull - public final TextView l; - @NonNull - public final SimpleDraweeView m; - @NonNull - public final TextView n; - @NonNull - public final TextView o; - @NonNull - public final ProgressBar p; - @NonNull - public final AppVideoStreamRenderer q; - @NonNull + public final TextView f78c; - /* renamed from: r reason: collision with root package name */ - public final LinearLayout f79r; - @NonNull - public final VoiceUserView s; - - public c4(@NonNull View view, @NonNull View view2, @NonNull View view3, @NonNull ImageView imageView, @NonNull ConstraintLayout constraintLayout, @NonNull Space space, @NonNull ImageView imageView2, @NonNull TextView textView, @NonNull LinearLayout linearLayout, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull ImageView imageView3, @NonNull ConstraintLayout constraintLayout2, @NonNull ImageView imageView4, @NonNull TextView textView4, @NonNull TextView textView5, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView6, @NonNull TextView textView7, @NonNull ProgressBar progressBar, @NonNull AppVideoStreamRenderer appVideoStreamRenderer, @NonNull LinearLayout linearLayout2, @NonNull VoiceUserView voiceUserView) { - this.a = view; - this.b = view2; - this.f78c = view3; - this.d = imageView; - this.e = constraintLayout; - this.f = imageView2; - this.g = textView; - this.h = textView2; - this.i = textView3; - this.j = imageView3; - this.k = constraintLayout2; - this.l = textView5; - this.m = simpleDraweeView; - this.n = textView6; - this.o = textView7; - this.p = progressBar; - this.q = appVideoStreamRenderer; - this.f79r = linearLayout2; - this.s = voiceUserView; + public c4(@NonNull ConstraintLayout constraintLayout, @NonNull TextView textView, @NonNull ImageView imageView, @NonNull TextView textView2) { + this.a = constraintLayout; + this.b = textView; + this.f78c = textView2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/c5.java b/app/src/main/java/c/a/i/c5.java index e1e9c73f03..71731596e7 100644 --- a/app/src/main/java/c/a/i/c5.java +++ b/app/src/main/java/c/a/i/c5.java @@ -1,33 +1,16 @@ package c.a.i; import android.view.View; -import android.view.ViewStub; +import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.constraintlayout.widget.ConstraintLayout; -import androidx.fragment.app.FragmentContainerView; import androidx.viewbinding.ViewBinding; -import com.google.android.material.appbar.AppBarLayout; -/* compiled from: WidgetHomePanelCenterChatBinding */ +/* compiled from: WidgetHomePanelCenterContentUnreadBinding */ public final class c5 implements ViewBinding { @NonNull - public final ConstraintLayout a; - @NonNull - public final ViewStub b; - @NonNull + public final TextView a; - /* renamed from: c reason: collision with root package name */ - public final d5 f80c; - @NonNull - public final FragmentContainerView d; - @NonNull - public final FragmentContainerView e; - - public c5(@NonNull ConstraintLayout constraintLayout, @NonNull AppBarLayout appBarLayout, @NonNull ViewStub viewStub, @NonNull ViewStub viewStub2, @NonNull d5 d5Var, @NonNull View view, @NonNull FragmentContainerView fragmentContainerView, @NonNull FragmentContainerView fragmentContainerView2, @NonNull FragmentContainerView fragmentContainerView3, @NonNull FragmentContainerView fragmentContainerView4, @NonNull ConstraintLayout constraintLayout2, @NonNull FragmentContainerView fragmentContainerView5, @NonNull FragmentContainerView fragmentContainerView6) { - this.a = constraintLayout; - this.b = viewStub2; - this.f80c = d5Var; - this.d = fragmentContainerView; - this.e = fragmentContainerView4; + public c5(@NonNull TextView textView, @NonNull TextView textView2) { + this.a = textView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/d.java b/app/src/main/java/c/a/i/d.java index 63540f14cd..740fe322a2 100644 --- a/app/src/main/java/c/a/i/d.java +++ b/app/src/main/java/c/a/i/d.java @@ -15,14 +15,14 @@ public final class d implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final SimpleDraweeView f81c; + public final SimpleDraweeView f79c; @NonNull public final MaterialTextView d; public d(@NonNull ConstraintLayout constraintLayout, @NonNull MaterialTextView materialTextView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull MaterialTextView materialTextView2) { this.a = constraintLayout; this.b = materialTextView; - this.f81c = simpleDraweeView; + this.f79c = simpleDraweeView; this.d = materialTextView2; } diff --git a/app/src/main/java/c/a/i/d0.java b/app/src/main/java/c/a/i/d0.java index b0d8b088b5..88a474db9d 100644 --- a/app/src/main/java/c/a/i/d0.java +++ b/app/src/main/java/c/a/i/d0.java @@ -16,7 +16,7 @@ public final class d0 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final LoadingButton f82c; + public final LoadingButton f80c; @NonNull public final View d; @NonNull @@ -25,7 +25,7 @@ public final class d0 implements ViewBinding { public d0(@NonNull ConstraintLayout constraintLayout, @NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull LoadingButton loadingButton, @NonNull View view, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull h0 h0Var) { this.a = constraintLayout; this.b = textView; - this.f82c = loadingButton; + this.f80c = loadingButton; this.d = view; this.e = h0Var; } diff --git a/app/src/main/java/c/a/i/d1.java b/app/src/main/java/c/a/i/d1.java index cdb718f79b..33dd56bd9e 100644 --- a/app/src/main/java/c/a/i/d1.java +++ b/app/src/main/java/c/a/i/d1.java @@ -13,7 +13,7 @@ public final class d1 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final MaterialButton f83c; + public final MaterialButton f81c; @NonNull public final MaterialButton d; @NonNull @@ -22,7 +22,7 @@ public final class d1 implements ViewBinding { public d1(@NonNull View view, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull MaterialButton materialButton3, @NonNull MaterialButton materialButton4) { this.a = view; this.b = materialButton; - this.f83c = materialButton2; + this.f81c = materialButton2; this.d = materialButton3; this.e = materialButton4; } diff --git a/app/src/main/java/c/a/i/d3.java b/app/src/main/java/c/a/i/d3.java index f07fd84869..98983eca52 100644 --- a/app/src/main/java/c/a/i/d3.java +++ b/app/src/main/java/c/a/i/d3.java @@ -15,7 +15,7 @@ public final class d3 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f84c; + public final TextView f82c; @NonNull public final ImageView d; @NonNull @@ -24,7 +24,7 @@ public final class d3 implements ViewBinding { public d3(@NonNull LinearLayout linearLayout, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull ImageView imageView2, @NonNull TextView textView2) { this.a = linearLayout; this.b = imageView; - this.f84c = textView; + this.f82c = textView; this.d = imageView2; this.e = textView2; } diff --git a/app/src/main/java/c/a/i/d4.java b/app/src/main/java/c/a/i/d4.java index cea15c2238..7d708df235 100644 --- a/app/src/main/java/c/a/i/d4.java +++ b/app/src/main/java/c/a/i/d4.java @@ -1,26 +1,25 @@ package c.a.i; import android.view.View; -import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; -/* compiled from: ViewVoiceCallActiveEventBinding */ +import com.facebook.drawee.view.SimpleDraweeView; +/* compiled from: ViewVoiceUserBinding */ public final class d4 implements ViewBinding { @NonNull - public final ConstraintLayout a; + public final View a; @NonNull - public final TextView b; + public final SimpleDraweeView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f85c; + public final TextView f83c; - public d4(@NonNull ConstraintLayout constraintLayout, @NonNull TextView textView, @NonNull ImageView imageView, @NonNull TextView textView2) { - this.a = constraintLayout; - this.b = textView; - this.f85c = textView2; + public d4(@NonNull View view, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView) { + this.a = view; + this.b = simpleDraweeView; + this.f83c = textView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/d5.java b/app/src/main/java/c/a/i/d5.java index 22844c329f..6873696b41 100644 --- a/app/src/main/java/c/a/i/d5.java +++ b/app/src/main/java/c/a/i/d5.java @@ -1,16 +1,27 @@ package c.a.i; import android.view.View; +import android.widget.FrameLayout; +import android.widget.RelativeLayout; import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.fragment.app.FragmentContainerView; import androidx.viewbinding.ViewBinding; -/* compiled from: WidgetHomePanelCenterContentUnreadBinding */ +/* compiled from: WidgetHomePanelLeftBinding */ public final class d5 implements ViewBinding { @NonNull - public final TextView a; + public final RelativeLayout a; + @NonNull + public final TextView b; + @NonNull - public d5(@NonNull TextView textView, @NonNull TextView textView2) { - this.a = textView; + /* renamed from: c reason: collision with root package name */ + public final FragmentContainerView f84c; + + public d5(@NonNull RelativeLayout relativeLayout, @NonNull TextView textView, @NonNull FragmentContainerView fragmentContainerView, @NonNull FragmentContainerView fragmentContainerView2, @NonNull FrameLayout frameLayout) { + this.a = relativeLayout; + this.b = textView; + this.f84c = fragmentContainerView2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/e.java b/app/src/main/java/c/a/i/e.java index 9fbcc82919..58b722bffc 100644 --- a/app/src/main/java/c/a/i/e.java +++ b/app/src/main/java/c/a/i/e.java @@ -15,12 +15,12 @@ public final class e implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final MaterialButton f86c; + public final MaterialButton f85c; public e(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull LinearLayout linearLayout2) { this.a = linearLayout; this.b = textView; - this.f86c = materialButton; + this.f85c = materialButton; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/e0.java b/app/src/main/java/c/a/i/e0.java index 014eb7bb28..ddb5ce0376 100644 --- a/app/src/main/java/c/a/i/e0.java +++ b/app/src/main/java/c/a/i/e0.java @@ -17,7 +17,7 @@ public final class e0 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextInputLayout f87c; + public final TextInputLayout f86c; @NonNull public final LoadingButton d; @NonNull @@ -26,7 +26,7 @@ public final class e0 implements ViewBinding { public e0(@NonNull ConstraintLayout constraintLayout, @NonNull TextInputEditText textInputEditText, @NonNull TextInputLayout textInputLayout, @NonNull LoadingButton loadingButton, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextView textView3) { this.a = constraintLayout; this.b = textInputEditText; - this.f87c = textInputLayout; + this.f86c = textInputLayout; this.d = loadingButton; this.e = textView; } diff --git a/app/src/main/java/c/a/i/e2.java b/app/src/main/java/c/a/i/e2.java index 55b0917450..6634024074 100644 --- a/app/src/main/java/c/a/i/e2.java +++ b/app/src/main/java/c/a/i/e2.java @@ -15,7 +15,7 @@ public final class e2 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final Spinner f88c; + public final Spinner f87c; @NonNull public final TextView d; @NonNull @@ -26,7 +26,7 @@ public final class e2 implements ViewBinding { public e2(@NonNull View view, @NonNull TextView textView, @NonNull Spinner spinner, @NonNull MaterialCardView materialCardView, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull TextView textView4) { this.a = view; this.b = textView; - this.f88c = spinner; + this.f87c = spinner; this.d = textView2; this.e = textView3; this.f = textView4; diff --git a/app/src/main/java/c/a/i/e3.java b/app/src/main/java/c/a/i/e3.java index 8c1e54381a..2095a177fd 100644 --- a/app/src/main/java/c/a/i/e3.java +++ b/app/src/main/java/c/a/i/e3.java @@ -16,7 +16,7 @@ public final class e3 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextInputLayout f89c; + public final TextInputLayout f88c; @NonNull public final SimpleDraweeView d; @NonNull @@ -27,7 +27,7 @@ public final class e3 implements ViewBinding { public e3(@NonNull ConstraintLayout constraintLayout, @NonNull TextView textView, @NonNull TextInputLayout textInputLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull ConstraintLayout constraintLayout2, @NonNull TextView textView2, @NonNull TextView textView3) { this.a = constraintLayout; this.b = textView; - this.f89c = textInputLayout; + this.f88c = textInputLayout; this.d = simpleDraweeView; this.e = textView2; this.f = textView3; diff --git a/app/src/main/java/c/a/i/e4.java b/app/src/main/java/c/a/i/e4.java index a309444554..607c833c9a 100644 --- a/app/src/main/java/c/a/i/e4.java +++ b/app/src/main/java/c/a/i/e4.java @@ -4,22 +4,21 @@ import android.view.View; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.facebook.drawee.view.SimpleDraweeView; -/* compiled from: ViewVoiceUserBinding */ +/* compiled from: VoiceUserLimitViewBinding */ public final class e4 implements ViewBinding { @NonNull public final View a; @NonNull - public final SimpleDraweeView b; + public final TextView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f90c; + public final TextView f89c; - public e4(@NonNull View view, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView) { + public e4(@NonNull View view, @NonNull TextView textView, @NonNull TextView textView2) { this.a = view; - this.b = simpleDraweeView; - this.f90c = textView; + this.b = textView; + this.f89c = textView2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/e5.java b/app/src/main/java/c/a/i/e5.java index 3ab5bd0a80..ca622ed5f8 100644 --- a/app/src/main/java/c/a/i/e5.java +++ b/app/src/main/java/c/a/i/e5.java @@ -2,26 +2,19 @@ package c.a.i; import android.view.View; import android.widget.FrameLayout; -import android.widget.RelativeLayout; -import android.widget.TextView; +import android.widget.ImageView; import androidx.annotation.NonNull; -import androidx.fragment.app.FragmentContainerView; import androidx.viewbinding.ViewBinding; -/* compiled from: WidgetHomePanelLeftBinding */ +/* compiled from: WidgetHomePanelLoadingBinding */ public final class e5 implements ViewBinding { @NonNull - public final RelativeLayout a; - @NonNull - public final TextView b; + public final FrameLayout a; @NonNull + public final ImageView b; - /* renamed from: c reason: collision with root package name */ - public final FragmentContainerView f91c; - - public e5(@NonNull RelativeLayout relativeLayout, @NonNull TextView textView, @NonNull FragmentContainerView fragmentContainerView, @NonNull FragmentContainerView fragmentContainerView2, @NonNull FrameLayout frameLayout) { - this.a = relativeLayout; - this.b = textView; - this.f91c = fragmentContainerView2; + public e5(@NonNull FrameLayout frameLayout, @NonNull ImageView imageView) { + this.a = frameLayout; + this.b = imageView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/f.java b/app/src/main/java/c/a/i/f.java index e91d87b2b4..6e2e7e088a 100644 --- a/app/src/main/java/c/a/i/f.java +++ b/app/src/main/java/c/a/i/f.java @@ -13,12 +13,12 @@ public final class f implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f92c; + public final TextView f90c; public f(@NonNull View view, @NonNull TextView textView, @NonNull TextView textView2) { this.a = view; this.b = textView; - this.f92c = textView2; + this.f90c = textView2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/f0.java b/app/src/main/java/c/a/i/f0.java index b8f4504ec0..40bd8f8dd0 100644 --- a/app/src/main/java/c/a/i/f0.java +++ b/app/src/main/java/c/a/i/f0.java @@ -17,12 +17,12 @@ public final class f0 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final LoadingButton f93c; + public final LoadingButton f91c; public f0(@NonNull ConstraintLayout constraintLayout, @NonNull RecyclerView recyclerView, @NonNull LoadingButton loadingButton, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView) { this.a = constraintLayout; this.b = recyclerView; - this.f93c = loadingButton; + this.f91c = loadingButton; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/f1.java b/app/src/main/java/c/a/i/f1.java index 7bef231e4f..2bbf6d0827 100644 --- a/app/src/main/java/c/a/i/f1.java +++ b/app/src/main/java/c/a/i/f1.java @@ -16,7 +16,7 @@ public final class f1 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f94c; + public final TextView f92c; @NonNull public final TextSwitcher d; @NonNull @@ -25,7 +25,7 @@ public final class f1 implements ViewBinding { public f1(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextSwitcher textSwitcher, @NonNull SimpleDraweeSpanTextView simpleDraweeSpanTextView) { this.a = linearLayout; this.b = textView; - this.f94c = textView2; + this.f92c = textView2; this.d = textSwitcher; this.e = simpleDraweeSpanTextView; } diff --git a/app/src/main/java/c/a/i/f2.java b/app/src/main/java/c/a/i/f2.java index f1b1890033..b9301be255 100644 --- a/app/src/main/java/c/a/i/f2.java +++ b/app/src/main/java/c/a/i/f2.java @@ -14,12 +14,12 @@ public final class f2 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f95c; + public final TextView f93c; public f2(@NonNull View view, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView) { this.a = view; this.b = simpleDraweeView; - this.f95c = textView; + this.f93c = textView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/f3.java b/app/src/main/java/c/a/i/f3.java index 6403c7898e..c5d03dc8df 100644 --- a/app/src/main/java/c/a/i/f3.java +++ b/app/src/main/java/c/a/i/f3.java @@ -14,12 +14,12 @@ public final class f3 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final CheckedSetting f96c; + public final CheckedSetting f94c; public f3(@NonNull LinearLayout linearLayout, @NonNull CheckedSetting checkedSetting, @NonNull CheckedSetting checkedSetting2) { this.a = linearLayout; this.b = checkedSetting; - this.f96c = checkedSetting2; + this.f94c = checkedSetting2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/f4.java b/app/src/main/java/c/a/i/f4.java index 71ce7c6498..30d3dfbd74 100644 --- a/app/src/main/java/c/a/i/f4.java +++ b/app/src/main/java/c/a/i/f4.java @@ -1,24 +1,28 @@ package c.a.i; import android.view.View; -import android.widget.TextView; +import android.widget.ImageView; +import android.widget.SeekBar; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -/* compiled from: VoiceUserLimitViewBinding */ +/* compiled from: VolumeSliderViewBinding */ public final class f4 implements ViewBinding { @NonNull public final View a; @NonNull - public final TextView b; + public final ImageView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f97c; + public final ImageView f95c; + @NonNull + public final SeekBar d; - public f4(@NonNull View view, @NonNull TextView textView, @NonNull TextView textView2) { + public f4(@NonNull View view, @NonNull ImageView imageView, @NonNull ImageView imageView2, @NonNull SeekBar seekBar) { this.a = view; - this.b = textView; - this.f97c = textView2; + this.b = imageView; + this.f95c = imageView2; + this.d = seekBar; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/f5.java b/app/src/main/java/c/a/i/f5.java index 10479ff292..539716b034 100644 --- a/app/src/main/java/c/a/i/f5.java +++ b/app/src/main/java/c/a/i/f5.java @@ -2,19 +2,25 @@ package c.a.i; import android.view.View; import android.widget.FrameLayout; -import android.widget.ImageView; import androidx.annotation.NonNull; +import androidx.fragment.app.FragmentContainerView; import androidx.viewbinding.ViewBinding; -/* compiled from: WidgetHomePanelLoadingBinding */ +import com.discord.utilities.view.rounded.RoundedRelativeLayout; +/* compiled from: WidgetHomePanelRightBinding */ public final class f5 implements ViewBinding { @NonNull public final FrameLayout a; @NonNull - public final ImageView b; + public final RoundedRelativeLayout b; + @NonNull - public f5(@NonNull FrameLayout frameLayout, @NonNull ImageView imageView) { + /* renamed from: c reason: collision with root package name */ + public final FragmentContainerView f96c; + + public f5(@NonNull FrameLayout frameLayout, @NonNull RoundedRelativeLayout roundedRelativeLayout, @NonNull FragmentContainerView fragmentContainerView, @NonNull FragmentContainerView fragmentContainerView2, @NonNull FragmentContainerView fragmentContainerView3) { this.a = frameLayout; - this.b = imageView; + this.b = roundedRelativeLayout; + this.f96c = fragmentContainerView3; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/g.java b/app/src/main/java/c/a/i/g.java index bdab042fc4..c599fdac30 100644 --- a/app/src/main/java/c/a/i/g.java +++ b/app/src/main/java/c/a/i/g.java @@ -15,7 +15,7 @@ public final class g implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f98c; + public final TextView f97c; @NonNull public final SimpleDraweeView d; @NonNull @@ -24,7 +24,7 @@ public final class g implements ViewBinding { public g(@NonNull View view, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView2) { this.a = view; this.b = imageView; - this.f98c = textView; + this.f97c = textView; this.d = simpleDraweeView; this.e = textView2; } diff --git a/app/src/main/java/c/a/i/g0.java b/app/src/main/java/c/a/i/g0.java index 3de58be2af..dc20c6d614 100644 --- a/app/src/main/java/c/a/i/g0.java +++ b/app/src/main/java/c/a/i/g0.java @@ -15,12 +15,12 @@ public final class g0 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final MaterialButton f99c; + public final MaterialButton f98c; public g0(@NonNull ConstraintLayout constraintLayout, @NonNull TextView textView, @NonNull TextView textView2, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2) { this.a = constraintLayout; this.b = materialButton; - this.f99c = materialButton2; + this.f98c = materialButton2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/g1.java b/app/src/main/java/c/a/i/g1.java index 3ba902e7c9..a6332b5b6d 100644 --- a/app/src/main/java/c/a/i/g1.java +++ b/app/src/main/java/c/a/i/g1.java @@ -14,12 +14,12 @@ public final class g1 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextInputEditText f100c; + public final TextInputEditText f99c; public g1(@NonNull View view, @NonNull ImageView imageView, @NonNull TextInputEditText textInputEditText) { this.a = view; this.b = imageView; - this.f100c = textInputEditText; + this.f99c = textInputEditText; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/g3.java b/app/src/main/java/c/a/i/g3.java index ce0a206a5a..1fa82bea53 100644 --- a/app/src/main/java/c/a/i/g3.java +++ b/app/src/main/java/c/a/i/g3.java @@ -2,19 +2,34 @@ package c.a.i; import android.view.View; import android.widget.LinearLayout; +import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.discord.utilities.view.text.LinkifiedTextView; -/* compiled from: ViewServerSettingsRegionHelpBinding */ +import com.discord.views.CheckedSetting; +/* compiled from: ViewServerSettingsSystemChannelWrapBinding */ public final class g3 implements ViewBinding { @NonNull public final LinearLayout a; @NonNull - public final LinkifiedTextView b; + public final TextView b; + @NonNull - public g3(@NonNull LinearLayout linearLayout, @NonNull LinkifiedTextView linkifiedTextView, @NonNull LinearLayout linearLayout2) { + /* renamed from: c reason: collision with root package name */ + public final CheckedSetting f100c; + @NonNull + public final CheckedSetting d; + @NonNull + public final CheckedSetting e; + @NonNull + public final LinearLayout f; + + public g3(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull CheckedSetting checkedSetting, @NonNull CheckedSetting checkedSetting2, @NonNull CheckedSetting checkedSetting3, @NonNull LinearLayout linearLayout2) { this.a = linearLayout; - this.b = linkifiedTextView; + this.b = textView; + this.f100c = checkedSetting; + this.d = checkedSetting2; + this.e = checkedSetting3; + this.f = linearLayout2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/g4.java b/app/src/main/java/c/a/i/g4.java index 4cd10d4b2c..acde7625e2 100644 --- a/app/src/main/java/c/a/i/g4.java +++ b/app/src/main/java/c/a/i/g4.java @@ -1,28 +1,48 @@ package c.a.i; import android.view.View; -import android.widget.ImageView; -import android.widget.SeekBar; +import android.widget.LinearLayout; +import android.widget.ProgressBar; +import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -/* compiled from: VolumeSliderViewBinding */ +import com.discord.app.AppViewFlipper; +import com.discord.utilities.view.text.LinkifiedTextView; +import com.facebook.drawee.view.SimpleDraweeView; +import com.google.android.material.button.MaterialButton; +/* compiled from: WidgetAcceptGiftDialogBinding */ public final class g4 implements ViewBinding { @NonNull - public final View a; + public final LinearLayout a; @NonNull - public final ImageView b; + public final SimpleDraweeView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final ImageView f101c; + public final TextView f101c; @NonNull - public final SeekBar d; + public final MaterialButton d; + @NonNull + public final LinearLayout e; + @NonNull + public final LinkifiedTextView f; + @NonNull + public final AppViewFlipper g; + @NonNull + public final TextView h; + @NonNull + public final ProgressBar i; - public g4(@NonNull View view, @NonNull ImageView imageView, @NonNull ImageView imageView2, @NonNull SeekBar seekBar) { - this.a = view; - this.b = imageView; - this.f101c = imageView2; - this.d = seekBar; + public g4(@NonNull LinearLayout linearLayout, @NonNull LinearLayout linearLayout2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull LinearLayout linearLayout3, @NonNull LinkifiedTextView linkifiedTextView, @NonNull AppViewFlipper appViewFlipper, @NonNull TextView textView2, @NonNull ProgressBar progressBar) { + this.a = linearLayout; + this.b = simpleDraweeView; + this.f101c = textView; + this.d = materialButton; + this.e = linearLayout3; + this.f = linkifiedTextView; + this.g = appViewFlipper; + this.h = textView2; + this.i = progressBar; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/g5.java b/app/src/main/java/c/a/i/g5.java index 4b32c4d627..366b0f3c44 100644 --- a/app/src/main/java/c/a/i/g5.java +++ b/app/src/main/java/c/a/i/g5.java @@ -1,26 +1,29 @@ package c.a.i; import android.view.View; -import android.widget.FrameLayout; +import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.fragment.app.FragmentContainerView; +import androidx.core.widget.NestedScrollView; import androidx.viewbinding.ViewBinding; -import com.discord.utilities.view.rounded.RoundedRelativeLayout; -/* compiled from: WidgetHomePanelRightBinding */ +import com.discord.utilities.view.text.LinkifiedTextView; +/* compiled from: WidgetHubEmailFlowConfirmationBinding */ public final class g5 implements ViewBinding { @NonNull - public final FrameLayout a; + public final NestedScrollView a; @NonNull - public final RoundedRelativeLayout b; + public final LinkifiedTextView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final FragmentContainerView f102c; + public final TextView f102c; + @NonNull + public final LinkifiedTextView d; - public g5(@NonNull FrameLayout frameLayout, @NonNull RoundedRelativeLayout roundedRelativeLayout, @NonNull FragmentContainerView fragmentContainerView, @NonNull FragmentContainerView fragmentContainerView2, @NonNull FragmentContainerView fragmentContainerView3) { - this.a = frameLayout; - this.b = roundedRelativeLayout; - this.f102c = fragmentContainerView3; + public g5(@NonNull NestedScrollView nestedScrollView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView, @NonNull LinkifiedTextView linkifiedTextView2) { + this.a = nestedScrollView; + this.b = linkifiedTextView; + this.f102c = textView; + this.d = linkifiedTextView2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/h3.java b/app/src/main/java/c/a/i/h3.java index ebda12038a..8e2bff5a7b 100644 --- a/app/src/main/java/c/a/i/h3.java +++ b/app/src/main/java/c/a/i/h3.java @@ -1,35 +1,44 @@ package c.a.i; import android.view.View; +import android.widget.FrameLayout; import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.discord.views.CheckedSetting; -/* compiled from: ViewServerSettingsSystemChannelWrapBinding */ +import com.discord.utilities.view.text.LinkifiedTextView; +import com.facebook.drawee.view.SimpleDraweeView; +import com.google.android.material.floatingactionbutton.FloatingActionButton; +/* compiled from: ViewServerSettingsUploadBannerBinding */ public final class h3 implements ViewBinding { @NonNull public final LinearLayout a; @NonNull - public final TextView b; + public final FrameLayout b; @NonNull /* renamed from: c reason: collision with root package name */ - public final CheckedSetting f106c; + public final TextView f106c; @NonNull - public final CheckedSetting d; + public final SimpleDraweeView d; @NonNull - public final CheckedSetting e; + public final FloatingActionButton e; @NonNull - public final LinearLayout f; + public final LinkifiedTextView f; + @NonNull + public final TextView g; + @NonNull + public final TextView h; - public h3(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull CheckedSetting checkedSetting, @NonNull CheckedSetting checkedSetting2, @NonNull CheckedSetting checkedSetting3, @NonNull LinearLayout linearLayout2) { + public h3(@NonNull LinearLayout linearLayout, @NonNull FrameLayout frameLayout, @NonNull TextView textView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull FloatingActionButton floatingActionButton, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView2, @NonNull TextView textView3) { this.a = linearLayout; - this.b = textView; - this.f106c = checkedSetting; - this.d = checkedSetting2; - this.e = checkedSetting3; - this.f = linearLayout2; + this.b = frameLayout; + this.f106c = textView; + this.d = simpleDraweeView; + this.e = floatingActionButton; + this.f = linkifiedTextView; + this.g = textView2; + this.h = textView3; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/h4.java b/app/src/main/java/c/a/i/h4.java index 061f5b53e3..ce334739e4 100644 --- a/app/src/main/java/c/a/i/h4.java +++ b/app/src/main/java/c/a/i/h4.java @@ -2,47 +2,26 @@ package c.a.i; import android.view.View; import android.widget.LinearLayout; -import android.widget.ProgressBar; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.discord.app.AppViewFlipper; import com.discord.utilities.view.text.LinkifiedTextView; -import com.facebook.drawee.view.SimpleDraweeView; import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetAcceptGiftDialogBinding */ +/* compiled from: WidgetAuthMfaInfoBinding */ public final class h4 implements ViewBinding { @NonNull public final LinearLayout a; @NonNull - public final SimpleDraweeView b; + public final MaterialButton b; @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f107c; - @NonNull - public final MaterialButton d; - @NonNull - public final LinearLayout e; - @NonNull - public final LinkifiedTextView f; - @NonNull - public final AppViewFlipper g; - @NonNull - public final TextView h; - @NonNull - public final ProgressBar i; + public final LinkifiedTextView f107c; - public h4(@NonNull LinearLayout linearLayout, @NonNull LinearLayout linearLayout2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull LinearLayout linearLayout3, @NonNull LinkifiedTextView linkifiedTextView, @NonNull AppViewFlipper appViewFlipper, @NonNull TextView textView2, @NonNull ProgressBar progressBar) { + public h4(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull LinkifiedTextView linkifiedTextView) { this.a = linearLayout; - this.b = simpleDraweeView; - this.f107c = textView; - this.d = materialButton; - this.e = linearLayout3; - this.f = linkifiedTextView; - this.g = appViewFlipper; - this.h = textView2; - this.i = progressBar; + this.b = materialButton; + this.f107c = linkifiedTextView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/h5.java b/app/src/main/java/c/a/i/h5.java index ba90e9e7e2..78710b9900 100644 --- a/app/src/main/java/c/a/i/h5.java +++ b/app/src/main/java/c/a/i/h5.java @@ -5,25 +5,16 @@ import android.widget.TextView; import androidx.annotation.NonNull; import androidx.core.widget.NestedScrollView; import androidx.viewbinding.ViewBinding; -import com.discord.utilities.view.text.LinkifiedTextView; -/* compiled from: WidgetHubEmailFlowConfirmationBinding */ +/* compiled from: WidgetHubEmailFlowWaitlistBinding */ public final class h5 implements ViewBinding { @NonNull public final NestedScrollView a; @NonNull - public final LinkifiedTextView b; - @NonNull + public final TextView b; - /* renamed from: c reason: collision with root package name */ - public final TextView f108c; - @NonNull - public final LinkifiedTextView d; - - public h5(@NonNull NestedScrollView nestedScrollView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView, @NonNull LinkifiedTextView linkifiedTextView2) { + public h5(@NonNull NestedScrollView nestedScrollView, @NonNull TextView textView) { this.a = nestedScrollView; - this.b = linkifiedTextView; - this.f108c = textView; - this.d = linkifiedTextView2; + this.b = textView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/i2.java b/app/src/main/java/c/a/i/i2.java index 8ce3aa55e8..7ea87c6a24 100644 --- a/app/src/main/java/c/a/i/i2.java +++ b/app/src/main/java/c/a/i/i2.java @@ -16,14 +16,14 @@ public final class i2 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final MaterialButton f109c; + public final MaterialButton f108c; @NonNull public final TextView d; public i2(@NonNull LinearLayout linearLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull MaterialButton materialButton, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextView textView3) { this.a = linearLayout; this.b = simpleDraweeView; - this.f109c = materialButton; + this.f108c = materialButton; this.d = textView3; } diff --git a/app/src/main/java/c/a/i/i3.java b/app/src/main/java/c/a/i/i3.java index 7a5fe09bc0..d14cc06c41 100644 --- a/app/src/main/java/c/a/i/i3.java +++ b/app/src/main/java/c/a/i/i3.java @@ -9,7 +9,7 @@ import androidx.viewbinding.ViewBinding; import com.discord.utilities.view.text.LinkifiedTextView; import com.facebook.drawee.view.SimpleDraweeView; import com.google.android.material.floatingactionbutton.FloatingActionButton; -/* compiled from: ViewServerSettingsUploadBannerBinding */ +/* compiled from: ViewServerSettingsUploadSplashBinding */ public final class i3 implements ViewBinding { @NonNull public final LinearLayout a; @@ -18,11 +18,11 @@ public final class i3 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f110c; + public final FloatingActionButton f109c; @NonNull - public final SimpleDraweeView d; + public final TextView d; @NonNull - public final FloatingActionButton e; + public final SimpleDraweeView e; @NonNull public final LinkifiedTextView f; @NonNull @@ -30,12 +30,12 @@ public final class i3 implements ViewBinding { @NonNull public final TextView h; - public i3(@NonNull LinearLayout linearLayout, @NonNull FrameLayout frameLayout, @NonNull TextView textView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull FloatingActionButton floatingActionButton, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView2, @NonNull TextView textView3) { + public i3(@NonNull LinearLayout linearLayout, @NonNull FrameLayout frameLayout, @NonNull FloatingActionButton floatingActionButton, @NonNull TextView textView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView2, @NonNull TextView textView3) { this.a = linearLayout; this.b = frameLayout; - this.f110c = textView; - this.d = simpleDraweeView; - this.e = floatingActionButton; + this.f109c = floatingActionButton; + this.d = textView; + this.e = simpleDraweeView; this.f = linkifiedTextView; this.g = textView2; this.h = textView3; diff --git a/app/src/main/java/c/a/i/i4.java b/app/src/main/java/c/a/i/i4.java index 2a1ed0a61b..fb40542a00 100644 --- a/app/src/main/java/c/a/i/i4.java +++ b/app/src/main/java/c/a/i/i4.java @@ -1,27 +1,18 @@ package c.a.i; import android.view.View; -import android.widget.LinearLayout; -import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.discord.utilities.view.text.LinkifiedTextView; -import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetAuthMfaInfoBinding */ +/* compiled from: WidgetCallFullscreenAudioShareWarningBinding */ public final class i4 implements ViewBinding { @NonNull - public final LinearLayout a; - @NonNull - public final MaterialButton b; + public final View a; @NonNull + public final View b; - /* renamed from: c reason: collision with root package name */ - public final LinkifiedTextView f111c; - - public i4(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull LinkifiedTextView linkifiedTextView) { - this.a = linearLayout; - this.b = materialButton; - this.f111c = linkifiedTextView; + public i4(@NonNull View view, @NonNull View view2) { + this.a = view; + this.b = view2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/i5.java b/app/src/main/java/c/a/i/i5.java index e6eddfbbb5..0fc9f11be7 100644 --- a/app/src/main/java/c/a/i/i5.java +++ b/app/src/main/java/c/a/i/i5.java @@ -1,20 +1,32 @@ package c.a.i; import android.view.View; +import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.core.widget.NestedScrollView; import androidx.viewbinding.ViewBinding; -/* compiled from: WidgetHubEmailFlowWaitlistBinding */ +import com.google.android.material.button.MaterialButton; +/* compiled from: WidgetMaskedLinksDialogBinding */ public final class i5 implements ViewBinding { @NonNull - public final NestedScrollView a; + public final LinearLayout a; @NonNull public final TextView b; + @NonNull - public i5(@NonNull NestedScrollView nestedScrollView, @NonNull TextView textView) { - this.a = nestedScrollView; + /* renamed from: c reason: collision with root package name */ + public final MaterialButton f110c; + @NonNull + public final MaterialButton d; + @NonNull + public final TextView e; + + public i5(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView2, @NonNull TextView textView3) { + this.a = linearLayout; this.b = textView; + this.f110c = materialButton; + this.d = materialButton2; + this.e = textView2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/j0.java b/app/src/main/java/c/a/i/j0.java index 1556078356..6c80553022 100644 --- a/app/src/main/java/c/a/i/j0.java +++ b/app/src/main/java/c/a/i/j0.java @@ -18,12 +18,12 @@ public final class j0 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final Group f112c; + public final Group f111c; public j0(@NonNull ConstraintLayout constraintLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull ImageView imageView, @NonNull ImageView imageView2, @NonNull TextView textView, @NonNull ImageView imageView3, @NonNull Group group) { this.a = constraintLayout; this.b = simpleDraweeView; - this.f112c = group; + this.f111c = group; } @NonNull diff --git a/app/src/main/java/c/a/i/j1.java b/app/src/main/java/c/a/i/j1.java index a04a5badca..eedcbe6101 100644 --- a/app/src/main/java/c/a/i/j1.java +++ b/app/src/main/java/c/a/i/j1.java @@ -15,14 +15,14 @@ public final class j1 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final SimpleDraweeSpanTextView f113c; + public final SimpleDraweeSpanTextView f112c; @NonNull public final UsernameView d; public j1(@NonNull View view, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeSpanTextView simpleDraweeSpanTextView, @NonNull UsernameView usernameView) { this.a = view; this.b = simpleDraweeView; - this.f113c = simpleDraweeSpanTextView; + this.f112c = simpleDraweeSpanTextView; this.d = usernameView; } diff --git a/app/src/main/java/c/a/i/j2.java b/app/src/main/java/c/a/i/j2.java index eedaba2ea0..5d688a9700 100644 --- a/app/src/main/java/c/a/i/j2.java +++ b/app/src/main/java/c/a/i/j2.java @@ -17,14 +17,14 @@ public final class j2 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f114c; + public final TextView f113c; @NonNull public final LinkifiedTextView d; public j2(@NonNull ConstraintLayout constraintLayout, @NonNull GuildView guildView, @NonNull TextView textView, @NonNull LinkifiedTextView linkifiedTextView) { this.a = constraintLayout; this.b = guildView; - this.f114c = textView; + this.f113c = textView; this.d = linkifiedTextView; } diff --git a/app/src/main/java/c/a/i/j3.java b/app/src/main/java/c/a/i/j3.java index 78ad7edfa4..df887fe1cf 100644 --- a/app/src/main/java/c/a/i/j3.java +++ b/app/src/main/java/c/a/i/j3.java @@ -1,44 +1,25 @@ package c.a.i; import android.view.View; -import android.widget.FrameLayout; -import android.widget.LinearLayout; -import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; -import com.discord.utilities.view.text.LinkifiedTextView; -import com.facebook.drawee.view.SimpleDraweeView; -import com.google.android.material.floatingactionbutton.FloatingActionButton; -/* compiled from: ViewServerSettingsUploadSplashBinding */ +import com.google.android.material.checkbox.MaterialCheckBox; +/* compiled from: ViewSettingCheckBinding */ public final class j3 implements ViewBinding { @NonNull - public final LinearLayout a; + public final View a; @NonNull - public final FrameLayout b; + public final MaterialCheckBox b; @NonNull /* renamed from: c reason: collision with root package name */ - public final FloatingActionButton f115c; - @NonNull - public final TextView d; - @NonNull - public final SimpleDraweeView e; - @NonNull - public final LinkifiedTextView f; - @NonNull - public final TextView g; - @NonNull - public final TextView h; + public final ConstraintLayout f114c; - public j3(@NonNull LinearLayout linearLayout, @NonNull FrameLayout frameLayout, @NonNull FloatingActionButton floatingActionButton, @NonNull TextView textView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView2, @NonNull TextView textView3) { - this.a = linearLayout; - this.b = frameLayout; - this.f115c = floatingActionButton; - this.d = textView; - this.e = simpleDraweeView; - this.f = linkifiedTextView; - this.g = textView2; - this.h = textView3; + public j3(@NonNull View view, @NonNull MaterialCheckBox materialCheckBox, @NonNull ConstraintLayout constraintLayout) { + this.a = view; + this.b = materialCheckBox; + this.f114c = constraintLayout; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/j4.java b/app/src/main/java/c/a/i/j4.java index 2a5b526806..b53da177e4 100644 --- a/app/src/main/java/c/a/i/j4.java +++ b/app/src/main/java/c/a/i/j4.java @@ -1,18 +1,46 @@ package c.a.i; import android.view.View; +import android.widget.LinearLayout; +import android.widget.RelativeLayout; +import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -/* compiled from: WidgetCallFullscreenAudioShareWarningBinding */ +import com.discord.widgets.voice.fullscreen.grid.PrivateCallBlurredGridView; +import com.discord.widgets.voice.fullscreen.grid.PrivateCallGridView; +/* compiled from: WidgetCallFullscreenPrivateCallBinding */ public final class j4 implements ViewBinding { @NonNull - public final View a; + public final RelativeLayout a; + @NonNull + public final PrivateCallBlurredGridView b; @NonNull - public final View b; - public j4(@NonNull View view, @NonNull View view2) { - this.a = view; - this.b = view2; + /* renamed from: c reason: collision with root package name */ + public final TextView f115c; + @NonNull + public final RelativeLayout d; + @NonNull + public final LinearLayout e; + @NonNull + public final PrivateCallGridView f; + @NonNull + public final TextView g; + @NonNull + public final TextView h; + @NonNull + public final TextView i; + + public j4(@NonNull RelativeLayout relativeLayout, @NonNull PrivateCallBlurredGridView privateCallBlurredGridView, @NonNull TextView textView, @NonNull RelativeLayout relativeLayout2, @NonNull LinearLayout linearLayout, @NonNull PrivateCallGridView privateCallGridView, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull TextView textView4) { + this.a = relativeLayout; + this.b = privateCallBlurredGridView; + this.f115c = textView; + this.d = relativeLayout2; + this.e = linearLayout; + this.f = privateCallGridView; + this.g = textView2; + this.h = textView3; + this.i = textView4; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/j5.java b/app/src/main/java/c/a/i/j5.java index 91497c94f6..f36f5d4177 100644 --- a/app/src/main/java/c/a/i/j5.java +++ b/app/src/main/java/c/a/i/j5.java @@ -1,32 +1,16 @@ package c.a.i; import android.view.View; -import android.widget.LinearLayout; -import android.widget.TextView; +import android.widget.RadioButton; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetMaskedLinksDialogBinding */ +/* compiled from: WidgetMemberVerificationMultipleChoiceRadioItemBinding */ public final class j5 implements ViewBinding { @NonNull - public final LinearLayout a; - @NonNull - public final TextView b; - @NonNull + public final RadioButton a; - /* renamed from: c reason: collision with root package name */ - public final MaterialButton f116c; - @NonNull - public final MaterialButton d; - @NonNull - public final TextView e; - - public j5(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView2, @NonNull TextView textView3) { - this.a = linearLayout; - this.b = textView; - this.f116c = materialButton; - this.d = materialButton2; - this.e = textView2; + public j5(@NonNull RadioButton radioButton) { + this.a = radioButton; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/k.java b/app/src/main/java/c/a/i/k.java index 9313070b91..b025377dda 100644 --- a/app/src/main/java/c/a/i/k.java +++ b/app/src/main/java/c/a/i/k.java @@ -16,14 +16,14 @@ public final class k implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final DatePicker f117c; + public final DatePicker f116c; @NonNull public final TextView d; public k(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton, @NonNull DatePicker datePicker, @NonNull TextView textView) { this.a = linearLayout; this.b = materialButton; - this.f117c = datePicker; + this.f116c = datePicker; this.d = textView; } diff --git a/app/src/main/java/c/a/i/k0.java b/app/src/main/java/c/a/i/k0.java index e36856b5c8..19365c4664 100644 --- a/app/src/main/java/c/a/i/k0.java +++ b/app/src/main/java/c/a/i/k0.java @@ -15,7 +15,7 @@ public final class k0 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final View f118c; + public final View f117c; @NonNull public final TextView d; @NonNull @@ -28,7 +28,7 @@ public final class k0 implements ViewBinding { public k0(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton, @NonNull View view, @NonNull TextView textView, @NonNull TextView textView2, @NonNull LinearLayout linearLayout2, @NonNull TextView textView3) { this.a = linearLayout; this.b = materialButton; - this.f118c = view; + this.f117c = view; this.d = textView; this.e = textView2; this.f = linearLayout2; diff --git a/app/src/main/java/c/a/i/k1.java b/app/src/main/java/c/a/i/k1.java index 81c533d544..9963f7e463 100644 --- a/app/src/main/java/c/a/i/k1.java +++ b/app/src/main/java/c/a/i/k1.java @@ -15,14 +15,14 @@ public final class k1 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final ImageView f119c; + public final ImageView f118c; @NonNull public final TextView d; public k1(@NonNull View view, @NonNull LinearLayout linearLayout, @NonNull ImageView imageView, @NonNull TextView textView) { this.a = view; this.b = linearLayout; - this.f119c = imageView; + this.f118c = imageView; this.d = textView; } diff --git a/app/src/main/java/c/a/i/k3.java b/app/src/main/java/c/a/i/k3.java index 067127c502..884bd4862b 100644 --- a/app/src/main/java/c/a/i/k3.java +++ b/app/src/main/java/c/a/i/k3.java @@ -4,22 +4,22 @@ import android.view.View; import androidx.annotation.NonNull; import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; -import com.google.android.material.checkbox.MaterialCheckBox; -/* compiled from: ViewSettingCheckBinding */ +import com.google.android.material.radiobutton.MaterialRadioButton; +/* compiled from: ViewSettingRadioBinding */ public final class k3 implements ViewBinding { @NonNull public final View a; @NonNull - public final MaterialCheckBox b; + public final MaterialRadioButton b; @NonNull /* renamed from: c reason: collision with root package name */ - public final ConstraintLayout f120c; + public final ConstraintLayout f119c; - public k3(@NonNull View view, @NonNull MaterialCheckBox materialCheckBox, @NonNull ConstraintLayout constraintLayout) { + public k3(@NonNull View view, @NonNull MaterialRadioButton materialRadioButton, @NonNull ConstraintLayout constraintLayout) { this.a = view; - this.b = materialCheckBox; - this.f120c = constraintLayout; + this.b = materialRadioButton; + this.f119c = constraintLayout; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/k4.java b/app/src/main/java/c/a/i/k4.java index 7b3d20e88d..1510dec37c 100644 --- a/app/src/main/java/c/a/i/k4.java +++ b/app/src/main/java/c/a/i/k4.java @@ -2,45 +2,25 @@ package c.a.i; import android.view.View; import android.widget.LinearLayout; -import android.widget.RelativeLayout; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.discord.widgets.voice.fullscreen.grid.PrivateCallBlurredGridView; -import com.discord.widgets.voice.fullscreen.grid.PrivateCallGridView; -/* compiled from: WidgetCallFullscreenPrivateCallBinding */ +import com.google.android.material.button.MaterialButton; +/* compiled from: WidgetChannelSettingsCannotDeleteBinding */ public final class k4 implements ViewBinding { @NonNull - public final RelativeLayout a; + public final LinearLayout a; @NonNull - public final PrivateCallBlurredGridView b; + public final TextView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f121c; - @NonNull - public final RelativeLayout d; - @NonNull - public final LinearLayout e; - @NonNull - public final PrivateCallGridView f; - @NonNull - public final TextView g; - @NonNull - public final TextView h; - @NonNull - public final TextView i; + public final MaterialButton f120c; - public k4(@NonNull RelativeLayout relativeLayout, @NonNull PrivateCallBlurredGridView privateCallBlurredGridView, @NonNull TextView textView, @NonNull RelativeLayout relativeLayout2, @NonNull LinearLayout linearLayout, @NonNull PrivateCallGridView privateCallGridView, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull TextView textView4) { - this.a = relativeLayout; - this.b = privateCallBlurredGridView; - this.f121c = textView; - this.d = relativeLayout2; - this.e = linearLayout; - this.f = privateCallGridView; - this.g = textView2; - this.h = textView3; - this.i = textView4; + public k4(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull TextView textView2) { + this.a = linearLayout; + this.b = textView; + this.f120c = materialButton; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/k5.java b/app/src/main/java/c/a/i/k5.java index 05a1f61807..76350f8f4d 100644 --- a/app/src/main/java/c/a/i/k5.java +++ b/app/src/main/java/c/a/i/k5.java @@ -1,16 +1,58 @@ package c.a.i; import android.view.View; -import android.widget.RadioButton; +import android.widget.FrameLayout; +import android.widget.LinearLayout; +import android.widget.SeekBar; +import android.widget.Space; +import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.constraintlayout.widget.Barrier; import androidx.viewbinding.ViewBinding; -/* compiled from: WidgetMemberVerificationMultipleChoiceRadioItemBinding */ +import com.facebook.drawee.view.SimpleDraweeView; +import com.google.android.material.button.MaterialButton; +/* compiled from: WidgetMusicRichPresenceBinding */ public final class k5 implements ViewBinding { @NonNull - public final RadioButton a; + public final LinearLayout a; + @NonNull + public final LinearLayout b; + @NonNull - public k5(@NonNull RadioButton radioButton) { - this.a = radioButton; + /* renamed from: c reason: collision with root package name */ + public final TextView f121c; + @NonNull + public final TextView d; + @NonNull + public final SimpleDraweeView e; + @NonNull + public final SimpleDraweeView f; + @NonNull + public final TextView g; + @NonNull + public final TextView h; + @NonNull + public final MaterialButton i; + @NonNull + public final SeekBar j; + @NonNull + public final TextView k; + @NonNull + public final TextView l; + + public k5(@NonNull LinearLayout linearLayout, @NonNull Barrier barrier, @NonNull Space space, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull TextView textView2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull TextView textView3, @NonNull TextView textView4, @NonNull FrameLayout frameLayout, @NonNull MaterialButton materialButton, @NonNull SeekBar seekBar, @NonNull TextView textView5, @NonNull TextView textView6) { + this.a = linearLayout; + this.b = linearLayout2; + this.f121c = textView; + this.d = textView2; + this.e = simpleDraweeView; + this.f = simpleDraweeView2; + this.g = textView3; + this.h = textView4; + this.i = materialButton; + this.j = seekBar; + this.k = textView5; + this.l = textView6; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/l3.java b/app/src/main/java/c/a/i/l3.java index 25e90a15d5..9ef1473ed6 100644 --- a/app/src/main/java/c/a/i/l3.java +++ b/app/src/main/java/c/a/i/l3.java @@ -1,25 +1,32 @@ package c.a.i; import android.view.View; +import android.widget.ImageView; +import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; -import com.google.android.material.radiobutton.MaterialRadioButton; -/* compiled from: ViewSettingRadioBinding */ +import com.discord.utilities.view.text.LinkifiedTextView; +/* compiled from: ViewSettingSharedBinding */ public final class l3 implements ViewBinding { @NonNull public final View a; @NonNull - public final MaterialRadioButton b; + public final ImageView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final ConstraintLayout f124c; + public final TextView f124c; + @NonNull + public final LinkifiedTextView d; + @NonNull + public final TextView e; - public l3(@NonNull View view, @NonNull MaterialRadioButton materialRadioButton, @NonNull ConstraintLayout constraintLayout) { + public l3(@NonNull View view, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView2) { this.a = view; - this.b = materialRadioButton; - this.f124c = constraintLayout; + this.b = imageView; + this.f124c = textView; + this.d = linkifiedTextView; + this.e = textView2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/l4.java b/app/src/main/java/c/a/i/l4.java index 9e56ff5549..c173d5e5e7 100644 --- a/app/src/main/java/c/a/i/l4.java +++ b/app/src/main/java/c/a/i/l4.java @@ -1,12 +1,16 @@ package c.a.i; +import android.view.LayoutInflater; import android.view.View; +import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.annotation.Nullable; import androidx.viewbinding.ViewBinding; +import com.discord.R; import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetChannelSettingsCannotDeleteBinding */ +/* compiled from: WidgetChannelSettingsDeleteBinding */ public final class l4 implements ViewBinding { @NonNull public final LinearLayout a; @@ -16,11 +20,43 @@ public final class l4 implements ViewBinding { /* renamed from: c reason: collision with root package name */ public final MaterialButton f125c; + @NonNull + public final MaterialButton d; + @NonNull + public final TextView e; - public l4(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull TextView textView2) { + public l4(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView2) { this.a = linearLayout; this.b = textView; this.f125c = materialButton; + this.d = materialButton2; + this.e = textView2; + } + + @NonNull + public static l4 a(@NonNull LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, boolean z2) { + View inflate = layoutInflater.inflate(R.layout.widget_channel_settings_delete, (ViewGroup) null, false); + if (!z2) { + int i = R.id.channel_settings_delete_body; + TextView textView = (TextView) inflate.findViewById(R.id.channel_settings_delete_body); + if (textView != null) { + i = R.id.channel_settings_delete_cancel; + MaterialButton materialButton = (MaterialButton) inflate.findViewById(R.id.channel_settings_delete_cancel); + if (materialButton != null) { + i = R.id.channel_settings_delete_confirm; + MaterialButton materialButton2 = (MaterialButton) inflate.findViewById(R.id.channel_settings_delete_confirm); + if (materialButton2 != null) { + i = R.id.channel_settings_delete_title; + TextView textView2 = (TextView) inflate.findViewById(R.id.channel_settings_delete_title); + if (textView2 != null) { + return new l4((LinearLayout) inflate, textView, materialButton, materialButton2, textView2); + } + } + } + } + throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i))); + } + throw null; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/l5.java b/app/src/main/java/c/a/i/l5.java index 84826c2554..e7de211926 100644 --- a/app/src/main/java/c/a/i/l5.java +++ b/app/src/main/java/c/a/i/l5.java @@ -1,9 +1,7 @@ package c.a.i; import android.view.View; -import android.widget.FrameLayout; import android.widget.LinearLayout; -import android.widget.SeekBar; import android.widget.Space; import android.widget.TextView; import androidx.annotation.NonNull; @@ -11,7 +9,7 @@ import androidx.constraintlayout.widget.Barrier; import androidx.viewbinding.ViewBinding; import com.facebook.drawee.view.SimpleDraweeView; import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetMusicRichPresenceBinding */ +/* compiled from: WidgetPlatformRichPresenceBinding */ public final class l5 implements ViewBinding { @NonNull public final LinearLayout a; @@ -22,37 +20,25 @@ public final class l5 implements ViewBinding { /* renamed from: c reason: collision with root package name */ public final TextView f126c; @NonNull - public final TextView d; + public final SimpleDraweeView d; @NonNull public final SimpleDraweeView e; @NonNull - public final SimpleDraweeView f; + public final MaterialButton f; @NonNull public final TextView g; @NonNull public final TextView h; - @NonNull - public final MaterialButton i; - @NonNull - public final SeekBar j; - @NonNull - public final TextView k; - @NonNull - public final TextView l; - public l5(@NonNull LinearLayout linearLayout, @NonNull Barrier barrier, @NonNull Space space, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull TextView textView2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull TextView textView3, @NonNull TextView textView4, @NonNull FrameLayout frameLayout, @NonNull MaterialButton materialButton, @NonNull SeekBar seekBar, @NonNull TextView textView5, @NonNull TextView textView6) { + public l5(@NonNull LinearLayout linearLayout, @NonNull Barrier barrier, @NonNull Space space, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull MaterialButton materialButton, @NonNull TextView textView2, @NonNull TextView textView3) { this.a = linearLayout; this.b = linearLayout2; this.f126c = textView; - this.d = textView2; - this.e = simpleDraweeView; - this.f = simpleDraweeView2; - this.g = textView3; - this.h = textView4; - this.i = materialButton; - this.j = seekBar; - this.k = textView5; - this.l = textView6; + this.d = simpleDraweeView; + this.e = simpleDraweeView2; + this.f = materialButton; + this.g = textView2; + this.h = textView3; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/m3.java b/app/src/main/java/c/a/i/m3.java index e5d035e46d..762a89d9ab 100644 --- a/app/src/main/java/c/a/i/m3.java +++ b/app/src/main/java/c/a/i/m3.java @@ -1,32 +1,25 @@ package c.a.i; import android.view.View; -import android.widget.ImageView; -import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; -import com.discord.utilities.view.text.LinkifiedTextView; -/* compiled from: ViewSettingSharedBinding */ +import com.google.android.material.switchmaterial.SwitchMaterial; +/* compiled from: ViewSettingSwitchBinding */ public final class m3 implements ViewBinding { @NonNull public final View a; @NonNull - public final ImageView b; + public final SwitchMaterial b; @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f130c; - @NonNull - public final LinkifiedTextView d; - @NonNull - public final TextView e; + public final ConstraintLayout f130c; - public m3(@NonNull View view, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView2) { + public m3(@NonNull View view, @NonNull SwitchMaterial switchMaterial, @NonNull ConstraintLayout constraintLayout) { this.a = view; - this.b = imageView; - this.f130c = textView; - this.d = linkifiedTextView; - this.e = textView2; + this.b = switchMaterial; + this.f130c = constraintLayout; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/m4.java b/app/src/main/java/c/a/i/m4.java index 0cc508dd4e..3c7676e7df 100644 --- a/app/src/main/java/c/a/i/m4.java +++ b/app/src/main/java/c/a/i/m4.java @@ -1,64 +1,34 @@ package c.a.i; -import android.view.LayoutInflater; import android.view.View; -import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.annotation.Nullable; import androidx.viewbinding.ViewBinding; -import com.discord.R; import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetChannelSettingsDeleteBinding */ +/* compiled from: WidgetChatInputGuardBinding */ public final class m4 implements ViewBinding { @NonNull public final LinearLayout a; @NonNull - public final TextView b; + public final MaterialButton b; @NonNull /* renamed from: c reason: collision with root package name */ public final MaterialButton f131c; @NonNull - public final MaterialButton d; + public final TextView d; @NonNull public final TextView e; - public m4(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView2) { + public m4(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView, @NonNull TextView textView2) { this.a = linearLayout; - this.b = textView; - this.f131c = materialButton; - this.d = materialButton2; + this.b = materialButton; + this.f131c = materialButton2; + this.d = textView; this.e = textView2; } - @NonNull - public static m4 a(@NonNull LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, boolean z2) { - View inflate = layoutInflater.inflate(R.layout.widget_channel_settings_delete, (ViewGroup) null, false); - if (!z2) { - int i = R.id.channel_settings_delete_body; - TextView textView = (TextView) inflate.findViewById(R.id.channel_settings_delete_body); - if (textView != null) { - i = R.id.channel_settings_delete_cancel; - MaterialButton materialButton = (MaterialButton) inflate.findViewById(R.id.channel_settings_delete_cancel); - if (materialButton != null) { - i = R.id.channel_settings_delete_confirm; - MaterialButton materialButton2 = (MaterialButton) inflate.findViewById(R.id.channel_settings_delete_confirm); - if (materialButton2 != null) { - i = R.id.channel_settings_delete_title; - TextView textView2 = (TextView) inflate.findViewById(R.id.channel_settings_delete_title); - if (textView2 != null) { - return new m4((LinearLayout) inflate, textView, materialButton, materialButton2, textView2); - } - } - } - } - throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i))); - } - throw null; - } - @Override // androidx.viewbinding.ViewBinding @NonNull public View getRoot() { diff --git a/app/src/main/java/c/a/i/m5.java b/app/src/main/java/c/a/i/m5.java index fa022b9fb8..b81f4dc59a 100644 --- a/app/src/main/java/c/a/i/m5.java +++ b/app/src/main/java/c/a/i/m5.java @@ -1,44 +1,29 @@ package c.a.i; import android.view.View; +import android.widget.ImageView; import android.widget.LinearLayout; -import android.widget.Space; import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.constraintlayout.widget.Barrier; import androidx.viewbinding.ViewBinding; -import com.facebook.drawee.view.SimpleDraweeView; -import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetPlatformRichPresenceBinding */ +/* compiled from: WidgetPremiumUpsellBinding */ public final class m5 implements ViewBinding { @NonNull public final LinearLayout a; @NonNull - public final LinearLayout b; + public final TextView b; @NonNull /* renamed from: c reason: collision with root package name */ public final TextView f132c; @NonNull - public final SimpleDraweeView d; - @NonNull - public final SimpleDraweeView e; - @NonNull - public final MaterialButton f; - @NonNull - public final TextView g; - @NonNull - public final TextView h; + public final ImageView d; - public m5(@NonNull LinearLayout linearLayout, @NonNull Barrier barrier, @NonNull Space space, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull MaterialButton materialButton, @NonNull TextView textView2, @NonNull TextView textView3) { + public m5(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull TextView textView2, @NonNull ImageView imageView) { this.a = linearLayout; - this.b = linearLayout2; - this.f132c = textView; - this.d = simpleDraweeView; - this.e = simpleDraweeView2; - this.f = materialButton; - this.g = textView2; - this.h = textView3; + this.b = textView; + this.f132c = textView2; + this.d = imageView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/n3.java b/app/src/main/java/c/a/i/n3.java index 5aca011758..46fc3c835f 100644 --- a/app/src/main/java/c/a/i/n3.java +++ b/app/src/main/java/c/a/i/n3.java @@ -1,25 +1,29 @@ package c.a.i; import android.view.View; +import android.widget.ImageView; +import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.constraintlayout.widget.ConstraintLayout; +import androidx.appcompat.widget.LinearLayoutCompat; import androidx.viewbinding.ViewBinding; -import com.google.android.material.switchmaterial.SwitchMaterial; -/* compiled from: ViewSettingSwitchBinding */ +/* compiled from: ViewSettingsPremiumGuildNoGuildsBinding */ public final class n3 implements ViewBinding { @NonNull - public final View a; + public final LinearLayoutCompat a; @NonNull - public final SwitchMaterial b; + public final ImageView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final ConstraintLayout f135c; + public final TextView f135c; + @NonNull + public final TextView d; - public n3(@NonNull View view, @NonNull SwitchMaterial switchMaterial, @NonNull ConstraintLayout constraintLayout) { - this.a = view; - this.b = switchMaterial; - this.f135c = constraintLayout; + public n3(@NonNull LinearLayoutCompat linearLayoutCompat, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull TextView textView2) { + this.a = linearLayoutCompat; + this.b = imageView; + this.f135c = textView; + this.d = textView2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/n4.java b/app/src/main/java/c/a/i/n4.java index aeaa97396a..2fdc2f52c9 100644 --- a/app/src/main/java/c/a/i/n4.java +++ b/app/src/main/java/c/a/i/n4.java @@ -1,32 +1,27 @@ package c.a.i; import android.view.View; -import android.widget.LinearLayout; +import android.widget.ImageView; +import android.widget.RelativeLayout; import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.cardview.widget.CardView; import androidx.viewbinding.ViewBinding; -import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetChatInputGuardBinding */ +/* compiled from: WidgetChatInputMemberVerificationGuardBinding */ public final class n4 implements ViewBinding { @NonNull - public final LinearLayout a; + public final RelativeLayout a; @NonNull - public final MaterialButton b; + public final ImageView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final MaterialButton f136c; - @NonNull - public final TextView d; - @NonNull - public final TextView e; + public final TextView f136c; - public n4(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView, @NonNull TextView textView2) { - this.a = linearLayout; - this.b = materialButton; - this.f136c = materialButton2; - this.d = textView; - this.e = textView2; + public n4(@NonNull RelativeLayout relativeLayout, @NonNull CardView cardView, @NonNull ImageView imageView, @NonNull ImageView imageView2, @NonNull TextView textView) { + this.a = relativeLayout; + this.b = imageView2; + this.f136c = textView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/n5.java b/app/src/main/java/c/a/i/n5.java index 3a6cca21c2..411fc47d5b 100644 --- a/app/src/main/java/c/a/i/n5.java +++ b/app/src/main/java/c/a/i/n5.java @@ -1,29 +1,20 @@ package c.a.i; import android.view.View; -import android.widget.ImageView; import android.widget.LinearLayout; -import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -/* compiled from: WidgetPremiumUpsellBinding */ +import com.google.android.material.button.MaterialButton; +/* compiled from: WidgetRemoteAuthNotFoundBinding */ public final class n5 implements ViewBinding { @NonNull public final LinearLayout a; @NonNull - public final TextView b; - @NonNull + public final MaterialButton b; - /* renamed from: c reason: collision with root package name */ - public final TextView f137c; - @NonNull - public final ImageView d; - - public n5(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull TextView textView2, @NonNull ImageView imageView) { + public n5(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton) { this.a = linearLayout; - this.b = textView; - this.f137c = textView2; - this.d = imageView; + this.b = materialButton; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/o0.java b/app/src/main/java/c/a/i/o0.java index 9758603457..38c11ee464 100644 --- a/app/src/main/java/c/a/i/o0.java +++ b/app/src/main/java/c/a/i/o0.java @@ -17,7 +17,7 @@ public final class o0 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TabLayout f138c; + public final TabLayout f137c; @NonNull public final MaterialButton d; @NonNull @@ -28,7 +28,7 @@ public final class o0 implements ViewBinding { public o0(@NonNull RelativeLayout relativeLayout, @NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton, @NonNull View view, @NonNull TabLayout tabLayout, @NonNull MaterialButton materialButton2, @NonNull MaterialButton materialButton3, @NonNull ViewPager2 viewPager2) { this.a = relativeLayout; this.b = materialButton; - this.f138c = tabLayout; + this.f137c = tabLayout; this.d = materialButton2; this.e = materialButton3; this.f = viewPager2; diff --git a/app/src/main/java/c/a/i/o1.java b/app/src/main/java/c/a/i/o1.java index a4bbf0e5e9..f21e99750f 100644 --- a/app/src/main/java/c/a/i/o1.java +++ b/app/src/main/java/c/a/i/o1.java @@ -15,14 +15,14 @@ public final class o1 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final RLottieImageView f139c; + public final RLottieImageView f138c; @NonNull public final ImageView d; public o1(@NonNull View view, @NonNull SimpleDraweeView simpleDraweeView, @NonNull RLottieImageView rLottieImageView, @NonNull ImageView imageView) { this.a = view; this.b = simpleDraweeView; - this.f139c = rLottieImageView; + this.f138c = rLottieImageView; this.d = imageView; } diff --git a/app/src/main/java/c/a/i/o2.java b/app/src/main/java/c/a/i/o2.java index 537e65914d..a14ab398cf 100644 --- a/app/src/main/java/c/a/i/o2.java +++ b/app/src/main/java/c/a/i/o2.java @@ -14,14 +14,14 @@ public final class o2 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextInputEditText f140c; + public final TextInputEditText f139c; @NonNull public final TextInputLayout d; public o2(@NonNull View view, @NonNull TextInputLayout textInputLayout, @NonNull TextInputEditText textInputEditText, @NonNull TextInputLayout textInputLayout2) { this.a = view; this.b = textInputLayout; - this.f140c = textInputEditText; + this.f139c = textInputEditText; this.d = textInputLayout2; } diff --git a/app/src/main/java/c/a/i/o3.java b/app/src/main/java/c/a/i/o3.java index 8b1bbcbea4..7570fa6dec 100644 --- a/app/src/main/java/c/a/i/o3.java +++ b/app/src/main/java/c/a/i/o3.java @@ -1,29 +1,16 @@ package c.a.i; import android.view.View; -import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.appcompat.widget.LinearLayoutCompat; import androidx.viewbinding.ViewBinding; -/* compiled from: ViewSettingsPremiumGuildNoGuildsBinding */ +/* compiled from: ViewSimpleSpinnerDropdownItemBinding */ public final class o3 implements ViewBinding { @NonNull - public final LinearLayoutCompat a; - @NonNull - public final ImageView b; - @NonNull + public final TextView a; - /* renamed from: c reason: collision with root package name */ - public final TextView f141c; - @NonNull - public final TextView d; - - public o3(@NonNull LinearLayoutCompat linearLayoutCompat, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull TextView textView2) { - this.a = linearLayoutCompat; - this.b = imageView; - this.f141c = textView; - this.d = textView2; + public o3(@NonNull TextView textView) { + this.a = textView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/o4.java b/app/src/main/java/c/a/i/o4.java index 9b053e594f..f10ab17c00 100644 --- a/app/src/main/java/c/a/i/o4.java +++ b/app/src/main/java/c/a/i/o4.java @@ -1,27 +1,21 @@ package c.a.i; import android.view.View; -import android.widget.ImageView; -import android.widget.RelativeLayout; +import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.cardview.widget.CardView; import androidx.viewbinding.ViewBinding; -/* compiled from: WidgetChatInputMemberVerificationGuardBinding */ +import com.google.android.material.button.MaterialButton; +/* compiled from: WidgetChatInputPermReqFilesBinding */ public final class o4 implements ViewBinding { @NonNull - public final RelativeLayout a; - @NonNull - public final ImageView b; + public final LinearLayout a; @NonNull + public final TextView b; - /* renamed from: c reason: collision with root package name */ - public final TextView f142c; - - public o4(@NonNull RelativeLayout relativeLayout, @NonNull CardView cardView, @NonNull ImageView imageView, @NonNull ImageView imageView2, @NonNull TextView textView) { - this.a = relativeLayout; - this.b = imageView2; - this.f142c = textView; + public o4(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton, @NonNull TextView textView) { + this.a = linearLayout; + this.b = textView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/o5.java b/app/src/main/java/c/a/i/o5.java index aa499cd9ec..aed07c5fd8 100644 --- a/app/src/main/java/c/a/i/o5.java +++ b/app/src/main/java/c/a/i/o5.java @@ -5,16 +5,25 @@ import android.widget.LinearLayout; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetRemoteAuthNotFoundBinding */ +import com.google.android.material.switchmaterial.SwitchMaterial; +/* compiled from: WidgetRemoteAuthPendingLoginBinding */ public final class o5 implements ViewBinding { @NonNull public final LinearLayout a; @NonNull public final MaterialButton b; + @NonNull - public o5(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton) { + /* renamed from: c reason: collision with root package name */ + public final MaterialButton f140c; + @NonNull + public final SwitchMaterial d; + + public o5(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull SwitchMaterial switchMaterial) { this.a = linearLayout; this.b = materialButton; + this.f140c = materialButton2; + this.d = switchMaterial; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/p.java b/app/src/main/java/c/a/i/p.java index 4e41dbb348..4b4f028ba7 100644 --- a/app/src/main/java/c/a/i/p.java +++ b/app/src/main/java/c/a/i/p.java @@ -18,7 +18,7 @@ public final class p implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final RelativeLayout f143c; + public final RelativeLayout f141c; @NonNull public final MaterialButton d; @NonNull @@ -33,7 +33,7 @@ public final class p implements ViewBinding { public p(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull RelativeLayout relativeLayout, @NonNull MaterialButton materialButton, @NonNull LinkifiedTextView linkifiedTextView, @NonNull MaterialButton materialButton2, @NonNull TextView textView2, @NonNull ImageView imageView) { this.a = linearLayout; this.b = textView; - this.f143c = relativeLayout; + this.f141c = relativeLayout; this.d = materialButton; this.e = linkifiedTextView; this.f = materialButton2; diff --git a/app/src/main/java/c/a/i/p1.java b/app/src/main/java/c/a/i/p1.java index fd29d55a44..99ac9d4f05 100644 --- a/app/src/main/java/c/a/i/p1.java +++ b/app/src/main/java/c/a/i/p1.java @@ -17,14 +17,14 @@ public final class p1 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final MaterialButton f144c; + public final MaterialButton f142c; @NonNull public final TextView d; public p1(@NonNull ConstraintLayout constraintLayout, @NonNull ConstraintLayout constraintLayout2, @NonNull MaterialButton materialButton, @NonNull TextView textView, @NonNull TextView textView2, @NonNull ImageView imageView) { this.a = constraintLayout; this.b = constraintLayout2; - this.f144c = materialButton; + this.f142c = materialButton; this.d = textView; } diff --git a/app/src/main/java/c/a/i/p2.java b/app/src/main/java/c/a/i/p2.java index fe46ed6095..9102f2df74 100644 --- a/app/src/main/java/c/a/i/p2.java +++ b/app/src/main/java/c/a/i/p2.java @@ -15,14 +15,14 @@ public final class p2 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final SimpleDraweeView f145c; + public final SimpleDraweeView f143c; @NonNull public final TextView d; public p2(@NonNull CutoutView cutoutView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull TextView textView) { this.a = cutoutView; this.b = simpleDraweeView; - this.f145c = simpleDraweeView2; + this.f143c = simpleDraweeView2; this.d = textView; } diff --git a/app/src/main/java/c/a/i/p3.java b/app/src/main/java/c/a/i/p3.java index 477fe7b215..8fd191fbbf 100644 --- a/app/src/main/java/c/a/i/p3.java +++ b/app/src/main/java/c/a/i/p3.java @@ -1,16 +1,19 @@ package c.a.i; import android.view.View; -import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -/* compiled from: ViewSimpleSpinnerDropdownItemBinding */ +import com.discord.views.stages.SpeakersRecyclerView; +/* compiled from: ViewStageCardSpeakersBinding */ public final class p3 implements ViewBinding { @NonNull - public final TextView a; + public final View a; + @NonNull + public final SpeakersRecyclerView b; - public p3(@NonNull TextView textView) { - this.a = textView; + public p3(@NonNull View view, @NonNull SpeakersRecyclerView speakersRecyclerView) { + this.a = view; + this.b = speakersRecyclerView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/p4.java b/app/src/main/java/c/a/i/p4.java index e24b6c8511..2fc43842ce 100644 --- a/app/src/main/java/c/a/i/p4.java +++ b/app/src/main/java/c/a/i/p4.java @@ -1,21 +1,35 @@ package c.a.i; import android.view.View; +import android.widget.ImageView; import android.widget.LinearLayout; -import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetChatInputPermReqFilesBinding */ +import com.discord.views.sticker.StickerView; +/* compiled from: WidgetChatInputStickerSuggestionsBinding */ public final class p4 implements ViewBinding { @NonNull public final LinearLayout a; @NonNull - public final TextView b; + public final StickerView b; + @NonNull - public p4(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton, @NonNull TextView textView) { + /* renamed from: c reason: collision with root package name */ + public final StickerView f144c; + @NonNull + public final StickerView d; + @NonNull + public final StickerView e; + @NonNull + public final ImageView f; + + public p4(@NonNull LinearLayout linearLayout, @NonNull StickerView stickerView, @NonNull StickerView stickerView2, @NonNull StickerView stickerView3, @NonNull StickerView stickerView4, @NonNull ImageView imageView) { this.a = linearLayout; - this.b = textView; + this.b = stickerView; + this.f144c = stickerView2; + this.d = stickerView3; + this.e = stickerView4; + this.f = imageView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/p5.java b/app/src/main/java/c/a/i/p5.java index 95f5572d55..4c0c47e3d5 100644 --- a/app/src/main/java/c/a/i/p5.java +++ b/app/src/main/java/c/a/i/p5.java @@ -5,25 +5,16 @@ import android.widget.LinearLayout; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; import com.google.android.material.button.MaterialButton; -import com.google.android.material.switchmaterial.SwitchMaterial; -/* compiled from: WidgetRemoteAuthPendingLoginBinding */ +/* compiled from: WidgetRemoteAuthSuccessBinding */ public final class p5 implements ViewBinding { @NonNull public final LinearLayout a; @NonNull public final MaterialButton b; - @NonNull - /* renamed from: c reason: collision with root package name */ - public final MaterialButton f146c; - @NonNull - public final SwitchMaterial d; - - public p5(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull SwitchMaterial switchMaterial) { + public p5(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton) { this.a = linearLayout; this.b = materialButton; - this.f146c = materialButton2; - this.d = switchMaterial; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/q.java b/app/src/main/java/c/a/i/q.java index 45d0d727a6..98a6588ed4 100644 --- a/app/src/main/java/c/a/i/q.java +++ b/app/src/main/java/c/a/i/q.java @@ -13,7 +13,7 @@ public final class q implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final MaterialButton f147c; + public final MaterialButton f145c; @NonNull public final MaterialButton d; @NonNull @@ -22,7 +22,7 @@ public final class q implements ViewBinding { public q(@NonNull View view, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull MaterialButton materialButton3, @NonNull MaterialButton materialButton4) { this.a = view; this.b = materialButton; - this.f147c = materialButton2; + this.f145c = materialButton2; this.d = materialButton3; this.e = materialButton4; } diff --git a/app/src/main/java/c/a/i/q0.java b/app/src/main/java/c/a/i/q0.java index 17eb56e0a3..9fb5802a7e 100644 --- a/app/src/main/java/c/a/i/q0.java +++ b/app/src/main/java/c/a/i/q0.java @@ -16,7 +16,7 @@ public final class q0 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final View f148c; + public final View f146c; @NonNull public final TextView d; @NonNull @@ -27,7 +27,7 @@ public final class q0 implements ViewBinding { public q0(@NonNull LinearLayout linearLayout, @NonNull LinearLayout linearLayout2, @NonNull View view, @NonNull TextView textView, @NonNull RecyclerView recyclerView, @NonNull OverlayMenuView overlayMenuView) { this.a = linearLayout; this.b = linearLayout2; - this.f148c = view; + this.f146c = view; this.d = textView; this.e = recyclerView; this.f = overlayMenuView; diff --git a/app/src/main/java/c/a/i/q1.java b/app/src/main/java/c/a/i/q1.java index b549c145dd..8f8839245f 100644 --- a/app/src/main/java/c/a/i/q1.java +++ b/app/src/main/java/c/a/i/q1.java @@ -13,14 +13,14 @@ public final class q1 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TypingDot f149c; + public final TypingDot f147c; @NonNull public final TypingDot d; public q1(@NonNull View view, @NonNull TypingDot typingDot, @NonNull TypingDot typingDot2, @NonNull TypingDot typingDot3) { this.a = view; this.b = typingDot; - this.f149c = typingDot2; + this.f147c = typingDot2; this.d = typingDot3; } diff --git a/app/src/main/java/c/a/i/q2.java b/app/src/main/java/c/a/i/q2.java index 89a81820cb..1324aa318d 100644 --- a/app/src/main/java/c/a/i/q2.java +++ b/app/src/main/java/c/a/i/q2.java @@ -16,7 +16,7 @@ public final class q2 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f150c; + public final TextView f148c; @NonNull public final Chip d; @NonNull @@ -27,7 +27,7 @@ public final class q2 implements ViewBinding { public q2(@NonNull View view, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull Chip chip, @NonNull Chip chip2, @NonNull ImageView imageView) { this.a = view; this.b = simpleDraweeView; - this.f150c = textView; + this.f148c = textView; this.d = chip; this.e = chip2; this.f = imageView; diff --git a/app/src/main/java/c/a/i/q3.java b/app/src/main/java/c/a/i/q3.java index 4ec5e91036..c35a7fe19e 100644 --- a/app/src/main/java/c/a/i/q3.java +++ b/app/src/main/java/c/a/i/q3.java @@ -1,19 +1,42 @@ package c.a.i; import android.view.View; +import android.widget.ImageView; +import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.discord.views.stages.SpeakersRecyclerView; -/* compiled from: ViewStageCardSpeakersBinding */ +import com.discord.views.VoiceUserView; +import com.discord.views.calls.SpeakerPulseView; +/* compiled from: ViewStageChannelSpeakerBinding */ public final class q3 implements ViewBinding { @NonNull public final View a; @NonNull - public final SpeakersRecyclerView b; + public final VoiceUserView b; + @NonNull - public q3(@NonNull View view, @NonNull SpeakersRecyclerView speakersRecyclerView) { + /* renamed from: c reason: collision with root package name */ + public final ImageView f149c; + @NonNull + public final ImageView d; + @NonNull + public final ImageView e; + @NonNull + public final ImageView f; + @NonNull + public final TextView g; + @NonNull + public final SpeakerPulseView h; + + public q3(@NonNull View view, @NonNull VoiceUserView voiceUserView, @NonNull ImageView imageView, @NonNull ImageView imageView2, @NonNull ImageView imageView3, @NonNull ImageView imageView4, @NonNull TextView textView, @NonNull SpeakerPulseView speakerPulseView) { this.a = view; - this.b = speakersRecyclerView; + this.b = voiceUserView; + this.f149c = imageView; + this.d = imageView2; + this.e = imageView3; + this.f = imageView4; + this.g = textView; + this.h = speakerPulseView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/q4.java b/app/src/main/java/c/a/i/q4.java index ccea3d9a6e..04138aa5f0 100644 --- a/app/src/main/java/c/a/i/q4.java +++ b/app/src/main/java/c/a/i/q4.java @@ -1,35 +1,17 @@ package c.a.i; import android.view.View; -import android.widget.ImageView; import android.widget.LinearLayout; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.discord.views.sticker.StickerView; -/* compiled from: WidgetChatInputStickerSuggestionsBinding */ +import com.discord.utilities.view.text.LinkifiedTextView; +/* compiled from: WidgetChatListAdapterItemEmbedFieldBinding */ public final class q4 implements ViewBinding { @NonNull public final LinearLayout a; - @NonNull - public final StickerView b; - @NonNull - /* renamed from: c reason: collision with root package name */ - public final StickerView f151c; - @NonNull - public final StickerView d; - @NonNull - public final StickerView e; - @NonNull - public final ImageView f; - - public q4(@NonNull LinearLayout linearLayout, @NonNull StickerView stickerView, @NonNull StickerView stickerView2, @NonNull StickerView stickerView3, @NonNull StickerView stickerView4, @NonNull ImageView imageView) { + public q4(@NonNull LinearLayout linearLayout, @NonNull LinkifiedTextView linkifiedTextView, @NonNull LinkifiedTextView linkifiedTextView2) { this.a = linearLayout; - this.b = stickerView; - this.f151c = stickerView2; - this.d = stickerView3; - this.e = stickerView4; - this.f = imageView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/q5.java b/app/src/main/java/c/a/i/q5.java index 087956e09b..2e7c78472a 100644 --- a/app/src/main/java/c/a/i/q5.java +++ b/app/src/main/java/c/a/i/q5.java @@ -2,19 +2,28 @@ package c.a.i; import android.view.View; import android.widget.LinearLayout; +import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetRemoteAuthSuccessBinding */ +/* compiled from: WidgetServerSettingsConfirmDisableIntegrationBinding */ public final class q5 implements ViewBinding { @NonNull public final LinearLayout a; @NonNull - public final MaterialButton b; + public final TextView b; + @NonNull - public q5(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton) { + /* renamed from: c reason: collision with root package name */ + public final MaterialButton f150c; + @NonNull + public final MaterialButton d; + + public q5(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView2) { this.a = linearLayout; - this.b = materialButton; + this.b = textView; + this.f150c = materialButton; + this.d = materialButton2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/r.java b/app/src/main/java/c/a/i/r.java index 70b6b9f4fa..33c4235b69 100644 --- a/app/src/main/java/c/a/i/r.java +++ b/app/src/main/java/c/a/i/r.java @@ -16,14 +16,14 @@ public final class r implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final RoleIconView f152c; + public final RoleIconView f151c; @NonNull public final TextView d; public r(@NonNull CardView cardView, @NonNull ImageView imageView, @NonNull RoleIconView roleIconView, @NonNull TextView textView) { this.a = cardView; this.b = imageView; - this.f152c = roleIconView; + this.f151c = roleIconView; this.d = textView; } diff --git a/app/src/main/java/c/a/i/r1.java b/app/src/main/java/c/a/i/r1.java index b36bf2130b..5f3592ab87 100644 --- a/app/src/main/java/c/a/i/r1.java +++ b/app/src/main/java/c/a/i/r1.java @@ -15,7 +15,7 @@ public final class r1 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f153c; + public final TextView f152c; @NonNull public final TextView d; @NonNull @@ -26,7 +26,7 @@ public final class r1 implements ViewBinding { public r1(@NonNull LinearLayout linearLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull TextView textView4) { this.a = linearLayout; this.b = simpleDraweeView; - this.f153c = textView; + this.f152c = textView; this.d = textView2; this.e = textView3; this.f = textView4; diff --git a/app/src/main/java/c/a/i/r2.java b/app/src/main/java/c/a/i/r2.java index 2110b321dd..5793d70f2e 100644 --- a/app/src/main/java/c/a/i/r2.java +++ b/app/src/main/java/c/a/i/r2.java @@ -18,7 +18,7 @@ public final class r2 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final ImageView f154c; + public final ImageView f153c; @NonNull public final ImageView d; @NonNull @@ -35,7 +35,7 @@ public final class r2 implements ViewBinding { public r2(@NonNull ConstraintLayout constraintLayout, @NonNull ProgressBar progressBar, @NonNull FrameLayout frameLayout, @NonNull ImageView imageView, @NonNull LinearLayout linearLayout, @NonNull ImageView imageView2, @NonNull TextView textView, @NonNull LinearLayout linearLayout2, @NonNull ImageView imageView3, @NonNull TextView textView2, @NonNull LinearLayout linearLayout3, @NonNull ImageView imageView4, @NonNull TextView textView3) { this.a = constraintLayout; this.b = progressBar; - this.f154c = imageView; + this.f153c = imageView; this.d = imageView2; this.e = textView; this.f = imageView3; diff --git a/app/src/main/java/c/a/i/r3.java b/app/src/main/java/c/a/i/r3.java index 524a28226c..7bd7c891c9 100644 --- a/app/src/main/java/c/a/i/r3.java +++ b/app/src/main/java/c/a/i/r3.java @@ -1,42 +1,26 @@ package c.a.i; import android.view.View; -import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; -import com.discord.views.VoiceUserView; -import com.discord.views.calls.SpeakerPulseView; -/* compiled from: ViewStageChannelSpeakerBinding */ +import com.facebook.drawee.view.SimpleDraweeView; +/* compiled from: ViewStageChannelVisitCommunityBinding */ public final class r3 implements ViewBinding { @NonNull - public final View a; + public final ConstraintLayout a; @NonNull - public final VoiceUserView b; + public final SimpleDraweeView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final ImageView f155c; - @NonNull - public final ImageView d; - @NonNull - public final ImageView e; - @NonNull - public final ImageView f; - @NonNull - public final TextView g; - @NonNull - public final SpeakerPulseView h; + public final TextView f154c; - public r3(@NonNull View view, @NonNull VoiceUserView voiceUserView, @NonNull ImageView imageView, @NonNull ImageView imageView2, @NonNull ImageView imageView3, @NonNull ImageView imageView4, @NonNull TextView textView, @NonNull SpeakerPulseView speakerPulseView) { - this.a = view; - this.b = voiceUserView; - this.f155c = imageView; - this.d = imageView2; - this.e = imageView3; - this.f = imageView4; - this.g = textView; - this.h = speakerPulseView; + public r3(@NonNull ConstraintLayout constraintLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull TextView textView2) { + this.a = constraintLayout; + this.b = simpleDraweeView; + this.f154c = textView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/r4.java b/app/src/main/java/c/a/i/r4.java index 2ae7dc56b5..b51b1c893f 100644 --- a/app/src/main/java/c/a/i/r4.java +++ b/app/src/main/java/c/a/i/r4.java @@ -1,17 +1,35 @@ package c.a.i; import android.view.View; -import android.widget.LinearLayout; +import android.widget.ImageView; +import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.constraintlayout.widget.ConstraintLayout; +import androidx.constraintlayout.widget.Guideline; import androidx.viewbinding.ViewBinding; import com.discord.utilities.view.text.LinkifiedTextView; -/* compiled from: WidgetChatListAdapterItemEmbedFieldBinding */ +import com.facebook.drawee.view.SimpleDraweeView; +/* compiled from: WidgetChatListAdapterItemSingleLineMessagePreviewBinding */ public final class r4 implements ViewBinding { @NonNull - public final LinearLayout a; + public final ConstraintLayout a; + @NonNull + public final ImageView b; + @NonNull - public r4(@NonNull LinearLayout linearLayout, @NonNull LinkifiedTextView linkifiedTextView, @NonNull LinkifiedTextView linkifiedTextView2) { - this.a = linearLayout; + /* renamed from: c reason: collision with root package name */ + public final LinkifiedTextView f155c; + @NonNull + public final SimpleDraweeView d; + @NonNull + public final TextView e; + + public r4(@NonNull ConstraintLayout constraintLayout, @NonNull ImageView imageView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull Guideline guideline, @NonNull Guideline guideline2, @NonNull Guideline guideline3) { + this.a = constraintLayout; + this.b = imageView; + this.f155c = linkifiedTextView; + this.d = simpleDraweeView; + this.e = textView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/r5.java b/app/src/main/java/c/a/i/r5.java index 32e52ef890..95e47d6644 100644 --- a/app/src/main/java/c/a/i/r5.java +++ b/app/src/main/java/c/a/i/r5.java @@ -5,8 +5,7 @@ import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetServerSettingsConfirmDisableIntegrationBinding */ +/* compiled from: WidgetServerSettingsOverviewSectionAfkChannelBinding */ public final class r5 implements ViewBinding { @NonNull public final LinearLayout a; @@ -15,15 +14,18 @@ public final class r5 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final MaterialButton f156c; + public final LinearLayout f156c; @NonNull - public final MaterialButton d; + public final TextView d; + @NonNull + public final LinearLayout e; - public r5(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView2) { + public r5(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull LinearLayout linearLayout2, @NonNull TextView textView2, @NonNull LinearLayout linearLayout3) { this.a = linearLayout; this.b = textView; - this.f156c = materialButton; - this.d = materialButton2; + this.f156c = linearLayout2; + this.d = textView2; + this.e = linearLayout3; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/s3.java b/app/src/main/java/c/a/i/s3.java index 5be9fc8629..e9bb89e77a 100644 --- a/app/src/main/java/c/a/i/s3.java +++ b/app/src/main/java/c/a/i/s3.java @@ -1,26 +1,49 @@ package c.a.i; import android.view.View; +import android.widget.ImageView; +import android.widget.LinearLayout; +import android.widget.RelativeLayout; import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; -import com.facebook.drawee.view.SimpleDraweeView; -/* compiled from: ViewStageChannelVisitCommunityBinding */ +import androidx.viewpager2.widget.ViewPager2; +import com.discord.views.LoadingButton; +import com.discord.views.steps.StepsProgressIndicatorView; +import com.google.android.material.button.MaterialButton; +/* compiled from: ViewStepsBinding */ public final class s3 implements ViewBinding { @NonNull - public final ConstraintLayout a; + public final RelativeLayout a; @NonNull - public final SimpleDraweeView b; + public final LinearLayout b; @NonNull /* renamed from: c reason: collision with root package name */ public final TextView f159c; + @NonNull + public final ImageView d; + @NonNull + public final LoadingButton e; + @NonNull + public final MaterialButton f; + @NonNull + public final StepsProgressIndicatorView g; + @NonNull + public final TextView h; + @NonNull + public final ViewPager2 i; - public s3(@NonNull ConstraintLayout constraintLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull TextView textView2) { - this.a = constraintLayout; - this.b = simpleDraweeView; + public s3(@NonNull RelativeLayout relativeLayout, @NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull ImageView imageView, @NonNull LoadingButton loadingButton, @NonNull MaterialButton materialButton, @NonNull StepsProgressIndicatorView stepsProgressIndicatorView, @NonNull TextView textView2, @NonNull ViewPager2 viewPager2) { + this.a = relativeLayout; + this.b = linearLayout; this.f159c = textView; + this.d = imageView; + this.e = loadingButton; + this.f = materialButton; + this.g = stepsProgressIndicatorView; + this.h = textView2; + this.i = viewPager2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/s4.java b/app/src/main/java/c/a/i/s4.java index b6d2d130be..93484b2bb8 100644 --- a/app/src/main/java/c/a/i/s4.java +++ b/app/src/main/java/c/a/i/s4.java @@ -5,31 +5,48 @@ import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.constraintlayout.widget.ConstraintLayout; -import androidx.constraintlayout.widget.Guideline; import androidx.viewbinding.ViewBinding; -import com.discord.utilities.view.text.LinkifiedTextView; -import com.facebook.drawee.view.SimpleDraweeView; -/* compiled from: WidgetChatListAdapterItemSingleLineMessagePreviewBinding */ +import com.discord.R; +import com.discord.widgets.botuikit.views.ActionRowComponentView; +import com.google.android.flexbox.FlexboxLayout; +/* compiled from: WidgetChatListBotUiActionRowComponentBinding */ public final class s4 implements ViewBinding { @NonNull - public final ConstraintLayout a; + public final ActionRowComponentView a; @NonNull - public final ImageView b; + public final FlexboxLayout b; @NonNull /* renamed from: c reason: collision with root package name */ - public final LinkifiedTextView f160c; - @NonNull - public final SimpleDraweeView d; - @NonNull - public final TextView e; + public final g2 f160c; - public s4(@NonNull ConstraintLayout constraintLayout, @NonNull ImageView imageView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull Guideline guideline, @NonNull Guideline guideline2, @NonNull Guideline guideline3) { - this.a = constraintLayout; - this.b = imageView; - this.f160c = linkifiedTextView; - this.d = simpleDraweeView; - this.e = textView; + public s4(@NonNull ActionRowComponentView actionRowComponentView, @NonNull FlexboxLayout flexboxLayout, @NonNull g2 g2Var) { + this.a = actionRowComponentView; + this.b = flexboxLayout; + this.f160c = g2Var; + } + + @NonNull + public static s4 a(@NonNull View view) { + int i = R.id.action_row_component_view_group; + FlexboxLayout flexboxLayout = (FlexboxLayout) view.findViewById(R.id.action_row_component_view_group); + if (flexboxLayout != null) { + i = R.id.action_row_component_view_group_error_row; + View findViewById = view.findViewById(R.id.action_row_component_view_group_error_row); + if (findViewById != null) { + int i2 = R.id.view_interaction_failed_label_icon; + ImageView imageView = (ImageView) findViewById.findViewById(R.id.view_interaction_failed_label_icon); + if (imageView != null) { + i2 = R.id.view_interaction_failed_label_message; + TextView textView = (TextView) findViewById.findViewById(R.id.view_interaction_failed_label_message); + if (textView != null) { + return new s4((ActionRowComponentView) view, flexboxLayout, new g2((ConstraintLayout) findViewById, imageView, textView)); + } + } + throw new NullPointerException("Missing required view with ID: ".concat(findViewById.getResources().getResourceName(i2))); + } + } + throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i))); } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/s5.java b/app/src/main/java/c/a/i/s5.java index cb72f90d47..9c59246824 100644 --- a/app/src/main/java/c/a/i/s5.java +++ b/app/src/main/java/c/a/i/s5.java @@ -2,30 +2,24 @@ package c.a.i; import android.view.View; import android.widget.LinearLayout; -import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -/* compiled from: WidgetServerSettingsOverviewSectionAfkChannelBinding */ +import com.google.android.material.button.MaterialButton; +/* compiled from: WidgetSettingsPrivacyDefaultsBinding */ public final class s5 implements ViewBinding { @NonNull public final LinearLayout a; @NonNull - public final TextView b; + public final MaterialButton b; @NonNull /* renamed from: c reason: collision with root package name */ - public final LinearLayout f161c; - @NonNull - public final TextView d; - @NonNull - public final LinearLayout e; + public final MaterialButton f161c; - public s5(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull LinearLayout linearLayout2, @NonNull TextView textView2, @NonNull LinearLayout linearLayout3) { + public s5(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2) { this.a = linearLayout; - this.b = textView; - this.f161c = linearLayout2; - this.d = textView2; - this.e = linearLayout3; + this.b = materialButton; + this.f161c = materialButton2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/t3.java b/app/src/main/java/c/a/i/t3.java index cdd77013e4..7e3383bcec 100644 --- a/app/src/main/java/c/a/i/t3.java +++ b/app/src/main/java/c/a/i/t3.java @@ -1,49 +1,29 @@ package c.a.i; import android.view.View; -import android.widget.ImageView; -import android.widget.LinearLayout; -import android.widget.RelativeLayout; import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; -import androidx.viewpager2.widget.ViewPager2; -import com.discord.views.LoadingButton; -import com.discord.views.steps.StepsProgressIndicatorView; -import com.google.android.material.button.MaterialButton; -/* compiled from: ViewStepsBinding */ +import com.facebook.drawee.view.SimpleDraweeView; +/* compiled from: ViewStreamPreviewBinding */ public final class t3 implements ViewBinding { @NonNull - public final RelativeLayout a; + public final ConstraintLayout a; @NonNull - public final LinearLayout b; + public final SimpleDraweeView b; @NonNull /* renamed from: c reason: collision with root package name */ public final TextView f165c; @NonNull - public final ImageView d; - @NonNull - public final LoadingButton e; - @NonNull - public final MaterialButton f; - @NonNull - public final StepsProgressIndicatorView g; - @NonNull - public final TextView h; - @NonNull - public final ViewPager2 i; + public final TextView d; - public t3(@NonNull RelativeLayout relativeLayout, @NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull ImageView imageView, @NonNull LoadingButton loadingButton, @NonNull MaterialButton materialButton, @NonNull StepsProgressIndicatorView stepsProgressIndicatorView, @NonNull TextView textView2, @NonNull ViewPager2 viewPager2) { - this.a = relativeLayout; - this.b = linearLayout; + public t3(@NonNull ConstraintLayout constraintLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull TextView textView2) { + this.a = constraintLayout; + this.b = simpleDraweeView; this.f165c = textView; - this.d = imageView; - this.e = loadingButton; - this.f = materialButton; - this.g = stepsProgressIndicatorView; - this.h = textView2; - this.i = viewPager2; + this.d = textView2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/t4.java b/app/src/main/java/c/a/i/t4.java index f6ae9a1c95..556fc13383 100644 --- a/app/src/main/java/c/a/i/t4.java +++ b/app/src/main/java/c/a/i/t4.java @@ -2,48 +2,61 @@ package c.a.i; import android.view.View; import android.widget.ImageView; -import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; import com.discord.R; -import com.discord.widgets.botuikit.views.ActionRowComponentView; +import com.discord.views.typing.TypingDots; +import com.discord.widgets.botuikit.views.select.SelectComponentView; +import com.facebook.drawee.view.SimpleDraweeView; import com.google.android.flexbox.FlexboxLayout; -/* compiled from: WidgetChatListBotUiActionRowComponentBinding */ +import com.google.android.material.textview.MaterialTextView; +/* compiled from: WidgetChatListBotUiSelectComponentBinding */ public final class t4 implements ViewBinding { @NonNull - public final ActionRowComponentView a; + public final SelectComponentView a; @NonNull - public final FlexboxLayout b; + public final ImageView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final g2 f166c; + public final TypingDots f166c; + @NonNull + public final SimpleDraweeView d; + @NonNull + public final MaterialTextView e; + @NonNull + public final FlexboxLayout f; - public t4(@NonNull ActionRowComponentView actionRowComponentView, @NonNull FlexboxLayout flexboxLayout, @NonNull g2 g2Var) { - this.a = actionRowComponentView; - this.b = flexboxLayout; - this.f166c = g2Var; + public t4(@NonNull SelectComponentView selectComponentView, @NonNull ImageView imageView, @NonNull TypingDots typingDots, @NonNull SimpleDraweeView simpleDraweeView, @NonNull MaterialTextView materialTextView, @NonNull FlexboxLayout flexboxLayout) { + this.a = selectComponentView; + this.b = imageView; + this.f166c = typingDots; + this.d = simpleDraweeView; + this.e = materialTextView; + this.f = flexboxLayout; } @NonNull public static t4 a(@NonNull View view) { - int i = R.id.action_row_component_view_group; - FlexboxLayout flexboxLayout = (FlexboxLayout) view.findViewById(R.id.action_row_component_view_group); - if (flexboxLayout != null) { - i = R.id.action_row_component_view_group_error_row; - View findViewById = view.findViewById(R.id.action_row_component_view_group_error_row); - if (findViewById != null) { - int i2 = R.id.view_interaction_failed_label_icon; - ImageView imageView = (ImageView) findViewById.findViewById(R.id.view_interaction_failed_label_icon); - if (imageView != null) { - i2 = R.id.view_interaction_failed_label_message; - TextView textView = (TextView) findViewById.findViewById(R.id.view_interaction_failed_label_message); - if (textView != null) { - return new t4((ActionRowComponentView) view, flexboxLayout, new g2((ConstraintLayout) findViewById, imageView, textView)); + int i = R.id.select_component_chevron; + ImageView imageView = (ImageView) view.findViewById(R.id.select_component_chevron); + if (imageView != null) { + i = R.id.select_component_loading; + TypingDots typingDots = (TypingDots) view.findViewById(R.id.select_component_loading); + if (typingDots != null) { + i = R.id.select_component_selection_icon; + SimpleDraweeView simpleDraweeView = (SimpleDraweeView) view.findViewById(R.id.select_component_selection_icon); + if (simpleDraweeView != null) { + i = R.id.select_component_selection_text; + MaterialTextView materialTextView = (MaterialTextView) view.findViewById(R.id.select_component_selection_text); + if (materialTextView != null) { + i = R.id.select_component_selections_root; + FlexboxLayout flexboxLayout = (FlexboxLayout) view.findViewById(R.id.select_component_selections_root); + if (flexboxLayout != null) { + return new t4((SelectComponentView) view, imageView, typingDots, simpleDraweeView, materialTextView, flexboxLayout); + } } } - throw new NullPointerException("Missing required view with ID: ".concat(findViewById.getResources().getResourceName(i2))); } } throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i))); diff --git a/app/src/main/java/c/a/i/t5.java b/app/src/main/java/c/a/i/t5.java index 047aeb13dd..0cd892c29b 100644 --- a/app/src/main/java/c/a/i/t5.java +++ b/app/src/main/java/c/a/i/t5.java @@ -1,25 +1,48 @@ package c.a.i; import android.view.View; +import android.widget.FrameLayout; import android.widget.LinearLayout; +import android.widget.Space; +import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.constraintlayout.widget.Barrier; import androidx.viewbinding.ViewBinding; +import com.facebook.drawee.view.SimpleDraweeView; import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetSettingsPrivacyDefaultsBinding */ +/* compiled from: WidgetStageChannelRichPresenceBinding */ public final class t5 implements ViewBinding { @NonNull public final LinearLayout a; @NonNull - public final MaterialButton b; + public final LinearLayout b; @NonNull /* renamed from: c reason: collision with root package name */ - public final MaterialButton f167c; + public final TextView f167c; + @NonNull + public final TextView d; + @NonNull + public final SimpleDraweeView e; + @NonNull + public final TextView f; + @NonNull + public final MaterialButton g; + @NonNull + public final TextView h; + @NonNull + public final TextView i; - public t5(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2) { + public t5(@NonNull LinearLayout linearLayout, @NonNull Barrier barrier, @NonNull Space space, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull TextView textView2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView3, @NonNull FrameLayout frameLayout, @NonNull MaterialButton materialButton, @NonNull TextView textView4, @NonNull TextView textView5) { this.a = linearLayout; - this.b = materialButton; - this.f167c = materialButton2; + this.b = linearLayout2; + this.f167c = textView; + this.d = textView2; + this.e = simpleDraweeView; + this.f = textView3; + this.g = materialButton; + this.h = textView4; + this.i = textView5; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/u3.java b/app/src/main/java/c/a/i/u3.java index 354d221d1f..12d71f66ab 100644 --- a/app/src/main/java/c/a/i/u3.java +++ b/app/src/main/java/c/a/i/u3.java @@ -1,29 +1,46 @@ package c.a.i; import android.view.View; +import android.widget.FrameLayout; +import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; -import com.facebook.drawee.view.SimpleDraweeView; -/* compiled from: ViewStreamPreviewBinding */ +import com.discord.utilities.view.text.LinkifiedTextView; +import com.discord.views.CheckableImageView; +/* compiled from: ViewTernaryCheckboxBinding */ public final class u3 implements ViewBinding { @NonNull - public final ConstraintLayout a; + public final LinearLayout a; @NonNull - public final SimpleDraweeView b; + public final FrameLayout b; @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f171c; + public final View f171c; @NonNull - public final TextView d; + public final View d; + @NonNull + public final TextView e; + @NonNull + public final LinkifiedTextView f; + @NonNull + public final CheckableImageView g; + @NonNull + public final CheckableImageView h; + @NonNull + public final CheckableImageView i; - public u3(@NonNull ConstraintLayout constraintLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull TextView textView2) { - this.a = constraintLayout; - this.b = simpleDraweeView; - this.f171c = textView; - this.d = textView2; + public u3(@NonNull LinearLayout linearLayout, @NonNull FrameLayout frameLayout, @NonNull LinearLayout linearLayout2, @NonNull View view, @NonNull View view2, @NonNull TextView textView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull CheckableImageView checkableImageView, @NonNull CheckableImageView checkableImageView2, @NonNull CheckableImageView checkableImageView3) { + this.a = linearLayout; + this.b = frameLayout; + this.f171c = view; + this.d = view2; + this.e = textView; + this.f = linkifiedTextView; + this.g = checkableImageView; + this.h = checkableImageView2; + this.i = checkableImageView3; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/u4.java b/app/src/main/java/c/a/i/u4.java index 8ea8bf63b5..c359939c3a 100644 --- a/app/src/main/java/c/a/i/u4.java +++ b/app/src/main/java/c/a/i/u4.java @@ -1,65 +1,16 @@ package c.a.i; import android.view.View; -import android.widget.ImageView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.discord.R; -import com.discord.views.typing.TypingDots; -import com.discord.widgets.botuikit.views.select.SelectComponentView; -import com.facebook.drawee.view.SimpleDraweeView; -import com.google.android.flexbox.FlexboxLayout; import com.google.android.material.textview.MaterialTextView; -/* compiled from: WidgetChatListBotUiSelectComponentBinding */ +/* compiled from: WidgetChatListBotUiSelectComponentPillBinding */ public final class u4 implements ViewBinding { @NonNull - public final SelectComponentView a; - @NonNull - public final ImageView b; - @NonNull + public final MaterialTextView a; - /* renamed from: c reason: collision with root package name */ - public final TypingDots f172c; - @NonNull - public final SimpleDraweeView d; - @NonNull - public final MaterialTextView e; - @NonNull - public final FlexboxLayout f; - - public u4(@NonNull SelectComponentView selectComponentView, @NonNull ImageView imageView, @NonNull TypingDots typingDots, @NonNull SimpleDraweeView simpleDraweeView, @NonNull MaterialTextView materialTextView, @NonNull FlexboxLayout flexboxLayout) { - this.a = selectComponentView; - this.b = imageView; - this.f172c = typingDots; - this.d = simpleDraweeView; - this.e = materialTextView; - this.f = flexboxLayout; - } - - @NonNull - public static u4 a(@NonNull View view) { - int i = R.id.select_component_chevron; - ImageView imageView = (ImageView) view.findViewById(R.id.select_component_chevron); - if (imageView != null) { - i = R.id.select_component_loading; - TypingDots typingDots = (TypingDots) view.findViewById(R.id.select_component_loading); - if (typingDots != null) { - i = R.id.select_component_selection_icon; - SimpleDraweeView simpleDraweeView = (SimpleDraweeView) view.findViewById(R.id.select_component_selection_icon); - if (simpleDraweeView != null) { - i = R.id.select_component_selection_text; - MaterialTextView materialTextView = (MaterialTextView) view.findViewById(R.id.select_component_selection_text); - if (materialTextView != null) { - i = R.id.select_component_selections_root; - FlexboxLayout flexboxLayout = (FlexboxLayout) view.findViewById(R.id.select_component_selections_root); - if (flexboxLayout != null) { - return new u4((SelectComponentView) view, imageView, typingDots, simpleDraweeView, materialTextView, flexboxLayout); - } - } - } - } - } - throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i))); + public u4(@NonNull MaterialTextView materialTextView) { + this.a = materialTextView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/u5.java b/app/src/main/java/c/a/i/u5.java index 4eba6abe25..bc59579ccf 100644 --- a/app/src/main/java/c/a/i/u5.java +++ b/app/src/main/java/c/a/i/u5.java @@ -1,25 +1,23 @@ package c.a.i; import android.view.View; -import android.widget.FrameLayout; import android.widget.LinearLayout; -import android.widget.Space; import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.constraintlayout.widget.Barrier; +import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; +import com.discord.views.StreamPreviewView; import com.facebook.drawee.view.SimpleDraweeView; -import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetStageChannelRichPresenceBinding */ +/* compiled from: WidgetStreamRichPresenceBinding */ public final class u5 implements ViewBinding { @NonNull - public final LinearLayout a; + public final ConstraintLayout a; @NonNull public final LinearLayout b; @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f173c; + public final TextView f172c; @NonNull public final TextView d; @NonNull @@ -27,22 +25,22 @@ public final class u5 implements ViewBinding { @NonNull public final TextView f; @NonNull - public final MaterialButton g; + public final TextView g; @NonNull public final TextView h; @NonNull - public final TextView i; + public final StreamPreviewView i; - public u5(@NonNull LinearLayout linearLayout, @NonNull Barrier barrier, @NonNull Space space, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull TextView textView2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView3, @NonNull FrameLayout frameLayout, @NonNull MaterialButton materialButton, @NonNull TextView textView4, @NonNull TextView textView5) { - this.a = linearLayout; - this.b = linearLayout2; - this.f173c = textView; + public u5(@NonNull ConstraintLayout constraintLayout, @NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull TextView textView2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView3, @NonNull TextView textView4, @NonNull TextView textView5, @NonNull StreamPreviewView streamPreviewView) { + this.a = constraintLayout; + this.b = linearLayout; + this.f172c = textView; this.d = textView2; this.e = simpleDraweeView; this.f = textView3; - this.g = materialButton; - this.h = textView4; - this.i = textView5; + this.g = textView4; + this.h = textView5; + this.i = streamPreviewView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/v.java b/app/src/main/java/c/a/i/v.java index 8fb8be8df9..bdb64935fc 100644 --- a/app/src/main/java/c/a/i/v.java +++ b/app/src/main/java/c/a/i/v.java @@ -17,7 +17,7 @@ public final class v implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final SwitchMaterial f174c; + public final SwitchMaterial f173c; @NonNull public final RelativeLayout d; @NonNull @@ -36,7 +36,7 @@ public final class v implements ViewBinding { public v(@NonNull RelativeLayout relativeLayout, @NonNull ImageView imageView, @NonNull MaterialButton materialButton, @NonNull SwitchMaterial switchMaterial, @NonNull RelativeLayout relativeLayout2, @NonNull View view, @NonNull MaterialButton materialButton2, @NonNull RelativeLayout relativeLayout3, @NonNull MaterialButton materialButton3, @NonNull MaterialButton materialButton4, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextView textView3) { this.a = relativeLayout; this.b = materialButton; - this.f174c = switchMaterial; + this.f173c = switchMaterial; this.d = relativeLayout2; this.e = view; this.f = materialButton2; diff --git a/app/src/main/java/c/a/i/v0.java b/app/src/main/java/c/a/i/v0.java index daa74e5b09..dd06138d6f 100644 --- a/app/src/main/java/c/a/i/v0.java +++ b/app/src/main/java/c/a/i/v0.java @@ -16,7 +16,7 @@ public final class v0 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f175c; + public final TextView f174c; @NonNull public final ImageView d; @NonNull @@ -29,7 +29,7 @@ public final class v0 implements ViewBinding { public v0(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton, @NonNull TextView textView, @NonNull ImageView imageView, @NonNull ImageView imageView2, @NonNull ImageView imageView3, @NonNull ImageView imageView4) { this.a = linearLayout; this.b = materialButton; - this.f175c = textView; + this.f174c = textView; this.d = imageView; this.e = imageView2; this.f = imageView3; diff --git a/app/src/main/java/c/a/i/v1.java b/app/src/main/java/c/a/i/v1.java index 2cdd48c34c..4adadd96da 100644 --- a/app/src/main/java/c/a/i/v1.java +++ b/app/src/main/java/c/a/i/v1.java @@ -17,7 +17,7 @@ public final class v1 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final ImageView f176c; + public final ImageView f175c; @NonNull public final ImageView d; @NonNull @@ -34,7 +34,7 @@ public final class v1 implements ViewBinding { public v1(@NonNull FrameLayout frameLayout, @NonNull TextView textView, @NonNull ImageView imageView, @NonNull ImageView imageView2, @NonNull ImageView imageView3, @NonNull TextView textView2, @NonNull MaterialButton materialButton, @NonNull ProgressBar progressBar, @NonNull MaterialButton materialButton2) { this.a = frameLayout; this.b = textView; - this.f176c = imageView; + this.f175c = imageView; this.d = imageView2; this.e = imageView3; this.f = textView2; diff --git a/app/src/main/java/c/a/i/v2.java b/app/src/main/java/c/a/i/v2.java index beddb8ffb6..3f35c9a6f0 100644 --- a/app/src/main/java/c/a/i/v2.java +++ b/app/src/main/java/c/a/i/v2.java @@ -15,14 +15,14 @@ public final class v2 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f177c; + public final TextView f176c; @NonNull public final TextView d; public v2(@NonNull LinearLayout linearLayout, @NonNull MaterialButton materialButton, @NonNull TextView textView, @NonNull TextView textView2) { this.a = linearLayout; this.b = materialButton; - this.f177c = textView; + this.f176c = textView; this.d = textView2; } diff --git a/app/src/main/java/c/a/i/v3.java b/app/src/main/java/c/a/i/v3.java index 849ed81525..1da04b4bf5 100644 --- a/app/src/main/java/c/a/i/v3.java +++ b/app/src/main/java/c/a/i/v3.java @@ -1,46 +1,35 @@ package c.a.i; import android.view.View; -import android.widget.FrameLayout; -import android.widget.LinearLayout; +import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.discord.utilities.view.text.LinkifiedTextView; -import com.discord.views.CheckableImageView; -/* compiled from: ViewTernaryCheckboxBinding */ +import com.discord.views.StatusView; +/* compiled from: ViewToolbarTitleBinding */ public final class v3 implements ViewBinding { @NonNull - public final LinearLayout a; + public final View a; @NonNull - public final FrameLayout b; + public final ImageView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final View f178c; + public final StatusView f177c; @NonNull - public final View d; + public final TextView d; @NonNull public final TextView e; @NonNull - public final LinkifiedTextView f; - @NonNull - public final CheckableImageView g; - @NonNull - public final CheckableImageView h; - @NonNull - public final CheckableImageView i; + public final ImageView f; - public v3(@NonNull LinearLayout linearLayout, @NonNull FrameLayout frameLayout, @NonNull LinearLayout linearLayout2, @NonNull View view, @NonNull View view2, @NonNull TextView textView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull CheckableImageView checkableImageView, @NonNull CheckableImageView checkableImageView2, @NonNull CheckableImageView checkableImageView3) { - this.a = linearLayout; - this.b = frameLayout; - this.f178c = view; - this.d = view2; - this.e = textView; - this.f = linkifiedTextView; - this.g = checkableImageView; - this.h = checkableImageView2; - this.i = checkableImageView3; + public v3(@NonNull View view, @NonNull ImageView imageView, @NonNull StatusView statusView, @NonNull TextView textView, @NonNull TextView textView2, @NonNull ImageView imageView2) { + this.a = view; + this.b = imageView; + this.f177c = statusView; + this.d = textView; + this.e = textView2; + this.f = imageView2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/v4.java b/app/src/main/java/c/a/i/v4.java index 62168bfeee..d63ab5998c 100644 --- a/app/src/main/java/c/a/i/v4.java +++ b/app/src/main/java/c/a/i/v4.java @@ -1,16 +1,30 @@ package c.a.i; import android.view.View; +import android.widget.LinearLayout; +import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.google.android.material.textview.MaterialTextView; -/* compiled from: WidgetChatListBotUiSelectComponentPillBinding */ +import com.discord.utilities.view.text.LinkifiedTextView; +import com.discord.views.ChatActionItem; +/* compiled from: WidgetDirectoryChannelEmptyBinding */ public final class v4 implements ViewBinding { @NonNull - public final MaterialTextView a; + public final LinearLayout a; + @NonNull + public final TextView b; + @NonNull - public v4(@NonNull MaterialTextView materialTextView) { - this.a = materialTextView; + /* renamed from: c reason: collision with root package name */ + public final ChatActionItem f178c; + @NonNull + public final ChatActionItem d; + + public v4(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull ChatActionItem chatActionItem, @NonNull ChatActionItem chatActionItem2) { + this.a = linearLayout; + this.b = textView; + this.f178c = chatActionItem; + this.d = chatActionItem2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/v5.java b/app/src/main/java/c/a/i/v5.java index 62365ac383..2479fdeccd 100644 --- a/app/src/main/java/c/a/i/v5.java +++ b/app/src/main/java/c/a/i/v5.java @@ -4,43 +4,26 @@ import android.view.View; import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; -import com.discord.views.StreamPreviewView; -import com.facebook.drawee.view.SimpleDraweeView; -/* compiled from: WidgetStreamRichPresenceBinding */ +import com.discord.views.LoadingButton; +/* compiled from: WidgetUrgentMessageDialogBinding */ public final class v5 implements ViewBinding { @NonNull - public final ConstraintLayout a; + public final LinearLayout a; @NonNull - public final LinearLayout b; + public final LoadingButton b; @NonNull /* renamed from: c reason: collision with root package name */ public final TextView f179c; @NonNull public final TextView d; - @NonNull - public final SimpleDraweeView e; - @NonNull - public final TextView f; - @NonNull - public final TextView g; - @NonNull - public final TextView h; - @NonNull - public final StreamPreviewView i; - public v5(@NonNull ConstraintLayout constraintLayout, @NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull TextView textView2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView3, @NonNull TextView textView4, @NonNull TextView textView5, @NonNull StreamPreviewView streamPreviewView) { - this.a = constraintLayout; - this.b = linearLayout; + public v5(@NonNull LinearLayout linearLayout, @NonNull LoadingButton loadingButton, @NonNull TextView textView, @NonNull TextView textView2) { + this.a = linearLayout; + this.b = loadingButton; this.f179c = textView; this.d = textView2; - this.e = simpleDraweeView; - this.f = textView3; - this.g = textView4; - this.h = textView5; - this.i = streamPreviewView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/w3.java b/app/src/main/java/c/a/i/w3.java index 4cab020227..b09fbdeb45 100644 --- a/app/src/main/java/c/a/i/w3.java +++ b/app/src/main/java/c/a/i/w3.java @@ -2,34 +2,32 @@ package c.a.i; import android.view.View; import android.widget.ImageView; +import android.widget.ProgressBar; import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; -import com.discord.views.StatusView; -/* compiled from: ViewToolbarTitleBinding */ +/* compiled from: ViewUploadProgressBinding */ public final class w3 implements ViewBinding { @NonNull - public final View a; + public final ConstraintLayout a; @NonNull - public final ImageView b; + public final ProgressBar b; @NonNull /* renamed from: c reason: collision with root package name */ - public final StatusView f182c; + public final ImageView f182c; @NonNull public final TextView d; @NonNull public final TextView e; - @NonNull - public final ImageView f; - public w3(@NonNull View view, @NonNull ImageView imageView, @NonNull StatusView statusView, @NonNull TextView textView, @NonNull TextView textView2, @NonNull ImageView imageView2) { - this.a = view; - this.b = imageView; - this.f182c = statusView; + public w3(@NonNull ConstraintLayout constraintLayout, @NonNull ProgressBar progressBar, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull TextView textView2) { + this.a = constraintLayout; + this.b = progressBar; + this.f182c = imageView; this.d = textView; this.e = textView2; - this.f = imageView2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/w4.java b/app/src/main/java/c/a/i/w4.java index cff0ced858..62da66a47d 100644 --- a/app/src/main/java/c/a/i/w4.java +++ b/app/src/main/java/c/a/i/w4.java @@ -1,30 +1,38 @@ package c.a.i; import android.view.View; -import android.widget.LinearLayout; +import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.core.widget.NestedScrollView; import androidx.viewbinding.ViewBinding; import com.discord.utilities.view.text.LinkifiedTextView; -import com.discord.views.ChatActionItem; -/* compiled from: WidgetDirectoryChannelEmptyBinding */ +import com.google.android.material.textfield.TextInputEditText; +import com.google.android.material.textfield.TextInputLayout; +/* compiled from: WidgetDiscordHubEmailInputBinding */ public final class w4 implements ViewBinding { @NonNull - public final LinearLayout a; + public final NestedScrollView a; @NonNull - public final TextView b; + public final LinkifiedTextView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final ChatActionItem f183c; + public final TextInputEditText f183c; @NonNull - public final ChatActionItem d; + public final TextInputLayout d; + @NonNull + public final TextView e; + @NonNull + public final TextView f; - public w4(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull ChatActionItem chatActionItem, @NonNull ChatActionItem chatActionItem2) { - this.a = linearLayout; - this.b = textView; - this.f183c = chatActionItem; - this.d = chatActionItem2; + public w4(@NonNull NestedScrollView nestedScrollView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextInputEditText textInputEditText, @NonNull TextInputLayout textInputLayout, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull TextView textView2) { + this.a = nestedScrollView; + this.b = linkifiedTextView; + this.f183c = textInputEditText; + this.d = textInputLayout; + this.e = textView; + this.f = textView2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/w5.java b/app/src/main/java/c/a/i/w5.java index 87908a8d3b..1fe2d3320a 100644 --- a/app/src/main/java/c/a/i/w5.java +++ b/app/src/main/java/c/a/i/w5.java @@ -1,29 +1,41 @@ package c.a.i; import android.view.View; -import android.widget.LinearLayout; +import android.widget.RelativeLayout; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.discord.views.LoadingButton; -/* compiled from: WidgetUrgentMessageDialogBinding */ +import com.discord.R; +import com.facebook.drawee.view.SimpleDraweeView; +/* compiled from: WidgetUserProfileAdapterItemFriendMutualServerBinding */ public final class w5 implements ViewBinding { @NonNull - public final LinearLayout a; + public final RelativeLayout a; @NonNull - public final LoadingButton b; + public final SimpleDraweeView b; @NonNull /* renamed from: c reason: collision with root package name */ public final TextView f184c; - @NonNull - public final TextView d; - public w5(@NonNull LinearLayout linearLayout, @NonNull LoadingButton loadingButton, @NonNull TextView textView, @NonNull TextView textView2) { - this.a = linearLayout; - this.b = loadingButton; + public w5(@NonNull RelativeLayout relativeLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView) { + this.a = relativeLayout; + this.b = simpleDraweeView; this.f184c = textView; - this.d = textView2; + } + + @NonNull + public static w5 a(@NonNull View view) { + int i = R.id.user_profile_adapter_item_friend_mutual_image; + SimpleDraweeView simpleDraweeView = (SimpleDraweeView) view.findViewById(R.id.user_profile_adapter_item_friend_mutual_image); + if (simpleDraweeView != null) { + i = R.id.user_profile_adapter_item_friend_mutual_text; + TextView textView = (TextView) view.findViewById(R.id.user_profile_adapter_item_friend_mutual_text); + if (textView != null) { + return new w5((RelativeLayout) view, simpleDraweeView, textView); + } + } + throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i))); } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/x3.java b/app/src/main/java/c/a/i/x3.java index ead81d9b9c..35bd958e58 100644 --- a/app/src/main/java/c/a/i/x3.java +++ b/app/src/main/java/c/a/i/x3.java @@ -1,33 +1,32 @@ package c.a.i; import android.view.View; -import android.widget.ImageView; -import android.widget.ProgressBar; import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; -/* compiled from: ViewUploadProgressBinding */ +import com.discord.views.StatusView; +import com.facebook.drawee.view.SimpleDraweeView; +/* compiled from: ViewUserListItemBinding */ public final class x3 implements ViewBinding { @NonNull - public final ConstraintLayout a; + public final View a; @NonNull - public final ProgressBar b; + public final SimpleDraweeView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final ImageView f188c; + public final TextView f188c; @NonNull public final TextView d; @NonNull - public final TextView e; + public final StatusView e; - public x3(@NonNull ConstraintLayout constraintLayout, @NonNull ProgressBar progressBar, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull TextView textView2) { - this.a = constraintLayout; - this.b = progressBar; - this.f188c = imageView; - this.d = textView; - this.e = textView2; + public x3(@NonNull View view, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull TextView textView2, @NonNull StatusView statusView) { + this.a = view; + this.b = simpleDraweeView; + this.f188c = textView; + this.d = textView2; + this.e = statusView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/x4.java b/app/src/main/java/c/a/i/x4.java index 7068588d03..d75ae3f634 100644 --- a/app/src/main/java/c/a/i/x4.java +++ b/app/src/main/java/c/a/i/x4.java @@ -1,38 +1,20 @@ package c.a.i; import android.view.View; -import android.widget.ImageView; +import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.core.widget.NestedScrollView; import androidx.viewbinding.ViewBinding; -import com.discord.utilities.view.text.LinkifiedTextView; -import com.google.android.material.textfield.TextInputEditText; -import com.google.android.material.textfield.TextInputLayout; -/* compiled from: WidgetDiscordHubEmailInputBinding */ +/* compiled from: WidgetDiscoveryOtherSpeakersCountBinding */ public final class x4 implements ViewBinding { @NonNull - public final NestedScrollView a; - @NonNull - public final LinkifiedTextView b; + public final LinearLayout a; @NonNull + public final TextView b; - /* renamed from: c reason: collision with root package name */ - public final TextInputEditText f189c; - @NonNull - public final TextInputLayout d; - @NonNull - public final TextView e; - @NonNull - public final TextView f; - - public x4(@NonNull NestedScrollView nestedScrollView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextInputEditText textInputEditText, @NonNull TextInputLayout textInputLayout, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull TextView textView2) { - this.a = nestedScrollView; - this.b = linkifiedTextView; - this.f189c = textInputEditText; - this.d = textInputLayout; - this.e = textView; - this.f = textView2; + public x4(@NonNull LinearLayout linearLayout, @NonNull TextView textView) { + this.a = linearLayout; + this.b = textView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/x5.java b/app/src/main/java/c/a/i/x5.java index 4104d3e74a..410881c27a 100644 --- a/app/src/main/java/c/a/i/x5.java +++ b/app/src/main/java/c/a/i/x5.java @@ -1,41 +1,115 @@ package c.a.i; +import android.view.LayoutInflater; import android.view.View; -import android.widget.RelativeLayout; +import android.view.ViewGroup; +import android.widget.LinearLayout; +import android.widget.Space; import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.annotation.Nullable; +import androidx.constraintlayout.widget.Barrier; import androidx.viewbinding.ViewBinding; import com.discord.R; import com.facebook.drawee.view.SimpleDraweeView; -/* compiled from: WidgetUserProfileAdapterItemFriendMutualServerBinding */ +import com.google.android.material.button.MaterialButton; +/* compiled from: WidgetUserRichPresenceBinding */ public final class x5 implements ViewBinding { @NonNull - public final RelativeLayout a; + public final LinearLayout a; @NonNull - public final SimpleDraweeView b; + public final LinearLayout b; @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f190c; + public final TextView f189c; + @NonNull + public final TextView d; + @NonNull + public final SimpleDraweeView e; + @NonNull + public final SimpleDraweeView f; + @NonNull + public final MaterialButton g; + @NonNull + public final MaterialButton h; + @NonNull + public final TextView i; + @NonNull + public final TextView j; + @NonNull + public final TextView k; - public x5(@NonNull RelativeLayout relativeLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView) { - this.a = relativeLayout; - this.b = simpleDraweeView; - this.f190c = textView; + public x5(@NonNull LinearLayout linearLayout, @NonNull Barrier barrier, @NonNull Space space, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull TextView textView2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView3, @NonNull TextView textView4, @NonNull TextView textView5) { + this.a = linearLayout; + this.b = linearLayout2; + this.f189c = textView; + this.d = textView2; + this.e = simpleDraweeView; + this.f = simpleDraweeView2; + this.g = materialButton; + this.h = materialButton2; + this.i = textView3; + this.j = textView4; + this.k = textView5; } @NonNull - public static x5 a(@NonNull View view) { - int i = R.id.user_profile_adapter_item_friend_mutual_image; - SimpleDraweeView simpleDraweeView = (SimpleDraweeView) view.findViewById(R.id.user_profile_adapter_item_friend_mutual_image); - if (simpleDraweeView != null) { - i = R.id.user_profile_adapter_item_friend_mutual_text; - TextView textView = (TextView) view.findViewById(R.id.user_profile_adapter_item_friend_mutual_text); - if (textView != null) { - return new x5((RelativeLayout) view, simpleDraweeView, textView); + public static x5 a(@NonNull LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, boolean z2) { + View inflate = layoutInflater.inflate(R.layout.widget_user_rich_presence, viewGroup, false); + if (z2) { + viewGroup.addView(inflate); + } + int i = R.id.barrier; + Barrier barrier = (Barrier) inflate.findViewById(R.id.barrier); + if (barrier != null) { + i = R.id.image_bottom_guideline; + Space space = (Space) inflate.findViewById(R.id.image_bottom_guideline); + if (space != null) { + i = R.id.rich_presence_container_data; + LinearLayout linearLayout = (LinearLayout) inflate.findViewById(R.id.rich_presence_container_data); + if (linearLayout != null) { + i = R.id.rich_presence_details; + TextView textView = (TextView) inflate.findViewById(R.id.rich_presence_details); + if (textView != null) { + i = R.id.rich_presence_header; + TextView textView2 = (TextView) inflate.findViewById(R.id.rich_presence_header); + if (textView2 != null) { + i = R.id.rich_presence_image_large; + SimpleDraweeView simpleDraweeView = (SimpleDraweeView) inflate.findViewById(R.id.rich_presence_image_large); + if (simpleDraweeView != null) { + i = R.id.rich_presence_image_small; + SimpleDraweeView simpleDraweeView2 = (SimpleDraweeView) inflate.findViewById(R.id.rich_presence_image_small); + if (simpleDraweeView2 != null) { + i = R.id.rich_presence_primary_button; + MaterialButton materialButton = (MaterialButton) inflate.findViewById(R.id.rich_presence_primary_button); + if (materialButton != null) { + i = R.id.rich_presence_secondary_button; + MaterialButton materialButton2 = (MaterialButton) inflate.findViewById(R.id.rich_presence_secondary_button); + if (materialButton2 != null) { + i = R.id.rich_presence_state; + TextView textView3 = (TextView) inflate.findViewById(R.id.rich_presence_state); + if (textView3 != null) { + i = R.id.rich_presence_time; + TextView textView4 = (TextView) inflate.findViewById(R.id.rich_presence_time); + if (textView4 != null) { + i = R.id.rich_presence_title; + TextView textView5 = (TextView) inflate.findViewById(R.id.rich_presence_title); + if (textView5 != null) { + return new x5((LinearLayout) inflate, barrier, space, linearLayout, textView, textView2, simpleDraweeView, simpleDraweeView2, materialButton, materialButton2, textView3, textView4, textView5); + } + } + } + } + } + } + } + } + } + } } } - throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i))); + throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i))); } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/y.java b/app/src/main/java/c/a/i/y.java index c0400e9154..f2ba7aa376 100644 --- a/app/src/main/java/c/a/i/y.java +++ b/app/src/main/java/c/a/i/y.java @@ -14,14 +14,14 @@ public final class y implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final AccountCreditView f191c; + public final AccountCreditView f190c; @NonNull public final View d; public y(@NonNull CardView cardView, @NonNull AccountCreditView accountCreditView, @NonNull AccountCreditView accountCreditView2, @NonNull View view) { this.a = cardView; this.b = accountCreditView; - this.f191c = accountCreditView2; + this.f190c = accountCreditView2; this.d = view; } diff --git a/app/src/main/java/c/a/i/y0.java b/app/src/main/java/c/a/i/y0.java index 65aa6c5fe7..68e028ae77 100644 --- a/app/src/main/java/c/a/i/y0.java +++ b/app/src/main/java/c/a/i/y0.java @@ -18,7 +18,7 @@ public final class y0 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final LoadingButton f192c; + public final LoadingButton f191c; @NonNull public final TextView d; @NonNull @@ -31,7 +31,7 @@ public final class y0 implements ViewBinding { public y0(@NonNull LinearLayout linearLayout, @NonNull ProgressBar progressBar, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull LoadingButton loadingButton, @NonNull TextView textView2, @NonNull AppViewFlipper appViewFlipper, @NonNull TextView textView3, @NonNull MaterialButton materialButton) { this.a = linearLayout; this.b = textView; - this.f192c = loadingButton; + this.f191c = loadingButton; this.d = textView2; this.e = appViewFlipper; this.f = textView3; diff --git a/app/src/main/java/c/a/i/y1.java b/app/src/main/java/c/a/i/y1.java index fec1f43c51..d8978de39d 100644 --- a/app/src/main/java/c/a/i/y1.java +++ b/app/src/main/java/c/a/i/y1.java @@ -14,12 +14,12 @@ public final class y1 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f193c; + public final TextView f192c; public y1(@NonNull View view, @NonNull ImageView imageView, @NonNull TextView textView) { this.a = view; this.b = imageView; - this.f193c = textView; + this.f192c = textView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/y3.java b/app/src/main/java/c/a/i/y3.java index 6e8e179bf9..3d79ad1ca7 100644 --- a/app/src/main/java/c/a/i/y3.java +++ b/app/src/main/java/c/a/i/y3.java @@ -1,32 +1,49 @@ package c.a.i; import android.view.View; +import android.widget.ImageView; +import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.discord.views.StatusView; -import com.facebook.drawee.view.SimpleDraweeView; -/* compiled from: ViewUserListItemBinding */ +import com.discord.R; +/* compiled from: ViewUserStatusPresenceBinding */ public final class y3 implements ViewBinding { @NonNull - public final View a; + public final LinearLayout a; @NonNull - public final SimpleDraweeView b; + public final ImageView b; @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f194c; + public final TextView f193c; @NonNull public final TextView d; - @NonNull - public final StatusView e; - public y3(@NonNull View view, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull TextView textView2, @NonNull StatusView statusView) { - this.a = view; - this.b = simpleDraweeView; - this.f194c = textView; + public y3(@NonNull LinearLayout linearLayout, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull TextView textView2, @NonNull LinearLayout linearLayout2) { + this.a = linearLayout; + this.b = imageView; + this.f193c = textView; this.d = textView2; - this.e = statusView; + } + + @NonNull + public static y3 a(@NonNull View view) { + int i = R.id.user_status_presence_dot; + ImageView imageView = (ImageView) view.findViewById(R.id.user_status_presence_dot); + if (imageView != null) { + i = R.id.user_status_presence_subtitle; + TextView textView = (TextView) view.findViewById(R.id.user_status_presence_subtitle); + if (textView != null) { + i = R.id.user_status_presence_title; + TextView textView2 = (TextView) view.findViewById(R.id.user_status_presence_title); + if (textView2 != null) { + LinearLayout linearLayout = (LinearLayout) view; + return new y3(linearLayout, imageView, textView, textView2, linearLayout); + } + } + } + throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i))); } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/y4.java b/app/src/main/java/c/a/i/y4.java index 77a1bf443b..65a18ad15d 100644 --- a/app/src/main/java/c/a/i/y4.java +++ b/app/src/main/java/c/a/i/y4.java @@ -5,16 +5,22 @@ import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -/* compiled from: WidgetDiscoveryOtherSpeakersCountBinding */ +import com.facebook.drawee.view.SimpleDraweeView; +/* compiled from: WidgetDiscoveryStageCardSpeakerBinding */ public final class y4 implements ViewBinding { @NonNull public final LinearLayout a; @NonNull - public final TextView b; + public final SimpleDraweeView b; + @NonNull - public y4(@NonNull LinearLayout linearLayout, @NonNull TextView textView) { + /* renamed from: c reason: collision with root package name */ + public final TextView f194c; + + public y4(@NonNull LinearLayout linearLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView) { this.a = linearLayout; - this.b = textView; + this.b = simpleDraweeView; + this.f194c = textView; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/y5.java b/app/src/main/java/c/a/i/y5.java deleted file mode 100644 index 6089b56dd9..0000000000 --- a/app/src/main/java/c/a/i/y5.java +++ /dev/null @@ -1,120 +0,0 @@ -package c.a.i; - -import android.view.LayoutInflater; -import android.view.View; -import android.view.ViewGroup; -import android.widget.LinearLayout; -import android.widget.Space; -import android.widget.TextView; -import androidx.annotation.NonNull; -import androidx.annotation.Nullable; -import androidx.constraintlayout.widget.Barrier; -import androidx.viewbinding.ViewBinding; -import com.discord.R; -import com.facebook.drawee.view.SimpleDraweeView; -import com.google.android.material.button.MaterialButton; -/* compiled from: WidgetUserRichPresenceBinding */ -public final class y5 implements ViewBinding { - @NonNull - public final LinearLayout a; - @NonNull - public final LinearLayout b; - @NonNull - - /* renamed from: c reason: collision with root package name */ - public final TextView f195c; - @NonNull - public final TextView d; - @NonNull - public final SimpleDraweeView e; - @NonNull - public final SimpleDraweeView f; - @NonNull - public final MaterialButton g; - @NonNull - public final MaterialButton h; - @NonNull - public final TextView i; - @NonNull - public final TextView j; - @NonNull - public final TextView k; - - public y5(@NonNull LinearLayout linearLayout, @NonNull Barrier barrier, @NonNull Space space, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull TextView textView2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView3, @NonNull TextView textView4, @NonNull TextView textView5) { - this.a = linearLayout; - this.b = linearLayout2; - this.f195c = textView; - this.d = textView2; - this.e = simpleDraweeView; - this.f = simpleDraweeView2; - this.g = materialButton; - this.h = materialButton2; - this.i = textView3; - this.j = textView4; - this.k = textView5; - } - - @NonNull - public static y5 a(@NonNull LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, boolean z2) { - View inflate = layoutInflater.inflate(R.layout.widget_user_rich_presence, viewGroup, false); - if (z2) { - viewGroup.addView(inflate); - } - int i = R.id.barrier; - Barrier barrier = (Barrier) inflate.findViewById(R.id.barrier); - if (barrier != null) { - i = R.id.image_bottom_guideline; - Space space = (Space) inflate.findViewById(R.id.image_bottom_guideline); - if (space != null) { - i = R.id.rich_presence_container_data; - LinearLayout linearLayout = (LinearLayout) inflate.findViewById(R.id.rich_presence_container_data); - if (linearLayout != null) { - i = R.id.rich_presence_details; - TextView textView = (TextView) inflate.findViewById(R.id.rich_presence_details); - if (textView != null) { - i = R.id.rich_presence_header; - TextView textView2 = (TextView) inflate.findViewById(R.id.rich_presence_header); - if (textView2 != null) { - i = R.id.rich_presence_image_large; - SimpleDraweeView simpleDraweeView = (SimpleDraweeView) inflate.findViewById(R.id.rich_presence_image_large); - if (simpleDraweeView != null) { - i = R.id.rich_presence_image_small; - SimpleDraweeView simpleDraweeView2 = (SimpleDraweeView) inflate.findViewById(R.id.rich_presence_image_small); - if (simpleDraweeView2 != null) { - i = R.id.rich_presence_primary_button; - MaterialButton materialButton = (MaterialButton) inflate.findViewById(R.id.rich_presence_primary_button); - if (materialButton != null) { - i = R.id.rich_presence_secondary_button; - MaterialButton materialButton2 = (MaterialButton) inflate.findViewById(R.id.rich_presence_secondary_button); - if (materialButton2 != null) { - i = R.id.rich_presence_state; - TextView textView3 = (TextView) inflate.findViewById(R.id.rich_presence_state); - if (textView3 != null) { - i = R.id.rich_presence_time; - TextView textView4 = (TextView) inflate.findViewById(R.id.rich_presence_time); - if (textView4 != null) { - i = R.id.rich_presence_title; - TextView textView5 = (TextView) inflate.findViewById(R.id.rich_presence_title); - if (textView5 != null) { - return new y5((LinearLayout) inflate, barrier, space, linearLayout, textView, textView2, simpleDraweeView, simpleDraweeView2, materialButton, materialButton2, textView3, textView4, textView5); - } - } - } - } - } - } - } - } - } - } - } - } - throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i))); - } - - @Override // androidx.viewbinding.ViewBinding - @NonNull - public View getRoot() { - return this.a; - } -} diff --git a/app/src/main/java/c/a/i/z.java b/app/src/main/java/c/a/i/z.java index 4368c75050..55506c7ca0 100644 --- a/app/src/main/java/c/a/i/z.java +++ b/app/src/main/java/c/a/i/z.java @@ -17,14 +17,14 @@ public final class z implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextInputLayout f196c; + public final TextInputLayout f195c; @NonNull public final LoadingButton d; public z(@NonNull ConstraintLayout constraintLayout, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextInputLayout textInputLayout, @NonNull LoadingButton loadingButton, @NonNull TextView textView) { this.a = constraintLayout; this.b = linkifiedTextView; - this.f196c = textInputLayout; + this.f195c = textInputLayout; this.d = loadingButton; } diff --git a/app/src/main/java/c/a/i/z0.java b/app/src/main/java/c/a/i/z0.java index fc36c51888..bc5c65168c 100644 --- a/app/src/main/java/c/a/i/z0.java +++ b/app/src/main/java/c/a/i/z0.java @@ -18,7 +18,7 @@ public final class z0 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final LoadingButton f197c; + public final LoadingButton f196c; @NonNull public final TextView d; @NonNull @@ -33,7 +33,7 @@ public final class z0 implements ViewBinding { public z0(@NonNull LinearLayout linearLayout, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull LoadingButton loadingButton, @NonNull TextView textView2, @NonNull AppViewFlipper appViewFlipper, @NonNull TextView textView3, @NonNull ImageView imageView, @NonNull MaterialButton materialButton) { this.a = linearLayout; this.b = textView; - this.f197c = loadingButton; + this.f196c = loadingButton; this.d = textView2; this.e = appViewFlipper; this.f = textView3; diff --git a/app/src/main/java/c/a/i/z1.java b/app/src/main/java/c/a/i/z1.java index 67f5e94be2..a7dc71cf99 100644 --- a/app/src/main/java/c/a/i/z1.java +++ b/app/src/main/java/c/a/i/z1.java @@ -15,14 +15,14 @@ public final class z1 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final ImageView f198c; + public final ImageView f197c; @NonNull public final TextView d; public z1(@NonNull ConstraintLayout constraintLayout, @NonNull TextView textView, @NonNull ImageView imageView, @NonNull ImageView imageView2, @NonNull TextView textView2) { this.a = constraintLayout; this.b = textView; - this.f198c = imageView2; + this.f197c = imageView2; this.d = textView2; } diff --git a/app/src/main/java/c/a/i/z2.java b/app/src/main/java/c/a/i/z2.java index c6d22810e6..341dccb134 100644 --- a/app/src/main/java/c/a/i/z2.java +++ b/app/src/main/java/c/a/i/z2.java @@ -14,12 +14,12 @@ public final class z2 implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f199c; + public final TextView f198c; public z2(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull TextView textView2) { this.a = linearLayout; this.b = textView; - this.f199c = textView2; + this.f198c = textView2; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/z3.java b/app/src/main/java/c/a/i/z3.java index 2812168c4d..47b0851e63 100644 --- a/app/src/main/java/c/a/i/z3.java +++ b/app/src/main/java/c/a/i/z3.java @@ -1,49 +1,30 @@ package c.a.i; import android.view.View; -import android.widget.ImageView; -import android.widget.LinearLayout; -import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; import com.discord.R; -/* compiled from: ViewUserStatusPresenceBinding */ +import com.discord.views.CutoutView; +import com.facebook.drawee.view.SimpleDraweeView; +/* compiled from: ViewUserSummaryItemBinding */ public final class z3 implements ViewBinding { @NonNull - public final LinearLayout a; - @NonNull - public final ImageView b; + public final CutoutView a; @NonNull + public final SimpleDraweeView b; - /* renamed from: c reason: collision with root package name */ - public final TextView f200c; - @NonNull - public final TextView d; - - public z3(@NonNull LinearLayout linearLayout, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull TextView textView2, @NonNull LinearLayout linearLayout2) { - this.a = linearLayout; - this.b = imageView; - this.f200c = textView; - this.d = textView2; + public z3(@NonNull CutoutView cutoutView, @NonNull SimpleDraweeView simpleDraweeView) { + this.a = cutoutView; + this.b = simpleDraweeView; } @NonNull public static z3 a(@NonNull View view) { - int i = R.id.user_status_presence_dot; - ImageView imageView = (ImageView) view.findViewById(R.id.user_status_presence_dot); - if (imageView != null) { - i = R.id.user_status_presence_subtitle; - TextView textView = (TextView) view.findViewById(R.id.user_status_presence_subtitle); - if (textView != null) { - i = R.id.user_status_presence_title; - TextView textView2 = (TextView) view.findViewById(R.id.user_status_presence_title); - if (textView2 != null) { - LinearLayout linearLayout = (LinearLayout) view; - return new z3(linearLayout, imageView, textView, textView2, linearLayout); - } - } + SimpleDraweeView simpleDraweeView = (SimpleDraweeView) view.findViewById(R.id.avatar); + if (simpleDraweeView != null) { + return new z3((CutoutView) view, simpleDraweeView); } - throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i))); + throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(R.id.avatar))); } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/i/z4.java b/app/src/main/java/c/a/i/z4.java index bd52995e5b..eceeaae8db 100644 --- a/app/src/main/java/c/a/i/z4.java +++ b/app/src/main/java/c/a/i/z4.java @@ -5,22 +5,27 @@ import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.viewbinding.ViewBinding; -import com.facebook.drawee.view.SimpleDraweeView; -/* compiled from: WidgetDiscoveryStageCardSpeakerBinding */ +import com.discord.views.LoadingButton; +import com.google.android.material.button.MaterialButton; +import com.google.android.material.textfield.TextInputLayout; +/* compiled from: WidgetEnableTwoFactorPasswordDialogBinding */ public final class z4 implements ViewBinding { @NonNull public final LinearLayout a; @NonNull - public final SimpleDraweeView b; + public final MaterialButton b; @NonNull /* renamed from: c reason: collision with root package name */ - public final TextView f201c; + public final LoadingButton f199c; + @NonNull + public final TextInputLayout d; - public z4(@NonNull LinearLayout linearLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView) { + public z4(@NonNull LinearLayout linearLayout, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull TextView textView2, @NonNull LinearLayout linearLayout3, @NonNull LoadingButton loadingButton, @NonNull TextInputLayout textInputLayout) { this.a = linearLayout; - this.b = simpleDraweeView; - this.f201c = textView; + this.b = materialButton; + this.f199c = loadingButton; + this.d = textInputLayout; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/a/j/a.java b/app/src/main/java/c/a/j/a.java index 1a0c4bf849..58310272c6 100644 --- a/app/src/main/java/c/a/j/a.java +++ b/app/src/main/java/c/a/j/a.java @@ -4,9 +4,9 @@ import android.view.View; import android.view.ViewGroup; import android.view.ViewTreeObserver; import androidx.annotation.MainThread; -import c0.z.d.m; import com.discord.floating_view_manager.FloatingViewGravity; import com.discord.utilities.logging.Logger; +import d0.z.d.m; import java.lang.ref.WeakReference; import java.util.LinkedHashMap; import java.util.Map; @@ -17,27 +17,27 @@ import kotlin.jvm.functions.Function1; /* compiled from: FloatingViewManager.kt */ public final class a { public Function1 a; - public final Map b = new LinkedHashMap(); + public final Map b = new LinkedHashMap(); /* renamed from: c reason: collision with root package name */ - public final Logger f202c; + public final Logger f200c; /* compiled from: FloatingViewManager.kt */ /* renamed from: c.a.j.a$a reason: collision with other inner class name */ - public static final class C0028a { + public static final class C0027a { public final View a; public final ViewGroup b; /* renamed from: c reason: collision with root package name */ - public final ViewTreeObserver.OnPreDrawListener f203c; + public final ViewTreeObserver.OnPreDrawListener f201c; - public C0028a(View view, ViewGroup viewGroup, ViewTreeObserver.OnPreDrawListener onPreDrawListener) { + public C0027a(View view, ViewGroup viewGroup, ViewTreeObserver.OnPreDrawListener onPreDrawListener) { m.checkNotNullParameter(view, "floatingView"); m.checkNotNullParameter(viewGroup, "ancestorViewGroup"); m.checkNotNullParameter(onPreDrawListener, "ancestorPreDrawListener"); this.a = view; this.b = viewGroup; - this.f203c = onPreDrawListener; + this.f201c = onPreDrawListener; } } @@ -48,7 +48,7 @@ public final class a { public a(Logger logger) { m.checkNotNullParameter(logger, "logger"); - this.f202c = logger; + this.f200c = logger; } public static final void a(a aVar, View view, View view2, FloatingViewGravity floatingViewGravity, int i, int i2) { @@ -75,11 +75,11 @@ public final class a { @MainThread public final void b(int i) { - C0028a aVar = this.b.get(Integer.valueOf(i)); + C0027a aVar = this.b.get(Integer.valueOf(i)); if (aVar != null) { ViewGroup viewGroup = aVar.b; View view = aVar.a; - ViewTreeObserver.OnPreDrawListener onPreDrawListener = aVar.f203c; + ViewTreeObserver.OnPreDrawListener onPreDrawListener = aVar.f201c; this.b.remove(Integer.valueOf(i)); viewGroup.getViewTreeObserver().removeOnPreDrawListener(onPreDrawListener); viewGroup.removeView(view); diff --git a/app/src/main/java/c/a/j/b.java b/app/src/main/java/c/a/j/b.java index 075ff20404..332dd3a40a 100644 --- a/app/src/main/java/c/a/j/b.java +++ b/app/src/main/java/c/a/j/b.java @@ -2,8 +2,8 @@ package c.a.j; import android.view.View; import androidx.core.view.ViewCompat; -import c0.z.d.m; import com.discord.floating_view_manager.FloatingViewGravity; +import d0.z.d.m; /* compiled from: View.kt */ public final class b implements View.OnLayoutChangeListener { public final /* synthetic */ a i; diff --git a/app/src/main/java/c/a/j/c.java b/app/src/main/java/c/a/j/c.java index 8a1f8cec4a..77e7b69351 100644 --- a/app/src/main/java/c/a/j/c.java +++ b/app/src/main/java/c/a/j/c.java @@ -1,8 +1,8 @@ package c.a.j; import android.view.View; -import c0.z.d.m; import com.discord.floating_view_manager.FloatingViewGravity; +import d0.z.d.m; /* compiled from: View.kt */ public final class c implements View.OnLayoutChangeListener { public final /* synthetic */ a i; diff --git a/app/src/main/java/c/a/j/e.java b/app/src/main/java/c/a/j/e.java index 795b55b9d0..12a492d199 100644 --- a/app/src/main/java/c/a/j/e.java +++ b/app/src/main/java/c/a/j/e.java @@ -13,6 +13,6 @@ public final class e implements Action1 { /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // rx.functions.Action1 public void call(Throwable th) { - Logger.e$default(this.i.f202c, "error while subscribing to componentPausedObservable for hiding floating view", th, null, 4, null); + Logger.e$default(this.i.f200c, "error while subscribing to componentPausedObservable for hiding floating view", th, null, 4, null); } } diff --git a/app/src/main/java/c/a/k/a.java b/app/src/main/java/c/a/k/a.java index e8322e2283..0bb10a1275 100644 --- a/app/src/main/java/c/a/k/a.java +++ b/app/src/main/java/c/a/k/a.java @@ -2,33 +2,33 @@ package c.a.k; import android.view.View; import androidx.core.view.ViewCompat; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function2; /* compiled from: Format.kt */ public final class a { public static c.a.k.g.b a; - public static Function0 b = C0029a.i; + public static Function0 b = C0028a.i; /* renamed from: c reason: collision with root package name */ - public static Function2 f204c = b.i; + public static Function2 f202c = b.i; public static final a d = null; /* compiled from: Format.kt */ /* renamed from: c.a.k.a$a reason: collision with other inner class name */ - public static final class C0029a extends o implements Function0 { - public static final C0029a i = new C0029a(); + public static final class C0028a extends o implements Function0 { + public static final C0028a i = new C0028a(); - public C0029a() { + public C0028a() { super(0); } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public /* bridge */ /* synthetic */ Integer mo17invoke() { + public /* bridge */ /* synthetic */ Integer mo1invoke() { return Integer.valueOf((int) ViewCompat.MEASURED_STATE_MASK); } } diff --git a/app/src/main/java/c/a/k/b.java b/app/src/main/java/c/a/k/b.java index 78f13ca074..55d9ab8a46 100644 --- a/app/src/main/java/c/a/k/b.java +++ b/app/src/main/java/c/a/k/b.java @@ -9,10 +9,10 @@ import android.view.View; import android.widget.TextView; import androidx.annotation.StringRes; import androidx.fragment.app.Fragment; -import c0.z.d.m; -import c0.z.d.o; import com.discord.i18n.RenderContext; import com.discord.simpleast.core.parser.Parser; +import d0.z.d.m; +import d0.z.d.o; import java.util.Arrays; import java.util.List; import java.util.Locale; @@ -45,10 +45,10 @@ public final class b { /* compiled from: FormatUtils.kt */ /* renamed from: c.a.k.b$b reason: collision with other inner class name */ - public static final class C0030b extends o implements Function1 { - public static final C0030b i = new C0030b(); + public static final class C0029b extends o implements Function1 { + public static final C0029b i = new C0029b(); - public C0030b() { + public C0029b() { super(1); } @@ -218,7 +218,7 @@ public final class b { m.checkNotNullParameter(objArr, "formatArgs"); m.checkNotNullParameter(renderContext, "renderContext"); Map map = renderContext.a; - List list = renderContext.f2507c; + List list = renderContext.f2127c; boolean z2 = true; if (!map.isEmpty()) { charSequence = a.replace(charSequence, new f(map)); @@ -229,7 +229,7 @@ public final class b { if (!z2) { String replace = a.replace(charSequence, "%s"); Object[] copyOf = Arrays.copyOf(objArr, objArr.length); - charSequence = c.d.b.a.a.L(copyOf, copyOf.length, replace, "java.lang.String.format(this, *args)"); + charSequence = c.d.b.a.a.M(copyOf, copyOf.length, replace, "java.lang.String.format(this, *args)"); } } a aVar = a.d; @@ -263,7 +263,7 @@ public final class b { } public static /* synthetic */ CharSequence h(Context context, int i, Object[] objArr, Function1 function1, int i2) { - return b(context, i, objArr, (i2 & 4) != 0 ? C0030b.i : null); + return b(context, i, objArr, (i2 & 4) != 0 ? C0029b.i : null); } public static /* synthetic */ CharSequence i(Resources resources, int i, Object[] objArr, Function1 function1, int i2) { diff --git a/app/src/main/java/c/a/k/c.java b/app/src/main/java/c/a/k/c.java index bf0d09ddd6..727a4fb062 100644 --- a/app/src/main/java/c/a/k/c.java +++ b/app/src/main/java/c/a/k/c.java @@ -1,8 +1,8 @@ package c.a.k; import android.view.View; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function2; /* compiled from: Hook.kt */ diff --git a/app/src/main/java/c/a/k/d.java b/app/src/main/java/c/a/k/d.java index 827ac55fff..0350716f94 100644 --- a/app/src/main/java/c/a/k/d.java +++ b/app/src/main/java/c/a/k/d.java @@ -1,9 +1,9 @@ package c.a.k; import android.view.View; -import c0.z.d.m; -import c0.z.d.o; import com.discord.i18n.RenderContext; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function2; /* compiled from: RenderContext.kt */ diff --git a/app/src/main/java/c/a/k/e/a.java b/app/src/main/java/c/a/k/e/a.java index 317cf055c7..7cbb4c8653 100644 --- a/app/src/main/java/c/a/k/e/a.java +++ b/app/src/main/java/c/a/k/e/a.java @@ -4,7 +4,7 @@ import android.text.TextPaint; import android.text.style.ClickableSpan; import android.view.View; import androidx.annotation.ColorInt; -import c0.z.d.m; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: ClickableSpan.kt */ diff --git a/app/src/main/java/c/a/k/f/a.java b/app/src/main/java/c/a/k/f/a.java index 2a7fa86322..e18c0a109b 100644 --- a/app/src/main/java/c/a/k/f/a.java +++ b/app/src/main/java/c/a/k/f/a.java @@ -3,9 +3,9 @@ package c.a.k.f; import android.text.SpannableStringBuilder; import android.text.style.ForegroundColorSpan; import android.text.style.StyleSpan; -import c0.z.d.m; import com.discord.i18n.RenderContext; import com.discord.simpleast.core.node.Node; +import d0.z.d.m; /* compiled from: BoldNode.kt */ public final class a extends Node.a { public a() { diff --git a/app/src/main/java/c/a/k/f/b.java b/app/src/main/java/c/a/k/f/b.java index 057fc78944..853b113c8d 100644 --- a/app/src/main/java/c/a/k/f/b.java +++ b/app/src/main/java/c/a/k/f/b.java @@ -1,9 +1,9 @@ package c.a.k.f; import android.view.View; -import c0.z.d.m; -import c0.z.d.o; import com.discord.i18n.Hook; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: HookNode.kt */ diff --git a/app/src/main/java/c/a/k/f/c.java b/app/src/main/java/c/a/k/f/c.java index a1d20a4d19..8c2c3a26a9 100644 --- a/app/src/main/java/c/a/k/f/c.java +++ b/app/src/main/java/c/a/k/f/c.java @@ -3,10 +3,10 @@ package c.a.k.f; import android.text.SpannableStringBuilder; import android.webkit.URLUtil; import c.a.k.a; -import c0.z.d.m; import com.discord.i18n.Hook; import com.discord.i18n.RenderContext; import com.discord.simpleast.core.node.Node; +import d0.z.d.m; import java.util.List; /* compiled from: HookNode.kt */ public final class c extends Node.a { @@ -38,18 +38,18 @@ public final class c extends Node.a { spannableStringBuilder.setSpan(obj2, length, spannableStringBuilder.length(), 33); } } - Hook.a aVar2 = hook != null ? hook.f2506c : null; + Hook.a aVar2 = hook != null ? hook.f2126c : null; if (aVar2 != null) { aVar = aVar2; } else if (URLUtil.isValidUrl(this.a)) { a aVar3 = a.d; - aVar = new Hook.a(a.b.mo17invoke(), a.f204c); + aVar = new Hook.a(a.b.mo1invoke(), a.f202c); } if (aVar != null) { Integer num = aVar.a; if (num == null) { a aVar4 = a.d; - num = a.b.mo17invoke(); + num = a.b.mo1invoke(); } spannableStringBuilder.setSpan(new c.a.k.e.a(new b(this, aVar), num), length, spannableStringBuilder.length(), 33); renderContext.g = true; diff --git a/app/src/main/java/c/a/k/f/d.java b/app/src/main/java/c/a/k/f/d.java index da90cdc983..fc75c42556 100644 --- a/app/src/main/java/c/a/k/f/d.java +++ b/app/src/main/java/c/a/k/f/d.java @@ -3,9 +3,9 @@ package c.a.k.f; import android.text.SpannableStringBuilder; import android.text.style.ForegroundColorSpan; import android.text.style.StrikethroughSpan; -import c0.z.d.m; import com.discord.i18n.RenderContext; import com.discord.simpleast.core.node.Node; +import d0.z.d.m; /* compiled from: StrikethroughNode.kt */ public final class d extends Node.a { public d() { diff --git a/app/src/main/java/c/a/k/g/a.java b/app/src/main/java/c/a/k/g/a.java index dfc58c6417..db7bb501f6 100644 --- a/app/src/main/java/c/a/k/g/a.java +++ b/app/src/main/java/c/a/k/g/a.java @@ -8,10 +8,10 @@ import c.a.k.h.f; import c.a.k.h.g; import c.a.k.h.h; import c.a.k.h.i; -import c0.z.d.m; import com.discord.i18n.RenderContext; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.parser.Parser; +import d0.z.d.m; import java.util.regex.Pattern; /* compiled from: FormattingParser.kt */ public final class a extends Parser, c> { @@ -33,7 +33,7 @@ public final class a extends Parser, c> { Pattern pattern5 = c.a.t.b.b.e.g; m.checkNotNullExpressionValue(pattern5, "SimpleMarkdownRules.PATTERN_ITALICS"); addRule(new h(pattern5)); - Pattern pattern6 = c.a.t.b.b.e.f245c; + Pattern pattern6 = c.a.t.b.b.e.f240c; m.checkNotNullExpressionValue(pattern6, "SimpleMarkdownRules.PATTERN_STRIKETHRU"); addRule(new i(pattern6)); addRule(eVar.d()); diff --git a/app/src/main/java/c/a/k/g/c.java b/app/src/main/java/c/a/k/g/c.java index de133975f4..338d40c1ce 100644 --- a/app/src/main/java/c/a/k/g/c.java +++ b/app/src/main/java/c/a/k/g/c.java @@ -45,9 +45,9 @@ public final class c { } public String toString() { - StringBuilder O = a.O("ParseState(isEscaped="); - O.append(this.a); - O.append(", argumentIndex="); - return a.z(O, this.b, ")"); + StringBuilder R = a.R("ParseState(isEscaped="); + R.append(this.a); + R.append(", argumentIndex="); + return a.A(R, this.b, ")"); } } diff --git a/app/src/main/java/c/a/k/g/d.java b/app/src/main/java/c/a/k/g/d.java index 0f11014897..ddd87f4506 100644 --- a/app/src/main/java/c/a/k/g/d.java +++ b/app/src/main/java/c/a/k/g/d.java @@ -1,8 +1,8 @@ package c.a.k.g; -import c0.g; -import c0.z.d.m; -import c0.z.d.o; +import d0.g; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Lazy; import kotlin.jvm.functions.Function0; /* compiled from: FormattingParserProvider.kt */ @@ -11,7 +11,7 @@ public final class d extends b { public static final d b = null; /* renamed from: c reason: collision with root package name */ - public final ThreadLocal f205c = new b(); + public final ThreadLocal f203c = new b(); /* compiled from: FormattingParserProvider.kt */ public static final class a extends o implements Function0 { @@ -24,7 +24,7 @@ public final class d extends b { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public d mo17invoke() { + public d mo1invoke() { return new d(); } } @@ -40,7 +40,7 @@ public final class d extends b { @Override // c.a.k.g.b public a a() { - a aVar = this.f205c.get(); + a aVar = this.f203c.get(); m.checkNotNull(aVar); return aVar; } diff --git a/app/src/main/java/c/a/k/h/a.java b/app/src/main/java/c/a/k/h/a.java index 7659330a45..f1d46862a1 100644 --- a/app/src/main/java/c/a/k/h/a.java +++ b/app/src/main/java/c/a/k/h/a.java @@ -1,11 +1,11 @@ package c.a.k.h; import c.a.k.g.c; -import c0.z.d.m; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.z.d.m; import java.util.regex.Matcher; import java.util.regex.Pattern; /* compiled from: BangEscapeRule.kt */ diff --git a/app/src/main/java/c/a/k/h/c.java b/app/src/main/java/c/a/k/h/c.java index 3115f866de..aceaf71f33 100644 --- a/app/src/main/java/c/a/k/h/c.java +++ b/app/src/main/java/c/a/k/h/c.java @@ -1,12 +1,12 @@ package c.a.k.h; import c.a.k.f.a; -import c0.z.d.m; import com.discord.i18n.RenderContext; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.z.d.m; import java.util.regex.Matcher; import java.util.regex.Pattern; /* compiled from: BoldRule.kt */ diff --git a/app/src/main/java/c/a/k/h/d.java b/app/src/main/java/c/a/k/h/d.java index a58c8da664..af890e4f4c 100644 --- a/app/src/main/java/c/a/k/h/d.java +++ b/app/src/main/java/c/a/k/h/d.java @@ -1,11 +1,11 @@ package c.a.k.h; import c.a.k.f.c; -import c0.z.d.m; import com.discord.i18n.RenderContext; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.z.d.m; import java.util.regex.Matcher; import java.util.regex.Pattern; /* compiled from: ClickListenerRule.kt */ @@ -15,7 +15,7 @@ public final class d extends Rule { } @Override // com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser parser, S s) { + public ParseSpec parse(Matcher matcher, Parser parser, S s2) { m.checkNotNullParameter(matcher, "matcher"); m.checkNotNullParameter(parser, "parser"); String group = matcher.group(2); @@ -24,6 +24,6 @@ public final class d extends Rule { int start = matcher.start(1); int end = matcher.end(1); m.checkNotNullParameter(cVar, "node"); - return new ParseSpec<>(cVar, s, start, end); + return new ParseSpec<>(cVar, s2, start, end); } } diff --git a/app/src/main/java/c/a/k/h/f.java b/app/src/main/java/c/a/k/h/f.java index fd0aca7920..561d796964 100644 --- a/app/src/main/java/c/a/k/h/f.java +++ b/app/src/main/java/c/a/k/h/f.java @@ -1,11 +1,11 @@ package c.a.k.h; import c.a.k.f.c; -import c0.z.d.m; import com.discord.i18n.RenderContext; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.z.d.m; import java.util.regex.Matcher; import java.util.regex.Pattern; /* compiled from: HookRule.kt */ @@ -15,7 +15,7 @@ public final class f extends Rule { } @Override // com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser parser, S s) { + public ParseSpec parse(Matcher matcher, Parser parser, S s2) { m.checkNotNullParameter(matcher, "matcher"); m.checkNotNullParameter(parser, "parser"); String group = matcher.group(2); @@ -23,12 +23,12 @@ public final class f extends Rule { if (matcher.start(1) == matcher.end(1)) { c cVar = new c(group); m.checkNotNullParameter(cVar, "node"); - return new ParseSpec<>(cVar, s); + return new ParseSpec<>(cVar, s2); } c cVar2 = new c(group); int start = matcher.start(1); int end = matcher.end(1); m.checkNotNullParameter(cVar2, "node"); - return new ParseSpec<>(cVar2, s, start, end); + return new ParseSpec<>(cVar2, s2, start, end); } } diff --git a/app/src/main/java/c/a/k/h/h.java b/app/src/main/java/c/a/k/h/h.java index a11917e1e7..5d4abc08b9 100644 --- a/app/src/main/java/c/a/k/h/h.java +++ b/app/src/main/java/c/a/k/h/h.java @@ -2,12 +2,12 @@ package c.a.k.h; import android.text.style.StyleSpan; import c.a.k.g.c; -import c0.z.d.m; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.node.StyleNode; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.z.d.m; import java.util.regex.Matcher; import java.util.regex.Pattern; /* compiled from: ItalicsRule.kt */ @@ -26,7 +26,7 @@ public final class h extends Rule, c> { m.checkNotNullParameter(parser, "parser"); m.checkNotNullParameter(cVar2, "state"); boolean z2 = false; - Node aVar = cVar2.a ? new Node.a(new Node[0]) : new StyleNode(c0.t.m.listOf(new StyleSpan(2))); + Node aVar = cVar2.a ? new Node.a(new Node[0]) : new StyleNode(d0.t.m.listOf(new StyleSpan(2))); String group = matcher.group(2); if (group != null) { if (group.length() > 0) { diff --git a/app/src/main/java/c/a/k/h/i.java b/app/src/main/java/c/a/k/h/i.java index 5f1aaad57a..f454ac729b 100644 --- a/app/src/main/java/c/a/k/h/i.java +++ b/app/src/main/java/c/a/k/h/i.java @@ -2,12 +2,12 @@ package c.a.k.h; import c.a.k.f.d; import c.a.k.g.c; -import c0.z.d.m; import com.discord.i18n.RenderContext; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.z.d.m; import java.util.regex.Matcher; import java.util.regex.Pattern; /* compiled from: StrikethroughRule.kt */ diff --git a/app/src/main/java/c/a/l/a.java b/app/src/main/java/c/a/l/a.java index f2af48c906..d9ad22730d 100644 --- a/app/src/main/java/c/a/l/a.java +++ b/app/src/main/java/c/a/l/a.java @@ -2,8 +2,8 @@ package c.a.l; import android.content.Intent; import android.net.Uri; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: MediaPickerChooser.kt */ diff --git a/app/src/main/java/c/a/l/b.java b/app/src/main/java/c/a/l/b.java index 81698f894c..131934cea3 100644 --- a/app/src/main/java/c/a/l/b.java +++ b/app/src/main/java/c/a/l/b.java @@ -7,7 +7,7 @@ import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.net.Uri; import android.os.Parcelable; -import c0.z.d.m; +import d0.z.d.m; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; diff --git a/app/src/main/java/c/a/n/a.java b/app/src/main/java/c/a/n/a.java index 2c0942a499..75910c8f5e 100644 --- a/app/src/main/java/c/a/n/a.java +++ b/app/src/main/java/c/a/n/a.java @@ -6,10 +6,10 @@ import android.graphics.Point; import android.util.Log; import android.view.MotionEvent; import android.view.View; -import c0.z.d.m; import com.discord.overlay.OverlayManager; import com.discord.overlay.R; import com.discord.overlay.views.OverlayBubbleWrap; +import d0.z.d.m; import java.util.Objects; /* compiled from: OverlayManager.kt */ public final class a implements View.OnTouchListener { @@ -43,10 +43,10 @@ public final class a implements View.OnTouchListener { point2.x = point.x; point2.y = point.y; String simpleName = overlayBubbleWrap.getClass().getSimpleName(); - StringBuilder O = c.d.b.a.a.O("Moved to anchor ["); - O.append(overlayBubbleWrap.u); - O.append(']'); - Log.d(simpleName, O.toString()); + StringBuilder R = c.d.b.a.a.R("Moved to anchor ["); + R.append(overlayBubbleWrap.u); + R.append(']'); + Log.d(simpleName, R.toString()); } overlayManager.c(null); Animator loadAnimator = AnimatorInflater.loadAnimator(overlayBubbleWrap.getContext(), R.a.fade_out); diff --git a/app/src/main/java/c/a/n/b.java b/app/src/main/java/c/a/n/b.java index 3d369aae96..5188f3097c 100644 --- a/app/src/main/java/c/a/n/b.java +++ b/app/src/main/java/c/a/n/b.java @@ -1,9 +1,9 @@ package c.a.n; -import c0.z.d.m; -import c0.z.d.o; import com.discord.overlay.OverlayManager; import com.discord.overlay.views.OverlayBubbleWrap; +import d0.z.d.m; +import d0.z.d.o; import kotlin.jvm.functions.Function1; /* compiled from: OverlayManager.kt */ public final class b extends o implements Function1 { @@ -23,7 +23,7 @@ public final class b extends o implements Function1 OverlayBubbleWrap overlayBubbleWrap2 = overlayBubbleWrap; m.checkNotNullParameter(overlayBubbleWrap2, "bubbleWrap"); try { - this.this$0.f2555r.removeViewImmediate(overlayBubbleWrap2); + this.this$0.r.removeViewImmediate(overlayBubbleWrap2); this.this$0.l.invoke(overlayBubbleWrap2); z2 = true; } catch (IllegalArgumentException unused) { diff --git a/app/src/main/java/c/a/n/c.java b/app/src/main/java/c/a/n/c.java index bc006a0505..b4a123998c 100644 --- a/app/src/main/java/c/a/n/c.java +++ b/app/src/main/java/c/a/n/c.java @@ -1,9 +1,9 @@ package c.a.n; import c.a.n.h.a; -import c0.z.d.o; import com.discord.overlay.OverlayManager; import com.discord.overlay.views.OverlayBubbleWrap; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: OverlayManager.kt */ diff --git a/app/src/main/java/c/a/n/d.java b/app/src/main/java/c/a/n/d.java index 2e46bbbf54..3c0454c5a4 100644 --- a/app/src/main/java/c/a/n/d.java +++ b/app/src/main/java/c/a/n/d.java @@ -3,9 +3,9 @@ package c.a.n; import android.view.View; import android.view.WindowManager; import androidx.core.view.ViewCompat; -import c0.z.d.m; import com.discord.overlay.OverlayManager; import com.discord.overlay.views.OverlayBubbleWrap; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: OverlayManager.kt */ public final class d implements View.OnClickListener { @@ -20,11 +20,11 @@ public final class d implements View.OnClickListener { /* compiled from: View.kt */ /* renamed from: c.a.n.d$a$a reason: collision with other inner class name */ - public static final class View$OnLayoutChangeListenerC0031a implements View.OnLayoutChangeListener { + public static final class View$OnLayoutChangeListenerC0030a implements View.OnLayoutChangeListener { public final /* synthetic */ a i; public final /* synthetic */ View j; - public View$OnLayoutChangeListenerC0031a(a aVar, View view) { + public View$OnLayoutChangeListenerC0030a(a aVar, View view) { this.i = aVar; this.j = view; } @@ -47,7 +47,7 @@ public final class d implements View.OnClickListener { public void onViewAttachedToWindow(View view) { m.checkNotNullParameter(view, "v"); if (!ViewCompat.isLaidOut(view) || view.isLayoutRequested()) { - view.addOnLayoutChangeListener(new View$OnLayoutChangeListenerC0031a(this, view)); + view.addOnLayoutChangeListener(new View$OnLayoutChangeListenerC0030a(this, view)); return; } View findViewWithTag = view.findViewWithTag(this.i.l); @@ -77,8 +77,8 @@ public final class d implements View.OnClickListener { overlayBubbleWrap.addOnAttachStateChangeListener(new a(this)); this.i.a(overlayBubbleWrap); this.k.setBubbleTouchable(false); - this.i.f2555r.removeViewImmediate(this.k); - WindowManager windowManager = this.i.f2555r; + this.i.r.removeViewImmediate(this.k); + WindowManager windowManager = this.i.r; OverlayBubbleWrap overlayBubbleWrap2 = this.k; windowManager.addView(overlayBubbleWrap2, overlayBubbleWrap2.getWindowLayoutParams()); } diff --git a/app/src/main/java/c/a/n/e.java b/app/src/main/java/c/a/n/e.java index a397400206..44776a2022 100644 --- a/app/src/main/java/c/a/n/e.java +++ b/app/src/main/java/c/a/n/e.java @@ -1,9 +1,9 @@ package c.a.n; import android.animation.Animator; -import c0.z.d.m; import com.discord.overlay.OverlayManager; import com.discord.overlay.views.OverlayBubbleWrap; +import d0.z.d.m; /* compiled from: Animator.kt */ public final class e implements Animator.AnimatorListener { public final /* synthetic */ OverlayManager a; diff --git a/app/src/main/java/c/a/n/g/a.java b/app/src/main/java/c/a/n/g/a.java index e2e32c8fcd..8147255683 100644 --- a/app/src/main/java/c/a/n/g/a.java +++ b/app/src/main/java/c/a/n/g/a.java @@ -14,14 +14,14 @@ public final class a implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final FrameLayout f206c; + public final FrameLayout f204c; @NonNull public final FrameLayout d; public a(@NonNull View view, @NonNull ImageView imageView, @NonNull FrameLayout frameLayout, @NonNull FrameLayout frameLayout2) { this.a = view; this.b = imageView; - this.f206c = frameLayout; + this.f204c = frameLayout; this.d = frameLayout2; } diff --git a/app/src/main/java/c/a/n/h/a.java b/app/src/main/java/c/a/n/h/a.java index 2f28bcaf1c..daf382e41f 100644 --- a/app/src/main/java/c/a/n/h/a.java +++ b/app/src/main/java/c/a/n/h/a.java @@ -12,9 +12,9 @@ import android.view.animation.ScaleAnimation; import android.widget.FrameLayout; import android.widget.ImageView; import c.a.n.f; -import c0.z.d.m; import com.discord.overlay.R; import com.discord.overlay.views.OverlayBubbleWrap; +import d0.z.d.m; import kotlin.reflect.KProperty; /* compiled from: OverlayTrashWrap.kt */ public final class a extends FrameLayout implements f { @@ -28,10 +28,10 @@ public final class a extends FrameLayout implements f { /* compiled from: Animator.kt */ /* renamed from: c.a.n.h.a$a reason: collision with other inner class name */ - public static final class C0032a implements Animator.AnimatorListener { + public static final class C0031a implements Animator.AnimatorListener { public final /* synthetic */ a a; - public C0032a(a aVar) { + public C0031a(a aVar) { this.a = aVar; } @@ -118,7 +118,7 @@ public final class a extends FrameLayout implements f { Animator loadAnimator2 = AnimatorInflater.loadAnimator(getContext(), R.a.slide_in_bottom); loadAnimator2.setTarget(frameLayout2); animatorSet.playTogether(loadAnimator, loadAnimator2); - animatorSet.addListener(new C0032a(this)); + animatorSet.addListener(new C0031a(this)); this.k = animatorSet; AnimatorSet animatorSet2 = new AnimatorSet(); Animator loadAnimator3 = AnimatorInflater.loadAnimator(getContext(), R.a.fade_out); @@ -140,46 +140,46 @@ public final class a extends FrameLayout implements f { @Override // c.a.n.f public void a(OverlayBubbleWrap overlayBubbleWrap) { if (overlayBubbleWrap != null) { - FrameLayout frameLayout = this.i.f206c; + FrameLayout frameLayout = this.i.f204c; m.checkNotNullExpressionValue(frameLayout, "binding.trashWrapTargetContainer"); frameLayout.setActivated(true); int max = Math.max(overlayBubbleWrap.getWidth(), overlayBubbleWrap.getHeight()); - FrameLayout frameLayout2 = this.i.f206c; + FrameLayout frameLayout2 = this.i.f204c; m.checkNotNullExpressionValue(frameLayout2, "binding.trashWrapTargetContainer"); - FrameLayout frameLayout3 = this.i.f206c; + FrameLayout frameLayout3 = this.i.f204c; m.checkNotNullExpressionValue(frameLayout3, "binding.trashWrapTargetContainer"); float max2 = (((float) Math.max(max, frameLayout2.getWidth())) / ((float) frameLayout3.getWidth())) + 0.5f; - FrameLayout frameLayout4 = this.i.f206c; + FrameLayout frameLayout4 = this.i.f204c; m.checkNotNullExpressionValue(frameLayout4, "binding.trashWrapTargetContainer"); float scaleX = frameLayout4.getScaleX(); - FrameLayout frameLayout5 = this.i.f206c; + FrameLayout frameLayout5 = this.i.f204c; m.checkNotNullExpressionValue(frameLayout5, "binding.trashWrapTargetContainer"); float scaleY = frameLayout5.getScaleY(); - FrameLayout frameLayout6 = this.i.f206c; + FrameLayout frameLayout6 = this.i.f204c; m.checkNotNullExpressionValue(frameLayout6, "binding.trashWrapTargetContainer"); float pivotX = frameLayout6.getPivotX(); - FrameLayout frameLayout7 = this.i.f206c; + FrameLayout frameLayout7 = this.i.f204c; m.checkNotNullExpressionValue(frameLayout7, "binding.trashWrapTargetContainer"); ScaleAnimation scaleAnimation = new ScaleAnimation(scaleX, max2, scaleY, max2, pivotX, frameLayout7.getPivotY()); scaleAnimation.setDuration(200); scaleAnimation.setInterpolator(getContext(), 17563656); scaleAnimation.setFillAfter(true); - this.i.f206c.startAnimation(scaleAnimation); + this.i.f204c.startAnimation(scaleAnimation); } else { - FrameLayout frameLayout8 = this.i.f206c; + FrameLayout frameLayout8 = this.i.f204c; m.checkNotNullExpressionValue(frameLayout8, "binding.trashWrapTargetContainer"); frameLayout8.setActivated(false); setActivated(false); - FrameLayout frameLayout9 = this.i.f206c; + FrameLayout frameLayout9 = this.i.f204c; m.checkNotNullExpressionValue(frameLayout9, "binding.trashWrapTargetContainer"); float scaleX2 = frameLayout9.getScaleX(); - FrameLayout frameLayout10 = this.i.f206c; + FrameLayout frameLayout10 = this.i.f204c; m.checkNotNullExpressionValue(frameLayout10, "binding.trashWrapTargetContainer"); ScaleAnimation scaleAnimation2 = new ScaleAnimation(scaleX2, 1.0f, frameLayout10.getScaleY(), 1.0f); scaleAnimation2.setDuration(200); scaleAnimation2.setInterpolator(getContext(), 17563655); scaleAnimation2.setFillAfter(true); - this.i.f206c.startAnimation(scaleAnimation2); + this.i.f204c.startAnimation(scaleAnimation2); } if (!m.areEqual(overlayBubbleWrap, this.o)) { if (overlayBubbleWrap != null) { diff --git a/app/src/main/java/c/a/o/a.java b/app/src/main/java/c/a/o/a.java index 46d95cff5f..0b9c5a1880 100644 --- a/app/src/main/java/c/a/o/a.java +++ b/app/src/main/java/c/a/o/a.java @@ -3,21 +3,21 @@ package c.a.o; import android.content.Context; import android.content.res.Resources; import androidx.core.os.ConfigurationCompat; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import java.util.Locale; import kotlin.jvm.functions.Function1; /* compiled from: LocaleProvider.kt */ public final class a { - public static Function1 a = C0033a.i; + public static Function1 a = C0032a.i; public static final a b = null; /* compiled from: LocaleProvider.kt */ /* renamed from: c.a.o.a$a reason: collision with other inner class name */ - public static final class C0033a extends o implements Function1 { - public static final C0033a i = new C0033a(); + public static final class C0032a extends o implements Function1 { + public static final C0032a i = new C0032a(); - public C0033a() { + public C0032a() { super(1); } diff --git a/app/src/main/java/c/a/o/b.java b/app/src/main/java/c/a/o/b.java index 33361bfe24..9f1aca5114 100644 --- a/app/src/main/java/c/a/o/b.java +++ b/app/src/main/java/c/a/o/b.java @@ -4,8 +4,8 @@ import android.graphics.Rect; import android.view.View; import android.view.ViewTreeObserver; import androidx.annotation.UiThread; -import c0.t.u; -import c0.z.d.m; +import d0.t.u; +import d0.z.d.m; import java.lang.ref.WeakReference; import java.util.LinkedHashMap; import java.util.LinkedHashSet; @@ -25,7 +25,7 @@ public final class b implements View.OnLayoutChangeListener { /* compiled from: PanelsChildGestureRegionObserver.kt */ /* renamed from: c.a.o.b$b reason: collision with other inner class name */ - public static final class C0034b { + public static final class C0033b { public static WeakReference a = new WeakReference<>(null); @UiThread diff --git a/app/src/main/java/c/a/p/c.java b/app/src/main/java/c/a/p/c.java index d0c7ff160a..66fed38a39 100644 --- a/app/src/main/java/c/a/p/c.java +++ b/app/src/main/java/c/a/p/c.java @@ -1,9 +1,9 @@ package c.a.p; import c.a.p.k; -import c0.z.d.m; import com.discord.player.AppMediaPlayer; import com.discord.utilities.logging.Logger; +import d0.z.d.m; import rx.functions.Action1; /* compiled from: AppMediaPlayer.kt */ public final class c implements Action1 { diff --git a/app/src/main/java/c/a/p/e.java b/app/src/main/java/c/a/p/e.java index a0e9bdabe8..fa07999347 100644 --- a/app/src/main/java/c/a/p/e.java +++ b/app/src/main/java/c/a/p/e.java @@ -1,8 +1,9 @@ package c.a.p; import c.a.p.k; +import c.i.a.c.k2; import com.discord.player.AppMediaPlayer; -import i0.j.b.a; +import j0.j.b.a; import java.util.concurrent.TimeUnit; import rx.Observable; import rx.Subscription; @@ -19,7 +20,7 @@ public final class e implements Action1 { /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // rx.functions.Action1 public void call(k.c cVar) { - int i = cVar.b; + int i = cVar.a; if (i == 2) { PublishSubject publishSubject = this.i.a; publishSubject.j.onNext(AppMediaPlayer.Event.b.a); @@ -41,7 +42,7 @@ public final class e implements Action1 { } AppMediaPlayer appMediaPlayer2 = this.i; PublishSubject publishSubject4 = appMediaPlayer2.a; - publishSubject4.j.onNext(new AppMediaPlayer.Event.c(appMediaPlayer2.f.J())); + publishSubject4.j.onNext(new AppMediaPlayer.Event.c(((k2) appMediaPlayer2.f).T())); } } } diff --git a/app/src/main/java/c/a/p/g.java b/app/src/main/java/c/a/p/g.java index a957aad67c..bdba1a9ce6 100644 --- a/app/src/main/java/c/a/p/g.java +++ b/app/src/main/java/c/a/p/g.java @@ -1,5 +1,6 @@ package c.a.p; +import c.i.a.c.k2; import com.discord.player.AppMediaPlayer; import rx.functions.Action1; import rx.subjects.PublishSubject; @@ -16,6 +17,6 @@ public final class g implements Action1 { public void call(Long l) { AppMediaPlayer appMediaPlayer = this.i; PublishSubject publishSubject = appMediaPlayer.a; - publishSubject.j.onNext(new AppMediaPlayer.Event.c(appMediaPlayer.f.J())); + publishSubject.j.onNext(new AppMediaPlayer.Event.c(((k2) appMediaPlayer.f).T())); } } diff --git a/app/src/main/java/c/a/p/i.java b/app/src/main/java/c/a/p/i.java index e48fe66e4a..54e5e2d041 100644 --- a/app/src/main/java/c/a/p/i.java +++ b/app/src/main/java/c/a/p/i.java @@ -1,57 +1,46 @@ package c.a.p; import android.content.Context; -import android.content.pm.PackageManager; -import android.os.Build; import c.c.a.a0.d; -import c.i.a.c.h2.p; -import c.i.a.c.i2.f0; -import c.i.a.c.l0; -import c.i.a.c.p1; -import c0.z.d.m; -import com.discord.BuildConfig; +import c.i.a.c.e1; +import c.i.a.c.e3.o; +import c.i.a.c.e3.q; +import c.i.a.c.k2; +import c.i.a.c.z0; import com.discord.app.AppLog; import com.discord.player.AppMediaPlayer; import com.discord.utilities.guilds.GuildConstantsKt; -import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel; -import i0.p.a; +import d0.z.d.m; +import j0.p.a; import rx.Scheduler; /* compiled from: AppMediaPlayerFactory.kt */ public final class i { public static final AppMediaPlayer a(Context context) { - String str; m.checkNotNullParameter(context, "context"); AppLog appLog = AppLog.g; m.checkNotNullParameter(context, "context"); - m.checkNotNullParameter(BuildConfig.APPLICATION_ID, "applicationId"); m.checkNotNullParameter(appLog, "logger"); - int i = f0.a; - try { - str = context.getPackageManager().getPackageInfo(context.getPackageName(), 0).versionName; - } catch (PackageManager.NameNotFoundException unused) { - str = "?"; - } - j jVar = new j(new p(context, BuildConfig.APPLICATION_ID + AutocompleteViewModel.COMMAND_DISCOVER_TOKEN + str + " (Linux;Android " + Build.VERSION.RELEASE + ") ExoPlayerLib/2.13.3"), 104857600); + j jVar = new j(new q.a(context), (long) 104857600); k kVar = new k(); d.D(true); - l0.j(GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, 0, "bufferForPlaybackMs", "0"); - l0.j(5000, 0, "bufferForPlaybackAfterRebufferMs", "0"); - l0.j(10000, GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, "minBufferMs", "bufferForPlaybackMs"); - l0.j(10000, 5000, "minBufferMs", "bufferForPlaybackAfterRebufferMs"); - l0.j(30000, 10000, "maxBufferMs", "minBufferMs"); + z0.j(GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, 0, "bufferForPlaybackMs", "0"); + z0.j(5000, 0, "bufferForPlaybackAfterRebufferMs", "0"); + z0.j(10000, GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, "minBufferMs", "bufferForPlaybackMs"); + z0.j(10000, 5000, "minBufferMs", "bufferForPlaybackAfterRebufferMs"); + z0.j(30000, 10000, "maxBufferMs", "minBufferMs"); d.D(true); - l0 l0Var = new l0(new c.i.a.c.h2.m(true, 65536), 10000, 30000, GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, 5000, -1, false, 0, false); - m.checkNotNullExpressionValue(l0Var, "DefaultLoadControl.Build…reateDefaultLoadControl()"); - p1.b bVar = new p1.b(context); - d.D(!bVar.q); - bVar.f = l0Var; - d.D(!bVar.q); - bVar.q = true; - p1 p1Var = new p1(bVar); - m.checkNotNullExpressionValue(p1Var, "SimpleExoPlayer\n …ntrol)\n .build()"); - p1Var.l(kVar); + z0 z0Var = new z0(new o(true, 65536), 10000, 30000, GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, 5000, -1, false, 0, false); + m.checkNotNullExpressionValue(z0Var, "DefaultLoadControl.Build… )\n .build()"); + e1.b bVar = new e1.b(context); + d.D(!bVar.f750s); + bVar.f = new c.i.a.c.d(z0Var); + d.D(!bVar.f750s); + bVar.f750s = true; + k2 k2Var = new k2(bVar); + m.checkNotNullExpressionValue(k2Var, "ExoPlayer\n .Bui…ntrol)\n .build()"); + k2Var.x(kVar); Scheduler a = a.a(); m.checkNotNullExpressionValue(a, "Schedulers.computation()"); - return new AppMediaPlayer(p1Var, kVar, jVar, a, appLog); + return new AppMediaPlayer(k2Var, kVar, jVar, a, appLog); } } diff --git a/app/src/main/java/c/a/p/j.java b/app/src/main/java/c/a/p/j.java index f6f797fbdb..6ee68b1f49 100644 --- a/app/src/main/java/c/a/p/j.java +++ b/app/src/main/java/c/a/p/j.java @@ -1,29 +1,28 @@ package c.a.p; -import c.i.a.c.h2.j; -import c.i.a.c.h2.o; -import c.i.a.c.h2.p; -import c.i.a.c.h2.y.c; -import c.i.a.c.h2.y.q; -import c0.z.d.m; +import c.i.a.c.e3.b0.c; +import c.i.a.c.e3.b0.r; +import c.i.a.c.e3.l; +import c.i.a.c.e3.q; import com.google.android.exoplayer2.upstream.FileDataSource; import com.google.android.exoplayer2.upstream.cache.CacheDataSink; +import d0.z.d.m; /* compiled from: CacheDataSourceFactory.kt */ -public final class j implements j.a { - public final p a; +public final class j implements l.a { + public final q.a a; public final long b; - public j(p pVar, long j) { - m.checkNotNullParameter(pVar, "defaultDatasourceFactory"); - this.a = pVar; + public j(q.a aVar, long j) { + m.checkNotNullParameter(aVar, "defaultDatasourceFactory"); + this.a = aVar; this.b = j; } - @Override // c.i.a.c.h2.j.a - public c.i.a.c.h2.j a() { + @Override // c.i.a.c.e3.l.a + public l a() { l lVar = l.b; - q qVar = (q) l.a.getValue(); - p pVar = this.a; - return new c(qVar, new o(pVar.a, pVar.b.a()), new FileDataSource(), new CacheDataSink(qVar, this.b), 3, null); + r rVar = (r) l.a.getValue(); + q.a aVar = this.a; + return new c(rVar, new q(aVar.a, aVar.b.a()), new FileDataSource(), new CacheDataSink(rVar, this.b), 3, null); } } diff --git a/app/src/main/java/c/a/p/k.java b/app/src/main/java/c/a/p/k.java index dd3da708f9..c988f96322 100644 --- a/app/src/main/java/c/a/p/k.java +++ b/app/src/main/java/c/a/p/k.java @@ -1,17 +1,24 @@ package c.a.p; -import c.i.a.c.d1; -import c.i.a.c.f1; -import c.i.a.c.g1; -import c.i.a.c.r1; -import c.i.a.c.v0; -import c0.z.d.m; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.source.TrackGroupArray; +import c.i.a.c.a2; +import c.i.a.c.a3.o0; +import c.i.a.c.c1; +import c.i.a.c.c3.n; +import c.i.a.c.g3.y; +import c.i.a.c.o1; +import c.i.a.c.o2; +import c.i.a.c.p1; +import c.i.a.c.p2; +import c.i.a.c.x1; +import c.i.a.c.y1; +import c.i.a.c.z1; +import com.google.android.exoplayer2.PlaybackException; +import com.google.android.exoplayer2.metadata.Metadata; +import d0.z.d.m; import java.util.List; import rx.subjects.PublishSubject; /* compiled from: RxPlayerEventListener.kt */ -public final class k implements g1.a { +public final class k implements y1.e { public final PublishSubject i = PublishSubject.k0(); public final PublishSubject j = PublishSubject.k0(); public final PublishSubject k = PublishSubject.k0(); @@ -40,17 +47,17 @@ public final class k implements g1.a { } public String toString() { - return c.d.b.a.a.K(c.d.b.a.a.O("IsPlayingChange(isPlaying="), this.a, ")"); + return c.d.b.a.a.L(c.d.b.a.a.R("IsPlayingChange(isPlaying="), this.a, ")"); } } /* compiled from: RxPlayerEventListener.kt */ public static final class b { - public final ExoPlaybackException a; + public final PlaybackException a; - public b(ExoPlaybackException exoPlaybackException) { - m.checkNotNullParameter(exoPlaybackException, "exoPlaybackException"); - this.a = exoPlaybackException; + public b(PlaybackException playbackException) { + m.checkNotNullParameter(playbackException, "exoPlaybackException"); + this.a = playbackException; } public boolean equals(Object obj) { @@ -61,167 +68,201 @@ public final class k implements g1.a { } public int hashCode() { - ExoPlaybackException exoPlaybackException = this.a; - if (exoPlaybackException != null) { - return exoPlaybackException.hashCode(); + PlaybackException playbackException = this.a; + if (playbackException != null) { + return playbackException.hashCode(); } return 0; } public String toString() { - StringBuilder O = c.d.b.a.a.O("PlayerError(exoPlaybackException="); - O.append(this.a); - O.append(")"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("PlayerError(exoPlaybackException="); + R.append(this.a); + R.append(")"); + return R.toString(); } } /* compiled from: RxPlayerEventListener.kt */ public static final class c { - public final boolean a; - public final int b; + public final int a; - public c(boolean z2, int i) { - this.a = z2; - this.b = i; + public c(int i) { + this.a = i; } public boolean equals(Object obj) { - if (this == obj) { - return true; + if (this != obj) { + return (obj instanceof c) && this.a == ((c) obj).a; } - if (!(obj instanceof c)) { - return false; - } - c cVar = (c) obj; - return this.a == cVar.a && this.b == cVar.b; + return true; } public int hashCode() { - boolean z2 = this.a; - if (z2) { - z2 = true; - } - int i = z2 ? 1 : 0; - int i2 = z2 ? 1 : 0; - int i3 = z2 ? 1 : 0; - return (i * 31) + this.b; + return this.a; } public String toString() { - StringBuilder O = c.d.b.a.a.O("PlayerStateChange(playWhenReady="); - O.append(this.a); - O.append(", playbackState="); - return c.d.b.a.a.z(O, this.b, ")"); + return c.d.b.a.a.A(c.d.b.a.a.R("PlayerStateChange(playbackState="), this.a, ")"); } } - @Override // c.i.a.c.g1.a - public /* synthetic */ void C(r1 r1Var, Object obj, int i) { - f1.t(this, r1Var, obj, i); + @Override // c.i.a.c.y1.c + public /* synthetic */ void A(p1 p1Var) { + a2.i(this, p1Var); } - @Override // c.i.a.c.g1.a - public /* synthetic */ void D(int i) { - f1.o(this, i); + @Override // c.i.a.c.y1.c + public /* synthetic */ void D(boolean z2) { + a2.t(this, z2); } - @Override // c.i.a.c.g1.a - public /* synthetic */ void E(v0 v0Var, int i) { - f1.g(this, v0Var, i); + @Override // c.i.a.c.y1.c + public /* synthetic */ void E(y1 y1Var, y1.d dVar) { + a2.e(this, y1Var, dVar); } - @Override // c.i.a.c.g1.a - public /* synthetic */ void M(boolean z2, int i) { - f1.h(this, z2, i); + @Override // c.i.a.c.y1.e + public /* synthetic */ void G(int i, boolean z2) { + a2.d(this, i, z2); } - @Override // c.i.a.c.g1.a - public /* synthetic */ void O(TrackGroupArray trackGroupArray, c.i.a.c.f2.k kVar) { - f1.u(this, trackGroupArray, kVar); + @Override // c.i.a.c.y1.c + public /* synthetic */ void H(boolean z2, int i) { + z1.k(this, z2, i); } - @Override // c.i.a.c.g1.a - public /* synthetic */ void Q(d1 d1Var) { - f1.i(this, d1Var); + @Override // c.i.a.c.y1.c + public /* synthetic */ void L(int i) { + a2.s(this, i); } - @Override // c.i.a.c.g1.a - public /* synthetic */ void S(boolean z2) { - f1.b(this, z2); + @Override // c.i.a.c.y1.c + public /* synthetic */ void M(o1 o1Var, int i) { + a2.h(this, o1Var, i); } - @Override // c.i.a.c.g1.a - public void X(boolean z2) { + @Override // c.i.a.c.y1.c + public /* synthetic */ void W(boolean z2, int i) { + a2.k(this, z2, i); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void Y(o0 o0Var, n nVar) { + z1.r(this, o0Var, nVar); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void a() { + z1.o(this); + } + + @Override // c.i.a.c.y1.e + public /* synthetic */ void a0(int i, int i2) { + a2.v(this, i, i2); + } + + @Override // c.i.a.c.y1.e + public /* synthetic */ void b(Metadata metadata) { + a2.j(this, metadata); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void b0(x1 x1Var) { + a2.l(this, x1Var); + } + + @Override // c.i.a.c.y1.e + public /* synthetic */ void c() { + a2.r(this); + } + + @Override // c.i.a.c.y1.e + public /* synthetic */ void d(boolean z2) { + a2.u(this, z2); + } + + @Override // c.i.a.c.y1.e + public /* synthetic */ void e(List list) { + a2.b(this, list); + } + + @Override // c.i.a.c.y1.e + public /* synthetic */ void f(y yVar) { + a2.y(this, yVar); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void f0(PlaybackException playbackException) { + a2.p(this, playbackException); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void g(y1.f fVar, y1.f fVar2, int i) { + a2.q(this, fVar, fVar2, i); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void h(int i) { + a2.n(this, i); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void i(boolean z2) { + z1.d(this, z2); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void j(int i) { + z1.l(this, i); + } + + @Override // c.i.a.c.y1.c + public void j0(boolean z2) { PublishSubject publishSubject = this.j; publishSubject.j.onNext(new a(z2)); } - @Override // c.i.a.c.g1.a - public /* synthetic */ void a() { - f1.p(this); + @Override // c.i.a.c.y1.c + public /* synthetic */ void p(p2 p2Var) { + a2.x(this, p2Var); } - @Override // c.i.a.c.g1.a - public /* synthetic */ void d(int i) { - f1.k(this, i); + @Override // c.i.a.c.y1.c + public /* synthetic */ void r(boolean z2) { + a2.f(this, z2); } - @Override // c.i.a.c.g1.a - public /* synthetic */ void e(boolean z2) { - f1.f(this, z2); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void f(int i) { - f1.n(this, i); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void i(List list) { - f1.r(this, list); - } - - @Override // c.i.a.c.g1.a - public void k(ExoPlaybackException exoPlaybackException) { - m.checkNotNullParameter(exoPlaybackException, "error"); + @Override // c.i.a.c.y1.c + public void s(PlaybackException playbackException) { + m.checkNotNullParameter(playbackException, "error"); PublishSubject publishSubject = this.k; - publishSubject.j.onNext(new b(exoPlaybackException)); + publishSubject.j.onNext(new b(playbackException)); } - @Override // c.i.a.c.g1.a - public /* synthetic */ void n(boolean z2) { - f1.d(this, z2); + @Override // c.i.a.c.y1.c + public /* synthetic */ void t(y1.b bVar) { + a2.a(this, bVar); } - @Override // c.i.a.c.g1.a - public /* synthetic */ void p(r1 r1Var, int i) { - f1.s(this, r1Var, i); + @Override // c.i.a.c.y1.c + public /* synthetic */ void v(o2 o2Var, int i) { + a2.w(this, o2Var, i); } - @Override // c.i.a.c.g1.a - public /* synthetic */ void r(int i) { - f1.j(this, i); + @Override // c.i.a.c.y1.e + public /* synthetic */ void w(float f) { + a2.z(this, f); } - @Override // c.i.a.c.g1.a - public /* synthetic */ void v(boolean z2) { - f1.q(this, z2); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void w(g1 g1Var, g1.b bVar) { - f1.a(this, g1Var, bVar); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void y(boolean z2) { - f1.c(this, z2); - } - - @Override // c.i.a.c.g1.a - public void z(boolean z2, int i) { + @Override // c.i.a.c.y1.c + public void y(int i) { PublishSubject publishSubject = this.i; - publishSubject.j.onNext(new c(z2, i)); + publishSubject.j.onNext(new c(i)); + } + + @Override // c.i.a.c.y1.e + public /* synthetic */ void z(c1 c1Var) { + a2.c(this, c1Var); } } diff --git a/app/src/main/java/c/a/p/l.java b/app/src/main/java/c/a/p/l.java index e556447e0a..b0b702aab8 100644 --- a/app/src/main/java/c/a/p/l.java +++ b/app/src/main/java/c/a/p/l.java @@ -1,12 +1,12 @@ package c.a.p; import android.content.Context; -import c.i.a.c.h2.y.q; -import c.i.a.c.w1.b; -import c0.g; -import c0.z.d.m; -import c0.z.d.o; +import c.i.a.c.e3.b0.r; +import c.i.a.c.u2.b; import com.discord.utilities.lifecycle.ApplicationProvider; +import d0.g; +import d0.z.d.m; +import d0.z.d.o; import java.io.File; import kotlin.Lazy; import kotlin.jvm.functions.Function0; @@ -16,7 +16,7 @@ public final class l { public static final l b = null; /* compiled from: SimpleCacheProvider.kt */ - public static final class a extends o implements Function0 { + public static final class a extends o implements Function0 { public static final a i = new a(); public a() { @@ -26,10 +26,10 @@ public final class l { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public q mo17invoke() { + public r mo1invoke() { Context applicationContext = ApplicationProvider.INSTANCE.get().getApplicationContext(); m.checkNotNullExpressionValue(applicationContext, "context"); - return new q(new File(applicationContext.getCacheDir(), "app_media_player"), new c.i.a.c.h2.y.o(104857600), new b(applicationContext)); + return new r(new File(applicationContext.getCacheDir(), "app_media_player"), new c.i.a.c.e3.b0.o(104857600), new b(applicationContext)); } } } diff --git a/app/src/main/java/c/a/q/a.java b/app/src/main/java/c/a/q/a.java index 65357f4468..aa534d9163 100644 --- a/app/src/main/java/c/a/q/a.java +++ b/app/src/main/java/c/a/q/a.java @@ -1,18 +1,18 @@ package c.a.q; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: MediaSinkWantsLadder.kt */ public final class a { public final int a; public final int b; /* renamed from: c reason: collision with root package name */ - public final Integer f207c; + public final Integer f205c; public a(int i, int i2, Integer num) { this.a = i; this.b = i2; - this.f207c = num; + this.f205c = num; } public boolean equals(Object obj) { @@ -23,21 +23,21 @@ public final class a { return false; } a aVar = (a) obj; - return this.a == aVar.a && this.b == aVar.b && m.areEqual(this.f207c, aVar.f207c); + return this.a == aVar.a && this.b == aVar.b && m.areEqual(this.f205c, aVar.f205c); } public int hashCode() { int i = ((this.a * 31) + this.b) * 31; - Integer num = this.f207c; + Integer num = this.f205c; return i + (num != null ? num.hashCode() : 0); } public String toString() { - StringBuilder O = c.d.b.a.a.O("Bitrate(min="); - O.append(this.a); - O.append(", max="); - O.append(this.b); - O.append(", target="); - return c.d.b.a.a.D(O, this.f207c, ")"); + StringBuilder R = c.d.b.a.a.R("Bitrate(min="); + R.append(this.a); + R.append(", max="); + R.append(this.b); + R.append(", target="); + return c.d.b.a.a.E(R, this.f205c, ")"); } } diff --git a/app/src/main/java/c/a/q/a0.java b/app/src/main/java/c/a/q/a0.java index 00c51352fd..e6388ad4da 100644 --- a/app/src/main/java/c/a/q/a0.java +++ b/app/src/main/java/c/a/q/a0.java @@ -1,11 +1,11 @@ package c.a.q; import c.a.q.n0.a; -import c0.t.g0; -import c0.z.d.k; -import c0.z.d.m; import com.discord.rtcconnection.EncodeQuality; import com.discord.rtcconnection.RtcConnection; +import d0.t.g0; +import d0.z.d.k; +import d0.z.d.m; import java.util.LinkedHashMap; import java.util.Map; import kotlin.Pair; @@ -24,7 +24,7 @@ public final /* synthetic */ class a0 extends k implements Function1, ? extends RtcConnection.State> pair2 = pair; m.checkNotNullParameter(pair2, "p1"); RtcConnection rtcConnection = (RtcConnection) this.receiver; - if (rtcConnection.f2572a0) { + if (rtcConnection.f2190a0) { Map map = (Map) pair2.component1(); if (m.areEqual((RtcConnection.State) pair2.component2(), RtcConnection.State.f.a)) { rtcConnection.U.i(rtcConnection.k, "local MediaSinkWants: " + map, null); diff --git a/app/src/main/java/c/a/q/b.java b/app/src/main/java/c/a/q/b.java index 6183dfef12..2f9df24c6a 100644 --- a/app/src/main/java/c/a/q/b.java +++ b/app/src/main/java/c/a/q/b.java @@ -1,20 +1,20 @@ package c.a.q; import c.d.b.a.a; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: MediaSinkWantsLadder.kt */ public final class b { public final int a; public final int b; /* renamed from: c reason: collision with root package name */ - public final int f208c; + public final int f206c; public final Integer d; public b(int i, int i2, int i3, Integer num) { this.a = i; this.b = i2; - this.f208c = i3; + this.f206c = i3; this.d = num; } @@ -26,23 +26,23 @@ public final class b { return false; } b bVar = (b) obj; - return this.a == bVar.a && this.b == bVar.b && this.f208c == bVar.f208c && m.areEqual(this.d, bVar.d); + return this.a == bVar.a && this.b == bVar.b && this.f206c == bVar.f206c && m.areEqual(this.d, bVar.d); } public int hashCode() { - int i = ((((this.a * 31) + this.b) * 31) + this.f208c) * 31; + int i = ((((this.a * 31) + this.b) * 31) + this.f206c) * 31; Integer num = this.d; return i + (num != null ? num.hashCode() : 0); } public String toString() { - StringBuilder O = a.O("IVideoQuality(width="); - O.append(this.a); - O.append(", height="); - O.append(this.b); - O.append(", framerate="); - O.append(this.f208c); - O.append(", pixelCount="); - return a.D(O, this.d, ")"); + StringBuilder R = a.R("IVideoQuality(width="); + R.append(this.a); + R.append(", height="); + R.append(this.b); + R.append(", framerate="); + R.append(this.f206c); + R.append(", pixelCount="); + return a.E(R, this.d, ")"); } } diff --git a/app/src/main/java/c/a/q/b0.java b/app/src/main/java/c/a/q/b0.java index 041e7e0d20..d26d32621d 100644 --- a/app/src/main/java/c/a/q/b0.java +++ b/app/src/main/java/c/a/q/b0.java @@ -5,10 +5,6 @@ import c.a.q.o0.b; import c.a.q.o0.c; import c.a.q.o0.d; import c.a.q.o0.e; -import c0.t.h0; -import c0.t.j; -import c0.t.o; -import c0.z.d.m; import co.discord.media_engine.MediaType; import co.discord.media_engine.StreamParameters; import co.discord.media_engine.VoiceQuality; @@ -17,6 +13,10 @@ import com.discord.rtcconnection.MediaSinkWantsManager; import com.discord.rtcconnection.RtcConnection; import com.discord.rtcconnection.mediaengine.MediaEngineConnection; import com.discord.rtcconnection.socket.io.Payloads; +import d0.t.h0; +import d0.t.j; +import d0.t.o; +import d0.z.d.m; import java.util.ArrayList; import java.util.List; import java.util.Map; @@ -42,7 +42,7 @@ public final class b0 implements MediaEngineConnection.d { RtcConnection rtcConnection = this.a; rtcConnection.p.succeed(); rtcConnection.q = transportInfo; - MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2576w; + MediaEngineConnection mediaEngineConnection2 = rtcConnection.w; if (mediaEngineConnection2 != null) { d dVar = new d(1000, rtcConnection.U, mediaEngineConnection2, new VoiceQuality(), rtcConnection.A, new KrispOveruseDetector(mediaEngineConnection2), 0, 64); dVar.a.clear(); @@ -50,15 +50,15 @@ public final class b0 implements MediaEngineConnection.d { if (subscription != null && !subscription.isUnsubscribed()) { dVar.a(); } - dVar.b = Observable.D(0, dVar.f230c, TimeUnit.MILLISECONDS).W(new b(dVar), new c(dVar)); + dVar.b = Observable.D(0, dVar.f225c, TimeUnit.MILLISECONDS).W(new b(dVar), new c(dVar)); rtcConnection.n = dVar; rtcConnection.o = false; } - if (transportInfo.f2594c.ordinal() != 0) { - StringBuilder O = c.d.b.a.a.O("Unsupported protocol: "); - O.append(transportInfo.f2594c); - O.append('.'); - RtcConnection.j(rtcConnection, true, O.toString(), null, false, 12); + if (transportInfo.f2210c.ordinal() != 0) { + StringBuilder R = c.d.b.a.a.R("Unsupported protocol: "); + R.append(transportInfo.f2210c); + R.append('.'); + RtcConnection.j(rtcConnection, true, R.toString(), null, false, 12); } else { rtcConnection.U.recordBreadcrumb("Sending UDP info to RTC server.", rtcConnection.k); c.a.q.n0.a aVar = rtcConnection.v; @@ -76,7 +76,7 @@ public final class b0 implements MediaEngineConnection.d { Payloads.Protocol.ProtocolInfo protocolInfo = new Payloads.Protocol.ProtocolInfo(str, i, "xsalsa20_poly1305"); ArrayList arrayList = new ArrayList(o.collectionSizeOrDefault(list, 10)); for (a aVar2 : list) { - arrayList.add(new Payloads.Protocol.CodecInfo(aVar2.a, aVar2.b, aVar2.f217c, aVar2.d, aVar2.e)); + arrayList.add(new Payloads.Protocol.CodecInfo(aVar2.a, aVar2.b, aVar2.f215c, aVar2.d, aVar2.e)); } aVar.n(1, new Payloads.Protocol("udp", protocolInfo, arrayList)); } @@ -91,7 +91,7 @@ public final class b0 implements MediaEngineConnection.d { m.checkNotNullParameter(mediaEngineConnection, "connection"); m.checkNotNullParameter(connectionState, "connectionState"); RtcConnection rtcConnection = this.a; - RtcConnection.StateChange stateChange = rtcConnection.f2575r; + RtcConnection.StateChange stateChange = rtcConnection.r; rtcConnection.r("Connection state change: " + connectionState); int ordinal = connectionState.ordinal(); if (ordinal == 0) { @@ -106,13 +106,13 @@ public final class b0 implements MediaEngineConnection.d { throw new NoWhenBranchMatchedException(); } rtcConnection.u(state); - if (stateChange.a == RtcConnection.State.g.a && rtcConnection.f2575r.a == RtcConnection.State.h.a) { + if (stateChange.a == RtcConnection.State.g.a && rtcConnection.r.a == RtcConnection.State.h.a) { rtcConnection.q(); } - if (rtcConnection.f2575r.a == RtcConnection.State.f.a) { + if (rtcConnection.r.a == RtcConnection.State.f.a) { rtcConnection.C = Long.valueOf(rtcConnection.V.currentTimeMillis()); rtcConnection.I = true; - Map mutableMapOf = h0.mutableMapOf(c0.o.to("connect_count", Integer.valueOf(rtcConnection.D))); + Map mutableMapOf = h0.mutableMapOf(d0.o.to("connect_count", Integer.valueOf(rtcConnection.D))); Long l = rtcConnection.B; Long l2 = rtcConnection.C; Long valueOf = (l2 == null || l == null) ? null : Long.valueOf(l2.longValue() - l.longValue()); @@ -123,7 +123,7 @@ public final class b0 implements MediaEngineConnection.d { rtcConnection.p(RtcConnection.AnalyticsEvent.VOICE_CONNECTION_SUCCESS, mutableMapOf); MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.G; if (mediaSinkWantsManager != null) { - mediaSinkWantsManager.b(new i(mediaSinkWantsManager, rtcConnection.f2576w)); + mediaSinkWantsManager.b(new i(mediaSinkWantsManager, rtcConnection.w)); } } } @@ -142,12 +142,12 @@ public final class b0 implements MediaEngineConnection.d { String str = "connection error: " + failedConnectionException.a(); int ordinal = failedConnectionException.a().ordinal(); if (ordinal == 0 || ordinal == 1 || ordinal == 2) { - StringBuilder S = c.d.b.a.a.S(str, " -- "); - S.append(failedConnectionException.getMessage()); - rtcConnection.r(S.toString()); + StringBuilder V = c.d.b.a.a.V(str, " -- "); + V.append(failedConnectionException.getMessage()); + rtcConnection.r(V.toString()); } else { RtcConnection.AnalyticsEvent analyticsEvent = RtcConnection.AnalyticsEvent.VOICE_CONNECTION_FAILURE; - Map mutableMapOf = h0.mutableMapOf(c0.o.to("connect_count", Integer.valueOf(rtcConnection.D))); + Map mutableMapOf = h0.mutableMapOf(d0.o.to("connect_count", Integer.valueOf(rtcConnection.D))); rtcConnection.b(mutableMapOf); rtcConnection.p(analyticsEvent, mutableMapOf); } @@ -221,7 +221,7 @@ public final class b0 implements MediaEngineConnection.d { Integer valueOf4 = Integer.valueOf(streamParameters.getMaxBitrate()); Integer valueOf5 = Integer.valueOf(streamParameters.getQuality()); j0 j0Var = f.a; - Integer valueOf6 = Integer.valueOf(j0Var.b.f208c); + Integer valueOf6 = Integer.valueOf(j0Var.b.f206c); Payloads.ResolutionType resolutionType = Payloads.ResolutionType.Fixed; b bVar = j0Var.b; arrayList.add(new Payloads.Stream(str, rid, valueOf6, valueOf5, valueOf, valueOf2, new Payloads.Stream.MaxResolution(resolutionType, bVar.a, bVar.b), valueOf3, valueOf4)); diff --git a/app/src/main/java/c/a/q/c.java b/app/src/main/java/c/a/q/c.java index 135933df92..273e2fa1c8 100644 --- a/app/src/main/java/c/a/q/c.java +++ b/app/src/main/java/c/a/q/c.java @@ -4,7 +4,7 @@ import android.os.Handler; import android.os.Looper; import android.os.Process; import c.c.a.a0.d; -import c0.z.d.m; +import d0.z.d.m; import java.util.Collection; import java.util.List; import java.util.concurrent.Callable; @@ -46,7 +46,7 @@ public final class c implements ExecutorService { public final void a() { if (Process.myTid() != this.j) { IllegalStateException illegalStateException = new IllegalStateException("oops! not called on the MediaEngineExecutor"); - d.d1("MediaEngineExecutor", "oops! not called on the MediaEngineExecutor", illegalStateException); + d.b1("MediaEngineExecutor", "oops! not called on the MediaEngineExecutor", illegalStateException); if (this.l) { new Handler(Looper.getMainLooper()).post(new d(illegalStateException)); } diff --git a/app/src/main/java/c/a/q/c0.java b/app/src/main/java/c/a/q/c0.java index 2280e8f840..d3e4513bc5 100644 --- a/app/src/main/java/c/a/q/c0.java +++ b/app/src/main/java/c/a/q/c0.java @@ -1,6 +1,6 @@ package c.a.q; -import c0.z.d.o; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: RtcConnection.kt */ @@ -16,7 +16,7 @@ public final class c0 extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { this.this$0.this$0.q(); return Unit.a; } diff --git a/app/src/main/java/c/a/q/d0.java b/app/src/main/java/c/a/q/d0.java index 4146ce765f..171fca25f0 100644 --- a/app/src/main/java/c/a/q/d0.java +++ b/app/src/main/java/c/a/q/d0.java @@ -1,7 +1,7 @@ package c.a.q; -import c0.z.d.o; import com.discord.rtcconnection.RtcConnection; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: RtcConnection.kt */ @@ -17,7 +17,7 @@ public final class d0 extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { this.this$0.s(new c0(this)); return Unit.a; } diff --git a/app/src/main/java/c/a/q/e.java b/app/src/main/java/c/a/q/e.java index 16e9083730..3a888f194d 100644 --- a/app/src/main/java/c/a/q/e.java +++ b/app/src/main/java/c/a/q/e.java @@ -1,10 +1,10 @@ package c.a.q; -import c0.t.n0; -import c0.t.u; -import c0.z.d.m; import com.discord.rtcconnection.EncodeQuality; import com.google.android.material.shadow.ShadowDrawableWrapper; +import d0.t.n0; +import d0.t.u; +import d0.z.d.m; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; @@ -18,7 +18,7 @@ public final class e { public final int b; /* renamed from: c reason: collision with root package name */ - public final Map f209c; + public final Map f207c; public final List d; public final j0 e; @@ -28,13 +28,13 @@ public final class e { public final int b; /* renamed from: c reason: collision with root package name */ - public final double f210c; + public final double f208c; public final int d; public a(int i, int i2, double d, int i3) { this.a = i; this.b = i2; - this.f210c = d; + this.f208c = d; this.d = i3; } @@ -46,22 +46,22 @@ public final class e { return false; } a aVar = (a) obj; - return this.a == aVar.a && this.b == aVar.b && Double.compare(this.f210c, aVar.f210c) == 0 && this.d == aVar.d; + return this.a == aVar.a && this.b == aVar.b && Double.compare(this.f208c, aVar.f208c) == 0 && this.d == aVar.d; } public int hashCode() { - return ((z.a.a.a.a(this.f210c) + (((this.a * 31) + this.b) * 31)) * 31) + this.d; + return ((a0.a.a.a.a(this.f208c) + (((this.a * 31) + this.b) * 31)) * 31) + this.d; } public String toString() { - StringBuilder O = c.d.b.a.a.O("CandidateResolution(width="); - O.append(this.a); - O.append(", height="); - O.append(this.b); - O.append(", budgetPortion="); - O.append(this.f210c); - O.append(", pixelCount="); - return c.d.b.a.a.z(O, this.d, ")"); + StringBuilder R = c.d.b.a.a.R("CandidateResolution(width="); + R.append(this.a); + R.append(", height="); + R.append(this.b); + R.append(", budgetPortion="); + R.append(this.f208c); + R.append(", pixelCount="); + return c.d.b.a.a.A(R, this.d, ")"); } } @@ -77,14 +77,14 @@ public final class e { public final int b; /* renamed from: c reason: collision with root package name */ - public final EncodeQuality f211c; + public final EncodeQuality f209c; public c(n nVar, int i, EncodeQuality encodeQuality) { m.checkNotNullParameter(nVar, "budget"); m.checkNotNullParameter(encodeQuality, "wantValue"); this.a = nVar; this.b = i; - this.f211c = encodeQuality; + this.f209c = encodeQuality; } public boolean equals(Object obj) { @@ -95,14 +95,14 @@ public final class e { return false; } c cVar = (c) obj; - return m.areEqual(this.a, cVar.a) && this.b == cVar.b && m.areEqual(this.f211c, cVar.f211c); + return m.areEqual(this.a, cVar.a) && this.b == cVar.b && m.areEqual(this.f209c, cVar.f209c); } public int hashCode() { n nVar = this.a; int i = 0; int hashCode = (((nVar != null ? nVar.hashCode() : 0) * 31) + this.b) * 31; - EncodeQuality encodeQuality = this.f211c; + EncodeQuality encodeQuality = this.f209c; if (encodeQuality != null) { i = encodeQuality.hashCode(); } @@ -110,14 +110,14 @@ public final class e { } public String toString() { - StringBuilder O = c.d.b.a.a.O("OrderedLadder(budget="); - O.append(this.a); - O.append(", pixelCount="); - O.append(this.b); - O.append(", wantValue="); - O.append(this.f211c); - O.append(")"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("OrderedLadder(budget="); + R.append(this.a); + R.append(", pixelCount="); + R.append(this.b); + R.append(", wantValue="); + R.append(this.f209c); + R.append(")"); + return R.toString(); } } @@ -170,7 +170,7 @@ public final class e { aVar = aVar == null ? (a) u.first((List) arrayList) : aVar; if (i6 != aVar.a) { i2 = i3; - linkedHashMap.put(encodeQuality2, new n(aVar.a, aVar.b, aVar.f210c, encodeQuality2.compareTo(EncodeQuality.Twenty) <= 0 ? 12 : 20, 30)); + linkedHashMap.put(encodeQuality2, new n(aVar.a, aVar.b, aVar.f208c, encodeQuality2.compareTo(EncodeQuality.Twenty) <= 0 ? 12 : 20, 30)); EncodeQuality[] values = EncodeQuality.values(); int i7 = 10; while (true) { @@ -192,7 +192,7 @@ public final class e { i5++; i3 = i2; } - this.f209c = linkedHashMap; + this.f207c = linkedHashMap; EncodeQuality[] values2 = EncodeQuality.values(); ArrayList arrayList2 = new ArrayList(11); for (int i8 = 0; i8 < 11; i8++) { diff --git a/app/src/main/java/c/a/q/e0.java b/app/src/main/java/c/a/q/e0.java index 746e9d2cb3..bd0b598445 100644 --- a/app/src/main/java/c/a/q/e0.java +++ b/app/src/main/java/c/a/q/e0.java @@ -1,9 +1,9 @@ package c.a.q; import c.d.b.a.a; -import c0.z.d.m; -import c0.z.d.o; import com.discord.rtcconnection.RtcConnection; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: RtcConnection.kt */ @@ -23,10 +23,10 @@ public final class e0 extends o implements Function1 { Exception exc2 = exc; m.checkNotNullParameter(exc2, "it"); RtcConnection rtcConnection = this.this$0; - StringBuilder O = a.O("Error occurred while connecting to RTC server: "); - O.append(exc2.getMessage()); - O.append('.'); - RtcConnection.j(rtcConnection, true, O.toString(), null, false, 12); + StringBuilder R = a.R("Error occurred while connecting to RTC server: "); + R.append(exc2.getMessage()); + R.append('.'); + RtcConnection.j(rtcConnection, true, R.toString(), null, false, 12); return Unit.a; } } diff --git a/app/src/main/java/c/a/q/f0.java b/app/src/main/java/c/a/q/f0.java index 655017cca3..d929ace25a 100644 --- a/app/src/main/java/c/a/q/f0.java +++ b/app/src/main/java/c/a/q/f0.java @@ -1,6 +1,6 @@ package c.a.q; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function0; /* compiled from: RtcConnection.kt */ public final class f0 implements Runnable { @@ -12,6 +12,6 @@ public final class f0 implements Runnable { @Override // java.lang.Runnable public final /* synthetic */ void run() { - m.checkNotNullExpressionValue(this.i.mo17invoke(), "invoke(...)"); + m.checkNotNullExpressionValue(this.i.mo1invoke(), "invoke(...)"); } } diff --git a/app/src/main/java/c/a/q/g.java b/app/src/main/java/c/a/q/g.java index 06e747806e..119b974e5c 100644 --- a/app/src/main/java/c/a/q/g.java +++ b/app/src/main/java/c/a/q/g.java @@ -1,7 +1,7 @@ package c.a.q; -import c0.z.d.o; import com.discord.rtcconnection.MediaSinkWantsManager; +import d0.z.d.o; import java.util.Objects; import kotlin.Unit; import kotlin.jvm.functions.Function0; @@ -18,7 +18,7 @@ public final class g extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { MediaSinkWantsManager mediaSinkWantsManager = this.this$0; Objects.requireNonNull(mediaSinkWantsManager); mediaSinkWantsManager.b(new i(mediaSinkWantsManager, null)); diff --git a/app/src/main/java/c/a/q/g0.java b/app/src/main/java/c/a/q/g0.java index 9d30baa0f0..e2acafacdd 100644 --- a/app/src/main/java/c/a/q/g0.java +++ b/app/src/main/java/c/a/q/g0.java @@ -1,6 +1,6 @@ package c.a.q; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; import rx.functions.Action1; /* compiled from: RtcConnection.kt */ diff --git a/app/src/main/java/c/a/q/h.java b/app/src/main/java/c/a/q/h.java index fe5f712494..96aabda746 100644 --- a/app/src/main/java/c/a/q/h.java +++ b/app/src/main/java/c/a/q/h.java @@ -1,7 +1,7 @@ package c.a.q; -import c0.z.d.o; import com.discord.rtcconnection.MediaSinkWantsManager; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: MediaSinkWantsManager.kt */ @@ -17,7 +17,7 @@ public final class h extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { MediaSinkWantsManager.e(this.this$0, null, 1); return Unit.a; } diff --git a/app/src/main/java/c/a/q/h0.java b/app/src/main/java/c/a/q/h0.java index 0abe526043..7a654df259 100644 --- a/app/src/main/java/c/a/q/h0.java +++ b/app/src/main/java/c/a/q/h0.java @@ -4,11 +4,6 @@ import c.a.q.e; import c.a.q.n0.a; import c.a.q.o0.d; import c.a.q.o0.e; -import c0.t.n; -import c0.t.o; -import c0.t.r; -import c0.t.u; -import c0.z.d.m; import co.discord.media_engine.MediaType; import co.discord.media_engine.StreamParameters; import com.discord.rtcconnection.EncodeQuality; @@ -19,6 +14,11 @@ import com.discord.rtcconnection.mediaengine.MediaEngine; import com.discord.rtcconnection.mediaengine.MediaEngineConnection; import com.discord.rtcconnection.socket.io.Payloads; import com.discord.utilities.logging.Logger; +import d0.t.n; +import d0.t.o; +import d0.t.r; +import d0.t.u; +import d0.z.d.m; import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedHashMap; @@ -41,7 +41,7 @@ public final class h0 implements a.d { public void a(String str, String str2) { m.checkNotNullParameter(str, "audioCodec"); m.checkNotNullParameter(str2, "videoCodec"); - MediaEngineConnection mediaEngineConnection = this.a.f2576w; + MediaEngineConnection mediaEngineConnection = this.a.w; if (mediaEngineConnection != null) { mediaEngineConnection.r(str, str2); } @@ -52,11 +52,11 @@ public final class h0 implements a.d { RtcConnection rtcConnection = this.a; Objects.requireNonNull(rtcConnection); rtcConnection.r("Disconnected from RTC server. wasFatal: " + z2 + " -- code: " + num + " -- reason: " + str); - MediaEngineConnection mediaEngineConnection = rtcConnection.f2576w; + MediaEngineConnection mediaEngineConnection = rtcConnection.w; if (mediaEngineConnection != null) { mediaEngineConnection.destroy(); } - MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2576w; + MediaEngineConnection mediaEngineConnection2 = rtcConnection.w; if (mediaEngineConnection2 != null) { mediaEngineConnection2.o(rtcConnection.M); } @@ -67,7 +67,7 @@ public final class h0 implements a.d { if ((num != null && num.intValue() == 1000) || z4) { z3 = false; } - if (!(rtcConnection.f2575r.a instanceof RtcConnection.State.d)) { + if (!(rtcConnection.r.a instanceof RtcConnection.State.d)) { rtcConnection.n(z3, str); d dVar = rtcConnection.n; if (dVar != null) { @@ -76,7 +76,7 @@ public final class h0 implements a.d { rtcConnection.n = null; rtcConnection.o = false; } - rtcConnection.f2579z = 0; + rtcConnection.f2196z = 0; rtcConnection.C = null; MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.G; if (mediaSinkWantsManager != null) { @@ -93,7 +93,7 @@ public final class h0 implements a.d { public void c(String str, List list) { m.checkNotNullParameter(str, "mode"); m.checkNotNullParameter(list, "secretKey"); - MediaEngineConnection mediaEngineConnection = this.a.f2576w; + MediaEngineConnection mediaEngineConnection = this.a.w; if (mediaEngineConnection != null) { mediaEngineConnection.t(str, u.toIntArray(list)); } @@ -149,7 +149,7 @@ public final class h0 implements a.d { if (i2 > 0) { z3 = true; } - list2 = c0.t.m.listOf(new Payloads.Stream(MediaStreamTrack.VIDEO_TRACK_KIND, "100", null, 100, valueOf, valueOf2, null, Boolean.valueOf(z3), null)); + list2 = d0.t.m.listOf(new Payloads.Stream(MediaStreamTrack.VIDEO_TRACK_KIND, "100", null, 100, valueOf, valueOf2, null, Boolean.valueOf(z3), null)); } rtcConnection.G.c(j, Long.valueOf((long) i)); MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.G; @@ -222,7 +222,7 @@ public final class h0 implements a.d { break; } e.c previous = listIterator.previous(); - if (encodeQuality.compareTo(previous.f211c) >= 0) { + if (encodeQuality.compareTo(previous.f209c) >= 0) { z2 = true; continue; } else { @@ -239,9 +239,9 @@ public final class h0 implements a.d { cVar2 = (e.c) u.first((List) eVar.d); } n nVar = cVar2.a; - int max = Math.max((int) (((double) j0Var.f212c.a) * nVar.f224c), j0Var.d); - int max2 = Math.max((int) (((double) j0Var.f212c.b) * nVar.f224c), j0Var.d); - MediaEngineConnection mediaEngineConnection = rtcConnection.f2576w; + int max = Math.max((int) (((double) j0Var.f210c.a) * nVar.f220c), j0Var.d); + int max2 = Math.max((int) (((double) j0Var.f210c.b) * nVar.f220c), j0Var.d); + MediaEngineConnection mediaEngineConnection = rtcConnection.w; if (mediaEngineConnection != null) { mediaEngineConnection.m(new MediaEngineConnection.b(max, max2, nVar.a, nVar.b, nVar.d, nVar.e)); return; @@ -261,7 +261,7 @@ public final class h0 implements a.d { r.removeFirst(rtcConnection.u); } if (j > ((long) 500)) { - rtcConnection.f2579z++; + rtcConnection.f2196z++; } double d = (double) j; Objects.requireNonNull(RtcConnection.Quality.Companion); @@ -285,7 +285,7 @@ public final class h0 implements a.d { RtcConnection.o(rtcConnection, "onSocketConnect() socket was null.", null, null, 6); return; } - List listOf = c0.t.m.listOf(new Payloads.Stream(MediaStreamTrack.VIDEO_TRACK_KIND, "100", null, 100, null, null, null, null, null)); + List listOf = d0.t.m.listOf(new Payloads.Stream(MediaStreamTrack.VIDEO_TRACK_KIND, "100", null, 100, null, null, null, null, null)); String str = rtcConnection.R; long j = rtcConnection.S; String str2 = rtcConnection.P; @@ -294,7 +294,7 @@ public final class h0 implements a.d { m.checkNotNullParameter(str2, "sessionId"); m.checkNotNullParameter(listOf, "streams"); aVar.G.a(); - aVar.s = str; + aVar.f221s = str; aVar.t = str2; aVar.A = a.c.IDENTIFYING; aVar.n(0, new Payloads.Identify(str, j, str2, aVar.D, z2, listOf)); @@ -353,7 +353,7 @@ public final class h0 implements a.d { boolean isEmpty = arrayList.isEmpty(); ArrayList arrayList2 = arrayList; if (isEmpty) { - arrayList2 = c0.t.m.listOf(new StreamParameters(MediaType.Video, "100", i2 + 1, i2 + 2, false, 0, 100, 0)); + arrayList2 = d0.t.m.listOf(new StreamParameters(MediaType.Video, "100", i2 + 1, i2 + 2, false, 0, 100, 0)); } MediaEngine mediaEngine = rtcConnection.T; long j = rtcConnection.S; @@ -372,7 +372,7 @@ public final class h0 implements a.d { return; } g.l(rtcConnection.M); - rtcConnection.f2576w = g; + rtcConnection.w = g; } @Override // c.a.q.n0.a.d @@ -391,7 +391,7 @@ public final class h0 implements a.d { public void onSpeaking(long j, int i, boolean z2) { RtcConnection rtcConnection = this.a; if (j != rtcConnection.S) { - MediaEngineConnection mediaEngineConnection = rtcConnection.f2576w; + MediaEngineConnection mediaEngineConnection = rtcConnection.w; if (mediaEngineConnection != null) { mediaEngineConnection.s(j, i, null, rtcConnection.g(j), rtcConnection.h(j)); } diff --git a/app/src/main/java/c/a/q/i.java b/app/src/main/java/c/a/q/i.java index 2e1a5e9db1..cced50d8e8 100644 --- a/app/src/main/java/c/a/q/i.java +++ b/app/src/main/java/c/a/q/i.java @@ -1,8 +1,8 @@ package c.a.q; -import c0.z.d.o; import com.discord.rtcconnection.MediaSinkWantsManager; import com.discord.rtcconnection.mediaengine.MediaEngineConnection; +import d0.z.d.o; import java.util.ArrayList; import java.util.Set; import kotlin.Unit; @@ -22,7 +22,7 @@ public final class i extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { MediaSinkWantsManager mediaSinkWantsManager = this.this$0; MediaEngineConnection mediaEngineConnection = mediaSinkWantsManager.d; if (mediaEngineConnection != null) { @@ -37,7 +37,7 @@ public final class i extends o implements Function0 { if (this.$connection != null) { MediaSinkWantsManager mediaSinkWantsManager3 = this.this$0; Set keySet = mediaSinkWantsManager3.b.keySet(); - ArrayList arrayList = new ArrayList(c0.t.o.collectionSizeOrDefault(keySet, 10)); + ArrayList arrayList = new ArrayList(d0.t.o.collectionSizeOrDefault(keySet, 10)); for (Number number : keySet) { arrayList.add(String.valueOf(number.longValue())); } diff --git a/app/src/main/java/c/a/q/i0.java b/app/src/main/java/c/a/q/i0.java index 6811fc3a2e..4abcbf780a 100644 --- a/app/src/main/java/c/a/q/i0.java +++ b/app/src/main/java/c/a/q/i0.java @@ -7,15 +7,15 @@ import android.os.PowerManager; import androidx.annotation.AnyThread; import androidx.annotation.RequiresApi; import c.c.a.a0.d; -import c0.g; -import c0.i; -import c0.z.d.m; -import c0.z.d.o; import com.discord.rtcconnection.enums.ThermalStatus; import com.discord.utilities.debug.DebugPrintBuilder; import com.discord.utilities.debug.DebugPrintable; import com.discord.utilities.lifecycle.ApplicationProvider; import com.discord.utilities.logging.LoggingProvider; +import d0.g; +import d0.i; +import d0.z.d.m; +import d0.z.d.o; import java.util.Objects; import kotlin.Lazy; import kotlin.jvm.functions.Function0; @@ -40,7 +40,7 @@ public final class i0 implements PowerManager.OnThermalStatusChangedListener, Ru /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Handler mo17invoke() { + public Handler mo1invoke() { return new Handler(Looper.getMainLooper()); } } @@ -60,7 +60,7 @@ public final class i0 implements PowerManager.OnThermalStatusChangedListener, Ru switch (thermalStatus.ordinal()) { case 0: if (k) { - d.e1("ThermalDetector", "totally cool: no longer in thermal trouble"); + d.c1("ThermalDetector", "totally cool: no longer in thermal trouble"); k = false; if (l) { ((Handler) i.getValue()).removeCallbacks(this); @@ -69,30 +69,30 @@ public final class i0 implements PowerManager.OnThermalStatusChangedListener, Ru } return; } - d.f1("ThermalDetector", "totally cool: thermal status is nominal"); + d.d1("ThermalDetector", "totally cool: thermal status is nominal"); return; case 1: case 2: if (k) { - d.e1("ThermalDetector", "cooling down: thermal status = " + thermalStatus); + d.c1("ThermalDetector", "cooling down: thermal status = " + thermalStatus); c(); return; } - d.f1("ThermalDetector", "pretty warm: ignoring low priority thermal status = " + thermalStatus); + d.d1("ThermalDetector", "pretty warm: ignoring low priority thermal status = " + thermalStatus); return; case 3: case 4: case 5: case 6: if (!k) { - d.g1("ThermalDetector", "we're starting to be in thermal trouble"); + d.e1("ThermalDetector", "we're starting to be in thermal trouble"); k = true; } String str = "very toasty: thermal status = " + thermalStatus; if (thermalStatus.compareTo(ThermalStatus.Emergency) < 0) { - d.g1("ThermalDetector", str); + d.e1("ThermalDetector", str); } else { - d.d1("ThermalDetector", str, new RuntimeException(str)); + d.b1("ThermalDetector", str, new RuntimeException(str)); } c(); return; @@ -121,7 +121,7 @@ public final class i0 implements PowerManager.OnThermalStatusChangedListener, Ru @Override // android.os.PowerManager.OnThermalStatusChangedListener public synchronized void onThermalStatusChanged(int i2) { ThermalStatus a2 = ThermalStatus.Companion.a(i2); - d.c1("ThermalDetector", "system update: onThermalStatusChanged( " + a2 + " )"); + d.a1("ThermalDetector", "system update: onThermalStatusChanged( " + a2 + " )"); b(a2); } @@ -129,7 +129,7 @@ public final class i0 implements PowerManager.OnThermalStatusChangedListener, Ru public synchronized void run() { l = false; ThermalStatus a2 = a(); - d.c1("ThermalDetector", "scheduled update: current thermal status = " + a2); + d.a1("ThermalDetector", "scheduled update: current thermal status = " + a2); b(a2); } diff --git a/app/src/main/java/c/a/q/j.java b/app/src/main/java/c/a/q/j.java index 3d8886e8c5..0ad8a5e481 100644 --- a/app/src/main/java/c/a/q/j.java +++ b/app/src/main/java/c/a/q/j.java @@ -1,8 +1,8 @@ package c.a.q; import c.d.b.a.a; -import c0.z.d.o; import com.discord.rtcconnection.MediaSinkWantsManager; +import d0.z.d.o; import java.util.ArrayList; import java.util.Iterator; import kotlin.Unit; @@ -22,7 +22,7 @@ public final class j extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { ArrayList arrayList = new ArrayList(); MediaSinkWantsManager mediaSinkWantsManager = this.this$0; Long l = mediaSinkWantsManager.e; @@ -34,7 +34,7 @@ public final class j extends o implements Function0 { Long l2 = this.$userId; if (l2 == null) { this.this$0.e = null; - } else if (this.this$0.f2570c.contains(l2)) { + } else if (this.this$0.f2188c.contains(l2)) { MediaSinkWantsManager mediaSinkWantsManager2 = this.this$0; Long l3 = this.$userId; mediaSinkWantsManager2.e = l3; @@ -46,14 +46,14 @@ public final class j extends o implements Function0 { this.this$0.e = this.$userId; } else { MediaSinkWantsManager mediaSinkWantsManager3 = this.this$0; - StringBuilder O = a.O("Participant not found: "); - O.append(this.$userId); - mediaSinkWantsManager3.a(O.toString()); + StringBuilder R = a.R("Participant not found: "); + R.append(this.$userId); + mediaSinkWantsManager3.a(R.toString()); return Unit.a; } } MediaSinkWantsManager mediaSinkWantsManager4 = this.this$0; - ArrayList arrayList2 = new ArrayList(c0.t.o.collectionSizeOrDefault(arrayList, 10)); + ArrayList arrayList2 = new ArrayList(d0.t.o.collectionSizeOrDefault(arrayList, 10)); Iterator it = arrayList.iterator(); while (it.hasNext()) { arrayList2.add(String.valueOf(((Number) it.next()).longValue())); diff --git a/app/src/main/java/c/a/q/j0.java b/app/src/main/java/c/a/q/j0.java index 5575cc69c6..c67068735f 100644 --- a/app/src/main/java/c/a/q/j0.java +++ b/app/src/main/java/c/a/q/j0.java @@ -1,14 +1,14 @@ package c.a.q; import c.d.b.a.a; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: MediaSinkWantsLadder.kt */ public final class j0 { public final b a; public final b b; /* renamed from: c reason: collision with root package name */ - public final a f212c; + public final a f210c; public final int d; public final a e; @@ -19,7 +19,7 @@ public final class j0 { m.checkNotNullParameter(aVar2, "desktopBitrate"); this.a = bVar; this.b = bVar2; - this.f212c = aVar; + this.f210c = aVar; this.d = i; this.e = aVar2; } @@ -32,7 +32,7 @@ public final class j0 { return false; } j0 j0Var = (j0) obj; - return m.areEqual(this.a, j0Var.a) && m.areEqual(this.b, j0Var.b) && m.areEqual(this.f212c, j0Var.f212c) && this.d == j0Var.d && m.areEqual(this.e, j0Var.e); + return m.areEqual(this.a, j0Var.a) && m.areEqual(this.b, j0Var.b) && m.areEqual(this.f210c, j0Var.f210c) && this.d == j0Var.d && m.areEqual(this.e, j0Var.e); } public int hashCode() { @@ -41,7 +41,7 @@ public final class j0 { int hashCode = (bVar != null ? bVar.hashCode() : 0) * 31; b bVar2 = this.b; int hashCode2 = (hashCode + (bVar2 != null ? bVar2.hashCode() : 0)) * 31; - a aVar = this.f212c; + a aVar = this.f210c; int hashCode3 = (((hashCode2 + (aVar != null ? aVar.hashCode() : 0)) * 31) + this.d) * 31; a aVar2 = this.e; if (aVar2 != null) { @@ -51,17 +51,17 @@ public final class j0 { } public String toString() { - StringBuilder O = a.O("VideoQualityManagerOptions(videoBudget="); - O.append(this.a); - O.append(", videoCapture="); - O.append(this.b); - O.append(", videoBitrate="); - O.append(this.f212c); - O.append(", videoBitrateFloor="); - O.append(this.d); - O.append(", desktopBitrate="); - O.append(this.e); - O.append(")"); - return O.toString(); + StringBuilder R = a.R("VideoQualityManagerOptions(videoBudget="); + R.append(this.a); + R.append(", videoCapture="); + R.append(this.b); + R.append(", videoBitrate="); + R.append(this.f210c); + R.append(", videoBitrateFloor="); + R.append(this.d); + R.append(", desktopBitrate="); + R.append(this.e); + R.append(")"); + return R.toString(); } } diff --git a/app/src/main/java/c/a/q/k.java b/app/src/main/java/c/a/q/k.java index f4aa9a1d44..b2f4ba7596 100644 --- a/app/src/main/java/c/a/q/k.java +++ b/app/src/main/java/c/a/q/k.java @@ -1,7 +1,7 @@ package c.a.q; -import c0.z.d.o; import com.discord.rtcconnection.MediaSinkWantsManager; +import d0.z.d.o; import java.util.Objects; import kotlin.Unit; import kotlin.jvm.functions.Function0; @@ -20,7 +20,7 @@ public final class k extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { Objects.requireNonNull(this.this$0); MediaSinkWantsManager.e(this.this$0, null, 1); return Unit.a; diff --git a/app/src/main/java/c/a/q/k0/a.java b/app/src/main/java/c/a/q/k0/a.java index 708e4aeb97..bf7fd6d543 100644 --- a/app/src/main/java/c/a/q/k0/a.java +++ b/app/src/main/java/c/a/q/k0/a.java @@ -8,26 +8,26 @@ import androidx.annotation.MainThread; import androidx.core.os.EnvironmentCompat; import c.a.q.l0.a; import c.c.a.a0.d; -import c0.z.d.m; import com.discord.models.domain.ModelAuditLogEntry; import com.discord.rtcconnection.enums.AudioManagerBroadcastAction; import com.discord.rtcconnection.enums.ScoAudioState; +import d0.z.d.m; import java.util.Objects; import kotlin.jvm.internal.DefaultConstructorMarker; import org.webrtc.MediaStreamTrack; import org.webrtc.ThreadUtils; /* compiled from: AudioManagerBroadcastReceiver.kt */ public final class a extends BroadcastReceiver { - public static final C0035a a = new C0035a(null); + public static final C0034a a = new C0034a(null); public final Context b; /* renamed from: c reason: collision with root package name */ - public final h f213c; + public final h f211c; /* compiled from: AudioManagerBroadcastReceiver.kt */ /* renamed from: c.a.q.k0.a$a reason: collision with other inner class name */ - public static final class C0035a { - public C0035a(DefaultConstructorMarker defaultConstructorMarker) { + public static final class C0034a { + public C0034a(DefaultConstructorMarker defaultConstructorMarker) { } } @@ -35,7 +35,7 @@ public final class a extends BroadcastReceiver { m.checkNotNullParameter(context, "context"); m.checkNotNullParameter(hVar, "listener"); this.b = context; - this.f213c = hVar; + this.f211c = hVar; } @Override // android.content.BroadcastReceiver @@ -67,14 +67,14 @@ public final class a extends BroadcastReceiver { } } if (audioManagerBroadcastAction == null) { - StringBuilder O = c.d.b.a.a.O("unable to parse AudioManagerBroadcastAction for action: "); - O.append(intent.getAction()); - d.g1("AudioManagerBroadcastReceiver", O.toString()); + StringBuilder R = c.d.b.a.a.R("unable to parse AudioManagerBroadcastAction for action: "); + R.append(intent.getAction()); + d.e1("AudioManagerBroadcastReceiver", R.toString()); return; } - d.f1("AudioManagerBroadcastReceiver", "onReceive: action = " + audioManagerBroadcastAction); + d.d1("AudioManagerBroadcastReceiver", "onReceive: action = " + audioManagerBroadcastAction); try { - h hVar = this.f213c; + h hVar = this.f211c; int ordinal = audioManagerBroadcastAction.ordinal(); if (ordinal == 0) { hVar.c(context); @@ -92,7 +92,7 @@ public final class a extends BroadcastReceiver { if (intent.getIntExtra("microphone", 0) == 1) { z2 = true; } - aVar = new a.C0036a(stringExtra, z2); + aVar = new a.C0035a(stringExtra, z2); } hVar.e(context, aVar); return; @@ -114,7 +114,7 @@ public final class a extends BroadcastReceiver { hVar.d(context, ((AudioManager) systemService2).isSpeakerphoneOn()); } } catch (Throwable th) { - d.d1("AudioManagerBroadcastReceiver", "error handling " + audioManagerBroadcastAction, th); + d.b1("AudioManagerBroadcastReceiver", "error handling " + audioManagerBroadcastAction, th); } } } diff --git a/app/src/main/java/c/a/q/k0/b.java b/app/src/main/java/c/a/q/k0/b.java index 8f13d7210e..6eee53a4ac 100644 --- a/app/src/main/java/c/a/q/k0/b.java +++ b/app/src/main/java/c/a/q/k0/b.java @@ -3,7 +3,7 @@ package c.a.q.k0; import android.content.Context; import android.os.Process; import c.c.a.a0.d; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.internal.DefaultConstructorMarker; /* compiled from: AudioPermissions.kt */ public final class b { @@ -11,7 +11,7 @@ public final class b { public final boolean b; /* renamed from: c reason: collision with root package name */ - public final boolean f214c; + public final boolean f212c; public final boolean d; /* compiled from: AudioPermissions.kt */ @@ -27,16 +27,16 @@ public final class b { boolean z4 = context.checkPermission("android.permission.RECORD_AUDIO", Process.myPid(), Process.myUid()) == 0; z2 = context.checkPermission("android.permission.BLUETOOTH", Process.myPid(), Process.myUid()) != 0 ? false : z2; this.b = z3; - this.f214c = z4; + this.f212c = z4; this.d = z2; if (!z3) { - d.g1("AudioPermissions", "MODIFY_AUDIO_SETTINGS permission is missing"); + d.e1("AudioPermissions", "MODIFY_AUDIO_SETTINGS permission is missing"); } if (!z4) { - d.g1("AudioPermissions", "RECORD_AUDIO permission is missing"); + d.e1("AudioPermissions", "RECORD_AUDIO permission is missing"); } if (!z2) { - d.g1("AudioPermissions", "BLUETOOTH permission is missing"); + d.e1("AudioPermissions", "BLUETOOTH permission is missing"); } } @@ -48,7 +48,7 @@ public final class b { return false; } b bVar = (b) obj; - return this.b == bVar.b && this.f214c == bVar.f214c && this.d == bVar.d; + return this.b == bVar.b && this.f212c == bVar.f212c && this.d == bVar.d; } public int hashCode() { @@ -61,7 +61,7 @@ public final class b { int i3 = z2 ? 1 : 0; int i4 = z2 ? 1 : 0; int i5 = i2 * 31; - boolean z3 = this.f214c; + boolean z3 = this.f212c; if (z3) { z3 = true; } @@ -77,11 +77,11 @@ public final class b { } public String toString() { - StringBuilder O = c.d.b.a.a.O("AudioPermissions(hasModifyAudioSettingsPermission="); - O.append(this.b); - O.append(", hasRecordAudioPermission="); - O.append(this.f214c); - O.append(", hasBluetoothPermission="); - return c.d.b.a.a.K(O, this.d, ")"); + StringBuilder R = c.d.b.a.a.R("AudioPermissions(hasModifyAudioSettingsPermission="); + R.append(this.b); + R.append(", hasRecordAudioPermission="); + R.append(this.f212c); + R.append(", hasBluetoothPermission="); + return c.d.b.a.a.L(R, this.d, ")"); } } diff --git a/app/src/main/java/c/a/q/k0/c.java b/app/src/main/java/c/a/q/k0/c.java index deafaf44bf..b88ff2d0c8 100644 --- a/app/src/main/java/c/a/q/k0/c.java +++ b/app/src/main/java/c/a/q/k0/c.java @@ -8,11 +8,11 @@ import android.content.Context; import android.content.Intent; import androidx.annotation.MainThread; import c.c.a.a0.d; -import c0.t.n0; -import c0.z.d.m; import com.discord.rtcconnection.enums.BluetoothBroadcastAction; import com.discord.rtcconnection.enums.BluetoothHeadsetAudioState; import com.discord.rtcconnection.enums.BluetoothProfileConnectionState; +import d0.t.n0; +import d0.z.d.m; import java.util.Objects; import java.util.Set; import kotlin.jvm.internal.DefaultConstructorMarker; @@ -66,12 +66,12 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi i2++; } if (bluetoothBroadcastAction == null) { - StringBuilder O = c.d.b.a.a.O("unable to parse BluetoothBroadcastAction for action: "); - O.append(intent.getAction()); - d.g1("BluetoothBroadcastReceiver", O.toString()); + StringBuilder R = c.d.b.a.a.R("unable to parse BluetoothBroadcastAction for action: "); + R.append(intent.getAction()); + d.e1("BluetoothBroadcastReceiver", R.toString()); return; } - d.f1("BluetoothBroadcastReceiver", "onReceive: action = " + bluetoothBroadcastAction); + d.d1("BluetoothBroadcastReceiver", "onReceive: action = " + bluetoothBroadcastAction); try { i iVar = this.n; int ordinal = bluetoothBroadcastAction.ordinal(); @@ -80,13 +80,13 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi } else if (ordinal == 1) { iVar.a(context, BluetoothHeadsetAudioState.Companion.b(intent)); } else if (ordinal != 4) { - d.g1("BluetoothBroadcastReceiver", "unexpected " + bluetoothBroadcastAction); + d.e1("BluetoothBroadcastReceiver", "unexpected " + bluetoothBroadcastAction); } else { m.checkNotNullParameter(intent, "$this$getBluetoothDeviceExtra"); iVar.b((BluetoothDevice) intent.getParcelableExtra("android.bluetooth.device.extra.DEVICE")); } } catch (Throwable th) { - d.d1("BluetoothBroadcastReceiver", "error handling " + bluetoothBroadcastAction, th); + d.b1("BluetoothBroadcastReceiver", "error handling " + bluetoothBroadcastAction, th); } } } @@ -95,7 +95,7 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi public void onServiceConnected(int i2, BluetoothProfile bluetoothProfile) { ThreadUtils.checkIsOnMainThread(); if (i2 == 1 && this.k) { - d.c1("BluetoothBroadcastReceiver", "BluetoothProfile.ServiceListener.onServiceConnected"); + d.a1("BluetoothBroadcastReceiver", "BluetoothProfile.ServiceListener.onServiceConnected"); if (!(bluetoothProfile instanceof BluetoothHeadset)) { bluetoothProfile = null; } @@ -109,7 +109,7 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi public void onServiceDisconnected(int i2) { ThreadUtils.checkIsOnMainThread(); if (i2 == 1 && this.k) { - d.c1("BluetoothBroadcastReceiver", "BluetoothProfile.ServiceListener.onServiceDisconnected"); + d.a1("BluetoothBroadcastReceiver", "BluetoothProfile.ServiceListener.onServiceDisconnected"); this.l = null; this.n.c(null); } diff --git a/app/src/main/java/c/a/q/k0/d.java b/app/src/main/java/c/a/q/k0/d.java index e88d5ccd3e..9d460b2c0e 100644 --- a/app/src/main/java/c/a/q/k0/d.java +++ b/app/src/main/java/c/a/q/k0/d.java @@ -2,8 +2,8 @@ package c.a.q.k0; import android.annotation.SuppressLint; import android.bluetooth.BluetoothHeadset; -import c0.g; -import c0.z.d.o; +import d0.g; +import d0.z.d.o; import java.lang.reflect.Method; import kotlin.Lazy; import kotlin.jvm.functions.Function0; @@ -14,7 +14,7 @@ public final class d { public static final Lazy b = g.lazy(b.i); /* renamed from: c reason: collision with root package name */ - public static final d f215c = null; + public static final d f213c = null; /* compiled from: BluetoothHeadsetPrivateApi.kt */ public static final class a extends o implements Function0 { @@ -27,7 +27,7 @@ public final class d { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public String mo17invoke() { + public String mo1invoke() { try { Object obj = BluetoothHeadset.class.getField("ACTION_ACTIVE_DEVICE_CHANGED").get(null); if (!(obj instanceof String)) { @@ -51,7 +51,7 @@ public final class d { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Method mo17invoke() { + public Method mo1invoke() { try { return BluetoothHeadset.class.getDeclaredMethod("getActiveDevice", new Class[0]); } catch (Throwable unused) { diff --git a/app/src/main/java/c/a/q/k0/e.java b/app/src/main/java/c/a/q/k0/e.java index c21813e371..c1a16502f6 100644 --- a/app/src/main/java/c/a/q/k0/e.java +++ b/app/src/main/java/c/a/q/k0/e.java @@ -13,7 +13,7 @@ public final class e implements AudioManager.OnAudioFocusChangeListener { @Override // android.media.AudioManager.OnAudioFocusChangeListener public final void onAudioFocusChange(int i) { - d.c1("DiscordAudioManager", "[AudioFocus] new focus: " + i); + d.a1("DiscordAudioManager", "[AudioFocus] new focus: " + i); if (i == -3 || i == -2) { this.i.i(false); } else if (i == 1) { diff --git a/app/src/main/java/c/a/q/k0/f.java b/app/src/main/java/c/a/q/k0/f.java index 5323626224..8167915c6a 100644 --- a/app/src/main/java/c/a/q/k0/f.java +++ b/app/src/main/java/c/a/q/k0/f.java @@ -19,8 +19,8 @@ public final class f extends ContentObserver { super.onChange(z2); DiscordAudioManager discordAudioManager = this.a; int streamVolume = discordAudioManager.e.getStreamVolume(3); - discordAudioManager.f2584w = streamVolume; - SerializedSubject serializedSubject = discordAudioManager.f2586y; + discordAudioManager.w = streamVolume; + SerializedSubject serializedSubject = discordAudioManager.f2202y; serializedSubject.j.onNext(Integer.valueOf(streamVolume)); } } diff --git a/app/src/main/java/c/a/q/k0/g.java b/app/src/main/java/c/a/q/k0/g.java index 8dc103b35c..6233dcdef3 100644 --- a/app/src/main/java/c/a/q/k0/g.java +++ b/app/src/main/java/c/a/q/k0/g.java @@ -7,7 +7,7 @@ public final class g { public static final g b = new g(true, false, false); /* renamed from: c reason: collision with root package name */ - public static final a f216c = new a(null); + public static final a f214c = new a(null); public volatile boolean d; public final boolean e; public final boolean f; @@ -62,11 +62,11 @@ public final class g { } public String toString() { - StringBuilder O = c.d.b.a.a.O("EchoCancellation(shouldEarlyEnableHwAec="); - O.append(this.e); - O.append(", alwaysEnableAec="); - O.append(this.f); - O.append(", disableSwAecWhenHwIsEnabled="); - return c.d.b.a.a.K(O, this.g, ")"); + StringBuilder R = c.d.b.a.a.R("EchoCancellation(shouldEarlyEnableHwAec="); + R.append(this.e); + R.append(", alwaysEnableAec="); + R.append(this.f); + R.append(", disableSwAecWhenHwIsEnabled="); + return c.d.b.a.a.L(R, this.g, ")"); } } diff --git a/app/src/main/java/c/a/q/l.java b/app/src/main/java/c/a/q/l.java index feeedf2fc8..c495d83491 100644 --- a/app/src/main/java/c/a/q/l.java +++ b/app/src/main/java/c/a/q/l.java @@ -1,12 +1,12 @@ package c.a.q; -import c0.t.n; -import c0.z.d.m; -import c0.z.d.o; import com.discord.rtcconnection.EncodeQuality; import com.discord.rtcconnection.MediaSinkWantsManager; import com.discord.rtcconnection.VideoMetadata; import com.discord.rtcconnection.socket.io.Payloads; +import d0.t.n; +import d0.z.d.m; +import d0.z.d.o; import java.util.ArrayList; import java.util.Iterator; import java.util.List; @@ -36,7 +36,7 @@ public final class l extends o implements Function0 { */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { EncodeQuality encodeQuality; List list = this.$ssrcs; ArrayList arrayList = new ArrayList(); @@ -57,7 +57,7 @@ public final class l extends o implements Function0 { arrayList.add(next); } } - ArrayList arrayList2 = new ArrayList(c0.t.o.collectionSizeOrDefault(arrayList, 10)); + ArrayList arrayList2 = new ArrayList(d0.t.o.collectionSizeOrDefault(arrayList, 10)); Iterator it2 = arrayList.iterator(); while (it2.hasNext()) { Payloads.Stream stream2 = (Payloads.Stream) it2.next(); @@ -96,12 +96,12 @@ public final class l extends o implements Function0 { } if (arrayList2.isEmpty()) { this.this$0.b.remove(Long.valueOf(this.$userId)); - this.this$0.f2570c.remove(Long.valueOf(this.$userId)); + this.this$0.f2188c.remove(Long.valueOf(this.$userId)); } else { this.this$0.b.put(Long.valueOf(this.$userId), arrayList2); - this.this$0.f2570c.add(Long.valueOf(this.$userId)); + this.this$0.f2188c.add(Long.valueOf(this.$userId)); } - this.this$0.d(arrayList2.isEmpty() ? n.emptyList() : c0.t.m.listOf(String.valueOf(this.$userId))); + this.this$0.d(arrayList2.isEmpty() ? n.emptyList() : d0.t.m.listOf(String.valueOf(this.$userId))); return Unit.a; } } diff --git a/app/src/main/java/c/a/q/l0/a.java b/app/src/main/java/c/a/q/l0/a.java index 7722e662cb..a237206dcc 100644 --- a/app/src/main/java/c/a/q/l0/a.java +++ b/app/src/main/java/c/a/q/l0/a.java @@ -1,19 +1,19 @@ package c.a.q.l0; -import c0.z.d.m; import com.discord.models.domain.ModelAuditLogEntry; +import d0.z.d.m; import kotlin.jvm.internal.DefaultConstructorMarker; /* compiled from: WiredHeadsetState.kt */ public abstract class a { /* compiled from: WiredHeadsetState.kt */ /* renamed from: c.a.q.l0.a$a reason: collision with other inner class name */ - public static final class C0036a extends a { + public static final class C0035a extends a { public final String a; public final boolean b; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public C0036a(String str, boolean z2) { + public C0035a(String str, boolean z2) { super(false, null); m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME); this.a = str; @@ -24,10 +24,10 @@ public abstract class a { if (this == obj) { return true; } - if (!(obj instanceof C0036a)) { + if (!(obj instanceof C0035a)) { return false; } - C0036a aVar = (C0036a) obj; + C0035a aVar = (C0035a) obj; return m.areEqual(this.a, aVar.a) && this.b == aVar.b; } @@ -45,10 +45,10 @@ public abstract class a { } public String toString() { - StringBuilder O = c.d.b.a.a.O("PluggedIn(name="); - O.append(this.a); - O.append(", hasMic="); - return c.d.b.a.a.K(O, this.b, ")"); + StringBuilder R = c.d.b.a.a.R("PluggedIn(name="); + R.append(this.a); + R.append(", hasMic="); + return c.d.b.a.a.L(R, this.b, ")"); } } diff --git a/app/src/main/java/c/a/q/m.java b/app/src/main/java/c/a/q/m.java index d56ac8c6db..1624f2e1c2 100644 --- a/app/src/main/java/c/a/q/m.java +++ b/app/src/main/java/c/a/q/m.java @@ -11,6 +11,6 @@ public final class m implements Runnable { @Override // java.lang.Runnable public final /* synthetic */ void run() { - c0.z.d.m.checkNotNullExpressionValue(this.i.mo17invoke(), "invoke(...)"); + d0.z.d.m.checkNotNullExpressionValue(this.i.mo1invoke(), "invoke(...)"); } } diff --git a/app/src/main/java/c/a/q/m0/a.java b/app/src/main/java/c/a/q/m0/a.java index 8d0576a952..cc2fa53994 100644 --- a/app/src/main/java/c/a/q/m0/a.java +++ b/app/src/main/java/c/a/q/m0/a.java @@ -1,14 +1,14 @@ package c.a.q.m0; -import c0.z.d.m; import com.discord.models.domain.ModelAuditLogEntry; +import d0.z.d.m; /* compiled from: Codec.kt */ public final class a { public final String a; public final int b; /* renamed from: c reason: collision with root package name */ - public final String f217c; + public final String f215c; public final int d; public final Integer e; @@ -17,7 +17,7 @@ public final class a { m.checkNotNullParameter(str2, "type"); this.a = str; this.b = i; - this.f217c = str2; + this.f215c = str2; this.d = i2; this.e = num; } @@ -30,14 +30,14 @@ public final class a { return false; } a aVar = (a) obj; - return m.areEqual(this.a, aVar.a) && this.b == aVar.b && m.areEqual(this.f217c, aVar.f217c) && this.d == aVar.d && m.areEqual(this.e, aVar.e); + return m.areEqual(this.a, aVar.a) && this.b == aVar.b && m.areEqual(this.f215c, aVar.f215c) && this.d == aVar.d && m.areEqual(this.e, aVar.e); } public int hashCode() { String str = this.a; int i = 0; int hashCode = (((str != null ? str.hashCode() : 0) * 31) + this.b) * 31; - String str2 = this.f217c; + String str2 = this.f215c; int hashCode2 = (((hashCode + (str2 != null ? str2.hashCode() : 0)) * 31) + this.d) * 31; Integer num = this.e; if (num != null) { @@ -47,15 +47,15 @@ public final class a { } public String toString() { - StringBuilder O = c.d.b.a.a.O("Codec(name="); - O.append(this.a); - O.append(", priority="); - O.append(this.b); - O.append(", type="); - O.append(this.f217c); - O.append(", payloadType="); - O.append(this.d); - O.append(", rtxPayloadType="); - return c.d.b.a.a.D(O, this.e, ")"); + StringBuilder R = c.d.b.a.a.R("Codec(name="); + R.append(this.a); + R.append(", priority="); + R.append(this.b); + R.append(", type="); + R.append(this.f215c); + R.append(", payloadType="); + R.append(this.d); + R.append(", rtxPayloadType="); + return c.d.b.a.a.E(R, this.e, ")"); } } diff --git a/app/src/main/java/c/a/q/m0/b.java b/app/src/main/java/c/a/q/m0/b.java index 9e594a481b..bc10b82946 100644 --- a/app/src/main/java/c/a/q/m0/b.java +++ b/app/src/main/java/c/a/q/m0/b.java @@ -14,12 +14,12 @@ import android.os.Looper; import android.util.Log; import androidx.annotation.RequiresApi; import androidx.recyclerview.widget.RecyclerView; -import c0.z.d.m; import co.discord.media_engine.NativeCapturerObserver; import co.discord.media_engine.SoundshareAudioSource; import com.discord.rtcconnection.mediaengine.ThumbnailEmitter; import com.discord.utilities.display.DisplayUtils; import com.discord.utilities.logging.Logger; +import d0.z.d.m; import java.util.Objects; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicReference; @@ -36,7 +36,7 @@ import rx.functions.Action1; /* compiled from: ScreenCapturer.kt */ public final class b extends ScreenCapturerAndroid { public static final a i = new a(null); - public final RunnableC0037b j = new RunnableC0037b(); + public final RunnableC0036b j = new RunnableC0036b(); public NativeCapturerObserver k; public SurfaceTextureHelper l; public Context m; @@ -44,19 +44,17 @@ public final class b extends ScreenCapturerAndroid { public int o; public int p; public Long q; + public final Rect r = new Rect(); - /* renamed from: r reason: collision with root package name */ - public final Rect f218r = new Rect(); - public final Rect s = new Rect(); + /* renamed from: s reason: collision with root package name */ + public final Rect f216s = new Rect(); public final Point t = new Point(); public int u; public Subscription v; - - /* renamed from: w reason: collision with root package name */ - public final Logger f219w; + public final Logger w; /* renamed from: x reason: collision with root package name */ - public final ThumbnailEmitter f220x; + public final ThumbnailEmitter f217x; /* compiled from: ScreenCapturer.kt */ public static final class a { @@ -66,8 +64,8 @@ public final class b extends ScreenCapturerAndroid { /* compiled from: ScreenCapturer.kt */ /* renamed from: c.a.q.m0.b$b reason: collision with other inner class name */ - public final class RunnableC0037b implements Runnable { - public RunnableC0037b() { + public final class RunnableC0036b implements Runnable { + public RunnableC0036b() { } @Override // java.lang.Runnable @@ -122,8 +120,8 @@ public final class b extends ScreenCapturerAndroid { m.checkNotNullParameter(intent, "mediaProjectionPermissionResultData"); m.checkNotNullParameter(callback, "mediaProjectionCallback"); m.checkNotNullParameter(logger, "logger"); - this.f219w = logger; - this.f220x = thumbnailEmitter; + this.w = logger; + this.f217x = thumbnailEmitter; } public final synchronized void a(Rect rect, int i2) { @@ -180,15 +178,15 @@ public final class b extends ScreenCapturerAndroid { Handler handler = surfaceTextureHelper.getHandler(); m.checkNotNullExpressionValue(handler, "surfaceTextureHelper.handler"); Looper looper = handler.getLooper(); - AtomicReference atomicReference = i0.j.b.a.a; + AtomicReference atomicReference = j0.j.b.a.a; Objects.requireNonNull(looper, "looper == null"); - this.v = d02.X(new i0.j.b.b(looper)).W(new c(this), d.i); + this.v = d02.X(new j0.j.b.b(looper)).W(new c(this), d.i); } } @Override // org.webrtc.ScreenCapturerAndroid, org.webrtc.VideoCapturer public synchronized void changeCaptureFormat(int i2, int i3, int i4) { - a(this.f218r, Math.max(i2, i3)); + a(this.r, Math.max(i2, i3)); d(i4); } @@ -197,7 +195,7 @@ public final class b extends ScreenCapturerAndroid { try { super.createVirtualDisplay(); } catch (Throwable th) { - Logger.e$default(this.f219w, "ScreenCapturer", "error in createVirtualDisplay", th, null, 8, null); + Logger.e$default(this.w, "ScreenCapturer", "error in createVirtualDisplay", th, null, 8, null); } } @@ -214,11 +212,11 @@ public final class b extends ScreenCapturerAndroid { @Override // org.webrtc.ScreenCapturerAndroid, org.webrtc.VideoCapturer public void dispose() { stopCapture(); - ThumbnailEmitter thumbnailEmitter = this.f220x; + ThumbnailEmitter thumbnailEmitter = this.f217x; if (thumbnailEmitter != null) { synchronized (thumbnailEmitter) { thumbnailEmitter.d.release(); - thumbnailEmitter.f2597c.release(); + thumbnailEmitter.f2213c.release(); JniCommon.nativeFreeByteBuffer(thumbnailEmitter.b); thumbnailEmitter.a = RecyclerView.FOREVER_NS; } @@ -240,18 +238,18 @@ public final class b extends ScreenCapturerAndroid { @Override // org.webrtc.ScreenCapturerAndroid, org.webrtc.VideoSink public void onFrame(VideoFrame videoFrame) { - Rect rect = this.s; + Rect rect = this.f216s; Context context = this.m; if (context == null) { m.throwUninitializedPropertyAccessException("context"); } rect.set(DisplayUtils.getScreenSize(context)); - if (!m.areEqual(this.s, this.f218r)) { - this.f218r.set(this.s); - a(this.s, this.u); + if (!m.areEqual(this.f216s, this.r)) { + this.r.set(this.f216s); + a(this.f216s, this.u); } this.q = Long.valueOf(videoFrame.getTimestampNs()); - ThumbnailEmitter thumbnailEmitter = this.f220x; + ThumbnailEmitter thumbnailEmitter = this.f217x; if (thumbnailEmitter != null) { synchronized (thumbnailEmitter) { m.checkNotNullParameter(videoFrame, "frame"); diff --git a/app/src/main/java/c/a/q/m0/c/a.java b/app/src/main/java/c/a/q/m0/c/a.java index 9d222b4c1c..c9f9f1a80e 100644 --- a/app/src/main/java/c/a/q/m0/c/a.java +++ b/app/src/main/java/c/a/q/m0/c/a.java @@ -1,8 +1,8 @@ package c.a.q.m0.c; -import c0.z.d.m; -import c0.z.d.o; import com.discord.rtcconnection.mediaengine.MediaEngineConnection; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: MediaEngineConnectionLegacy.kt */ diff --git a/app/src/main/java/c/a/q/m0/c/b.java b/app/src/main/java/c/a/q/m0/c/b.java index 639178cb5e..8a75c21a53 100644 --- a/app/src/main/java/c/a/q/m0/c/b.java +++ b/app/src/main/java/c/a/q/m0/c/b.java @@ -1,9 +1,9 @@ package c.a.q.m0.c; -import c0.z.d.m; -import c0.z.d.o; import co.discord.media_engine.Connection; import co.discord.media_engine.StreamParameters; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: MediaEngineConnectionLegacy.kt */ @@ -31,7 +31,7 @@ public final class b implements Connection.OnVideoCallback { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { e eVar = this.this$0.a; long j = this.$userId; int i = this.$ssrc; diff --git a/app/src/main/java/c/a/q/m0/c/c.java b/app/src/main/java/c/a/q/m0/c/c.java index fcec2cd954..9bc14ad2a4 100644 --- a/app/src/main/java/c/a/q/m0/c/c.java +++ b/app/src/main/java/c/a/q/m0/c/c.java @@ -1,7 +1,7 @@ package c.a.q.m0.c; -import c0.z.d.o; import co.discord.media_engine.Connection; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: MediaEngineConnectionLegacy.kt */ @@ -25,7 +25,7 @@ public final class c implements Connection.UserSpeakingStatusChangedCallback { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { e eVar = this.this$0.a; long j = this.$userId; boolean z2 = this.$isUserSpeakingNow; diff --git a/app/src/main/java/c/a/q/m0/c/d.java b/app/src/main/java/c/a/q/m0/c/d.java index 9841621844..2a316591cd 100644 --- a/app/src/main/java/c/a/q/m0/c/d.java +++ b/app/src/main/java/c/a/q/m0/c/d.java @@ -1,10 +1,10 @@ package c.a.q.m0.c; -import c0.z.d.m; -import c0.z.d.o; import com.discord.rtcconnection.mediaengine.MediaEngineConnection; import com.discord.utilities.logging.Logger; import com.hammerandchisel.libdiscord.Discord; +import d0.z.d.m; +import d0.z.d.o; import java.util.Objects; import kotlin.Unit; import kotlin.jvm.functions.Function0; @@ -30,11 +30,11 @@ public final class d implements Discord.ConnectToServerCallback { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { e eVar = this.this$0.a; Discord.ConnectionInfo connectionInfo = this.$connectionInfo; String str = this.$errorMessage; - Logger.i$default(eVar.l, "MediaEngineConnectionLegacy", c.d.b.a.a.u("handleConnection(). errorMessage: ", str), null, 4, null); + Logger.i$default(eVar.l, "MediaEngineConnectionLegacy", c.d.b.a.a.v("handleConnection(). errorMessage: ", str), null, 4, null); if (connectionInfo != null) { if (str == null || str.length() == 0) { String str2 = connectionInfo.localAddress; @@ -53,14 +53,14 @@ public final class d implements Discord.ConnectToServerCallback { eVar.i.clear(); eVar.i.add(aVar); eVar.i.addAll(eVar.o); - eVar.y(new k(0, eVar, transportInfo)); + eVar.y(new l(0, eVar, transportInfo)); return Unit.a; } } if (connectionInfo == null) { - eVar.y(new k(1, eVar, str)); + eVar.y(new l(1, eVar, str)); } else { - eVar.y(new k(2, eVar, str)); + eVar.y(new l(2, eVar, str)); } return Unit.a; } diff --git a/app/src/main/java/c/a/q/m0/c/e.java b/app/src/main/java/c/a/q/m0/c/e.java index 46fd6e743b..dfb2d75895 100644 --- a/app/src/main/java/c/a/q/m0/c/e.java +++ b/app/src/main/java/c/a/q/m0/c/e.java @@ -2,8 +2,6 @@ package c.a.q.m0.c; import android.content.Intent; import android.media.projection.MediaProjection; -import c0.t.g0; -import c0.t.h0; import co.discord.media_engine.AudioDecoder; import co.discord.media_engine.AudioEncoder; import co.discord.media_engine.Connection; @@ -18,6 +16,8 @@ import com.discord.rtcconnection.mediaengine.MediaEngineConnection; import com.discord.rtcconnection.mediaengine.ThumbnailEmitter; import com.discord.utilities.logging.Logger; import com.hammerandchisel.libdiscord.Discord; +import d0.t.g0; +import d0.t.h0; import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedHashMap; @@ -36,7 +36,7 @@ public final class e implements MediaEngineConnection { public MediaEngineConnection.ConnectionState b; /* renamed from: c reason: collision with root package name */ - public boolean f221c; + public boolean f218c; public final Map d; public final Map e = new LinkedHashMap(); public final Set f = new LinkedHashSet(); @@ -53,7 +53,7 @@ public final class e implements MediaEngineConnection { public final long q; /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class a extends c0.z.d.o implements Function1 { + public static final class a extends d0.z.d.o implements Function1 { public final /* synthetic */ int $audioSsrc; public final /* synthetic */ boolean $isMuted; public final /* synthetic */ long $resolvedVideoSsrc; @@ -77,7 +77,7 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); long j = this.$userId; int i = this.$audioSsrc; int i2 = (int) this.$resolvedVideoSsrc; @@ -88,7 +88,7 @@ public final class e implements MediaEngineConnection { } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final /* synthetic */ class b extends c0.z.d.k implements Function1 { + public static final /* synthetic */ class b extends d0.z.d.k implements Function1 { public static final b i = new b(); public b() { @@ -100,14 +100,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "p1"); + d0.z.d.m.checkNotNullParameter(connection2, "p1"); connection2.dispose(); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class c extends c0.z.d.o implements Function1 { + public static final class c extends d0.z.d.o implements Function1 { public final /* synthetic */ e this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ @@ -121,7 +121,7 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(MediaEngineConnection.d dVar) { MediaEngineConnection.d dVar2 = dVar; - c0.z.d.m.checkNotNullParameter(dVar2, "it"); + d0.z.d.m.checkNotNullParameter(dVar2, "it"); dVar2.onConnectionStateChange(this.this$0, MediaEngineConnection.ConnectionState.DISCONNECTED); dVar2.onDestroy(this.this$0); return Unit.a; @@ -129,7 +129,7 @@ public final class e implements MediaEngineConnection { } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class d extends c0.z.d.o implements Function1 { + public static final class d extends d0.z.d.o implements Function1 { public final /* synthetic */ boolean $disabled; public final /* synthetic */ long $userId; @@ -145,7 +145,7 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); connection2.disableVideo(this.$userId, this.$disabled); return Unit.a; } @@ -153,12 +153,12 @@ public final class e implements MediaEngineConnection { /* compiled from: MediaEngineConnectionLegacy.kt */ /* renamed from: c.a.q.m0.c.e$e reason: collision with other inner class name */ - public static final class C0038e extends c0.z.d.o implements Function1 { + public static final class C0037e extends d0.z.d.o implements Function1 { public final /* synthetic */ KrispOveruseDetector.Status $status; public final /* synthetic */ e this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public C0038e(e eVar, KrispOveruseDetector.Status status) { + public C0037e(e eVar, KrispOveruseDetector.Status status) { super(1); this.this$0 = eVar; this.$status = status; @@ -169,14 +169,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(MediaEngineConnection.d dVar) { MediaEngineConnection.d dVar2 = dVar; - c0.z.d.m.checkNotNullParameter(dVar2, "it"); + d0.z.d.m.checkNotNullParameter(dVar2, "it"); dVar2.onKrispStatus(this.this$0, this.$status); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class f extends c0.z.d.o implements Function1 { + public static final class f extends d0.z.d.o implements Function1 { public final /* synthetic */ Function1 $onStats; public final /* synthetic */ e this$0; @@ -192,14 +192,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); connection2.getStats(new f(this)); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class g extends c0.z.d.o implements Function1 { + public static final class g extends d0.z.d.o implements Function1 { public final /* synthetic */ MediaEngineConnection.FailedConnectionException $e; public final /* synthetic */ e this$0; @@ -215,14 +215,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(MediaEngineConnection.d dVar) { MediaEngineConnection.d dVar2 = dVar; - c0.z.d.m.checkNotNullParameter(dVar2, "it"); + d0.z.d.m.checkNotNullParameter(dVar2, "it"); dVar2.onError(this.this$0, this.$e); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class h extends c0.z.d.o implements Function1 { + public static final class h extends d0.z.d.o implements Function1 { public final /* synthetic */ AudioDecoder $audioDecoder; public final /* synthetic */ AudioEncoder $audioEncoder; public final /* synthetic */ VideoDecoder $videoDecoder; @@ -242,14 +242,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); connection2.setCodecs(this.$audioEncoder, this.$videoEncoder, new AudioDecoder[]{this.$audioDecoder}, new VideoDecoder[]{this.$videoDecoder}); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class i extends c0.z.d.o implements Function1 { + public static final class i extends d0.z.d.o implements Function1 { public final /* synthetic */ EncryptionSettings $encryptionSettings; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ @@ -263,14 +263,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); connection2.setEncryptionSettings(this.$encryptionSettings); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class j extends c0.z.d.o implements Function1 { + public static final class j extends d0.z.d.o implements Function1 { public final /* synthetic */ MediaEngineConnection.InputMode $inputMode; public final /* synthetic */ MediaEngineConnection.c $inputModeOptions; @@ -286,9 +286,9 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); connection2.setVADLeadingFramesToBuffer(this.$inputModeOptions.b); - connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2596c); + connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2212c); connection2.setVADTriggerThreshold((float) this.$inputModeOptions.a); connection2.setVADAutoThreshold(this.$inputModeOptions.d ? 3 : -1); connection2.setVADUseKrisp(this.$inputModeOptions.e); @@ -300,7 +300,7 @@ public final class e implements MediaEngineConnection { } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class k extends c0.z.d.o implements Function1 { + public static final class k extends d0.z.d.o implements Function1 { public final /* synthetic */ boolean $mute; public final /* synthetic */ long $userId; @@ -316,14 +316,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); connection2.muteUser(this.$userId, this.$mute); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class l extends c0.z.d.o implements Function1 { + public static final class l extends d0.z.d.o implements Function1 { public final /* synthetic */ boolean $mute; public final /* synthetic */ long $userId; @@ -339,14 +339,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(MediaEngineConnection.d dVar) { MediaEngineConnection.d dVar2 = dVar; - c0.z.d.m.checkNotNullParameter(dVar2, "it"); + d0.z.d.m.checkNotNullParameter(dVar2, "it"); dVar2.onLocalMute(this.$userId, this.$mute); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class m extends c0.z.d.o implements Function1 { + public static final class m extends d0.z.d.o implements Function1 { public final /* synthetic */ boolean $offScreen; public final /* synthetic */ long $userId; @@ -362,14 +362,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(MediaEngineConnection.d dVar) { MediaEngineConnection.d dVar2 = dVar; - c0.z.d.m.checkNotNullParameter(dVar2, "it"); + d0.z.d.m.checkNotNullParameter(dVar2, "it"); dVar2.onLocalVideoOffScreen(this.$userId, this.$offScreen); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class n extends c0.z.d.o implements Function1 { + public static final class n extends d0.z.d.o implements Function1 { public final /* synthetic */ long $userId; public final /* synthetic */ float $volume; @@ -385,14 +385,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); connection2.setUserPlayoutVolume(this.$userId, this.$volume / 100.0f); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class o extends c0.z.d.o implements Function1 { + public static final class o extends d0.z.d.o implements Function1 { public final /* synthetic */ boolean $active; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ @@ -406,14 +406,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); connection2.setPTTActive(this.$active); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class p extends c0.z.d.o implements Function1 { + public static final class p extends d0.z.d.o implements Function1 { public final /* synthetic */ int $frameRate; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ @@ -427,14 +427,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(MediaEngineConnection.d dVar) { MediaEngineConnection.d dVar2 = dVar; - c0.z.d.m.checkNotNullParameter(dVar2, "it"); + d0.z.d.m.checkNotNullParameter(dVar2, "it"); dVar2.onTargetFrameRate(this.$frameRate); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class q extends c0.z.d.o implements Function1 { + public static final class q extends d0.z.d.o implements Function1 { public final /* synthetic */ MediaEngineConnection.b $quality; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ @@ -448,14 +448,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(MediaEngineConnection.d dVar) { MediaEngineConnection.d dVar2 = dVar; - c0.z.d.m.checkNotNullParameter(dVar2, "it"); + d0.z.d.m.checkNotNullParameter(dVar2, "it"); dVar2.onTargetBitrate(this.$quality.b); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class r extends c0.z.d.o implements Function1 { + public static final class r extends d0.z.d.o implements Function1 { public final /* synthetic */ int $frameRate; public final /* synthetic */ MediaEngineConnection.b $quality; @@ -471,15 +471,15 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); MediaEngineConnection.b bVar = this.$quality; - connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2595c, bVar.d, this.$frameRate); + connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2211c, bVar.d, this.$frameRate); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class s extends c0.z.d.o implements Function1 { + public static final class s extends d0.z.d.o implements Function1 { public final /* synthetic */ boolean $selfDeaf; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ @@ -493,14 +493,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); connection2.deafenLocalUser(this.$selfDeaf); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class t extends c0.z.d.o implements Function1 { + public static final class t extends d0.z.d.o implements Function1 { public final /* synthetic */ boolean $selfMute; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ @@ -514,14 +514,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); connection2.muteLocalUser(this.$selfMute); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class u extends c0.z.d.o implements Function1 { + public static final class u extends d0.z.d.o implements Function1 { public final /* synthetic */ boolean $isVideoBroadcast; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ @@ -535,14 +535,14 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); connection2.setVideoBroadcast(this.$isVideoBroadcast); return Unit.a; } } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class v extends c0.z.d.o implements Function1 { + public static final class v extends d0.z.d.o implements Function1 { public final /* synthetic */ c.a.q.m0.b $screenCapturer; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ @@ -556,7 +556,7 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); c.a.q.m0.b bVar = this.$screenCapturer; connection2.startScreenshareBroadcast(bVar, bVar.n.getNativeInstance()); return Unit.a; @@ -571,7 +571,7 @@ public final class e implements MediaEngineConnection { } /* compiled from: MediaEngineConnectionLegacy.kt */ - public static final class x extends c0.z.d.o implements Function1 { + public static final class x extends d0.z.d.o implements Function1 { public static final x i = new x(); public x() { @@ -583,21 +583,21 @@ public final class e implements MediaEngineConnection { @Override // kotlin.jvm.functions.Function1 public Unit invoke(Connection connection) { Connection connection2 = connection; - c0.z.d.m.checkNotNullParameter(connection2, "$receiver"); + d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); connection2.stopScreenshareBroadcast(); return Unit.a; } } public e(c.a.q.c cVar, Logger logger, u uVar, Discord discord, List list, MediaEngineConnection.Type type, long j2, MediaEngine.a aVar, List list2) { - c0.z.d.m.checkNotNullParameter(cVar, "mediaEngineThreadExecutor"); - c0.z.d.m.checkNotNullParameter(logger, "logger"); - c0.z.d.m.checkNotNullParameter(uVar, "noiseCancellationConfig"); - c0.z.d.m.checkNotNullParameter(discord, "voiceEngineLegacy"); - c0.z.d.m.checkNotNullParameter(list, "supportedVideoCodecs"); - c0.z.d.m.checkNotNullParameter(type, "type"); - c0.z.d.m.checkNotNullParameter(aVar, "connectionOptions"); - c0.z.d.m.checkNotNullParameter(list2, "listeners"); + d0.z.d.m.checkNotNullParameter(cVar, "mediaEngineThreadExecutor"); + d0.z.d.m.checkNotNullParameter(logger, "logger"); + d0.z.d.m.checkNotNullParameter(uVar, "noiseCancellationConfig"); + d0.z.d.m.checkNotNullParameter(discord, "voiceEngineLegacy"); + d0.z.d.m.checkNotNullParameter(list, "supportedVideoCodecs"); + d0.z.d.m.checkNotNullParameter(type, "type"); + d0.z.d.m.checkNotNullParameter(aVar, "connectionOptions"); + d0.z.d.m.checkNotNullParameter(list2, "listeners"); this.k = cVar; this.l = logger; this.m = uVar; @@ -607,14 +607,14 @@ public final class e implements MediaEngineConnection { this.q = j2; MediaEngineConnection.ConnectionState connectionState = MediaEngineConnection.ConnectionState.CONNECTING; this.b = connectionState; - this.d = h0.mutableMapOf(c0.o.to(Long.valueOf(j2), Integer.valueOf(aVar.a))); + this.d = h0.mutableMapOf(d0.o.to(Long.valueOf(j2), Integer.valueOf(aVar.a))); int i2 = aVar.a; String str = aVar.b; - int i3 = aVar.f2593c; + int i3 = aVar.f2209c; Object[] array = aVar.d.toArray(new StreamParameters[0]); Objects.requireNonNull(array, "null cannot be cast to non-null type kotlin.Array"); Connection connectToServer = discord.connectToServer(i2, j2, str, i3, (StreamParameters[]) array, new d(this)); - c0.z.d.m.checkNotNullExpressionValue(connectToServer, "voiceEngineLegacy.connec…fo, errorMessage) }\n }"); + d0.z.d.m.checkNotNullExpressionValue(connectToServer, "voiceEngineLegacy.connec…fo, errorMessage) }\n }"); connectToServer.setOnVideoCallback(new b(this)); connectToServer.setUserSpeakingStatusChangedCallback(new c(this)); this.j = connectToServer; @@ -630,7 +630,7 @@ public final class e implements MediaEngineConnection { @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection public synchronized void a(Intent intent, ThumbnailEmitter thumbnailEmitter) { - c0.z.d.m.checkNotNullParameter(intent, "permission"); + d0.z.d.m.checkNotNullParameter(intent, "permission"); z(new v(new c.a.q.m0.b(intent, new w(), this.l, thumbnailEmitter))); } @@ -641,7 +641,7 @@ public final class e implements MediaEngineConnection { @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection public void c(boolean z2) { - this.f221c = z2; + this.f218c = z2; z(new t(z2)); } @@ -669,8 +669,8 @@ public final class e implements MediaEngineConnection { @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection public void f(KrispOveruseDetector.Status status) { - c0.z.d.m.checkNotNullParameter(status, "status"); - y(new C0038e(this, status)); + d0.z.d.m.checkNotNullParameter(status, "status"); + y(new C0037e(this, status)); } @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection @@ -700,8 +700,8 @@ public final class e implements MediaEngineConnection { @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection public void k(MediaEngineConnection.InputMode inputMode, MediaEngineConnection.c cVar) { - c0.z.d.m.checkNotNullParameter(inputMode, "inputMode"); - c0.z.d.m.checkNotNullParameter(cVar, "inputModeOptions"); + d0.z.d.m.checkNotNullParameter(inputMode, "inputMode"); + d0.z.d.m.checkNotNullParameter(cVar, "inputModeOptions"); u uVar = this.m; if (inputMode == MediaEngineConnection.InputMode.VOICE_ACTIVITY) { boolean z2 = cVar.d; @@ -712,15 +712,15 @@ public final class e implements MediaEngineConnection { @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection public void l(MediaEngineConnection.d dVar) { - c0.z.d.m.checkNotNullParameter(dVar, "listener"); + d0.z.d.m.checkNotNullParameter(dVar, "listener"); this.a.add(dVar); dVar.onConnectionStateChange(this, this.b); } @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection public void m(MediaEngineConnection.b bVar) { - c0.z.d.m.checkNotNullParameter(bVar, "quality"); - int i2 = this.f221c ? bVar.e : bVar.f; + d0.z.d.m.checkNotNullParameter(bVar, "quality"); + int i2 = this.f218c ? bVar.e : bVar.f; y(new p(i2)); y(new q(bVar)); z(new r(bVar, i2)); @@ -728,13 +728,13 @@ public final class e implements MediaEngineConnection { @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection public void n(Function1 function1) { - c0.z.d.m.checkNotNullParameter(function1, "onStats"); + d0.z.d.m.checkNotNullParameter(function1, "onStats"); z(new f(this, function1)); } @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection public void o(MediaEngineConnection.d dVar) { - c0.z.d.m.checkNotNullParameter(dVar, "listener"); + d0.z.d.m.checkNotNullParameter(dVar, "listener"); this.a.remove(dVar); } @@ -752,8 +752,8 @@ public final class e implements MediaEngineConnection { public void r(String str, String str2) { Object obj; Object obj2; - c0.z.d.m.checkNotNullParameter(str, "audioCodec"); - c0.z.d.m.checkNotNullParameter(str2, "videoCodec"); + d0.z.d.m.checkNotNullParameter(str, "audioCodec"); + d0.z.d.m.checkNotNullParameter(str2, "videoCodec"); Iterator it = this.i.iterator(); while (true) { obj = null; @@ -762,7 +762,7 @@ public final class e implements MediaEngineConnection { break; } obj2 = it.next(); - if (c0.z.d.m.areEqual(((c.a.q.m0.a) obj2).a, str)) { + if (d0.z.d.m.areEqual(((c.a.q.m0.a) obj2).a, str)) { break; } } @@ -773,7 +773,7 @@ public final class e implements MediaEngineConnection { break; } Object next = it2.next(); - if (c0.z.d.m.areEqual(((c.a.q.m0.a) next).a, str2)) { + if (d0.z.d.m.areEqual(((c.a.q.m0.a) next).a, str2)) { obj = next; break; } @@ -787,8 +787,8 @@ public final class e implements MediaEngineConnection { if (num != null) { num.intValue(); AudioEncoder audioEncoder = new AudioEncoder(aVar.d, str, 48000, 960, 1, 64000); - AudioDecoder audioDecoder = new AudioDecoder(aVar.d, str, 48000, 2, g0.mapOf(c0.o.to("stereo", "1"))); - Map mapOf = h0.mapOf(c0.o.to("level-asymmetry-allowed", "1"), c0.o.to("packetization-mode", "1"), c0.o.to("profile-level-id", "42e01f")); + AudioDecoder audioDecoder = new AudioDecoder(aVar.d, str, 48000, 2, g0.mapOf(d0.o.to("stereo", "1"))); + Map mapOf = h0.mapOf(d0.o.to("level-asymmetry-allowed", "1"), d0.o.to("packetization-mode", "1"), d0.o.to("profile-level-id", "42e01f")); z(new h(audioEncoder, new VideoEncoder(str2, aVar2.d, aVar2.e.intValue(), mapOf), audioDecoder, new VideoDecoder(str2, aVar2.d, aVar2.e.intValue(), mapOf))); return; } @@ -804,7 +804,8 @@ public final class e implements MediaEngineConnection { @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection public void s(long j2, int i2, Integer num, boolean z2, float f2) { if (i2 == 0) { - Logger.w$default(this.l, "MediaEngineConnectionLegacy", c.d.b.a.a.r("Attempting to create user ", j2, " with 0 audio SSRC"), null, 4, null); + Logger logger = this.l; + Logger.w$default(logger, "MediaEngineConnectionLegacy", "Attempting to create user " + j2 + " with 0 audio SSRC", null, 4, null); return; } Long valueOf = num != null ? Long.valueOf((long) num.intValue()) : this.e.get(Long.valueOf(j2)); @@ -817,8 +818,8 @@ public final class e implements MediaEngineConnection { z3 = true; } if (z4 || z3) { - Logger logger = this.l; - Logger.i$default(logger, "MediaEngineConnectionLegacy", "creating user: " + j2 + " with audio SSRC: " + i2 + " and video SSRC: " + num, null, 4, null); + Logger logger2 = this.l; + Logger.i$default(logger2, "MediaEngineConnectionLegacy", "creating user: " + j2 + " with audio SSRC: " + i2 + " and video SSRC: " + num, null, 4, null); z(new a(this, j2, i2, longValue, z2, f2)); } if (z2) { @@ -832,8 +833,8 @@ public final class e implements MediaEngineConnection { @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection public void t(String str, int[] iArr) { - c0.z.d.m.checkNotNullParameter(str, "mode"); - c0.z.d.m.checkNotNullParameter(iArr, "secretKey"); + d0.z.d.m.checkNotNullParameter(str, "mode"); + d0.z.d.m.checkNotNullParameter(iArr, "secretKey"); z(new i(new EncryptionSettings(str, iArr))); } @@ -861,7 +862,7 @@ public final class e implements MediaEngineConnection { public final void y(Function1 function1) { for (MediaEngineConnection.d dVar : this.a) { try { - c0.z.d.m.checkNotNullExpressionValue(dVar, "it"); + d0.z.d.m.checkNotNullExpressionValue(dVar, "it"); function1.invoke(dVar); } catch (Exception e) { Logger.e$default(this.l, "MediaEngineConnectionLegacy", "Error in listener", e, null, 8, null); diff --git a/app/src/main/java/c/a/q/m0/c/f.java b/app/src/main/java/c/a/q/m0/c/f.java index b9a03ec229..e72ed33177 100644 --- a/app/src/main/java/c/a/q/m0/c/f.java +++ b/app/src/main/java/c/a/q/m0/c/f.java @@ -1,10 +1,10 @@ package c.a.q.m0.c; import c.a.q.m0.c.e; -import c0.z.d.m; import co.discord.media_engine.Connection; import co.discord.media_engine.Stats; import com.discord.utilities.logging.Logger; +import d0.z.d.m; /* compiled from: MediaEngineConnectionLegacy.kt */ public final class f implements Connection.GetStatsCallback { public final /* synthetic */ e.f a; diff --git a/app/src/main/java/c/a/q/m0/c/g.java b/app/src/main/java/c/a/q/m0/c/g.java index 4922d00449..3a62f41c46 100644 --- a/app/src/main/java/c/a/q/m0/c/g.java +++ b/app/src/main/java/c/a/q/m0/c/g.java @@ -1,8 +1,8 @@ package c.a.q.m0.c; -import c0.z.d.m; -import c0.z.d.o; import com.discord.rtcconnection.mediaengine.MediaEngineConnection; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: MediaEngineConnectionLegacy.kt */ diff --git a/app/src/main/java/c/a/q/m0/c/h.java b/app/src/main/java/c/a/q/m0/c/h.java index 55da323a9d..852f345ae9 100644 --- a/app/src/main/java/c/a/q/m0/c/h.java +++ b/app/src/main/java/c/a/q/m0/c/h.java @@ -1,10 +1,10 @@ package c.a.q.m0.c; -import c0.g0.s; -import c0.z.d.m; -import c0.z.d.o; import co.discord.media_engine.StreamParameters; import com.discord.rtcconnection.mediaengine.MediaEngineConnection; +import d0.g0.s; +import d0.z.d.m; +import d0.z.d.o; import java.util.Objects; import kotlin.Unit; import kotlin.jvm.functions.Function1; diff --git a/app/src/main/java/c/a/q/m0/c/i.java b/app/src/main/java/c/a/q/m0/c/i.java index 746e871fb1..67042e66da 100644 --- a/app/src/main/java/c/a/q/m0/c/i.java +++ b/app/src/main/java/c/a/q/m0/c/i.java @@ -1,6 +1,6 @@ package c.a.q.m0.c; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function0; /* compiled from: MediaEngineConnectionLegacy.kt */ public final class i implements Runnable { @@ -12,6 +12,6 @@ public final class i implements Runnable { @Override // java.lang.Runnable public final /* synthetic */ void run() { - m.checkNotNullExpressionValue(this.i.mo17invoke(), "invoke(...)"); + m.checkNotNullExpressionValue(this.i.mo1invoke(), "invoke(...)"); } } diff --git a/app/src/main/java/c/a/q/m0/c/j.java b/app/src/main/java/c/a/q/m0/c/j.java index 7fdbacf6d9..8b5dcc83bf 100644 --- a/app/src/main/java/c/a/q/m0/c/j.java +++ b/app/src/main/java/c/a/q/m0/c/j.java @@ -1,8 +1,8 @@ package c.a.q.m0.c; -import c0.z.d.m; -import c0.z.d.o; import com.discord.rtcconnection.mediaengine.MediaEngine; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: MediaEngineLegacy.kt */ diff --git a/app/src/main/java/c/a/q/m0/c/k.java b/app/src/main/java/c/a/q/m0/c/k.java index 49d0ceb5f1..3ea61000d3 100644 --- a/app/src/main/java/c/a/q/m0/c/k.java +++ b/app/src/main/java/c/a/q/m0/c/k.java @@ -4,16 +4,16 @@ import android.content.Context; import android.os.Build; import androidx.annotation.AnyThread; import c.a.q.e0; -import c0.t.n0; -import c0.t.u; -import c0.z.d.m; -import c0.z.d.o; import co.discord.media_engine.RtcRegion; import co.discord.media_engine.VideoInputDeviceDescription; import com.discord.rtcconnection.mediaengine.MediaEngine; import com.discord.rtcconnection.mediaengine.MediaEngineConnection; import com.discord.utilities.logging.Logger; import com.hammerandchisel.libdiscord.Discord; +import d0.t.n0; +import d0.t.u; +import d0.z.d.m; +import d0.z.d.o; import java.util.ArrayList; import java.util.List; import java.util.Objects; @@ -34,7 +34,7 @@ public final class k implements MediaEngine { public static final Set b = n0.setOf((Object[]) new String[]{"Pixel 3a", "Redmi Note 8 Pro", "Redmi Note 8 pro"}); /* renamed from: c reason: collision with root package name */ - public final u f222c; + public final u f219c; public final List d; public boolean e; public Discord f; @@ -49,9 +49,7 @@ public final class k implements MediaEngine { public final c.a.q.k0.g o; public final MediaEngine.b p; public final Set q; - - /* renamed from: r reason: collision with root package name */ - public final Set f223r; + public final Set r; /* compiled from: MediaEngineLegacy.kt */ public static final class a extends o implements Function0 { @@ -66,7 +64,7 @@ public final class k implements MediaEngine { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { k kVar = this.this$0; j jVar = j.i; Set set = k.a; @@ -113,7 +111,7 @@ public final class k implements MediaEngine { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { k kVar = this.this$0.a; l lVar = l.i; Set set = k.a; @@ -137,7 +135,7 @@ public final class k implements MediaEngine { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { k.m(this.this$0.a, this.$connection); return Unit.a; } @@ -145,12 +143,12 @@ public final class k implements MediaEngine { /* compiled from: MediaEngineLegacy.kt */ /* renamed from: c.a.q.m0.c.k$c$c reason: collision with other inner class name */ - public static final class C0039c extends o implements Function0 { + public static final class C0038c extends o implements Function0 { public final /* synthetic */ MediaEngineConnection $connection; public final /* synthetic */ c this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public C0039c(c cVar, MediaEngineConnection mediaEngineConnection) { + public C0038c(c cVar, MediaEngineConnection mediaEngineConnection) { super(0); this.this$0 = cVar; this.$connection = mediaEngineConnection; @@ -159,7 +157,7 @@ public final class k implements MediaEngine { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { k.m(this.this$0.a, this.$connection); return Unit.a; } @@ -180,7 +178,7 @@ public final class k implements MediaEngine { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { k.m(this.this$0.a, this.$connection); return Unit.a; } @@ -210,7 +208,7 @@ public final class k implements MediaEngine { @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection.a, com.discord.rtcconnection.mediaengine.MediaEngineConnection.d public void onDestroy(MediaEngineConnection mediaEngineConnection) { m.checkNotNullParameter(mediaEngineConnection, "connection"); - this.a.o(new C0039c(this, mediaEngineConnection)); + this.a.o(new C0038c(this, mediaEngineConnection)); } @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection.a, com.discord.rtcconnection.mediaengine.MediaEngineConnection.d @@ -261,12 +259,12 @@ public final class k implements MediaEngine { } /* compiled from: MediaEngineLegacy.kt */ - public static final class f implements i0.k.b, Unit> { + public static final class f implements j0.k.b, Unit> { public static final f i = new f(); /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // i0.k.b + @Override // j0.k.b public Unit call(List list) { return Unit.a; } @@ -314,7 +312,7 @@ public final class k implements MediaEngine { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { this.this$0.a.d = this.$enabled; k kVar = this.this$0.b; boolean z2 = this.$requestEnabled; @@ -354,7 +352,7 @@ public final class k implements MediaEngine { } /* compiled from: MediaEngineLegacy.kt */ - public static final /* synthetic */ class j extends c0.z.d.k implements Function1 { + public static final /* synthetic */ class j extends d0.z.d.k implements Function1 { public static final j i = new j(); public j() { @@ -374,12 +372,12 @@ public final class k implements MediaEngine { /* compiled from: MediaEngineLegacy.kt */ /* renamed from: c.a.q.m0.c.k$k reason: collision with other inner class name */ - public static final class C0040k extends o implements Function0 { + public static final class C0039k extends o implements Function0 { public final /* synthetic */ MediaEngine.VoiceConfig $voiceConfig; public final /* synthetic */ k this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public C0040k(k kVar, MediaEngine.VoiceConfig voiceConfig) { + public C0039k(k kVar, MediaEngine.VoiceConfig voiceConfig) { super(0); this.this$0 = kVar; this.$voiceConfig = voiceConfig; @@ -388,11 +386,11 @@ public final class k implements MediaEngine { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { boolean z2; - StringBuilder O = c.d.b.a.a.O("updateVoiceConfig: "); - O.append(this.$voiceConfig); - c.c.a.a0.d.c1("MediaEngineLegacy", O.toString()); + StringBuilder R = c.d.b.a.a.R("updateVoiceConfig: "); + R.append(this.$voiceConfig); + c.c.a.a0.d.a1("MediaEngineLegacy", R.toString()); MediaEngine.VoiceConfig voiceConfig = this.$voiceConfig; k kVar = this.this$0; float f = voiceConfig.a; @@ -411,21 +409,21 @@ public final class k implements MediaEngine { z2 = gVar2.f && !gVar2.d ? true : z3; } if (z2 != z3) { - c.c.a.a0.d.c1("MediaEngineLegacy", "ignoring call to setEchoCancellation(" + z3 + "), config=" + kVar2.o); + c.c.a.a0.d.a1("MediaEngineLegacy", "ignoring call to setEchoCancellation(" + z3 + "), config=" + kVar2.o); } Discord discord2 = kVar2.f; if (discord2 != null) { discord2.setEchoCancellation(z2, false, new m(kVar2)); } k kVar3 = this.this$0; - boolean z4 = voiceConfig.f2592c; + boolean z4 = voiceConfig.f2208c; Discord discord3 = kVar3.f; if (discord3 != null) { discord3.setNoiseSuppression(z4); } k kVar4 = this.this$0; boolean z5 = voiceConfig.d; - kVar4.f222c.a = z5; + kVar4.f219c.a = z5; Discord discord4 = kVar4.f; if (discord4 != null) { discord4.setNoiseCancellation(z5); @@ -466,8 +464,8 @@ public final class k implements MediaEngine { this.o = gVar; this.p = bVar; this.q = set4; - this.f223r = set3; - this.f222c = new u(); + this.r = set3; + this.f219c = new u(); this.d = new ArrayList(); this.e = true; this.h = MediaEngine.OpenSLUsageMode.ALLOW_LIST; @@ -486,15 +484,15 @@ public final class k implements MediaEngine { @Override // com.discord.rtcconnection.mediaengine.MediaEngine public Observable a() { if (this.g != null) { - i0.l.e.j jVar = new i0.l.e.j(Unit.a); + j0.l.e.j jVar = new j0.l.e.j(Unit.a); m.checkNotNullExpressionValue(jVar, "Observable.just(Unit)"); return jVar; } p(); if (this.f == null) { - Observable w2 = Observable.w(new IllegalStateException("Failed to initialize native media engine")); - m.checkNotNullExpressionValue(w2, "Observable.error(Illegal…ze native media engine\"))"); - return w2; + Observable w = Observable.w(new IllegalStateException("Failed to initialize native media engine")); + m.checkNotNullExpressionValue(w, "Observable.error(Illegal…ze native media engine\"))"); + return w; } Observable n = Observable.n(new q(this), Emitter.BackpressureMode.NONE); m.checkNotNullExpressionValue(n, "Observable.create({ emit…er.BackpressureMode.NONE)"); @@ -523,7 +521,7 @@ public final class k implements MediaEngine { @AnyThread public void d(MediaEngine.VoiceConfig voiceConfig) { m.checkNotNullParameter(voiceConfig, "voiceConfig"); - o(new C0040k(this, voiceConfig)); + o(new C0039k(this, voiceConfig)); } @Override // com.discord.rtcconnection.mediaengine.MediaEngine @@ -561,12 +559,12 @@ public final class k implements MediaEngine { c cVar = new c(this); c.a.q.c cVar2 = this.l; Logger logger2 = this.n; - u uVar = this.f222c; + u uVar = this.f219c; List list = this.g; if (list == null) { m.throwUninitializedPropertyAccessException("supportedVideoCodecs"); } - e eVar = new e(cVar2, logger2, uVar, discord, list, type, j2, aVar, c0.t.m.listOf(cVar)); + e eVar = new e(cVar2, logger2, uVar, discord, list, type, j2, aVar, d0.t.m.listOf(cVar)); this.d.add(eVar); n(new b(eVar)); return eVar; @@ -648,26 +646,26 @@ public final class k implements MediaEngine { public final void p() { if (this.f == null) { Logger logger = this.n; - StringBuilder O = c.d.b.a.a.O("initializing voice engine. OpenSL ES: "); - O.append(this.m); - O.append(", OpenSL usage mode: "); - O.append(this.h); - Logger.i$default(logger, "MediaEngineLegacy", O.toString(), null, 4, null); + StringBuilder R = c.d.b.a.a.R("initializing voice engine. OpenSL ES: "); + R.append(this.m); + R.append(", OpenSL usage mode: "); + R.append(this.h); + Logger.i$default(logger, "MediaEngineLegacy", R.toString(), null, 4, null); int ordinal = this.m.ordinal(); boolean z2 = false; if (ordinal == 0) { if (this.h == MediaEngine.OpenSLUsageMode.ALLOW_LIST) { z2 = this.q.contains(Build.MODEL); - } else if (!this.f223r.contains(Build.MODEL)) { + } else if (!this.r.contains(Build.MODEL)) { z2 = true; } Logger logger2 = this.n; - StringBuilder O2 = c.d.b.a.a.O("OpenSL ES default. mode: "); - O2.append(this.h); - O2.append(", enableOpenSL: "); - O2.append(z2); - O2.append(", model: '"); - Logger.i$default(logger2, "MediaEngineLegacy", c.d.b.a.a.F(O2, Build.MODEL, '\''), null, 4, null); + StringBuilder R2 = c.d.b.a.a.R("OpenSL ES default. mode: "); + R2.append(this.h); + R2.append(", enableOpenSL: "); + R2.append(z2); + R2.append(", model: '"); + Logger.i$default(logger2, "MediaEngineLegacy", c.d.b.a.a.G(R2, Build.MODEL, '\''), null, 4, null); WebRtcAudioManager.setBlacklistDeviceForOpenSLESUsage(!z2); } else if (ordinal == 1) { WebRtcAudioManager.setBlacklistDeviceForOpenSLESUsage(false); diff --git a/app/src/main/java/c/a/q/m0/c/l.java b/app/src/main/java/c/a/q/m0/c/l.java index 35fab162d0..c821b2bc09 100644 --- a/app/src/main/java/c/a/q/m0/c/l.java +++ b/app/src/main/java/c/a/q/m0/c/l.java @@ -1,8 +1,8 @@ package c.a.q.m0.c; -import c0.z.d.m; -import c0.z.d.o; import com.discord.rtcconnection.mediaengine.MediaEngine; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: MediaEngineLegacy.kt */ diff --git a/app/src/main/java/c/a/q/m0/c/m.java b/app/src/main/java/c/a/q/m0/c/m.java index b702c5f6a7..e1d494b874 100644 --- a/app/src/main/java/c/a/q/m0/c/m.java +++ b/app/src/main/java/c/a/q/m0/c/m.java @@ -1,9 +1,9 @@ package c.a.q.m0.c; import c.c.a.a0.d; -import c0.z.d.o; import com.discord.rtcconnection.mediaengine.MediaEngine; import com.hammerandchisel.libdiscord.Discord; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: MediaEngineLegacy.kt */ @@ -33,13 +33,13 @@ public final class m implements Discord.AecConfigCallback { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { k kVar = this.this$0.a; MediaEngine.EchoCancellationInfo echoCancellationInfo = kVar.i; kVar.i = null; if (echoCancellationInfo != null) { - MediaEngine.EchoCancellationInfo echoCancellationInfo2 = new MediaEngine.EchoCancellationInfo(echoCancellationInfo.a, echoCancellationInfo.b, echoCancellationInfo.f2591c, echoCancellationInfo.d, this.$requestEnable, this.$enabled, this.$requestMobileMode, this.$previouslyEnabled, this.$previouslyMobileMode); - d.e1("MediaEngineLegacy", "onEchoCancellationUpdated: " + echoCancellationInfo2); + MediaEngine.EchoCancellationInfo echoCancellationInfo2 = new MediaEngine.EchoCancellationInfo(echoCancellationInfo.a, echoCancellationInfo.b, echoCancellationInfo.f2207c, echoCancellationInfo.d, this.$requestEnable, this.$enabled, this.$requestMobileMode, this.$previouslyEnabled, this.$previouslyMobileMode); + d.c1("MediaEngineLegacy", "onEchoCancellationUpdated: " + echoCancellationInfo2); this.this$0.a.p.onEchoCancellationUpdated(echoCancellationInfo2); } return Unit.a; diff --git a/app/src/main/java/c/a/q/m0/c/n.java b/app/src/main/java/c/a/q/m0/c/n.java index a09d2efe61..b9bb64b8ac 100644 --- a/app/src/main/java/c/a/q/m0/c/n.java +++ b/app/src/main/java/c/a/q/m0/c/n.java @@ -1,7 +1,7 @@ package c.a.q.m0.c; -import c0.u.a; -import c0.z.d.m; +import d0.u.a; +import d0.z.d.m; import java.util.Comparator; /* compiled from: Comparisons.kt */ public final class n implements Comparator { diff --git a/app/src/main/java/c/a/q/m0/c/o.java b/app/src/main/java/c/a/q/m0/c/o.java index 801c17dee9..3d24c019a7 100644 --- a/app/src/main/java/c/a/q/m0/c/o.java +++ b/app/src/main/java/c/a/q/m0/c/o.java @@ -1,8 +1,8 @@ package c.a.q.m0.c; -import c0.z.d.m; import com.discord.rtcconnection.mediaengine.MediaEngine; import com.hammerandchisel.libdiscord.Discord; +import d0.z.d.m; import rx.Emitter; /* compiled from: MediaEngineLegacy.kt */ public final class o implements Discord.GetAudioSubsystemCallback { diff --git a/app/src/main/java/c/a/q/m0/c/p.java b/app/src/main/java/c/a/q/m0/c/p.java index 624e42140b..96ffe4b56f 100644 --- a/app/src/main/java/c/a/q/m0/c/p.java +++ b/app/src/main/java/c/a/q/m0/c/p.java @@ -1,11 +1,11 @@ package c.a.q.m0.c; import c.a.q.m0.a; -import c0.t.n; -import c0.t.o; -import c0.t.u; -import c0.z.d.m; import com.hammerandchisel.libdiscord.Discord; +import d0.t.n; +import d0.t.o; +import d0.t.u; +import d0.z.d.m; import java.util.ArrayList; import java.util.List; import java.util.Locale; diff --git a/app/src/main/java/c/a/q/m0/c/r.java b/app/src/main/java/c/a/q/m0/c/r.java index b2e3ca1334..51418f5830 100644 --- a/app/src/main/java/c/a/q/m0/c/r.java +++ b/app/src/main/java/c/a/q/m0/c/r.java @@ -1,8 +1,8 @@ package c.a.q.m0.c; import androidx.annotation.NonNull; -import c0.z.d.m; import com.hammerandchisel.libdiscord.Discord; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: MediaEngineLegacy.kt */ public final class r implements Discord.GetRankedRtcRegionsCallback { diff --git a/app/src/main/java/c/a/q/m0/c/s.java b/app/src/main/java/c/a/q/m0/c/s.java index 3717dcccff..46acccfd21 100644 --- a/app/src/main/java/c/a/q/m0/c/s.java +++ b/app/src/main/java/c/a/q/m0/c/s.java @@ -1,9 +1,9 @@ package c.a.q.m0.c; import androidx.annotation.NonNull; -import c0.z.d.m; import co.discord.media_engine.VideoInputDeviceDescription; import com.hammerandchisel.libdiscord.Discord; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: MediaEngineLegacy.kt */ public final class s implements Discord.GetVideoInputDevicesCallback { diff --git a/app/src/main/java/c/a/q/m0/c/t.java b/app/src/main/java/c/a/q/m0/c/t.java index 55ae6c75a0..0b1a266428 100644 --- a/app/src/main/java/c/a/q/m0/c/t.java +++ b/app/src/main/java/c/a/q/m0/c/t.java @@ -1,6 +1,6 @@ package c.a.q.m0.c; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function0; /* compiled from: MediaEngineLegacy.kt */ public final class t implements Runnable { @@ -12,6 +12,6 @@ public final class t implements Runnable { @Override // java.lang.Runnable public final /* synthetic */ void run() { - m.checkNotNullExpressionValue(this.i.mo17invoke(), "invoke(...)"); + m.checkNotNullExpressionValue(this.i.mo1invoke(), "invoke(...)"); } } diff --git a/app/src/main/java/c/a/q/n.java b/app/src/main/java/c/a/q/n.java index 64d7241e27..95f4f5e01f 100644 --- a/app/src/main/java/c/a/q/n.java +++ b/app/src/main/java/c/a/q/n.java @@ -1,20 +1,20 @@ package c.a.q; -import z.a.a.a; +import a0.a.a.a; /* compiled from: MediaSinkWantsLadder.kt */ public final class n { public final int a; public final int b; /* renamed from: c reason: collision with root package name */ - public final double f224c; + public final double f220c; public final int d; public final int e; public n(int i, int i2, double d, int i3, int i4) { this.a = i; this.b = i2; - this.f224c = d; + this.f220c = d; this.d = i3; this.e = i4; } @@ -27,23 +27,23 @@ public final class n { return false; } n nVar = (n) obj; - return this.a == nVar.a && this.b == nVar.b && Double.compare(this.f224c, nVar.f224c) == 0 && this.d == nVar.d && this.e == nVar.e; + return this.a == nVar.a && this.b == nVar.b && Double.compare(this.f220c, nVar.f220c) == 0 && this.d == nVar.d && this.e == nVar.e; } public int hashCode() { - return ((((a.a(this.f224c) + (((this.a * 31) + this.b) * 31)) * 31) + this.d) * 31) + this.e; + return ((((a.a(this.f220c) + (((this.a * 31) + this.b) * 31)) * 31) + this.d) * 31) + this.e; } public String toString() { - StringBuilder O = c.d.b.a.a.O("ResolutionBudget(width="); - O.append(this.a); - O.append(", height="); - O.append(this.b); - O.append(", budgetPortion="); - O.append(this.f224c); - O.append(", mutedFramerate="); - O.append(this.d); - O.append(", framerate="); - return c.d.b.a.a.z(O, this.e, ")"); + StringBuilder R = c.d.b.a.a.R("ResolutionBudget(width="); + R.append(this.a); + R.append(", height="); + R.append(this.b); + R.append(", budgetPortion="); + R.append(this.f220c); + R.append(", mutedFramerate="); + R.append(this.d); + R.append(", framerate="); + return c.d.b.a.a.A(R, this.e, ")"); } } diff --git a/app/src/main/java/c/a/q/n0/a.java b/app/src/main/java/c/a/q/n0/a.java index b2cbf0b0cc..758bbbe71f 100644 --- a/app/src/main/java/c/a/q/n0/a.java +++ b/app/src/main/java/c/a/q/n0/a.java @@ -2,8 +2,6 @@ package c.a.q.n0; import androidx.annotation.AnyThread; import androidx.core.app.NotificationCompat; -import c0.z.d.m; -import c0.z.d.o; import com.discord.models.domain.ModelAuditLogEntry; import com.discord.rtcconnection.socket.io.Opcodes; import com.discord.rtcconnection.socket.io.Payloads; @@ -16,8 +14,10 @@ import com.discord.utilities.time.Clock; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.reflect.TypeToken; -import e0.e0.k.h; -import e0.x; +import d0.z.d.m; +import d0.z.d.o; +import f0.e0.k.h; +import f0.x; import java.lang.reflect.Type; import java.util.List; import java.util.Map; @@ -38,7 +38,7 @@ import okhttp3.WebSocketListener; /* compiled from: RtcControlSocket.kt */ public final class a extends WebSocketListener implements DebugPrintable { public static int i; - public static final Type j = new C0041a().getType(); + public static final Type j = new C0040a().getType(); public static final b k = new b(null); public c A; public boolean B; @@ -55,29 +55,27 @@ public final class a extends WebSocketListener implements DebugPrintable { public final Backoff o; public final CopyOnWriteArraySet p; public int q; + public WebSocket r; - /* renamed from: r reason: collision with root package name */ - public WebSocket f225r; - public String s; + /* renamed from: s reason: collision with root package name */ + public String f221s; public String t; public Long u; public boolean v; - - /* renamed from: w reason: collision with root package name */ - public b f226w; + public b w; /* renamed from: x reason: collision with root package name */ - public Long f227x; + public Long f222x; /* renamed from: y reason: collision with root package name */ - public TimerTask f228y; + public TimerTask f223y; /* renamed from: z reason: collision with root package name */ - public Long f229z; + public Long f224z; /* compiled from: RtcControlSocket.kt */ /* renamed from: c.a.q.n0.a$a reason: collision with other inner class name */ - public static final class C0041a extends TypeToken> { + public static final class C0040a extends TypeToken> { } /* compiled from: RtcControlSocket.kt */ @@ -169,11 +167,11 @@ public final class a extends WebSocketListener implements DebugPrintable { /* compiled from: RtcControlSocket.kt */ /* renamed from: c.a.q.n0.a$g$a reason: collision with other inner class name */ - public static final class C0042a extends o implements Function0 { + public static final class C0041a extends o implements Function0 { public final /* synthetic */ g this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public C0042a(g gVar) { + public C0041a(g gVar) { super(0); this.this$0 = gVar; } @@ -181,7 +179,7 @@ public final class a extends WebSocketListener implements DebugPrintable { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { a.a(this.this$0.i, true, null, "The connection timed out. Did not receive OP_HELLO in time."); return Unit.a; } @@ -193,7 +191,7 @@ public final class a extends WebSocketListener implements DebugPrintable { @Override // java.util.TimerTask, java.lang.Runnable public void run() { - this.i.m(new C0042a(this)); + this.i.m(new C0041a(this)); } } @@ -216,8 +214,8 @@ public final class a extends WebSocketListener implements DebugPrintable { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { - if (!(!m.areEqual(this.$webSocket, this.this$0.f225r))) { + public Unit mo1invoke() { + if (!(!m.areEqual(this.$webSocket, this.this$0.r))) { a.a(this.this$0, true, Integer.valueOf(this.$code), this.$reason); } return Unit.a; @@ -241,12 +239,12 @@ public final class a extends WebSocketListener implements DebugPrintable { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { - if (!(!m.areEqual(this.$webSocket, this.this$0.f225r))) { + public Unit mo1invoke() { + if (!(!m.areEqual(this.$webSocket, this.this$0.r))) { a aVar = this.this$0; - StringBuilder O = c.d.b.a.a.O("An error with the websocket occurred: "); - O.append(this.$t.getMessage()); - a.a(aVar, true, null, O.toString()); + StringBuilder R = c.d.b.a.a.R("An error with the websocket occurred: "); + R.append(this.$t.getMessage()); + a.a(aVar, true, null, R.toString()); } return Unit.a; } @@ -269,9 +267,9 @@ public final class a extends WebSocketListener implements DebugPrintable { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { boolean z2 = true; - if (!(!m.areEqual(this.$webSocket, this.this$0.f225r))) { + if (!(!m.areEqual(this.$webSocket, this.this$0.r))) { switch (this.$message.getOpcode()) { case 2: a aVar = this.this$0; @@ -280,7 +278,7 @@ public final class a extends WebSocketListener implements DebugPrintable { Payloads.Ready ready = (Payloads.Ready) c2; aVar.o.succeed(); long currentTimeMillis = aVar.H.currentTimeMillis(); - Long l = aVar.f229z; + Long l = aVar.f224z; long longValue = currentTimeMillis - (l != null ? l.longValue() : 0); aVar.i("[READY] took " + longValue + " ms"); aVar.G.a(); @@ -335,7 +333,7 @@ public final class a extends WebSocketListener implements DebugPrintable { long currentTimeMillis2 = aVar5.H.currentTimeMillis(); long j = currentTimeMillis2 - longValue2; aVar5.h("got heartbeat ack after " + j + " ms"); - aVar5.f227x = Long.valueOf(currentTimeMillis2); + aVar5.f222x = Long.valueOf(currentTimeMillis2); aVar5.v = true; aVar5.G.a(); for (d dVar4 : aVar5.p) { @@ -348,23 +346,23 @@ public final class a extends WebSocketListener implements DebugPrintable { case 11: default: a aVar6 = this.this$0; - StringBuilder O = c.d.b.a.a.O("unknown opcode: "); - O.append(this.$message.getOpcode()); - aVar6.i(O.toString()); + StringBuilder R = c.d.b.a.a.R("unknown opcode: "); + R.append(this.$message.getOpcode()); + aVar6.i(R.toString()); break; case 8: a aVar7 = this.this$0; Object c6 = aVar7.m.c(this.$message.getData(), Payloads.Hello.class); m.checkNotNullExpressionValue(c6, "gson.fromJson(message.da…yloads.Hello::class.java)"); Payloads.Hello hello = (Payloads.Hello) c6; - TimerTask timerTask = aVar7.f228y; + TimerTask timerTask = aVar7.f223y; if (timerTask != null) { timerTask.cancel(); } aVar7.i("[HELLO] raw: " + hello); aVar7.u = Long.valueOf(hello.getHeartbeatIntervalMs()); aVar7.q = hello.getServerVersion(); - aVar7.f226w.cancel(); + aVar7.w.cancel(); aVar7.v = true; aVar7.k(); break; @@ -446,9 +444,9 @@ public final class a extends WebSocketListener implements DebugPrintable { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { boolean z2 = true; - if (!(!m.areEqual(this.$webSocket, this.this$0.f225r))) { + if (!(!m.areEqual(this.$webSocket, this.this$0.r))) { a aVar = this.this$0; c cVar = aVar.A; if (cVar == c.CONNECTING) { @@ -459,18 +457,18 @@ public final class a extends WebSocketListener implements DebugPrintable { } } else if (cVar == c.RECONNECTING) { String str = aVar.t; - String str2 = aVar.s; + String str2 = aVar.f221s; String str3 = aVar.D; - Long l = aVar.f227x; + Long l = aVar.f222x; if (l != null && aVar.H.currentTimeMillis() - l.longValue() > 60000) { z2 = false; } if (str == null || str2 == null || !aVar.B || !z2) { - StringBuilder O = c.d.b.a.a.O("Cannot resume connection. resumable: "); - O.append(aVar.B); - O.append(" -- isHeartbeatRecentEnough: "); - O.append(z2); - aVar.f(false, 4801, O.toString()); + StringBuilder R = c.d.b.a.a.R("Cannot resume connection. resumable: "); + R.append(aVar.B); + R.append(" -- isHeartbeatRecentEnough: "); + R.append(z2); + aVar.f(false, 4801, R.toString()); } else { aVar.i("[RESUME] resuming session. serverId=" + str2 + " sessionId=" + str); aVar.G.a(); @@ -485,12 +483,12 @@ public final class a extends WebSocketListener implements DebugPrintable { a aVar2 = this.this$0; aVar2.A = c.CONNECTED; long currentTimeMillis = aVar2.H.currentTimeMillis(); - Long l2 = this.this$0.f229z; + Long l2 = this.this$0.f224z; long longValue = currentTimeMillis - (l2 != null ? l2.longValue() : 0); a aVar3 = this.this$0; - StringBuilder O2 = c.d.b.a.a.O("[CONNECTED] to "); - O2.append(this.this$0.C); - aVar3.i(O2.toString()); + StringBuilder R2 = c.d.b.a.a.R("[CONNECTED] to "); + R2.append(this.this$0.C); + aVar3.i(R2.toString()); a aVar4 = this.this$0; aVar4.G.a(); for (d dVar3 : aVar4.p) { @@ -535,16 +533,16 @@ public final class a extends WebSocketListener implements DebugPrintable { this.G = cVar; this.H = clock; this.I = str3; - StringBuilder S = c.d.b.a.a.S(str3, "->RtcControlSocket "); + StringBuilder V = c.d.b.a.a.V(str3, "->RtcControlSocket "); int i2 = i + 1; i = i2; - S.append(i2); - String sb = S.toString(); + V.append(i2); + String sb = V.toString(); this.l = sb; this.o = new Backoff(1000, 5000, 3, false, new Backoff.TimerScheduler(sb, cVar), 8, null); this.p = new CopyOnWriteArraySet<>(); this.q = 3; - this.f226w = new b(this); + this.w = new b(this); this.A = c.DISCONNECTED; } @@ -557,30 +555,30 @@ public final class a extends WebSocketListener implements DebugPrintable { aVar.f(z2, num, str); } else { aVar.b(null); - String L = c.d.b.a.a.L(new Object[]{Double.valueOf(((double) aVar.o.fail(new c(aVar, z2, num, str))) / 1000.0d)}, 1, "%.2f", "java.lang.String.format(this, *args)"); - aVar.j("`[WS CLOSED] (" + z2 + ", " + num + ", " + str + ") retrying in " + L + " seconds."); + String M = c.d.b.a.a.M(new Object[]{Double.valueOf(((double) aVar.o.fail(new c(aVar, z2, num, str))) / 1000.0d)}, 1, "%.2f", "java.lang.String.format(this, *args)"); + aVar.j("`[WS CLOSED] (" + z2 + ", " + num + ", " + str + ") retrying in " + M + " seconds."); } } public final void b(Function1 function1) { this.o.cancel(); - this.f226w.cancel(); - TimerTask timerTask = this.f228y; + this.w.cancel(); + TimerTask timerTask = this.f223y; if (timerTask != null) { timerTask.cancel(); } - WebSocket webSocket = this.f225r; + WebSocket webSocket = this.r; if (!(webSocket == null || function1 == null)) { function1.invoke(webSocket); } - this.f225r = null; + this.r = null; } public final void c() { this.G.a(); i("[CLOSE]"); b(e.i); - this.s = null; + this.f221s = null; this.t = null; this.B = false; this.A = c.DISCONNECTED; @@ -610,51 +608,51 @@ public final class a extends WebSocketListener implements DebugPrintable { @Override // com.discord.utilities.debug.DebugPrintable public void debugPrint(DebugPrintBuilder debugPrintBuilder) { m.checkNotNullParameter(debugPrintBuilder, "dp"); - debugPrintBuilder.appendKeyValue("serverId", this.s); + debugPrintBuilder.appendKeyValue("serverId", this.f221s); debugPrintBuilder.appendKeyValue("sessionId", this.t); debugPrintBuilder.appendKeyValue("heartbeatInterval", this.u); - debugPrintBuilder.appendKeyValue("lastHeartbeatAckTime", this.f227x); - debugPrintBuilder.appendKeyValue("connectionStartTime", this.f229z); + debugPrintBuilder.appendKeyValue("lastHeartbeatAckTime", this.f222x); + debugPrintBuilder.appendKeyValue("connectionStartTime", this.f224z); debugPrintBuilder.appendKeyValue("connectionState", this.A); debugPrintBuilder.appendKeyValue("resumable", Boolean.valueOf(this.B)); } public final void e() { - StringBuilder O = c.d.b.a.a.O("[CONNECT] "); - O.append(this.C); - i(O.toString()); - if (this.f225r != null) { + StringBuilder R = c.d.b.a.a.R("[CONNECT] "); + R.append(this.C); + i(R.toString()); + if (this.r != null) { this.F.e(this.l, "Connect called with already existing websocket", null, null); b(f.i); return; } - this.f229z = Long.valueOf(this.H.currentTimeMillis()); - TimerTask timerTask = this.f228y; + this.f224z = Long.valueOf(this.H.currentTimeMillis()); + TimerTask timerTask = this.f223y; if (timerTask != null) { timerTask.cancel(); } g gVar = new g(this); - this.f228y = gVar; + this.f223y = gVar; this.n.schedule(gVar, 20000); x.a aVar = new x.a(); aVar.a(1, TimeUnit.MINUTES); SSLSocketFactory sSLSocketFactory = this.E; if (sSLSocketFactory != null) { - h.a aVar2 = e0.e0.k.h.f2994c; - aVar.b(sSLSocketFactory, e0.e0.k.h.a.n()); + h.a aVar2 = f0.e0.k.h.f2845c; + aVar.b(sSLSocketFactory, f0.e0.k.h.a.n()); } - String G = c.d.b.a.a.G(new StringBuilder(), this.C, "?v=5"); - i("attempting WSS connection with " + G); + String H = c.d.b.a.a.H(new StringBuilder(), this.C, "?v=5"); + i("attempting WSS connection with " + H); x xVar = new x(aVar); Request.a aVar3 = new Request.a(); - aVar3.f(G); - this.f225r = xVar.g(aVar3.a(), this); + aVar3.f(H); + this.r = xVar.g(aVar3.a(), this); } public final void f(boolean z2, Integer num, String str) { j("[DISCONNECT] (" + z2 + ", " + num + ", " + str + ')'); b(null); - this.s = null; + this.f221s = null; this.t = null; this.B = false; this.A = c.DISCONNECTED; @@ -668,15 +666,15 @@ public final class a extends WebSocketListener implements DebugPrintable { public final void g(long j2, String str, boolean z2) { m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_REASON); this.G.a(); - if (this.f225r != null) { + if (this.r != null) { i("Performing an immediate heartbeat on existing socket: " + str); - this.f226w.cancel(); + this.w.cancel(); b bVar = new b(this); - this.f226w = bVar; + this.w = bVar; this.n.schedule(bVar, j2); } else if (!z2) { i("Immediate heartbeat requested, but is disconnected and a reset was not requested: " + str); - } else if (this.o.isPending() && this.f225r == null) { + } else if (this.o.isPending() && this.r == null) { i("Connection backoff reset Immediate heartbeat when socket was disconnected."); this.o.succeed(); l(false, 4802, "Reset backoff."); @@ -702,7 +700,7 @@ public final class a extends WebSocketListener implements DebugPrintable { Long l2 = this.u; if (l2 != null) { b bVar = new b(this); - this.f226w = bVar; + this.w = bVar; this.n.schedule(bVar, l2.longValue()); return; } @@ -710,8 +708,8 @@ public final class a extends WebSocketListener implements DebugPrintable { return; } b(d.i); - String L = c.d.b.a.a.L(new Object[]{Double.valueOf(((double) this.o.fail(new e(this))) / 1000.0d)}, 1, "%.2f", "java.lang.String.format(this, *args)"); - j("[ACK TIMEOUT] reconnecting in " + L + " seconds."); + String M = c.d.b.a.a.M(new Object[]{Double.valueOf(((double) this.o.fail(new e(this))) / 1000.0d)}, 1, "%.2f", "java.lang.String.format(this, *args)"); + j("[ACK TIMEOUT] reconnecting in " + M + " seconds."); } public final void l(boolean z2, Integer num, String str) { @@ -733,11 +731,11 @@ public final class a extends WebSocketListener implements DebugPrintable { } public final void n(int i2, Object obj) { - WebSocket webSocket = this.f225r; + WebSocket webSocket = this.r; if (webSocket == null) { - StringBuilder O = c.d.b.a.a.O("opcode() websocket null. opcode: "); - O.append(Opcodes.INSTANCE.getNameOf(i2)); - this.F.e(this.l, O.toString(), null, null); + StringBuilder R = c.d.b.a.a.R("opcode() websocket null. opcode: "); + R.append(Opcodes.INSTANCE.getNameOf(i2)); + this.F.e(this.l, R.toString(), null, null); return; } try { @@ -762,7 +760,7 @@ public final class a extends WebSocketListener implements DebugPrintable { public void onClosing(WebSocket webSocket, int i2, String str) { m.checkNotNullParameter(webSocket, "webSocket"); m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_REASON); - ((e0.e0.n.d) webSocket).e(i2, str); + ((f0.e0.n.d) webSocket).e(i2, str); } @Override // okhttp3.WebSocketListener @@ -777,13 +775,13 @@ public final class a extends WebSocketListener implements DebugPrintable { public void onMessage(WebSocket webSocket, String str) { m.checkNotNullParameter(webSocket, "webSocket"); m.checkNotNullParameter(str, NotificationCompat.MessagingStyle.Message.KEY_TEXT); - Payloads.Incoming incoming = (Payloads.Incoming) c.i.a.f.e.o.c.r0(Payloads.Incoming.class).cast(this.m.g(str, Payloads.Incoming.class)); + Payloads.Incoming incoming = (Payloads.Incoming) c.i.a.f.e.o.f.m1(Payloads.Incoming.class).cast(this.m.g(str, Payloads.Incoming.class)); super.onMessage(webSocket, str); - StringBuilder O = c.d.b.a.a.O("received ("); - O.append(Opcodes.INSTANCE.getNameOf(incoming.getOpcode())); - O.append("): "); - O.append(incoming); - h(O.toString()); + StringBuilder R = c.d.b.a.a.R("received ("); + R.append(Opcodes.INSTANCE.getNameOf(incoming.getOpcode())); + R.append("): "); + R.append(incoming); + h(R.toString()); m(new j(this, webSocket, incoming)); } diff --git a/app/src/main/java/c/a/q/n0/b.java b/app/src/main/java/c/a/q/n0/b.java index a8f3136f7a..35a7503d9f 100644 --- a/app/src/main/java/c/a/q/n0/b.java +++ b/app/src/main/java/c/a/q/n0/b.java @@ -1,6 +1,6 @@ package c.a.q.n0; -import c0.z.d.o; +import d0.z.d.o; import java.util.TimerTask; import kotlin.Unit; import kotlin.jvm.functions.Function0; @@ -21,7 +21,7 @@ public final class b extends TimerTask { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { a aVar = this.this$0.i; int i = a.i; aVar.k(); diff --git a/app/src/main/java/c/a/q/n0/c.java b/app/src/main/java/c/a/q/n0/c.java index 4fa048ef8a..da6519da1b 100644 --- a/app/src/main/java/c/a/q/n0/c.java +++ b/app/src/main/java/c/a/q/n0/c.java @@ -1,6 +1,6 @@ package c.a.q.n0; -import c0.z.d.o; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: RtcControlSocket.kt */ @@ -22,7 +22,7 @@ public final class c extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { a aVar = this.this$0; boolean z2 = this.$wasFatal; Integer num = this.$code; diff --git a/app/src/main/java/c/a/q/n0/d.java b/app/src/main/java/c/a/q/n0/d.java index 8a4409aff8..9c7bbb9def 100644 --- a/app/src/main/java/c/a/q/n0/d.java +++ b/app/src/main/java/c/a/q/n0/d.java @@ -1,7 +1,7 @@ package c.a.q.n0; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; import okhttp3.WebSocket; diff --git a/app/src/main/java/c/a/q/n0/e.java b/app/src/main/java/c/a/q/n0/e.java index d6e88087e1..aee6bbf096 100644 --- a/app/src/main/java/c/a/q/n0/e.java +++ b/app/src/main/java/c/a/q/n0/e.java @@ -1,6 +1,6 @@ package c.a.q.n0; -import c0.z.d.o; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: RtcControlSocket.kt */ @@ -16,7 +16,7 @@ public final class e extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { a aVar = this.this$0; int i = a.i; aVar.l(true, 4800, "Heartbeat timeout."); diff --git a/app/src/main/java/c/a/q/n0/f.java b/app/src/main/java/c/a/q/n0/f.java index 9bfab52800..1f39e5edd1 100644 --- a/app/src/main/java/c/a/q/n0/f.java +++ b/app/src/main/java/c/a/q/n0/f.java @@ -1,6 +1,6 @@ package c.a.q.n0; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function0; /* compiled from: RtcControlSocket.kt */ public final class f implements Runnable { @@ -12,6 +12,6 @@ public final class f implements Runnable { @Override // java.lang.Runnable public final /* synthetic */ void run() { - m.checkNotNullExpressionValue(this.i.mo17invoke(), "invoke(...)"); + m.checkNotNullExpressionValue(this.i.mo1invoke(), "invoke(...)"); } } diff --git a/app/src/main/java/c/a/q/o.java b/app/src/main/java/c/a/q/o.java index bf223345c8..9fe09caee5 100644 --- a/app/src/main/java/c/a/q/o.java +++ b/app/src/main/java/c/a/q/o.java @@ -1,12 +1,12 @@ package c.a.q; import c.a.q.n0.a; -import c0.z.d.m; import com.discord.rtcconnection.RtcConnection; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: RtcConnection.kt */ -public final class o extends c0.z.d.o implements Function0 { +public final class o extends d0.z.d.o implements Function0 { public final /* synthetic */ Boolean $isConnected; public final /* synthetic */ p this$0; @@ -20,7 +20,7 @@ public final class o extends c0.z.d.o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { RtcConnection rtcConnection = this.this$0.i; Boolean bool = this.$isConnected; m.checkNotNullExpressionValue(bool, "isConnected"); diff --git a/app/src/main/java/c/a/q/o0/a.java b/app/src/main/java/c/a/q/o0/a.java index 59f31af98f..011d03ac06 100644 --- a/app/src/main/java/c/a/q/o0/a.java +++ b/app/src/main/java/c/a/q/o0/a.java @@ -1,8 +1,6 @@ package c.a.q.o0; import c.a.q.o0.e; -import c0.z.d.k; -import c0.z.d.m; import co.discord.media_engine.InboundRtpVideo; import co.discord.media_engine.OutboundRtpAudio; import co.discord.media_engine.OutboundRtpVideo; @@ -12,7 +10,9 @@ import co.discord.media_engine.Transport; import com.discord.rtcconnection.KrispOveruseDetector; import com.discord.rtcconnection.mediaengine.MediaEngineConnection; import com.discord.utilities.logging.Logger; -import e0.e0.c; +import d0.z.d.k; +import d0.z.d.m; +import f0.e0.c; import java.util.Map; import java.util.Objects; import kotlin.Pair; @@ -46,7 +46,7 @@ public final /* synthetic */ class a extends k implements Function1 Transport transport = stats2.getTransport(); eVar.g(null, Integer.valueOf((transport == null || (receiverReports = transport.getReceiverReports()) == null) ? 0 : receiverReports.length), currentTimeMillis); if (!eVar.k.a() && (outboundRtpVideo = stats2.getOutboundRtpVideo()) != null) { - eVar.a(eVar.l, new e.g((long) outboundRtpVideo.getResolution().getHeight(), currentTimeMillis, new e.a(outboundRtpVideo.getFramesEncoded(), outboundRtpVideo.getFramesSent(), outboundRtpVideo.getPacketsSent(), (long) outboundRtpVideo.getPacketsLost(), 0, outboundRtpVideo.getBytesSent(), outboundRtpVideo.getNackCount(), outboundRtpVideo.getPliCount(), outboundRtpVideo.getQpSum()))); + eVar.a(eVar.l, new e.g((long) outboundRtpVideo.getResolution().getHeight(), currentTimeMillis, new e.a(outboundRtpVideo.getFramesEncoded(), outboundRtpVideo.getFramesSent(), outboundRtpVideo.getPacketsSent(), (long) outboundRtpVideo.getPacketsLost(), 0, outboundRtpVideo.getBytesSent(), outboundRtpVideo.getNackCount(), outboundRtpVideo.getPliCount(), outboundRtpVideo.getQpSum(), 0, 0, 0, 0, 0))); if (eVar.l.d == null && outboundRtpVideo.getFramesEncoded() > 0) { eVar.l.d = Long.valueOf(currentTimeMillis - eVar.g); Logger.i$default(eVar.p, "VideoQuality: outboundStats.timeToFirstFrame: " + eVar.l.d, null, 2, null); @@ -57,13 +57,13 @@ public final /* synthetic */ class a extends k implements Function1 for (Map.Entry entry : stats2.getInboundRtpVideo().entrySet()) { String key = entry.getKey(); InboundRtpVideo value = entry.getValue(); - Map map = eVar.m; - e.C0043e eVar2 = map.get(key); + Map map = eVar.m; + e.C0042e eVar2 = map.get(key); if (eVar2 == null) { - eVar2 = new e.C0043e(); + eVar2 = new e.C0042e(); map.put(key, eVar2); } - e.C0043e eVar3 = eVar2; + e.C0042e eVar3 = eVar2; eVar.a(eVar3, eVar.f(value, currentTimeMillis)); if (eVar3.d == null && value.getFramesDecoded() > 0) { byte[] bArr = c.a; @@ -98,13 +98,13 @@ public final /* synthetic */ class a extends k implements Function1 if (booleanValue) { krispOveruseDetector.d.f(KrispOveruseDetector.Status.CPU_OVERUSE); } else if (longValue == 0) { - int i = krispOveruseDetector.f2569c + 1; - krispOveruseDetector.f2569c = i; + int i = krispOveruseDetector.f2187c + 1; + krispOveruseDetector.f2187c = i; if (i > 2) { krispOveruseDetector.d.f(KrispOveruseDetector.Status.FAILED); } } else { - krispOveruseDetector.f2569c = 0; + krispOveruseDetector.f2187c = 0; } } krispOveruseDetector.b = stats2.getOutboundRtpAudio(); diff --git a/app/src/main/java/c/a/q/o0/d.java b/app/src/main/java/c/a/q/o0/d.java index ff55164951..3b3712b0dc 100644 --- a/app/src/main/java/c/a/q/o0/d.java +++ b/app/src/main/java/c/a/q/o0/d.java @@ -1,11 +1,11 @@ package c.a.q.o0; -import c0.z.d.m; import co.discord.media_engine.Stats; import co.discord.media_engine.VoiceQuality; import com.discord.rtcconnection.KrispOveruseDetector; import com.discord.rtcconnection.mediaengine.MediaEngineConnection; import com.discord.utilities.logging.Logger; +import d0.z.d.m; import java.util.Deque; import java.util.LinkedList; import rx.Subscription; @@ -15,7 +15,7 @@ public final class d { public Subscription b; /* renamed from: c reason: collision with root package name */ - public final long f230c; + public final long f225c; public final Logger d; public final MediaEngineConnection e; public final VoiceQuality f; @@ -30,7 +30,7 @@ public final class d { m.checkNotNullParameter(voiceQuality, "voiceQuality"); m.checkNotNullParameter(eVar, "videoQuality"); m.checkNotNullParameter(krispOveruseDetector, "krispOveruseDetector"); - this.f230c = j; + this.f225c = j; this.d = logger; this.e = mediaEngineConnection; this.f = voiceQuality; diff --git a/app/src/main/java/c/a/q/o0/e.java b/app/src/main/java/c/a/q/o0/e.java index 664aa5c7c5..0a49c0f443 100644 --- a/app/src/main/java/c/a/q/o0/e.java +++ b/app/src/main/java/c/a/q/o0/e.java @@ -1,12 +1,6 @@ package c.a.q.o0; import androidx.annotation.AnyThread; -import androidx.core.app.FrameMetricsAggregator; -import c0.t.h0; -import c0.t.n; -import c0.t.r; -import c0.z.d.m; -import c0.z.d.o; import co.discord.media_engine.InboundRtpVideo; import com.discord.utilities.collections.Histogram; import com.discord.utilities.collections.ListenerCollection; @@ -15,6 +9,11 @@ import com.discord.utilities.logging.Logger; import com.discord.utilities.system.DeviceResourceUsageMonitor; import com.discord.utilities.time.Clock; import com.discord.utilities.time.TimeSpan; +import d0.t.h0; +import d0.t.n; +import d0.t.r; +import d0.z.d.m; +import d0.z.d.o; import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedHashMap; @@ -31,7 +30,7 @@ public final class e { public static final List b = n.listOf((Object[]) new Integer[]{0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60}); /* renamed from: c reason: collision with root package name */ - public static final List f231c = n.listOf((Object[]) new Integer[]{720, 480, 360}); + public static final List f226c = n.listOf((Object[]) new Integer[]{720, 480, 360}); public static final b d = new b(null); public final ListenerCollectionSubject e; public final ListenerCollection f; @@ -41,7 +40,7 @@ public final class e { public final d j; public final d k; public final f l = new f(); - public final Map m = new LinkedHashMap(); + public final Map m = new LinkedHashMap(); public final Map n = new LinkedHashMap(); public final DeviceResourceUsageMonitor o; public final Logger p; @@ -53,33 +52,43 @@ public final class e { public long b; /* renamed from: c reason: collision with root package name */ - public long f232c; + public long f227c; public long d; public long e; public long f; public long g; public long h; public long i; + public long j; + public long k; + public long l; + public long m; + public long n; public a() { - this(0, 0, 0, 0, 0, 0, 0, 0, 0, FrameMetricsAggregator.EVERY_DURATION); + this(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16383); } - public a(long j, long j2, long j3, long j4, long j5, long j6, long j7, long j8, long j9) { + public a(long j, long j2, long j3, long j4, long j5, long j6, long j7, long j8, long j9, long j10, long j11, long j12, long j13, long j14) { this.a = j; this.b = j2; - this.f232c = j3; + this.f227c = j3; this.d = j4; this.e = j5; this.f = j6; this.g = j7; this.h = j8; this.i = j9; + this.j = j10; + this.k = j11; + this.l = j12; + this.m = j13; + this.n = j14; } /* JADX INFO: this call moved to the top of the method (can break code semantics) */ - public /* synthetic */ a(long j, long j2, long j3, long j4, long j5, long j6, long j7, long j8, long j9, int i) { - this((i & 1) != 0 ? 0 : j, (i & 2) != 0 ? 0 : j2, (i & 4) != 0 ? 0 : j3, (i & 8) != 0 ? 0 : j4, (i & 16) != 0 ? 0 : j5, (i & 32) != 0 ? 0 : j6, (i & 64) != 0 ? 0 : j7, (i & 128) != 0 ? 0 : j8, (i & 256) == 0 ? j9 : 0); + public /* synthetic */ a(long j, long j2, long j3, long j4, long j5, long j6, long j7, long j8, long j9, long j10, long j11, long j12, long j13, long j14, int i) { + this((i & 1) != 0 ? 0 : j, (i & 2) != 0 ? 0 : j2, (i & 4) != 0 ? 0 : j3, (i & 8) != 0 ? 0 : j4, (i & 16) != 0 ? 0 : j5, (i & 32) != 0 ? 0 : j6, (i & 64) != 0 ? 0 : j7, (i & 128) != 0 ? 0 : j8, (i & 256) != 0 ? 0 : j9, (i & 512) != 0 ? 0 : j10, (i & 1024) != 0 ? 0 : j11, (i & 2048) != 0 ? 0 : j12, (i & 4096) != 0 ? 0 : j13, (i & 8192) == 0 ? j14 : 0); } public boolean equals(Object obj) { @@ -90,39 +99,54 @@ public final class e { return false; } a aVar = (a) obj; - return this.a == aVar.a && this.b == aVar.b && this.f232c == aVar.f232c && this.d == aVar.d && this.e == aVar.e && this.f == aVar.f && this.g == aVar.g && this.h == aVar.h && this.i == aVar.i; + return this.a == aVar.a && this.b == aVar.b && this.f227c == aVar.f227c && this.d == aVar.d && this.e == aVar.e && this.f == aVar.f && this.g == aVar.g && this.h == aVar.h && this.i == aVar.i && this.j == aVar.j && this.k == aVar.k && this.l == aVar.l && this.m == aVar.m && this.n == aVar.n; } public int hashCode() { - int a = z.a.a.b.a(this.b); - int a2 = z.a.a.b.a(this.f232c); - int a3 = z.a.a.b.a(this.d); - int a4 = z.a.a.b.a(this.e); - int a5 = z.a.a.b.a(this.f); - int a6 = z.a.a.b.a(this.g); - int a7 = z.a.a.b.a(this.h); - return z.a.a.b.a(this.i) + ((a7 + ((a6 + ((a5 + ((a4 + ((a3 + ((a2 + ((a + (z.a.a.b.a(this.a) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31); + int a = a0.a.a.b.a(this.b); + int a2 = a0.a.a.b.a(this.f227c); + int a3 = a0.a.a.b.a(this.d); + int a4 = a0.a.a.b.a(this.e); + int a5 = a0.a.a.b.a(this.f); + int a6 = a0.a.a.b.a(this.g); + int a7 = a0.a.a.b.a(this.h); + int a8 = a0.a.a.b.a(this.i); + int a9 = a0.a.a.b.a(this.j); + int a10 = a0.a.a.b.a(this.k); + int a11 = a0.a.a.b.a(this.l); + int a12 = a0.a.a.b.a(this.m); + return a0.a.a.b.a(this.n) + ((a12 + ((a11 + ((a10 + ((a9 + ((a8 + ((a7 + ((a6 + ((a5 + ((a4 + ((a3 + ((a2 + ((a + (a0.a.a.b.a(this.a) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31); } public String toString() { - StringBuilder O = c.d.b.a.a.O("AggregatedProperties(framesCodec="); - O.append(this.a); - O.append(", framesNetwork="); - O.append(this.b); - O.append(", packets="); - O.append(this.f232c); - O.append(", packetsLost="); - O.append(this.d); - O.append(", framesDropped="); - O.append(this.e); - O.append(", bytes="); - O.append(this.f); - O.append(", nackCount="); - O.append(this.g); - O.append(", pliCount="); - O.append(this.h); - O.append(", qpSum="); - return c.d.b.a.a.A(O, this.i, ")"); + StringBuilder R = c.d.b.a.a.R("AggregatedProperties(framesCodec="); + R.append(this.a); + R.append(", framesNetwork="); + R.append(this.b); + R.append(", packets="); + R.append(this.f227c); + R.append(", packetsLost="); + R.append(this.d); + R.append(", framesDropped="); + R.append(this.e); + R.append(", bytes="); + R.append(this.f); + R.append(", nackCount="); + R.append(this.g); + R.append(", pliCount="); + R.append(this.h); + R.append(", qpSum="); + R.append(this.i); + R.append(", freezeCount="); + R.append(this.j); + R.append(", pauseCount="); + R.append(this.k); + R.append(", totalFreezesDuration="); + R.append(this.l); + R.append(", totalPausesDuration="); + R.append(this.m); + R.append(", totalFramesDuration="); + return c.d.b.a.a.B(R, this.n, ")"); } } @@ -133,7 +157,7 @@ public final class e { public static final long a(b bVar, Float f) { if (f != null) { - return c0.a0.a.roundToLong(f.floatValue()); + return d0.a0.a.roundToLong(f.floatValue()); } return 0; } @@ -182,35 +206,35 @@ public final class e { /* compiled from: VideoQuality.kt */ /* renamed from: c.a.q.o0.e$e reason: collision with other inner class name */ - public static class C0043e { + public static class C0042e { public List a = new ArrayList(); public final Histogram b = new Histogram(5, 0, 2, null); /* renamed from: c reason: collision with root package name */ - public final Histogram f233c = new Histogram(25600, 0, 2, null); + public final Histogram f228c = new Histogram(25600, 0, 2, null); public Long d; - public a e = new a(0, 0, 0, 0, 0, 0, 0, 0, 0, FrameMetricsAggregator.EVERY_DURATION); + public a e = new a(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16383); public long f; public Map g = new LinkedHashMap(); public Map h = new LinkedHashMap(); public float i; public Map j = new LinkedHashMap(); - public C0043e() { + public C0042e() { for (Number number : e.a) { this.g.put(Integer.valueOf(number.intValue()), Float.valueOf(0.0f)); } for (Number number2 : e.b) { this.h.put(Integer.valueOf(number2.intValue()), Float.valueOf(0.0f)); } - for (Number number3 : e.f231c) { + for (Number number3 : e.f226c) { this.j.put(Integer.valueOf(number3.intValue()), Float.valueOf(0.0f)); } } } /* compiled from: VideoQuality.kt */ - public static final class f extends C0043e { + public static final class f extends C0042e { public int k = 2500000; public int l = 30; public long m; @@ -224,17 +248,17 @@ public final class e { public final long b; /* renamed from: c reason: collision with root package name */ - public final a f234c; + public final a f229c; public g() { - this(0, 0, new a(0, 0, 0, 0, 0, 0, 0, 0, 0, FrameMetricsAggregator.EVERY_DURATION)); + this(0, 0, new a(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16383)); } public g(long j, long j2, a aVar) { m.checkNotNullParameter(aVar, "aggregatedProperties"); this.a = j; this.b = j2; - this.f234c = aVar; + this.f229c = aVar; } public boolean equals(Object obj) { @@ -245,24 +269,24 @@ public final class e { return false; } g gVar = (g) obj; - return this.a == gVar.a && this.b == gVar.b && m.areEqual(this.f234c, gVar.f234c); + return this.a == gVar.a && this.b == gVar.b && m.areEqual(this.f229c, gVar.f229c); } public int hashCode() { - int a = (z.a.a.b.a(this.b) + (z.a.a.b.a(this.a) * 31)) * 31; - a aVar = this.f234c; + int a = (a0.a.a.b.a(this.b) + (a0.a.a.b.a(this.a) * 31)) * 31; + a aVar = this.f229c; return a + (aVar != null ? aVar.hashCode() : 0); } public String toString() { - StringBuilder O = c.d.b.a.a.O("RawVideoStats(resolution="); - O.append(this.a); - O.append(", timestamp="); - O.append(this.b); - O.append(", aggregatedProperties="); - O.append(this.f234c); - O.append(")"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("RawVideoStats(resolution="); + R.append(this.a); + R.append(", timestamp="); + R.append(this.b); + R.append(", aggregatedProperties="); + R.append(this.f229c); + R.append(")"); + return R.toString(); } } @@ -285,13 +309,13 @@ public final class e { e eVar = this.this$0; List list = e.a; synchronized (eVar) { - for (Map.Entry entry : eVar.m.entrySet()) { - C0043e value = entry.getValue(); + for (Map.Entry entry : eVar.m.entrySet()) { + C0042e value = entry.getValue(); value.b.addSample((long) resourceUsage2.getCpuUsagePercent()); - value.f233c.addSample(resourceUsage2.getMemoryRssBytes()); + value.f228c.addSample(resourceUsage2.getMemoryRssBytes()); } eVar.l.b.addSample((long) resourceUsage2.getCpuUsagePercent()); - eVar.l.f233c.addSample(resourceUsage2.getMemoryRssBytes()); + eVar.l.f228c.addSample(resourceUsage2.getMemoryRssBytes()); } return Unit.a; } @@ -315,7 +339,7 @@ public final class e { deviceResourceUsageMonitor.start(); } - public final void a(C0043e eVar, g gVar) { + public final void a(C0042e eVar, g gVar) { eVar.a.add(gVar); if (eVar.a.size() >= 2) { List list = eVar.a; @@ -325,18 +349,23 @@ public final class e { f fVar = f.i; eVar.f = (gVar2.b - gVar3.b) + eVar.f; a aVar = eVar.e; - a aVar2 = gVar2.f234c; - a aVar3 = gVar3.f234c; + a aVar2 = gVar2.f229c; + a aVar3 = gVar3.f229c; aVar.a = fVar.a(aVar2.a, aVar3.a) + aVar.a; aVar.b = fVar.a(aVar2.b, aVar3.b) + aVar.b; - aVar.f232c = fVar.a(aVar2.f232c, aVar3.f232c) + aVar.f232c; + aVar.f227c = fVar.a(aVar2.f227c, aVar3.f227c) + aVar.f227c; aVar.d = fVar.a(aVar2.d, aVar3.d) + aVar.d; aVar.e = fVar.a(aVar2.e, aVar3.e) + aVar.e; aVar.f = fVar.a(aVar2.f, aVar3.f) + aVar.f; aVar.g = fVar.a(aVar2.g, aVar3.g) + aVar.g; aVar.h = fVar.a(aVar2.h, aVar3.h) + aVar.h; aVar.i = fVar.a(aVar2.i, aVar3.i) + aVar.i; - a aVar4 = gVar2.f234c; + aVar.j = fVar.a(aVar2.j, aVar3.j) + aVar.j; + aVar.k = fVar.a(aVar2.j, aVar3.j) + aVar.k; + aVar.l = fVar.a(aVar2.l, aVar3.l) + aVar.l; + aVar.m = fVar.a(aVar2.m, aVar3.m) + aVar.m; + aVar.n = fVar.a(aVar2.n, aVar3.n) + aVar.n; + a aVar4 = gVar2.f229c; long j = aVar4.f; long j2 = aVar4.a; long j3 = gVar2.b; @@ -346,11 +375,11 @@ public final class e { if (eVar.a.size() >= 6) { List list3 = eVar.a; g gVar4 = list3.get(list3.size() - 3); - a aVar5 = gVar4.f234c; + a aVar5 = gVar4.f229c; long j5 = aVar5.f; long j6 = aVar5.a; long j7 = gVar4.b; - Iterator it = f231c.iterator(); + Iterator it = f226c.iterator(); while (true) { float f3 = 0.0f; if (!it.hasNext()) { @@ -405,16 +434,16 @@ public final class e { long j2 = fVar.m; Float valueOf = Float.valueOf(((float) fVar.l) * f2); long j3 = 0; - fVar.m = j2 + (valueOf != null ? c0.a0.a.roundToLong(valueOf.floatValue()) : 0); + fVar.m = j2 + (valueOf != null ? d0.a0.a.roundToLong(valueOf.floatValue()) : 0); f fVar2 = this.l; long j4 = fVar2.n; Float valueOf2 = Float.valueOf((((float) i) / 8.0f) * f2); - fVar2.n = j4 + (valueOf2 != null ? c0.a0.a.roundToLong(valueOf2.floatValue()) : 0); + fVar2.n = j4 + (valueOf2 != null ? d0.a0.a.roundToLong(valueOf2.floatValue()) : 0); f fVar3 = this.l; long j5 = fVar3.o; Float valueOf3 = Float.valueOf((((float) fVar3.k) / 8.0f) * f2); if (valueOf3 != null) { - j3 = c0.a0.a.roundToLong(valueOf3.floatValue()); + j3 = d0.a0.a.roundToLong(valueOf3.floatValue()); } fVar3.o = j5 + j3; } @@ -422,7 +451,7 @@ public final class e { @AnyThread public final synchronized Map c(String str) { - C0043e eVar; + C0042e eVar; m.checkNotNullParameter(str, "userId"); eVar = this.m.get(str); return eVar != null ? e(eVar) : null; @@ -439,51 +468,56 @@ public final class e { fVar = this.l; f2 = ((float) fVar.f) / 1000.0f; i = (f2 > ((float) 0) ? 1 : (f2 == ((float) 0) ? 0 : -1)); - return h0.plus(e(this.l), h0.mapOf(c0.o.to("target_bitrate_max", Long.valueOf((i <= 0 || (valueOf3 = Float.valueOf(((float) (fVar.o * ((long) 8))) / f2)) == null) ? 0 : c0.a0.a.roundToLong(valueOf3.floatValue()))), c0.o.to("target_bitrate_network", Long.valueOf((i <= 0 || (valueOf2 = Float.valueOf(((float) (this.l.n * ((long) 8))) / f2)) == null) ? 0 : c0.a0.a.roundToLong(valueOf2.floatValue()))), c0.o.to("target_fps", Long.valueOf((i <= 0 || (valueOf = Float.valueOf(((float) this.l.m) / f2)) == null) ? 0 : c0.a0.a.roundToLong(valueOf.floatValue()))), c0.o.to("duration_encoder_nvidia_cuda", 0L), c0.o.to("duration_encoder_nvidia_direct3d", 0L), c0.o.to("duration_encoder_openh264", 0L), c0.o.to("duration_encoder_videotoolbox", 0L), c0.o.to("duration_encoder_amd_direct3d", 0L), c0.o.to("duration_encoder_intel", 0L), c0.o.to("duration_encoder_intel_direct3d", 0L), c0.o.to("duration_encoder_unknown", 0L))); + return h0.plus(e(this.l), h0.mapOf(d0.o.to("target_bitrate_max", Long.valueOf((i <= 0 || (valueOf3 = Float.valueOf(((float) (fVar.o * ((long) 8))) / f2)) == null) ? 0 : d0.a0.a.roundToLong(valueOf3.floatValue()))), d0.o.to("target_bitrate_network", Long.valueOf((i <= 0 || (valueOf2 = Float.valueOf(((float) (this.l.n * ((long) 8))) / f2)) == null) ? 0 : d0.a0.a.roundToLong(valueOf2.floatValue()))), d0.o.to("target_fps", Long.valueOf((i <= 0 || (valueOf = Float.valueOf(((float) this.l.m) / f2)) == null) ? 0 : d0.a0.a.roundToLong(valueOf.floatValue()))), d0.o.to("duration_encoder_nvidia_cuda", 0L), d0.o.to("duration_encoder_nvidia_direct3d", 0L), d0.o.to("duration_encoder_openh264", 0L), d0.o.to("duration_encoder_videotoolbox", 0L), d0.o.to("duration_encoder_amd_direct3d", 0L), d0.o.to("duration_encoder_intel", 0L), d0.o.to("duration_encoder_intel_direct3d", 0L), d0.o.to("duration_encoder_unknown", 0L))); } - /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x04e0: APUT + /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x04e4: APUT (r6v4 kotlin.Pair[]) (6 ??[int, float, short, byte, char]) - (wrap: kotlin.Pair : 0x04db: INVOKE (r1v3 kotlin.Pair) = + (wrap: kotlin.Pair : 0x04df: INVOKE (r1v3 kotlin.Pair) = ("time_to_first_frame_ms") - (wrap: java.lang.Long : 0x04d4: INVOKE (r1v2 java.lang.Long) = (r4v22 long) type: STATIC call: java.lang.Long.valueOf(long):java.lang.Long) - type: STATIC call: c0.o.to(java.lang.Object, java.lang.Object):kotlin.Pair) + (wrap: java.lang.Long : 0x04d8: INVOKE (r1v2 java.lang.Long) = (r4v22 long) type: STATIC call: java.lang.Long.valueOf(long):java.lang.Long) + type: STATIC call: d0.o.to(java.lang.Object, java.lang.Object):kotlin.Pair) */ - public final Map e(C0043e eVar) { + public final Map e(C0042e eVar) { Float valueOf; long currentTimeMillis = this.q.currentTimeMillis(); Long l = this.h; float longValue = ((float) (l != null ? l.longValue() - this.g : currentTimeMillis - this.g)) / 1000.0f; float f2 = ((float) eVar.f) / 1000.0f; int i = (f2 > ((float) 0) ? 1 : (f2 == ((float) 0) ? 0 : -1)); - long roundToLong = (i <= 0 || (valueOf = Float.valueOf(eVar.i / f2)) == null) ? 0 : c0.a0.a.roundToLong(valueOf.floatValue()); + long roundToLong = (i <= 0 || (valueOf = Float.valueOf(eVar.i / f2)) == null) ? 0 : d0.a0.a.roundToLong(valueOf.floatValue()); Histogram.Report report = eVar.b.getReport(); - Histogram.Report report2 = eVar.f233c.getReport(); + Histogram.Report report2 = eVar.f228c.getReport(); b bVar = d; long j = (long) 1024; - Map mapOf = h0.mapOf(c0.o.to("duration", Double.valueOf(Math.floor((double) longValue))), c.d.b.a.a.X(bVar, eVar.g.get(8000000), "duration_stream_under_8mbps"), c.d.b.a.a.X(bVar, eVar.g.get(7000000), "duration_stream_under_7mbps"), c.d.b.a.a.X(bVar, eVar.g.get(6000000), "duration_stream_under_6mbps"), c.d.b.a.a.X(bVar, eVar.g.get(5000000), "duration_stream_under_5mbps"), c.d.b.a.a.X(bVar, eVar.g.get(4000000), "duration_stream_under_4mbps"), c.d.b.a.a.X(bVar, eVar.g.get(3000000), "duration_stream_under_3mbps"), c.d.b.a.a.X(bVar, eVar.g.get(2000000), "duration_stream_under_2mbps"), c.d.b.a.a.X(bVar, eVar.g.get(1500000), "duration_stream_under_1_5mbps"), c.d.b.a.a.X(bVar, eVar.g.get(1000000), "duration_stream_under_1mbps"), c.d.b.a.a.X(bVar, eVar.g.get(500000), "duration_stream_under_0_5mbps"), c.d.b.a.a.X(bVar, eVar.g.get(0), "duration_stream_at_0mbps"), c.d.b.a.a.X(bVar, eVar.h.get(60), "duration_fps_under_60"), c.d.b.a.a.X(bVar, eVar.h.get(55), "duration_fps_under_55"), c.d.b.a.a.X(bVar, eVar.h.get(50), "duration_fps_under_50"), c.d.b.a.a.X(bVar, eVar.h.get(45), "duration_fps_under_45"), c.d.b.a.a.X(bVar, eVar.h.get(40), "duration_fps_under_40"), c.d.b.a.a.X(bVar, eVar.h.get(35), "duration_fps_under_35"), c.d.b.a.a.X(bVar, eVar.h.get(30), "duration_fps_under_30"), c.d.b.a.a.X(bVar, eVar.h.get(25), "duration_fps_under_25"), c.d.b.a.a.X(bVar, eVar.h.get(20), "duration_fps_under_20"), c.d.b.a.a.X(bVar, eVar.h.get(15), "duration_fps_under_15"), c.d.b.a.a.X(bVar, eVar.h.get(10), "duration_fps_under_10"), c.d.b.a.a.X(bVar, eVar.h.get(5), "duration_fps_under_5"), c.d.b.a.a.X(bVar, eVar.h.get(0), "duration_fps_at_0"), c0.o.to("avg_resolution", Long.valueOf(roundToLong)), c.d.b.a.a.X(bVar, eVar.j.get(720), "duration_resolution_under_720"), c.d.b.a.a.X(bVar, eVar.j.get(480), "duration_resolution_under_480"), c.d.b.a.a.X(bVar, eVar.j.get(360), "duration_resolution_under_360"), c0.o.to("num_pauses", 0), c0.o.to("duration_paused", Long.valueOf(b.a(bVar, Float.valueOf(((float) this.i.c(currentTimeMillis)) / 1000.0f)))), c0.o.to("duration_zero_receivers", Long.valueOf(b.a(bVar, Float.valueOf(((float) this.j.c(currentTimeMillis)) / 1000.0f)))), c0.o.to("duration_video_stopped", Long.valueOf(b.a(bVar, Float.valueOf(((float) this.k.c(currentTimeMillis)) / 1000.0f)))), c0.o.to("client_performance_cpu_percentile25", Long.valueOf(report.getPercentile25())), c0.o.to("client_performance_cpu_percentile50", Long.valueOf(report.getPercentile50())), c0.o.to("client_performance_cpu_percentile75", Long.valueOf(report.getPercentile75())), c0.o.to("client_performance_cpu_percentile90", Long.valueOf(report.getPercentile90())), c0.o.to("client_performance_cpu_percentile95", Long.valueOf(report.getPercentile95())), c0.o.to("client_performance_memory_percentile25", Long.valueOf(report2.getPercentile25() / j)), c0.o.to("client_performance_memory_percentile50", Long.valueOf(report2.getPercentile50() / j)), c0.o.to("client_performance_memory_percentile75", Long.valueOf(report2.getPercentile75() / j)), c0.o.to("client_performance_memory_percentile90", Long.valueOf(report2.getPercentile90() / j)), c0.o.to("client_performance_memory_percentile95", Long.valueOf(report2.getPercentile95() / j)), c0.o.to("client_performance_memory_min", Long.valueOf(report2.getMin() / j)), c0.o.to("client_performance_memory_max", Long.valueOf(report2.getMax() / j))); + Map mapOf = h0.mapOf(d0.o.to("duration", Double.valueOf(Math.floor((double) longValue))), c.d.b.a.a.Z(bVar, eVar.g.get(8000000), "duration_stream_under_8mbps"), c.d.b.a.a.Z(bVar, eVar.g.get(7000000), "duration_stream_under_7mbps"), c.d.b.a.a.Z(bVar, eVar.g.get(6000000), "duration_stream_under_6mbps"), c.d.b.a.a.Z(bVar, eVar.g.get(5000000), "duration_stream_under_5mbps"), c.d.b.a.a.Z(bVar, eVar.g.get(4000000), "duration_stream_under_4mbps"), c.d.b.a.a.Z(bVar, eVar.g.get(3000000), "duration_stream_under_3mbps"), c.d.b.a.a.Z(bVar, eVar.g.get(2000000), "duration_stream_under_2mbps"), c.d.b.a.a.Z(bVar, eVar.g.get(1500000), "duration_stream_under_1_5mbps"), c.d.b.a.a.Z(bVar, eVar.g.get(1000000), "duration_stream_under_1mbps"), c.d.b.a.a.Z(bVar, eVar.g.get(500000), "duration_stream_under_0_5mbps"), c.d.b.a.a.Z(bVar, eVar.g.get(0), "duration_stream_at_0mbps"), c.d.b.a.a.Z(bVar, eVar.h.get(60), "duration_fps_under_60"), c.d.b.a.a.Z(bVar, eVar.h.get(55), "duration_fps_under_55"), c.d.b.a.a.Z(bVar, eVar.h.get(50), "duration_fps_under_50"), c.d.b.a.a.Z(bVar, eVar.h.get(45), "duration_fps_under_45"), c.d.b.a.a.Z(bVar, eVar.h.get(40), "duration_fps_under_40"), c.d.b.a.a.Z(bVar, eVar.h.get(35), "duration_fps_under_35"), c.d.b.a.a.Z(bVar, eVar.h.get(30), "duration_fps_under_30"), c.d.b.a.a.Z(bVar, eVar.h.get(25), "duration_fps_under_25"), c.d.b.a.a.Z(bVar, eVar.h.get(20), "duration_fps_under_20"), c.d.b.a.a.Z(bVar, eVar.h.get(15), "duration_fps_under_15"), c.d.b.a.a.Z(bVar, eVar.h.get(10), "duration_fps_under_10"), c.d.b.a.a.Z(bVar, eVar.h.get(5), "duration_fps_under_5"), c.d.b.a.a.Z(bVar, eVar.h.get(0), "duration_fps_at_0"), d0.o.to("avg_resolution", Long.valueOf(roundToLong)), c.d.b.a.a.Z(bVar, eVar.j.get(720), "duration_resolution_under_720"), c.d.b.a.a.Z(bVar, eVar.j.get(480), "duration_resolution_under_480"), c.d.b.a.a.Z(bVar, eVar.j.get(360), "duration_resolution_under_360"), d0.o.to("num_pauses", 0), d0.o.to("duration_paused", Long.valueOf(b.a(bVar, Float.valueOf(((float) this.i.c(currentTimeMillis)) / 1000.0f)))), d0.o.to("duration_zero_receivers", Long.valueOf(b.a(bVar, Float.valueOf(((float) this.j.c(currentTimeMillis)) / 1000.0f)))), d0.o.to("duration_video_stopped", Long.valueOf(b.a(bVar, Float.valueOf(((float) this.k.c(currentTimeMillis)) / 1000.0f)))), d0.o.to("client_performance_cpu_percentile25", Long.valueOf(report.getPercentile25())), d0.o.to("client_performance_cpu_percentile50", Long.valueOf(report.getPercentile50())), d0.o.to("client_performance_cpu_percentile75", Long.valueOf(report.getPercentile75())), d0.o.to("client_performance_cpu_percentile90", Long.valueOf(report.getPercentile90())), d0.o.to("client_performance_cpu_percentile95", Long.valueOf(report.getPercentile95())), d0.o.to("client_performance_memory_percentile25", Long.valueOf(report2.getPercentile25() / j)), d0.o.to("client_performance_memory_percentile50", Long.valueOf(report2.getPercentile50() / j)), d0.o.to("client_performance_memory_percentile75", Long.valueOf(report2.getPercentile75() / j)), d0.o.to("client_performance_memory_percentile90", Long.valueOf(report2.getPercentile90() / j)), d0.o.to("client_performance_memory_percentile95", Long.valueOf(report2.getPercentile95() / j)), d0.o.to("client_performance_memory_min", Long.valueOf(report2.getMin() / j)), d0.o.to("client_performance_memory_max", Long.valueOf(report2.getMax() / j))); a aVar = eVar.e; long a2 = i > 0 ? b.a(bVar, Float.valueOf(((float) (aVar.f * ((long) 8))) / f2)) : 0; long a3 = i > 0 ? b.a(bVar, Float.valueOf(((float) aVar.a) / f2)) : 0; - Pair[] pairArr = new Pair[11]; - pairArr[0] = c0.o.to("avg_bitrate", Long.valueOf(a2)); - pairArr[1] = c0.o.to("avg_fps", Long.valueOf(a3)); - pairArr[2] = c0.o.to("num_bytes", Long.valueOf(aVar.f)); - pairArr[3] = c0.o.to("num_packets_lost", Long.valueOf(aVar.d)); - pairArr[4] = c0.o.to("num_packets", Long.valueOf(aVar.f232c)); - pairArr[5] = c0.o.to("num_frames", Long.valueOf(aVar.b)); + Pair[] pairArr = new Pair[16]; + pairArr[0] = d0.o.to("avg_bitrate", Long.valueOf(a2)); + pairArr[1] = d0.o.to("avg_fps", Long.valueOf(a3)); + pairArr[2] = d0.o.to("num_bytes", Long.valueOf(aVar.f)); + pairArr[3] = d0.o.to("num_packets_lost", Long.valueOf(aVar.d)); + pairArr[4] = d0.o.to("num_packets", Long.valueOf(aVar.f227c)); + pairArr[5] = d0.o.to("num_frames", Long.valueOf(aVar.b)); Long l2 = eVar.d; - pairArr[6] = c0.o.to("time_to_first_frame_ms", Long.valueOf(l2 != null ? l2.longValue() : 0)); - pairArr[7] = c0.o.to("num_frames_dropped", Long.valueOf(aVar.e)); - pairArr[8] = c0.o.to("num_nacks", Long.valueOf(aVar.g)); - pairArr[9] = c0.o.to("num_plis", Long.valueOf(aVar.h)); - pairArr[10] = c0.o.to("qp_sum", Long.valueOf(aVar.i)); + pairArr[6] = d0.o.to("time_to_first_frame_ms", Long.valueOf(l2 != null ? l2.longValue() : 0)); + pairArr[7] = d0.o.to("num_frames_dropped", Long.valueOf(aVar.e)); + pairArr[8] = d0.o.to("num_nacks", Long.valueOf(aVar.g)); + pairArr[9] = d0.o.to("num_plis", Long.valueOf(aVar.h)); + pairArr[10] = d0.o.to("qp_sum", Long.valueOf(aVar.i)); + pairArr[11] = d0.o.to("receiver_freeze_count", Long.valueOf(aVar.j)); + pairArr[12] = d0.o.to("receiver_pause_count", Long.valueOf(aVar.k)); + pairArr[13] = d0.o.to("receiver_total_freezes_duration", Long.valueOf(aVar.l)); + pairArr[14] = d0.o.to("receiver_total_pauses_duration", Long.valueOf(aVar.m)); + pairArr[15] = d0.o.to("receiver_total_frames_duration", Long.valueOf(aVar.n)); return h0.plus(mapOf, h0.mapOf(pairArr)); } public final g f(InboundRtpVideo inboundRtpVideo, long j) { - return new g((long) inboundRtpVideo.getResolution().getHeight(), j, new a((long) inboundRtpVideo.getFramesDecoded(), (long) inboundRtpVideo.getFramesReceived(), (long) inboundRtpVideo.getPacketsReceived(), (long) inboundRtpVideo.getPacketsLost(), (long) inboundRtpVideo.getFramesDropped(), inboundRtpVideo.getBytesReceived(), inboundRtpVideo.getNackCount(), inboundRtpVideo.getPliCount(), inboundRtpVideo.getQpSum())); + return new g((long) inboundRtpVideo.getResolution().getHeight(), j, new a((long) inboundRtpVideo.getFramesDecoded(), (long) inboundRtpVideo.getFramesReceived(), (long) inboundRtpVideo.getPacketsReceived(), (long) inboundRtpVideo.getPacketsLost(), (long) inboundRtpVideo.getFramesDropped(), inboundRtpVideo.getBytesReceived(), inboundRtpVideo.getNackCount(), inboundRtpVideo.getPliCount(), inboundRtpVideo.getQpSum(), inboundRtpVideo.getFreezeCount(), inboundRtpVideo.getPauseCount(), inboundRtpVideo.getTotalFreezesDuration(), inboundRtpVideo.getTotalPausesDuration(), inboundRtpVideo.getTotalFramesDuration())); } public final void g(Boolean bool, Integer num, long j) { diff --git a/app/src/main/java/c/a/q/o0/f.java b/app/src/main/java/c/a/q/o0/f.java index fd0791526a..2ae8e64eeb 100644 --- a/app/src/main/java/c/a/q/o0/f.java +++ b/app/src/main/java/c/a/q/o0/f.java @@ -1,6 +1,6 @@ package c.a.q.o0; -import c0.z.d.o; +import d0.z.d.o; import kotlin.jvm.functions.Function2; /* compiled from: VideoQuality.kt */ public final class f extends o implements Function2 { diff --git a/app/src/main/java/c/a/q/p.java b/app/src/main/java/c/a/q/p.java index fc5456d337..98a423c8f9 100644 --- a/app/src/main/java/c/a/q/p.java +++ b/app/src/main/java/c/a/q/p.java @@ -1,7 +1,7 @@ package c.a.q; -import c0.z.d.m; import com.discord.rtcconnection.RtcConnection; +import d0.z.d.m; import rx.functions.Action1; /* compiled from: RtcConnection.kt */ public final class p implements Action1 { diff --git a/app/src/main/java/c/a/q/q.java b/app/src/main/java/c/a/q/q.java index f02eff88d1..682a52b4cf 100644 --- a/app/src/main/java/c/a/q/q.java +++ b/app/src/main/java/c/a/q/q.java @@ -15,8 +15,8 @@ public final class q implements Action1 { @Override // rx.functions.Action1 public void call(Throwable th) { RtcConnection rtcConnection = this.i; - StringBuilder O = a.O("failed to handle connectivity change in "); - O.append(this.i.k); - RtcConnection.o(rtcConnection, O.toString(), th, null, 4); + StringBuilder R = a.R("failed to handle connectivity change in "); + R.append(this.i.k); + RtcConnection.o(rtcConnection, R.toString(), th, null, 4); } } diff --git a/app/src/main/java/c/a/q/r.java b/app/src/main/java/c/a/q/r.java index 39bde2acb8..944c7007e7 100644 --- a/app/src/main/java/c/a/q/r.java +++ b/app/src/main/java/c/a/q/r.java @@ -1,7 +1,7 @@ package c.a.q; -import c0.z.d.m; import com.discord.rtcconnection.RtcConnection; +import d0.z.d.m; /* compiled from: RtcConnection.kt */ public final class r extends RtcConnection.b { public final /* synthetic */ RtcConnection i; @@ -13,6 +13,6 @@ public final class r extends RtcConnection.b { @Override // com.discord.rtcconnection.RtcConnection.b, com.discord.rtcconnection.RtcConnection.c public void onStateChange(RtcConnection.StateChange stateChange) { m.checkNotNullParameter(stateChange, "stateChange"); - this.i.s.onNext(stateChange); + this.i.f2193s.onNext(stateChange); } } diff --git a/app/src/main/java/c/a/q/s.java b/app/src/main/java/c/a/q/s.java index e1301c0feb..4682be22d7 100644 --- a/app/src/main/java/c/a/q/s.java +++ b/app/src/main/java/c/a/q/s.java @@ -1,11 +1,11 @@ package c.a.q; import c.a.q.n0.a; -import c0.g0.t; -import c0.t.g0; -import c0.z.d.m; -import c0.z.d.o; import com.discord.rtcconnection.RtcConnection; +import d0.g0.t; +import d0.t.g0; +import d0.z.d.m; +import d0.z.d.o; import java.net.URI; import javax.net.ssl.SSLSocketFactory; import kotlin.Unit; @@ -23,7 +23,7 @@ public final class s extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { w wVar = this.this$0.i; RtcConnection rtcConnection = wVar.this$0; String str = wVar.$endpoint; @@ -39,8 +39,8 @@ public final class s extends o implements Function0 { rtcConnection.u(RtcConnection.State.b.a); } else { String replace$default = t.replace$default(str, ".gg", ".media", false, 4, (Object) null); - String v = c.d.b.a.a.v(str3, "://", replace$default); - String replace$default2 = t.replace$default(v, ":80", ":443", false, 4, (Object) null); + String w = c.d.b.a.a.w(str3, "://", replace$default); + String replace$default2 = t.replace$default(w, ":80", ":443", false, 4, (Object) null); a aVar2 = rtcConnection.v; if (aVar2 != null) { aVar2.c(); @@ -52,11 +52,11 @@ public final class s extends o implements Function0 { } else { rtcConnection.r("connecting via endpoint: " + replace$default + " token: " + str2); try { - URI uri = new URI(v); - rtcConnection.f2577x = uri.getHost(); - rtcConnection.f2578y = Integer.valueOf(uri.getPort()); + URI uri = new URI(w); + rtcConnection.f2194x = uri.getHost(); + rtcConnection.f2195y = Integer.valueOf(uri.getPort()); } catch (Exception e) { - rtcConnection.U.e(rtcConnection.k, "Failed to parse RTC endpoint", e, g0.mapOf(c0.o.to("endpoint", replace$default))); + rtcConnection.U.e(rtcConnection.k, "Failed to parse RTC endpoint", e, g0.mapOf(d0.o.to("endpoint", replace$default))); } a aVar3 = new a(replace$default2, str2, sSLSocketFactory, rtcConnection.U, rtcConnection.T.c(), rtcConnection.V, rtcConnection.k); h0 h0Var = rtcConnection.L; diff --git a/app/src/main/java/c/a/q/u.java b/app/src/main/java/c/a/q/u.java index 3347ed4e67..069d67937c 100644 --- a/app/src/main/java/c/a/q/u.java +++ b/app/src/main/java/c/a/q/u.java @@ -1,8 +1,8 @@ package c.a.q; -import c0.z.d.m; -import c0.z.d.o; import com.discord.rtcconnection.RtcConnection; +import d0.z.d.m; +import d0.z.d.o; import java.util.Objects; import kotlin.Unit; import kotlin.jvm.functions.Function0; @@ -21,7 +21,7 @@ public final class u extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { RtcConnection rtcConnection = this.this$0.i.this$0; Throwable th = this.$throwable; m.checkNotNullExpressionValue(th, "throwable"); diff --git a/app/src/main/java/c/a/q/w.java b/app/src/main/java/c/a/q/w.java index 88954208dd..9b6f9e106e 100644 --- a/app/src/main/java/c/a/q/w.java +++ b/app/src/main/java/c/a/q/w.java @@ -1,7 +1,7 @@ package c.a.q; -import c0.z.d.o; import com.discord.rtcconnection.RtcConnection; +import d0.z.d.o; import java.util.concurrent.TimeUnit; import javax.net.ssl.SSLSocketFactory; import kotlin.Unit; @@ -25,7 +25,7 @@ public final class w extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { RtcConnection rtcConnection = this.this$0; rtcConnection.B = Long.valueOf(rtcConnection.V.currentTimeMillis()); RtcConnection rtcConnection2 = this.this$0; diff --git a/app/src/main/java/c/a/q/y.java b/app/src/main/java/c/a/q/y.java index 0f9e549ec8..d92b9c0c2f 100644 --- a/app/src/main/java/c/a/q/y.java +++ b/app/src/main/java/c/a/q/y.java @@ -1,7 +1,7 @@ package c.a.q; -import c0.z.d.o; import com.discord.rtcconnection.RtcConnection; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: RtcConnection.kt */ @@ -19,7 +19,7 @@ public final class y extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { RtcConnection.j(this.this$0, false, "Unable to prepare media engine.", this.$throwable, false, 8); return Unit.a; } diff --git a/app/src/main/java/c/a/q/z.java b/app/src/main/java/c/a/q/z.java index 5c90c2c2d1..278dd86bb5 100644 --- a/app/src/main/java/c/a/q/z.java +++ b/app/src/main/java/c/a/q/z.java @@ -1,8 +1,8 @@ package c.a.q; -import c0.o; import com.discord.rtcconnection.EncodeQuality; import com.discord.rtcconnection.RtcConnection; +import d0.o; import java.util.Map; import kotlin.Pair; import rx.functions.Func2; diff --git a/app/src/main/java/c/a/r/a.java b/app/src/main/java/c/a/r/a.java index 01c7454706..dd4dda1b1f 100644 --- a/app/src/main/java/c/a/r/a.java +++ b/app/src/main/java/c/a/r/a.java @@ -3,14 +3,14 @@ package c.a.r; import android.net.Uri; import androidx.browser.trusted.sharing.ShareTarget; import androidx.core.os.EnvironmentCompat; -import c0.g0.w; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.k; -import c0.z.d.m; import com.discord.samsung.SamsungConnect$SamsungCallbackException; -import e0.x; +import d0.g0.w; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.k; +import d0.z.d.m; +import f0.x; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; @@ -31,7 +31,7 @@ public final class a extends k implements Function2 create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); return new a(this.$url, this.$okHttpClient, continuation); @@ -48,7 +48,7 @@ public final class a extends k implements Function2 create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); return new b(this.$state, this.$samsungAuthCode, this.$url, this.$okHttpClient, continuation); @@ -59,7 +59,7 @@ public final class b extends k implements Function2 extends Node.a { public static final Pattern a = Pattern.compile("^(var|let|const)(\\s+[a-zA-Z_$][a-zA-Z0-9_$]*)"); - public static final C0046a b = new C0046a(null); + public static final C0045a b = new C0045a(null); /* compiled from: JavaScript.kt */ /* renamed from: c.a.t.a.k$a$a reason: collision with other inner class name */ - public static final class C0046a { - public C0046a(DefaultConstructorMarker defaultConstructorMarker) { + public static final class C0045a { + public C0045a(DefaultConstructorMarker defaultConstructorMarker) { } } diff --git a/app/src/main/java/c/a/t/a/l.java b/app/src/main/java/c/a/t/a/l.java index 80be222f5d..cba0d6702f 100644 --- a/app/src/main/java/c/a/t/a/l.java +++ b/app/src/main/java/c/a/t/a/l.java @@ -1,11 +1,11 @@ package c.a.t.a; import c.a.t.a.k; -import c0.z.d.m; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.z.d.m; import java.util.regex.Matcher; import java.util.regex.Pattern; /* compiled from: JavaScript.kt */ @@ -19,7 +19,7 @@ public final class l extends Rule, S> { } @Override // com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser, S> parser, S s) { + public ParseSpec parse(Matcher matcher, Parser, S> parser, S s2) { m.checkNotNullParameter(matcher, "matcher"); m.checkNotNullParameter(parser, "parser"); String group = matcher.group(1); @@ -29,6 +29,6 @@ public final class l extends Rule, S> { m.checkNotNull(group3); k.b bVar = new k.b(group, group2, group3, this.a); m.checkNotNullParameter(bVar, "node"); - return new ParseSpec<>(bVar, s); + return new ParseSpec<>(bVar, s2); } } diff --git a/app/src/main/java/c/a/t/a/m.java b/app/src/main/java/c/a/t/a/m.java index 03f51bf1c6..d088e44334 100644 --- a/app/src/main/java/c/a/t/a/m.java +++ b/app/src/main/java/c/a/t/a/m.java @@ -18,17 +18,17 @@ public final class m extends Rule, S> { } @Override // com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser, S> parser, S s) { - c0.z.d.m.checkNotNullParameter(matcher, "matcher"); - c0.z.d.m.checkNotNullParameter(parser, "parser"); + public ParseSpec parse(Matcher matcher, Parser, S> parser, S s2) { + d0.z.d.m.checkNotNullParameter(matcher, "matcher"); + d0.z.d.m.checkNotNullParameter(parser, "parser"); String group = matcher.group(1); String group2 = matcher.group(2); String group3 = matcher.group(3); - c0.z.d.m.checkNotNull(group); - c0.z.d.m.checkNotNull(group2); - c0.z.d.m.checkNotNull(group3); + d0.z.d.m.checkNotNull(group); + d0.z.d.m.checkNotNull(group2); + d0.z.d.m.checkNotNull(group3); k.c cVar = new k.c(group, group2, group3, this.a); - c0.z.d.m.checkNotNullParameter(cVar, "node"); - return new ParseSpec<>(cVar, s); + d0.z.d.m.checkNotNullParameter(cVar, "node"); + return new ParseSpec<>(cVar, s2); } } diff --git a/app/src/main/java/c/a/t/a/n.java b/app/src/main/java/c/a/t/a/n.java index 81e945fee4..21a7da55fb 100644 --- a/app/src/main/java/c/a/t/a/n.java +++ b/app/src/main/java/c/a/t/a/n.java @@ -1,11 +1,11 @@ package c.a.t.a; import c.a.t.a.o; -import c0.z.d.m; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.z.d.m; import java.util.regex.Matcher; import java.util.regex.Pattern; /* compiled from: Kotlin.kt */ @@ -13,13 +13,13 @@ public final class n extends Rule, S> { public final /* synthetic */ f a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public n(o.a.C0047a aVar, f fVar, Pattern pattern) { + public n(o.a.C0046a aVar, f fVar, Pattern pattern) { super(pattern); this.a = fVar; } @Override // com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser, S> parser, S s) { + public ParseSpec parse(Matcher matcher, Parser, S> parser, S s2) { m.checkNotNullParameter(matcher, "matcher"); m.checkNotNullParameter(parser, "parser"); String group = matcher.group(1); @@ -28,6 +28,6 @@ public final class n extends Rule, S> { m.checkNotNull(group2); o.a aVar = new o.a(group, group2, this.a); m.checkNotNullParameter(aVar, "node"); - return new ParseSpec<>(aVar, s); + return new ParseSpec<>(aVar, s2); } } diff --git a/app/src/main/java/c/a/t/a/o.java b/app/src/main/java/c/a/t/a/o.java index 6aeebdd417..70b15561ef 100644 --- a/app/src/main/java/c/a/t/a/o.java +++ b/app/src/main/java/c/a/t/a/o.java @@ -1,10 +1,10 @@ package c.a.t.a; -import c0.g0.i; -import c0.z.d.m; import com.discord.models.domain.ModelAuditLogEntry; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.node.StyleNode; +import d0.g0.i; +import d0.z.d.m; import java.util.regex.Pattern; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.text.Regex; @@ -14,7 +14,7 @@ public final class o { public static final String[] b = {"true|false|Boolean|String|Char", "Int|UInt|Long|ULong|Float|Double|Byte|UByte|Short|UShort", "Self|Set|Map|MutableMap|List|MutableList|Array|Runnable|Unit", "arrayOf|listOf|mapOf|setOf|let|also|apply|run"}; /* renamed from: c reason: collision with root package name */ - public static final Pattern f242c = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32); + public static final Pattern f237c = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32); public static final Pattern d = Pattern.compile("^@(\\w+)"); public static final Pattern e = Pattern.compile("^\"[\\s\\S]*?(? extends Node.a { public static final Pattern a = Pattern.compile("^(val|var)(\\s+\\w+)", 32); - public static final C0047a b = new C0047a(null); + public static final C0046a b = new C0046a(null); /* compiled from: Kotlin.kt */ /* renamed from: c.a.t.a.o$a$a reason: collision with other inner class name */ - public static final class C0047a { - public C0047a(DefaultConstructorMarker defaultConstructorMarker) { + public static final class C0046a { + public C0046a(DefaultConstructorMarker defaultConstructorMarker) { } } diff --git a/app/src/main/java/c/a/t/a/p.java b/app/src/main/java/c/a/t/a/p.java index 1d470ff03a..0618d234e1 100644 --- a/app/src/main/java/c/a/t/a/p.java +++ b/app/src/main/java/c/a/t/a/p.java @@ -1,11 +1,11 @@ package c.a.t.a; import c.a.t.a.o; -import c0.z.d.m; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.z.d.m; import java.util.regex.Matcher; import java.util.regex.Pattern; /* compiled from: Kotlin.kt */ @@ -19,7 +19,7 @@ public final class p extends Rule, S> { } @Override // com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser, S> parser, S s) { + public ParseSpec parse(Matcher matcher, Parser, S> parser, S s2) { m.checkNotNullParameter(matcher, "matcher"); m.checkNotNullParameter(parser, "parser"); String group = matcher.group(1); @@ -31,6 +31,6 @@ public final class p extends Rule, S> { m.checkNotNull(group4); o.b bVar = new o.b(group, group2, group3, group4, this.a); m.checkNotNullParameter(bVar, "node"); - return new ParseSpec<>(bVar, s); + return new ParseSpec<>(bVar, s2); } } diff --git a/app/src/main/java/c/a/t/a/q.java b/app/src/main/java/c/a/t/a/q.java index c2fa5391ea..67fb2e82fe 100644 --- a/app/src/main/java/c/a/t/a/q.java +++ b/app/src/main/java/c/a/t/a/q.java @@ -1,11 +1,11 @@ package c.a.t.a; import android.text.SpannableStringBuilder; -import c0.o; -import c0.z.d.k; -import c0.z.d.m; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.node.StyleNode; +import d0.o; +import d0.z.d.k; +import d0.z.d.m; import java.util.Iterator; import java.util.Objects; import java.util.regex.Pattern; @@ -17,7 +17,7 @@ public final class q { public static final Pattern b; /* renamed from: c reason: collision with root package name */ - public static final q f243c = new q(); + public static final q f238c = new q(); /* compiled from: Xml.kt */ public static final class a extends Node.a { @@ -25,12 +25,12 @@ public final class q { public final String b; /* renamed from: c reason: collision with root package name */ - public final f f244c; + public final f f239c; /* compiled from: Xml.kt */ /* renamed from: c.a.t.a.q$a$a reason: collision with other inner class name */ - public static final /* synthetic */ class C0048a extends k implements Function1> { - public C0048a(StyleNode.a aVar) { + public static final /* synthetic */ class C0047a extends k implements Function1> { + public C0047a(StyleNode.a aVar) { super(1, aVar, StyleNode.a.class, "get", "get(Ljava/lang/Object;)Ljava/lang/Iterable;", 0); } @@ -48,7 +48,7 @@ public final class q { m.checkNotNullParameter(fVar, "codeStyleProviders"); this.a = str; this.b = str2; - this.f244c = fVar; + this.f239c = fVar; } @Override // com.discord.simpleast.core.node.Node.a, com.discord.simpleast.core.node.Node @@ -65,7 +65,7 @@ public final class q { break; } char charAt = str.charAt(i); - if (c0.g0.a.isWhitespace(charAt) || charAt == '/') { + if (d0.g0.a.isWhitespace(charAt) || charAt == '/') { break; } i++; @@ -84,7 +84,7 @@ public final class q { pair = o.to(this.a, ""); } String str4 = (String) pair.component2(); - C0048a aVar = new C0048a(this.f244c.g); + C0047a aVar = new C0047a(this.f239c.g); int length2 = spannableStringBuilder.length(); spannableStringBuilder.append((CharSequence) ('<' + ((String) pair.component1()))); Iterator it = aVar.invoke(rc).iterator(); @@ -93,7 +93,7 @@ public final class q { } int length3 = spannableStringBuilder.length(); spannableStringBuilder.append((CharSequence) (str4 + '>')); - Iterator it2 = this.f244c.h.get(rc).iterator(); + Iterator it2 = this.f239c.h.get(rc).iterator(); while (it2.hasNext()) { spannableStringBuilder.setSpan(it2.next(), length3, spannableStringBuilder.length() - 1, 33); } @@ -108,10 +108,10 @@ public final class q { } if (!z2) { int length4 = spannableStringBuilder.length(); - StringBuilder O = c.d.b.a.a.O("'); - spannableStringBuilder.append((CharSequence) O.toString()); + StringBuilder R = c.d.b.a.a.R("'); + spannableStringBuilder.append((CharSequence) R.toString()); Iterator it4 = aVar.invoke(rc).iterator(); while (it4.hasNext()) { spannableStringBuilder.setSpan(it4.next(), length4 + 1, spannableStringBuilder.length(), 33); diff --git a/app/src/main/java/c/a/t/a/r.java b/app/src/main/java/c/a/t/a/r.java index e86aa07027..cc9df01477 100644 --- a/app/src/main/java/c/a/t/a/r.java +++ b/app/src/main/java/c/a/t/a/r.java @@ -1,11 +1,11 @@ package c.a.t.a; import c.a.t.a.q; -import c0.z.d.m; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.z.d.m; import java.util.regex.Matcher; import java.util.regex.Pattern; /* compiled from: Xml.kt */ @@ -19,7 +19,7 @@ public final class r extends Rule, S> { } @Override // com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser, S> parser, S s) { + public ParseSpec parse(Matcher matcher, Parser, S> parser, S s2) { m.checkNotNullParameter(matcher, "matcher"); m.checkNotNullParameter(parser, "parser"); String group = matcher.group(1); @@ -30,10 +30,10 @@ public final class r extends Rule, S> { int start = matcher.start(2); int end = matcher.end(2); m.checkNotNullParameter(aVar, "node"); - return new ParseSpec<>(aVar, s, start, end); + return new ParseSpec<>(aVar, s2, start, end); } q.a aVar2 = new q.a(group, group2, this.a); m.checkNotNullParameter(aVar2, "node"); - return new ParseSpec<>(aVar2, s); + return new ParseSpec<>(aVar2, s2); } } diff --git a/app/src/main/java/c/a/t/b/a/a.java b/app/src/main/java/c/a/t/b/a/a.java index f3a903d65d..51618c9bce 100644 --- a/app/src/main/java/c/a/t/b/a/a.java +++ b/app/src/main/java/c/a/t/b/a/a.java @@ -1,8 +1,8 @@ package c.a.t.b.a; import android.text.SpannableStringBuilder; -import c0.z.d.m; import com.discord.simpleast.core.node.Node; +import d0.z.d.m; /* compiled from: TextNode.kt */ public class a extends Node { private final String content; @@ -19,7 +19,7 @@ public class a extends Node { } @Override // com.discord.simpleast.core.node.Node - public void render(SpannableStringBuilder spannableStringBuilder, R r2) { + public void render(SpannableStringBuilder spannableStringBuilder, R r) { m.checkNotNullParameter(spannableStringBuilder, "builder"); spannableStringBuilder.append((CharSequence) this.content); } diff --git a/app/src/main/java/c/a/t/b/b/a.java b/app/src/main/java/c/a/t/b/b/a.java index f46bbf4b35..75e2e1f56d 100644 --- a/app/src/main/java/c/a/t/b/b/a.java +++ b/app/src/main/java/c/a/t/b/b/a.java @@ -2,8 +2,8 @@ package c.a.t.b.b; import android.text.style.CharacterStyle; import android.text.style.StyleSpan; -import c0.t.m; -import c0.z.d.o; +import d0.t.m; +import d0.z.d.o; import java.util.List; import kotlin.jvm.functions.Function0; /* compiled from: SimpleMarkdownRules.kt */ @@ -17,7 +17,7 @@ public final class a extends o implements Function0 mo17invoke() { + public List mo1invoke() { return m.listOf(new StyleSpan(1)); } } diff --git a/app/src/main/java/c/a/t/b/b/b.java b/app/src/main/java/c/a/t/b/b/b.java index d4dced571c..9b95bc9e72 100644 --- a/app/src/main/java/c/a/t/b/b/b.java +++ b/app/src/main/java/c/a/t/b/b/b.java @@ -1,11 +1,11 @@ package c.a.t.b.b; import c.a.t.b.a.a; -import c0.z.d.m; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.z.d.m; import java.util.regex.Matcher; import java.util.regex.Pattern; /* compiled from: SimpleMarkdownRules.kt */ @@ -15,13 +15,13 @@ public final class b extends Rule, S> { } @Override // com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser, S> parser, S s) { + public ParseSpec parse(Matcher matcher, Parser, S> parser, S s2) { m.checkNotNullParameter(matcher, "matcher"); m.checkNotNullParameter(parser, "parser"); String group = matcher.group(1); m.checkNotNull(group); a aVar = new a(group); m.checkNotNullParameter(aVar, "node"); - return new ParseSpec<>(aVar, s); + return new ParseSpec<>(aVar, s2); } } diff --git a/app/src/main/java/c/a/t/b/b/c.java b/app/src/main/java/c/a/t/b/b/c.java index 08a58a4519..7771be82c9 100644 --- a/app/src/main/java/c/a/t/b/b/c.java +++ b/app/src/main/java/c/a/t/b/b/c.java @@ -1,12 +1,12 @@ package c.a.t.b.b; import android.text.style.StyleSpan; -import c0.z.d.m; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.node.StyleNode; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.z.d.m; import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -17,7 +17,7 @@ public final class c extends Rule, S> { } @Override // com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser, S> parser, S s) { + public ParseSpec parse(Matcher matcher, Parser, S> parser, S s2) { int i; int i2; m.checkNotNullParameter(matcher, "matcher"); @@ -31,7 +31,7 @@ public final class c extends Rule, S> { arrayList.add(new StyleSpan(2)); StyleNode styleNode = new StyleNode(arrayList); m.checkNotNullParameter(styleNode, "node"); - return new ParseSpec<>(styleNode, s, i2, i); + return new ParseSpec<>(styleNode, s2, i2, i); } } i2 = matcher.start(1); @@ -40,6 +40,6 @@ public final class c extends Rule, S> { arrayList.add(new StyleSpan(2)); StyleNode styleNode = new StyleNode(arrayList); m.checkNotNullParameter(styleNode, "node"); - return new ParseSpec<>(styleNode, s, i2, i); + return new ParseSpec<>(styleNode, s2, i2, i); } } diff --git a/app/src/main/java/c/a/t/b/b/d.java b/app/src/main/java/c/a/t/b/b/d.java index 51c3b4ab08..f4dcb5f0f4 100644 --- a/app/src/main/java/c/a/t/b/b/d.java +++ b/app/src/main/java/c/a/t/b/b/d.java @@ -1,11 +1,11 @@ package c.a.t.b.b; import c.a.t.b.a.a; -import c0.z.d.m; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.z.d.m; import java.util.regex.Matcher; import java.util.regex.Pattern; /* compiled from: SimpleMarkdownRules.kt */ @@ -15,11 +15,11 @@ public final class d extends Rule.BlockRule, S> { } @Override // com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser, S> parser, S s) { + public ParseSpec parse(Matcher matcher, Parser, S> parser, S s2) { m.checkNotNullParameter(matcher, "matcher"); m.checkNotNullParameter(parser, "parser"); a aVar = new a("\n"); m.checkNotNullParameter(aVar, "node"); - return new ParseSpec<>(aVar, s); + return new ParseSpec<>(aVar, s2); } } diff --git a/app/src/main/java/c/a/t/b/b/e.java b/app/src/main/java/c/a/t/b/b/e.java index 28367b3579..a295f5e843 100644 --- a/app/src/main/java/c/a/t/b/b/e.java +++ b/app/src/main/java/c/a/t/b/b/e.java @@ -1,12 +1,12 @@ package c.a.t.b.b; import android.text.style.CharacterStyle; -import c0.z.d.m; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.node.StyleNode; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.z.d.m; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; @@ -18,7 +18,7 @@ public final class e { public static final Pattern b = Pattern.compile("^__([\\s\\S]+?)__(?!_)"); /* renamed from: c reason: collision with root package name */ - public static final Pattern f245c = Pattern.compile("^~~(?=\\S)([\\s\\S]*?\\S)~~"); + public static final Pattern f240c = Pattern.compile("^~~(?=\\S)([\\s\\S]*?\\S)~~"); public static final Pattern d = Pattern.compile("^(?:\\n *)*\\n"); public static final Pattern e = Pattern.compile("^[\\s\\S]+?(?=[^0-9A-Za-z\\s\\u00c0-\\uffff]|\\n| {2,}\\n|\\w+:\\S|$)"); public static final Pattern f = Pattern.compile("^\\\\([^0-9A-Za-z\\s])"); @@ -36,14 +36,14 @@ public final class e { } @Override // com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser, S> parser, S s) { + public ParseSpec parse(Matcher matcher, Parser, S> parser, S s2) { m.checkNotNullParameter(matcher, "matcher"); m.checkNotNullParameter(parser, "parser"); - StyleNode styleNode = new StyleNode((List) this.a.mo17invoke()); + StyleNode styleNode = new StyleNode((List) this.a.mo1invoke()); int start = matcher.start(1); int end = matcher.end(1); m.checkNotNullParameter(styleNode, "node"); - return new ParseSpec<>(styleNode, s, start, end); + return new ParseSpec<>(styleNode, s2, start, end); } } @@ -54,14 +54,14 @@ public final class e { } @Override // com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser, S> parser, S s) { + public ParseSpec parse(Matcher matcher, Parser, S> parser, S s2) { m.checkNotNullParameter(matcher, "matcher"); m.checkNotNullParameter(parser, "parser"); String group = matcher.group(); m.checkNotNullExpressionValue(group, "matcher.group()"); c.a.t.b.a.a aVar = new c.a.t.b.a.a(group); m.checkNotNullParameter(aVar, "node"); - return new ParseSpec<>(aVar, s); + return new ParseSpec<>(aVar, s2); } } @@ -86,7 +86,7 @@ public final class e { Pattern pattern5 = g; m.checkNotNullExpressionValue(pattern5, "PATTERN_ITALICS"); arrayList.add(new c(eVar2, pattern5)); - Pattern pattern6 = f245c; + Pattern pattern6 = f240c; m.checkNotNullExpressionValue(pattern6, "PATTERN_STRIKETHRU"); arrayList.add(c(pattern6, f.i)); if (z2) { diff --git a/app/src/main/java/c/a/t/b/b/f.java b/app/src/main/java/c/a/t/b/b/f.java index 593098aa88..3952603075 100644 --- a/app/src/main/java/c/a/t/b/b/f.java +++ b/app/src/main/java/c/a/t/b/b/f.java @@ -2,8 +2,8 @@ package c.a.t.b.b; import android.text.style.CharacterStyle; import android.text.style.StrikethroughSpan; -import c0.t.m; -import c0.z.d.o; +import d0.t.m; +import d0.z.d.o; import java.util.List; import kotlin.jvm.functions.Function0; /* compiled from: SimpleMarkdownRules.kt */ @@ -17,7 +17,7 @@ public final class f extends o implements Function0 mo17invoke() { + public List mo1invoke() { return m.listOf(new StrikethroughSpan()); } } diff --git a/app/src/main/java/c/a/t/b/b/g.java b/app/src/main/java/c/a/t/b/b/g.java index 5207abccd2..44c5b76e7f 100644 --- a/app/src/main/java/c/a/t/b/b/g.java +++ b/app/src/main/java/c/a/t/b/b/g.java @@ -2,8 +2,8 @@ package c.a.t.b.b; import android.text.style.CharacterStyle; import android.text.style.UnderlineSpan; -import c0.t.m; -import c0.z.d.o; +import d0.t.m; +import d0.z.d.o; import java.util.List; import kotlin.jvm.functions.Function0; /* compiled from: SimpleMarkdownRules.kt */ @@ -17,7 +17,7 @@ public final class g extends o implements Function0 mo17invoke() { + public List mo1invoke() { return m.listOf(new UnderlineSpan()); } } diff --git a/app/src/main/java/c/a/t/b/b/h.java b/app/src/main/java/c/a/t/b/b/h.java index 68cb1b6885..05474b857f 100644 --- a/app/src/main/java/c/a/t/b/b/h.java +++ b/app/src/main/java/c/a/t/b/b/h.java @@ -1,18 +1,18 @@ package c.a.t.b.b; import android.text.SpannableStringBuilder; -import c0.z.d.m; import com.discord.simpleast.core.node.Node; +import d0.z.d.m; import java.util.Collection; import java.util.Iterator; /* compiled from: SimpleRenderer.kt */ public final class h { - public static final T a(T t, Collection> collection, R r2) { + public static final T a(T t, Collection> collection, R r) { m.checkNotNullParameter(t, "builder"); m.checkNotNullParameter(collection, "ast"); Iterator> it = collection.iterator(); while (it.hasNext()) { - ((Node) it.next()).render(t, r2); + ((Node) it.next()).render(t, r); } return t; } diff --git a/app/src/main/java/c/a/t/c/a.java b/app/src/main/java/c/a/t/c/a.java index 426af3a5dc..0be2d43a91 100644 --- a/app/src/main/java/c/a/t/c/a.java +++ b/app/src/main/java/c/a/t/c/a.java @@ -2,15 +2,15 @@ package c.a.t.c; import android.text.style.CharacterStyle; import c.a.t.b.b.e; -import c0.g0.w; -import c0.t.n; -import c0.t.u; -import c0.z.d.m; import com.discord.simpleast.core.node.Node; import com.discord.simpleast.core.node.StyleNode; import com.discord.simpleast.core.parser.ParseSpec; import com.discord.simpleast.core.parser.Parser; import com.discord.simpleast.core.parser.Rule; +import d0.g0.w; +import d0.t.n; +import d0.t.u; +import d0.z.d.m; import java.util.ArrayList; import java.util.Collection; import java.util.List; @@ -26,18 +26,18 @@ public final class a { public static final Pattern b; /* renamed from: c reason: collision with root package name */ - public static final Pattern f246c; + public static final Pattern f241c; public static final Pattern d = new Regex("^\\s*(?:(?:(.+)(?: +\\{([\\w ]*)\\}))|(.*))[ \\t]*\\n *([=\\-]){3,}[ \\t]*(?=\\n|$)").toPattern(); public static final a e = new a(); /* compiled from: MarkdownRules.kt */ /* renamed from: c.a.t.c.a$a reason: collision with other inner class name */ - public static class C0049a extends b { + public static class C0048a extends b { private final Function1 classSpanProvider; private final List, S>> innerRules; /* JADX INFO: this call moved to the top of the method (can break code semantics) */ - public C0049a(Function1 function1, Function1 function12) { + public C0048a(Function1 function1, Function1 function12) { this(function1, function12, u.plus((Collection) e.b(false, false, 2), e.h.d())); m.checkNotNullParameter(function1, "styleSpanProvider"); m.checkNotNullParameter(function12, "classSpanProvider"); @@ -47,7 +47,7 @@ public final class a { /* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: java.util.List, S>> */ /* JADX WARN: Multi-variable type inference failed */ /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public C0049a(Function1 function1, Function1 function12, List, S>> list) { + public C0048a(Function1 function1, Function1 function12, List, S>> list) { super(a.d, function1); m.checkNotNullParameter(function1, "styleSpanProvider"); m.checkNotNullParameter(function12, "classSpanProvider"); @@ -66,7 +66,7 @@ public final class a { } @Override // c.a.t.c.a.b, c.a.t.c.a.c, com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser, S> parser, S s) { + public ParseSpec parse(Matcher matcher, Parser, S> parser, S s2) { List list; String obj; m.checkNotNullParameter(matcher, "matcher"); @@ -79,7 +79,7 @@ public final class a { group2 = matcher.group(3); } m.checkNotNullExpressionValue(group2, "headerBody"); - for (T t : parser.parse(group2, s, this.innerRules)) { + for (T t : parser.parse(group2, s2, this.innerRules)) { Objects.requireNonNull(t, "null cannot be cast to non-null type com.discord.simpleast.core.node.Node"); createHeaderStyleNode.addChild(t); } @@ -102,7 +102,7 @@ public final class a { createHeaderStyleNode = styleNode; } m.checkNotNullParameter(createHeaderStyleNode, "node"); - return new ParseSpec<>(createHeaderStyleNode, s); + return new ParseSpec<>(createHeaderStyleNode, s2); } } @@ -120,18 +120,18 @@ public final class a { this(pattern, function1); if ((i & 1) != 0) { a aVar = a.e; - pattern = a.f246c; + pattern = a.f241c; } } @Override // c.a.t.c.a.c public StyleNode createHeaderStyleNode(String str) { m.checkNotNullParameter(str, "headerStyleGroup"); - return new StyleNode<>(c0.t.m.listOf(getStyleSpanProvider().invoke(Integer.valueOf((str.hashCode() == 61 && str.equals("=")) ? 1 : 2)))); + return new StyleNode<>(d0.t.m.listOf(getStyleSpanProvider().invoke(Integer.valueOf((str.hashCode() == 61 && str.equals("=")) ? 1 : 2)))); } @Override // c.a.t.c.a.c, com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser, S> parser, S s) { + public ParseSpec parse(Matcher matcher, Parser, S> parser, S s2) { throw null; } } @@ -159,7 +159,7 @@ public final class a { public StyleNode createHeaderStyleNode(String str) { m.checkNotNullParameter(str, "headerStyleGroup"); - return new StyleNode<>(c0.t.m.listOf(this.styleSpanProvider.invoke(Integer.valueOf(str.length())))); + return new StyleNode<>(d0.t.m.listOf(this.styleSpanProvider.invoke(Integer.valueOf(str.length())))); } public final Function1 getStyleSpanProvider() { @@ -167,7 +167,7 @@ public final class a { } @Override // com.discord.simpleast.core.parser.Rule - public ParseSpec parse(Matcher matcher, Parser, S> parser, S s) { + public ParseSpec parse(Matcher matcher, Parser, S> parser, S s2) { m.checkNotNullParameter(matcher, "matcher"); m.checkNotNullParameter(parser, "parser"); String group = matcher.group(1); @@ -176,7 +176,7 @@ public final class a { int start = matcher.start(2); int end = matcher.end(2); m.checkNotNullParameter(createHeaderStyleNode, "node"); - return new ParseSpec<>(createHeaderStyleNode, s, start, end); + return new ParseSpec<>(createHeaderStyleNode, s2, start, end); } } @@ -189,6 +189,6 @@ public final class a { b = compile2; Pattern compile3 = Pattern.compile("^\\s*(.+)\\n *(=|-){3,} *(?=\\n|$)", 0); m.checkNotNullExpressionValue(compile3, "java.util.regex.Pattern.compile(this, flags)"); - f246c = compile3; + f241c = compile3; } } diff --git a/app/src/main/java/c/a/v/a.java b/app/src/main/java/c/a/v/a.java index 7b7afacd36..db7d1602e4 100644 --- a/app/src/main/java/c/a/v/a.java +++ b/app/src/main/java/c/a/v/a.java @@ -1,8 +1,8 @@ package c.a.v; import android.content.SharedPreferences; -import c0.z.d.m; import com.discord.utilities.cache.SharedPreferencesProvider; +import d0.z.d.m; /* compiled from: AcknowledgedTooltipsCache.kt */ public final class a { public final SharedPreferences a; diff --git a/app/src/main/java/c/a/v/c.java b/app/src/main/java/c/a/v/c.java index db63d12c7a..e5ba245c6d 100644 --- a/app/src/main/java/c/a/v/c.java +++ b/app/src/main/java/c/a/v/c.java @@ -1,8 +1,8 @@ package c.a.v; import androidx.vectordrawable.graphics.drawable.AnimatedVectorDrawableCompat; -import c0.z.d.o; import com.discord.tooltips.SparkleView; +import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: SparkleView.kt */ public final class c extends o implements Function0 { @@ -17,7 +17,7 @@ public final class c extends o implements Function0 create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); return new a(this.this$0, continuation); @@ -44,14 +45,14 @@ public final class d extends Animatable2Compat.AnimationCallback { return new a(this.this$0, continuation2).invokeSuspend(Unit.a); } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { Object coroutine_suspended = c.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { l.throwOnFailure(obj); this.label = 1; - if (c.q.a.k.a.o(500, this) == coroutine_suspended) { + if (f.I(500, this) == coroutine_suspended) { return coroutine_suspended; } } else if (i == 1) { @@ -76,7 +77,7 @@ public final class d extends Animatable2Compat.AnimationCallback { m.checkNotNullParameter(drawable, "drawable"); CoroutineScope coroutineScope = ViewCoroutineScopeKt.getCoroutineScope(this.a); if (coroutineScope != null) { - c.q.a.k.a.H(coroutineScope, null, null, new a(this, null), 3, null); + f.x0(coroutineScope, null, null, new a(this, null), 3, null); } } } diff --git a/app/src/main/java/c/a/v/e.java b/app/src/main/java/c/a/v/e.java index a69da88389..fcf035fb31 100644 --- a/app/src/main/java/c/a/v/e.java +++ b/app/src/main/java/c/a/v/e.java @@ -1,8 +1,8 @@ package c.a.v; -import c0.t.h0; -import c0.z.d.o; import com.discord.tooltips.TooltipManager; +import d0.t.h0; +import d0.z.d.o; import java.util.LinkedHashMap; import java.util.Map; import kotlin.Unit; diff --git a/app/src/main/java/c/a/w/a.java b/app/src/main/java/c/a/w/a.java index 181011fff3..d03f67ef03 100644 --- a/app/src/main/java/c/a/w/a.java +++ b/app/src/main/java/c/a/w/a.java @@ -1,7 +1,7 @@ package c.a.w; -import c0.z.d.m; import com.google.gson.reflect.TypeToken; +import d0.z.d.m; import java.lang.reflect.Type; import java.util.List; /* compiled from: TypeTokens.kt */ @@ -10,11 +10,11 @@ public final class a { /* compiled from: TypeTokens.kt */ /* renamed from: c.a.w.a$a reason: collision with other inner class name */ - public static final class C0050a extends TypeToken> { + public static final class C0049a extends TypeToken> { } static { - Type type = new C0050a().getType(); + Type type = new C0049a().getType(); m.checkNotNullExpressionValue(type, "object : TypeToken>() {}.type"); a = type; } diff --git a/app/src/main/java/c/a/y/a.java b/app/src/main/java/c/a/y/a.java index 2311fe4744..9c4edb0b98 100644 --- a/app/src/main/java/c/a/y/a.java +++ b/app/src/main/java/c/a/y/a.java @@ -1,8 +1,8 @@ package c.a.y; import android.view.View; -import c0.z.d.m; import com.discord.views.CodeVerificationView; +import d0.z.d.m; /* compiled from: View.kt */ public final class a implements View.OnLayoutChangeListener { public final /* synthetic */ CodeVerificationView i; diff --git a/app/src/main/java/c/a/y/a0.java b/app/src/main/java/c/a/y/a0.java index e6a2c5b462..22ea8d5787 100644 --- a/app/src/main/java/c/a/y/a0.java +++ b/app/src/main/java/c/a/y/a0.java @@ -8,11 +8,11 @@ import android.widget.LinearLayout; import android.widget.TextSwitcher; import android.widget.TextView; import c.a.i.f1; -import c0.z.d.m; import com.discord.R; import com.discord.api.message.reaction.MessageReaction; import com.discord.utilities.textprocessing.node.EmojiNode; import com.discord.utilities.view.text.SimpleDraweeSpanTextView; +import d0.z.d.m; /* compiled from: ReactionView.kt */ public final class a0 extends LinearLayout { public int i; @@ -53,7 +53,7 @@ public final class a0 extends LinearLayout { TextView textView = this.l.b; m.checkNotNullExpressionValue(textView, "binding.counterText1"); textView.setActivated(z2); - TextView textView2 = this.l.f94c; + TextView textView2 = this.l.f92c; m.checkNotNullExpressionValue(textView2, "binding.counterText2"); textView2.setActivated(z2); } diff --git a/app/src/main/java/c/a/y/b0.java b/app/src/main/java/c/a/y/b0.java index 18bf968493..5b786cd8f6 100644 --- a/app/src/main/java/c/a/y/b0.java +++ b/app/src/main/java/c/a/y/b0.java @@ -13,10 +13,6 @@ import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.recyclerview.widget.RecyclerView; import c.a.i.d; -import c0.z.d.a0; -import c0.z.d.k; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.app.AppBottomSheet; import com.discord.utilities.view.recycler.MaxHeightRecyclerView; @@ -25,6 +21,10 @@ import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt; import com.discord.utilities.views.SimpleRecyclerAdapter; import com.facebook.drawee.view.SimpleDraweeView; import com.google.android.material.textview.MaterialTextView; +import d0.z.d.a0; +import d0.z.d.k; +import d0.z.d.m; +import d0.z.d.o; import java.io.Serializable; import java.util.List; import kotlin.Unit; @@ -34,7 +34,7 @@ import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.reflect.KProperty; /* compiled from: SelectorBottomSheet.kt */ public final class b0 extends AppBottomSheet implements i { - public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.Z(b0.class, "binding", "getBinding()Lcom/discord/databinding/BottomSheetSimpleSelectorBinding;", 0)}; + public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.b0(b0.class, "binding", "getBinding()Lcom/discord/databinding/BottomSheetSimpleSelectorBinding;", 0)}; public static final a j = new a(null); public Function1 k; public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, b.i, null, 2, null); @@ -44,10 +44,10 @@ public final class b0 extends AppBottomSheet implements i { /* compiled from: SelectorBottomSheet.kt */ /* renamed from: c.a.y.b0$a$a reason: collision with other inner class name */ - public static final class C0051a extends o implements Function1 { - public static final C0051a i = new C0051a(); + public static final class C0050a extends o implements Function1 { + public static final C0050a i = new C0050a(); - public C0051a() { + public C0050a() { super(1); } @@ -68,7 +68,7 @@ public final class b0 extends AppBottomSheet implements i { public static /* synthetic */ b0 b(a aVar, FragmentManager fragmentManager, String str, List list, boolean z2, Function1 function1, int i) { boolean z3 = (i & 8) != 0 ? true : z2; if ((i & 16) != 0) { - function1 = C0051a.i; + function1 = C0050a.i; } return aVar.a(fragmentManager, str, list, z3, function1); } @@ -79,7 +79,7 @@ public final class b0 extends AppBottomSheet implements i { m.checkNotNullParameter(list, "options"); m.checkNotNullParameter(function1, "onSelectedListener"); b0 b0Var = new b0(); - b0Var.setArguments(BundleKt.bundleOf(c0.o.to("simple_bottom_sheet_title", str), c0.o.to("simple_bottom_sheet_options", list), c0.o.to("simple_bottom_sheet_show_dividers", Boolean.valueOf(z2)))); + b0Var.setArguments(BundleKt.bundleOf(d0.o.to("simple_bottom_sheet_title", str), d0.o.to("simple_bottom_sheet_options", list), d0.o.to("simple_bottom_sheet_show_dividers", Boolean.valueOf(z2)))); b0Var.k = function1; b0Var.show(fragmentManager, a0.getOrCreateKotlinClass(b0.class).toString()); return b0Var; diff --git a/app/src/main/java/c/a/y/c0.java b/app/src/main/java/c/a/y/c0.java index 9a610a9bd8..bc8023394d 100644 --- a/app/src/main/java/c/a/y/c0.java +++ b/app/src/main/java/c/a/y/c0.java @@ -1,7 +1,7 @@ package c.a.y; import c.d.b.a.a; -import c0.z.d.m; +import d0.z.d.m; import java.io.Serializable; /* compiled from: SelectorBottomSheet.kt */ public final class c0 implements Serializable { @@ -98,19 +98,19 @@ public final class c0 implements Serializable { @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("SimpleBottomSheetItem(title="); - O.append(this.title); - O.append(", description="); - O.append(this.description); - O.append(", iconRes="); - O.append(this.iconRes); - O.append(", iconUri="); - O.append(this.iconUri); - O.append(", iconTint="); - O.append(this.iconTint); - O.append(", titleTextColor="); - O.append(this.titleTextColor); - O.append(", titleEndIcon="); - return a.D(O, this.titleEndIcon, ")"); + StringBuilder R = a.R("SimpleBottomSheetItem(title="); + R.append(this.title); + R.append(", description="); + R.append(this.description); + R.append(", iconRes="); + R.append(this.iconRes); + R.append(", iconUri="); + R.append(this.iconUri); + R.append(", iconTint="); + R.append(this.iconTint); + R.append(", titleTextColor="); + R.append(this.titleTextColor); + R.append(", titleEndIcon="); + return a.E(R, this.titleEndIcon, ")"); } } diff --git a/app/src/main/java/c/a/y/d.java b/app/src/main/java/c/a/y/d.java index 2b61f04f28..9b8ff67cff 100644 --- a/app/src/main/java/c/a/y/d.java +++ b/app/src/main/java/c/a/y/d.java @@ -2,9 +2,9 @@ package c.a.y; import android.view.KeyEvent; import android.view.View; -import c0.g0.y; -import c0.z.d.m; import com.discord.views.CodeVerificationView; +import d0.g0.y; +import d0.z.d.m; import java.util.Objects; /* compiled from: CodeVerificationView.kt */ public final class d implements View.OnKeyListener { diff --git a/app/src/main/java/c/a/y/e.java b/app/src/main/java/c/a/y/e.java index db16304f36..7e3d259110 100644 --- a/app/src/main/java/c/a/y/e.java +++ b/app/src/main/java/c/a/y/e.java @@ -1,7 +1,7 @@ package c.a.y; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: CodeVerificationView.kt */ diff --git a/app/src/main/java/c/a/y/e0.java b/app/src/main/java/c/a/y/e0.java index ea47d636e2..dc671a283c 100644 --- a/app/src/main/java/c/a/y/e0.java +++ b/app/src/main/java/c/a/y/e0.java @@ -7,7 +7,6 @@ import androidx.core.content.ContextCompat; import androidx.core.graphics.drawable.DrawableCompat; import c.a.i.d; import c.a.k.b; -import c0.z.d.m; import com.discord.R; import com.discord.utilities.color.ColorCompat; import com.discord.utilities.images.MGImages; @@ -15,13 +14,14 @@ import com.discord.utilities.view.extensions.ViewExtensions; import com.discord.utilities.views.SimpleRecyclerAdapter; import com.facebook.drawee.view.SimpleDraweeView; import com.google.android.material.textview.MaterialTextView; +import d0.z.d.m; /* compiled from: SelectorBottomSheet.kt */ public final class e0 extends SimpleRecyclerAdapter.ViewHolder { public final i a; public final DialogInterface b; /* renamed from: c reason: collision with root package name */ - public final d f247c; + public final d f242c; /* JADX WARNING: Illegal instructions before constructor call */ public e0(i iVar, DialogInterface dialogInterface, d dVar) { @@ -33,7 +33,7 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder { m.checkNotNullExpressionValue(constraintLayout, "itemBinding.root"); this.a = iVar; this.b = dialogInterface; - this.f247c = dVar; + this.f242c = dVar; } /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @@ -43,13 +43,13 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder { Drawable drawable; c0 c0Var2 = c0Var; m.checkNotNullParameter(c0Var2, "data"); - MaterialTextView materialTextView = this.f247c.d; + MaterialTextView materialTextView = this.f242c.d; m.checkNotNullExpressionValue(materialTextView, "itemBinding.selectComponentSheetItemTitle"); b.a(materialTextView, c0Var2.e()); - MaterialTextView materialTextView2 = this.f247c.b; + MaterialTextView materialTextView2 = this.f242c.b; m.checkNotNullExpressionValue(materialTextView2, "itemBinding.selectComponentSheetItemDescription"); ViewExtensions.setTextAndVisibilityBy(materialTextView2, c0Var2.a()); - SimpleDraweeView simpleDraweeView = this.f247c.f81c; + SimpleDraweeView simpleDraweeView = this.f242c.f79c; m.checkNotNullExpressionValue(simpleDraweeView, "itemBinding.selectComponentSheetItemIcon"); int i2 = 0; if (!((c0Var2.d() == null && c0Var2.b() == null) ? false : true)) { @@ -58,20 +58,20 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder { simpleDraweeView.setVisibility(i2); String d = c0Var2.d(); if (d != null) { - SimpleDraweeView simpleDraweeView2 = this.f247c.f81c; + SimpleDraweeView simpleDraweeView2 = this.f242c.f79c; m.checkNotNullExpressionValue(simpleDraweeView2, "itemBinding.selectComponentSheetItemIcon"); MGImages.setImage$default(simpleDraweeView2, d, R.dimen.emoji_size, R.dimen.emoji_size, true, null, null, 96, null); } else { Integer b = c0Var2.b(); if (b != null) { - this.f247c.f81c.setImageResource(b.intValue()); + this.f242c.f79c.setImageResource(b.intValue()); } } Integer c2 = c0Var2.c(); if (c2 != null) { - this.f247c.f81c.setColorFilter(c2.intValue()); + this.f242c.f79c.setColorFilter(c2.intValue()); } - MaterialTextView materialTextView3 = this.f247c.d; + MaterialTextView materialTextView3 = this.f242c.d; materialTextView3.setText(c0Var2.e()); Integer g = c0Var2.g(); if (g != null) { @@ -86,16 +86,16 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder { f.intValue(); Drawable drawable2 = ContextCompat.getDrawable(materialTextView3.getContext(), c0Var2.f().intValue()); if (drawable2 != null) { - MaterialTextView materialTextView4 = this.f247c.d; + MaterialTextView materialTextView4 = this.f242c.d; m.checkNotNullExpressionValue(materialTextView4, "itemBinding.selectComponentSheetItemTitle"); DrawableCompat.setTint(drawable2, ColorCompat.getThemedColor(materialTextView4, (int) R.attr.colorHeaderPrimary)); drawable = drawable2; com.discord.utilities.drawable.DrawableCompat.setCompoundDrawablesCompat$default(materialTextView3, (Drawable) null, (Drawable) null, drawable, (Drawable) null, 11, (Object) null); - this.f247c.a.setOnClickListener(new d0(this)); + this.f242c.a.setOnClickListener(new d0(this)); } } drawable = null; com.discord.utilities.drawable.DrawableCompat.setCompoundDrawablesCompat$default(materialTextView3, (Drawable) null, (Drawable) null, drawable, (Drawable) null, 11, (Object) null); - this.f247c.a.setOnClickListener(new d0(this)); + this.f242c.a.setOnClickListener(new d0(this)); } } diff --git a/app/src/main/java/c/a/y/f.java b/app/src/main/java/c/a/y/f.java index 6106da96aa..d4fcd75f36 100644 --- a/app/src/main/java/c/a/y/f.java +++ b/app/src/main/java/c/a/y/f.java @@ -9,9 +9,9 @@ import androidx.core.content.ContextCompat; import androidx.core.graphics.drawable.DrawableCompat; import androidx.recyclerview.widget.DividerItemDecoration; import androidx.recyclerview.widget.RecyclerView; -import c0.z.d.m; import com.discord.R; import com.discord.utilities.color.ColorCompat; +import d0.z.d.m; import java.util.Objects; /* compiled from: DividerDecoration.kt */ public final class f extends DividerItemDecoration { @@ -19,7 +19,7 @@ public final class f extends DividerItemDecoration { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f248c; + public final int f243c; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public f(Context context, int i, int i2, int i3, int i4, int i5) { @@ -30,7 +30,7 @@ public final class f extends DividerItemDecoration { m.checkNotNullParameter(context, "context"); this.a = i2; this.b = i3; - this.f248c = i4; + this.f243c = i4; Drawable drawable = ContextCompat.getDrawable(context, R.drawable.drawable_divider); if (drawable != null) { Drawable wrap = DrawableCompat.wrap(drawable); @@ -45,7 +45,7 @@ public final class f extends DividerItemDecoration { m.checkNotNullParameter(recyclerView, "parent"); m.checkNotNullParameter(state, "state"); int paddingLeft = recyclerView.getPaddingLeft() + this.b; - int width = (recyclerView.getWidth() - recyclerView.getPaddingRight()) - this.f248c; + int width = (recyclerView.getWidth() - recyclerView.getPaddingRight()) - this.f243c; Drawable drawable = getDrawable(); int childCount = recyclerView.getChildCount(); for (int i = 0; i < childCount; i++) { diff --git a/app/src/main/java/c/a/y/f0.java b/app/src/main/java/c/a/y/f0.java index 985de766e8..ed4c3c5abb 100644 --- a/app/src/main/java/c/a/y/f0.java +++ b/app/src/main/java/c/a/y/f0.java @@ -2,10 +2,10 @@ package c.a.y; import android.graphics.drawable.Drawable; import androidx.core.content.ContextCompat; -import c0.z.d.o; import com.discord.R; import com.discord.utilities.color.ColorCompat; import com.discord.views.VoiceUserLimitView; +import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: VoiceUserLimitView.kt */ public final class f0 extends o implements Function0 { @@ -20,7 +20,7 @@ public final class f0 extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Drawable mo17invoke() { + public Drawable mo1invoke() { Drawable drawable = ContextCompat.getDrawable(this.this$0.getContext(), R.drawable.ic_videocam_white_12dp); if (drawable != null) { drawable.setTint(ColorCompat.getThemedColor(this.this$0.getContext(), (int) R.attr.colorInteractiveNormal)); diff --git a/app/src/main/java/c/a/y/g.java b/app/src/main/java/c/a/y/g.java index d4b16feeaa..7612c7a6c2 100644 --- a/app/src/main/java/c/a/y/g.java +++ b/app/src/main/java/c/a/y/g.java @@ -12,6 +12,6 @@ public final class g implements View.OnClickListener { @Override // android.view.View.OnClickListener public final void onClick(View view) { - this.i.mo17invoke(); + this.i.mo1invoke(); } } diff --git a/app/src/main/java/c/a/y/g0.java b/app/src/main/java/c/a/y/g0.java index 862f0c35ed..448efb67ec 100644 --- a/app/src/main/java/c/a/y/g0.java +++ b/app/src/main/java/c/a/y/g0.java @@ -1,8 +1,8 @@ package c.a.y; import android.graphics.Bitmap; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function2; /* compiled from: VoiceUserView.kt */ diff --git a/app/src/main/java/c/a/y/h.java b/app/src/main/java/c/a/y/h.java index ec9a9f1c0e..b4e818aec9 100644 --- a/app/src/main/java/c/a/y/h.java +++ b/app/src/main/java/c/a/y/h.java @@ -5,10 +5,10 @@ import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import c.a.i.p0; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.views.OAuthPermissionViews; +import d0.z.d.m; +import d0.z.d.o; import java.util.Objects; import kotlin.jvm.functions.Function2; /* compiled from: OAuthPermissionViews.kt */ diff --git a/app/src/main/java/c/a/y/h0.java b/app/src/main/java/c/a/y/h0.java index 7ab06c3605..c07786ad24 100644 --- a/app/src/main/java/c/a/y/h0.java +++ b/app/src/main/java/c/a/y/h0.java @@ -1,7 +1,7 @@ package c.a.y; -import c0.z.d.o; import com.discord.views.VoiceUserView; +import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: VoiceUserView.kt */ public final class h0 extends o implements Function0 { @@ -16,8 +16,8 @@ public final class h0 extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Boolean mo17invoke() { + public Boolean mo1invoke() { VoiceUserView voiceUserView = this.this$0; - return Boolean.valueOf(voiceUserView.l == VoiceUserView.a.RINGING && voiceUserView.f2621r); + return Boolean.valueOf(voiceUserView.l == VoiceUserView.a.RINGING && voiceUserView.r); } } diff --git a/app/src/main/java/c/a/y/i0.java b/app/src/main/java/c/a/y/i0.java index 1247b85248..a15fc1cf1b 100644 --- a/app/src/main/java/c/a/y/i0.java +++ b/app/src/main/java/c/a/y/i0.java @@ -2,8 +2,8 @@ package c.a.y; import android.graphics.Bitmap; import c.f.j.q.a; -import c0.z.d.m; import com.discord.views.VoiceUserView; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function2; /* compiled from: VoiceUserView.kt */ diff --git a/app/src/main/java/c/a/y/j.java b/app/src/main/java/c/a/y/j.java index 6810614d7e..37c3d1690d 100644 --- a/app/src/main/java/c/a/y/j.java +++ b/app/src/main/java/c/a/y/j.java @@ -1,7 +1,7 @@ package c.a.y; import android.widget.SeekBar; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: OnSeekBarChangeListenerAdapter.kt */ public class j implements SeekBar.OnSeekBarChangeListener { @Override // android.widget.SeekBar.OnSeekBarChangeListener diff --git a/app/src/main/java/c/a/y/j0/a.java b/app/src/main/java/c/a/y/j0/a.java index bef43ea689..0b3d3bc889 100644 --- a/app/src/main/java/c/a/y/j0/a.java +++ b/app/src/main/java/c/a/y/j0/a.java @@ -1,8 +1,8 @@ package c.a.y.j0; import android.graphics.Point; -import c0.z.d.m; -import i0.k.b; +import d0.z.d.m; +import j0.k.b; import java.util.concurrent.TimeUnit; import kotlin.Unit; import rx.Observable; @@ -16,7 +16,7 @@ public final class a implements b> { /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // i0.k.b + @Override // j0.k.b public Observable call(Unit unit) { Observable K = this.i.i.O(50, TimeUnit.MILLISECONDS).F(f.i).K(); m.checkNotNullExpressionValue(K, "frameResolutionSubject\n … .onBackpressureLatest()"); diff --git a/app/src/main/java/c/a/y/j0/b.java b/app/src/main/java/c/a/y/j0/b.java index 5d8f34adc5..c692e3a344 100644 --- a/app/src/main/java/c/a/y/j0/b.java +++ b/app/src/main/java/c/a/y/j0/b.java @@ -1,9 +1,9 @@ package c.a.y.j0; import android.graphics.Point; -import c0.z.d.m; -import c0.z.d.o; import com.discord.views.calls.AppVideoStreamRenderer; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: AppVideoStreamRenderer.kt */ diff --git a/app/src/main/java/c/a/y/j0/c.java b/app/src/main/java/c/a/y/j0/c.java index 67e3615730..5c124d2940 100644 --- a/app/src/main/java/c/a/y/j0/c.java +++ b/app/src/main/java/c/a/y/j0/c.java @@ -1,8 +1,8 @@ package c.a.y.j0; -import c0.z.d.m; -import c0.z.d.o; import com.discord.views.calls.AppVideoStreamRenderer; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; import rx.Subscription; diff --git a/app/src/main/java/c/a/y/j0/e.java b/app/src/main/java/c/a/y/j0/e.java index 43d585b510..2186bae841 100644 --- a/app/src/main/java/c/a/y/j0/e.java +++ b/app/src/main/java/c/a/y/j0/e.java @@ -12,12 +12,12 @@ public final class e implements RendererCommon.RendererEvents { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f249c; + public final int f244c; public a(int i, int i2, int i3) { this.a = i; this.b = i2; - this.f249c = i3; + this.f244c = i3; } public boolean equals(Object obj) { @@ -28,20 +28,20 @@ public final class e implements RendererCommon.RendererEvents { return false; } a aVar = (a) obj; - return this.a == aVar.a && this.b == aVar.b && this.f249c == aVar.f249c; + return this.a == aVar.a && this.b == aVar.b && this.f244c == aVar.f244c; } public int hashCode() { - return (((this.a * 31) + this.b) * 31) + this.f249c; + return (((this.a * 31) + this.b) * 31) + this.f244c; } public String toString() { - StringBuilder O = c.d.b.a.a.O("Resolution(width="); - O.append(this.a); - O.append(", height="); - O.append(this.b); - O.append(", rotation="); - return c.d.b.a.a.z(O, this.f249c, ")"); + StringBuilder R = c.d.b.a.a.R("Resolution(width="); + R.append(this.a); + R.append(", height="); + R.append(this.b); + R.append(", rotation="); + return c.d.b.a.a.A(R, this.f244c, ")"); } } diff --git a/app/src/main/java/c/a/y/j0/f.java b/app/src/main/java/c/a/y/j0/f.java index 36e5b7870e..9664d1d958 100644 --- a/app/src/main/java/c/a/y/j0/f.java +++ b/app/src/main/java/c/a/y/j0/f.java @@ -2,20 +2,20 @@ package c.a.y.j0; import android.graphics.Point; import c.a.y.j0.e; -import i0.k.b; +import j0.k.b; /* compiled from: RxRendererEvents.kt */ public final class f implements b { public static final f i = new f(); /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // i0.k.b + @Override // j0.k.b public Point call(e.a aVar) { e.a aVar2 = aVar; if (aVar2 == null) { return null; } - int i2 = aVar2.f249c; + int i2 = aVar2.f244c; return (i2 == -180 || i2 == 0 || i2 == 180) ? new Point(aVar2.a, aVar2.b) : new Point(aVar2.b, aVar2.a); } } diff --git a/app/src/main/java/c/a/y/j0/g.java b/app/src/main/java/c/a/y/j0/g.java index dc5c338fb4..6babda5692 100644 --- a/app/src/main/java/c/a/y/j0/g.java +++ b/app/src/main/java/c/a/y/j0/g.java @@ -1,9 +1,9 @@ package c.a.y.j0; import android.graphics.Bitmap; -import c0.z.d.m; -import c0.z.d.o; import com.discord.utilities.colors.RepresentativeColorsKt; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function2; /* compiled from: StageCallSpeakerView.kt */ diff --git a/app/src/main/java/c/a/y/j0/h.java b/app/src/main/java/c/a/y/j0/h.java index 62b1ef127c..626bc0b1bf 100644 --- a/app/src/main/java/c/a/y/j0/h.java +++ b/app/src/main/java/c/a/y/j0/h.java @@ -1,8 +1,8 @@ package c.a.y.j0; -import c0.z.d.m; -import c0.z.d.o; import com.discord.views.calls.StageCallSpeakerView; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; import rx.Subscription; diff --git a/app/src/main/java/c/a/y/j0/i.java b/app/src/main/java/c/a/y/j0/i.java index 6bae91365e..b0997a3ee8 100644 --- a/app/src/main/java/c/a/y/j0/i.java +++ b/app/src/main/java/c/a/y/j0/i.java @@ -1,9 +1,9 @@ package c.a.y.j0; -import c0.z.d.m; -import c0.z.d.o; import com.discord.models.domain.ModelAuditLogEntry; import com.discord.views.calls.StageCallSpeakerView; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: StageCallSpeakerView.kt */ diff --git a/app/src/main/java/c/a/y/j0/j.java b/app/src/main/java/c/a/y/j0/j.java index 445620025d..e7e14c9052 100644 --- a/app/src/main/java/c/a/y/j0/j.java +++ b/app/src/main/java/c/a/y/j0/j.java @@ -1,7 +1,7 @@ package c.a.y.j0; -import c0.z.d.m; -import c0.z.d.o; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: VideoCallParticipantView.kt */ diff --git a/app/src/main/java/c/a/y/j0/k.java b/app/src/main/java/c/a/y/j0/k.java index ec09da7d6e..fe0322af8d 100644 --- a/app/src/main/java/c/a/y/j0/k.java +++ b/app/src/main/java/c/a/y/j0/k.java @@ -1,9 +1,9 @@ package c.a.y.j0; import android.graphics.Bitmap; -import c0.z.d.m; -import c0.z.d.o; import com.discord.utilities.colors.RepresentativeColorsKt; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function2; /* compiled from: VideoCallParticipantView.kt */ diff --git a/app/src/main/java/c/a/y/j0/l.java b/app/src/main/java/c/a/y/j0/l.java index aeebfb17d4..4cd62d935c 100644 --- a/app/src/main/java/c/a/y/j0/l.java +++ b/app/src/main/java/c/a/y/j0/l.java @@ -1,13 +1,13 @@ package c.a.y.j0; -import i0.k.b; +import j0.k.b; /* compiled from: VideoCallParticipantView.kt */ public final class l implements b { public static final l i = new l(); /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // i0.k.b + @Override // j0.k.b public Boolean call(Integer num) { return Boolean.valueOf(num != null); } diff --git a/app/src/main/java/c/a/y/j0/m.java b/app/src/main/java/c/a/y/j0/m.java index c732ef295a..3751e85867 100644 --- a/app/src/main/java/c/a/y/j0/m.java +++ b/app/src/main/java/c/a/y/j0/m.java @@ -1,7 +1,7 @@ package c.a.y.j0; -import c0.z.d.o; import com.discord.views.calls.VideoCallParticipantView; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: VideoCallParticipantView.kt */ diff --git a/app/src/main/java/c/a/y/j0/o.java b/app/src/main/java/c/a/y/j0/o.java index e57c74f6cc..2979f232ff 100644 --- a/app/src/main/java/c/a/y/j0/o.java +++ b/app/src/main/java/c/a/y/j0/o.java @@ -4,14 +4,14 @@ import android.graphics.Point; import android.view.View; import android.widget.ProgressBar; import android.widget.TextView; -import c0.z.d.m; import com.discord.views.calls.AppVideoStreamRenderer; import com.discord.views.calls.VideoCallParticipantView; import com.facebook.drawee.view.SimpleDraweeView; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: VideoCallParticipantView.kt */ -public final class o extends c0.z.d.o implements Function1 { +public final class o extends d0.z.d.o implements Function1 { public final /* synthetic */ VideoCallParticipantView this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ @@ -31,7 +31,7 @@ public final class o extends c0.z.d.o implements Function1 { m.checkNotNullExpressionValue(appVideoStreamRenderer, "binding.participantVideoStreamRenderer"); boolean z2 = false; appVideoStreamRenderer.setVisibility(0); - View view = videoCallParticipantView.i.f78c; + View view = videoCallParticipantView.i.f71c; m.checkNotNullExpressionValue(view, "binding.participantBgLetterbox"); view.setVisibility(0); ProgressBar progressBar = videoCallParticipantView.i.p; diff --git a/app/src/main/java/c/a/y/k0/a.java b/app/src/main/java/c/a/y/k0/a.java index c18ab0b012..7b6856e1e7 100644 --- a/app/src/main/java/c/a/y/k0/a.java +++ b/app/src/main/java/c/a/y/k0/a.java @@ -1,7 +1,7 @@ package c.a.y.k0; import android.view.View; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: GuildChannelSideBarActionsView.kt */ public final class a implements View.OnClickListener { diff --git a/app/src/main/java/c/a/y/k0/b.java b/app/src/main/java/c/a/y/k0/b.java index cde28e9a81..3661b2009e 100644 --- a/app/src/main/java/c/a/y/k0/b.java +++ b/app/src/main/java/c/a/y/k0/b.java @@ -1,7 +1,7 @@ package c.a.y.k0; import android.view.View; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: GuildChannelSideBarActionsView.kt */ public final class b implements View.OnClickListener { diff --git a/app/src/main/java/c/a/y/l.java b/app/src/main/java/c/a/y/l.java index a3ae27e61f..ab8774de20 100644 --- a/app/src/main/java/c/a/y/l.java +++ b/app/src/main/java/c/a/y/l.java @@ -5,21 +5,19 @@ import android.content.Context; import android.util.Log; import android.view.View; import androidx.core.view.ViewCompat; -import c0.z.d.m; import com.discord.app.AppComponent; import com.discord.overlay.views.OverlayDialog; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function1; import rx.subjects.PublishSubject; import rx.subjects.Subject; /* compiled from: OverlayAppDialog.kt */ public abstract class l extends OverlayDialog implements AppComponent { - - /* renamed from: w reason: collision with root package name */ - public final Subject f250w; + public final Subject w; /* renamed from: x reason: collision with root package name */ - public Function1 f251x = m.i; + public Function1 f245x = m.i; /* compiled from: Animator.kt */ public static final class a implements Animator.AnimatorListener { @@ -75,7 +73,7 @@ public abstract class l extends OverlayDialog implements AppComponent { m.checkNotNullParameter(context, "context"); PublishSubject k0 = PublishSubject.k0(); m.checkNotNullExpressionValue(k0, "PublishSubject.create()"); - this.f250w = k0; + this.w = k0; setOnClickListener(new k(this)); } @@ -83,7 +81,7 @@ public abstract class l extends OverlayDialog implements AppComponent { getUnsubscribeSignal().onNext(null); Log.i(getClass().getSimpleName(), "closing"); if (!ViewCompat.isAttachedToWindow(this)) { - this.f251x.invoke(this); + this.f245x.invoke(this); return; } Animator closingAnimator = getClosingAnimator(); @@ -96,12 +94,12 @@ public abstract class l extends OverlayDialog implements AppComponent { /* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: kotlin.jvm.functions.Function1, kotlin.jvm.functions.Function1 */ public final Function1 getOnDialogClosed() { - return this.f251x; + return this.f245x; } @Override // com.discord.app.AppComponent public Subject getUnsubscribeSignal() { - return this.f250w; + return this.w; } @Override // android.view.View, android.view.ViewGroup @@ -112,6 +110,6 @@ public abstract class l extends OverlayDialog implements AppComponent { public final void setOnDialogClosed(Function1 function1) { m.checkNotNullParameter(function1, ""); - this.f251x = function1; + this.f245x = function1; } } diff --git a/app/src/main/java/c/a/y/l0/b.java b/app/src/main/java/c/a/y/l0/b.java index 55a1ce181b..c8816b6214 100644 --- a/app/src/main/java/c/a/y/l0/b.java +++ b/app/src/main/java/c/a/y/l0/b.java @@ -12,6 +12,6 @@ public final class b implements View.OnClickListener { @Override // android.view.View.OnClickListener public final void onClick(View view) { - this.i.mo17invoke(); + this.i.mo1invoke(); } } diff --git a/app/src/main/java/c/a/y/m.java b/app/src/main/java/c/a/y/m.java index e91255653e..ccff6b24ee 100644 --- a/app/src/main/java/c/a/y/m.java +++ b/app/src/main/java/c/a/y/m.java @@ -1,7 +1,7 @@ package c.a.y; -import c0.z.d.o; import com.discord.overlay.views.OverlayDialog; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: OverlayAppDialog.kt */ @@ -16,7 +16,7 @@ public final class m extends o implements Function1 { /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public Unit invoke(OverlayDialog overlayDialog) { - c0.z.d.m.checkNotNullParameter(overlayDialog, "it"); + d0.z.d.m.checkNotNullParameter(overlayDialog, "it"); return Unit.a; } } diff --git a/app/src/main/java/c/a/y/m0/a.java b/app/src/main/java/c/a/y/m0/a.java index 5ccbc24f98..b0f7b6a89d 100644 --- a/app/src/main/java/c/a/y/m0/a.java +++ b/app/src/main/java/c/a/y/m0/a.java @@ -21,6 +21,6 @@ public final class a implements View.OnClickListener { if (!(googlePlayInAppSku == null || (function1 = giftSelectView.j) == null)) { function1.invoke(googlePlayInAppSku); } - giftSelectView.i.f2204c.setOnClickListener(null); + giftSelectView.i.f1833c.setOnClickListener(null); } } diff --git a/app/src/main/java/c/a/y/n.java b/app/src/main/java/c/a/y/n.java index 07dffa6639..d9c4dce50d 100644 --- a/app/src/main/java/c/a/y/n.java +++ b/app/src/main/java/c/a/y/n.java @@ -4,11 +4,11 @@ import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import c.a.i.r0; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.views.OverlayMenuBubbleDialog; import com.discord.views.VoiceUserView; +import d0.z.d.m; +import d0.z.d.o; import java.util.Objects; import kotlin.jvm.functions.Function2; /* compiled from: OverlayMenuBubbleDialog.kt */ diff --git a/app/src/main/java/c/a/y/o.java b/app/src/main/java/c/a/y/o.java index 056860d608..af2f910ebc 100644 --- a/app/src/main/java/c/a/y/o.java +++ b/app/src/main/java/c/a/y/o.java @@ -4,7 +4,7 @@ import com.discord.api.channel.Channel; import com.discord.api.channel.ChannelUtils; import com.discord.api.voice.state.VoiceState; import com.discord.stores.StoreVoiceParticipants; -import i0.k.b; +import j0.k.b; import java.util.ArrayList; import java.util.Collection; import java.util.List; @@ -20,11 +20,11 @@ public final class o implements b call(Map map) { boolean z2; Collection values = map.values(); diff --git a/app/src/main/java/c/a/y/o0/a.java b/app/src/main/java/c/a/y/o0/a.java index 70c426cbfe..79ecb69b26 100644 --- a/app/src/main/java/c/a/y/o0/a.java +++ b/app/src/main/java/c/a/y/o0/a.java @@ -3,16 +3,16 @@ package c.a.y.o0; import android.view.View; import android.widget.LinearLayout; import android.widget.TextView; -import c.a.i.z4; +import c.a.i.y4; import c.a.y.o0.d; -import c0.z.d.m; import com.discord.R; import com.discord.utilities.extensions.SimpleDraweeViewExtensionsKt; import com.discord.utilities.mg_recycler.MGRecyclerViewHolder; import com.facebook.drawee.view.SimpleDraweeView; +import d0.z.d.m; /* compiled from: SpeakersViewHolder.kt */ public final class a extends MGRecyclerViewHolder { - public final z4 a; + public final y4 a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public a(c cVar) { @@ -25,9 +25,9 @@ public final class a extends MGRecyclerViewHolder { i = R.id.discovery_stage_card_speaker_name; TextView textView = (TextView) view.findViewById(R.id.discovery_stage_card_speaker_name); if (textView != null) { - z4 z4Var = new z4((LinearLayout) view, simpleDraweeView, textView); - m.checkNotNullExpressionValue(z4Var, "WidgetDiscoveryStageCard…kerBinding.bind(itemView)"); - this.a = z4Var; + y4 y4Var = new y4((LinearLayout) view, simpleDraweeView, textView); + m.checkNotNullExpressionValue(y4Var, "WidgetDiscoveryStageCard…kerBinding.bind(itemView)"); + this.a = y4Var; return; } } @@ -44,7 +44,7 @@ public final class a extends MGRecyclerViewHolder { SimpleDraweeView simpleDraweeView = this.a.b; m.checkNotNullExpressionValue(simpleDraweeView, "binding.discoveryStageCardSpeakerAvatar"); SimpleDraweeViewExtensionsKt.setAvatar$default(simpleDraweeView, aVar.k, false, R.dimen.avatar_size_medium, aVar.l, 2, null); - TextView textView = this.a.f201c; + TextView textView = this.a.f194c; m.checkNotNullExpressionValue(textView, "binding.discoveryStageCardSpeakerName"); textView.setText(aVar.m); } diff --git a/app/src/main/java/c/a/y/o0/b.java b/app/src/main/java/c/a/y/o0/b.java index 5fc754ee93..0c86bd1146 100644 --- a/app/src/main/java/c/a/y/o0/b.java +++ b/app/src/main/java/c/a/y/o0/b.java @@ -3,16 +3,16 @@ package c.a.y.o0; import android.view.View; import android.widget.LinearLayout; import android.widget.TextView; -import c.a.i.y4; +import c.a.i.x4; import c.a.y.o0.d; import c.d.b.a.a; -import c0.z.d.m; import com.discord.R; import com.discord.utilities.mg_recycler.MGRecyclerViewHolder; import com.discord.utilities.resources.StringResourceUtilsKt; +import d0.z.d.m; /* compiled from: SpeakersViewHolder.kt */ public final class b extends MGRecyclerViewHolder { - public final y4 a; + public final x4 a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public b(c cVar) { @@ -21,9 +21,9 @@ public final class b extends MGRecyclerViewHolder { View view = this.itemView; TextView textView = (TextView) view.findViewById(R.id.other_speakers_count_text); if (textView != null) { - y4 y4Var = new y4((LinearLayout) view, textView); - m.checkNotNullExpressionValue(y4Var, "WidgetDiscoveryOtherSpea…untBinding.bind(itemView)"); - this.a = y4Var; + x4 x4Var = new x4((LinearLayout) view, textView); + m.checkNotNullExpressionValue(x4Var, "WidgetDiscoveryOtherSpea…untBinding.bind(itemView)"); + this.a = x4Var; return; } throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(R.id.other_speakers_count_text))); diff --git a/app/src/main/java/c/a/y/o0/c.java b/app/src/main/java/c/a/y/o0/c.java index 8e560bffab..72e6c2cec2 100644 --- a/app/src/main/java/c/a/y/o0/c.java +++ b/app/src/main/java/c/a/y/o0/c.java @@ -3,8 +3,8 @@ package c.a.y.o0; import android.view.ViewGroup; import androidx.recyclerview.widget.GridLayoutManager; import androidx.recyclerview.widget.RecyclerView; -import c0.z.d.m; import com.discord.utilities.mg_recycler.MGRecyclerAdapterSimple; +import d0.z.d.m; /* compiled from: SpeakersAdapter.kt */ public final class c extends MGRecyclerAdapterSimple { public final GridLayoutManager.SpanSizeLookup a = new a(); @@ -32,6 +32,6 @@ public final class c extends MGRecyclerAdapterSimple { if (i == 1) { return new b(this); } - throw new IllegalStateException(c.d.b.a.a.l("Invalid view type: ", i)); + throw new IllegalStateException(c.d.b.a.a.p("Invalid view type: ", i)); } } diff --git a/app/src/main/java/c/a/y/o0/d.java b/app/src/main/java/c/a/y/o0/d.java index 4a992773e3..8a4c7f87cd 100644 --- a/app/src/main/java/c/a/y/o0/d.java +++ b/app/src/main/java/c/a/y/o0/d.java @@ -1,9 +1,9 @@ package c.a.y.o0; -import c0.z.d.m; import com.discord.models.member.GuildMember; import com.discord.models.user.User; import com.discord.utilities.mg_recycler.MGRecyclerDataPayload; +import d0.z.d.m; import kotlin.jvm.internal.DefaultConstructorMarker; /* compiled from: SpeakersItem.kt */ public abstract class d implements MGRecyclerDataPayload { @@ -56,14 +56,14 @@ public abstract class d implements MGRecyclerDataPayload { } public String toString() { - StringBuilder O = c.d.b.a.a.O("IndividualSpeakerItem(user="); - O.append(this.k); - O.append(", guildMember="); - O.append(this.l); - O.append(", displayName="); - O.append(this.m); - O.append(", positionKey="); - return c.d.b.a.a.G(O, this.n, ")"); + StringBuilder R = c.d.b.a.a.R("IndividualSpeakerItem(user="); + R.append(this.k); + R.append(", guildMember="); + R.append(this.l); + R.append(", displayName="); + R.append(this.m); + R.append(", positionKey="); + return c.d.b.a.a.H(R, this.n, ")"); } } @@ -98,10 +98,10 @@ public abstract class d implements MGRecyclerDataPayload { } public String toString() { - StringBuilder O = c.d.b.a.a.O("OtherSpeakersCountItem(otherSpeakersCount="); - O.append(this.k); - O.append(", positionKey="); - return c.d.b.a.a.G(O, this.l, ")"); + StringBuilder R = c.d.b.a.a.R("OtherSpeakersCountItem(otherSpeakersCount="); + R.append(this.k); + R.append(", positionKey="); + return c.d.b.a.a.H(R, this.l, ")"); } } diff --git a/app/src/main/java/c/a/y/p.java b/app/src/main/java/c/a/y/p.java index bb86ca6fc7..b241cca10f 100644 --- a/app/src/main/java/c/a/y/p.java +++ b/app/src/main/java/c/a/y/p.java @@ -1,12 +1,12 @@ package c.a.y; -import c0.t.n; -import c0.z.d.m; import com.discord.api.channel.Channel; import com.discord.stores.StoreStream; import com.discord.stores.StoreVoiceParticipants; -import i0.k.b; -import i0.l.e.j; +import d0.t.n; +import d0.z.d.m; +import j0.k.b; +import j0.l.e.j; import java.util.List; import rx.Observable; /* compiled from: OverlayMenuBubbleDialog.kt */ @@ -19,7 +19,7 @@ public final class p implements b> call(Channel channel) { Channel channel2 = channel; if (channel2 == null) { diff --git a/app/src/main/java/c/a/y/p0/a.java b/app/src/main/java/c/a/y/p0/a.java index ab2f495c14..b386a320d7 100644 --- a/app/src/main/java/c/a/y/p0/a.java +++ b/app/src/main/java/c/a/y/p0/a.java @@ -1,6 +1,6 @@ package c.a.y.p0; -import c0.z.d.o; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: StepsView.kt */ diff --git a/app/src/main/java/c/a/y/q.java b/app/src/main/java/c/a/y/q.java index 8c9310b422..ccf67c28da 100644 --- a/app/src/main/java/c/a/y/q.java +++ b/app/src/main/java/c/a/y/q.java @@ -1,11 +1,11 @@ package c.a.y; -import c0.z.d.k; -import c0.z.d.m; import com.discord.models.guild.Guild; import com.discord.rtcconnection.RtcConnection; import com.discord.views.OverlayMenuView; import com.discord.widgets.voice.model.CallModel; +import d0.z.d.k; +import d0.z.d.m; import kotlin.jvm.functions.Function4; /* compiled from: OverlayMenuView.kt */ public final /* synthetic */ class q extends k implements Function4 { diff --git a/app/src/main/java/c/a/y/q0/b.java b/app/src/main/java/c/a/y/q0/b.java index 1cb07c6d05..46347602af 100644 --- a/app/src/main/java/c/a/y/q0/b.java +++ b/app/src/main/java/c/a/y/q0/b.java @@ -1,8 +1,8 @@ package c.a.y.q0; -import c0.z.d.m; -import c0.z.d.o; import com.discord.views.sticker.StickerView; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; import rx.Subscription; diff --git a/app/src/main/java/c/a/y/q0/c.java b/app/src/main/java/c/a/y/q0/c.java index d1a864bc0f..43c1d0fbfc 100644 --- a/app/src/main/java/c/a/y/q0/c.java +++ b/app/src/main/java/c/a/y/q0/c.java @@ -1,10 +1,10 @@ package c.a.y.q0; import android.view.View; -import c0.z.d.m; -import c0.z.d.o; import com.discord.utilities.file.DownloadUtils; import com.discord.views.sticker.StickerView; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: StickerView.kt */ diff --git a/app/src/main/java/c/a/y/q0/d.java b/app/src/main/java/c/a/y/q0/d.java index c637c963e0..838e6208fb 100644 --- a/app/src/main/java/c/a/y/q0/d.java +++ b/app/src/main/java/c/a/y/q0/d.java @@ -1,8 +1,6 @@ package c.a.y.q0; import android.widget.ImageView; -import c0.z.d.m; -import c0.z.d.o; import com.discord.api.sticker.BaseSticker; import com.discord.utilities.file.DownloadUtils; import com.discord.utilities.images.MGImages; @@ -10,6 +8,8 @@ import com.discord.utilities.stickers.StickerUtils; import com.discord.utilities.view.extensions.ViewExtensions; import com.discord.views.sticker.StickerView; import com.facebook.drawee.view.SimpleDraweeView; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Pair; import kotlin.Unit; import kotlin.jvm.functions.Function1; diff --git a/app/src/main/java/c/a/y/q0/f.java b/app/src/main/java/c/a/y/q0/f.java index 28f91999c9..410eceef73 100644 --- a/app/src/main/java/c/a/y/q0/f.java +++ b/app/src/main/java/c/a/y/q0/f.java @@ -1,8 +1,8 @@ package c.a.y.q0; -import c0.z.d.m; -import c0.z.d.o; import com.discord.views.sticker.StickerView; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; import rx.Subscription; diff --git a/app/src/main/java/c/a/y/q0/g.java b/app/src/main/java/c/a/y/q0/g.java index 0a31b0a947..c8cc0221db 100644 --- a/app/src/main/java/c/a/y/q0/g.java +++ b/app/src/main/java/c/a/y/q0/g.java @@ -1,9 +1,9 @@ package c.a.y.q0; import android.view.View; -import c0.z.d.m; -import c0.z.d.o; import com.discord.rlottie.RLottieDrawable; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: StickerView.kt */ @@ -21,8 +21,8 @@ public final class g extends o implements Function1 { @Override // kotlin.jvm.functions.Function1 public Unit invoke(View view) { m.checkNotNullParameter(view, "it"); - this.this$0.this$0.i.f139c.setPlaybackMode(RLottieDrawable.PlaybackMode.LOOP); - this.this$0.this$0.i.f139c.b(); + this.this$0.this$0.i.f138c.setPlaybackMode(RLottieDrawable.PlaybackMode.LOOP); + this.this$0.this$0.i.f138c.b(); return Unit.a; } } diff --git a/app/src/main/java/c/a/y/q0/h.java b/app/src/main/java/c/a/y/q0/h.java index a34162bfc1..527d9a725c 100644 --- a/app/src/main/java/c/a/y/q0/h.java +++ b/app/src/main/java/c/a/y/q0/h.java @@ -2,8 +2,6 @@ package c.a.y.q0; import android.content.Context; import android.widget.ImageView; -import c0.z.d.m; -import c0.z.d.o; import com.discord.api.sticker.BaseSticker; import com.discord.rlottie.RLottieDrawable; import com.discord.rlottie.RLottieImageView; @@ -11,6 +9,8 @@ import com.discord.utilities.file.DownloadUtils; import com.discord.utilities.stickers.StickerUtils; import com.discord.utilities.view.extensions.ViewExtensions; import com.discord.views.sticker.StickerView; +import d0.z.d.m; +import d0.z.d.o; import java.io.File; import java.util.Objects; import kotlin.Pair; @@ -46,11 +46,11 @@ public final class h extends o implements Function1 implements b call(Channel channel) { Channel channel2 = channel; if (channel2 == null) { diff --git a/app/src/main/java/c/a/y/r0/a.java b/app/src/main/java/c/a/y/r0/a.java index 806dc2856b..33f685e3d0 100644 --- a/app/src/main/java/c/a/y/r0/a.java +++ b/app/src/main/java/c/a/y/r0/a.java @@ -1,7 +1,7 @@ package c.a.y.r0; -import c0.z.d.o; import com.discord.views.typing.TypingDots; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: TypingDots.kt */ @@ -17,7 +17,7 @@ public final class a extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { if (this.this$0.isAttachedToWindow()) { this.this$0.a(true); } diff --git a/app/src/main/java/c/a/y/s.java b/app/src/main/java/c/a/y/s.java index 499aaaf5b8..5262a54532 100644 --- a/app/src/main/java/c/a/y/s.java +++ b/app/src/main/java/c/a/y/s.java @@ -1,10 +1,10 @@ package c.a.y; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.utilities.error.Error; import com.discord.views.OverlayMenuView; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: OverlayMenuView.kt */ diff --git a/app/src/main/java/c/a/y/s0/a.java b/app/src/main/java/c/a/y/s0/a.java index a8c469defb..86619ec950 100644 --- a/app/src/main/java/c/a/y/s0/a.java +++ b/app/src/main/java/c/a/y/s0/a.java @@ -1,8 +1,8 @@ package c.a.y.s0; import android.graphics.Bitmap; -import c0.z.d.m; import com.discord.views.user.UserAvatarPresenceView; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function2; /* compiled from: UserAvatarPresenceView.kt */ diff --git a/app/src/main/java/c/a/y/s0/b.java b/app/src/main/java/c/a/y/s0/b.java index b29628ae11..6b1a88bb52 100644 --- a/app/src/main/java/c/a/y/s0/b.java +++ b/app/src/main/java/c/a/y/s0/b.java @@ -2,8 +2,8 @@ package c.a.y.s0; import android.graphics.Bitmap; import c.f.j.q.a; -import c0.z.d.m; import com.discord.views.user.UserAvatarPresenceView; +import d0.z.d.m; import kotlin.Unit; import kotlin.jvm.functions.Function2; /* compiled from: UserAvatarPresenceView.kt */ diff --git a/app/src/main/java/c/a/y/t.java b/app/src/main/java/c/a/y/t.java index 99943965b2..9d313c453b 100644 --- a/app/src/main/java/c/a/y/t.java +++ b/app/src/main/java/c/a/y/t.java @@ -1,13 +1,13 @@ package c.a.y; import android.content.Context; -import c0.z.d.m; -import c0.z.d.o; import com.discord.BuildConfig; import com.discord.R; import com.discord.models.domain.ModelInvite; import com.discord.utilities.analytics.AnalyticsTracker; import com.discord.views.OverlayMenuView; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: OverlayMenuView.kt */ @@ -32,7 +32,7 @@ public final class t extends o implements Function1 { String link = modelInvite2.toLink(this.this$0.getResources(), BuildConfig.HOST_INVITE); m.checkNotNullExpressionValue(link, "invite.toLink(resources, BuildConfig.HOST_INVITE)"); c.a.d.m.a(context, link, R.string.invite_link_copied); - this.this$0.getOnDismissRequested$app_productionGoogleRelease().mo17invoke(); + this.this$0.getOnDismissRequested$app_productionGoogleRelease().mo1invoke(); return Unit.a; } } diff --git a/app/src/main/java/c/a/y/v.java b/app/src/main/java/c/a/y/v.java index 94e0eb8c2d..645a4fdc0a 100644 --- a/app/src/main/java/c/a/y/v.java +++ b/app/src/main/java/c/a/y/v.java @@ -1,7 +1,7 @@ package c.a.y; import com.discord.stores.StoreVoiceParticipants; -import i0.k.b; +import j0.k.b; import java.util.Iterator; import java.util.Map; /* compiled from: OverlayVoiceBubble.kt */ @@ -10,7 +10,7 @@ public final class v implements b map) { T t; Iterator it = map.values().iterator(); diff --git a/app/src/main/java/c/a/y/w.java b/app/src/main/java/c/a/y/w.java index 4a5fb8dd63..d74c15a319 100644 --- a/app/src/main/java/c/a/y/w.java +++ b/app/src/main/java/c/a/y/w.java @@ -6,8 +6,6 @@ import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import c.a.i.s0; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.app.AppComponent; import com.discord.overlay.views.OverlayBubbleWrap; @@ -16,7 +14,9 @@ import com.discord.stores.StoreVoiceParticipants; import com.discord.utilities.icon.IconUtils; import com.discord.utilities.rx.ObservableExtensionsKt; import com.facebook.drawee.view.SimpleDraweeView; -import i0.l.e.j; +import d0.z.d.m; +import d0.z.d.o; +import j0.l.e.j; import java.util.Objects; import kotlin.Unit; import kotlin.jvm.functions.Function0; @@ -26,23 +26,21 @@ import rx.subjects.PublishSubject; import rx.subjects.Subject; /* compiled from: OverlayVoiceBubble.kt */ public final class w extends OverlayBubbleWrap implements AppComponent { - - /* renamed from: w reason: collision with root package name */ - public static final /* synthetic */ int f252w = 0; + public static final /* synthetic */ int w = 0; /* renamed from: x reason: collision with root package name */ - public final s0 f253x; + public final s0 f246x; /* renamed from: y reason: collision with root package name */ - public final Subject f254y; + public final Subject f247y; /* compiled from: OverlayVoiceBubble.kt */ - public static final class a implements i0.k.b> { + public static final class a implements j0.k.b> { public static final a i = new a(); /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // i0.k.b + @Override // j0.k.b public Observable call(Long l) { Long l2 = l; if (l2 != null && l2.longValue() == 0) { @@ -70,7 +68,7 @@ public final class w extends OverlayBubbleWrap implements AppComponent { public Unit invoke(StoreVoiceParticipants.VoiceUser voiceUser) { StoreVoiceParticipants.VoiceUser voiceUser2 = voiceUser; w wVar = this.this$0; - int i = w.f252w; + int i = w.w; if (voiceUser2 == null) { wVar.h(); } else { @@ -91,10 +89,10 @@ public final class w extends OverlayBubbleWrap implements AppComponent { SimpleDraweeView simpleDraweeView = (SimpleDraweeView) inflate; s0 s0Var = new s0(simpleDraweeView, simpleDraweeView); m.checkNotNullExpressionValue(s0Var, "OverlayVoiceBubbleBindin…rom(context), this, true)"); - this.f253x = s0Var; + this.f246x = s0Var; PublishSubject k0 = PublishSubject.k0(); m.checkNotNullExpressionValue(k0, "PublishSubject.create()"); - this.f254y = k0; + this.f247y = k0; } @Override // com.discord.overlay.views.OverlayBubbleWrap @@ -115,14 +113,14 @@ public final class w extends OverlayBubbleWrap implements AppComponent { } public final SimpleDraweeView getImageView$app_productionGoogleRelease() { - SimpleDraweeView simpleDraweeView = this.f253x.b; + SimpleDraweeView simpleDraweeView = this.f246x.b; m.checkNotNullExpressionValue(simpleDraweeView, "binding.overlayBubbleIv"); return simpleDraweeView; } @Override // com.discord.app.AppComponent public Subject getUnsubscribeSignal() { - return this.f254y; + return this.f247y; } public final void h() { diff --git a/app/src/main/java/c/a/y/x.java b/app/src/main/java/c/a/y/x.java index de8fe62f11..f985cbed1d 100644 --- a/app/src/main/java/c/a/y/x.java +++ b/app/src/main/java/c/a/y/x.java @@ -1,8 +1,8 @@ package c.a.y; -import c0.z.d.m; -import c0.z.d.o; import com.discord.widgets.user.search.WidgetGlobalSearchModel; +import d0.z.d.m; +import d0.z.d.o; import java.util.List; import kotlin.Unit; import kotlin.jvm.functions.Function2; @@ -25,7 +25,7 @@ public final class x extends o implements Function2"); m.checkNotNullParameter(list2, ""); if (!m.areEqual(this.this$0.B, this.$searchModel$inlined.getFilter())) { - this.this$0.f255y.f.scrollToPosition(0); + this.this$0.f248y.f.scrollToPosition(0); this.this$0.B = this.$searchModel$inlined.getFilter(); } return Unit.a; diff --git a/app/src/main/java/c/a/y/y.java b/app/src/main/java/c/a/y/y.java index 7f8237f757..8a2756e2a3 100644 --- a/app/src/main/java/c/a/y/y.java +++ b/app/src/main/java/c/a/y/y.java @@ -2,10 +2,10 @@ package c.a.y; import android.content.Context; import android.view.View; -import c0.z.d.m; -import c0.z.d.o; import com.discord.app.DiscordConnectService; import com.discord.widgets.user.search.WidgetGlobalSearchModel; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function4; /* compiled from: OverlayVoiceSelectorBubbleDialog.kt */ diff --git a/app/src/main/java/c/a/y/z.java b/app/src/main/java/c/a/y/z.java index ed2f2b14da..fd46c346c1 100644 --- a/app/src/main/java/c/a/y/z.java +++ b/app/src/main/java/c/a/y/z.java @@ -11,8 +11,6 @@ import android.widget.EditText; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; import c.a.i.t0; -import c0.z.d.m; -import c0.z.d.o; import com.discord.R; import com.discord.api.channel.Channel; import com.discord.api.channel.ChannelUtils; @@ -24,6 +22,8 @@ import com.discord.utilities.view.text.TextWatcher; import com.discord.widgets.user.search.WidgetGlobalSearchAdapter; import com.discord.widgets.user.search.WidgetGlobalSearchModel; import com.google.android.material.textfield.TextInputLayout; +import d0.z.d.m; +import d0.z.d.o; import java.util.ArrayList; import java.util.List; import kotlin.Unit; @@ -37,10 +37,10 @@ public final class z extends l implements AppComponent { public String B; /* renamed from: y reason: collision with root package name */ - public t0 f255y; + public t0 f248y; /* renamed from: z reason: collision with root package name */ - public final WidgetGlobalSearchAdapter f256z; + public final WidgetGlobalSearchAdapter f249z; /* compiled from: OverlayVoiceSelectorBubbleDialog.kt */ public static final class a implements View.OnClickListener { @@ -78,12 +78,12 @@ public final class z extends l implements AppComponent { } /* compiled from: OverlayVoiceSelectorBubbleDialog.kt */ - public static final class c implements i0.k.b { + public static final class c implements j0.k.b { public static final c i = new c(); /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // i0.k.b + @Override // j0.k.b public String call(String str) { return '!' + str; } @@ -106,17 +106,17 @@ public final class z extends l implements AppComponent { WidgetGlobalSearchModel widgetGlobalSearchModel2 = widgetGlobalSearchModel; m.checkNotNullParameter(widgetGlobalSearchModel2, "it"); z zVar = this.this$0; - TextView textView = zVar.f255y.d; + TextView textView = zVar.f248y.d; m.checkNotNullExpressionValue(textView, "binding.emptyResults"); int i = 8; textView.setVisibility(widgetGlobalSearchModel2.getData().isEmpty() ? 0 : 8); - RecyclerView recyclerView = zVar.f255y.f; + RecyclerView recyclerView = zVar.f248y.f; m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv"); if (!widgetGlobalSearchModel2.getData().isEmpty()) { i = 0; } recyclerView.setVisibility(i); - WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = zVar.f256z; + WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = zVar.f249z; widgetGlobalSearchAdapter.setOnUpdated(new x(zVar, widgetGlobalSearchModel2)); List data = widgetGlobalSearchModel2.getData(); ArrayList arrayList = new ArrayList(); @@ -139,40 +139,40 @@ public final class z extends l implements AppComponent { getWindowLayoutParams().flags &= -9; t0 a2 = t0.a(LayoutInflater.from(getContext()), this, true); m.checkNotNullExpressionValue(a2, "OverlayVoiceChannelSelec…rom(context), this, true)"); - this.f255y = a2; - RecyclerView recyclerView = this.f255y.f; + this.f248y = a2; + RecyclerView recyclerView = this.f248y.f; m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv"); - this.f256z = new WidgetGlobalSearchAdapter(recyclerView); + this.f249z = new WidgetGlobalSearchAdapter(recyclerView); } @Override // c.a.y.l public Animator getClosingAnimator() { Animator loadAnimator = AnimatorInflater.loadAnimator(getContext(), R.animator.overlay_slide_down_fade_out); - loadAnimator.setTarget(this.f255y.f163c); + loadAnimator.setTarget(this.f248y.f163c); m.checkNotNullExpressionValue(loadAnimator, "AnimatorInflater.loadAni…binding.dialogCard)\n }"); return loadAnimator; } public final void h() { - this.f255y.b.setOnClickListener(new a(this)); - TextInputLayout textInputLayout = this.f255y.e; + this.f248y.b.setOnClickListener(new a(this)); + TextInputLayout textInputLayout = this.f248y.e; m.checkNotNullExpressionValue(textInputLayout, "binding.overlayChannelSearch"); ViewExtensions.setText(textInputLayout, this.B); - TextInputLayout textInputLayout2 = this.f255y.e; + TextInputLayout textInputLayout2 = this.f248y.e; m.checkNotNullExpressionValue(textInputLayout2, "binding.overlayChannelSearch"); EditText editText = textInputLayout2.getEditText(); if (editText != null) { editText.addTextChangedListener(new TextWatcher(null, null, new b(this), 3, null)); } - WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = this.f256z; - RecyclerView recyclerView = this.f255y.f; + WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = this.f249z; + RecyclerView recyclerView = this.f248y.f; m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv"); widgetGlobalSearchAdapter.setRecycler(recyclerView); - MGRecyclerAdapter.Companion.configure(this.f256z); + MGRecyclerAdapter.Companion.configure(this.f249z); WidgetGlobalSearchModel.Companion companion = WidgetGlobalSearchModel.Companion; Observable F = this.A.F(c.i); m.checkNotNullExpressionValue(F, "filterPublisher.map { \"!$it\" }"); - ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui(companion.getForNav(F), this, this.f256z), z.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new d(this), 62, (Object) null); + ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui(companion.getForNav(F), this, this.f249z), z.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new d(this), 62, (Object) null); } @Override // android.view.View, android.view.ViewGroup @@ -180,7 +180,7 @@ public final class z extends l implements AppComponent { super.onAttachedToWindow(); h(); Animator loadAnimator = AnimatorInflater.loadAnimator(getContext(), R.animator.overlay_slide_up_fade_in); - loadAnimator.setTarget(this.f255y.f163c); + loadAnimator.setTarget(this.f248y.f163c); loadAnimator.start(); } @@ -191,7 +191,7 @@ public final class z extends l implements AppComponent { removeAllViewsInLayout(); t0 a2 = t0.a(LayoutInflater.from(getContext()), this, true); m.checkNotNullExpressionValue(a2, "OverlayVoiceChannelSelec…rom(context), this, true)"); - this.f255y = a2; + this.f248y = a2; h(); } } diff --git a/app/src/main/java/c/a/z/a/a/d.java b/app/src/main/java/c/a/z/a/a/d.java index 31b2256c75..a19aa3e04a 100644 --- a/app/src/main/java/c/a/z/a/a/d.java +++ b/app/src/main/java/c/a/z/a/a/d.java @@ -4,7 +4,7 @@ import c.d.b.a.a; import com.discord.models.member.GuildMember; import com.discord.models.user.User; import com.discord.widgets.channels.SimpleMembersAdapter; -import i0.k.b; +import j0.k.b; import java.util.Map; /* compiled from: lambda */ public final /* synthetic */ class d implements b { @@ -14,7 +14,7 @@ public final /* synthetic */ class d implements b { this.i = map; } - @Override // i0.k.b + @Override // j0.k.b public final Object call(Object obj) { User user = (User) obj; return new SimpleMembersAdapter.MemberItem(user, (GuildMember) a.e(user, this.i)); diff --git a/app/src/main/java/c/a/z/a/a/e.java b/app/src/main/java/c/a/z/a/a/e.java index 236ea2ae9c..83e4026c71 100644 --- a/app/src/main/java/c/a/z/a/a/e.java +++ b/app/src/main/java/c/a/z/a/a/e.java @@ -1,11 +1,11 @@ package c.a.z.a.a; -import c0.z.d.m; import com.discord.api.channel.Channel; import com.discord.stores.StoreStream; import com.discord.utilities.rx.ObservableExtensionsKt; -import i0.k.b; -import i0.l.e.j; +import d0.z.d.m; +import j0.k.b; +import j0.l.e.j; import java.util.concurrent.TimeUnit; import rx.Observable; /* compiled from: lambda */ @@ -20,7 +20,7 @@ public final /* synthetic */ class e implements b { this.k = observable; } - @Override // i0.k.b + @Override // j0.k.b public final Object call(Object obj) { long j = this.i; long j2 = this.j; diff --git a/app/src/main/java/c/a/z/a/a/g.java b/app/src/main/java/c/a/z/a/a/g.java index ac55641fbe..6e53dc8189 100644 --- a/app/src/main/java/c/a/z/a/a/g.java +++ b/app/src/main/java/c/a/z/a/a/g.java @@ -2,7 +2,7 @@ package c.a.z.a.a; import com.discord.api.channel.Channel; import com.discord.widgets.channels.permissions.WidgetChannelSettingsPermissionsAddMember; -import i0.k.b; +import j0.k.b; /* compiled from: lambda */ public final /* synthetic */ class g implements b { public final /* synthetic */ long i; @@ -13,7 +13,7 @@ public final /* synthetic */ class g implements b { this.j = channel; } - @Override // i0.k.b + @Override // j0.k.b public final Object call(Object obj) { return WidgetChannelSettingsPermissionsAddMember.Model.lambda$null$0(this.i, this.j, (String) obj); } diff --git a/app/src/main/java/c/a/z/a/a/h.java b/app/src/main/java/c/a/z/a/a/h.java index 6f50912f90..5e63f857c4 100644 --- a/app/src/main/java/c/a/z/a/a/h.java +++ b/app/src/main/java/c/a/z/a/a/h.java @@ -1,11 +1,11 @@ package c.a.z.a.a; -import i0.k.b; -import i0.l.a.n; -import i0.l.a.o2; -import i0.l.a.r; -import i0.l.e.j; -import i0.l.e.l; +import j0.k.b; +import j0.l.a.n; +import j0.l.a.o2; +import j0.l.a.r; +import j0.l.e.j; +import j0.l.e.l; import java.util.List; import java.util.Map; import rx.Observable; @@ -21,12 +21,12 @@ public final /* synthetic */ class h implements b { this.k = str; } - @Override // i0.k.b + @Override // j0.k.b public final Object call(Object obj) { List list = this.i; Map map = this.j; Observable h02 = Observable.h0(new r(Observable.A(((Map) obj).values()).x(new l(list)).x(new m(map)).x(new k(this.k)).i, new o2(new f(map), 10))); l lVar = l.INSTANCE; - return (h02 instanceof j ? Observable.h0(new n.b(((j) h02).k, lVar)) : Observable.h0(new n(h02, lVar, i0.l.e.h.i))).F(new d(map)).f0(); + return (h02 instanceof j ? Observable.h0(new n.b(((j) h02).k, lVar)) : Observable.h0(new n(h02, lVar, j0.l.e.h.i))).F(new d(map)).f0(); } } diff --git a/app/src/main/java/c/a/z/a/a/i.java b/app/src/main/java/c/a/z/a/a/i.java index 9d29a3f664..4afbd5c41f 100644 --- a/app/src/main/java/c/a/z/a/a/i.java +++ b/app/src/main/java/c/a/z/a/a/i.java @@ -1,7 +1,7 @@ package c.a.z.a.a; import com.discord.stores.StoreStream; -import i0.k.b; +import j0.k.b; import java.util.List; import java.util.Map; /* compiled from: lambda */ @@ -14,7 +14,7 @@ public final /* synthetic */ class i implements b { this.j = str; } - @Override // i0.k.b + @Override // j0.k.b public final Object call(Object obj) { Map map = (Map) obj; return StoreStream.getUsers().observeUsers(map.keySet()).Y(new h(this.i, map, this.j)); diff --git a/app/src/main/java/c/a/z/a/a/k.java b/app/src/main/java/c/a/z/a/a/k.java index 5ba87e7197..a0361d9b41 100644 --- a/app/src/main/java/c/a/z/a/a/k.java +++ b/app/src/main/java/c/a/z/a/a/k.java @@ -1,7 +1,7 @@ package c.a.z.a.a; import com.discord.models.user.User; -import i0.k.b; +import j0.k.b; import java.util.Locale; /* compiled from: lambda */ public final /* synthetic */ class k implements b { @@ -11,7 +11,7 @@ public final /* synthetic */ class k implements b { this.i = str; } - @Override // i0.k.b + @Override // j0.k.b public final Object call(Object obj) { return Boolean.valueOf(((User) obj).getUsername().toLowerCase(Locale.ROOT).contains(this.i)); } diff --git a/app/src/main/java/c/a/z/a/a/l.java b/app/src/main/java/c/a/z/a/a/l.java index af1ceacc30..0e3c6fbdab 100644 --- a/app/src/main/java/c/a/z/a/a/l.java +++ b/app/src/main/java/c/a/z/a/a/l.java @@ -2,7 +2,7 @@ package c.a.z.a.a; import com.discord.api.permission.PermissionOverwrite; import com.discord.models.user.User; -import i0.k.b; +import j0.k.b; import java.util.List; /* compiled from: lambda */ public final /* synthetic */ class l implements b { @@ -12,7 +12,7 @@ public final /* synthetic */ class l implements b { this.i = list; } - @Override // i0.k.b + @Override // j0.k.b public final Object call(Object obj) { List list = this.i; User user = (User) obj; diff --git a/app/src/main/java/c/a/z/a/a/m.java b/app/src/main/java/c/a/z/a/a/m.java index be29e27ec6..ff1568a9ee 100644 --- a/app/src/main/java/c/a/z/a/a/m.java +++ b/app/src/main/java/c/a/z/a/a/m.java @@ -2,7 +2,7 @@ package c.a.z.a.a; import c.d.b.a.a; import com.discord.models.user.User; -import i0.k.b; +import j0.k.b; import java.util.Map; /* compiled from: lambda */ public final /* synthetic */ class m implements b { @@ -12,7 +12,7 @@ public final /* synthetic */ class m implements b { this.i = map; } - @Override // i0.k.b + @Override // j0.k.b public final Object call(Object obj) { return Boolean.valueOf(a.e((User) obj, this.i) != null); } diff --git a/app/src/main/java/c/a/z/a/a/o.java b/app/src/main/java/c/a/z/a/a/o.java index 7bcd3fd9dd..9d12ce8a33 100644 --- a/app/src/main/java/c/a/z/a/a/o.java +++ b/app/src/main/java/c/a/z/a/a/o.java @@ -2,12 +2,12 @@ package c.a.z.a.a; import android.text.TextUtils; import com.discord.widgets.channels.permissions.WidgetChannelSettingsPermissionsAddMember; -import i0.k.b; +import j0.k.b; /* compiled from: lambda */ public final /* synthetic */ class o implements b { public static final /* synthetic */ o i = new o(); - @Override // i0.k.b + @Override // j0.k.b public final Object call(Object obj) { int i2 = WidgetChannelSettingsPermissionsAddMember.i; return Boolean.valueOf(!TextUtils.isEmpty((String) obj)); diff --git a/app/src/main/java/c/a/z/a/a/q.java b/app/src/main/java/c/a/z/a/a/q.java index 6e0ece97ed..2d99f855ef 100644 --- a/app/src/main/java/c/a/z/a/a/q.java +++ b/app/src/main/java/c/a/z/a/a/q.java @@ -2,8 +2,8 @@ package c.a.z.a.a; import com.discord.api.channel.Channel; import com.discord.stores.StoreStream; -import i0.k.b; -import i0.l.e.j; +import j0.k.b; +import j0.l.e.j; import rx.Observable; /* compiled from: lambda */ public final /* synthetic */ class q implements b { @@ -13,7 +13,7 @@ public final /* synthetic */ class q implements b { this.i = j; } - @Override // i0.k.b + @Override // j0.k.b public final Object call(Object obj) { Channel channel = (Channel) obj; return channel == null ? new j(null) : Observable.h(StoreStream.getGuilds().observeGuild(channel.f()), StoreStream.getUsers().observeMe(), StoreStream.getPermissions().observePermissionsForChannel(this.i), StoreStream.getGuilds().observeSortedRoles(channel.f()).Y(new s(channel)), new r(channel)); diff --git a/app/src/main/java/c/a/z/a/a/s.java b/app/src/main/java/c/a/z/a/a/s.java index 997746b5f5..7df52a3938 100644 --- a/app/src/main/java/c/a/z/a/a/s.java +++ b/app/src/main/java/c/a/z/a/a/s.java @@ -1,8 +1,8 @@ package c.a.z.a.a; import com.discord.api.channel.Channel; -import i0.k.b; -import i0.l.a.q; +import j0.k.b; +import j0.l.a.q; import java.util.List; import rx.Observable; /* compiled from: lambda */ @@ -13,7 +13,7 @@ public final /* synthetic */ class s implements b { this.i = channel; } - @Override // i0.k.b + @Override // j0.k.b public final Object call(Object obj) { return Observable.h0(new q((List) obj)).x(new t(this.i)).F(v.i).f0(); } diff --git a/app/src/main/java/c/a/z/a/a/t.java b/app/src/main/java/c/a/z/a/a/t.java index c3a6310e36..427e7d22a8 100644 --- a/app/src/main/java/c/a/z/a/a/t.java +++ b/app/src/main/java/c/a/z/a/a/t.java @@ -2,7 +2,7 @@ package c.a.z.a.a; import com.discord.api.channel.Channel; import com.discord.api.role.GuildRole; -import i0.k.b; +import j0.k.b; /* compiled from: lambda */ public final /* synthetic */ class t implements b { public final /* synthetic */ Channel i; @@ -11,7 +11,7 @@ public final /* synthetic */ class t implements b { this.i = channel; } - @Override // i0.k.b + @Override // j0.k.b public final Object call(Object obj) { Channel channel = this.i; GuildRole guildRole = (GuildRole) obj; diff --git a/app/src/main/java/c/a/z/a/a/v.java b/app/src/main/java/c/a/z/a/a/v.java index 4c6e9769fa..f47989b196 100644 --- a/app/src/main/java/c/a/z/a/a/v.java +++ b/app/src/main/java/c/a/z/a/a/v.java @@ -2,12 +2,12 @@ package c.a.z.a.a; import com.discord.api.role.GuildRole; import com.discord.widgets.channels.SimpleRolesAdapter; -import i0.k.b; +import j0.k.b; /* compiled from: lambda */ public final /* synthetic */ class v implements b { public static final /* synthetic */ v i = new v(); - @Override // i0.k.b + @Override // j0.k.b public final Object call(Object obj) { return new SimpleRolesAdapter.RoleItem((GuildRole) obj); } diff --git a/app/src/main/java/c/b/a/a/a.java b/app/src/main/java/c/b/a/a/a.java index f2190c9d20..91aebbb577 100644 --- a/app/src/main/java/c/b/a/a/a.java +++ b/app/src/main/java/c/b/a/a/a.java @@ -31,9 +31,6 @@ import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentTransaction; import androidx.viewpager.widget.ViewPager; import c.b.a.d.d; -import c0.t.c0; -import c0.z.d.m; -import c0.z.d.o; import com.discord.utilities.color.ColorCompat; import com.google.android.material.floatingactionbutton.FloatingActionButton; import com.google.android.material.tabs.TabLayout; @@ -43,6 +40,9 @@ import com.lytefast.flexinput.model.Attachment; import com.lytefast.flexinput.utils.SelectionAggregator; import com.lytefast.flexinput.utils.SelectionCoordinator; import com.lytefast.flexinput.viewmodel.FlexInputViewModel; +import d0.t.c0; +import d0.z.d.m; +import d0.z.d.o; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; @@ -66,11 +66,11 @@ public class a extends AppCompatDialogFragment { /* compiled from: java-style lambda group */ /* renamed from: c.b.a.a.a$a reason: collision with other inner class name */ - public static final class View$OnClickListenerC0052a implements View.OnClickListener { + public static final class View$OnClickListenerC0051a implements View.OnClickListener { public final /* synthetic */ int i; public final /* synthetic */ Object j; - public View$OnClickListenerC0052a(int i, Object obj) { + public View$OnClickListenerC0051a(int i, Object obj) { this.i = i; this.j = obj; } @@ -94,11 +94,11 @@ public class a extends AppCompatDialogFragment { try { aVar2.startActivityForResult(intent, 5968); } catch (ActivityNotFoundException unused) { - Toast.makeText(aVar2.getContext(), aVar2.getString(R.g.error_generic_title), 0).show(); + Toast.makeText(aVar2.getContext(), aVar2.getString(R.h.error_generic_title), 0).show(); } } else if (i == 2) { FlexInputFragment flexInputFragment = (FlexInputFragment) ((Fragment) this.j); - FlexInputViewModel flexInputViewModel = flexInputFragment.f2925r; + FlexInputViewModel flexInputViewModel = flexInputFragment.r; if (flexInputViewModel != null) { flexInputViewModel.onSendButtonClicked(flexInputFragment.n); } @@ -199,7 +199,7 @@ public class a extends AppCompatDialogFragment { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { TabLayout tabLayout; TabLayout.Tab tabAt; FragmentManager childFragmentManager = this.this$0.getChildFragmentManager(); @@ -355,13 +355,13 @@ public class a extends AppCompatDialogFragment { if (clipData == null) { Uri data = intent.getData(); if (data != null) { - bVar.f(Attachment.Companion.a(data, contentResolver)); + bVar.f(Attachment.Companion.b(data, contentResolver)); return; } return; } - IntRange until = c0.d0.f.until(0, clipData.getItemCount()); - ArrayList arrayList = new ArrayList(c0.t.o.collectionSizeOrDefault(until, 10)); + IntRange until = d0.d0.f.until(0, clipData.getItemCount()); + ArrayList arrayList = new ArrayList(d0.t.o.collectionSizeOrDefault(until, 10)); Iterator it = until.iterator(); while (it.hasNext()) { ClipData.Item itemAt = clipData.getItemAt(((c0) it).nextInt()); @@ -371,7 +371,7 @@ public class a extends AppCompatDialogFragment { for (Uri uri : arrayList) { Attachment.Companion companion = Attachment.Companion; m.checkNotNullExpressionValue(uri, "it"); - bVar.f(companion.a(uri, contentResolver)); + bVar.f(companion.b(uri, contentResolver)); } } } @@ -380,7 +380,7 @@ public class a extends AppCompatDialogFragment { @Override // androidx.appcompat.app.AppCompatDialogFragment, androidx.fragment.app.DialogFragment @SuppressLint({"PrivateResource"}) public Dialog onCreateDialog(Bundle bundle) { - d dVar = new d(this, getContext(), R.h.FlexInput_DialogWhenLarge); + d dVar = new d(this, getContext(), R.i.FlexInput_DialogWhenLarge); dVar.supportRequestWindowFeature(1); Window window = dVar.getWindow(); if (window != null) { @@ -393,16 +393,16 @@ public class a extends AppCompatDialogFragment { @Override // androidx.fragment.app.Fragment public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) { m.checkNotNullParameter(layoutInflater, "inflater"); - View inflate = layoutInflater.inflate(R.f.dialog_add_content_pager_with_fab, viewGroup, false); + View inflate = layoutInflater.inflate(R.g.dialog_add_content_pager_with_fab, viewGroup, false); if (inflate != null) { - inflate.setOnClickListener(new View$OnClickListenerC0052a(0, this)); - this.j = (ViewPager) inflate.findViewById(R.e.content_pager); - this.k = (TabLayout) inflate.findViewById(R.e.content_tabs); - this.l = (FloatingActionButton) inflate.findViewById(R.e.action_btn); - ImageView imageView = (ImageView) inflate.findViewById(R.e.launch_btn); + inflate.setOnClickListener(new View$OnClickListenerC0051a(0, this)); + this.j = (ViewPager) inflate.findViewById(R.f.content_pager); + this.k = (TabLayout) inflate.findViewById(R.f.content_tabs); + this.l = (FloatingActionButton) inflate.findViewById(R.f.action_btn); + ImageView imageView = (ImageView) inflate.findViewById(R.f.launch_btn); this.m = imageView; if (imageView != null) { - imageView.setOnClickListener(new View$OnClickListenerC0052a(1, this)); + imageView.setOnClickListener(new View$OnClickListenerC0051a(1, this)); } FloatingActionButton floatingActionButton = this.l; Objects.requireNonNull(floatingActionButton, "null cannot be cast to non-null type com.google.android.material.floatingactionbutton.FloatingActionButton"); @@ -416,13 +416,13 @@ public class a extends AppCompatDialogFragment { m.checkNotNullParameter(eVar, "onContentPagesInitialized"); try { flexInputFragment.k(); - eVar.mo17invoke(); + eVar.mo1invoke(); } catch (UninitializedPropertyAccessException unused) { - flexInputFragment.f2926w.add(eVar); + flexInputFragment.w.add(eVar); } FloatingActionButton floatingActionButton2 = this.l; if (floatingActionButton2 != null) { - floatingActionButton2.setOnClickListener(new View$OnClickListenerC0052a(2, parentFragment)); + floatingActionButton2.setOnClickListener(new View$OnClickListenerC0051a(2, parentFragment)); } this.n = flexInputFragment.b().addItemSelectionListener(this.q); FloatingActionButton floatingActionButton3 = this.l; diff --git a/app/src/main/java/c/b/a/a/b.java b/app/src/main/java/c/b/a/a/b.java index 9e1ea6cec9..80109f7591 100644 --- a/app/src/main/java/c/b/a/a/b.java +++ b/app/src/main/java/c/b/a/a/b.java @@ -2,10 +2,10 @@ package c.b.a.a; import androidx.fragment.app.Fragment; import androidx.viewpager.widget.ViewPager; -import c0.z.d.m; import com.google.android.material.tabs.TabLayout; import com.lytefast.flexinput.fragment.FlexInputFragment; import com.lytefast.flexinput.viewmodel.FlexInputViewModel; +import d0.z.d.m; /* compiled from: AddContentDialogFragment.kt */ public final class b implements TabLayout.OnTabSelectedListener { public final /* synthetic */ a a; @@ -27,7 +27,7 @@ public final class b implements TabLayout.OnTabSelectedListener { if (position == 3) { this.a.h(false); Fragment parentFragment = this.a.getParentFragment(); - if ((parentFragment instanceof FlexInputFragment) && (flexInputViewModel = ((FlexInputFragment) parentFragment).f2925r) != null) { + if ((parentFragment instanceof FlexInputFragment) && (flexInputViewModel = ((FlexInputFragment) parentFragment).r) != null) { flexInputViewModel.onCreateThreadSelected(); return; } diff --git a/app/src/main/java/c/b/a/a/e.java b/app/src/main/java/c/b/a/a/e.java index 4fdeced0f2..cf56c14db2 100644 --- a/app/src/main/java/c/b/a/a/e.java +++ b/app/src/main/java/c/b/a/a/e.java @@ -1,7 +1,7 @@ package c.b.a.a; import androidx.swiperefreshlayout.widget.SwipeRefreshLayout; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function0; /* compiled from: FilesFragment.kt */ public final class e implements SwipeRefreshLayout.OnRefreshListener { @@ -13,6 +13,6 @@ public final class e implements SwipeRefreshLayout.OnRefreshListener { @Override // androidx.swiperefreshlayout.widget.SwipeRefreshLayout.OnRefreshListener public final /* synthetic */ void onRefresh() { - m.checkNotNullExpressionValue(this.a.mo17invoke(), "invoke(...)"); + m.checkNotNullExpressionValue(this.a.mo1invoke(), "invoke(...)"); } } diff --git a/app/src/main/java/c/b/a/a/f.java b/app/src/main/java/c/b/a/a/f.java index 38ae4e8d04..4a4c976dc8 100644 --- a/app/src/main/java/c/b/a/a/f.java +++ b/app/src/main/java/c/b/a/a/f.java @@ -21,7 +21,7 @@ public final class f implements ViewPager.OnPageChangeListener { @Override // androidx.viewpager.widget.ViewPager.OnPageChangeListener public void onPageSelected(int i) { - FlexInputViewModel flexInputViewModel = this.a.f2925r; + FlexInputViewModel flexInputViewModel = this.a.r; if (flexInputViewModel != null) { flexInputViewModel.onContentDialogPageChanged(i); } diff --git a/app/src/main/java/c/b/a/a/g.java b/app/src/main/java/c/b/a/a/g.java index 1f6526f977..96ffec944a 100644 --- a/app/src/main/java/c/b/a/a/g.java +++ b/app/src/main/java/c/b/a/a/g.java @@ -1,7 +1,7 @@ package c.b.a.a; import android.content.DialogInterface; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import com.lytefast.flexinput.fragment.FlexInputFragment; import com.lytefast.flexinput.viewmodel.FlexInputViewModel; /* compiled from: FlexInputFragment.kt */ @@ -15,8 +15,8 @@ public final class g implements DialogInterface.OnDismissListener { @Override // android.content.DialogInterface.OnDismissListener public final void onDismiss(DialogInterface dialogInterface) { FlexInputViewModel flexInputViewModel; - if (this.i.isAdded() && !this.i.isHidden() && (flexInputViewModel = this.i.f2925r) != null) { - c.c0(flexInputViewModel, false, 1, null); + if (this.i.isAdded() && !this.i.isHidden() && (flexInputViewModel = this.i.r) != null) { + f.E0(flexInputViewModel, false, 1, null); } } } diff --git a/app/src/main/java/c/b/a/a/h.java b/app/src/main/java/c/b/a/a/h.java index 17b2a0ac65..c911a5bf88 100644 --- a/app/src/main/java/c/b/a/a/h.java +++ b/app/src/main/java/c/b/a/a/h.java @@ -1,11 +1,11 @@ package c.b.a.a; import android.view.View; -import c.i.a.f.e.o.c; -import c0.z.d.m; -import c0.z.d.o; +import c.i.a.f.e.o.f; import com.lytefast.flexinput.fragment.FlexInputFragment; import com.lytefast.flexinput.viewmodel.FlexInputViewModel; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: FlexInputFragment.kt */ @@ -23,9 +23,9 @@ public final class h extends o implements Function1 { @Override // kotlin.jvm.functions.Function1 public Unit invoke(View view) { m.checkNotNullParameter(view, "it"); - FlexInputViewModel flexInputViewModel = this.this$0.f2925r; + FlexInputViewModel flexInputViewModel = this.this$0.r; if (flexInputViewModel != null) { - c.c0(flexInputViewModel, false, 1, null); + f.E0(flexInputViewModel, false, 1, null); } return Unit.a; } diff --git a/app/src/main/java/c/b/a/a/i.java b/app/src/main/java/c/b/a/a/i.java index d964b81fb6..9870c7288b 100644 --- a/app/src/main/java/c/b/a/a/i.java +++ b/app/src/main/java/c/b/a/a/i.java @@ -1,9 +1,9 @@ package c.b.a.a; import android.view.View; -import c0.z.d.m; import com.lytefast.flexinput.fragment.FlexInputFragment; import com.lytefast.flexinput.viewmodel.FlexInputViewModel; +import d0.z.d.m; /* compiled from: FlexInputFragment.kt */ public final class i implements View.OnLongClickListener { public final /* synthetic */ FlexInputFragment i; @@ -14,7 +14,7 @@ public final class i implements View.OnLongClickListener { @Override // android.view.View.OnLongClickListener public final boolean onLongClick(View view) { - FlexInputViewModel flexInputViewModel = this.i.f2925r; + FlexInputViewModel flexInputViewModel = this.i.r; if (flexInputViewModel == null) { return false; } diff --git a/app/src/main/java/c/b/a/a/j.java b/app/src/main/java/c/b/a/a/j.java index 2598e087d7..6b9b878a52 100644 --- a/app/src/main/java/c/b/a/a/j.java +++ b/app/src/main/java/c/b/a/a/j.java @@ -1,8 +1,8 @@ package c.b.a.a; import android.util.Log; -import c0.z.d.o; import com.lytefast.flexinput.fragment.FlexInputFragment; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: FlexInputFragment.kt */ diff --git a/app/src/main/java/c/b/a/a/k.java b/app/src/main/java/c/b/a/a/k.java index 7110502ce3..55f7de763d 100644 --- a/app/src/main/java/c/b/a/a/k.java +++ b/app/src/main/java/c/b/a/a/k.java @@ -3,10 +3,10 @@ package c.b.a.a; import android.widget.FrameLayout; import android.widget.ImageView; import androidx.appcompat.widget.AppCompatImageButton; -import c0.z.d.m; -import c0.z.d.o; import com.lytefast.flexinput.R; import com.lytefast.flexinput.fragment.FlexInputFragment; +import d0.z.d.m; +import d0.z.d.o; import kotlin.jvm.functions.Function1; import kotlin.reflect.KProperty; /* compiled from: FlexInputFragment.kt */ @@ -41,10 +41,10 @@ public final class k extends o implements Function1 { i = 0; } imageView.setVisibility(i); - this.this$0.j().i.setImageResource(z2 ? R.d.ic_expression_icon_cutout_24dp : R.d.ic_emoji_24dp); + this.this$0.j().i.setImageResource(z2 ? R.e.ic_expression_icon_cutout_24dp : R.e.ic_emoji_24dp); AppCompatImageButton appCompatImageButton = this.this$0.j().i; m.checkNotNullExpressionValue(appCompatImageButton, "binding.expressionBtn"); - appCompatImageButton.setContentDescription(this.this$0.getString(R.g.toggle_emoji_keyboard)); + appCompatImageButton.setContentDescription(this.this$0.getString(R.h.toggle_emoji_keyboard)); FrameLayout frameLayout2 = this.this$0.j().g; m.checkNotNullExpressionValue(frameLayout2, "binding.defaultWindowInsetsHandler"); frameLayout2.setVisibility(0); diff --git a/app/src/main/java/c/b/a/a/l.java b/app/src/main/java/c/b/a/a/l.java index 465daa3075..14983655ac 100644 --- a/app/src/main/java/c/b/a/a/l.java +++ b/app/src/main/java/c/b/a/a/l.java @@ -3,10 +3,10 @@ package c.b.a.a; import android.widget.FrameLayout; import android.widget.ImageView; import androidx.appcompat.widget.AppCompatImageButton; -import c0.z.d.m; -import c0.z.d.o; import com.lytefast.flexinput.R; import com.lytefast.flexinput.fragment.FlexInputFragment; +import d0.z.d.m; +import d0.z.d.o; import java.util.concurrent.TimeUnit; import kotlin.Unit; import kotlin.jvm.functions.Function0; @@ -35,13 +35,13 @@ public final class l extends o implements Function0 { m.checkNotNullExpressionValue(frameLayout, "binding.expressionTrayContainer"); frameLayout.setVisibility(0); FlexInputFragment.h(this.i.this$0, true); - this.i.this$0.j().i.setImageResource(R.d.ic_keyboard_24dp); + this.i.this$0.j().i.setImageResource(R.e.ic_keyboard_24dp); ImageView imageView = this.i.this$0.j().j; m.checkNotNullExpressionValue(imageView, "binding.expressionBtnBadge"); imageView.setVisibility(8); AppCompatImageButton appCompatImageButton = this.i.this$0.j().i; m.checkNotNullExpressionValue(appCompatImageButton, "binding.expressionBtn"); - appCompatImageButton.setContentDescription(this.i.this$0.getString(R.g.show_keyboard)); + appCompatImageButton.setContentDescription(this.i.this$0.getString(R.h.show_keyboard)); FrameLayout frameLayout2 = this.i.this$0.j().g; m.checkNotNullExpressionValue(frameLayout2, "binding.defaultWindowInsetsHandler"); frameLayout2.setVisibility(8); @@ -57,7 +57,7 @@ public final class l extends o implements Function0 { @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public final void mo17invoke() { - this.this$0.u = Observable.d0(300, TimeUnit.MILLISECONDS).I(i0.j.b.a.a()).V(new a(this)); + public final void mo1invoke() { + this.this$0.u = Observable.d0(300, TimeUnit.MILLISECONDS).I(j0.j.b.a.a()).V(new a(this)); } } diff --git a/app/src/main/java/c/b/a/a/m.java b/app/src/main/java/c/b/a/a/m.java index 53f2d78a08..7abf77ca34 100644 --- a/app/src/main/java/c/b/a/a/m.java +++ b/app/src/main/java/c/b/a/a/m.java @@ -15,9 +15,9 @@ public final class m implements SelectionCoordinator.ItemSelectionListener attachment) { - c0.z.d.m.checkNotNullParameter(attachment, "item"); + d0.z.d.m.checkNotNullParameter(attachment, "item"); FlexInputFragment flexInputFragment = this.a; - FlexInputViewModel flexInputViewModel = flexInputFragment.f2925r; + FlexInputViewModel flexInputViewModel = flexInputFragment.r; if (flexInputViewModel != null) { flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments()); } @@ -26,9 +26,9 @@ public final class m implements SelectionCoordinator.ItemSelectionListener attachment) { - c0.z.d.m.checkNotNullParameter(attachment, "item"); + d0.z.d.m.checkNotNullParameter(attachment, "item"); FlexInputFragment flexInputFragment = this.a; - FlexInputViewModel flexInputViewModel = flexInputFragment.f2925r; + FlexInputViewModel flexInputViewModel = flexInputFragment.r; if (flexInputViewModel != null) { flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments()); } diff --git a/app/src/main/java/c/b/a/a/n.java b/app/src/main/java/c/b/a/a/n.java index 069c32f253..3ff4c7711b 100644 --- a/app/src/main/java/c/b/a/a/n.java +++ b/app/src/main/java/c/b/a/a/n.java @@ -1,6 +1,6 @@ package c.b.a.a; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.functions.Function1; import rx.functions.Action1; /* compiled from: FlexInputFragment.kt */ diff --git a/app/src/main/java/c/b/a/a/o.java b/app/src/main/java/c/b/a/a/o.java index fb6b072049..e3d98e6b55 100644 --- a/app/src/main/java/c/b/a/a/o.java +++ b/app/src/main/java/c/b/a/a/o.java @@ -3,7 +3,7 @@ package c.b.a.a; import android.view.View; import androidx.core.view.OnApplyWindowInsetsListener; import androidx.core.view.WindowInsetsCompat; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: FlexInputFragment.kt */ public final class o implements OnApplyWindowInsetsListener { public static final o a = new o(); diff --git a/app/src/main/java/c/b/a/a/p.java b/app/src/main/java/c/b/a/a/p.java index 79d645dc5b..7a8083efe1 100644 --- a/app/src/main/java/c/b/a/a/p.java +++ b/app/src/main/java/c/b/a/a/p.java @@ -4,8 +4,8 @@ import android.view.View; import androidx.core.view.OnApplyWindowInsetsListener; import androidx.core.view.ViewCompat; import androidx.core.view.WindowInsetsCompat; -import c0.z.d.m; import com.lytefast.flexinput.fragment.FlexInputFragment; +import d0.z.d.m; import kotlin.reflect.KProperty; /* compiled from: FlexInputFragment.kt */ public final class p implements OnApplyWindowInsetsListener { diff --git a/app/src/main/java/c/b/a/d/d.java b/app/src/main/java/c/b/a/d/d.java index 1ab6dd9124..c8f1c8438d 100644 --- a/app/src/main/java/c/b/a/d/d.java +++ b/app/src/main/java/c/b/a/d/d.java @@ -5,7 +5,7 @@ import androidx.annotation.StringRes; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentStatePagerAdapter; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: AddContentPagerAdapter.kt */ public final class d extends FragmentStatePagerAdapter { public final a[] a; diff --git a/app/src/main/java/c/b/a/d/e.java b/app/src/main/java/c/b/a/d/e.java index e3a87e9337..e1252e4db3 100644 --- a/app/src/main/java/c/b/a/d/e.java +++ b/app/src/main/java/c/b/a/d/e.java @@ -1,20 +1,11 @@ package c.b.a.d; -import android.view.View; -import com.lytefast.flexinput.adapters.AttachmentPreviewAdapter; -import com.lytefast.flexinput.model.Attachment; -/* compiled from: AttachmentPreviewAdapter.kt */ -public final class e implements View.OnClickListener { - public final /* synthetic */ AttachmentPreviewAdapter.a i; - public final /* synthetic */ Attachment j; - - public e(AttachmentPreviewAdapter.a aVar, Attachment attachment) { - this.i = aVar; - this.j = attachment; - } - - @Override // android.view.View.OnClickListener - public final void onClick(View view) { - this.i.p.a.unselectItem(this.j); +import d0.u.a; +import java.util.Comparator; +/* compiled from: Comparisons.kt */ +public final class e implements Comparator { + @Override // java.util.Comparator + public final int compare(T t, T t2) { + return a.compareValues(t.getUri(), t2.getUri()); } } diff --git a/app/src/main/java/c/b/a/d/f.java b/app/src/main/java/c/b/a/d/f.java index f86ef97985..5bcc0895e8 100644 --- a/app/src/main/java/c/b/a/d/f.java +++ b/app/src/main/java/c/b/a/d/f.java @@ -1,11 +1,29 @@ package c.b.a.d; -import c0.u.a; +import com.lytefast.flexinput.adapters.FileListAdapter; +import d0.u.a; +import java.io.File; import java.util.Comparator; +import java.util.Objects; /* compiled from: Comparisons.kt */ public final class f implements Comparator { + public final /* synthetic */ FileListAdapter.a i; + + public f(FileListAdapter.a aVar) { + this.i = aVar; + } + @Override // java.util.Comparator public final int compare(T t, T t2) { - return a.compareValues(t.getUri(), t2.getUri()); + Objects.requireNonNull(this.i); + File file = (File) t2.getData(); + long j = 0; + Long valueOf = Long.valueOf(file != null ? file.lastModified() : 0); + Objects.requireNonNull(this.i); + File file2 = (File) t.getData(); + if (file2 != null) { + j = file2.lastModified(); + } + return a.compareValues(valueOf, Long.valueOf(j)); } } diff --git a/app/src/main/java/c/b/a/d/g.java b/app/src/main/java/c/b/a/d/g.java index 38f03a83f2..6a065ea384 100644 --- a/app/src/main/java/c/b/a/d/g.java +++ b/app/src/main/java/c/b/a/d/g.java @@ -1,29 +1,25 @@ package c.b.a.d; -import c0.u.a; -import com.lytefast.flexinput.adapters.FileListAdapter; +import d0.f0.n; +import d0.t.k; +import d0.z.d.m; +import d0.z.d.o; import java.io.File; -import java.util.Comparator; -import java.util.Objects; -/* compiled from: Comparisons.kt */ -public final class g implements Comparator { - public final /* synthetic */ FileListAdapter.a i; +import kotlin.jvm.functions.Function1; +import kotlin.sequences.Sequence; +/* compiled from: FileListAdapter.kt */ +public final class g extends o implements Function1> { + public static final g i = new g(); - public g(FileListAdapter.a aVar) { - this.i = aVar; + public g() { + super(1); } - @Override // java.util.Comparator - public final int compare(T t, T t2) { - Objects.requireNonNull(this.i); - File file = (File) t2.getData(); - long j = 0; - Long valueOf = Long.valueOf(file != null ? file.lastModified() : 0); - Objects.requireNonNull(this.i); - File file2 = (File) t.getData(); - if (file2 != null) { - j = file2.lastModified(); - } - return a.compareValues(valueOf, Long.valueOf(j)); + /* renamed from: a */ + public final Sequence invoke(File file) { + Sequence asSequence; + m.checkNotNullParameter(file, "$this$getFileList"); + File[] listFiles = file.listFiles(); + return (listFiles == null || (asSequence = k.asSequence(listFiles)) == null) ? n.emptySequence() : asSequence; } } diff --git a/app/src/main/java/c/b/a/d/h.java b/app/src/main/java/c/b/a/d/h.java index 1dd161be4d..02ec7b303e 100644 --- a/app/src/main/java/c/b/a/d/h.java +++ b/app/src/main/java/c/b/a/d/h.java @@ -1,25 +1,379 @@ package c.b.a.d; -import c0.f0.n; -import c0.t.k; -import c0.z.d.m; -import c0.z.d.o; -import java.io.File; +import android.animation.Animator; +import android.animation.AnimatorInflater; +import android.animation.AnimatorSet; +import android.content.AsyncQueryHandler; +import android.content.ContentResolver; +import android.content.Context; +import android.database.Cursor; +import android.graphics.drawable.Drawable; +import android.net.Uri; +import android.os.Build; +import android.provider.MediaStore; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.FrameLayout; +import android.widget.TextView; +import androidx.recyclerview.widget.RecyclerView; +import c.b.a.e.c; +import com.discord.utilities.time.TimeUtils; +import com.facebook.drawee.view.SimpleDraweeView; +import com.lytefast.flexinput.R; +import com.lytefast.flexinput.model.Media; +import com.lytefast.flexinput.utils.SelectionCoordinator; +import d0.z.d.m; +import d0.z.d.o; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import kotlin.Unit; import kotlin.jvm.functions.Function1; -import kotlin.sequences.Sequence; -/* compiled from: FileListAdapter.kt */ -public final class h extends o implements Function1> { - public static final h i = new h(); +/* compiled from: MediaCursorAdapter.kt */ +public final class h extends RecyclerView.Adapter { + public final SelectionCoordinator a; + public Cursor b; - public h() { - super(1); + /* renamed from: c reason: collision with root package name */ + public int f250c; + public int d; + public int e; + public int f; + public Integer g; + public final int h; + public final int i; + + /* compiled from: MediaCursorAdapter.kt */ + public final class a extends i implements View.OnClickListener { + public Media o; + public final AnimatorSet p; + public final AnimatorSet q; + public final c r; + + /* renamed from: s reason: collision with root package name */ + public final /* synthetic */ h f251s; + + /* compiled from: MediaCursorAdapter.kt */ + /* renamed from: c.b.a.d.h$a$a reason: collision with other inner class name */ + public static final class C0052a extends o implements Function1 { + public final /* synthetic */ boolean $isAnimationRequested; + + /* JADX INFO: super call moved to the top of the method (can break code semantics) */ + public C0052a(boolean z2) { + super(1); + this.$isAnimationRequested = z2; + } + + public final void a(AnimatorSet animatorSet) { + m.checkNotNullParameter(animatorSet, "animation"); + animatorSet.start(); + if (!this.$isAnimationRequested) { + animatorSet.end(); + } + } + + /* Return type fixed from 'java.lang.Object' to match base method */ + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ + @Override // kotlin.jvm.functions.Function1 + public /* bridge */ /* synthetic */ Unit invoke(AnimatorSet animatorSet) { + a(animatorSet); + return Unit.a; + } + } + + /* JADX WARNING: Illegal instructions before constructor call */ + public a(h hVar, c cVar) { + super(r4); + m.checkNotNullParameter(cVar, "binding"); + this.f251s = hVar; + FrameLayout frameLayout = cVar.a; + m.checkNotNullExpressionValue(frameLayout, "binding.root"); + this.r = cVar; + cVar.a.setOnClickListener(this); + FrameLayout frameLayout2 = cVar.a; + m.checkNotNullExpressionValue(frameLayout2, "binding.root"); + Animator loadAnimator = AnimatorInflater.loadAnimator(frameLayout2.getContext(), R.a.selection_shrink); + Objects.requireNonNull(loadAnimator, "null cannot be cast to non-null type android.animation.AnimatorSet"); + AnimatorSet animatorSet = (AnimatorSet) loadAnimator; + this.p = animatorSet; + animatorSet.setTarget(cVar.b); + FrameLayout frameLayout3 = cVar.a; + m.checkNotNullExpressionValue(frameLayout3, "binding.root"); + Animator loadAnimator2 = AnimatorInflater.loadAnimator(frameLayout3.getContext(), R.a.selection_grow); + Objects.requireNonNull(loadAnimator2, "null cannot be cast to non-null type android.animation.AnimatorSet"); + AnimatorSet animatorSet2 = (AnimatorSet) loadAnimator2; + this.q = animatorSet2; + animatorSet2.setTarget(cVar.b); + } + + @Override // c.b.a.d.i + public SimpleDraweeView a() { + SimpleDraweeView simpleDraweeView = this.r.f255c; + m.checkNotNullExpressionValue(simpleDraweeView, "binding.contentIv"); + return simpleDraweeView; + } + + public final void d(boolean z2, boolean z3) { + FrameLayout frameLayout = this.r.a; + m.checkNotNullExpressionValue(frameLayout, "binding.root"); + frameLayout.setSelected(z2); + C0052a aVar = new C0052a(z3); + if (z2) { + SimpleDraweeView simpleDraweeView = this.r.d; + m.checkNotNullExpressionValue(simpleDraweeView, "binding.itemCheckIndicator"); + simpleDraweeView.setVisibility(0); + FrameLayout frameLayout2 = this.r.b; + m.checkNotNullExpressionValue(frameLayout2, "binding.contentContainer"); + if (frameLayout2.getScaleX() == 1.0f) { + aVar.a(this.p); + return; + } + return; + } + SimpleDraweeView simpleDraweeView2 = this.r.d; + m.checkNotNullExpressionValue(simpleDraweeView2, "binding.itemCheckIndicator"); + simpleDraweeView2.setVisibility(8); + FrameLayout frameLayout3 = this.r.b; + m.checkNotNullExpressionValue(frameLayout3, "binding.contentContainer"); + if (frameLayout3.getScaleX() != 1.0f) { + aVar.a(this.q); + } + } + + @Override // android.view.View.OnClickListener + public void onClick(View view) { + m.checkNotNullParameter(view, "v"); + SelectionCoordinator selectionCoordinator = this.f251s.a; + Media media = this.o; + int adapterPosition = getAdapterPosition(); + Objects.requireNonNull(selectionCoordinator); + if (media != null && !selectionCoordinator.d(media)) { + selectionCoordinator.c(media, adapterPosition); + } + } } - /* renamed from: a */ - public final Sequence invoke(File file) { - Sequence asSequence; - m.checkNotNullParameter(file, "$this$getFileList"); - File[] listFiles = file.listFiles(); - return (listFiles == null || (asSequence = k.asSequence(listFiles)) == null) ? n.emptySequence() : asSequence; + /* compiled from: MediaCursorAdapter.kt */ + public static final class b extends AsyncQueryHandler { + public final /* synthetic */ h a; + + /* JADX INFO: super call moved to the top of the method (can break code semantics) */ + public b(h hVar, ContentResolver contentResolver) { + super(contentResolver); + this.a = hVar; + } + + @Override // android.content.AsyncQueryHandler + public void onQueryComplete(int i, Object obj, Cursor cursor) { + m.checkNotNullParameter(obj, "cookie"); + if (cursor != null) { + h hVar = this.a; + hVar.f250c = cursor.getColumnIndex("_id"); + hVar.d = cursor.getColumnIndex("_data"); + hVar.e = cursor.getColumnIndex("_display_name"); + hVar.f = cursor.getColumnIndex("media_type"); + if (Build.VERSION.SDK_INT >= 29) { + hVar.g = Integer.valueOf(cursor.getColumnIndex("duration")); + } + hVar.b = cursor; + this.a.notifyDataSetChanged(); + } + } + } + + public h(SelectionCoordinator selectionCoordinator, int i, int i2) { + m.checkNotNullParameter(selectionCoordinator, "selectionCoordinator"); + this.h = i; + this.i = i2; + Objects.requireNonNull(selectionCoordinator); + m.checkNotNullParameter(this, "adapter"); + selectionCoordinator.a = this; + this.a = selectionCoordinator; + setHasStableIds(true); + } + + public final Media a(int i) { + String str; + Cursor cursor = this.b; + Media media = null; + r1 = null; + Long l = null; + if (cursor != null) { + cursor.moveToPosition(i); + long j = cursor.getLong(this.f250c); + boolean z2 = cursor.getInt(this.f) == 3; + Uri withAppendedPath = z2 ? Uri.withAppendedPath(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, String.valueOf(j)) : Uri.withAppendedPath(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, String.valueOf(j)); + String str2 = z2 ? "vid" : "img"; + Integer num = this.g; + if (z2 && num != null) { + l = Long.valueOf(cursor.getLong(num.intValue())); + } + m.checkNotNullExpressionValue(withAppendedPath, "fileUri"); + String string = cursor.getString(this.e); + if (string != null) { + str = string; + } else { + str = str2 + '-' + j; + } + media = new Media(j, withAppendedPath, str, cursor.getString(this.d), z2, l); + } + return media; + } + + public final void b(ContentResolver contentResolver) { + m.checkNotNullParameter(contentResolver, "contentResolver"); + int i = Build.VERSION.SDK_INT; + new b(this, contentResolver).startQuery(1, this, MediaStore.Files.getContentUri("external"), i >= 29 ? new String[]{"_id", "_data", "_display_name", "media_type", "duration"} : new String[]{"_id", "_data", "_display_name", "media_type"}, i >= 29 ? "media_type = 1 OR media_type = 3" : "media_type = 1", null, "date_added DESC"); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public int getItemCount() { + Cursor cursor = this.b; + if (cursor != null) { + return cursor.getCount(); + } + return 0; + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public long getItemId(int i) { + Media a2 = a(i); + if (a2 != null) { + return a2.getId(); + } + return -1; + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public void onAttachedToRecyclerView(RecyclerView recyclerView) { + m.checkNotNullParameter(recyclerView, "recyclerView"); + super.onAttachedToRecyclerView(recyclerView); + Context context = recyclerView.getContext(); + m.checkNotNullExpressionValue(context, "recyclerView.context"); + ContentResolver contentResolver = context.getContentResolver(); + m.checkNotNullExpressionValue(contentResolver, "recyclerView.context.contentResolver"); + b(contentResolver); + } + + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [androidx.recyclerview.widget.RecyclerView$ViewHolder, int] */ + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public void onBindViewHolder(a aVar, int i) { + Long l; + a aVar2 = aVar; + m.checkNotNullParameter(aVar2, "holder"); + Media a2 = a(i); + aVar2.o = a2; + FrameLayout frameLayout = aVar2.r.a; + m.checkNotNullExpressionValue(frameLayout, "binding.root"); + Context context = frameLayout.getContext(); + int i2 = 0; + if (a2 != null) { + aVar2.d(aVar2.f251s.a.a(a2, aVar2.getAdapterPosition()), false); + } + aVar2.c(a2, Integer.valueOf(aVar2.f251s.h), Integer.valueOf(aVar2.f251s.i)); + boolean z2 = true; + if (a2 == null || !a2.i) { + z2 = false; + } + TextView textView = aVar2.r.e; + m.checkNotNullExpressionValue(textView, "binding.itemVideoIndicator"); + if (!z2) { + i2 = 8; + } + textView.setVisibility(i2); + if (z2) { + TextView textView2 = aVar2.r.e; + m.checkNotNullExpressionValue(textView2, "binding.itemVideoIndicator"); + Drawable background = textView2.getBackground(); + m.checkNotNullExpressionValue(background, "binding.itemVideoIndicator.background"); + background.setAlpha(127); + long longValue = (a2 == null || (l = a2.j) == null) ? 0 : l.longValue(); + TextView textView3 = aVar2.r.e; + m.checkNotNullExpressionValue(textView3, "binding.itemVideoIndicator"); + textView3.setText(longValue > 0 ? TimeUtils.toFriendlyStringSimple$default(TimeUtils.INSTANCE, longValue, null, null, 6, null) : context.getString(R.h.video)); + } + SimpleDraweeView simpleDraweeView = aVar2.r.f255c; + m.checkNotNullExpressionValue(simpleDraweeView, "binding.contentIv"); + simpleDraweeView.setContentDescription(context.getString(z2 ? R.h.video : R.h.image)); + } + + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [androidx.recyclerview.widget.RecyclerView$ViewHolder, int, java.util.List] */ + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public void onBindViewHolder(a aVar, int i, List list) { + SelectionCoordinator.a aVar2; + Object obj; + a aVar3 = aVar; + m.checkNotNullParameter(aVar3, "holder"); + m.checkNotNullParameter(list, "payloads"); + Iterator it = list.iterator(); + while (true) { + aVar2 = null; + if (!it.hasNext()) { + obj = null; + break; + } + obj = it.next(); + if (obj instanceof SelectionCoordinator.a) { + break; + } + } + if (obj != null) { + if (obj instanceof SelectionCoordinator.a) { + aVar2 = obj; + } + SelectionCoordinator.a aVar4 = aVar2; + if (aVar4 != null) { + aVar3.d(aVar4.b, true); + return; + } + } + super.onBindViewHolder(aVar3, i, list); + } + + /* Return type fixed from 'androidx.recyclerview.widget.RecyclerView$ViewHolder' to match base method */ + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public a onCreateViewHolder(ViewGroup viewGroup, int i) { + m.checkNotNullParameter(viewGroup, "parent"); + View inflate = LayoutInflater.from(viewGroup.getContext()).inflate(R.g.view_grid_image, viewGroup, false); + int i2 = R.f.content_container; + FrameLayout frameLayout = (FrameLayout) inflate.findViewById(i2); + if (frameLayout != null) { + i2 = R.f.content_iv; + SimpleDraweeView simpleDraweeView = (SimpleDraweeView) inflate.findViewById(i2); + if (simpleDraweeView != null) { + i2 = R.f.item_check_indicator; + SimpleDraweeView simpleDraweeView2 = (SimpleDraweeView) inflate.findViewById(i2); + if (simpleDraweeView2 != null) { + i2 = R.f.item_video_indicator; + TextView textView = (TextView) inflate.findViewById(i2); + if (textView != null) { + c cVar = new c((FrameLayout) inflate, frameLayout, simpleDraweeView, simpleDraweeView2, textView); + m.checkNotNullExpressionValue(cVar, "ViewGridImageBinding.inf….context), parent, false)"); + return new a(this, cVar); + } + } + } + } + throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i2))); + } + + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public void onDetachedFromRecyclerView(RecyclerView recyclerView) { + m.checkNotNullParameter(recyclerView, "recyclerView"); + Cursor cursor = this.b; + if (cursor != null) { + cursor.close(); + } + super.onDetachedFromRecyclerView(recyclerView); + } + + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [androidx.recyclerview.widget.RecyclerView$ViewHolder] */ + @Override // androidx.recyclerview.widget.RecyclerView.Adapter + public void onViewRecycled(a aVar) { + a aVar2 = aVar; + m.checkNotNullParameter(aVar2, "holder"); + super.onViewRecycled(aVar2); + aVar2.b(); } } diff --git a/app/src/main/java/c/b/a/d/i.java b/app/src/main/java/c/b/a/d/i.java index 5ab06d96d1..c9ca2ae4d4 100644 --- a/app/src/main/java/c/b/a/d/i.java +++ b/app/src/main/java/c/b/a/d/i.java @@ -1,379 +1,217 @@ package c.b.a.d; -import android.animation.Animator; -import android.animation.AnimatorInflater; -import android.animation.AnimatorSet; -import android.content.AsyncQueryHandler; import android.content.ContentResolver; +import android.content.ContentUris; import android.content.Context; import android.database.Cursor; -import android.graphics.drawable.Drawable; +import android.graphics.Bitmap; +import android.graphics.drawable.BitmapDrawable; +import android.graphics.drawable.ColorDrawable; import android.net.Uri; +import android.os.AsyncTask; import android.os.Build; +import android.os.CancellationSignal; import android.provider.MediaStore; -import android.view.LayoutInflater; import android.view.View; -import android.view.ViewGroup; -import android.widget.FrameLayout; -import android.widget.TextView; +import androidx.annotation.RequiresApi; +import androidx.core.app.NotificationCompat; import androidx.recyclerview.widget.RecyclerView; -import c.b.a.e.c; -import c0.z.d.m; -import c0.z.d.o; -import com.discord.utilities.time.TimeUtils; +import c.f.g.e.r; +import c.f.g.e.s; +import c.i.a.f.e.o.f; +import com.discord.utilities.color.ColorCompat; +import com.facebook.drawee.drawable.ScalingUtils$ScaleType; +import com.facebook.drawee.generic.GenericDraweeHierarchy; import com.facebook.drawee.view.SimpleDraweeView; import com.lytefast.flexinput.R; import com.lytefast.flexinput.model.Media; -import com.lytefast.flexinput.utils.SelectionCoordinator; -import java.util.Iterator; -import java.util.List; -import java.util.Objects; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; -/* compiled from: MediaCursorAdapter.kt */ -public final class i extends RecyclerView.Adapter { - public final SelectionCoordinator a; - public Cursor b; +import kotlin.jvm.internal.DefaultConstructorMarker; +import kotlinx.coroutines.CoroutineDispatcher; +import kotlinx.coroutines.Job; +import s.a.a.n; +import s.a.j0; +import s.a.w0; +/* compiled from: ThumbnailViewHolder.kt */ +public abstract class i extends RecyclerView.ViewHolder { + public static int i; + public static int j; + public static ColorDrawable k; + public static final a l = new a(null); + public b m; + public c n; - /* renamed from: c reason: collision with root package name */ - public int f257c; - public int d; - public int e; - public int f; - public Integer g; - public final int h; - public final int i; + /* compiled from: ThumbnailViewHolder.kt */ + public static final class a { + public a(DefaultConstructorMarker defaultConstructorMarker) { + } - /* compiled from: MediaCursorAdapter.kt */ - public final class a extends j implements View.OnClickListener { - public Media o; - public final AnimatorSet p; - public final AnimatorSet q; + public static final boolean a(a aVar) { + return Build.VERSION.SDK_INT >= 29; + } + } - /* renamed from: r reason: collision with root package name */ - public final c f258r; - public final /* synthetic */ i s; + /* compiled from: ThumbnailViewHolder.kt */ + @RequiresApi(29) + public static final class b { + public Job a; + public CancellationSignal b; - /* compiled from: MediaCursorAdapter.kt */ - /* renamed from: c.b.a.d.i$a$a reason: collision with other inner class name */ - public static final class C0053a extends o implements Function1 { - public final /* synthetic */ boolean $isAnimationRequested; + /* renamed from: c reason: collision with root package name */ + public Bitmap f252c; + public final ContentResolver d; - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public C0053a(boolean z2) { - super(1); - this.$isAnimationRequested = z2; - } + public b(ContentResolver contentResolver) { + m.checkNotNullParameter(contentResolver, "contentResolver"); + this.d = contentResolver; + } - public final void a(AnimatorSet animatorSet) { - m.checkNotNullParameter(animatorSet, "animation"); - animatorSet.start(); - if (!this.$isAnimationRequested) { - animatorSet.end(); + public final void a() { + if (a.a(i.l)) { + Job job = this.a; + if (job != null) { + f.p(job, null, 1, null); + } + CancellationSignal cancellationSignal = this.b; + if (cancellationSignal != null) { + cancellationSignal.cancel(); } } - - /* Return type fixed from 'java.lang.Object' to match base method */ - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // kotlin.jvm.functions.Function1 - public /* bridge */ /* synthetic */ Unit invoke(AnimatorSet animatorSet) { - a(animatorSet); - return Unit.a; + Bitmap bitmap = this.f252c; + if (bitmap != null) { + bitmap.recycle(); } + this.f252c = null; + } + } + + /* compiled from: ThumbnailViewHolder.kt */ + public static final class c { + public final ContentResolver a; + + public c(ContentResolver contentResolver) { + m.checkNotNullParameter(contentResolver, "contentResolver"); + this.a = contentResolver; + } + } + + /* compiled from: ThumbnailViewHolder.kt */ + public static final class d extends o implements Function1 { + public final /* synthetic */ i this$0; + + /* JADX INFO: super call moved to the top of the method (can break code semantics) */ + public d(i iVar) { + super(1); + this.this$0 = iVar; } - /* JADX WARNING: Illegal instructions before constructor call */ - public a(i iVar, c cVar) { - super(r4); - m.checkNotNullParameter(cVar, "binding"); - this.s = iVar; - FrameLayout frameLayout = cVar.a; - m.checkNotNullExpressionValue(frameLayout, "binding.root"); - this.f258r = cVar; - cVar.a.setOnClickListener(this); - FrameLayout frameLayout2 = cVar.a; - m.checkNotNullExpressionValue(frameLayout2, "binding.root"); - Animator loadAnimator = AnimatorInflater.loadAnimator(frameLayout2.getContext(), R.a.selection_shrink); - Objects.requireNonNull(loadAnimator, "null cannot be cast to non-null type android.animation.AnimatorSet"); - AnimatorSet animatorSet = (AnimatorSet) loadAnimator; - this.p = animatorSet; - animatorSet.setTarget(cVar.b); - FrameLayout frameLayout3 = cVar.a; - m.checkNotNullExpressionValue(frameLayout3, "binding.root"); - Animator loadAnimator2 = AnimatorInflater.loadAnimator(frameLayout3.getContext(), R.a.selection_grow); - Objects.requireNonNull(loadAnimator2, "null cannot be cast to non-null type android.animation.AnimatorSet"); - AnimatorSet animatorSet2 = (AnimatorSet) loadAnimator2; - this.q = animatorSet2; - animatorSet2.setTarget(cVar.b); + /* Return type fixed from 'java.lang.Object' to match base method */ + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ + @Override // kotlin.jvm.functions.Function1 + public Unit invoke(Bitmap bitmap) { + BitmapDrawable bitmapDrawable = new BitmapDrawable(this.this$0.a().getResources(), bitmap); + GenericDraweeHierarchy hierarchy = this.this$0.a().getHierarchy(); + ScalingUtils$ScaleType scalingUtils$ScaleType = ScalingUtils$ScaleType.a; + ScalingUtils$ScaleType scalingUtils$ScaleType2 = s.l; + hierarchy.o(1, bitmapDrawable); + hierarchy.l(1).r(scalingUtils$ScaleType2); + return Unit.a; } + } - @Override // c.b.a.d.j - public SimpleDraweeView a() { - SimpleDraweeView simpleDraweeView = this.f258r.f261c; - m.checkNotNullExpressionValue(simpleDraweeView, "binding.contentIv"); - return simpleDraweeView; + /* JADX INFO: super call moved to the top of the method (can break code semantics) */ + public i(View view) { + super(view); + m.checkNotNullParameter(view, "itemView"); + if (Build.VERSION.SDK_INT >= 29) { + Context context = view.getContext(); + m.checkNotNullExpressionValue(context, "itemView.context"); + ContentResolver contentResolver = context.getContentResolver(); + m.checkNotNullExpressionValue(contentResolver, "itemView.context.contentResolver"); + this.m = new b(contentResolver); + return; } + Context context2 = view.getContext(); + m.checkNotNullExpressionValue(context2, "itemView.context"); + ContentResolver contentResolver2 = context2.getContentResolver(); + m.checkNotNullExpressionValue(contentResolver2, "itemView.context.contentResolver"); + this.n = new c(contentResolver2); + } - public final void d(boolean z2, boolean z3) { - FrameLayout frameLayout = this.f258r.a; - m.checkNotNullExpressionValue(frameLayout, "binding.root"); - frameLayout.setSelected(z2); - C0053a aVar = new C0053a(z3); - if (z2) { - SimpleDraweeView simpleDraweeView = this.f258r.d; - m.checkNotNullExpressionValue(simpleDraweeView, "binding.itemCheckIndicator"); - simpleDraweeView.setVisibility(0); - FrameLayout frameLayout2 = this.f258r.b; - m.checkNotNullExpressionValue(frameLayout2, "binding.contentContainer"); - if (frameLayout2.getScaleX() == 1.0f) { - aVar.a(this.p); + public abstract SimpleDraweeView a(); + + public final void b() { + b bVar; + if ((Build.VERSION.SDK_INT >= 29) && (bVar = this.m) != null) { + bVar.a(); + } + } + + /* JADX WARNING: Code restructure failed: missing block: B:30:0x00c9, code lost: + r13 = move-exception; + */ + /* JADX WARNING: Code restructure failed: missing block: B:31:0x00ca, code lost: + d0.y.b.closeFinally(r0, r12); + */ + /* JADX WARNING: Code restructure failed: missing block: B:32:0x00cd, code lost: + throw r13; + */ + public final void c(Media media, Integer num, Integer num2) { + if (k == null) { + View view = this.itemView; + m.checkNotNullExpressionValue(view, "itemView"); + k = new ColorDrawable(ColorCompat.getThemedColor(view, R.b.flexInputDialogBackground)); + } + if (num != null) { + i = num.intValue(); + } + if (num2 != null) { + j = num2.intValue(); + } + if (media != null) { + Uri uri = null; + if (Build.VERSION.SDK_INT >= 29) { + ColorDrawable colorDrawable = k; + ScalingUtils$ScaleType scalingUtils$ScaleType = ScalingUtils$ScaleType.a; + a().getHierarchy().q(colorDrawable, r.l); + b bVar = this.m; + if (bVar != null) { + Uri uri2 = media.getUri(); + d dVar = new d(this); + m.checkNotNullParameter(uri2, NotificationCompat.MessagingStyle.Message.KEY_DATA_URI); + m.checkNotNullParameter(dVar, "onGenerate"); + bVar.a(); + w0 w0Var = w0.i; + CoroutineDispatcher coroutineDispatcher = j0.a; + bVar.a = f.x0(w0Var, n.b, null, new j(bVar, uri2, dVar, null), 2, null); return; } return; } - SimpleDraweeView simpleDraweeView2 = this.f258r.d; - m.checkNotNullExpressionValue(simpleDraweeView2, "binding.itemCheckIndicator"); - simpleDraweeView2.setVisibility(8); - FrameLayout frameLayout3 = this.f258r.b; - m.checkNotNullExpressionValue(frameLayout3, "binding.contentContainer"); - if (frameLayout3.getScaleX() != 1.0f) { - aVar.a(this.q); - } - } - - @Override // android.view.View.OnClickListener - public void onClick(View view) { - m.checkNotNullParameter(view, "v"); - SelectionCoordinator selectionCoordinator = this.s.a; - Media media = this.o; - int adapterPosition = getAdapterPosition(); - Objects.requireNonNull(selectionCoordinator); - if (media != null && !selectionCoordinator.d(media)) { - selectionCoordinator.c(media, adapterPosition); - } - } - } - - /* compiled from: MediaCursorAdapter.kt */ - public static final class b extends AsyncQueryHandler { - public final /* synthetic */ i a; - - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public b(i iVar, ContentResolver contentResolver) { - super(contentResolver); - this.a = iVar; - } - - @Override // android.content.AsyncQueryHandler - public void onQueryComplete(int i, Object obj, Cursor cursor) { - m.checkNotNullParameter(obj, "cookie"); - if (cursor != null) { - i iVar = this.a; - iVar.f257c = cursor.getColumnIndex("_id"); - iVar.d = cursor.getColumnIndex("_data"); - iVar.e = cursor.getColumnIndex("_display_name"); - iVar.f = cursor.getColumnIndex("media_type"); - if (Build.VERSION.SDK_INT >= 29) { - iVar.g = Integer.valueOf(cursor.getColumnIndex("duration")); - } - iVar.b = cursor; - this.a.notifyDataSetChanged(); - } - } - } - - public i(SelectionCoordinator selectionCoordinator, int i, int i2) { - m.checkNotNullParameter(selectionCoordinator, "selectionCoordinator"); - this.h = i; - this.i = i2; - Objects.requireNonNull(selectionCoordinator); - m.checkNotNullParameter(this, "adapter"); - selectionCoordinator.a = this; - this.a = selectionCoordinator; - setHasStableIds(true); - } - - public final Media a(int i) { - String str; - Cursor cursor = this.b; - Media media = null; - r1 = null; - Long l = null; - if (cursor != null) { - cursor.moveToPosition(i); - long j = cursor.getLong(this.f257c); - boolean z2 = cursor.getInt(this.f) == 3; - Uri withAppendedPath = z2 ? Uri.withAppendedPath(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, String.valueOf(j)) : Uri.withAppendedPath(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, String.valueOf(j)); - String str2 = z2 ? "vid" : "img"; - Integer num = this.g; - if (z2 && num != null) { - l = Long.valueOf(cursor.getLong(num.intValue())); - } - m.checkNotNullExpressionValue(withAppendedPath, "fileUri"); - String string = cursor.getString(this.e); - if (string != null) { - str = string; - } else { - str = str2 + '-' + j; - } - media = new Media(j, withAppendedPath, str, cursor.getString(this.d), z2, l); - } - return media; - } - - public final void b(ContentResolver contentResolver) { - m.checkNotNullParameter(contentResolver, "contentResolver"); - int i = Build.VERSION.SDK_INT; - new b(this, contentResolver).startQuery(1, this, MediaStore.Files.getContentUri("external"), i >= 29 ? new String[]{"_id", "_data", "_display_name", "media_type", "duration"} : new String[]{"_id", "_data", "_display_name", "media_type"}, i >= 29 ? "media_type = 1 OR media_type = 3" : "media_type = 1", null, "date_added DESC"); - } - - @Override // androidx.recyclerview.widget.RecyclerView.Adapter - public int getItemCount() { - Cursor cursor = this.b; - if (cursor != null) { - return cursor.getCount(); - } - return 0; - } - - @Override // androidx.recyclerview.widget.RecyclerView.Adapter - public long getItemId(int i) { - Media a2 = a(i); - if (a2 != null) { - return a2.getId(); - } - return -1; - } - - @Override // androidx.recyclerview.widget.RecyclerView.Adapter - public void onAttachedToRecyclerView(RecyclerView recyclerView) { - m.checkNotNullParameter(recyclerView, "recyclerView"); - super.onAttachedToRecyclerView(recyclerView); - Context context = recyclerView.getContext(); - m.checkNotNullExpressionValue(context, "recyclerView.context"); - ContentResolver contentResolver = context.getContentResolver(); - m.checkNotNullExpressionValue(contentResolver, "recyclerView.context.contentResolver"); - b(contentResolver); - } - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [androidx.recyclerview.widget.RecyclerView$ViewHolder, int] */ - @Override // androidx.recyclerview.widget.RecyclerView.Adapter - public void onBindViewHolder(a aVar, int i) { - Long l; - a aVar2 = aVar; - m.checkNotNullParameter(aVar2, "holder"); - Media a2 = a(i); - aVar2.o = a2; - FrameLayout frameLayout = aVar2.f258r.a; - m.checkNotNullExpressionValue(frameLayout, "binding.root"); - Context context = frameLayout.getContext(); - int i2 = 0; - if (a2 != null) { - aVar2.d(aVar2.s.a.a(a2, aVar2.getAdapterPosition()), false); - } - aVar2.c(a2, Integer.valueOf(aVar2.s.h), Integer.valueOf(aVar2.s.i)); - boolean z2 = true; - if (a2 == null || !a2.i) { - z2 = false; - } - TextView textView = aVar2.f258r.e; - m.checkNotNullExpressionValue(textView, "binding.itemVideoIndicator"); - if (!z2) { - i2 = 8; - } - textView.setVisibility(i2); - if (z2) { - TextView textView2 = aVar2.f258r.e; - m.checkNotNullExpressionValue(textView2, "binding.itemVideoIndicator"); - Drawable background = textView2.getBackground(); - m.checkNotNullExpressionValue(background, "binding.itemVideoIndicator.background"); - background.setAlpha(127); - long longValue = (a2 == null || (l = a2.j) == null) ? 0 : l.longValue(); - TextView textView3 = aVar2.f258r.e; - m.checkNotNullExpressionValue(textView3, "binding.itemVideoIndicator"); - textView3.setText(longValue > 0 ? TimeUtils.toFriendlyStringSimple$default(TimeUtils.INSTANCE, longValue, null, null, 6, null) : context.getString(R.g.video)); - } - SimpleDraweeView simpleDraweeView = aVar2.f258r.f261c; - m.checkNotNullExpressionValue(simpleDraweeView, "binding.contentIv"); - simpleDraweeView.setContentDescription(context.getString(z2 ? R.g.video : R.g.image)); - } - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [androidx.recyclerview.widget.RecyclerView$ViewHolder, int, java.util.List] */ - @Override // androidx.recyclerview.widget.RecyclerView.Adapter - public void onBindViewHolder(a aVar, int i, List list) { - SelectionCoordinator.a aVar2; - Object obj; - a aVar3 = aVar; - m.checkNotNullParameter(aVar3, "holder"); - m.checkNotNullParameter(list, "payloads"); - Iterator it = list.iterator(); - while (true) { - aVar2 = null; - if (!it.hasNext()) { - obj = null; - break; - } - obj = it.next(); - if (obj instanceof SelectionCoordinator.a) { - break; - } - } - if (obj != null) { - if (obj instanceof SelectionCoordinator.a) { - aVar2 = obj; - } - SelectionCoordinator.a aVar4 = aVar2; - if (aVar4 != null) { - aVar3.d(aVar4.b, true); - return; - } - } - super.onBindViewHolder(aVar3, i, list); - } - - /* Return type fixed from 'androidx.recyclerview.widget.RecyclerView$ViewHolder' to match base method */ - @Override // androidx.recyclerview.widget.RecyclerView.Adapter - public a onCreateViewHolder(ViewGroup viewGroup, int i) { - m.checkNotNullParameter(viewGroup, "parent"); - View inflate = LayoutInflater.from(viewGroup.getContext()).inflate(R.f.view_grid_image, viewGroup, false); - int i2 = R.e.content_container; - FrameLayout frameLayout = (FrameLayout) inflate.findViewById(i2); - if (frameLayout != null) { - i2 = R.e.content_iv; - SimpleDraweeView simpleDraweeView = (SimpleDraweeView) inflate.findViewById(i2); - if (simpleDraweeView != null) { - i2 = R.e.item_check_indicator; - SimpleDraweeView simpleDraweeView2 = (SimpleDraweeView) inflate.findViewById(i2); - if (simpleDraweeView2 != null) { - i2 = R.e.item_video_indicator; - TextView textView = (TextView) inflate.findViewById(i2); - if (textView != null) { - c cVar = new c((FrameLayout) inflate, frameLayout, simpleDraweeView, simpleDraweeView2, textView); - m.checkNotNullExpressionValue(cVar, "ViewGridImageBinding.inf….context), parent, false)"); - return new a(this, cVar); + c cVar = this.n; + if (cVar != null) { + long id2 = media.getId(); + Uri uri3 = media.getUri(); + m.checkNotNullParameter(uri3, NotificationCompat.MessagingStyle.Message.KEY_DATA_URI); + m mVar = new m(id2); + Cursor query = cVar.a.query(MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, new String[]{"_id"}, "image_id = ? AND KIND = ?", new String[]{String.valueOf(id2), String.valueOf(1)}, null); + if (query == null || !query.moveToFirst()) { + ContentResolver contentResolver = cVar.a; + m.checkNotNullParameter(contentResolver, "contentResolver"); + AsyncTask.execute(new l(mVar, contentResolver)); + if (query != null) { + query.close(); } + } else { + uri3 = ContentUris.withAppendedId(MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, query.getLong(0)); + d0.y.b.closeFinally(query, null); } + uri = uri3; } + a().setImageURI(uri, a().getContext()); } - throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i2))); - } - - @Override // androidx.recyclerview.widget.RecyclerView.Adapter - public void onDetachedFromRecyclerView(RecyclerView recyclerView) { - m.checkNotNullParameter(recyclerView, "recyclerView"); - Cursor cursor = this.b; - if (cursor != null) { - cursor.close(); - } - super.onDetachedFromRecyclerView(recyclerView); - } - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [androidx.recyclerview.widget.RecyclerView$ViewHolder] */ - @Override // androidx.recyclerview.widget.RecyclerView.Adapter - public void onViewRecycled(a aVar) { - a aVar2 = aVar; - m.checkNotNullParameter(aVar2, "holder"); - super.onViewRecycled(aVar2); - aVar2.b(); } } diff --git a/app/src/main/java/c/b/a/d/j.java b/app/src/main/java/c/b/a/d/j.java index 2a3d9524f7..7634256be5 100644 --- a/app/src/main/java/c/b/a/d/j.java +++ b/app/src/main/java/c/b/a/d/j.java @@ -1,216 +1,82 @@ package c.b.a.d; import android.content.ContentResolver; -import android.content.ContentUris; -import android.content.Context; -import android.database.Cursor; import android.graphics.Bitmap; -import android.graphics.drawable.BitmapDrawable; -import android.graphics.drawable.ColorDrawable; import android.net.Uri; -import android.os.AsyncTask; -import android.os.Build; import android.os.CancellationSignal; -import android.provider.MediaStore; -import android.view.View; -import androidx.annotation.RequiresApi; -import androidx.core.app.NotificationCompat; -import androidx.recyclerview.widget.RecyclerView; -import c.f.g.e.r; -import c.f.g.e.s; -import c0.z.d.m; -import c0.z.d.o; -import com.discord.utilities.color.ColorCompat; -import com.facebook.drawee.drawable.ScalingUtils$ScaleType; -import com.facebook.drawee.generic.GenericDraweeHierarchy; -import com.facebook.drawee.view.SimpleDraweeView; -import com.lytefast.flexinput.R; -import com.lytefast.flexinput.model.Media; +import c.b.a.d.i; +import c.i.a.f.e.o.f; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.w.i.a.k; +import d0.z.d.m; +import java.util.Objects; import kotlin.Unit; +import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function1; -import kotlin.jvm.internal.DefaultConstructorMarker; -import kotlinx.coroutines.CoroutineDispatcher; -import kotlinx.coroutines.Job; -import r.a.a.n; -import r.a.j0; -import r.a.w0; +import kotlin.jvm.functions.Function2; +import kotlinx.coroutines.CoroutineScope; +import s.a.j0; /* compiled from: ThumbnailViewHolder.kt */ -public abstract class j extends RecyclerView.ViewHolder { - public static int i; - public static int j; - public static ColorDrawable k; - public static final a l = new a(null); - public b m; - public c n; - - /* compiled from: ThumbnailViewHolder.kt */ - public static final class a { - public a(DefaultConstructorMarker defaultConstructorMarker) { - } - - public static final boolean a(a aVar) { - return Build.VERSION.SDK_INT >= 29; - } - } - - /* compiled from: ThumbnailViewHolder.kt */ - @RequiresApi(29) - public static final class b { - public Job a; - public CancellationSignal b; - - /* renamed from: c reason: collision with root package name */ - public Bitmap f259c; - public final ContentResolver d; - - public b(ContentResolver contentResolver) { - m.checkNotNullParameter(contentResolver, "contentResolver"); - this.d = contentResolver; - } - - public final void a() { - if (a.a(j.l)) { - Job job = this.a; - if (job != null) { - c.q.a.k.a.k(job, null, 1, null); - } - CancellationSignal cancellationSignal = this.b; - if (cancellationSignal != null) { - cancellationSignal.cancel(); - } - } - Bitmap bitmap = this.f259c; - if (bitmap != null) { - bitmap.recycle(); - } - this.f259c = null; - } - } - - /* compiled from: ThumbnailViewHolder.kt */ - public static final class c { - public final ContentResolver a; - - public c(ContentResolver contentResolver) { - m.checkNotNullParameter(contentResolver, "contentResolver"); - this.a = contentResolver; - } - } - - /* compiled from: ThumbnailViewHolder.kt */ - public static final class d extends o implements Function1 { - public final /* synthetic */ j this$0; - - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public d(j jVar) { - super(1); - this.this$0 = jVar; - } - - /* Return type fixed from 'java.lang.Object' to match base method */ - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // kotlin.jvm.functions.Function1 - public Unit invoke(Bitmap bitmap) { - BitmapDrawable bitmapDrawable = new BitmapDrawable(this.this$0.a().getResources(), bitmap); - GenericDraweeHierarchy hierarchy = this.this$0.a().getHierarchy(); - ScalingUtils$ScaleType scalingUtils$ScaleType = ScalingUtils$ScaleType.a; - ScalingUtils$ScaleType scalingUtils$ScaleType2 = s.l; - hierarchy.o(1, bitmapDrawable); - hierarchy.l(1).r(scalingUtils$ScaleType2); - return Unit.a; - } - } +@e(c = "com.lytefast.flexinput.adapters.ThumbnailViewHolder$ThumbnailBitmapGenerator$generate$1", f = "ThumbnailViewHolder.kt", l = {102}, m = "invokeSuspend") +public final class j extends k implements Function2, Object> { + public final /* synthetic */ Function1 $onGenerate; + public final /* synthetic */ Uri $uri; + public Object L$0; + public int label; + public final /* synthetic */ i.b this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public j(View view) { - super(view); - m.checkNotNullParameter(view, "itemView"); - if (Build.VERSION.SDK_INT >= 29) { - Context context = view.getContext(); - m.checkNotNullExpressionValue(context, "itemView.context"); - ContentResolver contentResolver = context.getContentResolver(); - m.checkNotNullExpressionValue(contentResolver, "itemView.context.contentResolver"); - this.m = new b(contentResolver); - return; - } - Context context2 = view.getContext(); - m.checkNotNullExpressionValue(context2, "itemView.context"); - ContentResolver contentResolver2 = context2.getContentResolver(); - m.checkNotNullExpressionValue(contentResolver2, "itemView.context.contentResolver"); - this.n = new c(contentResolver2); + public j(i.b bVar, Uri uri, Function1 function1, Continuation continuation) { + super(2, continuation); + this.this$0 = bVar; + this.$uri = uri; + this.$onGenerate = function1; } - public abstract SimpleDraweeView a(); - - public final void b() { - b bVar; - if ((Build.VERSION.SDK_INT >= 29) && (bVar = this.m) != null) { - bVar.a(); - } + @Override // d0.w.i.a.a + public final Continuation create(Object obj, Continuation continuation) { + m.checkNotNullParameter(continuation, "completion"); + return new j(this.this$0, this.$uri, this.$onGenerate, continuation); } - /* JADX WARNING: Code restructure failed: missing block: B:30:0x00c9, code lost: - r13 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:31:0x00ca, code lost: - c0.y.b.closeFinally(r0, r12); - */ - /* JADX WARNING: Code restructure failed: missing block: B:32:0x00cd, code lost: - throw r13; - */ - public final void c(Media media, Integer num, Integer num2) { - if (k == null) { - View view = this.itemView; - m.checkNotNullExpressionValue(view, "itemView"); - k = new ColorDrawable(ColorCompat.getThemedColor(view, R.b.flexInputDialogBackground)); - } - if (num != null) { - i = num.intValue(); - } - if (num2 != null) { - j = num2.intValue(); - } - if (media != null) { - Uri uri = null; - if (Build.VERSION.SDK_INT >= 29) { - ColorDrawable colorDrawable = k; - ScalingUtils$ScaleType scalingUtils$ScaleType = ScalingUtils$ScaleType.a; - a().getHierarchy().q(colorDrawable, r.l); - b bVar = this.m; - if (bVar != null) { - Uri uri2 = media.getUri(); - d dVar = new d(this); - m.checkNotNullParameter(uri2, NotificationCompat.MessagingStyle.Message.KEY_DATA_URI); - m.checkNotNullParameter(dVar, "onGenerate"); - bVar.a(); - w0 w0Var = w0.i; - CoroutineDispatcher coroutineDispatcher = j0.a; - bVar.a = c.q.a.k.a.H(w0Var, n.b, null, new k(bVar, uri2, dVar, null), 2, null); - return; - } - return; + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ + @Override // kotlin.jvm.functions.Function2 + public final Object invoke(CoroutineScope coroutineScope, Continuation continuation) { + Continuation continuation2 = continuation; + m.checkNotNullParameter(continuation2, "completion"); + return new j(this.this$0, this.$uri, this.$onGenerate, continuation2).invokeSuspend(Unit.a); + } + + @Override // d0.w.i.a.a + public final Object invokeSuspend(Object obj) { + i.b bVar; + Object coroutine_suspended = c.getCOROUTINE_SUSPENDED(); + int i = this.label; + if (i == 0) { + l.throwOnFailure(obj); + this.this$0.b = new CancellationSignal(); + i.b bVar2 = this.this$0; + ContentResolver contentResolver = bVar2.d; + Uri uri = this.$uri; + this.L$0 = bVar2; + this.label = 1; + Objects.requireNonNull(bVar2); + Object k1 = f.k1(j0.b, new k(bVar2, contentResolver, uri, null), this); + if (k1 == coroutine_suspended) { + return coroutine_suspended; } - c cVar = this.n; - if (cVar != null) { - long id2 = media.getId(); - Uri uri3 = media.getUri(); - m.checkNotNullParameter(uri3, NotificationCompat.MessagingStyle.Message.KEY_DATA_URI); - n nVar = new n(id2); - Cursor query = cVar.a.query(MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, new String[]{"_id"}, "image_id = ? AND KIND = ?", new String[]{String.valueOf(id2), String.valueOf(1)}, null); - if (query == null || !query.moveToFirst()) { - ContentResolver contentResolver = cVar.a; - m.checkNotNullParameter(contentResolver, "contentResolver"); - AsyncTask.execute(new m(nVar, contentResolver)); - if (query != null) { - query.close(); - } - } else { - uri3 = ContentUris.withAppendedId(MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, query.getLong(0)); - c0.y.b.closeFinally(query, null); - } - uri = uri3; - } - a().setImageURI(uri, a().getContext()); + bVar = bVar2; + obj = k1; + } else if (i == 1) { + bVar = (i.b) this.L$0; + l.throwOnFailure(obj); + } else { + throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } + bVar.f252c = (Bitmap) obj; + this.$onGenerate.invoke(this.this$0.f252c); + return Unit.a; } } diff --git a/app/src/main/java/c/b/a/d/k.java b/app/src/main/java/c/b/a/d/k.java index 1d6a179fab..e4c9629a89 100644 --- a/app/src/main/java/c/b/a/d/k.java +++ b/app/src/main/java/c/b/a/d/k.java @@ -3,79 +3,58 @@ package c.b.a.d; import android.content.ContentResolver; import android.graphics.Bitmap; import android.net.Uri; -import android.os.CancellationSignal; -import c.b.a.d.j; -import c.q.a.k.a; -import c0.l; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.z.d.m; -import java.util.Objects; +import android.util.Size; +import c.b.a.d.i; +import d0.l; +import d0.w.h.c; +import d0.w.i.a.e; +import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; -import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function2; import kotlinx.coroutines.CoroutineScope; -import r.a.j0; /* compiled from: ThumbnailViewHolder.kt */ -@e(c = "com.lytefast.flexinput.adapters.ThumbnailViewHolder$ThumbnailBitmapGenerator$generate$1", f = "ThumbnailViewHolder.kt", l = {103}, m = "invokeSuspend") -public final class k extends c0.w.i.a.k implements Function2, Object> { - public final /* synthetic */ Function1 $onGenerate; +@e(c = "com.lytefast.flexinput.adapters.ThumbnailViewHolder$ThumbnailBitmapGenerator$getThumbnailQ$2", f = "ThumbnailViewHolder.kt", l = {}, m = "invokeSuspend") +public final class k extends d0.w.i.a.k implements Function2, Object> { + public final /* synthetic */ ContentResolver $contentResolver; public final /* synthetic */ Uri $uri; - public Object L$0; public int label; - public final /* synthetic */ j.b this$0; + public final /* synthetic */ i.b this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public k(j.b bVar, Uri uri, Function1 function1, Continuation continuation) { + public k(i.b bVar, ContentResolver contentResolver, Uri uri, Continuation continuation) { super(2, continuation); this.this$0 = bVar; + this.$contentResolver = contentResolver; this.$uri = uri; - this.$onGenerate = function1; } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Continuation create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); - return new k(this.this$0, this.$uri, this.$onGenerate, continuation); + return new k(this.this$0, this.$contentResolver, this.$uri, continuation); } /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // kotlin.jvm.functions.Function2 - public final Object invoke(CoroutineScope coroutineScope, Continuation continuation) { - Continuation continuation2 = continuation; + public final Object invoke(CoroutineScope coroutineScope, Continuation continuation) { + Continuation continuation2 = continuation; m.checkNotNullParameter(continuation2, "completion"); - return new k(this.this$0, this.$uri, this.$onGenerate, continuation2).invokeSuspend(Unit.a); + return new k(this.this$0, this.$contentResolver, this.$uri, continuation2).invokeSuspend(Unit.a); } - @Override // c0.w.i.a.a + @Override // d0.w.i.a.a public final Object invokeSuspend(Object obj) { - j.b bVar; - Object coroutine_suspended = c.getCOROUTINE_SUSPENDED(); - int i = this.label; - if (i == 0) { + c.getCOROUTINE_SUSPENDED(); + if (this.label == 0) { l.throwOnFailure(obj); - this.this$0.b = new CancellationSignal(); - j.b bVar2 = this.this$0; - ContentResolver contentResolver = bVar2.d; - Uri uri = this.$uri; - this.L$0 = bVar2; - this.label = 1; - Objects.requireNonNull(bVar2); - Object j0 = a.j0(j0.b, new l(bVar2, contentResolver, uri, null), this); - if (j0 == coroutine_suspended) { - return coroutine_suspended; + try { + return this.$contentResolver.loadThumbnail(this.$uri, new Size(i.i, i.j), this.this$0.b); + } catch (Exception unused) { + return null; } - bVar = bVar2; - obj = j0; - } else if (i == 1) { - bVar = (j.b) this.L$0; - l.throwOnFailure(obj); } else { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } - bVar.f259c = (Bitmap) obj; - this.$onGenerate.invoke(this.this$0.f259c); - return Unit.a; } } diff --git a/app/src/main/java/c/b/a/d/l.java b/app/src/main/java/c/b/a/d/l.java index ac1f19f979..70a909b073 100644 --- a/app/src/main/java/c/b/a/d/l.java +++ b/app/src/main/java/c/b/a/d/l.java @@ -1,60 +1,30 @@ package c.b.a.d; import android.content.ContentResolver; -import android.graphics.Bitmap; -import android.net.Uri; -import android.util.Size; -import c.b.a.d.j; -import c0.w.h.c; -import c0.w.i.a.e; -import c0.w.i.a.k; -import c0.z.d.m; -import kotlin.Unit; -import kotlin.coroutines.Continuation; -import kotlin.jvm.functions.Function2; -import kotlinx.coroutines.CoroutineScope; +import android.provider.MediaStore; +import android.util.Log; +import c.d.b.a.a; +import com.lytefast.flexinput.model.Media; /* compiled from: ThumbnailViewHolder.kt */ -@e(c = "com.lytefast.flexinput.adapters.ThumbnailViewHolder$ThumbnailBitmapGenerator$getThumbnailQ$2", f = "ThumbnailViewHolder.kt", l = {}, m = "invokeSuspend") -public final class l extends k implements Function2, Object> { - public final /* synthetic */ ContentResolver $contentResolver; - public final /* synthetic */ Uri $uri; - public int label; - public final /* synthetic */ j.b this$0; +public final class l implements Runnable { + public final /* synthetic */ m i; + public final /* synthetic */ ContentResolver j; - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public l(j.b bVar, ContentResolver contentResolver, Uri uri, Continuation continuation) { - super(2, continuation); - this.this$0 = bVar; - this.$contentResolver = contentResolver; - this.$uri = uri; + public l(m mVar, ContentResolver contentResolver) { + this.i = mVar; + this.j = contentResolver; } - @Override // c0.w.i.a.a - public final Continuation create(Object obj, Continuation continuation) { - m.checkNotNullParameter(continuation, "completion"); - return new l(this.this$0, this.$contentResolver, this.$uri, continuation); - } - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ - @Override // kotlin.jvm.functions.Function2 - public final Object invoke(CoroutineScope coroutineScope, Continuation continuation) { - Continuation continuation2 = continuation; - m.checkNotNullParameter(continuation2, "completion"); - return new l(this.this$0, this.$contentResolver, this.$uri, continuation2).invokeSuspend(Unit.a); - } - - @Override // c0.w.i.a.a - public final Object invokeSuspend(Object obj) { - c.getCOROUTINE_SUSPENDED(); - if (this.label == 0) { - c0.l.throwOnFailure(obj); - try { - return this.$contentResolver.loadThumbnail(this.$uri, new Size(j.i, j.j), this.this$0.b); - } catch (Exception unused) { - return null; - } - } else { - throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); + @Override // java.lang.Runnable + public final void run() { + try { + MediaStore.Images.Thumbnails.getThumbnail(this.j, this.i.$id, 1, null); + } catch (Exception unused) { + String name = Media.class.getName(); + StringBuilder R = a.R("Error generating thumbnail for photo "); + R.append(this.i.$id); + R.append('.'); + Log.v(name, R.toString()); } } } diff --git a/app/src/main/java/c/b/a/d/m.java b/app/src/main/java/c/b/a/d/m.java index 0dcd707406..a26a58331a 100644 --- a/app/src/main/java/c/b/a/d/m.java +++ b/app/src/main/java/c/b/a/d/m.java @@ -1,30 +1,27 @@ package c.b.a.d; import android.content.ContentResolver; -import android.provider.MediaStore; -import android.util.Log; -import c.d.b.a.a; -import com.lytefast.flexinput.model.Media; +import android.os.AsyncTask; +import d0.z.d.o; +import kotlin.Unit; +import kotlin.jvm.functions.Function1; /* compiled from: ThumbnailViewHolder.kt */ -public final class m implements Runnable { - public final /* synthetic */ n i; - public final /* synthetic */ ContentResolver j; +public final class m extends o implements Function1 { + public final /* synthetic */ long $id; - public m(n nVar, ContentResolver contentResolver) { - this.i = nVar; - this.j = contentResolver; + /* JADX INFO: super call moved to the top of the method (can break code semantics) */ + public m(long j) { + super(1); + this.$id = j; } - @Override // java.lang.Runnable - public final void run() { - try { - MediaStore.Images.Thumbnails.getThumbnail(this.j, this.i.$id, 1, null); - } catch (Exception unused) { - String name = Media.class.getName(); - StringBuilder O = a.O("Error generating thumbnail for photo "); - O.append(this.i.$id); - O.append('.'); - Log.v(name, O.toString()); - } + /* Return type fixed from 'java.lang.Object' to match base method */ + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ + @Override // kotlin.jvm.functions.Function1 + public Unit invoke(ContentResolver contentResolver) { + ContentResolver contentResolver2 = contentResolver; + d0.z.d.m.checkNotNullParameter(contentResolver2, "contentResolver"); + AsyncTask.execute(new l(this, contentResolver2)); + return Unit.a; } } diff --git a/app/src/main/java/c/b/a/d/n.java b/app/src/main/java/c/b/a/d/n.java deleted file mode 100644 index e7c4d70ee6..0000000000 --- a/app/src/main/java/c/b/a/d/n.java +++ /dev/null @@ -1,28 +0,0 @@ -package c.b.a.d; - -import android.content.ContentResolver; -import android.os.AsyncTask; -import c0.z.d.m; -import c0.z.d.o; -import kotlin.Unit; -import kotlin.jvm.functions.Function1; -/* compiled from: ThumbnailViewHolder.kt */ -public final class n extends o implements Function1 { - public final /* synthetic */ long $id; - - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public n(long j) { - super(1); - this.$id = j; - } - - /* Return type fixed from 'java.lang.Object' to match base method */ - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // kotlin.jvm.functions.Function1 - public Unit invoke(ContentResolver contentResolver) { - ContentResolver contentResolver2 = contentResolver; - m.checkNotNullParameter(contentResolver2, "contentResolver"); - AsyncTask.execute(new m(this, contentResolver2)); - return Unit.a; - } -} diff --git a/app/src/main/java/c/b/a/e/a.java b/app/src/main/java/c/b/a/e/a.java index b36c99b82b..5db7f837ef 100644 --- a/app/src/main/java/c/b/a/e/a.java +++ b/app/src/main/java/c/b/a/e/a.java @@ -19,7 +19,7 @@ public final class a implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final LinearLayout f260c; + public final LinearLayout f253c; @NonNull public final RecyclerView d; @NonNull @@ -52,7 +52,7 @@ public final class a implements ViewBinding { public a(@NonNull LinearLayout linearLayout, @NonNull AppCompatImageButton appCompatImageButton, @NonNull LinearLayout linearLayout2, @NonNull RecyclerView recyclerView, @NonNull TextView textView, @NonNull LinearLayout linearLayout3, @NonNull FrameLayout frameLayout, @NonNull AppCompatImageButton appCompatImageButton2, @NonNull AppCompatImageButton appCompatImageButton3, @NonNull ImageView imageView, @NonNull FrameLayout frameLayout2, @NonNull FrameLayout frameLayout3, @NonNull AppCompatImageButton appCompatImageButton4, @NonNull AppCompatImageButton appCompatImageButton5, @NonNull LinearLayout linearLayout4, @NonNull LinearLayout linearLayout5, @NonNull FrameLayout frameLayout4, @NonNull ImageView imageView2, @NonNull FlexEditText flexEditText) { this.a = linearLayout; this.b = appCompatImageButton; - this.f260c = linearLayout2; + this.f253c = linearLayout2; this.d = recyclerView; this.e = textView; this.f = linearLayout3; diff --git a/app/src/main/java/c/b/a/e/b.java b/app/src/main/java/c/b/a/e/b.java index 69076b9eda..197c8a9671 100644 --- a/app/src/main/java/c/b/a/e/b.java +++ b/app/src/main/java/c/b/a/e/b.java @@ -2,15 +2,30 @@ package c.b.a.e; import android.view.View; import androidx.annotation.NonNull; +import androidx.constraintlayout.widget.ConstraintLayout; import androidx.viewbinding.ViewBinding; import com.facebook.drawee.view.SimpleDraweeView; /* compiled from: ViewAttachmentPreviewItemBinding */ public final class b implements ViewBinding { @NonNull - public final SimpleDraweeView a; + public final ConstraintLayout a; + @NonNull + public final SimpleDraweeView b; + @NonNull - public b(@NonNull SimpleDraweeView simpleDraweeView) { - this.a = simpleDraweeView; + /* renamed from: c reason: collision with root package name */ + public final SimpleDraweeView f254c; + @NonNull + public final View d; + @NonNull + public final SimpleDraweeView e; + + public b(@NonNull ConstraintLayout constraintLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull View view, @NonNull SimpleDraweeView simpleDraweeView3) { + this.a = constraintLayout; + this.b = simpleDraweeView; + this.f254c = simpleDraweeView2; + this.d = view; + this.e = simpleDraweeView3; } @Override // androidx.viewbinding.ViewBinding diff --git a/app/src/main/java/c/b/a/e/c.java b/app/src/main/java/c/b/a/e/c.java index e1a1a4969e..406c6c7f9a 100644 --- a/app/src/main/java/c/b/a/e/c.java +++ b/app/src/main/java/c/b/a/e/c.java @@ -15,7 +15,7 @@ public final class c implements ViewBinding { @NonNull /* renamed from: c reason: collision with root package name */ - public final SimpleDraweeView f261c; + public final SimpleDraweeView f255c; @NonNull public final SimpleDraweeView d; @NonNull @@ -24,7 +24,7 @@ public final class c implements ViewBinding { public c(@NonNull FrameLayout frameLayout, @NonNull FrameLayout frameLayout2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull TextView textView) { this.a = frameLayout; this.b = frameLayout2; - this.f261c = simpleDraweeView; + this.f255c = simpleDraweeView; this.d = simpleDraweeView2; this.e = textView; } diff --git a/app/src/main/java/c/b/a/f/b.java b/app/src/main/java/c/b/a/f/b.java index 336d89d32d..753cfd7f82 100644 --- a/app/src/main/java/c/b/a/f/b.java +++ b/app/src/main/java/c/b/a/f/b.java @@ -5,9 +5,9 @@ import android.net.Uri; import android.os.Environment; import androidx.core.content.FileProvider; import c.d.b.a.a; -import c0.z.d.m; import com.lytefast.flexinput.R; import com.lytefast.flexinput.managers.FileManager; +import d0.z.d.m; import java.io.File; import java.text.SimpleDateFormat; import java.util.Date; @@ -18,7 +18,7 @@ public class b implements FileManager { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f262c; + public final String f256c; public b(Context context, String str, String str2, int i) { String str3; @@ -29,7 +29,7 @@ public class b implements FileManager { str3 = null; } if ((i & 4) != 0) { - str4 = context.getString(R.g.discord); + str4 = context.getString(R.h.discord); m.checkNotNullExpressionValue(str4, "context.getString(R.string.discord)"); } m.checkNotNullParameter(context, "context"); @@ -37,7 +37,7 @@ public class b implements FileManager { m.checkNotNullParameter(str4, "imageDirName"); this.a = context; this.b = str3; - this.f262c = str4; + this.f256c = str4; } @Override // com.lytefast.flexinput.managers.FileManager @@ -53,12 +53,12 @@ public class b implements FileManager { public File b() { String format = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.getDefault()).format(new Date()); Context context = this.a; - File file = new File(context.getExternalFilesDir(Environment.DIRECTORY_PICTURES), this.f262c); + File file = new File(context.getExternalFilesDir(Environment.DIRECTORY_PICTURES), this.f256c); file.mkdirs(); if (!file.exists()) { file = context.getFilesDir(); m.checkNotNullExpressionValue(file, "context.filesDir"); } - return new File(file, a.u(format, ".jpg")); + return new File(file, a.v(format, ".jpg")); } } diff --git a/app/src/main/java/c/b/a/g/a.java b/app/src/main/java/c/b/a/g/a.java index 680d3c5056..6baa1909fb 100644 --- a/app/src/main/java/c/b/a/g/a.java +++ b/app/src/main/java/c/b/a/g/a.java @@ -1,8 +1,8 @@ package c.b.a.g; import android.net.Uri; -import c0.z.d.m; import com.lytefast.flexinput.model.Attachment; +import d0.z.d.m; import java.io.File; /* compiled from: FileUtils.kt */ public final class a { @@ -12,6 +12,6 @@ public final class a { m.checkNotNullExpressionValue(fromFile, "Uri.fromFile(this)"); String name = file.getName(); m.checkNotNullExpressionValue(name, "this.name"); - return new Attachment<>((long) file.hashCode(), fromFile, name, file); + return new Attachment<>((long) file.hashCode(), fromFile, name, file, false, 16, null); } } diff --git a/app/src/main/java/c/b/a/h/a.java b/app/src/main/java/c/b/a/h/a.java index 93fa411821..0544225fe7 100644 --- a/app/src/main/java/c/b/a/h/a.java +++ b/app/src/main/java/c/b/a/h/a.java @@ -2,17 +2,17 @@ package c.b.a.h; import androidx.annotation.StringRes; import androidx.core.app.NotificationCompat; -import c0.z.d.m; +import d0.z.d.m; import kotlin.jvm.internal.DefaultConstructorMarker; /* compiled from: FlexInputEvent.kt */ public abstract class a { /* compiled from: FlexInputEvent.kt */ /* renamed from: c.b.a.h.a$a reason: collision with other inner class name */ - public static final class C0054a extends a { - public static final C0054a a = new C0054a(); + public static final class C0053a extends a { + public static final C0053a a = new C0053a(); - public C0054a() { + public C0053a() { super(null); } } @@ -62,7 +62,7 @@ public abstract class a { } public String toString() { - return c.d.b.a.a.G(c.d.b.a.a.O("ShowToast(text="), this.a, ")"); + return c.d.b.a.a.H(c.d.b.a.a.R("ShowToast(text="), this.a, ")"); } } @@ -87,7 +87,7 @@ public abstract class a { } public String toString() { - return c.d.b.a.a.z(c.d.b.a.a.O("ShowToastStringRes(textResId="), this.a, ")"); + return c.d.b.a.a.A(c.d.b.a.a.R("ShowToastStringRes(textResId="), this.a, ")"); } } diff --git a/app/src/main/java/c/b/a/i/a.java b/app/src/main/java/c/b/a/i/a.java index d4c93cf0d8..888aedcbe0 100644 --- a/app/src/main/java/c/b/a/i/a.java +++ b/app/src/main/java/c/b/a/i/a.java @@ -4,10 +4,10 @@ import android.content.ContentResolver; import android.content.Context; import androidx.core.os.EnvironmentCompat; import androidx.core.view.inputmethod.InputContentInfoCompat; -import c0.z.d.m; -import c0.z.d.o; import com.lytefast.flexinput.model.Attachment; import com.lytefast.flexinput.widget.FlexEditText; +import d0.z.d.m; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: FlexEditText.kt */ @@ -31,7 +31,7 @@ public final class a extends o implements Function1 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.c.a.a0.h0 public d a(c cVar, float f) throws IOException { - boolean z2 = cVar.w() == c.b.BEGIN_ARRAY; + boolean z2 = cVar.u() == c.b.BEGIN_ARRAY; if (z2) { cVar.a(); } - float p = (float) cVar.p(); - float p2 = (float) cVar.p(); + float n = (float) cVar.n(); + float n2 = (float) cVar.n(); while (cVar.e()) { cVar.C(); } if (z2) { cVar.c(); } - return new d((p / 100.0f) * f, (p2 / 100.0f) * f); + return new d((n / 100.0f) * f, (n2 / 100.0f) * f); } } diff --git a/app/src/main/java/c/c/a/a0/b0.java b/app/src/main/java/c/c/a/a0/b0.java index 684201ecee..1e2d653088 100644 --- a/app/src/main/java/c/c/a/a0/b0.java +++ b/app/src/main/java/c/c/a/a0/b0.java @@ -17,7 +17,7 @@ public class b0 implements h0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.c.a.a0.h0 public k a(c cVar, float f) throws IOException { - if (cVar.w() == c.b.BEGIN_ARRAY) { + if (cVar.u() == c.b.BEGIN_ARRAY) { cVar.a(); } cVar.b(); @@ -26,22 +26,22 @@ public class b0 implements h0 { List list3 = null; boolean z2 = false; while (cVar.e()) { - int z3 = cVar.z(b); - if (z3 == 0) { + int y2 = cVar.y(b); + if (y2 == 0) { z2 = cVar.f(); - } else if (z3 == 1) { + } else if (y2 == 1) { list = p.c(cVar, f); - } else if (z3 == 2) { + } else if (y2 == 2) { list2 = p.c(cVar, f); - } else if (z3 != 3) { - cVar.B(); + } else if (y2 != 3) { + cVar.A(); cVar.C(); } else { list3 = p.c(cVar, f); } } cVar.d(); - if (cVar.w() == c.b.END_ARRAY) { + if (cVar.u() == c.b.END_ARRAY) { cVar.c(); } if (list == null || list2 == null || list3 == null) { diff --git a/app/src/main/java/c/c/a/a0/c.java b/app/src/main/java/c/c/a/a0/c.java index adeb1bc063..0c8df3c7c2 100644 --- a/app/src/main/java/c/c/a/a0/c.java +++ b/app/src/main/java/c/c/a/a0/c.java @@ -40,10 +40,10 @@ public class c { g gVar2; b bVar3; m mVar; - b r1; + b p1; b bVar4; boolean z4 = false; - boolean z5 = cVar.w() == c.b.BEGIN_OBJECT; + boolean z5 = cVar.u() == c.b.BEGIN_OBJECT; if (z5) { cVar.b(); } @@ -57,15 +57,15 @@ public class c { b bVar8 = null; b bVar9 = null; while (cVar.e()) { - switch (cVar.z(a)) { + switch (cVar.y(a)) { case 0: gVar2 = gVar3; bVar3 = bVar6; mVar = mVar2; cVar.b(); while (cVar.e()) { - if (cVar.z(b) != 0) { - cVar.B(); + if (cVar.y(b) != 0) { + cVar.A(); cVar.C(); } else { eVar = a.a(cVar, dVar); @@ -82,20 +82,20 @@ public class c { case 2: bVar3 = bVar6; mVar = mVar2; - gVar3 = new g(d.o1(cVar, dVar, a0.a)); + gVar3 = new g(d.m1(cVar, dVar, a0.a)); mVar2 = mVar; break; case 3: dVar.a("Lottie doesn't support 3D layers."); - r1 = d.r1(cVar, dVar, z4); - if (!r1.a.isEmpty()) { - bVar4 = r1; + p1 = d.p1(cVar, dVar, z4); + if (!p1.a.isEmpty()) { + bVar4 = p1; gVar2 = gVar3; bVar3 = bVar6; mVar = mVar2; - r1.a.add(new a(dVar, Float.valueOf(0.0f), Float.valueOf(0.0f), null, 0.0f, Float.valueOf(dVar.l))); + p1.a.add(new a(dVar, Float.valueOf(0.0f), Float.valueOf(0.0f), null, 0.0f, Float.valueOf(dVar.l))); } else { - bVar4 = r1; + bVar4 = p1; gVar2 = gVar3; bVar3 = bVar6; mVar = mVar2; @@ -108,31 +108,31 @@ public class c { mVar2 = mVar; break; case 4: - r1 = d.r1(cVar, dVar, z4); - if (!r1.a.isEmpty()) { + p1 = d.p1(cVar, dVar, z4); + if (!p1.a.isEmpty()) { } bVar5 = bVar4; gVar3 = gVar2; mVar2 = mVar; break; case 5: - dVar2 = d.s1(cVar, dVar); + dVar2 = d.q1(cVar, dVar); continue; case 6: - bVar8 = d.r1(cVar, dVar, z4); + bVar8 = d.p1(cVar, dVar, z4); continue; case 7: - bVar9 = d.r1(cVar, dVar, z4); + bVar9 = d.p1(cVar, dVar, z4); continue; case 8: - bVar7 = d.r1(cVar, dVar, z4); + bVar7 = d.p1(cVar, dVar, z4); continue; case 9: - bVar6 = d.r1(cVar, dVar, z4); + bVar6 = d.p1(cVar, dVar, z4); continue; default: bVar3 = bVar6; - cVar.B(); + cVar.A(); cVar.C(); break; } diff --git a/app/src/main/java/c/c/a/a0/d.java b/app/src/main/java/c/c/a/a0/d.java index 54dee9c276..e1e8eb7dd3 100644 --- a/app/src/main/java/c/c/a/a0/d.java +++ b/app/src/main/java/c/c/a/a0/d.java @@ -1,19 +1,15 @@ package c.c.a.a0; -import android.content.ContentValues; +import android.annotation.TargetApi; import android.content.Context; import android.content.Intent; +import android.content.pm.PackageManager; import android.content.res.TypedArray; -import android.database.Cursor; -import android.database.SQLException; -import android.database.sqlite.SQLiteDatabase; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.graphics.drawable.StateListDrawable; import android.media.MediaFormat; import android.net.Uri; -import android.opengl.GLES20; -import android.opengl.GLU; import android.os.Build; import android.os.Bundle; import android.os.Handler; @@ -25,6 +21,8 @@ import android.os.PowerManager; import android.os.Process; import android.os.Trace; import android.text.Spannable; +import android.text.SpannableString; +import android.text.Spanned; import android.text.TextUtils; import android.util.AttributeSet; import android.util.Base64; @@ -40,34 +38,29 @@ import androidx.core.text.TextUtilsCompat; import androidx.core.view.ViewCompat; import androidx.recyclerview.widget.ItemTouchHelper; import c.c.a.b0.g; -import c.f.b.a.c; import c.f.d.d.i; import c.f.g.e.b0; import c.f.g.e.d0; +import c.f.g.e.e0; import c.f.g.e.p; import c.f.g.e.r; import c.f.g.e.s; -import c.f.g.e.t; import c.f.g.e.u; import c.f.g.e.v; -import c.f.g.e.w; -import c.f.g.e.x; -import c.f.g.e.z; +import c.f.g.f.c; import c.f.j.d.e; import c.f.m.h; import c.g.a.a.p; -import c.g.a.c.c0.e0; -import c.g.a.c.h0.m; import c.g.a.c.j; -import c.i.a.b.i.b; import c.i.a.b.i.d; -import c.i.a.c.a2.o; -import c.i.a.c.a2.y; -import c.i.a.c.e2.s.f; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.s; -import c.i.a.c.j2.x.d; -import c0.t.k; +import c.i.a.c.b3.b; +import c.i.a.c.b3.t.f; +import c.i.a.c.f3.t; +import c.i.a.c.f3.x; +import c.i.a.c.g3.z.h; +import c.i.a.c.x2.o; +import c.i.a.c.x2.w; +import c.i.a.c.x2.z; import com.adjust.sdk.Constants; import com.discord.api.stageinstance.StageInstance; import com.discord.api.stageinstance.StageInstancePrivacyLevel; @@ -91,7 +84,6 @@ import com.facebook.drawee.drawable.ScalingUtils$ScaleType; import com.facebook.soloader.SysUtil$LollipopSysdeps; import com.facebook.soloader.SysUtil$MarshmallowSysdeps; import com.google.android.exoplayer2.ParserException; -import com.google.android.exoplayer2.database.DatabaseIOException; import com.google.android.exoplayer2.metadata.Metadata; import com.google.android.gms.common.api.ApiException; import com.google.android.gms.common.api.ResolvableApiException; @@ -102,6 +94,8 @@ import com.google.android.material.shadow.ShadowDrawableWrapper; import com.google.android.material.snackbar.BaseTransientBottomBar; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonToken; +import d0.t.k; +import d0.z.d.m; import java.io.EOFException; import java.io.File; import java.io.FileNotFoundException; @@ -117,7 +111,6 @@ import java.lang.reflect.WildcardType; import java.net.URL; import java.nio.ByteBuffer; import java.nio.ByteOrder; -import java.nio.FloatBuffer; import java.nio.channels.FileChannel; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; @@ -145,6 +138,16 @@ import org.xmlpull.v1.XmlPullParserException; public class d { public static boolean a; public static ScheduledExecutorService b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public static Boolean f257c; + @Nullable + public static Boolean d; + @Nullable + public static Boolean e; + @Nullable + public static Boolean f; /* compiled from: ArrayBuilders */ public static class a { @@ -152,12 +155,12 @@ public class d { public final /* synthetic */ int b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ Object f263c; + public final /* synthetic */ Object f258c; public a(Class cls, int i, Object obj) { this.a = cls; this.b = i; - this.f263c = obj; + this.f258c = obj; } public boolean equals(Object obj) { @@ -168,7 +171,7 @@ public class d { return false; } for (int i = 0; i < this.b; i++) { - Object obj2 = Array.get(this.f263c, i); + Object obj2 = Array.get(this.f258c, i); Object obj3 = Array.get(obj, i); if (!(obj2 == obj3 || obj2 == null || obj2.equals(obj3))) { return false; @@ -185,153 +188,8 @@ public class d { return t; } - public static final StageRequestToSpeakState A0(VoiceState voiceState) { - return voiceState == null ? StageRequestToSpeakState.NONE : (!voiceState.l() || voiceState.f() == null) ? (voiceState.l() || voiceState.f() == null) ? !voiceState.l() ? StageRequestToSpeakState.ON_STAGE : StageRequestToSpeakState.NONE : StageRequestToSpeakState.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK : StageRequestToSpeakState.REQUESTED_TO_SPEAK; - } - - public static boolean A1(e0 e0Var, j jVar, Type type) { - if (!jVar.B(e0Var.a(type)._class)) { - return false; - } - ParameterizedType h1 = h1(type); - if (h1 == null || !Objects.equals(jVar._class, h1.getRawType())) { - return true; - } - Type[] actualTypeArguments = h1.getActualTypeArguments(); - m j = jVar.j(); - if (j.j() != actualTypeArguments.length) { - return false; - } - for (int i = 0; i < j.j(); i++) { - if (!A1(e0Var, j.f(i), actualTypeArguments[i])) { - return false; - } - } - return true; - } - - public static void A2(Parcel parcel, int i, int i2) { - if (i != i2) { - String hexString = Integer.toHexString(i); - StringBuilder sb = new StringBuilder(String.valueOf(hexString).length() + 46); - sb.append("Expected size "); - sb.append(i2); - sb.append(" got "); - sb.append(i); - sb.append(" (0x"); - sb.append(hexString); - sb.append(")"); - throw new SafeParcelReader$ParseException(sb.toString(), parcel); - } - } - - public static void B(boolean z2) { - if (!z2) { - throw new IllegalStateException(); - } - } - - public static List B0(CacheKey cacheKey) { - try { - if (!(cacheKey instanceof c)) { - ArrayList arrayList = new ArrayList(1); - arrayList.add(cacheKey.a() ? cacheKey.b() : U1(cacheKey)); - return arrayList; - } - Objects.requireNonNull((c) cacheKey); - throw null; - } catch (UnsupportedEncodingException e) { - throw new RuntimeException(e); - } - } - - public static int B1(InputStream inputStream, byte[] bArr, int i, int i2) throws IOException { - if (i2 >= 0) { - int i3 = 0; - while (i3 < i2) { - int read = inputStream.read(bArr, i + i3, i2 - i3); - if (read == -1) { - break; - } - i3 += read; - } - return i3; - } - throw new IndexOutOfBoundsException("len is negative"); - } - - public static void B2(Parcel parcel, int i) { - int dataPosition = parcel.dataPosition(); - parcel.setDataPosition(i - 4); - parcel.writeInt(dataPosition - i); - parcel.setDataPosition(dataPosition); - } - - public static void C(boolean z2, Object obj) { - if (!z2) { - throw new IllegalStateException(String.valueOf(obj)); - } - } - - public static ScalingUtils$ScaleType C0(TypedArray typedArray, int i) { - switch (typedArray.getInt(i, -2)) { - case -1: - return null; - case 0: - ScalingUtils$ScaleType scalingUtils$ScaleType = ScalingUtils$ScaleType.a; - return z.l; - case 1: - ScalingUtils$ScaleType scalingUtils$ScaleType2 = ScalingUtils$ScaleType.a; - return x.l; - case 2: - ScalingUtils$ScaleType scalingUtils$ScaleType3 = ScalingUtils$ScaleType.a; - return v.l; - case 3: - ScalingUtils$ScaleType scalingUtils$ScaleType4 = ScalingUtils$ScaleType.a; - return w.l; - case 4: - ScalingUtils$ScaleType scalingUtils$ScaleType5 = ScalingUtils$ScaleType.a; - return r.l; - case 5: - ScalingUtils$ScaleType scalingUtils$ScaleType6 = ScalingUtils$ScaleType.a; - return t.l; - case 6: - ScalingUtils$ScaleType scalingUtils$ScaleType7 = ScalingUtils$ScaleType.a; - return s.l; - case 7: - ScalingUtils$ScaleType scalingUtils$ScaleType8 = ScalingUtils$ScaleType.a; - return b0.l; - case 8: - ScalingUtils$ScaleType scalingUtils$ScaleType9 = ScalingUtils$ScaleType.a; - return u.l; - default: - throw new RuntimeException("XML attribute not specified!"); - } - } - - public static void C1(FileChannel fileChannel, ByteBuffer byteBuffer, int i, long j) throws IOException { - int read; - byteBuffer.position(0); - byteBuffer.limit(i); - while (byteBuffer.remaining() > 0 && (read = fileChannel.read(byteBuffer, j)) != -1) { - j += (long) read; - } - if (byteBuffer.remaining() <= 0) { - byteBuffer.position(0); - return; - } - throw new h("ELF file truncated"); - } - - @Pure - public static void D(boolean z2) { - if (!z2) { - throw new IllegalStateException(); - } - } - @NonNull - public static String D0(@RecentlyNonNull int i) { + public static String A0(@RecentlyNonNull int i) { switch (i) { case -1: return "SUCCESS_CACHE"; @@ -382,10 +240,87 @@ public class d { } } - public static int D1(InputStream inputStream) throws IOException { + public static void A1(FileChannel fileChannel, ByteBuffer byteBuffer, int i, long j) throws IOException { + int read; + byteBuffer.position(0); + byteBuffer.limit(i); + while (byteBuffer.remaining() > 0 && (read = fileChannel.read(byteBuffer, j)) != -1) { + j += (long) read; + } + if (byteBuffer.remaining() <= 0) { + byteBuffer.position(0); + return; + } + throw new h("ELF file truncated"); + } + + public static void A2(Parcel parcel, int i) { + int dataPosition = parcel.dataPosition(); + parcel.setDataPosition(i - 4); + parcel.writeInt(dataPosition - i); + parcel.setDataPosition(dataPosition); + } + + public static void B(boolean z2) { + if (!z2) { + throw new IllegalStateException(); + } + } + + public static String[] B0() { + return Build.VERSION.SDK_INT >= 23 ? SysUtil$MarshmallowSysdeps.getSupportedAbis() : SysUtil$LollipopSysdeps.getSupportedAbis(); + } + + public static int B1(InputStream inputStream) throws IOException { return ((((byte) (inputStream.read() & 255)) << 16) & ItemTouchHelper.ACTION_MODE_DRAG_MASK) | ((((byte) (inputStream.read() & 255)) << 8) & 65280) | (((byte) (inputStream.read() & 255)) & 255); } + public static void C(boolean z2, Object obj) { + if (!z2) { + throw new IllegalStateException(String.valueOf(obj)); + } + } + + public static String C0(String str) { + return c.d.b.a.a.v("TransportRuntime.", str); + } + + @RecentlyNonNull + public static boolean C1(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { + w2(parcel, i, 4); + return parcel.readInt() != 0; + } + + @Pure + public static void D(boolean z2) { + if (!z2) { + throw new IllegalStateException(); + } + } + + public static Pair D0(InputStream inputStream) throws IOException { + inputStream.skip(7); + short read = (short) (inputStream.read() & 255); + short read2 = (short) (inputStream.read() & 255); + short read3 = (short) (inputStream.read() & 255); + if (read == 157 && read2 == 1 && read3 == 42) { + return new Pair<>(Integer.valueOf(m0(inputStream)), Integer.valueOf(m0(inputStream))); + } + return null; + } + + @RecentlyNonNull + public static IBinder D1(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { + int K1 = K1(parcel, i); + int dataPosition = parcel.dataPosition(); + if (K1 == 0) { + return null; + } + IBinder readStrongBinder = parcel.readStrongBinder(); + parcel.setDataPosition(dataPosition + K1); + return readStrongBinder; + } + @Pure public static void E(boolean z2, Object obj) { if (!z2) { @@ -393,14 +328,19 @@ public class d { } } - public static String[] E0() { - return Build.VERSION.SDK_INT >= 23 ? SysUtil$MarshmallowSysdeps.getSupportedAbis() : SysUtil$LollipopSysdeps.getSupportedAbis(); + public static Pair E0(InputStream inputStream) throws IOException { + v0(inputStream); + if (((byte) (inputStream.read() & 255)) != 47) { + return null; + } + int read = ((byte) inputStream.read()) & 255; + return new Pair<>(Integer.valueOf(((((byte) inputStream.read()) & 255) | ((read & 63) << 8)) + 1), Integer.valueOf(((((((byte) inputStream.read()) & 255) & 15) << 10) | ((((byte) inputStream.read()) & 255) << 2) | ((read & 192) >> 6)) + 1)); } @RecentlyNonNull - public static boolean E1(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { - x2(parcel, i, 4); - return parcel.readInt() != 0; + public static int E1(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { + w2(parcel, i, 4); + return parcel.readInt(); } public static void F(@RecentlyNonNull boolean z2) { @@ -409,20 +349,15 @@ public class d { } } - public static String F0(String str) { - return c.d.b.a.a.u("TransportRuntime.", str); + public static long F0(FileChannel fileChannel, ByteBuffer byteBuffer, long j) throws IOException { + A1(fileChannel, byteBuffer, 4, j); + return ((long) byteBuffer.getInt()) & 4294967295L; } @RecentlyNonNull - public static IBinder F1(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { - int M1 = M1(parcel, i); - int dataPosition = parcel.dataPosition(); - if (M1 == 0) { - return null; - } - IBinder readStrongBinder = parcel.readStrongBinder(); - parcel.setDataPosition(dataPosition + M1); - return readStrongBinder; + public static long F1(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { + w2(parcel, i, 8); + return parcel.readLong(); } public static void G(@RecentlyNonNull boolean z2, @RecentlyNonNull Object obj) { @@ -431,21 +366,20 @@ public class d { } } - public static Pair G0(InputStream inputStream) throws IOException { - inputStream.skip(7); - short read = (short) (inputStream.read() & 255); - short read2 = (short) (inputStream.read() & 255); - short read3 = (short) (inputStream.read() & 255); - if (read == 157 && read2 == 1 && read3 == 42) { - return new Pair<>(Integer.valueOf(p0(inputStream)), Integer.valueOf(p0(inputStream))); - } - return null; + public static final boolean G0(Long l, long j) { + return l != null && (l.longValue() & j) == j; } - @RecentlyNonNull - public static int G1(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { - x2(parcel, i, 4); - return parcel.readInt(); + public static int G1(x xVar) { + int i = 0; + while (xVar.a() != 0) { + int t = xVar.t(); + i += t; + if (t != 255) { + return i; + } + } + return -1; } @EnsuresNonNull({"#1"}) @@ -457,97 +391,21 @@ public class d { throw new IllegalStateException(); } - public static Pair H0(InputStream inputStream) throws IOException { - y0(inputStream); - if (((byte) (inputStream.read() & 255)) != 47) { - return null; - } - int read = ((byte) inputStream.read()) & 255; - return new Pair<>(Integer.valueOf(((((byte) inputStream.read()) & 255) | ((read & 63) << 8)) + 1), Integer.valueOf(((((((byte) inputStream.read()) & 255) & 15) << 10) | ((((byte) inputStream.read()) & 255) << 2) | ((read & 192) >> 6)) + 1)); - } - - @RecentlyNonNull - public static long H1(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { - x2(parcel, i, 8); - return parcel.readLong(); - } - - @EnsuresNonNull({"#1"}) - @Pure - public static T I(@Nullable T t, Object obj) { - if (t != null) { - return t; - } - throw new IllegalStateException(String.valueOf(obj)); - } - - /* JADX WARNING: Code restructure failed: missing block: B:16:0x0041, code lost: - r12 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:17:0x0042, code lost: - if (r10 != null) goto L_0x0044; - */ - /* JADX WARNING: Code restructure failed: missing block: B:19:?, code lost: - r10.close(); - */ - /* JADX WARNING: Code restructure failed: missing block: B:20:0x0048, code lost: - r10 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:21:0x0049, code lost: - r11.addSuppressed(r10); - */ - /* JADX WARNING: Code restructure failed: missing block: B:22:0x004c, code lost: - throw r12; - */ - public static int I0(SQLiteDatabase sQLiteDatabase, int i, String str) throws DatabaseIOException { - try { - if (!f0.I(sQLiteDatabase, "ExoPlayerVersions")) { - return -1; - } - Cursor query = sQLiteDatabase.query("ExoPlayerVersions", new String[]{"version"}, "feature = ? AND instance_uid = ?", new String[]{Integer.toString(i), str}, null, null, null); - if (query.getCount() == 0) { - query.close(); - return -1; - } - query.moveToNext(); - int i2 = query.getInt(0); - query.close(); - return i2; - } catch (SQLException e) { - throw new DatabaseIOException(e); - } - } - - public static int I1(c.i.a.c.i2.w wVar) { - int i = 0; - while (wVar.a() != 0) { - int s = wVar.s(); - i += s; - if (s != 255) { - return i; - } - } - return -1; - } - - public static boolean J(byte[] bArr, String str) { - if (bArr.length != str.length()) { + public static boolean H0(byte[] bArr, byte[] bArr2, int i) { + Objects.requireNonNull(bArr); + Objects.requireNonNull(bArr2); + if (bArr2.length + i > bArr.length) { return false; } - for (int i = 0; i < bArr.length; i++) { - if (str.charAt(i) != bArr[i]) { + for (int i2 = 0; i2 < bArr2.length; i2++) { + if (bArr[i + i2] != bArr2[i2]) { return false; } } return true; } - public static long J0(FileChannel fileChannel, ByteBuffer byteBuffer, long j) throws IOException { - C1(fileChannel, byteBuffer, 4, j); - return ((long) byteBuffer.getInt()) & 4294967295L; - } - - public static int J1(InputStream inputStream, int i, boolean z2) throws IOException { + public static int H1(InputStream inputStream, int i, boolean z2) throws IOException { int i2; int i3 = 0; for (int i4 = 0; i4 < i; i4++) { @@ -567,102 +425,92 @@ public class d { return i3; } - public static int K(String str, String str2) { - int glCreateProgram = GLES20.glCreateProgram(); - r(); - d(35633, str, glCreateProgram); - d(35632, str2, glCreateProgram); - GLES20.glLinkProgram(glCreateProgram); - int[] iArr = {0}; - GLES20.glGetProgramiv(glCreateProgram, 35714, iArr, 0); - if (iArr[0] != 1) { - StringBuilder O = c.d.b.a.a.O("Unable to link shader program: \n"); - O.append(GLES20.glGetProgramInfoLog(glCreateProgram)); - Log.e("GlUtil", O.toString()); - } - r(); - return glCreateProgram; - } - - public static final boolean K0(Long l, long j) { - return l != null && (l.longValue() & j) == j; - } - - public static long K1(c.i.a.c.i2.w wVar, int i, int i2) { - wVar.D(i); - if (wVar.a() < 5) { - return -9223372036854775807L; - } - int f = wVar.f(); - if ((8388608 & f) != 0 || ((2096896 & f) >> 8) != i2) { - return -9223372036854775807L; - } - if (((f & 32) != 0) && wVar.s() >= 7 && wVar.a() >= 7) { - if ((wVar.s() & 16) == 16) { - byte[] bArr = new byte[6]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, 6); - wVar.b += 6; - return ((((long) bArr[0]) & 255) << 25) | ((((long) bArr[1]) & 255) << 17) | ((((long) bArr[2]) & 255) << 9) | ((((long) bArr[3]) & 255) << 1) | ((((long) bArr[4]) & 255) >> 7); - } - } - return -9223372036854775807L; - } - - public static void L(long j, c.i.a.c.i2.w wVar, c.i.a.c.a2.w[] wVarArr) { - while (true) { - boolean z2 = true; - if (wVar.a() > 1) { - int I1 = I1(wVar); - int I12 = I1(wVar); - int i = wVar.b + I12; - if (I12 == -1 || I12 > wVar.a()) { - Log.w("CeaUtil", "Skipping remainder of malformed SEI NAL unit."); - i = wVar.f974c; - } else if (I1 == 4 && I12 >= 8) { - int s = wVar.s(); - int x2 = wVar.x(); - int f = x2 == 49 ? wVar.f() : 0; - int s2 = wVar.s(); - if (x2 == 47) { - wVar.E(1); - } - boolean z3 = s == 181 && (x2 == 49 || x2 == 47) && s2 == 3; - if (x2 == 49) { - if (f != 1195456820) { - z2 = false; - } - z3 &= z2; - } - if (z3) { - M(j, wVar, wVarArr); - } - } - wVar.D(i); - } else { - return; - } - } - } - - public static boolean L0(byte[] bArr, byte[] bArr2, int i) { - Objects.requireNonNull(bArr); - Objects.requireNonNull(bArr2); - if (bArr2.length + i > bArr.length) { + public static boolean I(byte[] bArr, String str) { + if (bArr.length != str.length()) { return false; } - for (int i2 = 0; i2 < bArr2.length; i2++) { - if (bArr[i + i2] != bArr2[i2]) { + for (int i = 0; i < bArr.length; i++) { + if (str.charAt(i) != bArr[i]) { return false; } } return true; } - public static o.a L1(c.i.a.c.i2.w wVar) { - wVar.E(1); - int u = wVar.u(); - long j = ((long) wVar.b) + ((long) u); - int i = u / 18; + public static int I0(int i, int i2) { + return ((i + 31) * 31) + i2; + } + + public static long I1(x xVar, int i, int i2) { + xVar.E(i); + if (xVar.a() < 5) { + return -9223372036854775807L; + } + int f2 = xVar.f(); + if ((8388608 & f2) != 0 || ((2096896 & f2) >> 8) != i2) { + return -9223372036854775807L; + } + if (((f2 & 32) != 0) && xVar.t() >= 7 && xVar.a() >= 7) { + if ((xVar.t() & 16) == 16) { + byte[] bArr = new byte[6]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, 6); + xVar.b += 6; + return ((((long) bArr[0]) & 255) << 25) | ((((long) bArr[1]) & 255) << 17) | ((((long) bArr[2]) & 255) << 9) | ((((long) bArr[3]) & 255) << 1) | ((((long) bArr[4]) & 255) >> 7); + } + } + return -9223372036854775807L; + } + + public static void J(long j, x xVar, w[] wVarArr) { + while (true) { + boolean z2 = true; + if (xVar.a() > 1) { + int G1 = G1(xVar); + int G12 = G1(xVar); + int i = xVar.b + G12; + if (G12 == -1 || G12 > xVar.a()) { + Log.w("CeaUtil", "Skipping remainder of malformed SEI NAL unit."); + i = xVar.f792c; + } else if (G1 == 4 && G12 >= 8) { + int t = xVar.t(); + int y2 = xVar.y(); + int f2 = y2 == 49 ? xVar.f() : 0; + int t2 = xVar.t(); + if (y2 == 47) { + xVar.F(1); + } + boolean z3 = t == 181 && (y2 == 49 || y2 == 47) && t2 == 3; + if (y2 == 49) { + if (f2 != 1195456820) { + z2 = false; + } + z3 &= z2; + } + if (z3) { + K(j, xVar, wVarArr); + } + } + xVar.E(i); + } else { + return; + } + } + } + + public static int J0(Object obj, Object obj2) { + int i = 0; + int hashCode = obj == null ? 0 : obj.hashCode(); + if (obj2 != null) { + i = obj2.hashCode(); + } + return I0(hashCode, i); + } + + public static o.a J1(x xVar) { + xVar.F(1); + int v = xVar.v(); + long j = ((long) xVar.b) + ((long) v); + int i = v / 18; long[] jArr = new long[i]; long[] jArr2 = new long[i]; int i2 = 0; @@ -670,45 +518,47 @@ public class d { if (i2 >= i) { break; } - long m = wVar.m(); + long m = xVar.m(); if (m == -1) { jArr = Arrays.copyOf(jArr, i2); jArr2 = Arrays.copyOf(jArr2, i2); break; } jArr[i2] = m; - jArr2[i2] = wVar.m(); - wVar.E(2); + jArr2[i2] = xVar.m(); + xVar.F(2); i2++; } - wVar.E((int) (j - ((long) wVar.b))); + xVar.F((int) (j - ((long) xVar.b))); return new o.a(jArr, jArr2); } - public static void M(long j, c.i.a.c.i2.w wVar, c.i.a.c.a2.w[] wVarArr) { - int s = wVar.s(); - if ((s & 64) != 0) { - wVar.E(1); - int i = (s & 31) * 3; - int i2 = wVar.b; - for (c.i.a.c.a2.w wVar2 : wVarArr) { - wVar.D(i2); - wVar2.c(wVar, i); - wVar2.d(j, 1, i, 0, null); + public static void K(long j, x xVar, w[] wVarArr) { + int t = xVar.t(); + if ((t & 64) != 0) { + xVar.F(1); + int i = (t & 31) * 3; + int i2 = xVar.b; + for (w wVar : wVarArr) { + xVar.E(i2); + wVar.c(xVar, i); + if (j != -9223372036854775807L) { + wVar.d(j, 1, i, 0, null); + } } } } - public static int M0(int i, int i2) { - return ((i + 31) * 31) + i2; + public static void K0(String str, String str2) { + Log.i(C0(str), str2); } @RecentlyNonNull - public static int M1(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { + public static int K1(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { return (i & SupportMenu.CATEGORY_MASK) != -65536 ? (i >> 16) & 65535 : parcel.readInt(); } - public static void N(Drawable drawable, Drawable drawable2) { + public static void L(Drawable drawable, Drawable drawable2) { if (drawable != null && drawable != drawable2) { drawable.setBounds(drawable2.getBounds()); drawable.setChangingConfigurations(drawable2.getChangingConfigurations()); @@ -718,74 +568,7 @@ public class d { } } - public static int N0(Object obj, Object obj2) { - int i = 0; - int hashCode = obj == null ? 0 : obj.hashCode(); - if (obj2 != null) { - i = obj2.hashCode(); - } - return M0(hashCode, i); - } - - public static y N1(c.i.a.c.i2.w wVar, boolean z2, boolean z3) throws ParserException { - if (z2) { - m2(3, wVar, false); - } - String p = wVar.p((int) wVar.j()); - long j = wVar.j(); - String[] strArr = new String[((int) j)]; - int length = p.length() + 11 + 4; - for (int i = 0; ((long) i) < j; i++) { - strArr[i] = wVar.p((int) wVar.j()); - length = length + 4 + strArr[i].length(); - } - if (!z3 || (wVar.s() & 1) != 0) { - return new y(p, strArr, length + 1); - } - throw new ParserException("framing bit expected to be set"); - } - - public static FloatBuffer O(float[] fArr) { - return (FloatBuffer) ByteBuffer.allocateDirect(fArr.length * 4).order(ByteOrder.nativeOrder()).asFloatBuffer().put(fArr).flip(); - } - - public static void O0(String str, String str2) { - Log.i(F0(str), str2); - } - - public static void O1(File file, File file2) throws FileUtils$RenameException { - Objects.requireNonNull(file); - file2.delete(); - if (!file.renameTo(file2)) { - Throwable th = null; - if (file2.exists()) { - th = new FileUtils$FileDeleteException(file2.getAbsolutePath()); - } else if (!file.getParentFile().exists()) { - th = new FileUtils$ParentDirNotFoundException(file.getAbsolutePath()); - } else if (!file.exists()) { - th = new FileNotFoundException(file.getAbsolutePath()); - } - StringBuilder O = c.d.b.a.a.O("Unknown error renaming "); - O.append(file.getAbsolutePath()); - O.append(" to "); - O.append(file2.getAbsolutePath()); - throw new FileUtils$RenameException(O.toString(), th); - } - } - - @RecentlyNonNull - public static Bundle P(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { - int M1 = M1(parcel, i); - int dataPosition = parcel.dataPosition(); - if (M1 == 0) { - return null; - } - Bundle readBundle = parcel.readBundle(); - parcel.setDataPosition(dataPosition + M1); - return readBundle; - } - - public static int P0(int i) { + public static int L0(int i) { int i2 = 0; while (i > 0) { i2++; @@ -794,52 +577,67 @@ public class d { return i2; } - public static final RenderContext P1(Function1 function1, Object... objArr) { - c0.z.d.m.checkNotNullParameter(function1, "init"); - c0.z.d.m.checkNotNullParameter(objArr, "orderedArguments"); - RenderContext renderContext = new RenderContext(); - function1.invoke(renderContext); - if (!(objArr.length == 0)) { - if (!(!renderContext.a.isEmpty())) { - renderContext.f2507c = k.toList(objArr); - } else { - throw new IllegalArgumentException("must provide named arguments OR formatArgs, not both."); - } + public static z L1(x xVar, boolean z2, boolean z3) throws ParserException { + if (z2) { + l2(3, xVar, false); } - return renderContext; + String q = xVar.q((int) xVar.j()); + long j = xVar.j(); + String[] strArr = new String[((int) j)]; + int length = q.length() + 11 + 4; + for (int i = 0; ((long) i) < j; i++) { + strArr[i] = xVar.q((int) xVar.j()); + length = length + 4 + strArr[i].length(); + } + if (!z3 || (xVar.t() & 1) != 0) { + return new z(q, strArr, length + 1); + } + throw ParserException.a("framing bit expected to be set", null); } @RecentlyNonNull - public static byte[] Q(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { - int M1 = M1(parcel, i); + public static Bundle M(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { + int K1 = K1(parcel, i); int dataPosition = parcel.dataPosition(); - if (M1 == 0) { + if (K1 == 0) { return null; } - byte[] createByteArray = parcel.createByteArray(); - parcel.setDataPosition(dataPosition + M1); - return createByteArray; + Bundle readBundle = parcel.readBundle(); + parcel.setDataPosition(dataPosition + K1); + return readBundle; } - public static DataSource Q0(Throwable th) { + public static DataSource M0(Throwable th) { c.f.e.h hVar = new c.f.e.h(); Objects.requireNonNull(th); hVar.k(th, null); return hVar; } - public static /* synthetic */ void Q1(AppPermissionsRequests appPermissionsRequests, Function0 function0, Function0 function02, int i, Object obj) { - int i2 = i & 1; - appPermissionsRequests.requestMicrophone(null, function02); + public static void M1(b.C0086b bVar) { + bVar.k = -3.4028235E38f; + bVar.j = Integer.MIN_VALUE; + CharSequence charSequence = bVar.a; + if (charSequence instanceof Spanned) { + if (!(charSequence instanceof Spannable)) { + bVar.a = SpannableString.valueOf(charSequence); + } + CharSequence charSequence2 = bVar.a; + Objects.requireNonNull(charSequence2); + N1((Spannable) charSequence2, c.i.a.c.d3.h.a); + } } - public static final MediaSource R(MediaType mediaType, String str, String str2) { - c0.z.d.m.checkNotNullParameter(mediaType, "mediaType"); - c0.z.d.m.checkNotNullParameter(str, "progressiveMediaUri"); - c0.z.d.m.checkNotNullParameter(str2, "featureTag"); - Uri parse = Uri.parse(str); - c0.z.d.m.checkNotNullExpressionValue(parse, "Uri.parse(progressiveMediaUri)"); - return new MediaSource(parse, str2, mediaType); + @RecentlyNonNull + public static byte[] N(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { + int K1 = K1(parcel, i); + int dataPosition = parcel.dataPosition(); + if (K1 == 0) { + return null; + } + byte[] createByteArray = parcel.createByteArray(); + parcel.setDataPosition(dataPosition + K1); + return createByteArray; } /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ @@ -887,12 +685,12 @@ public class d { /* JADX WARNING: Removed duplicated region for block: B:94:0x018f */ /* JADX WARNING: Removed duplicated region for block: B:97:0x019b */ /* JADX WARNING: Removed duplicated region for block: B:99:0x01a5 */ - public static int R0(Map> map) { + public static int N0(Map> map) { char c2; List list = map.get("Content-Type"); String str = (list == null || list.isEmpty()) ? null : list.get(0); if (str != null) { - ArrayList arrayList = c.i.a.c.i2.s.a; + ArrayList arrayList = t.a; int hashCode = str.hashCode(); char c3 = 2; if (hashCode != -1007807498) { @@ -1288,51 +1086,25 @@ public class d { return -1; } - @Nullable - public static f R1(@Nullable f fVar, @Nullable String[] strArr, Map map) { - int i = 0; - if (fVar == null) { - if (strArr == null) { - return null; - } - if (strArr.length == 1) { - return map.get(strArr[0]); - } - if (strArr.length > 1) { - f fVar2 = new f(); - int length = strArr.length; - while (i < length) { - fVar2.a(map.get(strArr[i])); - i++; - } - return fVar2; - } - } else if (strArr != null && strArr.length == 1) { - fVar.a(map.get(strArr[0])); - return fVar; - } else if (strArr != null && strArr.length > 1) { - int length2 = strArr.length; - while (i < length2) { - fVar.a(map.get(strArr[i])); - i++; + public static void N1(Spannable spannable, c.i.b.a.h hVar) { + Object[] spans = spannable.getSpans(0, spannable.length(), Object.class); + for (Object obj : spans) { + if (hVar.apply(obj)) { + spannable.removeSpan(obj); } } - return fVar; } - @RecentlyNonNull - public static T S(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull Parcelable.Creator creator) { - int M1 = M1(parcel, i); - int dataPosition = parcel.dataPosition(); - if (M1 == 0) { - return null; - } - T createFromParcel = creator.createFromParcel(parcel); - parcel.setDataPosition(dataPosition + M1); - return createFromParcel; + public static final MediaSource O(MediaType mediaType, String str, String str2) { + m.checkNotNullParameter(mediaType, "mediaType"); + m.checkNotNullParameter(str, "progressiveMediaUri"); + m.checkNotNullParameter(str2, "featureTag"); + Uri parse = Uri.parse(str); + m.checkNotNullExpressionValue(parse, "Uri.parse(progressiveMediaUri)"); + return new MediaSource(parse, str2, mediaType); } - public static int S0(Uri uri) { + public static int O0(Uri uri) { String lastPathSegment = uri.getLastPathSegment(); if (lastPathSegment == null) { return -1; @@ -1382,42 +1154,193 @@ public class d { return (lastPathSegment.endsWith(".jpg") || lastPathSegment.endsWith(".jpeg")) ? 14 : -1; } - public static float S1(int i, float f, int i2, int i3) { - float f2; - if (f == -3.4028235E38f) { - return -3.4028235E38f; + public static void O1(File file, File file2) throws FileUtils$RenameException { + Objects.requireNonNull(file); + file2.delete(); + if (!file.renameTo(file2)) { + Throwable th = null; + if (file2.exists()) { + th = new FileUtils$FileDeleteException(file2.getAbsolutePath()); + } else if (!file.getParentFile().exists()) { + th = new FileUtils$ParentDirNotFoundException(file.getAbsolutePath()); + } else if (!file.exists()) { + th = new FileNotFoundException(file.getAbsolutePath()); + } + StringBuilder R = c.d.b.a.a.R("Unknown error renaming "); + R.append(file.getAbsolutePath()); + R.append(" to "); + R.append(file2.getAbsolutePath()); + throw new FileUtils$RenameException(R.toString(), th); } - if (i == 0) { - f2 = (float) i3; - } else if (i == 1) { - f2 = (float) i2; - } else if (i != 2) { - return -3.4028235E38f; - } else { - return f; - } - return f * f2; } @RecentlyNonNull - public static String T(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { - int M1 = M1(parcel, i); + public static T P(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull Parcelable.Creator creator) { + int K1 = K1(parcel, i); int dataPosition = parcel.dataPosition(); - if (M1 == 0) { + if (K1 == 0) { + return null; + } + T createFromParcel = creator.createFromParcel(parcel); + parcel.setDataPosition(dataPosition + K1); + return createFromParcel; + } + + public static void P0(String str) { + throw new IllegalArgumentException(c.d.b.a.a.v("Unknown library: ", str)); + } + + public static final RenderContext P1(Function1 function1, Object... objArr) { + m.checkNotNullParameter(function1, "init"); + m.checkNotNullParameter(objArr, "orderedArguments"); + RenderContext renderContext = new RenderContext(); + function1.invoke(renderContext); + if (!(objArr.length == 0)) { + if (!(!renderContext.a.isEmpty())) { + renderContext.f2127c = k.toList(objArr); + } else { + throw new IllegalArgumentException("must provide named arguments OR formatArgs, not both."); + } + } + return renderContext; + } + + @RecentlyNonNull + public static String Q(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { + int K1 = K1(parcel, i); + int dataPosition = parcel.dataPosition(); + if (K1 == 0) { return null; } String readString = parcel.readString(); - parcel.setDataPosition(dataPosition + M1); + parcel.setDataPosition(dataPosition + K1); return readString; } - public static void T0(String str) { - throw new IllegalArgumentException(c.d.b.a.a.u("Unknown library: ", str)); + public static boolean Q0(XmlPullParser xmlPullParser, String str) throws XmlPullParserException { + return (xmlPullParser.getEventType() == 3) && xmlPullParser.getName().equals(str); + } + + public static /* synthetic */ void Q1(AppPermissionsRequests appPermissionsRequests, Function0 function0, Function0 function02, int i, Object obj) { + int i2 = i & 1; + appPermissionsRequests.requestMicrophone(null, function02); + } + + @RecentlyNonNull + public static String[] R(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { + int K1 = K1(parcel, i); + int dataPosition = parcel.dataPosition(); + if (K1 == 0) { + return null; + } + String[] createStringArray = parcel.createStringArray(); + parcel.setDataPosition(dataPosition + K1); + return createStringArray; + } + + public static boolean R0(int i, int i2, e eVar) { + return eVar == null ? ((float) n0(i)) >= 2048.0f && n0(i2) >= 2048 : n0(i) >= eVar.a && n0(i2) >= eVar.b; + } + + @Nullable + public static f R1(@Nullable f fVar, @Nullable String[] strArr, Map map) { + int i = 0; + if (fVar == null) { + if (strArr == null) { + return null; + } + if (strArr.length == 1) { + return map.get(strArr[0]); + } + if (strArr.length > 1) { + f fVar2 = new f(); + int length = strArr.length; + while (i < length) { + fVar2.a(map.get(strArr[i])); + i++; + } + return fVar2; + } + } else if (strArr != null && strArr.length == 1) { + fVar.a(map.get(strArr[0])); + return fVar; + } else if (strArr != null && strArr.length > 1) { + int length2 = strArr.length; + while (i < length2) { + fVar.a(map.get(strArr[i])); + i++; + } + } + return fVar; + } + + @RecentlyNonNull + public static ArrayList S(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { + int K1 = K1(parcel, i); + int dataPosition = parcel.dataPosition(); + if (K1 == 0) { + return null; + } + ArrayList createStringArrayList = parcel.createStringArrayList(); + parcel.setDataPosition(dataPosition + K1); + return createStringArrayList; + } + + public static boolean S0(c.f.j.j.e eVar, e eVar2) { + if (eVar == null) { + return false; + } + eVar.u(); + int i = eVar.l; + if (i == 90 || i == 270) { + eVar.u(); + int i2 = eVar.o; + eVar.u(); + return R0(i2, eVar.n, eVar2); + } + eVar.u(); + int i3 = eVar.n; + eVar.u(); + return R0(i3, eVar.o, eVar2); + } + + public static float S1(int i, float f2, int i2, int i3) { + float f3; + if (f2 == -3.4028235E38f) { + return -3.4028235E38f; + } + if (i == 0) { + f3 = (float) i3; + } else if (i == 1) { + f3 = (float) i2; + } else if (i != 2) { + return -3.4028235E38f; + } else { + return f2; + } + return f2 * f3; + } + + @RecentlyNonNull + public static T[] T(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull Parcelable.Creator creator) { + int K1 = K1(parcel, i); + int dataPosition = parcel.dataPosition(); + if (K1 == 0) { + return null; + } + T[] tArr = (T[]) parcel.createTypedArray(creator); + parcel.setDataPosition(dataPosition + K1); + return tArr; + } + + public static final boolean T0(Context context) { + m.checkNotNullParameter(context, "$this$isLtr"); + return TextUtilsCompat.getLayoutDirectionFromLocale(Locale.getDefault()) == 0; } /* JADX WARN: Multi-variable type inference failed */ /* JADX WARNING: Unknown variable types count: 1 */ - public static TResult T1(int i, TInput tinput, b bVar, c.i.a.b.j.s.a aVar) throws Throwable { + public static TResult T1(int i, TInput tinput, c.i.a.b.i.b bVar, c.i.a.b.j.s.a aVar) throws Throwable { TResult tresult; if (i < 1) { return (TResult) bVar.a(tinput); @@ -1428,8 +1351,8 @@ public class d { TResult tresult2 = tresult; URL url = tresult2.b; if (url != null) { - Z("CctTransportBackend", "Following redirect to: %s", url); - tinput = new d.a(tresult2.b, tinput2.b, tinput2.f634c); + W("CctTransportBackend", "Following redirect to: %s", url); + tinput = new d.a(tresult2.b, tinput2.b, tinput2.f601c); } else { tinput = null; } @@ -1442,19 +1365,20 @@ public class d { } @RecentlyNonNull - public static String[] U(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { - int M1 = M1(parcel, i); + public static ArrayList U(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull Parcelable.Creator creator) { + int K1 = K1(parcel, i); int dataPosition = parcel.dataPosition(); - if (M1 == 0) { + if (K1 == 0) { return null; } - String[] createStringArray = parcel.createStringArray(); - parcel.setDataPosition(dataPosition + M1); - return createStringArray; + ArrayList createTypedArrayList = parcel.createTypedArrayList(creator); + parcel.setDataPosition(dataPosition + K1); + return createTypedArrayList; } - public static boolean U0(XmlPullParser xmlPullParser, String str) throws XmlPullParserException { - return (xmlPullParser.getEventType() == 3) && xmlPullParser.getName().equals(str); + public static final boolean U0(VoiceState voiceState) { + m.checkNotNullParameter(voiceState, "$this$isMutedByAnySource"); + return voiceState.h() || voiceState.e() || voiceState.l(); } public static String U1(CacheKey cacheKey) throws UnsupportedEncodingException { @@ -1463,28 +1387,23 @@ public class d { MessageDigest instance = MessageDigest.getInstance(Constants.SHA1); instance.update(bytes, 0, bytes.length); return Base64.encodeToString(instance.digest(), 11); - } catch (NoSuchAlgorithmException e) { - throw new RuntimeException(e); + } catch (NoSuchAlgorithmException e2) { + throw new RuntimeException(e2); } } - @RecentlyNonNull - public static ArrayList V(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { - int M1 = M1(parcel, i); - int dataPosition = parcel.dataPosition(); - if (M1 == 0) { - return null; - } - ArrayList createStringArrayList = parcel.createStringArrayList(); - parcel.setDataPosition(dataPosition + M1); - return createStringArrayList; + public static String V(String str) { + StringBuilder Q = c.d.b.a.a.Q(c.d.b.a.a.b(str, c.d.b.a.a.b(str, 5)), ".", str, ",.", str); + Q.append(" *"); + return Q.toString(); } - public static boolean V0(int i, int i2, e eVar) { - return eVar == null ? ((float) q0(i)) >= 2048.0f && q0(i2) >= 2048 : q0(i) >= eVar.a && q0(i2) >= eVar.b; + public static final boolean V0(StageInstance stageInstance) { + m.checkNotNullParameter(stageInstance, "$this$isPublic"); + return stageInstance.e() == StageInstancePrivacyLevel.PUBLIC; } - public static void V1(Drawable drawable, Drawable.Callback callback, c.f.g.e.e0 e0Var) { + public static void V1(Drawable drawable, Drawable.Callback callback, e0 e0Var) { if (drawable != null) { drawable.setCallback(callback); if (drawable instanceof d0) { @@ -1493,57 +1412,27 @@ public class d { } } - @RecentlyNonNull - public static T[] W(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull Parcelable.Creator creator) { - int M1 = M1(parcel, i); - int dataPosition = parcel.dataPosition(); - if (M1 == 0) { - return null; - } - T[] tArr = (T[]) parcel.createTypedArray(creator); - parcel.setDataPosition(dataPosition + M1); - return tArr; + public static void W(String str, String str2, Object obj) { + Log.d(C0(str), String.format(str2, obj)); } - public static boolean W0(c.f.j.j.e eVar, e eVar2) { - if (eVar == null) { - return false; - } - eVar.w(); - int i = eVar.l; - if (i == 90 || i == 270) { - eVar.w(); - int i2 = eVar.o; - eVar.w(); - return V0(i2, eVar.n, eVar2); - } - eVar.w(); - int i3 = eVar.n; - eVar.w(); - return V0(i3, eVar.o, eVar2); + public static final boolean W0(VoiceState voiceState) { + m.checkNotNullParameter(voiceState, "$this$isRemoveSignal"); + return voiceState.a() == null; } public static void W1(MediaFormat mediaFormat, List list) { for (int i = 0; i < list.size(); i++) { - mediaFormat.setByteBuffer(c.d.b.a.a.l("csd-", i), ByteBuffer.wrap(list.get(i))); + mediaFormat.setByteBuffer(c.d.b.a.a.f(15, "csd-", i), ByteBuffer.wrap(list.get(i))); } } - @RecentlyNonNull - public static ArrayList X(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull Parcelable.Creator creator) { - int M1 = M1(parcel, i); - int dataPosition = parcel.dataPosition(); - if (M1 == 0) { - return null; - } - ArrayList createTypedArrayList = parcel.createTypedArrayList(creator); - parcel.setDataPosition(dataPosition + M1); - return createTypedArrayList; + public static void X(String str, String str2, Object... objArr) { + Log.d(C0(str), String.format(str2, objArr)); } - public static final boolean X0(Context context) { - c0.z.d.m.checkNotNullParameter(context, "$this$isLtr"); - return TextUtilsCompat.getLayoutDirectionFromLocale(Locale.getDefault()) == 0; + public static boolean X0(XmlPullParser xmlPullParser, String str) throws XmlPullParserException { + return (xmlPullParser.getEventType() == 2) && xmlPullParser.getName().equals(str); } public static void X1(Drawable drawable, c.f.g.e.e eVar) { @@ -1553,7 +1442,7 @@ public class d { drawable.setAlpha(i); } if (eVar.b) { - drawable.setColorFilter(eVar.f410c); + drawable.setColorFilter(eVar.f393c); } int i2 = eVar.d; boolean z2 = false; @@ -1570,85 +1459,187 @@ public class d { } } - public static String Y(String str) { - return "." + str + ",." + str + " *"; + public static boolean Y(File file) { + File[] listFiles; + if (file.isDirectory() && (listFiles = file.listFiles()) != null) { + for (File file2 : listFiles) { + Y(file2); + } + } + return file.delete(); } - public static final boolean Y0(VoiceState voiceState) { - c0.z.d.m.checkNotNullParameter(voiceState, "$this$isMutedByAnySource"); - return voiceState.h() || voiceState.e() || voiceState.l(); + @RecentlyNonNull + @TargetApi(20) + public static boolean Y0(@RecentlyNonNull Context context) { + PackageManager packageManager = context.getPackageManager(); + if (f257c == null) { + f257c = Boolean.valueOf(packageManager.hasSystemFeature("android.hardware.type.watch")); + } + return f257c.booleanValue(); } public static void Y1(Status status, @Nullable TResult tresult, TaskCompletionSource taskCompletionSource) { - if (status.v0()) { + if (status.w0()) { taskCompletionSource.a.t(tresult); return; } taskCompletionSource.a.s(new ApiException(status)); } - public static void Z(String str, String str2, Object obj) { - Log.d(F0(str), String.format(str2, obj)); - } - - public static final boolean Z0(StageInstance stageInstance) { - c0.z.d.m.checkNotNullParameter(stageInstance, "$this$isPublic"); - return stageInstance.e() == StageInstancePrivacyLevel.PUBLIC; - } - - public static void Z1(SQLiteDatabase sQLiteDatabase, int i, String str, int i2) throws DatabaseIOException { - try { - sQLiteDatabase.execSQL("CREATE TABLE IF NOT EXISTS ExoPlayerVersions (feature INTEGER NOT NULL,instance_uid TEXT NOT NULL,version INTEGER NOT NULL,PRIMARY KEY (feature, instance_uid))"); - ContentValues contentValues = new ContentValues(); - contentValues.put("feature", Integer.valueOf(i)); - contentValues.put("instance_uid", str); - contentValues.put("version", Integer.valueOf(i2)); - sQLiteDatabase.replaceOrThrow("ExoPlayerVersions", null, contentValues); - } catch (SQLException e) { - throw new DatabaseIOException(e); + /* JADX WARNING: Removed duplicated region for block: B:38:0x009c */ + /* JADX WARNING: Removed duplicated region for block: B:44:0x00b2 */ + /* JADX WARNING: Removed duplicated region for block: B:51:0x00dd */ + /* JADX WARNING: Removed duplicated region for block: B:52:0x00e0 */ + /* JADX WARNING: Removed duplicated region for block: B:55:0x00ea */ + public static int Z(c.f.j.d.f fVar, e eVar, c.f.j.j.e eVar2, int i) { + float f2; + int max; + float f3; + int i2; + int i3; + int i4; + int i5 = 1; + if (!c.f.j.j.e.q(eVar2)) { + return 1; } + i(Boolean.valueOf(c.f.j.j.e.q(eVar2))); + if (eVar != null && eVar.b > 0 && eVar.a > 0) { + eVar2.u(); + if (eVar2.n != 0) { + eVar2.u(); + if (eVar2.o != 0) { + boolean z2 = false; + if (!fVar.c()) { + i2 = 0; + } else { + eVar2.u(); + i2 = eVar2.l; + i(Boolean.valueOf(i2 == 0 || i2 == 90 || i2 == 180 || i2 == 270)); + } + if (i2 == 90 || i2 == 270) { + z2 = true; + } + if (z2) { + eVar2.u(); + i3 = eVar2.o; + } else { + eVar2.u(); + i3 = eVar2.n; + } + if (z2) { + eVar2.u(); + i4 = eVar2.n; + } else { + eVar2.u(); + i4 = eVar2.o; + } + f2 = Math.max(((float) eVar.a) / ((float) i3), ((float) eVar.b) / ((float) i4)); + int i6 = c.f.d.e.a.a; + eVar2.u(); + int i7 = 2; + if (eVar2.k != c.f.i.b.a) { + if (f2 <= 0.6666667f) { + i5 = 2; + while (true) { + int i8 = i5 * 2; + double d2 = 1.0d / ((double) i8); + if ((d2 * 0.3333333432674408d) + d2 <= ((double) f2)) { + break; + } + i5 = i8; + } + } + } else if (f2 <= 0.6666667f) { + while (true) { + double d3 = (double) i7; + if (((1.0d / (Math.pow(d3, 2.0d) - d3)) * 0.3333333432674408d) + (1.0d / d3) <= ((double) f2)) { + break; + } + i7++; + } + i5 = i7 - 1; + } + eVar2.u(); + int i9 = eVar2.o; + eVar2.u(); + max = Math.max(i9, eVar2.n); + f3 = eVar == null ? eVar.f437c : (float) i; + while (((float) (max / i5)) > f3) { + eVar2.u(); + i5 = eVar2.k == c.f.i.b.a ? i5 * 2 : i5 + 1; + } + return i5; + } + } + } + f2 = 1.0f; + eVar2.u(); + int i7 = 2; + if (eVar2.k != c.f.i.b.a) { + } + eVar2.u(); + int i9 = eVar2.o; + eVar2.u(); + max = Math.max(i9, eVar2.n); + if (eVar == null) { + } + while (((float) (max / i5)) > f3) { + } + return i5; } - public static float a(float f) { - return f <= 0.04045f ? f / 12.92f : (float) Math.pow((double) ((f + 0.055f) / 1.055f), 2.4000000953674316d); + @RecentlyNonNull + @TargetApi(26) + public static boolean Z0(@RecentlyNonNull Context context) { + if (Y0(context)) { + if (Build.VERSION.SDK_INT >= 24) { + if (d == null) { + d = Boolean.valueOf(context.getPackageManager().hasSystemFeature("cn.google")); + } + if (!d.booleanValue() || c.i.a.f.e.o.f.q0()) { + } + } + return true; + } + return false; } - public static void a0(String str, String str2, Object... objArr) { - Log.d(F0(str), String.format(str2, objArr)); - } - - public static final boolean a1(VoiceState voiceState) { - c0.z.d.m.checkNotNullParameter(voiceState, "$this$isRemoveSignal"); - return voiceState.a() == null; - } - - public static boolean a2(Object obj, Collection collection, Collection collection2) { + public static boolean Z1(Object obj, Collection collection, Collection collection2) { if (collection == null && collection2 == null) { return false; } return collection2 == null ? collection.contains(obj) : collection == null ? !collection2.contains(obj) : !collection2.contains(obj) || collection.contains(obj); } - public static float b(float f) { - return f <= 0.0031308f ? f * 12.92f : (float) ((Math.pow((double) f, 0.4166666567325592d) * 1.0549999475479126d) - 0.054999999701976776d); + public static float a(float f2) { + return f2 <= 0.04045f ? f2 / 12.92f : (float) Math.pow((double) ((f2 + 0.055f) / 1.055f), 2.4000000953674316d); } - public static boolean b0(File file) { - File[] listFiles; - if (file.isDirectory() && (listFiles = file.listFiles()) != null) { - for (File file2 : listFiles) { - b0(file2); + public static void a0(File file) throws IOException { + if (file.isDirectory()) { + File[] listFiles = file.listFiles(); + if (listFiles != null) { + for (File file2 : listFiles) { + a0(file2); + } + } else { + return; } } - return file.delete(); + if (!file.delete() && file.exists()) { + throw new IOException("could not delete: " + file); + } } - public static boolean b1(XmlPullParser xmlPullParser, String str) throws XmlPullParserException { - return (xmlPullParser.getEventType() == 2) && xmlPullParser.getName().equals(str); + public static final void a1(String str, String str2) { + m.checkNotNullParameter(str, "tag"); + m.checkNotNullParameter(str2, NotificationCompat.CATEGORY_MESSAGE); + Logger.d$default(LoggingProvider.INSTANCE.get(), str, str2, null, 4, null); } - public static long b2(InputStream inputStream, long j) throws IOException { - j(Boolean.valueOf(j >= 0)); + public static long a2(InputStream inputStream, long j) throws IOException { + i(Boolean.valueOf(j >= 0)); long j2 = j; while (j2 > 0) { long skip = inputStream.skip(j2); @@ -1663,6 +1654,24 @@ public class d { return j; } + public static float b(float f2) { + return f2 <= 0.0031308f ? f2 * 12.92f : (float) ((Math.pow((double) f2, 0.4166666567325592d) * 1.0549999475479126d) - 0.054999999701976776d); + } + + public static void b0(String str, String str2, Throwable th) { + Log.e(C0(str), str2, th); + } + + public static final void b1(String str, String str2, Throwable th) { + m.checkNotNullParameter(str, "tag"); + m.checkNotNullParameter(str2, NotificationCompat.CATEGORY_MESSAGE); + Logger.e$default(LoggingProvider.INSTANCE.get(), str, str2, th, null, 8, null); + } + + public static void b2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { + parcel.setDataPosition(parcel.dataPosition() + K1(parcel, i)); + } + public static void c(Spannable spannable, Object obj, int i, int i2, int i3) { Object[] spans = spannable.getSpans(i, i2, obj.getClass()); for (Object obj2 : spans) { @@ -1673,213 +1682,30 @@ public class d { spannable.setSpan(obj, i, i2, i3); } - /* JADX WARNING: Removed duplicated region for block: B:38:0x009c */ - /* JADX WARNING: Removed duplicated region for block: B:44:0x00b2 */ - /* JADX WARNING: Removed duplicated region for block: B:51:0x00dd */ - /* JADX WARNING: Removed duplicated region for block: B:52:0x00e0 */ - /* JADX WARNING: Removed duplicated region for block: B:55:0x00ea */ - public static int c0(c.f.j.d.f fVar, e eVar, c.f.j.j.e eVar2, int i) { - float f; - int max; - float f2; - int i2; - int i3; - int i4; - int i5 = 1; - if (!c.f.j.j.e.r(eVar2)) { - return 1; + public static void c0() { + if (c.i.a.c.f3.e0.a >= 18) { + Trace.endSection(); } - j(Boolean.valueOf(c.f.j.j.e.r(eVar2))); - if (eVar != null && eVar.b > 0 && eVar.a > 0) { - eVar2.w(); - if (eVar2.n != 0) { - eVar2.w(); - if (eVar2.o != 0) { - boolean z2 = false; - if (!fVar.c()) { - i2 = 0; - } else { - eVar2.w(); - i2 = eVar2.l; - j(Boolean.valueOf(i2 == 0 || i2 == 90 || i2 == 180 || i2 == 270)); - } - if (i2 == 90 || i2 == 270) { - z2 = true; - } - if (z2) { - eVar2.w(); - i3 = eVar2.o; - } else { - eVar2.w(); - i3 = eVar2.n; - } - if (z2) { - eVar2.w(); - i4 = eVar2.n; - } else { - eVar2.w(); - i4 = eVar2.o; - } - f = Math.max(((float) eVar.a) / ((float) i3), ((float) eVar.b) / ((float) i4)); - int i6 = c.f.d.e.a.a; - eVar2.w(); - int i7 = 2; - if (eVar2.k != c.f.i.b.a) { - if (f <= 0.6666667f) { - i5 = 2; - while (true) { - int i8 = i5 * 2; - double d = 1.0d / ((double) i8); - if ((d * 0.3333333432674408d) + d <= ((double) f)) { - break; - } - i5 = i8; - } - } - } else if (f <= 0.6666667f) { - while (true) { - double d2 = (double) i7; - if (((1.0d / (Math.pow(d2, 2.0d) - d2)) * 0.3333333432674408d) + (1.0d / d2) <= ((double) f)) { - break; - } - i7++; - } - i5 = i7 - 1; - } - eVar2.w(); - int i9 = eVar2.o; - eVar2.w(); - max = Math.max(i9, eVar2.n); - f2 = eVar == null ? eVar.f460c : (float) i; - while (((float) (max / i5)) > f2) { - eVar2.w(); - i5 = eVar2.k == c.f.i.b.a ? i5 * 2 : i5 + 1; - } - return i5; - } - } - } - f = 1.0f; - eVar2.w(); - int i7 = 2; - if (eVar2.k != c.f.i.b.a) { - } - eVar2.w(); - int i9 = eVar2.o; - eVar2.w(); - max = Math.max(i9, eVar2.n); - if (eVar == null) { - } - while (((float) (max / i5)) > f2) { - } - return i5; } public static final void c1(String str, String str2) { - c0.z.d.m.checkNotNullParameter(str, "tag"); - c0.z.d.m.checkNotNullParameter(str2, NotificationCompat.CATEGORY_MESSAGE); - Logger.d$default(LoggingProvider.INSTANCE.get(), str, str2, null, 4, null); + m.checkNotNullParameter(str, "tag"); + m.checkNotNullParameter(str2, NotificationCompat.CATEGORY_MESSAGE); + Logger.i$default(LoggingProvider.INSTANCE.get(), str, str2, null, 4, null); } - public static void c2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { - parcel.setDataPosition(parcel.dataPosition() + M1(parcel, i)); - } - - public static void d(int i, String str, int i2) { - int glCreateShader = GLES20.glCreateShader(i); - GLES20.glShaderSource(glCreateShader, str); - GLES20.glCompileShader(glCreateShader); - int[] iArr = {0}; - GLES20.glGetShaderiv(glCreateShader, 35713, iArr, 0); - if (iArr[0] != 1) { - Log.e("GlUtil", GLES20.glGetShaderInfoLog(glCreateShader) + ", source: " + str); - } - GLES20.glAttachShader(i2, glCreateShader); - GLES20.glDeleteShader(glCreateShader); - r(); - } - - public static void d0(File file) throws IOException { - if (file.isDirectory()) { - File[] listFiles = file.listFiles(); - if (listFiles != null) { - for (File file2 : listFiles) { - d0(file2); - } - } else { - return; - } - } - if (!file.delete() && file.exists()) { - throw new IOException("could not delete: " + file); - } - } - - public static final void d1(String str, String str2, Throwable th) { - c0.z.d.m.checkNotNullParameter(str, "tag"); - c0.z.d.m.checkNotNullParameter(str2, NotificationCompat.CATEGORY_MESSAGE); - Logger.e$default(LoggingProvider.INSTANCE.get(), str, str2, th, null, 8, null); - } - - public static final

Bundle d2(P p) { - c0.z.d.m.checkNotNullParameter(p, "$this$toBundle"); + public static final

Bundle c2(P p) { + m.checkNotNullParameter(p, "$this$toBundle"); Bundle bundle = new Bundle(); bundle.putParcelable("intent_args_key", p); return bundle; } - public static int e(int i, int i2, int i3) { + public static int d(int i, int i2, int i3) { return Math.min(Math.max(0, i3 - i), i2); } - public static void e0(String str, String str2, Throwable th) { - Log.e(F0(str), str2, th); - } - - public static final void e1(String str, String str2) { - c0.z.d.m.checkNotNullParameter(str, "tag"); - c0.z.d.m.checkNotNullParameter(str2, NotificationCompat.CATEGORY_MESSAGE); - Logger.i$default(LoggingProvider.INSTANCE.get(), str, str2, null, 4, null); - } - - public static String e2(@ColorInt int i) { - return f0.k("rgba(%d,%d,%d,%.3f)", Integer.valueOf(Color.red(i)), Integer.valueOf(Color.green(i)), Integer.valueOf(Color.blue(i)), Double.valueOf(((double) Color.alpha(i)) / 255.0d)); - } - - public static byte[] f(String str) { - try { - return str.getBytes("ASCII"); - } catch (UnsupportedEncodingException e) { - throw new RuntimeException("ASCII not found!", e); - } - } - - public static void f0() { - if (f0.a >= 18) { - Trace.endSection(); - } - } - - public static final void f1(String str, String str2) { - c0.z.d.m.checkNotNullParameter(str, "tag"); - c0.z.d.m.checkNotNullParameter(str2, NotificationCompat.CATEGORY_MESSAGE); - Logger.v$default(LoggingProvider.INSTANCE.get(), str, str2, null, 4, null); - } - - public static final

Intent f2(P p) { - c0.z.d.m.checkNotNullParameter(p, "$this$toIntent"); - Intent putExtra = new Intent().putExtra("intent_args_key", p); - c0.z.d.m.checkNotNullExpressionValue(putExtra, "Intent().putExtra(INTENT_ARGS, this)"); - return putExtra; - } - - public static void g(String str) { - if (f0.a >= 18) { - Trace.beginSection(str); - } - } - - public static synchronized void g0() { + public static synchronized void d0() { synchronized (d.class) { if (!a) { c.f.m.n.a.c("native-imagetranscoder"); @@ -1888,31 +1714,54 @@ public class d { } } - public static final void g1(String str, String str2) { - c0.z.d.m.checkNotNullParameter(str, "tag"); - c0.z.d.m.checkNotNullParameter(str2, NotificationCompat.CATEGORY_MESSAGE); - Logger.w$default(LoggingProvider.INSTANCE.get(), str, str2, null, 4, null); + public static final void d1(String str, String str2) { + m.checkNotNullParameter(str, "tag"); + m.checkNotNullParameter(str2, NotificationCompat.CATEGORY_MESSAGE); + Logger.v$default(LoggingProvider.INSTANCE.get(), str, str2, null, 4, null); } - public static i g2(Object obj) { - return new i(obj.getClass().getSimpleName(), null); + public static String d2(@ColorInt int i) { + return c.i.a.c.f3.e0.k("rgba(%d,%d,%d,%.3f)", Integer.valueOf(Color.red(i)), Integer.valueOf(Color.green(i)), Integer.valueOf(Color.blue(i)), Double.valueOf(((double) Color.alpha(i)) / 255.0d)); } - public static List h(byte[] bArr) { - ArrayList arrayList = new ArrayList(3); - arrayList.add(bArr); - arrayList.add(i((((long) (((bArr[11] & 255) << 8) | (bArr[10] & 255))) * 1000000000) / 48000)); - arrayList.add(i(80000000)); - return arrayList; + public static byte[] e(String str) { + try { + return str.getBytes("ASCII"); + } catch (UnsupportedEncodingException e2) { + throw new RuntimeException("ASCII not found!", e2); + } } - public static void h0(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { + public static void e0(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i) { if (parcel.dataPosition() != i) { throw new SafeParcelReader$ParseException(c.d.b.a.a.f(37, "Overread allowed size end=", i), parcel); } } - public static ParameterizedType h1(Type type) { + public static final void e1(String str, String str2) { + m.checkNotNullParameter(str, "tag"); + m.checkNotNullParameter(str2, NotificationCompat.CATEGORY_MESSAGE); + Logger.w$default(LoggingProvider.INSTANCE.get(), str, str2, null, 4, null); + } + + public static final

Intent e2(P p) { + m.checkNotNullParameter(p, "$this$toIntent"); + Intent putExtra = new Intent().putExtra("intent_args_key", p); + m.checkNotNullExpressionValue(putExtra, "Intent().putExtra(INTENT_ARGS, this)"); + return putExtra; + } + + public static void f(String str) { + if (c.i.a.c.f3.e0.a >= 18) { + Trace.beginSection(str); + } + } + + public static boolean f0(Object obj, Object obj2) { + return obj == obj2 || (obj != null && obj.equals(obj2)); + } + + public static ParameterizedType f1(Type type) { if (type instanceof ParameterizedType) { return (ParameterizedType) type; } @@ -1923,27 +1772,33 @@ public class d { } Type[] upperBounds = wildcardType.getUpperBounds(); if (upperBounds.length == 1) { - return h1(upperBounds[0]); + return f1(upperBounds[0]); } } return null; } - public static void h2(Collection collection, c.a.t.b.c.a aVar) { - for (Node node : collection) { - i2(node, aVar); + public static i f2(Object obj) { + return new i(obj.getClass().getSimpleName(), null); + } + + public static List g(byte[] bArr) { + ArrayList arrayList = new ArrayList(3); + arrayList.add(bArr); + arrayList.add(h((((long) (((bArr[11] & 255) << 8) | (bArr[10] & 255))) * 1000000000) / 48000)); + arrayList.add(h(80000000)); + return arrayList; + } + + @RecentlyNonNull + public static boolean g0(@Nullable Object obj, @Nullable Object obj2) { + if (obj != obj2) { + return obj != null && obj.equals(obj2); } + return true; } - public static byte[] i(long j) { - return ByteBuffer.allocate(8).order(ByteOrder.nativeOrder()).putLong(j).array(); - } - - public static boolean i0(Object obj, Object obj2) { - return obj == obj2 || (obj != null && obj.equals(obj2)); - } - - public static TypeVariable i1(Type type) { + public static TypeVariable g1(Type type) { if (type instanceof TypeVariable) { return (TypeVariable) type; } @@ -1954,77 +1809,270 @@ public class d { } Type[] upperBounds = wildcardType.getUpperBounds(); if (upperBounds.length == 1) { - return i1(upperBounds[0]); + return g1(upperBounds[0]); } } return null; } - public static void i2(Node node, c.a.t.b.c.a aVar) { - if (node.hasChildren()) { - for (Node node2 : node.getChildren()) { - i2(node2, aVar); - } - } - aVar.processNode(node); - } - - public static void j(Boolean bool) { - if (bool != null && !bool.booleanValue()) { - throw new IllegalArgumentException(); + public static void g2(Collection collection, c.a.t.b.c.a aVar) { + for (Node node : collection) { + h2(node, aVar); } } - @RecentlyNonNull - public static boolean j0(@Nullable Object obj, @Nullable Object obj2) { - if (obj != obj2) { - return obj != null && obj.equals(obj2); - } - return true; + public static byte[] h(long j) { + return ByteBuffer.allocate(8).order(ByteOrder.nativeOrder()).putLong(j).array(); } - public static void j1(MediaFormat mediaFormat, String str, int i) { - if (i != -1) { - mediaFormat.setInteger(str, i); - } - } - - public static void j2(Node node, c.a.t.b.c.a aVar) { - aVar.processNode(node); - if (node.hasChildren()) { - for (Node node2 : node.getChildren()) { - j2(node2, aVar); - } - } - } - - @Pure - public static void k(boolean z2) { - if (!z2) { - throw new IllegalArgumentException(); - } - } - - public static int k0(float f, int i, int i2) { + public static int h0(float f2, int i, int i2) { if (i == i2) { return i; } - float f2 = ((float) ((i >> 24) & 255)) / 255.0f; + float f3 = ((float) ((i >> 24) & 255)) / 255.0f; float a2 = a(((float) ((i >> 16) & 255)) / 255.0f); float a3 = a(((float) ((i >> 8) & 255)) / 255.0f); float a4 = a(((float) (i & 255)) / 255.0f); float a5 = a(((float) ((i2 >> 16) & 255)) / 255.0f); float a6 = a(((float) ((i2 >> 8) & 255)) / 255.0f); float a7 = a(((float) (i2 & 255)) / 255.0f); - float a8 = c.d.b.a.a.a(((float) ((i2 >> 24) & 255)) / 255.0f, f2, f, f2); - float a9 = c.d.b.a.a.a(a5, a2, f, a2); - float a10 = c.d.b.a.a.a(a6, a3, f, a3); - float a11 = c.d.b.a.a.a(a7, a4, f, a4); + float a8 = c.d.b.a.a.a(((float) ((i2 >> 24) & 255)) / 255.0f, f3, f2, f3); + float a9 = c.d.b.a.a.a(a5, a2, f2, a2); + float a10 = c.d.b.a.a.a(a6, a3, f2, a3); + float a11 = c.d.b.a.a.a(a7, a4, f2, a4); int round = Math.round(b(a9) * 255.0f) << 16; return Math.round(b(a11) * 255.0f) | round | (Math.round(a8 * 255.0f) << 24) | (Math.round(b(a10) * 255.0f) << 8); } - public static String k1(String str, String str2) { + public static void h1(MediaFormat mediaFormat, String str, int i) { + if (i != -1) { + mediaFormat.setInteger(str, i); + } + } + + public static void h2(Node node, c.a.t.b.c.a aVar) { + if (node.hasChildren()) { + for (Node node2 : node.getChildren()) { + h2(node2, aVar); + } + } + aVar.processNode(node); + } + + public static void i(Boolean bool) { + if (bool != null && !bool.booleanValue()) { + throw new IllegalArgumentException(); + } + } + + public static String[] i0(FileChannel fileChannel) throws IOException { + long j; + long j2; + long j3; + long j4; + long j5; + long j6; + long j7; + long j8; + long j9; + long j10; + long j11; + long j12; + long j13; + long j14; + int i = 8; + ByteBuffer allocate = ByteBuffer.allocate(8); + allocate.order(ByteOrder.LITTLE_ENDIAN); + if (F0(fileChannel, allocate, 0) == 1179403647) { + A1(fileChannel, allocate, 1, 4); + boolean z2 = ((short) (allocate.get() & 255)) == 1; + A1(fileChannel, allocate, 1, 5); + if (((short) (allocate.get() & 255)) == 2) { + allocate.order(ByteOrder.BIG_ENDIAN); + } + if (z2) { + j = F0(fileChannel, allocate, 28); + } else { + A1(fileChannel, allocate, 8, 32); + j = allocate.getLong(); + } + if (z2) { + A1(fileChannel, allocate, 2, 44); + j2 = (long) (allocate.getShort() & 65535); + } else { + A1(fileChannel, allocate, 2, 56); + j2 = (long) (allocate.getShort() & 65535); + } + A1(fileChannel, allocate, 2, z2 ? 42 : 54); + int i2 = allocate.getShort() & 65535; + if (j2 == 65535) { + if (z2) { + j14 = F0(fileChannel, allocate, 32); + } else { + A1(fileChannel, allocate, 8, 40); + j14 = allocate.getLong(); + } + j2 = z2 ? F0(fileChannel, allocate, j14 + 28) : F0(fileChannel, allocate, j14 + 44); + } + long j15 = j; + long j16 = 0; + while (true) { + if (j16 >= j2) { + j3 = 0; + break; + } + if ((z2 ? F0(fileChannel, allocate, j15 + 0) : F0(fileChannel, allocate, j15 + 0)) != 2) { + j15 += (long) i2; + j16++; + } else if (z2) { + j3 = F0(fileChannel, allocate, j15 + 4); + } else { + A1(fileChannel, allocate, 8, j15 + 8); + j3 = allocate.getLong(); + } + } + long j17 = 0; + if (j3 != 0) { + long j18 = j3; + long j19 = 0; + int i3 = 0; + while (true) { + long j20 = j18 + j17; + if (z2) { + j4 = F0(fileChannel, allocate, j20); + } else { + A1(fileChannel, allocate, i, j20); + j4 = allocate.getLong(); + } + if (j4 == 1) { + j5 = j3; + if (i3 != Integer.MAX_VALUE) { + i3++; + } else { + throw new h("malformed DT_NEEDED section"); + } + } else { + j5 = j3; + if (j4 == 5) { + if (z2) { + j13 = F0(fileChannel, allocate, j18 + 4); + } else { + A1(fileChannel, allocate, 8, j18 + 8); + j13 = allocate.getLong(); + } + j19 = j13; + } + } + long j21 = 16; + j18 += z2 ? 8 : 16; + long j22 = 0; + if (j4 != 0) { + j17 = 0; + j3 = j5; + i = 8; + } else if (j19 != 0) { + int i4 = 0; + while (true) { + if (((long) i4) >= j2) { + j6 = 0; + break; + } + if ((z2 ? F0(fileChannel, allocate, j + j22) : F0(fileChannel, allocate, j + j22)) == 1) { + if (z2) { + j10 = F0(fileChannel, allocate, j + 8); + } else { + A1(fileChannel, allocate, 8, j + j21); + j10 = allocate.getLong(); + } + if (z2) { + j9 = j2; + j11 = F0(fileChannel, allocate, j + 20); + } else { + j9 = j2; + A1(fileChannel, allocate, 8, j + 40); + j11 = allocate.getLong(); + } + if (j10 <= j19 && j19 < j11 + j10) { + if (z2) { + j12 = F0(fileChannel, allocate, j + 4); + } else { + A1(fileChannel, allocate, 8, j + 8); + j12 = allocate.getLong(); + } + j6 = j12 + (j19 - j10); + } + } else { + j9 = j2; + } + j += (long) i2; + i4++; + j2 = j9; + j21 = 16; + j22 = 0; + } + long j23 = 0; + if (j6 != 0) { + String[] strArr = new String[i3]; + int i5 = 0; + while (true) { + long j24 = j5 + j23; + if (z2) { + j7 = F0(fileChannel, allocate, j24); + } else { + A1(fileChannel, allocate, 8, j24); + j7 = allocate.getLong(); + } + if (j7 == 1) { + if (z2) { + j8 = F0(fileChannel, allocate, j5 + 4); + } else { + A1(fileChannel, allocate, 8, j5 + 8); + j8 = allocate.getLong(); + } + long j25 = j8 + j6; + StringBuilder sb = new StringBuilder(); + while (true) { + long j26 = j25 + 1; + A1(fileChannel, allocate, 1, j25); + short s2 = (short) (allocate.get() & 255); + if (s2 == 0) { + break; + } + sb.append((char) s2); + j25 = j26; + } + strArr[i5] = sb.toString(); + if (i5 != Integer.MAX_VALUE) { + i5++; + } else { + throw new h("malformed DT_NEEDED section"); + } + } + j5 += z2 ? 8 : 16; + if (j7 != 0) { + j23 = 0; + } else if (i5 == i3) { + return strArr; + } else { + throw new h("malformed DT_NEEDED section"); + } + } + } else { + throw new h("did not find file offset of DT_STRTAB table"); + } + } else { + throw new h("Dynamic section string-table not found"); + } + } + } else { + throw new h("ELF file does not contain dynamic linking information"); + } + } else { + throw new h("file is not ELF"); + } + } + + public static String i1(String str, String str2) { int length = str.length() - str2.length(); if (length < 0 || length > 1) { throw new IllegalArgumentException("Invalid input received"); @@ -2039,6 +2087,62 @@ public class d { return sb.toString(); } + public static void i2(Node node, c.a.t.b.c.a aVar) { + aVar.processNode(node); + if (node.hasChildren()) { + for (Node node2 : node.getChildren()) { + i2(node2, aVar); + } + } + } + + @Pure + public static void j(boolean z2) { + if (!z2) { + throw new IllegalArgumentException(); + } + } + + public static String j0(String str, Object... objArr) { + int indexOf; + String valueOf = String.valueOf(str); + StringBuilder sb = new StringBuilder((objArr.length * 16) + valueOf.length()); + int i = 0; + int i2 = 0; + while (i < objArr.length && (indexOf = valueOf.indexOf("%s", i2)) != -1) { + sb.append(valueOf.substring(i2, indexOf)); + sb.append(objArr[i]); + i2 = indexOf + 2; + i++; + } + sb.append(valueOf.substring(i2)); + if (i < objArr.length) { + sb.append(" ["); + sb.append(objArr[i]); + for (int i3 = i + 1; i3 < objArr.length; i3++) { + sb.append(", "); + sb.append(objArr[i3]); + } + sb.append(']'); + } + return sb.toString(); + } + + public static void j1(File file) throws FileUtils$CreateDirectoryException { + if (file.exists()) { + if (!file.isDirectory()) { + if (!file.delete()) { + throw new FileUtils$CreateDirectoryException(file.getAbsolutePath(), new FileUtils$FileDeleteException(file.getAbsolutePath())); + } + } else { + return; + } + } + if (!file.mkdirs() && !file.isDirectory()) { + throw new FileUtils$CreateDirectoryException(file.getAbsolutePath()); + } + } + /* JADX INFO: finally extract failed */ /* JADX WARNING: Code restructure failed: missing block: B:142:0x024a, code lost: if (r15 != false) goto L_0x0266; @@ -2046,7 +2150,7 @@ public class d { /* JADX WARNING: Code restructure failed: missing block: B:156:0x0264, code lost: if (r16 != false) goto L_0x0266; */ - public static c.f.g.f.a k2(c.f.g.f.a aVar, Context context, AttributeSet attributeSet) { + public static c.f.g.f.a j2(c.f.g.f.a aVar, Context context, AttributeSet attributeSet) { int i; int i2; boolean z2; @@ -2080,54 +2184,54 @@ public class d { while (i6 < indexCount) { int index = obtainStyledAttributes.getIndex(i6); if (index == R.a.GenericDraweeHierarchy_actualImageScaleType) { - aVar.n = C0(obtainStyledAttributes, index); + aVar.n = z0(obtainStyledAttributes, index); } else if (index == R.a.GenericDraweeHierarchy_placeholderImage) { - aVar.f = w0(context2, obtainStyledAttributes, index); + aVar.f = t0(context2, obtainStyledAttributes, index); } else { if (index == R.a.GenericDraweeHierarchy_pressedStateOverlayImage) { - Drawable w0 = w0(context2, obtainStyledAttributes, index); - if (w0 == null) { + Drawable t0 = t0(context2, obtainStyledAttributes, index); + if (t0 == null) { aVar.q = null; } else { StateListDrawable stateListDrawable = new StateListDrawable(); i3 = indexCount; int[] iArr = new int[i5]; iArr[0] = 16842919; - stateListDrawable.addState(iArr, w0); + stateListDrawable.addState(iArr, t0); aVar.q = stateListDrawable; } } else { i3 = indexCount; if (index == R.a.GenericDraweeHierarchy_progressBarImage) { - aVar.l = w0(context2, obtainStyledAttributes, index); + aVar.l = t0(context2, obtainStyledAttributes, index); } else if (index == R.a.GenericDraweeHierarchy_fadeDuration) { aVar.d = obtainStyledAttributes.getInt(index, 0); } else if (index == R.a.GenericDraweeHierarchy_viewAspectRatio) { aVar.e = obtainStyledAttributes.getFloat(index, 0.0f); } else if (index == R.a.GenericDraweeHierarchy_placeholderImageScaleType) { - aVar.g = C0(obtainStyledAttributes, index); + aVar.g = z0(obtainStyledAttributes, index); } else if (index == R.a.GenericDraweeHierarchy_retryImage) { - aVar.h = w0(context2, obtainStyledAttributes, index); + aVar.h = t0(context2, obtainStyledAttributes, index); } else if (index == R.a.GenericDraweeHierarchy_retryImageScaleType) { - aVar.i = C0(obtainStyledAttributes, index); + aVar.i = z0(obtainStyledAttributes, index); } else if (index == R.a.GenericDraweeHierarchy_failureImage) { - aVar.j = w0(context2, obtainStyledAttributes, index); + aVar.j = t0(context2, obtainStyledAttributes, index); } else if (index == R.a.GenericDraweeHierarchy_failureImageScaleType) { - aVar.k = C0(obtainStyledAttributes, index); + aVar.k = z0(obtainStyledAttributes, index); } else if (index == R.a.GenericDraweeHierarchy_progressBarImageScaleType) { - aVar.m = C0(obtainStyledAttributes, index); + aVar.m = z0(obtainStyledAttributes, index); } else { if (index == R.a.GenericDraweeHierarchy_progressBarAutoRotateInterval) { i = obtainStyledAttributes.getInteger(index, i); } else if (index == R.a.GenericDraweeHierarchy_backgroundImage) { - aVar.o = w0(context2, obtainStyledAttributes, index); + aVar.o = t0(context2, obtainStyledAttributes, index); } else if (index == R.a.GenericDraweeHierarchy_overlayImage) { - aVar.b(w0(context2, obtainStyledAttributes, index)); + aVar.b(t0(context2, obtainStyledAttributes, index)); } else if (index == R.a.GenericDraweeHierarchy_roundAsCircle) { - if (aVar.f430r == null) { - aVar.f430r = new c.f.g.f.c(); + if (aVar.r == null) { + aVar.r = new c(); } - aVar.f430r.b = obtainStyledAttributes.getBoolean(index, false); + aVar.r.b = obtainStyledAttributes.getBoolean(index, false); } else if (index == R.a.GenericDraweeHierarchy_roundedCornerRadius) { i7 = obtainStyledAttributes.getDimensionPixelSize(index, i7); } else if (index == R.a.GenericDraweeHierarchy_roundTopLeft) { @@ -2153,16 +2257,16 @@ public class d { if (index == R.a.GenericDraweeHierarchy_roundBottomEnd) { z16 = obtainStyledAttributes.getBoolean(index, z16); } else if (index == R.a.GenericDraweeHierarchy_roundWithOverlayColor) { - if (aVar.f430r == null) { - aVar.f430r = new c.f.g.f.c(); + if (aVar.r == null) { + aVar.r = new c(); } - aVar.f430r.b(obtainStyledAttributes.getColor(index, 0)); + aVar.r.b(obtainStyledAttributes.getColor(index, 0)); } else { if (index == R.a.GenericDraweeHierarchy_roundingBorderWidth) { - if (aVar.f430r == null) { - aVar.f430r = new c.f.g.f.c(); + if (aVar.r == null) { + aVar.r = new c(); } - c.f.g.f.c cVar = aVar.f430r; + c cVar = aVar.r; float dimensionPixelSize = (float) obtainStyledAttributes.getDimensionPixelSize(index, 0); Objects.requireNonNull(cVar); if (dimensionPixelSize >= 0.0f) { @@ -2172,23 +2276,23 @@ public class d { i4 = i7; z10 = false; } - l(z10, "the border width cannot be < 0"); + k(z10, "the border width cannot be < 0"); cVar.e = dimensionPixelSize; } else { i4 = i7; if (index == R.a.GenericDraweeHierarchy_roundingBorderColor) { - if (aVar.f430r == null) { - aVar.f430r = new c.f.g.f.c(); + if (aVar.r == null) { + aVar.r = new c(); } - aVar.f430r.f = obtainStyledAttributes.getColor(index, 0); + aVar.r.f = obtainStyledAttributes.getColor(index, 0); } else if (index == R.a.GenericDraweeHierarchy_roundingBorderPadding) { - if (aVar.f430r == null) { - aVar.f430r = new c.f.g.f.c(); + if (aVar.r == null) { + aVar.r = new c(); } - c.f.g.f.c cVar2 = aVar.f430r; + c cVar2 = aVar.r; float dimensionPixelSize2 = (float) obtainStyledAttributes.getDimensionPixelSize(index, 0); Objects.requireNonNull(cVar2); - l(dimensionPixelSize2 >= 0.0f, "the padding cannot be < 0"); + k(dimensionPixelSize2 >= 0.0f, "the padding cannot be < 0"); cVar2.g = dimensionPixelSize2; } } @@ -2295,311 +2399,42 @@ public class d { aVar.l = new c.f.g.e.c(aVar.l, i); } if (i2 > 0) { - if (aVar.f430r == null) { - aVar.f430r = new c.f.g.f.c(); + if (aVar.r == null) { + aVar.r = new c(); } - c.f.g.f.c cVar3 = aVar.f430r; - float f = z4 ? (float) i2 : 0.0f; - float f2 = z5 ? (float) i2 : 0.0f; - float f3 = z3 ? (float) i2 : 0.0f; - float f4 = z2 ? (float) i2 : 0.0f; - if (cVar3.f431c == null) { - cVar3.f431c = new float[8]; + c cVar3 = aVar.r; + float f2 = z4 ? (float) i2 : 0.0f; + float f3 = z5 ? (float) i2 : 0.0f; + float f4 = z3 ? (float) i2 : 0.0f; + float f5 = z2 ? (float) i2 : 0.0f; + if (cVar3.f409c == null) { + cVar3.f409c = new float[8]; } - float[] fArr = cVar3.f431c; - fArr[1] = f; - fArr[0] = f; - fArr[3] = f2; - fArr[2] = f2; - fArr[5] = f3; - fArr[4] = f3; - fArr[7] = f4; - fArr[6] = f4; + float[] fArr = cVar3.f409c; + fArr[1] = f2; + fArr[0] = f2; + fArr[3] = f3; + fArr[2] = f3; + fArr[5] = f4; + fArr[4] = f4; + fArr[7] = f5; + fArr[6] = f5; } return aVar; } - public static void l(boolean z2, Object obj) { + public static void k(boolean z2, Object obj) { if (!z2) { throw new IllegalArgumentException(String.valueOf(obj)); } } - public static String[] l0(FileChannel fileChannel) throws IOException { - long j; - long j2; - long j3; - long j4; - long j5; - long j6; - long j7; - long j8; - long j9; - long j10; - long j11; - long j12; - long j13; - long j14; - int i = 8; - ByteBuffer allocate = ByteBuffer.allocate(8); - allocate.order(ByteOrder.LITTLE_ENDIAN); - if (J0(fileChannel, allocate, 0) == 1179403647) { - C1(fileChannel, allocate, 1, 4); - boolean z2 = ((short) (allocate.get() & 255)) == 1; - C1(fileChannel, allocate, 1, 5); - if (((short) (allocate.get() & 255)) == 2) { - allocate.order(ByteOrder.BIG_ENDIAN); - } - if (z2) { - j = J0(fileChannel, allocate, 28); - } else { - C1(fileChannel, allocate, 8, 32); - j = allocate.getLong(); - } - if (z2) { - C1(fileChannel, allocate, 2, 44); - j2 = (long) (allocate.getShort() & 65535); - } else { - C1(fileChannel, allocate, 2, 56); - j2 = (long) (allocate.getShort() & 65535); - } - C1(fileChannel, allocate, 2, z2 ? 42 : 54); - int i2 = allocate.getShort() & 65535; - if (j2 == 65535) { - if (z2) { - j14 = J0(fileChannel, allocate, 32); - } else { - C1(fileChannel, allocate, 8, 40); - j14 = allocate.getLong(); - } - j2 = z2 ? J0(fileChannel, allocate, j14 + 28) : J0(fileChannel, allocate, j14 + 44); - } - long j15 = j; - long j16 = 0; - while (true) { - if (j16 >= j2) { - j3 = 0; - break; - } - if ((z2 ? J0(fileChannel, allocate, j15 + 0) : J0(fileChannel, allocate, j15 + 0)) != 2) { - j15 += (long) i2; - j16++; - } else if (z2) { - j3 = J0(fileChannel, allocate, j15 + 4); - } else { - C1(fileChannel, allocate, 8, j15 + 8); - j3 = allocate.getLong(); - } - } - long j17 = 0; - if (j3 != 0) { - long j18 = j3; - long j19 = 0; - int i3 = 0; - while (true) { - long j20 = j18 + j17; - if (z2) { - j4 = J0(fileChannel, allocate, j20); - } else { - C1(fileChannel, allocate, i, j20); - j4 = allocate.getLong(); - } - if (j4 == 1) { - j5 = j3; - if (i3 != Integer.MAX_VALUE) { - i3++; - } else { - throw new h("malformed DT_NEEDED section"); - } - } else { - j5 = j3; - if (j4 == 5) { - if (z2) { - j13 = J0(fileChannel, allocate, j18 + 4); - } else { - C1(fileChannel, allocate, 8, j18 + 8); - j13 = allocate.getLong(); - } - j19 = j13; - } - } - long j21 = 16; - j18 += z2 ? 8 : 16; - long j22 = 0; - if (j4 != 0) { - j17 = 0; - j3 = j5; - i = 8; - } else if (j19 != 0) { - int i4 = 0; - while (true) { - if (((long) i4) >= j2) { - j6 = 0; - break; - } - if ((z2 ? J0(fileChannel, allocate, j + j22) : J0(fileChannel, allocate, j + j22)) == 1) { - if (z2) { - j10 = J0(fileChannel, allocate, j + 8); - } else { - C1(fileChannel, allocate, 8, j + j21); - j10 = allocate.getLong(); - } - if (z2) { - j9 = j2; - j11 = J0(fileChannel, allocate, j + 20); - } else { - j9 = j2; - C1(fileChannel, allocate, 8, j + 40); - j11 = allocate.getLong(); - } - if (j10 <= j19 && j19 < j11 + j10) { - if (z2) { - j12 = J0(fileChannel, allocate, j + 4); - } else { - C1(fileChannel, allocate, 8, j + 8); - j12 = allocate.getLong(); - } - j6 = j12 + (j19 - j10); - } - } else { - j9 = j2; - } - j += (long) i2; - i4++; - j2 = j9; - j21 = 16; - j22 = 0; - } - long j23 = 0; - if (j6 != 0) { - String[] strArr = new String[i3]; - int i5 = 0; - while (true) { - long j24 = j5 + j23; - if (z2) { - j7 = J0(fileChannel, allocate, j24); - } else { - C1(fileChannel, allocate, 8, j24); - j7 = allocate.getLong(); - } - if (j7 == 1) { - if (z2) { - j8 = J0(fileChannel, allocate, j5 + 4); - } else { - C1(fileChannel, allocate, 8, j5 + 8); - j8 = allocate.getLong(); - } - long j25 = j8 + j6; - StringBuilder sb = new StringBuilder(); - while (true) { - long j26 = j25 + 1; - C1(fileChannel, allocate, 1, j25); - short s = (short) (allocate.get() & 255); - if (s == 0) { - break; - } - sb.append((char) s); - j25 = j26; - } - strArr[i5] = sb.toString(); - if (i5 != Integer.MAX_VALUE) { - i5++; - } else { - throw new h("malformed DT_NEEDED section"); - } - } - j5 += z2 ? 8 : 16; - if (j7 != 0) { - j23 = 0; - } else if (i5 == i3) { - return strArr; - } else { - throw new h("malformed DT_NEEDED section"); - } - } - } else { - throw new h("did not find file offset of DT_STRTAB table"); - } - } else { - throw new h("Dynamic section string-table not found"); - } - } - } else { - throw new h("ELF file does not contain dynamic linking information"); - } - } else { - throw new h("file is not ELF"); - } + @NonNull + public static ApiException k0(@NonNull Status status) { + return status.q != null ? new ResolvableApiException(status) : new ApiException(status); } - public static void l1(File file) throws FileUtils$CreateDirectoryException { - if (file.exists()) { - if (!file.isDirectory()) { - if (!file.delete()) { - throw new FileUtils$CreateDirectoryException(file.getAbsolutePath(), new FileUtils$FileDeleteException(file.getAbsolutePath())); - } - } else { - return; - } - } - if (!file.mkdirs() && !file.isDirectory()) { - throw new FileUtils$CreateDirectoryException(file.getAbsolutePath()); - } - } - - @RecentlyNonNull - public static int l2(@RecentlyNonNull Parcel parcel) { - int readInt = parcel.readInt(); - int M1 = M1(parcel, readInt); - int dataPosition = parcel.dataPosition(); - if ((65535 & readInt) != 20293) { - String valueOf = String.valueOf(Integer.toHexString(readInt)); - throw new SafeParcelReader$ParseException(valueOf.length() != 0 ? "Expected object header. Got 0x".concat(valueOf) : new String("Expected object header. Got 0x"), parcel); - } - int i = M1 + dataPosition; - if (i >= dataPosition && i <= parcel.dataSize()) { - return i; - } - StringBuilder sb = new StringBuilder(54); - sb.append("Size read is invalid start="); - sb.append(dataPosition); - sb.append(" end="); - sb.append(i); - throw new SafeParcelReader$ParseException(sb.toString(), parcel); - } - - public static void m(@RecentlyNonNull boolean z2) { - if (!z2) { - throw new IllegalArgumentException(); - } - } - - public static String m0(String str, Object... objArr) { - int indexOf; - String valueOf = String.valueOf(str); - StringBuilder sb = new StringBuilder((objArr.length * 16) + valueOf.length()); - int i = 0; - int i2 = 0; - while (i < objArr.length && (indexOf = valueOf.indexOf("%s", i2)) != -1) { - sb.append(valueOf.substring(i2, indexOf)); - sb.append(objArr[i]); - i2 = indexOf + 2; - i++; - } - sb.append(valueOf.substring(i2)); - if (i < objArr.length) { - sb.append(" ["); - sb.append(objArr[i]); - for (int i3 = i + 1; i3 < objArr.length; i3++) { - sb.append(", "); - sb.append(objArr[i3]); - } - sb.append(']'); - } - return sb.toString(); - } - - public static int m1(int i, int i2) { + public static int k1(int i, int i2) { if (i2 == 255) { return i; } @@ -2610,70 +2445,25 @@ public class d { return (i & ViewCompat.MEASURED_SIZE_MASK) | ((((i >>> 24) * i3) >> 8) << 24); } - public static boolean m2(int i, c.i.a.c.i2.w wVar, boolean z2) throws ParserException { - if (wVar.a() < 7) { - if (z2) { - return false; - } - StringBuilder O = c.d.b.a.a.O("too short header: "); - O.append(wVar.a()); - throw new ParserException(O.toString()); - } else if (wVar.s() != i) { - if (z2) { - return false; - } - StringBuilder O2 = c.d.b.a.a.O("expected header type "); - O2.append(Integer.toHexString(i)); - throw new ParserException(O2.toString()); - } else if (wVar.s() == 118 && wVar.s() == 111 && wVar.s() == 114 && wVar.s() == 98 && wVar.s() == 105 && wVar.s() == 115) { - return true; - } else { - if (z2) { - return false; - } - throw new ParserException("expected characters 'vorbis'"); + @RecentlyNonNull + public static int k2(@RecentlyNonNull Parcel parcel) { + int readInt = parcel.readInt(); + int K1 = K1(parcel, readInt); + int dataPosition = parcel.dataPosition(); + if ((65535 & readInt) != 20293) { + String valueOf = String.valueOf(Integer.toHexString(readInt)); + throw new SafeParcelReader$ParseException(valueOf.length() != 0 ? "Expected object header. Got 0x".concat(valueOf) : new String("Expected object header. Got 0x"), parcel); } + int i = K1 + dataPosition; + if (i >= dataPosition && i <= parcel.dataSize()) { + return i; + } + throw new SafeParcelReader$ParseException(c.d.b.a.a.g(54, "Size read is invalid start=", dataPosition, " end=", i), parcel); } - @Pure - public static void n(boolean z2, Object obj) { + public static void l(@RecentlyNonNull boolean z2) { if (!z2) { - throw new IllegalArgumentException(String.valueOf(obj)); - } - } - - @NonNull - public static ApiException n0(@NonNull Status status) { - return status.q != null ? new ResolvableApiException(status) : new ApiException(status); - } - - public static final Integer n1(JsonReader jsonReader) { - c0.z.d.m.checkNotNullParameter(jsonReader, "$this$nextIntOrNull"); - if (jsonReader.N() != JsonToken.NULL) { - return Integer.valueOf(jsonReader.z()); - } - jsonReader.H(); - return null; - } - - public static void n2(File file, c.f.d.c.a aVar) { - aVar.b(file); - File[] listFiles = file.listFiles(); - if (listFiles != null) { - for (File file2 : listFiles) { - if (file2.isDirectory()) { - n2(file2, aVar); - } else { - aVar.a(file2); - } - } - } - aVar.c(file); - } - - public static void o(@RecentlyNonNull boolean z2, @RecentlyNonNull String str, @RecentlyNonNull Object... objArr) { - if (!z2) { - throw new IllegalArgumentException(String.format(str, objArr)); + throw new IllegalArgumentException(); } } @@ -2692,12 +2482,12 @@ public class d { /* JADX WARNING: Code restructure failed: missing block: B:24:0x005a, code lost: throw r1; */ - public static void o0(File file) throws IOException { + public static void l0(File file) throws IOException { if (file.isDirectory()) { File[] listFiles = file.listFiles(); if (listFiles != null) { for (File file2 : listFiles) { - o0(file2); + l0(file2); } return; } @@ -2709,89 +2499,99 @@ public class d { } } - @Nullable - public static List> o1(c.c.a.a0.i0.c cVar, c.c.a.d dVar, h0 h0Var) throws IOException { - return r.a(cVar, dVar, 1.0f, h0Var); + public static final Integer l1(JsonReader jsonReader) { + m.checkNotNullParameter(jsonReader, "$this$nextIntOrNull"); + if (jsonReader.N() != JsonToken.NULL) { + return Integer.valueOf(jsonReader.y()); + } + jsonReader.H(); + return null; } - public static void o2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull Bundle bundle, @RecentlyNonNull boolean z2) { - if (bundle != null) { - int w2 = w2(parcel, i); - parcel.writeBundle(bundle); - B2(parcel, w2); - } else if (z2) { - z2(parcel, i, 0); + public static boolean l2(int i, x xVar, boolean z2) throws ParserException { + if (xVar.a() < 7) { + if (z2) { + return false; + } + throw c.d.b.a.a.s0(29, "too short header: ", xVar.a(), null); + } else if (xVar.t() != i) { + if (z2) { + return false; + } + String valueOf = String.valueOf(Integer.toHexString(i)); + throw ParserException.a(valueOf.length() != 0 ? "expected header type ".concat(valueOf) : new String("expected header type "), null); + } else if (xVar.t() == 118 && xVar.t() == 111 && xVar.t() == 114 && xVar.t() == 98 && xVar.t() == 105 && xVar.t() == 115) { + return true; + } else { + if (z2) { + return false; + } + throw ParserException.a("expected characters 'vorbis'", null); } } - public static void p(@RecentlyNonNull boolean z2, @RecentlyNonNull Object obj) { + @Pure + public static void m(boolean z2, Object obj) { if (!z2) { throw new IllegalArgumentException(String.valueOf(obj)); } } - public static int p0(InputStream inputStream) throws IOException { + public static int m0(InputStream inputStream) throws IOException { return ((((byte) inputStream.read()) << 8) & 65280) | (((byte) inputStream.read()) & 255); } - public static c.c.a.y.k.a p1(c.c.a.a0.i0.c cVar, c.c.a.d dVar) throws IOException { - return new c.c.a.y.k.a(o1(cVar, dVar, f.a)); + @Nullable + public static List> m1(c.c.a.a0.i0.c cVar, c.c.a.d dVar, h0 h0Var) throws IOException { + return r.a(cVar, dVar, 1.0f, h0Var); } - public static void p2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull byte[] bArr, @RecentlyNonNull boolean z2) { - if (bArr != null) { - int w2 = w2(parcel, i); - parcel.writeByteArray(bArr); - B2(parcel, w2); - } else if (z2) { - z2(parcel, i, 0); + public static void m2(File file, c.f.d.c.a aVar) { + aVar.b(file); + File[] listFiles = file.listFiles(); + if (listFiles != null) { + for (File file2 : listFiles) { + if (file2.isDirectory()) { + m2(file2, aVar); + } else { + aVar.a(file2); + } + } + } + aVar.c(file); + } + + public static void n(@RecentlyNonNull boolean z2, @RecentlyNonNull String str, @RecentlyNonNull Object... objArr) { + if (!z2) { + throw new IllegalArgumentException(String.format(str, objArr)); } } - public static void q(int i, int i2, int i3, int i4, int i5) { - boolean z2 = true; - j(Boolean.valueOf(i4 >= 0)); - j(Boolean.valueOf(i >= 0)); - j(Boolean.valueOf(i3 >= 0)); - j(Boolean.valueOf(i + i4 <= i5)); - if (i3 + i4 > i2) { - z2 = false; - } - j(Boolean.valueOf(z2)); - } - - public static int q0(int i) { + public static int n0(int i) { return (int) (((float) i) * 1.3333334f); } - public static c.c.a.y.k.b q1(c.c.a.a0.i0.c cVar, c.c.a.d dVar) throws IOException { - return r1(cVar, dVar, true); + public static c.c.a.y.k.a n1(c.c.a.a0.i0.c cVar, c.c.a.d dVar) throws IOException { + return new c.c.a.y.k.a(m1(cVar, dVar, f.a)); } - public static void q2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull IBinder iBinder, @RecentlyNonNull boolean z2) { - if (iBinder != null) { - int w2 = w2(parcel, i); - parcel.writeStrongBinder(iBinder); - B2(parcel, w2); + public static void n2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull Bundle bundle, @RecentlyNonNull boolean z2) { + if (bundle != null) { + int v2 = v2(parcel, i); + parcel.writeBundle(bundle); + A2(parcel, v2); } else if (z2) { - z2(parcel, i, 0); + y2(parcel, i, 0); } } - public static void r() { - while (true) { - int glGetError = GLES20.glGetError(); - if (glGetError != 0) { - StringBuilder O = c.d.b.a.a.O("glError "); - O.append(GLU.gluErrorString(glGetError)); - Log.e("GlUtil", O.toString()); - } else { - return; - } + public static void o(@RecentlyNonNull boolean z2, @RecentlyNonNull Object obj) { + if (!z2) { + throw new IllegalArgumentException(String.valueOf(obj)); } } - public static p r0(Drawable drawable) { + public static p o0(Drawable drawable) { if (drawable == null) { return null; } @@ -2799,74 +2599,74 @@ public class d { return (p) drawable; } if (drawable instanceof c.f.g.e.d) { - return r0(((c.f.g.e.d) drawable).l()); + return o0(((c.f.g.e.d) drawable).l()); } if (drawable instanceof c.f.g.e.b) { c.f.g.e.b bVar = (c.f.g.e.b) drawable; int length = bVar.k.length; for (int i = 0; i < length; i++) { - p r0 = r0(bVar.a(i)); - if (r0 != null) { - return r0; + p o0 = o0(bVar.a(i)); + if (o0 != null) { + return o0; } } } return null; } - public static c.c.a.y.k.b r1(c.c.a.a0.i0.c cVar, c.c.a.d dVar, boolean z2) throws IOException { - return new c.c.a.y.k.b(r.a(cVar, dVar, z2 ? g.c() : 1.0f, i.a)); + public static c.c.a.y.k.b o1(c.c.a.a0.i0.c cVar, c.c.a.d dVar) throws IOException { + return p1(cVar, dVar, true); } - public static void r2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull Parcelable parcelable, @RecentlyNonNull int i2, @RecentlyNonNull boolean z2) { - if (parcelable != null) { - int w2 = w2(parcel, i); - parcelable.writeToParcel(parcel, i2); - B2(parcel, w2); + public static void o2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull byte[] bArr, @RecentlyNonNull boolean z2) { + if (bArr != null) { + int v2 = v2(parcel, i); + parcel.writeByteArray(bArr); + A2(parcel, v2); } else if (z2) { - z2(parcel, i, 0); + y2(parcel, i, 0); } } - public static void s(@RecentlyNonNull Handler handler) { - Looper myLooper = Looper.myLooper(); - if (myLooper != handler.getLooper()) { - String name = myLooper != null ? myLooper.getThread().getName() : "null current looper"; - String name2 = handler.getLooper().getThread().getName(); - StringBuilder N = c.d.b.a.a.N(c.d.b.a.a.b(name, c.d.b.a.a.b(name2, 36)), "Must be called on ", name2, " thread, but got ", name); - N.append("."); - throw new IllegalStateException(N.toString()); + public static void p(int i, int i2, int i3, int i4, int i5) { + boolean z2 = true; + i(Boolean.valueOf(i4 >= 0)); + i(Boolean.valueOf(i >= 0)); + i(Boolean.valueOf(i3 >= 0)); + i(Boolean.valueOf(i + i4 <= i5)); + if (i3 + i4 > i2) { + z2 = false; } + i(Boolean.valueOf(z2)); } - public static Object s0(Object obj) { + public static Object p0(Object obj) { return new a(obj.getClass(), Array.getLength(obj), obj); } - public static c.c.a.y.k.d s1(c.c.a.a0.i0.c cVar, c.c.a.d dVar) throws IOException { - return new c.c.a.y.k.d(o1(cVar, dVar, o.a)); + public static c.c.a.y.k.b p1(c.c.a.a0.i0.c cVar, c.c.a.d dVar, boolean z2) throws IOException { + return new c.c.a.y.k.b(r.a(cVar, dVar, z2 ? g.c() : 1.0f, i.a)); } - public static void s2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull String str, @RecentlyNonNull boolean z2) { - if (str != null) { - int w2 = w2(parcel, i); - parcel.writeString(str); - B2(parcel, w2); + public static void p2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull IBinder iBinder, @RecentlyNonNull boolean z2) { + if (iBinder != null) { + int v2 = v2(parcel, i); + parcel.writeStrongBinder(iBinder); + A2(parcel, v2); } else if (z2) { - z2(parcel, i, 0); + y2(parcel, i, 0); } } @Pure - public static int t(int i, int i2, int i3) { - if (i >= i2 && i < i3) { - return i; + public static void q(boolean z2, @Nullable String str) throws ParserException { + if (!z2) { + throw ParserException.a(str, null); } - throw new IndexOutOfBoundsException(); } @Nullable - public static String t0(XmlPullParser xmlPullParser, String str) { + public static String q0(XmlPullParser xmlPullParser, String str) { int attributeCount = xmlPullParser.getAttributeCount(); for (int i = 0; i < attributeCount; i++) { if (xmlPullParser.getAttributeName(i).equals(str)) { @@ -2876,89 +2676,131 @@ public class d { return null; } + public static c.c.a.y.k.d q1(c.c.a.a0.i0.c cVar, c.c.a.d dVar) throws IOException { + return new c.c.a.y.k.d(m1(cVar, dVar, o.a)); + } + + public static void q2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull Parcelable parcelable, @RecentlyNonNull int i2, @RecentlyNonNull boolean z2) { + if (parcelable != null) { + int v2 = v2(parcel, i); + parcelable.writeToParcel(parcel, i2); + A2(parcel, v2); + } else if (z2) { + y2(parcel, i, 0); + } + } + + public static boolean r(c.i.a.c.x2.i iVar) throws IOException { + x xVar = new x(8); + if (c.i.a.c.x2.l0.d.a(iVar, xVar).a != 1380533830) { + return false; + } + iVar.o(xVar.a, 0, 4); + xVar.E(0); + int f2 = xVar.f(); + if (f2 == 1463899717) { + return true; + } + StringBuilder sb = new StringBuilder(34); + sb.append("Unsupported form type: "); + sb.append(f2); + Log.e("WavHeaderReader", sb.toString()); + return false; + } + + public static int r0(int i) { + if (i == 3) { + return BaseTransientBottomBar.ANIMATION_FADE_DURATION; + } + if (i != 6) { + return i != 8 ? 0 : 270; + } + return 90; + } + /* JADX WARNING: Removed duplicated region for block: B:58:0x01a5 */ /* JADX WARNING: Removed duplicated region for block: B:66:0x01bc A[SYNTHETIC] */ @Nullable - public static ArrayList t1(c.i.a.c.i2.w wVar) { + public static ArrayList r1(x xVar) { int i; - ArrayList arrayList; - ArrayList arrayList2; - d.a aVar; - c.i.a.c.i2.w wVar2 = wVar; - if (wVar.s() != 0) { + ArrayList arrayList; + ArrayList arrayList2; + h.a aVar; + x xVar2 = xVar; + if (xVar.t() != 0) { return null; } - wVar2.E(7); - int f = wVar.f(); - if (f == 1684433976) { - c.i.a.c.i2.w wVar3 = new c.i.a.c.i2.w(); + xVar2.F(7); + int f2 = xVar.f(); + if (f2 == 1684433976) { + x xVar3 = new x(); Inflater inflater = new Inflater(true); try { - if (!f0.x(wVar2, wVar3, inflater)) { + if (!c.i.a.c.f3.e0.x(xVar2, xVar3, inflater)) { return null; } inflater.end(); - wVar2 = wVar3; + xVar2 = xVar3; } finally { inflater.end(); } - } else if (f != 1918990112) { + } else if (f2 != 1918990112) { return null; } - ArrayList arrayList3 = new ArrayList<>(); - int i2 = wVar2.b; - int i3 = wVar2.f974c; + ArrayList arrayList3 = new ArrayList<>(); + int i2 = xVar2.b; + int i3 = xVar2.f792c; while (i2 < i3) { - int f2 = wVar2.f() + i2; - if (f2 > i2 && f2 <= i3) { - if (wVar2.f() == 1835365224) { - int f3 = wVar2.f(); - if (f3 <= 10000) { - float[] fArr = new float[f3]; - for (int i4 = 0; i4 < f3; i4++) { - fArr[i4] = Float.intBitsToFloat(wVar2.f()); + int f3 = xVar2.f() + i2; + if (f3 > i2 && f3 <= i3) { + if (xVar2.f() == 1835365224) { + int f4 = xVar2.f(); + if (f4 <= 10000) { + float[] fArr = new float[f4]; + for (int i4 = 0; i4 < f4; i4++) { + fArr[i4] = Float.intBitsToFloat(xVar2.f()); } - int f4 = wVar2.f(); - if (f4 <= 32000) { + int f5 = xVar2.f(); + if (f5 <= 32000) { double log = Math.log(2.0d); arrayList2 = arrayList3; - int ceil = (int) Math.ceil(Math.log(((double) f3) * 2.0d) / log); - c.i.a.c.i2.v vVar = new c.i.a.c.i2.v(wVar2.a); - vVar.k(wVar2.b * 8); - float[] fArr2 = new float[(f4 * 5)]; + int ceil = (int) Math.ceil(Math.log(((double) f4) * 2.0d) / log); + c.i.a.c.f3.w wVar = new c.i.a.c.f3.w(xVar2.a); + wVar.k(xVar2.b * 8); + float[] fArr2 = new float[(f5 * 5)]; int i5 = 5; int[] iArr = new int[5]; int i6 = 0; int i7 = 0; while (true) { - if (i6 >= f4) { - vVar.k((vVar.e() + 7) & -8); + if (i6 >= f5) { + wVar.k((wVar.e() + 7) & -8); int i8 = 32; - int g = vVar.g(32); - d.b[] bVarArr = new d.b[g]; + int g = wVar.g(32); + h.b[] bVarArr = new h.b[g]; int i9 = 0; while (true) { if (i9 >= g) { i = i3; - aVar = new d.a(bVarArr); + aVar = new h.a(bVarArr); break; } - int g2 = vVar.g(8); - int g3 = vVar.g(8); - int g4 = vVar.g(i8); + int g2 = wVar.g(8); + int g3 = wVar.g(8); + int g4 = wVar.g(i8); if (g4 > 128000) { break; } i = i3; - int ceil2 = (int) Math.ceil(Math.log(((double) f4) * 2.0d) / log); + int ceil2 = (int) Math.ceil(Math.log(((double) f5) * 2.0d) / log); float[] fArr3 = new float[(g4 * 3)]; float[] fArr4 = new float[(g4 * 2)]; int i10 = 0; int i11 = 0; while (i10 < g4) { - int g5 = vVar.g(ceil2); + int g5 = wVar.g(ceil2); int i12 = i11 + ((-(g5 & 1)) ^ (g5 >> 1)); - if (i12 < 0 || i12 >= f4) { + if (i12 < 0 || i12 >= f5) { break; } int i13 = i10 * 3; @@ -2973,9 +2815,9 @@ public class d { i11 = i12; fArr4 = fArr4; g = g; - vVar = vVar; + wVar = wVar; } - bVarArr[i9] = new d.b(g2, fArr3, fArr4, g3); + bVarArr[i9] = new h.b(g2, fArr3, fArr4, g3); i9++; i3 = i; g = g; @@ -2985,9 +2827,9 @@ public class d { int i16 = 0; while (i16 < i5) { int i17 = iArr[i16]; - int g6 = vVar.g(ceil); + int g6 = wVar.g(ceil); int i18 = i17 + ((-(g6 & 1)) ^ (g6 >> 1)); - if (i18 >= f3 || i18 < 0) { + if (i18 >= f4 || i18 < 0) { break; } fArr2[i7] = fArr[i18]; @@ -3017,9 +2859,9 @@ public class d { arrayList = arrayList3; i = i3; } - wVar2.D(f2); + xVar2.E(f3); arrayList3 = arrayList; - i2 = f2; + i2 = f3; i3 = i; } return null; @@ -3027,63 +2869,28 @@ public class d { return arrayList3; } - public static void t2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull String[] strArr, @RecentlyNonNull boolean z2) { - if (strArr != null) { - int w2 = w2(parcel, i); - parcel.writeStringArray(strArr); - B2(parcel, w2); + public static void r2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull String str, @RecentlyNonNull boolean z2) { + if (str != null) { + int v2 = v2(parcel, i); + parcel.writeString(str); + A2(parcel, v2); } else if (z2) { - z2(parcel, i, 0); + y2(parcel, i, 0); } } - public static void u(@RecentlyNonNull String str) { - if (!(Looper.getMainLooper() == Looper.myLooper())) { - throw new IllegalStateException(str); + public static void s(@RecentlyNonNull Handler handler) { + Looper myLooper = Looper.myLooper(); + if (myLooper != handler.getLooper()) { + String name = myLooper != null ? myLooper.getThread().getName() : "null current looper"; + String name2 = handler.getLooper().getThread().getName(); + StringBuilder Q = c.d.b.a.a.Q(c.d.b.a.a.b(name, c.d.b.a.a.b(name2, 36)), "Must be called on ", name2, " thread, but got ", name); + Q.append("."); + throw new IllegalStateException(Q.toString()); } } - public static int u0(int i) { - if (i == 3) { - return BaseTransientBottomBar.ANIMATION_FADE_DURATION; - } - if (i != 6) { - return i != 8 ? 0 : 270; - } - return 90; - } - - public static c.c.a.y.k.f u1(c.c.a.a0.i0.c cVar, c.c.a.d dVar) throws IOException { - return new c.c.a.y.k.f(r.a(cVar, dVar, g.c(), w.a)); - } - - public static void u2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull T[] tArr, @RecentlyNonNull int i2, @RecentlyNonNull boolean z2) { - if (tArr != null) { - int w2 = w2(parcel, i); - int length = tArr.length; - parcel.writeInt(length); - for (T t : tArr) { - if (t == null) { - parcel.writeInt(0); - } else { - y2(parcel, t, i2); - } - } - B2(parcel, w2); - } else if (z2) { - z2(parcel, i, 0); - } - } - - @RecentlyNonNull - public static String v(@RecentlyNonNull String str, @RecentlyNonNull Object obj) { - if (!TextUtils.isEmpty(str)) { - return str; - } - throw new IllegalArgumentException(String.valueOf(obj)); - } - - public static Object v0(j jVar) { + public static Object s0(j jVar) { Class cls = jVar._class; Class v = c.g.a.c.i0.d.v(cls); if (v != null) { @@ -3111,7 +2918,7 @@ public class d { if (v == Character.TYPE) { return (char) 0; } - throw new IllegalArgumentException(c.d.b.a.a.j(v, c.d.b.a.a.O("Class "), " is not a primitive type")); + throw new IllegalArgumentException(c.d.b.a.a.n(v, c.d.b.a.a.R("Class "), " is not a primitive type")); } else if (jVar.v() || jVar.b()) { return p.a.NON_EMPTY; } else { @@ -3130,63 +2937,29 @@ public class d { } } - @Nullable - public static c.i.a.c.a2.h0.j v1(byte[] bArr) { - c.i.a.c.i2.w wVar = new c.i.a.c.i2.w(bArr); - if (wVar.f974c < 32) { - return null; - } - wVar.D(0); - if (wVar.f() != wVar.a() + 4 || wVar.f() != 1886614376) { - return null; - } - int f = (wVar.f() >> 24) & 255; - if (f > 1) { - c.d.b.a.a.i0("Unsupported pssh version: ", f, "PsshAtomUtil"); - return null; - } - UUID uuid = new UUID(wVar.m(), wVar.m()); - if (f == 1) { - wVar.E(wVar.v() * 16); - } - int v = wVar.v(); - if (v != wVar.a()) { - return null; - } - byte[] bArr2 = new byte[v]; - System.arraycopy(wVar.a, wVar.b, bArr2, 0, v); - wVar.b += v; - return new c.i.a.c.a2.h0.j(uuid, f, bArr2); + public static c.c.a.y.k.f s1(c.c.a.a0.i0.c cVar, c.c.a.d dVar) throws IOException { + return new c.c.a.y.k.f(r.a(cVar, dVar, g.c(), w.a)); } - public static void v2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull List list, @RecentlyNonNull boolean z2) { - if (list != null) { - int w2 = w2(parcel, i); - int size = list.size(); - parcel.writeInt(size); - for (int i2 = 0; i2 < size; i2++) { - T t = list.get(i2); - if (t == null) { - parcel.writeInt(0); - } else { - y2(parcel, t, 0); - } - } - B2(parcel, w2); + public static void s2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull String[] strArr, @RecentlyNonNull boolean z2) { + if (strArr != null) { + int v2 = v2(parcel, i); + parcel.writeStringArray(strArr); + A2(parcel, v2); } else if (z2) { - z2(parcel, i, 0); + y2(parcel, i, 0); } } - @RecentlyNonNull - public static String w(@RecentlyNonNull String str) { - if (!TextUtils.isEmpty(str)) { - return str; + @Pure + public static int t(int i, int i2, int i3) { + if (i >= i2 && i < i3) { + return i; } - throw new IllegalArgumentException("Given String is empty or null"); + throw new IndexOutOfBoundsException(); } - public static Drawable w0(Context context, TypedArray typedArray, int i) { + public static Drawable t0(Context context, TypedArray typedArray, int i) { int resourceId = typedArray.getResourceId(i, 0); if (resourceId == 0) { return null; @@ -3195,32 +2968,60 @@ public class d { } @Nullable - public static byte[] w1(byte[] bArr, UUID uuid) { - c.i.a.c.a2.h0.j v1 = v1(bArr); - if (v1 == null) { + public static c.i.a.c.x2.i0.j t1(byte[] bArr) { + x xVar = new x(bArr); + if (xVar.f792c < 32) { return null; } - if (uuid.equals(v1.a)) { - return v1.f746c; + xVar.E(0); + if (xVar.f() != xVar.a() + 4 || xVar.f() != 1886614376) { + return null; } - Log.w("PsshAtomUtil", "UUID mismatch. Expected: " + uuid + ", got: " + v1.a + "."); - return null; + int f2 = (xVar.f() >> 24) & 255; + if (f2 > 1) { + c.d.b.a.a.d0(37, "Unsupported pssh version: ", f2, "PsshAtomUtil"); + return null; + } + UUID uuid = new UUID(xVar.m(), xVar.m()); + if (f2 == 1) { + xVar.F(xVar.w() * 16); + } + int w = xVar.w(); + if (w != xVar.a()) { + return null; + } + byte[] bArr2 = new byte[w]; + System.arraycopy(xVar.a, xVar.b, bArr2, 0, w); + xVar.b += w; + return new c.i.a.c.x2.i0.j(uuid, f2, bArr2); } - public static int w2(Parcel parcel, int i) { - parcel.writeInt(i | SupportMenu.CATEGORY_MASK); - parcel.writeInt(0); - return parcel.dataPosition(); + public static void t2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull T[] tArr, @RecentlyNonNull int i2, @RecentlyNonNull boolean z2) { + if (tArr != null) { + int v2 = v2(parcel, i); + int length = tArr.length; + parcel.writeInt(length); + for (T t : tArr) { + if (t == null) { + parcel.writeInt(0); + } else { + x2(parcel, t, i2); + } + } + A2(parcel, v2); + } else if (z2) { + y2(parcel, i, 0); + } } - public static void x(@RecentlyNonNull String str) { - if (Looper.getMainLooper() == Looper.myLooper()) { + public static void u(@RecentlyNonNull String str) { + if (!(Looper.getMainLooper() == Looper.myLooper())) { throw new IllegalStateException(str); } } @RecentlyNonNull - public static String x0(@RecentlyNonNull PowerManager.WakeLock wakeLock, @RecentlyNonNull String str) { + public static String u0(@RecentlyNonNull PowerManager.WakeLock wakeLock, @RecentlyNonNull String str) { String valueOf = String.valueOf(String.valueOf(((long) System.identityHashCode(wakeLock)) | (((long) Process.myPid()) << 32))); String str2 = null; if (TextUtils.isEmpty(null)) { @@ -3231,101 +3032,115 @@ public class d { } @Nullable - public static c.i.a.c.a2.k0.c x1(c.i.a.c.a2.i iVar) throws IOException { - byte[] bArr; - Objects.requireNonNull(iVar); - c.i.a.c.i2.w wVar = new c.i.a.c.i2.w(16); - if (c.i.a.c.a2.k0.d.a(iVar, wVar).a != 1380533830) { + public static byte[] u1(byte[] bArr, UUID uuid) { + c.i.a.c.x2.i0.j t1 = t1(bArr); + if (t1 == null) { return null; } - iVar.n(wVar.a, 0, 4); - wVar.D(0); - int f = wVar.f(); - if (f != 1463899717) { - Log.e("WavHeaderReader", "Unsupported RIFF format: " + f); - return null; + if (uuid.equals(t1.a)) { + return t1.f978c; } - c.i.a.c.a2.k0.d a2 = c.i.a.c.a2.k0.d.a(iVar, wVar); - while (a2.a != 1718449184) { - iVar.g((int) a2.b); - a2 = c.i.a.c.a2.k0.d.a(iVar, wVar); - } - D(a2.b >= 16); - iVar.n(wVar.a, 0, 16); - wVar.D(0); - int l = wVar.l(); - int l2 = wVar.l(); - int k = wVar.k(); - int k2 = wVar.k(); - int l3 = wVar.l(); - int l4 = wVar.l(); - int i = ((int) a2.b) - 16; - if (i > 0) { - byte[] bArr2 = new byte[i]; - iVar.n(bArr2, 0, i); - bArr = bArr2; - } else { - bArr = f0.f; - } - return new c.i.a.c.a2.k0.c(l, l2, k, k2, l3, l4, bArr); + String valueOf = String.valueOf(uuid); + String valueOf2 = String.valueOf(t1.a); + c.d.b.a.a.n0(c.d.b.a.a.Q(valueOf2.length() + valueOf.length() + 33, "UUID mismatch. Expected: ", valueOf, ", got: ", valueOf2), ".", "PsshAtomUtil"); + return null; } - public static void x2(Parcel parcel, int i, int i2) { - int M1 = M1(parcel, i); - if (M1 != i2) { - String hexString = Integer.toHexString(M1); - StringBuilder sb = new StringBuilder(String.valueOf(hexString).length() + 46); - sb.append("Expected size "); - sb.append(i2); - sb.append(" got "); - sb.append(M1); - sb.append(" (0x"); - sb.append(hexString); - sb.append(")"); - throw new SafeParcelReader$ParseException(sb.toString(), parcel); + public static void u2(@RecentlyNonNull Parcel parcel, @RecentlyNonNull int i, @RecentlyNonNull List list, @RecentlyNonNull boolean z2) { + if (list != null) { + int v2 = v2(parcel, i); + int size = list.size(); + parcel.writeInt(size); + for (int i2 = 0; i2 < size; i2++) { + T t = list.get(i2); + if (t == null) { + parcel.writeInt(0); + } else { + x2(parcel, t, 0); + } + } + A2(parcel, v2); + } else if (z2) { + y2(parcel, i, 0); } } - public static T y(T t, Object obj) { - if (t != null) { - return t; + @RecentlyNonNull + public static String v(@RecentlyNonNull String str, @RecentlyNonNull Object obj) { + if (!TextUtils.isEmpty(str)) { + return str; } - throw new NullPointerException(String.valueOf(obj)); + throw new IllegalArgumentException(String.valueOf(obj)); } - public static int y0(InputStream inputStream) throws IOException { + public static int v0(InputStream inputStream) throws IOException { return ((((byte) inputStream.read()) << 24) & ViewCompat.MEASURED_STATE_MASK) | ((((byte) inputStream.read()) << 16) & ItemTouchHelper.ACTION_MODE_DRAG_MASK) | ((((byte) inputStream.read()) << 8) & 65280) | (((byte) inputStream.read()) & 255); } + public static boolean v1(c.i.a.c.x2.i iVar, byte[] bArr, int i, int i2, boolean z2) throws IOException { + try { + return iVar.e(bArr, i, i2, z2); + } catch (EOFException e2) { + if (z2) { + return false; + } + throw e2; + } + } + + public static int v2(Parcel parcel, int i) { + parcel.writeInt(i | SupportMenu.CATEGORY_MASK); + parcel.writeInt(0); + return parcel.dataPosition(); + } + + @RecentlyNonNull + public static String w(@RecentlyNonNull String str) { + if (!TextUtils.isEmpty(str)) { + return str; + } + throw new IllegalArgumentException("Given String is empty or null"); + } + + public static final Integer w0(Intent intent, String str) { + m.checkNotNullParameter(intent, "$this$getIntExtraOrNull"); + m.checkNotNullParameter(str, "key"); + Integer valueOf = Integer.valueOf(intent.getIntExtra(str, Integer.MIN_VALUE)); + if (!(valueOf.intValue() == Integer.MIN_VALUE)) { + return valueOf; + } + return null; + } + @Nullable - public static Metadata y1(c.i.a.c.a2.i iVar, boolean z2) throws IOException { - c.i.a.c.c2.k.a aVar; + public static Metadata w1(c.i.a.c.x2.i iVar, boolean z2) throws IOException { + c.i.a.c.z2.k.a aVar; if (z2) { aVar = null; } else { - int i = c.i.a.c.c2.k.b.a; - aVar = c.i.a.c.c2.k.a.a; + int i = c.i.a.c.z2.k.b.a; + aVar = c.i.a.c.z2.k.a.a; } - c.i.a.c.i2.w wVar = new c.i.a.c.i2.w(10); + x xVar = new x(10); Metadata metadata = null; int i2 = 0; while (true) { try { - iVar.n(wVar.a, 0, 10); - wVar.D(0); - if (wVar.u() != 4801587) { + iVar.o(xVar.a, 0, 10); + xVar.E(0); + if (xVar.v() != 4801587) { break; } - wVar.E(3); - int r2 = wVar.r(); - int i3 = r2 + 10; + xVar.F(3); + int s2 = xVar.s(); + int i3 = s2 + 10; if (metadata == null) { byte[] bArr = new byte[i3]; - System.arraycopy(wVar.a, 0, bArr, 0, 10); - iVar.n(bArr, 10, r2); - metadata = new c.i.a.c.c2.k.b(aVar).d(bArr, i3); + System.arraycopy(xVar.a, 0, bArr, 0, 10); + iVar.o(bArr, 10, s2); + metadata = new c.i.a.c.z2.k.b(aVar).d(bArr, i3); } else { - iVar.g(r2); + iVar.g(s2); } i2 += i3; } catch (EOFException unused) { @@ -3339,37 +3154,29 @@ public class d { return metadata; } - public static void y2(Parcel parcel, T t, int i) { - int dataPosition = parcel.dataPosition(); - parcel.writeInt(1); - int dataPosition2 = parcel.dataPosition(); - t.writeToParcel(parcel, i); - int dataPosition3 = parcel.dataPosition(); - parcel.setDataPosition(dataPosition); - parcel.writeInt(dataPosition3 - dataPosition2); - parcel.setDataPosition(dataPosition3); - } - - @NonNull - @EnsuresNonNull({"#1"}) - public static T z(@RecentlyNonNull T t, @RecentlyNonNull Object obj) { - if (t != null) { - return t; + public static void w2(Parcel parcel, int i, int i2) { + int K1 = K1(parcel, i); + if (K1 != i2) { + String hexString = Integer.toHexString(K1); + StringBuilder O = c.d.b.a.a.O(c.d.b.a.a.b(hexString, 46), "Expected size ", i2, " got ", K1); + O.append(" (0x"); + O.append(hexString); + O.append(")"); + throw new SafeParcelReader$ParseException(O.toString(), parcel); } - throw new NullPointerException(String.valueOf(obj)); } - public static final Integer z0(Intent intent, String str) { - c0.z.d.m.checkNotNullParameter(intent, "$this$getIntExtraOrNull"); - c0.z.d.m.checkNotNullParameter(str, "key"); - Integer valueOf = Integer.valueOf(intent.getIntExtra(str, Integer.MIN_VALUE)); - if (!(valueOf.intValue() == Integer.MIN_VALUE)) { - return valueOf; + public static void x(@RecentlyNonNull String str) { + if (Looper.getMainLooper() == Looper.myLooper()) { + throw new IllegalStateException(str); } - return null; } - public static int z1(c.i.a.c.a2.i iVar, byte[] bArr, int i, int i2) throws IOException { + public static final StageRequestToSpeakState x0(VoiceState voiceState) { + return voiceState == null ? StageRequestToSpeakState.NONE : (!voiceState.l() || voiceState.f() == null) ? (voiceState.l() || voiceState.f() == null) ? !voiceState.l() ? StageRequestToSpeakState.ON_STAGE : StageRequestToSpeakState.NONE : StageRequestToSpeakState.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK : StageRequestToSpeakState.REQUESTED_TO_SPEAK; + } + + public static int x1(c.i.a.c.x2.i iVar, byte[] bArr, int i, int i2) throws IOException { int i3 = 0; while (i3 < i2) { int i4 = iVar.i(bArr, i + i3, i2 - i3); @@ -3381,7 +3188,60 @@ public class d { return i3; } - public static void z2(Parcel parcel, int i, int i2) { + public static void x2(Parcel parcel, T t, int i) { + int dataPosition = parcel.dataPosition(); + parcel.writeInt(1); + int dataPosition2 = parcel.dataPosition(); + t.writeToParcel(parcel, i); + int dataPosition3 = parcel.dataPosition(); + parcel.setDataPosition(dataPosition); + parcel.writeInt(dataPosition3 - dataPosition2); + parcel.setDataPosition(dataPosition3); + } + + public static T y(T t, Object obj) { + if (t != null) { + return t; + } + throw new NullPointerException(String.valueOf(obj)); + } + + public static List y0(CacheKey cacheKey) { + try { + if (!(cacheKey instanceof c.f.b.a.c)) { + ArrayList arrayList = new ArrayList(1); + arrayList.add(cacheKey.a() ? cacheKey.b() : U1(cacheKey)); + return arrayList; + } + Objects.requireNonNull((c.f.b.a.c) cacheKey); + throw null; + } catch (UnsupportedEncodingException e2) { + throw new RuntimeException(e2); + } + } + + public static boolean y1(c.g.a.c.c0.e0 e0Var, j jVar, Type type) { + if (!jVar.B(e0Var.a(type)._class)) { + return false; + } + ParameterizedType f1 = f1(type); + if (f1 == null || !Objects.equals(jVar._class, f1.getRawType())) { + return true; + } + Type[] actualTypeArguments = f1.getActualTypeArguments(); + c.g.a.c.h0.m j = jVar.j(); + if (j.j() != actualTypeArguments.length) { + return false; + } + for (int i = 0; i < j.j(); i++) { + if (!y1(e0Var, j.f(i), actualTypeArguments[i])) { + return false; + } + } + return true; + } + + public static void y2(Parcel parcel, int i, int i2) { if (i2 >= 65535) { parcel.writeInt(i | SupportMenu.CATEGORY_MASK); parcel.writeInt(i2); @@ -3389,4 +3249,75 @@ public class d { } parcel.writeInt(i | (i2 << 16)); } + + @NonNull + @EnsuresNonNull({"#1"}) + public static T z(@RecentlyNonNull T t, @RecentlyNonNull Object obj) { + if (t != null) { + return t; + } + throw new NullPointerException(String.valueOf(obj)); + } + + public static ScalingUtils$ScaleType z0(TypedArray typedArray, int i) { + switch (typedArray.getInt(i, -2)) { + case -1: + return null; + case 0: + ScalingUtils$ScaleType scalingUtils$ScaleType = ScalingUtils$ScaleType.a; + return c.f.g.e.z.l; + case 1: + ScalingUtils$ScaleType scalingUtils$ScaleType2 = ScalingUtils$ScaleType.a; + return c.f.g.e.x.l; + case 2: + ScalingUtils$ScaleType scalingUtils$ScaleType3 = ScalingUtils$ScaleType.a; + return v.l; + case 3: + ScalingUtils$ScaleType scalingUtils$ScaleType4 = ScalingUtils$ScaleType.a; + return c.f.g.e.w.l; + case 4: + ScalingUtils$ScaleType scalingUtils$ScaleType5 = ScalingUtils$ScaleType.a; + return r.l; + case 5: + ScalingUtils$ScaleType scalingUtils$ScaleType6 = ScalingUtils$ScaleType.a; + return c.f.g.e.t.l; + case 6: + ScalingUtils$ScaleType scalingUtils$ScaleType7 = ScalingUtils$ScaleType.a; + return s.l; + case 7: + ScalingUtils$ScaleType scalingUtils$ScaleType8 = ScalingUtils$ScaleType.a; + return b0.l; + case 8: + ScalingUtils$ScaleType scalingUtils$ScaleType9 = ScalingUtils$ScaleType.a; + return u.l; + default: + throw new RuntimeException("XML attribute not specified!"); + } + } + + public static int z1(InputStream inputStream, byte[] bArr, int i, int i2) throws IOException { + if (i2 >= 0) { + int i3 = 0; + while (i3 < i2) { + int read = inputStream.read(bArr, i + i3, i2 - i3); + if (read == -1) { + break; + } + i3 += read; + } + return i3; + } + throw new IndexOutOfBoundsException("len is negative"); + } + + public static void z2(Parcel parcel, int i, int i2) { + if (i != i2) { + String hexString = Integer.toHexString(i); + StringBuilder O = c.d.b.a.a.O(c.d.b.a.a.b(hexString, 46), "Expected size ", i2, " got ", i); + O.append(" (0x"); + O.append(hexString); + O.append(")"); + throw new SafeParcelReader$ParseException(O.toString(), parcel); + } + } } diff --git a/app/src/main/java/c/c/a/a0/f.java b/app/src/main/java/c/c/a/a0/f.java index 714117bc10..335115739b 100644 --- a/app/src/main/java/c/c/a/a0/f.java +++ b/app/src/main/java/c/c/a/a0/f.java @@ -10,25 +10,25 @@ public class f implements h0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.c.a.a0.h0 public Integer a(c cVar, float f) throws IOException { - boolean z2 = cVar.w() == c.b.BEGIN_ARRAY; + boolean z2 = cVar.u() == c.b.BEGIN_ARRAY; if (z2) { cVar.a(); } - double p = cVar.p(); - double p2 = cVar.p(); - double p3 = cVar.p(); - double p4 = cVar.p(); + double n = cVar.n(); + double n2 = cVar.n(); + double n3 = cVar.n(); + double n4 = cVar.n(); if (z2) { cVar.c(); } - if (p <= 1.0d && p2 <= 1.0d && p3 <= 1.0d) { - p *= 255.0d; - p2 *= 255.0d; - p3 *= 255.0d; - if (p4 <= 1.0d) { - p4 *= 255.0d; + if (n <= 1.0d && n2 <= 1.0d && n3 <= 1.0d) { + n *= 255.0d; + n2 *= 255.0d; + n3 *= 255.0d; + if (n4 <= 1.0d) { + n4 *= 255.0d; } } - return Integer.valueOf(Color.argb((int) p4, (int) p, (int) p2, (int) p3)); + return Integer.valueOf(Color.argb((int) n4, (int) n, (int) n2, (int) n3)); } } diff --git a/app/src/main/java/c/c/a/a0/h.java b/app/src/main/java/c/c/a/a0/h.java index 06005b304e..9355fd4796 100644 --- a/app/src/main/java/c/c/a/a0/h.java +++ b/app/src/main/java/c/c/a/a0/h.java @@ -25,7 +25,7 @@ public class h implements h0 { float f5 = 0.0f; boolean z2 = true; while (cVar.e()) { - switch (cVar.z(b)) { + switch (cVar.y(b)) { case 0: str = cVar.t(); break; @@ -33,25 +33,25 @@ public class h implements h0 { str2 = cVar.t(); break; case 2: - f2 = (float) cVar.p(); + f2 = (float) cVar.n(); break; case 3: - int r2 = cVar.r(); - if (r2 <= 2 && r2 >= 0) { - i = b.com$airbnb$lottie$model$DocumentData$Justification$s$values()[r2]; + int q = cVar.q(); + if (q <= 2 && q >= 0) { + i = b.com$airbnb$lottie$model$DocumentData$Justification$s$values()[q]; break; } else { i = 3; break; } case 4: - i2 = cVar.r(); + i2 = cVar.q(); break; case 5: - f3 = (float) cVar.p(); + f3 = (float) cVar.n(); break; case 6: - f4 = (float) cVar.p(); + f4 = (float) cVar.n(); break; case 7: i3 = p.a(cVar); @@ -60,13 +60,13 @@ public class h implements h0 { i4 = p.a(cVar); break; case 9: - f5 = (float) cVar.p(); + f5 = (float) cVar.n(); break; case 10: z2 = cVar.f(); break; default: - cVar.B(); + cVar.A(); cVar.C(); break; } diff --git a/app/src/main/java/c/c/a/a0/i0/c.java b/app/src/main/java/c/c/a/a0/i0/c.java index 1eb73aadaf..efee003d95 100644 --- a/app/src/main/java/c/c/a/a0/i0/c.java +++ b/app/src/main/java/c/c/a/a0/i0/c.java @@ -1,7 +1,7 @@ package c.c.a.a0.i0; -import f0.e; -import f0.o; +import g0.e; +import g0.o; import java.io.Closeable; import java.io.IOException; import java.util.Arrays; @@ -94,14 +94,14 @@ public abstract class c implements Closeable { strArr[12] = "\\f"; } - public abstract void B() throws IOException; + public abstract void A() throws IOException; public abstract void C() throws IOException; - public final b G(String str) throws b { - StringBuilder S = c.d.b.a.a.S(str, " at path "); - S.append(getPath()); - throw new b(S.toString()); + public final b D(String str) throws b { + StringBuilder V = c.d.b.a.a.V(str, " at path "); + V.append(getPath()); + throw new b(V.toString()); } public abstract void a() throws IOException; @@ -121,32 +121,32 @@ public abstract class c implements Closeable { int[] iArr = this.k; String[] strArr = this.l; int[] iArr2 = this.m; - StringBuilder M = c.d.b.a.a.M('$'); + StringBuilder N = c.d.b.a.a.N('$'); for (int i3 = 0; i3 < i2; i3++) { int i4 = iArr[i3]; if (i4 == 1 || i4 == 2) { - M.append('['); - M.append(iArr2[i3]); - M.append(']'); + N.append('['); + N.append(iArr2[i3]); + N.append(']'); } else if (i4 == 3 || i4 == 4 || i4 == 5) { - M.append('.'); + N.append('.'); if (strArr[i3] != null) { - M.append(strArr[i3]); + N.append(strArr[i3]); } } } - return M.toString(); + return N.toString(); } - public abstract double p() throws IOException; + public abstract double n() throws IOException; - public abstract int r() throws IOException; + public abstract int q() throws IOException; public abstract String s() throws IOException; public abstract String t() throws IOException; - public abstract b w() throws IOException; + public abstract b u() throws IOException; public final void x(int i2) { int i3 = this.j; @@ -159,9 +159,9 @@ public abstract class c implements Closeable { int[] iArr2 = this.m; this.m = Arrays.copyOf(iArr2, iArr2.length * 2); } else { - StringBuilder O = c.d.b.a.a.O("Nesting too deep at "); - O.append(getPath()); - throw new a(O.toString()); + StringBuilder R = c.d.b.a.a.R("Nesting too deep at "); + R.append(getPath()); + throw new a(R.toString()); } } int[] iArr3 = this.k; @@ -170,5 +170,5 @@ public abstract class c implements Closeable { iArr3[i4] = i2; } - public abstract int z(a aVar) throws IOException; + public abstract int y(a aVar) throws IOException; } diff --git a/app/src/main/java/c/c/a/a0/i0/d.java b/app/src/main/java/c/c/a/a0/i0/d.java index 92d839f080..a79044cd8c 100644 --- a/app/src/main/java/c/c/a/a0/i0/d.java +++ b/app/src/main/java/c/c/a/a0/i0/d.java @@ -3,8 +3,8 @@ package c.c.a.a0.i0; import androidx.annotation.Nullable; import c.c.a.a0.i0.c; import c.d.b.a.a; -import f0.e; -import f0.g; +import g0.e; +import g0.g; import java.io.EOFException; import java.io.IOException; import java.util.Objects; @@ -15,30 +15,28 @@ public final class d extends c { public static final ByteString o = ByteString.h("\"\\"); public static final ByteString p = ByteString.h("{}[]:, \n\t\r\f/\\;#="); public static final ByteString q = ByteString.h("\n\r"); + public static final ByteString r = ByteString.h("*/"); - /* renamed from: r reason: collision with root package name */ - public static final ByteString f265r = ByteString.h("*/"); - public final g s; + /* renamed from: s reason: collision with root package name */ + public final g f260s; public final e t; public int u = 0; public long v; - - /* renamed from: w reason: collision with root package name */ - public int f266w; + public int w; @Nullable /* renamed from: x reason: collision with root package name */ - public String f267x; + public String f261x; public d(g gVar) { Objects.requireNonNull(gVar, "source == null"); - this.s = gVar; + this.f260s = gVar; this.t = gVar.g(); x(6); } @Override // c.c.a.a0.i0.c - public void B() throws IOException { + public void A() throws IOException { int i = this.u; if (i == 0) { i = I(); @@ -50,11 +48,11 @@ public final class d extends c { } else if (i == 12) { T(n); } else if (i != 15) { - StringBuilder O = a.O("Expected a name but was "); - O.append(w()); - O.append(" at path "); - O.append(getPath()); - throw new a(O.toString()); + StringBuilder R = a.R("Expected a name but was "); + R.append(u()); + R.append(" at path "); + R.append(getPath()); + throw new a(R.toString()); } this.u = 0; this.l[this.j - 1] = "null"; @@ -78,22 +76,22 @@ public final class d extends c { if (i >= 0) { this.j--; } else { - StringBuilder O = a.O("Expected a value but was "); - O.append(w()); - O.append(" at path "); - O.append(getPath()); - throw new a(O.toString()); + StringBuilder R = a.R("Expected a value but was "); + R.append(u()); + R.append(" at path "); + R.append(getPath()); + throw new a(R.toString()); } } else if (i2 == 2) { i--; if (i >= 0) { this.j--; } else { - StringBuilder O2 = a.O("Expected a value but was "); - O2.append(w()); - O2.append(" at path "); - O2.append(getPath()); - throw new a(O2.toString()); + StringBuilder R2 = a.R("Expected a value but was "); + R2.append(u()); + R2.append(" at path "); + R2.append(getPath()); + throw new a(R2.toString()); } } else if (i2 == 14 || i2 == 10) { U(); @@ -102,13 +100,13 @@ public final class d extends c { } else if (i2 == 8 || i2 == 12) { T(n); } else if (i2 == 17) { - this.t.skip((long) this.f266w); + this.t.skip((long) this.w); } else if (i2 == 18) { - StringBuilder O3 = a.O("Expected a value but was "); - O3.append(w()); - O3.append(" at path "); - O3.append(getPath()); - throw new a(O3.toString()); + StringBuilder R3 = a.R("Expected a value but was "); + R3.append(u()); + R3.append(" at path "); + R3.append(getPath()); + throw new a(R3.toString()); } this.u = 0; } @@ -123,12 +121,12 @@ public final class d extends c { } public final void H() throws IOException { - G("Use JsonReader.setLenient(true) to accept malformed JSON"); + D("Use JsonReader.setLenient(true) to accept malformed JSON"); throw null; } /* JADX WARNING: Code restructure failed: missing block: B:121:0x01aa, code lost: - if (M(r2) != false) goto L_0x0210; + if (L(r2) != false) goto L_0x0210; */ /* JADX WARNING: Code restructure failed: missing block: B:122:0x01ad, code lost: if (r1 != 2) goto L_0x01d3; @@ -173,7 +171,7 @@ public final class d extends c { if (r1 != 7) goto L_0x0210; */ /* JADX WARNING: Code restructure failed: missing block: B:139:0x01db, code lost: - r17.f266w = r5; + r17.w = r5; r15 = 17; r17.u = 17; */ @@ -187,7 +185,7 @@ public final class d extends c { int i2; String str; String str2; - byte r2; + byte q2; int[] iArr = this.k; int i3 = this.j; int i4 = iArr[i3 - 1]; @@ -204,7 +202,7 @@ public final class d extends c { this.u = 4; return 4; } else { - G("Unterminated array"); + D("Unterminated array"); throw null; } } @@ -221,7 +219,7 @@ public final class d extends c { this.u = 2; return 2; } else { - G("Unterminated object"); + D("Unterminated object"); throw null; } } @@ -243,7 +241,7 @@ public final class d extends c { this.u = 2; return 2; } else { - G("Expected name"); + D("Expected name"); throw null; } } else if (i4 == 4) { @@ -252,7 +250,7 @@ public final class d extends c { this.t.readByte(); if (N4 != 58) { if (N4 != 61) { - G("Expected ':'"); + D("Expected ':'"); throw null; } H(); @@ -283,17 +281,17 @@ public final class d extends c { return 3; } else if (N5 != 93) { if (N5 != 123) { - byte r3 = this.t.r(0); - if (r3 == 116 || r3 == 84) { + byte q3 = this.t.q(0); + if (q3 == 116 || q3 == 84) { str2 = "true"; str = "TRUE"; i = 5; - } else if (r3 == 102 || r3 == 70) { + } else if (q3 == 102 || q3 == 70) { str2 = "false"; str = "FALSE"; i = 6; } else { - if (r3 == 110 || r3 == 78) { + if (q3 == 110 || q3 == 78) { str2 = "null"; str = "NULL"; i = 7; @@ -309,26 +307,26 @@ public final class d extends c { boolean z3 = false; while (true) { int i6 = i5 + 1; - if (!this.s.j((long) i6)) { + if (!this.f260s.j((long) i6)) { break; } - byte r4 = this.t.r((long) i5); - if (r4 != 43) { - if (r4 != 69 && r4 != 101) { - if (r4 != 45) { - if (r4 == 46) { + byte q4 = this.t.q((long) i5); + if (q4 != 43) { + if (q4 != 69 && q4 != 101) { + if (q4 != 45) { + if (q4 == 46) { i2 = i6; if (c2 != 2) { break; } c2 = 3; i5 = i2; - } else if (r4 < 48 || r4 > 57) { + } else if (q4 < 48 || q4 > 57) { break; } else { if (c2 == 1 || c2 == 0) { i2 = i6; - j = (long) (-(r4 - 48)); + j = (long) (-(q4 - 48)); c2 = 2; } else if (c2 != 2) { i2 = i6; @@ -342,7 +340,7 @@ public final class d extends c { break; } else { i2 = i6; - long j2 = (10 * j) - ((long) (r4 - 48)); + long j2 = (10 * j) - ((long) (q4 - 48)); int i7 = (j > -922337203685477580L ? 1 : (j == -922337203685477580L ? 0 : -1)); z2 = (i7 > 0 || (i7 == 0 && j2 < j)) & z2; j = j2; @@ -382,8 +380,8 @@ public final class d extends c { if (i8 != 0) { return i8; } - if (!M(this.t.r(0))) { - G("Expected value"); + if (!L(this.t.q(0))) { + D("Expected value"); throw null; } H(); @@ -394,11 +392,11 @@ public final class d extends c { while (true) { if (i9 < length) { int i10 = i9 + 1; - if (!this.s.j((long) i10) || ((r2 = this.t.r((long) i9)) != str2.charAt(i9) && r2 != str.charAt(i9))) { + if (!this.f260s.j((long) i10) || ((q2 = this.t.q((long) i9)) != str2.charAt(i9) && q2 != str.charAt(i9))) { break; } i9 = i10; - } else if (!this.s.j((long) (length + 1)) || !M(this.t.r((long) length))) { + } else if (!this.f260s.j((long) (length + 1)) || !L(this.t.q((long) length))) { this.t.skip((long) length); this.u = i; } @@ -421,7 +419,7 @@ public final class d extends c { H(); throw null; } - G("Unexpected value"); + D("Unexpected value"); throw null; } else { H(); @@ -429,7 +427,7 @@ public final class d extends c { } } - public final int K(String str, c.a aVar) { + public final int J(String str, c.a aVar) { int length = aVar.a.length; for (int i = 0; i < length; i++) { if (str.equals(aVar.a[i])) { @@ -441,7 +439,7 @@ public final class d extends c { return -1; } - public final boolean M(int i) throws IOException { + public final boolean L(int i) throws IOException { if (i == 9 || i == 10 || i == 12 || i == 13 || i == 32) { return false; } @@ -474,20 +472,20 @@ public final class d extends c { int i = 0; while (true) { int i2 = i + 1; - if (this.s.j((long) i2)) { - byte r2 = this.t.r((long) i); - if (r2 == 10 || r2 == 32 || r2 == 13 || r2 == 9) { + if (this.f260s.j((long) i2)) { + byte q2 = this.t.q((long) i); + if (q2 == 10 || q2 == 32 || q2 == 13 || q2 == 9) { i = i2; } else { this.t.skip((long) (i2 - 1)); - if (r2 == 47) { - if (!this.s.j(2)) { - return r2; + if (q2 == 47) { + if (!this.f260s.j(2)) { + return q2; } H(); throw null; - } else if (r2 != 35) { - return r2; + } else if (q2 != 35) { + return q2; } else { H(); throw null; @@ -501,26 +499,26 @@ public final class d extends c { } } - public final String Q(ByteString byteString) throws IOException { + public final String O(ByteString byteString) throws IOException { StringBuilder sb = null; while (true) { - long D = this.s.D(byteString); - if (D == -1) { - G("Unterminated string"); + long E = this.f260s.E(byteString); + if (E == -1) { + D("Unterminated string"); throw null; - } else if (this.t.r(D) == 92) { + } else if (this.t.q(E) == 92) { if (sb == null) { sb = new StringBuilder(); } - sb.append(this.t.H(D)); + sb.append(this.t.H(E)); this.t.readByte(); sb.append(S()); } else if (sb == null) { - String H = this.t.H(D); + String H = this.t.H(E); this.t.readByte(); return H; } else { - sb.append(this.t.H(D)); + sb.append(this.t.H(E)); this.t.readByte(); return sb.toString(); } @@ -528,14 +526,14 @@ public final class d extends c { } public final String R() throws IOException { - long D = this.s.D(p); - return D != -1 ? this.t.H(D) : this.t.G(); + long E = this.f260s.E(p); + return E != -1 ? this.t.H(E) : this.t.D(); } public final char S() throws IOException { int i; int i2; - if (this.s.j(1)) { + if (this.f260s.j(1)) { byte readByte = this.t.readByte(); if (readByte == 10 || readByte == 34 || readByte == 39 || readByte == 47 || readByte == 92) { return (char) readByte; @@ -556,68 +554,68 @@ public final class d extends c { return '\t'; } if (readByte != 117) { - StringBuilder O = a.O("Invalid escape sequence: \\"); - O.append((char) readByte); - G(O.toString()); + StringBuilder R = a.R("Invalid escape sequence: \\"); + R.append((char) readByte); + D(R.toString()); throw null; - } else if (this.s.j(4)) { + } else if (this.f260s.j(4)) { char c2 = 0; for (int i3 = 0; i3 < 4; i3++) { - byte r2 = this.t.r((long) i3); + byte q2 = this.t.q((long) i3); char c3 = (char) (c2 << 4); - if (r2 < 48 || r2 > 57) { - if (r2 >= 97 && r2 <= 102) { - i2 = r2 - 97; - } else if (r2 < 65 || r2 > 70) { - StringBuilder O2 = a.O("\\u"); - O2.append(this.t.H(4)); - G(O2.toString()); + if (q2 < 48 || q2 > 57) { + if (q2 >= 97 && q2 <= 102) { + i2 = q2 - 97; + } else if (q2 < 65 || q2 > 70) { + StringBuilder R2 = a.R("\\u"); + R2.append(this.t.H(4)); + D(R2.toString()); throw null; } else { - i2 = r2 - 65; + i2 = q2 - 65; } i = i2 + 10; } else { - i = r2 - 48; + i = q2 - 48; } c2 = (char) (i + c3); } this.t.skip(4); return c2; } else { - StringBuilder O3 = a.O("Unterminated escape sequence at path "); - O3.append(getPath()); - throw new EOFException(O3.toString()); + StringBuilder R3 = a.R("Unterminated escape sequence at path "); + R3.append(getPath()); + throw new EOFException(R3.toString()); } } else { - G("Unterminated escape sequence"); + D("Unterminated escape sequence"); throw null; } } public final void T(ByteString byteString) throws IOException { while (true) { - long D = this.s.D(byteString); - if (D == -1) { - G("Unterminated string"); + long E = this.f260s.E(byteString); + if (E == -1) { + D("Unterminated string"); throw null; - } else if (this.t.r(D) == 92) { - this.t.skip(D + 1); + } else if (this.t.q(E) == 92) { + this.t.skip(E + 1); S(); } else { - this.t.skip(D + 1); + this.t.skip(E + 1); return; } } } public final void U() throws IOException { - long D = this.s.D(p); + long E = this.f260s.E(p); e eVar = this.t; - if (D == -1) { - D = eVar.j; + if (E == -1) { + E = eVar.j; } - eVar.skip(D); + eVar.skip(E); } @Override // c.c.a.a0.i0.c @@ -632,11 +630,11 @@ public final class d extends c { this.u = 0; return; } - StringBuilder O = a.O("Expected BEGIN_ARRAY but was "); - O.append(w()); - O.append(" at path "); - O.append(getPath()); - throw new a(O.toString()); + StringBuilder R = a.R("Expected BEGIN_ARRAY but was "); + R.append(u()); + R.append(" at path "); + R.append(getPath()); + throw new a(R.toString()); } @Override // c.c.a.a0.i0.c @@ -650,11 +648,11 @@ public final class d extends c { this.u = 0; return; } - StringBuilder O = a.O("Expected BEGIN_OBJECT but was "); - O.append(w()); - O.append(" at path "); - O.append(getPath()); - throw new a(O.toString()); + StringBuilder R = a.R("Expected BEGIN_OBJECT but was "); + R.append(u()); + R.append(" at path "); + R.append(getPath()); + throw new a(R.toString()); } @Override // c.c.a.a0.i0.c @@ -672,11 +670,11 @@ public final class d extends c { this.u = 0; return; } - StringBuilder O = a.O("Expected END_ARRAY but was "); - O.append(w()); - O.append(" at path "); - O.append(getPath()); - throw new a(O.toString()); + StringBuilder R = a.R("Expected END_ARRAY but was "); + R.append(u()); + R.append(" at path "); + R.append(getPath()); + throw new a(R.toString()); } @Override // java.io.Closeable, java.lang.AutoCloseable @@ -686,7 +684,7 @@ public final class d extends c { this.j = 1; e eVar = this.t; eVar.skip(eVar.j); - this.s.close(); + this.f260s.close(); } @Override // c.c.a.a0.i0.c @@ -705,11 +703,11 @@ public final class d extends c { this.u = 0; return; } - StringBuilder O = a.O("Expected END_OBJECT but was "); - O.append(w()); - O.append(" at path "); - O.append(getPath()); - throw new a(O.toString()); + StringBuilder R = a.R("Expected END_OBJECT but was "); + R.append(u()); + R.append(" at path "); + R.append(getPath()); + throw new a(R.toString()); } @Override // c.c.a.a0.i0.c @@ -740,16 +738,16 @@ public final class d extends c { iArr2[i3] = iArr2[i3] + 1; return false; } else { - StringBuilder O = a.O("Expected a boolean but was "); - O.append(w()); - O.append(" at path "); - O.append(getPath()); - throw new a(O.toString()); + StringBuilder R = a.R("Expected a boolean but was "); + R.append(u()); + R.append(" at path "); + R.append(getPath()); + throw new a(R.toString()); } } @Override // c.c.a.a0.i0.c - public double p() throws IOException { + public double n() throws IOException { int i = this.u; if (i == 0) { i = I(); @@ -762,43 +760,43 @@ public final class d extends c { return (double) this.v; } if (i == 17) { - this.f267x = this.t.H((long) this.f266w); + this.f261x = this.t.H((long) this.w); } else if (i == 9) { - this.f267x = Q(o); + this.f261x = O(o); } else if (i == 8) { - this.f267x = Q(n); + this.f261x = O(n); } else if (i == 10) { - this.f267x = R(); + this.f261x = R(); } else if (i != 11) { - StringBuilder O = a.O("Expected a double but was "); - O.append(w()); - O.append(" at path "); - O.append(getPath()); - throw new a(O.toString()); + StringBuilder R = a.R("Expected a double but was "); + R.append(u()); + R.append(" at path "); + R.append(getPath()); + throw new a(R.toString()); } this.u = 11; try { - double parseDouble = Double.parseDouble(this.f267x); + double parseDouble = Double.parseDouble(this.f261x); if (Double.isNaN(parseDouble) || Double.isInfinite(parseDouble)) { throw new b("JSON forbids NaN and infinities: " + parseDouble + " at path " + getPath()); } - this.f267x = null; + this.f261x = null; this.u = 0; int[] iArr2 = this.m; int i3 = this.j - 1; iArr2[i3] = iArr2[i3] + 1; return parseDouble; } catch (NumberFormatException unused) { - StringBuilder O2 = a.O("Expected a double but was "); - O2.append(this.f267x); - O2.append(" at path "); - O2.append(getPath()); - throw new a(O2.toString()); + StringBuilder R2 = a.R("Expected a double but was "); + R2.append(this.f261x); + R2.append(" at path "); + R2.append(getPath()); + throw new a(R2.toString()); } } @Override // c.c.a.a0.i0.c - public int r() throws IOException { + public int q() throws IOException { int i = this.u; if (i == 0) { i = I(); @@ -813,19 +811,19 @@ public final class d extends c { iArr[i3] = iArr[i3] + 1; return i2; } - StringBuilder O = a.O("Expected an int but was "); - O.append(this.v); - O.append(" at path "); - O.append(getPath()); - throw new a(O.toString()); + StringBuilder R = a.R("Expected an int but was "); + R.append(this.v); + R.append(" at path "); + R.append(getPath()); + throw new a(R.toString()); } if (i == 17) { - this.f267x = this.t.H((long) this.f266w); + this.f261x = this.t.H((long) this.w); } else if (i == 9 || i == 8) { - String Q = i == 9 ? Q(o) : Q(n); - this.f267x = Q; + String O = i == 9 ? O(o) : O(n); + this.f261x = O; try { - int parseInt = Integer.parseInt(Q); + int parseInt = Integer.parseInt(O); this.u = 0; int[] iArr2 = this.m; int i4 = this.j - 1; @@ -834,35 +832,35 @@ public final class d extends c { } catch (NumberFormatException unused) { } } else if (i != 11) { - StringBuilder O2 = a.O("Expected an int but was "); - O2.append(w()); - O2.append(" at path "); - O2.append(getPath()); - throw new a(O2.toString()); + StringBuilder R2 = a.R("Expected an int but was "); + R2.append(u()); + R2.append(" at path "); + R2.append(getPath()); + throw new a(R2.toString()); } this.u = 11; try { - double parseDouble = Double.parseDouble(this.f267x); + double parseDouble = Double.parseDouble(this.f261x); int i5 = (int) parseDouble; if (((double) i5) == parseDouble) { - this.f267x = null; + this.f261x = null; this.u = 0; int[] iArr3 = this.m; int i6 = this.j - 1; iArr3[i6] = iArr3[i6] + 1; return i5; } - StringBuilder O3 = a.O("Expected an int but was "); - O3.append(this.f267x); - O3.append(" at path "); - O3.append(getPath()); - throw new a(O3.toString()); + StringBuilder R3 = a.R("Expected an int but was "); + R3.append(this.f261x); + R3.append(" at path "); + R3.append(getPath()); + throw new a(R3.toString()); } catch (NumberFormatException unused2) { - StringBuilder O4 = a.O("Expected an int but was "); - O4.append(this.f267x); - O4.append(" at path "); - O4.append(getPath()); - throw new a(O4.toString()); + StringBuilder R4 = a.R("Expected an int but was "); + R4.append(this.f261x); + R4.append(" at path "); + R4.append(getPath()); + throw new a(R4.toString()); } } @@ -876,17 +874,17 @@ public final class d extends c { if (i == 14) { str = R(); } else if (i == 13) { - str = Q(o); + str = O(o); } else if (i == 12) { - str = Q(n); + str = O(n); } else if (i == 15) { - str = this.f267x; + str = this.f261x; } else { - StringBuilder O = a.O("Expected a name but was "); - O.append(w()); - O.append(" at path "); - O.append(getPath()); - throw new a(O.toString()); + StringBuilder R = a.R("Expected a name but was "); + R.append(u()); + R.append(" at path "); + R.append(getPath()); + throw new a(R.toString()); } this.u = 0; this.l[this.j - 1] = str; @@ -903,22 +901,22 @@ public final class d extends c { if (i == 10) { str = R(); } else if (i == 9) { - str = Q(o); + str = O(o); } else if (i == 8) { - str = Q(n); + str = O(n); } else if (i == 11) { - str = this.f267x; - this.f267x = null; + str = this.f261x; + this.f261x = null; } else if (i == 16) { str = Long.toString(this.v); } else if (i == 17) { - str = this.t.H((long) this.f266w); + str = this.t.H((long) this.w); } else { - StringBuilder O = a.O("Expected a string but was "); - O.append(w()); - O.append(" at path "); - O.append(getPath()); - throw new a(O.toString()); + StringBuilder R = a.R("Expected a string but was "); + R.append(u()); + R.append(" at path "); + R.append(getPath()); + throw new a(R.toString()); } this.u = 0; int[] iArr = this.m; @@ -929,14 +927,14 @@ public final class d extends c { @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("JsonReader("); - O.append(this.s); - O.append(")"); - return O.toString(); + StringBuilder R = a.R("JsonReader("); + R.append(this.f260s); + R.append(")"); + return R.toString(); } @Override // c.c.a.a0.i0.c - public c.b w() throws IOException { + public c.b u() throws IOException { int i = this.u; if (i == 0) { i = I(); @@ -976,7 +974,7 @@ public final class d extends c { } @Override // c.c.a.a0.i0.c - public int z(c.a aVar) throws IOException { + public int y(c.a aVar) throws IOException { int i = this.u; if (i == 0) { i = I(); @@ -985,22 +983,22 @@ public final class d extends c { return -1; } if (i == 15) { - return K(this.f267x, aVar); + return J(this.f261x, aVar); } - int u0 = this.s.u0(aVar.b); - if (u0 != -1) { + int v0 = this.f260s.v0(aVar.b); + if (v0 != -1) { this.u = 0; - this.l[this.j - 1] = aVar.a[u0]; - return u0; + this.l[this.j - 1] = aVar.a[v0]; + return v0; } String str = this.l[this.j - 1]; - String s = s(); - int K = K(s, aVar); - if (K == -1) { + String s2 = s(); + int J = J(s2, aVar); + if (J == -1) { this.u = 15; - this.f267x = s; + this.f261x = s2; this.l[this.j - 1] = str; } - return K; + return J; } } diff --git a/app/src/main/java/c/c/a/a0/l.java b/app/src/main/java/c/c/a/a0/l.java index f4f340eea5..405c520502 100644 --- a/app/src/main/java/c/c/a/a0/l.java +++ b/app/src/main/java/c/c/a/a0/l.java @@ -22,12 +22,12 @@ public class l implements h0 { double d; ArrayList arrayList = new ArrayList(); int i2 = 0; - boolean z2 = cVar.w() == c.b.BEGIN_ARRAY; + boolean z2 = cVar.u() == c.b.BEGIN_ARRAY; if (z2) { cVar.a(); } while (cVar.e()) { - arrayList.add(Float.valueOf((float) cVar.p())); + arrayList.add(Float.valueOf((float) cVar.n())); } if (z2) { cVar.c(); diff --git a/app/src/main/java/c/c/a/a0/n.java b/app/src/main/java/c/c/a/a0/n.java index d774d316c4..b61ee3f343 100644 --- a/app/src/main/java/c/c/a/a0/n.java +++ b/app/src/main/java/c/c/a/a0/n.java @@ -7,5 +7,5 @@ public class n { public static final c.a b = c.a.a("p", "k"); /* renamed from: c reason: collision with root package name */ - public static final c.a f268c = c.a.a("n", "v"); + public static final c.a f262c = c.a.a("n", "v"); } diff --git a/app/src/main/java/c/c/a/a0/p.java b/app/src/main/java/c/c/a/a0/p.java index 5f2873bb81..b9c9b2c367 100644 --- a/app/src/main/java/c/c/a/a0/p.java +++ b/app/src/main/java/c/c/a/a0/p.java @@ -15,37 +15,37 @@ public class p { @ColorInt public static int a(c cVar) throws IOException { cVar.a(); - int p = (int) (cVar.p() * 255.0d); - int p2 = (int) (cVar.p() * 255.0d); - int p3 = (int) (cVar.p() * 255.0d); + int n = (int) (cVar.n() * 255.0d); + int n2 = (int) (cVar.n() * 255.0d); + int n3 = (int) (cVar.n() * 255.0d); while (cVar.e()) { cVar.C(); } cVar.c(); - return Color.argb(255, p, p2, p3); + return Color.argb(255, n, n2, n3); } public static PointF b(c cVar, float f) throws IOException { - int ordinal = cVar.w().ordinal(); + int ordinal = cVar.u().ordinal(); if (ordinal == 0) { cVar.a(); - float p = (float) cVar.p(); - float p2 = (float) cVar.p(); - while (cVar.w() != c.b.END_ARRAY) { + float n = (float) cVar.n(); + float n2 = (float) cVar.n(); + while (cVar.u() != c.b.END_ARRAY) { cVar.C(); } cVar.c(); - return new PointF(p * f, p2 * f); + return new PointF(n * f, n2 * f); } else if (ordinal == 2) { cVar.b(); float f2 = 0.0f; float f3 = 0.0f; while (cVar.e()) { - int z2 = cVar.z(a); - if (z2 == 0) { + int y2 = cVar.y(a); + if (y2 == 0) { f2 = d(cVar); - } else if (z2 != 1) { - cVar.B(); + } else if (y2 != 1) { + cVar.A(); cVar.C(); } else { f3 = d(cVar); @@ -54,23 +54,23 @@ public class p { cVar.d(); return new PointF(f2 * f, f3 * f); } else if (ordinal == 6) { - float p3 = (float) cVar.p(); - float p4 = (float) cVar.p(); + float n3 = (float) cVar.n(); + float n4 = (float) cVar.n(); while (cVar.e()) { cVar.C(); } - return new PointF(p3 * f, p4 * f); + return new PointF(n3 * f, n4 * f); } else { - StringBuilder O = a.O("Unknown point starts with "); - O.append(cVar.w()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Unknown point starts with "); + R.append(cVar.u()); + throw new IllegalArgumentException(R.toString()); } } public static List c(c cVar, float f) throws IOException { ArrayList arrayList = new ArrayList(); cVar.a(); - while (cVar.w() == c.b.BEGIN_ARRAY) { + while (cVar.u() == c.b.BEGIN_ARRAY) { cVar.a(); arrayList.add(b(cVar, f)); cVar.c(); @@ -80,20 +80,20 @@ public class p { } public static float d(c cVar) throws IOException { - c.b w2 = cVar.w(); - int ordinal = w2.ordinal(); + c.b u = cVar.u(); + int ordinal = u.ordinal(); if (ordinal == 0) { cVar.a(); - float p = (float) cVar.p(); + float n = (float) cVar.n(); while (cVar.e()) { cVar.C(); } cVar.c(); - return p; + return n; } else if (ordinal == 6) { - return (float) cVar.p(); + return (float) cVar.n(); } else { - throw new IllegalArgumentException("Unknown value for token of type " + w2); + throw new IllegalArgumentException("Unknown value for token of type " + u); } } } diff --git a/app/src/main/java/c/c/a/a0/q.java b/app/src/main/java/c/c/a/a0/q.java index dbff2c8d41..a68738d9bf 100644 --- a/app/src/main/java/c/c/a/a0/q.java +++ b/app/src/main/java/c/c/a/a0/q.java @@ -19,7 +19,7 @@ public class q { public static SparseArrayCompat> b; /* renamed from: c reason: collision with root package name */ - public static c.a f269c = c.a.a("t", "s", "e", "o", "i", "h", "to", "ti"); + public static c.a f263c = c.a.a("t", "s", "e", "o", "i", "h", "to", "ti"); public static a a(c cVar, d dVar, float f, h0 h0Var, boolean z2) throws IOException { T t; @@ -40,9 +40,9 @@ public class q { boolean z3 = false; float f2 = 0.0f; while (cVar.e()) { - switch (cVar.z(f269c)) { + switch (cVar.y(f263c)) { case 0: - f2 = (float) cVar.p(); + f2 = (float) cVar.n(); break; case 1: t3 = h0Var.a(cVar, f); @@ -57,7 +57,7 @@ public class q { pointF2 = p.b(cVar, f); continue; case 5: - if (cVar.r() == i) { + if (cVar.q() == i) { z3 = true; continue; } else { diff --git a/app/src/main/java/c/c/a/a0/r.java b/app/src/main/java/c/c/a/a0/r.java index 1e923b6976..ceca5ec569 100644 --- a/app/src/main/java/c/c/a/a0/r.java +++ b/app/src/main/java/c/c/a/a0/r.java @@ -13,17 +13,17 @@ public class r { public static List> a(c cVar, d dVar, float f, h0 h0Var) throws IOException { ArrayList arrayList = new ArrayList(); - if (cVar.w() == c.b.STRING) { + if (cVar.u() == c.b.STRING) { dVar.a("Lottie doesn't support expressions."); return arrayList; } cVar.b(); while (cVar.e()) { - if (cVar.z(a) != 0) { + if (cVar.y(a) != 0) { cVar.C(); - } else if (cVar.w() == c.b.BEGIN_ARRAY) { + } else if (cVar.u() == c.b.BEGIN_ARRAY) { cVar.a(); - if (cVar.w() == c.b.NUMBER) { + if (cVar.u() == c.b.NUMBER) { arrayList.add(q.a(cVar, dVar, f, h0Var, false)); } else { while (cVar.e()) { @@ -54,15 +54,15 @@ public class r { i2++; a aVar2 = (a) list.get(i2); aVar.f = Float.valueOf(aVar2.e); - if (aVar.f274c == null && (t = aVar2.b) != null) { - aVar.f274c = t; + if (aVar.f268c == null && (t = aVar2.b) != null) { + aVar.f268c = t; if (aVar instanceof h) { ((h) aVar).e(); } } } a aVar3 = (a) list.get(i); - if ((aVar3.b == null || aVar3.f274c == null) && list.size() > 1) { + if ((aVar3.b == null || aVar3.f268c == null) && list.size() > 1) { list.remove(aVar3); } } diff --git a/app/src/main/java/c/c/a/a0/s.java b/app/src/main/java/c/c/a/a0/s.java index d5445d79e7..c034fa4d63 100644 --- a/app/src/main/java/c/c/a/a0/s.java +++ b/app/src/main/java/c/c/a/a0/s.java @@ -20,7 +20,7 @@ public class s { public static final c.a b = c.a.a("d", "a"); /* renamed from: c reason: collision with root package name */ - public static final c.a f270c = c.a.a("nm"); + public static final c.a f264c = c.a.a("nm"); /* JADX DEBUG: Failed to insert an additional move for type inference into block B:226:0x0303 */ /* JADX DEBUG: Multi-variable search result rejected for r6v10, resolved type: c.c.a.y.k.d */ @@ -70,7 +70,7 @@ public class s { String str6 = "UNSET"; float f4 = 0.0f; while (cVar.e()) { - switch (cVar.z(a)) { + switch (cVar.y(a)) { case 0: str2 = str4; str6 = cVar.t(); @@ -79,7 +79,7 @@ public class s { z2 = false; case 1: str2 = str4; - j3 = (long) cVar.r(); + j3 = (long) cVar.q(); str4 = str2; i = 1; z2 = false; @@ -92,8 +92,8 @@ public class s { case 3: str2 = str4; j = j3; - int r2 = cVar.r(); - aVar = r2 < 6 ? e.a.values()[r2] : e.a.UNKNOWN; + int q = cVar.q(); + aVar = q < 6 ? e.a.values()[q] : e.a.UNKNOWN; j3 = j; str4 = str2; i = 1; @@ -101,20 +101,20 @@ public class s { case 4: str2 = str4; j = j3; - j2 = (long) cVar.r(); + j2 = (long) cVar.q(); j3 = j; str4 = str2; i = 1; z2 = false; case 5: str2 = str4; - i2 = (int) (g.c() * ((float) cVar.r())); + i2 = (int) (g.c() * ((float) cVar.q())); str4 = str2; i = 1; z2 = false; case 6: str2 = str4; - i3 = (int) (g.c() * ((float) cVar.r())); + i3 = (int) (g.c() * ((float) cVar.q())); str4 = str2; i = 1; z2 = false; @@ -133,7 +133,7 @@ public class s { case 9: str2 = str4; j = j3; - i7 = c.c.a.y.b.com$airbnb$lottie$model$layer$Layer$MatteType$s$values()[cVar.r()]; + i7 = c.c.a.y.b.com$airbnb$lottie$model$layer$Layer$MatteType$s$values()[cVar.q()]; dVar.o++; j3 = j; str4 = str2; @@ -150,16 +150,16 @@ public class s { int i8 = 0; boolean z4 = false; while (cVar.e()) { - String s = cVar.s(); - s.hashCode(); - int hashCode = s.hashCode(); + String s2 = cVar.s(); + s2.hashCode(); + int hashCode = s2.hashCode(); if (hashCode != 111) { if (hashCode != 3588) { if (hashCode != 104433) { - if (hashCode == 3357091 && s.equals("mode")) { + if (hashCode == 3357091 && s2.equals("mode")) { c2 = 3; if (c2 == 0) { - dVar2 = d.s1(cVar, dVar); + dVar2 = d.q1(cVar, dVar); } else if (c2 == 1) { hVar2 = new h(r.a(cVar, dVar, g.c(), b0.a)); } else if (c2 == 2) { @@ -182,7 +182,7 @@ public class s { } else if (c3 == 2) { i8 = 4; } else if (c3 != 3) { - c.c.a.b0.c.b("Unknown mask mode " + s + ". Defaulting to Add."); + c.c.a.b0.c.b("Unknown mask mode " + s2 + ". Defaulting to Add."); } else { i8 = 2; } @@ -215,21 +215,21 @@ public class s { j3 = j3; dVar2 = dVar2; } - } else if (s.equals("inv")) { + } else if (s2.equals("inv")) { c2 = 2; if (c2 == 0) { } j3 = j3; dVar2 = dVar2; } - } else if (s.equals("pt")) { + } else if (s2.equals("pt")) { c2 = 1; if (c2 == 0) { } j3 = j3; dVar2 = dVar2; } - } else if (s.equals("o")) { + } else if (s2.equals("o")) { c2 = 0; if (c2 == 0) { } @@ -272,12 +272,12 @@ public class s { case 12: cVar.b(); while (cVar.e()) { - int z5 = cVar.z(b); - if (z5 == 0) { + int y2 = cVar.y(b); + if (y2 == 0) { str3 = str4; - jVar = new j(d.o1(cVar, dVar, h.a)); - } else if (z5 != i) { - cVar.B(); + jVar = new j(d.m1(cVar, dVar, h.a)); + } else if (y2 != i) { + cVar.A(); cVar.C(); } else { cVar.a(); @@ -286,8 +286,8 @@ public class s { cVar.b(); k kVar2 = null; while (cVar.e()) { - if (cVar.z(b.a) != 0) { - cVar.B(); + if (cVar.y(b.a) != 0) { + cVar.A(); cVar.C(); } else { cVar.b(); @@ -296,18 +296,18 @@ public class s { a aVar3 = null; a aVar4 = null; while (cVar.e()) { - int z6 = cVar.z(b.b); - if (z6 == 0) { - aVar3 = d.p1(cVar, dVar); - } else if (z6 == i) { - aVar4 = d.p1(cVar, dVar); - } else if (z6 == 2) { - bVar2 = d.q1(cVar, dVar); - } else if (z6 != 3) { - cVar.B(); + int y3 = cVar.y(b.b); + if (y3 == 0) { + aVar3 = d.n1(cVar, dVar); + } else if (y3 == i) { + aVar4 = d.n1(cVar, dVar); + } else if (y3 == 2) { + bVar2 = d.o1(cVar, dVar); + } else if (y3 != 3) { + cVar.A(); cVar.C(); } else { - bVar3 = d.q1(cVar, dVar); + bVar3 = d.o1(cVar, dVar); } i = 1; } @@ -342,8 +342,8 @@ public class s { while (cVar.e()) { cVar.b(); while (cVar.e()) { - if (cVar.z(f270c) != 0) { - cVar.B(); + if (cVar.y(f264c) != 0) { + cVar.A(); cVar.C(); } else { arrayList5.add(cVar.t()); @@ -360,41 +360,41 @@ public class s { i = 1; z2 = false; case 14: - f2 = (float) cVar.p(); + f2 = (float) cVar.n(); str2 = str4; str4 = str2; i = 1; z2 = false; case 15: - f3 = (float) cVar.p(); + f3 = (float) cVar.n(); str2 = str4; str4 = str2; i = 1; z2 = false; case 16: - i5 = (int) (g.c() * ((float) cVar.r())); + i5 = (int) (g.c() * ((float) cVar.q())); str2 = str4; str4 = str2; i = 1; z2 = false; case 17: - i6 = (int) (g.c() * ((float) cVar.r())); + i6 = (int) (g.c() * ((float) cVar.q())); str2 = str4; str4 = str2; i = 1; z2 = false; case 18: - f = (float) cVar.p(); + f = (float) cVar.n(); str2 = str4; str4 = str2; i = 1; z2 = false; case 19: - f4 = (float) cVar.p(); + f4 = (float) cVar.n(); i = 1; z2 = false; case 20: - bVar = d.r1(cVar, dVar, z2); + bVar = d.p1(cVar, dVar, z2); i = 1; z2 = false; case 21: @@ -408,7 +408,7 @@ public class s { default: str2 = str4; j = j3; - cVar.B(); + cVar.A(); cVar.C(); j3 = j; str4 = str2; diff --git a/app/src/main/java/c/c/a/a0/t.java b/app/src/main/java/c/c/a/a0/t.java index b7e6383a4a..ebb714b18b 100644 --- a/app/src/main/java/c/c/a/a0/t.java +++ b/app/src/main/java/c/c/a/a0/t.java @@ -21,7 +21,7 @@ public class t { public static c.a b = c.a.a(ModelAuditLogEntry.CHANGE_KEY_ID, "layers", "w", "h", "p", "u"); /* renamed from: c reason: collision with root package name */ - public static final c.a f271c = c.a.a("list"); + public static final c.a f265c = c.a.a("list"); public static final c.a d = c.a.a("cm", "tm", "dr"); public static d a(c cVar) throws IOException { @@ -47,31 +47,31 @@ public class t { float f5 = 0.0f; float f6 = 0.0f; while (cVar.e()) { - switch (cVar.z(a)) { + switch (cVar.y(a)) { case 0: - i = cVar.r(); + i = cVar.q(); break; case 1: - i2 = cVar.r(); + i2 = cVar.q(); break; case 2: arrayList = arrayList4; sparseArrayCompat = sparseArrayCompat2; - f5 = (float) cVar.p(); + f5 = (float) cVar.n(); f4 = f4; arrayList4 = arrayList; sparseArrayCompat2 = sparseArrayCompat; case 3: arrayList = arrayList4; sparseArrayCompat = sparseArrayCompat2; - f6 = ((float) cVar.p()) - 0.01f; + f6 = ((float) cVar.n()) - 0.01f; f4 = f4; arrayList4 = arrayList; sparseArrayCompat2 = sparseArrayCompat; case 4: arrayList = arrayList4; sparseArrayCompat = sparseArrayCompat2; - f4 = (float) cVar.p(); + f4 = (float) cVar.n(); arrayList4 = arrayList; sparseArrayCompat2 = sparseArrayCompat; case 5: @@ -135,10 +135,10 @@ public class t { int i4 = 0; int i5 = 0; while (cVar.e()) { - int z3 = cVar.z(b); - if (z3 == 0) { + int y2 = cVar.y(b); + if (y2 == 0) { str = cVar.t(); - } else if (z3 == 1) { + } else if (y2 == 1) { cVar.a(); while (cVar.e()) { c.c.a.y.m.e a3 = s.a(cVar, dVar); @@ -146,14 +146,14 @@ public class t { arrayList5.add(a3); } cVar.c(); - } else if (z3 == 2) { - i4 = cVar.r(); - } else if (z3 == 3) { - i5 = cVar.r(); - } else if (z3 == 4) { + } else if (y2 == 2) { + i4 = cVar.q(); + } else if (y2 == 3) { + i5 = cVar.q(); + } else if (y2 == 4) { str2 = cVar.t(); - } else if (z3 != 5) { - cVar.B(); + } else if (y2 != 5) { + cVar.A(); cVar.C(); } else { str3 = cVar.t(); @@ -177,8 +177,8 @@ public class t { f2 = f6; cVar.b(); while (cVar.e()) { - if (cVar.z(f271c) != 0) { - cVar.B(); + if (cVar.y(f265c) != 0) { + cVar.A(); cVar.C(); } else { cVar.a(); @@ -190,17 +190,17 @@ public class t { String str6 = null; float f7 = 0.0f; while (cVar.e()) { - int z4 = cVar.z(k.a); - if (z4 != 0) { - if (z4 == 1) { + int y3 = cVar.y(k.a); + if (y3 != 0) { + if (y3 == 1) { str5 = cVar.t(); - } else if (z4 == 2) { + } else if (y3 == 2) { str6 = cVar.t(); - } else if (z4 != 3) { - cVar.B(); + } else if (y3 != 3) { + cVar.A(); cVar.C(); } else { - f7 = (float) cVar.p(); + f7 = (float) cVar.n(); } arrayList4 = arrayList4; sparseArrayCompat2 = sparseArrayCompat2; @@ -238,25 +238,25 @@ public class t { String str8 = null; char c3 = 0; while (cVar.e()) { - int z5 = cVar.z(j.a); - if (z5 == 0) { + int y4 = cVar.y(j.a); + if (y4 == 0) { c3 = cVar.t().charAt(0); - } else if (z5 == 1) { - d2 = cVar.p(); - } else if (z5 == 2) { - d3 = cVar.p(); - } else if (z5 == 3) { + } else if (y4 == 1) { + d2 = cVar.n(); + } else if (y4 == 2) { + d3 = cVar.n(); + } else if (y4 == 3) { str7 = cVar.t(); - } else if (z5 == 4) { + } else if (y4 == 4) { str8 = cVar.t(); - } else if (z5 != 5) { - cVar.B(); + } else if (y4 != 5) { + cVar.A(); cVar.C(); } else { cVar.b(); while (cVar.e()) { - if (cVar.z(j.b) != 0) { - cVar.B(); + if (cVar.y(j.b) != 0) { + cVar.A(); cVar.C(); } else { cVar.a(); @@ -289,18 +289,18 @@ public class t { float f8 = 0.0f; float f9 = 0.0f; while (cVar.e()) { - int z6 = cVar.z(d); - if (z6 != 0) { - if (z6 == 1) { + int y5 = cVar.y(d); + if (y5 != 0) { + if (y5 == 1) { f3 = f5; - f8 = (float) cVar.p(); - } else if (z6 != 2) { - cVar.B(); + f8 = (float) cVar.n(); + } else if (y5 != 2) { + cVar.A(); cVar.C(); f6 = f6; } else { f3 = f5; - f9 = (float) cVar.p(); + f9 = (float) cVar.n(); } f6 = f6; f5 = f3; @@ -328,7 +328,7 @@ public class t { sparseArrayCompat = sparseArrayCompat2; f = f5; f2 = f6; - cVar.B(); + cVar.A(); cVar.C(); f4 = f4; f5 = f; @@ -344,7 +344,7 @@ public class t { dVar.m = f4; dVar.i = arrayList3; dVar.h = longSparseArray; - dVar.f275c = hashMap; + dVar.f269c = hashMap; dVar.d = hashMap2; dVar.g = sparseArrayCompat2; dVar.e = hashMap3; diff --git a/app/src/main/java/c/c/a/a0/w.java b/app/src/main/java/c/c/a/a0/w.java index a824f59df9..1f3a64b2ff 100644 --- a/app/src/main/java/c/c/a/a0/w.java +++ b/app/src/main/java/c/c/a/a0/w.java @@ -10,20 +10,20 @@ public class w implements h0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.c.a.a0.h0 public PointF a(c cVar, float f) throws IOException { - c.b w2 = cVar.w(); - if (w2 == c.b.BEGIN_ARRAY) { + c.b u = cVar.u(); + if (u == c.b.BEGIN_ARRAY) { return p.b(cVar, f); } - if (w2 == c.b.BEGIN_OBJECT) { + if (u == c.b.BEGIN_OBJECT) { return p.b(cVar, f); } - if (w2 == c.b.NUMBER) { - PointF pointF = new PointF(((float) cVar.p()) * f, ((float) cVar.p()) * f); + if (u == c.b.NUMBER) { + PointF pointF = new PointF(((float) cVar.n()) * f, ((float) cVar.n()) * f); while (cVar.e()) { cVar.C(); } return pointF; } - throw new IllegalArgumentException("Cannot convert json to point. Next token is " + w2); + throw new IllegalArgumentException("Cannot convert json to point. Next token is " + u); } } diff --git a/app/src/main/java/c/c/a/b0/d.java b/app/src/main/java/c/c/a/b0/d.java index 869caa3be7..9c3ec2688c 100644 --- a/app/src/main/java/c/c/a/b0/d.java +++ b/app/src/main/java/c/c/a/b0/d.java @@ -19,11 +19,11 @@ public class d extends a implements Choreographer.FrameCallback { public float p = -2.14748365E9f; public float q = 2.14748365E9f; @Nullable - - /* renamed from: r reason: collision with root package name */ - public c.c.a.d f272r; + public c.c.a.d r; @VisibleForTesting - public boolean s = false; + + /* renamed from: s reason: collision with root package name */ + public boolean f266s = false; @Override // android.animation.ValueAnimator, android.animation.Animator @MainThread @@ -37,8 +37,8 @@ public class d extends a implements Choreographer.FrameCallback { @Override // android.view.Choreographer.FrameCallback public void doFrame(long j) { l(); - c.c.a.d dVar = this.f272r; - if (dVar != null && this.s) { + c.c.a.d dVar = this.r; + if (dVar != null && this.f266s) { long j2 = this.m; long j3 = 0; if (j2 != 0) { @@ -77,7 +77,7 @@ public class d extends a implements Choreographer.FrameCallback { b(k()); } } - if (this.f272r != null) { + if (this.r != null) { float f3 = this.n; if (f3 < this.p || f3 > this.q) { throw new IllegalStateException(String.format("Frame must be [%f,%f]. It is %f", Float.valueOf(this.p), Float.valueOf(this.q), Float.valueOf(this.n))); @@ -99,7 +99,7 @@ public class d extends a implements Choreographer.FrameCallback { float j; float i; float j2; - if (this.f272r == null) { + if (this.r == null) { return 0.0f; } if (k()) { @@ -121,7 +121,7 @@ public class d extends a implements Choreographer.FrameCallback { @Override // android.animation.ValueAnimator, android.animation.Animator public long getDuration() { - c.c.a.d dVar = this.f272r; + c.c.a.d dVar = this.r; if (dVar == null) { return 0; } @@ -130,7 +130,7 @@ public class d extends a implements Choreographer.FrameCallback { @FloatRange(from = ShadowDrawableWrapper.COS_45, to = 1.0d) public float h() { - c.c.a.d dVar = this.f272r; + c.c.a.d dVar = this.r; if (dVar == null) { return 0.0f; } @@ -140,7 +140,7 @@ public class d extends a implements Choreographer.FrameCallback { } public float i() { - c.c.a.d dVar = this.f272r; + c.c.a.d dVar = this.r; if (dVar == null) { return 0.0f; } @@ -150,11 +150,11 @@ public class d extends a implements Choreographer.FrameCallback { @Override // android.animation.ValueAnimator, android.animation.Animator public boolean isRunning() { - return this.s; + return this.f266s; } public float j() { - c.c.a.d dVar = this.f272r; + c.c.a.d dVar = this.r; if (dVar == null) { return 0.0f; } @@ -167,7 +167,7 @@ public class d extends a implements Choreographer.FrameCallback { } public void l() { - if (this.s) { + if (this.f266s) { Choreographer.getInstance().removeFrameCallback(this); Choreographer.getInstance().postFrameCallback(this); } @@ -176,7 +176,7 @@ public class d extends a implements Choreographer.FrameCallback { @MainThread public void m() { Choreographer.getInstance().removeFrameCallback(this); - this.s = false; + this.f266s = false; } public void n(float f) { @@ -189,7 +189,7 @@ public class d extends a implements Choreographer.FrameCallback { public void o(float f, float f2) { if (f <= f2) { - c.c.a.d dVar = this.f272r; + c.c.a.d dVar = this.r; float f3 = dVar == null ? -3.4028235E38f : dVar.k; float f4 = dVar == null ? Float.MAX_VALUE : dVar.l; this.p = f.b(f, f3, f4); diff --git a/app/src/main/java/c/c/a/b0/g.java b/app/src/main/java/c/c/a/b0/g.java index f52991740d..83262029dc 100644 --- a/app/src/main/java/c/c/a/b0/g.java +++ b/app/src/main/java/c/c/a/b0/g.java @@ -17,7 +17,7 @@ public final class g { public static final Path b = new Path(); /* renamed from: c reason: collision with root package name */ - public static final Path f273c = new Path(); + public static final Path f267c = new Path(); public static final float[] d = new float[4]; public static final float e = ((float) (Math.sqrt(2.0d) / 2.0d)); public static float f = -1.0f; @@ -59,12 +59,12 @@ public final class g { path2.reset(); pathMeasure.getSegment(min, max, path2, true); if (max > length) { - Path path3 = f273c; + Path path3 = f267c; path3.reset(); pathMeasure.getSegment(0.0f, max % length, path3, true); path2.addPath(path3); } else if (min < 0.0f) { - Path path4 = f273c; + Path path4 = f267c; path4.reset(); pathMeasure.getSegment(min + length, length, path4, true); path2.addPath(path4); diff --git a/app/src/main/java/c/c/a/c0/a.java b/app/src/main/java/c/c/a/c0/a.java index a0a6970065..bab501b90a 100644 --- a/app/src/main/java/c/c/a/c0/a.java +++ b/app/src/main/java/c/c/a/c0/a.java @@ -14,7 +14,7 @@ public class a { @Nullable /* renamed from: c reason: collision with root package name */ - public T f274c; + public T f268c; @Nullable public final Interpolator d; public final float e; @@ -40,7 +40,7 @@ public class a { this.n = null; this.a = dVar; this.b = t; - this.f274c = t2; + this.f268c = t2; this.d = interpolator; this.e = f; this.f = f2; @@ -57,7 +57,7 @@ public class a { this.n = null; this.a = null; this.b = t; - this.f274c = t; + this.f268c = t; this.d = null; this.e = Float.MIN_VALUE; this.f = Float.valueOf(Float.MAX_VALUE); @@ -97,17 +97,17 @@ public class a { } public String toString() { - StringBuilder O = c.d.b.a.a.O("Keyframe{startValue="); - O.append((Object) this.b); - O.append(", endValue="); - O.append((Object) this.f274c); - O.append(", startFrame="); - O.append(this.e); - O.append(", endFrame="); - O.append(this.f); - O.append(", interpolator="); - O.append(this.d); - O.append('}'); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("Keyframe{startValue="); + R.append((Object) this.b); + R.append(", endValue="); + R.append((Object) this.f268c); + R.append(", startFrame="); + R.append(this.e); + R.append(", endFrame="); + R.append(this.f); + R.append(", interpolator="); + R.append(this.d); + R.append('}'); + return R.toString(); } } diff --git a/app/src/main/java/c/c/a/d.java b/app/src/main/java/c/c/a/d.java index 4ddca19cf6..d0ace0c2c1 100644 --- a/app/src/main/java/c/c/a/d.java +++ b/app/src/main/java/c/c/a/d.java @@ -17,7 +17,7 @@ public class d { public final HashSet b = new HashSet<>(); /* renamed from: c reason: collision with root package name */ - public Map> f275c; + public Map> f269c; public Map d; public Map e; public List f; diff --git a/app/src/main/java/c/c/a/e.java b/app/src/main/java/c/c/a/e.java index 3b7a307b36..512cb03690 100644 --- a/app/src/main/java/c/c/a/e.java +++ b/app/src/main/java/c/c/a/e.java @@ -10,11 +10,11 @@ import c.c.a.a0.i0.d; import c.c.a.a0.t; import c.c.a.b0.g; import c.c.a.y.h; -import c0.z.d.m; import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel; -import f0.n; -import f0.r; -import f0.y; +import d0.z.d.m; +import g0.n; +import g0.r; +import g0.y; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; @@ -201,9 +201,9 @@ public class e { } for (Map.Entry entry2 : dVar.d.entrySet()) { if (entry2.getValue().e == null) { - StringBuilder O = c.d.b.a.a.O("There is no image for "); - O.append(entry2.getValue().d); - return new p<>(new IllegalStateException(O.toString())); + StringBuilder R = c.d.b.a.a.R("There is no image for "); + R.append(entry2.getValue().d); + return new p<>(new IllegalStateException(R.toString())); } } if (str != null) { @@ -218,9 +218,9 @@ public class e { } public static String f(Context context, @RawRes int i) { - StringBuilder O = c.d.b.a.a.O("rawRes"); - O.append((context.getResources().getConfiguration().uiMode & 48) == 32 ? "_night_" : "_day_"); - O.append(i); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("rawRes"); + R.append((context.getResources().getConfiguration().uiMode & 48) == 32 ? "_night_" : "_day_"); + R.append(i); + return R.toString(); } } diff --git a/app/src/main/java/c/c/a/f.java b/app/src/main/java/c/c/a/f.java index 99251ce0a5..04db67f33e 100644 --- a/app/src/main/java/c/c/a/f.java +++ b/app/src/main/java/c/c/a/f.java @@ -31,7 +31,7 @@ public class f implements Callable> { Pair pair; c cVar = new c(this.i, this.j, this.k); a aVar = a.ZIP; - b bVar = cVar.f361c; + b bVar = cVar.f349c; d dVar = null; if (bVar != null) { String str = cVar.b; @@ -60,9 +60,9 @@ public class f implements Callable> { if (file.getAbsolutePath().endsWith(".zip")) { aVar2 = aVar; } - StringBuilder U = c.d.b.a.a.U("Cache hit for ", str, " at "); - U.append(file.getAbsolutePath()); - c.c.a.b0.c.a(U.toString()); + StringBuilder W = c.d.b.a.a.W("Cache hit for ", str, " at "); + W.append(file.getAbsolutePath()); + c.c.a.b0.c.a(W.toString()); pair = new Pair(aVar2, fileInputStream); if (pair != null) { } @@ -73,10 +73,10 @@ public class f implements Callable> { if (dVar != null) { return new p<>(dVar); } - StringBuilder O = c.d.b.a.a.O("Animation for "); - O.append(cVar.b); - O.append(" not found in cache. Fetching from network."); - c.c.a.b0.c.a(O.toString()); + StringBuilder R = c.d.b.a.a.R("Animation for "); + R.append(cVar.b); + R.append(" not found in cache. Fetching from network."); + c.c.a.b0.c.a(R.toString()); try { return cVar.a(); } catch (IOException e) { diff --git a/app/src/main/java/c/c/a/j.java b/app/src/main/java/c/c/a/j.java index 4e868d7127..b9739218ef 100644 --- a/app/src/main/java/c/c/a/j.java +++ b/app/src/main/java/c/c/a/j.java @@ -39,29 +39,27 @@ public class j extends Drawable implements Drawable.Callback, Animatable { @Nullable public ImageView.ScaleType q; @Nullable - - /* renamed from: r reason: collision with root package name */ - public c.c.a.x.b f276r; + public c.c.a.x.b r; @Nullable - public String s; + + /* renamed from: s reason: collision with root package name */ + public String f270s; @Nullable public b t; @Nullable public c.c.a.x.a u; public boolean v; @Nullable - - /* renamed from: w reason: collision with root package name */ - public c.c.a.y.m.c f277w; + public c.c.a.y.m.c w; /* renamed from: x reason: collision with root package name */ - public int f278x; + public int f271x; /* renamed from: y reason: collision with root package name */ - public boolean f279y; + public boolean f272y; /* renamed from: z reason: collision with root package name */ - public boolean f280z; + public boolean f273z; /* compiled from: LottieDrawable */ public class a implements o { @@ -127,17 +125,17 @@ public class j extends Drawable implements Drawable.Callback, Animatable { public final /* synthetic */ Object b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ c.c.a.c0.c f282c; + public final /* synthetic */ c.c.a.c0.c f275c; public e(c.c.a.y.f fVar, Object obj, c.c.a.c0.c cVar) { this.a = fVar; this.b = obj; - this.f282c = cVar; + this.f275c = cVar; } @Override // c.c.a.j.o public void a(d dVar) { - j.this.a(this.a, this.b, this.f282c); + j.this.a(this.a, this.b, this.f275c); } } @@ -149,7 +147,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { @Override // android.animation.ValueAnimator.AnimatorUpdateListener public void onAnimationUpdate(ValueAnimator valueAnimator) { j jVar = j.this; - c.c.a.y.m.c cVar = jVar.f277w; + c.c.a.y.m.c cVar = jVar.w; if (cVar != null) { cVar.o(jVar.k.h()); } @@ -194,10 +192,10 @@ public class j extends Drawable implements Drawable.Callback, Animatable { /* compiled from: LottieDrawable */ /* renamed from: c.c.a.j$j reason: collision with other inner class name */ - public class C0055j implements o { + public class C0054j implements o { public final /* synthetic */ float a; - public C0055j(float f) { + public C0054j(float f) { this.a = f; } @@ -278,7 +276,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { this.o = new ArrayList<>(); f fVar = new f(); this.p = fVar; - this.f278x = 255; + this.f271x = 255; this.A = true; this.B = false; dVar.i.add(fVar); @@ -286,7 +284,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { public void a(c.c.a.y.f fVar, T t, c.c.a.c0.c cVar) { List list; - c.c.a.y.m.c cVar2 = this.f277w; + c.c.a.y.m.c cVar2 = this.w; if (cVar2 == null) { this.o.add(new e(fVar, t, cVar)); return; @@ -295,7 +293,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { if (fVar == c.c.a.y.f.a) { cVar2.g(t, cVar); } else { - c.c.a.y.g gVar = fVar.f325c; + c.c.a.y.g gVar = fVar.f314c; if (gVar != null) { gVar.g(t, cVar); } else { @@ -304,11 +302,11 @@ public class j extends Drawable implements Drawable.Callback, Animatable { list = Collections.emptyList(); } else { ArrayList arrayList = new ArrayList(); - this.f277w.c(fVar, 0, arrayList, new c.c.a.y.f(new String[0])); + this.w.c(fVar, 0, arrayList, new c.c.a.y.f(new String[0])); list = arrayList; } for (int i2 = 0; i2 < list.size(); i2++) { - ((c.c.a.y.f) list.get(i2)).f325c.g(t, cVar); + ((c.c.a.y.f) list.get(i2)).f314c.g(t, cVar); } z2 = true ^ list.isEmpty(); } @@ -327,19 +325,19 @@ public class j extends Drawable implements Drawable.Callback, Animatable { Rect rect = dVar.j; c.c.a.y.m.e eVar = new c.c.a.y.m.e(Collections.emptyList(), dVar, "__container", -1, e.a.PRE_COMP, -1, null, Collections.emptyList(), new c.c.a.y.k.l(null, null, null, null, null, null, null, null, null), 0, 0, 0, 0.0f, 0.0f, rect.width(), rect.height(), null, null, Collections.emptyList(), 1, null, false); d dVar2 = this.j; - this.f277w = new c.c.a.y.m.c(this, eVar, dVar2.i, dVar2); + this.w = new c.c.a.y.m.c(this, eVar, dVar2.i, dVar2); } public void c() { c.c.a.b0.d dVar = this.k; - if (dVar.s) { + if (dVar.f266s) { dVar.cancel(); } this.j = null; - this.f277w = null; - this.f276r = null; + this.w = null; + this.r = null; c.c.a.b0.d dVar2 = this.k; - dVar2.f272r = null; + dVar2.r = null; dVar2.p = -2.14748365E9f; dVar2.q = 2.14748365E9f; invalidateSelf(); @@ -350,7 +348,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { float f3; int i2 = -1; if (ImageView.ScaleType.FIT_XY == this.q) { - if (this.f277w != null) { + if (this.w != null) { Rect bounds = getBounds(); float width = ((float) bounds.width()) / ((float) this.j.j.width()); float height = ((float) bounds.height()) / ((float) this.j.j.height()); @@ -375,12 +373,12 @@ public class j extends Drawable implements Drawable.Callback, Animatable { } this.i.reset(); this.i.preScale(width, height); - this.f277w.f(canvas, this.i, this.f278x); + this.w.f(canvas, this.i, this.f271x); if (i2 > 0) { canvas.restoreToCount(i2); } } - } else if (this.f277w != null) { + } else if (this.w != null) { float f6 = this.l; float min2 = Math.min(((float) canvas.getWidth()) / ((float) this.j.j.width()), ((float) canvas.getHeight()) / ((float) this.j.j.height())); if (f6 > min2) { @@ -401,7 +399,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { } this.i.reset(); this.i.preScale(min2, min2); - this.f277w.f(canvas, this.i, this.f278x); + this.w.f(canvas, this.i, this.f271x); if (i2 > 0) { canvas.restoreToCount(i2); } @@ -438,7 +436,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { @Override // android.graphics.drawable.Drawable public int getAlpha() { - return this.f278x; + return this.f271x; } @Override // android.graphics.drawable.Drawable @@ -473,7 +471,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { if (dVar == null) { return false; } - return dVar.s; + return dVar.f266s; } @Override // android.graphics.drawable.Drawable.Callback @@ -502,13 +500,13 @@ public class j extends Drawable implements Drawable.Callback, Animatable { @MainThread public void j() { - if (this.f277w == null) { + if (this.w == null) { this.o.add(new g()); return; } if (this.m || h() == 0) { c.c.a.b0.d dVar = this.k; - dVar.s = true; + dVar.f266s = true; boolean k2 = dVar.k(); for (Animator.AnimatorListener animatorListener : dVar.j) { if (Build.VERSION.SDK_INT >= 26) { @@ -530,13 +528,13 @@ public class j extends Drawable implements Drawable.Callback, Animatable { @MainThread public void k() { - if (this.f277w == null) { + if (this.w == null) { this.o.add(new h()); return; } if (this.m || h() == 0) { c.c.a.b0.d dVar = this.k; - dVar.s = true; + dVar.f266s = true; dVar.l(); dVar.m = 0; if (dVar.k() && dVar.n == dVar.j()) { @@ -576,10 +574,10 @@ public class j extends Drawable implements Drawable.Callback, Animatable { } c.c.a.y.i d2 = dVar.d(str); if (d2 != null) { - m((int) (d2.b + d2.f326c)); + m((int) (d2.b + d2.f315c)); return; } - throw new IllegalArgumentException(c.d.b.a.a.v("Cannot find marker with name ", str, ".")); + throw new IllegalArgumentException(c.d.b.a.a.w("Cannot find marker with name ", str, ".")); } public void o(@FloatRange(from = 0.0d, to = 1.0d) float f2) { @@ -608,10 +606,10 @@ public class j extends Drawable implements Drawable.Callback, Animatable { c.c.a.y.i d2 = dVar.d(str); if (d2 != null) { int i2 = (int) d2.b; - p(i2, ((int) d2.f326c) + i2); + p(i2, ((int) d2.f315c) + i2); return; } - throw new IllegalArgumentException(c.d.b.a.a.v("Cannot find marker with name ", str, ".")); + throw new IllegalArgumentException(c.d.b.a.a.w("Cannot find marker with name ", str, ".")); } public void r(int i2) { @@ -634,7 +632,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { r((int) d2.b); return; } - throw new IllegalArgumentException(c.d.b.a.a.v("Cannot find marker with name ", str, ".")); + throw new IllegalArgumentException(c.d.b.a.a.w("Cannot find marker with name ", str, ".")); } @Override // android.graphics.drawable.Drawable.Callback @@ -647,7 +645,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { @Override // android.graphics.drawable.Drawable public void setAlpha(@IntRange(from = 0, to = 255) int i2) { - this.f278x = i2; + this.f271x = i2; invalidateSelf(); } @@ -672,7 +670,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { public void t(float f2) { d dVar = this.j; if (dVar == null) { - this.o.add(new C0055j(f2)); + this.o.add(new C0054j(f2)); } else { r((int) c.c.a.b0.f.e(dVar.k, dVar.l, f2)); } diff --git a/app/src/main/java/c/c/a/k.java b/app/src/main/java/c/c/a/k.java index d7e3028244..2a44309a85 100644 --- a/app/src/main/java/c/c/a/k.java +++ b/app/src/main/java/c/c/a/k.java @@ -9,7 +9,7 @@ public class k { public final int b; /* renamed from: c reason: collision with root package name */ - public final String f283c; + public final String f276c; public final String d; @Nullable public Bitmap e; @@ -18,7 +18,7 @@ public class k { public k(int i, int i2, String str, String str2, String str3) { this.a = i; this.b = i2; - this.f283c = str; + this.f276c = str; this.d = str2; } } diff --git a/app/src/main/java/c/c/a/o.java b/app/src/main/java/c/c/a/o.java index c10d6b92d3..a65ca21f96 100644 --- a/app/src/main/java/c/c/a/o.java +++ b/app/src/main/java/c/c/a/o.java @@ -13,7 +13,7 @@ public interface o { public static final Integer b = 2; /* renamed from: c reason: collision with root package name */ - public static final Integer f284c = 3; + public static final Integer f277c = 3; public static final Integer d = 4; public static final PointF e = new PointF(); public static final PointF f = new PointF(); @@ -28,25 +28,23 @@ public interface o { public static final Float o = Float.valueOf(2.0f); public static final Float p = Float.valueOf(3.0f); public static final Float q = Float.valueOf(4.0f); + public static final Float r = Float.valueOf(5.0f); - /* renamed from: r reason: collision with root package name */ - public static final Float f285r = Float.valueOf(5.0f); - public static final Float s = Float.valueOf(6.0f); + /* renamed from: s reason: collision with root package name */ + public static final Float f278s = Float.valueOf(6.0f); public static final Float t = Float.valueOf(7.0f); public static final Float u = Float.valueOf(8.0f); public static final Float v = Float.valueOf(9.0f); - - /* renamed from: w reason: collision with root package name */ - public static final Float f286w = Float.valueOf(10.0f); + public static final Float w = Float.valueOf(10.0f); /* renamed from: x reason: collision with root package name */ - public static final Float f287x = Float.valueOf(11.0f); + public static final Float f279x = Float.valueOf(11.0f); /* renamed from: y reason: collision with root package name */ - public static final Float f288y = Float.valueOf(12.0f); + public static final Float f280y = Float.valueOf(12.0f); /* renamed from: z reason: collision with root package name */ - public static final Float f289z = Float.valueOf(12.1f); + public static final Float f281z = Float.valueOf(12.1f); static { Float valueOf = Float.valueOf(0.0f); diff --git a/app/src/main/java/c/c/a/q.java b/app/src/main/java/c/c/a/q.java index 184cf5e780..473f37e5c7 100644 --- a/app/src/main/java/c/c/a/q.java +++ b/app/src/main/java/c/c/a/q.java @@ -31,7 +31,7 @@ public class q implements Runnable { r rVar2 = this.i; Throwable th = pVar.b; synchronized (rVar2) { - ArrayList arrayList = new ArrayList(rVar2.f290c); + ArrayList arrayList = new ArrayList(rVar2.f282c); if (arrayList.isEmpty()) { c.c("Lottie encountered an error but no failure listener was added:", th); return; diff --git a/app/src/main/java/c/c/a/r.java b/app/src/main/java/c/c/a/r.java index 3283ea9ac4..ad1d401149 100644 --- a/app/src/main/java/c/c/a/r.java +++ b/app/src/main/java/c/c/a/r.java @@ -17,7 +17,7 @@ public class r { public final Set> b = new LinkedHashSet(1); /* renamed from: c reason: collision with root package name */ - public final Set> f290c = new LinkedHashSet(1); + public final Set> f282c = new LinkedHashSet(1); public final Handler d = new Handler(Looper.getMainLooper()); @Nullable public volatile p e = null; @@ -49,7 +49,7 @@ public class r { if (!(this.e == null || this.e.b == null)) { lVar.a(this.e.b); } - this.f290c.add(lVar); + this.f282c.add(lVar); return this; } diff --git a/app/src/main/java/c/c/a/s.java b/app/src/main/java/c/c/a/s.java index 59f7c94488..98cf7befa9 100644 --- a/app/src/main/java/c/c/a/s.java +++ b/app/src/main/java/c/c/a/s.java @@ -11,7 +11,7 @@ public class s { public final Set b = new ArraySet(); /* renamed from: c reason: collision with root package name */ - public final Map f291c = new HashMap(); + public final Map f283c = new HashMap(); /* compiled from: PerformanceTracker */ public interface a { diff --git a/app/src/main/java/c/c/a/w/b/a.java b/app/src/main/java/c/c/a/w/b/a.java index bffd30f66f..f398a0a211 100644 --- a/app/src/main/java/c/c/a/w/b/a.java +++ b/app/src/main/java/c/c/a/w/b/a.java @@ -27,7 +27,7 @@ public abstract class a implements a.b, k, e { public final Path b = new Path(); /* renamed from: c reason: collision with root package name */ - public final Path f292c = new Path(); + public final Path f284c = new Path(); public final RectF d = new RectF(); public final j e; public final c.c.a.y.m.b f; @@ -48,7 +48,7 @@ public abstract class a implements a.b, k, e { @Nullable public final s b; - public b(s sVar, C0056a aVar) { + public b(s sVar, C0055a aVar) { this.b = sVar; } } @@ -106,7 +106,7 @@ public abstract class a implements a.b, k, e { c cVar = list.get(size); if (cVar instanceof s) { s sVar2 = (s) cVar; - if (sVar2.f308c == 2) { + if (sVar2.f298c == 2) { sVar = sVar2; } } @@ -119,7 +119,7 @@ public abstract class a implements a.b, k, e { c cVar2 = list2.get(size2); if (cVar2 instanceof s) { s sVar3 = (s) cVar2; - if (sVar3.f308c == 2) { + if (sVar3.f298c == 2) { if (bVar != null) { this.g.add(bVar); } @@ -249,15 +249,15 @@ public abstract class a implements a.b, k, e { int size3 = bVar.a.size() - 1; float f3 = 0.0f; while (size3 >= 0) { - this.f292c.set(bVar.a.get(size3).getPath()); - this.f292c.transform(matrix); - this.a.setPath(this.f292c, z2); + this.f284c.set(bVar.a.get(size3).getPath()); + this.f284c.transform(matrix); + this.a.setPath(this.f284c, z2); float length2 = this.a.getLength(); if (floatValue3 > length) { float f4 = floatValue3 - length; if (f4 < f3 + length2 && f3 < f4) { - g.a(this.f292c, floatValue2 > length ? (floatValue2 - length) / length2 : 0.0f, Math.min(f4 / length2, f2), 0.0f); - canvas.drawPath(this.f292c, this.i); + g.a(this.f284c, floatValue2 > length ? (floatValue2 - length) / length2 : 0.0f, Math.min(f4 / length2, f2), 0.0f); + canvas.drawPath(this.f284c, this.i); f3 += length2; size3--; z2 = false; @@ -267,10 +267,10 @@ public abstract class a implements a.b, k, e { float f5 = f3 + length2; if (f5 >= floatValue2 && f3 <= floatValue3) { if (f5 > floatValue3 || floatValue2 >= f3) { - g.a(this.f292c, floatValue2 < f3 ? 0.0f : (floatValue2 - f3) / length2, floatValue3 > f5 ? 1.0f : (floatValue3 - f3) / length2, 0.0f); - canvas.drawPath(this.f292c, this.i); + g.a(this.f284c, floatValue2 < f3 ? 0.0f : (floatValue2 - f3) / length2, floatValue3 > f5 ? 1.0f : (floatValue3 - f3) / length2, 0.0f); + canvas.drawPath(this.f284c, this.i); } else { - canvas.drawPath(this.f292c, this.i); + canvas.drawPath(this.f284c, this.i); } } f3 += length2; diff --git a/app/src/main/java/c/c/a/w/b/d.java b/app/src/main/java/c/c/a/w/b/d.java index 2972aebea4..895decd24d 100644 --- a/app/src/main/java/c/c/a/w/b/d.java +++ b/app/src/main/java/c/c/a/w/b/d.java @@ -23,7 +23,7 @@ public class d implements e, m, a.b, g { public RectF b; /* renamed from: c reason: collision with root package name */ - public final Matrix f293c; + public final Matrix f285c; public final Path d; public final RectF e; public final String f; @@ -40,7 +40,7 @@ public class d implements e, m, a.b, g { this(jVar, bVar, r3, r4, r5, r6); l lVar; String str = mVar.a; - boolean z2 = mVar.f339c; + boolean z2 = mVar.f328c; List list = mVar.b; ArrayList arrayList = new ArrayList(list.size()); int i = 0; @@ -68,7 +68,7 @@ public class d implements e, m, a.b, g { public d(j jVar, b bVar, String str, boolean z2, List list, @Nullable l lVar) { this.a = new c.c.a.w.a(); this.b = new RectF(); - this.f293c = new Matrix(); + this.f285c = new Matrix(); this.d = new Path(); this.e = new RectF(); this.f = str; @@ -143,16 +143,16 @@ public class d implements e, m, a.b, g { @Override // c.c.a.w.b.e public void d(RectF rectF, Matrix matrix, boolean z2) { - this.f293c.set(matrix); + this.f285c.set(matrix); o oVar = this.k; if (oVar != null) { - this.f293c.preConcat(oVar.e()); + this.f285c.preConcat(oVar.e()); } this.e.set(0.0f, 0.0f, 0.0f, 0.0f); for (int size = this.h.size() - 1; size >= 0; size--) { c cVar = this.h.get(size); if (cVar instanceof e) { - ((e) cVar).d(this.e, this.f293c, z2); + ((e) cVar).d(this.e, this.f285c, z2); rectF.union(this.e); } } @@ -175,15 +175,15 @@ public class d implements e, m, a.b, g { public void f(Canvas canvas, Matrix matrix, int i) { boolean z2; if (!this.g) { - this.f293c.set(matrix); + this.f285c.set(matrix); o oVar = this.k; if (oVar != null) { - this.f293c.preConcat(oVar.e()); + this.f285c.preConcat(oVar.e()); a aVar = this.k.j; i = (int) ((((((float) (aVar == null ? 100 : aVar.e().intValue())) / 100.0f) * ((float) i)) / 255.0f) * 255.0f); } boolean z3 = false; - if (this.i.f280z) { + if (this.i.f273z) { int i2 = 0; int i3 = 0; while (true) { @@ -203,7 +203,7 @@ public class d implements e, m, a.b, g { } if (z3) { this.b.set(0.0f, 0.0f, 0.0f, 0.0f); - d(this.b, this.f293c, true); + d(this.b, this.f285c, true); this.a.setAlpha(i); c.c.a.b0.g.f(canvas, this.b, this.a, 31); } @@ -213,7 +213,7 @@ public class d implements e, m, a.b, g { for (int size = this.h.size() - 1; size >= 0; size--) { c cVar = this.h.get(size); if (cVar instanceof e) { - ((e) cVar).f(canvas, this.f293c, i); + ((e) cVar).f(canvas, this.f285c, i); } } if (z3) { @@ -237,10 +237,10 @@ public class d implements e, m, a.b, g { @Override // c.c.a.w.b.m public Path getPath() { - this.f293c.reset(); + this.f285c.reset(); o oVar = this.k; if (oVar != null) { - this.f293c.set(oVar.e()); + this.f285c.set(oVar.e()); } this.d.reset(); if (this.g) { @@ -249,7 +249,7 @@ public class d implements e, m, a.b, g { for (int size = this.h.size() - 1; size >= 0; size--) { c cVar = this.h.get(size); if (cVar instanceof m) { - this.d.addPath(((m) cVar).getPath(), this.f293c); + this.d.addPath(((m) cVar).getPath(), this.f285c); } } return this.d; diff --git a/app/src/main/java/c/c/a/w/b/f.java b/app/src/main/java/c/c/a/w/b/f.java index 179e76ee83..cee10ba63d 100644 --- a/app/src/main/java/c/c/a/w/b/f.java +++ b/app/src/main/java/c/c/a/w/b/f.java @@ -15,7 +15,7 @@ public class f implements m, a.b, k { public final String b; /* renamed from: c reason: collision with root package name */ - public final j f294c; + public final j f286c; public final a d; public final a e; public final c.c.a.y.l.a f; @@ -24,8 +24,8 @@ public class f implements m, a.b, k { public f(j jVar, b bVar, c.c.a.y.l.a aVar) { this.b = aVar.a; - this.f294c = jVar; - a a = aVar.f329c.a(); + this.f286c = jVar; + a a = aVar.f318c.a(); this.d = a; a a2 = aVar.b.a(); this.e = a2; @@ -39,7 +39,7 @@ public class f implements m, a.b, k { @Override // c.c.a.w.c.a.b public void a() { this.h = false; - this.f294c.invalidateSelf(); + this.f286c.invalidateSelf(); } @Override // c.c.a.w.b.c @@ -48,7 +48,7 @@ public class f implements m, a.b, k { c cVar = list.get(i); if (cVar instanceof s) { s sVar = (s) cVar; - if (sVar.f308c == 1) { + if (sVar.f298c == 1) { this.g.a.add(sVar); sVar.b.add(this); } diff --git a/app/src/main/java/c/c/a/w/b/g.java b/app/src/main/java/c/c/a/w/b/g.java index dfdf51d795..11febde339 100644 --- a/app/src/main/java/c/c/a/w/b/g.java +++ b/app/src/main/java/c/c/a/w/b/g.java @@ -23,7 +23,7 @@ public class g implements e, a.b, k { public final Paint b = new c.c.a.w.a(1); /* renamed from: c reason: collision with root package name */ - public final b f295c; + public final b f287c; public final String d; public final boolean e; public final List f = new ArrayList(); @@ -36,8 +36,8 @@ public class g implements e, a.b, k { public g(j jVar, b bVar, l lVar) { Path path = new Path(); this.a = path; - this.f295c = bVar; - this.d = lVar.f338c; + this.f287c = bVar; + this.d = lVar.f327c; this.e = lVar.f; this.j = jVar; if (lVar.d == null || lVar.e == null) { @@ -121,7 +121,7 @@ public class g implements e, a.b, k { } else if (t == o.C) { a aVar3 = this.i; if (aVar3 != null) { - this.f295c.u.remove(aVar3); + this.f287c.u.remove(aVar3); } if (cVar == 0) { this.i = null; @@ -130,7 +130,7 @@ public class g implements e, a.b, k { p pVar = new p(cVar, null); this.i = pVar; pVar.a.add(this); - this.f295c.e(this.i); + this.f287c.e(this.i); } } diff --git a/app/src/main/java/c/c/a/w/b/h.java b/app/src/main/java/c/c/a/w/b/h.java index 3d94807f3e..d70176d74c 100644 --- a/app/src/main/java/c/c/a/w/b/h.java +++ b/app/src/main/java/c/c/a/w/b/h.java @@ -30,7 +30,7 @@ public class h implements e, a.b, k { public final boolean b; /* renamed from: c reason: collision with root package name */ - public final b f296c; + public final b f288c; public final LongSparseArray d = new LongSparseArray<>(); public final LongSparseArray e = new LongSparseArray<>(); public final Path f; @@ -47,9 +47,7 @@ public class h implements e, a.b, k { @Nullable public p p; public final j q; - - /* renamed from: r reason: collision with root package name */ - public final int f297r; + public final int r; public h(j jVar, b bVar, d dVar) { Path path = new Path(); @@ -57,14 +55,14 @@ public class h implements e, a.b, k { this.g = new c.c.a.w.a(1); this.h = new RectF(); this.i = new ArrayList(); - this.f296c = bVar; + this.f288c = bVar; this.a = dVar.g; this.b = dVar.h; this.q = jVar; this.j = dVar.a; path.setFillType(dVar.b); - this.f297r = (int) (jVar.j.b() / 32.0f); - a a = dVar.f330c.a(); + this.r = (int) (jVar.j.b() / 32.0f); + a a = dVar.f319c.a(); this.k = a; a.a.add(this); bVar.e(a); @@ -195,7 +193,7 @@ public class h implements e, a.b, k { } else if (t == o.C) { a aVar2 = this.o; if (aVar2 != null) { - this.f296c.u.remove(aVar2); + this.f288c.u.remove(aVar2); } if (cVar == 0) { this.o = null; @@ -204,11 +202,11 @@ public class h implements e, a.b, k { p pVar = new p(cVar, null); this.o = pVar; pVar.a.add(this); - this.f296c.e(this.o); + this.f288c.e(this.o); } else if (t == o.D) { p pVar2 = this.p; if (pVar2 != null) { - this.f296c.u.remove(pVar2); + this.f288c.u.remove(pVar2); } if (cVar == 0) { this.p = null; @@ -217,7 +215,7 @@ public class h implements e, a.b, k { p pVar3 = new p(cVar, null); this.p = pVar3; pVar3.a.add(this); - this.f296c.e(this.p); + this.f288c.e(this.p); } } @@ -227,9 +225,9 @@ public class h implements e, a.b, k { } public final int h() { - int round = Math.round(this.m.d * ((float) this.f297r)); - int round2 = Math.round(this.n.d * ((float) this.f297r)); - int round3 = Math.round(this.k.d * ((float) this.f297r)); + int round = Math.round(this.m.d * ((float) this.r)); + int round2 = Math.round(this.n.d * ((float) this.r)); + int round3 = Math.round(this.k.d * ((float) this.r)); int i = 17; if (round != 0) { i = 527 * round; diff --git a/app/src/main/java/c/c/a/w/b/i.java b/app/src/main/java/c/c/a/w/b/i.java index 948f31cb5d..b4447a3b14 100644 --- a/app/src/main/java/c/c/a/w/b/i.java +++ b/app/src/main/java/c/c/a/w/b/i.java @@ -21,23 +21,21 @@ public class i extends a { public final String o; public final boolean p; public final LongSparseArray q = new LongSparseArray<>(); + public final LongSparseArray r = new LongSparseArray<>(); - /* renamed from: r reason: collision with root package name */ - public final LongSparseArray f298r = new LongSparseArray<>(); - public final RectF s = new RectF(); + /* renamed from: s reason: collision with root package name */ + public final RectF f289s = new RectF(); public final int t; public final int u; public final a v; - - /* renamed from: w reason: collision with root package name */ - public final a f299w; + public final a w; /* renamed from: x reason: collision with root package name */ - public final a f300x; + public final a f290x; @Nullable /* renamed from: y reason: collision with root package name */ - public p f301y; + public p f291y; public i(j jVar, b bVar, e eVar) { super(jVar, bVar, c.c.a.y.b.k(eVar.h), c.c.a.y.b.l(eVar.i), eVar.j, eVar.d, eVar.g, eVar.k, eVar.l); @@ -45,22 +43,22 @@ public class i extends a { this.t = eVar.b; this.p = eVar.m; this.u = (int) (jVar.j.b() / 32.0f); - a a = eVar.f331c.a(); + a a = eVar.f320c.a(); this.v = a; a.a.add(this); bVar.e(a); a a2 = eVar.e.a(); - this.f299w = a2; + this.w = a2; a2.a.add(this); bVar.e(a2); a a3 = eVar.f.a(); - this.f300x = a3; + this.f290x = a3; a3.a.add(this); bVar.e(a3); } public final int[] e(int[] iArr) { - p pVar = this.f301y; + p pVar = this.f291y; if (pVar != null) { Integer[] numArr = (Integer[]) pVar.e(); int i = 0; @@ -87,30 +85,30 @@ public class i extends a { public void f(Canvas canvas, Matrix matrix, int i) { RadialGradient radialGradient; if (!this.p) { - d(this.s, matrix, false); + d(this.f289s, matrix, false); if (this.t == 1) { long h = (long) h(); radialGradient = this.q.get(h); if (radialGradient == null) { - PointF e = this.f299w.e(); - PointF e2 = this.f300x.e(); + PointF e = this.w.e(); + PointF e2 = this.f290x.e(); c e3 = this.v.e(); radialGradient = new LinearGradient(e.x, e.y, e2.x, e2.y, e(e3.b), e3.a, Shader.TileMode.CLAMP); this.q.put(h, radialGradient); } } else { long h2 = (long) h(); - radialGradient = this.f298r.get(h2); + radialGradient = this.r.get(h2); if (radialGradient == null) { - PointF e4 = this.f299w.e(); - PointF e5 = this.f300x.e(); + PointF e4 = this.w.e(); + PointF e5 = this.f290x.e(); c e6 = this.v.e(); int[] e7 = e(e6.b); float[] fArr = e6.a; float f = e4.x; float f2 = e4.y; radialGradient = new RadialGradient(f, f2, (float) Math.hypot((double) (e5.x - f), (double) (e5.y - f2)), e7, fArr, Shader.TileMode.CLAMP); - this.f298r.put(h2, radialGradient); + this.r.put(h2, radialGradient); } } radialGradient.setLocalMatrix(matrix); @@ -125,18 +123,18 @@ public class i extends a { public void g(T t, @Nullable c.c.a.c0.c cVar) { super.g(t, cVar); if (t == o.D) { - p pVar = this.f301y; + p pVar = this.f291y; if (pVar != null) { this.f.u.remove(pVar); } if (cVar == null) { - this.f301y = null; + this.f291y = null; return; } p pVar2 = new p(cVar, null); - this.f301y = pVar2; + this.f291y = pVar2; pVar2.a.add(this); - this.f.e(this.f301y); + this.f.e(this.f291y); } } @@ -146,8 +144,8 @@ public class i extends a { } public final int h() { - int round = Math.round(this.f299w.d * ((float) this.u)); - int round2 = Math.round(this.f300x.d * ((float) this.u)); + int round = Math.round(this.w.d * ((float) this.u)); + int round2 = Math.round(this.f290x.d * ((float) this.u)); int round3 = Math.round(this.v.d * ((float) this.u)); int i = 17; if (round != 0) { diff --git a/app/src/main/java/c/c/a/w/b/l.java b/app/src/main/java/c/c/a/w/b/l.java index fa0f857568..67315e1d02 100644 --- a/app/src/main/java/c/c/a/w/b/l.java +++ b/app/src/main/java/c/c/a/w/b/l.java @@ -15,7 +15,7 @@ public class l implements m, j { public final Path b = new Path(); /* renamed from: c reason: collision with root package name */ - public final Path f302c = new Path(); + public final Path f292c = new Path(); public final List d = new ArrayList(); public final g e; @@ -40,8 +40,8 @@ public class l implements m, j { if (oVar != null) { matrix2 = oVar.e(); } else { - dVar.f293c.reset(); - matrix2 = dVar.f293c; + dVar.f285c.reset(); + matrix2 = dVar.f285c; } path.transform(matrix2); this.b.addPath(path); @@ -60,8 +60,8 @@ public class l implements m, j { if (oVar2 != null) { matrix = oVar2.e(); } else { - dVar2.f293c.reset(); - matrix = dVar2.f293c; + dVar2.f285c.reset(); + matrix = dVar2.f285c; } path2.transform(matrix); this.a.addPath(path2); @@ -69,7 +69,7 @@ public class l implements m, j { } else { this.a.set(mVar2.getPath()); } - this.f302c.op(this.a, this.b, op); + this.f292c.op(this.a, this.b, op); } @Override // c.c.a.w.b.c @@ -94,15 +94,15 @@ public class l implements m, j { @Override // c.c.a.w.b.m public Path getPath() { - this.f302c.reset(); + this.f292c.reset(); g gVar = this.e; - if (gVar.f333c) { - return this.f302c; + if (gVar.f322c) { + return this.f292c; } int ordinal = gVar.b.ordinal(); if (ordinal == 0) { for (int i = 0; i < this.d.size(); i++) { - this.f302c.addPath(this.d.get(i).getPath()); + this.f292c.addPath(this.d.get(i).getPath()); } } else if (ordinal == 1) { a(Path.Op.UNION); @@ -113,6 +113,6 @@ public class l implements m, j { } else if (ordinal == 4) { a(Path.Op.XOR); } - return this.f302c; + return this.f292c; } } diff --git a/app/src/main/java/c/c/a/w/b/n.java b/app/src/main/java/c/c/a/w/b/n.java index 5c62f3759b..e10c7a8a85 100644 --- a/app/src/main/java/c/c/a/w/b/n.java +++ b/app/src/main/java/c/c/a/w/b/n.java @@ -18,7 +18,7 @@ public class n implements m, a.b, k { public final String b; /* renamed from: c reason: collision with root package name */ - public final j f303c; + public final j f293c; public final h.a d; public final boolean e; public final a f; @@ -34,12 +34,12 @@ public class n implements m, a.b, k { public boolean n; public n(j jVar, b bVar, h hVar) { - this.f303c = jVar; + this.f293c = jVar; this.b = hVar.a; h.a aVar = hVar.b; this.d = aVar; this.e = hVar.j; - a a = hVar.f334c.a(); + a a = hVar.f323c.a(); this.f = a; a a2 = hVar.d.a(); this.g = a2; @@ -80,7 +80,7 @@ public class n implements m, a.b, k { @Override // c.c.a.w.c.a.b public void a() { this.n = false; - this.f303c.invalidateSelf(); + this.f293c.invalidateSelf(); } @Override // c.c.a.w.b.c @@ -89,7 +89,7 @@ public class n implements m, a.b, k { c cVar = list.get(i); if (cVar instanceof s) { s sVar = (s) cVar; - if (sVar.f308c == 1) { + if (sVar.f298c == 1) { this.m.a.add(sVar); sVar.b.add(this); } @@ -108,7 +108,7 @@ public class n implements m, a.b, k { public void g(T t, @Nullable c cVar) { a aVar; a aVar2; - if (t == o.s) { + if (t == o.f278s) { a aVar3 = this.f; c cVar2 = aVar3.e; aVar3.e = cVar; @@ -127,10 +127,10 @@ public class n implements m, a.b, k { a aVar6 = this.j; c cVar6 = aVar6.e; aVar6.e = cVar; - } else if (t == o.f286w && (aVar = this.k) != null) { + } else if (t == o.w && (aVar = this.k) != null) { c cVar7 = aVar.e; aVar.e = cVar; - } else if (t == o.f287x) { + } else if (t == o.f279x) { a aVar7 = this.l; c cVar8 = aVar7.e; aVar7.e = cVar; diff --git a/app/src/main/java/c/c/a/w/b/o.java b/app/src/main/java/c/c/a/w/b/o.java index 8afb971d48..528c28461a 100644 --- a/app/src/main/java/c/c/a/w/b/o.java +++ b/app/src/main/java/c/c/a/w/b/o.java @@ -17,7 +17,7 @@ public class o implements a.b, k, m { public final RectF b = new RectF(); /* renamed from: c reason: collision with root package name */ - public final String f304c; + public final String f294c; public final boolean d; public final j e; public final a f; @@ -27,12 +27,12 @@ public class o implements a.b, k, m { public boolean j; public o(j jVar, b bVar, i iVar) { - this.f304c = iVar.a; + this.f294c = iVar.a; this.d = iVar.e; this.e = jVar; a a = iVar.b.a(); this.f = a; - a a2 = iVar.f335c.a(); + a a2 = iVar.f324c.a(); this.g = a2; a a3 = iVar.d.a(); this.h = a3; @@ -56,7 +56,7 @@ public class o implements a.b, k, m { c cVar = list.get(i); if (cVar instanceof s) { s sVar = (s) cVar; - if (sVar.f308c == 1) { + if (sVar.f298c == 1) { this.i.a.add(sVar); sVar.b.add(this); } @@ -90,7 +90,7 @@ public class o implements a.b, k, m { @Override // c.c.a.w.b.c public String getName() { - return this.f304c; + return this.f294c; } @Override // c.c.a.w.b.m diff --git a/app/src/main/java/c/c/a/w/b/p.java b/app/src/main/java/c/c/a/w/b/p.java index 7a069da84c..eb2b9e2122 100644 --- a/app/src/main/java/c/c/a/w/b/p.java +++ b/app/src/main/java/c/c/a/w/b/p.java @@ -23,7 +23,7 @@ public class p implements e, m, j, a.b, k { public final Path b = new Path(); /* renamed from: c reason: collision with root package name */ - public final j f305c; + public final j f295c; public final b d; public final String e; public final boolean f; @@ -33,7 +33,7 @@ public class p implements e, m, j, a.b, k { public d j; public p(j jVar, b bVar, c.c.a.y.l.j jVar2) { - this.f305c = jVar; + this.f295c = jVar; this.d = bVar; this.e = jVar2.a; this.f = jVar2.e; @@ -41,7 +41,7 @@ public class p implements e, m, j, a.b, k { this.g = a; bVar.e(a); a.a.add(this); - a a2 = jVar2.f336c.a(); + a a2 = jVar2.f325c.a(); this.h = a2; bVar.e(a2); a2.a.add(this); @@ -55,7 +55,7 @@ public class p implements e, m, j, a.b, k { @Override // c.c.a.w.c.a.b public void a() { - this.f305c.invalidateSelf(); + this.f295c.invalidateSelf(); } @Override // c.c.a.w.b.c @@ -84,7 +84,7 @@ public class p implements e, m, j, a.b, k { listIterator.remove(); } Collections.reverse(arrayList); - this.j = new d(this.f305c, this.d, "Repeater", this.f, arrayList, null); + this.j = new d(this.f295c, this.d, "Repeater", this.f, arrayList, null); } } @@ -111,7 +111,7 @@ public class p implements e, m, j, a.b, k { a aVar = this.g; c cVar2 = aVar.e; aVar.e = cVar; - } else if (t == c.c.a.o.f285r) { + } else if (t == c.c.a.o.r) { a aVar2 = this.h; c cVar3 = aVar2.e; aVar2.e = cVar; diff --git a/app/src/main/java/c/c/a/w/b/q.java b/app/src/main/java/c/c/a/w/b/q.java index 07ca9e538e..cc5559078a 100644 --- a/app/src/main/java/c/c/a/w/b/q.java +++ b/app/src/main/java/c/c/a/w/b/q.java @@ -13,15 +13,15 @@ public class q implements m, a.b { public final boolean b; /* renamed from: c reason: collision with root package name */ - public final j f306c; + public final j f296c; public final a d; public boolean e; public b f = new b(); public q(j jVar, b bVar, n nVar) { this.b = nVar.d; - this.f306c = jVar; - a a = nVar.f340c.a(); + this.f296c = jVar; + a a = nVar.f329c.a(); this.d = a; bVar.e(a); a.a.add(this); @@ -30,7 +30,7 @@ public class q implements m, a.b { @Override // c.c.a.w.c.a.b public void a() { this.e = false; - this.f306c.invalidateSelf(); + this.f296c.invalidateSelf(); } @Override // c.c.a.w.b.c @@ -39,7 +39,7 @@ public class q implements m, a.b { c cVar = list.get(i); if (cVar instanceof s) { s sVar = (s) cVar; - if (sVar.f308c == 1) { + if (sVar.f298c == 1) { this.f.a.add(sVar); sVar.b.add(this); } diff --git a/app/src/main/java/c/c/a/w/b/r.java b/app/src/main/java/c/c/a/w/b/r.java index aacf6b9324..db3ca9ef0e 100644 --- a/app/src/main/java/c/c/a/w/b/r.java +++ b/app/src/main/java/c/c/a/w/b/r.java @@ -16,19 +16,19 @@ public class r extends a { public final b o; public final String p; public final boolean q; - - /* renamed from: r reason: collision with root package name */ - public final a f307r; + public final a r; @Nullable - public a s; + + /* renamed from: s reason: collision with root package name */ + public a f297s; public r(j jVar, b bVar, o oVar) { - super(jVar, bVar, c.c.a.y.b.k(oVar.g), c.c.a.y.b.l(oVar.h), oVar.i, oVar.e, oVar.f, oVar.f341c, oVar.b); + super(jVar, bVar, c.c.a.y.b.k(oVar.g), c.c.a.y.b.l(oVar.h), oVar.i, oVar.e, oVar.f, oVar.f330c, oVar.b); this.o = bVar; this.p = oVar.a; this.q = oVar.j; a a = oVar.d.a(); - this.f307r = a; + this.r = a; a.a.add(this); bVar.e(a); } @@ -37,9 +37,9 @@ public class r extends a { public void f(Canvas canvas, Matrix matrix, int i) { if (!this.q) { Paint paint = this.i; - c.c.a.w.c.b bVar = (c.c.a.w.c.b) this.f307r; + c.c.a.w.c.b bVar = (c.c.a.w.c.b) this.r; paint.setColor(bVar.j(bVar.a(), bVar.c())); - a aVar = this.s; + a aVar = this.f297s; if (aVar != null) { this.i.setColorFilter(aVar.e()); } @@ -53,22 +53,22 @@ public class r extends a { public void g(T t, @Nullable c cVar) { super.g(t, cVar); if (t == c.c.a.o.b) { - a aVar = this.f307r; + a aVar = this.r; c cVar2 = aVar.e; aVar.e = cVar; } else if (t == c.c.a.o.C) { - a aVar2 = this.s; + a aVar2 = this.f297s; if (aVar2 != null) { this.o.u.remove(aVar2); } if (cVar == 0) { - this.s = null; + this.f297s = null; return; } p pVar = new p(cVar, null); - this.s = pVar; + this.f297s = pVar; pVar.a.add(this); - this.o.e(this.f307r); + this.o.e(this.r); } } diff --git a/app/src/main/java/c/c/a/w/b/s.java b/app/src/main/java/c/c/a/w/b/s.java index 2725ddf45f..fee8ae3275 100644 --- a/app/src/main/java/c/c/a/w/b/s.java +++ b/app/src/main/java/c/c/a/w/b/s.java @@ -11,15 +11,15 @@ public class s implements c, a.b { public final List b = new ArrayList(); /* renamed from: c reason: collision with root package name */ - public final int f308c; + public final int f298c; public final a d; public final a e; public final a f; public s(b bVar, p pVar) { this.a = pVar.f; - this.f308c = pVar.b; - a a = pVar.f342c.a(); + this.f298c = pVar.b; + a a = pVar.f331c.a(); this.d = a; a a2 = pVar.d.a(); this.e = a2; diff --git a/app/src/main/java/c/c/a/w/c/a.java b/app/src/main/java/c/c/a/w/c/a.java index 09c8bc89cc..5886f70c1e 100644 --- a/app/src/main/java/c/c/a/w/c/a.java +++ b/app/src/main/java/c/c/a/w/c/a.java @@ -12,7 +12,7 @@ public abstract class a { public boolean b = false; /* renamed from: c reason: collision with root package name */ - public final d f309c; + public final d f299c; public float d = 0.0f; @Nullable public c.c.a.c0.c e; @@ -28,7 +28,7 @@ public abstract class a { /* compiled from: BaseKeyframeAnimation */ public static final class c implements d { - public c(C0057a aVar) { + public c(C0056a aVar) { } @Override // c.c.a.w.c.a.d @@ -86,7 +86,7 @@ public abstract class a { public c.c.a.c0.a b; /* renamed from: c reason: collision with root package name */ - public c.c.a.c0.a f310c = null; + public c.c.a.c0.a f300c = null; public float d = -1.0f; public e(List> list) { @@ -96,12 +96,12 @@ public abstract class a { @Override // c.c.a.w.c.a.d public boolean a(float f) { - c.c.a.c0.a aVar = this.f310c; + c.c.a.c0.a aVar = this.f300c; c.c.a.c0.a aVar2 = this.b; if (aVar == aVar2 && this.d == f) { return true; } - this.f310c = aVar2; + this.f300c = aVar2; this.d = f; return false; } @@ -205,11 +205,11 @@ public abstract class a { } else { dVar = list.size() == 1 ? new f<>(list) : new e<>(list); } - this.f309c = dVar; + this.f299c = dVar; } public c.c.a.c0.a a() { - c.c.a.c0.a b2 = this.f309c.b(); + c.c.a.c0.a b2 = this.f299c.b(); c.c.a.c.a("BaseKeyframeAnimation#getCurrentKeyframe"); return b2; } @@ -217,7 +217,7 @@ public abstract class a { @FloatRange(from = ShadowDrawableWrapper.COS_45, to = 1.0d) public float b() { if (this.h == -1.0f) { - this.h = this.f309c.d(); + this.h = this.f299c.d(); } return this.h; } @@ -243,7 +243,7 @@ public abstract class a { public A e() { float c2 = c(); - if (this.e == null && this.f309c.a(c2)) { + if (this.e == null && this.f299c.a(c2)) { return this.f; } A f2 = f(a(), c2); @@ -260,14 +260,14 @@ public abstract class a { } public void h(@FloatRange(from = 0.0d, to = 1.0d) float f2) { - if (!this.f309c.isEmpty()) { + if (!this.f299c.isEmpty()) { if (this.g == -1.0f) { - this.g = this.f309c.e(); + this.g = this.f299c.e(); } float f3 = this.g; if (f2 < f3) { if (f3 == -1.0f) { - this.g = this.f309c.e(); + this.g = this.f299c.e(); } f2 = this.g; } else if (f2 > b()) { @@ -275,7 +275,7 @@ public abstract class a { } if (f2 != this.d) { this.d = f2; - if (this.f309c.c(f2)) { + if (this.f299c.c(f2)) { g(); } } diff --git a/app/src/main/java/c/c/a/w/c/b.java b/app/src/main/java/c/c/a/w/c/b.java index c45093d9f2..bc42c8cdc7 100644 --- a/app/src/main/java/c/c/a/w/c/b.java +++ b/app/src/main/java/c/c/a/w/c/b.java @@ -19,12 +19,12 @@ public class b extends f { public int j(a aVar, float f) { Integer num; Integer num2 = aVar.b; - if (num2 == null || aVar.f274c == null) { + if (num2 == null || aVar.f268c == null) { throw new IllegalStateException("Missing values for keyframe."); } int intValue = num2.intValue(); - int intValue2 = aVar.f274c.intValue(); + int intValue2 = aVar.f268c.intValue(); c cVar = this.e; - return (cVar == 0 || (num = (Integer) cVar.a(aVar.e, aVar.f.floatValue(), Integer.valueOf(intValue), Integer.valueOf(intValue2), f, d(), this.d)) == null) ? d.k0(f.b(f, 0.0f, 1.0f), intValue, intValue2) : num.intValue(); + return (cVar == 0 || (num = (Integer) cVar.a(aVar.e, aVar.f.floatValue(), Integer.valueOf(intValue), Integer.valueOf(intValue2), f, d(), this.d)) == null) ? d.h0(f.b(f, 0.0f, 1.0f), intValue, intValue2) : num.intValue(); } } diff --git a/app/src/main/java/c/c/a/w/c/c.java b/app/src/main/java/c/c/a/w/c/c.java index 8333033640..4034c82989 100644 --- a/app/src/main/java/c/c/a/w/c/c.java +++ b/app/src/main/java/c/c/a/w/c/c.java @@ -20,11 +20,11 @@ public class c extends f { public float k(a aVar, float f) { Float f2; - if (aVar.b == null || aVar.f274c == null) { + if (aVar.b == null || aVar.f268c == null) { throw new IllegalStateException("Missing values for keyframe."); } c.c.a.c0.c cVar = this.e; - if (cVar != 0 && (f2 = (Float) cVar.a(aVar.e, aVar.f.floatValue(), aVar.b, aVar.f274c, f, d(), this.d)) != null) { + if (cVar != 0 && (f2 = (Float) cVar.a(aVar.e, aVar.f.floatValue(), aVar.b, aVar.f268c, f, d(), this.d)) != null) { return f2.floatValue(); } if (aVar.g == -3987645.8f) { @@ -32,7 +32,7 @@ public class c extends f { } float f3 = aVar.g; if (aVar.h == -3987645.8f) { - aVar.h = aVar.f274c.floatValue(); + aVar.h = aVar.f268c.floatValue(); } return f.e(f3, aVar.h, f); } diff --git a/app/src/main/java/c/c/a/w/c/d.java b/app/src/main/java/c/c/a/w/c/d.java index 4ee0a60816..46461520f5 100644 --- a/app/src/main/java/c/c/a/w/c/d.java +++ b/app/src/main/java/c/c/a/w/c/d.java @@ -21,18 +21,18 @@ public class d extends f { public Object f(a aVar, float f) { c cVar = this.i; c cVar2 = aVar.b; - c cVar3 = aVar.f274c; + c cVar3 = aVar.f268c; Objects.requireNonNull(cVar); if (cVar2.b.length == cVar3.b.length) { for (int i = 0; i < cVar2.b.length; i++) { cVar.a[i] = f.e(cVar2.a[i], cVar3.a[i], f); - cVar.b[i] = c.c.a.a0.d.k0(f, cVar2.b[i], cVar3.b[i]); + cVar.b[i] = c.c.a.a0.d.h0(f, cVar2.b[i], cVar3.b[i]); } return this.i; } - StringBuilder O = c.d.b.a.a.O("Cannot interpolate between gradients. Lengths vary ("); - O.append(cVar2.b.length); - O.append(" vs "); - throw new IllegalArgumentException(c.d.b.a.a.z(O, cVar3.b.length, ")")); + StringBuilder R = c.d.b.a.a.R("Cannot interpolate between gradients. Lengths vary ("); + R.append(cVar2.b.length); + R.append(" vs "); + throw new IllegalArgumentException(c.d.b.a.a.A(R, cVar3.b.length, ")")); } } diff --git a/app/src/main/java/c/c/a/w/c/e.java b/app/src/main/java/c/c/a/w/c/e.java index 20f28fd477..c502e2a964 100644 --- a/app/src/main/java/c/c/a/w/c/e.java +++ b/app/src/main/java/c/c/a/w/c/e.java @@ -18,11 +18,11 @@ public class e extends f { public int j(a aVar, float f) { Integer num; - if (aVar.b == null || aVar.f274c == null) { + if (aVar.b == null || aVar.f268c == null) { throw new IllegalStateException("Missing values for keyframe."); } c cVar = this.e; - if (cVar != 0 && (num = (Integer) cVar.a(aVar.e, aVar.f.floatValue(), aVar.b, aVar.f274c, f, d(), this.d)) != null) { + if (cVar != 0 && (num = (Integer) cVar.a(aVar.e, aVar.f.floatValue(), aVar.b, aVar.f268c, f, d(), this.d)) != null) { return num.intValue(); } if (aVar.i == 784923401) { @@ -30,7 +30,7 @@ public class e extends f { } int i = aVar.i; if (aVar.j == 784923401) { - aVar.j = aVar.f274c.intValue(); + aVar.j = aVar.f268c.intValue(); } int i2 = aVar.j; PointF pointF = f.a; diff --git a/app/src/main/java/c/c/a/w/c/g.java b/app/src/main/java/c/c/a/w/c/g.java index 5aaa6e9fcc..cca1ce67f2 100644 --- a/app/src/main/java/c/c/a/w/c/g.java +++ b/app/src/main/java/c/c/a/w/c/g.java @@ -11,15 +11,15 @@ public class g { public final List> b; /* renamed from: c reason: collision with root package name */ - public final List f311c; + public final List f301c; public g(List list) { - this.f311c = list; + this.f301c = list; this.a = new ArrayList(list.size()); this.b = new ArrayList(list.size()); for (int i = 0; i < list.size(); i++) { this.a.add(list.get(i).b.a()); - this.b.add(list.get(i).f332c.a()); + this.b.add(list.get(i).f321c.a()); } } } diff --git a/app/src/main/java/c/c/a/w/c/h.java b/app/src/main/java/c/c/a/w/c/h.java index aaaf6f5017..ec5e7ba883 100644 --- a/app/src/main/java/c/c/a/w/c/h.java +++ b/app/src/main/java/c/c/a/w/c/h.java @@ -14,16 +14,16 @@ public class h extends a { public final a p; public h(d dVar, a aVar) { - super(dVar, aVar.b, aVar.f274c, aVar.d, aVar.e, aVar.f); + super(dVar, aVar.b, aVar.f268c, aVar.d, aVar.e, aVar.f); this.p = aVar; e(); } public void e() { PointF pointF; - PointF pointF2 = this.f274c; + PointF pointF2 = this.f268c; boolean z2 = (pointF2 == null || (pointF = this.b) == null || !pointF.equals(pointF2.x, pointF2.y)) ? false : true; - PointF pointF3 = this.f274c; + PointF pointF3 = this.f268c; if (pointF3 != null && !z2) { PointF pointF4 = this.b; PointF pointF5 = pointF3; diff --git a/app/src/main/java/c/c/a/w/c/i.java b/app/src/main/java/c/c/a/w/c/i.java index 81d8cc2c96..44a630b921 100644 --- a/app/src/main/java/c/c/a/w/c/i.java +++ b/app/src/main/java/c/c/a/w/c/i.java @@ -29,7 +29,7 @@ public class i extends f { return aVar.b; } c cVar = this.e; - if (cVar != 0 && (pointF = (PointF) cVar.a(hVar.e, hVar.f.floatValue(), hVar.b, hVar.f274c, d(), f, this.d)) != null) { + if (cVar != 0 && (pointF = (PointF) cVar.a(hVar.e, hVar.f.floatValue(), hVar.b, hVar.f268c, d(), f, this.d)) != null) { return pointF; } if (this.k != hVar) { diff --git a/app/src/main/java/c/c/a/w/c/j.java b/app/src/main/java/c/c/a/w/c/j.java index a141fa10e2..93e5ab975f 100644 --- a/app/src/main/java/c/c/a/w/c/j.java +++ b/app/src/main/java/c/c/a/w/c/j.java @@ -17,7 +17,7 @@ public class j extends f { PointF pointF; PointF pointF2; PointF pointF3 = aVar.b; - if (pointF3 == null || (pointF = aVar.f274c) == null) { + if (pointF3 == null || (pointF = aVar.f268c) == null) { throw new IllegalStateException("Missing values for keyframe."); } PointF pointF4 = pointF3; diff --git a/app/src/main/java/c/c/a/w/c/k.java b/app/src/main/java/c/c/a/w/c/k.java index 2195af835e..26012ae836 100644 --- a/app/src/main/java/c/c/a/w/c/k.java +++ b/app/src/main/java/c/c/a/w/c/k.java @@ -18,7 +18,7 @@ public class k extends f { d dVar; d dVar2; d dVar3 = aVar.b; - if (dVar3 == null || (dVar = aVar.f274c) == null) { + if (dVar3 == null || (dVar = aVar.f268c) == null) { throw new IllegalStateException("Missing values for keyframe."); } d dVar4 = dVar3; diff --git a/app/src/main/java/c/c/a/w/c/l.java b/app/src/main/java/c/c/a/w/c/l.java index faf6e3d4cb..d86c903ffa 100644 --- a/app/src/main/java/c/c/a/w/c/l.java +++ b/app/src/main/java/c/c/a/w/c/l.java @@ -21,18 +21,18 @@ public class l extends a { @Override // c.c.a.w.c.a public Path f(a aVar, float f) { k kVar = aVar.b; - k kVar2 = aVar.f274c; + k kVar2 = aVar.f268c; k kVar3 = this.i; if (kVar3.b == null) { kVar3.b = new PointF(); } - kVar3.f337c = kVar.f337c || kVar2.f337c; + kVar3.f326c = kVar.f326c || kVar2.f326c; if (kVar.a.size() != kVar2.a.size()) { - StringBuilder O = c.d.b.a.a.O("Curves must have the same number of control points. Shape 1: "); - O.append(kVar.a.size()); - O.append("\tShape 2: "); - O.append(kVar2.a.size()); - c.b(O.toString()); + StringBuilder R = c.d.b.a.a.R("Curves must have the same number of control points. Shape 1: "); + R.append(kVar.a.size()); + R.append("\tShape 2: "); + R.append(kVar2.a.size()); + c.b(R.toString()); } int min = Math.min(kVar.a.size(), kVar2.a.size()); if (kVar3.a.size() < min) { @@ -58,13 +58,13 @@ public class l extends a { c.c.a.y.a aVar3 = kVar2.a.get(size3); PointF pointF3 = aVar2.a; PointF pointF4 = aVar2.b; - PointF pointF5 = aVar2.f315c; + PointF pointF5 = aVar2.f305c; PointF pointF6 = aVar3.a; PointF pointF7 = aVar3.b; - PointF pointF8 = aVar3.f315c; + PointF pointF8 = aVar3.f305c; kVar3.a.get(size3).a.set(f.e(pointF3.x, pointF6.x, f), f.e(pointF3.y, pointF6.y, f)); kVar3.a.get(size3).b.set(f.e(pointF4.x, pointF7.x, f), f.e(pointF4.y, pointF7.y, f)); - kVar3.a.get(size3).f315c.set(f.e(pointF5.x, pointF8.x, f), f.e(pointF5.y, pointF8.y, f)); + kVar3.a.get(size3).f305c.set(f.e(pointF5.x, pointF8.x, f), f.e(pointF5.y, pointF8.y, f)); } k kVar4 = this.i; Path path = this.j; @@ -76,7 +76,7 @@ public class l extends a { c.c.a.y.a aVar4 = kVar4.a.get(i); PointF pointF10 = aVar4.a; PointF pointF11 = aVar4.b; - PointF pointF12 = aVar4.f315c; + PointF pointF12 = aVar4.f305c; if (!pointF10.equals(f.a) || !pointF11.equals(pointF12)) { path.cubicTo(pointF10.x, pointF10.y, pointF11.x, pointF11.y, pointF12.x, pointF12.y); } else { @@ -84,7 +84,7 @@ public class l extends a { } f.a.set(pointF12.x, pointF12.y); } - if (kVar4.f337c) { + if (kVar4.f326c) { path.close(); } return this.j; diff --git a/app/src/main/java/c/c/a/w/c/o.java b/app/src/main/java/c/c/a/w/c/o.java index 195aba1c4a..1ceb460e45 100644 --- a/app/src/main/java/c/c/a/w/c/o.java +++ b/app/src/main/java/c/c/a/w/c/o.java @@ -19,7 +19,7 @@ public class o { public final Matrix b; /* renamed from: c reason: collision with root package name */ - public final Matrix f312c; + public final Matrix f302c; public final Matrix d; public final float[] e; @NonNull @@ -46,7 +46,7 @@ public class o { this.f = eVar == null ? null : eVar.a(); m mVar = lVar.b; this.g = mVar == null ? null : mVar.a(); - g gVar = lVar.f328c; + g gVar = lVar.f317c; this.h = gVar == null ? null : gVar.a(); b bVar = lVar.d; this.i = bVar == null ? null : bVar.a(); @@ -55,12 +55,12 @@ public class o { this.k = cVar; if (cVar != null) { this.b = new Matrix(); - this.f312c = new Matrix(); + this.f302c = new Matrix(); this.d = new Matrix(); this.e = new float[9]; } else { this.b = null; - this.f312c = null; + this.f302c = null; this.d = null; this.e = null; } @@ -178,7 +178,7 @@ public class o { c cVar7 = aVar6.e; aVar6.e = cVar; return true; - } else if (t == c.c.a.o.f284c) { + } else if (t == c.c.a.o.f277c) { a aVar7 = this.j; if (aVar7 == null) { this.j = new p(cVar, 100); @@ -187,8 +187,8 @@ public class o { c cVar8 = aVar7.e; aVar7.e = cVar; return true; - } else if (t != c.c.a.o.f288y || (aVar2 = this.m) == null) { - if (t != c.c.a.o.f289z || (aVar = this.n) == null) { + } else if (t != c.c.a.o.f280y || (aVar2 = this.m) == null) { + if (t != c.c.a.o.f281z || (aVar = this.n) == null) { if (t == c.c.a.o.m && (cVar3 = this.k) != null) { if (cVar3 == null) { this.k = new c(Collections.singletonList(new c.c.a.c0.a(Float.valueOf(0.0f)))); @@ -269,7 +269,7 @@ public class o { fArr2[3] = (float) Math.tan(Math.toRadians((double) this.k.j())); fArr2[4] = 1.0f; fArr2[8] = 1.0f; - this.f312c.setValues(fArr2); + this.f302c.setValues(fArr2); d(); float[] fArr3 = this.e; fArr3[0] = cos; @@ -278,8 +278,8 @@ public class o { fArr3[4] = cos; fArr3[8] = 1.0f; this.d.setValues(fArr3); - this.f312c.preConcat(this.b); - this.d.preConcat(this.f312c); + this.f302c.preConcat(this.b); + this.d.preConcat(this.f302c); this.a.preConcat(this.d); } a aVar3 = this.h; diff --git a/app/src/main/java/c/c/a/x/a.java b/app/src/main/java/c/c/a/x/a.java index ae21d65234..eaf5a565b0 100644 --- a/app/src/main/java/c/c/a/x/a.java +++ b/app/src/main/java/c/c/a/x/a.java @@ -14,7 +14,7 @@ public class a { public final Map, Typeface> b = new HashMap(); /* renamed from: c reason: collision with root package name */ - public final Map f313c = new HashMap(); + public final Map f303c = new HashMap(); public final AssetManager d; public String e = ".ttf"; diff --git a/app/src/main/java/c/c/a/x/b.java b/app/src/main/java/c/c/a/x/b.java index e300a101ed..7521cf051b 100644 --- a/app/src/main/java/c/c/a/x/b.java +++ b/app/src/main/java/c/c/a/x/b.java @@ -18,17 +18,17 @@ public class b { public final Context b; /* renamed from: c reason: collision with root package name */ - public String f314c; + public String f304c; @Nullable public c.c.a.b d; public final Map e; public b(Drawable.Callback callback, String str, c.c.a.b bVar, Map map) { - this.f314c = str; + this.f304c = str; if (!TextUtils.isEmpty(str)) { - String str2 = this.f314c; + String str2 = this.f304c; if (str2.charAt(str2.length() - 1) != '/') { - this.f314c = a.F(new StringBuilder(), this.f314c, MentionUtilsKt.SLASH_CHAR); + this.f304c = a.G(new StringBuilder(), this.f304c, MentionUtilsKt.SLASH_CHAR); } } if (!(callback instanceof View)) { diff --git a/app/src/main/java/c/c/a/y/a.java b/app/src/main/java/c/c/a/y/a.java index f828a26cdf..4f0961a37a 100644 --- a/app/src/main/java/c/c/a/y/a.java +++ b/app/src/main/java/c/c/a/y/a.java @@ -9,17 +9,17 @@ public class a { public final PointF b; /* renamed from: c reason: collision with root package name */ - public final PointF f315c; + public final PointF f305c; public a() { this.a = new PointF(); this.b = new PointF(); - this.f315c = new PointF(); + this.f305c = new PointF(); } public a(PointF pointF, PointF pointF2, PointF pointF3) { this.a = pointF; this.b = pointF2; - this.f315c = pointF3; + this.f305c = pointF3; } } diff --git a/app/src/main/java/c/c/a/y/b.java b/app/src/main/java/c/c/a/y/b.java index 58057e04fe..fc61cbd848 100644 --- a/app/src/main/java/c/c/a/y/b.java +++ b/app/src/main/java/c/c/a/y/b.java @@ -21,7 +21,7 @@ public /* synthetic */ class b { public static /* synthetic */ int[] b; /* renamed from: c reason: collision with root package name */ - public static /* synthetic */ int[] f316c; + public static /* synthetic */ int[] f306c; public static /* synthetic */ int[] d; public static /* synthetic */ int[] e; public static /* synthetic */ int[] f; @@ -36,25 +36,23 @@ public /* synthetic */ class b { public static /* synthetic */ int[] o; public static /* synthetic */ int[] p; public static /* synthetic */ int[] q; + public static /* synthetic */ int[] r; - /* renamed from: r reason: collision with root package name */ - public static /* synthetic */ int[] f317r; - public static /* synthetic */ int[] s; + /* renamed from: s reason: collision with root package name */ + public static /* synthetic */ int[] f307s; public static /* synthetic */ int[] t; public static /* synthetic */ int[] u; public static /* synthetic */ int[] v; - - /* renamed from: w reason: collision with root package name */ - public static /* synthetic */ int[] f318w; + public static /* synthetic */ int[] w; /* renamed from: x reason: collision with root package name */ - public static /* synthetic */ int[] f319x; + public static /* synthetic */ int[] f308x; /* renamed from: y reason: collision with root package name */ - public static /* synthetic */ int[] f320y; + public static /* synthetic */ int[] f309y; /* renamed from: z reason: collision with root package name */ - public static /* synthetic */ int[] f321z; + public static /* synthetic */ int[] f310z; public static synchronized /* synthetic */ int[] a() { int[] iArr; @@ -138,10 +136,10 @@ public /* synthetic */ class b { public static synchronized /* synthetic */ int[] f() { int[] iArr; synchronized (b.class) { - if (f318w == null) { - f318w = i(13); + if (w == null) { + w = i(13); } - iArr = f318w; + iArr = w; } return iArr; } diff --git a/app/src/main/java/c/c/a/y/c.java b/app/src/main/java/c/c/a/y/c.java index cfe3c998aa..71cd02044a 100644 --- a/app/src/main/java/c/c/a/y/c.java +++ b/app/src/main/java/c/c/a/y/c.java @@ -10,7 +10,7 @@ public class c { public final String b; /* renamed from: c reason: collision with root package name */ - public final float f322c; + public final float f311c; public final int d; public final int e; public final float f; @@ -25,7 +25,7 @@ public class c { public c(String str, String str2, float f, int i, int i2, float f2, float f3, @ColorInt int i3, @ColorInt int i4, float f4, boolean z2) { this.a = str; this.b = str2; - this.f322c = f; + this.f311c = f; this.d = i; this.e = i2; this.f = f2; @@ -38,7 +38,7 @@ public class c { public int hashCode() { String str = this.b; - int h = ((b.h(this.d) + (((int) (((float) a.m(str, this.a.hashCode() * 31, 31)) + this.f322c)) * 31)) * 31) + this.e; + int h = ((b.h(this.d) + (((int) (((float) a.m(str, this.a.hashCode() * 31, 31)) + this.f311c)) * 31)) * 31) + this.e; long floatToRawIntBits = (long) Float.floatToRawIntBits(this.f); return (((h * 31) + ((int) (floatToRawIntBits ^ (floatToRawIntBits >>> 32)))) * 31) + this.h; } diff --git a/app/src/main/java/c/c/a/y/d.java b/app/src/main/java/c/c/a/y/d.java index 3883eb17b0..55ad533968 100644 --- a/app/src/main/java/c/c/a/y/d.java +++ b/app/src/main/java/c/c/a/y/d.java @@ -8,11 +8,11 @@ public class d { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f323c; + public final String f312c; public d(String str, String str2, String str3, float f) { this.a = str; this.b = str2; - this.f323c = str3; + this.f312c = str3; } } diff --git a/app/src/main/java/c/c/a/y/e.java b/app/src/main/java/c/c/a/y/e.java index 4cdcf743d6..e9ffde9a37 100644 --- a/app/src/main/java/c/c/a/y/e.java +++ b/app/src/main/java/c/c/a/y/e.java @@ -11,14 +11,14 @@ public class e { public final char b; /* renamed from: c reason: collision with root package name */ - public final double f324c; + public final double f313c; public final String d; public final String e; public e(List list, char c2, double d, double d2, String str, String str2) { this.a = list; this.b = c2; - this.f324c = d2; + this.f313c = d2; this.d = str; this.e = str2; } diff --git a/app/src/main/java/c/c/a/y/f.java b/app/src/main/java/c/c/a/y/f.java index cdb70a388e..98f4f9bc23 100644 --- a/app/src/main/java/c/c/a/y/f.java +++ b/app/src/main/java/c/c/a/y/f.java @@ -14,11 +14,11 @@ public class f { @Nullable /* renamed from: c reason: collision with root package name */ - public g f325c; + public g f314c; public f(f fVar) { this.b = new ArrayList(fVar.b); - this.f325c = fVar.f325c; + this.f314c = fVar.f314c; } public f(String... strArr) { @@ -91,16 +91,16 @@ public class f { @RestrictTo({RestrictTo.Scope.LIBRARY}) public f g(g gVar) { f fVar = new f(this); - fVar.f325c = gVar; + fVar.f314c = gVar; return fVar; } public String toString() { - StringBuilder O = a.O("KeyPath{keys="); - O.append(this.b); - O.append(",resolved="); - O.append(this.f325c != null); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("KeyPath{keys="); + R.append(this.b); + R.append(",resolved="); + R.append(this.f314c != null); + R.append('}'); + return R.toString(); } } diff --git a/app/src/main/java/c/c/a/y/i.java b/app/src/main/java/c/c/a/y/i.java index cc1629b68a..d97775ae78 100644 --- a/app/src/main/java/c/c/a/y/i.java +++ b/app/src/main/java/c/c/a/y/i.java @@ -5,11 +5,11 @@ public class i { public final float b; /* renamed from: c reason: collision with root package name */ - public final float f326c; + public final float f315c; public i(String str, float f, float f2) { this.a = str; - this.f326c = f2; + this.f315c = f2; this.b = f; } } diff --git a/app/src/main/java/c/c/a/y/j.java b/app/src/main/java/c/c/a/y/j.java index 318bb94e70..411d3e1306 100644 --- a/app/src/main/java/c/c/a/y/j.java +++ b/app/src/main/java/c/c/a/y/j.java @@ -22,9 +22,9 @@ public class j { if (!(f == obj2 || (f != 0 && f.equals(obj2)))) { return false; } - S s = pair.second; + S s2 = pair.second; Object obj3 = this.b; - return s == obj3 || (s != 0 && s.equals(obj3)); + return s2 == obj3 || (s2 != 0 && s2.equals(obj3)); } public int hashCode() { @@ -39,11 +39,11 @@ public class j { } public String toString() { - StringBuilder O = a.O("Pair{"); - O.append(String.valueOf(this.a)); - O.append(" "); - O.append(String.valueOf(this.b)); - O.append("}"); - return O.toString(); + StringBuilder R = a.R("Pair{"); + R.append(String.valueOf(this.a)); + R.append(" "); + R.append(String.valueOf(this.b)); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/c/a/y/k/k.java b/app/src/main/java/c/c/a/y/k/k.java index c556ca9c4a..d9daa73b2e 100644 --- a/app/src/main/java/c/c/a/y/k/k.java +++ b/app/src/main/java/c/c/a/y/k/k.java @@ -10,14 +10,14 @@ public class k { @Nullable /* renamed from: c reason: collision with root package name */ - public final b f327c; + public final b f316c; @Nullable public final b d; public k(@Nullable a aVar, @Nullable a aVar2, @Nullable b bVar, @Nullable b bVar2) { this.a = aVar; this.b = aVar2; - this.f327c = bVar; + this.f316c = bVar; this.d = bVar2; } } diff --git a/app/src/main/java/c/c/a/y/k/l.java b/app/src/main/java/c/c/a/y/k/l.java index dadbb0ccbd..f3a3490d7c 100644 --- a/app/src/main/java/c/c/a/y/k/l.java +++ b/app/src/main/java/c/c/a/y/k/l.java @@ -14,7 +14,7 @@ public class l implements b { @Nullable /* renamed from: c reason: collision with root package name */ - public final g f328c; + public final g f317c; @Nullable public final b d; @Nullable @@ -35,7 +35,7 @@ public class l implements b { public l(@Nullable e eVar, @Nullable m mVar, @Nullable g gVar, @Nullable b bVar, @Nullable d dVar, @Nullable b bVar2, @Nullable b bVar3, @Nullable b bVar4, @Nullable b bVar5) { this.a = eVar; this.b = mVar; - this.f328c = gVar; + this.f317c = gVar; this.d = bVar; this.e = dVar; this.h = bVar2; diff --git a/app/src/main/java/c/c/a/y/l/a.java b/app/src/main/java/c/c/a/y/l/a.java index d6b9555ef3..36dfedfed5 100644 --- a/app/src/main/java/c/c/a/y/l/a.java +++ b/app/src/main/java/c/c/a/y/l/a.java @@ -12,14 +12,14 @@ public class a implements b { public final m b; /* renamed from: c reason: collision with root package name */ - public final f f329c; + public final f f318c; public final boolean d; public final boolean e; public a(String str, m mVar, f fVar, boolean z2, boolean z3) { this.a = str; this.b = mVar; - this.f329c = fVar; + this.f318c = fVar; this.d = z2; this.e = z3; } diff --git a/app/src/main/java/c/c/a/y/l/d.java b/app/src/main/java/c/c/a/y/l/d.java index c568ab226d..fe2dc0e60e 100644 --- a/app/src/main/java/c/c/a/y/l/d.java +++ b/app/src/main/java/c/c/a/y/l/d.java @@ -12,7 +12,7 @@ public class d implements b { public final Path.FillType b; /* renamed from: c reason: collision with root package name */ - public final c f330c; + public final c f319c; public final c.c.a.y.k.d d; public final f e; public final f f; @@ -22,7 +22,7 @@ public class d implements b { public d(String str, int i, Path.FillType fillType, c cVar, c.c.a.y.k.d dVar, f fVar, f fVar2, b bVar, b bVar2, boolean z2) { this.a = i; this.b = fillType; - this.f330c = cVar; + this.f319c = cVar; this.d = dVar; this.e = fVar; this.f = fVar2; diff --git a/app/src/main/java/c/c/a/y/l/e.java b/app/src/main/java/c/c/a/y/l/e.java index ab147e35dd..78a548e867 100644 --- a/app/src/main/java/c/c/a/y/l/e.java +++ b/app/src/main/java/c/c/a/y/l/e.java @@ -14,7 +14,7 @@ public class e implements b { public final int b; /* renamed from: c reason: collision with root package name */ - public final c f331c; + public final c f320c; public final d d; public final f e; public final f f; @@ -31,7 +31,7 @@ public class e implements b { public e(String str, int i, c cVar, d dVar, f fVar, f fVar2, b bVar, int i2, int i3, float f, List list, @Nullable b bVar2, boolean z2) { this.a = str; this.b = i; - this.f331c = cVar; + this.f320c = cVar; this.d = dVar; this.e = fVar; this.f = fVar2; diff --git a/app/src/main/java/c/c/a/y/l/f.java b/app/src/main/java/c/c/a/y/l/f.java index c9b57a568c..4a9366a59a 100644 --- a/app/src/main/java/c/c/a/y/l/f.java +++ b/app/src/main/java/c/c/a/y/l/f.java @@ -8,13 +8,13 @@ public class f { public final h b; /* renamed from: c reason: collision with root package name */ - public final d f332c; + public final d f321c; public final boolean d; public f(int i, h hVar, d dVar, boolean z2) { this.a = i; this.b = hVar; - this.f332c = dVar; + this.f321c = dVar; this.d = z2; } } diff --git a/app/src/main/java/c/c/a/y/l/g.java b/app/src/main/java/c/c/a/y/l/g.java index fef877ee4d..02d8a0964f 100644 --- a/app/src/main/java/c/c/a/y/l/g.java +++ b/app/src/main/java/c/c/a/y/l/g.java @@ -11,7 +11,7 @@ public class g implements b { public final a b; /* renamed from: c reason: collision with root package name */ - public final boolean f333c; + public final boolean f322c; /* compiled from: MergePaths */ public enum a { @@ -25,7 +25,7 @@ public class g implements b { public g(String str, a aVar, boolean z2) { this.a = str; this.b = aVar; - this.f333c = z2; + this.f322c = z2; } @Override // c.c.a.y.l.b @@ -39,9 +39,9 @@ public class g implements b { } public String toString() { - StringBuilder O = c.d.b.a.a.O("MergePaths{mode="); - O.append(this.b); - O.append('}'); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("MergePaths{mode="); + R.append(this.b); + R.append('}'); + return R.toString(); } } diff --git a/app/src/main/java/c/c/a/y/l/h.java b/app/src/main/java/c/c/a/y/l/h.java index 12983ebdbf..eea11685d0 100644 --- a/app/src/main/java/c/c/a/y/l/h.java +++ b/app/src/main/java/c/c/a/y/l/h.java @@ -12,7 +12,7 @@ public class h implements b { public final a b; /* renamed from: c reason: collision with root package name */ - public final b f334c; + public final b f323c; public final m d; public final b e; public final b f; @@ -47,7 +47,7 @@ public class h implements b { public h(String str, a aVar, b bVar, m mVar, b bVar2, b bVar3, b bVar4, b bVar5, b bVar6, boolean z2) { this.a = str; this.b = aVar; - this.f334c = bVar; + this.f323c = bVar; this.d = mVar; this.e = bVar2; this.f = bVar3; diff --git a/app/src/main/java/c/c/a/y/l/i.java b/app/src/main/java/c/c/a/y/l/i.java index dbf18c627d..a4b81f415e 100644 --- a/app/src/main/java/c/c/a/y/l/i.java +++ b/app/src/main/java/c/c/a/y/l/i.java @@ -14,14 +14,14 @@ public class i implements b { public final m b; /* renamed from: c reason: collision with root package name */ - public final f f335c; + public final f f324c; public final b d; public final boolean e; public i(String str, m mVar, f fVar, b bVar, boolean z2) { this.a = str; this.b = mVar; - this.f335c = fVar; + this.f324c = fVar; this.d = bVar; this.e = z2; } @@ -32,11 +32,11 @@ public class i implements b { } public String toString() { - StringBuilder O = a.O("RectangleShape{position="); - O.append(this.b); - O.append(", size="); - O.append(this.f335c); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("RectangleShape{position="); + R.append(this.b); + R.append(", size="); + R.append(this.f324c); + R.append('}'); + return R.toString(); } } diff --git a/app/src/main/java/c/c/a/y/l/j.java b/app/src/main/java/c/c/a/y/l/j.java index c0bcf2ee16..5d367e3f6f 100644 --- a/app/src/main/java/c/c/a/y/l/j.java +++ b/app/src/main/java/c/c/a/y/l/j.java @@ -11,14 +11,14 @@ public class j implements b { public final b b; /* renamed from: c reason: collision with root package name */ - public final b f336c; + public final b f325c; public final l d; public final boolean e; public j(String str, b bVar, b bVar2, l lVar, boolean z2) { this.a = str; this.b = bVar; - this.f336c = bVar2; + this.f325c = bVar2; this.d = lVar; this.e = z2; } diff --git a/app/src/main/java/c/c/a/y/l/k.java b/app/src/main/java/c/c/a/y/l/k.java index 53e4f2b980..998a28e426 100644 --- a/app/src/main/java/c/c/a/y/l/k.java +++ b/app/src/main/java/c/c/a/y/l/k.java @@ -10,7 +10,7 @@ public class k { public PointF b; /* renamed from: c reason: collision with root package name */ - public boolean f337c; + public boolean f326c; public k() { this.a = new ArrayList(); @@ -18,16 +18,16 @@ public class k { public k(PointF pointF, boolean z2, List list) { this.b = pointF; - this.f337c = z2; + this.f326c = z2; this.a = new ArrayList(list); } public String toString() { - StringBuilder O = c.d.b.a.a.O("ShapeData{numCurves="); - O.append(this.a.size()); - O.append("closed="); - O.append(this.f337c); - O.append('}'); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("ShapeData{numCurves="); + R.append(this.a.size()); + R.append("closed="); + R.append(this.f326c); + R.append('}'); + return R.toString(); } } diff --git a/app/src/main/java/c/c/a/y/l/l.java b/app/src/main/java/c/c/a/y/l/l.java index f34f3be059..a2d92541a2 100644 --- a/app/src/main/java/c/c/a/y/l/l.java +++ b/app/src/main/java/c/c/a/y/l/l.java @@ -14,7 +14,7 @@ public class l implements b { public final Path.FillType b; /* renamed from: c reason: collision with root package name */ - public final String f338c; + public final String f327c; @Nullable public final a d; @Nullable @@ -22,7 +22,7 @@ public class l implements b { public final boolean f; public l(String str, boolean z2, Path.FillType fillType, @Nullable a aVar, @Nullable d dVar, boolean z3) { - this.f338c = str; + this.f327c = str; this.a = z2; this.b = fillType; this.d = aVar; @@ -36,9 +36,9 @@ public class l implements b { } public String toString() { - StringBuilder O = c.d.b.a.a.O("ShapeFill{color=, fillEnabled="); - O.append(this.a); - O.append('}'); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("ShapeFill{color=, fillEnabled="); + R.append(this.a); + R.append('}'); + return R.toString(); } } diff --git a/app/src/main/java/c/c/a/y/l/m.java b/app/src/main/java/c/c/a/y/l/m.java index d84f4662e9..d8c5e3e382 100644 --- a/app/src/main/java/c/c/a/y/l/m.java +++ b/app/src/main/java/c/c/a/y/l/m.java @@ -13,12 +13,12 @@ public class m implements b { public final List b; /* renamed from: c reason: collision with root package name */ - public final boolean f339c; + public final boolean f328c; public m(String str, List list, boolean z2) { this.a = str; this.b = list; - this.f339c = z2; + this.f328c = z2; } @Override // c.c.a.y.l.b @@ -27,11 +27,11 @@ public class m implements b { } public String toString() { - StringBuilder O = a.O("ShapeGroup{name='"); - O.append(this.a); - O.append("' Shapes: "); - O.append(Arrays.toString(this.b.toArray())); - O.append('}'); - return O.toString(); + StringBuilder R = a.R("ShapeGroup{name='"); + R.append(this.a); + R.append("' Shapes: "); + R.append(Arrays.toString(this.b.toArray())); + R.append('}'); + return R.toString(); } } diff --git a/app/src/main/java/c/c/a/y/l/n.java b/app/src/main/java/c/c/a/y/l/n.java index b54718a791..f42aaa92a0 100644 --- a/app/src/main/java/c/c/a/y/l/n.java +++ b/app/src/main/java/c/c/a/y/l/n.java @@ -12,13 +12,13 @@ public class n implements b { public final int b; /* renamed from: c reason: collision with root package name */ - public final h f340c; + public final h f329c; public final boolean d; public n(String str, int i, h hVar, boolean z2) { this.a = str; this.b = i; - this.f340c = hVar; + this.f329c = hVar; this.d = z2; } @@ -28,9 +28,9 @@ public class n implements b { } public String toString() { - StringBuilder O = a.O("ShapePath{name="); - O.append(this.a); - O.append(", index="); - return a.y(O, this.b, '}'); + StringBuilder R = a.R("ShapePath{name="); + R.append(this.a); + R.append(", index="); + return a.z(R, this.b, '}'); } } diff --git a/app/src/main/java/c/c/a/y/l/o.java b/app/src/main/java/c/c/a/y/l/o.java index c8188d1652..cfe9d73817 100644 --- a/app/src/main/java/c/c/a/y/l/o.java +++ b/app/src/main/java/c/c/a/y/l/o.java @@ -15,7 +15,7 @@ public class o implements b { public final b b; /* renamed from: c reason: collision with root package name */ - public final List f341c; + public final List f330c; public final a d; public final d e; public final b f; @@ -28,7 +28,7 @@ public class o implements b { public o(String str, @Nullable b bVar, List list, a aVar, d dVar, b bVar2, int i, int i2, float f, boolean z2) { this.a = str; this.b = bVar; - this.f341c = list; + this.f330c = list; this.d = aVar; this.e = dVar; this.f = bVar2; diff --git a/app/src/main/java/c/c/a/y/l/p.java b/app/src/main/java/c/c/a/y/l/p.java index 27e276f46f..64ce487502 100644 --- a/app/src/main/java/c/c/a/y/l/p.java +++ b/app/src/main/java/c/c/a/y/l/p.java @@ -11,7 +11,7 @@ public class p implements b { public final int b; /* renamed from: c reason: collision with root package name */ - public final b f342c; + public final b f331c; public final b d; public final b e; public final boolean f; @@ -19,7 +19,7 @@ public class p implements b { public p(String str, int i, b bVar, b bVar2, b bVar3, boolean z2) { this.a = str; this.b = i; - this.f342c = bVar; + this.f331c = bVar; this.d = bVar2; this.e = bVar3; this.f = z2; @@ -31,13 +31,13 @@ public class p implements b { } public String toString() { - StringBuilder O = a.O("Trim Path: {start: "); - O.append(this.f342c); - O.append(", end: "); - O.append(this.d); - O.append(", offset: "); - O.append(this.e); - O.append("}"); - return O.toString(); + StringBuilder R = a.R("Trim Path: {start: "); + R.append(this.f331c); + R.append(", end: "); + R.append(this.d); + R.append(", offset: "); + R.append(this.e); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/c/a/y/m/a.java b/app/src/main/java/c/c/a/y/m/a.java index 654ce2e873..5acbe8a4ff 100644 --- a/app/src/main/java/c/c/a/y/m/a.java +++ b/app/src/main/java/c/c/a/y/m/a.java @@ -13,8 +13,8 @@ public class a implements a.b { public void a() { b bVar = this.a; boolean z2 = bVar.q.j() == 1.0f; - if (z2 != bVar.f345w) { - bVar.f345w = z2; + if (z2 != bVar.w) { + bVar.w = z2; bVar.n.invalidateSelf(); } } diff --git a/app/src/main/java/c/c/a/y/m/b.java b/app/src/main/java/c/c/a/y/m/b.java index 4e1fac1a29..0e9336e6b3 100644 --- a/app/src/main/java/c/c/a/y/m/b.java +++ b/app/src/main/java/c/c/a/y/m/b.java @@ -34,7 +34,7 @@ public abstract class b implements e, a.b, g { public final Matrix b = new Matrix(); /* renamed from: c reason: collision with root package name */ - public final Paint f343c; + public final Paint f332c; public final Paint d; public final Paint e; public final Paint f; @@ -52,21 +52,19 @@ public abstract class b implements e, a.b, g { @Nullable public c q; @Nullable - - /* renamed from: r reason: collision with root package name */ - public b f344r; + public b r; @Nullable - public b s; + + /* renamed from: s reason: collision with root package name */ + public b f333s; public List t; public final List> u; public final o v; - - /* renamed from: w reason: collision with root package name */ - public boolean f345w; + public boolean w; public b(j jVar, e eVar) { boolean z2 = true; - this.f343c = new c.c.a.w.a(1); + this.f332c = new c.c.a.w.a(1); this.d = new c.c.a.w.a(1, PorterDuff.Mode.DST_IN); this.e = new c.c.a.w.a(1, PorterDuff.Mode.DST_OUT); c.c.a.w.a aVar = new c.c.a.w.a(1); @@ -78,10 +76,10 @@ public abstract class b implements e, a.b, g { this.k = new RectF(); this.m = new Matrix(); this.u = new ArrayList(); - this.f345w = true; + this.w = true; this.n = jVar; this.o = eVar; - this.l = c.d.b.a.a.G(new StringBuilder(), eVar.f352c, "#draw"); + this.l = c.d.b.a.a.H(new StringBuilder(), eVar.f340c, "#draw"); if (eVar.u == 3) { aVar.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.DST_OUT)); } else { @@ -127,15 +125,15 @@ public abstract class b implements e, a.b, g { @Override // c.c.a.y.g public void c(c.c.a.y.f fVar, int i, List list, c.c.a.y.f fVar2) { - if (fVar.e(this.o.f352c, i)) { - if (!"__container".equals(this.o.f352c)) { - fVar2 = fVar2.a(this.o.f352c); - if (fVar.c(this.o.f352c, i)) { + if (fVar.e(this.o.f340c, i)) { + if (!"__container".equals(this.o.f340c)) { + fVar2 = fVar2.a(this.o.f340c); + if (fVar.c(this.o.f340c, i)) { list.add(fVar2.g(this)); } } - if (fVar.f(this.o.f352c, i)) { - n(fVar, fVar.d(this.o.f352c, i) + i, list, fVar2); + if (fVar.f(this.o.f340c, i)) { + n(fVar, fVar.d(this.o.f340c, i) + i, list, fVar2); } } } @@ -153,7 +151,7 @@ public abstract class b implements e, a.b, g { this.m.preConcat(this.t.get(size).v.e()); } } else { - b bVar = this.s; + b bVar = this.f333s; if (bVar != null) { this.m.preConcat(bVar.v.e()); } @@ -176,7 +174,7 @@ public abstract class b implements e, a.b, g { public void f(Canvas canvas, Matrix matrix, int i) { boolean z2; String str = this.l; - if (!this.f345w || this.o.v) { + if (!this.w || this.o.v) { c.c.a.c.a(str); return; } @@ -198,7 +196,7 @@ public abstract class b implements e, a.b, g { int i3 = 3; if (l() && this.o.u != 3) { this.j.set(0.0f, 0.0f, 0.0f, 0.0f); - this.f344r.d(this.j, matrix, true); + this.r.d(this.j, matrix, true); if (!rectF.intersect(this.j)) { rectF.set(0.0f, 0.0f, 0.0f, 0.0f); } @@ -209,11 +207,11 @@ public abstract class b implements e, a.b, g { this.i.set(0.0f, 0.0f, 0.0f, 0.0f); int i4 = 2; if (k()) { - int size2 = this.p.f311c.size(); + int size2 = this.p.f301c.size(); int i5 = 0; while (true) { if (i5 < size2) { - f fVar = this.p.f311c.get(i5); + f fVar = this.p.f301c.get(i5); this.a.set(this.p.a.get(i5).e()); this.a.transform(matrix2); int h = c.c.a.y.b.h(fVar.a); @@ -259,8 +257,8 @@ public abstract class b implements e, a.b, g { } c.c.a.c.a("Layer#computeBounds"); if (!this.h.isEmpty()) { - this.f343c.setAlpha(255); - c.c.a.b0.g.f(canvas, this.h, this.f343c, 31); + this.f332c.setAlpha(255); + c.c.a.b0.g.f(canvas, this.h, this.f332c, 31); c.c.a.c.a("Layer#saveLayer"); i(canvas); j(canvas, this.b, intValue); @@ -273,21 +271,21 @@ public abstract class b implements e, a.b, g { } c.c.a.c.a("Layer#saveLayer"); int i6 = 0; - while (i6 < this.p.f311c.size()) { - f fVar2 = this.p.f311c.get(i6); + while (i6 < this.p.f301c.size()) { + f fVar2 = this.p.f301c.get(i6); a aVar2 = this.p.a.get(i6); a aVar3 = this.p.b.get(i6); int h2 = c.c.a.y.b.h(fVar2.a); if (h2 != 0) { if (h2 == i2) { if (i6 == 0) { - this.f343c.setColor(ViewCompat.MEASURED_STATE_MASK); - this.f343c.setAlpha(255); - canvas.drawRect(this.h, this.f343c); + this.f332c.setColor(ViewCompat.MEASURED_STATE_MASK); + this.f332c.setAlpha(255); + canvas.drawRect(this.h, this.f332c); } if (fVar2.d) { c.c.a.b0.g.f(canvas, this.h, this.e, 31); - canvas.drawRect(this.h, this.f343c); + canvas.drawRect(this.h, this.f332c); this.e.setAlpha((int) (((float) aVar3.e().intValue()) * 2.55f)); this.a.set(aVar2.e()); this.a.transform(matrix3); @@ -303,18 +301,18 @@ public abstract class b implements e, a.b, g { if (!this.p.a.isEmpty()) { int i7 = 0; while (true) { - if (i7 >= this.p.f311c.size()) { + if (i7 >= this.p.f301c.size()) { z2 = true; break; - } else if (this.p.f311c.get(i7).a != 4) { + } else if (this.p.f301c.get(i7).a != 4) { break; } else { i7++; } } if (!z2) { - this.f343c.setAlpha(255); - canvas.drawRect(this.h, this.f343c); + this.f332c.setAlpha(255); + canvas.drawRect(this.h, this.f332c); } } z2 = false; @@ -323,7 +321,7 @@ public abstract class b implements e, a.b, g { } } else if (fVar2.d) { c.c.a.b0.g.f(canvas, this.h, this.d, 31); - canvas.drawRect(this.h, this.f343c); + canvas.drawRect(this.h, this.f332c); this.e.setAlpha((int) (((float) aVar3.e().intValue()) * 2.55f)); this.a.set(aVar2.e()); this.a.transform(matrix3); @@ -333,23 +331,23 @@ public abstract class b implements e, a.b, g { c.c.a.b0.g.f(canvas, this.h, this.d, 31); this.a.set(aVar2.e()); this.a.transform(matrix3); - this.f343c.setAlpha((int) (((float) aVar3.e().intValue()) * 2.55f)); - canvas.drawPath(this.a, this.f343c); + this.f332c.setAlpha((int) (((float) aVar3.e().intValue()) * 2.55f)); + canvas.drawPath(this.a, this.f332c); canvas.restore(); } } else if (fVar2.d) { - c.c.a.b0.g.f(canvas, this.h, this.f343c, 31); - canvas.drawRect(this.h, this.f343c); + c.c.a.b0.g.f(canvas, this.h, this.f332c, 31); + canvas.drawRect(this.h, this.f332c); this.a.set(aVar2.e()); this.a.transform(matrix3); - this.f343c.setAlpha((int) (((float) aVar3.e().intValue()) * 2.55f)); + this.f332c.setAlpha((int) (((float) aVar3.e().intValue()) * 2.55f)); canvas.drawPath(this.a, this.e); canvas.restore(); } else { this.a.set(aVar2.e()); this.a.transform(matrix3); - this.f343c.setAlpha((int) (((float) aVar3.e().intValue()) * 2.55f)); - canvas.drawPath(this.a, this.f343c); + this.f332c.setAlpha((int) (((float) aVar3.e().intValue()) * 2.55f)); + canvas.drawPath(this.a, this.f332c); } i6++; i2 = 1; @@ -361,7 +359,7 @@ public abstract class b implements e, a.b, g { c.c.a.b0.g.f(canvas, this.h, this.f, 19); c.c.a.c.a("Layer#saveLayer"); i(canvas); - this.f344r.f(canvas, matrix, intValue); + this.r.f(canvas, matrix, intValue); canvas.restore(); c.c.a.c.a("Layer#restoreLayer"); c.c.a.c.a("Layer#drawMatte"); @@ -388,17 +386,17 @@ public abstract class b implements e, a.b, g { @Override // c.c.a.w.b.c public String getName() { - return this.o.f352c; + return this.o.f340c; } public final void h() { if (this.t == null) { - if (this.s == null) { + if (this.f333s == null) { this.t = Collections.emptyList(); return; } this.t = new ArrayList(); - for (b bVar = this.s; bVar != null; bVar = bVar.s) { + for (b bVar = this.f333s; bVar != null; bVar = bVar.f333s) { this.t.add(bVar); } } @@ -418,17 +416,17 @@ public abstract class b implements e, a.b, g { } public boolean l() { - return this.f344r != null; + return this.r != null; } public final void m(float f) { s sVar = this.n.j.a; - String str = this.o.f352c; + String str = this.o.f340c; if (sVar.a) { - c.c.a.b0.e eVar = sVar.f291c.get(str); + c.c.a.b0.e eVar = sVar.f283c.get(str); if (eVar == null) { eVar = new c.c.a.b0.e(); - sVar.f291c.put(str, eVar); + sVar.f283c.put(str, eVar); } float f2 = eVar.a + f; eVar.a = f2; @@ -500,7 +498,7 @@ public abstract class b implements e, a.b, g { if (cVar3 != null) { cVar3.h(f / f2); } - b bVar = this.f344r; + b bVar = this.r; if (bVar != null) { bVar.o(bVar.o.m * f); } @@ -510,8 +508,8 @@ public abstract class b implements e, a.b, g { } public final void p(boolean z2) { - if (z2 != this.f345w) { - this.f345w = z2; + if (z2 != this.w) { + this.w = z2; this.n.invalidateSelf(); } } diff --git a/app/src/main/java/c/c/a/y/m/c.java b/app/src/main/java/c/c/a/y/m/c.java index cbe26a0950..9657c629aa 100644 --- a/app/src/main/java/c/c/a/y/m/c.java +++ b/app/src/main/java/c/c/a/y/m/c.java @@ -24,27 +24,27 @@ public class c extends b { @Nullable /* renamed from: x reason: collision with root package name */ - public a f346x; + public a f334x; /* renamed from: y reason: collision with root package name */ - public final List f347y = new ArrayList(); + public final List f335y = new ArrayList(); /* renamed from: z reason: collision with root package name */ - public final RectF f348z = new RectF(); + public final RectF f336z = new RectF(); public c(j jVar, e eVar, List list, d dVar) { super(jVar, eVar); int i; b bVar; b bVar2; - b bVar3 = eVar.s; + b bVar3 = eVar.f341s; if (bVar3 != null) { a a = bVar3.a(); - this.f346x = a; + this.f334x = a; e(a); - this.f346x.a.add(this); + this.f334x.a.add(this); } else { - this.f346x = null; + this.f334x = null; } LongSparseArray longSparseArray = new LongSparseArray(dVar.i.size()); int size = list.size() - 1; @@ -56,7 +56,7 @@ public class c extends b { e eVar2 = list.get(size); int ordinal = eVar2.e.ordinal(); if (ordinal == 0) { - bVar2 = new c(jVar, eVar2, dVar.f275c.get(eVar2.g), dVar); + bVar2 = new c(jVar, eVar2, dVar.f269c.get(eVar2.g), dVar); } else if (ordinal == 1) { bVar2 = new h(jVar, eVar2); } else if (ordinal == 2) { @@ -66,9 +66,9 @@ public class c extends b { } else if (ordinal == 4) { bVar2 = new g(jVar, eVar2); } else if (ordinal != 5) { - StringBuilder O = c.d.b.a.a.O("Unknown layer type "); - O.append(eVar2.e); - c.c.a.b0.c.b(O.toString()); + StringBuilder R = c.d.b.a.a.R("Unknown layer type "); + R.append(eVar2.e); + c.c.a.b0.c.b(R.toString()); bVar2 = null; } else { bVar2 = new i(jVar, eVar2); @@ -76,10 +76,10 @@ public class c extends b { if (bVar2 != null) { longSparseArray.put(bVar2.o.d, bVar2); if (bVar4 != null) { - bVar4.f344r = bVar2; + bVar4.r = bVar2; bVar4 = null; } else { - this.f347y.add(0, bVar2); + this.f335y.add(0, bVar2); int h = c.c.a.y.b.h(eVar2.u); if (h == 1 || h == 2) { bVar4 = bVar2; @@ -91,7 +91,7 @@ public class c extends b { for (i = 0; i < longSparseArray.size(); i++) { b bVar5 = (b) longSparseArray.get(longSparseArray.keyAt(i)); if (!(bVar5 == null || (bVar = (b) longSparseArray.get(bVar5.o.f)) == null)) { - bVar5.s = bVar; + bVar5.f333s = bVar; } } } @@ -99,10 +99,10 @@ public class c extends b { @Override // c.c.a.y.m.b, c.c.a.w.b.e public void d(RectF rectF, Matrix matrix, boolean z2) { super.d(rectF, matrix, z2); - for (int size = this.f347y.size() - 1; size >= 0; size--) { - this.f348z.set(0.0f, 0.0f, 0.0f, 0.0f); - this.f347y.get(size).d(this.f348z, this.m, true); - rectF.union(this.f348z); + for (int size = this.f335y.size() - 1; size >= 0; size--) { + this.f336z.set(0.0f, 0.0f, 0.0f, 0.0f); + this.f335y.get(size).d(this.f336z, this.m, true); + rectF.union(this.f336z); } } @@ -113,7 +113,7 @@ public class c extends b { return; } if (cVar == null) { - a aVar = this.f346x; + a aVar = this.f334x; if (aVar != null) { aVar.i(null); return; @@ -121,9 +121,9 @@ public class c extends b { return; } p pVar = new p(cVar, null); - this.f346x = pVar; + this.f334x = pVar; pVar.a.add(this); - e(this.f346x); + e(this.f334x); } @Override // c.c.a.y.m.b @@ -132,7 +132,7 @@ public class c extends b { e eVar = this.o; rectF.set(0.0f, 0.0f, (float) eVar.o, (float) eVar.p); matrix.mapRect(this.A); - boolean z2 = this.n.f280z && this.f347y.size() > 1 && i != 255; + boolean z2 = this.n.f273z && this.f335y.size() > 1 && i != 255; if (z2) { this.B.setAlpha(i); g.f(canvas, this.A, this.B, 31); @@ -142,9 +142,9 @@ public class c extends b { if (z2) { i = 255; } - for (int size = this.f347y.size() - 1; size >= 0; size--) { + for (int size = this.f335y.size() - 1; size >= 0; size--) { if (!this.A.isEmpty() ? canvas.clipRect(this.A) : true) { - this.f347y.get(size).f(canvas, matrix, i); + this.f335y.get(size).f(canvas, matrix, i); } } canvas.restore(); @@ -153,18 +153,18 @@ public class c extends b { @Override // c.c.a.y.m.b public void n(f fVar, int i, List list, f fVar2) { - for (int i2 = 0; i2 < this.f347y.size(); i2++) { - this.f347y.get(i2).c(fVar, i, list, fVar2); + for (int i2 = 0; i2 < this.f335y.size(); i2++) { + this.f335y.get(i2).c(fVar, i, list, fVar2); } } @Override // c.c.a.y.m.b public void o(@FloatRange(from = 0.0d, to = 1.0d) float f) { super.o(f); - if (this.f346x != null) { - f = ((this.f346x.e().floatValue() * this.o.b.m) - this.o.b.k) / (this.n.j.c() + 0.01f); + if (this.f334x != null) { + f = ((this.f334x.e().floatValue() * this.o.b.m) - this.o.b.k) / (this.n.j.c() + 0.01f); } - if (this.f346x == null) { + if (this.f334x == null) { e eVar = this.o; f -= eVar.n / eVar.b.c(); } @@ -172,11 +172,11 @@ public class c extends b { if (f2 != 0.0f) { f /= f2; } - int size = this.f347y.size(); + int size = this.f335y.size(); while (true) { size--; if (size >= 0) { - this.f347y.get(size).o(f); + this.f335y.get(size).o(f); } else { return; } diff --git a/app/src/main/java/c/c/a/y/m/d.java b/app/src/main/java/c/c/a/y/m/d.java index 00f806776b..2f0e082edf 100644 --- a/app/src/main/java/c/c/a/y/m/d.java +++ b/app/src/main/java/c/c/a/y/m/d.java @@ -30,13 +30,13 @@ public class d extends b { public a A; /* renamed from: x reason: collision with root package name */ - public final Paint f349x = new c.c.a.w.a(3); + public final Paint f337x = new c.c.a.w.a(3); /* renamed from: y reason: collision with root package name */ - public final Rect f350y = new Rect(); + public final Rect f338y = new Rect(); /* renamed from: z reason: collision with root package name */ - public final Rect f351z = new Rect(); + public final Rect f339z = new Rect(); public d(j jVar, e eVar) { super(jVar, eVar); @@ -70,16 +70,16 @@ public class d extends b { Bitmap q = q(); if (q != null && !q.isRecycled()) { float c2 = g.c(); - this.f349x.setAlpha(i); + this.f337x.setAlpha(i); a aVar = this.A; if (aVar != null) { - this.f349x.setColorFilter(aVar.e()); + this.f337x.setColorFilter(aVar.e()); } canvas.save(); canvas.concat(matrix); - this.f350y.set(0, 0, q.getWidth(), q.getHeight()); - this.f351z.set(0, 0, (int) (((float) q.getWidth()) * c2), (int) (((float) q.getHeight()) * c2)); - canvas.drawBitmap(q, this.f350y, this.f351z, this.f349x); + this.f338y.set(0, 0, q.getWidth(), q.getHeight()); + this.f339z.set(0, 0, (int) (((float) q.getWidth()) * c2), (int) (((float) q.getHeight()) * c2)); + canvas.drawBitmap(q, this.f338y, this.f339z, this.f337x); canvas.restore(); } } @@ -93,18 +93,18 @@ public class d extends b { if (jVar.getCallback() == null) { bVar = null; } else { - b bVar2 = jVar.f276r; + b bVar2 = jVar.r; if (bVar2 != null) { Drawable.Callback callback = jVar.getCallback(); Context context = (callback != null && (callback instanceof View)) ? ((View) callback).getContext() : null; if (!((context == null && bVar2.b == null) || bVar2.b.equals(context))) { - jVar.f276r = null; + jVar.r = null; } } - if (jVar.f276r == null) { - jVar.f276r = new b(jVar.getCallback(), jVar.s, jVar.t, jVar.j.d); + if (jVar.r == null) { + jVar.r = new b(jVar.getCallback(), jVar.f270s, jVar.t, jVar.j.d); } - bVar = jVar.f276r; + bVar = jVar.r; } if (bVar == null || (kVar = bVar.e.get(str)) == null) { return null; @@ -128,8 +128,8 @@ public class d extends b { options.inDensity = 160; if (!str2.startsWith("data:") || str2.indexOf("base64,") <= 0) { try { - if (!TextUtils.isEmpty(bVar.f314c)) { - Bitmap e = g.e(BitmapFactory.decodeStream(bVar.b.getAssets().open(bVar.f314c + str2), null, options), kVar.a, kVar.b); + if (!TextUtils.isEmpty(bVar.f304c)) { + Bitmap e = g.e(BitmapFactory.decodeStream(bVar.b.getAssets().open(bVar.f304c + str2), null, options), kVar.a, kVar.b); bVar.a(str, e); return e; } diff --git a/app/src/main/java/c/c/a/y/m/e.java b/app/src/main/java/c/c/a/y/m/e.java index 871d2803e0..612790f70a 100644 --- a/app/src/main/java/c/c/a/y/m/e.java +++ b/app/src/main/java/c/c/a/y/m/e.java @@ -15,7 +15,7 @@ public class e { public final d b; /* renamed from: c reason: collision with root package name */ - public final String f352c; + public final String f340c; public final long d; public final a e; public final long f; @@ -33,11 +33,11 @@ public class e { @Nullable public final j q; @Nullable - - /* renamed from: r reason: collision with root package name */ - public final k f353r; + public final k r; @Nullable - public final c.c.a.y.k.b s; + + /* renamed from: s reason: collision with root package name */ + public final c.c.a.y.k.b f341s; public final List> t; public final int u; public final boolean v; @@ -57,7 +57,7 @@ public class e { public e(List list, d dVar, String str, long j, a aVar, long j2, @Nullable String str2, List list2, l lVar, int i, int i2, int i3, float f, float f2, int i4, int i5, @Nullable j jVar, @Nullable k kVar, List list3, int i6, @Nullable c.c.a.y.k.b bVar, boolean z2) { this.a = list; this.b = dVar; - this.f352c = str; + this.f340c = str; this.d = j; this.e = aVar; this.f = j2; @@ -72,52 +72,52 @@ public class e { this.o = i4; this.p = i5; this.q = jVar; - this.f353r = kVar; + this.r = kVar; this.t = list3; this.u = i6; - this.s = bVar; + this.f341s = bVar; this.v = z2; } public String a(String str) { - StringBuilder O = c.d.b.a.a.O(str); - O.append(this.f352c); - O.append("\n"); + StringBuilder R = c.d.b.a.a.R(str); + R.append(this.f340c); + R.append("\n"); e e = this.b.e(this.f); if (e != null) { - O.append("\t\tParents: "); - O.append(e.f352c); + R.append("\t\tParents: "); + R.append(e.f340c); e e2 = this.b.e(e.f); while (e2 != null) { - O.append("->"); - O.append(e2.f352c); + R.append("->"); + R.append(e2.f340c); e2 = this.b.e(e2.f); } - O.append(str); - O.append("\n"); + R.append(str); + R.append("\n"); } if (!this.h.isEmpty()) { - O.append(str); - O.append("\tMasks: "); - O.append(this.h.size()); - O.append("\n"); + R.append(str); + R.append("\tMasks: "); + R.append(this.h.size()); + R.append("\n"); } if (!(this.j == 0 || this.k == 0)) { - O.append(str); - O.append("\tBackground: "); - O.append(String.format(Locale.US, "%dx%d %X\n", Integer.valueOf(this.j), Integer.valueOf(this.k), Integer.valueOf(this.l))); + R.append(str); + R.append("\tBackground: "); + R.append(String.format(Locale.US, "%dx%d %X\n", Integer.valueOf(this.j), Integer.valueOf(this.k), Integer.valueOf(this.l))); } if (!this.a.isEmpty()) { - O.append(str); - O.append("\tShapes:\n"); + R.append(str); + R.append("\tShapes:\n"); for (b bVar : this.a) { - O.append(str); - O.append("\t\t"); - O.append(bVar); - O.append("\n"); + R.append(str); + R.append("\t\t"); + R.append(bVar); + R.append("\n"); } } - return O.toString(); + return R.toString(); } public String toString() { diff --git a/app/src/main/java/c/c/a/y/m/g.java b/app/src/main/java/c/c/a/y/m/g.java index 86a4c449b0..f87cb1f55a 100644 --- a/app/src/main/java/c/c/a/y/m/g.java +++ b/app/src/main/java/c/c/a/y/m/g.java @@ -14,28 +14,28 @@ import java.util.List; public class g extends b { /* renamed from: x reason: collision with root package name */ - public final d f354x; + public final d f342x; public g(j jVar, e eVar) { super(jVar, eVar); d dVar = new d(jVar, this, new m("__container", eVar.a, false)); - this.f354x = dVar; + this.f342x = dVar; dVar.b(Collections.emptyList(), Collections.emptyList()); } @Override // c.c.a.y.m.b, c.c.a.w.b.e public void d(RectF rectF, Matrix matrix, boolean z2) { super.d(rectF, matrix, z2); - this.f354x.d(rectF, this.m, z2); + this.f342x.d(rectF, this.m, z2); } @Override // c.c.a.y.m.b public void j(@NonNull Canvas canvas, Matrix matrix, int i) { - this.f354x.f(canvas, matrix, i); + this.f342x.f(canvas, matrix, i); } @Override // c.c.a.y.m.b public void n(f fVar, int i, List list, f fVar2) { - this.f354x.c(fVar, i, list, fVar2); + this.f342x.c(fVar, i, list, fVar2); } } diff --git a/app/src/main/java/c/c/a/y/m/h.java b/app/src/main/java/c/c/a/y/m/h.java index a7909acbd6..4af84267a2 100644 --- a/app/src/main/java/c/c/a/y/m/h.java +++ b/app/src/main/java/c/c/a/y/m/h.java @@ -21,19 +21,19 @@ public class h extends b { public a C; /* renamed from: x reason: collision with root package name */ - public final RectF f355x = new RectF(); + public final RectF f343x = new RectF(); /* renamed from: y reason: collision with root package name */ - public final Paint f356y; + public final Paint f344y; /* renamed from: z reason: collision with root package name */ - public final float[] f357z; + public final float[] f345z; public h(j jVar, e eVar) { super(jVar, eVar); c.c.a.w.a aVar = new c.c.a.w.a(); - this.f356y = aVar; - this.f357z = new float[8]; + this.f344y = aVar; + this.f345z = new float[8]; this.A = new Path(); this.B = eVar; aVar.setAlpha(0); @@ -44,11 +44,11 @@ public class h extends b { @Override // c.c.a.y.m.b, c.c.a.w.b.e public void d(RectF rectF, Matrix matrix, boolean z2) { super.d(rectF, matrix, z2); - RectF rectF2 = this.f355x; + RectF rectF2 = this.f343x; e eVar = this.B; rectF2.set(0.0f, 0.0f, (float) eVar.j, (float) eVar.k); - this.m.mapRect(this.f355x); - rectF.set(this.f355x); + this.m.mapRect(this.f343x); + rectF.set(this.f343x); } @Override // c.c.a.y.m.b, c.c.a.y.g @@ -70,13 +70,13 @@ public class h extends b { if (alpha != 0) { a aVar = this.v.j; int intValue = (int) ((((((float) alpha) / 255.0f) * ((float) (aVar == null ? 100 : aVar.e().intValue()))) / 100.0f) * (((float) i) / 255.0f) * 255.0f); - this.f356y.setAlpha(intValue); + this.f344y.setAlpha(intValue); a aVar2 = this.C; if (aVar2 != null) { - this.f356y.setColorFilter(aVar2.e()); + this.f344y.setColorFilter(aVar2.e()); } if (intValue > 0) { - float[] fArr = this.f357z; + float[] fArr = this.f345z; fArr[0] = 0.0f; fArr[1] = 0.0f; e eVar = this.B; @@ -91,22 +91,22 @@ public class h extends b { matrix.mapPoints(fArr); this.A.reset(); Path path = this.A; - float[] fArr2 = this.f357z; + float[] fArr2 = this.f345z; path.moveTo(fArr2[0], fArr2[1]); Path path2 = this.A; - float[] fArr3 = this.f357z; + float[] fArr3 = this.f345z; path2.lineTo(fArr3[2], fArr3[3]); Path path3 = this.A; - float[] fArr4 = this.f357z; + float[] fArr4 = this.f345z; path3.lineTo(fArr4[4], fArr4[5]); Path path4 = this.A; - float[] fArr5 = this.f357z; + float[] fArr5 = this.f345z; path4.lineTo(fArr5[6], fArr5[7]); Path path5 = this.A; - float[] fArr6 = this.f357z; + float[] fArr6 = this.f345z; path5.lineTo(fArr6[0], fArr6[1]); this.A.close(); - canvas.drawPath(this.A, this.f356y); + canvas.drawPath(this.A, this.f344y); } } } diff --git a/app/src/main/java/c/c/a/y/m/i.java b/app/src/main/java/c/c/a/y/m/i.java index bacd87ad69..4b5bec68c4 100644 --- a/app/src/main/java/c/c/a/y/m/i.java +++ b/app/src/main/java/c/c/a/y/m/i.java @@ -53,13 +53,13 @@ public class i extends b { public c.c.a.w.c.a P; /* renamed from: x reason: collision with root package name */ - public final StringBuilder f358x = new StringBuilder(2); + public final StringBuilder f346x = new StringBuilder(2); /* renamed from: y reason: collision with root package name */ - public final RectF f359y = new RectF(); + public final RectF f347y = new RectF(); /* renamed from: z reason: collision with root package name */ - public final Matrix f360z = new Matrix(); + public final Matrix f348z = new Matrix(); /* compiled from: TextLayer */ public class a extends Paint { @@ -89,7 +89,7 @@ public class i extends b { this.E = nVar; nVar.a.add(this); e(nVar); - k kVar = eVar.f353r; + k kVar = eVar.r; if (!(kVar == null || (aVar2 = kVar.a) == null)) { c.c.a.w.c.a a2 = aVar2.a(); this.H = a2; @@ -102,7 +102,7 @@ public class i extends b { a3.a.add(this); e(this.J); } - if (!(kVar == null || (bVar2 = kVar.f327c) == null)) { + if (!(kVar == null || (bVar2 = kVar.f316c) == null)) { c.c.a.w.c.a a4 = bVar2.a(); this.L = a4; a4.a.add(this); @@ -258,7 +258,7 @@ public class i extends b { } if (this.F.j.g.size() > 0) { c.c.a.w.c.a aVar9 = this.P; - float floatValue = (aVar9 != null ? aVar9.e().floatValue() : e.f322c) / 100.0f; + float floatValue = (aVar9 != null ? aVar9.e().floatValue() : e.f311c) / 100.0f; float d = g.d(matrix); String str4 = e.a; float c2 = g.c() * e.f; @@ -270,14 +270,14 @@ public class i extends b { float f4 = 0.0f; int i5 = 0; while (i5 < str5.length()) { - e eVar = this.G.g.get(e.a(str5.charAt(i5), dVar.a, dVar.f323c)); + e eVar = this.G.g.get(e.a(str5.charAt(i5), dVar.a, dVar.f312c)); if (eVar == null) { f3 = c2; i3 = i4; str3 = str5; } else { str3 = str5; - double d2 = eVar.f324c; + double d2 = eVar.f313c; f3 = c2; i3 = i4; f4 = (float) ((d2 * ((double) floatValue) * ((double) g.c()) * ((double) d)) + ((double) f4)); @@ -294,7 +294,7 @@ public class i extends b { int i6 = 0; while (i6 < str6.length()) { String str7 = str6; - e eVar2 = this.G.g.get(e.a(str7.charAt(i6), dVar.a, dVar.f323c)); + e eVar2 = this.G.g.get(e.a(str7.charAt(i6), dVar.a, dVar.f312c)); if (eVar2 == null) { list = t; i2 = size; @@ -326,11 +326,11 @@ public class i extends b { int i8 = 0; while (i8 < list2.size()) { Path path = list2.get(i8).getPath(); - path.computeBounds(this.f359y, false); - this.f360z.set(matrix); - this.f360z.preTranslate(0.0f, (-e.g) * g.c()); - this.f360z.preScale(floatValue, floatValue); - path.transform(this.f360z); + path.computeBounds(this.f347y, false); + this.f348z.set(matrix); + this.f348z.preTranslate(0.0f, (-e.g) * g.c()); + this.f348z.preScale(floatValue, floatValue); + path.transform(this.f348z); if (e.k) { s(path, this.A, canvas); s(path, this.B, canvas); @@ -341,7 +341,7 @@ public class i extends b { i8++; list2 = list2; } - float c3 = g.c() * ((float) eVar2.f324c) * floatValue * d; + float c3 = g.c() * ((float) eVar2.f313c) * floatValue * d; float f5 = ((float) e.e) / 10.0f; c.c.a.w.c.a aVar10 = this.O; if (aVar10 != null) { @@ -369,7 +369,7 @@ public class i extends b { float d3 = g.d(matrix); j jVar = this.F; ?? r6 = dVar.a; - ?? r3 = dVar.f323c; + ?? r3 = dVar.f312c; Typeface typeface = null; if (jVar.getCallback() == null) { aVar = null; @@ -385,12 +385,12 @@ public class i extends b { jVar2.b = r3; typeface = aVar.b.get(jVar2); if (typeface == null) { - Typeface typeface2 = aVar.f313c.get(r6); + Typeface typeface2 = aVar.f303c.get(r6); if (typeface2 == null) { - StringBuilder S = c.d.b.a.a.S("fonts/", r6); - S.append(aVar.e); - typeface2 = Typeface.createFromAsset(aVar.d, S.toString()); - aVar.f313c.put(r6, typeface2); + StringBuilder V = c.d.b.a.a.V("fonts/", r6); + V.append(aVar.e); + typeface2 = Typeface.createFromAsset(aVar.d, V.toString()); + aVar.f303c.put(r6, typeface2); } boolean contains = r3.contains("Italic"); boolean contains2 = r3.contains("Bold"); @@ -404,7 +404,7 @@ public class i extends b { Objects.requireNonNull(this.F); this.A.setTypeface(typeface); c.c.a.w.c.a aVar12 = this.P; - this.A.setTextSize(g.c() * (aVar12 != null ? aVar12.e().floatValue() : e.f322c)); + this.A.setTextSize(g.c() * (aVar12 != null ? aVar12.e().floatValue() : e.f311c)); this.B.setTypeface(this.A.getTypeface()); this.B.setTextSize(this.A.getTextSize()); float c4 = g.c() * e.f; @@ -430,14 +430,14 @@ public class i extends b { if (this.D.containsKey(j)) { str = this.D.get(j); } else { - this.f358x.setLength(0); + this.f346x.setLength(0); int i12 = i11; while (i12 < charCount) { int codePointAt3 = str9.codePointAt(i12); - this.f358x.appendCodePoint(codePointAt3); + this.f346x.appendCodePoint(codePointAt3); i12 += Character.charCount(codePointAt3); } - String sb = this.f358x.toString(); + String sb = this.f346x.toString(); this.D.put(j, sb); str = sb; } diff --git a/app/src/main/java/c/c/a/z/b.java b/app/src/main/java/c/c/a/z/b.java index d9c78a9425..a6df20dba4 100644 --- a/app/src/main/java/c/c/a/z/b.java +++ b/app/src/main/java/c/c/a/z/b.java @@ -17,16 +17,16 @@ public class b { public static String a(String str, a aVar, boolean z2) { String str2; - StringBuilder O = a.O("lottie_cache_"); - O.append(str.replaceAll("\\W+", "")); + StringBuilder R = a.R("lottie_cache_"); + R.append(str.replaceAll("\\W+", "")); if (z2) { Objects.requireNonNull(aVar); str2 = ".temp" + aVar.extension; } else { str2 = aVar.extension; } - O.append(str2); - return O.toString(); + R.append(str2); + return R.toString(); } public final File b() { diff --git a/app/src/main/java/c/c/a/z/c.java b/app/src/main/java/c/c/a/z/c.java index 58362e5ec1..c3ca17c30d 100644 --- a/app/src/main/java/c/c/a/z/c.java +++ b/app/src/main/java/c/c/a/z/c.java @@ -24,24 +24,24 @@ public class c { @Nullable /* renamed from: c reason: collision with root package name */ - public final b f361c; + public final b f349c; public c(Context context, String str, @Nullable String str2) { Context applicationContext = context.getApplicationContext(); this.a = applicationContext; this.b = str; if (str2 == null) { - this.f361c = null; + this.f349c = null; } else { - this.f361c = new b(applicationContext); + this.f349c = new b(applicationContext); } } @WorkerThread public final p a() throws IOException { - StringBuilder O = a.O("Fetching "); - O.append(this.b); - c.c.a.b0.c.a(O.toString()); + StringBuilder R = a.R("Fetching "); + R.append(this.b); + c.c.a.b0.c.a(R.toString()); HttpURLConnection httpURLConnection = (HttpURLConnection) new URL(this.b).openConnection(); httpURLConnection.setRequestMethod(ShareTarget.METHOD_GET); try { @@ -107,27 +107,27 @@ public class c { if (contentType.contains("application/zip")) { c.c.a.b0.c.a("Handling zip response."); aVar = a.ZIP; - b bVar = this.f361c; + b bVar = this.f349c; pVar = bVar == null ? e.d(new ZipInputStream(httpURLConnection.getInputStream()), null) : e.d(new ZipInputStream(new FileInputStream(bVar.c(this.b, httpURLConnection.getInputStream(), aVar))), this.b); } else { c.c.a.b0.c.a("Received json response."); aVar = a.JSON; - b bVar2 = this.f361c; + b bVar2 = this.f349c; pVar = bVar2 == null ? e.b(httpURLConnection.getInputStream(), null) : e.b(new FileInputStream(new File(bVar2.c(this.b, httpURLConnection.getInputStream(), aVar).getAbsolutePath())), this.b); } - b bVar3 = this.f361c; + b bVar3 = this.f349c; if (!(bVar3 == null || pVar.a == null)) { File file = new File(bVar3.b(), b.a(this.b, aVar, true)); File file2 = new File(file.getAbsolutePath().replace(".temp", "")); boolean renameTo = file.renameTo(file2); c.c.a.b0.c.a("Copying temp file to real file (" + file2 + ")"); if (!renameTo) { - StringBuilder O = a.O("Unable to rename cache file "); - O.append(file.getAbsolutePath()); - O.append(" to "); - O.append(file2.getAbsolutePath()); - O.append("."); - c.c.a.b0.c.b(O.toString()); + StringBuilder R = a.R("Unable to rename cache file "); + R.append(file.getAbsolutePath()); + R.append(" to "); + R.append(file2.getAbsolutePath()); + R.append("."); + c.c.a.b0.c.b(R.toString()); } } return pVar; diff --git a/app/src/main/java/c/d/a/a/a.java b/app/src/main/java/c/d/a/a/a.java index 45f0be5a02..b9d8b64c0e 100644 --- a/app/src/main/java/c/d/a/a/a.java +++ b/app/src/main/java/c/d/a/a/a.java @@ -13,8 +13,8 @@ import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.text.TextUtils; +import androidx.annotation.AnyThread; import androidx.annotation.Nullable; -import androidx.annotation.UiThread; import c.i.a.f.h.n.d; import com.android.billingclient.api.BillingClient; import com.android.billingclient.api.BillingFlowParams; @@ -35,55 +35,52 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.json.JSONException; import org.json.JSONObject; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ +/* compiled from: com.android.billingclient:billing@@4.0.0 */ public class a extends BillingClient { - public int a; + public volatile int a; public final String b; /* renamed from: c reason: collision with root package name */ - public final Handler f362c; - public u d; + public final Handler f350c; + public volatile q d; public Context e; - public d f; - public o g; + public volatile d f; + public volatile l g; public boolean h; - public boolean i; - public int j; + public int i; + public boolean j; public boolean k; public boolean l; public boolean m; public boolean n; public boolean o; public boolean p; - public boolean q; + public ExecutorService q; - /* renamed from: r reason: collision with root package name */ - public ExecutorService f363r; - - @UiThread - public a(@Nullable String str, Context context, e eVar) { + @AnyThread + public a(@Nullable String str, boolean z2, Context context, f fVar) { String str2; try { str2 = (String) Class.forName("c.d.a.b.a").getField("VERSION_NAME").get(null); } catch (Exception unused) { - str2 = "3.0.3"; + str2 = "4.0.0"; } this.a = 0; - this.f362c = new Handler(Looper.getMainLooper()); - this.j = 0; + this.f350c = new Handler(Looper.getMainLooper()); + this.i = 0; this.b = str2; Context applicationContext = context.getApplicationContext(); this.e = applicationContext; - this.d = new u(applicationContext, eVar); - this.q = true; + this.d = new q(applicationContext, fVar); + this.p = z2; } @Override // com.android.billingclient.api.BillingClient - public final void a(c cVar, d dVar) { + public final void a(d dVar, e eVar) { if (!c()) { - dVar.onConsumeResponse(q.j, cVar.a); - } else if (j(new w(this, cVar, dVar), 30000, new x(dVar, cVar)) == null) { - dVar.onConsumeResponse(i(), cVar.a); + eVar.onConsumeResponse(n.j, dVar.a); + } else if (k(new r(this, dVar, eVar), 30000, new v(eVar, dVar), h()) == null) { + eVar.onConsumeResponse(j(), dVar.a); } } @@ -92,30 +89,30 @@ public class a extends BillingClient { int i = 3; try { this.d.a(); - o oVar = this.g; - if (oVar != null) { - synchronized (oVar.i) { - oVar.k = null; - oVar.j = true; + if (this.g != null) { + l lVar = this.g; + synchronized (lVar.i) { + lVar.k = null; + lVar.j = true; } } if (!(this.g == null || this.f == null)) { - c.i.a.f.h.n.a.a("BillingClient", "Unbinding from service."); + c.i.a.f.h.n.a.e("BillingClient", "Unbinding from service."); this.e.unbindService(this.g); this.g = null; } this.f = null; - ExecutorService executorService = this.f363r; + ExecutorService executorService = this.q; if (executorService != null) { executorService.shutdownNow(); - this.f363r = null; + this.q = null; } } catch (Exception e) { String valueOf = String.valueOf(e); StringBuilder sb = new StringBuilder(valueOf.length() + 48); sb.append("There was an exception while ending connection: "); sb.append(valueOf); - c.i.a.f.h.n.a.b("BillingClient", sb.toString()); + c.i.a.f.h.n.a.f("BillingClient", sb.toString()); } finally { this.a = i; } @@ -126,14 +123,14 @@ public class a extends BillingClient { return (this.a != 2 || this.f == null || this.g == null) ? false : true; } - /* JADX WARNING: Code restructure failed: missing block: B:155:0x03f1, code lost: - r1 = r24; + /* JADX WARNING: Code restructure failed: missing block: B:147:0x03d8, code lost: + r1 = r19; */ - /* JADX WARNING: Code restructure failed: missing block: B:159:0x03f8, code lost: - r1 = r24; + /* JADX WARNING: Code restructure failed: missing block: B:151:0x03df, code lost: + r1 = r19; */ /* JADX WARNING: Failed to process nested try/catch */ - /* JADX WARNING: Removed duplicated region for block: B:160:? A[ExcHandler: Exception (unused java.lang.Exception), SYNTHETIC, Splitter:B:142:0x0399] */ + /* JADX WARNING: Removed duplicated region for block: B:152:? A[ExcHandler: Exception (unused java.lang.Exception), SYNTHETIC, Splitter:B:134:0x0387] */ @Override // com.android.billingclient.api.BillingClient public final BillingResult d(Activity activity, BillingFlowParams billingFlowParams) { String str; @@ -141,307 +138,295 @@ public class a extends BillingClient { String str3; String str4; Future future; - long j; String str5; String str6; String str7; - int i; boolean z2; String str8; String str9; - String str10 = "BUY_INTENT"; if (!c()) { - BillingResult billingResult = q.j; - this.d.b.a.onPurchasesUpdated(billingResult, null); + BillingResult billingResult = n.j; + i(billingResult); return billingResult; } Objects.requireNonNull(billingFlowParams); ArrayList arrayList = new ArrayList(); - arrayList.addAll(billingFlowParams.g); + arrayList.addAll(billingFlowParams.f); SkuDetails skuDetails = (SkuDetails) arrayList.get(0); String e = skuDetails.e(); - String str11 = "BillingClient"; - if (!e.equals("subs") || this.h) { - String str12 = billingFlowParams.f1948c; - if (str12 != null && !this.i) { - c.i.a.f.h.n.a.b(str11, "Current client doesn't support subscriptions update."); - BillingResult billingResult2 = q.m; - this.d.b.a.onPurchasesUpdated(billingResult2, null); - return billingResult2; - } else if (((!billingFlowParams.h && billingFlowParams.b == null && billingFlowParams.e == null && billingFlowParams.f == 0 && !billingFlowParams.a) ? false : true) && !this.k) { - c.i.a.f.h.n.a.b(str11, "Current client doesn't support extra params for buy intent."); - BillingResult billingResult3 = q.f; - this.d.b.a.onPurchasesUpdated(billingResult3, null); - return billingResult3; - } else if (arrayList.size() <= 1 || this.p) { - String str13 = ""; - int i2 = 0; - String str14 = str13; - while (i2 < arrayList.size()) { - String valueOf = String.valueOf(str14); - String valueOf2 = String.valueOf(arrayList.get(i2)); - String G = c.d.b.a.a.G(new StringBuilder(valueOf.length() + valueOf2.length()), valueOf, valueOf2); - if (i2 < arrayList.size() - 1) { - G = String.valueOf(G).concat(", "); - } - str14 = G; - i2++; - str13 = str13; + String str10 = "BillingClient"; + if (e.equals("subs") && !this.h) { + c.i.a.f.h.n.a.f(str10, "Current client doesn't support subscriptions."); + BillingResult billingResult2 = n.l; + i(billingResult2); + return billingResult2; + } else if (((!billingFlowParams.g && billingFlowParams.b == null && billingFlowParams.d == null && billingFlowParams.e == 0 && !billingFlowParams.a) ? false : true) && !this.j) { + c.i.a.f.h.n.a.f(str10, "Current client doesn't support extra params for buy intent."); + BillingResult billingResult3 = n.f; + i(billingResult3); + return billingResult3; + } else if (arrayList.size() <= 1 || this.o) { + String str11 = ""; + int i = 0; + String str12 = str11; + while (i < arrayList.size()) { + String valueOf = String.valueOf(str12); + String valueOf2 = String.valueOf(arrayList.get(i)); + String H = c.d.b.a.a.H(new StringBuilder(valueOf.length() + valueOf2.length()), valueOf, valueOf2); + if (i < arrayList.size() - 1) { + H = String.valueOf(H).concat(", "); } - StringBuilder sb = new StringBuilder(String.valueOf(str14).length() + 41 + e.length()); - sb.append("Constructing buy intent for "); - sb.append(str14); - sb.append(", item type: "); - sb.append(e); - c.i.a.f.h.n.a.a(str11, sb.toString()); - if (this.k) { - boolean z3 = this.l; - boolean z4 = this.q; - String str15 = this.b; - Bundle bundle = new Bundle(); - bundle.putString("playBillingLibraryVersion", str15); - int i3 = billingFlowParams.f; - if (i3 != 0) { - bundle.putInt("prorationMode", i3); - } - if (!TextUtils.isEmpty(billingFlowParams.b)) { - bundle.putString("accountId", billingFlowParams.b); - } - if (!TextUtils.isEmpty(billingFlowParams.e)) { - bundle.putString("obfuscatedProfileId", billingFlowParams.e); - } - if (billingFlowParams.h) { - i = 1; - bundle.putBoolean("vr", true); - } else { - i = 1; - } - if (!TextUtils.isEmpty(billingFlowParams.f1948c)) { - String[] strArr = new String[i]; - str4 = "; try to reconnect"; - strArr[0] = billingFlowParams.f1948c; - bundle.putStringArrayList("skusToReplace", new ArrayList<>(Arrays.asList(strArr))); - } else { - str4 = "; try to reconnect"; - } - if (!TextUtils.isEmpty(billingFlowParams.d)) { - bundle.putString("oldSkuPurchaseToken", billingFlowParams.d); - } - if (!TextUtils.isEmpty(null)) { - bundle.putString("oldSkuPurchaseId", null); - } - if (!TextUtils.isEmpty(null)) { - bundle.putString("paymentsPurchaseParams", null); - } - if (z3 && z4) { - bundle.putBoolean("enablePendingPurchases", true); - } - ArrayList arrayList2 = new ArrayList<>(); - ArrayList arrayList3 = new ArrayList<>(); - ArrayList arrayList4 = new ArrayList<>(); - ArrayList arrayList5 = new ArrayList<>(); - int size = arrayList.size(); - boolean z5 = false; - boolean z6 = false; - boolean z7 = false; - str2 = str14; - int i4 = 0; - while (i4 < size) { - SkuDetails skuDetails2 = (SkuDetails) arrayList.get(i4); - if (!skuDetails2.b.optString("skuDetailsToken").isEmpty()) { - arrayList2.add(skuDetails2.b.optString("skuDetailsToken")); - } - try { - str9 = new JSONObject(skuDetails2.a).optString("offer_id_token"); - } catch (JSONException unused) { - str9 = str13; - } - String optString = skuDetails2.b.optString("offer_id"); - int optInt = skuDetails2.b.optInt("offer_type"); - arrayList3.add(str9); - z5 |= !TextUtils.isEmpty(str9); - arrayList4.add(optString); - z6 |= !TextUtils.isEmpty(optString); - arrayList5.add(Integer.valueOf(optInt)); - z7 |= optInt != 0; - i4++; - str10 = str10; - size = size; - str11 = str11; - } - str3 = str10; - str = str11; - if (!arrayList2.isEmpty()) { - bundle.putStringArrayList("skuDetailsTokens", arrayList2); - } - if (z5) { - if (!this.n) { - BillingResult billingResult4 = q.g; - this.d.b.a.onPurchasesUpdated(billingResult4, null); - return billingResult4; - } - bundle.putStringArrayList("SKU_OFFER_ID_TOKEN_LIST", arrayList3); - } - if (z6) { - bundle.putStringArrayList("SKU_OFFER_ID_LIST", arrayList4); - } - if (z7) { - bundle.putIntegerArrayList("SKU_OFFER_TYPE_LIST", arrayList5); - } - if (!TextUtils.isEmpty(skuDetails.f())) { - bundle.putString("skuPackageName", skuDetails.f()); - str8 = null; - z2 = true; - } else { - str8 = null; - z2 = false; - } - if (!TextUtils.isEmpty(str8)) { - bundle.putString("accountName", str8); - } - if (arrayList.size() > 1) { - ArrayList arrayList6 = new ArrayList<>(arrayList.size() - 1); - ArrayList arrayList7 = new ArrayList<>(arrayList.size() - 1); - for (int i5 = 1; i5 < arrayList.size(); i5++) { - arrayList6.add(((SkuDetails) arrayList.get(i5)).d()); - arrayList7.add(((SkuDetails) arrayList.get(i5)).e()); - } - bundle.putStringArrayList("additionalSkus", arrayList6); - bundle.putStringArrayList("additionalSkuTypes", arrayList7); - } - if (!TextUtils.isEmpty(activity.getIntent().getStringExtra("PROXY_PACKAGE"))) { - String stringExtra = activity.getIntent().getStringExtra("PROXY_PACKAGE"); - bundle.putString("proxyPackage", stringExtra); - try { - bundle.putString("proxyPackageVersion", this.e.getPackageManager().getPackageInfo(stringExtra, 0).versionName); - } catch (PackageManager.NameNotFoundException unused2) { - bundle.putString("proxyPackageVersion", "package not found"); - } - } - j = 5000; - future = j(new d0(this, (!this.o || !z2) ? this.l ? 9 : billingFlowParams.h ? 7 : 6 : 15, skuDetails, e, billingFlowParams, bundle), 5000, null); - } else { - str3 = str10; - str4 = "; try to reconnect"; - str = str11; - str2 = str14; - j = 5000; - future = str12 != null ? j(new e0(this, billingFlowParams, skuDetails), 5000, null) : j(new h(this, skuDetails, e), 5000, null); + str12 = H; + i++; + str11 = str11; + } + StringBuilder sb = new StringBuilder(String.valueOf(str12).length() + 41 + e.length()); + sb.append("Constructing buy intent for "); + sb.append(str12); + sb.append(", item type: "); + sb.append(e); + c.i.a.f.h.n.a.e(str10, sb.toString()); + if (this.j) { + boolean z3 = this.k; + boolean z4 = this.p; + String str13 = this.b; + Bundle bundle = new Bundle(); + bundle.putString("playBillingLibraryVersion", str13); + int i2 = billingFlowParams.e; + if (i2 != 0) { + bundle.putInt("prorationMode", i2); } - try { - Bundle bundle2 = (Bundle) future.get(j, TimeUnit.MILLISECONDS); - str6 = str; + if (!TextUtils.isEmpty(billingFlowParams.b)) { + bundle.putString("accountId", billingFlowParams.b); + } + if (!TextUtils.isEmpty(billingFlowParams.d)) { + bundle.putString("obfuscatedProfileId", billingFlowParams.d); + } + if (billingFlowParams.g) { + bundle.putBoolean("vr", true); + } + if (!TextUtils.isEmpty(null)) { + bundle.putStringArrayList("skusToReplace", new ArrayList<>(Arrays.asList(null))); + } + if (!TextUtils.isEmpty(billingFlowParams.f1579c)) { + bundle.putString("oldSkuPurchaseToken", billingFlowParams.f1579c); + } + if (!TextUtils.isEmpty(null)) { + bundle.putString("oldSkuPurchaseId", null); + } + if (!TextUtils.isEmpty(null)) { + bundle.putString("paymentsPurchaseParams", null); + } + if (z3 && z4) { + bundle.putBoolean("enablePendingPurchases", true); + } + ArrayList arrayList2 = new ArrayList<>(); + ArrayList arrayList3 = new ArrayList<>(); + ArrayList arrayList4 = new ArrayList<>(); + ArrayList arrayList5 = new ArrayList<>(); + str4 = "; try to reconnect"; + ArrayList arrayList6 = new ArrayList<>(); + str3 = str12; + int size = arrayList.size(); + boolean z5 = false; + boolean z6 = false; + boolean z7 = false; + boolean z8 = false; + str = "BUY_INTENT"; + int i3 = 0; + while (i3 < size) { + SkuDetails skuDetails2 = (SkuDetails) arrayList.get(i3); + if (!skuDetails2.b.optString("skuDetailsToken").isEmpty()) { + arrayList2.add(skuDetails2.b.optString("skuDetailsToken")); + } try { - int d = c.i.a.f.h.n.a.d(bundle2, str6); - String e2 = c.i.a.f.h.n.a.e(bundle2, str6); - if (d != 0) { - StringBuilder sb2 = new StringBuilder(52); - sb2.append("Unable to buy item, Error response code: "); - sb2.append(d); - c.i.a.f.h.n.a.b(str6, sb2.toString()); - BillingResult billingResult5 = new BillingResult(); - billingResult5.a = d; - billingResult5.b = e2; - this.d.b.a.onPurchasesUpdated(billingResult5, null); - return billingResult5; - } - Intent intent = new Intent(activity, ProxyBillingActivity.class); - intent.putExtra(str3, (PendingIntent) bundle2.getParcelable(str3)); - activity.startActivity(intent); - return q.i; - } catch (CancellationException | TimeoutException unused3) { - str7 = str4; - str5 = str2; - StringBuilder sb3 = new StringBuilder(String.valueOf(str5).length() + 68); - sb3.append("Time out while launching billing flow: ; for sku: "); - sb3.append(str5); - sb3.append(str7); - c.i.a.f.h.n.a.b(str6, sb3.toString()); - BillingResult billingResult6 = q.k; - this.d.b.a.onPurchasesUpdated(billingResult6, null); - return billingResult6; - } catch (Exception unused4) { - StringBuilder sb4 = new StringBuilder(String.valueOf(str2).length() + 69); - sb4.append("Exception while launching billing flow: ; for sku: "); - sb4.append(str2); - sb4.append(str4); - c.i.a.f.h.n.a.b(str6, sb4.toString()); - BillingResult billingResult7 = q.j; - this.d.b.a.onPurchasesUpdated(billingResult7, null); - return billingResult7; + str9 = new JSONObject(skuDetails2.a).optString("offer_id_token"); + } catch (JSONException unused) { + str9 = str11; } - } catch (CancellationException | TimeoutException unused5) { + String optString = skuDetails2.b.optString("offer_id"); + int optInt = skuDetails2.b.optInt("offer_type"); + String optString2 = skuDetails2.b.optString("serializedDocid"); + arrayList3.add(str9); + z5 |= !TextUtils.isEmpty(str9); + arrayList4.add(optString); + z6 |= !TextUtils.isEmpty(optString); + arrayList5.add(Integer.valueOf(optInt)); + z7 |= optInt != 0; + z8 |= !TextUtils.isEmpty(optString2); + arrayList6.add(optString2); + i3++; + str10 = str10; + size = size; + e = e; + } + str2 = str10; + if (!arrayList2.isEmpty()) { + bundle.putStringArrayList("skuDetailsTokens", arrayList2); + } + if (z5) { + if (!this.m) { + BillingResult billingResult4 = n.g; + i(billingResult4); + return billingResult4; + } + bundle.putStringArrayList("SKU_OFFER_ID_TOKEN_LIST", arrayList3); + } + if (z6) { + bundle.putStringArrayList("SKU_OFFER_ID_LIST", arrayList4); + } + if (z7) { + bundle.putIntegerArrayList("SKU_OFFER_TYPE_LIST", arrayList5); + } + if (z8) { + bundle.putStringArrayList("SKU_SERIALIZED_DOCID_LIST", arrayList6); + } + if (!TextUtils.isEmpty(skuDetails.f())) { + bundle.putString("skuPackageName", skuDetails.f()); + str8 = null; + z2 = true; + } else { + str8 = null; + z2 = false; + } + if (!TextUtils.isEmpty(str8)) { + bundle.putString("accountName", str8); + } + if (arrayList.size() > 1) { + ArrayList arrayList7 = new ArrayList<>(arrayList.size() - 1); + ArrayList arrayList8 = new ArrayList<>(arrayList.size() - 1); + for (int i4 = 1; i4 < arrayList.size(); i4++) { + arrayList7.add(((SkuDetails) arrayList.get(i4)).d()); + arrayList8.add(((SkuDetails) arrayList.get(i4)).e()); + } + bundle.putStringArrayList("additionalSkus", arrayList7); + bundle.putStringArrayList("additionalSkuTypes", arrayList8); + } + if (!TextUtils.isEmpty(activity.getIntent().getStringExtra("PROXY_PACKAGE"))) { + String stringExtra = activity.getIntent().getStringExtra("PROXY_PACKAGE"); + bundle.putString("proxyPackage", stringExtra); + try { + bundle.putString("proxyPackageVersion", this.e.getPackageManager().getPackageInfo(stringExtra, 0).versionName); + } catch (PackageManager.NameNotFoundException unused2) { + bundle.putString("proxyPackageVersion", "package not found"); + } + } + future = k(new y(this, (!this.n || !z2) ? this.k ? 9 : billingFlowParams.g ? 7 : 6 : 15, skuDetails, e, billingFlowParams, bundle), 5000, null, this.f350c); + } else { + str = "BUY_INTENT"; + str4 = "; try to reconnect"; + str2 = str10; + str3 = str12; + future = k(new s(this, skuDetails, e), 5000, null, this.f350c); + } + try { + Bundle bundle2 = (Bundle) future.get(5000, TimeUnit.MILLISECONDS); + str6 = str2; + try { + int a = c.i.a.f.h.n.a.a(bundle2, str6); + String d = c.i.a.f.h.n.a.d(bundle2, str6); + if (a != 0) { + StringBuilder sb2 = new StringBuilder(52); + sb2.append("Unable to buy item, Error response code: "); + sb2.append(a); + c.i.a.f.h.n.a.f(str6, sb2.toString()); + BillingResult billingResult5 = new BillingResult(); + billingResult5.a = a; + billingResult5.b = d; + i(billingResult5); + return billingResult5; + } + Intent intent = new Intent(activity, ProxyBillingActivity.class); + intent.putExtra(str, (PendingIntent) bundle2.getParcelable(str)); + activity.startActivity(intent); + return n.i; + } catch (CancellationException | TimeoutException unused3) { str7 = str4; - str5 = str2; - str6 = str; + str5 = str3; StringBuilder sb3 = new StringBuilder(String.valueOf(str5).length() + 68); sb3.append("Time out while launching billing flow: ; for sku: "); sb3.append(str5); sb3.append(str7); - c.i.a.f.h.n.a.b(str6, sb3.toString()); - BillingResult billingResult6 = q.k; - this.d.b.a.onPurchasesUpdated(billingResult6, null); + c.i.a.f.h.n.a.f(str6, sb3.toString()); + BillingResult billingResult6 = n.k; + i(billingResult6); return billingResult6; - } catch (Exception unused6) { + } catch (Exception unused4) { + StringBuilder sb4 = new StringBuilder(String.valueOf(str3).length() + 69); + sb4.append("Exception while launching billing flow: ; for sku: "); + sb4.append(str3); + sb4.append(str4); + c.i.a.f.h.n.a.f(str6, sb4.toString()); + BillingResult billingResult7 = n.j; + i(billingResult7); + return billingResult7; } - } else { - c.i.a.f.h.n.a.b(str11, "Current client doesn't support multi-item purchases."); - BillingResult billingResult8 = q.n; - this.d.b.a.onPurchasesUpdated(billingResult8, null); - return billingResult8; + } catch (CancellationException | TimeoutException unused5) { + str7 = str4; + str5 = str3; + str6 = str2; + StringBuilder sb3 = new StringBuilder(String.valueOf(str5).length() + 68); + sb3.append("Time out while launching billing flow: ; for sku: "); + sb3.append(str5); + sb3.append(str7); + c.i.a.f.h.n.a.f(str6, sb3.toString()); + BillingResult billingResult6 = n.k; + i(billingResult6); + return billingResult6; + } catch (Exception unused6) { } } else { - c.i.a.f.h.n.a.b(str11, "Current client doesn't support subscriptions."); - BillingResult billingResult9 = q.l; - this.d.b.a.onPurchasesUpdated(billingResult9, null); - return billingResult9; + c.i.a.f.h.n.a.f(str10, "Current client doesn't support multi-item purchases."); + BillingResult billingResult8 = n.m; + i(billingResult8); + return billingResult8; } } @Override // com.android.billingclient.api.BillingClient public final Purchase.a e(String str) { if (!c()) { - return new Purchase.a(q.j, null); + return new Purchase.a(n.j, null); } if (TextUtils.isEmpty(str)) { - c.i.a.f.h.n.a.b("BillingClient", "Please provide a valid SKU type."); - return new Purchase.a(q.e, null); + c.i.a.f.h.n.a.f("BillingClient", "Please provide a valid SKU type."); + return new Purchase.a(n.e, null); } try { - return (Purchase.a) j(new i(this, str), 5000, null).get(5000, TimeUnit.MILLISECONDS); + return (Purchase.a) k(new z(this, str), 5000, null, this.f350c).get(5000, TimeUnit.MILLISECONDS); } catch (CancellationException | TimeoutException unused) { - return new Purchase.a(q.k, null); + return new Purchase.a(n.k, null); } catch (Exception unused2) { - return new Purchase.a(q.h, null); + return new Purchase.a(n.h, null); } } @Override // com.android.billingclient.api.BillingClient - public final void f(f fVar, g gVar) { + public final void f(g gVar, h hVar) { if (!c()) { - gVar.onSkuDetailsResponse(q.j, null); + hVar.onSkuDetailsResponse(n.j, null); return; } - String str = fVar.a; - List list = fVar.b; + String str = gVar.a; + List list = gVar.b; if (TextUtils.isEmpty(str)) { - c.i.a.f.h.n.a.b("BillingClient", "Please fix the input params. SKU type can't be empty."); - gVar.onSkuDetailsResponse(q.e, null); + c.i.a.f.h.n.a.f("BillingClient", "Please fix the input params. SKU type can't be empty."); + hVar.onSkuDetailsResponse(n.e, null); } else if (list != null) { ArrayList arrayList = new ArrayList(); for (String str2 : list) { if (!TextUtils.isEmpty(str2)) { - arrayList.add(new s(str2)); + arrayList.add(new o(str2)); } else { throw new IllegalArgumentException("SKU must be set."); } } - if (j(new k(this, str, arrayList, gVar), 30000, new v(gVar)) == null) { - gVar.onSkuDetailsResponse(i(), null); + if (k(new t(this, str, arrayList, hVar), 30000, new w(hVar), h()) == null) { + hVar.onSkuDetailsResponse(j(), null); } } else { - c.i.a.f.h.n.a.b("BillingClient", "Please fix the input params. The list of SKUs can't be empty - set SKU list or SkuWithOffer list."); - gVar.onSkuDetailsResponse(q.d, null); + c.i.a.f.h.n.a.f("BillingClient", "Please fix the input params. The list of SKUs can't be empty - set SKU list or SkuWithOffer list."); + hVar.onSkuDetailsResponse(n.d, null); } } @@ -449,29 +434,26 @@ public class a extends BillingClient { public final void g(b bVar) { ServiceInfo serviceInfo; if (c()) { - c.i.a.f.h.n.a.a("BillingClient", "Service connection is valid. No need to re-initialize."); - bVar.onBillingSetupFinished(q.i); - return; - } - int i = this.a; - if (i == 1) { - c.i.a.f.h.n.a.b("BillingClient", "Client is already in the process of connecting to billing service."); - bVar.onBillingSetupFinished(q.f364c); - } else if (i == 3) { - c.i.a.f.h.n.a.b("BillingClient", "Client was already closed and can't be reused. Please create another instance."); - bVar.onBillingSetupFinished(q.j); + c.i.a.f.h.n.a.e("BillingClient", "Service connection is valid. No need to re-initialize."); + bVar.onBillingSetupFinished(n.i); + } else if (this.a == 1) { + c.i.a.f.h.n.a.f("BillingClient", "Client is already in the process of connecting to billing service."); + bVar.onBillingSetupFinished(n.f351c); + } else if (this.a == 3) { + c.i.a.f.h.n.a.f("BillingClient", "Client was already closed and can't be reused. Please create another instance."); + bVar.onBillingSetupFinished(n.j); } else { this.a = 1; - u uVar = this.d; - t tVar = uVar.b; - Context context = uVar.a; + q qVar = this.d; + p pVar = qVar.b; + Context context = qVar.a; IntentFilter intentFilter = new IntentFilter("com.android.vending.billing.PURCHASES_UPDATED"); - if (!tVar.b) { - context.registerReceiver(tVar.f366c.b, intentFilter); - tVar.b = true; + if (!pVar.b) { + context.registerReceiver(pVar.f352c.b, intentFilter); + pVar.b = true; } - c.i.a.f.h.n.a.a("BillingClient", "Starting in-app billing setup."); - this.g = new o(this, bVar); + c.i.a.f.h.n.a.e("BillingClient", "Starting in-app billing setup."); + this.g = new l(this, bVar); Intent intent = new Intent("com.android.vending.billing.InAppBillingService.BIND"); intent.setPackage("com.android.vending"); List queryIntentServices = this.e.getPackageManager().queryIntentServices(intent, 0); @@ -479,52 +461,57 @@ public class a extends BillingClient { String str = serviceInfo.packageName; String str2 = serviceInfo.name; if (!"com.android.vending".equals(str) || str2 == null) { - c.i.a.f.h.n.a.b("BillingClient", "The device doesn't have valid Play Store."); + c.i.a.f.h.n.a.f("BillingClient", "The device doesn't have valid Play Store."); } else { ComponentName componentName = new ComponentName(str, str2); Intent intent2 = new Intent(intent); intent2.setComponent(componentName); intent2.putExtra("playBillingLibraryVersion", this.b); if (this.e.bindService(intent2, this.g, 1)) { - c.i.a.f.h.n.a.a("BillingClient", "Service was bonded successfully."); + c.i.a.f.h.n.a.e("BillingClient", "Service was bonded successfully."); return; } - c.i.a.f.h.n.a.b("BillingClient", "Connection to Billing service is blocked."); + c.i.a.f.h.n.a.f("BillingClient", "Connection to Billing service is blocked."); } } this.a = 0; - c.i.a.f.h.n.a.a("BillingClient", "Billing service unavailable on device."); - bVar.onBillingSetupFinished(q.b); + c.i.a.f.h.n.a.e("BillingClient", "Billing service unavailable on device."); + bVar.onBillingSetupFinished(n.b); } } - public final void h(Runnable runnable) { - if (!Thread.interrupted()) { - this.f362c.post(runnable); - } + public final Handler h() { + return Looper.myLooper() == null ? this.f350c : new Handler(Looper.myLooper()); } - public final BillingResult i() { - int i = this.a; - return (i == 0 || i == 3) ? q.j : q.h; + public final BillingResult i(BillingResult billingResult) { + if (Thread.interrupted()) { + return billingResult; + } + this.f350c.post(new u(this, billingResult)); + return billingResult; + } + + public final BillingResult j() { + return (this.a == 0 || this.a == 3) ? n.j : n.h; } @Nullable - public final Future j(Callable callable, long j, @Nullable Runnable runnable) { + public final Future k(Callable callable, long j, @Nullable Runnable runnable, Handler handler) { long j2 = (long) (((double) j) * 0.95d); - if (this.f363r == null) { - this.f363r = Executors.newFixedThreadPool(c.i.a.f.h.n.a.a, new y(this)); + if (this.q == null) { + this.q = Executors.newFixedThreadPool(c.i.a.f.h.n.a.a, new i(this)); } try { - Future submit = this.f363r.submit(callable); - this.f362c.postDelayed(new z(submit, runnable), j2); + Future submit = this.q.submit(callable); + handler.postDelayed(new x(submit, runnable), j2); return submit; } catch (Exception e) { String valueOf = String.valueOf(e); StringBuilder sb = new StringBuilder(valueOf.length() + 28); sb.append("Async task throws exception "); sb.append(valueOf); - c.i.a.f.h.n.a.b("BillingClient", sb.toString()); + c.i.a.f.h.n.a.f("BillingClient", sb.toString()); return null; } } diff --git a/app/src/main/java/c/d/a/a/a0.java b/app/src/main/java/c/d/a/a/a0.java deleted file mode 100644 index 10b772b8c1..0000000000 --- a/app/src/main/java/c/d/a/a/a0.java +++ /dev/null @@ -1,22 +0,0 @@ -package c.d.a.a; - -import c.i.a.f.h.n.a; -import com.android.billingclient.api.BillingResult; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class a0 implements Runnable { - public final /* synthetic */ d i; - public final /* synthetic */ BillingResult j; - public final /* synthetic */ String k; - - public a0(d dVar, BillingResult billingResult, String str) { - this.i = dVar; - this.j = billingResult; - this.k = str; - } - - @Override // java.lang.Runnable - public final void run() { - a.a("BillingClient", "Successfully consumed purchase."); - this.i.onConsumeResponse(this.j, this.k); - } -} diff --git a/app/src/main/java/c/d/a/a/b.java b/app/src/main/java/c/d/a/a/b.java index e7b76f05dd..c9f9d1bf2b 100644 --- a/app/src/main/java/c/d/a/a/b.java +++ b/app/src/main/java/c/d/a/a/b.java @@ -2,7 +2,7 @@ package c.d.a.a; import androidx.annotation.NonNull; import com.android.billingclient.api.BillingResult; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ +/* compiled from: com.android.billingclient:billing@@4.0.0 */ public interface b { void onBillingServiceDisconnected(); diff --git a/app/src/main/java/c/d/a/a/b0.java b/app/src/main/java/c/d/a/a/b0.java deleted file mode 100644 index 4d234f9100..0000000000 --- a/app/src/main/java/c/d/a/a/b0.java +++ /dev/null @@ -1,28 +0,0 @@ -package c.d.a.a; - -import c.i.a.f.h.n.a; -import com.android.billingclient.api.BillingResult; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class b0 implements Runnable { - public final /* synthetic */ int i; - public final /* synthetic */ d j; - public final /* synthetic */ BillingResult k; - public final /* synthetic */ String l; - - public b0(int i, d dVar, BillingResult billingResult, String str) { - this.i = i; - this.j = dVar; - this.k = billingResult; - this.l = str; - } - - @Override // java.lang.Runnable - public final void run() { - int i = this.i; - StringBuilder sb = new StringBuilder(63); - sb.append("Error consuming purchase with token. Response code: "); - sb.append(i); - a.b("BillingClient", sb.toString()); - this.j.onConsumeResponse(this.k, this.l); - } -} diff --git a/app/src/main/java/c/d/a/a/c.java b/app/src/main/java/c/d/a/a/c.java index 61ab706666..1d4d04d1c9 100644 --- a/app/src/main/java/c/d/a/a/c.java +++ b/app/src/main/java/c/d/a/a/c.java @@ -1,5 +1,6 @@ package c.d.a.a; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class c { +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public class c { public String a; + public int b = 0; } diff --git a/app/src/main/java/c/d/a/a/c0.java b/app/src/main/java/c/d/a/a/c0.java deleted file mode 100644 index 8c707f8915..0000000000 --- a/app/src/main/java/c/d/a/a/c0.java +++ /dev/null @@ -1,25 +0,0 @@ -package c.d.a.a; - -import c.i.a.f.h.n.a; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class c0 implements Runnable { - public final /* synthetic */ Exception i; - public final /* synthetic */ d j; - public final /* synthetic */ String k; - - public c0(Exception exc, d dVar, String str) { - this.i = exc; - this.j = dVar; - this.k = str; - } - - @Override // java.lang.Runnable - public final void run() { - String valueOf = String.valueOf(this.i); - StringBuilder sb = new StringBuilder(valueOf.length() + 30); - sb.append("Error consuming purchase; ex: "); - sb.append(valueOf); - a.b("BillingClient", sb.toString()); - this.j.onConsumeResponse(q.j, this.k); - } -} diff --git a/app/src/main/java/c/d/a/a/d.java b/app/src/main/java/c/d/a/a/d.java index 962b9c2eff..508371eb0a 100644 --- a/app/src/main/java/c/d/a/a/d.java +++ b/app/src/main/java/c/d/a/a/d.java @@ -1,8 +1,5 @@ package c.d.a.a; - -import androidx.annotation.NonNull; -import com.android.billingclient.api.BillingResult; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public interface d { - void onConsumeResponse(@NonNull BillingResult billingResult, @NonNull String str); +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final class d { + public String a; } diff --git a/app/src/main/java/c/d/a/a/d0.java b/app/src/main/java/c/d/a/a/d0.java deleted file mode 100644 index 79fc5c07bb..0000000000 --- a/app/src/main/java/c/d/a/a/d0.java +++ /dev/null @@ -1,29 +0,0 @@ -package c.d.a.a; - -import android.os.Bundle; -import com.android.billingclient.api.BillingFlowParams; -import com.android.billingclient.api.SkuDetails; -import java.util.concurrent.Callable; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class d0 implements Callable { - public final /* synthetic */ int i; - public final /* synthetic */ SkuDetails j; - public final /* synthetic */ String k; - public final /* synthetic */ Bundle l; - public final /* synthetic */ a m; - - public d0(a aVar, int i, SkuDetails skuDetails, String str, BillingFlowParams billingFlowParams, Bundle bundle) { - this.m = aVar; - this.i = i; - this.j = skuDetails; - this.k = str; - this.l = bundle; - } - - /* Return type fixed from 'java.lang.Object' to match base method */ - @Override // java.util.concurrent.Callable - public final /* synthetic */ Bundle call() throws Exception { - a aVar = this.m; - return aVar.f.e0(this.i, aVar.e.getPackageName(), this.j.d(), this.k, null, this.l); - } -} diff --git a/app/src/main/java/c/d/a/a/e.java b/app/src/main/java/c/d/a/a/e.java index 500a55e8a9..0da5b51022 100644 --- a/app/src/main/java/c/d/a/a/e.java +++ b/app/src/main/java/c/d/a/a/e.java @@ -1,11 +1,8 @@ package c.d.a.a; import androidx.annotation.NonNull; -import androidx.annotation.Nullable; import com.android.billingclient.api.BillingResult; -import com.android.billingclient.api.Purchase; -import java.util.List; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ +/* compiled from: com.android.billingclient:billing@@4.0.0 */ public interface e { - void onPurchasesUpdated(@NonNull BillingResult billingResult, @Nullable List list); + void onConsumeResponse(@NonNull BillingResult billingResult, @NonNull String str); } diff --git a/app/src/main/java/c/d/a/a/e0.java b/app/src/main/java/c/d/a/a/e0.java deleted file mode 100644 index 2f05b07ecc..0000000000 --- a/app/src/main/java/c/d/a/a/e0.java +++ /dev/null @@ -1,26 +0,0 @@ -package c.d.a.a; - -import android.os.Bundle; -import com.android.billingclient.api.BillingFlowParams; -import com.android.billingclient.api.SkuDetails; -import java.util.Arrays; -import java.util.concurrent.Callable; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class e0 implements Callable { - public final /* synthetic */ BillingFlowParams i; - public final /* synthetic */ SkuDetails j; - public final /* synthetic */ a k; - - public e0(a aVar, BillingFlowParams billingFlowParams, SkuDetails skuDetails) { - this.k = aVar; - this.i = billingFlowParams; - this.j = skuDetails; - } - - /* Return type fixed from 'java.lang.Object' to match base method */ - @Override // java.util.concurrent.Callable - public final Bundle call() throws Exception { - a aVar = this.k; - return aVar.f.c0(5, aVar.e.getPackageName(), Arrays.asList(this.i.f1948c), this.j.d(), "subs", null); - } -} diff --git a/app/src/main/java/c/d/a/a/f.java b/app/src/main/java/c/d/a/a/f.java index 6504f84371..3c2d3405c2 100644 --- a/app/src/main/java/c/d/a/a/f.java +++ b/app/src/main/java/c/d/a/a/f.java @@ -1,8 +1,11 @@ package c.d.a.a; +import androidx.annotation.NonNull; +import androidx.annotation.Nullable; +import com.android.billingclient.api.BillingResult; +import com.android.billingclient.api.Purchase; import java.util.List; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public class f { - public String a; - public List b; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public interface f { + void onPurchasesUpdated(@NonNull BillingResult billingResult, @Nullable List list); } diff --git a/app/src/main/java/c/d/a/a/g.java b/app/src/main/java/c/d/a/a/g.java index 2c6bbd6fcb..bc94a91569 100644 --- a/app/src/main/java/c/d/a/a/g.java +++ b/app/src/main/java/c/d/a/a/g.java @@ -1,11 +1,8 @@ package c.d.a.a; -import androidx.annotation.NonNull; -import androidx.annotation.Nullable; -import com.android.billingclient.api.BillingResult; -import com.android.billingclient.api.SkuDetails; import java.util.List; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public interface g { - void onSkuDetailsResponse(@NonNull BillingResult billingResult, @Nullable List list); +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public class g { + public String a; + public List b; } diff --git a/app/src/main/java/c/d/a/a/h.java b/app/src/main/java/c/d/a/a/h.java index 3a999c2ce1..7ffeb38658 100644 --- a/app/src/main/java/c/d/a/a/h.java +++ b/app/src/main/java/c/d/a/a/h.java @@ -1,24 +1,11 @@ package c.d.a.a; -import android.os.Bundle; +import androidx.annotation.NonNull; +import androidx.annotation.Nullable; +import com.android.billingclient.api.BillingResult; import com.android.billingclient.api.SkuDetails; -import java.util.concurrent.Callable; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class h implements Callable { - public final /* synthetic */ SkuDetails i; - public final /* synthetic */ String j; - public final /* synthetic */ a k; - - public h(a aVar, SkuDetails skuDetails, String str) { - this.k = aVar; - this.i = skuDetails; - this.j = str; - } - - /* Return type fixed from 'java.lang.Object' to match base method */ - @Override // java.util.concurrent.Callable - public final /* synthetic */ Bundle call() throws Exception { - a aVar = this.k; - return aVar.f.p(3, aVar.e.getPackageName(), this.i.d(), this.j, null); - } +import java.util.List; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public interface h { + void onSkuDetailsResponse(@NonNull BillingResult billingResult, @Nullable List list); } diff --git a/app/src/main/java/c/d/a/a/i.java b/app/src/main/java/c/d/a/a/i.java index 9c2c4b1f9c..edf649bbd1 100644 --- a/app/src/main/java/c/d/a/a/i.java +++ b/app/src/main/java/c/d/a/a/i.java @@ -1,120 +1,24 @@ package c.d.a.a; -import android.os.Bundle; -import android.text.TextUtils; -import c.i.a.f.h.n.a; -import com.android.billingclient.api.BillingResult; -import com.android.billingclient.api.Purchase; -import java.util.ArrayList; -import java.util.concurrent.Callable; -import org.json.JSONException; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class i implements Callable { - public final /* synthetic */ String i; - public final /* synthetic */ a j; +import java.util.concurrent.Executors; +import java.util.concurrent.ThreadFactory; +import java.util.concurrent.atomic.AtomicInteger; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final class i implements ThreadFactory { + public final ThreadFactory i = Executors.defaultThreadFactory(); + public final AtomicInteger j = new AtomicInteger(1); - public i(a aVar, String str) { - this.j = aVar; - this.i = str; + public i(a aVar) { } - /* Return type fixed from 'java.lang.Object' to match base method */ - @Override // java.util.concurrent.Callable - public final Purchase.a call() throws Exception { - a aVar = this.j; - String str = this.i; - String valueOf = String.valueOf(str); - a.a("BillingClient", valueOf.length() != 0 ? "Querying owned items, item type: ".concat(valueOf) : new String("Querying owned items, item type: ")); - ArrayList arrayList = new ArrayList(); - boolean z2 = aVar.l; - boolean z3 = aVar.q; - String str2 = aVar.b; - Bundle bundle = new Bundle(); - bundle.putString("playBillingLibraryVersion", str2); - int i = 1; - if (z2 && z3) { - bundle.putBoolean("enablePendingPurchases", true); - } - String str3 = null; - do { - try { - Bundle Q = aVar.l ? aVar.f.Q(9, aVar.e.getPackageName(), str, str3, bundle) : aVar.f.p0(3, aVar.e.getPackageName(), str, str3); - BillingResult billingResult = q.h; - if (Q == null) { - Object[] objArr = new Object[i]; - objArr[0] = "getPurchase()"; - a.b("BillingClient", String.format("%s got null owned items list", objArr)); - } else { - int d = a.d(Q, "BillingClient"); - String e = a.e(Q, "BillingClient"); - BillingResult billingResult2 = new BillingResult(); - billingResult2.a = d; - billingResult2.b = e; - if (d != 0) { - a.b("BillingClient", String.format("%s failed. Response code: %s", "getPurchase()", Integer.valueOf(d))); - billingResult = billingResult2; - i = 1; - } else if (!Q.containsKey("INAPP_PURCHASE_ITEM_LIST") || !Q.containsKey("INAPP_PURCHASE_DATA_LIST") || !Q.containsKey("INAPP_DATA_SIGNATURE_LIST")) { - i = 1; - a.b("BillingClient", String.format("Bundle returned from %s doesn't contain required fields.", "getPurchase()")); - } else { - ArrayList stringArrayList = Q.getStringArrayList("INAPP_PURCHASE_ITEM_LIST"); - ArrayList stringArrayList2 = Q.getStringArrayList("INAPP_PURCHASE_DATA_LIST"); - ArrayList stringArrayList3 = Q.getStringArrayList("INAPP_DATA_SIGNATURE_LIST"); - if (stringArrayList == null) { - i = 1; - a.b("BillingClient", String.format("Bundle returned from %s contains null SKUs list.", "getPurchase()")); - } else { - i = 1; - if (stringArrayList2 == null) { - a.b("BillingClient", String.format("Bundle returned from %s contains null purchases list.", "getPurchase()")); - } else if (stringArrayList3 == null) { - a.b("BillingClient", String.format("Bundle returned from %s contains null signatures list.", "getPurchase()")); - } else { - billingResult = q.i; - } - } - } - } - if (billingResult != q.i) { - return new Purchase.a(billingResult, null); - } - ArrayList stringArrayList4 = Q.getStringArrayList("INAPP_PURCHASE_ITEM_LIST"); - ArrayList stringArrayList5 = Q.getStringArrayList("INAPP_PURCHASE_DATA_LIST"); - ArrayList stringArrayList6 = Q.getStringArrayList("INAPP_DATA_SIGNATURE_LIST"); - for (int i2 = 0; i2 < stringArrayList5.size(); i2++) { - String str4 = stringArrayList5.get(i2); - String str5 = stringArrayList6.get(i2); - String valueOf2 = String.valueOf(stringArrayList4.get(i2)); - a.a("BillingClient", valueOf2.length() != 0 ? "Sku is owned: ".concat(valueOf2) : new String("Sku is owned: ")); - try { - Purchase purchase = new Purchase(str4, str5); - if (TextUtils.isEmpty(purchase.a())) { - a.b("BillingClient", "BUG: empty/null token!"); - } - arrayList.add(purchase); - } catch (JSONException e2) { - String valueOf3 = String.valueOf(e2); - StringBuilder sb = new StringBuilder(valueOf3.length() + 48); - sb.append("Got an exception trying to decode the purchase: "); - sb.append(valueOf3); - a.b("BillingClient", sb.toString()); - return new Purchase.a(q.h, null); - } - } - str3 = Q.getString("INAPP_CONTINUATION_TOKEN"); - String valueOf4 = String.valueOf(str3); - a.a("BillingClient", valueOf4.length() != 0 ? "Continuation token: ".concat(valueOf4) : new String("Continuation token: ")); - } catch (Exception e3) { - String valueOf5 = String.valueOf(e3); - StringBuilder sb2 = new StringBuilder(valueOf5.length() + 57); - sb2.append("Got exception trying to get purchases: "); - sb2.append(valueOf5); - sb2.append("; try to reconnect"); - a.b("BillingClient", sb2.toString()); - return new Purchase.a(q.j, null); - } - } while (!TextUtils.isEmpty(str3)); - return new Purchase.a(q.i, arrayList); + @Override // java.util.concurrent.ThreadFactory + public final Thread newThread(Runnable runnable) { + Thread newThread = this.i.newThread(runnable); + int andIncrement = this.j.getAndIncrement(); + StringBuilder sb = new StringBuilder(30); + sb.append("PlayBillingLibrary-"); + sb.append(andIncrement); + newThread.setName(sb.toString()); + return newThread; } } diff --git a/app/src/main/java/c/d/a/a/j.java b/app/src/main/java/c/d/a/a/j.java index d94ccd653f..a7fc308ac6 100644 --- a/app/src/main/java/c/d/a/a/j.java +++ b/app/src/main/java/c/d/a/a/j.java @@ -1,25 +1,17 @@ package c.d.a.a; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final /* synthetic */ class j implements Runnable { + public final /* synthetic */ l i; -import com.android.billingclient.api.BillingResult; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class j implements Runnable { - public final /* synthetic */ r i; - public final /* synthetic */ k j; - - public j(k kVar, r rVar) { - this.j = kVar; - this.i = rVar; + public /* synthetic */ j(l lVar) { + this.i = lVar; } @Override // java.lang.Runnable public final void run() { - g gVar = this.j.k; - r rVar = this.i; - int i = rVar.b; - String str = rVar.f365c; - BillingResult billingResult = new BillingResult(); - billingResult.a = i; - billingResult.b = str; - gVar.onSkuDetailsResponse(billingResult, this.i.a); + l lVar = this.i; + lVar.l.a = 0; + lVar.l.f = null; + lVar.a(n.k); } } diff --git a/app/src/main/java/c/d/a/a/k.java b/app/src/main/java/c/d/a/a/k.java index 831126e4b4..861b0dc0a7 100644 --- a/app/src/main/java/c/d/a/a/k.java +++ b/app/src/main/java/c/d/a/a/k.java @@ -1,105 +1,105 @@ package c.d.a.a; -import android.os.Bundle; import c.i.a.f.h.n.a; -import com.android.billingclient.api.SkuDetails; -import java.util.ArrayList; -import java.util.List; import java.util.Objects; import java.util.concurrent.Callable; -import org.json.JSONException; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class k implements Callable { - public final /* synthetic */ String i; - public final /* synthetic */ List j; - public final /* synthetic */ g k; - public final /* synthetic */ a l; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final /* synthetic */ class k implements Callable { + public final /* synthetic */ l i; - public k(a aVar, String str, List list, g gVar) { - this.l = aVar; - this.i = str; - this.j = list; - this.k = gVar; + public /* synthetic */ k(l lVar) { + this.i = lVar; } - /* Return type fixed from 'java.lang.Object' to match base method */ + /* JADX WARNING: Removed duplicated region for block: B:67:0x00c6 */ + /* JADX WARNING: Removed duplicated region for block: B:68:0x00cc */ @Override // java.util.concurrent.Callable - public final Void call() throws Exception { - r rVar; - a aVar = this.l; - String str = this.i; - List list = this.j; - Objects.requireNonNull(aVar); - ArrayList arrayList = new ArrayList(); - int size = list.size(); - int i = 0; - while (true) { - if (i >= size) { - rVar = new r(0, "", arrayList); - break; - } - int i2 = i + 20; - ArrayList arrayList2 = new ArrayList(list.subList(i, i2 > size ? size : i2)); - ArrayList arrayList3 = new ArrayList<>(); - int size2 = arrayList2.size(); - for (int i3 = 0; i3 < size2; i3++) { - arrayList3.add(((s) arrayList2.get(i3)).a); - } - Bundle bundle = new Bundle(); - bundle.putStringArrayList("ITEM_ID_LIST", arrayList3); - bundle.putString("playBillingLibraryVersion", aVar.b); - try { - Bundle K = aVar.m ? aVar.f.K(10, aVar.e.getPackageName(), str, bundle, a.f(aVar.j, aVar.q, aVar.b, null, arrayList2)) : aVar.f.k0(3, aVar.e.getPackageName(), str, bundle); - if (K == null) { - a.b("BillingClient", "querySkuDetailsAsync got null sku details list"); - rVar = new r(4, "Item is unavailable for purchase.", null); - break; - } else if (K.containsKey("DETAILS_LIST")) { - ArrayList stringArrayList = K.getStringArrayList("DETAILS_LIST"); - if (stringArrayList == null) { - a.b("BillingClient", "querySkuDetailsAsync got null response list"); - rVar = new r(4, "Item is unavailable for purchase.", null); - break; - } - for (int i4 = 0; i4 < stringArrayList.size(); i4++) { + public final Object call() { + int i; + l lVar = this.i; + synchronized (lVar.i) { + if (!lVar.j) { + int i2 = 3; + try { + String packageName = lVar.l.e.getPackageName(); + int i3 = 16; + i = 3; + while (true) { + if (i3 < 3) { + i3 = 0; + break; + } try { - SkuDetails skuDetails = new SkuDetails(stringArrayList.get(i4)); - String valueOf = String.valueOf(skuDetails); - StringBuilder sb = new StringBuilder(valueOf.length() + 17); - sb.append("Got sku details: "); - sb.append(valueOf); - a.a("BillingClient", sb.toString()); - arrayList.add(skuDetails); - } catch (JSONException unused) { - a.b("BillingClient", "Got a JSON exception trying to decode SkuDetails."); - rVar = new r(6, "Error trying to decode SkuDetails.", null); + i = lVar.l.f.N(i3, packageName, "subs"); + if (i == 0) { + break; + } + i3--; + } catch (Exception unused) { + i2 = i; + a.f("BillingClient", "Exception while checking if billing is supported; try to reconnect"); + lVar.l.a = 0; + lVar.l.f = null; + i = i2; + if (i == 0) { + } + return null; } } - i = i2; - } else { - int d = a.d(K, "BillingClient"); - String e = a.e(K, "BillingClient"); - if (d != 0) { - StringBuilder sb2 = new StringBuilder(50); - sb2.append("getSkuDetails() failed. Response code: "); - sb2.append(d); - a.b("BillingClient", sb2.toString()); - rVar = new r(d, e, arrayList); - } else { - a.b("BillingClient", "getSkuDetails() returned a bundle with neither an error nor a detail list."); - rVar = new r(6, e, arrayList); + Objects.requireNonNull(lVar.l); + boolean z2 = true; + lVar.l.h = i3 >= 3; + if (i3 < 3) { + a.e("BillingClient", "In-app billing API does not support subscription on this device."); } + int i4 = 16; + while (true) { + if (i4 < 3) { + break; + } + i = lVar.l.f.N(i4, packageName, "inapp"); + if (i == 0) { + lVar.l.i = i4; + break; + } + i4--; + } + a aVar = lVar.l; + int i5 = aVar.i; + aVar.o = i5 >= 16; + aVar.n = i5 >= 15; + aVar.m = i5 >= 14; + aVar.l = i5 >= 10; + aVar.k = i5 >= 9; + if (i5 < 6) { + z2 = false; + } + aVar.j = z2; + if (i5 < 3) { + a.f("BillingClient", "In-app billing API version 3 is not supported on this device."); + } + if (i == 0) { + lVar.l.a = 2; + } else { + lVar.l.a = 0; + lVar.l.f = null; + } + } catch (Exception unused2) { + a.f("BillingClient", "Exception while checking if billing is supported; try to reconnect"); + lVar.l.a = 0; + lVar.l.f = null; + i = i2; + if (i == 0) { + } + return null; + } + if (i == 0) { + lVar.a(n.i); + } else { + lVar.a(n.a); } - } catch (Exception e2) { - String valueOf2 = String.valueOf(e2); - StringBuilder sb3 = new StringBuilder(valueOf2.length() + 63); - sb3.append("querySkuDetailsAsync got a remote exception (try to reconnect)."); - sb3.append(valueOf2); - a.b("BillingClient", sb3.toString()); - rVar = new r(-1, "Service connection is disconnected.", null); } } - this.l.h(new j(this, rVar)); return null; } } diff --git a/app/src/main/java/c/d/a/a/l.java b/app/src/main/java/c/d/a/a/l.java index dbc1e60b17..6bcd46ca7e 100644 --- a/app/src/main/java/c/d/a/a/l.java +++ b/app/src/main/java/c/d/a/a/l.java @@ -1,22 +1,63 @@ package c.d.a.a; +import android.content.ComponentName; +import android.content.ServiceConnection; +import android.os.IBinder; +import android.os.IInterface; +import c.i.a.f.h.n.a; +import c.i.a.f.h.n.b; +import c.i.a.f.h.n.c; +import c.i.a.f.h.n.d; import com.android.billingclient.api.BillingResult; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class l implements Runnable { - public final /* synthetic */ BillingResult i; - public final /* synthetic */ o j; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final class l implements ServiceConnection { + public final Object i = new Object(); + public boolean j = false; + public b k; + public final /* synthetic */ a l; - public l(o oVar, BillingResult billingResult) { - this.j = oVar; - this.i = billingResult; + public /* synthetic */ l(a aVar, b bVar) { + this.l = aVar; + this.k = bVar; } - @Override // java.lang.Runnable - public final void run() { - synchronized (this.j.i) { - b bVar = this.j.k; + public final void a(BillingResult billingResult) { + synchronized (this.i) { + b bVar = this.k; if (bVar != null) { - bVar.onBillingSetupFinished(this.i); + bVar.onBillingSetupFinished(billingResult); + } + } + } + + @Override // android.content.ServiceConnection + public final void onServiceConnected(ComponentName componentName, IBinder iBinder) { + d dVar; + a.e("BillingClient", "Billing service connected."); + a aVar = this.l; + int i = c.a; + if (iBinder == null) { + dVar = null; + } else { + IInterface queryLocalInterface = iBinder.queryLocalInterface("com.android.vending.billing.IInAppBillingService"); + dVar = queryLocalInterface instanceof d ? (d) queryLocalInterface : new b(iBinder); + } + aVar.f = dVar; + a aVar2 = this.l; + if (aVar2.k(new k(this), 30000, new j(this), aVar2.h()) == null) { + a(this.l.j()); + } + } + + @Override // android.content.ServiceConnection + public final void onServiceDisconnected(ComponentName componentName) { + a.f("BillingClient", "Billing service disconnected."); + this.l.f = null; + this.l.a = 0; + synchronized (this.i) { + b bVar = this.k; + if (bVar != null) { + bVar.onBillingServiceDisconnected(); } } } diff --git a/app/src/main/java/c/d/a/a/m.java b/app/src/main/java/c/d/a/a/m.java deleted file mode 100644 index 477e86066a..0000000000 --- a/app/src/main/java/c/d/a/a/m.java +++ /dev/null @@ -1,109 +0,0 @@ -package c.d.a.a; - -import c.i.a.f.h.n.a; -import java.util.concurrent.Callable; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class m implements Callable { - public final /* synthetic */ o i; - - public m(o oVar) { - this.i = oVar; - } - - /* Return type fixed from 'java.lang.Object' to match base method */ - /* JADX WARNING: Removed duplicated region for block: B:71:0x00d7 */ - /* JADX WARNING: Removed duplicated region for block: B:72:0x00df */ - @Override // java.util.concurrent.Callable - public final /* synthetic */ Void call() throws Exception { - int i; - synchronized (this.i.i) { - o oVar = this.i; - if (!oVar.j) { - int i2 = 3; - try { - String packageName = oVar.l.e.getPackageName(); - int i3 = 16; - i = 3; - while (true) { - if (i3 < 3) { - i3 = 0; - break; - } - try { - i = this.i.l.f.o(i3, packageName, "subs"); - if (i == 0) { - break; - } - i3--; - } catch (Exception unused) { - i2 = i; - a.b("BillingClient", "Exception while checking if billing is supported; try to reconnect"); - a aVar = this.i.l; - aVar.a = 0; - aVar.f = null; - i = i2; - if (i == 0) { - } - return null; - } - } - a aVar2 = this.i.l; - boolean z2 = true; - aVar2.i = i3 >= 5; - aVar2.h = i3 >= 3; - if (i3 < 3) { - a.a("BillingClient", "In-app billing API does not support subscription on this device."); - } - int i4 = 16; - while (true) { - if (i4 < 3) { - break; - } - i = this.i.l.f.o(i4, packageName, "inapp"); - if (i == 0) { - this.i.l.j = i4; - break; - } - i4--; - } - a aVar3 = this.i.l; - int i5 = aVar3.j; - aVar3.p = i5 >= 16; - aVar3.o = i5 >= 15; - aVar3.n = i5 >= 14; - aVar3.m = i5 >= 10; - aVar3.l = i5 >= 9; - if (i5 < 6) { - z2 = false; - } - aVar3.k = z2; - if (i5 < 3) { - a.b("BillingClient", "In-app billing API version 3 is not supported on this device."); - } - if (i == 0) { - this.i.l.a = 2; - } else { - a aVar4 = this.i.l; - aVar4.a = 0; - aVar4.f = null; - } - } catch (Exception unused2) { - a.b("BillingClient", "Exception while checking if billing is supported; try to reconnect"); - a aVar = this.i.l; - aVar.a = 0; - aVar.f = null; - i = i2; - if (i == 0) { - } - return null; - } - if (i == 0) { - o.a(this.i, q.i); - } else { - o.a(this.i, q.a); - } - } - } - return null; - } -} diff --git a/app/src/main/java/c/d/a/a/n.java b/app/src/main/java/c/d/a/a/n.java index 50b9392796..c2dc039321 100644 --- a/app/src/main/java/c/d/a/a/n.java +++ b/app/src/main/java/c/d/a/a/n.java @@ -1,18 +1,103 @@ package c.d.a.a; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class n implements Runnable { - public final /* synthetic */ o i; - public n(o oVar) { - this.i = oVar; - } +import com.android.billingclient.api.BillingResult; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final class n { + public static final BillingResult a; + public static final BillingResult b; - @Override // java.lang.Runnable - public final void run() { - o oVar = this.i; - a aVar = oVar.l; - aVar.a = 0; - aVar.f = null; - o.a(oVar, q.k); + /* renamed from: c reason: collision with root package name */ + public static final BillingResult f351c; + public static final BillingResult d; + public static final BillingResult e; + public static final BillingResult f; + public static final BillingResult g; + public static final BillingResult h; + public static final BillingResult i; + public static final BillingResult j; + public static final BillingResult k; + public static final BillingResult l; + public static final BillingResult m; + + static { + BillingResult billingResult = new BillingResult(); + billingResult.a = 3; + billingResult.b = "Google Play In-app Billing API version is less than 3"; + a = billingResult; + BillingResult billingResult2 = new BillingResult(); + billingResult2.a = 3; + billingResult2.b = "Google Play In-app Billing API version is less than 9"; + BillingResult billingResult3 = new BillingResult(); + billingResult3.a = 3; + billingResult3.b = "Billing service unavailable on device."; + b = billingResult3; + BillingResult billingResult4 = new BillingResult(); + billingResult4.a = 5; + billingResult4.b = "Client is already in the process of connecting to billing service."; + f351c = billingResult4; + BillingResult billingResult5 = new BillingResult(); + billingResult5.a = 3; + billingResult5.b = "Play Store version installed does not support cross selling products."; + BillingResult billingResult6 = new BillingResult(); + billingResult6.a = 5; + billingResult6.b = "The list of SKUs can't be empty."; + d = billingResult6; + BillingResult billingResult7 = new BillingResult(); + billingResult7.a = 5; + billingResult7.b = "SKU type can't be empty."; + e = billingResult7; + BillingResult billingResult8 = new BillingResult(); + billingResult8.a = -2; + billingResult8.b = "Client does not support extra params."; + f = billingResult8; + BillingResult billingResult9 = new BillingResult(); + billingResult9.a = -2; + billingResult9.b = "Client does not support the feature."; + g = billingResult9; + BillingResult billingResult10 = new BillingResult(); + billingResult10.a = -2; + billingResult10.b = "Client does not support get purchase history."; + BillingResult billingResult11 = new BillingResult(); + billingResult11.a = 5; + billingResult11.b = "Invalid purchase token."; + BillingResult billingResult12 = new BillingResult(); + billingResult12.a = 6; + billingResult12.b = "An internal error occurred."; + h = billingResult12; + BillingResult billingResult13 = new BillingResult(); + billingResult13.a = 4; + billingResult13.b = "Item is unavailable for purchase."; + BillingResult billingResult14 = new BillingResult(); + billingResult14.a = 5; + billingResult14.b = "SKU can't be null."; + BillingResult billingResult15 = new BillingResult(); + billingResult15.a = 5; + billingResult15.b = "SKU type can't be null."; + BillingResult billingResult16 = new BillingResult(); + billingResult16.a = 0; + billingResult16.b = ""; + i = billingResult16; + BillingResult billingResult17 = new BillingResult(); + billingResult17.a = -1; + billingResult17.b = "Service connection is disconnected."; + j = billingResult17; + BillingResult billingResult18 = new BillingResult(); + billingResult18.a = -3; + billingResult18.b = "Timeout communicating with service."; + k = billingResult18; + BillingResult billingResult19 = new BillingResult(); + billingResult19.a = -2; + billingResult19.b = "Client doesn't support subscriptions."; + l = billingResult19; + BillingResult billingResult20 = new BillingResult(); + billingResult20.a = -2; + billingResult20.b = "Client doesn't support subscriptions update."; + BillingResult billingResult21 = new BillingResult(); + billingResult21.a = -2; + billingResult21.b = "Client doesn't support multi-item purchases."; + m = billingResult21; + BillingResult billingResult22 = new BillingResult(); + billingResult22.a = 5; + billingResult22.b = "Unknown feature"; } } diff --git a/app/src/main/java/c/d/a/a/o.java b/app/src/main/java/c/d/a/a/o.java index 64a7dad212..59f932716b 100644 --- a/app/src/main/java/c/d/a/a/o.java +++ b/app/src/main/java/c/d/a/a/o.java @@ -1,59 +1,9 @@ package c.d.a.a; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public class o { + public final String a; -import android.content.ComponentName; -import android.content.ServiceConnection; -import android.os.IBinder; -import android.os.IInterface; -import c.i.a.f.h.n.a; -import c.i.a.f.h.n.b; -import c.i.a.f.h.n.c; -import c.i.a.f.h.n.d; -import com.android.billingclient.api.BillingResult; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class o implements ServiceConnection { - public final Object i = new Object(); - public boolean j = false; - public b k; - public final /* synthetic */ a l; - - public /* synthetic */ o(a aVar, b bVar) { - this.l = aVar; - this.k = bVar; - } - - public static void a(o oVar, BillingResult billingResult) { - oVar.l.h(new l(oVar, billingResult)); - } - - @Override // android.content.ServiceConnection - public final void onServiceConnected(ComponentName componentName, IBinder iBinder) { - d dVar; - a.a("BillingClient", "Billing service connected."); - a aVar = this.l; - int i = c.a; - if (iBinder == null) { - dVar = null; - } else { - IInterface queryLocalInterface = iBinder.queryLocalInterface("com.android.vending.billing.IInAppBillingService"); - dVar = queryLocalInterface instanceof d ? (d) queryLocalInterface : new b(iBinder); - } - aVar.f = dVar; - if (this.l.j(new m(this), 30000, new n(this)) == null) { - this.l.h(new l(this, this.l.i())); - } - } - - @Override // android.content.ServiceConnection - public final void onServiceDisconnected(ComponentName componentName) { - a.b("BillingClient", "Billing service disconnected."); - a aVar = this.l; - aVar.f = null; - aVar.a = 0; - synchronized (this.i) { - b bVar = this.k; - if (bVar != null) { - bVar.onBillingServiceDisconnected(); - } - } + public /* synthetic */ o(String str) { + this.a = str; } } diff --git a/app/src/main/java/c/d/a/a/p.java b/app/src/main/java/c/d/a/a/p.java new file mode 100644 index 0000000000..54e902a4de --- /dev/null +++ b/app/src/main/java/c/d/a/a/p.java @@ -0,0 +1,55 @@ +package c.d.a.a; + +import android.content.BroadcastReceiver; +import android.content.Context; +import android.content.Intent; +import android.os.Bundle; +import c.i.a.f.h.n.a; +import com.android.billingclient.api.BillingResult; +import com.android.billingclient.api.Purchase; +import java.util.ArrayList; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final class p extends BroadcastReceiver { + public final f a; + public boolean b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ q f352c; + + public /* synthetic */ p(q qVar, f fVar) { + this.f352c = qVar; + this.a = fVar; + } + + @Override // android.content.BroadcastReceiver + public final void onReceive(Context context, Intent intent) { + BillingResult c2 = a.c(intent, "BillingBroadcastManager"); + Bundle extras = intent.getExtras(); + ArrayList arrayList = null; + if (extras != null) { + ArrayList stringArrayList = extras.getStringArrayList("INAPP_PURCHASE_DATA_LIST"); + ArrayList stringArrayList2 = extras.getStringArrayList("INAPP_DATA_SIGNATURE_LIST"); + ArrayList arrayList2 = new ArrayList(); + if (stringArrayList == null || stringArrayList2 == null) { + a.f("BillingHelper", "Couldn't find purchase lists, trying to find single data."); + Purchase g = a.g(extras.getString("INAPP_PURCHASE_DATA"), extras.getString("INAPP_DATA_SIGNATURE")); + if (g == null) { + a.f("BillingHelper", "Couldn't find single purchase data as well."); + } else { + arrayList2.add(g); + } + } else { + int i = 0; + while (i < stringArrayList.size() && i < stringArrayList2.size()) { + Purchase g2 = a.g(stringArrayList.get(i), stringArrayList2.get(i)); + if (g2 != null) { + arrayList2.add(g2); + } + i++; + } + } + arrayList = arrayList2; + } + this.a.onPurchasesUpdated(c2, arrayList); + } +} diff --git a/app/src/main/java/c/d/a/a/q.java b/app/src/main/java/c/d/a/a/q.java index 612b3c584e..6036ab753d 100644 --- a/app/src/main/java/c/d/a/a/q.java +++ b/app/src/main/java/c/d/a/a/q.java @@ -1,105 +1,25 @@ package c.d.a.a; -import com.android.billingclient.api.BillingResult; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ +import android.content.Context; +import c.i.a.f.h.n.a; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ public final class q { - public static final BillingResult a; - public static final BillingResult b; + public final Context a; + public final p b; - /* renamed from: c reason: collision with root package name */ - public static final BillingResult f364c; - public static final BillingResult d; - public static final BillingResult e; - public static final BillingResult f; - public static final BillingResult g; - public static final BillingResult h; - public static final BillingResult i; - public static final BillingResult j; - public static final BillingResult k; - public static final BillingResult l; - public static final BillingResult m; - public static final BillingResult n; + public q(Context context, f fVar) { + this.a = context; + this.b = new p(this, fVar); + } - static { - BillingResult billingResult = new BillingResult(); - billingResult.a = 3; - billingResult.b = "Google Play In-app Billing API version is less than 3"; - a = billingResult; - BillingResult billingResult2 = new BillingResult(); - billingResult2.a = 3; - billingResult2.b = "Google Play In-app Billing API version is less than 9"; - BillingResult billingResult3 = new BillingResult(); - billingResult3.a = 3; - billingResult3.b = "Billing service unavailable on device."; - b = billingResult3; - BillingResult billingResult4 = new BillingResult(); - billingResult4.a = 5; - billingResult4.b = "Client is already in the process of connecting to billing service."; - f364c = billingResult4; - BillingResult billingResult5 = new BillingResult(); - billingResult5.a = 3; - billingResult5.b = "Play Store version installed does not support cross selling products."; - BillingResult billingResult6 = new BillingResult(); - billingResult6.a = 5; - billingResult6.b = "The list of SKUs can't be empty."; - d = billingResult6; - BillingResult billingResult7 = new BillingResult(); - billingResult7.a = 5; - billingResult7.b = "SKU type can't be empty."; - e = billingResult7; - BillingResult billingResult8 = new BillingResult(); - billingResult8.a = -2; - billingResult8.b = "Client does not support extra params."; - f = billingResult8; - BillingResult billingResult9 = new BillingResult(); - billingResult9.a = -2; - billingResult9.b = "Client does not support the feature."; - g = billingResult9; - BillingResult billingResult10 = new BillingResult(); - billingResult10.a = -2; - billingResult10.b = "Client does not support get purchase history."; - BillingResult billingResult11 = new BillingResult(); - billingResult11.a = 5; - billingResult11.b = "Invalid purchase token."; - BillingResult billingResult12 = new BillingResult(); - billingResult12.a = 6; - billingResult12.b = "An internal error occurred."; - h = billingResult12; - BillingResult billingResult13 = new BillingResult(); - billingResult13.a = 4; - billingResult13.b = "Item is unavailable for purchase."; - BillingResult billingResult14 = new BillingResult(); - billingResult14.a = 5; - billingResult14.b = "SKU can't be null."; - BillingResult billingResult15 = new BillingResult(); - billingResult15.a = 5; - billingResult15.b = "SKU type can't be null."; - BillingResult billingResult16 = new BillingResult(); - billingResult16.a = 0; - billingResult16.b = ""; - i = billingResult16; - BillingResult billingResult17 = new BillingResult(); - billingResult17.a = -1; - billingResult17.b = "Service connection is disconnected."; - j = billingResult17; - BillingResult billingResult18 = new BillingResult(); - billingResult18.a = -3; - billingResult18.b = "Timeout communicating with service."; - k = billingResult18; - BillingResult billingResult19 = new BillingResult(); - billingResult19.a = -2; - billingResult19.b = "Client doesn't support subscriptions."; - l = billingResult19; - BillingResult billingResult20 = new BillingResult(); - billingResult20.a = -2; - billingResult20.b = "Client doesn't support subscriptions update."; - m = billingResult20; - BillingResult billingResult21 = new BillingResult(); - billingResult21.a = -2; - billingResult21.b = "Client doesn't support multi-item purchases."; - n = billingResult21; - BillingResult billingResult22 = new BillingResult(); - billingResult22.a = 5; - billingResult22.b = "Unknown feature"; + public final void a() { + p pVar = this.b; + Context context = this.a; + if (pVar.b) { + context.unregisterReceiver(pVar.f352c.b); + pVar.b = false; + return; + } + a.f("BillingBroadcastManager", "Receiver is not registered."); } } diff --git a/app/src/main/java/c/d/a/a/r.java b/app/src/main/java/c/d/a/a/r.java index 1d78f84061..ed4526cb88 100644 --- a/app/src/main/java/c/d/a/a/r.java +++ b/app/src/main/java/c/d/a/a/r.java @@ -1,20 +1,73 @@ package c.d.a.a; -import androidx.annotation.Nullable; -import com.android.billingclient.api.SkuDetails; -import java.util.List; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class r { - @Nullable - public final List a; - public final int b; +import android.os.Bundle; +import c.i.a.f.h.n.a; +import c.i.a.f.h.n.d; +import com.android.billingclient.api.BillingResult; +import java.util.Objects; +import java.util.concurrent.Callable; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final /* synthetic */ class r implements Callable { + public final /* synthetic */ a i; + public final /* synthetic */ d j; + public final /* synthetic */ e k; - /* renamed from: c reason: collision with root package name */ - public final String f365c; + public /* synthetic */ r(a aVar, d dVar, e eVar) { + this.i = aVar; + this.j = dVar; + this.k = eVar; + } - public r(int i, String str, @Nullable List list) { - this.b = i; - this.f365c = str; - this.a = list; + @Override // java.util.concurrent.Callable + public final Object call() { + int i; + String str; + a aVar = this.i; + d dVar = this.j; + e eVar = this.k; + Objects.requireNonNull(aVar); + String str2 = dVar.a; + try { + String valueOf = String.valueOf(str2); + a.e("BillingClient", valueOf.length() != 0 ? "Consuming purchase with token: ".concat(valueOf) : new String("Consuming purchase with token: ")); + if (aVar.k) { + d dVar2 = aVar.f; + String packageName = aVar.e.getPackageName(); + boolean z2 = aVar.k; + String str3 = aVar.b; + Bundle bundle = new Bundle(); + if (z2) { + bundle.putString("playBillingLibraryVersion", str3); + } + Bundle q = dVar2.q(9, packageName, str2, bundle); + i = q.getInt("RESPONSE_CODE"); + str = a.d(q, "BillingClient"); + } else { + i = aVar.f.p(3, aVar.e.getPackageName(), str2); + str = ""; + } + BillingResult billingResult = new BillingResult(); + billingResult.a = i; + billingResult.b = str; + if (i == 0) { + a.e("BillingClient", "Successfully consumed purchase."); + eVar.onConsumeResponse(billingResult, str2); + return null; + } + StringBuilder sb = new StringBuilder(63); + sb.append("Error consuming purchase with token. Response code: "); + sb.append(i); + a.f("BillingClient", sb.toString()); + eVar.onConsumeResponse(billingResult, str2); + return null; + } catch (Exception e) { + String valueOf2 = String.valueOf(e); + StringBuilder sb2 = new StringBuilder(valueOf2.length() + 30); + sb2.append("Error consuming purchase; ex: "); + sb2.append(valueOf2); + a.f("BillingClient", sb2.toString()); + eVar.onConsumeResponse(n.j, str2); + return null; + } } } diff --git a/app/src/main/java/c/d/a/a/s.java b/app/src/main/java/c/d/a/a/s.java index 6761357b0e..eff237a9c0 100644 --- a/app/src/main/java/c/d/a/a/s.java +++ b/app/src/main/java/c/d/a/a/s.java @@ -1,9 +1,23 @@ package c.d.a.a; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public class s { - public final String a; - public /* synthetic */ s(String str) { - this.a = str; +import com.android.billingclient.api.SkuDetails; +import java.util.concurrent.Callable; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final /* synthetic */ class s implements Callable { + public final /* synthetic */ a i; + public final /* synthetic */ SkuDetails j; + public final /* synthetic */ String k; + + public /* synthetic */ s(a aVar, SkuDetails skuDetails, String str) { + this.i = aVar; + this.j = skuDetails; + this.k = str; + } + + @Override // java.util.concurrent.Callable + public final Object call() { + a aVar = this.i; + SkuDetails skuDetails = this.j; + return aVar.f.G(3, aVar.e.getPackageName(), skuDetails.d(), this.k, null); } } diff --git a/app/src/main/java/c/d/a/a/t.java b/app/src/main/java/c/d/a/a/t.java index 839e7c2820..91a86b786b 100644 --- a/app/src/main/java/c/d/a/a/t.java +++ b/app/src/main/java/c/d/a/a/t.java @@ -1,55 +1,133 @@ package c.d.a.a; -import android.content.BroadcastReceiver; -import android.content.Context; -import android.content.Intent; import android.os.Bundle; import c.i.a.f.h.n.a; import com.android.billingclient.api.BillingResult; -import com.android.billingclient.api.Purchase; +import com.android.billingclient.api.SkuDetails; import java.util.ArrayList; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class t extends BroadcastReceiver { - public final e a; - public boolean b; +import java.util.List; +import java.util.Objects; +import java.util.concurrent.Callable; +import org.json.JSONException; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final /* synthetic */ class t implements Callable { + public final /* synthetic */ a i; + public final /* synthetic */ String j; + public final /* synthetic */ List k; + public final /* synthetic */ h l; - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ u f366c; - - public /* synthetic */ t(u uVar, e eVar) { - this.f366c = uVar; - this.a = eVar; + public /* synthetic */ t(a aVar, String str, List list, h hVar) { + this.i = aVar; + this.j = str; + this.k = list; + this.l = hVar; } - @Override // android.content.BroadcastReceiver - public final void onReceive(Context context, Intent intent) { - BillingResult c2 = a.c(intent, "BillingBroadcastManager"); - Bundle extras = intent.getExtras(); - ArrayList arrayList = null; - if (extras != null) { - ArrayList stringArrayList = extras.getStringArrayList("INAPP_PURCHASE_DATA_LIST"); - ArrayList stringArrayList2 = extras.getStringArrayList("INAPP_DATA_SIGNATURE_LIST"); - ArrayList arrayList2 = new ArrayList(); - if (stringArrayList == null || stringArrayList2 == null) { - a.b("BillingHelper", "Couldn't find purchase lists, trying to find single data."); - Purchase g = a.g(extras.getString("INAPP_PURCHASE_DATA"), extras.getString("INAPP_DATA_SIGNATURE")); - if (g == null) { - a.b("BillingHelper", "Couldn't find single purchase data as well."); - } else { - arrayList2.add(g); - } - } else { - int i = 0; - while (i < stringArrayList.size() && i < stringArrayList2.size()) { - Purchase g2 = a.g(stringArrayList.get(i), stringArrayList2.get(i)); - if (g2 != null) { - arrayList2.add(g2); - } - i++; - } + /* JADX WARNING: Code restructure failed: missing block: B:26:0x00cd, code lost: + r14 = 4; + r0 = "Item is unavailable for purchase."; + */ + @Override // java.util.concurrent.Callable + public final Object call() { + String str; + int i; + Bundle bundle; + int i2; + a aVar = this.i; + String str2 = this.j; + List list = this.k; + h hVar = this.l; + Objects.requireNonNull(aVar); + ArrayList arrayList = new ArrayList(); + int size = list.size(); + int i3 = 0; + while (true) { + if (i3 >= size) { + str = ""; + i = 0; + break; + } + int i4 = i3 + 20; + ArrayList arrayList2 = new ArrayList(list.subList(i3, i4 > size ? size : i4)); + ArrayList arrayList3 = new ArrayList<>(); + int size2 = arrayList2.size(); + for (int i5 = 0; i5 < size2; i5++) { + arrayList3.add(((o) arrayList2.get(i5)).a); + } + Bundle bundle2 = new Bundle(); + bundle2.putStringArrayList("ITEM_ID_LIST", arrayList3); + bundle2.putString("playBillingLibraryVersion", aVar.b); + try { + if (aVar.l) { + i2 = i4; + bundle = aVar.f.n(10, aVar.e.getPackageName(), str2, bundle2, a.b(aVar.i, aVar.p, aVar.b, null, arrayList2)); + } else { + i2 = i4; + bundle = aVar.f.g0(3, aVar.e.getPackageName(), str2, bundle2); + } + if (bundle == null) { + a.f("BillingClient", "querySkuDetailsAsync got null sku details list"); + break; + } else if (!bundle.containsKey("DETAILS_LIST")) { + i = a.a(bundle, "BillingClient"); + str = a.d(bundle, "BillingClient"); + if (i != 0) { + StringBuilder sb = new StringBuilder(50); + sb.append("getSkuDetails() failed. Response code: "); + sb.append(i); + a.f("BillingClient", sb.toString()); + } else { + a.f("BillingClient", "getSkuDetails() returned a bundle with neither an error nor a detail list."); + } + } else { + ArrayList stringArrayList = bundle.getStringArrayList("DETAILS_LIST"); + if (stringArrayList == null) { + a.f("BillingClient", "querySkuDetailsAsync got null response list"); + break; + } + for (int i6 = 0; i6 < stringArrayList.size(); i6++) { + try { + SkuDetails skuDetails = new SkuDetails(stringArrayList.get(i6)); + String valueOf = String.valueOf(skuDetails); + StringBuilder sb2 = new StringBuilder(valueOf.length() + 17); + sb2.append("Got sku details: "); + sb2.append(valueOf); + a.e("BillingClient", sb2.toString()); + arrayList.add(skuDetails); + } catch (JSONException unused) { + a.f("BillingClient", "Got a JSON exception trying to decode SkuDetails."); + str = "Error trying to decode SkuDetails."; + arrayList = null; + i = 6; + BillingResult billingResult = new BillingResult(); + billingResult.a = i; + billingResult.b = str; + hVar.onSkuDetailsResponse(billingResult, arrayList); + return null; + } + } + i3 = i2; + } + } catch (Exception e) { + String valueOf2 = String.valueOf(e); + StringBuilder sb3 = new StringBuilder(valueOf2.length() + 63); + sb3.append("querySkuDetailsAsync got a remote exception (try to reconnect)."); + sb3.append(valueOf2); + a.f("BillingClient", sb3.toString()); + i = -1; + str = "Service connection is disconnected."; } - arrayList = arrayList2; } - this.a.onPurchasesUpdated(c2, arrayList); + BillingResult billingResult = new BillingResult(); + billingResult.a = i; + billingResult.b = str; + hVar.onSkuDetailsResponse(billingResult, arrayList); + return null; + arrayList = null; + BillingResult billingResult = new BillingResult(); + billingResult.a = i; + billingResult.b = str; + hVar.onSkuDetailsResponse(billingResult, arrayList); + return null; } } diff --git a/app/src/main/java/c/d/a/a/u.java b/app/src/main/java/c/d/a/a/u.java index 1dc931bc42..6e8bbf0d65 100644 --- a/app/src/main/java/c/d/a/a/u.java +++ b/app/src/main/java/c/d/a/a/u.java @@ -1,25 +1,19 @@ package c.d.a.a; -import android.content.Context; -import c.i.a.f.h.n.a; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class u { - public final Context a; - public final t b; +import com.android.billingclient.api.BillingResult; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final /* synthetic */ class u implements Runnable { + public final /* synthetic */ a i; + public final /* synthetic */ BillingResult j; - public u(Context context, e eVar) { - this.a = context; - this.b = new t(this, eVar); + public /* synthetic */ u(a aVar, BillingResult billingResult) { + this.i = aVar; + this.j = billingResult; } - public final void a() { - t tVar = this.b; - Context context = this.a; - if (tVar.b) { - context.unregisterReceiver(tVar.f366c.b); - tVar.b = false; - return; - } - a.b("BillingBroadcastManager", "Receiver is not registered."); + @Override // java.lang.Runnable + public final void run() { + a aVar = this.i; + aVar.d.b.a.onPurchasesUpdated(this.j, null); } } diff --git a/app/src/main/java/c/d/a/a/v.java b/app/src/main/java/c/d/a/a/v.java index 3e44b4d9b2..e49c6f13ce 100644 --- a/app/src/main/java/c/d/a/a/v.java +++ b/app/src/main/java/c/d/a/a/v.java @@ -1,14 +1,16 @@ package c.d.a.a; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class v implements Runnable { - public final /* synthetic */ g i; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final /* synthetic */ class v implements Runnable { + public final /* synthetic */ e i; + public final /* synthetic */ d j; - public v(g gVar) { - this.i = gVar; + public /* synthetic */ v(e eVar, d dVar) { + this.i = eVar; + this.j = dVar; } @Override // java.lang.Runnable public final void run() { - this.i.onSkuDetailsResponse(q.k, null); + this.i.onConsumeResponse(n.k, this.j.a); } } diff --git a/app/src/main/java/c/d/a/a/w.java b/app/src/main/java/c/d/a/a/w.java index 9c6af5bdfa..474115f4dd 100644 --- a/app/src/main/java/c/d/a/a/w.java +++ b/app/src/main/java/c/d/a/a/w.java @@ -1,62 +1,14 @@ package c.d.a.a; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final /* synthetic */ class w implements Runnable { + public final /* synthetic */ h i; -import android.os.Bundle; -import c.i.a.f.h.n.a; -import c.i.a.f.h.n.d; -import com.android.billingclient.api.BillingResult; -import java.util.concurrent.Callable; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class w implements Callable { - public final /* synthetic */ c i; - public final /* synthetic */ d j; - public final /* synthetic */ a k; - - public w(a aVar, c cVar, d dVar) { - this.k = aVar; - this.i = cVar; - this.j = dVar; + public /* synthetic */ w(h hVar) { + this.i = hVar; } - /* Return type fixed from 'java.lang.Object' to match base method */ - @Override // java.util.concurrent.Callable - public final Void call() throws Exception { - int i; - String str; - a aVar = this.k; - c cVar = this.i; - d dVar = this.j; - String str2 = cVar.a; - try { - String valueOf = String.valueOf(str2); - a.a("BillingClient", valueOf.length() != 0 ? "Consuming purchase with token: ".concat(valueOf) : new String("Consuming purchase with token: ")); - if (aVar.l) { - d dVar2 = aVar.f; - String packageName = aVar.e.getPackageName(); - boolean z2 = aVar.l; - String str3 = aVar.b; - Bundle bundle = new Bundle(); - if (z2) { - bundle.putString("playBillingLibraryVersion", str3); - } - Bundle o0 = dVar2.o0(9, packageName, str2, bundle); - i = o0.getInt("RESPONSE_CODE"); - str = a.e(o0, "BillingClient"); - } else { - i = aVar.f.Y(3, aVar.e.getPackageName(), str2); - str = ""; - } - BillingResult billingResult = new BillingResult(); - billingResult.a = i; - billingResult.b = str; - if (i == 0) { - aVar.h(new a0(dVar, billingResult, str2)); - return null; - } - aVar.h(new b0(i, dVar, billingResult, str2)); - return null; - } catch (Exception e) { - aVar.h(new c0(e, dVar, str2)); - return null; - } + @Override // java.lang.Runnable + public final void run() { + this.i.onSkuDetailsResponse(n.k, null); } } diff --git a/app/src/main/java/c/d/a/a/x.java b/app/src/main/java/c/d/a/a/x.java index f685f627b3..4e567d2475 100644 --- a/app/src/main/java/c/d/a/a/x.java +++ b/app/src/main/java/c/d/a/a/x.java @@ -1,16 +1,27 @@ package c.d.a.a; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class x implements Runnable { - public final /* synthetic */ d i; - public final /* synthetic */ c j; - public x(d dVar, c cVar) { - this.i = dVar; - this.j = cVar; +import c.i.a.f.h.n.a; +import java.util.concurrent.Future; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final /* synthetic */ class x implements Runnable { + public final /* synthetic */ Future i; + public final /* synthetic */ Runnable j; + + public /* synthetic */ x(Future future, Runnable runnable) { + this.i = future; + this.j = runnable; } @Override // java.lang.Runnable public final void run() { - this.i.onConsumeResponse(q.k, this.j.a); + Future future = this.i; + Runnable runnable = this.j; + if (!future.isDone() && !future.isCancelled()) { + future.cancel(true); + a.f("BillingClient", "Async task is taking too long, cancel it!"); + if (runnable != null) { + runnable.run(); + } + } } } diff --git a/app/src/main/java/c/d/a/a/y.java b/app/src/main/java/c/d/a/a/y.java index c66368fdae..abc1540418 100644 --- a/app/src/main/java/c/d/a/a/y.java +++ b/app/src/main/java/c/d/a/a/y.java @@ -1,24 +1,32 @@ package c.d.a.a; -import java.util.concurrent.Executors; -import java.util.concurrent.ThreadFactory; -import java.util.concurrent.atomic.AtomicInteger; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class y implements ThreadFactory { - public final ThreadFactory i = Executors.defaultThreadFactory(); - public final AtomicInteger j = new AtomicInteger(1); +import android.os.Bundle; +import com.android.billingclient.api.BillingFlowParams; +import com.android.billingclient.api.SkuDetails; +import java.util.concurrent.Callable; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final /* synthetic */ class y implements Callable { + public final /* synthetic */ a i; + public final /* synthetic */ int j; + public final /* synthetic */ SkuDetails k; + public final /* synthetic */ String l; + public final /* synthetic */ BillingFlowParams m; + public final /* synthetic */ Bundle n; - public y(a aVar) { + public /* synthetic */ y(a aVar, int i, SkuDetails skuDetails, String str, BillingFlowParams billingFlowParams, Bundle bundle) { + this.i = aVar; + this.j = i; + this.k = skuDetails; + this.l = str; + this.m = billingFlowParams; + this.n = bundle; } - @Override // java.util.concurrent.ThreadFactory - public final Thread newThread(Runnable runnable) { - Thread newThread = this.i.newThread(runnable); - int andIncrement = this.j.getAndIncrement(); - StringBuilder sb = new StringBuilder(30); - sb.append("PlayBillingLibrary-"); - sb.append(andIncrement); - newThread.setName(sb.toString()); - return newThread; + @Override // java.util.concurrent.Callable + public final Object call() { + a aVar = this.i; + int i = this.j; + SkuDetails skuDetails = this.k; + return aVar.f.e0(i, aVar.e.getPackageName(), skuDetails.d(), this.l, null, this.n); } } diff --git a/app/src/main/java/c/d/a/a/z.java b/app/src/main/java/c/d/a/a/z.java index dd1ca37519..718a91b6bb 100644 --- a/app/src/main/java/c/d/a/a/z.java +++ b/app/src/main/java/c/d/a/a/z.java @@ -1,26 +1,120 @@ package c.d.a.a; +import android.os.Bundle; +import android.text.TextUtils; import c.i.a.f.h.n.a; -import java.util.concurrent.Future; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ -public final class z implements Runnable { - public final /* synthetic */ Future i; - public final /* synthetic */ Runnable j; +import com.android.billingclient.api.BillingResult; +import com.android.billingclient.api.Purchase; +import java.util.ArrayList; +import java.util.concurrent.Callable; +import org.json.JSONException; +/* compiled from: com.android.billingclient:billing@@4.0.0 */ +public final class z implements Callable { + public final /* synthetic */ String i; + public final /* synthetic */ a j; - public z(Future future, Runnable runnable) { - this.i = future; - this.j = runnable; + public z(a aVar, String str) { + this.j = aVar; + this.i = str; } - @Override // java.lang.Runnable - public final void run() { - if (!this.i.isDone() && !this.i.isCancelled()) { - this.i.cancel(true); - a.b("BillingClient", "Async task is taking too long, cancel it!"); - Runnable runnable = this.j; - if (runnable != null) { - runnable.run(); - } + /* Return type fixed from 'java.lang.Object' to match base method */ + @Override // java.util.concurrent.Callable + public final Purchase.a call() throws Exception { + a aVar = this.j; + String str = this.i; + String valueOf = String.valueOf(str); + a.e("BillingClient", valueOf.length() != 0 ? "Querying owned items, item type: ".concat(valueOf) : new String("Querying owned items, item type: ")); + ArrayList arrayList = new ArrayList(); + boolean z2 = aVar.k; + boolean z3 = aVar.p; + String str2 = aVar.b; + Bundle bundle = new Bundle(); + bundle.putString("playBillingLibraryVersion", str2); + int i = 1; + if (z2 && z3) { + bundle.putBoolean("enablePendingPurchases", true); } + String str3 = null; + do { + try { + Bundle s0 = aVar.k ? aVar.f.s0(9, aVar.e.getPackageName(), str, str3, bundle) : aVar.f.F(3, aVar.e.getPackageName(), str, str3); + BillingResult billingResult = n.h; + if (s0 == null) { + Object[] objArr = new Object[i]; + objArr[0] = "getPurchase()"; + a.f("BillingClient", String.format("%s got null owned items list", objArr)); + } else { + int a = a.a(s0, "BillingClient"); + String d = a.d(s0, "BillingClient"); + BillingResult billingResult2 = new BillingResult(); + billingResult2.a = a; + billingResult2.b = d; + if (a != 0) { + a.f("BillingClient", String.format("%s failed. Response code: %s", "getPurchase()", Integer.valueOf(a))); + billingResult = billingResult2; + i = 1; + } else if (!s0.containsKey("INAPP_PURCHASE_ITEM_LIST") || !s0.containsKey("INAPP_PURCHASE_DATA_LIST") || !s0.containsKey("INAPP_DATA_SIGNATURE_LIST")) { + i = 1; + a.f("BillingClient", String.format("Bundle returned from %s doesn't contain required fields.", "getPurchase()")); + } else { + ArrayList stringArrayList = s0.getStringArrayList("INAPP_PURCHASE_ITEM_LIST"); + ArrayList stringArrayList2 = s0.getStringArrayList("INAPP_PURCHASE_DATA_LIST"); + ArrayList stringArrayList3 = s0.getStringArrayList("INAPP_DATA_SIGNATURE_LIST"); + if (stringArrayList == null) { + i = 1; + a.f("BillingClient", String.format("Bundle returned from %s contains null SKUs list.", "getPurchase()")); + } else { + i = 1; + if (stringArrayList2 == null) { + a.f("BillingClient", String.format("Bundle returned from %s contains null purchases list.", "getPurchase()")); + } else if (stringArrayList3 == null) { + a.f("BillingClient", String.format("Bundle returned from %s contains null signatures list.", "getPurchase()")); + } else { + billingResult = n.i; + } + } + } + } + if (billingResult != n.i) { + return new Purchase.a(billingResult, null); + } + ArrayList stringArrayList4 = s0.getStringArrayList("INAPP_PURCHASE_ITEM_LIST"); + ArrayList stringArrayList5 = s0.getStringArrayList("INAPP_PURCHASE_DATA_LIST"); + ArrayList stringArrayList6 = s0.getStringArrayList("INAPP_DATA_SIGNATURE_LIST"); + for (int i2 = 0; i2 < stringArrayList5.size(); i2++) { + String str4 = stringArrayList5.get(i2); + String str5 = stringArrayList6.get(i2); + String valueOf2 = String.valueOf(stringArrayList4.get(i2)); + a.e("BillingClient", valueOf2.length() != 0 ? "Sku is owned: ".concat(valueOf2) : new String("Sku is owned: ")); + try { + Purchase purchase = new Purchase(str4, str5); + if (TextUtils.isEmpty(purchase.a())) { + a.f("BillingClient", "BUG: empty/null token!"); + } + arrayList.add(purchase); + } catch (JSONException e) { + String valueOf3 = String.valueOf(e); + StringBuilder sb = new StringBuilder(valueOf3.length() + 48); + sb.append("Got an exception trying to decode the purchase: "); + sb.append(valueOf3); + a.f("BillingClient", sb.toString()); + return new Purchase.a(n.h, null); + } + } + str3 = s0.getString("INAPP_CONTINUATION_TOKEN"); + String valueOf4 = String.valueOf(str3); + a.e("BillingClient", valueOf4.length() != 0 ? "Continuation token: ".concat(valueOf4) : new String("Continuation token: ")); + } catch (Exception e2) { + String valueOf5 = String.valueOf(e2); + StringBuilder sb2 = new StringBuilder(valueOf5.length() + 57); + sb2.append("Got exception trying to get purchases: "); + sb2.append(valueOf5); + sb2.append("; try to reconnect"); + a.f("BillingClient", sb2.toString()); + return new Purchase.a(n.j, null); + } + } while (!TextUtils.isEmpty(str3)); + return new Purchase.a(n.i, arrayList); } } diff --git a/app/src/main/java/c/d/a/b/a.java b/app/src/main/java/c/d/a/b/a.java index 51aa528f8c..bd2f3fde12 100644 --- a/app/src/main/java/c/d/a/b/a.java +++ b/app/src/main/java/c/d/a/b/a.java @@ -1,4 +1,4 @@ package c.d.a.b; -/* compiled from: com.android.billingclient:billing-ktx@@3.0.3 */ +/* compiled from: com.android.billingclient:billing-ktx@@4.0.0 */ public final class a { } diff --git a/app/src/main/java/c/d/b/a/a.java b/app/src/main/java/c/d/b/a/a.java index 76fbca6781..a40a93f13f 100644 --- a/app/src/main/java/c/d/b/a/a.java +++ b/app/src/main/java/c/d/b/a/a.java @@ -11,25 +11,25 @@ import androidx.fragment.app.FragmentActivity; import androidx.lifecycle.ViewModelProvider; import androidx.lifecycle.ViewModelStore; import androidx.recyclerview.widget.RecyclerView; -import c.a.i.h4; +import c.a.a.z.c; +import c.a.i.g4; import c.a.q.o0.e; import c.i.c.m.d.b; -import c0.e0.g; -import c0.e0.p.d.m0.f.z.b; -import c0.e0.p.d.m0.n.n1.i; -import c0.o; -import c0.z.d.a0; -import c0.z.d.l; -import c0.z.d.m; -import c0.z.d.y; import com.discord.api.channel.Channel; import com.discord.models.domain.Model; import com.discord.models.guild.Guild; import com.discord.models.user.User; import com.esotericsoftware.kryo.KryoException; -import com.google.android.exoplayer2.Format; -import g0.a.a.c; -import g0.a.a.v; +import com.google.android.exoplayer2.ParserException; +import d0.e0.g; +import d0.e0.p.d.m0.f.z.b; +import d0.e0.p.d.m0.n.n1.i; +import d0.o; +import d0.z.d.a0; +import d0.z.d.l; +import d0.z.d.m; +import d0.z.d.y; +import h0.a.a.v; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Arrays; @@ -40,85 +40,108 @@ import kotlin.Pair; import kotlin.jvm.internal.Ref$ObjectRef; /* compiled from: outline */ public class a { - public static String A(StringBuilder sb, long j, String str) { + public static String A(StringBuilder sb, int i, String str) { + sb.append(i); + sb.append(str); + return sb.toString(); + } + + public static String B(StringBuilder sb, long j, String str) { sb.append(j); sb.append(str); return sb.toString(); } - public static String B(StringBuilder sb, Boolean bool, String str) { + public static String C(StringBuilder sb, Boolean bool, String str) { sb.append(bool); sb.append(str); return sb.toString(); } - public static String C(StringBuilder sb, CharSequence charSequence, String str) { + public static String D(StringBuilder sb, CharSequence charSequence, String str) { sb.append(charSequence); sb.append(str); return sb.toString(); } - public static String D(StringBuilder sb, Integer num, String str) { + public static String E(StringBuilder sb, Integer num, String str) { sb.append(num); sb.append(str); return sb.toString(); } - public static String E(StringBuilder sb, Long l, String str) { + public static String F(StringBuilder sb, Long l, String str) { sb.append(l); sb.append(str); return sb.toString(); } - public static String F(StringBuilder sb, String str, char c2) { + public static String G(StringBuilder sb, String str, char c2) { sb.append(str); sb.append(c2); return sb.toString(); } - public static String G(StringBuilder sb, String str, String str2) { + public static String H(StringBuilder sb, String str, String str2) { sb.append(str); sb.append(str2); return sb.toString(); } - public static String H(StringBuilder sb, List list, String str) { - sb.append(list); - sb.append(str); - return sb.toString(); - } - public static Bundle I(String str, long j) { Bundle bundle = new Bundle(); bundle.putLong(str, j); return bundle; } - public static String J(StringBuilder sb, Map map, String str) { + public static String J(StringBuilder sb, List list, String str) { + sb.append(list); + sb.append(str); + return sb.toString(); + } + + public static String K(StringBuilder sb, Map map, String str) { sb.append(map); sb.append(str); return sb.toString(); } - public static String K(StringBuilder sb, boolean z2, String str) { + public static String L(StringBuilder sb, boolean z2, String str) { sb.append(z2); sb.append(str); return sb.toString(); } - public static String L(Object[] objArr, int i, String str, String str2) { + public static String M(Object[] objArr, int i, String str, String str2) { String format = String.format(str, Arrays.copyOf(objArr, i)); m.checkNotNullExpressionValue(format, str2); return format; } - public static StringBuilder M(char c2) { + public static StringBuilder N(char c2) { StringBuilder sb = new StringBuilder(); sb.append(c2); return sb; } - public static StringBuilder N(int i, String str, String str2, String str3, String str4) { + public static StringBuilder O(int i, String str, int i2, String str2, int i3) { + StringBuilder sb = new StringBuilder(i); + sb.append(str); + sb.append(i2); + sb.append(str2); + sb.append(i3); + return sb; + } + + public static StringBuilder P(int i, String str, long j, String str2) { + StringBuilder sb = new StringBuilder(i); + sb.append(str); + sb.append(j); + sb.append(str2); + return sb; + } + + public static StringBuilder Q(int i, String str, String str2, String str3, String str4) { StringBuilder sb = new StringBuilder(i); sb.append(str); sb.append(str2); @@ -127,13 +150,13 @@ public class a { return sb; } - public static StringBuilder O(String str) { + public static StringBuilder R(String str) { StringBuilder sb = new StringBuilder(); sb.append(str); return sb; } - public static StringBuilder P(String str, int i, String str2) { + public static StringBuilder S(String str, int i, String str2) { StringBuilder sb = new StringBuilder(); sb.append(str); sb.append(i); @@ -141,38 +164,30 @@ public class a { return sb; } - public static StringBuilder Q(String str, int i, String str2, int i2, String str3) { - StringBuilder sb = new StringBuilder(); - sb.append(str); - sb.append(i); - sb.append(str2); - sb.append(i2); - sb.append(str3); - return sb; - } - - public static StringBuilder R(String str, long j, String str2) { - StringBuilder sb = new StringBuilder(); - sb.append(str); - sb.append(j); - sb.append(str2); - return sb; - } - - public static StringBuilder S(String str, String str2) { - StringBuilder sb = new StringBuilder(); - sb.append(str); - sb.append(str2); - return sb; - } - public static ViewModelProvider.Factory T(Fragment fragment, String str) { FragmentActivity requireActivity = fragment.requireActivity(); m.checkNotNullExpressionValue(requireActivity, str); return requireActivity.getDefaultViewModelProviderFactory(); } - public static StringBuilder U(String str, String str2, String str3) { + public static StringBuilder U(String str, int i, String str2, int i2, String str3) { + StringBuilder sb = new StringBuilder(); + sb.append(str); + sb.append(i); + sb.append(str2); + sb.append(i2); + sb.append(str3); + return sb; + } + + public static StringBuilder V(String str, String str2) { + StringBuilder sb = new StringBuilder(); + sb.append(str); + sb.append(str2); + return sb; + } + + public static StringBuilder W(String str, String str2, String str3) { StringBuilder sb = new StringBuilder(); sb.append(str); sb.append(str2); @@ -180,7 +195,7 @@ public class a { return sb; } - public static StringBuilder V(String str, i iVar, String str2) { + public static StringBuilder X(String str, i iVar, String str2) { StringBuilder sb = new StringBuilder(); sb.append(str); sb.append(iVar); @@ -188,66 +203,51 @@ public class a { return sb; } - public static ArrayList W(List list, String str) { + public static ArrayList Y(List list, String str) { m.checkNotNullExpressionValue(list, str); return new ArrayList(); } - public static Pair X(e.b bVar, Float f, String str) { + public static Pair Z(e.b bVar, Float f, String str) { return o.to(str, Long.valueOf(e.b.a(bVar, f))); } - public static Ref$ObjectRef Y(Model.JsonReader jsonReader, String str) { - m.checkNotNullParameter(jsonReader, str); - return new Ref$ObjectRef(); - } - - public static g Z(Class cls, String str, String str2, int i) { - return a0.property1(new y(cls, str, str2, i)); - } - public static float a(float f, float f2, float f3, float f4) { return ((f - f2) * f3) + f4; } - public static void a0(int i, Canvas canvas, int i2, int i3) { - l.finallyStart(i); - canvas.restoreToCount(i2); - l.finallyEnd(i3); + public static Ref$ObjectRef a0(Model.JsonReader jsonReader, String str) { + m.checkNotNullParameter(jsonReader, str); + return new Ref$ObjectRef(); } public static int b(String str, int i) { return String.valueOf(str).length() + i; } - public static void b0(int i, String str, String str2, String str3) { - StringBuilder sb = new StringBuilder(i); - sb.append(str); - sb.append(str2); - Log.w(str3, sb.toString()); + public static g b0(Class cls, String str, String str2, int i) { + return a0.property1(new y(cls, str, str2, i)); } public static Object c(Channel channel, Map map) { return map.get(Long.valueOf(channel.h())); } - public static void c0(int i, String str, String str2, String str3, String str4) { - StringBuilder sb = new StringBuilder(i); - sb.append(str); - sb.append(str2); - sb.append(str3); - Log.w(str4, sb.toString()); + public static void c0(int i, Canvas canvas, int i2, int i3) { + l.finallyStart(i); + canvas.restoreToCount(i2); + l.finallyEnd(i3); } public static Object d(Guild guild, Map map) { return map.get(Long.valueOf(guild.getId())); } - public static void d0(int i, HashMap hashMap, String str, int i2, String str2, int i3, String str3, int i4, String str4) { - hashMap.put(str, Integer.valueOf(i)); - hashMap.put(str2, Integer.valueOf(i2)); - hashMap.put(str3, Integer.valueOf(i3)); - hashMap.put(str4, Integer.valueOf(i4)); + public static void d0(int i, String str, int i2, String str2) { + StringBuilder sb = new StringBuilder(i); + sb.append(str); + sb.append(i2); + Log.w(str2, sb.toString()); } public static Object e(User user, Map map) { @@ -269,12 +269,58 @@ public class a { return sb.toString(); } - public static void f0(Class cls, StringBuilder sb, String str) { + public static void f0(int i, String str, String str2, String str3) { + StringBuilder sb = new StringBuilder(i); + sb.append(str); + sb.append(str2); + Log.w(str3, sb.toString()); + } + + public static String g(int i, String str, int i2, String str2, int i3) { + StringBuilder sb = new StringBuilder(i); + sb.append(str); + sb.append(i2); + sb.append(str2); + sb.append(i3); + return sb.toString(); + } + + public static void g0(int i, String str, String str2, String str3, String str4) { + StringBuilder sb = new StringBuilder(i); + sb.append(str); + sb.append(str2); + sb.append(str3); + Log.w(str4, sb.toString()); + } + + public static String h(int i, String str, long j, String str2) { + StringBuilder sb = new StringBuilder(i); + sb.append(str); + sb.append(j); + sb.append(str2); + return sb.toString(); + } + + public static void h0(int i, HashMap hashMap, String str, int i2, String str2, int i3, String str3, int i4, String str4) { + hashMap.put(str, Integer.valueOf(i)); + hashMap.put(str2, Integer.valueOf(i2)); + hashMap.put(str3, Integer.valueOf(i3)); + hashMap.put(str4, Integer.valueOf(i4)); + } + + public static String i(int i, String str, String str2) { + StringBuilder sb = new StringBuilder(i); + sb.append(str); + sb.append(str2); + return sb.toString(); + } + + public static void i0(Class cls, StringBuilder sb, String str) { sb.append(cls.getName()); sb.append(str); } - public static String g(int i, String str, String str2, String str3) { + public static String j(int i, String str, String str2, String str3) { StringBuilder sb = new StringBuilder(i); sb.append(str); sb.append(str2); @@ -282,13 +328,13 @@ public class a { return sb.toString(); } - public static void g0(Class cls, StringBuilder sb, String str, KryoException kryoException) { + public static void j0(Class cls, StringBuilder sb, String str, KryoException kryoException) { sb.append(cls.getName()); sb.append(str); kryoException.addTrace(sb.toString()); } - public static String h(int i, String str, String str2, String str3, String str4) { + public static String k(int i, String str, String str2, String str3, String str4) { StringBuilder sb = new StringBuilder(i); sb.append(str); sb.append(str2); @@ -297,134 +343,115 @@ public class a { return sb.toString(); } - public static void h0(String str, int i, String str2) { + public static void k0(String str, int i, String str2) { Log.d(str2, str + i); } - public static String i(RecyclerView recyclerView, StringBuilder sb) { + public static String l(RecyclerView recyclerView, StringBuilder sb) { sb.append(recyclerView.exceptionLabel()); return sb.toString(); } - public static void i0(String str, int i, String str2) { - Log.w(str2, str + i); - } - - public static String j(Class cls, StringBuilder sb, String str) { - sb.append(cls.getName()); - sb.append(str); - return sb.toString(); - } - - public static void j0(String str, String str2, b bVar) { + public static void l0(String str, String str2, b bVar) { bVar.b(str + str2); } - public static String k(Class cls, StringBuilder sb, String str, String str2) { - sb.append(cls.getSimpleName()); - sb.append(str); - sb.append(cls.getSimpleName()); - sb.append(str2); - return sb.toString(); - } - - public static void k0(String str, String str2, String str3) { - Log.w(str3, str + str2); - } - - public static String l(String str, int i) { - return str + i; - } - - public static void l0(String str, String str2, String str3, String str4, String str5, String str6) { - m.checkNotNullParameter(str, str2); - m.checkNotNullParameter(str3, str4); - m.checkNotNullParameter(str5, str6); - } - public static int m(String str, int i, int i2) { return (str.hashCode() + i) * i2; } - public static void m0(StringBuilder sb, String str, String str2) { + public static void m0(String str, String str2, String str3, String str4, String str5, String str6) { + m.checkNotNullParameter(str, str2); + m.checkNotNullParameter(str3, str4); + m.checkNotNullParameter(str5, str6); + } + + public static String n(Class cls, StringBuilder sb, String str) { + sb.append(cls.getName()); + sb.append(str); + return sb.toString(); + } + + public static void n0(StringBuilder sb, String str, String str2) { sb.append(str); Log.w(str2, sb.toString()); } - public static String n(String str, int i, String str2) { - return str + i + str2; + public static String o(Class cls, StringBuilder sb, String str, String str2) { + sb.append(cls.getSimpleName()); + sb.append(str); + sb.append(cls.getSimpleName()); + sb.append(str2); + return sb.toString(); } - public static void n0(StringBuilder sb, String str, String str2, String str3, String str4) { + public static void o0(StringBuilder sb, String str, String str2, String str3, String str4) { sb.append(str); sb.append(str2); sb.append(str3); sb.append(str4); } - public static String o(String str, int i, String str2, int i2) { - return str + i + str2 + i2; + public static String p(String str, int i) { + return str + i; } - public static void o0(v vVar, String str, c cVar, int i) { - cVar.j(vVar.l(str)); - cVar.i(i); - } - - public static String p(String str, int i, String str2, int i2, String str3) { - return str + i + str2 + i2 + str3; - } - - public static h4 p0(TextView textView, String str, CharSequence charSequence, c.a.a.z.c cVar) { + public static g4 p0(TextView textView, String str, CharSequence charSequence, c cVar) { m.checkNotNullExpressionValue(textView, str); textView.setText(charSequence); return cVar.h(); } - public static String q(String str, long j) { - return str + j; + public static String q(String str, int i, String str2) { + return str + i + str2; } - public static boolean q0(b.C0241b bVar, int i, String str) { + public static void q0(v vVar, String str, h0.a.a.c cVar, int i) { + cVar.j(vVar.l(str)); + cVar.i(i); + } + + public static String r(String str, int i, String str2, int i2) { + return str + i + str2 + i2; + } + + public static boolean r0(b.C0258b bVar, int i, String str) { Boolean bool = bVar.get(i); m.checkNotNullExpressionValue(bool, str); return bool.booleanValue(); } - public static String r(String str, long j, String str2) { - return str + j + str2; + public static String s(String str, long j) { + return str + j; } - public static Format.b r0(int i) { - Format.b bVar = new Format.b(); - bVar.b(i); - return bVar; + public static ParserException s0(int i, String str, int i2, Throwable th) { + StringBuilder sb = new StringBuilder(i); + sb.append(str); + sb.append(i2); + return ParserException.a(sb.toString(), th); } - public static String s(String str, Fragment fragment, String str2) { + public static String t(String str, Fragment fragment, String str2) { return str + fragment + str2; } - public static Object s0(Channel channel, Map map) { + public static Object t0(Channel channel, Map map) { return map.get(Long.valueOf(channel.f())); } - public static String t(String str, Object obj) { + public static String u(String str, Object obj) { return str + obj; } - public static String u(String str, String str2) { + public static String v(String str, String str2) { return str + str2; } - public static String v(String str, String str2, String str3) { + public static String w(String str, String str2, String str3) { return str + str2 + str3; } - public static String w(String str, Type type) { - return str + type; - } - public static Context x(View view, String str, String str2) { m.checkNotNullExpressionValue(view, str); Context context = view.getContext(); @@ -432,15 +459,13 @@ public class a { return context; } - public static String y(StringBuilder sb, int i, char c2) { + public static String y(String str, Type type) { + return str + type; + } + + public static String z(StringBuilder sb, int i, char c2) { sb.append(i); sb.append(c2); return sb.toString(); } - - public static String z(StringBuilder sb, int i, String str) { - sb.append(i); - sb.append(str); - return sb.toString(); - } } diff --git a/app/src/main/java/c/e/a/a.java b/app/src/main/java/c/e/a/a.java index 4e801884d9..a8cda27fd5 100644 --- a/app/src/main/java/c/e/a/a.java +++ b/app/src/main/java/c/e/a/a.java @@ -4,11 +4,11 @@ import com.discord.widgets.chat.input.MentionUtilsKt; import java.util.Date; /* compiled from: Log */ public class a { - public static C0058a a = new C0058a(); + public static C0057a a = new C0057a(); /* compiled from: Log */ /* renamed from: c.e.a.a$a reason: collision with other inner class name */ - public static class C0058a { + public static class C0057a { public long a = new Date().getTime(); public void a(int i, String str, String str2, Throwable th) { diff --git a/app/src/main/java/c/e/b/a.java b/app/src/main/java/c/e/b/a.java index 9ce3df1985..3dcebd8bcd 100644 --- a/app/src/main/java/c/e/b/a.java +++ b/app/src/main/java/c/e/b/a.java @@ -10,7 +10,7 @@ public class a extends ClassLoader { public static final ClassLoader b; /* renamed from: c reason: collision with root package name */ - public static volatile a f367c; + public static volatile a f353c; public static volatile Method d; static { @@ -19,7 +19,7 @@ public class a extends ClassLoader { classLoader = ClassLoader.getSystemClassLoader(); } b = classLoader; - f367c = new a(classLoader); + f353c = new a(classLoader); } public a(ClassLoader classLoader) { @@ -33,14 +33,14 @@ public class a extends ClassLoader { } ClassLoader classLoader2 = b; if (classLoader2.equals(classLoader)) { - if (f367c == null) { + if (f353c == null) { synchronized (a) { - if (f367c == null) { - f367c = new a(classLoader2); + if (f353c == null) { + f353c = new a(classLoader2); } } } - return f367c; + return f353c; } WeakHashMap> weakHashMap = a; synchronized (weakHashMap) { diff --git a/app/src/main/java/c/e/b/b.java b/app/src/main/java/c/e/b/b.java index 510894236f..d78c253a82 100644 --- a/app/src/main/java/c/e/b/b.java +++ b/app/src/main/java/c/e/b/b.java @@ -2,8 +2,8 @@ package c.e.b; import c.d.b.a.a; import com.discord.widgets.chat.input.MentionUtilsKt; -import g0.a.a.f; -import g0.a.a.q; +import h0.a.a.f; +import h0.a.a.q; import java.lang.reflect.Modifier; import java.util.Objects; /* compiled from: ConstructorAccess */ @@ -15,19 +15,19 @@ public abstract class b { boolean z2 = false; boolean z3 = enclosingClass != null && cls.isMemberClass() && !Modifier.isStatic(cls.getModifiers()); String name = cls.getName(); - String u = a.u(name, "ConstructorAccess"); - if (u.startsWith("java.")) { - u = a.u("reflectasm.", u); + String v = a.v(name, "ConstructorAccess"); + if (v.startsWith("java.")) { + v = a.v("reflectasm.", v); } a b = a.b(cls); try { - cls2 = b.loadClass(u); + cls2 = b.loadClass(v); } catch (ClassNotFoundException unused) { synchronized (b) { try { - cls2 = b.loadClass(u); + cls2 = b.loadClass(v); } catch (ClassNotFoundException unused2) { - String replace = u.replace('.', MentionUtilsKt.SLASH_CHAR); + String replace = v.replace('.', MentionUtilsKt.SLASH_CHAR); String replace2 = name.replace('.', MentionUtilsKt.SLASH_CHAR); String str = null; if (!z3) { @@ -65,7 +65,7 @@ public abstract class b { e4.e(176); e4.n(2, 1); b(fVar, replace2, str); - cls2 = b.a(u, fVar.b()); + cls2 = b.a(v, fVar.b()); } } } @@ -90,7 +90,7 @@ public abstract class b { Objects.requireNonNull(bVar); return bVar; } catch (Throwable th) { - throw new RuntimeException(a.u("Exception constructing constructor access class: ", u), th); + throw new RuntimeException(a.v("Exception constructing constructor access class: ", v), th); } } diff --git a/app/src/main/java/c/e/b/c.java b/app/src/main/java/c/e/b/c.java index 7520bfb22b..03ce802283 100644 --- a/app/src/main/java/c/e/b/c.java +++ b/app/src/main/java/c/e/b/c.java @@ -4,10 +4,10 @@ import c.d.b.a.a; import com.discord.widgets.chat.input.MentionUtilsKt; import com.google.android.material.behavior.HideBottomViewOnScrollBehavior; import com.google.android.material.snackbar.BaseTransientBottomBar; -import g0.a.a.f; -import g0.a.a.p; -import g0.a.a.q; -import g0.a.a.w; +import h0.a.a.f; +import h0.a.a.p; +import h0.a.a.q; +import h0.a.a.w; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.ArrayList; @@ -40,19 +40,19 @@ public abstract class c { clsArr[i] = ((Field) arrayList.get(i)).getType(); } String name = cls.getName(); - String u = a.u(name, "FieldAccess"); - if (u.startsWith("java.")) { - u = a.u("reflectasm.", u); + String v = a.v(name, "FieldAccess"); + if (v.startsWith("java.")) { + v = a.v("reflectasm.", v); } a b = a.b(cls); try { - cls2 = b.loadClass(u); + cls2 = b.loadClass(v); } catch (ClassNotFoundException unused) { synchronized (b) { try { - cls2 = b.loadClass(u); + cls2 = b.loadClass(v); } catch (ClassNotFoundException unused2) { - String replace = u.replace('.', MentionUtilsKt.SLASH_CHAR); + String replace = v.replace('.', MentionUtilsKt.SLASH_CHAR); String replace2 = name.replace('.', MentionUtilsKt.SLASH_CHAR); f fVar = new f(0); fVar.c(196653, 33, replace, null, "com/esotericsoftware/reflectasm/FieldAccess", null); @@ -77,10 +77,10 @@ public abstract class c { q(fVar, replace2, arrayList, w.i); n(fVar, replace2, arrayList, w.g); q(fVar, replace2, arrayList, w.g); - n(fVar, replace2, arrayList, w.f3067c); - q(fVar, replace2, arrayList, w.f3067c); + n(fVar, replace2, arrayList, w.f2912c); + q(fVar, replace2, arrayList, w.f2912c); o(fVar, replace2, arrayList); - cls2 = b.a(u, fVar.b()); + cls2 = b.a(v, fVar.b()); } } } @@ -89,7 +89,7 @@ public abstract class c { cVar.a = strArr; return cVar; } catch (Throwable th) { - throw new RuntimeException(a.u("Error constructing field access class: ", u), th); + throw new RuntimeException(a.v("Error constructing field access class: ", v), th); } } @@ -188,7 +188,7 @@ public abstract class c { str2 = "get"; break; } - q e = fVar.e(1, str2, a.u("(Ljava/lang/Object;I)", d), null, null); + q e = fVar.e(1, str2, a.v("(Ljava/lang/Object;I)", d), null, null); e.t(21, 2); if (!arrayList.isEmpty()) { int size = arrayList.size(); @@ -418,7 +418,7 @@ public abstract class c { i = 4; break; } - q e = fVar.e(1, str2, a.v("(Ljava/lang/Object;I", d, ")V"), null, null); + q e = fVar.e(1, str2, a.w("(Ljava/lang/Object;I", d, ")V"), null, null); e.t(21, 2); if (!arrayList.isEmpty()) { int size = arrayList.size(); @@ -493,7 +493,7 @@ public abstract class c { public abstract void A(Object obj, int i, long j); - public abstract void B(Object obj, int i, short s); + public abstract void B(Object obj, int i, short s2); public abstract Object b(Object obj, int i); @@ -514,7 +514,7 @@ public abstract class c { return i; } } - throw new IllegalArgumentException(a.u("Unable to find non-private field: ", str)); + throw new IllegalArgumentException(a.v("Unable to find non-private field: ", str)); } public abstract int i(Object obj, int i); diff --git a/app/src/main/java/c/e/b/d.java b/app/src/main/java/c/e/b/d.java index 35cd5c588b..e82348aa6f 100644 --- a/app/src/main/java/c/e/b/d.java +++ b/app/src/main/java/c/e/b/d.java @@ -2,10 +2,10 @@ package c.e.b; import c.d.b.a.a; import com.discord.widgets.chat.input.MentionUtilsKt; -import g0.a.a.f; -import g0.a.a.p; -import g0.a.a.q; -import g0.a.a.w; +import h0.a.a.f; +import h0.a.a.p; +import h0.a.a.q; +import h0.a.a.w; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; @@ -56,21 +56,21 @@ public abstract class d { clsArr5[i2] = method.getReturnType(); } String name = cls.getName(); - String u = a.u(name, "MethodAccess"); - if (u.startsWith("java.")) { - u = a.u("reflectasm.", u); + String v = a.v(name, "MethodAccess"); + if (v.startsWith("java.")) { + v = a.v("reflectasm.", v); } a b = a.b(cls); try { - cls2 = b.loadClass(u); + cls2 = b.loadClass(v); clsArr = clsArr4; } catch (ClassNotFoundException unused) { synchronized (b) { try { - cls2 = b.loadClass(u); + cls2 = b.loadClass(v); clsArr = clsArr4; } catch (ClassNotFoundException unused2) { - String replace = u.replace('.', MentionUtilsKt.SLASH_CHAR); + String replace = v.replace('.', MentionUtilsKt.SLASH_CHAR); String replace2 = name.replace('.', MentionUtilsKt.SLASH_CHAR); f fVar = new f(1); fVar.c(196653, 33, replace, null, "com/esotericsoftware/reflectasm/MethodAccess", null); @@ -123,49 +123,49 @@ public abstract class d { switch (j.i()) { case 1: clsArr3 = clsArr4; - str2 = u; + str2 = v; clsArr2 = clsArr6; e2.s(192, "java/lang/Boolean"); e2.o(182, "java/lang/Boolean", "booleanValue", "()Z"); break; case 2: clsArr3 = clsArr4; - str2 = u; + str2 = v; clsArr2 = clsArr6; e2.s(192, "java/lang/Character"); e2.o(182, "java/lang/Character", "charValue", "()C"); break; case 3: clsArr3 = clsArr4; - str2 = u; + str2 = v; clsArr2 = clsArr6; e2.s(192, "java/lang/Byte"); e2.o(182, "java/lang/Byte", "byteValue", "()B"); break; case 4: clsArr3 = clsArr4; - str2 = u; + str2 = v; clsArr2 = clsArr6; e2.s(192, "java/lang/Short"); e2.o(182, "java/lang/Short", "shortValue", "()S"); break; case 5: clsArr3 = clsArr4; - str2 = u; + str2 = v; clsArr2 = clsArr6; e2.s(192, "java/lang/Integer"); e2.o(182, "java/lang/Integer", "intValue", "()I"); break; case 6: clsArr3 = clsArr4; - str2 = u; + str2 = v; clsArr2 = clsArr6; e2.s(192, "java/lang/Float"); e2.o(182, "java/lang/Float", "floatValue", "()F"); break; case 7: clsArr3 = clsArr4; - str2 = u; + str2 = v; clsArr2 = clsArr6; e2.s(192, "java/lang/Long"); e2.o(182, "java/lang/Long", "longValue", "()J"); @@ -174,24 +174,24 @@ public abstract class d { clsArr2 = clsArr6; e2.s(192, "java/lang/Double"); clsArr3 = clsArr4; - str2 = u; + str2 = v; e2.o(182, "java/lang/Double", "doubleValue", "()D"); break; case 9: clsArr2 = clsArr6; e2.s(192, j.d()); clsArr3 = clsArr4; - str2 = u; + str2 = v; break; case 10: clsArr2 = clsArr6; e2.s(192, j.g()); clsArr3 = clsArr4; - str2 = u; + str2 = v; break; default: clsArr3 = clsArr4; - str2 = u; + str2 = v; clsArr2 = clsArr6; break; } @@ -200,7 +200,7 @@ public abstract class d { clsArr6 = clsArr2; clsArr5 = clsArr5; clsArr4 = clsArr3; - u = str2; + v = str2; } sb.append(')'); sb.append(w.e(cls4)); @@ -240,17 +240,17 @@ public abstract class d { pVarArr2 = pVarArr; clsArr5 = clsArr5; clsArr4 = clsArr4; - u = u; + v = v; pVar2 = pVar; } clsArr = clsArr4; - str = u; + str = v; e2.i(pVar2); qVar = e2; e2.c(3, 0, null, 0, null); } else { clsArr = clsArr4; - str = u; + str = v; qVar = e2; } qVar.s(187, "java/lang/IllegalArgumentException"); @@ -265,8 +265,8 @@ public abstract class d { qVar.o(183, "java/lang/IllegalArgumentException", "", "(Ljava/lang/String;)V"); qVar.e(191); qVar.n(0, 0); - u = str; - cls2 = b.a(u, fVar.b()); + v = str; + cls2 = b.a(v, fVar.b()); } } } @@ -276,7 +276,7 @@ public abstract class d { dVar.b = clsArr; return dVar; } catch (Throwable th) { - throw new RuntimeException(a.u("Error constructing method access class: ", u), th); + throw new RuntimeException(a.v("Error constructing method access class: ", v), th); } } @@ -294,9 +294,9 @@ public abstract class d { return i; } } - StringBuilder U = a.U("Unable to find non-private method: ", str, " "); - U.append(Arrays.toString(clsArr)); - throw new IllegalArgumentException(U.toString()); + StringBuilder W = a.W("Unable to find non-private method: ", str, " "); + W.append(Arrays.toString(clsArr)); + throw new IllegalArgumentException(W.toString()); } public abstract Object d(Object obj, int i, Object... objArr); diff --git a/app/src/main/java/c/f/b/b/a.java b/app/src/main/java/c/f/b/b/a.java index 0ea4356a64..dbb170b532 100644 --- a/app/src/main/java/c/f/b/b/a.java +++ b/app/src/main/java/c/f/b/b/a.java @@ -23,7 +23,7 @@ public class a implements c { public static final /* synthetic */ int b = 0; /* renamed from: c reason: collision with root package name */ - public final File f368c; + public final File f354c; public final boolean d; public final File e; public final c.f.b.a.a f; @@ -33,7 +33,7 @@ public class a implements c { public class b implements c.f.d.c.a { public final List a = new ArrayList(); - public b(C0059a aVar) { + public b(C0058a aVar) { } @Override // c.f.d.c.a @@ -60,10 +60,10 @@ public class a implements c { public final c.f.a.a b; /* renamed from: c reason: collision with root package name */ - public long f369c = -1; + public long f355c = -1; public long d = -1; - public c(String str, File file, C0059a aVar) { + public c(String str, File file, C0058a aVar) { Objects.requireNonNull(str); this.a = str; this.b = new c.f.a.a(file); @@ -84,10 +84,10 @@ public class a implements c { @Override // c.f.b.b.c.a public long getSize() { - if (this.f369c < 0) { - this.f369c = this.b.a(); + if (this.f355c < 0) { + this.f355c = this.b.a(); } - return this.f369c; + return this.f355c; } } @@ -105,7 +105,7 @@ public class a implements c { StringBuilder sb = new StringBuilder(); sb.append(this.a); sb.append("("); - return c.d.b.a.a.G(sb, this.b, ")"); + return c.d.b.a.a.H(sb, this.b, ")"); } } @@ -114,11 +114,8 @@ public class a implements c { public final long actual; public final long expected; - /* JADX WARNING: Illegal instructions before constructor call */ public e(long j, long j2) { - super(r0.toString()); - StringBuilder R = c.d.b.a.a.R("File was not written completely. Expected: ", j, ", found: "); - R.append(j2); + super("File was not written completely. Expected: " + j + ", found: " + j2); this.expected = j; this.actual = j2; } @@ -169,7 +166,7 @@ public class a implements c { try { c.f.d.d.b bVar = new c.f.d.d.b(fileOutputStream); h hVar = (h) gVar; - hVar.b.f455c.a(hVar.a.e(), bVar); + hVar.b.f432c.a(hVar.a.e(), bVar); bVar.flush(); long j = bVar.i; fileOutputStream.close(); @@ -193,7 +190,7 @@ public class a implements c { public class g implements c.f.d.c.a { public boolean a; - public g(C0059a aVar) { + public g(C0058a aVar) { } /* JADX WARNING: Code restructure failed: missing block: B:7:0x002b, code lost: @@ -233,7 +230,7 @@ public class a implements c { @Override // c.f.d.c.a public void c(File file) { - if (!a.this.f368c.equals(file) && !this.a) { + if (!a.this.f354c.equals(file) && !this.a) { file.delete(); } if (this.a && file.equals(a.this.e)) { @@ -246,7 +243,7 @@ public class a implements c { /* JADX WARNING: Removed duplicated region for block: B:19:0x0069 A[SYNTHETIC, Splitter:B:19:0x0069] */ public a(File file, int i, c.f.b.a.a aVar) { boolean z2; - this.f368c = file; + this.f354c = file; boolean z3 = false; try { File externalStorageDirectory = Environment.getExternalStorageDirectory(); @@ -257,21 +254,21 @@ public class a implements c { Objects.requireNonNull((c.f.b.a.d) aVar); } this.d = z2; - File file2 = new File(this.f368c, String.format(null, "%s.ols%d.%d", "v2", 100, Integer.valueOf(i))); + File file2 = new File(this.f354c, String.format(null, "%s.ols%d.%d", "v2", 100, Integer.valueOf(i))); this.e = file2; this.f = aVar; - if (this.f368c.exists()) { + if (this.f354c.exists()) { if (!file2.exists()) { - c.c.a.a0.d.b0(this.f368c); + c.c.a.a0.d.Y(this.f354c); } if (z3) { try { - c.c.a.a0.d.l1(file2); + c.c.a.a0.d.j1(file2); } catch (FileUtils$CreateDirectoryException unused2) { c.f.b.a.a aVar2 = this.f; - StringBuilder O = c.d.b.a.a.O("version directory could not be created: "); - O.append(this.e); - O.toString(); + StringBuilder R = c.d.b.a.a.R("version directory could not be created: "); + R.append(this.e); + R.toString(); Objects.requireNonNull((c.f.b.a.d) aVar2); } } @@ -287,10 +284,10 @@ public class a implements c { } z2 = false; this.d = z2; - File file2 = new File(this.f368c, String.format(null, "%s.ols%d.%d", "v2", 100, Integer.valueOf(i))); + File file2 = new File(this.f354c, String.format(null, "%s.ols%d.%d", "v2", 100, Integer.valueOf(i))); this.e = file2; this.f = aVar; - if (this.f368c.exists()) { + if (this.f354c.exists()) { } z3 = true; if (z3) { @@ -333,7 +330,7 @@ public class a implements c { @Override // c.f.b.b.c public void a() { - c.c.a.a0.d.n2(this.f368c, new g(null)); + c.c.a.a0.d.m2(this.f354c, new g(null)); } @Override // c.f.b.b.c @@ -341,7 +338,7 @@ public class a implements c { File file = new File(k(str)); if (!file.exists()) { try { - c.c.a.a0.d.l1(file); + c.c.a.a0.d.j1(file); } catch (FileUtils$CreateDirectoryException e2) { Objects.requireNonNull((c.f.b.a.d) this.f); throw e2; @@ -380,7 +377,7 @@ public class a implements c { @Override // c.f.b.b.c public Collection e() throws IOException { b bVar = new b(null); - c.c.a.a0.d.n2(this.e, bVar); + c.c.a.a0.d.m2(this.e, bVar); return Collections.unmodifiableList(bVar.a); } @@ -412,17 +409,17 @@ public class a implements c { @VisibleForTesting public File j(String str) { - StringBuilder O = c.d.b.a.a.O(k(str)); - O.append(File.separator); - O.append(str); - O.append(".cnt"); - return new File(O.toString()); + StringBuilder R = c.d.b.a.a.R(k(str)); + R.append(File.separator); + R.append(str); + R.append(".cnt"); + return new File(R.toString()); } public final String k(String str) { String valueOf = String.valueOf(Math.abs(str.hashCode() % 100)); StringBuilder sb = new StringBuilder(); sb.append(this.e); - return c.d.b.a.a.G(sb, File.separator, valueOf); + return c.d.b.a.a.H(sb, File.separator, valueOf); } } diff --git a/app/src/main/java/c/f/b/b/d.java b/app/src/main/java/c/f/b/b/d.java index 2a0fca8a1d..6b34539fe4 100644 --- a/app/src/main/java/c/f/b/b/d.java +++ b/app/src/main/java/c/f/b/b/d.java @@ -27,7 +27,7 @@ public class d implements h { public static final long b = TimeUnit.MINUTES.toMillis(30); /* renamed from: c reason: collision with root package name */ - public final long f371c; + public final long f357c; public final long d; public final CountDownLatch e; public long f; @@ -66,7 +66,7 @@ public class d implements h { public long b = -1; /* renamed from: c reason: collision with root package name */ - public long f372c = -1; + public long f358c = -1; public synchronized long a() { return this.b; @@ -75,7 +75,7 @@ public class d implements h { public synchronized void b(long j, long j2) { if (this.a) { this.b += j; - this.f372c += j2; + this.f358c += j2; } } } @@ -86,19 +86,19 @@ public class d implements h { public final long b; /* renamed from: c reason: collision with root package name */ - public final long f373c; + public final long f359c; public c(long j, long j2, long j3) { this.a = j; this.b = j2; - this.f373c = j3; + this.f359c = j3; } } public d(c cVar, g gVar, c cVar2, c.f.b.a.b bVar, c.f.b.a.a aVar, c.f.d.a.a aVar2, Executor executor, boolean z2) { c.f.d.i.a aVar3; - this.f371c = cVar2.b; - long j = cVar2.f373c; + this.f357c = cVar2.b; + long j = cVar2.f359c; this.d = j; this.f = j; c.f.d.i.a aVar4 = c.f.d.i.a.a; @@ -165,12 +165,12 @@ public class d implements h { a2.d = cacheKey; try { synchronized (this.q) { - List B0 = c.c.a.a0.d.B0(cacheKey); + List y0 = c.c.a.a0.d.y0(cacheKey); int i = 0; String str = null; aVar = null; while (true) { - ArrayList arrayList = (ArrayList) B0; + ArrayList arrayList = (ArrayList) y0; if (i >= arrayList.size()) { break; } @@ -316,7 +316,7 @@ public class d implements h { } b bVar2 = this.o; synchronized (bVar2) { - j = bVar2.f372c; + j = bVar2.f358c; } long j7 = (long) i; if (!(j == j7 && this.o.a() == j6)) { @@ -327,7 +327,7 @@ public class d implements h { } b bVar3 = this.o; synchronized (bVar3) { - bVar3.f372c = j7; + bVar3.f358c = j7; bVar3.b = j6; bVar3.a = true; } @@ -345,10 +345,10 @@ public class d implements h { public void f(CacheKey cacheKey) { synchronized (this.q) { try { - List B0 = c.c.a.a0.d.B0(cacheKey); + List y0 = c.c.a.a0.d.y0(cacheKey); int i = 0; while (true) { - ArrayList arrayList = (ArrayList) B0; + ArrayList arrayList = (ArrayList) y0; if (i >= arrayList.size()) { break; } @@ -374,7 +374,7 @@ public class d implements h { b bVar = this.o; synchronized (bVar) { bVar.a = false; - bVar.f372c = -1; + bVar.f358c = -1; bVar.b = -1; } e(); @@ -403,13 +403,13 @@ public class d implements h { aVar.h.unlock(); } } - StatFs statFs = c2 == 1 ? aVar.f379c : aVar.e; + StatFs statFs = c2 == 1 ? aVar.f365c : aVar.e; long availableBlocksLong = statFs != null ? statFs.getAvailableBlocksLong() * statFs.getBlockSizeLong() : 0; if (availableBlocksLong > 0 && availableBlocksLong >= a2) { z2 = false; } if (z2) { - this.f = this.f371c; + this.f = this.f357c; } else { this.f = this.d; } diff --git a/app/src/main/java/c/f/b/b/e.java b/app/src/main/java/c/f/b/b/e.java index 33f64e01ae..c3ba860366 100644 --- a/app/src/main/java/c/f/b/b/e.java +++ b/app/src/main/java/c/f/b/b/e.java @@ -15,7 +15,7 @@ public class e implements c { public final Supplier b; /* renamed from: c reason: collision with root package name */ - public final String f374c; + public final String f360c; public final c.f.b.a.a d; @VisibleForTesting public volatile a e = new a(null, null); @@ -37,7 +37,7 @@ public class e implements c { this.a = i; this.d = aVar; this.b = supplier; - this.f374c = str; + this.f360c = str; } @Override // c.f.b.b.c @@ -80,9 +80,9 @@ public class e implements c { } public final void h() throws IOException { - File file = new File(this.b.get(), this.f374c); + File file = new File(this.b.get(), this.f360c); try { - d.l1(file); + d.j1(file); file.getAbsolutePath(); int i = c.f.d.e.a.a; this.e = new a(file, new a(file, this.a, this.d)); @@ -104,7 +104,7 @@ public class e implements c { z2 = false; if (z2) { if (!(this.e.a == null || this.e.b == null)) { - d.b0(this.e.b); + d.Y(this.e.b); } h(); } diff --git a/app/src/main/java/c/f/b/b/i.java b/app/src/main/java/c/f/b/b/i.java index 4a0db24874..d394a91099 100644 --- a/app/src/main/java/c/f/b/b/i.java +++ b/app/src/main/java/c/f/b/b/i.java @@ -7,7 +7,7 @@ public class i { public static i b; /* renamed from: c reason: collision with root package name */ - public static int f375c; + public static int f361c; public CacheKey d; public i e; @@ -19,16 +19,16 @@ public class i { } b = iVar.e; iVar.e = null; - f375c--; + f361c--; return iVar; } } public void b() { synchronized (a) { - int i = f375c; + int i = f361c; if (i < 5) { - f375c = i + 1; + f361c = i + 1; i iVar = b; if (iVar != null) { this.e = iVar; diff --git a/app/src/main/java/c/f/d/b/b.java b/app/src/main/java/c/f/d/b/b.java index 02273ad73c..66e77b5109 100644 --- a/app/src/main/java/c/f/d/b/b.java +++ b/app/src/main/java/c/f/d/b/b.java @@ -15,14 +15,14 @@ public class b extends AbstractExecutorService { public final Executor k; public volatile int l; public final BlockingQueue m; - public final RunnableC0060b n; + public final RunnableC0059b n; public final AtomicInteger o; public final AtomicInteger p; /* compiled from: ConstrainedExecutorService */ /* renamed from: c.f.d.b.b$b reason: collision with other inner class name */ - public class RunnableC0060b implements Runnable { - public RunnableC0060b(a aVar) { + public class RunnableC0059b implements Runnable { + public RunnableC0059b(a aVar) { } @Override // java.lang.Runnable @@ -64,7 +64,7 @@ public class b extends AbstractExecutorService { this.k = executor; this.l = i2; this.m = blockingQueue; - this.n = new RunnableC0060b(null); + this.n = new RunnableC0059b(null); this.o = new AtomicInteger(0); this.p = new AtomicInteger(0); return; diff --git a/app/src/main/java/c/f/d/d/i.java b/app/src/main/java/c/f/d/d/i.java index cab11db0c6..f88c5395ab 100644 --- a/app/src/main/java/c/f/d/d/i.java +++ b/app/src/main/java/c/f/d/d/i.java @@ -8,7 +8,7 @@ public final class i { public final a b; /* renamed from: c reason: collision with root package name */ - public a f376c; + public a f362c; /* compiled from: Objects */ public static final class a { @@ -16,7 +16,7 @@ public final class i { public Object b; /* renamed from: c reason: collision with root package name */ - public a f377c; + public a f363c; public a(h hVar) { } @@ -25,7 +25,7 @@ public final class i { public i(String str, h hVar) { a aVar = new a(null); this.b = aVar; - this.f376c = aVar; + this.f362c = aVar; this.a = str; } @@ -41,8 +41,8 @@ public final class i { public final i c(String str, Object obj) { a aVar = new a(null); - this.f376c.f377c = aVar; - this.f376c = aVar; + this.f362c.f363c = aVar; + this.f362c = aVar; aVar.b = obj; Objects.requireNonNull(str); aVar.a = str; @@ -53,7 +53,7 @@ public final class i { StringBuilder sb = new StringBuilder(32); sb.append(this.a); sb.append('{'); - a aVar = this.b.f377c; + a aVar = this.b.f363c; String str = ""; while (aVar != null) { Object obj = aVar.b; @@ -69,7 +69,7 @@ public final class i { String deepToString = Arrays.deepToString(new Object[]{obj}); sb.append((CharSequence) deepToString, 1, deepToString.length() - 1); } - aVar = aVar.f377c; + aVar = aVar.f363c; str = ", "; } sb.append('}'); diff --git a/app/src/main/java/c/f/d/e/a.java b/app/src/main/java/c/f/d/e/a.java index 6f7481659a..89bf42410f 100644 --- a/app/src/main/java/c/f/d/e/a.java +++ b/app/src/main/java/c/f/d/e/a.java @@ -14,14 +14,14 @@ public class a { } public static void b(Class cls, String str, Throwable th) { - String v = c.d.b.a.a.v(EnvironmentCompat.MEDIA_UNKNOWN, ":", cls.getSimpleName()); + String w = c.d.b.a.a.w(EnvironmentCompat.MEDIA_UNKNOWN, ":", cls.getSimpleName()); StringBuilder sb = new StringBuilder(); sb.append(str); sb.append('\n'); StringWriter stringWriter = new StringWriter(); th.printStackTrace(new PrintWriter(stringWriter)); sb.append(stringWriter.toString()); - Log.println(6, v, sb.toString()); + Log.println(6, w, sb.toString()); } public static void c(Class cls, String str, Object... objArr) { @@ -33,14 +33,14 @@ public class a { public static void d(Class cls, Throwable th, String str, Object... objArr) { String simpleName = cls.getSimpleName(); String g = g(str, objArr); - String v = c.d.b.a.a.v(EnvironmentCompat.MEDIA_UNKNOWN, ":", simpleName); + String w = c.d.b.a.a.w(EnvironmentCompat.MEDIA_UNKNOWN, ":", simpleName); StringBuilder sb = new StringBuilder(); sb.append(g); sb.append('\n'); StringWriter stringWriter = new StringWriter(); th.printStackTrace(new PrintWriter(stringWriter)); sb.append(stringWriter.toString()); - Log.println(6, v, sb.toString()); + Log.println(6, w, sb.toString()); } public static void e(String str, String str2) { @@ -49,7 +49,7 @@ public class a { public static void f(String str, String str2, Throwable th) { String str3; - String v = c.d.b.a.a.v(EnvironmentCompat.MEDIA_UNKNOWN, ":", str); + String w = c.d.b.a.a.w(EnvironmentCompat.MEDIA_UNKNOWN, ":", str); StringBuilder sb = new StringBuilder(); sb.append(str2); sb.append('\n'); @@ -61,7 +61,7 @@ public class a { str3 = stringWriter.toString(); } sb.append(str3); - Log.println(6, v, sb.toString()); + Log.println(6, w, sb.toString()); } public static String g(String str, Object... objArr) { @@ -93,7 +93,7 @@ public class a { public static void l(Class cls, String str, Throwable th) { String str2; if (1 != 0) { - String v = c.d.b.a.a.v(EnvironmentCompat.MEDIA_UNKNOWN, ":", cls.getSimpleName()); + String w = c.d.b.a.a.w(EnvironmentCompat.MEDIA_UNKNOWN, ":", cls.getSimpleName()); StringBuilder sb = new StringBuilder(); sb.append(str); sb.append('\n'); @@ -105,7 +105,7 @@ public class a { str2 = stringWriter.toString(); } sb.append(str2); - Log.println(5, v, sb.toString()); + Log.println(5, w, sb.toString()); } } diff --git a/app/src/main/java/c/f/d/f/b.java b/app/src/main/java/c/f/d/f/b.java index 6fe027c353..7e70b7d012 100644 --- a/app/src/main/java/c/f/d/f/b.java +++ b/app/src/main/java/c/f/d/f/b.java @@ -9,5 +9,5 @@ public class b { public static final Map b = f.of("image/heif", "heif", "image/heic", "heic"); /* renamed from: c reason: collision with root package name */ - public static final Map f378c = f.of("heif", "image/heif", "heic", "image/heic"); + public static final Map f364c = f.of("heif", "image/heif", "heic", "image/heic"); } diff --git a/app/src/main/java/c/f/d/g/h.java b/app/src/main/java/c/f/d/g/h.java index e01c47f80d..bd95e1dd36 100644 --- a/app/src/main/java/c/f/d/g/h.java +++ b/app/src/main/java/c/f/d/g/h.java @@ -15,7 +15,7 @@ public class h extends InputStream { public int k = 0; public h(PooledByteBuffer pooledByteBuffer) { - d.j(Boolean.valueOf(!pooledByteBuffer.isClosed())); + d.i(Boolean.valueOf(!pooledByteBuffer.isClosed())); this.i = pooledByteBuffer; } @@ -53,13 +53,13 @@ public class h extends InputStream { @Override // java.io.InputStream public int read(byte[] bArr, int i, int i2) { if (i < 0 || i2 < 0 || i + i2 > bArr.length) { - StringBuilder O = a.O("length="); - O.append(bArr.length); - O.append("; regionStart="); - O.append(i); - O.append("; regionLength="); - O.append(i2); - throw new ArrayIndexOutOfBoundsException(O.toString()); + StringBuilder R = a.R("length="); + R.append(bArr.length); + R.append("; regionStart="); + R.append(i); + R.append("; regionLength="); + R.append(i2); + throw new ArrayIndexOutOfBoundsException(R.toString()); } int available = available(); if (available <= 0) { @@ -81,7 +81,7 @@ public class h extends InputStream { @Override // java.io.InputStream public long skip(long j) { - d.j(Boolean.valueOf(j >= 0)); + d.i(Boolean.valueOf(j >= 0)); int min = Math.min((int) j, available()); this.j += min; return (long) min; diff --git a/app/src/main/java/c/f/d/g/j.java b/app/src/main/java/c/f/d/g/j.java index 7381a8eb3a..ba5b06b765 100644 --- a/app/src/main/java/c/f/d/g/j.java +++ b/app/src/main/java/c/f/d/g/j.java @@ -10,7 +10,7 @@ public class j { public final a b; public j(a aVar) { - d.j(true); + d.i(true); this.b = aVar; } diff --git a/app/src/main/java/c/f/d/i/a.java b/app/src/main/java/c/f/d/i/a.java index 1dd41bcc4f..b0b23aaa17 100644 --- a/app/src/main/java/c/f/d/i/a.java +++ b/app/src/main/java/c/f/d/i/a.java @@ -14,7 +14,7 @@ public class a { public static final long b = TimeUnit.MINUTES.toMillis(2); /* renamed from: c reason: collision with root package name */ - public volatile StatFs f379c = null; + public volatile StatFs f365c = null; public volatile File d; public volatile StatFs e = null; public volatile File f; @@ -39,7 +39,7 @@ public class a { } public final void b() { - this.f379c = c(this.f379c, this.d); + this.f365c = c(this.f365c, this.d); this.e = c(this.e, this.f); this.g = SystemClock.uptimeMillis(); } diff --git a/app/src/main/java/c/f/d/m/c.java b/app/src/main/java/c/f/d/m/c.java index 43040651b9..dc920cfcf1 100644 --- a/app/src/main/java/c/f/d/m/c.java +++ b/app/src/main/java/c/f/d/m/c.java @@ -7,7 +7,7 @@ public class c { public static boolean b = false; /* renamed from: c reason: collision with root package name */ - public static final byte[] f380c = a("RIFF"); + public static final byte[] f366c = a("RIFF"); public static final byte[] d = a("WEBP"); public static final byte[] e = a("VP8 "); public static final byte[] f = a("VP8L"); @@ -22,7 +22,7 @@ public class c { } public static boolean b(byte[] bArr, int i, int i2) { - return i2 >= 20 && d(bArr, i, f380c) && d(bArr, i + 8, d); + return i2 >= 20 && d(bArr, i, f366c) && d(bArr, i + 8, d); } public static b c() { diff --git a/app/src/main/java/c/f/e/c.java b/app/src/main/java/c/f/e/c.java index 965be32190..f364217463 100644 --- a/app/src/main/java/c/f/e/c.java +++ b/app/src/main/java/c/f/e/c.java @@ -13,7 +13,7 @@ public abstract class c implements DataSource { public int b = 1; /* renamed from: c reason: collision with root package name */ - public boolean f381c = false; + public boolean f367c = false; public T d = null; public Throwable e = null; public float f = 0.0f; @@ -43,10 +43,10 @@ public abstract class c implements DataSource { public boolean close() { T t; synchronized (this) { - if (this.f381c) { + if (this.f367c) { return false; } - this.f381c = true; + this.f367c = true; t = this.d; this.d = null; } @@ -77,7 +77,7 @@ public abstract class c implements DataSource { boolean z2; Objects.requireNonNull(executor); synchronized (this) { - if (!this.f381c) { + if (!this.f367c) { z2 = true; if (this.b == 1) { this.g.add(Pair.create(fVar, executor)); @@ -114,7 +114,7 @@ public abstract class c implements DataSource { } public synchronized boolean i() { - return this.f381c; + return this.f367c; } public final void j() { @@ -131,7 +131,7 @@ public abstract class c implements DataSource { boolean z2; synchronized (this) { z2 = true; - if (!this.f381c) { + if (!this.f367c) { if (this.b == 1) { this.b = 3; this.e = th; @@ -150,7 +150,7 @@ public abstract class c implements DataSource { boolean z2; synchronized (this) { z2 = false; - if (!this.f381c) { + if (!this.f367c) { if (this.b == 1) { if (f >= this.f) { this.f = f; @@ -201,7 +201,7 @@ public abstract class c implements DataSource { synchronized (this) { try { boolean z3 = true; - if (!this.f381c) { + if (!this.f367c) { if (this.b == 1) { if (z2) { this.b = 2; diff --git a/app/src/main/java/c/f/e/e.java b/app/src/main/java/c/f/e/e.java index cc94c00915..e46c4b5935 100644 --- a/app/src/main/java/c/f/e/e.java +++ b/app/src/main/java/c/f/e/e.java @@ -13,6 +13,6 @@ public final class e implements Supplier> { @Override // com.facebook.common.internal.Supplier public Object get() { - return d.Q0(this.a); + return d.M0(this.a); } } diff --git a/app/src/main/java/c/f/e/g.java b/app/src/main/java/c/f/e/g.java index a48840b792..13be6c8c62 100644 --- a/app/src/main/java/c/f/e/g.java +++ b/app/src/main/java/c/f/e/g.java @@ -172,7 +172,7 @@ public class g implements Supplier> { } public g(List>> list) { - d.l(!list.isEmpty(), "List of suppliers is empty!"); + d.k(!list.isEmpty(), "List of suppliers is empty!"); this.a = list; } @@ -183,7 +183,7 @@ public class g implements Supplier> { if (!(obj instanceof g)) { return false; } - return d.i0(this.a, ((g) obj).a); + return d.f0(this.a, ((g) obj).a); } @Override // com.facebook.common.internal.Supplier @@ -196,8 +196,8 @@ public class g implements Supplier> { } public String toString() { - i g2 = d.g2(this); - g2.c("list", this.a); - return g2.toString(); + i f2 = d.f2(this); + f2.c("list", this.a); + return f2.toString(); } } diff --git a/app/src/main/java/c/f/g/a/a/c.java b/app/src/main/java/c/f/g/a/a/c.java index 55934b0fe5..f265aea277 100644 --- a/app/src/main/java/c/f/g/a/a/c.java +++ b/app/src/main/java/c/f/g/a/a/c.java @@ -46,19 +46,19 @@ public class c extends AbstractDraweeController, I public ImageRequest K; /* renamed from: x reason: collision with root package name */ - public final a f382x; + public final a f368x; /* renamed from: y reason: collision with root package name */ - public final e f383y; + public final e f369y; /* renamed from: z reason: collision with root package name */ - public final w f384z; + public final w f370z; public c(Resources resources, c.f.g.b.a aVar, a aVar2, Executor executor, w wVar, e eVar) { super(aVar, executor, null, null); - this.f382x = new a(resources, aVar2); - this.f383y = eVar; - this.f384z = wVar; + this.f368x = new a(resources, aVar2); + this.f369y = eVar; + this.f370z = wVar; } public synchronized void F(b bVar) { @@ -114,7 +114,7 @@ public class c extends AbstractDraweeController, I } fVar2.j.add(eVar); this.E.d(true); - h hVar = this.E.f387c; + h hVar = this.E.f373c; hVar.f = abstractDraweeControllerBuilder.h; hVar.g = null; hVar.h = abstractDraweeControllerBuilder.i; @@ -141,7 +141,7 @@ public class c extends AbstractDraweeController, I public final void K(c.f.j.j.c cVar) { String str; - p r0; + p o0; if (this.C) { if (this.l == null) { c.f.g.d.a aVar = new c.f.g.d.a(); @@ -168,8 +168,8 @@ public class c extends AbstractDraweeController, I aVar4.invalidateSelf(); c.f.g.h.a aVar5 = this.k; ScalingUtils$ScaleType scalingUtils$ScaleType = null; - if (!(aVar5 == null || (r0 = d.r0(aVar5.e())) == null)) { - scalingUtils$ScaleType = r0.m; + if (!(aVar5 == null || (o0 = d.o0(aVar5.e())) == null)) { + scalingUtils$ScaleType = o0.m; } aVar4.m = scalingUtils$ScaleType; int i = this.H.a; @@ -234,12 +234,12 @@ public class c extends AbstractDraweeController, I CloseableReference closeableReference2 = closeableReference; try { c.f.j.r.b.b(); - d.B(CloseableReference.z(closeableReference2)); - c.f.j.j.c w2 = closeableReference2.w(); - K(w2); - Drawable J = J(this.D, w2); - if (J == null && (J = J(this.f383y, w2)) == null && (J = this.f382x.b(w2)) == null) { - throw new UnsupportedOperationException("Unrecognized image class: " + w2); + d.B(CloseableReference.y(closeableReference2)); + c.f.j.j.c u = closeableReference2.u(); + K(u); + Drawable J = J(this.D, u); + if (J == null && (J = J(this.f369y, u)) == null && (J = this.f368x.b(u)) == null) { + throw new UnsupportedOperationException("Unrecognized image class: " + u); } c.f.j.r.b.b(); return J; @@ -254,12 +254,12 @@ public class c extends AbstractDraweeController, I public CloseableReference h() { c.f.j.r.b.b(); try { - w wVar = this.f384z; + w wVar = this.f370z; if (wVar != null) { CacheKey cacheKey = this.A; if (cacheKey != null) { CloseableReference closeableReference = wVar.get(cacheKey); - if (closeableReference == null || ((c.f.j.j.h) closeableReference.w().b()).d) { + if (closeableReference == null || ((c.f.j.j.h) closeableReference.u().b()).d) { c.f.j.r.b.b(); return closeableReference; } @@ -298,8 +298,8 @@ public class c extends AbstractDraweeController, I @Override // com.facebook.drawee.controller.AbstractDraweeController public ImageInfo l(CloseableReference closeableReference) { CloseableReference closeableReference2 = closeableReference; - d.B(CloseableReference.z(closeableReference2)); - return closeableReference2.w(); + d.B(CloseableReference.y(closeableReference2)); + return closeableReference2.u(); } /* JADX WARNING: Code restructure failed: missing block: B:14:0x0021, code lost: @@ -311,13 +311,13 @@ public class c extends AbstractDraweeController, I ImageRequest imageRequest = this.I; ImageRequest imageRequest2 = this.K; ImageRequest[] imageRequestArr = this.J; - if (imageRequest == null || (uri = imageRequest.f2682c) == null) { + if (imageRequest == null || (uri = imageRequest.f2295c) == null) { if (!(imageRequestArr == null || imageRequestArr.length <= 0 || imageRequestArr[0] == null)) { ImageRequest imageRequest3 = imageRequestArr[0]; - uri = imageRequest3 != null ? imageRequest3.f2682c : null; + uri = imageRequest3 != null ? imageRequest3.f2295c : null; } if (imageRequest2 != null) { - return imageRequest2.f2682c; + return imageRequest2.f2295c; } return null; } @@ -336,10 +336,10 @@ public class c extends AbstractDraweeController, I @Override // com.facebook.drawee.controller.AbstractDraweeController public String toString() { - i g2 = d.g2(this); - g2.c("super", super.toString()); - g2.c("dataSourceSupplier", this.B); - return g2.toString(); + i f2 = d.f2(this); + f2.c("super", super.toString()); + f2.c("dataSourceSupplier", this.B); + return f2.toString(); } /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.String, java.lang.Object] */ diff --git a/app/src/main/java/c/f/g/a/a/d.java b/app/src/main/java/c/f/g/a/a/d.java index be13deb377..d6a1111273 100644 --- a/app/src/main/java/c/f/g/a/a/d.java +++ b/app/src/main/java/c/f/g/a/a/d.java @@ -85,12 +85,12 @@ public class d extends AbstractDraweeControllerBuilder supplier = fVar.g; if (supplier != null) { cVar2.C = supplier.get().booleanValue(); diff --git a/app/src/main/java/c/f/g/a/a/e.java b/app/src/main/java/c/f/g/a/a/e.java index 9cf6b7fdb6..750c3c84c5 100644 --- a/app/src/main/java/c/f/g/a/a/e.java +++ b/app/src/main/java/c/f/g/a/a/e.java @@ -18,7 +18,7 @@ public class e implements Supplier { public final h b; /* renamed from: c reason: collision with root package name */ - public final f f385c; + public final f f371c; public e(Context context) { a aVar; @@ -31,7 +31,7 @@ public class e implements Supplier { h hVar = lVar.l; this.b = hVar; f fVar = new f(); - this.f385c = fVar; + this.f371c = fVar; Resources resources = context.getResources(); synchronized (a.class) { if (a.a == null) { @@ -48,7 +48,7 @@ public class e implements Supplier { w wVar = hVar.e; fVar.a = resources; fVar.b = aVar; - fVar.f386c = a; + fVar.f372c = a; fVar.d = fVar2; fVar.e = wVar; fVar.f = null; @@ -57,7 +57,7 @@ public class e implements Supplier { /* renamed from: a */ public d get() { - d dVar = new d(this.a, this.f385c, this.b, null, null); + d dVar = new d(this.a, this.f371c, this.b, null, null); dVar.q = null; return dVar; } diff --git a/app/src/main/java/c/f/g/a/a/f.java b/app/src/main/java/c/f/g/a/a/f.java index 6ca09387cb..4b2a85bad7 100644 --- a/app/src/main/java/c/f/g/a/a/f.java +++ b/app/src/main/java/c/f/g/a/a/f.java @@ -14,7 +14,7 @@ public class f { public a b; /* renamed from: c reason: collision with root package name */ - public c.f.j.i.a f386c; + public c.f.j.i.a f372c; public Executor d; public w e; public e f; diff --git a/app/src/main/java/c/f/g/a/a/h/f.java b/app/src/main/java/c/f/g/a/a/h/f.java index 74294355c7..76e50c02be 100644 --- a/app/src/main/java/c/f/g/a/a/h/f.java +++ b/app/src/main/java/c/f/g/a/a/h/f.java @@ -13,7 +13,7 @@ public class f implements g { public final b b; /* renamed from: c reason: collision with root package name */ - public final h f387c = new h(); + public final h f373c = new h(); public final Supplier d; public c e; public b f; @@ -46,8 +46,8 @@ public class f implements g { if (!(!this.k || (list = this.j) == null || list.isEmpty())) { if (!(i != 3 || (aVar = this.a.k) == null || aVar.e() == null)) { Rect bounds = aVar.e().getBounds(); - this.f387c.s = bounds.width(); - this.f387c.t = bounds.height(); + this.f373c.f375s = bounds.width(); + this.f373c.t = bounds.height(); } d b = hVar.b(); for (e eVar : this.j) { @@ -62,9 +62,9 @@ public class f implements g { list.clear(); } d(false); - h hVar = this.f387c; + h hVar = this.f373c; hVar.b = null; - hVar.f388c = null; + hVar.f374c = null; hVar.d = null; hVar.e = null; hVar.f = null; @@ -72,12 +72,12 @@ public class f implements g { hVar.h = null; hVar.p = 1; hVar.q = null; - hVar.f389r = false; - hVar.s = -1; + hVar.r = false; + hVar.f375s = -1; hVar.t = -1; hVar.u = null; hVar.v = -1; - hVar.f390w = -1; + hVar.w = -1; hVar.A = null; hVar.a(); } @@ -90,13 +90,13 @@ public class f implements g { this.k = z2; if (z2) { if (this.h == null) { - this.h = new a(this.b, this.f387c, this, this.d, l.a); + this.h = new a(this.b, this.f373c, this, this.d, l.a); } if (this.g == null) { - this.g = new c.f.g.a.a.h.i.c(this.b, this.f387c); + this.g = new c.f.g.a.a.h.i.c(this.b, this.f373c); } if (this.f == null) { - this.f = new c.f.g.a.a.h.i.b(this.f387c, this); + this.f = new c.f.g.a.a.h.i.b(this.f373c, this); } c cVar = this.e; if (cVar == null) { diff --git a/app/src/main/java/c/f/g/a/a/h/h.java b/app/src/main/java/c/f/g/a/a/h/h.java index 6e9f2a8c05..54e0657480 100644 --- a/app/src/main/java/c/f/g/a/a/h/h.java +++ b/app/src/main/java/c/f/g/a/a/h/h.java @@ -10,7 +10,7 @@ public class h { public String b; /* renamed from: c reason: collision with root package name */ - public ImageRequest f388c; + public ImageRequest f374c; public Object d; public ImageInfo e; public ImageRequest f; @@ -25,25 +25,23 @@ public class h { public long o = -1; public int p = 1; public String q; + public boolean r; - /* renamed from: r reason: collision with root package name */ - public boolean f389r; - public int s = -1; + /* renamed from: s reason: collision with root package name */ + public int f375s = -1; public int t = -1; public Throwable u; public int v = -1; - - /* renamed from: w reason: collision with root package name */ - public int f390w = -1; + public int w = -1; /* renamed from: x reason: collision with root package name */ - public long f391x = -1; + public long f376x = -1; /* renamed from: y reason: collision with root package name */ - public long f392y = -1; + public long f377y = -1; /* renamed from: z reason: collision with root package name */ - public long f393z = -1; + public long f378z = -1; public void a() { this.n = -1; @@ -52,12 +50,12 @@ public class h { this.k = -1; this.l = -1; this.m = -1; - this.f391x = -1; - this.f392y = -1; - this.f393z = -1; + this.f376x = -1; + this.f377y = -1; + this.f378z = -1; } public d b() { - return new d(this.a, this.b, this.f388c, this.d, this.e, this.f, this.g, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.o, this.p, this.q, this.f389r, this.s, this.t, this.u, this.f390w, this.f391x, this.f392y, null, this.f393z, this.A); + return new d(this.a, this.b, this.f374c, this.d, this.e, this.f, this.g, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.o, this.p, this.q, this.r, this.f375s, this.t, this.u, this.w, this.f376x, this.f377y, null, this.f378z, this.A); } } diff --git a/app/src/main/java/c/f/g/a/a/h/i/a.java b/app/src/main/java/c/f/g/a/a/h/i/a.java index d53b51f1ab..c5c26c4ea3 100644 --- a/app/src/main/java/c/f/g/a/a/h/i/a.java +++ b/app/src/main/java/c/f/g/a/a/h/i/a.java @@ -19,17 +19,17 @@ public class a extends c.f.h.b.a.a { public final h b; /* renamed from: c reason: collision with root package name */ - public final g f394c; + public final g f379c; public final Supplier d; public final Supplier e; public Handler f; /* compiled from: ImagePerfControllerListener2 */ /* renamed from: c.f.g.a.a.h.i.a$a reason: collision with other inner class name */ - public static class HandlerC0061a extends Handler { + public static class HandlerC0060a extends Handler { public final g a; - public HandlerC0061a(@NonNull Looper looper, @NonNull g gVar) { + public HandlerC0060a(@NonNull Looper looper, @NonNull g gVar) { super(looper); this.a = gVar; } @@ -51,7 +51,7 @@ public class a extends c.f.h.b.a.a { public a(b bVar, h hVar, g gVar, Supplier supplier, Supplier supplier2) { this.a = bVar; this.b = hVar; - this.f394c = gVar; + this.f379c = gVar; this.d = supplier; this.e = supplier2; } @@ -66,8 +66,8 @@ public class a extends c.f.h.b.a.a { e.d = obj; e.A = aVar; g(e, 0); - e.f390w = 1; - e.f391x = now; + e.w = 1; + e.f376x = now; h(e, 1); } @@ -80,8 +80,8 @@ public class a extends c.f.h.b.a.a { e.a = str; e.u = th; g(e, 5); - e.f390w = 2; - e.f392y = now; + e.w = 2; + e.f377y = now; h(e, 2); } @@ -96,8 +96,8 @@ public class a extends c.f.h.b.a.a { e.m = now; g(e, 4); } - e.f390w = 2; - e.f392y = now; + e.w = 2; + e.f377y = now; h(e, 2); } @@ -126,7 +126,7 @@ public class a extends c.f.h.b.a.a { handlerThread.start(); Looper looper = handlerThread.getLooper(); Objects.requireNonNull(looper); - this.f = new HandlerC0061a(looper, this.f394c); + this.f = new HandlerC0060a(looper, this.f379c); } } } @@ -144,7 +144,7 @@ public class a extends c.f.h.b.a.a { this.f.sendMessage(obtainMessage); return; } - ((f) this.f394c).b(hVar, i); + ((f) this.f379c).b(hVar, i); } public final void h(h hVar, int i) { @@ -158,6 +158,6 @@ public class a extends c.f.h.b.a.a { this.f.sendMessage(obtainMessage); return; } - ((f) this.f394c).a(hVar, i); + ((f) this.f379c).a(hVar, i); } } diff --git a/app/src/main/java/c/f/g/a/a/h/i/c.java b/app/src/main/java/c/f/g/a/a/h/i/c.java index ba12a354ab..0ae77c0e80 100644 --- a/app/src/main/java/c/f/g/a/a/h/i/c.java +++ b/app/src/main/java/c/f/g/a/a/h/i/c.java @@ -18,28 +18,28 @@ public class c extends a { public void a(ImageRequest imageRequest, Object obj, String str, boolean z2) { this.b.n = this.a.now(); h hVar = this.b; - hVar.f388c = imageRequest; + hVar.f374c = imageRequest; hVar.d = obj; hVar.b = str; - hVar.f389r = z2; + hVar.r = z2; } @Override // c.f.j.k.a, c.f.j.k.e public void c(ImageRequest imageRequest, String str, boolean z2) { this.b.o = this.a.now(); h hVar = this.b; - hVar.f388c = imageRequest; + hVar.f374c = imageRequest; hVar.b = str; - hVar.f389r = z2; + hVar.r = z2; } @Override // c.f.j.k.a, c.f.j.k.e public void g(ImageRequest imageRequest, String str, Throwable th, boolean z2) { this.b.o = this.a.now(); h hVar = this.b; - hVar.f388c = imageRequest; + hVar.f374c = imageRequest; hVar.b = str; - hVar.f389r = z2; + hVar.r = z2; } @Override // c.f.j.k.a, c.f.j.k.e diff --git a/app/src/main/java/c/f/g/b/a.java b/app/src/main/java/c/f/g/b/a.java index ca1391b5c9..4881d11b6c 100644 --- a/app/src/main/java/c/f/g/b/a.java +++ b/app/src/main/java/c/f/g/b/a.java @@ -5,9 +5,9 @@ public abstract class a { /* compiled from: DeferredReleaser */ /* renamed from: c.f.g.b.a$a reason: collision with other inner class name */ - public interface AbstractC0062a { + public interface AbstractC0061a { void release(); } - public abstract void a(AbstractC0062a aVar); + public abstract void a(AbstractC0061a aVar); } diff --git a/app/src/main/java/c/f/g/b/b.java b/app/src/main/java/c/f/g/b/b.java index 61c19523f1..9a263f2dca 100644 --- a/app/src/main/java/c/f/g/b/b.java +++ b/app/src/main/java/c/f/g/b/b.java @@ -11,9 +11,9 @@ public class b extends a { public final Object b = new Object(); /* renamed from: c reason: collision with root package name */ - public final Handler f395c = new Handler(Looper.getMainLooper()); - public ArrayList d = new ArrayList<>(); - public ArrayList e = new ArrayList<>(); + public final Handler f380c = new Handler(Looper.getMainLooper()); + public ArrayList d = new ArrayList<>(); + public ArrayList e = new ArrayList<>(); public final Runnable f = new a(); /* compiled from: DeferredReleaserConcurrentImpl */ @@ -24,10 +24,10 @@ public class b extends a { @Override // java.lang.Runnable @MainThread public void run() { - ArrayList arrayList; + ArrayList arrayList; synchronized (b.this.b) { b bVar = b.this; - ArrayList arrayList2 = bVar.e; + ArrayList arrayList2 = bVar.e; arrayList = bVar.d; bVar.e = arrayList; bVar.d = arrayList2; @@ -42,7 +42,7 @@ public class b extends a { @Override // c.f.g.b.a @AnyThread - public void a(a.AbstractC0062a aVar) { + public void a(a.AbstractC0061a aVar) { synchronized (this.b) { this.d.remove(aVar); } diff --git a/app/src/main/java/c/f/g/b/c.java b/app/src/main/java/c/f/g/b/c.java index 8a2bb8671f..51fa6afbb3 100644 --- a/app/src/main/java/c/f/g/b/c.java +++ b/app/src/main/java/c/f/g/b/c.java @@ -8,7 +8,7 @@ public class c { public static boolean b = true; /* renamed from: c reason: collision with root package name */ - public final Queue f396c = new ArrayBlockingQueue(20); + public final Queue f381c = new ArrayBlockingQueue(20); /* compiled from: DraweeEventTracker */ public enum a { @@ -40,14 +40,14 @@ public class c { public void a(a aVar) { if (b) { - if (this.f396c.size() + 1 > 20) { - this.f396c.poll(); + if (this.f381c.size() + 1 > 20) { + this.f381c.poll(); } - this.f396c.add(aVar); + this.f381c.add(aVar); } } public String toString() { - return this.f396c.toString(); + return this.f381c.toString(); } } diff --git a/app/src/main/java/c/f/g/b/d.java b/app/src/main/java/c/f/g/b/d.java index e7b97612c3..a7c128cf1c 100644 --- a/app/src/main/java/c/f/g/b/d.java +++ b/app/src/main/java/c/f/g/b/d.java @@ -5,5 +5,5 @@ public class d { public int b = 4; /* renamed from: c reason: collision with root package name */ - public int f402c = 0; + public int f386c = 0; } diff --git a/app/src/main/java/c/f/g/c/b.java b/app/src/main/java/c/f/g/c/b.java index d2cdf4c30f..a333ff2c90 100644 --- a/app/src/main/java/c/f/g/c/b.java +++ b/app/src/main/java/c/f/g/c/b.java @@ -12,7 +12,7 @@ public class b implements Supplier> { public final /* synthetic */ String b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ Object f403c; + public final /* synthetic */ Object f387c; public final /* synthetic */ Object d; public final /* synthetic */ AbstractDraweeControllerBuilder.b e; public final /* synthetic */ AbstractDraweeControllerBuilder f; @@ -21,19 +21,19 @@ public class b implements Supplier> { this.f = abstractDraweeControllerBuilder; this.a = draweeController; this.b = str; - this.f403c = obj; + this.f387c = obj; this.d = obj2; this.e = bVar; } @Override // com.facebook.common.internal.Supplier public Object get() { - return this.f.b(this.a, this.b, this.f403c, this.d, this.e); + return this.f.b(this.a, this.b, this.f387c, this.d, this.e); } public String toString() { - i g2 = d.g2(this); - g2.c("request", this.f403c.toString()); - return g2.toString(); + i f2 = d.f2(this); + f2.c("request", this.f387c.toString()); + return f2.toString(); } } diff --git a/app/src/main/java/c/f/g/d/a.java b/app/src/main/java/c/f/g/d/a.java index f64f1e5409..1d48502143 100644 --- a/app/src/main/java/c/f/g/d/a.java +++ b/app/src/main/java/c/f/g/d/a.java @@ -28,25 +28,23 @@ public class a extends Drawable implements b { public int o; public int p; public int q = 80; + public final Paint r = new Paint(1); - /* renamed from: r reason: collision with root package name */ - public final Paint f404r = new Paint(1); - public final Matrix s = new Matrix(); + /* renamed from: s reason: collision with root package name */ + public final Matrix f388s = new Matrix(); public final Rect t = new Rect(); public final RectF u = new RectF(); public int v; - - /* renamed from: w reason: collision with root package name */ - public int f405w; + public int w; /* renamed from: x reason: collision with root package name */ - public int f406x; + public int f389x; /* renamed from: y reason: collision with root package name */ - public int f407y; + public int f390y; /* renamed from: z reason: collision with root package name */ - public int f408z; + public int f391z; public a() { c(); @@ -57,18 +55,18 @@ public class a extends Drawable implements b { } public final void a(Canvas canvas, String str, String str2, int i) { - String u = c.d.b.a.a.u(str, ": "); - float measureText = this.f404r.measureText(u); - float measureText2 = this.f404r.measureText(str2); - this.f404r.setColor(1711276032); - int i2 = this.f407y; - int i3 = this.f408z; - canvas.drawRect((float) (i2 - 4), (float) (i3 + 8), ((float) i2) + measureText + measureText2 + 4.0f, (float) (i3 + this.f406x + 8), this.f404r); - this.f404r.setColor(-1); - canvas.drawText(u, (float) this.f407y, (float) this.f408z, this.f404r); - this.f404r.setColor(i); - canvas.drawText(str2, ((float) this.f407y) + measureText, (float) this.f408z, this.f404r); - this.f408z += this.f406x; + String v = c.d.b.a.a.v(str, ": "); + float measureText = this.r.measureText(v); + float measureText2 = this.r.measureText(str2); + this.r.setColor(1711276032); + int i2 = this.f390y; + int i3 = this.f391z; + canvas.drawRect((float) (i2 - 4), (float) (i3 + 8), ((float) i2) + measureText + measureText2 + 4.0f, (float) (i3 + this.f389x + 8), this.r); + this.r.setColor(-1); + canvas.drawText(v, (float) this.f390y, (float) this.f391z, this.r); + this.r.setColor(i); + canvas.drawText(str2, ((float) this.f390y) + measureText, (float) this.f391z, this.r); + this.f391z += this.f389x; } public void c() { @@ -101,18 +99,18 @@ public class a extends Drawable implements b { long j; String str; Rect bounds = getBounds(); - this.f404r.setStyle(Paint.Style.STROKE); - this.f404r.setStrokeWidth(2.0f); - this.f404r.setColor(-26624); - canvas.drawRect((float) bounds.left, (float) bounds.top, (float) bounds.right, (float) bounds.bottom, this.f404r); - this.f404r.setStyle(Paint.Style.FILL); - this.f404r.setColor(0); - canvas.drawRect((float) bounds.left, (float) bounds.top, (float) bounds.right, (float) bounds.bottom, this.f404r); - this.f404r.setStyle(Paint.Style.FILL); - this.f404r.setStrokeWidth(0.0f); - this.f404r.setColor(-1); - this.f407y = this.v; - this.f408z = this.f405w; + this.r.setStyle(Paint.Style.STROKE); + this.r.setStrokeWidth(2.0f); + this.r.setColor(-26624); + canvas.drawRect((float) bounds.left, (float) bounds.top, (float) bounds.right, (float) bounds.bottom, this.r); + this.r.setStyle(Paint.Style.FILL); + this.r.setColor(0); + canvas.drawRect((float) bounds.left, (float) bounds.top, (float) bounds.right, (float) bounds.bottom, this.r); + this.r.setStyle(Paint.Style.FILL); + this.r.setStrokeWidth(0.0f); + this.r.setColor(-1); + this.f390y = this.v; + this.f391z = this.w; a(canvas, "ID", this.i, -1); a(canvas, "D", b("%dx%d", Integer.valueOf(bounds.width()), Integer.valueOf(bounds.height())), -1); int i4 = this.j; @@ -127,14 +125,14 @@ public class a extends Drawable implements b { rect.left = 0; rect.right = width; rect.bottom = height; - this.s.reset(); - scalingUtils$ScaleType2.a(this.s, this.t, i4, i5, 0.0f, 0.0f); + this.f388s.reset(); + scalingUtils$ScaleType2.a(this.f388s, this.t, i4, i5, 0.0f, 0.0f); RectF rectF = this.u; rectF.top = 0.0f; rectF.left = 0.0f; rectF.right = (float) i4; rectF.bottom = (float) i5; - this.s.mapRect(rectF); + this.f388s.mapRect(rectF); width = Math.min(width, (int) this.u.width()); height = Math.min(height, (int) this.u.height()); } @@ -221,15 +219,15 @@ public class a extends Drawable implements b { public void onBoundsChange(Rect rect) { super.onBoundsChange(rect); int min = Math.min(40, Math.max(10, Math.min(rect.width() / 8, rect.height() / 9))); - this.f404r.setTextSize((float) min); + this.r.setTextSize((float) min); int i = min + 8; - this.f406x = i; + this.f389x = i; int i2 = this.q; if (i2 == 80) { - this.f406x = i * -1; + this.f389x = i * -1; } this.v = rect.left + 10; - this.f405w = i2 == 80 ? rect.bottom - 10 : rect.top + 10 + 10; + this.w = i2 == 80 ? rect.bottom - 10 : rect.top + 10 + 10; } @Override // android.graphics.drawable.Drawable diff --git a/app/src/main/java/c/f/g/d/b/a.java b/app/src/main/java/c/f/g/d/b/a.java index c5dc974440..4bce3358bc 100644 --- a/app/src/main/java/c/f/g/d/b/a.java +++ b/app/src/main/java/c/f/g/d/b/a.java @@ -8,17 +8,17 @@ public class a extends c { public long b = -1; /* renamed from: c reason: collision with root package name */ - public b f409c; + public b f392c; public a(b bVar) { - this.f409c = bVar; + this.f392c = bVar; } @Override // c.f.g.c.c, com.facebook.drawee.controller.ControllerListener public void onFinalImageSet(String str, Object obj, Animatable animatable) { long currentTimeMillis = System.currentTimeMillis(); this.b = currentTimeMillis; - b bVar = this.f409c; + b bVar = this.f392c; if (bVar != null) { c.f.g.d.a aVar = (c.f.g.d.a) bVar; aVar.A = currentTimeMillis - this.a; diff --git a/app/src/main/java/c/f/g/e/b.java b/app/src/main/java/c/f/g/e/b.java index cf68af5833..bdb604a2a1 100644 --- a/app/src/main/java/c/f/g/e/b.java +++ b/app/src/main/java/c/f/g/e/b.java @@ -41,11 +41,11 @@ public class b extends Drawable implements Drawable.Callback, e0, d0 { public Drawable a(int i) { boolean z2 = true; - d.j(Boolean.valueOf(i >= 0)); + d.i(Boolean.valueOf(i >= 0)); if (i >= this.k.length) { z2 = false; } - d.j(Boolean.valueOf(z2)); + d.i(Boolean.valueOf(z2)); return this.k[i]; } @@ -56,11 +56,11 @@ public class b extends Drawable implements Drawable.Callback, e0, d0 { public Drawable c(int i, Drawable drawable) { boolean z2 = true; - d.j(Boolean.valueOf(i >= 0)); + d.i(Boolean.valueOf(i >= 0)); if (i >= this.k.length) { z2 = false; } - d.j(Boolean.valueOf(z2)); + d.i(Boolean.valueOf(z2)); Drawable drawable2 = this.k[i]; if (drawable != drawable2) { if (drawable != null && this.p) { @@ -69,7 +69,7 @@ public class b extends Drawable implements Drawable.Callback, e0, d0 { d.V1(this.k[i], null, null); d.V1(drawable, null, null); d.X1(drawable, this.j); - d.N(drawable, this); + d.L(drawable, this); d.V1(drawable, this, this); this.o = false; this.k[i] = drawable; @@ -326,7 +326,7 @@ public class b extends Drawable implements Drawable.Callback, e0, d0 { @Override // android.graphics.drawable.Drawable public void setColorFilter(ColorFilter colorFilter) { e eVar = this.j; - eVar.f410c = colorFilter; + eVar.f393c = colorFilter; eVar.b = true; int i = 0; while (true) { diff --git a/app/src/main/java/c/f/g/e/e.java b/app/src/main/java/c/f/g/e/e.java index d93a1d9ed0..198f3d7320 100644 --- a/app/src/main/java/c/f/g/e/e.java +++ b/app/src/main/java/c/f/g/e/e.java @@ -7,7 +7,7 @@ public class e { public boolean b = false; /* renamed from: c reason: collision with root package name */ - public ColorFilter f410c = null; + public ColorFilter f393c = null; public int d = -1; public int e = -1; } diff --git a/app/src/main/java/c/f/g/e/f.java b/app/src/main/java/c/f/g/e/f.java index 57dd437e8c..4e4be3277a 100644 --- a/app/src/main/java/c/f/g/e/f.java +++ b/app/src/main/java/c/f/g/e/f.java @@ -16,31 +16,29 @@ public class f extends b { public a C; public boolean D; public final Drawable[] q; + public final boolean r; - /* renamed from: r reason: collision with root package name */ - public final boolean f411r; - public final int s; + /* renamed from: s reason: collision with root package name */ + public final int f394s; public final int t; @VisibleForTesting public int u; @VisibleForTesting public int v; @VisibleForTesting - - /* renamed from: w reason: collision with root package name */ - public long f412w; + public long w; @VisibleForTesting /* renamed from: x reason: collision with root package name */ - public int[] f413x; + public int[] f395x; @VisibleForTesting /* renamed from: y reason: collision with root package name */ - public int[] f414y; + public int[] f396y; @VisibleForTesting /* renamed from: z reason: collision with root package name */ - public int f415z; + public int f397z; /* compiled from: FadeDrawable */ public interface a { @@ -51,20 +49,20 @@ public class f extends b { d.C(drawableArr.length >= 1, "At least one layer required!"); this.q = drawableArr; int[] iArr = new int[drawableArr.length]; - this.f413x = iArr; - this.f414y = new int[drawableArr.length]; - this.f415z = 255; + this.f395x = iArr; + this.f396y = new int[drawableArr.length]; + this.f397z = 255; this.A = new boolean[drawableArr.length]; this.B = 0; - this.f411r = z2; + this.r = z2; int i2 = z2 ? 255 : 0; - this.s = i2; + this.f394s = i2; this.t = i; this.u = 2; Arrays.fill(iArr, i2); - this.f413x[0] = 255; - Arrays.fill(this.f414y, i2); - this.f414y[0] = 255; + this.f395x[0] = 255; + Arrays.fill(this.f396y, i2); + this.f396y[0] = 255; Arrays.fill(this.A, z2); this.A[0] = true; } @@ -76,8 +74,8 @@ public class f extends b { int i2 = this.u; int i3 = 2; if (i2 == 0) { - System.arraycopy(this.f414y, 0, this.f413x, 0, this.q.length); - this.f412w = SystemClock.uptimeMillis(); + System.arraycopy(this.f396y, 0, this.f395x, 0, this.q.length); + this.w = SystemClock.uptimeMillis(); z2 = i(this.v == 0 ? 1.0f : 0.0f); if (!this.D && (i = this.t) >= 0) { boolean[] zArr = this.A; @@ -97,7 +95,7 @@ public class f extends b { z2 = true; } else { d.B(this.v > 0); - z2 = i(((float) (SystemClock.uptimeMillis() - this.f412w)) / ((float) this.v)); + z2 = i(((float) (SystemClock.uptimeMillis() - this.w)) / ((float) this.v)); if (!z2) { i3 = 1; } @@ -110,7 +108,7 @@ public class f extends b { break; } Drawable drawable = drawableArr[i4]; - int ceil = (int) Math.ceil(((double) (this.f414y[i4] * this.f415z)) / 255.0d); + int ceil = (int) Math.ceil(((double) (this.f396y[i4] * this.f397z)) / 255.0d); if (drawable != null && ceil > 0) { this.B++; drawable.mutate().setAlpha(ceil); @@ -142,14 +140,14 @@ public class f extends b { public void g() { this.u = 2; for (int i = 0; i < this.q.length; i++) { - this.f414y[i] = this.A[i] ? 255 : 0; + this.f396y[i] = this.A[i] ? 255 : 0; } invalidateSelf(); } @Override // android.graphics.drawable.Drawable public int getAlpha() { - return this.f415z; + return this.f397z; } public final boolean i(float f) { @@ -157,8 +155,8 @@ public class f extends b { for (int i = 0; i < this.q.length; i++) { boolean[] zArr = this.A; int i2 = zArr[i] ? 1 : -1; - int[] iArr = this.f414y; - iArr[i] = (int) ((((float) (i2 * 255)) * f) + ((float) this.f413x[i])); + int[] iArr = this.f396y; + iArr[i] = (int) ((((float) (i2 * 255)) * f) + ((float) this.f395x[i])); if (iArr[i] < 0) { iArr[i] = 0; } @@ -184,8 +182,8 @@ public class f extends b { @Override // c.f.g.e.b, android.graphics.drawable.Drawable public void setAlpha(int i) { - if (this.f415z != i) { - this.f415z = i; + if (this.f397z != i) { + this.f397z = i; invalidateSelf(); } } diff --git a/app/src/main/java/c/f/g/e/g.java b/app/src/main/java/c/f/g/e/g.java index 482565274c..786011e131 100644 --- a/app/src/main/java/c/f/g/e/g.java +++ b/app/src/main/java/c/f/g/e/g.java @@ -133,7 +133,7 @@ public class g extends Drawable implements Drawable.Callback, e0, d0, d { d.V1(drawable2, null, null); d.V1(drawable, null, null); d.X1(drawable, this.k); - d.N(drawable, this); + d.L(drawable, this); d.V1(drawable, this, this); this.j = drawable; invalidateSelf(); @@ -177,7 +177,7 @@ public class g extends Drawable implements Drawable.Callback, e0, d0, d { @Override // android.graphics.drawable.Drawable public void setColorFilter(ColorFilter colorFilter) { e eVar = this.k; - eVar.f410c = colorFilter; + eVar.f393c = colorFilter; eVar.b = true; Drawable drawable = this.j; if (drawable != null) { diff --git a/app/src/main/java/c/f/g/e/k.java b/app/src/main/java/c/f/g/e/k.java index dffc5ad8b0..d185846fbe 100644 --- a/app/src/main/java/c/f/g/e/k.java +++ b/app/src/main/java/c/f/g/e/k.java @@ -69,7 +69,7 @@ public class k extends n { float f = this.l; if (f > 0.0f) { this.M.setStrokeWidth(f); - this.M.setColor(d.m1(this.o, this.L.getAlpha())); + this.M.setColor(d.k1(this.o, this.L.getAlpha())); canvas.drawPath(this.p, this.M); } canvas.restoreToCount(save); diff --git a/app/src/main/java/c/f/g/e/l.java b/app/src/main/java/c/f/g/e/l.java index 735103b0a4..e301110f93 100644 --- a/app/src/main/java/c/f/g/e/l.java +++ b/app/src/main/java/c/f/g/e/l.java @@ -24,18 +24,16 @@ public class l extends Drawable implements j { public float o = 0.0f; public int p = 0; public boolean q = false; - - /* renamed from: r reason: collision with root package name */ - public boolean f416r = false; + public boolean r = false; @VisibleForTesting - public final Path s = new Path(); + + /* renamed from: s reason: collision with root package name */ + public final Path f398s = new Path(); @VisibleForTesting public final Path t = new Path(); public int u = 0; public final RectF v = new RectF(); - - /* renamed from: w reason: collision with root package name */ - public int f417w = 255; + public int w = 255; public l(int i) { if (this.u != i) { @@ -60,7 +58,7 @@ public class l extends Drawable implements j { public final void b() { float[] fArr; float[] fArr2; - this.s.reset(); + this.f398s.reset(); this.t.reset(); this.v.set(getBounds()); RectF rectF = this.v; @@ -87,7 +85,7 @@ public class l extends Drawable implements j { float f3 = this.o + (this.q ? this.n : 0.0f); this.v.inset(f3, f3); if (this.m) { - this.s.addCircle(this.v.centerX(), this.v.centerY(), Math.min(this.v.width(), this.v.height()) / 2.0f, Path.Direction.CW); + this.f398s.addCircle(this.v.centerX(), this.v.centerY(), Math.min(this.v.width(), this.v.height()) / 2.0f, Path.Direction.CW); } else if (this.q) { if (this.k == null) { this.k = new float[8]; @@ -100,9 +98,9 @@ public class l extends Drawable implements j { fArr[i] = this.i[i] - this.n; i++; } - this.s.addRoundRect(this.v, fArr, Path.Direction.CW); + this.f398s.addRoundRect(this.v, fArr, Path.Direction.CW); } else { - this.s.addRoundRect(this.v, this.i, Path.Direction.CW); + this.f398s.addRoundRect(this.v, this.i, Path.Direction.CW); } float f4 = -f3; this.v.inset(f4, f4); @@ -117,12 +115,12 @@ public class l extends Drawable implements j { @Override // android.graphics.drawable.Drawable public void draw(Canvas canvas) { - this.l.setColor(d.m1(this.u, this.f417w)); + this.l.setColor(d.k1(this.u, this.w)); this.l.setStyle(Paint.Style.FILL); - this.l.setFilterBitmap(this.f416r); - canvas.drawPath(this.s, this.l); + this.l.setFilterBitmap(this.r); + canvas.drawPath(this.f398s, this.l); if (this.n != 0.0f) { - this.l.setColor(d.m1(this.p, this.f417w)); + this.l.setColor(d.k1(this.p, this.w)); this.l.setStyle(Paint.Style.STROKE); this.l.setStrokeWidth(this.n); canvas.drawPath(this.t, this.l); @@ -131,8 +129,8 @@ public class l extends Drawable implements j { @Override // c.f.g.e.j public void e(boolean z2) { - if (this.f416r != z2) { - this.f416r = z2; + if (this.r != z2) { + this.r = z2; invalidateSelf(); } } @@ -148,16 +146,16 @@ public class l extends Drawable implements j { @Override // android.graphics.drawable.Drawable public int getAlpha() { - return this.f417w; + return this.w; } @Override // android.graphics.drawable.Drawable public int getOpacity() { - int m1 = d.m1(this.u, this.f417w) >>> 24; - if (m1 == 255) { + int k1 = d.k1(this.u, this.w) >>> 24; + if (k1 == 255) { return -1; } - return m1 == 0 ? -2 : -3; + return k1 == 0 ? -2 : -3; } @Override // c.f.g.e.j @@ -171,7 +169,7 @@ public class l extends Drawable implements j { @Override // c.f.g.e.j public void j(float f) { - d.l(f >= 0.0f, "radius should be non negative"); + d.k(f >= 0.0f, "radius should be non negative"); Arrays.fill(this.i, f); b(); invalidateSelf(); @@ -182,7 +180,7 @@ public class l extends Drawable implements j { if (fArr == null) { Arrays.fill(this.i, 0.0f); } else { - d.l(fArr.length == 8, "radii should have exactly 8 values"); + d.k(fArr.length == 8, "radii should have exactly 8 values"); System.arraycopy(fArr, 0, this.i, 0, 8); } b(); @@ -197,8 +195,8 @@ public class l extends Drawable implements j { @Override // android.graphics.drawable.Drawable public void setAlpha(int i) { - if (i != this.f417w) { - this.f417w = i; + if (i != this.w) { + this.w = i; invalidateSelf(); } } diff --git a/app/src/main/java/c/f/g/e/m.java b/app/src/main/java/c/f/g/e/m.java index 5f62ef9598..46cd72ce05 100644 --- a/app/src/main/java/c/f/g/e/m.java +++ b/app/src/main/java/c/f/g/e/m.java @@ -23,26 +23,24 @@ public class m extends g implements j { public Matrix p; public final float[] q = new float[8]; @VisibleForTesting - - /* renamed from: r reason: collision with root package name */ - public final float[] f418r = new float[8]; + public final float[] r = new float[8]; @VisibleForTesting - public final Paint s = new Paint(1); + + /* renamed from: s reason: collision with root package name */ + public final Paint f399s = new Paint(1); public boolean t = false; public float u = 0.0f; public int v = 0; - - /* renamed from: w reason: collision with root package name */ - public int f419w = 0; + public int w = 0; /* renamed from: x reason: collision with root package name */ - public float f420x = 0.0f; + public float f400x = 0.0f; /* renamed from: y reason: collision with root package name */ - public boolean f421y = false; + public boolean f401y = false; /* renamed from: z reason: collision with root package name */ - public boolean f422z = false; + public boolean f402z = false; public m(Drawable drawable) { super(drawable); @@ -68,7 +66,7 @@ public class m extends g implements j { this.n.set(getBounds()); int h = b.h(this.m); if (h == 0) { - if (this.f421y) { + if (this.f401y) { RectF rectF = this.o; if (rectF == null) { this.o = new RectF(this.n); @@ -94,32 +92,32 @@ public class m extends g implements j { drawable2.draw(canvas); } } - this.s.setStyle(Paint.Style.FILL); - this.s.setColor(this.f419w); - this.s.setStrokeWidth(0.0f); - this.s.setFilterBitmap(this.f422z); + this.f399s.setStyle(Paint.Style.FILL); + this.f399s.setColor(this.w); + this.f399s.setStrokeWidth(0.0f); + this.f399s.setFilterBitmap(this.f402z); this.A.setFillType(Path.FillType.EVEN_ODD); - canvas.drawPath(this.A, this.s); + canvas.drawPath(this.A, this.f399s); if (this.t) { float width = ((this.n.width() - this.n.height()) + this.u) / 2.0f; float height = ((this.n.height() - this.n.width()) + this.u) / 2.0f; if (width > 0.0f) { RectF rectF3 = this.n; float f2 = rectF3.left; - canvas.drawRect(f2, rectF3.top, f2 + width, rectF3.bottom, this.s); + canvas.drawRect(f2, rectF3.top, f2 + width, rectF3.bottom, this.f399s); RectF rectF4 = this.n; float f3 = rectF4.right; - canvas.drawRect(f3 - width, rectF4.top, f3, rectF4.bottom, this.s); + canvas.drawRect(f3 - width, rectF4.top, f3, rectF4.bottom, this.f399s); } if (height > 0.0f) { RectF rectF5 = this.n; float f4 = rectF5.left; float f5 = rectF5.top; - canvas.drawRect(f4, f5, rectF5.right, f5 + height, this.s); + canvas.drawRect(f4, f5, rectF5.right, f5 + height, this.f399s); RectF rectF6 = this.n; float f6 = rectF6.left; float f7 = rectF6.bottom; - canvas.drawRect(f6, f7 - height, rectF6.right, f7, this.s); + canvas.drawRect(f6, f7 - height, rectF6.right, f7, this.f399s); } } } else if (h == 1) { @@ -132,32 +130,32 @@ public class m extends g implements j { canvas.restoreToCount(save2); } if (this.v != 0) { - this.s.setStyle(Paint.Style.STROKE); - this.s.setColor(this.v); - this.s.setStrokeWidth(this.u); + this.f399s.setStyle(Paint.Style.STROKE); + this.f399s.setColor(this.v); + this.f399s.setStrokeWidth(this.u); this.A.setFillType(Path.FillType.EVEN_ODD); - canvas.drawPath(this.B, this.s); + canvas.drawPath(this.B, this.f399s); } } @Override // c.f.g.e.j public void e(boolean z2) { - if (this.f422z != z2) { - this.f422z = z2; + if (this.f402z != z2) { + this.f402z = z2; invalidateSelf(); } } @Override // c.f.g.e.j public void f(boolean z2) { - this.f421y = z2; + this.f401y = z2; p(); invalidateSelf(); } @Override // c.f.g.e.j public void i(float f) { - this.f420x = f; + this.f400x = f; p(); invalidateSelf(); } @@ -174,7 +172,7 @@ public class m extends g implements j { if (fArr == null) { Arrays.fill(this.q, 0.0f); } else { - d.l(fArr.length == 8, "radii should have exactly 8 values"); + d.k(fArr.length == 8, "radii should have exactly 8 values"); System.arraycopy(fArr, 0, this.q, 0, 8); } p(); @@ -196,7 +194,7 @@ public class m extends g implements j { this.B.reset(); this.C.set(getBounds()); RectF rectF = this.C; - float f = this.f420x; + float f = this.f400x; rectF.inset(f, f); if (this.m == 1) { this.A.addRect(this.C, Path.Direction.CW); @@ -207,7 +205,7 @@ public class m extends g implements j { this.A.addRoundRect(this.C, this.q, Path.Direction.CW); } RectF rectF2 = this.C; - float f2 = -this.f420x; + float f2 = -this.f400x; rectF2.inset(f2, f2); RectF rectF3 = this.C; float f3 = this.u / 2.0f; @@ -217,11 +215,11 @@ public class m extends g implements j { } else { int i = 0; while (true) { - fArr = this.f418r; + fArr = this.r; if (i >= fArr.length) { break; } - fArr[i] = (this.q[i] + this.f420x) - (this.u / 2.0f); + fArr[i] = (this.q[i] + this.f400x) - (this.u / 2.0f); i++; } this.B.addRoundRect(this.C, fArr, Path.Direction.CW); diff --git a/app/src/main/java/c/f/g/e/n.java b/app/src/main/java/c/f/g/e/n.java index cb0af78ea8..09fc381537 100644 --- a/app/src/main/java/c/f/g/e/n.java +++ b/app/src/main/java/c/f/g/e/n.java @@ -47,12 +47,12 @@ public abstract class n extends Drawable implements j, d0 { public final Path p = new Path(); public final float[] q = new float[8]; @VisibleForTesting - - /* renamed from: r reason: collision with root package name */ - public final float[] f423r = new float[8]; + public final float[] r = new float[8]; @Nullable @VisibleForTesting - public float[] s; + + /* renamed from: s reason: collision with root package name */ + public float[] f403s; @VisibleForTesting public final RectF t = new RectF(); @VisibleForTesting @@ -60,22 +60,20 @@ public abstract class n extends Drawable implements j, d0 { @VisibleForTesting public final RectF v = new RectF(); @VisibleForTesting - - /* renamed from: w reason: collision with root package name */ - public final RectF f424w = new RectF(); + public final RectF w = new RectF(); @Nullable @VisibleForTesting /* renamed from: x reason: collision with root package name */ - public RectF f425x; + public RectF f404x; @VisibleForTesting /* renamed from: y reason: collision with root package name */ - public final Matrix f426y = new Matrix(); + public final Matrix f405y = new Matrix(); @VisibleForTesting /* renamed from: z reason: collision with root package name */ - public final Matrix f427z = new Matrix(); + public final Matrix f406z = new Matrix(); public n(Drawable drawable) { this.i = drawable; @@ -149,7 +147,7 @@ public abstract class n extends Drawable implements j, d0 { } else { int i = 0; while (true) { - fArr = this.f423r; + fArr = this.r; if (i >= fArr.length) { break; } @@ -167,13 +165,13 @@ public abstract class n extends Drawable implements j, d0 { if (this.j) { this.m.addCircle(this.t.centerX(), this.t.centerY(), Math.min(this.t.width(), this.t.height()) / 2.0f, Path.Direction.CW); } else if (this.H) { - if (this.s == null) { - this.s = new float[8]; + if (this.f403s == null) { + this.f403s = new float[8]; } - for (int i2 = 0; i2 < this.f423r.length; i2++) { - this.s[i2] = this.q[i2] - this.l; + for (int i2 = 0; i2 < this.r.length; i2++) { + this.f403s[i2] = this.q[i2] - this.l; } - this.m.addRoundRect(this.t, this.s, Path.Direction.CW); + this.m.addRoundRect(this.t, this.f403s, Path.Direction.CW); } else { this.m.addRoundRect(this.t, this.q, Path.Direction.CW); } @@ -223,38 +221,38 @@ public abstract class n extends Drawable implements j, d0 { this.t.set(getBounds()); } this.v.set(0.0f, 0.0f, (float) getIntrinsicWidth(), (float) getIntrinsicHeight()); - this.f424w.set(this.i.getBounds()); - this.f426y.setRectToRect(this.v, this.f424w, Matrix.ScaleToFit.FILL); + this.w.set(this.i.getBounds()); + this.f405y.setRectToRect(this.v, this.w, Matrix.ScaleToFit.FILL); if (this.H) { - RectF rectF = this.f425x; + RectF rectF = this.f404x; if (rectF == null) { - this.f425x = new RectF(this.t); + this.f404x = new RectF(this.t); } else { rectF.set(this.t); } - RectF rectF2 = this.f425x; + RectF rectF2 = this.f404x; float f = this.l; rectF2.inset(f, f); if (this.D == null) { this.D = new Matrix(); } - this.D.setRectToRect(this.t, this.f425x, Matrix.ScaleToFit.FILL); + this.D.setRectToRect(this.t, this.f404x, Matrix.ScaleToFit.FILL); } else { Matrix matrix2 = this.D; if (matrix2 != null) { matrix2.reset(); } } - if (!this.A.equals(this.B) || !this.f426y.equals(this.f427z) || ((matrix = this.D) != null && !matrix.equals(this.E))) { + if (!this.A.equals(this.B) || !this.f405y.equals(this.f406z) || ((matrix = this.D) != null && !matrix.equals(this.E))) { this.n = true; this.A.invert(this.C); this.F.set(this.A); if (this.H) { this.F.postConcat(this.D); } - this.F.preConcat(this.f426y); + this.F.preConcat(this.f405y); this.B.set(this.A); - this.f427z.set(this.f426y); + this.f406z.set(this.f405y); if (this.H) { Matrix matrix3 = this.E; if (matrix3 == null) { @@ -304,7 +302,7 @@ public abstract class n extends Drawable implements j, d0 { Arrays.fill(this.q, 0.0f); this.k = false; } else { - d.l(fArr.length == 8, "radii should have exactly 8 values"); + d.k(fArr.length == 8, "radii should have exactly 8 values"); System.arraycopy(fArr, 0, this.q, 0, 8); this.k = false; for (int i = 0; i < 8; i++) { diff --git a/app/src/main/java/c/f/g/e/p.java b/app/src/main/java/c/f/g/e/p.java index fdaf6b0a8d..234d57df9e 100644 --- a/app/src/main/java/c/f/g/e/p.java +++ b/app/src/main/java/c/f/g/e/p.java @@ -21,10 +21,10 @@ public class p extends g { @VisibleForTesting public int q = 0; @VisibleForTesting + public Matrix r; - /* renamed from: r reason: collision with root package name */ - public Matrix f428r; - public Matrix s = new Matrix(); + /* renamed from: s reason: collision with root package name */ + public Matrix f407s = new Matrix(); public p(Drawable drawable, ScalingUtils$ScaleType scalingUtils$ScaleType) { super(drawable); @@ -35,7 +35,7 @@ public class p extends g { public void d(Matrix matrix) { n(matrix); q(); - Matrix matrix2 = this.f428r; + Matrix matrix2 = this.r; if (matrix2 != null) { matrix.preConcat(matrix2); } @@ -44,10 +44,10 @@ public class p extends g { @Override // c.f.g.e.g, android.graphics.drawable.Drawable public void draw(Canvas canvas) { q(); - if (this.f428r != null) { + if (this.r != null) { int save = canvas.save(); canvas.clipRect(getBounds()); - canvas.concat(this.f428r); + canvas.concat(this.r); Drawable drawable = this.j; if (drawable != null) { drawable.draw(canvas); @@ -85,24 +85,24 @@ public class p extends g { this.q = intrinsicHeight; if (intrinsicWidth <= 0 || intrinsicHeight <= 0) { drawable.setBounds(bounds); - this.f428r = null; + this.r = null; } else if (intrinsicWidth == width && intrinsicHeight == height) { drawable.setBounds(bounds); - this.f428r = null; + this.r = null; } else { ScalingUtils$ScaleType scalingUtils$ScaleType = this.m; ScalingUtils$ScaleType scalingUtils$ScaleType2 = ScalingUtils$ScaleType.a; if (scalingUtils$ScaleType == z.l) { drawable.setBounds(bounds); - this.f428r = null; + this.r = null; return; } drawable.setBounds(0, 0, intrinsicWidth, intrinsicHeight); ScalingUtils$ScaleType scalingUtils$ScaleType3 = this.m; - Matrix matrix = this.s; + Matrix matrix = this.f407s; PointF pointF = this.o; scalingUtils$ScaleType3.a(matrix, bounds, intrinsicWidth, intrinsicHeight, pointF != null ? pointF.x : 0.5f, pointF != null ? pointF.y : 0.5f); - this.f428r = this.s; + this.r = this.f407s; } } @@ -126,7 +126,7 @@ public class p extends g { } public void r(ScalingUtils$ScaleType scalingUtils$ScaleType) { - if (!d.i0(this.m, scalingUtils$ScaleType)) { + if (!d.f0(this.m, scalingUtils$ScaleType)) { this.m = scalingUtils$ScaleType; this.n = null; p(); diff --git a/app/src/main/java/c/f/g/f/a.java b/app/src/main/java/c/f/g/f/a.java index 64452af7a5..38e138dd51 100644 --- a/app/src/main/java/c/f/g/f/a.java +++ b/app/src/main/java/c/f/g/f/a.java @@ -15,7 +15,7 @@ public class a { public static final ScalingUtils$ScaleType b = s.l; /* renamed from: c reason: collision with root package name */ - public Resources f429c; + public Resources f408c; public int d = 300; public float e = 0.0f; public Drawable f = null; @@ -30,16 +30,14 @@ public class a { public Drawable o; public List p; public Drawable q; - - /* renamed from: r reason: collision with root package name */ - public c f430r; + public c r; static { ScalingUtils$ScaleType scalingUtils$ScaleType = ScalingUtils$ScaleType.a; } public a(Resources resources) { - this.f429c = resources; + this.f408c = resources; ScalingUtils$ScaleType scalingUtils$ScaleType = a; this.g = scalingUtils$ScaleType; this.h = null; @@ -52,7 +50,7 @@ public class a { this.o = null; this.p = null; this.q = null; - this.f430r = null; + this.r = null; } public GenericDraweeHierarchy a() { diff --git a/app/src/main/java/c/f/g/f/b.java b/app/src/main/java/c/f/g/f/b.java index d984c13c5e..b5dac53767 100644 --- a/app/src/main/java/c/f/g/f/b.java +++ b/app/src/main/java/c/f/g/f/b.java @@ -30,7 +30,7 @@ public class b extends g implements f0 { if (!draweeHolder.a) { a.m(c.class, "%x: Draw requested for a non-attached controller %x. %s", Integer.valueOf(System.identityHashCode(draweeHolder)), Integer.valueOf(System.identityHashCode(draweeHolder.e)), draweeHolder.toString()); draweeHolder.b = true; - draweeHolder.f2673c = true; + draweeHolder.f2286c = true; draweeHolder.b(); } } diff --git a/app/src/main/java/c/f/g/f/c.java b/app/src/main/java/c/f/g/f/c.java index d0c8842b28..04903864da 100644 --- a/app/src/main/java/c/f/g/f/c.java +++ b/app/src/main/java/c/f/g/f/c.java @@ -9,7 +9,7 @@ public class c { public boolean b = false; /* renamed from: c reason: collision with root package name */ - public float[] f431c = null; + public float[] f409c = null; public int d = 0; public float e = 0.0f; public int f = 0; @@ -18,10 +18,10 @@ public class c { public static c a(float f) { c cVar = new c(); - if (cVar.f431c == null) { - cVar.f431c = new float[8]; + if (cVar.f409c == null) { + cVar.f409c = new float[8]; } - Arrays.fill(cVar.f431c, f); + Arrays.fill(cVar.f409c, f); return cVar; } @@ -40,7 +40,7 @@ public class c { } c cVar = (c) obj; if (this.b == cVar.b && this.d == cVar.d && Float.compare(cVar.e, this.e) == 0 && this.f == cVar.f && Float.compare(cVar.g, this.g) == 0 && this.a == cVar.a && this.h == cVar.h) { - return Arrays.equals(this.f431c, cVar.f431c); + return Arrays.equals(this.f409c, cVar.f409c); } return false; } @@ -48,7 +48,7 @@ public class c { public int hashCode() { int i = this.a; int h = (((i != 0 ? b.h(i) : 0) * 31) + (this.b ? 1 : 0)) * 31; - float[] fArr = this.f431c; + float[] fArr = this.f409c; int hashCode = (((h + (fArr != null ? Arrays.hashCode(fArr) : 0)) * 31) + this.d) * 31; float f = this.e; int floatToIntBits = (((hashCode + (f != 0.0f ? Float.floatToIntBits(f) : 0)) * 31) + this.f) * 31; diff --git a/app/src/main/java/c/f/g/f/d.java b/app/src/main/java/c/f/g/f/d.java index ea1f42a61e..6130739c03 100644 --- a/app/src/main/java/c/f/g/f/d.java +++ b/app/src/main/java/c/f/g/f/d.java @@ -42,7 +42,7 @@ public class d { public static void b(j jVar, c cVar) { jVar.c(cVar.b); - jVar.m(cVar.f431c); + jVar.m(cVar.f409c); jVar.a(cVar.f, cVar.e); jVar.i(cVar.g); jVar.f(false); @@ -87,7 +87,7 @@ public class d { if (cVar.a == 1) { m mVar = new m(drawable); b(mVar, cVar); - mVar.f419w = cVar.d; + mVar.w = cVar.d; mVar.invalidateSelf(); b.b(); return mVar; @@ -107,7 +107,7 @@ public class d { return drawable; } p pVar = new p(drawable, scalingUtils$ScaleType); - if (pointF != null && !c.c.a.a0.d.i0(pVar.o, pointF)) { + if (pointF != null && !c.c.a.a0.d.f0(pVar.o, pointF)) { if (pVar.o == null) { pVar.o = new PointF(); } diff --git a/app/src/main/java/c/f/g/g/a.java b/app/src/main/java/c/f/g/g/a.java index e5407b57a0..dc8877a5c3 100644 --- a/app/src/main/java/c/f/g/g/a.java +++ b/app/src/main/java/c/f/g/g/a.java @@ -6,13 +6,13 @@ import androidx.annotation.VisibleForTesting; /* compiled from: GestureDetector */ public class a { @VisibleForTesting - public AbstractC0063a a = null; + public AbstractC0062a a = null; @VisibleForTesting public final float b; @VisibleForTesting /* renamed from: c reason: collision with root package name */ - public boolean f432c = false; + public boolean f410c = false; @VisibleForTesting public boolean d = false; @VisibleForTesting @@ -24,7 +24,7 @@ public class a { /* compiled from: GestureDetector */ /* renamed from: c.f.g.g.a$a reason: collision with other inner class name */ - public interface AbstractC0063a { + public interface AbstractC0062a { } public a(Context context) { diff --git a/app/src/main/java/c/f/g/j/a.java b/app/src/main/java/c/f/g/j/a.java index db18c4c181..1144706935 100644 --- a/app/src/main/java/c/f/g/j/a.java +++ b/app/src/main/java/c/f/g/j/a.java @@ -39,7 +39,7 @@ public class a extends DraweeView { b.b(); b.b(); c.f.g.f.a aVar = new c.f.g.f.a(context.getResources()); - d.k2(aVar, context, attributeSet); + d.j2(aVar, context, attributeSet); b.b(); setAspectRatio(aVar.e); setHierarchy(aVar.a()); diff --git a/app/src/main/java/c/f/h/a/a/c.java b/app/src/main/java/c/f/h/a/a/c.java index 27d13ae3d6..3a15f93d7c 100644 --- a/app/src/main/java/c/f/h/a/a/c.java +++ b/app/src/main/java/c/f/h/a/a/c.java @@ -10,7 +10,7 @@ public class c extends b { public final c.f.d.k.b b; /* renamed from: c reason: collision with root package name */ - public final ScheduledExecutorService f433c; + public final ScheduledExecutorService f411c; public boolean d = false; public long e; public b f; @@ -51,13 +51,13 @@ public class c extends b { super(t); this.f = bVar; this.b = bVar2; - this.f433c = scheduledExecutorService; + this.f411c = scheduledExecutorService; } public final synchronized void c() { if (!this.d) { this.d = true; - this.f433c.schedule(this.g, 1000, TimeUnit.MILLISECONDS); + this.f411c.schedule(this.g, 1000, TimeUnit.MILLISECONDS); } } diff --git a/app/src/main/java/c/f/h/a/b/a.java b/app/src/main/java/c/f/h/a/b/a.java index 75dcf73c2f..cfd6cb5336 100644 --- a/app/src/main/java/c/f/h/a/b/a.java +++ b/app/src/main/java/c/f/h/a/b/a.java @@ -20,7 +20,7 @@ public class a implements c.f.h.a.a.a, c.b { public final b b; /* renamed from: c reason: collision with root package name */ - public final d f434c; + public final d f412c; public final c d; public final c.f.h.a.b.e.a e; public final b f; @@ -33,7 +33,7 @@ public class a implements c.f.h.a.a.a, c.b { public a(PlatformBitmapFactory platformBitmapFactory, b bVar, d dVar, c cVar, c.f.h.a.b.e.a aVar, b bVar2) { this.a = platformBitmapFactory; this.b = bVar; - this.f434c = dVar; + this.f412c = dVar; this.d = cVar; this.e = aVar; this.f = bVar2; @@ -43,12 +43,12 @@ public class a implements c.f.h.a.a.a, c.b { @Override // c.f.h.a.a.d public int a() { - return this.f434c.a(); + return this.f412c.a(); } @Override // c.f.h.a.a.d public int b() { - return this.f434c.b(); + return this.f412c.b(); } @Override // c.f.h.a.a.c.b @@ -68,7 +68,7 @@ public class a implements c.f.h.a.a.a, c.b { @Override // c.f.h.a.a.d public int e(int i) { - return this.f434c.e(i); + return this.f412c.e(i); } @Override // c.f.h.a.a.a @@ -86,12 +86,12 @@ public class a implements c.f.h.a.a.a, c.b { this.h = rect; c.f.h.a.b.f.b bVar = (c.f.h.a.b.f.b) this.d; c.f.j.a.c.a aVar = (c.f.j.a.c.a) bVar.b; - if (!c.f.j.a.c.a.a(aVar.f451c, rect).equals(aVar.d)) { + if (!c.f.j.a.c.a.a(aVar.f428c, rect).equals(aVar.d)) { aVar = new c.f.j.a.c.a(aVar.a, aVar.b, rect, aVar.i); } if (aVar != bVar.b) { bVar.b = aVar; - bVar.f437c = new c.f.j.a.c.d(aVar, bVar.d); + bVar.f415c = new c.f.j.a.c.d(aVar, bVar.d); } n(); } @@ -136,13 +136,13 @@ public class a implements c.f.h.a.a.a, c.b { } public final boolean k(int i, CloseableReference closeableReference, Canvas canvas, int i2) { - if (!CloseableReference.z(closeableReference)) { + if (!CloseableReference.y(closeableReference)) { return false; } if (this.h == null) { - canvas.drawBitmap(closeableReference.w(), 0.0f, 0.0f, this.g); + canvas.drawBitmap(closeableReference.u(), 0.0f, 0.0f, this.g); } else { - canvas.drawBitmap(closeableReference.w(), (Rect) null, this.h, this.g); + canvas.drawBitmap(closeableReference.u(), (Rect) null, this.h, this.g); } if (i2 == 3) { return true; @@ -203,10 +203,10 @@ public class a implements c.f.h.a.a.a, c.b { } public final boolean m(int i, CloseableReference closeableReference) { - if (!CloseableReference.z(closeableReference)) { + if (!CloseableReference.y(closeableReference)) { return false; } - boolean a = ((c.f.h.a.b.f.b) this.d).a(i, closeableReference.w()); + boolean a = ((c.f.h.a.b.f.b) this.d).a(i, closeableReference.u()); if (!a) { closeableReference.close(); } @@ -214,14 +214,14 @@ public class a implements c.f.h.a.a.a, c.b { } public final void n() { - int width = ((c.f.j.a.c.a) ((c.f.h.a.b.f.b) this.d).b).f451c.getWidth(); + int width = ((c.f.j.a.c.a) ((c.f.h.a.b.f.b) this.d).b).f428c.getWidth(); this.i = width; int i = -1; if (width == -1) { Rect rect = this.h; this.i = rect == null ? -1 : rect.width(); } - int height = ((c.f.j.a.c.a) ((c.f.h.a.b.f.b) this.d).b).f451c.getHeight(); + int height = ((c.f.j.a.c.a) ((c.f.h.a.b.f.b) this.d).b).f428c.getHeight(); this.j = height; if (height == -1) { Rect rect2 = this.h; diff --git a/app/src/main/java/c/f/h/a/b/d/a.java b/app/src/main/java/c/f/h/a/b/d/a.java index 414617592e..5b69a22c01 100644 --- a/app/src/main/java/c/f/h/a/b/d/a.java +++ b/app/src/main/java/c/f/h/a/b/d/a.java @@ -6,7 +6,7 @@ public class a implements CacheKey { public final String a; public a(int i) { - this.a = c.d.b.a.a.l("anim://", i); + this.a = c.d.b.a.a.p("anim://", i); } @Override // com.facebook.cache.common.CacheKey diff --git a/app/src/main/java/c/f/h/a/b/d/b.java b/app/src/main/java/c/f/h/a/b/d/b.java index 02d35f0b2e..66b993d621 100644 --- a/app/src/main/java/c/f/h/a/b/d/b.java +++ b/app/src/main/java/c/f/h/a/b/d/b.java @@ -17,7 +17,7 @@ public class b implements c.f.h.a.b.b { public final boolean b; /* renamed from: c reason: collision with root package name */ - public final SparseArray> f435c = new SparseArray<>(); + public final SparseArray> f413c = new SparseArray<>(); public CloseableReference d; public b(c cVar, boolean z2) { @@ -27,20 +27,20 @@ public class b implements c.f.h.a.b.b { @VisibleForTesting public static CloseableReference g(CloseableReference closeableReference) { - CloseableReference p; + CloseableReference n; try { - if (!CloseableReference.z(closeableReference) || !(closeableReference.w() instanceof d)) { + if (!CloseableReference.y(closeableReference) || !(closeableReference.u() instanceof d)) { if (closeableReference != null) { closeableReference.close(); } return null; } - d dVar = (d) closeableReference.w(); + d dVar = (d) closeableReference.u(); synchronized (dVar) { - p = CloseableReference.p(dVar.k); + n = CloseableReference.n(dVar.k); } closeableReference.close(); - return p; + return n; } catch (Throwable th) { Class cls = CloseableReference.i; if (closeableReference != null) { @@ -84,21 +84,21 @@ public class b implements c.f.h.a.b.b { public synchronized void b(int i, CloseableReference closeableReference, int i2) { CloseableReference closeableReference2 = null; try { - CloseableReference C = CloseableReference.C(new d(closeableReference, h.a, 0, 0)); - if (C == null) { - if (C != null) { - C.close(); + CloseableReference A = CloseableReference.A(new d(closeableReference, h.a, 0, 0)); + if (A == null) { + if (A != null) { + A.close(); } return; } c cVar = this.a; - CloseableReference c2 = cVar.b.c(new c.b(cVar.a, i), C, cVar.f452c); - if (CloseableReference.z(c2)) { - closeableReference2 = this.f435c.get(i); - this.f435c.put(i, c2); + CloseableReference c2 = cVar.b.c(new c.b(cVar.a, i), A, cVar.f429c); + if (CloseableReference.y(c2)) { + closeableReference2 = this.f413c.get(i); + this.f413c.put(i, c2); int i3 = a.a; } - C.close(); + A.close(); } finally { if (closeableReference2 != null) { closeableReference2.close(); @@ -121,13 +121,13 @@ public class b implements c.f.h.a.b.b { closeableReference.close(); } this.d = null; - for (int i = 0; i < this.f435c.size(); i++) { - CloseableReference valueAt = this.f435c.valueAt(i); + for (int i = 0; i < this.f413c.size(); i++) { + CloseableReference valueAt = this.f413c.valueAt(i); if (valueAt != null) { valueAt.close(); } } - this.f435c.clear(); + this.f413c.clear(); } @Override // c.f.h.a.b.b @@ -141,9 +141,9 @@ public class b implements c.f.h.a.b.b { public synchronized void e(int i, CloseableReference closeableReference, int i2) { Objects.requireNonNull(closeableReference); synchronized (this) { - CloseableReference closeableReference2 = this.f435c.get(i); + CloseableReference closeableReference2 = this.f413c.get(i); if (closeableReference2 != null) { - this.f435c.delete(i); + this.f413c.delete(i); Class cls = CloseableReference.i; closeableReference2.close(); int i3 = a.a; @@ -151,14 +151,14 @@ public class b implements c.f.h.a.b.b { } CloseableReference closeableReference3 = null; try { - CloseableReference C = CloseableReference.C(new d(closeableReference, h.a, 0, 0)); - if (C != null) { + CloseableReference A = CloseableReference.A(new d(closeableReference, h.a, 0, 0)); + if (A != null) { closeableReference3 = this.d; c cVar = this.a; - this.d = cVar.b.c(new c.b(cVar.a, i), C, cVar.f452c); + this.d = cVar.b.c(new c.b(cVar.a, i), A, cVar.f429c); } - if (C != null) { - C.close(); + if (A != null) { + A.close(); } } finally { if (closeableReference3 != null) { @@ -169,6 +169,6 @@ public class b implements c.f.h.a.b.b { @Override // c.f.h.a.b.b public synchronized CloseableReference f(int i) { - return g(CloseableReference.p(this.d)); + return g(CloseableReference.n(this.d)); } } diff --git a/app/src/main/java/c/f/h/a/b/d/c.java b/app/src/main/java/c/f/h/a/b/d/c.java index 69acc9aa4c..4c13fbc633 100644 --- a/app/src/main/java/c/f/h/a/b/d/c.java +++ b/app/src/main/java/c/f/h/a/b/d/c.java @@ -14,7 +14,7 @@ public class c implements b { } finally { g(); } - return CloseableReference.p(this.b); + return CloseableReference.n(this.b); } @Override // c.f.h.a.b.b @@ -23,7 +23,7 @@ public class c implements b { @Override // c.f.h.a.b.b public synchronized boolean c(int i) { - return i == this.a && CloseableReference.z(this.b); + return i == this.a && CloseableReference.y(this.b); } @Override // c.f.h.a.b.b @@ -36,13 +36,13 @@ public class c implements b { if (this.a != i) { return null; } - return CloseableReference.p(this.b); + return CloseableReference.n(this.b); } @Override // c.f.h.a.b.b public synchronized void e(int i, CloseableReference closeableReference, int i2) { if (closeableReference != null) { - if (this.b != null && closeableReference.w().equals(this.b.w())) { + if (this.b != null && closeableReference.u().equals(this.b.u())) { return; } } @@ -51,13 +51,13 @@ public class c implements b { if (closeableReference2 != null) { closeableReference2.close(); } - this.b = CloseableReference.p(closeableReference); + this.b = CloseableReference.n(closeableReference); this.a = i; } @Override // c.f.h.a.b.b public synchronized CloseableReference f(int i) { - return CloseableReference.p(this.b); + return CloseableReference.n(this.b); } public final synchronized void g() { diff --git a/app/src/main/java/c/f/h/a/b/e/c.java b/app/src/main/java/c/f/h/a/b/e/c.java index a5bef1775b..c8af5c70af 100644 --- a/app/src/main/java/c/f/h/a/b/e/c.java +++ b/app/src/main/java/c/f/h/a/b/e/c.java @@ -12,7 +12,7 @@ public class c implements b { public final c.f.h.a.b.c b; /* renamed from: c reason: collision with root package name */ - public final Bitmap.Config f436c; + public final Bitmap.Config f414c; public final ExecutorService d; public final SparseArray e = new SparseArray<>(); @@ -41,7 +41,7 @@ public class c implements b { return false; } else { try { - closeableReference = c.this.a.a(this.j.i(), this.j.g(), c.this.f436c); + closeableReference = c.this.a.a(this.j.i(), this.j.g(), c.this.f414c); i3 = -1; } catch (RuntimeException e) { c.f.d.e.a.l(c.class, "Failed to create frame bitmap", e); @@ -63,10 +63,10 @@ public class c implements b { } public final boolean b(int i, CloseableReference closeableReference, int i2) { - if (!CloseableReference.z(closeableReference)) { + if (!CloseableReference.y(closeableReference)) { return false; } - if (!((c.f.h.a.b.f.b) c.this.b).a(i, closeableReference.w())) { + if (!((c.f.h.a.b.f.b) c.this.b).a(i, closeableReference.u())) { return false; } int i3 = c.f.d.e.a.a; @@ -106,7 +106,7 @@ public class c implements b { public c(PlatformBitmapFactory platformBitmapFactory, c.f.h.a.b.c cVar, Bitmap.Config config, ExecutorService executorService) { this.a = platformBitmapFactory; this.b = cVar; - this.f436c = config; + this.f414c = config; this.d = executorService; } } diff --git a/app/src/main/java/c/f/h/a/b/f/a.java b/app/src/main/java/c/f/h/a/b/f/a.java index 8a267a6d54..4d8e555f7b 100644 --- a/app/src/main/java/c/f/h/a/b/f/a.java +++ b/app/src/main/java/c/f/h/a/b/f/a.java @@ -16,7 +16,7 @@ public class a implements d { @Override // c.f.h.a.a.d public int b() { - return ((c.f.j.a.c.a) this.a).f451c.b(); + return ((c.f.j.a.c.a) this.a).f428c.b(); } @Override // c.f.h.a.a.d diff --git a/app/src/main/java/c/f/h/a/b/f/b.java b/app/src/main/java/c/f/h/a/b/f/b.java index edbd0b97b6..ab319d451c 100644 --- a/app/src/main/java/c/f/h/a/b/f/b.java +++ b/app/src/main/java/c/f/h/a/b/f/b.java @@ -10,7 +10,7 @@ public class b implements c { public c.f.j.a.a.a b; /* renamed from: c reason: collision with root package name */ - public d f437c; + public d f415c; public final d.a d; /* compiled from: AnimatedDrawableBackendFrameRenderer */ @@ -33,12 +33,12 @@ public class b implements c { this.d = aVar2; this.a = bVar; this.b = aVar; - this.f437c = new d(aVar, aVar2); + this.f415c = new d(aVar, aVar2); } public boolean a(int i, Bitmap bitmap) { try { - this.f437c.d(i, bitmap); + this.f415c.d(i, bitmap); return true; } catch (IllegalStateException e) { c.f.d.e.a.d(b.class, e, "Rendering of frame unsuccessful. Frame number: %d", Integer.valueOf(i)); diff --git a/app/src/main/java/c/f/h/a/c/a.java b/app/src/main/java/c/f/h/a/c/a.java index 27a762be00..3dfd903e1c 100644 --- a/app/src/main/java/c/f/h/a/c/a.java +++ b/app/src/main/java/c/f/h/a/c/a.java @@ -19,33 +19,31 @@ public class a extends Drawable implements Animatable, c.f.f.a.a { public long o; public long p; public int q; + public long r; - /* renamed from: r reason: collision with root package name */ - public long f438r; - public long s; + /* renamed from: s reason: collision with root package name */ + public long f416s; public int t; public long u; public int v; - - /* renamed from: w reason: collision with root package name */ - public volatile b f439w; + public volatile b w; /* renamed from: x reason: collision with root package name */ - public e f440x; + public e f417x; /* renamed from: y reason: collision with root package name */ - public final Runnable f441y; + public final Runnable f418y; /* compiled from: AnimatedDrawable2 */ /* renamed from: c.f.h.a.c.a$a reason: collision with other inner class name */ - public class RunnableC0064a implements Runnable { - public RunnableC0064a() { + public class RunnableC0063a implements Runnable { + public RunnableC0063a() { } @Override // java.lang.Runnable public void run() { a aVar = a.this; - aVar.unscheduleSelf(aVar.f441y); + aVar.unscheduleSelf(aVar.f418y); a.this.invalidateSelf(); } } @@ -56,8 +54,8 @@ public class a extends Drawable implements Animatable, c.f.f.a.a { public a(c.f.h.a.a.a aVar) { this.u = 8; - this.f439w = j; - this.f441y = new RunnableC0064a(); + this.w = j; + this.f418y = new RunnableC0063a(); this.k = aVar; this.l = aVar == null ? null : new c.f.h.a.e.a(aVar); } @@ -84,14 +82,14 @@ public class a extends Drawable implements Animatable, c.f.f.a.a { int a = b == 0 ? aVar.a(0) : ((aVar.a.b() == 0) || max / b < ((long) aVar.a.b())) ? aVar.a(max % b) : -1; if (a == -1) { a = this.k.a() - 1; - Objects.requireNonNull(this.f439w); + Objects.requireNonNull(this.w); this.m = false; } else if (a == 0 && this.q != -1 && uptimeMillis >= this.p) { - Objects.requireNonNull(this.f439w); + Objects.requireNonNull(this.w); } boolean j3 = this.k.j(this, canvas, a); if (j3) { - Objects.requireNonNull(this.f439w); + Objects.requireNonNull(this.w); this.q = a; } if (!j3) { @@ -118,9 +116,9 @@ public class a extends Drawable implements Animatable, c.f.f.a.a { if (j2 == -1) { long j7 = this.n + j2 + this.u; this.p = j7; - scheduleSelf(this.f441y, j7); + scheduleSelf(this.f418y, j7); } else { - Objects.requireNonNull(this.f439w); + Objects.requireNonNull(this.w); this.m = false; } } @@ -180,10 +178,10 @@ public class a extends Drawable implements Animatable, c.f.f.a.a { @Override // android.graphics.drawable.Drawable public void setAlpha(int i2) { - if (this.f440x == null) { - this.f440x = new e(); + if (this.f417x == null) { + this.f417x = new e(); } - this.f440x.a = i2; + this.f417x.a = i2; c.f.h.a.a.a aVar = this.k; if (aVar != null) { aVar.f(i2); @@ -192,11 +190,11 @@ public class a extends Drawable implements Animatable, c.f.f.a.a { @Override // android.graphics.drawable.Drawable public void setColorFilter(ColorFilter colorFilter) { - if (this.f440x == null) { - this.f440x = new e(); + if (this.f417x == null) { + this.f417x = new e(); } - e eVar = this.f440x; - eVar.f410c = colorFilter; + e eVar = this.f417x; + eVar.f393c = colorFilter; eVar.b = true; c.f.h.a.a.a aVar = this.k; if (aVar != null) { @@ -210,13 +208,13 @@ public class a extends Drawable implements Animatable, c.f.f.a.a { if (!this.m && (aVar = this.k) != null && aVar.a() > 1) { this.m = true; long uptimeMillis = SystemClock.uptimeMillis(); - long j2 = uptimeMillis - this.f438r; + long j2 = uptimeMillis - this.r; this.n = j2; this.p = j2; - this.o = uptimeMillis - this.s; + this.o = uptimeMillis - this.f416s; this.q = this.t; invalidateSelf(); - Objects.requireNonNull(this.f439w); + Objects.requireNonNull(this.w); } } @@ -224,16 +222,16 @@ public class a extends Drawable implements Animatable, c.f.f.a.a { public void stop() { if (this.m) { long uptimeMillis = SystemClock.uptimeMillis(); - this.f438r = uptimeMillis - this.n; - this.s = uptimeMillis - this.o; + this.r = uptimeMillis - this.n; + this.f416s = uptimeMillis - this.o; this.t = this.q; this.m = false; this.n = 0; this.p = 0; this.o = -1; this.q = -1; - unscheduleSelf(this.f441y); - Objects.requireNonNull(this.f439w); + unscheduleSelf(this.f418y); + Objects.requireNonNull(this.w); } } } diff --git a/app/src/main/java/c/f/h/a/d/e.java b/app/src/main/java/c/f/h/a/d/e.java index 4f696353d6..c03852a2b6 100644 --- a/app/src/main/java/c/f/h/a/d/e.java +++ b/app/src/main/java/c/f/h/a/d/e.java @@ -19,7 +19,7 @@ public class e implements a { public final ScheduledExecutorService b; /* renamed from: c reason: collision with root package name */ - public final ExecutorService f442c; + public final ExecutorService f419c; public final c.f.d.k.b d; public final PlatformBitmapFactory e; public final m f; @@ -29,7 +29,7 @@ public class e implements a { public e(b bVar, ScheduledExecutorService scheduledExecutorService, ExecutorService executorService, c.f.d.k.b bVar2, PlatformBitmapFactory platformBitmapFactory, m mVar, Supplier supplier, Supplier supplier2) { this.a = bVar; this.b = scheduledExecutorService; - this.f442c = executorService; + this.f419c = executorService; this.d = bVar2; this.e = platformBitmapFactory; this.f = mVar; @@ -67,7 +67,7 @@ public class e implements a { intValue = this.h.get().intValue(); if (intValue <= 0) { d dVar2 = new d(intValue); - cVar2 = new c.f.h.a.b.e.c(this.e, bVar3, Bitmap.Config.ARGB_8888, this.f442c); + cVar2 = new c.f.h.a.b.e.c(this.e, bVar3, Bitmap.Config.ARGB_8888, this.f419c); dVar = dVar2; } else { dVar = null; diff --git a/app/src/main/java/c/f/h/b/a/b.java b/app/src/main/java/c/f/h/b/a/b.java index b166067d49..3ed5173a09 100644 --- a/app/src/main/java/c/f/h/b/a/b.java +++ b/app/src/main/java/c/f/h/b/a/b.java @@ -10,7 +10,7 @@ public interface b { public Map b; /* renamed from: c reason: collision with root package name */ - public Map f443c; + public Map f420c; public Map d; public Object e; } diff --git a/app/src/main/java/c/f/i/a.java b/app/src/main/java/c/f/i/a.java index 8e0cadee3f..291ff4cc30 100644 --- a/app/src/main/java/c/f/i/a.java +++ b/app/src/main/java/c/f/i/a.java @@ -9,16 +9,16 @@ public class a implements c.a { public static final int b; /* renamed from: c reason: collision with root package name */ - public static final byte[] f444c; + public static final byte[] f421c; public static final int d; - public static final byte[] e = d.f("GIF87a"); - public static final byte[] f = d.f("GIF89a"); + public static final byte[] e = d.e("GIF87a"); + public static final byte[] f = d.e("GIF89a"); public static final byte[] g; public static final int h; public static final byte[] i; public static final int j; - public static final byte[] k = d.f("ftyp"); - public static final byte[][] l = {d.f("heic"), d.f("heix"), d.f("hevc"), d.f("hevx"), d.f("mif1"), d.f("msf1")}; + public static final byte[] k = d.e("ftyp"); + public static final byte[][] l = {d.e("heic"), d.e("heix"), d.e("hevc"), d.e("hevx"), d.e("mif1"), d.e("msf1")}; public static final byte[] m; public static final byte[] n = {77, 77, 0, ExifInterface.START_CODE}; public static final int o; @@ -29,11 +29,11 @@ public class a implements c.a { a = bArr; b = bArr.length; byte[] bArr2 = {-119, 80, 78, 71, 13, 10, 26, 10}; - f444c = bArr2; + f421c = bArr2; d = bArr2.length; - byte[] f2 = d.f("BM"); - g = f2; - h = f2.length; + byte[] e2 = d.e("BM"); + g = e2; + h = e2.length; byte[] bArr3 = {0, 0, 1, 0}; i = bArr3; j = bArr3.length; @@ -44,7 +44,7 @@ public class a implements c.a { public a() { int[] iArr = {21, 20, b, d, 6, h, j, 12}; - d.j(true); + d.i(true); int i2 = iArr[0]; for (int i3 = 1; i3 < 8; i3++) { if (iArr[i3] > i2) { @@ -66,7 +66,7 @@ public class a implements c.a { boolean z2; boolean z3 = false; if (c.f.d.m.c.b(bArr, 0, i2)) { - d.j(Boolean.valueOf(c.f.d.m.c.b(bArr, 0, i2))); + d.i(Boolean.valueOf(c.f.d.m.c.b(bArr, 0, i2))); if (c.f.d.m.c.d(bArr, 12, c.f.d.m.c.e)) { return b.f; } @@ -88,32 +88,32 @@ public class a implements c.a { return z3 ? b.i : b.h; } byte[] bArr3 = a; - if (i2 >= bArr3.length && d.L0(bArr, bArr3, 0)) { + if (i2 >= bArr3.length && d.H0(bArr, bArr3, 0)) { return b.a; } - byte[] bArr4 = f444c; - if (i2 >= bArr4.length && d.L0(bArr, bArr4, 0)) { + byte[] bArr4 = f421c; + if (i2 >= bArr4.length && d.H0(bArr, bArr4, 0)) { return b.b; } - if (i2 >= 6 && (d.L0(bArr, e, 0) || d.L0(bArr, f, 0))) { - return b.f445c; + if (i2 >= 6 && (d.H0(bArr, e, 0) || d.H0(bArr, f, 0))) { + return b.f422c; } byte[] bArr5 = g; - if (i2 < bArr5.length ? false : d.L0(bArr, bArr5, 0)) { + if (i2 < bArr5.length ? false : d.H0(bArr, bArr5, 0)) { return b.d; } byte[] bArr6 = i; - if (i2 < bArr6.length ? false : d.L0(bArr, bArr6, 0)) { + if (i2 < bArr6.length ? false : d.H0(bArr, bArr6, 0)) { return b.e; } - if (i2 >= 12 && bArr[3] >= 8 && d.L0(bArr, k, 4)) { + if (i2 >= 12 && bArr[3] >= 8 && d.H0(bArr, k, 4)) { byte[][] bArr7 = l; int length = bArr7.length; int i3 = 0; while (true) { if (i3 >= length) { break; - } else if (d.L0(bArr, bArr7[i3], 8)) { + } else if (d.H0(bArr, bArr7[i3], 8)) { z2 = true; break; } else { @@ -123,7 +123,7 @@ public class a implements c.a { if (!z2) { return b.k; } - if (i2 >= o && (d.L0(bArr, m, 0) || d.L0(bArr, n, 0))) { + if (i2 >= o && (d.H0(bArr, m, 0) || d.H0(bArr, n, 0))) { z3 = true; } return z3 ? b.l : c.a; diff --git a/app/src/main/java/c/f/i/b.java b/app/src/main/java/c/f/i/b.java index d153fb8348..dc6074c147 100644 --- a/app/src/main/java/c/f/i/b.java +++ b/app/src/main/java/c/f/i/b.java @@ -7,7 +7,7 @@ public final class b { public static final c b = new c("PNG", "png"); /* renamed from: c reason: collision with root package name */ - public static final c f445c = new c("GIF", IconUtils.ANIMATED_IMAGE_EXTENSION); + public static final c f422c = new c("GIF", IconUtils.ANIMATED_IMAGE_EXTENSION); public static final c d = new c("BMP", "bmp"); public static final c e = new c("ICO", "ico"); public static final c f = new c("WEBP_SIMPLE", "webp"); diff --git a/app/src/main/java/c/f/i/d.java b/app/src/main/java/c/f/i/d.java index 28a26712d5..b320754c3e 100644 --- a/app/src/main/java/c/f/i/d.java +++ b/app/src/main/java/c/f/i/d.java @@ -12,7 +12,7 @@ public class d { public int b; /* renamed from: c reason: collision with root package name */ - public List f446c; + public List f423c; public final c.a d = new a(); public d() { @@ -26,22 +26,22 @@ public class d { Objects.requireNonNull(inputStream); int i2 = c2.b; byte[] bArr = new byte[i2]; - c.c.a.a0.d.j(Boolean.valueOf(i2 >= i2)); + c.c.a.a0.d.i(Boolean.valueOf(i2 >= i2)); if (inputStream.markSupported()) { try { inputStream.mark(i2); - i = c.c.a.a0.d.B1(inputStream, bArr, 0, i2); + i = c.c.a.a0.d.z1(inputStream, bArr, 0, i2); } finally { inputStream.reset(); } } else { - i = c.c.a.a0.d.B1(inputStream, bArr, 0, i2); + i = c.c.a.a0.d.z1(inputStream, bArr, 0, i2); } c b = c2.d.b(bArr, i); if (!(b == null || b == c.a)) { return b; } - List list = c2.f446c; + List list = c2.f423c; if (list != null) { for (c.a aVar : list) { c b2 = aVar.b(bArr, i); @@ -75,7 +75,7 @@ public class d { public final void d() { this.b = this.d.a(); - List list = this.f446c; + List list = this.f423c; if (list != null) { for (c.a aVar : list) { this.b = Math.max(this.b, aVar.a()); diff --git a/app/src/main/java/c/f/j/a/a/b.java b/app/src/main/java/c/f/j/a/a/b.java index 8b5dbed8fe..5c04f095a0 100644 --- a/app/src/main/java/c/f/j/a/a/b.java +++ b/app/src/main/java/c/f/j/a/a/b.java @@ -5,7 +5,7 @@ public class b { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f447c; + public final int f424c; public final int d; public final int e; public final int f; @@ -13,7 +13,7 @@ public class b { public b(int i, int i2, int i3, int i4, int i5, int i6, int i7) { this.a = i2; this.b = i3; - this.f447c = i4; + this.f424c = i4; this.d = i5; this.e = i6; this.f = i7; diff --git a/app/src/main/java/c/f/j/a/a/e.java b/app/src/main/java/c/f/j/a/a/e.java index edf3c41b46..f32ff9596d 100644 --- a/app/src/main/java/c/f/j/a/a/e.java +++ b/app/src/main/java/c/f/j/a/a/e.java @@ -11,15 +11,15 @@ public class e { public CloseableReference b; /* renamed from: c reason: collision with root package name */ - public List> f448c; + public List> f425c; public a d; public e(f fVar) { c cVar = fVar.a; Objects.requireNonNull(cVar); this.a = cVar; - this.b = CloseableReference.p(fVar.b); - this.f448c = CloseableReference.r(fVar.f449c); + this.b = CloseableReference.n(fVar.b); + this.f425c = CloseableReference.q(fVar.f426c); this.d = fVar.e; } } diff --git a/app/src/main/java/c/f/j/a/a/f.java b/app/src/main/java/c/f/j/a/a/f.java index c6168eadc8..10aaf0a937 100644 --- a/app/src/main/java/c/f/j/a/a/f.java +++ b/app/src/main/java/c/f/j/a/a/f.java @@ -10,7 +10,7 @@ public class f { public CloseableReference b; /* renamed from: c reason: collision with root package name */ - public List> f449c; + public List> f426c; public int d; public a e; @@ -26,8 +26,8 @@ public class f { closeableReference.close(); } this.b = null; - CloseableReference.t(this.f449c); - this.f449c = null; + CloseableReference.t(this.f426c); + this.f426c = null; return eVar; } catch (Throwable th) { CloseableReference closeableReference2 = this.b; @@ -36,8 +36,8 @@ public class f { closeableReference2.close(); } this.b = null; - CloseableReference.t(this.f449c); - this.f449c = null; + CloseableReference.t(this.f426c); + this.f426c = null; throw th; } } diff --git a/app/src/main/java/c/f/j/a/b/e.java b/app/src/main/java/c/f/j/a/b/e.java index bd36367fb0..01c2b86d2b 100644 --- a/app/src/main/java/c/f/j/a/b/e.java +++ b/app/src/main/java/c/f/j/a/b/e.java @@ -14,7 +14,7 @@ public class e implements d { public static c b; /* renamed from: c reason: collision with root package name */ - public final b f450c; + public final b f427c; public final PlatformBitmapFactory d; static { @@ -34,7 +34,7 @@ public class e implements d { } public e(b bVar, PlatformBitmapFactory platformBitmapFactory) { - this.f450c = bVar; + this.f427c = bVar; this.d = platformBitmapFactory; } @@ -42,9 +42,9 @@ public class e implements d { try { Objects.requireNonNull(bVar); f fVar = new f(cVar); - fVar.b = CloseableReference.p(null); + fVar.b = CloseableReference.n(null); fVar.d = 0; - fVar.f449c = CloseableReference.r(null); + fVar.f426c = CloseableReference.q(null); fVar.e = null; a aVar = new a(fVar.a()); CloseableReference.t(null); diff --git a/app/src/main/java/c/f/j/a/c/a.java b/app/src/main/java/c/f/j/a/c/a.java index 5917cfdda2..dbcdfdb5bc 100644 --- a/app/src/main/java/c/f/j/a/c/a.java +++ b/app/src/main/java/c/f/j/a/c/a.java @@ -15,7 +15,7 @@ public class a implements c.f.j.a.a.a { public final e b; /* renamed from: c reason: collision with root package name */ - public final c f451c; + public final c f428c; public final Rect d; public final int[] e; public final b[] f; @@ -28,7 +28,7 @@ public class a implements c.f.j.a.a.a { this.a = aVar; this.b = eVar; c cVar = eVar.a; - this.f451c = cVar; + this.f428c = cVar; int[] h = cVar.h(); this.e = h; Objects.requireNonNull(aVar); @@ -51,11 +51,11 @@ public class a implements c.f.j.a.a.a { iArr3[i4] = i3; i3 += iArr2[i4]; } - this.d = a(this.f451c, rect); + this.d = a(this.f428c, rect); this.i = z2; - this.f = new b[this.f451c.a()]; - for (int i5 = 0; i5 < this.f451c.a(); i5++) { - this.f[i5] = this.f451c.f(i5); + this.f = new b[this.f428c.a()]; + for (int i5 = 0; i5 < this.f428c.a(); i5++) { + this.f[i5] = this.f428c.f(i5); } } @@ -64,7 +64,7 @@ public class a implements c.f.j.a.a.a { } public int b() { - return this.f451c.a(); + return this.f428c.a(); } public final synchronized Bitmap c(int i, int i2) { @@ -86,9 +86,9 @@ public class a implements c.f.j.a.a.a { } public void d(int i, Canvas canvas) { - d d = this.f451c.d(i); + d d = this.f428c.d(i); try { - if (this.f451c.e()) { + if (this.f428c.e()) { f(canvas, d); } else { e(canvas, d); @@ -127,8 +127,8 @@ public class a implements c.f.j.a.a.a { } public final void f(Canvas canvas, d dVar) { - double width = ((double) this.d.width()) / ((double) this.f451c.getWidth()); - double height = ((double) this.d.height()) / ((double) this.f451c.getHeight()); + double width = ((double) this.d.width()) / ((double) this.f428c.getWidth()); + double height = ((double) this.d.height()) / ((double) this.f428c.getHeight()); int round = (int) Math.round(((double) dVar.getWidth()) * width); int round2 = (int) Math.round(((double) dVar.getHeight()) * height); int b = (int) (((double) dVar.b()) * width); diff --git a/app/src/main/java/c/f/j/a/c/c.java b/app/src/main/java/c/f/j/a/c/c.java index 12acc9e190..5b70ee9cde 100644 --- a/app/src/main/java/c/f/j/a/c/c.java +++ b/app/src/main/java/c/f/j/a/c/c.java @@ -13,7 +13,7 @@ public class c { public final m b; /* renamed from: c reason: collision with root package name */ - public final m.b f452c = new a(); + public final m.b f429c = new a(); public final LinkedHashSet d = new LinkedHashSet<>(); /* compiled from: AnimatedFrameCache */ @@ -73,10 +73,10 @@ public class c { } public String toString() { - i g2 = d.g2(this); - g2.c("imageCacheKey", this.a); - g2.a("frameIndex", this.b); - return g2.toString(); + i f2 = d.f2(this); + f2.c("imageCacheKey", this.a); + f2.a("frameIndex", this.b); + return f2.toString(); } } diff --git a/app/src/main/java/c/f/j/a/c/d.java b/app/src/main/java/c/f/j/a/c/d.java index 2602d84bd9..520d0789c9 100644 --- a/app/src/main/java/c/f/j/a/c/d.java +++ b/app/src/main/java/c/f/j/a/c/d.java @@ -14,7 +14,7 @@ public class d { public final a b; /* renamed from: c reason: collision with root package name */ - public final Paint f453c; + public final Paint f430c; /* compiled from: AnimatedImageCompositor */ public interface a { @@ -27,7 +27,7 @@ public class d { this.a = aVar; this.b = aVar2; Paint paint = new Paint(); - this.f453c = paint; + this.f430c = paint; paint.setColor(0); paint.setStyle(Paint.Style.FILL); paint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC)); @@ -36,11 +36,11 @@ public class d { public final void a(Canvas canvas, b bVar) { int i = bVar.a; int i2 = bVar.b; - canvas.drawRect((float) i, (float) i2, (float) (i + bVar.f447c), (float) (i2 + bVar.d), this.f453c); + canvas.drawRect((float) i, (float) i2, (float) (i + bVar.f424c), (float) (i2 + bVar.d), this.f430c); } public final boolean b(b bVar) { - return bVar.a == 0 && bVar.b == 0 && bVar.f447c == ((a) this.a).d.width() && bVar.d == ((a) this.a).d.height(); + return bVar.a == 0 && bVar.b == 0 && bVar.f424c == ((a) this.a).d.width() && bVar.d == ((a) this.a).d.height(); } public final boolean c(int i) { @@ -95,7 +95,7 @@ public class d { CloseableReference b = this.b.b(i4); if (b != null) { try { - canvas.drawBitmap(b.w(), 0.0f, 0.0f, (Paint) null); + canvas.drawBitmap(b.u(), 0.0f, 0.0f, (Paint) null); if (bVar2.f == 2) { a(canvas, bVar2); } diff --git a/app/src/main/java/c/f/j/b/a.java b/app/src/main/java/c/f/j/b/a.java index d795ed9447..100baa01de 100644 --- a/app/src/main/java/c/f/j/b/a.java +++ b/app/src/main/java/c/f/j/b/a.java @@ -19,7 +19,7 @@ public class a extends PlatformBitmapFactory { @Override // com.facebook.imagepipeline.bitmaps.PlatformBitmapFactory public CloseableReference b(int i, int i2, Bitmap.Config config) { Bitmap bitmap = this.a.get(c.f.k.a.c(i, i2, config)); - c.c.a.a0.d.j(Boolean.valueOf(bitmap.getAllocationByteCount() >= c.f.k.a.b(config) * (i * i2))); + c.c.a.a0.d.i(Boolean.valueOf(bitmap.getAllocationByteCount() >= c.f.k.a.b(config) * (i * i2))); bitmap.reconfigure(i, i2, config); return CloseableReference.H(bitmap, this.a, this.b.a); } diff --git a/app/src/main/java/c/f/j/c/a0.java b/app/src/main/java/c/f/j/c/a0.java index d13c08b1a3..156a4fef1d 100644 --- a/app/src/main/java/c/f/j/c/a0.java +++ b/app/src/main/java/c/f/j/c/a0.java @@ -32,7 +32,7 @@ public class a0 { } public synchronized void b(CacheKey cacheKey, e eVar) { - d.j(Boolean.valueOf(e.t(eVar))); + d.i(Boolean.valueOf(e.t(eVar))); e put = this.a.put(cacheKey, e.a(eVar)); if (put != null) { put.close(); @@ -62,7 +62,7 @@ public class a0 { public synchronized boolean d(CacheKey cacheKey, e eVar) { Objects.requireNonNull(cacheKey); Objects.requireNonNull(eVar); - d.j(Boolean.valueOf(e.t(eVar))); + d.i(Boolean.valueOf(e.t(eVar))); e eVar2 = this.a.get(cacheKey); if (eVar2 == null) { return false; @@ -71,7 +71,7 @@ public class a0 { CloseableReference c3 = eVar.c(); if (!(c2 == null || c3 == null)) { try { - if (c2.w() == c3.w()) { + if (c2.u() == c3.u()) { this.a.remove(cacheKey); synchronized (this) { this.a.size(); diff --git a/app/src/main/java/c/f/j/c/b.java b/app/src/main/java/c/f/j/c/b.java index b7cc737691..1ba7bbdcf6 100644 --- a/app/src/main/java/c/f/j/c/b.java +++ b/app/src/main/java/c/f/j/c/b.java @@ -12,7 +12,7 @@ public class b implements CacheKey { public final e b; /* renamed from: c reason: collision with root package name */ - public final f f454c; + public final f f431c; public final c.f.j.d.b d; public final CacheKey e; public final String f; @@ -23,7 +23,7 @@ public class b implements CacheKey { Objects.requireNonNull(str); this.a = str; this.b = eVar; - this.f454c = fVar; + this.f431c = fVar; this.d = bVar; this.e = cacheKey; this.f = str2; @@ -56,7 +56,7 @@ public class b implements CacheKey { return false; } b bVar = (b) obj; - return this.g == bVar.g && this.a.equals(bVar.a) && d.i0(this.b, bVar.b) && d.i0(this.f454c, bVar.f454c) && d.i0(this.d, bVar.d) && d.i0(this.e, bVar.e) && d.i0(this.f, bVar.f); + return this.g == bVar.g && this.a.equals(bVar.a) && d.f0(this.b, bVar.b) && d.f0(this.f431c, bVar.f431c) && d.f0(this.d, bVar.d) && d.f0(this.e, bVar.e) && d.f0(this.f, bVar.f); } @Override // com.facebook.cache.common.CacheKey @@ -65,6 +65,6 @@ public class b implements CacheKey { } public String toString() { - return String.format(null, "%s_%s_%s_%s_%s_%s_%d", this.a, this.b, this.f454c, this.d, this.e, this.f, Integer.valueOf(this.g)); + return String.format(null, "%s_%s_%s_%s_%s_%s_%d", this.a, this.b, this.f431c, this.d, this.e, this.f, Integer.valueOf(this.g)); } } diff --git a/app/src/main/java/c/f/j/c/e.java b/app/src/main/java/c/f/j/c/e.java index 46aa94b635..a52bcc7ac1 100644 --- a/app/src/main/java/c/f/j/c/e.java +++ b/app/src/main/java/c/f/j/c/e.java @@ -39,12 +39,12 @@ public class e implements Callable { if (a2 == null) { return a; } - CloseableReference C = CloseableReference.C(a2); + CloseableReference A = CloseableReference.A(a2); try { - a = new c.f.j.j.e(C); + a = new c.f.j.j.e(A); } finally { - if (C != null) { - C.close(); + if (A != null) { + A.close(); } } } catch (Exception unused) { diff --git a/app/src/main/java/c/f/j/c/f.java b/app/src/main/java/c/f/j/c/f.java index a2fb301cd1..428c092cde 100644 --- a/app/src/main/java/c/f/j/c/f.java +++ b/app/src/main/java/c/f/j/c/f.java @@ -22,7 +22,7 @@ public class f { public final g b; /* renamed from: c reason: collision with root package name */ - public final j f455c; + public final j f432c; public final Executor d; public final Executor e; public final a0 f = new a0(); @@ -68,7 +68,7 @@ public class f { public f(h hVar, g gVar, j jVar, Executor executor, Executor executor2, r rVar) { this.a = hVar; this.b = gVar; - this.f455c = jVar; + this.f432c = jVar; this.d = executor; this.e = executor2; this.g = rVar; @@ -123,10 +123,10 @@ public class f { Objects.requireNonNull(dVar); try { synchronized (dVar.q) { - List B0 = c.c.a.a0.d.B0(cacheKey); + List y0 = c.c.a.a0.d.y0(cacheKey); int i = 0; while (true) { - ArrayList arrayList = (ArrayList) B0; + ArrayList arrayList = (ArrayList) y0; if (i < arrayList.size()) { String str = (String) arrayList.get(i); if (dVar.k.c(str, cacheKey)) { @@ -147,17 +147,17 @@ public class f { } } - /* JADX DEBUG: Type inference failed for r1v9. Raw type applied. Possible types: y.g, y.g */ - /* JADX DEBUG: Type inference failed for r1v10. Raw type applied. Possible types: y.g, y.g */ - public final y.g d(CacheKey cacheKey, e eVar) { + /* JADX DEBUG: Type inference failed for r1v9. Raw type applied. Possible types: z.g, z.g */ + /* JADX DEBUG: Type inference failed for r1v10. Raw type applied. Possible types: z.g, z.g */ + public final z.g d(CacheKey cacheKey, e eVar) { cacheKey.b(); int i = c.f.d.e.a.a; Objects.requireNonNull((z) this.g); - Executor executor = y.g.a; + Executor executor = z.g.a; if (eVar instanceof Boolean) { - return ((Boolean) eVar).booleanValue() ? y.g.f3156c : y.g.d; + return ((Boolean) eVar).booleanValue() ? z.g.f2993c : z.g.d; } - y.g gVar = new y.g<>(); + z.g gVar = new z.g<>(); if (gVar.h(eVar)) { return gVar; } @@ -165,21 +165,21 @@ public class f { } /* JADX INFO: finally extract failed */ - public y.g e(CacheKey cacheKey, AtomicBoolean atomicBoolean) { - y.g gVar; + public z.g e(CacheKey cacheKey, AtomicBoolean atomicBoolean) { + z.g gVar; try { b.b(); e a2 = this.f.a(cacheKey); if (a2 != null) { - y.g d = d(cacheKey, a2); + z.g d = d(cacheKey, a2); b.b(); return d; } try { - gVar = y.g.a(new e(this, null, atomicBoolean, cacheKey), this.d); + gVar = z.g.a(new e(this, null, atomicBoolean, cacheKey), this.d); } catch (Exception e) { c.f.d.e.a.n(f.class, e, "Failed to schedule disk-cache read for %s", ((c.f.b.a.f) cacheKey).a); - gVar = y.g.c(e); + gVar = z.g.c(e); } b.b(); return gVar; @@ -194,7 +194,7 @@ public class f { try { b.b(); Objects.requireNonNull(cacheKey); - c.c.a.a0.d.j(Boolean.valueOf(e.t(eVar))); + c.c.a.a0.d.i(Boolean.valueOf(e.t(eVar))); this.f.b(cacheKey, eVar); e a2 = e.a(eVar); try { diff --git a/app/src/main/java/c/f/j/c/l.java b/app/src/main/java/c/f/j/c/l.java index 5412e8abb5..a439a2bf9d 100644 --- a/app/src/main/java/c/f/j/c/l.java +++ b/app/src/main/java/c/f/j/c/l.java @@ -11,7 +11,7 @@ public class l { public final LinkedHashMap b = new LinkedHashMap<>(); /* renamed from: c reason: collision with root package name */ - public int f456c = 0; + public int f433c = 0; public l(b0 b0Var) { this.a = b0Var; @@ -22,7 +22,7 @@ public class l { } public synchronized int b() { - return this.f456c; + return this.f433c; } public final int c(V v) { @@ -35,16 +35,16 @@ public class l { public synchronized V d(K k, V v) { V remove; remove = this.b.remove(k); - this.f456c -= c(remove); + this.f433c -= c(remove); this.b.put(k, v); - this.f456c += c(v); + this.f433c += c(v); return remove; } public synchronized V e(K k) { V remove; remove = this.b.remove(k); - this.f456c -= c(remove); + this.f433c -= c(remove); return remove; } @@ -58,7 +58,7 @@ public class l { next.getKey(); } arrayList.add(next.getValue()); - this.f456c -= c(next.getValue()); + this.f433c -= c(next.getValue()); it.remove(); } return arrayList; diff --git a/app/src/main/java/c/f/j/c/m.java b/app/src/main/java/c/f/j/c/m.java index 8baad05e13..7772a91614 100644 --- a/app/src/main/java/c/f/j/c/m.java +++ b/app/src/main/java/c/f/j/c/m.java @@ -13,16 +13,16 @@ public interface m extends w, c.f.d.g.b { public final CloseableReference b; /* renamed from: c reason: collision with root package name */ - public int f457c = 0; + public int f434c = 0; public boolean d = false; public final b e; public a(K k, CloseableReference closeableReference, b bVar) { Objects.requireNonNull(k); this.a = k; - CloseableReference p = CloseableReference.p(closeableReference); - Objects.requireNonNull(p); - this.b = p; + CloseableReference n = CloseableReference.n(closeableReference); + Objects.requireNonNull(n); + this.b = n; this.e = bVar; } } diff --git a/app/src/main/java/c/f/j/c/n.java b/app/src/main/java/c/f/j/c/n.java index 405f10f995..ac998e7959 100644 --- a/app/src/main/java/c/f/j/c/n.java +++ b/app/src/main/java/c/f/j/c/n.java @@ -9,11 +9,11 @@ public class n implements i { public static n a; public CacheKey a(ImageRequest imageRequest, Object obj) { - return new b(imageRequest.f2682c.toString(), imageRequest.i, imageRequest.j, imageRequest.h, null, null, obj); + return new b(imageRequest.f2295c.toString(), imageRequest.i, imageRequest.j, imageRequest.h, null, null, obj); } public CacheKey b(ImageRequest imageRequest, Object obj) { - return new f(imageRequest.f2682c.toString()); + return new f(imageRequest.f2295c.toString()); } public CacheKey c(ImageRequest imageRequest, Object obj) { @@ -28,6 +28,6 @@ public class n implements i { cacheKey = null; str = null; } - return new b(imageRequest.f2682c.toString(), imageRequest.i, imageRequest.j, imageRequest.h, cacheKey, str, obj); + return new b(imageRequest.f2295c.toString(), imageRequest.i, imageRequest.j, imageRequest.h, cacheKey, str, obj); } } diff --git a/app/src/main/java/c/f/j/c/u.java b/app/src/main/java/c/f/j/c/u.java index f9150f65ff..9eda94fc08 100644 --- a/app/src/main/java/c/f/j/c/u.java +++ b/app/src/main/java/c/f/j/c/u.java @@ -11,6 +11,6 @@ public class u implements b0> { @Override // c.f.j.c.b0 public int a(Object obj) { - return this.a.a(((m.a) obj).b.w()); + return this.a.a(((m.a) obj).b.u()); } } diff --git a/app/src/main/java/c/f/j/c/v.java b/app/src/main/java/c/f/j/c/v.java index 3c21143e2c..d560e7caab 100644 --- a/app/src/main/java/c/f/j/c/v.java +++ b/app/src/main/java/c/f/j/c/v.java @@ -23,7 +23,7 @@ public class v implements m, w { @VisibleForTesting /* renamed from: c reason: collision with root package name */ - public final l> f458c; + public final l> f435c; public final b0 d; public final Supplier e; public MemoryCacheParams f; @@ -49,8 +49,8 @@ public class v implements m, w { synchronized (vVar) { synchronized (vVar) { z2 = false; - d.B(aVar.f457c > 0); - aVar.f457c--; + d.B(aVar.f434c > 0); + aVar.f434c--; } CloseableReference.s(vVar.o(aVar)); if (!z2) { @@ -63,7 +63,7 @@ public class v implements m, w { vVar.j(); } synchronized (vVar) { - if (!aVar.d && aVar.f457c == 0) { + if (!aVar.d && aVar.f434c == 0) { vVar.b.d(aVar.a, aVar); z2 = true; } @@ -81,7 +81,7 @@ public class v implements m, w { new WeakHashMap(); this.d = b0Var; this.b = new l<>(new u(this, b0Var)); - this.f458c = new l<>(new u(this, b0Var)); + this.f435c = new l<>(new u(this, b0Var)); this.e = supplier; MemoryCacheParams memoryCacheParams = supplier.get(); d.y(memoryCacheParams, "mMemoryCacheParamsSupplier returned null"); @@ -111,9 +111,9 @@ public class v implements m, w { e = this.b.e(k); z2 = false; if (e != null) { - m.a e2 = this.f458c.e(k); + m.a e2 = this.f435c.e(k); Objects.requireNonNull(e2); - if (e2.f457c == 0) { + if (e2.f434c == 0) { z2 = true; } d.B(z2); @@ -140,7 +140,7 @@ public class v implements m, w { m(); synchronized (this) { m.a e = this.b.e(k); - m.a e2 = this.f458c.e(k); + m.a e2 = this.f435c.e(k); closeableReference2 = null; if (e2 != null) { g(e2); @@ -148,9 +148,9 @@ public class v implements m, w { } else { closeableReference3 = null; } - V w2 = closeableReference.w(); + V u = closeableReference.u(); synchronized (this) { - int a2 = this.d.a(w2); + int a2 = this.d.a(u); z2 = true; if (a2 > this.f.e || e() > this.f.b - 1 || f() > this.f.a - a2) { z2 = false; @@ -165,7 +165,7 @@ public class v implements m, w { } if (z2) { m.a aVar = new m.a<>(k, closeableReference, bVar); - this.f458c.d(k, aVar); + this.f435c.d(k, aVar); closeableReference2 = n(aVar); } if (closeableReference3 != null) { @@ -178,7 +178,7 @@ public class v implements m, w { @Override // c.f.j.c.w public synchronized boolean contains(K k) { boolean containsKey; - l> lVar = this.f458c; + l> lVar = this.f435c; synchronized (lVar) { containsKey = lVar.b.containsKey(k); } @@ -191,7 +191,7 @@ public class v implements m, w { ArrayList> f2; synchronized (this) { f = this.b.f(jVar); - f2 = this.f458c.f(jVar); + f2 = this.f435c.f(jVar); h(f2); } i(f2); @@ -202,11 +202,11 @@ public class v implements m, w { } public synchronized int e() { - return this.f458c.a() - this.b.a(); + return this.f435c.a() - this.b.a(); } public synchronized int f() { - return this.f458c.b() - this.b.b(); + return this.f435c.b() - this.b.b(); } public final synchronized void g(m.a aVar) { @@ -223,7 +223,7 @@ public class v implements m, w { CloseableReference closeableReference = null; synchronized (this) { e = this.b.e(k); - l> lVar = this.f458c; + l> lVar = this.f435c; synchronized (lVar) { aVar = lVar.b.get(k); } @@ -262,7 +262,7 @@ public class v implements m, w { MemoryCacheParams memoryCacheParams = this.f; int min = Math.min(memoryCacheParams.d, memoryCacheParams.b - e()); MemoryCacheParams memoryCacheParams2 = this.f; - p = p(min, Math.min(memoryCacheParams2.f2675c, memoryCacheParams2.a - f())); + p = p(min, Math.min(memoryCacheParams2.f2288c, memoryCacheParams2.a - f())); h(p); } i(p); @@ -290,15 +290,15 @@ public class v implements m, w { public final synchronized CloseableReference n(m.a aVar) { synchronized (this) { d.B(!aVar.d); - aVar.f457c++; + aVar.f434c++; } - return CloseableReference.G(aVar.b.w(), new a(aVar)); - return CloseableReference.G(aVar.b.w(), new a(aVar)); + return CloseableReference.D(aVar.b.u(), new a(aVar)); + return CloseableReference.D(aVar.b.u(), new a(aVar)); } public final synchronized CloseableReference o(m.a aVar) { Objects.requireNonNull(aVar); - return (!aVar.d || aVar.f457c != 0) ? null : aVar.b; + return (!aVar.d || aVar.f434c != 0) ? null : aVar.b; } public final synchronized ArrayList> p(int i, int i2) { @@ -319,7 +319,7 @@ public class v implements m, w { } if (next != null) { this.b.e(next); - arrayList.add(this.f458c.e(next)); + arrayList.add(this.f435c.e(next)); } else { throw new IllegalStateException(String.format("key is null, but exclusiveEntries count: %d, size: %d", Integer.valueOf(this.b.a()), Integer.valueOf(this.b.b()))); } diff --git a/app/src/main/java/c/f/j/d/a.java b/app/src/main/java/c/f/j/d/a.java index 17d747a660..10b513613b 100644 --- a/app/src/main/java/c/f/j/d/a.java +++ b/app/src/main/java/c/f/j/d/a.java @@ -23,7 +23,7 @@ public class a { } public int hashCode() { - return d.M0(this.a, this.b); + return d.I0(this.a, this.b); } /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0013: APUT (r0v1 java.lang.Object[]), (0 ??[int, short, byte, char]), (r1v1 java.lang.String) */ diff --git a/app/src/main/java/c/f/j/d/b.java b/app/src/main/java/c/f/j/d/b.java index 8393d95213..09edd7cc24 100644 --- a/app/src/main/java/c/f/j/d/b.java +++ b/app/src/main/java/c/f/j/d/b.java @@ -10,7 +10,7 @@ public class b { public final int b = 100; /* renamed from: c reason: collision with root package name */ - public final int f459c = Integer.MAX_VALUE; + public final int f436c = Integer.MAX_VALUE; public final Bitmap.Config d; public b(c cVar) { @@ -25,26 +25,26 @@ public class b { return false; } b bVar = (b) obj; - return this.b == bVar.b && this.f459c == bVar.f459c && this.d == bVar.d; + return this.b == bVar.b && this.f436c == bVar.f436c && this.d == bVar.d; } public int hashCode() { - return ((((((this.d.ordinal() + (((((((((((this.b * 31) + this.f459c) * 31) + 0) * 31) + 0) * 31) + 0) * 31) + 0) * 31)) * 31) + 0) * 31) + 0) * 31) + 0; + return ((((((this.d.ordinal() + (((((((((((this.b * 31) + this.f436c) * 31) + 0) * 31) + 0) * 31) + 0) * 31) + 0) * 31)) * 31) + 0) * 31) + 0) * 31) + 0; } public String toString() { - StringBuilder O = a.O("ImageDecodeOptions{"); - i g2 = d.g2(this); - g2.a("minDecodeIntervalMs", this.b); - g2.a("maxDimensionPx", this.f459c); - g2.b("decodePreviewFrame", false); - g2.b("useLastFrameForPreview", false); - g2.b("decodeAllFrames", false); - g2.b("forceStaticImage", false); - g2.c("bitmapConfigName", this.d.name()); - g2.c("customImageDecoder", null); - g2.c("bitmapTransformation", null); - g2.c("colorSpace", null); - return a.G(O, g2.toString(), "}"); + StringBuilder R = a.R("ImageDecodeOptions{"); + i f2 = d.f2(this); + f2.a("minDecodeIntervalMs", this.b); + f2.a("maxDimensionPx", this.f436c); + f2.b("decodePreviewFrame", false); + f2.b("useLastFrameForPreview", false); + f2.b("decodeAllFrames", false); + f2.b("forceStaticImage", false); + f2.c("bitmapConfigName", this.d.name()); + f2.c("customImageDecoder", null); + f2.c("bitmapTransformation", null); + f2.c("colorSpace", null); + return a.H(R, f2.toString(), "}"); } } diff --git a/app/src/main/java/c/f/j/d/e.java b/app/src/main/java/c/f/j/d/e.java index b4674f78e1..ff8f9d74c7 100644 --- a/app/src/main/java/c/f/j/d/e.java +++ b/app/src/main/java/c/f/j/d/e.java @@ -7,16 +7,16 @@ public class e { public final int b; /* renamed from: c reason: collision with root package name */ - public final float f460c; + public final float f437c; public final float d; public e(int i, int i2) { boolean z2 = true; - d.j(Boolean.valueOf(i > 0)); - d.j(Boolean.valueOf(i2 <= 0 ? false : z2)); + d.i(Boolean.valueOf(i > 0)); + d.i(Boolean.valueOf(i2 <= 0 ? false : z2)); this.a = i; this.b = i2; - this.f460c = 2048.0f; + this.f437c = 2048.0f; this.d = 0.6666667f; } @@ -32,7 +32,7 @@ public class e { } public int hashCode() { - return d.M0(this.a, this.b); + return d.I0(this.a, this.b); } public String toString() { diff --git a/app/src/main/java/c/f/j/d/f.java b/app/src/main/java/c/f/j/d/f.java index eba21e4508..8ac666f4a1 100644 --- a/app/src/main/java/c/f/j/d/f.java +++ b/app/src/main/java/c/f/j/d/f.java @@ -8,27 +8,27 @@ public class f { public static final f b = new f(-1, true); /* renamed from: c reason: collision with root package name */ - public final int f461c; + public final int f438c; public final boolean d; public f(int i, boolean z2) { - this.f461c = i; + this.f438c = i; this.d = z2; } public int a() { if (!c()) { - return this.f461c; + return this.f438c; } throw new IllegalStateException("Rotation is set to use EXIF"); } public boolean b() { - return this.f461c != -2; + return this.f438c != -2; } public boolean c() { - return this.f461c == -1; + return this.f438c == -1; } public boolean equals(@Nullable Object obj) { @@ -39,14 +39,14 @@ public class f { return false; } f fVar = (f) obj; - return this.f461c == fVar.f461c && this.d == fVar.d; + return this.f438c == fVar.f438c && this.d == fVar.d; } public int hashCode() { - return d.N0(Integer.valueOf(this.f461c), Boolean.valueOf(this.d)); + return d.J0(Integer.valueOf(this.f438c), Boolean.valueOf(this.d)); } public String toString() { - return String.format(null, "%d defer:%b", Integer.valueOf(this.f461c), Boolean.valueOf(this.d)); + return String.format(null, "%d defer:%b", Integer.valueOf(this.f438c), Boolean.valueOf(this.d)); } } diff --git a/app/src/main/java/c/f/j/e/a.java b/app/src/main/java/c/f/j/e/a.java index b79f1838af..1359f8169d 100644 --- a/app/src/main/java/c/f/j/e/a.java +++ b/app/src/main/java/c/f/j/e/a.java @@ -11,10 +11,10 @@ public class a { /* compiled from: CloseableReferenceFactory */ /* renamed from: c.f.j.e.a$a reason: collision with other inner class name */ - public class C0065a implements CloseableReference.c { + public class C0064a implements CloseableReference.c { public final /* synthetic */ c.f.j.g.a a; - public C0065a(a aVar, c.f.j.g.a aVar2) { + public C0064a(a aVar, c.f.j.g.a aVar2) { this.a = aVar2; } @@ -48,6 +48,6 @@ public class a { } public a(c.f.j.g.a aVar) { - this.a = new C0065a(this, aVar); + this.a = new C0064a(this, aVar); } } diff --git a/app/src/main/java/c/f/j/e/b.java b/app/src/main/java/c/f/j/e/b.java index e5e72b4ddb..5f6d3b8cbb 100644 --- a/app/src/main/java/c/f/j/e/b.java +++ b/app/src/main/java/c/f/j/e/b.java @@ -9,13 +9,13 @@ public class b implements e { public final Executor b; /* renamed from: c reason: collision with root package name */ - public final Executor f462c; + public final Executor f439c; public final Executor d; public final ScheduledExecutorService e; public b(int i) { this.b = Executors.newFixedThreadPool(i, new n(10, "FrescoDecodeExecutor", true)); - this.f462c = Executors.newFixedThreadPool(i, new n(10, "FrescoBackgroundExecutor", true)); + this.f439c = Executors.newFixedThreadPool(i, new n(10, "FrescoBackgroundExecutor", true)); this.e = Executors.newScheduledThreadPool(i, new n(10, "FrescoBackgroundExecutor", true)); this.d = Executors.newFixedThreadPool(1, new n(10, "FrescoLightWeightBackgroundExecutor", true)); } @@ -32,7 +32,7 @@ public class b implements e { @Override // c.f.j.e.e public Executor c() { - return this.f462c; + return this.f439c; } @Override // c.f.j.e.e diff --git a/app/src/main/java/c/f/j/e/c.java b/app/src/main/java/c/f/j/e/c.java index 17cf4d6265..c37610e865 100644 --- a/app/src/main/java/c/f/j/e/c.java +++ b/app/src/main/java/c/f/j/e/c.java @@ -17,7 +17,7 @@ public class c implements f { public h a(DiskCacheConfig diskCacheConfig) { Objects.requireNonNull(this.a); - e eVar = new e(diskCacheConfig.a, diskCacheConfig.f2662c, diskCacheConfig.b, diskCacheConfig.h); + e eVar = new e(diskCacheConfig.a, diskCacheConfig.f2276c, diskCacheConfig.b, diskCacheConfig.h); ExecutorService newSingleThreadExecutor = Executors.newSingleThreadExecutor(); return new d(eVar, diskCacheConfig.g, new d.c(diskCacheConfig.f, diskCacheConfig.e, diskCacheConfig.d), diskCacheConfig.i, diskCacheConfig.h, diskCacheConfig.j, newSingleThreadExecutor, false); } diff --git a/app/src/main/java/c/f/j/e/h.java b/app/src/main/java/c/f/j/e/h.java index b653b877b2..39b8f51040 100644 --- a/app/src/main/java/c/f/j/e/h.java +++ b/app/src/main/java/c/f/j/e/h.java @@ -27,7 +27,7 @@ public class h { public final e b; /* renamed from: c reason: collision with root package name */ - public final d f463c; + public final d f440c; public final Supplier d; public final w e; public final w f; @@ -45,7 +45,7 @@ public class h { public h(p pVar, Set set, Set set2, Supplier supplier, w wVar, w wVar2, f fVar, f fVar2, i iVar, f1 f1Var, Supplier supplier2, Supplier supplier3, a aVar, j jVar) { this.a = pVar; this.b = new c.f.j.k.c(set); - this.f463c = new b(set2); + this.f440c = new b(set2); this.d = supplier; this.e = wVar; this.f = wVar2; @@ -60,7 +60,7 @@ public class h { try { return b(this.a.c(imageRequest), imageRequest, cVar, obj, eVar, str); } catch (Exception e) { - return c.c.a.a0.d.Q0(e); + return c.c.a.a0.d.M0(e); } } @@ -73,10 +73,10 @@ public class h { c.f.j.k.c cVar2; c.f.j.r.b.b(); if (eVar == null) { - e eVar3 = imageRequest.f2683r; + e eVar3 = imageRequest.r; if (eVar3 == null) { eVar2 = this.b; - b0 b0Var = new b0(eVar2, this.f463c); + b0 b0Var = new b0(eVar2, this.f440c); aVar = this.k; if (aVar != null) { aVar.a(obj, false); @@ -84,7 +84,7 @@ public class h { ImageRequest.c f = ImageRequest.c.f(imageRequest.m, cVar); String valueOf = String.valueOf(this.i.getAndIncrement()); if (!imageRequest.f) { - if (c.f.d.l.b.e(imageRequest.f2682c)) { + if (c.f.d.l.b.e(imageRequest.f2295c)) { z2 = false; c1 c1Var = new c1(imageRequest, valueOf, str, b0Var, obj, f, false, z2, imageRequest.l, this.l); c.f.j.r.b.b(); @@ -102,10 +102,10 @@ public class h { } cVar2 = new c.f.j.k.c(this.b, eVar3); } else { - e eVar4 = imageRequest.f2683r; + e eVar4 = imageRequest.r; if (eVar4 == null) { eVar2 = new c.f.j.k.c(this.b, eVar); - b0 b0Var = new b0(eVar2, this.f463c); + b0 b0Var = new b0(eVar2, this.f440c); aVar = this.k; if (aVar != null) { } @@ -123,7 +123,7 @@ public class h { cVar2 = new c.f.j.k.c(this.b, eVar, eVar4); } eVar2 = cVar2; - b0 b0Var = new b0(eVar2, this.f463c); + b0 b0Var = new b0(eVar2, this.f440c); aVar = this.k; if (aVar != null) { } @@ -139,7 +139,7 @@ public class h { c.f.j.r.b.b(); return dVar; } catch (Exception e) { - return c.c.a.a0.d.Q0(e); + return c.c.a.a0.d.M0(e); } finally { c.f.j.r.b.b(); } diff --git a/app/src/main/java/c/f/j/e/j.java b/app/src/main/java/c/f/j/e/j.java index 325e64b848..ecb8b2e60d 100644 --- a/app/src/main/java/c/f/j/e/j.java +++ b/app/src/main/java/c/f/j/e/j.java @@ -31,7 +31,7 @@ public class j { public final Bitmap.Config b; /* renamed from: c reason: collision with root package name */ - public final Supplier f464c; + public final Supplier f441c; public final w.a d; public final i e; public final Context f; @@ -46,25 +46,23 @@ public class j { public final n0 o; public final int p; public final x q; + public final c.f.j.h.c r; - /* renamed from: r reason: collision with root package name */ - public final c.f.j.h.c f465r; - public final Set s; + /* renamed from: s reason: collision with root package name */ + public final Set f442s; public final Set t; public final boolean u; public final DiskCacheConfig v; - - /* renamed from: w reason: collision with root package name */ - public final k f466w; + public final k w; /* renamed from: x reason: collision with root package name */ - public final boolean f467x; + public final boolean f443x; /* renamed from: y reason: collision with root package name */ - public final c.f.j.g.a f468y; + public final c.f.j.g.a f444y; /* renamed from: z reason: collision with root package name */ - public final c.f.j.c.a f469z; + public final c.f.j.c.a f445z; /* compiled from: ImagePipelineConfig */ public static class a { @@ -72,7 +70,7 @@ public class j { public final Context b; /* renamed from: c reason: collision with root package name */ - public boolean f470c = false; + public boolean f446c = false; public DiskCacheConfig d; public DiskCacheConfig e; public final k.b f = new k.b(this); @@ -96,9 +94,9 @@ public class j { n nVar; z zVar; c.f.j.r.b.b(); - this.f466w = new k(aVar.f, null); + this.w = new k(aVar.f, null); Supplier supplier = aVar.a; - this.f464c = supplier == null ? new DefaultBitmapMemoryCacheParamsSupplier((ActivityManager) aVar.b.getSystemService(ActivityChooserModel.ATTRIBUTE_ACTIVITY)) : supplier; + this.f441c = supplier == null ? new DefaultBitmapMemoryCacheParamsSupplier((ActivityManager) aVar.b.getSystemService(ActivityChooserModel.ATTRIBUTE_ACTIVITY)) : supplier; this.d = new c.f.j.c.c(); this.b = Bitmap.Config.ARGB_8888; synchronized (n.class) { @@ -112,7 +110,7 @@ public class j { Objects.requireNonNull(context); this.f = context; this.h = new c(new d()); - this.g = aVar.f470c; + this.g = aVar.f446c; this.i = new o(); synchronized (z.class) { if (z.a == null) { @@ -142,16 +140,16 @@ public class j { c.f.j.r.b.b(); x xVar = new x(new c.f.j.l.w(new w.b(null), null)); this.q = xVar; - this.f465r = new c.f.j.h.e(); - this.s = new HashSet(); + this.r = new c.f.j.h.e(); + this.f442s = new HashSet(); this.t = new HashSet(); this.u = true; DiskCacheConfig diskCacheConfig2 = aVar.e; this.v = diskCacheConfig2 != null ? diskCacheConfig2 : diskCacheConfig; this.j = new b(xVar.b()); - this.f467x = aVar.g; - this.f468y = aVar.h; - this.f469z = new c.f.j.c.k(); + this.f443x = aVar.g; + this.f444y = aVar.h; + this.f445z = new c.f.j.c.k(); c.f.j.r.b.b(); } } diff --git a/app/src/main/java/c/f/j/e/k.java b/app/src/main/java/c/f/j/e/k.java index f7412480ac..709874a4ce 100644 --- a/app/src/main/java/c/f/j/e/k.java +++ b/app/src/main/java/c/f/j/e/k.java @@ -9,7 +9,7 @@ public class k { public final d b = new c(); /* renamed from: c reason: collision with root package name */ - public final boolean f471c; + public final boolean f447c; public final Supplier d; public boolean e; public final boolean f; @@ -21,7 +21,7 @@ public class k { public boolean b; /* renamed from: c reason: collision with root package name */ - public Supplier f472c = new c.f.d.d.k(Boolean.FALSE); + public Supplier f448c = new c.f.d.d.k(Boolean.FALSE); public b(j.a aVar) { this.a = aVar; @@ -38,8 +38,8 @@ public class k { public k(b bVar, a aVar) { Objects.requireNonNull(bVar); - this.f471c = bVar.b; - this.d = bVar.f472c; + this.f447c = bVar.b; + this.d = bVar.f448c; this.e = true; this.f = true; this.g = 20; diff --git a/app/src/main/java/c/f/j/e/l.java b/app/src/main/java/c/f/j/e/l.java index 88b0ef41fd..2bea214ca7 100644 --- a/app/src/main/java/c/f/j/e/l.java +++ b/app/src/main/java/c/f/j/e/l.java @@ -44,7 +44,7 @@ public class l { public final f1 b; /* renamed from: c reason: collision with root package name */ - public final j f473c; + public final j f449c; public final a d; public m e; public s f; @@ -59,21 +59,21 @@ public class l { public p o; public f p; public h q; + public PlatformBitmapFactory r; - /* renamed from: r reason: collision with root package name */ - public PlatformBitmapFactory f474r; - public d s; + /* renamed from: s reason: collision with root package name */ + public d f450s; public a t; public l(j jVar) { c.f.j.r.b.b(); Objects.requireNonNull(jVar); - this.f473c = jVar; - Objects.requireNonNull(jVar.f466w); + this.f449c = jVar; + Objects.requireNonNull(jVar.w); this.b = new g1(jVar.j.b()); - Objects.requireNonNull(jVar.f466w); + Objects.requireNonNull(jVar.w); CloseableReference.j = 0; - this.d = new a(jVar.f468y); + this.d = new a(jVar.f444y); c.f.j.r.b.b(); } @@ -89,48 +89,48 @@ public class l { public final h a() { b bVar; if (Build.VERSION.SDK_INT >= 24) { - Objects.requireNonNull(this.f473c.f466w); + Objects.requireNonNull(this.f449c.w); } if (this.o == null) { - ContentResolver contentResolver = this.f473c.f.getApplicationContext().getContentResolver(); + ContentResolver contentResolver = this.f449c.f.getApplicationContext().getContentResolver(); if (this.n == null) { - j jVar = this.f473c; - k.d dVar = jVar.f466w.b; + j jVar = this.f449c; + k.d dVar = jVar.w.b; Context context = jVar.f; c.f.d.g.a f = jVar.q.f(); if (this.k == null) { - Objects.requireNonNull(this.f473c); + Objects.requireNonNull(this.f449c); a b = b(); b bVar2 = null; if (b != null) { - bVar2 = b.b(this.f473c.b); - bVar = b.c(this.f473c.b); + bVar2 = b.b(this.f449c.b); + bVar = b.c(this.f449c.b); } else { bVar = null; } - Objects.requireNonNull(this.f473c); + Objects.requireNonNull(this.f449c); this.k = new c.f.j.h.a(bVar2, bVar, h()); } b bVar3 = this.k; - j jVar2 = this.f473c; - c.f.j.h.c cVar = jVar2.f465r; + j jVar2 = this.f449c; + c.f.j.h.c cVar = jVar2.r; boolean z2 = jVar2.g; boolean z3 = jVar2.u; - Objects.requireNonNull(jVar2.f466w); - j jVar3 = this.f473c; + Objects.requireNonNull(jVar2.w); + j jVar3 = this.f449c; e eVar = jVar3.j; g d = jVar3.q.d(0); - this.f473c.q.e(); + this.f449c.q.e(); s d2 = d(); s e = e(); f f2 = f(); f i = i(); - i iVar = this.f473c.e; + i iVar = this.f449c.e; PlatformBitmapFactory g = g(); - Objects.requireNonNull(this.f473c.f466w); - Objects.requireNonNull(this.f473c.f466w); - Objects.requireNonNull(this.f473c.f466w); - k kVar = this.f473c.f466w; + Objects.requireNonNull(this.f449c.w); + Objects.requireNonNull(this.f449c.w); + Objects.requireNonNull(this.f449c.w); + k kVar = this.f449c.w; int i2 = kVar.a; a aVar = this.d; int i3 = kVar.g; @@ -138,50 +138,50 @@ public class l { this.n = new o(context, f, bVar3, cVar, z2, z3, false, eVar, d, d2, e, f2, i, iVar, g, 0, 0, false, i2, aVar, false, i3); } o oVar = this.n; - j jVar4 = this.f473c; + j jVar4 = this.f449c; n0 n0Var = jVar4.o; boolean z4 = jVar4.u; - Objects.requireNonNull(jVar4.f466w); + Objects.requireNonNull(jVar4.w); f1 f1Var = this.b; - j jVar5 = this.f473c; + j jVar5 = this.f449c; boolean z5 = jVar5.g; - Objects.requireNonNull(jVar5.f466w); - j jVar6 = this.f473c; - boolean z6 = jVar6.f467x; + Objects.requireNonNull(jVar5.w); + j jVar6 = this.f449c; + boolean z6 = jVar6.f443x; if (this.m == null) { - Objects.requireNonNull(jVar6.f466w); - k kVar2 = this.f473c.f466w; + Objects.requireNonNull(jVar6.w); + k kVar2 = this.f449c.w; this.m = new e(kVar2.a, false, null, null, kVar2.f); } c.f.j.s.c cVar2 = this.m; - Objects.requireNonNull(this.f473c.f466w); - Objects.requireNonNull(this.f473c.f466w); - Objects.requireNonNull(this.f473c.f466w); - Objects.requireNonNull(this.f473c.f466w); + Objects.requireNonNull(this.f449c.w); + Objects.requireNonNull(this.f449c.w); + Objects.requireNonNull(this.f449c.w); + Objects.requireNonNull(this.f449c.w); this.o = new p(contentResolver, oVar, n0Var, z4, false, f1Var, z5, false, false, z6, cVar2, false, false, false, false); } p pVar = this.o; - Set unmodifiableSet = Collections.unmodifiableSet(this.f473c.s); - Set unmodifiableSet2 = Collections.unmodifiableSet(this.f473c.t); - Supplier supplier = this.f473c.l; + Set unmodifiableSet = Collections.unmodifiableSet(this.f449c.f442s); + Set unmodifiableSet2 = Collections.unmodifiableSet(this.f449c.t); + Supplier supplier = this.f449c.l; s d3 = d(); s e2 = e(); f f3 = f(); f i4 = i(); - j jVar7 = this.f473c; + j jVar7 = this.f449c; i iVar2 = jVar7.e; f1 f1Var2 = this.b; - Supplier supplier2 = jVar7.f466w.d; + Supplier supplier2 = jVar7.w.d; Objects.requireNonNull(jVar7); - return new h(pVar, unmodifiableSet, unmodifiableSet2, supplier, d3, e2, f3, i4, iVar2, f1Var2, supplier2, null, null, this.f473c); + return new h(pVar, unmodifiableSet, unmodifiableSet2, supplier, d3, e2, f3, i4, iVar2, f1Var2, supplier2, null, null, this.f449c); } public final a b() { if (this.t == null) { PlatformBitmapFactory g = g(); - e eVar = this.f473c.j; + e eVar = this.f449c.j; m c2 = c(); - boolean z2 = this.f473c.f466w.f471c; + boolean z2 = this.f449c.w.f447c; if (!c.f.j.a.b.b.a) { try { c.f.j.a.b.b.b = (a) Class.forName("com.facebook.fresco.animation.factory.AnimatedFactoryV2Impl").getConstructor(PlatformBitmapFactory.class, e.class, m.class, Boolean.TYPE).newInstance(g, eVar, c2, Boolean.valueOf(z2)); @@ -198,9 +198,9 @@ public class l { public m c() { if (this.e == null) { - j jVar = this.f473c; - c.f.j.c.a aVar = jVar.f469z; - Supplier supplier = jVar.f464c; + j jVar = this.f449c; + c.f.j.c.a aVar = jVar.f445z; + Supplier supplier = jVar.f441c; c.f.d.g.c cVar = jVar.n; w.a aVar2 = jVar.d; c.f.j.c.k kVar = (c.f.j.c.k) aVar; @@ -215,7 +215,7 @@ public class l { public s d() { if (this.f == null) { m c2 = c(); - r rVar = this.f473c.k; + r rVar = this.f449c.k; Objects.requireNonNull((z) rVar); this.f = new s<>(c2, new t(rVar)); } @@ -224,9 +224,9 @@ public class l { public s e() { if (this.h == null) { - Objects.requireNonNull(this.f473c); + Objects.requireNonNull(this.f449c); if (this.g == null) { - j jVar = this.f473c; + j jVar = this.f449c; Supplier supplier = jVar.i; c.f.d.g.c cVar = jVar.n; v vVar = new v(new p(), new y(), supplier, null); @@ -234,7 +234,7 @@ public class l { this.g = vVar; } m mVar = this.g; - r rVar = this.f473c.k; + r rVar = this.f449c.k; Objects.requireNonNull((z) rVar); this.h = new s<>(mVar, new q(rVar)); } @@ -244,33 +244,33 @@ public class l { public f f() { if (this.i == null) { if (this.j == null) { - j jVar = this.f473c; + j jVar = this.f449c; this.j = ((c) jVar.h).a(jVar.m); } h hVar = this.j; - j jVar2 = this.f473c; + j jVar2 = this.f449c; x xVar = jVar2.q; Objects.requireNonNull(jVar2); - this.i = new f(hVar, xVar.d(0), this.f473c.q.e(), this.f473c.j.e(), this.f473c.j.d(), this.f473c.k); + this.i = new f(hVar, xVar.d(0), this.f449c.q.e(), this.f449c.j.e(), this.f449c.j.d(), this.f449c.k); } return this.i; } public PlatformBitmapFactory g() { - if (this.f474r == null) { - x xVar = this.f473c.q; + if (this.r == null) { + x xVar = this.f449c.q; h(); - this.f474r = new c.f.j.b.a(xVar.a(), this.d); + this.r = new c.f.j.b.a(xVar.a(), this.d); } - return this.f474r; + return this.r; } public d h() { d dVar; - if (this.s == null) { - j jVar = this.f473c; + if (this.f450s == null) { + j jVar = this.f449c; x xVar = jVar.q; - Objects.requireNonNull(jVar.f466w); + Objects.requireNonNull(jVar.w); if (Build.VERSION.SDK_INT >= 26) { int b = xVar.b(); dVar = new c.f.j.n.c(xVar.a(), b, new Pools.SynchronizedPool(b)); @@ -278,22 +278,22 @@ public class l { int b2 = xVar.b(); dVar = new c.f.j.n.a(xVar.a(), b2, new Pools.SynchronizedPool(b2)); } - this.s = dVar; + this.f450s = dVar; } - return this.s; + return this.f450s; } public final f i() { if (this.p == null) { if (this.q == null) { - j jVar = this.f473c; + j jVar = this.f449c; this.q = ((c) jVar.h).a(jVar.v); } h hVar = this.q; - j jVar2 = this.f473c; + j jVar2 = this.f449c; x xVar = jVar2.q; Objects.requireNonNull(jVar2); - this.p = new f(hVar, xVar.d(0), this.f473c.q.e(), this.f473c.j.e(), this.f473c.j.d(), this.f473c.k); + this.p = new f(hVar, xVar.d(0), this.f449c.q.e(), this.f449c.j.e(), this.f449c.j.d(), this.f449c.k); } return this.p; } diff --git a/app/src/main/java/c/f/j/e/o.java b/app/src/main/java/c/f/j/e/o.java index 1ab28a0572..e6882a81ba 100644 --- a/app/src/main/java/c/f/j/e/o.java +++ b/app/src/main/java/c/f/j/e/o.java @@ -24,7 +24,7 @@ public class o { public Resources b; /* renamed from: c reason: collision with root package name */ - public AssetManager f475c; + public AssetManager f451c; public final a d; public final b e; public final c f; @@ -39,27 +39,25 @@ public class o { public final w o; public final i p; public final d q; + public final d r; - /* renamed from: r reason: collision with root package name */ - public final d f476r; - public final PlatformBitmapFactory s; + /* renamed from: s reason: collision with root package name */ + public final PlatformBitmapFactory f452s; public final int t; public final int u; public boolean v; - - /* renamed from: w reason: collision with root package name */ - public final a f477w; + public final a w; /* renamed from: x reason: collision with root package name */ - public final int f478x; + public final int f453x; /* renamed from: y reason: collision with root package name */ - public final boolean f479y; + public final boolean f454y; public o(Context context, a aVar, b bVar, c cVar, boolean z2, boolean z3, boolean z4, e eVar, g gVar, w wVar, w wVar2, f fVar, f fVar2, i iVar, PlatformBitmapFactory platformBitmapFactory, int i, int i2, boolean z5, int i3, a aVar2, boolean z6, int i4) { this.a = context.getApplicationContext().getContentResolver(); this.b = context.getApplicationContext().getResources(); - this.f475c = context.getApplicationContext().getAssets(); + this.f451c = context.getApplicationContext().getAssets(); this.d = aVar; this.e = bVar; this.f = cVar; @@ -73,15 +71,15 @@ public class o { this.l = fVar; this.m = fVar2; this.p = iVar; - this.s = platformBitmapFactory; + this.f452s = platformBitmapFactory; this.q = new d<>(i4); - this.f476r = new d<>(i4); + this.r = new d<>(i4); this.t = i; this.u = i2; this.v = z5; - this.f478x = i3; - this.f477w = aVar2; - this.f479y = z6; + this.f453x = i3; + this.w = aVar2; + this.f454y = z6; } public b1 a(v0 v0Var, boolean z2, c.f.j.s.c cVar) { diff --git a/app/src/main/java/c/f/j/e/p.java b/app/src/main/java/c/f/j/e/p.java index 03ad72045c..f038d9ec4e 100644 --- a/app/src/main/java/c/f/j/e/p.java +++ b/app/src/main/java/c/f/j/e/p.java @@ -56,7 +56,7 @@ public class p { public final o b; /* renamed from: c reason: collision with root package name */ - public final n0 f480c; + public final n0 f455c; public final boolean d; public final boolean e; public final f1 f; @@ -80,12 +80,12 @@ public class p { public v0> q; @Nullable @VisibleForTesting - - /* renamed from: r reason: collision with root package name */ - public v0> f481r; + public v0> r; @Nullable @VisibleForTesting - public v0> s; + + /* renamed from: s reason: collision with root package name */ + public v0> f456s; @Nullable @VisibleForTesting public v0> t; @@ -96,21 +96,19 @@ public class p { @VisibleForTesting public v0> v; @VisibleForTesting - - /* renamed from: w reason: collision with root package name */ - public Map>, v0>> f482w = new HashMap(); + public Map>, v0>> w = new HashMap(); @VisibleForTesting /* renamed from: x reason: collision with root package name */ - public Map>, v0>> f483x; + public Map>, v0>> f457x; public p(ContentResolver contentResolver, o oVar, n0 n0Var, boolean z2, boolean z3, f1 f1Var, boolean z4, boolean z5, boolean z6, boolean z7, c cVar, boolean z8, boolean z9, boolean z10, boolean z11) { this.a = contentResolver; this.b = oVar; - this.f480c = n0Var; + this.f455c = n0Var; this.d = z2; new HashMap(); - this.f483x = new HashMap(); + this.f457x = new HashMap(); this.f = f1Var; this.g = z4; this.h = z5; @@ -127,7 +125,7 @@ public class p { if (this.o == null) { b.b(); o oVar = this.b; - v0 m = m(new m0(oVar.k, oVar.d, this.f480c)); + v0 m = m(new m0(oVar.k, oVar.d, this.f455c)); Objects.requireNonNull(m); a aVar = new a(m); this.o = aVar; @@ -155,7 +153,7 @@ public class p { try { b.b(); Objects.requireNonNull(imageRequest); - Uri uri = imageRequest.f2682c; + Uri uri = imageRequest.f2295c; d.y(uri, "Uri is null."); int i = imageRequest.d; if (i != 0) { @@ -223,13 +221,13 @@ public class p { b.b(); if (imageRequest.q != null) { synchronized (this) { - v0> v0Var = this.f482w.get(r0Var); + v0> v0Var = this.w.get(r0Var); if (v0Var == null) { o oVar3 = this.b; - s0 s0Var = new s0(r0Var, oVar3.s, oVar3.j.c()); + s0 s0Var = new s0(r0Var, oVar3.f452s, oVar3.j.c()); o oVar4 = this.b; r0 r0Var2 = new r0(oVar4.o, oVar4.p, s0Var); - this.f482w.put(r0Var, r0Var2); + this.w.put(r0Var, r0Var2); r0Var = r0Var2; } else { r0Var = v0Var; @@ -238,18 +236,18 @@ public class p { } if (this.h) { synchronized (this) { - v0> v0Var2 = this.f483x.get(r0Var); + v0> v0Var2 = this.f457x.get(r0Var); if (v0Var2 == null) { o oVar5 = this.b; i iVar = new i(r0Var, oVar5.t, oVar5.u, oVar5.v); - this.f483x.put(r0Var, iVar); + this.f457x.put(r0Var, iVar); r0Var = iVar; } else { r0Var = v0Var2; } } } - if (this.m && imageRequest.s > 0) { + if (this.m && imageRequest.f2296s > 0) { synchronized (this) { oVar = new o(r0Var, this.b.j.g()); } @@ -266,29 +264,29 @@ public class p { public final synchronized v0> d() { if (this.t == null) { o oVar = this.b; - this.t = k(new d0(oVar.j.e(), oVar.k, oVar.f475c)); + this.t = k(new d0(oVar.j.e(), oVar.k, oVar.f451c)); } return this.t; } public final synchronized v0> e() { - if (this.f481r == null) { + if (this.r == null) { o oVar = this.b; e0 e0Var = new e0(oVar.j.e(), oVar.k, oVar.a); o oVar2 = this.b; Objects.requireNonNull(oVar2); o oVar3 = this.b; - this.f481r = l(e0Var, new j1[]{new f0(oVar2.j.e(), oVar2.k, oVar2.a), new LocalExifThumbnailProducer(oVar3.j.f(), oVar3.k, oVar3.a)}); + this.r = l(e0Var, new j1[]{new f0(oVar2.j.e(), oVar2.k, oVar2.a), new LocalExifThumbnailProducer(oVar3.j.f(), oVar3.k, oVar3.a)}); } - return this.f481r; + return this.r; } public final synchronized v0> f() { - if (this.s == null) { + if (this.f456s == null) { o oVar = this.b; - this.s = k(new i0(oVar.j.e(), oVar.k, oVar.b)); + this.f456s = k(new i0(oVar.j.e(), oVar.k, oVar.b)); } - return this.s; + return this.f456s; } public final synchronized v0> g() { @@ -320,7 +318,7 @@ public class p { o oVar3 = this.b; w wVar2 = oVar3.o; c.f.j.c.i iVar2 = oVar3.p; - return new j(oVar3.n, oVar3.l, oVar3.m, iVar2, oVar3.q, oVar3.f476r, new f(wVar2, iVar2, e1Var)); + return new j(oVar3.n, oVar3.l, oVar3.m, iVar2, oVar3.q, oVar3.r, new f(wVar2, iVar2, e1Var)); } o oVar4 = this.b; return new f(oVar4.o, oVar4.p, e1Var); @@ -329,7 +327,7 @@ public class p { public final v0> j(v0 v0Var) { b.b(); o oVar = this.b; - v0> i = i(new n(oVar.d, oVar.j.a(), oVar.e, oVar.f, oVar.g, oVar.h, oVar.i, v0Var, oVar.f478x, oVar.f477w, null, l.a)); + v0> i = i(new n(oVar.d, oVar.j.a(), oVar.e, oVar.f, oVar.g, oVar.h, oVar.i, v0Var, oVar.f453x, oVar.w, null, l.a)); b.b(); return i; } @@ -369,8 +367,8 @@ public class p { c.f.j.c.i iVar2 = oVar4.p; v vVar = new v(wVar, iVar2, v0Var); if (!this.l) { - return new u(iVar2, oVar4.f479y, vVar); + return new u(iVar2, oVar4.f454y, vVar); } - return new u(iVar2, oVar4.f479y, new c.f.j.p.w(oVar4.l, oVar4.m, iVar2, oVar4.q, oVar4.f476r, vVar)); + return new u(iVar2, oVar4.f454y, new c.f.j.p.w(oVar4.l, oVar4.m, iVar2, oVar4.q, oVar4.r, vVar)); } } diff --git a/app/src/main/java/c/f/j/f/a.java b/app/src/main/java/c/f/j/f/a.java index 4661f64ec1..f24f34c549 100644 --- a/app/src/main/java/c/f/j/f/a.java +++ b/app/src/main/java/c/f/j/f/a.java @@ -35,9 +35,9 @@ public class a extends b { c1 c1Var = bVar.h; d dVar = (d) bVar; Objects.requireNonNull(dVar); - CloseableReference p = CloseableReference.p(t); + CloseableReference n = CloseableReference.n(t); boolean e = b.e(i); - if (dVar.m(p, e, c1Var.a()) && e) { + if (dVar.m(n, e, c1Var.a()) && e) { dVar.i.f(dVar.h); } } diff --git a/app/src/main/java/c/f/j/f/c.java b/app/src/main/java/c/f/j/f/c.java index def36766ab..74251b86c8 100644 --- a/app/src/main/java/c/f/j/f/c.java +++ b/app/src/main/java/c/f/j/f/c.java @@ -14,8 +14,8 @@ public abstract class c extends d> { if (dataSource.c()) { CloseableReference result = dataSource.getResult(); Bitmap bitmap = null; - if (result != null && (result.w() instanceof b)) { - bitmap = ((b) result.w()).f(); + if (result != null && (result.u() instanceof b)) { + bitmap = ((b) result.u()).f(); } try { onNewResultImpl(bitmap); diff --git a/app/src/main/java/c/f/j/f/d.java b/app/src/main/java/c/f/j/f/d.java index fae04cd499..fe38bf2848 100644 --- a/app/src/main/java/c/f/j/f/d.java +++ b/app/src/main/java/c/f/j/f/d.java @@ -17,6 +17,6 @@ public class d extends b> { @Override // c.f.e.c, com.facebook.datasource.DataSource public Object getResult() { - return CloseableReference.p((CloseableReference) super.getResult()); + return CloseableReference.n((CloseableReference) super.getResult()); } } diff --git a/app/src/main/java/c/f/j/h/a.java b/app/src/main/java/c/f/j/h/a.java index c8283a7c50..ddd0968d3c 100644 --- a/app/src/main/java/c/f/j/h/a.java +++ b/app/src/main/java/c/f/j/h/a.java @@ -16,37 +16,37 @@ public class a implements b { public final b b; /* renamed from: c reason: collision with root package name */ - public final d f484c; - public final b d = new C0066a(); + public final d f458c; + public final b d = new C0065a(); /* compiled from: DefaultImageDecoder */ /* renamed from: c.f.j.h.a$a reason: collision with other inner class name */ - public class C0066a implements b { - public C0066a() { + public class C0065a implements b { + public C0065a() { } @Override // c.f.j.h.b public c a(e eVar, int i, i iVar, b bVar) { - eVar.w(); + eVar.u(); c.f.i.c cVar = eVar.k; if (cVar == c.f.i.b.a) { a aVar = a.this; - CloseableReference b = aVar.f484c.b(eVar, bVar.d, null, i, null); + CloseableReference b = aVar.f458c.b(eVar, bVar.d, null, i, null); try { aVar.c(null, b); - eVar.w(); + eVar.u(); int i2 = eVar.l; - eVar.w(); + eVar.u(); return new c.f.j.j.d(b, iVar, i2, eVar.m); } finally { b.close(); } - } else if (cVar == c.f.i.b.f445c) { + } else if (cVar == c.f.i.b.f422c) { a aVar2 = a.this; Objects.requireNonNull(aVar2); - eVar.w(); + eVar.u(); if (eVar.n != -1) { - eVar.w(); + eVar.u(); if (eVar.o != -1) { Objects.requireNonNull(bVar); b bVar2 = aVar2.a; @@ -68,13 +68,13 @@ public class a implements b { public a(b bVar, b bVar2, d dVar) { this.a = bVar; this.b = bVar2; - this.f484c = dVar; + this.f458c = dVar; } @Override // c.f.j.h.b public c a(e eVar, int i, i iVar, b bVar) { Objects.requireNonNull(bVar); - eVar.w(); + eVar.u(); c.f.i.c cVar = eVar.k; if (cVar == null || cVar == c.f.i.c.a) { eVar.k = c.f.i.d.b(eVar.e()); @@ -83,13 +83,13 @@ public class a implements b { } public c.f.j.j.d b(e eVar, b bVar) { - CloseableReference a = this.f484c.a(eVar, bVar.d, null, null); + CloseableReference a = this.f458c.a(eVar, bVar.d, null, null); try { c(null, a); i iVar = h.a; - eVar.w(); + eVar.u(); int i = eVar.l; - eVar.w(); + eVar.u(); return new c.f.j.j.d(a, iVar, i, eVar.m); } finally { a.close(); diff --git a/app/src/main/java/c/f/j/h/d.java b/app/src/main/java/c/f/j/h/d.java index e5affd4d78..362def5d97 100644 --- a/app/src/main/java/c/f/j/h/d.java +++ b/app/src/main/java/c/f/j/h/d.java @@ -13,7 +13,7 @@ public class d { public int b = 0; /* renamed from: c reason: collision with root package name */ - public int f485c = 0; + public int f459c = 0; public int d = 0; public int e = 0; public int f = 0; @@ -39,8 +39,8 @@ public class d { if (this.a == 6 || (read = inputStream.read()) == -1) { break; } - int i2 = this.f485c + 1; - this.f485c = i2; + int i2 = this.f459c + 1; + this.f459c = i2; if (this.g) { this.a = 6; this.g = false; @@ -57,8 +57,8 @@ public class d { c.c.a.a0.d.B(false); } else { int i4 = ((this.b << 8) + read) - 2; - c.c.a.a0.d.b2(inputStream, (long) i4); - this.f485c += i4; + c.c.a.a0.d.a2(inputStream, (long) i4); + this.f459c += i4; this.a = 2; } } else if (read == 255) { @@ -117,12 +117,12 @@ public class d { } public boolean b(e eVar) { - if (this.a == 6 || eVar.f() <= this.f485c) { + if (this.a == 6 || eVar.f() <= this.f459c) { return false; } f fVar = new f(eVar.e(), this.h.get(16384), this.h); try { - c.c.a.a0.d.b2(fVar, (long) this.f485c); + c.c.a.a0.d.a2(fVar, (long) this.f459c); boolean a = a(fVar); c.f.d.d.a.b(fVar); return a; diff --git a/app/src/main/java/c/f/j/j/a.java b/app/src/main/java/c/f/j/j/a.java index 9551cd4e55..af383b2a9f 100644 --- a/app/src/main/java/c/f/j/j/a.java +++ b/app/src/main/java/c/f/j/j/a.java @@ -35,8 +35,8 @@ public class a extends c { closeableReference.close(); } eVar.b = null; - CloseableReference.t(eVar.f448c); - eVar.f448c = null; + CloseableReference.t(eVar.f425c); + eVar.f425c = null; } } diff --git a/app/src/main/java/c/f/j/j/d.java b/app/src/main/java/c/f/j/j/d.java index 82d2650867..c6bee07e73 100644 --- a/app/src/main/java/c/f/j/j/d.java +++ b/app/src/main/java/c/f/j/j/d.java @@ -19,7 +19,7 @@ public class d extends b implements c { this.l = bitmap; Bitmap bitmap2 = this.l; Objects.requireNonNull(fVar); - this.k = CloseableReference.G(bitmap2, fVar); + this.k = CloseableReference.D(bitmap2, fVar); this.m = iVar; this.n = i; this.o = 0; @@ -29,7 +29,7 @@ public class d extends b implements c { CloseableReference f = closeableReference.f(); Objects.requireNonNull(f); this.k = f; - this.l = f.w(); + this.l = f.u(); this.m = iVar; this.n = i; this.o = i2; diff --git a/app/src/main/java/c/f/j/j/e.java b/app/src/main/java/c/f/j/j/e.java index f41e3d4771..3bfbdc3d28 100644 --- a/app/src/main/java/c/f/j/j/e.java +++ b/app/src/main/java/c/f/j/j/e.java @@ -28,10 +28,10 @@ public class e implements Closeable { public int o = -1; public int p = 1; public int q = -1; + public a r; - /* renamed from: r reason: collision with root package name */ - public a f486r; - public ColorSpace s; + /* renamed from: s reason: collision with root package name */ + public ColorSpace f460s; public boolean t; public e(Supplier supplier, int i) { @@ -42,7 +42,7 @@ public class e implements Closeable { } public e(CloseableReference closeableReference) { - d.j(Boolean.valueOf(CloseableReference.z(closeableReference))); + d.i(Boolean.valueOf(CloseableReference.y(closeableReference))); this.i = closeableReference.clone(); this.j = null; } @@ -54,17 +54,17 @@ public class e implements Closeable { if (supplier != null) { eVar2 = new e(supplier, eVar.q); } else { - CloseableReference p = CloseableReference.p(eVar.i); - if (p != null) { + CloseableReference n = CloseableReference.n(eVar.i); + if (n != null) { try { - eVar2 = new e(p); + eVar2 = new e(n); } catch (Throwable th) { - p.close(); + n.close(); throw th; } } - if (p != null) { - p.close(); + if (n != null) { + n.close(); } } if (eVar2 != null) { @@ -74,7 +74,7 @@ public class e implements Closeable { return eVar2; } - public static boolean r(e eVar) { + public static boolean q(e eVar) { return eVar.l >= 0 && eVar.n >= 0 && eVar.o >= 0; } @@ -83,26 +83,26 @@ public class e implements Closeable { } public void b(e eVar) { - eVar.w(); + eVar.u(); this.k = eVar.k; - eVar.w(); + eVar.u(); this.n = eVar.n; - eVar.w(); + eVar.u(); this.o = eVar.o; - eVar.w(); + eVar.u(); this.l = eVar.l; - eVar.w(); + eVar.u(); this.m = eVar.m; this.p = eVar.p; this.q = eVar.f(); - this.f486r = eVar.f486r; - eVar.w(); - this.s = eVar.s; + this.r = eVar.r; + eVar.u(); + this.f460s = eVar.f460s; this.t = eVar.t; } public CloseableReference c() { - return CloseableReference.p(this.i); + return CloseableReference.n(this.i); } @Override // java.io.Closeable, java.lang.AutoCloseable @@ -123,7 +123,7 @@ public class e implements Closeable { int min = Math.min(f(), i); byte[] bArr = new byte[min]; try { - c2.w().i(0, bArr, 0, min); + c2.u().i(0, bArr, 0, min); c2.close(); StringBuilder sb = new StringBuilder(min * 2); for (int i2 = 0; i2 < min; i2++) { @@ -141,14 +141,14 @@ public class e implements Closeable { if (supplier != null) { return supplier.get(); } - CloseableReference p = CloseableReference.p(this.i); - if (p == null) { + CloseableReference n = CloseableReference.n(this.i); + if (n == null) { return null; } try { - return new h((PooledByteBuffer) p.w()); + return new h((PooledByteBuffer) n.u()); } finally { - p.close(); + n.close(); } } @@ -157,8 +157,8 @@ public class e implements Closeable { if (closeableReference == null) { return this.q; } - closeableReference.w(); - return this.i.w().size(); + closeableReference.u(); + return this.i.u().size(); } /* JADX DEBUG: Failed to insert an additional move for type inference into block B:42:0x00b0 */ @@ -171,14 +171,14 @@ public class e implements Closeable { /* JADX WARNING: Removed duplicated region for block: B:94:0x0161 A[Catch:{ IOException -> 0x01e5 }] */ /* JADX WARNING: Removed duplicated region for block: B:95:0x0163 A[Catch:{ IOException -> 0x01e5 }] */ /* JADX WARNING: Unknown variable types count: 2 */ - public final void p() { + public final void n() { boolean z2; int i; int i2; boolean z3; int i3; int i4; - int J1; + int H1; c b = c.f.i.d.b(e()); this.k = b; int i5 = 0; @@ -192,10 +192,10 @@ public class e implements Closeable { byte[] bArr = new byte[4]; try { e.read(bArr); - if (d.J(bArr, "RIFF")) { - d.y0(e); + if (d.I(bArr, "RIFF")) { + d.v0(e); e.read(bArr); - if (d.J(bArr, "WEBP")) { + if (d.I(bArr, "WEBP")) { e.read(bArr); StringBuilder sb = new StringBuilder(); for (int i6 = 0; i6 < 4; i6++) { @@ -203,12 +203,12 @@ public class e implements Closeable { } String sb2 = sb.toString(); if ("VP8 ".equals(sb2)) { - inputStream = d.G0(e); + inputStream = d.D0(e); } else if ("VP8L".equals(sb2)) { - inputStream = d.H0(e); + inputStream = d.E0(e); } else if ("VP8X".equals(sb2)) { e.skip(8); - Pair pair2 = new Pair(Integer.valueOf(d.D1(e) + 1), Integer.valueOf(d.D1(e) + 1)); + Pair pair2 = new Pair(Integer.valueOf(d.B1(e) + 1), Integer.valueOf(d.B1(e) + 1)); try { e.close(); } catch (IOException e2) { @@ -247,7 +247,7 @@ public class e implements Closeable { try { InputStream e6 = e(); c.f.k.b a = c.f.k.a.a(e6); - this.s = a.b; + this.f460s = a.b; Pair pair3 = a.a; if (pair3 != null) { this.n = ((Integer) pair3.first).intValue(); @@ -274,12 +274,12 @@ public class e implements Closeable { try { Objects.requireNonNull(e7); while (true) { - if (d.J1(e7, 1, false) != 255) { + if (d.H1(e7, 1, false) != 255) { break; } int i7 = 255; while (i7 == 255) { - i7 = d.J1(e7, 1, false); + i7 = d.H1(e7, 1, false); } if (i7 == 225) { z2 = true; @@ -291,24 +291,24 @@ public class e implements Closeable { } else if (i7 == 218) { break; } else { - e7.skip((long) (d.J1(e7, 2, false) - 2)); + e7.skip((long) (d.H1(e7, 2, false) - 2)); } } } } z2 = false; - if (z2 && (J1 = d.J1(e7, 2, false) - 2) > 6) { - int J12 = d.J1(e7, 4, false); - int J13 = d.J1(e7, 2, false); - i = (J1 - 4) - 2; - if (J12 == 1165519206 && J13 == 0) { + if (z2 && (H1 = d.H1(e7, 2, false) - 2) > 6) { + int H12 = d.H1(e7, 4, false); + int H13 = d.H1(e7, 2, false); + i = (H1 - 4) - 2; + if (H12 == 1165519206 && H13 == 0) { if (i == 0) { if (i > 8) { - int J14 = d.J1(e7, 4, false); + int H14 = d.H1(e7, 4, false); int i8 = i - 4; - if (J14 == 1229531648 || J14 == 1296891946) { - z3 = J14 == 1229531648; - i2 = d.J1(e7, 4, z3); + if (H14 == 1229531648 || H14 == 1296891946) { + z3 = H14 == 1229531648; + i2 = d.H1(e7, 4, z3); i3 = i8 - 4; if (i2 < 8 || i2 - 8 > i3) { c.f.d.e.a.a(c.f.k.c.class, "Invalid offset"); @@ -320,27 +320,27 @@ public class e implements Closeable { e7.skip((long) i9); int i10 = i3 - i9; if (i10 >= 14) { - int J15 = d.J1(e7, 2, z3); + int H15 = d.H1(e7, 2, z3); int i11 = i10 - 2; while (true) { - int i12 = J15 - 1; - if (J15 <= 0 || i11 < 12) { + int i12 = H15 - 1; + if (H15 <= 0 || i11 < 12) { break; } i4 = i11 - 2; - if (d.J1(e7, 2, z3) == 274) { + if (d.H1(e7, 2, z3) == 274) { break; } e7.skip(10); i11 = i4 - 10; - J15 = i12; + H15 = i12; } } i4 = 0; if (i4 >= 10) { - if (d.J1(e7, 2, z3) == 3) { - if (d.J1(e7, 4, z3) == 1) { - i5 = d.J1(e7, 2, z3); + if (d.H1(e7, 2, z3) == 3) { + if (d.H1(e7, 4, z3) == 1) { + i5 = d.H1(e7, 2, z3); } } } @@ -358,7 +358,7 @@ public class e implements Closeable { } } this.m = i5; - this.l = d.u0(i5); + this.l = d.r0(i5); } } i = 0; @@ -367,7 +367,7 @@ public class e implements Closeable { } catch (IOException unused3) { } this.m = i5; - this.l = d.u0(i5); + this.l = d.r0(i5); } } else if (b == b.k && this.l == -1) { InputStream e8 = e(); @@ -381,19 +381,19 @@ public class e implements Closeable { int i14 = c.f.d.e.a.a; } this.m = i5; - this.l = d.u0(i5); + this.l = d.r0(i5); } else if (this.l == -1) { this.l = 0; } } public synchronized boolean s() { - return CloseableReference.z(this.i) || this.j != null; + return CloseableReference.y(this.i) || this.j != null; } - public final void w() { + public final void u() { if (this.n < 0 || this.o < 0) { - p(); + n(); } } } diff --git a/app/src/main/java/c/f/j/j/h.java b/app/src/main/java/c/f/j/j/h.java index e9089af14e..222d6562c2 100644 --- a/app/src/main/java/c/f/j/j/h.java +++ b/app/src/main/java/c/f/j/j/h.java @@ -5,12 +5,12 @@ public class h implements i { public int b; /* renamed from: c reason: collision with root package name */ - public boolean f487c; + public boolean f461c; public boolean d; public h(int i, boolean z2, boolean z3) { this.b = i; - this.f487c = z2; + this.f461c = z2; this.d = z3; } @@ -22,12 +22,12 @@ public class h implements i { return false; } h hVar = (h) obj; - return this.b == hVar.b && this.f487c == hVar.f487c && this.d == hVar.d; + return this.b == hVar.b && this.f461c == hVar.f461c && this.d == hVar.d; } public int hashCode() { int i = 0; - int i2 = this.b ^ (this.f487c ? 4194304 : 0); + int i2 = this.b ^ (this.f461c ? 4194304 : 0); if (this.d) { i = 8388608; } diff --git a/app/src/main/java/c/f/j/l/a.java b/app/src/main/java/c/f/j/l/a.java index 2973f96e0c..4b3332f525 100644 --- a/app/src/main/java/c/f/j/l/a.java +++ b/app/src/main/java/c/f/j/l/a.java @@ -16,7 +16,7 @@ public class a implements r, Closeable { public final long k; public a(int i) { - d.j(Boolean.valueOf(i > 0)); + d.i(Boolean.valueOf(i > 0)); try { SharedMemory create = SharedMemory.create("AshmemMemoryChunk", i); this.i = create; @@ -31,13 +31,13 @@ public class a implements r, Closeable { public void a(int i, r rVar, int i2, int i3) { Objects.requireNonNull(rVar); if (rVar.getUniqueId() == this.k) { - StringBuilder O = c.d.b.a.a.O("Copying from AshmemMemoryChunk "); - O.append(Long.toHexString(this.k)); - O.append(" to AshmemMemoryChunk "); - O.append(Long.toHexString(rVar.getUniqueId())); - O.append(" which are the same "); - Log.w("AshmemMemoryChunk", O.toString()); - d.j(Boolean.FALSE); + StringBuilder R = c.d.b.a.a.R("Copying from AshmemMemoryChunk "); + R.append(Long.toHexString(this.k)); + R.append(" to AshmemMemoryChunk "); + R.append(Long.toHexString(rVar.getUniqueId())); + R.append(" which are the same "); + Log.w("AshmemMemoryChunk", R.toString()); + d.i(Boolean.FALSE); } if (rVar.getUniqueId() < this.k) { synchronized (rVar) { @@ -56,20 +56,20 @@ public class a implements r, Closeable { @Override // c.f.j.l.r public synchronized int b(int i, byte[] bArr, int i2, int i3) { - int e; + int d; d.B(!isClosed()); - e = d.e(i, i3, getSize()); - d.q(i, bArr.length, i2, e, getSize()); + d = d.d(i, i3, getSize()); + d.p(i, bArr.length, i2, d, getSize()); this.j.position(i); - this.j.put(bArr, i2, e); - return e; + this.j.put(bArr, i2, d); + return d; } public final void c(int i, r rVar, int i2, int i3) { if (rVar instanceof a) { d.B(!isClosed()); d.B(!rVar.isClosed()); - d.q(i, rVar.getSize(), i2, i3, getSize()); + d.p(i, rVar.getSize(), i2, i3, getSize()); this.j.position(i); rVar.getByteBuffer().position(i2); byte[] bArr = new byte[i3]; @@ -110,24 +110,24 @@ public class a implements r, Closeable { public synchronized byte h(int i) { boolean z2 = true; d.B(!isClosed()); - d.j(Boolean.valueOf(i >= 0)); + d.i(Boolean.valueOf(i >= 0)); if (i >= getSize()) { z2 = false; } - d.j(Boolean.valueOf(z2)); + d.i(Boolean.valueOf(z2)); return this.j.get(i); } @Override // c.f.j.l.r public synchronized int i(int i, byte[] bArr, int i2, int i3) { - int e; + int d; Objects.requireNonNull(bArr); d.B(!isClosed()); - e = d.e(i, i3, getSize()); - d.q(i, bArr.length, i2, e, getSize()); + d = d.d(i, i3, getSize()); + d.p(i, bArr.length, i2, d, getSize()); this.j.position(i); - this.j.get(bArr, i2, e); - return e; + this.j.get(bArr, i2, d); + return d; } @Override // c.f.j.l.r diff --git a/app/src/main/java/c/f/j/l/b.java b/app/src/main/java/c/f/j/l/b.java index 03d190dda3..521048cf96 100644 --- a/app/src/main/java/c/f/j/l/b.java +++ b/app/src/main/java/c/f/j/l/b.java @@ -9,7 +9,7 @@ public class b { public long b; /* renamed from: c reason: collision with root package name */ - public final int f488c; + public final int f462c; public final int d; public final f e; @@ -32,16 +32,16 @@ public class b { public b(int i, int i2) { boolean z2 = true; - d.j(Boolean.valueOf(i > 0)); - d.j(Boolean.valueOf(i2 <= 0 ? false : z2)); - this.f488c = i; + d.i(Boolean.valueOf(i > 0)); + d.i(Boolean.valueOf(i2 <= 0 ? false : z2)); + this.f462c = i; this.d = i2; this.e = new a(); } public synchronized void a(Bitmap bitmap) { int d = c.f.k.a.d(bitmap); - d.l(this.a > 0, "No bitmaps registered."); + d.k(this.a > 0, "No bitmaps registered."); long j = (long) d; boolean z2 = j <= this.b; Object[] objArr = {Integer.valueOf(d), Long.valueOf(this.b)}; @@ -49,7 +49,7 @@ public class b { this.b -= j; this.a--; } else { - throw new IllegalArgumentException(d.m0("Bitmap size bigger than the total registered size: %d, %d", objArr)); + throw new IllegalArgumentException(d.j0("Bitmap size bigger than the total registered size: %d, %d", objArr)); } } diff --git a/app/src/main/java/c/f/j/l/c.java b/app/src/main/java/c/f/j/l/c.java index b2a7e0545f..3186daea30 100644 --- a/app/src/main/java/c/f/j/l/c.java +++ b/app/src/main/java/c/f/j/l/c.java @@ -7,7 +7,7 @@ public class c { public static int b = 384; /* renamed from: c reason: collision with root package name */ - public static volatile b f489c; + public static volatile b f463c; static { int min = (int) Math.min(Runtime.getRuntime().maxMemory(), 2147483647L); diff --git a/app/src/main/java/c/f/j/l/e.java b/app/src/main/java/c/f/j/l/e.java index d02b4dbe2c..b02c81524d 100644 --- a/app/src/main/java/c/f/j/l/e.java +++ b/app/src/main/java/c/f/j/l/e.java @@ -15,7 +15,7 @@ public class e extends q { if (bVar == null) { obj = null; } else { - obj = bVar.f492c.pollFirst(); + obj = bVar.f466c.pollFirst(); gVar.a(bVar); } } diff --git a/app/src/main/java/c/f/j/l/f.java b/app/src/main/java/c/f/j/l/f.java index 49e2b5df78..249ac30d4f 100644 --- a/app/src/main/java/c/f/j/l/f.java +++ b/app/src/main/java/c/f/j/l/f.java @@ -13,7 +13,7 @@ public class f { public final int b; /* renamed from: c reason: collision with root package name */ - public final Queue f490c; + public final Queue f464c; public final boolean d; public int e; @@ -24,13 +24,13 @@ public class f { d.B(i3 < 0 ? false : z3); this.a = i; this.b = i2; - this.f490c = new LinkedList(); + this.f464c = new LinkedList(); this.e = i3; this.d = z2; } public void a(V v) { - this.f490c.add(v); + this.f464c.add(v); } public void b() { @@ -39,7 +39,7 @@ public class f { } public V c() { - return (V) this.f490c.poll(); + return (V) this.f464c.poll(); } public void d(V v) { diff --git a/app/src/main/java/c/f/j/l/g.java b/app/src/main/java/c/f/j/l/g.java index 9afd6452c1..d86b6f6a94 100644 --- a/app/src/main/java/c/f/j/l/g.java +++ b/app/src/main/java/c/f/j/l/g.java @@ -11,7 +11,7 @@ public class g { @VisibleForTesting /* renamed from: c reason: collision with root package name */ - public b f491c; + public b f465c; /* compiled from: BucketMap */ @VisibleForTesting @@ -20,17 +20,17 @@ public class g { public int b; /* renamed from: c reason: collision with root package name */ - public LinkedList f492c; + public LinkedList f466c; public b d; public b(b bVar, int i, LinkedList linkedList, b bVar2, a aVar) { this.b = i; - this.f492c = linkedList; + this.f466c = linkedList; this.d = null; } public String toString() { - return c.d.b.a.a.z(c.d.b.a.a.O("LinkedEntry(key: "), this.b, ")"); + return c.d.b.a.a.A(c.d.b.a.a.R("LinkedEntry(key: "), this.b, ")"); } } @@ -42,7 +42,7 @@ public class g { b bVar2 = (b) this.b; if (bVar2 == null) { this.b = bVar; - this.f491c = bVar; + this.f465c = bVar; return; } bVar.d = bVar2; @@ -65,8 +65,8 @@ public class g { if (bVar == this.b) { this.b = bVar3; } - if (bVar == this.f491c) { - this.f491c = bVar2; + if (bVar == this.f465c) { + this.f465c = bVar2; } } } diff --git a/app/src/main/java/c/f/j/l/i.java b/app/src/main/java/c/f/j/l/i.java index 949d4c0dfa..0a7ae48643 100644 --- a/app/src/main/java/c/f/j/l/i.java +++ b/app/src/main/java/c/f/j/l/i.java @@ -21,13 +21,13 @@ public class i implements r, Closeable { public void a(int i, r rVar, int i2, int i3) { Objects.requireNonNull(rVar); if (rVar.getUniqueId() == this.k) { - StringBuilder O = a.O("Copying from BufferMemoryChunk "); - O.append(Long.toHexString(this.k)); - O.append(" to BufferMemoryChunk "); - O.append(Long.toHexString(rVar.getUniqueId())); - O.append(" which are the same "); - Log.w("BufferMemoryChunk", O.toString()); - d.j(Boolean.FALSE); + StringBuilder R = a.R("Copying from BufferMemoryChunk "); + R.append(Long.toHexString(this.k)); + R.append(" to BufferMemoryChunk "); + R.append(Long.toHexString(rVar.getUniqueId())); + R.append(" which are the same "); + Log.w("BufferMemoryChunk", R.toString()); + d.i(Boolean.FALSE); } if (rVar.getUniqueId() < this.k) { synchronized (rVar) { @@ -46,20 +46,20 @@ public class i implements r, Closeable { @Override // c.f.j.l.r public synchronized int b(int i, byte[] bArr, int i2, int i3) { - int e; + int d; d.B(!isClosed()); - e = d.e(i, i3, this.j); - d.q(i, bArr.length, i2, e, this.j); + d = d.d(i, i3, this.j); + d.p(i, bArr.length, i2, d, this.j); this.i.position(i); - this.i.put(bArr, i2, e); - return e; + this.i.put(bArr, i2, d); + return d; } public final void c(int i, r rVar, int i2, int i3) { if (rVar instanceof i) { d.B(!isClosed()); d.B(!rVar.isClosed()); - d.q(i, rVar.getSize(), i2, i3, this.j); + d.p(i, rVar.getSize(), i2, i3, this.j); this.i.position(i); rVar.getByteBuffer().position(i2); byte[] bArr = new byte[i3]; @@ -94,24 +94,24 @@ public class i implements r, Closeable { public synchronized byte h(int i) { boolean z2 = true; d.B(!isClosed()); - d.j(Boolean.valueOf(i >= 0)); + d.i(Boolean.valueOf(i >= 0)); if (i >= this.j) { z2 = false; } - d.j(Boolean.valueOf(z2)); + d.i(Boolean.valueOf(z2)); return this.i.get(i); } @Override // c.f.j.l.r public synchronized int i(int i, byte[] bArr, int i2, int i3) { - int e; + int d; Objects.requireNonNull(bArr); d.B(!isClosed()); - e = d.e(i, i3, this.j); - d.q(i, bArr.length, i2, e, this.j); + d = d.d(i, i3, this.j); + d.p(i, bArr.length, i2, d, this.j); this.i.position(i); - this.i.get(bArr, i2, e); - return e; + this.i.get(bArr, i2, d); + return d; } @Override // c.f.j.l.r diff --git a/app/src/main/java/c/f/j/l/o.java b/app/src/main/java/c/f/j/l/o.java index 4a487b23a6..3ca84756ee 100644 --- a/app/src/main/java/c/f/j/l/o.java +++ b/app/src/main/java/c/f/j/l/o.java @@ -10,7 +10,7 @@ public class o extends BasePool implements a { public o(c cVar, y yVar, z zVar) { super(cVar, yVar, zVar); - SparseIntArray sparseIntArray = yVar.f496c; + SparseIntArray sparseIntArray = yVar.f470c; this.k = new int[sparseIntArray.size()]; for (int i = 0; i < sparseIntArray.size(); i++) { this.k[i] = sparseIntArray.keyAt(i); diff --git a/app/src/main/java/c/f/j/l/p.java b/app/src/main/java/c/f/j/l/p.java index 52eef5c83d..8f31e88580 100644 --- a/app/src/main/java/c/f/j/l/p.java +++ b/app/src/main/java/c/f/j/l/p.java @@ -11,13 +11,13 @@ public class p implements d { public final int b; /* renamed from: c reason: collision with root package name */ - public int f493c; + public int f467c; public final z d; public int e; public p(int i, int i2, z zVar, c cVar) { this.b = i; - this.f493c = i2; + this.f467c = i2; this.d = zVar; } @@ -62,7 +62,7 @@ public class p implements d { boolean add; Bitmap bitmap = (Bitmap) obj; int b = this.a.b(bitmap); - if (b <= this.f493c) { + if (b <= this.f467c) { this.d.g(b); e eVar = (e) this.a; Objects.requireNonNull(eVar); @@ -80,7 +80,7 @@ public class p implements d { gVar.a.put(b2, bVar2); bVar = bVar2; } - bVar.f492c.addLast(bitmap); + bVar.f466c.addLast(bitmap); gVar.a(bVar); } } diff --git a/app/src/main/java/c/f/j/l/q.java b/app/src/main/java/c/f/j/l/q.java index 6b98f828dd..5e8ae59349 100644 --- a/app/src/main/java/c/f/j/l/q.java +++ b/app/src/main/java/c/f/j/l/q.java @@ -16,12 +16,12 @@ public abstract class q { T t; g gVar = this.b; synchronized (gVar) { - g.b bVar = gVar.f491c; + g.b bVar = gVar.f465c; if (bVar == null) { t = null; } else { - T pollLast = bVar.f492c.pollLast(); - if (bVar.f492c.isEmpty()) { + T pollLast = bVar.f466c.pollLast(); + if (bVar.f466c.isEmpty()) { gVar.b(bVar); gVar.a.remove(bVar.b); } diff --git a/app/src/main/java/c/f/j/l/s.java b/app/src/main/java/c/f/j/l/s.java index c3b7a895d2..ea89af4928 100644 --- a/app/src/main/java/c/f/j/l/s.java +++ b/app/src/main/java/c/f/j/l/s.java @@ -9,7 +9,7 @@ public abstract class s extends BasePool { public s(c cVar, y yVar, z zVar) { super(cVar, yVar, zVar); - SparseIntArray sparseIntArray = yVar.f496c; + SparseIntArray sparseIntArray = yVar.f470c; this.k = new int[sparseIntArray.size()]; int i = 0; while (true) { diff --git a/app/src/main/java/c/f/j/l/t.java b/app/src/main/java/c/f/j/l/t.java index 9738a6fe43..a88ef4822a 100644 --- a/app/src/main/java/c/f/j/l/t.java +++ b/app/src/main/java/c/f/j/l/t.java @@ -14,7 +14,7 @@ public class t implements PooledByteBuffer { public t(CloseableReference closeableReference, int i) { Objects.requireNonNull(closeableReference); - d.j(Boolean.valueOf(i >= 0 && i <= closeableReference.w().getSize())); + d.i(Boolean.valueOf(i >= 0 && i <= closeableReference.u().getSize())); this.j = closeableReference.clone(); this.i = i; } @@ -22,7 +22,7 @@ public class t implements PooledByteBuffer { public synchronized void a() { synchronized (this) { } - if (!CloseableReference.z(this.j)) { + if (!CloseableReference.y(this.j)) { throw new PooledByteBuffer.ClosedException(); } } @@ -39,37 +39,37 @@ public class t implements PooledByteBuffer { @Override // com.facebook.common.memory.PooledByteBuffer public synchronized ByteBuffer getByteBuffer() { - return this.j.w().getByteBuffer(); + return this.j.u().getByteBuffer(); } @Override // com.facebook.common.memory.PooledByteBuffer public synchronized byte h(int i) { a(); boolean z2 = true; - d.j(Boolean.valueOf(i >= 0)); + d.i(Boolean.valueOf(i >= 0)); if (i >= this.i) { z2 = false; } - d.j(Boolean.valueOf(z2)); - return this.j.w().h(i); + d.i(Boolean.valueOf(z2)); + return this.j.u().h(i); } @Override // com.facebook.common.memory.PooledByteBuffer public synchronized int i(int i, byte[] bArr, int i2, int i3) { a(); - d.j(Boolean.valueOf(i + i3 <= this.i)); - return this.j.w().i(i, bArr, i2, i3); + d.i(Boolean.valueOf(i + i3 <= this.i)); + return this.j.u().i(i, bArr, i2, i3); } @Override // com.facebook.common.memory.PooledByteBuffer public synchronized boolean isClosed() { - return !CloseableReference.z(this.j); + return !CloseableReference.y(this.j); } @Override // com.facebook.common.memory.PooledByteBuffer public synchronized long k() throws UnsupportedOperationException { a(); - return this.j.w().k(); + return this.j.u().k(); } @Override // com.facebook.common.memory.PooledByteBuffer diff --git a/app/src/main/java/c/f/j/l/w.java b/app/src/main/java/c/f/j/l/w.java index 1b30e3b0de..e37fa5324c 100644 --- a/app/src/main/java/c/f/j/l/w.java +++ b/app/src/main/java/c/f/j/l/w.java @@ -9,7 +9,7 @@ public class w { public final z b = v.h(); /* renamed from: c reason: collision with root package name */ - public final y f494c; + public final y f468c; public final c d; public final y e; public final z f; @@ -32,7 +32,7 @@ public class w { for (int i3 = 131072; i3 <= 4194304; i3 *= 2) { sparseIntArray.put(i3, i); } - this.f494c = new y(4194304, i2, sparseIntArray, 131072, 4194304, k.a); + this.f468c = new y(4194304, i2, sparseIntArray, 131072, 4194304, k.a); this.d = d.b(); SparseIntArray sparseIntArray2 = new SparseIntArray(); sparseIntArray2.put(1024, 5); diff --git a/app/src/main/java/c/f/j/l/x.java b/app/src/main/java/c/f/j/l/x.java index ab297ece49..ad02ced8a0 100644 --- a/app/src/main/java/c/f/j/l/x.java +++ b/app/src/main/java/c/f/j/l/x.java @@ -14,7 +14,7 @@ public class x { public s b; /* renamed from: c reason: collision with root package name */ - public d f495c; + public d f469c; public s d; public s e; public g f; @@ -26,7 +26,7 @@ public class x { } public d a() { - if (this.f495c == null) { + if (this.f469c == null) { String str = this.a.i; char c2 = 65535; switch (str.hashCode()) { @@ -62,27 +62,27 @@ public class x { break; } if (c2 == 0) { - this.f495c = new l(); + this.f469c = new l(); } else if (c2 == 1) { - this.f495c = new m(); + this.f469c = new m(); } else if (c2 == 2) { Objects.requireNonNull(this.a); int i = this.a.j; v h = v.h(); Objects.requireNonNull(this.a); - this.f495c = new p(0, i, h, null); + this.f469c = new p(0, i, h, null); } else if (c2 != 3) { w wVar = this.a; - this.f495c = new h(wVar.d, wVar.a, wVar.b, false); + this.f469c = new h(wVar.d, wVar.a, wVar.b, false); } else { - this.f495c = new h(this.a.d, j.a(), this.a.b, false); + this.f469c = new h(this.a.d, j.a(), this.a.b, false); } } - return this.f495c; + return this.f469c; } public int b() { - return this.a.f494c.d; + return this.a.f468c.d; } public final s c(int i) { diff --git a/app/src/main/java/c/f/j/l/y.java b/app/src/main/java/c/f/j/l/y.java index 8a3239fd26..b2092a349a 100644 --- a/app/src/main/java/c/f/j/l/y.java +++ b/app/src/main/java/c/f/j/l/y.java @@ -8,7 +8,7 @@ public class y { public final int b; /* renamed from: c reason: collision with root package name */ - public final SparseIntArray f496c; + public final SparseIntArray f470c; public final int d; public y(int i, int i2, SparseIntArray sparseIntArray) { @@ -19,7 +19,7 @@ public class y { d.B(i >= 0 && i2 >= i); this.b = i; this.a = i2; - this.f496c = sparseIntArray; + this.f470c = sparseIntArray; this.d = i5; } } diff --git a/app/src/main/java/c/f/j/n/b.java b/app/src/main/java/c/f/j/n/b.java index 1fd8380844..2379c77ca2 100644 --- a/app/src/main/java/c/f/j/n/b.java +++ b/app/src/main/java/c/f/j/n/b.java @@ -28,12 +28,12 @@ public abstract class b implements d { public final d b; /* renamed from: c reason: collision with root package name */ - public final PreverificationHelper f497c; + public final PreverificationHelper f471c; @VisibleForTesting public final Pools.SynchronizedPool d; public b(d dVar, int i, Pools.SynchronizedPool synchronizedPool) { - this.f497c = Build.VERSION.SDK_INT >= 26 ? new PreverificationHelper() : null; + this.f471c = Build.VERSION.SDK_INT >= 26 ? new PreverificationHelper() : null; this.b = dVar; this.d = synchronizedPool; for (int i2 = 0; i2 < i; i2++) { @@ -82,8 +82,8 @@ public abstract class b implements d { boolean z3 = false; if ((cVar == c.f.i.b.a || cVar == c.f.i.b.l) && eVar.j == null) { Objects.requireNonNull(eVar.i); - PooledByteBuffer w2 = eVar.i.w(); - if (!(w2.h(i - 2) == -1 && w2.h(i - 1) == -39)) { + PooledByteBuffer u = eVar.i.u(); + if (!(u.h(i - 2) == -1 && u.h(i - 1) == -39)) { z2 = false; e = e(eVar, config); e2 = eVar.e(); @@ -159,7 +159,7 @@ public abstract class b implements d { i2 = rect.height() / options.inSampleSize; } int i3 = Build.VERSION.SDK_INT; - boolean z2 = i3 >= 26 && (preverificationHelper = this.f497c) != null && preverificationHelper.shouldUseHardwareBitmapConfig(options.inPreferredConfig); + boolean z2 = i3 >= 26 && (preverificationHelper = this.f471c) != null && preverificationHelper.shouldUseHardwareBitmapConfig(options.inPreferredConfig); BitmapRegionDecoder bitmapRegionDecoder2 = null; if (rect != null || !z2) { if (rect != null && z2) { @@ -203,7 +203,7 @@ public abstract class b implements d { this.d.release(acquire); if (bitmap != null) { } - return CloseableReference.G(bitmap2, this.b); + return CloseableReference.D(bitmap2, this.b); } catch (Throwable th2) { th = th2; bitmapRegionDecoder2 = bitmapRegionDecoder; @@ -223,7 +223,7 @@ public abstract class b implements d { this.d.release(acquire); if (bitmap != null) { } - return CloseableReference.G(bitmap2, this.b); + return CloseableReference.D(bitmap2, this.b); } catch (Throwable th3) { th = th3; if (bitmapRegionDecoder2 != null) { @@ -236,7 +236,7 @@ public abstract class b implements d { } this.d.release(acquire); if (bitmap != null || bitmap == bitmap2) { - return CloseableReference.G(bitmap2, this.b); + return CloseableReference.D(bitmap2, this.b); } this.b.release(bitmap); bitmap2.recycle(); @@ -248,7 +248,7 @@ public abstract class b implements d { this.d.release(acquire); if (bitmap != null) { } - return CloseableReference.G(bitmap2, this.b); + return CloseableReference.D(bitmap2, this.b); } catch (IllegalArgumentException e) { if (bitmap != null) { this.b.release(bitmap); @@ -257,9 +257,9 @@ public abstract class b implements d { inputStream.reset(); Bitmap decodeStream = BitmapFactory.decodeStream(inputStream); if (decodeStream != null) { - CloseableReference G = CloseableReference.G(decodeStream, c.f.j.b.b.a()); + CloseableReference D = CloseableReference.D(decodeStream, c.f.j.b.b.a()); this.d.release(acquire); - return G; + return D; } throw e; } catch (IOException unused3) { diff --git a/app/src/main/java/c/f/j/p/a.java b/app/src/main/java/c/f/j/p/a.java index 12ad9c54d6..6f7969577c 100644 --- a/app/src/main/java/c/f/j/p/a.java +++ b/app/src/main/java/c/f/j/p/a.java @@ -7,7 +7,7 @@ public class a implements v0 { /* compiled from: AddImageTransformMetaDataProducer */ public static class b extends p { - public b(l lVar, C0067a aVar) { + public b(l lVar, C0066a aVar) { super(lVar); } @@ -18,8 +18,8 @@ public class a implements v0 { this.b.b(null, i); return; } - if (!e.r(eVar)) { - eVar.p(); + if (!e.q(eVar)) { + eVar.n(); } this.b.b(eVar, i); } diff --git a/app/src/main/java/c/f/j/p/a0.java b/app/src/main/java/c/f/j/p/a0.java index b664b6653b..7be651f885 100644 --- a/app/src/main/java/c/f/j/p/a0.java +++ b/app/src/main/java/c/f/j/p/a0.java @@ -17,7 +17,7 @@ public class a0 extends c { public final ExecutorService b = Executors.newFixedThreadPool(3); /* renamed from: c reason: collision with root package name */ - public final b f498c; + public final b f472c; /* compiled from: HttpUrlConnectionNetworkFetcher */ public static class a extends x { @@ -32,7 +32,7 @@ public class a0 extends c { public a0(int i) { RealtimeSinceBootClock realtimeSinceBootClock = RealtimeSinceBootClock.get(); - this.f498c = realtimeSinceBootClock; + this.f472c = realtimeSinceBootClock; this.a = i; } diff --git a/app/src/main/java/c/f/j/p/a1.java b/app/src/main/java/c/f/j/p/a1.java index cf10f4a077..484836698c 100644 --- a/app/src/main/java/c/f/j/p/a1.java +++ b/app/src/main/java/c/f/j/p/a1.java @@ -10,16 +10,16 @@ import java.util.concurrent.Executor; public class a1 extends g0 { /* renamed from: c reason: collision with root package name */ - public final ContentResolver f499c; + public final ContentResolver f473c; public a1(Executor executor, g gVar, ContentResolver contentResolver) { super(executor, gVar); - this.f499c = contentResolver; + this.f473c = contentResolver; } @Override // c.f.j.p.g0 public e d(ImageRequest imageRequest) throws IOException { - return c(this.f499c.openInputStream(imageRequest.f2682c), -1); + return c(this.f473c.openInputStream(imageRequest.f2295c), -1); } @Override // c.f.j.p.g0 diff --git a/app/src/main/java/c/f/j/p/b.java b/app/src/main/java/c/f/j/p/b.java index 9567cc15f3..14b94cf0ea 100644 --- a/app/src/main/java/c/f/j/p/b.java +++ b/app/src/main/java/c/f/j/p/b.java @@ -81,13 +81,13 @@ public abstract class b implements l { public abstract void j(float f); public void k(Exception exc) { - String v = a.v(EnvironmentCompat.MEDIA_UNKNOWN, ":", getClass().getSimpleName()); + String w = a.w(EnvironmentCompat.MEDIA_UNKNOWN, ":", getClass().getSimpleName()); StringBuilder sb = new StringBuilder(); sb.append("unhandled exception"); sb.append('\n'); StringWriter stringWriter = new StringWriter(); exc.printStackTrace(new PrintWriter(stringWriter)); sb.append(stringWriter.toString()); - Log.println(6, v, sb.toString()); + Log.println(6, w, sb.toString()); } } diff --git a/app/src/main/java/c/f/j/p/b0.java b/app/src/main/java/c/f/j/p/b0.java index 1d7e89a95a..5782c9a3ed 100644 --- a/app/src/main/java/c/f/j/p/b0.java +++ b/app/src/main/java/c/f/j/p/b0.java @@ -9,13 +9,13 @@ public class b0 implements d, y0 { public final y0 b; /* renamed from: c reason: collision with root package name */ - public final e f500c; + public final e f474c; public final d d; public b0(e eVar, d dVar) { this.a = eVar; this.b = dVar; - this.f500c = eVar; + this.f474c = eVar; this.d = dVar; } @@ -33,7 +33,7 @@ public class b0 implements d, y0 { @Override // c.f.j.k.d public void b(w0 w0Var) { - e eVar = this.f500c; + e eVar = this.f474c; if (eVar != null) { eVar.a(w0Var.e(), w0Var.b(), w0Var.getId(), w0Var.k()); } @@ -81,7 +81,7 @@ public class b0 implements d, y0 { @Override // c.f.j.k.d public void f(w0 w0Var) { - e eVar = this.f500c; + e eVar = this.f474c; if (eVar != null) { eVar.c(w0Var.e(), w0Var.getId(), w0Var.k()); } @@ -101,7 +101,7 @@ public class b0 implements d, y0 { @Override // c.f.j.k.d public void h(w0 w0Var, Throwable th) { - e eVar = this.f500c; + e eVar = this.f474c; if (eVar != null) { eVar.g(w0Var.e(), w0Var.getId(), th, w0Var.k()); } @@ -113,7 +113,7 @@ public class b0 implements d, y0 { @Override // c.f.j.k.d public void i(w0 w0Var) { - e eVar = this.f500c; + e eVar = this.f474c; if (eVar != null) { eVar.k(w0Var.getId()); } diff --git a/app/src/main/java/c/f/j/p/b1.java b/app/src/main/java/c/f/j/p/b1.java index 3738ffd5fc..fecde32bca 100644 --- a/app/src/main/java/c/f/j/p/b1.java +++ b/app/src/main/java/c/f/j/p/b1.java @@ -20,7 +20,7 @@ public class b1 implements v0 { public final g b; /* renamed from: c reason: collision with root package name */ - public final v0 f501c; + public final v0 f475c; public final boolean d; public final c e; @@ -28,7 +28,7 @@ public class b1 implements v0 { public class a extends p { /* renamed from: c reason: collision with root package name */ - public final boolean f502c; + public final boolean f476c; public final c d; public final w0 e; public boolean f = false; @@ -36,16 +36,16 @@ public class b1 implements v0 { /* compiled from: ResizeAndRotateProducer */ /* renamed from: c.f.j.p.b1$a$a reason: collision with other inner class name */ - public class C0068a implements c0.c { - public C0068a(b1 b1Var) { + public class C0067a implements c0.c { + public C0067a(b1 b1Var) { } @Override // c.f.j.p.c0.c public void a(e eVar, int i) { a aVar = a.this; c cVar = aVar.d; - eVar.w(); - c.f.j.s.b createImageTranscoder = cVar.createImageTranscoder(eVar.k, a.this.f502c); + eVar.u(); + c.f.j.s.b createImageTranscoder = cVar.createImageTranscoder(eVar.k, a.this.f476c); Objects.requireNonNull(createImageTranscoder); aVar.e.o().e(aVar.e, "ResizeAndRotateProducer"); ImageRequest e = aVar.e.e(); @@ -54,12 +54,12 @@ public class b1 implements v0 { c.f.j.s.a c2 = createImageTranscoder.c(eVar, a, e.j, e.i, null, 85); if (c2.a != 2) { Map n = aVar.n(eVar, e.i, c2, createImageTranscoder.a()); - CloseableReference C = CloseableReference.C(((MemoryPooledByteBufferOutputStream) a).b()); + CloseableReference A = CloseableReference.A(((MemoryPooledByteBufferOutputStream) a).b()); try { - e eVar2 = new e(C); + e eVar2 = new e(A); eVar2.k = c.f.i.b.a; try { - eVar2.p(); + eVar2.n(); aVar.e.o().j(aVar.e, "ResizeAndRotateProducer", n); if (c2.a != 1) { i |= 16; @@ -70,8 +70,8 @@ public class b1 implements v0 { eVar2.close(); } } finally { - if (C != null) { - C.close(); + if (A != null) { + A.close(); } } } else { @@ -116,9 +116,9 @@ public class b1 implements v0 { super(lVar); this.e = w0Var; Objects.requireNonNull(w0Var.e()); - this.f502c = z2; + this.f476c = z2; this.d = cVar; - this.g = new c0(b1.this.a, new C0068a(b1.this), 100); + this.g = new c0(b1.this.a, new C0067a(b1.this), 100); w0Var.f(new b(b1.this, lVar)); } @@ -136,16 +136,16 @@ public class b1 implements v0 { boolean e = b.e(i); boolean z4 = true; if (eVar != null) { - eVar.w(); + eVar.u(); c.f.i.c cVar = eVar.k; ImageRequest e2 = this.e.e(); - c.f.j.s.b createImageTranscoder = this.d.createImageTranscoder(cVar, this.f502c); + c.f.j.s.b createImageTranscoder = this.d.createImageTranscoder(cVar, this.f476c); Objects.requireNonNull(createImageTranscoder); - eVar.w(); + eVar.u(); if (eVar.k == c.f.i.c.a) { aVar = aVar2; } else { - eVar.w(); + eVar.u(); if (!createImageTranscoder.d(eVar.k)) { aVar = c.f.d.l.a.NO; } else { @@ -157,7 +157,7 @@ public class b1 implements v0 { z3 = false; } else { c.f.d.d.e eVar2 = d.a; - eVar.w(); + eVar.u(); z3 = eVar2.contains(Integer.valueOf(eVar.m)); } } @@ -186,9 +186,9 @@ public class b1 implements v0 { } } } else if (!this.e.e().j.d) { - eVar.w(); + eVar.u(); if (eVar.l != 0) { - eVar.w(); + eVar.u(); if (!(eVar.l == -1 || (eVar = e.a(eVar)) == null)) { eVar.l = 0; } @@ -213,10 +213,10 @@ public class b1 implements v0 { return null; } StringBuilder sb = new StringBuilder(); - eVar.w(); + eVar.u(); sb.append(eVar.n); sb.append("x"); - eVar.w(); + eVar.u(); sb.append(eVar.o); String sb2 = sb.toString(); if (eVar2 != null) { @@ -225,7 +225,7 @@ public class b1 implements v0 { str2 = "Unspecified"; } HashMap hashMap = new HashMap(); - eVar.w(); + eVar.u(); hashMap.put("Image format", String.valueOf(eVar.k)); hashMap.put("Original size", sb2); hashMap.put("Requested size", str2); @@ -246,7 +246,7 @@ public class b1 implements v0 { Objects.requireNonNull(gVar); this.b = gVar; Objects.requireNonNull(v0Var); - this.f501c = v0Var; + this.f475c = v0Var; Objects.requireNonNull(cVar); this.e = cVar; this.d = z2; @@ -254,6 +254,6 @@ public class b1 implements v0 { @Override // c.f.j.p.v0 public void b(l lVar, w0 w0Var) { - this.f501c.b(new a(lVar, w0Var, this.d, this.e), w0Var); + this.f475c.b(new a(lVar, w0Var, this.d, this.e), w0Var); } } diff --git a/app/src/main/java/c/f/j/p/c0.java b/app/src/main/java/c/f/j/p/c0.java index 04541246b4..d07d1c00be 100644 --- a/app/src/main/java/c/f/j/p/c0.java +++ b/app/src/main/java/c/f/j/p/c0.java @@ -14,7 +14,7 @@ public class c0 { public final c b; /* renamed from: c reason: collision with root package name */ - public final Runnable f503c = new a(); + public final Runnable f477c = new a(); public final Runnable d = new b(); public final int e; @VisibleForTesting @@ -69,7 +69,7 @@ public class c0 { @Override // java.lang.Runnable public void run() { c0 c0Var = c0.this; - c0Var.a.execute(c0Var.f503c); + c0Var.a.execute(c0Var.f477c); } } diff --git a/app/src/main/java/c/f/j/p/d.java b/app/src/main/java/c/f/j/p/d.java index 173c7088c1..fb8a3caca4 100644 --- a/app/src/main/java/c/f/j/p/d.java +++ b/app/src/main/java/c/f/j/p/d.java @@ -18,7 +18,7 @@ public class d implements w0 { public final ImageRequest b; /* renamed from: c reason: collision with root package name */ - public final String f504c; + public final String f478c; public final String d; public final y0 e; public final Object f; @@ -41,11 +41,11 @@ public class d implements w0 { public d(ImageRequest imageRequest, String str, String str2, y0 y0Var, Object obj, ImageRequest.c cVar, boolean z2, boolean z3, c.f.j.d.d dVar, j jVar) { this.b = imageRequest; - this.f504c = str; + this.f478c = str; HashMap hashMap = new HashMap(); this.h = hashMap; hashMap.put(ModelAuditLogEntry.CHANGE_KEY_ID, str); - hashMap.put("uri_source", imageRequest == null ? "null-request" : imageRequest.f2682c); + hashMap.put("uri_source", imageRequest == null ? "null-request" : imageRequest.f2295c); this.d = str2; this.e = y0Var; this.f = obj; @@ -128,7 +128,7 @@ public class d implements w0 { @Override // c.f.j.p.w0 public String getId() { - return this.f504c; + return this.f478c; } @Override // c.f.j.p.w0 diff --git a/app/src/main/java/c/f/j/p/d0.java b/app/src/main/java/c/f/j/p/d0.java index 682752b04d..8d15dae8d0 100644 --- a/app/src/main/java/c/f/j/p/d0.java +++ b/app/src/main/java/c/f/j/p/d0.java @@ -12,11 +12,11 @@ import java.util.concurrent.Executor; public class d0 extends g0 { /* renamed from: c reason: collision with root package name */ - public final AssetManager f505c; + public final AssetManager f479c; public d0(Executor executor, g gVar, AssetManager assetManager) { super(executor, gVar); - this.f505c = assetManager; + this.f479c = assetManager; } /* JADX WARNING: Code restructure failed: missing block: B:12:0x0031, code lost: @@ -25,10 +25,10 @@ public class d0 extends g0 { @Override // c.f.j.p.g0 public e d(ImageRequest imageRequest) throws IOException { int i; - InputStream open = this.f505c.open(imageRequest.f2682c.getPath().substring(1), 2); + InputStream open = this.f479c.open(imageRequest.f2295c.getPath().substring(1), 2); AssetFileDescriptor assetFileDescriptor = null; try { - assetFileDescriptor = this.f505c.openFd(imageRequest.f2682c.getPath().substring(1)); + assetFileDescriptor = this.f479c.openFd(imageRequest.f2295c.getPath().substring(1)); i = (int) assetFileDescriptor.getLength(); } catch (IOException unused) { i = -1; diff --git a/app/src/main/java/c/f/j/p/e0.java b/app/src/main/java/c/f/j/p/e0.java index 6448ef678c..bd013fb90f 100644 --- a/app/src/main/java/c/f/j/p/e0.java +++ b/app/src/main/java/c/f/j/p/e0.java @@ -17,7 +17,7 @@ import java.util.concurrent.Executor; public class e0 extends g0 { /* renamed from: c reason: collision with root package name */ - public static final String[] f506c = {"_id", "_data"}; + public static final String[] f480c = {"_id", "_data"}; public final ContentResolver d; public e0(Executor executor, g gVar, ContentResolver contentResolver) { @@ -28,7 +28,7 @@ public class e0 extends g0 { @Override // c.f.j.p.g0 public e d(ImageRequest imageRequest) throws IOException { InputStream inputStream; - Uri uri = imageRequest.f2682c; + Uri uri = imageRequest.f2295c; Uri uri2 = b.a; boolean z2 = false; if (uri.getPath() != null && b.c(uri) && "com.android.contacts".equals(uri.getAuthority()) && !uri.getPath().startsWith(b.a.getPath())) { @@ -54,7 +54,7 @@ public class e0 extends g0 { return c(inputStream, -1); } if (b.b(uri)) { - Cursor query = this.d.query(uri, f506c, null, null, null); + Cursor query = this.d.query(uri, f480c, null, null, null); e eVar = null; if (query != null) { try { diff --git a/app/src/main/java/c/f/j/p/f0.java b/app/src/main/java/c/f/j/p/f0.java index 0f393cb997..fa923a65f6 100644 --- a/app/src/main/java/c/f/j/p/f0.java +++ b/app/src/main/java/c/f/j/p/f0.java @@ -20,7 +20,7 @@ import java.util.concurrent.Executor; public class f0 extends g0 implements j1 { /* renamed from: c reason: collision with root package name */ - public static final String[] f507c = {"_id", "_data"}; + public static final String[] f481c = {"_id", "_data"}; public static final String[] d = {"_data"}; public static final Rect e = new Rect(0, 0, 512, 384); public static final Rect f = new Rect(0, 0, 96, 96); @@ -34,7 +34,7 @@ public class f0 extends g0 implements j1 { @Override // c.f.j.p.j1 public boolean a(c.f.j.d.e eVar) { Rect rect = e; - return d.V0(rect.width(), rect.height(), eVar); + return d.R0(rect.width(), rect.height(), eVar); } @Override // c.f.j.p.g0 @@ -42,8 +42,8 @@ public class f0 extends g0 implements j1 { c.f.j.d.e eVar; Cursor query; e f2; - Uri uri = imageRequest.f2682c; - if (!b.b(uri) || (eVar = imageRequest.i) == null || (query = this.g.query(uri, f507c, null, null, null)) == null) { + Uri uri = imageRequest.f2295c; + if (!b.b(uri) || (eVar = imageRequest.i) == null || (query = this.g.query(uri, f481c, null, null, null)) == null) { return null; } try { @@ -55,7 +55,7 @@ public class f0 extends g0 implements j1 { int i = 0; if (string != null) { try { - i = d.u0(new ExifInterface(string).getAttributeInt(androidx.exifinterface.media.ExifInterface.TAG_ORIENTATION, 1)); + i = d.r0(new ExifInterface(string).getAttributeInt(androidx.exifinterface.media.ExifInterface.TAG_ORIENTATION, 1)); } catch (IOException e2) { a.d(f0.class, e2, "Unable to retrieve thumbnail rotation for %s", string); } @@ -76,11 +76,11 @@ public class f0 extends g0 implements j1 { int i; Cursor queryMiniThumbnail; Rect rect = f; - if (d.V0(rect.width(), rect.height(), eVar)) { + if (d.R0(rect.width(), rect.height(), eVar)) { i = 3; } else { Rect rect2 = e; - i = d.V0(rect2.width(), rect2.height(), eVar) ? 1 : 0; + i = d.R0(rect2.width(), rect2.height(), eVar) ? 1 : 0; } if (i == 0 || (queryMiniThumbnail = MediaStore.Images.Thumbnails.queryMiniThumbnail(this.g, j, i, d)) == null) { return null; diff --git a/app/src/main/java/c/f/j/p/g.java b/app/src/main/java/c/f/j/p/g.java index 432325216f..69060dadb3 100644 --- a/app/src/main/java/c/f/j/p/g.java +++ b/app/src/main/java/c/f/j/p/g.java @@ -20,7 +20,7 @@ public class g extends k0, CloseableReference> /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.io.Closeable] */ @Override // c.f.j.p.k0 public CloseableReference c(CloseableReference closeableReference) { - return CloseableReference.p(closeableReference); + return CloseableReference.n(closeableReference); } /* Return type fixed from 'java.lang.Object' to match base method */ diff --git a/app/src/main/java/c/f/j/p/g0.java b/app/src/main/java/c/f/j/p/g0.java index eb349274b3..305d94cf87 100644 --- a/app/src/main/java/c/f/j/p/g0.java +++ b/app/src/main/java/c/f/j/p/g0.java @@ -44,7 +44,7 @@ public abstract class g0 implements v0 { this.p.n("local"); return null; } - d.p(); + d.n(); this.o.c(this.p, g0.this.e(), true); this.p.n("local"); return d; @@ -85,7 +85,7 @@ public abstract class g0 implements v0 { CloseableReference closeableReference2 = null; if (i <= 0) { try { - closeableReference = CloseableReference.C(this.b.c(inputStream)); + closeableReference = CloseableReference.A(this.b.c(inputStream)); } catch (Throwable th) { c.f.d.d.a.b(inputStream); Class cls = CloseableReference.i; @@ -95,7 +95,7 @@ public abstract class g0 implements v0 { throw th; } } else { - closeableReference = CloseableReference.C(this.b.d(inputStream, i)); + closeableReference = CloseableReference.A(this.b.d(inputStream, i)); } e eVar = new e(closeableReference); c.f.d.d.a.b(inputStream); diff --git a/app/src/main/java/c/f/j/p/h.java b/app/src/main/java/c/f/j/p/h.java index 36d5fe518c..e58b12d69d 100644 --- a/app/src/main/java/c/f/j/p/h.java +++ b/app/src/main/java/c/f/j/p/h.java @@ -16,19 +16,19 @@ public class h implements v0> { public final i b; /* renamed from: c reason: collision with root package name */ - public final v0> f508c; + public final v0> f482c; /* compiled from: BitmapMemoryCacheProducer */ public class a extends p, CloseableReference> { /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ CacheKey f509c; + public final /* synthetic */ CacheKey f483c; public final /* synthetic */ boolean d; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public a(l lVar, CacheKey cacheKey, boolean z2) { super(lVar); - this.f509c = cacheKey; + this.f483c = cacheKey; this.d = z2; } @@ -45,13 +45,13 @@ public class h implements v0> { if (e) { this.b.b(null, i); } - } else if (closeableReference2.w().d() || b.m(i, 8)) { + } else if (closeableReference2.u().d() || b.m(i, 8)) { this.b.b(closeableReference2, i); } else { - if (!e && (closeableReference = h.this.a.get(this.f509c)) != null) { + if (!e && (closeableReference = h.this.a.get(this.f483c)) != null) { try { - c.f.j.j.i b = closeableReference2.w().b(); - c.f.j.j.i b2 = closeableReference.w().b(); + c.f.j.j.i b = closeableReference2.u().b(); + c.f.j.j.i b2 = closeableReference.u().b(); if (((c.f.j.j.h) b2).d || ((c.f.j.j.h) b2).b >= ((c.f.j.j.h) b).b) { this.b.b(closeableReference, i); closeableReference.close(); @@ -61,7 +61,7 @@ public class h implements v0> { } } if (this.d) { - closeableReference3 = h.this.a.a(this.f509c, closeableReference2); + closeableReference3 = h.this.a.a(this.f483c, closeableReference2); } if (e) { try { @@ -93,7 +93,7 @@ public class h implements v0> { public h(w wVar, i iVar, v0> v0Var) { this.a = wVar; this.b = iVar; - this.f508c = v0Var; + this.f482c = v0Var; } /* JADX INFO: finally extract failed */ @@ -107,8 +107,8 @@ public class h implements v0> { CloseableReference closeableReference = this.a.get(a2); Map map = null; if (closeableReference != null) { - w0Var.j(closeableReference.w().a()); - boolean z2 = ((c.f.j.j.h) closeableReference.w().b()).d; + w0Var.j(closeableReference.u().a()); + boolean z2 = ((c.f.j.j.h) closeableReference.u().b()).d; if (z2) { o.j(w0Var, d(), o.g(w0Var, d()) ? f.of("cached_value_found", "true") : null); o.c(w0Var, d(), true); @@ -137,7 +137,7 @@ public class h implements v0> { } o.j(w0Var, d, map); b.b(); - this.f508c.b(e, w0Var); + this.f482c.b(e, w0Var); b.b(); b.b(); } catch (Throwable th) { diff --git a/app/src/main/java/c/f/j/p/h1.java b/app/src/main/java/c/f/j/p/h1.java index 4d169000d7..c0164f8541 100644 --- a/app/src/main/java/c/f/j/p/h1.java +++ b/app/src/main/java/c/f/j/p/h1.java @@ -10,7 +10,7 @@ public class h1 implements v0 { public int b = 0; /* renamed from: c reason: collision with root package name */ - public final ConcurrentLinkedQueue, w0>> f510c = new ConcurrentLinkedQueue<>(); + public final ConcurrentLinkedQueue, w0>> f484c = new ConcurrentLinkedQueue<>(); public final Executor d; /* compiled from: ThrottlingProducer */ @@ -62,7 +62,7 @@ public class h1 implements v0 { public final void n() { Pair, w0> poll; synchronized (h1.this) { - poll = h1.this.f510c.poll(); + poll = h1.this.f484c.poll(); if (poll == null) { h1 h1Var = h1.this; h1Var.b--; @@ -89,7 +89,7 @@ public class h1 implements v0 { int i = this.b; z2 = true; if (i >= 5) { - this.f510c.add(Pair.create(lVar, w0Var)); + this.f484c.add(Pair.create(lVar, w0Var)); } else { this.b = i + 1; z2 = false; diff --git a/app/src/main/java/c/f/j/p/i.java b/app/src/main/java/c/f/j/p/i.java index 9307987e37..bc6230a966 100644 --- a/app/src/main/java/c/f/j/p/i.java +++ b/app/src/main/java/c/f/j/p/i.java @@ -11,19 +11,19 @@ public class i implements v0> { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f512c; + public final int f486c; public final boolean d; /* compiled from: BitmapPrepareProducer */ public static class a extends p, CloseableReference> { /* renamed from: c reason: collision with root package name */ - public final int f513c; + public final int f487c; public final int d; public a(l> lVar, int i, int i2) { super(lVar); - this.f513c = i; + this.f487c = i; this.d = i2; } @@ -33,8 +33,8 @@ public class i implements v0> { int height; CloseableReference closeableReference = (CloseableReference) obj; if (closeableReference != null && closeableReference.x()) { - c cVar = (c) closeableReference.w(); - if (!cVar.isClosed() && (cVar instanceof d) && (bitmap = ((d) cVar).l) != null && (height = bitmap.getHeight() * bitmap.getRowBytes()) >= this.f513c && height <= this.d) { + c cVar = (c) closeableReference.u(); + if (!cVar.isClosed() && (cVar instanceof d) && (bitmap = ((d) cVar).l) != null && (height = bitmap.getHeight() * bitmap.getRowBytes()) >= this.f487c && height <= this.d) { bitmap.prepareToDraw(); } } @@ -43,18 +43,18 @@ public class i implements v0> { } public i(v0> v0Var, int i, int i2, boolean z2) { - c.c.a.a0.d.j(Boolean.valueOf(i <= i2)); + c.c.a.a0.d.i(Boolean.valueOf(i <= i2)); Objects.requireNonNull(v0Var); this.a = v0Var; this.b = i; - this.f512c = i2; + this.f486c = i2; this.d = z2; } @Override // c.f.j.p.v0 public void b(l> lVar, w0 w0Var) { if (!w0Var.k() || this.d) { - this.a.b(new a(lVar, this.b, this.f512c), w0Var); + this.a.b(new a(lVar, this.b, this.f486c), w0Var); } else { this.a.b(lVar, w0Var); } diff --git a/app/src/main/java/c/f/j/p/i0.java b/app/src/main/java/c/f/j/p/i0.java index 0c65fbd02c..6a27cb557b 100644 --- a/app/src/main/java/c/f/j/p/i0.java +++ b/app/src/main/java/c/f/j/p/i0.java @@ -12,11 +12,11 @@ import java.util.concurrent.Executor; public class i0 extends g0 { /* renamed from: c reason: collision with root package name */ - public final Resources f514c; + public final Resources f488c; public i0(Executor executor, g gVar, Resources resources) { super(executor, gVar); - this.f514c = resources; + this.f488c = resources; } /* JADX WARNING: Code restructure failed: missing block: B:12:0x0038, code lost: @@ -25,10 +25,10 @@ public class i0 extends g0 { @Override // c.f.j.p.g0 public e d(ImageRequest imageRequest) throws IOException { int i; - InputStream openRawResource = this.f514c.openRawResource(Integer.parseInt(imageRequest.f2682c.getPath().substring(1))); + InputStream openRawResource = this.f488c.openRawResource(Integer.parseInt(imageRequest.f2295c.getPath().substring(1))); AssetFileDescriptor assetFileDescriptor = null; try { - assetFileDescriptor = this.f514c.openRawResourceFd(Integer.parseInt(imageRequest.f2682c.getPath().substring(1))); + assetFileDescriptor = this.f488c.openRawResourceFd(Integer.parseInt(imageRequest.f2295c.getPath().substring(1))); i = (int) assetFileDescriptor.getLength(); } catch (Resources.NotFoundException unused) { i = -1; diff --git a/app/src/main/java/c/f/j/p/i1.java b/app/src/main/java/c/f/j/p/i1.java index 25bee4f32d..4957e326d0 100644 --- a/app/src/main/java/c/f/j/p/i1.java +++ b/app/src/main/java/c/f/j/p/i1.java @@ -11,20 +11,20 @@ public class i1 implements v0 { public class a extends p { /* renamed from: c reason: collision with root package name */ - public final w0 f515c; + public final w0 f489c; public final int d; public final c.f.j.d.e e; public a(l lVar, w0 w0Var, int i) { super(lVar); - this.f515c = w0Var; + this.f489c = w0Var; this.d = i; this.e = w0Var.e().i; } @Override // c.f.j.p.p, c.f.j.p.b public void h(Throwable th) { - if (!i1.this.c(this.d + 1, this.b, this.f515c)) { + if (!i1.this.c(this.d + 1, this.b, this.f489c)) { this.b.c(th); } } @@ -32,13 +32,13 @@ public class i1 implements v0 { @Override // c.f.j.p.b public void i(Object obj, int i) { e eVar = (e) obj; - if (eVar != null && (b.f(i) || d.W0(eVar, this.e))) { + if (eVar != null && (b.f(i) || d.S0(eVar, this.e))) { this.b.b(eVar, i); } else if (b.e(i)) { if (eVar != null) { eVar.close(); } - if (!i1.this.c(this.d + 1, this.b, this.f515c)) { + if (!i1.this.c(this.d + 1, this.b, this.f489c)) { this.b.b(null, 1); } } @@ -53,9 +53,9 @@ public class i1 implements v0 { return; } if (length >= 0) { - throw new IndexOutOfBoundsException(d.m0("%s (%s) must be less than size (%s)", "index", 0, Integer.valueOf(length))); + throw new IndexOutOfBoundsException(d.j0("%s (%s) must be less than size (%s)", "index", 0, Integer.valueOf(length))); } - throw new IllegalArgumentException(c.d.b.a.a.l("negative size: ", length)); + throw new IllegalArgumentException(c.d.b.a.a.p("negative size: ", length)); } @Override // c.f.j.p.v0 diff --git a/app/src/main/java/c/f/j/p/j.java b/app/src/main/java/c/f/j/p/j.java index 511f838fa8..531a1c97ca 100644 --- a/app/src/main/java/c/f/j/p/j.java +++ b/app/src/main/java/c/f/j/p/j.java @@ -18,7 +18,7 @@ public class j implements v0> { public final f b; /* renamed from: c reason: collision with root package name */ - public final f f516c; + public final f f490c; public final i d; public final v0> e; public final d f; @@ -28,7 +28,7 @@ public class j implements v0> { public static class a extends p, CloseableReference> { /* renamed from: c reason: collision with root package name */ - public final w0 f517c; + public final w0 f491c; public final w d; public final f e; public final f f; @@ -38,7 +38,7 @@ public class j implements v0> { public a(l> lVar, w0 w0Var, w wVar, f fVar, f fVar2, i iVar, d dVar, d dVar2) { super(lVar); - this.f517c = w0Var; + this.f491c = w0Var; this.d = wVar; this.e = fVar; this.f = fVar2; @@ -55,11 +55,11 @@ public class j implements v0> { b.b(); if (!b.f(i) && closeableReference != null) { if (!b.l(i, 8)) { - ImageRequest e = this.f517c.e(); - ((n) this.g).b(e, this.f517c.b()); - if (this.f517c.l("origin").equals("memory_bitmap")) { - Objects.requireNonNull(this.f517c.g().f466w); - Objects.requireNonNull(this.f517c.g().f466w); + ImageRequest e = this.f491c.e(); + ((n) this.g).b(e, this.f491c.b()); + if (this.f491c.l("origin").equals("memory_bitmap")) { + Objects.requireNonNull(this.f491c.g().w); + Objects.requireNonNull(this.f491c.g().w); } this.b.b(closeableReference, i); b.b(); @@ -77,7 +77,7 @@ public class j implements v0> { public j(w wVar, f fVar, f fVar2, i iVar, d dVar, d dVar2, v0> v0Var) { this.a = wVar; this.b = fVar; - this.f516c = fVar2; + this.f490c = fVar2; this.d = iVar; this.f = dVar; this.g = dVar2; @@ -90,7 +90,7 @@ public class j implements v0> { b.b(); y0 o = w0Var.o(); o.e(w0Var, "BitmapProbeProducer"); - a aVar = new a(lVar, w0Var, this.a, this.b, this.f516c, this.d, this.f, this.g); + a aVar = new a(lVar, w0Var, this.a, this.b, this.f490c, this.d, this.f, this.g); o.j(w0Var, "BitmapProbeProducer", null); b.b(); this.e.b(aVar, w0Var); diff --git a/app/src/main/java/c/f/j/p/j0.java b/app/src/main/java/c/f/j/p/j0.java index 6296bf0899..5b63b16534 100644 --- a/app/src/main/java/c/f/j/p/j0.java +++ b/app/src/main/java/c/f/j/p/j0.java @@ -83,7 +83,7 @@ public class j0 implements v0> { bitmap = ThumbnailUtils.createVideoThumbnail(str, i); } else { try { - ParcelFileDescriptor openFileDescriptor = j0.this.b.openFileDescriptor(this.p.f2682c, "r"); + ParcelFileDescriptor openFileDescriptor = j0.this.b.openFileDescriptor(this.p.f2295c, "r"); MediaMetadataRetriever mediaMetadataRetriever = new MediaMetadataRetriever(); mediaMetadataRetriever.setDataSource(openFileDescriptor.getFileDescriptor()); bitmap = mediaMetadataRetriever.getFrameAtTime(-1); @@ -97,7 +97,7 @@ public class j0 implements v0> { d dVar = new d(bitmap, c.f.j.b.b.a(), h.a, 0); this.o.d("image_format", "thumbnail"); dVar.e(this.o.a()); - return CloseableReference.C(dVar); + return CloseableReference.A(dVar); } @Override // c.f.j.p.d1 @@ -141,7 +141,7 @@ public class j0 implements v0> { String str; Uri uri; Objects.requireNonNull(j0Var); - Uri uri2 = imageRequest.f2682c; + Uri uri2 = imageRequest.f2295c; if (c.f.d.l.b.d(uri2)) { return imageRequest.a().getPath(); } diff --git a/app/src/main/java/c/f/j/p/k.java b/app/src/main/java/c/f/j/p/k.java index adbc196456..b6beeb1087 100644 --- a/app/src/main/java/c/f/j/p/k.java +++ b/app/src/main/java/c/f/j/p/k.java @@ -12,36 +12,36 @@ public class k implements v0 { public class b extends p { /* renamed from: c reason: collision with root package name */ - public w0 f518c; + public w0 f492c; public b(l lVar, w0 w0Var, a aVar) { super(lVar); - this.f518c = w0Var; + this.f492c = w0Var; } @Override // c.f.j.p.p, c.f.j.p.b public void h(Throwable th) { - k.this.b.b(this.b, this.f518c); + k.this.b.b(this.b, this.f492c); } @Override // c.f.j.p.b public void i(Object obj, int i) { e eVar = (e) obj; - ImageRequest e = this.f518c.e(); + ImageRequest e = this.f492c.e(); boolean e2 = b.e(i); - boolean W0 = d.W0(eVar, e.i); - if (eVar != null && (W0 || e.g)) { - if (!e2 || !W0) { + boolean S0 = d.S0(eVar, e.i); + if (eVar != null && (S0 || e.g)) { + if (!e2 || !S0) { this.b.b(eVar, i & -2); } else { this.b.b(eVar, i); } } - if (e2 && !W0) { + if (e2 && !S0) { if (eVar != null) { eVar.close(); } - k.this.b.b(this.b, this.f518c); + k.this.b.b(this.b, this.f492c); } } } diff --git a/app/src/main/java/c/f/j/p/k0.java b/app/src/main/java/c/f/j/p/k0.java index 66e5d93af1..d3b0ccaae6 100644 --- a/app/src/main/java/c/f/j/p/k0.java +++ b/app/src/main/java/c/f/j/p/k0.java @@ -19,7 +19,7 @@ public abstract class k0 implements v0 { public final v0 b; /* renamed from: c reason: collision with root package name */ - public final boolean f519c; + public final boolean f493c; public final String d; public final String e; @@ -30,7 +30,7 @@ public abstract class k0 implements v0 { public final CopyOnWriteArraySet, w0>> b = new CopyOnWriteArraySet<>(); /* renamed from: c reason: collision with root package name */ - public T f520c; + public T f494c; public float d; public int e; public d f; @@ -51,8 +51,8 @@ public abstract class k0 implements v0 { if (bVar.g == this) { bVar.g = null; bVar.f = null; - bVar.b(bVar.f520c); - bVar.f520c = null; + bVar.b(bVar.f494c); + bVar.f494c = null; bVar.i(c.f.d.l.a.UNSET); } } @@ -135,7 +135,7 @@ public abstract class k0 implements v0 { k = k(); l = l(); j = j(); - closeable = this.f520c; + closeable = this.f494c; f = this.d; i = this.e; } @@ -144,7 +144,7 @@ public abstract class k0 implements v0 { d.r(j); synchronized (create) { synchronized (this) { - if (closeable != this.f520c) { + if (closeable != this.f494c) { closeable = null; } else if (closeable != null) { closeable = k0.this.c(closeable); @@ -216,8 +216,8 @@ public abstract class k0 implements v0 { it = this.b.iterator(); this.b.clear(); k0.this.e(this.a, this); - b(this.f520c); - this.f520c = null; + b(this.f494c); + this.f494c = null; } else { return; } @@ -237,12 +237,12 @@ public abstract class k0 implements v0 { int size; synchronized (this) { if (this.g == aVar) { - b(this.f520c); - this.f520c = null; + b(this.f494c); + this.f494c = null; it = this.b.iterator(); size = this.b.size(); if (b.f(i)) { - this.f520c = k0.this.c(t); + this.f494c = k0.this.c(t); this.e = i; } else { this.b.clear(); @@ -289,8 +289,8 @@ public abstract class k0 implements v0 { public final void i(c.f.d.l.a aVar) { synchronized (this) { boolean z2 = true; - c.c.a.a0.d.j(Boolean.valueOf(this.f == null)); - c.c.a.a0.d.j(Boolean.valueOf(this.g == null)); + c.c.a.a0.d.i(Boolean.valueOf(this.f == null)); + c.c.a.a0.d.i(Boolean.valueOf(this.g == null)); if (this.b.isEmpty()) { k0.this.e(this.a, this); return; @@ -364,7 +364,7 @@ public abstract class k0 implements v0 { public k0(v0 v0Var, String str, String str2) { this.b = v0Var; this.a = new HashMap(); - this.f519c = false; + this.f493c = false; this.d = str; this.e = str2; } @@ -372,7 +372,7 @@ public abstract class k0 implements v0 { public k0(v0 v0Var, String str, String str2, boolean z2) { this.b = v0Var; this.a = new HashMap(); - this.f519c = z2; + this.f493c = z2; this.d = str; this.e = str2; } diff --git a/app/src/main/java/c/f/j/p/l0.java b/app/src/main/java/c/f/j/p/l0.java index e59c95e115..1822e1c7b2 100644 --- a/app/src/main/java/c/f/j/p/l0.java +++ b/app/src/main/java/c/f/j/p/l0.java @@ -42,7 +42,7 @@ public class l0 extends e { d.t(list3); d.r(list2); if (dVar != null) { - if (!k0.this.f519c || dVar.k()) { + if (!k0.this.f493c || dVar.k()) { dVar.u(); } else { d.t(dVar.v(d.LOW)); diff --git a/app/src/main/java/c/f/j/p/m.java b/app/src/main/java/c/f/j/p/m.java index 6059a31a15..d22e0066ea 100644 --- a/app/src/main/java/c/f/j/p/m.java +++ b/app/src/main/java/c/f/j/p/m.java @@ -18,8 +18,8 @@ public class m extends g0 { @Override // c.f.j.p.g0 public e d(ImageRequest imageRequest) throws IOException { boolean z2; - String uri = imageRequest.f2682c.toString(); - d.j(Boolean.valueOf(uri.substring(0, 5).equals("data:"))); + String uri = imageRequest.f2295c.toString(); + d.i(Boolean.valueOf(uri.substring(0, 5).equals("data:"))); int indexOf = uri.indexOf(44); String substring = uri.substring(indexOf + 1, uri.length()); String substring2 = uri.substring(0, indexOf); diff --git a/app/src/main/java/c/f/j/p/m0.java b/app/src/main/java/c/f/j/p/m0.java index 2a86105bfb..e310bbb68b 100644 --- a/app/src/main/java/c/f/j/p/m0.java +++ b/app/src/main/java/c/f/j/p/m0.java @@ -20,7 +20,7 @@ public class m0 implements v0 { public final c.f.d.g.a b; /* renamed from: c reason: collision with root package name */ - public final n0 f521c; + public final n0 f495c; /* compiled from: NetworkFetchProducer */ public class a implements n0.a { @@ -51,11 +51,11 @@ public class m0 implements v0 { try { int read = inputStream.read(bArr); if (read < 0) { - n0 n0Var = m0Var.f521c; + n0 n0Var = m0Var.f495c; int i2 = ((MemoryPooledByteBufferOutputStream) e).k; a0 a0Var = (a0) n0Var; Objects.requireNonNull(a0Var); - ((a0.a) xVar).f = a0Var.f498c.now(); + ((a0.a) xVar).f = a0Var.f472c.now(); m0Var.c(e, xVar); m0Var.b.release(bArr); e.close(); @@ -79,25 +79,25 @@ public class m0 implements v0 { public m0(g gVar, c.f.d.g.a aVar, n0 n0Var) { this.a = gVar; this.b = aVar; - this.f521c = n0Var; + this.f495c = n0Var; } /* JADX WARNING: Removed duplicated region for block: B:12:0x002c */ /* JADX WARNING: Removed duplicated region for block: B:14:0x0031 */ public static void e(i iVar, int i, c.f.j.d.a aVar, l lVar, w0 w0Var) { Throwable th; - CloseableReference C = CloseableReference.C(((MemoryPooledByteBufferOutputStream) iVar).b()); + CloseableReference A = CloseableReference.A(((MemoryPooledByteBufferOutputStream) iVar).b()); e eVar = null; try { - e eVar2 = new e(C); + e eVar2 = new e(A); try { - eVar2.f486r = null; - eVar2.p(); + eVar2.r = null; + eVar2.n(); w0Var.h(f.NETWORK); lVar.b(eVar2, i); eVar2.close(); - if (C != null) { - C.close(); + if (A != null) { + A.close(); } } catch (Throwable th2) { th = th2; @@ -105,8 +105,8 @@ public class m0 implements v0 { if (eVar != null) { eVar.close(); } - if (C != null) { - C.close(); + if (A != null) { + A.close(); } throw th; } @@ -114,7 +114,7 @@ public class m0 implements v0 { th = th3; if (eVar != null) { } - if (C != null) { + if (A != null) { } throw th; } @@ -123,13 +123,13 @@ public class m0 implements v0 { @Override // c.f.j.p.v0 public void b(l lVar, w0 w0Var) { w0Var.o().e(w0Var, "NetworkFetchProducer"); - Objects.requireNonNull((a0) this.f521c); + Objects.requireNonNull((a0) this.f495c); a0.a aVar = new a0.a(lVar, w0Var); - n0 n0Var = this.f521c; + n0 n0Var = this.f495c; a aVar2 = new a(aVar); a0 a0Var = (a0) n0Var; Objects.requireNonNull(a0Var); - aVar.d = a0Var.f498c.now(); + aVar.d = a0Var.f472c.now(); w0Var.f(new z(a0Var, a0Var.b.submit(new y(a0Var, aVar, aVar2)), aVar2)); } @@ -139,7 +139,7 @@ public class m0 implements v0 { if (!xVar.a().g(xVar.b, "NetworkFetchProducer")) { hashMap = null; } else { - Objects.requireNonNull((a0) this.f521c); + Objects.requireNonNull((a0) this.f495c); a0.a aVar = (a0.a) xVar; hashMap = new HashMap(4); hashMap.put("queue_time", Long.toString(aVar.e - aVar.d)); @@ -160,11 +160,11 @@ public class m0 implements v0 { if (!xVar.b.p()) { z2 = false; } else { - Objects.requireNonNull(this.f521c); + Objects.requireNonNull(this.f495c); z2 = true; } - if (z2 && uptimeMillis - xVar.f541c >= 100) { - xVar.f541c = uptimeMillis; + if (z2 && uptimeMillis - xVar.f515c >= 100) { + xVar.f515c = uptimeMillis; xVar.a().a(xVar.b, "NetworkFetchProducer", "intermediate_result"); e(iVar, 0, null, xVar.a, xVar.b); } diff --git a/app/src/main/java/c/f/j/p/n.java b/app/src/main/java/c/f/j/p/n.java index 8b76d5e57c..9754b74ab4 100644 --- a/app/src/main/java/c/f/j/p/n.java +++ b/app/src/main/java/c/f/j/p/n.java @@ -24,7 +24,7 @@ public class n implements v0> { public final Executor b; /* renamed from: c reason: collision with root package name */ - public final c.f.j.h.b f522c; + public final c.f.j.h.b f496c; public final c.f.j.h.c d; public final v0 e; public final boolean f; @@ -87,7 +87,7 @@ public class n implements v0> { public synchronized boolean w(e eVar, int i) { boolean f = this.g.f(eVar, i); if ((b.f(i) || b.m(i, 8)) && !b.m(i, 4) && e.t(eVar)) { - eVar.w(); + eVar.u(); if (eVar.k == c.f.i.b.a) { if (!this.i.b(eVar)) { return false; @@ -111,7 +111,7 @@ public class n implements v0> { public abstract class c extends p> { /* renamed from: c reason: collision with root package name */ - public final w0 f523c; + public final w0 f497c; public final y0 d; public final c.f.j.d.b e; public boolean f = false; @@ -136,39 +136,39 @@ public class n implements v0> { Exception e; int i2 = i; if (eVar != null) { - w0 w0Var = c.this.f523c; - eVar.w(); + w0 w0Var = c.this.f497c; + eVar.u(); w0Var.d("image_format", eVar.k.b); if (n.this.f || !b.m(i2, 16)) { ImageRequest e2 = this.a.e(); - if (n.this.g || !c.f.d.l.b.e(e2.f2682c)) { - eVar.p = c.c.a.a0.d.c0(e2.j, e2.i, eVar, this.b); + if (n.this.g || !c.f.d.l.b.e(e2.f2295c)) { + eVar.p = c.c.a.a0.d.Z(e2.j, e2.i, eVar, this.b); } } - Objects.requireNonNull(this.a.g().f466w); + Objects.requireNonNull(this.a.g().w); c cVar2 = c.this; Objects.requireNonNull(cVar2); - eVar.w(); + eVar.u(); if (eVar.k == c.f.i.b.a || !b.f(i)) { synchronized (cVar2) { z2 = cVar2.f; } if (!z2 && e.t(eVar)) { - eVar.w(); + eVar.u(); c.f.i.c cVar3 = eVar.k; String str2 = cVar3 != null ? cVar3.b : EnvironmentCompat.MEDIA_UNKNOWN; StringBuilder sb = new StringBuilder(); - eVar.w(); + eVar.u(); sb.append(eVar.n); sb.append("x"); - eVar.w(); + eVar.u(); sb.append(eVar.o); String sb2 = sb.toString(); String valueOf = String.valueOf(eVar.p); boolean e3 = b.e(i); boolean z3 = e3 && !b.m(i2, 8); boolean m = b.m(i2, 4); - c.f.j.d.e eVar2 = cVar2.f523c.e().i; + c.f.j.d.e eVar2 = cVar2.f497c.e().i; if (eVar2 != null) { str = eVar2.a + "x" + eVar2.b; } else { @@ -179,22 +179,22 @@ public class n implements v0> { synchronized (c0Var) { j = c0Var.j - c0Var.i; } - String valueOf2 = String.valueOf(cVar2.f523c.e().f2682c); + String valueOf2 = String.valueOf(cVar2.f497c.e().f2295c); int f = (z3 || m) ? eVar.f() : cVar2.o(eVar); i p = (z3 || m) ? h.a : cVar2.p(); - cVar2.d.e(cVar2.f523c, "DecodeProducer"); + cVar2.d.e(cVar2.f497c, "DecodeProducer"); try { cVar = cVar2.t(eVar, f, p); try { if (eVar.p != 1) { i2 |= 16; } - cVar2.d.j(cVar2.f523c, "DecodeProducer", cVar2.n(cVar, j, p, e3, str2, sb2, str, valueOf)); + cVar2.d.j(cVar2.f497c, "DecodeProducer", cVar2.n(cVar, j, p, e3, str2, sb2, str, valueOf)); cVar2.v(eVar, cVar); cVar2.s(cVar, i2); } catch (Exception e4) { e = e4; - cVar2.d.k(cVar2.f523c, "DecodeProducer", e, cVar2.n(cVar, j, p, e3, str2, sb2, str, valueOf)); + cVar2.d.k(cVar2.f497c, "DecodeProducer", e, cVar2.n(cVar, j, p, e3, str2, sb2, str, valueOf)); cVar2.u(true); cVar2.b.c(e); } @@ -205,7 +205,7 @@ public class n implements v0> { } catch (Exception e6) { e = e6; cVar = null; - cVar2.d.k(cVar2.f523c, "DecodeProducer", e, cVar2.n(cVar, j, p, e3, str2, sb2, str, valueOf)); + cVar2.d.k(cVar2.f497c, "DecodeProducer", e, cVar2.n(cVar, j, p, e3, str2, sb2, str, valueOf)); cVar2.u(true); cVar2.b.c(e); } @@ -237,7 +237,7 @@ public class n implements v0> { @Override // c.f.j.p.e, c.f.j.p.x0 public void b() { - if (c.this.f523c.p()) { + if (c.this.f497c.p()) { c.this.g.d(); } } @@ -245,7 +245,7 @@ public class n implements v0> { public c(l> lVar, w0 w0Var, boolean z2, int i) { super(lVar); - this.f523c = w0Var; + this.f497c = w0Var; this.d = w0Var.o(); c.f.j.d.b bVar = w0Var.e().h; this.e = bVar; @@ -284,7 +284,7 @@ public class n implements v0> { } if (w(eVar, i)) { boolean m = b.m(i, 4); - if (e || m || this.f523c.p()) { + if (e || m || this.f497c.p()) { this.g.d(); } } @@ -301,11 +301,11 @@ public class n implements v0> { } public final Map n(c.f.j.j.c cVar, long j, i iVar, boolean z2, String str, String str2, String str3, String str4) { - if (!this.d.g(this.f523c, "DecodeProducer")) { + if (!this.d.g(this.f497c, "DecodeProducer")) { return null; } String valueOf = String.valueOf(j); - String valueOf2 = String.valueOf(((h) iVar).f487c); + String valueOf2 = String.valueOf(((h) iVar).f461c); String valueOf3 = String.valueOf(z2); if (cVar instanceof c.f.j.j.d) { Bitmap bitmap = ((c.f.j.j.d) cVar).l; @@ -372,12 +372,12 @@ public class n implements v0> { n nVar = n.this; boolean z2 = nVar.k != null && nVar.l.get().booleanValue(); try { - return n.this.f522c.a(eVar, i, iVar, this.e); + return n.this.f496c.a(eVar, i, iVar, this.e); } catch (OutOfMemoryError e) { if (z2) { n.this.k.run(); System.gc(); - return n.this.f522c.a(eVar, i, iVar, this.e); + return n.this.f496c.a(eVar, i, iVar, this.e); } throw e; } @@ -396,19 +396,19 @@ public class n implements v0> { } public final void v(e eVar, c.f.j.j.c cVar) { - w0 w0Var = this.f523c; - eVar.w(); + w0 w0Var = this.f497c; + eVar.u(); w0Var.d("encoded_width", Integer.valueOf(eVar.n)); - w0 w0Var2 = this.f523c; - eVar.w(); + w0 w0Var2 = this.f497c; + eVar.u(); w0Var2.d("encoded_height", Integer.valueOf(eVar.o)); - this.f523c.d("encoded_size", Integer.valueOf(eVar.f())); + this.f497c.d("encoded_size", Integer.valueOf(eVar.f())); if (cVar instanceof c.f.j.j.b) { Bitmap f = ((c.f.j.j.b) cVar).f(); - this.f523c.d("bitmap_config", String.valueOf(f == null ? null : f.getConfig())); + this.f497c.d("bitmap_config", String.valueOf(f == null ? null : f.getConfig())); } if (cVar != null) { - cVar.e(this.f523c.a()); + cVar.e(this.f497c.a()); } } @@ -421,7 +421,7 @@ public class n implements v0> { Objects.requireNonNull(executor); this.b = executor; Objects.requireNonNull(bVar); - this.f522c = bVar; + this.f496c = bVar; Objects.requireNonNull(cVar); this.d = cVar; this.f = z2; @@ -439,7 +439,7 @@ public class n implements v0> { public void b(l> lVar, w0 w0Var) { try { c.f.j.r.b.b(); - this.e.b(!c.f.d.l.b.e(w0Var.e().f2682c) ? new a(this, lVar, w0Var, this.h, this.i) : new b(this, lVar, w0Var, new d(this.a), this.d, this.h, this.i), w0Var); + this.e.b(!c.f.d.l.b.e(w0Var.e().f2295c) ? new a(this, lVar, w0Var, this.h, this.i) : new b(this, lVar, w0Var, new d(this.a), this.d, this.h, this.i), w0Var); c.f.j.r.b.b(); } catch (Throwable th) { c.f.j.r.b.b(); diff --git a/app/src/main/java/c/f/j/p/o.java b/app/src/main/java/c/f/j/p/o.java index efcc5f9580..73e457763c 100644 --- a/app/src/main/java/c/f/j/p/o.java +++ b/app/src/main/java/c/f/j/p/o.java @@ -36,7 +36,7 @@ public class o implements v0> { ImageRequest e = w0Var.e(); ScheduledExecutorService scheduledExecutorService = this.b; if (scheduledExecutorService != null) { - scheduledExecutorService.schedule(new a(lVar, w0Var), (long) e.s, TimeUnit.MILLISECONDS); + scheduledExecutorService.schedule(new a(lVar, w0Var), (long) e.f2296s, TimeUnit.MILLISECONDS); } else { this.a.b(lVar, w0Var); } diff --git a/app/src/main/java/c/f/j/p/o0.java b/app/src/main/java/c/f/j/p/o0.java index 7c622d1bab..5dcc1e7f5c 100644 --- a/app/src/main/java/c/f/j/p/o0.java +++ b/app/src/main/java/c/f/j/p/o0.java @@ -7,15 +7,15 @@ import com.facebook.cache.common.CacheKey; import com.facebook.imagepipeline.request.ImageRequest; import com.facebook.imagepipeline.request.ImageRequestBuilder; import java.util.concurrent.CancellationException; -import y.c; -import y.g; +import z.c; +import z.g; /* compiled from: PartialDiskCacheProducer */ public class o0 implements c { public final /* synthetic */ y0 a; public final /* synthetic */ w0 b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ l f525c; + public final /* synthetic */ l f499c; public final /* synthetic */ CacheKey d; public final /* synthetic */ q0 e; @@ -23,13 +23,13 @@ public class o0 implements c { this.e = q0Var; this.a = y0Var; this.b = w0Var; - this.f525c = lVar; + this.f499c = lVar; this.d = cacheKey; } /* Return type fixed from 'java.lang.Object' to match base method */ - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [y.g] */ - @Override // y.c + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [z.g] */ + @Override // z.c public Void a(g gVar) throws Exception { boolean z2; e eVar; @@ -39,10 +39,10 @@ public class o0 implements c { boolean z3 = false; if (z2 || (gVar.e() && (gVar.d() instanceof CancellationException))) { this.a.d(this.b, "PartialDiskCacheProducer", null); - this.f525c.d(); + this.f499c.d(); } else if (gVar.e()) { this.a.k(this.b, "PartialDiskCacheProducer", gVar.d(), null); - q0.c(this.e, this.f525c, this.b, this.d, null); + q0.c(this.e, this.f499c, this.b, this.d, null); } else { synchronized (gVar.e) { eVar = gVar.h; @@ -53,18 +53,18 @@ public class o0 implements c { w0 w0Var = this.b; y0Var.j(w0Var, "PartialDiskCacheProducer", q0.d(y0Var, w0Var, true, eVar2.f())); int f = eVar2.f() - 1; - d.j(Boolean.valueOf(f > 0)); - eVar2.f486r = new a(0, f); + d.i(Boolean.valueOf(f > 0)); + eVar2.r = new a(0, f); int f2 = eVar2.f(); ImageRequest e = this.b.e(); a aVar = e.k; if (aVar != null && aVar.a >= 0 && f >= aVar.b) { this.b.i("disk", "partial"); this.a.c(this.b, "PartialDiskCacheProducer", true); - this.f525c.b(eVar2, 9); + this.f499c.b(eVar2, 9); } else { - this.f525c.b(eVar2, 8); - ImageRequestBuilder b = ImageRequestBuilder.b(e.f2682c); + this.f499c.b(eVar2, 8); + ImageRequestBuilder b = ImageRequestBuilder.b(e.f2295c); b.e = e.h; b.o = e.k; b.f = e.b; @@ -73,24 +73,24 @@ public class o0 implements c { b.j = e.q; b.g = e.f; b.i = e.l; - b.f2684c = e.i; - b.n = e.f2683r; + b.f2297c = e.i; + b.n = e.r; b.d = e.j; b.m = e.p; - b.p = e.s; + b.p = e.f2296s; int i = f2 - 1; if (i >= 0) { z3 = true; } - d.j(Boolean.valueOf(z3)); + d.i(Boolean.valueOf(z3)); b.o = new a(i, Integer.MAX_VALUE); - q0.c(this.e, this.f525c, new c1(b.a(), this.b), this.d, eVar2); + q0.c(this.e, this.f499c, new c1(b.a(), this.b), this.d, eVar2); } } else { y0 y0Var2 = this.a; w0 w0Var2 = this.b; y0Var2.j(w0Var2, "PartialDiskCacheProducer", q0.d(y0Var2, w0Var2, false, 0)); - q0.c(this.e, this.f525c, this.b, this.d, eVar2); + q0.c(this.e, this.f499c, this.b, this.d, eVar2); } } return null; diff --git a/app/src/main/java/c/f/j/p/q.java b/app/src/main/java/c/f/j/p/q.java index 6b7a711fcf..ded4ff2f0b 100644 --- a/app/src/main/java/c/f/j/p/q.java +++ b/app/src/main/java/c/f/j/p/q.java @@ -2,27 +2,27 @@ package c.f.j.p; import c.f.j.j.e; import java.util.concurrent.CancellationException; -import y.c; -import y.g; +import z.c; +import z.g; /* compiled from: DiskCacheReadProducer */ public class q implements c { public final /* synthetic */ y0 a; public final /* synthetic */ w0 b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ l f526c; + public final /* synthetic */ l f500c; public final /* synthetic */ s d; public q(s sVar, y0 y0Var, w0 w0Var, l lVar) { this.d = sVar; this.a = y0Var; this.b = w0Var; - this.f526c = lVar; + this.f500c = lVar; } /* Return type fixed from 'java.lang.Object' to match base method */ - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [y.g] */ - @Override // y.c + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [z.g] */ + @Override // z.c public Void a(g gVar) throws Exception { boolean z2; e eVar; @@ -31,10 +31,10 @@ public class q implements c { } if (z2 || (gVar.e() && (gVar.d() instanceof CancellationException))) { this.a.d(this.b, "DiskCacheProducer", null); - this.f526c.d(); + this.f500c.d(); } else if (gVar.e()) { this.a.k(this.b, "DiskCacheProducer", gVar.d(), null); - this.d.d.b(this.f526c, this.b); + this.d.d.b(this.f500c, this.b); } else { synchronized (gVar.e) { eVar = gVar.h; @@ -46,14 +46,14 @@ public class q implements c { y0Var.j(w0Var, "DiskCacheProducer", s.c(y0Var, w0Var, true, eVar2.f())); this.a.c(this.b, "DiskCacheProducer", true); this.b.n("disk"); - this.f526c.a(1.0f); - this.f526c.b(eVar2, 1); + this.f500c.a(1.0f); + this.f500c.b(eVar2, 1); eVar2.close(); } else { y0 y0Var2 = this.a; w0 w0Var2 = this.b; y0Var2.j(w0Var2, "DiskCacheProducer", s.c(y0Var2, w0Var2, false, 0)); - this.d.d.b(this.f526c, this.b); + this.d.d.b(this.f500c, this.b); } } return null; diff --git a/app/src/main/java/c/f/j/p/q0.java b/app/src/main/java/c/f/j/p/q0.java index f353a679ac..9d9f4b1c1f 100644 --- a/app/src/main/java/c/f/j/p/q0.java +++ b/app/src/main/java/c/f/j/p/q0.java @@ -24,7 +24,7 @@ public class q0 implements v0 { public final i b; /* renamed from: c reason: collision with root package name */ - public final g f527c; + public final g f501c; public final c.f.d.g.a d; public final v0 e; @@ -32,7 +32,7 @@ public class q0 implements v0 { public static class a extends p { /* renamed from: c reason: collision with root package name */ - public final f f528c; + public final f f502c; public final CacheKey d; public final g e; public final c.f.d.g.a f; @@ -40,7 +40,7 @@ public class q0 implements v0 { public a(l lVar, f fVar, CacheKey cacheKey, g gVar, c.f.d.g.a aVar, e eVar, o0 o0Var) { super(lVar); - this.f528c = fVar; + this.f502c = fVar; this.d = cacheKey; this.e = gVar; this.f = aVar; @@ -52,11 +52,11 @@ public class q0 implements v0 { e eVar = (e) obj; if (!b.f(i)) { e eVar2 = this.g; - if (eVar2 == null || eVar.f486r == null) { + if (eVar2 == null || eVar.r == null) { if (b.m(i, 8) && b.e(i)) { - eVar.w(); + eVar.u(); if (eVar.k != c.a) { - this.f528c.f(this.d, eVar); + this.f502c.f(this.d, eVar); this.b.b(eVar, i); return; } @@ -76,16 +76,16 @@ public class q0 implements v0 { } eVar.close(); this.g.close(); - f fVar = this.f528c; + f fVar = this.f502c; CacheKey cacheKey = this.d; Objects.requireNonNull(fVar); Objects.requireNonNull(cacheKey); fVar.f.c(cacheKey); try { - y.g.a(new c.f.j.c.g(fVar, null, cacheKey), fVar.e); + z.g.a(new c.f.j.c.g(fVar, null, cacheKey), fVar.e); } catch (Exception e2) { c.f.d.e.a.n(f.class, e2, "Failed to schedule disk-cache remove for %s", cacheKey.b()); - y.g.c(e2); + z.g.c(e2); } } } @@ -114,8 +114,8 @@ public class q0 implements v0 { } public final c.f.d.g.i o(e eVar, e eVar2) throws IOException { - c.f.d.g.i e = this.e.e(eVar2.f() + eVar2.f486r.a); - n(eVar.e(), e, eVar2.f486r.a); + c.f.d.g.i e = this.e.e(eVar2.f() + eVar2.r.a); + n(eVar.e(), e, eVar2.r.a); n(eVar2.e(), e, eVar2.f()); return e; } @@ -125,23 +125,23 @@ public class q0 implements v0 { public final void p(c.f.d.g.i iVar) { e eVar; Throwable th; - CloseableReference C = CloseableReference.C(((MemoryPooledByteBufferOutputStream) iVar).b()); + CloseableReference A = CloseableReference.A(((MemoryPooledByteBufferOutputStream) iVar).b()); try { - eVar = new e(C); + eVar = new e(A); try { - eVar.p(); + eVar.n(); this.b.b(eVar, 1); eVar.close(); - if (C != null) { - C.close(); + if (A != null) { + A.close(); } } catch (Throwable th2) { th = th2; if (eVar != null) { eVar.close(); } - if (C != null) { - C.close(); + if (A != null) { + A.close(); } throw th; } @@ -150,7 +150,7 @@ public class q0 implements v0 { th = th3; if (eVar != null) { } - if (C != null) { + if (A != null) { } throw th; } @@ -160,13 +160,13 @@ public class q0 implements v0 { public q0(f fVar, i iVar, g gVar, c.f.d.g.a aVar, v0 v0Var) { this.a = fVar; this.b = iVar; - this.f527c = gVar; + this.f501c = gVar; this.d = aVar; this.e = v0Var; } public static void c(q0 q0Var, l lVar, w0 w0Var, CacheKey cacheKey, e eVar) { - q0Var.e.b(new a(lVar, q0Var.a, cacheKey, q0Var.f527c, q0Var.d, eVar, null), w0Var); + q0Var.e.b(new a(lVar, q0Var.a, cacheKey, q0Var.f501c, q0Var.d, eVar, null), w0Var); } @VisibleForTesting @@ -185,7 +185,7 @@ public class q0 implements v0 { return; } w0Var.o().e(w0Var, "PartialDiskCacheProducer"); - Uri build = e.f2682c.buildUpon().appendQueryParameter("fresco_partial", "true").build(); + Uri build = e.f2295c.buildUpon().appendQueryParameter("fresco_partial", "true").build(); i iVar = this.b; w0Var.b(); Objects.requireNonNull((n) iVar); diff --git a/app/src/main/java/c/f/j/p/r0.java b/app/src/main/java/c/f/j/p/r0.java index e959d62096..8800c37fd9 100644 --- a/app/src/main/java/c/f/j/p/r0.java +++ b/app/src/main/java/c/f/j/p/r0.java @@ -16,20 +16,20 @@ public class r0 implements v0> { public final i b; /* renamed from: c reason: collision with root package name */ - public final v0> f529c; + public final v0> f503c; /* compiled from: PostprocessedBitmapMemoryCacheProducer */ public static class a extends p, CloseableReference> { /* renamed from: c reason: collision with root package name */ - public final CacheKey f530c; + public final CacheKey f504c; public final boolean d; public final w e; public final boolean f; public a(l> lVar, CacheKey cacheKey, boolean z2, w wVar, boolean z3) { super(lVar); - this.f530c = cacheKey; + this.f504c = cacheKey; this.d = z2; this.e = wVar; this.f = z3; @@ -45,7 +45,7 @@ public class r0 implements v0> { } } else if (!b.f(i) || this.d) { if (this.f) { - closeableReference2 = this.e.a(this.f530c, closeableReference); + closeableReference2 = this.e.a(this.f504c, closeableReference); } try { this.b.a(1.0f); @@ -67,7 +67,7 @@ public class r0 implements v0> { public r0(w wVar, i iVar, v0> v0Var) { this.a = wVar; this.b = iVar; - this.f529c = v0Var; + this.f503c = v0Var; } @Override // c.f.j.p.v0 @@ -77,7 +77,7 @@ public class r0 implements v0> { Object b = w0Var.b(); b bVar = e.q; if (bVar == null || bVar.getPostprocessorCacheKey() == null) { - this.f529c.b(lVar, w0Var); + this.f503c.b(lVar, w0Var); return; } o.e(w0Var, "PostprocessedBitmapMemoryCacheProducer"); @@ -101,6 +101,6 @@ public class r0 implements v0> { map = f.of("cached_value_found", "false"); } o.j(w0Var, "PostprocessedBitmapMemoryCacheProducer", map); - this.f529c.b(aVar, w0Var); + this.f503c.b(aVar, w0Var); } } diff --git a/app/src/main/java/c/f/j/p/s.java b/app/src/main/java/c/f/j/p/s.java index 359ce32fd5..273c2b4e45 100644 --- a/app/src/main/java/c/f/j/p/s.java +++ b/app/src/main/java/c/f/j/p/s.java @@ -15,13 +15,13 @@ public class s implements v0 { public final f b; /* renamed from: c reason: collision with root package name */ - public final i f531c; + public final i f505c; public final v0 d; public s(f fVar, f fVar2, i iVar, v0 v0Var) { this.a = fVar; this.b = fVar2; - this.f531c = iVar; + this.f505c = iVar; this.d = v0Var; } @@ -39,7 +39,7 @@ public class s implements v0 { boolean z2 = true; if (e.n) { w0Var.o().e(w0Var, "DiskCacheProducer"); - CacheKey b = ((n) this.f531c).b(e, w0Var.b()); + CacheKey b = ((n) this.f505c).b(e, w0Var.b()); if (e.b != ImageRequest.b.SMALL) { z2 = false; } diff --git a/app/src/main/java/c/f/j/p/s0.java b/app/src/main/java/c/f/j/p/s0.java index 39aeb23e7d..07658990ea 100644 --- a/app/src/main/java/c/f/j/p/s0.java +++ b/app/src/main/java/c/f/j/p/s0.java @@ -13,13 +13,13 @@ public class s0 implements v0> { public final PlatformBitmapFactory b; /* renamed from: c reason: collision with root package name */ - public final Executor f532c; + public final Executor f506c; /* compiled from: PostprocessorProducer */ public class b extends p, CloseableReference> { /* renamed from: c reason: collision with root package name */ - public final y0 f533c; + public final y0 f507c; public final w0 d; public final c.f.j.q.b e; public boolean f; @@ -44,7 +44,7 @@ public class s0 implements v0> { public b(l> lVar, y0 y0Var, c.f.j.q.b bVar, w0 w0Var) { super(lVar); - this.f533c = y0Var; + this.f507c = y0Var; this.e = bVar; this.d = w0Var; w0Var.f(new a(s0.this)); @@ -52,26 +52,26 @@ public class s0 implements v0> { public static void n(b bVar, CloseableReference closeableReference, int i) { Objects.requireNonNull(bVar); - c.c.a.a0.d.j(Boolean.valueOf(CloseableReference.z(closeableReference))); - if (!(((c.f.j.j.c) closeableReference.w()) instanceof c.f.j.j.d)) { + c.c.a.a0.d.i(Boolean.valueOf(CloseableReference.y(closeableReference))); + if (!(((c.f.j.j.c) closeableReference.u()) instanceof c.f.j.j.d)) { bVar.q(closeableReference, i); return; } - bVar.f533c.e(bVar.d, "PostprocessorProducer"); + bVar.f507c.e(bVar.d, "PostprocessorProducer"); try { - CloseableReference r2 = bVar.r((c.f.j.j.c) closeableReference.w()); + CloseableReference r = bVar.r((c.f.j.j.c) closeableReference.u()); try { - y0 y0Var = bVar.f533c; + y0 y0Var = bVar.f507c; w0 w0Var = bVar.d; y0Var.j(w0Var, "PostprocessorProducer", bVar.p(y0Var, w0Var, bVar.e)); - bVar.q(r2, i); + bVar.q(r, i); } finally { - if (r2 != null) { - r2.close(); + if (r != null) { + r.close(); } } } catch (Exception e) { - y0 y0Var2 = bVar.f533c; + y0 y0Var2 = bVar.f507c; w0 w0Var2 = bVar.d; y0Var2.k(w0Var2, "PostprocessorProducer", e, bVar.p(y0Var2, w0Var2, bVar.e)); if (bVar.o()) { @@ -97,16 +97,16 @@ public class s0 implements v0> { @Override // c.f.j.p.b public void i(Object obj, int i) { CloseableReference closeableReference; - boolean s; + boolean s2; CloseableReference closeableReference2 = (CloseableReference) obj; - if (CloseableReference.z(closeableReference2)) { + if (CloseableReference.y(closeableReference2)) { synchronized (this) { if (!this.f) { closeableReference = this.g; - this.g = CloseableReference.p(closeableReference2); + this.g = CloseableReference.n(closeableReference2); this.h = i; this.i = true; - s = s(); + s2 = s(); } else { return; } @@ -114,8 +114,8 @@ public class s0 implements v0> { if (closeableReference != null) { closeableReference.close(); } - if (s) { - s0.this.f532c.execute(new t0(this)); + if (s2) { + s0.this.f506c.execute(new t0(this)); } } else if (b.e(i)) { q(null, i); @@ -168,11 +168,11 @@ public class s0 implements v0> { try { c.f.j.j.d dVar2 = new c.f.j.j.d(process, cVar.b(), dVar.n, dVar.o); dVar2.e(dVar.j); - CloseableReference C = CloseableReference.C(dVar2); + CloseableReference A = CloseableReference.A(dVar2); if (process != null) { process.close(); } - return C; + return A; } catch (Throwable th) { Class cls = CloseableReference.i; if (process != null) { @@ -183,7 +183,7 @@ public class s0 implements v0> { } public final synchronized boolean s() { - if (this.f || !this.i || this.j || !CloseableReference.z(this.g)) { + if (this.f || !this.i || this.j || !CloseableReference.y(this.g)) { return false; } this.j = true; @@ -195,7 +195,7 @@ public class s0 implements v0> { public class c extends p, CloseableReference> implements c.f.j.q.d { /* renamed from: c reason: collision with root package name */ - public boolean f534c = false; + public boolean f508c = false; public CloseableReference d = null; public c(s0 s0Var, b bVar, c.f.j.q.c cVar, w0 w0Var, a aVar) { @@ -220,30 +220,30 @@ public class s0 implements v0> { @Override // c.f.j.p.b public void i(Object obj, int i) { - CloseableReference p; + CloseableReference n; CloseableReference closeableReference = (CloseableReference) obj; if (!b.f(i)) { synchronized (this) { - if (!this.f534c) { + if (!this.f508c) { CloseableReference closeableReference2 = this.d; - this.d = CloseableReference.p(closeableReference); + this.d = CloseableReference.n(closeableReference); if (closeableReference2 != null) { closeableReference2.close(); } } } synchronized (this) { - if (!this.f534c) { - p = CloseableReference.p(this.d); + if (!this.f508c) { + n = CloseableReference.n(this.d); } else { return; } } try { - this.b.b(p, 0); + this.b.b(n, 0); } finally { - if (p != null) { - p.close(); + if (n != null) { + n.close(); } } } @@ -252,12 +252,12 @@ public class s0 implements v0> { public final boolean n() { CloseableReference closeableReference; synchronized (this) { - if (this.f534c) { + if (this.f508c) { return false; } closeableReference = this.d; this.d = null; - this.f534c = true; + this.f508c = true; } Class cls = CloseableReference.i; if (closeableReference != null) { @@ -287,7 +287,7 @@ public class s0 implements v0> { this.a = v0Var; this.b = platformBitmapFactory; Objects.requireNonNull(executor); - this.f532c = executor; + this.f506c = executor; } @Override // c.f.j.p.v0 diff --git a/app/src/main/java/c/f/j/p/t.java b/app/src/main/java/c/f/j/p/t.java index 793e67331b..98c932c507 100644 --- a/app/src/main/java/c/f/j/p/t.java +++ b/app/src/main/java/c/f/j/p/t.java @@ -13,21 +13,21 @@ public class t implements v0 { public final f b; /* renamed from: c reason: collision with root package name */ - public final i f535c; + public final i f509c; public final v0 d; /* compiled from: DiskCacheWriteProducer */ public static class b extends p { /* renamed from: c reason: collision with root package name */ - public final w0 f536c; + public final w0 f510c; public final f d; public final f e; public final i f; public b(l lVar, w0 w0Var, f fVar, f fVar2, i iVar, a aVar) { super(lVar); - this.f536c = w0Var; + this.f510c = w0Var; this.d = fVar; this.e = fVar2; this.f = iVar; @@ -36,23 +36,23 @@ public class t implements v0 { @Override // c.f.j.p.b public void i(Object obj, int i) { e eVar = (e) obj; - this.f536c.o().e(this.f536c, "DiskCacheWriteProducer"); + this.f510c.o().e(this.f510c, "DiskCacheWriteProducer"); if (!b.f(i) && eVar != null && !b.l(i, 10)) { - eVar.w(); + eVar.u(); if (eVar.k != c.a) { - ImageRequest e = this.f536c.e(); - CacheKey b = ((n) this.f).b(e, this.f536c.b()); + ImageRequest e = this.f510c.e(); + CacheKey b = ((n) this.f).b(e, this.f510c.b()); if (e.b == ImageRequest.b.SMALL) { this.e.f(b, eVar); } else { this.d.f(b, eVar); } - this.f536c.o().j(this.f536c, "DiskCacheWriteProducer", null); + this.f510c.o().j(this.f510c, "DiskCacheWriteProducer", null); this.b.b(eVar, i); return; } } - this.f536c.o().j(this.f536c, "DiskCacheWriteProducer", null); + this.f510c.o().j(this.f510c, "DiskCacheWriteProducer", null); this.b.b(eVar, i); } } @@ -60,7 +60,7 @@ public class t implements v0 { public t(f fVar, f fVar2, i iVar, v0 v0Var) { this.a = fVar; this.b = fVar2; - this.f535c = iVar; + this.f509c = iVar; this.d = v0Var; } @@ -72,7 +72,7 @@ public class t implements v0 { return; } if (w0Var.e().n) { - lVar = new b(lVar, w0Var, this.a, this.b, this.f535c, null); + lVar = new b(lVar, w0Var, this.a, this.b, this.f509c, null); } this.d.b(lVar, w0Var); } diff --git a/app/src/main/java/c/f/j/p/t0.java b/app/src/main/java/c/f/j/p/t0.java index d7966fb667..6ee0076397 100644 --- a/app/src/main/java/c/f/j/p/t0.java +++ b/app/src/main/java/c/f/j/p/t0.java @@ -15,7 +15,7 @@ public class t0 implements Runnable { public void run() { CloseableReference closeableReference; int i; - boolean s; + boolean s2; synchronized (this.i) { s0.b bVar = this.i; closeableReference = bVar.g; @@ -23,7 +23,7 @@ public class t0 implements Runnable { bVar.g = null; bVar.i = false; } - if (CloseableReference.z(closeableReference)) { + if (CloseableReference.y(closeableReference)) { try { s0.b.n(this.i, closeableReference, i); closeableReference.close(); @@ -37,10 +37,10 @@ public class t0 implements Runnable { s0.b bVar2 = this.i; synchronized (bVar2) { bVar2.j = false; - s = bVar2.s(); + s2 = bVar2.s(); } - if (s) { - s0.this.f532c.execute(new t0(bVar2)); + if (s2) { + s0.this.f506c.execute(new t0(bVar2)); } } } diff --git a/app/src/main/java/c/f/j/p/v.java b/app/src/main/java/c/f/j/p/v.java index 71c83ff591..59f829beaa 100644 --- a/app/src/main/java/c/f/j/p/v.java +++ b/app/src/main/java/c/f/j/p/v.java @@ -18,20 +18,20 @@ public class v implements v0 { public final i b; /* renamed from: c reason: collision with root package name */ - public final v0 f537c; + public final v0 f511c; /* compiled from: EncodedMemoryCacheProducer */ public static class a extends p { /* renamed from: c reason: collision with root package name */ - public final w f538c; + public final w f512c; public final CacheKey d; public final boolean e; public final boolean f; public a(l lVar, w wVar, CacheKey cacheKey, boolean z2, boolean z3) { super(lVar); - this.f538c = wVar; + this.f512c = wVar; this.d = cacheKey; this.e = z2; this.f = z3; @@ -44,14 +44,14 @@ public class v implements v0 { try { b.b(); if (!b.f(i) && eVar != null && !b.l(i, 10)) { - eVar.w(); + eVar.u(); if (eVar.k != c.a) { CloseableReference c2 = eVar.c(); if (c2 != null) { CloseableReference closeableReference = null; try { if (this.f && this.e) { - closeableReference = this.f538c.a(this.d, c2); + closeableReference = this.f512c.a(this.d, c2); } if (closeableReference != null) { try { @@ -88,7 +88,7 @@ public class v implements v0 { public v(w wVar, i iVar, v0 v0Var) { this.a = wVar; this.b = iVar; - this.f537c = v0Var; + this.f511c = v0Var; } /* JADX INFO: finally extract failed */ @@ -138,12 +138,12 @@ public class v implements v0 { } b.b(); } else { - a aVar = new a(lVar, this.a, b, w0Var.e().o, w0Var.g().f466w.e); + a aVar = new a(lVar, this.a, b, w0Var.e().o, w0Var.g().w.e); if (o.g(w0Var, "EncodedMemoryCacheProducer")) { map = f.of("cached_value_found", "false"); } o.j(w0Var, "EncodedMemoryCacheProducer", map); - this.f537c.b(aVar, w0Var); + this.f511c.b(aVar, w0Var); Class cls3 = CloseableReference.i; if (closeableReference != null) { closeableReference.close(); diff --git a/app/src/main/java/c/f/j/p/w.java b/app/src/main/java/c/f/j/p/w.java index dbd588e81e..aecfea2dae 100644 --- a/app/src/main/java/c/f/j/p/w.java +++ b/app/src/main/java/c/f/j/p/w.java @@ -15,7 +15,7 @@ public class w implements v0 { public final f b; /* renamed from: c reason: collision with root package name */ - public final i f539c; + public final i f513c; public final v0 d; public final d e; public final d f; @@ -24,7 +24,7 @@ public class w implements v0 { public static class a extends p { /* renamed from: c reason: collision with root package name */ - public final w0 f540c; + public final w0 f514c; public final f d; public final f e; public final i f; @@ -33,7 +33,7 @@ public class w implements v0 { public a(l lVar, w0 w0Var, f fVar, f fVar2, i iVar, d dVar, d dVar2) { super(lVar); - this.f540c = w0Var; + this.f514c = w0Var; this.d = fVar; this.e = fVar2; this.f = iVar; @@ -48,17 +48,17 @@ public class w implements v0 { try { b.b(); if (!b.f(i) && eVar != null && !b.l(i, 10)) { - eVar.w(); + eVar.u(); if (eVar.k != c.a) { - ImageRequest e = this.f540c.e(); - CacheKey b = ((n) this.f).b(e, this.f540c.b()); + ImageRequest e = this.f514c.e(); + CacheKey b = ((n) this.f).b(e, this.f514c.b()); this.g.a(b); - if (this.f540c.l("origin").equals("memory_encoded")) { + if (this.f514c.l("origin").equals("memory_encoded")) { if (!this.h.b(b)) { (e.b == ImageRequest.b.SMALL ? this.e : this.d).c(b); this.h.a(b); } - } else if (this.f540c.l("origin").equals("disk")) { + } else if (this.f514c.l("origin").equals("disk")) { this.h.a(b); } this.b.b(eVar, i); @@ -77,7 +77,7 @@ public class w implements v0 { public w(f fVar, f fVar2, i iVar, d dVar, d dVar2, v0 v0Var) { this.a = fVar; this.b = fVar2; - this.f539c = iVar; + this.f513c = iVar; this.e = dVar; this.f = dVar2; this.d = v0Var; @@ -89,7 +89,7 @@ public class w implements v0 { b.b(); y0 o = w0Var.o(); o.e(w0Var, "EncodedProbeProducer"); - a aVar = new a(lVar, w0Var, this.a, this.b, this.f539c, this.e, this.f); + a aVar = new a(lVar, w0Var, this.a, this.b, this.f513c, this.e, this.f); o.j(w0Var, "EncodedProbeProducer", null); b.b(); this.d.b(aVar, w0Var); diff --git a/app/src/main/java/c/f/j/p/x.java b/app/src/main/java/c/f/j/p/x.java index f079c49a9a..5dc84d70e6 100644 --- a/app/src/main/java/c/f/j/p/x.java +++ b/app/src/main/java/c/f/j/p/x.java @@ -7,7 +7,7 @@ public class x { public final w0 b; /* renamed from: c reason: collision with root package name */ - public long f541c = 0; + public long f515c = 0; public x(l lVar, w0 w0Var) { this.a = lVar; diff --git a/app/src/main/java/c/f/j/p/y.java b/app/src/main/java/c/f/j/p/y.java index 03be6a2ab9..b717420964 100644 --- a/app/src/main/java/c/f/j/p/y.java +++ b/app/src/main/java/c/f/j/p/y.java @@ -34,9 +34,9 @@ public class y implements Runnable { Objects.requireNonNull(a0Var); InputStream inputStream = null; try { - httpURLConnection = a0Var.a(aVar.b.e().f2682c, 5); + httpURLConnection = a0Var.a(aVar.b.e().f2295c, 5); try { - aVar.e = a0Var.f498c.now(); + aVar.e = a0Var.f472c.now(); if (httpURLConnection != null) { inputStream = httpURLConnection.getInputStream(); ((m0.a) aVar2).b(inputStream, -1); diff --git a/app/src/main/java/c/f/j/q/a.java b/app/src/main/java/c/f/j/q/a.java index 0be0d08bd4..27e8837680 100644 --- a/app/src/main/java/c/f/j/q/a.java +++ b/app/src/main/java/c/f/j/q/a.java @@ -55,7 +55,7 @@ public abstract class a implements b { } CloseableReference b = platformBitmapFactory.b(width, height, config); try { - process(b.w(), bitmap); + process(b.u(), bitmap); CloseableReference b2 = b.clone(); b.close(); return b2; diff --git a/app/src/main/java/c/f/j/s/d.java b/app/src/main/java/c/f/j/s/d.java index ebfda3f72a..e2c925d47c 100644 --- a/app/src/main/java/c/f/j/s/d.java +++ b/app/src/main/java/c/f/j/s/d.java @@ -14,7 +14,7 @@ public class d { } public static int a(f fVar, c.f.j.j.e eVar) { - eVar.w(); + eVar.u(); int i = eVar.m; e eVar2 = a; int indexOf = eVar2.indexOf(Integer.valueOf(i)); @@ -33,10 +33,10 @@ public class d { if (!fVar.b()) { return 0; } - eVar.w(); + eVar.u(); int i2 = eVar.l; if (i2 == 90 || i2 == 180 || i2 == 270) { - eVar.w(); + eVar.u(); i = eVar.l; } return fVar.c() ? i : (fVar.a() + i) % 360; @@ -50,30 +50,30 @@ public class d { } int b = b(fVar, eVar2); e eVar3 = a; - eVar2.w(); + eVar2.u(); boolean z3 = false; int a2 = eVar3.contains(Integer.valueOf(eVar2.m)) ? a(fVar, eVar2) : 0; if (b == 90 || b == 270 || a2 == 5 || a2 == 7) { z3 = true; } if (z3) { - eVar2.w(); + eVar2.u(); i = eVar2.o; } else { - eVar2.w(); + eVar2.u(); i = eVar2.n; } if (z3) { - eVar2.w(); + eVar2.u(); i2 = eVar2.n; } else { - eVar2.w(); + eVar2.u(); i2 = eVar2.o; } float f = (float) i; float f2 = (float) i2; float max = Math.max(((float) eVar.a) / f, ((float) eVar.b) / f2); - float f3 = eVar.f460c; + float f3 = eVar.f437c; if (f * max > f3) { max = f3 / f; } diff --git a/app/src/main/java/c/f/j/s/f.java b/app/src/main/java/c/f/j/s/f.java index 9bb212b6a3..0c4a8962cc 100644 --- a/app/src/main/java/c/f/j/s/f.java +++ b/app/src/main/java/c/f/j/s/f.java @@ -33,7 +33,7 @@ public class f implements b { if (fVar == null) { fVar = c.f.j.d.f.a; } - return this.a && d.c0(fVar, eVar2, eVar, this.b) > 1; + return this.a && d.Z(fVar, eVar2, eVar, this.b) > 1; } /* JADX WARNING: Removed duplicated region for block: B:37:0x00a5 */ @@ -48,9 +48,9 @@ public class f implements b { Integer num2 = num == null ? 85 : num; c.f.j.d.f fVar2 = fVar == null ? c.f.j.d.f.a : fVar; int i = 1; - int c02 = !this.a ? 1 : d.c0(fVar2, eVar2, eVar, this.b); + int Z = !this.a ? 1 : d.Z(fVar2, eVar2, eVar, this.b); BitmapFactory.Options options = new BitmapFactory.Options(); - options.inSampleSize = c02; + options.inSampleSize = Z; try { Bitmap decodeStream = BitmapFactory.decodeStream(eVar.e(), null, options); if (decodeStream == null) { @@ -58,7 +58,7 @@ public class f implements b { return new a(2); } c.f.d.d.e eVar3 = d.a; - eVar.w(); + eVar.u(); if (eVar3.contains(Integer.valueOf(eVar.m))) { int a = d.a(fVar2, eVar); matrix = new Matrix(); @@ -103,7 +103,7 @@ public class f implements b { bitmap = decodeStream; } bitmap.compress(e(null), num2.intValue(), outputStream); - if (c02 > 1) { + if (Z > 1) { i = 0; } a aVar2 = new a(i); @@ -118,7 +118,7 @@ public class f implements b { if (matrix != null) { } bitmap.compress(e(null), num2.intValue(), outputStream); - if (c02 > 1) { + if (Z > 1) { } a aVar2 = new a(i); bitmap.recycle(); @@ -130,7 +130,7 @@ public class f implements b { } try { bitmap.compress(e(null), num2.intValue(), outputStream); - if (c02 > 1) { + if (Z > 1) { } a aVar2 = new a(i); bitmap.recycle(); diff --git a/app/src/main/java/c/f/k/a.java b/app/src/main/java/c/f/k/a.java index 7e5f2dd2ea..57d33052f5 100644 --- a/app/src/main/java/c/f/k/a.java +++ b/app/src/main/java/c/f/k/a.java @@ -15,7 +15,7 @@ public final class a { /* compiled from: BitmapUtil */ /* renamed from: c.f.k.a$a reason: collision with other inner class name */ - public static /* synthetic */ class C0069a { + public static /* synthetic */ class C0068a { public static final /* synthetic */ int[] a; static { @@ -74,7 +74,7 @@ public final class a { } public static int b(Bitmap.Config config) { - switch (C0069a.a[config.ordinal()]) { + switch (C0068a.a[config.ordinal()]) { case 1: return 4; case 2: diff --git a/app/src/main/java/c/f/l/a/a.java b/app/src/main/java/c/f/l/a/a.java index 7a21a60fe3..29a8b1d178 100644 --- a/app/src/main/java/c/f/l/a/a.java +++ b/app/src/main/java/c/f/l/a/a.java @@ -8,16 +8,16 @@ public class a { public int b; /* renamed from: c reason: collision with root package name */ - public final int[] f542c = new int[2]; + public final int[] f516c = new int[2]; public final float[] d = new float[2]; public final float[] e = new float[2]; public final float[] f = new float[2]; public final float[] g = new float[2]; - public AbstractC0070a h = null; + public AbstractC0069a h = null; /* compiled from: MultiPointerGestureDetector */ /* renamed from: c.f.l.a.a$a reason: collision with other inner class name */ - public interface AbstractC0070a { + public interface AbstractC0069a { } public a() { @@ -28,7 +28,7 @@ public class a { this.a = false; this.b = 0; for (int i = 0; i < 2; i++) { - this.f542c[i] = -1; + this.f516c[i] = -1; } } @@ -36,7 +36,7 @@ public class a { b bVar; b.a aVar; if (!this.a) { - AbstractC0070a aVar2 = this.h; + AbstractC0069a aVar2 = this.h; if (!(aVar2 == null || (aVar = (bVar = (b) aVar2).b) == null)) { aVar.c(bVar); } @@ -48,7 +48,7 @@ public class a { b.a aVar; if (this.a) { this.a = false; - AbstractC0070a aVar2 = this.h; + AbstractC0069a aVar2 = this.h; if (aVar2 != null && (aVar = ((b) aVar2).b) != null) { c cVar = (c) aVar; c.f.d.e.a.i(c.class, "onGestureEnd"); diff --git a/app/src/main/java/c/f/l/a/b.java b/app/src/main/java/c/f/l/a/b.java index 851e0c94b9..1aa4ae5479 100644 --- a/app/src/main/java/c/f/l/a/b.java +++ b/app/src/main/java/c/f/l/a/b.java @@ -2,7 +2,7 @@ package c.f.l.a; import c.f.l.a.a; /* compiled from: TransformGestureDetector */ -public class b implements a.AbstractC0070a { +public class b implements a.AbstractC0069a { public final a a; public a b = null; diff --git a/app/src/main/java/c/f/l/b/a.java b/app/src/main/java/c/f/l/b/a.java index 459a30cddd..76e6015ae1 100644 --- a/app/src/main/java/c/f/l/b/a.java +++ b/app/src/main/java/c/f/l/b/a.java @@ -13,9 +13,7 @@ public abstract class a extends c { public final float[] o = new float[9]; public final float[] p = new float[9]; public final Matrix q = new Matrix(); - - /* renamed from: r reason: collision with root package name */ - public final Matrix f543r = new Matrix(); + public final Matrix r = new Matrix(); public a(b bVar) { super(bVar); @@ -47,7 +45,7 @@ public abstract class a extends c { public void j() { c.f.d.e.a.i(m(), ModelAuditLogEntry.CHANGE_KEY_PERMISSIONS_RESET); o(); - this.f543r.reset(); + this.r.reset(); this.q.reset(); super.j(); } @@ -86,7 +84,7 @@ public abstract class a extends c { if (j <= 0) { c.f.d.e.a.i(m(), "setTransformImmediate"); o(); - this.f543r.set(matrix2); + this.r.set(matrix2); c.f.d.e.a.i(c.class, "setTransform"); this.h.set(matrix2); i(); diff --git a/app/src/main/java/c/f/l/b/b.java b/app/src/main/java/c/f/l/b/b.java index 24eff50993..5d31725623 100644 --- a/app/src/main/java/c/f/l/b/b.java +++ b/app/src/main/java/c/f/l/b/b.java @@ -11,7 +11,9 @@ import c.c.a.a0.d; import java.util.Objects; /* compiled from: AnimatedZoomableController */ public class b extends a { - public final ValueAnimator s; + + /* renamed from: s reason: collision with root package name */ + public final ValueAnimator f517s; /* compiled from: AnimatedZoomableController */ public class a implements ValueAnimator.AnimatorUpdateListener { @@ -21,14 +23,14 @@ public class b extends a { @Override // android.animation.ValueAnimator.AnimatorUpdateListener public void onAnimationUpdate(ValueAnimator valueAnimator) { b bVar = b.this; - Matrix matrix = bVar.f543r; + Matrix matrix = bVar.r; float floatValue = ((Float) valueAnimator.getAnimatedValue()).floatValue(); for (int i = 0; i < 9; i++) { bVar.p[i] = (bVar.o[i] * floatValue) + ((1.0f - floatValue) * bVar.n[i]); } matrix.setValues(bVar.p); b bVar2 = b.this; - Matrix matrix2 = bVar2.f543r; + Matrix matrix2 = bVar2.r; c.f.d.e.a.i(c.class, "setTransform"); bVar2.h.set(matrix2); bVar2.i(); @@ -37,10 +39,10 @@ public class b extends a { /* compiled from: AnimatedZoomableController */ /* renamed from: c.f.l.b.b$b reason: collision with other inner class name */ - public class C0071b extends AnimatorListenerAdapter { + public class C0070b extends AnimatorListenerAdapter { public final /* synthetic */ Runnable a; - public C0071b(Runnable runnable) { + public C0070b(Runnable runnable) { this.a = runnable; } @@ -75,7 +77,7 @@ public class b extends a { public b(c.f.l.a.b bVar) { super(bVar); ValueAnimator ofFloat = ValueAnimator.ofFloat(0.0f, 1.0f); - this.s = ofFloat; + this.f517s = ofFloat; ofFloat.setInterpolator(new DecelerateInterpolator()); } @@ -89,15 +91,15 @@ public class b extends a { public void n(Matrix matrix, long j, @Nullable Runnable runnable) { int i = c.f.d.e.a.a; o(); - d.j(Boolean.valueOf(j > 0)); + d.i(Boolean.valueOf(j > 0)); d.B(!this.m); this.m = true; - this.s.setDuration(j); + this.f517s.setDuration(j); this.h.getValues(this.n); matrix.getValues(this.o); - this.s.addUpdateListener(new a()); - this.s.addListener(new C0071b(runnable)); - this.s.start(); + this.f517s.addUpdateListener(new a()); + this.f517s.addListener(new C0070b(runnable)); + this.f517s.start(); } @Override // c.f.l.b.a @@ -105,9 +107,9 @@ public class b extends a { public void o() { if (this.m) { c.f.d.e.a.i(b.class, "stopAnimation"); - this.s.cancel(); - this.s.removeAllUpdateListeners(); - this.s.removeAllListeners(); + this.f517s.cancel(); + this.f517s.removeAllUpdateListeners(); + this.f517s.removeAllListeners(); } } } diff --git a/app/src/main/java/c/f/l/b/c.java b/app/src/main/java/c/f/l/b/c.java index 5dff983c77..420392e8e6 100644 --- a/app/src/main/java/c/f/l/b/c.java +++ b/app/src/main/java/c/f/l/b/c.java @@ -16,7 +16,7 @@ public class c implements e, b.a { public e.a b = null; /* renamed from: c reason: collision with root package name */ - public boolean f544c = false; + public boolean f518c = false; public final RectF d = new RectF(); public final RectF e = new RectF(); public final RectF f = new RectF(); @@ -177,13 +177,13 @@ public class c implements e, b.a { if (r2 != 6) goto L_0x00ca; */ public boolean h(MotionEvent motionEvent) { - a.AbstractC0070a aVar; + a.AbstractC0069a aVar; b bVar; b.a aVar2; motionEvent.getAction(); int i = c.f.d.e.a.a; int i2 = 0; - if (!this.f544c) { + if (!this.f518c) { return false; } c.f.l.a.a aVar3 = this.a.a; @@ -192,7 +192,7 @@ public class c implements e, b.a { if (!(actionMasked == 0 || actionMasked == 1)) { if (actionMasked == 2) { while (i2 < 2) { - int findPointerIndex = motionEvent.findPointerIndex(aVar3.f542c[i2]); + int findPointerIndex = motionEvent.findPointerIndex(aVar3.f516c[i2]); if (findPointerIndex != -1) { aVar3.f[i2] = motionEvent.getX(findPointerIndex); aVar3.g[i2] = motionEvent.getY(findPointerIndex); @@ -224,9 +224,9 @@ public class c implements e, b.a { i3 = -1; } if (i3 == -1) { - aVar3.f542c[i2] = -1; + aVar3.f516c[i2] = -1; } else { - aVar3.f542c[i2] = motionEvent.getPointerId(i3); + aVar3.f516c[i2] = motionEvent.getPointerId(i3); float[] fArr = aVar3.f; float[] fArr2 = aVar3.d; float x2 = motionEvent.getX(i3); @@ -250,7 +250,7 @@ public class c implements e, b.a { public final void i() { this.h.mapRect(this.f, this.e); e.a aVar = this.b; - if (aVar != null && this.f544c) { + if (aVar != null && this.f518c) { ZoomableDraweeView zoomableDraweeView = ZoomableDraweeView.this; zoomableDraweeView.getLogTag(); zoomableDraweeView.hashCode(); @@ -271,7 +271,7 @@ public class c implements e, b.a { } public void k(boolean z2) { - this.f544c = z2; + this.f518c = z2; if (!z2) { j(); } diff --git a/app/src/main/java/c/f/m/a.java b/app/src/main/java/c/f/m/a.java index 2a6f1b4dc4..89805b2c83 100644 --- a/app/src/main/java/c/f/m/a.java +++ b/app/src/main/java/c/f/m/a.java @@ -13,13 +13,13 @@ public class a extends f { /* compiled from: ApkSoSource */ /* renamed from: c.f.m.a$a reason: collision with other inner class name */ - public class C0072a extends f.c { + public class C0071a extends f.c { public File m; public final int n; - public C0072a(f fVar) throws IOException { + public C0071a(f fVar) throws IOException { super(fVar); - this.m = new File(a.this.f546c.getApplicationInfo().nativeLibraryDir); + this.m = new File(a.this.f520c.getApplicationInfo().nativeLibraryDir); this.n = a.this.h; } } @@ -40,7 +40,7 @@ public class a extends f { obtain.writeByte((byte) 2); obtain.writeString(canonicalFile.getPath()); obtain.writeLong(canonicalFile.lastModified()); - Context context = this.f546c; + Context context = this.f520c; PackageManager packageManager = context.getPackageManager(); if (packageManager != null) { try { @@ -52,7 +52,7 @@ public class a extends f { obtain.writeByte((byte) 0); return obtain.marshall(); } - String str = this.f546c.getApplicationInfo().nativeLibraryDir; + String str = this.f520c.getApplicationInfo().nativeLibraryDir; if (str == null) { obtain.writeByte((byte) 1); byte[] marshall = obtain.marshall(); @@ -84,6 +84,6 @@ public class a extends f { @Override // c.f.m.m public m.f h() throws IOException { - return new C0072a(this); + return new C0071a(this); } } diff --git a/app/src/main/java/c/f/m/b.java b/app/src/main/java/c/f/m/b.java index 0f95eecd09..27045b65af 100644 --- a/app/src/main/java/c/f/m/b.java +++ b/app/src/main/java/c/f/m/b.java @@ -12,7 +12,7 @@ public class b extends l { public int b; /* renamed from: c reason: collision with root package name */ - public c f545c; + public c f519c; public b(Context context, int i) { Context applicationContext = context.getApplicationContext(); @@ -22,7 +22,7 @@ public class b extends l { this.a = context; } this.b = i; - this.f545c = new c(new File(this.a.getApplicationInfo().nativeLibraryDir), i); + this.f519c = new c(new File(this.a.getApplicationInfo().nativeLibraryDir), i); } public static File d(Context context) { @@ -31,16 +31,16 @@ public class b extends l { @Override // c.f.m.l public int a(String str, int i, StrictMode.ThreadPolicy threadPolicy) throws IOException { - return this.f545c.a(str, i, threadPolicy); + return this.f519c.a(str, i, threadPolicy); } @Override // c.f.m.l public void b(int i) throws IOException { - this.f545c.b(i); + this.f519c.b(i); } public boolean c() throws IOException { - File file = this.f545c.a; + File file = this.f519c.a; Context e = e(); File d = d(e); if (file.equals(d)) { @@ -49,7 +49,7 @@ public class b extends l { Log.d("SoLoader", "Native library directory updated from " + file + " to " + d); int i = this.b | 1; this.b = i; - this.f545c = new c(d, i); + this.f519c = new c(d, i); this.a = e; return true; } @@ -65,6 +65,6 @@ public class b extends l { @Override // c.f.m.l public String toString() { - return this.f545c.toString(); + return this.f519c.toString(); } } diff --git a/app/src/main/java/c/f/m/c.java b/app/src/main/java/c/f/m/c.java index 7333eb3157..851aaa9924 100644 --- a/app/src/main/java/c/f/m/c.java +++ b/app/src/main/java/c/f/m/c.java @@ -30,14 +30,14 @@ public class c extends l { public int c(String str, int i, File file, StrictMode.ThreadPolicy threadPolicy) throws IOException { File file2 = new File(file, str); if (!file2.exists()) { - StringBuilder S = a.S(str, " not found on "); - S.append(file.getCanonicalPath()); - Log.d("SoLoader", S.toString()); + StringBuilder V = a.V(str, " not found on "); + V.append(file.getCanonicalPath()); + Log.d("SoLoader", V.toString()); return 0; } - StringBuilder S2 = a.S(str, " found on "); - S2.append(file.getCanonicalPath()); - Log.d("SoLoader", S2.toString()); + StringBuilder V2 = a.V(str, " found on "); + V2.append(file.getCanonicalPath()); + Log.d("SoLoader", V2.toString()); if ((i & 1) == 0 || (this.b & 2) == 0) { if ((this.b & 1) != 0) { boolean z2 = SoLoader.a; @@ -47,14 +47,14 @@ public class c extends l { try { FileInputStream fileInputStream = new FileInputStream(file2); try { - String[] l0 = d.l0(fileInputStream.getChannel()); + String[] i02 = d.i0(fileInputStream.getChannel()); if (z2) { Trace.endSection(); } - StringBuilder O = a.O("Loading lib dependencies: "); - O.append(Arrays.toString(l0)); - Log.d("SoLoader", O.toString()); - for (String str2 : l0) { + StringBuilder R = a.R("Loading lib dependencies: "); + R.append(Arrays.toString(i02)); + Log.d("SoLoader", R.toString()); + for (String str2 : i02) { if (!str2.startsWith(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN)) { SoLoader.d(str2, null, null, i | 1, threadPolicy); } @@ -100,6 +100,6 @@ public class c extends l { sb.append("[root = "); sb.append(str); sb.append(" flags = "); - return a.y(sb, this.b, ']'); + return a.z(sb, this.b, ']'); } } diff --git a/app/src/main/java/c/f/m/e.java b/app/src/main/java/c/f/m/e.java index 441dabcacd..634ba0860d 100644 --- a/app/src/main/java/c/f/m/e.java +++ b/app/src/main/java/c/f/m/e.java @@ -77,15 +77,15 @@ public final class e extends m { */ public b(e eVar, m mVar) throws IOException { boolean z2; - Context context = eVar.f546c; - StringBuilder O = c.d.b.a.a.O("/data/local/tmp/exopackage/"); - O.append(context.getPackageName()); - O.append("/native-libs/"); - File file = new File(O.toString()); + Context context = eVar.f520c; + StringBuilder R = c.d.b.a.a.R("/data/local/tmp/exopackage/"); + R.append(context.getPackageName()); + R.append("/native-libs/"); + File file = new File(R.toString()); ArrayList arrayList = new ArrayList(); LinkedHashSet linkedHashSet = new LinkedHashSet(); - String[] E0 = d.E0(); - for (String str : E0) { + String[] B0 = d.B0(); + for (String str : B0) { File file2 = new File(file, str); if (file2.isDirectory()) { linkedHashSet.add(str); diff --git a/app/src/main/java/c/f/m/f.java b/app/src/main/java/c/f/m/f.java index 713ea322b2..4a2c4735ce 100644 --- a/app/src/main/java/c/f/m/f.java +++ b/app/src/main/java/c/f/m/f.java @@ -103,7 +103,7 @@ public class f extends m { LinkedHashSet linkedHashSet = new LinkedHashSet(); HashMap hashMap = new HashMap(); Pattern compile = Pattern.compile(f.this.g); - String[] E0 = d.E0(); + String[] B0 = d.B0(); Enumeration entries = this.j.entries(); while (true) { i = 0; @@ -116,11 +116,11 @@ public class f extends m { String group = matcher.group(1); String group2 = matcher.group(2); while (true) { - if (i >= E0.length) { + if (i >= B0.length) { i = -1; break; } - if (E0[i] != null && group.equals(E0[i])) { + if (B0[i] != null && group.equals(B0[i])) { break; } i++; @@ -144,13 +144,13 @@ public class f extends m { b bVar2 = bVarArr[i3]; ZipEntry zipEntry2 = bVar2.k; String str2 = bVar2.i; - a.C0072a aVar = (a.C0072a) this; + a.C0071a aVar = (a.C0071a) this; String name = zipEntry2.getName(); if (str2.equals(a.this.d)) { a.this.d = null; str = String.format("allowing consideration of corrupted lib %s", str2); } else if ((aVar.n & 1) == 0) { - str = c.d.b.a.a.v("allowing consideration of ", name, ": self-extraction preferred"); + str = c.d.b.a.a.w("allowing consideration of ", name, ": self-extraction preferred"); } else { File file = new File(aVar.m, str2); if (!file.isFile()) { @@ -161,7 +161,7 @@ public class f extends m { if (length != size) { str = String.format("allowing consideration of %s: sysdir file length is %s, but the file is %s bytes long in the APK", file, Long.valueOf(length), Long.valueOf(size)); } else { - str = c.d.b.a.a.v("not allowing consideration of ", name, ": deferring to libdir"); + str = c.d.b.a.a.w("not allowing consideration of ", name, ": deferring to libdir"); z2 = false; Log.d("ApkSoSource", str); if (!z2) { diff --git a/app/src/main/java/c/f/m/j.java b/app/src/main/java/c/f/m/j.java index d046e7df1c..367d401573 100644 --- a/app/src/main/java/c/f/m/j.java +++ b/app/src/main/java/c/f/m/j.java @@ -12,7 +12,7 @@ public class j implements b { boolean z2; boolean contains; int i2 = ((i & 1) != 0 ? 16 : 0) | 0; - ReentrantReadWriteLock reentrantReadWriteLock = SoLoader.f2686c; + ReentrantReadWriteLock reentrantReadWriteLock = SoLoader.f2299c; reentrantReadWriteLock.readLock().lock(); try { if (SoLoader.d == null) { @@ -49,7 +49,7 @@ public class j implements b { continue; } catch (UnsatisfiedLinkError e) { int i3 = SoLoader.e; - SoLoader.f2686c.writeLock().lock(); + SoLoader.f2299c.writeLock().lock(); try { if (SoLoader.g == null || !SoLoader.g.c()) { z2 = false; @@ -58,21 +58,21 @@ public class j implements b { SoLoader.e = SoLoader.e + 1; z2 = true; } - SoLoader.f2686c.writeLock().unlock(); + SoLoader.f2299c.writeLock().unlock(); if (SoLoader.e == i3) { throw e; } } catch (IOException e2) { throw new RuntimeException(e2); } catch (Throwable th2) { - SoLoader.f2686c.writeLock().unlock(); + SoLoader.f2299c.writeLock().unlock(); throw th2; } } } while (z2); return z5; } finally { - SoLoader.f2686c.readLock().unlock(); + SoLoader.f2299c.readLock().unlock(); } } } diff --git a/app/src/main/java/c/f/m/m.java b/app/src/main/java/c/f/m/m.java index b7f5f3843b..f62742b3c7 100644 --- a/app/src/main/java/c/f/m/m.java +++ b/app/src/main/java/c/f/m/m.java @@ -20,7 +20,7 @@ import java.util.Objects; public abstract class m extends c { /* renamed from: c reason: collision with root package name */ - public final Context f546c; + public final Context f520c; public String d; public final Map e = new HashMap(); @@ -95,7 +95,7 @@ public abstract class m extends c { i++; } else { randomAccessFile2.close(); - c.c.a.a0.d.o0(m.this.a); + c.c.a.a0.d.l0(m.this.a); m.k(this.l, (byte) 1); try { return; @@ -186,7 +186,7 @@ public abstract class m extends c { public m(Context context, String str) { super(new File(context.getApplicationInfo().dataDir + AutocompleteViewModel.COMMAND_DISCOVER_TOKEN + str), 1); - this.f546c = context; + this.f520c = context; } /* JADX WARNING: Code restructure failed: missing block: B:10:?, code lost: @@ -237,15 +237,15 @@ public abstract class m extends c { Log.i("fb-UnpackingSoSource", "dso store is up-to-date: " + this.a); } if (gVar == null) { - StringBuilder O = c.d.b.a.a.O("not releasing dso store lock for "); - O.append(this.a); - O.append(" (syncer thread started)"); - Log.v("fb-UnpackingSoSource", O.toString()); + StringBuilder R = c.d.b.a.a.R("not releasing dso store lock for "); + R.append(this.a); + R.append(" (syncer thread started)"); + Log.v("fb-UnpackingSoSource", R.toString()); } } finally { - StringBuilder O2 = c.d.b.a.a.O(str); - O2.append(this.a); - Log.v(str2, O2.toString()); + StringBuilder R2 = c.d.b.a.a.R(str); + R2.append(this.a); + Log.v(str2, R2.toString()); gVar.close(); } } else { @@ -269,29 +269,29 @@ public abstract class m extends c { if (!z2) { File file = new File(this.a, str); Log.v("fb-UnpackingSoSource", "deleting unaccounted-for file " + file); - c.c.a.a0.d.d0(file); + c.c.a.a0.d.a0(file); } } } return; } - StringBuilder O = c.d.b.a.a.O("unable to list directory "); - O.append(this.a); - throw new IOException(O.toString()); + StringBuilder R = c.d.b.a.a.R("unable to list directory "); + R.append(this.a); + throw new IOException(R.toString()); } public final void e(d dVar, byte[] bArr) throws IOException { RandomAccessFile randomAccessFile; - StringBuilder O = c.d.b.a.a.O("extracting DSO "); - O.append(dVar.i.i); - Log.i("fb-UnpackingSoSource", O.toString()); + StringBuilder R = c.d.b.a.a.R("extracting DSO "); + R.append(dVar.i.i); + Log.i("fb-UnpackingSoSource", R.toString()); if (this.a.setWritable(true, true)) { File file = new File(this.a, dVar.i.i); try { randomAccessFile = new RandomAccessFile(file, "rw"); } catch (IOException e2) { Log.w("fb-UnpackingSoSource", "error overwriting " + file + " trying to delete and start over", e2); - c.c.a.a0.d.d0(file); + c.c.a.a0.d.a0(file); randomAccessFile = new RandomAccessFile(file, "rw"); } try { @@ -316,16 +316,16 @@ public abstract class m extends c { } throw new IOException("cannot make file executable: " + file); } catch (IOException e3) { - c.c.a.a0.d.d0(file); + c.c.a.a0.d.a0(file); throw e3; } catch (Throwable th) { randomAccessFile.close(); throw th; } } else { - StringBuilder O2 = c.d.b.a.a.O("cannot make directory writable for us: "); - O2.append(this.a); - throw new IOException(O2.toString()); + StringBuilder R2 = c.d.b.a.a.R("cannot make directory writable for us: "); + R2.append(this.a); + throw new IOException(R2.toString()); } } @@ -458,9 +458,9 @@ public abstract class m extends c { } a aVar = new a(file2, bArr, cVar, file, gVar); if ((i & 1) != 0) { - StringBuilder O = c.d.b.a.a.O("SoSync:"); - O.append(this.a.getName()); - new Thread(aVar, O.toString()).start(); + StringBuilder R = c.d.b.a.a.R("SoSync:"); + R.append(this.a.getName()); + new Thread(aVar, R.toString()).start(); } else { aVar.run(); } @@ -496,9 +496,9 @@ public abstract class m extends c { /* JADX WARNING: Removed duplicated region for block: B:16:0x0056 A[Catch:{ all -> 0x00c5 }] */ public final void j(byte b2, c cVar, e eVar) throws IOException { c cVar2; - StringBuilder O = c.d.b.a.a.O("regenerating DSO store "); - O.append(getClass().getName()); - Log.v("fb-UnpackingSoSource", O.toString()); + StringBuilder R = c.d.b.a.a.R("regenerating DSO store "); + R.append(getClass().getName()); + Log.v("fb-UnpackingSoSource", R.toString()); RandomAccessFile randomAccessFile = new RandomAccessFile(new File(this.a, "dso_manifest"), "rw"); if (b2 == 1) { try { diff --git a/app/src/main/java/c/g/a/a/i.java b/app/src/main/java/c/g/a/a/i.java index f62a3c008d..f64597aae9 100644 --- a/app/src/main/java/c/g/a/a/i.java +++ b/app/src/main/java/c/g/a/a/i.java @@ -31,11 +31,11 @@ public @interface i { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f547c; + public final int f521c; public b(int i, int i2) { this.b = i; - this.f547c = i2; + this.f521c = i2; } public boolean equals(Object obj) { @@ -46,15 +46,15 @@ public @interface i { return false; } b bVar = (b) obj; - return bVar.b == this.b && bVar.f547c == this.f547c; + return bVar.b == this.b && bVar.f521c == this.f521c; } public int hashCode() { - return this.f547c + this.b; + return this.f521c + this.b; } public String toString() { - return this == a ? "EMPTY" : String.format("(enabled=0x%x,disabled=0x%x)", Integer.valueOf(this.b), Integer.valueOf(this.f547c)); + return this == a ? "EMPTY" : String.format("(enabled=0x%x,disabled=0x%x)", Integer.valueOf(this.b), Integer.valueOf(this.f521c)); } } @@ -122,7 +122,7 @@ public @interface i { b bVar = this._features; Objects.requireNonNull(bVar); int ordinal = 1 << aVar.ordinal(); - if ((bVar.f547c & ordinal) != 0) { + if ((bVar.f521c & ordinal) != 0) { return Boolean.FALSE; } if ((ordinal & bVar.b) != 0) { @@ -235,15 +235,15 @@ public @interface i { } else { b bVar2 = dVar._features; if (bVar2 != null) { - int i2 = bVar2.f547c; + int i2 = bVar2.f521c; int i3 = bVar2.b; if (!(i2 == 0 && i3 == 0)) { int i4 = bVar.b; - if (i4 == 0 && bVar.f547c == 0) { + if (i4 == 0 && bVar.f521c == 0) { bVar = bVar2; } else { int i5 = ((~i2) & i4) | i3; - int i6 = bVar.f547c; + int i6 = bVar.f521c; int i7 = i2 | ((~i3) & i6); if (!(i5 == i4 && i7 == i6)) { bVar = new b(i5, i7); diff --git a/app/src/main/java/c/g/a/a/p.java b/app/src/main/java/c/g/a/a/p.java index ef0c9a04fb..4e063246b9 100644 --- a/app/src/main/java/c/g/a/a/p.java +++ b/app/src/main/java/c/g/a/a/p.java @@ -108,11 +108,11 @@ public @interface p { sb.append(this._contentInclusion); if (this._valueFilter != null) { sb.append(",valueFilter="); - c.d.b.a.a.f0(this._valueFilter, sb, ".class"); + c.d.b.a.a.i0(this._valueFilter, sb, ".class"); } if (this._contentFilter != null) { sb.append(",contentFilter="); - c.d.b.a.a.f0(this._contentFilter, sb, ".class"); + c.d.b.a.a.i0(this._contentFilter, sb, ".class"); } sb.append(')'); return sb.toString(); diff --git a/app/src/main/java/c/g/a/b/a.java b/app/src/main/java/c/g/a/b/a.java index 5456ccd26a..e9b1e2c0ed 100644 --- a/app/src/main/java/c/g/a/b/a.java +++ b/app/src/main/java/c/g/a/b/a.java @@ -8,7 +8,7 @@ public final class a implements Serializable { private final int _maxLineLength; public final String _name; private final char _paddingChar; - private final EnumC0073a _paddingReadBehaviour; + private final EnumC0072a _paddingReadBehaviour; private final boolean _writePadding; public final transient int[] i; public final transient char[] j; @@ -16,7 +16,7 @@ public final class a implements Serializable { /* compiled from: Base64Variant */ /* renamed from: c.g.a.b.a$a reason: collision with other inner class name */ - public enum EnumC0073a { + public enum EnumC0072a { PADDING_FORBIDDEN, PADDING_REQUIRED, PADDING_ALLOWED @@ -30,7 +30,7 @@ public final class a implements Serializable { this(aVar, str, z2, c2, aVar._paddingReadBehaviour, i); } - public a(a aVar, String str, boolean z2, char c2, EnumC0073a aVar2, int i) { + public a(a aVar, String str, boolean z2, char c2, EnumC0072a aVar2, int i) { int[] iArr = new int[128]; this.i = iArr; char[] cArr = new char[64]; @@ -72,10 +72,10 @@ public final class a implements Serializable { if (z2) { this.i[c2] = -2; } - this._paddingReadBehaviour = z2 ? EnumC0073a.PADDING_REQUIRED : EnumC0073a.PADDING_FORBIDDEN; + this._paddingReadBehaviour = z2 ? EnumC0072a.PADDING_REQUIRED : EnumC0072a.PADDING_FORBIDDEN; return; } - throw new IllegalArgumentException(c.d.b.a.a.n("Base64Alphabet length must be exactly 64 (was ", length, ")")); + throw new IllegalArgumentException(c.d.b.a.a.q("Base64Alphabet length must be exactly 64 (was ", length, ")")); } public String a(byte[] bArr) { @@ -181,11 +181,11 @@ public final class a implements Serializable { if (!aVar._name.equals(str)) { aVar = b.b; if (!aVar._name.equals(str)) { - aVar = b.f549c; + aVar = b.f523c; if (!aVar._name.equals(str)) { aVar = b.d; if (!aVar._name.equals(str)) { - throw new IllegalArgumentException(c.d.b.a.a.u("No Base64Variant with name ", str == null ? "" : c.d.b.a.a.v("'", str, "'"))); + throw new IllegalArgumentException(c.d.b.a.a.v("No Base64Variant with name ", str == null ? "" : c.d.b.a.a.w("'", str, "'"))); } } } diff --git a/app/src/main/java/c/g/a/b/b.java b/app/src/main/java/c/g/a/b/b.java index e25437f7f7..5915662d7b 100644 --- a/app/src/main/java/c/g/a/b/b.java +++ b/app/src/main/java/c/g/a/b/b.java @@ -8,14 +8,14 @@ public final class b { public static final a b; /* renamed from: c reason: collision with root package name */ - public static final a f549c; + public static final a f523c; public static final a d; static { a aVar = new a("MIME", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", true, '=', 76); a = aVar; b = new a(aVar, "MIME-NO-LINEFEEDS", Integer.MAX_VALUE); - f549c = new a(aVar, "PEM", true, '=', 64); + f523c = new a(aVar, "PEM", true, '=', 64); StringBuilder sb = new StringBuilder("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"); sb.setCharAt(sb.indexOf(BadgeDrawable.DEFAULT_EXCEED_MAX_BADGE_NUMBER_SUFFIX), '-'); sb.setCharAt(sb.indexOf(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN), '_'); diff --git a/app/src/main/java/c/g/a/b/d.java b/app/src/main/java/c/g/a/b/d.java index 0c0971e731..c8c0b75598 100644 --- a/app/src/main/java/c/g/a/b/d.java +++ b/app/src/main/java/c/g/a/b/d.java @@ -61,24 +61,24 @@ public abstract class d implements Closeable, Flushable { a2.b(m.CAN_WRITE_BINARY_NATIVELY); } - public abstract void B() throws IOException; + public abstract void A() throws IOException; public abstract void C(double d) throws IOException; - public abstract void G(float f) throws IOException; + public abstract void D(float f) throws IOException; public abstract void H(int i2) throws IOException; public abstract void I(long j2) throws IOException; - public abstract void K(String str) throws IOException; + public abstract void J(String str) throws IOException; - public abstract void M(BigDecimal bigDecimal) throws IOException; + public abstract void L(BigDecimal bigDecimal) throws IOException; public abstract void N(BigInteger bigInteger) throws IOException; - public void Q(short s) throws IOException { - H(s); + public void O(short s2) throws IOException { + H(s2); } public abstract void R(char c2) throws IOException; @@ -95,17 +95,17 @@ public abstract class d implements Closeable, Flushable { public abstract void W() throws IOException; + public void X(Object obj) throws IOException { + W(); + e(obj); + } + public final void a(int i2, int i3, int i4) { if (i3 < 0 || i3 + i4 > i2) { throw new IllegalArgumentException(String.format("invalid argument(s) (offset=%d, length=%d) for input array of %d element", Integer.valueOf(i3), Integer.valueOf(i4), Integer.valueOf(i2))); } } - public void a0(Object obj) throws IOException { - W(); - e(obj); - } - public abstract d b(a aVar); public void b0(Object obj, int i2) throws IOException { @@ -122,6 +122,11 @@ public abstract class d implements Closeable, Flushable { public abstract boolean d(a aVar); + public void d0(Object obj) throws IOException { + c0(); + e(obj); + } + public void e(Object obj) { g c2 = c(); if (c2 != null) { @@ -129,11 +134,6 @@ public abstract class d implements Closeable, Flushable { } } - public void e0(Object obj) throws IOException { - c0(); - e(obj); - } - public abstract int f(a aVar, InputStream inputStream, int i2) throws IOException; public void f0(Object obj, int i2) throws IOException { @@ -141,25 +141,25 @@ public abstract class d implements Closeable, Flushable { e(obj); } - public abstract void i0(k kVar) throws IOException; + public abstract void g0(k kVar) throws IOException; - public abstract void l0(String str) throws IOException; + public abstract void j0(String str) throws IOException; - public abstract void n0(char[] cArr, int i2, int i3) throws IOException; + public abstract void m0(char[] cArr, int i2, int i3) throws IOException; - public abstract void p(a aVar, byte[] bArr, int i2, int i3) throws IOException; + public abstract void n(a aVar, byte[] bArr, int i2, int i3) throws IOException; - public void r(byte[] bArr) throws IOException { - p(b.b, bArr, 0, bArr.length); + public void q(byte[] bArr) throws IOException { + n(b.b, bArr, 0, bArr.length); } public abstract void s(boolean z2) throws IOException; public abstract void t() throws IOException; - public abstract void w() throws IOException; + public abstract void u() throws IOException; public abstract void x(k kVar) throws IOException; - public abstract void z(String str) throws IOException; + public abstract void y(String str) throws IOException; } diff --git a/app/src/main/java/c/g/a/b/e.java b/app/src/main/java/c/g/a/b/e.java index d00574e2f5..1f88979b59 100644 --- a/app/src/main/java/c/g/a/b/e.java +++ b/app/src/main/java/c/g/a/b/e.java @@ -117,6 +117,6 @@ public class e implements Serializable { sb.append("; line: "); sb.append(this._lineNr); sb.append(", column: "); - return a.y(sb, this._columnNr, ']'); + return a.z(sb, this._columnNr, ']'); } } diff --git a/app/src/main/java/c/g/a/b/o/a.java b/app/src/main/java/c/g/a/b/o/a.java index c3233c8fde..8246d729c4 100644 --- a/app/src/main/java/c/g/a/b/o/a.java +++ b/app/src/main/java/c/g/a/b/o/a.java @@ -24,7 +24,7 @@ public abstract class a extends d { @Override // c.g.a.b.d public void V(String str) throws IOException { - v0("write raw value"); + t0("write raw value"); T(str); } @@ -46,7 +46,7 @@ public abstract class a extends d { } } - public String q0(BigDecimal bigDecimal) throws IOException { + public String o0(BigDecimal bigDecimal) throws IOException { if (!d.a.WRITE_BIGDECIMAL_AS_PLAIN.g(this.n)) { return bigDecimal.toString(); } @@ -57,9 +57,9 @@ public abstract class a extends d { throw new JsonGenerationException(String.format("Attempt to write plain `java.math.BigDecimal` (see JsonGenerator.Feature.WRITE_BIGDECIMAL_AS_PLAIN) with illegal scale (%d): needs to be between [-%d, %d]", Integer.valueOf(scale), 9999, 9999), this); } - public abstract void s0(int i, int i2); + public abstract void r0(int i, int i2); - public abstract void v0(String str) throws IOException; + public abstract void t0(String str) throws IOException; public d w0(int i, int i2) { int i3 = this.n; @@ -67,7 +67,7 @@ public abstract class a extends d { int i5 = i3 ^ i4; if (i5 != 0) { this.n = i4; - s0(i4, i5); + r0(i4, i5); } return this; } diff --git a/app/src/main/java/c/g/a/b/p/a.java b/app/src/main/java/c/g/a/b/p/a.java index b57eb62b13..4958c4e6d0 100644 --- a/app/src/main/java/c/g/a/b/p/a.java +++ b/app/src/main/java/c/g/a/b/p/a.java @@ -7,7 +7,7 @@ public final class a { public static final byte[] b; /* renamed from: c reason: collision with root package name */ - public static final int[] f555c; + public static final int[] f528c; public static final int[] d; public static final int[] e; public static final int[] f; @@ -15,8 +15,8 @@ public final class a { /* compiled from: CharTypes */ /* renamed from: c.g.a.b.p.a$a reason: collision with other inner class name */ - public static class C0074a { - public static final C0074a a = new C0074a(); + public static class C0073a { + public static final C0073a a = new C0073a(); public int[][] b = new int[128][]; } @@ -34,7 +34,7 @@ public final class a { } iArr[34] = 1; iArr[92] = 1; - f555c = iArr; + f528c = iArr; int length2 = iArr.length; int[] iArr2 = new int[length2]; System.arraycopy(iArr, 0, iArr2, 0, length2); diff --git a/app/src/main/java/c/g/a/b/p/c.java b/app/src/main/java/c/g/a/b/p/c.java index 6f590eee1b..ef203c5944 100644 --- a/app/src/main/java/c/g/a/b/p/c.java +++ b/app/src/main/java/c/g/a/b/p/c.java @@ -7,12 +7,12 @@ public class c { public final boolean b; /* renamed from: c reason: collision with root package name */ - public final a f556c; + public final a f529c; public byte[] d; public char[] e; public c(a aVar, Object obj, boolean z2) { - this.f556c = aVar; + this.f529c = aVar; this.a = obj; this.b = z2; } @@ -21,7 +21,7 @@ public class c { byte[] bArr2 = this.d; if (bArr == bArr2 || bArr.length >= bArr2.length) { this.d = null; - this.f556c.f566c.set(3, bArr); + this.f529c.f538c.set(3, bArr); return; } throw new IllegalArgumentException("Trying to release buffer smaller than original"); diff --git a/app/src/main/java/c/g/a/b/p/e.java b/app/src/main/java/c/g/a/b/p/e.java index 1d98062eac..831f306e44 100644 --- a/app/src/main/java/c/g/a/b/p/e.java +++ b/app/src/main/java/c/g/a/b/p/e.java @@ -118,7 +118,7 @@ public final class e { if (str2 != null) { cArr3 = str2.toCharArray(); } else { - int i4 = kVar.f567c; + int i4 = kVar.f539c; if (i4 >= 0) { cArr3 = k.a; } else { diff --git a/app/src/main/java/c/g/a/b/p/g.java b/app/src/main/java/c/g/a/b/p/g.java index 3d9d03b83c..5601af5205 100644 --- a/app/src/main/java/c/g/a/b/p/g.java +++ b/app/src/main/java/c/g/a/b/p/g.java @@ -5,7 +5,7 @@ public final class g { public static final String b = String.valueOf(Long.MIN_VALUE); /* renamed from: c reason: collision with root package name */ - public static final int[] f557c = new int[1000]; + public static final int[] f530c = new int[1000]; static { int i = 0; @@ -13,7 +13,7 @@ public final class g { for (int i3 = 0; i3 < 10; i3++) { int i4 = 0; while (i4 < 10) { - f557c[i] = ((i2 + 48) << 16) | ((i3 + 48) << 8) | (i4 + 48); + f530c[i] = ((i2 + 48) << 16) | ((i3 + 48) << 8) | (i4 + 48); i4++; i++; } @@ -22,7 +22,7 @@ public final class g { } public static int a(int i, char[] cArr, int i2) { - int i3 = f557c[i]; + int i3 = f530c[i]; int i4 = i2 + 1; cArr[i2] = (char) (i3 >> 16); int i5 = i4 + 1; @@ -33,7 +33,7 @@ public final class g { } public static int b(int i, char[] cArr, int i2) { - int i3 = f557c[i]; + int i3 = f530c[i]; if (i > 9) { if (i > 99) { cArr[i2] = (char) (i3 >> 16); @@ -51,7 +51,7 @@ public final class g { int i3 = i / 1000; int i4 = i - (i3 * 1000); int i5 = i3 / 1000; - int[] iArr = f557c; + int[] iArr = f530c; int i6 = iArr[i5]; int i7 = i2 + 1; cArr[i2] = (char) (i6 >> 16); @@ -145,7 +145,7 @@ public final class g { int i6 = i4 - (i5 * 1000); int i7 = i5 / 1000; int b2 = b(i7, cArr, i); - int[] iArr = f557c; + int[] iArr = f530c; int i8 = iArr[i5 - (i7 * 1000)]; int i9 = b2 + 1; cArr[b2] = (char) (i8 >> 16); @@ -165,7 +165,7 @@ public final class g { } else { int i15 = i4 / 1000; int i16 = i4 - (i15 * 1000); - int[] iArr2 = f557c; + int[] iArr2 = f530c; int i17 = iArr2[i15]; if (i15 > 9) { if (i15 > 99) { diff --git a/app/src/main/java/c/g/a/b/p/i.java b/app/src/main/java/c/g/a/b/p/i.java index b3555408e5..698e112746 100644 --- a/app/src/main/java/c/g/a/b/p/i.java +++ b/app/src/main/java/c/g/a/b/p/i.java @@ -51,7 +51,7 @@ public final class i extends Writer { public void write(int i) { k kVar = this.i; char c2 = (char) i; - if (kVar.f567c >= 0) { + if (kVar.f539c >= 0) { kVar.f(16); } kVar.i = null; diff --git a/app/src/main/java/c/g/a/b/q/a.java b/app/src/main/java/c/g/a/b/q/a.java index f561ee150a..476dd135a4 100644 --- a/app/src/main/java/c/g/a/b/q/a.java +++ b/app/src/main/java/c/g/a/b/q/a.java @@ -7,7 +7,7 @@ public class a { public String b; /* renamed from: c reason: collision with root package name */ - public String f558c; + public String f531c; public HashSet d; public a(Object obj) { diff --git a/app/src/main/java/c/g/a/b/q/b.java b/app/src/main/java/c/g/a/b/q/b.java index c3f6f3ed4b..aca29ea65a 100644 --- a/app/src/main/java/c/g/a/b/q/b.java +++ b/app/src/main/java/c/g/a/b/q/b.java @@ -11,17 +11,17 @@ import java.io.IOException; /* compiled from: JsonGeneratorImpl */ public abstract class b extends a { public static final int[] q = c.g.a.b.p.a.f; + public final c r; - /* renamed from: r reason: collision with root package name */ - public final c f559r; - public int[] s = q; + /* renamed from: s reason: collision with root package name */ + public int[] f532s = q; public int t; public k u = d.i; public boolean v; public b(c cVar, int i, i iVar) { super(i, iVar); - this.f559r = cVar; + this.r = cVar; if (d.a.ESCAPE_NON_ASCII.g(i)) { this.t = 127; } @@ -50,7 +50,7 @@ public abstract class b extends a { } @Override // c.g.a.b.o.a - public void s0(int i, int i2) { + public void r0(int i, int i2) { if ((a.l & i2) != 0) { this.o = d.a.WRITE_NUMBERS_AS_STRINGS.g(i); d.a aVar = d.a.ESCAPE_NON_ASCII; diff --git a/app/src/main/java/c/g/a/b/q/c.java b/app/src/main/java/c/g/a/b/q/c.java index c32f9aed7c..3d7d6097dd 100644 --- a/app/src/main/java/c/g/a/b/q/c.java +++ b/app/src/main/java/c/g/a/b/q/c.java @@ -10,7 +10,7 @@ import java.util.HashSet; public class c extends g { /* renamed from: c reason: collision with root package name */ - public final c f560c; + public final c f533c; public a d; public c e; public String f; @@ -19,14 +19,14 @@ public class c extends g { public c(int i, c cVar, a aVar) { this.a = i; - this.f560c = cVar; + this.f533c = cVar; this.d = aVar; this.b = -1; } public c(int i, c cVar, a aVar, Object obj) { this.a = i; - this.f560c = cVar; + this.f533c = cVar; this.d = aVar; this.b = -1; this.g = obj; @@ -99,7 +99,7 @@ public class c extends g { a aVar = this.d; if (aVar != null) { aVar.b = null; - aVar.f558c = null; + aVar.f531c = null; aVar.d = null; } return this; @@ -114,7 +114,7 @@ public class c extends g { a aVar = this.d; if (aVar != null) { aVar.b = null; - aVar.f558c = null; + aVar.f531c = null; aVar.d = null; } return this; @@ -135,20 +135,20 @@ public class c extends g { aVar.b = str; } else { if (!str.equals(str2)) { - String str3 = aVar.f558c; + String str3 = aVar.f531c; if (str3 == null) { - aVar.f558c = str; + aVar.f531c = str; } else if (!str.equals(str3)) { if (aVar.d == null) { HashSet hashSet = new HashSet<>(16); aVar.d = hashSet; hashSet.add(aVar.b); - aVar.d.add(aVar.f558c); + aVar.d.add(aVar.f531c); } z2 = !aVar.d.add(str); if (z2) { Object obj = aVar.a; - throw new JsonGenerationException(a.v("Duplicate field '", str, "'"), obj instanceof d ? (d) obj : null); + throw new JsonGenerationException(a.w("Duplicate field '", str, "'"), obj instanceof d ? (d) obj : null); } } } diff --git a/app/src/main/java/c/g/a/b/q/d.java b/app/src/main/java/c/g/a/b/q/d.java index 8ed9dc6ab0..81b70e1b17 100644 --- a/app/src/main/java/c/g/a/b/q/d.java +++ b/app/src/main/java/c/g/a/b/q/d.java @@ -19,38 +19,36 @@ import java.util.Arrays; import java.util.Objects; /* compiled from: WriterBasedJsonGenerator */ public class d extends b { - - /* renamed from: w reason: collision with root package name */ - public static final char[] f561w = ((char[]) a.a.clone()); + public static final char[] w = ((char[]) a.a.clone()); public int A; public int B; public int C; public char[] D; /* renamed from: x reason: collision with root package name */ - public final Writer f562x; + public final Writer f534x; /* renamed from: y reason: collision with root package name */ - public char f563y; + public char f535y; /* renamed from: z reason: collision with root package name */ - public char[] f564z; + public char[] f536z; public d(c cVar, int i, i iVar, Writer writer, char c2) { super(cVar, i, iVar); int[] iArr; - this.f562x = writer; + this.f534x = writer; if (cVar.e == null) { - char[] a = cVar.f556c.a(1, 0); + char[] a = cVar.f529c.a(1, 0); cVar.e = a; - this.f564z = a; + this.f536z = a; this.C = a.length; - this.f563y = c2; + this.f535y = c2; if (c2 != '\"') { if (c2 == '\"') { iArr = a.f; } else { - a.C0074a aVar = a.C0074a.a; + a.C0073a aVar = a.C0073a.a; int[] iArr2 = aVar.b[c2]; if (iArr2 == null) { iArr2 = Arrays.copyOf(a.f, 128); @@ -61,7 +59,7 @@ public class d extends b { } iArr = iArr2; } - this.s = iArr; + this.f532s = iArr; return; } return; @@ -69,13 +67,19 @@ public class d extends b { throw new IllegalStateException("Trying to call same allocXxx() method second time"); } + @Override // c.g.a.b.d + public void A() throws IOException { + t0("write a null"); + H0(); + } + public final void A0(char c2, int i) throws IOException, JsonGenerationException { int i2; if (i >= 0) { if (this.B + 2 > this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i3 = this.B; int i4 = i3 + 1; this.B = i4; @@ -87,7 +91,7 @@ public class d extends b { B0(); } int i5 = this.B; - char[] cArr2 = this.f564z; + char[] cArr2 = this.f536z; int i6 = i5 + 1; cArr2[i5] = '\\'; int i7 = i6 + 1; @@ -95,7 +99,7 @@ public class d extends b { if (c2 > 255) { int i8 = 255 & (c2 >> '\b'); int i9 = i7 + 1; - char[] cArr3 = f561w; + char[] cArr3 = w; cArr2[i7] = cArr3[i8 >> 4]; i2 = i9 + 1; cArr2[i9] = cArr3[i8 & 15]; @@ -107,7 +111,7 @@ public class d extends b { cArr2[i10] = '0'; } int i11 = i2 + 1; - char[] cArr4 = f561w; + char[] cArr4 = w; cArr2[i2] = cArr4[c2 >> 4]; cArr2[i11] = cArr4[c2 & 15]; this.B = i11 + 1; @@ -117,12 +121,6 @@ public class d extends b { } } - @Override // c.g.a.b.d - public void B() throws IOException { - v0("write a null"); - H0(); - } - public void B0() throws IOException { int i = this.B; int i2 = this.A; @@ -130,7 +128,7 @@ public class d extends b { if (i3 > 0) { this.A = 0; this.B = 0; - this.f562x.write(this.f564z, i2, i3); + this.f534x.write(this.f536z, i2, i3); } } @@ -139,12 +137,12 @@ public class d extends b { if (!this.o) { String str = g.a; if (!(Double.isNaN(d) || Double.isInfinite(d)) || !d(d.a.QUOTE_NON_NUMERIC_NUMBERS)) { - v0("write a number"); + t0("write a number"); T(String.valueOf(d)); return; } } - l0(String.valueOf(d)); + j0(String.valueOf(d)); } public final int C0(char[] cArr, int i, int i2, char c2, int i3) throws IOException, JsonGenerationException { @@ -156,7 +154,7 @@ public class d extends b { cArr2 = z0(); } cArr2[1] = (char) i3; - this.f562x.write(cArr2, 0, 2); + this.f534x.write(cArr2, 0, 2); return i; } int i5 = i - 2; @@ -175,18 +173,18 @@ public class d extends b { if (c2 > 255) { int i6 = (c2 >> '\b') & 255; int i7 = c2 & 255; - char[] cArr4 = f561w; + char[] cArr4 = w; cArr3[10] = cArr4[i6 >> 4]; cArr3[11] = cArr4[i6 & 15]; cArr3[12] = cArr4[i7 >> 4]; cArr3[13] = cArr4[i7 & 15]; - this.f562x.write(cArr3, 8, 6); + this.f534x.write(cArr3, 8, 6); return i; } - char[] cArr5 = f561w; + char[] cArr5 = w; cArr3[6] = cArr5[c2 >> 4]; cArr3[7] = cArr5[c2 & 15]; - this.f562x.write(cArr3, 2, 6); + this.f534x.write(cArr3, 2, 6); return i; } else { int i8 = i - 6; @@ -197,7 +195,7 @@ public class d extends b { if (c2 > 255) { int i11 = (c2 >> '\b') & 255; int i12 = i10 + 1; - char[] cArr6 = f561w; + char[] cArr6 = w; cArr[i10] = cArr6[i11 >> 4]; i4 = i12 + 1; cArr[i12] = cArr6[i11 & 15]; @@ -209,13 +207,26 @@ public class d extends b { cArr[i13] = '0'; } int i14 = i4 + 1; - char[] cArr7 = f561w; + char[] cArr7 = w; cArr[i4] = cArr7[c2 >> 4]; cArr[i14] = cArr7[c2 & 15]; return i14 - 5; } } + @Override // c.g.a.b.d + public void D(float f) throws IOException { + if (!this.o) { + String str = g.a; + if (!(Float.isNaN(f) || Float.isInfinite(f)) || !d(d.a.QUOTE_NON_NUMERIC_NUMBERS)) { + t0("write a number"); + T(String.valueOf(f)); + return; + } + } + j0(String.valueOf(f)); + } + public final void D0(char c2, int i) throws IOException, JsonGenerationException { int i2; if (i >= 0) { @@ -223,7 +234,7 @@ public class d extends b { if (i3 >= 2) { int i4 = i3 - 2; this.A = i4; - char[] cArr = this.f564z; + char[] cArr = this.f536z; cArr[i4] = '\\'; cArr[i4 + 1] = (char) i; return; @@ -234,11 +245,11 @@ public class d extends b { } this.A = this.B; cArr2[1] = (char) i; - this.f562x.write(cArr2, 0, 2); + this.f534x.write(cArr2, 0, 2); } else if (i != -2) { int i5 = this.B; if (i5 >= 6) { - char[] cArr3 = this.f564z; + char[] cArr3 = this.f536z; int i6 = i5 - 6; this.A = i6; cArr3[i6] = '\\'; @@ -247,7 +258,7 @@ public class d extends b { if (c2 > 255) { int i8 = (c2 >> '\b') & 255; int i9 = i7 + 1; - char[] cArr4 = f561w; + char[] cArr4 = w; cArr3[i9] = cArr4[i8 >> 4]; i2 = i9 + 1; cArr3[i2] = cArr4[i8 & 15]; @@ -259,7 +270,7 @@ public class d extends b { cArr3[i2] = '0'; } int i11 = i2 + 1; - char[] cArr5 = f561w; + char[] cArr5 = w; cArr3[i11] = cArr5[c2 >> 4]; cArr3[i11 + 1] = cArr5[c2 & 15]; return; @@ -272,18 +283,18 @@ public class d extends b { if (c2 > 255) { int i12 = (c2 >> '\b') & 255; int i13 = c2 & 255; - char[] cArr7 = f561w; + char[] cArr7 = w; cArr6[10] = cArr7[i12 >> 4]; cArr6[11] = cArr7[i12 & 15]; cArr6[12] = cArr7[i13 >> 4]; cArr6[13] = cArr7[i13 & 15]; - this.f562x.write(cArr6, 8, 6); + this.f534x.write(cArr6, 8, 6); return; } - char[] cArr8 = f561w; + char[] cArr8 = w; cArr6[6] = cArr8[c2 >> 4]; cArr6[7] = cArr8[c2 & 15]; - this.f562x.write(cArr6, 2, 6); + this.f534x.write(cArr6, 2, 6); } else { Objects.requireNonNull(null); throw null; @@ -336,11 +347,11 @@ public class d extends b { int i8 = i7 + 1; i4 = i8 + 1; i6 += 3; - int b = aVar.b((((bArr[i7] & 255) | (bArr[i4] << 8)) << 8) | (bArr[i8] & 255), this.f564z, this.B); + int b = aVar.b((((bArr[i7] & 255) | (bArr[i4] << 8)) << 8) | (bArr[i8] & 255), this.f536z, this.B); this.B = b; d--; if (d <= 0) { - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i9 = b + 1; this.B = i9; cArr[b] = '\\'; @@ -362,23 +373,10 @@ public class d extends b { i2 = 1; } int i11 = i6 + i2; - this.B = aVar.c(i10, i2, this.f564z, this.B); + this.B = aVar.c(i10, i2, this.f536z, this.B); return i11; } - @Override // c.g.a.b.d - public void G(float f) throws IOException { - if (!this.o) { - String str = g.a; - if (!(Float.isNaN(f) || Float.isInfinite(f)) || !d(d.a.QUOTE_NON_NUMERIC_NUMBERS)) { - v0("write a number"); - T(String.valueOf(f)); - return; - } - } - l0(String.valueOf(f)); - } - public final int G0(c.g.a.b.a aVar, InputStream inputStream, byte[] bArr, int i) throws IOException, JsonGenerationException { int E0; int i2 = this.C - 6; @@ -407,11 +405,11 @@ public class d extends b { int i8 = i7 + 1; i5 = i8 + 1; i -= 3; - int b = aVar.b((((bArr[i7] & 255) | (bArr[i5] << 8)) << 8) | (bArr[i8] & 255), this.f564z, this.B); + int b = aVar.b((((bArr[i7] & 255) | (bArr[i5] << 8)) << 8) | (bArr[i8] & 255), this.f536z, this.B); this.B = b; d--; if (d <= 0) { - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i9 = b + 1; this.B = i9; cArr[b] = '\\'; @@ -432,33 +430,33 @@ public class d extends b { } else { i3 = 1; } - this.B = aVar.c(i10, i3, this.f564z, this.B); + this.B = aVar.c(i10, i3, this.f536z, this.B); return i - i3; } @Override // c.g.a.b.d public void H(int i) throws IOException { - v0("write a number"); + t0("write a number"); if (this.o) { if (this.B + 13 >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i2 = this.B; int i3 = i2 + 1; this.B = i3; - cArr[i2] = this.f563y; + cArr[i2] = this.f535y; int d = g.d(i, cArr, i3); this.B = d; - char[] cArr2 = this.f564z; + char[] cArr2 = this.f536z; this.B = d + 1; - cArr2[d] = this.f563y; + cArr2[d] = this.f535y; return; } if (this.B + 11 >= this.C) { B0(); } - this.B = g.d(i, this.f564z, this.B); + this.B = g.d(i, this.f536z, this.B); } public final void H0() throws IOException { @@ -466,7 +464,7 @@ public class d extends b { B0(); } int i = this.B; - char[] cArr = this.f564z; + char[] cArr = this.f536z; cArr[i] = 'n'; int i2 = i + 1; cArr[i2] = 'u'; @@ -479,45 +477,57 @@ public class d extends b { @Override // c.g.a.b.d public void I(long j) throws IOException { - v0("write a number"); + t0("write a number"); if (this.o) { if (this.B + 23 >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; int i2 = i + 1; this.B = i2; - cArr[i] = this.f563y; + cArr[i] = this.f535y; int e = g.e(j, cArr, i2); this.B = e; - char[] cArr2 = this.f564z; + char[] cArr2 = this.f536z; this.B = e + 1; - cArr2[e] = this.f563y; + cArr2[e] = this.f535y; return; } if (this.B + 21 >= this.C) { B0(); } - this.B = g.e(j, this.f564z, this.B); + this.B = g.e(j, this.f536z, this.B); } public final void I0(String str) throws IOException { if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; - cArr[i] = this.f563y; + cArr[i] = this.f535y; T(str); if (this.B >= this.C) { B0(); } - char[] cArr2 = this.f564z; + char[] cArr2 = this.f536z; int i2 = this.B; this.B = i2 + 1; - cArr2[i2] = this.f563y; + cArr2[i2] = this.f535y; + } + + @Override // c.g.a.b.d + public void J(String str) throws IOException { + t0("write a number"); + if (str == null) { + H0(); + } else if (this.o) { + I0(str); + } else { + T(str); + } } /* JADX WARNING: Code restructure failed: missing block: B:67:0x010a, code lost: @@ -528,10 +538,10 @@ public class d extends b { if (r4 <= 0) goto L_0x0114; */ /* JADX WARNING: Code restructure failed: missing block: B:69:0x010f, code lost: - r18.f562x.write(r3, r5, r4); + r18.f534x.write(r3, r5, r4); */ /* JADX WARNING: Code restructure failed: missing block: B:70:0x0114, code lost: - r3 = r18.f564z; + r3 = r18.f536z; r4 = r18.B; r18.B = r4 + 1; r3 = r3[r4]; @@ -561,17 +571,17 @@ public class d extends b { i7 = length2 - i6; } int i8 = i6 + i7; - str.getChars(i6, i8, this.f564z, 0); + str.getChars(i6, i8, this.f536z, 0); int i9 = this.t; if (i9 != 0) { - int[] iArr = this.s; + int[] iArr = this.f532s; int min = Math.min(iArr.length, i9 + 1); int i10 = 0; int i11 = 0; int i12 = 0; while (i10 < i7) { while (true) { - cArr3 = this.f564z; + cArr3 = this.f536z; c4 = cArr3[i10]; if (c4 >= min) { if (c4 > i9) { @@ -592,24 +602,24 @@ public class d extends b { i4 = i11; int i13 = i10 - i12; if (i13 > 0) { - this.f562x.write(cArr3, i12, i13); + this.f534x.write(cArr3, i12, i13); if (i10 >= i7) { break; } } int i14 = i10 + 1; - i12 = C0(this.f564z, i14, i7, c4, i4); + i12 = C0(this.f536z, i14, i7, c4, i4); i11 = i4; i10 = i14; } } else { - int[] iArr2 = this.s; + int[] iArr2 = this.f532s; int length3 = iArr2.length; int i15 = 0; int i16 = 0; while (i15 < i7) { do { - cArr2 = this.f564z; + cArr2 = this.f536z; c3 = cArr2[i15]; if (c3 < length3 && iArr2[c3] != 0) { break; @@ -618,13 +628,13 @@ public class d extends b { } while (i15 < i7); int i17 = i15 - i16; if (i17 > 0) { - this.f562x.write(cArr2, i16, i17); + this.f534x.write(cArr2, i16, i17); if (i15 >= i7) { break; } } int i18 = i15 + 1; - i16 = C0(this.f564z, i18, i7, c3, iArr2[c3]); + i16 = C0(this.f536z, i18, i7, c3, iArr2[c3]); i15 = i18; } } @@ -638,15 +648,15 @@ public class d extends b { if (this.B + length > i5) { B0(); } - str.getChars(0, length, this.f564z, this.B); + str.getChars(0, length, this.f536z, this.B); int i19 = this.t; if (i19 != 0) { int i20 = this.B + length; - int[] iArr3 = this.s; + int[] iArr3 = this.f532s; int min2 = Math.min(iArr3.length, i19 + 1); while (this.B < i20) { while (true) { - cArr = this.f564z; + cArr = this.f536z; i = this.B; c2 = cArr[i]; if (c2 < min2) { @@ -673,7 +683,7 @@ public class d extends b { int i21 = this.A; int i22 = i - i21; if (i22 > 0) { - this.f562x.write(cArr, i21, i22); + this.f534x.write(cArr, i21, i22); } this.B++; D0(c2, i3); @@ -681,11 +691,11 @@ public class d extends b { return; } int i23 = this.B + length; - int[] iArr4 = this.s; + int[] iArr4 = this.f532s; int length4 = iArr4.length; while (this.B < i23) { while (true) { - char[] cArr4 = this.f564z; + char[] cArr4 = this.f536z; int i24 = this.B; char c5 = cArr4[i24]; if (c5 < length4 && iArr4[c5] != 0) { @@ -702,32 +712,20 @@ public class d extends b { } @Override // c.g.a.b.d - public void K(String str) throws IOException { - v0("write a number"); - if (str == null) { - H0(); - } else if (this.o) { - I0(str); - } else { - T(str); - } - } - - @Override // c.g.a.b.d - public void M(BigDecimal bigDecimal) throws IOException { - v0("write a number"); + public void L(BigDecimal bigDecimal) throws IOException { + t0("write a number"); if (bigDecimal == null) { H0(); } else if (this.o) { - I0(q0(bigDecimal)); + I0(o0(bigDecimal)); } else { - T(q0(bigDecimal)); + T(o0(bigDecimal)); } } @Override // c.g.a.b.d public void N(BigInteger bigInteger) throws IOException { - v0("write a number"); + t0("write a number"); if (bigInteger == null) { H0(); } else if (this.o) { @@ -738,28 +736,28 @@ public class d extends b { } @Override // c.g.a.b.d - public void Q(short s) throws IOException { - v0("write a number"); + public void O(short s2) throws IOException { + t0("write a number"); if (this.o) { if (this.B + 8 >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; int i2 = i + 1; this.B = i2; - cArr[i] = this.f563y; - int d = g.d(s, cArr, i2); + cArr[i] = this.f535y; + int d = g.d(s2, cArr, i2); this.B = d; - char[] cArr2 = this.f564z; + char[] cArr2 = this.f536z; this.B = d + 1; - cArr2[d] = this.f563y; + cArr2[d] = this.f535y; return; } if (this.B + 6 >= this.C) { B0(); } - this.B = g.d(s, this.f564z, this.B); + this.B = g.d(s2, this.f536z, this.B); } @Override // c.g.a.b.d @@ -767,7 +765,7 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = c2; @@ -775,7 +773,7 @@ public class d extends b { @Override // c.g.a.b.d public void S(k kVar) throws IOException { - int b = kVar.b(this.f564z, this.B); + int b = kVar.b(this.f536z, this.B); if (b < 0) { T(kVar.getValue()); } else { @@ -792,14 +790,14 @@ public class d extends b { i = this.C - this.B; } if (i >= length) { - str.getChars(0, length, this.f564z, this.B); + str.getChars(0, length, this.f536z, this.B); this.B += length; return; } int i2 = this.C; int i3 = this.B; int i4 = i2 - i3; - str.getChars(0, i4, this.f564z, i3); + str.getChars(0, i4, this.f536z, i3); this.B += i4; B0(); int length2 = str.length() - i4; @@ -807,14 +805,14 @@ public class d extends b { int i5 = this.C; if (length2 > i5) { int i6 = i4 + i5; - str.getChars(i4, i6, this.f564z, 0); + str.getChars(i4, i6, this.f536z, 0); this.A = 0; this.B = i5; B0(); length2 -= i5; i4 = i6; } else { - str.getChars(i4, i4 + length2, this.f564z, 0); + str.getChars(i4, i4 + length2, this.f536z, 0); this.A = 0; this.B = length2; return; @@ -828,17 +826,17 @@ public class d extends b { if (i2 > this.C - this.B) { B0(); } - System.arraycopy(cArr, i, this.f564z, this.B, i2); + System.arraycopy(cArr, i, this.f536z, this.B, i2); this.B += i2; return; } B0(); - this.f562x.write(cArr, i, i2); + this.f534x.write(cArr, i, i2); } @Override // c.g.a.b.d public void W() throws IOException { - v0("start an array"); + t0("start an array"); this.p = this.p.f(); j jVar = this.k; if (jVar != null) { @@ -848,15 +846,15 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = '['; } @Override // c.g.a.b.d - public void a0(Object obj) throws IOException { - v0("start an array"); + public void X(Object obj) throws IOException { + t0("start an array"); this.p = this.p.g(obj); j jVar = this.k; if (jVar != null) { @@ -866,7 +864,7 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = '['; @@ -874,7 +872,7 @@ public class d extends b { @Override // c.g.a.b.d public void b0(Object obj, int i) throws IOException { - v0("start an array"); + t0("start an array"); this.p = this.p.g(obj); j jVar = this.k; if (jVar != null) { @@ -884,7 +882,7 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i2 = this.B; this.B = i2 + 1; cArr[i2] = '['; @@ -892,7 +890,7 @@ public class d extends b { @Override // c.g.a.b.d public void c0() throws IOException { - v0("start an object"); + t0("start an object"); this.p = this.p.h(); j jVar = this.k; if (jVar != null) { @@ -902,7 +900,7 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = '{'; @@ -910,14 +908,14 @@ public class d extends b { @Override // c.g.a.b.d, java.io.Closeable, java.lang.AutoCloseable public void close() throws IOException { - if (this.f564z != null && d(d.a.AUTO_CLOSE_JSON_CONTENT)) { + if (this.f536z != null && d(d.a.AUTO_CLOSE_JSON_CONTENT)) { while (true) { c cVar = this.p; if (!cVar.b()) { if (!cVar.c()) { break; } - w(); + u(); } else { t(); } @@ -926,22 +924,22 @@ public class d extends b { B0(); this.A = 0; this.B = 0; - if (this.f562x != null) { - if (this.f559r.b || d(d.a.AUTO_CLOSE_TARGET)) { - this.f562x.close(); + if (this.f534x != null) { + if (this.r.b || d(d.a.AUTO_CLOSE_TARGET)) { + this.f534x.close(); } else if (d(d.a.FLUSH_PASSED_TO_STREAM)) { - this.f562x.flush(); + this.f534x.flush(); } } - char[] cArr = this.f564z; + char[] cArr = this.f536z; if (cArr != null) { - this.f564z = null; - c cVar2 = this.f559r; + this.f536z = null; + c cVar2 = this.r; Objects.requireNonNull(cVar2); char[] cArr2 = cVar2.e; if (cArr == cArr2 || cArr.length >= cArr2.length) { cVar2.e = null; - cVar2.f556c.d.set(1, cArr); + cVar2.f529c.d.set(1, cArr); return; } throw new IllegalArgumentException("Trying to release buffer smaller than original"); @@ -949,8 +947,8 @@ public class d extends b { } @Override // c.g.a.b.d - public void e0(Object obj) throws IOException { - v0("start an object"); + public void d0(Object obj) throws IOException { + t0("start an object"); this.p = this.p.i(obj); j jVar = this.k; if (jVar != null) { @@ -960,7 +958,7 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = '{'; @@ -968,23 +966,23 @@ public class d extends b { @Override // c.g.a.b.d public int f(c.g.a.b.a aVar, InputStream inputStream, int i) throws IOException, JsonGenerationException { - v0("write a binary value"); + t0("write a binary value"); if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i2 = this.B; this.B = i2 + 1; - cArr[i2] = this.f563y; - c cVar = this.f559r; + cArr[i2] = this.f535y; + c cVar = this.r; if (cVar.d == null) { - c.g.a.b.t.a aVar2 = cVar.f556c; + c.g.a.b.t.a aVar2 = cVar.f529c; Objects.requireNonNull(aVar2); int i3 = c.g.a.b.t.a.a[3]; if (i3 <= 0) { i3 = 0; } - byte[] andSet = aVar2.f566c.getAndSet(3, null); + byte[] andSet = aVar2.f538c.getAndSet(3, null); if (andSet == null || andSet.length < i3) { andSet = new byte[i3]; } @@ -993,7 +991,7 @@ public class d extends b { try { i = F0(aVar, inputStream, andSet); } catch (Throwable th) { - this.f559r.a(andSet); + this.r.a(andSet); throw th; } } else { @@ -1002,14 +1000,14 @@ public class d extends b { throw new JsonGenerationException("Too few bytes available: missing " + G0 + " bytes (out of " + i + ")", this); } } - this.f559r.a(andSet); + this.r.a(andSet); if (this.B >= this.C) { B0(); } - char[] cArr2 = this.f564z; + char[] cArr2 = this.f536z; int i4 = this.B; this.B = i4 + 1; - cArr2[i4] = this.f563y; + cArr2[i4] = this.f535y; return i; } throw new IllegalStateException("Trying to call same allocXxx() method second time"); @@ -1018,22 +1016,22 @@ public class d extends b { @Override // java.io.Flushable public void flush() throws IOException { B0(); - if (this.f562x != null && d(d.a.FLUSH_PASSED_TO_STREAM)) { - this.f562x.flush(); + if (this.f534x != null && d(d.a.FLUSH_PASSED_TO_STREAM)) { + this.f534x.flush(); } } @Override // c.g.a.b.d - public void i0(k kVar) throws IOException { - v0("write a string"); + public void g0(k kVar) throws IOException { + t0("write a string"); if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; int i2 = i + 1; this.B = i2; - cArr[i] = this.f563y; + cArr[i] = this.f535y; int c2 = kVar.c(cArr, i2); if (c2 < 0) { char[] a = kVar.a(); @@ -1042,19 +1040,19 @@ public class d extends b { if (length > this.C - this.B) { B0(); } - System.arraycopy(a, 0, this.f564z, this.B, length); + System.arraycopy(a, 0, this.f536z, this.B, length); this.B += length; } else { B0(); - this.f562x.write(a, 0, length); + this.f534x.write(a, 0, length); } if (this.B >= this.C) { B0(); } - char[] cArr2 = this.f564z; + char[] cArr2 = this.f536z; int i3 = this.B; this.B = i3 + 1; - cArr2[i3] = this.f563y; + cArr2[i3] = this.f535y; return; } int i4 = this.B + c2; @@ -1062,15 +1060,15 @@ public class d extends b { if (i4 >= this.C) { B0(); } - char[] cArr3 = this.f564z; + char[] cArr3 = this.f536z; int i5 = this.B; this.B = i5 + 1; - cArr3[i5] = this.f563y; + cArr3[i5] = this.f535y; } @Override // c.g.a.b.d - public void l0(String str) throws IOException { - v0("write a string"); + public void j0(String str) throws IOException { + t0("write a string"); if (str == null) { H0(); return; @@ -1078,35 +1076,35 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; - cArr[i] = this.f563y; + cArr[i] = this.f535y; J0(str); if (this.B >= this.C) { B0(); } - char[] cArr2 = this.f564z; + char[] cArr2 = this.f536z; int i2 = this.B; this.B = i2 + 1; - cArr2[i2] = this.f563y; + cArr2[i2] = this.f535y; } @Override // c.g.a.b.d - public void n0(char[] cArr, int i, int i2) throws IOException { + public void m0(char[] cArr, int i, int i2) throws IOException { char c2; - v0("write a string"); + t0("write a string"); if (this.B >= this.C) { B0(); } - char[] cArr2 = this.f564z; + char[] cArr2 = this.f536z; int i3 = this.B; this.B = i3 + 1; - cArr2[i3] = this.f563y; + cArr2[i3] = this.f535y; int i4 = this.t; if (i4 != 0) { int i5 = i2 + i; - int[] iArr = this.s; + int[] iArr = this.f532s; int min = Math.min(iArr.length, i4 + 1); int i6 = 0; while (i < i5) { @@ -1135,12 +1133,12 @@ public class d extends b { B0(); } if (i8 > 0) { - System.arraycopy(cArr, i, this.f564z, this.B, i8); + System.arraycopy(cArr, i, this.f536z, this.B, i8); this.B += i8; } } else { B0(); - this.f562x.write(cArr, i, i8); + this.f534x.write(cArr, i, i8); } if (i7 >= i5) { break; @@ -1150,7 +1148,7 @@ public class d extends b { } } else { int i9 = i2 + i; - int[] iArr2 = this.s; + int[] iArr2 = this.f532s; int length = iArr2.length; while (i < i9) { int i10 = i; @@ -1167,12 +1165,12 @@ public class d extends b { B0(); } if (i11 > 0) { - System.arraycopy(cArr, i, this.f564z, this.B, i11); + System.arraycopy(cArr, i, this.f536z, this.B, i11); this.B += i11; } } else { B0(); - this.f562x.write(cArr, i, i11); + this.f534x.write(cArr, i, i11); } if (i10 >= i9) { break; @@ -1185,22 +1183,22 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr3 = this.f564z; + char[] cArr3 = this.f536z; int i12 = this.B; this.B = i12 + 1; - cArr3[i12] = this.f563y; + cArr3[i12] = this.f535y; } @Override // c.g.a.b.d - public void p(c.g.a.b.a aVar, byte[] bArr, int i, int i2) throws IOException, JsonGenerationException { - v0("write a binary value"); + public void n(c.g.a.b.a aVar, byte[] bArr, int i, int i2) throws IOException, JsonGenerationException { + t0("write a binary value"); if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i3 = this.B; this.B = i3 + 1; - cArr[i3] = this.f563y; + cArr[i3] = this.f535y; int i4 = i2 + i; int i5 = i4 - 3; int i6 = this.C - 6; @@ -1212,11 +1210,11 @@ public class d extends b { int i7 = i + 1; int i8 = i7 + 1; int i9 = i8 + 1; - int b = aVar.b((((bArr[i] << 8) | (bArr[i7] & 255)) << 8) | (bArr[i8] & 255), this.f564z, this.B); + int b = aVar.b((((bArr[i] << 8) | (bArr[i7] & 255)) << 8) | (bArr[i8] & 255), this.f536z, this.B); this.B = b; d--; if (d <= 0) { - char[] cArr2 = this.f564z; + char[] cArr2 = this.f536z; int i10 = b + 1; this.B = i10; cArr2[b] = '\\'; @@ -1236,26 +1234,26 @@ public class d extends b { if (i11 == 2) { i13 |= (bArr[i12] & 255) << 8; } - this.B = aVar.c(i13, i11, this.f564z, this.B); + this.B = aVar.c(i13, i11, this.f536z, this.B); } if (this.B >= this.C) { B0(); } - char[] cArr3 = this.f564z; + char[] cArr3 = this.f536z; int i14 = this.B; this.B = i14 + 1; - cArr3[i14] = this.f563y; + cArr3[i14] = this.f535y; } @Override // c.g.a.b.d public void s(boolean z2) throws IOException { int i; - v0("write a boolean value"); + t0("write a boolean value"); if (this.B + 5 >= this.C) { B0(); } int i2 = this.B; - char[] cArr = this.f564z; + char[] cArr = this.f536z; if (z2) { cArr[i2] = 't'; int i3 = i2 + 1; @@ -1288,23 +1286,23 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = ']'; } c cVar = this.p; cVar.g = null; - this.p = cVar.f560c; + this.p = cVar.f533c; return; } - StringBuilder O = c.d.b.a.a.O("Current context not Array but "); - O.append(this.p.e()); - throw new JsonGenerationException(O.toString(), this); + StringBuilder R = c.d.b.a.a.R("Current context not Array but "); + R.append(this.p.e()); + throw new JsonGenerationException(R.toString(), this); } @Override // c.g.a.b.o.a - public final void v0(String str) throws IOException { + public final void t0(String str) throws IOException { char c2; int m = this.p.m(); j jVar = this.k; @@ -1329,7 +1327,7 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = c2; @@ -1355,7 +1353,7 @@ public class d extends b { } @Override // c.g.a.b.d - public void w() throws IOException { + public void u() throws IOException { if (this.p.c()) { j jVar = this.k; if (jVar != null) { @@ -1364,19 +1362,19 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = '}'; } c cVar = this.p; cVar.g = null; - this.p = cVar.f560c; + this.p = cVar.f533c; return; } - StringBuilder O = c.d.b.a.a.O("Current context not Object but "); - O.append(this.p.e()); - throw new JsonGenerationException(O.toString(), this); + StringBuilder R = c.d.b.a.a.R("Current context not Object but "); + R.append(this.p.e()); + throw new JsonGenerationException(R.toString(), this); } @Override // c.g.a.b.d @@ -1399,25 +1397,25 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; - cArr[i] = this.f563y; + cArr[i] = this.f535y; U(a, 0, a.length); if (this.B >= this.C) { B0(); } - char[] cArr2 = this.f564z; + char[] cArr2 = this.f536z; int i2 = this.B; this.B = i2 + 1; - cArr2[i2] = this.f563y; + cArr2[i2] = this.f535y; return; } if (this.B + 1 >= this.C) { B0(); } if (z2) { - char[] cArr3 = this.f564z; + char[] cArr3 = this.f536z; int i3 = this.B; this.B = i3 + 1; cArr3[i3] = ','; @@ -1427,11 +1425,11 @@ public class d extends b { U(a2, 0, a2.length); return; } - char[] cArr4 = this.f564z; + char[] cArr4 = this.f536z; int i4 = this.B; int i5 = i4 + 1; this.B = i5; - cArr4[i4] = this.f563y; + cArr4[i4] = this.f535y; int c2 = kVar.c(cArr4, i5); if (c2 < 0) { char[] a3 = kVar.a(); @@ -1439,10 +1437,10 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr5 = this.f564z; + char[] cArr5 = this.f536z; int i6 = this.B; this.B = i6 + 1; - cArr5[i6] = this.f563y; + cArr5[i6] = this.f535y; return; } int i7 = this.B + c2; @@ -1450,17 +1448,17 @@ public class d extends b { if (i7 >= this.C) { B0(); } - char[] cArr6 = this.f564z; + char[] cArr6 = this.f536z; int i8 = this.B; this.B = i8 + 1; - cArr6[i8] = this.f563y; + cArr6[i8] = this.f535y; return; } throw new JsonGenerationException("Can not write a field name, expecting a value", this); } @Override // c.g.a.b.d - public void z(String str) throws IOException { + public void y(String str) throws IOException { int l = this.p.l(str); if (l != 4) { boolean z2 = l == 1; @@ -1478,25 +1476,25 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f564z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; - cArr[i] = this.f563y; + cArr[i] = this.f535y; J0(str); if (this.B >= this.C) { B0(); } - char[] cArr2 = this.f564z; + char[] cArr2 = this.f536z; int i2 = this.B; this.B = i2 + 1; - cArr2[i2] = this.f563y; + cArr2[i2] = this.f535y; return; } if (this.B + 1 >= this.C) { B0(); } if (z2) { - char[] cArr3 = this.f564z; + char[] cArr3 = this.f536z; int i3 = this.B; this.B = i3 + 1; cArr3[i3] = ','; @@ -1505,18 +1503,18 @@ public class d extends b { J0(str); return; } - char[] cArr4 = this.f564z; + char[] cArr4 = this.f536z; int i4 = this.B; this.B = i4 + 1; - cArr4[i4] = this.f563y; + cArr4[i4] = this.f535y; J0(str); if (this.B >= this.C) { B0(); } - char[] cArr5 = this.f564z; + char[] cArr5 = this.f536z; int i5 = this.B; this.B = i5 + 1; - cArr5[i5] = this.f563y; + cArr5[i5] = this.f535y; return; } throw new JsonGenerationException("Can not write a field name, expecting a value", this); diff --git a/app/src/main/java/c/g/a/b/r/a.java b/app/src/main/java/c/g/a/b/r/a.java index e018d12711..9979abef97 100644 --- a/app/src/main/java/c/g/a/b/r/a.java +++ b/app/src/main/java/c/g/a/b/r/a.java @@ -6,8 +6,8 @@ public final class a { /* compiled from: ByteQuadsCanonicalizer */ /* renamed from: c.g.a.b.r.a$a reason: collision with other inner class name */ - public static final class C0075a { - public C0075a(int i, int i2, int i3, int[] iArr, String[] strArr, int i4, int i5) { + public static final class C0074a { + public C0074a(int i, int i2, int i3, int[] iArr, String[] strArr, int i4, int i5) { } } @@ -26,7 +26,7 @@ public final class a { } int i5 = i3 << 3; int i6 = i3 >> 2; - new AtomicReference(new C0075a(i3, 0, i6 < 64 ? 4 : i6 <= 256 ? 5 : i6 <= 1024 ? 6 : 7, new int[i5], new String[(i3 << 1)], i5 - i3, i5)); + new AtomicReference(new C0074a(i3, 0, i6 < 64 ? 4 : i6 <= 256 ? 5 : i6 <= 1024 ? 6 : 7, new int[i5], new String[(i3 << 1)], i5 - i3, i5)); } public static a a() { diff --git a/app/src/main/java/c/g/a/b/r/b.java b/app/src/main/java/c/g/a/b/r/b.java index 41fce05bdf..e8b09b0d41 100644 --- a/app/src/main/java/c/g/a/b/r/b.java +++ b/app/src/main/java/c/g/a/b/r/b.java @@ -10,13 +10,13 @@ public final class b { /* compiled from: CharsToNameCanonicalizer */ /* renamed from: c.g.a.b.r.b$b reason: collision with other inner class name */ - public static final class C0076b { - public C0076b(int i, int i2, String[] strArr, a[] aVarArr) { + public static final class C0075b { + public C0075b(int i, int i2, String[] strArr, a[] aVarArr) { } } public b(int i) { - new AtomicReference(new C0076b(0, 0, new String[64], new a[32])); + new AtomicReference(new C0075b(0, 0, new String[64], new a[32])); } public static b a() { diff --git a/app/src/main/java/c/g/a/b/s/b.java b/app/src/main/java/c/g/a/b/s/b.java index 0057fdde7a..57568c99ce 100644 --- a/app/src/main/java/c/g/a/b/s/b.java +++ b/app/src/main/java/c/g/a/b/s/b.java @@ -7,7 +7,7 @@ public class b { public Class b; /* renamed from: c reason: collision with root package name */ - public Object f565c = null; + public Object f537c = null; public String d; public int e; public h f; diff --git a/app/src/main/java/c/g/a/b/t/a.java b/app/src/main/java/c/g/a/b/t/a.java index 440afa95f1..b7d15d74ae 100644 --- a/app/src/main/java/c/g/a/b/t/a.java +++ b/app/src/main/java/c/g/a/b/t/a.java @@ -8,7 +8,7 @@ public class a { public static final int[] b = {SendUtils.MAX_MESSAGE_CHARACTER_COUNT_PREMIUM, SendUtils.MAX_MESSAGE_CHARACTER_COUNT_PREMIUM, 200, 200}; /* renamed from: c reason: collision with root package name */ - public final AtomicReferenceArray f566c = new AtomicReferenceArray<>(4); + public final AtomicReferenceArray f538c = new AtomicReferenceArray<>(4); public final AtomicReferenceArray d = new AtomicReferenceArray<>(4); public char[] a(int i, int i2) { diff --git a/app/src/main/java/c/g/a/b/t/d.java b/app/src/main/java/c/g/a/b/t/d.java index b80a52d487..f21f80adbd 100644 --- a/app/src/main/java/c/g/a/b/t/d.java +++ b/app/src/main/java/c/g/a/b/t/d.java @@ -51,10 +51,10 @@ public class d implements j, e, Serializable { this._rootSeparator = jVar; j jVar2 = j.b; this._separators = jVar2; - StringBuilder O = c.d.b.a.a.O(" "); - O.append(jVar2.c()); - O.append(" "); - this._objectFieldValueSeparatorWithSpaces = O.toString(); + StringBuilder R = c.d.b.a.a.R(" "); + R.append(jVar2.c()); + R.append(" "); + this._objectFieldValueSeparatorWithSpaces = R.toString(); } public d(d dVar) { @@ -101,7 +101,7 @@ public class d implements j, e, Serializable { if (d.class == d.class) { return new d(this); } - throw new IllegalStateException(c.d.b.a.a.j(d.class, c.d.b.a.a.O("Failed `createInstance()`: "), " does not override method; it has to")); + throw new IllegalStateException(c.d.b.a.a.n(d.class, c.d.b.a.a.R("Failed `createInstance()`: "), " does not override method; it has to")); } @Override // c.g.a.b.j diff --git a/app/src/main/java/c/g/a/b/t/k.java b/app/src/main/java/c/g/a/b/t/k.java index 1eb287aed0..8b3be79b29 100644 --- a/app/src/main/java/c/g/a/b/t/k.java +++ b/app/src/main/java/c/g/a/b/t/k.java @@ -7,7 +7,7 @@ public final class k { public final a b; /* renamed from: c reason: collision with root package name */ - public int f567c; + public int f539c; public ArrayList d; public boolean e; public int f; @@ -24,11 +24,11 @@ public final class k { this.b = null; this.g = cArr; this.h = cArr.length; - this.f567c = -1; + this.f539c = -1; } public void a(String str, int i, int i2) { - if (this.f567c >= 0) { + if (this.f539c >= 0) { f(i2); } this.i = null; @@ -64,7 +64,7 @@ public final class k { } public void b(char[] cArr, int i, int i2) { - if (this.f567c >= 0) { + if (this.f539c >= 0) { f(i2); } this.i = null; @@ -99,7 +99,7 @@ public final class k { this.i = new String(this.j); } else { String str = ""; - if (this.f567c >= 0) { + if (this.f539c >= 0) { this.i = str; return str; } @@ -168,7 +168,7 @@ public final class k { } public final void f(int i) { - this.f567c = -1; + this.f539c = -1; int i2 = i + 0; char[] cArr = this.g; if (cArr == null || i2 > cArr.length) { diff --git a/app/src/main/java/c/g/a/c/b0/e.java b/app/src/main/java/c/g/a/c/b0/e.java index b6ca7fb9ce..f6b54b1919 100644 --- a/app/src/main/java/c/g/a/c/b0/e.java +++ b/app/src/main/java/c/g/a/c/b0/e.java @@ -18,7 +18,7 @@ public class e extends p0 { @Override // c.g.a.c.n public void f(Object obj, d dVar, x xVar) throws IOException { - dVar.l0(((Path) obj).toUri().toString()); + dVar.j0(((Path) obj).toUri().toString()); } @Override // c.g.a.c.g0.u.p0, c.g.a.c.n @@ -27,7 +27,7 @@ public class e extends p0 { b d = gVar.d(path, h.VALUE_STRING); d.b = Path.class; b e = gVar.e(dVar, d); - dVar.l0(path.toUri().toString()); + dVar.j0(path.toUri().toString()); gVar.f(dVar, e); } } diff --git a/app/src/main/java/c/g/a/c/b0/f.java b/app/src/main/java/c/g/a/c/b0/f.java index 924d7be6c3..8721b2bc0a 100644 --- a/app/src/main/java/c/g/a/c/b0/f.java +++ b/app/src/main/java/c/g/a/c/b0/f.java @@ -90,15 +90,15 @@ public class f implements Serializable { try { return d.g(cls, false); } catch (Throwable th) { - StringBuilder O = a.O("Failed to create instance of `"); - O.append(cls.getName()); - O.append("` for handling values of type "); - O.append(d.n(jVar)); - O.append(", problem: ("); - O.append(th.getClass().getName()); - O.append(") "); - O.append(th.getMessage()); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Failed to create instance of `"); + R.append(cls.getName()); + R.append("` for handling values of type "); + R.append(d.n(jVar)); + R.append(", problem: ("); + R.append(th.getClass().getName()); + R.append(") "); + R.append(th.getMessage()); + throw new IllegalStateException(R.toString()); } } @@ -106,13 +106,13 @@ public class f implements Serializable { try { return b(Class.forName(str), jVar); } catch (Throwable th) { - StringBuilder U = a.U("Failed to find class `", str, "` for handling values of type "); - U.append(d.n(jVar)); - U.append(", problem: ("); - U.append(th.getClass().getName()); - U.append(") "); - U.append(th.getMessage()); - throw new IllegalStateException(U.toString()); + StringBuilder W = a.W("Failed to find class `", str, "` for handling values of type "); + W.append(d.n(jVar)); + W.append(", problem: ("); + W.append(th.getClass().getName()); + W.append(") "); + W.append(th.getMessage()); + throw new IllegalStateException(W.toString()); } } } diff --git a/app/src/main/java/c/g/a/c/c0/a.java b/app/src/main/java/c/g/a/c/c0/a.java index 0b67299ede..8f913e8270 100644 --- a/app/src/main/java/c/g/a/c/c0/a.java +++ b/app/src/main/java/c/g/a/c/c0/a.java @@ -6,7 +6,7 @@ public abstract class a { /* compiled from: AccessorNamingStrategy */ /* renamed from: c.g.a.c.c0.a$a reason: collision with other inner class name */ - public static abstract class AbstractC0077a implements Serializable { + public static abstract class AbstractC0076a implements Serializable { private static final long serialVersionUID = 1; } diff --git a/app/src/main/java/c/g/a/c/c0/a0.java b/app/src/main/java/c/g/a/c/c0/a0.java index 973f212272..83caf9c941 100644 --- a/app/src/main/java/c/g/a/c/c0/a0.java +++ b/app/src/main/java/c/g/a/c/c0/a0.java @@ -11,7 +11,7 @@ public class a0 { public final t b; /* renamed from: c reason: collision with root package name */ - public final Class> f568c; + public final Class> f540c; public final Class d; public final Class e; public final boolean f; @@ -19,20 +19,20 @@ public class a0 { public a0(t tVar, Class cls, Class> cls2, boolean z2, Class cls3) { this.b = tVar; this.e = cls; - this.f568c = cls2; + this.f540c = cls2; this.f = z2; this.d = cls3 == null ? n0.class : cls3; } public String toString() { - StringBuilder O = a.O("ObjectIdInfo: propName="); - O.append(this.b); - O.append(", scope="); - O.append(d.u(this.e)); - O.append(", generatorType="); - O.append(d.u(this.f568c)); - O.append(", alwaysAsId="); - O.append(this.f); - return O.toString(); + StringBuilder R = a.R("ObjectIdInfo: propName="); + R.append(this.b); + R.append(", scope="); + R.append(d.u(this.e)); + R.append(", generatorType="); + R.append(d.u(this.f540c)); + R.append(", alwaysAsId="); + R.append(this.f); + return R.toString(); } } diff --git a/app/src/main/java/c/g/a/c/c0/b0.java b/app/src/main/java/c/g/a/c/c0/b0.java index 9b65f13b33..b77e8649df 100644 --- a/app/src/main/java/c/g/a/c/c0/b0.java +++ b/app/src/main/java/c/g/a/c/c0/b0.java @@ -32,7 +32,7 @@ public class b0 { public final a b; /* renamed from: c reason: collision with root package name */ - public final boolean f569c; + public final boolean f541c; public final j d; public final c e; public final g0 f; @@ -47,15 +47,15 @@ public class b0 { public LinkedList o; public LinkedList p; public LinkedList q; + public LinkedList r; - /* renamed from: r reason: collision with root package name */ - public LinkedList f570r; - public HashSet s; + /* renamed from: s reason: collision with root package name */ + public HashSet f542s; public LinkedHashMap t; public b0(l lVar, boolean z2, j jVar, c cVar, a aVar) { this.a = lVar; - this.f569c = z2; + this.f541c = z2; this.d = jVar; this.e = cVar; if (lVar.p()) { @@ -93,7 +93,7 @@ public class b0 { String str = n._simpleName; c0Var = map.get(str); if (c0Var == null) { - c0Var = new c0(this.a, this.g, this.f569c, n); + c0Var = new c0(this.a, this.g, this.f541c, n); map.put(str, c0Var); } } @@ -108,11 +108,11 @@ public class b0 { } public void c(String str) { - if (!this.f569c && str != null) { - if (this.s == null) { - this.s = new HashSet<>(); + if (!this.f541c && str != null) { + if (this.f542s == null) { + this.f542s = new HashSet<>(); } - this.s.add(str); + this.f542s.add(str); } } @@ -139,7 +139,7 @@ public class b0 { if (c0Var != null) { return c0Var; } - c0 c0Var2 = new c0(this.a, this.g, this.f569c, t.a(str)); + c0 c0Var2 = new c0(this.a, this.g, this.f541c, t.a(str)); map.put(str, c0Var2); return c0Var2; } @@ -195,7 +195,7 @@ public class b0 { boolean z12; LinkedHashMap linkedHashMap = new LinkedHashMap<>(); c.g.a.c.b bVar = this.g; - boolean z13 = !this.f569c && !this.a.q(p.ALLOW_FINAL_FIELDS_AS_MUTATORS); + boolean z13 = !this.f541c && !this.a.q(p.ALLOW_FINAL_FIELDS_AS_MUTATORS); boolean q = this.a.q(p.PROPAGATE_TRANSIENT_MARKER); for (g gVar : this.e.g()) { Boolean bool = Boolean.TRUE; @@ -206,10 +206,10 @@ public class b0 { this.q.add(gVar); } if (bool.equals(bVar.W(gVar))) { - if (this.f570r == null) { - this.f570r = new LinkedList<>(); + if (this.r == null) { + this.r = new LinkedList<>(); } - this.f570r.add(gVar); + this.r.add(gVar); } else { boolean equals = bool.equals(bVar.S(gVar)); boolean equals2 = bool.equals(bVar.U(gVar)); @@ -241,7 +241,7 @@ public class b0 { } this.l.put(E, e); } - t o = this.f569c ? bVar.o(gVar) : bVar.n(gVar); + t o = this.f541c ? bVar.o(gVar) : bVar.n(gVar); boolean z14 = o != null; if (!z14 || !o.d()) { tVar3 = o; @@ -295,10 +295,10 @@ public class b0 { } this.q.add(next); } else if (bool2.equals(bVar2.W(next))) { - if (this.f570r == null) { - this.f570r = new LinkedList<>(); + if (this.r == null) { + this.r = new LinkedList<>(); } - this.f570r.add(next); + this.r.add(next); } else { t o3 = bVar2.o(next); boolean z16 = o3 != null; @@ -341,7 +341,7 @@ public class b0 { String b = b(i); boolean Z2 = bVar2.Z(next); c0 f3 = f(linkedHashMap, b); - f3.f574r = new c0.d<>(next, f3.f574r, tVar, z6, z7, Z2); + f3.r = new c0.d<>(next, f3.r, tVar, z6, z7, Z2); } } } else if (o2 == 1) { @@ -379,7 +379,7 @@ public class b0 { String b2 = b(i2); boolean Z3 = bVar3.Z(next); c0 f4 = f(linkedHashMap, b2); - f4.s = new c0.d<>(next, f4.s, tVar2, z8, z9, Z3); + f4.f545s = new c0.d<>(next, f4.f545s, tVar2, z8, z9, Z3); } else if (o2 == 2 && Boolean.TRUE.equals(this.g.U(next))) { if (this.o == null) { this.o = new LinkedList<>(); @@ -388,7 +388,7 @@ public class b0 { } } c cVar = this.e; - Boolean bool3 = cVar.f572w; + Boolean bool3 = cVar.w; if (bool3 == null) { Class cls = cVar.k; Annotation[] annotationArr = d.a; @@ -396,12 +396,12 @@ public class b0 { if ((d.t(cls) ? null : cls.getEnclosingClass()) != null) { z5 = true; bool3 = Boolean.valueOf(z5); - cVar.f572w = bool3; + cVar.w = bool3; } } z5 = false; bool3 = Boolean.valueOf(z5); - cVar.f572w = bool3; + cVar.w = bool3; } if (!bool3.booleanValue() && this.h) { for (e eVar : this.e.f().b) { @@ -413,7 +413,7 @@ public class b0 { a(linkedHashMap, eVar.m(i4)); } } - for (j jVar : this.e.f().f573c) { + for (j jVar : this.e.f().f544c) { if (this.k == null) { this.k = new LinkedList<>(); } @@ -426,16 +426,16 @@ public class b0 { Iterator it2 = linkedHashMap.values().iterator(); while (it2.hasNext()) { c0 next2 = it2.next(); - if (!(next2.z(next2.p) || next2.z(next2.f574r) || next2.z(next2.s) || next2.z(next2.q))) { + if (!(next2.z(next2.p) || next2.z(next2.r) || next2.z(next2.f545s) || next2.z(next2.q))) { it2.remove(); - } else if (next2.y(next2.p) || next2.y(next2.f574r) || next2.y(next2.s) || next2.y(next2.q)) { + } else if (next2.y(next2.p) || next2.y(next2.r) || next2.y(next2.f545s) || next2.y(next2.q)) { if (!next2.u()) { it2.remove(); c(next2.p()); } else { next2.p = next2.G(next2.p); - next2.f574r = next2.G(next2.f574r); - next2.s = next2.G(next2.s); + next2.r = next2.G(next2.r); + next2.f545s = next2.G(next2.f545s); next2.q = next2.G(next2.q); if (!next2.f()) { c(next2.p()); @@ -445,10 +445,10 @@ public class b0 { } boolean q2 = this.a.q(p.INFER_PROPERTY_MUTATORS); for (c0 c0Var2 : linkedHashMap.values()) { - b0 b0Var = this.f569c ? null : this; + b0 b0Var = this.f541c ? null : this; u.a aVar6 = u.a.AUTO; c.g.a.c.b bVar4 = c0Var2.m; - if (bVar4 == null || (!c0Var2.k ? ((dVar = c0Var2.q) == null || (aVar = bVar4.t(dVar.a)) == null || aVar == aVar6) && (((dVar2 = c0Var2.s) == null || (aVar = c0Var2.m.t(dVar2.a)) == null || aVar == aVar6) && (((dVar3 = c0Var2.p) == null || (aVar = c0Var2.m.t(dVar3.a)) == null || aVar == aVar6) && ((dVar4 = c0Var2.f574r) == null || (aVar = c0Var2.m.t(dVar4.a)) == null || aVar == aVar6))) : ((dVar5 = c0Var2.f574r) == null || (aVar = bVar4.t(dVar5.a)) == null || aVar == aVar6) && (((dVar6 = c0Var2.p) == null || (aVar = c0Var2.m.t(dVar6.a)) == null || aVar == aVar6) && (((dVar7 = c0Var2.q) == null || (aVar = c0Var2.m.t(dVar7.a)) == null || aVar == aVar6) && ((dVar8 = c0Var2.s) == null || (aVar = c0Var2.m.t(dVar8.a)) == null || aVar == aVar6))))) { + if (bVar4 == null || (!c0Var2.k ? ((dVar = c0Var2.q) == null || (aVar = bVar4.t(dVar.a)) == null || aVar == aVar6) && (((dVar2 = c0Var2.f545s) == null || (aVar = c0Var2.m.t(dVar2.a)) == null || aVar == aVar6) && (((dVar3 = c0Var2.p) == null || (aVar = c0Var2.m.t(dVar3.a)) == null || aVar == aVar6) && ((dVar4 = c0Var2.r) == null || (aVar = c0Var2.m.t(dVar4.a)) == null || aVar == aVar6))) : ((dVar5 = c0Var2.r) == null || (aVar = bVar4.t(dVar5.a)) == null || aVar == aVar6) && (((dVar6 = c0Var2.p) == null || (aVar = c0Var2.m.t(dVar6.a)) == null || aVar == aVar6) && (((dVar7 = c0Var2.q) == null || (aVar = c0Var2.m.t(dVar7.a)) == null || aVar == aVar6) && ((dVar8 = c0Var2.f545s) == null || (aVar = c0Var2.m.t(dVar8.a)) == null || aVar == aVar6))))) { aVar = null; } if (aVar != null) { @@ -462,22 +462,22 @@ public class b0 { b0Var.c(tVar4._simpleName); } } - c0Var2.s = null; + c0Var2.f545s = null; c0Var2.q = null; if (!c0Var2.k) { c0Var2.p = null; } } else if (ordinal == 2) { - c0Var2.f574r = null; + c0Var2.r = null; if (c0Var2.k) { c0Var2.p = null; } } else if (ordinal != 3) { - c0Var2.f574r = c0Var2.H(c0Var2.f574r); + c0Var2.r = c0Var2.H(c0Var2.r); c0Var2.q = c0Var2.H(c0Var2.q); - if (!q2 || c0Var2.f574r == null) { + if (!q2 || c0Var2.r == null) { c0Var2.p = c0Var2.H(c0Var2.p); - c0Var2.s = c0Var2.H(c0Var2.s); + c0Var2.f545s = c0Var2.H(c0Var2.f545s); } } } @@ -496,8 +496,8 @@ public class b0 { } else { HashMap hashMap = new HashMap(); value.B(L, hashMap, value.p); - value.B(L, hashMap, value.f574r); - value.B(L, hashMap, value.s); + value.B(L, hashMap, value.r); + value.B(L, hashMap, value.f545s); value.B(L, hashMap, value.q); linkedList.addAll(hashMap.values()); } @@ -514,7 +514,7 @@ public class b0 { } else { c0Var4.K(c0Var3); } - if (g(c0Var3, this.k) && (hashSet = this.s) != null) { + if (g(c0Var3, this.k) && (hashSet = this.f542s) != null) { hashSet.remove(p); } } @@ -530,28 +530,28 @@ public class b0 { } } for (c0 c0Var5 : linkedHashMap.values()) { - if (this.f569c) { - c0.d dVar9 = c0Var5.f574r; + if (this.f541c) { + c0.d dVar9 = c0Var5.r; if (dVar9 != null) { - c0Var5.f574r = c0Var5.A(c0Var5.f574r, c0Var5.F(0, dVar9, c0Var5.p, c0Var5.q, c0Var5.s)); + c0Var5.r = c0Var5.A(c0Var5.r, c0Var5.F(0, dVar9, c0Var5.p, c0Var5.q, c0Var5.f545s)); } else { c0.d dVar10 = c0Var5.p; if (dVar10 != null) { - c0Var5.p = c0Var5.A(c0Var5.p, c0Var5.F(0, dVar10, c0Var5.q, c0Var5.s)); + c0Var5.p = c0Var5.A(c0Var5.p, c0Var5.F(0, dVar10, c0Var5.q, c0Var5.f545s)); } } } else { c0.d dVar11 = c0Var5.q; if (dVar11 != null) { - c0Var5.q = c0Var5.A(c0Var5.q, c0Var5.F(0, dVar11, c0Var5.s, c0Var5.p, c0Var5.f574r)); + c0Var5.q = c0Var5.A(c0Var5.q, c0Var5.F(0, dVar11, c0Var5.f545s, c0Var5.p, c0Var5.r)); } else { - c0.d dVar12 = c0Var5.s; + c0.d dVar12 = c0Var5.f545s; if (dVar12 != null) { - c0Var5.s = c0Var5.A(c0Var5.s, c0Var5.F(0, dVar12, c0Var5.p, c0Var5.f574r)); + c0Var5.f545s = c0Var5.A(c0Var5.f545s, c0Var5.F(0, dVar12, c0Var5.p, c0Var5.r)); } else { c0.d dVar13 = c0Var5.p; if (dVar13 != null) { - c0Var5.p = c0Var5.A(c0Var5.p, c0Var5.F(0, dVar13, c0Var5.f574r)); + c0Var5.p = c0Var5.A(c0Var5.p, c0Var5.F(0, dVar13, c0Var5.r)); } } } @@ -559,8 +559,8 @@ public class b0 { } for (c0 c0Var6 : linkedHashMap.values()) { c0Var6.p = c0Var6.J(c0Var6.p); - c0Var6.f574r = c0Var6.J(c0Var6.f574r); - c0Var6.s = c0Var6.J(c0Var6.s); + c0Var6.r = c0Var6.J(c0Var6.r); + c0Var6.f545s = c0Var6.J(c0Var6.f545s); c0Var6.q = c0Var6.J(c0Var6.q); } Object p2 = this.g.p(this.e); @@ -576,22 +576,22 @@ public class b0 { Objects.requireNonNull(this.a._base); uVar = (c.g.a.c.u) d.g(cls2, this.a.b()); } else { - throw new IllegalStateException(a.j(cls2, a.O("AnnotationIntrospector returned Class "), "; expected Class")); + throw new IllegalStateException(a.n(cls2, a.R("AnnotationIntrospector returned Class "), "; expected Class")); } } else { - StringBuilder O = a.O("AnnotationIntrospector returned PropertyNamingStrategy definition of type "); - O.append(p2.getClass().getName()); - O.append("; expected type PropertyNamingStrategy or Class instead"); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("AnnotationIntrospector returned PropertyNamingStrategy definition of type "); + R.append(p2.getClass().getName()); + R.append("; expected type PropertyNamingStrategy or Class instead"); + throw new IllegalStateException(R.toString()); } if (uVar != null) { c0[] c0VarArr = (c0[]) linkedHashMap.values().toArray(new c0[linkedHashMap.size()]); linkedHashMap.clear(); for (c0 c0Var7 : c0VarArr) { t tVar5 = c0Var7.n; - if (!(c0Var7.w(c0Var7.p) || c0Var7.w(c0Var7.f574r) || c0Var7.w(c0Var7.s) || c0Var7.w(c0Var7.q)) || this.a.q(p.ALLOW_EXPLICIT_PROPERTY_RENAMING)) { - if (this.f569c) { - if (c0Var7.f574r != null) { + if (!(c0Var7.w(c0Var7.p) || c0Var7.w(c0Var7.r) || c0Var7.w(c0Var7.f545s) || c0Var7.w(c0Var7.q)) || this.a.q(p.ALLOW_EXPLICIT_PROPERTY_RENAMING)) { + if (this.f541c) { + if (c0Var7.r != null) { str = uVar.c(this.a, c0Var7.n(), tVar5._simpleName); } else if (c0Var7.p != null) { str = uVar.b(this.a, c0Var7.l(), tVar5._simpleName); @@ -615,13 +615,13 @@ public class b0 { } g(c0Var7, this.k); } else { - if (c0Var7.s != null) { + if (c0Var7.f545s != null) { str = uVar.d(this.a, c0Var7.s(), tVar5._simpleName); } else if (c0Var7.q != null) { str = uVar.a(this.a, c0Var7.k(), tVar5._simpleName); } else if (c0Var7.p != null) { str = uVar.b(this.a, c0Var7.l(), tVar5._simpleName); - } else if (c0Var7.f574r != null) { + } else if (c0Var7.r != null) { str = uVar.c(this.a, c0Var7.n(), tVar5._simpleName); } if (str != null) { @@ -753,10 +753,10 @@ public class b0 { if (objArr.length > 0) { str = String.format(str, objArr); } - StringBuilder O = a.O("Problem with definition of "); - O.append(this.e); - O.append(": "); - O.append(str); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Problem with definition of "); + R.append(this.e); + R.append(": "); + R.append(str); + throw new IllegalArgumentException(R.toString()); } } diff --git a/app/src/main/java/c/g/a/c/c0/c.java b/app/src/main/java/c/g/a/c/c0/c.java index 13ff09c7a8..0eb241c1bf 100644 --- a/app/src/main/java/c/g/a/c/c0/c.java +++ b/app/src/main/java/c/g/a/c/c0/c.java @@ -32,16 +32,14 @@ public final class c extends b implements e0 { public final n o; public final t.a p; public final Class q; + public final boolean r; - /* renamed from: r reason: collision with root package name */ - public final boolean f571r; - public final c.g.a.c.i0.a s; + /* renamed from: s reason: collision with root package name */ + public final c.g.a.c.i0.a f543s; public a t; public l u; public List v; - - /* renamed from: w reason: collision with root package name */ - public transient Boolean f572w; + public transient Boolean w; /* compiled from: AnnotatedClass */ public static final class a { @@ -49,12 +47,12 @@ public final class c extends b implements e0 { public final List b; /* renamed from: c reason: collision with root package name */ - public final List f573c; + public final List f544c; public a(e eVar, List list, List list2) { this.a = eVar; this.b = list; - this.f573c = list2; + this.f544c = list2; } } @@ -63,12 +61,12 @@ public final class c extends b implements e0 { this.k = cls; this.m = list; this.q = cls2; - this.s = aVar; + this.f543s = aVar; this.l = mVar; this.n = bVar; this.p = aVar2; this.o = nVar; - this.f571r = z2; + this.r = z2; } public c(Class cls) { @@ -76,12 +74,12 @@ public final class c extends b implements e0 { this.k = cls; this.m = Collections.emptyList(); this.q = null; - this.s = o.a; + this.f543s = o.a; this.l = m.k; this.n = null; this.p = null; this.o = null; - this.f571r = false; + this.r = false; } @Override // c.g.a.c.c0.e0 @@ -91,7 +89,7 @@ public final class c extends b implements e0 { @Override // c.g.a.c.c0.b public A b(Class cls) { - return (A) this.s.a(cls); + return (A) this.f543s.a(cls); } @Override // c.g.a.c.c0.b @@ -153,7 +151,7 @@ public final class c extends b implements e0 { b bVar = this.n; n nVar = this.o; Class cls = this.q; - f fVar = new f(bVar, this, this.f571r | (cls != null)); + f fVar = new f(bVar, this, this.r | (cls != null)); if (!jVar2.w()) { d.a[] l = d.l(jVar2._class); aVar = null; @@ -253,9 +251,9 @@ public final class c extends b implements e0 { int i9 = 0; while (true) { if (i9 < actualTypeArguments.length) { - TypeVariable i1 = c.c.a.a0.d.i1(actualTypeArguments[i9]); - if (i1 != null) { - String name = i1.getName(); + TypeVariable g1 = c.c.a.a0.d.g1(actualTypeArguments[i9]); + if (g1 != null) { + String name = g1.getName(); if (name == null) { jVar = jVar2; break; @@ -293,7 +291,7 @@ public final class c extends b implements e0 { if (i11 >= length3) { z2 = true; break; - } else if (!c.c.a.a0.d.A1(bVar2, f, bounds[i11])) { + } else if (!c.c.a.a0.d.y1(bVar2, f, bounds[i11])) { z2 = false; break; } else { @@ -366,7 +364,7 @@ public final class c extends b implements e0 { } if (fVar.e) { e eVar = fVar.f; - if (eVar != null && fVar.f583c.Z(eVar)) { + if (eVar != null && fVar.f554c.Z(eVar)) { fVar.f = null; } int size2 = list.size(); @@ -374,7 +372,7 @@ public final class c extends b implements e0 { size2--; if (size2 < 0) { break; - } else if (fVar.f583c.Z((i) list.get(size2))) { + } else if (fVar.f554c.Z((i) list.get(size2))) { list.remove(size2); } } @@ -383,7 +381,7 @@ public final class c extends b implements e0 { size3--; if (size3 < 0) { break; - } else if (fVar.f583c.Z((i) list2.get(size3))) { + } else if (fVar.f554c.Z((i) list2.get(size3))) { list2.remove(size3); } } @@ -468,13 +466,13 @@ public final class c extends b implements e0 { if (jVar == null) { list = Collections.emptyList(); } else { - Map f = new h(this.n, this.o, this.p, this.f571r).f(this, jVar, null); + Map f = new h(this.n, this.o, this.p, this.r).f(this, jVar, null); if (f == null) { list = Collections.emptyList(); } else { ArrayList arrayList = new ArrayList(f.size()); for (h.a aVar : f.values()) { - arrayList.add(new g(aVar.a, aVar.b, aVar.f577c.b())); + arrayList.add(new g(aVar.a, aVar.b, aVar.f548c.b())); } list = arrayList; } @@ -498,7 +496,7 @@ public final class c extends b implements e0 { n nVar = this.o; List list = this.m; Class cls = this.q; - k kVar = new k(bVar, aVar, this.f571r); + k kVar = new k(bVar, aVar, this.r); LinkedHashMap linkedHashMap = new LinkedHashMap(); kVar.f(this, jVar._class, linkedHashMap, cls); Iterator it = list.iterator(); @@ -521,15 +519,15 @@ public final class c extends b implements e0 { kVar.g(this, jVar._class, linkedHashMap, a2); z2 = true; } - if (z2 && kVar.f583c != null && !linkedHashMap.isEmpty()) { + if (z2 && kVar.f554c != null && !linkedHashMap.isEmpty()) { for (Map.Entry entry : linkedHashMap.entrySet()) { y yVar = (y) entry.getKey(); - if ("hashCode".equals(yVar.b) && yVar.f585c.length == 0) { + if ("hashCode".equals(yVar.b) && yVar.f556c.length == 0) { try { Method declaredMethod = Object.class.getDeclaredMethod(yVar.b, new Class[0]); if (declaredMethod != null) { k.a aVar4 = (k.a) entry.getValue(); - aVar4.f578c = kVar.d(aVar4.f578c, declaredMethod.getDeclaredAnnotations()); + aVar4.f549c = kVar.d(aVar4.f549c, declaredMethod.getDeclaredAnnotations()); aVar4.b = declaredMethod; } } catch (Exception unused) { @@ -544,7 +542,7 @@ public final class c extends b implements e0 { for (Map.Entry entry2 : linkedHashMap.entrySet()) { k.a aVar5 = (k.a) entry2.getValue(); Method method = aVar5.b; - j jVar2 = method == null ? null : new j(aVar5.a, method, aVar5.f578c.b(), null); + j jVar2 = method == null ? null : new j(aVar5.a, method, aVar5.f549c.b(), null); if (jVar2 != null) { linkedHashMap2.put(entry2.getKey(), jVar2); } @@ -563,6 +561,6 @@ public final class c extends b implements e0 { } public String toString() { - return c.d.b.a.a.j(this.k, c.d.b.a.a.O("[AnnotedClass "), "]"); + return c.d.b.a.a.n(this.k, c.d.b.a.a.R("[AnnotedClass "), "]"); } } diff --git a/app/src/main/java/c/g/a/c/c0/c0.java b/app/src/main/java/c/g/a/c/c0/c0.java index f6871669ee..af8dfd36a0 100644 --- a/app/src/main/java/c/g/a/c/c0/c0.java +++ b/app/src/main/java/c/g/a/c/c0/c0.java @@ -26,10 +26,10 @@ public class c0 extends s implements Comparable { public final t o; public d p; public d q; + public d r; - /* renamed from: r reason: collision with root package name */ - public d f574r; - public d s; + /* renamed from: s reason: collision with root package name */ + public d f545s; public transient s t; public transient b.a u; @@ -75,7 +75,7 @@ public class c0 extends s implements Comparable { public final d b; /* renamed from: c reason: collision with root package name */ - public final t f575c; + public final t f546c; public final boolean d; public final boolean e; public final boolean f; @@ -84,7 +84,7 @@ public class c0 extends s implements Comparable { this.a = t; this.b = dVar; t tVar2 = (tVar == null || tVar.d()) ? null : tVar; - this.f575c = tVar2; + this.f546c = tVar2; if (z2) { if (tVar2 == null) { throw new IllegalArgumentException("Cannot pass true for 'explName' if name is null/empty"); @@ -108,10 +108,10 @@ public class c0 extends s implements Comparable { return this; } d b = dVar.b(); - if (this.f575c != null) { - return b.f575c == null ? c(null) : c(b); + if (this.f546c != null) { + return b.f546c == null ? c(null) : c(b); } - if (b.f575c != null) { + if (b.f546c != null) { return b; } boolean z2 = this.e; @@ -119,7 +119,7 @@ public class c0 extends s implements Comparable { } public d c(d dVar) { - return dVar == this.b ? this : new d<>(this.a, dVar, this.f575c, this.d, this.e, this.f); + return dVar == this.b ? this : new d<>(this.a, dVar, this.f546c, this.d, this.e, this.f); } public d d() { @@ -136,7 +136,7 @@ public class c0 extends s implements Comparable { } public d e() { - return this.b == null ? this : new d<>(this.a, null, this.f575c, this.d, this.e, this.f); + return this.b == null ? this : new d<>(this.a, null, this.f546c, this.d, this.e, this.f); } public d f() { @@ -150,9 +150,9 @@ public class c0 extends s implements Comparable { if (this.b == null) { return format; } - StringBuilder S = c.d.b.a.a.S(format, ", "); - S.append(this.b.toString()); - return S.toString(); + StringBuilder V = c.d.b.a.a.V(format, ", "); + V.append(this.b.toString()); + return V.toString(); } } @@ -168,8 +168,8 @@ public class c0 extends s implements Comparable { this.n = tVar; this.p = c0Var.p; this.q = c0Var.q; - this.f574r = c0Var.f574r; - this.s = c0Var.s; + this.r = c0Var.r; + this.f545s = c0Var.f545s; this.k = c0Var.k; } @@ -206,12 +206,12 @@ public class c0 extends s implements Comparable { if (dVar2 != null) { dVar = dVar.c(A(dVar2, pVar)); } - return iVar == dVar.a ? dVar : new d<>(iVar, dVar.b, dVar.f575c, dVar.d, dVar.e, dVar.f); + return iVar == dVar.a ? dVar : new d<>(iVar, dVar.b, dVar.f546c, dVar.d, dVar.e, dVar.f); } public final void B(Collection collection, Map map, d dVar) { for (d dVar2 = dVar; dVar2 != null; dVar2 = dVar2.b) { - t tVar = dVar2.f575c; + t tVar = dVar2.f546c; if (dVar2.d && tVar != null) { c0 c0Var = map.get(tVar); if (c0Var == null) { @@ -220,36 +220,36 @@ public class c0 extends s implements Comparable { } if (dVar == this.p) { c0Var.p = dVar2.c(c0Var.p); - } else if (dVar == this.f574r) { - c0Var.f574r = dVar2.c(c0Var.f574r); - } else if (dVar == this.s) { - c0Var.s = dVar2.c(c0Var.s); + } else if (dVar == this.r) { + c0Var.r = dVar2.c(c0Var.r); + } else if (dVar == this.f545s) { + c0Var.f545s = dVar2.c(c0Var.f545s); } else if (dVar == this.q) { c0Var.q = dVar2.c(c0Var.q); } else { throw new IllegalStateException("Internal error: mismatched accessors, property: " + this); } } else if (dVar2.e) { - StringBuilder O = c.d.b.a.a.O("Conflicting/ambiguous property name definitions (implicit name "); + StringBuilder R = c.d.b.a.a.R("Conflicting/ambiguous property name definitions (implicit name "); t tVar2 = this.n; Annotation[] annotationArr = c.g.a.c.i0.d.a; - O.append(tVar2 == null ? "[null]" : c.g.a.c.i0.d.c(tVar2._simpleName)); - O.append("): found multiple explicit names: "); - O.append(collection); - O.append(", but also implicit accessor: "); - O.append(dVar2); - throw new IllegalStateException(O.toString()); + R.append(tVar2 == null ? "[null]" : c.g.a.c.i0.d.c(tVar2._simpleName)); + R.append("): found multiple explicit names: "); + R.append(collection); + R.append(", but also implicit accessor: "); + R.append(dVar2); + throw new IllegalStateException(R.toString()); } } } public final Set C(d dVar, Set set) { while (dVar != null) { - if (dVar.d && dVar.f575c != null) { + if (dVar.d && dVar.f546c != null) { if (set == null) { set = new HashSet<>(); } - set.add(dVar.f575c); + set.add(dVar.f546c); } dVar = dVar.b; } @@ -306,12 +306,12 @@ public class c0 extends s implements Comparable { public void K(c0 c0Var) { this.p = N(this.p, c0Var.p); this.q = N(this.q, c0Var.q); - this.f574r = N(this.f574r, c0Var.f574r); - this.s = N(this.s, c0Var.s); + this.r = N(this.r, c0Var.r); + this.f545s = N(this.f545s, c0Var.f545s); } public Set L() { - Set C = C(this.q, C(this.s, C(this.f574r, C(this.p, null)))); + Set C = C(this.q, C(this.f545s, C(this.r, C(this.p, null)))); return C == null ? Collections.emptySet() : C; } @@ -323,7 +323,7 @@ public class c0 extends s implements Comparable { return null; } if (this.k) { - d dVar3 = this.f574r; + d dVar3 = this.r; if (dVar3 != null) { t = eVar.a(dVar3.a); } @@ -332,7 +332,7 @@ public class c0 extends s implements Comparable { if (dVar4 != null) { t = eVar.a(dVar4.a); } - if (t == null && (dVar2 = this.s) != null) { + if (t == null && (dVar2 = this.f545s) != null) { t = eVar.a(dVar2.a); } } @@ -355,7 +355,7 @@ public class c0 extends s implements Comparable { @Override // c.g.a.c.c0.s public boolean f() { - return (this.q == null && this.s == null && this.p == null) ? false : true; + return (this.q == null && this.f545s == null && this.p == null) ? false : true; } @Override // c.g.a.c.c0.s @@ -422,13 +422,13 @@ public class c0 extends s implements Comparable { } else if (g2.isAssignableFrom(g)) { } } - StringBuilder O = c.d.b.a.a.O("Multiple fields representing property \""); - O.append(p()); - O.append("\": "); - O.append(gVar.h()); - O.append(" vs "); - O.append(gVar2.h()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Multiple fields representing property \""); + R.append(p()); + R.append("\": "); + R.append(gVar.h()); + R.append(" vs "); + R.append(gVar2.h()); + throw new IllegalArgumentException(R.toString()); } return gVar; } @@ -440,7 +440,7 @@ public class c0 extends s implements Comparable { @Override // c.g.a.c.c0.s public j n() { - d dVar = this.f574r; + d dVar = this.r; if (dVar == null) { return null; } @@ -470,16 +470,16 @@ public class c0 extends s implements Comparable { dVar = dVar2; dVar2 = dVar2.b; } else { - StringBuilder O = c.d.b.a.a.O("Conflicting getter definitions for property \""); - O.append(p()); - O.append("\": "); - O.append(dVar.a.h()); - O.append(" vs "); - O.append(dVar2.a.h()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Conflicting getter definitions for property \""); + R.append(p()); + R.append("\": "); + R.append(dVar.a.h()); + R.append(" vs "); + R.append(dVar2.a.h()); + throw new IllegalArgumentException(R.toString()); } } - this.f574r = dVar.e(); + this.r = dVar.e(); return dVar.a; } @@ -495,7 +495,7 @@ public class c0 extends s implements Comparable { if (this.t == null) { h0 h0Var2 = null; if (this.k) { - d dVar = this.f574r; + d dVar = this.r; if (dVar != null) { jVar = dVar.a; } else { @@ -508,18 +508,18 @@ public class c0 extends s implements Comparable { this.t = s.k; } else { Boolean a02 = this.m.a0(jVar); - String w2 = this.m.w(jVar); + String w = this.m.w(jVar); Integer B = this.m.B(jVar); String v = this.m.v(jVar); if (a02 == null && B == null && v == null) { s sVar = s.k; - if (w2 != null) { - sVar = new s(sVar._required, w2, sVar._index, sVar._defaultValue, sVar.l, sVar._valueNulls, sVar._contentNulls); + if (w != null) { + sVar = new s(sVar._required, w, sVar._index, sVar._defaultValue, sVar.l, sVar._valueNulls, sVar._contentNulls); } this.t = sVar; } else { s sVar2 = s.i; - this.t = (w2 == null && B == null && v == null) ? a02 == null ? s.k : a02.booleanValue() ? s.i : s.j : new s(a02, w2, B, v, null, null, null); + this.t = (w == null && B == null && v == null) ? a02 == null ? s.k : a02.booleanValue() ? s.i : s.j : new s(a02, w, B, v, null, null, null); } if (!this.k) { s sVar3 = this.t; @@ -581,7 +581,7 @@ public class c0 extends s implements Comparable { if (dVar3 != null) { jVar = dVar3.a; } else { - d dVar4 = this.s; + d dVar4 = this.f545s; if (dVar4 != null) { jVar = dVar4.a; } else { @@ -589,7 +589,7 @@ public class c0 extends s implements Comparable { if (dVar5 != null) { jVar = dVar5.a; } else { - d dVar6 = this.f574r; + d dVar6 = this.r; if (dVar6 != null) { jVar = dVar6.a; } @@ -636,9 +636,9 @@ public class c0 extends s implements Comparable { } else { b k = k(); if (k == null) { - j s = s(); - if (s != null) { - jVar = s.n(0); + j s2 = s(); + if (s2 != null) { + jVar = s2.n(0); } else { k = l(); } @@ -650,7 +650,7 @@ public class c0 extends s implements Comparable { @Override // c.g.a.c.c0.s public j s() { - d dVar = this.s; + d dVar = this.f545s; if (dVar == null) { return null; } @@ -698,7 +698,7 @@ public class c0 extends s implements Comparable { throw new IllegalArgumentException(String.format("Conflicting setter definitions for property \"%s\": %s vs %s", p(), dVar.a.h(), dVar2.a.h())); } } - this.s = dVar.e(); + this.f545s = dVar.e(); return dVar.a; } @@ -714,23 +714,23 @@ public class c0 extends s implements Comparable { @Override // java.lang.Object public String toString() { - StringBuilder O = c.d.b.a.a.O("[Property '"); - O.append(this.n); - O.append("'; ctors: "); - O.append(this.q); - O.append(", field(s): "); - O.append(this.p); - O.append(", getter(s): "); - O.append(this.f574r); - O.append(", setter(s): "); - O.append(this.s); - O.append("]"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("[Property '"); + R.append(this.n); + R.append("'; ctors: "); + R.append(this.q); + R.append(", field(s): "); + R.append(this.p); + R.append(", getter(s): "); + R.append(this.r); + R.append(", setter(s): "); + R.append(this.f545s); + R.append("]"); + return R.toString(); } @Override // c.g.a.c.c0.s public boolean u() { - return x(this.p) || x(this.f574r) || x(this.s) || w(this.q); + return x(this.p) || x(this.r) || x(this.f545s) || w(this.q); } @Override // c.g.a.c.c0.s @@ -741,7 +741,7 @@ public class c0 extends s implements Comparable { public final boolean w(d dVar) { while (dVar != null) { - if (dVar.f575c != null && dVar.d) { + if (dVar.f546c != null && dVar.d) { return true; } dVar = dVar.b; @@ -751,7 +751,7 @@ public class c0 extends s implements Comparable { public final boolean x(d dVar) { while (dVar != null) { - t tVar = dVar.f575c; + t tVar = dVar.f546c; if (tVar != null && tVar.c()) { return true; } diff --git a/app/src/main/java/c/g/a/c/c0/d.java b/app/src/main/java/c/g/a/c/c0/d.java index 726daab6b9..4ff19c9a40 100644 --- a/app/src/main/java/c/g/a/c/c0/d.java +++ b/app/src/main/java/c/g/a/c/c0/d.java @@ -21,7 +21,7 @@ public class d { public static final Class b = Map.class; /* renamed from: c reason: collision with root package name */ - public final l f576c; + public final l f547c; public final b d; public final t.a e; public final m f; @@ -31,7 +31,7 @@ public class d { public final boolean j; public d(l lVar, j jVar, t.a aVar) { - this.f576c = lVar; + this.f547c = lVar; this.g = jVar; Class cls = jVar._class; this.h = cls; @@ -45,7 +45,7 @@ public class d { } public d(l lVar, Class cls, t.a aVar) { - this.f576c = lVar; + this.f547c = lVar; Class cls2 = null; this.g = null; this.h = cls; @@ -168,7 +168,7 @@ public class d { if (!(z2 || this.j)) { return o.a; } - o oVar = o.a.f579c; + o oVar = o.a.f550c; Class cls = this.i; if (cls != null) { oVar = b(oVar, this.h, cls); diff --git a/app/src/main/java/c/g/a/c/c0/e.java b/app/src/main/java/c/g/a/c/c0/e.java index 58e14b81aa..9089ddd0ec 100644 --- a/app/src/main/java/c/g/a/c/c0/e.java +++ b/app/src/main/java/c/g/a/c/c0/e.java @@ -79,9 +79,9 @@ public final class e extends n { @Override // c.g.a.c.c0.i public Object j(Object obj) throws UnsupportedOperationException { - StringBuilder O = c.d.b.a.a.O("Cannot call getValue() on constructor of "); - O.append(g().getName()); - throw new UnsupportedOperationException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Cannot call getValue() on constructor of "); + R.append(g().getName()); + throw new UnsupportedOperationException(R.toString()); } @Override // c.g.a.c.c0.i @@ -108,11 +108,11 @@ public final class e extends n { } return new e(null, declaredConstructor, null, null); } catch (Exception unused) { - StringBuilder O = c.d.b.a.a.O("Could not find constructor with "); - O.append(this._serialization.args.length); - O.append(" args from Class '"); - O.append(cls.getName()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Could not find constructor with "); + R.append(this._serialization.args.length); + R.append(" args from Class '"); + R.append(cls.getName()); + throw new IllegalArgumentException(R.toString()); } } diff --git a/app/src/main/java/c/g/a/c/c0/f.java b/app/src/main/java/c/g/a/c/c0/f.java index 93fc380010..16055f9f1a 100644 --- a/app/src/main/java/c/g/a/c/c0/f.java +++ b/app/src/main/java/c/g/a/c/c0/f.java @@ -59,7 +59,7 @@ public final class f extends u { int length = annotationArr.length; p[] pVarArr = new p[length]; for (int i = 0; i < length; i++) { - o b = b(o.a.f579c, annotationArr[i]); + o b = b(o.a.f550c, annotationArr[i]); if (annotationArr2 != null) { b = b(b, annotationArr2[i]); } @@ -70,7 +70,7 @@ public final class f extends u { public j j(Method method, e0 e0Var, Method method2) { int length = method.getParameterTypes().length; - if (this.f583c == null) { + if (this.f554c == null) { return new j(e0Var, method, new p(), u.a(length)); } if (length == 0) { @@ -89,16 +89,16 @@ public final class f extends u { Annotation[][] annotationArr; p[] i; int a = aVar.a(); - if (this.f583c == null) { + if (this.f554c == null) { return new e(this.d, aVar.a, new p(), u.a(a)); } if (a == 0) { return new e(this.d, aVar.a, g(aVar, aVar2), u.a); } - Annotation[][] annotationArr2 = aVar.f614c; + Annotation[][] annotationArr2 = aVar.f583c; if (annotationArr2 == null) { annotationArr2 = aVar.a.getParameterAnnotations(); - aVar.f614c = annotationArr2; + aVar.f583c = annotationArr2; } Annotation[][] annotationArr3 = 0; if (a != annotationArr2.length) { @@ -124,10 +124,10 @@ public final class f extends u { } } else { if (aVar2 != null) { - Annotation[][] annotationArr4 = aVar2.f614c; + Annotation[][] annotationArr4 = aVar2.f583c; if (annotationArr4 == null) { annotationArr4 = aVar2.a.getParameterAnnotations(); - aVar2.f614c = annotationArr4; + aVar2.f583c = annotationArr4; } annotationArr3 = annotationArr4; } diff --git a/app/src/main/java/c/g/a/c/c0/f0.java b/app/src/main/java/c/g/a/c/c0/f0.java index 945269894e..dacb8ae696 100644 --- a/app/src/main/java/c/g/a/c/c0/f0.java +++ b/app/src/main/java/c/g/a/c/c0/f0.java @@ -63,7 +63,7 @@ public class f0 extends i implements Serializable { @Override // c.g.a.c.c0.i public Object j(Object obj) throws IllegalArgumentException { - throw new IllegalArgumentException(a.G(a.O("Cannot get virtual property '"), this._name, "'")); + throw new IllegalArgumentException(a.H(a.R("Cannot get virtual property '"), this._name, "'")); } @Override // c.g.a.c.c0.i @@ -73,9 +73,9 @@ public class f0 extends i implements Serializable { @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("[virtual "); - O.append(h()); - O.append("]"); - return O.toString(); + StringBuilder R = a.R("[virtual "); + R.append(h()); + R.append("]"); + return R.toString(); } } diff --git a/app/src/main/java/c/g/a/c/c0/g.java b/app/src/main/java/c/g/a/c/c0/g.java index dedd98f39d..f99dfa77d1 100644 --- a/app/src/main/java/c/g/a/c/c0/g.java +++ b/app/src/main/java/c/g/a/c/c0/g.java @@ -77,11 +77,11 @@ public final class g extends i implements Serializable { try { return this.k.get(obj); } catch (IllegalAccessException e) { - StringBuilder O = c.d.b.a.a.O("Failed to getValue() for field "); - O.append(h()); - O.append(": "); - O.append(e.getMessage()); - throw new IllegalArgumentException(O.toString(), e); + StringBuilder R = c.d.b.a.a.R("Failed to getValue() for field "); + R.append(h()); + R.append(": "); + R.append(e.getMessage()); + throw new IllegalArgumentException(R.toString(), e); } } @@ -100,20 +100,20 @@ public final class g extends i implements Serializable { } return new g(null, declaredField, null); } catch (Exception unused) { - StringBuilder O = c.d.b.a.a.O("Could not find method '"); - O.append(this._serialization.name); - O.append("' from Class '"); - O.append(cls.getName()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Could not find method '"); + R.append(this._serialization.name); + R.append("' from Class '"); + R.append(cls.getName()); + throw new IllegalArgumentException(R.toString()); } } @Override // java.lang.Object public String toString() { - StringBuilder O = c.d.b.a.a.O("[field "); - O.append(h()); - O.append("]"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("[field "); + R.append(h()); + R.append("]"); + return R.toString(); } public Object writeReplace() { diff --git a/app/src/main/java/c/g/a/c/c0/h.java b/app/src/main/java/c/g/a/c/c0/h.java index 3a70bb3308..67b138c3b8 100644 --- a/app/src/main/java/c/g/a/c/c0/h.java +++ b/app/src/main/java/c/g/a/c/c0/h.java @@ -25,7 +25,7 @@ public class h extends u { public final Field b; /* renamed from: c reason: collision with root package name */ - public o f577c = o.a.f579c; + public o f548c = o.a.f550c; public a(e0 e0Var, Field field) { this.a = e0Var; @@ -58,7 +58,7 @@ public class h extends u { } a aVar3 = new a(e0Var, field); if (this.f) { - aVar3.f577c = b(aVar3.f577c, field.getDeclaredAnnotations()); + aVar3.f548c = b(aVar3.f548c, field.getDeclaredAnnotations()); } f.put(field.getName(), aVar3); } @@ -69,7 +69,7 @@ public class h extends u { Field[] declaredFields2 = ((Class) it.next()).getDeclaredFields(); for (Field field2 : declaredFields2) { if (g(field2) && (aVar2 = f.get(field2.getName())) != null) { - aVar2.f577c = b(aVar2.f577c, field2.getDeclaredAnnotations()); + aVar2.f548c = b(aVar2.f548c, field2.getDeclaredAnnotations()); } } } diff --git a/app/src/main/java/c/g/a/c/c0/j.java b/app/src/main/java/c/g/a/c/c0/j.java index 4c89562c4c..37c3ab6648 100644 --- a/app/src/main/java/c/g/a/c/c0/j.java +++ b/app/src/main/java/c/g/a/c/c0/j.java @@ -75,15 +75,15 @@ public final class j extends n implements Serializable { String h = super.h(); int o = o(); if (o == 0) { - return c.d.b.a.a.u(h, "()"); + return c.d.b.a.a.v(h, "()"); } if (o != 1) { return String.format("%s(%d params)", super.h(), Integer.valueOf(o())); } - StringBuilder S = c.d.b.a.a.S(h, "("); - S.append(p(0).getName()); - S.append(")"); - return S.toString(); + StringBuilder V = c.d.b.a.a.V(h, "("); + V.append(p(0).getName()); + V.append(")"); + return V.toString(); } @Override // c.g.a.c.c0.b @@ -101,11 +101,11 @@ public final class j extends n implements Serializable { try { return this.k.invoke(obj, null); } catch (IllegalAccessException | InvocationTargetException e) { - StringBuilder O = c.d.b.a.a.O("Failed to getValue() with method "); - O.append(h()); - O.append(": "); - O.append(e.getMessage()); - throw new IllegalArgumentException(O.toString(), e); + StringBuilder R = c.d.b.a.a.R("Failed to getValue() with method "); + R.append(h()); + R.append(": "); + R.append(e.getMessage()); + throw new IllegalArgumentException(R.toString(), e); } } @@ -151,20 +151,20 @@ public final class j extends n implements Serializable { } return new j(null, declaredMethod, null, null); } catch (Exception unused) { - StringBuilder O = c.d.b.a.a.O("Could not find method '"); - O.append(this._serialization.name); - O.append("' from Class '"); - O.append(cls.getName()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Could not find method '"); + R.append(this._serialization.name); + R.append("' from Class '"); + R.append(cls.getName()); + throw new IllegalArgumentException(R.toString()); } } @Override // java.lang.Object public String toString() { - StringBuilder O = c.d.b.a.a.O("[method "); - O.append(h()); - O.append("]"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("[method "); + R.append(h()); + R.append("]"); + return R.toString(); } public Object writeReplace() { diff --git a/app/src/main/java/c/g/a/c/c0/k.java b/app/src/main/java/c/g/a/c/c0/k.java index cda3b75e6f..6aac9d888f 100644 --- a/app/src/main/java/c/g/a/c/c0/k.java +++ b/app/src/main/java/c/g/a/c/c0/k.java @@ -22,12 +22,12 @@ public class k extends u { public Method b; /* renamed from: c reason: collision with root package name */ - public o f578c; + public o f549c; public a(e0 e0Var, Method method, o oVar) { this.a = e0Var; this.b = method; - this.f578c = oVar; + this.f549c = oVar; } } @@ -52,10 +52,10 @@ public class k extends u { y yVar = new y(method); a aVar = map.get(yVar); if (aVar == null) { - map.put(yVar, new a(e0Var, method, this.f583c == null ? o.a.f579c : c(method.getDeclaredAnnotations()))); + map.put(yVar, new a(e0Var, method, this.f554c == null ? o.a.f550c : c(method.getDeclaredAnnotations()))); } else { if (this.e) { - aVar.f578c = d(aVar.f578c, method.getDeclaredAnnotations()); + aVar.f549c = d(aVar.f549c, method.getDeclaredAnnotations()); } Method method2 = aVar.b; if (method2 == null) { @@ -72,7 +72,7 @@ public class k extends u { public void g(e0 e0Var, Class cls, Map map, Class cls2) { List list; - if (this.f583c != null) { + if (this.f554c != null) { Annotation[] annotationArr = d.a; if (cls2 == cls || cls2 == Object.class) { list = Collections.emptyList(); @@ -90,7 +90,7 @@ public class k extends u { if (aVar == null) { map.put(yVar, new a(e0Var, null, c(declaredAnnotations))); } else { - aVar.f578c = d(aVar.f578c, declaredAnnotations); + aVar.f549c = d(aVar.f549c, declaredAnnotations); } } } diff --git a/app/src/main/java/c/g/a/c/c0/m.java b/app/src/main/java/c/g/a/c/c0/m.java index e74d30bec9..d9ae7cf422 100644 --- a/app/src/main/java/c/g/a/c/c0/m.java +++ b/app/src/main/java/c/g/a/c/c0/m.java @@ -62,9 +62,9 @@ public final class m extends i { @Override // c.g.a.c.c0.i public Object j(Object obj) throws UnsupportedOperationException { - StringBuilder O = a.O("Cannot call getValue() on constructor parameter of "); - O.append(g().getName()); - throw new UnsupportedOperationException(O.toString()); + StringBuilder R = a.R("Cannot call getValue() on constructor parameter of "); + R.append(g().getName()); + throw new UnsupportedOperationException(R.toString()); } @Override // c.g.a.c.c0.i @@ -80,11 +80,11 @@ public final class m extends i { @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("[parameter #"); - O.append(this._index); - O.append(", annotations: "); - O.append(this.j); - O.append("]"); - return O.toString(); + StringBuilder R = a.R("[parameter #"); + R.append(this._index); + R.append(", annotations: "); + R.append(this.j); + R.append("]"); + return R.toString(); } } diff --git a/app/src/main/java/c/g/a/c/c0/o.java b/app/src/main/java/c/g/a/c/c0/o.java index 5af8d72e9b..f2b7f5f36d 100644 --- a/app/src/main/java/c/g/a/c/c0/o.java +++ b/app/src/main/java/c/g/a/c/c0/o.java @@ -14,7 +14,7 @@ public abstract class o { public static class a extends o { /* renamed from: c reason: collision with root package name */ - public static final a f579c = new a(null); + public static final a f550c = new a(null); public a(Object obj) { super(null); @@ -45,26 +45,26 @@ public abstract class o { public static class b extends o { /* renamed from: c reason: collision with root package name */ - public final HashMap, Annotation> f580c; + public final HashMap, Annotation> f551c; public b(Object obj, Class cls, Annotation annotation, Class cls2, Annotation annotation2) { super(obj); HashMap, Annotation> hashMap = new HashMap<>(); - this.f580c = hashMap; + this.f551c = hashMap; hashMap.put(cls, annotation); hashMap.put(cls2, annotation2); } @Override // c.g.a.c.c0.o public o a(Annotation annotation) { - this.f580c.put(annotation.annotationType(), annotation); + this.f551c.put(annotation.annotationType(), annotation); return this; } @Override // c.g.a.c.c0.o public p b() { p pVar = new p(); - for (Annotation annotation : this.f580c.values()) { + for (Annotation annotation : this.f551c.values()) { if (pVar.i == null) { pVar.i = new HashMap<>(); } @@ -78,10 +78,10 @@ public abstract class o { @Override // c.g.a.c.c0.o public c.g.a.c.i0.a c() { - if (this.f580c.size() != 2) { - return new p(this.f580c); + if (this.f551c.size() != 2) { + return new p(this.f551c); } - Iterator, Annotation>> it = this.f580c.entrySet().iterator(); + Iterator, Annotation>> it = this.f551c.entrySet().iterator(); Map.Entry, Annotation> next = it.next(); Map.Entry, Annotation> next2 = it.next(); return new f(next.getKey(), next.getValue(), next2.getKey(), next2.getValue()); @@ -89,7 +89,7 @@ public abstract class o { @Override // c.g.a.c.c0.o public boolean d(Annotation annotation) { - return this.f580c.containsKey(annotation.annotationType()); + return this.f551c.containsKey(annotation.annotationType()); } } @@ -137,19 +137,19 @@ public abstract class o { public static class e extends o { /* renamed from: c reason: collision with root package name */ - public Class f581c; + public Class f552c; public Annotation d; public e(Object obj, Class cls, Annotation annotation) { super(obj); - this.f581c = cls; + this.f552c = cls; this.d = annotation; } @Override // c.g.a.c.c0.o public o a(Annotation annotation) { Class annotationType = annotation.annotationType(); - Class cls = this.f581c; + Class cls = this.f552c; if (cls != annotationType) { return new b(this.b, cls, this.d, annotationType, annotation); } @@ -159,7 +159,7 @@ public abstract class o { @Override // c.g.a.c.c0.o public p b() { - Class cls = this.f581c; + Class cls = this.f552c; Annotation annotation = this.d; HashMap hashMap = new HashMap(4); hashMap.put(cls, annotation); @@ -168,12 +168,12 @@ public abstract class o { @Override // c.g.a.c.c0.o public c.g.a.c.i0.a c() { - return new d(this.f581c, this.d); + return new d(this.f552c, this.d); } @Override // c.g.a.c.c0.o public boolean d(Annotation annotation) { - return annotation.annotationType() == this.f581c; + return annotation.annotationType() == this.f552c; } } diff --git a/app/src/main/java/c/g/a/c/c0/q.java b/app/src/main/java/c/g/a/c/c0/q.java index 422edce271..e479545adb 100644 --- a/app/src/main/java/c/g/a/c/c0/q.java +++ b/app/src/main/java/c/g/a/c/c0/q.java @@ -15,7 +15,7 @@ public class q extends c { public static final Class[] b = new Class[0]; /* renamed from: c reason: collision with root package name */ - public final b0 f582c; + public final b0 f553c; public final l d; public final b e; public final c f; @@ -29,7 +29,7 @@ public class q extends c { super(r0); j jVar = b0Var.d; c cVar = b0Var.e; - this.f582c = b0Var; + this.f553c = b0Var; l lVar = b0Var.a; this.d = lVar; if (lVar == null) { @@ -38,13 +38,13 @@ public class q extends c { this.e = lVar.e(); } this.f = cVar; - a0 r2 = b0Var.g.r(b0Var.e); - this.j = r2 != null ? b0Var.g.s(b0Var.e, r2) : r2; + a0 r = b0Var.g.r(b0Var.e); + this.j = r != null ? b0Var.g.s(b0Var.e, r) : r; } public q(l lVar, j jVar, c cVar, List list) { super(jVar); - this.f582c = null; + this.f553c = null; this.d = lVar; if (lVar == null) { this.e = null; @@ -72,21 +72,21 @@ public class q extends c { @Override // c.g.a.c.c public i b() { - b0 b0Var = this.f582c; + b0 b0Var = this.f553c; if (b0Var == null) { return null; } if (!b0Var.i) { b0Var.h(); } - LinkedList linkedList = b0Var.f570r; + LinkedList linkedList = b0Var.r; if (linkedList == null) { return null; } if (linkedList.size() <= 1) { - return b0Var.f570r.get(0); + return b0Var.r.get(0); } - b0Var.i("Multiple 'as-value' properties defined (%s vs %s)", b0Var.f570r.get(0), b0Var.f570r.get(1)); + b0Var.i("Multiple 'as-value' properties defined (%s vs %s)", b0Var.r.get(0), b0Var.r.get(1)); throw null; } @@ -99,7 +99,7 @@ public class q extends c { public List d() { if (this.i == null) { - b0 b0Var = this.f582c; + b0 b0Var = this.f553c; if (!b0Var.i) { b0Var.h(); } diff --git a/app/src/main/java/c/g/a/c/c0/u.java b/app/src/main/java/c/g/a/c/c0/u.java index cc8b861bac..de27f7d1cb 100644 --- a/app/src/main/java/c/g/a/c/c0/u.java +++ b/app/src/main/java/c/g/a/c/c0/u.java @@ -12,10 +12,10 @@ public class u { public static final Annotation[] b = new Annotation[0]; /* renamed from: c reason: collision with root package name */ - public final b f583c; + public final b f554c; public u(b bVar) { - this.f583c = bVar; + this.f554c = bVar; } public static p[] a(int i) { @@ -32,7 +32,7 @@ public class u { public final o b(o oVar, Annotation[] annotationArr) { for (Annotation annotation : annotationArr) { oVar = oVar.a(annotation); - if (this.f583c.b0(annotation)) { + if (this.f554c.b0(annotation)) { oVar = e(oVar, annotation); } } @@ -40,10 +40,10 @@ public class u { } public final o c(Annotation[] annotationArr) { - o oVar = o.a.f579c; + o oVar = o.a.f550c; for (Annotation annotation : annotationArr) { oVar = oVar.a(annotation); - if (this.f583c.b0(annotation)) { + if (this.f554c.b0(annotation)) { oVar = e(oVar, annotation); } } @@ -54,12 +54,12 @@ public class u { for (Annotation annotation : annotationArr) { if (!oVar.d(annotation)) { oVar = oVar.a(annotation); - if (this.f583c.b0(annotation)) { + if (this.f554c.b0(annotation)) { Annotation[] i = d.i(annotation.annotationType()); for (Annotation annotation2 : i) { if (!((annotation2 instanceof Target) || (annotation2 instanceof Retention)) && !oVar.d(annotation2)) { oVar = oVar.a(annotation2); - if (this.f583c.b0(annotation2)) { + if (this.f554c.b0(annotation2)) { oVar = e(oVar, annotation2); } } @@ -74,7 +74,7 @@ public class u { Annotation[] i = d.i(annotation.annotationType()); for (Annotation annotation2 : i) { if (!((annotation2 instanceof Target) || (annotation2 instanceof Retention))) { - if (!this.f583c.b0(annotation2)) { + if (!this.f554c.b0(annotation2)) { oVar = oVar.a(annotation2); } else if (!oVar.d(annotation2)) { oVar = e(oVar.a(annotation2), annotation2); diff --git a/app/src/main/java/c/g/a/c/c0/v.java b/app/src/main/java/c/g/a/c/c0/v.java index 1acaf242ff..05db3492cd 100644 --- a/app/src/main/java/c/g/a/c/c0/v.java +++ b/app/src/main/java/c/g/a/c/c0/v.java @@ -26,7 +26,7 @@ public abstract class v implements d, Serializable { i.d i = lVar.i(cls); b e = lVar.e(); i.d h = (e == null || (member = getMember()) == null) ? null : e.h(member); - return i == null ? h == null ? d.f586c : h : h == null ? i : i.k(h); + return i == null ? h == null ? d.f557c : h : h == null ? i : i.k(h); } @Override // c.g.a.c.d diff --git a/app/src/main/java/c/g/a/c/c0/w.java b/app/src/main/java/c/g/a/c/c0/w.java index 66451c8e48..ea7f3bf801 100644 --- a/app/src/main/java/c/g/a/c/c0/w.java +++ b/app/src/main/java/c/g/a/c/c0/w.java @@ -14,7 +14,7 @@ public class w extends a { public final boolean b; /* renamed from: c reason: collision with root package name */ - public final String f584c; + public final String f555c; public final String d; public final String e; @@ -24,7 +24,7 @@ public class w extends a { } /* compiled from: DefaultAccessorNamingStrategy */ - public static class b extends a.AbstractC0077a implements Serializable { + public static class b extends a.AbstractC0076a implements Serializable { private static final long serialVersionUID = 1; public final a _baseNameValidator = null; public final String _getterPrefix = "get"; @@ -45,7 +45,7 @@ public class w extends a { c.g.a.c.d0.a aVar = c.g.a.c.d0.a.a; Objects.requireNonNull(aVar); try { - Object[] objArr = (Object[]) aVar.f587c.invoke(cls, new Object[0]); + Object[] objArr = (Object[]) aVar.f558c.invoke(cls, new Object[0]); int length = objArr.length; String[] strArr = new String[length]; for (int i = 0; i < objArr.length; i++) { @@ -59,9 +59,9 @@ public class w extends a { this.f.add(strArr[i2]); } } catch (Exception unused) { - StringBuilder O = c.d.b.a.a.O("Failed to access RecordComponents of type "); - O.append(d.u(cls)); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Failed to access RecordComponents of type "); + R.append(d.u(cls)); + throw new IllegalArgumentException(R.toString()); } } else { throw runtimeException; @@ -77,7 +77,7 @@ public class w extends a { public w(l lVar, c cVar, String str, String str2, String str3, a aVar) { this.b = lVar.q(p.USE_STD_BEAN_NAMING); this.e = str; - this.f584c = str2; + this.f555c = str2; this.d = str3; this.a = aVar; } @@ -105,7 +105,7 @@ public class w extends a { @Override // c.g.a.c.c0.a public String c(j jVar, String str) { - String str2 = this.f584c; + String str2 = this.f555c; if (str2 == null || !str.startsWith(str2)) { return null; } @@ -124,7 +124,7 @@ public class w extends a { } else if ("getMetaClass".equals(str) && jVar.d().getName().startsWith("groovy.lang")) { return null; } - return this.b ? e(str, this.f584c.length()) : d(str, this.f584c.length()); + return this.b ? e(str, this.f555c.length()) : d(str, this.f555c.length()); } public String d(String str, int i) { diff --git a/app/src/main/java/c/g/a/c/c0/x.java b/app/src/main/java/c/g/a/c/c0/x.java index e37eeabb81..8ec1225021 100644 --- a/app/src/main/java/c/g/a/c/c0/x.java +++ b/app/src/main/java/c/g/a/c/c0/x.java @@ -356,7 +356,7 @@ public class x extends b implements Serializable { @Override // c.g.a.c.b public void a(l lVar, c cVar, List list) { - c.g.a.c.y.b bVar = (c.g.a.c.y.b) cVar.s.a(c.g.a.c.y.b.class); + c.g.a.c.y.b bVar = (c.g.a.c.y.b) cVar.f543s.a(c.g.a.c.y.b.class); if (bVar != null) { boolean prepend = bVar.prepend(); b.a[] attrs = bVar.attrs(); @@ -371,11 +371,11 @@ public class x extends b implements Serializable { b.a aVar = attrs[i2]; c.g.a.c.s sVar = aVar.required() ? c.g.a.c.s.i : c.g.a.c.s.j; String value = aVar.value(); - c.g.a.c.t j0 = j0(aVar.propName(), aVar.propNamespace()); - if (!j0.c()) { - j0 = c.g.a.c.t.a(value); + c.g.a.c.t j02 = j0(aVar.propName(), aVar.propNamespace()); + if (!j02.c()) { + j02 = c.g.a.c.t.a(value); } - a aVar2 = new a(value, c.g.a.c.i0.q.w(lVar, new f0(cVar, cVar.k, value, jVar), j0, sVar, aVar.include()), cVar.s, jVar); + a aVar2 = new a(value, c.g.a.c.i0.q.w(lVar, new f0(cVar, cVar.k, value, jVar), j02, sVar, aVar.include()), cVar.f543s, jVar); if (prepend) { list.add(i2, aVar2); } else { @@ -384,17 +384,17 @@ public class x extends b implements Serializable { i2++; cVar2 = null; } - b.AbstractC0078b[] props = bVar.props(); + b.AbstractC0077b[] props = bVar.props(); int length2 = props.length; for (int i3 = 0; i3 < length2; i3++) { - b.AbstractC0078b bVar2 = props[i3]; + b.AbstractC0077b bVar2 = props[i3]; c.g.a.c.s sVar2 = bVar2.required() ? c.g.a.c.s.i : c.g.a.c.s.j; - c.g.a.c.t j02 = j0(bVar2.name(), bVar2.namespace()); + c.g.a.c.t j03 = j0(bVar2.name(), bVar2.namespace()); j d = lVar.d(bVar2.type()); - c.g.a.c.i0.q w2 = c.g.a.c.i0.q.w(lVar, new f0(cVar, cVar.k, j02._simpleName, d), j02, sVar2, bVar2.include()); + c.g.a.c.i0.q w = c.g.a.c.i0.q.w(lVar, new f0(cVar, cVar.k, j03._simpleName, d), j03, sVar2, bVar2.include()); Class value2 = bVar2.value(); Objects.requireNonNull(lVar._base); - c.g.a.c.g0.s k2 = ((c.g.a.c.g0.s) c.g.a.c.i0.d.g(value2, lVar.b())).k(lVar, cVar, w2, d); + c.g.a.c.g0.s k2 = ((c.g.a.c.g0.s) c.g.a.c.i0.d.g(value2, lVar.b())).k(lVar, cVar, w, d); if (prepend) { list.add(i3, k2); } else { @@ -900,7 +900,7 @@ public class x extends b implements Serializable { a0Var = a0.a; } boolean alwaysAsId = lVar.alwaysAsId(); - return a0Var.f == alwaysAsId ? a0Var : new a0(a0Var.b, a0Var.e, a0Var.f568c, alwaysAsId, a0Var.d); + return a0Var.f == alwaysAsId ? a0Var : new a0(a0Var.b, a0Var.e, a0Var.f540c, alwaysAsId, a0Var.d); } @Override // c.g.a.c.b diff --git a/app/src/main/java/c/g/a/c/c0/y.java b/app/src/main/java/c/g/a/c/c0/y.java index 430a48741f..e0ca57a70a 100644 --- a/app/src/main/java/c/g/a/c/c0/y.java +++ b/app/src/main/java/c/g/a/c/c0/y.java @@ -9,19 +9,19 @@ public final class y { public final String b; /* renamed from: c reason: collision with root package name */ - public final Class[] f585c; + public final Class[] f556c; public y(Constructor constructor) { Class[] parameterTypes = constructor.getParameterTypes(); this.b = ""; - this.f585c = parameterTypes == null ? a : parameterTypes; + this.f556c = parameterTypes == null ? a : parameterTypes; } public y(Method method) { String name = method.getName(); Class[] parameterTypes = method.getParameterTypes(); this.b = name; - this.f585c = parameterTypes == null ? a : parameterTypes; + this.f556c = parameterTypes == null ? a : parameterTypes; } public boolean equals(Object obj) { @@ -35,13 +35,13 @@ public final class y { if (!this.b.equals(yVar.b)) { return false; } - Class[] clsArr = yVar.f585c; - int length = this.f585c.length; + Class[] clsArr = yVar.f556c; + int length = this.f556c.length; if (clsArr.length != length) { return false; } for (int i = 0; i < length; i++) { - if (clsArr[i] != this.f585c[i]) { + if (clsArr[i] != this.f556c[i]) { return false; } } @@ -49,13 +49,13 @@ public final class y { } public int hashCode() { - return this.b.hashCode() + this.f585c.length; + return this.b.hashCode() + this.f556c.length; } public String toString() { StringBuilder sb = new StringBuilder(); sb.append(this.b); sb.append("("); - return a.z(sb, this.f585c.length, "-args)"); + return a.A(sb, this.f556c.length, "-args)"); } } diff --git a/app/src/main/java/c/g/a/c/d.java b/app/src/main/java/c/g/a/c/d.java index 3620b781bc..b157501993 100644 --- a/app/src/main/java/c/g/a/c/d.java +++ b/app/src/main/java/c/g/a/c/d.java @@ -8,7 +8,7 @@ import java.io.Serializable; public interface d { /* renamed from: c reason: collision with root package name */ - public static final i.d f586c = new i.d("", i.c.ANY, "", "", i.b.a, null); + public static final i.d f557c = new i.d("", i.c.ANY, "", "", i.b.a, null); /* compiled from: BeanProperty */ public static class a implements d, Serializable { diff --git a/app/src/main/java/c/g/a/c/d0/a.java b/app/src/main/java/c/g/a/c/d0/a.java index 067506b0ba..bc42fbab5d 100644 --- a/app/src/main/java/c/g/a/c/d0/a.java +++ b/app/src/main/java/c/g/a/c/d0/a.java @@ -7,7 +7,7 @@ public class a { public static final RuntimeException b; /* renamed from: c reason: collision with root package name */ - public final Method f587c; + public final Method f558c; public final Method d; static { @@ -25,7 +25,7 @@ public class a { public a() throws RuntimeException { try { - this.f587c = Class.class.getMethod("getRecordComponents", new Class[0]); + this.f558c = Class.class.getMethod("getRecordComponents", new Class[0]); Class cls = Class.forName("java.lang.reflect.RecordComponent"); this.d = cls.getMethod("getName", new Class[0]); cls.getMethod("getType", new Class[0]); diff --git a/app/src/main/java/c/g/a/c/e.java b/app/src/main/java/c/g/a/c/e.java index 74cc114218..c38d34a2c5 100644 --- a/app/src/main/java/c/g/a/c/e.java +++ b/app/src/main/java/c/g/a/c/e.java @@ -40,18 +40,18 @@ public abstract class e { Objects.requireNonNull(vVar._base); return (c.g.a.c.i0.e) d.g(cls, vVar.b()); } - throw new IllegalStateException(a.j(cls, a.O("AnnotationIntrospector returned Class "), "; expected Class")); + throw new IllegalStateException(a.n(cls, a.R("AnnotationIntrospector returned Class "), "; expected Class")); } - StringBuilder O = a.O("AnnotationIntrospector returned Converter definition of type "); - O.append(obj.getClass().getName()); - O.append("; expected type Converter or Class instead"); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("AnnotationIntrospector returned Converter definition of type "); + R.append(obj.getClass().getName()); + R.append("; expected type Converter or Class instead"); + throw new IllegalStateException(R.toString()); } public abstract n d(); public i0 e(b bVar, a0 a0Var) throws JsonMappingException { - Class> cls = a0Var.f568c; + Class> cls = a0Var.f540c; v vVar = ((x) this)._config; Objects.requireNonNull(vVar._base); return ((i0) d.g(cls, vVar.b())).b(a0Var.e); diff --git a/app/src/main/java/c/g/a/c/e0/b.java b/app/src/main/java/c/g/a/c/e0/b.java index 5ba2a76eaa..b8ae906759 100644 --- a/app/src/main/java/c/g/a/c/e0/b.java +++ b/app/src/main/java/c/g/a/c/e0/b.java @@ -39,8 +39,8 @@ public final class b implements Serializable { @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("[NamedType, class "); - a.f0(this._class, O, ", name: "); - return a.G(O, this._name == null ? "null" : a.G(a.O("'"), this._name, "'"), "]"); + StringBuilder R = a.R("[NamedType, class "); + a.i0(this._class, R, ", name: "); + return a.H(R, this._name == null ? "null" : a.H(a.R("'"), this._name, "'"), "]"); } } diff --git a/app/src/main/java/c/g/a/c/e0/h/b.java b/app/src/main/java/c/g/a/c/e0/h/b.java index 32967246b3..9037caac28 100644 --- a/app/src/main/java/c/g/a/c/e0/h/b.java +++ b/app/src/main/java/c/g/a/c/e0/h/b.java @@ -16,6 +16,6 @@ public class b extends d { /* renamed from: i */ public b h(d dVar) { - return this.b == dVar ? this : new b(this.a, dVar, this.f589c); + return this.b == dVar ? this : new b(this.a, dVar, this.f560c); } } diff --git a/app/src/main/java/c/g/a/c/e0/h/c.java b/app/src/main/java/c/g/a/c/e0/h/c.java index 97a38adb56..c7ae97fa51 100644 --- a/app/src/main/java/c/g/a/c/e0/h/c.java +++ b/app/src/main/java/c/g/a/c/e0/h/c.java @@ -8,21 +8,21 @@ import c.g.a.c.e0.g; public class c extends m { /* renamed from: c reason: collision with root package name */ - public final String f588c; + public final String f559c; public c(e eVar, d dVar, String str) { super(eVar, dVar); - this.f588c = str; + this.f559c = str; } @Override // c.g.a.c.e0.g public g a(d dVar) { - return this.b == dVar ? this : new c(this.a, dVar, this.f588c); + return this.b == dVar ? this : new c(this.a, dVar, this.f559c); } @Override // c.g.a.c.e0.h.m, c.g.a.c.e0.g public String b() { - return this.f588c; + return this.f559c; } @Override // c.g.a.c.e0.g diff --git a/app/src/main/java/c/g/a/c/e0/h/d.java b/app/src/main/java/c/g/a/c/e0/h/d.java index ca0cfba747..b8a36b9fef 100644 --- a/app/src/main/java/c/g/a/c/e0/h/d.java +++ b/app/src/main/java/c/g/a/c/e0/h/d.java @@ -6,16 +6,16 @@ import c.g.a.c.e0.e; public class d extends a { /* renamed from: c reason: collision with root package name */ - public final String f589c; + public final String f560c; public d(e eVar, c.g.a.c.d dVar, String str) { super(eVar, dVar); - this.f589c = str; + this.f560c = str; } @Override // c.g.a.c.e0.h.m, c.g.a.c.e0.g public String b() { - return this.f589c; + return this.f560c; } @Override // c.g.a.c.e0.h.a, c.g.a.c.e0.g @@ -25,6 +25,6 @@ public class d extends a { /* renamed from: h */ public d g(c.g.a.c.d dVar) { - return this.b == dVar ? this : new d(this.a, dVar, this.f589c); + return this.b == dVar ? this : new d(this.a, dVar, this.f560c); } } diff --git a/app/src/main/java/c/g/a/c/e0/h/f.java b/app/src/main/java/c/g/a/c/e0/h/f.java index 744f9cb86d..0fd8caa2e3 100644 --- a/app/src/main/java/c/g/a/c/e0/h/f.java +++ b/app/src/main/java/c/g/a/c/e0/h/f.java @@ -69,11 +69,11 @@ public class f extends k { } else if (length == 1) { mVar2 = new m(new String[]{typeParameters[0].getName()}, new j[]{c2}, null); } else { - StringBuilder O = a.O("Cannot create TypeBindings for class "); - O.append(EnumSet.class.getName()); - O.append(" with 1 type parameter: class expects "); - O.append(length); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Cannot create TypeBindings for class "); + R.append(EnumSet.class.getName()); + R.append(" with 1 type parameter: class expects "); + R.append(length); + throw new IllegalArgumentException(R.toString()); } e eVar = (e) nVar.c(null, EnumSet.class, mVar2); if (mVar2.i()) { @@ -90,7 +90,7 @@ public class f extends k { if (!enumMap.isEmpty()) { cls2 = ((Enum) enumMap.keySet().iterator().next()).getDeclaringClass(); } else { - Field field2 = d.b.a.f615c; + Field field2 = d.b.a.f584c; if (field2 != null) { try { cls2 = (Class) field2.get(enumMap); @@ -103,7 +103,7 @@ public class f extends k { } Objects.requireNonNull(nVar); if (EnumMap.class == Properties.class) { - jVar2 = n.f610x; + jVar2 = n.f579x; jVar = jVar2; } else { m mVar3 = n.k; @@ -124,15 +124,15 @@ public class f extends k { if (length2 == 2) { mVar = new m(strArr3, jVarArr, null); } else { - StringBuilder O2 = a.O("Cannot create TypeBindings for class "); - O2.append(EnumMap.class.getName()); - O2.append(" with "); - O2.append(2); - O2.append(" type parameter"); - O2.append("s"); - O2.append(": class expects "); - O2.append(length2); - throw new IllegalArgumentException(O2.toString()); + StringBuilder R2 = a.R("Cannot create TypeBindings for class "); + R2.append(EnumMap.class.getName()); + R2.append(" with "); + R2.append(2); + R2.append(" type parameter"); + R2.append("s"); + R2.append(": class expects "); + R2.append(length2); + throw new IllegalArgumentException(R2.toString()); } } g gVar = (g) nVar.c(null, EnumMap.class, mVar); diff --git a/app/src/main/java/c/g/a/c/e0/h/h.java b/app/src/main/java/c/g/a/c/e0/h/h.java index 70149609cc..f7a6705ada 100644 --- a/app/src/main/java/c/g/a/c/e0/h/h.java +++ b/app/src/main/java/c/g/a/c/e0/h/h.java @@ -7,23 +7,23 @@ import c.g.a.c.j; public class h extends f { /* renamed from: c reason: collision with root package name */ - public final String f590c; + public final String f561c; public h(j jVar, n nVar, c cVar) { super(jVar, nVar, cVar); String name = jVar._class.getName(); int lastIndexOf = name.lastIndexOf(46); if (lastIndexOf < 0) { - this.f590c = "."; + this.f561c = "."; return; } - this.f590c = name.substring(0, lastIndexOf + 1); + this.f561c = name.substring(0, lastIndexOf + 1); name.substring(0, lastIndexOf); } @Override // c.g.a.c.e0.h.f, c.g.a.c.e0.e public String a(Object obj) { String name = obj.getClass().getName(); - return name.startsWith(this.f590c) ? name.substring(this.f590c.length() - 1) : name; + return name.startsWith(this.f561c) ? name.substring(this.f561c.length() - 1) : name; } } diff --git a/app/src/main/java/c/g/a/c/e0/h/j.java b/app/src/main/java/c/g/a/c/e0/h/j.java index fe39609c83..88a76eafe6 100644 --- a/app/src/main/java/c/g/a/c/e0/h/j.java +++ b/app/src/main/java/c/g/a/c/e0/h/j.java @@ -76,9 +76,9 @@ public class j implements f { } eVar = new l(vVar, jVar, concurrentHashMap, null); } else if (ordinal != 4) { - StringBuilder O = c.d.b.a.a.O("Do not know how to construct standard type id resolver for idType: "); - O.append(this._idType); - throw new IllegalStateException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Do not know how to construct standard type id resolver for idType: "); + R.append(this._idType); + throw new IllegalStateException(R.toString()); } } eVar = new f(jVar, vVar._base._typeFactory, cVar); @@ -108,9 +108,9 @@ public class j implements f { if (ordinal2 == 4) { return new b(eVar, null, this._typeProperty); } - StringBuilder O2 = c.d.b.a.a.O("Do not know how to construct standard type serializer for inclusion type: "); - O2.append(this._includeAs); - throw new IllegalStateException(O2.toString()); + StringBuilder R2 = c.d.b.a.a.R("Do not know how to construct standard type serializer for inclusion type: "); + R2.append(this._includeAs); + throw new IllegalStateException(R2.toString()); } /* Return type fixed from 'c.g.a.c.e0.f' to match base method */ diff --git a/app/src/main/java/c/g/a/c/e0/h/l.java b/app/src/main/java/c/g/a/c/e0/h/l.java index 70de48b0e6..d9b5c829d1 100644 --- a/app/src/main/java/c/g/a/c/e0/h/l.java +++ b/app/src/main/java/c/g/a/c/e0/h/l.java @@ -11,13 +11,13 @@ import java.util.concurrent.ConcurrentHashMap; public class l extends k { /* renamed from: c reason: collision with root package name */ - public final c.g.a.c.z.l f591c; + public final c.g.a.c.z.l f562c; public final ConcurrentHashMap d; public final Map e; public l(c.g.a.c.z.l lVar, j jVar, ConcurrentHashMap concurrentHashMap, HashMap hashMap) { super(jVar, lVar._base._typeFactory); - this.f591c = lVar; + this.f562c = lVar; this.d = concurrentHashMap; this.e = hashMap; lVar.q(p.ACCEPT_CASE_INSENSITIVE_VALUES); @@ -47,8 +47,8 @@ public class l extends k { String str = this.d.get(name); if (str == null) { Class cls2 = this.a.b(null, cls, n.k)._class; - if (this.f591c.p()) { - str = this.f591c.e().O(((q) this.f591c.o(cls2)).f); + if (this.f562c.p()) { + str = this.f562c.e().O(((q) this.f562c.o(cls2)).f); } if (str == null) { str = d(cls2); diff --git a/app/src/main/java/c/g/a/c/e0/h/m.java b/app/src/main/java/c/g/a/c/e0/h/m.java index 68a33cb4e7..92c66efe0d 100644 --- a/app/src/main/java/c/g/a/c/e0/h/m.java +++ b/app/src/main/java/c/g/a/c/e0/h/m.java @@ -24,13 +24,13 @@ public abstract class m extends g { @Override // c.g.a.c.e0.g public b e(c.g.a.b.d dVar, b bVar) throws IOException { - if (bVar.f565c == null) { + if (bVar.f537c == null) { Object obj = bVar.a; Class cls = bVar.b; - bVar.f565c = cls == null ? this.a.a(obj) : this.a.c(obj, cls); + bVar.f537c = cls == null ? this.a.a(obj) : this.a.c(obj, cls); } Objects.requireNonNull(dVar); - Object obj2 = bVar.f565c; + Object obj2 = bVar.f537c; h hVar = bVar.f; String valueOf = obj2 instanceof String ? (String) obj2 : String.valueOf(obj2); bVar.g = true; @@ -46,18 +46,18 @@ public abstract class m extends g { int h = c.c.a.y.b.h(i); if (h == 1) { dVar.c0(); - dVar.z(valueOf); + dVar.y(valueOf); } else if (h == 2) { - dVar.e0(bVar.a); - dVar.z(bVar.d); - dVar.l0(valueOf); + dVar.d0(bVar.a); + dVar.y(bVar.d); + dVar.j0(valueOf); return bVar; } else if (!(h == 3 || h == 4)) { dVar.W(); - dVar.l0(valueOf); + dVar.j0(valueOf); } if (hVar == hVar2) { - dVar.e0(bVar.a); + dVar.d0(bVar.a); } else if (hVar == h.START_ARRAY) { dVar.W(); } @@ -69,7 +69,7 @@ public abstract class m extends g { Objects.requireNonNull(dVar); h hVar = bVar.f; if (hVar == h.START_OBJECT) { - dVar.w(); + dVar.u(); } else if (hVar == h.START_ARRAY) { dVar.t(); } @@ -79,12 +79,12 @@ public abstract class m extends g { dVar.t(); } else if (!(h == 2 || h == 3)) { if (h != 4) { - dVar.w(); + dVar.u(); } else { - Object obj = bVar.f565c; + Object obj = bVar.f537c; String valueOf = obj instanceof String ? (String) obj : String.valueOf(obj); - dVar.z(bVar.d); - dVar.l0(valueOf); + dVar.y(bVar.d); + dVar.j0(valueOf); } } } diff --git a/app/src/main/java/c/g/a/c/g0/a.java b/app/src/main/java/c/g/a/c/g0/a.java index 33fd21e573..5a79ee1164 100644 --- a/app/src/main/java/c/g/a/c/g0/a.java +++ b/app/src/main/java/c/g/a/c/g0/a.java @@ -12,13 +12,13 @@ public class a { public final i b; /* renamed from: c reason: collision with root package name */ - public n f592c; + public n f563c; public t d; public a(d dVar, i iVar, n nVar) { this.b = iVar; this.a = dVar; - this.f592c = nVar; + this.f563c = nVar; if (nVar instanceof t) { this.d = (t) nVar; } @@ -32,7 +32,7 @@ public class a { if (tVar != null) { tVar.u((Map) j, dVar, xVar); } else { - this.f592c.f(j, dVar, xVar); + this.f563c.f(j, dVar, xVar); } } else { xVar.f(this.a.getType(), String.format("Value returned by 'any-getter' %s() not java.util.Map but %s", this.b.c(), j.getClass().getName())); diff --git a/app/src/main/java/c/g/a/c/g0/b.java b/app/src/main/java/c/g/a/c/g0/b.java index a23f96d67e..70e2bfe571 100644 --- a/app/src/main/java/c/g/a/c/g0/b.java +++ b/app/src/main/java/c/g/a/c/g0/b.java @@ -185,7 +185,7 @@ public abstract class b extends q implements Serializable { } else if (cls == Character.TYPE) { cls = Character.class; } else { - throw new IllegalArgumentException(a.j(cls, a.O("Class "), " is not a primitive type")); + throw new IllegalArgumentException(a.n(cls, a.R("Class "), " is not a primitive type")); } } if (cls == Integer.class) { @@ -210,7 +210,7 @@ public abstract class b extends q implements Serializable { H = aVar; } if (H == null) { - c.g.a.c.c0.b0 b0Var = qVar.f582c; + c.g.a.c.c0.b0 b0Var = qVar.f553c; if (b0Var != null) { if (!b0Var.i) { b0Var.h(); diff --git a/app/src/main/java/c/g/a/c/g0/c.java b/app/src/main/java/c/g/a/c/g0/c.java index 7fd77afb1b..4a520a5252 100644 --- a/app/src/main/java/c/g/a/c/g0/c.java +++ b/app/src/main/java/c/g/a/c/g0/c.java @@ -141,8 +141,8 @@ public class c extends n implements Serializable { n q = xVar.q(k, this); dVar = new l.d(q, lVar.b(k._class, q)); } else { - n r2 = xVar.r(cls, this); - dVar = new l.d(r2, lVar.b(cls, r2)); + n r = xVar.r(cls, this); + dVar = new l.d(r, lVar.b(cls, r)); } l lVar2 = dVar.b; if (lVar != lVar2) { @@ -217,7 +217,7 @@ public class c extends n implements Serializable { if (nVar != null) { nVar.f(null, dVar, xVar); } else { - dVar.B(); + dVar.A(); } } else { n nVar2 = this._serializer; @@ -236,7 +236,7 @@ public class c extends n implements Serializable { nVar3.f(null, dVar, xVar); return; } else { - dVar.B(); + dVar.A(); return; } } @@ -246,7 +246,7 @@ public class c extends n implements Serializable { nVar4.f(null, dVar, xVar); return; } else { - dVar.B(); + dVar.A(); return; } } @@ -335,9 +335,9 @@ public class c extends n implements Serializable { if (this._serializer == null) { sb.append(", no static serializer"); } else { - StringBuilder O = c.d.b.a.a.O(", static serializer of type "); - O.append(this._serializer.getClass().getName()); - sb.append(O.toString()); + StringBuilder R = c.d.b.a.a.R(", static serializer of type "); + R.append(this._serializer.getClass().getName()); + sb.append(R.toString()); } sb.append(')'); return sb.toString(); diff --git a/app/src/main/java/c/g/a/c/g0/d.java b/app/src/main/java/c/g/a/c/g0/d.java index 5f70f231e5..83b4be9885 100644 --- a/app/src/main/java/c/g/a/c/g0/d.java +++ b/app/src/main/java/c/g/a/c/g0/d.java @@ -35,7 +35,7 @@ public class d extends c.g.a.c.g0.u.d { q(obj, dVar, xVar, true); return; } - dVar.e0(obj); + dVar.d0(obj); Object obj2 = this._propertyFilterId; if (obj2 != null) { if (this._filteredProps != null) { @@ -45,7 +45,7 @@ public class d extends c.g.a.c.g0.u.d { throw null; } u(obj, dVar, xVar); - dVar.w(); + dVar.u(); } @Override // c.g.a.c.n @@ -60,9 +60,9 @@ public class d extends c.g.a.c.g0.u.d { @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("BeanSerializer for "); - O.append(this._handledType.getName()); - return O.toString(); + StringBuilder R = a.R("BeanSerializer for "); + R.append(this._handledType.getName()); + return R.toString(); } @Override // c.g.a.c.g0.u.d diff --git a/app/src/main/java/c/g/a/c/g0/e.java b/app/src/main/java/c/g/a/c/g0/e.java index 9d2f4a308e..fe0923c51a 100644 --- a/app/src/main/java/c/g/a/c/g0/e.java +++ b/app/src/main/java/c/g/a/c/g0/e.java @@ -14,7 +14,7 @@ public class e { public final c b; /* renamed from: c reason: collision with root package name */ - public v f593c; + public v f564c; public List d = Collections.emptyList(); public c[] e; public a f; @@ -28,20 +28,20 @@ public class e { public n a() { c[] cVarArr; - if (this.h != null && this.f593c.q(p.CAN_OVERRIDE_ACCESS_MODIFIERS)) { - this.h.f(this.f593c.q(p.OVERRIDE_PUBLIC_ACCESS_MODIFIERS)); + if (this.h != null && this.f564c.q(p.CAN_OVERRIDE_ACCESS_MODIFIERS)) { + this.h.f(this.f564c.q(p.OVERRIDE_PUBLIC_ACCESS_MODIFIERS)); } a aVar = this.f; if (aVar != null) { - aVar.b.f(this.f593c.q(p.OVERRIDE_PUBLIC_ACCESS_MODIFIERS)); + aVar.b.f(this.f564c.q(p.OVERRIDE_PUBLIC_ACCESS_MODIFIERS)); } List list = this.d; if (list != null && !list.isEmpty()) { List list2 = this.d; cVarArr = (c[]) list2.toArray(new c[list2.size()]); - if (this.f593c.q(p.CAN_OVERRIDE_ACCESS_MODIFIERS)) { + if (this.f564c.q(p.CAN_OVERRIDE_ACCESS_MODIFIERS)) { for (c cVar : cVarArr) { - cVar._member.f(this.f593c.q(p.OVERRIDE_PUBLIC_ACCESS_MODIFIERS)); + cVar._member.f(this.f564c.q(p.OVERRIDE_PUBLIC_ACCESS_MODIFIERS)); } } } else if (this.f == null && this.i == null) { diff --git a/app/src/main/java/c/g/a/c/g0/f.java b/app/src/main/java/c/g/a/c/g0/f.java index 96f5318b50..bd4a9071ec 100644 --- a/app/src/main/java/c/g/a/c/g0/f.java +++ b/app/src/main/java/c/g/a/c/g0/f.java @@ -105,14 +105,14 @@ public class f extends b implements Serializable { Objects.requireNonNull(qVar.d._base); eVar = (e) d.g(cls, qVar.d.b()); } else { - throw new IllegalStateException(a.j(cls, a.O("AnnotationIntrospector returned Class "), "; expected Class")); + throw new IllegalStateException(a.n(cls, a.R("AnnotationIntrospector returned Class "), "; expected Class")); } } } else { - StringBuilder O = a.O("AnnotationIntrospector returned Converter definition of type "); - O.append(H.getClass().getName()); - O.append("; expected type Converter or Class instead"); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("AnnotationIntrospector returned Converter definition of type "); + R.append(H.getClass().getName()); + R.append("; expected type Converter or Class instead"); + throw new IllegalStateException(R.toString()); } } if (eVar == null) { @@ -233,13 +233,13 @@ public class f extends b implements Serializable { } c.g.a.c.i0.d.w(e); c.g.a.c.i0.d.x(e); - StringBuilder O = a.O("Failed to instantiate bean of type "); - O.append(qVar.f.k.getName()); - O.append(": ("); - O.append(e.getClass().getName()); - O.append(") "); - O.append(c.g.a.c.i0.d.h(e)); - throw new IllegalArgumentException(O.toString(), e); + StringBuilder R = a.R("Failed to instantiate bean of type "); + R.append(qVar.f.k.getName()); + R.append(": ("); + R.append(e.getClass().getName()); + R.append(") "); + R.append(c.g.a.c.i0.d.h(e)); + throw new IllegalArgumentException(R.toString(), e); } } if (obj4 == null) { @@ -257,7 +257,7 @@ public class f extends b implements Serializable { z5 = false; if (obj2 != null) { if (obj2.getClass().isArray()) { - obj2 = c.c.a.a0.d.s0(obj2); + obj2 = c.c.a.a0.d.p0(obj2); } obj3 = obj2; z3 = z5; @@ -265,11 +265,11 @@ public class f extends b implements Serializable { i = sVar.i(); if (i == null) { } - c cVar2 = new c(sVar, iVar, ((q) lVar.b).f.s, e, y2, c2, a, z3, obj, i); - q = lVar.f594c.q(iVar); + c cVar2 = new c(sVar, iVar, ((q) lVar.b).f.f543s, e, y2, c2, a, z3, obj, i); + q = lVar.f565c.q(iVar); if (q != null) { } - c.g.a.c.i0.n Q = lVar.f594c.Q(iVar); + c.g.a.c.i0.n Q = lVar.f565c.Q(iVar); if (Q == null) { } } @@ -281,14 +281,14 @@ public class f extends b implements Serializable { } c.g.a.c.i0.d.w(e); c.g.a.c.i0.d.x(e); - StringBuilder U = a.U("Failed to get property '", p, "' of default "); - U.append(obj5.getClass().getName()); - U.append(" instance"); - throw new IllegalArgumentException(U.toString()); + StringBuilder W = a.W("Failed to get property '", p, "' of default "); + W.append(obj5.getClass().getName()); + W.append(" instance"); + throw new IllegalArgumentException(W.toString()); } } } - obj2 = c.c.a.a0.d.v0(jVar); + obj2 = c.c.a.a0.d.s0(jVar); z5 = true; if (obj2 != null) { } @@ -305,20 +305,20 @@ public class f extends b implements Serializable { if (!qVar2.h) { qVar2.h = true; b bVar5 = qVar2.e; - Class[] R = bVar5 == null ? null : bVar5.R(qVar2.f); - if (R == null && !qVar2.d.q(c.g.a.c.p.DEFAULT_VIEW_INCLUSION)) { - R = q.b; + Class[] R2 = bVar5 == null ? null : bVar5.R(qVar2.f); + if (R2 == null && !qVar2.d.q(c.g.a.c.p.DEFAULT_VIEW_INCLUSION)) { + R2 = q.b; } - qVar2.g = R; + qVar2.g = R2; } i = qVar2.g; } - c cVar2 = new c(sVar, iVar, ((q) lVar.b).f.s, e, y2, c2, a, z3, obj, i); - q = lVar.f594c.q(iVar); + c cVar2 = new c(sVar, iVar, ((q) lVar.b).f.f543s, e, y2, c2, a, z3, obj, i); + q = lVar.f565c.q(iVar); if (q != null) { cVar2.e(xVar.H(iVar, q)); } - c.g.a.c.i0.n Q = lVar.f594c.Q(iVar); + c.g.a.c.i0.n Q = lVar.f565c.Q(iVar); return Q == null ? new c.g.a.c.g0.t.s(cVar2, Q) : cVar2; } } @@ -335,11 +335,11 @@ public class f extends b implements Serializable { i = sVar.i(); if (i == null) { } - c cVar2 = new c(sVar, iVar, ((q) lVar.b).f.s, e, y2, c2, a, z3, obj, i); - q = lVar.f594c.q(iVar); + c cVar2 = new c(sVar, iVar, ((q) lVar.b).f.f543s, e, y2, c2, a, z3, obj, i); + q = lVar.f565c.q(iVar); if (q != null) { } - c.g.a.c.i0.n Q = lVar.f594c.Q(iVar); + c.g.a.c.i0.n Q = lVar.f565c.Q(iVar); if (Q == null) { } } @@ -348,11 +348,11 @@ public class f extends b implements Serializable { i = sVar.i(); if (i == null) { } - c cVar2 = new c(sVar, iVar, ((q) lVar.b).f.s, e, y2, c2, a, z3, obj, i); - q = lVar.f594c.q(iVar); + c cVar2 = new c(sVar, iVar, ((q) lVar.b).f.f543s, e, y2, c2, a, z3, obj, i); + q = lVar.f565c.q(iVar); if (q != null) { } - c.g.a.c.i0.n Q = lVar.f594c.Q(iVar); + c.g.a.c.i0.n Q = lVar.f565c.Q(iVar); if (Q == null) { } } else { @@ -366,11 +366,11 @@ public class f extends b implements Serializable { i = sVar.i(); if (i == null) { } - c cVar2 = new c(sVar, iVar, ((q) lVar.b).f.s, e, y2, c2, a, z3, obj, i); - q = lVar.f594c.q(iVar); + c cVar2 = new c(sVar, iVar, ((q) lVar.b).f.f543s, e, y2, c2, a, z3, obj, i); + q = lVar.f565c.q(iVar); if (q != null) { } - c.g.a.c.i0.n Q = lVar.f594c.Q(iVar); + c.g.a.c.i0.n Q = lVar.f565c.Q(iVar); if (Q == null) { } } else { @@ -380,11 +380,11 @@ public class f extends b implements Serializable { i = sVar.i(); if (i == null) { } - c cVar2 = new c(sVar, iVar, ((q) lVar.b).f.s, e, y2, c2, a, z3, obj, i); - q = lVar.f594c.q(iVar); + c cVar2 = new c(sVar, iVar, ((q) lVar.b).f.f543s, e, y2, c2, a, z3, obj, i); + q = lVar.f565c.q(iVar); if (q != null) { } - c.g.a.c.i0.n Q = lVar.f594c.Q(iVar); + c.g.a.c.i0.n Q = lVar.f565c.Q(iVar); if (Q == null) { } } @@ -522,19 +522,19 @@ public class f extends b implements Serializable { } if (nVar6 == null && (nVar6 = e(xVar, gVar3, cVar5)) == null) { Object g2 = vVar.e().g(qVar.f); - n.a s = vVar.s(Map.class, qVar.f); - Set d = s == null ? null : s.d(); + n.a s2 = vVar.s(Map.class, qVar.f); + Set d = s2 == null ? null : s2.d(); c.g.a.c.c0.c cVar9 = qVar.f; b e = vVar.e(); q.a A = e == null ? null : e.A(vVar, cVar9); - c.g.a.c.g0.u.t s2 = c.g.a.c.g0.u.t.s(d, A == null ? null : A._included, gVar3, z11, gVar2, H2, nVar5, g2); - j jVar3 = s2._valueType; + c.g.a.c.g0.u.t s3 = c.g.a.c.g0.u.t.s(d, A == null ? null : A._included, gVar3, z11, gVar2, H2, nVar5, g2); + j jVar3 = s3._valueType; p.b d2 = d(xVar, cVar5, jVar3, Map.class); p.a aVar5 = d2 == null ? aVar4 : d2._contentInclusion; if (aVar5 == aVar4 || aVar5 == aVar3) { - nVar = s2; + nVar = s3; if (!xVar.D(w.WRITE_NULL_MAP_VALUES)) { - nVar = s2.v(null, true); + nVar = s3.v(null, true); } } else { int ordinal2 = aVar5.ordinal(); @@ -544,7 +544,7 @@ public class f extends b implements Serializable { } z12 = true; obj3 = null; - nVar = s2.v(obj3, z12); + nVar = s3.v(obj3, z12); } else if (ordinal2 == 3) { obj3 = c.g.a.c.g0.u.t.k; } else if (ordinal2 != 4) { @@ -552,20 +552,20 @@ public class f extends b implements Serializable { obj3 = xVar.A(null, d2._contentFilter); if (obj3 != null) { z12 = xVar.B(obj3); - nVar = s2.v(obj3, z12); + nVar = s3.v(obj3, z12); } } z12 = true; obj3 = null; - nVar = s2.v(obj3, z12); + nVar = s3.v(obj3, z12); } else { - obj3 = c.c.a.a0.d.v0(jVar3); + obj3 = c.c.a.a0.d.s0(jVar3); if (obj3 != null && obj3.getClass().isArray()) { - obj3 = c.c.a.a0.d.s0(obj3); + obj3 = c.c.a.a0.d.p0(obj3); } } z12 = true; - nVar = s2.v(obj3, z12); + nVar = s3.v(obj3, z12); } } else { nVar = nVar6; @@ -792,9 +792,9 @@ public class f extends b implements Serializable { if (ordinal3 == 3) { obj2 = c.g.a.c.g0.u.t.k; } else if (ordinal3 == 4) { - obj2 = c.c.a.a0.d.v0(jVar6); + obj2 = c.c.a.a0.d.s0(jVar6); if (obj2 != null && obj2.getClass().isArray()) { - obj2 = c.c.a.a0.d.s0(obj2); + obj2 = c.c.a.a0.d.p0(obj2); } } else if (ordinal3 == 5) { obj2 = xVar.A(null, d3._contentFilter); @@ -902,9 +902,9 @@ public class f extends b implements Serializable { if (ordinal4 == i) { obj = c.g.a.c.g0.u.t.k; } else if (ordinal4 == 4) { - obj = c.c.a.a0.d.v0(jVar7); + obj = c.c.a.a0.d.s0(jVar7); if (obj != null && obj.getClass().isArray()) { - obj = c.c.a.a0.d.s0(obj); + obj = c.c.a.a0.d.p0(obj); } } else if (ordinal4 == 5) { obj = xVar.A(null, d4._contentFilter); @@ -960,7 +960,7 @@ public class f extends b implements Serializable { } else { v vVar9 = xVar._config; e eVar2 = new e(cVar3); - eVar2.f593c = vVar9; + eVar2.f564c = vVar9; c.g.a.c.c0.q qVar3 = (c.g.a.c.c0.q) cVar3; List d5 = qVar3.d(); v vVar10 = xVar._config; @@ -972,15 +972,15 @@ public class f extends b implements Serializable { if (next.j() == null) { it2.remove(); } else { - Class r2 = next.r(); - Boolean bool = (Boolean) hashMap.get(r2); + Class r = next.r(); + Boolean bool = (Boolean) hashMap.get(r); if (bool == null) { - vVar10.f(r2); - bool = e2.c0(((c.g.a.c.c0.q) vVar10.o(r2)).f); + vVar10.f(r); + bool = e2.c0(((c.g.a.c.c0.q) vVar10.o(r)).f); if (bool == null) { bool = Boolean.FALSE; } - hashMap.put(r2, bool); + hashMap.put(r, bool); } if (bool.booleanValue()) { it2.remove(); @@ -1031,11 +1031,11 @@ public class f extends b implements Serializable { } else if (eVar2.h == null) { eVar2.h = j; } else { - StringBuilder O = a.O("Multiple type ids specified with "); - O.append(eVar2.h); - O.append(" and "); - O.append(j); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Multiple type ids specified with "); + R.append(eVar2.h); + R.append(" and "); + R.append(j); + throw new IllegalArgumentException(R.toString()); } } z4 = z13; @@ -1084,8 +1084,8 @@ public class f extends b implements Serializable { Objects.requireNonNull((g) bVar14.next()); } } - n.a s3 = vVar9.s(cVar3.a._class, qVar3.f); - Set d6 = s3 != null ? s3.d() : null; + n.a s4 = vVar9.s(cVar3.a._class, qVar3.f); + Set d6 = s4 != null ? s4.d() : null; Class cls11 = cVar3.a._class; c.g.a.c.c0.c cVar13 = qVar3.f; b e3 = vVar9.e(); @@ -1094,7 +1094,7 @@ public class f extends b implements Serializable { if (set != null || (d6 != null && !d6.isEmpty())) { Iterator it5 = arrayList.iterator(); while (it5.hasNext()) { - if (c.c.a.a0.d.a2(((c) it5.next())._name._value, d6, set)) { + if (c.c.a.a0.d.Z1(((c) it5.next())._name._value, d6, set)) { it5.remove(); } } @@ -1109,7 +1109,7 @@ public class f extends b implements Serializable { if (a0Var == null) { jVar2 = null; } else { - Class> cls12 = a0Var.f568c; + Class> cls12 = a0Var.f540c; if (cls12 == l0.class) { String str4 = a0Var.b._simpleName; int size3 = arrayList.size(); @@ -1133,7 +1133,7 @@ public class f extends b implements Serializable { eVar2.i = jVar2; eVar2.d = arrayList; eVar2.g = vVar9.e().g(qVar3.f); - b0 b0Var = qVar3.f582c; + b0 b0Var = qVar3.f553c; if (b0Var != null) { if (!b0Var.i) { b0Var.h(); @@ -1148,7 +1148,7 @@ public class f extends b implements Serializable { throw null; } if (iVar == null) { - b0 b0Var2 = qVar3.f582c; + b0 b0Var2 = qVar3.f553c; if (!b0Var2.i) { b0Var2.h(); } @@ -1233,7 +1233,7 @@ public class f extends b implements Serializable { nVar = CharSequence.class.isAssignableFrom(cls13) ? t0.j : null; } if (nVar == null) { - if (qVar3.f.s.size() > 0) { + if (qVar3.f.f543s.size() > 0) { nVar = new d(eVar2.b.a, eVar2, c.g.a.c.g0.u.d.j, null); } } diff --git a/app/src/main/java/c/g/a/c/g0/j.java b/app/src/main/java/c/g/a/c/g0/j.java index 07925b5136..5763270f8a 100644 --- a/app/src/main/java/c/g/a/c/g0/j.java +++ b/app/src/main/java/c/g/a/c/g0/j.java @@ -91,18 +91,18 @@ public abstract class j extends x implements Serializable { nVar = (n) c.g.a.c.i0.d.g(cls, this._config.b()); } else { c.g.a.c.j e = bVar.e(); - StringBuilder O = c.d.b.a.a.O("AnnotationIntrospector returned Class "); - O.append(cls.getName()); - O.append("; expected Class"); - f(e, O.toString()); + StringBuilder R = c.d.b.a.a.R("AnnotationIntrospector returned Class "); + R.append(cls.getName()); + R.append("; expected Class"); + f(e, R.toString()); throw null; } } else { c.g.a.c.j e2 = bVar.e(); - StringBuilder O2 = c.d.b.a.a.O("AnnotationIntrospector returned serializer definition of type "); - O2.append(obj.getClass().getName()); - O2.append("; expected type JsonSerializer or Class instead"); - f(e2, O2.toString()); + StringBuilder R2 = c.d.b.a.a.R("AnnotationIntrospector returned serializer definition of type "); + R2.append(obj.getClass().getName()); + R2.append("; expected type JsonSerializer or Class instead"); + f(e2, R2.toString()); throw null; } if (nVar instanceof o) { @@ -122,7 +122,7 @@ public abstract class j extends x implements Serializable { } dVar.x(kVar); nVar.f(obj, dVar, this); - dVar.w(); + dVar.u(); } catch (Exception e) { throw J(dVar, e); } @@ -134,10 +134,10 @@ public abstract class j extends x implements Serializable { } String h = c.g.a.c.i0.d.h(exc); if (h == null) { - StringBuilder O = c.d.b.a.a.O("[no message for "); - O.append(exc.getClass().getName()); - O.append("]"); - h = O.toString(); + StringBuilder R = c.d.b.a.a.R("[no message for "); + R.append(exc.getClass().getName()); + R.append("]"); + h = R.toString(); } return new JsonMappingException(dVar, h, exc); } @@ -164,13 +164,13 @@ public abstract class j extends x implements Serializable { m mVar = this._knownSerializers; m.a aVar = mVar.a[mVar.b & (cls.getName().hashCode() + 1)]; if (aVar != null) { - if (!(aVar.f598c == cls && aVar.e)) { + if (!(aVar.f569c == cls && aVar.e)) { while (true) { aVar = aVar.b; if (aVar == null) { break; } - if (aVar.f598c != cls || !aVar.e) { + if (aVar.f569c != cls || !aVar.e) { z2 = false; continue; } else { diff --git a/app/src/main/java/c/g/a/c/g0/l.java b/app/src/main/java/c/g/a/c/g0/l.java index 4083eb88d9..64210dc3bc 100644 --- a/app/src/main/java/c/g/a/c/g0/l.java +++ b/app/src/main/java/c/g/a/c/g0/l.java @@ -14,7 +14,7 @@ public class l { public final c b; /* renamed from: c reason: collision with root package name */ - public final b f594c; + public final b f565c; public Object d; public final p.b e; public final boolean f; @@ -30,28 +30,28 @@ public class l { p.b bVar3 = vVar._configOverrides._defaultInclusion; this.e = bVar3 == null ? bVar2 : bVar3.a(bVar2); this.f = bVar2._valueInclusion == p.a.NON_DEFAULT; - this.f594c = vVar.e(); + this.f565c = vVar.e(); } public j a(c.g.a.c.c0.b bVar, boolean z2, j jVar) throws JsonMappingException { - j e02 = this.f594c.e0(this.a, bVar, jVar); + j e02 = this.f565c.e0(this.a, bVar, jVar); boolean z3 = true; if (e02 != jVar) { Class cls = e02._class; Class cls2 = jVar._class; if (!cls.isAssignableFrom(cls2) && !cls2.isAssignableFrom(cls)) { - StringBuilder O = a.O("Illegal concrete-type annotation for method '"); - O.append(bVar.c()); - O.append("': class "); - O.append(cls.getName()); - O.append(" not a super-type of (declared) class "); - O.append(cls2.getName()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Illegal concrete-type annotation for method '"); + R.append(bVar.c()); + R.append("': class "); + R.append(cls.getName()); + R.append(" not a super-type of (declared) class "); + R.append(cls2.getName()); + throw new IllegalArgumentException(R.toString()); } z2 = true; jVar = e02; } - e.b K = this.f594c.K(bVar); + e.b K = this.f565c.K(bVar); if (!(K == null || K == e.b.DEFAULT_TYPING)) { if (K != e.b.STATIC) { z3 = false; diff --git a/app/src/main/java/c/g/a/c/g0/s.java b/app/src/main/java/c/g/a/c/g0/s.java index ab4bed25dc..688908877f 100644 --- a/app/src/main/java/c/g/a/c/g0/s.java +++ b/app/src/main/java/c/g/a/c/g0/s.java @@ -52,7 +52,7 @@ public abstract class s extends c implements Serializable { if (nVar != null) { nVar.f(null, dVar, xVar); } else { - dVar.B(); + dVar.A(); } } else { n nVar2 = this._serializer; @@ -71,7 +71,7 @@ public abstract class s extends c implements Serializable { nVar3.f(null, dVar, xVar); return; } else { - dVar.B(); + dVar.A(); return; } } @@ -81,7 +81,7 @@ public abstract class s extends c implements Serializable { nVar4.f(null, dVar, xVar); return; } else { - dVar.B(); + dVar.A(); return; } } diff --git a/app/src/main/java/c/g/a/c/g0/t/b.java b/app/src/main/java/c/g/a/c/g0/t/b.java index c38e81f996..7d376e1c2b 100644 --- a/app/src/main/java/c/g/a/c/g0/t/b.java +++ b/app/src/main/java/c/g/a/c/g0/t/b.java @@ -47,7 +47,7 @@ public class b extends d { return; } } - dVar.a0(obj); + dVar.X(obj); z(obj, dVar, xVar); dVar.t(); } @@ -58,11 +58,11 @@ public class b extends d { p(obj, dVar, xVar, gVar); return; } - c.g.a.b.s.b r2 = r(gVar, obj, h.START_ARRAY); - gVar.e(dVar, r2); + c.g.a.b.s.b r = r(gVar, obj, h.START_ARRAY); + gVar.e(dVar, r); dVar.e(obj); z(obj, dVar, xVar); - gVar.f(dVar, r2); + gVar.f(dVar, r); } @Override // c.g.a.c.n @@ -77,9 +77,9 @@ public class b extends d { @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("BeanAsArraySerializer for "); - O.append(this._handledType.getName()); - return O.toString(); + StringBuilder R = a.R("BeanAsArraySerializer for "); + R.append(this._handledType.getName()); + return R.toString(); } @Override // c.g.a.c.g0.u.d @@ -111,7 +111,7 @@ public class b extends d { try { for (c cVar : cVarArr) { if (cVar == null) { - dVar.B(); + dVar.A(); } else { cVar.h(obj, dVar, xVar); } diff --git a/app/src/main/java/c/g/a/c/g0/t/d.java b/app/src/main/java/c/g/a/c/g0/t/d.java index a5b0a89efb..e133df5331 100644 --- a/app/src/main/java/c/g/a/c/g0/t/d.java +++ b/app/src/main/java/c/g/a/c/g0/t/d.java @@ -42,7 +42,7 @@ public final class d extends c implements Serializable { if (nVar != null) { nVar.f(null, dVar, xVar); } else { - dVar.B(); + dVar.A(); } } diff --git a/app/src/main/java/c/g/a/c/g0/t/e.java b/app/src/main/java/c/g/a/c/g0/t/e.java index 015dd9e2be..5e49a0eaad 100644 --- a/app/src/main/java/c/g/a/c/g0/t/e.java +++ b/app/src/main/java/c/g/a/c/g0/t/e.java @@ -44,7 +44,7 @@ public final class e extends c implements Serializable { if (nVar != null) { nVar.f(null, dVar, xVar); } else { - dVar.B(); + dVar.A(); } } diff --git a/app/src/main/java/c/g/a/c/g0/t/g.java b/app/src/main/java/c/g/a/c/g0/t/g.java index 64b5a448d3..0790d55c9a 100644 --- a/app/src/main/java/c/g/a/c/g0/t/g.java +++ b/app/src/main/java/c/g/a/c/g0/t/g.java @@ -49,7 +49,7 @@ public final class g extends h0> { if (str == null) { xVar.l(dVar); } else { - dVar.l0(str); + dVar.j0(str); } } catch (Exception e) { n(xVar, e, list, i2); diff --git a/app/src/main/java/c/g/a/c/g0/t/h.java b/app/src/main/java/c/g/a/c/g0/t/h.java index 179e576d77..a4946c2c4c 100644 --- a/app/src/main/java/c/g/a/c/g0/t/h.java +++ b/app/src/main/java/c/g/a/c/g0/t/h.java @@ -29,7 +29,7 @@ public class h extends b> { @Override // c.g.a.c.g0.u.b, c.g.a.c.n public void f(Object obj, c.g.a.b.d dVar, x xVar) throws IOException { Iterator it = (Iterator) obj; - dVar.a0(it); + dVar.X(it); s(it, dVar, xVar); dVar.t(); } diff --git a/app/src/main/java/c/g/a/c/g0/t/i.java b/app/src/main/java/c/g/a/c/g0/t/i.java index aef154a29b..db0226ae33 100644 --- a/app/src/main/java/c/g/a/c/g0/t/i.java +++ b/app/src/main/java/c/g/a/c/g0/t/i.java @@ -100,9 +100,9 @@ public class i extends h> implements c.g.a.c.g0.i { if (ordinal != 2) { if (ordinal != 3) { if (ordinal == 4) { - obj2 = c.c.a.a0.d.v0(this._valueType); + obj2 = c.c.a.a0.d.s0(this._valueType); if (obj2 != null && obj2.getClass().isArray()) { - obj2 = c.c.a.a0.d.s0(obj2); + obj2 = c.c.a.a0.d.p0(obj2); } } else if (ordinal != 5) { obj = null; @@ -164,9 +164,9 @@ public class i extends h> implements c.g.a.c.g0.i { @Override // c.g.a.c.n public void f(Object obj, c.g.a.b.d dVar, x xVar) throws IOException { Map.Entry entry = (Map.Entry) obj; - dVar.e0(entry); + dVar.d0(entry); r(entry, dVar, xVar); - dVar.w(); + dVar.u(); } @Override // c.g.a.c.n @@ -230,7 +230,7 @@ public class i extends h> implements c.g.a.c.g0.i { try { nVar.f(value, dVar, xVar); } catch (Exception e) { - o(xVar, e, entry, c.d.b.a.a.t("", key)); + o(xVar, e, entry, c.d.b.a.a.u("", key)); throw null; } } else { diff --git a/app/src/main/java/c/g/a/c/g0/t/j.java b/app/src/main/java/c/g/a/c/g0/t/j.java index 2ba2411653..8af09b14a6 100644 --- a/app/src/main/java/c/g/a/c/g0/t/j.java +++ b/app/src/main/java/c/g/a/c/g0/t/j.java @@ -10,14 +10,14 @@ public final class j { public final k b; /* renamed from: c reason: collision with root package name */ - public final i0 f595c; + public final i0 f566c; public final n d; public final boolean e; public j(c.g.a.c.j jVar, k kVar, i0 i0Var, n nVar, boolean z2) { this.a = jVar; this.b = kVar; - this.f595c = i0Var; + this.f566c = i0Var; this.d = nVar; this.e = z2; } diff --git a/app/src/main/java/c/g/a/c/g0/t/k.java b/app/src/main/java/c/g/a/c/g0/t/k.java index e2067d3c50..fca6b5bac9 100644 --- a/app/src/main/java/c/g/a/c/g0/t/k.java +++ b/app/src/main/java/c/g/a/c/g0/t/k.java @@ -44,11 +44,11 @@ public class k extends l0 { } catch (RuntimeException e) { throw e; } catch (Exception e2) { - StringBuilder O = a.O("Problem accessing property '"); - O.append(this._property._name._value); - O.append("': "); - O.append(e2.getMessage()); - throw new IllegalStateException(O.toString(), e2); + StringBuilder R = a.R("Problem accessing property '"); + R.append(this._property._name._value); + R.append("': "); + R.append(e2.getMessage()); + throw new IllegalStateException(R.toString(), e2); } } diff --git a/app/src/main/java/c/g/a/c/g0/t/l.java b/app/src/main/java/c/g/a/c/g0/t/l.java index 193ab8c4c6..b146312df7 100644 --- a/app/src/main/java/c/g/a/c/g0/t/l.java +++ b/app/src/main/java/c/g/a/c/g0/t/l.java @@ -14,7 +14,7 @@ public abstract class l { public final Class b; /* renamed from: c reason: collision with root package name */ - public final Class f596c; + public final Class f567c; public final n d; public final n e; @@ -22,13 +22,13 @@ public abstract class l { super(lVar); this.b = cls; this.d = nVar; - this.f596c = cls2; + this.f567c = cls2; this.e = nVar2; } @Override // c.g.a.c.g0.t.l public l b(Class cls, n nVar) { - return new c(this, new f[]{new f(this.b, this.d), new f(this.f596c, this.e), new f(cls, nVar)}); + return new c(this, new f[]{new f(this.b, this.d), new f(this.f567c, this.e), new f(cls, nVar)}); } @Override // c.g.a.c.g0.t.l @@ -36,7 +36,7 @@ public abstract class l { if (cls == this.b) { return this.d; } - if (cls == this.f596c) { + if (cls == this.f567c) { return this.e; } return null; @@ -190,23 +190,23 @@ public abstract class l { public final Class b; /* renamed from: c reason: collision with root package name */ - public final n f597c; + public final n f568c; public e(l lVar, Class cls, n nVar) { super(lVar); this.b = cls; - this.f597c = nVar; + this.f568c = nVar; } @Override // c.g.a.c.g0.t.l public l b(Class cls, n nVar) { - return new a(this, this.b, this.f597c, cls, nVar); + return new a(this, this.b, this.f568c, cls, nVar); } @Override // c.g.a.c.g0.t.l public n c(Class cls) { if (cls == this.b) { - return this.f597c; + return this.f568c; } return null; } diff --git a/app/src/main/java/c/g/a/c/g0/t/m.java b/app/src/main/java/c/g/a/c/g0/t/m.java index 108859d4c3..aaf3049954 100644 --- a/app/src/main/java/c/g/a/c/g0/t/m.java +++ b/app/src/main/java/c/g/a/c/g0/t/m.java @@ -15,7 +15,7 @@ public final class m { public final a b; /* renamed from: c reason: collision with root package name */ - public final Class f598c; + public final Class f569c; public final j d; public final boolean e; @@ -23,8 +23,8 @@ public final class m { this.b = aVar; this.a = nVar; this.e = uVar.d; - this.f598c = uVar.b; - this.d = uVar.f618c; + this.f569c = uVar.b; + this.d = uVar.f587c; } } @@ -75,7 +75,7 @@ public final class m { if (aVar == null) { return null; } - if (aVar.f598c == cls && !aVar.e) { + if (aVar.f569c == cls && !aVar.e) { return aVar.a; } do { @@ -83,7 +83,7 @@ public final class m { if (aVar == null) { return null; } - if (aVar.f598c != cls || aVar.e) { + if (aVar.f569c != cls || aVar.e) { z2 = false; continue; } else { diff --git a/app/src/main/java/c/g/a/c/g0/t/n.java b/app/src/main/java/c/g/a/c/g0/t/n.java index f94d08608e..59717c3f0c 100644 --- a/app/src/main/java/c/g/a/c/g0/t/n.java +++ b/app/src/main/java/c/g/a/c/g0/t/n.java @@ -133,9 +133,9 @@ public class n extends c.g.a.c.g0.u.a implements i { } while (i < length) { if (strArr[i] == null) { - dVar.B(); + dVar.A(); } else { - dVar.l0(strArr[i]); + dVar.j0(strArr[i]); } i++; } diff --git a/app/src/main/java/c/g/a/c/g0/t/o.java b/app/src/main/java/c/g/a/c/g0/t/o.java index 756a76d0e4..0d879bd308 100644 --- a/app/src/main/java/c/g/a/c/g0/t/o.java +++ b/app/src/main/java/c/g/a/c/g0/t/o.java @@ -66,7 +66,7 @@ public class o extends h0> { if (str == null) { xVar.l(dVar); } else { - dVar.l0(str); + dVar.j0(str); } i++; } diff --git a/app/src/main/java/c/g/a/c/g0/t/q.java b/app/src/main/java/c/g/a/c/g0/t/q.java index b55f9cbe8a..ee5c4c2b0c 100644 --- a/app/src/main/java/c/g/a/c/g0/t/q.java +++ b/app/src/main/java/c/g/a/c/g0/t/q.java @@ -29,7 +29,7 @@ public class q extends q0 { p(xVar, obj); } dVar.f0(obj, 0); - dVar.w(); + dVar.u(); } @Override // c.g.a.c.n diff --git a/app/src/main/java/c/g/a/c/g0/t/t.java b/app/src/main/java/c/g/a/c/g0/t/t.java index b8d3ea08da..8cac5568ce 100644 --- a/app/src/main/java/c/g/a/c/g0/t/t.java +++ b/app/src/main/java/c/g/a/c/g0/t/t.java @@ -89,9 +89,9 @@ public class t extends d implements Serializable { @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("UnwrappingBeanSerializer for "); - O.append(this._handledType.getName()); - return O.toString(); + StringBuilder R = a.R("UnwrappingBeanSerializer for "); + R.append(this._handledType.getName()); + return R.toString(); } @Override // c.g.a.c.g0.u.d diff --git a/app/src/main/java/c/g/a/c/g0/t/u.java b/app/src/main/java/c/g/a/c/g0/t/u.java index 3a87fb8577..5b91f97872 100644 --- a/app/src/main/java/c/g/a/c/g0/t/u.java +++ b/app/src/main/java/c/g/a/c/g0/t/u.java @@ -11,7 +11,7 @@ public final class u { public Object b; /* renamed from: c reason: collision with root package name */ - public boolean f599c = false; + public boolean f570c = false; public u(i0 i0Var) { this.a = i0Var; @@ -21,7 +21,7 @@ public final class u { if (this.b == null) { return false; } - if (!this.f599c && !jVar.e) { + if (!this.f570c && !jVar.e) { return false; } Objects.requireNonNull(dVar); diff --git a/app/src/main/java/c/g/a/c/g0/u/a.java b/app/src/main/java/c/g/a/c/g0/u/a.java index 9f57de47b3..787c311146 100644 --- a/app/src/main/java/c/g/a/c/g0/u/a.java +++ b/app/src/main/java/c/g/a/c/g0/u/a.java @@ -44,7 +44,7 @@ public abstract class a extends h implements i { @Override // c.g.a.c.n public void f(T t, c.g.a.b.d dVar, x xVar) throws IOException { if (!r(xVar) || !q(t)) { - dVar.a0(t); + dVar.X(t); t(t, dVar, xVar); dVar.t(); return; diff --git a/app/src/main/java/c/g/a/c/g0/u/b.java b/app/src/main/java/c/g/a/c/g0/u/b.java index 8e390e0a58..143be9b1cd 100644 --- a/app/src/main/java/c/g/a/c/g0/u/b.java +++ b/app/src/main/java/c/g/a/c/g0/u/b.java @@ -98,7 +98,7 @@ public abstract class b extends h implements i { @Override // c.g.a.c.n public void f(T t, c.g.a.b.d dVar, x xVar) throws IOException { if (!xVar.D(w.WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED) || !q(t)) { - dVar.a0(t); + dVar.X(t); s(t, dVar, xVar); dVar.t(); return; diff --git a/app/src/main/java/c/g/a/c/g0/u/c0.java b/app/src/main/java/c/g/a/c/g0/u/c0.java index b2290a0bb5..b1bf5f58c7 100644 --- a/app/src/main/java/c/g/a/c/g0/u/c0.java +++ b/app/src/main/java/c/g/a/c/g0/u/c0.java @@ -16,6 +16,6 @@ public class c0 extends w { @Override // c.g.a.c.n public void f(Object obj, d dVar, x xVar) throws IOException { - dVar.Q(((Short) obj).shortValue()); + dVar.O(((Short) obj).shortValue()); } } diff --git a/app/src/main/java/c/g/a/c/g0/u/d.java b/app/src/main/java/c/g/a/c/g0/u/d.java index 4e5979abf9..344cd7b5a0 100644 --- a/app/src/main/java/c/g/a/c/g0/u/d.java +++ b/app/src/main/java/c/g/a/c/g0/u/d.java @@ -66,7 +66,7 @@ public abstract class d extends q0 implements i, o { ArrayList arrayList2 = cVarArr2 == null ? null : new ArrayList(length); for (int i = 0; i < length; i++) { c cVar = cVarArr[i]; - if (!c.c.a.a0.d.a2(cVar._name._value, set, set2)) { + if (!c.c.a.a0.d.Z1(cVar._name._value, set, set2)) { arrayList.add(cVar); if (cVarArr2 != null) { arrayList2.add(cVarArr2[i]); @@ -139,7 +139,7 @@ public abstract class d extends q0 implements i, o { d dVar2; c.g.a.c.g0.t.j jVar; Object obj2; - a0 s; + a0 s2; b v = xVar.v(); c[] cVarArr = null; c.g.a.c.c0.i member = (dVar == null || v == null) ? null : dVar.getMember(); @@ -168,19 +168,19 @@ public abstract class d extends q0 implements i, o { if (member != null) { set = v.x(vVar, member).d(); set2 = v.A(vVar, member)._included; - a0 r2 = v.r(member); - if (r2 != null) { - a0 s2 = v.s(member, r2); - Class> cls2 = s2.f568c; + a0 r = v.r(member); + if (r != null) { + a0 s3 = v.s(member, r); + Class> cls2 = s3.f540c; j jVar3 = xVar.d().i(xVar.b(cls2), i0.class)[0]; if (cls2 == l0.class) { - String str = s2.b._simpleName; + String str = s3.b._simpleName; int length = this._props.length; i = 0; while (i != length) { c cVar2 = this._props[i]; if (str.equals(cVar2._name._value)) { - jVar2 = c.g.a.c.g0.t.j.a(cVar2._declaredType, null, new k(s2, cVar2), s2.f); + jVar2 = c.g.a.c.g0.t.j.a(cVar2._declaredType, null, new k(s3, cVar2), s3.f); obj = v.g(member); if (obj == null || ((obj2 = this._propertyFilterId) != null && obj.equals(obj2))) { obj = null; @@ -197,12 +197,12 @@ public abstract class d extends q0 implements i, o { xVar.f(jVar4, String.format("Invalid Object Id definition for %s: cannot find property with name %s", objArr)); throw null; } - jVar2 = c.g.a.c.g0.t.j.a(jVar3, s2.b, xVar.e(member, s2), s2.f); - } else if (!(jVar2 == null || (s = v.s(member, null)) == null)) { + jVar2 = c.g.a.c.g0.t.j.a(jVar3, s3.b, xVar.e(member, s3), s3.f); + } else if (!(jVar2 == null || (s2 = v.s(member, null)) == null)) { jVar2 = this._objectIdWriter; - boolean z2 = s.f; + boolean z2 = s2.f; if (z2 != jVar2.e) { - jVar2 = new c.g.a.c.g0.t.j(jVar2.a, jVar2.b, jVar2.f595c, jVar2.d, z2); + jVar2 = new c.g.a.c.g0.t.j(jVar2.a, jVar2.b, jVar2.f566c, jVar2.d, z2); } } i = 0; @@ -231,7 +231,7 @@ public abstract class d extends q0 implements i, o { } else { dVar2 = this; } - if (!(jVar2 == null || (jVar = new c.g.a.c.g0.t.j(jVar2.a, jVar2.b, jVar2.f595c, xVar.t(jVar2.a, dVar), jVar2.e)) == this._objectIdWriter)) { + if (!(jVar2 == null || (jVar = new c.g.a.c.g0.t.j(jVar2.a, jVar2.b, jVar2.f566c, xVar.t(jVar2.a, dVar), jVar2.e)) == this._objectIdWriter)) { dVar2 = dVar2.x(jVar); } if ((set != null && !set.isEmpty()) || set2 != null) { @@ -308,10 +308,10 @@ public abstract class d extends q0 implements i, o { } a aVar = this._anyGetterWriter; if (aVar != null) { - c.g.a.c.n nVar3 = aVar.f592c; + c.g.a.c.n nVar3 = aVar.f563c; if (nVar3 instanceof c.g.a.c.g0.i) { c.g.a.c.n y2 = xVar.y(nVar3, aVar.a); - aVar.f592c = y2; + aVar.f563c = y2; if (y2 instanceof t) { aVar.d = (t) y2; } @@ -327,8 +327,8 @@ public abstract class d extends q0 implements i, o { return; } dVar.e(obj); - c.g.a.b.s.b r2 = r(gVar, obj, c.g.a.b.h.START_OBJECT); - gVar.e(dVar, r2); + c.g.a.b.s.b r = r(gVar, obj, c.g.a.b.h.START_OBJECT); + gVar.e(dVar, r); Object obj2 = this._propertyFilterId; if (obj2 != null) { if (this._filteredProps != null) { @@ -338,7 +338,7 @@ public abstract class d extends q0 implements i, o { throw null; } u(obj, dVar, xVar); - gVar.f(dVar, r2); + gVar.f(dVar, r); } @Override // c.g.a.c.n @@ -348,7 +348,7 @@ public abstract class d extends q0 implements i, o { public final void p(Object obj, c.g.a.b.d dVar, x xVar, g gVar) throws IOException { c.g.a.c.g0.t.j jVar = this._objectIdWriter; - u p = xVar.p(obj, jVar.f595c); + u p = xVar.p(obj, jVar.f566c); if (!p.a(dVar, xVar, jVar)) { if (p.b == null) { p.b = p.a.c(obj); @@ -359,9 +359,9 @@ public abstract class d extends q0 implements i, o { return; } c.g.a.c.g0.t.j jVar2 = this._objectIdWriter; - c.g.a.b.s.b r2 = r(gVar, obj, c.g.a.b.h.START_OBJECT); - gVar.e(dVar, r2); - p.f599c = true; + c.g.a.b.s.b r = r(gVar, obj, c.g.a.b.h.START_OBJECT); + gVar.e(dVar, r); + p.f570c = true; Objects.requireNonNull(dVar); c.g.a.b.k kVar = jVar2.b; if (kVar != null) { @@ -371,7 +371,7 @@ public abstract class d extends q0 implements i, o { Object obj3 = this._propertyFilterId; if (obj3 == null) { u(obj, dVar, xVar); - gVar.f(dVar, r2); + gVar.f(dVar, r); return; } m(xVar, obj3, obj); @@ -381,7 +381,7 @@ public abstract class d extends q0 implements i, o { public final void q(Object obj, c.g.a.b.d dVar, x xVar, boolean z2) throws IOException { c.g.a.c.g0.t.j jVar = this._objectIdWriter; - u p = xVar.p(obj, jVar.f595c); + u p = xVar.p(obj, jVar.f566c); if (!p.a(dVar, xVar, jVar)) { if (p.b == null) { p.b = p.a.c(obj); @@ -392,9 +392,9 @@ public abstract class d extends q0 implements i, o { return; } if (z2) { - dVar.e0(obj); + dVar.d0(obj); } - p.f599c = true; + p.f570c = true; c.g.a.b.k kVar = jVar.b; if (kVar != null) { dVar.x(kVar); @@ -404,7 +404,7 @@ public abstract class d extends q0 implements i, o { if (obj3 == null) { u(obj, dVar, xVar); if (z2) { - dVar.w(); + dVar.u(); return; } return; @@ -424,7 +424,7 @@ public abstract class d extends q0 implements i, o { j2 = ""; } c.g.a.b.s.b d = gVar.d(obj, hVar); - d.f565c = j2; + d.f537c = j2; return d; } diff --git a/app/src/main/java/c/g/a/c/g0/u/f.java b/app/src/main/java/c/g/a/c/g0/u/f.java index c2eea7e6a8..bd4f5a018f 100644 --- a/app/src/main/java/c/g/a/c/g0/u/f.java +++ b/app/src/main/java/c/g/a/c/g0/u/f.java @@ -24,14 +24,14 @@ public class f extends q0 { @Override // c.g.a.c.n public void f(Object obj, d dVar, x xVar) throws IOException { byte[] bArr = (byte[]) obj; - dVar.p(xVar._config._base._defaultBase64, bArr, 0, bArr.length); + dVar.n(xVar._config._base._defaultBase64, bArr, 0, bArr.length); } @Override // c.g.a.c.n public void g(Object obj, d dVar, x xVar, g gVar) throws IOException { byte[] bArr = (byte[]) obj; b e = gVar.e(dVar, gVar.d(bArr, h.VALUE_EMBEDDED_OBJECT)); - dVar.p(xVar._config._base._defaultBase64, bArr, 0, bArr.length); + dVar.n(xVar._config._base._defaultBase64, bArr, 0, bArr.length); gVar.f(dVar, e); } } diff --git a/app/src/main/java/c/g/a/c/g0/u/f0.java b/app/src/main/java/c/g/a/c/g0/u/f0.java index d37891de5d..9c95da6d95 100644 --- a/app/src/main/java/c/g/a/c/g0/u/f0.java +++ b/app/src/main/java/c/g/a/c/g0/u/f0.java @@ -125,9 +125,9 @@ public abstract class f0 extends q0 implements i { } return (this._suppressableValue == obj || this._suppressNulls != z3) ? u.t(obj, z3) : u; } - obj = c.c.a.a0.d.v0(this._referredType); + obj = c.c.a.a0.d.s0(this._referredType); if (obj != null && obj.getClass().isArray()) { - obj = c.c.a.a0.d.s0(obj); + obj = c.c.a.a0.d.p0(obj); } } } @@ -181,17 +181,17 @@ public abstract class f0 extends q0 implements i { @Override // c.g.a.c.n public void f(T t, c.g.a.b.d dVar, x xVar) throws IOException { - Object r2 = r(t); - if (r2 != null) { + Object r = r(t); + if (r != null) { c.g.a.c.n nVar = this._valueSerializer; if (nVar == null) { - nVar = p(xVar, r2.getClass()); + nVar = p(xVar, r.getClass()); } g gVar = this._valueTypeSerializer; if (gVar != null) { - nVar.g(r2, dVar, xVar, gVar); + nVar.g(r, dVar, xVar, gVar); } else { - nVar.f(r2, dVar, xVar); + nVar.f(r, dVar, xVar); } } else if (this._unwrapper == null) { xVar.l(dVar); @@ -200,13 +200,13 @@ public abstract class f0 extends q0 implements i { @Override // c.g.a.c.n public void g(T t, c.g.a.b.d dVar, x xVar, g gVar) throws IOException { - Object r2 = r(t); - if (r2 != null) { + Object r = r(t); + if (r != null) { c.g.a.c.n nVar = this._valueSerializer; if (nVar == null) { - nVar = p(xVar, r2.getClass()); + nVar = p(xVar, r.getClass()); } - nVar.g(r2, dVar, xVar, gVar); + nVar.g(r, dVar, xVar, gVar); } else if (this._unwrapper == null) { xVar.l(dVar); } diff --git a/app/src/main/java/c/g/a/c/g0/u/g.java b/app/src/main/java/c/g/a/c/g0/u/g.java index 2a2e41708a..d49a879594 100644 --- a/app/src/main/java/c/g/a/c/g0/u/g.java +++ b/app/src/main/java/c/g/a/c/g0/u/g.java @@ -22,7 +22,7 @@ public class g extends p0 { int arrayOffset = byteBuffer.arrayOffset() + position; int limit = byteBuffer.limit() - position; Objects.requireNonNull(dVar); - dVar.p(b.b, array, arrayOffset, limit); + dVar.n(b.b, array, arrayOffset, limit); return; } ByteBuffer asReadOnlyBuffer = byteBuffer.asReadOnlyBuffer(); diff --git a/app/src/main/java/c/g/a/c/g0/u/i.java b/app/src/main/java/c/g/a/c/g0/u/i.java index f5c0d680fa..31fc7da9d0 100644 --- a/app/src/main/java/c/g/a/c/g0/u/i.java +++ b/app/src/main/java/c/g/a/c/g0/u/i.java @@ -11,6 +11,6 @@ public class i extends p0> { @Override // c.g.a.c.n public void f(Object obj, d dVar, x xVar) throws IOException { - dVar.l0(((Class) obj).getName()); + dVar.j0(((Class) obj).getName()); } } diff --git a/app/src/main/java/c/g/a/c/g0/u/i0.java b/app/src/main/java/c/g/a/c/g0/u/i0.java index 1f155a0d7b..b4cdc7ae29 100644 --- a/app/src/main/java/c/g/a/c/g0/u/i0.java +++ b/app/src/main/java/c/g/a/c/g0/u/i0.java @@ -90,12 +90,12 @@ public class i0 { dVar.b0(cArr, cArr.length); int length = cArr.length; for (int i = 0; i < length; i++) { - dVar.n0(cArr, i, 1); + dVar.m0(cArr, i, 1); } dVar.t(); return; } - dVar.n0(cArr, 0, cArr.length); + dVar.m0(cArr, 0, cArr.length); } @Override // c.g.a.c.n @@ -106,11 +106,11 @@ public class i0 { bVar = gVar.e(dVar, gVar.d(cArr, c.g.a.b.h.START_ARRAY)); int length = cArr.length; for (int i = 0; i < length; i++) { - dVar.n0(cArr, i, 1); + dVar.m0(cArr, i, 1); } } else { bVar = gVar.e(dVar, gVar.d(cArr, c.g.a.b.h.VALUE_STRING)); - dVar.n0(cArr, 0, cArr.length); + dVar.m0(cArr, 0, cArr.length); } gVar.f(dVar, bVar); } @@ -234,7 +234,7 @@ public class i0 { public void u(float[] fArr, c.g.a.b.d dVar) throws IOException { for (float f : fArr) { - dVar.G(f); + dVar.D(f); } } } @@ -418,8 +418,8 @@ public class i0 { } public void u(short[] sArr, c.g.a.b.d dVar) throws IOException { - for (short s : sArr) { - dVar.H(s); + for (short s2 : sArr) { + dVar.H(s2); } } } diff --git a/app/src/main/java/c/g/a/c/g0/u/l.java b/app/src/main/java/c/g/a/c/g0/u/l.java index 15289f52f1..eedecbb4cf 100644 --- a/app/src/main/java/c/g/a/c/g0/u/l.java +++ b/app/src/main/java/c/g/a/c/g0/u/l.java @@ -102,9 +102,9 @@ public abstract class l extends p0 implements i { if (xVar != null) { return xVar.D(w.WRITE_DATES_AS_TIMESTAMPS); } - StringBuilder O = c.d.b.a.a.O("Null SerializerProvider passed for "); - O.append(this._handledType.getName()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Null SerializerProvider passed for "); + R.append(this._handledType.getName()); + throw new IllegalArgumentException(R.toString()); } public void q(Date date, c.g.a.b.d dVar, x xVar) throws IOException { @@ -113,14 +113,14 @@ public abstract class l extends p0 implements i { if (xVar.D(w.WRITE_DATES_AS_TIMESTAMPS)) { dVar.I(date.getTime()); } else { - dVar.l0(xVar.j().format(date)); + dVar.j0(xVar.j().format(date)); } } else { DateFormat andSet = this._reusedCustomFormat.getAndSet(null); if (andSet == null) { andSet = (DateFormat) this._customFormat.clone(); } - dVar.l0(andSet.format(date)); + dVar.j0(andSet.format(date)); this._reusedCustomFormat.compareAndSet(null, andSet); } } diff --git a/app/src/main/java/c/g/a/c/g0/u/m.java b/app/src/main/java/c/g/a/c/g0/u/m.java index b55750bce8..01abb387ed 100644 --- a/app/src/main/java/c/g/a/c/g0/u/m.java +++ b/app/src/main/java/c/g/a/c/g0/u/m.java @@ -63,9 +63,9 @@ public class m extends p0> implements i { if (bool != null ? bool.booleanValue() : xVar.D(w.WRITE_ENUMS_USING_INDEX)) { dVar.H(r2.ordinal()); } else if (xVar.D(w.WRITE_ENUMS_USING_TO_STRING)) { - dVar.l0(r2.toString()); + dVar.j0(r2.toString()); } else { - dVar.i0(this._values.c(r2)); + dVar.g0(this._values.c(r2)); } } } diff --git a/app/src/main/java/c/g/a/c/g0/u/n0.java b/app/src/main/java/c/g/a/c/g0/u/n0.java index 12f074b8d0..bbcf9d7c50 100644 --- a/app/src/main/java/c/g/a/c/g0/u/n0.java +++ b/app/src/main/java/c/g/a/c/g0/u/n0.java @@ -12,6 +12,6 @@ public class n0 extends q0 { @Override // c.g.a.c.n public void f(Object obj, d dVar, x xVar) throws IOException { - dVar.z(obj.toString()); + dVar.y(obj.toString()); } } diff --git a/app/src/main/java/c/g/a/c/g0/u/o.java b/app/src/main/java/c/g/a/c/g0/u/o.java index 2da43b8f63..23bcdd89b2 100644 --- a/app/src/main/java/c/g/a/c/g0/u/o.java +++ b/app/src/main/java/c/g/a/c/g0/u/o.java @@ -12,6 +12,6 @@ public class o extends p0 { @Override // c.g.a.c.n public void f(Object obj, d dVar, x xVar) throws IOException { - dVar.l0(((File) obj).getAbsolutePath()); + dVar.j0(((File) obj).getAbsolutePath()); } } diff --git a/app/src/main/java/c/g/a/c/g0/u/o0.java b/app/src/main/java/c/g/a/c/g0/u/o0.java index 30c97654e9..cd3f240849 100644 --- a/app/src/main/java/c/g/a/c/g0/u/o0.java +++ b/app/src/main/java/c/g/a/c/g0/u/o0.java @@ -30,24 +30,24 @@ public abstract class o0 { Date date = (Date) obj; Objects.requireNonNull(xVar); if (xVar.D(w.WRITE_DATE_KEYS_AS_TIMESTAMPS)) { - dVar.z(String.valueOf(date.getTime())); + dVar.y(String.valueOf(date.getTime())); return; } else { - dVar.z(xVar.j().format(date)); + dVar.y(xVar.j().format(date)); return; } case 2: long timeInMillis = ((Calendar) obj).getTimeInMillis(); Objects.requireNonNull(xVar); if (xVar.D(w.WRITE_DATE_KEYS_AS_TIMESTAMPS)) { - dVar.z(String.valueOf(timeInMillis)); + dVar.y(String.valueOf(timeInMillis)); return; } else { - dVar.z(xVar.j().format(new Date(timeInMillis))); + dVar.y(xVar.j().format(new Date(timeInMillis))); return; } case 3: - dVar.z(((Class) obj).getName()); + dVar.y(((Class) obj).getName()); return; case 4: if (xVar.D(w.WRITE_ENUMS_USING_TO_STRING)) { @@ -56,19 +56,19 @@ public abstract class o0 { Enum r3 = (Enum) obj; str = xVar.D(w.WRITE_ENUM_KEYS_USING_INDEX) ? String.valueOf(r3.ordinal()) : r3.name(); } - dVar.z(str); + dVar.y(str); return; case 5: case 6: long longValue = ((Number) obj).longValue(); Objects.requireNonNull(dVar); - dVar.z(Long.toString(longValue)); + dVar.y(Long.toString(longValue)); return; case 7: - dVar.z(xVar._config._base._defaultBase64.a((byte[]) obj)); + dVar.y(xVar._config._base._defaultBase64.a((byte[]) obj)); return; default: - dVar.z(obj.toString()); + dVar.y(obj.toString()); return; } } @@ -120,12 +120,12 @@ public abstract class o0 { @Override // c.g.a.c.n public void f(Object obj, c.g.a.b.d dVar, x xVar) throws IOException { if (xVar.D(w.WRITE_ENUMS_USING_TO_STRING)) { - dVar.z(obj.toString()); + dVar.y(obj.toString()); return; } Enum r2 = (Enum) obj; if (xVar.D(w.WRITE_ENUM_KEYS_USING_INDEX)) { - dVar.z(String.valueOf(r2.ordinal())); + dVar.y(String.valueOf(r2.ordinal())); } else { dVar.x(this._values.c(r2)); } @@ -140,7 +140,7 @@ public abstract class o0 { @Override // c.g.a.c.n public void f(Object obj, c.g.a.b.d dVar, x xVar) throws IOException { - dVar.z((String) obj); + dVar.y((String) obj); } } } diff --git a/app/src/main/java/c/g/a/c/g0/u/p.java b/app/src/main/java/c/g/a/c/g0/u/p.java index a54a45c396..56ffb5d22a 100644 --- a/app/src/main/java/c/g/a/c/g0/u/p.java +++ b/app/src/main/java/c/g/a/c/g0/u/p.java @@ -69,6 +69,6 @@ public class p extends p0 implements i { str = indexOf == 0 ? str.substring(1) : str.substring(0, indexOf); } } - dVar.l0(str); + dVar.j0(str); } } diff --git a/app/src/main/java/c/g/a/c/g0/u/q.java b/app/src/main/java/c/g/a/c/g0/u/q.java index 2465de4581..e29a8d1067 100644 --- a/app/src/main/java/c/g/a/c/g0/u/q.java +++ b/app/src/main/java/c/g/a/c/g0/u/q.java @@ -39,10 +39,10 @@ public class q extends p0 { if (indexOf >= 0) { if (indexOf == 0) { if (address instanceof Inet6Address) { - StringBuilder O = a.O("["); - O.append(hostName.substring(1)); - O.append("]"); - str = O.toString(); + StringBuilder R = a.R("["); + R.append(hostName.substring(1)); + R.append("]"); + str = R.toString(); } else { str = hostName.substring(1); } @@ -51,8 +51,8 @@ public class q extends p0 { hostName = hostName.substring(0, indexOf); } } - StringBuilder S = a.S(hostName, ":"); - S.append(inetSocketAddress.getPort()); - dVar.l0(S.toString()); + StringBuilder V = a.V(hostName, ":"); + V.append(inetSocketAddress.getPort()); + dVar.j0(V.toString()); } } diff --git a/app/src/main/java/c/g/a/c/g0/u/r.java b/app/src/main/java/c/g/a/c/g0/u/r.java index 9451578f43..75298f7de4 100644 --- a/app/src/main/java/c/g/a/c/g0/u/r.java +++ b/app/src/main/java/c/g/a/c/g0/u/r.java @@ -30,7 +30,7 @@ public class r extends b> { public void f(Object obj, c.g.a.b.d dVar, x xVar) throws IOException { Iterable iterable = (Iterable) obj; if (((this._unwrapSingle != null || !xVar.D(w.WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED)) && this._unwrapSingle != Boolean.TRUE) || !q(iterable)) { - dVar.a0(iterable); + dVar.X(iterable); s(iterable, dVar, xVar); dVar.t(); return; diff --git a/app/src/main/java/c/g/a/c/g0/u/r0.java b/app/src/main/java/c/g/a/c/g0/u/r0.java index d5377c33e3..0ceaf0b4c3 100644 --- a/app/src/main/java/c/g/a/c/g0/u/r0.java +++ b/app/src/main/java/c/g/a/c/g0/u/r0.java @@ -21,11 +21,11 @@ public final class r0 extends p0 { @Override // c.g.a.c.n public void f(Object obj, d dVar, x xVar) throws IOException { - dVar.l0((String) obj); + dVar.j0((String) obj); } @Override // c.g.a.c.g0.u.p0, c.g.a.c.n public final void g(Object obj, d dVar, x xVar, g gVar) throws IOException { - dVar.l0((String) obj); + dVar.j0((String) obj); } } diff --git a/app/src/main/java/c/g/a/c/g0/u/s.java b/app/src/main/java/c/g/a/c/g0/u/s.java index 1a77432a71..bbf457c9b1 100644 --- a/app/src/main/java/c/g/a/c/g0/u/s.java +++ b/app/src/main/java/c/g/a/c/g0/u/s.java @@ -187,9 +187,9 @@ public class s extends q0 implements i { this.j = lVar.b(k._class, q); return q; } - n r2 = xVar.r(cls, this._property); - this.j = this.j.b(cls, r2); - return r2; + n r = xVar.r(cls, this._property); + this.j = this.j.b(cls, r); + return r; } public s q(d dVar, g gVar, n nVar, boolean z2) { @@ -198,11 +198,11 @@ public class s extends q0 implements i { @Override // java.lang.Object public String toString() { - StringBuilder O = c.d.b.a.a.O("(@JsonValue serializer for method "); - O.append(this._accessor.g()); - O.append("#"); - O.append(this._accessor.c()); - O.append(")"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("(@JsonValue serializer for method "); + R.append(this._accessor.g()); + R.append("#"); + R.append(this._accessor.c()); + R.append(")"); + return R.toString(); } } diff --git a/app/src/main/java/c/g/a/c/g0/u/s0.java b/app/src/main/java/c/g/a/c/g0/u/s0.java index a362995022..172da0309c 100644 --- a/app/src/main/java/c/g/a/c/g0/u/s0.java +++ b/app/src/main/java/c/g/a/c/g0/u/s0.java @@ -15,7 +15,7 @@ public class s0 extends p0 { @Override // c.g.a.c.n public void f(Object obj, d dVar, x xVar) throws IOException { - dVar.l0(((TimeZone) obj).getID()); + dVar.j0(((TimeZone) obj).getID()); } @Override // c.g.a.c.g0.u.p0, c.g.a.c.n @@ -24,7 +24,7 @@ public class s0 extends p0 { b d = gVar.d(timeZone, h.VALUE_STRING); d.b = TimeZone.class; b e = gVar.e(dVar, d); - dVar.l0(timeZone.getID()); + dVar.j0(timeZone.getID()); gVar.f(dVar, e); } } diff --git a/app/src/main/java/c/g/a/c/g0/u/t.java b/app/src/main/java/c/g/a/c/g0/u/t.java index 22340dcbec..2575e05beb 100644 --- a/app/src/main/java/c/g/a/c/g0/u/t.java +++ b/app/src/main/java/c/g/a/c/g0/u/t.java @@ -253,9 +253,9 @@ public class t extends h> implements i { } return tVar2.v(obj2, z3); } else { - obj = c.c.a.a0.d.v0(this._valueType); + obj = c.c.a.a0.d.s0(this._valueType); if (obj != null && obj.getClass().isArray()) { - obj = c.c.a.a0.d.s0(obj); + obj = c.c.a.a0.d.p0(obj); } } } else if (this._valueType.b()) { @@ -295,9 +295,9 @@ public class t extends h> implements i { for (Object obj4 : map.values()) { if (obj4 != null) { try { - c.g.a.c.n r2 = r(xVar, obj4); + c.g.a.c.n r = r(xVar, obj4); if (z2) { - if (!r2.d(xVar, obj4)) { + if (!r.d(xVar, obj4)) { return false; } } else if (obj2 == null || !obj2.equals(map)) { @@ -318,9 +318,9 @@ public class t extends h> implements i { @Override // c.g.a.c.n public void f(Object obj, c.g.a.b.d dVar, x xVar) throws IOException { Map map = (Map) obj; - dVar.e0(map); + dVar.d0(map); u(map, dVar, xVar); - dVar.w(); + dVar.u(); } @Override // c.g.a.c.n diff --git a/app/src/main/java/c/g/a/c/g0/u/u.java b/app/src/main/java/c/g/a/c/g0/u/u.java index a154e6a8ef..2c9dd40ce9 100644 --- a/app/src/main/java/c/g/a/c/g0/u/u.java +++ b/app/src/main/java/c/g/a/c/g0/u/u.java @@ -16,11 +16,11 @@ public class u extends q0 { @Override // c.g.a.c.n public void f(Object obj, d dVar, x xVar) throws IOException { - dVar.B(); + dVar.A(); } @Override // c.g.a.c.n public void g(Object obj, d dVar, x xVar, g gVar) throws IOException { - dVar.B(); + dVar.A(); } } diff --git a/app/src/main/java/c/g/a/c/g0/u/u0.java b/app/src/main/java/c/g/a/c/g0/u/u0.java index 610730104c..0543de16a4 100644 --- a/app/src/main/java/c/g/a/c/g0/u/u0.java +++ b/app/src/main/java/c/g/a/c/g0/u/u0.java @@ -19,7 +19,7 @@ public abstract class u0 extends q0 { @Override // c.g.a.c.n public void f(Object obj, d dVar, x xVar) throws IOException { - dVar.l0(p(obj)); + dVar.j0(p(obj)); } @Override // c.g.a.c.n diff --git a/app/src/main/java/c/g/a/c/g0/u/v.java b/app/src/main/java/c/g/a/c/g0/u/v.java index e6d48d6702..4d6d69a1f5 100644 --- a/app/src/main/java/c/g/a/c/g0/u/v.java +++ b/app/src/main/java/c/g/a/c/g0/u/v.java @@ -43,7 +43,7 @@ public class v extends p0 implements i { } else { str = obj.toString(); } - dVar.l0(str); + dVar.j0(str); } @Override // c.g.a.c.g0.u.u0 @@ -69,7 +69,7 @@ public class v extends p0 implements i { public void f(Object obj, d dVar, x xVar) throws IOException { Number number = (Number) obj; if (number instanceof BigDecimal) { - dVar.M((BigDecimal) number); + dVar.L((BigDecimal) number); } else if (number instanceof BigInteger) { dVar.N((BigInteger) number); } else if (number instanceof Long) { @@ -77,11 +77,11 @@ public class v extends p0 implements i { } else if (number instanceof Double) { dVar.C(number.doubleValue()); } else if (number instanceof Float) { - dVar.G(number.floatValue()); + dVar.D(number.floatValue()); } else if ((number instanceof Integer) || (number instanceof Byte) || (number instanceof Short)) { dVar.H(number.intValue()); } else { - dVar.K(number.toString()); + dVar.J(number.toString()); } } } diff --git a/app/src/main/java/c/g/a/c/g0/u/w0.java b/app/src/main/java/c/g/a/c/g0/u/w0.java index 75efd08c0b..855edfd6d7 100644 --- a/app/src/main/java/c/g/a/c/g0/u/w0.java +++ b/app/src/main/java/c/g/a/c/g0/u/w0.java @@ -94,7 +94,7 @@ public class w0 extends p0 implements i { p((int) mostSignificantBits, bArr, 4); p((int) (leastSignificantBits >> 32), bArr, 8); p((int) leastSignificantBits, bArr, 12); - dVar.r(bArr); + dVar.q(bArr); return; } char[] cArr = new char[36]; @@ -115,6 +115,6 @@ public class w0 extends p0 implements i { int i3 = (int) leastSignificantBits2; q(i3 >> 16, cArr, 28); q(i3, cArr, 32); - dVar.n0(cArr, 0, 36); + dVar.m0(cArr, 0, 36); } } diff --git a/app/src/main/java/c/g/a/c/g0/u/y.java b/app/src/main/java/c/g/a/c/g0/u/y.java index bd081e41bf..daf8158f9f 100644 --- a/app/src/main/java/c/g/a/c/g0/u/y.java +++ b/app/src/main/java/c/g/a/c/g0/u/y.java @@ -16,6 +16,6 @@ public class y extends w { @Override // c.g.a.c.n public void f(Object obj, d dVar, x xVar) throws IOException { - dVar.G(((Float) obj).floatValue()); + dVar.D(((Float) obj).floatValue()); } } diff --git a/app/src/main/java/c/g/a/c/h0/a.java b/app/src/main/java/c/g/a/c/h0/a.java index b73ff5b3d3..ce058031e7 100644 --- a/app/src/main/java/c/g/a/c/h0/a.java +++ b/app/src/main/java/c/g/a/c/h0/a.java @@ -89,10 +89,10 @@ public final class a extends l { @Override // java.lang.Object public String toString() { - StringBuilder O = c.d.b.a.a.O("[array type, component type: "); - O.append(this._componentType); - O.append("]"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("[array type, component type: "); + R.append(this._componentType); + R.append("]"); + return R.toString(); } @Override // c.g.a.c.j diff --git a/app/src/main/java/c/g/a/c/h0/c.java b/app/src/main/java/c/g/a/c/h0/c.java index 59712bd7b1..a83a2fc0e6 100644 --- a/app/src/main/java/c/g/a/c/h0/c.java +++ b/app/src/main/java/c/g/a/c/h0/c.java @@ -8,7 +8,7 @@ public final class c { public final Class b; /* renamed from: c reason: collision with root package name */ - public ArrayList f605c; + public ArrayList f575c; public c(c cVar, Class cls) { this.a = cVar; @@ -21,15 +21,15 @@ public final class c { } public String toString() { - StringBuilder O = a.O("[ClassStack (self-refs: "); - ArrayList arrayList = this.f605c; - O.append(arrayList == null ? "0" : String.valueOf(arrayList.size())); - O.append(')'); + StringBuilder R = a.R("[ClassStack (self-refs: "); + ArrayList arrayList = this.f575c; + R.append(arrayList == null ? "0" : String.valueOf(arrayList.size())); + R.append(')'); for (c cVar = this; cVar != null; cVar = cVar.a) { - O.append(' '); - O.append(cVar.b.getName()); + R.append(' '); + R.append(cVar.b.getName()); } - O.append(']'); - return O.toString(); + R.append(']'); + return R.toString(); } } diff --git a/app/src/main/java/c/g/a/c/h0/d.java b/app/src/main/java/c/g/a/c/h0/d.java index 1009698403..2260ea5bcf 100644 --- a/app/src/main/java/c/g/a/c/h0/d.java +++ b/app/src/main/java/c/g/a/c/h0/d.java @@ -101,11 +101,11 @@ public class d extends l { @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("[collection-like type; class "); - a.f0(this._class, O, ", contains "); - O.append(this._elementType); - O.append("]"); - return O.toString(); + StringBuilder R = a.R("[collection-like type; class "); + a.i0(this._class, R, ", contains "); + R.append(this._elementType); + R.append("]"); + return R.toString(); } @Override // c.g.a.c.j diff --git a/app/src/main/java/c/g/a/c/h0/e.java b/app/src/main/java/c/g/a/c/h0/e.java index 9b54530cbf..59b02fb341 100644 --- a/app/src/main/java/c/g/a/c/h0/e.java +++ b/app/src/main/java/c/g/a/c/h0/e.java @@ -42,10 +42,10 @@ public final class e extends d { @Override // c.g.a.c.h0.d, java.lang.Object public String toString() { - StringBuilder O = a.O("[collection type; class "); - a.f0(this._class, O, ", contains "); - O.append(this._elementType); - O.append("]"); - return O.toString(); + StringBuilder R = a.R("[collection type; class "); + a.i0(this._class, R, ", contains "); + R.append(this._elementType); + R.append("]"); + return R.toString(); } } diff --git a/app/src/main/java/c/g/a/c/h0/g.java b/app/src/main/java/c/g/a/c/h0/g.java index e82d5e1d1c..e0dc0bc402 100644 --- a/app/src/main/java/c/g/a/c/h0/g.java +++ b/app/src/main/java/c/g/a/c/h0/g.java @@ -51,12 +51,12 @@ public final class g extends f { @Override // c.g.a.c.h0.f, java.lang.Object public String toString() { - StringBuilder O = a.O("[map type; class "); - a.f0(this._class, O, ", "); - O.append(this._keyType); - O.append(" -> "); - O.append(this._valueType); - O.append("]"); - return O.toString(); + StringBuilder R = a.R("[map type; class "); + a.i0(this._class, R, ", "); + R.append(this._keyType); + R.append(" -> "); + R.append(this._valueType); + R.append("]"); + return R.toString(); } } diff --git a/app/src/main/java/c/g/a/c/h0/h.java b/app/src/main/java/c/g/a/c/h0/h.java index d626e61715..ace96c5d6f 100644 --- a/app/src/main/java/c/g/a/c/h0/h.java +++ b/app/src/main/java/c/g/a/c/h0/h.java @@ -55,9 +55,9 @@ public class h extends l { } public final T L() { - StringBuilder O = a.O("Operation should not be attempted on "); - O.append(h.class.getName()); - throw new UnsupportedOperationException(O.toString()); + StringBuilder R = a.R("Operation should not be attempted on "); + R.append(h.class.getName()); + throw new UnsupportedOperationException(R.toString()); } @Override // c.g.a.c.j, java.lang.Object diff --git a/app/src/main/java/c/g/a/c/h0/l.java b/app/src/main/java/c/g/a/c/h0/l.java index cd32715ca8..2eaaf426f2 100644 --- a/app/src/main/java/c/g/a/c/h0/l.java +++ b/app/src/main/java/c/g/a/c/h0/l.java @@ -63,9 +63,9 @@ public abstract class l extends j implements m { } else if (cls == Void.TYPE) { sb.append('V'); } else { - StringBuilder O = a.O("Unrecognized primitive type: "); - O.append(cls.getName()); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Unrecognized primitive type: "); + R.append(cls.getName()); + throw new IllegalStateException(R.toString()); } return sb; } @@ -76,14 +76,14 @@ public abstract class l extends j implements m { @Override // c.g.a.c.m public void c(d dVar, x xVar) throws IOException, JsonProcessingException { - dVar.l0(K()); + dVar.j0(K()); } @Override // c.g.a.c.m public void d(d dVar, x xVar, g gVar) throws IOException { b bVar = new b(this, h.VALUE_STRING); gVar.e(dVar, bVar); - dVar.l0(K()); + dVar.j0(K()); gVar.f(dVar, bVar); } diff --git a/app/src/main/java/c/g/a/c/h0/m.java b/app/src/main/java/c/g/a/c/h0/m.java index 8c8171f193..2d40b59554 100644 --- a/app/src/main/java/c/g/a/c/h0/m.java +++ b/app/src/main/java/c/g/a/c/h0/m.java @@ -30,12 +30,12 @@ public class m implements Serializable { public final j[] b; /* renamed from: c reason: collision with root package name */ - public final int f606c; + public final int f576c; public a(Class cls, j[] jVarArr, int i) { this.a = cls; this.b = jVarArr; - this.f606c = i; + this.f576c = i; } public boolean equals(Object obj) { @@ -46,7 +46,7 @@ public class m implements Serializable { return false; } a aVar = (a) obj; - if (this.f606c == aVar.f606c && this.a == aVar.a) { + if (this.f576c == aVar.f576c && this.a == aVar.a) { j[] jVarArr = aVar.b; int length = this.b.length; if (length == jVarArr.length) { @@ -62,11 +62,11 @@ public class m implements Serializable { } public int hashCode() { - return this.f606c; + return this.f576c; } public String toString() { - return c.d.b.a.a.j(this.a, new StringBuilder(), "<>"); + return c.d.b.a.a.n(this.a, new StringBuilder(), "<>"); } } @@ -76,7 +76,7 @@ public class m implements Serializable { public static final TypeVariable[] b = Collection.class.getTypeParameters(); /* renamed from: c reason: collision with root package name */ - public static final TypeVariable[] f607c = Iterable.class.getTypeParameters(); + public static final TypeVariable[] f577c = Iterable.class.getTypeParameters(); public static final TypeVariable[] d = List.class.getTypeParameters(); public static final TypeVariable[] e = ArrayList.class.getTypeParameters(); public static final TypeVariable[] f = Map.class.getTypeParameters(); @@ -107,24 +107,24 @@ public class m implements Serializable { this._hashCode = i2; return; } - StringBuilder O = c.d.b.a.a.O("Mismatching names ("); - O.append(strArr.length); - O.append("), types ("); - throw new IllegalArgumentException(c.d.b.a.a.z(O, jVarArr.length, ")")); + StringBuilder R = c.d.b.a.a.R("Mismatching names ("); + R.append(strArr.length); + R.append("), types ("); + throw new IllegalArgumentException(c.d.b.a.a.A(R, jVarArr.length, ")")); } public static m b(Class cls, j jVar) { TypeVariable[] typeVariableArr = b.a; - TypeVariable[] typeParameters = cls == Collection.class ? b.b : cls == List.class ? b.d : cls == ArrayList.class ? b.e : cls == AbstractList.class ? b.a : cls == Iterable.class ? b.f607c : cls.getTypeParameters(); + TypeVariable[] typeParameters = cls == Collection.class ? b.b : cls == List.class ? b.d : cls == ArrayList.class ? b.e : cls == AbstractList.class ? b.a : cls == Iterable.class ? b.f577c : cls.getTypeParameters(); int length = typeParameters == null ? 0 : typeParameters.length; if (length == 1) { return new m(new String[]{typeParameters[0].getName()}, new j[]{jVar}, null); } - StringBuilder O = c.d.b.a.a.O("Cannot create TypeBindings for class "); - O.append(cls.getName()); - O.append(" with 1 type parameter: class expects "); - O.append(length); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Cannot create TypeBindings for class "); + R.append(cls.getName()); + R.append(" with 1 type parameter: class expects "); + R.append(length); + throw new IllegalArgumentException(R.toString()); } public static m c(Class cls, j jVar, j jVar2) { @@ -134,11 +134,11 @@ public class m implements Serializable { if (length == 2) { return new m(new String[]{typeParameters[0].getName(), typeParameters[1].getName()}, new j[]{jVar, jVar2}, null); } - StringBuilder O = c.d.b.a.a.O("Cannot create TypeBindings for class "); - O.append(cls.getName()); - O.append(" with 2 type parameters: class expects "); - O.append(length); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Cannot create TypeBindings for class "); + R.append(cls.getName()); + R.append(" with 2 type parameters: class expects "); + R.append(length); + throw new IllegalArgumentException(R.toString()); } public static m d(Class cls, j[] jVarArr) { @@ -163,14 +163,14 @@ public class m implements Serializable { if (strArr.length == jVarArr.length) { return new m(strArr, jVarArr, null); } - StringBuilder O = c.d.b.a.a.O("Cannot create TypeBindings for class "); - c.d.b.a.a.f0(cls, O, " with "); - O.append(jVarArr.length); - O.append(" type parameter"); - O.append(jVarArr.length == 1 ? "" : "s"); - O.append(": class expects "); - O.append(strArr.length); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Cannot create TypeBindings for class "); + c.d.b.a.a.i0(cls, R, " with "); + R.append(jVarArr.length); + R.append(" type parameter"); + R.append(jVarArr.length == 1 ? "" : "s"); + R.append(": class expects "); + R.append(strArr.length); + throw new IllegalArgumentException(R.toString()); } public Object a(Class cls) { @@ -276,18 +276,18 @@ public class m implements Serializable { if (this._types.length == 0) { return "<>"; } - StringBuilder M = c.d.b.a.a.M('<'); + StringBuilder N = c.d.b.a.a.N('<'); int length = this._types.length; for (int i2 = 0; i2 < length; i2++) { if (i2 > 0) { - M.append(','); + N.append(','); } j jVar = this._types[i2]; StringBuilder sb = new StringBuilder(40); jVar.m(sb); - M.append(sb.toString()); + N.append(sb.toString()); } - M.append('>'); - return M.toString(); + N.append('>'); + return N.toString(); } } diff --git a/app/src/main/java/c/g/a/c/h0/n.java b/app/src/main/java/c/g/a/c/h0/n.java index cc590eb009..4d6afacf3c 100644 --- a/app/src/main/java/c/g/a/c/h0/n.java +++ b/app/src/main/java/c/g/a/c/h0/n.java @@ -42,26 +42,24 @@ public class n implements Serializable { public static final Class o = Class.class; public static final Class p = Enum.class; public static final Class q = l.class; + public static final Class r; - /* renamed from: r reason: collision with root package name */ - public static final Class f608r; - public static final Class s; + /* renamed from: s reason: collision with root package name */ + public static final Class f578s; private static final long serialVersionUID = 1; public static final Class t; public static final k u; public static final k v; - - /* renamed from: w reason: collision with root package name */ - public static final k f609w; + public static final k w; /* renamed from: x reason: collision with root package name */ - public static final k f610x = new k(String.class); + public static final k f579x = new k(String.class); /* renamed from: y reason: collision with root package name */ - public static final k f611y = new k(Object.class); + public static final k f580y = new k(Object.class); /* renamed from: z reason: collision with root package name */ - public static final k f612z = new k(Comparable.class); + public static final k f581z = new k(Comparable.class); public final ClassLoader _classLoader = null; public final o[] _modifiers = null; public final p _parser = new p(this); @@ -69,38 +67,38 @@ public class n implements Serializable { static { Class cls = Boolean.TYPE; - f608r = cls; + r = cls; Class cls2 = Integer.TYPE; - s = cls2; + f578s = cls2; Class cls3 = Long.TYPE; t = cls3; u = new k(cls); v = new k(cls2); - f609w = new k(cls3); + w = new k(cls3); } public static j k() { Objects.requireNonNull(j); - return f611y; + return f580y; } public j a(Class cls) { if (cls.isPrimitive()) { - if (cls == f608r) { + if (cls == r) { return u; } - if (cls == s) { + if (cls == f578s) { return v; } if (cls == t) { - return f609w; + return w; } return null; } else if (cls == l) { - return f610x; + return f579x; } else { if (cls == m) { - return f611y; + return f580y; } if (cls == q) { return C; @@ -121,7 +119,7 @@ public class n implements Serializable { if (cls == p) { jVar = A; } else if (cls == n) { - jVar = f612z; + jVar = f581z; } else if (cls == o) { jVar = B; } else { @@ -151,7 +149,7 @@ public class n implements Serializable { if (e != null) { jVar = e; } else if (mVar.h(name)) { - jVar = f611y; + jVar = f580y; } else { m l2 = mVar.l(name); synchronized (typeVariable) { @@ -160,14 +158,14 @@ public class n implements Serializable { jVar = b(cVar, bounds[0], l2); } } else { - throw new IllegalArgumentException(a.v("Null `bindings` passed (type variable \"", name, "\")")); + throw new IllegalArgumentException(a.w("Null `bindings` passed (type variable \"", name, "\")")); } } else if (type instanceof WildcardType) { jVar = b(cVar, ((WildcardType) type).getUpperBounds()[0], mVar); } else { - StringBuilder O = a.O("Unrecognized Type: "); - O.append(type == null ? "[null]" : type.toString()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Unrecognized Type: "); + R.append(type == null ? "[null]" : type.toString()); + throw new IllegalArgumentException(R.toString()); } } if (this._modifiers != null) { @@ -225,10 +223,10 @@ public class n implements Serializable { } if (cVar3 != null) { j jVar7 = new j(cls, k); - if (cVar3.f605c == null) { - cVar3.f605c = new ArrayList<>(); + if (cVar3.f575c == null) { + cVar3.f575c = new ArrayList<>(); } - cVar3.f605c.add(jVar7); + cVar3.f575c.add(jVar7); return jVar7; } cVar2 = new c(cVar, cls); @@ -247,7 +245,7 @@ public class n implements Serializable { e = e(cVar2, cls, mVar); } if (cls == Properties.class) { - k kVar3 = f610x; + k kVar3 = f579x; jVar6 = g.Q(cls, mVar, b, e, kVar3, kVar3); } else if (b != null) { jVar6 = b.C(cls, mVar, b, e); @@ -256,12 +254,12 @@ public class n implements Serializable { m mVar2 = mVar == null ? k : mVar; if (cls == Map.class) { if (cls == Properties.class) { - kVar2 = f610x; + kVar2 = f579x; } else { List g = mVar2.g(); int size = g.size(); if (size == 0) { - kVar2 = f611y; + kVar2 = f580y; } else if (size != 2) { Object[] objArr = new Object[4]; objArr[0] = d.u(cls); @@ -281,22 +279,22 @@ public class n implements Serializable { } else if (cls == Collection.class) { List g2 = mVar2.g(); if (g2.isEmpty()) { - jVar4 = f611y; + jVar4 = f580y; } else if (g2.size() == 1) { jVar4 = g2.get(0); } else { - throw new IllegalArgumentException(a.j(cls, a.O("Strange Collection type "), ": cannot determine type parameters")); + throw new IllegalArgumentException(a.n(cls, a.R("Strange Collection type "), ": cannot determine type parameters")); } jVar = new e(cls, mVar2, b, e, jVar4, null, null, false); } else { if (cls == AtomicReference.class) { List g3 = mVar2.g(); if (g3.isEmpty()) { - jVar3 = f611y; + jVar3 = f580y; } else if (g3.size() == 1) { jVar3 = g3.get(0); } else { - throw new IllegalArgumentException(a.j(cls, a.O("Strange Reference type "), ": cannot determine type parameters")); + throw new IllegalArgumentException(a.n(cls, a.R("Strange Reference type "), ": cannot determine type parameters")); } cls2 = a2; jVar2 = b; @@ -335,7 +333,7 @@ public class n implements Serializable { jVar = jVar6; } } - ArrayList arrayList = cVar2.f605c; + ArrayList arrayList = cVar2.f575c; if (arrayList != null) { Iterator it = arrayList.iterator(); while (it.hasNext()) { @@ -343,11 +341,11 @@ public class n implements Serializable { if (next._referencedType == null) { next._referencedType = jVar; } else { - StringBuilder O = a.O("Trying to re-set self reference; old value = "); - O.append(next._referencedType); - O.append(", new = "); - O.append(jVar); - throw new IllegalStateException(O.toString()); + StringBuilder R = a.R("Trying to re-set self reference; old value = "); + R.append(next._referencedType); + R.append(", new = "); + R.append(jVar); + throw new IllegalStateException(R.toString()); } } } @@ -492,13 +490,13 @@ public class n implements Serializable { } jVar2 = c(null, cls, m.d(cls, jVarArr)); } else { - StringBuilder O = a.O("Failed to specialize base type "); - O.append(jVar.e()); - O.append(" as "); - O.append(cls.getName()); - O.append(", problem: "); - O.append(str); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Failed to specialize base type "); + R.append(jVar.e()); + R.append(" as "); + R.append(cls.getName()); + R.append(", problem: "); + R.append(str); + throw new IllegalArgumentException(R.toString()); } } else { throw new IllegalArgumentException(String.format("Internal error: unable to locate supertype (%s) from resolved subtype %s", jVar._class.getName(), cls.getName())); diff --git a/app/src/main/java/c/g/a/c/i0/d.java b/app/src/main/java/c/g/a/c/i0/d.java index 40950e8f25..210c3f9304 100644 --- a/app/src/main/java/c/g/a/c/i0/d.java +++ b/app/src/main/java/c/g/a/c/i0/d.java @@ -26,7 +26,7 @@ public final class d { public static final a[] b = new a[0]; /* renamed from: c reason: collision with root package name */ - public static final Iterator f613c = Collections.emptyIterator(); + public static final Iterator f582c = Collections.emptyIterator(); /* compiled from: ClassUtil */ public static final class a { @@ -34,7 +34,7 @@ public final class d { public transient Annotation[] b; /* renamed from: c reason: collision with root package name */ - public transient Annotation[][] f614c; + public transient Annotation[][] f583c; public int d = -1; public a(Constructor constructor) { @@ -58,7 +58,7 @@ public final class d { public final Field b = a(EnumSet.class, "elementType", Class.class); /* renamed from: c reason: collision with root package name */ - public final Field f615c = a(EnumMap.class, "elementType", Class.class); + public final Field f584c = a(EnumMap.class, "elementType", Class.class); public static Field a(Class cls, String str, Class cls2) { Field field; @@ -187,26 +187,26 @@ public final class d { } catch (NoSuchMethodException unused) { constructor = null; } catch (Exception e) { - StringBuilder O = c.d.b.a.a.O("Failed to find default constructor of class "); - O.append(cls.getName()); - O.append(", problem: "); - O.append(e.getMessage()); - y(e, O.toString()); + StringBuilder R = c.d.b.a.a.R("Failed to find default constructor of class "); + R.append(cls.getName()); + R.append(", problem: "); + R.append(e.getMessage()); + y(e, R.toString()); throw null; } if (constructor != null) { try { return constructor.newInstance(new Object[0]); } catch (Exception e2) { - StringBuilder O2 = c.d.b.a.a.O("Failed to instantiate class "); - O2.append(cls.getName()); - O2.append(", problem: "); - O2.append(e2.getMessage()); - y(e2, O2.toString()); + StringBuilder R2 = c.d.b.a.a.R("Failed to instantiate class "); + R2.append(cls.getName()); + R2.append(", problem: "); + R2.append(e2.getMessage()); + y(e2, R2.toString()); throw null; } } else { - throw new IllegalArgumentException(c.d.b.a.a.j(cls, c.d.b.a.a.O("Class "), " has no default (no arg) constructor")); + throw new IllegalArgumentException(c.d.b.a.a.n(cls, c.d.b.a.a.R("Class "), " has no default (no arg) constructor")); } } diff --git a/app/src/main/java/c/g/a/c/i0/f.java b/app/src/main/java/c/g/a/c/i0/f.java index 446ac581c7..e361970ab9 100644 --- a/app/src/main/java/c/g/a/c/i0/f.java +++ b/app/src/main/java/c/g/a/c/i0/f.java @@ -37,9 +37,9 @@ public final class f implements Serializable { } return new f(cls, kVarArr); } - StringBuilder O = a.O("Cannot determine enum constants for Class "); - O.append(cls.getName()); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = a.R("Cannot determine enum constants for Class "); + R.append(cls.getName()); + throw new IllegalArgumentException(R.toString()); } public Class> b() { diff --git a/app/src/main/java/c/g/a/c/i0/k.java b/app/src/main/java/c/g/a/c/i0/k.java index 088f9bdf1a..02a55ab6a8 100644 --- a/app/src/main/java/c/g/a/c/i0/k.java +++ b/app/src/main/java/c/g/a/c/i0/k.java @@ -17,9 +17,9 @@ public final class k extends n { } public String toString() { - StringBuilder O = a.O("[PreAndSuffixTransformer('"); - O.append(this.j); - O.append("','"); - return a.G(O, this.k, "')]"); + StringBuilder R = a.R("[PreAndSuffixTransformer('"); + R.append(this.j); + R.append("','"); + return a.H(R, this.k, "')]"); } } diff --git a/app/src/main/java/c/g/a/c/i0/l.java b/app/src/main/java/c/g/a/c/i0/l.java index 7371af5815..8b2b6e3c16 100644 --- a/app/src/main/java/c/g/a/c/i0/l.java +++ b/app/src/main/java/c/g/a/c/i0/l.java @@ -11,10 +11,10 @@ public final class l extends n { @Override // c.g.a.c.i0.n public String a(String str) { - return a.G(new StringBuilder(), this.j, str); + return a.H(new StringBuilder(), this.j, str); } public String toString() { - return a.G(a.O("[PrefixTransformer('"), this.j, "')]"); + return a.H(a.R("[PrefixTransformer('"), this.j, "')]"); } } diff --git a/app/src/main/java/c/g/a/c/i0/m.java b/app/src/main/java/c/g/a/c/i0/m.java index 39e955158d..5b319c7e40 100644 --- a/app/src/main/java/c/g/a/c/i0/m.java +++ b/app/src/main/java/c/g/a/c/i0/m.java @@ -11,12 +11,12 @@ public final class m extends n { @Override // c.g.a.c.i0.n public String a(String str) { - StringBuilder O = a.O(str); - O.append(this.j); - return O.toString(); + StringBuilder R = a.R(str); + R.append(this.j); + return R.toString(); } public String toString() { - return a.G(a.O("[SuffixTransformer('"), this.j, "')]"); + return a.H(a.R("[SuffixTransformer('"), this.j, "')]"); } } diff --git a/app/src/main/java/c/g/a/c/i0/n.java b/app/src/main/java/c/g/a/c/i0/n.java index aea6b435a1..7b804a4658 100644 --- a/app/src/main/java/c/g/a/c/i0/n.java +++ b/app/src/main/java/c/g/a/c/i0/n.java @@ -23,12 +23,12 @@ public abstract class n { @Override // java.lang.Object public String toString() { - StringBuilder O = c.d.b.a.a.O("[ChainedTransformer("); - O.append(this._t1); - O.append(", "); - O.append(this._t2); - O.append(")]"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("[ChainedTransformer("); + R.append(this._t1); + R.append(", "); + R.append(this._t2); + R.append(")]"); + return R.toString(); } } diff --git a/app/src/main/java/c/g/a/c/i0/r.java b/app/src/main/java/c/g/a/c/i0/r.java index f2773801a4..8b91de1a45 100644 --- a/app/src/main/java/c/g/a/c/i0/r.java +++ b/app/src/main/java/c/g/a/c/i0/r.java @@ -30,10 +30,10 @@ public class r extends DateFormat { public final Locale _locale; private boolean _tzSerializedWithColon; public transient TimeZone q; + public transient Calendar r; - /* renamed from: r reason: collision with root package name */ - public transient Calendar f616r; - public transient DateFormat s; + /* renamed from: s reason: collision with root package name */ + public transient DateFormat f585s; static { try { @@ -100,10 +100,10 @@ public class r extends DateFormat { } public Calendar b(TimeZone timeZone) { - Calendar calendar = this.f616r; + Calendar calendar = this.r; if (calendar == null) { calendar = (Calendar) p.clone(); - this.f616r = calendar; + this.r = calendar; } if (!calendar.getTimeZone().equals(timeZone)) { calendar.setTimeZone(timeZone); @@ -318,7 +318,7 @@ public class r extends DateFormat { throw new ParseException(String.format("Timestamp value %s out of 64-bit value range", str), parsePosition.getErrorIndex()); } } - if (this.s == null) { + if (this.f585s == null) { DateFormat dateFormat2 = n; TimeZone timeZone = this.q; Locale locale = this._locale; @@ -338,9 +338,9 @@ public class r extends DateFormat { if (bool != null) { dateFormat.setLenient(bool.booleanValue()); } - this.s = dateFormat; + this.f585s = dateFormat; } - return this.s.parse(str, parsePosition); + return this.f585s.parse(str, parsePosition); } } @@ -399,14 +399,14 @@ public class r extends DateFormat { Boolean bool = this._lenient; if (!(valueOf == bool || (valueOf != null && valueOf.equals(bool)))) { this._lenient = valueOf; - this.s = null; + this.f585s = null; } } @Override // java.text.DateFormat public void setTimeZone(TimeZone timeZone) { if (!timeZone.equals(this.q)) { - this.s = null; + this.f585s = null; this.q = timeZone; } } diff --git a/app/src/main/java/c/g/a/c/i0/s.java b/app/src/main/java/c/g/a/c/i0/s.java index 1183591b71..ba333e76a2 100644 --- a/app/src/main/java/c/g/a/c/i0/s.java +++ b/app/src/main/java/c/g/a/c/i0/s.java @@ -43,48 +43,48 @@ public class s extends d { } @Override // c.g.a.b.d - public void B() throws IOException { + public void A() throws IOException { h hVar = h.VALUE_NULL; throw null; } @Override // c.g.a.b.d public void C(double d) throws IOException { - q0(h.VALUE_NUMBER_FLOAT, Double.valueOf(d)); + o0(h.VALUE_NUMBER_FLOAT, Double.valueOf(d)); throw null; } @Override // c.g.a.b.d - public void G(float f) throws IOException { - q0(h.VALUE_NUMBER_FLOAT, Float.valueOf(f)); + public void D(float f) throws IOException { + o0(h.VALUE_NUMBER_FLOAT, Float.valueOf(f)); throw null; } @Override // c.g.a.b.d public void H(int i) throws IOException { - q0(h.VALUE_NUMBER_INT, Integer.valueOf(i)); + o0(h.VALUE_NUMBER_INT, Integer.valueOf(i)); throw null; } @Override // c.g.a.b.d public void I(long j) throws IOException { - q0(h.VALUE_NUMBER_INT, Long.valueOf(j)); + o0(h.VALUE_NUMBER_INT, Long.valueOf(j)); throw null; } @Override // c.g.a.b.d - public void K(String str) throws IOException { - q0(h.VALUE_NUMBER_FLOAT, str); + public void J(String str) throws IOException { + o0(h.VALUE_NUMBER_FLOAT, str); throw null; } @Override // c.g.a.b.d - public void M(BigDecimal bigDecimal) throws IOException { + public void L(BigDecimal bigDecimal) throws IOException { if (bigDecimal == null) { - B(); + A(); throw null; } else { - q0(h.VALUE_NUMBER_FLOAT, bigDecimal); + o0(h.VALUE_NUMBER_FLOAT, bigDecimal); throw null; } } @@ -92,41 +92,41 @@ public class s extends d { @Override // c.g.a.b.d public void N(BigInteger bigInteger) throws IOException { if (bigInteger == null) { - B(); + A(); throw null; } else { - q0(h.VALUE_NUMBER_INT, bigInteger); + o0(h.VALUE_NUMBER_INT, bigInteger); throw null; } } @Override // c.g.a.b.d - public void Q(short s) throws IOException { - q0(h.VALUE_NUMBER_INT, Short.valueOf(s)); + public void O(short s2) throws IOException { + o0(h.VALUE_NUMBER_INT, Short.valueOf(s2)); throw null; } @Override // c.g.a.b.d public void R(char c2) throws IOException { - s0(); + r0(); throw null; } @Override // c.g.a.b.d public void S(k kVar) throws IOException { - s0(); + r0(); throw null; } @Override // c.g.a.b.d public void T(String str) throws IOException { - s0(); + r0(); throw null; } @Override // c.g.a.b.d public void U(char[] cArr, int i, int i2) throws IOException { - s0(); + r0(); throw null; } @@ -142,7 +142,7 @@ public class s extends d { } @Override // c.g.a.b.d - public void a0(Object obj) throws IOException { + public void X(Object obj) throws IOException { throw null; } @@ -177,7 +177,7 @@ public class s extends d { } @Override // c.g.a.b.d - public void e0(Object obj) throws IOException { + public void d0(Object obj) throws IOException { throw null; } @@ -196,45 +196,49 @@ public class s extends d { } @Override // c.g.a.b.d - public void i0(k kVar) throws IOException { + public void g0(k kVar) throws IOException { if (kVar == null) { - B(); + A(); throw null; } else { - q0(h.VALUE_STRING, kVar); + o0(h.VALUE_STRING, kVar); throw null; } } @Override // c.g.a.b.d - public void l0(String str) throws IOException { + public void j0(String str) throws IOException { if (str == null) { - B(); + A(); throw null; } else { - q0(h.VALUE_STRING, str); + o0(h.VALUE_STRING, str); throw null; } } @Override // c.g.a.b.d - public void n0(char[] cArr, int i, int i2) throws IOException { - l0(new String(cArr, i, i2)); + public void m0(char[] cArr, int i, int i2) throws IOException { + j0(new String(cArr, i, i2)); throw null; } @Override // c.g.a.b.d - public void p(c.g.a.b.a aVar, byte[] bArr, int i, int i2) throws IOException { + public void n(c.g.a.b.a aVar, byte[] bArr, int i, int i2) throws IOException { byte[] bArr2 = new byte[i2]; System.arraycopy(bArr, i, bArr2, 0, i2); writeObject(bArr2); throw null; } - public final void q0(h hVar, Object obj) { + public final void o0(h hVar, Object obj) { throw null; } + public void r0() { + throw new UnsupportedOperationException("Called operation not supported for TokenBuffer"); + } + @Override // c.g.a.b.d public void s(boolean z2) throws IOException { if (z2) { @@ -245,10 +249,6 @@ public class s extends d { throw null; } - public void s0() { - throw new UnsupportedOperationException("Called operation not supported for TokenBuffer"); - } - @Override // c.g.a.b.d public final void t() throws IOException { h hVar = h.END_ARRAY; @@ -257,27 +257,27 @@ public class s extends d { @Override // java.lang.Object public String toString() { - StringBuilder O = c.d.b.a.a.O("[TokenBuffer: "); + StringBuilder R = c.d.b.a.a.R("[TokenBuffer: "); new a(null, false, false, null); - O.append(']'); - return O.toString(); + R.append(']'); + return R.toString(); } @Override // c.g.a.b.d - public final void w() throws IOException { + public final void u() throws IOException { h hVar = h.END_OBJECT; throw null; } public void writeObject(Object obj) throws IOException { if (obj == null) { - B(); + A(); throw null; } else if (obj.getClass() == byte[].class || (obj instanceof o)) { - q0(h.VALUE_EMBEDDED_OBJECT, obj); + o0(h.VALUE_EMBEDDED_OBJECT, obj); throw null; } else { - q0(h.VALUE_EMBEDDED_OBJECT, obj); + o0(h.VALUE_EMBEDDED_OBJECT, obj); throw null; } } @@ -289,7 +289,7 @@ public class s extends d { } @Override // c.g.a.b.d - public final void z(String str) throws IOException { + public final void y(String str) throws IOException { throw null; } } diff --git a/app/src/main/java/c/g/a/c/i0/t.java b/app/src/main/java/c/g/a/c/i0/t.java index 9e606631d6..4467a191e5 100644 --- a/app/src/main/java/c/g/a/c/i0/t.java +++ b/app/src/main/java/c/g/a/c/i0/t.java @@ -6,7 +6,7 @@ import c.g.a.b.g; public class t extends g { /* renamed from: c reason: collision with root package name */ - public final g f617c = null; + public final g f586c = null; public final e d = e.i; public String e; public Object f; diff --git a/app/src/main/java/c/g/a/c/i0/u.java b/app/src/main/java/c/g/a/c/i0/u.java index 35e502c6d1..ff410ad209 100644 --- a/app/src/main/java/c/g/a/c/i0/u.java +++ b/app/src/main/java/c/g/a/c/i0/u.java @@ -8,14 +8,14 @@ public class u { public Class b; /* renamed from: c reason: collision with root package name */ - public j f618c; + public j f587c; public boolean d; public u() { } public u(j jVar, boolean z2) { - this.f618c = jVar; + this.f587c = jVar; this.b = null; this.d = z2; this.a = z2 ? jVar._hash - 2 : jVar._hash - 1; @@ -23,7 +23,7 @@ public class u { public u(Class cls, boolean z2) { this.b = cls; - this.f618c = null; + this.f587c = null; this.d = z2; this.a = z2 ? cls.getName().hashCode() + 1 : cls.getName().hashCode(); } @@ -43,7 +43,7 @@ public class u { return false; } Class cls = this.b; - return cls != null ? uVar.b == cls : this.f618c.equals(uVar.f618c); + return cls != null ? uVar.b == cls : this.f587c.equals(uVar.f587c); } public final int hashCode() { @@ -52,13 +52,13 @@ public class u { public final String toString() { if (this.b != null) { - StringBuilder O = a.O("{class: "); - a.f0(this.b, O, ", typed? "); - return a.K(O, this.d, "}"); + StringBuilder R = a.R("{class: "); + a.i0(this.b, R, ", typed? "); + return a.L(R, this.d, "}"); } - StringBuilder O2 = a.O("{type: "); - O2.append(this.f618c); - O2.append(", typed? "); - return a.K(O2, this.d, "}"); + StringBuilder R2 = a.R("{type: "); + R2.append(this.f587c); + R2.append(", typed? "); + return a.L(R2, this.d, "}"); } } diff --git a/app/src/main/java/c/g/a/c/l.java b/app/src/main/java/c/g/a/c/l.java index 4ae6df3629..ea82f9a47c 100644 --- a/app/src/main/java/c/g/a/c/l.java +++ b/app/src/main/java/c/g/a/c/l.java @@ -8,6 +8,6 @@ public abstract class l extends m.a implements Iterable { /* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: java.util.Iterator, java.util.Iterator */ @Override // java.lang.Iterable public final Iterator iterator() { - return d.f613c; + return d.f582c; } } diff --git a/app/src/main/java/c/g/a/c/t.java b/app/src/main/java/c/g/a/c/t.java index cfebeca571..ffd915668d 100644 --- a/app/src/main/java/c/g/a/c/t.java +++ b/app/src/main/java/c/g/a/c/t.java @@ -83,10 +83,10 @@ public class t implements Serializable { if (this._namespace == null) { return this._simpleName; } - StringBuilder O = a.O("{"); - O.append(this._namespace); - O.append("}"); - O.append(this._simpleName); - return O.toString(); + StringBuilder R = a.R("{"); + R.append(this._namespace); + R.append("}"); + R.append(this._simpleName); + return R.toString(); } } diff --git a/app/src/main/java/c/g/a/c/x.java b/app/src/main/java/c/g/a/c/x.java index 7ea8e1678f..512fb10f3f 100644 --- a/app/src/main/java/c/g/a/c/x.java +++ b/app/src/main/java/c/g/a/c/x.java @@ -196,7 +196,7 @@ public abstract class x extends e { public final void l(c.g.a.b.d dVar) throws IOException { if (this._stdNullValueSerializer) { - dVar.B(); + dVar.A(); } else { this._nullValueSerializer.f(null, dVar, this); } diff --git a/app/src/main/java/c/g/a/c/y/b.java b/app/src/main/java/c/g/a/c/y/b.java index a517c1399b..e3c87fd552 100644 --- a/app/src/main/java/c/g/a/c/y/b.java +++ b/app/src/main/java/c/g/a/c/y/b.java @@ -26,7 +26,7 @@ public @interface b { /* compiled from: JsonAppend */ /* renamed from: c.g.a.c.y.b$b reason: collision with other inner class name */ - public @interface AbstractC0078b { + public @interface AbstractC0077b { p.a include() default p.a.NON_NULL; String name() default ""; @@ -44,5 +44,5 @@ public @interface b { boolean prepend() default false; - AbstractC0078b[] props() default {}; + AbstractC0077b[] props() default {}; } diff --git a/app/src/main/java/c/g/a/c/z/a.java b/app/src/main/java/c/g/a/c/z/a.java index 69152cdb0d..39df7a2dbd 100644 --- a/app/src/main/java/c/g/a/c/z/a.java +++ b/app/src/main/java/c/g/a/c/z/a.java @@ -15,7 +15,7 @@ import java.util.TimeZone; public final class a implements Serializable { public static final TimeZone i = TimeZone.getTimeZone("UTC"); private static final long serialVersionUID = 1; - public final a.AbstractC0077a _accessorNaming; + public final a.AbstractC0076a _accessorNaming; public final b _annotationIntrospector; public final t _classIntrospector; public final DateFormat _dateFormat; @@ -29,7 +29,7 @@ public final class a implements Serializable { public final c _typeValidator; /* JADX WARN: Incorrect args count in method signature: (Lc/g/a/c/c0/t;Lc/g/a/c/b;Lc/g/a/c/u;Lc/g/a/c/h0/n;Lc/g/a/c/e0/f<*>;Ljava/text/DateFormat;Lc/g/a/c/z/k;Ljava/util/Locale;Ljava/util/TimeZone;Lc/g/a/b/a;Lc/g/a/c/e0/c;Lc/g/a/c/c0/a$a;)V */ - public a(t tVar, b bVar, u uVar, n nVar, f fVar, DateFormat dateFormat, Locale locale, TimeZone timeZone, c.g.a.b.a aVar, c cVar, a.AbstractC0077a aVar2) { + public a(t tVar, b bVar, u uVar, n nVar, f fVar, DateFormat dateFormat, Locale locale, TimeZone timeZone, c.g.a.b.a aVar, c cVar, a.AbstractC0076a aVar2) { this._classIntrospector = tVar; this._annotationIntrospector = bVar; this._propertyNamingStrategy = uVar; diff --git a/app/src/main/java/c/h/a/a/a.java b/app/src/main/java/c/h/a/a/a.java index d5e27fa4f5..329da98ec0 100644 --- a/app/src/main/java/c/h/a/a/a.java +++ b/app/src/main/java/c/h/a/a/a.java @@ -15,15 +15,15 @@ public class a implements c { public RenderScript b; /* renamed from: c reason: collision with root package name */ - public ScriptIntrinsicBlur f629c; + public ScriptIntrinsicBlur f596c; public Allocation d; public Allocation e; @Override // c.h.a.a.c public void a(Bitmap bitmap, Bitmap bitmap2) { this.d.copyFrom(bitmap); - this.f629c.setInput(this.d); - this.f629c.forEach(this.e); + this.f596c.setInput(this.d); + this.f596c.forEach(this.e); this.e.copyTo(bitmap2); } @@ -34,7 +34,7 @@ public class a implements c { try { RenderScript create = RenderScript.create(context); this.b = create; - this.f629c = ScriptIntrinsicBlur.create(create, Element.U8_4(create)); + this.f596c = ScriptIntrinsicBlur.create(create, Element.U8_4(create)); } catch (RSRuntimeException e) { if (a == null && context != null) { a = Boolean.valueOf((context.getApplicationInfo().flags & 2) != 0); @@ -49,7 +49,7 @@ public class a implements c { throw e; } } - this.f629c.setRadius(f); + this.f596c.setRadius(f); Allocation createFromBitmap = Allocation.createFromBitmap(this.b, bitmap, Allocation.MipmapControl.MIPMAP_NONE, 1); this.d = createFromBitmap; this.e = Allocation.createTyped(this.b, createFromBitmap.getType()); @@ -68,10 +68,10 @@ public class a implements c { allocation2.destroy(); this.e = null; } - ScriptIntrinsicBlur scriptIntrinsicBlur = this.f629c; + ScriptIntrinsicBlur scriptIntrinsicBlur = this.f596c; if (scriptIntrinsicBlur != null) { scriptIntrinsicBlur.destroy(); - this.f629c = null; + this.f596c = null; } RenderScript renderScript = this.b; if (renderScript != null) { diff --git a/app/src/main/java/c/h/a/a/b.java b/app/src/main/java/c/h/a/a/b.java index 3619ff01cd..9cb12b40e3 100644 --- a/app/src/main/java/c/h/a/a/b.java +++ b/app/src/main/java/c/h/a/a/b.java @@ -13,15 +13,15 @@ public class b implements c { public RenderScript b; /* renamed from: c reason: collision with root package name */ - public ScriptIntrinsicBlur f630c; + public ScriptIntrinsicBlur f597c; public Allocation d; public Allocation e; @Override // c.h.a.a.c public void a(Bitmap bitmap, Bitmap bitmap2) { this.d.copyFrom(bitmap); - this.f630c.setInput(this.d); - this.f630c.forEach(this.e); + this.f597c.setInput(this.d); + this.f597c.forEach(this.e); this.e.copyTo(bitmap2); } @@ -32,7 +32,7 @@ public class b implements c { try { RenderScript create = RenderScript.create(context); this.b = create; - this.f630c = ScriptIntrinsicBlur.create(create, Element.U8_4(create)); + this.f597c = ScriptIntrinsicBlur.create(create, Element.U8_4(create)); } catch (RSRuntimeException e) { if (a == null && context != null) { a = Boolean.valueOf((context.getApplicationInfo().flags & 2) != 0); @@ -47,7 +47,7 @@ public class b implements c { throw e; } } - this.f630c.setRadius(f); + this.f597c.setRadius(f); Allocation createFromBitmap = Allocation.createFromBitmap(this.b, bitmap, Allocation.MipmapControl.MIPMAP_NONE, 1); this.d = createFromBitmap; this.e = Allocation.createTyped(this.b, createFromBitmap.getType()); @@ -66,10 +66,10 @@ public class b implements c { allocation2.destroy(); this.e = null; } - ScriptIntrinsicBlur scriptIntrinsicBlur = this.f630c; + ScriptIntrinsicBlur scriptIntrinsicBlur = this.f597c; if (scriptIntrinsicBlur != null) { scriptIntrinsicBlur.destroy(); - this.f630c = null; + this.f597c = null; } RenderScript renderScript = this.b; if (renderScript != null) { diff --git a/app/src/main/java/c/h/a/a/e.java b/app/src/main/java/c/h/a/a/e.java index 2120d91ce5..f7c85f92d0 100644 --- a/app/src/main/java/c/h/a/a/e.java +++ b/app/src/main/java/c/h/a/a/e.java @@ -13,15 +13,15 @@ public class e implements c { public RenderScript b; /* renamed from: c reason: collision with root package name */ - public ScriptIntrinsicBlur f631c; + public ScriptIntrinsicBlur f598c; public Allocation d; public Allocation e; @Override // c.h.a.a.c public void a(Bitmap bitmap, Bitmap bitmap2) { this.d.copyFrom(bitmap); - this.f631c.setInput(this.d); - this.f631c.forEach(this.e); + this.f598c.setInput(this.d); + this.f598c.forEach(this.e); this.e.copyTo(bitmap2); } @@ -32,7 +32,7 @@ public class e implements c { try { RenderScript create = RenderScript.create(context); this.b = create; - this.f631c = ScriptIntrinsicBlur.create(create, Element.U8_4(create)); + this.f598c = ScriptIntrinsicBlur.create(create, Element.U8_4(create)); } catch (RSRuntimeException e) { if (a == null && context != null) { a = Boolean.valueOf((context.getApplicationInfo().flags & 2) != 0); @@ -47,7 +47,7 @@ public class e implements c { throw e; } } - this.f631c.setRadius(f); + this.f598c.setRadius(f); Allocation createFromBitmap = Allocation.createFromBitmap(this.b, bitmap, Allocation.MipmapControl.MIPMAP_NONE, 1); this.d = createFromBitmap; this.e = Allocation.createTyped(this.b, createFromBitmap.getType()); @@ -66,10 +66,10 @@ public class e implements c { allocation2.destroy(); this.e = null; } - ScriptIntrinsicBlur scriptIntrinsicBlur = this.f631c; + ScriptIntrinsicBlur scriptIntrinsicBlur = this.f598c; if (scriptIntrinsicBlur != null) { scriptIntrinsicBlur.destroy(); - this.f631c = null; + this.f598c = null; } RenderScript renderScript = this.b; if (renderScript != null) { diff --git a/app/src/main/java/c/i/a/b/b.java b/app/src/main/java/c/i/a/b/b.java index 1b4cba48f8..a5478558f5 100644 --- a/app/src/main/java/c/i/a/b/b.java +++ b/app/src/main/java/c/i/a/b/b.java @@ -29,6 +29,6 @@ public final class b { @NonNull public String toString() { - return a.G(a.O("Encoding{name=\""), this.a, "\"}"); + return a.H(a.R("Encoding{name=\""), this.a, "\"}"); } } diff --git a/app/src/main/java/c/i/a/b/i/a.java b/app/src/main/java/c/i/a/b/i/a.java index b8ec080ede..f83ed94599 100644 --- a/app/src/main/java/c/i/a/b/i/a.java +++ b/app/src/main/java/c/i/a/b/i/a.java @@ -13,11 +13,11 @@ import java.util.Set; import java.util.regex.Pattern; /* compiled from: CCTDestination */ public final class a implements d { - public static final String a = c.c.a.a0.d.k1("hts/frbslgiggolai.o/0clgbthfra=snpoo", "tp:/ieaeogn.ogepscmvc/o/ac?omtjo_rt3"); + public static final String a = c.c.a.a0.d.i1("hts/frbslgiggolai.o/0clgbthfra=snpoo", "tp:/ieaeogn.ogepscmvc/o/ac?omtjo_rt3"); public static final String b; /* renamed from: c reason: collision with root package name */ - public static final String f632c; + public static final String f599c; public static final Set d = Collections.unmodifiableSet(new HashSet(Arrays.asList(new b("proto"), new b("json")))); public static final a e; @NonNull @@ -26,11 +26,11 @@ public final class a implements d { public final String g; static { - String k1 = c.c.a.a0.d.k1("hts/frbslgigp.ogepscmv/ieo/eaybtho", "tp:/ieaeogn-agolai.o/1frlglgc/aclg"); - b = k1; - String k12 = c.c.a.a0.d.k1("AzSCki82AwsLzKd5O8zo", "IayckHiZRO1EFl1aGoK"); - f632c = k12; - e = new a(k1, k12); + String i1 = c.c.a.a0.d.i1("hts/frbslgigp.ogepscmv/ieo/eaybtho", "tp:/ieaeogn-agolai.o/1frlglgc/aclg"); + b = i1; + String i12 = c.c.a.a0.d.i1("AzSCki82AwsLzKd5O8zo", "IayckHiZRO1EFl1aGoK"); + f599c = i12; + e = new a(i1, i12); } public a(@NonNull String str, @Nullable String str2) { diff --git a/app/src/main/java/c/i/a/b/i/b.java b/app/src/main/java/c/i/a/b/i/b.java index 9c4b0c5787..d85051f1cc 100644 --- a/app/src/main/java/c/i/a/b/i/b.java +++ b/app/src/main/java/c/i/a/b/i/b.java @@ -32,7 +32,7 @@ public final /* synthetic */ class b { d dVar = this.a; d.a aVar = (d.a) obj; Objects.requireNonNull(dVar); - c.c.a.a0.d.Z("CctTransportBackend", "Making request to: %s", aVar.a); + c.c.a.a0.d.W("CctTransportBackend", "Making request to: %s", aVar.a); HttpURLConnection httpURLConnection = (HttpURLConnection) aVar.a.openConnection(); httpURLConnection.setConnectTimeout(30000); httpURLConnection.setReadTimeout(dVar.g); @@ -43,7 +43,7 @@ public final /* synthetic */ class b { httpURLConnection.setRequestProperty("Content-Encoding", "gzip"); httpURLConnection.setRequestProperty("Content-Type", RestAPIBuilder.CONTENT_TYPE_JSON); httpURLConnection.setRequestProperty("Accept-Encoding", "gzip"); - String str = aVar.f634c; + String str = aVar.f601c; if (str != null) { httpURLConnection.setRequestProperty("X-Goog-Api-Key", str); } @@ -58,9 +58,9 @@ public final /* synthetic */ class b { outputStream.close(); } int responseCode = httpURLConnection.getResponseCode(); - c.c.a.a0.d.O0("CctTransportBackend", "Status Code: " + responseCode); - c.c.a.a0.d.O0("CctTransportBackend", "Content-Type: " + httpURLConnection.getHeaderField("Content-Type")); - c.c.a.a0.d.O0("CctTransportBackend", "Content-Encoding: " + httpURLConnection.getHeaderField("Content-Encoding")); + c.c.a.a0.d.K0("CctTransportBackend", "Status Code: " + responseCode); + c.c.a.a0.d.K0("CctTransportBackend", "Content-Type: " + httpURLConnection.getHeaderField("Content-Type")); + c.c.a.a0.d.K0("CctTransportBackend", "Content-Encoding: " + httpURLConnection.getHeaderField("Content-Encoding")); if (responseCode == 302 || responseCode == 301 || responseCode == 307) { return new d.b(responseCode, new URL(httpURLConnection.getHeaderField("Location")), 0); } @@ -92,10 +92,10 @@ public final /* synthetic */ class b { } catch (Throwable unused4) { } } catch (ConnectException | UnknownHostException e) { - c.c.a.a0.d.e0("CctTransportBackend", "Couldn't open connection, returning with 500", e); + c.c.a.a0.d.b0("CctTransportBackend", "Couldn't open connection, returning with 500", e); return new d.b(500, null, 0); } catch (EncodingException | IOException e2) { - c.c.a.a0.d.e0("CctTransportBackend", "Couldn't encode request, returning with 400", e2); + c.c.a.a0.d.b0("CctTransportBackend", "Couldn't encode request, returning with 400", e2); return new d.b(400, null, 0); } } diff --git a/app/src/main/java/c/i/a/b/i/d.java b/app/src/main/java/c/i/a/b/i/d.java index d46514adb4..1a40c7f775 100644 --- a/app/src/main/java/c/i/a/b/i/d.java +++ b/app/src/main/java/c/i/a/b/i/d.java @@ -39,7 +39,7 @@ public final class d implements m { public final ConnectivityManager b; /* renamed from: c reason: collision with root package name */ - public final Context f633c; + public final Context f600c; public final URL d = c(a.a); public final c.i.a.b.j.v.a e; public final c.i.a.b.j.v.a f; @@ -52,12 +52,12 @@ public final class d implements m { @Nullable /* renamed from: c reason: collision with root package name */ - public final String f634c; + public final String f601c; public a(URL url, j jVar, @Nullable String str) { this.a = url; this.b = jVar; - this.f634c = str; + this.f601c = str; } } @@ -68,12 +68,12 @@ public final class d implements m { public final URL b; /* renamed from: c reason: collision with root package name */ - public final long f635c; + public final long f602c; public b(int i, @Nullable URL url, long j) { this.a = i; this.b = url; - this.f635c = j; + this.f602c = j; } } @@ -82,7 +82,7 @@ public final class d implements m { ((c.i.a.b.i.e.b) c.i.a.b.i.e.b.a).a(eVar); eVar.e = true; this.a = new c.i.c.p.h.d(eVar); - this.f633c = context; + this.f600c = context; this.b = (ConnectivityManager) context.getSystemService("connectivity"); this.e = aVar2; this.f = aVar; @@ -93,7 +93,7 @@ public final class d implements m { try { return new URL(str); } catch (MalformedURLException e) { - throw new IllegalArgumentException(c.d.b.a.a.u("Invalid url: ", str), e); + throw new IllegalArgumentException(c.d.b.a.a.v("Invalid url: ", str), e); } } @@ -152,13 +152,13 @@ public final class d implements m { bVar.e = str3; } else { aVar2 = aVar3; - Log.w(c.c.a.a0.d.F0("CctTransportBackend"), String.format("Received event of unsupported encoding %s. Skipping...", bVar2)); + Log.w(c.c.a.a0.d.C0("CctTransportBackend"), String.format("Received event of unsupported encoding %s. Skipping...", bVar2)); it2 = it2; it = it; aVar3 = aVar2; } bVar.a = Long.valueOf(fVar4.e()); - bVar.f638c = Long.valueOf(fVar4.h()); + bVar.f605c = Long.valueOf(fVar4.h()); String str4 = fVar4.b().get("tz-offset"); bVar.f = Long.valueOf(str4 == null ? 0 : Long.valueOf(str4).longValue()); aVar2 = aVar3; @@ -167,31 +167,31 @@ public final class d implements m { bVar.b = fVar4.c(); } String str5 = bVar.a == null ? " eventTimeMs" : ""; - if (bVar.f638c == null) { - str5 = c.d.b.a.a.u(str5, " eventUptimeMs"); + if (bVar.f605c == null) { + str5 = c.d.b.a.a.v(str5, " eventUptimeMs"); } if (bVar.f == null) { - str5 = c.d.b.a.a.u(str5, " timezoneOffsetSeconds"); + str5 = c.d.b.a.a.v(str5, " timezoneOffsetSeconds"); } if (str5.isEmpty()) { - arrayList3.add(new c.i.a.b.i.e.f(bVar.a.longValue(), bVar.b, bVar.f638c.longValue(), bVar.d, bVar.e, bVar.f.longValue(), bVar.g, null)); + arrayList3.add(new c.i.a.b.i.e.f(bVar.a.longValue(), bVar.b, bVar.f605c.longValue(), bVar.d, bVar.e, bVar.f.longValue(), bVar.g, null)); it2 = it2; it = it; aVar3 = aVar2; } else { - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str5)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str5)); } } String str6 = valueOf == null ? " requestTimeMs" : ""; if (valueOf2 == null) { - str6 = c.d.b.a.a.u(str6, " requestUptimeMs"); + str6 = c.d.b.a.a.v(str6, " requestUptimeMs"); } if (str6.isEmpty()) { arrayList2.add(new c.i.a.b.i.e.g(valueOf.longValue(), valueOf2.longValue(), eVar, num, str, arrayList3, pVar, null)); it = it; aVar3 = aVar3; } else { - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str6)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str6)); } } else { c.i.a.b.i.e.d dVar = new c.i.a.b.i.e.d(arrayList2); @@ -215,7 +215,7 @@ public final class d implements m { b bVar3 = (b) c.c.a.a0.d.T1(5, new a(url, dVar, str2), new b(this), c.a); int i = bVar3.a; if (i == 200) { - return new c.i.a.b.j.q.b(g.a.OK, bVar3.f635c); + return new c.i.a.b.j.q.b(g.a.OK, bVar3.f602c); } if (i < 500) { if (i != 404) { @@ -227,13 +227,13 @@ public final class d implements m { return new c.i.a.b.j.q.b(aVar, -1); } catch (IOException e2) { e = e2; - c.c.a.a0.d.e0("CctTransportBackend", "Could not make request to the backend", e); + c.c.a.a0.d.b0("CctTransportBackend", "Could not make request to the backend", e); return new c.i.a.b.j.q.b(aVar, -1); } } catch (IOException e3) { e = e3; aVar = aVar3; - c.c.a.a0.d.e0("CctTransportBackend", "Could not make request to the backend", e); + c.c.a.a0.d.b0("CctTransportBackend", "Could not make request to the backend", e); return new c.i.a.b.j.q.b(aVar, -1); } } @@ -270,12 +270,12 @@ public final class d implements m { i2.c().put("mobile-subtype", String.valueOf(i)); i2.c().put("country", Locale.getDefault().getCountry()); i2.c().put("locale", Locale.getDefault().getLanguage()); - i2.c().put("mcc_mnc", ((TelephonyManager) this.f633c.getSystemService("phone")).getSimOperator()); - Context context = this.f633c; + i2.c().put("mcc_mnc", ((TelephonyManager) this.f600c.getSystemService("phone")).getSimOperator()); + Context context = this.f600c; try { i3 = context.getPackageManager().getPackageInfo(context.getPackageName(), 0).versionCode; } catch (PackageManager.NameNotFoundException e) { - c.c.a.a0.d.e0("CctTransportBackend", "Unable to find version code for package", e); + c.c.a.a0.d.b0("CctTransportBackend", "Unable to find version code for package", e); } i2.c().put("application_build", Integer.toString(i3)); return i2.b(); diff --git a/app/src/main/java/c/i/a/b/i/e/b.java b/app/src/main/java/c/i/a/b/i/e/b.java index 25d942cb05..0f645be77a 100644 --- a/app/src/main/java/c/i/a/b/i/e/b.java +++ b/app/src/main/java/c/i/a/b/i/e/b.java @@ -31,8 +31,8 @@ public final class b implements c.i.c.p.g.a { /* compiled from: AutoBatchedLogRequestEncoder */ /* renamed from: c.i.a.b.i.e.b$b reason: collision with other inner class name */ - public static final class C0079b implements c.i.c.p.c { - public static final C0079b a = new C0079b(); + public static final class C0078b implements c.i.c.p.c { + public static final C0078b a = new C0078b(); /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // c.i.c.p.b @@ -108,36 +108,36 @@ public final class b implements c.i.c.p.g.a { } public void a(c.i.c.p.g.b bVar) { - C0079b bVar2 = C0079b.a; + C0078b bVar2 = C0078b.a; c.i.c.p.h.e eVar = (c.i.c.p.h.e) bVar; eVar.b.put(j.class, bVar2); - eVar.f1446c.remove(j.class); + eVar.f1401c.remove(j.class); eVar.b.put(d.class, bVar2); - eVar.f1446c.remove(d.class); + eVar.f1401c.remove(d.class); e eVar2 = e.a; eVar.b.put(m.class, eVar2); - eVar.f1446c.remove(m.class); + eVar.f1401c.remove(m.class); eVar.b.put(g.class, eVar2); - eVar.f1446c.remove(g.class); + eVar.f1401c.remove(g.class); c cVar = c.a; eVar.b.put(k.class, cVar); - eVar.f1446c.remove(k.class); + eVar.f1401c.remove(k.class); eVar.b.put(e.class, cVar); - eVar.f1446c.remove(e.class); + eVar.f1401c.remove(e.class); a aVar = a.a; eVar.b.put(a.class, aVar); - eVar.f1446c.remove(a.class); + eVar.f1401c.remove(a.class); eVar.b.put(c.class, aVar); - eVar.f1446c.remove(c.class); + eVar.f1401c.remove(c.class); d dVar = d.a; eVar.b.put(l.class, dVar); - eVar.f1446c.remove(l.class); + eVar.f1401c.remove(l.class); eVar.b.put(f.class, dVar); - eVar.f1446c.remove(f.class); + eVar.f1401c.remove(f.class); f fVar = f.a; eVar.b.put(o.class, fVar); - eVar.f1446c.remove(o.class); + eVar.f1401c.remove(o.class); eVar.b.put(i.class, fVar); - eVar.f1446c.remove(i.class); + eVar.f1401c.remove(i.class); } } diff --git a/app/src/main/java/c/i/a/b/i/e/c.java b/app/src/main/java/c/i/a/b/i/e/c.java index fa20135556..a2e45b0641 100644 --- a/app/src/main/java/c/i/a/b/i/e/c.java +++ b/app/src/main/java/c/i/a/b/i/e/c.java @@ -7,7 +7,7 @@ public final class c extends a { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f636c; + public final String f603c; public final String d; public final String e; public final String f; @@ -21,7 +21,7 @@ public final class c extends a { public c(Integer num, String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10, String str11, a aVar) { this.a = num; this.b = str; - this.f636c = str2; + this.f603c = str2; this.d = str3; this.e = str4; this.f = str5; @@ -60,7 +60,7 @@ public final class c extends a { @Override // c.i.a.b.i.e.a @Nullable public String e() { - return this.f636c; + return this.f603c; } public boolean equals(Object obj) { @@ -75,7 +75,7 @@ public final class c extends a { if (num != null ? num.equals(aVar.l()) : aVar.l() == null) { String str = this.b; if (str != null ? str.equals(aVar.i()) : aVar.i() == null) { - String str2 = this.f636c; + String str2 = this.f603c; if (str2 != null ? str2.equals(aVar.e()) : aVar.e() == null) { String str3 = this.d; if (str3 != null ? str3.equals(aVar.c()) : aVar.c() == null) { @@ -139,7 +139,7 @@ public final class c extends a { int hashCode = ((num == null ? 0 : num.hashCode()) ^ 1000003) * 1000003; String str = this.b; int hashCode2 = (hashCode ^ (str == null ? 0 : str.hashCode())) * 1000003; - String str2 = this.f636c; + String str2 = this.f603c; int hashCode3 = (hashCode2 ^ (str2 == null ? 0 : str2.hashCode())) * 1000003; String str3 = this.d; int hashCode4 = (hashCode3 ^ (str3 == null ? 0 : str3.hashCode())) * 1000003; @@ -189,29 +189,29 @@ public final class c extends a { } public String toString() { - StringBuilder O = c.d.b.a.a.O("AndroidClientInfo{sdkVersion="); - O.append(this.a); - O.append(", model="); - O.append(this.b); - O.append(", hardware="); - O.append(this.f636c); - O.append(", device="); - O.append(this.d); - O.append(", product="); - O.append(this.e); - O.append(", osBuild="); - O.append(this.f); - O.append(", manufacturer="); - O.append(this.g); - O.append(", fingerprint="); - O.append(this.h); - O.append(", locale="); - O.append(this.i); - O.append(", country="); - O.append(this.j); - O.append(", mccMnc="); - O.append(this.k); - O.append(", applicationBuild="); - return c.d.b.a.a.G(O, this.l, "}"); + StringBuilder R = c.d.b.a.a.R("AndroidClientInfo{sdkVersion="); + R.append(this.a); + R.append(", model="); + R.append(this.b); + R.append(", hardware="); + R.append(this.f603c); + R.append(", device="); + R.append(this.d); + R.append(", product="); + R.append(this.e); + R.append(", osBuild="); + R.append(this.f); + R.append(", manufacturer="); + R.append(this.g); + R.append(", fingerprint="); + R.append(this.h); + R.append(", locale="); + R.append(this.i); + R.append(", country="); + R.append(this.j); + R.append(", mccMnc="); + R.append(this.k); + R.append(", applicationBuild="); + return c.d.b.a.a.H(R, this.l, "}"); } } diff --git a/app/src/main/java/c/i/a/b/i/e/d.java b/app/src/main/java/c/i/a/b/i/e/d.java index 6608c94fdc..ced3d75d57 100644 --- a/app/src/main/java/c/i/a/b/i/e/d.java +++ b/app/src/main/java/c/i/a/b/i/e/d.java @@ -34,6 +34,6 @@ public final class d extends j { } public String toString() { - return a.H(a.O("BatchedLogRequest{logRequests="), this.a, "}"); + return a.J(a.R("BatchedLogRequest{logRequests="), this.a, "}"); } } diff --git a/app/src/main/java/c/i/a/b/i/e/e.java b/app/src/main/java/c/i/a/b/i/e/e.java index ce0a7ed361..2b1e33bd11 100644 --- a/app/src/main/java/c/i/a/b/i/e/e.java +++ b/app/src/main/java/c/i/a/b/i/e/e.java @@ -58,11 +58,11 @@ public final class e extends k { } public String toString() { - StringBuilder O = c.d.b.a.a.O("ClientInfo{clientType="); - O.append(this.a); - O.append(", androidClientInfo="); - O.append(this.b); - O.append("}"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("ClientInfo{clientType="); + R.append(this.a); + R.append(", androidClientInfo="); + R.append(this.b); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/a/b/i/e/f.java b/app/src/main/java/c/i/a/b/i/e/f.java index c6e94487a9..b2095a37c6 100644 --- a/app/src/main/java/c/i/a/b/i/e/f.java +++ b/app/src/main/java/c/i/a/b/i/e/f.java @@ -9,7 +9,7 @@ public final class f extends l { public final Integer b; /* renamed from: c reason: collision with root package name */ - public final long f637c; + public final long f604c; public final byte[] d; public final String e; public final long f; @@ -21,7 +21,7 @@ public final class f extends l { public Integer b; /* renamed from: c reason: collision with root package name */ - public Long f638c; + public Long f605c; public byte[] d; public String e; public Long f; @@ -31,7 +31,7 @@ public final class f extends l { public f(long j, Integer num, long j2, byte[] bArr, String str, long j3, o oVar, a aVar) { this.a = j; this.b = num; - this.f637c = j2; + this.f604c = j2; this.d = bArr; this.e = str; this.f = j3; @@ -51,7 +51,7 @@ public final class f extends l { @Override // c.i.a.b.i.e.l public long c() { - return this.f637c; + return this.f604c; } @Override // c.i.a.b.i.e.l @@ -76,7 +76,7 @@ public final class f extends l { return false; } l lVar = (l) obj; - if (this.a == lVar.b() && ((num = this.b) != null ? num.equals(lVar.a()) : lVar.a() == null) && this.f637c == lVar.c()) { + if (this.a == lVar.b() && ((num = this.b) != null ? num.equals(lVar.a()) : lVar.a() == null) && this.f604c == lVar.c()) { if (Arrays.equals(this.d, lVar instanceof f ? ((f) lVar).d : lVar.e()) && ((str = this.e) != null ? str.equals(lVar.f()) : lVar.f() == null) && this.f == lVar.g()) { o oVar = this.g; if (oVar == null) { @@ -108,7 +108,7 @@ public final class f extends l { Integer num = this.b; int i2 = 0; int hashCode = num == null ? 0 : num.hashCode(); - long j2 = this.f637c; + long j2 = this.f604c; int hashCode2 = (((((i ^ hashCode) * 1000003) ^ ((int) (j2 ^ (j2 >>> 32)))) * 1000003) ^ Arrays.hashCode(this.d)) * 1000003; String str = this.e; int hashCode3 = str == null ? 0 : str.hashCode(); @@ -122,21 +122,21 @@ public final class f extends l { } public String toString() { - StringBuilder O = c.d.b.a.a.O("LogEvent{eventTimeMs="); - O.append(this.a); - O.append(", eventCode="); - O.append(this.b); - O.append(", eventUptimeMs="); - O.append(this.f637c); - O.append(", sourceExtension="); - O.append(Arrays.toString(this.d)); - O.append(", sourceExtensionJsonProto3="); - O.append(this.e); - O.append(", timezoneOffsetSeconds="); - O.append(this.f); - O.append(", networkConnectionInfo="); - O.append(this.g); - O.append("}"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("LogEvent{eventTimeMs="); + R.append(this.a); + R.append(", eventCode="); + R.append(this.b); + R.append(", eventUptimeMs="); + R.append(this.f604c); + R.append(", sourceExtension="); + R.append(Arrays.toString(this.d)); + R.append(", sourceExtensionJsonProto3="); + R.append(this.e); + R.append(", timezoneOffsetSeconds="); + R.append(this.f); + R.append(", networkConnectionInfo="); + R.append(this.g); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/a/b/i/e/g.java b/app/src/main/java/c/i/a/b/i/e/g.java index 8c268a39d5..c97066ca0f 100644 --- a/app/src/main/java/c/i/a/b/i/e/g.java +++ b/app/src/main/java/c/i/a/b/i/e/g.java @@ -8,7 +8,7 @@ public final class g extends m { public final long b; /* renamed from: c reason: collision with root package name */ - public final k f639c; + public final k f606c; public final Integer d; public final String e; public final List f; @@ -17,7 +17,7 @@ public final class g extends m { public g(long j, long j2, k kVar, Integer num, String str, List list, p pVar, a aVar) { this.a = j; this.b = j2; - this.f639c = kVar; + this.f606c = kVar; this.d = num; this.e = str; this.f = list; @@ -27,7 +27,7 @@ public final class g extends m { @Override // c.i.a.b.i.e.m @Nullable public k a() { - return this.f639c; + return this.f606c; } @Override // c.i.a.b.i.e.m @@ -66,7 +66,7 @@ public final class g extends m { return false; } m mVar = (m) obj; - if (this.a == mVar.f() && this.b == mVar.g() && ((kVar = this.f639c) != null ? kVar.equals(mVar.a()) : mVar.a() == null) && ((num = this.d) != null ? num.equals(mVar.c()) : mVar.c() == null) && ((str = this.e) != null ? str.equals(mVar.d()) : mVar.d() == null) && ((list = this.f) != null ? list.equals(mVar.b()) : mVar.b() == null)) { + if (this.a == mVar.f() && this.b == mVar.g() && ((kVar = this.f606c) != null ? kVar.equals(mVar.a()) : mVar.a() == null) && ((num = this.d) != null ? num.equals(mVar.c()) : mVar.c() == null) && ((str = this.e) != null ? str.equals(mVar.d()) : mVar.d() == null) && ((list = this.f) != null ? list.equals(mVar.b()) : mVar.b() == null)) { p pVar = this.g; if (pVar == null) { if (mVar.e() == null) { @@ -93,7 +93,7 @@ public final class g extends m { long j = this.a; long j2 = this.b; int i = (((((int) (j ^ (j >>> 32))) ^ 1000003) * 1000003) ^ ((int) ((j2 >>> 32) ^ j2))) * 1000003; - k kVar = this.f639c; + k kVar = this.f606c; int i2 = 0; int hashCode = (i ^ (kVar == null ? 0 : kVar.hashCode())) * 1000003; Integer num = this.d; @@ -110,21 +110,21 @@ public final class g extends m { } public String toString() { - StringBuilder O = c.d.b.a.a.O("LogRequest{requestTimeMs="); - O.append(this.a); - O.append(", requestUptimeMs="); - O.append(this.b); - O.append(", clientInfo="); - O.append(this.f639c); - O.append(", logSource="); - O.append(this.d); - O.append(", logSourceName="); - O.append(this.e); - O.append(", logEvents="); - O.append(this.f); - O.append(", qosTier="); - O.append(this.g); - O.append("}"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("LogRequest{requestTimeMs="); + R.append(this.a); + R.append(", requestUptimeMs="); + R.append(this.b); + R.append(", clientInfo="); + R.append(this.f606c); + R.append(", logSource="); + R.append(this.d); + R.append(", logSourceName="); + R.append(this.e); + R.append(", logEvents="); + R.append(this.f); + R.append(", qosTier="); + R.append(this.g); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/a/b/i/e/h.java b/app/src/main/java/c/i/a/b/i/e/h.java index 00068a7f8b..b78b149343 100644 --- a/app/src/main/java/c/i/a/b/i/e/h.java +++ b/app/src/main/java/c/i/a/b/i/e/h.java @@ -27,6 +27,6 @@ public final class h extends n { } public String toString() { - return a.A(a.O("LogResponse{nextRequestWaitMillis="), this.a, "}"); + return a.B(a.R("LogResponse{nextRequestWaitMillis="), this.a, "}"); } } diff --git a/app/src/main/java/c/i/a/b/i/e/i.java b/app/src/main/java/c/i/a/b/i/e/i.java index 07a60cff6a..05a5fbb0f9 100644 --- a/app/src/main/java/c/i/a/b/i/e/i.java +++ b/app/src/main/java/c/i/a/b/i/e/i.java @@ -58,11 +58,11 @@ public final class i extends o { } public String toString() { - StringBuilder O = c.d.b.a.a.O("NetworkConnectionInfo{networkType="); - O.append(this.a); - O.append(", mobileSubtype="); - O.append(this.b); - O.append("}"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("NetworkConnectionInfo{networkType="); + R.append(this.a); + R.append(", mobileSubtype="); + R.append(this.b); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/a/b/j/a.java b/app/src/main/java/c/i/a/b/j/a.java index a065dae6d7..385884f6a6 100644 --- a/app/src/main/java/c/i/a/b/j/a.java +++ b/app/src/main/java/c/i/a/b/j/a.java @@ -10,7 +10,7 @@ public final class a extends f { public final Integer b; /* renamed from: c reason: collision with root package name */ - public final e f650c; + public final e f615c; public final long d; public final long e; public final Map f; @@ -21,7 +21,7 @@ public final class a extends f { public Integer b; /* renamed from: c reason: collision with root package name */ - public e f651c; + public e f616c; public Long d; public Long e; public Map f; @@ -29,22 +29,22 @@ public final class a extends f { @Override // c.i.a.b.j.f.a public f b() { String str = this.a == null ? " transportName" : ""; - if (this.f651c == null) { - str = c.d.b.a.a.u(str, " encodedPayload"); + if (this.f616c == null) { + str = c.d.b.a.a.v(str, " encodedPayload"); } if (this.d == null) { - str = c.d.b.a.a.u(str, " eventMillis"); + str = c.d.b.a.a.v(str, " eventMillis"); } if (this.e == null) { - str = c.d.b.a.a.u(str, " uptimeMillis"); + str = c.d.b.a.a.v(str, " uptimeMillis"); } if (this.f == null) { - str = c.d.b.a.a.u(str, " autoMetadata"); + str = c.d.b.a.a.v(str, " autoMetadata"); } if (str.isEmpty()) { - return new a(this.a, this.b, this.f651c, this.d.longValue(), this.e.longValue(), this.f, null); + return new a(this.a, this.b, this.f616c, this.d.longValue(), this.e.longValue(), this.f, null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str)); } @Override // c.i.a.b.j.f.a @@ -58,7 +58,7 @@ public final class a extends f { public f.a d(e eVar) { Objects.requireNonNull(eVar, "Null encodedPayload"); - this.f651c = eVar; + this.f616c = eVar; return this; } @@ -79,10 +79,10 @@ public final class a extends f { } } - public a(String str, Integer num, e eVar, long j, long j2, Map map, C0080a aVar) { + public a(String str, Integer num, e eVar, long j, long j2, Map map, C0079a aVar) { this.a = str; this.b = num; - this.f650c = eVar; + this.f615c = eVar; this.d = j; this.e = j2; this.f = map; @@ -101,7 +101,7 @@ public final class a extends f { @Override // c.i.a.b.j.f public e d() { - return this.f650c; + return this.f615c; } @Override // c.i.a.b.j.f @@ -118,7 +118,7 @@ public final class a extends f { return false; } f fVar = (f) obj; - return this.a.equals(fVar.g()) && ((num = this.b) != null ? num.equals(fVar.c()) : fVar.c() == null) && this.f650c.equals(fVar.d()) && this.d == fVar.e() && this.e == fVar.h() && this.f.equals(fVar.b()); + return this.a.equals(fVar.g()) && ((num = this.b) != null ? num.equals(fVar.c()) : fVar.c() == null) && this.f615c.equals(fVar.d()) && this.d == fVar.e() && this.e == fVar.h() && this.f.equals(fVar.b()); } @Override // c.i.a.b.j.f @@ -137,21 +137,21 @@ public final class a extends f { int hashCode2 = num == null ? 0 : num.hashCode(); long j = this.d; long j2 = this.e; - return ((((((((hashCode ^ hashCode2) * 1000003) ^ this.f650c.hashCode()) * 1000003) ^ ((int) (j ^ (j >>> 32)))) * 1000003) ^ ((int) (j2 ^ (j2 >>> 32)))) * 1000003) ^ this.f.hashCode(); + return ((((((((hashCode ^ hashCode2) * 1000003) ^ this.f615c.hashCode()) * 1000003) ^ ((int) (j ^ (j >>> 32)))) * 1000003) ^ ((int) (j2 ^ (j2 >>> 32)))) * 1000003) ^ this.f.hashCode(); } public String toString() { - StringBuilder O = c.d.b.a.a.O("EventInternal{transportName="); - O.append(this.a); - O.append(", code="); - O.append(this.b); - O.append(", encodedPayload="); - O.append(this.f650c); - O.append(", eventMillis="); - O.append(this.d); - O.append(", uptimeMillis="); - O.append(this.e); - O.append(", autoMetadata="); - return c.d.b.a.a.J(O, this.f, "}"); + StringBuilder R = c.d.b.a.a.R("EventInternal{transportName="); + R.append(this.a); + R.append(", code="); + R.append(this.b); + R.append(", encodedPayload="); + R.append(this.f615c); + R.append(", eventMillis="); + R.append(this.d); + R.append(", uptimeMillis="); + R.append(this.e); + R.append(", autoMetadata="); + return c.d.b.a.a.K(R, this.f, "}"); } } diff --git a/app/src/main/java/c/i/a/b/j/b.java b/app/src/main/java/c/i/a/b/j/b.java index 0748271c92..7513c2b606 100644 --- a/app/src/main/java/c/i/a/b/j/b.java +++ b/app/src/main/java/c/i/a/b/j/b.java @@ -12,27 +12,27 @@ public final class b extends i { public final byte[] b; /* renamed from: c reason: collision with root package name */ - public final d f652c; + public final d f617c; /* compiled from: AutoValue_TransportContext */ /* renamed from: c.i.a.b.j.b$b reason: collision with other inner class name */ - public static final class C0081b extends i.a { + public static final class C0080b extends i.a { public String a; public byte[] b; /* renamed from: c reason: collision with root package name */ - public d f653c; + public d f618c; @Override // c.i.a.b.j.i.a public i a() { String str = this.a == null ? " backendName" : ""; - if (this.f653c == null) { - str = c.d.b.a.a.u(str, " priority"); + if (this.f618c == null) { + str = c.d.b.a.a.v(str, " priority"); } if (str.isEmpty()) { - return new b(this.a, this.b, this.f653c, null); + return new b(this.a, this.b, this.f618c, null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str)); } @Override // c.i.a.b.j.i.a @@ -45,7 +45,7 @@ public final class b extends i { @Override // c.i.a.b.j.i.a public i.a c(d dVar) { Objects.requireNonNull(dVar, "Null priority"); - this.f653c = dVar; + this.f618c = dVar; return this; } } @@ -53,7 +53,7 @@ public final class b extends i { public b(String str, byte[] bArr, d dVar, a aVar) { this.a = str; this.b = bArr; - this.f652c = dVar; + this.f617c = dVar; } @Override // c.i.a.b.j.i @@ -70,7 +70,7 @@ public final class b extends i { @Override // c.i.a.b.j.i @RestrictTo({RestrictTo.Scope.LIBRARY_GROUP}) public d d() { - return this.f652c; + return this.f617c; } public boolean equals(Object obj) { @@ -82,7 +82,7 @@ public final class b extends i { } i iVar = (i) obj; if (this.a.equals(iVar.b())) { - if (Arrays.equals(this.b, iVar instanceof b ? ((b) iVar).b : iVar.c()) && this.f652c.equals(iVar.d())) { + if (Arrays.equals(this.b, iVar instanceof b ? ((b) iVar).b : iVar.c()) && this.f617c.equals(iVar.d())) { return true; } } @@ -90,6 +90,6 @@ public final class b extends i { } public int hashCode() { - return ((((this.a.hashCode() ^ 1000003) * 1000003) ^ Arrays.hashCode(this.b)) * 1000003) ^ this.f652c.hashCode(); + return ((((this.a.hashCode() ^ 1000003) * 1000003) ^ Arrays.hashCode(this.b)) * 1000003) ^ this.f617c.hashCode(); } } diff --git a/app/src/main/java/c/i/a/b/j/c.java b/app/src/main/java/c/i/a/b/j/c.java index d47baad95b..0e138d893c 100644 --- a/app/src/main/java/c/i/a/b/j/c.java +++ b/app/src/main/java/c/i/a/b/j/c.java @@ -23,23 +23,23 @@ import java.util.Objects; import java.util.concurrent.Executor; /* compiled from: DaggerTransportRuntimeComponent */ public final class c extends o { - public b0.a.a i; - public b0.a.a j; - public b0.a.a k; - public b0.a.a l; - public b0.a.a m; - public b0.a.a n; - public b0.a.a o; - public b0.a.a p; - public b0.a.a q; + public c0.a.a i; + public c0.a.a j; + public c0.a.a k; + public c0.a.a l; + public c0.a.a m; + public c0.a.a n; + public c0.a.a o; + public c0.a.a p; + public c0.a.a q; + public c0.a.a r; - /* renamed from: r reason: collision with root package name */ - public b0.a.a f654r; - public b0.a.a

s; - public b0.a.a t; + /* renamed from: s reason: collision with root package name */ + public c0.a.a

f619s; + public c0.a.a t; public c(Context context, a aVar) { - b0.a.a aVar2 = g.a.a; + c0.a.a aVar2 = g.a.a; Object obj = c.i.a.b.j.r.a.a.a; this.i = !(aVar2 instanceof c.i.a.b.j.r.a.a) ? new c.i.a.b.j.r.a.a(aVar2) : aVar2; Objects.requireNonNull(context, "instance cannot be null"); @@ -49,27 +49,27 @@ public final class c extends o { c.i.a.b.j.v.c cVar = c.a.a; j jVar = new j(bVar, bVar2, cVar); this.k = jVar; - b0.a.a lVar = new c.i.a.b.j.q.l(bVar, jVar); + c0.a.a lVar = new c.i.a.b.j.q.l(bVar, jVar); this.l = !(lVar instanceof c.i.a.b.j.r.a.a) ? new c.i.a.b.j.r.a.a(lVar) : lVar; a0 a0Var = new a0(this.j, e.a.a, f.a.a); this.m = a0Var; u uVar = new u(bVar2, cVar, g.a.a, a0Var); - b0.a.a aVar3 = uVar instanceof c.i.a.b.j.r.a.a ? uVar : new c.i.a.b.j.r.a.a<>(uVar); + c0.a.a aVar3 = uVar instanceof c.i.a.b.j.r.a.a ? uVar : new c.i.a.b.j.r.a.a<>(uVar); this.n = aVar3; c.i.a.b.j.t.f fVar = new c.i.a.b.j.t.f(bVar2); this.o = fVar; - b0.a.a aVar4 = this.j; + c0.a.a aVar4 = this.j; c.i.a.b.j.t.g gVar = new c.i.a.b.j.t.g(aVar4, aVar3, fVar, cVar); this.p = gVar; - b0.a.a aVar5 = this.i; - b0.a.a aVar6 = this.l; + c0.a.a aVar5 = this.i; + c0.a.a aVar6 = this.l; d dVar = new d(aVar5, aVar6, gVar, aVar3, aVar3); this.q = dVar; m mVar = new m(aVar4, aVar6, aVar3, gVar, aVar5, aVar3, bVar2); - this.f654r = mVar; + this.r = mVar; q qVar = new q(aVar5, aVar3, gVar, aVar3); - this.s = qVar; - b0.a.a pVar = new p(bVar2, cVar, dVar, mVar, qVar); + this.f619s = qVar; + c0.a.a pVar = new p(bVar2, cVar, dVar, mVar, qVar); this.t = !(pVar instanceof c.i.a.b.j.r.a.a) ? new c.i.a.b.j.r.a.a(pVar) : pVar; } } diff --git a/app/src/main/java/c/i/a/b/j/e.java b/app/src/main/java/c/i/a/b/j/e.java index 0222595000..0e592b2f51 100644 --- a/app/src/main/java/c/i/a/b/j/e.java +++ b/app/src/main/java/c/i/a/b/j/e.java @@ -36,9 +36,9 @@ public final class e { } public String toString() { - StringBuilder O = a.O("EncodedPayload{encoding="); - O.append(this.a); - O.append(", bytes=[...]}"); - return O.toString(); + StringBuilder R = a.R("EncodedPayload{encoding="); + R.append(this.a); + R.append(", bytes=[...]}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/a/b/j/g.java b/app/src/main/java/c/i/a/b/j/g.java index fc70c65a40..30d79e5c86 100644 --- a/app/src/main/java/c/i/a/b/j/g.java +++ b/app/src/main/java/c/i/a/b/j/g.java @@ -2,14 +2,14 @@ package c.i.a.b.j; import java.util.concurrent.Executors; /* compiled from: ExecutionModule_ExecutorFactory */ -public final class g implements b0.a.a { +public final class g implements c0.a.a { /* compiled from: ExecutionModule_ExecutorFactory */ public static final class a { public static final g a = new g(); } - @Override // b0.a.a + @Override // c0.a.a public Object get() { return new h(Executors.newSingleThreadExecutor()); } diff --git a/app/src/main/java/c/i/a/b/j/h.java b/app/src/main/java/c/i/a/b/j/h.java index 161b5ef9a8..3180c40735 100644 --- a/app/src/main/java/c/i/a/b/j/h.java +++ b/app/src/main/java/c/i/a/b/j/h.java @@ -19,7 +19,7 @@ public class h implements Executor { try { this.i.run(); } catch (Exception e) { - d.e0("Executor", "Background execution failure.", e); + d.b0("Executor", "Background execution failure.", e); } } } diff --git a/app/src/main/java/c/i/a/b/j/i.java b/app/src/main/java/c/i/a/b/j/i.java index fc3cc4872e..b1dc423f56 100644 --- a/app/src/main/java/c/i/a/b/j/i.java +++ b/app/src/main/java/c/i/a/b/j/i.java @@ -22,7 +22,7 @@ public abstract class i { } public static a a() { - b.C0081b bVar = new b.C0081b(); + b.C0080b bVar = new b.C0080b(); bVar.c(d.DEFAULT); return bVar; } diff --git a/app/src/main/java/c/i/a/b/j/j.java b/app/src/main/java/c/i/a/b/j/j.java index b0a46b3ccf..cff0c4f7c0 100644 --- a/app/src/main/java/c/i/a/b/j/j.java +++ b/app/src/main/java/c/i/a/b/j/j.java @@ -11,18 +11,18 @@ public final class j implements g { public final i b; /* renamed from: c reason: collision with root package name */ - public final m f655c; + public final m f620c; public j(Set set, i iVar, m mVar) { this.a = set; this.b = iVar; - this.f655c = mVar; + this.f620c = mVar; } @Override // c.i.a.b.g public f a(String str, Class cls, b bVar, e eVar) { if (this.a.contains(bVar)) { - return new l(this.b, str, bVar, eVar, this.f655c); + return new l(this.b, str, bVar, eVar, this.f620c); } throw new IllegalArgumentException(String.format("%s is not supported byt this factory. Supported encodings are: %s.", bVar, this.a)); } diff --git a/app/src/main/java/c/i/a/b/j/l.java b/app/src/main/java/c/i/a/b/j/l.java index 0d13cde986..15ad0b7346 100644 --- a/app/src/main/java/c/i/a/b/j/l.java +++ b/app/src/main/java/c/i/a/b/j/l.java @@ -17,14 +17,14 @@ public final class l implements f { public final String b; /* renamed from: c reason: collision with root package name */ - public final b f656c; + public final b f621c; public final e d; public final m e; public l(i iVar, String str, b bVar, e eVar, m mVar) { this.a = iVar; this.b = str; - this.f656c = bVar; + this.f621c = bVar; this.d = eVar; this.e = mVar; } @@ -44,7 +44,7 @@ public final class l implements f { Objects.requireNonNull(str, "Null transportName"); e eVar = this.d; Objects.requireNonNull(eVar, "Null transformer"); - b bVar = this.f656c; + b bVar = this.f621c; Objects.requireNonNull(bVar, "Null encoding"); n nVar = (n) mVar; c.i.a.b.j.t.e eVar2 = nVar.d; @@ -52,13 +52,13 @@ public final class l implements f { i.a a = i.a(); a.b(iVar.b()); a.c(c2); - b.C0081b bVar2 = (b.C0081b) a; + b.C0080b bVar2 = (b.C0080b) a; bVar2.b = iVar.c(); i a2 = bVar2.a(); a.b bVar3 = new a.b(); bVar3.f = new HashMap(); bVar3.e(nVar.b.a()); - bVar3.g(nVar.f657c.a()); + bVar3.g(nVar.f622c.a()); bVar3.f(str); bVar3.d(new e(bVar, eVar.apply(cVar.b()))); bVar3.b = cVar.a(); diff --git a/app/src/main/java/c/i/a/b/j/n.java b/app/src/main/java/c/i/a/b/j/n.java index e066f1f520..6a447ba4a4 100644 --- a/app/src/main/java/c/i/a/b/j/n.java +++ b/app/src/main/java/c/i/a/b/j/n.java @@ -18,13 +18,13 @@ public class n implements m { public final a b; /* renamed from: c reason: collision with root package name */ - public final a f657c; + public final a f622c; public final e d; public final l e; public n(a aVar, a aVar2, e eVar, l lVar, p pVar) { this.b = aVar; - this.f657c = aVar2; + this.f622c = aVar2; this.d = eVar; this.e = lVar; pVar.a.execute(new c.i.a.b.j.t.h.n(pVar)); @@ -60,7 +60,7 @@ public class n implements m { i.a a2 = i.a(); Objects.requireNonNull(dVar); a2.b("cct"); - b.C0081b bVar = (b.C0081b) a2; + b.C0080b bVar = (b.C0080b) a2; bVar.b = ((c.i.a.b.i.a) dVar).b(); return new j(set, bVar.a(), this); } diff --git a/app/src/main/java/c/i/a/b/j/p.java b/app/src/main/java/c/i/a/b/j/p.java index d6859ca6f5..a467079719 100644 --- a/app/src/main/java/c/i/a/b/j/p.java +++ b/app/src/main/java/c/i/a/b/j/p.java @@ -1,28 +1,28 @@ package c.i.a.b.j; -import b0.a.a; import c.i.a.b.j.t.e; import c.i.a.b.j.t.h.l; +import c0.a.a; /* compiled from: TransportRuntime_Factory */ public final class p implements a { public final a a; public final a b; /* renamed from: c reason: collision with root package name */ - public final a f658c; + public final a f623c; public final a d; public final a e; public p(a aVar, a aVar2, a aVar3, a aVar4, a aVar5) { this.a = aVar; this.b = aVar2; - this.f658c = aVar3; + this.f623c = aVar3; this.d = aVar4; this.e = aVar5; } - @Override // b0.a.a + @Override // c0.a.a public Object get() { - return new n(this.a.get(), this.b.get(), this.f658c.get(), this.d.get(), this.e.get()); + return new n(this.a.get(), this.b.get(), this.f623c.get(), this.d.get(), this.e.get()); } } diff --git a/app/src/main/java/c/i/a/b/j/q/a.java b/app/src/main/java/c/i/a/b/j/q/a.java index 60eebd4073..6448adbcc7 100644 --- a/app/src/main/java/c/i/a/b/j/q/a.java +++ b/app/src/main/java/c/i/a/b/j/q/a.java @@ -8,7 +8,7 @@ public final class a extends f { public final Iterable a; public final byte[] b; - public a(Iterable iterable, byte[] bArr, C0082a aVar) { + public a(Iterable iterable, byte[] bArr, C0081a aVar) { this.a = iterable; this.b = bArr; } @@ -45,11 +45,11 @@ public final class a extends f { } public String toString() { - StringBuilder O = c.d.b.a.a.O("BackendRequest{events="); - O.append(this.a); - O.append(", extras="); - O.append(Arrays.toString(this.b)); - O.append("}"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("BackendRequest{events="); + R.append(this.a); + R.append(", extras="); + R.append(Arrays.toString(this.b)); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/a/b/j/q/b.java b/app/src/main/java/c/i/a/b/j/q/b.java index 1582e28b9e..cfe1239761 100644 --- a/app/src/main/java/c/i/a/b/j/q/b.java +++ b/app/src/main/java/c/i/a/b/j/q/b.java @@ -41,9 +41,9 @@ public final class b extends g { } public String toString() { - StringBuilder O = a.O("BackendResponse{status="); - O.append(this.a); - O.append(", nextRequestWaitMillis="); - return a.A(O, this.b, "}"); + StringBuilder R = a.R("BackendResponse{status="); + R.append(this.a); + R.append(", nextRequestWaitMillis="); + return a.B(R, this.b, "}"); } } diff --git a/app/src/main/java/c/i/a/b/j/q/c.java b/app/src/main/java/c/i/a/b/j/q/c.java index fd50c38916..7f33b92d29 100644 --- a/app/src/main/java/c/i/a/b/j/q/c.java +++ b/app/src/main/java/c/i/a/b/j/q/c.java @@ -10,7 +10,7 @@ public final class c extends h { public final a b; /* renamed from: c reason: collision with root package name */ - public final a f659c; + public final a f624c; public final String d; public c(Context context, a aVar, a aVar2, String str) { @@ -19,7 +19,7 @@ public final class c extends h { Objects.requireNonNull(aVar, "Null wallClock"); this.b = aVar; Objects.requireNonNull(aVar2, "Null monotonicClock"); - this.f659c = aVar2; + this.f624c = aVar2; Objects.requireNonNull(str, "Null backendName"); this.d = str; } @@ -37,7 +37,7 @@ public final class c extends h { @Override // c.i.a.b.j.q.h public a c() { - return this.f659c; + return this.f624c; } @Override // c.i.a.b.j.q.h @@ -53,21 +53,21 @@ public final class c extends h { return false; } h hVar = (h) obj; - return this.a.equals(hVar.a()) && this.b.equals(hVar.d()) && this.f659c.equals(hVar.c()) && this.d.equals(hVar.b()); + return this.a.equals(hVar.a()) && this.b.equals(hVar.d()) && this.f624c.equals(hVar.c()) && this.d.equals(hVar.b()); } public int hashCode() { - return ((((((this.a.hashCode() ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003) ^ this.f659c.hashCode()) * 1000003) ^ this.d.hashCode(); + return ((((((this.a.hashCode() ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003) ^ this.f624c.hashCode()) * 1000003) ^ this.d.hashCode(); } public String toString() { - StringBuilder O = c.d.b.a.a.O("CreationContext{applicationContext="); - O.append(this.a); - O.append(", wallClock="); - O.append(this.b); - O.append(", monotonicClock="); - O.append(this.f659c); - O.append(", backendName="); - return c.d.b.a.a.G(O, this.d, "}"); + StringBuilder R = c.d.b.a.a.R("CreationContext{applicationContext="); + R.append(this.a); + R.append(", wallClock="); + R.append(this.b); + R.append(", monotonicClock="); + R.append(this.f624c); + R.append(", backendName="); + return c.d.b.a.a.H(R, this.d, "}"); } } diff --git a/app/src/main/java/c/i/a/b/j/q/i.java b/app/src/main/java/c/i/a/b/j/q/i.java index 3617648ee6..326a87625c 100644 --- a/app/src/main/java/c/i/a/b/j/q/i.java +++ b/app/src/main/java/c/i/a/b/j/q/i.java @@ -8,11 +8,11 @@ public class i { public final a b; /* renamed from: c reason: collision with root package name */ - public final a f660c; + public final a f625c; public i(Context context, a aVar, a aVar2) { this.a = context; this.b = aVar; - this.f660c = aVar2; + this.f625c = aVar2; } } diff --git a/app/src/main/java/c/i/a/b/j/q/j.java b/app/src/main/java/c/i/a/b/j/q/j.java index b308038c9c..2a281a90bb 100644 --- a/app/src/main/java/c/i/a/b/j/q/j.java +++ b/app/src/main/java/c/i/a/b/j/q/j.java @@ -1,23 +1,23 @@ package c.i.a.b.j.q; import android.content.Context; -import b0.a.a; +import c0.a.a; /* compiled from: CreationContextFactory_Factory */ public final class j implements a { public final a a; public final a b; /* renamed from: c reason: collision with root package name */ - public final a f661c; + public final a f626c; public j(a aVar, a aVar2, a aVar3) { this.a = aVar; this.b = aVar2; - this.f661c = aVar3; + this.f626c = aVar3; } - @Override // b0.a.a + @Override // c0.a.a public Object get() { - return new i(this.a.get(), this.b.get(), this.f661c.get()); + return new i(this.a.get(), this.b.get(), this.f626c.get()); } } diff --git a/app/src/main/java/c/i/a/b/j/q/k.java b/app/src/main/java/c/i/a/b/j/q/k.java index 17195db208..4e2d4d23e1 100644 --- a/app/src/main/java/c/i/a/b/j/q/k.java +++ b/app/src/main/java/c/i/a/b/j/q/k.java @@ -18,7 +18,7 @@ public class k implements e { public final i b; /* renamed from: c reason: collision with root package name */ - public final Map f662c = new HashMap(); + public final Map f627c = new HashMap(); /* compiled from: MetadataBackendRegistry */ public static class a { @@ -110,16 +110,16 @@ public class k implements e { @Override // c.i.a.b.j.q.e @Nullable public synchronized m get(String str) { - if (this.f662c.containsKey(str)) { - return this.f662c.get(str); + if (this.f627c.containsKey(str)) { + return this.f627c.get(str); } d a2 = this.a.a(str); if (a2 == null) { return null; } i iVar = this.b; - m create = a2.create(new c(iVar.a, iVar.b, iVar.f660c, str)); - this.f662c.put(str, create); + m create = a2.create(new c(iVar.a, iVar.b, iVar.f625c, str)); + this.f627c.put(str, create); return create; } } diff --git a/app/src/main/java/c/i/a/b/j/q/l.java b/app/src/main/java/c/i/a/b/j/q/l.java index db71d208be..d036d6a581 100644 --- a/app/src/main/java/c/i/a/b/j/q/l.java +++ b/app/src/main/java/c/i/a/b/j/q/l.java @@ -1,7 +1,7 @@ package c.i.a.b.j.q; import android.content.Context; -import b0.a.a; +import c0.a.a; /* compiled from: MetadataBackendRegistry_Factory */ public final class l implements a { public final a a; @@ -12,7 +12,7 @@ public final class l implements a { this.b = aVar2; } - @Override // b0.a.a + @Override // c0.a.a public Object get() { return new k(this.a.get(), this.b.get()); } diff --git a/app/src/main/java/c/i/a/b/j/r/a/a.java b/app/src/main/java/c/i/a/b/j/r/a/a.java index fe781328b2..3406338172 100644 --- a/app/src/main/java/c/i/a/b/j/r/a/a.java +++ b/app/src/main/java/c/i/a/b/j/r/a/a.java @@ -1,13 +1,13 @@ package c.i.a.b.j.r.a; /* compiled from: DoubleCheck */ -public final class a implements b0.a.a { +public final class a implements c0.a.a { public static final Object a = new Object(); - public volatile b0.a.a b; + public volatile c0.a.a b; /* renamed from: c reason: collision with root package name */ - public volatile Object f663c = a; + public volatile Object f628c = a; - public a(b0.a.a aVar) { + public a(c0.a.a aVar) { this.b = aVar; } @@ -18,17 +18,17 @@ public final class a implements b0.a.a { throw new IllegalStateException("Scoped provider was invoked recursively returning different results: " + obj + " & " + obj2 + ". This is likely due to a circular dependency."); } - @Override // b0.a.a + @Override // c0.a.a public T get() { - T t = (T) this.f663c; + T t = (T) this.f628c; Object obj = a; if (t == obj) { synchronized (this) { - t = this.f663c; + t = this.f628c; if (t == obj) { t = this.b.get(); - a(this.f663c, t); - this.f663c = t; + a(this.f628c, t); + this.f628c = t; this.b = null; } } diff --git a/app/src/main/java/c/i/a/b/j/r/a/b.java b/app/src/main/java/c/i/a/b/j/r/a/b.java index e3a4708f26..e0687edac7 100644 --- a/app/src/main/java/c/i/a/b/j/r/a/b.java +++ b/app/src/main/java/c/i/a/b/j/r/a/b.java @@ -1,6 +1,6 @@ package c.i.a.b.j.r.a; -import b0.a.a; +import c0.a.a; /* compiled from: InstanceFactory */ public final class b implements a { public final T a; @@ -9,7 +9,7 @@ public final class b implements a { this.a = t; } - @Override // b0.a.a + @Override // c0.a.a public T get() { return this.a; } diff --git a/app/src/main/java/c/i/a/b/j/t/a.java b/app/src/main/java/c/i/a/b/j/t/a.java index 050b5506e9..1edf92d59b 100644 --- a/app/src/main/java/c/i/a/b/j/t/a.java +++ b/app/src/main/java/c/i/a/b/j/t/a.java @@ -38,9 +38,9 @@ public final /* synthetic */ class a implements Runnable { hVar.a(null); } catch (Exception e) { Logger logger2 = c.a; - StringBuilder O = c.d.b.a.a.O("Error scheduling event "); - O.append(e.getMessage()); - logger2.warning(O.toString()); + StringBuilder R = c.d.b.a.a.R("Error scheduling event "); + R.append(e.getMessage()); + logger2.warning(R.toString()); hVar.a(e); } } diff --git a/app/src/main/java/c/i/a/b/j/t/b.java b/app/src/main/java/c/i/a/b/j/t/b.java index 5b3b8c5c3f..6c7167d5c7 100644 --- a/app/src/main/java/c/i/a/b/j/t/b.java +++ b/app/src/main/java/c/i/a/b/j/t/b.java @@ -4,24 +4,24 @@ import c.i.a.b.j.f; import c.i.a.b.j.i; import c.i.a.b.j.u.a; /* compiled from: DefaultScheduler */ -public final /* synthetic */ class b implements a.AbstractC0085a { +public final /* synthetic */ class b implements a.AbstractC0084a { public final c a; public final i b; /* renamed from: c reason: collision with root package name */ - public final f f664c; + public final f f629c; public b(c cVar, i iVar, f fVar) { this.a = cVar; this.b = iVar; - this.f664c = fVar; + this.f629c = fVar; } - @Override // c.i.a.b.j.u.a.AbstractC0085a + @Override // c.i.a.b.j.u.a.AbstractC0084a public Object execute() { c cVar = this.a; i iVar = this.b; - cVar.e.Z(iVar, this.f664c); + cVar.e.a0(iVar, this.f629c); cVar.b.a(iVar, 1); return null; } diff --git a/app/src/main/java/c/i/a/b/j/t/c.java b/app/src/main/java/c/i/a/b/j/t/c.java index 669bb993c6..0741a40627 100644 --- a/app/src/main/java/c/i/a/b/j/t/c.java +++ b/app/src/main/java/c/i/a/b/j/t/c.java @@ -15,13 +15,13 @@ public class c implements e { public final r b; /* renamed from: c reason: collision with root package name */ - public final Executor f665c; + public final Executor f630c; public final e d; public final c.i.a.b.j.t.i.c e; public final a f; public c(Executor executor, e eVar, r rVar, c.i.a.b.j.t.i.c cVar, a aVar) { - this.f665c = executor; + this.f630c = executor; this.d = eVar; this.b = rVar; this.e = cVar; @@ -30,6 +30,6 @@ public class c implements e { @Override // c.i.a.b.j.t.e public void a(i iVar, f fVar, h hVar) { - this.f665c.execute(new a(this, iVar, hVar, fVar)); + this.f630c.execute(new a(this, iVar, hVar, fVar)); } } diff --git a/app/src/main/java/c/i/a/b/j/t/d.java b/app/src/main/java/c/i/a/b/j/t/d.java index bde7b787a1..365a499ceb 100644 --- a/app/src/main/java/c/i/a/b/j/t/d.java +++ b/app/src/main/java/c/i/a/b/j/t/d.java @@ -1,9 +1,9 @@ package c.i.a.b.j.t; -import b0.a.a; import c.i.a.b.j.q.e; import c.i.a.b.j.t.h.r; import c.i.a.b.j.t.i.c; +import c0.a.a; import java.util.concurrent.Executor; /* compiled from: DefaultScheduler_Factory */ public final class d implements a { @@ -11,20 +11,20 @@ public final class d implements a { public final a b; /* renamed from: c reason: collision with root package name */ - public final a f666c; + public final a f631c; public final a d; public final a e; public d(a aVar, a aVar2, a aVar3, a aVar4, a aVar5) { this.a = aVar; this.b = aVar2; - this.f666c = aVar3; + this.f631c = aVar3; this.d = aVar4; this.e = aVar5; } - @Override // b0.a.a + @Override // c0.a.a public Object get() { - return new c(this.a.get(), this.b.get(), this.f666c.get(), this.d.get(), this.e.get()); + return new c(this.a.get(), this.b.get(), this.f631c.get(), this.d.get(), this.e.get()); } } diff --git a/app/src/main/java/c/i/a/b/j/t/f.java b/app/src/main/java/c/i/a/b/j/t/f.java index ea8b4c10ba..9aa4fea09e 100644 --- a/app/src/main/java/c/i/a/b/j/t/f.java +++ b/app/src/main/java/c/i/a/b/j/t/f.java @@ -1,10 +1,10 @@ package c.i.a.b.j.t; -import b0.a.a; import c.i.a.b.d; import c.i.a.b.j.t.h.b; import c.i.a.b.j.t.h.c; import c.i.a.b.j.t.h.f; +import c0.a.a; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; @@ -19,28 +19,28 @@ public final class f implements a { this.a = aVar; } - @Override // b0.a.a + @Override // c0.a.a public Object get() { c.i.a.b.j.v.a aVar = this.a.get(); HashMap hashMap = new HashMap(); d dVar = d.DEFAULT; - f.a.AbstractC0083a a = f.a.a(); + f.a.AbstractC0082a a = f.a.a(); a.b(30000); a.c(86400000); hashMap.put(dVar, a.a()); d dVar2 = d.HIGHEST; - f.a.AbstractC0083a a2 = f.a.a(); + f.a.AbstractC0082a a2 = f.a.a(); a2.b(1000); a2.c(86400000); hashMap.put(dVar2, a2.a()); d dVar3 = d.VERY_LOW; - f.a.AbstractC0083a a3 = f.a.a(); + f.a.AbstractC0082a a3 = f.a.a(); a3.b(86400000); a3.c(86400000); Set unmodifiableSet = Collections.unmodifiableSet(new HashSet(Arrays.asList(f.b.NETWORK_UNMETERED, f.b.DEVICE_IDLE))); c.b bVar = (c.b) a3; Objects.requireNonNull(unmodifiableSet, "Null flags"); - bVar.f669c = unmodifiableSet; + bVar.f634c = unmodifiableSet; hashMap.put(dVar3, bVar.a()); Objects.requireNonNull(aVar, "missing required property: clock"); int size = hashMap.keySet().size(); diff --git a/app/src/main/java/c/i/a/b/j/t/g.java b/app/src/main/java/c/i/a/b/j/t/g.java index 5155eff4f9..77f9263b11 100644 --- a/app/src/main/java/c/i/a/b/j/t/g.java +++ b/app/src/main/java/c/i/a/b/j/t/g.java @@ -1,29 +1,29 @@ package c.i.a.b.j.t; import android.content.Context; -import b0.a.a; import c.i.a.b.j.t.h.d; import c.i.a.b.j.t.h.f; import c.i.a.b.j.t.i.c; +import c0.a.a; /* compiled from: SchedulingModule_WorkSchedulerFactory */ public final class g implements a { public final a a; public final a b; /* renamed from: c reason: collision with root package name */ - public final a f667c; + public final a f632c; public final a d; public g(a aVar, a aVar2, a aVar3, a aVar4) { this.a = aVar; this.b = aVar2; - this.f667c = aVar3; + this.f632c = aVar3; this.d = aVar4; } - @Override // b0.a.a + @Override // c0.a.a public Object get() { this.d.get(); - return new d(this.a.get(), this.b.get(), this.f667c.get()); + return new d(this.a.get(), this.b.get(), this.f632c.get()); } } diff --git a/app/src/main/java/c/i/a/b/j/t/h/b.java b/app/src/main/java/c/i/a/b/j/t/h/b.java index a8fd9e2653..77460c5d22 100644 --- a/app/src/main/java/c/i/a/b/j/t/h/b.java +++ b/app/src/main/java/c/i/a/b/j/t/h/b.java @@ -43,9 +43,9 @@ public final class b extends f { } public String toString() { - StringBuilder O = c.d.b.a.a.O("SchedulerConfig{clock="); - O.append(this.a); - O.append(", values="); - return c.d.b.a.a.J(O, this.b, "}"); + StringBuilder R = c.d.b.a.a.R("SchedulerConfig{clock="); + R.append(this.a); + R.append(", values="); + return c.d.b.a.a.K(R, this.b, "}"); } } diff --git a/app/src/main/java/c/i/a/b/j/t/h/c.java b/app/src/main/java/c/i/a/b/j/t/h/c.java index e6c12a83a3..c16b7102f3 100644 --- a/app/src/main/java/c/i/a/b/j/t/h/c.java +++ b/app/src/main/java/c/i/a/b/j/t/h/c.java @@ -8,39 +8,39 @@ public final class c extends f.a { public final long b; /* renamed from: c reason: collision with root package name */ - public final Set f668c; + public final Set f633c; /* compiled from: AutoValue_SchedulerConfig_ConfigValue */ - public static final class b extends f.a.AbstractC0083a { + public static final class b extends f.a.AbstractC0082a { public Long a; public Long b; /* renamed from: c reason: collision with root package name */ - public Set f669c; + public Set f634c; - @Override // c.i.a.b.j.t.h.f.a.AbstractC0083a + @Override // c.i.a.b.j.t.h.f.a.AbstractC0082a public f.a a() { String str = this.a == null ? " delta" : ""; if (this.b == null) { - str = c.d.b.a.a.u(str, " maxAllowedDelay"); + str = c.d.b.a.a.v(str, " maxAllowedDelay"); } - if (this.f669c == null) { - str = c.d.b.a.a.u(str, " flags"); + if (this.f634c == null) { + str = c.d.b.a.a.v(str, " flags"); } if (str.isEmpty()) { - return new c(this.a.longValue(), this.b.longValue(), this.f669c, null); + return new c(this.a.longValue(), this.b.longValue(), this.f634c, null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str)); } - @Override // c.i.a.b.j.t.h.f.a.AbstractC0083a - public f.a.AbstractC0083a b(long j) { + @Override // c.i.a.b.j.t.h.f.a.AbstractC0082a + public f.a.AbstractC0082a b(long j) { this.a = Long.valueOf(j); return this; } - @Override // c.i.a.b.j.t.h.f.a.AbstractC0083a - public f.a.AbstractC0083a c(long j) { + @Override // c.i.a.b.j.t.h.f.a.AbstractC0082a + public f.a.AbstractC0082a c(long j) { this.b = Long.valueOf(j); return this; } @@ -49,7 +49,7 @@ public final class c extends f.a { public c(long j, long j2, Set set, a aVar) { this.a = j; this.b = j2; - this.f668c = set; + this.f633c = set; } @Override // c.i.a.b.j.t.h.f.a @@ -59,7 +59,7 @@ public final class c extends f.a { @Override // c.i.a.b.j.t.h.f.a public Set c() { - return this.f668c; + return this.f633c; } @Override // c.i.a.b.j.t.h.f.a @@ -75,23 +75,23 @@ public final class c extends f.a { return false; } f.a aVar = (f.a) obj; - return this.a == aVar.b() && this.b == aVar.d() && this.f668c.equals(aVar.c()); + return this.a == aVar.b() && this.b == aVar.d() && this.f633c.equals(aVar.c()); } public int hashCode() { long j = this.a; long j2 = this.b; - return this.f668c.hashCode() ^ ((((((int) (j ^ (j >>> 32))) ^ 1000003) * 1000003) ^ ((int) ((j2 >>> 32) ^ j2))) * 1000003); + return this.f633c.hashCode() ^ ((((((int) (j ^ (j >>> 32))) ^ 1000003) * 1000003) ^ ((int) ((j2 >>> 32) ^ j2))) * 1000003); } public String toString() { - StringBuilder O = c.d.b.a.a.O("ConfigValue{delta="); - O.append(this.a); - O.append(", maxAllowedDelay="); - O.append(this.b); - O.append(", flags="); - O.append(this.f668c); - O.append("}"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("ConfigValue{delta="); + R.append(this.a); + R.append(", maxAllowedDelay="); + R.append(this.b); + R.append(", flags="); + R.append(this.f633c); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/a/b/j/t/h/d.java b/app/src/main/java/c/i/a/b/j/t/h/d.java index 4bd415cd20..89d945820c 100644 --- a/app/src/main/java/c/i/a/b/j/t/h/d.java +++ b/app/src/main/java/c/i/a/b/j/t/h/d.java @@ -26,12 +26,12 @@ public class d implements r { public final c b; /* renamed from: c reason: collision with root package name */ - public final f f670c; + public final f f635c; public d(Context context, c cVar, f fVar) { this.a = context; this.b = cVar; - this.f670c = fVar; + this.f635c = fVar; } /* JADX WARNING: Code restructure failed: missing block: B:10:0x0092, code lost: @@ -66,14 +66,14 @@ public class d implements r { } } if (z2) { - c.c.a.a0.d.Z("JobInfoScheduler", "Upload for context %s is already scheduled. Returning...", iVar); + c.c.a.a0.d.W("JobInfoScheduler", "Upload for context %s is already scheduled. Returning...", iVar); return; } - long g02 = this.b.g0(iVar); - f fVar = this.f670c; + long h02 = this.b.h0(iVar); + f fVar = this.f635c; JobInfo.Builder builder = new JobInfo.Builder(value, componentName); c.i.a.b.d d = iVar.d(); - builder.setMinimumLatency(fVar.b(d, g02, i)); + builder.setMinimumLatency(fVar.b(d, h02, i)); Set c3 = fVar.c().get(d).c(); if (c3.contains(f.b.NETWORK_UNMETERED)) { builder.setRequiredNetworkType(2); @@ -102,10 +102,10 @@ public class d implements r { Object[] objArr = new Object[5]; objArr[c2] = iVar; objArr[1] = Integer.valueOf(value); - objArr[2] = Long.valueOf(this.f670c.b(iVar.d(), g02, i)); - objArr[3] = Long.valueOf(g02); + objArr[2] = Long.valueOf(this.f635c.b(iVar.d(), h02, i)); + objArr[3] = Long.valueOf(h02); objArr[4] = Integer.valueOf(i); - c.c.a.a0.d.a0("JobInfoScheduler", "Scheduling upload for context %s with jobId=%d in %dms(Backend next call timestamp %d). Attempt %d", objArr); + c.c.a.a0.d.X("JobInfoScheduler", "Scheduling upload for context %s with jobId=%d in %dms(Backend next call timestamp %d). Attempt %d", objArr); jobScheduler.schedule(builder.build()); } } diff --git a/app/src/main/java/c/i/a/b/j/t/h/f.java b/app/src/main/java/c/i/a/b/j/t/h/f.java index 74a369db19..de176a31da 100644 --- a/app/src/main/java/c/i/a/b/j/t/h/f.java +++ b/app/src/main/java/c/i/a/b/j/t/h/f.java @@ -18,19 +18,19 @@ public abstract class f { /* compiled from: SchedulerConfig */ @AutoValue.Builder /* renamed from: c.i.a.b.j.t.h.f$a$a reason: collision with other inner class name */ - public static abstract class AbstractC0083a { + public static abstract class AbstractC0082a { public abstract a a(); - public abstract AbstractC0083a b(long j); + public abstract AbstractC0082a b(long j); - public abstract AbstractC0083a c(long j); + public abstract AbstractC0082a c(long j); } - public static AbstractC0083a a() { + public static AbstractC0082a a() { c.b bVar = new c.b(); Set emptySet = Collections.emptySet(); Objects.requireNonNull(emptySet, "Null flags"); - bVar.f669c = emptySet; + bVar.f634c = emptySet; return bVar; } diff --git a/app/src/main/java/c/i/a/b/j/t/h/g.java b/app/src/main/java/c/i/a/b/j/t/h/g.java index ab4aa2d499..f00256e5f6 100644 --- a/app/src/main/java/c/i/a/b/j/t/h/g.java +++ b/app/src/main/java/c/i/a/b/j/t/h/g.java @@ -28,7 +28,7 @@ public final /* synthetic */ class g implements Runnable { Runnable runnable = this.l; try { a aVar = lVar.f; - c cVar = lVar.f673c; + c cVar = lVar.f638c; cVar.getClass(); aVar.a(new j(cVar)); NetworkInfo activeNetworkInfo = ((ConnectivityManager) lVar.a.getSystemService("connectivity")).getActiveNetworkInfo(); diff --git a/app/src/main/java/c/i/a/b/j/t/h/h.java b/app/src/main/java/c/i/a/b/j/t/h/h.java index dc87912921..97ecf2c1cb 100644 --- a/app/src/main/java/c/i/a/b/j/t/h/h.java +++ b/app/src/main/java/c/i/a/b/j/t/h/h.java @@ -3,7 +3,7 @@ package c.i.a.b.j.t.h; import c.i.a.b.j.i; import c.i.a.b.j.u.a; /* compiled from: Uploader */ -public final /* synthetic */ class h implements a.AbstractC0085a { +public final /* synthetic */ class h implements a.AbstractC0084a { public final l a; public final i b; @@ -12,9 +12,9 @@ public final /* synthetic */ class h implements a.AbstractC0085a { this.b = iVar; } - @Override // c.i.a.b.j.u.a.AbstractC0085a + @Override // c.i.a.b.j.u.a.AbstractC0084a public Object execute() { l lVar = this.a; - return lVar.f673c.q(this.b); + return lVar.f638c.r(this.b); } } diff --git a/app/src/main/java/c/i/a/b/j/t/h/i.java b/app/src/main/java/c/i/a/b/j/t/h/i.java index 6de6cbb226..c52ff4a485 100644 --- a/app/src/main/java/c/i/a/b/j/t/h/i.java +++ b/app/src/main/java/c/i/a/b/j/t/h/i.java @@ -4,40 +4,40 @@ import c.i.a.b.j.q.g; import c.i.a.b.j.t.i.h; import c.i.a.b.j.u.a; /* compiled from: Uploader */ -public final /* synthetic */ class i implements a.AbstractC0085a { +public final /* synthetic */ class i implements a.AbstractC0084a { public final l a; public final g b; /* renamed from: c reason: collision with root package name */ - public final Iterable f671c; + public final Iterable f636c; public final c.i.a.b.j.i d; public final int e; public i(l lVar, g gVar, Iterable iterable, c.i.a.b.j.i iVar, int i) { this.a = lVar; this.b = gVar; - this.f671c = iterable; + this.f636c = iterable; this.d = iVar; this.e = i; } - @Override // c.i.a.b.j.u.a.AbstractC0085a + @Override // c.i.a.b.j.u.a.AbstractC0084a public Object execute() { l lVar = this.a; g gVar = this.b; - Iterable iterable = this.f671c; + Iterable iterable = this.f636c; c.i.a.b.j.i iVar = this.d; int i = this.e; if (gVar.c() == g.a.TRANSIENT_ERROR) { - lVar.f673c.m0(iterable); + lVar.f638c.n0(iterable); lVar.d.a(iVar, i + 1); return null; } - lVar.f673c.m(iterable); + lVar.f638c.m(iterable); if (gVar.c() == g.a.OK) { - lVar.f673c.u(iVar, gVar.b() + lVar.g.a()); + lVar.f638c.v(iVar, gVar.b() + lVar.g.a()); } - if (!lVar.f673c.k0(iVar)) { + if (!lVar.f638c.l0(iVar)) { return null; } lVar.d.a(iVar, 1); diff --git a/app/src/main/java/c/i/a/b/j/t/h/j.java b/app/src/main/java/c/i/a/b/j/t/h/j.java index bba11c2942..389fe4b561 100644 --- a/app/src/main/java/c/i/a/b/j/t/h/j.java +++ b/app/src/main/java/c/i/a/b/j/t/h/j.java @@ -3,14 +3,14 @@ package c.i.a.b.j.t.h; import c.i.a.b.j.t.i.c; import c.i.a.b.j.u.a; /* compiled from: Uploader */ -public final /* synthetic */ class j implements a.AbstractC0085a { +public final /* synthetic */ class j implements a.AbstractC0084a { public final c a; public j(c cVar) { this.a = cVar; } - @Override // c.i.a.b.j.u.a.AbstractC0085a + @Override // c.i.a.b.j.u.a.AbstractC0084a public Object execute() { return Integer.valueOf(this.a.l()); } diff --git a/app/src/main/java/c/i/a/b/j/t/h/k.java b/app/src/main/java/c/i/a/b/j/t/h/k.java index aa12b54098..3e99f4deeb 100644 --- a/app/src/main/java/c/i/a/b/j/t/h/k.java +++ b/app/src/main/java/c/i/a/b/j/t/h/k.java @@ -3,23 +3,23 @@ package c.i.a.b.j.t.h; import c.i.a.b.j.i; import c.i.a.b.j.u.a; /* compiled from: Uploader */ -public final /* synthetic */ class k implements a.AbstractC0085a { +public final /* synthetic */ class k implements a.AbstractC0084a { public final l a; public final i b; /* renamed from: c reason: collision with root package name */ - public final int f672c; + public final int f637c; public k(l lVar, i iVar, int i) { this.a = lVar; this.b = iVar; - this.f672c = i; + this.f637c = i; } - @Override // c.i.a.b.j.u.a.AbstractC0085a + @Override // c.i.a.b.j.u.a.AbstractC0084a public Object execute() { l lVar = this.a; - lVar.d.a(this.b, this.f672c + 1); + lVar.d.a(this.b, this.f637c + 1); return null; } } diff --git a/app/src/main/java/c/i/a/b/j/t/h/l.java b/app/src/main/java/c/i/a/b/j/t/h/l.java index 242896d1f1..a63c0b6036 100644 --- a/app/src/main/java/c/i/a/b/j/t/h/l.java +++ b/app/src/main/java/c/i/a/b/j/t/h/l.java @@ -17,7 +17,7 @@ public class l { public final e b; /* renamed from: c reason: collision with root package name */ - public final c f673c; + public final c f638c; public final r d; public final Executor e; public final a f; @@ -26,7 +26,7 @@ public class l { public l(Context context, e eVar, c cVar, r rVar, Executor executor, a aVar, c.i.a.b.j.v.a aVar2) { this.a = context; this.b = eVar; - this.f673c = cVar; + this.f638c = cVar; this.d = rVar; this.e = executor; this.f = aVar; @@ -39,7 +39,7 @@ public class l { Iterable iterable = (Iterable) this.f.a(new h(this, iVar)); if (iterable.iterator().hasNext()) { if (mVar == null) { - d.Z("Uploader", "Unknown backend for %s, deleting event batch for it...", iVar); + d.W("Uploader", "Unknown backend for %s, deleting event batch for it...", iVar); a = g.a(); } else { ArrayList arrayList = new ArrayList(); @@ -50,7 +50,7 @@ public class l { if (1 != 0) { a = mVar.a(new c.i.a.b.j.q.a(arrayList, c2, null)); } else { - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", "")); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", "")); } } this.f.a(new i(this, a, iterable, iVar, i)); diff --git a/app/src/main/java/c/i/a/b/j/t/h/m.java b/app/src/main/java/c/i/a/b/j/t/h/m.java index 85ff68777d..241df937e0 100644 --- a/app/src/main/java/c/i/a/b/j/t/h/m.java +++ b/app/src/main/java/c/i/a/b/j/t/h/m.java @@ -1,9 +1,9 @@ package c.i.a.b.j.t.h; import android.content.Context; -import b0.a.a; import c.i.a.b.j.q.e; import c.i.a.b.j.t.i.c; +import c0.a.a; import java.util.concurrent.Executor; /* compiled from: Uploader_Factory */ public final class m implements a { @@ -11,7 +11,7 @@ public final class m implements a { public final a b; /* renamed from: c reason: collision with root package name */ - public final a f674c; + public final a f639c; public final a d; public final a e; public final a f; @@ -20,15 +20,15 @@ public final class m implements a { public m(a aVar, a aVar2, a aVar3, a aVar4, a aVar5, a aVar6, a aVar7) { this.a = aVar; this.b = aVar2; - this.f674c = aVar3; + this.f639c = aVar3; this.d = aVar4; this.e = aVar5; this.f = aVar6; this.g = aVar7; } - @Override // b0.a.a + @Override // c0.a.a public Object get() { - return new l(this.a.get(), this.b.get(), this.f674c.get(), this.d.get(), this.e.get(), this.f.get(), this.g.get()); + return new l(this.a.get(), this.b.get(), this.f639c.get(), this.d.get(), this.e.get(), this.f.get(), this.g.get()); } } diff --git a/app/src/main/java/c/i/a/b/j/t/h/o.java b/app/src/main/java/c/i/a/b/j/t/h/o.java index 6f86b1afe8..7d75de1f6d 100644 --- a/app/src/main/java/c/i/a/b/j/t/h/o.java +++ b/app/src/main/java/c/i/a/b/j/t/h/o.java @@ -3,18 +3,18 @@ package c.i.a.b.j.t.h; import c.i.a.b.j.i; import c.i.a.b.j.u.a; /* compiled from: WorkInitializer */ -public final /* synthetic */ class o implements a.AbstractC0085a { +public final /* synthetic */ class o implements a.AbstractC0084a { public final p a; public o(p pVar) { this.a = pVar; } - @Override // c.i.a.b.j.u.a.AbstractC0085a + @Override // c.i.a.b.j.u.a.AbstractC0084a public Object execute() { p pVar = this.a; - for (i iVar : pVar.b.y()) { - pVar.f675c.a(iVar, 1); + for (i iVar : pVar.b.z()) { + pVar.f640c.a(iVar, 1); } return null; } diff --git a/app/src/main/java/c/i/a/b/j/t/h/p.java b/app/src/main/java/c/i/a/b/j/t/h/p.java index e87bc1bcd4..b522c44543 100644 --- a/app/src/main/java/c/i/a/b/j/t/h/p.java +++ b/app/src/main/java/c/i/a/b/j/t/h/p.java @@ -9,13 +9,13 @@ public class p { public final c b; /* renamed from: c reason: collision with root package name */ - public final r f675c; + public final r f640c; public final a d; public p(Executor executor, c cVar, r rVar, a aVar) { this.a = executor; this.b = cVar; - this.f675c = rVar; + this.f640c = rVar; this.d = aVar; } } diff --git a/app/src/main/java/c/i/a/b/j/t/h/q.java b/app/src/main/java/c/i/a/b/j/t/h/q.java index 54f219ed96..112152dfcb 100644 --- a/app/src/main/java/c/i/a/b/j/t/h/q.java +++ b/app/src/main/java/c/i/a/b/j/t/h/q.java @@ -1,7 +1,7 @@ package c.i.a.b.j.t.h; -import b0.a.a; import c.i.a.b.j.t.i.c; +import c0.a.a; import java.util.concurrent.Executor; /* compiled from: WorkInitializer_Factory */ public final class q implements a { @@ -9,18 +9,18 @@ public final class q implements a { public final a b; /* renamed from: c reason: collision with root package name */ - public final a f676c; + public final a f641c; public final a d; public q(a aVar, a aVar2, a aVar3, a aVar4) { this.a = aVar; this.b = aVar2; - this.f676c = aVar3; + this.f641c = aVar3; this.d = aVar4; } - @Override // b0.a.a + @Override // c0.a.a public Object get() { - return new p(this.a.get(), this.b.get(), this.f676c.get(), this.d.get()); + return new p(this.a.get(), this.b.get(), this.f641c.get(), this.d.get()); } } diff --git a/app/src/main/java/c/i/a/b/j/t/i/a.java b/app/src/main/java/c/i/a/b/j/t/i/a.java index a082f8d2bf..d2111b3a44 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/a.java +++ b/app/src/main/java/c/i/a/b/j/t/i/a.java @@ -4,14 +4,14 @@ public final class a extends d { public final long b; /* renamed from: c reason: collision with root package name */ - public final int f677c; + public final int f642c; public final int d; public final long e; public final int f; - public a(long j, int i, int i2, long j2, int i3, C0084a aVar) { + public a(long j, int i, int i2, long j2, int i3, C0083a aVar) { this.b = j; - this.f677c = i; + this.f642c = i; this.d = i2; this.e = j2; this.f = i3; @@ -29,7 +29,7 @@ public final class a extends d { @Override // c.i.a.b.j.t.i.d public int c() { - return this.f677c; + return this.f642c; } @Override // c.i.a.b.j.t.i.d @@ -50,25 +50,25 @@ public final class a extends d { return false; } d dVar = (d) obj; - return this.b == dVar.e() && this.f677c == dVar.c() && this.d == dVar.a() && this.e == dVar.b() && this.f == dVar.d(); + return this.b == dVar.e() && this.f642c == dVar.c() && this.d == dVar.a() && this.e == dVar.b() && this.f == dVar.d(); } public int hashCode() { long j = this.b; long j2 = this.e; - return this.f ^ ((((((((((int) (j ^ (j >>> 32))) ^ 1000003) * 1000003) ^ this.f677c) * 1000003) ^ this.d) * 1000003) ^ ((int) ((j2 >>> 32) ^ j2))) * 1000003); + return this.f ^ ((((((((((int) (j ^ (j >>> 32))) ^ 1000003) * 1000003) ^ this.f642c) * 1000003) ^ this.d) * 1000003) ^ ((int) ((j2 >>> 32) ^ j2))) * 1000003); } public String toString() { - StringBuilder O = c.d.b.a.a.O("EventStoreConfig{maxStorageSizeInBytes="); - O.append(this.b); - O.append(", loadBatchSize="); - O.append(this.f677c); - O.append(", criticalSectionEnterTimeoutMs="); - O.append(this.d); - O.append(", eventCleanUpAge="); - O.append(this.e); - O.append(", maxBlobByteSizePerRow="); - return c.d.b.a.a.z(O, this.f, "}"); + StringBuilder R = c.d.b.a.a.R("EventStoreConfig{maxStorageSizeInBytes="); + R.append(this.b); + R.append(", loadBatchSize="); + R.append(this.f642c); + R.append(", criticalSectionEnterTimeoutMs="); + R.append(this.d); + R.append(", eventCleanUpAge="); + R.append(this.e); + R.append(", maxBlobByteSizePerRow="); + return c.d.b.a.a.A(R, this.f, "}"); } } diff --git a/app/src/main/java/c/i/a/b/j/t/i/a0.java b/app/src/main/java/c/i/a/b/j/t/i/a0.java index e894783403..7b9b641a86 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/a0.java +++ b/app/src/main/java/c/i/a/b/j/t/i/a0.java @@ -1,23 +1,23 @@ package c.i.a.b.j.t.i; import android.content.Context; -import b0.a.a; +import c0.a.a; /* compiled from: SchemaManager_Factory */ public final class a0 implements a { public final a a; public final a b; /* renamed from: c reason: collision with root package name */ - public final a f678c; + public final a f643c; public a0(a aVar, a aVar2, a aVar3) { this.a = aVar; this.b = aVar2; - this.f678c = aVar3; + this.f643c = aVar3; } - @Override // b0.a.a + @Override // c0.a.a public Object get() { - return new z(this.a.get(), this.b.get(), this.f678c.get().intValue()); + return new z(this.a.get(), this.b.get(), this.f643c.get().intValue()); } } diff --git a/app/src/main/java/c/i/a/b/j/t/i/b.java b/app/src/main/java/c/i/a/b/j/t/i/b.java index 67c91135b0..d4f0bd282e 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/b.java +++ b/app/src/main/java/c/i/a/b/j/t/i/b.java @@ -10,19 +10,19 @@ public final class b extends h { public final i b; /* renamed from: c reason: collision with root package name */ - public final f f679c; + public final f f644c; public b(long j, i iVar, f fVar) { this.a = j; Objects.requireNonNull(iVar, "Null transportContext"); this.b = iVar; Objects.requireNonNull(fVar, "Null event"); - this.f679c = fVar; + this.f644c = fVar; } @Override // c.i.a.b.j.t.i.h public f a() { - return this.f679c; + return this.f644c; } @Override // c.i.a.b.j.t.i.h @@ -43,22 +43,22 @@ public final class b extends h { return false; } h hVar = (h) obj; - return this.a == hVar.b() && this.b.equals(hVar.c()) && this.f679c.equals(hVar.a()); + return this.a == hVar.b() && this.b.equals(hVar.c()) && this.f644c.equals(hVar.a()); } public int hashCode() { long j = this.a; - return this.f679c.hashCode() ^ ((((((int) (j ^ (j >>> 32))) ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003); + return this.f644c.hashCode() ^ ((((((int) (j ^ (j >>> 32))) ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003); } public String toString() { - StringBuilder O = a.O("PersistedEvent{id="); - O.append(this.a); - O.append(", transportContext="); - O.append(this.b); - O.append(", event="); - O.append(this.f679c); - O.append("}"); - return O.toString(); + StringBuilder R = a.R("PersistedEvent{id="); + R.append(this.a); + R.append(", transportContext="); + R.append(this.b); + R.append(", event="); + R.append(this.f644c); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/a/b/j/t/i/c.java b/app/src/main/java/c/i/a/b/j/t/i/c.java index 8bbb3b4556..412fd205c2 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/c.java +++ b/app/src/main/java/c/i/a/b/j/t/i/c.java @@ -9,21 +9,21 @@ import java.io.Closeable; @WorkerThread public interface c extends Closeable { @Nullable - h Z(i iVar, f fVar); + h a0(i iVar, f fVar); - long g0(i iVar); - - boolean k0(i iVar); + long h0(i iVar); int l(); + boolean l0(i iVar); + void m(Iterable iterable); - void m0(Iterable iterable); + void n0(Iterable iterable); - Iterable q(i iVar); + Iterable r(i iVar); - void u(i iVar, long j); + void v(i iVar, long j); - Iterable y(); + Iterable z(); } diff --git a/app/src/main/java/c/i/a/b/j/t/i/d.java b/app/src/main/java/c/i/a/b/j/t/i/d.java index cf9c0a8259..412323ccd0 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/d.java +++ b/app/src/main/java/c/i/a/b/j/t/i/d.java @@ -15,22 +15,22 @@ public abstract class d { Integer num3 = 81920; String str = l == null ? " maxStorageSizeInBytes" : ""; if (num == null) { - str = a.u(str, " loadBatchSize"); + str = a.v(str, " loadBatchSize"); } if (num2 == null) { - str = a.u(str, " criticalSectionEnterTimeoutMs"); + str = a.v(str, " criticalSectionEnterTimeoutMs"); } if (l2 == null) { - str = a.u(str, " eventCleanUpAge"); + str = a.v(str, " eventCleanUpAge"); } if (num3 == null) { - str = a.u(str, " maxBlobByteSizePerRow"); + str = a.v(str, " maxBlobByteSizePerRow"); } if (str.isEmpty()) { a = new a(l.longValue(), num.intValue(), num2.intValue(), l2.longValue(), num3.intValue(), null); return; } - throw new IllegalStateException(a.u("Missing required properties:", str)); + throw new IllegalStateException(a.v("Missing required properties:", str)); } public abstract int a(); diff --git a/app/src/main/java/c/i/a/b/j/t/i/e.java b/app/src/main/java/c/i/a/b/j/t/i/e.java index 681aa3a010..26b2c185ae 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/e.java +++ b/app/src/main/java/c/i/a/b/j/t/i/e.java @@ -1,13 +1,13 @@ package c.i.a.b.j.t.i; /* compiled from: EventStoreModule_DbNameFactory */ -public final class e implements b0.a.a { +public final class e implements c0.a.a { /* compiled from: EventStoreModule_DbNameFactory */ public static final class a { public static final e a = new e(); } - @Override // b0.a.a + @Override // c0.a.a public /* bridge */ /* synthetic */ Object get() { return "com.google.android.datatransport.events"; } diff --git a/app/src/main/java/c/i/a/b/j/t/i/f.java b/app/src/main/java/c/i/a/b/j/t/i/f.java index 3c8bc2fb24..c9522ea96b 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/f.java +++ b/app/src/main/java/c/i/a/b/j/t/i/f.java @@ -3,14 +3,14 @@ package c.i.a.b.j.t.i; import c.i.a.b.j.t.i.z; import java.util.List; /* compiled from: EventStoreModule_SchemaVersionFactory */ -public final class f implements b0.a.a { +public final class f implements c0.a.a { /* compiled from: EventStoreModule_SchemaVersionFactory */ public static final class a { public static final f a = new f(); } - @Override // b0.a.a + @Override // c0.a.a public Object get() { List list = z.i; return 4; diff --git a/app/src/main/java/c/i/a/b/j/t/i/g.java b/app/src/main/java/c/i/a/b/j/t/i/g.java index 0ac4c1b22c..1b18ced186 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/g.java +++ b/app/src/main/java/c/i/a/b/j/t/i/g.java @@ -2,14 +2,14 @@ package c.i.a.b.j.t.i; import java.util.Objects; /* compiled from: EventStoreModule_StoreConfigFactory */ -public final class g implements b0.a.a { +public final class g implements c0.a.a { /* compiled from: EventStoreModule_StoreConfigFactory */ public static final class a { public static final g a = new g(); } - @Override // b0.a.a + @Override // c0.a.a public Object get() { d dVar = d.a; Objects.requireNonNull(dVar, "Cannot return null from a non-@Nullable @Provides method"); diff --git a/app/src/main/java/c/i/a/b/j/t/i/j.java b/app/src/main/java/c/i/a/b/j/t/i/j.java index 5796c0c826..82c63fb7e3 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/j.java +++ b/app/src/main/java/c/i/a/b/j/t/i/j.java @@ -34,7 +34,7 @@ public final /* synthetic */ class j implements t.b { ArrayList arrayList = new ArrayList(); Long c2 = tVar.c(sQLiteDatabase, iVar); if (c2 != null) { - t.p(sQLiteDatabase.query("events", new String[]{"_id", "transport_name", "timestamp_ms", "uptime_ms", "payload_encoding", "payload", ModelAuditLogEntry.CHANGE_KEY_CODE, "inline"}, "context_id = ?", new String[]{c2.toString()}, null, null, null, String.valueOf(tVar.m.c())), new k(tVar, arrayList, iVar)); + t.n(sQLiteDatabase.query("events", new String[]{"_id", "transport_name", "timestamp_ms", "uptime_ms", "payload_encoding", "payload", ModelAuditLogEntry.CHANGE_KEY_CODE, "inline"}, "context_id = ?", new String[]{c2.toString()}, null, null, null, String.valueOf(tVar.m.c())), new k(tVar, arrayList, iVar)); } HashMap hashMap = new HashMap(); StringBuilder sb = new StringBuilder("event_id IN ("); diff --git a/app/src/main/java/c/i/a/b/j/t/i/k.java b/app/src/main/java/c/i/a/b/j/t/i/k.java index 984dffd72d..b5496e6c2a 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/k.java +++ b/app/src/main/java/c/i/a/b/j/t/i/k.java @@ -14,19 +14,19 @@ public final /* synthetic */ class k implements t.b { public final List b; /* renamed from: c reason: collision with root package name */ - public final i f680c; + public final i f645c; public k(t tVar, List list, i iVar) { this.a = tVar; this.b = list; - this.f680c = iVar; + this.f645c = iVar; } @Override // c.i.a.b.j.t.i.t.b public Object apply(Object obj) { t tVar = this.a; List list = this.b; - i iVar = this.f680c; + i iVar = this.f645c; Cursor cursor = (Cursor) obj; b bVar = t.i; while (cursor.moveToNext()) { @@ -42,7 +42,7 @@ public final /* synthetic */ class k implements t.b { bVar2.d(new e(string == null ? t.i : new b(string), cursor.getBlob(5))); } else { String string2 = cursor.getString(4); - bVar2.d(new e(string2 == null ? t.i : new b(string2), (byte[]) t.p(tVar.b().query("event_payloads", new String[]{"bytes"}, "event_id = ?", new String[]{String.valueOf(j)}, null, null, "sequence_num"), l.a))); + bVar2.d(new e(string2 == null ? t.i : new b(string2), (byte[]) t.n(tVar.b().query("event_payloads", new String[]{"bytes"}, "event_id = ?", new String[]{String.valueOf(j)}, null, null, "sequence_num"), l.a))); } if (!cursor.isNull(6)) { bVar2.b = Integer.valueOf(cursor.getInt(6)); diff --git a/app/src/main/java/c/i/a/b/j/t/i/p.java b/app/src/main/java/c/i/a/b/j/t/i/p.java index 2f9d518846..01535470ca 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/p.java +++ b/app/src/main/java/c/i/a/b/j/t/i/p.java @@ -22,7 +22,7 @@ public final /* synthetic */ class p implements t.b { a2.b(cursor.getString(1)); a2.c(a.b(cursor.getInt(2))); String string = cursor.getString(3); - b.C0081b bVar2 = (b.C0081b) a2; + b.C0080b bVar2 = (b.C0080b) a2; bVar2.b = string == null ? null : Base64.decode(string, 0); arrayList.add(bVar2.a()); } diff --git a/app/src/main/java/c/i/a/b/j/t/i/s.java b/app/src/main/java/c/i/a/b/j/t/i/s.java index 6bdbc669d4..a9a25782b9 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/s.java +++ b/app/src/main/java/c/i/a/b/j/t/i/s.java @@ -19,12 +19,12 @@ public final /* synthetic */ class s implements t.b { public final i b; /* renamed from: c reason: collision with root package name */ - public final f f681c; + public final f f646c; public s(t tVar, i iVar, f fVar) { this.a = tVar; this.b = iVar; - this.f681c = fVar; + this.f646c = fVar; } @Override // c.i.a.b.j.t.i.t.b @@ -32,7 +32,7 @@ public final /* synthetic */ class s implements t.b { long j; t tVar = this.a; i iVar = this.b; - f fVar = this.f681c; + f fVar = this.f646c; SQLiteDatabase sQLiteDatabase = (SQLiteDatabase) obj; b bVar = t.i; if (tVar.b().compileStatement("PRAGMA page_size").simpleQueryForLong() * tVar.b().compileStatement("PRAGMA page_count").simpleQueryForLong() >= tVar.m.e()) { diff --git a/app/src/main/java/c/i/a/b/j/t/i/t.java b/app/src/main/java/c/i/a/b/j/t/i/t.java index aabe4866e9..6dc5ab4d1d 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/t.java +++ b/app/src/main/java/c/i/a/b/j/t/i/t.java @@ -65,7 +65,7 @@ public class t implements c, c.i.a.b.j.u.a { return sb.toString(); } - public static T p(Cursor cursor, b bVar) { + public static T n(Cursor cursor, b bVar) { try { return bVar.apply(cursor); } finally { @@ -73,19 +73,8 @@ public class t implements c, c.i.a.b.j.u.a { } } - @Override // c.i.a.b.j.t.i.c - @Nullable - public h Z(i iVar, f fVar) { - c.c.a.a0.d.a0("SQLiteEventStore", "Storing event with priority=%s, name=%s for destination %s", iVar.d(), fVar.g(), iVar.b()); - long longValue = ((Long) d(new s(this, iVar, fVar))).longValue(); - if (longValue < 1) { - return null; - } - return new b(longValue, iVar, fVar); - } - @Override // c.i.a.b.j.u.a - public T a(a.AbstractC0085a aVar) { + public T a(a.AbstractC0084a aVar) { SQLiteDatabase b2 = b(); e(new m(b2), n.a); try { @@ -97,6 +86,17 @@ public class t implements c, c.i.a.b.j.u.a { } } + @Override // c.i.a.b.j.t.i.c + @Nullable + public h a0(i iVar, f fVar) { + c.c.a.a0.d.X("SQLiteEventStore", "Storing event with priority=%s, name=%s for destination %s", iVar.d(), fVar.g(), iVar.b()); + long longValue = ((Long) d(new s(this, iVar, fVar))).longValue(); + if (longValue < 1) { + return null; + } + return new b(longValue, iVar, fVar); + } + @VisibleForTesting public SQLiteDatabase b() { z zVar = this.j; @@ -153,7 +153,7 @@ public class t implements c, c.i.a.b.j.u.a { /* JADX INFO: finally extract failed */ @Override // c.i.a.b.j.t.i.c - public long g0(i iVar) { + public long h0(i iVar) { Cursor rawQuery = b().rawQuery("SELECT next_request_ms FROM transport_contexts WHERE backend_name = ? and priority = ?", new String[]{iVar.b(), String.valueOf(c.i.a.b.j.w.a.a(iVar.d()))}); try { Long valueOf = rawQuery.moveToNext() ? Long.valueOf(rawQuery.getLong(0)) : 0L; @@ -165,23 +165,6 @@ public class t implements c, c.i.a.b.j.u.a { } } - /* JADX INFO: finally extract failed */ - @Override // c.i.a.b.j.t.i.c - public boolean k0(i iVar) { - SQLiteDatabase b2 = b(); - b2.beginTransaction(); - try { - Long c2 = c(b2, iVar); - Boolean bool = c2 == null ? Boolean.FALSE : (Boolean) p(b().rawQuery("SELECT 1 FROM events WHERE context_id = ? LIMIT 1", new String[]{c2.toString()}), q.a); - b2.setTransactionSuccessful(); - b2.endTransaction(); - return bool.booleanValue(); - } catch (Throwable th) { - b2.endTransaction(); - throw th; - } - } - /* JADX INFO: finally extract failed */ @Override // c.i.a.b.j.t.i.c public int l() { @@ -199,21 +182,38 @@ public class t implements c, c.i.a.b.j.u.a { } } + /* JADX INFO: finally extract failed */ @Override // c.i.a.b.j.t.i.c - public void m(Iterable iterable) { - if (iterable.iterator().hasNext()) { - StringBuilder O = c.d.b.a.a.O("DELETE FROM events WHERE _id in "); - O.append(f(iterable)); - b().compileStatement(O.toString()).execute(); + public boolean l0(i iVar) { + SQLiteDatabase b2 = b(); + b2.beginTransaction(); + try { + Long c2 = c(b2, iVar); + Boolean bool = c2 == null ? Boolean.FALSE : (Boolean) n(b().rawQuery("SELECT 1 FROM events WHERE context_id = ? LIMIT 1", new String[]{c2.toString()}), q.a); + b2.setTransactionSuccessful(); + b2.endTransaction(); + return bool.booleanValue(); + } catch (Throwable th) { + b2.endTransaction(); + throw th; } } @Override // c.i.a.b.j.t.i.c - public void m0(Iterable iterable) { + public void m(Iterable iterable) { if (iterable.iterator().hasNext()) { - StringBuilder O = c.d.b.a.a.O("UPDATE events SET num_attempts = num_attempts + 1 WHERE _id in "); - O.append(f(iterable)); - String sb = O.toString(); + StringBuilder R = c.d.b.a.a.R("DELETE FROM events WHERE _id in "); + R.append(f(iterable)); + b().compileStatement(R.toString()).execute(); + } + } + + @Override // c.i.a.b.j.t.i.c + public void n0(Iterable iterable) { + if (iterable.iterator().hasNext()) { + StringBuilder R = c.d.b.a.a.R("UPDATE events SET num_attempts = num_attempts + 1 WHERE _id in "); + R.append(f(iterable)); + String sb = R.toString(); SQLiteDatabase b2 = b(); b2.beginTransaction(); try { @@ -227,21 +227,21 @@ public class t implements c, c.i.a.b.j.u.a { } @Override // c.i.a.b.j.t.i.c - public Iterable q(i iVar) { + public Iterable r(i iVar) { return (Iterable) d(new j(this, iVar)); } @Override // c.i.a.b.j.t.i.c - public void u(i iVar, long j) { + public void v(i iVar, long j) { d(new i(j, iVar)); } @Override // c.i.a.b.j.t.i.c - public Iterable y() { + public Iterable z() { SQLiteDatabase b2 = b(); b2.beginTransaction(); try { - List list = (List) p(b2.rawQuery("SELECT distinct t._id, t.backend_name, t.priority, t.extras FROM transport_contexts AS t, events AS e WHERE e.context_id = t._id", new String[0]), p.a); + List list = (List) n(b2.rawQuery("SELECT distinct t._id, t.backend_name, t.priority, t.extras FROM transport_contexts AS t, events AS e WHERE e.context_id = t._id", new String[0]), p.a); b2.setTransactionSuccessful(); return list; } finally { diff --git a/app/src/main/java/c/i/a/b/j/t/i/u.java b/app/src/main/java/c/i/a/b/j/t/i/u.java index 1f9995b13c..b73c783360 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/u.java +++ b/app/src/main/java/c/i/a/b/j/t/i/u.java @@ -1,24 +1,24 @@ package c.i.a.b.j.t.i; -import b0.a.a; +import c0.a.a; /* compiled from: SQLiteEventStore_Factory */ public final class u implements a { public final a a; public final a b; /* renamed from: c reason: collision with root package name */ - public final a f682c; + public final a f647c; public final a d; public u(a aVar, a aVar2, a aVar3, a aVar4) { this.a = aVar; this.b = aVar2; - this.f682c = aVar3; + this.f647c = aVar3; this.d = aVar4; } - @Override // b0.a.a + @Override // c0.a.a public Object get() { - return new t(this.a.get(), this.b.get(), this.f682c.get(), this.d.get()); + return new t(this.a.get(), this.b.get(), this.f647c.get(), this.d.get()); } } diff --git a/app/src/main/java/c/i/a/b/j/t/i/z.java b/app/src/main/java/c/i/a/b/j/t/i/z.java index b1ea0a6544..bdbf2693ab 100644 --- a/app/src/main/java/c/i/a/b/j/t/i/z.java +++ b/app/src/main/java/c/i/a/b/j/t/i/z.java @@ -30,10 +30,10 @@ public final class z extends SQLiteOpenHelper { } return; } - StringBuilder Q = c.d.b.a.a.Q("Migration from ", i2, " to ", i3, " was requested, but cannot be performed. Only "); - Q.append(list.size()); - Q.append(" migrations are provided"); - throw new IllegalArgumentException(Q.toString()); + StringBuilder U = c.d.b.a.a.U("Migration from ", i2, " to ", i3, " was requested, but cannot be performed. Only "); + U.append(list.size()); + U.append(" migrations are provided"); + throw new IllegalArgumentException(U.toString()); } @Override // android.database.sqlite.SQLiteOpenHelper diff --git a/app/src/main/java/c/i/a/b/j/u/a.java b/app/src/main/java/c/i/a/b/j/u/a.java index 1caa60630e..488c2ef021 100644 --- a/app/src/main/java/c/i/a/b/j/u/a.java +++ b/app/src/main/java/c/i/a/b/j/u/a.java @@ -7,9 +7,9 @@ public interface a { /* compiled from: SynchronizationGuard */ /* renamed from: c.i.a.b.j.u.a$a reason: collision with other inner class name */ - public interface AbstractC0085a { + public interface AbstractC0084a { T execute(); } - T a(AbstractC0085a aVar); + T a(AbstractC0084a aVar); } diff --git a/app/src/main/java/c/i/a/b/j/v/b.java b/app/src/main/java/c/i/a/b/j/v/b.java index d6cc331a2a..6d6048710a 100644 --- a/app/src/main/java/c/i/a/b/j/v/b.java +++ b/app/src/main/java/c/i/a/b/j/v/b.java @@ -1,13 +1,13 @@ package c.i.a.b.j.v; /* compiled from: TimeModule_EventClockFactory */ -public final class b implements b0.a.a { +public final class b implements c0.a.a { /* compiled from: TimeModule_EventClockFactory */ public static final class a { public static final b a = new b(); } - @Override // b0.a.a + @Override // c0.a.a public Object get() { return new e(); } diff --git a/app/src/main/java/c/i/a/b/j/v/c.java b/app/src/main/java/c/i/a/b/j/v/c.java index 6b40bd6d8e..d0afbccad1 100644 --- a/app/src/main/java/c/i/a/b/j/v/c.java +++ b/app/src/main/java/c/i/a/b/j/v/c.java @@ -1,13 +1,13 @@ package c.i.a.b.j.v; /* compiled from: TimeModule_UptimeClockFactory */ -public final class c implements b0.a.a { +public final class c implements c0.a.a { /* compiled from: TimeModule_UptimeClockFactory */ public static final class a { public static final c a = new c(); } - @Override // b0.a.a + @Override // c0.a.a public Object get() { return new d(); } diff --git a/app/src/main/java/c/i/a/b/j/w/a.java b/app/src/main/java/c/i/a/b/j/w/a.java index d930b28238..9df3771f24 100644 --- a/app/src/main/java/c/i/a/b/j/w/a.java +++ b/app/src/main/java/c/i/a/b/j/w/a.java @@ -34,6 +34,6 @@ public final class a { if (dVar != null) { return dVar; } - throw new IllegalArgumentException(c.d.b.a.a.l("Unknown Priority for value ", i)); + throw new IllegalArgumentException(c.d.b.a.a.p("Unknown Priority for value ", i)); } } diff --git a/app/src/main/java/c/i/a/c/a.java b/app/src/main/java/c/i/a/c/a.java index 5b4d8582d3..065338ace4 100644 --- a/app/src/main/java/c/i/a/c/a.java +++ b/app/src/main/java/c/i/a/c/a.java @@ -1,13 +1,14 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import c.i.a.c.e3.o; +import c.i.b.a.l; +import com.discord.utilities.guilds.GuildConstantsKt; /* compiled from: lambda */ -public final /* synthetic */ class a implements o.a { - public static final /* synthetic */ a a = new a(); +public final /* synthetic */ class a implements l { + public static final /* synthetic */ a i = new a(); - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((g1.a) obj).a(); + @Override // c.i.b.a.l + public final Object get() { + return new z0(new o(true, 65536), 50000, 50000, GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, 5000, -1, false, 0, false); } } diff --git a/app/src/main/java/c/i/a/c/a0.java b/app/src/main/java/c/i/a/c/a0.java index e530191ed1..dbf1259979 100644 --- a/app/src/main/java/c/i/a/c/a0.java +++ b/app/src/main/java/c/i/a/c/a0.java @@ -1,13 +1,28 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.b.a.l; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class a0 implements l { - public static final /* synthetic */ a0 i = new a0(); +public final /* synthetic */ class a0 implements p.a { + public final /* synthetic */ int a; + public final /* synthetic */ y1.f b; - @Override // c.i.b.a.l - public final Object get() { - return new g1.b(); + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ y1.f f648c; + + public /* synthetic */ a0(int i, y1.f fVar, y1.f fVar2) { + this.a = i; + this.b = fVar; + this.f648c = fVar2; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + int i = this.a; + y1.f fVar = this.b; + y1.f fVar2 = this.f648c; + y1.c cVar = (y1.c) obj; + cVar.j(i); + cVar.g(fVar, fVar2, i); } } diff --git a/app/src/main/java/c/i/a/c/a1.java b/app/src/main/java/c/i/a/c/a1.java index 5883b78d9a..9ac6065150 100644 --- a/app/src/main/java/c/i/a/c/a1.java +++ b/app/src/main/java/c/i/a/c/a1.java @@ -1,7 +1,53 @@ package c.i.a.c; -/* compiled from: MediaSourceInfoHolder */ -public interface a1 { - r1 a(); - Object getUid(); +import androidx.annotation.Nullable; +import c.i.a.c.f3.g; +import c.i.a.c.f3.s; +import c.i.a.c.f3.z; +import java.util.Objects; +/* compiled from: DefaultMediaClock */ +public final class a1 implements s { + public final z i; + public final a j; + @Nullable + public f2 k; + @Nullable + public s l; + public boolean m = true; + public boolean n; + + /* compiled from: DefaultMediaClock */ + public interface a { + } + + public a1(a aVar, g gVar) { + this.j = aVar; + this.i = new z(gVar); + } + + @Override // c.i.a.c.f3.s + public x1 c() { + s sVar = this.l; + return sVar != null ? sVar.c() : this.i.m; + } + + @Override // c.i.a.c.f3.s + public long e() { + if (this.m) { + return this.i.e(); + } + s sVar = this.l; + Objects.requireNonNull(sVar); + return sVar.e(); + } + + @Override // c.i.a.c.f3.s + public void i(x1 x1Var) { + s sVar = this.l; + if (sVar != null) { + sVar.i(x1Var); + x1Var = this.l.c(); + } + this.i.i(x1Var); + } } diff --git a/app/src/main/java/c/i/a/c/a2.java b/app/src/main/java/c/i/a/c/a2.java new file mode 100644 index 0000000000..3a8c928575 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a2.java @@ -0,0 +1,89 @@ +package c.i.a.c; + +import androidx.annotation.Nullable; +import c.i.a.c.g3.y; +import c.i.a.c.y1; +import com.google.android.exoplayer2.PlaybackException; +import com.google.android.exoplayer2.metadata.Metadata; +import java.util.List; +/* compiled from: Player */ +public final /* synthetic */ class a2 { + public static void a(y1.e eVar, y1.b bVar) { + } + + /* JADX WARN: Incorrect args count in method signature: (Ljava/util/List;)V */ + public static void b(y1.e eVar, List list) { + } + + public static void c(y1.e eVar, c1 c1Var) { + } + + public static void d(y1.e eVar, int i, boolean z2) { + } + + public static void e(y1.e eVar, y1 y1Var, y1.d dVar) { + } + + public static void f(y1.e eVar, boolean z2) { + } + + public static void g(y1.e eVar, boolean z2) { + } + + public static void h(@Nullable y1.e eVar, o1 o1Var, int i) { + } + + public static void i(y1.e eVar, p1 p1Var) { + } + + public static void j(y1.e eVar, Metadata metadata) { + } + + public static void k(y1.e eVar, boolean z2, int i) { + } + + public static void l(y1.e eVar, x1 x1Var) { + } + + public static void m(y1.e eVar, int i) { + } + + public static void n(y1.e eVar, int i) { + } + + public static void o(y1.e eVar, PlaybackException playbackException) { + } + + public static void p(@Nullable y1.e eVar, PlaybackException playbackException) { + } + + public static void q(y1.e eVar, y1.f fVar, y1.f fVar2, int i) { + } + + public static void r(y1.e eVar) { + } + + public static void s(y1.e eVar, int i) { + } + + public static void t(y1.e eVar, boolean z2) { + } + + public static void u(y1.e eVar, boolean z2) { + } + + public static void v(y1.e eVar, int i, int i2) { + } + + public static void w(y1.e eVar, o2 o2Var, int i) { + } + + public static void x(y1.e eVar, p2 p2Var) { + } + + public static void y(y1.e eVar, y yVar) { + } + + public static void z(y1.e eVar, float f) { + } +} diff --git a/app/src/main/java/c/i/a/c/a2/a.java b/app/src/main/java/c/i/a/c/a2/a.java deleted file mode 100644 index 474b4afeff..0000000000 --- a/app/src/main/java/c/i/a/c/a2/a.java +++ /dev/null @@ -1,220 +0,0 @@ -package c.i.a.c.a2; - -import androidx.annotation.Nullable; -import c.i.a.c.a2.t; -import c.i.a.c.i2.f0; -import com.discord.api.permission.Permission; -import java.io.IOException; -/* compiled from: BinarySearchSeeker */ -public abstract class a { - public final C0086a a; - public final f b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public c f683c; - public final int d; - - /* compiled from: BinarySearchSeeker */ - /* renamed from: c.i.a.c.a2.a$a reason: collision with other inner class name */ - public static class C0086a implements t { - public final d a; - public final long b; - - /* renamed from: c reason: collision with root package name */ - public final long f684c; - public final long d; - public final long e; - public final long f; - public final long g; - - public C0086a(d dVar, long j, long j2, long j3, long j4, long j5, long j6) { - this.a = dVar; - this.b = j; - this.f684c = j2; - this.d = j3; - this.e = j4; - this.f = j5; - this.g = j6; - } - - @Override // c.i.a.c.a2.t - public boolean c() { - return true; - } - - @Override // c.i.a.c.a2.t - public t.a h(long j) { - return new t.a(new u(j, c.a(this.a.a(j), this.f684c, this.d, this.e, this.f, this.g))); - } - - @Override // c.i.a.c.a2.t - public long i() { - return this.b; - } - } - - /* compiled from: BinarySearchSeeker */ - public static final class b implements d { - @Override // c.i.a.c.a2.a.d - public long a(long j) { - return j; - } - } - - /* compiled from: BinarySearchSeeker */ - public static class c { - public final long a; - public final long b; - - /* renamed from: c reason: collision with root package name */ - public final long f685c; - public long d; - public long e; - public long f; - public long g; - public long h; - - public c(long j, long j2, long j3, long j4, long j5, long j6, long j7) { - this.a = j; - this.b = j2; - this.d = j3; - this.e = j4; - this.f = j5; - this.g = j6; - this.f685c = j7; - this.h = a(j2, j3, j4, j5, j6, j7); - } - - public static long a(long j, long j2, long j3, long j4, long j5, long j6) { - if (j4 + 1 >= j5 || j2 + 1 >= j3) { - return j4; - } - long j7 = (long) (((float) (j - j2)) * (((float) (j5 - j4)) / ((float) (j3 - j2)))); - return f0.i(((j7 + j4) - j6) - (j7 / 20), j4, j5 - 1); - } - } - - /* compiled from: BinarySearchSeeker */ - public interface d { - long a(long j); - } - - /* compiled from: BinarySearchSeeker */ - public static final class e { - public static final e a = new e(-3, -9223372036854775807L, -1); - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final long f686c; - public final long d; - - public e(int i, long j, long j2) { - this.b = i; - this.f686c = j; - this.d = j2; - } - - public static e a(long j, long j2) { - return new e(-1, j, j2); - } - - public static e b(long j) { - return new e(0, -9223372036854775807L, j); - } - - public static e c(long j, long j2) { - return new e(-2, j, j2); - } - } - - /* compiled from: BinarySearchSeeker */ - public interface f { - void a(); - - e b(i iVar, long j) throws IOException; - } - - public a(d dVar, f fVar, long j, long j2, long j3, long j4, long j5, long j6, int i) { - this.b = fVar; - this.d = i; - this.a = new C0086a(dVar, j, j2, j3, j4, j5, j6); - } - - public int a(i iVar, s sVar) throws IOException { - while (true) { - c cVar = this.f683c; - c.c.a.a0.d.H(cVar); - long j = cVar.f; - long j2 = cVar.g; - long j3 = cVar.h; - if (j2 - j <= ((long) this.d)) { - c(false, j); - return d(iVar, j, sVar); - } else if (!f(iVar, j3)) { - return d(iVar, j3, sVar); - } else { - iVar.k(); - e b2 = this.b.b(iVar, cVar.b); - int i = b2.b; - if (i == -3) { - c(false, j3); - return d(iVar, j3, sVar); - } else if (i == -2) { - long j4 = b2.f686c; - long j5 = b2.d; - cVar.d = j4; - cVar.f = j5; - cVar.h = c.a(cVar.b, j4, cVar.e, j5, cVar.g, cVar.f685c); - } else if (i == -1) { - long j6 = b2.f686c; - long j7 = b2.d; - cVar.e = j6; - cVar.g = j7; - cVar.h = c.a(cVar.b, cVar.d, j6, cVar.f, j7, cVar.f685c); - } else if (i == 0) { - f(iVar, b2.d); - c(true, b2.d); - return d(iVar, b2.d, sVar); - } else { - throw new IllegalStateException("Invalid case"); - } - } - } - } - - public final boolean b() { - return this.f683c != null; - } - - public final void c(boolean z2, long j) { - this.f683c = null; - this.b.a(); - } - - public final int d(i iVar, long j, s sVar) { - if (j == iVar.getPosition()) { - return 0; - } - sVar.a = j; - return 1; - } - - public final void e(long j) { - c cVar = this.f683c; - if (cVar == null || cVar.a != j) { - long a = this.a.a.a(j); - C0086a aVar = this.a; - this.f683c = new c(j, a, aVar.f684c, aVar.d, aVar.e, aVar.f, aVar.g); - } - } - - public final boolean f(i iVar, long j) throws IOException { - long position = j - iVar.getPosition(); - if (position < 0 || position > Permission.USE_EXTERNAL_EMOJIS) { - return false; - } - iVar.l((int) position); - return true; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/a0.java b/app/src/main/java/c/i/a/c/a2/a0.java deleted file mode 100644 index b93e7549c5..0000000000 --- a/app/src/main/java/c/i/a/c/a2/a0.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.a2; -/* compiled from: VorbisUtil */ -public final class a0 { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f687c; - public final int d; - public final int e; - public final int f; - public final byte[] g; - - public a0(int i, int i2, int i3, int i4, int i5, int i6, int i7, int i8, boolean z2, byte[] bArr) { - this.a = i2; - this.b = i3; - this.f687c = i4; - this.d = i5; - this.e = i7; - this.f = i8; - this.g = bArr; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/b.java b/app/src/main/java/c/i/a/c/a2/b.java deleted file mode 100644 index 868816b24a..0000000000 --- a/app/src/main/java/c/i/a/c/a2/b.java +++ /dev/null @@ -1,8 +0,0 @@ -package c.i.a.c.a2; - -import c.i.a.c.a2.a; -/* compiled from: BinarySearchSeeker */ -public final /* synthetic */ class b { - public static void a(a.f fVar) { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/b0/a.java b/app/src/main/java/c/i/a/c/a2/b0/a.java deleted file mode 100644 index af85965ed7..0000000000 --- a/app/src/main/java/c/i/a/c/a2/b0/a.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.b0; - -import android.net.Uri; -import c.i.a.c.a2.h; -import c.i.a.c.a2.k; -import c.i.a.c.a2.l; -import java.util.Map; -/* compiled from: lambda */ -public final /* synthetic */ class a implements l { - public static final /* synthetic */ a a = new a(); - - @Override // c.i.a.c.a2.l - public final h[] a() { - return new h[]{new b()}; - } - - @Override // c.i.a.c.a2.l - public /* synthetic */ h[] b(Uri uri, Map map) { - return k.a(this, uri, map); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/b0/b.java b/app/src/main/java/c/i/a/c/a2/b0/b.java deleted file mode 100644 index e3f6e83b77..0000000000 --- a/app/src/main/java/c/i/a/c/a2/b0/b.java +++ /dev/null @@ -1,196 +0,0 @@ -package c.i.a.c.a2.b0; - -import c.c.a.a0.d; -import c.d.b.a.a; -import c.i.a.c.a2.h; -import c.i.a.c.a2.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.s; -import c.i.a.c.a2.t; -import c.i.a.c.a2.w; -import c.i.a.c.i2.f0; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import java.io.EOFException; -import java.io.IOException; -import java.util.Arrays; -/* compiled from: AmrExtractor */ -public final class b implements h { - public static final int[] a = {13, 14, 16, 18, 20, 21, 27, 32, 6, 7, 6, 6, 1, 1, 1, 1}; - public static final int[] b; - - /* renamed from: c reason: collision with root package name */ - public static final byte[] f688c = f0.w("#!AMR\n"); - public static final byte[] d = f0.w("#!AMR-WB\n"); - public static final int e; - public final byte[] f; - public boolean g; - public long h; - public int i; - public int j; - public boolean k; - public long l; - public int m; - public int n; - public long o; - public j p; - public w q; - - /* renamed from: r reason: collision with root package name */ - public t f689r; - public boolean s; - - static { - a aVar = a.a; - int[] iArr = {18, 24, 33, 37, 41, 47, 51, 59, 61, 6, 1, 1, 1, 1, 1, 1}; - b = iArr; - e = iArr[8]; - } - - public b() { - this.f = new byte[1]; - this.m = -1; - } - - public b(int i) { - this.f = new byte[1]; - this.m = -1; - } - - /* JADX WARNING: Code restructure failed: missing block: B:21:0x0039, code lost: - if ((!r0 && (r4 < 12 || r4 > 14)) != false) goto L_0x003b; - */ - public final int a(i iVar) throws IOException { - iVar.k(); - boolean z2 = false; - iVar.n(this.f, 0, 1); - byte b2 = this.f[0]; - if ((b2 & 131) <= 0) { - int i = (b2 >> 3) & 15; - if (i >= 0 && i <= 15) { - boolean z3 = this.g; - if (!(z3 && (i < 10 || i > 13))) { - } - z2 = true; - } - if (z2) { - return this.g ? b[i] : a[i]; - } - StringBuilder O = a.O("Illegal AMR "); - O.append(this.g ? "WB" : "NB"); - O.append(" frame type "); - O.append(i); - throw new ParserException(O.toString()); - } - throw new ParserException(a.l("Invalid padding bits for frame header ", b2)); - } - - @Override // c.i.a.c.a2.h - public boolean b(i iVar) throws IOException { - return c(iVar); - } - - public final boolean c(i iVar) throws IOException { - byte[] bArr = f688c; - iVar.k(); - byte[] bArr2 = new byte[bArr.length]; - iVar.n(bArr2, 0, bArr.length); - if (Arrays.equals(bArr2, bArr)) { - this.g = false; - iVar.l(bArr.length); - return true; - } - byte[] bArr3 = d; - iVar.k(); - byte[] bArr4 = new byte[bArr3.length]; - iVar.n(bArr4, 0, bArr3.length); - if (!Arrays.equals(bArr4, bArr3)) { - return false; - } - this.g = true; - iVar.l(bArr3.length); - return true; - } - - @Override // c.i.a.c.a2.h - public int e(i iVar, s sVar) throws IOException { - d.H(this.q); - if (iVar.getPosition() != 0 || c(iVar)) { - if (!this.s) { - this.s = true; - boolean z2 = this.g; - String str = z2 ? "audio/amr-wb" : "audio/3gpp"; - int i = z2 ? 16000 : 8000; - w wVar = this.q; - Format.b bVar = new Format.b(); - bVar.k = str; - bVar.l = e; - bVar.f2702x = 1; - bVar.f2703y = i; - wVar.e(bVar.a()); - } - int i2 = -1; - if (this.j == 0) { - try { - int a2 = a(iVar); - this.i = a2; - this.j = a2; - if (this.m == -1) { - this.l = iVar.getPosition(); - this.m = this.i; - } - if (this.m == this.i) { - this.n++; - } - } catch (EOFException unused) { - } - } - int b2 = this.q.b(iVar, this.j, true); - if (b2 != -1) { - int i3 = this.j - b2; - this.j = i3; - if (i3 <= 0) { - this.q.d(this.o + this.h, 1, this.i, 0, null); - this.h += 20000; - } - i2 = 0; - } - iVar.b(); - if (!this.k) { - t.b bVar2 = new t.b(-9223372036854775807L, 0); - this.f689r = bVar2; - this.p.a(bVar2); - this.k = true; - } - return i2; - } - throw new ParserException("Could not find AMR header."); - } - - @Override // c.i.a.c.a2.h - public void f(j jVar) { - this.p = jVar; - this.q = jVar.p(0, 1); - jVar.j(); - } - - @Override // c.i.a.c.a2.h - public void g(long j, long j2) { - this.h = 0; - this.i = 0; - this.j = 0; - if (j != 0) { - t tVar = this.f689r; - if (tVar instanceof c.i.a.c.a2.d) { - c.i.a.c.a2.d dVar = (c.i.a.c.a2.d) tVar; - this.o = c.i.a.c.a2.d.e(j, dVar.b, dVar.e); - return; - } - } - this.o = 0; - } - - @Override // c.i.a.c.a2.h - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/c.java b/app/src/main/java/c/i/a/c/a2/c.java deleted file mode 100644 index 167514fe59..0000000000 --- a/app/src/main/java/c/i/a/c/a2/c.java +++ /dev/null @@ -1,70 +0,0 @@ -package c.i.a.c.a2; - -import c.d.b.a.a; -import c.i.a.c.a2.t; -import c.i.a.c.i2.f0; -import java.util.Arrays; -/* compiled from: ChunkIndex */ -public final class c implements t { - public final int a; - public final int[] b; - - /* renamed from: c reason: collision with root package name */ - public final long[] f690c; - public final long[] d; - public final long[] e; - public final long f; - - public c(int[] iArr, long[] jArr, long[] jArr2, long[] jArr3) { - this.b = iArr; - this.f690c = jArr; - this.d = jArr2; - this.e = jArr3; - int length = iArr.length; - this.a = length; - if (length > 0) { - this.f = jArr2[length - 1] + jArr3[length - 1]; - } else { - this.f = 0; - } - } - - @Override // c.i.a.c.a2.t - public boolean c() { - return true; - } - - @Override // c.i.a.c.a2.t - public t.a h(long j) { - int e = f0.e(this.e, j, true, true); - long[] jArr = this.e; - long j2 = jArr[e]; - long[] jArr2 = this.f690c; - u uVar = new u(j2, jArr2[e]); - if (j2 >= j || e == this.a - 1) { - return new t.a(uVar); - } - int i = e + 1; - return new t.a(uVar, new u(jArr[i], jArr2[i])); - } - - @Override // c.i.a.c.a2.t - public long i() { - return this.f; - } - - public String toString() { - StringBuilder O = a.O("ChunkIndex(length="); - O.append(this.a); - O.append(", sizes="); - O.append(Arrays.toString(this.b)); - O.append(", offsets="); - O.append(Arrays.toString(this.f690c)); - O.append(", timeUs="); - O.append(Arrays.toString(this.e)); - O.append(", durationsUs="); - O.append(Arrays.toString(this.d)); - O.append(")"); - return O.toString(); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/c0/a.java b/app/src/main/java/c/i/a/c/a2/c0/a.java deleted file mode 100644 index e5f7501328..0000000000 --- a/app/src/main/java/c/i/a/c/a2/c0/a.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.c0; - -import android.net.Uri; -import c.i.a.c.a2.h; -import c.i.a.c.a2.k; -import c.i.a.c.a2.l; -import java.util.Map; -/* compiled from: lambda */ -public final /* synthetic */ class a implements l { - public static final /* synthetic */ a a = new a(); - - @Override // c.i.a.c.a2.l - public final h[] a() { - return new h[]{new d(0)}; - } - - @Override // c.i.a.c.a2.l - public /* synthetic */ h[] b(Uri uri, Map map) { - return k.a(this, uri, map); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/c0/b.java b/app/src/main/java/c/i/a/c/a2/c0/b.java deleted file mode 100644 index 3cf931c0c1..0000000000 --- a/app/src/main/java/c/i/a/c/a2/c0/b.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.a2.c0; - -import c.i.a.c.a2.a; -import c.i.a.c.a2.o; -/* compiled from: lambda */ -public final /* synthetic */ class b implements a.d { - public final /* synthetic */ o a; - - public /* synthetic */ b(o oVar) { - this.a = oVar; - } - - @Override // c.i.a.c.a2.a.d - public final long a(long j) { - return this.a.g(j); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/c0/c.java b/app/src/main/java/c/i/a/c/a2/c0/c.java deleted file mode 100644 index 454e70a807..0000000000 --- a/app/src/main/java/c/i/a/c/a2/c0/c.java +++ /dev/null @@ -1,96 +0,0 @@ -package c.i.a.c.a2.c0; - -import c.c.a.a0.d; -import c.i.a.c.a2.a; -import c.i.a.c.a2.i; -import c.i.a.c.a2.m; -import c.i.a.c.a2.o; -import c.i.a.c.i2.w; -import com.discord.api.permission.Permission; -import java.io.IOException; -import java.util.Objects; -/* compiled from: FlacBinarySearchSeeker */ -public final class c extends c.i.a.c.a2.a { - - /* compiled from: FlacBinarySearchSeeker */ - public static final class b implements a.f { - public final o a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final m.a f691c = new m.a(); - - public b(o oVar, int i, a aVar) { - this.a = oVar; - this.b = i; - } - - @Override // c.i.a.c.a2.a.f - public /* synthetic */ void a() { - c.i.a.c.a2.b.a(this); - } - - @Override // c.i.a.c.a2.a.f - public a.e b(i iVar, long j) throws IOException { - long position = iVar.getPosition(); - long c2 = c(iVar); - long f = iVar.f(); - iVar.g(Math.max(6, this.a.f804c)); - long c3 = c(iVar); - return (c2 > j || c3 <= j) ? c3 <= j ? a.e.c(c3, iVar.f()) : a.e.a(c2, position) : a.e.b(f); - } - - public final long c(i iVar) throws IOException { - while (iVar.f() < iVar.b() - 6) { - o oVar = this.a; - int i = this.b; - m.a aVar = this.f691c; - long f = iVar.f(); - byte[] bArr = new byte[2]; - boolean z2 = false; - iVar.n(bArr, 0, 2); - if ((((bArr[0] & 255) << 8) | (bArr[1] & 255)) != i) { - iVar.k(); - iVar.g((int) (f - iVar.getPosition())); - } else { - w wVar = new w(16); - System.arraycopy(bArr, 0, wVar.a, 0, 2); - wVar.C(d.z1(iVar, wVar.a, 2, 14)); - iVar.k(); - iVar.g((int) (f - iVar.getPosition())); - z2 = m.b(wVar, oVar, i, aVar); - } - if (z2) { - break; - } - iVar.g(1); - } - if (iVar.f() < iVar.b() - 6) { - return this.f691c.a; - } - iVar.g((int) (iVar.b() - iVar.f())); - return this.a.j; - } - } - - /* JADX WARNING: Illegal instructions before constructor call */ - public c(o oVar, int i, long j, long j2) { - super(r1, r2, r3, 0, r7, j, j2, r5 + r9, Math.max(6, oVar.f804c)); - long j3; - long j4; - Objects.requireNonNull(oVar); - b bVar = new b(oVar); - b bVar2 = new b(oVar, i, null); - long d = oVar.d(); - long j5 = oVar.j; - int i2 = oVar.d; - if (i2 > 0) { - j4 = (((long) i2) + ((long) oVar.f804c)) / 2; - j3 = 1; - } else { - int i3 = oVar.a; - j4 = ((((i3 != oVar.b || i3 <= 0) ? Permission.SEND_TTS_MESSAGES : (long) i3) * ((long) oVar.g)) * ((long) oVar.h)) / 8; - j3 = 64; - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/c0/d.java b/app/src/main/java/c/i/a/c/a2/c0/d.java deleted file mode 100644 index d6d0e5dc83..0000000000 --- a/app/src/main/java/c/i/a/c/a2/c0/d.java +++ /dev/null @@ -1,385 +0,0 @@ -package c.i.a.c.a2.c0; - -import androidx.annotation.Nullable; -import c.i.a.c.a2.h; -import c.i.a.c.a2.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.m; -import c.i.a.c.a2.n; -import c.i.a.c.a2.o; -import c.i.a.c.a2.s; -import c.i.a.c.a2.t; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import c.i.b.a.c; -import com.google.android.exoplayer2.ParserException; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.metadata.flac.PictureFrame; -import java.io.IOException; -import java.util.Arrays; -import java.util.Collections; -import java.util.Objects; -/* compiled from: FlacExtractor */ -public final class d implements h { - public final byte[] a = new byte[42]; - public final w b = new w(new byte[32768], 0); - - /* renamed from: c reason: collision with root package name */ - public final boolean f692c; - public final m.a d; - public j e; - public c.i.a.c.a2.w f; - public int g; - @Nullable - public Metadata h; - public o i; - public int j; - public int k; - public c l; - public int m; - public long n; - - static { - a aVar = a.a; - } - - public d(int i) { - this.f692c = (i & 1) == 0 ? false : true; - this.d = new m.a(); - this.g = 0; - } - - public final void a() { - o oVar = this.i; - int i = f0.a; - this.f.d((this.n * 1000000) / ((long) oVar.e), 1, this.m, 0, null); - } - - @Override // c.i.a.c.a2.h - public boolean b(i iVar) throws IOException { - c.c.a.a0.d.y1(iVar, false); - byte[] bArr = new byte[4]; - iVar.n(bArr, 0, 4); - return (((((((long) bArr[0]) & 255) << 24) | ((((long) bArr[1]) & 255) << 16)) | ((((long) bArr[2]) & 255) << 8)) | (255 & ((long) bArr[3]))) == 1716281667; - } - - /* JADX DEBUG: Multi-variable search result rejected for r26v0, resolved type: c.i.a.c.a2.i */ - /* JADX DEBUG: Multi-variable search result rejected for r6v26, resolved type: boolean */ - /* JADX WARN: Multi-variable type inference failed */ - /* JADX WARNING: Unknown variable types count: 1 */ - @Override // c.i.a.c.a2.h - public int e(i iVar, s sVar) throws IOException { - boolean z2; - o oVar; - t tVar; - long j; - boolean z3; - int i = this.g; - boolean z4 = true; - ?? r4 = 0; - if (i == 0) { - iVar.k(); - long f = iVar.f(); - Metadata y1 = c.c.a.a0.d.y1(iVar, !this.f692c); - iVar.l((int) (iVar.f() - f)); - this.h = y1; - this.g = 1; - return 0; - } else if (i != 1) { - int i2 = 24; - int i3 = 4; - int i4 = 3; - if (i != 2) { - int i5 = 7; - if (i != 3) { - long j2 = 0; - if (i == 4) { - iVar.k(); - byte[] bArr = new byte[2]; - iVar.n(bArr, 0, 2); - int i6 = (bArr[1] & 255) | ((bArr[0] & 255) << 8); - if ((i6 >> 2) == 16382) { - iVar.k(); - this.k = i6; - j jVar = this.e; - int i7 = f0.a; - long position = iVar.getPosition(); - long b = iVar.b(); - Objects.requireNonNull(this.i); - o oVar2 = this.i; - if (oVar2.k != null) { - tVar = new n(oVar2, position); - } else if (b == -1 || oVar2.j <= 0) { - tVar = new t.b(oVar2.d(), 0); - } else { - c cVar = new c(oVar2, this.k, position, b); - this.l = cVar; - tVar = cVar.a; - } - jVar.a(tVar); - this.g = 5; - return 0; - } - iVar.k(); - throw new ParserException("First frame does not start with sync code."); - } else if (i == 5) { - Objects.requireNonNull(this.f); - Objects.requireNonNull(this.i); - c cVar2 = this.l; - if (cVar2 != null && cVar2.b()) { - return this.l.a(iVar, sVar); - } - if (this.n == -1) { - o oVar3 = this.i; - iVar.k(); - iVar.g(1); - byte[] bArr2 = new byte[1]; - iVar.n(bArr2, 0, 1); - boolean z5 = (bArr2[0] & 1) == 1; - iVar.g(2); - if (!z5) { - i5 = 6; - } - w wVar = new w(i5); - wVar.C(c.c.a.a0.d.z1(iVar, wVar.a, 0, i5)); - iVar.k(); - try { - long y2 = wVar.y(); - if (!z5) { - y2 *= (long) oVar3.b; - } - j2 = y2; - } catch (NumberFormatException unused) { - z4 = false; - } - if (z4) { - this.n = j2; - return 0; - } - throw new ParserException(); - } - w wVar2 = this.b; - int i8 = wVar2.f974c; - if (i8 < 32768) { - int read = iVar.read(wVar2.a, i8, 32768 - i8); - if (read != -1) { - z4 = false; - } - if (!z4) { - this.b.C(i8 + read); - } else if (this.b.a() == 0) { - a(); - return -1; - } - } else { - z4 = false; - } - w wVar3 = this.b; - int i9 = wVar3.b; - int i10 = this.m; - int i11 = this.j; - if (i10 < i11) { - wVar3.E(Math.min(i11 - i10, wVar3.a())); - } - w wVar4 = this.b; - Objects.requireNonNull(this.i); - int i12 = wVar4.b; - while (true) { - if (i12 <= wVar4.f974c - 16) { - wVar4.D(i12); - if (m.b(wVar4, this.i, this.k, this.d)) { - wVar4.D(i12); - j = this.d.a; - break; - } - i12++; - } else { - if (z4) { - while (true) { - int i13 = wVar4.f974c; - if (i12 > i13 - this.j) { - wVar4.D(i13); - break; - } - wVar4.D(i12); - try { - z3 = m.b(wVar4, this.i, this.k, this.d); - } catch (IndexOutOfBoundsException unused2) { - z3 = false; - } - if (wVar4.b > wVar4.f974c) { - z3 = false; - } - if (z3) { - wVar4.D(i12); - j = this.d.a; - break; - } - i12++; - } - } else { - wVar4.D(i12); - } - j = -1; - } - } - w wVar5 = this.b; - int i14 = wVar5.b - i9; - wVar5.D(i9); - this.f.c(this.b, i14); - this.m += i14; - if (j != -1) { - a(); - this.m = 0; - this.n = j; - } - if (this.b.a() >= 16) { - return 0; - } - int a = this.b.a(); - w wVar6 = this.b; - byte[] bArr3 = wVar6.a; - System.arraycopy(bArr3, wVar6.b, bArr3, 0, a); - this.b.D(0); - this.b.C(a); - return 0; - } else { - throw new IllegalStateException(); - } - } else { - o oVar4 = this.i; - boolean z6 = false; - while (!z6) { - iVar.k(); - v vVar = new v(new byte[i3]); - byte[] bArr4 = vVar.a; - int i15 = r4 == true ? 1 : 0; - int i16 = r4 == true ? 1 : 0; - int i17 = r4 == true ? 1 : 0; - iVar.n(bArr4, i15, i3); - boolean f2 = vVar.f(); - int g = vVar.g(i5); - int g2 = vVar.g(i2) + i3; - if (g == 0) { - byte[] bArr5 = new byte[38]; - iVar.readFully(bArr5, r4, 38); - oVar4 = new o(bArr5, i3); - } else if (oVar4 == null) { - throw new IllegalArgumentException(); - } else if (g == i4) { - w wVar7 = new w(g2); - iVar.readFully(wVar7.a, r4, g2); - oVar4 = oVar4.b(c.c.a.a0.d.L1(wVar7)); - } else { - if (g == i3) { - w wVar8 = new w(g2); - iVar.readFully(wVar8.a, r4, g2); - wVar8.E(i3); - oVar = new o(oVar4.a, oVar4.b, oVar4.f804c, oVar4.d, oVar4.e, oVar4.g, oVar4.h, oVar4.j, oVar4.k, oVar4.f(o.a(Arrays.asList(c.c.a.a0.d.N1(wVar8, r4, r4).a), Collections.emptyList()))); - z2 = f2; - } else if (g == 6) { - w wVar9 = new w(g2); - iVar.readFully(wVar9.a, r4, g2); - wVar9.E(4); - int f3 = wVar9.f(); - String q = wVar9.q(wVar9.f(), c.a); - String p = wVar9.p(wVar9.f()); - int f4 = wVar9.f(); - int f5 = wVar9.f(); - int f6 = wVar9.f(); - int f7 = wVar9.f(); - int f8 = wVar9.f(); - byte[] bArr6 = new byte[f8]; - System.arraycopy(wVar9.a, wVar9.b, bArr6, r4, f8); - wVar9.b += f8; - z2 = f2; - oVar = new o(oVar4.a, oVar4.b, oVar4.f804c, oVar4.d, oVar4.e, oVar4.g, oVar4.h, oVar4.j, oVar4.k, oVar4.f(o.a(Collections.emptyList(), Collections.singletonList(new PictureFrame(f3, q, p, f4, f5, f6, f7, bArr6))))); - } else { - z2 = f2; - iVar.l(g2); - int i18 = f0.a; - this.i = oVar4; - z6 = z2; - r4 = 0; - i2 = 24; - i3 = 4; - i4 = 3; - i5 = 7; - } - oVar4 = oVar; - int i18 = f0.a; - this.i = oVar4; - z6 = z2; - r4 = 0; - i2 = 24; - i3 = 4; - i4 = 3; - i5 = 7; - } - z2 = f2; - int i18 = f0.a; - this.i = oVar4; - z6 = z2; - r4 = 0; - i2 = 24; - i3 = 4; - i4 = 3; - i5 = 7; - } - Objects.requireNonNull(this.i); - this.j = Math.max(this.i.f804c, 6); - c.i.a.c.a2.w wVar10 = this.f; - int i19 = f0.a; - wVar10.e(this.i.e(this.a, this.h)); - this.g = 4; - return 0; - } - } else { - byte[] bArr7 = new byte[4]; - iVar.readFully(bArr7, 0, 4); - if ((((((long) bArr7[0]) & 255) << 24) | ((((long) bArr7[1]) & 255) << 16) | ((((long) bArr7[2]) & 255) << 8) | (((long) bArr7[3]) & 255)) == 1716281667) { - this.g = 3; - return 0; - } - throw new ParserException("Failed to read FLAC stream marker."); - } - } else { - byte[] bArr8 = this.a; - iVar.n(bArr8, 0, bArr8.length); - iVar.k(); - this.g = 2; - return 0; - } - } - - @Override // c.i.a.c.a2.h - public void f(j jVar) { - this.e = jVar; - this.f = jVar.p(0, 1); - jVar.j(); - } - - @Override // c.i.a.c.a2.h - public void g(long j, long j2) { - long j3 = 0; - if (j == 0) { - this.g = 0; - } else { - c cVar = this.l; - if (cVar != null) { - cVar.e(j2); - } - } - if (j2 != 0) { - j3 = -1; - } - this.n = j3; - this.m = 0; - this.b.z(0); - } - - @Override // c.i.a.c.a2.h - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/d.java b/app/src/main/java/c/i/a/c/a2/d.java deleted file mode 100644 index 7367f913fd..0000000000 --- a/app/src/main/java/c/i/a/c/a2/d.java +++ /dev/null @@ -1,67 +0,0 @@ -package c.i.a.c.a2; - -import c.i.a.c.a2.t; -import c.i.a.c.i2.f0; -/* compiled from: ConstantBitrateSeekMap */ -public class d implements t { - public final long a; - public final long b; - - /* renamed from: c reason: collision with root package name */ - public final int f693c; - public final long d; - public final int e; - public final long f; - - public d(long j, long j2, int i, int i2) { - this.a = j; - this.b = j2; - this.f693c = i2 == -1 ? 1 : i2; - this.e = i; - if (j == -1) { - this.d = -1; - this.f = -9223372036854775807L; - return; - } - this.d = j - j2; - this.f = e(j, j2, i); - } - - public static long e(long j, long j2, int i) { - return ((Math.max(0L, j - j2) * 8) * 1000000) / ((long) i); - } - - public long b(long j) { - return e(j, this.b, this.e); - } - - @Override // c.i.a.c.a2.t - public boolean c() { - return this.d != -1; - } - - @Override // c.i.a.c.a2.t - public t.a h(long j) { - long j2 = this.d; - if (j2 == -1) { - return new t.a(new u(0, this.b)); - } - long j3 = (long) this.f693c; - long i = this.b + f0.i((((((long) this.e) * j) / 8000000) / j3) * j3, 0, j2 - j3); - long b = b(i); - u uVar = new u(b, i); - if (b < j) { - int i2 = this.f693c; - if (((long) i2) + i < this.a) { - long j4 = i + ((long) i2); - return new t.a(uVar, new u(b(j4), j4)); - } - } - return new t.a(uVar); - } - - @Override // c.i.a.c.a2.t - public long i() { - return this.f; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/d0/a.java b/app/src/main/java/c/i/a/c/a2/d0/a.java deleted file mode 100644 index 4fee6eb7cf..0000000000 --- a/app/src/main/java/c/i/a/c/a2/d0/a.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.d0; - -import android.net.Uri; -import c.i.a.c.a2.h; -import c.i.a.c.a2.k; -import c.i.a.c.a2.l; -import java.util.Map; -/* compiled from: lambda */ -public final /* synthetic */ class a implements l { - public static final /* synthetic */ a a = new a(); - - @Override // c.i.a.c.a2.l - public final h[] a() { - return new h[]{new c()}; - } - - @Override // c.i.a.c.a2.l - public /* synthetic */ h[] b(Uri uri, Map map) { - return k.a(this, uri, map); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/d0/b.java b/app/src/main/java/c/i/a/c/a2/d0/b.java deleted file mode 100644 index faeb0b3fc5..0000000000 --- a/app/src/main/java/c/i/a/c/a2/d0/b.java +++ /dev/null @@ -1,91 +0,0 @@ -package c.i.a.c.a2.d0; - -import c.d.b.a.a; -import c.i.a.c.a2.w; -import c.i.a.c.i2.v; -import c.i.a.c.v1.k; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import com.google.android.exoplayer2.extractor.flv.TagPayloadReader; -import java.util.Collections; -/* compiled from: AudioTagPayloadReader */ -public final class b extends TagPayloadReader { - public static final int[] b = {5512, 11025, 22050, 44100}; - - /* renamed from: c reason: collision with root package name */ - public boolean f694c; - public boolean d; - public int e; - - public b(w wVar) { - super(wVar); - } - - @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader - public boolean b(c.i.a.c.i2.w wVar) throws TagPayloadReader.UnsupportedFormatException { - if (!this.f694c) { - int s = wVar.s(); - int i = (s >> 4) & 15; - this.e = i; - if (i == 2) { - int i2 = b[(s >> 2) & 3]; - Format.b bVar = new Format.b(); - bVar.k = "audio/mpeg"; - bVar.f2702x = 1; - bVar.f2703y = i2; - this.a.e(bVar.a()); - this.d = true; - } else if (i == 7 || i == 8) { - String str = i == 7 ? "audio/g711-alaw" : "audio/g711-mlaw"; - Format.b bVar2 = new Format.b(); - bVar2.k = str; - bVar2.f2702x = 1; - bVar2.f2703y = 8000; - this.a.e(bVar2.a()); - this.d = true; - } else if (i != 10) { - StringBuilder O = a.O("Audio format not supported: "); - O.append(this.e); - throw new TagPayloadReader.UnsupportedFormatException(O.toString()); - } - this.f694c = true; - } else { - wVar.E(1); - } - return true; - } - - @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader - public boolean c(c.i.a.c.i2.w wVar, long j) throws ParserException { - if (this.e == 2) { - int a = wVar.a(); - this.a.c(wVar, a); - this.a.d(j, 1, a, 0, null); - return true; - } - int s = wVar.s(); - if (s == 0 && !this.d) { - int a2 = wVar.a(); - byte[] bArr = new byte[a2]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, a2); - wVar.b += a2; - k.b c2 = k.c(new v(bArr), false); - Format.b bVar = new Format.b(); - bVar.k = "audio/mp4a-latm"; - bVar.h = c2.f1057c; - bVar.f2702x = c2.b; - bVar.f2703y = c2.a; - bVar.m = Collections.singletonList(bArr); - this.a.e(bVar.a()); - this.d = true; - return false; - } else if (this.e == 10 && s != 1) { - return false; - } else { - int a3 = wVar.a(); - this.a.c(wVar, a3); - this.a.d(j, 1, a3, 0, null); - return true; - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/d0/c.java b/app/src/main/java/c/i/a/c/a2/d0/c.java deleted file mode 100644 index 75cd98ab74..0000000000 --- a/app/src/main/java/c/i/a/c/a2/d0/c.java +++ /dev/null @@ -1,200 +0,0 @@ -package c.i.a.c.a2.d0; - -import c.c.a.a0.d; -import c.i.a.c.a2.h; -import c.i.a.c.a2.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.r; -import c.i.a.c.a2.s; -import c.i.a.c.a2.t; -import c.i.a.c.i2.w; -import java.io.IOException; -import org.checkerframework.checker.nullness.qual.RequiresNonNull; -/* compiled from: FlvExtractor */ -public final class c implements h { - public final w a = new w(4); - public final w b = new w(9); - - /* renamed from: c reason: collision with root package name */ - public final w f695c = new w(11); - public final w d = new w(); - public final d e = new d(); - public j f; - public int g = 1; - public boolean h; - public long i; - public int j; - public int k; - public int l; - public long m; - public boolean n; - public b o; - public e p; - - static { - a aVar = a.a; - } - - @RequiresNonNull({"extractorOutput"}) - public final void a() { - if (!this.n) { - this.f.a(new t.b(-9223372036854775807L, 0)); - this.n = true; - } - } - - @Override // c.i.a.c.a2.h - public boolean b(i iVar) throws IOException { - iVar.n(this.a.a, 0, 3); - this.a.D(0); - if (this.a.u() != 4607062) { - return false; - } - iVar.n(this.a.a, 0, 2); - this.a.D(0); - if ((this.a.x() & 250) != 0) { - return false; - } - iVar.n(this.a.a, 0, 4); - this.a.D(0); - int f = this.a.f(); - iVar.k(); - iVar.g(f); - iVar.n(this.a.a, 0, 4); - this.a.D(0); - return this.a.f() == 0; - } - - public final w c(i iVar) throws IOException { - int i = this.l; - w wVar = this.d; - byte[] bArr = wVar.a; - if (i > bArr.length) { - wVar.a = new byte[Math.max(bArr.length * 2, i)]; - wVar.f974c = 0; - wVar.b = 0; - } else { - wVar.D(0); - } - this.d.C(this.l); - iVar.readFully(this.d.a, 0, this.l); - return this.d; - } - - /* JADX WARNING: Removed duplicated region for block: B:37:0x00a6 */ - /* JADX WARNING: Removed duplicated region for block: B:38:0x00aa */ - /* JADX WARNING: Removed duplicated region for block: B:75:0x00b4 A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:82:0x0009 A[SYNTHETIC] */ - @Override // c.i.a.c.a2.h - public int e(i iVar, s sVar) throws IOException { - boolean z2; - boolean z3; - d.H(this.f); - while (true) { - int i = this.g; - boolean z4 = false; - if (i == 1) { - if (iVar.c(this.b.a, 0, 9, true)) { - this.b.D(0); - this.b.E(4); - int s = this.b.s(); - boolean z5 = (s & 4) != 0; - if ((s & 1) != 0) { - z4 = true; - } - if (z5 && this.o == null) { - this.o = new b(this.f.p(8, 1)); - } - if (z4 && this.p == null) { - this.p = new e(this.f.p(9, 2)); - } - this.f.j(); - this.j = (this.b.f() - 9) + 4; - this.g = 2; - z4 = true; - } - if (!z4) { - return -1; - } - } else if (i == 2) { - iVar.l(this.j); - this.j = 0; - this.g = 3; - } else if (i == 3) { - if (iVar.c(this.f695c.a, 0, 11, true)) { - this.f695c.D(0); - this.k = this.f695c.s(); - this.l = this.f695c.u(); - this.m = (long) this.f695c.u(); - this.m = (((long) (this.f695c.s() << 24)) | this.m) * 1000; - this.f695c.E(3); - this.g = 4; - z4 = true; - } - if (!z4) { - return -1; - } - } else if (i == 4) { - long j = this.h ? this.i + this.m : this.e.b == -9223372036854775807L ? 0 : this.m; - int i2 = this.k; - if (i2 == 8 && this.o != null) { - a(); - z3 = this.o.a(c(iVar), j); - } else if (i2 == 9 && this.p != null) { - a(); - z3 = this.p.a(c(iVar), j); - } else if (i2 != 18 || this.n) { - iVar.l(this.l); - z3 = false; - z2 = false; - if (!this.h && z3) { - this.h = true; - this.i = this.e.b != -9223372036854775807L ? -this.m : 0; - } - this.j = 4; - this.g = 2; - if (!z2) { - return 0; - } - } else { - z3 = this.e.a(c(iVar), j); - d dVar = this.e; - long j2 = dVar.b; - if (j2 != -9223372036854775807L) { - this.f.a(new r(dVar.d, dVar.f696c, j2)); - this.n = true; - } - } - z2 = true; - this.h = true; - this.i = this.e.b != -9223372036854775807L ? -this.m : 0; - this.j = 4; - this.g = 2; - if (!z2) { - } - } else { - throw new IllegalStateException(); - } - } - } - - @Override // c.i.a.c.a2.h - public void f(j jVar) { - this.f = jVar; - } - - @Override // c.i.a.c.a2.h - public void g(long j, long j2) { - if (j == 0) { - this.g = 1; - this.h = false; - } else { - this.g = 3; - } - this.j = 0; - } - - @Override // c.i.a.c.a2.h - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/d0/d.java b/app/src/main/java/c/i/a/c/a2/d0/d.java deleted file mode 100644 index 0eb1a79885..0000000000 --- a/app/src/main/java/c/i/a/c/a2/d0/d.java +++ /dev/null @@ -1,145 +0,0 @@ -package c.i.a.c.a2.d0; - -import androidx.annotation.Nullable; -import c.i.a.c.a2.g; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.extractor.flv.TagPayloadReader; -import com.google.android.material.shadow.ShadowDrawableWrapper; -import java.util.ArrayList; -import java.util.Date; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -/* compiled from: ScriptTagPayloadReader */ -public final class d extends TagPayloadReader { - public long b = -9223372036854775807L; - - /* renamed from: c reason: collision with root package name */ - public long[] f696c = new long[0]; - public long[] d = new long[0]; - - public d() { - super(new g()); - } - - @Nullable - public static Object d(w wVar, int i) { - if (i == 0) { - return Double.valueOf(Double.longBitsToDouble(wVar.m())); - } - boolean z2 = false; - if (i == 1) { - if (wVar.s() == 1) { - z2 = true; - } - return Boolean.valueOf(z2); - } else if (i == 2) { - return f(wVar); - } else { - if (i == 3) { - HashMap hashMap = new HashMap(); - while (true) { - String f = f(wVar); - int s = wVar.s(); - if (s == 9) { - return hashMap; - } - Object d = d(wVar, s); - if (d != null) { - hashMap.put(f, d); - } - } - } else if (i == 8) { - return e(wVar); - } else { - if (i == 10) { - int v = wVar.v(); - ArrayList arrayList = new ArrayList(v); - for (int i2 = 0; i2 < v; i2++) { - Object d2 = d(wVar, wVar.s()); - if (d2 != null) { - arrayList.add(d2); - } - } - return arrayList; - } else if (i != 11) { - return null; - } else { - Date date = new Date((long) Double.valueOf(Double.longBitsToDouble(wVar.m())).doubleValue()); - wVar.E(2); - return date; - } - } - } - } - - public static HashMap e(w wVar) { - int v = wVar.v(); - HashMap hashMap = new HashMap<>(v); - for (int i = 0; i < v; i++) { - String f = f(wVar); - Object d = d(wVar, wVar.s()); - if (d != null) { - hashMap.put(f, d); - } - } - return hashMap; - } - - public static String f(w wVar) { - int x2 = wVar.x(); - int i = wVar.b; - wVar.E(x2); - return new String(wVar.a, i, x2); - } - - @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader - public boolean b(w wVar) { - return true; - } - - @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader - public boolean c(w wVar, long j) { - if (wVar.s() != 2 || !"onMetaData".equals(f(wVar)) || wVar.s() != 8) { - return false; - } - HashMap e = e(wVar); - Object obj = e.get("duration"); - if (obj instanceof Double) { - double doubleValue = ((Double) obj).doubleValue(); - if (doubleValue > ShadowDrawableWrapper.COS_45) { - this.b = (long) (doubleValue * 1000000.0d); - } - } - Object obj2 = e.get("keyframes"); - if (obj2 instanceof Map) { - Map map = (Map) obj2; - Object obj3 = map.get("filepositions"); - Object obj4 = map.get("times"); - if ((obj3 instanceof List) && (obj4 instanceof List)) { - List list = (List) obj3; - List list2 = (List) obj4; - int size = list2.size(); - this.f696c = new long[size]; - this.d = new long[size]; - int i = 0; - while (true) { - if (i >= size) { - break; - } - Object obj5 = list.get(i); - Object obj6 = list2.get(i); - if (!(obj6 instanceof Double) || !(obj5 instanceof Double)) { - break; - } - this.f696c[i] = (long) (((Double) obj6).doubleValue() * 1000000.0d); - this.d[i] = ((Double) obj5).longValue(); - i++; - } - this.f696c = new long[0]; - this.d = new long[0]; - } - } - return false; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/d0/e.java b/app/src/main/java/c/i/a/c/a2/d0/e.java deleted file mode 100644 index 9187af7a09..0000000000 --- a/app/src/main/java/c/i/a/c/a2/d0/e.java +++ /dev/null @@ -1,91 +0,0 @@ -package c.i.a.c.a2.d0; - -import c.d.b.a.a; -import c.i.a.c.i2.u; -import c.i.a.c.i2.w; -import c.i.a.c.j2.j; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import com.google.android.exoplayer2.extractor.flv.TagPayloadReader; -/* compiled from: VideoTagPayloadReader */ -public final class e extends TagPayloadReader { - public final w b = new w(u.a); - - /* renamed from: c reason: collision with root package name */ - public final w f697c = new w(4); - public int d; - public boolean e; - public boolean f; - public int g; - - public e(c.i.a.c.a2.w wVar) { - super(wVar); - } - - @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader - public boolean b(w wVar) throws TagPayloadReader.UnsupportedFormatException { - int s = wVar.s(); - int i = (s >> 4) & 15; - int i2 = s & 15; - if (i2 == 7) { - this.g = i; - return i != 5; - } - throw new TagPayloadReader.UnsupportedFormatException(a.l("Video format not supported: ", i2)); - } - - @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader - public boolean c(w wVar, long j) throws ParserException { - int s = wVar.s(); - byte[] bArr = wVar.a; - int i = wVar.b; - int i2 = i + 1; - wVar.b = i2; - int i3 = i2 + 1; - wVar.b = i3; - int i4 = (((bArr[i] & 255) << 24) >> 8) | ((bArr[i2] & 255) << 8); - wVar.b = i3 + 1; - long j2 = (((long) ((bArr[i3] & 255) | i4)) * 1000) + j; - if (s == 0 && !this.e) { - w wVar2 = new w(new byte[wVar.a()]); - wVar.e(wVar2.a, 0, wVar.a()); - j b = j.b(wVar2); - this.d = b.b; - Format.b bVar = new Format.b(); - bVar.k = "video/avc"; - bVar.h = b.f; - bVar.p = b.f979c; - bVar.q = b.d; - bVar.t = b.e; - bVar.m = b.a; - this.a.e(bVar.a()); - this.e = true; - return false; - } else if (s != 1 || !this.e) { - return false; - } else { - int i5 = this.g == 1 ? 1 : 0; - if (!this.f && i5 == 0) { - return false; - } - byte[] bArr2 = this.f697c.a; - bArr2[0] = 0; - bArr2[1] = 0; - bArr2[2] = 0; - int i6 = 4 - this.d; - int i7 = 0; - while (wVar.a() > 0) { - wVar.e(this.f697c.a, i6, this.d); - this.f697c.D(0); - int v = this.f697c.v(); - this.b.D(0); - this.a.c(this.b, 4); - this.a.c(wVar, v); - i7 = i7 + 4 + v; - } - this.a.d(j2, i5, i7, 0, null); - this.f = true; - return true; - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/e.java b/app/src/main/java/c/i/a/c/a2/e.java deleted file mode 100644 index f829a55aa0..0000000000 --- a/app/src/main/java/c/i/a/c/a2/e.java +++ /dev/null @@ -1,202 +0,0 @@ -package c.i.a.c.a2; - -import c.i.a.c.h2.f; -import c.i.a.c.i2.f0; -import java.io.EOFException; -import java.io.IOException; -import java.io.InterruptedIOException; -import java.util.Arrays; -/* compiled from: DefaultExtractorInput */ -public final class e implements i { - public final byte[] a = new byte[4096]; - public final f b; - - /* renamed from: c reason: collision with root package name */ - public final long f698c; - public long d; - public byte[] e = new byte[65536]; - public int f; - public int g; - - public e(f fVar, long j, long j2) { - this.b = fVar; - this.d = j; - this.f698c = j2; - } - - @Override // c.i.a.c.a2.i - public long b() { - return this.f698c; - } - - @Override // c.i.a.c.a2.i - public boolean c(byte[] bArr, int i, int i2, boolean z2) throws IOException { - int i3; - int i4 = this.g; - if (i4 == 0) { - i3 = 0; - } else { - i3 = Math.min(i4, i2); - System.arraycopy(this.e, 0, bArr, i, i3); - s(i3); - } - int i5 = i3; - while (i5 < i2 && i5 != -1) { - i5 = r(bArr, i, i2, i5, z2); - } - p(i5); - return i5 != -1; - } - - @Override // c.i.a.c.a2.i - public boolean e(byte[] bArr, int i, int i2, boolean z2) throws IOException { - if (!o(i2, z2)) { - return false; - } - System.arraycopy(this.e, this.f - i2, bArr, i, i2); - return true; - } - - @Override // c.i.a.c.a2.i - public long f() { - return this.d + ((long) this.f); - } - - @Override // c.i.a.c.a2.i - public void g(int i) throws IOException { - o(i, false); - } - - @Override // c.i.a.c.a2.i - public long getPosition() { - return this.d; - } - - @Override // c.i.a.c.a2.i - public int h(int i) throws IOException { - int min = Math.min(this.g, i); - s(min); - if (min == 0) { - byte[] bArr = this.a; - min = r(bArr, 0, Math.min(i, bArr.length), 0, true); - } - p(min); - return min; - } - - @Override // c.i.a.c.a2.i - public int i(byte[] bArr, int i, int i2) throws IOException { - int i3; - q(i2); - int i4 = this.g; - int i5 = this.f; - int i6 = i4 - i5; - if (i6 == 0) { - i3 = r(this.e, i5, i2, 0, true); - if (i3 == -1) { - return -1; - } - this.g += i3; - } else { - i3 = Math.min(i2, i6); - } - System.arraycopy(this.e, this.f, bArr, i, i3); - this.f += i3; - return i3; - } - - @Override // c.i.a.c.a2.i - public void k() { - this.f = 0; - } - - @Override // c.i.a.c.a2.i - public void l(int i) throws IOException { - int min = Math.min(this.g, i); - s(min); - int i2 = min; - while (i2 < i && i2 != -1) { - i2 = r(this.a, -i2, Math.min(i, this.a.length + i2), i2, false); - } - p(i2); - } - - @Override // c.i.a.c.a2.i - public void n(byte[] bArr, int i, int i2) throws IOException { - e(bArr, i, i2, false); - } - - public boolean o(int i, boolean z2) throws IOException { - q(i); - int i2 = this.g - this.f; - while (i2 < i) { - i2 = r(this.e, this.f, i, i2, z2); - if (i2 == -1) { - return false; - } - this.g = this.f + i2; - } - this.f += i; - return true; - } - - public final void p(int i) { - if (i != -1) { - this.d += (long) i; - } - } - - public final void q(int i) { - int i2 = this.f + i; - byte[] bArr = this.e; - if (i2 > bArr.length) { - this.e = Arrays.copyOf(this.e, f0.h(bArr.length * 2, 65536 + i2, i2 + 524288)); - } - } - - public final int r(byte[] bArr, int i, int i2, int i3, boolean z2) throws IOException { - if (!Thread.interrupted()) { - int read = this.b.read(bArr, i + i3, i2 - i3); - if (read != -1) { - return i3 + read; - } - if (i3 == 0 && z2) { - return -1; - } - throw new EOFException(); - } - throw new InterruptedIOException(); - } - - @Override // c.i.a.c.a2.i, c.i.a.c.h2.f - public int read(byte[] bArr, int i, int i2) throws IOException { - int i3 = this.g; - int i4 = 0; - if (i3 != 0) { - int min = Math.min(i3, i2); - System.arraycopy(this.e, 0, bArr, i, min); - s(min); - i4 = min; - } - if (i4 == 0) { - i4 = r(bArr, i, i2, 0, true); - } - p(i4); - return i4; - } - - @Override // c.i.a.c.a2.i - public void readFully(byte[] bArr, int i, int i2) throws IOException { - c(bArr, i, i2, false); - } - - public final void s(int i) { - int i2 = this.g - i; - this.g = i2; - this.f = 0; - byte[] bArr = this.e; - byte[] bArr2 = i2 < bArr.length - 524288 ? new byte[(65536 + i2)] : bArr; - System.arraycopy(bArr, i, bArr2, 0, i2); - this.e = bArr2; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/e0/a.java b/app/src/main/java/c/i/a/c/a2/e0/a.java deleted file mode 100644 index 30cf509fe7..0000000000 --- a/app/src/main/java/c/i/a/c/a2/e0/a.java +++ /dev/null @@ -1,270 +0,0 @@ -package c.i.a.c.a2.e0; - -import android.util.Log; -import androidx.annotation.Nullable; -import c.i.a.c.a2.e0.b; -import c.i.a.c.a2.h; -import c.i.a.c.a2.h0.l; -import c.i.a.c.a2.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.s; -import c.i.a.c.a2.t; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata; -import java.io.IOException; -import java.util.Objects; -import org.xmlpull.v1.XmlPullParserException; -/* compiled from: JpegExtractor */ -public final class a implements h { - public final w a = new w(6); - public j b; - - /* renamed from: c reason: collision with root package name */ - public int f699c; - public int d; - public int e; - public long f = -1; - @Nullable - public MotionPhotoMetadata g; - public i h; - public c i; - @Nullable - public c.i.a.c.a2.h0.i j; - - public final void a() { - c(new Metadata.Entry[0]); - j jVar = this.b; - Objects.requireNonNull(jVar); - jVar.j(); - this.b.a(new t.b(-9223372036854775807L, 0)); - this.f699c = 6; - } - - @Override // c.i.a.c.a2.h - public boolean b(i iVar) throws IOException { - if (d(iVar) != 65496) { - return false; - } - int d = d(iVar); - this.d = d; - if (d == 65504) { - this.a.z(2); - iVar.n(this.a.a, 0, 2); - iVar.g(this.a.x() - 2); - this.d = d(iVar); - } - if (this.d != 65505) { - return false; - } - iVar.g(2); - this.a.z(6); - iVar.n(this.a.a, 0, 6); - return this.a.t() == 1165519206 && this.a.x() == 0; - } - - public final void c(Metadata.Entry... entryArr) { - j jVar = this.b; - Objects.requireNonNull(jVar); - c.i.a.c.a2.w p = jVar.p(1024, 4); - Format.b bVar = new Format.b(); - bVar.i = new Metadata(entryArr); - p.e(bVar.a()); - } - - public final int d(i iVar) throws IOException { - this.a.z(2); - iVar.n(this.a.a, 0, 2); - return this.a.x(); - } - - @Override // c.i.a.c.a2.h - public int e(i iVar, s sVar) throws IOException { - String str; - int i; - String str2; - b bVar; - long j; - int i2 = this.f699c; - if (i2 == 0) { - this.a.z(2); - iVar.readFully(this.a.a, 0, 2); - int x2 = this.a.x(); - this.d = x2; - if (x2 == 65498) { - if (this.f != -1) { - this.f699c = 4; - } else { - a(); - } - } else if ((x2 < 65488 || x2 > 65497) && x2 != 65281) { - this.f699c = 1; - } - return 0; - } else if (i2 == 1) { - this.a.z(2); - iVar.readFully(this.a.a, 0, 2); - this.e = this.a.x() - 2; - this.f699c = 2; - return 0; - } else if (i2 == 2) { - if (this.d == 65505) { - int i3 = this.e; - byte[] bArr = new byte[i3]; - iVar.readFully(bArr, 0, i3); - if (this.g == null) { - MotionPhotoMetadata motionPhotoMetadata = null; - if (i3 + 0 == 0) { - str = null; - i = 0; - } else { - i = 0; - while (i < i3 && bArr[i] != 0) { - i++; - } - str = f0.m(bArr, 0, i + 0); - if (i < i3) { - i++; - } - } - if ("http://ns.adobe.com/xap/1.0/".equals(str)) { - if (i3 - i == 0) { - str2 = null; - } else { - int i4 = i; - while (i4 < i3 && bArr[i4] != 0) { - i4++; - } - str2 = f0.m(bArr, i, i4 - i); - } - if (str2 != null) { - long b = iVar.b(); - if (b != -1) { - try { - bVar = e.a(str2); - } catch (ParserException | NumberFormatException | XmlPullParserException unused) { - Log.w("MotionPhotoXmpParser", "Ignoring unexpected XMP metadata"); - bVar = null; - } - if (bVar != null && bVar.b.size() >= 2) { - long j2 = -1; - long j3 = -1; - long j4 = -1; - long j5 = -1; - boolean z2 = false; - for (int size = bVar.b.size() - 1; size >= 0; size--) { - b.a aVar = bVar.b.get(size); - z2 |= "video/mp4".equals(aVar.a); - if (size == 0) { - j = b - aVar.f700c; - b = 0; - } else { - long j6 = b - aVar.b; - j = b; - b = j6; - } - if (z2 && b != j) { - j5 = j - b; - j4 = b; - z2 = false; - } - if (size == 0) { - j3 = j; - j2 = b; - } - } - if (!(j4 == -1 || j5 == -1 || j2 == -1 || j3 == -1)) { - motionPhotoMetadata = new MotionPhotoMetadata(j2, j3, bVar.a, j4, j5); - } - } - } - this.g = motionPhotoMetadata; - if (motionPhotoMetadata != null) { - this.f = motionPhotoMetadata.l; - } - } - } - } - } else { - iVar.l(this.e); - } - this.f699c = 0; - return 0; - } else if (i2 == 4) { - long position = iVar.getPosition(); - long j7 = this.f; - if (position != j7) { - sVar.a = j7; - return 1; - } - if (!iVar.e(this.a.a, 0, 1, true)) { - a(); - } else { - iVar.k(); - if (this.j == null) { - this.j = new c.i.a.c.a2.h0.i(0); - } - c cVar = new c(iVar, this.f); - this.i = cVar; - if (l.a(cVar, false, (this.j.b & 2) != 0)) { - c.i.a.c.a2.h0.i iVar2 = this.j; - long j8 = this.f; - j jVar = this.b; - Objects.requireNonNull(jVar); - iVar2.s = new d(j8, jVar); - MotionPhotoMetadata motionPhotoMetadata2 = this.g; - Objects.requireNonNull(motionPhotoMetadata2); - c(motionPhotoMetadata2); - this.f699c = 5; - } else { - a(); - } - } - return 0; - } else if (i2 == 5) { - if (this.i == null || iVar != this.h) { - this.h = iVar; - this.i = new c(iVar, this.f); - } - c.i.a.c.a2.h0.i iVar3 = this.j; - Objects.requireNonNull(iVar3); - int e = iVar3.e(this.i, sVar); - if (e == 1) { - sVar.a += this.f; - } - return e; - } else if (i2 == 6) { - return -1; - } else { - throw new IllegalStateException(); - } - } - - @Override // c.i.a.c.a2.h - public void f(j jVar) { - this.b = jVar; - } - - @Override // c.i.a.c.a2.h - public void g(long j, long j2) { - if (j == 0) { - this.f699c = 0; - this.j = null; - } else if (this.f699c == 5) { - c.i.a.c.a2.h0.i iVar = this.j; - Objects.requireNonNull(iVar); - iVar.g(j, j2); - } - } - - @Override // c.i.a.c.a2.h - public void release() { - c.i.a.c.a2.h0.i iVar = this.j; - if (iVar != null) { - Objects.requireNonNull(iVar); - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/e0/b.java b/app/src/main/java/c/i/a/c/a2/e0/b.java deleted file mode 100644 index 4dde1655aa..0000000000 --- a/app/src/main/java/c/i/a/c/a2/e0/b.java +++ /dev/null @@ -1,28 +0,0 @@ -package c.i.a.c.a2.e0; - -import java.util.List; -/* compiled from: MotionPhotoDescription */ -public final class b { - public final long a; - public final List b; - - /* compiled from: MotionPhotoDescription */ - public static final class a { - public final String a; - public final long b; - - /* renamed from: c reason: collision with root package name */ - public final long f700c; - - public a(String str, String str2, long j, long j2) { - this.a = str; - this.b = j; - this.f700c = j2; - } - } - - public b(long j, List list) { - this.a = j; - this.b = list; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/e0/c.java b/app/src/main/java/c/i/a/c/a2/e0/c.java deleted file mode 100644 index e9f957b05b..0000000000 --- a/app/src/main/java/c/i/a/c/a2/e0/c.java +++ /dev/null @@ -1,80 +0,0 @@ -package c.i.a.c.a2.e0; - -import c.c.a.a0.d; -import c.i.a.c.a2.i; -/* compiled from: StartOffsetExtractorInput */ -public final class c implements i { - public final i a; - public final long b; - - public c(i iVar, long j) { - this.a = iVar; - d.k(iVar.getPosition() >= j); - this.b = j; - } - - @Override // c.i.a.c.a2.i - public long b() { - return this.a.b() - this.b; - } - - @Override // c.i.a.c.a2.i - public boolean c(byte[] bArr, int i, int i2, boolean z2) { - return this.a.c(bArr, i, i2, z2); - } - - @Override // c.i.a.c.a2.i - public boolean e(byte[] bArr, int i, int i2, boolean z2) { - return this.a.e(bArr, i, i2, z2); - } - - @Override // c.i.a.c.a2.i - public long f() { - return this.a.f() - this.b; - } - - @Override // c.i.a.c.a2.i - public void g(int i) { - this.a.g(i); - } - - @Override // c.i.a.c.a2.i - public long getPosition() { - return this.a.getPosition() - this.b; - } - - @Override // c.i.a.c.a2.i - public int h(int i) { - return this.a.h(i); - } - - @Override // c.i.a.c.a2.i - public int i(byte[] bArr, int i, int i2) { - return this.a.i(bArr, i, i2); - } - - @Override // c.i.a.c.a2.i - public void k() { - this.a.k(); - } - - @Override // c.i.a.c.a2.i - public void l(int i) { - this.a.l(i); - } - - @Override // c.i.a.c.a2.i - public void n(byte[] bArr, int i, int i2) { - this.a.n(bArr, i, i2); - } - - @Override // c.i.a.c.a2.i, c.i.a.c.h2.f - public int read(byte[] bArr, int i, int i2) { - return this.a.read(bArr, i, i2); - } - - @Override // c.i.a.c.a2.i - public void readFully(byte[] bArr, int i, int i2) { - this.a.readFully(bArr, i, i2); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/e0/d.java b/app/src/main/java/c/i/a/c/a2/e0/d.java deleted file mode 100644 index 9f4d29a0a0..0000000000 --- a/app/src/main/java/c/i/a/c/a2/e0/d.java +++ /dev/null @@ -1,62 +0,0 @@ -package c.i.a.c.a2.e0; - -import c.i.a.c.a2.j; -import c.i.a.c.a2.t; -import c.i.a.c.a2.u; -import c.i.a.c.a2.w; -/* compiled from: StartOffsetExtractorOutput */ -public final class d implements j { - public final long i; - public final j j; - - /* compiled from: StartOffsetExtractorOutput */ - public class a implements t { - public final /* synthetic */ t a; - - public a(t tVar) { - this.a = tVar; - } - - @Override // c.i.a.c.a2.t - public boolean c() { - return this.a.c(); - } - - @Override // c.i.a.c.a2.t - public t.a h(long j) { - t.a h = this.a.h(j); - u uVar = h.a; - long j2 = uVar.b; - long j3 = uVar.f807c; - long j4 = d.this.i; - u uVar2 = new u(j2, j3 + j4); - u uVar3 = h.b; - return new t.a(uVar2, new u(uVar3.b, uVar3.f807c + j4)); - } - - @Override // c.i.a.c.a2.t - public long i() { - return this.a.i(); - } - } - - public d(long j, j jVar) { - this.i = j; - this.j = jVar; - } - - @Override // c.i.a.c.a2.j - public void a(t tVar) { - this.j.a(new a(tVar)); - } - - @Override // c.i.a.c.a2.j - public void j() { - this.j.j(); - } - - @Override // c.i.a.c.a2.j - public w p(int i, int i2) { - return this.j.p(i, i2); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/e0/e.java b/app/src/main/java/c/i/a/c/a2/e0/e.java deleted file mode 100644 index 62ff3cb394..0000000000 --- a/app/src/main/java/c/i/a/c/a2/e0/e.java +++ /dev/null @@ -1,146 +0,0 @@ -package c.i.a.c.a2.e0; - -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.e0.b; -import c.i.a.f.e.o.c; -import c.i.b.b.a; -import c.i.b.b.q0; -import c.i.b.b.s; -import c.i.b.b.u; -import com.google.android.exoplayer2.ParserException; -import java.io.IOException; -import java.io.StringReader; -import java.util.Arrays; -import org.xmlpull.v1.XmlPullParser; -import org.xmlpull.v1.XmlPullParserException; -import org.xmlpull.v1.XmlPullParserFactory; -/* compiled from: XmpMotionPhotoDescriptionParser */ -public final class e { - public static final String[] a = {"Camera:MotionPhoto", "GCamera:MotionPhoto", "Camera:MicroVideo", "GCamera:MicroVideo"}; - public static final String[] b = {"Camera:MotionPhotoPresentationTimestampUs", "GCamera:MotionPhotoPresentationTimestampUs", "Camera:MicroVideoPresentationTimestampUs", "GCamera:MicroVideoPresentationTimestampUs"}; - - /* renamed from: c reason: collision with root package name */ - public static final String[] f701c = {"Camera:MicroVideoOffset", "GCamera:MicroVideoOffset"}; - - /* JADX WARNING: Code restructure failed: missing block: B:22:0x0069, code lost: - if (r10 == -1) goto L_0x006b; - */ - /* JADX WARNING: Code restructure failed: missing block: B:23:0x006b, code lost: - r10 = -9223372036854775807L; - */ - @Nullable - public static b a(String str) throws XmlPullParserException, IOException { - boolean z2; - long j; - XmlPullParser newPullParser = XmlPullParserFactory.newInstance().newPullParser(); - newPullParser.setInput(new StringReader(str)); - newPullParser.next(); - if (d.b1(newPullParser, "x:xmpmeta")) { - a aVar = u.j; - u uVar = q0.k; - long j2 = -9223372036854775807L; - do { - newPullParser.next(); - if (d.b1(newPullParser, "rdf:Description")) { - String[] strArr = a; - int length = strArr.length; - int i = 0; - while (true) { - if (i >= length) { - break; - } - String t0 = d.t0(newPullParser, strArr[i]); - if (t0 == null) { - i++; - } else if (Integer.parseInt(t0) == 1) { - z2 = true; - } - } - z2 = false; - if (!z2) { - return null; - } - String[] strArr2 = b; - int length2 = strArr2.length; - int i2 = 0; - while (true) { - if (i2 >= length2) { - break; - } - String t02 = d.t0(newPullParser, strArr2[i2]); - if (t02 != null) { - j = Long.parseLong(t02); - } else { - i2++; - } - } - String[] strArr3 = f701c; - int length3 = strArr3.length; - int i3 = 0; - while (true) { - if (i3 >= length3) { - a aVar2 = u.j; - uVar = q0.k; - break; - } - String t03 = d.t0(newPullParser, strArr3[i3]); - if (t03 != null) { - long parseLong = Long.parseLong(t03); - b.a aVar3 = new b.a("image/jpeg", "Primary", 0, 0); - b.a aVar4 = new b.a("video/mp4", "MotionPhoto", parseLong, 0); - a aVar5 = u.j; - uVar = u.m(aVar3, aVar4); - break; - } - i3++; - } - j2 = j; - } else if (d.b1(newPullParser, "Container:Directory")) { - uVar = b(newPullParser, "Container", "Item"); - } else if (d.b1(newPullParser, "GContainer:Directory")) { - uVar = b(newPullParser, "GContainer", "GContainerItem"); - } - } while (!d.U0(newPullParser, "x:xmpmeta")); - if (uVar.isEmpty()) { - return null; - } - return new b(j2, uVar); - } - throw new ParserException("Couldn't find xmp metadata"); - } - - /* JADX DEBUG: Type inference failed for r0v2. Raw type applied. Possible types: c.i.b.b.u, c.i.b.b.u */ - public static u b(XmlPullParser xmlPullParser, String str, String str2) throws XmlPullParserException, IOException { - a aVar = u.j; - c.n(4, "initialCapacity"); - Object[] objArr = new Object[4]; - String u = c.d.b.a.a.u(str, ":Item"); - String u2 = c.d.b.a.a.u(str, ":Directory"); - int i = 0; - do { - xmlPullParser.next(); - if (d.b1(xmlPullParser, u)) { - String u3 = c.d.b.a.a.u(str2, ":Mime"); - String u4 = c.d.b.a.a.u(str2, ":Semantic"); - String u5 = c.d.b.a.a.u(str2, ":Length"); - String u6 = c.d.b.a.a.u(str2, ":Padding"); - String t0 = d.t0(xmlPullParser, u3); - String t02 = d.t0(xmlPullParser, u4); - String t03 = d.t0(xmlPullParser, u5); - String t04 = d.t0(xmlPullParser, u6); - if (t0 == null || t02 == null) { - return q0.k; - } - b.a aVar2 = new b.a(t0, t02, t03 != null ? Long.parseLong(t03) : 0, t04 != null ? Long.parseLong(t04) : 0); - int i2 = i + 1; - if (objArr.length < i2) { - objArr = Arrays.copyOf(objArr, s.b.a(objArr.length, i2)); - } - objArr[i] = aVar2; - i = i2; - } - } while (!d.U0(xmlPullParser, u2)); - return u.l(objArr, i); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/f.java b/app/src/main/java/c/i/a/c/a2/f.java deleted file mode 100644 index 25ffc03137..0000000000 --- a/app/src/main/java/c/i/a/c/a2/f.java +++ /dev/null @@ -1,126 +0,0 @@ -package c.i.a.c.a2; - -import android.net.Uri; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.b0.b; -import c.i.a.c.a2.d0.c; -import c.i.a.c.a2.e0.a; -import c.i.a.c.a2.f0.e; -import c.i.a.c.a2.h0.g; -import c.i.a.c.a2.h0.i; -import c.i.a.c.a2.j0.b0; -import c.i.a.c.a2.j0.h; -import c.i.a.c.a2.j0.h0; -import c.i.a.c.a2.j0.j; -import java.lang.reflect.Constructor; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -/* compiled from: DefaultExtractorsFactory */ -public final class f implements l { - public static final int[] a = {5, 4, 12, 8, 3, 10, 9, 11, 6, 2, 0, 1, 7, 14}; - @Nullable - public static final Constructor b; - - static { - Constructor constructor = null; - try { - if (Boolean.TRUE.equals(Class.forName("com.google.android.exoplayer2.ext.flac.FlacLibrary").getMethod("isAvailable", new Class[0]).invoke(null, new Object[0]))) { - constructor = Class.forName("com.google.android.exoplayer2.ext.flac.FlacExtractor").asSubclass(h.class).getConstructor(Integer.TYPE); - } - } catch (ClassNotFoundException unused) { - } catch (Exception e) { - throw new RuntimeException("Error instantiating FLAC extension", e); - } - b = constructor; - } - - @Override // c.i.a.c.a2.l - public synchronized h[] a() { - return b(Uri.EMPTY, new HashMap()); - } - - @Override // c.i.a.c.a2.l - public synchronized h[] b(Uri uri, Map> map) { - ArrayList arrayList; - arrayList = new ArrayList(14); - int R0 = d.R0(map); - if (R0 != -1) { - c(R0, arrayList); - } - int S0 = d.S0(uri); - if (!(S0 == -1 || S0 == R0)) { - c(S0, arrayList); - } - int[] iArr = a; - for (int i : iArr) { - if (!(i == R0 || i == S0)) { - c(i, arrayList); - } - } - return (h[]) arrayList.toArray(new h[arrayList.size()]); - } - - public final void c(int i, List list) { - switch (i) { - case 0: - list.add(new c.i.a.c.a2.j0.f()); - return; - case 1: - list.add(new h()); - return; - case 2: - list.add(new j(0)); - return; - case 3: - list.add(new b(0)); - return; - case 4: - Constructor constructor = b; - if (constructor != null) { - try { - list.add((h) constructor.newInstance(0)); - return; - } catch (Exception e) { - throw new IllegalStateException("Unexpected error creating FLAC extractor", e); - } - } else { - list.add(new c.i.a.c.a2.c0.d(0)); - return; - } - case 5: - list.add(new c()); - return; - case 6: - list.add(new e(0)); - return; - case 7: - list.add(new c.i.a.c.a2.g0.f(0)); - return; - case 8: - list.add(new g(0)); - list.add(new i(0)); - return; - case 9: - list.add(new c.i.a.c.a2.i0.d()); - return; - case 10: - list.add(new b0()); - return; - case 11: - list.add(new h0(1, 0, 112800)); - return; - case 12: - list.add(new c.i.a.c.a2.k0.b()); - return; - case 13: - default: - return; - case 14: - list.add(new a()); - return; - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/f0/a.java b/app/src/main/java/c/i/a/c/a2/f0/a.java deleted file mode 100644 index ca87301b7b..0000000000 --- a/app/src/main/java/c/i/a/c/a2/f0/a.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.f0; - -import android.net.Uri; -import c.i.a.c.a2.h; -import c.i.a.c.a2.k; -import c.i.a.c.a2.l; -import java.util.Map; -/* compiled from: lambda */ -public final /* synthetic */ class a implements l { - public static final /* synthetic */ a a = new a(); - - @Override // c.i.a.c.a2.l - public final h[] a() { - return new h[]{new e(0)}; - } - - @Override // c.i.a.c.a2.l - public /* synthetic */ h[] b(Uri uri, Map map) { - return k.a(this, uri, map); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/f0/b.java b/app/src/main/java/c/i/a/c/a2/f0/b.java deleted file mode 100644 index f7083a82fa..0000000000 --- a/app/src/main/java/c/i/a/c/a2/f0/b.java +++ /dev/null @@ -1,38 +0,0 @@ -package c.i.a.c.a2.f0; - -import c.i.a.c.a2.i; -import java.io.IOException; -import java.util.ArrayDeque; -/* compiled from: DefaultEbmlReader */ -public final class b implements d { - public final byte[] a = new byte[8]; - public final ArrayDeque b = new ArrayDeque<>(); - - /* renamed from: c reason: collision with root package name */ - public final g f702c = new g(); - public c d; - public int e; - public int f; - public long g; - - /* compiled from: DefaultEbmlReader */ - /* renamed from: c.i.a.c.a2.f0.b$b reason: collision with other inner class name */ - public static final class C0087b { - public final int a; - public final long b; - - public C0087b(int i, long j, a aVar) { - this.a = i; - this.b = j; - } - } - - public final long a(i iVar, int i) throws IOException { - iVar.readFully(this.a, 0, i); - long j = 0; - for (int i2 = 0; i2 < i; i2++) { - j = (j << 8) | ((long) (this.a[i2] & 255)); - } - return j; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/f0/c.java b/app/src/main/java/c/i/a/c/a2/f0/c.java deleted file mode 100644 index 6870b7d421..0000000000 --- a/app/src/main/java/c/i/a/c/a2/f0/c.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.a.c.a2.f0; -/* compiled from: EbmlProcessor */ -public interface c { -} diff --git a/app/src/main/java/c/i/a/c/a2/f0/d.java b/app/src/main/java/c/i/a/c/a2/f0/d.java deleted file mode 100644 index 6fbe1a6d41..0000000000 --- a/app/src/main/java/c/i/a/c/a2/f0/d.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.a.c.a2.f0; -/* compiled from: EbmlReader */ -public interface d { -} diff --git a/app/src/main/java/c/i/a/c/a2/f0/e.java b/app/src/main/java/c/i/a/c/a2/f0/e.java deleted file mode 100644 index 99b12dda64..0000000000 --- a/app/src/main/java/c/i/a/c/a2/f0/e.java +++ /dev/null @@ -1,3754 +0,0 @@ -package c.i.a.c.a2.f0; - -import android.util.Log; -import android.util.Pair; -import android.util.SparseArray; -import androidx.annotation.CallSuper; -import androidx.annotation.Nullable; -import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; -import c.i.a.c.a2.f0.b; -import c.i.a.c.a2.h; -import c.i.a.c.a2.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.s; -import c.i.a.c.a2.t; -import c.i.a.c.a2.w; -import c.i.a.c.h0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.q; -import c.i.a.c.i2.u; -import c.i.a.c.i2.w; -import c.i.a.c.j2.k; -import c.i.a.c.j2.m; -import c.i.a.c.v1.k; -import com.discord.api.permission.Permission; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import com.google.android.exoplayer2.drm.DrmInitData; -import com.google.android.exoplayer2.video.ColorInfo; -import com.google.android.material.behavior.HideBottomViewOnScrollBehavior; -import com.google.android.material.snackbar.BaseTransientBottomBar; -import java.io.IOException; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collections; -import java.util.HashMap; -import java.util.List; -import java.util.Locale; -import java.util.Map; -import java.util.Objects; -import java.util.UUID; -import org.checkerframework.checker.nullness.qual.EnsuresNonNull; -import org.checkerframework.checker.nullness.qual.RequiresNonNull; -/* compiled from: MatroskaExtractor */ -public class e implements h { - public static final byte[] a = {49, 10, 48, 48, 58, 48, 48, 58, 48, 48, 44, 48, 48, 48, 32, 45, 45, 62, 32, 48, 48, 58, 48, 48, 58, 48, 48, 44, 48, 48, 48, 10}; - public static final byte[] b = f0.w("Format: Start, End, ReadOrder, Layer, Style, Name, MarginL, MarginR, MarginV, Effect, Text"); - - /* renamed from: c reason: collision with root package name */ - public static final byte[] f703c = {68, 105, 97, 108, 111, 103, 117, 101, 58, 32, 48, 58, 48, 48, 58, 48, 48, 58, 48, 48, 44, 48, 58, 48, 48, 58, 48, 48, 58, 48, 48, 44}; - public static final UUID d = new UUID(72057594037932032L, -9223371306706625679L); - public static final Map e; - public boolean A; - public int B; - public long C; - public boolean D; - public long E = -1; - public long F = -1; - public long G = -9223372036854775807L; - @Nullable - public q H; - @Nullable - public q I; - public boolean J; - public boolean K; - public int L; - public long M; - public long N; - public int O; - public int P; - public int[] Q; - public int R; - public int S; - public int T; - public int U; - public boolean V; - public int W; - public int X; - public int Y; - public boolean Z; - - /* renamed from: a0 reason: collision with root package name */ - public boolean f704a0; - - /* renamed from: b0 reason: collision with root package name */ - public boolean f705b0; - - /* renamed from: c0 reason: collision with root package name */ - public int f706c0; - - /* renamed from: d0 reason: collision with root package name */ - public byte f707d0; - - /* renamed from: e0 reason: collision with root package name */ - public boolean f708e0; - public final d f; - - /* renamed from: f0 reason: collision with root package name */ - public j f709f0; - public final g g; - public final SparseArray h; - public final boolean i; - public final w j; - public final w k; - public final w l; - public final w m; - public final w n; - public final w o; - public final w p; - public final w q; - - /* renamed from: r reason: collision with root package name */ - public final w f710r; - public final w s; - public ByteBuffer t; - public long u; - public long v = -1; - - /* renamed from: w reason: collision with root package name */ - public long f711w = -9223372036854775807L; - - /* renamed from: x reason: collision with root package name */ - public long f712x = -9223372036854775807L; - - /* renamed from: y reason: collision with root package name */ - public long f713y = -9223372036854775807L; - @Nullable - - /* renamed from: z reason: collision with root package name */ - public c f714z; - - /* compiled from: MatroskaExtractor */ - public final class b implements c { - public b(a aVar) { - } - } - - /* compiled from: MatroskaExtractor */ - public static final class c { - public int A = -1; - public int B = 1000; - public int C = 200; - public float D = -1.0f; - public float E = -1.0f; - public float F = -1.0f; - public float G = -1.0f; - public float H = -1.0f; - public float I = -1.0f; - public float J = -1.0f; - public float K = -1.0f; - public float L = -1.0f; - public float M = -1.0f; - public byte[] N; - public int O = 1; - public int P = -1; - public int Q = 8000; - public long R = 0; - public long S = 0; - public d T; - public boolean U; - public boolean V = true; - public String W = "eng"; - public c.i.a.c.a2.w X; - public int Y; - public String a; - public String b; - - /* renamed from: c reason: collision with root package name */ - public int f715c; - public int d; - public int e; - public int f; - public int g; - public boolean h; - public byte[] i; - public w.a j; - public byte[] k; - public DrmInitData l; - public int m = -1; - public int n = -1; - public int o = -1; - public int p = -1; - public int q = 0; - - /* renamed from: r reason: collision with root package name */ - public int f716r = -1; - public float s = 0.0f; - public float t = 0.0f; - public float u = 0.0f; - public byte[] v = null; - - /* renamed from: w reason: collision with root package name */ - public int f717w = -1; - - /* renamed from: x reason: collision with root package name */ - public boolean f718x = false; - - /* renamed from: y reason: collision with root package name */ - public int f719y = -1; - - /* renamed from: z reason: collision with root package name */ - public int f720z = -1; - - public c() { - } - - public c(a aVar) { - } - - @EnsuresNonNull({"codecPrivate"}) - public final byte[] a(String str) throws ParserException { - byte[] bArr = this.k; - if (bArr != null) { - return bArr; - } - throw new ParserException(c.d.b.a.a.u("Missing CodecPrivate for codec ", str)); - } - } - - /* compiled from: MatroskaExtractor */ - public static final class d { - public final byte[] a = new byte[10]; - public boolean b; - - /* renamed from: c reason: collision with root package name */ - public int f721c; - public long d; - public int e; - public int f; - public int g; - - @RequiresNonNull({"#1.output"}) - public void a(c cVar) { - if (this.f721c > 0) { - cVar.X.d(this.d, this.e, this.f, this.g, cVar.j); - this.f721c = 0; - } - } - } - - static { - a aVar = a.a; - HashMap hashMap = new HashMap(); - hashMap.put("htc_video_rotA-000", 0); - hashMap.put("htc_video_rotA-090", 90); - hashMap.put("htc_video_rotA-180", Integer.valueOf((int) BaseTransientBottomBar.ANIMATION_FADE_DURATION)); - hashMap.put("htc_video_rotA-270", 270); - e = Collections.unmodifiableMap(hashMap); - } - - public e(int i) { - b bVar = new b(); - this.f = bVar; - bVar.d = new b(null); - this.i = (i & 1) == 0; - this.g = new g(); - this.h = new SparseArray<>(); - this.l = new c.i.a.c.i2.w(4); - this.m = new c.i.a.c.i2.w(ByteBuffer.allocate(4).putInt(-1).array()); - this.n = new c.i.a.c.i2.w(4); - this.j = new c.i.a.c.i2.w(u.a); - this.k = new c.i.a.c.i2.w(4); - this.o = new c.i.a.c.i2.w(); - this.p = new c.i.a.c.i2.w(); - this.q = new c.i.a.c.i2.w(8); - this.f710r = new c.i.a.c.i2.w(); - this.s = new c.i.a.c.i2.w(); - this.Q = new int[1]; - } - - public static int[] i(@Nullable int[] iArr, int i) { - return iArr == null ? new int[i] : iArr.length >= i ? iArr : new int[Math.max(iArr.length * 2, i)]; - } - - public static byte[] j(long j, String str, long j2) { - c.c.a.a0.d.k(j != -9223372036854775807L); - int i = (int) (j / 3600000000L); - long j3 = j - (((long) (i * 3600)) * 1000000); - int i2 = (int) (j3 / 60000000); - long j4 = j3 - (((long) (i2 * 60)) * 1000000); - int i3 = (int) (j4 / 1000000); - return f0.w(String.format(Locale.US, str, Integer.valueOf(i), Integer.valueOf(i2), Integer.valueOf(i3), Integer.valueOf((int) ((j4 - (((long) i3) * 1000000)) / j2)))); - } - - @EnsuresNonNull({"cueTimesUs", "cueClusterPositions"}) - public final void a(int i) throws ParserException { - if (this.H == null || this.I == null) { - throw new ParserException(c.d.b.a.a.n("Element ", i, " must be in a Cues")); - } - } - - @Override // c.i.a.c.a2.h - public final boolean b(i iVar) throws IOException { - long a2; - int i; - f fVar = new f(); - long b2 = iVar.b(); - long j = Permission.VIEW_CHANNEL; - int i2 = (b2 > -1 ? 1 : (b2 == -1 ? 0 : -1)); - if (i2 != 0 && b2 <= Permission.VIEW_CHANNEL) { - j = b2; - } - int i3 = (int) j; - iVar.n(fVar.a.a, 0, 4); - fVar.b = 4; - for (long t = fVar.a.t(); t != 440786851; t = ((t << 8) & -256) | ((long) (fVar.a.a[0] & 255))) { - int i4 = fVar.b + 1; - fVar.b = i4; - if (i4 == i3) { - return false; - } - iVar.n(fVar.a.a, 0, 1); - } - long a3 = fVar.a(iVar); - long j2 = (long) fVar.b; - if (a3 == Long.MIN_VALUE) { - return false; - } - if (i2 != 0 && j2 + a3 >= b2) { - return false; - } - while (true) { - int i5 = (((long) fVar.b) > (j2 + a3) ? 1 : (((long) fVar.b) == (j2 + a3) ? 0 : -1)); - if (i5 >= 0) { - return i5 == 0; - } - if (fVar.a(iVar) == Long.MIN_VALUE || (a2 = fVar.a(iVar)) < 0 || a2 > 2147483647L) { - return false; - } - if (i != 0) { - int i6 = (int) a2; - iVar.g(i6); - fVar.b += i6; - } - } - } - - @EnsuresNonNull({"currentTrack"}) - public final void c(int i) throws ParserException { - if (this.f714z == null) { - throw new ParserException(c.d.b.a.a.n("Element ", i, " must be in a TrackEntry")); - } - } - - /* JADX WARNING: Removed duplicated region for block: B:39:0x00cb */ - @RequiresNonNull({"#1.output"}) - public final void d(c cVar, long j, int i, int i2, int i3) { - int i4; - int i5; - byte[] bArr; - int i6 = i; - d dVar = cVar.T; - if (dVar == null) { - if ("S_TEXT/UTF8".equals(cVar.b) || "S_TEXT/ASS".equals(cVar.b)) { - if (this.P > 1) { - Log.w("MatroskaExtractor", "Skipping subtitle sample in laced block."); - } else { - long j2 = this.N; - if (j2 == -9223372036854775807L) { - Log.w("MatroskaExtractor", "Skipping subtitle sample with no duration."); - } else { - String str = cVar.b; - byte[] bArr2 = this.p.a; - str.hashCode(); - if (str.equals("S_TEXT/ASS")) { - bArr = j(j2, "%01d:%02d:%02d:%02d", 10000); - i5 = 21; - } else if (str.equals("S_TEXT/UTF8")) { - bArr = j(j2, "%02d:%02d:%02d,%03d", 1000); - i5 = 19; - } else { - throw new IllegalArgumentException(); - } - System.arraycopy(bArr, 0, bArr2, i5, bArr.length); - int i7 = this.p.b; - while (true) { - c.i.a.c.i2.w wVar = this.p; - if (i7 >= wVar.f974c) { - break; - } else if (wVar.a[i7] == 0) { - wVar.C(i7); - break; - } else { - i7++; - } - } - c.i.a.c.a2.w wVar2 = cVar.X; - c.i.a.c.i2.w wVar3 = this.p; - wVar2.c(wVar3, wVar3.f974c); - i4 = i2 + this.p.f974c; - if ((268435456 & i6) != 0) { - if (this.P > 1) { - i6 &= -268435457; - } else { - c.i.a.c.i2.w wVar4 = this.s; - int i8 = wVar4.f974c; - cVar.X.f(wVar4, i8, 2); - i4 += i8; - } - } - cVar.X.d(j, i6, i4, i3, cVar.j); - } - } - } - i4 = i2; - if ((268435456 & i6) != 0) { - } - cVar.X.d(j, i6, i4, i3, cVar.j); - } else if (dVar.b) { - int i9 = dVar.f721c; - int i10 = i9 + 1; - dVar.f721c = i10; - if (i9 == 0) { - dVar.d = j; - dVar.e = i6; - dVar.f = 0; - } - dVar.f += i2; - dVar.g = i3; - if (i10 >= 16) { - dVar.a(cVar); - } - } - this.K = true; - } - - /* JADX DEBUG: Multi-variable search result rejected for r27v0, resolved type: c.i.a.c.a2.i */ - /* JADX DEBUG: Multi-variable search result rejected for r12v24, resolved type: c.i.a.c.a2.f0.g */ - /* JADX DEBUG: Multi-variable search result rejected for r8v30, resolved type: c.i.a.c.i2.w */ - /* JADX DEBUG: Multi-variable search result rejected for r4v97, resolved type: c.i.a.c.i2.w */ - /* JADX DEBUG: Multi-variable search result rejected for r5v89, resolved type: c.i.a.c.a2.f0.g */ - /* JADX DEBUG: Multi-variable search result rejected for r5v90, resolved type: c.i.a.c.a2.f0.g */ - /* JADX WARN: Multi-variable type inference failed */ - /* JADX WARNING: Code restructure failed: missing block: B:342:0x077b, code lost: - if (r4 != 7) goto L_0x07bc; - */ - /* JADX WARNING: Removed duplicated region for block: B:435:0x08d3 A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:454:0x08d5 A[SYNTHETIC] */ - /* JADX WARNING: Unknown variable types count: 2 */ - @Override // c.i.a.c.a2.h - public final int e(i iVar, s sVar) throws IOException { - boolean z2; - int i; - int i2; - String str; - long j; - int i3; - int[] iArr; - boolean z3 = false; - this.K = false; - boolean z4 = true; - boolean z5 = true; - while (z5 && !this.K) { - b bVar = (b) this.f; - c.c.a.a0.d.H(bVar.d); - ?? r3 = z3; - ?? r4 = z4; - while (true) { - b.C0087b peek = bVar.b.peek(); - if (peek == null || iVar.getPosition() < peek.b) { - if (bVar.e == 0) { - long c2 = bVar.f702c.c(iVar, r4, r3, 4); - if (c2 == -2) { - iVar.k(); - while (true) { - iVar.n(bVar.a, r3, 4); - int b2 = g.b(bVar.a[r3]); - if (b2 != -1 && b2 <= 4) { - int a2 = (int) g.a(bVar.a, b2, r3); - Objects.requireNonNull(e.this); - if (a2 == 357149030 || a2 == 524531317 || a2 == 475249515 || a2 == 374648427) { - iVar.l(b2); - c2 = (long) a2; - } - } - iVar.l(r4); - } - } - if (c2 == -1) { - z5 = false; - } else { - bVar.f = (int) c2; - bVar.e = r4; - } - } - if (bVar.e == r4) { - bVar.g = bVar.f702c.c(iVar, r3, r4, 8); - bVar.e = 2; - } - c cVar = bVar.d; - int i4 = bVar.f; - Objects.requireNonNull(e.this); - switch (i4) { - case 131: - case 136: - case 155: - case 159: - case 176: - case 179: - case 186: - case 215: - case 231: - case 238: - case 241: - case 251: - case 16871: - case 16980: - case 17029: - case 17143: - case 18401: - case 18408: - case 20529: - case 20530: - case 21420: - case 21432: - case 21680: - case 21682: - case 21690: - case 21930: - case 21945: - case 21946: - case 21947: - case 21948: - case 21949: - case 21998: - case 22186: - case 22203: - case 25188: - case 30321: - case 2352003: - case 2807729: - i = 2; - break; - case 134: - case 17026: - case 21358: - case 2274716: - i = 3; - break; - case 160: - case 166: - case 174: - case 183: - case 187: - case 224: - case HideBottomViewOnScrollBehavior.ENTER_ANIMATION_DURATION /* 225 */: - case 16868: - case 18407: - case 19899: - case 20532: - case 20533: - case 21936: - case 21968: - case 25152: - case 28032: - case 30113: - case 30320: - case 290298740: - case 357149030: - case 374648427: - case 408125543: - case 440786851: - case 475249515: - case 524531317: - i = 1; - break; - case 161: - case 163: - case 165: - case 16877: - case 16981: - case 18402: - case 21419: - case 25506: - case 30322: - i = 4; - break; - case 181: - case 17545: - case 21969: - case 21970: - case 21971: - case 21972: - case 21973: - case 21974: - case 21975: - case 21976: - case 21977: - case 21978: - case 30323: - case 30324: - case 30325: - i = 5; - break; - default: - i = 0; - break; - } - if (i == 0) { - iVar.l((int) bVar.g); - r3 = 0; - bVar.e = 0; - r4 = 1; - } else if (i == r4) { - long position = iVar.getPosition(); - bVar.b.push(new b.C0087b(bVar.f, bVar.g + position, null)); - c cVar2 = bVar.d; - int i5 = bVar.f; - long j2 = bVar.g; - e eVar = e.this; - c.c.a.a0.d.H(eVar.f709f0); - if (i5 == 160) { - i2 = 0; - eVar.V = false; - } else if (i5 == 174) { - i2 = 0; - eVar.f714z = new c(null); - } else if (i5 != 187) { - if (i5 == 19899) { - eVar.B = -1; - eVar.C = -1; - } else if (i5 == 20533) { - eVar.c(i5); - eVar.f714z.h = true; - } else if (i5 == 21968) { - eVar.c(i5); - eVar.f714z.f718x = true; - } else if (i5 == 408125543) { - long j3 = eVar.v; - if (j3 == -1 || j3 == position) { - eVar.v = position; - eVar.u = j2; - } else { - throw new ParserException("Multiple Segment elements not supported"); - } - } else if (i5 == 475249515) { - eVar.H = new q(); - eVar.I = new q(); - } else if (i5 == 524531317 && !eVar.A) { - if (!eVar.i || eVar.E == -1) { - eVar.f709f0.a(new t.b(eVar.f713y, 0)); - eVar.A = true; - } else { - eVar.D = true; - } - } - i2 = 0; - } else { - i2 = 0; - eVar.J = false; - } - bVar.e = i2; - } else if (i == 2) { - long j4 = bVar.g; - if (j4 <= 8) { - c cVar3 = bVar.d; - int i6 = bVar.f; - long a3 = bVar.a(iVar, (int) j4); - e eVar2 = e.this; - Objects.requireNonNull(eVar2); - if (i6 != 20529) { - if (i6 != 20530) { - switch (i6) { - case 131: - eVar2.c(i6); - eVar2.f714z.d = (int) a3; - break; - case 136: - eVar2.c(i6); - eVar2.f714z.V = a3 == 1; - break; - case 155: - eVar2.N = eVar2.m(a3); - break; - case 159: - eVar2.c(i6); - eVar2.f714z.O = (int) a3; - break; - case 176: - eVar2.c(i6); - eVar2.f714z.m = (int) a3; - break; - case 179: - eVar2.a(i6); - eVar2.H.a(eVar2.m(a3)); - break; - case 186: - eVar2.c(i6); - eVar2.f714z.n = (int) a3; - break; - case 215: - eVar2.c(i6); - eVar2.f714z.f715c = (int) a3; - break; - case 231: - eVar2.G = eVar2.m(a3); - break; - case 238: - eVar2.U = (int) a3; - break; - case 241: - if (!eVar2.J) { - eVar2.a(i6); - eVar2.I.a(a3); - eVar2.J = true; - break; - } - break; - case 251: - eVar2.V = true; - break; - case 16871: - eVar2.c(i6); - eVar2.f714z.g = (int) a3; - break; - case 16980: - if (a3 != 3) { - throw new ParserException(c.d.b.a.a.r("ContentCompAlgo ", a3, " not supported")); - } - break; - case 17029: - if (a3 < 1 || a3 > 2) { - throw new ParserException(c.d.b.a.a.r("DocTypeReadVersion ", a3, " not supported")); - } - case 17143: - if (a3 != 1) { - throw new ParserException(c.d.b.a.a.r("EBMLReadVersion ", a3, " not supported")); - } - break; - case 18401: - if (a3 != 5) { - throw new ParserException(c.d.b.a.a.r("ContentEncAlgo ", a3, " not supported")); - } - break; - case 18408: - if (a3 != 1) { - throw new ParserException(c.d.b.a.a.r("AESSettingsCipherMode ", a3, " not supported")); - } - break; - case 21420: - eVar2.C = a3 + eVar2.v; - break; - case 21432: - int i7 = (int) a3; - eVar2.c(i6); - if (i7 != 0) { - if (i7 != 1) { - if (i7 != 3) { - if (i7 == 15) { - eVar2.f714z.f717w = 3; - break; - } - } else { - eVar2.f714z.f717w = 1; - break; - } - } else { - eVar2.f714z.f717w = 2; - break; - } - } else { - eVar2.f714z.f717w = 0; - break; - } - break; - case 21680: - eVar2.c(i6); - eVar2.f714z.o = (int) a3; - break; - case 21682: - eVar2.c(i6); - eVar2.f714z.q = (int) a3; - break; - case 21690: - eVar2.c(i6); - eVar2.f714z.p = (int) a3; - break; - case 21930: - eVar2.c(i6); - eVar2.f714z.U = a3 == 1; - break; - case 21998: - eVar2.c(i6); - eVar2.f714z.f = (int) a3; - break; - case 22186: - eVar2.c(i6); - eVar2.f714z.R = a3; - break; - case 22203: - eVar2.c(i6); - eVar2.f714z.S = a3; - break; - case 25188: - eVar2.c(i6); - eVar2.f714z.P = (int) a3; - break; - case 30321: - eVar2.c(i6); - int i8 = (int) a3; - if (i8 != 0) { - if (i8 != 1) { - if (i8 != 2) { - if (i8 == 3) { - eVar2.f714z.f716r = 3; - break; - } - } else { - eVar2.f714z.f716r = 2; - break; - } - } else { - eVar2.f714z.f716r = 1; - break; - } - } else { - eVar2.f714z.f716r = 0; - break; - } - break; - case 2352003: - eVar2.c(i6); - eVar2.f714z.e = (int) a3; - break; - case 2807729: - eVar2.f711w = a3; - break; - default: - switch (i6) { - case 21945: - eVar2.c(i6); - int i9 = (int) a3; - if (i9 != 1) { - if (i9 == 2) { - eVar2.f714z.A = 1; - break; - } - } else { - eVar2.f714z.A = 2; - break; - } - break; - case 21946: - eVar2.c(i6); - int i10 = (int) a3; - if (i10 != 1) { - if (i10 == 16) { - eVar2.f714z.f720z = 6; - break; - } else if (i10 == 18) { - eVar2.f714z.f720z = 7; - break; - } else if (i10 != 6) { - } - } - eVar2.f714z.f720z = 3; - break; - case 21947: - eVar2.c(i6); - c cVar4 = eVar2.f714z; - cVar4.f718x = true; - int i11 = (int) a3; - if (i11 != 1) { - if (i11 != 9) { - if (i11 == 4 || i11 == 5 || i11 == 6 || i11 == 7) { - cVar4.f719y = 2; - break; - } - } else { - cVar4.f719y = 6; - break; - } - } else { - cVar4.f719y = 1; - break; - } - case 21948: - eVar2.c(i6); - eVar2.f714z.B = (int) a3; - break; - case 21949: - eVar2.c(i6); - eVar2.f714z.C = (int) a3; - break; - } - break; - } - } else if (a3 != 1) { - throw new ParserException(c.d.b.a.a.r("ContentEncodingScope ", a3, " not supported")); - } - } else if (a3 != 0) { - throw new ParserException(c.d.b.a.a.r("ContentEncodingOrder ", a3, " not supported")); - } - bVar.e = 0; - } else { - StringBuilder O = c.d.b.a.a.O("Invalid integer size: "); - O.append(bVar.g); - throw new ParserException(O.toString()); - } - } else if (i == 3) { - long j5 = bVar.g; - if (j5 <= 2147483647L) { - c cVar5 = bVar.d; - int i12 = bVar.f; - int i13 = (int) j5; - if (i13 == 0) { - str = ""; - } else { - byte[] bArr = new byte[i13]; - iVar.readFully(bArr, 0, i13); - while (i13 > 0) { - int i14 = i13 - 1; - if (bArr[i14] == 0) { - i13 = i14; - } else { - str = new String(bArr, 0, i13); - } - } - str = new String(bArr, 0, i13); - } - e eVar3 = e.this; - Objects.requireNonNull(eVar3); - if (i12 == 134) { - eVar3.c(i12); - eVar3.f714z.b = str; - } else if (i12 != 17026) { - if (i12 == 21358) { - eVar3.c(i12); - eVar3.f714z.a = str; - } else if (i12 == 2274716) { - eVar3.c(i12); - eVar3.f714z.W = str; - } - } else if (!"webm".equals(str) && !"matroska".equals(str)) { - throw new ParserException(c.d.b.a.a.v("DocType ", str, " not supported")); - } - bVar.e = 0; - } else { - StringBuilder O2 = c.d.b.a.a.O("String element size: "); - O2.append(bVar.g); - throw new ParserException(O2.toString()); - } - } else if (i == 4) { - c cVar6 = bVar.d; - int i15 = bVar.f; - int i16 = (int) bVar.g; - e eVar4 = e.this; - Objects.requireNonNull(eVar4); - if (i15 == 161 || i15 == 163) { - if (eVar4.L == 0) { - eVar4.R = (int) eVar4.g.c(iVar, r3, r4, 8); - eVar4.S = eVar4.g.d; - eVar4.N = -9223372036854775807L; - eVar4.L = r4; - eVar4.l.z(r3); - } - c cVar7 = eVar4.h.get(eVar4.R); - if (cVar7 == null) { - iVar.l(i16 - eVar4.S); - eVar4.L = r3; - } else { - Objects.requireNonNull(cVar7.X); - if (eVar4.L == r4) { - eVar4.k(iVar, 3); - int i17 = r4 == true ? 1 : 0; - int i18 = r4 == true ? 1 : 0; - int i19 = r4 == true ? 1 : 0; - int i20 = r4 == true ? 1 : 0; - int i21 = (eVar4.l.a[2] & 6) >> i17; - byte b3 = 255; - if (i21 == 0) { - eVar4.P = r4; - int[] i22 = i(eVar4.Q, r4); - eVar4.Q = i22; - char c3 = r3 == true ? 1 : 0; - char c4 = r3 == true ? 1 : 0; - char c5 = r3 == true ? 1 : 0; - char c6 = r3 == true ? 1 : 0; - char c7 = r3 == true ? 1 : 0; - i22[c3] = (i16 - eVar4.S) - 3; - } else { - eVar4.k(iVar, 4); - int i23 = (eVar4.l.a[3] & 255) + r4; - eVar4.P = i23; - int[] i24 = i(eVar4.Q, i23); - eVar4.Q = i24; - if (i21 == 2) { - int i25 = eVar4.P; - int i26 = r3 == true ? 1 : 0; - int i27 = r3 == true ? 1 : 0; - int i28 = r3 == true ? 1 : 0; - int i29 = r3 == true ? 1 : 0; - int i30 = r3 == true ? 1 : 0; - Arrays.fill(i24, i26, i25, ((i16 - eVar4.S) - 4) / i25); - } else if (i21 == r4) { - int i31 = 0; - int i32 = 0; - int i33 = 4; - while (true) { - int i34 = eVar4.P; - if (i31 < i34 - 1) { - int[] iArr2 = eVar4.Q; - int i35 = r3 == true ? 1 : 0; - int i36 = r3 == true ? 1 : 0; - int i37 = r3 == true ? 1 : 0; - int i38 = r3 == true ? 1 : 0; - iArr2[i31] = i35; - do { - i33++; - eVar4.k(iVar, i33); - i3 = eVar4.l.a[i33 - 1] & 255; - iArr = eVar4.Q; - iArr[i31] = iArr[i31] + i3; - } while (i3 == 255); - i32 += iArr[i31]; - i31++; - } else { - eVar4.Q[i34 - 1] = ((i16 - eVar4.S) - i33) - i32; - } - } - } else if (i21 == 3) { - int i39 = 0; - int i40 = 0; - int i41 = 4; - boolean z6 = r3; - boolean z7 = r4; - while (true) { - int i42 = eVar4.P; - if (i39 < i42 - 1) { - int[] iArr3 = eVar4.Q; - int i43 = z6 ? 1 : 0; - int i44 = z6 ? 1 : 0; - iArr3[i39] = i43; - i41++; - eVar4.k(iVar, i41); - int i45 = i41 - 1; - if (eVar4.l.a[i45] != 0) { - int i46 = 8; - int i47 = 0; - boolean z8 = z7; - while (true) { - if (i47 < i46) { - int i48 = z8 ? 1 : 0; - int i49 = z8 ? 1 : 0; - int i50 = z8 ? 1 : 0; - int i51 = z8 ? 1 : 0; - int i52 = i48 << (7 - i47); - if ((eVar4.l.a[i45] & i52) != 0) { - i41 += i47; - eVar4.k(iVar, i41); - j = (long) ((~i52) & eVar4.l.a[i45] & b3); - for (int i53 = i45 + 1; i53 < i41; i53++) { - j = (j << 8) | ((long) (eVar4.l.a[i53] & 255)); - } - if (i39 > 0) { - j -= (1 << ((i47 * 7) + 6)) - 1; - } - } else { - i47++; - i46 = 8; - z8 = true; - b3 = 255; - } - } else { - j = 0; - } - } - if (j >= -2147483648L && j <= 2147483647L) { - int i54 = (int) j; - int[] iArr4 = eVar4.Q; - if (i39 != 0) { - i54 += iArr4[i39 - 1]; - } - iArr4[i39] = i54; - i40 += iArr4[i39]; - i39++; - z6 = false; - z7 = true; - b3 = 255; - } - } else { - throw new ParserException("No valid varint length mask found"); - } - } else { - eVar4.Q[i42 - 1] = ((i16 - eVar4.S) - i41) - i40; - } - } - throw new ParserException("EBML lacing sample size out of range."); - } else { - throw new ParserException(c.d.b.a.a.l("Unexpected lacing value: ", i21)); - } - } - byte[] bArr2 = eVar4.l.a; - eVar4.M = eVar4.m((long) ((bArr2[1] & 255) | (bArr2[0] << 8))) + eVar4.G; - eVar4.T = (cVar7.d == 2 || (i15 == 163 && (eVar4.l.a[2] & 128) == 128)) ? 1 : 0; - eVar4.L = 2; - eVar4.O = 0; - } - if (i15 == 163) { - while (true) { - int i55 = eVar4.O; - if (i55 < eVar4.P) { - eVar4.d(cVar7, ((long) ((eVar4.O * cVar7.e) / 1000)) + eVar4.M, eVar4.T, eVar4.n(iVar, cVar7, eVar4.Q[i55]), 0); - eVar4.O++; - } else { - eVar4.L = 0; - } - } - } else { - while (true) { - int i56 = eVar4.O; - if (i56 < eVar4.P) { - int[] iArr5 = eVar4.Q; - iArr5[i56] = eVar4.n(iVar, cVar7, iArr5[i56]); - eVar4.O++; - } - } - } - } - } else if (i15 != 165) { - if (i15 == 16877) { - eVar4.c(i15); - c cVar8 = eVar4.f714z; - int i57 = cVar8.g; - if (i57 == 1685485123 || i57 == 1685480259) { - byte[] bArr3 = new byte[i16]; - cVar8.N = bArr3; - iVar.readFully(bArr3, r3, i16); - } else { - iVar.l(i16); - } - } else if (i15 == 16981) { - eVar4.c(i15); - byte[] bArr4 = new byte[i16]; - eVar4.f714z.i = bArr4; - iVar.readFully(bArr4, r3, i16); - } else if (i15 == 18402) { - byte[] bArr5 = new byte[i16]; - iVar.readFully(bArr5, r3, i16); - eVar4.c(i15); - eVar4.f714z.j = new w.a(r4, bArr5, r3, r3); - } else if (i15 == 21419) { - byte[] bArr6 = eVar4.n.a; - byte b4 = r3 == true ? (byte) 1 : 0; - byte b5 = r3 == true ? (byte) 1 : 0; - byte b6 = r3 == true ? (byte) 1 : 0; - byte b7 = r3 == true ? (byte) 1 : 0; - byte b8 = r3 == true ? (byte) 1 : 0; - Arrays.fill(bArr6, b4); - iVar.readFully(eVar4.n.a, 4 - i16, i16); - eVar4.n.D(r3); - eVar4.B = (int) eVar4.n.t(); - } else if (i15 == 25506) { - eVar4.c(i15); - byte[] bArr7 = new byte[i16]; - eVar4.f714z.k = bArr7; - iVar.readFully(bArr7, r3, i16); - } else if (i15 == 30322) { - eVar4.c(i15); - byte[] bArr8 = new byte[i16]; - eVar4.f714z.v = bArr8; - iVar.readFully(bArr8, r3, i16); - } else { - throw new ParserException(c.d.b.a.a.l("Unexpected id: ", i15)); - } - } else if (eVar4.L == 2) { - c cVar9 = eVar4.h.get(eVar4.R); - if (eVar4.U != 4 || !"V_VP9".equals(cVar9.b)) { - iVar.l(i16); - } else { - c.i.a.c.i2.w wVar = eVar4.s; - byte[] bArr9 = wVar.a; - if (bArr9.length < i16) { - bArr9 = new byte[i16]; - } - wVar.B(bArr9, i16); - iVar.readFully(eVar4.s.a, r3, i16); - } - } - bVar.e = 0; - } else if (i == 5) { - long j6 = bVar.g; - if (j6 == 4 || j6 == 8) { - c cVar10 = bVar.d; - int i58 = bVar.f; - int i59 = (int) j6; - long a4 = bVar.a(iVar, i59); - double intBitsToFloat = i59 == 4 ? (double) Float.intBitsToFloat((int) a4) : Double.longBitsToDouble(a4); - e eVar5 = e.this; - Objects.requireNonNull(eVar5); - if (i58 == 181) { - eVar5.c(i58); - eVar5.f714z.Q = (int) intBitsToFloat; - } else if (i58 != 17545) { - switch (i58) { - case 21969: - eVar5.c(i58); - eVar5.f714z.D = (float) intBitsToFloat; - break; - case 21970: - eVar5.c(i58); - eVar5.f714z.E = (float) intBitsToFloat; - break; - case 21971: - eVar5.c(i58); - eVar5.f714z.F = (float) intBitsToFloat; - break; - case 21972: - eVar5.c(i58); - eVar5.f714z.G = (float) intBitsToFloat; - break; - case 21973: - eVar5.c(i58); - eVar5.f714z.H = (float) intBitsToFloat; - break; - case 21974: - eVar5.c(i58); - eVar5.f714z.I = (float) intBitsToFloat; - break; - case 21975: - eVar5.c(i58); - eVar5.f714z.J = (float) intBitsToFloat; - break; - case 21976: - eVar5.c(i58); - eVar5.f714z.K = (float) intBitsToFloat; - break; - case 21977: - eVar5.c(i58); - eVar5.f714z.L = (float) intBitsToFloat; - break; - case 21978: - eVar5.c(i58); - eVar5.f714z.M = (float) intBitsToFloat; - break; - default: - switch (i58) { - case 30323: - eVar5.c(i58); - eVar5.f714z.s = (float) intBitsToFloat; - break; - case 30324: - eVar5.c(i58); - eVar5.f714z.t = (float) intBitsToFloat; - break; - case 30325: - eVar5.c(i58); - eVar5.f714z.u = (float) intBitsToFloat; - break; - } - } - } else { - eVar5.f712x = (long) intBitsToFloat; - } - bVar.e = r3; - } else { - StringBuilder O3 = c.d.b.a.a.O("Invalid float size: "); - O3.append(bVar.g); - throw new ParserException(O3.toString()); - } - } else { - throw new ParserException(c.d.b.a.a.l("Invalid element type ", i)); - } - } else { - e.this.h(bVar.b.pop().a); - } - } - z5 = true; - if (z5) { - long position2 = iVar.getPosition(); - if (this.D) { - this.F = position2; - sVar.a = this.E; - this.D = false; - } else { - if (this.A) { - long j7 = this.F; - if (j7 != -1) { - sVar.a = j7; - this.F = -1; - } - } - z2 = false; - if (!z2) { - return 1; - } - } - z2 = true; - if (!z2) { - } - } - z3 = false; - z4 = true; - } - if (z5) { - return 0; - } - for (int i60 = 0; i60 < this.h.size(); i60++) { - c valueAt = this.h.valueAt(i60); - Objects.requireNonNull(valueAt.X); - d dVar = valueAt.T; - if (dVar != null) { - dVar.a(valueAt); - } - } - return -1; - } - - @Override // c.i.a.c.a2.h - public final void f(j jVar) { - this.f709f0 = jVar; - } - - @Override // c.i.a.c.a2.h - @CallSuper - public void g(long j, long j2) { - this.G = -9223372036854775807L; - this.L = 0; - b bVar = (b) this.f; - bVar.e = 0; - bVar.b.clear(); - g gVar = bVar.f702c; - gVar.f722c = 0; - gVar.d = 0; - g gVar2 = this.g; - gVar2.f722c = 0; - gVar2.d = 0; - l(); - for (int i = 0; i < this.h.size(); i++) { - d dVar = this.h.valueAt(i).T; - if (dVar != null) { - dVar.b = false; - dVar.f721c = 0; - } - } - } - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - /* JADX WARNING: Code restructure failed: missing block: B:400:0x07fb, code lost: - if (r1.m() == r7.getLeastSignificantBits()) goto L_0x07fd; - */ - /* JADX WARNING: Removed duplicated region for block: B:404:0x0802 */ - /* JADX WARNING: Removed duplicated region for block: B:408:0x0826 */ - /* JADX WARNING: Removed duplicated region for block: B:428:0x086e */ - /* JADX WARNING: Removed duplicated region for block: B:429:0x0870 */ - /* JADX WARNING: Removed duplicated region for block: B:432:0x087d */ - /* JADX WARNING: Removed duplicated region for block: B:433:0x088a */ - /* JADX WARNING: Removed duplicated region for block: B:490:0x09c9 */ - /* JADX WARNING: Removed duplicated region for block: B:491:0x09cb */ - @CallSuper - public void h(int i) throws ParserException { - char c2; - boolean z2; - char c3; - String str; - List list; - int i2; - int i3; - Format.b bVar; - int i4; - int i5; - ColorInfo colorInfo; - int i6; - byte[] bArr; - int i7; - k a2; - int i8; - String str2; - ArrayList arrayList; - String str3; - List list2; - String str4; - List list3; - boolean z3; - String str5; - List list4; - int i9; - ArrayList arrayList2; - String str6; - List list5; - List list6; - String str7; - c.i.b.b.u uVar; - Pair pair; - t tVar; - int i10; - int i11; - e eVar = this; - c.c.a.a0.d.H(eVar.f709f0); - int i12 = 0; - if (i != 160) { - if (i == 174) { - c cVar = eVar.f714z; - c.c.a.a0.d.H(cVar); - String str8 = cVar.b; - if (str8 != null) { - switch (str8.hashCode()) { - case -2095576542: - if (str8.equals("V_MPEG4/ISO/AP")) { - c2 = 0; - break; - } - c2 = 65535; - break; - case -2095575984: - if (str8.equals("V_MPEG4/ISO/SP")) { - c2 = 1; - break; - } - c2 = 65535; - break; - case -1985379776: - if (str8.equals("A_MS/ACM")) { - c2 = 2; - break; - } - c2 = 65535; - break; - case -1784763192: - if (str8.equals("A_TRUEHD")) { - c2 = 3; - break; - } - c2 = 65535; - break; - case -1730367663: - if (str8.equals("A_VORBIS")) { - c2 = 4; - break; - } - c2 = 65535; - break; - case -1482641358: - if (str8.equals("A_MPEG/L2")) { - c2 = 5; - break; - } - c2 = 65535; - break; - case -1482641357: - if (str8.equals("A_MPEG/L3")) { - c2 = 6; - break; - } - c2 = 65535; - break; - case -1373388978: - if (str8.equals("V_MS/VFW/FOURCC")) { - c2 = 7; - break; - } - c2 = 65535; - break; - case -933872740: - if (str8.equals("S_DVBSUB")) { - c2 = '\b'; - break; - } - c2 = 65535; - break; - case -538363189: - if (str8.equals("V_MPEG4/ISO/ASP")) { - c2 = '\t'; - break; - } - c2 = 65535; - break; - case -538363109: - if (str8.equals("V_MPEG4/ISO/AVC")) { - c2 = '\n'; - break; - } - c2 = 65535; - break; - case -425012669: - if (str8.equals("S_VOBSUB")) { - c2 = 11; - break; - } - c2 = 65535; - break; - case -356037306: - if (str8.equals("A_DTS/LOSSLESS")) { - c2 = '\f'; - break; - } - c2 = 65535; - break; - case 62923557: - if (str8.equals("A_AAC")) { - c2 = '\r'; - break; - } - c2 = 65535; - break; - case 62923603: - if (str8.equals("A_AC3")) { - c2 = 14; - break; - } - c2 = 65535; - break; - case 62927045: - if (str8.equals("A_DTS")) { - c2 = 15; - break; - } - c2 = 65535; - break; - case 82318131: - if (str8.equals("V_AV1")) { - c2 = 16; - break; - } - c2 = 65535; - break; - case 82338133: - if (str8.equals("V_VP8")) { - c2 = 17; - break; - } - c2 = 65535; - break; - case 82338134: - if (str8.equals("V_VP9")) { - c2 = 18; - break; - } - c2 = 65535; - break; - case 99146302: - if (str8.equals("S_HDMV/PGS")) { - c2 = 19; - break; - } - c2 = 65535; - break; - case 444813526: - if (str8.equals("V_THEORA")) { - c2 = 20; - break; - } - c2 = 65535; - break; - case 542569478: - if (str8.equals("A_DTS/EXPRESS")) { - c2 = 21; - break; - } - c2 = 65535; - break; - case 635596514: - if (str8.equals("A_PCM/FLOAT/IEEE")) { - c2 = 22; - break; - } - c2 = 65535; - break; - case 725948237: - if (str8.equals("A_PCM/INT/BIG")) { - c2 = 23; - break; - } - c2 = 65535; - break; - case 725957860: - if (str8.equals("A_PCM/INT/LIT")) { - c2 = 24; - break; - } - c2 = 65535; - break; - case 738597099: - if (str8.equals("S_TEXT/ASS")) { - c2 = 25; - break; - } - c2 = 65535; - break; - case 855502857: - if (str8.equals("V_MPEGH/ISO/HEVC")) { - c2 = 26; - break; - } - c2 = 65535; - break; - case 1422270023: - if (str8.equals("S_TEXT/UTF8")) { - c2 = 27; - break; - } - c2 = 65535; - break; - case 1809237540: - if (str8.equals("V_MPEG2")) { - c2 = 28; - break; - } - c2 = 65535; - break; - case 1950749482: - if (str8.equals("A_EAC3")) { - c2 = 29; - break; - } - c2 = 65535; - break; - case 1950789798: - if (str8.equals("A_FLAC")) { - c2 = 30; - break; - } - c2 = 65535; - break; - case 1951062397: - if (str8.equals("A_OPUS")) { - c2 = 31; - break; - } - c2 = 65535; - break; - default: - c2 = 65535; - break; - } - switch (c2) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case '\b': - case '\t': - case '\n': - case 11: - case '\f': - case '\r': - case 14: - case 15: - case 16: - case 17: - case 18: - case 19: - case 20: - case 21: - case 22: - case 23: - case 24: - case 25: - case 26: - case 27: - case 28: - case 29: - case 30: - case 31: - z2 = true; - break; - default: - z2 = false; - break; - } - if (z2) { - j jVar = eVar.f709f0; - int i13 = cVar.f715c; - String str9 = cVar.b; - str9.hashCode(); - switch (str9.hashCode()) { - case -2095576542: - if (str9.equals("V_MPEG4/ISO/AP")) { - c3 = 0; - break; - } - c3 = 65535; - break; - case -2095575984: - if (str9.equals("V_MPEG4/ISO/SP")) { - c3 = 1; - break; - } - c3 = 65535; - break; - case -1985379776: - if (str9.equals("A_MS/ACM")) { - c3 = 2; - break; - } - c3 = 65535; - break; - case -1784763192: - if (str9.equals("A_TRUEHD")) { - c3 = 3; - break; - } - c3 = 65535; - break; - case -1730367663: - if (str9.equals("A_VORBIS")) { - c3 = 4; - break; - } - c3 = 65535; - break; - case -1482641358: - if (str9.equals("A_MPEG/L2")) { - c3 = 5; - break; - } - c3 = 65535; - break; - case -1482641357: - if (str9.equals("A_MPEG/L3")) { - c3 = 6; - break; - } - c3 = 65535; - break; - case -1373388978: - if (str9.equals("V_MS/VFW/FOURCC")) { - c3 = 7; - break; - } - c3 = 65535; - break; - case -933872740: - if (str9.equals("S_DVBSUB")) { - c3 = '\b'; - break; - } - c3 = 65535; - break; - case -538363189: - if (str9.equals("V_MPEG4/ISO/ASP")) { - c3 = '\t'; - break; - } - c3 = 65535; - break; - case -538363109: - if (str9.equals("V_MPEG4/ISO/AVC")) { - c3 = '\n'; - break; - } - c3 = 65535; - break; - case -425012669: - if (str9.equals("S_VOBSUB")) { - c3 = 11; - break; - } - c3 = 65535; - break; - case -356037306: - if (str9.equals("A_DTS/LOSSLESS")) { - c3 = '\f'; - break; - } - c3 = 65535; - break; - case 62923557: - if (str9.equals("A_AAC")) { - c3 = '\r'; - break; - } - c3 = 65535; - break; - case 62923603: - if (str9.equals("A_AC3")) { - c3 = 14; - break; - } - c3 = 65535; - break; - case 62927045: - if (str9.equals("A_DTS")) { - c3 = 15; - break; - } - c3 = 65535; - break; - case 82318131: - if (str9.equals("V_AV1")) { - c3 = 16; - break; - } - c3 = 65535; - break; - case 82338133: - if (str9.equals("V_VP8")) { - c3 = 17; - break; - } - c3 = 65535; - break; - case 82338134: - if (str9.equals("V_VP9")) { - c3 = 18; - break; - } - c3 = 65535; - break; - case 99146302: - if (str9.equals("S_HDMV/PGS")) { - c3 = 19; - break; - } - c3 = 65535; - break; - case 444813526: - if (str9.equals("V_THEORA")) { - c3 = 20; - break; - } - c3 = 65535; - break; - case 542569478: - if (str9.equals("A_DTS/EXPRESS")) { - c3 = 21; - break; - } - c3 = 65535; - break; - case 635596514: - if (str9.equals("A_PCM/FLOAT/IEEE")) { - c3 = 22; - break; - } - c3 = 65535; - break; - case 725948237: - if (str9.equals("A_PCM/INT/BIG")) { - c3 = 23; - break; - } - c3 = 65535; - break; - case 725957860: - if (str9.equals("A_PCM/INT/LIT")) { - c3 = 24; - break; - } - c3 = 65535; - break; - case 738597099: - if (str9.equals("S_TEXT/ASS")) { - c3 = 25; - break; - } - c3 = 65535; - break; - case 855502857: - if (str9.equals("V_MPEGH/ISO/HEVC")) { - c3 = 26; - break; - } - c3 = 65535; - break; - case 1422270023: - if (str9.equals("S_TEXT/UTF8")) { - c3 = 27; - break; - } - c3 = 65535; - break; - case 1809237540: - if (str9.equals("V_MPEG2")) { - c3 = 28; - break; - } - c3 = 65535; - break; - case 1950749482: - if (str9.equals("A_EAC3")) { - c3 = 29; - break; - } - c3 = 65535; - break; - case 1950789798: - if (str9.equals("A_FLAC")) { - c3 = 30; - break; - } - c3 = 65535; - break; - case 1951062397: - if (str9.equals("A_OPUS")) { - c3 = 31; - break; - } - c3 = 65535; - break; - default: - c3 = 65535; - break; - } - String str10 = "video/x-unknown"; - String str11 = "audio/x-unknown"; - String str12 = "audio/raw"; - switch (c3) { - case 0: - case 1: - case '\t': - byte[] bArr2 = cVar.k; - list3 = bArr2 == null ? null : Collections.singletonList(bArr2); - str11 = "video/mp4v-es"; - list2 = list3; - str4 = null; - str3 = str11; - i8 = -1; - str12 = str3; - str2 = str4; - arrayList = list2; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - if (!(bArr3 == null || (a2 = k.a(new c.i.a.c.i2.w(bArr3))) == null)) { - str = a2.a; - str12 = "video/dolby-vision"; - } - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - bVar.f2702x = cVar.O; - bVar.f2703y = cVar.Q; - bVar.f2704z = i3; - i4 = 1; - } else if (c.i.a.c.i2.s.j(str12)) { - if (cVar.q == 0) { - int i15 = cVar.o; - i5 = -1; - if (i15 == -1) { - i15 = cVar.m; - } - cVar.o = i15; - int i16 = cVar.p; - if (i16 == -1) { - i16 = cVar.n; - } - cVar.p = i16; - } else { - i5 = -1; - } - float f = -1.0f; - int i17 = cVar.o; - if (!(i17 == i5 || (i7 = cVar.p) == i5)) { - f = ((float) (cVar.n * i17)) / ((float) (cVar.m * i7)); - } - if (cVar.f718x) { - if (cVar.D == -1.0f || cVar.E == -1.0f || cVar.F == -1.0f || cVar.G == -1.0f || cVar.H == -1.0f || cVar.I == -1.0f || cVar.J == -1.0f || cVar.K == -1.0f || cVar.L == -1.0f || cVar.M == -1.0f) { - bArr = null; - } else { - bArr = new byte[25]; - ByteBuffer order = ByteBuffer.wrap(bArr).order(ByteOrder.LITTLE_ENDIAN); - order.put((byte) 0); - order.putShort((short) ((int) ((cVar.D * 50000.0f) + 0.5f))); - order.putShort((short) ((int) ((cVar.E * 50000.0f) + 0.5f))); - order.putShort((short) ((int) ((cVar.F * 50000.0f) + 0.5f))); - order.putShort((short) ((int) ((cVar.G * 50000.0f) + 0.5f))); - order.putShort((short) ((int) ((cVar.H * 50000.0f) + 0.5f))); - order.putShort((short) ((int) ((cVar.I * 50000.0f) + 0.5f))); - order.putShort((short) ((int) ((cVar.J * 50000.0f) + 0.5f))); - order.putShort((short) ((int) ((cVar.K * 50000.0f) + 0.5f))); - order.putShort((short) ((int) (cVar.L + 0.5f))); - order.putShort((short) ((int) (cVar.M + 0.5f))); - order.putShort((short) cVar.B); - order.putShort((short) cVar.C); - } - colorInfo = new ColorInfo(cVar.f719y, cVar.A, cVar.f720z, bArr); - } else { - colorInfo = null; - } - String str13 = cVar.a; - if (str13 != null) { - Map map = e; - if (map.containsKey(str13)) { - i6 = map.get(cVar.a).intValue(); - if (cVar.f716r == 0 && Float.compare(cVar.s, 0.0f) == 0 && Float.compare(cVar.t, 0.0f) == 0) { - if (Float.compare(cVar.u, 0.0f) != 0) { - i6 = 0; - } else if (Float.compare(cVar.t, 90.0f) == 0) { - i6 = 90; - } else if (Float.compare(cVar.t, -180.0f) == 0 || Float.compare(cVar.t, 180.0f) == 0) { - i6 = BaseTransientBottomBar.ANIMATION_FADE_DURATION; - } else if (Float.compare(cVar.t, -90.0f) == 0) { - i6 = 270; - } - } - bVar.p = cVar.m; - bVar.q = cVar.n; - bVar.t = f; - bVar.s = i6; - bVar.u = cVar.v; - bVar.v = cVar.f717w; - bVar.f2701w = colorInfo; - i4 = 2; - } - } - i6 = -1; - if (Float.compare(cVar.u, 0.0f) != 0) { - } - bVar.p = cVar.m; - bVar.q = cVar.n; - bVar.t = f; - bVar.s = i6; - bVar.u = cVar.v; - bVar.v = cVar.f717w; - bVar.f2701w = colorInfo; - i4 = 2; - } else if ("application/x-subrip".equals(str12) || "text/x-ssa".equals(str12) || "application/vobsub".equals(str12) || "application/pgs".equals(str12) || "application/dvbsubs".equals(str12)) { - i4 = 3; - } else { - throw new ParserException("Unexpected MIME type."); - } - String str14 = cVar.a; - if (str14 != null && !e.containsKey(str14)) { - bVar.b = cVar.a; - } - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 2: - c.i.a.c.i2.w wVar = new c.i.a.c.i2.w(cVar.a(cVar.b)); - try { - int l = wVar.l(); - if (l != 1) { - if (l == 65534) { - wVar.D(24); - long m = wVar.m(); - UUID uuid = d; - if (m == uuid.getMostSignificantBits()) { - break; - } - } - z3 = false; - if (!z3) { - i3 = f0.r(cVar.P); - if (i3 == 0) { - StringBuilder O = c.d.b.a.a.O("Unsupported PCM bit depth: "); - O.append(cVar.P); - O.append(". Setting mimeType to "); - O.append(str11); - Log.w("MatroskaExtractor", O.toString()); - } - i2 = -1; - list = null; - str = null; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - } else { - c.d.b.a.a.k0("Non-PCM MS/ACM is unsupported. Setting mimeType to ", str11, "MatroskaExtractor"); - } - list3 = null; - list2 = list3; - str4 = null; - str3 = str11; - i8 = -1; - str12 = str3; - str2 = str4; - arrayList = list2; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - } - z3 = true; - if (!z3) { - } - list3 = null; - list2 = list3; - str4 = null; - str3 = str11; - i8 = -1; - str12 = str3; - str2 = str4; - arrayList = list2; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - } catch (ArrayIndexOutOfBoundsException unused) { - throw new ParserException("Error parsing MS/ACM codec private"); - } - break; - case 3: - cVar.T = new d(); - str5 = "audio/true-hd"; - list4 = null; - i8 = -1; - str2 = null; - arrayList = list4; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 4: - byte[] a4 = cVar.a(cVar.b); - try { - if (a4[0] == 2) { - int i18 = 1; - int i19 = 0; - while ((a4[i18] & 255) == 255) { - i19 += 255; - i18++; - } - int i20 = i18 + 1; - int i21 = i19 + (a4[i18] & 255); - int i22 = 0; - while ((a4[i20] & 255) == 255) { - i22 += 255; - i20++; - } - int i23 = i20 + 1; - int i24 = i22 + (a4[i20] & 255); - if (a4[i23] == 1) { - byte[] bArr4 = new byte[i21]; - System.arraycopy(a4, i23, bArr4, 0, i21); - int i25 = i23 + i21; - if (a4[i25] == 3) { - int i26 = i25 + i24; - if (a4[i26] == 5) { - byte[] bArr5 = new byte[(a4.length - i26)]; - System.arraycopy(a4, i26, bArr5, 0, a4.length - i26); - ArrayList arrayList3 = new ArrayList(2); - arrayList3.add(bArr4); - arrayList3.add(bArr5); - str5 = "audio/vorbis"; - list4 = arrayList3; - i8 = 8192; - str2 = null; - arrayList = list4; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - } else { - throw new ParserException("Error parsing vorbis codec private"); - } - } else { - throw new ParserException("Error parsing vorbis codec private"); - } - } else { - throw new ParserException("Error parsing vorbis codec private"); - } - } else { - throw new ParserException("Error parsing vorbis codec private"); - } - } catch (ArrayIndexOutOfBoundsException unused2) { - throw new ParserException("Error parsing vorbis codec private"); - } - case 5: - str6 = "audio/mpeg-L2"; - str5 = str6; - i9 = 4096; - arrayList2 = null; - i8 = i9; - str2 = null; - arrayList = arrayList2; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 6: - str6 = "audio/mpeg"; - str5 = str6; - i9 = 4096; - arrayList2 = null; - i8 = i9; - str2 = null; - arrayList = arrayList2; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 7: - byte[] a5 = cVar.a(cVar.b); - try { - c.c.a.a0.d.k(16 <= a5.length); - long j = ((((long) a5[17]) & 255) << 8) | (((long) a5[16]) & 255) | ((((long) a5[18]) & 255) << 16) | ((((long) a5[19]) & 255) << 24); - if (j == 1482049860) { - pair = new Pair("video/divx", null); - } else if (j == 859189832) { - pair = new Pair("video/3gpp", null); - } else if (j == 826496599) { - for (int i27 = 40; i27 < a5.length - 4; i27++) { - if (a5[i27] == 0 && a5[i27 + 1] == 0 && a5[i27 + 2] == 1 && a5[i27 + 3] == 15) { - pair = new Pair("video/wvc1", Collections.singletonList(Arrays.copyOfRange(a5, i27, a5.length))); - } - } - throw new ParserException("Failed to find FourCC VC1 initialization data"); - } else { - Log.w("MatroskaExtractor", "Unknown FourCC. Setting mimeType to video/x-unknown"); - pair = new Pair(str10, null); - } - str7 = (String) pair.first; - uVar = (List) pair.second; - str5 = str7; - list6 = uVar; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - } catch (ArrayIndexOutOfBoundsException unused3) { - throw new ParserException("Error parsing FourCC private data"); - } - case '\b': - byte[] bArr6 = new byte[4]; - System.arraycopy(cVar.a(cVar.b), 0, bArr6, 0, 4); - c.i.b.b.u t = c.i.b.b.u.t(bArr6); - str7 = "application/dvbsubs"; - uVar = t; - str5 = str7; - list6 = uVar; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case '\n': - c.i.a.c.j2.j b2 = c.i.a.c.j2.j.b(new c.i.a.c.i2.w(cVar.a(cVar.b))); - list2 = b2.a; - cVar.Y = b2.b; - str4 = b2.f; - str3 = "video/avc"; - i8 = -1; - str12 = str3; - str2 = str4; - arrayList = list2; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 11: - str7 = "application/vobsub"; - uVar = c.i.b.b.u.t(cVar.a(cVar.b)); - str5 = str7; - list6 = uVar; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case '\f': - str10 = "audio/vnd.dts.hd"; - str11 = str10; - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case '\r': - List singletonList = Collections.singletonList(cVar.a(cVar.b)); - k.b d2 = c.i.a.c.v1.k.d(cVar.k); - cVar.Q = d2.a; - cVar.O = d2.b; - str2 = d2.f1057c; - str5 = "audio/mp4a-latm"; - list5 = singletonList; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 14: - str10 = "audio/ac3"; - str11 = str10; - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 15: - case 21: - str10 = "audio/vnd.dts"; - str11 = str10; - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 16: - str10 = "video/av01"; - str11 = str10; - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 17: - str10 = "video/x-vnd.on2.vp8"; - str11 = str10; - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 18: - str10 = "video/x-vnd.on2.vp9"; - str11 = str10; - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 19: - str10 = "application/pgs"; - str11 = str10; - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 20: - str11 = str10; - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 22: - if (cVar.P == 32) { - i3 = 4; - i2 = -1; - list = null; - str = null; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - } else { - StringBuilder O2 = c.d.b.a.a.O("Unsupported floating point PCM bit depth: "); - O2.append(cVar.P); - O2.append(". Setting mimeType to "); - O2.append(str11); - Log.w("MatroskaExtractor", O2.toString()); - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - } - break; - case 23: - int i28 = cVar.P; - if (i28 == 8) { - i3 = 3; - } else if (i28 != 16) { - StringBuilder O3 = c.d.b.a.a.O("Unsupported big endian PCM bit depth: "); - O3.append(cVar.P); - O3.append(". Setting mimeType to "); - O3.append(str11); - Log.w("MatroskaExtractor", O3.toString()); - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - } else { - i3 = 268435456; - } - i2 = -1; - list = null; - str = null; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 24: - i3 = f0.r(cVar.P); - if (i3 == 0) { - StringBuilder O4 = c.d.b.a.a.O("Unsupported little endian PCM bit depth: "); - O4.append(cVar.P); - O4.append(". Setting mimeType to "); - O4.append(str11); - Log.w("MatroskaExtractor", O4.toString()); - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - } - i2 = -1; - list = null; - str = null; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 25: - byte[] bArr7 = b; - byte[] a6 = cVar.a(cVar.b); - c.i.b.b.a aVar = c.i.b.b.u.j; - Object[] objArr = {bArr7, a6}; - str7 = "text/x-ssa"; - uVar = c.i.b.b.u.m(objArr); - str5 = str7; - list6 = uVar; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 26: - m a7 = m.a(new c.i.a.c.i2.w(cVar.a(cVar.b))); - list2 = a7.a; - cVar.Y = a7.b; - str4 = a7.f982c; - str3 = "video/hevc"; - i8 = -1; - str12 = str3; - str2 = str4; - arrayList = list2; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 27: - str10 = "application/x-subrip"; - str11 = str10; - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 28: - str10 = "video/mpeg2"; - str11 = str10; - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 29: - str10 = "audio/eac3"; - str11 = str10; - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 30: - str7 = "audio/flac"; - uVar = Collections.singletonList(cVar.a(cVar.b)); - str5 = str7; - list6 = uVar; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - case 31: - ArrayList arrayList4 = new ArrayList(3); - arrayList4.add(cVar.a(cVar.b)); - ByteBuffer allocate = ByteBuffer.allocate(8); - ByteOrder byteOrder = ByteOrder.LITTLE_ENDIAN; - arrayList4.add(allocate.order(byteOrder).putLong(cVar.R).array()); - arrayList4.add(ByteBuffer.allocate(8).order(byteOrder).putLong(cVar.S).array()); - i9 = 5760; - str5 = "audio/opus"; - arrayList2 = arrayList4; - i8 = i9; - str2 = null; - arrayList = arrayList2; - str12 = str5; - list = arrayList; - i3 = -1; - str = str2; - i2 = i8; - byte[] bArr3 = cVar.N; - str = a2.a; - str12 = "video/dolby-vision"; - int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); - bVar = new Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - } - String str14 = cVar.a; - bVar.b = cVar.a; - bVar.b(i13); - bVar.k = str12; - bVar.l = i2; - bVar.f2699c = cVar.W; - bVar.d = i14; - bVar.m = list; - bVar.h = str; - bVar.n = cVar.l; - Format a3 = bVar.a(); - c.i.a.c.a2.w p = jVar.p(cVar.f715c, i4); - cVar.X = p; - p.e(a3); - eVar = this; - eVar.h.put(cVar.f715c, cVar); - break; - default: - throw new ParserException("Unrecognized codec identifier."); - } - } - eVar.f714z = null; - return; - } - throw new ParserException("CodecId is missing in TrackEntry element"); - } else if (i == 19899) { - int i29 = eVar.B; - if (i29 != -1) { - long j2 = eVar.C; - if (j2 != -1) { - if (i29 == 475249515) { - eVar.E = j2; - return; - } - return; - } - } - throw new ParserException("Mandatory element SeekID or SeekPosition not found"); - } else if (i == 25152) { - c(i); - c cVar2 = eVar.f714z; - if (cVar2.h) { - w.a aVar2 = cVar2.j; - if (aVar2 != null) { - cVar2.l = new DrmInitData(null, true, new DrmInitData.SchemeData(h0.a, "video/webm", aVar2.b)); - return; - } - throw new ParserException("Encrypted Track found but ContentEncKeyID was not found"); - } - } else if (i == 28032) { - c(i); - c cVar3 = eVar.f714z; - if (cVar3.h && cVar3.i != null) { - throw new ParserException("Combining encryption and compression is not supported"); - } - } else if (i == 357149030) { - if (eVar.f711w == -9223372036854775807L) { - eVar.f711w = 1000000; - } - long j3 = eVar.f712x; - if (j3 != -9223372036854775807L) { - eVar.f713y = eVar.m(j3); - } - } else if (i != 374648427) { - if (i == 475249515) { - if (!eVar.A) { - j jVar2 = eVar.f709f0; - q qVar = eVar.H; - q qVar2 = eVar.I; - if (eVar.v == -1 || eVar.f713y == -9223372036854775807L || qVar == null || (i10 = qVar.a) == 0 || qVar2 == null || qVar2.a != i10) { - tVar = new t.b(eVar.f713y, 0); - } else { - int[] iArr = new int[i10]; - long[] jArr = new long[i10]; - long[] jArr2 = new long[i10]; - long[] jArr3 = new long[i10]; - for (int i30 = 0; i30 < i10; i30++) { - jArr3[i30] = qVar.b(i30); - jArr[i30] = qVar2.b(i30) + eVar.v; - } - while (true) { - i11 = i10 - 1; - if (i12 >= i11) { - break; - } - int i31 = i12 + 1; - iArr[i12] = (int) (jArr[i31] - jArr[i12]); - jArr2[i12] = jArr3[i31] - jArr3[i12]; - i12 = i31; - } - iArr[i11] = (int) ((eVar.v + eVar.u) - jArr[i11]); - jArr2[i11] = eVar.f713y - jArr3[i11]; - long j4 = jArr2[i11]; - if (j4 <= 0) { - Log.w("MatroskaExtractor", "Discarding last cue point with unexpected duration: " + j4); - iArr = Arrays.copyOf(iArr, i11); - jArr = Arrays.copyOf(jArr, i11); - jArr2 = Arrays.copyOf(jArr2, i11); - jArr3 = Arrays.copyOf(jArr3, i11); - } - tVar = new c.i.a.c.a2.c(iArr, jArr, jArr2, jArr3); - } - jVar2.a(tVar); - eVar.A = true; - } - eVar.H = null; - eVar.I = null; - } - } else if (eVar.h.size() != 0) { - eVar.f709f0.j(); - } else { - throw new ParserException("No valid tracks were found"); - } - } else if (eVar.L == 2) { - int i32 = 0; - for (int i33 = 0; i33 < eVar.P; i33++) { - i32 += eVar.Q[i33]; - } - c cVar4 = eVar.h.get(eVar.R); - Objects.requireNonNull(cVar4.X); - int i34 = 0; - while (i34 < eVar.P) { - long j5 = eVar.M + ((long) ((cVar4.e * i34) / 1000)); - int i35 = eVar.T; - if (i34 == 0 && !eVar.V) { - i35 |= 1; - } - int i36 = eVar.Q[i34]; - int i37 = i32 - i36; - d(cVar4, j5, i35, i36, i37); - i34++; - i32 = i37; - } - eVar.L = 0; - } - } - - public final void k(i iVar, int i) throws IOException { - c.i.a.c.i2.w wVar = this.l; - if (wVar.f974c < i) { - byte[] bArr = wVar.a; - if (bArr.length < i) { - wVar.b(Math.max(bArr.length * 2, i)); - } - c.i.a.c.i2.w wVar2 = this.l; - byte[] bArr2 = wVar2.a; - int i2 = wVar2.f974c; - iVar.readFully(bArr2, i2, i - i2); - this.l.C(i); - } - } - - public final void l() { - this.W = 0; - this.X = 0; - this.Y = 0; - this.Z = false; - this.f704a0 = false; - this.f705b0 = false; - this.f706c0 = 0; - this.f707d0 = 0; - this.f708e0 = false; - this.o.z(0); - } - - public final long m(long j) throws ParserException { - long j2 = this.f711w; - if (j2 != -9223372036854775807L) { - return f0.E(j, j2, 1000); - } - throw new ParserException("Can't scale timecode prior to timecodeScale being set."); - } - - @RequiresNonNull({"#2.output"}) - public final int n(i iVar, c cVar, int i) throws IOException { - int i2; - int i3; - if ("S_TEXT/UTF8".equals(cVar.b)) { - o(iVar, a, i); - int i4 = this.X; - l(); - return i4; - } else if ("S_TEXT/ASS".equals(cVar.b)) { - o(iVar, f703c, i); - int i5 = this.X; - l(); - return i5; - } else { - c.i.a.c.a2.w wVar = cVar.X; - char c2 = '\b'; - if (!this.Z) { - if (cVar.h) { - this.T &= -1073741825; - int i6 = 128; - if (!this.f704a0) { - iVar.readFully(this.l.a, 0, 1); - this.W++; - byte[] bArr = this.l.a; - if ((bArr[0] & 128) != 128) { - this.f707d0 = bArr[0]; - this.f704a0 = true; - } else { - throw new ParserException("Extension bit is set in signal byte"); - } - } - byte b2 = this.f707d0; - if ((b2 & 1) == 1) { - boolean z2 = (b2 & 2) == 2; - this.T |= BasicMeasure.EXACTLY; - if (!this.f708e0) { - iVar.readFully(this.q.a, 0, 8); - this.W += 8; - this.f708e0 = true; - c.i.a.c.i2.w wVar2 = this.l; - byte[] bArr2 = wVar2.a; - if (!z2) { - i6 = 0; - } - bArr2[0] = (byte) (i6 | 8); - wVar2.D(0); - wVar.f(this.l, 1, 1); - this.X++; - this.q.D(0); - wVar.f(this.q, 8, 1); - this.X += 8; - } - if (z2) { - if (!this.f705b0) { - iVar.readFully(this.l.a, 0, 1); - this.W++; - this.l.D(0); - this.f706c0 = this.l.s(); - this.f705b0 = true; - } - int i7 = this.f706c0 * 4; - this.l.z(i7); - iVar.readFully(this.l.a, 0, i7); - this.W += i7; - short s = (short) ((this.f706c0 / 2) + 1); - int i8 = (s * 6) + 2; - ByteBuffer byteBuffer = this.t; - if (byteBuffer == null || byteBuffer.capacity() < i8) { - this.t = ByteBuffer.allocate(i8); - } - this.t.position(0); - this.t.putShort(s); - int i9 = 0; - int i10 = 0; - while (true) { - i3 = this.f706c0; - if (i9 >= i3) { - break; - } - int v = this.l.v(); - if (i9 % 2 == 0) { - this.t.putShort((short) (v - i10)); - } else { - this.t.putInt(v - i10); - } - i9++; - i10 = v; - } - int i11 = (i - this.W) - i10; - if (i3 % 2 == 1) { - this.t.putInt(i11); - } else { - this.t.putShort((short) i11); - this.t.putInt(0); - } - this.f710r.B(this.t.array(), i8); - wVar.f(this.f710r, i8, 1); - this.X += i8; - } - } - } else { - byte[] bArr3 = cVar.i; - if (bArr3 != null) { - c.i.a.c.i2.w wVar3 = this.o; - int length = bArr3.length; - wVar3.a = bArr3; - wVar3.f974c = length; - wVar3.b = 0; - } - } - if (cVar.f > 0) { - this.T |= 268435456; - this.s.z(0); - this.l.z(4); - c.i.a.c.i2.w wVar4 = this.l; - byte[] bArr4 = wVar4.a; - bArr4[0] = (byte) ((i >> 24) & 255); - bArr4[1] = (byte) ((i >> 16) & 255); - bArr4[2] = (byte) ((i >> 8) & 255); - bArr4[3] = (byte) (i & 255); - wVar.f(wVar4, 4, 2); - this.X += 4; - } - this.Z = true; - } - int i12 = i + this.o.f974c; - if (!"V_MPEG4/ISO/AVC".equals(cVar.b) && !"V_MPEGH/ISO/HEVC".equals(cVar.b)) { - if (cVar.T != null) { - c.c.a.a0.d.D(this.o.f974c == 0); - d dVar = cVar.T; - if (!dVar.b) { - iVar.n(dVar.a, 0, 10); - iVar.k(); - byte[] bArr5 = dVar.a; - if (bArr5[4] == -8 && bArr5[5] == 114 && bArr5[6] == 111 && (bArr5[7] & 254) == 186) { - if ((bArr5[7] & 255) == 187) { - c2 = '\t'; - } - i2 = 40 << ((bArr5[c2] >> 4) & 7); - } else { - i2 = 0; - } - if (i2 != 0) { - dVar.b = true; - } - } - } - while (true) { - int i13 = this.W; - if (i13 >= i12) { - break; - } - int p = p(iVar, wVar, i12 - i13); - this.W += p; - this.X += p; - } - } else { - byte[] bArr6 = this.k.a; - bArr6[0] = 0; - bArr6[1] = 0; - bArr6[2] = 0; - int i14 = cVar.Y; - int i15 = 4 - i14; - while (this.W < i12) { - int i16 = this.Y; - if (i16 == 0) { - int min = Math.min(i14, this.o.a()); - iVar.readFully(bArr6, i15 + min, i14 - min); - if (min > 0) { - c.i.a.c.i2.w wVar5 = this.o; - System.arraycopy(wVar5.a, wVar5.b, bArr6, i15, min); - wVar5.b += min; - } - this.W += i14; - this.k.D(0); - this.Y = this.k.v(); - this.j.D(0); - wVar.c(this.j, 4); - this.X += 4; - } else { - int p2 = p(iVar, wVar, i16); - this.W += p2; - this.X += p2; - this.Y -= p2; - } - } - } - if ("A_VORBIS".equals(cVar.b)) { - this.m.D(0); - wVar.c(this.m, 4); - this.X += 4; - } - int i17 = this.X; - l(); - return i17; - } - } - - public final void o(i iVar, byte[] bArr, int i) throws IOException { - int length = bArr.length + i; - c.i.a.c.i2.w wVar = this.p; - byte[] bArr2 = wVar.a; - if (bArr2.length < length) { - wVar.A(Arrays.copyOf(bArr, length + i)); - } else { - System.arraycopy(bArr, 0, bArr2, 0, bArr.length); - } - iVar.readFully(this.p.a, bArr.length, i); - this.p.D(0); - this.p.C(length); - } - - public final int p(i iVar, c.i.a.c.a2.w wVar, int i) throws IOException { - int a2 = this.o.a(); - if (a2 <= 0) { - return wVar.b(iVar, i, false); - } - int min = Math.min(i, a2); - wVar.c(this.o, min); - return min; - } - - @Override // c.i.a.c.a2.h - public final void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/f0/f.java b/app/src/main/java/c/i/a/c/a2/f0/f.java deleted file mode 100644 index 45f6d6b414..0000000000 --- a/app/src/main/java/c/i/a/c/a2/f0/f.java +++ /dev/null @@ -1,33 +0,0 @@ -package c.i.a.c.a2.f0; - -import c.i.a.c.a2.i; -import c.i.a.c.i2.w; -import java.io.IOException; -/* compiled from: Sniffer */ -public final class f { - public final w a = new w(8); - public int b; - - public final long a(i iVar) throws IOException { - int i = 0; - iVar.n(this.a.a, 0, 1); - int i2 = this.a.a[0] & 255; - if (i2 == 0) { - return Long.MIN_VALUE; - } - int i3 = 128; - int i4 = 0; - while ((i2 & i3) == 0) { - i3 >>= 1; - i4++; - } - int i5 = i2 & (~i3); - iVar.n(this.a.a, 1, i4); - while (i < i4) { - i++; - i5 = (this.a.a[i] & 255) + (i5 << 8); - } - this.b = i4 + 1 + this.b; - return (long) i5; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/f0/g.java b/app/src/main/java/c/i/a/c/a2/f0/g.java deleted file mode 100644 index c9d39e58e8..0000000000 --- a/app/src/main/java/c/i/a/c/a2/f0/g.java +++ /dev/null @@ -1,63 +0,0 @@ -package c.i.a.c.a2.f0; - -import c.i.a.c.a2.i; -import java.io.IOException; -/* compiled from: VarintReader */ -public final class g { - public static final long[] a = {128, 64, 32, 16, 8, 4, 2, 1}; - public final byte[] b = new byte[8]; - - /* renamed from: c reason: collision with root package name */ - public int f722c; - public int d; - - public static long a(byte[] bArr, int i, boolean z2) { - long j = ((long) bArr[0]) & 255; - if (z2) { - j &= ~a[i - 1]; - } - for (int i2 = 1; i2 < i; i2++) { - j = (j << 8) | (((long) bArr[i2]) & 255); - } - return j; - } - - public static int b(int i) { - int i2 = 0; - while (true) { - long[] jArr = a; - if (i2 >= jArr.length) { - return -1; - } - if ((jArr[i2] & ((long) i)) != 0) { - return i2 + 1; - } - i2++; - } - } - - public long c(i iVar, boolean z2, boolean z3, int i) throws IOException { - if (this.f722c == 0) { - if (!iVar.c(this.b, 0, 1, z2)) { - return -1; - } - int b = b(this.b[0] & 255); - this.d = b; - if (b != -1) { - this.f722c = 1; - } else { - throw new IllegalStateException("No valid varint length mask found"); - } - } - int i2 = this.d; - if (i2 > i) { - this.f722c = 0; - return -2; - } - if (i2 != 1) { - iVar.readFully(this.b, 1, i2 - 1); - } - this.f722c = 0; - return a(this.b, this.d, z3); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/g.java b/app/src/main/java/c/i/a/c/a2/g.java deleted file mode 100644 index 22f99dee5f..0000000000 --- a/app/src/main/java/c/i/a/c/a2/g.java +++ /dev/null @@ -1,48 +0,0 @@ -package c.i.a.c.a2; - -import androidx.annotation.Nullable; -import c.i.a.c.a2.w; -import c.i.a.c.h2.f; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.Format; -import java.io.EOFException; -import java.io.IOException; -/* compiled from: DummyTrackOutput */ -public final class g implements w { - public final byte[] a = new byte[4096]; - - @Override // c.i.a.c.a2.w - public int a(f fVar, int i, boolean z2, int i2) throws IOException { - int read = fVar.read(this.a, 0, Math.min(this.a.length, i)); - if (read != -1) { - return read; - } - if (z2) { - return -1; - } - throw new EOFException(); - } - - @Override // c.i.a.c.a2.w - public /* synthetic */ int b(f fVar, int i, boolean z2) { - return v.a(this, fVar, i, z2); - } - - @Override // c.i.a.c.a2.w - public /* synthetic */ void c(w wVar, int i) { - v.b(this, wVar, i); - } - - @Override // c.i.a.c.a2.w - public void d(long j, int i, int i2, int i3, @Nullable w.a aVar) { - } - - @Override // c.i.a.c.a2.w - public void e(Format format) { - } - - @Override // c.i.a.c.a2.w - public void f(c.i.a.c.i2.w wVar, int i, int i2) { - wVar.D(wVar.b + i); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/g0/a.java b/app/src/main/java/c/i/a/c/a2/g0/a.java deleted file mode 100644 index 3999776af3..0000000000 --- a/app/src/main/java/c/i/a/c/a2/g0/a.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.g0; - -import android.net.Uri; -import c.i.a.c.a2.h; -import c.i.a.c.a2.k; -import c.i.a.c.a2.l; -import java.util.Map; -/* compiled from: lambda */ -public final /* synthetic */ class a implements l { - public static final /* synthetic */ a a = new a(); - - @Override // c.i.a.c.a2.l - public final h[] a() { - return new h[]{new f(0)}; - } - - @Override // c.i.a.c.a2.l - public /* synthetic */ h[] b(Uri uri, Map map) { - return k.a(this, uri, map); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/g0/b.java b/app/src/main/java/c/i/a/c/a2/g0/b.java deleted file mode 100644 index 7c32f4748d..0000000000 --- a/app/src/main/java/c/i/a/c/a2/g0/b.java +++ /dev/null @@ -1,13 +0,0 @@ -package c.i.a.c.a2.g0; - -import c.i.a.c.c2.k.b; -/* compiled from: lambda */ -public final /* synthetic */ class b implements b.a { - public static final /* synthetic */ b a = new b(); - - @Override // c.i.a.c.c2.k.b.a - public final boolean a(int i, int i2, int i3, int i4, int i5) { - b.a aVar = f.a; - return (i2 == 67 && i3 == 79 && i4 == 77 && (i5 == 77 || i == 2)) || (i2 == 77 && i3 == 76 && i4 == 76 && (i5 == 84 || i == 2)); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/g0/c.java b/app/src/main/java/c/i/a/c/a2/g0/c.java deleted file mode 100644 index e5cf3a5d65..0000000000 --- a/app/src/main/java/c/i/a/c/a2/g0/c.java +++ /dev/null @@ -1,20 +0,0 @@ -package c.i.a.c.a2.g0; - -import c.i.a.c.a2.d; -import c.i.a.c.v1.z; -/* compiled from: ConstantBitrateSeeker */ -public final class c extends d implements g { - public c(long j, long j2, z.a aVar) { - super(j, j2, aVar.f, aVar.f1073c); - } - - @Override // c.i.a.c.a2.g0.g - public long a() { - return -1; - } - - @Override // c.i.a.c.a2.g0.g - public long d(long j) { - return d.e(j, this.b, this.e); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/g0/d.java b/app/src/main/java/c/i/a/c/a2/g0/d.java deleted file mode 100644 index e879bd261d..0000000000 --- a/app/src/main/java/c/i/a/c/a2/g0/d.java +++ /dev/null @@ -1,66 +0,0 @@ -package c.i.a.c.a2.g0; - -import c.i.a.c.a2.t; -import c.i.a.c.a2.u; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.q; -/* compiled from: IndexSeeker */ -public final class d implements g { - public final long a; - public final q b; - - /* renamed from: c reason: collision with root package name */ - public final q f723c; - public long d; - - public d(long j, long j2, long j3) { - this.d = j; - this.a = j3; - q qVar = new q(); - this.b = qVar; - q qVar2 = new q(); - this.f723c = qVar2; - qVar.a(0); - qVar2.a(j2); - } - - @Override // c.i.a.c.a2.g0.g - public long a() { - return this.a; - } - - public boolean b(long j) { - q qVar = this.b; - return j - qVar.b(qVar.a - 1) < 100000; - } - - @Override // c.i.a.c.a2.t - public boolean c() { - return true; - } - - @Override // c.i.a.c.a2.g0.g - public long d(long j) { - return this.b.b(f0.c(this.f723c, j, true, true)); - } - - @Override // c.i.a.c.a2.t - public t.a h(long j) { - int c2 = f0.c(this.b, j, true, true); - long b = this.b.b(c2); - u uVar = new u(b, this.f723c.b(c2)); - if (b != j) { - q qVar = this.b; - if (c2 != qVar.a - 1) { - int i = c2 + 1; - return new t.a(uVar, new u(qVar.b(i), this.f723c.b(i))); - } - } - return new t.a(uVar); - } - - @Override // c.i.a.c.a2.t - public long i() { - return this.d; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/g0/e.java b/app/src/main/java/c/i/a/c/a2/g0/e.java deleted file mode 100644 index 9bc02ec033..0000000000 --- a/app/src/main/java/c/i/a/c/a2/g0/e.java +++ /dev/null @@ -1,60 +0,0 @@ -package c.i.a.c.a2.g0; - -import android.util.Pair; -import c.i.a.c.a2.t; -import c.i.a.c.a2.u; -import c.i.a.c.h0; -import c.i.a.c.i2.f0; -import com.google.android.material.shadow.ShadowDrawableWrapper; -/* compiled from: MlltSeeker */ -public final class e implements g { - public final long[] a; - public final long[] b; - - /* renamed from: c reason: collision with root package name */ - public final long f724c; - - public e(long[] jArr, long[] jArr2, long j) { - this.a = jArr; - this.b = jArr2; - this.f724c = j == -9223372036854775807L ? h0.a(jArr2[jArr2.length - 1]) : j; - } - - public static Pair b(long j, long[] jArr, long[] jArr2) { - int e = f0.e(jArr, j, true, true); - long j2 = jArr[e]; - long j3 = jArr2[e]; - int i = e + 1; - if (i == jArr.length) { - return Pair.create(Long.valueOf(j2), Long.valueOf(j3)); - } - long j4 = jArr[i]; - return Pair.create(Long.valueOf(j), Long.valueOf(((long) ((j4 == j2 ? ShadowDrawableWrapper.COS_45 : (((double) j) - ((double) j2)) / ((double) (j4 - j2))) * ((double) (jArr2[i] - j3)))) + j3)); - } - - @Override // c.i.a.c.a2.g0.g - public long a() { - return -1; - } - - @Override // c.i.a.c.a2.t - public boolean c() { - return true; - } - - @Override // c.i.a.c.a2.g0.g - public long d(long j) { - return h0.a(((Long) b(j, this.a, this.b).second).longValue()); - } - - @Override // c.i.a.c.a2.t - public t.a h(long j) { - Pair b = b(h0.b(f0.i(j, 0, this.f724c)), this.b, this.a); - return new t.a(new u(h0.a(((Long) b.first).longValue()), ((Long) b.second).longValue())); - } - - @Override // c.i.a.c.a2.t - public long i() { - return this.f724c; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/g0/f.java b/app/src/main/java/c/i/a/c/a2/g0/f.java deleted file mode 100644 index e0c0239f49..0000000000 --- a/app/src/main/java/c/i/a/c/a2/g0/f.java +++ /dev/null @@ -1,697 +0,0 @@ -package c.i.a.c.a2.g0; - -import android.util.Log; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.d.b.a.a; -import c.i.a.c.a2.g; -import c.i.a.c.a2.g0.g; -import c.i.a.c.a2.h; -import c.i.a.c.a2.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.p; -import c.i.a.c.a2.q; -import c.i.a.c.a2.s; -import c.i.a.c.c2.k.b; -import c.i.a.c.h0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -import c.i.a.c.v1.z; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.metadata.id3.MlltFrame; -import com.google.android.exoplayer2.metadata.id3.TextInformationFrame; -import java.io.EOFException; -import java.io.IOException; -import java.util.Objects; -/* compiled from: Mp3Extractor */ -public final class f implements h { - public static final b.a a = b.a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final long f725c; - public final w d; - public final z.a e; - public final p f; - public final q g; - public final c.i.a.c.a2.w h; - public j i; - public c.i.a.c.a2.w j; - public c.i.a.c.a2.w k; - public int l; - @Nullable - public Metadata m; - public long n; - public long o; - public long p; - public int q; - - /* renamed from: r reason: collision with root package name */ - public g f726r; - public boolean s; - public boolean t; - public long u; - - static { - a aVar = a.a; - } - - public f() { - this(0); - } - - public f(int i) { - this.b = i; - this.f725c = -9223372036854775807L; - this.d = new w(10); - this.e = new z.a(); - this.f = new p(); - this.n = -9223372036854775807L; - this.g = new q(); - g gVar = new g(); - this.h = gVar; - this.k = gVar; - } - - public static long d(@Nullable Metadata metadata) { - if (metadata == null) { - return -9223372036854775807L; - } - int length = metadata.i.length; - for (int i = 0; i < length; i++) { - Metadata.Entry entry = metadata.i[i]; - if (entry instanceof TextInformationFrame) { - TextInformationFrame textInformationFrame = (TextInformationFrame) entry; - if (textInformationFrame.i.equals("TLEN")) { - return h0.a(Long.parseLong(textInformationFrame.k)); - } - } - } - return -9223372036854775807L; - } - - public static boolean h(int i, long j) { - return ((long) (i & -128000)) == (j & -128000); - } - - public final long a(long j) { - return ((j * 1000000) / ((long) this.e.d)) + this.n; - } - - @Override // c.i.a.c.a2.h - public boolean b(i iVar) throws IOException { - return j(iVar, true); - } - - public final g c(i iVar) throws IOException { - iVar.n(this.d.a, 0, 4); - this.d.D(0); - this.e.a(this.d.f()); - return new c(iVar.b(), iVar.getPosition(), this.e); - } - - /* JADX WARNING: Code restructure failed: missing block: B:132:0x02e9, code lost: - if ((r4.b & 1) != 0) goto L_0x02eb; - */ - /* JADX WARNING: Code restructure failed: missing block: B:20:0x0060, code lost: - if (r3 != 1231971951) goto L_0x0063; - */ - /* JADX WARNING: Removed duplicated region for block: B:102:0x024c */ - /* JADX WARNING: Removed duplicated region for block: B:114:0x02a2 */ - /* JADX WARNING: Removed duplicated region for block: B:115:0x02a8 */ - /* JADX WARNING: Removed duplicated region for block: B:136:0x031f */ - /* JADX WARNING: Removed duplicated region for block: B:137:0x0321 */ - /* JADX WARNING: Removed duplicated region for block: B:181:0x044a */ - /* JADX WARNING: Removed duplicated region for block: B:29:0x007e A[ADDED_TO_REGION] */ - /* JADX WARNING: Removed duplicated region for block: B:64:0x0175 */ - /* JADX WARNING: Removed duplicated region for block: B:81:0x01e8 */ - /* JADX WARNING: Removed duplicated region for block: B:95:0x0235 */ - @Override // c.i.a.c.a2.h - public int e(i iVar, s sVar) throws IOException { - f fVar; - int i; - long a2; - int i2; - h hVar; - Metadata metadata; - e eVar; - i iVar2; - long j; - long j2; - long d; - int f; - int i3; - i iVar3; - int v; - i iVar4; - h hVar2; - h hVar3; - int i4; - i iVar5 = iVar; - d.H(this.j); - int i5 = f0.a; - if (this.l == 0) { - try { - j(iVar5, false); - } catch (EOFException unused) { - i = -1; - fVar = this; - } - } - if (this.f726r == null) { - w wVar = new w(this.e.f1073c); - iVar5.n(wVar.a, 0, this.e.f1073c); - z.a aVar = this.e; - int i6 = 21; - if ((aVar.a & 1) != 0) { - if (aVar.e != 1) { - i6 = 36; - } - } else if (aVar.e == 1) { - i6 = 13; - } - if (wVar.f974c >= i6 + 4) { - wVar.D(i6); - i2 = wVar.f(); - if (i2 != 1483304551) { - } - String str = ", "; - if (i2 != 1483304551 || i2 == 1231971951) { - fVar = this; - long b = iVar.b(); - long position = iVar.getPosition(); - z.a aVar2 = fVar.e; - int i7 = aVar2.g; - int i8 = aVar2.d; - f = wVar.f(); - if ((f & 1) == 1 || (v = wVar.v()) == 0) { - i3 = i6; - iVar3 = null; - } else { - i3 = i6; - long E = f0.E((long) v, ((long) i7) * 1000000, (long) i8); - if ((f & 6) != 6) { - iVar4 = new i(position, aVar2.f1073c, E, -1, null); - } else { - long t = wVar.t(); - long[] jArr = new long[100]; - for (int i9 = 0; i9 < 100; i9++) { - jArr[i9] = (long) wVar.s(); - } - if (b != -1) { - long j3 = position + t; - if (b != j3) { - StringBuilder R = a.R("XING data size mismatch: ", b, str); - R.append(j3); - Log.w("XingSeeker", R.toString()); - } - } - iVar4 = new i(position, aVar2.f1073c, E, t, jArr); - } - iVar3 = iVar4; - } - if (iVar3 != null) { - p pVar = fVar.f; - if (!((pVar.b == -1 || pVar.f805c == -1) ? false : true)) { - iVar.k(); - iVar5 = iVar; - iVar5.g(i3 + 141); - iVar5.n(fVar.d.a, 0, 3); - fVar.d.D(0); - p pVar2 = fVar.f; - int u = fVar.d.u(); - Objects.requireNonNull(pVar2); - int i10 = u >> 12; - int i11 = u & 4095; - if (i10 > 0 || i11 > 0) { - pVar2.b = i10; - pVar2.f805c = i11; - } - iVar5.l(fVar.e.f1073c); - hVar = iVar3; - if (iVar3 != null) { - boolean c2 = iVar3.c(); - hVar = iVar3; - if (!c2) { - hVar = iVar3; - if (i2 == 1231971951) { - hVar = c(iVar); - } - } - } - } - } - iVar5 = iVar; - iVar5.l(fVar.e.f1073c); - hVar = iVar3; - if (iVar3 != null) { - } - } else { - if (i2 == 1447187017) { - long b2 = iVar.b(); - long position2 = iVar.getPosition(); - z.a aVar3 = this.e; - wVar.E(10); - int f2 = wVar.f(); - if (f2 > 0) { - int i12 = aVar3.d; - long E2 = f0.E((long) f2, ((long) (i12 >= 32000 ? 1152 : 576)) * 1000000, (long) i12); - int x2 = wVar.x(); - int x3 = wVar.x(); - int x4 = wVar.x(); - wVar.E(2); - long j4 = position2 + ((long) aVar3.f1073c); - long[] jArr2 = new long[x2]; - long[] jArr3 = new long[x2]; - int i13 = 0; - long j5 = position2; - while (true) { - if (i13 < x2) { - jArr2[i13] = (((long) i13) * E2) / ((long) x2); - jArr3[i13] = Math.max(j5, j4); - if (x4 == 1) { - i4 = wVar.s(); - } else if (x4 == 2) { - i4 = wVar.x(); - } else if (x4 == 3) { - i4 = wVar.u(); - } else if (x4 != 4) { - break; - } else { - i4 = wVar.v(); - } - j5 += (long) (i4 * x3); - i13++; - str = str; - b2 = b2; - } else { - if (!(b2 == -1 || b2 == j5)) { - StringBuilder R2 = a.R("VBRI data size mismatch: ", b2, str); - R2.append(j5); - Log.w("VbriSeeker", R2.toString()); - } - hVar3 = new h(jArr2, jArr3, E2, j5); - } - } - fVar = this; - iVar.l(fVar.e.f1073c); - iVar5 = iVar; - hVar2 = hVar3; - } - hVar3 = null; - fVar = this; - iVar.l(fVar.e.f1073c); - iVar5 = iVar; - hVar2 = hVar3; - } else { - fVar = this; - iVar.k(); - hVar2 = null; - } - hVar = hVar2; - } - metadata = fVar.m; - long position3 = iVar.getPosition(); - if (metadata != null) { - int length = metadata.i.length; - int i14 = 0; - while (true) { - if (i14 >= length) { - break; - } - Metadata.Entry entry = metadata.i[i14]; - if (entry instanceof MlltFrame) { - MlltFrame mlltFrame = (MlltFrame) entry; - long d2 = d(metadata); - int length2 = mlltFrame.m.length; - int i15 = length2 + 1; - long[] jArr4 = new long[i15]; - long[] jArr5 = new long[i15]; - jArr4[0] = position3; - jArr5[0] = 0; - long j6 = 0; - for (int i16 = 1; i16 <= length2; i16++) { - int i17 = i16 - 1; - position3 += (long) (mlltFrame.k + mlltFrame.m[i17]); - j6 += (long) (mlltFrame.l + mlltFrame.n[i17]); - jArr4[i16] = position3; - jArr5[i16] = j6; - } - eVar = new e(jArr4, jArr5, d2); - } else { - i14++; - } - } - if (!fVar.s) { - iVar2 = new g.a(); - } else { - i iVar6 = hVar; - if ((fVar.b & 2) != 0) { - if (eVar != null) { - d = eVar.f724c; - } else if (hVar != null) { - j2 = hVar.i(); - j = hVar.a(); - iVar6 = new d(j2, iVar.getPosition(), j); - } else { - d = d(fVar.m); - } - j2 = d; - j = -1; - iVar6 = new d(j2, iVar.getPosition(), j); - } else if (eVar != null) { - iVar6 = eVar; - } else if (hVar == null) { - iVar6 = null; - } - if (iVar6 != null) { - boolean c3 = iVar6.c(); - iVar2 = iVar6; - if (!c3) { - iVar2 = iVar6; - } - } - iVar2 = c(iVar); - } - fVar.f726r = iVar2; - fVar.i.a(iVar2); - c.i.a.c.a2.w wVar2 = fVar.k; - Format.b bVar = new Format.b(); - z.a aVar4 = fVar.e; - bVar.k = aVar4.b; - bVar.l = 4096; - bVar.f2702x = aVar4.e; - bVar.f2703y = aVar4.d; - p pVar3 = fVar.f; - bVar.A = pVar3.b; - bVar.B = pVar3.f805c; - bVar.i = (fVar.b & 4) == 0 ? null : fVar.m; - wVar2.e(bVar.a()); - fVar.p = iVar.getPosition(); - } - eVar = null; - if (!fVar.s) { - } - fVar.f726r = iVar2; - fVar.i.a(iVar2); - c.i.a.c.a2.w wVar2 = fVar.k; - Format.b bVar = new Format.b(); - z.a aVar4 = fVar.e; - bVar.k = aVar4.b; - bVar.l = 4096; - bVar.f2702x = aVar4.e; - bVar.f2703y = aVar4.d; - p pVar3 = fVar.f; - bVar.A = pVar3.b; - bVar.B = pVar3.f805c; - bVar.i = (fVar.b & 4) == 0 ? null : fVar.m; - wVar2.e(bVar.a()); - fVar.p = iVar.getPosition(); - } - if (wVar.f974c >= 40) { - wVar.D(36); - if (wVar.f() == 1447187017) { - i2 = 1447187017; - String str = ", "; - if (i2 != 1483304551) { - } - fVar = this; - long b = iVar.b(); - long position = iVar.getPosition(); - z.a aVar2 = fVar.e; - int i7 = aVar2.g; - int i8 = aVar2.d; - f = wVar.f(); - if ((f & 1) == 1) { - } - i3 = i6; - iVar3 = null; - if (iVar3 != null) { - } - iVar5 = iVar; - iVar5.l(fVar.e.f1073c); - hVar = iVar3; - if (iVar3 != null) { - } - metadata = fVar.m; - long position3 = iVar.getPosition(); - if (metadata != null) { - } - eVar = null; - if (!fVar.s) { - } - fVar.f726r = iVar2; - fVar.i.a(iVar2); - c.i.a.c.a2.w wVar2 = fVar.k; - Format.b bVar = new Format.b(); - z.a aVar4 = fVar.e; - bVar.k = aVar4.b; - bVar.l = 4096; - bVar.f2702x = aVar4.e; - bVar.f2703y = aVar4.d; - p pVar3 = fVar.f; - bVar.A = pVar3.b; - bVar.B = pVar3.f805c; - bVar.i = (fVar.b & 4) == 0 ? null : fVar.m; - wVar2.e(bVar.a()); - fVar.p = iVar.getPosition(); - } - } - i2 = 0; - String str = ", "; - if (i2 != 1483304551) { - } - fVar = this; - long b = iVar.b(); - long position = iVar.getPosition(); - z.a aVar2 = fVar.e; - int i7 = aVar2.g; - int i8 = aVar2.d; - f = wVar.f(); - if ((f & 1) == 1) { - } - i3 = i6; - iVar3 = null; - if (iVar3 != null) { - } - iVar5 = iVar; - iVar5.l(fVar.e.f1073c); - hVar = iVar3; - if (iVar3 != null) { - } - metadata = fVar.m; - long position3 = iVar.getPosition(); - if (metadata != null) { - } - eVar = null; - if (!fVar.s) { - } - fVar.f726r = iVar2; - fVar.i.a(iVar2); - c.i.a.c.a2.w wVar2 = fVar.k; - Format.b bVar = new Format.b(); - z.a aVar4 = fVar.e; - bVar.k = aVar4.b; - bVar.l = 4096; - bVar.f2702x = aVar4.e; - bVar.f2703y = aVar4.d; - p pVar3 = fVar.f; - bVar.A = pVar3.b; - bVar.B = pVar3.f805c; - bVar.i = (fVar.b & 4) == 0 ? null : fVar.m; - wVar2.e(bVar.a()); - fVar.p = iVar.getPosition(); - } else { - fVar = this; - if (fVar.p != 0) { - long position4 = iVar.getPosition(); - long j7 = fVar.p; - if (position4 < j7) { - iVar5.l((int) (j7 - position4)); - } - } - } - if (fVar.q == 0) { - iVar.k(); - if (!i(iVar)) { - fVar.d.D(0); - int f3 = fVar.d.f(); - if (!h(f3, (long) fVar.l) || z.a(f3) == -1) { - iVar5.l(1); - fVar.l = 0; - i = 0; - if (i == -1 && (fVar.f726r instanceof d)) { - a2 = fVar.a(fVar.o); - if (fVar.f726r.i() != a2) { - g gVar = fVar.f726r; - ((d) gVar).d = a2; - fVar.i.a(gVar); - } - } - return i; - } - fVar.e.a(f3); - if (fVar.n == -9223372036854775807L) { - fVar.n = fVar.f726r.d(iVar.getPosition()); - if (fVar.f725c != -9223372036854775807L) { - fVar.n = (fVar.f725c - fVar.f726r.d(0)) + fVar.n; - } - } - z.a aVar5 = fVar.e; - fVar.q = aVar5.f1073c; - g gVar2 = fVar.f726r; - if (gVar2 instanceof d) { - d dVar = (d) gVar2; - long a3 = fVar.a(fVar.o + ((long) aVar5.g)); - long position5 = iVar.getPosition() + ((long) fVar.e.f1073c); - if (!dVar.b(a3)) { - dVar.b.a(a3); - dVar.f723c.a(position5); - } - if (fVar.t && dVar.b(fVar.u)) { - fVar.t = false; - fVar.k = fVar.j; - } - } - } - i = -1; - a2 = fVar.a(fVar.o); - if (fVar.f726r.i() != a2) { - } - return i; - } - int b3 = fVar.k.b(iVar5, fVar.q, true); - if (b3 != -1) { - int i18 = fVar.q - b3; - fVar.q = i18; - if (i18 <= 0) { - fVar.k.d(fVar.a(fVar.o), 1, fVar.e.f1073c, 0, null); - fVar.o += (long) fVar.e.g; - fVar.q = 0; - } - i = 0; - a2 = fVar.a(fVar.o); - if (fVar.f726r.i() != a2) { - } - return i; - } - i = -1; - a2 = fVar.a(fVar.o); - if (fVar.f726r.i() != a2) { - } - return i; - } - - @Override // c.i.a.c.a2.h - public void f(j jVar) { - this.i = jVar; - c.i.a.c.a2.w p = jVar.p(0, 1); - this.j = p; - this.k = p; - this.i.j(); - } - - @Override // c.i.a.c.a2.h - public void g(long j, long j2) { - this.l = 0; - this.n = -9223372036854775807L; - this.o = 0; - this.q = 0; - this.u = j2; - g gVar = this.f726r; - if ((gVar instanceof d) && !((d) gVar).b(j2)) { - this.t = true; - this.k = this.h; - } - } - - public final boolean i(i iVar) throws IOException { - g gVar = this.f726r; - if (gVar != null) { - long a2 = gVar.a(); - if (a2 != -1 && iVar.f() > a2 - 4) { - return true; - } - } - try { - return !iVar.e(this.d.a, 0, 4, true); - } catch (EOFException unused) { - return true; - } - } - - public final boolean j(i iVar, boolean z2) throws IOException { - int i; - int i2; - int a2; - int i3 = z2 ? 32768 : 131072; - iVar.k(); - if (iVar.getPosition() == 0) { - Metadata a3 = this.g.a(iVar, (this.b & 4) == 0 ? null : a); - this.m = a3; - if (a3 != null) { - this.f.b(a3); - } - i = (int) iVar.f(); - if (!z2) { - iVar.l(i); - } - i2 = 0; - } else { - i2 = 0; - i = 0; - } - int i4 = 0; - int i5 = 0; - while (true) { - if (!i(iVar)) { - this.d.D(0); - int f = this.d.f(); - if ((i2 == 0 || h(f, (long) i2)) && (a2 = z.a(f)) != -1) { - i4++; - if (i4 != 1) { - if (i4 == 4) { - break; - } - } else { - this.e.a(f); - i2 = f; - } - iVar.g(a2 - 4); - } else { - int i6 = i5 + 1; - if (i5 != i3) { - if (z2) { - iVar.k(); - iVar.g(i + i6); - } else { - iVar.l(1); - } - i5 = i6; - i2 = 0; - i4 = 0; - } else if (z2) { - return false; - } else { - throw new ParserException("Searched too many bytes."); - } - } - } else if (i4 <= 0) { - throw new EOFException(); - } - } - if (z2) { - iVar.l(i + i5); - } else { - iVar.k(); - } - this.l = i2; - return true; - } - - @Override // c.i.a.c.a2.h - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/g0/g.java b/app/src/main/java/c/i/a/c/a2/g0/g.java deleted file mode 100644 index 566ba42c1b..0000000000 --- a/app/src/main/java/c/i/a/c/a2/g0/g.java +++ /dev/null @@ -1,27 +0,0 @@ -package c.i.a.c.a2.g0; - -import c.i.a.c.a2.t; -/* compiled from: Seeker */ -public interface g extends t { - - /* compiled from: Seeker */ - public static class a extends t.b implements g { - public a() { - super(-9223372036854775807L, 0); - } - - @Override // c.i.a.c.a2.g0.g - public long a() { - return -1; - } - - @Override // c.i.a.c.a2.g0.g - public long d(long j) { - return 0; - } - } - - long a(); - - long d(long j); -} diff --git a/app/src/main/java/c/i/a/c/a2/g0/h.java b/app/src/main/java/c/i/a/c/a2/g0/h.java deleted file mode 100644 index b48b9941a4..0000000000 --- a/app/src/main/java/c/i/a/c/a2/g0/h.java +++ /dev/null @@ -1,55 +0,0 @@ -package c.i.a.c.a2.g0; - -import c.i.a.c.a2.t; -import c.i.a.c.a2.u; -import c.i.a.c.i2.f0; -/* compiled from: VbriSeeker */ -public final class h implements g { - public final long[] a; - public final long[] b; - - /* renamed from: c reason: collision with root package name */ - public final long f727c; - public final long d; - - public h(long[] jArr, long[] jArr2, long j, long j2) { - this.a = jArr; - this.b = jArr2; - this.f727c = j; - this.d = j2; - } - - @Override // c.i.a.c.a2.g0.g - public long a() { - return this.d; - } - - @Override // c.i.a.c.a2.t - public boolean c() { - return true; - } - - @Override // c.i.a.c.a2.g0.g - public long d(long j) { - return this.a[f0.e(this.b, j, true, true)]; - } - - @Override // c.i.a.c.a2.t - public t.a h(long j) { - int e = f0.e(this.a, j, true, true); - long[] jArr = this.a; - long j2 = jArr[e]; - long[] jArr2 = this.b; - u uVar = new u(j2, jArr2[e]); - if (j2 >= j || e == jArr.length - 1) { - return new t.a(uVar); - } - int i = e + 1; - return new t.a(uVar, new u(jArr[i], jArr2[i])); - } - - @Override // c.i.a.c.a2.t - public long i() { - return this.f727c; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/g0/i.java b/app/src/main/java/c/i/a/c/a2/g0/i.java deleted file mode 100644 index 69ef09ff92..0000000000 --- a/app/src/main/java/c/i/a/c/a2/g0/i.java +++ /dev/null @@ -1,86 +0,0 @@ -package c.i.a.c.a2.g0; - -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.t; -import c.i.a.c.a2.u; -import c.i.a.c.i2.f0; -import com.google.android.material.shadow.ShadowDrawableWrapper; -/* compiled from: XingSeeker */ -public final class i implements g { - public final long a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final long f728c; - public final long d; - public final long e; - @Nullable - public final long[] f; - - public i(long j, int i, long j2, long j3, @Nullable long[] jArr) { - this.a = j; - this.b = i; - this.f728c = j2; - this.f = jArr; - this.d = j3; - this.e = j3 != -1 ? j + j3 : -1; - } - - @Override // c.i.a.c.a2.g0.g - public long a() { - return this.e; - } - - @Override // c.i.a.c.a2.t - public boolean c() { - return this.f != null; - } - - @Override // c.i.a.c.a2.g0.g - public long d(long j) { - long j2 = j - this.a; - if (!c() || j2 <= ((long) this.b)) { - return 0; - } - long[] jArr = this.f; - d.H(jArr); - double d = (((double) j2) * 256.0d) / ((double) this.d); - int e = f0.e(jArr, (long) d, true, true); - long j3 = this.f728c; - long j4 = (((long) e) * j3) / 100; - long j5 = jArr[e]; - int i = e + 1; - long j6 = (j3 * ((long) i)) / 100; - long j7 = e == 99 ? 256 : jArr[i]; - return Math.round((j5 == j7 ? ShadowDrawableWrapper.COS_45 : (d - ((double) j5)) / ((double) (j7 - j5))) * ((double) (j6 - j4))) + j4; - } - - @Override // c.i.a.c.a2.t - public t.a h(long j) { - if (!c()) { - return new t.a(new u(0, this.a + ((long) this.b))); - } - long i = f0.i(j, 0, this.f728c); - double d = (((double) i) * 100.0d) / ((double) this.f728c); - double d2 = ShadowDrawableWrapper.COS_45; - if (d > ShadowDrawableWrapper.COS_45) { - if (d >= 100.0d) { - d2 = 256.0d; - } else { - int i2 = (int) d; - long[] jArr = this.f; - d.H(jArr); - long[] jArr2 = jArr; - double d3 = (double) jArr2[i2]; - d2 = d3 + (((i2 == 99 ? 256.0d : (double) jArr2[i2 + 1]) - d3) * (d - ((double) i2))); - } - } - return new t.a(new u(i, this.a + f0.i(Math.round((d2 / 256.0d) * ((double) this.d)), (long) this.b, this.d - 1))); - } - - @Override // c.i.a.c.a2.t - public long i() { - return this.f728c; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h.java b/app/src/main/java/c/i/a/c/a2/h.java deleted file mode 100644 index a9a036e182..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h.java +++ /dev/null @@ -1,15 +0,0 @@ -package c.i.a.c.a2; - -import java.io.IOException; -/* compiled from: Extractor */ -public interface h { - boolean b(i iVar) throws IOException; - - int e(i iVar, s sVar) throws IOException; - - void f(j jVar); - - void g(long j, long j2); - - void release(); -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/a.java b/app/src/main/java/c/i/a/c/a2/h0/a.java deleted file mode 100644 index e8a3dee642..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/a.java +++ /dev/null @@ -1,14 +0,0 @@ -package c.i.a.c.a2.h0; - -import c.i.b.a.e; -/* compiled from: lambda */ -public final /* synthetic */ class a implements e { - public static final /* synthetic */ a a = new a(); - - @Override // c.i.b.a.e - public final Object apply(Object obj) { - m mVar = (m) obj; - int i = i.a; - return mVar; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/b.java b/app/src/main/java/c/i/a/c/a2/h0/b.java deleted file mode 100644 index f03adb6afa..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/b.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.h0; - -import android.net.Uri; -import c.i.a.c.a2.h; -import c.i.a.c.a2.k; -import c.i.a.c.a2.l; -import java.util.Map; -/* compiled from: lambda */ -public final /* synthetic */ class b implements l { - public static final /* synthetic */ b a = new b(); - - @Override // c.i.a.c.a2.l - public final h[] a() { - return new h[]{new i(0)}; - } - - @Override // c.i.a.c.a2.l - public /* synthetic */ h[] b(Uri uri, Map map) { - return k.a(this, uri, map); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/c.java b/app/src/main/java/c/i/a/c/a2/h0/c.java deleted file mode 100644 index 1d57634329..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/c.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.a2.h0; - -import c.i.b.a.e; -import java.util.Objects; -/* compiled from: lambda */ -public final /* synthetic */ class c implements e { - public final /* synthetic */ g a; - - public /* synthetic */ c(g gVar) { - this.a = gVar; - } - - @Override // c.i.b.a.e - public final Object apply(Object obj) { - m mVar = (m) obj; - Objects.requireNonNull(this.a); - return mVar; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/d.java b/app/src/main/java/c/i/a/c/a2/h0/d.java deleted file mode 100644 index 96fea25103..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/d.java +++ /dev/null @@ -1,81 +0,0 @@ -package c.i.a.c.a2.h0; - -import androidx.annotation.Nullable; -import c.i.a.c.i2.w; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -/* compiled from: Atom */ -public abstract class d { - public final int a; - - /* compiled from: Atom */ - public static final class a extends d { - public final long b; - - /* renamed from: c reason: collision with root package name */ - public final List f729c = new ArrayList(); - public final List d = new ArrayList(); - - public a(int i, long j) { - super(i); - this.b = j; - } - - @Nullable - public a b(int i) { - int size = this.d.size(); - for (int i2 = 0; i2 < size; i2++) { - a aVar = this.d.get(i2); - if (aVar.a == i) { - return aVar; - } - } - return null; - } - - @Nullable - public b c(int i) { - int size = this.f729c.size(); - for (int i2 = 0; i2 < size; i2++) { - b bVar = this.f729c.get(i2); - if (bVar.a == i) { - return bVar; - } - } - return null; - } - - @Override // c.i.a.c.a2.h0.d - public String toString() { - return d.a(this.a) + " leaves: " + Arrays.toString(this.f729c.toArray()) + " containers: " + Arrays.toString(this.d.toArray()); - } - } - - /* compiled from: Atom */ - public static final class b extends d { - public final w b; - - public b(int i, w wVar) { - super(i); - this.b = wVar; - } - } - - public d(int i) { - this.a = i; - } - - public static String a(int i) { - StringBuilder O = c.d.b.a.a.O(""); - O.append((char) ((i >> 24) & 255)); - O.append((char) ((i >> 16) & 255)); - O.append((char) ((i >> 8) & 255)); - O.append((char) (i & 255)); - return O.toString(); - } - - public String toString() { - return a(this.a); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/e.java b/app/src/main/java/c/i/a/c/a2/h0/e.java deleted file mode 100644 index 9e69cc3903..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/e.java +++ /dev/null @@ -1,1672 +0,0 @@ -package c.i.a.c.a2.h0; - -import android.util.Log; -import android.util.Pair; -import androidx.annotation.Nullable; -import androidx.recyclerview.widget.RecyclerView; -import c.i.a.c.a2.h0.d; -import c.i.a.c.a2.p; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.s; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import c.i.a.c.j2.j; -import c.i.a.c.j2.k; -import c.i.a.c.j2.m; -import c.i.a.c.v1.k; -import c.i.a.c.v1.l; -import c.i.b.b.u; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import com.google.android.exoplayer2.drm.DrmInitData; -import com.google.android.material.snackbar.BaseTransientBottomBar; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.Objects; -/* compiled from: AtomParsers */ -public final class e { - public static final byte[] a = f0.w("OpusHead"); - - /* compiled from: AtomParsers */ - public interface a { - int a(); - - int b(); - - int c(); - } - - /* compiled from: AtomParsers */ - public static final class b implements a { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final w f730c; - - public b(d.b bVar, Format format) { - w wVar = bVar.b; - this.f730c = wVar; - wVar.D(12); - int v = wVar.v(); - if ("audio/raw".equals(format.t)) { - int s = f0.s(format.I, format.G); - if (v == 0 || v % s != 0) { - Log.w("AtomParsers", "Audio sample size mismatch. stsd sample size: " + s + ", stsz sample size: " + v); - v = s; - } - } - this.a = v == 0 ? -1 : v; - this.b = wVar.v(); - } - - @Override // c.i.a.c.a2.h0.e.a - public int a() { - return this.a; - } - - @Override // c.i.a.c.a2.h0.e.a - public int b() { - return this.b; - } - - @Override // c.i.a.c.a2.h0.e.a - public int c() { - int i = this.a; - return i == -1 ? this.f730c.v() : i; - } - } - - /* compiled from: AtomParsers */ - public static final class c implements a { - public final w a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f731c; - public int d; - public int e; - - public c(d.b bVar) { - w wVar = bVar.b; - this.a = wVar; - wVar.D(12); - this.f731c = wVar.v() & 255; - this.b = wVar.v(); - } - - @Override // c.i.a.c.a2.h0.e.a - public int a() { - return -1; - } - - @Override // c.i.a.c.a2.h0.e.a - public int b() { - return this.b; - } - - @Override // c.i.a.c.a2.h0.e.a - public int c() { - int i = this.f731c; - if (i == 8) { - return this.a.s(); - } - if (i == 16) { - return this.a.x(); - } - int i2 = this.d; - this.d = i2 + 1; - if (i2 % 2 != 0) { - return this.e & 15; - } - int s = this.a.s(); - this.e = s; - return (s & 240) >> 4; - } - } - - public static Pair a(w wVar, int i) { - wVar.D(i + 8 + 4); - wVar.E(1); - b(wVar); - wVar.E(2); - int s = wVar.s(); - if ((s & 128) != 0) { - wVar.E(2); - } - if ((s & 64) != 0) { - wVar.E(wVar.x()); - } - if ((s & 32) != 0) { - wVar.E(2); - } - wVar.E(1); - b(wVar); - String d = s.d(wVar.s()); - if ("audio/mpeg".equals(d) || "audio/vnd.dts".equals(d) || "audio/vnd.dts.hd".equals(d)) { - return Pair.create(d, null); - } - wVar.E(12); - wVar.E(1); - int b2 = b(wVar); - byte[] bArr = new byte[b2]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, b2); - wVar.b += b2; - return Pair.create(d, bArr); - } - - public static int b(w wVar) { - int s = wVar.s(); - int i = s & 127; - while ((s & 128) == 128) { - s = wVar.s(); - i = (i << 7) | (s & 127); - } - return i; - } - - @Nullable - public static Pair c(w wVar, int i, int i2) { - Pair pair; - Integer num; - n nVar; - int i3; - int i4; - byte[] bArr; - int i5 = wVar.b; - while (i5 - i < i2) { - wVar.D(i5); - int f = wVar.f(); - c.c.a.a0.d.E(f > 0, "childAtomSize should be positive"); - if (wVar.f() == 1936289382) { - int i6 = i5 + 8; - int i7 = -1; - int i8 = 0; - String str = null; - Integer num2 = null; - while (i6 - i5 < f) { - wVar.D(i6); - int f2 = wVar.f(); - int f3 = wVar.f(); - if (f3 == 1718775137) { - num2 = Integer.valueOf(wVar.f()); - } else if (f3 == 1935894637) { - wVar.E(4); - str = wVar.p(4); - } else if (f3 == 1935894633) { - i7 = i6; - i8 = f2; - } - i6 += f2; - } - if ("cenc".equals(str) || "cbc1".equals(str) || "cens".equals(str) || "cbcs".equals(str)) { - c.c.a.a0.d.I(num2, "frma atom is mandatory"); - c.c.a.a0.d.E(i7 != -1, "schi atom is mandatory"); - int i9 = i7 + 8; - while (true) { - if (i9 - i7 >= i8) { - num = num2; - nVar = null; - break; - } - wVar.D(i9); - int f4 = wVar.f(); - if (wVar.f() == 1952804451) { - int f5 = (wVar.f() >> 24) & 255; - wVar.E(1); - if (f5 == 0) { - wVar.E(1); - i4 = 0; - i3 = 0; - } else { - int s = wVar.s(); - i4 = s & 15; - i3 = (s & 240) >> 4; - } - boolean z2 = wVar.s() == 1; - int s2 = wVar.s(); - byte[] bArr2 = new byte[16]; - System.arraycopy(wVar.a, wVar.b, bArr2, 0, 16); - wVar.b += 16; - if (!z2 || s2 != 0) { - bArr = null; - } else { - int s3 = wVar.s(); - byte[] bArr3 = new byte[s3]; - System.arraycopy(wVar.a, wVar.b, bArr3, 0, s3); - wVar.b += s3; - bArr = bArr3; - } - num = num2; - nVar = new n(z2, str, s2, bArr2, i3, i4, bArr); - } else { - i9 += f4; - } - } - c.c.a.a0.d.I(nVar, "tenc atom is mandatory"); - pair = Pair.create(num, nVar); - } else { - pair = null; - } - if (pair != null) { - return pair; - } - } - i5 += f; - } - return null; - } - - /* JADX WARNING: Removed duplicated region for block: B:144:0x0343 */ - /* JADX WARNING: Removed duplicated region for block: B:145:0x0346 */ - /* JADX WARNING: Removed duplicated region for block: B:150:0x0361 */ - /* JADX WARNING: Removed duplicated region for block: B:152:0x0374 */ - /* JADX WARNING: Removed duplicated region for block: B:52:0x0112 */ - /* JADX WARNING: Removed duplicated region for block: B:78:0x01bc */ - public static p d(m mVar, d.a aVar, p pVar) throws ParserException { - a aVar2; - boolean z2; - int i; - int i2; - int i3; - int a2; - String str; - long[] jArr; - long[] jArr2; - long j; - boolean z3; - m mVar2; - int i4; - int[] iArr; - int i5; - int[] iArr2; - int i6; - int i7; - int i8; - int i9; - long[] jArr3; - int i10; - int i11; - int[] iArr3; - int[] iArr4; - int[] iArr5; - boolean z4; - d.b c2 = aVar.c(1937011578); - if (c2 != null) { - aVar2 = new b(c2, mVar.f); - } else { - d.b c3 = aVar.c(1937013298); - if (c3 != null) { - aVar2 = new c(c3); - } else { - throw new ParserException("Track has no sample table size information"); - } - } - int b2 = aVar2.b(); - if (b2 == 0) { - return new p(mVar, new long[0], new int[0], 0, new long[0], new int[0], 0); - } - d.b c4 = aVar.c(1937007471); - if (c4 == null) { - c4 = aVar.c(1668232756); - Objects.requireNonNull(c4); - z2 = true; - } else { - z2 = false; - } - w wVar = c4.b; - d.b c5 = aVar.c(1937011555); - Objects.requireNonNull(c5); - w wVar2 = c5.b; - d.b c6 = aVar.c(1937011827); - Objects.requireNonNull(c6); - w wVar3 = c6.b; - d.b c7 = aVar.c(1937011571); - w wVar4 = c7 != null ? c7.b : null; - d.b c8 = aVar.c(1668576371); - w wVar5 = c8 != null ? c8.b : null; - wVar.D(12); - int v = wVar.v(); - wVar2.D(12); - int v2 = wVar2.v(); - c.c.a.a0.d.E(wVar2.f() == 1, "first_chunk must be 1"); - wVar3.D(12); - int v3 = wVar3.v() - 1; - int v4 = wVar3.v(); - int v5 = wVar3.v(); - if (wVar5 != null) { - wVar5.D(12); - i = wVar5.v(); - } else { - i = 0; - } - if (wVar4 != null) { - wVar4.D(12); - i3 = wVar4.v(); - if (i3 > 0) { - i2 = wVar4.v() - 1; - a2 = aVar2.a(); - int i12 = v2; - str = mVar.f.t; - if (!(a2 == -1 && ("audio/raw".equals(str) || "audio/g711-mlaw".equals(str) || "audio/g711-alaw".equals(str)) && v3 == 0 && i == 0 && i3 == 0)) { - long[] jArr4 = new long[v]; - int[] iArr6 = new int[v]; - int i13 = 0; - int i14 = 0; - int i15 = -1; - long j2 = 0; - while (true) { - i15++; - if (i15 == v) { - z4 = false; - } else { - j2 = z2 ? wVar.w() : wVar.t(); - if (i15 == i13) { - i14 = wVar2.v(); - wVar2.E(4); - i12--; - i13 = i12 > 0 ? wVar2.v() - 1 : -1; - } - z4 = true; - } - if (!z4) { - break; - } - jArr4[i15] = j2; - iArr6[i15] = i14; - } - long j3 = (long) v5; - int i16 = 8192 / a2; - int i17 = 0; - for (int i18 = 0; i18 < v; i18++) { - i17 += f0.f(iArr6[i18], i16); - } - long[] jArr5 = new long[i17]; - int[] iArr7 = new int[i17]; - long[] jArr6 = new long[i17]; - int[] iArr8 = new int[i17]; - int i19 = 0; - int i20 = 0; - i5 = 0; - int i21 = 0; - while (i19 < v) { - int i22 = iArr6[i19]; - long j4 = jArr4[i19]; - int i23 = i22; - while (i23 > 0) { - int min = Math.min(i16, i23); - jArr5[i21] = j4; - iArr7[i21] = a2 * min; - i5 = Math.max(i5, iArr7[i21]); - jArr6[i21] = ((long) i20) * j3; - iArr8[i21] = 1; - j4 += (long) iArr7[i21]; - i20 += min; - i23 -= min; - i21++; - i16 = i16; - a2 = a2; - iArr6 = iArr6; - } - i19++; - jArr4 = jArr4; - iArr6 = iArr6; - } - j = j3 * ((long) i20); - i4 = b2; - jArr = jArr5; - iArr2 = iArr8; - iArr = iArr7; - jArr2 = jArr6; - mVar2 = mVar; - } else { - jArr = new long[b2]; - int[] iArr9 = new int[b2]; - jArr2 = new long[b2]; - int[] iArr10 = new int[b2]; - int i24 = -1; - int i25 = 0; - int i26 = 0; - int i27 = 0; - long j5 = 0; - long j6 = 0; - long j7 = 0; - int i28 = v5; - int i29 = i2; - int i30 = i3; - int i31 = 0; - int i32 = 0; - int i33 = v4; - int i34 = v3; - int i35 = i; - int i36 = 0; - int i37 = 0; - while (true) { - if (i36 >= b2) { - break; - } - boolean z5 = true; - int i38 = i25; - while (true) { - if (i27 != 0) { - i7 = i29; - break; - } - i7 = i29; - int i39 = i24 + 1; - if (i39 == v) { - z5 = false; - } else { - j5 = z2 ? wVar.w() : wVar.t(); - if (i39 == i38) { - i26 = wVar2.v(); - wVar2.E(4); - i12--; - i38 = i12 > 0 ? wVar2.v() - 1 : -1; - } - z5 = true; - } - i24 = i39; - if (!z5) { - break; - } - i27 = i26; - i29 = i7; - j6 = j5; - } - if (!z5) { - Log.w("AtomParsers", "Unexpected end of chunk data"); - jArr = Arrays.copyOf(jArr, i36); - iArr9 = Arrays.copyOf(iArr9, i36); - jArr2 = Arrays.copyOf(jArr2, i36); - iArr10 = Arrays.copyOf(iArr10, i36); - b2 = i36; - break; - } - if (wVar5 != null) { - while (i32 == 0 && i35 > 0) { - i32 = wVar5.v(); - i31 = wVar5.f(); - i35--; - } - i32--; - } - jArr[i36] = j6; - iArr9[i36] = aVar2.c(); - if (iArr9[i36] > i37) { - i37 = iArr9[i36]; - } - jArr2[i36] = j7 + ((long) i31); - iArr10[i36] = wVar4 == null ? 1 : 0; - int i40 = i7; - if (i36 == i40) { - iArr10[i36] = 1; - i30--; - if (i30 > 0) { - Objects.requireNonNull(wVar4); - i40 = wVar4.v() - 1; - } - } - j7 += (long) i28; - i33--; - if (i33 != 0 || i34 <= 0) { - i9 = i28; - i8 = i34; - } else { - int v6 = wVar3.v(); - i9 = wVar3.f(); - i8 = i34 - 1; - i33 = v6; - } - j6 += (long) iArr9[i36]; - i27--; - i36++; - i31 = i31; - i29 = i40; - b2 = b2; - i25 = i38; - jArr = jArr; - i28 = i9; - i34 = i8; - } - j = j7 + ((long) i31); - if (wVar5 != null) { - while (true) { - if (i35 <= 0) { - break; - } else if (wVar5.v() != 0) { - z3 = false; - break; - } else { - wVar5.f(); - i35--; - } - } - if (i30 != 0 && i33 == 0 && i27 == 0 && i34 == 0) { - i6 = i32; - if (i6 == 0 && z3) { - mVar2 = mVar; - i4 = b2; - iArr = iArr9; - i5 = i37; - iArr2 = iArr10; - } - } else { - i6 = i32; - } - StringBuilder O = c.d.b.a.a.O("Inconsistent stbl box for track "); - mVar2 = mVar; - O.append(mVar2.a); - O.append(": remainingSynchronizationSamples "); - O.append(i30); - O.append(", remainingSamplesAtTimestampDelta "); - O.append(i33); - O.append(", remainingSamplesInChunk "); - O.append(i27); - O.append(", remainingTimestampDeltaChanges "); - O.append(i34); - O.append(", remainingSamplesAtTimestampOffset "); - O.append(i6); - c.d.b.a.a.m0(O, z3 ? ", ctts invalid" : "", "AtomParsers"); - i4 = b2; - iArr = iArr9; - i5 = i37; - iArr2 = iArr10; - } - z3 = true; - if (i30 != 0) { - } - i6 = i32; - StringBuilder O = c.d.b.a.a.O("Inconsistent stbl box for track "); - mVar2 = mVar; - O.append(mVar2.a); - O.append(": remainingSynchronizationSamples "); - O.append(i30); - O.append(", remainingSamplesAtTimestampDelta "); - O.append(i33); - O.append(", remainingSamplesInChunk "); - O.append(i27); - O.append(", remainingTimestampDeltaChanges "); - O.append(i34); - O.append(", remainingSamplesAtTimestampOffset "); - O.append(i6); - c.d.b.a.a.m0(O, z3 ? ", ctts invalid" : "", "AtomParsers"); - i4 = b2; - iArr = iArr9; - i5 = i37; - iArr2 = iArr10; - } - long E = f0.E(j, 1000000, mVar2.f748c); - jArr3 = mVar2.h; - if (jArr3 != null) { - f0.F(jArr2, 1000000, mVar2.f748c); - return new p(mVar, jArr, iArr, i5, jArr2, iArr2, E); - } - if (jArr3.length == 1 && mVar2.b == 1 && jArr2.length >= 2) { - long[] jArr7 = mVar2.i; - Objects.requireNonNull(jArr7); - long j8 = jArr7[0]; - long E2 = f0.E(mVar2.h[0], mVar2.f748c, mVar2.d) + j8; - int length = jArr2.length - 1; - i10 = i4; - if (jArr2[0] <= j8 && j8 < jArr2[f0.h(4, 0, length)] && jArr2[f0.h(jArr2.length - 4, 0, length)] < E2 && E2 <= j) { - long j9 = j - E2; - long E3 = f0.E(j8 - jArr2[0], (long) mVar2.f.H, mVar2.f748c); - long E4 = f0.E(j9, (long) mVar2.f.H, mVar2.f748c); - if (!(E3 == 0 && E4 == 0) && E3 <= 2147483647L && E4 <= 2147483647L) { - pVar.b = (int) E3; - pVar.f805c = (int) E4; - f0.F(jArr2, 1000000, mVar2.f748c); - return new p(mVar, jArr, iArr, i5, jArr2, iArr2, f0.E(mVar2.h[0], 1000000, mVar2.d)); - } - } - } else { - i10 = i4; - } - long[] jArr8 = mVar2.h; - if (jArr8.length == 1 && jArr8[0] == 0) { - long[] jArr9 = mVar2.i; - Objects.requireNonNull(jArr9); - long j10 = jArr9[0]; - for (int i41 = 0; i41 < jArr2.length; i41++) { - jArr2[i41] = f0.E(jArr2[i41] - j10, 1000000, mVar2.f748c); - } - return new p(mVar, jArr, iArr, i5, jArr2, iArr2, f0.E(j - j10, 1000000, mVar2.f748c)); - } - boolean z6 = mVar2.b == 1; - int[] iArr11 = new int[jArr8.length]; - int[] iArr12 = new int[jArr8.length]; - long[] jArr10 = mVar2.i; - Objects.requireNonNull(jArr10); - int i42 = 0; - int i43 = 0; - int i44 = 0; - boolean z7 = false; - while (true) { - long[] jArr11 = mVar2.h; - if (i42 >= jArr11.length) { - break; - } - long j11 = jArr10[i42]; - if (j11 != -1) { - iArr5 = iArr; - long E5 = f0.E(jArr11[i42], mVar2.f748c, mVar2.d); - iArr11[i42] = f0.e(jArr2, j11, true, true); - iArr12[i42] = f0.b(jArr2, j11 + E5, z6, false); - while (iArr11[i42] < iArr12[i42] && (iArr2[iArr11[i42]] & 1) == 0) { - iArr11[i42] = iArr11[i42] + 1; - } - int i45 = (iArr12[i42] - iArr11[i42]) + i43; - z7 |= i44 != iArr11[i42]; - i44 = iArr12[i42]; - i43 = i45; - } else { - iArr5 = iArr; - } - i42++; - jArr = jArr; - iArr = iArr5; - } - int[] iArr13 = iArr; - int i46 = 0; - boolean z8 = true; - if (i43 == i10) { - z8 = false; - } - boolean z9 = z7 | z8; - long[] jArr12 = z9 ? new long[i43] : jArr; - int[] iArr14 = z9 ? new int[i43] : iArr13; - if (z9) { - i5 = 0; - } - int[] iArr15 = z9 ? new int[i43] : iArr2; - long[] jArr13 = new long[i43]; - int i47 = 0; - long j12 = 0; - while (i46 < mVar2.h.length) { - long j13 = mVar2.i[i46]; - int i48 = iArr11[i46]; - int i49 = iArr12[i46]; - if (z9) { - iArr3 = iArr12; - int i50 = i49 - i48; - i11 = i5; - System.arraycopy(jArr, i48, jArr12, i47, i50); - iArr4 = iArr13; - System.arraycopy(iArr4, i48, iArr14, i47, i50); - System.arraycopy(iArr2, i48, iArr15, i47, i50); - } else { - iArr3 = iArr12; - i11 = i5; - iArr4 = iArr13; - } - int i51 = i11; - while (i48 < i49) { - jArr13[i47] = f0.E(j12, 1000000, mVar2.d) + f0.E(Math.max(0L, jArr2[i48] - j13), 1000000, mVar2.f748c); - if (z9 && iArr14[i47] > i51) { - i51 = iArr4[i48]; - } - i47++; - i48++; - jArr12 = jArr12; - j12 = j12; - jArr2 = jArr2; - iArr2 = iArr2; - i49 = i49; - } - j12 += mVar2.h[i46]; - i46++; - jArr12 = jArr12; - iArr11 = iArr11; - iArr13 = iArr4; - i5 = i51; - iArr12 = iArr3; - } - return new p(mVar, jArr12, iArr14, i5, jArr13, iArr15, f0.E(j12, 1000000, mVar2.d)); - } - wVar4 = null; - } else { - i3 = 0; - } - i2 = -1; - a2 = aVar2.a(); - int i12 = v2; - str = mVar.f.t; - if (!(a2 == -1 && ("audio/raw".equals(str) || "audio/g711-mlaw".equals(str) || "audio/g711-alaw".equals(str)) && v3 == 0 && i == 0 && i3 == 0)) { - } - long E = f0.E(j, 1000000, mVar2.f748c); - jArr3 = mVar2.h; - if (jArr3 != null) { - } - } - - /* JADX WARNING: Code restructure failed: missing block: B:48:0x00e3, code lost: - if (r8 == 0) goto L_0x00e5; - */ - /* JADX WARNING: Removed duplicated region for block: B:292:0x0522 */ - /* JADX WARNING: Removed duplicated region for block: B:521:0x0a9a */ - /* JADX WARNING: Removed duplicated region for block: B:524:0x0ac1 */ - /* JADX WARNING: Removed duplicated region for block: B:525:0x0ac6 */ - public static List

e(d.a aVar, p pVar, long j, @Nullable DrmInitData drmInitData, boolean z2, boolean z3, c.i.b.a.e eVar) throws ParserException { - int i; - ArrayList arrayList; - c.i.b.a.e eVar2; - m mVar; - m apply; - boolean z4; - long j2; - long[] jArr; - long[] jArr2; - Pair pair; - ArrayList arrayList2; - int i2; - boolean z5; - n[] nVarArr; - int i3; - Pair pair2; - d.a aVar2; - String str; - int i4; - int i5; - int i6; - DrmInitData drmInitData2; - int i7; - List list; - int i8; - List list2; - String str2; - int i9; - List list3; - String str3; - String str4; - int i10; - int i11; - int i12; - d.a aVar3; - d.a aVar4; - int i13; - int i14; - int i15; - DrmInitData drmInitData3; - int i16; - String str5; - u uVar; - int i17; - int i18; - int i19; - String str6; - int i20; - boolean z6; - String str7; - int i21; - String str8; - int i22; - int i23; - Format format; - List list4; - String str9; - String str10; - long j3; - u uVar2; - d.a aVar5 = aVar; - DrmInitData drmInitData4 = drmInitData; - ArrayList arrayList3 = new ArrayList(); - int i24 = 0; - while (i24 < aVar5.d.size()) { - d.a aVar6 = aVar5.d.get(i24); - if (aVar6.a != 1953653099) { - i = i24; - } else { - d.b c2 = aVar5.c(1836476516); - Objects.requireNonNull(c2); - d.a b2 = aVar6.b(1835297121); - Objects.requireNonNull(b2); - d.b c3 = b2.c(1751411826); - Objects.requireNonNull(c3); - w wVar = c3.b; - wVar.D(16); - int f = wVar.f(); - int i25 = f == 1936684398 ? 1 : f == 1986618469 ? 2 : (f == 1952807028 || f == 1935832172 || f == 1937072756 || f == 1668047728) ? 3 : f == 1835365473 ? 5 : -1; - if (i25 == -1) { - arrayList = arrayList3; - i = i24; - } else { - d.b c4 = aVar6.c(1953196132); - Objects.requireNonNull(c4); - w wVar2 = c4.b; - int i26 = 8; - wVar2.D(8); - int f2 = (wVar2.f() >> 24) & 255; - wVar2.E(f2 == 0 ? 8 : 16); - int f3 = wVar2.f(); - wVar2.E(4); - int i27 = wVar2.b; - if (f2 == 0) { - i26 = 4; - } - int i28 = 0; - while (true) { - if (i28 >= i26) { - z4 = true; - break; - } else if (wVar2.a[i27 + i28] != -1) { - z4 = false; - break; - } else { - i28++; - } - } - if (z4) { - wVar2.E(i26); - } else { - j2 = f2 == 0 ? wVar2.t() : wVar2.w(); - } - j2 = -9223372036854775807L; - wVar2.E(16); - int f4 = wVar2.f(); - int f5 = wVar2.f(); - wVar2.E(4); - int f6 = wVar2.f(); - int f7 = wVar2.f(); - int i29 = (f4 == 0 && f5 == 65536 && f6 == -65536 && f7 == 0) ? 90 : (f4 == 0 && f5 == -65536 && f6 == 65536 && f7 == 0) ? 270 : (f4 == -65536 && f5 == 0 && f6 == 0 && f7 == -65536) ? BaseTransientBottomBar.ANIMATION_FADE_DURATION : 0; - long j4 = j == -9223372036854775807L ? j2 : j; - w wVar3 = c2.b; - wVar3.D(8); - wVar3.E(((wVar3.f() >> 24) & 255) == 0 ? 8 : 16); - long t = wVar3.t(); - long j5 = -9223372036854775807L; - if (j4 != -9223372036854775807L) { - j5 = f0.E(j4, 1000000, t); - } - d.a b3 = b2.b(1835626086); - Objects.requireNonNull(b3); - d.a b4 = b3.b(1937007212); - Objects.requireNonNull(b4); - d.b c5 = b2.c(1835296868); - Objects.requireNonNull(c5); - w wVar4 = c5.b; - wVar4.D(8); - int f8 = (wVar4.f() >> 24) & 255; - wVar4.E(f8 == 0 ? 8 : 16); - long t2 = wVar4.t(); - wVar4.E(f8 == 0 ? 4 : 8); - int x2 = wVar4.x(); - StringBuilder O = c.d.b.a.a.O(""); - O.append((char) (((x2 >> 10) & 31) + 96)); - O.append((char) (((x2 >> 5) & 31) + 96)); - O.append((char) ((x2 & 31) + 96)); - Pair create = Pair.create(Long.valueOf(t2), O.toString()); - d.b c6 = b4.c(1937011556); - Objects.requireNonNull(c6); - w wVar5 = c6.b; - String str11 = (String) create.second; - wVar5.D(12); - int f9 = wVar5.f(); - n[] nVarArr2 = new n[f9]; - int i30 = 0; - Format format2 = null; - int i31 = 0; - int i32 = 0; - while (i30 < f9) { - int i33 = wVar5.b; - int f10 = wVar5.f(); - if (f10 > 0) { - arrayList2 = arrayList3; - i2 = i24; - z5 = true; - } else { - arrayList2 = arrayList3; - i2 = i24; - z5 = false; - } - String str12 = "childAtomSize should be positive"; - c.c.a.a0.d.E(z5, str12); - int f11 = wVar5.f(); - if (f11 == 1635148593 || f11 == 1635148595 || f11 == 1701733238 || f11 == 1831958048 || f11 == 1836070006 || f11 == 1752589105 || f11 == 1751479857 || f11 == 1932670515 || f11 == 1987063864 || f11 == 1987063865 || f11 == 1635135537 || f11 == 1685479798 || f11 == 1685479729 || f11 == 1685481573 || f11 == 1685481521) { - aVar2 = aVar6; - pair2 = create; - i4 = i25; - i3 = i30; - nVarArr = nVarArr2; - wVar5.D(i33 + 8 + 8); - wVar5.E(16); - int x3 = wVar5.x(); - int x4 = wVar5.x(); - wVar5.E(50); - int i34 = wVar5.b; - if (f11 == 1701733238) { - i6 = i33; - i5 = f10; - Pair c7 = c(wVar5, i6, i5); - if (c7 != null) { - f11 = ((Integer) c7.first).intValue(); - drmInitData2 = drmInitData == null ? null : drmInitData.a(((n) c7.second).b); - nVarArr[i3] = (n) c7.second; - } else { - drmInitData2 = drmInitData; - } - wVar5.D(i34); - } else { - i6 = i33; - i5 = f10; - drmInitData2 = drmInitData; - } - String str13 = f11 == 1831958048 ? "video/mpeg" : null; - int i35 = -1; - byte[] bArr = null; - float f12 = 1.0f; - boolean z7 = false; - List list5 = null; - str = str11; - String str14 = null; - while (true) { - if (i34 - i6 >= i5) { - i7 = i35; - list = list5; - break; - } - wVar5.D(i34); - int i36 = wVar5.b; - list = list5; - int f13 = wVar5.f(); - i7 = i35; - if (f13 == 0 && wVar5.b - i6 == i5) { - break; - } - c.c.a.a0.d.E(f13 > 0, str12); - int f14 = wVar5.f(); - if (f14 == 1635148611) { - c.c.a.a0.d.D(str13 == null); - wVar5.D(i36 + 8); - j b5 = j.b(wVar5); - list3 = b5.a; - i9 = b5.b; - if (!z7) { - f12 = b5.e; - } - str3 = b5.f; - str2 = "video/avc"; - } else if (f14 == 1752589123) { - c.c.a.a0.d.D(str13 == null); - wVar5.D(i36 + 8); - m a2 = m.a(wVar5); - list3 = a2.a; - i9 = a2.b; - str3 = a2.f982c; - str2 = "video/hevc"; - } else if (f14 == 1685480259 || f14 == 1685485123) { - i8 = f11; - k a3 = k.a(wVar5); - if (a3 != null) { - str14 = a3.a; - str13 = "video/dolby-vision"; - } - i35 = i7; - i34 += f13; - list5 = list; - str12 = str12; - f11 = i8; - } else { - if (f14 == 1987076931) { - c.c.a.a0.d.D(str13 == null); - str4 = f11 == 1987063864 ? "video/x-vnd.on2.vp8" : "video/x-vnd.on2.vp9"; - } else if (f14 == 1635135811) { - c.c.a.a0.d.D(str13 == null); - str4 = "video/av01"; - } else if (f14 == 1681012275) { - c.c.a.a0.d.D(str13 == null); - str4 = "video/3gpp"; - } else if (f14 == 1702061171) { - c.c.a.a0.d.D(str13 == null); - Pair a4 = a(wVar5, i36); - str13 = (String) a4.first; - byte[] bArr2 = (byte[]) a4.second; - if (bArr2 != null) { - list2 = u.t(bArr2); - list = list2; - } - i8 = f11; - i35 = i7; - i34 += f13; - list5 = list; - str12 = str12; - f11 = i8; - } else { - if (f14 == 1885434736) { - wVar5.D(i36 + 8); - f12 = ((float) wVar5.v()) / ((float) wVar5.v()); - i8 = f11; - i35 = i7; - z7 = true; - } else { - if (f14 == 1937126244) { - int i37 = i36 + 8; - while (true) { - if (i37 - i36 >= f13) { - i8 = f11; - bArr = null; - break; - } - wVar5.D(i37); - int f15 = wVar5.f(); - i8 = f11; - if (wVar5.f() == 1886547818) { - bArr = Arrays.copyOfRange(wVar5.a, i37, f15 + i37); - break; - } - i37 += f15; - f11 = i8; - } - } else { - i8 = f11; - if (f14 == 1936995172) { - int s = wVar5.s(); - wVar5.E(3); - if (s == 0) { - int s2 = wVar5.s(); - if (s2 == 0) { - i35 = 0; - } else if (s2 == 1) { - i35 = 1; - } else if (s2 == 2) { - i35 = 2; - } else if (s2 == 3) { - i35 = 3; - } - } - } - } - i35 = i7; - } - i34 += f13; - list5 = list; - str12 = str12; - f11 = i8; - } - str13 = str4; - i8 = f11; - i35 = i7; - i34 += f13; - list5 = list; - str12 = str12; - f11 = i8; - } - i32 = i9; - str14 = str3; - list2 = list3; - str13 = str2; - list = list2; - i8 = f11; - i35 = i7; - i34 += f13; - list5 = list; - str12 = str12; - f11 = i8; - } - if (str13 == null) { - i29 = i29; - } else { - Format.b r0 = c.d.b.a.a.r0(f3); - r0.k = str13; - r0.h = str14; - r0.p = x3; - r0.q = x4; - r0.t = f12; - i29 = i29; - r0.s = i29; - r0.u = bArr; - r0.v = i7; - r0.m = list; - r0.n = drmInitData2; - format2 = r0.a(); - } - } else { - i4 = i25; - if (f11 == 1836069985 || f11 == 1701733217 || f11 == 1633889587 || f11 == 1700998451 || f11 == 1633889588 || f11 == 1685353315 || f11 == 1685353317 || f11 == 1685353320 || f11 == 1685353324 || f11 == 1935764850 || f11 == 1935767394 || f11 == 1819304813 || f11 == 1936684916 || f11 == 1953984371 || f11 == 778924082 || f11 == 778924083 || f11 == 1634492771 || f11 == 1634492791 || f11 == 1970037111 || f11 == 1332770163 || f11 == 1716281667) { - aVar4 = aVar6; - wVar5.D(i33 + 8 + 8); - if (z3) { - i13 = wVar5.x(); - wVar5.E(6); - } else { - wVar5.E(8); - i13 = 0; - } - if (i13 == 0 || i13 == 1) { - int x5 = wVar5.x(); - wVar5.E(6); - byte[] bArr3 = wVar5.a; - int i38 = wVar5.b; - aVar2 = aVar4; - int i39 = i38 + 1; - wVar5.b = i39; - pair2 = create; - int i40 = i39 + 1; - wVar5.b = i40; - i14 = (bArr3[i39] & 255) | ((bArr3[i38] & 255) << 8); - wVar5.b = i40 + 2; - if (i13 == 1) { - wVar5.E(16); - } - i15 = x5; - } else if (i13 == 2) { - wVar5.E(16); - i14 = (int) Math.round(Double.longBitsToDouble(wVar5.m())); - i15 = wVar5.v(); - wVar5.E(20); - pair2 = create; - aVar2 = aVar4; - } - int i41 = wVar5.b; - if (f11 == 1701733217) { - Pair c8 = c(wVar5, i33, f10); - if (c8 != null) { - f11 = ((Integer) c8.first).intValue(); - drmInitData3 = drmInitData4 == null ? null : drmInitData4.a(((n) c8.second).b); - nVarArr2[i30] = (n) c8.second; - } else { - drmInitData3 = drmInitData4; - } - wVar5.D(i41); - } else { - drmInitData3 = drmInitData4; - } - String str15 = "audio/ac3"; - String str16 = "audio/raw"; - if (f11 == 1633889587) { - str16 = str15; - } else if (f11 == 1700998451) { - str16 = "audio/eac3"; - } else if (f11 == 1633889588) { - str16 = "audio/ac4"; - } else { - if (f11 == 1685353315) { - str10 = "audio/vnd.dts"; - } else if (f11 == 1685353320 || f11 == 1685353324) { - str10 = "audio/vnd.dts.hd"; - } else if (f11 == 1685353317) { - str10 = "audio/vnd.dts.hd;profile=lbr"; - } else if (f11 == 1935764850) { - str10 = "audio/3gpp"; - } else if (f11 == 1935767394) { - str10 = "audio/amr-wb"; - } else if (f11 == 1819304813 || f11 == 1936684916) { - i16 = 2; - str5 = null; - uVar = null; - i17 = i41; - i12 = i29; - i18 = i14; - i19 = i15; - i3 = i30; - nVarArr = nVarArr2; - str6 = str16; - while (i17 - i33 < f10) { - wVar5.D(i17); - int f16 = wVar5.f(); - if (f16 > 0) { - i20 = f10; - z6 = true; - } else { - i20 = f10; - z6 = false; - } - c.c.a.a0.d.E(z6, str12); - int f17 = wVar5.f(); - if (f17 == 1702061171) { - str8 = str5; - i21 = i16; - str7 = str15; - i22 = 1702061171; - } else if (!z3 || f17 != 2002876005) { - if (f17 == 1684103987) { - wVar5.D(i17 + 8); - String num = Integer.toString(f3); - int i42 = l.b[(wVar5.s() & 192) >> 6]; - int s3 = wVar5.s(); - int i43 = l.d[(s3 & 56) >> 3]; - if ((s3 & 4) != 0) { - i43++; - } - i21 = i16; - str8 = str5; - Format.b bVar = new Format.b(); - bVar.a = num; - bVar.k = str15; - bVar.f2702x = i43; - bVar.f2703y = i42; - bVar.n = drmInitData3; - bVar.f2699c = str11; - format = bVar.a(); - str7 = str15; - } else { - str8 = str5; - i21 = i16; - if (f17 == 1684366131) { - wVar5.D(i17 + 8); - String num2 = Integer.toString(f3); - wVar5.E(2); - int i44 = l.b[(wVar5.s() & 192) >> 6]; - int s4 = wVar5.s(); - int i45 = l.d[(s4 & 14) >> 1]; - if ((s4 & 1) != 0) { - i45++; - } - if (((wVar5.s() & 30) >> 1) > 0 && (wVar5.s() & 2) != 0) { - i45 += 2; - } - if (wVar5.a() <= 0 || (wVar5.s() & 1) == 0) { - str7 = str15; - str9 = "audio/eac3"; - } else { - str9 = "audio/eac3-joc"; - str7 = str15; - } - Format.b bVar2 = new Format.b(); - bVar2.a = num2; - bVar2.k = str9; - bVar2.f2702x = i45; - bVar2.f2703y = i44; - bVar2.n = drmInitData3; - bVar2.f2699c = str11; - format = bVar2.a(); - } else { - str7 = str15; - if (f17 == 1684103988) { - wVar5.D(i17 + 8); - String num3 = Integer.toString(f3); - wVar5.E(1); - int i46 = ((wVar5.s() & 32) >> 5) == 1 ? 48000 : 44100; - Format.b bVar3 = new Format.b(); - bVar3.a = num3; - bVar3.k = "audio/ac4"; - bVar3.f2702x = 2; - bVar3.f2703y = i46; - bVar3.n = drmInitData3; - bVar3.f2699c = str11; - format = bVar3.a(); - } else if (f17 == 1684305011) { - Format.b r02 = c.d.b.a.a.r0(f3); - r02.k = str6; - r02.f2702x = i19; - r02.f2703y = i18; - r02.n = drmInitData3; - r02.f2699c = str11; - format = r02.a(); - } else { - if (f17 == 1682927731) { - int i47 = f16 - 8; - byte[] bArr4 = a; - byte[] copyOf = Arrays.copyOf(bArr4, bArr4.length + i47); - wVar5.D(i17 + 8); - wVar5.e(copyOf, bArr4.length, i47); - list4 = c.c.a.a0.d.h(copyOf); - } else if (f17 == 1684425825) { - int i48 = f16 - 12; - byte[] bArr5 = new byte[(i48 + 4)]; - bArr5[0] = 102; - bArr5[1] = 76; - bArr5[2] = 97; - bArr5[3] = 67; - wVar5.D(i17 + 12); - System.arraycopy(wVar5.a, wVar5.b, bArr5, 4, i48); - wVar5.b += i48; - list4 = u.t(bArr5); - } else { - if (f17 == 1634492771) { - int i49 = f16 - 12; - byte[] bArr6 = new byte[i49]; - wVar5.D(i17 + 12); - System.arraycopy(wVar5.a, wVar5.b, bArr6, 0, i49); - wVar5.b += i49; - w wVar6 = new w(bArr6); - wVar6.D(9); - int s5 = wVar6.s(); - wVar6.D(20); - Pair create2 = Pair.create(Integer.valueOf(wVar6.v()), Integer.valueOf(s5)); - int intValue = ((Integer) create2.first).intValue(); - i19 = ((Integer) create2.second).intValue(); - uVar = u.t(bArr6); - i18 = intValue; - } - str5 = str8; - i17 += f16; - i33 = i33; - f10 = i20; - i16 = i21; - str15 = str7; - } - uVar = list4; - str5 = str8; - i17 += f16; - i33 = i33; - f10 = i20; - i16 = i21; - str15 = str7; - } - } - } - format2 = format; - str5 = str8; - i17 += f16; - i33 = i33; - f10 = i20; - i16 = i21; - str15 = str7; - } else { - i22 = 1702061171; - str8 = str5; - i21 = i16; - str7 = str15; - } - if (f17 != i22) { - i23 = wVar5.b; - while (true) { - if (i23 - i17 >= f16) { - i23 = -1; - break; - } - wVar5.D(i23); - int f18 = wVar5.f(); - c.c.a.a0.d.E(f18 > 0, str12); - if (wVar5.f() == 1702061171) { - break; - } - i23 += f18; - } - } else { - i23 = i17; - } - if (i23 != -1) { - Pair a5 = a(wVar5, i23); - String str17 = (String) a5.first; - byte[] bArr7 = (byte[]) a5.second; - if (bArr7 != null) { - if ("audio/mp4a-latm".equals(str17)) { - k.b c9 = c.i.a.c.v1.k.c(new v(bArr7), false); - i18 = c9.a; - i19 = c9.b; - str8 = c9.f1057c; - } - uVar = u.t(bArr7); - } - str5 = str8; - str6 = str17; - i17 += f16; - i33 = i33; - f10 = i20; - i16 = i21; - str15 = str7; - } - str5 = str8; - i17 += f16; - i33 = i33; - f10 = i20; - i16 = i21; - str15 = str7; - } - i10 = f10; - i11 = i33; - if (format2 == null && str6 != null) { - Format.b r03 = c.d.b.a.a.r0(f3); - r03.k = str6; - r03.h = str5; - r03.f2702x = i19; - r03.f2703y = i18; - r03.f2704z = i16; - r03.m = uVar; - r03.n = drmInitData3; - r03.f2699c = str11; - format2 = r03.a(); - } - str = str11; - i29 = i12; - i6 = i11; - i5 = i10; - } else if (f11 == 1953984371) { - i16 = 268435456; - str5 = null; - uVar = null; - i17 = i41; - i12 = i29; - i18 = i14; - i19 = i15; - i3 = i30; - nVarArr = nVarArr2; - str6 = str16; - while (i17 - i33 < f10) { - } - i10 = f10; - i11 = i33; - Format.b r03 = c.d.b.a.a.r0(f3); - r03.k = str6; - r03.h = str5; - r03.f2702x = i19; - r03.f2703y = i18; - r03.f2704z = i16; - r03.m = uVar; - r03.n = drmInitData3; - r03.f2699c = str11; - format2 = r03.a(); - str = str11; - i29 = i12; - i6 = i11; - i5 = i10; - } else { - str10 = (f11 == 778924082 || f11 == 778924083) ? "audio/mpeg" : f11 == 1634492771 ? "audio/alac" : f11 == 1634492791 ? "audio/g711-alaw" : f11 == 1970037111 ? "audio/g711-mlaw" : f11 == 1332770163 ? "audio/opus" : f11 == 1716281667 ? "audio/flac" : null; - } - str16 = str10; - } - i16 = -1; - str5 = null; - uVar = null; - i17 = i41; - i12 = i29; - i18 = i14; - i19 = i15; - i3 = i30; - nVarArr = nVarArr2; - str6 = str16; - while (i17 - i33 < f10) { - } - i10 = f10; - i11 = i33; - Format.b r03 = c.d.b.a.a.r0(f3); - r03.k = str6; - r03.h = str5; - r03.f2702x = i19; - r03.f2703y = i18; - r03.f2704z = i16; - r03.m = uVar; - r03.n = drmInitData3; - r03.f2699c = str11; - format2 = r03.a(); - str = str11; - i29 = i12; - i6 = i11; - i5 = i10; - } else if (f11 == 1414810956 || f11 == 1954034535 || f11 == 2004251764 || f11 == 1937010800 || f11 == 1664495672) { - wVar5.D(i33 + 8 + 8); - String str18 = "application/ttml+xml"; - if (f11 != 1414810956) { - if (f11 == 1954034535) { - int i50 = (f10 - 8) - 8; - byte[] bArr8 = new byte[i50]; - System.arraycopy(wVar5.a, wVar5.b, bArr8, 0, i50); - wVar5.b += i50; - uVar2 = u.t(bArr8); - str18 = "application/x-quicktime-tx3g"; - j3 = RecyclerView.FOREVER_NS; - aVar4 = aVar6; - Format.b r04 = c.d.b.a.a.r0(f3); - r04.k = str18; - r04.f2699c = str11; - r04.o = j3; - r04.m = uVar2; - format2 = r04.a(); - } else if (f11 == 2004251764) { - str18 = "application/x-mp4-vtt"; - } else { - if (f11 == 1937010800) { - uVar2 = null; - j3 = 0; - } else if (f11 == 1664495672) { - j3 = RecyclerView.FOREVER_NS; - str18 = "application/x-mp4-cea-608"; - uVar2 = null; - i31 = 1; - } else { - throw new IllegalStateException(); - } - aVar4 = aVar6; - Format.b r04 = c.d.b.a.a.r0(f3); - r04.k = str18; - r04.f2699c = str11; - r04.o = j3; - r04.m = uVar2; - format2 = r04.a(); - } - } - uVar2 = null; - j3 = RecyclerView.FOREVER_NS; - aVar4 = aVar6; - Format.b r04 = c.d.b.a.a.r0(f3); - r04.k = str18; - r04.f2699c = str11; - r04.o = j3; - r04.m = uVar2; - format2 = r04.a(); - } else { - if (f11 == 1835365492) { - wVar5.D(i33 + 8 + 8); - if (f11 == 1835365492) { - wVar5.n(); - String n = wVar5.n(); - if (n != null) { - Format.b r05 = c.d.b.a.a.r0(f3); - r05.k = n; - format2 = r05.a(); - } - } - } else if (f11 == 1667329389) { - Format.b r06 = c.d.b.a.a.r0(f3); - r06.k = "application/x-camera-motion"; - format2 = r06.a(); - } - aVar3 = aVar6; - i12 = i29; - pair2 = create; - i10 = f10; - aVar2 = aVar3; - i3 = i30; - i11 = i33; - nVarArr = nVarArr2; - str = str11; - i29 = i12; - i6 = i11; - i5 = i10; - } - aVar3 = aVar4; - i12 = i29; - pair2 = create; - i10 = f10; - aVar2 = aVar3; - i3 = i30; - i11 = i33; - nVarArr = nVarArr2; - str = str11; - i29 = i12; - i6 = i11; - i5 = i10; - } - wVar5.D(i6 + i5); - i30 = i3 + 1; - drmInitData4 = drmInitData; - f9 = f9; - i25 = i4; - t = t; - i24 = i2; - arrayList3 = arrayList2; - str11 = str; - aVar6 = aVar2; - create = pair2; - nVarArr2 = nVarArr; - } - arrayList = arrayList3; - i = i24; - if (!z2) { - aVar6 = aVar6; - d.a b6 = aVar6.b(1701082227); - if (b6 != null) { - d.b c10 = b6.c(1701606260); - if (c10 == null) { - pair = null; - } else { - w wVar7 = c10.b; - wVar7.D(8); - int f19 = (wVar7.f() >> 24) & 255; - int v = wVar7.v(); - long[] jArr3 = new long[v]; - long[] jArr4 = new long[v]; - for (int i51 = 0; i51 < v; i51++) { - jArr3[i51] = f19 == 1 ? wVar7.w() : wVar7.t(); - jArr4[i51] = f19 == 1 ? wVar7.m() : (long) wVar7.f(); - byte[] bArr9 = wVar7.a; - int i52 = wVar7.b; - int i53 = i52 + 1; - wVar7.b = i53; - wVar7.b = i53 + 1; - if (((short) ((bArr9[i53] & 255) | ((bArr9[i52] & 255) << 8))) == 1) { - wVar7.E(2); - } else { - throw new IllegalArgumentException("Unsupported media rate."); - } - } - pair = Pair.create(jArr3, jArr4); - } - if (pair != null) { - jArr = (long[]) pair.first; - jArr2 = (long[]) pair.second; - if (format2 != null) { - m mVar2 = new m(f3, i25, ((Long) create.first).longValue(), t, j5, format2, i31, nVarArr2, i32, jArr, jArr2); - eVar2 = eVar; - mVar = mVar2; - apply = eVar2.apply(mVar); - if (apply != null) { - arrayList3 = arrayList; - } else { - d.a b7 = aVar6.b(1835297121); - Objects.requireNonNull(b7); - d.a b8 = b7.b(1835626086); - Objects.requireNonNull(b8); - d.a b9 = b8.b(1937007212); - Objects.requireNonNull(b9); - p d = d(apply, b9, pVar); - arrayList3 = arrayList; - arrayList3.add(d); - } - } - } - } - } else { - aVar6 = aVar6; - } - jArr2 = null; - jArr = null; - if (format2 != null) { - } - } - mVar = null; - eVar2 = eVar; - apply = eVar2.apply(mVar); - if (apply != null) { - } - } - drmInitData4 = drmInitData; - i24 = i + 1; - aVar5 = aVar; - } - return arrayList3; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/f.java b/app/src/main/java/c/i/a/c/a2/h0/f.java deleted file mode 100644 index 810c7d8b3f..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/f.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.a2.h0; -/* compiled from: DefaultSampleValues */ -public final class f { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f732c; - public final int d; - - public f(int i, int i2, int i3, int i4) { - this.a = i; - this.b = i2; - this.f732c = i3; - this.d = i4; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/g.java b/app/src/main/java/c/i/a/c/a2/h0/g.java deleted file mode 100644 index 9a5aed5207..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/g.java +++ /dev/null @@ -1,1445 +0,0 @@ -package c.i.a.c.a2.h0; - -import android.util.Log; -import android.util.Pair; -import android.util.SparseArray; -import androidx.annotation.Nullable; -import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; -import androidx.core.view.ViewCompat; -import androidx.recyclerview.widget.RecyclerView; -import c.i.a.c.a2.c; -import c.i.a.c.a2.h; -import c.i.a.c.a2.h0.d; -import c.i.a.c.a2.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.p; -import c.i.a.c.a2.s; -import c.i.a.c.a2.t; -import c.i.a.c.a2.w; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.u; -import c.i.a.c.v1.m; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import com.google.android.exoplayer2.drm.DrmInitData; -import java.io.DataOutputStream; -import java.io.IOException; -import java.util.ArrayDeque; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collections; -import java.util.List; -import java.util.Objects; -import java.util.UUID; -/* compiled from: FragmentedMp4Extractor */ -public class g implements h { - public static final byte[] a = {-94, 57, 79, 82, 90, -101, 79, 20, -94, 68, 108, 66, 124, 100, -115, -12}; - public static final Format b; - public int A; - public int B; - public boolean C; - public j D; - public w[] E; - public w[] F; - public boolean G; - - /* renamed from: c reason: collision with root package name */ - public final int f733c; - public final List d; - public final SparseArray e; - public final c.i.a.c.i2.w f = new c.i.a.c.i2.w(u.a); - public final c.i.a.c.i2.w g = new c.i.a.c.i2.w(5); - public final c.i.a.c.i2.w h = new c.i.a.c.i2.w(); - public final byte[] i; - public final c.i.a.c.i2.w j; - public final c.i.a.c.c2.i.b k = new c.i.a.c.c2.i.b(); - public final c.i.a.c.i2.w l = new c.i.a.c.i2.w(16); - public final ArrayDeque m; - public final ArrayDeque n; - public int o; - public int p; - public long q; - - /* renamed from: r reason: collision with root package name */ - public int f734r; - @Nullable - public c.i.a.c.i2.w s; - public long t; - public int u; - public long v; - - /* renamed from: w reason: collision with root package name */ - public long f735w; - - /* renamed from: x reason: collision with root package name */ - public long f736x; - @Nullable - - /* renamed from: y reason: collision with root package name */ - public b f737y; - - /* renamed from: z reason: collision with root package name */ - public int f738z; - - /* compiled from: FragmentedMp4Extractor */ - public static final class a { - public final long a; - public final int b; - - public a(long j, int i) { - this.a = j; - this.b = i; - } - } - - /* compiled from: FragmentedMp4Extractor */ - public static final class b { - public final w a; - public final o b = new o(); - - /* renamed from: c reason: collision with root package name */ - public final c.i.a.c.i2.w f739c = new c.i.a.c.i2.w(); - public p d; - public f e; - public int f; - public int g; - public int h; - public int i; - public final c.i.a.c.i2.w j = new c.i.a.c.i2.w(1); - public final c.i.a.c.i2.w k = new c.i.a.c.i2.w(); - public boolean l; - - public b(w wVar, p pVar, f fVar) { - this.a = wVar; - this.d = pVar; - this.e = fVar; - this.d = pVar; - this.e = fVar; - wVar.e(pVar.a.f); - e(); - } - - public long a() { - return !this.l ? this.d.f752c[this.f] : this.b.f[this.h]; - } - - @Nullable - public n b() { - if (!this.l) { - return null; - } - o oVar = this.b; - f fVar = oVar.a; - int i = f0.a; - int i2 = fVar.a; - n nVar = oVar.n; - if (nVar == null) { - nVar = this.d.a.a(i2); - } - if (nVar == null || !nVar.a) { - return null; - } - return nVar; - } - - public boolean c() { - this.f++; - if (!this.l) { - return false; - } - int i = this.g + 1; - this.g = i; - int[] iArr = this.b.g; - int i2 = this.h; - if (i != iArr[i2]) { - return true; - } - this.h = i2 + 1; - this.g = 0; - return false; - } - - public int d(int i, int i2) { - c.i.a.c.i2.w wVar; - n b = b(); - if (b == null) { - return 0; - } - int i3 = b.d; - if (i3 != 0) { - wVar = this.b.o; - } else { - byte[] bArr = b.e; - int i4 = f0.a; - c.i.a.c.i2.w wVar2 = this.k; - int length = bArr.length; - wVar2.a = bArr; - wVar2.f974c = length; - wVar2.b = 0; - i3 = bArr.length; - wVar = wVar2; - } - o oVar = this.b; - boolean z2 = oVar.l && oVar.m[this.f]; - boolean z3 = z2 || i2 != 0; - c.i.a.c.i2.w wVar3 = this.j; - wVar3.a[0] = (byte) ((z3 ? 128 : 0) | i3); - wVar3.D(0); - this.a.f(this.j, 1, 1); - this.a.f(wVar, i3, 1); - if (!z3) { - return i3 + 1; - } - if (!z2) { - this.f739c.z(8); - c.i.a.c.i2.w wVar4 = this.f739c; - byte[] bArr2 = wVar4.a; - bArr2[0] = 0; - bArr2[1] = 1; - bArr2[2] = (byte) ((i2 >> 8) & 255); - bArr2[3] = (byte) (i2 & 255); - bArr2[4] = (byte) ((i >> 24) & 255); - bArr2[5] = (byte) ((i >> 16) & 255); - bArr2[6] = (byte) ((i >> 8) & 255); - bArr2[7] = (byte) (i & 255); - this.a.f(wVar4, 8, 1); - return i3 + 1 + 8; - } - c.i.a.c.i2.w wVar5 = this.b.o; - int x2 = wVar5.x(); - wVar5.E(-2); - int i5 = (x2 * 6) + 2; - if (i2 != 0) { - this.f739c.z(i5); - byte[] bArr3 = this.f739c.a; - wVar5.e(bArr3, 0, i5); - int i6 = (((bArr3[2] & 255) << 8) | (bArr3[3] & 255)) + i2; - bArr3[2] = (byte) ((i6 >> 8) & 255); - bArr3[3] = (byte) (i6 & 255); - wVar5 = this.f739c; - } - this.a.f(wVar5, i5, 1); - return i3 + 1 + i5; - } - - public void e() { - o oVar = this.b; - oVar.d = 0; - oVar.q = 0; - oVar.f751r = false; - oVar.l = false; - oVar.p = false; - oVar.n = null; - this.f = 0; - this.h = 0; - this.g = 0; - this.i = 0; - this.l = false; - } - } - - static { - Format.b bVar = new Format.b(); - bVar.k = "application/x-emsg"; - b = bVar.a(); - } - - public g(int i) { - List emptyList = Collections.emptyList(); - this.f733c = i; - this.d = Collections.unmodifiableList(emptyList); - byte[] bArr = new byte[16]; - this.i = bArr; - this.j = new c.i.a.c.i2.w(bArr); - this.m = new ArrayDeque<>(); - this.n = new ArrayDeque<>(); - this.e = new SparseArray<>(); - this.f735w = -9223372036854775807L; - this.v = -9223372036854775807L; - this.f736x = -9223372036854775807L; - this.D = j.d; - this.E = new w[0]; - this.F = new w[0]; - } - - public static int a(int i) throws ParserException { - if (i >= 0) { - return i; - } - throw new ParserException(c.d.b.a.a.l("Unexpected negative value: ", i)); - } - - @Nullable - public static DrmInitData h(List list) { - int size = list.size(); - ArrayList arrayList = null; - for (int i = 0; i < size; i++) { - d.b bVar = list.get(i); - if (bVar.a == 1886614376) { - if (arrayList == null) { - arrayList = new ArrayList(); - } - byte[] bArr = bVar.b.a; - j v1 = c.c.a.a0.d.v1(bArr); - UUID uuid = v1 == null ? null : v1.a; - if (uuid == null) { - Log.w("FragmentedMp4Extractor", "Skipped pssh atom (failed to extract uuid)"); - } else { - arrayList.add(new DrmInitData.SchemeData(uuid, "video/mp4", bArr)); - } - } - } - if (arrayList == null) { - return null; - } - return new DrmInitData(null, false, (DrmInitData.SchemeData[]) arrayList.toArray(new DrmInitData.SchemeData[0])); - } - - public static void i(c.i.a.c.i2.w wVar, int i, o oVar) throws ParserException { - wVar.D(i + 8); - int f = wVar.f() & ViewCompat.MEASURED_SIZE_MASK; - if ((f & 1) == 0) { - boolean z2 = (f & 2) != 0; - int v = wVar.v(); - if (v == 0) { - Arrays.fill(oVar.m, 0, oVar.e, false); - } else if (v == oVar.e) { - Arrays.fill(oVar.m, 0, v, z2); - int a2 = wVar.a(); - c.i.a.c.i2.w wVar2 = oVar.o; - byte[] bArr = wVar2.a; - if (bArr.length < a2) { - bArr = new byte[a2]; - } - wVar2.a = bArr; - wVar2.f974c = a2; - wVar2.b = 0; - oVar.l = true; - oVar.p = true; - wVar.e(bArr, 0, a2); - oVar.o.D(0); - oVar.p = false; - } else { - StringBuilder P = c.d.b.a.a.P("Senc sample count ", v, " is different from fragment sample count"); - P.append(oVar.e); - throw new ParserException(P.toString()); - } - } else { - throw new ParserException("Overriding TrackEncryptionBox parameters is unsupported."); - } - } - - @Override // c.i.a.c.a2.h - public boolean b(i iVar) throws IOException { - return l.a(iVar, true, false); - } - - public final void c() { - this.o = 0; - this.f734r = 0; - } - - public final f d(SparseArray sparseArray, int i) { - if (sparseArray.size() == 1) { - return sparseArray.valueAt(0); - } - f fVar = sparseArray.get(i); - Objects.requireNonNull(fVar); - return fVar; - } - - /* JADX DEBUG: Multi-variable search result rejected for r6v32, resolved type: boolean */ - /* JADX WARN: Multi-variable type inference failed */ - /* JADX WARNING: Removed duplicated region for block: B:336:0x02d2 A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:347:0x075f A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:350:0x0004 A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:354:0x0004 A[SYNTHETIC] */ - @Override // c.i.a.c.a2.h - public int e(i iVar, s sVar) throws IOException { - long j; - int i; - boolean z2; - long j2; - long j3; - long j4; - String str; - String str2; - long j5; - long j6; - boolean z3; - i iVar2 = iVar; - while (true) { - int i2 = this.o; - int i3 = 1; - if (i2 == 0) { - if (this.f734r == 0) { - if (!iVar2.c(this.l.a, 0, 8, true)) { - z3 = false; - if (z3) { - return -1; - } - } else { - this.f734r = 8; - this.l.D(0); - this.q = this.l.t(); - this.p = this.l.f(); - } - } - long j7 = this.q; - if (j7 == 1) { - iVar2.readFully(this.l.a, 8, 8); - this.f734r += 8; - this.q = this.l.w(); - } else if (j7 == 0) { - long b2 = iVar.b(); - if (b2 == -1 && !this.m.isEmpty()) { - b2 = this.m.peek().b; - } - if (b2 != -1) { - this.q = (b2 - iVar.getPosition()) + ((long) this.f734r); - } - } - if (this.q >= ((long) this.f734r)) { - long position = iVar.getPosition() - ((long) this.f734r); - int i4 = this.p; - if ((i4 == 1836019558 || i4 == 1835295092) && !this.G) { - this.D.a(new t.b(this.f735w, position)); - this.G = true; - } - if (this.p == 1836019558) { - int size = this.e.size(); - for (int i5 = 0; i5 < size; i5++) { - o oVar = this.e.valueAt(i5).b; - Objects.requireNonNull(oVar); - oVar.f750c = position; - oVar.b = position; - } - } - int i6 = this.p; - if (i6 == 1835295092) { - this.f737y = null; - this.t = position + this.q; - this.o = 2; - } else if (i6 == 1836019574 || i6 == 1953653099 || i6 == 1835297121 || i6 == 1835626086 || i6 == 1937007212 || i6 == 1836019558 || i6 == 1953653094 || i6 == 1836475768 || i6 == 1701082227) { - long position2 = (iVar.getPosition() + this.q) - 8; - this.m.push(new d.a(this.p, position2)); - if (this.q == ((long) this.f734r)) { - j(position2); - } else { - c(); - } - } else if (i6 == 1751411826 || i6 == 1835296868 || i6 == 1836476516 || i6 == 1936286840 || i6 == 1937011556 || i6 == 1937011827 || i6 == 1668576371 || i6 == 1937011555 || i6 == 1937011578 || i6 == 1937013298 || i6 == 1937007471 || i6 == 1668232756 || i6 == 1937011571 || i6 == 1952867444 || i6 == 1952868452 || i6 == 1953196132 || i6 == 1953654136 || i6 == 1953658222 || i6 == 1886614376 || i6 == 1935763834 || i6 == 1935763823 || i6 == 1936027235 || i6 == 1970628964 || i6 == 1935828848 || i6 == 1936158820 || i6 == 1701606260 || i6 == 1835362404 || i6 == 1701671783) { - if (this.f734r == 8) { - long j8 = this.q; - if (j8 <= 2147483647L) { - c.i.a.c.i2.w wVar = new c.i.a.c.i2.w((int) j8); - System.arraycopy(this.l.a, 0, wVar.a, 0, 8); - this.s = wVar; - this.o = 1; - } else { - throw new ParserException("Leaf atom with length > 2147483647 (unsupported)."); - } - } else { - throw new ParserException("Leaf atom defines extended atom size (unsupported)."); - } - } else if (this.q <= 2147483647L) { - this.s = null; - this.o = 1; - } else { - throw new ParserException("Skipping atom with length > 2147483647 (unsupported)."); - } - z3 = true; - if (z3) { - } - } else { - throw new ParserException("Atom size less than header length (unsupported)."); - } - } else if (i2 != 1) { - long j9 = RecyclerView.FOREVER_NS; - if (i2 != 2) { - b bVar = this.f737y; - if (bVar == null) { - SparseArray sparseArray = this.e; - int size2 = sparseArray.size(); - long j10 = Long.MAX_VALUE; - b bVar2 = null; - for (int i7 = 0; i7 < size2; i7++) { - b valueAt = sparseArray.valueAt(i7); - boolean z4 = valueAt.l; - if ((z4 || valueAt.f != valueAt.d.b) && (!z4 || valueAt.h != valueAt.b.d)) { - long a2 = valueAt.a(); - if (a2 < j10) { - bVar2 = valueAt; - j10 = a2; - } - } - } - if (bVar2 == null) { - int position3 = (int) (this.t - iVar.getPosition()); - if (position3 >= 0) { - iVar2.l(position3); - c(); - i3 = 0; - if (i3 != 0) { - return 0; - } - } else { - throw new ParserException("Offset to end of mdat was negative."); - } - } else { - int a3 = (int) (bVar2.a() - iVar.getPosition()); - if (a3 < 0) { - Log.w("FragmentedMp4Extractor", "Ignoring negative offset to sample data."); - a3 = 0; - } - iVar2.l(a3); - this.f737y = bVar2; - bVar = bVar2; - } - } - char c2 = 6; - if (this.o == 3) { - int i8 = !bVar.l ? bVar.d.d[bVar.f] : bVar.b.h[bVar.f]; - this.f738z = i8; - if (bVar.f < bVar.i) { - iVar2.l(i8); - n b3 = bVar.b(); - if (b3 != null) { - c.i.a.c.i2.w wVar2 = bVar.b.o; - int i9 = b3.d; - if (i9 != 0) { - wVar2.E(i9); - } - o oVar2 = bVar.b; - if (oVar2.l && oVar2.m[bVar.f]) { - wVar2.E(wVar2.x() * 6); - } - } - if (!bVar.c()) { - this.f737y = null; - } - this.o = 3; - if (i3 != 0) { - } - } else { - if (bVar.d.a.g == 1) { - this.f738z = i8 - 8; - iVar2.l(8); - } - if ("audio/ac4".equals(bVar.d.a.f.t)) { - this.A = bVar.d(this.f738z, 7); - m.a(this.f738z, this.j); - bVar.a.c(this.j, 7); - this.A += 7; - } else { - this.A = bVar.d(this.f738z, 0); - } - this.f738z += this.A; - this.o = 4; - this.B = 0; - } - } - p pVar = bVar.d; - m mVar = pVar.a; - w wVar3 = bVar.a; - if (!bVar.l) { - j = pVar.f[bVar.f]; - } else { - o oVar3 = bVar.b; - int i10 = bVar.f; - j = ((long) oVar3.i[i10]) + oVar3.j[i10]; - } - int i11 = mVar.j; - if (i11 == 0) { - while (true) { - int i12 = this.A; - int i13 = this.f738z; - if (i12 >= i13) { - break; - } - this.A += wVar3.b(iVar2, i13 - i12, false); - } - } else { - byte[] bArr = this.g.a; - bArr[0] = 0; - bArr[1] = 0; - bArr[2] = 0; - int i14 = i11 + 1; - int i15 = 4 - i11; - while (this.A < this.f738z) { - int i16 = this.B; - if (i16 == 0) { - iVar2.readFully(bArr, i15, i14); - this.g.D(0); - int f = this.g.f(); - if (f >= i3) { - this.B = f - 1; - this.f.D(0); - wVar3.c(this.f, 4); - wVar3.c(this.g, i3); - if (this.F.length > 0) { - String str3 = mVar.f.t; - byte b4 = bArr[4]; - byte[] bArr2 = u.a; - if (("video/avc".equals(str3) && (b4 & 31) == c2) || ("video/hevc".equals(str3) && ((b4 & 126) >> i3) == 39)) { - z2 = true; - this.C = z2; - this.A += 5; - this.f738z += i15; - } - } - z2 = false; - this.C = z2; - this.A += 5; - this.f738z += i15; - } else { - throw new ParserException("Invalid NAL length"); - } - } else { - if (this.C) { - this.h.z(i16); - iVar2.readFully(this.h.a, 0, this.B); - wVar3.c(this.h, this.B); - i = this.B; - c.i.a.c.i2.w wVar4 = this.h; - int e = u.e(wVar4.a, wVar4.f974c); - this.h.D("video/hevc".equals(mVar.f.t) ? 1 : 0); - this.h.C(e); - c.c.a.a0.d.L(j, this.h, this.F); - } else { - i = wVar3.b(iVar2, i16, false); - } - this.A += i; - this.B -= i; - c2 = 6; - i3 = 1; - } - } - } - int i17 = !bVar.l ? bVar.d.g[bVar.f] : bVar.b.k[bVar.f] ? 1 : 0; - if (bVar.b() != null) { - i17 |= BasicMeasure.EXACTLY; - } - n b5 = bVar.b(); - wVar3.d(j, i17, this.f738z, 0, b5 != null ? b5.f749c : null); - while (!this.n.isEmpty()) { - a removeFirst = this.n.removeFirst(); - this.u -= removeFirst.b; - long j11 = removeFirst.a + j; - w[] wVarArr = this.E; - int i18 = 0; - for (int length = wVarArr.length; i18 < length; length = length) { - wVarArr[i18].d(j11, 1, removeFirst.b, this.u, null); - i18++; - } - } - if (!bVar.c()) { - this.f737y = null; - } - this.o = 3; - i3 = 1; - if (i3 != 0) { - } - } else { - int size3 = this.e.size(); - b bVar3 = null; - for (int i19 = 0; i19 < size3; i19++) { - o oVar4 = this.e.valueAt(i19).b; - if (oVar4.p) { - long j12 = oVar4.f750c; - if (j12 < j9) { - bVar3 = this.e.valueAt(i19); - j9 = j12; - } - } - } - if (bVar3 == null) { - this.o = 3; - } else { - int position4 = (int) (j9 - iVar.getPosition()); - if (position4 >= 0) { - iVar2.l(position4); - o oVar5 = bVar3.b; - c.i.a.c.i2.w wVar5 = oVar5.o; - iVar2.readFully(wVar5.a, 0, wVar5.f974c); - oVar5.o.D(0); - oVar5.p = false; - } else { - throw new ParserException("Offset to encryption data was negative."); - } - } - } - } else { - int i20 = ((int) this.q) - this.f734r; - c.i.a.c.i2.w wVar6 = this.s; - if (wVar6 != null) { - iVar2.readFully(wVar6.a, 8, i20); - int i21 = this.p; - d.b bVar4 = new d.b(i21, wVar6); - long position5 = iVar.getPosition(); - if (!this.m.isEmpty()) { - this.m.peek().f729c.add(bVar4); - } else { - if (i21 == 1936286840) { - wVar6.D(8); - int f2 = (wVar6.f() >> 24) & 255; - wVar6.E(4); - long t = wVar6.t(); - if (f2 == 0) { - j6 = wVar6.t(); - j5 = wVar6.t(); - } else { - j6 = wVar6.w(); - j5 = wVar6.w(); - } - long j13 = j5 + position5; - long E = f0.E(j6, 1000000, t); - wVar6.E(2); - int x2 = wVar6.x(); - int[] iArr = new int[x2]; - long[] jArr = new long[x2]; - long[] jArr2 = new long[x2]; - long[] jArr3 = new long[x2]; - long j14 = E; - int i22 = 0; - while (i22 < x2) { - int f3 = wVar6.f(); - if ((f3 & Integer.MIN_VALUE) == 0) { - long t2 = wVar6.t(); - iArr[i22] = f3 & Integer.MAX_VALUE; - jArr[i22] = j13; - jArr3[i22] = j14; - long j15 = j6 + t2; - j14 = f0.E(j15, 1000000, t); - jArr2[i22] = j14 - jArr3[i22]; - wVar6.E(4); - j13 += (long) iArr[i22]; - i22++; - jArr3 = jArr3; - jArr2 = jArr2; - j6 = j15; - x2 = x2; - } else { - throw new ParserException("Unhandled indirect reference"); - } - } - Pair create = Pair.create(Long.valueOf(E), new c(iArr, jArr, jArr2, jArr3)); - this.f736x = ((Long) create.first).longValue(); - this.D.a((t) create.second); - this.G = true; - } else if (i21 == 1701671783 && this.E.length != 0) { - wVar6.D(8); - int f4 = (wVar6.f() >> 24) & 255; - long j16 = -9223372036854775807L; - if (f4 == 0) { - str2 = wVar6.n(); - Objects.requireNonNull(str2); - str = wVar6.n(); - Objects.requireNonNull(str); - long t3 = wVar6.t(); - long E2 = f0.E(wVar6.t(), 1000000, t3); - long j17 = this.f736x; - if (j17 != -9223372036854775807L) { - j16 = j17 + E2; - } - j4 = f0.E(wVar6.t(), 1000, t3); - j3 = wVar6.t(); - j2 = j16; - j16 = E2; - } else if (f4 != 1) { - c.d.b.a.a.i0("Skipping unsupported emsg version: ", f4, "FragmentedMp4Extractor"); - } else { - long t4 = wVar6.t(); - long E3 = f0.E(wVar6.w(), 1000000, t4); - j4 = f0.E(wVar6.t(), 1000, t4); - j3 = wVar6.t(); - str2 = wVar6.n(); - Objects.requireNonNull(str2); - str = wVar6.n(); - Objects.requireNonNull(str); - j2 = E3; - } - byte[] bArr3 = new byte[wVar6.a()]; - int a4 = wVar6.a(); - System.arraycopy(wVar6.a, wVar6.b, bArr3, 0, a4); - wVar6.b += a4; - c.i.a.c.c2.i.b bVar5 = this.k; - bVar5.a.reset(); - try { - DataOutputStream dataOutputStream = bVar5.b; - dataOutputStream.writeBytes(str2); - dataOutputStream.writeByte(0); - DataOutputStream dataOutputStream2 = bVar5.b; - dataOutputStream2.writeBytes(str); - dataOutputStream2.writeByte(0); - c.i.a.c.c2.i.b.a(bVar5.b, j4); - c.i.a.c.c2.i.b.a(bVar5.b, j3); - bVar5.b.write(bArr3); - bVar5.b.flush(); - c.i.a.c.i2.w wVar7 = new c.i.a.c.i2.w(bVar5.a.toByteArray()); - int a5 = wVar7.a(); - w[] wVarArr2 = this.E; - for (w wVar8 : wVarArr2) { - wVar7.D(0); - wVar8.c(wVar7, a5); - } - if (j2 == -9223372036854775807L) { - this.n.addLast(new a(j16, a5)); - this.u += a5; - } else { - for (w wVar9 : this.E) { - wVar9.d(j2, 1, a5, 0, null); - } - } - } catch (IOException e2) { - throw new RuntimeException(e2); - } - } - iVar2 = iVar; - } - } else { - iVar2.l(i20); - } - j(iVar.getPosition()); - } - } - } - - @Override // c.i.a.c.a2.h - public void f(j jVar) { - int i; - this.D = jVar; - c(); - w[] wVarArr = new w[2]; - this.E = wVarArr; - int i2 = 100; - int i3 = 0; - if ((this.f733c & 4) != 0) { - wVarArr[0] = this.D.p(100, 5); - i2 = 101; - i = 1; - } else { - i = 0; - } - w[] wVarArr2 = (w[]) f0.C(this.E, i); - this.E = wVarArr2; - for (w wVar : wVarArr2) { - wVar.e(b); - } - this.F = new w[this.d.size()]; - while (i3 < this.F.length) { - w p = this.D.p(i2, 3); - p.e(this.d.get(i3)); - this.F[i3] = p; - i3++; - i2++; - } - } - - @Override // c.i.a.c.a2.h - public void g(long j, long j2) { - int size = this.e.size(); - for (int i = 0; i < size; i++) { - this.e.valueAt(i).e(); - } - this.n.clear(); - this.u = 0; - this.v = j2; - this.m.clear(); - c(); - } - - /* JADX WARNING: Removed duplicated region for block: B:145:0x039c */ - public final void j(long j) throws ParserException { - g gVar; - int i; - d.a aVar; - int i2; - SparseArray sparseArray; - int i3; - byte[] bArr; - int i4; - byte[] bArr2; - byte[] bArr3; - int i5; - int i6; - o oVar; - int i7; - byte[] bArr4; - d.a aVar2; - d.a aVar3; - int i8; - int i9; - List list; - b bVar; - int i10; - long j2; - boolean z2; - int i11; - int i12; - boolean z3; - int i13; - boolean z4; - int i14; - boolean z5; - int i15; - f fVar; - c.i.a.c.i2.w wVar; - boolean z6; - int[] iArr; - int i16; - b bVar2; - g gVar2 = this; - g gVar3 = gVar2; - while (!gVar3.m.isEmpty() && gVar3.m.peek().b == j) { - d.a pop = gVar3.m.pop(); - int i17 = pop.a; - int i18 = 12; - if (i17 == 1836019574) { - c.c.a.a0.d.E(true, "Unexpected moov box."); - DrmInitData h = h(pop.f729c); - d.a b2 = pop.b(1836475768); - Objects.requireNonNull(b2); - SparseArray sparseArray2 = new SparseArray<>(); - int size = b2.f729c.size(); - long j3 = -9223372036854775807L; - int i19 = 0; - while (i19 < size) { - d.b bVar3 = b2.f729c.get(i19); - int i20 = bVar3.a; - if (i20 == 1953654136) { - c.i.a.c.i2.w wVar2 = bVar3.b; - wVar2.D(i18); - Pair create = Pair.create(Integer.valueOf(wVar2.f()), new f(wVar2.f() - 1, wVar2.f(), wVar2.f(), wVar2.f())); - sparseArray2.put(((Integer) create.first).intValue(), (f) create.second); - } else if (i20 == 1835362404) { - c.i.a.c.i2.w wVar3 = bVar3.b; - wVar3.D(8); - j3 = ((wVar3.f() >> 24) & 255) == 0 ? wVar3.t() : wVar3.w(); - i19++; - i18 = 12; - } - i19++; - i18 = 12; - } - ArrayList arrayList = (ArrayList) e.e(pop, new p(), j3, h, (gVar3.f733c & 16) != 0, false, new c(gVar3)); - int size2 = arrayList.size(); - if (gVar3.e.size() == 0) { - for (int i21 = 0; i21 < size2; i21++) { - p pVar = (p) arrayList.get(i21); - m mVar = pVar.a; - gVar3.e.put(mVar.a, new b(gVar3.D.p(i21, mVar.b), pVar, gVar3.d(sparseArray2, mVar.a))); - gVar3.f735w = Math.max(gVar3.f735w, mVar.e); - } - gVar3.D.j(); - } else { - c.c.a.a0.d.D(gVar3.e.size() == size2); - for (int i22 = 0; i22 < size2; i22++) { - p pVar2 = (p) arrayList.get(i22); - m mVar2 = pVar2.a; - b bVar4 = gVar3.e.get(mVar2.a); - f d = gVar3.d(sparseArray2, mVar2.a); - bVar4.d = pVar2; - bVar4.e = d; - bVar4.a.e(pVar2.a.f); - bVar4.e(); - } - } - gVar = gVar2; - } else { - int i23 = 8; - if (i17 == 1836019558) { - SparseArray sparseArray3 = gVar3.e; - int i24 = gVar3.f733c; - byte[] bArr5 = gVar3.i; - int size3 = pop.d.size(); - int i25 = 0; - while (i25 < size3) { - d.a aVar4 = pop.d.get(i25); - if (aVar4.a == 1953653094) { - d.b c2 = aVar4.c(1952868452); - Objects.requireNonNull(c2); - c.i.a.c.i2.w wVar4 = c2.b; - wVar4.D(i23); - int f = wVar4.f() & ViewCompat.MEASURED_SIZE_MASK; - b valueAt = sparseArray3.size() == 1 ? sparseArray3.valueAt(0) : sparseArray3.get(wVar4.f()); - if (valueAt == null) { - valueAt = null; - } else { - if ((f & 1) != 0) { - long w2 = wVar4.w(); - o oVar2 = valueAt.b; - oVar2.b = w2; - oVar2.f750c = w2; - } - f fVar2 = valueAt.e; - valueAt.b.a = new f((f & 2) != 0 ? wVar4.f() - 1 : fVar2.a, (f & 8) != 0 ? wVar4.f() : fVar2.b, (f & 16) != 0 ? wVar4.f() : fVar2.f732c, (f & 32) != 0 ? wVar4.f() : fVar2.d); - } - if (valueAt != null) { - o oVar3 = valueAt.b; - long j4 = oVar3.q; - boolean z7 = oVar3.f751r; - valueAt.e(); - valueAt.l = true; - d.b c3 = aVar4.c(1952867444); - if (c3 == null || (i24 & 2) != 0) { - oVar3.q = j4; - oVar3.f751r = z7; - } else { - c.i.a.c.i2.w wVar5 = c3.b; - wVar5.D(i23); - oVar3.q = ((wVar5.f() >> 24) & 255) == 1 ? wVar5.w() : wVar5.t(); - oVar3.f751r = true; - } - List list2 = aVar4.f729c; - int size4 = list2.size(); - int i26 = 0; - int i27 = 0; - int i28 = 0; - while (true) { - i4 = 1953658222; - if (i26 >= size4) { - break; - } - d.b bVar5 = list2.get(i26); - if (bVar5.a == 1953658222) { - c.i.a.c.i2.w wVar6 = bVar5.b; - wVar6.D(12); - int v = wVar6.v(); - if (v > 0) { - i28 += v; - i27++; - } - } - i26++; - size3 = size3; - sparseArray3 = sparseArray3; - } - sparseArray = sparseArray3; - i3 = size3; - valueAt.h = 0; - valueAt.g = 0; - valueAt.f = 0; - o oVar4 = valueAt.b; - oVar4.d = i27; - oVar4.e = i28; - if (oVar4.g.length < i27) { - oVar4.f = new long[i27]; - oVar4.g = new int[i27]; - } - if (oVar4.h.length < i28) { - int i29 = (i28 * 125) / 100; - oVar4.h = new int[i29]; - oVar4.i = new int[i29]; - oVar4.j = new long[i29]; - oVar4.k = new boolean[i29]; - oVar4.m = new boolean[i29]; - } - int i30 = 0; - int i31 = 0; - int i32 = 0; - while (i30 < size4) { - d.b bVar6 = list2.get(i30); - if (bVar6.a == i4) { - int i33 = i31 + 1; - c.i.a.c.i2.w wVar7 = bVar6.b; - wVar7.D(8); - int f2 = wVar7.f() & ViewCompat.MEASURED_SIZE_MASK; - list = list2; - m mVar3 = valueAt.d.a; - i9 = size4; - o oVar5 = valueAt.b; - f fVar3 = oVar5.a; - int i34 = f0.a; - oVar5.g[i31] = wVar7.v(); - long[] jArr = oVar5.f; - i8 = i25; - aVar3 = aVar4; - jArr[i31] = oVar5.b; - if ((f2 & 1) != 0) { - aVar2 = pop; - bArr4 = bArr5; - i7 = i30; - jArr[i31] = jArr[i31] + ((long) wVar7.f()); - } else { - bArr4 = bArr5; - i7 = i30; - aVar2 = pop; - } - boolean z8 = (f2 & 4) != 0; - int i35 = fVar3.d; - if (z8) { - i35 = wVar7.f(); - } - boolean z9 = (f2 & 256) != 0; - boolean z10 = (f2 & 512) != 0; - boolean z11 = (f2 & 1024) != 0; - boolean z12 = (f2 & 2048) != 0; - long[] jArr2 = mVar3.h; - if (jArr2 != null) { - i10 = i35; - oVar = oVar3; - if (jArr2.length == 1 && jArr2[0] == 0) { - z2 = z12; - j2 = f0.E(mVar3.i[0], 1000000, mVar3.f748c); - int[] iArr2 = oVar5.h; - int[] iArr3 = oVar5.i; - long[] jArr3 = oVar5.j; - boolean[] zArr = oVar5.k; - b bVar7 = valueAt; - boolean z13 = (mVar3.b == 2 || (i24 & 1) == 0) ? false : true; - i11 = oVar5.g[i31] + i32; - long j5 = mVar3.f748c; - int[] iArr4 = iArr3; - long j6 = oVar5.q; - i6 = i24; - i12 = i32; - while (i12 < i11) { - if (z9) { - z3 = z9; - i13 = wVar7.f(); - } else { - z3 = z9; - i13 = fVar3.b; - } - a(i13); - if (z10) { - z4 = z10; - i14 = wVar7.f(); - } else { - z4 = z10; - i14 = fVar3.f732c; - } - a(i14); - if (z11) { - z5 = z8; - i15 = wVar7.f(); - } else if (i12 != 0 || !z8) { - z5 = z8; - i15 = fVar3.d; - } else { - z5 = z8; - i15 = i10; - } - if (z2) { - z6 = z2; - wVar = wVar7; - fVar = fVar3; - iArr4[i12] = (int) ((((long) wVar7.f()) * 1000000) / j5); - } else { - z6 = z2; - wVar = wVar7; - fVar = fVar3; - iArr4[i12] = 0; - } - jArr3[i12] = f0.E(j6, 1000000, j5) - j2; - if (!oVar5.f751r) { - bVar2 = bVar7; - i16 = i11; - iArr = iArr4; - jArr3[i12] = jArr3[i12] + bVar2.d.h; - } else { - iArr = iArr4; - bVar2 = bVar7; - i16 = i11; - } - iArr2[i12] = i14; - zArr[i12] = ((i15 >> 16) & 1) == 0 && (!z13 || i12 == 0); - j6 += (long) i13; - i12++; - i11 = i16; - iArr4 = iArr; - z9 = z3; - z10 = z4; - z8 = z5; - wVar7 = wVar; - fVar3 = fVar; - bVar7 = bVar2; - z2 = z6; - } - bVar = bVar7; - oVar5.q = j6; - i31 = i33; - i32 = i11; - } else { - z2 = z12; - } - } else { - i10 = i35; - z2 = z12; - oVar = oVar3; - } - j2 = 0; - int[] iArr2 = oVar5.h; - int[] iArr3 = oVar5.i; - long[] jArr3 = oVar5.j; - boolean[] zArr = oVar5.k; - b bVar7 = valueAt; - if (mVar3.b == 2) { - } - i11 = oVar5.g[i31] + i32; - long j5 = mVar3.f748c; - int[] iArr4 = iArr3; - long j6 = oVar5.q; - i6 = i24; - i12 = i32; - while (i12 < i11) { - } - bVar = bVar7; - oVar5.q = j6; - i31 = i33; - i32 = i11; - } else { - bArr4 = bArr5; - i7 = i30; - aVar2 = pop; - i6 = i24; - list = list2; - i8 = i25; - aVar3 = aVar4; - oVar = oVar3; - i9 = size4; - bVar = valueAt; - } - i30 = i7 + 1; - i4 = 1953658222; - valueAt = bVar; - list2 = list; - size4 = i9; - i25 = i8; - aVar4 = aVar3; - pop = aVar2; - bArr5 = bArr4; - oVar3 = oVar; - i24 = i6; - } - byte[] bArr6 = bArr5; - aVar = pop; - i = i24; - i2 = i25; - m mVar4 = valueAt.d.a; - f fVar4 = oVar3.a; - Objects.requireNonNull(fVar4); - n a2 = mVar4.a(fVar4.a); - d.b c4 = aVar4.c(1935763834); - if (c4 != null) { - Objects.requireNonNull(a2); - c.i.a.c.i2.w wVar8 = c4.b; - int i36 = a2.d; - wVar8.D(8); - if ((wVar8.f() & ViewCompat.MEASURED_SIZE_MASK & 1) == 1) { - wVar8.E(8); - } - int s = wVar8.s(); - int v2 = wVar8.v(); - if (v2 <= oVar3.e) { - if (s == 0) { - boolean[] zArr2 = oVar3.m; - i5 = 0; - for (int i37 = 0; i37 < v2; i37++) { - int s2 = wVar8.s(); - i5 += s2; - zArr2[i37] = s2 > i36; - } - } else { - i5 = (s * v2) + 0; - Arrays.fill(oVar3.m, 0, v2, s > i36); - } - Arrays.fill(oVar3.m, v2, oVar3.e, false); - if (i5 > 0) { - c.i.a.c.i2.w wVar9 = oVar3.o; - byte[] bArr7 = wVar9.a; - if (bArr7.length < i5) { - bArr7 = new byte[i5]; - } - wVar9.B(bArr7, i5); - oVar3.l = true; - oVar3.p = true; - } - } else { - StringBuilder P = c.d.b.a.a.P("Saiz sample count ", v2, " is greater than fragment sample count"); - P.append(oVar3.e); - throw new ParserException(P.toString()); - } - } - d.b c5 = aVar4.c(1935763823); - if (c5 != null) { - c.i.a.c.i2.w wVar10 = c5.b; - wVar10.D(8); - int f3 = wVar10.f(); - if ((16777215 & f3 & 1) == 1) { - wVar10.E(8); - } - int v3 = wVar10.v(); - if (v3 == 1) { - oVar3.f750c += ((f3 >> 24) & 255) == 0 ? wVar10.t() : wVar10.w(); - } else { - throw new ParserException(c.d.b.a.a.l("Unexpected saio entry count: ", v3)); - } - } - d.b c6 = aVar4.c(1936027235); - if (c6 != null) { - i(c6.b, 0, oVar3); - } - String str = a2 != null ? a2.b : null; - c.i.a.c.i2.w wVar11 = null; - c.i.a.c.i2.w wVar12 = null; - for (int i38 = 0; i38 < aVar4.f729c.size(); i38++) { - d.b bVar8 = aVar4.f729c.get(i38); - c.i.a.c.i2.w wVar13 = bVar8.b; - int i39 = bVar8.a; - if (i39 == 1935828848) { - wVar13.D(12); - if (wVar13.f() == 1936025959) { - wVar11 = wVar13; - } - } else if (i39 == 1936158820) { - wVar13.D(12); - if (wVar13.f() == 1936025959) { - wVar12 = wVar13; - } - } - } - if (!(wVar11 == null || wVar12 == null)) { - wVar11.D(8); - int f4 = (wVar11.f() >> 24) & 255; - wVar11.E(4); - if (f4 == 1) { - wVar11.E(4); - } - if (wVar11.f() == 1) { - wVar12.D(8); - int f5 = (wVar12.f() >> 24) & 255; - wVar12.E(4); - if (f5 == 1) { - if (wVar12.t() == 0) { - throw new ParserException("Variable length description in sgpd found (unsupported)"); - } - } else if (f5 >= 2) { - wVar12.E(4); - } - if (wVar12.t() == 1) { - wVar12.E(1); - int s3 = wVar12.s(); - int i40 = (s3 & 240) >> 4; - int i41 = s3 & 15; - boolean z14 = wVar12.s() == 1; - if (z14) { - int s4 = wVar12.s(); - byte[] bArr8 = new byte[16]; - System.arraycopy(wVar12.a, wVar12.b, bArr8, 0, 16); - wVar12.b += 16; - if (s4 == 0) { - int s5 = wVar12.s(); - byte[] bArr9 = new byte[s5]; - System.arraycopy(wVar12.a, wVar12.b, bArr9, 0, s5); - wVar12.b += s5; - bArr3 = bArr9; - } else { - bArr3 = null; - } - oVar3.l = true; - oVar3.n = new n(z14, str, s4, bArr8, i40, i41, bArr3); - } - } else { - throw new ParserException("Entry count in sgpd != 1 (unsupported)."); - } - } else { - throw new ParserException("Entry count in sbgp != 1 (unsupported)."); - } - } - int size5 = aVar4.f729c.size(); - int i42 = 0; - while (i42 < size5) { - d.b bVar9 = aVar4.f729c.get(i42); - if (bVar9.a == 1970628964) { - c.i.a.c.i2.w wVar14 = bVar9.b; - wVar14.D(8); - bArr2 = bArr6; - System.arraycopy(wVar14.a, wVar14.b, bArr2, 0, 16); - wVar14.b += 16; - if (Arrays.equals(bArr2, a)) { - i(wVar14, 16, oVar3); - } - } else { - bArr2 = bArr6; - } - i42++; - bArr6 = bArr2; - } - bArr = bArr6; - i25 = i2 + 1; - i23 = 8; - bArr5 = bArr; - size3 = i3; - sparseArray3 = sparseArray; - pop = aVar; - i24 = i; - } - } - bArr = bArr5; - sparseArray = sparseArray3; - aVar = pop; - i = i24; - i3 = size3; - i2 = i25; - i25 = i2 + 1; - i23 = 8; - bArr5 = bArr; - size3 = i3; - sparseArray3 = sparseArray; - pop = aVar; - i24 = i; - } - DrmInitData h2 = h(pop.f729c); - gVar = this; - if (h2 != null) { - int size6 = gVar.e.size(); - for (int i43 = 0; i43 < size6; i43++) { - b valueAt2 = gVar.e.valueAt(i43); - m mVar5 = valueAt2.d.a; - f fVar5 = valueAt2.b.a; - int i44 = f0.a; - n a3 = mVar5.a(fVar5.a); - DrmInitData a4 = h2.a(a3 != null ? a3.b : null); - Format.b a5 = valueAt2.d.a.f.a(); - a5.n = a4; - valueAt2.a.e(a5.a()); - } - } - if (gVar.v != -9223372036854775807L) { - int size7 = gVar.e.size(); - for (int i45 = 0; i45 < size7; i45++) { - b valueAt3 = gVar.e.valueAt(i45); - long j7 = gVar.v; - int i46 = valueAt3.f; - while (true) { - o oVar6 = valueAt3.b; - if (i46 >= oVar6.e || oVar6.j[i46] + ((long) oVar6.i[i46]) >= j7) { - break; - } - if (oVar6.k[i46]) { - valueAt3.i = i46; - } - i46++; - } - } - gVar.v = -9223372036854775807L; - } - gVar3 = gVar; - } else { - gVar = gVar2; - if (!gVar3.m.isEmpty()) { - gVar3.m.peek().d.add(pop); - } - } - } - gVar2 = gVar; - } - c(); - } - - @Override // c.i.a.c.a2.h - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/h.java b/app/src/main/java/c/i/a/c/a2/h0/h.java deleted file mode 100644 index bded70337e..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/h.java +++ /dev/null @@ -1,112 +0,0 @@ -package c.i.a.c.a2.h0; - -import android.util.Log; -import androidx.annotation.Nullable; -import androidx.annotation.VisibleForTesting; -import androidx.core.view.ViewCompat; -import c.d.b.a.a; -import c.i.a.c.i2.w; -import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel; -import com.google.android.exoplayer2.metadata.id3.ApicFrame; -import com.google.android.exoplayer2.metadata.id3.CommentFrame; -import com.google.android.exoplayer2.metadata.id3.Id3Frame; -import com.google.android.exoplayer2.metadata.id3.TextInformationFrame; -/* compiled from: MetadataUtil */ -public final class h { - @VisibleForTesting - public static final String[] a = {"Blues", "Classic Rock", "Country", "Dance", "Disco", "Funk", "Grunge", "Hip-Hop", "Jazz", "Metal", "New Age", "Oldies", "Other", "Pop", "R&B", "Rap", "Reggae", "Rock", "Techno", "Industrial", "Alternative", "Ska", "Death Metal", "Pranks", "Soundtrack", "Euro-Techno", "Ambient", "Trip-Hop", "Vocal", "Jazz+Funk", "Fusion", "Trance", "Classical", "Instrumental", "Acid", "House", "Game", "Sound Clip", "Gospel", "Noise", "AlternRock", "Bass", "Soul", "Punk", "Space", "Meditative", "Instrumental Pop", "Instrumental Rock", "Ethnic", "Gothic", "Darkwave", "Techno-Industrial", "Electronic", "Pop-Folk", "Eurodance", "Dream", "Southern Rock", "Comedy", "Cult", "Gangsta", "Top 40", "Christian Rap", "Pop/Funk", "Jungle", "Native American", "Cabaret", "New Wave", "Psychadelic", "Rave", "Showtunes", "Trailer", "Lo-Fi", "Tribal", "Acid Punk", "Acid Jazz", "Polka", "Retro", "Musical", "Rock & Roll", "Hard Rock", "Folk", "Folk-Rock", "National Folk", "Swing", "Fast Fusion", "Bebob", "Latin", "Revival", "Celtic", "Bluegrass", "Avantgarde", "Gothic Rock", "Progressive Rock", "Psychedelic Rock", "Symphonic Rock", "Slow Rock", "Big Band", "Chorus", "Easy Listening", "Acoustic", "Humour", "Speech", "Chanson", "Opera", "Chamber Music", "Sonata", "Symphony", "Booty Bass", "Primus", "Porn Groove", "Satire", "Slow Jam", "Club", "Tango", "Samba", "Folklore", "Ballad", "Power Ballad", "Rhythmic Soul", "Freestyle", "Duet", "Punk Rock", "Drum Solo", "A capella", "Euro-House", "Dance Hall", "Goa", "Drum & Bass", "Club-House", "Hardcore", "Terror", "Indie", "BritPop", "Afro-Punk", "Polsk Punk", "Beat", "Christian Gangsta Rap", "Heavy Metal", "Black Metal", "Crossover", "Contemporary Christian", "Christian Rock", "Merengue", "Salsa", "Thrash Metal", "Anime", "Jpop", "Synthpop", "Abstract", "Art Rock", "Baroque", "Bhangra", "Big beat", "Breakbeat", "Chillout", "Downtempo", "Dub", "EBM", "Eclectic", "Electro", "Electroclash", "Emo", "Experimental", "Garage", "Global", "IDM", "Illbient", "Industro-Goth", "Jam Band", "Krautrock", "Leftfield", "Lounge", "Math Rock", "New Romantic", "Nu-Breakz", "Post-Punk", "Post-Rock", "Psytrance", "Shoegaze", "Space Rock", "Trop Rock", "World Music", "Neoclassical", "Audiobook", "Audio theatre", "Neue Deutsche Welle", "Podcast", "Indie-Rock", "G-Funk", "Dubstep", "Garage Rock", "Psybient"}; - - @Nullable - public static CommentFrame a(int i, w wVar) { - int f = wVar.f(); - if (wVar.f() == 1684108385) { - wVar.E(8); - String o = wVar.o(f - 16); - return new CommentFrame("und", o, o); - } - StringBuilder O = a.O("Failed to parse comment attribute: "); - O.append(d.a(i)); - Log.w("MetadataUtil", O.toString()); - return null; - } - - @Nullable - public static ApicFrame b(w wVar) { - int f = wVar.f(); - if (wVar.f() == 1684108385) { - int f2 = wVar.f() & ViewCompat.MEASURED_SIZE_MASK; - String str = f2 == 13 ? "image/jpeg" : f2 == 14 ? "image/png" : null; - if (str == null) { - a.i0("Unrecognized cover art flags: ", f2, "MetadataUtil"); - return null; - } - wVar.E(4); - int i = f - 16; - byte[] bArr = new byte[i]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, i); - wVar.b += i; - return new ApicFrame(str, null, 3, bArr); - } - Log.w("MetadataUtil", "Failed to parse cover art attribute"); - return null; - } - - @Nullable - public static TextInformationFrame c(int i, String str, w wVar) { - int f = wVar.f(); - if (wVar.f() == 1684108385 && f >= 22) { - wVar.E(10); - int x2 = wVar.x(); - if (x2 > 0) { - String l = a.l("", x2); - int x3 = wVar.x(); - if (x3 > 0) { - l = l + AutocompleteViewModel.COMMAND_DISCOVER_TOKEN + x3; - } - return new TextInformationFrame(str, null, l); - } - } - StringBuilder O = a.O("Failed to parse index/count attribute: "); - O.append(d.a(i)); - Log.w("MetadataUtil", O.toString()); - return null; - } - - @Nullable - public static TextInformationFrame d(int i, String str, w wVar) { - int f = wVar.f(); - if (wVar.f() == 1684108385) { - wVar.E(8); - return new TextInformationFrame(str, null, wVar.o(f - 16)); - } - StringBuilder O = a.O("Failed to parse text attribute: "); - O.append(d.a(i)); - Log.w("MetadataUtil", O.toString()); - return null; - } - - @Nullable - public static Id3Frame e(int i, String str, w wVar, boolean z2, boolean z3) { - int f = f(wVar); - if (z3) { - f = Math.min(1, f); - } - if (f >= 0) { - return z2 ? new TextInformationFrame(str, null, Integer.toString(f)) : new CommentFrame("und", str, Integer.toString(f)); - } - StringBuilder O = a.O("Failed to parse uint8 attribute: "); - O.append(d.a(i)); - Log.w("MetadataUtil", O.toString()); - return null; - } - - public static int f(w wVar) { - wVar.E(4); - if (wVar.f() == 1684108385) { - wVar.E(8); - return wVar.s(); - } - Log.w("MetadataUtil", "Failed to parse uint8 attribute value"); - return -1; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/i.java b/app/src/main/java/c/i/a/c/a2/h0/i.java deleted file mode 100644 index f249436a50..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/i.java +++ /dev/null @@ -1,1329 +0,0 @@ -package c.i.a.c.a2.h0; - -import android.util.Log; -import android.util.Pair; -import androidx.annotation.Nullable; -import androidx.recyclerview.widget.RecyclerView; -import c.i.a.c.a2.h; -import c.i.a.c.a2.h0.d; -import c.i.a.c.a2.h0.k; -import c.i.a.c.a2.j; -import c.i.a.c.a2.p; -import c.i.a.c.a2.s; -import c.i.a.c.a2.t; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.u; -import c.i.a.c.i2.w; -import c.i.a.c.v1.m; -import com.discord.api.permission.Permission; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.metadata.id3.InternalFrame; -import com.google.android.exoplayer2.metadata.id3.TextInformationFrame; -import com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry; -import com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata; -import com.google.android.exoplayer2.metadata.mp4.SlowMotionData; -import com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry; -import java.io.IOException; -import java.util.ArrayDeque; -import java.util.ArrayList; -import java.util.List; -import java.util.Objects; -/* compiled from: Mp4Extractor */ -public final class i implements h, t { - public static final /* synthetic */ int a = 0; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final w f740c; - public final w d; - public final w e; - public final w f; - public final ArrayDeque g; - public final k h; - public final List i; - public int j; - public int k; - public long l; - public int m; - @Nullable - public w n; - public int o; - public int p; - public int q; - - /* renamed from: r reason: collision with root package name */ - public int f741r; - public j s; - public a[] t; - public long[][] u; - public int v; - - /* renamed from: w reason: collision with root package name */ - public long f742w; - - /* renamed from: x reason: collision with root package name */ - public int f743x; - @Nullable - - /* renamed from: y reason: collision with root package name */ - public MotionPhotoMetadata f744y; - - /* compiled from: Mp4Extractor */ - public static final class a { - public final m a; - public final p b; - - /* renamed from: c reason: collision with root package name */ - public final c.i.a.c.a2.w f745c; - public int d; - - public a(m mVar, p pVar, c.i.a.c.a2.w wVar) { - this.a = mVar; - this.b = pVar; - this.f745c = wVar; - } - } - - static { - b bVar = b.a; - } - - public i(int i) { - this.b = i; - this.j = (i & 4) != 0 ? 3 : 0; - this.h = new k(); - this.i = new ArrayList(); - this.f = new w(16); - this.g = new ArrayDeque<>(); - this.f740c = new w(u.a); - this.d = new w(4); - this.e = new w(); - this.o = -1; - } - - public static long k(p pVar, long j, long j2) { - int a2 = pVar.a(j); - if (a2 == -1) { - a2 = pVar.b(j); - } - return a2 == -1 ? j2 : Math.min(pVar.f752c[a2], j2); - } - - @Override // c.i.a.c.a2.h - public boolean b(c.i.a.c.a2.i iVar) throws IOException { - return l.a(iVar, false, (this.b & 2) != 0); - } - - @Override // c.i.a.c.a2.t - public boolean c() { - return true; - } - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - /* JADX WARNING: Removed duplicated region for block: B:332:0x047e A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:335:0x068f A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:337:0x0006 A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:338:0x0006 A[SYNTHETIC] */ - @Override // c.i.a.c.a2.h - public int e(c.i.a.c.a2.i iVar, s sVar) throws IOException { - int i; - char c2; - boolean z2; - boolean z3; - d.a peek; - while (true) { - int i2 = this.j; - int i3 = 4; - int i4 = 2; - if (i2 == 0) { - Metadata metadata = null; - if (this.m == 0) { - if (!iVar.c(this.f.a, 0, 8, true)) { - if (this.f743x == 2 && (this.b & 2) != 0) { - j jVar = this.s; - Objects.requireNonNull(jVar); - c.i.a.c.a2.w p = jVar.p(0, 4); - MotionPhotoMetadata motionPhotoMetadata = this.f744y; - if (motionPhotoMetadata != null) { - metadata = new Metadata(motionPhotoMetadata); - } - Format.b bVar = new Format.b(); - bVar.i = metadata; - p.e(bVar.a()); - jVar.j(); - jVar.a(new t.b(-9223372036854775807L, 0)); - } - z3 = false; - if (z3) { - return -1; - } - } else { - this.m = 8; - this.f.D(0); - this.l = this.f.t(); - this.k = this.f.f(); - } - } - long j = this.l; - if (j == 1) { - iVar.readFully(this.f.a, 8, 8); - this.m += 8; - this.l = this.f.w(); - } else if (j == 0) { - long b = iVar.b(); - if (b == -1 && (peek = this.g.peek()) != null) { - b = peek.b; - } - if (b != -1) { - this.l = (b - iVar.getPosition()) + ((long) this.m); - } - } - long j2 = this.l; - int i5 = this.m; - if (j2 >= ((long) i5)) { - int i6 = this.k; - if (i6 == 1836019574 || i6 == 1953653099 || i6 == 1835297121 || i6 == 1835626086 || i6 == 1937007212 || i6 == 1701082227 || i6 == 1835365473) { - long position = iVar.getPosition(); - long j3 = this.l; - long j4 = (long) this.m; - long j5 = (position + j3) - j4; - if (j3 != j4 && this.k == 1835365473) { - this.e.z(8); - iVar.n(this.e.a, 0, 8); - w wVar = this.e; - byte[] bArr = e.a; - int i7 = wVar.b; - wVar.E(4); - if (wVar.f() != 1751411826) { - i7 += 4; - } - wVar.D(i7); - iVar.l(this.e.b); - iVar.k(); - } - this.g.push(new d.a(this.k, j5)); - if (this.l == ((long) this.m)) { - l(j5); - } else { - j(); - } - } else if (i6 == 1835296868 || i6 == 1836476516 || i6 == 1751411826 || i6 == 1937011556 || i6 == 1937011827 || i6 == 1937011571 || i6 == 1668576371 || i6 == 1701606260 || i6 == 1937011555 || i6 == 1937011578 || i6 == 1937013298 || i6 == 1937007471 || i6 == 1668232756 || i6 == 1953196132 || i6 == 1718909296 || i6 == 1969517665 || i6 == 1801812339 || i6 == 1768715124) { - c.c.a.a0.d.D(i5 == 8); - c.c.a.a0.d.D(this.l <= 2147483647L); - w wVar2 = new w((int) this.l); - System.arraycopy(this.f.a, 0, wVar2.a, 0, 8); - this.n = wVar2; - this.j = 1; - } else { - long position2 = iVar.getPosition(); - long j6 = (long) this.m; - long j7 = position2 - j6; - if (this.k == 1836086884) { - this.f744y = new MotionPhotoMetadata(0, j7, -9223372036854775807L, j7 + j6, this.l - j6); - } - this.n = null; - this.j = 1; - } - z3 = true; - if (z3) { - } - } else { - throw new ParserException("Atom size less than header length (unsupported)."); - } - } else if (i2 == 1) { - long j8 = this.l - ((long) this.m); - long position3 = iVar.getPosition() + j8; - w wVar3 = this.n; - if (wVar3 != null) { - iVar.readFully(wVar3.a, this.m, (int) j8); - if (this.k == 1718909296) { - wVar3.D(8); - int f = wVar3.f(); - int i8 = f != 1751476579 ? f != 1903435808 ? 0 : 1 : 2; - if (i8 == 0) { - wVar3.E(4); - while (true) { - if (wVar3.a() <= 0) { - i8 = 0; - break; - } - int f2 = wVar3.f(); - if (f2 == 1751476579) { - i8 = 2; - continue; - } else if (f2 != 1903435808) { - i8 = 0; - continue; - } else { - i8 = 1; - continue; - } - if (i8 != 0) { - break; - } - } - } - this.f743x = i8; - } else if (!this.g.isEmpty()) { - this.g.peek().f729c.add(new d.b(this.k, wVar3)); - } - } else if (j8 < Permission.USE_EXTERNAL_EMOJIS) { - iVar.l((int) j8); - } else { - sVar.a = iVar.getPosition() + j8; - z2 = true; - l(position3); - if (!(!z2 && this.j != 2)) { - return 1; - } - } - z2 = false; - l(position3); - if (!(!z2 && this.j != 2)) { - } - } else if (i2 == 2) { - long position4 = iVar.getPosition(); - if (this.o == -1) { - int i9 = -1; - boolean z4 = true; - int i10 = -1; - int i11 = 0; - long j9 = RecyclerView.FOREVER_NS; - boolean z5 = true; - long j10 = RecyclerView.FOREVER_NS; - long j11 = RecyclerView.FOREVER_NS; - while (true) { - a[] aVarArr = this.t; - int i12 = f0.a; - if (i11 >= aVarArr.length) { - break; - } - a aVar = aVarArr[i11]; - int i13 = aVar.d; - p pVar = aVar.b; - if (i13 != pVar.b) { - long j12 = pVar.f752c[i13]; - long j13 = this.u[i11][i13]; - long j14 = j12 - position4; - boolean z6 = j14 < 0 || j14 >= Permission.USE_EXTERNAL_EMOJIS; - if ((!z6 && z4) || (z6 == z4 && j14 < j11)) { - z4 = z6; - i10 = i11; - j11 = j14; - j10 = j13; - } - if (j13 < j9) { - z5 = z6; - i9 = i11; - j9 = j13; - } - } - i11++; - } - if (j9 == RecyclerView.FOREVER_NS || !z5 || j10 < j9 + 10485760) { - i9 = i10; - } - this.o = i9; - if (i9 == -1) { - return -1; - } - } - a[] aVarArr2 = this.t; - int i14 = f0.a; - a aVar2 = aVarArr2[this.o]; - c.i.a.c.a2.w wVar4 = aVar2.f745c; - int i15 = aVar2.d; - p pVar2 = aVar2.b; - long j15 = pVar2.f752c[i15]; - int i16 = pVar2.d[i15]; - long j16 = (j15 - position4) + ((long) this.p); - if (j16 < 0 || j16 >= Permission.USE_EXTERNAL_EMOJIS) { - sVar.a = j15; - return 1; - } - if (aVar2.a.g == 1) { - j16 += 8; - i16 -= 8; - } - iVar.l((int) j16); - m mVar = aVar2.a; - int i17 = mVar.j; - if (i17 == 0) { - if ("audio/ac4".equals(mVar.f.t)) { - if (this.q == 0) { - m.a(i16, this.e); - wVar4.c(this.e, 7); - this.q += 7; - } - i16 += 7; - } - while (true) { - int i18 = this.q; - if (i18 >= i16) { - break; - } - int b2 = wVar4.b(iVar, i16 - i18, false); - this.p += b2; - this.q += b2; - this.f741r -= b2; - } - } else { - byte[] bArr2 = this.d.a; - bArr2[0] = 0; - bArr2[1] = 0; - bArr2[2] = 0; - int i19 = 4 - i17; - while (this.q < i16) { - int i20 = this.f741r; - if (i20 == 0) { - iVar.readFully(bArr2, i19, i17); - this.p += i17; - this.d.D(0); - int f3 = this.d.f(); - if (f3 >= 0) { - this.f741r = f3; - this.f740c.D(0); - wVar4.c(this.f740c, 4); - this.q += 4; - i16 += i19; - } else { - throw new ParserException("Invalid NAL length"); - } - } else { - int b3 = wVar4.b(iVar, i20, false); - this.p += b3; - this.q += b3; - this.f741r -= b3; - } - } - } - p pVar3 = aVar2.b; - wVar4.d(pVar3.f[i15], pVar3.g[i15], i16, 0, null); - aVar2.d++; - this.o = -1; - this.p = 0; - this.q = 0; - this.f741r = 0; - return 0; - } else if (i2 == 3) { - k kVar = this.h; - List list = this.i; - int i21 = kVar.d; - if (i21 == 0) { - long b4 = iVar.b(); - sVar.a = (b4 == -1 || b4 < 8) ? 0 : b4 - 8; - kVar.d = 1; - } else if (i21 != 1) { - short s = 2816; - if (i21 == 2) { - long b5 = iVar.b(); - int i22 = (kVar.e - 12) - 8; - w wVar5 = new w(i22); - iVar.readFully(wVar5.a, 0, i22); - int i23 = 0; - while (i23 < i22 / 12) { - wVar5.E(i4); - short i24 = wVar5.i(); - if (i24 != 2192 && i24 != s) { - if (!(i24 == 2817 || i24 == 2819 || i24 == 2820)) { - wVar5.E(8); - i23++; - s = 2816; - i4 = 2; - } - } - kVar.f747c.add(new k.a(i24, (b5 - ((long) kVar.e)) - ((long) wVar5.h()), wVar5.h())); - i23++; - s = 2816; - i4 = 2; - } - if (kVar.f747c.isEmpty()) { - sVar.a = 0; - } else { - kVar.d = 3; - sVar.a = kVar.f747c.get(0).a; - } - } else if (i21 == 3) { - long position5 = iVar.getPosition(); - int b6 = (int) ((iVar.b() - iVar.getPosition()) - ((long) kVar.e)); - w wVar6 = new w(b6); - iVar.readFully(wVar6.a, 0, b6); - int i25 = 0; - while (i25 < kVar.f747c.size()) { - k.a aVar3 = kVar.f747c.get(i25); - wVar6.D((int) (aVar3.a - position5)); - wVar6.E(i3); - int h = wVar6.h(); - String p2 = wVar6.p(h); - switch (p2.hashCode()) { - case -1711564334: - if (p2.equals("SlowMotion_Data")) { - i = 0; - break; - } - i = -1; - break; - case -1332107749: - if (p2.equals("Super_SlowMotion_Edit_Data")) { - i = 1; - break; - } - i = -1; - break; - case -1251387154: - if (p2.equals("Super_SlowMotion_Data")) { - i = 2; - break; - } - i = -1; - break; - case -830665521: - if (p2.equals("Super_SlowMotion_Deflickering_On")) { - i = 3; - break; - } - i = -1; - break; - case 1760745220: - if (p2.equals("Super_SlowMotion_BGM")) { - i = 4; - break; - } - i = -1; - break; - default: - i = -1; - break; - } - if (i == 0) { - c2 = 2192; - } else if (i == 1) { - c2 = 2819; - } else if (i == 2) { - c2 = 2816; - } else if (i == 3) { - c2 = 2820; - } else if (i == i3) { - c2 = 2817; - } else { - throw new ParserException("Invalid SEF name"); - } - int i26 = aVar3.b - (h + 8); - if (c2 == 2192) { - ArrayList arrayList = new ArrayList(); - List a2 = k.b.a(wVar6.p(i26)); - for (int i27 = 0; i27 < a2.size(); i27++) { - List a3 = k.a.a(a2.get(i27)); - if (a3.size() == 3) { - try { - arrayList.add(new SlowMotionData.Segment(Long.parseLong(a3.get(0)), Long.parseLong(a3.get(1)), 1 << (Integer.parseInt(a3.get(2)) - 1))); - } catch (NumberFormatException e) { - throw new ParserException(e); - } - } else { - throw new ParserException(); - } - } - list.add(new SlowMotionData(arrayList)); - } else if (!(c2 == 2816 || c2 == 2817 || c2 == 2819 || c2 == 2820)) { - throw new IllegalStateException(); - } - i25++; - i3 = 4; - } - sVar.a = 0; - } else { - throw new IllegalStateException(); - } - } else { - byte[] bArr3 = new byte[8]; - iVar.readFully(bArr3, 0, 8); - kVar.e = ((bArr3[0] & 255) | ((bArr3[1] & 255) << 8) | ((bArr3[2] & 255) << 16) | ((bArr3[3] & 255) << 24)) + 8; - if (((bArr3[7] & 255) | ((bArr3[5] & 255) << 16) | ((bArr3[4] & 255) << 24) | ((bArr3[6] & 255) << 8)) != 1397048916) { - sVar.a = 0; - } else { - sVar.a = iVar.getPosition() - ((long) (kVar.e - 12)); - kVar.d = 2; - } - } - if (sVar.a == 0) { - j(); - } - return 1; - } else { - throw new IllegalStateException(); - } - } - } - - @Override // c.i.a.c.a2.h - public void f(j jVar) { - this.s = jVar; - } - - @Override // c.i.a.c.a2.h - public void g(long j, long j2) { - this.g.clear(); - this.m = 0; - this.o = -1; - this.p = 0; - this.q = 0; - this.f741r = 0; - if (j != 0) { - a[] aVarArr = this.t; - if (aVarArr != null) { - for (a aVar : aVarArr) { - p pVar = aVar.b; - int a2 = pVar.a(j2); - if (a2 == -1) { - a2 = pVar.b(j2); - } - aVar.d = a2; - } - } - } else if (this.j != 3) { - j(); - } else { - k kVar = this.h; - kVar.f747c.clear(); - kVar.d = 0; - this.i.clear(); - } - } - - @Override // c.i.a.c.a2.t - public t.a h(long j) { - long j2; - long j3; - long j4; - long j5; - int b; - long j6 = j; - a[] aVarArr = this.t; - Objects.requireNonNull(aVarArr); - if (aVarArr.length == 0) { - return new t.a(c.i.a.c.a2.u.a); - } - long j7 = -1; - int i = this.v; - if (i != -1) { - p pVar = this.t[i].b; - int a2 = pVar.a(j6); - if (a2 == -1) { - a2 = pVar.b(j6); - } - if (a2 == -1) { - return new t.a(c.i.a.c.a2.u.a); - } - long j8 = pVar.f[a2]; - j2 = pVar.f752c[a2]; - if (j8 >= j6 || a2 >= pVar.b - 1 || (b = pVar.b(j6)) == -1 || b == a2) { - j5 = -9223372036854775807L; - } else { - long j9 = pVar.f[b]; - long j10 = pVar.f752c[b]; - j5 = j9; - j7 = j10; - } - j3 = j7; - j4 = j5; - j6 = j8; - } else { - j2 = RecyclerView.FOREVER_NS; - j3 = -1; - j4 = -9223372036854775807L; - } - int i2 = 0; - while (true) { - a[] aVarArr2 = this.t; - if (i2 >= aVarArr2.length) { - break; - } - if (i2 != this.v) { - p pVar2 = aVarArr2[i2].b; - long k = k(pVar2, j6, j2); - if (j4 != -9223372036854775807L) { - j3 = k(pVar2, j4, j3); - } - j2 = k; - } - i2++; - } - c.i.a.c.a2.u uVar = new c.i.a.c.a2.u(j6, j2); - return j4 == -9223372036854775807L ? new t.a(uVar) : new t.a(uVar, new c.i.a.c.a2.u(j4, j3)); - } - - @Override // c.i.a.c.a2.t - public long i() { - return this.f742w; - } - - public final void j() { - this.j = 0; - this.m = 0; - } - - /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x054b: APUT - (r1v13 com.google.android.exoplayer2.metadata.Metadata[]) - (1 ??[boolean, int, float, short, byte, char]) - (r5v10 com.google.android.exoplayer2.metadata.Metadata) - */ - /* JADX WARNING: Code restructure failed: missing block: B:186:0x035b, code lost: - r12 = null; - */ - /* JADX WARNING: Removed duplicated region for block: B:157:0x02c4 */ - /* JADX WARNING: Removed duplicated region for block: B:229:0x0497 */ - /* JADX WARNING: Removed duplicated region for block: B:230:0x049a */ - /* JADX WARNING: Removed duplicated region for block: B:233:0x04c2 */ - /* JADX WARNING: Removed duplicated region for block: B:281:0x0595 */ - /* JADX WARNING: Removed duplicated region for block: B:287:0x05a9 */ - /* JADX WARNING: Removed duplicated region for block: B:298:0x05fc A[LOOP:12: B:296:0x05f9->B:298:0x05fc, LOOP_END] */ - /* JADX WARNING: Removed duplicated region for block: B:302:0x0618 */ - /* JADX WARNING: Removed duplicated region for block: B:337:0x02c7 A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:43:0x00de A[Catch:{ all -> 0x022a }] */ - /* JADX WARNING: Removed duplicated region for block: B:44:0x00e5 A[Catch:{ all -> 0x022a }] */ - public final void l(long j) throws ParserException { - i iVar; - boolean z2; - ArrayList arrayList; - int i; - Metadata metadata; - Metadata metadata2; - Metadata metadata3; - Metadata metadata4; - int size; - int i2; - a[] aVarArr; - int i3; - int i4; - Metadata metadata5; - int i5; - ArrayList arrayList2; - i iVar2; - ArrayList arrayList3; - int i6; - int i7; - Metadata metadata6; - String[] strArr; - int i8; - MdtaMetadataEntry mdtaMetadataEntry; - boolean z3; - ArrayList arrayList4; - Metadata metadata7; - boolean z4; - Object obj; - String str; - i iVar3 = this; - while (!iVar3.g.isEmpty() && iVar3.g.peek().b == j) { - d.a pop = iVar3.g.pop(); - if (pop.a == 1836019574) { - ArrayList arrayList5 = new ArrayList(); - boolean z5 = iVar3.f743x == 1; - p pVar = new p(); - d.b c2 = pop.c(1969517665); - int i9 = 1768715124; - int i10 = 1751411826; - int i11 = 1835365473; - int i12 = 4; - int i13 = 8; - Metadata metadata8 = null; - if (c2 != null) { - byte[] bArr = e.a; - w wVar = c2.b; - wVar.D(8); - Metadata metadata9 = null; - String str2 = null; - while (wVar.a() >= i13) { - int i14 = wVar.b; - int f = wVar.f(); - int f2 = wVar.f(); - if (f2 == i11) { - wVar.D(i14); - int i15 = i14 + f; - wVar.E(i13); - int i16 = wVar.b; - wVar.E(i12); - if (wVar.f() != i10) { - i16 += 4; - } - wVar.D(i16); - int i17 = i9; - while (true) { - int i18 = wVar.b; - if (i18 >= i15) { - arrayList4 = arrayList5; - z3 = z5; - break; - } - int f3 = wVar.f(); - if (wVar.f() == i17) { - wVar.D(i18); - int i19 = i18 + f3; - wVar.E(i13); - ArrayList arrayList6 = new ArrayList(); - while (true) { - int i20 = wVar.b; - if (i20 >= i19) { - break; - } - int f4 = wVar.f() + i20; - int f5 = wVar.f(); - int i21 = (f5 >> 24) & 255; - if (i21 == 169 || i21 == 253) { - z4 = z5; - int i22 = 16777215 & f5; - if (i22 == 6516084) { - obj = h.a(f5, wVar); - } else { - if (i22 != 7233901) { - if (i22 != 7631467) { - if (i22 != 6516589) { - if (i22 != 7828084) { - if (i22 == 6578553) { - obj = h.d(f5, "TDRC", wVar); - } else if (i22 == 4280916) { - obj = h.d(f5, "TPE1", wVar); - } else if (i22 == 7630703) { - obj = h.d(f5, "TSSE", wVar); - } else if (i22 == 6384738) { - obj = h.d(f5, "TALB", wVar); - } else if (i22 == 7108978) { - obj = h.d(f5, "USLT", wVar); - } else if (i22 == 6776174) { - obj = h.d(f5, "TCON", wVar); - } else if (i22 == 6779504) { - obj = h.d(f5, "TIT1", wVar); - } - } - } - obj = h.d(f5, "TCOM", wVar); - } - } - obj = h.d(f5, "TIT2", wVar); - } - wVar.D(f4); - if (obj == null) { - arrayList6.add(obj); - } - str2 = null; - i19 = i19; - arrayList5 = arrayList5; - z5 = z4; - } else { - if (f5 == 1735291493) { - try { - int f6 = h.f(wVar); - if (f6 > 0) { - String[] strArr2 = h.a; - if (f6 <= strArr2.length) { - str = strArr2[f6 - 1]; - if (str == null) { - obj = new TextInformationFrame("TCON", str2, str); - } else { - Log.w("MetadataUtil", "Failed to parse standard genre code"); - z4 = z5; - obj = null; - wVar.D(f4); - if (obj == null) { - } - str2 = null; - i19 = i19; - arrayList5 = arrayList5; - z5 = z4; - } - } - } - str = str2; - if (str == null) { - } - } catch (Throwable th) { - wVar.D(f4); - throw th; - } - } else if (f5 == 1684632427) { - obj = h.c(f5, "TPOS", wVar); - } else if (f5 == 1953655662) { - obj = h.c(f5, "TRCK", wVar); - } else if (f5 == 1953329263) { - obj = h.e(f5, "TBPM", wVar, true, false); - } else if (f5 == 1668311404) { - obj = h.e(f5, "TCMP", wVar, true, true); - } else if (f5 == 1668249202) { - obj = h.b(wVar); - } else if (f5 == 1631670868) { - obj = h.d(f5, "TPE2", wVar); - } else if (f5 == 1936682605) { - obj = h.d(f5, "TSOT", wVar); - } else if (f5 == 1936679276) { - obj = h.d(f5, "TSO2", wVar); - } else if (f5 == 1936679282) { - obj = h.d(f5, "TSOA", wVar); - } else if (f5 == 1936679265) { - obj = h.d(f5, "TSOP", wVar); - } else if (f5 == 1936679791) { - obj = h.d(f5, "TSOC", wVar); - } else if (f5 == 1920233063) { - obj = h.e(f5, "ITUNESADVISORY", wVar, false, false); - } else if (f5 == 1885823344) { - obj = h.e(f5, "ITUNESGAPLESS", wVar, false, true); - } else if (f5 == 1936683886) { - obj = h.d(f5, "TVSHOWSORT", wVar); - } else if (f5 == 1953919848) { - obj = h.d(f5, "TVSHOW", wVar); - } else if (f5 == 757935405) { - int i23 = -1; - int i24 = -1; - String str3 = str2; - while (true) { - int i25 = wVar.b; - if (i25 >= f4) { - break; - } - int f7 = wVar.f(); - int f8 = wVar.f(); - wVar.E(4); - if (f8 == 1835360622) { - str2 = wVar.o(f7 - 12); - } else if (f8 == 1851878757) { - str3 = wVar.o(f7 - 12); - } else { - if (f8 == 1684108385) { - i24 = f7; - i23 = i25; - } - wVar.E(f7 - 12); - } - z5 = z5; - } - z4 = z5; - if (!(str2 == null || str3 == null)) { - if (i23 != -1) { - wVar.D(i23); - wVar.E(16); - obj = new InternalFrame(str2, str3, wVar.o(i24 - 16)); - wVar.D(f4); - if (obj == null) { - } - str2 = null; - i19 = i19; - arrayList5 = arrayList5; - z5 = z4; - } - } - obj = null; - wVar.D(f4); - if (obj == null) { - } - str2 = null; - i19 = i19; - arrayList5 = arrayList5; - z5 = z4; - } else { - z4 = z5; - } - z4 = z5; - wVar.D(f4); - if (obj == null) { - } - str2 = null; - i19 = i19; - arrayList5 = arrayList5; - z5 = z4; - } - Log.d("MetadataUtil", "Skipped unknown metadata entry: " + d.a(f5)); - obj = null; - wVar.D(f4); - if (obj == null) { - } - str2 = null; - i19 = i19; - arrayList5 = arrayList5; - z5 = z4; - } - arrayList4 = arrayList5; - z3 = z5; - if (!arrayList6.isEmpty()) { - metadata7 = new Metadata(arrayList6); - } - } else { - wVar.D(i18 + f3); - i13 = 8; - str2 = null; - i17 = 1768715124; - } - } - metadata7 = null; - metadata8 = metadata7; - } else { - arrayList4 = arrayList5; - z3 = z5; - if (f2 == 1936553057) { - wVar.D(i14); - int i26 = i14 + f; - wVar.E(12); - while (true) { - int i27 = wVar.b; - if (i27 >= i26) { - break; - } - int f9 = wVar.f(); - if (wVar.f() != 1935766900) { - wVar.D(i27 + f9); - } else if (f9 >= 14) { - wVar.E(5); - int s = wVar.s(); - if (s == 12 || s == 13) { - float f10 = s == 12 ? 240.0f : 120.0f; - wVar.E(1); - metadata9 = new Metadata(new SmtaMetadataEntry(f10, wVar.s())); - } - } - } - } - } - wVar.D(i14 + f); - i13 = 8; - str2 = null; - i9 = 1768715124; - i10 = 1751411826; - i11 = 1835365473; - i12 = 4; - arrayList5 = arrayList4; - z5 = z3; - } - arrayList = arrayList5; - z2 = z5; - Pair create = Pair.create(metadata8, metadata9); - metadata = (Metadata) create.first; - metadata2 = (Metadata) create.second; - if (metadata != null) { - pVar.b(metadata); - } - i = 1835365473; - } else { - arrayList = arrayList5; - z2 = z5; - metadata2 = null; - i = 1835365473; - metadata = null; - } - Metadata metadata10 = metadata; - d.a b = pop.b(i); - if (b != null) { - byte[] bArr2 = e.a; - d.b c3 = b.c(1751411826); - d.b c4 = b.c(1801812339); - d.b c5 = b.c(1768715124); - if (!(c3 == null || c4 == null || c5 == null)) { - w wVar2 = c3.b; - wVar2.D(16); - if (wVar2.f() == 1835299937) { - w wVar3 = c4.b; - wVar3.D(12); - int f11 = wVar3.f(); - String[] strArr3 = new String[f11]; - for (int i28 = 0; i28 < f11; i28++) { - int f12 = wVar3.f(); - wVar3.E(4); - strArr3[i28] = wVar3.p(f12 - 8); - } - int i29 = 8; - w wVar4 = c5.b; - wVar4.D(8); - ArrayList arrayList7 = new ArrayList(); - while (wVar4.a() > i29) { - int i30 = wVar4.b; - int f13 = wVar4.f(); - int f14 = wVar4.f() - 1; - if (f14 < 0 || f14 >= f11) { - i8 = f11; - strArr = strArr3; - metadata6 = metadata10; - c.d.b.a.a.i0("Skipped metadata with unknown key index: ", f14, "AtomParsers"); - } else { - String str4 = strArr3[f14]; - int i31 = i30 + f13; - while (true) { - int i32 = wVar4.b; - if (i32 >= i31) { - i8 = f11; - strArr = strArr3; - metadata6 = metadata10; - mdtaMetadataEntry = null; - break; - } - int f15 = wVar4.f(); - i8 = f11; - if (wVar4.f() == 1684108385) { - int f16 = wVar4.f(); - int f17 = wVar4.f(); - int i33 = f15 - 16; - byte[] bArr3 = new byte[i33]; - strArr = strArr3; - metadata6 = metadata10; - System.arraycopy(wVar4.a, wVar4.b, bArr3, 0, i33); - wVar4.b += i33; - mdtaMetadataEntry = new MdtaMetadataEntry(str4, bArr3, f17, f16); - break; - } - wVar4.D(i32 + f15); - f11 = i8; - } - if (mdtaMetadataEntry != null) { - arrayList7.add(mdtaMetadataEntry); - } - } - wVar4.D(i30 + f13); - i29 = 8; - f11 = i8; - strArr3 = strArr; - metadata10 = metadata6; - } - metadata3 = metadata10; - if (!arrayList7.isEmpty()) { - metadata4 = new Metadata(arrayList7); - List

e = e.e(pop, pVar, -9223372036854775807L, null, (iVar3.b & 1) != 0, z2, a.a); - j jVar = iVar3.s; - Objects.requireNonNull(jVar); - ArrayList arrayList8 = (ArrayList) e; - size = arrayList8.size(); - long j2 = -9223372036854775807L; - long j3 = -9223372036854775807L; - int i34 = -1; - i2 = 0; - while (i2 < size) { - p pVar2 = (p) arrayList8.get(i2); - if (pVar2.b == 0) { - metadata5 = metadata2; - iVar2 = iVar3; - arrayList2 = arrayList8; - i5 = size; - arrayList3 = arrayList; - } else { - m mVar = pVar2.a; - arrayList2 = arrayList8; - long j4 = mVar.e; - if (j4 == j3) { - j4 = pVar2.h; - } - long max = Math.max(j2, j4); - a aVar = new a(mVar, pVar2, jVar.p(i2, mVar.b)); - i5 = size; - Format.b a2 = mVar.f.a(); - a2.l = pVar2.e + 30; - int i35 = mVar.b; - if (i35 == 2 && j4 > 0 && (i7 = pVar2.b) > 1) { - a2.f2700r = ((float) i7) / (((float) j4) / 1000000.0f); - } - if (i35 == 1) { - int i36 = pVar.b; - if ((i36 == -1 || pVar.f805c == -1) ? false : true) { - a2.A = i36; - a2.B = pVar.f805c; - } - } - Metadata[] metadataArr = new Metadata[2]; - metadataArr[0] = metadata2; - iVar2 = this; - metadataArr[1] = iVar2.i.isEmpty() ? null : new Metadata(iVar2.i); - Metadata metadata11 = new Metadata(new Metadata.Entry[0]); - if (i35 == 1) { - if (metadata3 != null) { - metadata5 = metadata2; - metadata11 = metadata3; - for (i6 = 0; i6 < 2; i6++) { - Metadata metadata12 = metadataArr[i6]; - if (metadata12 != null) { - metadata11 = metadata11.a(metadata12.i); - } - } - if (metadata11.i.length > 0) { - a2.i = metadata11; - } - aVar.f745c.e(a2.a()); - if (mVar.b == 2 && i34 == -1) { - i34 = arrayList.size(); - } - arrayList3 = arrayList; - arrayList3.add(aVar); - j2 = max; - } - } else if (i35 == 2 && metadata4 != null) { - int i37 = 0; - while (true) { - Metadata.Entry[] entryArr = metadata4.i; - if (i37 >= entryArr.length) { - break; - } - Metadata.Entry entry = entryArr[i37]; - if (entry instanceof MdtaMetadataEntry) { - MdtaMetadataEntry mdtaMetadataEntry2 = (MdtaMetadataEntry) entry; - metadata5 = metadata2; - if ("com.android.capture.fps".equals(mdtaMetadataEntry2.i)) { - metadata11 = new Metadata(mdtaMetadataEntry2); - break; - } - } else { - metadata5 = metadata2; - } - i37++; - metadata2 = metadata5; - } - while (i6 < 2) { - } - if (metadata11.i.length > 0) { - } - aVar.f745c.e(a2.a()); - i34 = arrayList.size(); - arrayList3 = arrayList; - arrayList3.add(aVar); - j2 = max; - } - metadata5 = metadata2; - while (i6 < 2) { - } - if (metadata11.i.length > 0) { - } - aVar.f745c.e(a2.a()); - i34 = arrayList.size(); - arrayList3 = arrayList; - arrayList3.add(aVar); - j2 = max; - } - i2++; - j3 = -9223372036854775807L; - arrayList = arrayList3; - iVar3 = iVar2; - arrayList8 = arrayList2; - size = i5; - metadata2 = metadata5; - } - iVar = iVar3; - long j5 = 0; - iVar.v = i34; - iVar.f742w = j2; - aVarArr = (a[]) arrayList.toArray(new a[0]); - iVar.t = aVarArr; - long[][] jArr = new long[aVarArr.length][]; - int[] iArr = new int[aVarArr.length]; - long[] jArr2 = new long[aVarArr.length]; - boolean[] zArr = new boolean[aVarArr.length]; - for (i3 = 0; i3 < aVarArr.length; i3++) { - jArr[i3] = new long[aVarArr[i3].b.b]; - jArr2[i3] = aVarArr[i3].b.f[0]; - } - i4 = 0; - while (i4 < aVarArr.length) { - long j6 = RecyclerView.FOREVER_NS; - int i38 = -1; - for (int i39 = 0; i39 < aVarArr.length; i39++) { - if (!zArr[i39] && jArr2[i39] <= j6) { - j6 = jArr2[i39]; - i38 = i39; - } - } - int i40 = iArr[i38]; - jArr[i38][i40] = j5; - j5 += (long) aVarArr[i38].b.d[i40]; - int i41 = i40 + 1; - iArr[i38] = i41; - if (i41 < jArr[i38].length) { - jArr2[i38] = aVarArr[i38].b.f[i41]; - } else { - zArr[i38] = true; - i4++; - } - } - iVar.u = jArr; - jVar.j(); - jVar.a(iVar); - iVar.g.clear(); - iVar.j = 2; - } - metadata4 = null; - List

e = e.e(pop, pVar, -9223372036854775807L, null, (iVar3.b & 1) != 0, z2, a.a); - j jVar = iVar3.s; - Objects.requireNonNull(jVar); - ArrayList arrayList8 = (ArrayList) e; - size = arrayList8.size(); - long j2 = -9223372036854775807L; - long j3 = -9223372036854775807L; - int i34 = -1; - i2 = 0; - while (i2 < size) { - } - iVar = iVar3; - long j5 = 0; - iVar.v = i34; - iVar.f742w = j2; - aVarArr = (a[]) arrayList.toArray(new a[0]); - iVar.t = aVarArr; - long[][] jArr = new long[aVarArr.length][]; - int[] iArr = new int[aVarArr.length]; - long[] jArr2 = new long[aVarArr.length]; - boolean[] zArr = new boolean[aVarArr.length]; - while (i3 < aVarArr.length) { - } - i4 = 0; - while (i4 < aVarArr.length) { - } - iVar.u = jArr; - jVar.j(); - jVar.a(iVar); - iVar.g.clear(); - iVar.j = 2; - } - } - } - metadata3 = metadata10; - metadata4 = null; - List

e = e.e(pop, pVar, -9223372036854775807L, null, (iVar3.b & 1) != 0, z2, a.a); - j jVar = iVar3.s; - Objects.requireNonNull(jVar); - ArrayList arrayList8 = (ArrayList) e; - size = arrayList8.size(); - long j2 = -9223372036854775807L; - long j3 = -9223372036854775807L; - int i34 = -1; - i2 = 0; - while (i2 < size) { - } - iVar = iVar3; - long j5 = 0; - iVar.v = i34; - iVar.f742w = j2; - aVarArr = (a[]) arrayList.toArray(new a[0]); - iVar.t = aVarArr; - long[][] jArr = new long[aVarArr.length][]; - int[] iArr = new int[aVarArr.length]; - long[] jArr2 = new long[aVarArr.length]; - boolean[] zArr = new boolean[aVarArr.length]; - while (i3 < aVarArr.length) { - } - i4 = 0; - while (i4 < aVarArr.length) { - } - iVar.u = jArr; - jVar.j(); - jVar.a(iVar); - iVar.g.clear(); - iVar.j = 2; - } else { - iVar = iVar3; - if (!iVar.g.isEmpty()) { - iVar.g.peek().d.add(pop); - } - } - iVar3 = iVar; - } - if (iVar3.j != 2) { - j(); - } - } - - @Override // c.i.a.c.a2.h - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/j.java b/app/src/main/java/c/i/a/c/a2/h0/j.java deleted file mode 100644 index 76b80aa048..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/j.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.a2.h0; - -import java.util.UUID; -/* compiled from: PsshAtomUtil */ -public class j { - public final UUID a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final byte[] f746c; - - public j(UUID uuid, int i, byte[] bArr) { - this.a = uuid; - this.b = i; - this.f746c = bArr; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/k.java b/app/src/main/java/c/i/a/c/a2/h0/k.java deleted file mode 100644 index c74b19e84a..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/k.java +++ /dev/null @@ -1,28 +0,0 @@ -package c.i.a.c.a2.h0; - -import c.i.b.a.b; -import c.i.b.a.j; -import com.discord.widgets.chat.input.MentionUtilsKt; -import java.util.ArrayList; -import java.util.List; -/* compiled from: SefReader */ -public final class k { - public static final c.i.b.a.k a = new c.i.b.a.k(new j(new b.C0126b(MentionUtilsKt.EMOJIS_AND_STICKERS_CHAR))); - public static final c.i.b.a.k b = new c.i.b.a.k(new j(new b.C0126b('*'))); - - /* renamed from: c reason: collision with root package name */ - public final List f747c = new ArrayList(); - public int d = 0; - public int e; - - /* compiled from: SefReader */ - public static final class a { - public final long a; - public final int b; - - public a(int i, long j, int i2) { - this.a = j; - this.b = i2; - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/l.java b/app/src/main/java/c/i/a/c/a2/h0/l.java deleted file mode 100644 index d958e0799e..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/l.java +++ /dev/null @@ -1,128 +0,0 @@ -package c.i.a.c.a2.h0; - -import c.i.a.c.a2.i; -import c.i.a.c.i2.w; -import com.discord.api.permission.Permission; -import java.io.IOException; -/* compiled from: Sniffer */ -public final class l { - public static final int[] a = {1769172845, 1769172786, 1769172787, 1769172788, 1769172789, 1769172790, 1769172793, 1635148593, 1752589105, 1751479857, 1635135537, 1836069937, 1836069938, 862401121, 862401122, 862417462, 862417718, 862414134, 862414646, 1295275552, 1295270176, 1714714144, 1801741417, 1295275600, 1903435808, 1297305174, 1684175153, 1769172332, 1885955686}; - - /* JADX WARNING: Code restructure failed: missing block: B:67:0x00fb, code lost: - r0 = true; - */ - public static boolean a(i iVar, boolean z2, boolean z3) throws IOException { - boolean z4; - long b = iVar.b(); - long j = Permission.SEND_TTS_MESSAGES; - long j2 = -1; - int i = (b > -1 ? 1 : (b == -1 ? 0 : -1)); - if (i != 0 && b <= Permission.SEND_TTS_MESSAGES) { - j = b; - } - int i2 = (int) j; - w wVar = new w(64); - boolean z5 = false; - int i3 = 0; - boolean z6 = false; - while (true) { - if (i3 >= i2) { - break; - } - wVar.z(8); - byte[] bArr = wVar.a; - int i4 = z5 ? 1 : 0; - int i5 = z5 ? 1 : 0; - int i6 = z5 ? 1 : 0; - int i7 = z5 ? 1 : 0; - if (!iVar.e(bArr, i4, 8, true)) { - break; - } - long t = wVar.t(); - int f = wVar.f(); - int i8 = 16; - if (t == 1) { - iVar.n(wVar.a, 8, 8); - wVar.C(16); - t = wVar.m(); - } else { - if (t == 0) { - long b2 = iVar.b(); - if (b2 != j2) { - t = (b2 - iVar.f()) + ((long) 8); - } - } - i8 = 8; - } - long j3 = (long) i8; - if (t < j3) { - return z5; - } - i3 += i8; - if (f == 1836019574) { - i2 += (int) t; - if (i != 0 && ((long) i2) > b) { - i2 = (int) b; - } - j2 = -1; - } else if (f == 1836019558 || f == 1836475768) { - break; - } else if ((((long) i3) + t) - j3 >= ((long) i2)) { - break; - } else { - int i9 = (int) (t - j3); - i3 += i9; - if (f == 1718909296) { - if (i9 < 8) { - return false; - } - wVar.z(i9); - iVar.n(wVar.a, 0, i9); - int i10 = i9 / 4; - int i11 = 0; - while (true) { - if (i11 >= i10) { - break; - } - if (i11 == 1) { - wVar.E(4); - } else { - int f2 = wVar.f(); - if ((f2 >>> 8) != 3368816 && (f2 != 1751476579 || !z3)) { - int[] iArr = a; - int length = iArr.length; - int i12 = 0; - while (true) { - if (i12 >= length) { - z4 = false; - break; - } else if (iArr[i12] == f2) { - break; - } else { - i12++; - } - } - } - z4 = true; - if (z4) { - z6 = true; - break; - } - } - i11++; - } - if (!z6) { - return false; - } - } else if (i9 != 0) { - iVar.g(i9); - } - b = b; - j2 = -1; - z5 = false; - } - } - boolean z7 = false; - return z6 && z2 == z7; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/m.java b/app/src/main/java/c/i/a/c/a2/h0/m.java deleted file mode 100644 index 4d8aa93be6..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/m.java +++ /dev/null @@ -1,46 +0,0 @@ -package c.i.a.c.a2.h0; - -import androidx.annotation.Nullable; -import com.google.android.exoplayer2.Format; -/* compiled from: Track */ -public final class m { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final long f748c; - public final long d; - public final long e; - public final Format f; - public final int g; - @Nullable - public final long[] h; - @Nullable - public final long[] i; - public final int j; - @Nullable - public final n[] k; - - public m(int i, int i2, long j, long j2, long j3, Format format, int i3, @Nullable n[] nVarArr, int i4, @Nullable long[] jArr, @Nullable long[] jArr2) { - this.a = i; - this.b = i2; - this.f748c = j; - this.d = j2; - this.e = j3; - this.f = format; - this.g = i3; - this.k = nVarArr; - this.j = i4; - this.h = jArr; - this.i = jArr2; - } - - @Nullable - public n a(int i) { - n[] nVarArr = this.k; - if (nVarArr == null) { - return null; - } - return nVarArr[i]; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/n.java b/app/src/main/java/c/i/a/c/a2/h0/n.java deleted file mode 100644 index baa16d2ccb..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/n.java +++ /dev/null @@ -1,68 +0,0 @@ -package c.i.a.c.a2.h0; - -import android.util.Log; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.w; -/* compiled from: TrackEncryptionBox */ -public final class n { - public final boolean a; - @Nullable - public final String b; - - /* renamed from: c reason: collision with root package name */ - public final w.a f749c; - public final int d; - @Nullable - public final byte[] e; - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - /* JADX WARNING: Code restructure failed: missing block: B:21:0x0051, code lost: - if (r6.equals("cbc1") == false) goto L_0x0053; - */ - public n(boolean z2, @Nullable String str, int i, byte[] bArr, int i2, int i3, @Nullable byte[] bArr2) { - char c2 = 0; - int i4 = 1; - d.k((i == 0) ^ (bArr2 == null)); - this.a = z2; - this.b = str; - this.d = i; - this.e = bArr2; - if (str != null) { - switch (str.hashCode()) { - case 3046605: - break; - case 3046671: - if (str.equals("cbcs")) { - c2 = 1; - break; - } - c2 = 65535; - break; - case 3049879: - if (str.equals("cenc")) { - c2 = 2; - break; - } - c2 = 65535; - break; - case 3049895: - if (str.equals("cens")) { - c2 = 3; - break; - } - c2 = 65535; - break; - default: - c2 = 65535; - break; - } - if (c2 == 0 || c2 == 1) { - i4 = 2; - } else if (!(c2 == 2 || c2 == 3)) { - Log.w("TrackEncryptionBox", "Unsupported protection scheme type '" + str + "'. Assuming AES-CTR crypto mode."); - } - } - this.f749c = new w.a(i4, bArr, i2, i3); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/o.java b/app/src/main/java/c/i/a/c/a2/h0/o.java deleted file mode 100644 index 9a1b16fc4c..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/o.java +++ /dev/null @@ -1,30 +0,0 @@ -package c.i.a.c.a2.h0; - -import androidx.annotation.Nullable; -import c.i.a.c.i2.w; -/* compiled from: TrackFragment */ -public final class o { - public f a; - public long b; - - /* renamed from: c reason: collision with root package name */ - public long f750c; - public int d; - public int e; - public long[] f = new long[0]; - public int[] g = new int[0]; - public int[] h = new int[0]; - public int[] i = new int[0]; - public long[] j = new long[0]; - public boolean[] k = new boolean[0]; - public boolean l; - public boolean[] m = new boolean[0]; - @Nullable - public n n; - public final w o = new w(); - public boolean p; - public long q; - - /* renamed from: r reason: collision with root package name */ - public boolean f751r; -} diff --git a/app/src/main/java/c/i/a/c/a2/h0/p.java b/app/src/main/java/c/i/a/c/a2/h0/p.java deleted file mode 100644 index 62653d9ebd..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/p.java +++ /dev/null @@ -1,54 +0,0 @@ -package c.i.a.c.a2.h0; - -import c.c.a.a0.d; -import c.i.a.c.i2.f0; -/* compiled from: TrackSampleTable */ -public final class p { - public final m a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final long[] f752c; - public final int[] d; - public final int e; - public final long[] f; - public final int[] g; - public final long h; - - public p(m mVar, long[] jArr, int[] iArr, int i, long[] jArr2, int[] iArr2, long j) { - boolean z2 = false; - d.k(iArr.length == jArr2.length); - d.k(jArr.length == jArr2.length); - d.k(iArr2.length == jArr2.length ? true : z2); - this.a = mVar; - this.f752c = jArr; - this.d = iArr; - this.e = i; - this.f = jArr2; - this.g = iArr2; - this.h = j; - this.b = jArr.length; - if (iArr2.length > 0) { - int length = iArr2.length - 1; - iArr2[length] = iArr2[length] | 536870912; - } - } - - public int a(long j) { - for (int e = f0.e(this.f, j, true, false); e >= 0; e--) { - if ((this.g[e] & 1) != 0) { - return e; - } - } - return -1; - } - - public int b(long j) { - for (int b = f0.b(this.f, j, true, false); b < this.f.length; b++) { - if ((this.g[b] & 1) != 0) { - return b; - } - } - return -1; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/i.java b/app/src/main/java/c/i/a/c/a2/i.java deleted file mode 100644 index a73272b808..0000000000 --- a/app/src/main/java/c/i/a/c/a2/i.java +++ /dev/null @@ -1,33 +0,0 @@ -package c.i.a.c.a2; - -import c.i.a.c.h2.f; -import java.io.IOException; -/* compiled from: ExtractorInput */ -public interface i extends f { - long b(); - - boolean c(byte[] bArr, int i, int i2, boolean z2) throws IOException; - - boolean e(byte[] bArr, int i, int i2, boolean z2) throws IOException; - - long f(); - - void g(int i) throws IOException; - - long getPosition(); - - int h(int i) throws IOException; - - int i(byte[] bArr, int i, int i2) throws IOException; - - void k(); - - void l(int i) throws IOException; - - void n(byte[] bArr, int i, int i2) throws IOException; - - @Override // c.i.a.c.h2.f - int read(byte[] bArr, int i, int i2) throws IOException; - - void readFully(byte[] bArr, int i, int i2) throws IOException; -} diff --git a/app/src/main/java/c/i/a/c/a2/i0/a.java b/app/src/main/java/c/i/a/c/a2/i0/a.java deleted file mode 100644 index c92617627d..0000000000 --- a/app/src/main/java/c/i/a/c/a2/i0/a.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.i0; - -import android.net.Uri; -import c.i.a.c.a2.h; -import c.i.a.c.a2.k; -import c.i.a.c.a2.l; -import java.util.Map; -/* compiled from: lambda */ -public final /* synthetic */ class a implements l { - public static final /* synthetic */ a a = new a(); - - @Override // c.i.a.c.a2.l - public final h[] a() { - return new h[]{new d()}; - } - - @Override // c.i.a.c.a2.l - public /* synthetic */ h[] b(Uri uri, Map map) { - return k.a(this, uri, map); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/i0/b.java b/app/src/main/java/c/i/a/c/a2/i0/b.java deleted file mode 100644 index d327dfac5e..0000000000 --- a/app/src/main/java/c/i/a/c/a2/i0/b.java +++ /dev/null @@ -1,190 +0,0 @@ -package c.i.a.c.a2.i0; - -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.i; -import c.i.a.c.a2.t; -import c.i.a.c.a2.u; -import c.i.a.c.i2.f0; -import java.io.EOFException; -import java.io.IOException; -/* compiled from: DefaultOggSeeker */ -public final class b implements g { - public final f a; - public final long b; - - /* renamed from: c reason: collision with root package name */ - public final long f753c; - public final i d; - public int e; - public long f; - public long g; - public long h; - public long i; - public long j; - public long k; - public long l; - - /* compiled from: DefaultOggSeeker */ - /* renamed from: c.i.a.c.a2.i0.b$b reason: collision with other inner class name */ - public final class C0088b implements t { - public C0088b(a aVar) { - } - - @Override // c.i.a.c.a2.t - public boolean c() { - return true; - } - - @Override // c.i.a.c.a2.t - public t.a h(long j) { - b bVar = b.this; - long j2 = bVar.b; - long j3 = bVar.f753c; - return new t.a(new u(j, f0.i(((((j3 - j2) * ((((long) bVar.d.i) * j) / 1000000)) / bVar.f) + j2) - 30000, j2, j3 - 1))); - } - - @Override // c.i.a.c.a2.t - public long i() { - b bVar = b.this; - return (bVar.f * 1000000) / ((long) bVar.d.i); - } - } - - public b(i iVar, long j, long j2, long j3, long j4, boolean z2) { - d.k(j >= 0 && j2 > j); - this.d = iVar; - this.b = j; - this.f753c = j2; - if (j3 == j2 - j || z2) { - this.f = j4; - this.e = 4; - } else { - this.e = 0; - } - this.a = new f(); - } - - @Override // c.i.a.c.a2.i0.g - @Nullable - public t a() { - if (this.f != 0) { - return new C0088b(null); - } - return null; - } - - /* JADX WARNING: Removed duplicated region for block: B:38:0x00c2 A[RETURN] */ - /* JADX WARNING: Removed duplicated region for block: B:39:0x00c3 */ - @Override // c.i.a.c.a2.i0.g - public long b(i iVar) throws IOException { - long j; - long j2; - int i = this.e; - if (i == 0) { - long position = iVar.getPosition(); - this.g = position; - this.e = 1; - long j3 = this.f753c - 65307; - if (j3 > position) { - return j3; - } - } else if (i != 1) { - if (i == 2) { - if (this.i != this.j) { - long position2 = iVar.getPosition(); - if (!this.a.c(iVar, this.j)) { - j2 = this.i; - if (j2 == position2) { - throw new IOException("No ogg page can be found."); - } - } else { - this.a.a(iVar, false); - iVar.k(); - long j4 = this.h; - f fVar = this.a; - long j5 = fVar.f757c; - long j6 = j4 - j5; - int i2 = fVar.e + fVar.f; - if (0 > j6 || j6 >= 72000) { - int i3 = (j6 > 0 ? 1 : (j6 == 0 ? 0 : -1)); - if (i3 < 0) { - this.j = position2; - this.l = j5; - } else { - this.i = iVar.getPosition() + ((long) i2); - this.k = this.a.f757c; - } - long j7 = this.j; - long j8 = this.i; - if (j7 - j8 < 100000) { - this.j = j8; - j2 = j8; - } else { - long position3 = iVar.getPosition() - (((long) i2) * (i3 <= 0 ? 2 : 1)); - long j9 = this.j; - long j10 = this.i; - j2 = f0.i((((j9 - j10) * j6) / (this.l - this.k)) + position3, j10, j9 - 1); - } - } - } - j = -1; - if (j2 == -1) { - return j2; - } - this.e = 3; - } - j2 = -1; - j = -1; - if (j2 == -1) { - } - } else if (i == 3) { - j = -1; - } else if (i == 4) { - return -1; - } else { - throw new IllegalStateException(); - } - while (true) { - this.a.c(iVar, j); - this.a.a(iVar, false); - f fVar2 = this.a; - if (fVar2.f757c > this.h) { - iVar.k(); - this.e = 4; - return -(this.k + 2); - } - iVar.l(fVar2.e + fVar2.f); - this.i = iVar.getPosition(); - this.k = this.a.f757c; - j = -1; - } - } - this.a.b(); - if (this.a.c(iVar, -1)) { - do { - this.a.a(iVar, false); - f fVar3 = this.a; - iVar.l(fVar3.e + fVar3.f); - f fVar4 = this.a; - if ((fVar4.b & 4) == 4 || !fVar4.c(iVar, -1)) { - break; - } - } while (iVar.getPosition() < this.f753c); - this.f = this.a.f757c; - this.e = 4; - return this.g; - } - throw new EOFException(); - } - - @Override // c.i.a.c.a2.i0.g - public void c(long j) { - this.h = f0.i(j, 0, this.f - 1); - this.e = 2; - this.i = this.b; - this.j = this.f753c; - this.k = 0; - this.l = this.f; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/i0/c.java b/app/src/main/java/c/i/a/c/a2/i0/c.java deleted file mode 100644 index 86d2fd41f6..0000000000 --- a/app/src/main/java/c/i/a/c/a2/i0/c.java +++ /dev/null @@ -1,115 +0,0 @@ -package c.i.a.c.a2.i0; - -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.i; -import c.i.a.c.a2.i0.i; -import c.i.a.c.a2.m; -import c.i.a.c.a2.n; -import c.i.a.c.a2.o; -import c.i.a.c.a2.t; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -import java.util.Arrays; -import java.util.Objects; -import org.checkerframework.checker.nullness.qual.EnsuresNonNullIf; -/* compiled from: FlacReader */ -public final class c extends i { - @Nullable - public o n; - @Nullable - public a o; - - /* compiled from: FlacReader */ - public static final class a implements g { - public o a; - public o.a b; - - /* renamed from: c reason: collision with root package name */ - public long f754c = -1; - public long d = -1; - - public a(o oVar, o.a aVar) { - this.a = oVar; - this.b = aVar; - } - - @Override // c.i.a.c.a2.i0.g - public t a() { - d.D(this.f754c != -1); - return new n(this.a, this.f754c); - } - - @Override // c.i.a.c.a2.i0.g - public long b(i iVar) { - long j = this.d; - if (j < 0) { - return -1; - } - long j2 = -(j + 2); - this.d = -1; - return j2; - } - - @Override // c.i.a.c.a2.i0.g - public void c(long j) { - long[] jArr = this.b.a; - this.d = jArr[f0.e(jArr, j, true, true)]; - } - } - - @Override // c.i.a.c.a2.i0.i - public long c(w wVar) { - byte[] bArr = wVar.a; - if (!(bArr[0] == -1)) { - return -1; - } - int i = (bArr[2] & 255) >> 4; - if (i == 6 || i == 7) { - wVar.E(4); - wVar.y(); - } - int c2 = m.c(wVar, i); - wVar.D(0); - return (long) c2; - } - - @Override // c.i.a.c.a2.i0.i - @EnsuresNonNullIf(expression = {"#3.format"}, result = false) - public boolean d(w wVar, long j, i.b bVar) { - byte[] bArr = wVar.a; - o oVar = this.n; - if (oVar == null) { - o oVar2 = new o(bArr, 17); - this.n = oVar2; - bVar.a = oVar2.e(Arrays.copyOfRange(bArr, 9, wVar.f974c), null); - return true; - } else if ((bArr[0] & Byte.MAX_VALUE) == 3) { - o.a L1 = d.L1(wVar); - o b = oVar.b(L1); - this.n = b; - this.o = new a(b, L1); - return true; - } else { - if (!(bArr[0] == -1)) { - return true; - } - a aVar = this.o; - if (aVar != null) { - aVar.f754c = j; - bVar.b = aVar; - } - Objects.requireNonNull(bVar.a); - return false; - } - } - - @Override // c.i.a.c.a2.i0.i - public void e(boolean z2) { - super.e(z2); - if (z2) { - this.n = null; - this.o = null; - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/i0/d.java b/app/src/main/java/c/i/a/c/a2/i0/d.java deleted file mode 100644 index c98e13864f..0000000000 --- a/app/src/main/java/c/i/a/c/a2/i0/d.java +++ /dev/null @@ -1,233 +0,0 @@ -package c.i.a.c.a2.i0; - -import c.i.a.c.a2.h; -import c.i.a.c.a2.i; -import c.i.a.c.a2.i0.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.s; -import c.i.a.c.a2.t; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -import com.discord.utilities.auth.GoogleSmartLockManager; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import java.io.IOException; -import java.util.Arrays; -import org.checkerframework.checker.nullness.qual.EnsuresNonNullIf; -/* compiled from: OggExtractor */ -public class d implements h { - public j a; - public i b; - - /* renamed from: c reason: collision with root package name */ - public boolean f755c; - - static { - a aVar = a.a; - } - - @EnsuresNonNullIf(expression = {"streamReader"}, result = GoogleSmartLockManager.SET_DISCORD_ACCOUNT_DETAILS) - public final boolean a(i iVar) throws IOException { - boolean z2; - boolean z3; - f fVar = new f(); - if (fVar.a(iVar, true) && (fVar.b & 2) == 2) { - int min = Math.min(fVar.f, 8); - w wVar = new w(min); - iVar.n(wVar.a, 0, min); - wVar.D(0); - if (wVar.a() >= 5 && wVar.s() == 127 && wVar.t() == 1179402563) { - this.b = new c(); - } else { - wVar.D(0); - try { - z2 = c.c.a.a0.d.m2(1, wVar, true); - } catch (ParserException unused) { - z2 = false; - } - if (z2) { - this.b = new j(); - } else { - wVar.D(0); - int a = wVar.a(); - byte[] bArr = h.n; - if (a < bArr.length) { - z3 = false; - } else { - byte[] bArr2 = new byte[bArr.length]; - int length = bArr.length; - System.arraycopy(wVar.a, wVar.b, bArr2, 0, length); - wVar.b += length; - z3 = Arrays.equals(bArr2, bArr); - } - if (z3) { - this.b = new h(); - } - } - } - return true; - } - return false; - } - - @Override // c.i.a.c.a2.h - public boolean b(i iVar) throws IOException { - try { - return a(iVar); - } catch (ParserException unused) { - return false; - } - } - - /* JADX WARNING: Removed duplicated region for block: B:64:0x017e */ - /* JADX WARNING: Removed duplicated region for block: B:71:? A[RETURN, SYNTHETIC] */ - @Override // c.i.a.c.a2.h - public int e(i iVar, s sVar) throws IOException { - boolean z2; - int i; - byte[] bArr; - c.c.a.a0.d.H(this.a); - if (this.b == null) { - if (a(iVar)) { - iVar.k(); - } else { - throw new ParserException("Failed to determine bitstream type"); - } - } - if (!this.f755c) { - c.i.a.c.a2.w p = this.a.p(0, 1); - this.a.j(); - i iVar2 = this.b; - iVar2.f758c = this.a; - iVar2.b = p; - iVar2.e(true); - this.f755c = true; - } - i iVar3 = this.b; - c.c.a.a0.d.H(iVar3.b); - int i2 = f0.a; - int i3 = iVar3.h; - if (i3 == 0) { - while (true) { - if (iVar3.a.b(iVar)) { - long position = iVar.getPosition(); - long j = iVar3.f; - iVar3.k = position - j; - if (!iVar3.d(iVar3.a.b, j, iVar3.j)) { - z2 = true; - break; - } - iVar3.f = iVar.getPosition(); - } else { - iVar3.h = 3; - z2 = false; - break; - } - } - if (z2) { - Format format = iVar3.j.a; - iVar3.i = format.H; - if (!iVar3.m) { - iVar3.b.e(format); - iVar3.m = true; - } - g gVar = iVar3.j.b; - if (gVar != null) { - iVar3.d = gVar; - } else if (iVar.b() == -1) { - iVar3.d = new i.c(null); - } else { - f fVar = iVar3.a.a; - i = 2; - iVar3.d = new b(iVar3, iVar3.f, iVar.b(), (long) (fVar.e + fVar.f), fVar.f757c, (fVar.b & 4) != 0); - iVar3.h = i; - e eVar = iVar3.a; - w wVar = eVar.b; - bArr = wVar.a; - if (bArr.length != 65025) { - return 0; - } - wVar.B(Arrays.copyOf(bArr, Math.max(65025, wVar.f974c)), eVar.b.f974c); - return 0; - } - i = 2; - iVar3.h = i; - e eVar = iVar3.a; - w wVar = eVar.b; - bArr = wVar.a; - if (bArr.length != 65025) { - } - } - } else if (i3 == 1) { - iVar.l((int) iVar3.f); - iVar3.h = 2; - return 0; - } else if (i3 == 2) { - long b = iVar3.d.b(iVar); - if (b >= 0) { - sVar.a = b; - return 1; - } - if (b < -1) { - iVar3.b(-(b + 2)); - } - if (!iVar3.l) { - t a = iVar3.d.a(); - c.c.a.a0.d.H(a); - iVar3.f758c.a(a); - iVar3.l = true; - } - if (iVar3.k > 0 || iVar3.a.b(iVar)) { - iVar3.k = 0; - w wVar2 = iVar3.a.b; - long c2 = iVar3.c(wVar2); - if (c2 >= 0) { - long j2 = iVar3.g; - if (j2 + c2 >= iVar3.e) { - long j3 = (j2 * 1000000) / ((long) iVar3.i); - iVar3.b.c(wVar2, wVar2.f974c); - iVar3.b.d(j3, 1, wVar2.f974c, 0, null); - iVar3.e = -1; - } - } - iVar3.g += c2; - return 0; - } - iVar3.h = 3; - } else if (i3 != 3) { - throw new IllegalStateException(); - } - return -1; - } - - @Override // c.i.a.c.a2.h - public void f(j jVar) { - this.a = jVar; - } - - @Override // c.i.a.c.a2.h - public void g(long j, long j2) { - i iVar = this.b; - if (iVar != null) { - e eVar = iVar.a; - eVar.a.b(); - eVar.b.z(0); - eVar.f756c = -1; - eVar.e = false; - if (j == 0) { - iVar.e(!iVar.l); - } else if (iVar.h != 0) { - long j3 = (((long) iVar.i) * j2) / 1000000; - iVar.e = j3; - g gVar = iVar.d; - int i = f0.a; - gVar.c(j3); - iVar.h = 2; - } - } - } - - @Override // c.i.a.c.a2.h - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/i0/e.java b/app/src/main/java/c/i/a/c/a2/i0/e.java deleted file mode 100644 index ad6e65c4cd..0000000000 --- a/app/src/main/java/c/i/a/c/a2/i0/e.java +++ /dev/null @@ -1,77 +0,0 @@ -package c.i.a.c.a2.i0; - -import c.c.a.a0.d; -import c.i.a.c.a2.i; -import c.i.a.c.i2.w; -import java.io.IOException; -/* compiled from: OggPacket */ -public final class e { - public final f a = new f(); - public final w b = new w(new byte[65025], 0); - - /* renamed from: c reason: collision with root package name */ - public int f756c = -1; - public int d; - public boolean e; - - public final int a(int i) { - int i2; - int i3 = 0; - this.d = 0; - do { - int i4 = this.d; - int i5 = i + i4; - f fVar = this.a; - if (i5 >= fVar.d) { - break; - } - int[] iArr = fVar.g; - this.d = i4 + 1; - i2 = iArr[i4 + i]; - i3 += i2; - } while (i2 == 255); - return i3; - } - - public boolean b(i iVar) throws IOException { - int i; - d.D(iVar != null); - if (this.e) { - this.e = false; - this.b.z(0); - } - while (!this.e) { - if (this.f756c < 0) { - if (!this.a.c(iVar, -1) || !this.a.a(iVar, true)) { - return false; - } - f fVar = this.a; - int i2 = fVar.e; - if ((fVar.b & 1) == 1 && this.b.f974c == 0) { - i2 += a(0); - i = this.d + 0; - } else { - i = 0; - } - iVar.l(i2); - this.f756c = i; - } - int a = a(this.f756c); - int i3 = this.f756c + this.d; - if (a > 0) { - w wVar = this.b; - wVar.b(wVar.f974c + a); - w wVar2 = this.b; - iVar.readFully(wVar2.a, wVar2.f974c, a); - w wVar3 = this.b; - wVar3.C(wVar3.f974c + a); - this.e = this.a.g[i3 + -1] != 255; - } - if (i3 == this.a.d) { - i3 = -1; - } - this.f756c = i3; - } - return true; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/i0/f.java b/app/src/main/java/c/i/a/c/a2/i0/f.java deleted file mode 100644 index f78be4cd8a..0000000000 --- a/app/src/main/java/c/i/a/c/a2/i0/f.java +++ /dev/null @@ -1,122 +0,0 @@ -package c.i.a.c.a2.i0; - -import c.c.a.a0.d; -import c.i.a.c.a2.i; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.ParserException; -import java.io.EOFException; -import java.io.IOException; -/* compiled from: OggPageHeader */ -public final class f { - public int a; - public int b; - - /* renamed from: c reason: collision with root package name */ - public long f757c; - public int d; - public int e; - public int f; - public final int[] g = new int[255]; - public final w h = new w(255); - - public boolean a(i iVar, boolean z2) throws IOException { - boolean z3; - b(); - this.h.z(27); - try { - z3 = iVar.e(this.h.a, 0, 27, z2); - } catch (EOFException e) { - if (z2) { - z3 = false; - } else { - throw e; - } - } - if (!z3 || this.h.t() != 1332176723) { - return false; - } - int s = this.h.s(); - this.a = s; - if (s == 0) { - this.b = this.h.s(); - w wVar = this.h; - byte[] bArr = wVar.a; - int i = wVar.b; - int i2 = i + 1; - wVar.b = i2; - int i3 = i2 + 1; - wVar.b = i3; - int i4 = i3 + 1; - wVar.b = i4; - int i5 = i4 + 1; - wVar.b = i5; - int i6 = i5 + 1; - wVar.b = i6; - int i7 = i6 + 1; - wVar.b = i7; - int i8 = i7 + 1; - wVar.b = i8; - wVar.b = i8 + 1; - this.f757c = ((((long) bArr[i8]) & 255) << 56) | (((long) bArr[i]) & 255) | ((((long) bArr[i2]) & 255) << 8) | ((((long) bArr[i3]) & 255) << 16) | ((((long) bArr[i4]) & 255) << 24) | ((((long) bArr[i5]) & 255) << 32) | ((((long) bArr[i6]) & 255) << 40) | ((((long) bArr[i7]) & 255) << 48); - wVar.j(); - this.h.j(); - this.h.j(); - int s2 = this.h.s(); - this.d = s2; - this.e = s2 + 27; - this.h.z(s2); - iVar.n(this.h.a, 0, this.d); - for (int i9 = 0; i9 < this.d; i9++) { - this.g[i9] = this.h.s(); - this.f += this.g[i9]; - } - return true; - } else if (z2) { - return false; - } else { - throw new ParserException("unsupported bit stream revision"); - } - } - - public void b() { - this.a = 0; - this.b = 0; - this.f757c = 0; - this.d = 0; - this.e = 0; - this.f = 0; - } - - public boolean c(i iVar, long j) throws IOException { - int i; - boolean z2; - d.k(iVar.getPosition() == iVar.f()); - this.h.z(4); - while (true) { - i = (j > -1 ? 1 : (j == -1 ? 0 : -1)); - if (i != 0 && iVar.getPosition() + 4 >= j) { - break; - } - try { - z2 = iVar.e(this.h.a, 0, 4, true); - } catch (EOFException unused) { - z2 = false; - } - if (!z2) { - break; - } - this.h.D(0); - if (this.h.t() == 1332176723) { - iVar.k(); - return true; - } - iVar.l(1); - } - do { - if (i != 0 && iVar.getPosition() >= j) { - break; - } - } while (iVar.h(1) != -1); - return false; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/i0/g.java b/app/src/main/java/c/i/a/c/a2/i0/g.java deleted file mode 100644 index 9abdfedf45..0000000000 --- a/app/src/main/java/c/i/a/c/a2/i0/g.java +++ /dev/null @@ -1,15 +0,0 @@ -package c.i.a.c.a2.i0; - -import androidx.annotation.Nullable; -import c.i.a.c.a2.i; -import c.i.a.c.a2.t; -import java.io.IOException; -/* compiled from: OggSeeker */ -public interface g { - @Nullable - t a(); - - long b(i iVar) throws IOException; - - void c(long j); -} diff --git a/app/src/main/java/c/i/a/c/a2/i0/h.java b/app/src/main/java/c/i/a/c/a2/i0/h.java deleted file mode 100644 index d1f7b79605..0000000000 --- a/app/src/main/java/c/i/a/c/a2/i0/h.java +++ /dev/null @@ -1,64 +0,0 @@ -package c.i.a.c.a2.i0; - -import c.c.a.a0.d; -import c.i.a.c.a2.i0.i; -import c.i.a.c.i2.w; -import com.discord.utilities.guilds.GuildConstantsKt; -import com.google.android.exoplayer2.Format; -import java.util.Arrays; -import java.util.List; -import java.util.Objects; -import org.checkerframework.checker.nullness.qual.EnsuresNonNullIf; -/* compiled from: OpusReader */ -public final class h extends i { - public static final byte[] n = {79, 112, 117, 115, 72, 101, 97, 100}; - public boolean o; - - @Override // c.i.a.c.a2.i0.i - public long c(w wVar) { - byte[] bArr = wVar.a; - int i = bArr[0] & 255; - int i2 = i & 3; - int i3 = 2; - if (i2 == 0) { - i3 = 1; - } else if (!(i2 == 1 || i2 == 2)) { - i3 = bArr[1] & 63; - } - int i4 = i >> 3; - int i5 = i4 & 3; - return a(((long) i3) * ((long) (i4 >= 16 ? GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES << i5 : i4 >= 12 ? 10000 << (i5 & 1) : i5 == 3 ? 60000 : 10000 << i5))); - } - - @Override // c.i.a.c.a2.i0.i - @EnsuresNonNullIf(expression = {"#3.format"}, result = false) - public boolean d(w wVar, long j, i.b bVar) { - boolean z2 = true; - if (!this.o) { - byte[] copyOf = Arrays.copyOf(wVar.a, wVar.f974c); - List h = d.h(copyOf); - Format.b bVar2 = new Format.b(); - bVar2.k = "audio/opus"; - bVar2.f2702x = copyOf[9] & 255; - bVar2.f2703y = 48000; - bVar2.m = h; - bVar.a = bVar2.a(); - this.o = true; - return true; - } - Objects.requireNonNull(bVar.a); - if (wVar.f() != 1332770163) { - z2 = false; - } - wVar.D(0); - return z2; - } - - @Override // c.i.a.c.a2.i0.i - public void e(boolean z2) { - super.e(z2); - if (z2) { - this.o = false; - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/i0/i.java b/app/src/main/java/c/i/a/c/a2/i0/i.java deleted file mode 100644 index 21d5fd02a3..0000000000 --- a/app/src/main/java/c/i/a/c/a2/i0/i.java +++ /dev/null @@ -1,77 +0,0 @@ -package c.i.a.c.a2.i0; - -import c.i.a.c.a2.j; -import c.i.a.c.a2.t; -import c.i.a.c.a2.w; -import com.google.android.exoplayer2.Format; -import java.io.IOException; -import org.checkerframework.checker.nullness.qual.EnsuresNonNullIf; -/* compiled from: StreamReader */ -public abstract class i { - public final e a = new e(); - public w b; - - /* renamed from: c reason: collision with root package name */ - public j f758c; - public g d; - public long e; - public long f; - public long g; - public int h; - public int i; - public b j = new b(); - public long k; - public boolean l; - public boolean m; - - /* compiled from: StreamReader */ - public static class b { - public Format a; - public g b; - } - - /* compiled from: StreamReader */ - public static final class c implements g { - public c(a aVar) { - } - - @Override // c.i.a.c.a2.i0.g - public t a() { - return new t.b(-9223372036854775807L, 0); - } - - @Override // c.i.a.c.a2.i0.g - public long b(c.i.a.c.a2.i iVar) { - return -1; - } - - @Override // c.i.a.c.a2.i0.g - public void c(long j) { - } - } - - public long a(long j) { - return (((long) this.i) * j) / 1000000; - } - - public void b(long j) { - this.g = j; - } - - public abstract long c(c.i.a.c.i2.w wVar); - - @EnsuresNonNullIf(expression = {"#3.format"}, result = false) - public abstract boolean d(c.i.a.c.i2.w wVar, long j, b bVar) throws IOException; - - public void e(boolean z2) { - if (z2) { - this.j = new b(); - this.f = 0; - this.h = 0; - } else { - this.h = 1; - } - this.e = -1; - this.g = 0; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/i0/j.java b/app/src/main/java/c/i/a/c/a2/i0/j.java deleted file mode 100644 index dae134ad4c..0000000000 --- a/app/src/main/java/c/i/a/c/a2/i0/j.java +++ /dev/null @@ -1,402 +0,0 @@ -package c.i.a.c.a2.i0; - -import android.util.Log; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.a0; -import c.i.a.c.a2.i0.i; -import c.i.a.c.a2.x; -import c.i.a.c.a2.y; -import c.i.a.c.a2.z; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Objects; -import org.checkerframework.checker.nullness.qual.EnsuresNonNullIf; -/* compiled from: VorbisReader */ -public final class j extends i { - @Nullable - public a n; - public int o; - public boolean p; - @Nullable - public a0 q; - @Nullable - - /* renamed from: r reason: collision with root package name */ - public y f759r; - - /* compiled from: VorbisReader */ - public static final class a { - public final a0 a; - public final byte[] b; - - /* renamed from: c reason: collision with root package name */ - public final z[] f760c; - public final int d; - - public a(a0 a0Var, y yVar, byte[] bArr, z[] zVarArr, int i) { - this.a = a0Var; - this.b = bArr; - this.f760c = zVarArr; - this.d = i; - } - } - - @Override // c.i.a.c.a2.i0.i - public void b(long j) { - this.g = j; - int i = 0; - this.p = j != 0; - a0 a0Var = this.q; - if (a0Var != null) { - i = a0Var.e; - } - this.o = i; - } - - @Override // c.i.a.c.a2.i0.i - public long c(w wVar) { - byte[] bArr = wVar.a; - int i = 0; - if ((bArr[0] & 1) == 1) { - return -1; - } - byte b = bArr[0]; - a aVar = this.n; - d.H(aVar); - a aVar2 = aVar; - int i2 = !aVar2.f760c[(b >> 1) & (255 >>> (8 - aVar2.d))].a ? aVar2.a.e : aVar2.a.f; - if (this.p) { - i = (this.o + i2) / 4; - } - long j = (long) i; - byte[] bArr2 = wVar.a; - int length = bArr2.length; - int i3 = wVar.f974c + 4; - if (length < i3) { - wVar.A(Arrays.copyOf(bArr2, i3)); - } else { - wVar.C(i3); - } - byte[] bArr3 = wVar.a; - int i4 = wVar.f974c; - bArr3[i4 - 4] = (byte) ((int) (j & 255)); - bArr3[i4 - 3] = (byte) ((int) ((j >>> 8) & 255)); - bArr3[i4 - 2] = (byte) ((int) ((j >>> 16) & 255)); - bArr3[i4 - 1] = (byte) ((int) ((j >>> 24) & 255)); - this.p = true; - this.o = i2; - return j; - } - - /* JADX WARNING: Removed duplicated region for block: B:168:0x03c3 A[RETURN] */ - /* JADX WARNING: Removed duplicated region for block: B:169:0x03c5 */ - @Override // c.i.a.c.a2.i0.i - @EnsuresNonNullIf(expression = {"#3.format"}, result = false) - public boolean d(w wVar, long j, i.b bVar) throws IOException { - a aVar; - int i; - int i2; - byte[] bArr; - int i3; - byte[] bArr2; - if (this.n != null) { - Objects.requireNonNull(bVar.a); - return false; - } - a0 a0Var = this.q; - if (a0Var == null) { - d.m2(1, wVar, false); - int k = wVar.k(); - int s = wVar.s(); - int k2 = wVar.k(); - int h = wVar.h(); - int i4 = h <= 0 ? -1 : h; - int h2 = wVar.h(); - int i5 = h2 <= 0 ? -1 : h2; - int h3 = wVar.h(); - int i6 = h3 <= 0 ? -1 : h3; - int s2 = wVar.s(); - this.q = new a0(k, s, k2, i4, i5, i6, (int) Math.pow(2.0d, (double) (s2 & 15)), (int) Math.pow(2.0d, (double) ((s2 & 240) >> 4)), (1 & wVar.s()) > 0, Arrays.copyOf(wVar.a, wVar.f974c)); - } else { - y yVar = this.f759r; - if (yVar == null) { - this.f759r = d.N1(wVar, true, true); - } else { - int i7 = wVar.f974c; - byte[] bArr3 = new byte[i7]; - System.arraycopy(wVar.a, 0, bArr3, 0, i7); - int i8 = a0Var.a; - int i9 = 5; - d.m2(5, wVar, false); - int s3 = wVar.s() + 1; - x xVar = new x(wVar.a); - xVar.c(wVar.b * 8); - int i10 = 0; - while (true) { - int i11 = 16; - if (i10 >= s3) { - int i12 = 6; - int b = xVar.b(6) + 1; - for (int i13 = 0; i13 < b; i13++) { - if (xVar.b(16) != 0) { - throw new ParserException("placeholder of time domain transforms not zeroed out"); - } - } - int i14 = 1; - int b2 = xVar.b(6) + 1; - int i15 = 0; - while (true) { - int i16 = 3; - if (i15 < b2) { - int b3 = xVar.b(i11); - if (b3 == 0) { - i = b2; - int i17 = 8; - xVar.c(8); - xVar.c(16); - xVar.c(16); - xVar.c(6); - xVar.c(8); - int b4 = xVar.b(4) + 1; - int i18 = 0; - while (i18 < b4) { - xVar.c(i17); - i18++; - i17 = 8; - } - } else if (b3 == i14) { - int b5 = xVar.b(5); - int[] iArr = new int[b5]; - int i19 = -1; - for (int i20 = 0; i20 < b5; i20++) { - iArr[i20] = xVar.b(4); - if (iArr[i20] > i19) { - i19 = iArr[i20]; - } - } - int i21 = i19 + 1; - int[] iArr2 = new int[i21]; - int i22 = 0; - while (i22 < i21) { - iArr2[i22] = xVar.b(i16) + 1; - int b6 = xVar.b(2); - if (b6 > 0) { - xVar.c(8); - } - for (int i23 = 0; i23 < (1 << b6); i23++) { - xVar.c(8); - } - i22++; - i16 = 3; - b2 = b2; - } - i = b2; - xVar.c(2); - int b7 = xVar.b(4); - int i24 = 0; - int i25 = 0; - for (int i26 = 0; i26 < b5; i26++) { - i24 += iArr2[iArr[i26]]; - while (i25 < i24) { - xVar.c(b7); - i25++; - } - } - } else { - throw new ParserException(c.d.b.a.a.l("floor type greater than 1 not decodable: ", b3)); - } - i15++; - i12 = 6; - i14 = 1; - b2 = i; - i11 = 16; - } else { - int i27 = 1; - int b8 = xVar.b(i12) + 1; - int i28 = 0; - while (i28 < b8) { - if (xVar.b(16) <= 2) { - xVar.c(24); - xVar.c(24); - xVar.c(24); - int b9 = xVar.b(i12) + i27; - int i29 = 8; - xVar.c(8); - int[] iArr3 = new int[b9]; - for (int i30 = 0; i30 < b9; i30++) { - iArr3[i30] = ((xVar.a() ? xVar.b(5) : 0) * 8) + xVar.b(3); - } - int i31 = 0; - while (i31 < b9) { - int i32 = 0; - while (i32 < i29) { - if ((iArr3[i31] & (1 << i32)) != 0) { - xVar.c(i29); - } - i32++; - i29 = 8; - } - i31++; - i29 = 8; - } - i28++; - i12 = 6; - i27 = 1; - } else { - throw new ParserException("residueType greater than 2 is not decodable"); - } - } - int b10 = xVar.b(i12) + 1; - for (int i33 = 0; i33 < b10; i33++) { - int b11 = xVar.b(16); - if (b11 != 0) { - Log.e("VorbisUtil", "mapping type other than 0 not supported: " + b11); - } else { - int b12 = xVar.a() ? xVar.b(4) + 1 : 1; - if (xVar.a()) { - int b13 = xVar.b(8) + 1; - for (int i34 = 0; i34 < b13; i34++) { - int i35 = i8 - 1; - xVar.c(d.P0(i35)); - xVar.c(d.P0(i35)); - } - } - if (xVar.b(2) == 0) { - if (b12 > 1) { - for (int i36 = 0; i36 < i8; i36++) { - xVar.c(4); - } - } - for (int i37 = 0; i37 < b12; i37++) { - xVar.c(8); - xVar.c(8); - xVar.c(8); - } - } else { - throw new ParserException("to reserved bits must be zero after mapping coupling steps"); - } - } - } - int b14 = xVar.b(6) + 1; - z[] zVarArr = new z[b14]; - for (int i38 = 0; i38 < b14; i38++) { - zVarArr[i38] = new z(xVar.a(), xVar.b(16), xVar.b(16), xVar.b(8)); - } - if (xVar.a()) { - aVar = new a(a0Var, yVar, bArr3, zVarArr, d.P0(b14 - 1)); - } else { - throw new ParserException("framing bit after modes not set as expected"); - } - } - } - } else if (xVar.b(24) == 5653314) { - int b15 = xVar.b(16); - int b16 = xVar.b(24); - long[] jArr = new long[b16]; - if (!xVar.a()) { - boolean a2 = xVar.a(); - int i39 = 0; - while (i39 < b16) { - if (!a2) { - bArr2 = bArr3; - i3 = s3; - jArr[i39] = (long) (xVar.b(i9) + 1); - } else if (xVar.a()) { - bArr2 = bArr3; - i3 = s3; - jArr[i39] = (long) (xVar.b(i9) + 1); - } else { - bArr2 = bArr3; - i3 = s3; - jArr[i39] = 0; - } - i39++; - i9 = 5; - s3 = i3; - bArr3 = bArr2; - } - i2 = s3; - bArr = bArr3; - } else { - byte[] bArr4 = bArr3; - i2 = s3; - int b17 = xVar.b(5) + 1; - int i40 = 0; - while (i40 < b16) { - int b18 = xVar.b(d.P0(b16 - i40)); - int i41 = 0; - while (i41 < b18 && i40 < b16) { - jArr[i40] = (long) b17; - i40++; - i41++; - bArr4 = bArr4; - } - b17++; - bArr4 = bArr4; - } - bArr = bArr4; - } - int b19 = xVar.b(4); - if (b19 <= 2) { - if (b19 == 1 || b19 == 2) { - xVar.c(32); - xVar.c(32); - int b20 = xVar.b(4) + 1; - xVar.c(1); - xVar.c((int) (((long) b20) * (b19 == 1 ? b15 != 0 ? (long) Math.floor(Math.pow((double) ((long) b16), 1.0d / ((double) ((long) b15)))) : 0 : ((long) b16) * ((long) b15)))); - } - i10++; - i9 = 5; - s3 = i2; - bArr3 = bArr; - } else { - throw new ParserException(c.d.b.a.a.l("lookup type greater than 2 not decodable: ", b19)); - } - } else { - StringBuilder O = c.d.b.a.a.O("expected code book to start with [0x56, 0x43, 0x42] at "); - O.append((xVar.f809c * 8) + xVar.d); - throw new ParserException(O.toString()); - } - } - this.n = aVar; - if (aVar != null) { - return true; - } - a0 a0Var2 = aVar.a; - ArrayList arrayList = new ArrayList(); - arrayList.add(a0Var2.g); - arrayList.add(aVar.b); - Format.b bVar2 = new Format.b(); - bVar2.k = "audio/vorbis"; - bVar2.f = a0Var2.d; - bVar2.g = a0Var2.f687c; - bVar2.f2702x = a0Var2.a; - bVar2.f2703y = a0Var2.b; - bVar2.m = arrayList; - bVar.a = bVar2.a(); - return true; - } - } - aVar = null; - this.n = aVar; - if (aVar != null) { - } - } - - @Override // c.i.a.c.a2.i0.i - public void e(boolean z2) { - super.e(z2); - if (z2) { - this.n = null; - this.q = null; - this.f759r = null; - } - this.o = 0; - this.p = false; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j.java b/app/src/main/java/c/i/a/c/a2/j.java deleted file mode 100644 index 1d5a5491d5..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j.java +++ /dev/null @@ -1,29 +0,0 @@ -package c.i.a.c.a2; -/* compiled from: ExtractorOutput */ -public interface j { - public static final j d = new a(); - - /* compiled from: ExtractorOutput */ - public class a implements j { - @Override // c.i.a.c.a2.j - public void a(t tVar) { - throw new UnsupportedOperationException(); - } - - @Override // c.i.a.c.a2.j - public void j() { - throw new UnsupportedOperationException(); - } - - @Override // c.i.a.c.a2.j - public w p(int i, int i2) { - throw new UnsupportedOperationException(); - } - } - - void a(t tVar); - - void j(); - - w p(int i, int i2); -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/a.java b/app/src/main/java/c/i/a/c/a2/j0/a.java deleted file mode 100644 index 2b012b7e2b..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/a.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.j0; - -import android.net.Uri; -import c.i.a.c.a2.h; -import c.i.a.c.a2.k; -import c.i.a.c.a2.l; -import java.util.Map; -/* compiled from: lambda */ -public final /* synthetic */ class a implements l { - public static final /* synthetic */ a a = new a(); - - @Override // c.i.a.c.a2.l - public final h[] a() { - return new h[]{new f()}; - } - - @Override // c.i.a.c.a2.l - public /* synthetic */ h[] b(Uri uri, Map map) { - return k.a(this, uri, map); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/a0.java b/app/src/main/java/c/i/a/c/a2/j0/a0.java deleted file mode 100644 index 9467438512..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/a0.java +++ /dev/null @@ -1,45 +0,0 @@ -package c.i.a.c.a2.j0; - -import c.i.a.c.a2.i; -import c.i.a.c.i2.e0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -/* compiled from: PsDurationReader */ -public final class a0 { - public final e0 a = new e0(0); - public final w b = new w(); - - /* renamed from: c reason: collision with root package name */ - public boolean f761c; - public boolean d; - public boolean e; - public long f = -9223372036854775807L; - public long g = -9223372036854775807L; - public long h = -9223372036854775807L; - - public static long c(w wVar) { - int i = wVar.b; - if (wVar.a() < 9) { - return -9223372036854775807L; - } - byte[] bArr = new byte[9]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, 9); - wVar.b += 9; - wVar.D(i); - if (!((bArr[0] & 196) == 68 && (bArr[2] & 4) == 4 && (bArr[4] & 4) == 4 && (bArr[5] & 1) == 1 && (bArr[8] & 3) == 3)) { - return -9223372036854775807L; - } - return (((((long) bArr[0]) & 56) >> 3) << 30) | ((((long) bArr[0]) & 3) << 28) | ((((long) bArr[1]) & 255) << 20) | (((((long) bArr[2]) & 248) >> 3) << 15) | ((((long) bArr[2]) & 3) << 13) | ((((long) bArr[3]) & 255) << 5) | ((((long) bArr[4]) & 248) >> 3); - } - - public final int a(i iVar) { - this.b.A(f0.f); - this.f761c = true; - iVar.k(); - return 0; - } - - public final int b(byte[] bArr, int i) { - return (bArr[i + 3] & 255) | ((bArr[i] & 255) << 24) | ((bArr[i + 1] & 255) << 16) | ((bArr[i + 2] & 255) << 8); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/b.java b/app/src/main/java/c/i/a/c/a2/j0/b.java deleted file mode 100644 index 181ea77957..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/b.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.j0; - -import android.net.Uri; -import c.i.a.c.a2.h; -import c.i.a.c.a2.k; -import c.i.a.c.a2.l; -import java.util.Map; -/* compiled from: lambda */ -public final /* synthetic */ class b implements l { - public static final /* synthetic */ b a = new b(); - - @Override // c.i.a.c.a2.l - public final h[] a() { - return new h[]{new h()}; - } - - @Override // c.i.a.c.a2.l - public /* synthetic */ h[] b(Uri uri, Map map) { - return k.a(this, uri, map); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/b0.java b/app/src/main/java/c/i/a/c/a2/j0/b0.java deleted file mode 100644 index 41807f1662..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/b0.java +++ /dev/null @@ -1,307 +0,0 @@ -package c.i.a.c.a2.j0; - -import android.util.SparseArray; -import androidx.annotation.Nullable; -import androidx.core.view.InputDeviceCompat; -import c.c.a.a0.d; -import c.i.a.c.a2.h; -import c.i.a.c.a2.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.a2.s; -import c.i.a.c.a2.t; -import c.i.a.c.i2.e0; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import com.discord.api.permission.Permission; -import java.io.IOException; -/* compiled from: PsExtractor */ -public final class b0 implements h { - public final e0 a = new e0(0); - public final SparseArray b = new SparseArray<>(); - - /* renamed from: c reason: collision with root package name */ - public final w f762c = new w(4096); - public final a0 d = new a0(); - public boolean e; - public boolean f; - public boolean g; - public long h; - @Nullable - public z i; - public j j; - public boolean k; - - /* compiled from: PsExtractor */ - public static final class a { - public final o a; - public final e0 b; - - /* renamed from: c reason: collision with root package name */ - public final v f763c = new v(new byte[64]); - public boolean d; - public boolean e; - public boolean f; - public int g; - public long h; - - public a(o oVar, e0 e0Var) { - this.a = oVar; - this.b = e0Var; - } - } - - static { - d dVar = d.a; - } - - @Override // c.i.a.c.a2.h - public boolean b(i iVar) throws IOException { - byte[] bArr = new byte[14]; - iVar.n(bArr, 0, 14); - if (442 != (((bArr[0] & 255) << 24) | ((bArr[1] & 255) << 16) | ((bArr[2] & 255) << 8) | (bArr[3] & 255)) || (bArr[4] & 196) != 68 || (bArr[6] & 4) != 4 || (bArr[8] & 4) != 4 || (bArr[9] & 1) != 1 || (bArr[12] & 3) != 3) { - return false; - } - iVar.g(bArr[13] & 7); - iVar.n(bArr, 0, 3); - return 1 == ((((bArr[0] & 255) << 16) | ((bArr[1] & 255) << 8)) | (bArr[2] & 255)); - } - - /* JADX WARNING: Removed duplicated region for block: B:98:0x020a */ - @Override // c.i.a.c.a2.h - public int e(i iVar, s sVar) throws IOException { - o pVar; - d.H(this.j); - long b = iVar.b(); - int i = (b > -1 ? 1 : (b == -1 ? 0 : -1)); - long j = -9223372036854775807L; - if (i != 0) { - a0 a0Var = this.d; - if (!a0Var.f761c) { - if (!a0Var.e) { - long b2 = iVar.b(); - int min = (int) Math.min(20000L, b2); - long j2 = b2 - ((long) min); - if (iVar.getPosition() != j2) { - sVar.a = j2; - } else { - a0Var.b.z(min); - iVar.k(); - iVar.n(a0Var.b.a, 0, min); - w wVar = a0Var.b; - int i2 = wVar.b; - int i3 = wVar.f974c - 4; - while (true) { - if (i3 < i2) { - break; - } - if (a0Var.b(wVar.a, i3) == 442) { - wVar.D(i3 + 4); - long c2 = a0.c(wVar); - if (c2 != -9223372036854775807L) { - j = c2; - break; - } - } - i3--; - } - a0Var.g = j; - a0Var.e = true; - return 0; - } - } else if (a0Var.g == -9223372036854775807L) { - a0Var.a(iVar); - return 0; - } else if (!a0Var.d) { - int min2 = (int) Math.min(20000L, iVar.b()); - long j3 = (long) 0; - if (iVar.getPosition() != j3) { - sVar.a = j3; - } else { - a0Var.b.z(min2); - iVar.k(); - iVar.n(a0Var.b.a, 0, min2); - w wVar2 = a0Var.b; - int i4 = wVar2.b; - int i5 = wVar2.f974c; - while (true) { - if (i4 >= i5 - 3) { - break; - } - if (a0Var.b(wVar2.a, i4) == 442) { - wVar2.D(i4 + 4); - long c3 = a0.c(wVar2); - if (c3 != -9223372036854775807L) { - j = c3; - break; - } - } - i4++; - } - a0Var.f = j; - a0Var.d = true; - return 0; - } - } else { - long j4 = a0Var.f; - if (j4 == -9223372036854775807L) { - a0Var.a(iVar); - return 0; - } - a0Var.h = a0Var.a.b(a0Var.g) - a0Var.a.b(j4); - a0Var.a(iVar); - return 0; - } - return 1; - } - } - if (!this.k) { - this.k = true; - a0 a0Var2 = this.d; - long j5 = a0Var2.h; - if (j5 != -9223372036854775807L) { - z zVar = new z(a0Var2.a, j5, b); - this.i = zVar; - this.j.a(zVar.a); - } else { - this.j.a(new t.b(j5, 0)); - } - } - z zVar2 = this.i; - if (zVar2 != null && zVar2.b()) { - return this.i.a(iVar, sVar); - } - iVar.k(); - long f = i != 0 ? b - iVar.f() : -1; - if ((f != -1 && f < 4) || !iVar.e(this.f762c.a, 0, 4, true)) { - return -1; - } - this.f762c.D(0); - int f2 = this.f762c.f(); - if (f2 == 441) { - return -1; - } - if (f2 == 442) { - iVar.n(this.f762c.a, 0, 10); - this.f762c.D(9); - iVar.l((this.f762c.s() & 7) + 14); - return 0; - } else if (f2 == 443) { - iVar.n(this.f762c.a, 0, 2); - this.f762c.D(0); - iVar.l(this.f762c.x() + 6); - return 0; - } else if (((f2 & InputDeviceCompat.SOURCE_ANY) >> 8) != 1) { - iVar.l(1); - return 0; - } else { - int i6 = f2 & 255; - a aVar = this.b.get(i6); - if (!this.e) { - if (aVar == null) { - o oVar = null; - if (i6 == 189) { - pVar = new g(null); - this.f = true; - this.h = iVar.getPosition(); - } else if ((i6 & 224) == 192) { - pVar = new v(null); - this.f = true; - this.h = iVar.getPosition(); - } else { - if ((i6 & 240) == 224) { - pVar = new p(null); - this.g = true; - this.h = iVar.getPosition(); - } - if (oVar != null) { - oVar.e(this.j, new i0.d(Integer.MIN_VALUE, i6, 256)); - aVar = new a(oVar, this.a); - this.b.put(i6, aVar); - } - } - oVar = pVar; - if (oVar != null) { - } - } - if (iVar.getPosition() > ((!this.f || !this.g) ? Permission.CONNECT : this.h + Permission.MANAGE_MESSAGES)) { - this.e = true; - this.j.j(); - } - } - iVar.n(this.f762c.a, 0, 2); - this.f762c.D(0); - int x2 = this.f762c.x() + 6; - if (aVar == null) { - iVar.l(x2); - return 0; - } - this.f762c.z(x2); - iVar.readFully(this.f762c.a, 0, x2); - this.f762c.D(6); - w wVar3 = this.f762c; - wVar3.e(aVar.f763c.a, 0, 3); - aVar.f763c.k(0); - aVar.f763c.m(8); - aVar.d = aVar.f763c.f(); - aVar.e = aVar.f763c.f(); - aVar.f763c.m(6); - int g = aVar.f763c.g(8); - aVar.g = g; - wVar3.e(aVar.f763c.a, 0, g); - aVar.f763c.k(0); - aVar.h = 0; - if (aVar.d) { - aVar.f763c.m(4); - aVar.f763c.m(1); - aVar.f763c.m(1); - long g2 = (((long) aVar.f763c.g(3)) << 30) | ((long) (aVar.f763c.g(15) << 15)) | ((long) aVar.f763c.g(15)); - aVar.f763c.m(1); - if (!aVar.f && aVar.e) { - aVar.f763c.m(4); - aVar.f763c.m(1); - aVar.f763c.m(1); - aVar.f763c.m(1); - aVar.b.b((((long) aVar.f763c.g(3)) << 30) | ((long) (aVar.f763c.g(15) << 15)) | ((long) aVar.f763c.g(15))); - aVar.f = true; - } - aVar.h = aVar.b.b(g2); - } - aVar.a.f(aVar.h, 4); - aVar.a.b(wVar3); - aVar.a.d(); - w wVar4 = this.f762c; - wVar4.C(wVar4.a.length); - return 0; - } - } - - @Override // c.i.a.c.a2.h - public void f(j jVar) { - this.j = jVar; - } - - @Override // c.i.a.c.a2.h - public void g(long j, long j2) { - if ((this.a.d() == -9223372036854775807L) || !(this.a.c() == 0 || this.a.c() == j2)) { - e0 e0Var = this.a; - synchronized (e0Var) { - e0Var.a = j2; - e0Var.f964c = -9223372036854775807L; - } - } - z zVar = this.i; - if (zVar != null) { - zVar.e(j2); - } - for (int i = 0; i < this.b.size(); i++) { - a valueAt = this.b.valueAt(i); - valueAt.f = false; - valueAt.a.c(); - } - } - - @Override // c.i.a.c.a2.h - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/c.java b/app/src/main/java/c/i/a/c/a2/j0/c.java deleted file mode 100644 index a942df08fa..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/c.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.j0; - -import android.net.Uri; -import c.i.a.c.a2.h; -import c.i.a.c.a2.k; -import c.i.a.c.a2.l; -import java.util.Map; -/* compiled from: lambda */ -public final /* synthetic */ class c implements l { - public static final /* synthetic */ c a = new c(); - - @Override // c.i.a.c.a2.l - public final h[] a() { - return new h[]{new j(0)}; - } - - @Override // c.i.a.c.a2.l - public /* synthetic */ h[] b(Uri uri, Map map) { - return k.a(this, uri, map); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/c0.java b/app/src/main/java/c/i/a/c/a2/j0/c0.java deleted file mode 100644 index b201d132ca..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/c0.java +++ /dev/null @@ -1,12 +0,0 @@ -package c.i.a.c.a2.j0; - -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.i2.e0; -import c.i.a.c.i2.w; -/* compiled from: SectionPayloadReader */ -public interface c0 { - void a(e0 e0Var, j jVar, i0.d dVar); - - void b(w wVar); -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/d.java b/app/src/main/java/c/i/a/c/a2/j0/d.java deleted file mode 100644 index 57fea95400..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/d.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.j0; - -import android.net.Uri; -import c.i.a.c.a2.h; -import c.i.a.c.a2.k; -import c.i.a.c.a2.l; -import java.util.Map; -/* compiled from: lambda */ -public final /* synthetic */ class d implements l { - public static final /* synthetic */ d a = new d(); - - @Override // c.i.a.c.a2.l - public final h[] a() { - return new h[]{new b0()}; - } - - @Override // c.i.a.c.a2.l - public /* synthetic */ h[] b(Uri uri, Map map) { - return k.a(this, uri, map); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/d0.java b/app/src/main/java/c/i/a/c/a2/j0/d0.java deleted file mode 100644 index 22af45988d..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/d0.java +++ /dev/null @@ -1,108 +0,0 @@ -package c.i.a.c.a2.j0; - -import androidx.core.view.InputDeviceCompat; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.i2.e0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -/* compiled from: SectionReader */ -public final class d0 implements i0 { - public final c0 a; - public final w b = new w(32); - - /* renamed from: c reason: collision with root package name */ - public int f764c; - public int d; - public boolean e; - public boolean f; - - public d0(c0 c0Var) { - this.a = c0Var; - } - - @Override // c.i.a.c.a2.j0.i0 - public void a(e0 e0Var, j jVar, i0.d dVar) { - this.a.a(e0Var, jVar, dVar); - this.f = true; - } - - @Override // c.i.a.c.a2.j0.i0 - public void b(w wVar, int i) { - boolean z2 = (i & 1) != 0; - int s = z2 ? wVar.b + wVar.s() : -1; - if (this.f) { - if (z2) { - this.f = false; - wVar.D(s); - this.d = 0; - } else { - return; - } - } - while (wVar.a() > 0) { - int i2 = this.d; - if (i2 < 3) { - if (i2 == 0) { - int s2 = wVar.s(); - wVar.D(wVar.b - 1); - if (s2 == 255) { - this.f = true; - return; - } - } - int min = Math.min(wVar.a(), 3 - this.d); - wVar.e(this.b.a, this.d, min); - int i3 = this.d + min; - this.d = i3; - if (i3 == 3) { - this.b.D(0); - this.b.C(3); - this.b.E(1); - int s3 = this.b.s(); - int s4 = this.b.s(); - this.e = (s3 & 128) != 0; - int i4 = (((s3 & 15) << 8) | s4) + 3; - this.f764c = i4; - byte[] bArr = this.b.a; - if (bArr.length < i4) { - this.b.b(Math.min((int) InputDeviceCompat.SOURCE_TOUCHSCREEN, Math.max(i4, bArr.length * 2))); - } - } - } else { - int min2 = Math.min(wVar.a(), this.f764c - this.d); - wVar.e(this.b.a, this.d, min2); - int i5 = this.d + min2; - this.d = i5; - int i6 = this.f764c; - if (i5 != i6) { - continue; - } else { - if (this.e) { - byte[] bArr2 = this.b.a; - int i7 = f0.a; - int i8 = -1; - for (int i9 = 0; i9 < i6; i9++) { - i8 = f0.k[((i8 >>> 24) ^ (bArr2[i9] & 255)) & 255] ^ (i8 << 8); - } - if (i8 != 0) { - this.f = true; - return; - } - this.b.C(this.f764c - 4); - } else { - this.b.C(i6); - } - this.b.D(0); - this.a.b(this.b); - this.d = 0; - } - } - } - } - - @Override // c.i.a.c.a2.j0.i0 - public void c() { - this.f = true; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/e.java b/app/src/main/java/c/i/a/c/a2/j0/e.java deleted file mode 100644 index 3262b42fa9..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/e.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.j0; - -import android.net.Uri; -import c.i.a.c.a2.h; -import c.i.a.c.a2.k; -import c.i.a.c.a2.l; -import java.util.Map; -/* compiled from: lambda */ -public final /* synthetic */ class e implements l { - public static final /* synthetic */ e a = new e(); - - @Override // c.i.a.c.a2.l - public final h[] a() { - return new h[]{new h0(1, 0, 112800)}; - } - - @Override // c.i.a.c.a2.l - public /* synthetic */ h[] b(Uri uri, Map map) { - return k.a(this, uri, map); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/e0.java b/app/src/main/java/c/i/a/c/a2/j0/e0.java deleted file mode 100644 index e33ea24b39..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/e0.java +++ /dev/null @@ -1,42 +0,0 @@ -package c.i.a.c.a2.j0; - -import c.c.a.a0.d; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.a2.w; -import com.google.android.exoplayer2.Format; -import java.util.List; -/* compiled from: SeiReader */ -public final class e0 { - public final List a; - public final w[] b; - - public e0(List list) { - this.a = list; - this.b = new w[list.size()]; - } - - public void a(j jVar, i0.d dVar) { - for (int i = 0; i < this.b.length; i++) { - dVar.a(); - w p = jVar.p(dVar.c(), 3); - Format format = this.a.get(i); - String str = format.t; - boolean z2 = "application/cea-608".equals(str) || "application/cea-708".equals(str); - d.n(z2, "Invalid closed caption mime type provided: " + str); - String str2 = format.i; - if (str2 == null) { - str2 = dVar.b(); - } - Format.b bVar = new Format.b(); - bVar.a = str2; - bVar.k = str; - bVar.d = format.l; - bVar.f2699c = format.k; - bVar.C = format.L; - bVar.m = format.v; - p.e(bVar.a()); - this.b[i] = p; - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/f.java b/app/src/main/java/c/i/a/c/a2/j0/f.java deleted file mode 100644 index 0e22965891..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/f.java +++ /dev/null @@ -1,112 +0,0 @@ -package c.i.a.c.a2.j0; - -import c.i.a.c.a2.h; -import c.i.a.c.a2.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.a2.s; -import c.i.a.c.a2.t; -import c.i.a.c.i2.w; -import c.i.a.c.v1.l; -import java.io.IOException; -/* compiled from: Ac3Extractor */ -public final class f implements h { - public final g a = new g(null); - public final w b = new w(2786); - - /* renamed from: c reason: collision with root package name */ - public boolean f765c; - - static { - a aVar = a.a; - } - - /* JADX WARNING: Code restructure failed: missing block: B:7:0x0034, code lost: - r14.k(); - r5 = r5 + 1; - */ - /* JADX WARNING: Code restructure failed: missing block: B:8:0x003d, code lost: - if ((r5 - r3) < 8192) goto L_0x0040; - */ - /* JADX WARNING: Code restructure failed: missing block: B:9:0x003f, code lost: - return false; - */ - @Override // c.i.a.c.a2.h - public boolean b(i iVar) throws IOException { - int i; - w wVar = new w(10); - int i2 = 0; - while (true) { - iVar.n(wVar.a, 0, 10); - wVar.D(0); - if (wVar.u() != 4801587) { - break; - } - wVar.E(3); - int r2 = wVar.r(); - i2 += r2 + 10; - iVar.g(r2); - } - iVar.k(); - iVar.g(i2); - int i3 = i2; - while (true) { - int i4 = 0; - while (true) { - iVar.n(wVar.a, 0, 6); - wVar.D(0); - if (wVar.x() != 2935) { - break; - } - i4++; - if (i4 >= 4) { - return true; - } - byte[] bArr = wVar.a; - if (bArr.length < 6) { - i = -1; - } else { - i = ((bArr[5] & 248) >> 3) > 10 ? ((((bArr[2] & 7) << 8) | (bArr[3] & 255)) + 1) * 2 : l.a((bArr[4] & 192) >> 6, bArr[4] & 63); - } - if (i == -1) { - return false; - } - iVar.g(i - 6); - } - iVar.g(i3); - } - } - - @Override // c.i.a.c.a2.h - public int e(i iVar, s sVar) throws IOException { - int read = iVar.read(this.b.a, 0, 2786); - if (read == -1) { - return -1; - } - this.b.D(0); - this.b.C(read); - if (!this.f765c) { - this.a.l = 0; - this.f765c = true; - } - this.a.b(this.b); - return 0; - } - - @Override // c.i.a.c.a2.h - public void f(j jVar) { - this.a.e(jVar, new i0.d(Integer.MIN_VALUE, 0, 1)); - jVar.j(); - jVar.a(new t.b(-9223372036854775807L, 0)); - } - - @Override // c.i.a.c.a2.h - public void g(long j, long j2) { - this.f765c = false; - this.a.c(); - } - - @Override // c.i.a.c.a2.h - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/f0.java b/app/src/main/java/c/i/a/c/a2/j0/f0.java deleted file mode 100644 index 451683bf04..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/f0.java +++ /dev/null @@ -1,75 +0,0 @@ -package c.i.a.c.a2.j0; - -import c.c.a.a0.d; -import c.i.a.c.a2.a; -import c.i.a.c.a2.i; -import c.i.a.c.i2.e0; -import c.i.a.c.i2.w; -import java.io.IOException; -/* compiled from: TsBinarySearchSeeker */ -public final class f0 extends c.i.a.c.a2.a { - - /* compiled from: TsBinarySearchSeeker */ - public static final class a implements a.f { - public final e0 a; - public final w b = new w(); - - /* renamed from: c reason: collision with root package name */ - public final int f766c; - public final int d; - - public a(int i, e0 e0Var, int i2) { - this.f766c = i; - this.a = e0Var; - this.d = i2; - } - - @Override // c.i.a.c.a2.a.f - public void a() { - this.b.A(c.i.a.c.i2.f0.f); - } - - @Override // c.i.a.c.a2.a.f - public a.e b(i iVar, long j) throws IOException { - long position = iVar.getPosition(); - int min = (int) Math.min((long) this.d, iVar.b() - position); - this.b.z(min); - iVar.n(this.b.a, 0, min); - w wVar = this.b; - int i = wVar.f974c; - long j2 = -1; - long j3 = -1; - long j4 = -9223372036854775807L; - while (wVar.a() >= 188) { - byte[] bArr = wVar.a; - int i2 = wVar.b; - while (i2 < i && bArr[i2] != 71) { - i2++; - } - int i3 = i2 + 188; - if (i3 > i) { - break; - } - long K1 = d.K1(wVar, i2, this.f766c); - if (K1 != -9223372036854775807L) { - long b = this.a.b(K1); - if (b > j) { - return j4 == -9223372036854775807L ? a.e.a(b, position) : a.e.b(position + j3); - } - if (100000 + b > j) { - return a.e.b(position + ((long) i2)); - } - j4 = b; - j3 = (long) i2; - } - wVar.D(i3); - j2 = (long) i3; - } - return j4 != -9223372036854775807L ? a.e.c(j4, position + j2) : a.e.a; - } - } - - public f0(e0 e0Var, long j, long j2, int i, int i2) { - super(new a.b(), new a(i, e0Var, i2), j, 0, j + 1, 0, j2, 188, 940); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/g.java b/app/src/main/java/c/i/a/c/a2/j0/g.java deleted file mode 100644 index 1bdd19e619..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/g.java +++ /dev/null @@ -1,366 +0,0 @@ -package c.i.a.c.a2.j0; - -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import c.i.a.c.v1.l; -import com.google.android.exoplayer2.Format; -/* compiled from: Ac3Reader */ -public final class g implements o { - public final v a; - public final w b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public final String f767c; - public String d; - public c.i.a.c.a2.w e; - public int f = 0; - public int g; - public boolean h; - public long i; - public Format j; - public int k; - public long l; - - public g(@Nullable String str) { - v vVar = new v(new byte[128]); - this.a = vVar; - this.b = new w(vVar.a); - this.f767c = str; - } - - /* JADX WARNING: Removed duplicated region for block: B:120:0x0209 */ - /* JADX WARNING: Removed duplicated region for block: B:129:0x0225 */ - @Override // c.i.a.c.a2.j0.o - public void b(w wVar) { - int i; - int i2; - int i3; - String str; - int i4; - int i5; - int i6; - int i7; - int i8; - int i9; - int i10; - int i11; - int i12; - boolean z2; - d.H(this.e); - while (wVar.a() > 0) { - int i13 = this.f; - if (i13 == 0) { - while (true) { - if (wVar.a() <= 0) { - z2 = false; - break; - } else if (!this.h) { - this.h = wVar.s() == 11; - } else { - int s = wVar.s(); - if (s == 119) { - this.h = false; - z2 = true; - break; - } - this.h = s == 11; - } - } - if (z2) { - this.f = 1; - byte[] bArr = this.b.a; - bArr[0] = 11; - bArr[1] = 119; - this.g = 2; - } - } else if (i13 == 1) { - byte[] bArr2 = this.b.a; - int min = Math.min(wVar.a(), 128 - this.g); - System.arraycopy(wVar.a, wVar.b, bArr2, this.g, min); - wVar.b += min; - int i14 = this.g + min; - this.g = i14; - if (i14 == 128) { - this.a.k(0); - v vVar = this.a; - int e = vVar.e(); - vVar.m(40); - boolean z3 = vVar.g(5) > 10; - vVar.k(e); - int i15 = -1; - if (z3) { - vVar.m(16); - int g = vVar.g(2); - if (g == 0) { - i15 = 0; - } else if (g == 1) { - i15 = 1; - } else if (g == 2) { - i15 = 2; - } - vVar.m(3); - i3 = (vVar.g(11) + 1) * 2; - int g2 = vVar.g(2); - if (g2 == 3) { - i5 = l.f1058c[vVar.g(2)]; - i7 = 6; - i6 = 3; - } else { - int g3 = vVar.g(2); - i6 = g3; - i7 = l.a[g3]; - i5 = l.b[g2]; - } - i2 = i7 * 256; - int g4 = vVar.g(3); - boolean f = vVar.f(); - i = l.d[g4] + (f ? 1 : 0); - vVar.m(10); - if (vVar.f()) { - vVar.m(8); - } - if (g4 == 0) { - vVar.m(5); - if (vVar.f()) { - vVar.m(8); - } - } - if (i15 == 1 && vVar.f()) { - vVar.m(16); - } - if (vVar.f()) { - if (g4 > 2) { - vVar.m(2); - } - if ((g4 & 1) == 0 || g4 <= 2) { - i10 = 6; - } else { - i10 = 6; - vVar.m(6); - } - if ((g4 & 4) != 0) { - vVar.m(i10); - } - if (f && vVar.f()) { - vVar.m(5); - } - if (i15 == 0) { - if (vVar.f()) { - i11 = 6; - vVar.m(6); - } else { - i11 = 6; - } - if (g4 == 0 && vVar.f()) { - vVar.m(i11); - } - if (vVar.f()) { - vVar.m(i11); - } - int g5 = vVar.g(2); - if (g5 == 1) { - vVar.m(5); - } else if (g5 == 2) { - vVar.m(12); - } else if (g5 == 3) { - int g6 = vVar.g(5); - if (vVar.f()) { - vVar.m(5); - if (vVar.f()) { - vVar.m(4); - } - if (vVar.f()) { - vVar.m(4); - } - if (vVar.f()) { - vVar.m(4); - } - if (vVar.f()) { - vVar.m(4); - } - if (vVar.f()) { - vVar.m(4); - } - if (vVar.f()) { - vVar.m(4); - } - if (vVar.f()) { - vVar.m(4); - } - if (vVar.f()) { - if (vVar.f()) { - vVar.m(4); - } - if (vVar.f()) { - vVar.m(4); - } - } - } - if (vVar.f()) { - vVar.m(5); - if (vVar.f()) { - vVar.m(7); - if (vVar.f()) { - vVar.m(8); - i12 = 2; - vVar.m((g6 + 2) * 8); - vVar.c(); - if (g4 < i12) { - if (vVar.f()) { - vVar.m(14); - } - if (g4 == 0 && vVar.f()) { - vVar.m(14); - } - } - if (vVar.f()) { - if (i6 == 0) { - vVar.m(5); - } else { - for (int i16 = 0; i16 < i7; i16++) { - if (vVar.f()) { - vVar.m(5); - } - } - } - } - } - } - } - i12 = 2; - vVar.m((g6 + 2) * 8); - vVar.c(); - if (g4 < i12) { - } - if (vVar.f()) { - } - } - i12 = 2; - if (g4 < i12) { - } - if (vVar.f()) { - } - } - } - if (vVar.f()) { - vVar.m(5); - if (g4 == 2) { - vVar.m(4); - } - if (g4 >= 6) { - vVar.m(2); - } - if (vVar.f()) { - i9 = 8; - vVar.m(8); - } else { - i9 = 8; - } - if (g4 == 0 && vVar.f()) { - vVar.m(i9); - } - if (g2 < 3) { - vVar.l(); - } - } - if (i15 == 0 && i6 != 3) { - vVar.l(); - } - if (i15 != 2 || (i6 != 3 && !vVar.f())) { - i8 = 6; - } else { - i8 = 6; - vVar.m(6); - } - str = (vVar.f() && vVar.g(i8) == 1 && vVar.g(8) == 1) ? "audio/eac3-joc" : "audio/eac3"; - i15 = i5; - } else { - vVar.m(32); - int g7 = vVar.g(2); - String str2 = g7 == 3 ? null : "audio/ac3"; - int a = l.a(g7, vVar.g(6)); - vVar.m(8); - int g8 = vVar.g(3); - if ((g8 & 1) == 0 || g8 == 1) { - i4 = 2; - } else { - i4 = 2; - vVar.m(2); - } - if ((g8 & 4) != 0) { - vVar.m(i4); - } - if (g8 == i4) { - vVar.m(i4); - } - int[] iArr = l.b; - if (g7 < iArr.length) { - i15 = iArr[g7]; - } - i = l.d[g8] + (vVar.f() ? 1 : 0); - i2 = 1536; - str = str2; - i3 = a; - } - Format format = this.j; - if (format == null || i != format.G || i15 != format.H || !f0.a(str, format.t)) { - Format.b bVar = new Format.b(); - bVar.a = this.d; - bVar.k = str; - bVar.f2702x = i; - bVar.f2703y = i15; - bVar.f2699c = this.f767c; - Format a2 = bVar.a(); - this.j = a2; - this.e.e(a2); - } - this.k = i3; - this.i = (((long) i2) * 1000000) / ((long) this.j.H); - this.b.D(0); - this.e.c(this.b, 128); - this.f = 2; - } - } else if (i13 == 2) { - int min2 = Math.min(wVar.a(), this.k - this.g); - this.e.c(wVar, min2); - int i17 = this.g + min2; - this.g = i17; - int i18 = this.k; - if (i17 == i18) { - this.e.d(this.l, 1, i18, 0, null); - this.l += this.i; - this.f = 0; - } - } - } - } - - @Override // c.i.a.c.a2.j0.o - public void c() { - this.f = 0; - this.g = 0; - this.h = false; - } - - @Override // c.i.a.c.a2.j0.o - public void d() { - } - - @Override // c.i.a.c.a2.j0.o - public void e(j jVar, i0.d dVar) { - dVar.a(); - this.d = dVar.b(); - this.e = jVar.p(dVar.c(), 1); - } - - @Override // c.i.a.c.a2.j0.o - public void f(long j, int i) { - this.l = j; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/g0.java b/app/src/main/java/c/i/a/c/a2/j0/g0.java deleted file mode 100644 index e013652890..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/g0.java +++ /dev/null @@ -1,31 +0,0 @@ -package c.i.a.c.a2.j0; - -import c.i.a.c.a2.i; -import c.i.a.c.i2.e0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -/* compiled from: TsDurationReader */ -public final class g0 { - public final int a; - public final e0 b = new e0(0); - - /* renamed from: c reason: collision with root package name */ - public final w f768c = new w(); - public boolean d; - public boolean e; - public boolean f; - public long g = -9223372036854775807L; - public long h = -9223372036854775807L; - public long i = -9223372036854775807L; - - public g0(int i) { - this.a = i; - } - - public final int a(i iVar) { - this.f768c.A(f0.f); - this.d = true; - iVar.k(); - return 0; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/h.java b/app/src/main/java/c/i/a/c/a2/j0/h.java deleted file mode 100644 index 48b1f7e6bb..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/h.java +++ /dev/null @@ -1,121 +0,0 @@ -package c.i.a.c.a2.j0; - -import c.i.a.c.a2.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.a2.s; -import c.i.a.c.a2.t; -import c.i.a.c.i2.w; -import java.io.IOException; -/* compiled from: Ac4Extractor */ -public final class h implements c.i.a.c.a2.h { - public final i a = new i(null); - public final w b = new w(16384); - - /* renamed from: c reason: collision with root package name */ - public boolean f769c; - - static { - b bVar = b.a; - } - - /* JADX WARNING: Code restructure failed: missing block: B:10:0x0045, code lost: - return false; - */ - /* JADX WARNING: Code restructure failed: missing block: B:8:0x003a, code lost: - r15.k(); - r4 = r4 + 1; - */ - /* JADX WARNING: Code restructure failed: missing block: B:9:0x0043, code lost: - if ((r4 - r3) < 8192) goto L_0x0046; - */ - @Override // c.i.a.c.a2.h - public boolean b(i iVar) throws IOException { - int i; - w wVar = new w(10); - int i2 = 0; - while (true) { - iVar.n(wVar.a, 0, 10); - wVar.D(0); - if (wVar.u() != 4801587) { - break; - } - wVar.E(3); - int r2 = wVar.r(); - i2 += r2 + 10; - iVar.g(r2); - } - iVar.k(); - iVar.g(i2); - int i3 = i2; - while (true) { - int i4 = 0; - while (true) { - int i5 = 7; - iVar.n(wVar.a, 0, 7); - wVar.D(0); - int x2 = wVar.x(); - if (x2 != 44096 && x2 != 44097) { - break; - } - i4++; - if (i4 >= 4) { - return true; - } - byte[] bArr = wVar.a; - if (bArr.length < 7) { - i = -1; - } else { - int i6 = ((bArr[2] & 255) << 8) | (bArr[3] & 255); - if (i6 == 65535) { - i6 = ((bArr[4] & 255) << 16) | ((bArr[5] & 255) << 8) | (bArr[6] & 255); - } else { - i5 = 4; - } - if (x2 == 44097) { - i5 += 2; - } - i = i6 + i5; - } - if (i == -1) { - return false; - } - iVar.g(i - 7); - } - iVar.g(i3); - } - } - - @Override // c.i.a.c.a2.h - public int e(i iVar, s sVar) throws IOException { - int read = iVar.read(this.b.a, 0, 16384); - if (read == -1) { - return -1; - } - this.b.D(0); - this.b.C(read); - if (!this.f769c) { - this.a.m = 0; - this.f769c = true; - } - this.a.b(this.b); - return 0; - } - - @Override // c.i.a.c.a2.h - public void f(j jVar) { - this.a.e(jVar, new i0.d(Integer.MIN_VALUE, 0, 1)); - jVar.j(); - jVar.a(new t.b(-9223372036854775807L, 0)); - } - - @Override // c.i.a.c.a2.h - public void g(long j, long j2) { - this.f769c = false; - this.a.c(); - } - - @Override // c.i.a.c.a2.h - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/h0.java b/app/src/main/java/c/i/a/c/a2/j0/h0.java deleted file mode 100644 index 0ecad59d80..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/h0.java +++ /dev/null @@ -1,729 +0,0 @@ -package c.i.a.c.a2.j0; - -import android.util.SparseArray; -import android.util.SparseBooleanArray; -import android.util.SparseIntArray; -import c.c.a.a0.d; -import c.i.a.c.a2.h; -import c.i.a.c.a2.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.a2.s; -import c.i.a.c.a2.t; -import c.i.a.c.i2.e0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.ParserException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collections; -import java.util.List; -/* compiled from: TsExtractor */ -public final class h0 implements h { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final List f770c; - public final w d; - public final SparseIntArray e; - public final i0.c f; - public final SparseArray g; - public final SparseBooleanArray h; - public final SparseBooleanArray i; - public final g0 j; - public f0 k; - public j l; - public int m; - public boolean n; - public boolean o; - public boolean p; - public i0 q; - - /* renamed from: r reason: collision with root package name */ - public int f771r; - public int s; - - /* compiled from: TsExtractor */ - public class a implements c0 { - public final v a = new v(new byte[4]); - - public a() { - } - - @Override // c.i.a.c.a2.j0.c0 - public void a(e0 e0Var, j jVar, i0.d dVar) { - } - - @Override // c.i.a.c.a2.j0.c0 - public void b(w wVar) { - if (wVar.s() == 0 && (wVar.s() & 128) != 0) { - wVar.E(6); - int a = wVar.a() / 4; - for (int i = 0; i < a; i++) { - wVar.d(this.a, 4); - int g = this.a.g(16); - this.a.m(3); - if (g == 0) { - this.a.m(13); - } else { - int g2 = this.a.g(13); - if (h0.this.g.get(g2) == null) { - h0 h0Var = h0.this; - h0Var.g.put(g2, new d0(new b(g2))); - h0.this.m++; - } - } - } - h0 h0Var2 = h0.this; - if (h0Var2.a != 2) { - h0Var2.g.remove(0); - } - } - } - } - - /* compiled from: TsExtractor */ - public class b implements c0 { - public final v a = new v(new byte[5]); - public final SparseArray b = new SparseArray<>(); - - /* renamed from: c reason: collision with root package name */ - public final SparseIntArray f772c = new SparseIntArray(); - public final int d; - - public b(int i) { - this.d = i; - } - - @Override // c.i.a.c.a2.j0.c0 - public void a(e0 e0Var, j jVar, i0.d dVar) { - } - - /* JADX WARNING: Code restructure failed: missing block: B:46:0x013d, code lost: - if (r24.s() == r13) goto L_0x013f; - */ - /* JADX WARNING: Removed duplicated region for block: B:87:0x0222 */ - /* JADX WARNING: Removed duplicated region for block: B:89:0x022f */ - @Override // c.i.a.c.a2.j0.c0 - public void b(w wVar) { - e0 e0Var; - int i; - e0 e0Var2; - i0 i0Var; - int i2; - int i3; - int i4; - e0 e0Var3; - if (wVar.s() == 2) { - h0 h0Var = h0.this; - int i5 = h0Var.a; - if (i5 == 1 || i5 == 2 || h0Var.m == 1) { - e0Var = h0Var.f770c.get(0); - } else { - e0Var = new e0(h0Var.f770c.get(0).c()); - h0.this.f770c.add(e0Var); - } - if ((wVar.s() & 128) != 0) { - wVar.E(1); - int x2 = wVar.x(); - int i6 = 3; - wVar.E(3); - wVar.d(this.a, 2); - this.a.m(3); - int i7 = 13; - h0.this.s = this.a.g(13); - wVar.d(this.a, 2); - int i8 = 4; - this.a.m(4); - int i9 = 12; - wVar.E(this.a.g(12)); - h0 h0Var2 = h0.this; - int i10 = 21; - if (h0Var2.a == 2 && h0Var2.q == null) { - i0.b bVar = new i0.b(21, null, null, f0.f); - h0 h0Var3 = h0.this; - h0Var3.q = h0Var3.f.a(21, bVar); - h0 h0Var4 = h0.this; - h0Var4.q.a(e0Var, h0Var4.l, new i0.d(x2, 21, 8192)); - } - this.b.clear(); - this.f772c.clear(); - int a = wVar.a(); - while (a > 0) { - int i11 = 5; - wVar.d(this.a, 5); - int g = this.a.g(8); - this.a.m(i6); - int g2 = this.a.g(i7); - this.a.m(i8); - int g3 = this.a.g(i9); - int i12 = wVar.b; - int i13 = g3 + i12; - int i14 = -1; - String str = null; - ArrayList arrayList = null; - while (wVar.b < i13) { - int s = wVar.s(); - int s2 = wVar.b + wVar.s(); - if (s2 > i13) { - break; - } - if (s == i11) { - long t = wVar.t(); - if (t != 1094921523) { - if (t != 1161904947) { - if (t != 1094921524) { - if (t == 1212503619) { - i14 = 36; - } - i4 = x2; - e0Var3 = e0Var; - i3 = g2; - wVar.E(s2 - wVar.b); - e0Var = e0Var3; - x2 = i4; - g2 = i3; - i11 = 5; - i10 = 21; - } - i14 = 172; - i4 = x2; - e0Var3 = e0Var; - i3 = g2; - wVar.E(s2 - wVar.b); - e0Var = e0Var3; - x2 = i4; - g2 = i3; - i11 = 5; - i10 = 21; - } - i14 = 135; - i4 = x2; - e0Var3 = e0Var; - i3 = g2; - wVar.E(s2 - wVar.b); - e0Var = e0Var3; - x2 = i4; - g2 = i3; - i11 = 5; - i10 = 21; - } - } else if (s != 106) { - if (s != 122) { - if (s != 127) { - if (s == 123) { - i14 = 138; - } else if (s == 10) { - str = wVar.p(3).trim(); - i4 = x2; - e0Var3 = e0Var; - i3 = g2; - wVar.E(s2 - wVar.b); - e0Var = e0Var3; - x2 = i4; - g2 = i3; - i11 = 5; - i10 = 21; - } else { - int i15 = 3; - if (s == 89) { - ArrayList arrayList2 = new ArrayList(); - while (wVar.b < s2) { - String trim = wVar.p(i15).trim(); - int s3 = wVar.s(); - byte[] bArr = new byte[4]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, 4); - wVar.b += 4; - arrayList2.add(new i0.a(trim, s3, bArr)); - e0Var = e0Var; - x2 = x2; - g2 = g2; - i15 = 3; - } - i4 = x2; - e0Var3 = e0Var; - i3 = g2; - arrayList = arrayList2; - i14 = 89; - } else { - i4 = x2; - e0Var3 = e0Var; - i3 = g2; - if (s == 111) { - i14 = 257; - } - } - wVar.E(s2 - wVar.b); - e0Var = e0Var3; - x2 = i4; - g2 = i3; - i11 = 5; - i10 = 21; - } - } - i4 = x2; - e0Var3 = e0Var; - i3 = g2; - wVar.E(s2 - wVar.b); - e0Var = e0Var3; - x2 = i4; - g2 = i3; - i11 = 5; - i10 = 21; - } - i14 = 135; - i4 = x2; - e0Var3 = e0Var; - i3 = g2; - wVar.E(s2 - wVar.b); - e0Var = e0Var3; - x2 = i4; - g2 = i3; - i11 = 5; - i10 = 21; - } - i14 = 129; - i4 = x2; - e0Var3 = e0Var; - i3 = g2; - wVar.E(s2 - wVar.b); - e0Var = e0Var3; - x2 = i4; - g2 = i3; - i11 = 5; - i10 = 21; - } - wVar.D(i13); - i0.b bVar2 = new i0.b(i14, str, arrayList, Arrays.copyOfRange(wVar.a, i12, i13)); - if (g == 6 || g == 5) { - g = i14; - } - a -= g3 + 5; - h0 h0Var5 = h0.this; - int i16 = h0Var5.a == 2 ? g : g2; - if (!h0Var5.h.get(i16)) { - h0 h0Var6 = h0.this; - if (h0Var6.a == 2) { - if (g == 21) { - i0Var = h0Var6.q; - if (h0.this.a != 2) { - i2 = g2; - if (i2 >= this.f772c.get(i16, 8192)) { - } - } else { - i2 = g2; - } - this.f772c.put(i16, i2); - this.b.put(i16, i0Var); - } - } - i0Var = h0Var6.f.a(g, bVar2); - if (h0.this.a != 2) { - } - this.f772c.put(i16, i2); - this.b.put(i16, i0Var); - } - e0Var = e0Var; - x2 = x2; - i6 = 3; - i8 = 4; - i7 = 13; - i9 = 12; - i10 = 21; - } - int i17 = x2; - e0 e0Var4 = e0Var; - int size = this.f772c.size(); - int i18 = 0; - while (i18 < size) { - int keyAt = this.f772c.keyAt(i18); - int valueAt = this.f772c.valueAt(i18); - h0.this.h.put(keyAt, true); - h0.this.i.put(valueAt, true); - i0 valueAt2 = this.b.valueAt(i18); - if (valueAt2 != null) { - h0 h0Var7 = h0.this; - if (valueAt2 != h0Var7.q) { - j jVar = h0Var7.l; - i = i17; - i0.d dVar = new i0.d(i, keyAt, 8192); - e0Var2 = e0Var4; - valueAt2.a(e0Var2, jVar, dVar); - } else { - e0Var2 = e0Var4; - i = i17; - } - h0.this.g.put(valueAt, valueAt2); - } else { - e0Var2 = e0Var4; - i = i17; - } - i18++; - e0Var4 = e0Var2; - i17 = i; - } - h0 h0Var8 = h0.this; - if (h0Var8.a != 2) { - h0Var8.g.remove(this.d); - h0 h0Var9 = h0.this; - int i19 = h0Var9.a == 1 ? 0 : h0Var9.m - 1; - h0Var9.m = i19; - if (i19 == 0) { - h0Var9.l.j(); - h0.this.n = true; - } - } else if (!h0Var8.n) { - h0Var8.l.j(); - h0 h0Var10 = h0.this; - h0Var10.m = 0; - h0Var10.n = true; - } - } - } - } - } - - static { - e eVar = e.a; - } - - public h0(int i, int i2, int i3) { - e0 e0Var = new e0(0); - l lVar = new l(i2); - this.f = lVar; - this.b = i3; - this.a = i; - if (i == 1 || i == 2) { - this.f770c = Collections.singletonList(e0Var); - } else { - ArrayList arrayList = new ArrayList(); - this.f770c = arrayList; - arrayList.add(e0Var); - } - this.d = new w(new byte[9400], 0); - SparseBooleanArray sparseBooleanArray = new SparseBooleanArray(); - this.h = sparseBooleanArray; - this.i = new SparseBooleanArray(); - SparseArray sparseArray = new SparseArray<>(); - this.g = sparseArray; - this.e = new SparseIntArray(); - this.j = new g0(i3); - this.s = -1; - sparseBooleanArray.clear(); - sparseArray.clear(); - SparseArray b2 = lVar.b(); - int size = b2.size(); - for (int i4 = 0; i4 < size; i4++) { - this.g.put(b2.keyAt(i4), b2.valueAt(i4)); - } - this.g.put(0, new d0(new a())); - this.q = null; - } - - @Override // c.i.a.c.a2.h - public boolean b(i iVar) throws IOException { - boolean z2; - byte[] bArr = this.d.a; - iVar.n(bArr, 0, 940); - for (int i = 0; i < 188; i++) { - int i2 = 0; - while (true) { - if (i2 >= 5) { - z2 = true; - break; - } else if (bArr[(i2 * 188) + i] != 71) { - z2 = false; - break; - } else { - i2++; - } - } - if (z2) { - iVar.l(i); - return true; - } - } - return false; - } - - /* JADX DEBUG: Multi-variable search result rejected for r9v4, resolved type: android.util.SparseBooleanArray */ - /* JADX WARN: Multi-variable type inference failed */ - /* JADX WARNING: Unknown variable types count: 2 */ - @Override // c.i.a.c.a2.h - public int e(i iVar, s sVar) throws IOException { - ?? r4; - ?? r3; - int i; - boolean z2; - int i2; - boolean z3; - long b2 = iVar.b(); - if (this.n) { - long j = -9223372036854775807L; - if ((b2 == -1 || this.a == 2) ? false : true) { - g0 g0Var = this.j; - if (!g0Var.d) { - int i3 = this.s; - if (i3 <= 0) { - g0Var.a(iVar); - return 0; - } - if (!g0Var.f) { - long b3 = iVar.b(); - int min = (int) Math.min((long) g0Var.a, b3); - long j2 = b3 - ((long) min); - if (iVar.getPosition() != j2) { - sVar.a = j2; - } else { - g0Var.f768c.z(min); - iVar.k(); - iVar.n(g0Var.f768c.a, 0, min); - w wVar = g0Var.f768c; - int i4 = wVar.b; - int i5 = wVar.f974c; - while (true) { - i5--; - if (i5 < i4) { - break; - } else if (wVar.a[i5] == 71) { - long K1 = d.K1(wVar, i5, i3); - if (K1 != -9223372036854775807L) { - j = K1; - break; - } - } - } - g0Var.h = j; - g0Var.f = true; - return 0; - } - } else if (g0Var.h == -9223372036854775807L) { - g0Var.a(iVar); - return 0; - } else if (!g0Var.e) { - int min2 = (int) Math.min((long) g0Var.a, iVar.b()); - long j3 = (long) 0; - if (iVar.getPosition() != j3) { - sVar.a = j3; - } else { - g0Var.f768c.z(min2); - iVar.k(); - iVar.n(g0Var.f768c.a, 0, min2); - w wVar2 = g0Var.f768c; - int i6 = wVar2.b; - int i7 = wVar2.f974c; - while (true) { - if (i6 >= i7) { - break; - } - if (wVar2.a[i6] == 71) { - long K12 = d.K1(wVar2, i6, i3); - if (K12 != -9223372036854775807L) { - j = K12; - break; - } - } - i6++; - } - g0Var.g = j; - g0Var.e = true; - return 0; - } - } else { - long j4 = g0Var.g; - if (j4 == -9223372036854775807L) { - g0Var.a(iVar); - return 0; - } - g0Var.i = g0Var.b.b(g0Var.h) - g0Var.b.b(j4); - g0Var.a(iVar); - return 0; - } - return 1; - } - } - if (!this.o) { - this.o = true; - g0 g0Var2 = this.j; - long j5 = g0Var2.i; - if (j5 != -9223372036854775807L) { - f0 f0Var = new f0(g0Var2.b, j5, b2, this.s, this.b); - this.k = f0Var; - this.l.a(f0Var.a); - } else { - this.l.a(new t.b(j5, 0)); - } - } - if (this.p) { - z3 = false; - this.p = false; - g(0, 0); - if (iVar.getPosition() != 0) { - sVar.a = 0; - return 1; - } - } else { - z3 = false; - } - r4 = 1; - r4 = 1; - f0 f0Var2 = this.k; - r3 = z3; - if (f0Var2 != null) { - r3 = z3; - if (f0Var2.b()) { - return this.k.a(iVar, sVar); - } - } - } else { - r3 = 0; - r4 = 1; - } - w wVar3 = this.d; - byte[] bArr = wVar3.a; - if (9400 - wVar3.b < 188) { - int a2 = wVar3.a(); - if (a2 > 0) { - System.arraycopy(bArr, this.d.b, bArr, r3, a2); - } - this.d.B(bArr, a2); - } - while (true) { - if (this.d.a() >= 188) { - i = -1; - z2 = true; - break; - } - int i8 = this.d.f974c; - int read = iVar.read(bArr, i8, 9400 - i8); - i = -1; - if (read == -1) { - z2 = false; - break; - } - this.d.C(i8 + read); - } - if (!z2) { - return i; - } - w wVar4 = this.d; - int i9 = wVar4.b; - int i10 = wVar4.f974c; - byte[] bArr2 = wVar4.a; - int i11 = i9; - while (i11 < i10 && bArr2[i11] != 71) { - i11++; - } - this.d.D(i11); - int i12 = i11 + 188; - if (i12 > i10) { - int i13 = (i11 - i9) + this.f771r; - this.f771r = i13; - i2 = 2; - if (this.a == 2 && i13 > 376) { - throw new ParserException("Cannot find sync byte. Most likely not a Transport Stream."); - } - } else { - i2 = 2; - this.f771r = r3; - } - w wVar5 = this.d; - int i14 = wVar5.f974c; - if (i12 > i14) { - return r3; - } - int f = wVar5.f(); - if ((8388608 & f) != 0) { - this.d.D(i12); - return r3; - } - int i15 = (4194304 & f) != 0 ? 1 : 0; - int i16 = r3 == true ? 1 : 0; - boolean z4 = r3 == true ? 1 : 0; - boolean z5 = r3 == true ? 1 : 0; - boolean z6 = r3 == true ? 1 : 0; - boolean z7 = r3 == true ? 1 : 0; - int i17 = i15 | i16; - int i18 = (2096896 & f) >> 8; - boolean z8 = (f & 32) != 0; - i0 i0Var = (f & 16) != 0 ? this.g.get(i18) : null; - if (i0Var == null) { - this.d.D(i12); - return r3; - } - if (this.a != i2) { - int i19 = f & 15; - int i20 = this.e.get(i18, i19 - 1); - this.e.put(i18, i19); - if (i20 == i19) { - this.d.D(i12); - return r3; - } else if (i19 != ((i20 + r4) & 15)) { - i0Var.c(); - } - } - if (z8) { - int s = this.d.s(); - i17 |= (this.d.s() & 64) != 0 ? 2 : 0; - w wVar6 = this.d; - int i21 = r4 == true ? 1 : 0; - int i22 = r4 == true ? 1 : 0; - int i23 = r4 == true ? 1 : 0; - int i24 = r4 == true ? 1 : 0; - wVar6.E(s - i21); - } - boolean z9 = this.n; - if (this.a == i2 || z9 || !this.i.get(i18, r3)) { - this.d.C(i12); - i0Var.b(this.d, i17); - this.d.C(i14); - } - if (this.a != i2 && !z9 && this.n && b2 != -1) { - this.p = r4; - } - this.d.D(i12); - int i25 = r3 == true ? 1 : 0; - int i26 = r3 == true ? 1 : 0; - int i27 = r3 == true ? 1 : 0; - int i28 = r3 == true ? 1 : 0; - int i29 = r3 == true ? 1 : 0; - return i25; - } - - @Override // c.i.a.c.a2.h - public void f(j jVar) { - this.l = jVar; - } - - @Override // c.i.a.c.a2.h - public void g(long j, long j2) { - f0 f0Var; - d.D(this.a != 2); - int size = this.f770c.size(); - for (int i = 0; i < size; i++) { - e0 e0Var = this.f770c.get(i); - if ((e0Var.d() == -9223372036854775807L) || !(e0Var.d() == 0 || e0Var.c() == j2)) { - synchronized (e0Var) { - e0Var.a = j2; - e0Var.f964c = -9223372036854775807L; - } - } - } - if (!(j2 == 0 || (f0Var = this.k) == null)) { - f0Var.e(j2); - } - this.d.z(0); - this.e.clear(); - for (int i2 = 0; i2 < this.g.size(); i2++) { - this.g.valueAt(i2).c(); - } - this.f771r = 0; - } - - @Override // c.i.a.c.a2.h - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/i.java b/app/src/main/java/c/i/a/c/a2/j0/i.java deleted file mode 100644 index 5c2bd42118..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/i.java +++ /dev/null @@ -1,143 +0,0 @@ -package c.i.a.c.a2.j0; - -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import c.i.a.c.v1.m; -import com.google.android.exoplayer2.Format; -/* compiled from: Ac4Reader */ -public final class i implements o { - public final v a; - public final w b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public final String f773c; - public String d; - public c.i.a.c.a2.w e; - public int f = 0; - public int g = 0; - public boolean h = false; - public boolean i = false; - public long j; - public Format k; - public int l; - public long m; - - public i(@Nullable String str) { - v vVar = new v(new byte[16]); - this.a = vVar; - this.b = new w(vVar.a); - this.f773c = str; - } - - @Override // c.i.a.c.a2.j0.o - public void b(w wVar) { - int i; - boolean z2; - int s; - d.H(this.e); - while (wVar.a() > 0) { - int i2 = this.f; - boolean z3 = true; - if (i2 == 0) { - while (true) { - i = 65; - if (wVar.a() <= 0) { - z2 = false; - break; - } else if (!this.h) { - this.h = wVar.s() == 172; - } else { - s = wVar.s(); - this.h = s == 172; - if (s == 64 || s == 65) { - break; - } - } - } - this.i = s == 65; - z2 = true; - if (z2) { - this.f = 1; - byte[] bArr = this.b.a; - bArr[0] = -84; - if (!this.i) { - i = 64; - } - bArr[1] = (byte) i; - this.g = 2; - } - } else if (i2 == 1) { - byte[] bArr2 = this.b.a; - int min = Math.min(wVar.a(), 16 - this.g); - System.arraycopy(wVar.a, wVar.b, bArr2, this.g, min); - wVar.b += min; - int i3 = this.g + min; - this.g = i3; - if (i3 != 16) { - z3 = false; - } - if (z3) { - this.a.k(0); - m.b b = m.b(this.a); - Format format = this.k; - if (format == null || 2 != format.G || b.a != format.H || !"audio/ac4".equals(format.t)) { - Format.b bVar = new Format.b(); - bVar.a = this.d; - bVar.k = "audio/ac4"; - bVar.f2702x = 2; - bVar.f2703y = b.a; - bVar.f2699c = this.f773c; - Format a = bVar.a(); - this.k = a; - this.e.e(a); - } - this.l = b.b; - this.j = (((long) b.f1059c) * 1000000) / ((long) this.k.H); - this.b.D(0); - this.e.c(this.b, 16); - this.f = 2; - } - } else if (i2 == 2) { - int min2 = Math.min(wVar.a(), this.l - this.g); - this.e.c(wVar, min2); - int i4 = this.g + min2; - this.g = i4; - int i5 = this.l; - if (i4 == i5) { - this.e.d(this.m, 1, i5, 0, null); - this.m += this.j; - this.f = 0; - } - } - } - } - - @Override // c.i.a.c.a2.j0.o - public void c() { - this.f = 0; - this.g = 0; - this.h = false; - this.i = false; - } - - @Override // c.i.a.c.a2.j0.o - public void d() { - } - - @Override // c.i.a.c.a2.j0.o - public void e(j jVar, i0.d dVar) { - dVar.a(); - this.d = dVar.b(); - this.e = jVar.p(dVar.c(), 1); - } - - @Override // c.i.a.c.a2.j0.o - public void f(long j, int i) { - this.m = j; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/i0.java b/app/src/main/java/c/i/a/c/a2/j0/i0.java deleted file mode 100644 index e6ac68c6a7..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/i0.java +++ /dev/null @@ -1,100 +0,0 @@ -package c.i.a.c.a2.j0; - -import androidx.annotation.Nullable; -import c.i.a.c.a2.j; -import c.i.a.c.i2.e0; -import c.i.a.c.i2.w; -import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel; -import com.google.android.exoplayer2.ParserException; -import java.util.Collections; -import java.util.List; -/* compiled from: TsPayloadReader */ -public interface i0 { - - /* compiled from: TsPayloadReader */ - public static final class a { - public final String a; - public final byte[] b; - - public a(String str, int i, byte[] bArr) { - this.a = str; - this.b = bArr; - } - } - - /* compiled from: TsPayloadReader */ - public static final class b { - public final int a; - @Nullable - public final String b; - - /* renamed from: c reason: collision with root package name */ - public final List f774c; - public final byte[] d; - - public b(int i, @Nullable String str, @Nullable List list, byte[] bArr) { - this.a = i; - this.b = str; - this.f774c = list == null ? Collections.emptyList() : Collections.unmodifiableList(list); - this.d = bArr; - } - } - - /* compiled from: TsPayloadReader */ - public interface c { - @Nullable - i0 a(int i, b bVar); - } - - /* compiled from: TsPayloadReader */ - public static final class d { - public final String a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f775c; - public int d; - public String e; - - public d(int i, int i2, int i3) { - String str; - if (i != Integer.MIN_VALUE) { - str = i + AutocompleteViewModel.COMMAND_DISCOVER_TOKEN; - } else { - str = ""; - } - this.a = str; - this.b = i2; - this.f775c = i3; - this.d = Integer.MIN_VALUE; - this.e = ""; - } - - public void a() { - int i = this.d; - this.d = i == Integer.MIN_VALUE ? this.b : i + this.f775c; - this.e = this.a + this.d; - } - - public String b() { - if (this.d != Integer.MIN_VALUE) { - return this.e; - } - throw new IllegalStateException("generateNewId() must be called before retrieving ids."); - } - - public int c() { - int i = this.d; - if (i != Integer.MIN_VALUE) { - return i; - } - throw new IllegalStateException("generateNewId() must be called before retrieving ids."); - } - } - - void a(e0 e0Var, j jVar, d dVar); - - void b(w wVar, int i) throws ParserException; - - void c(); -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/j.java b/app/src/main/java/c/i/a/c/a2/j0/j.java deleted file mode 100644 index 1cadee44bd..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/j.java +++ /dev/null @@ -1,138 +0,0 @@ -package c.i.a.c.a2.j0; - -import c.c.a.a0.d; -import c.i.a.c.a2.h; -import c.i.a.c.a2.i; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.a2.s; -import c.i.a.c.a2.t; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import java.io.IOException; -/* compiled from: AdtsExtractor */ -public final class j implements h { - public final k a = new k(true, null); - public final w b = new w(2048); - - /* renamed from: c reason: collision with root package name */ - public final w f776c; - public final v d; - public c.i.a.c.a2.j e; - public long f; - public long g = -1; - public int h = -1; - public boolean i; - public boolean j; - - static { - c cVar = c.a; - } - - public j(int i) { - w wVar = new w(10); - this.f776c = wVar; - this.d = new v(wVar.a); - } - - public final int a(i iVar) throws IOException { - int i = 0; - while (true) { - iVar.n(this.f776c.a, 0, 10); - this.f776c.D(0); - if (this.f776c.u() != 4801587) { - break; - } - this.f776c.E(3); - int r2 = this.f776c.r(); - i += r2 + 10; - iVar.g(r2); - } - iVar.k(); - iVar.g(i); - if (this.g == -1) { - this.g = (long) i; - } - return i; - } - - /* JADX WARNING: Code restructure failed: missing block: B:4:0x0021, code lost: - r9.k(); - r3 = r3 + 1; - */ - /* JADX WARNING: Code restructure failed: missing block: B:5:0x002a, code lost: - if ((r3 - r0) < 8192) goto L_0x002d; - */ - /* JADX WARNING: Code restructure failed: missing block: B:6:0x002c, code lost: - return false; - */ - @Override // c.i.a.c.a2.h - public boolean b(i iVar) throws IOException { - int a = a(iVar); - int i = a; - while (true) { - int i2 = 0; - int i3 = 0; - while (true) { - iVar.n(this.f776c.a, 0, 2); - this.f776c.D(0); - if (!k.g(this.f776c.x())) { - break; - } - i2++; - if (i2 >= 4 && i3 > 188) { - return true; - } - iVar.n(this.f776c.a, 0, 4); - this.d.k(14); - int g = this.d.g(13); - if (g <= 6) { - return false; - } - iVar.g(g - 6); - i3 += g; - } - iVar.g(i); - } - } - - @Override // c.i.a.c.a2.h - public int e(i iVar, s sVar) throws IOException { - d.H(this.e); - iVar.b(); - int read = iVar.read(this.b.a, 0, 2048); - boolean z2 = read == -1; - if (!this.j) { - this.e.a(new t.b(-9223372036854775807L, 0)); - this.j = true; - } - if (z2) { - return -1; - } - this.b.D(0); - this.b.C(read); - if (!this.i) { - this.a.t = this.f; - this.i = true; - } - this.a.b(this.b); - return 0; - } - - @Override // c.i.a.c.a2.h - public void f(c.i.a.c.a2.j jVar) { - this.e = jVar; - this.a.e(jVar, new i0.d(Integer.MIN_VALUE, 0, 1)); - jVar.j(); - } - - @Override // c.i.a.c.a2.h - public void g(long j, long j2) { - this.i = false; - this.a.c(); - this.f = j2; - } - - @Override // c.i.a.c.a2.h - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/j0.java b/app/src/main/java/c/i/a/c/a2/j0/j0.java deleted file mode 100644 index eb5850ab8c..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/j0.java +++ /dev/null @@ -1,49 +0,0 @@ -package c.i.a.c.a2.j0; - -import c.c.a.a0.d; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.a2.w; -import com.google.android.exoplayer2.Format; -import java.util.List; -/* compiled from: UserDataReader */ -public final class j0 { - public final List a; - public final w[] b; - - public j0(List list) { - this.a = list; - this.b = new w[list.size()]; - } - - public void a(long j, c.i.a.c.i2.w wVar) { - if (wVar.a() >= 9) { - int f = wVar.f(); - int f2 = wVar.f(); - int s = wVar.s(); - if (f == 434 && f2 == 1195456820 && s == 3) { - d.M(j, wVar, this.b); - } - } - } - - public void b(j jVar, i0.d dVar) { - for (int i = 0; i < this.b.length; i++) { - dVar.a(); - w p = jVar.p(dVar.c(), 3); - Format format = this.a.get(i); - String str = format.t; - boolean z2 = "application/cea-608".equals(str) || "application/cea-708".equals(str); - d.n(z2, "Invalid closed caption mime type provided: " + str); - Format.b bVar = new Format.b(); - bVar.a = dVar.b(); - bVar.k = str; - bVar.d = format.l; - bVar.f2699c = format.k; - bVar.C = format.L; - bVar.m = format.v; - p.e(bVar.a()); - this.b[i] = p; - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/k.java b/app/src/main/java/c/i/a/c/a2/j0/k.java deleted file mode 100644 index 5ed1d6db34..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/k.java +++ /dev/null @@ -1,313 +0,0 @@ -package c.i.a.c.a2.j0; - -import android.util.Log; -import androidx.annotation.Nullable; -import c.i.a.c.a2.g; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import c.i.a.c.v1.k; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import java.util.Arrays; -import java.util.Collections; -import java.util.Objects; -/* compiled from: AdtsReader */ -public final class k implements o { - public static final byte[] a = {73, 68, 51}; - public final boolean b; - - /* renamed from: c reason: collision with root package name */ - public final v f777c = new v(new byte[7]); - public final w d = new w(Arrays.copyOf(a, 10)); - @Nullable - public final String e; - public String f; - public c.i.a.c.a2.w g; - public c.i.a.c.a2.w h; - public int i; - public int j; - public int k; - public boolean l; - public boolean m; - public int n; - public int o; - public int p; - public boolean q; - - /* renamed from: r reason: collision with root package name */ - public long f778r; - public int s; - public long t; - public c.i.a.c.a2.w u; - public long v; - - public k(boolean z2, @Nullable String str) { - h(); - this.n = -1; - this.o = -1; - this.f778r = -9223372036854775807L; - this.b = z2; - this.e = str; - } - - public static boolean g(int i) { - return (i & 65526) == 65520; - } - - public final boolean a(w wVar, byte[] bArr, int i) { - int min = Math.min(wVar.a(), i - this.j); - System.arraycopy(wVar.a, wVar.b, bArr, this.j, min); - wVar.b += min; - int i2 = this.j + min; - this.j = i2; - return i2 == i; - } - - /* JADX WARNING: Removed duplicated region for block: B:141:0x026a A[EDGE_INSN: B:141:0x026a->B:92:0x026a ?: BREAK , SYNTHETIC] */ - @Override // c.i.a.c.a2.j0.o - public void b(w wVar) throws ParserException { - int i; - int i2; - boolean z2; - Objects.requireNonNull(this.g); - int i3 = f0.a; - while (wVar.a() > 0) { - int i4 = this.i; - int i5 = 13; - int i6 = 2; - if (i4 == 0) { - byte[] bArr = wVar.a; - int i7 = wVar.b; - int i8 = wVar.f974c; - while (true) { - if (i7 >= i8) { - wVar.D(i7); - break; - } - i = i7 + 1; - i2 = bArr[i7] & 255; - if (this.k == 512 && g((((byte) i2) & 255) | 65280)) { - if (this.m) { - break; - } - int i9 = i - 2; - wVar.D(i9 + 1); - if (i(wVar, this.f777c.a, 1)) { - this.f777c.k(4); - int g = this.f777c.g(1); - int i10 = this.n; - if (i10 == -1 || g == i10) { - if (this.o != -1) { - if (i(wVar, this.f777c.a, 1)) { - this.f777c.k(i6); - if (this.f777c.g(4) == this.o) { - wVar.D(i9 + 2); - } - } - z2 = true; - if (z2) { - break; - } - } - if (i(wVar, this.f777c.a, 4)) { - this.f777c.k(14); - int g2 = this.f777c.g(i5); - if (g2 >= 7) { - byte[] bArr2 = wVar.a; - int i11 = wVar.f974c; - int i12 = i9 + g2; - if (i12 < i11) { - if (bArr2[i12] == -1) { - } - } - } - } - z2 = true; - if (z2) { - } - } - } - z2 = false; - if (z2) { - } - } - int i13 = this.k; - int i14 = i2 | i13; - if (i14 == 329) { - this.k = 768; - } else if (i14 == 511) { - this.k = 512; - } else if (i14 != 836) { - if (i14 == 1075) { - this.i = 2; - this.j = a.length; - this.s = 0; - this.d.D(0); - wVar.D(i); - break; - } else if (i13 != 256) { - this.k = 256; - i7 = i - 1; - i5 = 13; - i6 = 2; - } - } else { - this.k = 1024; - } - i7 = i; - i5 = 13; - i6 = 2; - } - this.p = (i2 & 8) >> 3; - this.l = (i2 & 1) == 0; - if (!this.m) { - this.i = 1; - this.j = 0; - } else { - this.i = 3; - this.j = 0; - } - wVar.D(i); - } else if (i4 != 1) { - if (i4 != 2) { - if (i4 == 3) { - if (a(wVar, this.f777c.a, this.l ? 7 : 5)) { - this.f777c.k(0); - if (!this.q) { - int g3 = this.f777c.g(2) + 1; - if (g3 != 2) { - Log.w("AdtsReader", "Detected audio object type: " + g3 + ", but assuming AAC LC."); - g3 = 2; - } - this.f777c.m(5); - int g4 = this.f777c.g(3); - int i15 = this.o; - byte[] bArr3 = {(byte) (((g3 << 3) & 248) | ((i15 >> 1) & 7)), (byte) (((i15 << 7) & 128) | ((g4 << 3) & 120))}; - k.b c2 = c.i.a.c.v1.k.c(new v(bArr3), false); - Format.b bVar = new Format.b(); - bVar.a = this.f; - bVar.k = "audio/mp4a-latm"; - bVar.h = c2.f1057c; - bVar.f2702x = c2.b; - bVar.f2703y = c2.a; - bVar.m = Collections.singletonList(bArr3); - bVar.f2699c = this.e; - Format a2 = bVar.a(); - this.f778r = 1024000000 / ((long) a2.H); - this.g.e(a2); - this.q = true; - } else { - this.f777c.m(10); - } - this.f777c.m(4); - int g5 = (this.f777c.g(13) - 2) - 5; - if (this.l) { - g5 -= 2; - } - c.i.a.c.a2.w wVar2 = this.g; - long j = this.f778r; - this.i = 4; - this.j = 0; - this.u = wVar2; - this.v = j; - this.s = g5; - } - } else if (i4 == 4) { - int min = Math.min(wVar.a(), this.s - this.j); - this.u.c(wVar, min); - int i16 = this.j + min; - this.j = i16; - int i17 = this.s; - if (i16 == i17) { - this.u.d(this.t, 1, i17, 0, null); - this.t += this.v; - h(); - } - } else { - throw new IllegalStateException(); - } - } else if (a(wVar, this.d.a, 10)) { - this.h.c(this.d, 10); - this.d.D(6); - c.i.a.c.a2.w wVar3 = this.h; - this.i = 4; - this.j = 10; - this.u = wVar3; - this.v = 0; - this.s = this.d.r() + 10; - } - } else if (wVar.a() != 0) { - v vVar = this.f777c; - vVar.a[0] = wVar.a[wVar.b]; - vVar.k(2); - int g6 = this.f777c.g(4); - int i18 = this.o; - if (i18 == -1 || g6 == i18) { - if (!this.m) { - this.m = true; - this.n = this.p; - this.o = g6; - } - this.i = 3; - this.j = 0; - } else { - this.m = false; - h(); - } - } - } - } - - @Override // c.i.a.c.a2.j0.o - public void c() { - this.m = false; - h(); - } - - @Override // c.i.a.c.a2.j0.o - public void d() { - } - - @Override // c.i.a.c.a2.j0.o - public void e(j jVar, i0.d dVar) { - dVar.a(); - this.f = dVar.b(); - c.i.a.c.a2.w p = jVar.p(dVar.c(), 1); - this.g = p; - this.u = p; - if (this.b) { - dVar.a(); - c.i.a.c.a2.w p2 = jVar.p(dVar.c(), 5); - this.h = p2; - Format.b bVar = new Format.b(); - bVar.a = dVar.b(); - bVar.k = "application/id3"; - p2.e(bVar.a()); - return; - } - this.h = new g(); - } - - @Override // c.i.a.c.a2.j0.o - public void f(long j, int i) { - this.t = j; - } - - public final void h() { - this.i = 0; - this.j = 0; - this.k = 256; - } - - public final boolean i(w wVar, byte[] bArr, int i) { - if (wVar.a() < i) { - return false; - } - System.arraycopy(wVar.a, wVar.b, bArr, 0, i); - wVar.b += i; - return true; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/l.java b/app/src/main/java/c/i/a/c/a2/j0/l.java deleted file mode 100644 index fab4518f19..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/l.java +++ /dev/null @@ -1,168 +0,0 @@ -package c.i.a.c.a2.j0; - -import android.util.SparseArray; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.j0.i0; -import c.i.b.a.c; -import c.i.b.b.a; -import c.i.b.b.q0; -import c.i.b.b.u; -import com.google.android.exoplayer2.Format; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -/* compiled from: DefaultTsPayloadReaderFactory */ -public final class l implements i0.c { - public final int a; - public final List b; - - public l(int i) { - a aVar = u.j; - u uVar = q0.k; - this.a = i; - this.b = uVar; - } - - @Override // c.i.a.c.a2.j0.i0.c - @Nullable - public i0 a(int i, i0.b bVar) { - if (i == 2) { - return new y(new p(new j0(c(bVar)))); - } - if (i == 3 || i == 4) { - return new y(new v(bVar.b)); - } - if (i == 21) { - return new y(new t()); - } - if (i != 27) { - if (i == 36) { - return new y(new s(new e0(c(bVar)))); - } - if (i == 89) { - return new y(new n(bVar.f774c)); - } - if (i != 138) { - if (i == 172) { - return new y(new i(bVar.b)); - } - if (i == 257) { - return new d0(new x("application/vnd.dvb.ait")); - } - if (i != 129) { - if (i != 130) { - if (i != 134) { - if (i != 135) { - switch (i) { - case 15: - if (d(2)) { - return null; - } - return new y(new k(false, bVar.b)); - case 16: - return new y(new q(new j0(c(bVar)))); - case 17: - if (d(2)) { - return null; - } - return new y(new u(bVar.b)); - default: - return null; - } - } - } else if (d(16)) { - return null; - } else { - return new d0(new x("application/x-scte35")); - } - } else if (!d(64)) { - return null; - } - } - return new y(new g(bVar.b)); - } - return new y(new m(bVar.b)); - } else if (d(4)) { - return null; - } else { - return new y(new r(new e0(c(bVar)), d(1), d(8))); - } - } - - public SparseArray b() { - return new SparseArray<>(); - } - - /* JADX DEBUG: Failed to insert an additional move for type inference into block B:42:0x009b */ - /* JADX DEBUG: Multi-variable search result rejected for r1v1, resolved type: java.util.ArrayList */ - /* JADX DEBUG: Multi-variable search result rejected for r1v3, resolved type: java.util.ArrayList */ - /* JADX DEBUG: Multi-variable search result rejected for r1v4, resolved type: java.util.ArrayList */ - /* JADX DEBUG: Multi-variable search result rejected for r1v5, resolved type: java.util.ArrayList */ - /* JADX WARN: Multi-variable type inference failed */ - public final List c(i0.b bVar) { - String str; - int i; - if (d(32)) { - return this.b; - } - byte[] bArr = bVar.d; - int length = bArr.length; - int i2 = 0; - ArrayList arrayList = this.b; - while (length - i2 > 0) { - int i3 = i2 + 1; - int i4 = bArr[i2] & 255; - int i5 = i3 + 1; - int i6 = (bArr[i3] & 255) + i5; - boolean z2 = true; - if (i4 == 134) { - arrayList = new ArrayList(); - int i7 = i5 + 1; - int i8 = bArr[i5] & 255 & 31; - int i9 = 0; - while (i9 < i8) { - String str2 = new String(bArr, i7, 3, c.f1350c); - int i10 = i7 + 3; - int i11 = i10 + 1; - int i12 = bArr[i10] & 255; - boolean z3 = (i12 & 128) != 0; - if (z3) { - i = i12 & 63; - str = "application/cea-708"; - } else { - str = "application/cea-608"; - i = 1; - } - int i13 = i11 + 1; - byte b = (byte) (bArr[i11] & 255); - int i14 = i13 + 1; - d.k(i14 >= 0 && i14 <= length); - List list = null; - if (z3) { - list = Collections.singletonList((b & 64) != 0 ? new byte[]{1} : new byte[]{0}); - } - Format.b bVar2 = new Format.b(); - bVar2.k = str; - bVar2.f2699c = str2; - bVar2.C = i; - bVar2.m = list; - arrayList.add(bVar2.a()); - i9++; - i7 = i14; - } - } - if (i6 < 0 || i6 > length) { - z2 = false; - } - d.k(z2); - i2 = i6; - arrayList = arrayList; - } - return arrayList; - } - - public final boolean d(int i) { - return (i & this.a) != 0; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/m.java b/app/src/main/java/c/i/a/c/a2/j0/m.java deleted file mode 100644 index ffe98768ec..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/m.java +++ /dev/null @@ -1,282 +0,0 @@ -package c.i.a.c.a2.j0; - -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.Format; -import java.util.Arrays; -/* compiled from: DtsReader */ -public final class m implements o { - public final w a = new w(new byte[18]); - @Nullable - public final String b; - - /* renamed from: c reason: collision with root package name */ - public String f779c; - public c.i.a.c.a2.w d; - public int e = 0; - public int f; - public int g; - public long h; - public Format i; - public int j; - public long k; - - public m(@Nullable String str) { - this.b = str; - } - - /* JADX WARNING: Removed duplicated region for block: B:65:0x0217 */ - /* JADX WARNING: Removed duplicated region for block: B:68:0x0225 */ - /* JADX WARNING: Removed duplicated region for block: B:76:0x024d */ - @Override // c.i.a.c.a2.j0.o - public void b(w wVar) { - boolean z2; - int i; - byte b; - int i2; - int i3; - byte b2; - byte b3; - int i4; - byte b4; - int i5; - byte b5; - int i6; - v vVar; - int i7; - int i8; - boolean z3; - boolean z4; - d.H(this.d); - while (wVar.a() > 0) { - int i9 = this.e; - int i10 = 8; - int i11 = 2; - if (i9 == 0) { - while (true) { - if (wVar.a() <= 0) { - z3 = false; - break; - } - int i12 = this.g << 8; - this.g = i12; - int s = i12 | wVar.s(); - this.g = s; - if (s == 2147385345 || s == -25230976 || s == 536864768 || s == -14745368) { - z4 = true; - continue; - } else { - z4 = false; - continue; - } - if (z4) { - byte[] bArr = this.a.a; - bArr[0] = (byte) ((s >> 24) & 255); - bArr[1] = (byte) ((s >> 16) & 255); - bArr[2] = (byte) ((s >> 8) & 255); - bArr[3] = (byte) (s & 255); - this.f = 4; - this.g = 0; - z3 = true; - break; - } - } - if (z3) { - this.e = 1; - } - } else if (i9 == 1) { - byte[] bArr2 = this.a.a; - int min = Math.min(wVar.a(), 18 - this.f); - System.arraycopy(wVar.a, wVar.b, bArr2, this.f, min); - wVar.b += min; - int i13 = this.f + min; - this.f = i13; - if (i13 == 18) { - byte[] bArr3 = this.a.a; - if (this.i == null) { - String str = this.f779c; - String str2 = this.b; - if (bArr3[0] == Byte.MAX_VALUE) { - vVar = new v(bArr3); - } else { - byte[] copyOf = Arrays.copyOf(bArr3, bArr3.length); - if (copyOf[0] == -2 || copyOf[0] == -1) { - for (int i14 = 0; i14 < copyOf.length - 1; i14 += 2) { - byte b6 = copyOf[i14]; - int i15 = i14 + 1; - copyOf[i14] = copyOf[i15]; - copyOf[i15] = b6; - } - } - v vVar2 = new v(copyOf); - if (copyOf[0] == 31) { - v vVar3 = new v(copyOf); - while (vVar3.b() >= 16) { - vVar3.m(i11); - int g = vVar3.g(14) & 16383; - int min2 = Math.min(8 - vVar2.f973c, 14); - int i16 = vVar2.f973c; - int i17 = (8 - i16) - min2; - byte[] bArr4 = vVar2.a; - int i18 = vVar2.b; - bArr4[i18] = (byte) (((65280 >> i16) | ((1 << i17) - 1)) & bArr4[i18]); - int i19 = 14 - min2; - bArr4[i18] = (byte) (((g >>> i19) << i17) | bArr4[i18]); - int i20 = i18 + 1; - while (i19 > i10) { - i19 -= 8; - vVar2.a[i20] = (byte) (g >>> i19); - i20++; - i10 = 8; - } - int i21 = 8 - i19; - byte[] bArr5 = vVar2.a; - bArr5[i20] = (byte) (bArr5[i20] & ((1 << i21) - 1)); - bArr5[i20] = (byte) (((((1 << i19) - 1) & g) << i21) | bArr5[i20]); - vVar2.m(14); - vVar2.a(); - i10 = 8; - i11 = 2; - } - } - int length = copyOf.length; - vVar2.a = copyOf; - vVar2.b = 0; - vVar2.f973c = 0; - vVar2.d = length; - vVar = vVar2; - } - vVar.m(60); - int i22 = c.i.a.c.v1.w.a[vVar.g(6)]; - int i23 = c.i.a.c.v1.w.b[vVar.g(4)]; - int g2 = vVar.g(5); - int[] iArr = c.i.a.c.v1.w.f1071c; - if (g2 >= iArr.length) { - i8 = -1; - i7 = 2; - } else { - i7 = 2; - i8 = (iArr[g2] * 1000) / 2; - } - vVar.m(10); - int i24 = i22 + (vVar.g(i7) > 0 ? 1 : 0); - Format.b bVar = new Format.b(); - bVar.a = str; - bVar.k = "audio/vnd.dts"; - bVar.f = i8; - bVar.f2702x = i24; - bVar.f2703y = i23; - bVar.n = null; - bVar.f2699c = str2; - Format a = bVar.a(); - this.i = a; - this.d.e(a); - } - byte b7 = bArr3[0]; - if (b7 != -2) { - if (b7 == -1) { - i6 = ((3 & bArr3[7]) << 12) | ((bArr3[6] & 255) << 4); - b5 = bArr3[9]; - } else if (b7 != 31) { - i4 = 4; - i5 = ((3 & bArr3[5]) << 12) | ((bArr3[6] & 255) << 4); - b4 = bArr3[7]; - } else { - i6 = ((3 & bArr3[6]) << 12) | ((bArr3[7] & 255) << 4); - b5 = bArr3[8]; - } - i = (i6 | ((b5 & 60) >> 2)) + 1; - z2 = true; - if (z2) { - i = (i * 16) / 14; - } - this.j = i; - b = bArr3[0]; - if (b == -2) { - if (b == -1) { - b3 = bArr3[7]; - i2 = (bArr3[4] & 7) << 4; - } else if (b != 31) { - i2 = (bArr3[4] & 1) << 6; - b2 = bArr3[5]; - } else { - i2 = (7 & bArr3[5]) << 4; - b3 = bArr3[6]; - } - i3 = b3 & 60; - this.h = (long) ((int) ((((long) ((((i3 >> 2) | i2) + 1) * 32)) * 1000000) / ((long) this.i.H))); - this.a.D(0); - this.d.c(this.a, 18); - this.e = 2; - } else { - i2 = (bArr3[5] & 1) << 6; - b2 = bArr3[4]; - } - i3 = b2 & 252; - this.h = (long) ((int) ((((long) ((((i3 >> 2) | i2) + 1) * 32)) * 1000000) / ((long) this.i.H))); - this.a.D(0); - this.d.c(this.a, 18); - this.e = 2; - } else { - i4 = 4; - i5 = ((bArr3[4] & 3) << 12) | ((bArr3[7] & 255) << 4); - b4 = bArr3[6]; - } - i = (i5 | ((b4 & 240) >> i4)) + 1; - z2 = false; - if (z2) { - } - this.j = i; - b = bArr3[0]; - if (b == -2) { - } - i3 = b2 & 252; - this.h = (long) ((int) ((((long) ((((i3 >> 2) | i2) + 1) * 32)) * 1000000) / ((long) this.i.H))); - this.a.D(0); - this.d.c(this.a, 18); - this.e = 2; - } - } else if (i9 == 2) { - int min3 = Math.min(wVar.a(), this.j - this.f); - this.d.c(wVar, min3); - int i25 = this.f + min3; - this.f = i25; - int i26 = this.j; - if (i25 == i26) { - this.d.d(this.k, 1, i26, 0, null); - this.k += this.h; - this.e = 0; - } - } else { - throw new IllegalStateException(); - } - } - } - - @Override // c.i.a.c.a2.j0.o - public void c() { - this.e = 0; - this.f = 0; - this.g = 0; - } - - @Override // c.i.a.c.a2.j0.o - public void d() { - } - - @Override // c.i.a.c.a2.j0.o - public void e(j jVar, i0.d dVar) { - dVar.a(); - this.f779c = dVar.b(); - this.d = jVar.p(dVar.c(), 1); - } - - @Override // c.i.a.c.a2.j0.o - public void f(long j, int i) { - this.k = j; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/n.java b/app/src/main/java/c/i/a/c/a2/j0/n.java deleted file mode 100644 index 6d61722f48..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/n.java +++ /dev/null @@ -1,95 +0,0 @@ -package c.i.a.c.a2.j0; - -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.a2.w; -import com.google.android.exoplayer2.Format; -import java.util.Collections; -import java.util.List; -/* compiled from: DvbSubtitleReader */ -public final class n implements o { - public final List a; - public final w[] b; - - /* renamed from: c reason: collision with root package name */ - public boolean f780c; - public int d; - public int e; - public long f; - - public n(List list) { - this.a = list; - this.b = new w[list.size()]; - } - - public final boolean a(c.i.a.c.i2.w wVar, int i) { - if (wVar.a() == 0) { - return false; - } - if (wVar.s() != i) { - this.f780c = false; - } - this.d--; - return this.f780c; - } - - @Override // c.i.a.c.a2.j0.o - public void b(c.i.a.c.i2.w wVar) { - if (!this.f780c) { - return; - } - if (this.d != 2 || a(wVar, 32)) { - if (this.d != 1 || a(wVar, 0)) { - int i = wVar.b; - int a = wVar.a(); - w[] wVarArr = this.b; - for (w wVar2 : wVarArr) { - wVar.D(i); - wVar2.c(wVar, a); - } - this.e += a; - } - } - } - - @Override // c.i.a.c.a2.j0.o - public void c() { - this.f780c = false; - } - - @Override // c.i.a.c.a2.j0.o - public void d() { - if (this.f780c) { - for (w wVar : this.b) { - wVar.d(this.f, 1, this.e, 0, null); - } - this.f780c = false; - } - } - - @Override // c.i.a.c.a2.j0.o - public void e(j jVar, i0.d dVar) { - for (int i = 0; i < this.b.length; i++) { - i0.a aVar = this.a.get(i); - dVar.a(); - w p = jVar.p(dVar.c(), 3); - Format.b bVar = new Format.b(); - bVar.a = dVar.b(); - bVar.k = "application/dvbsubs"; - bVar.m = Collections.singletonList(aVar.b); - bVar.f2699c = aVar.a; - p.e(bVar.a()); - this.b[i] = p; - } - } - - @Override // c.i.a.c.a2.j0.o - public void f(long j, int i) { - if ((i & 4) != 0) { - this.f780c = true; - this.f = j; - this.e = 0; - this.d = 2; - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/o.java b/app/src/main/java/c/i/a/c/a2/j0/o.java deleted file mode 100644 index c9c68fbe7f..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/o.java +++ /dev/null @@ -1,18 +0,0 @@ -package c.i.a.c.a2.j0; - -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.ParserException; -/* compiled from: ElementaryStreamReader */ -public interface o { - void b(w wVar) throws ParserException; - - void c(); - - void d(); - - void e(j jVar, i0.d dVar); - - void f(long j, int i); -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/p.java b/app/src/main/java/c/i/a/c/a2/j0/p.java deleted file mode 100644 index 2f8e007836..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/p.java +++ /dev/null @@ -1,372 +0,0 @@ -package c.i.a.c.a2.j0; - -import android.util.Pair; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.a2.w; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.u; -import com.google.android.exoplayer2.Format; -import java.util.Arrays; -import java.util.Collections; -import java.util.Objects; -/* compiled from: H262Reader */ -public final class p implements o { - public static final double[] a = {23.976023976023978d, 24.0d, 25.0d, 29.97002997002997d, 30.0d, 50.0d, 59.94005994005994d, 60.0d}; - public String b; - - /* renamed from: c reason: collision with root package name */ - public w f781c; - @Nullable - public final j0 d; - @Nullable - public final c.i.a.c.i2.w e; - @Nullable - public final w f; - public final boolean[] g = new boolean[4]; - public final a h = new a(128); - public long i; - public boolean j; - public boolean k; - public long l; - public long m; - public long n; - public long o; - public boolean p; - public boolean q; - - /* compiled from: H262Reader */ - public static final class a { - public static final byte[] a = {0, 0, 1}; - public boolean b; - - /* renamed from: c reason: collision with root package name */ - public int f782c; - public int d; - public byte[] e; - - public a(int i) { - this.e = new byte[i]; - } - - public void a(byte[] bArr, int i, int i2) { - if (this.b) { - int i3 = i2 - i; - byte[] bArr2 = this.e; - int length = bArr2.length; - int i4 = this.f782c; - if (length < i4 + i3) { - this.e = Arrays.copyOf(bArr2, (i4 + i3) * 2); - } - System.arraycopy(bArr, i, this.e, this.f782c, i3); - this.f782c += i3; - } - } - } - - public p(@Nullable j0 j0Var) { - this.d = j0Var; - if (j0Var != null) { - this.f = new w(178, 128); - this.e = new c.i.a.c.i2.w(); - return; - } - this.f = null; - this.e = null; - } - - /* JADX WARNING: Removed duplicated region for block: B:28:0x0080 */ - /* JADX WARNING: Removed duplicated region for block: B:41:0x00f4 */ - /* JADX WARNING: Removed duplicated region for block: B:53:0x0150 */ - /* JADX WARNING: Removed duplicated region for block: B:64:0x0193 */ - /* JADX WARNING: Removed duplicated region for block: B:66:0x0197 */ - /* JADX WARNING: Removed duplicated region for block: B:80:0x01d1 */ - /* JADX WARNING: Removed duplicated region for block: B:85:0x01eb */ - /* JADX WARNING: Removed duplicated region for block: B:90:0x0201 */ - /* JADX WARNING: Removed duplicated region for block: B:91:0x0203 */ - @Override // c.i.a.c.a2.j0.o - public void b(c.i.a.c.i2.w wVar) { - int i; - int i2; - w wVar2; - int i3; - boolean z2; - long j; - int i4; - boolean z3; - float f; - int i5; - long j2; - int i6; - float f2; - d.H(this.f781c); - int i7 = wVar.b; - int i8 = wVar.f974c; - byte[] bArr = wVar.a; - this.i += (long) wVar.a(); - this.f781c.c(wVar, wVar.a()); - while (true) { - int b = u.b(bArr, i7, i8, this.g); - if (b == i8) { - break; - } - int i9 = b + 3; - int i10 = wVar.a[i9] & 255; - int i11 = b - i7; - if (!this.k) { - if (i11 > 0) { - this.h.a(bArr, i7, b); - } - int i12 = i11 < 0 ? -i11 : 0; - a aVar = this.h; - if (aVar.b) { - int i13 = aVar.f782c - i12; - aVar.f782c = i13; - if (aVar.d == 0 && i10 == 181) { - aVar.d = i13; - } else { - aVar.b = false; - z3 = true; - if (z3) { - a aVar2 = this.h; - String str = this.b; - Objects.requireNonNull(str); - byte[] copyOf = Arrays.copyOf(aVar2.e, aVar2.f782c); - int i14 = copyOf[5] & 255; - int i15 = ((copyOf[4] & 255) << 4) | (i14 >> 4); - int i16 = ((i14 & 15) << 8) | (copyOf[6] & 255); - int i17 = (copyOf[7] & 240) >> 4; - if (i17 == 2) { - f2 = (float) (i16 * 4); - i6 = i15 * 3; - } else if (i17 == 3) { - f2 = (float) (i16 * 16); - i6 = i15 * 9; - } else if (i17 != 4) { - f = 1.0f; - Format.b bVar = new Format.b(); - bVar.a = str; - bVar.k = "video/mpeg2"; - bVar.p = i15; - bVar.q = i16; - bVar.t = f; - bVar.m = Collections.singletonList(copyOf); - Format a2 = bVar.a(); - i5 = (copyOf[7] & 15) - 1; - if (i5 >= 0) { - double[] dArr = a; - if (i5 < dArr.length) { - double d = dArr[i5]; - int i18 = aVar2.d + 9; - int i19 = (copyOf[i18] & 96) >> 5; - int i20 = copyOf[i18] & 31; - if (i19 != i20) { - i = i10; - i2 = i9; - d *= (((double) i19) + 1.0d) / ((double) (i20 + 1)); - } else { - i = i10; - i2 = i9; - } - j2 = (long) (1000000.0d / d); - Pair create = Pair.create(a2, Long.valueOf(j2)); - this.f781c.e((Format) create.first); - this.l = ((Long) create.second).longValue(); - this.k = true; - wVar2 = this.f; - if (wVar2 == null) { - if (i11 > 0) { - wVar2.a(bArr, i7, b); - i4 = 0; - } else { - i4 = -i11; - } - if (this.f.b(i4)) { - w wVar3 = this.f; - int e = u.e(wVar3.d, wVar3.e); - c.i.a.c.i2.w wVar4 = this.e; - int i21 = f0.a; - wVar4.B(this.f.d, e); - this.d.a(this.o, this.e); - } - i3 = i; - if (i3 == 178 && wVar.a[b + 2] == 1) { - this.f.d(i3); - } - } else { - i3 = i; - } - if (i3 != 0 || i3 == 179) { - int i22 = i8 - b; - if (this.j && this.q && this.k) { - this.f781c.d(this.o, this.p ? 1 : 0, ((int) (this.i - this.n)) - i22, i22, null); - } - z2 = this.j; - if (z2 || this.q) { - this.n = this.i - ((long) i22); - j = this.m; - if (j == -9223372036854775807L) { - j = z2 ? this.o + this.l : 0; - } - this.o = j; - this.p = false; - this.m = -9223372036854775807L; - this.j = true; - } - this.q = i3 != 0; - } else if (i3 == 184) { - this.p = true; - } - i7 = i2; - } - } - i = i10; - i2 = i9; - j2 = 0; - Pair create = Pair.create(a2, Long.valueOf(j2)); - this.f781c.e((Format) create.first); - this.l = ((Long) create.second).longValue(); - this.k = true; - wVar2 = this.f; - if (wVar2 == null) { - } - if (i3 != 0) { - } - int i22 = i8 - b; - this.f781c.d(this.o, this.p ? 1 : 0, ((int) (this.i - this.n)) - i22, i22, null); - z2 = this.j; - if (z2) { - } - this.n = this.i - ((long) i22); - j = this.m; - if (j == -9223372036854775807L) { - } - this.o = j; - this.p = false; - this.m = -9223372036854775807L; - this.j = true; - this.q = i3 != 0; - i7 = i2; - } else { - f2 = (float) (i16 * 121); - i6 = i15 * 100; - } - f = f2 / ((float) i6); - Format.b bVar = new Format.b(); - bVar.a = str; - bVar.k = "video/mpeg2"; - bVar.p = i15; - bVar.q = i16; - bVar.t = f; - bVar.m = Collections.singletonList(copyOf); - Format a2 = bVar.a(); - i5 = (copyOf[7] & 15) - 1; - if (i5 >= 0) { - } - i = i10; - i2 = i9; - j2 = 0; - Pair create = Pair.create(a2, Long.valueOf(j2)); - this.f781c.e((Format) create.first); - this.l = ((Long) create.second).longValue(); - this.k = true; - wVar2 = this.f; - if (wVar2 == null) { - } - if (i3 != 0) { - } - int i22 = i8 - b; - this.f781c.d(this.o, this.p ? 1 : 0, ((int) (this.i - this.n)) - i22, i22, null); - z2 = this.j; - if (z2) { - } - this.n = this.i - ((long) i22); - j = this.m; - if (j == -9223372036854775807L) { - } - this.o = j; - this.p = false; - this.m = -9223372036854775807L; - this.j = true; - this.q = i3 != 0; - i7 = i2; - } - } - } else if (i10 == 179) { - aVar.b = true; - } - byte[] bArr2 = a.a; - aVar.a(bArr2, 0, bArr2.length); - z3 = false; - if (z3) { - } - } - i = i10; - i2 = i9; - wVar2 = this.f; - if (wVar2 == null) { - } - if (i3 != 0) { - } - int i22 = i8 - b; - this.f781c.d(this.o, this.p ? 1 : 0, ((int) (this.i - this.n)) - i22, i22, null); - z2 = this.j; - if (z2) { - } - this.n = this.i - ((long) i22); - j = this.m; - if (j == -9223372036854775807L) { - } - this.o = j; - this.p = false; - this.m = -9223372036854775807L; - this.j = true; - this.q = i3 != 0; - i7 = i2; - } - if (!this.k) { - this.h.a(bArr, i7, i8); - } - w wVar5 = this.f; - if (wVar5 != null) { - wVar5.a(bArr, i7, i8); - } - } - - @Override // c.i.a.c.a2.j0.o - public void c() { - u.a(this.g); - a aVar = this.h; - aVar.b = false; - aVar.f782c = 0; - aVar.d = 0; - w wVar = this.f; - if (wVar != null) { - wVar.c(); - } - this.i = 0; - this.j = false; - } - - @Override // c.i.a.c.a2.j0.o - public void d() { - } - - @Override // c.i.a.c.a2.j0.o - public void e(j jVar, i0.d dVar) { - dVar.a(); - this.b = dVar.b(); - this.f781c = jVar.p(dVar.c(), 2); - j0 j0Var = this.d; - if (j0Var != null) { - j0Var.b(jVar, dVar); - } - } - - @Override // c.i.a.c.a2.j0.o - public void f(long j, int i) { - this.m = j; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/q.java b/app/src/main/java/c/i/a/c/a2/j0/q.java deleted file mode 100644 index 73b43845ab..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/q.java +++ /dev/null @@ -1,500 +0,0 @@ -package c.i.a.c.a2.j0; - -import android.util.Log; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.u; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.Format; -import java.util.Arrays; -import java.util.Collections; -import java.util.Objects; -/* compiled from: H263Reader */ -public final class q implements o { - public static final float[] a = {1.0f, 1.0f, 1.0909091f, 0.90909094f, 1.4545455f, 1.2121212f, 1.0f}; - @Nullable - public final j0 b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public final w f783c = new w(); - public final boolean[] d = new boolean[4]; - public final a e = new a(128); - @Nullable - public final w f = new w(178, 128); - public b g; - public long h; - public String i; - public c.i.a.c.a2.w j; - public boolean k; - public long l; - - /* compiled from: H263Reader */ - public static final class a { - public static final byte[] a = {0, 0, 1}; - public boolean b; - - /* renamed from: c reason: collision with root package name */ - public int f784c; - public int d; - public int e; - public byte[] f; - - public a(int i) { - this.f = new byte[i]; - } - - public void a(byte[] bArr, int i, int i2) { - if (this.b) { - int i3 = i2 - i; - byte[] bArr2 = this.f; - int length = bArr2.length; - int i4 = this.d; - if (length < i4 + i3) { - this.f = Arrays.copyOf(bArr2, (i4 + i3) * 2); - } - System.arraycopy(bArr, i, this.f, this.d, i3); - this.d += i3; - } - } - - public void b() { - this.b = false; - this.d = 0; - this.f784c = 0; - } - } - - /* compiled from: H263Reader */ - public static final class b { - public final c.i.a.c.a2.w a; - public boolean b; - - /* renamed from: c reason: collision with root package name */ - public boolean f785c; - public boolean d; - public int e; - public int f; - public long g; - public long h; - - public b(c.i.a.c.a2.w wVar) { - this.a = wVar; - } - - public void a(byte[] bArr, int i, int i2) { - if (this.f785c) { - int i3 = this.f; - int i4 = (i + 1) - i3; - if (i4 < i2) { - this.d = ((bArr[i4] & 192) >> 6) == 0; - this.f785c = false; - return; - } - this.f = (i2 - i) + i3; - } - } - } - - public q(@Nullable j0 j0Var) { - this.b = j0Var; - } - - /* JADX WARNING: Removed duplicated region for block: B:103:0x0264 */ - /* JADX WARNING: Removed duplicated region for block: B:106:0x0271 */ - /* JADX WARNING: Removed duplicated region for block: B:112:0x027d */ - /* JADX WARNING: Removed duplicated region for block: B:113:0x027f */ - /* JADX WARNING: Removed duplicated region for block: B:49:0x00d2 */ - /* JADX WARNING: Removed duplicated region for block: B:65:0x0140 */ - /* JADX WARNING: Removed duplicated region for block: B:70:0x017b */ - /* JADX WARNING: Removed duplicated region for block: B:73:0x0192 */ - /* JADX WARNING: Removed duplicated region for block: B:83:0x01ec */ - @Override // c.i.a.c.a2.j0.o - public void b(w wVar) { - int i; - int i2; - w wVar2; - long j; - b bVar; - int i3; - boolean z2; - float f; - d.H(this.g); - d.H(this.j); - int i4 = wVar.b; - int i5 = wVar.f974c; - byte[] bArr = wVar.a; - this.h += (long) wVar.a(); - this.j.c(wVar, wVar.a()); - while (true) { - int b2 = u.b(bArr, i4, i5, this.d); - if (b2 == i5) { - if (!this.k) { - this.e.a(bArr, i4, i5); - } - this.g.a(bArr, i4, i5); - w wVar3 = this.f; - if (wVar3 != null) { - wVar3.a(bArr, i4, i5); - return; - } - return; - } - int i6 = b2 + 3; - int i7 = wVar.a[i6] & 255; - int i8 = b2 - i4; - if (!this.k) { - if (i8 > 0) { - this.e.a(bArr, i4, b2); - } - int i9 = i8 < 0 ? -i8 : 0; - a aVar = this.e; - int i10 = aVar.f784c; - if (i10 != 0) { - if (i10 != 1) { - if (i10 != 2) { - if (i10 != 3) { - if (i10 != 4) { - throw new IllegalStateException(); - } else if (i7 == 179 || i7 == 181) { - aVar.d -= i9; - aVar.b = false; - z2 = true; - if (z2) { - c.i.a.c.a2.w wVar4 = this.j; - a aVar2 = this.e; - int i11 = aVar2.e; - String str = this.i; - Objects.requireNonNull(str); - byte[] copyOf = Arrays.copyOf(aVar2.f, aVar2.d); - v vVar = new v(copyOf); - vVar.n(i11); - vVar.n(4); - vVar.l(); - vVar.m(8); - if (vVar.f()) { - vVar.m(4); - vVar.m(3); - } - int g = vVar.g(4); - i = i6; - if (g == 15) { - int g2 = vVar.g(8); - int g3 = vVar.g(8); - if (g3 == 0) { - Log.w("H263Reader", "Invalid aspect ratio"); - i2 = i5; - } else { - f = ((float) g2) / ((float) g3); - i2 = i5; - if (vVar.f()) { - vVar.m(2); - vVar.m(1); - if (vVar.f()) { - vVar.m(15); - vVar.l(); - vVar.m(15); - vVar.l(); - vVar.m(15); - vVar.l(); - vVar.m(3); - vVar.m(11); - vVar.l(); - vVar.m(15); - vVar.l(); - } - } - if (vVar.g(2) != 0) { - Log.w("H263Reader", "Unhandled video object layer shape"); - } - vVar.l(); - int g4 = vVar.g(16); - vVar.l(); - if (vVar.f()) { - if (g4 == 0) { - Log.w("H263Reader", "Invalid vop_increment_time_resolution"); - } else { - int i12 = 0; - for (int i13 = g4 - 1; i13 > 0; i13 >>= 1) { - i12++; - } - vVar.m(i12); - } - } - vVar.l(); - int g5 = vVar.g(13); - vVar.l(); - int g6 = vVar.g(13); - vVar.l(); - vVar.l(); - Format.b bVar2 = new Format.b(); - bVar2.a = str; - bVar2.k = "video/mp4v-es"; - bVar2.p = g5; - bVar2.q = g6; - bVar2.t = f; - bVar2.m = Collections.singletonList(copyOf); - wVar4.e(bVar2.a()); - this.k = true; - this.g.a(bArr, i4, b2); - wVar2 = this.f; - if (wVar2 != null) { - if (i8 > 0) { - wVar2.a(bArr, i4, b2); - i3 = 0; - } else { - i3 = -i8; - } - if (this.f.b(i3)) { - w wVar5 = this.f; - int e = u.e(wVar5.d, wVar5.e); - w wVar6 = this.f783c; - int i14 = f0.a; - wVar6.B(this.f.d, e); - this.b.a(this.l, this.f783c); - } - if (i7 == 178) { - if (wVar.a[b2 + 2] == 1) { - this.f.d(i7); - } - int i15 = i2 - b2; - j = this.h - ((long) i15); - bVar = this.g; - boolean z3 = this.k; - if (bVar.e == 182 && z3 && bVar.b) { - bVar.a.d(bVar.h, bVar.d ? 1 : 0, (int) (j - bVar.g), i15, null); - } - if (bVar.e != 179) { - bVar.g = j; - } - b bVar3 = this.g; - long j2 = this.l; - bVar3.e = i7; - bVar3.d = false; - bVar3.b = i7 != 182 || i7 == 179; - bVar3.f785c = i7 == 182; - bVar3.f = 0; - bVar3.h = j2; - i5 = i2; - i4 = i; - } - } - int i15 = i2 - b2; - j = this.h - ((long) i15); - bVar = this.g; - boolean z3 = this.k; - bVar.a.d(bVar.h, bVar.d ? 1 : 0, (int) (j - bVar.g), i15, null); - if (bVar.e != 179) { - } - b bVar3 = this.g; - long j2 = this.l; - bVar3.e = i7; - bVar3.d = false; - bVar3.b = i7 != 182 || i7 == 179; - bVar3.f785c = i7 == 182; - bVar3.f = 0; - bVar3.h = j2; - i5 = i2; - i4 = i; - } - } else { - float[] fArr = a; - i2 = i5; - if (g < fArr.length) { - f = fArr[g]; - if (vVar.f()) { - } - if (vVar.g(2) != 0) { - } - vVar.l(); - int g4 = vVar.g(16); - vVar.l(); - if (vVar.f()) { - } - vVar.l(); - int g5 = vVar.g(13); - vVar.l(); - int g6 = vVar.g(13); - vVar.l(); - vVar.l(); - Format.b bVar2 = new Format.b(); - bVar2.a = str; - bVar2.k = "video/mp4v-es"; - bVar2.p = g5; - bVar2.q = g6; - bVar2.t = f; - bVar2.m = Collections.singletonList(copyOf); - wVar4.e(bVar2.a()); - this.k = true; - this.g.a(bArr, i4, b2); - wVar2 = this.f; - if (wVar2 != null) { - } - int i15 = i2 - b2; - j = this.h - ((long) i15); - bVar = this.g; - boolean z3 = this.k; - bVar.a.d(bVar.h, bVar.d ? 1 : 0, (int) (j - bVar.g), i15, null); - if (bVar.e != 179) { - } - b bVar3 = this.g; - long j2 = this.l; - bVar3.e = i7; - bVar3.d = false; - bVar3.b = i7 != 182 || i7 == 179; - bVar3.f785c = i7 == 182; - bVar3.f = 0; - bVar3.h = j2; - i5 = i2; - i4 = i; - } else { - Log.w("H263Reader", "Invalid aspect ratio"); - } - } - f = 1.0f; - if (vVar.f()) { - } - if (vVar.g(2) != 0) { - } - vVar.l(); - int g4 = vVar.g(16); - vVar.l(); - if (vVar.f()) { - } - vVar.l(); - int g5 = vVar.g(13); - vVar.l(); - int g6 = vVar.g(13); - vVar.l(); - vVar.l(); - Format.b bVar2 = new Format.b(); - bVar2.a = str; - bVar2.k = "video/mp4v-es"; - bVar2.p = g5; - bVar2.q = g6; - bVar2.t = f; - bVar2.m = Collections.singletonList(copyOf); - wVar4.e(bVar2.a()); - this.k = true; - this.g.a(bArr, i4, b2); - wVar2 = this.f; - if (wVar2 != null) { - } - int i15 = i2 - b2; - j = this.h - ((long) i15); - bVar = this.g; - boolean z3 = this.k; - bVar.a.d(bVar.h, bVar.d ? 1 : 0, (int) (j - bVar.g), i15, null); - if (bVar.e != 179) { - } - b bVar3 = this.g; - long j2 = this.l; - bVar3.e = i7; - bVar3.d = false; - bVar3.b = i7 != 182 || i7 == 179; - bVar3.f785c = i7 == 182; - bVar3.f = 0; - bVar3.h = j2; - i5 = i2; - i4 = i; - } - } - } else if ((i7 & 240) != 32) { - Log.w("H263Reader", "Unexpected start code value"); - aVar.b(); - } else { - aVar.e = aVar.d; - aVar.f784c = 4; - } - } else if (i7 > 31) { - Log.w("H263Reader", "Unexpected start code value"); - aVar.b(); - } else { - aVar.f784c = 3; - } - } else if (i7 != 181) { - Log.w("H263Reader", "Unexpected start code value"); - aVar.b(); - } else { - aVar.f784c = 2; - } - } else if (i7 == 176) { - aVar.f784c = 1; - aVar.b = true; - } - byte[] bArr2 = a.a; - aVar.a(bArr2, 0, bArr2.length); - z2 = false; - if (z2) { - } - } - i2 = i5; - i = i6; - this.g.a(bArr, i4, b2); - wVar2 = this.f; - if (wVar2 != null) { - } - int i15 = i2 - b2; - j = this.h - ((long) i15); - bVar = this.g; - boolean z3 = this.k; - bVar.a.d(bVar.h, bVar.d ? 1 : 0, (int) (j - bVar.g), i15, null); - if (bVar.e != 179) { - } - b bVar3 = this.g; - long j2 = this.l; - bVar3.e = i7; - bVar3.d = false; - bVar3.b = i7 != 182 || i7 == 179; - bVar3.f785c = i7 == 182; - bVar3.f = 0; - bVar3.h = j2; - i5 = i2; - i4 = i; - } - } - - @Override // c.i.a.c.a2.j0.o - public void c() { - u.a(this.d); - this.e.b(); - b bVar = this.g; - if (bVar != null) { - bVar.b = false; - bVar.f785c = false; - bVar.d = false; - bVar.e = -1; - } - w wVar = this.f; - if (wVar != null) { - wVar.c(); - } - this.h = 0; - } - - @Override // c.i.a.c.a2.j0.o - public void d() { - } - - @Override // c.i.a.c.a2.j0.o - public void e(j jVar, i0.d dVar) { - dVar.a(); - this.i = dVar.b(); - c.i.a.c.a2.w p = jVar.p(dVar.c(), 2); - this.j = p; - this.g = new b(p); - j0 j0Var = this.b; - if (j0Var != null) { - j0Var.b(jVar, dVar); - } - } - - @Override // c.i.a.c.a2.j0.o - public void f(long j, int i) { - this.l = j; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/r.java b/app/src/main/java/c/i/a/c/a2/j0/r.java deleted file mode 100644 index fcd6ba86c9..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/r.java +++ /dev/null @@ -1,605 +0,0 @@ -package c.i.a.c.a2.j0; - -import android.util.SparseArray; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.a2.w; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.h; -import c.i.a.c.i2.u; -import c.i.a.c.i2.x; -import com.google.android.exoplayer2.Format; -import java.util.ArrayList; -import java.util.Arrays; -import org.checkerframework.checker.nullness.qual.RequiresNonNull; -/* compiled from: H264Reader */ -public final class r implements o { - public final e0 a; - public final boolean b; - - /* renamed from: c reason: collision with root package name */ - public final boolean f786c; - public final w d = new w(7, 128); - public final w e = new w(8, 128); - public final w f = new w(6, 128); - public long g; - public final boolean[] h = new boolean[3]; - public String i; - public w j; - public b k; - public boolean l; - public long m; - public boolean n; - public final c.i.a.c.i2.w o = new c.i.a.c.i2.w(); - - /* compiled from: H264Reader */ - public static final class b { - public final w a; - public final boolean b; - - /* renamed from: c reason: collision with root package name */ - public final boolean f787c; - public final SparseArray d = new SparseArray<>(); - public final SparseArray e = new SparseArray<>(); - public final x f; - public byte[] g; - public int h; - public int i; - public long j; - public boolean k; - public long l; - public a m = new a(null); - public a n = new a(null); - public boolean o; - public long p; - public long q; - - /* renamed from: r reason: collision with root package name */ - public boolean f788r; - - /* compiled from: H264Reader */ - public static final class a { - public boolean a; - public boolean b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public u.b f789c; - public int d; - public int e; - public int f; - public int g; - public boolean h; - public boolean i; - public boolean j; - public boolean k; - public int l; - public int m; - public int n; - public int o; - public int p; - - public a(a aVar) { - } - } - - public b(w wVar, boolean z2, boolean z3) { - this.a = wVar; - this.b = z2; - this.f787c = z3; - byte[] bArr = new byte[128]; - this.g = bArr; - this.f = new x(bArr, 0, 0); - this.k = false; - this.o = false; - a aVar = this.n; - aVar.b = false; - aVar.a = false; - } - } - - public r(e0 e0Var, boolean z2, boolean z3) { - this.a = e0Var; - this.b = z2; - this.f786c = z3; - } - - /* JADX WARNING: Removed duplicated region for block: B:44:0x011e */ - /* JADX WARNING: Removed duplicated region for block: B:45:0x0120 */ - /* JADX WARNING: Removed duplicated region for block: B:47:0x0123 */ - /* JADX WARNING: Removed duplicated region for block: B:50:0x0134 */ - /* JADX WARNING: Removed duplicated region for block: B:53:0x0139 */ - /* JADX WARNING: Removed duplicated region for block: B:63:0x0169 */ - @RequiresNonNull({"sampleReader"}) - public final void a(byte[] bArr, int i, int i2) { - boolean z2; - boolean z3; - boolean z4; - boolean z5; - int i3; - int i4; - int i5; - int i6; - int i7; - int i8; - int i9; - int i10; - if (!this.l || this.k.f787c) { - this.d.a(bArr, i, i2); - this.e.a(bArr, i, i2); - } - this.f.a(bArr, i, i2); - b bVar = this.k; - if (bVar.k) { - int i11 = i2 - i; - byte[] bArr2 = bVar.g; - int length = bArr2.length; - int i12 = bVar.h + i11; - if (length < i12) { - bVar.g = Arrays.copyOf(bArr2, i12 * 2); - } - System.arraycopy(bArr, i, bVar.g, bVar.h, i11); - int i13 = bVar.h + i11; - bVar.h = i13; - bVar.f.h(bVar.g, 0, i13); - if (bVar.f.b(8)) { - bVar.f.j(); - int e = bVar.f.e(2); - bVar.f.k(5); - if (bVar.f.c()) { - bVar.f.f(); - if (bVar.f.c()) { - int f = bVar.f.f(); - if (!bVar.f787c) { - bVar.k = false; - b.a aVar = bVar.n; - aVar.e = f; - aVar.b = true; - } else if (bVar.f.c()) { - int f2 = bVar.f.f(); - if (bVar.e.indexOfKey(f2) < 0) { - bVar.k = false; - return; - } - u.a aVar2 = bVar.e.get(f2); - u.b bVar2 = bVar.d.get(aVar2.b); - if (bVar2.h) { - if (bVar.f.b(2)) { - bVar.f.k(2); - } else { - return; - } - } - if (bVar.f.b(bVar2.j)) { - int e2 = bVar.f.e(bVar2.j); - if (bVar2.i) { - z4 = false; - } else if (bVar.f.b(1)) { - z4 = bVar.f.d(); - if (z4) { - if (bVar.f.b(1)) { - z3 = bVar.f.d(); - z2 = true; - z5 = bVar.i != 5; - if (z5) { - i3 = 0; - } else if (bVar.f.c()) { - i3 = bVar.f.f(); - } else { - return; - } - i4 = bVar2.k; - if (i4 == 0) { - if (i4 != 1 || bVar2.m) { - i9 = 0; - } else if (bVar.f.c()) { - i9 = bVar.f.g(); - if (aVar2.f971c && !z4) { - if (bVar.f.c()) { - i7 = bVar.f.g(); - i5 = 0; - i6 = i9; - i8 = 0; - } else { - return; - } - } - } else { - return; - } - i6 = i9; - i8 = 0; - i7 = 0; - i5 = 0; - } else if (bVar.f.b(bVar2.l)) { - i8 = bVar.f.e(bVar2.l); - if (!aVar2.f971c || z4) { - i10 = 0; - } else if (bVar.f.c()) { - i10 = bVar.f.g(); - } else { - return; - } - i5 = i10; - i7 = 0; - i6 = 0; - } else { - return; - } - b.a aVar3 = bVar.n; - aVar3.f789c = bVar2; - aVar3.d = e; - aVar3.e = f; - aVar3.f = e2; - aVar3.g = f2; - aVar3.h = z4; - aVar3.i = z2; - aVar3.j = z3; - aVar3.k = z5; - aVar3.l = i3; - aVar3.m = i8; - aVar3.n = i5; - aVar3.o = i6; - aVar3.p = i7; - aVar3.a = true; - aVar3.b = true; - bVar.k = false; - } - return; - } - } else { - return; - } - z3 = false; - z2 = false; - if (bVar.i != 5) { - } - if (z5) { - } - i4 = bVar2.k; - if (i4 == 0) { - } - b.a aVar3 = bVar.n; - aVar3.f789c = bVar2; - aVar3.d = e; - aVar3.e = f; - aVar3.f = e2; - aVar3.g = f2; - aVar3.h = z4; - aVar3.i = z2; - aVar3.j = z3; - aVar3.k = z5; - aVar3.l = i3; - aVar3.m = i8; - aVar3.n = i5; - aVar3.o = i6; - aVar3.p = i7; - aVar3.a = true; - aVar3.b = true; - bVar.k = false; - } - } - } - } - } - } - } - - /* JADX WARNING: Code restructure failed: missing block: B:113:0x027a, code lost: - if (r6 != 1) goto L_0x027e; - */ - /* JADX WARNING: Code restructure failed: missing block: B:52:0x01ac, code lost: - if (r7.j == r10.j) goto L_0x01ae; - */ - /* JADX WARNING: Code restructure failed: missing block: B:56:0x01b6, code lost: - if (r14 != 0) goto L_0x01b8; - */ - /* JADX WARNING: Code restructure failed: missing block: B:64:0x01ca, code lost: - if (r7.n == r10.n) goto L_0x01cc; - */ - /* JADX WARNING: Code restructure failed: missing block: B:72:0x01dd, code lost: - if (r7.p == r10.p) goto L_0x01df; - */ - /* JADX WARNING: Code restructure failed: missing block: B:77:0x01eb, code lost: - if (r7.l == r10.l) goto L_0x01ee; - */ - /* JADX WARNING: Code restructure failed: missing block: B:80:0x01f1, code lost: - if (r7 == false) goto L_0x0225; - */ - /* JADX WARNING: Removed duplicated region for block: B:104:0x024f */ - /* JADX WARNING: Removed duplicated region for block: B:112:0x0279 */ - /* JADX WARNING: Removed duplicated region for block: B:114:0x027d */ - /* JADX WARNING: Removed duplicated region for block: B:117:0x0282 A[ADDED_TO_REGION] */ - /* JADX WARNING: Removed duplicated region for block: B:124:0x029a A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:32:0x0142 */ - /* JADX WARNING: Removed duplicated region for block: B:35:0x0170 */ - /* JADX WARNING: Removed duplicated region for block: B:88:0x022a */ - /* JADX WARNING: Removed duplicated region for block: B:97:0x0241 A[ADDED_TO_REGION] */ - @Override // c.i.a.c.a2.j0.o - public void b(c.i.a.c.i2.w wVar) { - byte[] bArr; - int i; - b bVar; - boolean z2; - b bVar2; - int i2; - boolean z3; - d.H(this.j); - int i3 = f0.a; - int i4 = wVar.b; - int i5 = wVar.f974c; - byte[] bArr2 = wVar.a; - this.g += (long) wVar.a(); - this.j.c(wVar, wVar.a()); - while (true) { - int b2 = u.b(bArr2, i4, i5, this.h); - if (b2 == i5) { - a(bArr2, i4, i5); - return; - } - int i6 = b2 + 3; - int i7 = bArr2[i6] & 31; - int i8 = b2 - i4; - if (i8 > 0) { - a(bArr2, i4, b2); - } - int i9 = i5 - b2; - long j = this.g - ((long) i9); - int i10 = i8 < 0 ? -i8 : 0; - long j2 = this.m; - if (!this.l || this.k.f787c) { - this.d.b(i10); - this.e.b(i10); - if (this.l) { - i = i5; - bArr = bArr2; - w wVar2 = this.d; - if (wVar2.f796c) { - u.b d = u.d(wVar2.d, 3, wVar2.e); - this.k.d.append(d.d, d); - this.d.c(); - } else { - w wVar3 = this.e; - if (wVar3.f796c) { - u.a c2 = u.c(wVar3.d, 3, wVar3.e); - this.k.e.append(c2.a, c2); - this.e.c(); - } - } - } else if (this.d.f796c && this.e.f796c) { - ArrayList arrayList = new ArrayList(); - w wVar4 = this.d; - arrayList.add(Arrays.copyOf(wVar4.d, wVar4.e)); - w wVar5 = this.e; - arrayList.add(Arrays.copyOf(wVar5.d, wVar5.e)); - w wVar6 = this.d; - u.b d2 = u.d(wVar6.d, 3, wVar6.e); - w wVar7 = this.e; - u.a c3 = u.c(wVar7.d, 3, wVar7.e); - i = i5; - String a2 = h.a(d2.a, d2.b, d2.f972c); - w wVar8 = this.j; - Format.b bVar3 = new Format.b(); - bArr = bArr2; - bVar3.a = this.i; - bVar3.k = "video/avc"; - bVar3.h = a2; - bVar3.p = d2.e; - bVar3.q = d2.f; - bVar3.t = d2.g; - bVar3.m = arrayList; - wVar8.e(bVar3.a()); - this.l = true; - this.k.d.append(d2.d, d2); - this.k.e.append(c3.a, c3); - this.d.c(); - this.e.c(); - } - if (this.f.b(i10)) { - w wVar9 = this.f; - this.o.B(this.f.d, u.e(wVar9.d, wVar9.e)); - this.o.D(4); - d.L(j2, this.o, this.a.b); - } - bVar = this.k; - boolean z4 = this.l; - boolean z5 = this.n; - if (bVar.i != 9) { - if (bVar.f787c) { - b.a aVar = bVar.n; - b.a aVar2 = bVar.m; - if (aVar.a) { - if (aVar2.a) { - u.b bVar4 = aVar.f789c; - d.H(bVar4); - u.b bVar5 = aVar2.f789c; - d.H(bVar5); - if (aVar.f == aVar2.f) { - if (aVar.g == aVar2.g) { - if (aVar.h == aVar2.h) { - if (aVar.i) { - if (aVar2.i) { - } - } - int i11 = aVar.d; - int i12 = aVar2.d; - if (i11 != i12) { - if (i11 != 0) { - } - } - int i13 = bVar4.k; - if (i13 == 0) { - if (bVar5.k == 0) { - if (aVar.m == aVar2.m) { - } - } - } - if (i13 == 1) { - if (bVar5.k == 1) { - if (aVar.o == aVar2.o) { - } - } - } - boolean z6 = aVar.k; - if (z6 == aVar2.k) { - if (z6) { - } - } - } - } - } - } - z3 = true; - } - z3 = false; - } - if (bVar.b) { - b.a aVar3 = bVar.n; - z5 = aVar3.b && ((i2 = aVar3.e) == 7 || i2 == 2); - } - boolean z7 = bVar.f788r; - int i14 = bVar.i; - z2 = z7 | (i14 != 5 || (z5 && i14 == 1)); - bVar.f788r = z2; - if (z2) { - this.n = false; - } - long j3 = this.m; - if (!this.l || this.k.f787c) { - this.d.d(i7); - this.e.d(i7); - } - this.f.d(i7); - bVar2 = this.k; - bVar2.i = i7; - bVar2.l = j3; - bVar2.j = j; - int i15 = bVar2.b ? 1 : 1; - if (bVar2.f787c) { - if (!(i7 == 5 || i7 == i15 || i7 == 2)) { - } - b.a aVar4 = bVar2.m; - bVar2.m = bVar2.n; - bVar2.n = aVar4; - aVar4.b = false; - aVar4.a = false; - bVar2.h = 0; - bVar2.k = true; - } - i4 = i6; - i5 = i; - bArr2 = bArr; - } - if (z4 && bVar.o) { - long j4 = bVar.j; - bVar.a.d(bVar.q, bVar.f788r ? 1 : 0, (int) (j4 - bVar.p), i9 + ((int) (j - j4)), null); - } - bVar.p = bVar.j; - bVar.q = bVar.l; - bVar.f788r = false; - bVar.o = true; - if (bVar.b) { - } - boolean z7 = bVar.f788r; - int i14 = bVar.i; - z2 = z7 | (i14 != 5 || (z5 && i14 == 1)); - bVar.f788r = z2; - if (z2) { - } - long j3 = this.m; - this.d.d(i7); - this.e.d(i7); - this.f.d(i7); - bVar2 = this.k; - bVar2.i = i7; - bVar2.l = j3; - bVar2.j = j; - if (bVar2.b) { - } - if (bVar2.f787c) { - } - i4 = i6; - i5 = i; - bArr2 = bArr; - } - i = i5; - bArr = bArr2; - if (this.f.b(i10)) { - } - bVar = this.k; - boolean z4 = this.l; - boolean z5 = this.n; - if (bVar.i != 9) { - } - long j4 = bVar.j; - bVar.a.d(bVar.q, bVar.f788r ? 1 : 0, (int) (j4 - bVar.p), i9 + ((int) (j - j4)), null); - bVar.p = bVar.j; - bVar.q = bVar.l; - bVar.f788r = false; - bVar.o = true; - if (bVar.b) { - } - boolean z7 = bVar.f788r; - int i14 = bVar.i; - z2 = z7 | (i14 != 5 || (z5 && i14 == 1)); - bVar.f788r = z2; - if (z2) { - } - long j3 = this.m; - this.d.d(i7); - this.e.d(i7); - this.f.d(i7); - bVar2 = this.k; - bVar2.i = i7; - bVar2.l = j3; - bVar2.j = j; - if (bVar2.b) { - } - if (bVar2.f787c) { - } - i4 = i6; - i5 = i; - bArr2 = bArr; - } - } - - @Override // c.i.a.c.a2.j0.o - public void c() { - this.g = 0; - this.n = false; - u.a(this.h); - this.d.c(); - this.e.c(); - this.f.c(); - b bVar = this.k; - if (bVar != null) { - bVar.k = false; - bVar.o = false; - b.a aVar = bVar.n; - aVar.b = false; - aVar.a = false; - } - } - - @Override // c.i.a.c.a2.j0.o - public void d() { - } - - @Override // c.i.a.c.a2.j0.o - public void e(j jVar, i0.d dVar) { - dVar.a(); - this.i = dVar.b(); - w p = jVar.p(dVar.c(), 2); - this.j = p; - this.k = new b(p, this.b, this.f786c); - this.a.a(jVar, dVar); - } - - @Override // c.i.a.c.a2.j0.o - public void f(long j, int i) { - this.m = j; - this.n |= (i & 2) != 0; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/s.java b/app/src/main/java/c/i/a/c/a2/j0/s.java deleted file mode 100644 index b3c42b21bb..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/s.java +++ /dev/null @@ -1,463 +0,0 @@ -package c.i.a.c.a2.j0; - -import c.c.a.a0.d; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.a2.w; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.h; -import c.i.a.c.i2.u; -import c.i.a.c.i2.x; -import com.google.android.exoplayer2.Format; -import java.util.Collections; -import org.checkerframework.checker.nullness.qual.RequiresNonNull; -/* compiled from: H265Reader */ -public final class s implements o { - public final e0 a; - public String b; - - /* renamed from: c reason: collision with root package name */ - public w f790c; - public a d; - public boolean e; - public final boolean[] f = new boolean[3]; - public final w g = new w(32, 128); - public final w h = new w(33, 128); - public final w i = new w(34, 128); - public final w j = new w(39, 128); - public final w k = new w(40, 128); - public long l; - public long m; - public final c.i.a.c.i2.w n = new c.i.a.c.i2.w(); - - /* compiled from: H265Reader */ - public static final class a { - public final w a; - public long b; - - /* renamed from: c reason: collision with root package name */ - public boolean f791c; - public int d; - public long e; - public boolean f; - public boolean g; - public boolean h; - public boolean i; - public boolean j; - public long k; - public long l; - public boolean m; - - public a(w wVar) { - this.a = wVar; - } - - public final void a(int i) { - boolean z2 = this.m; - this.a.d(this.l, z2 ? 1 : 0, (int) (this.b - this.k), i, null); - } - } - - public s(e0 e0Var) { - this.a = e0Var; - } - - @RequiresNonNull({"sampleReader"}) - public final void a(byte[] bArr, int i, int i2) { - a aVar = this.d; - if (aVar.f) { - int i3 = aVar.d; - int i4 = (i + 2) - i3; - if (i4 < i2) { - aVar.g = (bArr[i4] & 128) != 0; - aVar.f = false; - } else { - aVar.d = (i2 - i) + i3; - } - } - if (!this.e) { - this.g.a(bArr, i, i2); - this.h.a(bArr, i, i2); - this.i.a(bArr, i, i2); - } - this.j.a(bArr, i, i2); - this.k.a(bArr, i, i2); - } - - /* JADX WARNING: Removed duplicated region for block: B:156:0x0335 */ - /* JADX WARNING: Removed duplicated region for block: B:157:0x0359 */ - /* JADX WARNING: Removed duplicated region for block: B:160:0x0363 */ - /* JADX WARNING: Removed duplicated region for block: B:168:0x03a7 */ - /* JADX WARNING: Removed duplicated region for block: B:198:0x03ed */ - /* JADX WARNING: Removed duplicated region for block: B:206:0x03fc A[SYNTHETIC] */ - @Override // c.i.a.c.a2.j0.o - public void b(c.i.a.c.i2.w wVar) { - long j; - long j2; - int i; - int i2; - int i3; - byte[] bArr; - int i4; - long j3; - int i5; - long j4; - c.i.a.c.i2.w wVar2 = wVar; - d.H(this.f790c); - int i6 = f0.a; - while (wVar.a() > 0) { - int i7 = wVar2.f974c; - byte[] bArr2 = wVar2.a; - this.l += (long) wVar.a(); - this.f790c.c(wVar2, wVar.a()); - for (int i8 = wVar2.b; i8 < i7; i8 = i3) { - int b = u.b(bArr2, i8, i7, this.f); - if (b == i7) { - a(bArr2, i8, i7); - return; - } - int i9 = b + 3; - int i10 = (bArr2[i9] & 126) >> 1; - int i11 = b - i8; - if (i11 > 0) { - a(bArr2, i8, b); - } - int i12 = i7 - b; - long j5 = this.l - ((long) i12); - int i13 = i11 < 0 ? -i11 : 0; - long j6 = this.m; - a aVar = this.d; - boolean z2 = this.e; - if (aVar.j && aVar.g) { - aVar.m = aVar.f791c; - aVar.j = false; - } else if (aVar.h || aVar.g) { - if (z2 && aVar.i) { - aVar.a(((int) (j5 - aVar.b)) + i12); - } - aVar.k = aVar.b; - aVar.l = aVar.e; - aVar.m = aVar.f791c; - aVar.i = true; - } - if (!this.e) { - this.g.b(i13); - this.h.b(i13); - this.i.b(i13); - w wVar3 = this.g; - if (wVar3.f796c) { - w wVar4 = this.h; - if (wVar4.f796c) { - w wVar5 = this.i; - if (wVar5.f796c) { - w wVar6 = this.f790c; - String str = this.b; - i4 = i7; - int i14 = wVar3.e; - bArr = bArr2; - i3 = i9; - byte[] bArr3 = new byte[(wVar4.e + i14 + wVar5.e)]; - i2 = i12; - System.arraycopy(wVar3.d, 0, bArr3, 0, i14); - i = i10; - System.arraycopy(wVar4.d, 0, bArr3, wVar3.e, wVar4.e); - System.arraycopy(wVar5.d, 0, bArr3, wVar3.e + wVar4.e, wVar5.e); - x xVar = new x(wVar4.d, 0, wVar4.e); - xVar.k(44); - int e = xVar.e(3); - xVar.j(); - xVar.k(88); - xVar.k(8); - int i15 = 0; - for (int i16 = 0; i16 < e; i16++) { - if (xVar.d()) { - i15 += 89; - } - if (xVar.d()) { - i15 += 8; - } - } - xVar.k(i15); - if (e > 0) { - xVar.k((8 - e) * 2); - } - xVar.f(); - int f = xVar.f(); - if (f == 3) { - xVar.j(); - } - int f2 = xVar.f(); - int f3 = xVar.f(); - if (xVar.d()) { - int f4 = xVar.f(); - int f5 = xVar.f(); - int f6 = xVar.f(); - int f7 = xVar.f(); - j = j5; - f2 -= (f4 + f5) * ((f == 1 || f == 2) ? 2 : 1); - f3 -= (f6 + f7) * (f == 1 ? 2 : 1); - } else { - j = j5; - } - xVar.f(); - xVar.f(); - int f8 = xVar.f(); - for (int i17 = xVar.d() ? 0 : e; i17 <= e; i17++) { - xVar.f(); - xVar.f(); - xVar.f(); - } - xVar.f(); - xVar.f(); - xVar.f(); - xVar.f(); - xVar.f(); - xVar.f(); - if (xVar.d() && xVar.d()) { - int i18 = 0; - for (int i19 = 4; i18 < i19; i19 = 4) { - int i20 = 0; - while (i20 < 6) { - if (!xVar.d()) { - xVar.f(); - j4 = j6; - } else { - j4 = j6; - int min = Math.min(64, 1 << ((i18 << 1) + 4)); - if (i18 > 1) { - xVar.g(); - } - for (int i21 = 0; i21 < min; i21++) { - xVar.g(); - } - } - i20 += i18 == 3 ? 3 : 1; - j6 = j4; - } - i18++; - } - } - j2 = j6; - xVar.k(2); - if (xVar.d()) { - xVar.k(8); - xVar.f(); - xVar.f(); - xVar.j(); - } - int f9 = xVar.f(); - int i22 = 0; - boolean z3 = false; - int i23 = 0; - while (i22 < f9) { - if (i22 != 0) { - z3 = xVar.d(); - } - if (z3) { - xVar.j(); - xVar.f(); - for (int i24 = 0; i24 <= i23; i24++) { - if (xVar.d()) { - xVar.j(); - } - } - i5 = f9; - } else { - int f10 = xVar.f(); - int f11 = xVar.f(); - int i25 = f10 + f11; - i5 = f9; - for (int i26 = 0; i26 < f10; i26++) { - xVar.f(); - xVar.j(); - } - for (int i27 = 0; i27 < f11; i27++) { - xVar.f(); - xVar.j(); - } - i23 = i25; - } - i22++; - f9 = i5; - } - if (xVar.d()) { - for (int i28 = 0; i28 < xVar.f(); i28++) { - xVar.k(f8 + 4 + 1); - } - } - xVar.k(2); - float f12 = 1.0f; - if (xVar.d()) { - if (xVar.d()) { - int e2 = xVar.e(8); - if (e2 == 255) { - int e3 = xVar.e(16); - int e4 = xVar.e(16); - if (!(e3 == 0 || e4 == 0)) { - f12 = ((float) e3) / ((float) e4); - } - } else { - float[] fArr = u.b; - if (e2 < fArr.length) { - f12 = fArr[e2]; - } else { - c.d.b.a.a.i0("Unexpected aspect_ratio_idc value: ", e2, "H265Reader"); - } - } - } - if (xVar.d()) { - xVar.j(); - } - if (xVar.d()) { - xVar.k(4); - if (xVar.d()) { - xVar.k(24); - } - } - if (xVar.d()) { - xVar.f(); - xVar.f(); - } - xVar.j(); - if (xVar.d()) { - f3 *= 2; - } - } - xVar.h(wVar4.d, 0, wVar4.e); - xVar.k(24); - String b2 = h.b(xVar); - Format.b bVar = new Format.b(); - bVar.a = str; - bVar.k = "video/hevc"; - bVar.h = b2; - bVar.p = f2; - bVar.q = f3; - bVar.t = f12; - bVar.m = Collections.singletonList(bArr3); - wVar6.e(bVar.a()); - this.e = true; - if (!this.j.b(i13)) { - w wVar7 = this.j; - this.n.B(this.j.d, u.e(wVar7.d, wVar7.e)); - this.n.E(5); - j3 = j2; - d.L(j3, this.n, this.a.b); - } else { - j3 = j2; - } - if (this.k.b(i13)) { - w wVar8 = this.k; - this.n.B(this.k.d, u.e(wVar8.d, wVar8.e)); - this.n.E(5); - d.L(j3, this.n, this.a.b); - } - long j7 = this.m; - a aVar2 = this.d; - boolean z4 = this.e; - aVar2.g = false; - aVar2.h = false; - aVar2.e = j7; - aVar2.d = 0; - aVar2.b = j; - if (!(i >= 32 || i == 40)) { - if (aVar2.i && !aVar2.j) { - if (z4) { - aVar2.a(i2); - } - aVar2.i = false; - } - if ((32 <= i && i <= 35) || i == 39) { - aVar2.h = !aVar2.j; - aVar2.j = true; - } - } - boolean z5 = i < 16 && i <= 21; - aVar2.f791c = z5; - aVar2.f = !z5 || i <= 9; - if (this.e) { - this.g.d(i); - this.h.d(i); - this.i.d(i); - } - this.j.d(i); - this.k.d(i); - i7 = i4; - bArr2 = bArr; - } - } - } - } - i2 = i12; - i4 = i7; - bArr = bArr2; - i3 = i9; - i = i10; - j = j5; - j2 = j6; - if (!this.j.b(i13)) { - } - if (this.k.b(i13)) { - } - long j7 = this.m; - a aVar2 = this.d; - boolean z4 = this.e; - aVar2.g = false; - aVar2.h = false; - aVar2.e = j7; - aVar2.d = 0; - aVar2.b = j; - if (!(i >= 32 || i == 40)) { - } - if (i < 16) { - } - aVar2.f791c = z5; - aVar2.f = !z5 || i <= 9; - if (this.e) { - } - this.j.d(i); - this.k.d(i); - i7 = i4; - bArr2 = bArr; - } - wVar2 = wVar; - } - } - - @Override // c.i.a.c.a2.j0.o - public void c() { - this.l = 0; - u.a(this.f); - this.g.c(); - this.h.c(); - this.i.c(); - this.j.c(); - this.k.c(); - a aVar = this.d; - if (aVar != null) { - aVar.f = false; - aVar.g = false; - aVar.h = false; - aVar.i = false; - aVar.j = false; - } - } - - @Override // c.i.a.c.a2.j0.o - public void d() { - } - - @Override // c.i.a.c.a2.j0.o - public void e(j jVar, i0.d dVar) { - dVar.a(); - this.b = dVar.b(); - w p = jVar.p(dVar.c(), 2); - this.f790c = p; - this.d = new a(p); - this.a.a(jVar, dVar); - } - - @Override // c.i.a.c.a2.j0.o - public void f(long j, int i) { - this.m = j; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/t.java b/app/src/main/java/c/i/a/c/a2/j0/t.java deleted file mode 100644 index 2eeea226c5..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/t.java +++ /dev/null @@ -1,82 +0,0 @@ -package c.i.a.c.a2.j0; - -import android.util.Log; -import c.c.a.a0.d; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.Format; -/* compiled from: Id3Reader */ -public final class t implements o { - public final w a = new w(10); - public c.i.a.c.a2.w b; - - /* renamed from: c reason: collision with root package name */ - public boolean f792c; - public long d; - public int e; - public int f; - - @Override // c.i.a.c.a2.j0.o - public void b(w wVar) { - d.H(this.b); - if (this.f792c) { - int a = wVar.a(); - int i = this.f; - if (i < 10) { - int min = Math.min(a, 10 - i); - System.arraycopy(wVar.a, wVar.b, this.a.a, this.f, min); - if (this.f + min == 10) { - this.a.D(0); - if (73 == this.a.s() && 68 == this.a.s() && 51 == this.a.s()) { - this.a.E(3); - this.e = this.a.r() + 10; - } else { - Log.w("Id3Reader", "Discarding invalid ID3 tag"); - this.f792c = false; - return; - } - } - } - int min2 = Math.min(a, this.e - this.f); - this.b.c(wVar, min2); - this.f += min2; - } - } - - @Override // c.i.a.c.a2.j0.o - public void c() { - this.f792c = false; - } - - @Override // c.i.a.c.a2.j0.o - public void d() { - int i; - d.H(this.b); - if (this.f792c && (i = this.e) != 0 && this.f == i) { - this.b.d(this.d, 1, i, 0, null); - this.f792c = false; - } - } - - @Override // c.i.a.c.a2.j0.o - public void e(j jVar, i0.d dVar) { - dVar.a(); - c.i.a.c.a2.w p = jVar.p(dVar.c(), 5); - this.b = p; - Format.b bVar = new Format.b(); - bVar.a = dVar.b(); - bVar.k = "application/id3"; - p.e(bVar.a()); - } - - @Override // c.i.a.c.a2.j0.o - public void f(long j, int i) { - if ((i & 4) != 0) { - this.f792c = true; - this.d = j; - this.e = 0; - this.f = 0; - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/u.java b/app/src/main/java/c/i/a/c/a2/j0/u.java deleted file mode 100644 index 853e263ccd..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/u.java +++ /dev/null @@ -1,252 +0,0 @@ -package c.i.a.c.a2.j0; - -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import c.i.a.c.v1.k; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import java.util.Collections; -import java.util.Objects; -/* compiled from: LatmReader */ -public final class u implements o { - @Nullable - public final String a; - public final w b; - - /* renamed from: c reason: collision with root package name */ - public final v f793c; - public c.i.a.c.a2.w d; - public String e; - public Format f; - public int g; - public int h; - public int i; - public int j; - public long k; - public boolean l; - public int m; - public int n; - public int o; - public boolean p; - public long q; - - /* renamed from: r reason: collision with root package name */ - public int f794r; - public long s; - public int t; - @Nullable - public String u; - - public u(@Nullable String str) { - this.a = str; - w wVar = new w(1024); - this.b = wVar; - this.f793c = new v(wVar.a); - } - - public static long a(v vVar) { - return (long) vVar.g((vVar.g(2) + 1) * 8); - } - - /* JADX WARNING: Code restructure failed: missing block: B:64:0x014e, code lost: - if (r13.l == false) goto L_0x01a8; - */ - @Override // c.i.a.c.a2.j0.o - public void b(w wVar) throws ParserException { - int i; - boolean f; - d.H(this.d); - while (wVar.a() > 0) { - int i2 = this.g; - if (i2 != 0) { - if (i2 == 1) { - int s = wVar.s(); - if ((s & 224) == 224) { - this.j = s; - this.g = 2; - } else if (s != 86) { - this.g = 0; - } - } else if (i2 == 2) { - int s2 = ((this.j & -225) << 8) | wVar.s(); - this.i = s2; - w wVar2 = this.b; - byte[] bArr = wVar2.a; - if (s2 > bArr.length) { - if (bArr.length < s2) { - bArr = new byte[s2]; - } - wVar2.B(bArr, s2); - v vVar = this.f793c; - byte[] bArr2 = this.b.a; - Objects.requireNonNull(vVar); - int length = bArr2.length; - vVar.a = bArr2; - vVar.b = 0; - vVar.f973c = 0; - vVar.d = length; - } - this.h = 0; - this.g = 3; - } else if (i2 == 3) { - int min = Math.min(wVar.a(), this.i - this.h); - wVar.e(this.f793c.a, this.h, min); - int i3 = this.h + min; - this.h = i3; - if (i3 == this.i) { - this.f793c.k(0); - v vVar2 = this.f793c; - if (!vVar2.f()) { - this.l = true; - int g = vVar2.g(1); - int g2 = g == 1 ? vVar2.g(1) : 0; - this.m = g2; - if (g2 == 0) { - if (g == 1) { - a(vVar2); - } - if (vVar2.f()) { - this.n = vVar2.g(6); - int g3 = vVar2.g(4); - int g4 = vVar2.g(3); - if (g3 == 0 && g4 == 0) { - if (g == 0) { - int e = vVar2.e(); - int g5 = g(vVar2); - vVar2.k(e); - byte[] bArr3 = new byte[((g5 + 7) / 8)]; - vVar2.h(bArr3, 0, g5); - Format.b bVar = new Format.b(); - bVar.a = this.e; - bVar.k = "audio/mp4a-latm"; - bVar.h = this.u; - bVar.f2702x = this.t; - bVar.f2703y = this.f794r; - bVar.m = Collections.singletonList(bArr3); - bVar.f2699c = this.a; - Format a = bVar.a(); - if (!a.equals(this.f)) { - this.f = a; - this.s = 1024000000 / ((long) a.H); - this.d.e(a); - } - } else { - vVar2.m(((int) a(vVar2)) - g(vVar2)); - } - int g6 = vVar2.g(3); - this.o = g6; - if (g6 == 0) { - vVar2.m(8); - } else if (g6 == 1) { - vVar2.m(9); - } else if (g6 == 3 || g6 == 4 || g6 == 5) { - vVar2.m(6); - } else if (g6 == 6 || g6 == 7) { - vVar2.m(1); - } else { - throw new IllegalStateException(); - } - boolean f2 = vVar2.f(); - this.p = f2; - this.q = 0; - if (f2) { - if (g == 1) { - this.q = a(vVar2); - } else { - do { - f = vVar2.f(); - this.q = (this.q << 8) + ((long) vVar2.g(8)); - } while (f); - } - } - if (vVar2.f()) { - vVar2.m(8); - } - } else { - throw new ParserException(); - } - } else { - throw new ParserException(); - } - } else { - throw new ParserException(); - } - } - if (this.m != 0) { - throw new ParserException(); - } else if (this.n != 0) { - throw new ParserException(); - } else if (this.o == 0) { - int i4 = 0; - while (true) { - int g7 = vVar2.g(8); - i = i4 + g7; - if (g7 != 255) { - break; - } - i4 = i; - } - int e2 = vVar2.e(); - if ((e2 & 7) == 0) { - this.b.D(e2 >> 3); - } else { - vVar2.h(this.b.a, 0, i * 8); - this.b.D(0); - } - this.d.c(this.b, i); - this.d.d(this.k, 1, i, 0, null); - this.k += this.s; - if (this.p) { - vVar2.m((int) this.q); - } - this.g = 0; - } else { - throw new ParserException(); - } - } else { - continue; - } - } else { - throw new IllegalStateException(); - } - } else if (wVar.s() == 86) { - this.g = 1; - } - } - } - - @Override // c.i.a.c.a2.j0.o - public void c() { - this.g = 0; - this.l = false; - } - - @Override // c.i.a.c.a2.j0.o - public void d() { - } - - @Override // c.i.a.c.a2.j0.o - public void e(j jVar, i0.d dVar) { - dVar.a(); - this.d = jVar.p(dVar.c(), 1); - this.e = dVar.b(); - } - - @Override // c.i.a.c.a2.j0.o - public void f(long j, int i) { - this.k = j; - } - - public final int g(v vVar) throws ParserException { - int b = vVar.b(); - k.b c2 = k.c(vVar, true); - this.u = c2.f1057c; - this.f794r = c2.a; - this.t = c2.b; - return b - vVar.b(); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/v.java b/app/src/main/java/c/i/a/c/a2/j0/v.java deleted file mode 100644 index d80a2305ea..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/v.java +++ /dev/null @@ -1,134 +0,0 @@ -package c.i.a.c.a2.j0; - -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.i2.w; -import c.i.a.c.v1.z; -import com.google.android.exoplayer2.Format; -/* compiled from: MpegAudioReader */ -public final class v implements o { - public final w a; - public final z.a b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public final String f795c; - public c.i.a.c.a2.w d; - public String e; - public int f = 0; - public int g; - public boolean h; - public boolean i; - public long j; - public int k; - public long l; - - public v(@Nullable String str) { - w wVar = new w(4); - this.a = wVar; - wVar.a[0] = -1; - this.b = new z.a(); - this.f795c = str; - } - - @Override // c.i.a.c.a2.j0.o - public void b(w wVar) { - d.H(this.d); - while (wVar.a() > 0) { - int i = this.f; - if (i == 0) { - byte[] bArr = wVar.a; - int i2 = wVar.b; - int i3 = wVar.f974c; - while (true) { - if (i2 >= i3) { - wVar.D(i3); - break; - } - boolean z2 = (bArr[i2] & 255) == 255; - boolean z3 = this.i && (bArr[i2] & 224) == 224; - this.i = z2; - if (z3) { - wVar.D(i2 + 1); - this.i = false; - this.a.a[1] = bArr[i2]; - this.g = 2; - this.f = 1; - break; - } - i2++; - } - } else if (i == 1) { - int min = Math.min(wVar.a(), 4 - this.g); - wVar.e(this.a.a, this.g, min); - int i4 = this.g + min; - this.g = i4; - if (i4 >= 4) { - this.a.D(0); - if (!this.b.a(this.a.f())) { - this.g = 0; - this.f = 1; - } else { - z.a aVar = this.b; - this.k = aVar.f1073c; - if (!this.h) { - int i5 = aVar.d; - this.j = (((long) aVar.g) * 1000000) / ((long) i5); - Format.b bVar = new Format.b(); - bVar.a = this.e; - bVar.k = aVar.b; - bVar.l = 4096; - bVar.f2702x = aVar.e; - bVar.f2703y = i5; - bVar.f2699c = this.f795c; - this.d.e(bVar.a()); - this.h = true; - } - this.a.D(0); - this.d.c(this.a, 4); - this.f = 2; - } - } - } else if (i == 2) { - int min2 = Math.min(wVar.a(), this.k - this.g); - this.d.c(wVar, min2); - int i6 = this.g + min2; - this.g = i6; - int i7 = this.k; - if (i6 >= i7) { - this.d.d(this.l, 1, i7, 0, null); - this.l += this.j; - this.g = 0; - this.f = 0; - } - } else { - throw new IllegalStateException(); - } - } - } - - @Override // c.i.a.c.a2.j0.o - public void c() { - this.f = 0; - this.g = 0; - this.i = false; - } - - @Override // c.i.a.c.a2.j0.o - public void d() { - } - - @Override // c.i.a.c.a2.j0.o - public void e(j jVar, i0.d dVar) { - dVar.a(); - this.e = dVar.b(); - this.d = jVar.p(dVar.c(), 1); - } - - @Override // c.i.a.c.a2.j0.o - public void f(long j, int i) { - this.l = j; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/w.java b/app/src/main/java/c/i/a/c/a2/j0/w.java deleted file mode 100644 index 87bac2be8b..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/w.java +++ /dev/null @@ -1,63 +0,0 @@ -package c.i.a.c.a2.j0; - -import c.c.a.a0.d; -import java.util.Arrays; -/* compiled from: NalUnitTargetBuffer */ -public final class w { - public final int a; - public boolean b; - - /* renamed from: c reason: collision with root package name */ - public boolean f796c; - public byte[] d; - public int e; - - public w(int i, int i2) { - this.a = i; - byte[] bArr = new byte[(i2 + 3)]; - this.d = bArr; - bArr[2] = 1; - } - - public void a(byte[] bArr, int i, int i2) { - if (this.b) { - int i3 = i2 - i; - byte[] bArr2 = this.d; - int length = bArr2.length; - int i4 = this.e; - if (length < i4 + i3) { - this.d = Arrays.copyOf(bArr2, (i4 + i3) * 2); - } - System.arraycopy(bArr, i, this.d, this.e, i3); - this.e += i3; - } - } - - public boolean b(int i) { - if (!this.b) { - return false; - } - this.e -= i; - this.b = false; - this.f796c = true; - return true; - } - - public void c() { - this.b = false; - this.f796c = false; - } - - public void d(int i) { - boolean z2 = true; - d.D(!this.b); - if (i != this.a) { - z2 = false; - } - this.b = z2; - if (z2) { - this.e = 3; - this.f796c = false; - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/x.java b/app/src/main/java/c/i/a/c/a2/j0/x.java deleted file mode 100644 index 367bb56fc1..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/x.java +++ /dev/null @@ -1,69 +0,0 @@ -package c.i.a.c.a2.j0; - -import androidx.recyclerview.widget.RecyclerView; -import c.c.a.a0.d; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.a2.w; -import c.i.a.c.i2.e0; -import c.i.a.c.i2.f0; -import com.google.android.exoplayer2.Format; -/* compiled from: PassthroughSectionPayloadReader */ -public final class x implements c0 { - public Format a; - public e0 b; - - /* renamed from: c reason: collision with root package name */ - public w f797c; - - public x(String str) { - Format.b bVar = new Format.b(); - bVar.k = str; - this.a = bVar.a(); - } - - @Override // c.i.a.c.a2.j0.c0 - public void a(e0 e0Var, j jVar, i0.d dVar) { - this.b = e0Var; - dVar.a(); - w p = jVar.p(dVar.c(), 5); - this.f797c = p; - p.e(this.a); - } - - @Override // c.i.a.c.a2.j0.c0 - public void b(c.i.a.c.i2.w wVar) { - long j; - d.H(this.b); - int i = f0.a; - long d = this.b.d(); - long j2 = -9223372036854775807L; - if (d != -9223372036854775807L) { - Format format = this.a; - if (d != format.f2696x) { - Format.b a = format.a(); - a.o = d; - Format a2 = a.a(); - this.a = a2; - this.f797c.e(a2); - } - int a3 = wVar.a(); - this.f797c.c(wVar, a3); - w wVar2 = this.f797c; - e0 e0Var = this.b; - synchronized (e0Var) { - long j3 = e0Var.f964c; - if (j3 != -9223372036854775807L) { - j2 = e0Var.b + j3; - } else { - long j4 = e0Var.a; - if (j4 != RecyclerView.FOREVER_NS) { - j = j4; - } - } - j = j2; - } - wVar2.d(j, 1, a3, 0, null); - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/y.java b/app/src/main/java/c/i/a/c/a2/j0/y.java deleted file mode 100644 index bf6c379aff..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/y.java +++ /dev/null @@ -1,187 +0,0 @@ -package c.i.a.c.a2.j0; - -import android.util.Log; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.d.b.a.a; -import c.i.a.c.a2.j; -import c.i.a.c.a2.j0.i0; -import c.i.a.c.i2.e0; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.ParserException; -/* compiled from: PesReader */ -public final class y implements i0 { - public final o a; - public final v b = new v(new byte[10]); - - /* renamed from: c reason: collision with root package name */ - public int f798c = 0; - public int d; - public e0 e; - public boolean f; - public boolean g; - public boolean h; - public int i; - public int j; - public boolean k; - public long l; - - public y(o oVar) { - this.a = oVar; - } - - @Override // c.i.a.c.a2.j0.i0 - public void a(e0 e0Var, j jVar, i0.d dVar) { - this.e = e0Var; - this.a.e(jVar, dVar); - } - - @Override // c.i.a.c.a2.j0.i0 - public final void b(w wVar, int i) throws ParserException { - boolean z2; - d.H(this.e); - int i2 = -1; - int i3 = 3; - if ((i & 1) != 0) { - int i4 = this.f798c; - if (!(i4 == 0 || i4 == 1)) { - if (i4 == 2) { - Log.w("PesReader", "Unexpected start indicator reading extended header"); - } else if (i4 == 3) { - if (this.j != -1) { - StringBuilder O = a.O("Unexpected start indicator: expected "); - O.append(this.j); - O.append(" more bytes"); - Log.w("PesReader", O.toString()); - } - this.a.d(); - } else { - throw new IllegalStateException(); - } - } - e(1); - } - while (wVar.a() > 0) { - int i5 = this.f798c; - if (i5 != 0) { - int i6 = 0; - if (i5 != 1) { - if (i5 == 2) { - if (d(wVar, this.b.a, Math.min(10, this.i)) && d(wVar, null, this.i)) { - this.b.k(0); - this.l = -9223372036854775807L; - if (this.f) { - this.b.m(4); - this.b.m(1); - this.b.m(1); - long g = (((long) this.b.g(i3)) << 30) | ((long) (this.b.g(15) << 15)) | ((long) this.b.g(15)); - this.b.m(1); - if (!this.h && this.g) { - this.b.m(4); - this.b.m(1); - this.b.m(1); - this.b.m(1); - this.e.b((((long) this.b.g(i3)) << 30) | ((long) (this.b.g(15) << 15)) | ((long) this.b.g(15))); - this.h = true; - } - this.l = this.e.b(g); - } - i |= this.k ? 4 : 0; - this.a.f(this.l, i); - e(3); - } - } else if (i5 == i3) { - int a = wVar.a(); - int i7 = this.j; - if (i7 != i2) { - i6 = a - i7; - } - if (i6 > 0) { - a -= i6; - wVar.C(wVar.b + a); - } - this.a.b(wVar); - int i8 = this.j; - if (i8 != i2) { - int i9 = i8 - a; - this.j = i9; - if (i9 == 0) { - this.a.d(); - e(1); - } - } - } else { - throw new IllegalStateException(); - } - } else if (d(wVar, this.b.a, 9)) { - this.b.k(0); - int g2 = this.b.g(24); - if (g2 != 1) { - a.i0("Unexpected start code prefix: ", g2, "PesReader"); - this.j = -1; - z2 = false; - } else { - this.b.m(8); - int g3 = this.b.g(16); - this.b.m(5); - this.k = this.b.f(); - this.b.m(2); - this.f = this.b.f(); - this.g = this.b.f(); - this.b.m(6); - int g4 = this.b.g(8); - this.i = g4; - if (g3 == 0) { - this.j = -1; - } else { - int i10 = ((g3 + 6) - 9) - g4; - this.j = i10; - if (i10 < 0) { - StringBuilder O2 = a.O("Found negative packet payload size: "); - O2.append(this.j); - Log.w("PesReader", O2.toString()); - this.j = -1; - } - } - z2 = true; - } - e(z2 ? 2 : 0); - } - } else { - wVar.E(wVar.a()); - } - i2 = -1; - i3 = 3; - } - } - - @Override // c.i.a.c.a2.j0.i0 - public final void c() { - this.f798c = 0; - this.d = 0; - this.h = false; - this.a.c(); - } - - public final boolean d(w wVar, @Nullable byte[] bArr, int i) { - int min = Math.min(wVar.a(), i - this.d); - if (min <= 0) { - return true; - } - if (bArr == null) { - wVar.E(min); - } else { - System.arraycopy(wVar.a, wVar.b, bArr, this.d, min); - wVar.b += min; - } - int i2 = this.d + min; - this.d = i2; - return i2 == i; - } - - public final void e(int i) { - this.f798c = i; - this.d = 0; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/j0/z.java b/app/src/main/java/c/i/a/c/a2/j0/z.java deleted file mode 100644 index 12c0933c7d..0000000000 --- a/app/src/main/java/c/i/a/c/a2/j0/z.java +++ /dev/null @@ -1,104 +0,0 @@ -package c.i.a.c.a2.j0; - -import c.i.a.c.a2.a; -import c.i.a.c.a2.i; -import c.i.a.c.i2.e0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -import java.io.IOException; -/* compiled from: PsBinarySearchSeeker */ -public final class z extends c.i.a.c.a2.a { - - /* compiled from: PsBinarySearchSeeker */ - public static final class b implements a.f { - public final e0 a; - public final w b = new w(); - - public b(e0 e0Var, a aVar) { - this.a = e0Var; - } - - @Override // c.i.a.c.a2.a.f - public void a() { - this.b.A(f0.f); - } - - @Override // c.i.a.c.a2.a.f - public a.e b(i iVar, long j) throws IOException { - int g; - long position = iVar.getPosition(); - int min = (int) Math.min(20000L, iVar.b() - position); - this.b.z(min); - iVar.n(this.b.a, 0, min); - w wVar = this.b; - int i = -1; - long j2 = -9223372036854775807L; - int i2 = -1; - while (wVar.a() >= 4) { - if (z.g(wVar.a, wVar.b) != 442) { - wVar.E(1); - } else { - wVar.E(4); - long c2 = a0.c(wVar); - if (c2 != -9223372036854775807L) { - long b = this.a.b(c2); - if (b > j) { - return j2 == -9223372036854775807L ? a.e.a(b, position) : a.e.b(position + ((long) i2)); - } - if (100000 + b > j) { - return a.e.b(position + ((long) wVar.b)); - } - i2 = wVar.b; - j2 = b; - } - int i3 = wVar.f974c; - if (wVar.a() >= 10) { - wVar.E(9); - int s = wVar.s() & 7; - if (wVar.a() >= s) { - wVar.E(s); - if (wVar.a() >= 4) { - if (z.g(wVar.a, wVar.b) == 443) { - wVar.E(4); - int x2 = wVar.x(); - if (wVar.a() < x2) { - wVar.D(i3); - } else { - wVar.E(x2); - } - } - while (true) { - if (wVar.a() < 4 || (g = z.g(wVar.a, wVar.b)) == 442 || g == 441 || (g >>> 8) != 1) { - break; - } - wVar.E(4); - if (wVar.a() < 2) { - wVar.D(i3); - break; - } - wVar.D(Math.min(wVar.f974c, wVar.b + wVar.x())); - } - } else { - wVar.D(i3); - } - } else { - wVar.D(i3); - } - } else { - wVar.D(i3); - } - i = wVar.b; - } - } - return j2 != -9223372036854775807L ? a.e.c(j2, position + ((long) i)) : a.e.a; - } - } - - public z(e0 e0Var, long j, long j2) { - super(new a.b(), new b(e0Var, null), j, 0, j + 1, 0, j2, 188, 1000); - } - - public static int g(byte[] bArr, int i) { - return (bArr[i + 3] & 255) | ((bArr[i] & 255) << 24) | ((bArr[i + 1] & 255) << 16) | ((bArr[i + 2] & 255) << 8); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/k.java b/app/src/main/java/c/i/a/c/a2/k.java deleted file mode 100644 index 4fa518100a..0000000000 --- a/app/src/main/java/c/i/a/c/a2/k.java +++ /dev/null @@ -1,11 +0,0 @@ -package c.i.a.c.a2; - -import android.net.Uri; -import java.util.Map; -/* compiled from: ExtractorsFactory */ -public final /* synthetic */ class k { - /* JADX WARN: Incorrect args count in method signature: (Landroid/net/Uri;Ljava/util/Map;>;)[Lc/i/a/c/a2/h; */ - public static h[] a(l lVar, Uri uri, Map map) { - return lVar.a(); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/k0/a.java b/app/src/main/java/c/i/a/c/a2/k0/a.java deleted file mode 100644 index d3228a12f9..0000000000 --- a/app/src/main/java/c/i/a/c/a2/k0/a.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.k0; - -import android.net.Uri; -import c.i.a.c.a2.h; -import c.i.a.c.a2.k; -import c.i.a.c.a2.l; -import java.util.Map; -/* compiled from: lambda */ -public final /* synthetic */ class a implements l { - public static final /* synthetic */ a a = new a(); - - @Override // c.i.a.c.a2.l - public final h[] a() { - return new h[]{new b()}; - } - - @Override // c.i.a.c.a2.l - public /* synthetic */ h[] b(Uri uri, Map map) { - return k.a(this, uri, map); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/k0/b.java b/app/src/main/java/c/i/a/c/a2/k0/b.java deleted file mode 100644 index 7f93446d64..0000000000 --- a/app/src/main/java/c/i/a/c/a2/k0/b.java +++ /dev/null @@ -1,344 +0,0 @@ -package c.i.a.c.a2.k0; - -import android.util.Log; -import android.util.Pair; -import c.c.a.a0.d; -import c.i.a.c.a2.h; -import c.i.a.c.a2.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.s; -import c.i.a.c.a2.w; -import c.i.a.c.i2.f0; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import java.io.IOException; -import java.util.Objects; -/* compiled from: WavExtractor */ -public final class b implements h { - public j a; - public w b; - - /* renamed from: c reason: collision with root package name */ - public AbstractC0089b f799c; - public int d = -1; - public long e = -1; - - /* compiled from: WavExtractor */ - public static final class a implements AbstractC0089b { - public static final int[] a = {-1, -1, -1, -1, 2, 4, 6, 8, -1, -1, -1, -1, 2, 4, 6, 8}; - public static final int[] b = {7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 19, 21, 23, 25, 28, 31, 34, 37, 41, 45, 50, 55, 60, 66, 73, 80, 88, 97, 107, 118, 130, 143, 157, 173, 190, 209, 230, 253, 279, 307, 337, 371, 408, 449, 494, 544, 598, 658, 724, 796, 876, 963, 1060, 1166, 1282, 1411, 1552, 1707, 1878, 2066, 2272, 2499, 2749, 3024, 3327, 3660, 4026, 4428, 4871, 5358, 5894, 6484, 7132, 7845, 8630, 9493, 10442, 11487, 12635, 13899, 15289, 16818, 18500, 20350, 22385, 24623, 27086, 29794, 32767}; - - /* renamed from: c reason: collision with root package name */ - public final j f800c; - public final w d; - public final c e; - public final int f; - public final byte[] g; - public final c.i.a.c.i2.w h; - public final int i; - public final Format j; - public int k; - public long l; - public int m; - public long n; - - public a(j jVar, w wVar, c cVar) throws ParserException { - this.f800c = jVar; - this.d = wVar; - this.e = cVar; - int max = Math.max(1, cVar.f802c / 10); - this.i = max; - byte[] bArr = cVar.f; - int length = bArr.length; - byte b2 = bArr[0]; - byte b3 = bArr[1]; - int i = ((bArr[3] & 255) << 8) | (bArr[2] & 255); - this.f = i; - int i2 = cVar.b; - int i3 = (((cVar.d - (i2 * 4)) * 8) / (cVar.e * i2)) + 1; - if (i == i3) { - int f = f0.f(max, i); - this.g = new byte[(cVar.d * f)]; - this.h = new c.i.a.c.i2.w(i * 2 * i2 * f); - int i4 = cVar.f802c; - int i5 = ((cVar.d * i4) * 8) / i; - Format.b bVar = new Format.b(); - bVar.k = "audio/raw"; - bVar.f = i5; - bVar.g = i5; - bVar.l = max * 2 * i2; - bVar.f2702x = cVar.b; - bVar.f2703y = i4; - bVar.f2704z = 2; - this.j = bVar.a(); - return; - } - throw new ParserException(c.d.b.a.a.o("Expected frames per block: ", i3, "; got: ", i)); - } - - @Override // c.i.a.c.a2.k0.b.AbstractC0089b - public void a(long j) { - this.k = 0; - this.l = j; - this.m = 0; - this.n = 0; - } - - @Override // c.i.a.c.a2.k0.b.AbstractC0089b - public void b(int i, long j) { - this.f800c.a(new e(this.e, this.f, (long) i, j)); - this.d.e(this.j); - } - - /* JADX ERROR: JadxOverflowException in pass: RegionMakerVisitor - jadx.core.utils.exceptions.JadxOverflowException: Regions count limit reached - at jadx.core.utils.ErrorsCounter.addError(ErrorsCounter.java:57) - at jadx.core.utils.ErrorsCounter.error(ErrorsCounter.java:31) - at jadx.core.dex.attributes.nodes.NotificationAttrNode.addError(NotificationAttrNode.java:15) - */ - /* JADX WARNING: Removed duplicated region for block: B:41:0x0049 A[ADDED_TO_REGION, EDGE_INSN: B:41:0x0049->B:12:0x0049 ?: BREAK , SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:6:0x002b */ - @Override // c.i.a.c.a2.k0.b.AbstractC0089b - public boolean c(c.i.a.c.a2.i r19, long r20) throws java.io.IOException { - /* - // Method dump skipped, instructions count: 364 - */ - throw new UnsupportedOperationException("Method not decompiled: c.i.a.c.a2.k0.b.a.c(c.i.a.c.a2.i, long):boolean"); - } - - public final int d(int i) { - return i / (this.e.b * 2); - } - - public final void e(int i) { - long E = this.l + f0.E(this.n, 1000000, (long) this.e.f802c); - int i2 = i * 2 * this.e.b; - this.d.d(E, 1, i2, this.m - i2, null); - this.n += (long) i; - this.m -= i2; - } - } - - /* compiled from: WavExtractor */ - /* renamed from: c.i.a.c.a2.k0.b$b reason: collision with other inner class name */ - public interface AbstractC0089b { - void a(long j); - - void b(int i, long j) throws ParserException; - - boolean c(i iVar, long j) throws IOException; - } - - /* compiled from: WavExtractor */ - public static final class c implements AbstractC0089b { - public final j a; - public final w b; - - /* renamed from: c reason: collision with root package name */ - public final c f801c; - public final Format d; - public final int e; - public long f; - public int g; - public long h; - - public c(j jVar, w wVar, c cVar, String str, int i) throws ParserException { - this.a = jVar; - this.b = wVar; - this.f801c = cVar; - int i2 = (cVar.b * cVar.e) / 8; - if (cVar.d == i2) { - int i3 = cVar.f802c * i2; - int i4 = i3 * 8; - int max = Math.max(i2, i3 / 10); - this.e = max; - Format.b bVar = new Format.b(); - bVar.k = str; - bVar.f = i4; - bVar.g = i4; - bVar.l = max; - bVar.f2702x = cVar.b; - bVar.f2703y = cVar.f802c; - bVar.f2704z = i; - this.d = bVar.a(); - return; - } - StringBuilder P = c.d.b.a.a.P("Expected block size: ", i2, "; got: "); - P.append(cVar.d); - throw new ParserException(P.toString()); - } - - @Override // c.i.a.c.a2.k0.b.AbstractC0089b - public void a(long j) { - this.f = j; - this.g = 0; - this.h = 0; - } - - @Override // c.i.a.c.a2.k0.b.AbstractC0089b - public void b(int i, long j) { - this.a.a(new e(this.f801c, 1, (long) i, j)); - this.b.e(this.d); - } - - @Override // c.i.a.c.a2.k0.b.AbstractC0089b - public boolean c(i iVar, long j) throws IOException { - int i; - int i2; - int i3; - long j2 = j; - while (true) { - i = (j2 > 0 ? 1 : (j2 == 0 ? 0 : -1)); - if (i <= 0 || (i2 = this.g) >= (i3 = this.e)) { - break; - } - int b = this.b.b(iVar, (int) Math.min((long) (i3 - i2), j2), true); - if (b == -1) { - j2 = 0; - } else { - this.g += b; - j2 -= (long) b; - } - } - c cVar = this.f801c; - int i4 = cVar.d; - int i5 = this.g / i4; - if (i5 > 0) { - int i6 = i5 * i4; - int i7 = this.g - i6; - this.b.d(this.f + f0.E(this.h, 1000000, (long) cVar.f802c), 1, i6, i7, null); - this.h += (long) i5; - this.g = i7; - } - return i <= 0; - } - } - - static { - a aVar = a.a; - } - - @Override // c.i.a.c.a2.h - public boolean b(i iVar) throws IOException { - return d.x1(iVar) != null; - } - - /* JADX WARNING: Removed duplicated region for block: B:27:0x006a */ - /* JADX WARNING: Removed duplicated region for block: B:28:0x0079 */ - @Override // c.i.a.c.a2.h - public int e(i iVar, s sVar) throws IOException { - int i; - int i2; - d.H(this.b); - int i3 = f0.a; - boolean z2 = true; - if (this.f799c == null) { - c x1 = d.x1(iVar); - if (x1 != null) { - int i4 = x1.a; - if (i4 == 17) { - this.f799c = new a(this.a, this.b, x1); - } else if (i4 == 6) { - this.f799c = new c(this.a, this.b, x1, "audio/g711-alaw", -1); - } else if (i4 == 7) { - this.f799c = new c(this.a, this.b, x1, "audio/g711-mlaw", -1); - } else { - int i5 = x1.e; - if (i4 != 1) { - if (i4 == 3) { - i2 = i5 == 32 ? 4 : 0; - i = i2; - if (i != 0) { - } - } else if (i4 != 65534) { - i = 0; - if (i != 0) { - this.f799c = new c(this.a, this.b, x1, "audio/raw", i); - } else { - StringBuilder O = c.d.b.a.a.O("Unsupported WAV format type: "); - O.append(x1.a); - throw new ParserException(O.toString()); - } - } - } - i2 = f0.r(i5); - i = i2; - if (i != 0) { - } - } - } else { - throw new ParserException("Unsupported or unrecognized wav header."); - } - } - if (this.d == -1) { - Objects.requireNonNull(iVar); - iVar.k(); - c.i.a.c.i2.w wVar = new c.i.a.c.i2.w(8); - d a2 = d.a(iVar, wVar); - while (true) { - int i6 = a2.a; - if (i6 != 1684108385) { - if (!(i6 == 1380533830 || i6 == 1718449184)) { - StringBuilder O2 = c.d.b.a.a.O("Ignoring unknown WAV chunk: "); - O2.append(a2.a); - Log.w("WavHeaderReader", O2.toString()); - } - long j = a2.b + 8; - if (a2.a == 1380533830) { - j = 12; - } - if (j <= 2147483647L) { - iVar.l((int) j); - a2 = d.a(iVar, wVar); - } else { - StringBuilder O3 = c.d.b.a.a.O("Chunk is too large (~2GB+) to skip; id: "); - O3.append(a2.a); - throw new ParserException(O3.toString()); - } - } else { - iVar.l(8); - long position = iVar.getPosition(); - long j2 = a2.b + position; - long b = iVar.b(); - if (b != -1 && j2 > b) { - StringBuilder R = c.d.b.a.a.R("Data exceeds input length: ", j2, ", "); - R.append(b); - Log.w("WavHeaderReader", R.toString()); - j2 = b; - } - Pair create = Pair.create(Long.valueOf(position), Long.valueOf(j2)); - this.d = ((Long) create.first).intValue(); - long longValue = ((Long) create.second).longValue(); - this.e = longValue; - this.f799c.b(this.d, longValue); - } - } - } else if (iVar.getPosition() == 0) { - iVar.l(this.d); - } - if (this.e == -1) { - z2 = false; - } - d.D(z2); - return this.f799c.c(iVar, this.e - iVar.getPosition()) ? -1 : 0; - } - - @Override // c.i.a.c.a2.h - public void f(j jVar) { - this.a = jVar; - this.b = jVar.p(0, 1); - jVar.j(); - } - - @Override // c.i.a.c.a2.h - public void g(long j, long j2) { - AbstractC0089b bVar = this.f799c; - if (bVar != null) { - bVar.a(j2); - } - } - - @Override // c.i.a.c.a2.h - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/a2/k0/c.java b/app/src/main/java/c/i/a/c/a2/k0/c.java deleted file mode 100644 index 59a43b699e..0000000000 --- a/app/src/main/java/c/i/a/c/a2/k0/c.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.k0; -/* compiled from: WavHeader */ -public final class c { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f802c; - public final int d; - public final int e; - public final byte[] f; - - public c(int i, int i2, int i3, int i4, int i5, int i6, byte[] bArr) { - this.a = i; - this.b = i2; - this.f802c = i3; - this.d = i5; - this.e = i6; - this.f = bArr; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/k0/d.java b/app/src/main/java/c/i/a/c/a2/k0/d.java deleted file mode 100644 index 8dfc499d83..0000000000 --- a/app/src/main/java/c/i/a/c/a2/k0/d.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.a2.k0; - -import c.i.a.c.a2.i; -import c.i.a.c.i2.w; -import java.io.IOException; -/* compiled from: WavHeaderReader */ -public final class d { - public final int a; - public final long b; - - public d(int i, long j) { - this.a = i; - this.b = j; - } - - public static d a(i iVar, w wVar) throws IOException { - iVar.n(wVar.a, 0, 8); - wVar.D(0); - return new d(wVar.f(), wVar.j()); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/k0/e.java b/app/src/main/java/c/i/a/c/a2/k0/e.java deleted file mode 100644 index a4119e4da1..0000000000 --- a/app/src/main/java/c/i/a/c/a2/k0/e.java +++ /dev/null @@ -1,51 +0,0 @@ -package c.i.a.c.a2.k0; - -import c.i.a.c.a2.t; -import c.i.a.c.a2.u; -import c.i.a.c.i2.f0; -/* compiled from: WavSeekMap */ -public final class e implements t { - public final c a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final long f803c; - public final long d; - public final long e; - - public e(c cVar, int i, long j, long j2) { - this.a = cVar; - this.b = i; - this.f803c = j; - long j3 = (j2 - j) / ((long) cVar.d); - this.d = j3; - this.e = b(j3); - } - - public final long b(long j) { - return f0.E(j * ((long) this.b), 1000000, (long) this.a.f802c); - } - - @Override // c.i.a.c.a2.t - public boolean c() { - return true; - } - - @Override // c.i.a.c.a2.t - public t.a h(long j) { - long i = f0.i((((long) this.a.f802c) * j) / (((long) this.b) * 1000000), 0, this.d - 1); - long j2 = (((long) this.a.d) * i) + this.f803c; - long b = b(i); - u uVar = new u(b, j2); - if (b >= j || i == this.d - 1) { - return new t.a(uVar); - } - long j3 = i + 1; - return new t.a(uVar, new u(b(j3), (((long) this.a.d) * j3) + this.f803c)); - } - - @Override // c.i.a.c.a2.t - public long i() { - return this.e; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/l.java b/app/src/main/java/c/i/a/c/a2/l.java deleted file mode 100644 index dc93a56532..0000000000 --- a/app/src/main/java/c/i/a/c/a2/l.java +++ /dev/null @@ -1,11 +0,0 @@ -package c.i.a.c.a2; - -import android.net.Uri; -import java.util.List; -import java.util.Map; -/* compiled from: ExtractorsFactory */ -public interface l { - h[] a(); - - h[] b(Uri uri, Map> map); -} diff --git a/app/src/main/java/c/i/a/c/a2/m.java b/app/src/main/java/c/i/a/c/a2/m.java deleted file mode 100644 index bc8e4c5666..0000000000 --- a/app/src/main/java/c/i/a/c/a2/m.java +++ /dev/null @@ -1,118 +0,0 @@ -package c.i.a.c.a2; - -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -/* compiled from: FlacFrameReader */ -public final class m { - - /* compiled from: FlacFrameReader */ - public static final class a { - public long a; - } - - public static boolean a(w wVar, o oVar, boolean z2, a aVar) { - try { - long y2 = wVar.y(); - if (!z2) { - y2 *= (long) oVar.b; - } - aVar.a = y2; - return true; - } catch (NumberFormatException unused) { - return false; - } - } - - /* JADX WARNING: Code restructure failed: missing block: B:43:0x008e, code lost: - if (r7 == r18.f) goto L_0x00ac; - */ - /* JADX WARNING: Code restructure failed: missing block: B:47:0x009b, code lost: - if ((r17.s() * 1000) == r3) goto L_0x00ac; - */ - /* JADX WARNING: Code restructure failed: missing block: B:53:0x00aa, code lost: - if (r4 == r3) goto L_0x00ac; - */ - /* JADX WARNING: Removed duplicated region for block: B:57:0x00b1 */ - /* JADX WARNING: Removed duplicated region for block: B:71:? A[RETURN, SYNTHETIC] */ - public static boolean b(w wVar, o oVar, int i, a aVar) { - boolean z2; - long t = wVar.t(); - long j = t >>> 16; - if (j != ((long) i)) { - return false; - } - boolean z3 = (j & 1) == 1; - int i2 = (int) ((t >> 12) & 15); - int i3 = (int) ((t >> 8) & 15); - int i4 = (int) (15 & (t >> 4)); - int i5 = (int) ((t >> 1) & 7); - boolean z4 = (t & 1) == 1; - if (!(i4 > 7 ? !(i4 > 10 || oVar.g != 2) : i4 == oVar.g - 1)) { - return false; - } - if (!(i5 == 0 || i5 == oVar.i) || z4 || !a(wVar, oVar, z3, aVar)) { - return false; - } - int c2 = c(wVar, i2); - if (!(c2 != -1 && c2 <= oVar.b)) { - return false; - } - int i6 = oVar.e; - if (i3 != 0) { - if (i3 > 11) { - if (i3 != 12) { - if (i3 <= 14) { - int x2 = wVar.x(); - if (i3 == 14) { - x2 *= 10; - } - } - } - } - z2 = false; - if (z2) { - return false; - } - int s = wVar.s(); - int i7 = wVar.b; - byte[] bArr = wVar.a; - int i8 = i7 - 1; - int i9 = f0.a; - int i10 = 0; - for (int i11 = wVar.b; i11 < i8; i11++) { - i10 = f0.l[i10 ^ (bArr[i11] & 255)]; - } - return s == i10; - } - z2 = true; - if (z2) { - } - } - - public static int c(w wVar, int i) { - switch (i) { - case 1: - return 192; - case 2: - case 3: - case 4: - case 5: - return 576 << (i - 2); - case 6: - return wVar.s() + 1; - case 7: - return wVar.x() + 1; - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - return 256 << (i - 8); - default: - return -1; - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/n.java b/app/src/main/java/c/i/a/c/a2/n.java deleted file mode 100644 index e4f708b2a1..0000000000 --- a/app/src/main/java/c/i/a/c/a2/n.java +++ /dev/null @@ -1,51 +0,0 @@ -package c.i.a.c.a2; - -import c.c.a.a0.d; -import c.i.a.c.a2.o; -import c.i.a.c.a2.t; -import c.i.a.c.i2.f0; -/* compiled from: FlacSeekTableSeekMap */ -public final class n implements t { - public final o a; - public final long b; - - public n(o oVar, long j) { - this.a = oVar; - this.b = j; - } - - public final u b(long j, long j2) { - return new u((j * 1000000) / ((long) this.a.e), this.b + j2); - } - - @Override // c.i.a.c.a2.t - public boolean c() { - return true; - } - - @Override // c.i.a.c.a2.t - public t.a h(long j) { - d.H(this.a.k); - o oVar = this.a; - o.a aVar = oVar.k; - long[] jArr = aVar.a; - long[] jArr2 = aVar.b; - int e = f0.e(jArr, oVar.g(j), true, false); - long j2 = 0; - long j3 = e == -1 ? 0 : jArr[e]; - if (e != -1) { - j2 = jArr2[e]; - } - u b = b(j3, j2); - if (b.b == j || e == jArr.length - 1) { - return new t.a(b); - } - int i = e + 1; - return new t.a(b, b(jArr[i], jArr2[i])); - } - - @Override // c.i.a.c.a2.t - public long i() { - return this.a.d(); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/o.java b/app/src/main/java/c/i/a/c/a2/o.java deleted file mode 100644 index 62c799e796..0000000000 --- a/app/src/main/java/c/i/a/c/a2/o.java +++ /dev/null @@ -1,182 +0,0 @@ -package c.i.a.c.a2; - -import androidx.annotation.Nullable; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.v; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.metadata.flac.PictureFrame; -import com.google.android.exoplayer2.metadata.flac.VorbisComment; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -/* compiled from: FlacStreamMetadata */ -public final class o { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f804c; - public final int d; - public final int e; - public final int f; - public final int g; - public final int h; - public final int i; - public final long j; - @Nullable - public final a k; - @Nullable - public final Metadata l; - - /* compiled from: FlacStreamMetadata */ - public static class a { - public final long[] a; - public final long[] b; - - public a(long[] jArr, long[] jArr2) { - this.a = jArr; - this.b = jArr2; - } - } - - public o(int i, int i2, int i3, int i4, int i5, int i6, int i7, long j, @Nullable a aVar, @Nullable Metadata metadata) { - this.a = i; - this.b = i2; - this.f804c = i3; - this.d = i4; - this.e = i5; - this.f = h(i5); - this.g = i6; - this.h = i7; - this.i = c(i7); - this.j = j; - this.k = aVar; - this.l = metadata; - } - - public o(byte[] bArr, int i) { - v vVar = new v(bArr); - vVar.k(i * 8); - this.a = vVar.g(16); - this.b = vVar.g(16); - this.f804c = vVar.g(24); - this.d = vVar.g(24); - int g = vVar.g(20); - this.e = g; - this.f = h(g); - this.g = vVar.g(3) + 1; - int g2 = vVar.g(5) + 1; - this.h = g2; - this.i = c(g2); - this.j = (f0.L(vVar.g(4)) << 32) | f0.L(vVar.g(32)); - this.k = null; - this.l = null; - } - - @Nullable - public static Metadata a(List list, List list2) { - if (list.isEmpty() && list2.isEmpty()) { - return null; - } - ArrayList arrayList = new ArrayList(); - for (int i = 0; i < list.size(); i++) { - String str = list.get(i); - String[] H = f0.H(str, "="); - if (H.length != 2) { - c.d.b.a.a.k0("Failed to parse Vorbis comment: ", str, "FlacStreamMetadata"); - } else { - arrayList.add(new VorbisComment(H[0], H[1])); - } - } - arrayList.addAll(list2); - if (arrayList.isEmpty()) { - return null; - } - return new Metadata(arrayList); - } - - public static int c(int i) { - if (i == 8) { - return 1; - } - if (i == 12) { - return 2; - } - if (i == 16) { - return 4; - } - if (i != 20) { - return i != 24 ? -1 : 6; - } - return 5; - } - - public static int h(int i) { - switch (i) { - case 8000: - return 4; - case 16000: - return 5; - case 22050: - return 6; - case 24000: - return 7; - case 32000: - return 8; - case 44100: - return 9; - case 48000: - return 10; - case 88200: - return 1; - case 96000: - return 11; - case 176400: - return 2; - case 192000: - return 3; - default: - return -1; - } - } - - public o b(@Nullable a aVar) { - return new o(this.a, this.b, this.f804c, this.d, this.e, this.g, this.h, this.j, aVar, this.l); - } - - public long d() { - long j = this.j; - if (j == 0) { - return -9223372036854775807L; - } - return (j * 1000000) / ((long) this.e); - } - - public Format e(byte[] bArr, @Nullable Metadata metadata) { - bArr[4] = Byte.MIN_VALUE; - int i = this.d; - if (i <= 0) { - i = -1; - } - Metadata f = f(metadata); - Format.b bVar = new Format.b(); - bVar.k = "audio/flac"; - bVar.l = i; - bVar.f2702x = this.g; - bVar.f2703y = this.e; - bVar.m = Collections.singletonList(bArr); - bVar.i = f; - return bVar.a(); - } - - @Nullable - public Metadata f(@Nullable Metadata metadata) { - Metadata metadata2 = this.l; - return metadata2 == null ? metadata : metadata == null ? metadata2 : metadata2.a(metadata.i); - } - - public long g(long j) { - return f0.i((j * ((long) this.e)) / 1000000, 0, this.j - 1); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/p.java b/app/src/main/java/c/i/a/c/a2/p.java deleted file mode 100644 index 2d5810b793..0000000000 --- a/app/src/main/java/c/i/a/c/a2/p.java +++ /dev/null @@ -1,62 +0,0 @@ -package c.i.a.c.a2; - -import c.i.a.c.i2.f0; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.metadata.id3.CommentFrame; -import com.google.android.exoplayer2.metadata.id3.InternalFrame; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -/* compiled from: GaplessInfoHolder */ -public final class p { - public static final Pattern a = Pattern.compile("^ [0-9a-fA-F]{8} ([0-9a-fA-F]{8}) ([0-9a-fA-F]{8})"); - public int b = -1; - - /* renamed from: c reason: collision with root package name */ - public int f805c = -1; - - public final boolean a(String str) { - Matcher matcher = a.matcher(str); - if (!matcher.find()) { - return false; - } - try { - String group = matcher.group(1); - int i = f0.a; - int parseInt = Integer.parseInt(group, 16); - int parseInt2 = Integer.parseInt(matcher.group(2), 16); - if (parseInt <= 0 && parseInt2 <= 0) { - return false; - } - this.b = parseInt; - this.f805c = parseInt2; - return true; - } catch (NumberFormatException unused) { - return false; - } - } - - public boolean b(Metadata metadata) { - int i = 0; - while (true) { - Metadata.Entry[] entryArr = metadata.i; - if (i >= entryArr.length) { - return false; - } - Metadata.Entry entry = entryArr[i]; - if (entry instanceof CommentFrame) { - CommentFrame commentFrame = (CommentFrame) entry; - if ("iTunSMPB".equals(commentFrame.k) && a(commentFrame.l)) { - return true; - } - } else if (entry instanceof InternalFrame) { - InternalFrame internalFrame = (InternalFrame) entry; - if ("com.apple.iTunes".equals(internalFrame.j) && "iTunSMPB".equals(internalFrame.k) && a(internalFrame.l)) { - return true; - } - } else { - continue; - } - i++; - } - } -} diff --git a/app/src/main/java/c/i/a/c/a2/q.java b/app/src/main/java/c/i/a/c/a2/q.java deleted file mode 100644 index 7b0aec93e9..0000000000 --- a/app/src/main/java/c/i/a/c/a2/q.java +++ /dev/null @@ -1,43 +0,0 @@ -package c.i.a.c.a2; - -import androidx.annotation.Nullable; -import c.i.a.c.c2.k.b; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.metadata.Metadata; -import java.io.EOFException; -import java.io.IOException; -/* compiled from: Id3Peeker */ -public final class q { - public final w a = new w(10); - - @Nullable - public Metadata a(i iVar, @Nullable b.a aVar) throws IOException { - Metadata metadata = null; - int i = 0; - while (true) { - try { - iVar.n(this.a.a, 0, 10); - this.a.D(0); - if (this.a.u() != 4801587) { - break; - } - this.a.E(3); - int r2 = this.a.r(); - int i2 = r2 + 10; - if (metadata == null) { - byte[] bArr = new byte[i2]; - System.arraycopy(this.a.a, 0, bArr, 0, 10); - iVar.n(bArr, 10, r2); - metadata = new b(aVar).d(bArr, i2); - } else { - iVar.g(r2); - } - i += i2; - } catch (EOFException unused) { - } - } - iVar.k(); - iVar.g(i); - return metadata; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/r.java b/app/src/main/java/c/i/a/c/a2/r.java deleted file mode 100644 index d0e28d9771..0000000000 --- a/app/src/main/java/c/i/a/c/a2/r.java +++ /dev/null @@ -1,61 +0,0 @@ -package c.i.a.c.a2; - -import c.c.a.a0.d; -import c.i.a.c.a2.t; -import c.i.a.c.i2.f0; -/* compiled from: IndexSeekMap */ -public final class r implements t { - public final long[] a; - public final long[] b; - - /* renamed from: c reason: collision with root package name */ - public final long f806c; - public final boolean d; - - public r(long[] jArr, long[] jArr2, long j) { - d.k(jArr.length == jArr2.length); - int length = jArr2.length; - boolean z2 = length > 0; - this.d = z2; - if (!z2 || jArr2[0] <= 0) { - this.a = jArr; - this.b = jArr2; - } else { - int i = length + 1; - long[] jArr3 = new long[i]; - this.a = jArr3; - long[] jArr4 = new long[i]; - this.b = jArr4; - System.arraycopy(jArr, 0, jArr3, 1, length); - System.arraycopy(jArr2, 0, jArr4, 1, length); - } - this.f806c = j; - } - - @Override // c.i.a.c.a2.t - public boolean c() { - return this.d; - } - - @Override // c.i.a.c.a2.t - public t.a h(long j) { - if (!this.d) { - return new t.a(u.a); - } - int e = f0.e(this.b, j, true, true); - long[] jArr = this.b; - long j2 = jArr[e]; - long[] jArr2 = this.a; - u uVar = new u(j2, jArr2[e]); - if (j2 == j || e == jArr.length - 1) { - return new t.a(uVar); - } - int i = e + 1; - return new t.a(uVar, new u(jArr[i], jArr2[i])); - } - - @Override // c.i.a.c.a2.t - public long i() { - return this.f806c; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/s.java b/app/src/main/java/c/i/a/c/a2/s.java deleted file mode 100644 index c3c94d8dfc..0000000000 --- a/app/src/main/java/c/i/a/c/a2/s.java +++ /dev/null @@ -1,5 +0,0 @@ -package c.i.a.c.a2; -/* compiled from: PositionHolder */ -public final class s { - public long a; -} diff --git a/app/src/main/java/c/i/a/c/a2/t.java b/app/src/main/java/c/i/a/c/a2/t.java deleted file mode 100644 index dc588c949c..0000000000 --- a/app/src/main/java/c/i/a/c/a2/t.java +++ /dev/null @@ -1,83 +0,0 @@ -package c.i.a.c.a2; - -import androidx.annotation.Nullable; -/* compiled from: SeekMap */ -public interface t { - - /* compiled from: SeekMap */ - public static final class a { - public final u a; - public final u b; - - public a(u uVar) { - this.a = uVar; - this.b = uVar; - } - - public a(u uVar, u uVar2) { - this.a = uVar; - this.b = uVar2; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || a.class != obj.getClass()) { - return false; - } - a aVar = (a) obj; - return this.a.equals(aVar.a) && this.b.equals(aVar.b); - } - - public int hashCode() { - return this.b.hashCode() + (this.a.hashCode() * 31); - } - - public String toString() { - String str; - StringBuilder O = c.d.b.a.a.O("["); - O.append(this.a); - if (this.a.equals(this.b)) { - str = ""; - } else { - StringBuilder O2 = c.d.b.a.a.O(", "); - O2.append(this.b); - str = O2.toString(); - } - return c.d.b.a.a.G(O, str, "]"); - } - } - - /* compiled from: SeekMap */ - public static class b implements t { - public final long a; - public final a b; - - public b(long j, long j2) { - this.a = j; - this.b = new a(j2 == 0 ? u.a : new u(0, j2)); - } - - @Override // c.i.a.c.a2.t - public boolean c() { - return false; - } - - @Override // c.i.a.c.a2.t - public a h(long j) { - return this.b; - } - - @Override // c.i.a.c.a2.t - public long i() { - return this.a; - } - } - - boolean c(); - - a h(long j); - - long i(); -} diff --git a/app/src/main/java/c/i/a/c/a2/u.java b/app/src/main/java/c/i/a/c/a2/u.java deleted file mode 100644 index 6eefda6e91..0000000000 --- a/app/src/main/java/c/i/a/c/a2/u.java +++ /dev/null @@ -1,39 +0,0 @@ -package c.i.a.c.a2; - -import androidx.annotation.Nullable; -import c.d.b.a.a; -/* compiled from: SeekPoint */ -public final class u { - public static final u a = new u(0, 0); - public final long b; - - /* renamed from: c reason: collision with root package name */ - public final long f807c; - - public u(long j, long j2) { - this.b = j; - this.f807c = j2; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || u.class != obj.getClass()) { - return false; - } - u uVar = (u) obj; - return this.b == uVar.b && this.f807c == uVar.f807c; - } - - public int hashCode() { - return (((int) this.b) * 31) + ((int) this.f807c); - } - - public String toString() { - StringBuilder O = a.O("[timeUs="); - O.append(this.b); - O.append(", position="); - return a.A(O, this.f807c, "]"); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/v.java b/app/src/main/java/c/i/a/c/a2/v.java deleted file mode 100644 index d6bd33d84f..0000000000 --- a/app/src/main/java/c/i/a/c/a2/v.java +++ /dev/null @@ -1,15 +0,0 @@ -package c.i.a.c.a2; - -import c.i.a.c.h2.f; -import c.i.a.c.i2.w; -import java.io.IOException; -/* compiled from: TrackOutput */ -public final /* synthetic */ class v { - public static int a(w wVar, f fVar, int i, boolean z2) throws IOException { - return wVar.a(fVar, i, z2, 0); - } - - public static void b(w wVar, w wVar2, int i) { - wVar.f(wVar2, i, 0); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/w.java b/app/src/main/java/c/i/a/c/a2/w.java deleted file mode 100644 index 2dea1df68d..0000000000 --- a/app/src/main/java/c/i/a/c/a2/w.java +++ /dev/null @@ -1,54 +0,0 @@ -package c.i.a.c.a2; - -import androidx.annotation.Nullable; -import c.i.a.c.h2.f; -import com.google.android.exoplayer2.Format; -import java.io.IOException; -import java.util.Arrays; -/* compiled from: TrackOutput */ -public interface w { - - /* compiled from: TrackOutput */ - public static final class a { - public final int a; - public final byte[] b; - - /* renamed from: c reason: collision with root package name */ - public final int f808c; - public final int d; - - public a(int i, byte[] bArr, int i2, int i3) { - this.a = i; - this.b = bArr; - this.f808c = i2; - this.d = i3; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || a.class != obj.getClass()) { - return false; - } - a aVar = (a) obj; - return this.a == aVar.a && this.f808c == aVar.f808c && this.d == aVar.d && Arrays.equals(this.b, aVar.b); - } - - public int hashCode() { - return ((((Arrays.hashCode(this.b) + (this.a * 31)) * 31) + this.f808c) * 31) + this.d; - } - } - - int a(f fVar, int i, boolean z2, int i2) throws IOException; - - int b(f fVar, int i, boolean z2) throws IOException; - - void c(c.i.a.c.i2.w wVar, int i); - - void d(long j, int i, int i2, int i3, @Nullable a aVar); - - void e(Format format); - - void f(c.i.a.c.i2.w wVar, int i, int i2); -} diff --git a/app/src/main/java/c/i/a/c/a2/x.java b/app/src/main/java/c/i/a/c/a2/x.java deleted file mode 100644 index c086fb5dfc..0000000000 --- a/app/src/main/java/c/i/a/c/a2/x.java +++ /dev/null @@ -1,57 +0,0 @@ -package c.i.a.c.a2; - -import c.c.a.a0.d; -/* compiled from: VorbisBitArray */ -public final class x { - public final byte[] a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public int f809c; - public int d; - - public x(byte[] bArr) { - this.a = bArr; - this.b = bArr.length; - } - - public boolean a() { - boolean z2 = (((this.a[this.f809c] & 255) >> this.d) & 1) == 1; - c(1); - return z2; - } - - public int b(int i) { - int i2 = this.f809c; - int min = Math.min(i, 8 - this.d); - int i3 = i2 + 1; - int i4 = ((this.a[i2] & 255) >> this.d) & (255 >> (8 - min)); - while (min < i) { - i4 |= (this.a[i3] & 255) << min; - min += 8; - i3++; - } - int i5 = i4 & (-1 >>> (32 - i)); - c(i); - return i5; - } - - public void c(int i) { - int i2; - int i3 = i / 8; - int i4 = this.f809c + i3; - this.f809c = i4; - int i5 = (i - (i3 * 8)) + this.d; - this.d = i5; - boolean z2 = true; - if (i5 > 7) { - this.f809c = i4 + 1; - this.d = i5 - 8; - } - int i6 = this.f809c; - if (i6 < 0 || (i6 >= (i2 = this.b) && !(i6 == i2 && this.d == 0))) { - z2 = false; - } - d.D(z2); - } -} diff --git a/app/src/main/java/c/i/a/c/a2/y.java b/app/src/main/java/c/i/a/c/a2/y.java deleted file mode 100644 index 7f4eee4b72..0000000000 --- a/app/src/main/java/c/i/a/c/a2/y.java +++ /dev/null @@ -1,9 +0,0 @@ -package c.i.a.c.a2; -/* compiled from: VorbisUtil */ -public final class y { - public final String[] a; - - public y(String str, String[] strArr, int i) { - this.a = strArr; - } -} diff --git a/app/src/main/java/c/i/a/c/a2/z.java b/app/src/main/java/c/i/a/c/a2/z.java deleted file mode 100644 index 2aa7bd21c9..0000000000 --- a/app/src/main/java/c/i/a/c/a2/z.java +++ /dev/null @@ -1,9 +0,0 @@ -package c.i.a.c.a2; -/* compiled from: VorbisUtil */ -public final class z { - public final boolean a; - - public z(boolean z2, int i, int i2, int i3) { - this.a = z2; - } -} diff --git a/app/src/main/java/c/i/a/c/a3/a.java b/app/src/main/java/c/i/a/c/a3/a.java new file mode 100644 index 0000000000..d626d6566d --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/a.java @@ -0,0 +1,112 @@ +package c.i.a.c.a3; + +import android.util.Pair; +import c.i.a.c.a3.a0; +import c.i.a.c.a3.v; +import c.i.a.c.o2; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class a implements a0.b { + public final /* synthetic */ o a; + public final /* synthetic */ Object b; + + public /* synthetic */ a(o oVar, Object obj) { + this.a = oVar; + this.b = obj; + } + + /* JADX WARNING: Removed duplicated region for block: B:20:0x0097 */ + /* JADX WARNING: Removed duplicated region for block: B:21:0x00a3 */ + /* JADX WARNING: Removed duplicated region for block: B:24:0x00af */ + /* JADX WARNING: Removed duplicated region for block: B:33:0x00da */ + /* JADX WARNING: Removed duplicated region for block: B:35:? A[RETURN, SYNTHETIC] */ + @Override // c.i.a.c.a3.a0.b + public final void a(a0 a0Var, o2 o2Var) { + a0.a aVar; + long j; + v.a aVar2; + u uVar; + v.a aVar3; + o oVar = this.a; + Object obj = this.b; + Objects.requireNonNull(oVar); + v vVar = (v) oVar; + Void r1 = (Void) obj; + if (vVar.q) { + v.a aVar4 = vVar.n; + vVar.n = new v.a(o2Var, aVar4.l, aVar4.m); + u uVar2 = vVar.o; + if (uVar2 != null) { + vVar.v(uVar2.o); + } + } else if (o2Var.q()) { + if (vVar.r) { + v.a aVar5 = vVar.n; + aVar3 = new v.a(o2Var, aVar5.l, aVar5.m); + } else { + aVar3 = new v.a(o2Var, o2.c.i, v.a.k); + } + vVar.n = aVar3; + } else { + o2Var.n(0, vVar.l); + o2.c cVar = vVar.l; + long j2 = cVar.f845y; + Object obj2 = cVar.m; + u uVar3 = vVar.o; + if (uVar3 != null) { + long j3 = uVar3.j; + vVar.n.h(uVar3.i.a, vVar.m); + long j4 = vVar.m.m + j3; + if (j4 != vVar.n.n(0, vVar.l).f845y) { + j = j4; + Pair j5 = o2Var.j(vVar.l, vVar.m, 0, j); + Object obj3 = j5.first; + long longValue = ((Long) j5.second).longValue(); + if (!vVar.r) { + v.a aVar6 = vVar.n; + aVar2 = new v.a(o2Var, aVar6.l, aVar6.m); + } else { + aVar2 = new v.a(o2Var, obj2, obj3); + } + vVar.n = aVar2; + uVar = vVar.o; + if (uVar != null) { + vVar.v(longValue); + a0.a aVar7 = uVar.i; + Object obj4 = aVar7.a; + if (vVar.n.m != null && obj4.equals(v.a.k)) { + obj4 = vVar.n.m; + } + aVar = aVar7.b(obj4); + vVar.r = true; + vVar.q = true; + vVar.r(vVar.n); + if (aVar == null) { + u uVar4 = vVar.o; + Objects.requireNonNull(uVar4); + uVar4.d(aVar); + return; + } + return; + } + } + } + j = j2; + Pair j5 = o2Var.j(vVar.l, vVar.m, 0, j); + Object obj3 = j5.first; + long longValue = ((Long) j5.second).longValue(); + if (!vVar.r) { + } + vVar.n = aVar2; + uVar = vVar.o; + if (uVar != null) { + } + } + aVar = null; + vVar.r = true; + vVar.q = true; + vVar.r(vVar.n); + if (aVar == null) { + } + } +} diff --git a/app/src/main/java/c/i/a/c/a3/a0.java b/app/src/main/java/c/i/a/c/a3/a0.java new file mode 100644 index 0000000000..5c47a10322 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/a0.java @@ -0,0 +1,69 @@ +package c.i.a.c.a3; + +import android.os.Handler; +import androidx.annotation.Nullable; +import c.i.a.c.e3.o; +import c.i.a.c.o1; +import c.i.a.c.o2; +import c.i.a.c.w2.s; +import java.io.IOException; +/* compiled from: MediaSource */ +public interface a0 { + + /* compiled from: MediaSource */ + public static final class a extends y { + public a(y yVar) { + super(yVar); + } + + public a(Object obj) { + super(obj); + } + + public a(Object obj, int i, int i2, long j) { + super(obj, i, i2, j); + } + + public a(Object obj, long j, int i) { + super(obj, j, i); + } + + public a b(Object obj) { + return new a(this.a.equals(obj) ? this : new y(obj, this.b, this.f672c, this.d, this.e)); + } + } + + /* compiled from: MediaSource */ + public interface b { + void a(a0 a0Var, o2 o2Var); + } + + void a(b bVar); + + void b(Handler handler, b0 b0Var); + + void c(b0 b0Var); + + void d(b bVar); + + o1 e(); + + void f(Handler handler, s sVar); + + void g(s sVar); + + void h() throws IOException; + + boolean i(); + + void j(x xVar); + + @Nullable + o2 k(); + + void l(b bVar, @Nullable c.i.a.c.e3.a0 a0Var); + + void m(b bVar); + + x n(a aVar, o oVar, long j); +} diff --git a/app/src/main/java/c/i/a/c/a3/b.java b/app/src/main/java/c/i/a/c/a3/b.java new file mode 100644 index 0000000000..5dec77fa7d --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/b.java @@ -0,0 +1,28 @@ +package c.i.a.c.a3; + +import c.i.a.c.a3.b0; +import java.io.IOException; +/* compiled from: lambda */ +public final /* synthetic */ class b implements Runnable { + public final /* synthetic */ b0.a i; + public final /* synthetic */ b0 j; + public final /* synthetic */ t k; + public final /* synthetic */ w l; + public final /* synthetic */ IOException m; + public final /* synthetic */ boolean n; + + public /* synthetic */ b(b0.a aVar, b0 b0Var, t tVar, w wVar, IOException iOException, boolean z2) { + this.i = aVar; + this.j = b0Var; + this.k = tVar; + this.l = wVar; + this.m = iOException; + this.n = z2; + } + + @Override // java.lang.Runnable + public final void run() { + b0.a aVar = this.i; + this.j.g0(aVar.a, aVar.b, this.k, this.l, this.m, this.n); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/b0.java b/app/src/main/java/c/i/a/c/a3/b0.java new file mode 100644 index 0000000000..e354e26468 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/b0.java @@ -0,0 +1,113 @@ +package c.i.a.c.a3; + +import android.os.Handler; +import androidx.annotation.CheckResult; +import androidx.annotation.Nullable; +import c.i.a.c.a3.a0; +import c.i.a.c.f3.e0; +import java.io.IOException; +import java.util.Iterator; +import java.util.concurrent.CopyOnWriteArrayList; +/* compiled from: MediaSourceEventListener */ +public interface b0 { + + /* compiled from: MediaSourceEventListener */ + public static class a { + public final int a; + @Nullable + public final a0.a b; + + /* renamed from: c reason: collision with root package name */ + public final CopyOnWriteArrayList f649c; + public final long d; + + /* compiled from: MediaSourceEventListener */ + /* renamed from: c.i.a.c.a3.b0$a$a reason: collision with other inner class name */ + public static final class C0085a { + public Handler a; + public b0 b; + + public C0085a(Handler handler, b0 b0Var) { + this.a = handler; + this.b = b0Var; + } + } + + public a() { + this.f649c = new CopyOnWriteArrayList<>(); + this.a = 0; + this.b = null; + this.d = 0; + } + + public a(CopyOnWriteArrayList copyOnWriteArrayList, int i, @Nullable a0.a aVar, long j) { + this.f649c = copyOnWriteArrayList; + this.a = i; + this.b = aVar; + this.d = j; + } + + public final long a(long j) { + long M = e0.M(j); + if (M == -9223372036854775807L) { + return -9223372036854775807L; + } + return this.d + M; + } + + public void b(w wVar) { + Iterator it = this.f649c.iterator(); + while (it.hasNext()) { + C0085a next = it.next(); + e0.E(next.a, new d(this, next.b, wVar)); + } + } + + public void c(t tVar, w wVar) { + Iterator it = this.f649c.iterator(); + while (it.hasNext()) { + C0085a next = it.next(); + e0.E(next.a, new f(this, next.b, tVar, wVar)); + } + } + + public void d(t tVar, w wVar) { + Iterator it = this.f649c.iterator(); + while (it.hasNext()) { + C0085a next = it.next(); + e0.E(next.a, new c(this, next.b, tVar, wVar)); + } + } + + public void e(t tVar, w wVar, IOException iOException, boolean z2) { + Iterator it = this.f649c.iterator(); + while (it.hasNext()) { + C0085a next = it.next(); + e0.E(next.a, new b(this, next.b, tVar, wVar, iOException, z2)); + } + } + + public void f(t tVar, w wVar) { + Iterator it = this.f649c.iterator(); + while (it.hasNext()) { + C0085a next = it.next(); + e0.E(next.a, new e(this, next.b, tVar, wVar)); + } + } + + @CheckResult + public a g(int i, @Nullable a0.a aVar, long j) { + return new a(this.f649c, i, aVar, j); + } + } + + void X(int i, @Nullable a0.a aVar, t tVar, w wVar); + + void g0(int i, @Nullable a0.a aVar, t tVar, w wVar, IOException iOException, boolean z2); + + void o(int i, @Nullable a0.a aVar, w wVar); + + void q(int i, @Nullable a0.a aVar, t tVar, w wVar); + + void x(int i, @Nullable a0.a aVar, t tVar, w wVar); +} diff --git a/app/src/main/java/c/i/a/c/a3/c.java b/app/src/main/java/c/i/a/c/a3/c.java new file mode 100644 index 0000000000..4bdf8fc1f9 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/c.java @@ -0,0 +1,23 @@ +package c.i.a.c.a3; + +import c.i.a.c.a3.b0; +/* compiled from: lambda */ +public final /* synthetic */ class c implements Runnable { + public final /* synthetic */ b0.a i; + public final /* synthetic */ b0 j; + public final /* synthetic */ t k; + public final /* synthetic */ w l; + + public /* synthetic */ c(b0.a aVar, b0 b0Var, t tVar, w wVar) { + this.i = aVar; + this.j = b0Var; + this.k = tVar; + this.l = wVar; + } + + @Override // java.lang.Runnable + public final void run() { + b0.a aVar = this.i; + this.j.X(aVar.a, aVar.b, this.k, this.l); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/c0.java b/app/src/main/java/c/i/a/c/a3/c0.java new file mode 100644 index 0000000000..099baeb575 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/c0.java @@ -0,0 +1,4 @@ +package c.i.a.c.a3; +/* compiled from: MediaSourceFactory */ +public interface c0 { +} diff --git a/app/src/main/java/c/i/a/c/a3/d.java b/app/src/main/java/c/i/a/c/a3/d.java new file mode 100644 index 0000000000..90cf00f65c --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/d.java @@ -0,0 +1,21 @@ +package c.i.a.c.a3; + +import c.i.a.c.a3.b0; +/* compiled from: lambda */ +public final /* synthetic */ class d implements Runnable { + public final /* synthetic */ b0.a i; + public final /* synthetic */ b0 j; + public final /* synthetic */ w k; + + public /* synthetic */ d(b0.a aVar, b0 b0Var, w wVar) { + this.i = aVar; + this.j = b0Var; + this.k = wVar; + } + + @Override // java.lang.Runnable + public final void run() { + b0.a aVar = this.i; + this.j.o(aVar.a, aVar.b, this.k); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/d0.java b/app/src/main/java/c/i/a/c/a3/d0.java new file mode 100644 index 0000000000..b650fde75b --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/d0.java @@ -0,0 +1,8 @@ +package c.i.a.c.a3; +/* compiled from: ProgressiveMediaExtractor */ +public interface d0 { + + /* compiled from: ProgressiveMediaExtractor */ + public interface a { + } +} diff --git a/app/src/main/java/c/i/a/c/a3/e.java b/app/src/main/java/c/i/a/c/a3/e.java new file mode 100644 index 0000000000..f63408d674 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/e.java @@ -0,0 +1,23 @@ +package c.i.a.c.a3; + +import c.i.a.c.a3.b0; +/* compiled from: lambda */ +public final /* synthetic */ class e implements Runnable { + public final /* synthetic */ b0.a i; + public final /* synthetic */ b0 j; + public final /* synthetic */ t k; + public final /* synthetic */ w l; + + public /* synthetic */ e(b0.a aVar, b0 b0Var, t tVar, w wVar) { + this.i = aVar; + this.j = b0Var; + this.k = tVar; + this.l = wVar; + } + + @Override // java.lang.Runnable + public final void run() { + b0.a aVar = this.i; + this.j.x(aVar.a, aVar.b, this.k, this.l); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/e0.java b/app/src/main/java/c/i/a/c/a3/e0.java new file mode 100644 index 0000000000..a5be6ba01f --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/e0.java @@ -0,0 +1,1123 @@ +package c.i.a.c.a3; + +import android.net.Uri; +import android.os.Handler; +import android.os.Looper; +import android.os.SystemClock; +import androidx.annotation.Nullable; +import androidx.recyclerview.widget.RecyclerView; +import c.i.a.c.a3.b0; +import c.i.a.c.a3.h0; +import c.i.a.c.a3.s; +import c.i.a.c.a3.x; +import c.i.a.c.e3.h; +import c.i.a.c.e3.l; +import c.i.a.c.e3.n; +import c.i.a.c.e3.o; +import c.i.a.c.e3.w; +import c.i.a.c.e3.y; +import c.i.a.c.j1; +import c.i.a.c.j2; +import c.i.a.c.k1; +import c.i.a.c.w2.s; +import c.i.a.c.w2.u; +import c.i.a.c.x2.h0.f; +import c.i.a.c.x2.i; +import c.i.a.c.x2.j; +import c.i.a.c.x2.t; +import com.google.android.exoplayer2.ParserException; +import com.google.android.exoplayer2.decoder.DecoderInputBuffer; +import com.google.android.exoplayer2.drm.DrmSession; +import com.google.android.exoplayer2.metadata.Metadata; +import com.google.android.exoplayer2.metadata.icy.IcyHeaders; +import com.google.android.exoplayer2.upstream.DataSourceException; +import com.google.android.exoplayer2.upstream.HttpDataSource$CleartextNotPermittedException; +import com.google.android.exoplayer2.upstream.Loader; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.InterruptedIOException; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import org.checkerframework.checker.nullness.qual.EnsuresNonNull; +/* compiled from: ProgressiveMediaPeriod */ +public final class e0 implements x, j, Loader.b, Loader.f, h0.d { + public static final Map i; + public static final j1 j; + @Nullable + public x.a A; + @Nullable + public IcyHeaders B; + public h0[] C; + public d[] D; + public boolean E; + public boolean F; + public boolean G; + public e H; + public t I; + public long J; + public boolean K; + public int L; + public boolean M; + public boolean N; + public int O; + public long P; + public long Q; + public long R; + public boolean S; + public int T; + public boolean U; + public boolean V; + public final Uri k; + public final l l; + public final u m; + public final w n; + public final b0.a o; + public final s.a p; + public final b q; + public final o r; + @Nullable + + /* renamed from: s reason: collision with root package name */ + public final String f650s; + public final long t; + public final Loader u = new Loader("ProgressiveMediaPeriod"); + public final d0 v; + public final c.i.a.c.f3.j w; + + /* renamed from: x reason: collision with root package name */ + public final Runnable f651x; + + /* renamed from: y reason: collision with root package name */ + public final Runnable f652y; + + /* renamed from: z reason: collision with root package name */ + public final Handler f653z; + + /* compiled from: ProgressiveMediaPeriod */ + public final class a implements Loader.e, s.a { + public final long a = t.a.getAndIncrement(); + public final Uri b; + + /* renamed from: c reason: collision with root package name */ + public final y f654c; + public final d0 d; + public final j e; + public final c.i.a.c.f3.j f; + public final c.i.a.c.x2.s g = new c.i.a.c.x2.s(); + public volatile boolean h; + public boolean i = true; + public long j; + public n k = a(0); + public long l = -1; + @Nullable + public c.i.a.c.x2.w m; + public boolean n; + + public a(Uri uri, l lVar, d0 d0Var, j jVar, c.i.a.c.f3.j jVar2) { + this.b = uri; + this.f654c = new y(lVar); + this.d = d0Var; + this.e = jVar; + this.f = jVar2; + } + + public final n a(long j) { + Collections.emptyMap(); + Uri uri = this.b; + String str = e0.this.f650s; + Map map = e0.i; + if (uri != null) { + return new n(uri, 0, 1, null, map, j, -1, str, 6, null); + } + throw new IllegalStateException("The uri must be set."); + } + + public void b() throws IOException { + h hVar; + int i; + int i2 = 0; + while (i2 == 0 && !this.h) { + try { + long j = this.g.a; + n a = a(j); + this.k = a; + long a2 = this.f654c.a(a); + this.l = a2; + if (a2 != -1) { + this.l = a2 + j; + } + e0.this.B = IcyHeaders.a(this.f654c.j()); + y yVar = this.f654c; + IcyHeaders icyHeaders = e0.this.B; + if (icyHeaders == null || (i = icyHeaders.n) == -1) { + hVar = yVar; + } else { + hVar = new s(yVar, i, this); + c.i.a.c.x2.w B = e0.this.B(new d(0, true)); + this.m = B; + ((h0) B).e(e0.j); + } + long j2 = j; + ((m) this.d).b(hVar, this.b, this.f654c.j(), j, this.l, this.e); + if (e0.this.B != null) { + c.i.a.c.x2.h hVar2 = ((m) this.d).b; + if (hVar2 instanceof f) { + ((f) hVar2).f959s = true; + } + } + if (this.i) { + d0 d0Var = this.d; + long j3 = this.j; + c.i.a.c.x2.h hVar3 = ((m) d0Var).b; + Objects.requireNonNull(hVar3); + hVar3.g(j2, j3); + this.i = false; + } + while (true) { + while (i2 == 0 && !this.h) { + try { + c.i.a.c.f3.j jVar = this.f; + synchronized (jVar) { + while (!jVar.b) { + jVar.wait(); + } + } + d0 d0Var2 = this.d; + c.i.a.c.x2.s sVar = this.g; + m mVar = (m) d0Var2; + c.i.a.c.x2.h hVar4 = mVar.b; + Objects.requireNonNull(hVar4); + i iVar = mVar.f666c; + Objects.requireNonNull(iVar); + i2 = hVar4.e(iVar, sVar); + j2 = ((m) this.d).a(); + if (j2 > e0.this.t + j2) { + this.f.a(); + e0 e0Var = e0.this; + e0Var.f653z.post(e0Var.f652y); + } + } catch (InterruptedException unused) { + throw new InterruptedIOException(); + } + } + } + if (i2 == 1) { + i2 = 0; + } else if (((m) this.d).a() != -1) { + this.g.a = ((m) this.d).a(); + } + y yVar2 = this.f654c; + if (yVar2 != null) { + try { + yVar2.a.close(); + } catch (IOException unused2) { + } + } + } catch (Throwable th) { + if (!(i2 == 1 || ((m) this.d).a() == -1)) { + this.g.a = ((m) this.d).a(); + } + y yVar3 = this.f654c; + if (yVar3 != null) { + try { + yVar3.a.close(); + } catch (IOException unused3) { + } + } + throw th; + } + } + } + } + + /* compiled from: ProgressiveMediaPeriod */ + public interface b { + } + + /* compiled from: ProgressiveMediaPeriod */ + public final class c implements i0 { + public final int a; + + public c(int i) { + this.a = i; + } + + @Override // c.i.a.c.a3.i0 + public int a(k1 k1Var, DecoderInputBuffer decoderInputBuffer, int i) { + int i2; + e0 e0Var = e0.this; + int i3 = this.a; + if (e0Var.D()) { + return -3; + } + e0Var.y(i3); + h0 h0Var = e0Var.C[i3]; + boolean z2 = e0Var.U; + boolean z3 = false; + boolean z4 = (i & 2) != 0; + h0.b bVar = h0Var.b; + synchronized (h0Var) { + decoderInputBuffer.l = false; + i2 = -5; + if (!h0Var.o()) { + if (!z2) { + if (!h0Var.f660x) { + j1 j1Var = h0Var.B; + if (j1Var != null && (z4 || j1Var != h0Var.h)) { + h0Var.r(j1Var, k1Var); + } + } + } + decoderInputBuffer.i = 4; + i2 = -4; + } else { + j1 j1Var2 = h0Var.f658c.b(h0Var.k()).a; + if (z4 || j1Var2 != h0Var.h) { + h0Var.r(j1Var2, k1Var); + } else { + int l = h0Var.l(h0Var.t); + if (!h0Var.q(l)) { + decoderInputBuffer.l = true; + } else { + decoderInputBuffer.i = h0Var.n[l]; + long j = h0Var.o[l]; + decoderInputBuffer.m = j; + if (j < h0Var.u) { + decoderInputBuffer.j(Integer.MIN_VALUE); + } + bVar.a = h0Var.m[l]; + bVar.b = h0Var.l[l]; + bVar.f663c = h0Var.p[l]; + i2 = -4; + } + } + } + i2 = -3; + } + if (i2 == -4 && !decoderInputBuffer.n()) { + if ((i & 1) != 0) { + z3 = true; + } + if ((i & 4) == 0) { + if (z3) { + g0 g0Var = h0Var.a; + g0.f(g0Var.e, decoderInputBuffer, h0Var.b, g0Var.f656c); + } else { + g0 g0Var2 = h0Var.a; + g0Var2.e = g0.f(g0Var2.e, decoderInputBuffer, h0Var.b, g0Var2.f656c); + } + } + if (!z3) { + h0Var.t++; + } + } + if (i2 == -3) { + e0Var.z(i3); + } + return i2; + } + + @Override // c.i.a.c.a3.i0 + public void b() throws IOException { + e0 e0Var = e0.this; + h0 h0Var = e0Var.C[this.a]; + DrmSession drmSession = h0Var.i; + if (drmSession == null || drmSession.getState() != 1) { + e0Var.A(); + return; + } + DrmSession.DrmSessionException f = h0Var.i.f(); + Objects.requireNonNull(f); + throw f; + } + + @Override // c.i.a.c.a3.i0 + public int c(long j) { + int i; + e0 e0Var = e0.this; + int i2 = this.a; + boolean z2 = false; + if (e0Var.D()) { + return 0; + } + e0Var.y(i2); + h0 h0Var = e0Var.C[i2]; + boolean z3 = e0Var.U; + synchronized (h0Var) { + int l = h0Var.l(h0Var.t); + if (h0Var.o()) { + if (j >= h0Var.o[l]) { + if (j <= h0Var.w || !z3) { + i = h0Var.i(l, h0Var.q - h0Var.t, j, true); + if (i == -1) { + i = 0; + } + } else { + i = h0Var.q - h0Var.t; + } + } + } + i = 0; + } + synchronized (h0Var) { + if (i >= 0) { + if (h0Var.t + i <= h0Var.q) { + z2 = true; + } + } + c.c.a.a0.d.j(z2); + h0Var.t += i; + } + if (i == 0) { + e0Var.z(i2); + } + return i; + } + + @Override // c.i.a.c.a3.i0 + public boolean d() { + e0 e0Var = e0.this; + return !e0Var.D() && e0Var.C[this.a].p(e0Var.U); + } + } + + /* compiled from: ProgressiveMediaPeriod */ + public static final class d { + public final int a; + public final boolean b; + + public d(int i, boolean z2) { + this.a = i; + this.b = z2; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || d.class != obj.getClass()) { + return false; + } + d dVar = (d) obj; + return this.a == dVar.a && this.b == dVar.b; + } + + public int hashCode() { + return (this.a * 31) + (this.b ? 1 : 0); + } + } + + /* compiled from: ProgressiveMediaPeriod */ + public static final class e { + public final o0 a; + public final boolean[] b; + + /* renamed from: c reason: collision with root package name */ + public final boolean[] f655c; + public final boolean[] d; + + public e(o0 o0Var, boolean[] zArr) { + this.a = o0Var; + this.b = zArr; + int i = o0Var.j; + this.f655c = new boolean[i]; + this.d = new boolean[i]; + } + } + + static { + HashMap hashMap = new HashMap(); + hashMap.put("Icy-MetaData", "1"); + i = Collections.unmodifiableMap(hashMap); + j1.b bVar = new j1.b(); + bVar.a = "icy"; + bVar.k = "application/x-icy"; + j = bVar.a(); + } + + public e0(Uri uri, l lVar, d0 d0Var, u uVar, s.a aVar, w wVar, b0.a aVar2, b bVar, o oVar, @Nullable String str, int i2) { + this.k = uri; + this.l = lVar; + this.m = uVar; + this.p = aVar; + this.n = wVar; + this.o = aVar2; + this.q = bVar; + this.r = oVar; + this.f650s = str; + this.t = (long) i2; + this.v = d0Var; + this.w = new c.i.a.c.f3.j(); + this.f651x = new g(this); + this.f652y = new i(this); + this.f653z = c.i.a.c.f3.e0.j(); + this.D = new d[0]; + this.C = new h0[0]; + this.R = -9223372036854775807L; + this.P = -1; + this.J = -9223372036854775807L; + this.L = 1; + } + + public void A() throws IOException { + Loader loader = this.u; + int a2 = ((c.i.a.c.e3.s) this.n).a(this.L); + IOException iOException = loader.e; + if (iOException == null) { + Loader.d dVar = loader.d; + if (dVar != null) { + if (a2 == Integer.MIN_VALUE) { + a2 = dVar.i; + } + IOException iOException2 = dVar.m; + if (iOException2 != null && dVar.n > a2) { + throw iOException2; + } + return; + } + return; + } + throw iOException; + } + + public final c.i.a.c.x2.w B(d dVar) { + int length = this.C.length; + for (int i2 = 0; i2 < length; i2++) { + if (dVar.equals(this.D[i2])) { + return this.C[i2]; + } + } + o oVar = this.r; + Looper looper = this.f653z.getLooper(); + u uVar = this.m; + s.a aVar = this.p; + Objects.requireNonNull(looper); + Objects.requireNonNull(uVar); + Objects.requireNonNull(aVar); + h0 h0Var = new h0(oVar, looper, uVar, aVar); + h0Var.g = this; + int i3 = length + 1; + d[] dVarArr = (d[]) Arrays.copyOf(this.D, i3); + dVarArr[length] = dVar; + int i4 = c.i.a.c.f3.e0.a; + this.D = dVarArr; + h0[] h0VarArr = (h0[]) Arrays.copyOf(this.C, i3); + h0VarArr[length] = h0Var; + this.C = h0VarArr; + return h0Var; + } + + public final void C() { + a aVar = new a(this.k, this.l, this.v, this, this.w); + if (this.F) { + c.c.a.a0.d.D(w()); + long j2 = this.J; + if (j2 == -9223372036854775807L || this.R <= j2) { + t tVar = this.I; + Objects.requireNonNull(tVar); + long j3 = tVar.h(this.R).a.f1036c; + long j4 = this.R; + aVar.g.a = j3; + aVar.j = j4; + aVar.i = true; + aVar.n = false; + for (h0 h0Var : this.C) { + h0Var.u = this.R; + } + this.R = -9223372036854775807L; + } else { + this.U = true; + this.R = -9223372036854775807L; + return; + } + } + this.T = u(); + Loader loader = this.u; + int a2 = ((c.i.a.c.e3.s) this.n).a(this.L); + Objects.requireNonNull(loader); + Looper myLooper = Looper.myLooper(); + c.c.a.a0.d.H(myLooper); + loader.e = null; + long elapsedRealtime = SystemClock.elapsedRealtime(); + new Loader.d(myLooper, aVar, this, a2, elapsedRealtime).b(0); + n nVar = aVar.k; + b0.a aVar2 = this.o; + aVar2.f(new t(aVar.a, nVar, elapsedRealtime), new w(1, -1, null, 0, null, aVar2.a(aVar.j), aVar2.a(this.J))); + } + + public final boolean D() { + return this.N || w(); + } + + @Override // c.i.a.c.x2.j + public void a(t tVar) { + this.f653z.post(new h(this, tVar)); + } + + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [com.google.android.exoplayer2.upstream.Loader$e, long, long, boolean] */ + @Override // com.google.android.exoplayer2.upstream.Loader.b + public void b(a aVar, long j2, long j3, boolean z2) { + a aVar2 = aVar; + y yVar = aVar2.f654c; + t tVar = new t(aVar2.a, aVar2.k, yVar.f773c, yVar.d, j2, j3, yVar.b); + Objects.requireNonNull(this.n); + b0.a aVar3 = this.o; + aVar3.c(tVar, new w(1, -1, null, 0, null, aVar3.a(aVar2.j), aVar3.a(this.J))); + if (!z2) { + if (this.P == -1) { + this.P = aVar2.l; + } + for (h0 h0Var : this.C) { + h0Var.s(false); + } + if (this.O > 0) { + x.a aVar4 = this.A; + Objects.requireNonNull(aVar4); + aVar4.a(this); + } + } + } + + @Override // c.i.a.c.a3.x + public long c() { + if (this.O == 0) { + return Long.MIN_VALUE; + } + return q(); + } + + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [com.google.android.exoplayer2.upstream.Loader$e, long, long] */ + @Override // com.google.android.exoplayer2.upstream.Loader.b + public void d(a aVar, long j2, long j3) { + t tVar; + a aVar2 = aVar; + if (this.J == -9223372036854775807L && (tVar = this.I) != null) { + boolean c2 = tVar.c(); + long v = v(); + long j4 = v == Long.MIN_VALUE ? 0 : v + 10000; + this.J = j4; + ((f0) this.q).u(j4, c2, this.K); + } + y yVar = aVar2.f654c; + t tVar2 = new t(aVar2.a, aVar2.k, yVar.f773c, yVar.d, j2, j3, yVar.b); + Objects.requireNonNull(this.n); + b0.a aVar3 = this.o; + aVar3.d(tVar2, new w(1, -1, null, 0, null, aVar3.a(aVar2.j), aVar3.a(this.J))); + if (this.P == -1) { + this.P = aVar2.l; + } + this.U = true; + x.a aVar4 = this.A; + Objects.requireNonNull(aVar4); + aVar4.a(this); + } + + @Override // c.i.a.c.a3.x + public void e() throws IOException { + A(); + if (this.U && !this.F) { + throw ParserException.a("Loading finished before preparation is complete.", null); + } + } + + @Override // c.i.a.c.a3.x + public long f(long j2) { + boolean z2; + t(); + boolean[] zArr = this.H.b; + if (!this.I.c()) { + j2 = 0; + } + this.N = false; + this.Q = j2; + if (w()) { + this.R = j2; + return j2; + } + if (this.L != 7) { + int length = this.C.length; + int i2 = 0; + while (true) { + if (i2 >= length) { + z2 = true; + break; + } else if (this.C[i2].t(j2, false) || (!zArr[i2] && this.G)) { + i2++; + } + } + z2 = false; + if (z2) { + return j2; + } + } + this.S = false; + this.R = j2; + this.U = false; + if (this.u.b()) { + for (h0 h0Var : this.C) { + h0Var.h(); + } + Loader.d dVar = this.u.d; + c.c.a.a0.d.H(dVar); + dVar.a(false); + } else { + this.u.e = null; + for (h0 h0Var2 : this.C) { + h0Var2.s(false); + } + } + return j2; + } + + @Override // c.i.a.c.a3.x + public boolean g(long j2) { + if (!this.U) { + if (!(this.u.e != null) && !this.S && (!this.F || this.O != 0)) { + boolean b2 = this.w.b(); + if (this.u.b()) { + return b2; + } + C(); + return true; + } + } + return false; + } + + @Override // c.i.a.c.a3.x + public boolean h() { + boolean z2; + if (this.u.b()) { + c.i.a.c.f3.j jVar = this.w; + synchronized (jVar) { + z2 = jVar.b; + } + if (z2) { + return true; + } + } + return false; + } + + @Override // c.i.a.c.a3.x + public long i(long j2, j2 j2Var) { + t(); + if (!this.I.c()) { + return 0; + } + t.a h = this.I.h(j2); + long j3 = h.a.b; + long j4 = h.b.b; + long j5 = j2Var.f828c; + if (j5 == 0 && j2Var.d == 0) { + return j2; + } + long j6 = Long.MIN_VALUE; + int i2 = c.i.a.c.f3.e0.a; + long j7 = j2 - j5; + if (((j5 ^ j2) & (j2 ^ j7)) >= 0) { + j6 = j7; + } + long j8 = j2Var.d; + long j9 = RecyclerView.FOREVER_NS; + long j10 = j2 + j8; + if (((j8 ^ j10) & (j2 ^ j10)) >= 0) { + j9 = j10; + } + boolean z2 = false; + boolean z3 = j6 <= j3 && j3 <= j9; + if (j6 <= j4 && j4 <= j9) { + z2 = true; + } + if (!z3 || !z2) { + if (z3) { + return j3; + } + if (!z2) { + return j6; + } + } else if (Math.abs(j3 - j2) <= Math.abs(j4 - j2)) { + return j3; + } + return j4; + } + + @Override // c.i.a.c.x2.j + public void j() { + this.E = true; + this.f653z.post(this.f651x); + } + + @Override // c.i.a.c.a3.x + public long k() { + if (!this.N) { + return -9223372036854775807L; + } + if (!this.U && u() <= this.T) { + return -9223372036854775807L; + } + this.N = false; + return this.Q; + } + + @Override // c.i.a.c.a3.x + public void l(x.a aVar, long j2) { + this.A = aVar; + this.w.b(); + C(); + } + + @Override // c.i.a.c.a3.x + public long m(c.i.a.c.c3.j[] jVarArr, boolean[] zArr, i0[] i0VarArr, boolean[] zArr2, long j2) { + t(); + e eVar = this.H; + o0 o0Var = eVar.a; + boolean[] zArr3 = eVar.f655c; + int i2 = this.O; + for (int i3 = 0; i3 < jVarArr.length; i3++) { + if (i0VarArr[i3] != null && (jVarArr[i3] == null || !zArr[i3])) { + int i4 = ((c) i0VarArr[i3]).a; + c.c.a.a0.d.D(zArr3[i4]); + this.O--; + zArr3[i4] = false; + i0VarArr[i3] = null; + } + } + boolean z2 = !this.M ? j2 != 0 : i2 == 0; + for (int i5 = 0; i5 < jVarArr.length; i5++) { + if (i0VarArr[i5] == null && jVarArr[i5] != null) { + c.i.a.c.c3.j jVar = jVarArr[i5]; + c.c.a.a0.d.D(jVar.length() == 1); + c.c.a.a0.d.D(jVar.f(0) == 0); + int a2 = o0Var.a(jVar.a()); + c.c.a.a0.d.D(!zArr3[a2]); + this.O++; + zArr3[a2] = true; + i0VarArr[i5] = new c(a2); + zArr2[i5] = true; + if (!z2) { + h0 h0Var = this.C[a2]; + z2 = !h0Var.t(j2, true) && h0Var.k() != 0; + } + } + } + if (this.O == 0) { + this.S = false; + this.N = false; + if (this.u.b()) { + for (h0 h0Var2 : this.C) { + h0Var2.h(); + } + Loader.d dVar = this.u.d; + c.c.a.a0.d.H(dVar); + dVar.a(false); + } else { + for (h0 h0Var3 : this.C) { + h0Var3.s(false); + } + } + } else if (z2) { + j2 = f(j2); + for (int i6 = 0; i6 < i0VarArr.length; i6++) { + if (i0VarArr[i6] != null) { + zArr2[i6] = true; + } + } + } + this.M = true; + return j2; + } + + @Override // c.i.a.c.a3.x + public o0 n() { + t(); + return this.H.a; + } + + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [com.google.android.exoplayer2.upstream.Loader$e, long, long, java.io.IOException, int] */ + /* JADX WARNING: Removed duplicated region for block: B:25:0x007f */ + /* JADX WARNING: Removed duplicated region for block: B:26:0x0082 */ + /* JADX WARNING: Removed duplicated region for block: B:48:0x00d6 */ + /* JADX WARNING: Removed duplicated region for block: B:49:0x00db */ + /* JADX WARNING: Removed duplicated region for block: B:56:0x0107 */ + @Override // com.google.android.exoplayer2.upstream.Loader.b + public Loader.c o(a aVar, long j2, long j3, IOException iOException, int i2) { + long j4; + Loader.c cVar; + boolean z2; + boolean z3; + t tVar; + boolean z4; + a aVar2 = aVar; + if (this.P == -1) { + this.P = aVar2.l; + } + y yVar = aVar2.f654c; + t tVar2 = new t(aVar2.a, aVar2.k, yVar.f773c, yVar.d, j2, j3, yVar.b); + c.i.a.c.f3.e0.M(aVar2.j); + c.i.a.c.f3.e0.M(this.J); + c.i.a.c.e3.s sVar = (c.i.a.c.e3.s) this.n; + boolean z5 = false; + if (!(iOException instanceof ParserException) && !(iOException instanceof FileNotFoundException) && !(iOException instanceof HttpDataSource$CleartextNotPermittedException) && !(iOException instanceof Loader.UnexpectedLoaderException)) { + int i3 = DataSourceException.i; + Throwable th = iOException; + while (true) { + if (th == null) { + z4 = false; + break; + } + if ((th instanceof DataSourceException) && ((DataSourceException) th).reason == 2008) { + z4 = true; + break; + } + th = th.getCause(); + } + if (!z4) { + j4 = (long) Math.min((i2 - 1) * 1000, 5000); + if (j4 != -9223372036854775807L) { + cVar = Loader.b; + } else { + int u = u(); + boolean z6 = u > this.T; + if (this.P != -1 || ((tVar = this.I) != null && tVar.i() != -9223372036854775807L)) { + this.T = u; + } else if (!this.F || D()) { + this.N = this.F; + this.Q = 0; + this.T = 0; + for (h0 h0Var : this.C) { + h0Var.s(false); + } + aVar2.g.a = 0; + aVar2.j = 0; + aVar2.i = true; + aVar2.n = false; + } else { + this.S = true; + z3 = false; + cVar = !z3 ? Loader.a(z6, j4) : Loader.a; + } + z3 = true; + if (!z3) { + } + } + int i4 = cVar.a; + if (i4 == 0 || i4 == 1) { + z5 = true; + } + z2 = !z5; + b0.a aVar3 = this.o; + aVar3.e(tVar2, new w(1, -1, null, 0, null, aVar3.a(aVar2.j), aVar3.a(this.J)), iOException, z2); + if (z2) { + Objects.requireNonNull(this.n); + } + return cVar; + } + } + j4 = -9223372036854775807L; + if (j4 != -9223372036854775807L) { + } + int i4 = cVar.a; + z5 = true; + z2 = !z5; + b0.a aVar3 = this.o; + aVar3.e(tVar2, new w(1, -1, null, 0, null, aVar3.a(aVar2.j), aVar3.a(this.J)), iOException, z2); + if (z2) { + } + return cVar; + } + + @Override // c.i.a.c.x2.j + public c.i.a.c.x2.w p(int i2, int i3) { + return B(new d(i2, false)); + } + + @Override // c.i.a.c.a3.x + public long q() { + long j2; + boolean z2; + long j3; + t(); + boolean[] zArr = this.H.b; + if (this.U) { + return Long.MIN_VALUE; + } + if (w()) { + return this.R; + } + if (this.G) { + int length = this.C.length; + j2 = Long.MAX_VALUE; + for (int i2 = 0; i2 < length; i2++) { + if (zArr[i2]) { + h0 h0Var = this.C[i2]; + synchronized (h0Var) { + z2 = h0Var.f660x; + } + if (!z2) { + h0 h0Var2 = this.C[i2]; + synchronized (h0Var2) { + j3 = h0Var2.w; + } + j2 = Math.min(j2, j3); + } else { + continue; + } + } + } + } else { + j2 = Long.MAX_VALUE; + } + if (j2 == RecyclerView.FOREVER_NS) { + j2 = v(); + } + return j2 == Long.MIN_VALUE ? this.Q : j2; + } + + @Override // c.i.a.c.a3.x + public void r(long j2, boolean z2) { + long j3; + int i2; + t(); + if (!w()) { + boolean[] zArr = this.H.f655c; + int length = this.C.length; + for (int i3 = 0; i3 < length; i3++) { + h0 h0Var = this.C[i3]; + boolean z3 = zArr[i3]; + g0 g0Var = h0Var.a; + synchronized (h0Var) { + int i4 = h0Var.q; + j3 = -1; + if (i4 != 0) { + long[] jArr = h0Var.o; + int i5 = h0Var.f659s; + if (j2 >= jArr[i5]) { + int i6 = h0Var.i(i5, (!z3 || (i2 = h0Var.t) == i4) ? i4 : i2 + 1, j2, z2); + if (i6 != -1) { + j3 = h0Var.g(i6); + } + } + } + } + g0Var.a(j3); + } + } + } + + @Override // c.i.a.c.a3.x + public void s(long j2) { + } + + @EnsuresNonNull({"trackState", "seekMap"}) + public final void t() { + c.c.a.a0.d.D(this.F); + Objects.requireNonNull(this.H); + Objects.requireNonNull(this.I); + } + + public final int u() { + int i2 = 0; + for (h0 h0Var : this.C) { + i2 += h0Var.n(); + } + return i2; + } + + public final long v() { + long j2; + h0[] h0VarArr = this.C; + long j3 = Long.MIN_VALUE; + for (h0 h0Var : h0VarArr) { + synchronized (h0Var) { + j2 = h0Var.w; + } + j3 = Math.max(j3, j2); + } + return j3; + } + + public final boolean w() { + return this.R != -9223372036854775807L; + } + + public final void x() { + if (!(this.V || this.F || !this.E || this.I == null)) { + for (h0 h0Var : this.C) { + if (h0Var.m() == null) { + return; + } + } + this.w.a(); + int length = this.C.length; + n0[] n0VarArr = new n0[length]; + boolean[] zArr = new boolean[length]; + for (int i2 = 0; i2 < length; i2++) { + j1 m = this.C[i2].m(); + Objects.requireNonNull(m); + String str = m.v; + boolean h = c.i.a.c.f3.t.h(str); + boolean z2 = h || c.i.a.c.f3.t.j(str); + zArr[i2] = z2; + this.G = z2 | this.G; + IcyHeaders icyHeaders = this.B; + if (icyHeaders != null) { + if (h || this.D[i2].b) { + Metadata metadata = m.t; + Metadata metadata2 = metadata == null ? new Metadata(icyHeaders) : metadata.a(icyHeaders); + j1.b a2 = m.a(); + a2.i = metadata2; + m = a2.a(); + } + if (h && m.p == -1 && m.q == -1 && icyHeaders.i != -1) { + j1.b a3 = m.a(); + a3.f = icyHeaders.i; + m = a3.a(); + } + } + int d2 = this.m.d(m); + j1.b a4 = m.a(); + a4.D = d2; + n0VarArr[i2] = new n0(a4.a()); + } + this.H = new e(new o0(n0VarArr), zArr); + this.F = true; + x.a aVar = this.A; + Objects.requireNonNull(aVar); + aVar.b(this); + } + } + + public final void y(int i2) { + t(); + e eVar = this.H; + boolean[] zArr = eVar.d; + if (!zArr[i2]) { + j1 j1Var = eVar.a.k[i2].k[0]; + b0.a aVar = this.o; + aVar.b(new w(1, c.i.a.c.f3.t.g(j1Var.v), j1Var, 0, null, aVar.a(this.Q), -9223372036854775807L)); + zArr[i2] = true; + } + } + + public final void z(int i2) { + t(); + boolean[] zArr = this.H.b; + if (this.S && zArr[i2] && !this.C[i2].p(false)) { + this.R = 0; + this.S = false; + this.N = true; + this.Q = 0; + this.T = 0; + for (h0 h0Var : this.C) { + h0Var.s(false); + } + x.a aVar = this.A; + Objects.requireNonNull(aVar); + aVar.a(this); + } + } +} diff --git a/app/src/main/java/c/i/a/c/a3/f.java b/app/src/main/java/c/i/a/c/a3/f.java new file mode 100644 index 0000000000..6d4da0cfc8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/f.java @@ -0,0 +1,23 @@ +package c.i.a.c.a3; + +import c.i.a.c.a3.b0; +/* compiled from: lambda */ +public final /* synthetic */ class f implements Runnable { + public final /* synthetic */ b0.a i; + public final /* synthetic */ b0 j; + public final /* synthetic */ t k; + public final /* synthetic */ w l; + + public /* synthetic */ f(b0.a aVar, b0 b0Var, t tVar, w wVar) { + this.i = aVar; + this.j = b0Var; + this.k = tVar; + this.l = wVar; + } + + @Override // java.lang.Runnable + public final void run() { + b0.a aVar = this.i; + this.j.q(aVar.a, aVar.b, this.k, this.l); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/f0.java b/app/src/main/java/c/i/a/c/a3/f0.java new file mode 100644 index 0000000000..cae1ccfa7e --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/f0.java @@ -0,0 +1,144 @@ +package c.i.a.c.a3; + +import androidx.annotation.Nullable; +import c.i.a.c.a3.a0; +import c.i.a.c.a3.d0; +import c.i.a.c.a3.e0; +import c.i.a.c.e3.a0; +import c.i.a.c.e3.l; +import c.i.a.c.e3.o; +import c.i.a.c.e3.w; +import c.i.a.c.o1; +import c.i.a.c.o2; +import c.i.a.c.w2.u; +import com.google.android.exoplayer2.drm.DrmSession; +import com.google.android.exoplayer2.upstream.Loader; +import java.util.Objects; +/* compiled from: ProgressiveMediaSource */ +public final class f0 extends l implements e0.b { + public final o1 g; + public final o1.h h; + public final l.a i; + public final d0.a j; + public final u k; + public final w l; + public final int m; + public boolean n = true; + public long o = -9223372036854775807L; + public boolean p; + public boolean q; + @Nullable + public a0 r; + + /* compiled from: ProgressiveMediaSource */ + public class a extends r { + public a(o2 o2Var) { + super(o2Var); + } + + @Override // c.i.a.c.o2 + public o2.b g(int i, o2.b bVar, boolean z2) { + this.j.g(i, bVar, z2); + bVar.n = true; + return bVar; + } + + @Override // c.i.a.c.o2 + public o2.c o(int i, o2.c cVar, long j) { + this.j.o(i, cVar, j); + cVar.f844x = true; + return cVar; + } + } + + public f0(o1 o1Var, l.a aVar, d0.a aVar2, u uVar, w wVar, int i, a aVar3) { + o1.h hVar = o1Var.k; + Objects.requireNonNull(hVar); + this.h = hVar; + this.g = o1Var; + this.i = aVar; + this.j = aVar2; + this.k = uVar; + this.l = wVar; + this.m = i; + } + + @Override // c.i.a.c.a3.a0 + public o1 e() { + return this.g; + } + + @Override // c.i.a.c.a3.a0 + public void h() { + } + + @Override // c.i.a.c.a3.a0 + public void j(x xVar) { + e0 e0Var = (e0) xVar; + if (e0Var.F) { + h0[] h0VarArr = e0Var.C; + for (h0 h0Var : h0VarArr) { + h0Var.h(); + DrmSession drmSession = h0Var.i; + if (drmSession != null) { + drmSession.b(h0Var.e); + h0Var.i = null; + h0Var.h = null; + } + } + } + Loader loader = e0Var.u; + Loader.d dVar = loader.d; + if (dVar != null) { + dVar.a(true); + } + loader.f2364c.execute(new Loader.g(e0Var)); + loader.f2364c.shutdown(); + e0Var.f653z.removeCallbacksAndMessages(null); + e0Var.A = null; + e0Var.V = true; + } + + @Override // c.i.a.c.a3.a0 + public x n(a0.a aVar, o oVar, long j) { + l a2 = this.i.a(); + c.i.a.c.e3.a0 a0Var = this.r; + if (a0Var != null) { + a2.d(a0Var); + } + return new e0(this.h.a, a2, new m(((j) this.j).a), this.k, this.d.g(0, aVar), this.l, this.f665c.g(0, aVar, 0), this, oVar, this.h.e, this.m); + } + + @Override // c.i.a.c.a3.l + public void q(@Nullable c.i.a.c.e3.a0 a0Var) { + this.r = a0Var; + this.k.a(); + t(); + } + + @Override // c.i.a.c.a3.l + public void s() { + this.k.release(); + } + + public final void t() { + o2 l0Var = new l0(this.o, this.p, false, this.q, null, this.g); + if (this.n) { + l0Var = new a(l0Var); + } + r(l0Var); + } + + public void u(long j, boolean z2, boolean z3) { + if (j == -9223372036854775807L) { + j = this.o; + } + if (this.n || this.o != j || this.p != z2 || this.q != z3) { + this.o = j; + this.p = z2; + this.q = z3; + this.n = false; + t(); + } + } +} diff --git a/app/src/main/java/c/i/a/c/a3/g.java b/app/src/main/java/c/i/a/c/a3/g.java new file mode 100644 index 0000000000..1777f69d2e --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/g.java @@ -0,0 +1,14 @@ +package c.i.a.c.a3; +/* compiled from: lambda */ +public final /* synthetic */ class g implements Runnable { + public final /* synthetic */ e0 i; + + public /* synthetic */ g(e0 e0Var) { + this.i = e0Var; + } + + @Override // java.lang.Runnable + public final void run() { + this.i.x(); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/g0.java b/app/src/main/java/c/i/a/c/a3/g0.java new file mode 100644 index 0000000000..8272b5b45b --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/g0.java @@ -0,0 +1,258 @@ +package c.i.a.c.a3; + +import android.media.MediaCodec; +import androidx.annotation.Nullable; +import c.i.a.c.a3.h0; +import c.i.a.c.e3.e; +import c.i.a.c.e3.o; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import c.i.a.c.v2.c; +import c.i.a.c.x2.w; +import com.google.android.exoplayer2.decoder.DecoderInputBuffer; +import java.nio.ByteBuffer; +import java.util.Arrays; +import java.util.Objects; +/* compiled from: SampleDataQueue */ +public class g0 { + public final o a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final x f656c = new x(32); + public a d; + public a e; + public a f; + public long g; + + /* compiled from: SampleDataQueue */ + public static final class a { + public final long a; + public final long b; + + /* renamed from: c reason: collision with root package name */ + public boolean f657c; + @Nullable + public e d; + @Nullable + public a e; + + public a(long j, int i) { + this.a = j; + this.b = j + ((long) i); + } + + public int a(long j) { + return ((int) (j - this.a)) + this.d.b; + } + } + + public g0(o oVar) { + this.a = oVar; + int i = oVar.b; + this.b = i; + a aVar = new a(0, i); + this.d = aVar; + this.e = aVar; + this.f = aVar; + } + + public static a d(a aVar, long j, ByteBuffer byteBuffer, int i) { + while (j >= aVar.b) { + aVar = aVar.e; + } + while (i > 0) { + int min = Math.min(i, (int) (aVar.b - j)); + byteBuffer.put(aVar.d.a, aVar.a(j), min); + i -= min; + j += (long) min; + if (j == aVar.b) { + aVar = aVar.e; + } + } + return aVar; + } + + public static a e(a aVar, long j, byte[] bArr, int i) { + while (j >= aVar.b) { + aVar = aVar.e; + } + int i2 = i; + while (i2 > 0) { + int min = Math.min(i2, (int) (aVar.b - j)); + System.arraycopy(aVar.d.a, aVar.a(j), bArr, i - i2, min); + i2 -= min; + j += (long) min; + if (j == aVar.b) { + aVar = aVar.e; + } + } + return aVar; + } + + public static a f(a aVar, DecoderInputBuffer decoderInputBuffer, h0.b bVar, x xVar) { + if (decoderInputBuffer.t()) { + long j = bVar.b; + int i = 1; + xVar.A(1); + a e = e(aVar, j, xVar.a, 1); + long j2 = j + 1; + byte b = xVar.a[0]; + boolean z2 = (b & 128) != 0; + int i2 = b & Byte.MAX_VALUE; + c cVar = decoderInputBuffer.j; + byte[] bArr = cVar.a; + if (bArr == null) { + cVar.a = new byte[16]; + } else { + Arrays.fill(bArr, (byte) 0); + } + aVar = e(e, j2, cVar.a, i2); + long j3 = j2 + ((long) i2); + if (z2) { + xVar.A(2); + aVar = e(aVar, j3, xVar.a, 2); + j3 += 2; + i = xVar.y(); + } + int[] iArr = cVar.d; + if (iArr == null || iArr.length < i) { + iArr = new int[i]; + } + int[] iArr2 = cVar.e; + if (iArr2 == null || iArr2.length < i) { + iArr2 = new int[i]; + } + if (z2) { + int i3 = i * 6; + xVar.A(i3); + aVar = e(aVar, j3, xVar.a, i3); + j3 += (long) i3; + xVar.E(0); + for (int i4 = 0; i4 < i; i4++) { + iArr[i4] = xVar.y(); + iArr2[i4] = xVar.w(); + } + } else { + iArr[0] = 0; + iArr2[0] = bVar.a - ((int) (j3 - bVar.b)); + } + w.a aVar2 = bVar.f663c; + int i5 = e0.a; + byte[] bArr2 = aVar2.b; + byte[] bArr3 = cVar.a; + int i6 = aVar2.a; + int i7 = aVar2.f1037c; + int i8 = aVar2.d; + cVar.f = i; + cVar.d = iArr; + cVar.e = iArr2; + cVar.b = bArr2; + cVar.a = bArr3; + cVar.f907c = i6; + cVar.g = i7; + cVar.h = i8; + MediaCodec.CryptoInfo cryptoInfo = cVar.i; + cryptoInfo.numSubSamples = i; + cryptoInfo.numBytesOfClearData = iArr; + cryptoInfo.numBytesOfEncryptedData = iArr2; + cryptoInfo.key = bArr2; + cryptoInfo.iv = bArr3; + cryptoInfo.mode = i6; + if (e0.a >= 24) { + c.b bVar2 = cVar.j; + Objects.requireNonNull(bVar2); + bVar2.b.set(i7, i8); + bVar2.a.setPattern(bVar2.b); + } + long j4 = bVar.b; + int i9 = (int) (j3 - j4); + bVar.b = j4 + ((long) i9); + bVar.a -= i9; + } + if (decoderInputBuffer.l()) { + xVar.A(4); + a e2 = e(aVar, bVar.b, xVar.a, 4); + int w = xVar.w(); + bVar.b += 4; + bVar.a -= 4; + decoderInputBuffer.r(w); + a d = d(e2, bVar.b, decoderInputBuffer.k, w); + bVar.b += (long) w; + int i10 = bVar.a - w; + bVar.a = i10; + ByteBuffer byteBuffer = decoderInputBuffer.n; + if (byteBuffer == null || byteBuffer.capacity() < i10) { + decoderInputBuffer.n = ByteBuffer.allocate(i10); + } else { + decoderInputBuffer.n.clear(); + } + return d(d, bVar.b, decoderInputBuffer.n, bVar.a); + } + decoderInputBuffer.r(bVar.a); + return d(aVar, bVar.b, decoderInputBuffer.k, bVar.a); + } + + public void a(long j) { + if (j != -1) { + while (true) { + a aVar = this.d; + if (j >= aVar.b) { + o oVar = this.a; + e eVar = aVar.d; + synchronized (oVar) { + e[] eVarArr = oVar.f764c; + eVarArr[0] = eVar; + oVar.a(eVarArr); + } + a aVar2 = this.d; + aVar2.d = null; + a aVar3 = aVar2.e; + aVar2.e = null; + this.d = aVar3; + } else if (this.e.a < aVar.a) { + this.e = aVar; + return; + } else { + return; + } + } + } + } + + public final void b(int i) { + long j = this.g + ((long) i); + this.g = j; + a aVar = this.f; + if (j == aVar.b) { + this.f = aVar.e; + } + } + + public final int c(int i) { + e eVar; + a aVar = this.f; + if (!aVar.f657c) { + o oVar = this.a; + synchronized (oVar) { + oVar.e++; + int i2 = oVar.f; + if (i2 > 0) { + e[] eVarArr = oVar.g; + int i3 = i2 - 1; + oVar.f = i3; + eVar = eVarArr[i3]; + Objects.requireNonNull(eVar); + oVar.g[oVar.f] = null; + } else { + eVar = new e(new byte[oVar.b], 0); + } + } + a aVar2 = new a(this.f.b, this.b); + aVar.d = eVar; + aVar.e = aVar2; + aVar.f657c = true; + } + return Math.min(i, (int) (this.f.b - this.g)); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/h.java b/app/src/main/java/c/i/a/c/a3/h.java new file mode 100644 index 0000000000..afb2a97b2a --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/h.java @@ -0,0 +1,32 @@ +package c.i.a.c.a3; + +import c.i.a.c.x2.t; +/* compiled from: lambda */ +public final /* synthetic */ class h implements Runnable { + public final /* synthetic */ e0 i; + public final /* synthetic */ t j; + + public /* synthetic */ h(e0 e0Var, t tVar) { + this.i = e0Var; + this.j = tVar; + } + + @Override // java.lang.Runnable + public final void run() { + e0 e0Var = this.i; + t tVar = this.j; + e0Var.I = e0Var.B == null ? tVar : new t.b(-9223372036854775807L, 0); + e0Var.J = tVar.i(); + int i = 1; + boolean z2 = e0Var.P == -1 && tVar.i() == -9223372036854775807L; + e0Var.K = z2; + if (z2) { + i = 7; + } + e0Var.L = i; + ((f0) e0Var.q).u(e0Var.J, tVar.c(), e0Var.K); + if (!e0Var.F) { + e0Var.x(); + } + } +} diff --git a/app/src/main/java/c/i/a/c/a3/h0.java b/app/src/main/java/c/i/a/c/a3/h0.java new file mode 100644 index 0000000000..4a9683a073 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/h0.java @@ -0,0 +1,507 @@ +package c.i.a.c.a3; + +import android.os.Looper; +import androidx.annotation.CallSuper; +import androidx.annotation.GuardedBy; +import androidx.annotation.Nullable; +import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; +import c.i.a.c.a3.g0; +import c.i.a.c.e3.e; +import c.i.a.c.e3.h; +import c.i.a.c.e3.o; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.t; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.k1; +import c.i.a.c.w2.m; +import c.i.a.c.w2.s; +import c.i.a.c.w2.u; +import c.i.a.c.x2.v; +import c.i.a.c.x2.w; +import com.google.android.exoplayer2.drm.DrmInitData; +import com.google.android.exoplayer2.drm.DrmSession; +import java.io.EOFException; +import java.io.IOException; +import java.util.Objects; +/* compiled from: SampleQueue */ +public class h0 implements w { + @Nullable + public j1 A; + @Nullable + public j1 B; + public boolean C; + public boolean D; + public final g0 a; + public final b b = new b(); + + /* renamed from: c reason: collision with root package name */ + public final m0 f658c = new m0<>(k.a); + @Nullable + public final u d; + @Nullable + public final s.a e; + @Nullable + public final Looper f; + @Nullable + public d g; + @Nullable + public j1 h; + @Nullable + public DrmSession i; + public int j = 1000; + public int[] k = new int[1000]; + public long[] l = new long[1000]; + public int[] m = new int[1000]; + public int[] n = new int[1000]; + public long[] o = new long[1000]; + public w.a[] p = new w.a[1000]; + public int q; + public int r; + + /* renamed from: s reason: collision with root package name */ + public int f659s; + public int t; + public long u = Long.MIN_VALUE; + public long v = Long.MIN_VALUE; + public long w = Long.MIN_VALUE; + + /* renamed from: x reason: collision with root package name */ + public boolean f660x; + + /* renamed from: y reason: collision with root package name */ + public boolean f661y = true; + + /* renamed from: z reason: collision with root package name */ + public boolean f662z = true; + + /* compiled from: SampleQueue */ + public static final class b { + public int a; + public long b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public w.a f663c; + } + + /* compiled from: SampleQueue */ + public static final class c { + public final j1 a; + public final u.b b; + + public c(j1 j1Var, u.b bVar, a aVar) { + this.a = j1Var; + this.b = bVar; + } + } + + /* compiled from: SampleQueue */ + public interface d { + } + + public h0(o oVar, @Nullable Looper looper, @Nullable u uVar, @Nullable s.a aVar) { + this.f = looper; + this.d = uVar; + this.e = aVar; + this.a = new g0(oVar); + } + + @Override // c.i.a.c.x2.w + public final int a(h hVar, int i, boolean z2, int i2) throws IOException { + g0 g0Var = this.a; + int c2 = g0Var.c(i); + g0.a aVar = g0Var.f; + int read = hVar.read(aVar.d.a, aVar.a(g0Var.g), c2); + if (read != -1) { + g0Var.b(read); + return read; + } else if (z2) { + return -1; + } else { + throw new EOFException(); + } + } + + @Override // c.i.a.c.x2.w + public /* synthetic */ int b(h hVar, int i, boolean z2) { + return v.a(this, hVar, i, z2); + } + + @Override // c.i.a.c.x2.w + public /* synthetic */ void c(x xVar, int i) { + v.b(this, xVar, i); + } + + @Override // c.i.a.c.x2.w + public void d(long j, int i, int i2, int i3, @Nullable w.a aVar) { + u.b bVar; + int i4 = i & 1; + boolean z2 = i4 != 0; + if (this.f661y) { + if (z2) { + this.f661y = false; + } else { + return; + } + } + long j2 = j + 0; + if (this.C) { + if (j2 >= this.u) { + if (i4 == 0) { + if (!this.D) { + String valueOf = String.valueOf(this.B); + c.d.b.a.a.f0(valueOf.length() + 50, "Overriding unexpected non-sync sample for format: ", valueOf, "SampleQueue"); + this.D = true; + } + i |= 1; + } + } else { + return; + } + } + long j3 = (this.a.g - ((long) i2)) - ((long) i3); + synchronized (this) { + int i5 = this.q; + if (i5 > 0) { + int l = l(i5 - 1); + c.c.a.a0.d.j(this.l[l] + ((long) this.m[l]) <= j3); + } + this.f660x = (536870912 & i) != 0; + this.w = Math.max(this.w, j2); + int l2 = l(this.q); + this.o[l2] = j2; + this.l[l2] = j3; + this.m[l2] = i2; + this.n[l2] = i; + this.p[l2] = aVar; + this.k[l2] = 0; + if ((this.f658c.b.size() == 0) || !this.f658c.c().a.equals(this.B)) { + u uVar = this.d; + if (uVar != null) { + Looper looper = this.f; + Objects.requireNonNull(looper); + bVar = uVar.b(looper, this.e, this.B); + } else { + bVar = m.b; + } + m0 m0Var = this.f658c; + int n = n(); + j1 j1Var = this.B; + Objects.requireNonNull(j1Var); + m0Var.a(n, new c(j1Var, bVar, null)); + } + int i6 = this.q + 1; + this.q = i6; + int i7 = this.j; + if (i6 == i7) { + int i8 = i7 + 1000; + int[] iArr = new int[i8]; + long[] jArr = new long[i8]; + long[] jArr2 = new long[i8]; + int[] iArr2 = new int[i8]; + int[] iArr3 = new int[i8]; + w.a[] aVarArr = new w.a[i8]; + int i9 = this.f659s; + int i10 = i7 - i9; + System.arraycopy(this.l, i9, jArr, 0, i10); + System.arraycopy(this.o, this.f659s, jArr2, 0, i10); + System.arraycopy(this.n, this.f659s, iArr2, 0, i10); + System.arraycopy(this.m, this.f659s, iArr3, 0, i10); + System.arraycopy(this.p, this.f659s, aVarArr, 0, i10); + System.arraycopy(this.k, this.f659s, iArr, 0, i10); + int i11 = this.f659s; + System.arraycopy(this.l, 0, jArr, i10, i11); + System.arraycopy(this.o, 0, jArr2, i10, i11); + System.arraycopy(this.n, 0, iArr2, i10, i11); + System.arraycopy(this.m, 0, iArr3, i10, i11); + System.arraycopy(this.p, 0, aVarArr, i10, i11); + System.arraycopy(this.k, 0, iArr, i10, i11); + this.l = jArr; + this.o = jArr2; + this.n = iArr2; + this.m = iArr3; + this.p = aVarArr; + this.k = iArr; + this.f659s = 0; + this.j = i8; + } + } + } + + @Override // c.i.a.c.x2.w + public final void e(j1 j1Var) { + boolean z2; + this.A = j1Var; + synchronized (this) { + z2 = false; + this.f662z = false; + if (!e0.a(j1Var, this.B)) { + if ((this.f658c.b.size() == 0) || !this.f658c.c().a.equals(j1Var)) { + this.B = j1Var; + } else { + this.B = this.f658c.c().a; + } + j1 j1Var2 = this.B; + this.C = t.a(j1Var2.v, j1Var2.f819s); + this.D = false; + z2 = true; + } + } + d dVar = this.g; + if (dVar != null && z2) { + e0 e0Var = (e0) dVar; + e0Var.f653z.post(e0Var.f651x); + } + } + + @Override // c.i.a.c.x2.w + public final void f(x xVar, int i, int i2) { + g0 g0Var = this.a; + Objects.requireNonNull(g0Var); + while (i > 0) { + int c2 = g0Var.c(i); + g0.a aVar = g0Var.f; + xVar.e(aVar.d.a, aVar.a(g0Var.g), c2); + i -= c2; + g0Var.b(c2); + } + } + + @GuardedBy("this") + public final long g(int i) { + this.v = Math.max(this.v, j(i)); + this.q -= i; + int i2 = this.r + i; + this.r = i2; + int i3 = this.f659s + i; + this.f659s = i3; + int i4 = this.j; + if (i3 >= i4) { + this.f659s = i3 - i4; + } + int i5 = this.t - i; + this.t = i5; + int i6 = 0; + if (i5 < 0) { + this.t = 0; + } + m0 m0Var = this.f658c; + while (i6 < m0Var.b.size() - 1) { + int i7 = i6 + 1; + if (i2 < m0Var.b.keyAt(i7)) { + break; + } + m0Var.f667c.accept(m0Var.b.valueAt(i6)); + m0Var.b.removeAt(i6); + int i8 = m0Var.a; + if (i8 > 0) { + m0Var.a = i8 - 1; + } + i6 = i7; + } + if (this.q != 0) { + return this.l[this.f659s]; + } + int i9 = this.f659s; + if (i9 == 0) { + i9 = this.j; + } + int i10 = i9 - 1; + return this.l[i10] + ((long) this.m[i10]); + } + + public final void h() { + long g; + g0 g0Var = this.a; + synchronized (this) { + int i = this.q; + g = i == 0 ? -1 : g(i); + } + g0Var.a(g); + } + + public final int i(int i, int i2, long j, boolean z2) { + int i3 = -1; + for (int i4 = 0; i4 < i2; i4++) { + long[] jArr = this.o; + if (jArr[i] > j) { + return i3; + } + if (!z2 || (this.n[i] & 1) != 0) { + if (jArr[i] == j) { + return i4; + } + i3 = i4; + } + i++; + if (i == this.j) { + i = 0; + } + } + return i3; + } + + public final long j(int i) { + long j = Long.MIN_VALUE; + if (i == 0) { + return Long.MIN_VALUE; + } + int l = l(i - 1); + for (int i2 = 0; i2 < i; i2++) { + j = Math.max(j, this.o[l]); + if ((this.n[l] & 1) != 0) { + break; + } + l--; + if (l == -1) { + l = this.j - 1; + } + } + return j; + } + + public final int k() { + return this.r + this.t; + } + + public final int l(int i) { + int i2 = this.f659s + i; + int i3 = this.j; + return i2 < i3 ? i2 : i2 - i3; + } + + @Nullable + public final synchronized j1 m() { + return this.f662z ? null : this.B; + } + + public final int n() { + return this.r + this.q; + } + + public final boolean o() { + return this.t != this.q; + } + + @CallSuper + public synchronized boolean p(boolean z2) { + j1 j1Var; + boolean z3 = true; + if (!o()) { + if (!z2 && !this.f660x && ((j1Var = this.B) == null || j1Var == this.h)) { + z3 = false; + } + return z3; + } else if (this.f658c.b(k()).a != this.h) { + return true; + } else { + return q(l(this.t)); + } + } + + public final boolean q(int i) { + DrmSession drmSession = this.i; + return drmSession == null || drmSession.getState() == 4 || ((this.n[i] & BasicMeasure.EXACTLY) == 0 && this.i.d()); + } + + public final void r(j1 j1Var, k1 k1Var) { + j1 j1Var2; + j1 j1Var3 = this.h; + boolean z2 = j1Var3 == null; + DrmInitData drmInitData = z2 ? null : j1Var3.f821y; + this.h = j1Var; + DrmInitData drmInitData2 = j1Var.f821y; + u uVar = this.d; + if (uVar != null) { + int d2 = uVar.d(j1Var); + j1.b a2 = j1Var.a(); + a2.D = d2; + j1Var2 = a2.a(); + } else { + j1Var2 = j1Var; + } + k1Var.b = j1Var2; + k1Var.a = this.i; + if (this.d != null) { + if (z2 || !e0.a(drmInitData, drmInitData2)) { + DrmSession drmSession = this.i; + u uVar2 = this.d; + Looper looper = this.f; + Objects.requireNonNull(looper); + DrmSession c2 = uVar2.c(looper, this.e, j1Var); + this.i = c2; + k1Var.a = c2; + if (drmSession != null) { + drmSession.b(this.e); + } + } + } + } + + @CallSuper + public void s(boolean z2) { + g0 g0Var = this.a; + g0.a aVar = g0Var.d; + if (aVar.f657c) { + g0.a aVar2 = g0Var.f; + int i = (((int) (aVar2.a - aVar.a)) / g0Var.b) + (aVar2.f657c ? 1 : 0); + e[] eVarArr = new e[i]; + int i2 = 0; + while (i2 < i) { + eVarArr[i2] = aVar.d; + aVar.d = null; + g0.a aVar3 = aVar.e; + aVar.e = null; + i2++; + aVar = aVar3; + } + g0Var.a.a(eVarArr); + } + g0.a aVar4 = new g0.a(0, g0Var.b); + g0Var.d = aVar4; + g0Var.e = aVar4; + g0Var.f = aVar4; + g0Var.g = 0; + g0Var.a.c(); + this.q = 0; + this.r = 0; + this.f659s = 0; + this.t = 0; + this.f661y = true; + this.u = Long.MIN_VALUE; + this.v = Long.MIN_VALUE; + this.w = Long.MIN_VALUE; + this.f660x = false; + m0 m0Var = this.f658c; + for (int i3 = 0; i3 < m0Var.b.size(); i3++) { + m0Var.f667c.accept(m0Var.b.valueAt(i3)); + } + m0Var.a = -1; + m0Var.b.clear(); + if (z2) { + this.A = null; + this.B = null; + this.f662z = true; + } + } + + public final synchronized boolean t(long j, boolean z2) { + synchronized (this) { + this.t = 0; + g0 g0Var = this.a; + g0Var.e = g0Var.d; + } + int l = l(0); + if (!o() || j < this.o[l] || (j > this.w && !z2)) { + return false; + } + int i = i(l, this.q - this.t, j, true); + if (i == -1) { + return false; + } + this.u = j; + this.t += i; + return true; + } +} diff --git a/app/src/main/java/c/i/a/c/a3/i.java b/app/src/main/java/c/i/a/c/a3/i.java new file mode 100644 index 0000000000..ac4f4545f0 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/i.java @@ -0,0 +1,22 @@ +package c.i.a.c.a3; + +import c.i.a.c.a3.x; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class i implements Runnable { + public final /* synthetic */ e0 i; + + public /* synthetic */ i(e0 e0Var) { + this.i = e0Var; + } + + @Override // java.lang.Runnable + public final void run() { + e0 e0Var = this.i; + if (!e0Var.V) { + x.a aVar = e0Var.A; + Objects.requireNonNull(aVar); + aVar.a(e0Var); + } + } +} diff --git a/app/src/main/java/c/i/a/c/a3/i0.java b/app/src/main/java/c/i/a/c/a3/i0.java new file mode 100644 index 0000000000..374c5d4c8b --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/i0.java @@ -0,0 +1,15 @@ +package c.i.a.c.a3; + +import c.i.a.c.k1; +import com.google.android.exoplayer2.decoder.DecoderInputBuffer; +import java.io.IOException; +/* compiled from: SampleStream */ +public interface i0 { + int a(k1 k1Var, DecoderInputBuffer decoderInputBuffer, int i); + + void b() throws IOException; + + int c(long j); + + boolean d(); +} diff --git a/app/src/main/java/c/i/a/c/a3/j.java b/app/src/main/java/c/i/a/c/a3/j.java new file mode 100644 index 0000000000..0daf1da202 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/j.java @@ -0,0 +1,12 @@ +package c.i.a.c.a3; + +import c.i.a.c.a3.d0; +import c.i.a.c.x2.l; +/* compiled from: lambda */ +public final /* synthetic */ class j implements d0.a { + public final /* synthetic */ l a; + + public /* synthetic */ j(l lVar) { + this.a = lVar; + } +} diff --git a/app/src/main/java/c/i/a/c/a3/j0.java b/app/src/main/java/c/i/a/c/a3/j0.java new file mode 100644 index 0000000000..17c9b3251e --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/j0.java @@ -0,0 +1,9 @@ +package c.i.a.c.a3; +/* compiled from: SequenceableLoader */ +public interface j0 { + + /* compiled from: SequenceableLoader */ + public interface a { + void a(T t); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/k.java b/app/src/main/java/c/i/a/c/a3/k.java new file mode 100644 index 0000000000..aef2717823 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/k.java @@ -0,0 +1,12 @@ +package c.i.a.c.a3; + +import c.i.a.c.a3.h0; +/* compiled from: lambda */ +public final /* synthetic */ class k implements c.i.a.c.f3.k { + public static final /* synthetic */ k a = new k(); + + @Override // c.i.a.c.f3.k + public final void accept(Object obj) { + ((h0.c) obj).b.release(); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/k0.java b/app/src/main/java/c/i/a/c/a3/k0.java new file mode 100644 index 0000000000..8f3f0fe802 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/k0.java @@ -0,0 +1,160 @@ +package c.i.a.c.a3; + +import java.util.Arrays; +import java.util.Random; +/* compiled from: ShuffleOrder */ +public interface k0 { + + /* compiled from: ShuffleOrder */ + public static class a implements k0 { + public final Random a; + public final int[] b; + + /* renamed from: c reason: collision with root package name */ + public final int[] f664c; + + /* JADX WARNING: Illegal instructions before constructor call */ + public a(int i, Random random) { + this(r0, random); + int[] iArr = new int[i]; + int i2 = 0; + while (i2 < i) { + int i3 = i2 + 1; + int nextInt = random.nextInt(i3); + iArr[i2] = iArr[nextInt]; + iArr[nextInt] = i2; + i2 = i3; + } + } + + public a(int[] iArr, Random random) { + this.b = iArr; + this.a = random; + this.f664c = new int[iArr.length]; + for (int i = 0; i < iArr.length; i++) { + this.f664c[iArr[i]] = i; + } + } + + @Override // c.i.a.c.a3.k0 + public k0 a(int i, int i2) { + int i3 = i2 - i; + int[] iArr = new int[(this.b.length - i3)]; + int i4 = 0; + int i5 = 0; + while (true) { + int[] iArr2 = this.b; + if (i4 >= iArr2.length) { + return new a(iArr, new Random(this.a.nextLong())); + } + if (iArr2[i4] < i || iArr2[i4] >= i2) { + iArr[i4 - i5] = iArr2[i4] >= i ? iArr2[i4] - i3 : iArr2[i4]; + } else { + i5++; + } + i4++; + } + } + + @Override // c.i.a.c.a3.k0 + public int b() { + return this.b.length; + } + + @Override // c.i.a.c.a3.k0 + public int c() { + int[] iArr = this.b; + if (iArr.length > 0) { + return iArr[0]; + } + return -1; + } + + @Override // c.i.a.c.a3.k0 + public int d(int i) { + int i2 = this.f664c[i] - 1; + if (i2 >= 0) { + return this.b[i2]; + } + return -1; + } + + @Override // c.i.a.c.a3.k0 + public int e(int i) { + int i2 = this.f664c[i] + 1; + int[] iArr = this.b; + if (i2 < iArr.length) { + return iArr[i2]; + } + return -1; + } + + @Override // c.i.a.c.a3.k0 + public k0 f(int i, int i2) { + int[] iArr = new int[i2]; + int[] iArr2 = new int[i2]; + int i3 = 0; + int i4 = 0; + while (i4 < i2) { + iArr[i4] = this.a.nextInt(this.b.length + 1); + int i5 = i4 + 1; + int nextInt = this.a.nextInt(i5); + iArr2[i4] = iArr2[nextInt]; + iArr2[nextInt] = i4 + i; + i4 = i5; + } + Arrays.sort(iArr); + int[] iArr3 = new int[(this.b.length + i2)]; + int i6 = 0; + int i7 = 0; + while (true) { + int[] iArr4 = this.b; + if (i3 >= iArr4.length + i2) { + return new a(iArr3, new Random(this.a.nextLong())); + } + if (i6 >= i2 || i7 != iArr[i6]) { + int i8 = i7 + 1; + iArr3[i3] = iArr4[i7]; + if (iArr3[i3] >= i) { + iArr3[i3] = iArr3[i3] + i2; + } + i7 = i8; + } else { + iArr3[i3] = iArr2[i6]; + i6++; + } + i3++; + } + } + + @Override // c.i.a.c.a3.k0 + public int g() { + int[] iArr = this.b; + if (iArr.length > 0) { + return iArr[iArr.length - 1]; + } + return -1; + } + + @Override // c.i.a.c.a3.k0 + public k0 h() { + return new a(0, new Random(this.a.nextLong())); + } + } + + k0 a(int i, int i2); + + int b(); + + int c(); + + int d(int i); + + int e(int i); + + k0 f(int i, int i2); + + int g(); + + k0 h(); +} diff --git a/app/src/main/java/c/i/a/c/a3/l.java b/app/src/main/java/c/i/a/c/a3/l.java new file mode 100644 index 0000000000..afb3763c10 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/l.java @@ -0,0 +1,142 @@ +package c.i.a.c.a3; + +import android.os.Handler; +import android.os.Looper; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.a3.a0; +import c.i.a.c.a3.b0; +import c.i.a.c.o2; +import c.i.a.c.w2.s; +import java.util.ArrayList; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Objects; +/* compiled from: BaseMediaSource */ +public abstract class l implements a0 { + public final ArrayList a = new ArrayList<>(1); + public final HashSet b = new HashSet<>(1); + + /* renamed from: c reason: collision with root package name */ + public final b0.a f665c = new b0.a(); + public final s.a d = new s.a(); + @Nullable + public Looper e; + @Nullable + public o2 f; + + @Override // c.i.a.c.a3.a0 + public final void a(a0.b bVar) { + this.a.remove(bVar); + if (this.a.isEmpty()) { + this.e = null; + this.f = null; + this.b.clear(); + s(); + return; + } + d(bVar); + } + + @Override // c.i.a.c.a3.a0 + public final void b(Handler handler, b0 b0Var) { + b0.a aVar = this.f665c; + Objects.requireNonNull(aVar); + aVar.f649c.add(new b0.a.C0085a(handler, b0Var)); + } + + @Override // c.i.a.c.a3.a0 + public final void c(b0 b0Var) { + b0.a aVar = this.f665c; + Iterator it = aVar.f649c.iterator(); + while (it.hasNext()) { + b0.a.C0085a next = it.next(); + if (next.b == b0Var) { + aVar.f649c.remove(next); + } + } + } + + @Override // c.i.a.c.a3.a0 + public final void d(a0.b bVar) { + boolean z2 = !this.b.isEmpty(); + this.b.remove(bVar); + if (z2 && this.b.isEmpty()) { + o(); + } + } + + @Override // c.i.a.c.a3.a0 + public final void f(Handler handler, s sVar) { + s.a aVar = this.d; + Objects.requireNonNull(aVar); + aVar.f917c.add(new s.a.C0094a(handler, sVar)); + } + + @Override // c.i.a.c.a3.a0 + public final void g(s sVar) { + s.a aVar = this.d; + Iterator it = aVar.f917c.iterator(); + while (it.hasNext()) { + s.a.C0094a next = it.next(); + if (next.b == sVar) { + aVar.f917c.remove(next); + } + } + } + + @Override // c.i.a.c.a3.a0 + public /* synthetic */ boolean i() { + return z.b(this); + } + + @Override // c.i.a.c.a3.a0 + public /* synthetic */ o2 k() { + return z.a(this); + } + + @Override // c.i.a.c.a3.a0 + public final void l(a0.b bVar, @Nullable c.i.a.c.e3.a0 a0Var) { + Looper myLooper = Looper.myLooper(); + Looper looper = this.e; + d.j(looper == null || looper == myLooper); + o2 o2Var = this.f; + this.a.add(bVar); + if (this.e == null) { + this.e = myLooper; + this.b.add(bVar); + q(a0Var); + } else if (o2Var != null) { + m(bVar); + bVar.a(this, o2Var); + } + } + + @Override // c.i.a.c.a3.a0 + public final void m(a0.b bVar) { + Objects.requireNonNull(this.e); + boolean isEmpty = this.b.isEmpty(); + this.b.add(bVar); + if (isEmpty) { + p(); + } + } + + public void o() { + } + + public void p() { + } + + public abstract void q(@Nullable c.i.a.c.e3.a0 a0Var); + + public final void r(o2 o2Var) { + this.f = o2Var; + Iterator it = this.a.iterator(); + while (it.hasNext()) { + it.next().a(this, o2Var); + } + } + + public abstract void s(); +} diff --git a/app/src/main/java/c/i/a/c/a3/l0.java b/app/src/main/java/c/i/a/c/a3/l0.java new file mode 100644 index 0000000000..be504d71fe --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/l0.java @@ -0,0 +1,89 @@ +package c.i.a.c.a3; + +import android.net.Uri; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.a3.p0.c; +import c.i.a.c.o1; +import c.i.a.c.o2; +import c.i.a.c.p1; +import c.i.b.b.h0; +import c.i.b.b.p; +import java.util.Collections; +import java.util.List; +import java.util.Objects; +/* compiled from: SinglePeriodTimeline */ +public final class l0 extends o2 { + public static final Object j = new Object(); + public final long k; + public final long l; + public final boolean m; + @Nullable + public final o1 n; + @Nullable + public final o1.g o; + + static { + o1.d.a aVar = new o1.d.a(); + o1.f.a aVar2 = new o1.f.a(null); + List emptyList = Collections.emptyList(); + p pVar = h0.k; + o1.g.a aVar3 = new o1.g.a(); + Uri uri = Uri.EMPTY; + d.D(aVar2.b == null || aVar2.a != null); + if (uri != null) { + new o1.i(uri, null, aVar2.a != null ? new o1.f(aVar2, null) : null, null, emptyList, null, pVar, null, null); + } + aVar.a(); + new o1.g(aVar3, null); + p1 p1Var = p1.i; + } + + public l0(long j2, boolean z2, boolean z3, boolean z4, @Nullable Object obj, o1 o1Var) { + o1.g gVar = z4 ? o1Var.l : null; + this.k = j2; + this.l = j2; + this.m = z2; + Objects.requireNonNull(o1Var); + this.n = o1Var; + this.o = gVar; + } + + @Override // c.i.a.c.o2 + public int b(Object obj) { + return j.equals(obj) ? 0 : -1; + } + + @Override // c.i.a.c.o2 + public o2.b g(int i, o2.b bVar, boolean z2) { + d.t(i, 0, 1); + Object obj = z2 ? j : null; + long j2 = this.k; + Objects.requireNonNull(bVar); + bVar.f(null, obj, 0, j2, 0, c.i, false); + return bVar; + } + + @Override // c.i.a.c.o2 + public int i() { + return 1; + } + + @Override // c.i.a.c.o2 + public Object m(int i) { + d.t(i, 0, 1); + return j; + } + + @Override // c.i.a.c.o2 + public o2.c o(int i, o2.c cVar, long j2) { + d.t(i, 0, 1); + cVar.e(o2.c.i, this.n, null, -9223372036854775807L, -9223372036854775807L, -9223372036854775807L, this.m, false, this.o, 0, this.l, 0, 0, 0); + return cVar; + } + + @Override // c.i.a.c.o2 + public int p() { + return 1; + } +} diff --git a/app/src/main/java/c/i/a/c/a3/m.java b/app/src/main/java/c/i/a/c/a3/m.java new file mode 100644 index 0000000000..8343cded5d --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/m.java @@ -0,0 +1,113 @@ +package c.i.a.c.a3; + +import android.net.Uri; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.d.b.a.a; +import c.i.a.c.f3.e0; +import c.i.a.c.x2.e; +import c.i.a.c.x2.h; +import c.i.a.c.x2.i; +import c.i.a.c.x2.j; +import c.i.a.c.x2.l; +import com.google.android.exoplayer2.source.UnrecognizedInputFormatException; +import java.io.EOFException; +import java.io.IOException; +import java.util.List; +import java.util.Map; +import java.util.Objects; +/* compiled from: BundledExtractorsAdapter */ +public final class m implements d0 { + public final l a; + @Nullable + public h b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public i f666c; + + public m(l lVar) { + this.a = lVar; + } + + public long a() { + i iVar = this.f666c; + if (iVar != null) { + return iVar.getPosition(); + } + return -1; + } + + /* JADX WARNING: Code restructure failed: missing block: B:17:0x003d, code lost: + if (r6.d != r11) goto L_0x005f; + */ + /* JADX WARNING: Code restructure failed: missing block: B:30:0x005c, code lost: + if (r6.d != r11) goto L_0x005f; + */ + /* JADX WARNING: Code restructure failed: missing block: B:31:0x005f, code lost: + r1 = false; + */ + public void b(c.i.a.c.e3.h hVar, Uri uri, Map> map, long j, long j2, j jVar) throws IOException { + e eVar = new e(hVar, j, j2); + this.f666c = eVar; + if (this.b == null) { + h[] b = this.a.b(uri, map); + boolean z2 = true; + if (b.length == 1) { + this.b = b[0]; + } else { + int length = b.length; + int i = 0; + while (true) { + if (i >= length) { + break; + } + h hVar2 = b[i]; + try { + if (hVar2.b(eVar)) { + this.b = hVar2; + d.D(true); + eVar.f = 0; + break; + } + if (this.b == null) { + } + boolean z3 = true; + d.D(z3); + eVar.f = 0; + i++; + } catch (EOFException unused) { + if (this.b == null) { + } + } catch (Throwable th) { + if (this.b == null && eVar.d != j) { + z2 = false; + } + d.D(z2); + eVar.f = 0; + throw th; + } + } + if (this.b == null) { + int i2 = e0.a; + StringBuilder sb = new StringBuilder(); + for (int i3 = 0; i3 < b.length; i3++) { + sb.append(b[i3].getClass().getSimpleName()); + if (i3 < b.length - 1) { + sb.append(", "); + } + } + String sb2 = sb.toString(); + StringBuilder sb3 = new StringBuilder(a.b(sb2, 58)); + sb3.append("None of the available extractors ("); + sb3.append(sb2); + sb3.append(") could read the stream."); + String sb4 = sb3.toString(); + Objects.requireNonNull(uri); + throw new UnrecognizedInputFormatException(sb4, uri); + } + } + this.b.f(jVar); + } + } +} diff --git a/app/src/main/java/c/i/a/c/a3/m0.java b/app/src/main/java/c/i/a/c/a3/m0.java new file mode 100644 index 0000000000..47b7127f21 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/m0.java @@ -0,0 +1,61 @@ +package c.i.a.c.a3; + +import android.util.SparseArray; +import c.c.a.a0.d; +import c.i.a.c.f3.k; +/* compiled from: SpannedData */ +public final class m0 { + public int a; + public final SparseArray b = new SparseArray<>(); + + /* renamed from: c reason: collision with root package name */ + public final k f667c; + + public m0(k kVar) { + this.f667c = kVar; + this.a = -1; + } + + public void a(int i, V v) { + boolean z2 = false; + if (this.a == -1) { + d.D(this.b.size() == 0); + this.a = 0; + } + if (this.b.size() > 0) { + SparseArray sparseArray = this.b; + int keyAt = sparseArray.keyAt(sparseArray.size() - 1); + if (i >= keyAt) { + z2 = true; + } + d.j(z2); + if (keyAt == i) { + SparseArray sparseArray2 = this.b; + this.f667c.accept(sparseArray2.valueAt(sparseArray2.size() - 1)); + } + } + this.b.append(i, v); + } + + public V b(int i) { + if (this.a == -1) { + this.a = 0; + } + while (true) { + int i2 = this.a; + if (i2 <= 0 || i >= this.b.keyAt(i2)) { + break; + } + this.a--; + } + while (this.a < this.b.size() - 1 && i >= this.b.keyAt(this.a + 1)) { + this.a++; + } + return this.b.valueAt(this.a); + } + + public V c() { + SparseArray sparseArray = this.b; + return sparseArray.valueAt(sparseArray.size() - 1); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/n.java b/app/src/main/java/c/i/a/c/a3/n.java new file mode 100644 index 0000000000..057ea33335 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/n.java @@ -0,0 +1,335 @@ +package c.i.a.c.a3; + +import androidx.annotation.Nullable; +import androidx.recyclerview.widget.RecyclerView; +import c.c.a.a0.d; +import c.i.a.c.a3.x; +import c.i.a.c.c3.j; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.t; +import c.i.a.c.j1; +import c.i.a.c.j2; +import c.i.a.c.k1; +import com.google.android.exoplayer2.decoder.DecoderInputBuffer; +import java.io.IOException; +import java.util.Objects; +/* compiled from: ClippingMediaPeriod */ +public final class n implements x, x.a { + public final x i; + @Nullable + public x.a j; + public a[] k = new a[0]; + public long l; + public long m; + public long n; + + /* compiled from: ClippingMediaPeriod */ + public final class a implements i0 { + public final i0 a; + public boolean b; + + public a(i0 i0Var) { + this.a = i0Var; + } + + @Override // c.i.a.c.a3.i0 + public int a(k1 k1Var, DecoderInputBuffer decoderInputBuffer, int i) { + if (n.this.d()) { + return -3; + } + if (this.b) { + decoderInputBuffer.i = 4; + return -4; + } + int a = this.a.a(k1Var, decoderInputBuffer, i); + if (a == -5) { + j1 j1Var = k1Var.b; + Objects.requireNonNull(j1Var); + int i2 = j1Var.L; + if (!(i2 == 0 && j1Var.M == 0)) { + n nVar = n.this; + int i3 = 0; + if (nVar.m != 0) { + i2 = 0; + } + if (nVar.n == Long.MIN_VALUE) { + i3 = j1Var.M; + } + j1.b a2 = j1Var.a(); + a2.A = i2; + a2.B = i3; + k1Var.b = a2.a(); + } + return -5; + } + n nVar2 = n.this; + long j = nVar2.n; + if (j == Long.MIN_VALUE || ((a != -4 || decoderInputBuffer.m < j) && (a != -3 || nVar2.q() != Long.MIN_VALUE || decoderInputBuffer.l))) { + return a; + } + decoderInputBuffer.p(); + decoderInputBuffer.i = 4; + this.b = true; + return -4; + } + + @Override // c.i.a.c.a3.i0 + public void b() throws IOException { + this.a.b(); + } + + @Override // c.i.a.c.a3.i0 + public int c(long j) { + if (n.this.d()) { + return -3; + } + return this.a.c(j); + } + + @Override // c.i.a.c.a3.i0 + public boolean d() { + return !n.this.d() && this.a.d(); + } + } + + public n(x xVar, boolean z2, long j, long j2) { + this.i = xVar; + this.l = z2 ? j : -9223372036854775807L; + this.m = j; + this.n = j2; + } + + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [c.i.a.c.a3.j0] */ + @Override // c.i.a.c.a3.j0.a + public void a(x xVar) { + x.a aVar = this.j; + Objects.requireNonNull(aVar); + aVar.a(this); + } + + @Override // c.i.a.c.a3.x.a + public void b(x xVar) { + x.a aVar = this.j; + Objects.requireNonNull(aVar); + aVar.b(this); + } + + @Override // c.i.a.c.a3.x + public long c() { + long c2 = this.i.c(); + if (c2 != Long.MIN_VALUE) { + long j = this.n; + if (j == Long.MIN_VALUE || c2 < j) { + return c2; + } + } + return Long.MIN_VALUE; + } + + public boolean d() { + return this.l != -9223372036854775807L; + } + + @Override // c.i.a.c.a3.x + public void e() throws IOException { + this.i.e(); + } + + /* JADX WARNING: Code restructure failed: missing block: B:13:0x0031, code lost: + if (r0 > r7) goto L_0x0034; + */ + @Override // c.i.a.c.a3.x + public long f(long j) { + this.l = -9223372036854775807L; + a[] aVarArr = this.k; + boolean z2 = false; + for (a aVar : aVarArr) { + if (aVar != null) { + aVar.b = false; + } + } + long f = this.i.f(j); + if (f != j) { + if (f >= this.m) { + long j2 = this.n; + if (j2 != Long.MIN_VALUE) { + } + } + d.D(z2); + return f; + } + z2 = true; + d.D(z2); + return f; + } + + @Override // c.i.a.c.a3.x + public boolean g(long j) { + return this.i.g(j); + } + + @Override // c.i.a.c.a3.x + public boolean h() { + return this.i.h(); + } + + @Override // c.i.a.c.a3.x + public long i(long j, j2 j2Var) { + long j2 = this.m; + if (j == j2) { + return j2; + } + long i = e0.i(j2Var.f828c, 0, j - j2); + long j3 = j2Var.d; + long j4 = this.n; + long i2 = e0.i(j3, 0, j4 == Long.MIN_VALUE ? RecyclerView.FOREVER_NS : j4 - j); + if (!(i == j2Var.f828c && i2 == j2Var.d)) { + j2Var = new j2(i, i2); + } + return this.i.i(j, j2Var); + } + + @Override // c.i.a.c.a3.x + public long k() { + if (d()) { + long j = this.l; + this.l = -9223372036854775807L; + long k = k(); + return k != -9223372036854775807L ? k : j; + } + long k2 = this.i.k(); + if (k2 == -9223372036854775807L) { + return -9223372036854775807L; + } + boolean z2 = true; + d.D(k2 >= this.m); + long j2 = this.n; + if (j2 != Long.MIN_VALUE && k2 > j2) { + z2 = false; + } + d.D(z2); + return k2; + } + + @Override // c.i.a.c.a3.x + public void l(x.a aVar, long j) { + this.j = aVar; + this.i.l(this, j); + } + + /* JADX WARNING: Code restructure failed: missing block: B:32:0x0085, code lost: + if (r1 > r5) goto L_0x0088; + */ + /* JADX WARNING: Removed duplicated region for block: B:23:0x0068 */ + /* JADX WARNING: Removed duplicated region for block: B:27:0x0075 */ + /* JADX WARNING: Removed duplicated region for block: B:37:0x008f */ + @Override // c.i.a.c.a3.x + public long m(j[] jVarArr, boolean[] zArr, i0[] i0VarArr, boolean[] zArr2, long j) { + long j2; + boolean z2; + this.k = new a[i0VarArr.length]; + i0[] i0VarArr2 = new i0[i0VarArr.length]; + int i = 0; + while (true) { + i0 i0Var = null; + if (i >= i0VarArr.length) { + break; + } + a[] aVarArr = this.k; + aVarArr[i] = (a) i0VarArr[i]; + if (aVarArr[i] != null) { + i0Var = aVarArr[i].a; + } + i0VarArr2[i] = i0Var; + i++; + } + long m = this.i.m(jVarArr, zArr, i0VarArr2, zArr2, j); + boolean z3 = true; + if (d()) { + long j3 = this.m; + if (j == j3) { + if (j3 != 0) { + int length = jVarArr.length; + int i2 = 0; + while (true) { + if (i2 >= length) { + break; + } + j jVar = jVarArr[i2]; + if (jVar != null) { + j1 h = jVar.h(); + if (!t.a(h.v, h.f819s)) { + z2 = true; + break; + } + } + i2++; + } + if (z2) { + j2 = m; + this.l = j2; + if (m != j) { + if (m >= this.m) { + long j4 = this.n; + if (j4 != Long.MIN_VALUE) { + } + } + z3 = false; + } + d.D(z3); + for (int i3 = 0; i3 < i0VarArr.length; i3++) { + if (i0VarArr2[i3] == null) { + this.k[i3] = null; + } else { + a[] aVarArr2 = this.k; + if (aVarArr2[i3] == null || aVarArr2[i3].a != i0VarArr2[i3]) { + aVarArr2[i3] = new a(i0VarArr2[i3]); + } + } + i0VarArr[i3] = this.k[i3]; + } + return m; + } + } + z2 = false; + if (z2) { + } + } + } + j2 = -9223372036854775807L; + this.l = j2; + if (m != j) { + } + d.D(z3); + while (i3 < i0VarArr.length) { + } + return m; + } + + @Override // c.i.a.c.a3.x + public o0 n() { + return this.i.n(); + } + + @Override // c.i.a.c.a3.x + public long q() { + long q = this.i.q(); + if (q != Long.MIN_VALUE) { + long j = this.n; + if (j == Long.MIN_VALUE || q < j) { + return q; + } + } + return Long.MIN_VALUE; + } + + @Override // c.i.a.c.a3.x + public void r(long j, boolean z2) { + this.i.r(j, z2); + } + + @Override // c.i.a.c.a3.x + public void s(long j) { + this.i.s(j); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/n0.java b/app/src/main/java/c/i/a/c/a3/n0.java new file mode 100644 index 0000000000..ad636ac01b --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/n0.java @@ -0,0 +1,73 @@ +package c.i.a.c.a3; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.d.b.a.a; +import c.i.a.c.f3.q; +import c.i.a.c.j1; +import c.i.a.c.w0; +import java.util.Arrays; +/* compiled from: TrackGroup */ +public final class n0 implements w0 { + public static final /* synthetic */ int i = 0; + public final int j; + public final j1[] k; + public int l; + + public n0(j1... j1VarArr) { + int i2 = 1; + d.j(j1VarArr.length > 0); + this.k = j1VarArr; + this.j = j1VarArr.length; + String str = j1VarArr[0].m; + str = (str == null || str.equals("und")) ? "" : str; + int i3 = j1VarArr[0].o | 16384; + while (true) { + j1[] j1VarArr2 = this.k; + if (i2 < j1VarArr2.length) { + String str2 = j1VarArr2[i2].m; + if (!str.equals((str2 == null || str2.equals("und")) ? "" : str2)) { + j1[] j1VarArr3 = this.k; + a("languages", j1VarArr3[0].m, j1VarArr3[i2].m, i2); + return; + } + j1[] j1VarArr4 = this.k; + if (i3 != (j1VarArr4[i2].o | 16384)) { + a("role flags", Integer.toBinaryString(j1VarArr4[0].o), Integer.toBinaryString(this.k[i2].o), i2); + return; + } + i2++; + } else { + return; + } + } + } + + public static void a(String str, @Nullable String str2, @Nullable String str3, int i2) { + StringBuilder Q = a.Q(a.b(str3, a.b(str2, str.length() + 78)), "Different ", str, " combined in one TrackGroup: '", str2); + Q.append("' (track 0) and '"); + Q.append(str3); + Q.append("' (track "); + Q.append(i2); + Q.append(")"); + q.b("TrackGroup", "", new IllegalStateException(Q.toString())); + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || n0.class != obj.getClass()) { + return false; + } + n0 n0Var = (n0) obj; + return this.j == n0Var.j && Arrays.equals(this.k, n0Var.k); + } + + public int hashCode() { + if (this.l == 0) { + this.l = 527 + Arrays.hashCode(this.k); + } + return this.l; + } +} diff --git a/app/src/main/java/c/i/a/c/a3/o.java b/app/src/main/java/c/i/a/c/a3/o.java new file mode 100644 index 0000000000..b635a390a6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/o.java @@ -0,0 +1,189 @@ +package c.i.a.c.a3; + +import android.os.Handler; +import androidx.annotation.CallSuper; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.a3.a0; +import c.i.a.c.a3.b0; +import c.i.a.c.a3.v; +import c.i.a.c.e3.a0; +import c.i.a.c.f3.e0; +import c.i.a.c.w2.s; +import java.io.IOException; +import java.util.HashMap; +import java.util.Objects; +/* compiled from: CompositeMediaSource */ +public abstract class o extends l { + public final HashMap> g = new HashMap<>(); + @Nullable + public Handler h; + @Nullable + public a0 i; + + /* compiled from: CompositeMediaSource */ + public final class a implements b0, s { + public final T i; + public b0.a j; + public s.a k; + + public a(T t) { + this.j = o.this.f665c.g(0, null, 0); + this.k = o.this.d.g(0, null); + this.i = t; + } + + @Override // c.i.a.c.w2.s + public void J(int i, @Nullable a0.a aVar) { + a(i, aVar); + this.k.b(); + } + + @Override // c.i.a.c.w2.s + public void S(int i, @Nullable a0.a aVar) { + a(i, aVar); + this.k.a(); + } + + @Override // c.i.a.c.a3.b0 + public void X(int i, @Nullable a0.a aVar, t tVar, w wVar) { + a(i, aVar); + this.j.d(tVar, b(wVar)); + } + + public final boolean a(int i, @Nullable a0.a aVar) { + a0.a aVar2; + if (aVar != null) { + o oVar = o.this; + T t = this.i; + v vVar = (v) oVar; + Objects.requireNonNull(vVar); + Object obj = aVar.a; + Object obj2 = vVar.n.m; + if (obj2 != null && obj2.equals(obj)) { + obj = v.a.k; + } + aVar2 = aVar.b(obj); + } else { + aVar2 = null; + } + Objects.requireNonNull(o.this); + b0.a aVar3 = this.j; + if (aVar3.a != i || !e0.a(aVar3.b, aVar2)) { + this.j = o.this.f665c.g(i, aVar2, 0); + } + s.a aVar4 = this.k; + if (aVar4.a == i && e0.a(aVar4.b, aVar2)) { + return true; + } + this.k = new s.a(o.this.d.f917c, i, aVar2); + return true; + } + + public final w b(w wVar) { + o oVar = o.this; + long j = wVar.f; + Objects.requireNonNull(oVar); + o oVar2 = o.this; + long j2 = wVar.g; + Objects.requireNonNull(oVar2); + return (j == wVar.f && j2 == wVar.g) ? wVar : new w(wVar.a, wVar.b, wVar.f671c, wVar.d, wVar.e, j, j2); + } + + @Override // c.i.a.c.w2.s + public void c0(int i, @Nullable a0.a aVar, int i2) { + a(i, aVar); + this.k.d(i2); + } + + @Override // c.i.a.c.w2.s + public void d0(int i, @Nullable a0.a aVar) { + a(i, aVar); + this.k.f(); + } + + @Override // c.i.a.c.a3.b0 + public void g0(int i, @Nullable a0.a aVar, t tVar, w wVar, IOException iOException, boolean z2) { + a(i, aVar); + this.j.e(tVar, b(wVar), iOException, z2); + } + + @Override // c.i.a.c.w2.s + public void i0(int i, @Nullable a0.a aVar) { + a(i, aVar); + this.k.c(); + } + + @Override // c.i.a.c.a3.b0 + public void o(int i, @Nullable a0.a aVar, w wVar) { + a(i, aVar); + this.j.b(b(wVar)); + } + + @Override // c.i.a.c.a3.b0 + public void q(int i, @Nullable a0.a aVar, t tVar, w wVar) { + a(i, aVar); + this.j.c(tVar, b(wVar)); + } + + @Override // c.i.a.c.w2.s + public void u(int i, @Nullable a0.a aVar, Exception exc) { + a(i, aVar); + this.k.e(exc); + } + + @Override // c.i.a.c.a3.b0 + public void x(int i, @Nullable a0.a aVar, t tVar, w wVar) { + a(i, aVar); + this.j.f(tVar, b(wVar)); + } + } + + /* compiled from: CompositeMediaSource */ + public static final class b { + public final a0 a; + public final a0.b b; + + /* renamed from: c reason: collision with root package name */ + public final o.a f669c; + + public b(a0 a0Var, a0.b bVar, o.a aVar) { + this.a = a0Var; + this.b = bVar; + this.f669c = aVar; + } + } + + @Override // c.i.a.c.a3.l + @CallSuper + public void o() { + for (b bVar : this.g.values()) { + bVar.a.d(bVar.b); + } + } + + @Override // c.i.a.c.a3.l + @CallSuper + public void p() { + for (b bVar : this.g.values()) { + bVar.a.m(bVar.b); + } + } + + public final void t(T t, a0 a0Var) { + d.j(!this.g.containsKey(null)); + a0.b aVar = new a(this, null); + a aVar2 = new a(null); + this.g.put(null, new b<>(a0Var, aVar, aVar2)); + Handler handler = this.h; + Objects.requireNonNull(handler); + a0Var.b(handler, aVar2); + Handler handler2 = this.h; + Objects.requireNonNull(handler2); + a0Var.f(handler2, aVar2); + a0Var.l(aVar, this.i); + if (!(!this.b.isEmpty())) { + a0Var.d(aVar); + } + } +} diff --git a/app/src/main/java/c/i/a/c/a3/o0.java b/app/src/main/java/c/i/a/c/a3/o0.java new file mode 100644 index 0000000000..3e5ca5c64b --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/o0.java @@ -0,0 +1,44 @@ +package c.i.a.c.a3; + +import androidx.annotation.Nullable; +import c.i.a.c.w0; +import java.util.Arrays; +/* compiled from: TrackGroupArray */ +public final class o0 implements w0 { + public static final o0 i = new o0(new n0[0]); + public final int j; + public final n0[] k; + public int l; + + public o0(n0... n0VarArr) { + this.k = n0VarArr; + this.j = n0VarArr.length; + } + + public int a(n0 n0Var) { + for (int i2 = 0; i2 < this.j; i2++) { + if (this.k[i2] == n0Var) { + return i2; + } + } + return -1; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || o0.class != obj.getClass()) { + return false; + } + o0 o0Var = (o0) obj; + return this.j == o0Var.j && Arrays.equals(this.k, o0Var.k); + } + + public int hashCode() { + if (this.l == 0) { + this.l = Arrays.hashCode(this.k); + } + return this.l; + } +} diff --git a/app/src/main/java/c/i/a/c/a3/p.java b/app/src/main/java/c/i/a/c/a3/p.java new file mode 100644 index 0000000000..52e09fa1b4 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/p.java @@ -0,0 +1,17 @@ +package c.i.a.c.a3; + +import android.content.Context; +import c.i.a.c.e3.u; +import c.i.a.c.x2.l; +import java.util.HashMap; +import java.util.HashSet; +/* compiled from: DefaultMediaSourceFactory */ +public final class p implements c0 { + public p(Context context, l lVar) { + new u(); + context.getApplicationContext(); + new HashMap(); + new HashSet(); + new HashMap(); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/p0/a.java b/app/src/main/java/c/i/a/c/a3/p0/a.java new file mode 100644 index 0000000000..39510007a1 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/p0/a.java @@ -0,0 +1,26 @@ +package c.i.a.c.a3.p0; + +import android.net.Uri; +import android.os.Bundle; +import c.i.a.c.a3.p0.c; +import c.i.a.c.w0; +import java.util.ArrayList; +/* compiled from: lambda */ +public final /* synthetic */ class a implements w0.a { + public static final /* synthetic */ a a = new a(); + + @Override // c.i.a.c.w0.a + public final w0 a(Bundle bundle) { + long j = bundle.getLong(c.a.c(0)); + int i = bundle.getInt(c.a.c(1), -1); + ArrayList parcelableArrayList = bundle.getParcelableArrayList(c.a.c(2)); + int[] intArray = bundle.getIntArray(c.a.c(3)); + long[] longArray = bundle.getLongArray(c.a.c(4)); + long j2 = bundle.getLong(c.a.c(5)); + boolean z2 = bundle.getBoolean(c.a.c(6)); + if (intArray == null) { + intArray = new int[0]; + } + return new c.a(j, i, intArray, parcelableArrayList == null ? new Uri[0] : (Uri[]) parcelableArrayList.toArray(new Uri[0]), longArray == null ? new long[0] : longArray, j2, z2); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/p0/b.java b/app/src/main/java/c/i/a/c/a3/p0/b.java new file mode 100644 index 0000000000..5ce62531ff --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/p0/b.java @@ -0,0 +1,27 @@ +package c.i.a.c.a3.p0; + +import android.os.Bundle; +import c.i.a.c.a3.p0.c; +import c.i.a.c.w0; +import java.util.ArrayList; +/* compiled from: lambda */ +public final /* synthetic */ class b implements w0.a { + public static final /* synthetic */ b a = new b(); + + @Override // c.i.a.c.w0.a + public final w0 a(Bundle bundle) { + c.a[] aVarArr; + ArrayList parcelableArrayList = bundle.getParcelableArrayList(c.b(1)); + if (parcelableArrayList == null) { + aVarArr = new c.a[0]; + } else { + c.a[] aVarArr2 = new c.a[parcelableArrayList.size()]; + for (int i = 0; i < parcelableArrayList.size(); i++) { + int i2 = c.a.i; + aVarArr2[i] = (c.a) a.a.a((Bundle) parcelableArrayList.get(i)); + } + aVarArr = aVarArr2; + } + return new c(null, aVarArr, bundle.getLong(c.b(2), 0), bundle.getLong(c.b(3), -9223372036854775807L), bundle.getInt(c.b(4))); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/p0/c.java b/app/src/main/java/c/i/a/c/a3/p0/c.java new file mode 100644 index 0000000000..8b809322b1 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/p0/c.java @@ -0,0 +1,184 @@ +package c.i.a.c.a3.p0; + +import android.net.Uri; +import androidx.annotation.IntRange; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.w0; +import java.util.Arrays; +/* compiled from: AdPlaybackState */ +public final class c implements w0 { + public static final c i = new c(null, new a[0], 0, -9223372036854775807L, 0); + public static final a j; + public static final w0.a k = b.a; + @Nullable + public final Object l = null; + public final int m; + public final long n; + public final long o; + public final int p; + public final a[] q; + + /* compiled from: AdPlaybackState */ + public static final class a implements w0 { + public static final /* synthetic */ int i = 0; + public final long j; + public final int k; + public final Uri[] l; + public final int[] m; + public final long[] n; + public final long o; + public final boolean p; + + public a(long j, int i2, int[] iArr, Uri[] uriArr, long[] jArr, long j2, boolean z2) { + d.j(iArr.length == uriArr.length); + this.j = j; + this.k = i2; + this.m = iArr; + this.l = uriArr; + this.n = jArr; + this.o = j2; + this.p = z2; + } + + public static String c(int i2) { + return Integer.toString(i2, 36); + } + + public int a(@IntRange(from = -1) int i2) { + int i3 = i2 + 1; + while (true) { + int[] iArr = this.m; + if (i3 >= iArr.length || this.p || iArr[i3] == 0 || iArr[i3] == 1) { + break; + } + i3++; + } + return i3; + } + + public boolean b() { + if (this.k == -1) { + return true; + } + for (int i2 = 0; i2 < this.k; i2++) { + int[] iArr = this.m; + if (iArr[i2] == 0 || iArr[i2] == 1) { + return true; + } + } + return false; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || a.class != obj.getClass()) { + return false; + } + a aVar = (a) obj; + return this.j == aVar.j && this.k == aVar.k && Arrays.equals(this.l, aVar.l) && Arrays.equals(this.m, aVar.m) && Arrays.equals(this.n, aVar.n) && this.o == aVar.o && this.p == aVar.p; + } + + public int hashCode() { + long j = this.j; + int hashCode = Arrays.hashCode(this.m); + int hashCode2 = Arrays.hashCode(this.n); + long j2 = this.o; + return ((((hashCode2 + ((hashCode + (((((this.k * 31) + ((int) (j ^ (j >>> 32)))) * 31) + Arrays.hashCode(this.l)) * 31)) * 31)) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31) + (this.p ? 1 : 0); + } + } + + static { + a aVar = new a(0, -1, new int[0], new Uri[0], new long[0], 0, false); + int[] iArr = aVar.m; + int length = iArr.length; + int max = Math.max(0, length); + int[] copyOf = Arrays.copyOf(iArr, max); + Arrays.fill(copyOf, length, max, 0); + long[] jArr = aVar.n; + int length2 = jArr.length; + int max2 = Math.max(0, length2); + long[] copyOf2 = Arrays.copyOf(jArr, max2); + Arrays.fill(copyOf2, length2, max2, -9223372036854775807L); + j = new a(aVar.j, 0, copyOf, (Uri[]) Arrays.copyOf(aVar.l, 0), copyOf2, aVar.o, aVar.p); + } + + public c(@Nullable Object obj, a[] aVarArr, long j2, long j3, int i2) { + this.n = j2; + this.o = j3; + this.m = aVarArr.length + i2; + this.q = aVarArr; + this.p = i2; + } + + public static String b(int i2) { + return Integer.toString(i2, 36); + } + + public a a(@IntRange(from = 0) int i2) { + int i3 = this.p; + return i2 < i3 ? j : this.q[i2 - i3]; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || c.class != obj.getClass()) { + return false; + } + c cVar = (c) obj; + return e0.a(this.l, cVar.l) && this.m == cVar.m && this.n == cVar.n && this.o == cVar.o && this.p == cVar.p && Arrays.equals(this.q, cVar.q); + } + + public int hashCode() { + int i2 = this.m * 31; + Object obj = this.l; + return ((((((((i2 + (obj == null ? 0 : obj.hashCode())) * 31) + ((int) this.n)) * 31) + ((int) this.o)) * 31) + this.p) * 31) + Arrays.hashCode(this.q); + } + + public String toString() { + StringBuilder R = c.d.b.a.a.R("AdPlaybackState(adsId="); + R.append(this.l); + R.append(", adResumePositionUs="); + R.append(this.n); + R.append(", adGroups=["); + for (int i2 = 0; i2 < this.q.length; i2++) { + R.append("adGroup(timeUs="); + R.append(this.q[i2].j); + R.append(", ads=["); + for (int i3 = 0; i3 < this.q[i2].m.length; i3++) { + R.append("ad(state="); + int i4 = this.q[i2].m[i3]; + if (i4 == 0) { + R.append('_'); + } else if (i4 == 1) { + R.append('R'); + } else if (i4 == 2) { + R.append('S'); + } else if (i4 == 3) { + R.append('P'); + } else if (i4 != 4) { + R.append('?'); + } else { + R.append('!'); + } + R.append(", durationUs="); + R.append(this.q[i2].n[i3]); + R.append(')'); + if (i3 < this.q[i2].m.length - 1) { + R.append(", "); + } + } + R.append("])"); + if (i2 < this.q.length - 1) { + R.append(", "); + } + } + R.append("])"); + return R.toString(); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/q.java b/app/src/main/java/c/i/a/c/a3/q.java new file mode 100644 index 0000000000..a6b89fa8db --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/q.java @@ -0,0 +1,26 @@ +package c.i.a.c.a3; + +import c.i.a.c.k1; +import com.google.android.exoplayer2.decoder.DecoderInputBuffer; +/* compiled from: EmptySampleStream */ +public final class q implements i0 { + @Override // c.i.a.c.a3.i0 + public int a(k1 k1Var, DecoderInputBuffer decoderInputBuffer, int i) { + decoderInputBuffer.i = 4; + return -4; + } + + @Override // c.i.a.c.a3.i0 + public void b() { + } + + @Override // c.i.a.c.a3.i0 + public int c(long j) { + return 0; + } + + @Override // c.i.a.c.a3.i0 + public boolean d() { + return true; + } +} diff --git a/app/src/main/java/c/i/a/c/a3/r.java b/app/src/main/java/c/i/a/c/a3/r.java new file mode 100644 index 0000000000..90b56eec1d --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/r.java @@ -0,0 +1,51 @@ +package c.i.a.c.a3; + +import c.i.a.c.o2; +/* compiled from: ForwardingTimeline */ +public abstract class r extends o2 { + public final o2 j; + + public r(o2 o2Var) { + this.j = o2Var; + } + + @Override // c.i.a.c.o2 + public int a(boolean z2) { + return this.j.a(z2); + } + + @Override // c.i.a.c.o2 + public int b(Object obj) { + return this.j.b(obj); + } + + @Override // c.i.a.c.o2 + public int c(boolean z2) { + return this.j.c(z2); + } + + @Override // c.i.a.c.o2 + public int e(int i, int i2, boolean z2) { + return this.j.e(i, i2, z2); + } + + @Override // c.i.a.c.o2 + public int i() { + return this.j.i(); + } + + @Override // c.i.a.c.o2 + public int l(int i, int i2, boolean z2) { + return this.j.l(i, i2, z2); + } + + @Override // c.i.a.c.o2 + public Object m(int i) { + return this.j.m(i); + } + + @Override // c.i.a.c.o2 + public int p() { + return this.j.p(); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/s.java b/app/src/main/java/c/i/a/c/a3/s.java new file mode 100644 index 0000000000..bc87554d92 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/s.java @@ -0,0 +1,131 @@ +package c.i.a.c.a3; + +import android.net.Uri; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.a3.e0; +import c.i.a.c.e3.a0; +import c.i.a.c.e3.l; +import c.i.a.c.e3.n; +import c.i.a.c.f3.x; +import c.i.a.c.x2.w; +import java.io.IOException; +import java.util.List; +import java.util.Map; +import java.util.Objects; +/* compiled from: IcyDataSource */ +public final class s implements l { + public final l a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final a f670c; + public final byte[] d; + public int e; + + /* compiled from: IcyDataSource */ + public interface a { + } + + public s(l lVar, int i, a aVar) { + d.j(i > 0); + this.a = lVar; + this.b = i; + this.f670c = aVar; + this.d = new byte[1]; + this.e = i; + } + + @Override // c.i.a.c.e3.l + public long a(n nVar) { + throw new UnsupportedOperationException(); + } + + @Override // c.i.a.c.e3.l + public void close() { + throw new UnsupportedOperationException(); + } + + @Override // c.i.a.c.e3.l + public void d(a0 a0Var) { + Objects.requireNonNull(a0Var); + this.a.d(a0Var); + } + + @Override // c.i.a.c.e3.l + public Map> j() { + return this.a.j(); + } + + @Override // c.i.a.c.e3.l + @Nullable + public Uri n() { + return this.a.n(); + } + + /* JADX WARNING: Removed duplicated region for block: B:23:0x0073 */ + /* JADX WARNING: Removed duplicated region for block: B:24:0x0078 A[RETURN] */ + @Override // c.i.a.c.e3.h + public int read(byte[] bArr, int i, int i2) throws IOException { + long j; + if (this.e == 0) { + boolean z2 = true; + if (this.a.read(this.d, 0, 1) != -1) { + int i3 = (this.d[0] & 255) << 4; + if (i3 != 0) { + byte[] bArr2 = new byte[i3]; + int i4 = i3; + int i5 = 0; + while (true) { + if (i4 <= 0) { + while (i3 > 0) { + int i6 = i3 - 1; + if (bArr2[i6] != 0) { + break; + } + i3 = i6; + } + if (i3 > 0) { + a aVar = this.f670c; + x xVar = new x(bArr2, i3); + e0.a aVar2 = (e0.a) aVar; + if (!aVar2.n) { + j = aVar2.j; + } else { + e0 e0Var = e0.this; + Map map = e0.i; + j = Math.max(e0Var.v(), aVar2.j); + } + int a2 = xVar.a(); + w wVar = aVar2.m; + Objects.requireNonNull(wVar); + wVar.c(xVar, a2); + wVar.d(j, 1, a2, 0, null); + aVar2.n = true; + } + } else { + int read = this.a.read(bArr2, i5, i4); + if (read == -1) { + break; + } + i5 += read; + i4 -= read; + } + } + } + if (z2) { + return -1; + } + this.e = this.b; + } + z2 = false; + if (z2) { + } + } + int read2 = this.a.read(bArr, i, Math.min(this.e, i2)); + if (read2 != -1) { + this.e -= read2; + } + return read2; + } +} diff --git a/app/src/main/java/c/i/a/c/a3/t.java b/app/src/main/java/c/i/a/c/a3/t.java new file mode 100644 index 0000000000..1041f2f060 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/t.java @@ -0,0 +1,22 @@ +package c.i.a.c.a3; + +import android.net.Uri; +import c.i.a.c.e3.n; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import java.util.concurrent.atomic.AtomicLong; +/* compiled from: LoadEventInfo */ +public final class t { + public static final AtomicLong a = new AtomicLong(); + public final Map> b; + + public t(long j, n nVar, long j2) { + Uri uri = nVar.a; + this.b = Collections.emptyMap(); + } + + public t(long j, n nVar, Uri uri, Map> map, long j2, long j3, long j4) { + this.b = map; + } +} diff --git a/app/src/main/java/c/i/a/c/a3/u.java b/app/src/main/java/c/i/a/c/a3/u.java new file mode 100644 index 0000000000..84bf06cb41 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/u.java @@ -0,0 +1,172 @@ +package c.i.a.c.a3; + +import androidx.annotation.Nullable; +import c.i.a.c.a3.a0; +import c.i.a.c.a3.x; +import c.i.a.c.c3.j; +import c.i.a.c.e3.o; +import c.i.a.c.f3.e0; +import c.i.a.c.j2; +import java.io.IOException; +import java.util.Objects; +/* compiled from: MaskingMediaPeriod */ +public final class u implements x, x.a { + public final a0.a i; + public final long j; + public final o k; + public a0 l; + public x m; + @Nullable + public x.a n; + public long o = -9223372036854775807L; + + public u(a0.a aVar, o oVar, long j) { + this.i = aVar; + this.k = oVar; + this.j = j; + } + + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [c.i.a.c.a3.j0] */ + @Override // c.i.a.c.a3.j0.a + public void a(x xVar) { + x.a aVar = this.n; + int i = e0.a; + aVar.a(this); + } + + @Override // c.i.a.c.a3.x.a + public void b(x xVar) { + x.a aVar = this.n; + int i = e0.a; + aVar.b(this); + } + + @Override // c.i.a.c.a3.x + public long c() { + x xVar = this.m; + int i = e0.a; + return xVar.c(); + } + + public void d(a0.a aVar) { + long j = this.j; + long j2 = this.o; + if (j2 != -9223372036854775807L) { + j = j2; + } + a0 a0Var = this.l; + Objects.requireNonNull(a0Var); + x n = a0Var.n(aVar, this.k, j); + this.m = n; + if (this.n != null) { + n.l(this, j); + } + } + + @Override // c.i.a.c.a3.x + public void e() throws IOException { + try { + x xVar = this.m; + if (xVar != null) { + xVar.e(); + return; + } + a0 a0Var = this.l; + if (a0Var != null) { + a0Var.h(); + } + } catch (IOException e) { + throw e; + } + } + + @Override // c.i.a.c.a3.x + public long f(long j) { + x xVar = this.m; + int i = e0.a; + return xVar.f(j); + } + + @Override // c.i.a.c.a3.x + public boolean g(long j) { + x xVar = this.m; + return xVar != null && xVar.g(j); + } + + @Override // c.i.a.c.a3.x + public boolean h() { + x xVar = this.m; + return xVar != null && xVar.h(); + } + + @Override // c.i.a.c.a3.x + public long i(long j, j2 j2Var) { + x xVar = this.m; + int i = e0.a; + return xVar.i(j, j2Var); + } + + @Override // c.i.a.c.a3.x + public long k() { + x xVar = this.m; + int i = e0.a; + return xVar.k(); + } + + @Override // c.i.a.c.a3.x + public void l(x.a aVar, long j) { + this.n = aVar; + x xVar = this.m; + if (xVar != null) { + long j2 = this.j; + long j3 = this.o; + if (j3 != -9223372036854775807L) { + j2 = j3; + } + xVar.l(this, j2); + } + } + + @Override // c.i.a.c.a3.x + public long m(j[] jVarArr, boolean[] zArr, i0[] i0VarArr, boolean[] zArr2, long j) { + long j2; + long j3 = this.o; + if (j3 == -9223372036854775807L || j != this.j) { + j2 = j; + } else { + this.o = -9223372036854775807L; + j2 = j3; + } + x xVar = this.m; + int i = e0.a; + return xVar.m(jVarArr, zArr, i0VarArr, zArr2, j2); + } + + @Override // c.i.a.c.a3.x + public o0 n() { + x xVar = this.m; + int i = e0.a; + return xVar.n(); + } + + @Override // c.i.a.c.a3.x + public long q() { + x xVar = this.m; + int i = e0.a; + return xVar.q(); + } + + @Override // c.i.a.c.a3.x + public void r(long j, boolean z2) { + x xVar = this.m; + int i = e0.a; + xVar.r(j, z2); + } + + @Override // c.i.a.c.a3.x + public void s(long j) { + x xVar = this.m; + int i = e0.a; + xVar.s(j); + } +} diff --git a/app/src/main/java/c/i/a/c/a3/v.java b/app/src/main/java/c/i/a/c/a3/v.java new file mode 100644 index 0000000000..4f750f649f --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/v.java @@ -0,0 +1,217 @@ +package c.i.a.c.a3; + +import androidx.annotation.Nullable; +import androidx.annotation.VisibleForTesting; +import c.c.a.a0.d; +import c.i.a.c.a3.a0; +import c.i.a.c.a3.o; +import c.i.a.c.a3.p0.c; +import c.i.a.c.e3.a0; +import c.i.a.c.f3.e0; +import c.i.a.c.o1; +import c.i.a.c.o2; +import java.util.Objects; +import org.checkerframework.checker.nullness.qual.RequiresNonNull; +/* compiled from: MaskingMediaSource */ +public final class v extends o { + public final a0 j; + public final boolean k; + public final o2.c l; + public final o2.b m; + public a n; + @Nullable + public u o; + public boolean p; + public boolean q; + public boolean r; + + /* compiled from: MaskingMediaSource */ + public static final class a extends r { + public static final Object k = new Object(); + @Nullable + public final Object l; + @Nullable + public final Object m; + + public a(o2 o2Var, @Nullable Object obj, @Nullable Object obj2) { + super(o2Var); + this.l = obj; + this.m = obj2; + } + + @Override // c.i.a.c.a3.r, c.i.a.c.o2 + public int b(Object obj) { + Object obj2; + o2 o2Var = this.j; + if (k.equals(obj) && (obj2 = this.m) != null) { + obj = obj2; + } + return o2Var.b(obj); + } + + @Override // c.i.a.c.o2 + public o2.b g(int i, o2.b bVar, boolean z2) { + this.j.g(i, bVar, z2); + if (e0.a(bVar.j, this.m) && z2) { + bVar.j = k; + } + return bVar; + } + + @Override // c.i.a.c.a3.r, c.i.a.c.o2 + public Object m(int i) { + Object m = this.j.m(i); + return e0.a(m, this.m) ? k : m; + } + + @Override // c.i.a.c.o2 + public o2.c o(int i, o2.c cVar, long j) { + this.j.o(i, cVar, j); + if (e0.a(cVar.m, this.l)) { + cVar.m = o2.c.i; + } + return cVar; + } + } + + /* compiled from: MaskingMediaSource */ + @VisibleForTesting + public static final class b extends o2 { + public final o1 j; + + public b(o1 o1Var) { + this.j = o1Var; + } + + @Override // c.i.a.c.o2 + public int b(Object obj) { + return obj == a.k ? 0 : -1; + } + + @Override // c.i.a.c.o2 + public o2.b g(int i, o2.b bVar, boolean z2) { + Object obj = null; + Integer num = z2 ? 0 : null; + if (z2) { + obj = a.k; + } + bVar.f(num, obj, 0, -9223372036854775807L, 0, c.i, true); + return bVar; + } + + @Override // c.i.a.c.o2 + public int i() { + return 1; + } + + @Override // c.i.a.c.o2 + public Object m(int i) { + return a.k; + } + + @Override // c.i.a.c.o2 + public o2.c o(int i, o2.c cVar, long j) { + cVar.e(o2.c.i, this.j, null, -9223372036854775807L, -9223372036854775807L, -9223372036854775807L, false, true, null, 0, -9223372036854775807L, 0, 0, 0); + cVar.f844x = true; + return cVar; + } + + @Override // c.i.a.c.o2 + public int p() { + return 1; + } + } + + public v(a0 a0Var, boolean z2) { + this.j = a0Var; + this.k = z2 && a0Var.i(); + this.l = new o2.c(); + this.m = new o2.b(); + o2 k = a0Var.k(); + if (k != null) { + this.n = new a(k, null, null); + this.r = true; + return; + } + this.n = new a(new b(a0Var.e()), o2.c.i, a.k); + } + + @Override // c.i.a.c.a3.a0 + public o1 e() { + return this.j.e(); + } + + @Override // c.i.a.c.a3.a0 + public void h() { + } + + @Override // c.i.a.c.a3.a0 + public void j(x xVar) { + u uVar = (u) xVar; + if (uVar.m != null) { + a0 a0Var = uVar.l; + Objects.requireNonNull(a0Var); + a0Var.j(uVar.m); + } + if (xVar == this.o) { + this.o = null; + } + } + + @Override // c.i.a.c.a3.l + public void q(@Nullable a0 a0Var) { + this.i = a0Var; + this.h = e0.j(); + if (!this.k) { + this.p = true; + t(null, this.j); + } + } + + @Override // c.i.a.c.a3.l + public void s() { + this.q = false; + this.p = false; + for (o.b bVar : this.g.values()) { + bVar.a.a(bVar.b); + bVar.a.c(bVar.f669c); + bVar.a.g(bVar.f669c); + } + this.g.clear(); + } + + /* renamed from: u */ + public u n(a0.a aVar, c.i.a.c.e3.o oVar, long j) { + u uVar = new u(aVar, oVar, j); + a0 a0Var = this.j; + d.D(uVar.l == null); + uVar.l = a0Var; + if (this.q) { + Object obj = aVar.a; + if (this.n.m != null && obj.equals(a.k)) { + obj = this.n.m; + } + uVar.d(aVar.b(obj)); + } else { + this.o = uVar; + if (!this.p) { + this.p = true; + t(null, this.j); + } + } + return uVar; + } + + @RequiresNonNull({"unpreparedMaskingMediaPeriod"}) + public final void v(long j) { + u uVar = this.o; + int b2 = this.n.b(uVar.i.a); + if (b2 != -1) { + long j2 = this.n.f(b2, this.m).l; + if (j2 != -9223372036854775807L && j >= j2) { + j = Math.max(0L, j2 - 1); + } + uVar.o = j; + } + } +} diff --git a/app/src/main/java/c/i/a/c/a3/w.java b/app/src/main/java/c/i/a/c/a3/w.java new file mode 100644 index 0000000000..03a3ed82f5 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/w.java @@ -0,0 +1,28 @@ +package c.i.a.c.a3; + +import androidx.annotation.Nullable; +import c.i.a.c.j1; +/* compiled from: MediaLoadData */ +public final class w { + public final int a; + public final int b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public final j1 f671c; + public final int d; + @Nullable + public final Object e; + public final long f; + public final long g; + + public w(int i, int i2, @Nullable j1 j1Var, int i3, @Nullable Object obj, long j, long j2) { + this.a = i; + this.b = i2; + this.f671c = j1Var; + this.d = i3; + this.e = obj; + this.f = j; + this.g = j2; + } +} diff --git a/app/src/main/java/c/i/a/c/a3/x.java b/app/src/main/java/c/i/a/c/a3/x.java new file mode 100644 index 0000000000..eda8d4f7ee --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/x.java @@ -0,0 +1,40 @@ +package c.i.a.c.a3; + +import c.i.a.c.a3.j0; +import c.i.a.c.c3.j; +import c.i.a.c.j2; +import java.io.IOException; +/* compiled from: MediaPeriod */ +public interface x extends j0 { + + /* compiled from: MediaPeriod */ + public interface a extends j0.a { + void b(x xVar); + } + + long c(); + + void e() throws IOException; + + long f(long j); + + boolean g(long j); + + boolean h(); + + long i(long j, j2 j2Var); + + long k(); + + void l(a aVar, long j); + + long m(j[] jVarArr, boolean[] zArr, i0[] i0VarArr, boolean[] zArr2, long j); + + o0 n(); + + long q(); + + void r(long j, boolean z2); + + void s(long j); +} diff --git a/app/src/main/java/c/i/a/c/a3/y.java b/app/src/main/java/c/i/a/c/a3/y.java new file mode 100644 index 0000000000..36ec817c4f --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/y.java @@ -0,0 +1,72 @@ +package c.i.a.c.a3; + +import androidx.annotation.Nullable; +/* compiled from: MediaPeriodId */ +public class y { + public final Object a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f672c; + public final long d; + public final int e; + + public y(y yVar) { + this.a = yVar.a; + this.b = yVar.b; + this.f672c = yVar.f672c; + this.d = yVar.d; + this.e = yVar.e; + } + + public y(Object obj) { + this.a = obj; + this.b = -1; + this.f672c = -1; + this.d = -1; + this.e = -1; + } + + public y(Object obj, int i, int i2, long j) { + this.a = obj; + this.b = i; + this.f672c = i2; + this.d = j; + this.e = -1; + } + + public y(Object obj, int i, int i2, long j, int i3) { + this.a = obj; + this.b = i; + this.f672c = i2; + this.d = j; + this.e = i3; + } + + public y(Object obj, long j, int i) { + this.a = obj; + this.b = -1; + this.f672c = -1; + this.d = j; + this.e = i; + } + + public boolean a() { + return this.b != -1; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof y)) { + return false; + } + y yVar = (y) obj; + return this.a.equals(yVar.a) && this.b == yVar.b && this.f672c == yVar.f672c && this.d == yVar.d && this.e == yVar.e; + } + + public int hashCode() { + return ((((((((this.a.hashCode() + 527) * 31) + this.b) * 31) + this.f672c) * 31) + ((int) this.d)) * 31) + this.e; + } +} diff --git a/app/src/main/java/c/i/a/c/a3/z.java b/app/src/main/java/c/i/a/c/a3/z.java new file mode 100644 index 0000000000..a4acbe8b11 --- /dev/null +++ b/app/src/main/java/c/i/a/c/a3/z.java @@ -0,0 +1,15 @@ +package c.i.a.c.a3; + +import androidx.annotation.Nullable; +import c.i.a.c.o2; +/* compiled from: MediaSource */ +public final /* synthetic */ class z { + @Nullable + public static o2 a(a0 a0Var) { + return null; + } + + public static boolean b(a0 a0Var) { + return true; + } +} diff --git a/app/src/main/java/c/i/a/c/b.java b/app/src/main/java/c/i/a/c/b.java index daed18b5c3..dcc3c4d978 100644 --- a/app/src/main/java/c/i/a/c/b.java +++ b/app/src/main/java/c/i/a/c/b.java @@ -1,47 +1,13 @@ package c.i.a.c; -import c.d.b.a.a; -import c.i.a.c.e0; -import c.i.a.c.v1.n; -import java.util.Objects; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class b implements Runnable { - public final /* synthetic */ e0.a i; - public final /* synthetic */ int j; +public final /* synthetic */ class b implements p.a { + public static final /* synthetic */ b a = new b(); - public /* synthetic */ b(e0.a aVar, int i) { - this.i = aVar; - this.j = i; - } - - @Override // java.lang.Runnable - public final void run() { - e0.a aVar = this.i; - int i = this.j; - e0 e0Var = e0.this; - Objects.requireNonNull(e0Var); - boolean z2 = true; - if (i == -3 || i == -2) { - if (i != -2) { - n nVar = e0Var.d; - if (nVar == null || nVar.b != 1) { - z2 = false; - } - if (!z2) { - e0Var.c(3); - return; - } - } - e0Var.b(0); - e0Var.c(2); - } else if (i == -1) { - e0Var.b(-1); - e0Var.a(); - } else if (i != 1) { - a.i0("Unknown focus change type: ", i, "AudioFocusManager"); - } else { - e0Var.c(1); - e0Var.b(1); - } + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((y1.c) obj).a(); } } diff --git a/app/src/main/java/c/i/a/c/b0.java b/app/src/main/java/c/i/a/c/b0.java index df027036f9..e8437c773c 100644 --- a/app/src/main/java/c/i/a/c/b0.java +++ b/app/src/main/java/c/i/a/c/b0.java @@ -1,14 +1,17 @@ package c.i.a.c; + +import androidx.core.view.PointerIconCompat; +import c.i.a.c.f3.p; +import c.i.a.c.y1; +import com.google.android.exoplayer2.ExoPlaybackException; +import com.google.android.exoplayer2.ExoTimeoutException; /* compiled from: lambda */ -public final /* synthetic */ class b0 implements Runnable { - public final /* synthetic */ q1 i; +public final /* synthetic */ class b0 implements p.a { + public static final /* synthetic */ b0 a = new b0(); - public /* synthetic */ b0(q1 q1Var) { - this.i = q1Var; - } - - @Override // java.lang.Runnable - public final void run() { - this.i.c(); + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + int i = f1.b; + ((y1.c) obj).s(ExoPlaybackException.b(new ExoTimeoutException(1), PointerIconCompat.TYPE_HELP)); } } diff --git a/app/src/main/java/c/i/a/c/b1.java b/app/src/main/java/c/i/a/c/b1.java index 4b46812411..ef4cfd42b9 100644 --- a/app/src/main/java/c/i/a/c/b1.java +++ b/app/src/main/java/c/i/a/c/b1.java @@ -1,348 +1,88 @@ package c.i.a.c; +import android.content.Context; +import android.content.Intent; +import android.content.IntentFilter; import android.os.Handler; -import android.util.Pair; -import androidx.annotation.Nullable; -import c.i.a.c.d2.h0; -import c.i.a.c.d2.r; -import c.i.a.c.d2.s; -import c.i.a.c.d2.t; -import c.i.a.c.d2.u; -import c.i.a.c.d2.v; -import c.i.a.c.d2.y; -import c.i.a.c.d2.z; -import c.i.a.c.h2.x; -import c.i.a.c.i2.f0; -import c.i.a.c.u1.c1; -import c.i.a.c.z1.q; -import java.io.IOException; +import android.provider.Settings; +import c.i.a.c.b3.l; +import c.i.a.c.b3.m; +import c.i.a.c.f3.e0; +import c.i.a.c.g3.x; +import c.i.a.c.t2.p; +import c.i.a.c.t2.z; +import c.i.a.c.y2.k; +import c.i.a.c.y2.r; +import c.i.a.c.y2.v; +import c.i.a.c.z2.e; +import c.i.a.c.z2.f; +import com.google.android.exoplayer2.audio.AudioProcessor; +import com.google.android.exoplayer2.audio.DefaultAudioSink; import java.util.ArrayList; -import java.util.HashMap; -import java.util.HashSet; -import java.util.IdentityHashMap; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import java.util.Random; -import java.util.Set; -/* compiled from: MediaSourceList */ -public final class b1 { - public final List a = new ArrayList(); - public final IdentityHashMap b = new IdentityHashMap<>(); +/* compiled from: DefaultRenderersFactory */ +public class b1 implements i2 { + public final Context a; + public final r b = new r(); /* renamed from: c reason: collision with root package name */ - public final Map f810c = new HashMap(); - public final d d; - public final z.a e; - public final q.a f; - public final HashMap g; - public final Set h; - public h0 i = new h0.a(0, new Random()); - public boolean j; - @Nullable - public x k; + public v f673c; - /* compiled from: MediaSourceList */ - public final class a implements z, q { - public final c i; - public z.a j; - public q.a k; - - public a(c cVar) { - this.j = b1.this.e; - this.k = b1.this.f; - this.i = cVar; - } - - @Override // c.i.a.c.z1.q - public void B(int i, @Nullable y.a aVar) { - if (a(i, aVar)) { - this.k.b(); - } - } - - @Override // c.i.a.c.z1.q - public void F(int i, @Nullable y.a aVar) { - if (a(i, aVar)) { - this.k.d(); - } - } - - @Override // c.i.a.c.z1.q - public void L(int i, @Nullable y.a aVar) { - if (a(i, aVar)) { - this.k.a(); - } - } - - @Override // c.i.a.c.d2.z - public void N(int i, @Nullable y.a aVar, r rVar, u uVar) { - if (a(i, aVar)) { - this.j.d(rVar, uVar); - } - } - - @Override // c.i.a.c.z1.q - public void R(int i, @Nullable y.a aVar) { - if (a(i, aVar)) { - this.k.f(); - } - } - - @Override // c.i.a.c.d2.z - public void U(int i, @Nullable y.a aVar, r rVar, u uVar, IOException iOException, boolean z2) { - if (a(i, aVar)) { - this.j.e(rVar, uVar, iOException, z2); - } - } - - @Override // c.i.a.c.z1.q - public void W(int i, @Nullable y.a aVar) { - if (a(i, aVar)) { - this.k.c(); - } - } - - public final boolean a(int i, @Nullable y.a aVar) { - y.a aVar2 = null; - if (aVar != null) { - c cVar = this.i; - int i2 = 0; - while (true) { - if (i2 >= cVar.f812c.size()) { - break; - } else if (cVar.f812c.get(i2).d == aVar.d) { - aVar2 = aVar.b(Pair.create(cVar.b, aVar.a)); - break; - } else { - i2++; - } - } - if (aVar2 == null) { - return false; - } - } - int i3 = i + this.i.d; - z.a aVar3 = this.j; - if (aVar3.a != i3 || !f0.a(aVar3.b, aVar2)) { - this.j = b1.this.e.g(i3, aVar2, 0); - } - q.a aVar4 = this.k; - if (aVar4.a == i3 && f0.a(aVar4.b, aVar2)) { - return true; - } - this.k = b1.this.f.g(i3, aVar2); - return true; - } - - @Override // c.i.a.c.d2.z - public void l(int i, @Nullable y.a aVar, u uVar) { - if (a(i, aVar)) { - this.j.b(uVar); - } - } - - @Override // c.i.a.c.d2.z - public void m(int i, @Nullable y.a aVar, r rVar, u uVar) { - if (a(i, aVar)) { - this.j.c(rVar, uVar); - } - } - - @Override // c.i.a.c.z1.q - public void o(int i, @Nullable y.a aVar, Exception exc) { - if (a(i, aVar)) { - this.k.e(exc); - } - } - - @Override // c.i.a.c.d2.z - public void q(int i, @Nullable y.a aVar, r rVar, u uVar) { - if (a(i, aVar)) { - this.j.f(rVar, uVar); - } - } + public b1(Context context) { + this.a = context; + int i = v.a; + this.f673c = k.b; } - /* compiled from: MediaSourceList */ - public static final class b { - public final y a; - public final y.b b; - - /* renamed from: c reason: collision with root package name */ - public final z f811c; - - public b(y yVar, y.b bVar, z zVar) { - this.a = yVar; - this.b = bVar; - this.f811c = zVar; - } - } - - /* compiled from: MediaSourceList */ - public static final class c implements a1 { - public final t a; - public final Object b = new Object(); - - /* renamed from: c reason: collision with root package name */ - public final List f812c = new ArrayList(); - public int d; - public boolean e; - - public c(y yVar, boolean z2) { - this.a = new t(yVar, z2); - } - - @Override // c.i.a.c.a1 - public r1 a() { - return this.a.n; - } - - @Override // c.i.a.c.a1 - public Object getUid() { - return this.b; - } - } - - /* compiled from: MediaSourceList */ - public interface d { - } - - public b1(d dVar, @Nullable c1 c1Var, Handler handler) { - this.d = dVar; - z.a aVar = new z.a(); - this.e = aVar; - q.a aVar2 = new q.a(); - this.f = aVar2; - this.g = new HashMap<>(); - this.h = new HashSet(); - if (c1Var != null) { - aVar.f865c.add(new z.a.C0092a(handler, c1Var)); - aVar2.f1084c.add(new q.a.C0100a(handler, c1Var)); - } - } - - public r1 a(int i, List list, h0 h0Var) { - if (!list.isEmpty()) { - this.i = h0Var; - for (int i2 = i; i2 < list.size() + i; i2++) { - c cVar = list.get(i2 - i); - if (i2 > 0) { - c cVar2 = this.a.get(i2 - 1); - t.a aVar = cVar2.a.n; - cVar.d = aVar.p() + cVar2.d; - cVar.e = false; - cVar.f812c.clear(); - } else { - cVar.d = 0; - cVar.e = false; - cVar.f812c.clear(); - } - b(i2, cVar.a.n.p()); - this.a.add(i2, cVar); - this.f810c.put(cVar.b, cVar); - if (this.j) { - g(cVar); - if (this.b.isEmpty()) { - this.h.add(cVar); - } else { - b bVar = this.g.get(cVar); - if (bVar != null) { - bVar.a.d(bVar.b); + /* JADX WARNING: Code restructure failed: missing block: B:22:0x007b, code lost: + if (r5 != false) goto L_0x007d; + */ + /* JADX WARNING: Removed duplicated region for block: B:15:0x0063 */ + @Override // c.i.a.c.i2 + public f2[] a(Handler handler, x xVar, c.i.a.c.t2.r rVar, l lVar, e eVar) { + boolean z2; + p pVar; + ArrayList arrayList = new ArrayList(); + arrayList.add(new c.i.a.c.g3.r(this.a, this.b, this.f673c, 5000, false, handler, xVar, 50)); + Context context = this.a; + p pVar2 = p.a; + Intent registerReceiver = context.registerReceiver(null, new IntentFilter("android.media.action.HDMI_AUDIO_PLUG")); + int i = e0.a; + boolean z3 = true; + if (i >= 17) { + String str = e0.f782c; + if ("Amazon".equals(str) || "Xiaomi".equals(str)) { + z2 = true; + if (z2 || Settings.Global.getInt(context.getContentResolver(), "external_surround_sound_enabled", 0) != 1) { + if (i >= 29) { + if (!e0.A(context)) { + if (i < 23 || !context.getPackageManager().hasSystemFeature("android.hardware.type.automotive")) { + z3 = false; + } } + pVar = new p(p.a.a(), 8); } + pVar = (registerReceiver != null || registerReceiver.getIntExtra("android.media.extra.AUDIO_PLUG_STATE", 0) == 0) ? p.a : new p(registerReceiver.getIntArrayExtra("android.media.extra.ENCODINGS"), registerReceiver.getIntExtra("android.media.extra.MAX_CHANNEL_COUNT", 8)); + } else { + pVar = p.b; } + arrayList.add(new z(this.a, this.b, this.f673c, false, handler, rVar, new DefaultAudioSink(pVar, new DefaultAudioSink.d(new AudioProcessor[0]), false, false, 0))); + arrayList.add(new m(lVar, handler.getLooper())); + arrayList.add(new f(eVar, handler.getLooper())); + arrayList.add(new c.i.a.c.g3.z.e()); + return (f2[]) arrayList.toArray(new f2[0]); } } - return c(); - } - - public final void b(int i, int i2) { - while (i < this.a.size()) { - this.a.get(i).d += i2; - i++; + z2 = false; + if (z2) { } - } - - public r1 c() { - if (this.a.isEmpty()) { - return r1.a; + if (i >= 29) { } - int i = 0; - for (int i2 = 0; i2 < this.a.size(); i2++) { - c cVar = this.a.get(i2); - cVar.d = i; - i += cVar.a.n.p(); - } - return new i1(this.a, this.i); - } - - public final void d() { - Iterator it = this.h.iterator(); - while (it.hasNext()) { - c next = it.next(); - if (next.f812c.isEmpty()) { - b bVar = this.g.get(next); - if (bVar != null) { - bVar.a.d(bVar.b); - } - it.remove(); - } - } - } - - public int e() { - return this.a.size(); - } - - public final void f(c cVar) { - if (cVar.e && cVar.f812c.isEmpty()) { - b remove = this.g.remove(cVar); - Objects.requireNonNull(remove); - remove.a.a(remove.b); - remove.a.c(remove.f811c); - this.h.remove(cVar); - } - } - - public final void g(c cVar) { - t tVar = cVar.a; - z zVar = new z(this); - a aVar = new a(cVar); - this.g.put(cVar, new b(tVar, zVar, aVar)); - Handler handler = new Handler(f0.o(), null); - Objects.requireNonNull(tVar); - z.a aVar2 = tVar.f853c; - Objects.requireNonNull(aVar2); - aVar2.f865c.add(new z.a.C0092a(handler, aVar)); - Handler handler2 = new Handler(f0.o(), null); - q.a aVar3 = tVar.d; - Objects.requireNonNull(aVar3); - aVar3.f1084c.add(new q.a.C0100a(handler2, aVar)); - tVar.k(zVar, this.k); - } - - public void h(v vVar) { - c remove = this.b.remove(vVar); - Objects.requireNonNull(remove); - remove.a.i(vVar); - remove.f812c.remove(((s) vVar).i); - if (!this.b.isEmpty()) { - d(); - } - f(remove); - } - - public final void i(int i, int i2) { - for (int i3 = i2 - 1; i3 >= i; i3--) { - c remove = this.a.remove(i3); - this.f810c.remove(remove.b); - b(i3, -remove.a.n.p()); - remove.e = true; - if (this.j) { - f(remove); - } + if (registerReceiver != null) { } + arrayList.add(new z(this.a, this.b, this.f673c, false, handler, rVar, new DefaultAudioSink(pVar, new DefaultAudioSink.d(new AudioProcessor[0]), false, false, 0))); + arrayList.add(new m(lVar, handler.getLooper())); + arrayList.add(new f(eVar, handler.getLooper())); + arrayList.add(new c.i.a.c.g3.z.e()); + return (f2[]) arrayList.toArray(new f2[0]); } } diff --git a/app/src/main/java/c/i/a/c/b2.java b/app/src/main/java/c/i/a/c/b2.java new file mode 100644 index 0000000000..8ee9ffc014 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b2.java @@ -0,0 +1,104 @@ +package c.i.a.c; + +import android.os.Looper; +import android.util.Log; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.b0; +import c.i.a.c.f3.g; +import com.google.android.exoplayer2.ExoPlaybackException; +import java.util.concurrent.TimeoutException; +/* compiled from: PlayerMessage */ +public final class b2 { + public final b a; + public final a b; + + /* renamed from: c reason: collision with root package name */ + public final g f674c; + public final o2 d; + public int e; + @Nullable + public Object f; + public Looper g; + public int h; + public boolean i; + public boolean j; + public boolean k; + + /* compiled from: PlayerMessage */ + public interface a { + } + + /* compiled from: PlayerMessage */ + public interface b { + void r(int i, @Nullable Object obj) throws ExoPlaybackException; + } + + public b2(a aVar, b bVar, o2 o2Var, int i, g gVar, Looper looper) { + this.b = aVar; + this.a = bVar; + this.d = o2Var; + this.g = looper; + this.f674c = gVar; + this.h = i; + } + + public synchronized boolean a(long j) throws InterruptedException, TimeoutException { + boolean z2; + d.D(this.i); + d.D(this.g.getThread() != Thread.currentThread()); + long d = this.f674c.d() + j; + while (true) { + z2 = this.k; + if (z2 || j <= 0) { + break; + } + this.f674c.c(); + wait(j); + j = d - this.f674c.d(); + } + if (!z2) { + throw new TimeoutException("Message delivery timed out."); + } + return this.j; + } + + public synchronized boolean b() { + return false; + } + + public synchronized void c(boolean z2) { + this.j = z2 | this.j; + this.k = true; + notifyAll(); + } + + public b2 d() { + d.D(!this.i); + d.j(true); + this.i = true; + h1 h1Var = (h1) this.b; + synchronized (h1Var) { + if (!h1Var.H) { + if (h1Var.q.isAlive()) { + ((b0.b) h1Var.p.i(14, this)).b(); + } + } + Log.w("ExoPlayerImplInternal", "Ignoring messages sent after release."); + c(false); + } + return this; + } + + public b2 e(@Nullable Object obj) { + d.D(!this.i); + this.f = obj; + return this; + } + + public b2 f(int i) { + d.D(!this.i); + this.e = i; + return this; + } +} diff --git a/app/src/main/java/c/i/a/c/b2/a.java b/app/src/main/java/c/i/a/c/b2/a.java deleted file mode 100644 index 69f6e188b5..0000000000 --- a/app/src/main/java/c/i/a/c/b2/a.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.b2; - -import android.os.HandlerThread; -import c.i.b.a.l; -/* compiled from: lambda */ -public final /* synthetic */ class a implements l { - public final /* synthetic */ int i; - - public /* synthetic */ a(int i) { - this.i = i; - } - - @Override // c.i.b.a.l - public final Object get() { - return new HandlerThread(l.j(this.i, "ExoPlayer:MediaCodecAsyncAdapter:")); - } -} diff --git a/app/src/main/java/c/i/a/c/b2/b.java b/app/src/main/java/c/i/a/c/b2/b.java deleted file mode 100644 index 8868fdd686..0000000000 --- a/app/src/main/java/c/i/a/c/b2/b.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.b2; - -import android.os.HandlerThread; -import c.i.b.a.l; -/* compiled from: lambda */ -public final /* synthetic */ class b implements l { - public final /* synthetic */ int i; - - public /* synthetic */ b(int i) { - this.i = i; - } - - @Override // c.i.b.a.l - public final Object get() { - return new HandlerThread(l.j(this.i, "ExoPlayer:MediaCodecQueueingThread:")); - } -} diff --git a/app/src/main/java/c/i/a/c/b2/c.java b/app/src/main/java/c/i/a/c/b2/c.java deleted file mode 100644 index 7b1c8906e1..0000000000 --- a/app/src/main/java/c/i/a/c/b2/c.java +++ /dev/null @@ -1,24 +0,0 @@ -package c.i.a.c.b2; - -import android.media.MediaCodec; -import c.i.a.c.b2.r; -import c.i.a.c.j2.n; -import java.util.Objects; -/* compiled from: lambda */ -public final /* synthetic */ class c implements MediaCodec.OnFrameRenderedListener { - public final /* synthetic */ l a; - public final /* synthetic */ r.b b; - - public /* synthetic */ c(l lVar, r.b bVar) { - this.a = lVar; - this.b = bVar; - } - - @Override // android.media.MediaCodec.OnFrameRenderedListener - public final void onFrameRendered(MediaCodec mediaCodec, long j, long j2) { - l lVar = this.a; - r.b bVar = this.b; - Objects.requireNonNull(lVar); - ((n.b) bVar).b(lVar, j, j2); - } -} diff --git a/app/src/main/java/c/i/a/c/b2/d.java b/app/src/main/java/c/i/a/c/b2/d.java deleted file mode 100644 index f826cefb7f..0000000000 --- a/app/src/main/java/c/i/a/c/b2/d.java +++ /dev/null @@ -1,38 +0,0 @@ -package c.i.a.c.b2; -/* compiled from: lambda */ -public final /* synthetic */ class d implements Runnable { - public final /* synthetic */ o i; - public final /* synthetic */ Runnable j; - - public /* synthetic */ d(o oVar, Runnable runnable) { - this.i = oVar; - this.j = runnable; - } - - @Override // java.lang.Runnable - public final void run() { - o oVar = this.i; - Runnable runnable = this.j; - synchronized (oVar.a) { - if (!oVar.l) { - long j = oVar.k - 1; - oVar.k = j; - int i = (j > 0 ? 1 : (j == 0 ? 0 : -1)); - if (i <= 0) { - if (i < 0) { - oVar.c(new IllegalStateException()); - } else { - oVar.a(); - try { - runnable.run(); - } catch (IllegalStateException e) { - oVar.c(e); - } catch (Exception e2) { - oVar.c(new IllegalStateException(e2)); - } - } - } - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/b2/e.java b/app/src/main/java/c/i/a/c/b2/e.java deleted file mode 100644 index 18709906bb..0000000000 --- a/app/src/main/java/c/i/a/c/b2/e.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.b2; - -import c.i.a.c.i2.f0; -import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; -import java.util.regex.Pattern; -/* compiled from: lambda */ -public final /* synthetic */ class e implements MediaCodecUtil.f { - public static final /* synthetic */ e a = new e(); - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecUtil.f - public final int a(Object obj) { - Pattern pattern = MediaCodecUtil.a; - String str = ((s) obj).a; - if (str.startsWith("OMX.google") || str.startsWith("c2.android")) { - return 1; - } - return (f0.a >= 26 || !str.equals("OMX.MTK.AUDIO.DECODER.RAW")) ? 0 : -1; - } -} diff --git a/app/src/main/java/c/i/a/c/b2/f.java b/app/src/main/java/c/i/a/c/b2/f.java deleted file mode 100644 index 25bf862788..0000000000 --- a/app/src/main/java/c/i/a/c/b2/f.java +++ /dev/null @@ -1,14 +0,0 @@ -package c.i.a.c.b2; - -import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; -import java.util.regex.Pattern; -/* compiled from: lambda */ -public final /* synthetic */ class f implements MediaCodecUtil.f { - public static final /* synthetic */ f a = new f(); - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecUtil.f - public final int a(Object obj) { - Pattern pattern = MediaCodecUtil.a; - return ((s) obj).a.startsWith("OMX.google") ? 1 : 0; - } -} diff --git a/app/src/main/java/c/i/a/c/b2/g.java b/app/src/main/java/c/i/a/c/b2/g.java deleted file mode 100644 index cf219f2d08..0000000000 --- a/app/src/main/java/c/i/a/c/b2/g.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.b2; - -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; -/* compiled from: lambda */ -public final /* synthetic */ class g implements MediaCodecUtil.f { - public final /* synthetic */ Format a; - - public /* synthetic */ g(Format format) { - this.a = format; - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecUtil.f - public final int a(Object obj) { - try { - return ((s) obj).e(this.a) ? 1 : 0; - } catch (MediaCodecUtil.DecoderQueryException unused) { - return -1; - } - } -} diff --git a/app/src/main/java/c/i/a/c/b2/h.java b/app/src/main/java/c/i/a/c/b2/h.java deleted file mode 100644 index 71c715ea5d..0000000000 --- a/app/src/main/java/c/i/a/c/b2/h.java +++ /dev/null @@ -1,18 +0,0 @@ -package c.i.a.c.b2; - -import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; -import java.util.Comparator; -/* compiled from: lambda */ -public final /* synthetic */ class h implements Comparator { - public final /* synthetic */ MediaCodecUtil.f i; - - public /* synthetic */ h(MediaCodecUtil.f fVar) { - this.i = fVar; - } - - @Override // java.util.Comparator - public final int compare(Object obj, Object obj2) { - MediaCodecUtil.f fVar = this.i; - return fVar.a(obj2) - fVar.a(obj); - } -} diff --git a/app/src/main/java/c/i/a/c/b2/i.java b/app/src/main/java/c/i/a/c/b2/i.java deleted file mode 100644 index 5537c61f5f..0000000000 --- a/app/src/main/java/c/i/a/c/b2/i.java +++ /dev/null @@ -1,24 +0,0 @@ -package c.i.a.c.b2; - -import android.media.MediaCodec; -import c.i.a.c.b2.r; -import c.i.a.c.j2.n; -import java.util.Objects; -/* compiled from: lambda */ -public final /* synthetic */ class i implements MediaCodec.OnFrameRenderedListener { - public final /* synthetic */ u a; - public final /* synthetic */ r.b b; - - public /* synthetic */ i(u uVar, r.b bVar) { - this.a = uVar; - this.b = bVar; - } - - @Override // android.media.MediaCodec.OnFrameRenderedListener - public final void onFrameRendered(MediaCodec mediaCodec, long j, long j2) { - u uVar = this.a; - r.b bVar = this.b; - Objects.requireNonNull(uVar); - ((n.b) bVar).b(uVar, j, j2); - } -} diff --git a/app/src/main/java/c/i/a/c/b2/j.java b/app/src/main/java/c/i/a/c/b2/j.java deleted file mode 100644 index 47eda3a14d..0000000000 --- a/app/src/main/java/c/i/a/c/b2/j.java +++ /dev/null @@ -1,16 +0,0 @@ -package c.i.a.c.b2; - -import android.media.MediaCodec; -/* compiled from: lambda */ -public final /* synthetic */ class j implements Runnable { - public final /* synthetic */ MediaCodec i; - - public /* synthetic */ j(MediaCodec mediaCodec) { - this.i = mediaCodec; - } - - @Override // java.lang.Runnable - public final void run() { - this.i.start(); - } -} diff --git a/app/src/main/java/c/i/a/c/b2/k.java b/app/src/main/java/c/i/a/c/b2/k.java deleted file mode 100644 index c4687e1858..0000000000 --- a/app/src/main/java/c/i/a/c/b2/k.java +++ /dev/null @@ -1,13 +0,0 @@ -package c.i.a.c.b2; - -import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; -import java.util.List; -/* compiled from: lambda */ -public final /* synthetic */ class k implements t { - public static final /* synthetic */ k b = new k(); - - @Override // c.i.a.c.b2.t - public final List a(String str, boolean z2, boolean z3) { - return MediaCodecUtil.e(str, z2, z3); - } -} diff --git a/app/src/main/java/c/i/a/c/b2/l.java b/app/src/main/java/c/i/a/c/b2/l.java deleted file mode 100644 index 5f18fa53e8..0000000000 --- a/app/src/main/java/c/i/a/c/b2/l.java +++ /dev/null @@ -1,297 +0,0 @@ -package c.i.a.c.b2; - -import android.media.MediaCodec; -import android.media.MediaCrypto; -import android.media.MediaFormat; -import android.os.Bundle; -import android.os.Handler; -import android.os.HandlerThread; -import android.view.Surface; -import androidx.annotation.Nullable; -import androidx.annotation.RequiresApi; -import c.c.a.a0.d; -import c.i.a.c.b2.n; -import c.i.a.c.b2.r; -import c.i.a.c.i2.f0; -import c.i.a.c.x1.b; -import java.nio.ByteBuffer; -import java.util.Objects; -/* compiled from: AsynchronousMediaCodecAdapter */ -@RequiresApi(23) -public final class l implements r { - public final MediaCodec a; - public final o b; - - /* renamed from: c reason: collision with root package name */ - public final n f813c; - public final boolean d; - public boolean e; - public int f = 0; - - public l(MediaCodec mediaCodec, HandlerThread handlerThread, HandlerThread handlerThread2, boolean z2, boolean z3, a aVar) { - this.a = mediaCodec; - this.b = new o(handlerThread); - this.f813c = new n(mediaCodec, handlerThread2, z2); - this.d = z3; - } - - public static String j(int i, String str) { - StringBuilder sb = new StringBuilder(str); - if (i == 1) { - sb.append("Audio"); - } else if (i == 2) { - sb.append("Video"); - } else { - sb.append("Unknown("); - sb.append(i); - sb.append(")"); - } - return sb.toString(); - } - - @Override // c.i.a.c.b2.r - public void a(int i, int i2, b bVar, long j, int i3) { - n nVar = this.f813c; - nVar.f(); - n.a e = n.e(); - e.a = i; - e.b = i2; - e.f815c = 0; - e.e = j; - e.f = i3; - MediaCodec.CryptoInfo cryptoInfo = e.d; - cryptoInfo.numSubSamples = bVar.f; - cryptoInfo.numBytesOfClearData = n.c(bVar.d, cryptoInfo.numBytesOfClearData); - cryptoInfo.numBytesOfEncryptedData = n.c(bVar.e, cryptoInfo.numBytesOfEncryptedData); - byte[] b = n.b(bVar.b, cryptoInfo.key); - Objects.requireNonNull(b); - cryptoInfo.key = b; - byte[] b2 = n.b(bVar.a, cryptoInfo.iv); - Objects.requireNonNull(b2); - cryptoInfo.iv = b2; - cryptoInfo.mode = bVar.f1075c; - if (f0.a >= 24) { - cryptoInfo.setPattern(new MediaCodec.CryptoInfo.Pattern(bVar.g, bVar.h)); - } - nVar.e.obtainMessage(1, e).sendToTarget(); - } - - @Override // c.i.a.c.b2.r - public void b(int i, long j) { - this.a.releaseOutputBuffer(i, j); - } - - @Override // c.i.a.c.b2.r - public int c() { - int i; - o oVar = this.b; - synchronized (oVar.a) { - i = -1; - if (!oVar.b()) { - IllegalStateException illegalStateException = oVar.m; - if (illegalStateException == null) { - MediaCodec.CodecException codecException = oVar.j; - if (codecException == null) { - c.i.a.c.i2.n nVar = oVar.d; - if (!(nVar.f967c == 0)) { - i = nVar.b(); - } - } else { - oVar.j = null; - throw codecException; - } - } else { - oVar.m = null; - throw illegalStateException; - } - } - } - return i; - } - - @Override // c.i.a.c.b2.r - public void configure(@Nullable MediaFormat mediaFormat, @Nullable Surface surface, @Nullable MediaCrypto mediaCrypto, int i) { - o oVar = this.b; - MediaCodec mediaCodec = this.a; - d.D(oVar.f816c == null); - oVar.b.start(); - Handler handler = new Handler(oVar.b.getLooper()); - mediaCodec.setCallback(oVar, handler); - oVar.f816c = handler; - this.a.configure(mediaFormat, surface, mediaCrypto, i); - this.f = 1; - } - - @Override // c.i.a.c.b2.r - public int d(MediaCodec.BufferInfo bufferInfo) { - int i; - o oVar = this.b; - synchronized (oVar.a) { - i = -1; - if (!oVar.b()) { - IllegalStateException illegalStateException = oVar.m; - if (illegalStateException == null) { - MediaCodec.CodecException codecException = oVar.j; - if (codecException == null) { - c.i.a.c.i2.n nVar = oVar.e; - if (!(nVar.f967c == 0)) { - i = nVar.b(); - if (i >= 0) { - d.H(oVar.h); - MediaCodec.BufferInfo remove = oVar.f.remove(); - bufferInfo.set(remove.offset, remove.size, remove.presentationTimeUs, remove.flags); - } else if (i == -2) { - oVar.h = oVar.g.remove(); - } - } - } else { - oVar.j = null; - throw codecException; - } - } else { - oVar.m = null; - throw illegalStateException; - } - } - } - return i; - } - - @Override // c.i.a.c.b2.r - public void e(r.b bVar, Handler handler) { - k(); - this.a.setOnFrameRenderedListener(new c(this, bVar), handler); - } - - @Override // c.i.a.c.b2.r - public void f(int i) { - k(); - this.a.setVideoScalingMode(i); - } - - @Override // c.i.a.c.b2.r - public void flush() { - this.f813c.d(); - this.a.flush(); - o oVar = this.b; - MediaCodec mediaCodec = this.a; - Objects.requireNonNull(mediaCodec); - j jVar = new j(mediaCodec); - synchronized (oVar.a) { - oVar.k++; - Handler handler = oVar.f816c; - int i = f0.a; - handler.post(new d(oVar, jVar)); - } - } - - @Override // c.i.a.c.b2.r - @Nullable - public ByteBuffer g(int i) { - return this.a.getInputBuffer(i); - } - - @Override // c.i.a.c.b2.r - public MediaFormat getOutputFormat() { - MediaFormat mediaFormat; - o oVar = this.b; - synchronized (oVar.a) { - mediaFormat = oVar.h; - if (mediaFormat == null) { - throw new IllegalStateException(); - } - } - return mediaFormat; - } - - @Override // c.i.a.c.b2.r - public void h(Surface surface) { - k(); - this.a.setOutputSurface(surface); - } - - @Override // c.i.a.c.b2.r - @Nullable - public ByteBuffer i(int i) { - return this.a.getOutputBuffer(i); - } - - public final void k() { - if (this.d) { - try { - this.f813c.a(); - } catch (InterruptedException e) { - Thread.currentThread().interrupt(); - throw new IllegalStateException(e); - } - } - } - - @Override // c.i.a.c.b2.r - public void queueInputBuffer(int i, int i2, int i3, long j, int i4) { - n nVar = this.f813c; - nVar.f(); - n.a e = n.e(); - e.a = i; - e.b = i2; - e.f815c = i3; - e.e = j; - e.f = i4; - Handler handler = nVar.e; - int i5 = f0.a; - handler.obtainMessage(0, e).sendToTarget(); - } - - @Override // c.i.a.c.b2.r - public void release() { - boolean z2 = true; - try { - if (this.f == 2) { - n nVar = this.f813c; - if (nVar.i) { - nVar.d(); - nVar.d.quit(); - } - nVar.i = false; - } - int i = this.f; - if (i == 1 || i == 2) { - o oVar = this.b; - synchronized (oVar.a) { - oVar.l = true; - oVar.b.quit(); - oVar.a(); - } - } - this.f = 3; - } finally { - if (!this.e) { - this.a.release(); - this.e = z2; - } - } - } - - @Override // c.i.a.c.b2.r - public void releaseOutputBuffer(int i, boolean z2) { - this.a.releaseOutputBuffer(i, z2); - } - - @Override // c.i.a.c.b2.r - public void setParameters(Bundle bundle) { - k(); - this.a.setParameters(bundle); - } - - @Override // c.i.a.c.b2.r - public void start() { - n nVar = this.f813c; - if (!nVar.i) { - nVar.d.start(); - nVar.e = new m(nVar, nVar.d.getLooper()); - nVar.i = true; - } - this.a.start(); - this.f = 2; - } -} diff --git a/app/src/main/java/c/i/a/c/b2/m.java b/app/src/main/java/c/i/a/c/b2/m.java deleted file mode 100644 index d8c95838f4..0000000000 --- a/app/src/main/java/c/i/a/c/b2/m.java +++ /dev/null @@ -1,66 +0,0 @@ -package c.i.a.c.b2; - -import android.media.MediaCodec; -import android.os.Handler; -import android.os.Looper; -import android.os.Message; -import c.i.a.c.b2.n; -import java.util.ArrayDeque; -import java.util.Objects; -/* compiled from: AsynchronousMediaCodecBufferEnqueuer */ -public class m extends Handler { - public final /* synthetic */ n a; - - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public m(n nVar, Looper looper) { - super(looper); - this.a = nVar; - } - - @Override // android.os.Handler - public void handleMessage(Message message) { - n.a aVar; - n nVar = this.a; - Objects.requireNonNull(nVar); - int i = message.what; - if (i == 0) { - aVar = (n.a) message.obj; - try { - nVar.f814c.queueInputBuffer(aVar.a, aVar.b, aVar.f815c, aVar.e, aVar.f); - } catch (RuntimeException e) { - nVar.f.set(e); - } - } else if (i != 1) { - if (i != 2) { - nVar.f.set(new IllegalStateException(String.valueOf(message.what))); - } else { - nVar.g.b(); - } - aVar = null; - } else { - aVar = (n.a) message.obj; - int i2 = aVar.a; - int i3 = aVar.b; - MediaCodec.CryptoInfo cryptoInfo = aVar.d; - long j = aVar.e; - int i4 = aVar.f; - try { - if (nVar.h) { - synchronized (n.b) { - nVar.f814c.queueSecureInputBuffer(i2, i3, cryptoInfo, j, i4); - } - } else { - nVar.f814c.queueSecureInputBuffer(i2, i3, cryptoInfo, j, i4); - } - } catch (RuntimeException e2) { - nVar.f.set(e2); - } - } - if (aVar != null) { - ArrayDeque arrayDeque = n.a; - synchronized (arrayDeque) { - arrayDeque.add(aVar); - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/b2/n.java b/app/src/main/java/c/i/a/c/b2/n.java deleted file mode 100644 index c1566abeee..0000000000 --- a/app/src/main/java/c/i/a/c/b2/n.java +++ /dev/null @@ -1,126 +0,0 @@ -package c.i.a.c.b2; - -import android.media.MediaCodec; -import android.os.Handler; -import android.os.HandlerThread; -import androidx.annotation.GuardedBy; -import androidx.annotation.Nullable; -import androidx.annotation.RequiresApi; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.j; -import java.util.ArrayDeque; -import java.util.Arrays; -import java.util.concurrent.atomic.AtomicReference; -/* compiled from: AsynchronousMediaCodecBufferEnqueuer */ -@RequiresApi(23) -public class n { - @GuardedBy("MESSAGE_PARAMS_INSTANCE_POOL") - public static final ArrayDeque a = new ArrayDeque<>(); - public static final Object b = new Object(); - - /* renamed from: c reason: collision with root package name */ - public final MediaCodec f814c; - public final HandlerThread d; - public Handler e; - public final AtomicReference f = new AtomicReference<>(); - public final j g; - public final boolean h; - public boolean i; - - /* compiled from: AsynchronousMediaCodecBufferEnqueuer */ - public static class a { - public int a; - public int b; - - /* renamed from: c reason: collision with root package name */ - public int f815c; - public final MediaCodec.CryptoInfo d = new MediaCodec.CryptoInfo(); - public long e; - public int f; - } - - /* JADX WARNING: Code restructure failed: missing block: B:8:0x0033, code lost: - if ((r4.contains("samsung") || r4.contains("motorola")) != false) goto L_0x0035; - */ - public n(MediaCodec mediaCodec, HandlerThread handlerThread, boolean z2) { - j jVar = new j(); - this.f814c = mediaCodec; - this.d = handlerThread; - this.g = jVar; - boolean z3 = false; - if (!z2) { - String K = f0.K(f0.f965c); - } - z3 = true; - this.h = z3; - } - - @Nullable - public static byte[] b(@Nullable byte[] bArr, @Nullable byte[] bArr2) { - if (bArr == null) { - return bArr2; - } - if (bArr2 == null || bArr2.length < bArr.length) { - return Arrays.copyOf(bArr, bArr.length); - } - System.arraycopy(bArr, 0, bArr2, 0, bArr.length); - return bArr2; - } - - @Nullable - public static int[] c(@Nullable int[] iArr, @Nullable int[] iArr2) { - if (iArr == null) { - return iArr2; - } - if (iArr2 == null || iArr2.length < iArr.length) { - return Arrays.copyOf(iArr, iArr.length); - } - System.arraycopy(iArr, 0, iArr2, 0, iArr.length); - return iArr2; - } - - public static a e() { - ArrayDeque arrayDeque = a; - synchronized (arrayDeque) { - if (arrayDeque.isEmpty()) { - return new a(); - } - return arrayDeque.removeFirst(); - } - } - - public final void a() throws InterruptedException { - this.g.a(); - Handler handler = this.e; - int i = f0.a; - handler.obtainMessage(2).sendToTarget(); - j jVar = this.g; - synchronized (jVar) { - while (!jVar.b) { - jVar.wait(); - } - } - } - - public void d() { - if (this.i) { - try { - Handler handler = this.e; - int i = f0.a; - handler.removeCallbacksAndMessages(null); - a(); - f(); - } catch (InterruptedException e) { - Thread.currentThread().interrupt(); - throw new IllegalStateException(e); - } - } - } - - public final void f() { - RuntimeException andSet = this.f.getAndSet(null); - if (andSet != null) { - throw andSet; - } - } -} diff --git a/app/src/main/java/c/i/a/c/b2/o.java b/app/src/main/java/c/i/a/c/b2/o.java deleted file mode 100644 index 0d03aac703..0000000000 --- a/app/src/main/java/c/i/a/c/b2/o.java +++ /dev/null @@ -1,119 +0,0 @@ -package c.i.a.c.b2; - -import android.media.MediaCodec; -import android.media.MediaFormat; -import android.os.Handler; -import android.os.HandlerThread; -import androidx.annotation.GuardedBy; -import androidx.annotation.NonNull; -import androidx.annotation.Nullable; -import androidx.annotation.RequiresApi; -import c.i.a.c.i2.n; -import java.util.ArrayDeque; -/* compiled from: AsynchronousMediaCodecCallback */ -@RequiresApi(23) -public final class o extends MediaCodec.Callback { - public final Object a = new Object(); - public final HandlerThread b; - - /* renamed from: c reason: collision with root package name */ - public Handler f816c; - @GuardedBy("lock") - public final n d; - @GuardedBy("lock") - public final n e; - @GuardedBy("lock") - public final ArrayDeque f; - @GuardedBy("lock") - public final ArrayDeque g; - @Nullable - @GuardedBy("lock") - public MediaFormat h; - @Nullable - @GuardedBy("lock") - public MediaFormat i; - @Nullable - @GuardedBy("lock") - public MediaCodec.CodecException j; - @GuardedBy("lock") - public long k; - @GuardedBy("lock") - public boolean l; - @Nullable - @GuardedBy("lock") - public IllegalStateException m; - - public o(HandlerThread handlerThread) { - this.b = handlerThread; - this.d = new n(); - this.e = new n(); - this.f = new ArrayDeque<>(); - this.g = new ArrayDeque<>(); - } - - @GuardedBy("lock") - public final void a() { - if (!this.g.isEmpty()) { - this.i = this.g.getLast(); - } - n nVar = this.d; - nVar.a = 0; - nVar.b = -1; - nVar.f967c = 0; - n nVar2 = this.e; - nVar2.a = 0; - nVar2.b = -1; - nVar2.f967c = 0; - this.f.clear(); - this.g.clear(); - this.j = null; - } - - @GuardedBy("lock") - public final boolean b() { - return this.k > 0 || this.l; - } - - public final void c(IllegalStateException illegalStateException) { - synchronized (this.a) { - this.m = illegalStateException; - } - } - - @Override // android.media.MediaCodec.Callback - public void onError(@NonNull MediaCodec mediaCodec, @NonNull MediaCodec.CodecException codecException) { - synchronized (this.a) { - this.j = codecException; - } - } - - @Override // android.media.MediaCodec.Callback - public void onInputBufferAvailable(@NonNull MediaCodec mediaCodec, int i) { - synchronized (this.a) { - this.d.a(i); - } - } - - @Override // android.media.MediaCodec.Callback - public void onOutputBufferAvailable(@NonNull MediaCodec mediaCodec, int i, @NonNull MediaCodec.BufferInfo bufferInfo) { - synchronized (this.a) { - MediaFormat mediaFormat = this.i; - if (mediaFormat != null) { - this.e.a(-2); - this.g.add(mediaFormat); - this.i = null; - } - this.e.a(i); - this.f.add(bufferInfo); - } - } - - @Override // android.media.MediaCodec.Callback - public void onOutputFormatChanged(@NonNull MediaCodec mediaCodec, @NonNull MediaFormat mediaFormat) { - synchronized (this.a) { - this.e.a(-2); - this.g.add(mediaFormat); - this.i = null; - } - } -} diff --git a/app/src/main/java/c/i/a/c/b2/p.java b/app/src/main/java/c/i/a/c/b2/p.java deleted file mode 100644 index 6ebdfc9406..0000000000 --- a/app/src/main/java/c/i/a/c/b2/p.java +++ /dev/null @@ -1,71 +0,0 @@ -package c.i.a.c.b2; - -import c.c.a.a0.d; -import com.google.android.exoplayer2.decoder.DecoderInputBuffer; -import java.nio.ByteBuffer; -/* compiled from: BatchBuffer */ -public final class p extends DecoderInputBuffer { - public long q; - - /* renamed from: r reason: collision with root package name */ - public int f817r; - public int s = 32; - - public p() { - super(2); - } - - @Override // com.google.android.exoplayer2.decoder.DecoderInputBuffer - public void p() { - super.p(); - this.f817r = 0; - } - - /* JADX WARNING: Code restructure failed: missing block: B:13:0x0049, code lost: - if ((r0.remaining() + r3.position()) > 3072000) goto L_0x0028; - */ - /* JADX WARNING: Removed duplicated region for block: B:15:0x004e A[RETURN] */ - /* JADX WARNING: Removed duplicated region for block: B:16:0x004f */ - public boolean u(DecoderInputBuffer decoderInputBuffer) { - boolean z2; - d.k(!decoderInputBuffer.t()); - d.k(!decoderInputBuffer.l()); - d.k(!decoderInputBuffer.n()); - if (v()) { - if (this.f817r < this.s && decoderInputBuffer.m() == m()) { - ByteBuffer byteBuffer = decoderInputBuffer.k; - if (!(byteBuffer == null || (r3 = this.k) == null)) { - } - } - z2 = false; - if (z2) { - return false; - } - int i = this.f817r; - this.f817r = i + 1; - if (i == 0) { - this.m = decoderInputBuffer.m; - if (decoderInputBuffer.o()) { - this.i = 1; - } - } - if (decoderInputBuffer.m()) { - this.i = Integer.MIN_VALUE; - } - ByteBuffer byteBuffer2 = decoderInputBuffer.k; - if (byteBuffer2 != null) { - r(byteBuffer2.remaining()); - this.k.put(byteBuffer2); - } - this.q = decoderInputBuffer.m; - return true; - } - z2 = true; - if (z2) { - } - } - - public boolean v() { - return this.f817r > 0; - } -} diff --git a/app/src/main/java/c/i/a/c/b2/q.java b/app/src/main/java/c/i/a/c/b2/q.java deleted file mode 100644 index de1997a389..0000000000 --- a/app/src/main/java/c/i/a/c/b2/q.java +++ /dev/null @@ -1,9 +0,0 @@ -package c.i.a.c.b2; -/* compiled from: C2Mp3TimestampTracker */ -public final class q { - public long a; - public long b; - - /* renamed from: c reason: collision with root package name */ - public boolean f818c; -} diff --git a/app/src/main/java/c/i/a/c/b2/r.java b/app/src/main/java/c/i/a/c/b2/r.java deleted file mode 100644 index 10156369ac..0000000000 --- a/app/src/main/java/c/i/a/c/b2/r.java +++ /dev/null @@ -1,66 +0,0 @@ -package c.i.a.c.b2; - -import android.media.MediaCodec; -import android.media.MediaCrypto; -import android.media.MediaFormat; -import android.os.Bundle; -import android.os.Handler; -import android.view.Surface; -import androidx.annotation.Nullable; -import androidx.annotation.RequiresApi; -import c.i.a.c.b2.u; -import java.nio.ByteBuffer; -/* compiled from: MediaCodecAdapter */ -public interface r { - - /* compiled from: MediaCodecAdapter */ - public interface a { - public static final a a = new u.b(); - - r a(MediaCodec mediaCodec); - } - - /* compiled from: MediaCodecAdapter */ - public interface b { - } - - void a(int i, int i2, c.i.a.c.x1.b bVar, long j, int i3); - - @RequiresApi(21) - void b(int i, long j); - - int c(); - - void configure(@Nullable MediaFormat mediaFormat, @Nullable Surface surface, @Nullable MediaCrypto mediaCrypto, int i); - - int d(MediaCodec.BufferInfo bufferInfo); - - @RequiresApi(23) - void e(b bVar, Handler handler); - - void f(int i); - - void flush(); - - @Nullable - ByteBuffer g(int i); - - MediaFormat getOutputFormat(); - - @RequiresApi(23) - void h(Surface surface); - - @Nullable - ByteBuffer i(int i); - - void queueInputBuffer(int i, int i2, int i3, long j, int i4); - - void release(); - - void releaseOutputBuffer(int i, boolean z2); - - @RequiresApi(19) - void setParameters(Bundle bundle); - - void start(); -} diff --git a/app/src/main/java/c/i/a/c/b2/s.java b/app/src/main/java/c/i/a/c/b2/s.java deleted file mode 100644 index c546d5db12..0000000000 --- a/app/src/main/java/c/i/a/c/b2/s.java +++ /dev/null @@ -1,373 +0,0 @@ -package c.i.a.c.b2; - -import android.graphics.Point; -import android.media.MediaCodecInfo; -import android.util.Log; -import android.util.Pair; -import androidx.annotation.Nullable; -import androidx.annotation.RequiresApi; -import androidx.annotation.VisibleForTesting; -import c.d.b.a.a; -import c.i.a.c.i2.f0; -import c.i.a.c.x1.e; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; -import java.util.Objects; -/* compiled from: MediaCodecInfo */ -public final class s { - public final String a; - public final String b; - - /* renamed from: c reason: collision with root package name */ - public final String f819c; - @Nullable - public final MediaCodecInfo.CodecCapabilities d; - public final boolean e; - public final boolean f; - public final boolean g; - - @VisibleForTesting - public s(String str, String str2, String str3, @Nullable MediaCodecInfo.CodecCapabilities codecCapabilities, boolean z2, boolean z3, boolean z4, boolean z5, boolean z6, boolean z7) { - Objects.requireNonNull(str); - this.a = str; - this.b = str2; - this.f819c = str3; - this.d = codecCapabilities; - this.e = z5; - this.f = z7; - this.g = c.i.a.c.i2.s.j(str2); - } - - @RequiresApi(21) - public static Point a(MediaCodecInfo.VideoCapabilities videoCapabilities, int i, int i2) { - int widthAlignment = videoCapabilities.getWidthAlignment(); - int heightAlignment = videoCapabilities.getHeightAlignment(); - return new Point(f0.f(i, widthAlignment) * widthAlignment, f0.f(i2, heightAlignment) * heightAlignment); - } - - @RequiresApi(21) - public static boolean b(MediaCodecInfo.VideoCapabilities videoCapabilities, int i, int i2, double d) { - Point a = a(videoCapabilities, i, i2); - int i3 = a.x; - int i4 = a.y; - return (d == -1.0d || d < 1.0d) ? videoCapabilities.isSizeSupported(i3, i4) : videoCapabilities.areSizeAndRateSupported(i3, i4, Math.floor(d)); - } - - /* JADX WARNING: Code restructure failed: missing block: B:44:0x0076, code lost: - if ((c.i.a.c.i2.f0.a >= 21 && r15.isFeatureSupported("secure-playback")) != false) goto L_0x007b; - */ - /* JADX WARNING: Removed duplicated region for block: B:23:0x0048 */ - /* JADX WARNING: Removed duplicated region for block: B:27:0x004f */ - /* JADX WARNING: Removed duplicated region for block: B:37:0x0065 */ - public static s i(String str, String str2, String str3, @Nullable MediaCodecInfo.CodecCapabilities codecCapabilities, boolean z2, boolean z3, boolean z4, boolean z5, boolean z6) { - boolean z7; - boolean z8; - boolean z9; - boolean z10; - if (!z5 && codecCapabilities != null) { - int i = f0.a; - if (i >= 19 && codecCapabilities.isFeatureSupported("adaptive-playback")) { - if (i <= 22) { - String str4 = f0.d; - if (("ODROID-XU3".equals(str4) || "Nexus 10".equals(str4)) && ("OMX.Exynos.AVC.Decoder".equals(str) || "OMX.Exynos.AVC.Decoder.secure".equals(str))) { - z10 = true; - if (!z10) { - z7 = true; - if (codecCapabilities != null) { - if (f0.a >= 21 && codecCapabilities.isFeatureSupported("tunneled-playback")) { - z8 = true; - if (!z6) { - if (codecCapabilities != null) { - } - z9 = false; - return new s(str, str2, str3, codecCapabilities, z2, z3, z4, z7, z8, z9); - } - z9 = true; - return new s(str, str2, str3, codecCapabilities, z2, z3, z4, z7, z8, z9); - } - } - z8 = false; - if (!z6) { - } - z9 = true; - return new s(str, str2, str3, codecCapabilities, z2, z3, z4, z7, z8, z9); - } - } - } - z10 = false; - if (!z10) { - } - } - } - z7 = false; - if (codecCapabilities != null) { - } - z8 = false; - if (!z6) { - } - z9 = true; - return new s(str, str2, str3, codecCapabilities, z2, z3, z4, z7, z8, z9); - } - - public e c(Format format, Format format2) { - boolean z2 = false; - int i = !f0.a(format.t, format2.t) ? 8 : 0; - if (this.g) { - if (format.B != format2.B) { - i |= 1024; - } - if (!this.e && !(format.f2697y == format2.f2697y && format.f2698z == format2.f2698z)) { - i |= 512; - } - if (!f0.a(format.F, format2.F)) { - i |= 2048; - } - String str = this.a; - if (f0.d.startsWith("SM-T230") && "OMX.MARVELL.VIDEO.HW.CODA7542DECODER".equals(str)) { - z2 = true; - } - if (z2 && !format.b(format2)) { - i |= 2; - } - if (i == 0) { - return new e(this.a, format, format2, format.b(format2) ? 3 : 2, 0); - } - } else { - if (format.G != format2.G) { - i |= 4096; - } - if (format.H != format2.H) { - i |= 8192; - } - if (format.I != format2.I) { - i |= 16384; - } - if (i == 0 && "audio/mp4a-latm".equals(this.b)) { - Pair c2 = MediaCodecUtil.c(format); - Pair c3 = MediaCodecUtil.c(format2); - if (!(c2 == null || c3 == null)) { - int intValue = ((Integer) c2.first).intValue(); - int intValue2 = ((Integer) c3.first).intValue(); - if (intValue == 42 && intValue2 == 42) { - return new e(this.a, format, format2, 3, 0); - } - } - } - if (!format.b(format2)) { - i |= 32; - } - if ("audio/opus".equals(this.b)) { - i |= 2; - } - if (i == 0) { - return new e(this.a, format, format2, 1, 0); - } - } - return new e(this.a, format, format2, 0, i); - } - - public MediaCodecInfo.CodecProfileLevel[] d() { - MediaCodecInfo.CodecProfileLevel[] codecProfileLevelArr; - MediaCodecInfo.CodecCapabilities codecCapabilities = this.d; - return (codecCapabilities == null || (codecProfileLevelArr = codecCapabilities.profileLevels) == null) ? new MediaCodecInfo.CodecProfileLevel[0] : codecProfileLevelArr; - } - - /* JADX WARNING: Removed duplicated region for block: B:156:? A[RETURN, SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:157:? A[RETURN, SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:70:0x0118 A[RETURN] */ - /* JADX WARNING: Removed duplicated region for block: B:71:0x0119 */ - public boolean e(Format format) throws MediaCodecUtil.DecoderQueryException { - boolean z2; - boolean z3; - boolean z4; - int i; - String c2; - MediaCodecInfo.VideoCapabilities videoCapabilities; - String str = format.q; - int i2 = 16; - boolean z5 = false; - if (!(str == null || this.b == null || (c2 = c.i.a.c.i2.s.c(str)) == null)) { - if (!this.b.equals(c2)) { - StringBuilder O = a.O("codec.mime "); - O.append(format.q); - O.append(", "); - O.append(c2); - h(O.toString()); - } else { - Pair c3 = MediaCodecUtil.c(format); - if (c3 != null) { - int intValue = ((Integer) c3.first).intValue(); - int intValue2 = ((Integer) c3.second).intValue(); - if (this.g || intValue == 42) { - MediaCodecInfo.CodecProfileLevel[] d = d(); - if (f0.a <= 23 && "video/x-vnd.on2.vp9".equals(this.b) && d.length == 0) { - MediaCodecInfo.CodecCapabilities codecCapabilities = this.d; - int intValue3 = (codecCapabilities == null || (videoCapabilities = codecCapabilities.getVideoCapabilities()) == null) ? 0 : videoCapabilities.getBitrateRange().getUpper().intValue(); - int i3 = intValue3 >= 180000000 ? 1024 : intValue3 >= 120000000 ? 512 : intValue3 >= 60000000 ? 256 : intValue3 >= 30000000 ? 128 : intValue3 >= 18000000 ? 64 : intValue3 >= 12000000 ? 32 : intValue3 >= 7200000 ? 16 : intValue3 >= 3600000 ? 8 : intValue3 >= 1800000 ? 4 : intValue3 >= 800000 ? 2 : 1; - MediaCodecInfo.CodecProfileLevel codecProfileLevel = new MediaCodecInfo.CodecProfileLevel(); - codecProfileLevel.profile = 1; - codecProfileLevel.level = i3; - d = new MediaCodecInfo.CodecProfileLevel[]{codecProfileLevel}; - } - for (MediaCodecInfo.CodecProfileLevel codecProfileLevel2 : d) { - if (codecProfileLevel2.profile != intValue || codecProfileLevel2.level < intValue2) { - } - } - StringBuilder O2 = a.O("codec.profileLevel, "); - O2.append(format.q); - O2.append(", "); - O2.append(c2); - h(O2.toString()); - } - } - } - z2 = false; - if (z2) { - return false; - } - if (this.g) { - int i4 = format.f2697y; - if (i4 <= 0 || (i = format.f2698z) <= 0) { - return true; - } - if (f0.a >= 21) { - return g(i4, i, (double) format.A); - } - if (i4 * i <= MediaCodecUtil.i()) { - z5 = true; - } - if (!z5) { - StringBuilder O3 = a.O("legacyFrameSize, "); - O3.append(format.f2697y); - O3.append("x"); - O3.append(format.f2698z); - h(O3.toString()); - } - return z5; - } - int i5 = f0.a; - if (i5 >= 21) { - int i6 = format.H; - if (i6 != -1) { - MediaCodecInfo.CodecCapabilities codecCapabilities2 = this.d; - if (codecCapabilities2 == null) { - h("sampleRate.caps"); - } else { - MediaCodecInfo.AudioCapabilities audioCapabilities = codecCapabilities2.getAudioCapabilities(); - if (audioCapabilities == null) { - h("sampleRate.aCaps"); - } else if (!audioCapabilities.isSampleRateSupported(i6)) { - h("sampleRate.support, " + i6); - } else { - z4 = true; - if (!z4) { - return false; - } - } - } - z4 = false; - if (!z4) { - } - } - int i7 = format.G; - if (i7 != -1) { - MediaCodecInfo.CodecCapabilities codecCapabilities3 = this.d; - if (codecCapabilities3 == null) { - h("channelCount.caps"); - } else { - MediaCodecInfo.AudioCapabilities audioCapabilities2 = codecCapabilities3.getAudioCapabilities(); - if (audioCapabilities2 == null) { - h("channelCount.aCaps"); - } else { - String str2 = this.a; - String str3 = this.b; - int maxInputChannelCount = audioCapabilities2.getMaxInputChannelCount(); - if (maxInputChannelCount <= 1 && ((i5 < 26 || maxInputChannelCount <= 0) && !"audio/mpeg".equals(str3) && !"audio/3gpp".equals(str3) && !"audio/amr-wb".equals(str3) && !"audio/mp4a-latm".equals(str3) && !"audio/vorbis".equals(str3) && !"audio/opus".equals(str3) && !"audio/raw".equals(str3) && !"audio/flac".equals(str3) && !"audio/g711-alaw".equals(str3) && !"audio/g711-mlaw".equals(str3) && !"audio/gsm".equals(str3))) { - if ("audio/ac3".equals(str3)) { - i2 = 6; - } else if (!"audio/eac3".equals(str3)) { - i2 = 30; - } - Log.w("MediaCodecInfo", "AssumedMaxChannelAdjustment: " + str2 + ", [" + maxInputChannelCount + " to " + i2 + "]"); - maxInputChannelCount = i2; - } - if (maxInputChannelCount < i7) { - h("channelCount.support, " + i7); - } else { - z3 = true; - if (z3) { - return false; - } - } - } - } - z3 = false; - if (z3) { - } - } - } - return true; - } - z2 = true; - if (z2) { - } - } - - public boolean f(Format format) { - if (this.g) { - return this.e; - } - Pair c2 = MediaCodecUtil.c(format); - return c2 != null && ((Integer) c2.first).intValue() == 42; - } - - @RequiresApi(21) - public boolean g(int i, int i2, double d) { - MediaCodecInfo.CodecCapabilities codecCapabilities = this.d; - if (codecCapabilities == null) { - h("sizeAndRate.caps"); - return false; - } - MediaCodecInfo.VideoCapabilities videoCapabilities = codecCapabilities.getVideoCapabilities(); - if (videoCapabilities == null) { - h("sizeAndRate.vCaps"); - return false; - } - if (!b(videoCapabilities, i, i2, d)) { - if (i < i2) { - if ((!"OMX.MTK.VIDEO.DECODER.HEVC".equals(this.a) || !"mcv5a".equals(f0.b)) && b(videoCapabilities, i2, i, d)) { - StringBuilder Q = a.Q("sizeAndRate.rotated, ", i, "x", i2, "x"); - Q.append(d); - StringBuilder U = a.U("AssumedSupport [", Q.toString(), "] ["); - U.append(this.a); - U.append(", "); - U.append(this.b); - U.append("] ["); - U.append(f0.e); - U.append("]"); - Log.d("MediaCodecInfo", U.toString()); - } - } - StringBuilder Q2 = a.Q("sizeAndRate.support, ", i, "x", i2, "x"); - Q2.append(d); - h(Q2.toString()); - return false; - } - return true; - } - - public final void h(String str) { - StringBuilder U = a.U("NoSupport [", str, "] ["); - U.append(this.a); - U.append(", "); - U.append(this.b); - U.append("] ["); - U.append(f0.e); - U.append("]"); - Log.d("MediaCodecInfo", U.toString()); - } - - public String toString() { - return this.a; - } -} diff --git a/app/src/main/java/c/i/a/c/b2/t.java b/app/src/main/java/c/i/a/c/b2/t.java deleted file mode 100644 index ea74315de3..0000000000 --- a/app/src/main/java/c/i/a/c/b2/t.java +++ /dev/null @@ -1,10 +0,0 @@ -package c.i.a.c.b2; - -import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; -import java.util.List; -/* compiled from: MediaCodecSelector */ -public interface t { - public static final /* synthetic */ int a = 0; - - List a(String str, boolean z2, boolean z3) throws MediaCodecUtil.DecoderQueryException; -} diff --git a/app/src/main/java/c/i/a/c/b2/u.java b/app/src/main/java/c/i/a/c/b2/u.java deleted file mode 100644 index 6fa34a4344..0000000000 --- a/app/src/main/java/c/i/a/c/b2/u.java +++ /dev/null @@ -1,140 +0,0 @@ -package c.i.a.c.b2; - -import android.media.MediaCodec; -import android.media.MediaCrypto; -import android.media.MediaFormat; -import android.os.Bundle; -import android.os.Handler; -import android.view.Surface; -import androidx.annotation.Nullable; -import androidx.annotation.RequiresApi; -import c.i.a.c.b2.r; -import c.i.a.c.i2.f0; -import java.nio.ByteBuffer; -/* compiled from: SynchronousMediaCodecAdapter */ -public final class u implements r { - public final MediaCodec a; - @Nullable - public ByteBuffer[] b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public ByteBuffer[] f820c; - - /* compiled from: SynchronousMediaCodecAdapter */ - public static final class b implements r.a { - @Override // c.i.a.c.b2.r.a - public r a(MediaCodec mediaCodec) { - return new u(mediaCodec, null); - } - } - - public u(MediaCodec mediaCodec, a aVar) { - this.a = mediaCodec; - } - - @Override // c.i.a.c.b2.r - public void a(int i, int i2, c.i.a.c.x1.b bVar, long j, int i3) { - this.a.queueSecureInputBuffer(i, i2, bVar.i, j, i3); - } - - @Override // c.i.a.c.b2.r - @RequiresApi(21) - public void b(int i, long j) { - this.a.releaseOutputBuffer(i, j); - } - - @Override // c.i.a.c.b2.r - public int c() { - return this.a.dequeueInputBuffer(0); - } - - @Override // c.i.a.c.b2.r - public void configure(@Nullable MediaFormat mediaFormat, @Nullable Surface surface, @Nullable MediaCrypto mediaCrypto, int i) { - this.a.configure(mediaFormat, surface, mediaCrypto, i); - } - - @Override // c.i.a.c.b2.r - public int d(MediaCodec.BufferInfo bufferInfo) { - int dequeueOutputBuffer; - do { - dequeueOutputBuffer = this.a.dequeueOutputBuffer(bufferInfo, 0); - if (dequeueOutputBuffer == -3 && f0.a < 21) { - this.f820c = this.a.getOutputBuffers(); - continue; - } - } while (dequeueOutputBuffer == -3); - return dequeueOutputBuffer; - } - - @Override // c.i.a.c.b2.r - @RequiresApi(23) - public void e(r.b bVar, Handler handler) { - this.a.setOnFrameRenderedListener(new i(this, bVar), handler); - } - - @Override // c.i.a.c.b2.r - public void f(int i) { - this.a.setVideoScalingMode(i); - } - - @Override // c.i.a.c.b2.r - public void flush() { - this.a.flush(); - } - - @Override // c.i.a.c.b2.r - @Nullable - public ByteBuffer g(int i) { - return f0.a >= 21 ? this.a.getInputBuffer(i) : this.b[i]; - } - - @Override // c.i.a.c.b2.r - public MediaFormat getOutputFormat() { - return this.a.getOutputFormat(); - } - - @Override // c.i.a.c.b2.r - @RequiresApi(23) - public void h(Surface surface) { - this.a.setOutputSurface(surface); - } - - @Override // c.i.a.c.b2.r - @Nullable - public ByteBuffer i(int i) { - return f0.a >= 21 ? this.a.getOutputBuffer(i) : this.f820c[i]; - } - - @Override // c.i.a.c.b2.r - public void queueInputBuffer(int i, int i2, int i3, long j, int i4) { - this.a.queueInputBuffer(i, i2, i3, j, i4); - } - - @Override // c.i.a.c.b2.r - public void release() { - this.b = null; - this.f820c = null; - this.a.release(); - } - - @Override // c.i.a.c.b2.r - public void releaseOutputBuffer(int i, boolean z2) { - this.a.releaseOutputBuffer(i, z2); - } - - @Override // c.i.a.c.b2.r - @RequiresApi(19) - public void setParameters(Bundle bundle) { - this.a.setParameters(bundle); - } - - @Override // c.i.a.c.b2.r - public void start() { - this.a.start(); - if (f0.a < 21) { - this.b = this.a.getInputBuffers(); - this.f820c = this.a.getOutputBuffers(); - } - } -} diff --git a/app/src/main/java/c/i/a/c/b3/a.java b/app/src/main/java/c/i/a/c/b3/a.java new file mode 100644 index 0000000000..5ca7ecb9f4 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/a.java @@ -0,0 +1,60 @@ +package c.i.a.c.b3; + +import android.graphics.Bitmap; +import android.os.Bundle; +import android.text.Layout; +import androidx.core.view.ViewCompat; +import c.i.a.c.w0; +/* compiled from: lambda */ +public final /* synthetic */ class a implements w0.a { + public static final /* synthetic */ a a = new a(); + + @Override // c.i.a.c.w0.a + public final w0 a(Bundle bundle) { + int i; + float f; + float f2; + int i2; + int i3; + boolean z2; + boolean z3 = false; + CharSequence charSequence = bundle.getCharSequence(b.b(0)); + CharSequence charSequence2 = charSequence != null ? charSequence : null; + Layout.Alignment alignment = (Layout.Alignment) bundle.getSerializable(b.b(1)); + Layout.Alignment alignment2 = alignment != null ? alignment : null; + Layout.Alignment alignment3 = (Layout.Alignment) bundle.getSerializable(b.b(2)); + Layout.Alignment alignment4 = alignment3 != null ? alignment3 : null; + Bitmap bitmap = (Bitmap) bundle.getParcelable(b.b(3)); + Bitmap bitmap2 = bitmap != null ? bitmap : null; + if (!bundle.containsKey(b.b(4)) || !bundle.containsKey(b.b(5))) { + f = -3.4028235E38f; + i = Integer.MIN_VALUE; + } else { + f = bundle.getFloat(b.b(4)); + i = bundle.getInt(b.b(5)); + } + int i4 = bundle.containsKey(b.b(6)) ? bundle.getInt(b.b(6)) : Integer.MIN_VALUE; + float f3 = bundle.containsKey(b.b(7)) ? bundle.getFloat(b.b(7)) : -3.4028235E38f; + int i5 = bundle.containsKey(b.b(8)) ? bundle.getInt(b.b(8)) : Integer.MIN_VALUE; + if (!bundle.containsKey(b.b(10)) || !bundle.containsKey(b.b(9))) { + i2 = Integer.MIN_VALUE; + f2 = -3.4028235E38f; + } else { + f2 = bundle.getFloat(b.b(10)); + i2 = bundle.getInt(b.b(9)); + } + float f4 = bundle.containsKey(b.b(11)) ? bundle.getFloat(b.b(11)) : -3.4028235E38f; + float f5 = bundle.containsKey(b.b(12)) ? bundle.getFloat(b.b(12)) : -3.4028235E38f; + if (bundle.containsKey(b.b(13))) { + i3 = bundle.getInt(b.b(13)); + z2 = true; + } else { + z2 = false; + i3 = ViewCompat.MEASURED_STATE_MASK; + } + if (bundle.getBoolean(b.b(14), false)) { + z3 = z2; + } + return new b(charSequence2, alignment2, alignment4, bitmap2, f, i, i4, f3, i5, i2, f2, f4, f5, z3, i3, bundle.containsKey(b.b(15)) ? bundle.getInt(b.b(15)) : Integer.MIN_VALUE, bundle.containsKey(b.b(16)) ? bundle.getFloat(b.b(16)) : 0.0f, null); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/b.java b/app/src/main/java/c/i/a/c/b3/b.java new file mode 100644 index 0000000000..05bc912f55 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/b.java @@ -0,0 +1,176 @@ +package c.i.a.c.b3; + +import android.graphics.Bitmap; +import android.text.Layout; +import android.text.Spanned; +import android.text.SpannedString; +import android.text.TextUtils; +import androidx.annotation.ColorInt; +import androidx.annotation.Nullable; +import androidx.core.view.ViewCompat; +import c.c.a.a0.d; +import c.i.a.c.w0; +import java.util.Arrays; +import java.util.Objects; +/* compiled from: Cue */ +public final class b implements w0 { + public static final b i = new b("", null, null, null, -3.4028235E38f, Integer.MIN_VALUE, Integer.MIN_VALUE, -3.4028235E38f, Integer.MIN_VALUE, Integer.MIN_VALUE, -3.4028235E38f, -3.4028235E38f, -3.4028235E38f, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null); + public static final w0.a j = a.a; + public final float A; + @Nullable + public final CharSequence k; + @Nullable + public final Layout.Alignment l; + @Nullable + public final Layout.Alignment m; + @Nullable + public final Bitmap n; + public final float o; + public final int p; + public final int q; + public final float r; + + /* renamed from: s reason: collision with root package name */ + public final int f675s; + public final float t; + public final float u; + public final boolean v; + public final int w; + + /* renamed from: x reason: collision with root package name */ + public final int f676x; + + /* renamed from: y reason: collision with root package name */ + public final float f677y; + + /* renamed from: z reason: collision with root package name */ + public final int f678z; + + /* compiled from: Cue */ + /* renamed from: c.i.a.c.b3.b$b reason: collision with other inner class name */ + public static final class C0086b { + @Nullable + public CharSequence a; + @Nullable + public Bitmap b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public Layout.Alignment f679c; + @Nullable + public Layout.Alignment d; + public float e; + public int f; + public int g; + public float h; + public int i; + public int j; + public float k; + public float l; + public float m; + public boolean n; + @ColorInt + public int o; + public int p; + public float q; + + public C0086b() { + this.a = null; + this.b = null; + this.f679c = null; + this.d = null; + this.e = -3.4028235E38f; + this.f = Integer.MIN_VALUE; + this.g = Integer.MIN_VALUE; + this.h = -3.4028235E38f; + this.i = Integer.MIN_VALUE; + this.j = Integer.MIN_VALUE; + this.k = -3.4028235E38f; + this.l = -3.4028235E38f; + this.m = -3.4028235E38f; + this.n = false; + this.o = ViewCompat.MEASURED_STATE_MASK; + this.p = Integer.MIN_VALUE; + } + + public C0086b(b bVar, a aVar) { + this.a = bVar.k; + this.b = bVar.n; + this.f679c = bVar.l; + this.d = bVar.m; + this.e = bVar.o; + this.f = bVar.p; + this.g = bVar.q; + this.h = bVar.r; + this.i = bVar.f675s; + this.j = bVar.f676x; + this.k = bVar.f677y; + this.l = bVar.t; + this.m = bVar.u; + this.n = bVar.v; + this.o = bVar.w; + this.p = bVar.f678z; + this.q = bVar.A; + } + + public b a() { + return new b(this.a, this.f679c, this.d, this.b, this.e, this.f, this.g, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.o, this.p, this.q, null); + } + } + + public b(CharSequence charSequence, Layout.Alignment alignment, Layout.Alignment alignment2, Bitmap bitmap, float f, int i2, int i3, float f2, int i4, int i5, float f3, float f4, float f5, boolean z2, int i6, int i7, float f6, a aVar) { + if (charSequence == null) { + Objects.requireNonNull(bitmap); + } else { + d.j(bitmap == null); + } + if (charSequence instanceof Spanned) { + this.k = SpannedString.valueOf(charSequence); + } else if (charSequence != null) { + this.k = charSequence.toString(); + } else { + this.k = null; + } + this.l = alignment; + this.m = alignment2; + this.n = bitmap; + this.o = f; + this.p = i2; + this.q = i3; + this.r = f2; + this.f675s = i4; + this.t = f4; + this.u = f5; + this.v = z2; + this.w = i6; + this.f676x = i5; + this.f677y = f3; + this.f678z = i7; + this.A = f6; + } + + public static String b(int i2) { + return Integer.toString(i2, 36); + } + + public C0086b a() { + return new C0086b(this, null); + } + + public boolean equals(@Nullable Object obj) { + Bitmap bitmap; + Bitmap bitmap2; + if (this == obj) { + return true; + } + if (obj == null || b.class != obj.getClass()) { + return false; + } + b bVar = (b) obj; + return TextUtils.equals(this.k, bVar.k) && this.l == bVar.l && this.m == bVar.m && ((bitmap = this.n) != null ? !((bitmap2 = bVar.n) == null || !bitmap.sameAs(bitmap2)) : bVar.n == null) && this.o == bVar.o && this.p == bVar.p && this.q == bVar.q && this.r == bVar.r && this.f675s == bVar.f675s && this.t == bVar.t && this.u == bVar.u && this.v == bVar.v && this.w == bVar.w && this.f676x == bVar.f676x && this.f677y == bVar.f677y && this.f678z == bVar.f678z && this.A == bVar.A; + } + + public int hashCode() { + return Arrays.hashCode(new Object[]{this.k, this.l, this.m, this.n, Float.valueOf(this.o), Integer.valueOf(this.p), Integer.valueOf(this.q), Float.valueOf(this.r), Integer.valueOf(this.f675s), Float.valueOf(this.t), Float.valueOf(this.u), Boolean.valueOf(this.v), Integer.valueOf(this.w), Integer.valueOf(this.f676x), Float.valueOf(this.f677y), Integer.valueOf(this.f678z), Float.valueOf(this.A)}); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/c.java b/app/src/main/java/c/i/a/c/b3/c.java new file mode 100644 index 0000000000..32de66ed1c --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/c.java @@ -0,0 +1,4 @@ +package c.i.a.c.b3; +/* compiled from: CueDecoder */ +public final class c { +} diff --git a/app/src/main/java/c/i/a/c/b3/d.java b/app/src/main/java/c/i/a/c/b3/d.java new file mode 100644 index 0000000000..5ab224da05 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/d.java @@ -0,0 +1,158 @@ +package c.i.a.c.b3; + +import android.os.Bundle; +import android.os.Parcel; +import androidx.annotation.Nullable; +import c.i.a.c.f3.f; +import c.i.b.b.h0; +import c.i.b.b.p; +import com.google.android.exoplayer2.decoder.DecoderException; +import java.nio.ByteBuffer; +import java.util.ArrayDeque; +import java.util.ArrayList; +import java.util.Deque; +import java.util.List; +import java.util.Objects; +/* compiled from: ExoplayerCuesDecoder */ +public final class d implements h { + public final c a = new c(); + public final j b = new j(); + + /* renamed from: c reason: collision with root package name */ + public final Deque f680c = new ArrayDeque(); + public int d; + public boolean e; + + /* compiled from: ExoplayerCuesDecoder */ + public class a extends k { + public a() { + } + + @Override // c.i.a.c.v2.f + public void p() { + d dVar = d.this; + c.c.a.a0.d.D(dVar.f680c.size() < 2); + c.c.a.a0.d.j(!dVar.f680c.contains(this)); + q(); + dVar.f680c.addFirst(this); + } + } + + /* compiled from: ExoplayerCuesDecoder */ + public static final class b implements g { + public final long i; + public final p j; + + public b(long j, p pVar) { + this.i = j; + this.j = pVar; + } + + @Override // c.i.a.c.b3.g + public int f(long j) { + return this.i > j ? 0 : -1; + } + + @Override // c.i.a.c.b3.g + public long g(int i) { + c.c.a.a0.d.j(i == 0); + return this.i; + } + + @Override // c.i.a.c.b3.g + public List h(long j) { + if (j >= this.i) { + return this.j; + } + c.i.b.b.a aVar = p.j; + return h0.k; + } + + @Override // c.i.a.c.b3.g + public int i() { + return 1; + } + } + + public d() { + for (int i = 0; i < 2; i++) { + this.f680c.addFirst(new a()); + } + this.d = 0; + } + + @Override // c.i.a.c.b3.h + public void a(long j) { + } + + /* Return type fixed from 'java.lang.Object' to match base method */ + @Override // c.i.a.c.v2.d + @Nullable + public k b() throws DecoderException { + c.c.a.a0.d.D(!this.e); + if (this.d != 2 || this.f680c.isEmpty()) { + return null; + } + k removeFirst = this.f680c.removeFirst(); + if (this.b.n()) { + removeFirst.j(4); + } else { + j jVar = this.b; + long j = jVar.m; + c cVar = this.a; + ByteBuffer byteBuffer = jVar.k; + Objects.requireNonNull(byteBuffer); + byte[] array = byteBuffer.array(); + Objects.requireNonNull(cVar); + Parcel obtain = Parcel.obtain(); + obtain.unmarshall(array, 0, array.length); + obtain.setDataPosition(0); + Bundle readBundle = obtain.readBundle(Bundle.class.getClassLoader()); + obtain.recycle(); + ArrayList parcelableArrayList = readBundle.getParcelableArrayList("c"); + Objects.requireNonNull(parcelableArrayList); + removeFirst.r(this.b.m, new b(j, f.a(b.j, parcelableArrayList)), 0); + } + this.b.p(); + this.d = 0; + return removeFirst; + } + + /* Return type fixed from 'java.lang.Object' to match base method */ + @Override // c.i.a.c.v2.d + @Nullable + public j c() throws DecoderException { + c.c.a.a0.d.D(!this.e); + if (this.d != 0) { + return null; + } + this.d = 1; + return this.b; + } + + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ + @Override // c.i.a.c.v2.d + public void d(j jVar) throws DecoderException { + j jVar2 = jVar; + boolean z2 = true; + c.c.a.a0.d.D(!this.e); + c.c.a.a0.d.D(this.d == 1); + if (this.b != jVar2) { + z2 = false; + } + c.c.a.a0.d.j(z2); + this.d = 2; + } + + @Override // c.i.a.c.v2.d + public void flush() { + c.c.a.a0.d.D(!this.e); + this.b.p(); + this.d = 0; + } + + @Override // c.i.a.c.v2.d + public void release() { + this.e = true; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/e.java b/app/src/main/java/c/i/a/c/b3/e.java new file mode 100644 index 0000000000..80c7a60f59 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/e.java @@ -0,0 +1,22 @@ +package c.i.a.c.b3; +/* compiled from: SimpleSubtitleDecoder */ +public class e extends k { + public final /* synthetic */ f m; + + public e(f fVar) { + this.m = fVar; + } + + @Override // c.i.a.c.v2.f + public void p() { + f fVar = this.m; + synchronized (fVar.b) { + q(); + O[] oArr = fVar.f; + int i = fVar.h; + fVar.h = i + 1; + oArr[i] = this; + fVar.g(); + } + } +} diff --git a/app/src/main/java/c/i/a/c/b3/f.java b/app/src/main/java/c/i/a/c/b3/f.java new file mode 100644 index 0000000000..395c19e159 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/f.java @@ -0,0 +1,43 @@ +package c.i.a.c.b3; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.v2.h; +import com.google.android.exoplayer2.decoder.DecoderInputBuffer; +import com.google.android.exoplayer2.text.SubtitleDecoderException; +import java.nio.ByteBuffer; +import java.util.Objects; +/* compiled from: SimpleSubtitleDecoder */ +public abstract class f extends h implements h { + public f(String str) { + super(new j[2], new k[2]); + d.D(this.g == this.e.length); + for (DecoderInputBuffer decoderInputBuffer : this.e) { + decoderInputBuffer.r(1024); + } + } + + @Override // c.i.a.c.b3.h + public void a(long j) { + } + + /* Return type fixed from 'com.google.android.exoplayer2.decoder.DecoderException' to match base method */ + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [com.google.android.exoplayer2.decoder.DecoderInputBuffer, c.i.a.c.v2.f, boolean] */ + @Override // c.i.a.c.v2.h + @Nullable + public SubtitleDecoderException e(j jVar, k kVar, boolean z2) { + j jVar2 = jVar; + k kVar2 = kVar; + try { + ByteBuffer byteBuffer = jVar2.k; + Objects.requireNonNull(byteBuffer); + kVar2.r(jVar2.m, j(byteBuffer.array(), byteBuffer.limit(), z2), jVar2.q); + kVar2.i &= Integer.MAX_VALUE; + return null; + } catch (SubtitleDecoderException e) { + return e; + } + } + + public abstract g j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException; +} diff --git a/app/src/main/java/c/i/a/c/b3/g.java b/app/src/main/java/c/i/a/c/b3/g.java new file mode 100644 index 0000000000..6e8d57049a --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/g.java @@ -0,0 +1,13 @@ +package c.i.a.c.b3; + +import java.util.List; +/* compiled from: Subtitle */ +public interface g { + int f(long j); + + long g(int i); + + List h(long j); + + int i(); +} diff --git a/app/src/main/java/c/i/a/c/b3/h.java b/app/src/main/java/c/i/a/c/b3/h.java new file mode 100644 index 0000000000..7afd7f635e --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/h.java @@ -0,0 +1,8 @@ +package c.i.a.c.b3; + +import c.i.a.c.v2.d; +import com.google.android.exoplayer2.text.SubtitleDecoderException; +/* compiled from: SubtitleDecoder */ +public interface h extends d { + void a(long j); +} diff --git a/app/src/main/java/c/i/a/c/b3/i.java b/app/src/main/java/c/i/a/c/b3/i.java new file mode 100644 index 0000000000..3b1c25e669 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/i.java @@ -0,0 +1,9 @@ +package c.i.a.c.b3; +/* compiled from: SubtitleDecoderFactory */ +public interface i { + public static final i a = new a(); + + /* compiled from: SubtitleDecoderFactory */ + public class a implements i { + } +} diff --git a/app/src/main/java/c/i/a/c/b3/j.java b/app/src/main/java/c/i/a/c/b3/j.java new file mode 100644 index 0000000000..05ae480181 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/j.java @@ -0,0 +1,11 @@ +package c.i.a.c.b3; + +import com.google.android.exoplayer2.decoder.DecoderInputBuffer; +/* compiled from: SubtitleInputBuffer */ +public class j extends DecoderInputBuffer { + public long q; + + public j() { + super(1); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/k.java b/app/src/main/java/c/i/a/c/b3/k.java new file mode 100644 index 0000000000..dd052d8548 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/k.java @@ -0,0 +1,55 @@ +package c.i.a.c.b3; + +import androidx.annotation.Nullable; +import androidx.recyclerview.widget.RecyclerView; +import c.i.a.c.v2.f; +import java.util.List; +import java.util.Objects; +/* compiled from: SubtitleOutputBuffer */ +public abstract class k extends f implements g { + @Nullable + public g k; + public long l; + + @Override // c.i.a.c.b3.g + public int f(long j) { + g gVar = this.k; + Objects.requireNonNull(gVar); + return gVar.f(j - this.l); + } + + @Override // c.i.a.c.b3.g + public long g(int i) { + g gVar = this.k; + Objects.requireNonNull(gVar); + return gVar.g(i) + this.l; + } + + @Override // c.i.a.c.b3.g + public List h(long j) { + g gVar = this.k; + Objects.requireNonNull(gVar); + return gVar.h(j - this.l); + } + + @Override // c.i.a.c.b3.g + public int i() { + g gVar = this.k; + Objects.requireNonNull(gVar); + return gVar.i(); + } + + public void q() { + this.i = 0; + this.k = null; + } + + public void r(long j, g gVar, long j2) { + this.j = j; + this.k = gVar; + if (j2 != RecyclerView.FOREVER_NS) { + j = j2; + } + this.l = j; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/l.java b/app/src/main/java/c/i/a/c/b3/l.java new file mode 100644 index 0000000000..98a46bcbb2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/l.java @@ -0,0 +1,7 @@ +package c.i.a.c.b3; + +import java.util.List; +/* compiled from: TextOutput */ +public interface l { + void e(List list); +} diff --git a/app/src/main/java/c/i/a/c/b3/m.java b/app/src/main/java/c/i/a/c/b3/m.java new file mode 100644 index 0000000000..2cc933ef9f --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/m.java @@ -0,0 +1,486 @@ +package c.i.a.c.b3; + +import android.os.Handler; +import android.os.Looper; +import android.os.Message; +import androidx.annotation.Nullable; +import androidx.recyclerview.widget.RecyclerView; +import c.i.a.c.b3.i; +import c.i.a.c.b3.n.d; +import c.i.a.c.b3.o.a; +import c.i.a.c.b3.v.c; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.q; +import c.i.a.c.f3.t; +import c.i.a.c.j1; +import c.i.a.c.k1; +import c.i.a.c.v0; +import com.google.android.exoplayer2.text.SubtitleDecoderException; +import java.util.Collections; +import java.util.List; +import java.util.Objects; +/* compiled from: TextRenderer */ +public final class m extends v0 implements Handler.Callback { + public int A; + @Nullable + public j1 B; + @Nullable + public h C; + @Nullable + public j D; + @Nullable + public k E; + @Nullable + public k F; + public int G; + public long H; + @Nullable + public final Handler t; + public final l u; + public final i v; + public final k1 w; + + /* renamed from: x reason: collision with root package name */ + public boolean f681x; + + /* renamed from: y reason: collision with root package name */ + public boolean f682y; + + /* renamed from: z reason: collision with root package name */ + public boolean f683z; + + /* JADX INFO: super call moved to the top of the method (can break code semantics) */ + public m(l lVar, @Nullable Looper looper) { + super(3); + Handler handler; + i iVar = i.a; + Objects.requireNonNull(lVar); + this.u = lVar; + if (looper == null) { + handler = null; + } else { + int i = e0.a; + handler = new Handler(looper, this); + } + this.t = handler; + this.v = iVar; + this.w = new k1(); + this.H = -9223372036854775807L; + } + + @Override // c.i.a.c.v0 + public void B() { + this.B = null; + this.H = -9223372036854775807L; + J(); + N(); + h hVar = this.C; + Objects.requireNonNull(hVar); + hVar.release(); + this.C = null; + this.A = 0; + } + + @Override // c.i.a.c.v0 + public void D(long j, boolean z2) { + J(); + this.f681x = false; + this.f682y = false; + this.H = -9223372036854775807L; + if (this.A != 0) { + O(); + return; + } + N(); + h hVar = this.C; + Objects.requireNonNull(hVar); + hVar.flush(); + } + + @Override // c.i.a.c.v0 + public void H(j1[] j1VarArr, long j, long j2) { + this.B = j1VarArr[0]; + if (this.C != null) { + this.A = 1; + } else { + M(); + } + } + + public final void J() { + List emptyList = Collections.emptyList(); + Handler handler = this.t; + if (handler != null) { + handler.obtainMessage(0, emptyList).sendToTarget(); + } else { + this.u.e(emptyList); + } + } + + public final long K() { + if (this.G == -1) { + return RecyclerView.FOREVER_NS; + } + Objects.requireNonNull(this.E); + int i = this.G; + g gVar = this.E.k; + Objects.requireNonNull(gVar); + if (i >= gVar.i()) { + return RecyclerView.FOREVER_NS; + } + k kVar = this.E; + int i2 = this.G; + g gVar2 = kVar.k; + Objects.requireNonNull(gVar2); + return gVar2.g(i2) + kVar.l; + } + + public final void L(SubtitleDecoderException subtitleDecoderException) { + String valueOf = String.valueOf(this.B); + StringBuilder sb = new StringBuilder(valueOf.length() + 39); + sb.append("Subtitle decoding failed. streamFormat="); + sb.append(valueOf); + q.b("TextRenderer", sb.toString(), subtitleDecoderException); + J(); + O(); + } + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + /* JADX WARNING: Code restructure failed: missing block: B:36:0x0099, code lost: + if (r1.equals("application/pgs") == false) goto L_0x001b; + */ + public final void M() { + h hVar; + char c2 = 1; + this.f683z = true; + i iVar = this.v; + j1 j1Var = this.B; + Objects.requireNonNull(j1Var); + Objects.requireNonNull((i.a) iVar); + String str = j1Var.v; + if (str != null) { + switch (str.hashCode()) { + case -1351681404: + if (str.equals("application/dvbsubs")) { + c2 = 0; + break; + } + c2 = 65535; + break; + case -1248334819: + break; + case -1026075066: + if (str.equals("application/x-mp4-vtt")) { + c2 = 2; + break; + } + c2 = 65535; + break; + case -1004728940: + if (str.equals("text/vtt")) { + c2 = 3; + break; + } + c2 = 65535; + break; + case 691401887: + if (str.equals("application/x-quicktime-tx3g")) { + c2 = 4; + break; + } + c2 = 65535; + break; + case 822864842: + if (str.equals("text/x-ssa")) { + c2 = 5; + break; + } + c2 = 65535; + break; + case 930165504: + if (str.equals("application/x-mp4-cea-608")) { + c2 = 6; + break; + } + c2 = 65535; + break; + case 1201784583: + if (str.equals("text/x-exoplayer-cues")) { + c2 = 7; + break; + } + c2 = 65535; + break; + case 1566015601: + if (str.equals("application/cea-608")) { + c2 = '\b'; + break; + } + c2 = 65535; + break; + case 1566016562: + if (str.equals("application/cea-708")) { + c2 = '\t'; + break; + } + c2 = 65535; + break; + case 1668750253: + if (str.equals("application/x-subrip")) { + c2 = '\n'; + break; + } + c2 = 65535; + break; + case 1693976202: + if (str.equals("application/ttml+xml")) { + c2 = 11; + break; + } + c2 = 65535; + break; + default: + c2 = 65535; + break; + } + switch (c2) { + case 0: + hVar = new a(j1Var.f820x); + this.C = hVar; + return; + case 1: + hVar = new c.i.a.c.b3.p.a(); + this.C = hVar; + return; + case 2: + hVar = new c(); + this.C = hVar; + return; + case 3: + hVar = new c.i.a.c.b3.v.i(); + this.C = hVar; + return; + case 4: + hVar = new c.i.a.c.b3.u.a(j1Var.f820x); + this.C = hVar; + return; + case 5: + hVar = new c.i.a.c.b3.r.a(j1Var.f820x); + this.C = hVar; + return; + case 6: + case '\b': + hVar = new c.i.a.c.b3.n.c(str, j1Var.N, 16000); + this.C = hVar; + return; + case 7: + hVar = new d(); + this.C = hVar; + return; + case '\t': + hVar = new d(j1Var.N, j1Var.f820x); + this.C = hVar; + return; + case '\n': + hVar = new c.i.a.c.b3.s.a(); + this.C = hVar; + return; + case 11: + hVar = new c.i.a.c.b3.t.c(); + this.C = hVar; + return; + } + } + String valueOf = String.valueOf(str); + throw new IllegalArgumentException(valueOf.length() != 0 ? "Attempted to create decoder for unsupported MIME type: ".concat(valueOf) : new String("Attempted to create decoder for unsupported MIME type: ")); + } + + public final void N() { + this.D = null; + this.G = -1; + k kVar = this.E; + if (kVar != null) { + kVar.p(); + this.E = null; + } + k kVar2 = this.F; + if (kVar2 != null) { + kVar2.p(); + this.F = null; + } + } + + public final void O() { + N(); + h hVar = this.C; + Objects.requireNonNull(hVar); + hVar.release(); + this.C = null; + this.A = 0; + M(); + } + + @Override // c.i.a.c.g2 + public int a(j1 j1Var) { + Objects.requireNonNull((i.a) this.v); + String str = j1Var.v; + if (!("text/vtt".equals(str) || "text/x-ssa".equals(str) || "application/ttml+xml".equals(str) || "application/x-mp4-vtt".equals(str) || "application/x-subrip".equals(str) || "application/x-quicktime-tx3g".equals(str) || "application/cea-608".equals(str) || "application/x-mp4-cea-608".equals(str) || "application/cea-708".equals(str) || "application/dvbsubs".equals(str) || "application/pgs".equals(str) || "text/x-exoplayer-cues".equals(str))) { + return t.i(j1Var.v) ? 1 : 0; + } + return (j1Var.O == 0 ? 4 : 2) | 0 | 0; + } + + @Override // c.i.a.c.f2 + public boolean b() { + return this.f682y; + } + + @Override // c.i.a.c.f2 + public boolean d() { + return true; + } + + @Override // c.i.a.c.f2, c.i.a.c.g2 + public String getName() { + return "TextRenderer"; + } + + @Override // android.os.Handler.Callback + public boolean handleMessage(Message message) { + if (message.what == 0) { + this.u.e((List) message.obj); + return true; + } + throw new IllegalStateException(); + } + + @Override // c.i.a.c.f2 + public void q(long j, long j2) { + boolean z2; + if (this.r) { + long j3 = this.H; + if (j3 != -9223372036854775807L && j >= j3) { + N(); + this.f682y = true; + } + } + if (!this.f682y) { + if (this.F == null) { + h hVar = this.C; + Objects.requireNonNull(hVar); + hVar.a(j); + try { + h hVar2 = this.C; + Objects.requireNonNull(hVar2); + this.F = hVar2.b(); + } catch (SubtitleDecoderException e) { + L(e); + return; + } + } + if (this.m == 2) { + if (this.E != null) { + long K = K(); + z2 = false; + while (K <= j) { + this.G++; + K = K(); + z2 = true; + } + } else { + z2 = false; + } + k kVar = this.F; + if (kVar != null) { + if (kVar.n()) { + if (!z2 && K() == RecyclerView.FOREVER_NS) { + if (this.A == 2) { + O(); + } else { + N(); + this.f682y = true; + } + } + } else if (kVar.j <= j) { + k kVar2 = this.E; + if (kVar2 != null) { + kVar2.p(); + } + g gVar = kVar.k; + Objects.requireNonNull(gVar); + this.G = gVar.f(j - kVar.l); + this.E = kVar; + this.F = null; + z2 = true; + } + } + if (z2) { + Objects.requireNonNull(this.E); + k kVar3 = this.E; + g gVar2 = kVar3.k; + Objects.requireNonNull(gVar2); + List h = gVar2.h(j - kVar3.l); + Handler handler = this.t; + if (handler != null) { + handler.obtainMessage(0, h).sendToTarget(); + } else { + this.u.e(h); + } + } + if (this.A != 2) { + while (!this.f681x) { + try { + j jVar = this.D; + if (jVar == null) { + h hVar3 = this.C; + Objects.requireNonNull(hVar3); + jVar = hVar3.c(); + if (jVar != null) { + this.D = jVar; + } else { + return; + } + } + if (this.A == 1) { + jVar.i = 4; + h hVar4 = this.C; + Objects.requireNonNull(hVar4); + hVar4.d(jVar); + this.D = null; + this.A = 2; + return; + } + int I = I(this.w, jVar, 0); + if (I == -4) { + if (jVar.n()) { + this.f681x = true; + this.f683z = false; + } else { + j1 j1Var = this.w.b; + if (j1Var != null) { + jVar.q = j1Var.f822z; + jVar.s(); + this.f683z &= !jVar.o(); + } else { + return; + } + } + if (!this.f683z) { + h hVar5 = this.C; + Objects.requireNonNull(hVar5); + hVar5.d(jVar); + this.D = null; + } + } else if (I == -3) { + return; + } + } catch (SubtitleDecoderException e2) { + L(e2); + return; + } + } + } + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/b3/n/a.java b/app/src/main/java/c/i/a/c/b3/n/a.java new file mode 100644 index 0000000000..cebe3cad40 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/n/a.java @@ -0,0 +1,13 @@ +package c.i.a.c.b3.n; + +import c.i.a.c.b3.n.d; +import java.util.Comparator; +/* compiled from: lambda */ +public final /* synthetic */ class a implements Comparator { + public static final /* synthetic */ a i = new a(); + + @Override // java.util.Comparator + public final int compare(Object obj, Object obj2) { + return Integer.compare(((d.a) obj2).b, ((d.a) obj).b); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/n/b.java b/app/src/main/java/c/i/a/c/b3/n/b.java new file mode 100644 index 0000000000..9dcf121ce7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/n/b.java @@ -0,0 +1,11 @@ +package c.i.a.c.b3.n; + +import c.i.a.c.v2.f; +/* compiled from: lambda */ +public final /* synthetic */ class b implements f.a { + public final /* synthetic */ e a; + + public /* synthetic */ b(e eVar) { + this.a = eVar; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/n/c.java b/app/src/main/java/c/i/a/c/b3/n/c.java new file mode 100644 index 0000000000..3974f93b47 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/n/c.java @@ -0,0 +1,608 @@ +package c.i.a.c.b3.n; + +import android.text.Layout; +import android.text.SpannableString; +import android.text.SpannableStringBuilder; +import android.text.style.ForegroundColorSpan; +import android.text.style.StyleSpan; +import android.text.style.UnderlineSpan; +import android.util.Log; +import androidx.annotation.Nullable; +import androidx.core.internal.view.SupportMenu; +import androidx.core.view.InputDeviceCompat; +import androidx.core.view.ViewCompat; +import androidx.recyclerview.widget.RecyclerView; +import c.i.a.c.b3.b; +import c.i.a.c.b3.g; +import c.i.a.c.b3.j; +import c.i.a.c.b3.k; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import com.google.android.exoplayer2.text.SubtitleDecoderException; +import com.google.android.material.behavior.HideBottomViewOnScrollBehavior; +import java.nio.ByteBuffer; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Objects; +/* compiled from: Cea608Decoder */ +public final class c extends e { + public static final int[] g = {11, 1, 3, 12, 14, 5, 7, 9}; + public static final int[] h = {0, 4, 8, 12, 16, 20, 24, 28}; + public static final int[] i = {-1, -16711936, -16776961, -16711681, SupportMenu.CATEGORY_MASK, InputDeviceCompat.SOURCE_ANY, -65281}; + public static final int[] j = {32, 33, 34, 35, 36, 37, 38, 39, 40, 41, HideBottomViewOnScrollBehavior.ENTER_ANIMATION_DURATION, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 233, 93, 237, 243, 250, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 231, 247, 209, 241, 9632}; + public static final int[] k = {174, 176, 189, 191, 8482, 162, 163, 9834, 224, 32, 232, 226, 234, 238, 244, 251}; + public static final int[] l = {193, 201, 211, 218, 220, 252, 8216, 161, 42, 39, 8212, 169, 8480, 8226, 8220, 8221, 192, 194, 199, 200, 202, 203, 235, 206, 207, 239, 212, 217, 249, 219, 171, 187}; + public static final int[] m = {195, 227, 205, 204, 236, 210, 242, 213, 245, 123, 125, 92, 94, 95, 124, 126, 196, 228, 214, 246, 223, 165, 164, 9474, 197, 229, 216, 248, 9484, 9488, 9492, 9496}; + public static final boolean[] n = {false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false}; + public boolean A; + public byte B; + public byte C; + public int D = 0; + public boolean E; + public long F; + public final x o = new x(); + public final int p; + public final int q; + public final int r; + + /* renamed from: s reason: collision with root package name */ + public final long f684s; + public final ArrayList t = new ArrayList<>(); + public a u = new a(0, 4); + @Nullable + public List v; + @Nullable + public List w; + + /* renamed from: x reason: collision with root package name */ + public int f685x; + + /* renamed from: y reason: collision with root package name */ + public int f686y; + + /* renamed from: z reason: collision with root package name */ + public boolean f687z; + + /* compiled from: Cea608Decoder */ + public static final class a { + public final List a = new ArrayList(); + public final List b = new ArrayList(); + + /* renamed from: c reason: collision with root package name */ + public final StringBuilder f688c = new StringBuilder(); + public int d; + public int e; + public int f; + public int g; + public int h; + + /* compiled from: Cea608Decoder */ + /* renamed from: c.i.a.c.b3.n.c$a$a reason: collision with other inner class name */ + public static class C0087a { + public final int a; + public final boolean b; + + /* renamed from: c reason: collision with root package name */ + public int f689c; + + public C0087a(int i, boolean z2, int i2) { + this.a = i; + this.b = z2; + this.f689c = i2; + } + } + + public a(int i, int i2) { + f(i); + this.h = i2; + } + + public void a(char c2) { + if (this.f688c.length() < 32) { + this.f688c.append(c2); + } + } + + public void b() { + int length = this.f688c.length(); + if (length > 0) { + this.f688c.delete(length - 1, length); + for (int size = this.a.size() - 1; size >= 0; size--) { + C0087a aVar = this.a.get(size); + int i = aVar.f689c; + if (i == length) { + aVar.f689c = i - 1; + } else { + return; + } + } + } + } + + @Nullable + public b c(int i) { + float f; + int i2 = this.e + this.f; + int i3 = 32 - i2; + SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(); + for (int i4 = 0; i4 < this.b.size(); i4++) { + SpannableString spannableString = this.b.get(i4); + int i5 = e0.a; + if (spannableString.length() > i3) { + spannableString = spannableString.subSequence(0, i3); + } + spannableStringBuilder.append(spannableString); + spannableStringBuilder.append('\n'); + } + SpannableString d = d(); + int i6 = e0.a; + int length = d.length(); + CharSequence charSequence = d; + if (length > i3) { + charSequence = d.subSequence(0, i3); + } + spannableStringBuilder.append(charSequence); + if (spannableStringBuilder.length() == 0) { + return null; + } + int length2 = i3 - spannableStringBuilder.length(); + int i7 = i2 - length2; + int i8 = i != Integer.MIN_VALUE ? i : (this.g != 2 || (Math.abs(i7) >= 3 && length2 >= 0)) ? (this.g != 2 || i7 <= 0) ? 0 : 2 : 1; + if (i8 != 1) { + if (i8 == 2) { + i2 = 32 - length2; + } + f = ((((float) i2) / 32.0f) * 0.8f) + 0.1f; + } else { + f = 0.5f; + } + int i9 = this.d; + if (i9 > 7) { + i9 = (i9 - 15) - 2; + } else if (this.g == 1) { + i9 -= this.h - 1; + } + return new b(spannableStringBuilder, Layout.Alignment.ALIGN_NORMAL, null, null, (float) i9, 1, Integer.MIN_VALUE, f, i8, Integer.MIN_VALUE, -3.4028235E38f, -3.4028235E38f, -3.4028235E38f, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null); + } + + public final SpannableString d() { + SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(this.f688c); + int length = spannableStringBuilder.length(); + int i = 0; + int i2 = -1; + int i3 = -1; + int i4 = 0; + int i5 = -1; + boolean z2 = false; + int i6 = -1; + while (i < this.a.size()) { + C0087a aVar = this.a.get(i); + boolean z3 = aVar.b; + int i7 = aVar.a; + if (i7 != 8) { + boolean z4 = i7 == 7; + if (i7 != 7) { + i6 = c.i[i7]; + } + z2 = z4; + } + int i8 = aVar.f689c; + i++; + if (i8 != (i < this.a.size() ? this.a.get(i).f689c : length)) { + if (i2 != -1 && !z3) { + spannableStringBuilder.setSpan(new UnderlineSpan(), i2, i8, 33); + i2 = -1; + } else if (i2 == -1 && z3) { + i2 = i8; + } + if (i3 != -1 && !z2) { + spannableStringBuilder.setSpan(new StyleSpan(2), i3, i8, 33); + i3 = -1; + } else if (i3 == -1 && z2) { + i3 = i8; + } + if (i6 != i5) { + if (i5 != -1) { + spannableStringBuilder.setSpan(new ForegroundColorSpan(i5), i4, i8, 33); + } + i4 = i8; + i5 = i6; + } + } + } + if (!(i2 == -1 || i2 == length)) { + spannableStringBuilder.setSpan(new UnderlineSpan(), i2, length, 33); + } + if (!(i3 == -1 || i3 == length)) { + spannableStringBuilder.setSpan(new StyleSpan(2), i3, length, 33); + } + if (!(i4 == length || i5 == -1)) { + spannableStringBuilder.setSpan(new ForegroundColorSpan(i5), i4, length, 33); + } + return new SpannableString(spannableStringBuilder); + } + + public boolean e() { + return this.a.isEmpty() && this.b.isEmpty() && this.f688c.length() == 0; + } + + public void f(int i) { + this.g = i; + this.a.clear(); + this.b.clear(); + this.f688c.setLength(0); + this.d = 15; + this.e = 0; + this.f = 0; + } + } + + public c(String str, int i2, long j2) { + this.f684s = j2 > 0 ? j2 * 1000 : -9223372036854775807L; + this.p = "application/x-mp4-cea-608".equals(str) ? 2 : 3; + if (i2 == 1) { + this.r = 0; + this.q = 0; + } else if (i2 == 2) { + this.r = 1; + this.q = 0; + } else if (i2 == 3) { + this.r = 0; + this.q = 1; + } else if (i2 != 4) { + Log.w("Cea608Decoder", "Invalid channel. Defaulting to CC1."); + this.r = 0; + this.q = 0; + } else { + this.r = 1; + this.q = 1; + } + l(0); + k(); + this.E = true; + this.F = -9223372036854775807L; + } + + @Override // c.i.a.c.b3.n.e + public g e() { + List list = this.v; + this.w = list; + Objects.requireNonNull(list); + return new f(list); + } + + /* JADX WARNING: Removed duplicated region for block: B:203:0x008f A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:213:0x0015 A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:24:0x0069 */ + @Override // c.i.a.c.b3.n.e + public void f(j jVar) { + boolean z2; + boolean z3; + ByteBuffer byteBuffer = jVar.k; + Objects.requireNonNull(byteBuffer); + this.o.C(byteBuffer.array(), byteBuffer.limit()); + boolean z4 = false; + while (true) { + int a2 = this.o.a(); + int i2 = this.p; + if (a2 >= i2) { + byte t = i2 == 2 ? -4 : (byte) this.o.t(); + int t2 = this.o.t(); + int t3 = this.o.t(); + if ((t & 2) == 0 && (t & 1) == this.q) { + byte b = (byte) (t2 & 127); + byte b2 = (byte) (t3 & 127); + if (b != 0 || b2 != 0) { + boolean z5 = this.f687z; + if ((t & 4) == 4) { + boolean[] zArr = n; + if (zArr[t2] && zArr[t3]) { + z2 = true; + this.f687z = z2; + if (z2) { + if ((b & 240) == 16) { + if (this.A && this.B == b && this.C == b2) { + this.A = false; + z3 = true; + if (!z3) { + } + } else { + this.A = true; + this.B = b; + this.C = b2; + z3 = false; + if (!z3) { + if (z2) { + if (1 <= b && b <= 15) { + this.E = false; + } else { + if ((b & 247) == 20) { + if (!(b2 == 32 || b2 == 47)) { + switch (b2) { + default: + switch (b2) { + case 42: + case 43: + this.E = false; + break; + } + case 37: + case 38: + case 39: + this.E = true; + break; + } + } + this.E = true; + } + } + if (this.E) { + int i3 = b & 224; + if (i3 == 0) { + this.D = (b >> 3) & 1; + } + if (this.D == this.r) { + if (i3 == 0) { + int i4 = b & 247; + if (i4 == 17 && (b2 & 240) == 48) { + this.u.a((char) k[b2 & 15]); + } else { + int i5 = b & 246; + if (i5 == 18 && (b2 & 224) == 32) { + this.u.b(); + this.u.a((char) ((b & 1) == 0 ? l[b2 & 31] : m[b2 & 31])); + } else { + if (i4 == 17 && (b2 & 240) == 32) { + this.u.a(' '); + boolean z6 = (b2 & 1) == 1; + a aVar = this.u; + aVar.a.add(new a.C0087a((b2 >> 1) & 7, z6, aVar.f688c.length())); + } else { + if ((b & 240) == 16 && (b2 & 192) == 64) { + int i6 = g[b & 7]; + if ((b2 & 32) != 0) { + i6++; + } + a aVar2 = this.u; + if (i6 != aVar2.d) { + if (this.f685x != 1 && !aVar2.e()) { + a aVar3 = new a(this.f685x, this.f686y); + this.u = aVar3; + this.t.add(aVar3); + } + this.u.d = i6; + } + boolean z7 = (b2 & 16) == 16; + boolean z8 = (b2 & 1) == 1; + int i7 = (b2 >> 1) & 7; + a aVar4 = this.u; + aVar4.a.add(new a.C0087a(z7 ? 8 : i7, z8, aVar4.f688c.length())); + if (z7) { + this.u.e = h[i7]; + } + } else { + if (i4 == 23 && b2 >= 33 && b2 <= 35) { + this.u.f = b2 - 32; + } else { + if (i5 == 20 && (b2 & 240) == 32) { + if (b2 == 32) { + l(2); + } else if (b2 != 41) { + switch (b2) { + case 37: + l(1); + m(2); + break; + case 38: + l(1); + m(3); + break; + case 39: + l(1); + m(4); + break; + default: + int i8 = this.f685x; + if (i8 != 0) { + if (b2 == 33) { + this.u.b(); + break; + } else { + switch (b2) { + case 44: + this.v = Collections.emptyList(); + int i9 = this.f685x; + if (i9 == 1 || i9 == 3) { + k(); + break; + } + case 45: + if (i8 == 1 && !this.u.e()) { + a aVar5 = this.u; + aVar5.b.add(aVar5.d()); + aVar5.f688c.setLength(0); + aVar5.a.clear(); + int min = Math.min(aVar5.h, aVar5.d); + while (aVar5.b.size() >= min) { + aVar5.b.remove(0); + } + break; + } + case 46: + k(); + break; + case 47: + this.v = j(); + k(); + break; + } + } + } + break; + } + } else { + l(3); + } + } + } + } + } + } + } + } else { + a aVar6 = this.u; + int[] iArr = j; + aVar6.a((char) iArr[(b & Byte.MAX_VALUE) - 32]); + if ((b2 & 224) != 0) { + this.u.a((char) iArr[(b2 & Byte.MAX_VALUE) - 32]); + } + } + } + } + } else if (z5) { + k(); + } + z4 = true; + } + } + } + } + this.A = false; + z3 = false; + if (!z3) { + } + } + } + z2 = false; + this.f687z = z2; + if (z2) { + } + this.A = false; + z3 = false; + if (!z3) { + } + } + } + } else if (z4) { + int i10 = this.f685x; + if (i10 == 1 || i10 == 3) { + this.v = j(); + this.F = this.e; + return; + } + return; + } else { + return; + } + } + } + + @Override // c.i.a.c.b3.n.e, c.i.a.c.v2.d + public void flush() { + super.flush(); + this.v = null; + this.w = null; + l(0); + m(4); + k(); + this.f687z = false; + this.A = false; + this.B = 0; + this.C = 0; + this.D = 0; + this.E = true; + this.F = -9223372036854775807L; + } + + @Override // c.i.a.c.b3.n.e + @Nullable + /* renamed from: g */ + public k b() throws SubtitleDecoderException { + k pollFirst; + k g2 = super.b(); + if (g2 != null) { + return g2; + } + long j2 = this.f684s; + boolean z2 = false; + if (j2 != -9223372036854775807L) { + long j3 = this.F; + if (j3 != -9223372036854775807L && this.e - j3 >= j2) { + z2 = true; + } + } + if (!z2 || (pollFirst = this.b.pollFirst()) == null) { + return null; + } + List emptyList = Collections.emptyList(); + this.v = emptyList; + this.F = -9223372036854775807L; + this.w = emptyList; + Objects.requireNonNull(emptyList); + pollFirst.r(this.e, new f(emptyList), RecyclerView.FOREVER_NS); + return pollFirst; + } + + @Override // c.i.a.c.b3.n.e + public boolean h() { + return this.v != this.w; + } + + public final List j() { + int size = this.t.size(); + ArrayList arrayList = new ArrayList(size); + int i2 = 2; + for (int i3 = 0; i3 < size; i3++) { + b c2 = this.t.get(i3).c(Integer.MIN_VALUE); + arrayList.add(c2); + if (c2 != null) { + i2 = Math.min(i2, c2.f675s); + } + } + ArrayList arrayList2 = new ArrayList(size); + for (int i4 = 0; i4 < size; i4++) { + b bVar = (b) arrayList.get(i4); + if (bVar != null) { + if (bVar.f675s != i2) { + bVar = this.t.get(i4).c(i2); + Objects.requireNonNull(bVar); + } + arrayList2.add(bVar); + } + } + return arrayList2; + } + + public final void k() { + this.u.f(this.f685x); + this.t.clear(); + this.t.add(this.u); + } + + public final void l(int i2) { + int i3 = this.f685x; + if (i3 != i2) { + this.f685x = i2; + if (i2 == 3) { + for (int i4 = 0; i4 < this.t.size(); i4++) { + this.t.get(i4).g = i2; + } + return; + } + k(); + if (i3 == 3 || i2 == 1 || i2 == 0) { + this.v = Collections.emptyList(); + } + } + } + + public final void m(int i2) { + this.f686y = i2; + this.u.h = i2; + } + + @Override // c.i.a.c.b3.n.e, c.i.a.c.v2.d + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/b3/n/d.java b/app/src/main/java/c/i/a/c/b3/n/d.java new file mode 100644 index 0000000000..d78c76ef2a --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/n/d.java @@ -0,0 +1,882 @@ +package c.i.a.c.b3.n; + +import android.graphics.Color; +import android.text.Layout; +import android.text.SpannableString; +import android.text.SpannableStringBuilder; +import android.text.style.BackgroundColorSpan; +import android.text.style.ForegroundColorSpan; +import android.text.style.StyleSpan; +import android.text.style.UnderlineSpan; +import android.util.Log; +import androidx.annotation.Nullable; +import androidx.core.view.ViewCompat; +import c.i.a.c.b3.g; +import c.i.a.c.b3.j; +import c.i.a.c.f3.w; +import c.i.a.c.f3.x; +import com.discord.utilities.font.FontUtils; +import java.nio.ByteBuffer; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Objects; +/* compiled from: Cea708Decoder */ +public final class d extends e { + public final x g = new x(); + public final w h = new w(); + public int i = -1; + public final int j; + public final b[] k; + public b l; + @Nullable + public List m; + @Nullable + public List n; + @Nullable + public c o; + public int p; + + /* compiled from: Cea708Decoder */ + public static final class a { + public final c.i.a.c.b3.b a; + public final int b; + + public a(CharSequence charSequence, Layout.Alignment alignment, float f, int i, int i2, float f2, int i3, float f3, boolean z2, int i4, int i5) { + int i6; + boolean z3; + if (z2) { + i6 = i4; + z3 = true; + } else { + z3 = false; + i6 = ViewCompat.MEASURED_STATE_MASK; + } + this.a = new c.i.a.c.b3.b(charSequence, alignment, null, null, f, i, i2, f2, i3, Integer.MIN_VALUE, -3.4028235E38f, f3, -3.4028235E38f, z3, i6, Integer.MIN_VALUE, 0.0f, null); + this.b = i5; + } + } + + /* compiled from: Cea708Decoder */ + public static final class b { + public static final int a = d(2, 2, 2, 0); + public static final int b; + + /* renamed from: c reason: collision with root package name */ + public static final int f690c; + public static final int[] d = {0, 0, 0, 0, 0, 2, 0}; + public static final int[] e = {0, 0, 0, 0, 0, 0, 2}; + public static final int[] f = {3, 3, 3, 3, 3, 3, 1}; + public static final boolean[] g = {false, false, false, true, true, true, false}; + public static final int[] h; + public static final int[] i = {0, 1, 2, 3, 4, 3, 4}; + public static final int[] j = {0, 0, 0, 0, 0, 3, 3}; + public static final int[] k; + public int A; + public int B; + public int C; + public int D; + public int E; + public int F; + public int G; + public final List l = new ArrayList(); + public final SpannableStringBuilder m = new SpannableStringBuilder(); + public boolean n; + public boolean o; + public int p; + public boolean q; + public int r; + + /* renamed from: s reason: collision with root package name */ + public int f691s; + public int t; + public int u; + public boolean v; + public int w; + + /* renamed from: x reason: collision with root package name */ + public int f692x; + + /* renamed from: y reason: collision with root package name */ + public int f693y; + + /* renamed from: z reason: collision with root package name */ + public int f694z; + + static { + int d2 = d(0, 0, 0, 0); + b = d2; + int d3 = d(0, 0, 0, 3); + f690c = d3; + h = new int[]{d2, d3, d2, d2, d3, d2, d2}; + k = new int[]{d2, d2, d2, d2, d2, d3, d3}; + } + + public b() { + f(); + } + + /* JADX WARNING: Removed duplicated region for block: B:11:0x0025 */ + /* JADX WARNING: Removed duplicated region for block: B:12:0x0028 */ + /* JADX WARNING: Removed duplicated region for block: B:14:0x002b */ + /* JADX WARNING: Removed duplicated region for block: B:15:0x002e */ + /* JADX WARNING: Removed duplicated region for block: B:17:0x0031 */ + public static int d(int i2, int i3, int i4, int i5) { + int i6; + int i7 = 0; + c.c.a.a0.d.t(i2, 0, 4); + c.c.a.a0.d.t(i3, 0, 4); + c.c.a.a0.d.t(i4, 0, 4); + c.c.a.a0.d.t(i5, 0, 4); + if (!(i5 == 0 || i5 == 1)) { + if (i5 == 2) { + i6 = 127; + } else if (i5 == 3) { + i6 = 0; + } + int i8 = i2 <= 1 ? 255 : 0; + int i9 = i3 <= 1 ? 255 : 0; + if (i4 > 1) { + i7 = 255; + } + return Color.argb(i6, i8, i9, i7); + } + i6 = 255; + if (i2 <= 1) { + } + if (i3 <= 1) { + } + if (i4 > 1) { + } + return Color.argb(i6, i8, i9, i7); + } + + public void a(char c2) { + if (c2 == '\n') { + this.l.add(b()); + this.m.clear(); + if (this.A != -1) { + this.A = 0; + } + if (this.B != -1) { + this.B = 0; + } + if (this.C != -1) { + this.C = 0; + } + if (this.E != -1) { + this.E = 0; + } + while (true) { + if ((this.v && this.l.size() >= this.u) || this.l.size() >= 15) { + this.l.remove(0); + } else { + return; + } + } + } else { + this.m.append(c2); + } + } + + public SpannableString b() { + SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(this.m); + int length = spannableStringBuilder.length(); + if (length > 0) { + if (this.A != -1) { + spannableStringBuilder.setSpan(new StyleSpan(2), this.A, length, 33); + } + if (this.B != -1) { + spannableStringBuilder.setSpan(new UnderlineSpan(), this.B, length, 33); + } + if (this.C != -1) { + spannableStringBuilder.setSpan(new ForegroundColorSpan(this.D), this.C, length, 33); + } + if (this.E != -1) { + spannableStringBuilder.setSpan(new BackgroundColorSpan(this.F), this.E, length, 33); + } + } + return new SpannableString(spannableStringBuilder); + } + + public void c() { + this.l.clear(); + this.m.clear(); + this.A = -1; + this.B = -1; + this.C = -1; + this.E = -1; + this.G = 0; + } + + public boolean e() { + return !this.n || (this.l.isEmpty() && this.m.length() == 0); + } + + public void f() { + c(); + this.n = false; + this.o = false; + this.p = 4; + this.q = false; + this.r = 0; + this.f691s = 0; + this.t = 0; + this.u = 15; + this.v = true; + this.w = 0; + this.f692x = 0; + this.f693y = 0; + int i2 = b; + this.f694z = i2; + this.D = a; + this.F = i2; + } + + public void g(boolean z2, boolean z3) { + if (this.A != -1) { + if (!z2) { + this.m.setSpan(new StyleSpan(2), this.A, this.m.length(), 33); + this.A = -1; + } + } else if (z2) { + this.A = this.m.length(); + } + if (this.B != -1) { + if (!z3) { + this.m.setSpan(new UnderlineSpan(), this.B, this.m.length(), 33); + this.B = -1; + } + } else if (z3) { + this.B = this.m.length(); + } + } + + public void h(int i2, int i3) { + if (!(this.C == -1 || this.D == i2)) { + this.m.setSpan(new ForegroundColorSpan(this.D), this.C, this.m.length(), 33); + } + if (i2 != a) { + this.C = this.m.length(); + this.D = i2; + } + if (!(this.E == -1 || this.F == i3)) { + this.m.setSpan(new BackgroundColorSpan(this.F), this.E, this.m.length(), 33); + } + if (i3 != b) { + this.E = this.m.length(); + this.F = i3; + } + } + } + + /* compiled from: Cea708Decoder */ + public static final class c { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final byte[] f695c; + public int d = 0; + + public c(int i, int i2) { + this.a = i; + this.b = i2; + this.f695c = new byte[((i2 * 2) - 1)]; + } + } + + public d(int i, @Nullable List list) { + this.j = i == -1 ? 1 : i; + if (!(list == null || (list.size() == 1 && list.get(0).length == 1 && list.get(0)[0] == 1))) { + } + this.k = new b[8]; + for (int i2 = 0; i2 < 8; i2++) { + this.k[i2] = new b(); + } + this.l = this.k[0]; + } + + @Override // c.i.a.c.b3.n.e + public g e() { + List list = this.m; + this.n = list; + Objects.requireNonNull(list); + return new f(list); + } + + @Override // c.i.a.c.b3.n.e + public void f(j jVar) { + ByteBuffer byteBuffer = jVar.k; + Objects.requireNonNull(byteBuffer); + this.g.C(byteBuffer.array(), byteBuffer.limit()); + while (this.g.a() >= 3) { + int t = this.g.t() & 7; + int i = t & 3; + boolean z2 = false; + boolean z3 = (t & 4) == 4; + byte t2 = (byte) this.g.t(); + byte t3 = (byte) this.g.t(); + if (i == 2 || i == 3) { + if (z3) { + if (i == 3) { + j(); + int i2 = (t2 & 192) >> 6; + int i3 = this.i; + if (!(i3 == -1 || i2 == (i3 + 1) % 4)) { + l(); + Log.w("Cea708Decoder", c.d.b.a.a.g(71, "Sequence number discontinuity. previous=", this.i, " current=", i2)); + } + this.i = i2; + int i4 = t2 & 63; + if (i4 == 0) { + i4 = 64; + } + c cVar = new c(i2, i4); + this.o = cVar; + byte[] bArr = cVar.f695c; + int i5 = cVar.d; + cVar.d = i5 + 1; + bArr[i5] = t3; + } else { + if (i == 2) { + z2 = true; + } + c.c.a.a0.d.j(z2); + c cVar2 = this.o; + if (cVar2 == null) { + Log.e("Cea708Decoder", "Encountered DTVCC_PACKET_DATA before DTVCC_PACKET_START"); + } else { + byte[] bArr2 = cVar2.f695c; + int i6 = cVar2.d; + int i7 = i6 + 1; + cVar2.d = i7; + bArr2[i6] = t2; + cVar2.d = i7 + 1; + bArr2[i7] = t3; + } + } + c cVar3 = this.o; + if (cVar3.d == (cVar3.b * 2) - 1) { + j(); + } + } + } + } + } + + @Override // c.i.a.c.b3.n.e, c.i.a.c.v2.d + public void flush() { + super.flush(); + this.m = null; + this.n = null; + this.p = 0; + this.l = this.k[0]; + l(); + this.o = null; + } + + @Override // c.i.a.c.b3.n.e + public boolean h() { + return this.m != this.n; + } + + public final void j() { + c cVar = this.o; + if (cVar != null) { + int i = cVar.d; + int i2 = (cVar.b * 2) - 1; + if (i != i2) { + int i3 = cVar.a; + StringBuilder O = c.d.b.a.a.O(115, "DtvCcPacket ended prematurely; size is ", i2, ", but current index is ", i); + O.append(" (sequence number "); + O.append(i3); + O.append(");"); + Log.d("Cea708Decoder", O.toString()); + } + w wVar = this.h; + c cVar2 = this.o; + wVar.j(cVar2.f695c, cVar2.d); + int i4 = 3; + int g = this.h.g(3); + int g2 = this.h.g(5); + int i5 = 7; + int i6 = 6; + if (g == 7) { + this.h.m(2); + g = this.h.g(6); + if (g < 7) { + c.d.b.a.a.d0(44, "Invalid extended service number: ", g, "Cea708Decoder"); + } + } + if (g2 == 0) { + if (g != 0) { + StringBuilder sb = new StringBuilder(59); + sb.append("serviceNumber is non-zero ("); + sb.append(g); + sb.append(") when blockSize is 0"); + Log.w("Cea708Decoder", sb.toString()); + } + } else if (g == this.j) { + boolean z2 = false; + while (this.h.b() > 0) { + int g3 = this.h.g(8); + if (g3 != 16) { + if (g3 <= 31) { + if (g3 != 0) { + if (g3 == i4) { + this.m = k(); + } else if (g3 != 8) { + switch (g3) { + case 12: + l(); + continue; + case 13: + this.l.a('\n'); + continue; + case 14: + break; + default: + if (g3 < 17 || g3 > 23) { + if (g3 < 24 || g3 > 31) { + c.d.b.a.a.d0(31, "Invalid C0 command: ", g3, "Cea708Decoder"); + break; + } else { + c.d.b.a.a.d0(54, "Currently unsupported COMMAND_P16 Command: ", g3, "Cea708Decoder"); + this.h.m(16); + break; + } + } else { + c.d.b.a.a.d0(55, "Currently unsupported COMMAND_EXT1 Command: ", g3, "Cea708Decoder"); + this.h.m(8); + continue; + } + } + } else { + b bVar = this.l; + int length = bVar.m.length(); + if (length > 0) { + bVar.m.delete(length - 1, length); + } + } + } + } else if (g3 <= 127) { + if (g3 == 127) { + this.l.a(9835); + } else { + this.l.a((char) (g3 & 255)); + } + } else if (g3 <= 159) { + switch (g3) { + case 128: + case 129: + case 130: + case 131: + case 132: + case 133: + case 134: + case 135: + int i7 = g3 - 128; + if (this.p != i7) { + this.p = i7; + this.l = this.k[i7]; + break; + } + break; + case 136: + for (int i8 = 1; i8 <= 8; i8++) { + if (this.h.f()) { + this.k[8 - i8].c(); + } + } + break; + case 137: + for (int i9 = 1; i9 <= 8; i9++) { + if (this.h.f()) { + this.k[8 - i9].o = true; + } + } + break; + case 138: + for (int i10 = 1; i10 <= 8; i10++) { + if (this.h.f()) { + this.k[8 - i10].o = false; + } + } + break; + case 139: + for (int i11 = 1; i11 <= 8; i11++) { + if (this.h.f()) { + b bVar2 = this.k[8 - i11]; + bVar2.o = !bVar2.o; + } + } + break; + case 140: + for (int i12 = 1; i12 <= 8; i12++) { + if (this.h.f()) { + this.k[8 - i12].f(); + } + } + break; + case 141: + this.h.m(8); + break; + case 142: + break; + case 143: + l(); + break; + case 144: + if (!this.l.n) { + this.h.m(16); + break; + } else { + this.h.g(4); + this.h.g(2); + this.h.g(2); + boolean f = this.h.f(); + boolean f2 = this.h.f(); + this.h.g(3); + this.h.g(3); + this.l.g(f, f2); + break; + } + case 145: + if (!this.l.n) { + this.h.m(24); + break; + } else { + int d = b.d(this.h.g(2), this.h.g(2), this.h.g(2), this.h.g(2)); + int d2 = b.d(this.h.g(2), this.h.g(2), this.h.g(2), this.h.g(2)); + this.h.m(2); + b.d(this.h.g(2), this.h.g(2), this.h.g(2), 0); + this.l.h(d, d2); + break; + } + case 146: + if (!this.l.n) { + this.h.m(16); + break; + } else { + this.h.m(4); + int g4 = this.h.g(4); + this.h.m(2); + this.h.g(6); + b bVar3 = this.l; + if (bVar3.G != g4) { + bVar3.a('\n'); + } + bVar3.G = g4; + break; + } + case 147: + case 148: + case 149: + case FontUtils.MAX_FONT_SCALING /* 150 */: + default: + Log.w("Cea708Decoder", c.d.b.a.a.f(31, "Invalid C1 command: ", g3)); + break; + case 151: + if (!this.l.n) { + this.h.m(32); + break; + } else { + int d3 = b.d(this.h.g(2), this.h.g(2), this.h.g(2), this.h.g(2)); + this.h.g(2); + b.d(this.h.g(2), this.h.g(2), this.h.g(2), 0); + this.h.f(); + this.h.f(); + this.h.g(2); + this.h.g(2); + int g5 = this.h.g(2); + this.h.m(8); + b bVar4 = this.l; + bVar4.f694z = d3; + bVar4.w = g5; + break; + } + case 152: + case 153: + case 154: + case 155: + case 156: + case 157: + case 158: + case 159: + int i13 = g3 - 152; + b bVar5 = this.k[i13]; + this.h.m(2); + boolean f3 = this.h.f(); + boolean f4 = this.h.f(); + this.h.f(); + int g6 = this.h.g(i4); + boolean f5 = this.h.f(); + int g7 = this.h.g(i5); + int g8 = this.h.g(8); + int g9 = this.h.g(4); + int g10 = this.h.g(4); + this.h.m(2); + this.h.g(i6); + this.h.m(2); + int g11 = this.h.g(i4); + int g12 = this.h.g(i4); + bVar5.n = true; + bVar5.o = f3; + bVar5.v = f4; + bVar5.p = g6; + bVar5.q = f5; + bVar5.r = g7; + bVar5.f691s = g8; + bVar5.t = g9; + int i14 = g10 + 1; + if (bVar5.u != i14) { + bVar5.u = i14; + while (true) { + if ((f4 && bVar5.l.size() >= bVar5.u) || bVar5.l.size() >= 15) { + bVar5.l.remove(0); + } + } + } + if (!(g11 == 0 || bVar5.f692x == g11)) { + bVar5.f692x = g11; + int i15 = g11 - 1; + int i16 = b.h[i15]; + boolean z3 = b.g[i15]; + int i17 = b.e[i15]; + int i18 = b.f[i15]; + int i19 = b.d[i15]; + bVar5.f694z = i16; + bVar5.w = i19; + } + if (!(g12 == 0 || bVar5.f693y == g12)) { + bVar5.f693y = g12; + int i20 = g12 - 1; + int i21 = b.j[i20]; + int i22 = b.i[i20]; + bVar5.g(false, false); + bVar5.h(b.a, b.k[i20]); + } + if (this.p != i13) { + this.p = i13; + this.l = this.k[i13]; + break; + } + break; + } + } else if (g3 <= 255) { + this.l.a((char) (g3 & 255)); + } else { + c.d.b.a.a.d0(33, "Invalid base command: ", g3, "Cea708Decoder"); + } + i4 = 3; + i5 = 7; + i6 = 6; + } else { + int g13 = this.h.g(8); + if (g13 <= 31) { + if (g13 > 7) { + if (g13 <= 15) { + this.h.m(8); + } else if (g13 <= 23) { + this.h.m(16); + } else if (g13 <= 31) { + this.h.m(24); + } + } + } else if (g13 <= 127) { + if (g13 == 32) { + this.l.a(' '); + } else if (g13 == 33) { + this.l.a(160); + } else if (g13 == 37) { + this.l.a(8230); + } else if (g13 == 42) { + this.l.a(352); + } else if (g13 == 44) { + this.l.a(338); + } else if (g13 == 63) { + this.l.a(376); + } else if (g13 == 57) { + this.l.a(8482); + } else if (g13 == 58) { + this.l.a(353); + } else if (g13 == 60) { + this.l.a(339); + } else if (g13 != 61) { + switch (g13) { + case 48: + this.l.a(9608); + break; + case 49: + this.l.a(8216); + break; + case 50: + this.l.a(8217); + break; + case 51: + this.l.a(8220); + break; + case 52: + this.l.a(8221); + break; + case 53: + this.l.a(8226); + break; + default: + switch (g13) { + case 118: + this.l.a(8539); + break; + case 119: + this.l.a(8540); + break; + case 120: + this.l.a(8541); + break; + case 121: + this.l.a(8542); + break; + case 122: + this.l.a(9474); + break; + case 123: + this.l.a(9488); + break; + case 124: + this.l.a(9492); + break; + case 125: + this.l.a(9472); + break; + case 126: + this.l.a(9496); + break; + case 127: + this.l.a(9484); + break; + default: + c.d.b.a.a.d0(33, "Invalid G2 character: ", g13, "Cea708Decoder"); + break; + } + } + } else { + this.l.a(8480); + } + } else if (g13 <= 159) { + if (g13 <= 135) { + this.h.m(32); + } else if (g13 <= 143) { + this.h.m(40); + } else if (g13 <= 159) { + this.h.m(2); + this.h.m(this.h.g(6) * 8); + } + } else if (g13 > 255) { + c.d.b.a.a.d0(37, "Invalid extended command: ", g13, "Cea708Decoder"); + } else if (g13 == 160) { + this.l.a(13252); + } else { + c.d.b.a.a.d0(33, "Invalid G3 character: ", g13, "Cea708Decoder"); + this.l.a('_'); + } + i4 = 3; + i5 = 7; + i6 = 6; + } + z2 = true; + i4 = 3; + i5 = 7; + i6 = 6; + } + if (z2) { + this.m = k(); + } + } + this.o = null; + } + } + + /* JADX WARNING: Removed duplicated region for block: B:27:0x007d */ + /* JADX WARNING: Removed duplicated region for block: B:28:0x0088 */ + /* JADX WARNING: Removed duplicated region for block: B:31:0x00a9 */ + /* JADX WARNING: Removed duplicated region for block: B:32:0x00ab */ + /* JADX WARNING: Removed duplicated region for block: B:37:0x00b4 */ + /* JADX WARNING: Removed duplicated region for block: B:38:0x00b7 */ + /* JADX WARNING: Removed duplicated region for block: B:43:0x00c4 */ + /* JADX WARNING: Removed duplicated region for block: B:44:0x00c7 */ + public final List k() { + a aVar; + Layout.Alignment alignment; + float f; + float f2; + ArrayList arrayList = new ArrayList(); + for (int i = 0; i < 8; i++) { + if (!this.k[i].e()) { + b[] bVarArr = this.k; + if (bVarArr[i].o) { + b bVar = bVarArr[i]; + if (bVar.e()) { + aVar = null; + } else { + SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(); + for (int i2 = 0; i2 < bVar.l.size(); i2++) { + spannableStringBuilder.append((CharSequence) bVar.l.get(i2)); + spannableStringBuilder.append('\n'); + } + spannableStringBuilder.append((CharSequence) bVar.b()); + int i3 = bVar.w; + if (i3 != 0) { + if (i3 == 1) { + alignment = Layout.Alignment.ALIGN_OPPOSITE; + } else if (i3 == 2) { + alignment = Layout.Alignment.ALIGN_CENTER; + } else if (i3 != 3) { + throw new IllegalArgumentException(c.d.b.a.a.f(43, "Unexpected justification value: ", bVar.w)); + } + if (!bVar.q) { + f2 = ((float) bVar.f691s) / 99.0f; + f = ((float) bVar.r) / 99.0f; + } else { + f2 = ((float) bVar.f691s) / 209.0f; + f = ((float) bVar.r) / 74.0f; + } + float f3 = (f2 * 0.9f) + 0.05f; + float f4 = (f * 0.9f) + 0.05f; + int i4 = bVar.t; + int i5 = i4 / 3; + int i6 = i4 % 3; + aVar = new a(spannableStringBuilder, alignment, f4, 0, i5 != 0 ? 0 : i5 == 1 ? 1 : 2, f3, i6 != 0 ? 0 : i6 == 1 ? 1 : 2, -3.4028235E38f, bVar.f694z == b.b, bVar.f694z, bVar.p); + } + alignment = Layout.Alignment.ALIGN_NORMAL; + if (!bVar.q) { + } + float f3 = (f2 * 0.9f) + 0.05f; + float f4 = (f * 0.9f) + 0.05f; + int i4 = bVar.t; + int i5 = i4 / 3; + int i6 = i4 % 3; + aVar = new a(spannableStringBuilder, alignment, f4, 0, i5 != 0 ? 0 : i5 == 1 ? 1 : 2, f3, i6 != 0 ? 0 : i6 == 1 ? 1 : 2, -3.4028235E38f, bVar.f694z == b.b, bVar.f694z, bVar.p); + } + if (aVar != null) { + arrayList.add(aVar); + } + } else { + continue; + } + } + } + Collections.sort(arrayList, a.i); + ArrayList arrayList2 = new ArrayList(arrayList.size()); + for (int i7 = 0; i7 < arrayList.size(); i7++) { + arrayList2.add(((a) arrayList.get(i7)).a); + } + return Collections.unmodifiableList(arrayList2); + } + + public final void l() { + for (int i = 0; i < 8; i++) { + this.k[i].f(); + } + } +} diff --git a/app/src/main/java/c/i/a/c/b3/n/e.java b/app/src/main/java/c/i/a/c/b3/n/e.java new file mode 100644 index 0000000000..f2f3728e74 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/n/e.java @@ -0,0 +1,184 @@ +package c.i.a.c.b3.n; + +import androidx.annotation.Nullable; +import androidx.recyclerview.widget.RecyclerView; +import c.c.a.a0.d; +import c.i.a.c.b3.g; +import c.i.a.c.b3.h; +import c.i.a.c.b3.j; +import c.i.a.c.b3.k; +import c.i.a.c.f3.e0; +import c.i.a.c.v2.f; +import com.google.android.exoplayer2.decoder.DecoderException; +import com.google.android.exoplayer2.text.SubtitleDecoderException; +import java.util.ArrayDeque; +import java.util.Objects; +import java.util.PriorityQueue; +/* compiled from: CeaDecoder */ +public abstract class e implements h { + public final ArrayDeque a = new ArrayDeque<>(); + public final ArrayDeque b; + + /* renamed from: c reason: collision with root package name */ + public final PriorityQueue f696c; + @Nullable + public b d; + public long e; + public long f; + + /* compiled from: CeaDecoder */ + public static final class b extends j implements Comparable { + public long r; + + public b() { + } + + public b(a aVar) { + } + + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ + @Override // java.lang.Comparable + public int compareTo(b bVar) { + b bVar2 = bVar; + if (n() == bVar2.n()) { + long j = this.m - bVar2.m; + if (j == 0) { + j = this.r - bVar2.r; + if (j == 0) { + return 0; + } + } + if (j > 0) { + return 1; + } + } else if (n()) { + return 1; + } + return -1; + } + } + + /* compiled from: CeaDecoder */ + public static final class c extends k { + public f.a m; + + public c(f.a aVar) { + this.m = aVar; + } + + @Override // c.i.a.c.v2.f + public final void p() { + e eVar = ((b) this.m).a; + Objects.requireNonNull(eVar); + q(); + eVar.b.add(this); + } + } + + public e() { + for (int i = 0; i < 10; i++) { + this.a.add(new b(null)); + } + this.b = new ArrayDeque<>(); + for (int i2 = 0; i2 < 2; i2++) { + this.b.add(new c(new b(this))); + } + this.f696c = new PriorityQueue<>(); + } + + @Override // c.i.a.c.b3.h + public void a(long j) { + this.e = j; + } + + /* Return type fixed from 'java.lang.Object' to match base method */ + @Override // c.i.a.c.v2.d + @Nullable + public j c() throws DecoderException { + d.D(this.d == null); + if (this.a.isEmpty()) { + return null; + } + b pollFirst = this.a.pollFirst(); + this.d = pollFirst; + return pollFirst; + } + + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ + @Override // c.i.a.c.v2.d + public void d(j jVar) throws DecoderException { + j jVar2 = jVar; + d.j(jVar2 == this.d); + b bVar = (b) jVar2; + if (bVar.m()) { + i(bVar); + } else { + long j = this.f; + this.f = 1 + j; + bVar.r = j; + this.f696c.add(bVar); + } + this.d = null; + } + + public abstract g e(); + + public abstract void f(j jVar); + + @Override // c.i.a.c.v2.d + public void flush() { + this.f = 0; + this.e = 0; + while (!this.f696c.isEmpty()) { + int i = e0.a; + i(this.f696c.poll()); + } + b bVar = this.d; + if (bVar != null) { + i(bVar); + this.d = null; + } + } + + @Nullable + /* renamed from: g */ + public k b() throws SubtitleDecoderException { + if (this.b.isEmpty()) { + return null; + } + while (!this.f696c.isEmpty()) { + int i = e0.a; + if (this.f696c.peek().m > this.e) { + break; + } + b poll = this.f696c.poll(); + if (poll.n()) { + k pollFirst = this.b.pollFirst(); + pollFirst.j(4); + i(poll); + return pollFirst; + } + f(poll); + if (h()) { + g e = e(); + k pollFirst2 = this.b.pollFirst(); + pollFirst2.r(poll.m, e, RecyclerView.FOREVER_NS); + i(poll); + return pollFirst2; + } + i(poll); + } + return null; + } + + public abstract boolean h(); + + public final void i(b bVar) { + bVar.p(); + this.a.add(bVar); + } + + @Override // c.i.a.c.v2.d + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/b3/n/f.java b/app/src/main/java/c/i/a/c/b3/n/f.java new file mode 100644 index 0000000000..40e84df5eb --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/n/f.java @@ -0,0 +1,36 @@ +package c.i.a.c.b3.n; + +import c.c.a.a0.d; +import c.i.a.c.b3.b; +import c.i.a.c.b3.g; +import java.util.Collections; +import java.util.List; +/* compiled from: CeaSubtitle */ +public final class f implements g { + public final List i; + + public f(List list) { + this.i = list; + } + + @Override // c.i.a.c.b3.g + public int f(long j) { + return j < 0 ? 0 : -1; + } + + @Override // c.i.a.c.b3.g + public long g(int i) { + d.j(i == 0); + return 0; + } + + @Override // c.i.a.c.b3.g + public List h(long j) { + return j >= 0 ? this.i : Collections.emptyList(); + } + + @Override // c.i.a.c.b3.g + public int i() { + return 1; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/o/a.java b/app/src/main/java/c/i/a/c/b3/o/a.java new file mode 100644 index 0000000000..c9e48df173 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/o/a.java @@ -0,0 +1,289 @@ +package c.i.a.c.b3.o; + +import android.graphics.Bitmap; +import android.graphics.Canvas; +import android.graphics.Paint; +import android.graphics.PorterDuff; +import android.util.Log; +import android.util.SparseArray; +import androidx.core.view.ViewCompat; +import c.i.a.c.b3.f; +import c.i.a.c.b3.g; +import c.i.a.c.b3.o.b; +import c.i.a.c.f3.w; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Objects; +/* compiled from: DvbDecoder */ +public final class a extends f { + public final b n; + + public a(List list) { + super("DvbDecoder"); + byte[] bArr = list.get(0); + int length = bArr.length; + int i = 0 + 1; + int i2 = i + 1; + this.n = new b(((bArr[0] & 255) << 8) | (bArr[i] & 255), (bArr[i2 + 1] & 255) | ((bArr[i2] & 255) << 8)); + } + + @Override // c.i.a.c.b3.f + public g j(byte[] bArr, int i, boolean z2) { + c cVar; + c cVar2; + List list; + int i2; + c cVar3; + SparseArray sparseArray; + SparseArray sparseArray2; + b.f fVar; + int i3; + int i4; + int i5; + int i6; + int i7; + int i8; + if (z2) { + b.h hVar = this.n.i; + hVar.f703c.clear(); + hVar.d.clear(); + hVar.e.clear(); + hVar.f.clear(); + hVar.g.clear(); + hVar.h = null; + hVar.i = null; + } + b bVar = this.n; + Objects.requireNonNull(bVar); + w wVar = new w(bArr, i); + while (wVar.b() >= 48 && wVar.g(8) == 15) { + b.h hVar2 = bVar.i; + int g = wVar.g(8); + int i9 = 16; + int g2 = wVar.g(16); + int g3 = wVar.g(16); + int d = wVar.d() + g3; + if (g3 * 8 > wVar.b()) { + Log.w("DvbParser", "Data field length exceeds limit"); + wVar.m(wVar.b()); + } else { + switch (g) { + case 16: + if (g2 == hVar2.a) { + b.d dVar = hVar2.i; + int i10 = 8; + int g4 = wVar.g(8); + int g5 = wVar.g(4); + int g6 = wVar.g(2); + wVar.m(2); + int i11 = g3 - 2; + SparseArray sparseArray3 = new SparseArray(); + while (i11 > 0) { + int g7 = wVar.g(i10); + wVar.m(i10); + i11 -= 6; + sparseArray3.put(g7, new b.e(wVar.g(16), wVar.g(16))); + i10 = 8; + } + b.d dVar2 = new b.d(g4, g5, g6, sparseArray3); + if (g6 == 0) { + if (!(dVar == null || dVar.a == g5)) { + hVar2.i = dVar2; + break; + } + } else { + hVar2.i = dVar2; + hVar2.f703c.clear(); + hVar2.d.clear(); + hVar2.e.clear(); + break; + } + } + break; + case 17: + b.d dVar3 = hVar2.i; + if (g2 == hVar2.a && dVar3 != null) { + int g8 = wVar.g(8); + wVar.m(4); + boolean f = wVar.f(); + wVar.m(3); + int g9 = wVar.g(16); + int g10 = wVar.g(16); + int g11 = wVar.g(3); + int g12 = wVar.g(3); + wVar.m(2); + int g13 = wVar.g(8); + int g14 = wVar.g(8); + int g15 = wVar.g(4); + int g16 = wVar.g(2); + wVar.m(2); + int i12 = g3 - 10; + SparseArray sparseArray4 = new SparseArray(); + while (i12 > 0) { + int g17 = wVar.g(i9); + int g18 = wVar.g(2); + int g19 = wVar.g(2); + int g20 = wVar.g(12); + wVar.m(4); + int g21 = wVar.g(12); + i12 -= 6; + if (g18 == 1 || g18 == 2) { + i12 -= 2; + i4 = wVar.g(8); + i3 = wVar.g(8); + } else { + i4 = 0; + i3 = 0; + } + sparseArray4.put(g17, new b.g(g18, g19, g20, g21, i4, i3)); + i9 = 16; + } + b.f fVar2 = new b.f(g8, f, g9, g10, g11, g12, g13, g14, g15, g16, sparseArray4); + if (dVar3.b == 0 && (fVar = hVar2.f703c.get(g8)) != null) { + SparseArray sparseArray5 = fVar.j; + for (int i13 = 0; i13 < sparseArray5.size(); i13++) { + fVar2.j.put(sparseArray5.keyAt(i13), sparseArray5.valueAt(i13)); + } + } + hVar2.f703c.put(fVar2.a, fVar2); + break; + } + case 18: + if (g2 != hVar2.a) { + if (g2 == hVar2.b) { + b.a f2 = b.f(wVar, g3); + hVar2.f.put(f2.a, f2); + break; + } + } else { + b.a f3 = b.f(wVar, g3); + hVar2.d.put(f3.a, f3); + break; + } + break; + case 19: + if (g2 != hVar2.a) { + if (g2 == hVar2.b) { + b.c g22 = b.g(wVar); + hVar2.g.put(g22.a, g22); + break; + } + } else { + b.c g23 = b.g(wVar); + hVar2.e.put(g23.a, g23); + break; + } + break; + case 20: + if (g2 == hVar2.a) { + wVar.m(4); + boolean f4 = wVar.f(); + wVar.m(3); + int g24 = wVar.g(16); + int g25 = wVar.g(16); + if (f4) { + int g26 = wVar.g(16); + i7 = wVar.g(16); + i6 = wVar.g(16); + i5 = wVar.g(16); + i8 = g26; + } else { + i7 = g24; + i5 = g25; + i8 = 0; + i6 = 0; + } + hVar2.h = new b.C0088b(g24, g25, i8, i7, i6, i5); + break; + } + break; + } + wVar.n(d - wVar.d()); + } + } + b.h hVar3 = bVar.i; + b.d dVar4 = hVar3.i; + if (dVar4 == null) { + list = Collections.emptyList(); + cVar2 = cVar; + } else { + b.C0088b bVar2 = hVar3.h; + if (bVar2 == null) { + bVar2 = bVar.g; + } + Bitmap bitmap = bVar.j; + if (!(bitmap != null && bVar2.a + 1 == bitmap.getWidth() && bVar2.b + 1 == bVar.j.getHeight())) { + Bitmap createBitmap = Bitmap.createBitmap(bVar2.a + 1, bVar2.b + 1, Bitmap.Config.ARGB_8888); + bVar.j = createBitmap; + bVar.f.setBitmap(createBitmap); + } + ArrayList arrayList = new ArrayList(); + SparseArray sparseArray6 = dVar4.f701c; + int i14 = 0; + while (i14 < sparseArray6.size()) { + bVar.f.save(); + b.e valueAt = sparseArray6.valueAt(i14); + b.f fVar3 = bVar.i.f703c.get(sparseArray6.keyAt(i14)); + int i15 = valueAt.a + bVar2.f699c; + int i16 = valueAt.b + bVar2.e; + bVar.f.clipRect(i15, i16, Math.min(fVar3.f702c + i15, bVar2.d), Math.min(fVar3.d + i16, bVar2.f)); + b.a aVar = bVar.i.d.get(fVar3.f); + if (aVar == null && (aVar = bVar.i.f.get(fVar3.f)) == null) { + aVar = bVar.h; + } + SparseArray sparseArray7 = fVar3.j; + int i17 = 0; + while (i17 < sparseArray7.size()) { + int keyAt = sparseArray7.keyAt(i17); + b.g valueAt2 = sparseArray7.valueAt(i17); + b.c cVar4 = bVar.i.e.get(keyAt); + if (cVar4 == null) { + cVar4 = bVar.i.g.get(keyAt); + } + if (cVar4 != null) { + Paint paint = cVar4.b ? null : bVar.d; + int i18 = fVar3.e; + sparseArray2 = sparseArray6; + int i19 = valueAt2.a + i15; + int i20 = valueAt2.b + i16; + sparseArray = sparseArray7; + Canvas canvas = bVar.f; + cVar3 = cVar; + int[] iArr = i18 == 3 ? aVar.d : i18 == 2 ? aVar.f698c : aVar.b; + i2 = i14; + b.e(cVar4.f700c, iArr, i18, i19, i20, paint, canvas); + b.e(cVar4.d, iArr, i18, i19, i20 + 1, paint, canvas); + } else { + cVar3 = cVar; + sparseArray2 = sparseArray6; + i2 = i14; + sparseArray = sparseArray7; + } + i17++; + sparseArray6 = sparseArray2; + sparseArray7 = sparseArray; + cVar = cVar3; + i14 = i2; + } + if (fVar3.b) { + int i21 = fVar3.e; + bVar.e.setColor(i21 == 3 ? aVar.d[fVar3.g] : i21 == 2 ? aVar.f698c[fVar3.h] : aVar.b[fVar3.i]); + bVar.f.drawRect((float) i15, (float) i16, (float) (fVar3.f702c + i15), (float) (fVar3.d + i16), bVar.e); + } + Bitmap createBitmap2 = Bitmap.createBitmap(bVar.j, i15, i16, fVar3.f702c, fVar3.d); + float f5 = (float) bVar2.a; + float f6 = (float) bVar2.b; + arrayList.add(new c.i.a.c.b3.b(null, null, null, createBitmap2, ((float) i16) / f6, 0, 0, ((float) i15) / f5, 0, Integer.MIN_VALUE, -3.4028235E38f, ((float) fVar3.f702c) / f5, ((float) fVar3.d) / f6, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null)); + bVar.f.drawColor(0, PorterDuff.Mode.CLEAR); + bVar.f.restore(); + i14++; + sparseArray6 = sparseArray6; + cVar = cVar; + } + cVar2 = cVar; + list = Collections.unmodifiableList(arrayList); + } + return new c(list); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/o/b.java b/app/src/main/java/c/i/a/c/b3/o/b.java new file mode 100644 index 0000000000..e925c27ab7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/o/b.java @@ -0,0 +1,654 @@ +package c.i.a.c.b3.o; + +import android.graphics.Bitmap; +import android.graphics.Canvas; +import android.graphics.Paint; +import android.graphics.PorterDuff; +import android.graphics.PorterDuffXfermode; +import android.util.SparseArray; +import androidx.annotation.Nullable; +import androidx.core.view.ViewCompat; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.w; +/* compiled from: DvbParser */ +public final class b { + public static final byte[] a = {0, 7, 8, 15}; + public static final byte[] b = {0, 119, -120, -1}; + + /* renamed from: c reason: collision with root package name */ + public static final byte[] f697c = {0, 17, 34, 51, 68, 85, 102, 119, -120, -103, -86, -69, -52, -35, -18, -1}; + public final Paint d; + public final Paint e; + public final Canvas f = new Canvas(); + public final C0088b g = new C0088b(719, 575, 0, 719, 0, 575); + public final a h = new a(0, new int[]{0, -1, ViewCompat.MEASURED_STATE_MASK, -8421505}, b(), c()); + public final h i; + public Bitmap j; + + /* compiled from: DvbParser */ + public static final class a { + public final int a; + public final int[] b; + + /* renamed from: c reason: collision with root package name */ + public final int[] f698c; + public final int[] d; + + public a(int i, int[] iArr, int[] iArr2, int[] iArr3) { + this.a = i; + this.b = iArr; + this.f698c = iArr2; + this.d = iArr3; + } + } + + /* compiled from: DvbParser */ + /* renamed from: c.i.a.c.b3.o.b$b reason: collision with other inner class name */ + public static final class C0088b { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f699c; + public final int d; + public final int e; + public final int f; + + public C0088b(int i, int i2, int i3, int i4, int i5, int i6) { + this.a = i; + this.b = i2; + this.f699c = i3; + this.d = i4; + this.e = i5; + this.f = i6; + } + } + + /* compiled from: DvbParser */ + public static final class c { + public final int a; + public final boolean b; + + /* renamed from: c reason: collision with root package name */ + public final byte[] f700c; + public final byte[] d; + + public c(int i, boolean z2, byte[] bArr, byte[] bArr2) { + this.a = i; + this.b = z2; + this.f700c = bArr; + this.d = bArr2; + } + } + + /* compiled from: DvbParser */ + public static final class d { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final SparseArray f701c; + + public d(int i, int i2, int i3, SparseArray sparseArray) { + this.a = i2; + this.b = i3; + this.f701c = sparseArray; + } + } + + /* compiled from: DvbParser */ + public static final class e { + public final int a; + public final int b; + + public e(int i, int i2) { + this.a = i; + this.b = i2; + } + } + + /* compiled from: DvbParser */ + public static final class f { + public final int a; + public final boolean b; + + /* renamed from: c reason: collision with root package name */ + public final int f702c; + public final int d; + public final int e; + public final int f; + public final int g; + public final int h; + public final int i; + public final SparseArray j; + + public f(int i, boolean z2, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, SparseArray sparseArray) { + this.a = i; + this.b = z2; + this.f702c = i2; + this.d = i3; + this.e = i5; + this.f = i6; + this.g = i7; + this.h = i8; + this.i = i9; + this.j = sparseArray; + } + } + + /* compiled from: DvbParser */ + public static final class g { + public final int a; + public final int b; + + public g(int i, int i2, int i3, int i4, int i5, int i6) { + this.a = i3; + this.b = i4; + } + } + + /* compiled from: DvbParser */ + public static final class h { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final SparseArray f703c = new SparseArray<>(); + public final SparseArray d = new SparseArray<>(); + public final SparseArray e = new SparseArray<>(); + public final SparseArray f = new SparseArray<>(); + public final SparseArray g = new SparseArray<>(); + @Nullable + public C0088b h; + @Nullable + public d i; + + public h(int i, int i2) { + this.a = i; + this.b = i2; + } + } + + public b(int i, int i2) { + Paint paint = new Paint(); + this.d = paint; + paint.setStyle(Paint.Style.FILL_AND_STROKE); + paint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC)); + paint.setPathEffect(null); + Paint paint2 = new Paint(); + this.e = paint2; + paint2.setStyle(Paint.Style.FILL); + paint2.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.DST_OVER)); + paint2.setPathEffect(null); + this.i = new h(i, i2); + } + + public static byte[] a(int i, int i2, w wVar) { + byte[] bArr = new byte[i]; + for (int i3 = 0; i3 < i; i3++) { + bArr[i3] = (byte) wVar.g(i2); + } + return bArr; + } + + public static int[] b() { + int[] iArr = new int[16]; + iArr[0] = 0; + for (int i = 1; i < 16; i++) { + if (i < 8) { + iArr[i] = d(255, (i & 1) != 0 ? 255 : 0, (i & 2) != 0 ? 255 : 0, (i & 4) != 0 ? 255 : 0); + } else { + int i2 = 127; + int i3 = (i & 1) != 0 ? 127 : 0; + int i4 = (i & 2) != 0 ? 127 : 0; + if ((i & 4) == 0) { + i2 = 0; + } + iArr[i] = d(255, i3, i4, i2); + } + } + return iArr; + } + + public static int[] c() { + int[] iArr = new int[256]; + iArr[0] = 0; + for (int i = 0; i < 256; i++) { + int i2 = 255; + if (i < 8) { + int i3 = (i & 1) != 0 ? 255 : 0; + int i4 = (i & 2) != 0 ? 255 : 0; + if ((i & 4) == 0) { + i2 = 0; + } + iArr[i] = d(63, i3, i4, i2); + } else { + int i5 = i & 136; + int i6 = 170; + int i7 = 85; + if (i5 == 0) { + int i8 = ((i & 1) != 0 ? 85 : 0) + ((i & 16) != 0 ? 170 : 0); + int i9 = ((i & 2) != 0 ? 85 : 0) + ((i & 32) != 0 ? 170 : 0); + if ((i & 4) == 0) { + i7 = 0; + } + if ((i & 64) == 0) { + i6 = 0; + } + iArr[i] = d(255, i8, i9, i7 + i6); + } else if (i5 != 8) { + int i10 = 43; + if (i5 == 128) { + int i11 = ((i & 1) != 0 ? 43 : 0) + 127 + ((i & 16) != 0 ? 85 : 0); + int i12 = ((i & 2) != 0 ? 43 : 0) + 127 + ((i & 32) != 0 ? 85 : 0); + if ((i & 4) == 0) { + i10 = 0; + } + int i13 = i10 + 127; + if ((i & 64) == 0) { + i7 = 0; + } + iArr[i] = d(255, i11, i12, i13 + i7); + } else if (i5 == 136) { + int i14 = ((i & 1) != 0 ? 43 : 0) + ((i & 16) != 0 ? 85 : 0); + int i15 = ((i & 2) != 0 ? 43 : 0) + ((i & 32) != 0 ? 85 : 0); + if ((i & 4) == 0) { + i10 = 0; + } + if ((i & 64) == 0) { + i7 = 0; + } + iArr[i] = d(255, i14, i15, i10 + i7); + } + } else { + int i16 = ((i & 1) != 0 ? 85 : 0) + ((i & 16) != 0 ? 170 : 0); + int i17 = ((i & 2) != 0 ? 85 : 0) + ((i & 32) != 0 ? 170 : 0); + if ((i & 4) == 0) { + i7 = 0; + } + if ((i & 64) == 0) { + i6 = 0; + } + iArr[i] = d(127, i16, i17, i7 + i6); + } + } + } + return iArr; + } + + public static int d(int i, int i2, int i3, int i4) { + return (i << 24) | (i2 << 16) | (i3 << 8) | i4; + } + + /* JADX DEBUG: Failed to insert an additional move for type inference into block B:63:0x0114 */ + /* JADX DEBUG: Failed to insert an additional move for type inference into block B:106:0x01d3 */ + /* JADX WARNING: Removed duplicated region for block: B:105:0x01d1 A[ADDED_TO_REGION] */ + /* JADX WARNING: Removed duplicated region for block: B:113:0x020b A[LOOP:3: B:83:0x0163->B:113:0x020b, LOOP_END] */ + /* JADX WARNING: Removed duplicated region for block: B:136:0x013b A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:137:0x0205 A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:62:0x0112 A[ADDED_TO_REGION] */ + /* JADX WARNING: Removed duplicated region for block: B:70:0x0141 A[LOOP:2: B:38:0x00ab->B:70:0x0141, LOOP_END] */ + /* JADX WARNING: Removed duplicated region for block: B:85:0x016a */ + public static void e(byte[] bArr, int[] iArr, int i, int i2, int i3, @Nullable Paint paint, Canvas canvas) { + byte[] bArr2; + int i4; + boolean z2; + int g2; + int i5; + boolean z3; + byte b2; + int i6; + int i7; + int i8; + byte[] bArr3; + byte[] bArr4; + int i9; + boolean z4; + byte b3; + int i10; + int i11; + int i12; + int i13; + boolean z5; + w wVar = new w(bArr); + int i14 = i2; + int i15 = i3; + byte[] bArr5 = null; + byte[] bArr6 = null; + byte[] bArr7 = null; + while (wVar.b() != 0) { + int i16 = 8; + int g3 = wVar.g(8); + if (g3 != 240) { + int i17 = 4; + int i18 = 2; + switch (g3) { + case 16: + if (i == 3) { + bArr3 = bArr5 == null ? b : bArr5; + } else if (i == 2) { + bArr3 = bArr7 == null ? a : bArr7; + } else { + bArr2 = null; + i4 = i14; + z2 = false; + while (true) { + g2 = wVar.g(2); + if (g2 == 0) { + if (wVar.f()) { + i8 = wVar.g(3) + 3; + i7 = wVar.g(2); + } else if (wVar.f()) { + g2 = 0; + } else { + int g4 = wVar.g(2); + if (g4 == 0) { + z2 = true; + } else if (g4 == 1) { + z3 = z2; + b2 = 0; + i5 = 2; + if (i5 != 0 || paint == null) { + i6 = i4; + } else { + if (bArr2 != null) { + b2 = bArr2[b2]; + } + paint.setColor(iArr[b2 == true ? 1 : 0]); + i6 = i4; + canvas.drawRect((float) i4, (float) i15, (float) (i4 + i5), (float) (i15 + 1), paint); + } + i4 = i6 + i5; + if (z3) { + wVar.c(); + i14 = i4; + continue; + } else { + z2 = z3; + } + } else if (g4 == 2) { + i8 = wVar.g(4) + 12; + i7 = wVar.g(2); + } else if (g4 == 3) { + i8 = wVar.g(8) + 29; + i7 = wVar.g(2); + } + z3 = z2; + b2 = 0; + i5 = 0; + if (i5 != 0) { + } + i6 = i4; + i4 = i6 + i5; + if (z3) { + } + } + i5 = i8; + b2 = i7; + z3 = z2; + if (i5 != 0) { + } + i6 = i4; + i4 = i6 + i5; + if (z3) { + } + } + z3 = z2; + i5 = 1; + b2 = g2; + if (i5 != 0) { + } + i6 = i4; + i4 = i6 + i5; + if (z3) { + } + } + } + bArr2 = bArr3; + i4 = i14; + z2 = false; + while (true) { + g2 = wVar.g(2); + if (g2 == 0) { + } + z3 = z2; + i5 = 1; + b2 = g2; + if (i5 != 0) { + } + i6 = i4; + i4 = i6 + i5; + if (z3) { + } + z2 = z3; + } + case 17: + if (i == 3) { + bArr4 = bArr6 == null ? f697c : bArr6; + } else { + bArr4 = null; + } + int i19 = i14; + boolean z6 = false; + while (true) { + int g5 = wVar.g(i17); + if (g5 == 0) { + if (!wVar.f()) { + int g6 = wVar.g(3); + if (g6 != 0) { + z4 = z6; + i9 = g6 + 2; + b3 = 0; + if (i9 != 0 || paint == null) { + i10 = i19; + } else { + if (bArr4 != null) { + b3 = bArr4[b3]; + } + paint.setColor(iArr[b3 == true ? 1 : 0]); + i10 = i19; + canvas.drawRect((float) i19, (float) i15, (float) (i19 + i9), (float) (i15 + 1), paint); + } + i19 = i10 + i9; + if (z4) { + wVar.c(); + i14 = i19; + continue; + } else { + z6 = z4; + i18 = 2; + i17 = 4; + i16 = 8; + } + } else { + z6 = true; + } + } else { + if (!wVar.f()) { + i12 = wVar.g(i18) + i17; + i11 = wVar.g(i17); + } else { + int g7 = wVar.g(i18); + if (g7 == 0) { + g5 = 0; + } else if (g7 == 1) { + z4 = z6; + b3 = 0; + i9 = 2; + if (i9 != 0) { + } + i10 = i19; + i19 = i10 + i9; + if (z4) { + } + } else if (g7 == i18) { + i12 = wVar.g(i17) + 9; + i11 = wVar.g(i17); + } else if (g7 == 3) { + i12 = wVar.g(i16) + 25; + i11 = wVar.g(i17); + } + } + z4 = z6; + i9 = i12; + b3 = i11; + if (i9 != 0) { + } + i10 = i19; + i19 = i10 + i9; + if (z4) { + } + } + z4 = z6; + b3 = 0; + i9 = 0; + if (i9 != 0) { + } + i10 = i19; + i19 = i10 + i9; + if (z4) { + } + } + z4 = z6; + b3 = g5; + i9 = 1; + if (i9 != 0) { + } + i10 = i19; + i19 = i10 + i9; + if (z4) { + } + } + case 18: + int i20 = i14; + boolean z7 = false; + while (true) { + int g8 = wVar.g(8); + if (g8 != 0) { + z5 = z7; + i13 = 1; + } else if (!wVar.f()) { + int g9 = wVar.g(7); + if (g9 != 0) { + z5 = z7; + i13 = g9; + g8 = 0; + } else { + g8 = 0; + z5 = true; + i13 = 0; + } + } else { + z5 = z7; + i13 = wVar.g(7); + g8 = wVar.g(8); + } + if (i13 != 0 && paint != null) { + paint.setColor(iArr[g8]); + canvas.drawRect((float) i20, (float) i15, (float) (i20 + i13), (float) (i15 + 1), paint); + } + i20 += i13; + if (z5) { + i14 = i20; + continue; + } else { + z7 = z5; + } + } + default: + switch (g3) { + case 32: + bArr7 = a(4, 4, wVar); + continue; + case 33: + bArr5 = a(4, 8, wVar); + continue; + case 34: + bArr6 = a(16, 8, wVar); + continue; + default: + continue; + } + } + } else { + i15 += 2; + i14 = i2; + } + } + } + + public static a f(w wVar, int i) { + int i2; + int i3; + int i4; + int i5; + int i6 = 8; + int g2 = wVar.g(8); + wVar.m(8); + int i7 = i - 2; + int i8 = 4; + int[] iArr = {0, -1, ViewCompat.MEASURED_STATE_MASK, -8421505}; + int[] b2 = b(); + int[] c2 = c(); + while (i7 > 0) { + int g3 = wVar.g(i6); + int g4 = wVar.g(i6); + int i9 = i7 - 2; + int[] iArr2 = (g4 & 128) != 0 ? iArr : (g4 & 64) != 0 ? b2 : c2; + if ((g4 & 1) != 0) { + i5 = wVar.g(i6); + i4 = wVar.g(i6); + i3 = wVar.g(i6); + i2 = wVar.g(i6); + i7 = i9 - 4; + } else { + i7 = i9 - 2; + i4 = wVar.g(i8) << i8; + i2 = wVar.g(2) << 6; + i5 = wVar.g(6) << 2; + i3 = wVar.g(i8) << i8; + } + if (i5 == 0) { + i4 = 0; + i3 = 0; + i2 = 255; + } + double d2 = (double) i5; + double d3 = (double) (i4 - 128); + double d4 = (double) (i3 - 128); + iArr2[g3] = d((byte) (255 - (i2 & 255)), e0.h((int) ((1.402d * d3) + d2), 0, 255), e0.h((int) ((d2 - (0.34414d * d4)) - (d3 * 0.71414d)), 0, 255), e0.h((int) ((d4 * 1.772d) + d2), 0, 255)); + iArr = iArr; + g2 = g2; + i6 = 8; + i8 = 4; + } + return new a(g2, iArr, b2, c2); + } + + public static c g(w wVar) { + byte[] bArr; + int g2 = wVar.g(16); + wVar.m(4); + int g3 = wVar.g(2); + boolean f2 = wVar.f(); + wVar.m(1); + byte[] bArr2 = e0.f; + if (g3 == 1) { + wVar.m(wVar.g(8) * 16); + } else if (g3 == 0) { + int g4 = wVar.g(16); + int g5 = wVar.g(16); + if (g4 > 0) { + bArr2 = new byte[g4]; + wVar.i(bArr2, 0, g4); + } + if (g5 > 0) { + bArr = new byte[g5]; + wVar.i(bArr, 0, g5); + return new c(g2, f2, bArr2, bArr); + } + } + bArr = bArr2; + return new c(g2, f2, bArr2, bArr); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/o/c.java b/app/src/main/java/c/i/a/c/b3/o/c.java new file mode 100644 index 0000000000..10e3c1c745 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/o/c.java @@ -0,0 +1,33 @@ +package c.i.a.c.b3.o; + +import c.i.a.c.b3.b; +import c.i.a.c.b3.g; +import java.util.List; +/* compiled from: DvbSubtitle */ +public final class c implements g { + public final List i; + + public c(List list) { + this.i = list; + } + + @Override // c.i.a.c.b3.g + public int f(long j) { + return -1; + } + + @Override // c.i.a.c.b3.g + public long g(int i) { + return 0; + } + + @Override // c.i.a.c.b3.g + public List h(long j) { + return this.i; + } + + @Override // c.i.a.c.b3.g + public int i() { + return 1; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/p/a.java b/app/src/main/java/c/i/a/c/b3/p/a.java new file mode 100644 index 0000000000..dcc4790abb --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/p/a.java @@ -0,0 +1,200 @@ +package c.i.a.c.b3.p; + +import android.graphics.Bitmap; +import androidx.annotation.Nullable; +import androidx.core.view.ViewCompat; +import c.i.a.c.b3.b; +import c.i.a.c.b3.f; +import c.i.a.c.b3.g; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import com.google.android.exoplayer2.text.SubtitleDecoderException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.Objects; +import java.util.zip.Inflater; +/* compiled from: PgsDecoder */ +public final class a extends f { + public final x n = new x(); + public final x o = new x(); + public final C0089a p = new C0089a(); + @Nullable + public Inflater q; + + /* compiled from: PgsDecoder */ + /* renamed from: c.i.a.c.b3.p.a$a reason: collision with other inner class name */ + public static final class C0089a { + public final x a = new x(); + public final int[] b = new int[256]; + + /* renamed from: c reason: collision with root package name */ + public boolean f704c; + public int d; + public int e; + public int f; + public int g; + public int h; + public int i; + + public void a() { + this.d = 0; + this.e = 0; + this.f = 0; + this.g = 0; + this.h = 0; + this.i = 0; + this.a.A(0); + this.f704c = false; + } + } + + public a() { + super("PgsDecoder"); + } + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + @Override // c.i.a.c.b3.f + public g j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException { + b bVar; + x xVar; + x xVar2; + int i2; + int i3; + int v; + a aVar = this; + x xVar3 = aVar.n; + xVar3.a = bArr; + xVar3.f792c = i; + int i4 = 0; + xVar3.b = 0; + if (xVar3.a() > 0 && xVar3.c() == 120) { + if (aVar.q == null) { + aVar.q = new Inflater(); + } + if (e0.x(xVar3, aVar.o, aVar.q)) { + x xVar4 = aVar.o; + xVar3.C(xVar4.a, xVar4.f792c); + } + } + aVar.p.a(); + ArrayList arrayList = new ArrayList(); + while (aVar.n.a() >= 3) { + x xVar5 = aVar.n; + C0089a aVar2 = aVar.p; + int i5 = xVar5.f792c; + int t = xVar5.t(); + int y2 = xVar5.y(); + int i6 = xVar5.b + y2; + if (i6 > i5) { + xVar5.E(i5); + bVar = null; + } else { + if (t != 128) { + switch (t) { + case 20: + Objects.requireNonNull(aVar2); + if (y2 % 5 == 2) { + xVar5.F(2); + Arrays.fill(aVar2.b, i4); + int i7 = y2 / 5; + int i8 = 0; + while (i8 < i7) { + int t2 = xVar5.t(); + double t3 = (double) xVar5.t(); + double t4 = (double) (xVar5.t() - 128); + arrayList = arrayList; + double t5 = (double) (xVar5.t() - 128); + aVar2.b[t2] = (e0.h((int) ((1.402d * t4) + t3), 0, 255) << 16) | (xVar5.t() << 24) | (e0.h((int) ((t3 - (0.34414d * t5)) - (t4 * 0.71414d)), 0, 255) << 8) | e0.h((int) ((t5 * 1.772d) + t3), 0, 255); + i8++; + xVar5 = xVar5; + } + xVar = xVar5; + aVar2.f704c = true; + break; + } + xVar = xVar5; + break; + case 21: + Objects.requireNonNull(aVar2); + if (y2 >= 4) { + xVar5.F(3); + int i9 = y2 - 4; + if ((xVar5.t() & 128) != 0) { + if (i9 >= 7 && (v = xVar5.v()) >= 4) { + aVar2.h = xVar5.y(); + aVar2.i = xVar5.y(); + aVar2.a.A(v - 4); + i9 -= 7; + } + } + x xVar6 = aVar2.a; + int i10 = xVar6.b; + int i11 = xVar6.f792c; + if (i10 < i11 && i9 > 0) { + int min = Math.min(i9, i11 - i10); + xVar5.e(aVar2.a.a, i10, min); + aVar2.a.E(i10 + min); + } + } + xVar = xVar5; + break; + case 22: + Objects.requireNonNull(aVar2); + if (y2 >= 19) { + aVar2.d = xVar5.y(); + aVar2.e = xVar5.y(); + xVar5.F(11); + aVar2.f = xVar5.y(); + aVar2.g = xVar5.y(); + } + xVar = xVar5; + break; + default: + xVar = xVar5; + break; + } + bVar = null; + } else { + xVar = xVar5; + if (aVar2.d == 0 || aVar2.e == 0 || aVar2.h == 0 || aVar2.i == 0 || (i2 = (xVar2 = aVar2.a).f792c) == 0 || xVar2.b != i2 || !aVar2.f704c) { + bVar = null; + } else { + xVar2.E(0); + int i12 = aVar2.h * aVar2.i; + int[] iArr = new int[i12]; + int i13 = 0; + while (i13 < i12) { + int t6 = aVar2.a.t(); + if (t6 != 0) { + i3 = i13 + 1; + iArr[i13] = aVar2.b[t6]; + } else { + int t7 = aVar2.a.t(); + if (t7 != 0) { + i3 = ((t7 & 64) == 0 ? t7 & 63 : ((t7 & 63) << 8) | aVar2.a.t()) + i13; + Arrays.fill(iArr, i13, i3, (t7 & 128) == 0 ? 0 : aVar2.b[aVar2.a.t()]); + } + } + i13 = i3; + } + Bitmap createBitmap = Bitmap.createBitmap(iArr, aVar2.h, aVar2.i, Bitmap.Config.ARGB_8888); + float f = (float) aVar2.d; + float f2 = ((float) aVar2.f) / f; + float f3 = (float) aVar2.e; + bVar = new b(null, null, null, createBitmap, ((float) aVar2.g) / f3, 0, 0, f2, 0, Integer.MIN_VALUE, -3.4028235E38f, ((float) aVar2.h) / f, ((float) aVar2.i) / f3, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null); + } + aVar2.a(); + } + xVar.E(i6); + } + if (bVar != null) { + arrayList.add(bVar); + } + arrayList = arrayList; + i4 = 0; + aVar = this; + } + return new b(Collections.unmodifiableList(arrayList)); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/p/b.java b/app/src/main/java/c/i/a/c/b3/p/b.java new file mode 100644 index 0000000000..a9995046c6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/p/b.java @@ -0,0 +1,32 @@ +package c.i.a.c.b3.p; + +import c.i.a.c.b3.g; +import java.util.List; +/* compiled from: PgsSubtitle */ +public final class b implements g { + public final List i; + + public b(List list) { + this.i = list; + } + + @Override // c.i.a.c.b3.g + public int f(long j) { + return -1; + } + + @Override // c.i.a.c.b3.g + public long g(int i) { + return 0; + } + + @Override // c.i.a.c.b3.g + public List h(long j) { + return this.i; + } + + @Override // c.i.a.c.b3.g + public int i() { + return 1; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/q/a.java b/app/src/main/java/c/i/a/c/b3/q/a.java new file mode 100644 index 0000000000..43ea698deb --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/q/a.java @@ -0,0 +1,4 @@ +package c.i.a.c.b3.q; +/* compiled from: HorizontalTextInVerticalContextSpan */ +public final class a implements b { +} diff --git a/app/src/main/java/c/i/a/c/b3/q/b.java b/app/src/main/java/c/i/a/c/b3/q/b.java new file mode 100644 index 0000000000..dddd33fa6c --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/q/b.java @@ -0,0 +1,4 @@ +package c.i.a.c.b3.q; +/* compiled from: LanguageFeatureSpan */ +public interface b { +} diff --git a/app/src/main/java/c/i/a/c/b3/q/c.java b/app/src/main/java/c/i/a/c/b3/q/c.java new file mode 100644 index 0000000000..7e98a21d4e --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/q/c.java @@ -0,0 +1,11 @@ +package c.i.a.c.b3.q; +/* compiled from: RubySpan */ +public final class c implements b { + public final String a; + public final int b; + + public c(String str, int i) { + this.a = str; + this.b = i; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/q/d.java b/app/src/main/java/c/i/a/c/b3/q/d.java new file mode 100644 index 0000000000..387debc1dc --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/q/d.java @@ -0,0 +1,15 @@ +package c.i.a.c.b3.q; +/* compiled from: TextEmphasisSpan */ +public final class d implements b { + public int a; + public int b; + + /* renamed from: c reason: collision with root package name */ + public final int f705c; + + public d(int i, int i2, int i3) { + this.a = i; + this.b = i2; + this.f705c = i3; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/r/a.java b/app/src/main/java/c/i/a/c/b3/r/a.java new file mode 100644 index 0000000000..0698fc01c3 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/r/a.java @@ -0,0 +1,573 @@ +package c.i.a.c.b3.r; + +import android.graphics.PointF; +import android.text.Layout; +import android.text.SpannableString; +import android.text.TextUtils; +import android.text.style.ForegroundColorSpan; +import android.text.style.StrikethroughSpan; +import android.text.style.StyleSpan; +import android.text.style.UnderlineSpan; +import android.util.Log; +import androidx.annotation.Nullable; +import androidx.core.view.ViewCompat; +import c.c.a.a0.d; +import c.i.a.c.b3.b; +import c.i.a.c.b3.f; +import c.i.a.c.b3.g; +import c.i.a.c.b3.r.c; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.q; +import c.i.a.c.f3.x; +import com.discord.models.domain.ModelAuditLogEntry; +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +/* compiled from: SsaDecoder */ +public final class a extends f { + public static final Pattern n = Pattern.compile("(?:(\\d+):)?(\\d+):(\\d+)[:.](\\d+)"); + public final boolean o; + @Nullable + public final b p; + public Map q; + public float r = -3.4028235E38f; + + /* renamed from: s reason: collision with root package name */ + public float f706s = -3.4028235E38f; + + public a(@Nullable List list) { + super("SsaDecoder"); + if (list == null || list.isEmpty()) { + this.o = false; + this.p = null; + return; + } + this.o = true; + String l = e0.l(list.get(0)); + d.j(l.startsWith("Format:")); + b a = b.a(l); + Objects.requireNonNull(a); + this.p = a; + m(new x(list.get(1))); + } + + public static int k(long j, List list, List> list2) { + int i; + int size = list.size() - 1; + while (true) { + if (size < 0) { + i = 0; + break; + } else if (list.get(size).longValue() == j) { + return size; + } else { + if (list.get(size).longValue() < j) { + i = size + 1; + break; + } + size--; + } + } + list.add(i, Long.valueOf(j)); + list2.add(i, i == 0 ? new ArrayList() : new ArrayList(list2.get(i - 1))); + return i; + } + + public static float l(int i) { + if (i == 0) { + return 0.05f; + } + if (i != 1) { + return i != 2 ? -3.4028235E38f : 0.95f; + } + return 0.5f; + } + + public static long n(String str) { + Matcher matcher = n.matcher(str.trim()); + if (!matcher.matches()) { + return -9223372036854775807L; + } + String group = matcher.group(1); + int i = e0.a; + long parseLong = (Long.parseLong(matcher.group(2)) * 60 * 1000000) + (Long.parseLong(group) * 60 * 60 * 1000000); + return (Long.parseLong(matcher.group(4)) * 10000) + (Long.parseLong(matcher.group(3)) * 1000000) + parseLong; + } + + @Override // c.i.a.c.b3.f + public g j(byte[] bArr, int i, boolean z2) { + x xVar; + b bVar; + long j; + float f; + int i2; + int i3; + Layout.Alignment alignment; + int i4; + int i5; + float f2; + float f3; + int i6; + float f4; + float f5; + int i7; + int i8; + int i9; + int i10; + a aVar = this; + ArrayList arrayList = new ArrayList(); + ArrayList arrayList2 = new ArrayList(); + x xVar2 = new x(bArr, i); + if (!aVar.o) { + aVar.m(xVar2); + } + b bVar2 = aVar.o ? aVar.p : null; + while (true) { + String g = xVar2.g(); + if (g == null) { + return new d(arrayList, arrayList2); + } + if (g.startsWith("Format:")) { + bVar2 = b.a(g); + } else { + if (g.startsWith("Dialogue:")) { + if (bVar2 == null) { + Log.w("SsaDecoder", g.length() != 0 ? "Skipping dialogue line before complete format: ".concat(g) : new String("Skipping dialogue line before complete format: ")); + } else { + d.j(g.startsWith("Dialogue:")); + String[] split = g.substring(9).split(",", bVar2.e); + if (split.length != bVar2.e) { + Log.w("SsaDecoder", g.length() != 0 ? "Skipping dialogue line with fewer columns than format: ".concat(g) : new String("Skipping dialogue line with fewer columns than format: ")); + } else { + long n2 = n(split[bVar2.a]); + if (n2 == -9223372036854775807L) { + Log.w("SsaDecoder", g.length() != 0 ? "Skipping invalid timing: ".concat(g) : new String("Skipping invalid timing: ")); + } else { + long n3 = n(split[bVar2.b]); + if (n3 == -9223372036854775807L) { + Log.w("SsaDecoder", g.length() != 0 ? "Skipping invalid timing: ".concat(g) : new String("Skipping invalid timing: ")); + } else { + Map map = aVar.q; + c cVar = (map == null || (i10 = bVar2.f707c) == -1) ? null : map.get(split[i10].trim()); + String str = split[bVar2.d]; + Matcher matcher = c.b.a.matcher(str); + PointF pointF = null; + int i11 = -1; + while (true) { + xVar = xVar2; + if (matcher.find()) { + String group = matcher.group(1); + Objects.requireNonNull(group); + try { + PointF a = c.b.a(group); + if (a != null) { + pointF = a; + } + } catch (RuntimeException unused) { + } + try { + Matcher matcher2 = c.b.d.matcher(group); + if (matcher2.find()) { + String group2 = matcher2.group(1); + Objects.requireNonNull(group2); + i9 = c.a(group2); + } else { + i9 = -1; + } + if (i9 != -1) { + i11 = i9; + } + } catch (RuntimeException unused2) { + } + xVar2 = xVar; + } else { + String replace = c.b.a.matcher(str).replaceAll("").replace("\\N", "\n").replace("\\n", "\n").replace("\\h", " "); + float f6 = aVar.r; + float f7 = aVar.f706s; + SpannableString spannableString = new SpannableString(replace); + if (cVar != null) { + if (cVar.f708c != null) { + bVar = bVar2; + j = n3; + spannableString.setSpan(new ForegroundColorSpan(cVar.f708c.intValue()), 0, spannableString.length(), 33); + } else { + bVar = bVar2; + j = n3; + } + float f8 = cVar.d; + if (f8 == -3.4028235E38f || f7 == -3.4028235E38f) { + f4 = -3.4028235E38f; + i6 = Integer.MIN_VALUE; + } else { + f4 = f8 / f7; + i6 = 1; + } + boolean z3 = cVar.e; + if (!z3 || !cVar.f) { + f5 = f4; + i7 = 0; + i8 = 33; + if (z3) { + spannableString.setSpan(new StyleSpan(1), 0, spannableString.length(), 33); + } else if (cVar.f) { + spannableString.setSpan(new StyleSpan(2), 0, spannableString.length(), 33); + } + } else { + i7 = 0; + f5 = f4; + i8 = 33; + spannableString.setSpan(new StyleSpan(3), 0, spannableString.length(), 33); + } + if (cVar.g) { + spannableString.setSpan(new UnderlineSpan(), i7, spannableString.length(), i8); + } + if (cVar.h) { + spannableString.setSpan(new StrikethroughSpan(), i7, spannableString.length(), i8); + } + i3 = -1; + i2 = i6; + f = f5; + } else { + bVar = bVar2; + j = n3; + i3 = -1; + i2 = Integer.MIN_VALUE; + f = -3.4028235E38f; + } + if (i11 == i3) { + i11 = cVar != null ? cVar.b : i3; + } + switch (i11) { + case 0: + default: + Log.w("SsaDecoder", c.d.b.a.a.f(30, "Unknown alignment: ", i11)); + case -1: + alignment = null; + break; + case 1: + case 4: + case 7: + alignment = Layout.Alignment.ALIGN_NORMAL; + break; + case 2: + case 5: + case 8: + alignment = Layout.Alignment.ALIGN_CENTER; + break; + case 3: + case 6: + case 9: + alignment = Layout.Alignment.ALIGN_OPPOSITE; + break; + } + switch (i11) { + case 0: + default: + Log.w("SsaDecoder", c.d.b.a.a.f(30, "Unknown alignment: ", i11)); + case -1: + i4 = Integer.MIN_VALUE; + break; + case 1: + case 4: + case 7: + i4 = 0; + break; + case 2: + case 5: + case 8: + i4 = 1; + break; + case 3: + case 6: + case 9: + i4 = 2; + break; + } + switch (i11) { + case 0: + default: + Log.w("SsaDecoder", c.d.b.a.a.f(30, "Unknown alignment: ", i11)); + case -1: + i5 = Integer.MIN_VALUE; + break; + case 1: + case 2: + case 3: + i5 = 2; + break; + case 4: + case 5: + case 6: + i5 = 1; + break; + case 7: + case 8: + case 9: + i5 = 0; + break; + } + if (pointF == null || f7 == -3.4028235E38f || f6 == -3.4028235E38f) { + f3 = l(i4); + f2 = l(i5); + } else { + f3 = pointF.x / f6; + f2 = pointF.y / f7; + } + b bVar3 = new b(spannableString, alignment, null, null, f2, 0, i5, f3, i4, i2, f, -3.4028235E38f, -3.4028235E38f, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null); + int k = k(j, arrayList2, arrayList); + for (int k2 = k(n2, arrayList2, arrayList); k2 < k; k2++) { + ((List) arrayList.get(k2)).add(bVar3); + } + aVar = this; + bVar2 = bVar; + xVar2 = xVar; + } + } + } + } + } + } + } + xVar = xVar2; + bVar = bVar2; + aVar = this; + bVar2 = bVar; + xVar2 = xVar; + } + } + } + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + /* JADX WARNING: Removed duplicated region for block: B:133:0x0293 */ + public final void m(x xVar) { + char c2; + c cVar; + float f; + while (true) { + String g = xVar.g(); + if (g != null) { + int i = 91; + char c3 = 2; + char c4 = 0; + if ("[Script Info]".equalsIgnoreCase(g)) { + while (true) { + String g2 = xVar.g(); + if (g2 != null && (xVar.a() == 0 || xVar.c() != 91)) { + String[] split = g2.split(":"); + if (split.length == 2) { + String d1 = c.i.a.f.e.o.f.d1(split[0].trim()); + d1.hashCode(); + if (d1.equals("playresx")) { + this.r = Float.parseFloat(split[1].trim()); + } else if (d1.equals("playresy")) { + try { + this.f706s = Float.parseFloat(split[1].trim()); + } catch (NumberFormatException unused) { + } + } + } + } + } + } else if ("[V4+ Styles]".equalsIgnoreCase(g)) { + LinkedHashMap linkedHashMap = new LinkedHashMap(); + while (true) { + c.a aVar = null; + while (true) { + String g3 = xVar.g(); + if (g3 != null && (xVar.a() == 0 || xVar.c() != i)) { + if (g3.startsWith("Format:")) { + String[] split2 = TextUtils.split(g3.substring(7), ","); + int i2 = -1; + int i3 = -1; + int i4 = -1; + int i5 = -1; + int i6 = -1; + int i7 = -1; + int i8 = -1; + int i9 = -1; + for (int i10 = 0; i10 < split2.length; i10++) { + String d12 = c.i.a.f.e.o.f.d1(split2[i10].trim()); + d12.hashCode(); + switch (d12.hashCode()) { + case -1178781136: + if (d12.equals("italic")) { + c2 = 0; + break; + } + c2 = 65535; + break; + case -1026963764: + if (d12.equals("underline")) { + c2 = 1; + break; + } + c2 = 65535; + break; + case -192095652: + if (d12.equals("strikeout")) { + c2 = 2; + break; + } + c2 = 65535; + break; + case -70925746: + if (d12.equals("primarycolour")) { + c2 = 3; + break; + } + c2 = 65535; + break; + case 3029637: + if (d12.equals("bold")) { + c2 = 4; + break; + } + c2 = 65535; + break; + case 3373707: + if (d12.equals(ModelAuditLogEntry.CHANGE_KEY_NAME)) { + c2 = 5; + break; + } + c2 = 65535; + break; + case 366554320: + if (d12.equals("fontsize")) { + c2 = 6; + break; + } + c2 = 65535; + break; + case 1767875043: + if (d12.equals("alignment")) { + c2 = 7; + break; + } + c2 = 65535; + break; + default: + c2 = 65535; + break; + } + switch (c2) { + case 0: + i7 = i10; + break; + case 1: + i8 = i10; + break; + case 2: + i9 = i10; + break; + case 3: + i4 = i10; + break; + case 4: + i6 = i10; + break; + case 5: + i2 = i10; + break; + case 6: + i5 = i10; + break; + case 7: + i3 = i10; + break; + } + } + if (i2 != -1) { + aVar = new c.a(i2, i3, i4, i5, i6, i7, i8, i9, split2.length); + } + } else { + if (g3.startsWith("Style:")) { + if (aVar == null) { + Log.w("SsaDecoder", g3.length() != 0 ? "Skipping 'Style:' line before 'Format:' line: ".concat(g3) : new String("Skipping 'Style:' line before 'Format:' line: ")); + } else { + d.j(g3.startsWith("Style:")); + String[] split3 = TextUtils.split(g3.substring(6), ","); + int length = split3.length; + int i11 = aVar.i; + if (length != i11) { + Object[] objArr = new Object[3]; + objArr[c4] = Integer.valueOf(i11); + objArr[1] = Integer.valueOf(split3.length); + objArr[c3] = g3; + Log.w("SsaStyle", e0.k("Skipping malformed 'Style:' line (expected %s values, found %s): '%s'", objArr)); + } else { + try { + String trim = split3[aVar.a].trim(); + int i12 = aVar.b; + int a = i12 != -1 ? c.a(split3[i12].trim()) : -1; + int i13 = aVar.f709c; + Integer c5 = i13 != -1 ? c.c(split3[i13].trim()) : null; + int i14 = aVar.d; + if (i14 != -1) { + String trim2 = split3[i14].trim(); + try { + f = Float.parseFloat(trim2); + } catch (NumberFormatException e) { + StringBuilder sb = new StringBuilder(String.valueOf(trim2).length() + 29); + sb.append("Failed to parse font size: '"); + sb.append(trim2); + sb.append("'"); + q.c("SsaStyle", sb.toString(), e); + } + int i15 = aVar.e; + boolean z2 = i15 == -1 && c.b(split3[i15].trim()); + int i16 = aVar.f; + boolean z3 = i16 == -1 && c.b(split3[i16].trim()); + int i17 = aVar.g; + boolean z4 = i17 == -1 && c.b(split3[i17].trim()); + int i18 = aVar.h; + cVar = new c(trim, a, c5, f, z2, z3, z4, i18 == -1 && c.b(split3[i18].trim())); + if (cVar != null) { + linkedHashMap.put(cVar.a, cVar); + } + } + f = -3.4028235E38f; + int i15 = aVar.e; + if (i15 == -1) { + } + int i16 = aVar.f; + if (i16 == -1) { + } + int i17 = aVar.g; + if (i17 == -1) { + } + int i18 = aVar.h; + cVar = new c(trim, a, c5, f, z2, z3, z4, i18 == -1 && c.b(split3[i18].trim())); + } catch (RuntimeException e2) { + q.c("SsaStyle", c.d.b.a.a.j(g3.length() + 36, "Skipping malformed 'Style:' line: '", g3, "'"), e2); + } + if (cVar != null) { + } + } + cVar = null; + if (cVar != null) { + } + } + } + i = 91; + c3 = 2; + c4 = 0; + } + } + } + } + this.q = linkedHashMap; + } else if ("[V4 Styles]".equalsIgnoreCase(g)) { + Log.i("SsaDecoder", "[V4 Styles] are not supported"); + } else if ("[Events]".equalsIgnoreCase(g)) { + return; + } + } else { + return; + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/b3/r/b.java b/app/src/main/java/c/i/a/c/b3/r/b.java new file mode 100644 index 0000000000..1c240aa78b --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/r/b.java @@ -0,0 +1,87 @@ +package c.i.a.c.b3.r; + +import android.text.TextUtils; +import androidx.annotation.Nullable; +import androidx.core.app.NotificationCompat; +import c.c.a.a0.d; +import c.i.a.f.e.o.f; +/* compiled from: SsaDialogueFormat */ +public final class b { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f707c; + public final int d; + public final int e; + + public b(int i, int i2, int i3, int i4, int i5) { + this.a = i; + this.b = i2; + this.f707c = i3; + this.d = i4; + this.e = i5; + } + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + @Nullable + public static b a(String str) { + char c2; + d.j(str.startsWith("Format:")); + String[] split = TextUtils.split(str.substring(7), ","); + int i = -1; + int i2 = -1; + int i3 = -1; + int i4 = -1; + for (int i5 = 0; i5 < split.length; i5++) { + String d1 = f.d1(split[i5].trim()); + d1.hashCode(); + switch (d1.hashCode()) { + case 100571: + if (d1.equals("end")) { + c2 = 0; + break; + } + c2 = 65535; + break; + case 3556653: + if (d1.equals(NotificationCompat.MessagingStyle.Message.KEY_TEXT)) { + c2 = 1; + break; + } + c2 = 65535; + break; + case 109757538: + if (d1.equals("start")) { + c2 = 2; + break; + } + c2 = 65535; + break; + case 109780401: + if (d1.equals("style")) { + c2 = 3; + break; + } + c2 = 65535; + break; + default: + c2 = 65535; + break; + } + if (c2 == 0) { + i2 = i5; + } else if (c2 == 1) { + i4 = i5; + } else if (c2 == 2) { + i = i5; + } else if (c2 == 3) { + i3 = i5; + } + } + if (i == -1 || i2 == -1 || i4 == -1) { + return null; + } + return new b(i, i2, i3, i4, split.length); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/r/c.java b/app/src/main/java/c/i/a/c/b3/r/c.java new file mode 100644 index 0000000000..de00b3e1cd --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/r/c.java @@ -0,0 +1,160 @@ +package c.i.a.c.b3.r; + +import android.graphics.Color; +import android.graphics.PointF; +import android.util.Log; +import androidx.annotation.ColorInt; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.q; +import c.i.a.f.e.o.f; +import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +/* compiled from: SsaStyle */ +public final class c { + public final String a; + public final int b; + @Nullable + @ColorInt + + /* renamed from: c reason: collision with root package name */ + public final Integer f708c; + public final float d; + public final boolean e; + public final boolean f; + public final boolean g; + public final boolean h; + + /* compiled from: SsaStyle */ + public static final class a { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f709c; + public final int d; + public final int e; + public final int f; + public final int g; + public final int h; + public final int i; + + public a(int i, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9) { + this.a = i; + this.b = i2; + this.f709c = i3; + this.d = i4; + this.e = i5; + this.f = i6; + this.g = i7; + this.h = i8; + this.i = i9; + } + } + + /* compiled from: SsaStyle */ + public static final class b { + public static final Pattern a = Pattern.compile("\\{([^}]*)\\}"); + public static final Pattern b = Pattern.compile(e0.k("\\\\pos\\((%1$s),(%1$s)\\)", "\\s*\\d+(?:\\.\\d+)?\\s*")); + + /* renamed from: c reason: collision with root package name */ + public static final Pattern f710c = Pattern.compile(e0.k("\\\\move\\(%1$s,%1$s,(%1$s),(%1$s)(?:,%1$s,%1$s)?\\)", "\\s*\\d+(?:\\.\\d+)?\\s*")); + public static final Pattern d = Pattern.compile("\\\\an(\\d+)"); + + @Nullable + public static PointF a(String str) { + String str2; + String str3; + Matcher matcher = b.matcher(str); + Matcher matcher2 = f710c.matcher(str); + boolean find = matcher.find(); + boolean find2 = matcher2.find(); + if (find) { + if (find2) { + StringBuilder sb = new StringBuilder(str.length() + 82); + sb.append("Override has both \\pos(x,y) and \\move(x1,y1,x2,y2); using \\pos values. override='"); + sb.append(str); + sb.append("'"); + Log.i("SsaStyle.Overrides", sb.toString()); + } + str2 = matcher.group(1); + str3 = matcher.group(2); + } else if (!find2) { + return null; + } else { + str2 = matcher2.group(1); + str3 = matcher2.group(2); + } + Objects.requireNonNull(str2); + float parseFloat = Float.parseFloat(str2.trim()); + Objects.requireNonNull(str3); + return new PointF(parseFloat, Float.parseFloat(str3.trim())); + } + } + + public c(String str, int i, @Nullable @ColorInt Integer num, float f, boolean z2, boolean z3, boolean z4, boolean z5) { + this.a = str; + this.b = i; + this.f708c = num; + this.d = f; + this.e = z2; + this.f = z3; + this.g = z4; + this.h = z5; + } + + public static int a(String str) { + boolean z2; + try { + int parseInt = Integer.parseInt(str.trim()); + switch (parseInt) { + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + z2 = true; + break; + default: + z2 = false; + break; + } + if (z2) { + return parseInt; + } + } catch (NumberFormatException unused) { + } + String valueOf = String.valueOf(str); + Log.w("SsaStyle", valueOf.length() != 0 ? "Ignoring unknown alignment: ".concat(valueOf) : new String("Ignoring unknown alignment: ")); + return -1; + } + + public static boolean b(String str) { + try { + int parseInt = Integer.parseInt(str); + return parseInt == 1 || parseInt == -1; + } catch (NumberFormatException e) { + q.c("SsaStyle", c.d.b.a.a.j(c.d.b.a.a.b(str, 33), "Failed to parse boolean value: '", str, "'"), e); + return false; + } + } + + @Nullable + @ColorInt + public static Integer c(String str) { + try { + long parseLong = str.startsWith("&H") ? Long.parseLong(str.substring(2), 16) : Long.parseLong(str); + d.j(parseLong <= 4294967295L); + return Integer.valueOf(Color.argb(f.C(((parseLong >> 24) & 255) ^ 255), f.C(parseLong & 255), f.C((parseLong >> 8) & 255), f.C((parseLong >> 16) & 255))); + } catch (IllegalArgumentException e) { + q.c("SsaStyle", c.d.b.a.a.j(c.d.b.a.a.b(str, 36), "Failed to parse color expression: '", str, "'"), e); + return null; + } + } +} diff --git a/app/src/main/java/c/i/a/c/b3/r/d.java b/app/src/main/java/c/i/a/c/b3/r/d.java new file mode 100644 index 0000000000..8a4a459c93 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/r/d.java @@ -0,0 +1,79 @@ +package c.i.a.c.b3.r; + +import c.i.a.c.b3.b; +import c.i.a.c.b3.g; +import c.i.a.c.f3.e0; +import java.util.Collections; +import java.util.List; +/* compiled from: SsaSubtitle */ +public final class d implements g { + public final List> i; + public final List j; + + public d(List> list, List list2) { + this.i = list; + this.j = list2; + } + + @Override // c.i.a.c.b3.g + public int f(long j) { + int i; + List list = this.j; + Long valueOf = Long.valueOf(j); + int i2 = e0.a; + int binarySearch = Collections.binarySearch(list, valueOf); + if (binarySearch < 0) { + i = ~binarySearch; + } else { + int size = list.size(); + do { + binarySearch++; + if (binarySearch >= size) { + break; + } + } while (list.get(binarySearch).compareTo(valueOf) == 0); + i = binarySearch; + } + if (i < this.j.size()) { + return i; + } + return -1; + } + + @Override // c.i.a.c.b3.g + public long g(int i) { + boolean z2 = true; + c.c.a.a0.d.j(i >= 0); + if (i >= this.j.size()) { + z2 = false; + } + c.c.a.a0.d.j(z2); + return this.j.get(i).longValue(); + } + + @Override // c.i.a.c.b3.g + public List h(long j) { + int i; + List list = this.j; + Long valueOf = Long.valueOf(j); + int i2 = e0.a; + int binarySearch = Collections.binarySearch(list, valueOf); + if (binarySearch < 0) { + i = -(binarySearch + 2); + } else { + do { + binarySearch--; + if (binarySearch < 0) { + break; + } + } while (list.get(binarySearch).compareTo(valueOf) == 0); + i = binarySearch + 1; + } + return i == -1 ? Collections.emptyList() : this.i.get(i); + } + + @Override // c.i.a.c.b3.g + public int i() { + return this.j.size(); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/s/a.java b/app/src/main/java/c/i/a/c/b3/s/a.java new file mode 100644 index 0000000000..86b94243fd --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/s/a.java @@ -0,0 +1,304 @@ +package c.i.a.c.b3.s; + +import android.text.Html; +import android.text.Spanned; +import android.text.TextUtils; +import android.util.Log; +import androidx.core.view.ViewCompat; +import c.i.a.c.b3.b; +import c.i.a.c.b3.f; +import c.i.a.c.b3.g; +import c.i.a.c.f3.x; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +/* compiled from: SubripDecoder */ +public final class a extends f { + public static final Pattern n = Pattern.compile("\\s*((?:(\\d+):)?(\\d+):(\\d+)(?:,(\\d+))?)\\s*-->\\s*((?:(\\d+):)?(\\d+):(\\d+)(?:,(\\d+))?)\\s*"); + public static final Pattern o = Pattern.compile("\\{\\\\.*?\\}"); + public final StringBuilder p = new StringBuilder(); + public final ArrayList q = new ArrayList<>(); + + public a() { + super("SubripDecoder"); + } + + public static float k(int i) { + if (i == 0) { + return 0.08f; + } + if (i == 1) { + return 0.5f; + } + if (i == 2) { + return 0.92f; + } + throw new IllegalArgumentException(); + } + + public static long l(Matcher matcher, int i) { + String group = matcher.group(i + 1); + long parseLong = group != null ? Long.parseLong(group) * 60 * 60 * 1000 : 0; + String group2 = matcher.group(i + 2); + Objects.requireNonNull(group2); + String group3 = matcher.group(i + 3); + Objects.requireNonNull(group3); + long parseLong2 = (Long.parseLong(group3) * 1000) + (Long.parseLong(group2) * 60 * 1000) + parseLong; + String group4 = matcher.group(i + 4); + if (group4 != null) { + parseLong2 += Long.parseLong(group4); + } + return parseLong2 * 1000; + } + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + @Override // c.i.a.c.b3.f + public g j(byte[] bArr, int i, boolean z2) { + x xVar; + int i2; + x xVar2; + long[] jArr; + b bVar; + char c2; + char c3; + a aVar = this; + ArrayList arrayList = new ArrayList(); + long[] jArr2 = new long[32]; + x xVar3 = new x(bArr, i); + int i3 = 0; + int i4 = 0; + while (true) { + String g = xVar3.g(); + if (g != null) { + if (g.length() != 0) { + try { + Integer.parseInt(g); + String g2 = xVar3.g(); + if (g2 == null) { + Log.w("SubripDecoder", "Unexpected end"); + } else { + Matcher matcher = n.matcher(g2); + if (matcher.matches()) { + long l = l(matcher, 1); + if (i4 == jArr2.length) { + jArr2 = Arrays.copyOf(jArr2, i4 * 2); + } + int i5 = i4 + 1; + jArr2[i4] = l; + long l2 = l(matcher, 6); + if (i5 == jArr2.length) { + jArr2 = Arrays.copyOf(jArr2, i5 * 2); + } + int i6 = i5 + 1; + jArr2[i5] = l2; + aVar.p.setLength(i3); + aVar.q.clear(); + for (String g3 = xVar3.g(); !TextUtils.isEmpty(g3); g3 = xVar3.g()) { + if (aVar.p.length() > 0) { + aVar.p.append("
"); + } + StringBuilder sb = aVar.p; + ArrayList arrayList2 = aVar.q; + String trim = g3.trim(); + StringBuilder sb2 = new StringBuilder(trim); + Matcher matcher2 = o.matcher(trim); + int i7 = 0; + while (matcher2.find()) { + String group = matcher2.group(); + arrayList2.add(group); + int start = matcher2.start() - i7; + int length = group.length(); + sb2.replace(start, start + length, ""); + i7 += length; + } + sb.append(sb2.toString()); + } + Spanned fromHtml = Html.fromHtml(aVar.p.toString()); + String str = null; + int i8 = 0; + while (true) { + if (i8 < aVar.q.size()) { + String str2 = aVar.q.get(i8); + if (str2.matches("\\{\\\\an[1-9]\\}")) { + str = str2; + } else { + i8++; + } + } + } + if (str == null) { + bVar = new b(fromHtml, null, null, null, -3.4028235E38f, Integer.MIN_VALUE, Integer.MIN_VALUE, -3.4028235E38f, Integer.MIN_VALUE, Integer.MIN_VALUE, -3.4028235E38f, -3.4028235E38f, -3.4028235E38f, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null); + jArr = jArr2; + xVar2 = xVar3; + i2 = i6; + } else { + jArr = jArr2; + xVar2 = xVar3; + switch (str.hashCode()) { + case -685620710: + if (str.equals("{\\an1}")) { + c2 = 0; + break; + } + c2 = 65535; + break; + case -685620679: + if (str.equals("{\\an2}")) { + c2 = 6; + break; + } + c2 = 65535; + break; + case -685620648: + if (str.equals("{\\an3}")) { + c2 = 3; + break; + } + c2 = 65535; + break; + case -685620617: + if (str.equals("{\\an4}")) { + c2 = 1; + break; + } + c2 = 65535; + break; + case -685620586: + if (str.equals("{\\an5}")) { + c2 = 7; + break; + } + c2 = 65535; + break; + case -685620555: + if (str.equals("{\\an6}")) { + c2 = 4; + break; + } + c2 = 65535; + break; + case -685620524: + if (str.equals("{\\an7}")) { + c2 = 2; + break; + } + c2 = 65535; + break; + case -685620493: + if (str.equals("{\\an8}")) { + c2 = '\b'; + break; + } + c2 = 65535; + break; + case -685620462: + if (str.equals("{\\an9}")) { + c2 = 5; + break; + } + c2 = 65535; + break; + default: + c2 = 65535; + break; + } + i2 = i6; + int i9 = (c2 == 0 || c2 == 1 || c2 == 2) ? 0 : (c2 == 3 || c2 == 4 || c2 == 5) ? 2 : 1; + switch (str.hashCode()) { + case -685620710: + if (str.equals("{\\an1}")) { + c3 = 0; + break; + } + c3 = 65535; + break; + case -685620679: + if (str.equals("{\\an2}")) { + c3 = 1; + break; + } + c3 = 65535; + break; + case -685620648: + if (str.equals("{\\an3}")) { + c3 = 2; + break; + } + c3 = 65535; + break; + case -685620617: + if (str.equals("{\\an4}")) { + c3 = 6; + break; + } + c3 = 65535; + break; + case -685620586: + if (str.equals("{\\an5}")) { + c3 = 7; + break; + } + c3 = 65535; + break; + case -685620555: + if (str.equals("{\\an6}")) { + c3 = '\b'; + break; + } + c3 = 65535; + break; + case -685620524: + if (str.equals("{\\an7}")) { + c3 = 3; + break; + } + c3 = 65535; + break; + case -685620493: + if (str.equals("{\\an8}")) { + c3 = 4; + break; + } + c3 = 65535; + break; + case -685620462: + if (str.equals("{\\an9}")) { + c3 = 5; + break; + } + c3 = 65535; + break; + default: + c3 = 65535; + break; + } + int i10 = (c3 == 0 || c3 == 1 || c3 == 2) ? 2 : (c3 == 3 || c3 == 4 || c3 == 5) ? 0 : 1; + bVar = new b(fromHtml, null, null, null, k(i10), 0, i10, k(i9), i9, Integer.MIN_VALUE, -3.4028235E38f, -3.4028235E38f, -3.4028235E38f, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null); + } + arrayList.add(bVar); + arrayList.add(b.i); + aVar = this; + jArr2 = jArr; + xVar3 = xVar2; + i4 = i2; + i3 = 0; + } else { + xVar = xVar3; + Log.w("SubripDecoder", g2.length() != 0 ? "Skipping invalid timing: ".concat(g2) : new String("Skipping invalid timing: ")); + aVar = this; + xVar3 = xVar; + i3 = 0; + } + } + } catch (NumberFormatException unused) { + xVar = xVar3; + Log.w("SubripDecoder", g.length() != 0 ? "Skipping invalid index: ".concat(g) : new String("Skipping invalid index: ")); + } + } + } + } + return new b((b[]) arrayList.toArray(new b[0]), Arrays.copyOf(jArr2, i4)); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/s/b.java b/app/src/main/java/c/i/a/c/b3/s/b.java new file mode 100644 index 0000000000..cc907a6fe0 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/s/b.java @@ -0,0 +1,54 @@ +package c.i.a.c.b3.s; + +import c.c.a.a0.d; +import c.i.a.c.b3.g; +import c.i.a.c.f3.e0; +import java.util.Collections; +import java.util.List; +/* compiled from: SubripSubtitle */ +public final class b implements g { + public final c.i.a.c.b3.b[] i; + public final long[] j; + + public b(c.i.a.c.b3.b[] bVarArr, long[] jArr) { + this.i = bVarArr; + this.j = jArr; + } + + @Override // c.i.a.c.b3.g + public int f(long j) { + int b = e0.b(this.j, j, false, false); + if (b < this.j.length) { + return b; + } + return -1; + } + + @Override // c.i.a.c.b3.g + public long g(int i) { + boolean z2 = true; + d.j(i >= 0); + if (i >= this.j.length) { + z2 = false; + } + d.j(z2); + return this.j[i]; + } + + @Override // c.i.a.c.b3.g + public List h(long j) { + int e = e0.e(this.j, j, true, false); + if (e != -1) { + c.i.a.c.b3.b[] bVarArr = this.i; + if (bVarArr[e] != c.i.a.c.b3.b.i) { + return Collections.singletonList(bVarArr[e]); + } + } + return Collections.emptyList(); + } + + @Override // c.i.a.c.b3.g + public int i() { + return this.j.length; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/t/a.java b/app/src/main/java/c/i/a/c/b3/t/a.java new file mode 100644 index 0000000000..8d9f59c341 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/t/a.java @@ -0,0 +1,4 @@ +package c.i.a.c.b3.t; +/* compiled from: DeleteTextSpan */ +public final class a { +} diff --git a/app/src/main/java/c/i/a/c/b3/t/b.java b/app/src/main/java/c/i/a/c/b3/t/b.java new file mode 100644 index 0000000000..6022cd188e --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/t/b.java @@ -0,0 +1,27 @@ +package c.i.a.c.b3.t; + +import c.i.b.b.r; +import java.util.regex.Pattern; +/* compiled from: TextEmphasis */ +public final class b { + public static final Pattern a = Pattern.compile("\\s+"); + public static final r b = r.l(2, "auto", "none"); + + /* renamed from: c reason: collision with root package name */ + public static final r f711c = r.r("dot", "sesame", "circle"); + public static final r d = r.l(2, "filled", "open"); + public static final r e = r.r("after", "before", "outside"); + public final int f; + public final int g; + public final int h; + + static { + int i = r.j; + } + + public b(int i, int i2, int i3) { + this.f = i; + this.g = i2; + this.h = i3; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/t/c.java b/app/src/main/java/c/i/a/c/b3/t/c.java new file mode 100644 index 0000000000..82846c44fa --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/t/c.java @@ -0,0 +1,1298 @@ +package c.i.a.c.b3.t; + +import android.text.Layout; +import android.text.TextUtils; +import android.util.Log; +import androidx.annotation.Nullable; +import androidx.core.app.NotificationCompat; +import c.c.a.a0.d; +import c.i.a.c.b3.f; +import c.i.a.c.b3.g; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.i; +import c.i.a.c.f3.q; +import c.i.b.b.h; +import c.i.b.b.n0; +import c.i.b.b.p0; +import c.i.b.b.r; +import com.discord.models.domain.ModelAuditLogEntry; +import com.google.android.exoplayer2.text.SubtitleDecoderException; +import com.google.android.material.shadow.ShadowDrawableWrapper; +import java.io.ByteArrayInputStream; +import java.io.IOException; +import java.util.ArrayDeque; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import org.xmlpull.v1.XmlPullParser; +import org.xmlpull.v1.XmlPullParserException; +import org.xmlpull.v1.XmlPullParserFactory; +/* compiled from: TtmlDecoder */ +public final class c extends f { + public static final Pattern n = Pattern.compile("^([0-9][0-9]+):([0-9][0-9]):([0-9][0-9])(?:(\\.[0-9]+)|:([0-9][0-9])(?:\\.([0-9]+))?)?$"); + public static final Pattern o = Pattern.compile("^([0-9]+(?:\\.[0-9]+)?)(h|m|s|ms|f|t)$"); + public static final Pattern p = Pattern.compile("^(([0-9]*.)?[0-9]+)(px|em|%)$"); + public static final Pattern q = Pattern.compile("^([-+]?\\d+\\.?\\d*?)%$"); + public static final Pattern r = Pattern.compile("^(\\d+\\.?\\d*?)% (\\d+\\.?\\d*?)%$"); + + /* renamed from: s reason: collision with root package name */ + public static final Pattern f712s = Pattern.compile("^(\\d+\\.?\\d*?)px (\\d+\\.?\\d*?)px$"); + public static final Pattern t = Pattern.compile("^(\\d+) (\\d+)$"); + public static final b u = new b(30.0f, 1, 1); + public static final a v = new a(32, 15); + public final XmlPullParserFactory w; + + /* compiled from: TtmlDecoder */ + public static final class a { + public final int a; + + public a(int i, int i2) { + this.a = i2; + } + } + + /* compiled from: TtmlDecoder */ + public static final class b { + public final float a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f713c; + + public b(float f, int i, int i2) { + this.a = f; + this.b = i; + this.f713c = i2; + } + } + + /* compiled from: TtmlDecoder */ + /* renamed from: c.i.a.c.b3.t.c$c reason: collision with other inner class name */ + public static final class C0090c { + public final int a; + public final int b; + + public C0090c(int i, int i2) { + this.a = i; + this.b = i2; + } + } + + public c() { + super("TtmlDecoder"); + try { + XmlPullParserFactory newInstance = XmlPullParserFactory.newInstance(); + this.w = newInstance; + newInstance.setNamespaceAware(true); + } catch (XmlPullParserException e) { + throw new RuntimeException("Couldn't create XmlPullParserFactory instance", e); + } + } + + public static f k(@Nullable f fVar) { + return fVar == null ? new f() : fVar; + } + + public static boolean l(String str) { + return str.equals("tt") || str.equals("head") || str.equals("body") || str.equals("div") || str.equals("p") || str.equals("span") || str.equals("br") || str.equals("style") || str.equals("styling") || str.equals("layout") || str.equals(ModelAuditLogEntry.CHANGE_KEY_REGION) || str.equals("metadata") || str.equals("image") || str.equals("data") || str.equals("information"); + } + + @Nullable + public static Layout.Alignment m(String str) { + String d1 = c.i.a.f.e.o.f.d1(str); + d1.hashCode(); + char c2 = 65535; + switch (d1.hashCode()) { + case -1364013995: + if (d1.equals("center")) { + c2 = 0; + break; + } + break; + case 100571: + if (d1.equals("end")) { + c2 = 1; + break; + } + break; + case 3317767: + if (d1.equals("left")) { + c2 = 2; + break; + } + break; + case 108511772: + if (d1.equals("right")) { + c2 = 3; + break; + } + break; + case 109757538: + if (d1.equals("start")) { + c2 = 4; + break; + } + break; + } + switch (c2) { + case 0: + return Layout.Alignment.ALIGN_CENTER; + case 1: + case 3: + return Layout.Alignment.ALIGN_OPPOSITE; + case 2: + case 4: + return Layout.Alignment.ALIGN_NORMAL; + default: + return null; + } + } + + public static a n(XmlPullParser xmlPullParser, a aVar) throws SubtitleDecoderException { + String attributeValue = xmlPullParser.getAttributeValue("http://www.w3.org/ns/ttml#parameter", "cellResolution"); + if (attributeValue == null) { + return aVar; + } + Matcher matcher = t.matcher(attributeValue); + if (!matcher.matches()) { + Log.w("TtmlDecoder", attributeValue.length() != 0 ? "Ignoring malformed cell resolution: ".concat(attributeValue) : new String("Ignoring malformed cell resolution: ")); + return aVar; + } + try { + String group = matcher.group(1); + Objects.requireNonNull(group); + int parseInt = Integer.parseInt(group); + String group2 = matcher.group(2); + Objects.requireNonNull(group2); + int parseInt2 = Integer.parseInt(group2); + if (parseInt != 0 && parseInt2 != 0) { + return new a(parseInt, parseInt2); + } + StringBuilder sb = new StringBuilder(47); + sb.append("Invalid cell resolution "); + sb.append(parseInt); + sb.append(" "); + sb.append(parseInt2); + throw new SubtitleDecoderException(sb.toString()); + } catch (NumberFormatException unused) { + Log.w("TtmlDecoder", attributeValue.length() != 0 ? "Ignoring malformed cell resolution: ".concat(attributeValue) : new String("Ignoring malformed cell resolution: ")); + return aVar; + } + } + + public static void o(String str, f fVar) throws SubtitleDecoderException { + Matcher matcher; + int i = e0.a; + String[] split = str.split("\\s+", -1); + if (split.length == 1) { + matcher = p.matcher(str); + } else if (split.length == 2) { + matcher = p.matcher(split[1]); + Log.w("TtmlDecoder", "Multiple values in fontSize attribute. Picking the second value for vertical font size and ignoring the first."); + } else { + int length = split.length; + StringBuilder sb = new StringBuilder(52); + sb.append("Invalid number of entries for fontSize: "); + sb.append(length); + sb.append("."); + throw new SubtitleDecoderException(sb.toString()); + } + if (matcher.matches()) { + String group = matcher.group(3); + Objects.requireNonNull(group); + group.hashCode(); + char c2 = 65535; + switch (group.hashCode()) { + case 37: + if (group.equals("%")) { + c2 = 0; + break; + } + break; + case 3240: + if (group.equals("em")) { + c2 = 1; + break; + } + break; + case 3592: + if (group.equals("px")) { + c2 = 2; + break; + } + break; + } + switch (c2) { + case 0: + fVar.j = 3; + break; + case 1: + fVar.j = 2; + break; + case 2: + fVar.j = 1; + break; + default: + throw new SubtitleDecoderException(c.d.b.a.a.j(group.length() + 30, "Invalid unit for fontSize: '", group, "'.")); + } + String group2 = matcher.group(1); + Objects.requireNonNull(group2); + fVar.k = Float.parseFloat(group2); + return; + } + throw new SubtitleDecoderException(c.d.b.a.a.j(str.length() + 36, "Invalid expression for fontSize: '", str, "'.")); + } + + public static b p(XmlPullParser xmlPullParser) throws SubtitleDecoderException { + String attributeValue = xmlPullParser.getAttributeValue("http://www.w3.org/ns/ttml#parameter", "frameRate"); + int parseInt = attributeValue != null ? Integer.parseInt(attributeValue) : 30; + float f = 1.0f; + String attributeValue2 = xmlPullParser.getAttributeValue("http://www.w3.org/ns/ttml#parameter", "frameRateMultiplier"); + if (attributeValue2 != null) { + int i = e0.a; + String[] split = attributeValue2.split(" ", -1); + if (split.length == 2) { + f = ((float) Integer.parseInt(split[0])) / ((float) Integer.parseInt(split[1])); + } else { + throw new SubtitleDecoderException("frameRateMultiplier doesn't have 2 parts"); + } + } + b bVar = u; + int i2 = bVar.b; + String attributeValue3 = xmlPullParser.getAttributeValue("http://www.w3.org/ns/ttml#parameter", "subFrameRate"); + if (attributeValue3 != null) { + i2 = Integer.parseInt(attributeValue3); + } + int i3 = bVar.f713c; + String attributeValue4 = xmlPullParser.getAttributeValue("http://www.w3.org/ns/ttml#parameter", "tickRate"); + if (attributeValue4 != null) { + i3 = Integer.parseInt(attributeValue4); + } + return new b(((float) parseInt) * f, i2, i3); + } + + /* JADX WARNING: Removed duplicated region for block: B:124:0x026b */ + /* JADX WARNING: Removed duplicated region for block: B:75:0x01ae */ + /* JADX WARNING: Removed duplicated region for block: B:92:0x01eb A[ADDED_TO_REGION] */ + public static Map q(XmlPullParser xmlPullParser, Map map, a aVar, @Nullable C0090c cVar, Map map2, Map map3) throws IOException, XmlPullParserException { + String q0; + e eVar; + float f; + float f2; + float f3; + float f4; + int i; + float f5; + String q02; + int i2; + char c2; + do { + xmlPullParser.next(); + if (d.X0(xmlPullParser, "style")) { + String q03 = d.q0(xmlPullParser, "style"); + f s2 = s(xmlPullParser, new f()); + if (q03 != null) { + for (String str : t(q03)) { + s2.a(map.get(str)); + } + } + String str2 = s2.l; + if (str2 != null) { + map.put(str2, s2); + } + } else if (d.X0(xmlPullParser, ModelAuditLogEntry.CHANGE_KEY_REGION)) { + String q04 = d.q0(xmlPullParser, ModelAuditLogEntry.CHANGE_KEY_ID); + if (q04 != null) { + String q05 = d.q0(xmlPullParser, "origin"); + if (q05 != null) { + Pattern pattern = r; + Matcher matcher = pattern.matcher(q05); + Pattern pattern2 = f712s; + Matcher matcher2 = pattern2.matcher(q05); + if (matcher.matches()) { + try { + String group = matcher.group(1); + Objects.requireNonNull(group); + f = Float.parseFloat(group) / 100.0f; + String group2 = matcher.group(2); + Objects.requireNonNull(group2); + f2 = Float.parseFloat(group2) / 100.0f; + } catch (NumberFormatException unused) { + Log.w("TtmlDecoder", q05.length() != 0 ? "Ignoring region with malformed origin: ".concat(q05) : new String("Ignoring region with malformed origin: ")); + } + } else if (!matcher2.matches()) { + Log.w("TtmlDecoder", q05.length() != 0 ? "Ignoring region with unsupported origin: ".concat(q05) : new String("Ignoring region with unsupported origin: ")); + } else if (cVar == null) { + Log.w("TtmlDecoder", q05.length() != 0 ? "Ignoring region with missing tts:extent: ".concat(q05) : new String("Ignoring region with missing tts:extent: ")); + } else { + try { + String group3 = matcher2.group(1); + Objects.requireNonNull(group3); + int parseInt = Integer.parseInt(group3); + String group4 = matcher2.group(2); + Objects.requireNonNull(group4); + int parseInt2 = Integer.parseInt(group4); + float f6 = ((float) parseInt) / ((float) cVar.a); + float f7 = ((float) parseInt2) / ((float) cVar.b); + f = f6; + f2 = f7; + } catch (NumberFormatException unused2) { + Log.w("TtmlDecoder", q05.length() != 0 ? "Ignoring region with malformed origin: ".concat(q05) : new String("Ignoring region with malformed origin: ")); + } + } + String q06 = d.q0(xmlPullParser, "extent"); + if (q06 != null) { + Matcher matcher3 = pattern.matcher(q06); + Matcher matcher4 = pattern2.matcher(q06); + if (matcher3.matches()) { + try { + String group5 = matcher3.group(1); + Objects.requireNonNull(group5); + float parseFloat = Float.parseFloat(group5) / 100.0f; + String group6 = matcher3.group(2); + Objects.requireNonNull(group6); + f3 = Float.parseFloat(group6) / 100.0f; + f4 = parseFloat; + } catch (NumberFormatException unused3) { + Log.w("TtmlDecoder", q05.length() != 0 ? "Ignoring region with malformed extent: ".concat(q05) : new String("Ignoring region with malformed extent: ")); + } + } else if (!matcher4.matches()) { + Log.w("TtmlDecoder", q05.length() != 0 ? "Ignoring region with unsupported extent: ".concat(q05) : new String("Ignoring region with unsupported extent: ")); + } else if (cVar == null) { + Log.w("TtmlDecoder", q05.length() != 0 ? "Ignoring region with missing tts:extent: ".concat(q05) : new String("Ignoring region with missing tts:extent: ")); + } else { + try { + String group7 = matcher4.group(1); + Objects.requireNonNull(group7); + int parseInt3 = Integer.parseInt(group7); + String group8 = matcher4.group(2); + Objects.requireNonNull(group8); + float parseInt4 = (float) Integer.parseInt(group8); + f4 = ((float) parseInt3) / ((float) cVar.a); + f3 = parseInt4 / ((float) cVar.b); + } catch (NumberFormatException unused4) { + Log.w("TtmlDecoder", q05.length() != 0 ? "Ignoring region with malformed extent: ".concat(q05) : new String("Ignoring region with malformed extent: ")); + } + } + String q07 = d.q0(xmlPullParser, "displayAlign"); + if (q07 != null) { + String d1 = c.i.a.f.e.o.f.d1(q07); + d1.hashCode(); + if (d1.equals("center")) { + f5 = (f3 / 2.0f) + f2; + i = 1; + } else if (d1.equals("after")) { + f5 = f2 + f3; + i = 2; + } + float f8 = 1.0f / ((float) aVar.a); + q02 = d.q0(xmlPullParser, "writingMode"); + if (q02 != null) { + String d12 = c.i.a.f.e.o.f.d1(q02); + d12.hashCode(); + int hashCode = d12.hashCode(); + if (hashCode != 3694) { + if (hashCode != 3553396) { + if (hashCode == 3553576 && d12.equals("tbrl")) { + c2 = 2; + if (c2 != 0 || c2 == 1) { + i2 = 2; + eVar = new e(q04, f, f5, 0, i, f4, f3, 1, f8, i2); + if (eVar != null) { + map2.put(eVar.a, eVar); + } + } else if (c2 == 2) { + i2 = 1; + eVar = new e(q04, f, f5, 0, i, f4, f3, 1, f8, i2); + if (eVar != null) { + } + } + } + } else if (d12.equals("tblr")) { + c2 = 1; + if (c2 != 0) { + } + i2 = 2; + eVar = new e(q04, f, f5, 0, i, f4, f3, 1, f8, i2); + if (eVar != null) { + } + } + } else if (d12.equals("tb")) { + c2 = 0; + if (c2 != 0) { + } + i2 = 2; + eVar = new e(q04, f, f5, 0, i, f4, f3, 1, f8, i2); + if (eVar != null) { + } + } + c2 = 65535; + if (c2 != 0) { + } + i2 = 2; + eVar = new e(q04, f, f5, 0, i, f4, f3, 1, f8, i2); + if (eVar != null) { + } + } + i2 = Integer.MIN_VALUE; + eVar = new e(q04, f, f5, 0, i, f4, f3, 1, f8, i2); + if (eVar != null) { + } + } + f5 = f2; + i = 0; + float f8 = 1.0f / ((float) aVar.a); + q02 = d.q0(xmlPullParser, "writingMode"); + if (q02 != null) { + } + i2 = Integer.MIN_VALUE; + eVar = new e(q04, f, f5, 0, i, f4, f3, 1, f8, i2); + if (eVar != null) { + } + } else { + Log.w("TtmlDecoder", "Ignoring region without an extent"); + } + } else { + Log.w("TtmlDecoder", "Ignoring region without an origin"); + } + } + eVar = null; + if (eVar != null) { + } + } else if (d.X0(xmlPullParser, "metadata")) { + do { + xmlPullParser.next(); + if (d.X0(xmlPullParser, "image") && (q0 = d.q0(xmlPullParser, ModelAuditLogEntry.CHANGE_KEY_ID)) != null) { + map3.put(q0, xmlPullParser.nextText()); + } + } while (!d.Q0(xmlPullParser, "metadata")); + } + } while (!d.Q0(xmlPullParser, "head")); + return map; + } + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + public static d r(XmlPullParser xmlPullParser, @Nullable d dVar, Map map, b bVar) throws SubtitleDecoderException { + long j; + long j2; + char c2; + XmlPullParser xmlPullParser2 = xmlPullParser; + int attributeCount = xmlPullParser.getAttributeCount(); + f s2 = s(xmlPullParser2, null); + String str = null; + String str2 = ""; + long j3 = -9223372036854775807L; + long j4 = -9223372036854775807L; + long j5 = -9223372036854775807L; + String[] strArr = null; + int i = 0; + while (i < attributeCount) { + String attributeName = xmlPullParser2.getAttributeName(i); + String attributeValue = xmlPullParser2.getAttributeValue(i); + attributeName.hashCode(); + switch (attributeName.hashCode()) { + case -934795532: + if (attributeName.equals(ModelAuditLogEntry.CHANGE_KEY_REGION)) { + c2 = 0; + break; + } + c2 = 65535; + break; + case 99841: + if (attributeName.equals("dur")) { + c2 = 1; + break; + } + c2 = 65535; + break; + case 100571: + if (attributeName.equals("end")) { + c2 = 2; + break; + } + c2 = 65535; + break; + case 93616297: + if (attributeName.equals("begin")) { + c2 = 3; + break; + } + c2 = 65535; + break; + case 109780401: + if (attributeName.equals("style")) { + c2 = 4; + break; + } + c2 = 65535; + break; + case 1292595405: + if (attributeName.equals("backgroundImage")) { + c2 = 5; + break; + } + c2 = 65535; + break; + default: + c2 = 65535; + break; + } + if (c2 != 0) { + if (c2 == 1) { + j5 = u(attributeValue, bVar); + } else if (c2 == 2) { + j4 = u(attributeValue, bVar); + } else if (c2 == 3) { + j3 = u(attributeValue, bVar); + } else if (c2 == 4) { + String[] t2 = t(attributeValue); + if (t2.length > 0) { + strArr = t2; + } + } else if (c2 == 5 && attributeValue.startsWith("#")) { + str = attributeValue.substring(1); + } + } else if (map.containsKey(attributeValue)) { + str2 = attributeValue; + } + i++; + xmlPullParser2 = xmlPullParser; + } + if (dVar != null) { + long j6 = dVar.d; + j = -9223372036854775807L; + if (j6 != -9223372036854775807L) { + if (j3 != -9223372036854775807L) { + j3 += j6; + } + if (j4 != -9223372036854775807L) { + j4 += j6; + } + } + } else { + j = -9223372036854775807L; + } + if (j4 == j) { + if (j5 != j) { + j2 = j3 + j5; + } else if (dVar != null) { + long j7 = dVar.e; + if (j7 != j) { + j2 = j7; + } + } + return new d(xmlPullParser.getName(), null, j3, j2, s2, strArr, str2, str, dVar); + } + j2 = j4; + return new d(xmlPullParser.getName(), null, j3, j2, s2, strArr, str2, str, dVar); + } + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + /* JADX WARNING: Code restructure failed: missing block: B:103:0x01e6, code lost: + if (r5.equals("auto") != false) goto L_0x01ea; + */ + /* JADX WARNING: Removed duplicated region for block: B:106:0x01ed */ + /* JADX WARNING: Removed duplicated region for block: B:108:0x01f4 */ + /* JADX WARNING: Removed duplicated region for block: B:126:0x0246 */ + /* JADX WARNING: Removed duplicated region for block: B:127:0x0248 */ + /* JADX WARNING: Removed duplicated region for block: B:130:0x025a */ + /* JADX WARNING: Removed duplicated region for block: B:140:0x0279 */ + /* JADX WARNING: Removed duplicated region for block: B:144:0x0282 */ + /* JADX WARNING: Removed duplicated region for block: B:147:0x0288 */ + /* JADX WARNING: Removed duplicated region for block: B:89:0x01a9 */ + /* JADX WARNING: Removed duplicated region for block: B:92:0x01af */ + /* JADX WARNING: Removed duplicated region for block: B:95:0x01be */ + public static f s(XmlPullParser xmlPullParser, f fVar) { + char c2; + char c3; + h.a aVar; + b bVar; + char c4; + int hashCode; + int attributeCount = xmlPullParser.getAttributeCount(); + f fVar2 = fVar; + for (int i = 0; i < attributeCount; i++) { + String attributeValue = xmlPullParser.getAttributeValue(i); + String attributeName = xmlPullParser.getAttributeName(i); + attributeName.hashCode(); + int i2 = -1; + char c5 = 1; + switch (attributeName.hashCode()) { + case -1550943582: + if (attributeName.equals("fontStyle")) { + c2 = 0; + break; + } + c2 = 65535; + break; + case -1224696685: + if (attributeName.equals("fontFamily")) { + c2 = 1; + break; + } + c2 = 65535; + break; + case -1065511464: + if (attributeName.equals("textAlign")) { + c2 = 2; + break; + } + c2 = 65535; + break; + case -879295043: + if (attributeName.equals("textDecoration")) { + c2 = 3; + break; + } + c2 = 65535; + break; + case -734428249: + if (attributeName.equals("fontWeight")) { + c2 = 4; + break; + } + c2 = 65535; + break; + case 3355: + if (attributeName.equals(ModelAuditLogEntry.CHANGE_KEY_ID)) { + c2 = 5; + break; + } + c2 = 65535; + break; + case 3511770: + if (attributeName.equals("ruby")) { + c2 = 6; + break; + } + c2 = 65535; + break; + case 94842723: + if (attributeName.equals(ModelAuditLogEntry.CHANGE_KEY_COLOR)) { + c2 = 7; + break; + } + c2 = 65535; + break; + case 109403361: + if (attributeName.equals("shear")) { + c2 = '\b'; + break; + } + c2 = 65535; + break; + case 110138194: + if (attributeName.equals("textCombine")) { + c2 = '\t'; + break; + } + c2 = 65535; + break; + case 365601008: + if (attributeName.equals("fontSize")) { + c2 = '\n'; + break; + } + c2 = 65535; + break; + case 921125321: + if (attributeName.equals("textEmphasis")) { + c2 = 11; + break; + } + c2 = 65535; + break; + case 1115953443: + if (attributeName.equals("rubyPosition")) { + c2 = '\f'; + break; + } + c2 = 65535; + break; + case 1287124693: + if (attributeName.equals("backgroundColor")) { + c2 = '\r'; + break; + } + c2 = 65535; + break; + case 1754920356: + if (attributeName.equals("multiRowAlign")) { + c2 = 14; + break; + } + c2 = 65535; + break; + default: + c2 = 65535; + break; + } + switch (c2) { + case 0: + fVar2 = k(fVar2); + fVar2.i = "italic".equalsIgnoreCase(attributeValue) ? 1 : 0; + break; + case 1: + fVar2 = k(fVar2); + fVar2.a = attributeValue; + break; + case 2: + fVar2 = k(fVar2); + fVar2.o = m(attributeValue); + break; + case 3: + String d1 = c.i.a.f.e.o.f.d1(attributeValue); + d1.hashCode(); + switch (d1.hashCode()) { + case -1461280213: + if (d1.equals("nounderline")) { + i2 = 0; + break; + } + break; + case -1026963764: + if (d1.equals("underline")) { + i2 = 1; + break; + } + break; + case 913457136: + if (d1.equals("nolinethrough")) { + i2 = 2; + break; + } + break; + case 1679736913: + if (d1.equals("linethrough")) { + i2 = 3; + break; + } + break; + } + if (i2 != 0) { + if (i2 != 1) { + if (i2 != 2) { + if (i2 != 3) { + break; + } else { + fVar2 = k(fVar2); + fVar2.f = 1; + break; + } + } else { + fVar2 = k(fVar2); + fVar2.f = 0; + break; + } + } else { + fVar2 = k(fVar2); + fVar2.g = 1; + break; + } + } else { + fVar2 = k(fVar2); + fVar2.g = 0; + break; + } + case 4: + fVar2 = k(fVar2); + fVar2.h = "bold".equalsIgnoreCase(attributeValue) ? 1 : 0; + break; + case 5: + if ("style".equals(xmlPullParser.getName())) { + fVar2 = k(fVar2); + fVar2.l = attributeValue; + break; + } else { + break; + } + case 6: + String d12 = c.i.a.f.e.o.f.d1(attributeValue); + d12.hashCode(); + switch (d12.hashCode()) { + case -618561360: + if (d12.equals("baseContainer")) { + i2 = 0; + break; + } + break; + case -410956671: + if (d12.equals("container")) { + i2 = 1; + break; + } + break; + case -250518009: + if (d12.equals("delimiter")) { + i2 = 2; + break; + } + break; + case -136074796: + if (d12.equals("textContainer")) { + i2 = 3; + break; + } + break; + case 3016401: + if (d12.equals("base")) { + i2 = 4; + break; + } + break; + case 3556653: + if (d12.equals(NotificationCompat.MessagingStyle.Message.KEY_TEXT)) { + i2 = 5; + break; + } + break; + } + if (i2 != 0) { + if (i2 != 1) { + if (i2 != 2) { + if (i2 != 3) { + if (i2 != 4) { + if (i2 != 5) { + break; + } + } + } + fVar2 = k(fVar2); + fVar2.m = 3; + break; + } else { + fVar2 = k(fVar2); + fVar2.m = 4; + break; + } + } else { + fVar2 = k(fVar2); + fVar2.m = 1; + break; + } + } + fVar2 = k(fVar2); + fVar2.m = 2; + break; + case 7: + fVar2 = k(fVar2); + try { + fVar2.b = i.a(attributeValue, false); + fVar2.f716c = true; + break; + } catch (IllegalArgumentException unused) { + String valueOf = String.valueOf(attributeValue); + Log.w("TtmlDecoder", valueOf.length() != 0 ? "Failed parsing color value: ".concat(valueOf) : new String("Failed parsing color value: ")); + break; + } + case '\b': + f k = k(fVar2); + Matcher matcher = q.matcher(attributeValue); + float f = Float.MAX_VALUE; + if (!matcher.matches()) { + String valueOf2 = String.valueOf(attributeValue); + Log.w("TtmlDecoder", valueOf2.length() != 0 ? "Invalid value for shear: ".concat(valueOf2) : new String("Invalid value for shear: ")); + } else { + try { + String group = matcher.group(1); + Objects.requireNonNull(group); + f = Math.min(100.0f, Math.max(-100.0f, Float.parseFloat(group))); + } catch (NumberFormatException e) { + String valueOf3 = String.valueOf(attributeValue); + q.c("TtmlDecoder", valueOf3.length() != 0 ? "Failed to parse shear: ".concat(valueOf3) : new String("Failed to parse shear: "), e); + } + } + k.f717s = f; + fVar2 = k; + break; + case '\t': + String d13 = c.i.a.f.e.o.f.d1(attributeValue); + d13.hashCode(); + if (!d13.equals("all")) { + if (!d13.equals("none")) { + break; + } else { + fVar2 = k(fVar2); + fVar2.q = 0; + break; + } + } else { + fVar2 = k(fVar2); + fVar2.q = 1; + break; + } + case '\n': + try { + fVar2 = k(fVar2); + o(attributeValue, fVar2); + break; + } catch (SubtitleDecoderException unused2) { + String valueOf4 = String.valueOf(attributeValue); + Log.w("TtmlDecoder", valueOf4.length() != 0 ? "Failed parsing fontSize value: ".concat(valueOf4) : new String("Failed parsing fontSize value: ")); + break; + } + case 11: + fVar2 = k(fVar2); + Pattern pattern = b.a; + b bVar2 = null; + if (attributeValue != null) { + String d14 = c.i.a.f.e.o.f.d1(attributeValue.trim()); + if (!d14.isEmpty()) { + r n2 = r.n(TextUtils.split(d14, b.a)); + String str = (String) c.i.a.f.e.o.f.b0(h.b(b.e, n2), "outside"); + int hashCode2 = str.hashCode(); + if (hashCode2 != -1392885889) { + if (hashCode2 != -1106037339) { + if (hashCode2 == 92734940 && str.equals("after")) { + c3 = 0; + int i3 = c3 == 0 ? c3 != 1 ? 1 : -2 : 2; + aVar = (h.a) h.b(b.b, n2); + if (aVar.isEmpty()) { + String next = new n0(aVar).next(); + int hashCode3 = next.hashCode(); + if (hashCode3 == 3005871) { + break; + } else if (hashCode3 == 3387192 && next.equals("none")) { + c5 = 0; + if (c5 == 0) { + i2 = 0; + } + bVar = new b(i2, 0, i3); + } + c5 = 65535; + if (c5 == 0) { + } + bVar = new b(i2, 0, i3); + } else { + p0 b2 = h.b(b.d, n2); + p0 b3 = h.b(b.f711c, n2); + if (!((h.a) b2).isEmpty() || !((h.a) b3).isEmpty()) { + String str2 = (String) c.i.a.f.e.o.f.b0(b2, "filled"); + int hashCode4 = str2.hashCode(); + if (hashCode4 != -1274499742) { + if (hashCode4 == 3417674 && str2.equals("open")) { + c4 = 0; + int i4 = c4 != 0 ? 1 : 2; + String str3 = (String) c.i.a.f.e.o.f.b0(b3, "circle"); + hashCode = str3.hashCode(); + if (hashCode != -1360216880) { + if (hashCode != -905816648) { + if (hashCode == 99657 && str3.equals("dot")) { + i2 = 0; + } + } else if (str3.equals("sesame")) { + i2 = 1; + } + } else if (str3.equals("circle")) { + i2 = 2; + } + bVar = new b(i2 != 0 ? i2 != 1 ? 1 : 3 : 2, i4, i3); + } + } else if (str2.equals("filled")) { + c4 = 1; + if (c4 != 0) { + } + String str3 = (String) c.i.a.f.e.o.f.b0(b3, "circle"); + hashCode = str3.hashCode(); + if (hashCode != -1360216880) { + } + bVar = new b(i2 != 0 ? i2 != 1 ? 1 : 3 : 2, i4, i3); + } + c4 = 65535; + if (c4 != 0) { + } + String str3 = (String) c.i.a.f.e.o.f.b0(b3, "circle"); + hashCode = str3.hashCode(); + if (hashCode != -1360216880) { + } + bVar = new b(i2 != 0 ? i2 != 1 ? 1 : 3 : 2, i4, i3); + } else { + bVar = new b(-1, 0, i3); + } + } + bVar2 = bVar; + } + } else if (str.equals("outside")) { + c3 = 1; + if (c3 == 0) { + } + aVar = (h.a) h.b(b.b, n2); + if (aVar.isEmpty()) { + } + bVar2 = bVar; + } + } else if (str.equals("before")) { + c3 = 2; + if (c3 == 0) { + } + aVar = (h.a) h.b(b.b, n2); + if (aVar.isEmpty()) { + } + bVar2 = bVar; + } + c3 = 65535; + if (c3 == 0) { + } + aVar = (h.a) h.b(b.b, n2); + if (aVar.isEmpty()) { + } + bVar2 = bVar; + } + } + fVar2.r = bVar2; + break; + case '\f': + String d15 = c.i.a.f.e.o.f.d1(attributeValue); + d15.hashCode(); + if (!d15.equals("before")) { + if (!d15.equals("after")) { + break; + } else { + fVar2 = k(fVar2); + fVar2.n = 2; + break; + } + } else { + fVar2 = k(fVar2); + fVar2.n = 1; + break; + } + case '\r': + fVar2 = k(fVar2); + try { + fVar2.d = i.a(attributeValue, false); + fVar2.e = true; + break; + } catch (IllegalArgumentException unused3) { + String valueOf5 = String.valueOf(attributeValue); + Log.w("TtmlDecoder", valueOf5.length() != 0 ? "Failed parsing background value: ".concat(valueOf5) : new String("Failed parsing background value: ")); + break; + } + case 14: + fVar2 = k(fVar2); + fVar2.p = m(attributeValue); + break; + } + } + return fVar2; + } + + public static String[] t(String str) { + String trim = str.trim(); + if (trim.isEmpty()) { + return new String[0]; + } + int i = e0.a; + return trim.split("\\s+", -1); + } + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + /* JADX WARNING: Code restructure failed: missing block: B:21:0x00ad, code lost: + if (r13.equals("ms") == false) goto L_0x00a5; + */ + public static long u(String str, b bVar) throws SubtitleDecoderException { + double d; + double d2; + Matcher matcher = n.matcher(str); + char c2 = 4; + if (matcher.matches()) { + String group = matcher.group(1); + Objects.requireNonNull(group); + String group2 = matcher.group(2); + Objects.requireNonNull(group2); + String group3 = matcher.group(3); + Objects.requireNonNull(group3); + double parseLong = ((double) (Long.parseLong(group) * 3600)) + ((double) (Long.parseLong(group2) * 60)) + ((double) Long.parseLong(group3)); + String group4 = matcher.group(4); + double d3 = ShadowDrawableWrapper.COS_45; + double parseDouble = parseLong + (group4 != null ? Double.parseDouble(group4) : 0.0d); + String group5 = matcher.group(5); + double parseLong2 = parseDouble + (group5 != null ? (double) (((float) Long.parseLong(group5)) / bVar.a) : 0.0d); + String group6 = matcher.group(6); + if (group6 != null) { + d3 = (((double) Long.parseLong(group6)) / ((double) bVar.b)) / ((double) bVar.a); + } + return (long) ((parseLong2 + d3) * 1000000.0d); + } + Matcher matcher2 = o.matcher(str); + if (matcher2.matches()) { + String group7 = matcher2.group(1); + Objects.requireNonNull(group7); + double parseDouble2 = Double.parseDouble(group7); + String group8 = matcher2.group(2); + Objects.requireNonNull(group8); + switch (group8.hashCode()) { + case 102: + if (group8.equals("f")) { + c2 = 0; + break; + } + c2 = 65535; + break; + case 104: + if (group8.equals("h")) { + c2 = 1; + break; + } + c2 = 65535; + break; + case 109: + if (group8.equals("m")) { + c2 = 2; + break; + } + c2 = 65535; + break; + case 116: + if (group8.equals("t")) { + c2 = 3; + break; + } + c2 = 65535; + break; + case 3494: + break; + default: + c2 = 65535; + break; + } + switch (c2) { + case 0: + d = (double) bVar.a; + parseDouble2 /= d; + return (long) (parseDouble2 * 1000000.0d); + case 1: + d2 = 3600.0d; + parseDouble2 *= d2; + return (long) (parseDouble2 * 1000000.0d); + case 2: + d2 = 60.0d; + parseDouble2 *= d2; + return (long) (parseDouble2 * 1000000.0d); + case 3: + d = (double) bVar.f713c; + parseDouble2 /= d; + return (long) (parseDouble2 * 1000000.0d); + case 4: + d = 1000.0d; + parseDouble2 /= d; + return (long) (parseDouble2 * 1000000.0d); + default: + return (long) (parseDouble2 * 1000000.0d); + } + } else { + String valueOf = String.valueOf(str); + throw new SubtitleDecoderException(valueOf.length() != 0 ? "Malformed time expression: ".concat(valueOf) : new String("Malformed time expression: ")); + } + } + + @Nullable + public static C0090c v(XmlPullParser xmlPullParser) { + String q0 = d.q0(xmlPullParser, "extent"); + if (q0 == null) { + return null; + } + Matcher matcher = f712s.matcher(q0); + if (!matcher.matches()) { + Log.w("TtmlDecoder", q0.length() != 0 ? "Ignoring non-pixel tts extent: ".concat(q0) : new String("Ignoring non-pixel tts extent: ")); + return null; + } + try { + String group = matcher.group(1); + Objects.requireNonNull(group); + int parseInt = Integer.parseInt(group); + String group2 = matcher.group(2); + Objects.requireNonNull(group2); + return new C0090c(parseInt, Integer.parseInt(group2)); + } catch (NumberFormatException unused) { + Log.w("TtmlDecoder", q0.length() != 0 ? "Ignoring malformed tts extent: ".concat(q0) : new String("Ignoring malformed tts extent: ")); + return null; + } + } + + @Override // c.i.a.c.b3.f + public g j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException { + b bVar; + try { + XmlPullParser newPullParser = this.w.newPullParser(); + HashMap hashMap = new HashMap(); + HashMap hashMap2 = new HashMap(); + HashMap hashMap3 = new HashMap(); + hashMap2.put("", new e("", -3.4028235E38f, -3.4028235E38f, Integer.MIN_VALUE, Integer.MIN_VALUE, -3.4028235E38f, -3.4028235E38f, Integer.MIN_VALUE, -3.4028235E38f, Integer.MIN_VALUE)); + C0090c cVar = null; + newPullParser.setInput(new ByteArrayInputStream(bArr, 0, i), null); + ArrayDeque arrayDeque = new ArrayDeque(); + b bVar2 = u; + a aVar = v; + g gVar = null; + int i2 = 0; + for (int eventType = newPullParser.getEventType(); eventType != 1; eventType = newPullParser.getEventType()) { + d dVar = (d) arrayDeque.peek(); + if (i2 == 0) { + String name = newPullParser.getName(); + if (eventType == 2) { + if ("tt".equals(name)) { + bVar2 = p(newPullParser); + aVar = n(newPullParser, v); + cVar = v(newPullParser); + } + if (!l(name)) { + String valueOf = String.valueOf(newPullParser.getName()); + Log.i("TtmlDecoder", valueOf.length() != 0 ? "Ignoring unsupported tag: ".concat(valueOf) : new String("Ignoring unsupported tag: ")); + i2++; + bVar = bVar2; + } else if ("head".equals(name)) { + bVar = bVar2; + q(newPullParser, hashMap, aVar, cVar, hashMap2, hashMap3); + } else { + bVar = bVar2; + try { + d r2 = r(newPullParser, dVar, hashMap2, bVar); + arrayDeque.push(r2); + if (dVar != null) { + dVar.a(r2); + } + } catch (SubtitleDecoderException e) { + q.c("TtmlDecoder", "Suppressing parser error", e); + i2++; + } + } + bVar2 = bVar; + cVar = cVar; + aVar = aVar; + } else if (eventType == 4) { + Objects.requireNonNull(dVar); + d b2 = d.b(newPullParser.getText()); + if (dVar.m == null) { + dVar.m = new ArrayList(); + } + dVar.m.add(b2); + } else if (eventType == 3) { + if (newPullParser.getName().equals("tt")) { + d dVar2 = (d) arrayDeque.peek(); + Objects.requireNonNull(dVar2); + gVar = new g(dVar2, hashMap, hashMap2, hashMap3); + } + arrayDeque.pop(); + } + } else if (eventType == 2) { + i2++; + } else if (eventType == 3) { + i2--; + } + newPullParser.next(); + } + if (gVar != null) { + return gVar; + } + throw new SubtitleDecoderException("No TTML subtitles found"); + } catch (XmlPullParserException e2) { + throw new SubtitleDecoderException("Unable to decode source", e2); + } catch (IOException e3) { + throw new IllegalStateException("Unexpected error when reading input.", e3); + } + } +} diff --git a/app/src/main/java/c/i/a/c/b3/t/d.java b/app/src/main/java/c/i/a/c/b3/t/d.java new file mode 100644 index 0000000000..0ea967b908 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/t/d.java @@ -0,0 +1,382 @@ +package c.i.a.c.b3.t; + +import android.text.Layout; +import android.text.SpannableStringBuilder; +import android.text.style.AbsoluteSizeSpan; +import android.text.style.BackgroundColorSpan; +import android.text.style.ForegroundColorSpan; +import android.text.style.RelativeSizeSpan; +import android.text.style.StrikethroughSpan; +import android.text.style.StyleSpan; +import android.text.style.TypefaceSpan; +import android.text.style.UnderlineSpan; +import android.util.Log; +import android.util.Pair; +import androidx.annotation.Nullable; +import c.i.a.c.b3.b; +import c.i.a.c.b3.q.a; +import c.i.a.c.b3.q.c; +import c.i.a.c.f3.e0; +import java.util.ArrayDeque; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.TreeSet; +/* compiled from: TtmlNode */ +public final class d { + @Nullable + public final String a; + @Nullable + public final String b; + + /* renamed from: c reason: collision with root package name */ + public final boolean f714c; + public final long d; + public final long e; + @Nullable + public final f f; + @Nullable + public final String[] g; + public final String h; + @Nullable + public final String i; + @Nullable + public final d j; + public final HashMap k; + public final HashMap l; + public List m; + + public d(@Nullable String str, @Nullable String str2, long j, long j2, @Nullable f fVar, @Nullable String[] strArr, String str3, @Nullable String str4, @Nullable d dVar) { + this.a = str; + this.b = str2; + this.i = str4; + this.f = fVar; + this.g = strArr; + this.f714c = str2 != null; + this.d = j; + this.e = j2; + Objects.requireNonNull(str3); + this.h = str3; + this.j = dVar; + this.k = new HashMap<>(); + this.l = new HashMap<>(); + } + + public static d b(String str) { + return new d(null, str.replaceAll("\r\n", "\n").replaceAll(" *\n *", "\n").replaceAll("\n", " ").replaceAll("[ \t\\x0B\f\r]+", " "), -9223372036854775807L, -9223372036854775807L, null, null, "", null, null); + } + + public static SpannableStringBuilder f(String str, Map map) { + if (!map.containsKey(str)) { + b.C0086b bVar = new b.C0086b(); + bVar.a = new SpannableStringBuilder(); + map.put(str, bVar); + } + CharSequence charSequence = map.get(str).a; + Objects.requireNonNull(charSequence); + return (SpannableStringBuilder) charSequence; + } + + public void a(d dVar) { + if (this.m == null) { + this.m = new ArrayList(); + } + this.m.add(dVar); + } + + public d c(int i) { + List list = this.m; + if (list != null) { + return list.get(i); + } + throw new IndexOutOfBoundsException(); + } + + public int d() { + List list = this.m; + if (list == null) { + return 0; + } + return list.size(); + } + + public final void e(TreeSet treeSet, boolean z2) { + boolean equals = "p".equals(this.a); + boolean equals2 = "div".equals(this.a); + if (z2 || equals || (equals2 && this.i != null)) { + long j = this.d; + if (j != -9223372036854775807L) { + treeSet.add(Long.valueOf(j)); + } + long j2 = this.e; + if (j2 != -9223372036854775807L) { + treeSet.add(Long.valueOf(j2)); + } + } + if (this.m != null) { + for (int i = 0; i < this.m.size(); i++) { + this.m.get(i).e(treeSet, z2 || equals); + } + } + } + + public boolean g(long j) { + long j2 = this.d; + return (j2 == -9223372036854775807L && this.e == -9223372036854775807L) || (j2 <= j && this.e == -9223372036854775807L) || ((j2 == -9223372036854775807L && j < this.e) || (j2 <= j && j < this.e)); + } + + public final void h(long j, String str, List> list) { + if (!"".equals(this.h)) { + str = this.h; + } + if (!g(j) || !"div".equals(this.a) || this.i == null) { + for (int i = 0; i < d(); i++) { + c(i).h(j, str, list); + } + return; + } + list.add(new Pair<>(str, this.i)); + } + + /* JADX WARNING: Removed duplicated region for block: B:115:0x01eb */ + /* JADX WARNING: Removed duplicated region for block: B:117:0x01ee */ + /* JADX WARNING: Removed duplicated region for block: B:120:0x01fe */ + /* JADX WARNING: Removed duplicated region for block: B:125:0x021f */ + /* JADX WARNING: Removed duplicated region for block: B:128:0x0237 */ + /* JADX WARNING: Removed duplicated region for block: B:149:0x025a A[SYNTHETIC] */ + public final void i(long j, Map map, Map map2, String str, Map map3) { + Iterator> it; + boolean z2; + int i; + d dVar; + f R1; + int i2; + if (g(j)) { + String str2 = "".equals(this.h) ? str : this.h; + Iterator> it2 = this.l.entrySet().iterator(); + while (it2.hasNext()) { + Map.Entry next = it2.next(); + String key = next.getKey(); + int intValue = this.k.containsKey(key) ? this.k.get(key).intValue() : 0; + int intValue2 = next.getValue().intValue(); + if (intValue != intValue2) { + b.C0086b bVar = map3.get(key); + Objects.requireNonNull(bVar); + e eVar = map2.get(str2); + Objects.requireNonNull(eVar); + int i3 = eVar.j; + f R12 = c.c.a.a0.d.R1(this.f, this.g, map); + SpannableStringBuilder spannableStringBuilder = (SpannableStringBuilder) bVar.a; + if (spannableStringBuilder == null) { + spannableStringBuilder = new SpannableStringBuilder(); + bVar.a = spannableStringBuilder; + } + if (R12 != null) { + d dVar2 = this.j; + if (R12.b() != -1) { + spannableStringBuilder.setSpan(new StyleSpan(R12.b()), intValue, intValue2, 33); + } + if (R12.f == 1) { + spannableStringBuilder.setSpan(new StrikethroughSpan(), intValue, intValue2, 33); + } + if (R12.g == 1) { + spannableStringBuilder.setSpan(new UnderlineSpan(), intValue, intValue2, 33); + } + if (R12.f716c) { + if (R12.f716c) { + c.c.a.a0.d.c(spannableStringBuilder, new ForegroundColorSpan(R12.b), intValue, intValue2, 33); + } else { + throw new IllegalStateException("Font color has not been defined."); + } + } + if (R12.e) { + if (R12.e) { + c.c.a.a0.d.c(spannableStringBuilder, new BackgroundColorSpan(R12.d), intValue, intValue2, 33); + } else { + throw new IllegalStateException("Background color has not been defined."); + } + } + if (R12.a != null) { + c.c.a.a0.d.c(spannableStringBuilder, new TypefaceSpan(R12.a), intValue, intValue2, 33); + } + b bVar2 = R12.r; + if (bVar2 != null) { + int i4 = bVar2.f; + it = it2; + if (i4 == -1) { + i4 = (i3 == 2 || i3 == 1) ? 3 : 1; + i2 = 1; + } else { + i2 = bVar2.g; + } + int i5 = bVar2.h; + if (i5 == -2) { + i5 = 1; + } + c.c.a.a0.d.c(spannableStringBuilder, new c.i.a.c.b3.q.d(i4, i2, i5), intValue, intValue2, 33); + } else { + it = it2; + } + int i6 = R12.m; + if (i6 == 2) { + while (true) { + if (dVar2 == null) { + dVar2 = null; + break; + } + f R13 = c.c.a.a0.d.R1(dVar2.f, dVar2.g, map); + if (R13 != null && R13.m == 1) { + break; + } + dVar2 = dVar2.j; + } + if (dVar2 != null) { + ArrayDeque arrayDeque = new ArrayDeque(); + arrayDeque.push(dVar2); + while (true) { + if (arrayDeque.isEmpty()) { + dVar = null; + break; + } + d dVar3 = (d) arrayDeque.pop(); + f R14 = c.c.a.a0.d.R1(dVar3.f, dVar3.g, map); + if (R14 != null && R14.m == 3) { + dVar = dVar3; + break; + } + for (int d = dVar3.d() - 1; d >= 0; d--) { + arrayDeque.push(dVar3.c(d)); + } + } + if (dVar != null) { + if (dVar.d() == 1) { + z2 = false; + if (dVar.c(0).b != null) { + String str3 = dVar.c(0).b; + int i7 = e0.a; + f R15 = c.c.a.a0.d.R1(dVar.f, dVar.g, map); + int i8 = R15 != null ? R15.n : -1; + if (i8 == -1 && (R1 = c.c.a.a0.d.R1(dVar2.f, dVar2.g, map)) != null) { + i8 = R1.n; + } + spannableStringBuilder.setSpan(new c(str3, i8), intValue, intValue2, 33); + if (R12.q == 1) { + z2 = true; + } + if (z2) { + c.c.a.a0.d.c(spannableStringBuilder, new a(), intValue, intValue2, 33); + } + i = R12.j; + if (i == 1) { + c.c.a.a0.d.c(spannableStringBuilder, new AbsoluteSizeSpan((int) R12.k, true), intValue, intValue2, 33); + } else if (i == 2) { + c.c.a.a0.d.c(spannableStringBuilder, new RelativeSizeSpan(R12.k), intValue, intValue2, 33); + } else if (i == 3) { + c.c.a.a0.d.c(spannableStringBuilder, new RelativeSizeSpan(R12.k / 100.0f), intValue, intValue2, 33); + } + if ("p".equals(this.a)) { + float f = R12.f717s; + if (f != Float.MAX_VALUE) { + bVar.q = (f * -90.0f) / 100.0f; + } + Layout.Alignment alignment = R12.o; + if (alignment != null) { + bVar.f679c = alignment; + } + Layout.Alignment alignment2 = R12.p; + if (alignment2 != null) { + bVar.d = alignment2; + } + } + it2 = it; + } + } else { + z2 = false; + } + Log.i("TtmlRenderUtil", "Skipping rubyText node without exactly one text child."); + if (R12.q == 1) { + } + if (z2) { + } + i = R12.j; + if (i == 1) { + } + if ("p".equals(this.a)) { + } + it2 = it; + } + } + } else if (i6 == 3 || i6 == 4) { + spannableStringBuilder.setSpan(new a(), intValue, intValue2, 33); + } + z2 = false; + if (R12.q == 1) { + } + if (z2) { + } + i = R12.j; + if (i == 1) { + } + if ("p".equals(this.a)) { + } + it2 = it; + } + } + it = it2; + it2 = it; + } + for (int i9 = 0; i9 < d(); i9++) { + c(i9).i(j, map, map2, str2, map3); + } + } + } + + public final void j(long j, boolean z2, String str, Map map) { + this.k.clear(); + this.l.clear(); + if (!"metadata".equals(this.a)) { + if (!"".equals(this.h)) { + str = this.h; + } + if (this.f714c && z2) { + SpannableStringBuilder f = f(str, map); + String str2 = this.b; + Objects.requireNonNull(str2); + f.append((CharSequence) str2); + } else if ("br".equals(this.a) && z2) { + f(str, map).append('\n'); + } else if (g(j)) { + for (Map.Entry entry : map.entrySet()) { + CharSequence charSequence = entry.getValue().a; + Objects.requireNonNull(charSequence); + this.k.put(entry.getKey(), Integer.valueOf(charSequence.length())); + } + boolean equals = "p".equals(this.a); + for (int i = 0; i < d(); i++) { + c(i).j(j, z2 || equals, str, map); + } + if (equals) { + SpannableStringBuilder f2 = f(str, map); + int length = f2.length(); + do { + length--; + if (length < 0) { + break; + } + } while (f2.charAt(length) == ' '); + if (length >= 0 && f2.charAt(length) != '\n') { + f2.append('\n'); + } + } + for (Map.Entry entry2 : map.entrySet()) { + CharSequence charSequence2 = entry2.getValue().a; + Objects.requireNonNull(charSequence2); + this.l.put(entry2.getKey(), Integer.valueOf(charSequence2.length())); + } + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/b3/t/e.java b/app/src/main/java/c/i/a/c/b3/t/e.java new file mode 100644 index 0000000000..586799ebb8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/t/e.java @@ -0,0 +1,29 @@ +package c.i.a.c.b3.t; +/* compiled from: TtmlRegion */ +public final class e { + public final String a; + public final float b; + + /* renamed from: c reason: collision with root package name */ + public final float f715c; + public final int d; + public final int e; + public final float f; + public final float g; + public final int h; + public final float i; + public final int j; + + public e(String str, float f, float f2, int i, int i2, float f3, float f4, int i3, float f5, int i4) { + this.a = str; + this.b = f; + this.f715c = f2; + this.d = i; + this.e = i2; + this.f = f3; + this.g = f4; + this.h = i3; + this.i = f5; + this.j = i4; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/t/f.java b/app/src/main/java/c/i/a/c/b3/t/f.java new file mode 100644 index 0000000000..ae0e81405f --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/t/f.java @@ -0,0 +1,106 @@ +package c.i.a.c.b3.t; + +import android.text.Layout; +import androidx.annotation.Nullable; +/* compiled from: TtmlStyle */ +public final class f { + @Nullable + public String a; + public int b; + + /* renamed from: c reason: collision with root package name */ + public boolean f716c; + public int d; + public boolean e; + public int f = -1; + public int g = -1; + public int h = -1; + public int i = -1; + public int j = -1; + public float k; + @Nullable + public String l; + public int m = -1; + public int n = -1; + @Nullable + public Layout.Alignment o; + @Nullable + public Layout.Alignment p; + public int q = -1; + @Nullable + public b r; + + /* renamed from: s reason: collision with root package name */ + public float f717s = Float.MAX_VALUE; + + public f a(@Nullable f fVar) { + int i; + Layout.Alignment alignment; + Layout.Alignment alignment2; + String str; + if (fVar != null) { + if (!this.f716c && fVar.f716c) { + this.b = fVar.b; + this.f716c = true; + } + if (this.h == -1) { + this.h = fVar.h; + } + if (this.i == -1) { + this.i = fVar.i; + } + if (this.a == null && (str = fVar.a) != null) { + this.a = str; + } + if (this.f == -1) { + this.f = fVar.f; + } + if (this.g == -1) { + this.g = fVar.g; + } + if (this.n == -1) { + this.n = fVar.n; + } + if (this.o == null && (alignment2 = fVar.o) != null) { + this.o = alignment2; + } + if (this.p == null && (alignment = fVar.p) != null) { + this.p = alignment; + } + if (this.q == -1) { + this.q = fVar.q; + } + if (this.j == -1) { + this.j = fVar.j; + this.k = fVar.k; + } + if (this.r == null) { + this.r = fVar.r; + } + if (this.f717s == Float.MAX_VALUE) { + this.f717s = fVar.f717s; + } + if (!this.e && fVar.e) { + this.d = fVar.d; + this.e = true; + } + if (this.m == -1 && (i = fVar.m) != -1) { + this.m = i; + } + } + return this; + } + + public int b() { + int i = this.h; + if (i == -1 && this.i == -1) { + return -1; + } + int i2 = 0; + int i3 = i == 1 ? 1 : 0; + if (this.i == 1) { + i2 = 2; + } + return i3 | i2; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/t/g.java b/app/src/main/java/c/i/a/c/b3/t/g.java new file mode 100644 index 0000000000..493b8710df --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/t/g.java @@ -0,0 +1,153 @@ +package c.i.a.c.b3.t; + +import android.graphics.Bitmap; +import android.graphics.BitmapFactory; +import android.text.SpannableStringBuilder; +import android.util.Base64; +import android.util.Pair; +import androidx.core.view.ViewCompat; +import c.i.a.c.b3.b; +import c.i.a.c.f3.e0; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.TreeMap; +import java.util.TreeSet; +/* compiled from: TtmlSubtitle */ +public final class g implements c.i.a.c.b3.g { + public final d i; + public final long[] j; + public final Map k; + public final Map l; + public final Map m; + + public g(d dVar, Map map, Map map2, Map map3) { + this.i = dVar; + this.l = map2; + this.m = map3; + this.k = Collections.unmodifiableMap(map); + TreeSet treeSet = new TreeSet<>(); + int i = 0; + dVar.e(treeSet, false); + long[] jArr = new long[treeSet.size()]; + Iterator it = treeSet.iterator(); + while (it.hasNext()) { + jArr[i] = it.next().longValue(); + i++; + } + this.j = jArr; + } + + @Override // c.i.a.c.b3.g + public int f(long j) { + int b = e0.b(this.j, j, false, false); + if (b < this.j.length) { + return b; + } + return -1; + } + + @Override // c.i.a.c.b3.g + public long g(int i) { + return this.j[i]; + } + + @Override // c.i.a.c.b3.g + public List h(long j) { + d dVar = this.i; + Map map = this.k; + Map map2 = this.l; + Map map3 = this.m; + Objects.requireNonNull(dVar); + ArrayList arrayList = new ArrayList(); + dVar.h(j, dVar.h, arrayList); + TreeMap treeMap = new TreeMap(); + dVar.j(j, false, dVar.h, treeMap); + dVar.i(j, map, map2, dVar.h, treeMap); + ArrayList arrayList2 = new ArrayList(); + Iterator it = arrayList.iterator(); + while (it.hasNext()) { + Pair pair = (Pair) it.next(); + String str = map3.get(pair.second); + if (str != null) { + byte[] decode = Base64.decode(str, 0); + Bitmap decodeByteArray = BitmapFactory.decodeByteArray(decode, 0, decode.length); + e eVar = map2.get(pair.first); + Objects.requireNonNull(eVar); + arrayList2.add(new b(null, null, null, decodeByteArray, eVar.f715c, 0, eVar.e, eVar.b, 0, Integer.MIN_VALUE, -3.4028235E38f, eVar.f, eVar.g, false, ViewCompat.MEASURED_STATE_MASK, eVar.j, 0.0f, null)); + } + } + for (Map.Entry entry : treeMap.entrySet()) { + e eVar2 = map2.get(entry.getKey()); + Objects.requireNonNull(eVar2); + b.C0086b bVar = (b.C0086b) entry.getValue(); + CharSequence charSequence = bVar.a; + Objects.requireNonNull(charSequence); + SpannableStringBuilder spannableStringBuilder = (SpannableStringBuilder) charSequence; + a[] aVarArr = (a[]) spannableStringBuilder.getSpans(0, spannableStringBuilder.length(), a.class); + for (a aVar : aVarArr) { + spannableStringBuilder.replace(spannableStringBuilder.getSpanStart(aVar), spannableStringBuilder.getSpanEnd(aVar), (CharSequence) ""); + } + for (int i = 0; i < spannableStringBuilder.length(); i++) { + if (spannableStringBuilder.charAt(i) == ' ') { + int i2 = i + 1; + int i3 = i2; + while (i3 < spannableStringBuilder.length() && spannableStringBuilder.charAt(i3) == ' ') { + i3++; + } + int i4 = i3 - i2; + if (i4 > 0) { + spannableStringBuilder.delete(i, i4 + i); + } + } + } + if (spannableStringBuilder.length() > 0 && spannableStringBuilder.charAt(0) == ' ') { + spannableStringBuilder.delete(0, 1); + } + for (int i5 = 0; i5 < spannableStringBuilder.length() - 1; i5++) { + if (spannableStringBuilder.charAt(i5) == '\n') { + int i6 = i5 + 1; + if (spannableStringBuilder.charAt(i6) == ' ') { + spannableStringBuilder.delete(i6, i5 + 2); + } + } + } + if (spannableStringBuilder.length() > 0 && spannableStringBuilder.charAt(spannableStringBuilder.length() - 1) == ' ') { + spannableStringBuilder.delete(spannableStringBuilder.length() - 1, spannableStringBuilder.length()); + } + for (int i7 = 0; i7 < spannableStringBuilder.length() - 1; i7++) { + if (spannableStringBuilder.charAt(i7) == ' ') { + int i8 = i7 + 1; + if (spannableStringBuilder.charAt(i8) == '\n') { + spannableStringBuilder.delete(i7, i8); + } + } + } + if (spannableStringBuilder.length() > 0 && spannableStringBuilder.charAt(spannableStringBuilder.length() - 1) == '\n') { + spannableStringBuilder.delete(spannableStringBuilder.length() - 1, spannableStringBuilder.length()); + } + float f = eVar2.f715c; + int i9 = eVar2.d; + bVar.e = f; + bVar.f = i9; + bVar.g = eVar2.e; + bVar.h = eVar2.b; + bVar.l = eVar2.f; + float f2 = eVar2.i; + int i10 = eVar2.h; + bVar.k = f2; + bVar.j = i10; + bVar.p = eVar2.j; + arrayList2.add(bVar.a()); + } + return arrayList2; + } + + @Override // c.i.a.c.b3.g + public int i() { + return this.j.length; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/u/a.java b/app/src/main/java/c/i/a/c/b3/u/a.java new file mode 100644 index 0000000000..9d7121d1c7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/u/a.java @@ -0,0 +1,181 @@ +package c.i.a.c.b3.u; + +import android.text.SpannableStringBuilder; +import android.text.style.ForegroundColorSpan; +import android.text.style.StyleSpan; +import android.text.style.TypefaceSpan; +import android.text.style.UnderlineSpan; +import android.util.Log; +import androidx.core.view.ViewCompat; +import androidx.recyclerview.widget.ItemTouchHelper; +import c.i.a.c.b3.b; +import c.i.a.c.b3.f; +import c.i.a.c.b3.g; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import c.i.b.a.c; +import com.google.android.exoplayer2.text.SubtitleDecoderException; +import java.util.List; +/* compiled from: Tx3gDecoder */ +public final class a extends f { + public final x n = new x(); + public final boolean o; + public final int p; + public final int q; + public final String r; + + /* renamed from: s reason: collision with root package name */ + public final float f718s; + public final int t; + + public a(List list) { + super("Tx3gDecoder"); + String str = "sans-serif"; + boolean z2 = true; + if (list.size() == 1 && (list.get(0).length == 48 || list.get(0).length == 53)) { + byte[] bArr = list.get(0); + this.p = bArr[24]; + this.q = ((bArr[26] & 255) << 24) | ((bArr[27] & 255) << 16) | ((bArr[28] & 255) << 8) | (bArr[29] & 255); + this.r = "Serif".equals(e0.m(bArr, 43, bArr.length - 43)) ? "serif" : str; + int i = bArr[25] * 20; + this.t = i; + z2 = (bArr[0] & 32) == 0 ? false : z2; + this.o = z2; + if (z2) { + this.f718s = e0.g(((float) ((bArr[11] & 255) | ((bArr[10] & 255) << 8))) / ((float) i), 0.0f, 0.95f); + } else { + this.f718s = 0.85f; + } + } else { + this.p = 0; + this.q = -1; + this.r = str; + this.o = false; + this.f718s = 0.85f; + this.t = -1; + } + } + + public static void k(boolean z2) throws SubtitleDecoderException { + if (!z2) { + throw new SubtitleDecoderException("Unexpected subtitle format."); + } + } + + public static void l(SpannableStringBuilder spannableStringBuilder, int i, int i2, int i3, int i4, int i5) { + if (i != i2) { + int i6 = i5 | 33; + boolean z2 = true; + boolean z3 = (i & 1) != 0; + boolean z4 = (i & 2) != 0; + if (z3) { + if (z4) { + spannableStringBuilder.setSpan(new StyleSpan(3), i3, i4, i6); + } else { + spannableStringBuilder.setSpan(new StyleSpan(1), i3, i4, i6); + } + } else if (z4) { + spannableStringBuilder.setSpan(new StyleSpan(2), i3, i4, i6); + } + if ((i & 4) == 0) { + z2 = false; + } + if (z2) { + spannableStringBuilder.setSpan(new UnderlineSpan(), i3, i4, i6); + } + if (!z2 && !z3 && !z4) { + spannableStringBuilder.setSpan(new StyleSpan(0), i3, i4, i6); + } + } + } + + @Override // c.i.a.c.b3.f + public g j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException { + String str; + int i2; + x xVar = this.n; + xVar.a = bArr; + xVar.f792c = i; + xVar.b = 0; + int i3 = 2; + int i4 = 1; + k(xVar.a() >= 2); + int y2 = xVar.y(); + if (y2 == 0) { + str = ""; + } else { + if (xVar.a() >= 2) { + byte[] bArr2 = xVar.a; + int i5 = xVar.b; + char c2 = (char) ((bArr2[i5 + 1] & 255) | ((bArr2[i5] & 255) << 8)); + if (c2 == 65279 || c2 == 65534) { + str = xVar.r(y2, c.e); + } + } + str = xVar.r(y2, c.f1307c); + } + if (str.isEmpty()) { + return b.i; + } + SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(str); + l(spannableStringBuilder, this.p, 0, 0, spannableStringBuilder.length(), ItemTouchHelper.ACTION_MODE_DRAG_MASK); + int i6 = this.q; + int length = spannableStringBuilder.length(); + if (i6 != -1) { + spannableStringBuilder.setSpan(new ForegroundColorSpan((i6 >>> 8) | ((i6 & 255) << 24)), 0, length, 16711713); + } + String str2 = this.r; + int length2 = spannableStringBuilder.length(); + if (str2 != "sans-serif") { + spannableStringBuilder.setSpan(new TypefaceSpan(str2), 0, length2, 16711713); + } + float f = this.f718s; + for (int i7 = 8; this.n.a() >= i7; i7 = 8) { + x xVar2 = this.n; + int i8 = xVar2.b; + int f2 = xVar2.f(); + int f3 = this.n.f(); + if (f3 == 1937013100) { + k(this.n.a() >= i3); + int i9 = 0; + for (int y3 = this.n.y(); i9 < y3; y3 = i2) { + x xVar3 = this.n; + k(xVar3.a() >= 12); + int y4 = xVar3.y(); + int y5 = xVar3.y(); + xVar3.F(i3); + int t = xVar3.t(); + xVar3.F(i4); + int f4 = xVar3.f(); + if (y5 > spannableStringBuilder.length()) { + i2 = y3; + StringBuilder O = c.d.b.a.a.O(68, "Truncating styl end (", y5, ") to cueText.length() (", spannableStringBuilder.length()); + O.append(")."); + Log.w("Tx3gDecoder", O.toString()); + y5 = spannableStringBuilder.length(); + } else { + i2 = y3; + } + if (y4 >= y5) { + c.d.b.a.a.n0(c.d.b.a.a.O(60, "Ignoring styl with start (", y4, ") >= end (", y5), ").", "Tx3gDecoder"); + } else { + l(spannableStringBuilder, t, this.p, y4, y5, 0); + if (f4 != this.q) { + spannableStringBuilder.setSpan(new ForegroundColorSpan(((f4 & 255) << 24) | (f4 >>> 8)), y4, y5, 33); + } + } + i9++; + i3 = 2; + i4 = 1; + } + } else if (f3 == 1952608120 && this.o) { + k(this.n.a() >= 2); + f = e0.g(((float) this.n.y()) / ((float) this.t), 0.0f, 0.95f); + } + this.n.E(i8 + f2); + i3 = 2; + i4 = 1; + } + return new b(new b(spannableStringBuilder, null, null, null, f, 0, 0, -3.4028235E38f, Integer.MIN_VALUE, Integer.MIN_VALUE, -3.4028235E38f, -3.4028235E38f, -3.4028235E38f, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null)); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/u/b.java b/app/src/main/java/c/i/a/c/b3/u/b.java new file mode 100644 index 0000000000..db44073788 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/u/b.java @@ -0,0 +1,40 @@ +package c.i.a.c.b3.u; + +import c.c.a.a0.d; +import c.i.a.c.b3.g; +import java.util.Collections; +import java.util.List; +/* compiled from: Tx3gSubtitle */ +public final class b implements g { + public static final b i = new b(); + public final List j; + + public b() { + this.j = Collections.emptyList(); + } + + public b(c.i.a.c.b3.b bVar) { + this.j = Collections.singletonList(bVar); + } + + @Override // c.i.a.c.b3.g + public int f(long j) { + return j < 0 ? 0 : -1; + } + + @Override // c.i.a.c.b3.g + public long g(int i2) { + d.j(i2 == 0); + return 0; + } + + @Override // c.i.a.c.b3.g + public List h(long j) { + return j >= 0 ? this.j : Collections.emptyList(); + } + + @Override // c.i.a.c.b3.g + public int i() { + return 1; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/v/a.java b/app/src/main/java/c/i/a/c/b3/v/a.java new file mode 100644 index 0000000000..238a8ecb6a --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/v/a.java @@ -0,0 +1,13 @@ +package c.i.a.c.b3.v; + +import c.i.a.c.b3.v.h; +import java.util.Comparator; +/* compiled from: lambda */ +public final /* synthetic */ class a implements Comparator { + public static final /* synthetic */ a i = new a(); + + @Override // java.util.Comparator + public final int compare(Object obj, Object obj2) { + return Integer.compare(((h.b) obj).b.b, ((h.b) obj2).b.b); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/v/b.java b/app/src/main/java/c/i/a/c/b3/v/b.java new file mode 100644 index 0000000000..5757a44835 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/v/b.java @@ -0,0 +1,12 @@ +package c.i.a.c.b3.v; + +import java.util.Comparator; +/* compiled from: lambda */ +public final /* synthetic */ class b implements Comparator { + public static final /* synthetic */ b i = new b(); + + @Override // java.util.Comparator + public final int compare(Object obj, Object obj2) { + return Long.compare(((g) obj).b, ((g) obj2).b); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/v/c.java b/app/src/main/java/c/i/a/c/b3/v/c.java new file mode 100644 index 0000000000..6648d0ea42 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/v/c.java @@ -0,0 +1,78 @@ +package c.i.a.c.b3.v; + +import c.i.a.c.b3.b; +import c.i.a.c.b3.f; +import c.i.a.c.b3.g; +import c.i.a.c.b3.v.h; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import com.google.android.exoplayer2.text.SubtitleDecoderException; +import java.util.ArrayList; +import java.util.Collections; +import java.util.regex.Pattern; +/* compiled from: Mp4WebvttDecoder */ +public final class c extends f { + public final x n = new x(); + + public c() { + super("Mp4WebvttDecoder"); + } + + @Override // c.i.a.c.b3.f + public g j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException { + b bVar; + x xVar = this.n; + xVar.a = bArr; + xVar.f792c = i; + xVar.b = 0; + ArrayList arrayList = new ArrayList(); + while (this.n.a() > 0) { + if (this.n.a() >= 8) { + int f = this.n.f(); + if (this.n.f() == 1987343459) { + x xVar2 = this.n; + int i2 = f - 8; + CharSequence charSequence = null; + b.C0086b bVar2 = null; + while (i2 > 0) { + if (i2 >= 8) { + int f2 = xVar2.f(); + int f3 = xVar2.f(); + int i3 = f2 - 8; + String m = e0.m(xVar2.a, xVar2.b, i3); + xVar2.F(i3); + i2 = (i2 - 8) - i3; + if (f3 == 1937011815) { + h.e eVar = new h.e(); + h.e(m, eVar); + bVar2 = eVar.a(); + } else if (f3 == 1885436268) { + charSequence = h.f(null, m.trim(), Collections.emptyList()); + } + } else { + throw new SubtitleDecoderException("Incomplete vtt cue box header found."); + } + } + if (charSequence == null) { + charSequence = ""; + } + if (bVar2 != null) { + bVar2.a = charSequence; + bVar = bVar2.a(); + } else { + Pattern pattern = h.a; + h.e eVar2 = new h.e(); + eVar2.f725c = charSequence; + bVar = eVar2.a().a(); + } + arrayList.add(bVar); + } else { + this.n.F(f - 8); + } + } else { + throw new SubtitleDecoderException("Incomplete Mp4Webvtt Top Level box header found."); + } + } + return new d(arrayList); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/v/d.java b/app/src/main/java/c/i/a/c/b3/v/d.java new file mode 100644 index 0000000000..ce13fd7586 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/v/d.java @@ -0,0 +1,35 @@ +package c.i.a.c.b3.v; + +import c.i.a.c.b3.b; +import c.i.a.c.b3.g; +import java.util.Collections; +import java.util.List; +/* compiled from: Mp4WebvttSubtitle */ +public final class d implements g { + public final List i; + + public d(List list) { + this.i = Collections.unmodifiableList(list); + } + + @Override // c.i.a.c.b3.g + public int f(long j) { + return j < 0 ? 0 : -1; + } + + @Override // c.i.a.c.b3.g + public long g(int i) { + c.c.a.a0.d.j(i == 0); + return 0; + } + + @Override // c.i.a.c.b3.g + public List h(long j) { + return j >= 0 ? this.i : Collections.emptyList(); + } + + @Override // c.i.a.c.b3.g + public int i() { + return 1; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/v/e.java b/app/src/main/java/c/i/a/c/b3/v/e.java new file mode 100644 index 0000000000..6852052962 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/v/e.java @@ -0,0 +1,99 @@ +package c.i.a.c.b3.v; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.x; +import java.util.regex.Pattern; +/* compiled from: WebvttCssParser */ +public final class e { + public static final Pattern a = Pattern.compile("\\[voice=\"([^\"]*)\"\\]"); + public static final Pattern b = Pattern.compile("^((?:[0-9]*\\.)?[0-9]+)(px|em|%)$"); + + /* renamed from: c reason: collision with root package name */ + public final x f719c = new x(); + public final StringBuilder d = new StringBuilder(); + + public static String a(x xVar, StringBuilder sb) { + boolean z2 = false; + sb.setLength(0); + int i = xVar.b; + int i2 = xVar.f792c; + while (i < i2 && !z2) { + char c2 = (char) xVar.a[i]; + if ((c2 < 'A' || c2 > 'Z') && ((c2 < 'a' || c2 > 'z') && !((c2 >= '0' && c2 <= '9') || c2 == '#' || c2 == '-' || c2 == '.' || c2 == '_'))) { + z2 = true; + } else { + i++; + sb.append(c2); + } + } + xVar.F(i - xVar.b); + return sb.toString(); + } + + @Nullable + public static String b(x xVar, StringBuilder sb) { + c(xVar); + if (xVar.a() == 0) { + return null; + } + String a2 = a(xVar, sb); + if (!"".equals(a2)) { + return a2; + } + StringBuilder sb2 = new StringBuilder(1); + sb2.append((char) xVar.t()); + return sb2.toString(); + } + + /* JADX WARNING: Removed duplicated region for block: B:35:0x0068 A[LOOP:1: B:2:0x0002->B:35:0x0068, LOOP_END] */ + /* JADX WARNING: Removed duplicated region for block: B:40:0x0001 A[SYNTHETIC] */ + public static void c(x xVar) { + boolean z2; + boolean z3; + while (true) { + boolean z4 = true; + while (xVar.a() > 0 && z4) { + char c2 = (char) xVar.a[xVar.b]; + if (c2 == '\t' || c2 == '\n' || c2 == '\f' || c2 == '\r' || c2 == ' ') { + xVar.F(1); + z2 = true; + } else { + z2 = false; + } + if (!z2) { + int i = xVar.b; + int i2 = xVar.f792c; + byte[] bArr = xVar.a; + if (i + 2 <= i2) { + int i3 = i + 1; + if (bArr[i] == 47) { + int i4 = i3 + 1; + if (bArr[i3] == 42) { + while (true) { + int i5 = i4 + 1; + if (i5 >= i2) { + break; + } else if (((char) bArr[i4]) == '*' && ((char) bArr[i5]) == '/') { + i2 = i5 + 1; + i4 = i2; + } else { + i4 = i5; + } + } + xVar.F(i2 - xVar.b); + z3 = true; + if (z3) { + z4 = false; + } + } + } + } + z3 = false; + if (z3) { + } + } + } + return; + } + } +} diff --git a/app/src/main/java/c/i/a/c/b3/v/f.java b/app/src/main/java/c/i/a/c/b3/v/f.java new file mode 100644 index 0000000000..0b3a9a0b3d --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/v/f.java @@ -0,0 +1,53 @@ +package c.i.a.c.b3.v; + +import androidx.annotation.ColorInt; +import androidx.annotation.Nullable; +import java.util.Collections; +import java.util.Set; +/* compiled from: WebvttCssStyle */ +public final class f { + public String a = ""; + public String b = ""; + + /* renamed from: c reason: collision with root package name */ + public Set f720c = Collections.emptySet(); + public String d = ""; + @Nullable + public String e = null; + @ColorInt + public int f; + public boolean g = false; + public int h; + public boolean i = false; + public int j = -1; + public int k = -1; + public int l = -1; + public int m = -1; + public int n = -1; + public float o; + public int p = -1; + public boolean q = false; + + public static int b(int i, String str, @Nullable String str2, int i2) { + if (str.isEmpty() || i == -1) { + return i; + } + if (str.equals(str2)) { + return i + i2; + } + return -1; + } + + public int a() { + int i = this.l; + if (i == -1 && this.m == -1) { + return -1; + } + int i2 = 0; + int i3 = i == 1 ? 1 : 0; + if (this.m == 1) { + i2 = 2; + } + return i3 | i2; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/v/g.java b/app/src/main/java/c/i/a/c/b3/v/g.java new file mode 100644 index 0000000000..29013adda6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/v/g.java @@ -0,0 +1,17 @@ +package c.i.a.c.b3.v; + +import c.i.a.c.b3.b; +/* compiled from: WebvttCueInfo */ +public final class g { + public final b a; + public final long b; + + /* renamed from: c reason: collision with root package name */ + public final long f721c; + + public g(b bVar, long j, long j2) { + this.a = bVar; + this.b = j; + this.f721c = j2; + } +} diff --git a/app/src/main/java/c/i/a/c/b3/v/h.java b/app/src/main/java/c/i/a/c/b3/v/h.java new file mode 100644 index 0000000000..40db669622 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/v/h.java @@ -0,0 +1,1010 @@ +package c.i.a.c.b3.v; + +import android.graphics.Color; +import android.text.Layout; +import android.text.SpannableStringBuilder; +import android.text.SpannedString; +import android.text.TextUtils; +import android.text.style.AbsoluteSizeSpan; +import android.text.style.BackgroundColorSpan; +import android.text.style.ForegroundColorSpan; +import android.text.style.RelativeSizeSpan; +import android.text.style.StrikethroughSpan; +import android.text.style.StyleSpan; +import android.text.style.TypefaceSpan; +import android.text.style.UnderlineSpan; +import android.util.Log; +import androidx.annotation.Nullable; +import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; +import c.i.a.c.b3.b; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import com.discord.models.domain.ModelAuditLogEntry; +import java.util.ArrayDeque; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Set; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +/* compiled from: WebvttCueParser */ +public final class h { + public static final Pattern a = Pattern.compile("^(\\S+)\\s+-->\\s+(\\S+)(.*)?$"); + public static final Pattern b = Pattern.compile("(\\S+?):(\\S+)"); + + /* renamed from: c reason: collision with root package name */ + public static final Map f722c; + public static final Map d; + + /* compiled from: WebvttCueParser */ + public static class b { + public static final /* synthetic */ int a = 0; + public final c b; + + /* renamed from: c reason: collision with root package name */ + public final int f723c; + + public b(c cVar, int i, a aVar) { + this.b = cVar; + this.f723c = i; + } + } + + /* compiled from: WebvttCueParser */ + public static final class c { + public final String a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final String f724c; + public final Set d; + + public c(String str, int i, String str2, Set set) { + this.b = i; + this.a = str; + this.f724c = str2; + this.d = set; + } + } + + /* compiled from: WebvttCueParser */ + public static final class d implements Comparable { + public final int i; + public final f j; + + public d(int i, f fVar) { + this.i = i; + this.j = fVar; + } + + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ + @Override // java.lang.Comparable + public int compareTo(d dVar) { + return Integer.compare(this.i, dVar.i); + } + } + + /* compiled from: WebvttCueParser */ + public static final class e { + public long a = 0; + public long b = 0; + + /* renamed from: c reason: collision with root package name */ + public CharSequence f725c; + public int d = 2; + public float e = -3.4028235E38f; + public int f = 1; + public int g = 0; + public float h = -3.4028235E38f; + public int i = Integer.MIN_VALUE; + public float j = 1.0f; + public int k = Integer.MIN_VALUE; + + /* JADX WARNING: Code restructure failed: missing block: B:37:0x0074, code lost: + if (r6 == 0) goto L_0x0076; + */ + /* JADX WARNING: Removed duplicated region for block: B:36:0x0072 */ + /* JADX WARNING: Removed duplicated region for block: B:37:0x0074 */ + /* JADX WARNING: Removed duplicated region for block: B:41:0x0088 */ + /* JADX WARNING: Removed duplicated region for block: B:49:0x00a4 */ + /* JADX WARNING: Removed duplicated region for block: B:52:0x00b4 */ + public b.C0086b a() { + Layout.Alignment alignment; + int i; + CharSequence charSequence; + float f = this.h; + float f2 = -3.4028235E38f; + if (f == -3.4028235E38f) { + int i2 = this.d; + f = i2 != 4 ? i2 != 5 ? 0.5f : 1.0f : 0.0f; + } + int i3 = this.i; + if (i3 == Integer.MIN_VALUE) { + int i4 = this.d; + if (i4 != 1) { + if (i4 != 3) { + if (i4 != 4) { + if (i4 != 5) { + i3 = 1; + } + } + } + i3 = 2; + } + i3 = 0; + } + b.C0086b bVar = new b.C0086b(); + int i5 = this.d; + if (i5 != 1) { + if (i5 != 2) { + if (i5 != 3) { + if (i5 != 4) { + if (i5 != 5) { + c.d.b.a.a.d0(34, "Unknown textAlignment: ", i5, "WebvttCueParser"); + alignment = null; + } + } + } + alignment = Layout.Alignment.ALIGN_OPPOSITE; + } else { + alignment = Layout.Alignment.ALIGN_CENTER; + } + bVar.f679c = alignment; + float f3 = this.e; + int i6 = this.f; + i = (f3 > -3.4028235E38f ? 1 : (f3 == -3.4028235E38f ? 0 : -1)); + if (i == 0 || i6 != 0 || (f3 >= 0.0f && f3 <= 1.0f)) { + if (i == 0) { + f2 = f3; + } + bVar.e = f2; + bVar.f = i6; + bVar.g = this.g; + bVar.h = f; + bVar.i = i3; + float f4 = this.j; + if (i3 == 0) { + f = 1.0f - f; + } else if (i3 == 1) { + f = f <= 0.5f ? f * 2.0f : (1.0f - f) * 2.0f; + } else if (i3 != 2) { + throw new IllegalStateException(String.valueOf(i3)); + } + bVar.l = Math.min(f4, f); + bVar.p = this.k; + charSequence = this.f725c; + if (charSequence != null) { + bVar.a = charSequence; + } + return bVar; + } + f2 = 1.0f; + bVar.e = f2; + bVar.f = i6; + bVar.g = this.g; + bVar.h = f; + bVar.i = i3; + float f4 = this.j; + if (i3 == 0) { + } + bVar.l = Math.min(f4, f); + bVar.p = this.k; + charSequence = this.f725c; + if (charSequence != null) { + } + return bVar; + } + alignment = Layout.Alignment.ALIGN_NORMAL; + bVar.f679c = alignment; + float f3 = this.e; + int i6 = this.f; + i = (f3 > -3.4028235E38f ? 1 : (f3 == -3.4028235E38f ? 0 : -1)); + if (i == 0) { + } + bVar.e = f2; + bVar.f = i6; + bVar.g = this.g; + bVar.h = f; + bVar.i = i3; + float f4 = this.j; + if (i3 == 0) { + } + bVar.l = Math.min(f4, f); + bVar.p = this.k; + charSequence = this.f725c; + if (charSequence != null) { + } + return bVar; + } + } + + static { + HashMap hashMap = new HashMap(); + hashMap.put("white", Integer.valueOf(Color.rgb(255, 255, 255))); + hashMap.put("lime", Integer.valueOf(Color.rgb(0, 255, 0))); + hashMap.put("cyan", Integer.valueOf(Color.rgb(0, 255, 255))); + hashMap.put("red", Integer.valueOf(Color.rgb(255, 0, 0))); + hashMap.put("yellow", Integer.valueOf(Color.rgb(255, 255, 0))); + hashMap.put("magenta", Integer.valueOf(Color.rgb(255, 0, 255))); + hashMap.put("blue", Integer.valueOf(Color.rgb(0, 0, 255))); + hashMap.put("black", Integer.valueOf(Color.rgb(0, 0, 0))); + f722c = Collections.unmodifiableMap(hashMap); + HashMap hashMap2 = new HashMap(); + hashMap2.put("bg_white", Integer.valueOf(Color.rgb(255, 255, 255))); + hashMap2.put("bg_lime", Integer.valueOf(Color.rgb(0, 255, 0))); + hashMap2.put("bg_cyan", Integer.valueOf(Color.rgb(0, 255, 255))); + hashMap2.put("bg_red", Integer.valueOf(Color.rgb(255, 0, 0))); + hashMap2.put("bg_yellow", Integer.valueOf(Color.rgb(255, 255, 0))); + hashMap2.put("bg_magenta", Integer.valueOf(Color.rgb(255, 0, 255))); + hashMap2.put("bg_blue", Integer.valueOf(Color.rgb(0, 0, 255))); + hashMap2.put("bg_black", Integer.valueOf(Color.rgb(0, 0, 0))); + d = Collections.unmodifiableMap(hashMap2); + } + + /* JADX WARNING: Removed duplicated region for block: B:133:0x024a A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:43:0x0097 A[RETURN] */ + /* JADX WARNING: Removed duplicated region for block: B:44:0x0098 */ + /* JADX WARNING: Removed duplicated region for block: B:56:0x010b */ + /* JADX WARNING: Removed duplicated region for block: B:57:0x0114 */ + /* JADX WARNING: Removed duplicated region for block: B:58:0x011d */ + /* JADX WARNING: Removed duplicated region for block: B:67:0x0165 */ + /* JADX WARNING: Removed duplicated region for block: B:71:0x017c */ + public static void a(@Nullable String str, c cVar, List list, SpannableStringBuilder spannableStringBuilder, List list2) { + char c2; + List b2; + int i; + ArrayList arrayList; + int i2 = cVar.b; + int length = spannableStringBuilder.length(); + String str2 = cVar.a; + str2.hashCode(); + int hashCode = str2.hashCode(); + int i3 = -1; + if (hashCode != 0) { + if (hashCode != 105) { + if (hashCode != 3314158) { + if (hashCode != 3511770) { + if (hashCode != 98) { + if (hashCode != 99) { + if (hashCode != 117) { + if (hashCode == 118 && str2.equals("v")) { + c2 = 5; + switch (c2) { + case 0: + case 5: + case 6: + break; + case 1: + spannableStringBuilder.setSpan(new StyleSpan(1), i2, length, 33); + break; + case 2: + for (String str3 : cVar.d) { + Map map = f722c; + if (map.containsKey(str3)) { + spannableStringBuilder.setSpan(new ForegroundColorSpan(map.get(str3).intValue()), i2, length, 33); + } else { + Map map2 = d; + if (map2.containsKey(str3)) { + spannableStringBuilder.setSpan(new BackgroundColorSpan(map2.get(str3).intValue()), i2, length, 33); + } + } + } + break; + case 3: + spannableStringBuilder.setSpan(new StyleSpan(2), i2, length, 33); + break; + case 4: + spannableStringBuilder.setSpan(new UnderlineSpan(), i2, length, 33); + break; + case 7: + int c3 = c(list2, str, cVar); + ArrayList arrayList2 = new ArrayList(list.size()); + arrayList2.addAll(list); + int i4 = b.a; + Collections.sort(arrayList2, a.i); + int i5 = cVar.b; + int i6 = 0; + int i7 = 0; + while (i6 < arrayList2.size()) { + if ("rt".equals(((b) arrayList2.get(i6)).b.a)) { + b bVar = (b) arrayList2.get(i6); + int c4 = c(list2, str, bVar.b); + if (c4 == i3) { + c4 = c3 != i3 ? c3 : 1; + } + int i8 = bVar.b.b - i7; + int i9 = bVar.f723c - i7; + CharSequence subSequence = spannableStringBuilder.subSequence(i8, i9); + spannableStringBuilder.delete(i8, i9); + spannableStringBuilder.setSpan(new c.i.a.c.b3.q.c(subSequence.toString(), c4), i5, i8, 33); + i7 = subSequence.length() + i7; + i5 = i8; + } + i6++; + i3 = -1; + } + break; + default: + return; + } + b2 = b(list2, str, cVar); + i = 0; + while (true) { + arrayList = (ArrayList) b2; + if (i < arrayList.size()) { + f fVar = ((d) arrayList.get(i)).j; + if (fVar != null) { + if (fVar.a() != -1) { + c.c.a.a0.d.c(spannableStringBuilder, new StyleSpan(fVar.a()), i2, length, 33); + } + if (fVar.j == 1) { + spannableStringBuilder.setSpan(new StrikethroughSpan(), i2, length, 33); + } + if (fVar.k == 1) { + spannableStringBuilder.setSpan(new UnderlineSpan(), i2, length, 33); + } + if (fVar.g) { + if (fVar.g) { + c.c.a.a0.d.c(spannableStringBuilder, new ForegroundColorSpan(fVar.f), i2, length, 33); + } else { + throw new IllegalStateException("Font color not defined"); + } + } + if (fVar.i) { + if (fVar.i) { + c.c.a.a0.d.c(spannableStringBuilder, new BackgroundColorSpan(fVar.h), i2, length, 33); + } else { + throw new IllegalStateException("Background color not defined."); + } + } + if (fVar.e != null) { + c.c.a.a0.d.c(spannableStringBuilder, new TypefaceSpan(fVar.e), i2, length, 33); + } + int i10 = fVar.n; + if (i10 == 1) { + c.c.a.a0.d.c(spannableStringBuilder, new AbsoluteSizeSpan((int) fVar.o, true), i2, length, 33); + } else if (i10 == 2) { + c.c.a.a0.d.c(spannableStringBuilder, new RelativeSizeSpan(fVar.o), i2, length, 33); + } else if (i10 == 3) { + c.c.a.a0.d.c(spannableStringBuilder, new RelativeSizeSpan(fVar.o / 100.0f), i2, length, 33); + } + if (fVar.q) { + spannableStringBuilder.setSpan(new c.i.a.c.b3.q.a(), i2, length, 33); + } + } + i++; + } else { + return; + } + } + } + } else if (str2.equals("u")) { + c2 = 4; + switch (c2) { + } + b2 = b(list2, str, cVar); + i = 0; + while (true) { + arrayList = (ArrayList) b2; + if (i < arrayList.size()) { + } + i++; + } + } + } else if (str2.equals("c")) { + c2 = 2; + switch (c2) { + } + b2 = b(list2, str, cVar); + i = 0; + while (true) { + arrayList = (ArrayList) b2; + if (i < arrayList.size()) { + } + i++; + } + } + } else if (str2.equals("b")) { + c2 = 1; + switch (c2) { + } + b2 = b(list2, str, cVar); + i = 0; + while (true) { + arrayList = (ArrayList) b2; + if (i < arrayList.size()) { + } + i++; + } + } + } else if (str2.equals("ruby")) { + c2 = 7; + switch (c2) { + } + b2 = b(list2, str, cVar); + i = 0; + while (true) { + arrayList = (ArrayList) b2; + if (i < arrayList.size()) { + } + i++; + } + } + } else if (str2.equals("lang")) { + c2 = 6; + switch (c2) { + } + b2 = b(list2, str, cVar); + i = 0; + while (true) { + arrayList = (ArrayList) b2; + if (i < arrayList.size()) { + } + i++; + } + } + } else if (str2.equals("i")) { + c2 = 3; + switch (c2) { + } + b2 = b(list2, str, cVar); + i = 0; + while (true) { + arrayList = (ArrayList) b2; + if (i < arrayList.size()) { + } + i++; + } + } + } else if (str2.equals("")) { + c2 = 0; + switch (c2) { + } + b2 = b(list2, str, cVar); + i = 0; + while (true) { + arrayList = (ArrayList) b2; + if (i < arrayList.size()) { + } + i++; + } + } + c2 = 65535; + switch (c2) { + } + b2 = b(list2, str, cVar); + i = 0; + while (true) { + arrayList = (ArrayList) b2; + if (i < arrayList.size()) { + } + i++; + } + } + + /* JADX DEBUG: Multi-variable search result rejected for r4v6, resolved type: boolean */ + /* JADX WARN: Multi-variable type inference failed */ + public static List b(List list, @Nullable String str, c cVar) { + int i; + ArrayList arrayList = new ArrayList(); + for (int i2 = 0; i2 < list.size(); i2++) { + f fVar = list.get(i2); + String str2 = cVar.a; + Set set = cVar.d; + String str3 = cVar.f724c; + if (!fVar.a.isEmpty() || !fVar.b.isEmpty() || !fVar.f720c.isEmpty() || !fVar.d.isEmpty()) { + int b2 = f.b(f.b(f.b(0, fVar.a, str, BasicMeasure.EXACTLY), fVar.b, str2, 2), fVar.d, str3, 4); + i = (b2 == -1 || !set.containsAll(fVar.f720c)) ? 0 : b2 + (fVar.f720c.size() * 4); + } else { + i = TextUtils.isEmpty(str2); + } + if (i > 0) { + arrayList.add(new d(i == 1 ? 1 : 0, fVar)); + } + } + Collections.sort(arrayList); + return arrayList; + } + + public static int c(List list, @Nullable String str, c cVar) { + List b2 = b(list, str, cVar); + int i = 0; + while (true) { + ArrayList arrayList = (ArrayList) b2; + if (i >= arrayList.size()) { + return -1; + } + int i2 = ((d) arrayList.get(i)).j.p; + if (i2 != -1) { + return i2; + } + i++; + } + } + + @Nullable + public static g d(@Nullable String str, Matcher matcher, x xVar, List list) { + e eVar = new e(); + try { + String group = matcher.group(1); + Objects.requireNonNull(group); + eVar.a = j.b(group); + String group2 = matcher.group(2); + Objects.requireNonNull(group2); + eVar.b = j.b(group2); + String group3 = matcher.group(3); + Objects.requireNonNull(group3); + e(group3, eVar); + StringBuilder sb = new StringBuilder(); + String g = xVar.g(); + while (!TextUtils.isEmpty(g)) { + if (sb.length() > 0) { + sb.append("\n"); + } + sb.append(g.trim()); + g = xVar.g(); + } + eVar.f725c = f(str, sb.toString(), list); + return new g(eVar.a().a(), eVar.a, eVar.b); + } catch (NumberFormatException unused) { + String valueOf = String.valueOf(matcher.group()); + Log.w("WebvttCueParser", valueOf.length() != 0 ? "Skipping cue with bad header: ".concat(valueOf) : new String("Skipping cue with bad header: ")); + return null; + } + } + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + public static void e(String str, e eVar) { + Matcher matcher = b.matcher(str); + while (matcher.find()) { + int i = 1; + String group = matcher.group(1); + Objects.requireNonNull(group); + String group2 = matcher.group(2); + Objects.requireNonNull(group2); + try { + if ("line".equals(group)) { + g(group2, eVar); + } else if ("align".equals(group)) { + char c2 = 65535; + switch (group2.hashCode()) { + case -1364013995: + if (group2.equals("center")) { + c2 = 0; + break; + } + break; + case -1074341483: + if (group2.equals("middle")) { + c2 = 1; + break; + } + break; + case 100571: + if (group2.equals("end")) { + c2 = 2; + break; + } + break; + case 3317767: + if (group2.equals("left")) { + c2 = 3; + break; + } + break; + case 108511772: + if (group2.equals("right")) { + c2 = 4; + break; + } + break; + case 109757538: + if (group2.equals("start")) { + c2 = 5; + break; + } + break; + } + switch (c2) { + case 0: + case 1: + i = 2; + break; + case 2: + i = 3; + break; + case 3: + i = 4; + break; + case 4: + i = 5; + break; + case 5: + break; + default: + Log.w("WebvttCueParser", group2.length() != 0 ? "Invalid alignment value: ".concat(group2) : new String("Invalid alignment value: ")); + i = 2; + break; + } + eVar.d = i; + } else if (ModelAuditLogEntry.CHANGE_KEY_POSITION.equals(group)) { + h(group2, eVar); + } else if ("size".equals(group)) { + eVar.j = j.a(group2); + } else if ("vertical".equals(group)) { + if (group2.equals("lr")) { + i = 2; + } else if (!group2.equals("rl")) { + Log.w("WebvttCueParser", group2.length() != 0 ? "Invalid 'vertical' value: ".concat(group2) : new String("Invalid 'vertical' value: ")); + i = Integer.MIN_VALUE; + } + eVar.k = i; + } else { + StringBuilder sb = new StringBuilder(group.length() + 21 + group2.length()); + sb.append("Unknown cue setting "); + sb.append(group); + sb.append(":"); + sb.append(group2); + Log.w("WebvttCueParser", sb.toString()); + } + } catch (NumberFormatException unused) { + String valueOf = String.valueOf(matcher.group()); + Log.w("WebvttCueParser", valueOf.length() != 0 ? "Skipping bad cue setting: ".concat(valueOf) : new String("Skipping bad cue setting: ")); + } + } + } + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + public static SpannedString f(@Nullable String str, String str2, List list) { + char c2; + boolean z2; + SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(); + ArrayDeque arrayDeque = new ArrayDeque(); + ArrayList arrayList = new ArrayList(); + int i = 0; + int i2 = 0; + while (true) { + String str3 = ""; + if (i2 < str2.length()) { + char charAt = str2.charAt(i2); + if (charAt == '&') { + i2++; + int indexOf = str2.indexOf(59, i2); + int indexOf2 = str2.indexOf(32, i2); + if (indexOf == -1) { + indexOf = indexOf2; + } else if (indexOf2 != -1) { + indexOf = Math.min(indexOf, indexOf2); + } + if (indexOf != -1) { + String substring = str2.substring(i2, indexOf); + substring.hashCode(); + substring.hashCode(); + char c3 = 65535; + switch (substring.hashCode()) { + case 3309: + if (substring.equals("gt")) { + c3 = 0; + break; + } + break; + case 3464: + if (substring.equals("lt")) { + c3 = 1; + break; + } + break; + case 96708: + if (substring.equals("amp")) { + c3 = 2; + break; + } + break; + case 3374865: + if (substring.equals("nbsp")) { + c3 = 3; + break; + } + break; + } + switch (c3) { + case 0: + spannableStringBuilder.append('>'); + break; + case 1: + spannableStringBuilder.append('<'); + break; + case 2: + spannableStringBuilder.append('&'); + break; + case 3: + spannableStringBuilder.append(' '); + break; + default: + c.d.b.a.a.g0(substring.length() + 33, "ignoring unsupported entity: '&", substring, ";'", "WebvttCueParser"); + break; + } + if (indexOf == indexOf2) { + spannableStringBuilder.append((CharSequence) " "); + } + i2 = indexOf + 1; + } else { + spannableStringBuilder.append(charAt); + } + } else if (charAt != '<') { + spannableStringBuilder.append(charAt); + i2++; + } else { + int i3 = i2 + 1; + if (i3 < str2.length()) { + boolean z3 = str2.charAt(i3) == '/'; + int indexOf3 = str2.indexOf(62, i3); + i3 = indexOf3 == -1 ? str2.length() : indexOf3 + 1; + int i4 = i3 - 2; + boolean z4 = str2.charAt(i4) == '/'; + int i5 = i2 + (z3 ? 2 : 1); + if (!z4) { + i4 = i3 - 1; + } + String substring2 = str2.substring(i5, i4); + if (!substring2.trim().isEmpty()) { + String trim = substring2.trim(); + c.c.a.a0.d.j(!trim.isEmpty()); + int i6 = e0.a; + String str4 = trim.split("[ \\.]", 2)[i]; + str4.hashCode(); + switch (str4.hashCode()) { + case 98: + if (str4.equals("b")) { + c2 = 0; + break; + } + c2 = 65535; + break; + case 99: + if (str4.equals("c")) { + c2 = 1; + break; + } + c2 = 65535; + break; + case 105: + if (str4.equals("i")) { + c2 = 2; + break; + } + c2 = 65535; + break; + case 117: + if (str4.equals("u")) { + c2 = 3; + break; + } + c2 = 65535; + break; + case 118: + if (str4.equals("v")) { + c2 = 4; + break; + } + c2 = 65535; + break; + case 3650: + if (str4.equals("rt")) { + c2 = 5; + break; + } + c2 = 65535; + break; + case 3314158: + if (str4.equals("lang")) { + c2 = 6; + break; + } + c2 = 65535; + break; + case 3511770: + if (str4.equals("ruby")) { + c2 = 7; + break; + } + c2 = 65535; + break; + default: + c2 = 65535; + break; + } + switch (c2) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + z2 = true; + break; + default: + z2 = false; + break; + } + if (z2) { + if (z3) { + while (!arrayDeque.isEmpty()) { + c cVar = (c) arrayDeque.pop(); + a(str, cVar, arrayList, spannableStringBuilder, list); + if (!arrayDeque.isEmpty()) { + arrayList.add(new b(cVar, spannableStringBuilder.length(), null)); + } else { + arrayList.clear(); + } + if (cVar.a.equals(str4)) { + } + } + } else if (!z4) { + int length = spannableStringBuilder.length(); + String trim2 = substring2.trim(); + c.c.a.a0.d.j(!trim2.isEmpty()); + int indexOf4 = trim2.indexOf(" "); + if (indexOf4 != -1) { + str3 = trim2.substring(indexOf4).trim(); + trim2 = trim2.substring(i, indexOf4); + } + String[] H = e0.H(trim2, "\\."); + String str5 = H[i]; + HashSet hashSet = new HashSet(); + for (int i7 = 1; i7 < H.length; i7++) { + hashSet.add(H[i7]); + } + arrayDeque.push(new c(str5, length, str3, hashSet)); + } + } + } + i2 = i3; + } + i2 = i3; + } + i = 0; + } else { + while (!arrayDeque.isEmpty()) { + a(str, (c) arrayDeque.pop(), arrayList, spannableStringBuilder, list); + } + a(str, new c(str3, 0, str3, Collections.emptySet()), Collections.emptyList(), spannableStringBuilder, list); + return SpannedString.valueOf(spannableStringBuilder); + } + } + } + + public static void g(String str, e eVar) { + int indexOf = str.indexOf(44); + char c2 = 65535; + if (indexOf != -1) { + String substring = str.substring(indexOf + 1); + substring.hashCode(); + int i = 2; + switch (substring.hashCode()) { + case -1364013995: + if (substring.equals("center")) { + c2 = 0; + break; + } + break; + case -1074341483: + if (substring.equals("middle")) { + c2 = 1; + break; + } + break; + case 100571: + if (substring.equals("end")) { + c2 = 2; + break; + } + break; + case 109757538: + if (substring.equals("start")) { + c2 = 3; + break; + } + break; + } + switch (c2) { + case 0: + case 1: + i = 1; + break; + case 2: + break; + case 3: + i = 0; + break; + default: + Log.w("WebvttCueParser", substring.length() != 0 ? "Invalid anchor value: ".concat(substring) : new String("Invalid anchor value: ")); + i = Integer.MIN_VALUE; + break; + } + eVar.g = i; + str = str.substring(0, indexOf); + } + if (str.endsWith("%")) { + eVar.e = j.a(str); + eVar.f = 0; + return; + } + eVar.e = (float) Integer.parseInt(str); + eVar.f = 1; + } + + public static void h(String str, e eVar) { + int indexOf = str.indexOf(44); + char c2 = 65535; + if (indexOf != -1) { + String substring = str.substring(indexOf + 1); + substring.hashCode(); + int i = 2; + switch (substring.hashCode()) { + case -1842484672: + if (substring.equals("line-left")) { + c2 = 0; + break; + } + break; + case -1364013995: + if (substring.equals("center")) { + c2 = 1; + break; + } + break; + case -1276788989: + if (substring.equals("line-right")) { + c2 = 2; + break; + } + break; + case -1074341483: + if (substring.equals("middle")) { + c2 = 3; + break; + } + break; + case 100571: + if (substring.equals("end")) { + c2 = 4; + break; + } + break; + case 109757538: + if (substring.equals("start")) { + c2 = 5; + break; + } + break; + } + switch (c2) { + case 0: + case 5: + i = 0; + break; + case 1: + case 3: + i = 1; + break; + case 2: + case 4: + break; + default: + Log.w("WebvttCueParser", substring.length() != 0 ? "Invalid anchor value: ".concat(substring) : new String("Invalid anchor value: ")); + i = Integer.MIN_VALUE; + break; + } + eVar.i = i; + str = str.substring(0, indexOf); + } + eVar.h = j.a(str); + } +} diff --git a/app/src/main/java/c/i/a/c/b3/v/i.java b/app/src/main/java/c/i/a/c/b3/v/i.java new file mode 100644 index 0000000000..1e348b5ed1 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/v/i.java @@ -0,0 +1,342 @@ +package c.i.a.c.b3.v; + +import android.text.TextUtils; +import c.c.a.a0.d; +import c.d.b.a.a; +import c.i.a.c.b3.f; +import c.i.a.c.b3.g; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import com.discord.models.domain.ModelAuditLogEntry; +import com.google.android.exoplayer2.ParserException; +import com.google.android.exoplayer2.text.SubtitleDecoderException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +/* compiled from: WebvttDecoder */ +public final class i extends f { + public final x n = new x(); + public final e o = new e(); + + public i() { + super("WebvttDecoder"); + } + + /* JADX WARNING: Code restructure failed: missing block: B:53:0x010d, code lost: + if (")".equals(c.i.a.c.b3.v.e.b(r8, r9)) == false) goto L_0x010f; + */ + /* JADX WARNING: Removed duplicated region for block: B:176:0x0351 */ + /* JADX WARNING: Removed duplicated region for block: B:184:0x0364 */ + /* JADX WARNING: Unknown variable types count: 1 */ + @Override // c.i.a.c.b3.f + public g j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException { + ArrayList arrayList; + g gVar; + String str; + e eVar; + String str2; + String sb; + char c2; + int i2; + x xVar = this.n; + xVar.a = bArr; + xVar.f792c = i; + int i3 = 0; + xVar.b = 0; + ArrayList arrayList2 = new ArrayList(); + try { + j.c(this.n); + do { + } while (!TextUtils.isEmpty(this.n.g())); + arrayList = new ArrayList(); + } catch (ParserException e) { + throw new SubtitleDecoderException(e); + } + while (true) { + x xVar2 = this.n; + int i4 = -1; + ?? r7 = 1; + char c3 = 65535; + int i5 = 0; + while (c3 == 65535) { + i5 = xVar2.b; + String g = xVar2.g(); + c3 = g == null ? 0 : "STYLE".equals(g) ? 2 : g.startsWith("NOTE") ? (char) 1 : 3; + } + xVar2.E(i5); + if (c3 == 0) { + return new k(arrayList); + } + if (c3 == 1) { + do { + } while (!TextUtils.isEmpty(this.n.g())); + } else { + if (c3 == 2) { + if (arrayList.isEmpty()) { + this.n.g(); + e eVar2 = this.o; + x xVar3 = this.n; + eVar2.d.setLength(i3); + int i6 = xVar3.b; + do { + } while (!TextUtils.isEmpty(xVar3.g())); + eVar2.f719c.C(xVar3.a, xVar3.b); + eVar2.f719c.E(i6); + ArrayList arrayList3 = new ArrayList(); + while (true) { + x xVar4 = eVar2.f719c; + StringBuilder sb2 = eVar2.d; + e.c(xVar4); + if (xVar4.a() >= 5 && "::cue".equals(xVar4.q(5))) { + int i7 = xVar4.b; + String b = e.b(xVar4, sb2); + if (b != null) { + if ("{".equals(b)) { + xVar4.E(i7); + str = ""; + } else if ("(".equals(b)) { + int i8 = xVar4.b; + int i9 = xVar4.f792c; + boolean z3 = false; + while (i8 < i9 && !z3) { + int i10 = i8 + 1; + z3 = ((char) xVar4.a[i8]) == ')'; + i8 = i10; + } + str = xVar4.q((i8 - 1) - xVar4.b).trim(); + } else { + str = null; + } + if (str == null || !"{".equals(e.b(eVar2.f719c, eVar2.d))) { + break; + } + f fVar = new f(); + if (!"".equals(str)) { + int indexOf = str.indexOf(91); + if (indexOf != i4) { + Matcher matcher = e.a.matcher(str.substring(indexOf)); + if (matcher.matches()) { + String group = matcher.group((int) r7); + Objects.requireNonNull(group); + fVar.d = group; + } + str = str.substring(i3, indexOf); + } + String[] H = e0.H(str, "\\."); + String str3 = H[i3]; + int indexOf2 = str3.indexOf(35); + if (indexOf2 != i4) { + fVar.b = str3.substring(i3, indexOf2); + fVar.a = str3.substring(indexOf2 + 1); + } else { + fVar.b = str3; + } + if (H.length > r7) { + int length = H.length; + d.j(r7); + d.j(length <= H.length); + int i11 = r7 == true ? 1 : 0; + int i12 = r7 == true ? 1 : 0; + int i13 = r7 == true ? 1 : 0; + fVar.f720c = new HashSet(Arrays.asList((String[]) Arrays.copyOfRange(H, i11, length))); + } + } + boolean z4 = false; + String str4 = null; + while (!z4) { + x xVar5 = eVar2.f719c; + int i14 = xVar5.b; + String b2 = e.b(xVar5, eVar2.d); + boolean z5 = b2 == null || "}".equals(b2); + if (!z5) { + eVar2.f719c.E(i14); + x xVar6 = eVar2.f719c; + StringBuilder sb3 = eVar2.d; + e.c(xVar6); + String a = e.a(xVar6, sb3); + if (!"".equals(a) && ":".equals(e.b(xVar6, sb3))) { + e.c(xVar6); + StringBuilder sb4 = new StringBuilder(); + boolean z6 = false; + while (true) { + if (z6) { + str2 = b2; + eVar = eVar2; + sb = sb4.toString(); + break; + } + str2 = b2; + int i15 = xVar6.b; + eVar = eVar2; + String b3 = e.b(xVar6, sb3); + if (b3 == null) { + sb = null; + break; + } + if ("}".equals(b3) || ";".equals(b3)) { + xVar6.E(i15); + z6 = true; + } else { + sb4.append(b3); + } + b2 = str2; + eVar2 = eVar; + } + if (sb != null && !"".equals(sb)) { + int i16 = xVar6.b; + String b4 = e.b(xVar6, sb3); + if (!";".equals(b4)) { + if ("}".equals(b4)) { + xVar6.E(i16); + } else { + continue; + } + } + if (ModelAuditLogEntry.CHANGE_KEY_COLOR.equals(a)) { + fVar.f = c.i.a.c.f3.i.a(sb, true); + fVar.g = true; + } else if ("background-color".equals(a)) { + fVar.h = c.i.a.c.f3.i.a(sb, true); + fVar.i = true; + } else if ("ruby-position".equals(a)) { + if ("over".equals(sb)) { + fVar.p = 1; + } else if ("under".equals(sb)) { + fVar.p = 2; + } + } else if ("text-combine-upright".equals(a)) { + fVar.q = "all".equals(sb) || sb.startsWith("digits"); + } else if ("text-decoration".equals(a)) { + if ("underline".equals(sb)) { + fVar.k = 1; + } + } else if ("font-family".equals(a)) { + fVar.e = c.i.a.f.e.o.f.d1(sb); + } else if ("font-weight".equals(a)) { + if ("bold".equals(sb)) { + fVar.l = 1; + } + } else if ("font-style".equals(a)) { + if ("italic".equals(sb)) { + fVar.m = 1; + } + } else if ("font-size".equals(a)) { + Matcher matcher2 = e.b.matcher(c.i.a.f.e.o.f.d1(sb)); + if (!matcher2.matches()) { + a.g0(sb.length() + 22, "Invalid font-size: '", sb, "'.", "WebvttCssParser"); + } else { + String group2 = matcher2.group(2); + Objects.requireNonNull(group2); + int hashCode = group2.hashCode(); + if (hashCode != 37) { + if (hashCode != 3240) { + if (hashCode == 3592 && group2.equals("px")) { + c2 = 2; + if (c2 == 0) { + i2 = 1; + if (c2 == 1) { + fVar.n = 2; + } else if (c2 == 2) { + fVar.n = 1; + } else { + throw new IllegalStateException(); + } + } else { + i2 = 1; + fVar.n = 3; + } + String group3 = matcher2.group(i2); + Objects.requireNonNull(group3); + fVar.o = Float.parseFloat(group3); + } + } else if (group2.equals("em")) { + c2 = 1; + if (c2 == 0) { + } + String group3 = matcher2.group(i2); + Objects.requireNonNull(group3); + fVar.o = Float.parseFloat(group3); + } + } else if (group2.equals("%")) { + c2 = 0; + if (c2 == 0) { + } + String group3 = matcher2.group(i2); + Objects.requireNonNull(group3); + fVar.o = Float.parseFloat(group3); + } + c2 = 65535; + if (c2 == 0) { + } + String group3 = matcher2.group(i2); + Objects.requireNonNull(group3); + fVar.o = Float.parseFloat(group3); + } + } else { + continue; + } + } + str4 = str2; + eVar2 = eVar; + z4 = z5; + } + } + str2 = b2; + eVar = eVar2; + str4 = str2; + eVar2 = eVar; + z4 = z5; + } + if ("}".equals(str4)) { + arrayList3.add(fVar); + } + i3 = 0; + i4 = -1; + r7 = 1; + eVar2 = eVar2; + } + } + str = null; + if (str == null) { + break; + } + break; + } + arrayList2.addAll(arrayList3); + } else { + throw new SubtitleDecoderException("A style block was found after the first cue."); + } + } else if (c3 == 3) { + x xVar7 = this.n; + Pattern pattern = h.a; + String g2 = xVar7.g(); + if (g2 == null) { + gVar = null; + } else { + Pattern pattern2 = h.a; + Matcher matcher3 = pattern2.matcher(g2); + if (matcher3.matches()) { + gVar = h.d(null, matcher3, xVar7, arrayList2); + } else { + String g3 = xVar7.g(); + if (g3 != null) { + Matcher matcher4 = pattern2.matcher(g3); + if (matcher4.matches()) { + gVar = h.d(g2.trim(), matcher4, xVar7, arrayList2); + } + } + gVar = null; + } + } + if (gVar != null) { + arrayList.add(gVar); + } + } + i3 = 0; + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/b3/v/j.java b/app/src/main/java/c/i/a/c/b3/v/j.java new file mode 100644 index 0000000000..71672a2fc3 --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/v/j.java @@ -0,0 +1,43 @@ +package c.i.a.c.b3.v; + +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import com.google.android.exoplayer2.ParserException; +import java.util.regex.Pattern; +/* compiled from: WebvttParserUtil */ +public final class j { + static { + Pattern.compile("^NOTE([ \t].*)?$"); + } + + public static float a(String str) throws NumberFormatException { + if (str.endsWith("%")) { + return Float.parseFloat(str.substring(0, str.length() - 1)) / 100.0f; + } + throw new NumberFormatException("Percentages must end with %"); + } + + public static long b(String str) throws NumberFormatException { + int i = e0.a; + String[] split = str.split("\\.", 2); + long j = 0; + for (String str2 : e0.H(split[0], ":")) { + j = (j * 60) + Long.parseLong(str2); + } + long j2 = j * 1000; + if (split.length == 2) { + j2 += Long.parseLong(split[1]); + } + return j2 * 1000; + } + + public static void c(x xVar) throws ParserException { + int i = xVar.b; + String g = xVar.g(); + if (!(g != null && g.startsWith("WEBVTT"))) { + xVar.E(i); + String valueOf = String.valueOf(xVar.g()); + throw ParserException.a(valueOf.length() != 0 ? "Expected WEBVTT. Got ".concat(valueOf) : new String("Expected WEBVTT. Got "), null); + } + } +} diff --git a/app/src/main/java/c/i/a/c/b3/v/k.java b/app/src/main/java/c/i/a/c/b3/v/k.java new file mode 100644 index 0000000000..982f22da4c --- /dev/null +++ b/app/src/main/java/c/i/a/c/b3/v/k.java @@ -0,0 +1,84 @@ +package c.i.a.c.b3.v; + +import c.c.a.a0.d; +import c.i.a.c.b3.b; +import c.i.a.c.b3.g; +import c.i.a.c.f3.e0; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +/* compiled from: WebvttSubtitle */ +public final class k implements g { + public final List i; + public final long[] j; + public final long[] k; + + public k(List list) { + this.i = Collections.unmodifiableList(new ArrayList(list)); + this.j = new long[(list.size() * 2)]; + for (int i = 0; i < list.size(); i++) { + g gVar = list.get(i); + int i2 = i * 2; + long[] jArr = this.j; + jArr[i2] = gVar.b; + jArr[i2 + 1] = gVar.f721c; + } + long[] jArr2 = this.j; + long[] copyOf = Arrays.copyOf(jArr2, jArr2.length); + this.k = copyOf; + Arrays.sort(copyOf); + } + + @Override // c.i.a.c.b3.g + public int f(long j) { + int b = e0.b(this.k, j, false, false); + if (b < this.k.length) { + return b; + } + return -1; + } + + @Override // c.i.a.c.b3.g + public long g(int i) { + boolean z2 = true; + d.j(i >= 0); + if (i >= this.k.length) { + z2 = false; + } + d.j(z2); + return this.k[i]; + } + + @Override // c.i.a.c.b3.g + public List h(long j) { + ArrayList arrayList = new ArrayList(); + ArrayList arrayList2 = new ArrayList(); + for (int i = 0; i < this.i.size(); i++) { + long[] jArr = this.j; + int i2 = i * 2; + if (jArr[i2] <= j && j < jArr[i2 + 1]) { + g gVar = this.i.get(i); + b bVar = gVar.a; + if (bVar.o == -3.4028235E38f) { + arrayList2.add(gVar); + } else { + arrayList.add(bVar); + } + } + } + Collections.sort(arrayList2, b.i); + for (int i3 = 0; i3 < arrayList2.size(); i3++) { + b.C0086b a = ((g) arrayList2.get(i3)).a.a(); + a.e = (float) (-1 - i3); + a.f = 1; + arrayList.add(a.a()); + } + return arrayList; + } + + @Override // c.i.a.c.b3.g + public int i() { + return this.k.length; + } +} diff --git a/app/src/main/java/c/i/a/c/c.java b/app/src/main/java/c/i/a/c/c.java index 831d31972f..63d83d3abe 100644 --- a/app/src/main/java/c/i/a/c/c.java +++ b/app/src/main/java/c/i/a/c/c.java @@ -1,20 +1,47 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import c.d.b.a.a; +import c.i.a.c.t0; +import c.i.a.c.t2.o; +import java.util.Objects; /* compiled from: lambda */ -public final /* synthetic */ class c implements o.a { - public final /* synthetic */ c1 a; - public final /* synthetic */ int b; +public final /* synthetic */ class c implements Runnable { + public final /* synthetic */ t0.a i; + public final /* synthetic */ int j; - public /* synthetic */ c(c1 c1Var, int i) { - this.a = c1Var; - this.b = i; + public /* synthetic */ c(t0.a aVar, int i) { + this.i = aVar; + this.j = i; } - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - c1 c1Var = this.a; - ((g1.a) obj).p(c1Var.b, this.b); + @Override // java.lang.Runnable + public final void run() { + t0.a aVar = this.i; + int i = this.j; + t0 t0Var = t0.this; + Objects.requireNonNull(t0Var); + boolean z2 = true; + if (i == -3 || i == -2) { + if (i != -2) { + o oVar = t0Var.d; + if (oVar == null || oVar.j != 1) { + z2 = false; + } + if (!z2) { + t0Var.d(3); + return; + } + } + t0Var.b(0); + t0Var.d(2); + } else if (i == -1) { + t0Var.b(-1); + t0Var.a(); + } else if (i != 1) { + a.d0(38, "Unknown focus change type: ", i, "AudioFocusManager"); + } else { + t0Var.d(1); + t0Var.b(1); + } } } diff --git a/app/src/main/java/c/i/a/c/c0.java b/app/src/main/java/c/i/a/c/c0.java index db0c2246cc..1072c62b32 100644 --- a/app/src/main/java/c/i/a/c/c0.java +++ b/app/src/main/java/c/i/a/c/c0.java @@ -1,226 +1,71 @@ package c.i.a.c; -import android.util.Pair; -import c.i.a.c.d2.h0; -import c.i.a.c.i2.f0; -import c.i.a.c.r1; -import java.util.Objects; -/* compiled from: AbstractConcatenatedTimeline */ -public abstract class c0 extends r1 { - public final int b; +import c.c.a.a0.d; +import c.i.a.c.h1; +import java.util.Arrays; +import java.util.List; +/* compiled from: lambda */ +public final /* synthetic */ class c0 implements Runnable { + public final /* synthetic */ f1 i; + public final /* synthetic */ h1.d j; - /* renamed from: c reason: collision with root package name */ - public final h0 f821c; - public final boolean d; - - public c0(boolean z2, h0 h0Var) { - this.d = z2; - this.f821c = h0Var; - this.b = h0Var.b(); + public /* synthetic */ c0(f1 f1Var, h1.d dVar) { + this.i = f1Var; + this.j = dVar; } - @Override // c.i.a.c.r1 - public int a(boolean z2) { - if (this.b == 0) { - return -1; + @Override // java.lang.Runnable + public final void run() { + long j; + boolean z2; + long j2; + f1 f1Var = this.i; + h1.d dVar = this.j; + int i = f1Var.f777x - dVar.f816c; + f1Var.f777x = i; + boolean z3 = true; + if (dVar.d) { + f1Var.f778y = dVar.e; + f1Var.f779z = true; } - int i = 0; - if (this.d) { - z2 = false; + if (dVar.f) { + f1Var.A = dVar.g; } - if (z2) { - i = this.f821c.c(); - } - do { - i1 i1Var = (i1) this; - if (i1Var.i[i].q()) { - i = r(i, z2); - } else { - return i1Var.i[i].a(z2) + i1Var.h[i]; - } - } while (i != -1); - return -1; - } - - @Override // c.i.a.c.r1 - public final int b(Object obj) { - int b; - if (!(obj instanceof Pair)) { - return -1; - } - Pair pair = (Pair) obj; - Object obj2 = pair.first; - Object obj3 = pair.second; - i1 i1Var = (i1) this; - Integer num = i1Var.k.get(obj2); - int intValue = num == null ? -1 : num.intValue(); - if (intValue == -1 || (b = i1Var.i[intValue].b(obj3)) == -1) { - return -1; - } - return i1Var.g[intValue] + b; - } - - @Override // c.i.a.c.r1 - public int c(boolean z2) { - int i = this.b; if (i == 0) { - return -1; - } - if (this.d) { - z2 = false; - } - int g = z2 ? this.f821c.g() : i - 1; - do { - i1 i1Var = (i1) this; - if (i1Var.i[g].q()) { - g = s(g, z2); + o2 o2Var = dVar.b.b; + if (!f1Var.F.b.q() && o2Var.q()) { + f1Var.G = -1; + f1Var.H = 0; + } + if (!o2Var.q()) { + List asList = Arrays.asList(((c2) o2Var).q); + d.D(asList.size() == f1Var.m.size()); + for (int i2 = 0; i2 < asList.size(); i2++) { + f1Var.m.get(i2).b = (o2) asList.get(i2); + } + } + long j3 = -9223372036854775807L; + if (f1Var.f779z) { + if (dVar.b.f911c.equals(f1Var.F.f911c) && dVar.b.e == f1Var.F.t) { + z3 = false; + } + if (z3) { + if (o2Var.q() || dVar.b.f911c.a()) { + j2 = dVar.b.e; + } else { + w1 w1Var = dVar.b; + j2 = f1Var.m0(o2Var, w1Var.f911c, w1Var.e); + } + j3 = j2; + } + j = j3; + z2 = z3; } else { - return i1Var.i[g].c(z2) + i1Var.h[g]; + j = -9223372036854775807L; + z2 = false; } - } while (g != -1); - return -1; - } - - @Override // c.i.a.c.r1 - public int e(int i, int i2, boolean z2) { - int i3 = 0; - if (this.d) { - if (i2 == 1) { - i2 = 2; - } - z2 = false; + f1Var.f779z = false; + f1Var.s0(dVar.b, 1, f1Var.A, false, z2, f1Var.f778y, j, -1); } - i1 i1Var = (i1) this; - int d = f0.d(i1Var.h, i + 1, false, false); - int i4 = i1Var.h[d]; - r1 r1Var = i1Var.i[d]; - int i5 = i - i4; - if (i2 != 2) { - i3 = i2; - } - int e = r1Var.e(i5, i3, z2); - if (e != -1) { - return i4 + e; - } - int r2 = r(d, z2); - while (r2 != -1 && i1Var.i[r2].q()) { - r2 = r(r2, z2); - } - if (r2 != -1) { - return i1Var.i[r2].a(z2) + i1Var.h[r2]; - } else if (i2 == 2) { - return a(z2); - } else { - return -1; - } - } - - @Override // c.i.a.c.r1 - public final r1.b g(int i, r1.b bVar, boolean z2) { - i1 i1Var = (i1) this; - int d = f0.d(i1Var.g, i + 1, false, false); - int i2 = i1Var.h[d]; - i1Var.i[d].g(i - i1Var.g[d], bVar, z2); - bVar.f1017c += i2; - if (z2) { - Object obj = i1Var.j[d]; - Object obj2 = bVar.b; - Objects.requireNonNull(obj2); - bVar.b = Pair.create(obj, obj2); - } - return bVar; - } - - @Override // c.i.a.c.r1 - public final r1.b h(Object obj, r1.b bVar) { - Pair pair = (Pair) obj; - Object obj2 = pair.first; - Object obj3 = pair.second; - i1 i1Var = (i1) this; - Integer num = i1Var.k.get(obj2); - int intValue = num == null ? -1 : num.intValue(); - int i = i1Var.h[intValue]; - i1Var.i[intValue].h(obj3, bVar); - bVar.f1017c += i; - bVar.b = obj; - return bVar; - } - - @Override // c.i.a.c.r1 - public int l(int i, int i2, boolean z2) { - int i3 = 0; - if (this.d) { - if (i2 == 1) { - i2 = 2; - } - z2 = false; - } - i1 i1Var = (i1) this; - int d = f0.d(i1Var.h, i + 1, false, false); - int i4 = i1Var.h[d]; - r1 r1Var = i1Var.i[d]; - int i5 = i - i4; - if (i2 != 2) { - i3 = i2; - } - int l = r1Var.l(i5, i3, z2); - if (l != -1) { - return i4 + l; - } - int s = s(d, z2); - while (s != -1 && i1Var.i[s].q()) { - s = s(s, z2); - } - if (s != -1) { - return i1Var.i[s].c(z2) + i1Var.h[s]; - } else if (i2 == 2) { - return c(z2); - } else { - return -1; - } - } - - @Override // c.i.a.c.r1 - public final Object m(int i) { - i1 i1Var = (i1) this; - int d = f0.d(i1Var.g, i + 1, false, false); - return Pair.create(i1Var.j[d], i1Var.i[d].m(i - i1Var.g[d])); - } - - @Override // c.i.a.c.r1 - public final r1.c o(int i, r1.c cVar, long j) { - i1 i1Var = (i1) this; - int d = f0.d(i1Var.h, i + 1, false, false); - int i2 = i1Var.h[d]; - int i3 = i1Var.g[d]; - i1Var.i[d].o(i - i2, cVar, j); - Object obj = i1Var.j[d]; - if (!r1.c.a.equals(cVar.f1018c)) { - obj = Pair.create(obj, cVar.f1018c); - } - cVar.f1018c = obj; - cVar.o += i3; - cVar.p += i3; - return cVar; - } - - public final int r(int i, boolean z2) { - if (z2) { - return this.f821c.e(i); - } - if (i < this.b - 1) { - return i + 1; - } - return -1; - } - - public final int s(int i, boolean z2) { - if (z2) { - return this.f821c.d(i); - } - if (i > 0) { - return i - 1; - } - return -1; } } diff --git a/app/src/main/java/c/i/a/c/c1.java b/app/src/main/java/c/i/a/c/c1.java index 7be0b0d3ae..8433fe578f 100644 --- a/app/src/main/java/c/i/a/c/c1.java +++ b/app/src/main/java/c/i/a/c/c1.java @@ -1,109 +1,30 @@ package c.i.a.c; -import androidx.annotation.CheckResult; import androidx.annotation.Nullable; -import c.i.a.c.d2.y; -import c.i.a.c.f2.m; -import c.i.b.b.a; -import c.i.b.b.q0; -import c.i.b.b.u; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.source.TrackGroupArray; -import java.util.List; -/* compiled from: PlaybackInfo */ -public final class c1 { - public static final y.a a = new y.a(new Object()); - public final r1 b; +/* compiled from: DeviceInfo */ +public final class c1 implements w0 { + public final int i; + public final int j; + public final int k; - /* renamed from: c reason: collision with root package name */ - public final y.a f822c; - public final long d; - public final int e; - @Nullable - public final ExoPlaybackException f; - public final boolean g; - public final TrackGroupArray h; - public final m i; - public final List j; - public final y.a k; - public final boolean l; - public final int m; - public final d1 n; - public final boolean o; - public final boolean p; - public volatile long q; - - /* renamed from: r reason: collision with root package name */ - public volatile long f823r; - public volatile long s; - - public c1(r1 r1Var, y.a aVar, long j, int i, @Nullable ExoPlaybackException exoPlaybackException, boolean z2, TrackGroupArray trackGroupArray, m mVar, List list, y.a aVar2, boolean z3, int i2, d1 d1Var, long j2, long j3, long j4, boolean z4, boolean z5) { - this.b = r1Var; - this.f822c = aVar; - this.d = j; - this.e = i; - this.f = exoPlaybackException; - this.g = z2; - this.h = trackGroupArray; - this.i = mVar; - this.j = list; - this.k = aVar2; - this.l = z3; - this.m = i2; - this.n = d1Var; - this.q = j2; - this.f823r = j3; - this.s = j4; - this.o = z4; - this.p = z5; + public c1(int i, int i2, int i3) { + this.i = i; + this.j = i2; + this.k = i3; } - public static c1 i(m mVar) { - r1 r1Var = r1.a; - y.a aVar = a; - TrackGroupArray trackGroupArray = TrackGroupArray.i; - a aVar2 = u.j; - return new c1(r1Var, aVar, -9223372036854775807L, 1, null, false, trackGroupArray, mVar, q0.k, aVar, false, 0, d1.a, 0, 0, 0, false, false); + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof c1)) { + return false; + } + c1 c1Var = (c1) obj; + return this.i == c1Var.i && this.j == c1Var.j && this.k == c1Var.k; } - @CheckResult - public c1 a(y.a aVar) { - return new c1(this.b, this.f822c, this.d, this.e, this.f, this.g, this.h, this.i, this.j, aVar, this.l, this.m, this.n, this.q, this.f823r, this.s, this.o, this.p); - } - - @CheckResult - public c1 b(y.a aVar, long j, long j2, long j3, TrackGroupArray trackGroupArray, m mVar, List list) { - return new c1(this.b, aVar, j2, this.e, this.f, this.g, trackGroupArray, mVar, list, this.k, this.l, this.m, this.n, this.q, j3, j, this.o, this.p); - } - - @CheckResult - public c1 c(boolean z2) { - return new c1(this.b, this.f822c, this.d, this.e, this.f, this.g, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.q, this.f823r, this.s, z2, this.p); - } - - @CheckResult - public c1 d(boolean z2, int i) { - return new c1(this.b, this.f822c, this.d, this.e, this.f, this.g, this.h, this.i, this.j, this.k, z2, i, this.n, this.q, this.f823r, this.s, this.o, this.p); - } - - @CheckResult - public c1 e(@Nullable ExoPlaybackException exoPlaybackException) { - return new c1(this.b, this.f822c, this.d, this.e, exoPlaybackException, this.g, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.q, this.f823r, this.s, this.o, this.p); - } - - @CheckResult - public c1 f(d1 d1Var) { - return new c1(this.b, this.f822c, this.d, this.e, this.f, this.g, this.h, this.i, this.j, this.k, this.l, this.m, d1Var, this.q, this.f823r, this.s, this.o, this.p); - } - - @CheckResult - public c1 g(int i) { - return new c1(this.b, this.f822c, this.d, i, this.f, this.g, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.q, this.f823r, this.s, this.o, this.p); - } - - @CheckResult - public c1 h(r1 r1Var) { - return new c1(r1Var, this.f822c, this.d, this.e, this.f, this.g, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.q, this.f823r, this.s, this.o, this.p); + public int hashCode() { + return ((((527 + this.i) * 31) + this.j) * 31) + this.k; } } diff --git a/app/src/main/java/c/i/a/c/c2.java b/app/src/main/java/c/i/a/c/c2.java new file mode 100644 index 0000000000..f9a187781f --- /dev/null +++ b/app/src/main/java/c/i/a/c/c2.java @@ -0,0 +1,52 @@ +package c.i.a.c; + +import c.i.a.c.a3.k0; +import java.util.Collection; +import java.util.HashMap; +/* compiled from: PlaylistTimeline */ +public final class c2 extends r0 { + public final int m; + public final int n; + public final int[] o; + public final int[] p; + public final o2[] q; + public final Object[] r; + + /* renamed from: s reason: collision with root package name */ + public final HashMap f726s = new HashMap<>(); + + /* JADX INFO: super call moved to the top of the method (can break code semantics) */ + public c2(Collection collection, k0 k0Var) { + super(false, k0Var); + int i = 0; + int size = collection.size(); + this.o = new int[size]; + this.p = new int[size]; + this.q = new o2[size]; + this.r = new Object[size]; + int i2 = 0; + int i3 = 0; + for (t1 t1Var : collection) { + this.q[i3] = t1Var.a(); + this.p[i3] = i; + this.o[i3] = i2; + i += this.q[i3].p(); + i2 += this.q[i3].i(); + this.r[i3] = t1Var.getUid(); + this.f726s.put(this.r[i3], Integer.valueOf(i3)); + i3++; + } + this.m = i; + this.n = i2; + } + + @Override // c.i.a.c.o2 + public int i() { + return this.n; + } + + @Override // c.i.a.c.o2 + public int p() { + return this.m; + } +} diff --git a/app/src/main/java/c/i/a/c/c2/a.java b/app/src/main/java/c/i/a/c/c2/a.java deleted file mode 100644 index 1ac2670537..0000000000 --- a/app/src/main/java/c/i/a/c/c2/a.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.c2; - -import androidx.annotation.Nullable; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.metadata.Metadata; -/* compiled from: Metadata */ -public final /* synthetic */ class a { - @Nullable - public static byte[] a(Metadata.Entry entry) { - return null; - } - - @Nullable - public static Format b(Metadata.Entry entry) { - return null; - } -} diff --git a/app/src/main/java/c/i/a/c/c2/b.java b/app/src/main/java/c/i/a/c/c2/b.java deleted file mode 100644 index d3c28296d6..0000000000 --- a/app/src/main/java/c/i/a/c/c2/b.java +++ /dev/null @@ -1,9 +0,0 @@ -package c.i.a.c.c2; - -import androidx.annotation.Nullable; -import com.google.android.exoplayer2.metadata.Metadata; -/* compiled from: MetadataDecoder */ -public interface b { - @Nullable - Metadata a(d dVar); -} diff --git a/app/src/main/java/c/i/a/c/c2/c.java b/app/src/main/java/c/i/a/c/c2/c.java deleted file mode 100644 index 4f90fd5929..0000000000 --- a/app/src/main/java/c/i/a/c/c2/c.java +++ /dev/null @@ -1,75 +0,0 @@ -package c.i.a.c.c2; - -import c.i.a.c.c2.k.b; -import com.google.android.exoplayer2.Format; -/* compiled from: MetadataDecoderFactory */ -public interface c { - public static final c a = new a(); - - /* compiled from: MetadataDecoderFactory */ - public class a implements c { - @Override // c.i.a.c.c2.c - public boolean a(Format format) { - String str = format.t; - return "application/id3".equals(str) || "application/x-emsg".equals(str) || "application/x-scte35".equals(str) || "application/x-icy".equals(str) || "application/vnd.dvb.ait".equals(str); - } - - @Override // c.i.a.c.c2.c - public b b(Format format) { - String str = format.t; - if (str != null) { - str.hashCode(); - char c2 = 65535; - switch (str.hashCode()) { - case -1354451219: - if (str.equals("application/vnd.dvb.ait")) { - c2 = 0; - break; - } - break; - case -1348231605: - if (str.equals("application/x-icy")) { - c2 = 1; - break; - } - break; - case -1248341703: - if (str.equals("application/id3")) { - c2 = 2; - break; - } - break; - case 1154383568: - if (str.equals("application/x-emsg")) { - c2 = 3; - break; - } - break; - case 1652648887: - if (str.equals("application/x-scte35")) { - c2 = 4; - break; - } - break; - } - switch (c2) { - case 0: - return new c.i.a.c.c2.h.a(); - case 1: - return new c.i.a.c.c2.j.a(); - case 2: - return new b(); - case 3: - return new c.i.a.c.c2.i.a(); - case 4: - return new c.i.a.c.c2.l.a(); - } - } - throw new IllegalArgumentException(c.d.b.a.a.u("Attempted to create decoder for unsupported MIME type: ", str)); - } - } - - boolean a(Format format); - - b b(Format format); -} diff --git a/app/src/main/java/c/i/a/c/c2/d.java b/app/src/main/java/c/i/a/c/c2/d.java deleted file mode 100644 index 37b20006d3..0000000000 --- a/app/src/main/java/c/i/a/c/c2/d.java +++ /dev/null @@ -1,11 +0,0 @@ -package c.i.a.c.c2; - -import com.google.android.exoplayer2.decoder.DecoderInputBuffer; -/* compiled from: MetadataInputBuffer */ -public final class d extends DecoderInputBuffer { - public long q; - - public d() { - super(1); - } -} diff --git a/app/src/main/java/c/i/a/c/c2/e.java b/app/src/main/java/c/i/a/c/c2/e.java deleted file mode 100644 index bec4d232c4..0000000000 --- a/app/src/main/java/c/i/a/c/c2/e.java +++ /dev/null @@ -1,7 +0,0 @@ -package c.i.a.c.c2; - -import com.google.android.exoplayer2.metadata.Metadata; -/* compiled from: MetadataOutput */ -public interface e { - void l(Metadata metadata); -} diff --git a/app/src/main/java/c/i/a/c/c2/f.java b/app/src/main/java/c/i/a/c/c2/f.java deleted file mode 100644 index 838e8f9b9d..0000000000 --- a/app/src/main/java/c/i/a/c/c2/f.java +++ /dev/null @@ -1,205 +0,0 @@ -package c.i.a.c.c2; - -import android.os.Handler; -import android.os.Looper; -import android.os.Message; -import androidx.annotation.Nullable; -import c.i.a.c.g0; -import c.i.a.c.i2.f0; -import c.i.a.c.s0; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.metadata.Metadata; -import java.nio.ByteBuffer; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.Objects; -/* compiled from: MetadataRenderer */ -public final class f extends g0 implements Handler.Callback { - public int A; - @Nullable - public b B; - public boolean C; - public boolean D; - public long E; - public final c t; - public final e u; - @Nullable - public final Handler v; - - /* renamed from: w reason: collision with root package name */ - public final d f824w; - - /* renamed from: x reason: collision with root package name */ - public final Metadata[] f825x; - - /* renamed from: y reason: collision with root package name */ - public final long[] f826y; - - /* renamed from: z reason: collision with root package name */ - public int f827z; - - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public f(e eVar, @Nullable Looper looper) { - super(5); - Handler handler; - c cVar = c.a; - Objects.requireNonNull(eVar); - this.u = eVar; - if (looper == null) { - handler = null; - } else { - int i = f0.a; - handler = new Handler(looper, this); - } - this.v = handler; - this.t = cVar; - this.f824w = new d(); - this.f825x = new Metadata[5]; - this.f826y = new long[5]; - } - - @Override // c.i.a.c.g0 - public void B() { - Arrays.fill(this.f825x, (Object) null); - this.f827z = 0; - this.A = 0; - this.B = null; - } - - @Override // c.i.a.c.g0 - public void D(long j, boolean z2) { - Arrays.fill(this.f825x, (Object) null); - this.f827z = 0; - this.A = 0; - this.C = false; - this.D = false; - } - - @Override // c.i.a.c.g0 - public void H(Format[] formatArr, long j, long j2) { - this.B = this.t.b(formatArr[0]); - } - - public final void J(Metadata metadata, List list) { - int i = 0; - while (true) { - Metadata.Entry[] entryArr = metadata.i; - if (i < entryArr.length) { - Format x2 = entryArr[i].x(); - if (x2 == null || !this.t.a(x2)) { - list.add(metadata.i[i]); - } else { - b b = this.t.b(x2); - byte[] n0 = metadata.i[i].n0(); - Objects.requireNonNull(n0); - this.f824w.p(); - this.f824w.r(n0.length); - ByteBuffer byteBuffer = this.f824w.k; - int i2 = f0.a; - byteBuffer.put(n0); - this.f824w.s(); - Metadata a = b.a(this.f824w); - if (a != null) { - J(a, list); - } - } - i++; - } else { - return; - } - } - } - - @Override // c.i.a.c.l1 - public int a(Format format) { - if (!this.t.a(format)) { - return 0; - } - return (format.M == null ? 4 : 2) | 0 | 0; - } - - @Override // c.i.a.c.k1 - public boolean b() { - return this.D; - } - - @Override // c.i.a.c.k1 - public boolean d() { - return true; - } - - @Override // c.i.a.c.k1, c.i.a.c.l1 - public String getName() { - return "MetadataRenderer"; - } - - @Override // android.os.Handler.Callback - public boolean handleMessage(Message message) { - if (message.what == 0) { - this.u.l((Metadata) message.obj); - return true; - } - throw new IllegalStateException(); - } - - @Override // c.i.a.c.k1 - public void q(long j, long j2) { - if (!this.C && this.A < 5) { - this.f824w.p(); - s0 A = A(); - int I = I(A, this.f824w, false); - if (I == -4) { - if (this.f824w.n()) { - this.C = true; - } else { - d dVar = this.f824w; - dVar.q = this.E; - dVar.s(); - b bVar = this.B; - int i = f0.a; - Metadata a = bVar.a(this.f824w); - if (a != null) { - ArrayList arrayList = new ArrayList(a.i.length); - J(a, arrayList); - if (!arrayList.isEmpty()) { - Metadata metadata = new Metadata(arrayList); - int i2 = this.f827z; - int i3 = this.A; - int i4 = (i2 + i3) % 5; - this.f825x[i4] = metadata; - this.f826y[i4] = this.f824w.m; - this.A = i3 + 1; - } - } - } - } else if (I == -5) { - Format format = A.b; - Objects.requireNonNull(format); - this.E = format.f2696x; - } - } - if (this.A > 0) { - long[] jArr = this.f826y; - int i5 = this.f827z; - if (jArr[i5] <= j) { - Metadata metadata2 = this.f825x[i5]; - int i6 = f0.a; - Handler handler = this.v; - if (handler != null) { - handler.obtainMessage(0, metadata2).sendToTarget(); - } else { - this.u.l(metadata2); - } - Metadata[] metadataArr = this.f825x; - int i7 = this.f827z; - metadataArr[i7] = null; - this.f827z = (i7 + 1) % 5; - this.A--; - } - } - if (this.C && this.A == 0) { - this.D = true; - } - } -} diff --git a/app/src/main/java/c/i/a/c/c2/g.java b/app/src/main/java/c/i/a/c/c2/g.java deleted file mode 100644 index 163479ccc1..0000000000 --- a/app/src/main/java/c/i/a/c/c2/g.java +++ /dev/null @@ -1,24 +0,0 @@ -package c.i.a.c.c2; - -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import com.google.android.exoplayer2.metadata.Metadata; -import java.nio.ByteBuffer; -import java.util.Objects; -/* compiled from: SimpleMetadataDecoder */ -public abstract class g implements b { - @Override // c.i.a.c.c2.b - @Nullable - public final Metadata a(d dVar) { - ByteBuffer byteBuffer = dVar.k; - Objects.requireNonNull(byteBuffer); - d.k(byteBuffer.position() == 0 && byteBuffer.hasArray() && byteBuffer.arrayOffset() == 0); - if (dVar.m()) { - return null; - } - return b(dVar, byteBuffer); - } - - @Nullable - public abstract Metadata b(d dVar, ByteBuffer byteBuffer); -} diff --git a/app/src/main/java/c/i/a/c/c2/h/a.java b/app/src/main/java/c/i/a/c/c2/h/a.java deleted file mode 100644 index 3a7347c8fd..0000000000 --- a/app/src/main/java/c/i/a/c/c2/h/a.java +++ /dev/null @@ -1,72 +0,0 @@ -package c.i.a.c.c2.h; - -import androidx.annotation.Nullable; -import c.i.a.c.c2.d; -import c.i.a.c.c2.g; -import c.i.a.c.i2.v; -import c.i.b.a.c; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable; -import java.nio.ByteBuffer; -import java.nio.charset.Charset; -import java.util.ArrayList; -/* compiled from: AppInfoTableDecoder */ -public final class a extends g { - @Override // c.i.a.c.c2.g - @Nullable - public Metadata b(d dVar, ByteBuffer byteBuffer) { - if (byteBuffer.get() == 116) { - v vVar = new v(byteBuffer.array(), byteBuffer.limit()); - vVar.m(12); - int d = (vVar.d() + vVar.g(12)) - 4; - vVar.m(44); - vVar.n(vVar.g(12)); - vVar.m(16); - ArrayList arrayList = new ArrayList(); - while (vVar.d() < d) { - vVar.m(48); - int g = vVar.g(8); - vVar.m(4); - int d2 = vVar.d() + vVar.g(12); - String str = null; - String str2 = null; - while (vVar.d() < d2) { - int g2 = vVar.g(8); - int g3 = vVar.g(8); - int d3 = vVar.d() + g3; - if (g2 == 2) { - int g4 = vVar.g(16); - vVar.m(8); - if (g4 != 3) { - } - while (vVar.d() < d3) { - int g5 = vVar.g(8); - Charset charset = c.a; - byte[] bArr = new byte[g5]; - vVar.i(bArr, 0, g5); - str = new String(bArr, charset); - int g6 = vVar.g(8); - for (int i = 0; i < g6; i++) { - vVar.n(vVar.g(8)); - } - } - } else if (g2 == 21) { - Charset charset2 = c.a; - byte[] bArr2 = new byte[g3]; - vVar.i(bArr2, 0, g3); - str2 = new String(bArr2, charset2); - } - vVar.k(d3 * 8); - } - vVar.k(d2 * 8); - if (!(str == null || str2 == null)) { - arrayList.add(new AppInfoTable(g, c.d.b.a.a.u(str, str2))); - } - } - if (!arrayList.isEmpty()) { - return new Metadata(arrayList); - } - } - return null; - } -} diff --git a/app/src/main/java/c/i/a/c/c2/i/a.java b/app/src/main/java/c/i/a/c/c2/i/a.java deleted file mode 100644 index 269a34708a..0000000000 --- a/app/src/main/java/c/i/a/c/c2/i/a.java +++ /dev/null @@ -1,22 +0,0 @@ -package c.i.a.c.c2.i; - -import c.i.a.c.c2.d; -import c.i.a.c.c2.g; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.metadata.emsg.EventMessage; -import java.nio.ByteBuffer; -import java.util.Arrays; -import java.util.Objects; -/* compiled from: EventMessageDecoder */ -public final class a extends g { - @Override // c.i.a.c.c2.g - public Metadata b(d dVar, ByteBuffer byteBuffer) { - w wVar = new w(byteBuffer.array(), byteBuffer.limit()); - String n = wVar.n(); - Objects.requireNonNull(n); - String n2 = wVar.n(); - Objects.requireNonNull(n2); - return new Metadata(new EventMessage(n, n2, wVar.t(), wVar.t(), Arrays.copyOfRange(wVar.a, wVar.b, wVar.f974c))); - } -} diff --git a/app/src/main/java/c/i/a/c/c2/i/b.java b/app/src/main/java/c/i/a/c/c2/i/b.java deleted file mode 100644 index 5657f08703..0000000000 --- a/app/src/main/java/c/i/a/c/c2/i/b.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.c2.i; - -import java.io.ByteArrayOutputStream; -import java.io.DataOutputStream; -import java.io.IOException; -/* compiled from: EventMessageEncoder */ -public final class b { - public final ByteArrayOutputStream a; - public final DataOutputStream b; - - public b() { - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(512); - this.a = byteArrayOutputStream; - this.b = new DataOutputStream(byteArrayOutputStream); - } - - public static void a(DataOutputStream dataOutputStream, long j) throws IOException { - dataOutputStream.writeByte(((int) (j >>> 24)) & 255); - dataOutputStream.writeByte(((int) (j >>> 16)) & 255); - dataOutputStream.writeByte(((int) (j >>> 8)) & 255); - dataOutputStream.writeByte(((int) j) & 255); - } -} diff --git a/app/src/main/java/c/i/a/c/c2/j/a.java b/app/src/main/java/c/i/a/c/c2/j/a.java deleted file mode 100644 index 8633c3ae02..0000000000 --- a/app/src/main/java/c/i/a/c/c2/j/a.java +++ /dev/null @@ -1,67 +0,0 @@ -package c.i.a.c.c2.j; - -import c.i.a.c.c2.d; -import c.i.a.c.c2.g; -import c.i.a.c.i2.f0; -import c.i.b.a.c; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.metadata.icy.IcyInfo; -import java.nio.ByteBuffer; -import java.nio.charset.CharacterCodingException; -import java.nio.charset.CharsetDecoder; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -/* compiled from: IcyDecoder */ -public final class a extends g { - public static final Pattern a = Pattern.compile("(.+?)='(.*?)';", 32); - public final CharsetDecoder b = c.f1350c.newDecoder(); - - /* renamed from: c reason: collision with root package name */ - public final CharsetDecoder f828c = c.b.newDecoder(); - - /* JADX INFO: finally extract failed */ - @Override // c.i.a.c.c2.g - public Metadata b(d dVar, ByteBuffer byteBuffer) { - String str; - String str2 = null; - try { - str = this.b.decode(byteBuffer).toString(); - } catch (CharacterCodingException unused) { - try { - str = this.f828c.decode(byteBuffer).toString(); - this.f828c.reset(); - byteBuffer.rewind(); - } catch (CharacterCodingException unused2) { - this.f828c.reset(); - byteBuffer.rewind(); - str = null; - } catch (Throwable th) { - this.f828c.reset(); - byteBuffer.rewind(); - throw th; - } - } finally { - this.b.reset(); - byteBuffer.rewind(); - } - byte[] bArr = new byte[byteBuffer.limit()]; - byteBuffer.get(bArr); - if (str == null) { - return new Metadata(new IcyInfo(bArr, null, null)); - } - Matcher matcher = a.matcher(str); - String str3 = null; - for (int i = 0; matcher.find(i); i = matcher.end()) { - String K = f0.K(matcher.group(1)); - String group = matcher.group(2); - if (K != null) { - if (K.equals("streamurl")) { - str3 = group; - } else if (K.equals("streamtitle")) { - str2 = group; - } - } - } - return new Metadata(new IcyInfo(bArr, str2, str3)); - } -} diff --git a/app/src/main/java/c/i/a/c/c2/k/a.java b/app/src/main/java/c/i/a/c/c2/k/a.java deleted file mode 100644 index d5c4cc2a90..0000000000 --- a/app/src/main/java/c/i/a/c/c2/k/a.java +++ /dev/null @@ -1,13 +0,0 @@ -package c.i.a.c.c2.k; - -import c.i.a.c.c2.k.b; -/* compiled from: lambda */ -public final /* synthetic */ class a implements b.a { - public static final /* synthetic */ a a = new a(); - - @Override // c.i.a.c.c2.k.b.a - public final boolean a(int i, int i2, int i3, int i4, int i5) { - int i6 = b.a; - return false; - } -} diff --git a/app/src/main/java/c/i/a/c/c2/k/b.java b/app/src/main/java/c/i/a/c/c2/k/b.java deleted file mode 100644 index a071f9c4b2..0000000000 --- a/app/src/main/java/c/i/a/c/c2/k/b.java +++ /dev/null @@ -1,620 +0,0 @@ -package c.i.a.c.c2.k; - -import android.util.Log; -import androidx.annotation.Nullable; -import c.i.a.c.c2.d; -import c.i.a.c.c2.g; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import com.adjust.sdk.Constants; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.metadata.id3.ApicFrame; -import com.google.android.exoplayer2.metadata.id3.BinaryFrame; -import com.google.android.exoplayer2.metadata.id3.ChapterFrame; -import com.google.android.exoplayer2.metadata.id3.ChapterTocFrame; -import com.google.android.exoplayer2.metadata.id3.CommentFrame; -import com.google.android.exoplayer2.metadata.id3.GeobFrame; -import com.google.android.exoplayer2.metadata.id3.Id3Frame; -import com.google.android.exoplayer2.metadata.id3.MlltFrame; -import com.google.android.exoplayer2.metadata.id3.PrivFrame; -import com.google.android.exoplayer2.metadata.id3.TextInformationFrame; -import com.google.android.exoplayer2.metadata.id3.UrlLinkFrame; -import java.io.UnsupportedEncodingException; -import java.nio.ByteBuffer; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Locale; -/* compiled from: Id3Decoder */ -public final class b extends g { - public static final /* synthetic */ int a = 0; - @Nullable - public final a b; - - /* compiled from: Id3Decoder */ - public interface a { - boolean a(int i, int i2, int i3, int i4, int i5); - } - - /* compiled from: Id3Decoder */ - /* renamed from: c.i.a.c.c2.k.b$b reason: collision with other inner class name */ - public static final class C0090b { - public final int a; - public final boolean b; - - /* renamed from: c reason: collision with root package name */ - public final int f829c; - - public C0090b(int i, boolean z2, int i2) { - this.a = i; - this.b = z2; - this.f829c = i2; - } - } - - public b() { - this.b = null; - } - - public b(@Nullable a aVar) { - this.b = aVar; - } - - public static byte[] c(byte[] bArr, int i, int i2) { - return i2 <= i ? f0.f : Arrays.copyOfRange(bArr, i, i2); - } - - public static ApicFrame e(w wVar, int i, int i2) throws UnsupportedEncodingException { - String str; - int i3; - int s = wVar.s(); - String t = t(s); - int i4 = i - 1; - byte[] bArr = new byte[i4]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, i4); - wVar.b += i4; - if (i2 == 2) { - StringBuilder O = c.d.b.a.a.O("image/"); - O.append(f0.K(new String(bArr, 0, 3, "ISO-8859-1"))); - str = O.toString(); - if ("image/jpg".equals(str)) { - str = "image/jpeg"; - } - i3 = 2; - } else { - int w2 = w(bArr, 0); - String K = f0.K(new String(bArr, 0, w2, "ISO-8859-1")); - if (K.indexOf(47) == -1) { - i3 = w2; - str = c.d.b.a.a.u("image/", K); - } else { - i3 = w2; - str = K; - } - } - int i5 = i3 + 2; - int v = v(bArr, i5, s); - return new ApicFrame(str, new String(bArr, i5, v - i5, t), bArr[i3 + 1] & 255, c(bArr, s(s) + v, i4)); - } - - public static BinaryFrame f(w wVar, int i, String str) { - byte[] bArr = new byte[i]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, i); - wVar.b += i; - return new BinaryFrame(str, bArr); - } - - public static ChapterFrame g(w wVar, int i, int i2, boolean z2, int i3, @Nullable a aVar) throws UnsupportedEncodingException { - int i4 = wVar.b; - int w2 = w(wVar.a, i4); - String str = new String(wVar.a, i4, w2 - i4, "ISO-8859-1"); - wVar.D(w2 + 1); - int f = wVar.f(); - int f2 = wVar.f(); - long t = wVar.t(); - long j = t == 4294967295L ? -1 : t; - long t2 = wVar.t(); - long j2 = t2 == 4294967295L ? -1 : t2; - ArrayList arrayList = new ArrayList(); - int i5 = i4 + i; - while (wVar.b < i5) { - Id3Frame j3 = j(i2, wVar, z2, i3, aVar); - if (j3 != null) { - arrayList.add(j3); - } - } - return new ChapterFrame(str, f, f2, j, j2, (Id3Frame[]) arrayList.toArray(new Id3Frame[0])); - } - - public static ChapterTocFrame h(w wVar, int i, int i2, boolean z2, int i3, @Nullable a aVar) throws UnsupportedEncodingException { - int i4 = wVar.b; - int w2 = w(wVar.a, i4); - String str = new String(wVar.a, i4, w2 - i4, "ISO-8859-1"); - wVar.D(w2 + 1); - int s = wVar.s(); - boolean z3 = (s & 2) != 0; - boolean z4 = (s & 1) != 0; - int s2 = wVar.s(); - String[] strArr = new String[s2]; - for (int i5 = 0; i5 < s2; i5++) { - int i6 = wVar.b; - int w3 = w(wVar.a, i6); - strArr[i5] = new String(wVar.a, i6, w3 - i6, "ISO-8859-1"); - wVar.D(w3 + 1); - } - ArrayList arrayList = new ArrayList(); - int i7 = i4 + i; - while (wVar.b < i7) { - Id3Frame j = j(i2, wVar, z2, i3, aVar); - if (j != null) { - arrayList.add(j); - } - } - return new ChapterTocFrame(str, z3, z4, strArr, (Id3Frame[]) arrayList.toArray(new Id3Frame[0])); - } - - @Nullable - public static CommentFrame i(w wVar, int i) throws UnsupportedEncodingException { - if (i < 4) { - return null; - } - int s = wVar.s(); - String t = t(s); - byte[] bArr = new byte[3]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, 3); - wVar.b += 3; - String str = new String(bArr, 0, 3); - int i2 = i - 4; - byte[] bArr2 = new byte[i2]; - System.arraycopy(wVar.a, wVar.b, bArr2, 0, i2); - wVar.b += i2; - int v = v(bArr2, 0, s); - String str2 = new String(bArr2, 0, v, t); - int s2 = s(s) + v; - return new CommentFrame(str, str2, n(bArr2, s2, v(bArr2, s2, s), t)); - } - - /* JADX WARNING: Code restructure failed: missing block: B:129:0x0188, code lost: - if (r13 == 67) goto L_0x018a; - */ - @Nullable - public static Id3Frame j(int i, w wVar, boolean z2, int i2, @Nullable a aVar) { - int v; - int i3; - int i4; - String str; - boolean z3; - boolean z4; - boolean z5; - boolean z6; - boolean z7; - Id3Frame id3Frame; - int s = wVar.s(); - int s2 = wVar.s(); - int s3 = wVar.s(); - int s4 = i >= 3 ? wVar.s() : 0; - if (i == 4) { - v = wVar.v(); - if (!z2) { - v = (((v >> 24) & 255) << 21) | (v & 255) | (((v >> 8) & 255) << 7) | (((v >> 16) & 255) << 14); - } - } else { - v = i == 3 ? wVar.v() : wVar.u(); - } - int i5 = v; - int x2 = i >= 3 ? wVar.x() : 0; - if (s == 0 && s2 == 0 && s3 == 0 && s4 == 0 && i5 == 0 && x2 == 0) { - wVar.D(wVar.f974c); - return null; - } - int i6 = wVar.b + i5; - if (i6 > wVar.f974c) { - Log.w("Id3Decoder", "Frame size exceeds remaining tag data"); - wVar.D(wVar.f974c); - return null; - } - if (aVar != null) { - str = "Id3Decoder"; - i4 = i6; - i3 = x2; - if (!aVar.a(i, s, s2, s3, s4)) { - wVar.D(i4); - return null; - } - } else { - str = "Id3Decoder"; - i4 = i6; - i3 = x2; - } - if (i == 3) { - z6 = (i3 & 128) != 0; - z5 = (i3 & 64) != 0; - z7 = (i3 & 32) != 0; - z3 = z6; - z4 = false; - } else if (i == 4) { - boolean z8 = (i3 & 64) != 0; - boolean z9 = (i3 & 8) != 0; - boolean z10 = (i3 & 4) != 0; - z4 = (i3 & 2) != 0; - z7 = z8; - z6 = (i3 & 1) != 0; - z3 = z9; - z5 = z10; - } else { - z7 = false; - z6 = false; - z5 = false; - z4 = false; - z3 = false; - } - if (z3 || z5) { - Log.w(str, "Skipping unsupported compressed or encrypted frame"); - wVar.D(i4); - return null; - } - if (z7) { - i5--; - wVar.E(1); - } - if (z6) { - i5 -= 4; - wVar.E(4); - } - if (z4) { - i5 = x(wVar, i5); - } - if (s == 84 && s2 == 88 && s3 == 88 && (i == 2 || s4 == 88)) { - try { - id3Frame = p(wVar, i5); - } catch (UnsupportedEncodingException unused) { - Log.w(str, "Unsupported character encoding"); - wVar.D(i4); - return null; - } catch (Throwable th) { - wVar.D(i4); - throw th; - } - } else if (s == 84) { - id3Frame = o(wVar, i5, u(i, s, s2, s3, s4)); - } else if (s == 87 && s2 == 88 && s3 == 88 && (i == 2 || s4 == 88)) { - id3Frame = r(wVar, i5); - } else if (s == 87) { - id3Frame = q(wVar, i5, u(i, s, s2, s3, s4)); - } else if (s == 80 && s2 == 82 && s3 == 73 && s4 == 86) { - id3Frame = m(wVar, i5); - } else if (s == 71 && s2 == 69 && s3 == 79 && (s4 == 66 || i == 2)) { - id3Frame = k(wVar, i5); - } else { - if (i == 2) { - if (s == 80 && s2 == 73 && s3 == 67) { - } - id3Frame = (s != 67 && s2 == 79 && s3 == 77 && (s4 == 77 || i == 2)) ? i(wVar, i5) : (s != 67 && s2 == 72 && s3 == 65 && s4 == 80) ? g(wVar, i5, i, z2, i2, aVar) : (s != 67 && s2 == 84 && s3 == 79 && s4 == 67) ? h(wVar, i5, i, z2, i2, aVar) : (s != 77 && s2 == 76 && s3 == 76 && s4 == 84) ? l(wVar, i5) : f(wVar, i5, u(i, s, s2, s3, s4)); - } else { - if (s == 65) { - if (s2 == 80) { - if (s3 == 73) { - } - } - } - if (s != 67) { - } - } - id3Frame = e(wVar, i5, i); - } - if (id3Frame == null) { - Log.w(str, "Failed to decode frame: id=" + u(i, s, s2, s3, s4) + ", frameSize=" + i5); - } - wVar.D(i4); - return id3Frame; - } - - public static GeobFrame k(w wVar, int i) throws UnsupportedEncodingException { - int s = wVar.s(); - String t = t(s); - int i2 = i - 1; - byte[] bArr = new byte[i2]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, i2); - wVar.b += i2; - int w2 = w(bArr, 0); - String str = new String(bArr, 0, w2, "ISO-8859-1"); - int i3 = w2 + 1; - int v = v(bArr, i3, s); - String n = n(bArr, i3, v, t); - int s2 = s(s) + v; - int v2 = v(bArr, s2, s); - return new GeobFrame(str, n, n(bArr, s2, v2, t), c(bArr, s(s) + v2, i2)); - } - - public static MlltFrame l(w wVar, int i) { - int x2 = wVar.x(); - int u = wVar.u(); - int u2 = wVar.u(); - int s = wVar.s(); - int s2 = wVar.s(); - v vVar = new v(); - vVar.j(wVar.a, wVar.f974c); - vVar.k(wVar.b * 8); - int i2 = ((i - 10) * 8) / (s + s2); - int[] iArr = new int[i2]; - int[] iArr2 = new int[i2]; - for (int i3 = 0; i3 < i2; i3++) { - int g = vVar.g(s); - int g2 = vVar.g(s2); - iArr[i3] = g; - iArr2[i3] = g2; - } - return new MlltFrame(x2, u, u2, iArr, iArr2); - } - - public static PrivFrame m(w wVar, int i) throws UnsupportedEncodingException { - byte[] bArr = new byte[i]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, i); - wVar.b += i; - int w2 = w(bArr, 0); - return new PrivFrame(new String(bArr, 0, w2, "ISO-8859-1"), c(bArr, w2 + 1, i)); - } - - public static String n(byte[] bArr, int i, int i2, String str) throws UnsupportedEncodingException { - return (i2 <= i || i2 > bArr.length) ? "" : new String(bArr, i, i2 - i, str); - } - - @Nullable - public static TextInformationFrame o(w wVar, int i, String str) throws UnsupportedEncodingException { - if (i < 1) { - return null; - } - int s = wVar.s(); - String t = t(s); - int i2 = i - 1; - byte[] bArr = new byte[i2]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, i2); - wVar.b += i2; - return new TextInformationFrame(str, null, new String(bArr, 0, v(bArr, 0, s), t)); - } - - @Nullable - public static TextInformationFrame p(w wVar, int i) throws UnsupportedEncodingException { - if (i < 1) { - return null; - } - int s = wVar.s(); - String t = t(s); - int i2 = i - 1; - byte[] bArr = new byte[i2]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, i2); - wVar.b += i2; - int v = v(bArr, 0, s); - String str = new String(bArr, 0, v, t); - int s2 = s(s) + v; - return new TextInformationFrame("TXXX", str, n(bArr, s2, v(bArr, s2, s), t)); - } - - public static UrlLinkFrame q(w wVar, int i, String str) throws UnsupportedEncodingException { - byte[] bArr = new byte[i]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, i); - wVar.b += i; - return new UrlLinkFrame(str, null, new String(bArr, 0, w(bArr, 0), "ISO-8859-1")); - } - - @Nullable - public static UrlLinkFrame r(w wVar, int i) throws UnsupportedEncodingException { - if (i < 1) { - return null; - } - int s = wVar.s(); - String t = t(s); - int i2 = i - 1; - byte[] bArr = new byte[i2]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, i2); - wVar.b += i2; - int v = v(bArr, 0, s); - String str = new String(bArr, 0, v, t); - int s2 = s(s) + v; - return new UrlLinkFrame("WXXX", str, n(bArr, s2, w(bArr, s2), "ISO-8859-1")); - } - - public static int s(int i) { - return (i == 0 || i == 3) ? 1 : 2; - } - - public static String t(int i) { - return i != 1 ? i != 2 ? i != 3 ? "ISO-8859-1" : Constants.ENCODING : "UTF-16BE" : "UTF-16"; - } - - public static String u(int i, int i2, int i3, int i4, int i5) { - return i == 2 ? String.format(Locale.US, "%c%c%c", Integer.valueOf(i2), Integer.valueOf(i3), Integer.valueOf(i4)) : String.format(Locale.US, "%c%c%c%c", Integer.valueOf(i2), Integer.valueOf(i3), Integer.valueOf(i4), Integer.valueOf(i5)); - } - - public static int v(byte[] bArr, int i, int i2) { - int w2 = w(bArr, i); - if (i2 == 0 || i2 == 3) { - return w2; - } - while (w2 < bArr.length - 1) { - if (w2 % 2 == 0 && bArr[w2 + 1] == 0) { - return w2; - } - w2 = w(bArr, w2 + 1); - } - return bArr.length; - } - - public static int w(byte[] bArr, int i) { - while (i < bArr.length) { - if (bArr[i] == 0) { - return i; - } - i++; - } - return bArr.length; - } - - public static int x(w wVar, int i) { - byte[] bArr = wVar.a; - int i2 = wVar.b; - int i3 = i2; - while (true) { - int i4 = i3 + 1; - if (i4 >= i2 + i) { - return i; - } - if ((bArr[i3] & 255) == 255 && bArr[i4] == 0) { - System.arraycopy(bArr, i3 + 2, bArr, i4, (i - (i3 - i2)) - 2); - i--; - } - i3 = i4; - } - } - - /* JADX WARNING: Code restructure failed: missing block: B:30:0x0074, code lost: - if ((r10 & 1) != 0) goto L_0x0087; - */ - /* JADX WARNING: Code restructure failed: missing block: B:37:0x0082, code lost: - if ((r10 & 128) != 0) goto L_0x0087; - */ - public static boolean y(w wVar, int i, int i2, boolean z2) { - int i3; - long j; - int i4; - int i5; - int i6 = wVar.b; - while (true) { - try { - boolean z3 = true; - if (wVar.a() >= i2) { - if (i >= 3) { - i4 = wVar.f(); - j = wVar.t(); - i3 = wVar.x(); - } else { - i4 = wVar.u(); - j = (long) wVar.u(); - i3 = 0; - } - if (i4 == 0 && j == 0 && i3 == 0) { - wVar.D(i6); - return true; - } - if (i == 4 && !z2) { - if ((8421504 & j) != 0) { - wVar.D(i6); - return false; - } - j = (((j >> 24) & 255) << 21) | (j & 255) | (((j >> 8) & 255) << 7) | (((j >> 16) & 255) << 14); - } - if (i == 4) { - i5 = (i3 & 64) != 0 ? 1 : 0; - } else if (i == 3) { - i5 = (i3 & 32) != 0 ? 1 : 0; - } else { - i5 = 0; - } - z3 = false; - if (z3) { - i5 += 4; - } - if (j < ((long) i5)) { - wVar.D(i6); - return false; - } else if (((long) wVar.a()) < j) { - return false; - } else { - wVar.E((int) j); - } - } else { - wVar.D(i6); - return true; - } - } finally { - wVar.D(i6); - } - } - } - - @Override // c.i.a.c.c2.g - @Nullable - public Metadata b(d dVar, ByteBuffer byteBuffer) { - return d(byteBuffer.array(), byteBuffer.limit()); - } - - /* JADX WARNING: Removed duplicated region for block: B:44:0x00b6 A[RETURN] */ - /* JADX WARNING: Removed duplicated region for block: B:45:0x00b7 */ - @Nullable - public Metadata d(byte[] bArr, int i) { - C0090b bVar; - ArrayList arrayList = new ArrayList(); - w wVar = new w(bArr, i); - boolean z2 = false; - int i2 = 10; - if (wVar.a() < 10) { - Log.w("Id3Decoder", "Data too short to be an ID3 tag"); - } else { - int u = wVar.u(); - if (u != 4801587) { - StringBuilder O = c.d.b.a.a.O("Unexpected first three bytes of ID3 tag header: 0x"); - O.append(String.format("%06X", Integer.valueOf(u))); - Log.w("Id3Decoder", O.toString()); - } else { - int s = wVar.s(); - wVar.E(1); - int s2 = wVar.s(); - int r2 = wVar.r(); - if (s == 2) { - if ((s2 & 64) != 0) { - Log.w("Id3Decoder", "Skipped ID3 tag with majorVersion=2 and undefined compression scheme"); - } - } else if (s == 3) { - if ((s2 & 64) != 0) { - int f = wVar.f(); - wVar.E(f); - r2 -= f + 4; - } - } else if (s == 4) { - if ((s2 & 64) != 0) { - int r3 = wVar.r(); - wVar.E(r3 - 4); - r2 -= r3; - } - if ((s2 & 16) != 0) { - r2 -= 10; - } - } else { - c.d.b.a.a.i0("Skipped ID3 tag with unsupported majorVersion=", s, "Id3Decoder"); - } - bVar = new C0090b(s, s < 4 && (s2 & 128) != 0, r2); - if (bVar != null) { - return null; - } - int i3 = wVar.b; - if (bVar.a == 2) { - i2 = 6; - } - int i4 = bVar.f829c; - if (bVar.b) { - i4 = x(wVar, i4); - } - wVar.C(i3 + i4); - if (!y(wVar, bVar.a, i2, false)) { - if (bVar.a != 4 || !y(wVar, 4, i2, true)) { - StringBuilder O2 = c.d.b.a.a.O("Failed to validate ID3 tag with majorVersion="); - O2.append(bVar.a); - Log.w("Id3Decoder", O2.toString()); - return null; - } - z2 = true; - } - while (wVar.a() >= i2) { - Id3Frame j = j(bVar.a, wVar, z2, i2, this.b); - if (j != null) { - arrayList.add(j); - } - } - return new Metadata(arrayList); - } - } - bVar = null; - if (bVar != null) { - } - } -} diff --git a/app/src/main/java/c/i/a/c/c2/l/a.java b/app/src/main/java/c/i/a/c/c2/l/a.java deleted file mode 100644 index 4dbbfcbb54..0000000000 --- a/app/src/main/java/c/i/a/c/c2/l/a.java +++ /dev/null @@ -1,216 +0,0 @@ -package c.i.a.c.c2.l; - -import c.i.a.c.c2.d; -import c.i.a.c.c2.g; -import c.i.a.c.i2.e0; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.metadata.scte35.PrivateCommand; -import com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand; -import com.google.android.exoplayer2.metadata.scte35.SpliceNullCommand; -import com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand; -import com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand; -import java.nio.ByteBuffer; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -/* compiled from: SpliceInfoDecoder */ -public final class a extends g { - public final w a = new w(); - public final v b = new v(); - - /* renamed from: c reason: collision with root package name */ - public e0 f830c; - - @Override // c.i.a.c.c2.g - public Metadata b(d dVar, ByteBuffer byteBuffer) { - int i; - int i2; - int i3; - long j; - boolean z2; - long j2; - ArrayList arrayList; - boolean z3; - boolean z4; - int i4; - long j3; - long j4; - boolean z5; - int i5; - int i6; - int i7; - long j5; - boolean z6; - List list; - boolean z7; - boolean z8; - boolean z9; - long j6; - long j7; - boolean z10; - e0 e0Var = this.f830c; - if (e0Var == null || dVar.q != e0Var.d()) { - long j8 = dVar.m; - e0 e0Var2 = new e0(j8); - this.f830c = e0Var2; - e0Var2.a(j8 - dVar.q); - } - byte[] array = byteBuffer.array(); - int limit = byteBuffer.limit(); - this.a.B(array, limit); - this.b.j(array, limit); - this.b.m(39); - long g = (((long) this.b.g(1)) << 32) | ((long) this.b.g(32)); - this.b.m(20); - int g2 = this.b.g(12); - int g3 = this.b.g(8); - this.a.E(14); - Metadata.Entry entry = null; - if (g3 == 0) { - entry = new SpliceNullCommand(); - } else if (g3 != 255) { - long j9 = 128; - if (g3 == 4) { - w wVar = this.a; - int s = wVar.s(); - ArrayList arrayList2 = new ArrayList(s); - int i8 = 0; - while (i8 < s) { - long t = wVar.t(); - boolean z11 = (wVar.s() & 128) != 0; - ArrayList arrayList3 = new ArrayList(); - if (!z11) { - int s2 = wVar.s(); - boolean z12 = (s2 & 128) != 0; - boolean z13 = (s2 & 64) != 0; - boolean z14 = (s2 & 32) != 0; - long t2 = z13 ? wVar.t() : -9223372036854775807L; - if (!z13) { - int s3 = wVar.s(); - ArrayList arrayList4 = new ArrayList(s3); - int i9 = 0; - while (i9 < s3) { - arrayList4.add(new SpliceScheduleCommand.b(wVar.s(), wVar.t(), null)); - i9++; - s3 = s3; - s = s; - } - i4 = s; - arrayList3 = arrayList4; - } else { - i4 = s; - } - if (z14) { - long s4 = (long) wVar.s(); - j3 = 128; - z5 = (s4 & 128) != 0; - j4 = ((((s4 & 1) << 32) | wVar.t()) * 1000) / 90; - } else { - j3 = 128; - z5 = false; - j4 = -9223372036854775807L; - } - z2 = z5; - j = j4; - arrayList = arrayList3; - i3 = wVar.x(); - z4 = z12; - z3 = z13; - j2 = t2; - i2 = wVar.s(); - i = wVar.s(); - } else { - i4 = s; - j3 = j9; - arrayList = arrayList3; - z4 = false; - z3 = false; - j2 = -9223372036854775807L; - z2 = false; - j = -9223372036854775807L; - i3 = 0; - i2 = 0; - i = 0; - } - arrayList2.add(new SpliceScheduleCommand.c(t, z11, z4, z3, arrayList, j2, z2, j, i3, i2, i)); - i8++; - j9 = j3; - s = i4; - } - entry = new SpliceScheduleCommand(arrayList2); - } else if (g3 == 5) { - w wVar2 = this.a; - e0 e0Var3 = this.f830c; - long t3 = wVar2.t(); - boolean z15 = (wVar2.s() & 128) != 0; - List emptyList = Collections.emptyList(); - if (!z15) { - int s5 = wVar2.s(); - boolean z16 = (s5 & 128) != 0; - boolean z17 = (s5 & 64) != 0; - boolean z18 = (s5 & 32) != 0; - boolean z19 = (s5 & 16) != 0; - long a = (!z17 || z19) ? -9223372036854775807L : TimeSignalCommand.a(wVar2, g); - if (!z17) { - int s6 = wVar2.s(); - ArrayList arrayList5 = new ArrayList(s6); - for (int i10 = 0; i10 < s6; i10++) { - int s7 = wVar2.s(); - long a2 = !z19 ? TimeSignalCommand.a(wVar2, g) : -9223372036854775807L; - arrayList5.add(new SpliceInsertCommand.b(s7, a2, e0Var3.b(a2), null)); - } - emptyList = arrayList5; - } - if (z18) { - long s8 = (long) wVar2.s(); - z10 = (s8 & 128) != 0; - j7 = ((((s8 & 1) << 32) | wVar2.t()) * 1000) / 90; - } else { - z10 = false; - j7 = -9223372036854775807L; - } - int x2 = wVar2.x(); - int s9 = wVar2.s(); - i7 = x2; - z6 = z10; - i5 = wVar2.s(); - list = emptyList; - j5 = j7; - i6 = s9; - z9 = z16; - j6 = a; - z7 = z19; - z8 = z17; - } else { - list = emptyList; - j6 = -9223372036854775807L; - z9 = false; - z8 = false; - z7 = false; - z6 = false; - j5 = -9223372036854775807L; - i7 = 0; - i6 = 0; - i5 = 0; - } - entry = new SpliceInsertCommand(t3, z15, z9, z8, z7, j6, e0Var3.b(j6), list, z6, j5, i7, i6, i5); - } else if (g3 == 6) { - w wVar3 = this.a; - e0 e0Var4 = this.f830c; - long a3 = TimeSignalCommand.a(wVar3, g); - entry = new TimeSignalCommand(a3, e0Var4.b(a3)); - } - } else { - w wVar4 = this.a; - long t4 = wVar4.t(); - int i11 = g2 - 4; - byte[] bArr = new byte[i11]; - System.arraycopy(wVar4.a, wVar4.b, bArr, 0, i11); - wVar4.b += i11; - entry = new PrivateCommand(t4, bArr, g); - } - return entry == null ? new Metadata(new Metadata.Entry[0]) : new Metadata(entry); - } -} diff --git a/app/src/main/java/c/i/a/c/c3/a.java b/app/src/main/java/c/i/a/c/c3/a.java new file mode 100644 index 0000000000..a45d2a0772 --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/a.java @@ -0,0 +1,13 @@ +package c.i.a.c.c3; + +import c.i.a.c.j1; +import java.util.Comparator; +/* compiled from: lambda */ +public final /* synthetic */ class a implements Comparator { + public static final /* synthetic */ a i = new a(); + + @Override // java.util.Comparator + public final int compare(Object obj, Object obj2) { + return ((j1) obj2).r - ((j1) obj).r; + } +} diff --git a/app/src/main/java/c/i/a/c/c3/b.java b/app/src/main/java/c/i/a/c/c3/b.java new file mode 100644 index 0000000000..80b12e268c --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/b.java @@ -0,0 +1,15 @@ +package c.i.a.c.c3; + +import java.util.Comparator; +/* compiled from: lambda */ +public final /* synthetic */ class b implements Comparator { + public static final /* synthetic */ b i = new b(); + + @Override // java.util.Comparator + public final int compare(Object obj, Object obj2) { + Integer num = (Integer) obj; + Integer num2 = (Integer) obj2; + int[] iArr = h.b; + return 0; + } +} diff --git a/app/src/main/java/c/i/a/c/c3/c.java b/app/src/main/java/c/i/a/c/c3/c.java new file mode 100644 index 0000000000..da012622f9 --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/c.java @@ -0,0 +1,21 @@ +package c.i.a.c.c3; + +import java.util.Comparator; +/* compiled from: lambda */ +public final /* synthetic */ class c implements Comparator { + public static final /* synthetic */ c i = new c(); + + @Override // java.util.Comparator + public final int compare(Object obj, Object obj2) { + Integer num = (Integer) obj; + Integer num2 = (Integer) obj2; + int[] iArr = h.b; + if (num.intValue() == -1) { + return num2.intValue() == -1 ? 0 : -1; + } + if (num2.intValue() == -1) { + return 1; + } + return num.intValue() - num2.intValue(); + } +} diff --git a/app/src/main/java/c/i/a/c/c3/d.java b/app/src/main/java/c/i/a/c/c3/d.java new file mode 100644 index 0000000000..04ba901036 --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/d.java @@ -0,0 +1,32 @@ +package c.i.a.c.c3; + +import android.os.Bundle; +import c.i.a.c.c3.o; +import c.i.a.c.f3.f; +import c.i.a.c.w0; +import c.i.b.b.a; +import c.i.b.b.h0; +import c.i.b.b.p; +import c.i.b.b.q; +import java.util.ArrayList; +import java.util.List; +/* compiled from: lambda */ +public final /* synthetic */ class d implements w0.a { + public static final /* synthetic */ d a = new d(); + + @Override // c.i.a.c.w0.a + public final w0 a(Bundle bundle) { + o oVar = o.i; + int i = o.a.i; + e eVar = e.a; + ArrayList parcelableArrayList = bundle.getParcelableArrayList(Integer.toString(0, 36)); + a aVar = p.j; + List b = f.b(eVar, parcelableArrayList, h0.k); + q.a aVar2 = new q.a(4); + for (int i2 = 0; i2 < b.size(); i2++) { + o.a aVar3 = (o.a) b.get(i2); + aVar2.c(aVar3.j, aVar3); + } + return new o(aVar2.a()); + } +} diff --git a/app/src/main/java/c/i/a/c/c3/e.java b/app/src/main/java/c/i/a/c/c3/e.java new file mode 100644 index 0000000000..bf450bc74c --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/e.java @@ -0,0 +1,35 @@ +package c.i.a.c.c3; + +import android.os.Bundle; +import c.i.a.c.a3.n0; +import c.i.a.c.c3.o; +import c.i.a.c.f3.f; +import c.i.a.c.j1; +import c.i.a.c.w0; +import c.i.b.b.a; +import c.i.b.b.h0; +import c.i.b.b.p; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class e implements w0.a { + public static final /* synthetic */ e a = new e(); + + @Override // c.i.a.c.w0.a + public final w0 a(Bundle bundle) { + int i = o.a.i; + Bundle bundle2 = bundle.getBundle(Integer.toString(0, 36)); + Objects.requireNonNull(bundle2); + int i2 = n0.i; + w0.a aVar = j1.j; + ArrayList parcelableArrayList = bundle2.getParcelableArrayList(Integer.toString(0, 36)); + a aVar2 = p.j; + n0 n0Var = new n0((j1[]) f.b(aVar, parcelableArrayList, h0.k).toArray(new j1[0])); + int[] intArray = bundle.getIntArray(Integer.toString(1, 36)); + if (intArray == null) { + return new o.a(n0Var); + } + return new o.a(n0Var, intArray.length == 0 ? Collections.emptyList() : new c.i.b.c.a(intArray)); + } +} diff --git a/app/src/main/java/c/i/a/c/c3/f.java b/app/src/main/java/c/i/a/c/c3/f.java new file mode 100644 index 0000000000..96804de1c6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/f.java @@ -0,0 +1,88 @@ +package c.i.a.c.c3; + +import android.util.Log; +import androidx.annotation.CallSuper; +import androidx.annotation.Nullable; +import c.i.a.c.a3.n0; +import c.i.a.c.c3.j; +import c.i.a.c.f3.g; +import c.i.b.b.p; +import java.util.List; +/* compiled from: AdaptiveTrackSelection */ +public class f extends g { + public final c.i.a.c.e3.f f; + public final g g; + + /* compiled from: AdaptiveTrackSelection */ + public static final class a { + public final long a; + public final long b; + + public a(long j, long j2) { + this.a = j; + this.b = j2; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof a)) { + return false; + } + a aVar = (a) obj; + return this.a == aVar.a && this.b == aVar.b; + } + + public int hashCode() { + return (((int) this.a) * 31) + ((int) this.b); + } + } + + /* compiled from: AdaptiveTrackSelection */ + public static class b implements j.b { + public final g a = g.a; + } + + public f(n0 n0Var, int[] iArr, int i, c.i.a.c.e3.f fVar, long j, long j2, long j3, int i2, int i3, float f, float f2, List list, g gVar) { + super(n0Var, iArr, i); + if (j3 < j) { + Log.w("AdaptiveTrackSelection", "Adjusting minDurationToRetainAfterDiscardMs to be at least minDurationForQualityIncreaseMs"); + } + this.f = fVar; + p.n(list); + this.g = gVar; + } + + public static void m(List> list, long[] jArr) { + long j = 0; + for (long j2 : jArr) { + j += j2; + } + for (int i = 0; i < list.size(); i++) { + p.a aVar = list.get(i); + if (aVar != null) { + aVar.b(new a(j, jArr[i])); + } + } + } + + @Override // c.i.a.c.c3.j + public int b() { + return 0; + } + + @Override // c.i.a.c.c3.g, c.i.a.c.c3.j + @CallSuper + public void e() { + } + + @Override // c.i.a.c.c3.g, c.i.a.c.c3.j + @CallSuper + public void g() { + } + + @Override // c.i.a.c.c3.g, c.i.a.c.c3.j + public void i(float f) { + } +} diff --git a/app/src/main/java/c/i/a/c/c3/g.java b/app/src/main/java/c/i/a/c/c3/g.java new file mode 100644 index 0000000000..46a220d7e9 --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/g.java @@ -0,0 +1,137 @@ +package c.i.a.c.c3; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.a3.n0; +import c.i.a.c.j1; +import java.util.Arrays; +import java.util.Objects; +/* compiled from: BaseTrackSelection */ +public abstract class g implements j { + public final n0 a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int[] f727c; + public final j1[] d; + public int e; + + public g(n0 n0Var, int[] iArr, int i) { + d.D(iArr.length > 0); + Objects.requireNonNull(n0Var); + this.a = n0Var; + int length = iArr.length; + this.b = length; + this.d = new j1[length]; + for (int i2 = 0; i2 < iArr.length; i2++) { + this.d[i2] = n0Var.k[iArr[i2]]; + } + Arrays.sort(this.d, a.i); + this.f727c = new int[this.b]; + int i3 = 0; + while (true) { + int i4 = this.b; + if (i3 < i4) { + int[] iArr2 = this.f727c; + j1 j1Var = this.d[i3]; + int i5 = 0; + while (true) { + j1[] j1VarArr = n0Var.k; + if (i5 >= j1VarArr.length) { + i5 = -1; + break; + } else if (j1Var == j1VarArr[i5]) { + break; + } else { + i5++; + } + } + iArr2[i3] = i5; + i3++; + } else { + long[] jArr = new long[i4]; + return; + } + } + } + + @Override // c.i.a.c.c3.m + public final n0 a() { + return this.a; + } + + @Override // c.i.a.c.c3.j + public /* synthetic */ void c(boolean z2) { + i.b(this, z2); + } + + @Override // c.i.a.c.c3.m + public final j1 d(int i) { + return this.d[i]; + } + + @Override // c.i.a.c.c3.j + public void e() { + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || getClass() != obj.getClass()) { + return false; + } + g gVar = (g) obj; + return this.a == gVar.a && Arrays.equals(this.f727c, gVar.f727c); + } + + @Override // c.i.a.c.c3.m + public final int f(int i) { + return this.f727c[i]; + } + + @Override // c.i.a.c.c3.j + public void g() { + } + + @Override // c.i.a.c.c3.j + public final j1 h() { + return this.d[b()]; + } + + public int hashCode() { + if (this.e == 0) { + this.e = Arrays.hashCode(this.f727c) + (System.identityHashCode(this.a) * 31); + } + return this.e; + } + + @Override // c.i.a.c.c3.j + public void i(float f) { + } + + @Override // c.i.a.c.c3.j + public /* synthetic */ void j() { + i.a(this); + } + + @Override // c.i.a.c.c3.j + public /* synthetic */ void k() { + i.c(this); + } + + @Override // c.i.a.c.c3.m + public final int l(int i) { + for (int i2 = 0; i2 < this.b; i2++) { + if (this.f727c[i2] == i) { + return i2; + } + } + return -1; + } + + @Override // c.i.a.c.c3.m + public final int length() { + return this.f727c.length; + } +} diff --git a/app/src/main/java/c/i/a/c/c3/h.java b/app/src/main/java/c/i/a/c/c3/h.java new file mode 100644 index 0000000000..ac4e0b30f0 --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/h.java @@ -0,0 +1,702 @@ +package c.i.a.c.c3; + +import android.content.Context; +import android.content.res.Configuration; +import android.content.res.Resources; +import android.graphics.Point; +import android.text.TextUtils; +import android.util.SparseArray; +import android.util.SparseBooleanArray; +import androidx.annotation.Nullable; +import c.i.a.c.a3.n0; +import c.i.a.c.a3.o0; +import c.i.a.c.c3.f; +import c.i.a.c.c3.j; +import c.i.a.c.c3.p; +import c.i.a.c.f3.e0; +import c.i.a.c.j1; +import c.i.a.c.w0; +import c.i.b.b.f0; +import c.i.b.b.g0; +import c.i.b.b.k0; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Iterator; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.concurrent.atomic.AtomicReference; +/* compiled from: DefaultTrackSelector */ +public class h extends l { + public static final int[] b = new int[0]; + + /* renamed from: c reason: collision with root package name */ + public static final g0 f728c = g0.a(c.i); + public static final g0 d = g0.a(b.i); + public final j.b e; + public final AtomicReference f; + + /* compiled from: DefaultTrackSelector */ + public static final class b implements Comparable { + public final boolean i; + @Nullable + public final String j; + public final d k; + public final boolean l; + public final int m; + public final int n; + public final int o; + public final int p; + public final int q; + public final boolean r; + + /* renamed from: s reason: collision with root package name */ + public final int f729s; + public final int t; + public final int u; + public final int v; + + /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x009f: APUT (r1v16 java.lang.String[]), (0 ??[int, short, byte, char]), (r9v23 java.lang.String) */ + public b(j1 j1Var, d dVar, int i) { + int i2; + int i3; + String[] strArr; + int i4; + this.k = dVar; + this.j = h.g(j1Var.m); + int i5 = 0; + this.l = h.e(i, false); + int i6 = 0; + while (true) { + i2 = Integer.MAX_VALUE; + if (i6 >= dVar.v.size()) { + i6 = Integer.MAX_VALUE; + i3 = 0; + break; + } + i3 = h.c(j1Var, dVar.v.get(i6), false); + if (i3 > 0) { + break; + } + i6++; + } + this.n = i6; + this.m = i3; + this.o = Integer.bitCount(j1Var.o & dVar.w); + this.r = (j1Var.n & 1) != 0; + int i7 = j1Var.I; + this.f729s = i7; + this.t = j1Var.J; + int i8 = j1Var.r; + this.u = i8; + this.i = (i8 == -1 || i8 <= dVar.f736y) && (i7 == -1 || i7 <= dVar.f735x); + int i9 = e0.a; + Configuration configuration = Resources.getSystem().getConfiguration(); + int i10 = e0.a; + if (i10 >= 24) { + strArr = e0.H(configuration.getLocales().toLanguageTags(), ","); + } else { + String[] strArr2 = new String[1]; + Locale locale = configuration.locale; + strArr2[0] = i10 >= 21 ? locale.toLanguageTag() : locale.toString(); + strArr = strArr2; + } + for (int i11 = 0; i11 < strArr.length; i11++) { + strArr[i11] = e0.C(strArr[i11]); + } + int i12 = 0; + while (true) { + if (i12 >= strArr.length) { + i12 = Integer.MAX_VALUE; + i4 = 0; + break; + } + i4 = h.c(j1Var, strArr[i12], false); + if (i4 > 0) { + break; + } + i12++; + } + this.p = i12; + this.q = i4; + while (true) { + if (i5 >= dVar.f737z.size()) { + break; + } + String str = j1Var.v; + if (str != null && str.equals(dVar.f737z.get(i5))) { + i2 = i5; + break; + } + i5++; + } + this.v = i2; + } + + /* renamed from: f */ + public int compareTo(b bVar) { + g0 b = (!this.i || !this.l) ? h.f728c.b() : h.f728c; + c.i.b.b.j c2 = c.i.b.b.j.a.c(this.l, bVar.l); + Integer valueOf = Integer.valueOf(this.n); + Integer valueOf2 = Integer.valueOf(bVar.n); + k0 k0Var = k0.i; + c.i.b.b.j b2 = c2.b(valueOf, valueOf2, k0Var).a(this.m, bVar.m).a(this.o, bVar.o).c(this.i, bVar.i).b(Integer.valueOf(this.v), Integer.valueOf(bVar.v), k0Var).b(Integer.valueOf(this.u), Integer.valueOf(bVar.u), this.k.D ? h.f728c.b() : h.d).c(this.r, bVar.r).b(Integer.valueOf(this.p), Integer.valueOf(bVar.p), k0Var).a(this.q, bVar.q).b(Integer.valueOf(this.f729s), Integer.valueOf(bVar.f729s), b).b(Integer.valueOf(this.t), Integer.valueOf(bVar.t), b); + Integer valueOf3 = Integer.valueOf(this.u); + Integer valueOf4 = Integer.valueOf(bVar.u); + if (!e0.a(this.j, bVar.j)) { + b = h.d; + } + return b2.b(valueOf3, valueOf4, b).e(); + } + } + + /* compiled from: DefaultTrackSelector */ + public static final class c implements Comparable { + public final boolean i; + public final boolean j; + + public c(j1 j1Var, int i) { + this.i = (j1Var.n & 1) == 0 ? false : true; + this.j = h.e(i, false); + } + + /* renamed from: f */ + public int compareTo(c cVar) { + return c.i.b.b.j.a.c(this.j, cVar.j).c(this.i, cVar.i).e(); + } + } + + /* compiled from: DefaultTrackSelector */ + public static final class d extends p implements w0 { + public static final d H = new e().d(); + public final int I; + public final boolean J; + public final boolean K; + public final boolean L; + public final boolean M; + public final boolean N; + public final boolean O; + public final boolean P; + public final boolean Q; + public final boolean R; + public final boolean S; + public final SparseArray> T; + public final SparseBooleanArray U; + + public d(e eVar, a aVar) { + super(eVar); + this.J = eVar.f730y; + this.K = eVar.f731z; + this.L = eVar.A; + this.M = eVar.B; + this.N = eVar.C; + this.O = eVar.D; + this.P = eVar.E; + this.I = eVar.F; + this.Q = eVar.G; + this.R = eVar.H; + this.S = eVar.I; + this.T = eVar.J; + this.U = eVar.K; + } + + /* JADX WARNING: Removed duplicated region for block: B:41:0x007f */ + /* JADX WARNING: Removed duplicated region for block: B:60:0x00e7 A[LOOP:1: B:45:0x0090->B:60:0x00e7, LOOP_END] */ + /* JADX WARNING: Removed duplicated region for block: B:67:0x008d A[EDGE_INSN: B:67:0x008d->B:43:0x008d ?: BREAK , SYNTHETIC] */ + @Override // c.i.a.c.c3.p + public boolean equals(@Nullable Object obj) { + boolean z2; + boolean z3; + boolean z4; + if (this == obj) { + return true; + } + if (obj == null || d.class != obj.getClass()) { + return false; + } + d dVar = (d) obj; + if (super.equals(dVar) && this.J == dVar.J && this.K == dVar.K && this.L == dVar.L && this.M == dVar.M && this.N == dVar.N && this.O == dVar.O && this.P == dVar.P && this.I == dVar.I && this.Q == dVar.Q && this.R == dVar.R && this.S == dVar.S) { + SparseBooleanArray sparseBooleanArray = this.U; + SparseBooleanArray sparseBooleanArray2 = dVar.U; + int size = sparseBooleanArray.size(); + if (sparseBooleanArray2.size() == size) { + int i = 0; + while (true) { + if (i >= size) { + z2 = true; + break; + } else if (sparseBooleanArray2.indexOfKey(sparseBooleanArray.keyAt(i)) < 0) { + break; + } else { + i++; + } + } + if (z2) { + SparseArray> sparseArray = this.T; + SparseArray> sparseArray2 = dVar.T; + int size2 = sparseArray.size(); + if (sparseArray2.size() == size2) { + int i2 = 0; + while (true) { + if (i2 < size2) { + int indexOfKey = sparseArray2.indexOfKey(sparseArray.keyAt(i2)); + if (indexOfKey < 0) { + break; + } + Map valueAt = sparseArray.valueAt(i2); + Map valueAt2 = sparseArray2.valueAt(indexOfKey); + if (valueAt2.size() == valueAt.size()) { + Iterator> it = valueAt.entrySet().iterator(); + while (true) { + if (!it.hasNext()) { + z4 = true; + break; + } + Map.Entry next = it.next(); + o0 key = next.getKey(); + if (valueAt2.containsKey(key)) { + if (!e0.a(next.getValue(), valueAt2.get(key))) { + break; + } + } else { + break; + } + } + if (z4) { + break; + } + i2++; + } + z4 = false; + if (z4) { + } + } else { + z3 = true; + break; + } + } + } + z3 = false; + if (z3) { + return true; + } + } + } + z2 = false; + if (z2) { + } + } + return false; + } + + @Override // c.i.a.c.c3.p + public int hashCode() { + return ((((((((((((((((((((((super.hashCode() + 31) * 31) + (this.J ? 1 : 0)) * 31) + (this.K ? 1 : 0)) * 31) + (this.L ? 1 : 0)) * 31) + (this.M ? 1 : 0)) * 31) + (this.N ? 1 : 0)) * 31) + (this.O ? 1 : 0)) * 31) + (this.P ? 1 : 0)) * 31) + this.I) * 31) + (this.Q ? 1 : 0)) * 31) + (this.R ? 1 : 0)) * 31) + (this.S ? 1 : 0); + } + } + + /* compiled from: DefaultTrackSelector */ + public static final class e extends p.a { + public boolean A; + public boolean B; + public boolean C; + public boolean D; + public boolean E; + public int F; + public boolean G; + public boolean H; + public boolean I; + public final SparseArray> J = new SparseArray<>(); + public final SparseBooleanArray K = new SparseBooleanArray(); + + /* renamed from: y reason: collision with root package name */ + public boolean f730y; + + /* renamed from: z reason: collision with root package name */ + public boolean f731z; + + @Deprecated + public e() { + e(); + } + + public e(Context context) { + a(context); + c(context, true); + e(); + } + + @Override // c.i.a.c.c3.p.a + public p.a a(Context context) { + super.a(context); + return this; + } + + @Override // c.i.a.c.c3.p.a + public p.a b(int i, int i2, boolean z2) { + this.i = i; + this.j = i2; + this.k = z2; + return this; + } + + @Override // c.i.a.c.c3.p.a + public p.a c(Context context, boolean z2) { + super.c(context, z2); + return this; + } + + public d d() { + return new d(this, null); + } + + public final void e() { + this.f730y = true; + this.f731z = false; + this.A = true; + this.B = true; + this.C = false; + this.D = false; + this.E = false; + this.F = 0; + this.G = true; + this.H = false; + this.I = true; + } + } + + /* compiled from: DefaultTrackSelector */ + public static final class f implements w0 { + public final int i; + public final int[] j; + public final int k; + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || f.class != obj.getClass()) { + return false; + } + f fVar = (f) obj; + return this.i == fVar.i && Arrays.equals(this.j, fVar.j) && this.k == fVar.k; + } + + public int hashCode() { + return ((Arrays.hashCode(this.j) + (this.i * 31)) * 31) + this.k; + } + } + + /* compiled from: DefaultTrackSelector */ + public static final class g implements Comparable { + public final boolean i; + public final boolean j; + public final boolean k; + public final boolean l; + public final int m; + public final int n; + public final int o; + public final int p; + public final boolean q; + + public g(j1 j1Var, d dVar, int i, @Nullable String str) { + int i2; + boolean z2 = false; + this.j = h.e(i, false); + int i3 = j1Var.n & (~dVar.I); + this.k = (i3 & 1) != 0; + this.l = (i3 & 2) != 0; + int i4 = Integer.MAX_VALUE; + c.i.b.b.p u = dVar.A.isEmpty() ? c.i.b.b.p.u("") : dVar.A; + int i5 = 0; + while (true) { + if (i5 >= u.size()) { + i2 = 0; + break; + } + i2 = h.c(j1Var, u.get(i5), dVar.C); + if (i2 > 0) { + i4 = i5; + break; + } + i5++; + } + this.m = i4; + this.n = i2; + int bitCount = Integer.bitCount(j1Var.o & dVar.B); + this.o = bitCount; + this.q = (j1Var.o & 1088) != 0; + int c2 = h.c(j1Var, str, h.g(str) == null); + this.p = c2; + if (i2 > 0 || ((dVar.A.isEmpty() && bitCount > 0) || this.k || (this.l && c2 > 0))) { + z2 = true; + } + this.i = z2; + } + + /* JADX WARN: Multi-variable type inference failed */ + /* JADX WARNING: Unknown variable types count: 1 */ + /* renamed from: f */ + public int compareTo(g gVar) { + c.i.b.b.j c2 = c.i.b.b.j.a.c(this.j, gVar.j); + Integer valueOf = Integer.valueOf(this.m); + Integer valueOf2 = Integer.valueOf(gVar.m); + f0 f0Var = f0.i; + ?? r4 = k0.i; + c.i.b.b.j c3 = c2.b(valueOf, valueOf2, r4).a(this.n, gVar.n).a(this.o, gVar.o).c(this.k, gVar.k); + Boolean valueOf3 = Boolean.valueOf(this.l); + Boolean valueOf4 = Boolean.valueOf(gVar.l); + if (this.n != 0) { + f0Var = r4; + } + c.i.b.b.j a = c3.b(valueOf3, valueOf4, f0Var).a(this.p, gVar.p); + if (this.o == 0) { + a = a.d(this.q, gVar.q); + } + return a.e(); + } + } + + /* compiled from: DefaultTrackSelector */ + /* renamed from: c.i.a.c.c3.h$h reason: collision with other inner class name */ + public static final class C0091h implements Comparable { + public final boolean i; + public final d j; + public final boolean k; + public final boolean l; + public final int m; + public final int n; + public final int o; + + /* JADX WARNING: Code restructure failed: missing block: B:33:0x0053, code lost: + if (r10 < ((float) r8.p)) goto L_0x005e; + */ + /* JADX WARNING: Code restructure failed: missing block: B:37:0x005b, code lost: + if (r10 < r8.q) goto L_0x005e; + */ + /* JADX WARNING: Removed duplicated region for block: B:32:0x004e */ + /* JADX WARNING: Removed duplicated region for block: B:36:0x0059 */ + /* JADX WARNING: Removed duplicated region for block: B:47:0x0083 */ + /* JADX WARNING: Removed duplicated region for block: B:55:0x0098 A[EDGE_INSN: B:55:0x0098->B:53:0x0098 ?: BREAK , SYNTHETIC] */ + public C0091h(j1 j1Var, d dVar, int i, boolean z2) { + boolean z3; + int i2; + int i3; + int i4; + int i5; + float f; + int i6; + int i7; + int i8; + int i9; + this.j = dVar; + int i10 = 0; + boolean z4 = true; + int i11 = -1; + if (z2 && (((i7 = j1Var.A) == -1 || i7 <= dVar.j) && ((i8 = j1Var.B) == -1 || i8 <= dVar.k))) { + float f2 = j1Var.C; + if ((f2 == -1.0f || f2 <= ((float) dVar.l)) && ((i9 = j1Var.r) == -1 || i9 <= dVar.m)) { + z3 = true; + this.i = z3; + if (z2 && (((i4 = j1Var.A) == -1 || i4 >= dVar.n) && ((i5 = j1Var.B) == -1 || i5 >= dVar.o))) { + f = j1Var.C; + if (f != -1.0f) { + } + i6 = j1Var.r; + if (i6 != -1) { + } + this.k = z4; + this.l = h.e(i, false); + this.m = j1Var.r; + i2 = j1Var.A; + if (!(i2 == -1 || (i3 = j1Var.B) == -1)) { + i11 = i2 * i3; + } + this.n = i11; + int i12 = Integer.MAX_VALUE; + while (true) { + if (i10 < dVar.u.size()) { + String str = j1Var.v; + if (str != null && str.equals(dVar.u.get(i10))) { + i12 = i10; + break; + } + i10++; + } else { + break; + } + } + this.o = i12; + } + z4 = false; + this.k = z4; + this.l = h.e(i, false); + this.m = j1Var.r; + i2 = j1Var.A; + i11 = i2 * i3; + this.n = i11; + int i12 = Integer.MAX_VALUE; + while (true) { + if (i10 < dVar.u.size()) { + } + i10++; + } + this.o = i12; + } + } + z3 = false; + this.i = z3; + f = j1Var.C; + if (f != -1.0f) { + } + i6 = j1Var.r; + if (i6 != -1) { + } + this.k = z4; + this.l = h.e(i, false); + this.m = j1Var.r; + i2 = j1Var.A; + i11 = i2 * i3; + this.n = i11; + int i12 = Integer.MAX_VALUE; + while (true) { + if (i10 < dVar.u.size()) { + } + i10++; + } + this.o = i12; + } + + /* renamed from: f */ + public int compareTo(C0091h hVar) { + Object b = (!this.i || !this.l) ? h.f728c.b() : h.f728c; + return c.i.b.b.j.a.c(this.l, hVar.l).c(this.i, hVar.i).c(this.k, hVar.k).b(Integer.valueOf(this.o), Integer.valueOf(hVar.o), k0.i).b(Integer.valueOf(this.m), Integer.valueOf(hVar.m), this.j.D ? h.f728c.b() : h.d).b(Integer.valueOf(this.n), Integer.valueOf(hVar.n), b).b(Integer.valueOf(this.m), Integer.valueOf(hVar.m), b).e(); + } + } + + public h(Context context) { + f.b bVar = new f.b(); + d dVar = d.H; + d d2 = new e(context).d(); + this.e = bVar; + this.f = new AtomicReference<>(d2); + } + + public static int c(j1 j1Var, @Nullable String str, boolean z2) { + if (!TextUtils.isEmpty(str) && str.equals(j1Var.m)) { + return 4; + } + String g2 = g(str); + String g3 = g(j1Var.m); + if (g3 == null || g2 == null) { + return (!z2 || g3 != null) ? 0 : 1; + } + if (g3.startsWith(g2) || g2.startsWith(g3)) { + return 3; + } + int i = e0.a; + return g3.split("-", 2)[0].equals(g2.split("-", 2)[0]) ? 2 : 0; + } + + /* JADX WARNING: Removed duplicated region for block: B:25:0x004d */ + /* JADX WARNING: Removed duplicated region for block: B:26:0x0057 */ + public static List d(n0 n0Var, int i, int i2, boolean z2) { + int i3; + int i4; + int i5; + int i6; + int i7; + ArrayList arrayList = new ArrayList(n0Var.j); + for (int i8 = 0; i8 < n0Var.j; i8++) { + arrayList.add(Integer.valueOf(i8)); + } + if (!(i == Integer.MAX_VALUE || i2 == Integer.MAX_VALUE)) { + int i9 = 0; + int i10 = Integer.MAX_VALUE; + while (true) { + boolean z3 = true; + if (i9 >= n0Var.j) { + break; + } + j1 j1Var = n0Var.k[i9]; + int i11 = j1Var.A; + if (i11 > 0 && (i4 = j1Var.B) > 0) { + if (z2) { + boolean z4 = i11 > i4; + if (i <= i2) { + z3 = false; + } + if (z4 != z3) { + i6 = i; + i5 = i2; + int i12 = i11 * i6; + int i13 = i4 * i5; + Point point = i12 < i13 ? new Point(i5, e0.f(i13, i11)) : new Point(e0.f(i12, i4), i6); + int i14 = j1Var.A; + int i15 = j1Var.B; + i7 = i14 * i15; + if (i14 >= ((int) (((float) point.x) * 0.98f)) && i15 >= ((int) (((float) point.y) * 0.98f)) && i7 < i10) { + i10 = i7; + } + } + } + i5 = i; + i6 = i2; + int i12 = i11 * i6; + int i13 = i4 * i5; + if (i12 < i13) { + } + int i14 = j1Var.A; + int i15 = j1Var.B; + i7 = i14 * i15; + i10 = i7; + } + i9++; + } + if (i10 != Integer.MAX_VALUE) { + for (int size = arrayList.size() - 1; size >= 0; size--) { + j1 j1Var2 = n0Var.k[((Integer) arrayList.get(size)).intValue()]; + int i16 = j1Var2.A; + int i17 = (i16 == -1 || (i3 = j1Var2.B) == -1) ? -1 : i16 * i3; + if (i17 == -1 || i17 > i10) { + arrayList.remove(size); + } + } + } + } + return arrayList; + } + + public static boolean e(int i, boolean z2) { + int i2 = i & 7; + return i2 == 4 || (z2 && i2 == 3); + } + + public static boolean f(j1 j1Var, @Nullable String str, int i, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10) { + int i11; + if ((j1Var.o & 16384) != 0 || !e(i, false) || (i & i2) == 0) { + return false; + } + if (str != null && !e0.a(j1Var.v, str)) { + return false; + } + int i12 = j1Var.A; + if (i12 != -1 && (i7 > i12 || i12 > i3)) { + return false; + } + int i13 = j1Var.B; + if (i13 != -1 && (i8 > i13 || i13 > i4)) { + return false; + } + float f2 = j1Var.C; + return (f2 == -1.0f || (((float) i9) <= f2 && f2 <= ((float) i5))) && (i11 = j1Var.r) != -1 && i10 <= i11 && i11 <= i6; + } + + @Nullable + public static String g(@Nullable String str) { + if (TextUtils.isEmpty(str) || TextUtils.equals(str, "und")) { + return null; + } + return str; + } +} diff --git a/app/src/main/java/c/i/a/c/c3/i.java b/app/src/main/java/c/i/a/c/c3/i.java new file mode 100644 index 0000000000..9e4a3357c5 --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/i.java @@ -0,0 +1,12 @@ +package c.i.a.c.c3; +/* compiled from: ExoTrackSelection */ +public final /* synthetic */ class i { + public static void a(j jVar) { + } + + public static void b(j jVar, boolean z2) { + } + + public static void c(j jVar) { + } +} diff --git a/app/src/main/java/c/i/a/c/c3/j.java b/app/src/main/java/c/i/a/c/c3/j.java new file mode 100644 index 0000000000..e5e14be24f --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/j.java @@ -0,0 +1,48 @@ +package c.i.a.c.c3; + +import c.i.a.c.a3.n0; +import c.i.a.c.j1; +/* compiled from: ExoTrackSelection */ +public interface j extends m { + + /* compiled from: ExoTrackSelection */ + public static final class a { + public final n0 a; + public final int[] b; + + /* renamed from: c reason: collision with root package name */ + public final int f732c; + + public a(n0 n0Var, int... iArr) { + this.a = n0Var; + this.b = iArr; + this.f732c = 0; + } + + public a(n0 n0Var, int[] iArr, int i) { + this.a = n0Var; + this.b = iArr; + this.f732c = i; + } + } + + /* compiled from: ExoTrackSelection */ + public interface b { + } + + int b(); + + void c(boolean z2); + + void e(); + + void g(); + + j1 h(); + + void i(float f); + + void j(); + + void k(); +} diff --git a/app/src/main/java/c/i/a/c/c3/k.java b/app/src/main/java/c/i/a/c/c3/k.java new file mode 100644 index 0000000000..b9a3e622a4 --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/k.java @@ -0,0 +1,14 @@ +package c.i.a.c.c3; + +import c.i.a.c.a3.n0; +/* compiled from: FixedTrackSelection */ +public final class k extends g { + public k(n0 n0Var, int i, int i2) { + super(n0Var, new int[]{i}, i2); + } + + @Override // c.i.a.c.c3.j + public int b() { + return 0; + } +} diff --git a/app/src/main/java/c/i/a/c/c3/l.java b/app/src/main/java/c/i/a/c/c3/l.java new file mode 100644 index 0000000000..27780e33b2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/l.java @@ -0,0 +1,985 @@ +package c.i.a.c.c3; + +import android.text.TextUtils; +import android.util.Pair; +import androidx.annotation.Nullable; +import androidx.annotation.VisibleForTesting; +import c.i.a.c.a3.a0; +import c.i.a.c.a3.n0; +import c.i.a.c.a3.o0; +import c.i.a.c.c3.f; +import c.i.a.c.c3.h; +import c.i.a.c.c3.j; +import c.i.a.c.c3.o; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.t; +import c.i.a.c.g2; +import c.i.a.c.h2; +import c.i.a.c.j1; +import c.i.a.c.o2; +import c.i.a.c.p2; +import c.i.a.c.v0; +import c.i.a.f.e.o.f; +import c.i.b.b.c0; +import c.i.b.b.d0; +import c.i.b.b.f0; +import c.i.b.b.g; +import c.i.b.b.h0; +import c.i.b.b.n; +import c.i.b.b.p; +import com.google.android.exoplayer2.ExoPlaybackException; +import com.google.android.material.shadow.ShadowDrawableWrapper; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collection; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.TreeMap; +/* compiled from: MappingTrackSelector */ +public abstract class l extends q { + + /* compiled from: MappingTrackSelector */ + public static final class a { + public final int a; + public final int[] b; + + /* renamed from: c reason: collision with root package name */ + public final o0[] f733c; + public final int[] d; + public final int[][][] e; + public final o0 f; + + @VisibleForTesting + public a(String[] strArr, int[] iArr, o0[] o0VarArr, int[] iArr2, int[][][] iArr3, o0 o0Var) { + this.b = iArr; + this.f733c = o0VarArr; + this.e = iArr3; + this.d = iArr2; + this.f = o0Var; + this.a = iArr.length; + } + + public int a(int i, int i2, int i3) { + return this.e[i][i2][i3] & 7; + } + } + + @Override // c.i.a.c.c3.q + public final void a(@Nullable Object obj) { + a aVar = (a) obj; + } + + /* JADX WARNING: Code restructure failed: missing block: B:445:0x095b, code lost: + if (r7 == 2) goto L_0x0961; + */ + /* JADX WARNING: Removed duplicated region for block: B:108:0x028d A[LOOP:8: B:65:0x0159->B:108:0x028d, LOOP_END] */ + /* JADX WARNING: Removed duplicated region for block: B:222:0x04bc */ + /* JADX WARNING: Removed duplicated region for block: B:480:0x09cb */ + /* JADX WARNING: Removed duplicated region for block: B:504:0x0a30 */ + /* JADX WARNING: Removed duplicated region for block: B:527:0x0287 A[SYNTHETIC] */ + @Override // c.i.a.c.c3.q + public final r b(g2[] g2VarArr, o0 o0Var, a0.a aVar, o2 o2Var) throws ExoPlaybackException { + int i; + o0 o0Var2; + int i2; + boolean z2; + int i3; + boolean z3; + boolean z4; + j jVar; + int[] iArr; + int[] iArr2; + h.d dVar; + String str; + Pair pair; + n0 n0Var; + int[][] iArr3; + String str2; + int[][] iArr4; + h.d dVar2; + a aVar2; + int i4; + int i5; + String str3; + Pair pair2; + j.a aVar3; + int[] iArr5; + int i6; + int i7; + int i8; + String str4; + int i9; + n0 n0Var2; + int i10; + j.a[] aVarArr; + int i11; + int[][][] iArr6; + int[] iArr7; + h hVar; + h.d dVar3; + boolean z5; + o0 o0Var3; + h.d dVar4; + int[][] iArr8; + a aVar4; + j.a aVar5; + boolean z6; + int[] iArr9; + ArrayList arrayList; + List list; + String str5; + ArrayList arrayList2; + int i12; + HashSet hashSet; + int[] iArr10; + o0 o0Var4 = o0Var; + int[] iArr11 = new int[(g2VarArr.length + 1)]; + int length = g2VarArr.length + 1; + n0[][] n0VarArr = new n0[length][]; + int[][][] iArr12 = new int[(g2VarArr.length + 1)][][]; + int i13 = 0; + for (int i14 = 0; i14 < length; i14++) { + int i15 = o0Var4.j; + n0VarArr[i14] = new n0[i15]; + iArr12[i14] = new int[i15][]; + } + int length2 = g2VarArr.length; + int[] iArr13 = new int[length2]; + for (int i16 = 0; i16 < length2; i16++) { + iArr13[i16] = g2VarArr[i16].p(); + } + int i17 = 0; + while (i17 < o0Var4.j) { + n0 n0Var3 = o0Var4.k[i17]; + boolean z7 = t.g(n0Var3.k[i13].v) == 5; + int length3 = g2VarArr.length; + int i18 = 0; + int i19 = 0; + boolean z8 = true; + while (i18 < g2VarArr.length) { + g2 g2Var = g2VarArr[i18]; + int i20 = 0; + while (i13 < n0Var3.j) { + i20 = Math.max(i20, g2Var.a(n0Var3.k[i13]) & 7); + i13++; + } + boolean z9 = iArr11[i18] == 0; + if (i20 > i19 || (i20 == i19 && z7 && !z8 && z9)) { + z8 = z9; + i19 = i20; + length3 = i18; + } + i18++; + i13 = 0; + } + if (length3 == g2VarArr.length) { + iArr10 = new int[n0Var3.j]; + } else { + g2 g2Var2 = g2VarArr[length3]; + int[] iArr14 = new int[n0Var3.j]; + for (int i21 = 0; i21 < n0Var3.j; i21++) { + iArr14[i21] = g2Var2.a(n0Var3.k[i21]); + } + iArr10 = iArr14; + } + int i22 = iArr11[length3]; + n0VarArr[length3][i22] = n0Var3; + iArr12[length3][i22] = iArr10; + iArr11[length3] = iArr11[length3] + 1; + i17++; + o0Var4 = o0Var; + i13 = 0; + } + o0[] o0VarArr = new o0[g2VarArr.length]; + String[] strArr = new String[g2VarArr.length]; + int[] iArr15 = new int[g2VarArr.length]; + for (int i23 = 0; i23 < g2VarArr.length; i23++) { + int i24 = iArr11[i23]; + o0VarArr[i23] = new o0((n0[]) e0.D(n0VarArr[i23], i24)); + iArr12[i23] = (int[][]) e0.D(iArr12[i23], i24); + strArr[i23] = g2VarArr[i23].getName(); + iArr15[i23] = ((v0) g2VarArr[i23]).i; + } + a aVar6 = new a(strArr, iArr15, o0VarArr, iArr13, iArr12, new o0((n0[]) e0.D(n0VarArr[g2VarArr.length], iArr11[g2VarArr.length]))); + h hVar2 = (h) this; + h.d dVar5 = hVar2.f.get(); + int i25 = aVar6.a; + j.a[] aVarArr2 = new j.a[i25]; + a aVar7 = aVar6; + h.d dVar6 = dVar5; + int i26 = 0; + boolean z10 = false; + boolean z11 = false; + while (i26 < i25) { + if (2 == aVar7.b[i26]) { + if (!z11) { + o0 o0Var5 = aVar7.f733c[i26]; + int[][] iArr16 = iArr12[i26]; + int i27 = iArr13[i26]; + if (!dVar6.E && !dVar6.D) { + int i28 = dVar6.L ? 24 : 16; + boolean z12 = dVar6.K && (i27 & i28) != 0; + h.d dVar7 = dVar6; + int i29 = 0; + while (true) { + if (i29 >= o0Var5.j) { + break; + } + n0 n0Var4 = o0Var5.k[i29]; + int[] iArr17 = iArr16[i29]; + hVar = hVar2; + int i30 = dVar7.j; + iArr7 = iArr13; + int i31 = dVar7.k; + iArr6 = iArr12; + int i32 = dVar7.l; + i11 = i25; + int i33 = dVar7.m; + z5 = z10; + int i34 = dVar7.n; + aVar4 = aVar6; + int i35 = dVar7.o; + aVarArr = aVarArr2; + int i36 = dVar7.p; + i10 = i26; + int i37 = dVar7.q; + iArr8 = iArr16; + int i38 = dVar7.r; + dVar4 = dVar5; + int i39 = dVar7.f734s; + boolean z13 = dVar7.t; + o0Var3 = o0Var5; + if (n0Var4.j < 2) { + iArr9 = h.b; + } else { + List d = h.d(n0Var4, i38, i39, z13); + ArrayList arrayList3 = (ArrayList) d; + if (arrayList3.size() < 2) { + iArr9 = h.b; + } else { + if (!z12) { + HashSet hashSet2 = new HashSet(); + z6 = z12; + int i40 = 0; + int i41 = 0; + str5 = null; + while (i41 < arrayList3.size()) { + String str6 = n0Var4.k[((Integer) arrayList3.get(i41)).intValue()].v; + if (hashSet2.add(str6)) { + hashSet = hashSet2; + i12 = i41; + int i42 = 0; + int i43 = 0; + while (i43 < arrayList3.size()) { + int intValue = ((Integer) arrayList3.get(i43)).intValue(); + if (h.f(n0Var4.k[intValue], str6, iArr17[intValue], i28, i30, i31, i32, i33, i34, i35, i36, i37)) { + i42++; + } + i43++; + arrayList3 = arrayList3; + } + arrayList2 = arrayList3; + if (i42 > i40) { + str5 = str6; + i40 = i42; + } + } else { + arrayList2 = arrayList3; + hashSet = hashSet2; + i12 = i41; + } + i41 = i12 + 1; + d = d; + hashSet2 = hashSet; + arrayList3 = arrayList2; + } + list = d; + arrayList = arrayList3; + } else { + list = d; + arrayList = arrayList3; + z6 = z12; + str5 = null; + } + int size = arrayList.size(); + while (true) { + size--; + if (size < 0) { + break; + } + int intValue2 = ((Integer) arrayList.get(size)).intValue(); + if (!h.f(n0Var4.k[intValue2], str5, iArr17[intValue2], i28, i30, i31, i32, i33, i34, i35, i36, i37)) { + arrayList.remove(size); + } + arrayList = arrayList; + } + iArr9 = arrayList.size() < 2 ? h.b : f.Z0(list); + if (iArr9.length <= 0) { + aVar5 = new j.a(n0Var4, iArr9); + break; + } + i29++; + hVar2 = hVar; + iArr13 = iArr7; + iArr12 = iArr6; + i25 = i11; + z10 = z5; + aVar6 = aVar4; + aVarArr2 = aVarArr; + i26 = i10; + iArr16 = iArr8; + dVar5 = dVar4; + dVar7 = dVar5; + o0Var5 = o0Var3; + z12 = z6; + } + } + z6 = z12; + if (iArr9.length <= 0) { + } + } + } + aVar4 = aVar6; + hVar = hVar2; + dVar4 = dVar5; + i11 = i25; + aVarArr = aVarArr2; + i10 = i26; + iArr6 = iArr12; + z5 = z10; + o0Var3 = o0Var5; + iArr8 = iArr16; + iArr7 = iArr13; + aVar5 = null; + if (aVar5 == null) { + n0 n0Var5 = null; + h.C0091h hVar3 = null; + int i44 = 0; + int i45 = -1; + while (i44 < o0Var3.j) { + n0 n0Var6 = o0Var3.k[i44]; + List d2 = h.d(n0Var6, dVar4.r, dVar4.f734s, dVar4.t); + int[] iArr18 = iArr8[i44]; + h.C0091h hVar4 = hVar3; + n0 n0Var7 = n0Var5; + for (int i46 = 0; i46 < n0Var6.j; i46++) { + j1 j1Var = n0Var6.k[i46]; + if ((j1Var.o & 16384) == 0 && h.e(iArr18[i46], dVar4.Q)) { + h.C0091h hVar5 = new h.C0091h(j1Var, dVar4, iArr18[i46], ((ArrayList) d2).contains(Integer.valueOf(i46))); + if ((hVar5.i || dVar4.J) && (hVar4 == null || hVar5.compareTo(hVar4) > 0)) { + i45 = i46; + n0Var7 = n0Var6; + hVar4 = hVar5; + } + } + } + i44++; + n0Var5 = n0Var7; + dVar4 = dVar4; + hVar3 = hVar4; + } + dVar3 = dVar4; + aVar5 = n0Var5 == null ? null : new j.a(n0Var5, i45); + } else { + dVar3 = dVar4; + } + aVarArr[i10] = aVar5; + z11 = aVarArr[i10] != null; + dVar6 = dVar3; + aVar6 = aVar4; + } else { + hVar = hVar2; + i11 = i25; + aVarArr = aVarArr2; + i10 = i26; + iArr6 = iArr12; + z5 = z10; + iArr7 = iArr13; + dVar3 = dVar5; + } + aVar7 = aVar6; + z10 = z5 | (aVar6.f733c[i10].j > 0); + } else { + hVar = hVar2; + i11 = i25; + aVarArr = aVarArr2; + i10 = i26; + iArr6 = iArr12; + iArr7 = iArr13; + dVar3 = dVar5; + } + dVar5 = dVar3; + iArr13 = iArr7; + iArr12 = iArr6; + i25 = i11; + aVarArr2 = aVarArr; + i26 = i10 + 1; + hVar2 = hVar; + } + h.d dVar8 = dVar5; + int i47 = i25; + h.b bVar = null; + int i48 = -1; + int i49 = 0; + String str7 = null; + while (i49 < i47) { + if (1 == aVar7.b[i49]) { + boolean z14 = dVar6.S || !z10; + o0 o0Var6 = aVar7.f733c[i49]; + int[][] iArr19 = iArr12[i49]; + int i50 = iArr13[i49]; + h.b bVar2 = null; + int i51 = -1; + int i52 = -1; + int i53 = 0; + while (i53 < o0Var6.j) { + n0 n0Var8 = o0Var6.k[i53]; + int[] iArr20 = iArr19[i53]; + int i54 = i51; + int i55 = i52; + h.b bVar3 = bVar2; + int i56 = 0; + while (i56 < n0Var8.j) { + if (h.e(iArr20[i56], dVar6.Q)) { + n0Var2 = n0Var8; + h.b bVar4 = new h.b(n0Var8.k[i56], dVar6, iArr20[i56]); + if ((bVar4.i || dVar6.M) && (bVar3 == null || bVar4.compareTo(bVar3) > 0)) { + i55 = i56; + bVar3 = bVar4; + i54 = i53; + } + } else { + n0Var2 = n0Var8; + } + i56++; + str7 = str7; + n0Var8 = n0Var2; + } + i53++; + bVar2 = bVar3; + i52 = i55; + i51 = i54; + } + str3 = str7; + if (i51 == -1) { + aVar2 = aVar6; + i5 = i49; + i4 = i47; + dVar2 = dVar8; + pair2 = null; + } else { + n0 n0Var9 = o0Var6.k[i51]; + if (dVar6.E || dVar6.D || !z14) { + aVar2 = aVar6; + i5 = i49; + i4 = i47; + dVar2 = dVar8; + } else { + int[] iArr21 = iArr19[i51]; + int i57 = dVar6.f736y; + boolean z15 = dVar6.N; + boolean z16 = dVar6.O; + boolean z17 = dVar6.P; + j1 j1Var2 = n0Var9.k[i52]; + int[] iArr22 = new int[n0Var9.j]; + aVar2 = aVar6; + i4 = i47; + dVar2 = dVar8; + int i58 = 0; + int i59 = 0; + while (i59 < n0Var9.j) { + if (i59 != i52) { + j1 j1Var3 = n0Var9.k[i59]; + i6 = i49; + iArr5 = iArr21; + if (!(h.e(iArr21[i59], false) && (i7 = j1Var3.r) != -1 && i7 <= i57 && (z17 || ((i9 = j1Var3.I) != -1 && i9 == j1Var2.I)) && ((z15 || ((str4 = j1Var3.v) != null && TextUtils.equals(str4, j1Var2.v))) && (z16 || ((i8 = j1Var3.J) != -1 && i8 == j1Var2.J))))) { + i59++; + i49 = i6; + iArr21 = iArr5; + } + } else { + i6 = i49; + iArr5 = iArr21; + } + iArr22[i58] = i59; + i58++; + i59++; + i49 = i6; + iArr21 = iArr5; + } + i5 = i49; + int[] copyOf = Arrays.copyOf(iArr22, i58); + if (copyOf.length > 1) { + aVar3 = new j.a(n0Var9, copyOf); + if (aVar3 == null) { + aVar3 = new j.a(n0Var9, i52); + } + Objects.requireNonNull(bVar2); + pair2 = Pair.create(aVar3, bVar2); + } + } + aVar3 = null; + if (aVar3 == null) { + } + Objects.requireNonNull(bVar2); + pair2 = Pair.create(aVar3, bVar2); + } + if (pair2 != null && (bVar == null || ((h.b) pair2.second).compareTo(bVar) > 0)) { + if (i48 != -1) { + aVarArr2[i48] = null; + } + j.a aVar8 = (j.a) pair2.first; + aVarArr2[i5] = aVar8; + str7 = aVar8.a.k[aVar8.b[0]].m; + i48 = i5; + bVar = (h.b) pair2.second; + i49 = i5 + 1; + i47 = i4; + aVar6 = aVar2; + aVar7 = aVar6; + dVar8 = dVar2; + dVar6 = dVar8; + } + } else { + aVar2 = aVar6; + i5 = i49; + i4 = i47; + dVar2 = dVar8; + str3 = str7; + } + str7 = str3; + i49 = i5 + 1; + i47 = i4; + aVar6 = aVar2; + aVar7 = aVar6; + dVar8 = dVar2; + dVar6 = dVar8; + } + a aVar9 = aVar6; + h.d dVar9 = dVar8; + String str8 = str7; + int i60 = -1; + int i61 = 0; + h.g gVar = null; + while (i61 < i47) { + int i62 = aVar9.b[i61]; + if (i62 == 1 || i62 == 2) { + str = str8; + dVar = dVar9; + } else if (i62 != 3) { + o0 o0Var7 = aVar9.f733c[i61]; + int[][] iArr23 = iArr12[i61]; + n0 n0Var10 = null; + h.c cVar = null; + int i63 = 0; + int i64 = 0; + while (i63 < o0Var7.j) { + n0 n0Var11 = o0Var7.k[i63]; + int[] iArr24 = iArr23[i63]; + int i65 = i64; + h.c cVar2 = cVar; + n0 n0Var12 = n0Var10; + int i66 = 0; + while (i66 < n0Var11.j) { + if (h.e(iArr24[i66], dVar9.Q)) { + iArr4 = iArr23; + h.c cVar3 = new h.c(n0Var11.k[i66], iArr24[i66]); + if (cVar2 == null || cVar3.compareTo(cVar2) > 0) { + i65 = i66; + n0Var12 = n0Var11; + cVar2 = cVar3; + } + } else { + iArr4 = iArr23; + } + i66++; + dVar9 = dVar9; + o0Var7 = o0Var7; + iArr23 = iArr4; + } + i63++; + n0Var10 = n0Var12; + cVar = cVar2; + i64 = i65; + } + dVar = dVar9; + aVarArr2[i61] = n0Var10 == null ? null : new j.a(n0Var10, i64); + str = str8; + } else { + dVar = dVar9; + o0 o0Var8 = aVar9.f733c[i61]; + int[][] iArr25 = iArr12[i61]; + n0 n0Var13 = null; + h.g gVar2 = null; + int i67 = -1; + int i68 = 0; + while (i68 < o0Var8.j) { + n0 n0Var14 = o0Var8.k[i68]; + int[] iArr26 = iArr25[i68]; + int i69 = i67; + h.g gVar3 = gVar2; + n0 n0Var15 = n0Var13; + int i70 = 0; + while (i70 < n0Var14.j) { + if (h.e(iArr26[i70], dVar.Q)) { + iArr3 = iArr25; + n0Var = n0Var14; + str2 = str8; + h.g gVar4 = new h.g(n0Var14.k[i70], dVar, iArr26[i70], str2); + if (gVar4.i && (gVar3 == null || gVar4.compareTo(gVar3) > 0)) { + i69 = i70; + gVar3 = gVar4; + n0Var15 = n0Var; + } + } else { + iArr3 = iArr25; + n0Var = n0Var14; + str2 = str8; + } + i70++; + str8 = str2; + o0Var8 = o0Var8; + iArr25 = iArr3; + n0Var14 = n0Var; + } + i68++; + n0Var13 = n0Var15; + gVar2 = gVar3; + i67 = i69; + } + str = str8; + if (n0Var13 == null) { + pair = null; + } else { + j.a aVar10 = new j.a(n0Var13, i67); + Objects.requireNonNull(gVar2); + pair = Pair.create(aVar10, gVar2); + } + if (pair != null && (gVar == null || ((h.g) pair.second).compareTo(gVar) > 0)) { + if (i60 != -1) { + aVarArr2[i60] = null; + } + aVarArr2[i61] = (j.a) pair.first; + gVar = (h.g) pair.second; + i60 = i61; + } + } + i61++; + aVar9 = aVar9; + str8 = str; + dVar9 = dVar; + } + for (int i71 = 0; i71 < i47; i71++) { + j.a aVar11 = aVarArr2[i71]; + int i72 = aVar9.b[i71]; + if (!dVar9.U.get(i71) && !dVar9.G.contains(Integer.valueOf(i72))) { + o0 o0Var9 = aVar9.f733c[i71]; + Map map = dVar9.T.get(i71); + if (map != null && map.containsKey(o0Var9)) { + Map map2 = dVar9.T.get(i71); + h.f fVar = map2 != null ? map2.get(o0Var9) : null; + if (fVar != null) { + aVar11 = new j.a(o0Var9.k[fVar.i], fVar.j, fVar.k); + } + } else { + int i73 = 0; + while (true) { + if (i73 >= o0Var9.j) { + break; + } + n0 n0Var16 = o0Var9.k[i73]; + o.a aVar12 = dVar9.F.k.get(n0Var16); + if (aVar12 != null) { + aVar11 = new j.a(n0Var16, f.Z0(aVar12.k)); + break; + } + i73++; + } + } + aVarArr2[i71] = aVar11; + } + aVar11 = null; + aVarArr2[i71] = aVar11; + } + j.b bVar5 = hVar2.e; + c.i.a.c.e3.f fVar2 = hVar2.a; + Objects.requireNonNull(fVar2); + Objects.requireNonNull((f.b) bVar5); + ArrayList arrayList4 = new ArrayList(); + for (int i74 = 0; i74 < i47; i74++) { + if (aVarArr2[i74] == null || aVarArr2[i74].b.length <= 1) { + arrayList4.add(null); + } else { + c.i.b.b.a aVar13 = p.j; + p.a aVar14 = new p.a(); + aVar14.b(new f.a(0, 0)); + arrayList4.add(aVar14); + } + } + long[][] jArr = new long[i47][]; + for (int i75 = 0; i75 < i47; i75++) { + j.a aVar15 = aVarArr2[i75]; + if (aVar15 == null) { + jArr[i75] = new long[0]; + } else { + jArr[i75] = new long[aVar15.b.length]; + int i76 = 0; + while (true) { + int[] iArr27 = aVar15.b; + if (i76 >= iArr27.length) { + break; + } + jArr[i75][i76] = (long) aVar15.a.k[iArr27[i76]].r; + i76++; + } + Arrays.sort(jArr[i75]); + } + } + int[] iArr28 = new int[i47]; + long[] jArr2 = new long[i47]; + for (int i77 = 0; i77 < i47; i77++) { + jArr2[i77] = jArr[i77].length == 0 ? 0 : jArr[i77][0]; + } + f.m(arrayList4, jArr2); + f0 f0Var = f0.i; + c.i.a.f.e.o.f.v(2, "expectedValuesPerKey"); + d0 d0Var = new d0(new TreeMap(f0Var), new c0(2)); + int i78 = 0; + while (i78 < i47) { + if (jArr[i78].length <= 1) { + iArr = iArr28; + } else { + int length4 = jArr[i78].length; + double[] dArr = new double[length4]; + int i79 = 0; + while (true) { + int length5 = jArr[i78].length; + double d3 = ShadowDrawableWrapper.COS_45; + if (i79 >= length5) { + break; + } + if (jArr[i78][i79] == -1) { + iArr2 = iArr28; + } else { + iArr2 = iArr28; + d3 = Math.log((double) jArr[i78][i79]); + } + dArr[i79] = d3; + i79++; + iArr28 = iArr2; + } + iArr = iArr28; + int i80 = length4 - 1; + double d4 = dArr[i80] - dArr[0]; + int i81 = 0; + while (i81 < i80) { + double d5 = dArr[i81]; + i81++; + Double valueOf = Double.valueOf(d4 == ShadowDrawableWrapper.COS_45 ? 1.0d : (((d5 + dArr[i81]) * 0.5d) - dArr[0]) / d4); + Integer valueOf2 = Integer.valueOf(i78); + Collection collection = (Collection) d0Var.l.get(valueOf); + if (collection == null) { + Collection e = d0Var.e(); + if (e.add(valueOf2)) { + d0Var.m++; + d0Var.l.put(valueOf, e); + } else { + throw new AssertionError("New Collection violated the Collection spec"); + } + } else if (collection.add(valueOf2)) { + d0Var.m++; + } + i80 = i80; + d4 = d4; + } + continue; + } + i78++; + iArr28 = iArr; + } + Collection collection2 = d0Var.j; + if (collection2 == null) { + collection2 = new g.a(); + d0Var.j = collection2; + } + p n = p.n(collection2); + for (int i82 = 0; i82 < n.size(); i82++) { + int intValue3 = n.get(i82).intValue(); + int i83 = iArr28[intValue3] + 1; + iArr28[intValue3] = i83; + jArr2[intValue3] = jArr[intValue3][i83]; + f.m(arrayList4, jArr2); + } + for (int i84 = 0; i84 < i47; i84++) { + if (arrayList4.get(i84) != null) { + jArr2[i84] = jArr2[i84] * 2; + } + } + f.m(arrayList4, jArr2); + c.i.a.f.e.o.f.v(4, "initialCapacity"); + Object[] objArr = new Object[4]; + int i85 = 0; + int i86 = 0; + while (i85 < arrayList4.size()) { + p.a aVar16 = (p.a) arrayList4.get(i85); + p c2 = aVar16 == null ? h0.k : aVar16.c(); + Objects.requireNonNull(c2); + int i87 = i86 + 1; + if (objArr.length < i87) { + objArr = Arrays.copyOf(objArr, n.b.a(objArr.length, i87)); + } + objArr[i86] = c2; + i85++; + i86 = i87; + } + p l = p.l(objArr, i86); + j[] jVarArr = new j[i47]; + for (int i88 = 0; i88 < i47; i88++) { + j.a aVar17 = aVarArr2[i88]; + if (aVar17 != null) { + int[] iArr29 = aVar17.b; + if (iArr29.length != 0) { + if (iArr29.length == 1) { + jVar = new k(aVar17.a, iArr29[0], aVar17.f732c); + } else { + long j = (long) 25000; + jVar = new f(aVar17.a, iArr29, aVar17.f732c, fVar2, (long) 10000, j, j, 1279, 719, 0.7f, 0.75f, l.get(i88), c.i.a.c.f3.g.a); + } + jVarArr[i88] = jVar; + } + } + } + h2[] h2VarArr = new h2[i47]; + for (int i89 = 0; i89 < i47; i89++) { + h2VarArr[i89] = !(dVar9.U.get(i89) || dVar9.G.contains(Integer.valueOf(aVar9.b[i89]))) && (aVar9.b[i89] == -2 || jVarArr[i89] != null) ? h2.a : null; + } + if (dVar9.R) { + int i90 = 0; + int i91 = -1; + int i92 = -1; + while (true) { + if (i90 >= aVar9.a) { + i3 = -1; + z3 = true; + break; + } + int i93 = aVar9.b[i90]; + j jVar2 = jVarArr[i90]; + if (i93 == 1) { + if (jVar2 != null) { + int[][] iArr30 = iArr12[i90]; + int a2 = aVar9.f733c[i90].a(jVar2.a()); + int i94 = 0; + while (true) { + if (i94 >= jVar2.length()) { + z4 = true; + break; + } else if ((iArr30[a2][jVar2.f(i94)] & 32) != 32) { + z4 = false; + break; + } else { + i94++; + } + } + if (z4) { + if (i93 == 1) { + i3 = -1; + if (i91 != -1) { + break; + } + i91 = i90; + i90++; + } else { + i3 = -1; + if (i92 != -1) { + break; + } + i92 = i90; + i90++; + } + } + } + } + i90++; + } + z3 = false; + if (z3 && ((i91 == i3 || i92 == i3) ? false : true)) { + h2 h2Var = new h2(true); + h2VarArr[i91] = h2Var; + h2VarArr[i92] = h2Var; + Pair create = Pair.create(h2VarArr, jVarArr); + m[] mVarArr = (m[]) create.second; + c.i.a.f.e.o.f.v(4, "initialCapacity"); + Object[] objArr2 = new Object[4]; + i = 0; + int i95 = 0; + while (i < aVar9.a) { + o0 o0Var10 = aVar9.f733c[i]; + m mVar = mVarArr[i]; + Object[] objArr3 = objArr2; + int i96 = i95; + int i97 = 0; + while (i97 < o0Var10.j) { + n0 n0Var17 = o0Var10.k[i97]; + int i98 = n0Var17.j; + int[] iArr31 = new int[i98]; + boolean[] zArr = new boolean[i98]; + for (int i99 = 0; i99 < n0Var17.j; i99++) { + iArr31[i99] = aVar9.a(i, i97, i99); + if (mVar != null && mVar.a() == n0Var17) { + if (mVar.l(i99) != -1) { + z2 = true; + zArr[i99] = z2; + } + } + z2 = false; + zArr[i99] = z2; + } + p2.a aVar18 = new p2.a(n0Var17, iArr31, aVar9.b[i], zArr); + int i100 = i96 + 1; + if (objArr3.length < i100) { + objArr3 = Arrays.copyOf(objArr3, n.b.a(objArr3.length, i100)); + } + objArr3[i96] = aVar18; + i97++; + i96 = i100; + } + i++; + i95 = i96; + objArr2 = objArr3; + } + o0Var2 = aVar9.f; + i2 = 0; + while (i2 < o0Var2.j) { + n0 n0Var18 = o0Var2.k[i2]; + int[] iArr32 = new int[n0Var18.j]; + Arrays.fill(iArr32, 0); + p2.a aVar19 = new p2.a(n0Var18, iArr32, t.g(n0Var18.k[0].v), new boolean[n0Var18.j]); + int i101 = i95 + 1; + if (objArr2.length < i101) { + objArr2 = Arrays.copyOf(objArr2, n.b.a(objArr2.length, i101)); + } + objArr2[i95] = aVar19; + i2++; + i95 = i101; + } + return new r((h2[]) create.first, (j[]) create.second, new p2(p.l(objArr2, i95)), aVar9); + } + } + Pair create = Pair.create(h2VarArr, jVarArr); + m[] mVarArr = (m[]) create.second; + c.i.a.f.e.o.f.v(4, "initialCapacity"); + Object[] objArr2 = new Object[4]; + i = 0; + int i95 = 0; + while (i < aVar9.a) { + } + o0Var2 = aVar9.f; + i2 = 0; + while (i2 < o0Var2.j) { + } + return new r((h2[]) create.first, (j[]) create.second, new p2(p.l(objArr2, i95)), aVar9); + } +} diff --git a/app/src/main/java/c/i/a/c/c3/m.java b/app/src/main/java/c/i/a/c/c3/m.java new file mode 100644 index 0000000000..412d642080 --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/m.java @@ -0,0 +1,16 @@ +package c.i.a.c.c3; + +import c.i.a.c.a3.n0; +import c.i.a.c.j1; +/* compiled from: TrackSelection */ +public interface m { + n0 a(); + + j1 d(int i); + + int f(int i); + + int l(int i); + + int length(); +} diff --git a/app/src/main/java/c/i/a/c/c3/n.java b/app/src/main/java/c/i/a/c/c3/n.java new file mode 100644 index 0000000000..8541b394fc --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/n.java @@ -0,0 +1,31 @@ +package c.i.a.c.c3; + +import androidx.annotation.Nullable; +import java.util.Arrays; +/* compiled from: TrackSelectionArray */ +public final class n { + public final m[] a; + public int b; + + public n(m... mVarArr) { + this.a = mVarArr; + int length = mVarArr.length; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || n.class != obj.getClass()) { + return false; + } + return Arrays.equals(this.a, ((n) obj).a); + } + + public int hashCode() { + if (this.b == 0) { + this.b = 527 + Arrays.hashCode(this.a); + } + return this.b; + } +} diff --git a/app/src/main/java/c/i/a/c/c3/o.java b/app/src/main/java/c/i/a/c/c3/o.java new file mode 100644 index 0000000000..1db158a1e6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/o.java @@ -0,0 +1,90 @@ +package c.i.a.c.c3; + +import androidx.annotation.Nullable; +import c.i.a.c.a3.n0; +import c.i.a.c.w0; +import c.i.a.f.e.o.f; +import c.i.b.b.i0; +import c.i.b.b.n; +import c.i.b.b.p; +import c.i.b.b.q; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import java.util.Objects; +/* compiled from: TrackSelectionOverrides */ +public final class o implements w0 { + public static final o i = new o(i0.l); + public static final w0.a j = d.a; + public final q k; + + /* compiled from: TrackSelectionOverrides */ + public static final class a implements w0 { + public static final /* synthetic */ int i = 0; + public final n0 j; + public final p k; + + public a(n0 n0Var) { + this.j = n0Var; + f.v(4, "initialCapacity"); + Object[] objArr = new Object[4]; + int i2 = 0; + int i3 = 0; + while (i2 < n0Var.j) { + Integer valueOf = Integer.valueOf(i2); + Objects.requireNonNull(valueOf); + int i4 = i3 + 1; + if (objArr.length < i4) { + objArr = Arrays.copyOf(objArr, n.b.a(objArr.length, i4)); + } + objArr[i3] = valueOf; + i2++; + i3 = i4; + } + this.k = p.l(objArr, i3); + } + + public a(n0 n0Var, List list) { + if (list.isEmpty() || (((Integer) Collections.min(list)).intValue() >= 0 && ((Integer) Collections.max(list)).intValue() < n0Var.j)) { + this.j = n0Var; + this.k = p.n(list); + return; + } + throw new IndexOutOfBoundsException(); + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || a.class != obj.getClass()) { + return false; + } + a aVar = (a) obj; + return this.j.equals(aVar.j) && this.k.equals(aVar.k); + } + + public int hashCode() { + return (this.k.hashCode() * 31) + this.j.hashCode(); + } + } + + public o(Map map) { + this.k = q.a(map); + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || o.class != obj.getClass()) { + return false; + } + return this.k.equals(((o) obj).k); + } + + public int hashCode() { + return this.k.hashCode(); + } +} diff --git a/app/src/main/java/c/i/a/c/c3/p.java b/app/src/main/java/c/i/a/c/c3/p.java new file mode 100644 index 0000000000..46ced944b2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/p.java @@ -0,0 +1,224 @@ +package c.i.a.c.c3; + +import android.content.Context; +import android.graphics.Point; +import android.hardware.display.DisplayManager; +import android.os.Looper; +import android.text.TextUtils; +import android.util.Log; +import android.view.Display; +import android.view.WindowManager; +import android.view.accessibility.CaptioningManager; +import androidx.annotation.Nullable; +import c.i.a.c.f3.e0; +import c.i.a.c.w0; +import c.i.b.b.h0; +import c.i.b.b.j0; +import c.i.b.b.r; +import java.util.Locale; +import java.util.Objects; +/* compiled from: TrackSelectionParameters */ +public class p implements w0 { + public static final p i = new p(new a()); + public final c.i.b.b.p A; + public final int B; + public final boolean C; + public final boolean D; + public final boolean E; + public final o F; + public final r G; + public final int j; + public final int k; + public final int l; + public final int m; + public final int n; + public final int o; + public final int p; + public final int q; + public final int r; + + /* renamed from: s reason: collision with root package name */ + public final int f734s; + public final boolean t; + public final c.i.b.b.p u; + public final c.i.b.b.p v; + public final int w; + + /* renamed from: x reason: collision with root package name */ + public final int f735x; + + /* renamed from: y reason: collision with root package name */ + public final int f736y; + + /* renamed from: z reason: collision with root package name */ + public final c.i.b.b.p f737z; + + /* compiled from: TrackSelectionParameters */ + public static class a { + public int a = Integer.MAX_VALUE; + public int b = Integer.MAX_VALUE; + + /* renamed from: c reason: collision with root package name */ + public int f738c = Integer.MAX_VALUE; + public int d = Integer.MAX_VALUE; + public int e; + public int f; + public int g; + public int h; + public int i = Integer.MAX_VALUE; + public int j = Integer.MAX_VALUE; + public boolean k = true; + public c.i.b.b.p l; + public c.i.b.b.p m; + public int n; + public int o; + public int p; + public c.i.b.b.p q; + public c.i.b.b.p r; + + /* renamed from: s reason: collision with root package name */ + public int f739s; + public boolean t; + public boolean u; + public boolean v; + public o w; + + /* renamed from: x reason: collision with root package name */ + public r f740x; + + /* JADX DEBUG: Type inference failed for r1v2. Raw type applied. Possible types: c.i.b.b.p, c.i.b.b.p */ + @Deprecated + public a() { + c.i.b.b.a aVar = c.i.b.b.p.j; + c.i.b.b.p pVar = h0.k; + this.l = pVar; + this.m = pVar; + this.n = 0; + this.o = Integer.MAX_VALUE; + this.p = Integer.MAX_VALUE; + this.q = pVar; + this.r = pVar; + this.f739s = 0; + this.t = false; + this.u = false; + this.v = false; + this.w = o.i; + int i = r.j; + this.f740x = j0.l; + } + + public a a(Context context) { + CaptioningManager captioningManager; + int i = e0.a; + if (i >= 19 && ((i >= 23 || Looper.myLooper() != null) && (captioningManager = (CaptioningManager) context.getSystemService("captioning")) != null && captioningManager.isEnabled())) { + this.f739s = 1088; + Locale locale = captioningManager.getLocale(); + if (locale != null) { + this.r = c.i.b.b.p.u(i >= 21 ? locale.toLanguageTag() : locale.toString()); + } + } + return this; + } + + public a b(int i, int i2, boolean z2) { + this.i = i; + this.j = i2; + this.k = z2; + return this; + } + + public a c(Context context, boolean z2) { + Point point; + DisplayManager displayManager; + int i = e0.a; + Display display = (i < 17 || (displayManager = (DisplayManager) context.getSystemService("display")) == null) ? null : displayManager.getDisplay(0); + if (display == null) { + WindowManager windowManager = (WindowManager) context.getSystemService("window"); + Objects.requireNonNull(windowManager); + display = windowManager.getDefaultDisplay(); + } + if (display.getDisplayId() == 0 && e0.A(context)) { + String v = i < 28 ? e0.v("sys.display-size") : e0.v("vendor.display-size"); + if (!TextUtils.isEmpty(v)) { + try { + String[] H = e0.H(v.trim(), "x"); + if (H.length == 2) { + int parseInt = Integer.parseInt(H[0]); + int parseInt2 = Integer.parseInt(H[1]); + if (parseInt > 0 && parseInt2 > 0) { + point = new Point(parseInt, parseInt2); + return b(point.x, point.y, z2); + } + } + } catch (NumberFormatException unused) { + } + String valueOf = String.valueOf(v); + Log.e("Util", valueOf.length() != 0 ? "Invalid display size: ".concat(valueOf) : new String("Invalid display size: ")); + } + if ("Sony".equals(e0.f782c) && e0.d.startsWith("BRAVIA") && context.getPackageManager().hasSystemFeature("com.sony.dtv.hardware.panel.qfhd")) { + point = new Point(3840, 2160); + return b(point.x, point.y, z2); + } + } + point = new Point(); + int i2 = e0.a; + if (i2 >= 23) { + Display.Mode mode = display.getMode(); + point.x = mode.getPhysicalWidth(); + point.y = mode.getPhysicalHeight(); + } else if (i2 >= 17) { + display.getRealSize(point); + } else { + display.getSize(point); + } + return b(point.x, point.y, z2); + } + } + + public p(a aVar) { + this.j = aVar.a; + this.k = aVar.b; + this.l = aVar.f738c; + this.m = aVar.d; + this.n = aVar.e; + this.o = aVar.f; + this.p = aVar.g; + this.q = aVar.h; + this.r = aVar.i; + this.f734s = aVar.j; + this.t = aVar.k; + this.u = aVar.l; + this.v = aVar.m; + this.w = aVar.n; + this.f735x = aVar.o; + this.f736y = aVar.p; + this.f737z = aVar.q; + this.A = aVar.r; + this.B = aVar.f739s; + this.C = aVar.t; + this.D = aVar.u; + this.E = aVar.v; + this.F = aVar.w; + this.G = aVar.f740x; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || getClass() != obj.getClass()) { + return false; + } + p pVar = (p) obj; + return this.j == pVar.j && this.k == pVar.k && this.l == pVar.l && this.m == pVar.m && this.n == pVar.n && this.o == pVar.o && this.p == pVar.p && this.q == pVar.q && this.t == pVar.t && this.r == pVar.r && this.f734s == pVar.f734s && this.u.equals(pVar.u) && this.v.equals(pVar.v) && this.w == pVar.w && this.f735x == pVar.f735x && this.f736y == pVar.f736y && this.f737z.equals(pVar.f737z) && this.A.equals(pVar.A) && this.B == pVar.B && this.C == pVar.C && this.D == pVar.D && this.E == pVar.E && this.F.equals(pVar.F) && this.G.equals(pVar.G); + } + + public int hashCode() { + int hashCode = this.u.hashCode(); + int hashCode2 = this.v.hashCode(); + int hashCode3 = this.f737z.hashCode(); + int hashCode4 = this.A.hashCode(); + int hashCode5 = this.F.hashCode(); + return this.G.hashCode() + ((hashCode5 + ((((((((((hashCode4 + ((hashCode3 + ((((((((hashCode2 + ((hashCode + ((((((((((((((((((((((this.j + 31) * 31) + this.k) * 31) + this.l) * 31) + this.m) * 31) + this.n) * 31) + this.o) * 31) + this.p) * 31) + this.q) * 31) + (this.t ? 1 : 0)) * 31) + this.r) * 31) + this.f734s) * 31)) * 31)) * 31) + this.w) * 31) + this.f735x) * 31) + this.f736y) * 31)) * 31)) * 31) + this.B) * 31) + (this.C ? 1 : 0)) * 31) + (this.D ? 1 : 0)) * 31) + (this.E ? 1 : 0)) * 31)) * 31); + } +} diff --git a/app/src/main/java/c/i/a/c/c3/q.java b/app/src/main/java/c/i/a/c/c3/q.java new file mode 100644 index 0000000000..e71933e92c --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/q.java @@ -0,0 +1,18 @@ +package c.i.a.c.c3; + +import androidx.annotation.Nullable; +import c.i.a.c.a3.a0; +import c.i.a.c.a3.o0; +import c.i.a.c.e3.f; +import c.i.a.c.g2; +import c.i.a.c.o2; +import com.google.android.exoplayer2.ExoPlaybackException; +/* compiled from: TrackSelector */ +public abstract class q { + @Nullable + public f a; + + public abstract void a(@Nullable Object obj); + + public abstract r b(g2[] g2VarArr, o0 o0Var, a0.a aVar, o2 o2Var) throws ExoPlaybackException; +} diff --git a/app/src/main/java/c/i/a/c/c3/r.java b/app/src/main/java/c/i/a/c/c3/r.java new file mode 100644 index 0000000000..e9a7735e5a --- /dev/null +++ b/app/src/main/java/c/i/a/c/c3/r.java @@ -0,0 +1,33 @@ +package c.i.a.c.c3; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.e0; +import c.i.a.c.h2; +import c.i.a.c.p2; +/* compiled from: TrackSelectorResult */ +public final class r { + public final int a; + public final h2[] b; + + /* renamed from: c reason: collision with root package name */ + public final j[] f741c; + public final p2 d; + @Nullable + public final Object e; + + public r(h2[] h2VarArr, j[] jVarArr, p2 p2Var, @Nullable Object obj) { + this.b = h2VarArr; + this.f741c = (j[]) jVarArr.clone(); + this.d = p2Var; + this.e = obj; + this.a = h2VarArr.length; + } + + public boolean a(@Nullable r rVar, int i) { + return rVar != null && e0.a(this.b[i], rVar.b[i]) && e0.a(this.f741c[i], rVar.f741c[i]); + } + + public boolean b(int i) { + return this.b[i] != null; + } +} diff --git a/app/src/main/java/c/i/a/c/d.java b/app/src/main/java/c/i/a/c/d.java index d0cb59cfda..69fa01025c 100644 --- a/app/src/main/java/c/i/a/c/d.java +++ b/app/src/main/java/c/i/a/c/d.java @@ -1,17 +1,16 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import c.i.b.a.l; /* compiled from: lambda */ -public final /* synthetic */ class d implements o.a { - public final /* synthetic */ int a; +public final /* synthetic */ class d implements l { + public final /* synthetic */ n1 i; - public /* synthetic */ d(int i) { - this.a = i; + public /* synthetic */ d(n1 n1Var) { + this.i = n1Var; } - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((g1.a) obj).f(this.a); + @Override // c.i.b.a.l + public final Object get() { + return this.i; } } diff --git a/app/src/main/java/c/i/a/c/d0.java b/app/src/main/java/c/i/a/c/d0.java index b67d076809..feccaf2fc8 100644 --- a/app/src/main/java/c/i/a/c/d0.java +++ b/app/src/main/java/c/i/a/c/d0.java @@ -1,59 +1,20 @@ package c.i.a.c; -import android.content.BroadcastReceiver; -import android.content.Context; -import android.content.Intent; -import android.content.IntentFilter; -import android.os.Handler; -/* compiled from: AudioBecomingNoisyManager */ -public final class d0 { - public final Context a; - public final a b; +import c.i.a.c.f3.p; +import c.i.a.c.y1; +/* compiled from: lambda */ +public final /* synthetic */ class d0 implements p.a { + public final /* synthetic */ w1 a; + public final /* synthetic */ int b; - /* renamed from: c reason: collision with root package name */ - public boolean f831c; - - /* compiled from: AudioBecomingNoisyManager */ - public final class a extends BroadcastReceiver implements Runnable { - public final b i; - public final Handler j; - - public a(Handler handler, b bVar) { - this.j = handler; - this.i = bVar; - } - - @Override // android.content.BroadcastReceiver - public void onReceive(Context context, Intent intent) { - if ("android.media.AUDIO_BECOMING_NOISY".equals(intent.getAction())) { - this.j.post(this); - } - } - - @Override // java.lang.Runnable - public void run() { - if (d0.this.f831c) { - p1.this.Y(false, -1, 3); - } - } + public /* synthetic */ d0(w1 w1Var, int i) { + this.a = w1Var; + this.b = i; } - /* compiled from: AudioBecomingNoisyManager */ - public interface b { - } - - public d0(Context context, Handler handler, b bVar) { - this.a = context.getApplicationContext(); - this.b = new a(handler, bVar); - } - - public void a(boolean z2) { - if (z2 && !this.f831c) { - this.a.registerReceiver(this.b, new IntentFilter("android.media.AUDIO_BECOMING_NOISY")); - this.f831c = true; - } else if (!z2 && this.f831c) { - this.a.unregisterReceiver(this.b); - this.f831c = false; - } + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + w1 w1Var = this.a; + ((y1.c) obj).v(w1Var.b, this.b); } } diff --git a/app/src/main/java/c/i/a/c/d1.java b/app/src/main/java/c/i/a/c/d1.java index 70b3abc78a..37c25d8288 100644 --- a/app/src/main/java/c/i/a/c/d1.java +++ b/app/src/main/java/c/i/a/c/d1.java @@ -1,42 +1,8 @@ package c.i.a.c; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.i2.f0; -/* compiled from: PlaybackParameters */ -public final class d1 { - public static final d1 a = new d1(1.0f, 1.0f); - public final float b; - - /* renamed from: c reason: collision with root package name */ - public final float f832c; - public final int d; - - public d1(float f, float f2) { - boolean z2 = true; - d.k(f > 0.0f); - d.k(f2 <= 0.0f ? false : z2); - this.b = f; - this.f832c = f2; - this.d = Math.round(f * 1000.0f); - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || d1.class != obj.getClass()) { - return false; - } - d1 d1Var = (d1) obj; - return this.b == d1Var.b && this.f832c == d1Var.f832c; - } - - public int hashCode() { - return Float.floatToRawIntBits(this.f832c) + ((Float.floatToRawIntBits(this.b) + 527) * 31); - } - - public String toString() { - return f0.k("PlaybackParameters(speed=%.2f, pitch=%.2f)", Float.valueOf(this.b), Float.valueOf(this.f832c)); +import c.i.a.c.e1; +/* compiled from: ExoPlayer */ +public final /* synthetic */ class d1 { + public static void a(e1.a aVar, boolean z2) { } } diff --git a/app/src/main/java/c/i/a/c/d2.java b/app/src/main/java/c/i/a/c/d2.java new file mode 100644 index 0000000000..79df390847 --- /dev/null +++ b/app/src/main/java/c/i/a/c/d2.java @@ -0,0 +1,5 @@ +package c.i.a.c; +/* compiled from: Rating */ +public abstract class d2 implements w0 { + public static final /* synthetic */ int i = 0; +} diff --git a/app/src/main/java/c/i/a/c/d2/a.java b/app/src/main/java/c/i/a/c/d2/a.java deleted file mode 100644 index e691d7a9d5..0000000000 --- a/app/src/main/java/c/i/a/c/d2/a.java +++ /dev/null @@ -1,112 +0,0 @@ -package c.i.a.c.d2; - -import android.util.Pair; -import c.i.a.c.d2.t; -import c.i.a.c.d2.y; -import c.i.a.c.r1; -import java.util.Objects; -/* compiled from: lambda */ -public final /* synthetic */ class a implements y.b { - public final /* synthetic */ m a; - public final /* synthetic */ Object b; - - public /* synthetic */ a(m mVar, Object obj) { - this.a = mVar; - this.b = obj; - } - - /* JADX WARNING: Removed duplicated region for block: B:20:0x0097 */ - /* JADX WARNING: Removed duplicated region for block: B:21:0x00a3 */ - /* JADX WARNING: Removed duplicated region for block: B:24:0x00af */ - /* JADX WARNING: Removed duplicated region for block: B:33:0x00da */ - /* JADX WARNING: Removed duplicated region for block: B:35:? A[RETURN, SYNTHETIC] */ - @Override // c.i.a.c.d2.y.b - public final void a(y yVar, r1 r1Var) { - y.a aVar; - long j; - t.a aVar2; - s sVar; - t.a aVar3; - m mVar = this.a; - Object obj = this.b; - Objects.requireNonNull(mVar); - t tVar = (t) mVar; - Void r1 = (Void) obj; - if (tVar.q) { - t.a aVar4 = tVar.n; - tVar.n = new t.a(r1Var, aVar4.d, aVar4.e); - s sVar2 = tVar.o; - if (sVar2 != null) { - tVar.u(sVar2.o); - } - } else if (r1Var.q()) { - if (tVar.f861r) { - t.a aVar5 = tVar.n; - aVar3 = new t.a(r1Var, aVar5.d, aVar5.e); - } else { - aVar3 = new t.a(r1Var, r1.c.a, t.a.f862c); - } - tVar.n = aVar3; - } else { - r1Var.n(0, tVar.l); - r1.c cVar = tVar.l; - long j2 = cVar.q; - Object obj2 = cVar.f1018c; - s sVar3 = tVar.o; - if (sVar3 != null) { - long j3 = sVar3.j; - tVar.n.h(sVar3.i.a, tVar.m); - long j4 = tVar.m.e + j3; - if (j4 != tVar.n.n(0, tVar.l).q) { - j = j4; - Pair j5 = r1Var.j(tVar.l, tVar.m, 0, j); - Object obj3 = j5.first; - long longValue = ((Long) j5.second).longValue(); - if (!tVar.f861r) { - t.a aVar6 = tVar.n; - aVar2 = new t.a(r1Var, aVar6.d, aVar6.e); - } else { - aVar2 = new t.a(r1Var, obj2, obj3); - } - tVar.n = aVar2; - sVar = tVar.o; - if (sVar != null) { - tVar.u(longValue); - y.a aVar7 = sVar.i; - Object obj4 = aVar7.a; - if (tVar.n.e != null && obj4.equals(t.a.f862c)) { - obj4 = tVar.n.e; - } - aVar = aVar7.b(obj4); - tVar.f861r = true; - tVar.q = true; - tVar.q(tVar.n); - if (aVar == null) { - s sVar4 = tVar.o; - Objects.requireNonNull(sVar4); - sVar4.d(aVar); - return; - } - return; - } - } - } - j = j2; - Pair j5 = r1Var.j(tVar.l, tVar.m, 0, j); - Object obj3 = j5.first; - long longValue = ((Long) j5.second).longValue(); - if (!tVar.f861r) { - } - tVar.n = aVar2; - sVar = tVar.o; - if (sVar != null) { - } - } - aVar = null; - tVar.f861r = true; - tVar.q = true; - tVar.q(tVar.n); - if (aVar == null) { - } - } -} diff --git a/app/src/main/java/c/i/a/c/d2/a0.java b/app/src/main/java/c/i/a/c/d2/a0.java deleted file mode 100644 index 250c6e0305..0000000000 --- a/app/src/main/java/c/i/a/c/d2/a0.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.a.c.d2; -/* compiled from: MediaSourceFactory */ -public interface a0 { -} diff --git a/app/src/main/java/c/i/a/c/d2/b.java b/app/src/main/java/c/i/a/c/d2/b.java deleted file mode 100644 index 0cc8aec80a..0000000000 --- a/app/src/main/java/c/i/a/c/d2/b.java +++ /dev/null @@ -1,28 +0,0 @@ -package c.i.a.c.d2; - -import c.i.a.c.d2.z; -import java.io.IOException; -/* compiled from: lambda */ -public final /* synthetic */ class b implements Runnable { - public final /* synthetic */ z.a i; - public final /* synthetic */ z j; - public final /* synthetic */ r k; - public final /* synthetic */ u l; - public final /* synthetic */ IOException m; - public final /* synthetic */ boolean n; - - public /* synthetic */ b(z.a aVar, z zVar, r rVar, u uVar, IOException iOException, boolean z2) { - this.i = aVar; - this.j = zVar; - this.k = rVar; - this.l = uVar; - this.m = iOException; - this.n = z2; - } - - @Override // java.lang.Runnable - public final void run() { - z.a aVar = this.i; - this.j.U(aVar.a, aVar.b, this.k, this.l, this.m, this.n); - } -} diff --git a/app/src/main/java/c/i/a/c/d2/b0.java b/app/src/main/java/c/i/a/c/d2/b0.java deleted file mode 100644 index 3282289d41..0000000000 --- a/app/src/main/java/c/i/a/c/d2/b0.java +++ /dev/null @@ -1,1214 +0,0 @@ -package c.i.a.c.d2; - -import android.media.MediaCodec; -import android.net.Uri; -import android.os.Handler; -import android.os.Looper; -import android.os.SystemClock; -import androidx.annotation.Nullable; -import androidx.recyclerview.widget.RecyclerView; -import c.i.a.c.a2.h; -import c.i.a.c.a2.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.t; -import c.i.a.c.a2.w; -import c.i.a.c.d2.d0; -import c.i.a.c.d2.e0; -import c.i.a.c.d2.q; -import c.i.a.c.d2.v; -import c.i.a.c.d2.z; -import c.i.a.c.f2.g; -import c.i.a.c.h0; -import c.i.a.c.h2.f; -import c.i.a.c.h2.l; -import c.i.a.c.h2.m; -import c.i.a.c.h2.r; -import c.i.a.c.h2.u; -import c.i.a.c.i2.f0; -import c.i.a.c.o1; -import c.i.a.c.s0; -import c.i.a.c.x1.b; -import c.i.a.c.z1.q; -import c.i.a.c.z1.s; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.ParserException; -import com.google.android.exoplayer2.decoder.DecoderInputBuffer; -import com.google.android.exoplayer2.drm.DrmSession; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.metadata.icy.IcyHeaders; -import com.google.android.exoplayer2.source.TrackGroup; -import com.google.android.exoplayer2.source.TrackGroupArray; -import com.google.android.exoplayer2.upstream.HttpDataSource$CleartextNotPermittedException; -import com.google.android.exoplayer2.upstream.Loader; -import java.io.FileNotFoundException; -import java.io.IOException; -import java.io.InterruptedIOException; -import java.nio.ByteBuffer; -import java.util.Arrays; -import java.util.Collections; -import java.util.HashMap; -import java.util.Map; -import java.util.Objects; -import org.checkerframework.checker.nullness.qual.EnsuresNonNull; -/* compiled from: ProgressiveMediaPeriod */ -public final class b0 implements v, j, Loader.b, Loader.f, e0.b { - public static final Map i; - public static final Format j; - @Nullable - public v.a A; - @Nullable - public IcyHeaders B; - public e0[] C; - public d[] D; - public boolean E; - public boolean F; - public boolean G; - public e H; - public t I; - public long J; - public boolean K; - public int L; - public boolean M; - public boolean N; - public int O; - public long P; - public long Q; - public long R; - public boolean S; - public int T; - public boolean U; - public boolean V; - public final Uri k; - public final c.i.a.c.h2.j l; - public final s m; - public final u n; - public final z.a o; - public final q.a p; - public final b q; - - /* renamed from: r reason: collision with root package name */ - public final m f833r; - @Nullable - public final String s; - public final long t; - public final Loader u = new Loader("Loader:ProgressiveMediaPeriod"); - public final k v; - - /* renamed from: w reason: collision with root package name */ - public final c.i.a.c.i2.j f834w; - - /* renamed from: x reason: collision with root package name */ - public final Runnable f835x; - - /* renamed from: y reason: collision with root package name */ - public final Runnable f836y; - - /* renamed from: z reason: collision with root package name */ - public final Handler f837z; - - /* compiled from: ProgressiveMediaPeriod */ - public final class a implements Loader.e, q.a { - public final long a = r.a.getAndIncrement(); - public final Uri b; - - /* renamed from: c reason: collision with root package name */ - public final c.i.a.c.h2.v f838c; - public final k d; - public final j e; - public final c.i.a.c.i2.j f; - public final c.i.a.c.a2.s g = new c.i.a.c.a2.s(); - public volatile boolean h; - public boolean i = true; - public long j; - public l k = a(0); - public long l = -1; - @Nullable - public w m; - public boolean n; - - public a(Uri uri, c.i.a.c.h2.j jVar, k kVar, j jVar2, c.i.a.c.i2.j jVar3) { - this.b = uri; - this.f838c = new c.i.a.c.h2.v(jVar); - this.d = kVar; - this.e = jVar2; - this.f = jVar3; - } - - public final l a(long j) { - Collections.emptyMap(); - Uri uri = this.b; - String str = b0.this.s; - Map map = b0.i; - c.c.a.a0.d.I(uri, "The uri must be set."); - return new l(uri, 0, 1, null, map, j, -1, str, 6, null); - } - - public void b() throws IOException { - f fVar; - int i; - int i2 = 0; - while (i2 == 0 && !this.h) { - try { - long j = this.g.a; - l a = a(j); - this.k = a; - long a2 = this.f838c.a(a); - this.l = a2; - if (a2 != -1) { - this.l = a2 + j; - } - b0.this.B = IcyHeaders.a(this.f838c.j()); - c.i.a.c.h2.v vVar = this.f838c; - IcyHeaders icyHeaders = b0.this.B; - if (icyHeaders == null || (i = icyHeaders.n) == -1) { - fVar = vVar; - } else { - fVar = new q(vVar, i, this); - w B = b0.this.B(new d(0, true)); - this.m = B; - ((e0) B).e(b0.j); - } - long j2 = j; - this.d.b(fVar, this.b, this.f838c.j(), j, this.l, this.e); - if (b0.this.B != null) { - h hVar = this.d.b; - if (hVar instanceof c.i.a.c.a2.g0.f) { - ((c.i.a.c.a2.g0.f) hVar).s = true; - } - } - if (this.i) { - k kVar = this.d; - long j3 = this.j; - h hVar2 = kVar.b; - Objects.requireNonNull(hVar2); - hVar2.g(j2, j3); - this.i = false; - } - while (true) { - while (i2 == 0 && !this.h) { - try { - c.i.a.c.i2.j jVar = this.f; - synchronized (jVar) { - while (!jVar.b) { - jVar.wait(); - } - } - k kVar2 = this.d; - c.i.a.c.a2.s sVar = this.g; - h hVar3 = kVar2.b; - Objects.requireNonNull(hVar3); - i iVar = kVar2.f856c; - Objects.requireNonNull(iVar); - i2 = hVar3.e(iVar, sVar); - j2 = this.d.a(); - if (j2 > b0.this.t + j2) { - this.f.a(); - b0 b0Var = b0.this; - b0Var.f837z.post(b0Var.f836y); - } - } catch (InterruptedException unused) { - throw new InterruptedIOException(); - } - } - } - if (i2 == 1) { - i2 = 0; - } else if (this.d.a() != -1) { - this.g.a = this.d.a(); - } - c.i.a.c.h2.v vVar2 = this.f838c; - if (vVar2 != null) { - try { - vVar2.a.close(); - } catch (IOException unused2) { - } - } - } catch (Throwable th) { - if (!(i2 == 1 || this.d.a() == -1)) { - this.g.a = this.d.a(); - } - c.i.a.c.h2.v vVar3 = this.f838c; - int i3 = f0.a; - if (vVar3 != null) { - try { - vVar3.a.close(); - } catch (IOException unused3) { - } - } - throw th; - } - } - } - } - - /* compiled from: ProgressiveMediaPeriod */ - public interface b { - } - - /* compiled from: ProgressiveMediaPeriod */ - public final class c implements f0 { - public final int a; - - public c(int i) { - this.a = i; - } - - /* JADX WARNING: Removed duplicated region for block: B:98:0x0233 */ - @Override // c.i.a.c.d2.f0 - public int a(s0 s0Var, DecoderInputBuffer decoderInputBuffer, boolean z2) { - int i; - int i2; - b0 b0Var; - int i3; - d0 d0Var; - d0.a aVar; - int i4; - int i5; - b0 b0Var2 = b0.this; - int i6 = this.a; - if (b0Var2.D()) { - return -3; - } - b0Var2.y(i6); - e0 e0Var = b0Var2.C[i6]; - boolean z3 = b0Var2.U; - e0.a aVar2 = e0Var.b; - synchronized (e0Var) { - decoderInputBuffer.l = false; - i = -5; - if (!e0Var.m()) { - if (!z3) { - if (!e0Var.f847x) { - Format format = e0Var.B; - if (format != null && (z2 || format != e0Var.g)) { - e0Var.p(format, s0Var); - } - } - } - decoderInputBuffer.i = 4; - i = -4; - } else { - int k = e0Var.k(e0Var.t); - if (z2 || e0Var.p[k] != e0Var.g) { - e0Var.p(e0Var.p[k], s0Var); - } else if (!e0Var.o(k)) { - decoderInputBuffer.l = true; - } else { - decoderInputBuffer.i = e0Var.m[k]; - long j = e0Var.n[k]; - decoderInputBuffer.m = j; - if (j < e0Var.u) { - decoderInputBuffer.j(Integer.MIN_VALUE); - } - aVar2.a = e0Var.l[k]; - aVar2.b = e0Var.k[k]; - aVar2.f850c = e0Var.o[k]; - i = -4; - } - } - i = -3; - } - if (i == -4 && !decoderInputBuffer.n()) { - if (!(decoderInputBuffer.k == null && decoderInputBuffer.o == 0)) { - d0 d0Var2 = e0Var.a; - e0.a aVar3 = e0Var.b; - d0.a aVar4 = d0Var2.e; - c.i.a.c.i2.w wVar = d0Var2.f842c; - if (decoderInputBuffer.t()) { - long j2 = aVar3.b; - wVar.z(1); - d0.a e = d0.e(aVar4, j2, wVar.a, 1); - long j3 = j2 + 1; - byte b = wVar.a[0]; - boolean z4 = (b & 128) != 0; - int i7 = b & Byte.MAX_VALUE; - c.i.a.c.x1.b bVar = decoderInputBuffer.j; - byte[] bArr = bVar.a; - if (bArr == null) { - bVar.a = new byte[16]; - } else { - Arrays.fill(bArr, (byte) 0); - } - d0.a e2 = d0.e(e, j3, bVar.a, i7); - long j4 = j3 + ((long) i7); - if (z4) { - wVar.z(2); - e2 = d0.e(e2, j4, wVar.a, 2); - j4 += 2; - i4 = wVar.x(); - } else { - i4 = 1; - } - int[] iArr = bVar.d; - if (iArr == null || iArr.length < i4) { - iArr = new int[i4]; - } - int[] iArr2 = bVar.e; - b0Var = b0Var2; - if (iArr2 == null || iArr2.length < i4) { - iArr2 = new int[i4]; - } - if (z4) { - int i8 = i4 * 6; - wVar.z(i8); - e2 = d0.e(e2, j4, wVar.a, i8); - i5 = i6; - j4 += (long) i8; - wVar.D(0); - for (int i9 = 0; i9 < i4; i9++) { - iArr[i9] = wVar.x(); - iArr2[i9] = wVar.v(); - } - } else { - i5 = i6; - iArr[0] = 0; - iArr2[0] = aVar3.a - ((int) (j4 - aVar3.b)); - } - w.a aVar5 = aVar3.f850c; - int i10 = f0.a; - byte[] bArr2 = aVar5.b; - byte[] bArr3 = bVar.a; - i2 = i5; - int i11 = aVar5.a; - i3 = i; - int i12 = aVar5.f808c; - int i13 = aVar5.d; - bVar.f = i4; - bVar.d = iArr; - bVar.e = iArr2; - bVar.b = bArr2; - bVar.a = bArr3; - bVar.f1075c = i11; - bVar.g = i12; - bVar.h = i13; - d0Var = d0Var2; - MediaCodec.CryptoInfo cryptoInfo = bVar.i; - cryptoInfo.numSubSamples = i4; - cryptoInfo.numBytesOfClearData = iArr; - cryptoInfo.numBytesOfEncryptedData = iArr2; - cryptoInfo.key = bArr2; - cryptoInfo.iv = bArr3; - cryptoInfo.mode = i11; - if (f0.a >= 24) { - b.C0099b bVar2 = bVar.j; - Objects.requireNonNull(bVar2); - bVar2.b.set(i12, i13); - bVar2.a.setPattern(bVar2.b); - } - long j5 = aVar3.b; - int i14 = (int) (j4 - j5); - aVar3.b = j5 + ((long) i14); - aVar3.a -= i14; - aVar4 = e2; - } else { - d0Var = d0Var2; - b0Var = b0Var2; - i2 = i6; - i3 = i; - } - if (decoderInputBuffer.l()) { - wVar.z(4); - d0.a e3 = d0.e(aVar4, aVar3.b, wVar.a, 4); - int v = wVar.v(); - aVar3.b += 4; - aVar3.a -= 4; - decoderInputBuffer.r(v); - d0.a d = d0.d(e3, aVar3.b, decoderInputBuffer.k, v); - aVar3.b += (long) v; - int i15 = aVar3.a - v; - aVar3.a = i15; - ByteBuffer byteBuffer = decoderInputBuffer.n; - if (byteBuffer == null || byteBuffer.capacity() < i15) { - decoderInputBuffer.n = ByteBuffer.allocate(i15); - } else { - decoderInputBuffer.n.clear(); - } - aVar = d0.d(d, aVar3.b, decoderInputBuffer.n, aVar3.a); - } else { - decoderInputBuffer.r(aVar3.a); - aVar = d0.d(aVar4, aVar3.b, decoderInputBuffer.k, aVar3.a); - } - d0Var.e = aVar; - e0Var.t++; - if (i3 == -3) { - b0Var.z(i2); - } - return i3; - } - } - b0Var = b0Var2; - i2 = i6; - i3 = i; - if (i3 == -3) { - } - return i3; - } - - @Override // c.i.a.c.d2.f0 - public void b() throws IOException { - b0 b0Var = b0.this; - e0 e0Var = b0Var.C[this.a]; - DrmSession drmSession = e0Var.h; - if (drmSession == null || drmSession.getState() != 1) { - b0Var.A(); - return; - } - DrmSession.DrmSessionException f = e0Var.h.f(); - Objects.requireNonNull(f); - throw f; - } - - @Override // c.i.a.c.d2.f0 - public int c(long j) { - int i; - b0 b0Var = b0.this; - int i2 = this.a; - boolean z2 = false; - if (b0Var.D()) { - return 0; - } - b0Var.y(i2); - e0 e0Var = b0Var.C[i2]; - boolean z3 = b0Var.U; - synchronized (e0Var) { - int k = e0Var.k(e0Var.t); - if (e0Var.m()) { - if (j >= e0Var.n[k]) { - if (j <= e0Var.f846w || !z3) { - i = e0Var.i(k, e0Var.q - e0Var.t, j, true); - if (i == -1) { - i = 0; - } - } else { - i = e0Var.q - e0Var.t; - } - } - } - i = 0; - } - synchronized (e0Var) { - if (i >= 0) { - if (e0Var.t + i <= e0Var.q) { - z2 = true; - } - } - c.c.a.a0.d.k(z2); - e0Var.t += i; - } - if (i == 0) { - b0Var.z(i2); - } - return i; - } - - @Override // c.i.a.c.d2.f0 - public boolean d() { - b0 b0Var = b0.this; - return !b0Var.D() && b0Var.C[this.a].n(b0Var.U); - } - } - - /* compiled from: ProgressiveMediaPeriod */ - public static final class d { - public final int a; - public final boolean b; - - public d(int i, boolean z2) { - this.a = i; - this.b = z2; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || d.class != obj.getClass()) { - return false; - } - d dVar = (d) obj; - return this.a == dVar.a && this.b == dVar.b; - } - - public int hashCode() { - return (this.a * 31) + (this.b ? 1 : 0); - } - } - - /* compiled from: ProgressiveMediaPeriod */ - public static final class e { - public final TrackGroupArray a; - public final boolean[] b; - - /* renamed from: c reason: collision with root package name */ - public final boolean[] f839c; - public final boolean[] d; - - public e(TrackGroupArray trackGroupArray, boolean[] zArr) { - this.a = trackGroupArray; - this.b = zArr; - int i = trackGroupArray.j; - this.f839c = new boolean[i]; - this.d = new boolean[i]; - } - } - - static { - HashMap hashMap = new HashMap(); - hashMap.put("Icy-MetaData", "1"); - i = Collections.unmodifiableMap(hashMap); - Format.b bVar = new Format.b(); - bVar.a = "icy"; - bVar.k = "application/x-icy"; - j = bVar.a(); - } - - public b0(Uri uri, c.i.a.c.h2.j jVar, c.i.a.c.a2.l lVar, s sVar, q.a aVar, u uVar, z.a aVar2, b bVar, m mVar, @Nullable String str, int i2) { - this.k = uri; - this.l = jVar; - this.m = sVar; - this.p = aVar; - this.n = uVar; - this.o = aVar2; - this.q = bVar; - this.f833r = mVar; - this.s = str; - this.t = (long) i2; - this.v = new k(lVar); - this.f834w = new c.i.a.c.i2.j(); - this.f835x = new g(this); - this.f836y = new i(this); - this.f837z = f0.j(); - this.D = new d[0]; - this.C = new e0[0]; - this.R = -9223372036854775807L; - this.P = -1; - this.J = -9223372036854775807L; - this.L = 1; - } - - public void A() throws IOException { - Loader loader = this.u; - int a2 = ((r) this.n).a(this.L); - IOException iOException = loader.e; - if (iOException == null) { - Loader.d dVar = loader.d; - if (dVar != null) { - if (a2 == Integer.MIN_VALUE) { - a2 = dVar.i; - } - IOException iOException2 = dVar.m; - if (iOException2 != null && dVar.n > a2) { - throw iOException2; - } - return; - } - return; - } - throw iOException; - } - - public final w B(d dVar) { - int length = this.C.length; - for (int i2 = 0; i2 < length; i2++) { - if (dVar.equals(this.D[i2])) { - return this.C[i2]; - } - } - m mVar = this.f833r; - Looper looper = this.f837z.getLooper(); - s sVar = this.m; - q.a aVar = this.p; - Objects.requireNonNull(looper); - Objects.requireNonNull(sVar); - Objects.requireNonNull(aVar); - e0 e0Var = new e0(mVar, looper, sVar, aVar); - e0Var.f = this; - int i3 = length + 1; - d[] dVarArr = (d[]) Arrays.copyOf(this.D, i3); - dVarArr[length] = dVar; - int i4 = f0.a; - this.D = dVarArr; - e0[] e0VarArr = (e0[]) Arrays.copyOf(this.C, i3); - e0VarArr[length] = e0Var; - this.C = e0VarArr; - return e0Var; - } - - public final void C() { - a aVar = new a(this.k, this.l, this.v, this, this.f834w); - if (this.F) { - c.c.a.a0.d.D(w()); - long j2 = this.J; - if (j2 == -9223372036854775807L || this.R <= j2) { - t tVar = this.I; - Objects.requireNonNull(tVar); - long j3 = tVar.h(this.R).a.f807c; - long j4 = this.R; - aVar.g.a = j3; - aVar.j = j4; - aVar.i = true; - aVar.n = false; - for (e0 e0Var : this.C) { - e0Var.u = this.R; - } - this.R = -9223372036854775807L; - } else { - this.U = true; - this.R = -9223372036854775807L; - return; - } - } - this.T = u(); - Loader loader = this.u; - int a2 = ((r) this.n).a(this.L); - Objects.requireNonNull(loader); - Looper myLooper = Looper.myLooper(); - c.c.a.a0.d.H(myLooper); - loader.e = null; - long elapsedRealtime = SystemClock.elapsedRealtime(); - new Loader.d(myLooper, aVar, this, a2, elapsedRealtime).b(0); - l lVar = aVar.k; - z.a aVar2 = this.o; - aVar2.f(new r(aVar.a, lVar, elapsedRealtime), new u(1, -1, null, 0, null, aVar2.a(aVar.j), aVar2.a(this.J))); - } - - public final boolean D() { - return this.N || w(); - } - - @Override // c.i.a.c.a2.j - public void a(t tVar) { - this.f837z.post(new h(this, tVar)); - } - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [com.google.android.exoplayer2.upstream.Loader$e, long, long, boolean] */ - @Override // com.google.android.exoplayer2.upstream.Loader.b - public void b(a aVar, long j2, long j3, boolean z2) { - a aVar2 = aVar; - c.i.a.c.h2.v vVar = aVar2.f838c; - r rVar = new r(aVar2.a, aVar2.k, vVar.f952c, vVar.d, j2, j3, vVar.b); - Objects.requireNonNull(this.n); - z.a aVar3 = this.o; - aVar3.c(rVar, new u(1, -1, null, 0, null, aVar3.a(aVar2.j), aVar3.a(this.J))); - if (!z2) { - if (this.P == -1) { - this.P = aVar2.l; - } - for (e0 e0Var : this.C) { - e0Var.q(false); - } - if (this.O > 0) { - v.a aVar4 = this.A; - Objects.requireNonNull(aVar4); - aVar4.a(this); - } - } - } - - @Override // c.i.a.c.d2.v - public long c() { - if (this.O == 0) { - return Long.MIN_VALUE; - } - return q(); - } - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [com.google.android.exoplayer2.upstream.Loader$e, long, long] */ - @Override // com.google.android.exoplayer2.upstream.Loader.b - public void d(a aVar, long j2, long j3) { - t tVar; - a aVar2 = aVar; - if (this.J == -9223372036854775807L && (tVar = this.I) != null) { - boolean c2 = tVar.c(); - long v = v(); - long j4 = v == Long.MIN_VALUE ? 0 : v + 10000; - this.J = j4; - ((c0) this.q).t(j4, c2, this.K); - } - c.i.a.c.h2.v vVar = aVar2.f838c; - r rVar = new r(aVar2.a, aVar2.k, vVar.f952c, vVar.d, j2, j3, vVar.b); - Objects.requireNonNull(this.n); - z.a aVar3 = this.o; - aVar3.d(rVar, new u(1, -1, null, 0, null, aVar3.a(aVar2.j), aVar3.a(this.J))); - if (this.P == -1) { - this.P = aVar2.l; - } - this.U = true; - v.a aVar4 = this.A; - Objects.requireNonNull(aVar4); - aVar4.a(this); - } - - @Override // c.i.a.c.d2.v - public void e() throws IOException { - A(); - if (this.U && !this.F) { - throw new ParserException("Loading finished before preparation is complete."); - } - } - - @Override // c.i.a.c.d2.v - public long f(long j2) { - boolean z2; - t(); - boolean[] zArr = this.H.b; - if (!this.I.c()) { - j2 = 0; - } - this.N = false; - this.Q = j2; - if (w()) { - this.R = j2; - return j2; - } - if (this.L != 7) { - int length = this.C.length; - int i2 = 0; - while (true) { - if (i2 >= length) { - z2 = true; - break; - } else if (this.C[i2].r(j2, false) || (!zArr[i2] && this.G)) { - i2++; - } - } - z2 = false; - if (z2) { - return j2; - } - } - this.S = false; - this.R = j2; - this.U = false; - if (this.u.b()) { - for (e0 e0Var : this.C) { - e0Var.h(); - } - Loader.d dVar = this.u.d; - c.c.a.a0.d.H(dVar); - dVar.a(false); - } else { - this.u.e = null; - for (e0 e0Var2 : this.C) { - e0Var2.q(false); - } - } - return j2; - } - - @Override // c.i.a.c.d2.v - public boolean g(long j2) { - if (!this.U) { - if (!(this.u.e != null) && !this.S && (!this.F || this.O != 0)) { - boolean b2 = this.f834w.b(); - if (this.u.b()) { - return b2; - } - C(); - return true; - } - } - return false; - } - - @Override // c.i.a.c.d2.v - public boolean h() { - boolean z2; - if (this.u.b()) { - c.i.a.c.i2.j jVar = this.f834w; - synchronized (jVar) { - z2 = jVar.b; - } - if (z2) { - return true; - } - } - return false; - } - - @Override // c.i.a.c.d2.v - public long i(long j2, o1 o1Var) { - t(); - if (!this.I.c()) { - return 0; - } - t.a h = this.I.h(j2); - long j3 = h.a.b; - long j4 = h.b.b; - long j5 = o1Var.f999c; - if (j5 == 0 && o1Var.d == 0) { - return j2; - } - long j6 = Long.MIN_VALUE; - int i2 = f0.a; - long j7 = j2 - j5; - if (((j5 ^ j2) & (j2 ^ j7)) >= 0) { - j6 = j7; - } - long j8 = o1Var.d; - long j9 = RecyclerView.FOREVER_NS; - long j10 = j2 + j8; - if (((j8 ^ j10) & (j2 ^ j10)) >= 0) { - j9 = j10; - } - boolean z2 = false; - boolean z3 = j6 <= j3 && j3 <= j9; - if (j6 <= j4 && j4 <= j9) { - z2 = true; - } - if (!z3 || !z2) { - if (z3) { - return j3; - } - if (!z2) { - return j6; - } - } else if (Math.abs(j3 - j2) <= Math.abs(j4 - j2)) { - return j3; - } - return j4; - } - - @Override // c.i.a.c.a2.j - public void j() { - this.E = true; - this.f837z.post(this.f835x); - } - - @Override // c.i.a.c.d2.v - public long k() { - if (!this.N) { - return -9223372036854775807L; - } - if (!this.U && u() <= this.T) { - return -9223372036854775807L; - } - this.N = false; - return this.Q; - } - - @Override // c.i.a.c.d2.v - public void l(v.a aVar, long j2) { - this.A = aVar; - this.f834w.b(); - C(); - } - - @Override // c.i.a.c.d2.v - public long m(g[] gVarArr, boolean[] zArr, f0[] f0VarArr, boolean[] zArr2, long j2) { - t(); - e eVar = this.H; - TrackGroupArray trackGroupArray = eVar.a; - boolean[] zArr3 = eVar.f839c; - int i2 = this.O; - for (int i3 = 0; i3 < gVarArr.length; i3++) { - if (f0VarArr[i3] != null && (gVarArr[i3] == null || !zArr[i3])) { - int i4 = ((c) f0VarArr[i3]).a; - c.c.a.a0.d.D(zArr3[i4]); - this.O--; - zArr3[i4] = false; - f0VarArr[i3] = null; - } - } - boolean z2 = !this.M ? j2 != 0 : i2 == 0; - for (int i5 = 0; i5 < gVarArr.length; i5++) { - if (f0VarArr[i5] == null && gVarArr[i5] != null) { - g gVar = gVarArr[i5]; - c.c.a.a0.d.D(gVar.length() == 1); - c.c.a.a0.d.D(gVar.f(0) == 0); - int a2 = trackGroupArray.a(gVar.a()); - c.c.a.a0.d.D(!zArr3[a2]); - this.O++; - zArr3[a2] = true; - f0VarArr[i5] = new c(a2); - zArr2[i5] = true; - if (!z2) { - e0 e0Var = this.C[a2]; - z2 = !e0Var.r(j2, true) && e0Var.f845r + e0Var.t != 0; - } - } - } - if (this.O == 0) { - this.S = false; - this.N = false; - if (this.u.b()) { - for (e0 e0Var2 : this.C) { - e0Var2.h(); - } - Loader.d dVar = this.u.d; - c.c.a.a0.d.H(dVar); - dVar.a(false); - } else { - for (e0 e0Var3 : this.C) { - e0Var3.q(false); - } - } - } else if (z2) { - j2 = f(j2); - for (int i6 = 0; i6 < f0VarArr.length; i6++) { - if (f0VarArr[i6] != null) { - zArr2[i6] = true; - } - } - } - this.M = true; - return j2; - } - - @Override // c.i.a.c.d2.v - public TrackGroupArray n() { - t(); - return this.H.a; - } - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [com.google.android.exoplayer2.upstream.Loader$e, long, long, java.io.IOException, int] */ - /* JADX WARNING: Removed duplicated region for block: B:38:0x00ba */ - /* JADX WARNING: Removed duplicated region for block: B:39:0x00bf */ - @Override // com.google.android.exoplayer2.upstream.Loader.b - public Loader.c o(a aVar, long j2, long j3, IOException iOException, int i2) { - Loader.c cVar; - boolean z2; - t tVar; - a aVar2 = aVar; - if (this.P == -1) { - this.P = aVar2.l; - } - c.i.a.c.h2.v vVar = aVar2.f838c; - r rVar = new r(aVar2.a, aVar2.k, vVar.f952c, vVar.d, j2, j3, vVar.b); - h0.b(aVar2.j); - h0.b(this.J); - r rVar2 = (r) this.n; - long min = ((iOException instanceof ParserException) || (iOException instanceof FileNotFoundException) || (iOException instanceof HttpDataSource$CleartextNotPermittedException) || (iOException instanceof Loader.UnexpectedLoaderException)) ? -9223372036854775807L : (long) Math.min((i2 - 1) * 1000, 5000); - boolean z3 = false; - if (min == -9223372036854775807L) { - cVar = Loader.b; - } else { - int u = u(); - boolean z4 = u > this.T; - if (this.P != -1 || ((tVar = this.I) != null && tVar.i() != -9223372036854775807L)) { - this.T = u; - } else if (!this.F || D()) { - this.N = this.F; - this.Q = 0; - this.T = 0; - for (e0 e0Var : this.C) { - e0Var.q(false); - } - aVar2.g.a = 0; - aVar2.j = 0; - aVar2.i = true; - aVar2.n = false; - } else { - this.S = true; - z2 = false; - cVar = !z2 ? Loader.a(z4, min) : Loader.a; - } - z2 = true; - if (!z2) { - } - } - int i3 = cVar.a; - if (i3 == 0 || i3 == 1) { - z3 = true; - } - boolean z5 = !z3; - z.a aVar3 = this.o; - aVar3.e(rVar, new u(1, -1, null, 0, null, aVar3.a(aVar2.j), aVar3.a(this.J)), iOException, z5); - if (z5) { - Objects.requireNonNull(this.n); - } - return cVar; - } - - @Override // c.i.a.c.a2.j - public w p(int i2, int i3) { - return B(new d(i2, false)); - } - - @Override // c.i.a.c.d2.v - public long q() { - long j2; - boolean z2; - long j3; - t(); - boolean[] zArr = this.H.b; - if (this.U) { - return Long.MIN_VALUE; - } - if (w()) { - return this.R; - } - if (this.G) { - int length = this.C.length; - j2 = Long.MAX_VALUE; - for (int i2 = 0; i2 < length; i2++) { - if (zArr[i2]) { - e0 e0Var = this.C[i2]; - synchronized (e0Var) { - z2 = e0Var.f847x; - } - if (!z2) { - e0 e0Var2 = this.C[i2]; - synchronized (e0Var2) { - j3 = e0Var2.f846w; - } - j2 = Math.min(j2, j3); - } else { - continue; - } - } - } - } else { - j2 = Long.MAX_VALUE; - } - if (j2 == RecyclerView.FOREVER_NS) { - j2 = v(); - } - return j2 == Long.MIN_VALUE ? this.Q : j2; - } - - @Override // c.i.a.c.d2.v - public void r(long j2, boolean z2) { - long j3; - int i2; - t(); - if (!w()) { - boolean[] zArr = this.H.f839c; - int length = this.C.length; - for (int i3 = 0; i3 < length; i3++) { - e0 e0Var = this.C[i3]; - boolean z3 = zArr[i3]; - d0 d0Var = e0Var.a; - synchronized (e0Var) { - int i4 = e0Var.q; - j3 = -1; - if (i4 != 0) { - long[] jArr = e0Var.n; - int i5 = e0Var.s; - if (j2 >= jArr[i5]) { - int i6 = e0Var.i(i5, (!z3 || (i2 = e0Var.t) == i4) ? i4 : i2 + 1, j2, z2); - if (i6 != -1) { - j3 = e0Var.g(i6); - } - } - } - } - d0Var.a(j3); - } - } - } - - @Override // c.i.a.c.d2.v - public void s(long j2) { - } - - @EnsuresNonNull({"trackState", "seekMap"}) - public final void t() { - c.c.a.a0.d.D(this.F); - Objects.requireNonNull(this.H); - Objects.requireNonNull(this.I); - } - - public final int u() { - e0[] e0VarArr = this.C; - int i2 = 0; - for (e0 e0Var : e0VarArr) { - i2 += e0Var.f845r + e0Var.q; - } - return i2; - } - - public final long v() { - long j2; - e0[] e0VarArr = this.C; - long j3 = Long.MIN_VALUE; - for (e0 e0Var : e0VarArr) { - synchronized (e0Var) { - j2 = e0Var.f846w; - } - j3 = Math.max(j3, j2); - } - return j3; - } - - public final boolean w() { - return this.R != -9223372036854775807L; - } - - public final void x() { - if (!(this.V || this.F || !this.E || this.I == null)) { - for (e0 e0Var : this.C) { - if (e0Var.l() == null) { - return; - } - } - this.f834w.a(); - int length = this.C.length; - TrackGroup[] trackGroupArr = new TrackGroup[length]; - boolean[] zArr = new boolean[length]; - for (int i2 = 0; i2 < length; i2++) { - Format l = this.C[i2].l(); - Objects.requireNonNull(l); - String str = l.t; - boolean h = c.i.a.c.i2.s.h(str); - boolean z2 = h || c.i.a.c.i2.s.j(str); - zArr[i2] = z2; - this.G = z2 | this.G; - IcyHeaders icyHeaders = this.B; - if (icyHeaders != null) { - if (h || this.D[i2].b) { - Metadata metadata = l.f2694r; - Metadata metadata2 = metadata == null ? new Metadata(icyHeaders) : metadata.a(icyHeaders); - Format.b a2 = l.a(); - a2.i = metadata2; - l = a2.a(); - } - if (h && l.n == -1 && l.o == -1 && icyHeaders.i != -1) { - Format.b a3 = l.a(); - a3.f = icyHeaders.i; - l = a3.a(); - } - } - Class c2 = this.m.c(l); - Format.b a4 = l.a(); - a4.D = c2; - trackGroupArr[i2] = new TrackGroup(a4.a()); - } - this.H = new e(new TrackGroupArray(trackGroupArr), zArr); - this.F = true; - v.a aVar = this.A; - Objects.requireNonNull(aVar); - aVar.b(this); - } - } - - public final void y(int i2) { - t(); - e eVar = this.H; - boolean[] zArr = eVar.d; - if (!zArr[i2]) { - Format format = eVar.a.k[i2].j[0]; - z.a aVar = this.o; - aVar.b(new u(1, c.i.a.c.i2.s.g(format.t), format, 0, null, aVar.a(this.Q), -9223372036854775807L)); - zArr[i2] = true; - } - } - - public final void z(int i2) { - t(); - boolean[] zArr = this.H.b; - if (this.S && zArr[i2] && !this.C[i2].n(false)) { - this.R = 0; - this.S = false; - this.N = true; - this.Q = 0; - this.T = 0; - for (e0 e0Var : this.C) { - e0Var.q(false); - } - v.a aVar = this.A; - Objects.requireNonNull(aVar); - aVar.a(this); - } - } -} diff --git a/app/src/main/java/c/i/a/c/d2/c.java b/app/src/main/java/c/i/a/c/d2/c.java deleted file mode 100644 index 6b386f0115..0000000000 --- a/app/src/main/java/c/i/a/c/d2/c.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.d2; - -import c.i.a.c.d2.z; -/* compiled from: lambda */ -public final /* synthetic */ class c implements Runnable { - public final /* synthetic */ z.a i; - public final /* synthetic */ z j; - public final /* synthetic */ r k; - public final /* synthetic */ u l; - - public /* synthetic */ c(z.a aVar, z zVar, r rVar, u uVar) { - this.i = aVar; - this.j = zVar; - this.k = rVar; - this.l = uVar; - } - - @Override // java.lang.Runnable - public final void run() { - z.a aVar = this.i; - this.j.N(aVar.a, aVar.b, this.k, this.l); - } -} diff --git a/app/src/main/java/c/i/a/c/d2/c0.java b/app/src/main/java/c/i/a/c/d2/c0.java deleted file mode 100644 index 3a3908eed1..0000000000 --- a/app/src/main/java/c/i/a/c/d2/c0.java +++ /dev/null @@ -1,158 +0,0 @@ -package c.i.a.c.d2; - -import androidx.annotation.Nullable; -import c.i.a.c.a2.l; -import c.i.a.c.d2.b0; -import c.i.a.c.d2.y; -import c.i.a.c.h2.j; -import c.i.a.c.h2.m; -import c.i.a.c.h2.r; -import c.i.a.c.h2.u; -import c.i.a.c.h2.x; -import c.i.a.c.r1; -import c.i.a.c.v0; -import c.i.a.c.z1.p; -import c.i.a.c.z1.s; -import c.i.a.c.z1.t; -import com.google.android.exoplayer2.drm.DrmSession; -import com.google.android.exoplayer2.upstream.Loader; -import java.util.Objects; -/* compiled from: ProgressiveMediaSource */ -public final class c0 extends j implements b0.b { - public final v0 g; - public final v0.g h; - public final j.a i; - public final l j; - public final s k; - public final u l; - public final int m; - public boolean n = true; - public long o = -9223372036854775807L; - public boolean p; - public boolean q; - @Nullable - - /* renamed from: r reason: collision with root package name */ - public x f840r; - - /* compiled from: ProgressiveMediaSource */ - public class a extends p { - public a(c0 c0Var, r1 r1Var) { - super(r1Var); - } - - @Override // c.i.a.c.r1 - public r1.c o(int i, r1.c cVar, long j) { - this.b.o(i, cVar, j); - cVar.n = true; - return cVar; - } - } - - /* compiled from: ProgressiveMediaSource */ - public static final class b implements a0 { - public final j.a a; - public l b; - - /* renamed from: c reason: collision with root package name */ - public t f841c = new p(); - public u d = new r(); - public int e = 1048576; - - public b(j.a aVar, l lVar) { - this.a = aVar; - this.b = lVar; - } - } - - public c0(v0 v0Var, j.a aVar, l lVar, s sVar, u uVar, int i) { - v0.g gVar = v0Var.b; - Objects.requireNonNull(gVar); - this.h = gVar; - this.g = v0Var; - this.i = aVar; - this.j = lVar; - this.k = sVar; - this.l = uVar; - this.m = i; - } - - @Override // c.i.a.c.d2.y - public v0 e() { - return this.g; - } - - @Override // c.i.a.c.d2.y - public void g() { - } - - @Override // c.i.a.c.d2.y - public void i(v vVar) { - b0 b0Var = (b0) vVar; - if (b0Var.F) { - e0[] e0VarArr = b0Var.C; - for (e0 e0Var : e0VarArr) { - e0Var.h(); - DrmSession drmSession = e0Var.h; - if (drmSession != null) { - drmSession.b(e0Var.d); - e0Var.h = null; - e0Var.g = null; - } - } - } - Loader loader = b0Var.u; - Loader.d dVar = loader.d; - if (dVar != null) { - dVar.a(true); - } - loader.f2777c.execute(new Loader.g(b0Var)); - loader.f2777c.shutdown(); - b0Var.f837z.removeCallbacksAndMessages(null); - b0Var.A = null; - b0Var.V = true; - } - - @Override // c.i.a.c.d2.y - public v m(y.a aVar, m mVar, long j) { - j a2 = this.i.a(); - x xVar = this.f840r; - if (xVar != null) { - a2.d(xVar); - } - return new b0(this.h.a, a2, this.j, this.k, this.d.g(0, aVar), this.l, this.f853c.g(0, aVar, 0), this, mVar, this.h.f, this.m); - } - - @Override // c.i.a.c.d2.j - public void p(@Nullable x xVar) { - this.f840r = xVar; - this.k.a(); - s(); - } - - @Override // c.i.a.c.d2.j - public void r() { - this.k.release(); - } - - public final void s() { - r1 i0Var = new i0(this.o, this.p, false, this.q, null, this.g); - if (this.n) { - i0Var = new a(this, i0Var); - } - q(i0Var); - } - - public void t(long j, boolean z2, boolean z3) { - if (j == -9223372036854775807L) { - j = this.o; - } - if (this.n || this.o != j || this.p != z2 || this.q != z3) { - this.o = j; - this.p = z2; - this.q = z3; - this.n = false; - s(); - } - } -} diff --git a/app/src/main/java/c/i/a/c/d2/d.java b/app/src/main/java/c/i/a/c/d2/d.java deleted file mode 100644 index 1df5b75b9d..0000000000 --- a/app/src/main/java/c/i/a/c/d2/d.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.d2; - -import c.i.a.c.d2.z; -/* compiled from: lambda */ -public final /* synthetic */ class d implements Runnable { - public final /* synthetic */ z.a i; - public final /* synthetic */ z j; - public final /* synthetic */ u k; - - public /* synthetic */ d(z.a aVar, z zVar, u uVar) { - this.i = aVar; - this.j = zVar; - this.k = uVar; - } - - @Override // java.lang.Runnable - public final void run() { - z.a aVar = this.i; - this.j.l(aVar.a, aVar.b, this.k); - } -} diff --git a/app/src/main/java/c/i/a/c/d2/d0.java b/app/src/main/java/c/i/a/c/d2/d0.java deleted file mode 100644 index 9cdab83836..0000000000 --- a/app/src/main/java/c/i/a/c/d2/d0.java +++ /dev/null @@ -1,148 +0,0 @@ -package c.i.a.c.d2; - -import androidx.annotation.Nullable; -import c.i.a.c.h2.c; -import c.i.a.c.h2.m; -import c.i.a.c.i2.w; -import java.nio.ByteBuffer; -import java.util.Objects; -/* compiled from: SampleDataQueue */ -public class d0 { - public final m a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final w f842c = new w(32); - public a d; - public a e; - public a f; - public long g; - - /* compiled from: SampleDataQueue */ - public static final class a { - public final long a; - public final long b; - - /* renamed from: c reason: collision with root package name */ - public boolean f843c; - @Nullable - public c d; - @Nullable - public a e; - - public a(long j, int i) { - this.a = j; - this.b = j + ((long) i); - } - - public int a(long j) { - return ((int) (j - this.a)) + this.d.b; - } - } - - public d0(m mVar) { - this.a = mVar; - int i = mVar.b; - this.b = i; - a aVar = new a(0, i); - this.d = aVar; - this.e = aVar; - this.f = aVar; - } - - public static a d(a aVar, long j, ByteBuffer byteBuffer, int i) { - while (j >= aVar.b) { - aVar = aVar.e; - } - while (i > 0) { - int min = Math.min(i, (int) (aVar.b - j)); - byteBuffer.put(aVar.d.a, aVar.a(j), min); - i -= min; - j += (long) min; - if (j == aVar.b) { - aVar = aVar.e; - } - } - return aVar; - } - - public static a e(a aVar, long j, byte[] bArr, int i) { - while (j >= aVar.b) { - aVar = aVar.e; - } - int i2 = i; - while (i2 > 0) { - int min = Math.min(i2, (int) (aVar.b - j)); - System.arraycopy(aVar.d.a, aVar.a(j), bArr, i - i2, min); - i2 -= min; - j += (long) min; - if (j == aVar.b) { - aVar = aVar.e; - } - } - return aVar; - } - - public void a(long j) { - if (j != -1) { - while (true) { - a aVar = this.d; - if (j >= aVar.b) { - m mVar = this.a; - c cVar = aVar.d; - synchronized (mVar) { - c[] cVarArr = mVar.f945c; - cVarArr[0] = cVar; - mVar.a(cVarArr); - } - a aVar2 = this.d; - aVar2.d = null; - a aVar3 = aVar2.e; - aVar2.e = null; - this.d = aVar3; - } else if (this.e.a < aVar.a) { - this.e = aVar; - return; - } else { - return; - } - } - } - } - - public final void b(int i) { - long j = this.g + ((long) i); - this.g = j; - a aVar = this.f; - if (j == aVar.b) { - this.f = aVar.e; - } - } - - public final int c(int i) { - c cVar; - a aVar = this.f; - if (!aVar.f843c) { - m mVar = this.a; - synchronized (mVar) { - mVar.e++; - int i2 = mVar.f; - if (i2 > 0) { - c[] cVarArr = mVar.g; - int i3 = i2 - 1; - mVar.f = i3; - cVar = cVarArr[i3]; - Objects.requireNonNull(cVar); - mVar.g[mVar.f] = null; - } else { - cVar = new c(new byte[mVar.b], 0); - } - } - a aVar2 = new a(this.f.b, this.b); - aVar.d = cVar; - aVar.e = aVar2; - aVar.f843c = true; - } - return Math.min(i, (int) (this.f.b - this.g)); - } -} diff --git a/app/src/main/java/c/i/a/c/d2/e.java b/app/src/main/java/c/i/a/c/d2/e.java deleted file mode 100644 index 372119d56e..0000000000 --- a/app/src/main/java/c/i/a/c/d2/e.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.d2; - -import c.i.a.c.d2.z; -/* compiled from: lambda */ -public final /* synthetic */ class e implements Runnable { - public final /* synthetic */ z.a i; - public final /* synthetic */ z j; - public final /* synthetic */ r k; - public final /* synthetic */ u l; - - public /* synthetic */ e(z.a aVar, z zVar, r rVar, u uVar) { - this.i = aVar; - this.j = zVar; - this.k = rVar; - this.l = uVar; - } - - @Override // java.lang.Runnable - public final void run() { - z.a aVar = this.i; - this.j.q(aVar.a, aVar.b, this.k, this.l); - } -} diff --git a/app/src/main/java/c/i/a/c/d2/e0.java b/app/src/main/java/c/i/a/c/d2/e0.java deleted file mode 100644 index 4c1895b7c2..0000000000 --- a/app/src/main/java/c/i/a/c/d2/e0.java +++ /dev/null @@ -1,464 +0,0 @@ -package c.i.a.c.d2; - -import android.os.Looper; -import android.util.Log; -import androidx.annotation.CallSuper; -import androidx.annotation.Nullable; -import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; -import c.c.a.a0.d; -import c.i.a.c.a2.v; -import c.i.a.c.a2.w; -import c.i.a.c.d2.d0; -import c.i.a.c.h2.c; -import c.i.a.c.h2.f; -import c.i.a.c.h2.m; -import c.i.a.c.i2.f0; -import c.i.a.c.s0; -import c.i.a.c.z1.q; -import c.i.a.c.z1.s; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.drm.DrmInitData; -import com.google.android.exoplayer2.drm.DrmSession; -import java.io.EOFException; -import java.io.IOException; -import java.util.Objects; -/* compiled from: SampleQueue */ -public class e0 implements w { - @Nullable - public Format A; - @Nullable - public Format B; - @Nullable - public Format C; - public boolean D; - public boolean E; - public final d0 a; - public final a b = new a(); - @Nullable - - /* renamed from: c reason: collision with root package name */ - public final s f844c; - @Nullable - public final q.a d; - @Nullable - public final Looper e; - @Nullable - public b f; - @Nullable - public Format g; - @Nullable - public DrmSession h; - public int i = 1000; - public int[] j = new int[1000]; - public long[] k = new long[1000]; - public int[] l = new int[1000]; - public int[] m = new int[1000]; - public long[] n = new long[1000]; - public w.a[] o = new w.a[1000]; - public Format[] p = new Format[1000]; - public int q; - - /* renamed from: r reason: collision with root package name */ - public int f845r; - public int s; - public int t; - public long u = Long.MIN_VALUE; - public long v = Long.MIN_VALUE; - - /* renamed from: w reason: collision with root package name */ - public long f846w = Long.MIN_VALUE; - - /* renamed from: x reason: collision with root package name */ - public boolean f847x; - - /* renamed from: y reason: collision with root package name */ - public boolean f848y = true; - - /* renamed from: z reason: collision with root package name */ - public boolean f849z = true; - - /* compiled from: SampleQueue */ - public static final class a { - public int a; - public long b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public w.a f850c; - } - - /* compiled from: SampleQueue */ - public interface b { - } - - public e0(m mVar, @Nullable Looper looper, @Nullable s sVar, @Nullable q.a aVar) { - this.e = looper; - this.f844c = sVar; - this.d = aVar; - this.a = new d0(mVar); - } - - @Override // c.i.a.c.a2.w - public final int a(f fVar, int i, boolean z2, int i2) throws IOException { - d0 d0Var = this.a; - int c2 = d0Var.c(i); - d0.a aVar = d0Var.f; - int read = fVar.read(aVar.d.a, aVar.a(d0Var.g), c2); - if (read != -1) { - d0Var.b(read); - return read; - } else if (z2) { - return -1; - } else { - throw new EOFException(); - } - } - - @Override // c.i.a.c.a2.w - public /* synthetic */ int b(f fVar, int i, boolean z2) { - return v.a(this, fVar, i, z2); - } - - @Override // c.i.a.c.a2.w - public /* synthetic */ void c(c.i.a.c.i2.w wVar, int i) { - v.b(this, wVar, i); - } - - @Override // c.i.a.c.a2.w - public void d(long j, int i, int i2, int i3, @Nullable w.a aVar) { - int i4 = i & 1; - boolean z2 = i4 != 0; - if (this.f848y) { - if (z2) { - this.f848y = false; - } else { - return; - } - } - long j2 = j + 0; - if (this.D) { - if (j2 >= this.u) { - if (i4 == 0) { - if (!this.E) { - StringBuilder O = c.d.b.a.a.O("Overriding unexpected non-sync sample for format: "); - O.append(this.B); - Log.w("SampleQueue", O.toString()); - this.E = true; - } - i |= 1; - } - } else { - return; - } - } - long j3 = (this.a.g - ((long) i2)) - ((long) i3); - synchronized (this) { - int i5 = this.q; - if (i5 > 0) { - int k = k(i5 - 1); - d.k(this.k[k] + ((long) this.l[k]) <= j3); - } - this.f847x = (536870912 & i) != 0; - this.f846w = Math.max(this.f846w, j2); - int k2 = k(this.q); - this.n[k2] = j2; - long[] jArr = this.k; - jArr[k2] = j3; - this.l[k2] = i2; - this.m[k2] = i; - this.o[k2] = aVar; - Format[] formatArr = this.p; - Format format = this.B; - formatArr[k2] = format; - this.j[k2] = 0; - this.C = format; - int i6 = this.q + 1; - this.q = i6; - int i7 = this.i; - if (i6 == i7) { - int i8 = i7 + 1000; - int[] iArr = new int[i8]; - long[] jArr2 = new long[i8]; - long[] jArr3 = new long[i8]; - int[] iArr2 = new int[i8]; - int[] iArr3 = new int[i8]; - w.a[] aVarArr = new w.a[i8]; - Format[] formatArr2 = new Format[i8]; - int i9 = this.s; - int i10 = i7 - i9; - System.arraycopy(jArr, i9, jArr2, 0, i10); - System.arraycopy(this.n, this.s, jArr3, 0, i10); - System.arraycopy(this.m, this.s, iArr2, 0, i10); - System.arraycopy(this.l, this.s, iArr3, 0, i10); - System.arraycopy(this.o, this.s, aVarArr, 0, i10); - System.arraycopy(this.p, this.s, formatArr2, 0, i10); - System.arraycopy(this.j, this.s, iArr, 0, i10); - int i11 = this.s; - System.arraycopy(this.k, 0, jArr2, i10, i11); - System.arraycopy(this.n, 0, jArr3, i10, i11); - System.arraycopy(this.m, 0, iArr2, i10, i11); - System.arraycopy(this.l, 0, iArr3, i10, i11); - System.arraycopy(this.o, 0, aVarArr, i10, i11); - System.arraycopy(this.p, 0, formatArr2, i10, i11); - System.arraycopy(this.j, 0, iArr, i10, i11); - this.k = jArr2; - this.n = jArr3; - this.m = iArr2; - this.l = iArr3; - this.o = aVarArr; - this.p = formatArr2; - this.j = iArr; - this.s = 0; - this.i = i8; - } - } - } - - @Override // c.i.a.c.a2.w - public final void e(Format format) { - boolean z2; - this.A = format; - synchronized (this) { - z2 = false; - this.f849z = false; - if (!f0.a(format, this.B)) { - if (f0.a(format, this.C)) { - this.B = this.C; - } else { - this.B = format; - } - Format format2 = this.B; - this.D = c.i.a.c.i2.s.a(format2.t, format2.q); - this.E = false; - z2 = true; - } - } - b bVar = this.f; - if (bVar != null && z2) { - b0 b0Var = (b0) bVar; - b0Var.f837z.post(b0Var.f835x); - } - } - - @Override // c.i.a.c.a2.w - public final void f(c.i.a.c.i2.w wVar, int i, int i2) { - d0 d0Var = this.a; - Objects.requireNonNull(d0Var); - while (i > 0) { - int c2 = d0Var.c(i); - d0.a aVar = d0Var.f; - wVar.e(aVar.d.a, aVar.a(d0Var.g), c2); - i -= c2; - d0Var.b(c2); - } - } - - public final long g(int i) { - this.v = Math.max(this.v, j(i)); - int i2 = this.q - i; - this.q = i2; - this.f845r += i; - int i3 = this.s + i; - this.s = i3; - int i4 = this.i; - if (i3 >= i4) { - this.s = i3 - i4; - } - int i5 = this.t - i; - this.t = i5; - if (i5 < 0) { - this.t = 0; - } - if (i2 != 0) { - return this.k[this.s]; - } - int i6 = this.s; - if (i6 != 0) { - i4 = i6; - } - int i7 = i4 - 1; - return this.k[i7] + ((long) this.l[i7]); - } - - public final void h() { - long g; - d0 d0Var = this.a; - synchronized (this) { - int i = this.q; - g = i == 0 ? -1 : g(i); - } - d0Var.a(g); - } - - public final int i(int i, int i2, long j, boolean z2) { - int i3 = -1; - for (int i4 = 0; i4 < i2; i4++) { - long[] jArr = this.n; - if (jArr[i] > j) { - return i3; - } - if (!z2 || (this.m[i] & 1) != 0) { - if (jArr[i] == j) { - return i4; - } - i3 = i4; - } - i++; - if (i == this.i) { - i = 0; - } - } - return i3; - } - - public final long j(int i) { - long j = Long.MIN_VALUE; - if (i == 0) { - return Long.MIN_VALUE; - } - int k = k(i - 1); - for (int i2 = 0; i2 < i; i2++) { - j = Math.max(j, this.n[k]); - if ((this.m[k] & 1) != 0) { - break; - } - k--; - if (k == -1) { - k = this.i - 1; - } - } - return j; - } - - public final int k(int i) { - int i2 = this.s + i; - int i3 = this.i; - return i2 < i3 ? i2 : i2 - i3; - } - - @Nullable - public final synchronized Format l() { - return this.f849z ? null : this.B; - } - - public final boolean m() { - return this.t != this.q; - } - - @CallSuper - public synchronized boolean n(boolean z2) { - Format format; - boolean z3 = true; - if (!m()) { - if (!z2 && !this.f847x && ((format = this.B) == null || format == this.g)) { - z3 = false; - } - return z3; - } - int k = k(this.t); - if (this.p[k] != this.g) { - return true; - } - return o(k); - } - - public final boolean o(int i) { - DrmSession drmSession = this.h; - return drmSession == null || drmSession.getState() == 4 || ((this.m[i] & BasicMeasure.EXACTLY) == 0 && this.h.d()); - } - - public final void p(Format format, s0 s0Var) { - Format format2; - Format format3 = this.g; - boolean z2 = format3 == null; - DrmInitData drmInitData = z2 ? null : format3.f2695w; - this.g = format; - DrmInitData drmInitData2 = format.f2695w; - s sVar = this.f844c; - if (sVar != null) { - Class c2 = sVar.c(format); - Format.b a2 = format.a(); - a2.D = c2; - format2 = a2.a(); - } else { - format2 = format; - } - s0Var.b = format2; - s0Var.a = this.h; - if (this.f844c != null) { - if (z2 || !f0.a(drmInitData, drmInitData2)) { - DrmSession drmSession = this.h; - s sVar2 = this.f844c; - Looper looper = this.e; - Objects.requireNonNull(looper); - DrmSession b2 = sVar2.b(looper, this.d, format); - this.h = b2; - s0Var.a = b2; - if (drmSession != null) { - drmSession.b(this.d); - } - } - } - } - - @CallSuper - public void q(boolean z2) { - d0 d0Var = this.a; - d0.a aVar = d0Var.d; - if (aVar.f843c) { - d0.a aVar2 = d0Var.f; - int i = (((int) (aVar2.a - aVar.a)) / d0Var.b) + (aVar2.f843c ? 1 : 0); - c[] cVarArr = new c[i]; - int i2 = 0; - while (i2 < i) { - cVarArr[i2] = aVar.d; - aVar.d = null; - d0.a aVar3 = aVar.e; - aVar.e = null; - i2++; - aVar = aVar3; - } - d0Var.a.a(cVarArr); - } - d0.a aVar4 = new d0.a(0, d0Var.b); - d0Var.d = aVar4; - d0Var.e = aVar4; - d0Var.f = aVar4; - d0Var.g = 0; - d0Var.a.c(); - this.q = 0; - this.f845r = 0; - this.s = 0; - this.t = 0; - this.f848y = true; - this.u = Long.MIN_VALUE; - this.v = Long.MIN_VALUE; - this.f846w = Long.MIN_VALUE; - this.f847x = false; - this.C = null; - if (z2) { - this.A = null; - this.B = null; - this.f849z = true; - } - } - - public final synchronized boolean r(long j, boolean z2) { - synchronized (this) { - this.t = 0; - d0 d0Var = this.a; - d0Var.e = d0Var.d; - } - int k = k(0); - if (!m() || j < this.n[k] || (j > this.f846w && !z2)) { - return false; - } - int i = i(k, this.q - this.t, j, true); - if (i == -1) { - return false; - } - this.u = j; - this.t += i; - return true; - } -} diff --git a/app/src/main/java/c/i/a/c/d2/f.java b/app/src/main/java/c/i/a/c/d2/f.java deleted file mode 100644 index 6ad224e3c6..0000000000 --- a/app/src/main/java/c/i/a/c/d2/f.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.d2; - -import c.i.a.c.d2.z; -/* compiled from: lambda */ -public final /* synthetic */ class f implements Runnable { - public final /* synthetic */ z.a i; - public final /* synthetic */ z j; - public final /* synthetic */ r k; - public final /* synthetic */ u l; - - public /* synthetic */ f(z.a aVar, z zVar, r rVar, u uVar) { - this.i = aVar; - this.j = zVar; - this.k = rVar; - this.l = uVar; - } - - @Override // java.lang.Runnable - public final void run() { - z.a aVar = this.i; - this.j.m(aVar.a, aVar.b, this.k, this.l); - } -} diff --git a/app/src/main/java/c/i/a/c/d2/f0.java b/app/src/main/java/c/i/a/c/d2/f0.java deleted file mode 100644 index 37ea5f0191..0000000000 --- a/app/src/main/java/c/i/a/c/d2/f0.java +++ /dev/null @@ -1,15 +0,0 @@ -package c.i.a.c.d2; - -import c.i.a.c.s0; -import com.google.android.exoplayer2.decoder.DecoderInputBuffer; -import java.io.IOException; -/* compiled from: SampleStream */ -public interface f0 { - int a(s0 s0Var, DecoderInputBuffer decoderInputBuffer, boolean z2); - - void b() throws IOException; - - int c(long j); - - boolean d(); -} diff --git a/app/src/main/java/c/i/a/c/d2/g.java b/app/src/main/java/c/i/a/c/d2/g.java deleted file mode 100644 index 96b81e7abc..0000000000 --- a/app/src/main/java/c/i/a/c/d2/g.java +++ /dev/null @@ -1,14 +0,0 @@ -package c.i.a.c.d2; -/* compiled from: lambda */ -public final /* synthetic */ class g implements Runnable { - public final /* synthetic */ b0 i; - - public /* synthetic */ g(b0 b0Var) { - this.i = b0Var; - } - - @Override // java.lang.Runnable - public final void run() { - this.i.x(); - } -} diff --git a/app/src/main/java/c/i/a/c/d2/g0.java b/app/src/main/java/c/i/a/c/d2/g0.java deleted file mode 100644 index ee7ea27748..0000000000 --- a/app/src/main/java/c/i/a/c/d2/g0.java +++ /dev/null @@ -1,9 +0,0 @@ -package c.i.a.c.d2; -/* compiled from: SequenceableLoader */ -public interface g0 { - - /* compiled from: SequenceableLoader */ - public interface a { - void a(T t); - } -} diff --git a/app/src/main/java/c/i/a/c/d2/h.java b/app/src/main/java/c/i/a/c/d2/h.java deleted file mode 100644 index 13b471dba6..0000000000 --- a/app/src/main/java/c/i/a/c/d2/h.java +++ /dev/null @@ -1,32 +0,0 @@ -package c.i.a.c.d2; - -import c.i.a.c.a2.t; -/* compiled from: lambda */ -public final /* synthetic */ class h implements Runnable { - public final /* synthetic */ b0 i; - public final /* synthetic */ t j; - - public /* synthetic */ h(b0 b0Var, t tVar) { - this.i = b0Var; - this.j = tVar; - } - - @Override // java.lang.Runnable - public final void run() { - b0 b0Var = this.i; - t tVar = this.j; - b0Var.I = b0Var.B == null ? tVar : new t.b(-9223372036854775807L, 0); - b0Var.J = tVar.i(); - int i = 1; - boolean z2 = b0Var.P == -1 && tVar.i() == -9223372036854775807L; - b0Var.K = z2; - if (z2) { - i = 7; - } - b0Var.L = i; - ((c0) b0Var.q).t(b0Var.J, tVar.c(), b0Var.K); - if (!b0Var.F) { - b0Var.x(); - } - } -} diff --git a/app/src/main/java/c/i/a/c/d2/h0.java b/app/src/main/java/c/i/a/c/d2/h0.java deleted file mode 100644 index 13effcda92..0000000000 --- a/app/src/main/java/c/i/a/c/d2/h0.java +++ /dev/null @@ -1,160 +0,0 @@ -package c.i.a.c.d2; - -import java.util.Arrays; -import java.util.Random; -/* compiled from: ShuffleOrder */ -public interface h0 { - - /* compiled from: ShuffleOrder */ - public static class a implements h0 { - public final Random a; - public final int[] b; - - /* renamed from: c reason: collision with root package name */ - public final int[] f851c; - - /* JADX WARNING: Illegal instructions before constructor call */ - public a(int i, Random random) { - this(r0, random); - int[] iArr = new int[i]; - int i2 = 0; - while (i2 < i) { - int i3 = i2 + 1; - int nextInt = random.nextInt(i3); - iArr[i2] = iArr[nextInt]; - iArr[nextInt] = i2; - i2 = i3; - } - } - - public a(int[] iArr, Random random) { - this.b = iArr; - this.a = random; - this.f851c = new int[iArr.length]; - for (int i = 0; i < iArr.length; i++) { - this.f851c[iArr[i]] = i; - } - } - - @Override // c.i.a.c.d2.h0 - public h0 a(int i, int i2) { - int i3 = i2 - i; - int[] iArr = new int[(this.b.length - i3)]; - int i4 = 0; - int i5 = 0; - while (true) { - int[] iArr2 = this.b; - if (i4 >= iArr2.length) { - return new a(iArr, new Random(this.a.nextLong())); - } - if (iArr2[i4] < i || iArr2[i4] >= i2) { - iArr[i4 - i5] = iArr2[i4] >= i ? iArr2[i4] - i3 : iArr2[i4]; - } else { - i5++; - } - i4++; - } - } - - @Override // c.i.a.c.d2.h0 - public int b() { - return this.b.length; - } - - @Override // c.i.a.c.d2.h0 - public int c() { - int[] iArr = this.b; - if (iArr.length > 0) { - return iArr[0]; - } - return -1; - } - - @Override // c.i.a.c.d2.h0 - public int d(int i) { - int i2 = this.f851c[i] - 1; - if (i2 >= 0) { - return this.b[i2]; - } - return -1; - } - - @Override // c.i.a.c.d2.h0 - public int e(int i) { - int i2 = this.f851c[i] + 1; - int[] iArr = this.b; - if (i2 < iArr.length) { - return iArr[i2]; - } - return -1; - } - - @Override // c.i.a.c.d2.h0 - public h0 f(int i, int i2) { - int[] iArr = new int[i2]; - int[] iArr2 = new int[i2]; - int i3 = 0; - int i4 = 0; - while (i4 < i2) { - iArr[i4] = this.a.nextInt(this.b.length + 1); - int i5 = i4 + 1; - int nextInt = this.a.nextInt(i5); - iArr2[i4] = iArr2[nextInt]; - iArr2[nextInt] = i4 + i; - i4 = i5; - } - Arrays.sort(iArr); - int[] iArr3 = new int[(this.b.length + i2)]; - int i6 = 0; - int i7 = 0; - while (true) { - int[] iArr4 = this.b; - if (i3 >= iArr4.length + i2) { - return new a(iArr3, new Random(this.a.nextLong())); - } - if (i6 >= i2 || i7 != iArr[i6]) { - int i8 = i7 + 1; - iArr3[i3] = iArr4[i7]; - if (iArr3[i3] >= i) { - iArr3[i3] = iArr3[i3] + i2; - } - i7 = i8; - } else { - iArr3[i3] = iArr2[i6]; - i6++; - } - i3++; - } - } - - @Override // c.i.a.c.d2.h0 - public int g() { - int[] iArr = this.b; - if (iArr.length > 0) { - return iArr[iArr.length - 1]; - } - return -1; - } - - @Override // c.i.a.c.d2.h0 - public h0 h() { - return new a(0, new Random(this.a.nextLong())); - } - } - - h0 a(int i, int i2); - - int b(); - - int c(); - - int d(int i); - - int e(int i); - - h0 f(int i, int i2); - - int g(); - - h0 h(); -} diff --git a/app/src/main/java/c/i/a/c/d2/i.java b/app/src/main/java/c/i/a/c/d2/i.java deleted file mode 100644 index c0feff4edc..0000000000 --- a/app/src/main/java/c/i/a/c/d2/i.java +++ /dev/null @@ -1,22 +0,0 @@ -package c.i.a.c.d2; - -import c.i.a.c.d2.v; -import java.util.Objects; -/* compiled from: lambda */ -public final /* synthetic */ class i implements Runnable { - public final /* synthetic */ b0 i; - - public /* synthetic */ i(b0 b0Var) { - this.i = b0Var; - } - - @Override // java.lang.Runnable - public final void run() { - b0 b0Var = this.i; - if (!b0Var.V) { - v.a aVar = b0Var.A; - Objects.requireNonNull(aVar); - aVar.a(b0Var); - } - } -} diff --git a/app/src/main/java/c/i/a/c/d2/i0.java b/app/src/main/java/c/i/a/c/d2/i0.java deleted file mode 100644 index 65d4680993..0000000000 --- a/app/src/main/java/c/i/a/c/d2/i0.java +++ /dev/null @@ -1,83 +0,0 @@ -package c.i.a.c.d2; - -import android.net.Uri; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.d2.j0.a; -import c.i.a.c.r1; -import c.i.a.c.v0; -import java.util.Objects; -/* compiled from: SinglePeriodTimeline */ -public final class i0 extends r1 { - public static final Object b = new Object(); - - /* renamed from: c reason: collision with root package name */ - public final long f852c; - public final long d; - public final boolean e; - @Nullable - public final v0 f; - @Nullable - public final v0.f g; - - static { - v0.c cVar = new v0.c(); - cVar.a = "SinglePeriodTimeline"; - cVar.b = Uri.EMPTY; - cVar.a(); - } - - public i0(long j, boolean z2, boolean z3, boolean z4, @Nullable Object obj, v0 v0Var) { - v0.f fVar = z4 ? v0Var.f1042c : null; - this.f852c = j; - this.d = j; - this.e = z2; - Objects.requireNonNull(v0Var); - this.f = v0Var; - this.g = fVar; - } - - @Override // c.i.a.c.r1 - public int b(Object obj) { - return b.equals(obj) ? 0 : -1; - } - - @Override // c.i.a.c.r1 - public r1.b g(int i, r1.b bVar, boolean z2) { - d.t(i, 0, 1); - Object obj = z2 ? b : null; - long j = this.f852c; - Objects.requireNonNull(bVar); - a aVar = a.a; - bVar.a = null; - bVar.b = obj; - bVar.f1017c = 0; - bVar.d = j; - bVar.e = 0; - bVar.f = aVar; - return bVar; - } - - @Override // c.i.a.c.r1 - public int i() { - return 1; - } - - @Override // c.i.a.c.r1 - public Object m(int i) { - d.t(i, 0, 1); - return b; - } - - @Override // c.i.a.c.r1 - public r1.c o(int i, r1.c cVar, long j) { - d.t(i, 0, 1); - cVar.d(r1.c.a, this.f, null, -9223372036854775807L, -9223372036854775807L, -9223372036854775807L, this.e, false, this.g, 0, this.d, 0, 0, 0); - return cVar; - } - - @Override // c.i.a.c.r1 - public int p() { - return 1; - } -} diff --git a/app/src/main/java/c/i/a/c/d2/j.java b/app/src/main/java/c/i/a/c/d2/j.java deleted file mode 100644 index 54261add68..0000000000 --- a/app/src/main/java/c/i/a/c/d2/j.java +++ /dev/null @@ -1,131 +0,0 @@ -package c.i.a.c.d2; - -import android.os.Handler; -import android.os.Looper; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.d2.y; -import c.i.a.c.d2.z; -import c.i.a.c.h2.x; -import c.i.a.c.r1; -import c.i.a.c.z1.q; -import java.util.ArrayList; -import java.util.HashSet; -import java.util.Iterator; -import java.util.Objects; -/* compiled from: BaseMediaSource */ -public abstract class j implements y { - public final ArrayList a = new ArrayList<>(1); - public final HashSet b = new HashSet<>(1); - - /* renamed from: c reason: collision with root package name */ - public final z.a f853c = new z.a(); - public final q.a d = new q.a(); - @Nullable - public Looper e; - @Nullable - public r1 f; - - @Override // c.i.a.c.d2.y - public final void a(y.b bVar) { - this.a.remove(bVar); - if (this.a.isEmpty()) { - this.e = null; - this.f = null; - this.b.clear(); - r(); - return; - } - d(bVar); - } - - @Override // c.i.a.c.d2.y - public final void b(Handler handler, z zVar) { - z.a aVar = this.f853c; - Objects.requireNonNull(aVar); - aVar.f865c.add(new z.a.C0092a(handler, zVar)); - } - - @Override // c.i.a.c.d2.y - public final void c(z zVar) { - z.a aVar = this.f853c; - Iterator it = aVar.f865c.iterator(); - while (it.hasNext()) { - z.a.C0092a next = it.next(); - if (next.b == zVar) { - aVar.f865c.remove(next); - } - } - } - - @Override // c.i.a.c.d2.y - public final void d(y.b bVar) { - boolean z2 = !this.b.isEmpty(); - this.b.remove(bVar); - if (z2 && this.b.isEmpty()) { - n(); - } - } - - @Override // c.i.a.c.d2.y - public final void f(Handler handler, q qVar) { - q.a aVar = this.d; - Objects.requireNonNull(aVar); - aVar.f1084c.add(new q.a.C0100a(handler, qVar)); - } - - @Override // c.i.a.c.d2.y - public /* synthetic */ boolean h() { - return x.b(this); - } - - @Override // c.i.a.c.d2.y - public /* synthetic */ r1 j() { - return x.a(this); - } - - @Override // c.i.a.c.d2.y - public final void k(y.b bVar, @Nullable x xVar) { - Looper myLooper = Looper.myLooper(); - Looper looper = this.e; - d.k(looper == null || looper == myLooper); - r1 r1Var = this.f; - this.a.add(bVar); - if (this.e == null) { - this.e = myLooper; - this.b.add(bVar); - p(xVar); - } else if (r1Var != null) { - l(bVar); - bVar.a(this, r1Var); - } - } - - @Override // c.i.a.c.d2.y - public final void l(y.b bVar) { - Objects.requireNonNull(this.e); - boolean isEmpty = this.b.isEmpty(); - this.b.add(bVar); - if (isEmpty) { - o(); - } - } - - public void n() { - } - - public void o() { - } - - public abstract void p(@Nullable x xVar); - - public final void q(r1 r1Var) { - this.f = r1Var; - Iterator it = this.a.iterator(); - while (it.hasNext()) { - it.next().a(this, r1Var); - } - } - - public abstract void r(); -} diff --git a/app/src/main/java/c/i/a/c/d2/j0/a.java b/app/src/main/java/c/i/a/c/d2/j0/a.java deleted file mode 100644 index 6bbf42bb80..0000000000 --- a/app/src/main/java/c/i/a/c/d2/j0/a.java +++ /dev/null @@ -1,140 +0,0 @@ -package c.i.a.c.d2.j0; - -import android.net.Uri; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.i2.f0; -import java.util.Arrays; -/* compiled from: AdPlaybackState */ -public final class a { - public static final a a = new a(null, new long[0], null, 0, -9223372036854775807L); - @Nullable - public final Object b = null; - - /* renamed from: c reason: collision with root package name */ - public final int f854c; - public final long[] d; - public final C0091a[] e; - public final long f; - public final long g; - - /* compiled from: AdPlaybackState */ - /* renamed from: c.i.a.c.d2.j0.a$a reason: collision with other inner class name */ - public static final class C0091a { - public final int a = -1; - public final Uri[] b = new Uri[0]; - - /* renamed from: c reason: collision with root package name */ - public final int[] f855c = new int[0]; - public final long[] d = new long[0]; - - public C0091a() { - d.k(true); - } - - public int a(int i) { - int i2 = i + 1; - while (true) { - int[] iArr = this.f855c; - if (i2 >= iArr.length || iArr[i2] == 0 || iArr[i2] == 1) { - break; - } - i2++; - } - return i2; - } - - public boolean b() { - return this.a == -1 || a(-1) < this.a; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || C0091a.class != obj.getClass()) { - return false; - } - C0091a aVar = (C0091a) obj; - return this.a == aVar.a && Arrays.equals(this.b, aVar.b) && Arrays.equals(this.f855c, aVar.f855c) && Arrays.equals(this.d, aVar.d); - } - - public int hashCode() { - int hashCode = Arrays.hashCode(this.f855c); - return Arrays.hashCode(this.d) + ((hashCode + (((this.a * 31) + Arrays.hashCode(this.b)) * 31)) * 31); - } - } - - public a(@Nullable Object obj, long[] jArr, @Nullable C0091a[] aVarArr, long j, long j2) { - this.d = jArr; - this.f = j; - this.g = j2; - int length = jArr.length; - this.f854c = length; - C0091a[] aVarArr2 = new C0091a[length]; - for (int i = 0; i < this.f854c; i++) { - aVarArr2[i] = new C0091a(); - } - this.e = aVarArr2; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || a.class != obj.getClass()) { - return false; - } - a aVar = (a) obj; - return f0.a(this.b, aVar.b) && this.f854c == aVar.f854c && this.f == aVar.f && this.g == aVar.g && Arrays.equals(this.d, aVar.d) && Arrays.equals(this.e, aVar.e); - } - - public int hashCode() { - int i = this.f854c * 31; - Object obj = this.b; - int hashCode = obj == null ? 0 : obj.hashCode(); - return Arrays.hashCode(this.e) + ((Arrays.hashCode(this.d) + ((((((i + hashCode) * 31) + ((int) this.f)) * 31) + ((int) this.g)) * 31)) * 31); - } - - public String toString() { - StringBuilder O = c.d.b.a.a.O("AdPlaybackState(adsId="); - O.append(this.b); - O.append(", adResumePositionUs="); - O.append(this.f); - O.append(", adGroups=["); - for (int i = 0; i < this.e.length; i++) { - O.append("adGroup(timeUs="); - O.append(this.d[i]); - O.append(", ads=["); - for (int i2 = 0; i2 < this.e[i].f855c.length; i2++) { - O.append("ad(state="); - int i3 = this.e[i].f855c[i2]; - if (i3 == 0) { - O.append('_'); - } else if (i3 == 1) { - O.append('R'); - } else if (i3 == 2) { - O.append('S'); - } else if (i3 == 3) { - O.append('P'); - } else if (i3 != 4) { - O.append('?'); - } else { - O.append('!'); - } - O.append(", durationUs="); - O.append(this.e[i].d[i2]); - O.append(')'); - if (i2 < this.e[i].f855c.length - 1) { - O.append(", "); - } - } - O.append("])"); - if (i < this.e.length - 1) { - O.append(", "); - } - } - O.append("])"); - return O.toString(); - } -} diff --git a/app/src/main/java/c/i/a/c/d2/j0/b.java b/app/src/main/java/c/i/a/c/d2/j0/b.java deleted file mode 100644 index 81cd62cdc8..0000000000 --- a/app/src/main/java/c/i/a/c/d2/j0/b.java +++ /dev/null @@ -1,12 +0,0 @@ -package c.i.a.c.d2.j0; - -import android.view.View; -import androidx.annotation.Nullable; -/* compiled from: AdsLoader */ -public final class b { - public b(View view, int i) { - } - - public b(View view, int i, @Nullable String str) { - } -} diff --git a/app/src/main/java/c/i/a/c/d2/k.java b/app/src/main/java/c/i/a/c/d2/k.java deleted file mode 100644 index 8be2a85b95..0000000000 --- a/app/src/main/java/c/i/a/c/d2/k.java +++ /dev/null @@ -1,112 +0,0 @@ -package c.i.a.c.d2; - -import android.net.Uri; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.d.b.a.a; -import c.i.a.c.a2.e; -import c.i.a.c.a2.h; -import c.i.a.c.a2.i; -import c.i.a.c.a2.j; -import c.i.a.c.a2.l; -import c.i.a.c.h2.f; -import c.i.a.c.i2.f0; -import com.google.android.exoplayer2.source.UnrecognizedInputFormatException; -import java.io.EOFException; -import java.io.IOException; -import java.util.List; -import java.util.Map; -import java.util.Objects; -/* compiled from: BundledExtractorsAdapter */ -public final class k { - public final l a; - @Nullable - public h b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public i f856c; - - public k(l lVar) { - this.a = lVar; - } - - public long a() { - i iVar = this.f856c; - if (iVar != null) { - return iVar.getPosition(); - } - return -1; - } - - /* JADX WARNING: Code restructure failed: missing block: B:17:0x003d, code lost: - if (r6.d != r11) goto L_0x005f; - */ - /* JADX WARNING: Code restructure failed: missing block: B:30:0x005c, code lost: - if (r6.d != r11) goto L_0x005f; - */ - /* JADX WARNING: Code restructure failed: missing block: B:31:0x005f, code lost: - r1 = false; - */ - public void b(f fVar, Uri uri, Map> map, long j, long j2, j jVar) throws IOException { - e eVar = new e(fVar, j, j2); - this.f856c = eVar; - if (this.b == null) { - h[] b = this.a.b(uri, map); - boolean z2 = true; - if (b.length == 1) { - this.b = b[0]; - } else { - int length = b.length; - int i = 0; - while (true) { - if (i >= length) { - break; - } - h hVar = b[i]; - try { - if (hVar.b(eVar)) { - this.b = hVar; - d.D(true); - eVar.f = 0; - break; - } - if (this.b == null) { - } - boolean z3 = true; - d.D(z3); - eVar.f = 0; - i++; - } catch (EOFException unused) { - if (this.b == null) { - } - } catch (Throwable th) { - if (this.b == null && eVar.d != j) { - z2 = false; - } - d.D(z2); - eVar.f = 0; - throw th; - } - } - if (this.b == null) { - StringBuilder O = a.O("None of the available extractors ("); - int i2 = f0.a; - StringBuilder sb = new StringBuilder(); - for (int i3 = 0; i3 < b.length; i3++) { - sb.append(b[i3].getClass().getSimpleName()); - if (i3 < b.length - 1) { - sb.append(", "); - } - } - O.append(sb.toString()); - O.append(") could read the stream."); - String sb2 = O.toString(); - Objects.requireNonNull(uri); - throw new UnrecognizedInputFormatException(sb2, uri); - } - } - this.b.f(jVar); - } - } -} diff --git a/app/src/main/java/c/i/a/c/d2/l.java b/app/src/main/java/c/i/a/c/d2/l.java deleted file mode 100644 index 9a43f99efb..0000000000 --- a/app/src/main/java/c/i/a/c/d2/l.java +++ /dev/null @@ -1,336 +0,0 @@ -package c.i.a.c.d2; - -import androidx.annotation.Nullable; -import androidx.recyclerview.widget.RecyclerView; -import c.c.a.a0.d; -import c.i.a.c.d2.v; -import c.i.a.c.f2.g; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.s; -import c.i.a.c.o1; -import c.i.a.c.s0; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.decoder.DecoderInputBuffer; -import com.google.android.exoplayer2.source.TrackGroupArray; -import java.io.IOException; -import java.util.Objects; -/* compiled from: ClippingMediaPeriod */ -public final class l implements v, v.a { - public final v i; - @Nullable - public v.a j; - public a[] k = new a[0]; - public long l; - public long m; - public long n; - - /* compiled from: ClippingMediaPeriod */ - public final class a implements f0 { - public final f0 a; - public boolean b; - - public a(f0 f0Var) { - this.a = f0Var; - } - - @Override // c.i.a.c.d2.f0 - public int a(s0 s0Var, DecoderInputBuffer decoderInputBuffer, boolean z2) { - if (l.this.d()) { - return -3; - } - if (this.b) { - decoderInputBuffer.i = 4; - return -4; - } - int a = this.a.a(s0Var, decoderInputBuffer, z2); - if (a == -5) { - Format format = s0Var.b; - Objects.requireNonNull(format); - int i = format.J; - if (!(i == 0 && format.K == 0)) { - l lVar = l.this; - int i2 = 0; - if (lVar.m != 0) { - i = 0; - } - if (lVar.n == Long.MIN_VALUE) { - i2 = format.K; - } - Format.b a2 = format.a(); - a2.A = i; - a2.B = i2; - s0Var.b = a2.a(); - } - return -5; - } - l lVar2 = l.this; - long j = lVar2.n; - if (j == Long.MIN_VALUE || ((a != -4 || decoderInputBuffer.m < j) && (a != -3 || lVar2.q() != Long.MIN_VALUE || decoderInputBuffer.l))) { - return a; - } - decoderInputBuffer.p(); - decoderInputBuffer.i = 4; - this.b = true; - return -4; - } - - @Override // c.i.a.c.d2.f0 - public void b() throws IOException { - this.a.b(); - } - - @Override // c.i.a.c.d2.f0 - public int c(long j) { - if (l.this.d()) { - return -3; - } - return this.a.c(j); - } - - @Override // c.i.a.c.d2.f0 - public boolean d() { - return !l.this.d() && this.a.d(); - } - } - - public l(v vVar, boolean z2, long j, long j2) { - this.i = vVar; - this.l = z2 ? j : -9223372036854775807L; - this.m = j; - this.n = j2; - } - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [c.i.a.c.d2.g0] */ - @Override // c.i.a.c.d2.g0.a - public void a(v vVar) { - v.a aVar = this.j; - Objects.requireNonNull(aVar); - aVar.a(this); - } - - @Override // c.i.a.c.d2.v.a - public void b(v vVar) { - v.a aVar = this.j; - Objects.requireNonNull(aVar); - aVar.b(this); - } - - @Override // c.i.a.c.d2.v - public long c() { - long c2 = this.i.c(); - if (c2 != Long.MIN_VALUE) { - long j = this.n; - if (j == Long.MIN_VALUE || c2 < j) { - return c2; - } - } - return Long.MIN_VALUE; - } - - public boolean d() { - return this.l != -9223372036854775807L; - } - - @Override // c.i.a.c.d2.v - public void e() throws IOException { - this.i.e(); - } - - /* JADX WARNING: Code restructure failed: missing block: B:13:0x0031, code lost: - if (r0 > r7) goto L_0x0034; - */ - @Override // c.i.a.c.d2.v - public long f(long j) { - this.l = -9223372036854775807L; - a[] aVarArr = this.k; - boolean z2 = false; - for (a aVar : aVarArr) { - if (aVar != null) { - aVar.b = false; - } - } - long f = this.i.f(j); - if (f != j) { - if (f >= this.m) { - long j2 = this.n; - if (j2 != Long.MIN_VALUE) { - } - } - d.D(z2); - return f; - } - z2 = true; - d.D(z2); - return f; - } - - @Override // c.i.a.c.d2.v - public boolean g(long j) { - return this.i.g(j); - } - - @Override // c.i.a.c.d2.v - public boolean h() { - return this.i.h(); - } - - @Override // c.i.a.c.d2.v - public long i(long j, o1 o1Var) { - long j2 = this.m; - if (j == j2) { - return j2; - } - long i = f0.i(o1Var.f999c, 0, j - j2); - long j3 = o1Var.d; - long j4 = this.n; - long i2 = f0.i(j3, 0, j4 == Long.MIN_VALUE ? RecyclerView.FOREVER_NS : j4 - j); - if (!(i == o1Var.f999c && i2 == o1Var.d)) { - o1Var = new o1(i, i2); - } - return this.i.i(j, o1Var); - } - - @Override // c.i.a.c.d2.v - public long k() { - if (d()) { - long j = this.l; - this.l = -9223372036854775807L; - long k = k(); - return k != -9223372036854775807L ? k : j; - } - long k2 = this.i.k(); - if (k2 == -9223372036854775807L) { - return -9223372036854775807L; - } - boolean z2 = true; - d.D(k2 >= this.m); - long j2 = this.n; - if (j2 != Long.MIN_VALUE && k2 > j2) { - z2 = false; - } - d.D(z2); - return k2; - } - - @Override // c.i.a.c.d2.v - public void l(v.a aVar, long j) { - this.j = aVar; - this.i.l(this, j); - } - - /* JADX WARNING: Code restructure failed: missing block: B:32:0x0085, code lost: - if (r1 > r5) goto L_0x0088; - */ - /* JADX WARNING: Removed duplicated region for block: B:23:0x0068 */ - /* JADX WARNING: Removed duplicated region for block: B:27:0x0075 */ - /* JADX WARNING: Removed duplicated region for block: B:37:0x008f */ - @Override // c.i.a.c.d2.v - public long m(g[] gVarArr, boolean[] zArr, f0[] f0VarArr, boolean[] zArr2, long j) { - long j2; - boolean z2; - this.k = new a[f0VarArr.length]; - f0[] f0VarArr2 = new f0[f0VarArr.length]; - int i = 0; - while (true) { - f0 f0Var = null; - if (i >= f0VarArr.length) { - break; - } - a[] aVarArr = this.k; - aVarArr[i] = (a) f0VarArr[i]; - if (aVarArr[i] != null) { - f0Var = aVarArr[i].a; - } - f0VarArr2[i] = f0Var; - i++; - } - long m = this.i.m(gVarArr, zArr, f0VarArr2, zArr2, j); - boolean z3 = true; - if (d()) { - long j3 = this.m; - if (j == j3) { - if (j3 != 0) { - int length = gVarArr.length; - int i2 = 0; - while (true) { - if (i2 >= length) { - break; - } - g gVar = gVarArr[i2]; - if (gVar != null) { - Format h = gVar.h(); - if (!s.a(h.t, h.q)) { - z2 = true; - break; - } - } - i2++; - } - if (z2) { - j2 = m; - this.l = j2; - if (m != j) { - if (m >= this.m) { - long j4 = this.n; - if (j4 != Long.MIN_VALUE) { - } - } - z3 = false; - } - d.D(z3); - for (int i3 = 0; i3 < f0VarArr.length; i3++) { - if (f0VarArr2[i3] == null) { - this.k[i3] = null; - } else { - a[] aVarArr2 = this.k; - if (aVarArr2[i3] == null || aVarArr2[i3].a != f0VarArr2[i3]) { - aVarArr2[i3] = new a(f0VarArr2[i3]); - } - } - f0VarArr[i3] = this.k[i3]; - } - return m; - } - } - z2 = false; - if (z2) { - } - } - } - j2 = -9223372036854775807L; - this.l = j2; - if (m != j) { - } - d.D(z3); - while (i3 < f0VarArr.length) { - } - return m; - } - - @Override // c.i.a.c.d2.v - public TrackGroupArray n() { - return this.i.n(); - } - - @Override // c.i.a.c.d2.v - public long q() { - long q = this.i.q(); - if (q != Long.MIN_VALUE) { - long j = this.n; - if (j == Long.MIN_VALUE || q < j) { - return q; - } - } - return Long.MIN_VALUE; - } - - @Override // c.i.a.c.d2.v - public void r(long j, boolean z2) { - this.i.r(j, z2); - } - - @Override // c.i.a.c.d2.v - public void s(long j) { - this.i.s(j); - } -} diff --git a/app/src/main/java/c/i/a/c/d2/m.java b/app/src/main/java/c/i/a/c/d2/m.java deleted file mode 100644 index a913f56f1d..0000000000 --- a/app/src/main/java/c/i/a/c/d2/m.java +++ /dev/null @@ -1,189 +0,0 @@ -package c.i.a.c.d2; - -import android.os.Handler; -import androidx.annotation.CallSuper; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.d2.t; -import c.i.a.c.d2.y; -import c.i.a.c.d2.z; -import c.i.a.c.h2.x; -import c.i.a.c.i2.f0; -import c.i.a.c.z1.q; -import java.io.IOException; -import java.util.HashMap; -import java.util.Objects; -/* compiled from: CompositeMediaSource */ -public abstract class m extends j { - public final HashMap g = new HashMap<>(); - @Nullable - public Handler h; - @Nullable - public x i; - - /* compiled from: CompositeMediaSource */ - public final class a implements z, q { - public final T i; - public z.a j; - public q.a k; - - public a(T t) { - this.j = m.this.f853c.g(0, null, 0); - this.k = m.this.d.g(0, null); - this.i = t; - } - - @Override // c.i.a.c.z1.q - public void B(int i, @Nullable y.a aVar) { - a(i, aVar); - this.k.b(); - } - - @Override // c.i.a.c.z1.q - public void F(int i, @Nullable y.a aVar) { - a(i, aVar); - this.k.d(); - } - - @Override // c.i.a.c.z1.q - public void L(int i, @Nullable y.a aVar) { - a(i, aVar); - this.k.a(); - } - - @Override // c.i.a.c.d2.z - public void N(int i, @Nullable y.a aVar, r rVar, u uVar) { - a(i, aVar); - this.j.d(rVar, b(uVar)); - } - - @Override // c.i.a.c.z1.q - public void R(int i, @Nullable y.a aVar) { - a(i, aVar); - this.k.f(); - } - - @Override // c.i.a.c.d2.z - public void U(int i, @Nullable y.a aVar, r rVar, u uVar, IOException iOException, boolean z2) { - a(i, aVar); - this.j.e(rVar, b(uVar), iOException, z2); - } - - @Override // c.i.a.c.z1.q - public void W(int i, @Nullable y.a aVar) { - a(i, aVar); - this.k.c(); - } - - public final boolean a(int i, @Nullable y.a aVar) { - y.a aVar2; - if (aVar != null) { - m mVar = m.this; - T t = this.i; - t tVar = (t) mVar; - Objects.requireNonNull(tVar); - Object obj = aVar.a; - Object obj2 = tVar.n.e; - if (obj2 != null && obj2.equals(obj)) { - obj = t.a.f862c; - } - aVar2 = aVar.b(obj); - } else { - aVar2 = null; - } - Objects.requireNonNull(m.this); - z.a aVar3 = this.j; - if (aVar3.a != i || !f0.a(aVar3.b, aVar2)) { - this.j = m.this.f853c.g(i, aVar2, 0); - } - q.a aVar4 = this.k; - if (aVar4.a == i && f0.a(aVar4.b, aVar2)) { - return true; - } - this.k = new q.a(m.this.d.f1084c, i, aVar2); - return true; - } - - public final u b(u uVar) { - m mVar = m.this; - long j = uVar.f; - Objects.requireNonNull(mVar); - m mVar2 = m.this; - long j2 = uVar.g; - Objects.requireNonNull(mVar2); - return (j == uVar.f && j2 == uVar.g) ? uVar : new u(uVar.a, uVar.b, uVar.f863c, uVar.d, uVar.e, j, j2); - } - - @Override // c.i.a.c.d2.z - public void l(int i, @Nullable y.a aVar, u uVar) { - a(i, aVar); - this.j.b(b(uVar)); - } - - @Override // c.i.a.c.d2.z - public void m(int i, @Nullable y.a aVar, r rVar, u uVar) { - a(i, aVar); - this.j.c(rVar, b(uVar)); - } - - @Override // c.i.a.c.z1.q - public void o(int i, @Nullable y.a aVar, Exception exc) { - a(i, aVar); - this.k.e(exc); - } - - @Override // c.i.a.c.d2.z - public void q(int i, @Nullable y.a aVar, r rVar, u uVar) { - a(i, aVar); - this.j.f(rVar, b(uVar)); - } - } - - /* compiled from: CompositeMediaSource */ - public static final class b { - public final y a; - public final y.b b; - - /* renamed from: c reason: collision with root package name */ - public final z f858c; - - public b(y yVar, y.b bVar, z zVar) { - this.a = yVar; - this.b = bVar; - this.f858c = zVar; - } - } - - @Override // c.i.a.c.d2.j - @CallSuper - public void n() { - for (b bVar : this.g.values()) { - bVar.a.d(bVar.b); - } - } - - @Override // c.i.a.c.d2.j - @CallSuper - public void o() { - for (b bVar : this.g.values()) { - bVar.a.l(bVar.b); - } - } - - public final void s(T t, y yVar) { - d.k(!this.g.containsKey(null)); - y.b aVar = new a(this, null); - a aVar2 = new a(null); - this.g.put(null, new b(yVar, aVar, aVar2)); - Handler handler = this.h; - Objects.requireNonNull(handler); - yVar.b(handler, aVar2); - Handler handler2 = this.h; - Objects.requireNonNull(handler2); - yVar.f(handler2, aVar2); - yVar.k(aVar, this.i); - if (!(!this.b.isEmpty())) { - yVar.d(aVar); - } - } -} diff --git a/app/src/main/java/c/i/a/c/d2/n.java b/app/src/main/java/c/i/a/c/d2/n.java deleted file mode 100644 index f743bbbfc5..0000000000 --- a/app/src/main/java/c/i/a/c/d2/n.java +++ /dev/null @@ -1,36 +0,0 @@ -package c.i.a.c.d2; - -import android.content.Context; -import android.util.SparseArray; -import c.i.a.c.a2.l; -import c.i.a.c.d2.c0; -import c.i.a.c.h2.j; -import c.i.a.c.h2.p; -/* compiled from: DefaultMediaSourceFactory */ -public final class n implements a0 { - public final SparseArray a; - public final int[] b; - - public n(Context context, l lVar) { - p pVar = new p(context); - SparseArray sparseArray = new SparseArray<>(); - try { - sparseArray.put(0, (a0) Class.forName("com.google.android.exoplayer2.source.dash.DashMediaSource$Factory").asSubclass(a0.class).getConstructor(j.a.class).newInstance(pVar)); - } catch (Exception unused) { - } - try { - sparseArray.put(1, (a0) Class.forName("com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource$Factory").asSubclass(a0.class).getConstructor(j.a.class).newInstance(pVar)); - } catch (Exception unused2) { - } - try { - sparseArray.put(2, (a0) Class.forName("com.google.android.exoplayer2.source.hls.HlsMediaSource$Factory").asSubclass(a0.class).getConstructor(j.a.class).newInstance(pVar)); - } catch (Exception unused3) { - } - sparseArray.put(3, new c0.b(pVar, lVar)); - this.a = sparseArray; - this.b = new int[sparseArray.size()]; - for (int i = 0; i < this.a.size(); i++) { - this.b[i] = this.a.keyAt(i); - } - } -} diff --git a/app/src/main/java/c/i/a/c/d2/o.java b/app/src/main/java/c/i/a/c/d2/o.java deleted file mode 100644 index 8352490906..0000000000 --- a/app/src/main/java/c/i/a/c/d2/o.java +++ /dev/null @@ -1,26 +0,0 @@ -package c.i.a.c.d2; - -import c.i.a.c.s0; -import com.google.android.exoplayer2.decoder.DecoderInputBuffer; -/* compiled from: EmptySampleStream */ -public final class o implements f0 { - @Override // c.i.a.c.d2.f0 - public int a(s0 s0Var, DecoderInputBuffer decoderInputBuffer, boolean z2) { - decoderInputBuffer.i = 4; - return -4; - } - - @Override // c.i.a.c.d2.f0 - public void b() { - } - - @Override // c.i.a.c.d2.f0 - public int c(long j) { - return 0; - } - - @Override // c.i.a.c.d2.f0 - public boolean d() { - return true; - } -} diff --git a/app/src/main/java/c/i/a/c/d2/p.java b/app/src/main/java/c/i/a/c/d2/p.java deleted file mode 100644 index be464f979c..0000000000 --- a/app/src/main/java/c/i/a/c/d2/p.java +++ /dev/null @@ -1,56 +0,0 @@ -package c.i.a.c.d2; - -import c.i.a.c.r1; -/* compiled from: ForwardingTimeline */ -public abstract class p extends r1 { - public final r1 b; - - public p(r1 r1Var) { - this.b = r1Var; - } - - @Override // c.i.a.c.r1 - public int a(boolean z2) { - return this.b.a(z2); - } - - @Override // c.i.a.c.r1 - public int b(Object obj) { - return this.b.b(obj); - } - - @Override // c.i.a.c.r1 - public int c(boolean z2) { - return this.b.c(z2); - } - - @Override // c.i.a.c.r1 - public int e(int i, int i2, boolean z2) { - return this.b.e(i, i2, z2); - } - - @Override // c.i.a.c.r1 - public r1.b g(int i, r1.b bVar, boolean z2) { - return this.b.g(i, bVar, z2); - } - - @Override // c.i.a.c.r1 - public int i() { - return this.b.i(); - } - - @Override // c.i.a.c.r1 - public int l(int i, int i2, boolean z2) { - return this.b.l(i, i2, z2); - } - - @Override // c.i.a.c.r1 - public Object m(int i) { - return this.b.m(i); - } - - @Override // c.i.a.c.r1 - public int p() { - return this.b.p(); - } -} diff --git a/app/src/main/java/c/i/a/c/d2/q.java b/app/src/main/java/c/i/a/c/d2/q.java deleted file mode 100644 index cd8d2501a1..0000000000 --- a/app/src/main/java/c/i/a/c/d2/q.java +++ /dev/null @@ -1,130 +0,0 @@ -package c.i.a.c.d2; - -import android.net.Uri; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.d2.b0; -import c.i.a.c.h2.j; -import c.i.a.c.h2.l; -import c.i.a.c.h2.x; -import c.i.a.c.i2.w; -import java.io.IOException; -import java.util.List; -import java.util.Map; -import java.util.Objects; -/* compiled from: IcyDataSource */ -public final class q implements j { - public final j a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final a f859c; - public final byte[] d; - public int e; - - /* compiled from: IcyDataSource */ - public interface a { - } - - public q(j jVar, int i, a aVar) { - d.k(i > 0); - this.a = jVar; - this.b = i; - this.f859c = aVar; - this.d = new byte[1]; - this.e = i; - } - - @Override // c.i.a.c.h2.j - public long a(l lVar) { - throw new UnsupportedOperationException(); - } - - @Override // c.i.a.c.h2.j - public void close() { - throw new UnsupportedOperationException(); - } - - @Override // c.i.a.c.h2.j - public void d(x xVar) { - Objects.requireNonNull(xVar); - this.a.d(xVar); - } - - @Override // c.i.a.c.h2.j - public Map> j() { - return this.a.j(); - } - - @Override // c.i.a.c.h2.j - @Nullable - public Uri m() { - return this.a.m(); - } - - /* JADX WARNING: Removed duplicated region for block: B:23:0x0073 */ - /* JADX WARNING: Removed duplicated region for block: B:24:0x0078 A[RETURN] */ - @Override // c.i.a.c.h2.f - public int read(byte[] bArr, int i, int i2) throws IOException { - long j; - if (this.e == 0) { - boolean z2 = true; - if (this.a.read(this.d, 0, 1) != -1) { - int i3 = (this.d[0] & 255) << 4; - if (i3 != 0) { - byte[] bArr2 = new byte[i3]; - int i4 = i3; - int i5 = 0; - while (true) { - if (i4 <= 0) { - while (i3 > 0) { - int i6 = i3 - 1; - if (bArr2[i6] != 0) { - break; - } - i3 = i6; - } - if (i3 > 0) { - a aVar = this.f859c; - w wVar = new w(bArr2, i3); - b0.a aVar2 = (b0.a) aVar; - if (!aVar2.n) { - j = aVar2.j; - } else { - b0 b0Var = b0.this; - Map map = b0.i; - j = Math.max(b0Var.v(), aVar2.j); - } - int a2 = wVar.a(); - c.i.a.c.a2.w wVar2 = aVar2.m; - Objects.requireNonNull(wVar2); - wVar2.c(wVar, a2); - wVar2.d(j, 1, a2, 0, null); - aVar2.n = true; - } - } else { - int read = this.a.read(bArr2, i5, i4); - if (read == -1) { - break; - } - i5 += read; - i4 -= read; - } - } - } - if (z2) { - return -1; - } - this.e = this.b; - } - z2 = false; - if (z2) { - } - } - int read2 = this.a.read(bArr, i, Math.min(this.e, i2)); - if (read2 != -1) { - this.e -= read2; - } - return read2; - } -} diff --git a/app/src/main/java/c/i/a/c/d2/r.java b/app/src/main/java/c/i/a/c/d2/r.java deleted file mode 100644 index 463066f020..0000000000 --- a/app/src/main/java/c/i/a/c/d2/r.java +++ /dev/null @@ -1,27 +0,0 @@ -package c.i.a.c.d2; - -import android.net.Uri; -import c.i.a.c.h2.l; -import java.util.Collections; -import java.util.List; -import java.util.Map; -import java.util.concurrent.atomic.AtomicLong; -/* compiled from: LoadEventInfo */ -public final class r { - public static final AtomicLong a = new AtomicLong(); - public final Map> b; - - /* renamed from: c reason: collision with root package name */ - public final long f860c; - - public r(long j, l lVar, long j2) { - Uri uri = lVar.a; - this.b = Collections.emptyMap(); - this.f860c = 0; - } - - public r(long j, l lVar, Uri uri, Map> map, long j2, long j3, long j4) { - this.b = map; - this.f860c = j3; - } -} diff --git a/app/src/main/java/c/i/a/c/d2/s.java b/app/src/main/java/c/i/a/c/d2/s.java deleted file mode 100644 index 8dc413090f..0000000000 --- a/app/src/main/java/c/i/a/c/d2/s.java +++ /dev/null @@ -1,173 +0,0 @@ -package c.i.a.c.d2; - -import androidx.annotation.Nullable; -import c.i.a.c.d2.v; -import c.i.a.c.d2.y; -import c.i.a.c.f2.g; -import c.i.a.c.h2.m; -import c.i.a.c.i2.f0; -import c.i.a.c.o1; -import com.google.android.exoplayer2.source.TrackGroupArray; -import java.io.IOException; -import java.util.Objects; -/* compiled from: MaskingMediaPeriod */ -public final class s implements v, v.a { - public final y.a i; - public final long j; - public final m k; - public y l; - public v m; - @Nullable - public v.a n; - public long o = -9223372036854775807L; - - public s(y.a aVar, m mVar, long j) { - this.i = aVar; - this.k = mVar; - this.j = j; - } - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [c.i.a.c.d2.g0] */ - @Override // c.i.a.c.d2.g0.a - public void a(v vVar) { - v.a aVar = this.n; - int i = f0.a; - aVar.a(this); - } - - @Override // c.i.a.c.d2.v.a - public void b(v vVar) { - v.a aVar = this.n; - int i = f0.a; - aVar.b(this); - } - - @Override // c.i.a.c.d2.v - public long c() { - v vVar = this.m; - int i = f0.a; - return vVar.c(); - } - - public void d(y.a aVar) { - long j = this.j; - long j2 = this.o; - if (j2 != -9223372036854775807L) { - j = j2; - } - y yVar = this.l; - Objects.requireNonNull(yVar); - v m = yVar.m(aVar, this.k, j); - this.m = m; - if (this.n != null) { - m.l(this, j); - } - } - - @Override // c.i.a.c.d2.v - public void e() throws IOException { - try { - v vVar = this.m; - if (vVar != null) { - vVar.e(); - return; - } - y yVar = this.l; - if (yVar != null) { - yVar.g(); - } - } catch (IOException e) { - throw e; - } - } - - @Override // c.i.a.c.d2.v - public long f(long j) { - v vVar = this.m; - int i = f0.a; - return vVar.f(j); - } - - @Override // c.i.a.c.d2.v - public boolean g(long j) { - v vVar = this.m; - return vVar != null && vVar.g(j); - } - - @Override // c.i.a.c.d2.v - public boolean h() { - v vVar = this.m; - return vVar != null && vVar.h(); - } - - @Override // c.i.a.c.d2.v - public long i(long j, o1 o1Var) { - v vVar = this.m; - int i = f0.a; - return vVar.i(j, o1Var); - } - - @Override // c.i.a.c.d2.v - public long k() { - v vVar = this.m; - int i = f0.a; - return vVar.k(); - } - - @Override // c.i.a.c.d2.v - public void l(v.a aVar, long j) { - this.n = aVar; - v vVar = this.m; - if (vVar != null) { - long j2 = this.j; - long j3 = this.o; - if (j3 != -9223372036854775807L) { - j2 = j3; - } - vVar.l(this, j2); - } - } - - @Override // c.i.a.c.d2.v - public long m(g[] gVarArr, boolean[] zArr, f0[] f0VarArr, boolean[] zArr2, long j) { - long j2; - long j3 = this.o; - if (j3 == -9223372036854775807L || j != this.j) { - j2 = j; - } else { - this.o = -9223372036854775807L; - j2 = j3; - } - v vVar = this.m; - int i = f0.a; - return vVar.m(gVarArr, zArr, f0VarArr, zArr2, j2); - } - - @Override // c.i.a.c.d2.v - public TrackGroupArray n() { - v vVar = this.m; - int i = f0.a; - return vVar.n(); - } - - @Override // c.i.a.c.d2.v - public long q() { - v vVar = this.m; - int i = f0.a; - return vVar.q(); - } - - @Override // c.i.a.c.d2.v - public void r(long j, boolean z2) { - v vVar = this.m; - int i = f0.a; - vVar.r(j, z2); - } - - @Override // c.i.a.c.d2.v - public void s(long j) { - v vVar = this.m; - int i = f0.a; - vVar.s(j); - } -} diff --git a/app/src/main/java/c/i/a/c/d2/t.java b/app/src/main/java/c/i/a/c/d2/t.java deleted file mode 100644 index 01637f49e9..0000000000 --- a/app/src/main/java/c/i/a/c/d2/t.java +++ /dev/null @@ -1,226 +0,0 @@ -package c.i.a.c.d2; - -import androidx.annotation.Nullable; -import androidx.annotation.VisibleForTesting; -import c.c.a.a0.d; -import c.i.a.c.d2.m; -import c.i.a.c.d2.y; -import c.i.a.c.h2.x; -import c.i.a.c.i2.f0; -import c.i.a.c.r1; -import c.i.a.c.v0; -import java.util.Objects; -import org.checkerframework.checker.nullness.qual.RequiresNonNull; -/* compiled from: MaskingMediaSource */ -public final class t extends m { - public final y j; - public final boolean k; - public final r1.c l; - public final r1.b m; - public a n; - @Nullable - public s o; - public boolean p; - public boolean q; - - /* renamed from: r reason: collision with root package name */ - public boolean f861r; - - /* compiled from: MaskingMediaSource */ - public static final class a extends p { - - /* renamed from: c reason: collision with root package name */ - public static final Object f862c = new Object(); - @Nullable - public final Object d; - @Nullable - public final Object e; - - public a(r1 r1Var, @Nullable Object obj, @Nullable Object obj2) { - super(r1Var); - this.d = obj; - this.e = obj2; - } - - @Override // c.i.a.c.d2.p, c.i.a.c.r1 - public int b(Object obj) { - Object obj2; - r1 r1Var = this.b; - if (f862c.equals(obj) && (obj2 = this.e) != null) { - obj = obj2; - } - return r1Var.b(obj); - } - - @Override // c.i.a.c.d2.p, c.i.a.c.r1 - public r1.b g(int i, r1.b bVar, boolean z2) { - this.b.g(i, bVar, z2); - if (f0.a(bVar.b, this.e) && z2) { - bVar.b = f862c; - } - return bVar; - } - - @Override // c.i.a.c.d2.p, c.i.a.c.r1 - public Object m(int i) { - Object m = this.b.m(i); - return f0.a(m, this.e) ? f862c : m; - } - - @Override // c.i.a.c.r1 - public r1.c o(int i, r1.c cVar, long j) { - this.b.o(i, cVar, j); - if (f0.a(cVar.f1018c, this.d)) { - cVar.f1018c = r1.c.a; - } - return cVar; - } - } - - /* compiled from: MaskingMediaSource */ - @VisibleForTesting - public static final class b extends r1 { - public final v0 b; - - public b(v0 v0Var) { - this.b = v0Var; - } - - @Override // c.i.a.c.r1 - public int b(Object obj) { - return obj == a.f862c ? 0 : -1; - } - - @Override // c.i.a.c.r1 - public r1.b g(int i, r1.b bVar, boolean z2) { - Object obj = null; - int i2 = z2 ? 0 : null; - if (z2) { - obj = a.f862c; - } - Objects.requireNonNull(bVar); - c.i.a.c.d2.j0.a aVar = c.i.a.c.d2.j0.a.a; - bVar.a = i2; - bVar.b = obj; - bVar.f1017c = 0; - bVar.d = -9223372036854775807L; - bVar.e = 0; - bVar.f = aVar; - return bVar; - } - - @Override // c.i.a.c.r1 - public int i() { - return 1; - } - - @Override // c.i.a.c.r1 - public Object m(int i) { - return a.f862c; - } - - @Override // c.i.a.c.r1 - public r1.c o(int i, r1.c cVar, long j) { - cVar.d(r1.c.a, this.b, null, -9223372036854775807L, -9223372036854775807L, -9223372036854775807L, false, true, null, 0, -9223372036854775807L, 0, 0, 0); - cVar.n = true; - return cVar; - } - - @Override // c.i.a.c.r1 - public int p() { - return 1; - } - } - - public t(y yVar, boolean z2) { - this.j = yVar; - this.k = z2 && yVar.h(); - this.l = new r1.c(); - this.m = new r1.b(); - r1 j = yVar.j(); - if (j != null) { - this.n = new a(j, null, null); - this.f861r = true; - return; - } - this.n = new a(new b(yVar.e()), r1.c.a, a.f862c); - } - - @Override // c.i.a.c.d2.y - public v0 e() { - return this.j.e(); - } - - @Override // c.i.a.c.d2.y - public void g() { - } - - @Override // c.i.a.c.d2.y - public void i(v vVar) { - s sVar = (s) vVar; - if (sVar.m != null) { - y yVar = sVar.l; - Objects.requireNonNull(yVar); - yVar.i(sVar.m); - } - if (vVar == this.o) { - this.o = null; - } - } - - @Override // c.i.a.c.d2.j - public void p(@Nullable x xVar) { - this.i = xVar; - this.h = f0.j(); - if (!this.k) { - this.p = true; - s(null, this.j); - } - } - - @Override // c.i.a.c.d2.j - public void r() { - this.q = false; - this.p = false; - for (m.b bVar : this.g.values()) { - bVar.a.a(bVar.b); - bVar.a.c(bVar.f858c); - } - this.g.clear(); - } - - /* renamed from: t */ - public s m(y.a aVar, c.i.a.c.h2.m mVar, long j) { - s sVar = new s(aVar, mVar, j); - y yVar = this.j; - d.D(sVar.l == null); - sVar.l = yVar; - if (this.q) { - Object obj = aVar.a; - if (this.n.e != null && obj.equals(a.f862c)) { - obj = this.n.e; - } - sVar.d(aVar.b(obj)); - } else { - this.o = sVar; - if (!this.p) { - this.p = true; - s(null, this.j); - } - } - return sVar; - } - - @RequiresNonNull({"unpreparedMaskingMediaPeriod"}) - public final void u(long j) { - s sVar = this.o; - int b2 = this.n.b(sVar.i.a); - if (b2 != -1) { - long j2 = this.n.f(b2, this.m).d; - if (j2 != -9223372036854775807L && j >= j2) { - j = Math.max(0L, j2 - 1); - } - sVar.o = j; - } - } -} diff --git a/app/src/main/java/c/i/a/c/d2/u.java b/app/src/main/java/c/i/a/c/d2/u.java deleted file mode 100644 index be66e850d7..0000000000 --- a/app/src/main/java/c/i/a/c/d2/u.java +++ /dev/null @@ -1,28 +0,0 @@ -package c.i.a.c.d2; - -import androidx.annotation.Nullable; -import com.google.android.exoplayer2.Format; -/* compiled from: MediaLoadData */ -public final class u { - public final int a; - public final int b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public final Format f863c; - public final int d; - @Nullable - public final Object e; - public final long f; - public final long g; - - public u(int i, int i2, @Nullable Format format, int i3, @Nullable Object obj, long j, long j2) { - this.a = i; - this.b = i2; - this.f863c = format; - this.d = i3; - this.e = obj; - this.f = j; - this.g = j2; - } -} diff --git a/app/src/main/java/c/i/a/c/d2/v.java b/app/src/main/java/c/i/a/c/d2/v.java deleted file mode 100644 index 5e2a47a408..0000000000 --- a/app/src/main/java/c/i/a/c/d2/v.java +++ /dev/null @@ -1,41 +0,0 @@ -package c.i.a.c.d2; - -import c.i.a.c.d2.g0; -import c.i.a.c.f2.g; -import c.i.a.c.o1; -import com.google.android.exoplayer2.source.TrackGroupArray; -import java.io.IOException; -/* compiled from: MediaPeriod */ -public interface v extends g0 { - - /* compiled from: MediaPeriod */ - public interface a extends g0.a { - void b(v vVar); - } - - long c(); - - void e() throws IOException; - - long f(long j); - - boolean g(long j); - - boolean h(); - - long i(long j, o1 o1Var); - - long k(); - - void l(a aVar, long j); - - long m(g[] gVarArr, boolean[] zArr, f0[] f0VarArr, boolean[] zArr2, long j); - - TrackGroupArray n(); - - long q(); - - void r(long j, boolean z2); - - void s(long j); -} diff --git a/app/src/main/java/c/i/a/c/d2/w.java b/app/src/main/java/c/i/a/c/d2/w.java deleted file mode 100644 index c09e77a0e8..0000000000 --- a/app/src/main/java/c/i/a/c/d2/w.java +++ /dev/null @@ -1,72 +0,0 @@ -package c.i.a.c.d2; - -import androidx.annotation.Nullable; -/* compiled from: MediaPeriodId */ -public class w { - public final Object a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f864c; - public final long d; - public final int e; - - public w(w wVar) { - this.a = wVar.a; - this.b = wVar.b; - this.f864c = wVar.f864c; - this.d = wVar.d; - this.e = wVar.e; - } - - public w(Object obj) { - this.a = obj; - this.b = -1; - this.f864c = -1; - this.d = -1; - this.e = -1; - } - - public w(Object obj, int i, int i2, long j) { - this.a = obj; - this.b = i; - this.f864c = i2; - this.d = j; - this.e = -1; - } - - public w(Object obj, int i, int i2, long j, int i3) { - this.a = obj; - this.b = i; - this.f864c = i2; - this.d = j; - this.e = i3; - } - - public w(Object obj, long j, int i) { - this.a = obj; - this.b = -1; - this.f864c = -1; - this.d = j; - this.e = i; - } - - public boolean a() { - return this.b != -1; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (!(obj instanceof w)) { - return false; - } - w wVar = (w) obj; - return this.a.equals(wVar.a) && this.b == wVar.b && this.f864c == wVar.f864c && this.d == wVar.d && this.e == wVar.e; - } - - public int hashCode() { - return ((((((((this.a.hashCode() + 527) * 31) + this.b) * 31) + this.f864c) * 31) + ((int) this.d)) * 31) + this.e; - } -} diff --git a/app/src/main/java/c/i/a/c/d2/x.java b/app/src/main/java/c/i/a/c/d2/x.java deleted file mode 100644 index 75989aba25..0000000000 --- a/app/src/main/java/c/i/a/c/d2/x.java +++ /dev/null @@ -1,15 +0,0 @@ -package c.i.a.c.d2; - -import androidx.annotation.Nullable; -import c.i.a.c.r1; -/* compiled from: MediaSource */ -public final /* synthetic */ class x { - @Nullable - public static r1 a(y yVar) { - return null; - } - - public static boolean b(y yVar) { - return true; - } -} diff --git a/app/src/main/java/c/i/a/c/d2/y.java b/app/src/main/java/c/i/a/c/d2/y.java deleted file mode 100644 index 0300d78349..0000000000 --- a/app/src/main/java/c/i/a/c/d2/y.java +++ /dev/null @@ -1,68 +0,0 @@ -package c.i.a.c.d2; - -import android.os.Handler; -import androidx.annotation.Nullable; -import c.i.a.c.h2.m; -import c.i.a.c.h2.x; -import c.i.a.c.r1; -import c.i.a.c.v0; -import c.i.a.c.z1.q; -import java.io.IOException; -/* compiled from: MediaSource */ -public interface y { - - /* compiled from: MediaSource */ - public static final class a extends w { - public a(w wVar) { - super(wVar); - } - - public a(Object obj) { - super(obj); - } - - public a(Object obj, int i, int i2, long j) { - super(obj, i, i2, j); - } - - public a(Object obj, long j, int i) { - super(obj, j, i); - } - - public a b(Object obj) { - return new a(this.a.equals(obj) ? this : new w(obj, this.b, this.f864c, this.d, this.e)); - } - } - - /* compiled from: MediaSource */ - public interface b { - void a(y yVar, r1 r1Var); - } - - void a(b bVar); - - void b(Handler handler, z zVar); - - void c(z zVar); - - void d(b bVar); - - v0 e(); - - void f(Handler handler, q qVar); - - void g() throws IOException; - - boolean h(); - - void i(v vVar); - - @Nullable - r1 j(); - - void k(b bVar, @Nullable x xVar); - - void l(b bVar); - - v m(a aVar, m mVar, long j); -} diff --git a/app/src/main/java/c/i/a/c/d2/z.java b/app/src/main/java/c/i/a/c/d2/z.java deleted file mode 100644 index d576de8218..0000000000 --- a/app/src/main/java/c/i/a/c/d2/z.java +++ /dev/null @@ -1,114 +0,0 @@ -package c.i.a.c.d2; - -import android.os.Handler; -import androidx.annotation.CheckResult; -import androidx.annotation.Nullable; -import c.i.a.c.d2.y; -import c.i.a.c.h0; -import c.i.a.c.i2.f0; -import java.io.IOException; -import java.util.Iterator; -import java.util.concurrent.CopyOnWriteArrayList; -/* compiled from: MediaSourceEventListener */ -public interface z { - - /* compiled from: MediaSourceEventListener */ - public static class a { - public final int a; - @Nullable - public final y.a b; - - /* renamed from: c reason: collision with root package name */ - public final CopyOnWriteArrayList f865c; - public final long d; - - /* compiled from: MediaSourceEventListener */ - /* renamed from: c.i.a.c.d2.z$a$a reason: collision with other inner class name */ - public static final class C0092a { - public Handler a; - public z b; - - public C0092a(Handler handler, z zVar) { - this.a = handler; - this.b = zVar; - } - } - - public a() { - this.f865c = new CopyOnWriteArrayList<>(); - this.a = 0; - this.b = null; - this.d = 0; - } - - public a(CopyOnWriteArrayList copyOnWriteArrayList, int i, @Nullable y.a aVar, long j) { - this.f865c = copyOnWriteArrayList; - this.a = i; - this.b = aVar; - this.d = j; - } - - public final long a(long j) { - long b = h0.b(j); - if (b == -9223372036854775807L) { - return -9223372036854775807L; - } - return this.d + b; - } - - public void b(u uVar) { - Iterator it = this.f865c.iterator(); - while (it.hasNext()) { - C0092a next = it.next(); - f0.D(next.a, new d(this, next.b, uVar)); - } - } - - public void c(r rVar, u uVar) { - Iterator it = this.f865c.iterator(); - while (it.hasNext()) { - C0092a next = it.next(); - f0.D(next.a, new f(this, next.b, rVar, uVar)); - } - } - - public void d(r rVar, u uVar) { - Iterator it = this.f865c.iterator(); - while (it.hasNext()) { - C0092a next = it.next(); - f0.D(next.a, new c(this, next.b, rVar, uVar)); - } - } - - public void e(r rVar, u uVar, IOException iOException, boolean z2) { - Iterator it = this.f865c.iterator(); - while (it.hasNext()) { - C0092a next = it.next(); - f0.D(next.a, new b(this, next.b, rVar, uVar, iOException, z2)); - } - } - - public void f(r rVar, u uVar) { - Iterator it = this.f865c.iterator(); - while (it.hasNext()) { - C0092a next = it.next(); - f0.D(next.a, new e(this, next.b, rVar, uVar)); - } - } - - @CheckResult - public a g(int i, @Nullable y.a aVar, long j) { - return new a(this.f865c, i, aVar, j); - } - } - - void N(int i, @Nullable y.a aVar, r rVar, u uVar); - - void U(int i, @Nullable y.a aVar, r rVar, u uVar, IOException iOException, boolean z2); - - void l(int i, @Nullable y.a aVar, u uVar); - - void m(int i, @Nullable y.a aVar, r rVar, u uVar); - - void q(int i, @Nullable y.a aVar, r rVar, u uVar); -} diff --git a/app/src/main/java/c/i/a/c/d3/a.java b/app/src/main/java/c/i/a/c/d3/a.java new file mode 100644 index 0000000000..49a95fee6d --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/a.java @@ -0,0 +1,16 @@ +package c.i.a.c.d3; + +import com.google.android.exoplayer2.ui.PlayerControlView; +/* compiled from: lambda */ +public final /* synthetic */ class a implements Runnable { + public final /* synthetic */ PlayerControlView i; + + public /* synthetic */ a(PlayerControlView playerControlView) { + this.i = playerControlView; + } + + @Override // java.lang.Runnable + public final void run() { + this.i.c(); + } +} diff --git a/app/src/main/java/c/i/a/c/d3/b.java b/app/src/main/java/c/i/a/c/d3/b.java new file mode 100644 index 0000000000..2d8e55fa47 --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/b.java @@ -0,0 +1,16 @@ +package c.i.a.c.d3; + +import com.google.android.exoplayer2.ui.DefaultTimeBar; +/* compiled from: lambda */ +public final /* synthetic */ class b implements Runnable { + public final /* synthetic */ DefaultTimeBar i; + + public /* synthetic */ b(DefaultTimeBar defaultTimeBar) { + this.i = defaultTimeBar; + } + + @Override // java.lang.Runnable + public final void run() { + this.i.g(false); + } +} diff --git a/app/src/main/java/c/i/a/c/d3/c.java b/app/src/main/java/c/i/a/c/d3/c.java new file mode 100644 index 0000000000..b9f82bc9e8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/c.java @@ -0,0 +1,21 @@ +package c.i.a.c.d3; + +import android.animation.ValueAnimator; +import com.google.android.exoplayer2.ui.DefaultTimeBar; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class c implements ValueAnimator.AnimatorUpdateListener { + public final /* synthetic */ DefaultTimeBar a; + + public /* synthetic */ c(DefaultTimeBar defaultTimeBar) { + this.a = defaultTimeBar; + } + + @Override // android.animation.ValueAnimator.AnimatorUpdateListener + public final void onAnimationUpdate(ValueAnimator valueAnimator) { + DefaultTimeBar defaultTimeBar = this.a; + Objects.requireNonNull(defaultTimeBar); + defaultTimeBar.N = ((Float) valueAnimator.getAnimatedValue()).floatValue(); + defaultTimeBar.invalidate(defaultTimeBar.i); + } +} diff --git a/app/src/main/java/c/i/a/c/d3/d.java b/app/src/main/java/c/i/a/c/d3/d.java new file mode 100644 index 0000000000..0775abdb63 --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/d.java @@ -0,0 +1,18 @@ +package c.i.a.c.d3; + +import com.google.android.exoplayer2.ui.PlayerControlView; +/* compiled from: lambda */ +public final /* synthetic */ class d implements Runnable { + public final /* synthetic */ PlayerControlView i; + + public /* synthetic */ d(PlayerControlView playerControlView) { + this.i = playerControlView; + } + + @Override // java.lang.Runnable + public final void run() { + PlayerControlView playerControlView = this.i; + int i = PlayerControlView.i; + playerControlView.n(); + } +} diff --git a/app/src/main/java/c/i/a/c/d3/e.java b/app/src/main/java/c/i/a/c/d3/e.java new file mode 100644 index 0000000000..953385c35c --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/e.java @@ -0,0 +1,20 @@ +package c.i.a.c.d3; + +import c.i.a.c.d3.m; +import java.util.Comparator; +/* compiled from: lambda */ +public final /* synthetic */ class e implements Comparator { + public static final /* synthetic */ e i = new e(); + + @Override // java.util.Comparator + public final int compare(Object obj, Object obj2) { + m.c cVar = (m.c) obj; + m.c cVar2 = (m.c) obj2; + int compare = Integer.compare(cVar2.b, cVar.b); + if (compare != 0) { + return compare; + } + int compareTo = cVar.f743c.compareTo(cVar2.f743c); + return compareTo != 0 ? compareTo : cVar.d.compareTo(cVar2.d); + } +} diff --git a/app/src/main/java/c/i/a/c/d3/f.java b/app/src/main/java/c/i/a/c/d3/f.java new file mode 100644 index 0000000000..033d60a557 --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/f.java @@ -0,0 +1,20 @@ +package c.i.a.c.d3; + +import c.i.a.c.d3.m; +import java.util.Comparator; +/* compiled from: lambda */ +public final /* synthetic */ class f implements Comparator { + public static final /* synthetic */ f i = new f(); + + @Override // java.util.Comparator + public final int compare(Object obj, Object obj2) { + m.c cVar = (m.c) obj; + m.c cVar2 = (m.c) obj2; + int compare = Integer.compare(cVar2.a, cVar.a); + if (compare != 0) { + return compare; + } + int compareTo = cVar2.f743c.compareTo(cVar.f743c); + return compareTo != 0 ? compareTo : cVar2.d.compareTo(cVar.d); + } +} diff --git a/app/src/main/java/c/i/a/c/d3/g.java b/app/src/main/java/c/i/a/c/d3/g.java new file mode 100644 index 0000000000..ae282d1708 --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/g.java @@ -0,0 +1,13 @@ +package c.i.a.c.d3; + +import c.i.a.c.b3.q.b; +import c.i.b.a.h; +/* compiled from: lambda */ +public final /* synthetic */ class g implements h { + public static final /* synthetic */ g a = new g(); + + @Override // c.i.b.a.h + public final boolean apply(Object obj) { + return !(obj instanceof b); + } +} diff --git a/app/src/main/java/c/i/a/c/d3/h.java b/app/src/main/java/c/i/a/c/d3/h.java new file mode 100644 index 0000000000..9cf0a5d8ab --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/h.java @@ -0,0 +1,13 @@ +package c.i.a.c.d3; + +import android.text.style.AbsoluteSizeSpan; +import android.text.style.RelativeSizeSpan; +/* compiled from: lambda */ +public final /* synthetic */ class h implements c.i.b.a.h { + public static final /* synthetic */ h a = new h(); + + @Override // c.i.b.a.h + public final boolean apply(Object obj) { + return (obj instanceof AbsoluteSizeSpan) || (obj instanceof RelativeSizeSpan); + } +} diff --git a/app/src/main/java/c/i/a/c/d3/i.java b/app/src/main/java/c/i/a/c/d3/i.java new file mode 100644 index 0000000000..04dd6e6654 --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/i.java @@ -0,0 +1,12 @@ +package c.i.a.c.d3; + +import android.view.View; +import androidx.annotation.Nullable; +/* compiled from: AdOverlayInfo */ +public final class i { + public i(View view, int i) { + } + + public i(View view, int i, @Nullable String str) { + } +} diff --git a/app/src/main/java/c/i/a/c/d3/j.java b/app/src/main/java/c/i/a/c/d3/j.java new file mode 100644 index 0000000000..411f9e5273 --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/j.java @@ -0,0 +1,477 @@ +package c.i.a.c.d3; + +import android.content.Context; +import android.graphics.Bitmap; +import android.graphics.Canvas; +import android.graphics.Color; +import android.graphics.Rect; +import android.text.Layout; +import android.text.SpannableStringBuilder; +import android.text.StaticLayout; +import android.text.TextUtils; +import android.text.style.AbsoluteSizeSpan; +import android.text.style.BackgroundColorSpan; +import android.text.style.ForegroundColorSpan; +import android.util.AttributeSet; +import android.util.Log; +import android.view.View; +import androidx.annotation.Nullable; +import androidx.core.view.ViewCompat; +import androidx.recyclerview.widget.ItemTouchHelper; +import c.c.a.a0.d; +import c.i.a.c.b3.b; +import c.i.a.c.f3.e0; +import com.google.android.exoplayer2.ui.SubtitleView; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Objects; +/* compiled from: CanvasSubtitleOutput */ +public final class j extends View implements SubtitleView.a { + public final List i = new ArrayList(); + public List j = Collections.emptyList(); + public int k = 0; + public float l = 0.0533f; + public k m = k.a; + public float n = 0.08f; + + public j(Context context, @Nullable AttributeSet attributeSet) { + super(context, attributeSet); + } + + @Override // com.google.android.exoplayer2.ui.SubtitleView.a + public void a(List list, k kVar, float f, int i, float f2) { + this.j = list; + this.m = kVar; + this.l = f; + this.k = i; + this.n = f2; + while (this.i.size() < list.size()) { + this.i.add(new n(getContext())); + } + invalidate(); + } + + /* JADX WARNING: Code restructure failed: missing block: B:166:0x03e8, code lost: + if (r3 < r6) goto L_0x03f8; + */ + /* JADX WARNING: Removed duplicated region for block: B:164:0x03e3 */ + /* JADX WARNING: Removed duplicated region for block: B:165:0x03e6 */ + /* JADX WARNING: Removed duplicated region for block: B:170:0x0437 */ + /* JADX WARNING: Removed duplicated region for block: B:183:0x04a7 */ + /* JADX WARNING: Removed duplicated region for block: B:184:0x04a9 */ + /* JADX WARNING: Removed duplicated region for block: B:95:0x01fc */ + @Override // android.view.View + public void dispatchDraw(Canvas canvas) { + int i; + float f; + int i2; + int i3; + int i4; + int i5; + int i6; + int i7; + Canvas canvas2; + int i8; + CharSequence charSequence; + CharSequence charSequence2; + boolean z2; + boolean z3; + int i9; + float f2; + float f3; + int i10; + int i11; + int i12; + int i13; + int i14; + int i15; + int i16; + j jVar = this; + Canvas canvas3 = canvas; + List list = jVar.j; + if (!list.isEmpty()) { + int height = getHeight(); + int paddingLeft = getPaddingLeft(); + int paddingTop = getPaddingTop(); + int width = getWidth() - getPaddingRight(); + int paddingBottom = height - getPaddingBottom(); + if (paddingBottom > paddingTop && width > paddingLeft) { + int i17 = paddingBottom - paddingTop; + float S1 = d.S1(jVar.k, jVar.l, height, i17); + if (S1 > 0.0f) { + int size = list.size(); + int i18 = 0; + while (i18 < size) { + b bVar = list.get(i18); + if (bVar.f678z != Integer.MIN_VALUE) { + b.C0086b a = bVar.a(); + a.h = -3.4028235E38f; + a.i = Integer.MIN_VALUE; + a.f679c = null; + if (bVar.p == 0) { + a.e = 1.0f - bVar.o; + a.f = 0; + } else { + a.e = (-bVar.o) - 1.0f; + a.f = 1; + } + int i19 = bVar.q; + if (i19 == 0) { + a.g = 2; + } else if (i19 == 2) { + a.g = 0; + } + bVar = a.a(); + } + float S12 = d.S1(bVar.f676x, bVar.f677y, height, i17); + n nVar = jVar.i.get(i18); + k kVar = jVar.m; + float f4 = jVar.n; + Objects.requireNonNull(nVar); + boolean z4 = bVar.n == null; + if (!z4) { + i7 = i17; + i8 = ViewCompat.MEASURED_STATE_MASK; + charSequence = nVar.i; + i6 = size; + charSequence2 = bVar.k; + if (!(charSequence != charSequence2 || (charSequence != null && charSequence.equals(charSequence2)))) { + } + nVar.i = bVar.k; + nVar.j = bVar.l; + nVar.k = bVar.n; + nVar.l = bVar.o; + nVar.m = bVar.p; + nVar.n = bVar.q; + nVar.o = bVar.r; + nVar.p = bVar.f675s; + nVar.q = bVar.t; + nVar.r = bVar.u; + nVar.f745s = kVar.b; + nVar.t = kVar.f742c; + nVar.u = i8; + nVar.w = kVar.e; + nVar.v = kVar.f; + nVar.f.setTypeface(kVar.g); + nVar.f746x = S1; + nVar.f747y = S12; + nVar.f748z = f4; + nVar.A = paddingLeft; + nVar.B = paddingTop; + nVar.C = width; + nVar.D = paddingBottom; + if (!z4) { + } + canvas2 = canvas; + z2 = z3; + nVar.a(canvas2, z2); + i18 = i + 1; + canvas3 = canvas2; + list = list; + i17 = i7; + height = height; + size = i6; + paddingLeft = i5; + paddingTop = i4; + width = i3; + paddingBottom = i2; + S1 = f; + jVar = this; + } else if (TextUtils.isEmpty(bVar.k)) { + canvas2 = canvas3; + i5 = paddingLeft; + i4 = paddingTop; + i3 = width; + i2 = paddingBottom; + i7 = i17; + f = S1; + i6 = size; + } else { + i8 = bVar.v ? bVar.w : kVar.d; + i7 = i17; + charSequence = nVar.i; + i6 = size; + charSequence2 = bVar.k; + if (!(charSequence != charSequence2 || (charSequence != null && charSequence.equals(charSequence2))) && e0.a(nVar.j, bVar.l) && nVar.k == bVar.n && nVar.l == bVar.o && nVar.m == bVar.p && e0.a(Integer.valueOf(nVar.n), Integer.valueOf(bVar.q)) && nVar.o == bVar.r && e0.a(Integer.valueOf(nVar.p), Integer.valueOf(bVar.f675s)) && nVar.q == bVar.t && nVar.r == bVar.u && nVar.f745s == kVar.b && nVar.t == kVar.f742c && nVar.u == i8 && nVar.w == kVar.e && nVar.v == kVar.f && e0.a(nVar.f.getTypeface(), kVar.g) && nVar.f746x == S1 && nVar.f747y == S12 && nVar.f748z == f4 && nVar.A == paddingLeft && nVar.B == paddingTop && nVar.C == width && nVar.D == paddingBottom) { + nVar.a(canvas3, z4); + canvas2 = canvas3; + i5 = paddingLeft; + i4 = paddingTop; + i3 = width; + i2 = paddingBottom; + f = S1; + } else { + nVar.i = bVar.k; + nVar.j = bVar.l; + nVar.k = bVar.n; + nVar.l = bVar.o; + nVar.m = bVar.p; + nVar.n = bVar.q; + nVar.o = bVar.r; + nVar.p = bVar.f675s; + nVar.q = bVar.t; + nVar.r = bVar.u; + nVar.f745s = kVar.b; + nVar.t = kVar.f742c; + nVar.u = i8; + nVar.w = kVar.e; + nVar.v = kVar.f; + nVar.f.setTypeface(kVar.g); + nVar.f746x = S1; + nVar.f747y = S12; + nVar.f748z = f4; + nVar.A = paddingLeft; + nVar.B = paddingTop; + nVar.C = width; + nVar.D = paddingBottom; + if (!z4) { + Objects.requireNonNull(nVar.i); + CharSequence charSequence3 = nVar.i; + SpannableStringBuilder spannableStringBuilder = charSequence3 instanceof SpannableStringBuilder ? (SpannableStringBuilder) charSequence3 : new SpannableStringBuilder(nVar.i); + int i20 = nVar.C - nVar.A; + int i21 = nVar.D - nVar.B; + nVar.f.setTextSize(nVar.f746x); + int i22 = (int) ((nVar.f746x * 0.125f) + 0.5f); + int i23 = i22 * 2; + int i24 = i20 - i23; + float f5 = nVar.q; + if (f5 != -3.4028235E38f) { + i24 = (int) (((float) i24) * f5); + } + if (i24 <= 0) { + Log.w("SubtitlePainter", "Skipped drawing subtitle cue (insufficient space)"); + i5 = paddingLeft; + i4 = paddingTop; + i3 = width; + i2 = paddingBottom; + f = S1; + i = i18; + z2 = z4; + canvas2 = canvas3; + } else { + i5 = paddingLeft; + i4 = paddingTop; + if (nVar.f747y > 0.0f) { + i3 = width; + i2 = paddingBottom; + i10 = 0; + spannableStringBuilder.setSpan(new AbsoluteSizeSpan((int) nVar.f747y), 0, spannableStringBuilder.length(), ItemTouchHelper.ACTION_MODE_DRAG_MASK); + } else { + i3 = width; + i2 = paddingBottom; + i10 = 0; + } + SpannableStringBuilder spannableStringBuilder2 = new SpannableStringBuilder(spannableStringBuilder); + if (nVar.w == 1) { + ForegroundColorSpan[] foregroundColorSpanArr = (ForegroundColorSpan[]) spannableStringBuilder2.getSpans(i10, spannableStringBuilder2.length(), ForegroundColorSpan.class); + int i25 = 0; + for (int length = foregroundColorSpanArr.length; i25 < length; length = length) { + spannableStringBuilder2.removeSpan(foregroundColorSpanArr[i25]); + i25++; + } + } + if (Color.alpha(nVar.t) > 0) { + int i26 = nVar.w; + if (i26 == 0 || i26 == 2) { + f = S1; + spannableStringBuilder.setSpan(new BackgroundColorSpan(nVar.t), 0, spannableStringBuilder.length(), ItemTouchHelper.ACTION_MODE_DRAG_MASK); + } else { + f = S1; + spannableStringBuilder2.setSpan(new BackgroundColorSpan(nVar.t), 0, spannableStringBuilder2.length(), ItemTouchHelper.ACTION_MODE_DRAG_MASK); + } + } else { + f = S1; + } + Layout.Alignment alignment = nVar.j; + if (alignment == null) { + alignment = Layout.Alignment.ALIGN_CENTER; + } + i = i18; + StaticLayout staticLayout = new StaticLayout(spannableStringBuilder, nVar.f, i24, alignment, nVar.d, nVar.e, true); + nVar.E = staticLayout; + int height2 = staticLayout.getHeight(); + int lineCount = nVar.E.getLineCount(); + int i27 = 0; + int i28 = 0; + while (i27 < lineCount) { + i28 = Math.max((int) Math.ceil((double) nVar.E.getLineWidth(i27)), i28); + i27++; + lineCount = lineCount; + z4 = z4; + } + z3 = z4; + if (nVar.q == -3.4028235E38f || i28 >= i24) { + i24 = i28; + } + int i29 = i24 + i23; + float f6 = nVar.o; + if (f6 != -3.4028235E38f) { + int round = Math.round(((float) i20) * f6); + int i30 = nVar.A; + int i31 = round + i30; + int i32 = nVar.p; + if (i32 == 1) { + i31 = ((i31 * 2) - i29) / 2; + } else if (i32 == 2) { + i31 -= i29; + } + i12 = Math.max(i31, i30); + i11 = Math.min(i29 + i12, nVar.C); + } else { + i12 = nVar.A + ((i20 - i29) / 2); + i11 = i12 + i29; + } + int i33 = i11 - i12; + if (i33 <= 0) { + Log.w("SubtitlePainter", "Skipped drawing subtitle cue (invalid horizontal positioning)"); + canvas2 = canvas; + z2 = z3; + } else { + float f7 = nVar.l; + if (f7 != -3.4028235E38f) { + if (nVar.m == 0) { + i14 = Math.round(((float) i21) * f7) + nVar.B; + int i34 = nVar.n; + if (i34 != 2) { + if (i34 == 1) { + i14 = ((i14 * 2) - height2) / 2; + } + i15 = i14 + height2; + i16 = nVar.D; + if (i15 > i16) { + i14 = i16 - height2; + } else { + i13 = nVar.B; + } + } + } else { + int lineBottom = nVar.E.getLineBottom(0) - nVar.E.getLineTop(0); + float f8 = nVar.l; + if (f8 >= 0.0f) { + i14 = Math.round(f8 * ((float) lineBottom)) + nVar.B; + i15 = i14 + height2; + i16 = nVar.D; + if (i15 > i16) { + } + } else { + i14 = Math.round((f8 + 1.0f) * ((float) lineBottom)) + nVar.D; + } + } + i14 -= height2; + i15 = i14 + height2; + i16 = nVar.D; + if (i15 > i16) { + } + } else { + i14 = (nVar.D - height2) - ((int) (((float) i21) * nVar.f748z)); + } + i13 = i14; + nVar.E = new StaticLayout(spannableStringBuilder, nVar.f, i33, alignment, nVar.d, nVar.e, true); + nVar.F = new StaticLayout(spannableStringBuilder2, nVar.f, i33, alignment, nVar.d, nVar.e, true); + nVar.G = i12; + nVar.H = i13; + nVar.I = i22; + } + } + nVar.a(canvas2, z2); + i18 = i + 1; + canvas3 = canvas2; + list = list; + i17 = i7; + height = height; + size = i6; + paddingLeft = i5; + paddingTop = i4; + width = i3; + paddingBottom = i2; + S1 = f; + jVar = this; + } else { + z3 = z4; + i5 = paddingLeft; + i4 = paddingTop; + i3 = width; + i2 = paddingBottom; + f = S1; + i = i18; + Objects.requireNonNull(nVar.k); + Bitmap bitmap = nVar.k; + int i35 = nVar.C; + int i36 = nVar.A; + int i37 = nVar.D; + int i38 = nVar.B; + float f9 = (float) (i35 - i36); + float f10 = (nVar.o * f9) + ((float) i36); + float f11 = (float) (i37 - i38); + float f12 = (nVar.l * f11) + ((float) i38); + int round2 = Math.round(f9 * nVar.q); + float f13 = nVar.r; + int round3 = f13 != -3.4028235E38f ? Math.round(f11 * f13) : Math.round((((float) bitmap.getHeight()) / ((float) bitmap.getWidth())) * ((float) round2)); + int i39 = nVar.p; + if (i39 == 2) { + f3 = (float) round2; + } else { + if (i39 == 1) { + f3 = (float) (round2 / 2); + } + int round4 = Math.round(f10); + i9 = nVar.n; + if (i9 != 2) { + f2 = (float) round3; + } else { + if (i9 == 1) { + f2 = (float) (round3 / 2); + } + int round5 = Math.round(f12); + nVar.J = new Rect(round4, round5, round2 + round4, round3 + round5); + } + f12 -= f2; + int round5 = Math.round(f12); + nVar.J = new Rect(round4, round5, round2 + round4, round3 + round5); + } + f10 -= f3; + int round4 = Math.round(f10); + i9 = nVar.n; + if (i9 != 2) { + } + f12 -= f2; + int round5 = Math.round(f12); + nVar.J = new Rect(round4, round5, round2 + round4, round3 + round5); + } + canvas2 = canvas; + z2 = z3; + nVar.a(canvas2, z2); + i18 = i + 1; + canvas3 = canvas2; + list = list; + i17 = i7; + height = height; + size = i6; + paddingLeft = i5; + paddingTop = i4; + width = i3; + paddingBottom = i2; + S1 = f; + jVar = this; + } + } + i = i18; + i18 = i + 1; + canvas3 = canvas2; + list = list; + i17 = i7; + height = height; + size = i6; + paddingLeft = i5; + paddingTop = i4; + width = i3; + paddingBottom = i2; + S1 = f; + jVar = this; + } + } + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/d3/k.java b/app/src/main/java/c/i/a/c/d3/k.java new file mode 100644 index 0000000000..74e05db575 --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/k.java @@ -0,0 +1,27 @@ +package c.i.a.c.d3; + +import android.graphics.Typeface; +import androidx.annotation.Nullable; +import androidx.core.view.ViewCompat; +/* compiled from: CaptionStyleCompat */ +public final class k { + public static final k a = new k(-1, ViewCompat.MEASURED_STATE_MASK, 0, 0, -1, null); + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f742c; + public final int d; + public final int e; + public final int f; + @Nullable + public final Typeface g; + + public k(int i, int i2, int i3, int i4, int i5, @Nullable Typeface typeface) { + this.b = i; + this.f742c = i2; + this.d = i3; + this.e = i4; + this.f = i5; + this.g = typeface; + } +} diff --git a/app/src/main/java/c/i/a/c/d3/l.java b/app/src/main/java/c/i/a/c/d3/l.java new file mode 100644 index 0000000000..9a217b5e21 --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/l.java @@ -0,0 +1,13 @@ +package c.i.a.c.d3; + +import android.content.res.Resources; +import java.util.Objects; +/* compiled from: DefaultTrackNameProvider */ +public class l implements p { + public final Resources a; + + public l(Resources resources) { + Objects.requireNonNull(resources); + this.a = resources; + } +} diff --git a/app/src/main/java/c/i/a/c/d3/m.java b/app/src/main/java/c/i/a/c/d3/m.java new file mode 100644 index 0000000000..d419065e50 --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/m.java @@ -0,0 +1,49 @@ +package c.i.a.c.d3; + +import android.text.Html; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.regex.Pattern; +/* compiled from: SpannedToHtmlConverter */ +public final class m { + public static final Pattern a = Pattern.compile("( )? "); + + /* compiled from: SpannedToHtmlConverter */ + public static class b { + public final String a; + public final Map b; + + public b(String str, Map map, a aVar) { + this.a = str; + this.b = map; + } + } + + /* compiled from: SpannedToHtmlConverter */ + public static final class c { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final String f743c; + public final String d; + + public c(int i, int i2, String str, String str2, a aVar) { + this.a = i; + this.b = i2; + this.f743c = str; + this.d = str2; + } + } + + /* compiled from: SpannedToHtmlConverter */ + public static final class d { + public final List a = new ArrayList(); + public final List b = new ArrayList(); + } + + public static String a(CharSequence charSequence) { + return a.matcher(Html.escapeHtml(charSequence)).replaceAll("
"); + } +} diff --git a/app/src/main/java/c/i/a/c/d3/n.java b/app/src/main/java/c/i/a/c/d3/n.java new file mode 100644 index 0000000000..d7a24a4b08 --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/n.java @@ -0,0 +1,144 @@ +package c.i.a.c.d3; + +import android.content.Context; +import android.content.res.TypedArray; +import android.graphics.Bitmap; +import android.graphics.Canvas; +import android.graphics.Color; +import android.graphics.Paint; +import android.graphics.Rect; +import android.text.Layout; +import android.text.StaticLayout; +import android.text.TextPaint; +import androidx.annotation.Nullable; +import java.util.Objects; +/* compiled from: SubtitlePainter */ +public final class n { + public int A; + public int B; + public int C; + public int D; + public StaticLayout E; + public StaticLayout F; + public int G; + public int H; + public int I; + public Rect J; + public final float a; + public final float b; + + /* renamed from: c reason: collision with root package name */ + public final float f744c; + public final float d; + public final float e; + public final TextPaint f; + public final Paint g; + public final Paint h; + @Nullable + public CharSequence i; + @Nullable + public Layout.Alignment j; + @Nullable + public Bitmap k; + public float l; + public int m; + public int n; + public float o; + public int p; + public float q; + public float r; + + /* renamed from: s reason: collision with root package name */ + public int f745s; + public int t; + public int u; + public int v; + public int w; + + /* renamed from: x reason: collision with root package name */ + public float f746x; + + /* renamed from: y reason: collision with root package name */ + public float f747y; + + /* renamed from: z reason: collision with root package name */ + public float f748z; + + public n(Context context) { + TypedArray obtainStyledAttributes = context.obtainStyledAttributes(null, new int[]{16843287, 16843288}, 0, 0); + this.e = (float) obtainStyledAttributes.getDimensionPixelSize(0, 0); + this.d = obtainStyledAttributes.getFloat(1, 1.0f); + obtainStyledAttributes.recycle(); + float round = (float) Math.round((((float) context.getResources().getDisplayMetrics().densityDpi) * 2.0f) / 160.0f); + this.a = round; + this.b = round; + this.f744c = round; + TextPaint textPaint = new TextPaint(); + this.f = textPaint; + textPaint.setAntiAlias(true); + textPaint.setSubpixelText(true); + Paint paint = new Paint(); + this.g = paint; + paint.setAntiAlias(true); + paint.setStyle(Paint.Style.FILL); + Paint paint2 = new Paint(); + this.h = paint2; + paint2.setAntiAlias(true); + paint2.setFilterBitmap(true); + } + + public final void a(Canvas canvas, boolean z2) { + if (z2) { + StaticLayout staticLayout = this.E; + StaticLayout staticLayout2 = this.F; + if (staticLayout != null && staticLayout2 != null) { + int save = canvas.save(); + canvas.translate((float) this.G, (float) this.H); + if (Color.alpha(this.u) > 0) { + this.g.setColor(this.u); + canvas.drawRect((float) (-this.I), 0.0f, (float) (staticLayout.getWidth() + this.I), (float) staticLayout.getHeight(), this.g); + } + int i = this.w; + boolean z3 = true; + if (i == 1) { + this.f.setStrokeJoin(Paint.Join.ROUND); + this.f.setStrokeWidth(this.a); + this.f.setColor(this.v); + this.f.setStyle(Paint.Style.FILL_AND_STROKE); + staticLayout2.draw(canvas); + } else if (i == 2) { + TextPaint textPaint = this.f; + float f = this.b; + float f2 = this.f744c; + textPaint.setShadowLayer(f, f2, f2, this.v); + } else if (i == 3 || i == 4) { + if (i != 3) { + z3 = false; + } + int i2 = -1; + int i3 = z3 ? -1 : this.v; + if (z3) { + i2 = this.v; + } + float f3 = this.b / 2.0f; + this.f.setColor(this.f745s); + this.f.setStyle(Paint.Style.FILL); + float f4 = -f3; + this.f.setShadowLayer(this.b, f4, f4, i3); + staticLayout2.draw(canvas); + this.f.setShadowLayer(this.b, f3, f3, i2); + } + this.f.setColor(this.f745s); + this.f.setStyle(Paint.Style.FILL); + staticLayout.draw(canvas); + this.f.setShadowLayer(0.0f, 0.0f, 0.0f, 0); + canvas.restoreToCount(save); + return; + } + return; + } + Objects.requireNonNull(this.J); + Objects.requireNonNull(this.k); + canvas.drawBitmap(this.k, (Rect) null, this.J, this.h); + } +} diff --git a/app/src/main/java/c/i/a/c/d3/o.java b/app/src/main/java/c/i/a/c/d3/o.java new file mode 100644 index 0000000000..f518669958 --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/o.java @@ -0,0 +1,30 @@ +package c.i.a.c.d3; + +import androidx.annotation.Nullable; +/* compiled from: TimeBar */ +public interface o { + + /* compiled from: TimeBar */ + public interface a { + void k(o oVar, long j); + + void l(o oVar, long j, boolean z2); + + void m(o oVar, long j); + } + + void a(@Nullable long[] jArr, @Nullable boolean[] zArr, int i); + + void b(a aVar); + + long getPreferredUpdateDelay(); + + void setBufferedPosition(long j); + + void setDuration(long j); + + @Override // c.i.a.c.d3.o + void setEnabled(boolean z2); + + void setPosition(long j); +} diff --git a/app/src/main/java/c/i/a/c/d3/p.java b/app/src/main/java/c/i/a/c/d3/p.java new file mode 100644 index 0000000000..10ab9476ae --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/p.java @@ -0,0 +1,4 @@ +package c.i.a.c.d3; +/* compiled from: TrackNameProvider */ +public interface p { +} diff --git a/app/src/main/java/c/i/a/c/d3/q.java b/app/src/main/java/c/i/a/c/d3/q.java new file mode 100644 index 0000000000..34a78c612f --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/q.java @@ -0,0 +1,24 @@ +package c.i.a.c.d3; + +import android.content.Context; +import android.util.AttributeSet; +import android.view.MotionEvent; +import android.webkit.WebView; +/* compiled from: WebViewSubtitleOutput */ +public class q extends WebView { + public q(Context context, AttributeSet attributeSet) { + super(context, attributeSet); + } + + @Override // android.webkit.WebView, android.view.View + public boolean onTouchEvent(MotionEvent motionEvent) { + super.onTouchEvent(motionEvent); + return false; + } + + @Override // android.view.View + public boolean performClick() { + super.performClick(); + return false; + } +} diff --git a/app/src/main/java/c/i/a/c/d3/r.java b/app/src/main/java/c/i/a/c/d3/r.java new file mode 100644 index 0000000000..2782744d15 --- /dev/null +++ b/app/src/main/java/c/i/a/c/d3/r.java @@ -0,0 +1,683 @@ +package c.i.a.c.d3; + +import android.content.Context; +import android.text.Layout; +import android.text.Spanned; +import android.text.style.AbsoluteSizeSpan; +import android.text.style.BackgroundColorSpan; +import android.text.style.ForegroundColorSpan; +import android.text.style.RelativeSizeSpan; +import android.text.style.StrikethroughSpan; +import android.text.style.StyleSpan; +import android.text.style.TypefaceSpan; +import android.text.style.UnderlineSpan; +import android.util.Base64; +import android.util.SparseArray; +import android.webkit.WebView; +import android.widget.FrameLayout; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.b3.b; +import c.i.a.c.b3.q.c; +import c.i.a.c.d3.m; +import c.i.a.c.f3.e0; +import c.i.b.b.i0; +import com.google.android.exoplayer2.ui.SubtitleView; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.regex.Pattern; +/* compiled from: WebViewSubtitleOutput */ +public final class r extends FrameLayout implements SubtitleView.a { + public final j i; + public final WebView j; + public List k = Collections.emptyList(); + public k l = k.a; + public float m = 0.0533f; + public int n = 0; + public float o = 0.08f; + + /* compiled from: WebViewSubtitleOutput */ + public static /* synthetic */ class a { + public static final /* synthetic */ int[] a; + + static { + int[] iArr = new int[Layout.Alignment.values().length]; + a = iArr; + try { + iArr[Layout.Alignment.ALIGN_NORMAL.ordinal()] = 1; + } catch (NoSuchFieldError unused) { + } + try { + a[Layout.Alignment.ALIGN_OPPOSITE.ordinal()] = 2; + } catch (NoSuchFieldError unused2) { + } + try { + a[Layout.Alignment.ALIGN_CENTER.ordinal()] = 3; + } catch (NoSuchFieldError unused3) { + } + } + } + + public r(Context context) { + super(context, null); + j jVar = new j(context, null); + this.i = jVar; + q qVar = new q(context, null); + this.j = qVar; + qVar.setBackgroundColor(0); + addView(jVar); + addView(qVar); + } + + public static int b(int i) { + if (i != 1) { + return i != 2 ? 0 : -100; + } + return -50; + } + + public static String c(@Nullable Layout.Alignment alignment) { + if (alignment == null) { + return "center"; + } + int i = a.a[alignment.ordinal()]; + return i != 1 ? i != 2 ? "center" : "end" : "start"; + } + + @Override // com.google.android.exoplayer2.ui.SubtitleView.a + public void a(List list, k kVar, float f, int i, float f2) { + this.l = kVar; + this.m = f; + this.n = i; + this.o = f2; + ArrayList arrayList = new ArrayList(); + ArrayList arrayList2 = new ArrayList(); + for (int i2 = 0; i2 < list.size(); i2++) { + b bVar = list.get(i2); + if (bVar.n != null) { + arrayList.add(bVar); + } else { + arrayList2.add(bVar); + } + } + if (!this.k.isEmpty() || !arrayList2.isEmpty()) { + this.k = arrayList2; + e(); + } + this.i.a(arrayList, kVar, f, i, f2); + invalidate(); + } + + public final String d(int i, float f) { + float S1 = d.S1(i, f, getHeight(), (getHeight() - getPaddingTop()) - getPaddingBottom()); + return S1 == -3.4028235E38f ? "unset" : e0.k("%.2fpx", Float.valueOf(S1 / getContext().getResources().getDisplayMetrics().density)); + } + + /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x007e: APUT (r3v0 java.lang.Object[]), (3 ??[int, float, short, byte, char]), (r2v1 java.lang.String) */ + /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x062c: APUT (r0v11 java.lang.Object[]), (13 ??[int, float, short, byte, char]), (r4v18 java.lang.String) */ + /* JADX WARNING: Code restructure failed: missing block: B:176:0x0462, code lost: + if (((android.text.style.TypefaceSpan) r9).getFamily() != null) goto L_0x04aa; + */ + /* JADX WARNING: Code restructure failed: missing block: B:54:0x01b0, code lost: + if (r5 != 0) goto L_0x01b7; + */ + /* JADX WARNING: Code restructure failed: missing block: B:55:0x01b3, code lost: + if (r5 != 0) goto L_0x01b5; + */ + /* JADX WARNING: Removed duplicated region for block: B:199:0x04b6 */ + /* JADX WARNING: Removed duplicated region for block: B:223:0x0599 */ + /* JADX WARNING: Removed duplicated region for block: B:232:0x0609 */ + /* JADX WARNING: Removed duplicated region for block: B:238:0x0629 */ + /* JADX WARNING: Removed duplicated region for block: B:241:0x064b */ + /* JADX WARNING: Removed duplicated region for block: B:242:0x0667 */ + /* JADX WARNING: Removed duplicated region for block: B:257:0x04f0 A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:65:0x01ec */ + /* JADX WARNING: Removed duplicated region for block: B:66:0x01f6 */ + public final void e() { + int i; + char c2; + String str; + int i2; + String str2; + int i3; + String str3; + CharSequence charSequence; + String str4; + String str5; + String str6; + String str7; + String str8; + String str9; + String str10; + String str11; + m.b bVar; + float f; + int i4; + String str12; + Layout.Alignment alignment; + String str13; + String str14; + String str15; + float f2; + String str16; + String str17; + String str18; + String str19; + String str20; + int i5; + r rVar = this; + StringBuilder sb = new StringBuilder(); + Object[] objArr = new Object[4]; + char c3 = 0; + objArr[0] = d.d2(rVar.l.b); + int i6 = 1; + objArr[1] = rVar.d(rVar.n, rVar.m); + float f3 = 1.2f; + objArr[2] = Float.valueOf(1.2f); + k kVar = rVar.l; + int i7 = kVar.e; + objArr[3] = i7 != 1 ? i7 != 2 ? i7 != 3 ? i7 != 4 ? "unset" : e0.k("-0.05em -0.05em 0.15em %s", d.d2(kVar.f)) : e0.k("0.06em 0.08em 0.15em %s", d.d2(kVar.f)) : e0.k("0.1em 0.12em 0.15em %s", d.d2(kVar.f)) : e0.k("1px 1px 0 %1$s, 1px -1px 0 %1$s, -1px 1px 0 %1$s, -1px -1px 0 %1$s", d.d2(kVar.f)); + sb.append(e0.k("
", objArr)); + HashMap hashMap = new HashMap(); + String str21 = "default_bg"; + String str22 = "background-color:%s;"; + hashMap.put(d.V(str21), e0.k(str22, d.d2(rVar.l.f742c))); + int i8 = 0; + while (i8 < rVar.k.size()) { + b bVar2 = rVar.k.get(i8); + float f4 = bVar2.r; + float f5 = f4 != -3.4028235E38f ? f4 * 100.0f : 50.0f; + int b = b(bVar2.f675s); + float f6 = bVar2.o; + if (f6 == -3.4028235E38f) { + c2 = 0; + Object[] objArr2 = new Object[i6]; + objArr2[0] = Float.valueOf((1.0f - rVar.o) * 100.0f); + str = e0.k("%.2f%%", objArr2); + c3 = 0; + i = -100; + } else if (bVar2.p != i6) { + Object[] objArr3 = new Object[i6]; + objArr3[c3] = Float.valueOf(f6 * 100.0f); + str = e0.k("%.2f%%", objArr3); + c2 = 0; + i = bVar2.f678z == i6 ? -b(bVar2.q) : b(bVar2.q); + } else { + if (f6 >= 0.0f) { + Object[] objArr4 = new Object[i6]; + Float valueOf = Float.valueOf(f6 * f3); + c2 = 0; + objArr4[0] = valueOf; + str = e0.k("%.2fem", objArr4); + c3 = 0; + } else { + Object[] objArr5 = new Object[i6]; + Float valueOf2 = Float.valueOf(((-f6) - 1.0f) * f3); + c2 = 0; + objArr5[0] = valueOf2; + str = e0.k("%.2fem", objArr5); + c3 = 1; + } + i = 0; + } + float f7 = bVar2.t; + if (f7 != -3.4028235E38f) { + i2 = b; + Object[] objArr6 = new Object[i6]; + objArr6[c2] = Float.valueOf(f7 * 100.0f); + str2 = e0.k("%.2f%%", objArr6); + } else { + i2 = b; + str2 = "fit-content"; + } + String c4 = c(bVar2.l); + int i9 = bVar2.f678z; + String str23 = i9 != i6 ? i9 != 2 ? "horizontal-tb" : "vertical-lr" : "vertical-rl"; + String d = rVar.d(bVar2.f676x, bVar2.f677y); + String d2 = d.d2(bVar2.v ? bVar2.w : rVar.l.d); + int i10 = bVar2.f678z; + String str24 = "right"; + String str25 = "left"; + String str26 = "top"; + if (i10 != 1) { + if (i10 != 2) { + if (c3 != 0) { + str26 = "bottom"; + } + i3 = 2; + if (i10 != i3 || i10 == 1) { + str3 = "height"; + } else { + str3 = "width"; + i2 = i; + i = i2; + } + charSequence = bVar2.k; + float f8 = getContext().getResources().getDisplayMetrics().density; + Pattern pattern = m.a; + if (charSequence != null) { + bVar = new m.b("", i0.l, null); + str11 = ""; + } else if (!(charSequence instanceof Spanned)) { + str11 = ""; + bVar = new m.b(m.a(charSequence), i0.l, null); + } else { + str11 = ""; + Spanned spanned = (Spanned) charSequence; + HashSet hashSet = new HashSet(); + str10 = d2; + str9 = d; + BackgroundColorSpan[] backgroundColorSpanArr = (BackgroundColorSpan[]) spanned.getSpans(0, spanned.length(), BackgroundColorSpan.class); + int length = backgroundColorSpanArr.length; + int i11 = 0; + while (i11 < length) { + hashSet.add(Integer.valueOf(backgroundColorSpanArr[i11].getBackgroundColor())); + i11++; + backgroundColorSpanArr = backgroundColorSpanArr; + } + HashMap hashMap2 = new HashMap(); + for (Iterator it = hashSet.iterator(); it.hasNext(); it = it) { + int intValue = ((Integer) it.next()).intValue(); + StringBuilder sb2 = new StringBuilder(14); + sb2.append("bg_"); + sb2.append(intValue); + hashMap2.put(d.V(sb2.toString()), e0.k(str22, d.d2(intValue))); + } + SparseArray sparseArray = new SparseArray(); + str8 = str22; + Object[] spans = spanned.getSpans(0, spanned.length(), Object.class); + int length2 = spans.length; + int i12 = 0; + while (i12 < length2) { + Object obj = spans[i12]; + boolean z2 = obj instanceof StrikethroughSpan; + if (z2) { + str14 = str3; + f2 = f8; + str15 = str2; + str16 = c4; + str17 = str23; + str18 = ""; + } else { + str17 = str23; + if (obj instanceof ForegroundColorSpan) { + str16 = c4; + str18 = e0.k("", d.d2(((ForegroundColorSpan) obj).getForegroundColor())); + } else { + str16 = c4; + if (obj instanceof BackgroundColorSpan) { + str18 = e0.k("", Integer.valueOf(((BackgroundColorSpan) obj).getBackgroundColor())); + } else if (obj instanceof c.i.a.c.b3.q.a) { + str18 = ""; + } else if (obj instanceof AbsoluteSizeSpan) { + AbsoluteSizeSpan absoluteSizeSpan = (AbsoluteSizeSpan) obj; + str18 = e0.k("", Float.valueOf(absoluteSizeSpan.getDip() ? (float) absoluteSizeSpan.getSize() : ((float) absoluteSizeSpan.getSize()) / f8)); + } else { + if (obj instanceof RelativeSizeSpan) { + str18 = e0.k("", Float.valueOf(((RelativeSizeSpan) obj).getSizeChange() * 100.0f)); + } else if (obj instanceof TypefaceSpan) { + String family = ((TypefaceSpan) obj).getFamily(); + str18 = family != null ? e0.k("", family) : null; + } else { + if (obj instanceof StyleSpan) { + int style = ((StyleSpan) obj).getStyle(); + if (style == 1) { + str18 = ""; + } else if (style == 2) { + str18 = ""; + } else if (style == 3) { + str18 = ""; + } + } else if (obj instanceof c) { + int i13 = ((c) obj).b; + if (i13 == -1) { + str18 = ""; + } else if (i13 == 1) { + str18 = ""; + } else if (i13 == 2) { + str18 = ""; + } + } else if (obj instanceof UnderlineSpan) { + str18 = ""; + } else if (obj instanceof c.i.a.c.b3.q.d) { + c.i.a.c.b3.q.d dVar = (c.i.a.c.b3.q.d) obj; + int i14 = dVar.a; + f2 = f8; + int i15 = dVar.b; + str15 = str2; + StringBuilder sb3 = new StringBuilder(); + str14 = str3; + if (i15 != 1) { + i5 = 2; + if (i15 == 2) { + sb3.append("open "); + } + } else { + i5 = 2; + sb3.append("filled "); + } + if (i14 == 0) { + sb3.append("none"); + } else if (i14 == 1) { + sb3.append("circle"); + } else if (i14 == i5) { + sb3.append("dot"); + } else if (i14 != 3) { + sb3.append("unset"); + } else { + sb3.append("sesame"); + } + str18 = e0.k("", sb3.toString(), dVar.f705c != 2 ? "over right" : "under left"); + } + str14 = str3; + f2 = f8; + str15 = str2; + str18 = null; + } + str14 = str3; + f2 = f8; + str15 = str2; + } + } + str14 = str3; + f2 = f8; + str15 = str2; + } + if (!z2 && !(obj instanceof ForegroundColorSpan) && !(obj instanceof BackgroundColorSpan) && !(obj instanceof c.i.a.c.b3.q.a) && !(obj instanceof AbsoluteSizeSpan) && !(obj instanceof RelativeSizeSpan) && !(obj instanceof c.i.a.c.b3.q.d)) { + if (!(obj instanceof TypefaceSpan)) { + if (obj instanceof StyleSpan) { + int style2 = ((StyleSpan) obj).getStyle(); + if (style2 == 1) { + str20 = ""; + } else if (style2 == 2) { + str20 = ""; + } else if (style2 == 3) { + str20 = ""; + } + str19 = str20; + int spanStart = spanned.getSpanStart(obj); + int spanEnd = spanned.getSpanEnd(obj); + if (str18 == null) { + Objects.requireNonNull(str19); + m.c cVar = new m.c(spanStart, spanEnd, str18, str19, null); + m.d dVar2 = (m.d) sparseArray.get(spanStart); + if (dVar2 == null) { + dVar2 = new m.d(); + sparseArray.put(spanStart, dVar2); + } + dVar2.a.add(cVar); + m.d dVar3 = (m.d) sparseArray.get(spanEnd); + if (dVar3 == null) { + dVar3 = new m.d(); + sparseArray.put(spanEnd, dVar3); + } + dVar3.b.add(cVar); + } + i12++; + length2 = length2; + spans = spans; + str23 = str17; + c4 = str16; + f8 = f2; + str2 = str15; + str3 = str14; + } else { + if (obj instanceof c) { + String a2 = m.a(((c) obj).a); + str20 = c.d.b.a.a.j(c.d.b.a.a.b(a2, 16), "", a2, ""); + } else if (obj instanceof UnderlineSpan) { + str20 = ""; + } + str19 = str20; + int spanStart = spanned.getSpanStart(obj); + int spanEnd = spanned.getSpanEnd(obj); + if (str18 == null) { + } + i12++; + length2 = length2; + spans = spans; + str23 = str17; + c4 = str16; + f8 = f2; + str2 = str15; + str3 = str14; + } + } + str20 = null; + str19 = str20; + int spanStart = spanned.getSpanStart(obj); + int spanEnd = spanned.getSpanEnd(obj); + if (str18 == null) { + } + i12++; + length2 = length2; + spans = spans; + str23 = str17; + c4 = str16; + f8 = f2; + str2 = str15; + str3 = str14; + } + str19 = ""; + int spanStart = spanned.getSpanStart(obj); + int spanEnd = spanned.getSpanEnd(obj); + if (str18 == null) { + } + i12++; + length2 = length2; + spans = spans; + str23 = str17; + c4 = str16; + f8 = f2; + str2 = str15; + str3 = str14; + } + str4 = str3; + str7 = str23; + str5 = str2; + str6 = c4; + StringBuilder sb4 = new StringBuilder(spanned.length()); + int i16 = 0; + int i17 = 0; + while (i16 < sparseArray.size()) { + int keyAt = sparseArray.keyAt(i16); + sb4.append(m.a(spanned.subSequence(i17, keyAt))); + m.d dVar4 = (m.d) sparseArray.get(keyAt); + Collections.sort(dVar4.b, f.i); + for (m.c cVar2 : dVar4.b) { + sb4.append(cVar2.d); + } + Collections.sort(dVar4.a, e.i); + for (m.c cVar3 : dVar4.a) { + sb4.append(cVar3.f743c); + } + i16++; + i17 = keyAt; + } + sb4.append(m.a(spanned.subSequence(i17, spanned.length()))); + bVar = new m.b(sb4.toString(), hashMap2, null); + for (String str27 : hashMap.keySet()) { + String str28 = (String) hashMap.put(str27, (String) hashMap.get(str27)); + d.D(str28 == null || str28.equals(hashMap.get(str27))); + } + Object[] objArr7 = new Object[14]; + objArr7[0] = Integer.valueOf(i8); + objArr7[1] = str25; + objArr7[2] = Float.valueOf(f5); + objArr7[3] = str26; + objArr7[4] = str; + objArr7[5] = str4; + objArr7[6] = str5; + objArr7[7] = str6; + objArr7[8] = str7; + objArr7[9] = str9; + objArr7[10] = str10; + objArr7[11] = Integer.valueOf(i); + objArr7[12] = Integer.valueOf(i2); + f = bVar2.A; + if (f != 0.0f) { + int i18 = bVar2.f678z; + i4 = 1; + str12 = e0.k("%s(%.2fdeg)", (i18 == 2 || i18 == 1) ? "skewY" : "skewX", Float.valueOf(f)); + } else { + i4 = 1; + str12 = str11; + } + objArr7[13] = str12; + sb = sb; + sb.append(e0.k("
", objArr7)); + Object[] objArr8 = new Object[i4]; + objArr8[0] = str21; + sb.append(e0.k("", objArr8)); + alignment = bVar2.m; + if (alignment != null) { + Object[] objArr9 = new Object[i4]; + objArr9[0] = c(alignment); + sb.append(e0.k("", objArr9)); + sb.append(bVar.a); + str13 = ""; + sb.append(str13); + } else { + str13 = ""; + sb.append(bVar.a); + } + sb.append(str13); + sb.append("
"); + i8++; + f3 = 1.2f; + c3 = 0; + i6 = 1; + rVar = this; + str21 = str21; + str22 = str8; + } + str4 = str3; + str7 = str23; + str8 = str22; + str5 = str2; + str6 = c4; + str9 = d; + str10 = d2; + while (r0.hasNext()) { + } + Object[] objArr7 = new Object[14]; + objArr7[0] = Integer.valueOf(i8); + objArr7[1] = str25; + objArr7[2] = Float.valueOf(f5); + objArr7[3] = str26; + objArr7[4] = str; + objArr7[5] = str4; + objArr7[6] = str5; + objArr7[7] = str6; + objArr7[8] = str7; + objArr7[9] = str9; + objArr7[10] = str10; + objArr7[11] = Integer.valueOf(i); + objArr7[12] = Integer.valueOf(i2); + f = bVar2.A; + if (f != 0.0f) { + } + objArr7[13] = str12; + sb = sb; + sb.append(e0.k("
", objArr7)); + Object[] objArr8 = new Object[i4]; + objArr8[0] = str21; + sb.append(e0.k("", objArr8)); + alignment = bVar2.m; + if (alignment != null) { + } + sb.append(str13); + sb.append("
"); + i8++; + f3 = 1.2f; + c3 = 0; + i6 = 1; + rVar = this; + str21 = str21; + str22 = str8; + } + } + str24 = str25; + i3 = 2; + str25 = str26; + str26 = str24; + if (i10 != i3) { + } + str3 = "height"; + charSequence = bVar2.k; + float f8 = getContext().getResources().getDisplayMetrics().density; + Pattern pattern = m.a; + if (charSequence != null) { + } + str4 = str3; + str7 = str23; + str8 = str22; + str5 = str2; + str6 = c4; + str9 = d; + str10 = d2; + while (r0.hasNext()) { + } + Object[] objArr7 = new Object[14]; + objArr7[0] = Integer.valueOf(i8); + objArr7[1] = str25; + objArr7[2] = Float.valueOf(f5); + objArr7[3] = str26; + objArr7[4] = str; + objArr7[5] = str4; + objArr7[6] = str5; + objArr7[7] = str6; + objArr7[8] = str7; + objArr7[9] = str9; + objArr7[10] = str10; + objArr7[11] = Integer.valueOf(i); + objArr7[12] = Integer.valueOf(i2); + f = bVar2.A; + if (f != 0.0f) { + } + objArr7[13] = str12; + sb = sb; + sb.append(e0.k("
", objArr7)); + Object[] objArr8 = new Object[i4]; + objArr8[0] = str21; + sb.append(e0.k("", objArr8)); + alignment = bVar2.m; + if (alignment != null) { + } + sb.append(str13); + sb.append("
"); + i8++; + f3 = 1.2f; + c3 = 0; + i6 = 1; + rVar = this; + str21 = str21; + str22 = str8; + } + sb.append("
"); + StringBuilder sb5 = new StringBuilder(); + sb5.append(""); + sb.insert(0, sb5.toString()); + this.j.loadData(Base64.encodeToString(sb.toString().getBytes(c.i.b.a.c.f1307c), 1), "text/html", "base64"); + } + + @Override // android.widget.FrameLayout, android.view.View, android.view.ViewGroup + public void onLayout(boolean z2, int i, int i2, int i3, int i4) { + super.onLayout(z2, i, i2, i3, i4); + if (z2 && !this.k.isEmpty()) { + e(); + } + } +} diff --git a/app/src/main/java/c/i/a/c/e.java b/app/src/main/java/c/i/a/c/e.java index 415ffcda18..1531bfa800 100644 --- a/app/src/main/java/c/i/a/c/e.java +++ b/app/src/main/java/c/i/a/c/e.java @@ -1,17 +1,28 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import android.content.Context; +import c.i.a.c.e3.p; +import c.i.b.a.l; /* compiled from: lambda */ -public final /* synthetic */ class e implements o.a { - public final /* synthetic */ int a; +public final /* synthetic */ class e implements l { + public final /* synthetic */ Context i; - public /* synthetic */ e(int i) { - this.a = i; + public /* synthetic */ e(Context context) { + this.i = context; } - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((g1.a) obj).D(this.a); + @Override // c.i.b.a.l + public final Object get() { + p pVar; + Context context = this.i; + c.i.b.b.p pVar2 = p.a; + synchronized (p.class) { + if (p.g == null) { + p.b bVar = new p.b(context); + p.g = new p(bVar.a, bVar.b, bVar.f767c, bVar.d, bVar.e, null); + } + pVar = p.g; + } + return pVar; } } diff --git a/app/src/main/java/c/i/a/c/e0.java b/app/src/main/java/c/i/a/c/e0.java index 0ce132c724..ef35be330c 100644 --- a/app/src/main/java/c/i/a/c/e0.java +++ b/app/src/main/java/c/i/a/c/e0.java @@ -1,130 +1,18 @@ package c.i.a.c; -import android.content.Context; -import android.media.AudioFocusRequest; -import android.media.AudioManager; -import android.os.Handler; -import androidx.annotation.Nullable; -import c.i.a.c.i2.f0; -import c.i.a.c.p1; -import c.i.a.c.v1.n; -import java.util.Objects; -import org.webrtc.MediaStreamTrack; -/* compiled from: AudioFocusManager */ -public final class e0 { - public final AudioManager a; - public final a b; - @Nullable +import c.i.a.c.f3.p; +import c.i.a.c.y1; +/* compiled from: lambda */ +public final /* synthetic */ class e0 implements p.a { + public final /* synthetic */ w1 a; - /* renamed from: c reason: collision with root package name */ - public b f866c; - @Nullable - public n d; - public int e; - public int f; - public float g = 1.0f; - public AudioFocusRequest h; - - /* compiled from: AudioFocusManager */ - public class a implements AudioManager.OnAudioFocusChangeListener { - public final Handler i; - - public a(Handler handler) { - this.i = handler; - } - - @Override // android.media.AudioManager.OnAudioFocusChangeListener - public void onAudioFocusChange(int i) { - this.i.post(new b(this, i)); - } + public /* synthetic */ e0(w1 w1Var) { + this.a = w1Var; } - /* compiled from: AudioFocusManager */ - public interface b { - } - - public e0(Context context, Handler handler, b bVar) { - AudioManager audioManager = (AudioManager) context.getApplicationContext().getSystemService(MediaStreamTrack.AUDIO_TRACK_KIND); - Objects.requireNonNull(audioManager); - this.a = audioManager; - this.f866c = bVar; - this.b = new a(handler); - this.e = 0; - } - - public final void a() { - if (this.e != 0) { - if (f0.a >= 26) { - AudioFocusRequest audioFocusRequest = this.h; - if (audioFocusRequest != null) { - this.a.abandonAudioFocusRequest(audioFocusRequest); - } - } else { - this.a.abandonAudioFocus(this.b); - } - c(0); - } - } - - public final void b(int i) { - b bVar = this.f866c; - if (bVar != null) { - p1.c cVar = (p1.c) bVar; - boolean g = p1.this.g(); - p1.this.Y(g, i, p1.O(g, i)); - } - } - - public final void c(int i) { - if (this.e != i) { - this.e = i; - float f = i == 3 ? 0.2f : 1.0f; - if (this.g != f) { - this.g = f; - b bVar = this.f866c; - if (bVar != null) { - p1 p1Var = p1.this; - p1Var.R(1, 2, Float.valueOf(p1Var.B * p1Var.m.g)); - } - } - } - } - - public int d(boolean z2, int i) { - int i2; - int i3 = 1; - if (i == 1 || this.f != 1) { - a(); - return z2 ? 1 : -1; - } else if (!z2) { - return -1; - } else { - if (this.e != 1) { - if (f0.a >= 26) { - AudioFocusRequest audioFocusRequest = this.h; - if (audioFocusRequest == null) { - AudioFocusRequest.Builder builder = audioFocusRequest == null ? new AudioFocusRequest.Builder(this.f) : new AudioFocusRequest.Builder(this.h); - n nVar = this.d; - boolean z3 = nVar != null && nVar.b == 1; - Objects.requireNonNull(nVar); - this.h = builder.setAudioAttributes(nVar.a()).setWillPauseWhenDucked(z3).setOnAudioFocusChangeListener(this.b).build(); - } - i2 = this.a.requestAudioFocus(this.h); - } else { - AudioManager audioManager = this.a; - a aVar = this.b; - n nVar2 = this.d; - Objects.requireNonNull(nVar2); - i2 = audioManager.requestAudioFocus(aVar, f0.t(nVar2.d), this.f); - } - if (i2 == 1) { - c(1); - } else { - c(0); - i3 = -1; - } - } - return i3; - } + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + w1 w1Var = this.a; + ((y1.c) obj).H(w1Var.m, w1Var.f); } } diff --git a/app/src/main/java/c/i/a/c/e1.java b/app/src/main/java/c/i/a/c/e1.java index ca0b53460d..0fc0de70be 100644 --- a/app/src/main/java/c/i/a/c/e1.java +++ b/app/src/main/java/c/i/a/c/e1.java @@ -1,7 +1,63 @@ package c.i.a.c; -/* compiled from: PlaybackPreparer */ -@Deprecated -public interface e1 { - @Deprecated - void a(); + +import android.content.Context; +import android.os.Looper; +import c.i.a.c.a3.c0; +import c.i.a.c.c3.q; +import c.i.a.c.e3.f; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.g; +import c.i.a.c.s2.g1; +import c.i.a.c.t2.o; +import c.i.b.a.l; +/* compiled from: ExoPlayer */ +public interface e1 extends y1 { + + /* compiled from: ExoPlayer */ + public interface a { + void o(boolean z2); + + void x(boolean z2); + } + + /* compiled from: ExoPlayer */ + public static final class b { + public final Context a; + public g b = g.a; + + /* renamed from: c reason: collision with root package name */ + public l f749c; + public l d; + public l e; + public l f; + public l g; + public l h = new i(this); + public Looper i = e0.o(); + public o j = o.i; + public int k = 1; + public boolean l = true; + public j2 m = j2.b; + public long n = 5000; + public long o = 15000; + public m1 p = new y0(0.97f, 1.03f, 1000, 1.0E-7f, e0.B(20), e0.B(500), 0.999f, null); + public long q = 500; + public long r = 2000; + + /* renamed from: s reason: collision with root package name */ + public boolean f750s; + + public b(Context context) { + f fVar = new f(context); + h hVar = new h(context); + g gVar = new g(context); + a aVar = a.i; + e eVar = new e(context); + this.a = context; + this.f749c = fVar; + this.d = hVar; + this.e = gVar; + this.f = aVar; + this.g = eVar; + } + } } diff --git a/app/src/main/java/c/i/a/c/e2.java b/app/src/main/java/c/i/a/c/e2.java new file mode 100644 index 0000000000..c6f9710723 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e2.java @@ -0,0 +1,8 @@ +package c.i.a.c; + +import com.google.android.exoplayer2.ExoPlaybackException; +/* compiled from: Renderer */ +public final /* synthetic */ class e2 { + public static void a(f2 f2Var, float f, float f2) throws ExoPlaybackException { + } +} diff --git a/app/src/main/java/c/i/a/c/e2/a.java b/app/src/main/java/c/i/a/c/e2/a.java deleted file mode 100644 index 29ccee71ab..0000000000 --- a/app/src/main/java/c/i/a/c/e2/a.java +++ /dev/null @@ -1,25 +0,0 @@ -package c.i.a.c.e2; - -import c.i.a.c.x1.f; -/* compiled from: lambda */ -public final /* synthetic */ class a implements f.a { - public final /* synthetic */ d a; - - public /* synthetic */ a(d dVar) { - this.a = dVar; - } - - @Override // c.i.a.c.x1.f.a - public final void a(f fVar) { - d dVar = this.a; - j jVar = (j) fVar; - synchronized (dVar.b) { - jVar.q(); - O[] oArr = dVar.f; - int i = dVar.h; - dVar.h = i + 1; - oArr[i] = jVar; - dVar.g(); - } - } -} diff --git a/app/src/main/java/c/i/a/c/e2/b.java b/app/src/main/java/c/i/a/c/e2/b.java deleted file mode 100644 index 77c339123f..0000000000 --- a/app/src/main/java/c/i/a/c/e2/b.java +++ /dev/null @@ -1,27 +0,0 @@ -package c.i.a.c.e2; - -import android.graphics.Typeface; -import androidx.annotation.Nullable; -import androidx.core.view.ViewCompat; -/* compiled from: CaptionStyleCompat */ -public final class b { - public static final b a = new b(-1, ViewCompat.MEASURED_STATE_MASK, 0, 0, -1, null); - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f867c; - public final int d; - public final int e; - public final int f; - @Nullable - public final Typeface g; - - public b(int i, int i2, int i3, int i4, int i5, @Nullable Typeface typeface) { - this.b = i; - this.f867c = i2; - this.d = i3; - this.e = i4; - this.f = i5; - this.g = typeface; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/c.java b/app/src/main/java/c/i/a/c/e2/c.java deleted file mode 100644 index 29e2ca9e12..0000000000 --- a/app/src/main/java/c/i/a/c/e2/c.java +++ /dev/null @@ -1,135 +0,0 @@ -package c.i.a.c.e2; - -import android.graphics.Bitmap; -import android.text.Layout; -import androidx.annotation.ColorInt; -import androidx.annotation.Nullable; -import androidx.core.view.ViewCompat; -import c.c.a.a0.d; -import java.util.Objects; -/* compiled from: Cue */ -public final class c { - public static final c a; - @Nullable - public final CharSequence b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public final Layout.Alignment f868c; - @Nullable - public final Bitmap d; - public final float e; - public final int f; - public final int g; - public final float h; - public final int i; - public final float j; - public final float k; - public final boolean l; - public final int m; - public final int n; - public final float o; - public final int p; - public final float q; - - /* compiled from: Cue */ - public static final class b { - @Nullable - public CharSequence a; - @Nullable - public Bitmap b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public Layout.Alignment f869c; - public float d; - public int e; - public int f; - public float g; - public int h; - public int i; - public float j; - public float k; - public float l; - public boolean m; - @ColorInt - public int n; - public int o; - public float p; - - public b() { - this.a = null; - this.b = null; - this.f869c = null; - this.d = -3.4028235E38f; - this.e = Integer.MIN_VALUE; - this.f = Integer.MIN_VALUE; - this.g = -3.4028235E38f; - this.h = Integer.MIN_VALUE; - this.i = Integer.MIN_VALUE; - this.j = -3.4028235E38f; - this.k = -3.4028235E38f; - this.l = -3.4028235E38f; - this.m = false; - this.n = ViewCompat.MEASURED_STATE_MASK; - this.o = Integer.MIN_VALUE; - } - - public b(c cVar, a aVar) { - this.a = cVar.b; - this.b = cVar.d; - this.f869c = cVar.f868c; - this.d = cVar.e; - this.e = cVar.f; - this.f = cVar.g; - this.g = cVar.h; - this.h = cVar.i; - this.i = cVar.n; - this.j = cVar.o; - this.k = cVar.j; - this.l = cVar.k; - this.m = cVar.l; - this.n = cVar.m; - this.o = cVar.p; - this.p = cVar.q; - } - - public c a() { - return new c(this.a, this.f869c, this.b, this.d, this.e, this.f, this.g, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.o, this.p, null); - } - } - - static { - b bVar = new b(); - bVar.a = ""; - a = bVar.a(); - } - - public c(CharSequence charSequence, Layout.Alignment alignment, Bitmap bitmap, float f, int i, int i2, float f2, int i3, int i4, float f3, float f4, float f5, boolean z2, int i5, int i6, float f6, a aVar) { - if (charSequence == null) { - Objects.requireNonNull(bitmap); - } else { - d.k(bitmap == null); - } - this.b = charSequence; - this.f868c = alignment; - this.d = bitmap; - this.e = f; - this.f = i; - this.g = i2; - this.h = f2; - this.i = i3; - this.j = f4; - this.k = f5; - this.l = z2; - this.m = i5; - this.n = i4; - this.o = f3; - this.p = i6; - this.q = f6; - } - - public b a() { - return new b(this, null); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/d.java b/app/src/main/java/c/i/a/c/e2/d.java deleted file mode 100644 index a7413e87af..0000000000 --- a/app/src/main/java/c/i/a/c/e2/d.java +++ /dev/null @@ -1,42 +0,0 @@ -package c.i.a.c.e2; - -import androidx.annotation.Nullable; -import c.i.a.c.x1.g; -import com.google.android.exoplayer2.decoder.DecoderInputBuffer; -import com.google.android.exoplayer2.text.SubtitleDecoderException; -import java.nio.ByteBuffer; -import java.util.Objects; -/* compiled from: SimpleSubtitleDecoder */ -public abstract class d extends g implements g { - public d(String str) { - super(new i[2], new j[2]); - c.c.a.a0.d.D(this.g == this.e.length); - for (DecoderInputBuffer decoderInputBuffer : this.e) { - decoderInputBuffer.r(1024); - } - } - - @Override // c.i.a.c.e2.g - public void a(long j) { - } - - /* Return type fixed from 'com.google.android.exoplayer2.decoder.DecoderException' to match base method */ - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [com.google.android.exoplayer2.decoder.DecoderInputBuffer, c.i.a.c.x1.f, boolean] */ - @Override // c.i.a.c.x1.g - @Nullable - public SubtitleDecoderException e(i iVar, j jVar, boolean z2) { - i iVar2 = iVar; - j jVar2 = jVar; - try { - ByteBuffer byteBuffer = iVar2.k; - Objects.requireNonNull(byteBuffer); - jVar2.r(iVar2.m, j(byteBuffer.array(), byteBuffer.limit(), z2), iVar2.q); - jVar2.i &= Integer.MAX_VALUE; - return null; - } catch (SubtitleDecoderException e) { - return e; - } - } - - public abstract f j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException; -} diff --git a/app/src/main/java/c/i/a/c/e2/e.java b/app/src/main/java/c/i/a/c/e2/e.java deleted file mode 100644 index fd1dc84e9d..0000000000 --- a/app/src/main/java/c/i/a/c/e2/e.java +++ /dev/null @@ -1,16 +0,0 @@ -package c.i.a.c.e2; - -import c.i.a.c.x1.f; -/* compiled from: SimpleSubtitleOutputBuffer */ -public final class e extends j { - public final f.a m; - - public e(f.a aVar) { - this.m = aVar; - } - - @Override // c.i.a.c.x1.f - public final void p() { - this.m.a(this); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/f.java b/app/src/main/java/c/i/a/c/e2/f.java deleted file mode 100644 index 5dce67dc0b..0000000000 --- a/app/src/main/java/c/i/a/c/e2/f.java +++ /dev/null @@ -1,13 +0,0 @@ -package c.i.a.c.e2; - -import java.util.List; -/* compiled from: Subtitle */ -public interface f { - int f(long j); - - long g(int i); - - List h(long j); - - int i(); -} diff --git a/app/src/main/java/c/i/a/c/e2/g.java b/app/src/main/java/c/i/a/c/e2/g.java deleted file mode 100644 index cd5433cc91..0000000000 --- a/app/src/main/java/c/i/a/c/e2/g.java +++ /dev/null @@ -1,8 +0,0 @@ -package c.i.a.c.e2; - -import c.i.a.c.x1.c; -import com.google.android.exoplayer2.text.SubtitleDecoderException; -/* compiled from: SubtitleDecoder */ -public interface g extends c { - void a(long j); -} diff --git a/app/src/main/java/c/i/a/c/e2/h.java b/app/src/main/java/c/i/a/c/e2/h.java deleted file mode 100644 index 6953bb72bd..0000000000 --- a/app/src/main/java/c/i/a/c/e2/h.java +++ /dev/null @@ -1,9 +0,0 @@ -package c.i.a.c.e2; -/* compiled from: SubtitleDecoderFactory */ -public interface h { - public static final h a = new a(); - - /* compiled from: SubtitleDecoderFactory */ - public class a implements h { - } -} diff --git a/app/src/main/java/c/i/a/c/e2/i.java b/app/src/main/java/c/i/a/c/e2/i.java deleted file mode 100644 index 4fbe9c530b..0000000000 --- a/app/src/main/java/c/i/a/c/e2/i.java +++ /dev/null @@ -1,11 +0,0 @@ -package c.i.a.c.e2; - -import com.google.android.exoplayer2.decoder.DecoderInputBuffer; -/* compiled from: SubtitleInputBuffer */ -public class i extends DecoderInputBuffer { - public long q; - - public i() { - super(1); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/j.java b/app/src/main/java/c/i/a/c/e2/j.java deleted file mode 100644 index a7d3dbc6ee..0000000000 --- a/app/src/main/java/c/i/a/c/e2/j.java +++ /dev/null @@ -1,55 +0,0 @@ -package c.i.a.c.e2; - -import androidx.annotation.Nullable; -import androidx.recyclerview.widget.RecyclerView; -import c.i.a.c.x1.f; -import java.util.List; -import java.util.Objects; -/* compiled from: SubtitleOutputBuffer */ -public abstract class j extends f implements f { - @Nullable - public f k; - public long l; - - @Override // c.i.a.c.e2.f - public int f(long j) { - f fVar = this.k; - Objects.requireNonNull(fVar); - return fVar.f(j - this.l); - } - - @Override // c.i.a.c.e2.f - public long g(int i) { - f fVar = this.k; - Objects.requireNonNull(fVar); - return fVar.g(i) + this.l; - } - - @Override // c.i.a.c.e2.f - public List h(long j) { - f fVar = this.k; - Objects.requireNonNull(fVar); - return fVar.h(j - this.l); - } - - @Override // c.i.a.c.e2.f - public int i() { - f fVar = this.k; - Objects.requireNonNull(fVar); - return fVar.i(); - } - - public void q() { - this.i = 0; - this.k = null; - } - - public void r(long j, f fVar, long j2) { - this.j = j; - this.k = fVar; - if (j2 != RecyclerView.FOREVER_NS) { - j = j2; - } - this.l = j; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/k.java b/app/src/main/java/c/i/a/c/e2/k.java deleted file mode 100644 index d9e9b96343..0000000000 --- a/app/src/main/java/c/i/a/c/e2/k.java +++ /dev/null @@ -1,7 +0,0 @@ -package c.i.a.c.e2; - -import java.util.List; -/* compiled from: TextOutput */ -public interface k { - void m(List list); -} diff --git a/app/src/main/java/c/i/a/c/e2/l.java b/app/src/main/java/c/i/a/c/e2/l.java deleted file mode 100644 index 1dc6495a6e..0000000000 --- a/app/src/main/java/c/i/a/c/e2/l.java +++ /dev/null @@ -1,475 +0,0 @@ -package c.i.a.c.e2; - -import android.os.Handler; -import android.os.Looper; -import android.os.Message; -import androidx.annotation.Nullable; -import androidx.recyclerview.widget.RecyclerView; -import c.d.b.a.a; -import c.i.a.c.e2.h; -import c.i.a.c.e2.m.c; -import c.i.a.c.e2.u.d; -import c.i.a.c.e2.u.i; -import c.i.a.c.g0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.p; -import c.i.a.c.i2.s; -import c.i.a.c.s0; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.text.SubtitleDecoderException; -import java.util.Collections; -import java.util.List; -import java.util.Objects; -/* compiled from: TextRenderer */ -public final class l extends g0 implements Handler.Callback { - public int A; - @Nullable - public Format B; - @Nullable - public g C; - @Nullable - public i D; - @Nullable - public j E; - @Nullable - public j F; - public int G; - public long H; - @Nullable - public final Handler t; - public final k u; - public final h v; - - /* renamed from: w reason: collision with root package name */ - public final s0 f870w; - - /* renamed from: x reason: collision with root package name */ - public boolean f871x; - - /* renamed from: y reason: collision with root package name */ - public boolean f872y; - - /* renamed from: z reason: collision with root package name */ - public boolean f873z; - - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public l(k kVar, @Nullable Looper looper) { - super(3); - Handler handler; - h hVar = h.a; - Objects.requireNonNull(kVar); - this.u = kVar; - if (looper == null) { - handler = null; - } else { - int i = f0.a; - handler = new Handler(looper, this); - } - this.t = handler; - this.v = hVar; - this.f870w = new s0(); - this.H = -9223372036854775807L; - } - - @Override // c.i.a.c.g0 - public void B() { - this.B = null; - this.H = -9223372036854775807L; - J(); - N(); - g gVar = this.C; - Objects.requireNonNull(gVar); - gVar.release(); - this.C = null; - this.A = 0; - } - - @Override // c.i.a.c.g0 - public void D(long j, boolean z2) { - J(); - this.f871x = false; - this.f872y = false; - this.H = -9223372036854775807L; - if (this.A != 0) { - O(); - return; - } - N(); - g gVar = this.C; - Objects.requireNonNull(gVar); - gVar.flush(); - } - - @Override // c.i.a.c.g0 - public void H(Format[] formatArr, long j, long j2) { - this.B = formatArr[0]; - if (this.C != null) { - this.A = 1; - } else { - M(); - } - } - - public final void J() { - List emptyList = Collections.emptyList(); - Handler handler = this.t; - if (handler != null) { - handler.obtainMessage(0, emptyList).sendToTarget(); - } else { - this.u.m(emptyList); - } - } - - public final long K() { - if (this.G == -1) { - return RecyclerView.FOREVER_NS; - } - Objects.requireNonNull(this.E); - int i = this.G; - f fVar = this.E.k; - Objects.requireNonNull(fVar); - if (i >= fVar.i()) { - return RecyclerView.FOREVER_NS; - } - j jVar = this.E; - int i2 = this.G; - f fVar2 = jVar.k; - Objects.requireNonNull(fVar2); - return fVar2.g(i2) + jVar.l; - } - - public final void L(SubtitleDecoderException subtitleDecoderException) { - StringBuilder O = a.O("Subtitle decoding failed. streamFormat="); - O.append(this.B); - p.b("TextRenderer", O.toString(), subtitleDecoderException); - J(); - O(); - } - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - /* JADX WARNING: Code restructure failed: missing block: B:32:0x008e, code lost: - if (r1.equals("application/pgs") == false) goto L_0x009c; - */ - public final void M() { - g gVar; - char c2 = 1; - this.f873z = true; - h hVar = this.v; - Format format = this.B; - Objects.requireNonNull(format); - Objects.requireNonNull((h.a) hVar); - String str = format.t; - if (str != null) { - switch (str.hashCode()) { - case -1351681404: - if (str.equals("application/dvbsubs")) { - c2 = 0; - break; - } - c2 = 65535; - break; - case -1248334819: - break; - case -1026075066: - if (str.equals("application/x-mp4-vtt")) { - c2 = 2; - break; - } - c2 = 65535; - break; - case -1004728940: - if (str.equals("text/vtt")) { - c2 = 3; - break; - } - c2 = 65535; - break; - case 691401887: - if (str.equals("application/x-quicktime-tx3g")) { - c2 = 4; - break; - } - c2 = 65535; - break; - case 822864842: - if (str.equals("text/x-ssa")) { - c2 = 5; - break; - } - c2 = 65535; - break; - case 930165504: - if (str.equals("application/x-mp4-cea-608")) { - c2 = 6; - break; - } - c2 = 65535; - break; - case 1566015601: - if (str.equals("application/cea-608")) { - c2 = 7; - break; - } - c2 = 65535; - break; - case 1566016562: - if (str.equals("application/cea-708")) { - c2 = '\b'; - break; - } - c2 = 65535; - break; - case 1668750253: - if (str.equals("application/x-subrip")) { - c2 = '\t'; - break; - } - c2 = 65535; - break; - case 1693976202: - if (str.equals("application/ttml+xml")) { - c2 = '\n'; - break; - } - c2 = 65535; - break; - default: - c2 = 65535; - break; - } - switch (c2) { - case 0: - gVar = new c.i.a.c.e2.n.a(format.v); - this.C = gVar; - return; - case 1: - gVar = new c.i.a.c.e2.o.a(); - this.C = gVar; - return; - case 2: - gVar = new d(); - this.C = gVar; - return; - case 3: - gVar = new i(); - this.C = gVar; - return; - case 4: - gVar = new c.i.a.c.e2.t.a(format.v); - this.C = gVar; - return; - case 5: - gVar = new c.i.a.c.e2.q.a(format.v); - this.C = gVar; - return; - case 6: - case 7: - gVar = new c(str, format.L, 16000); - this.C = gVar; - return; - case '\b': - gVar = new c.i.a.c.e2.m.d(format.L, format.v); - this.C = gVar; - return; - case '\t': - gVar = new c.i.a.c.e2.r.a(); - this.C = gVar; - return; - case '\n': - gVar = new c.i.a.c.e2.s.c(); - this.C = gVar; - return; - } - } - throw new IllegalArgumentException(a.u("Attempted to create decoder for unsupported MIME type: ", str)); - } - - public final void N() { - this.D = null; - this.G = -1; - j jVar = this.E; - if (jVar != null) { - jVar.p(); - this.E = null; - } - j jVar2 = this.F; - if (jVar2 != null) { - jVar2.p(); - this.F = null; - } - } - - public final void O() { - N(); - g gVar = this.C; - Objects.requireNonNull(gVar); - gVar.release(); - this.C = null; - this.A = 0; - M(); - } - - @Override // c.i.a.c.l1 - public int a(Format format) { - Objects.requireNonNull((h.a) this.v); - String str = format.t; - if (!("text/vtt".equals(str) || "text/x-ssa".equals(str) || "application/ttml+xml".equals(str) || "application/x-mp4-vtt".equals(str) || "application/x-subrip".equals(str) || "application/x-quicktime-tx3g".equals(str) || "application/cea-608".equals(str) || "application/x-mp4-cea-608".equals(str) || "application/cea-708".equals(str) || "application/dvbsubs".equals(str) || "application/pgs".equals(str))) { - return s.i(format.t) ? 1 : 0; - } - return (format.M == null ? 4 : 2) | 0 | 0; - } - - @Override // c.i.a.c.k1 - public boolean b() { - return this.f872y; - } - - @Override // c.i.a.c.k1 - public boolean d() { - return true; - } - - @Override // c.i.a.c.k1, c.i.a.c.l1 - public String getName() { - return "TextRenderer"; - } - - @Override // android.os.Handler.Callback - public boolean handleMessage(Message message) { - if (message.what == 0) { - this.u.m((List) message.obj); - return true; - } - throw new IllegalStateException(); - } - - @Override // c.i.a.c.k1 - public void q(long j, long j2) { - boolean z2; - if (this.f925r) { - long j3 = this.H; - if (j3 != -9223372036854775807L && j >= j3) { - N(); - this.f872y = true; - } - } - if (!this.f872y) { - if (this.F == null) { - g gVar = this.C; - Objects.requireNonNull(gVar); - gVar.a(j); - try { - g gVar2 = this.C; - Objects.requireNonNull(gVar2); - this.F = gVar2.b(); - } catch (SubtitleDecoderException e) { - L(e); - return; - } - } - if (this.m == 2) { - if (this.E != null) { - long K = K(); - z2 = false; - while (K <= j) { - this.G++; - K = K(); - z2 = true; - } - } else { - z2 = false; - } - j jVar = this.F; - if (jVar != null) { - if (jVar.n()) { - if (!z2 && K() == RecyclerView.FOREVER_NS) { - if (this.A == 2) { - O(); - } else { - N(); - this.f872y = true; - } - } - } else if (jVar.j <= j) { - j jVar2 = this.E; - if (jVar2 != null) { - jVar2.p(); - } - f fVar = jVar.k; - Objects.requireNonNull(fVar); - this.G = fVar.f(j - jVar.l); - this.E = jVar; - this.F = null; - z2 = true; - } - } - if (z2) { - Objects.requireNonNull(this.E); - j jVar3 = this.E; - f fVar2 = jVar3.k; - Objects.requireNonNull(fVar2); - List h = fVar2.h(j - jVar3.l); - Handler handler = this.t; - if (handler != null) { - handler.obtainMessage(0, h).sendToTarget(); - } else { - this.u.m(h); - } - } - if (this.A != 2) { - while (!this.f871x) { - try { - i iVar = this.D; - if (iVar == null) { - g gVar3 = this.C; - Objects.requireNonNull(gVar3); - iVar = gVar3.c(); - if (iVar != null) { - this.D = iVar; - } else { - return; - } - } - if (this.A == 1) { - iVar.i = 4; - g gVar4 = this.C; - Objects.requireNonNull(gVar4); - gVar4.d(iVar); - this.D = null; - this.A = 2; - return; - } - int I = I(this.f870w, iVar, false); - if (I == -4) { - if (iVar.n()) { - this.f871x = true; - this.f873z = false; - } else { - Format format = this.f870w.b; - if (format != null) { - iVar.q = format.f2696x; - iVar.s(); - this.f873z &= !iVar.o(); - } else { - return; - } - } - if (!this.f873z) { - g gVar5 = this.C; - Objects.requireNonNull(gVar5); - gVar5.d(iVar); - this.D = null; - } - } else if (I == -3) { - return; - } - } catch (SubtitleDecoderException e2) { - L(e2); - return; - } - } - } - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/e2/m/a.java b/app/src/main/java/c/i/a/c/e2/m/a.java deleted file mode 100644 index 49e61a5c92..0000000000 --- a/app/src/main/java/c/i/a/c/e2/m/a.java +++ /dev/null @@ -1,13 +0,0 @@ -package c.i.a.c.e2.m; - -import c.i.a.c.e2.m.d; -import java.util.Comparator; -/* compiled from: lambda */ -public final /* synthetic */ class a implements Comparator { - public static final /* synthetic */ a i = new a(); - - @Override // java.util.Comparator - public final int compare(Object obj, Object obj2) { - return Integer.compare(((d.a) obj2).b, ((d.a) obj).b); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/m/b.java b/app/src/main/java/c/i/a/c/e2/m/b.java deleted file mode 100644 index e570d9f3b5..0000000000 --- a/app/src/main/java/c/i/a/c/e2/m/b.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.e2.m; - -import c.i.a.c.e2.m.e; -import c.i.a.c.x1.f; -import java.util.Objects; -/* compiled from: lambda */ -public final /* synthetic */ class b implements f.a { - public final /* synthetic */ e a; - - public /* synthetic */ b(e eVar) { - this.a = eVar; - } - - @Override // c.i.a.c.x1.f.a - public final void a(f fVar) { - e eVar = this.a; - e.c cVar = (e.c) fVar; - Objects.requireNonNull(eVar); - cVar.i = 0; - cVar.k = null; - eVar.b.add(cVar); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/m/c.java b/app/src/main/java/c/i/a/c/e2/m/c.java deleted file mode 100644 index 2a9860fbdd..0000000000 --- a/app/src/main/java/c/i/a/c/e2/m/c.java +++ /dev/null @@ -1,609 +0,0 @@ -package c.i.a.c.e2.m; - -import android.text.Layout; -import android.text.SpannableString; -import android.text.SpannableStringBuilder; -import android.text.style.ForegroundColorSpan; -import android.text.style.StyleSpan; -import android.text.style.UnderlineSpan; -import android.util.Log; -import androidx.annotation.Nullable; -import androidx.core.internal.view.SupportMenu; -import androidx.core.view.InputDeviceCompat; -import androidx.core.view.ViewCompat; -import androidx.recyclerview.widget.RecyclerView; -import c.i.a.c.e2.f; -import c.i.a.c.e2.i; -import c.i.a.c.e2.j; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.text.SubtitleDecoderException; -import com.google.android.material.behavior.HideBottomViewOnScrollBehavior; -import java.nio.ByteBuffer; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Objects; -/* compiled from: Cea608Decoder */ -public final class c extends e { - public static final int[] g = {11, 1, 3, 12, 14, 5, 7, 9}; - public static final int[] h = {0, 4, 8, 12, 16, 20, 24, 28}; - public static final int[] i = {-1, -16711936, -16776961, -16711681, SupportMenu.CATEGORY_MASK, InputDeviceCompat.SOURCE_ANY, -65281}; - public static final int[] j = {32, 33, 34, 35, 36, 37, 38, 39, 40, 41, HideBottomViewOnScrollBehavior.ENTER_ANIMATION_DURATION, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 233, 93, 237, 243, 250, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 231, 247, 209, 241, 9632}; - public static final int[] k = {174, 176, 189, 191, 8482, 162, 163, 9834, 224, 32, 232, 226, 234, 238, 244, 251}; - public static final int[] l = {193, 201, 211, 218, 220, 252, 8216, 161, 42, 39, 8212, 169, 8480, 8226, 8220, 8221, 192, 194, 199, 200, 202, 203, 235, 206, 207, 239, 212, 217, 249, 219, 171, 187}; - public static final int[] m = {195, 227, 205, 204, 236, 210, 242, 213, 245, 123, 125, 92, 94, 95, 124, 126, 196, 228, 214, 246, 223, 165, 164, 9474, 197, 229, 216, 248, 9484, 9488, 9492, 9496}; - public static final boolean[] n = {false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false, false, true, true, false, true, false, false, true, false, true, true, false, true, false, false, true, true, false, false, true, false, true, true, false}; - public boolean A; - public byte B; - public byte C; - public int D = 0; - public boolean E; - public long F; - public final w o = new w(); - public final int p; - public final int q; - - /* renamed from: r reason: collision with root package name */ - public final int f874r; - public final long s; - public final ArrayList
t = new ArrayList<>(); - public a u = new a(0, 4); - @Nullable - public List v; - @Nullable - - /* renamed from: w reason: collision with root package name */ - public List f875w; - - /* renamed from: x reason: collision with root package name */ - public int f876x; - - /* renamed from: y reason: collision with root package name */ - public int f877y; - - /* renamed from: z reason: collision with root package name */ - public boolean f878z; - - /* compiled from: Cea608Decoder */ - public static final class a { - public final List a = new ArrayList(); - public final List b = new ArrayList(); - - /* renamed from: c reason: collision with root package name */ - public final StringBuilder f879c = new StringBuilder(); - public int d; - public int e; - public int f; - public int g; - public int h; - - /* compiled from: Cea608Decoder */ - /* renamed from: c.i.a.c.e2.m.c$a$a reason: collision with other inner class name */ - public static class C0093a { - public final int a; - public final boolean b; - - /* renamed from: c reason: collision with root package name */ - public int f880c; - - public C0093a(int i, boolean z2, int i2) { - this.a = i; - this.b = z2; - this.f880c = i2; - } - } - - public a(int i, int i2) { - f(i); - this.h = i2; - } - - public void a(char c2) { - if (this.f879c.length() < 32) { - this.f879c.append(c2); - } - } - - public void b() { - int length = this.f879c.length(); - if (length > 0) { - this.f879c.delete(length - 1, length); - for (int size = this.a.size() - 1; size >= 0; size--) { - C0093a aVar = this.a.get(size); - int i = aVar.f880c; - if (i == length) { - aVar.f880c = i - 1; - } else { - return; - } - } - } - } - - @Nullable - public c.i.a.c.e2.c c(int i) { - float f; - int i2 = this.e + this.f; - int i3 = 32 - i2; - SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(); - for (int i4 = 0; i4 < this.b.size(); i4++) { - SpannableString spannableString = this.b.get(i4); - int i5 = f0.a; - if (spannableString.length() > i3) { - spannableString = spannableString.subSequence(0, i3); - } - spannableStringBuilder.append(spannableString); - spannableStringBuilder.append('\n'); - } - SpannableString d = d(); - int i6 = f0.a; - int length = d.length(); - CharSequence charSequence = d; - if (length > i3) { - charSequence = d.subSequence(0, i3); - } - spannableStringBuilder.append(charSequence); - if (spannableStringBuilder.length() == 0) { - return null; - } - int length2 = i3 - spannableStringBuilder.length(); - int i7 = i2 - length2; - int i8 = i != Integer.MIN_VALUE ? i : (this.g != 2 || (Math.abs(i7) >= 3 && length2 >= 0)) ? (this.g != 2 || i7 <= 0) ? 0 : 2 : 1; - if (i8 != 1) { - if (i8 == 2) { - i2 = 32 - length2; - } - f = ((((float) i2) / 32.0f) * 0.8f) + 0.1f; - } else { - f = 0.5f; - } - int i9 = this.d; - if (i9 > 7) { - i9 = (i9 - 15) - 2; - } else if (this.g == 1) { - i9 -= this.h - 1; - } - return new c.i.a.c.e2.c(spannableStringBuilder, Layout.Alignment.ALIGN_NORMAL, null, (float) i9, 1, Integer.MIN_VALUE, f, i8, Integer.MIN_VALUE, -3.4028235E38f, -3.4028235E38f, -3.4028235E38f, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null); - } - - public final SpannableString d() { - SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(this.f879c); - int length = spannableStringBuilder.length(); - int i = 0; - int i2 = -1; - int i3 = -1; - int i4 = 0; - int i5 = -1; - boolean z2 = false; - int i6 = -1; - while (i < this.a.size()) { - C0093a aVar = this.a.get(i); - boolean z3 = aVar.b; - int i7 = aVar.a; - if (i7 != 8) { - boolean z4 = i7 == 7; - if (i7 != 7) { - i6 = c.i[i7]; - } - z2 = z4; - } - int i8 = aVar.f880c; - i++; - if (i8 != (i < this.a.size() ? this.a.get(i).f880c : length)) { - if (i2 != -1 && !z3) { - spannableStringBuilder.setSpan(new UnderlineSpan(), i2, i8, 33); - i2 = -1; - } else if (i2 == -1 && z3) { - i2 = i8; - } - if (i3 != -1 && !z2) { - spannableStringBuilder.setSpan(new StyleSpan(2), i3, i8, 33); - i3 = -1; - } else if (i3 == -1 && z2) { - i3 = i8; - } - if (i6 != i5) { - if (i5 != -1) { - spannableStringBuilder.setSpan(new ForegroundColorSpan(i5), i4, i8, 33); - } - i4 = i8; - i5 = i6; - } - } - } - if (!(i2 == -1 || i2 == length)) { - spannableStringBuilder.setSpan(new UnderlineSpan(), i2, length, 33); - } - if (!(i3 == -1 || i3 == length)) { - spannableStringBuilder.setSpan(new StyleSpan(2), i3, length, 33); - } - if (!(i4 == length || i5 == -1)) { - spannableStringBuilder.setSpan(new ForegroundColorSpan(i5), i4, length, 33); - } - return new SpannableString(spannableStringBuilder); - } - - public boolean e() { - return this.a.isEmpty() && this.b.isEmpty() && this.f879c.length() == 0; - } - - public void f(int i) { - this.g = i; - this.a.clear(); - this.b.clear(); - this.f879c.setLength(0); - this.d = 15; - this.e = 0; - this.f = 0; - } - } - - public c(String str, int i2, long j2) { - this.s = j2 > 0 ? j2 * 1000 : -9223372036854775807L; - this.p = "application/x-mp4-cea-608".equals(str) ? 2 : 3; - if (i2 == 1) { - this.f874r = 0; - this.q = 0; - } else if (i2 == 2) { - this.f874r = 1; - this.q = 0; - } else if (i2 == 3) { - this.f874r = 0; - this.q = 1; - } else if (i2 != 4) { - Log.w("Cea608Decoder", "Invalid channel. Defaulting to CC1."); - this.f874r = 0; - this.q = 0; - } else { - this.f874r = 1; - this.q = 1; - } - l(0); - k(); - this.E = true; - this.F = -9223372036854775807L; - } - - @Override // c.i.a.c.e2.m.e - public f e() { - List list = this.v; - this.f875w = list; - Objects.requireNonNull(list); - return new f(list); - } - - /* JADX WARNING: Removed duplicated region for block: B:203:0x008f A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:213:0x0015 A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:24:0x0069 */ - @Override // c.i.a.c.e2.m.e - public void f(i iVar) { - boolean z2; - boolean z3; - ByteBuffer byteBuffer = iVar.k; - Objects.requireNonNull(byteBuffer); - this.o.B(byteBuffer.array(), byteBuffer.limit()); - boolean z4 = false; - while (true) { - int a2 = this.o.a(); - int i2 = this.p; - if (a2 >= i2) { - byte s = i2 == 2 ? -4 : (byte) this.o.s(); - int s2 = this.o.s(); - int s3 = this.o.s(); - if ((s & 2) == 0 && (s & 1) == this.q) { - byte b = (byte) (s2 & 127); - byte b2 = (byte) (s3 & 127); - if (b != 0 || b2 != 0) { - boolean z5 = this.f878z; - if ((s & 4) == 4) { - boolean[] zArr = n; - if (zArr[s2] && zArr[s3]) { - z2 = true; - this.f878z = z2; - if (z2) { - if ((b & 240) == 16) { - if (this.A && this.B == b && this.C == b2) { - this.A = false; - z3 = true; - if (!z3) { - } - } else { - this.A = true; - this.B = b; - this.C = b2; - z3 = false; - if (!z3) { - if (z2) { - if (1 <= b && b <= 15) { - this.E = false; - } else { - if ((b & 247) == 20) { - if (!(b2 == 32 || b2 == 47)) { - switch (b2) { - default: - switch (b2) { - case 42: - case 43: - this.E = false; - break; - } - case 37: - case 38: - case 39: - this.E = true; - break; - } - } - this.E = true; - } - } - if (this.E) { - int i3 = b & 224; - if (i3 == 0) { - this.D = (b >> 3) & 1; - } - if (this.D == this.f874r) { - if (i3 == 0) { - int i4 = b & 247; - if (i4 == 17 && (b2 & 240) == 48) { - this.u.a((char) k[b2 & 15]); - } else { - int i5 = b & 246; - if (i5 == 18 && (b2 & 224) == 32) { - this.u.b(); - this.u.a((char) ((b & 1) == 0 ? l[b2 & 31] : m[b2 & 31])); - } else { - if (i4 == 17 && (b2 & 240) == 32) { - this.u.a(' '); - boolean z6 = (b2 & 1) == 1; - a aVar = this.u; - aVar.a.add(new a.C0093a((b2 >> 1) & 7, z6, aVar.f879c.length())); - } else { - if ((b & 240) == 16 && (b2 & 192) == 64) { - int i6 = g[b & 7]; - if ((b2 & 32) != 0) { - i6++; - } - a aVar2 = this.u; - if (i6 != aVar2.d) { - if (this.f876x != 1 && !aVar2.e()) { - a aVar3 = new a(this.f876x, this.f877y); - this.u = aVar3; - this.t.add(aVar3); - } - this.u.d = i6; - } - boolean z7 = (b2 & 16) == 16; - boolean z8 = (b2 & 1) == 1; - int i7 = (b2 >> 1) & 7; - a aVar4 = this.u; - aVar4.a.add(new a.C0093a(z7 ? 8 : i7, z8, aVar4.f879c.length())); - if (z7) { - this.u.e = h[i7]; - } - } else { - if (i4 == 23 && b2 >= 33 && b2 <= 35) { - this.u.f = b2 - 32; - } else { - if (i5 == 20 && (b2 & 240) == 32) { - if (b2 == 32) { - l(2); - } else if (b2 != 41) { - switch (b2) { - case 37: - l(1); - m(2); - break; - case 38: - l(1); - m(3); - break; - case 39: - l(1); - m(4); - break; - default: - int i8 = this.f876x; - if (i8 != 0) { - if (b2 == 33) { - this.u.b(); - break; - } else { - switch (b2) { - case 44: - this.v = Collections.emptyList(); - int i9 = this.f876x; - if (i9 == 1 || i9 == 3) { - k(); - break; - } - case 45: - if (i8 == 1 && !this.u.e()) { - a aVar5 = this.u; - aVar5.b.add(aVar5.d()); - aVar5.f879c.setLength(0); - aVar5.a.clear(); - int min = Math.min(aVar5.h, aVar5.d); - while (aVar5.b.size() >= min) { - aVar5.b.remove(0); - } - break; - } - case 46: - k(); - break; - case 47: - this.v = j(); - k(); - break; - } - } - } - break; - } - } else { - l(3); - } - } - } - } - } - } - } - } else { - a aVar6 = this.u; - int[] iArr = j; - aVar6.a((char) iArr[(b & Byte.MAX_VALUE) - 32]); - if ((b2 & 224) != 0) { - this.u.a((char) iArr[(b2 & Byte.MAX_VALUE) - 32]); - } - } - } - } - } else if (z5) { - k(); - } - z4 = true; - } - } - } - } - this.A = false; - z3 = false; - if (!z3) { - } - } - } - z2 = false; - this.f878z = z2; - if (z2) { - } - this.A = false; - z3 = false; - if (!z3) { - } - } - } - } else if (z4) { - int i10 = this.f876x; - if (i10 == 1 || i10 == 3) { - this.v = j(); - this.F = this.e; - return; - } - return; - } else { - return; - } - } - } - - @Override // c.i.a.c.e2.m.e, c.i.a.c.x1.c - public void flush() { - super.flush(); - this.v = null; - this.f875w = null; - l(0); - m(4); - k(); - this.f878z = false; - this.A = false; - this.B = 0; - this.C = 0; - this.D = 0; - this.E = true; - this.F = -9223372036854775807L; - } - - @Override // c.i.a.c.e2.m.e - @Nullable - /* renamed from: g */ - public j b() throws SubtitleDecoderException { - j pollFirst; - j g2 = super.b(); - if (g2 != null) { - return g2; - } - long j2 = this.s; - boolean z2 = false; - if (j2 != -9223372036854775807L) { - long j3 = this.F; - if (j3 != -9223372036854775807L && this.e - j3 >= j2) { - z2 = true; - } - } - if (!z2 || (pollFirst = this.b.pollFirst()) == null) { - return null; - } - List emptyList = Collections.emptyList(); - this.v = emptyList; - this.F = -9223372036854775807L; - this.f875w = emptyList; - Objects.requireNonNull(emptyList); - pollFirst.r(this.e, new f(emptyList), RecyclerView.FOREVER_NS); - return pollFirst; - } - - @Override // c.i.a.c.e2.m.e - public boolean h() { - return this.v != this.f875w; - } - - public final List j() { - int size = this.t.size(); - ArrayList arrayList = new ArrayList(size); - int i2 = 2; - for (int i3 = 0; i3 < size; i3++) { - c.i.a.c.e2.c c2 = this.t.get(i3).c(Integer.MIN_VALUE); - arrayList.add(c2); - if (c2 != null) { - i2 = Math.min(i2, c2.i); - } - } - ArrayList arrayList2 = new ArrayList(size); - for (int i4 = 0; i4 < size; i4++) { - c.i.a.c.e2.c cVar = (c.i.a.c.e2.c) arrayList.get(i4); - if (cVar != null) { - if (cVar.i != i2) { - cVar = this.t.get(i4).c(i2); - Objects.requireNonNull(cVar); - } - arrayList2.add(cVar); - } - } - return arrayList2; - } - - public final void k() { - this.u.f(this.f876x); - this.t.clear(); - this.t.add(this.u); - } - - public final void l(int i2) { - int i3 = this.f876x; - if (i3 != i2) { - this.f876x = i2; - if (i2 == 3) { - for (int i4 = 0; i4 < this.t.size(); i4++) { - this.t.get(i4).g = i2; - } - return; - } - k(); - if (i3 == 3 || i2 == 1 || i2 == 0) { - this.v = Collections.emptyList(); - } - } - } - - public final void m(int i2) { - this.f877y = i2; - this.u.h = i2; - } - - @Override // c.i.a.c.e2.m.e, c.i.a.c.x1.c - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/e2/m/d.java b/app/src/main/java/c/i/a/c/e2/m/d.java deleted file mode 100644 index 4f83eec501..0000000000 --- a/app/src/main/java/c/i/a/c/e2/m/d.java +++ /dev/null @@ -1,882 +0,0 @@ -package c.i.a.c.e2.m; - -import android.graphics.Color; -import android.text.Layout; -import android.text.SpannableString; -import android.text.SpannableStringBuilder; -import android.text.style.BackgroundColorSpan; -import android.text.style.ForegroundColorSpan; -import android.text.style.StyleSpan; -import android.text.style.UnderlineSpan; -import android.util.Log; -import androidx.annotation.Nullable; -import androidx.core.view.ViewCompat; -import c.i.a.c.e2.f; -import c.i.a.c.e2.i; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -import com.discord.utilities.font.FontUtils; -import java.nio.ByteBuffer; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Objects; -/* compiled from: Cea708Decoder */ -public final class d extends e { - public final w g = new w(); - public final v h = new v(); - public int i = -1; - public final int j; - public final b[] k; - public b l; - @Nullable - public List m; - @Nullable - public List n; - @Nullable - public c o; - public int p; - - /* compiled from: Cea708Decoder */ - public static final class a { - public final c.i.a.c.e2.c a; - public final int b; - - public a(CharSequence charSequence, Layout.Alignment alignment, float f, int i, int i2, float f2, int i3, float f3, boolean z2, int i4, int i5) { - int i6; - boolean z3; - if (z2) { - i6 = i4; - z3 = true; - } else { - z3 = false; - i6 = ViewCompat.MEASURED_STATE_MASK; - } - this.a = new c.i.a.c.e2.c(charSequence, alignment, null, f, i, i2, f2, i3, Integer.MIN_VALUE, -3.4028235E38f, f3, -3.4028235E38f, z3, i6, Integer.MIN_VALUE, 0.0f, null); - this.b = i5; - } - } - - /* compiled from: Cea708Decoder */ - public static final class b { - public static final int a = d(2, 2, 2, 0); - public static final int b; - - /* renamed from: c reason: collision with root package name */ - public static final int f881c; - public static final int[] d = {0, 0, 0, 0, 0, 2, 0}; - public static final int[] e = {0, 0, 0, 0, 0, 0, 2}; - public static final int[] f = {3, 3, 3, 3, 3, 3, 1}; - public static final boolean[] g = {false, false, false, true, true, true, false}; - public static final int[] h; - public static final int[] i = {0, 1, 2, 3, 4, 3, 4}; - public static final int[] j = {0, 0, 0, 0, 0, 3, 3}; - public static final int[] k; - public int A; - public int B; - public int C; - public int D; - public int E; - public int F; - public int G; - public final List l = new ArrayList(); - public final SpannableStringBuilder m = new SpannableStringBuilder(); - public boolean n; - public boolean o; - public int p; - public boolean q; - - /* renamed from: r reason: collision with root package name */ - public int f882r; - public int s; - public int t; - public int u; - public boolean v; - - /* renamed from: w reason: collision with root package name */ - public int f883w; - - /* renamed from: x reason: collision with root package name */ - public int f884x; - - /* renamed from: y reason: collision with root package name */ - public int f885y; - - /* renamed from: z reason: collision with root package name */ - public int f886z; - - static { - int d2 = d(0, 0, 0, 0); - b = d2; - int d3 = d(0, 0, 0, 3); - f881c = d3; - h = new int[]{d2, d3, d2, d2, d3, d2, d2}; - k = new int[]{d2, d2, d2, d2, d2, d3, d3}; - } - - public b() { - f(); - } - - /* JADX WARNING: Removed duplicated region for block: B:11:0x0025 */ - /* JADX WARNING: Removed duplicated region for block: B:12:0x0028 */ - /* JADX WARNING: Removed duplicated region for block: B:14:0x002b */ - /* JADX WARNING: Removed duplicated region for block: B:15:0x002e */ - /* JADX WARNING: Removed duplicated region for block: B:17:0x0031 */ - public static int d(int i2, int i3, int i4, int i5) { - int i6; - int i7 = 0; - c.c.a.a0.d.t(i2, 0, 4); - c.c.a.a0.d.t(i3, 0, 4); - c.c.a.a0.d.t(i4, 0, 4); - c.c.a.a0.d.t(i5, 0, 4); - if (!(i5 == 0 || i5 == 1)) { - if (i5 == 2) { - i6 = 127; - } else if (i5 == 3) { - i6 = 0; - } - int i8 = i2 <= 1 ? 255 : 0; - int i9 = i3 <= 1 ? 255 : 0; - if (i4 > 1) { - i7 = 255; - } - return Color.argb(i6, i8, i9, i7); - } - i6 = 255; - if (i2 <= 1) { - } - if (i3 <= 1) { - } - if (i4 > 1) { - } - return Color.argb(i6, i8, i9, i7); - } - - public void a(char c2) { - if (c2 == '\n') { - this.l.add(b()); - this.m.clear(); - if (this.A != -1) { - this.A = 0; - } - if (this.B != -1) { - this.B = 0; - } - if (this.C != -1) { - this.C = 0; - } - if (this.E != -1) { - this.E = 0; - } - while (true) { - if ((this.v && this.l.size() >= this.u) || this.l.size() >= 15) { - this.l.remove(0); - } else { - return; - } - } - } else { - this.m.append(c2); - } - } - - public SpannableString b() { - SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(this.m); - int length = spannableStringBuilder.length(); - if (length > 0) { - if (this.A != -1) { - spannableStringBuilder.setSpan(new StyleSpan(2), this.A, length, 33); - } - if (this.B != -1) { - spannableStringBuilder.setSpan(new UnderlineSpan(), this.B, length, 33); - } - if (this.C != -1) { - spannableStringBuilder.setSpan(new ForegroundColorSpan(this.D), this.C, length, 33); - } - if (this.E != -1) { - spannableStringBuilder.setSpan(new BackgroundColorSpan(this.F), this.E, length, 33); - } - } - return new SpannableString(spannableStringBuilder); - } - - public void c() { - this.l.clear(); - this.m.clear(); - this.A = -1; - this.B = -1; - this.C = -1; - this.E = -1; - this.G = 0; - } - - public boolean e() { - return !this.n || (this.l.isEmpty() && this.m.length() == 0); - } - - public void f() { - c(); - this.n = false; - this.o = false; - this.p = 4; - this.q = false; - this.f882r = 0; - this.s = 0; - this.t = 0; - this.u = 15; - this.v = true; - this.f883w = 0; - this.f884x = 0; - this.f885y = 0; - int i2 = b; - this.f886z = i2; - this.D = a; - this.F = i2; - } - - public void g(boolean z2, boolean z3) { - if (this.A != -1) { - if (!z2) { - this.m.setSpan(new StyleSpan(2), this.A, this.m.length(), 33); - this.A = -1; - } - } else if (z2) { - this.A = this.m.length(); - } - if (this.B != -1) { - if (!z3) { - this.m.setSpan(new UnderlineSpan(), this.B, this.m.length(), 33); - this.B = -1; - } - } else if (z3) { - this.B = this.m.length(); - } - } - - public void h(int i2, int i3) { - if (!(this.C == -1 || this.D == i2)) { - this.m.setSpan(new ForegroundColorSpan(this.D), this.C, this.m.length(), 33); - } - if (i2 != a) { - this.C = this.m.length(); - this.D = i2; - } - if (!(this.E == -1 || this.F == i3)) { - this.m.setSpan(new BackgroundColorSpan(this.F), this.E, this.m.length(), 33); - } - if (i3 != b) { - this.E = this.m.length(); - this.F = i3; - } - } - } - - /* compiled from: Cea708Decoder */ - public static final class c { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final byte[] f887c; - public int d = 0; - - public c(int i, int i2) { - this.a = i; - this.b = i2; - this.f887c = new byte[((i2 * 2) - 1)]; - } - } - - public d(int i, @Nullable List list) { - this.j = i == -1 ? 1 : i; - if (!(list == null || (list.size() == 1 && list.get(0).length == 1 && list.get(0)[0] == 1))) { - } - this.k = new b[8]; - for (int i2 = 0; i2 < 8; i2++) { - this.k[i2] = new b(); - } - this.l = this.k[0]; - } - - @Override // c.i.a.c.e2.m.e - public f e() { - List list = this.m; - this.n = list; - Objects.requireNonNull(list); - return new f(list); - } - - @Override // c.i.a.c.e2.m.e - public void f(i iVar) { - ByteBuffer byteBuffer = iVar.k; - Objects.requireNonNull(byteBuffer); - this.g.B(byteBuffer.array(), byteBuffer.limit()); - while (this.g.a() >= 3) { - int s = this.g.s() & 7; - int i = s & 3; - boolean z2 = false; - boolean z3 = (s & 4) == 4; - byte s2 = (byte) this.g.s(); - byte s3 = (byte) this.g.s(); - if (i == 2 || i == 3) { - if (z3) { - if (i == 3) { - j(); - int i2 = (s2 & 192) >> 6; - int i3 = this.i; - if (!(i3 == -1 || i2 == (i3 + 1) % 4)) { - l(); - Log.w("Cea708Decoder", "Sequence number discontinuity. previous=" + this.i + " current=" + i2); - } - this.i = i2; - int i4 = s2 & 63; - if (i4 == 0) { - i4 = 64; - } - c cVar = new c(i2, i4); - this.o = cVar; - byte[] bArr = cVar.f887c; - int i5 = cVar.d; - cVar.d = i5 + 1; - bArr[i5] = s3; - } else { - if (i == 2) { - z2 = true; - } - c.c.a.a0.d.k(z2); - c cVar2 = this.o; - if (cVar2 == null) { - Log.e("Cea708Decoder", "Encountered DTVCC_PACKET_DATA before DTVCC_PACKET_START"); - } else { - byte[] bArr2 = cVar2.f887c; - int i6 = cVar2.d; - int i7 = i6 + 1; - cVar2.d = i7; - bArr2[i6] = s2; - cVar2.d = i7 + 1; - bArr2[i7] = s3; - } - } - c cVar3 = this.o; - if (cVar3.d == (cVar3.b * 2) - 1) { - j(); - } - } - } - } - } - - @Override // c.i.a.c.e2.m.e, c.i.a.c.x1.c - public void flush() { - super.flush(); - this.m = null; - this.n = null; - this.p = 0; - this.l = this.k[0]; - l(); - this.o = null; - } - - @Override // c.i.a.c.e2.m.e - public boolean h() { - return this.m != this.n; - } - - public final void j() { - c cVar = this.o; - if (cVar != null) { - if (cVar.d != (cVar.b * 2) - 1) { - StringBuilder O = c.d.b.a.a.O("DtvCcPacket ended prematurely; size is "); - O.append((this.o.b * 2) - 1); - O.append(", but current index is "); - O.append(this.o.d); - O.append(" (sequence number "); - O.append(this.o.a); - O.append(");"); - Log.d("Cea708Decoder", O.toString()); - } - v vVar = this.h; - c cVar2 = this.o; - vVar.j(cVar2.f887c, cVar2.d); - int i = 3; - int g = this.h.g(3); - int g2 = this.h.g(5); - int i2 = 7; - int i3 = 6; - if (g == 7) { - this.h.m(2); - g = this.h.g(6); - if (g < 7) { - c.d.b.a.a.i0("Invalid extended service number: ", g, "Cea708Decoder"); - } - } - if (g2 == 0) { - if (g != 0) { - Log.w("Cea708Decoder", "serviceNumber is non-zero (" + g + ") when blockSize is 0"); - } - } else if (g == this.j) { - boolean z2 = false; - while (this.h.b() > 0) { - int g3 = this.h.g(8); - if (g3 != 16) { - if (g3 <= 31) { - if (g3 != 0) { - if (g3 == i) { - this.m = k(); - } else if (g3 != 8) { - switch (g3) { - case 12: - l(); - continue; - case 13: - this.l.a('\n'); - continue; - case 14: - break; - default: - if (g3 < 17 || g3 > 23) { - if (g3 < 24 || g3 > 31) { - c.d.b.a.a.i0("Invalid C0 command: ", g3, "Cea708Decoder"); - break; - } else { - c.d.b.a.a.i0("Currently unsupported COMMAND_P16 Command: ", g3, "Cea708Decoder"); - this.h.m(16); - break; - } - } else { - c.d.b.a.a.i0("Currently unsupported COMMAND_EXT1 Command: ", g3, "Cea708Decoder"); - this.h.m(8); - continue; - } - } - } else { - b bVar = this.l; - int length = bVar.m.length(); - if (length > 0) { - bVar.m.delete(length - 1, length); - } - } - } - } else if (g3 <= 127) { - if (g3 == 127) { - this.l.a(9835); - } else { - this.l.a((char) (g3 & 255)); - } - } else if (g3 <= 159) { - switch (g3) { - case 128: - case 129: - case 130: - case 131: - case 132: - case 133: - case 134: - case 135: - int i4 = g3 - 128; - if (this.p != i4) { - this.p = i4; - this.l = this.k[i4]; - break; - } - break; - case 136: - for (int i5 = 1; i5 <= 8; i5++) { - if (this.h.f()) { - this.k[8 - i5].c(); - } - } - break; - case 137: - for (int i6 = 1; i6 <= 8; i6++) { - if (this.h.f()) { - this.k[8 - i6].o = true; - } - } - break; - case 138: - for (int i7 = 1; i7 <= 8; i7++) { - if (this.h.f()) { - this.k[8 - i7].o = false; - } - } - break; - case 139: - for (int i8 = 1; i8 <= 8; i8++) { - if (this.h.f()) { - b bVar2 = this.k[8 - i8]; - bVar2.o = !bVar2.o; - } - } - break; - case 140: - for (int i9 = 1; i9 <= 8; i9++) { - if (this.h.f()) { - this.k[8 - i9].f(); - } - } - break; - case 141: - this.h.m(8); - break; - case 142: - break; - case 143: - l(); - break; - case 144: - if (!this.l.n) { - this.h.m(16); - break; - } else { - this.h.g(4); - this.h.g(2); - this.h.g(2); - boolean f = this.h.f(); - boolean f2 = this.h.f(); - this.h.g(3); - this.h.g(3); - this.l.g(f, f2); - break; - } - case 145: - if (!this.l.n) { - this.h.m(24); - break; - } else { - int d = b.d(this.h.g(2), this.h.g(2), this.h.g(2), this.h.g(2)); - int d2 = b.d(this.h.g(2), this.h.g(2), this.h.g(2), this.h.g(2)); - this.h.m(2); - b.d(this.h.g(2), this.h.g(2), this.h.g(2), 0); - this.l.h(d, d2); - break; - } - case 146: - if (!this.l.n) { - this.h.m(16); - break; - } else { - this.h.m(4); - int g4 = this.h.g(4); - this.h.m(2); - this.h.g(6); - b bVar3 = this.l; - if (bVar3.G != g4) { - bVar3.a('\n'); - } - bVar3.G = g4; - break; - } - case 147: - case 148: - case 149: - case FontUtils.MAX_FONT_SCALING /* 150 */: - default: - Log.w("Cea708Decoder", c.d.b.a.a.l("Invalid C1 command: ", g3)); - break; - case 151: - if (!this.l.n) { - this.h.m(32); - break; - } else { - int d3 = b.d(this.h.g(2), this.h.g(2), this.h.g(2), this.h.g(2)); - this.h.g(2); - b.d(this.h.g(2), this.h.g(2), this.h.g(2), 0); - this.h.f(); - this.h.f(); - this.h.g(2); - this.h.g(2); - int g5 = this.h.g(2); - this.h.m(8); - b bVar4 = this.l; - bVar4.f886z = d3; - bVar4.f883w = g5; - break; - } - case 152: - case 153: - case 154: - case 155: - case 156: - case 157: - case 158: - case 159: - int i10 = g3 - 152; - b bVar5 = this.k[i10]; - this.h.m(2); - boolean f3 = this.h.f(); - boolean f4 = this.h.f(); - this.h.f(); - int g6 = this.h.g(i); - boolean f5 = this.h.f(); - int g7 = this.h.g(i2); - int g8 = this.h.g(8); - int g9 = this.h.g(4); - int g10 = this.h.g(4); - this.h.m(2); - this.h.g(i3); - this.h.m(2); - int g11 = this.h.g(i); - int g12 = this.h.g(i); - bVar5.n = true; - bVar5.o = f3; - bVar5.v = f4; - bVar5.p = g6; - bVar5.q = f5; - bVar5.f882r = g7; - bVar5.s = g8; - bVar5.t = g9; - int i11 = g10 + 1; - if (bVar5.u != i11) { - bVar5.u = i11; - while (true) { - if ((f4 && bVar5.l.size() >= bVar5.u) || bVar5.l.size() >= 15) { - bVar5.l.remove(0); - } - } - } - if (!(g11 == 0 || bVar5.f884x == g11)) { - bVar5.f884x = g11; - int i12 = g11 - 1; - int i13 = b.h[i12]; - boolean z3 = b.g[i12]; - int i14 = b.e[i12]; - int i15 = b.f[i12]; - int i16 = b.d[i12]; - bVar5.f886z = i13; - bVar5.f883w = i16; - } - if (!(g12 == 0 || bVar5.f885y == g12)) { - bVar5.f885y = g12; - int i17 = g12 - 1; - int i18 = b.j[i17]; - int i19 = b.i[i17]; - bVar5.g(false, false); - bVar5.h(b.a, b.k[i17]); - } - if (this.p != i10) { - this.p = i10; - this.l = this.k[i10]; - break; - } - break; - } - } else if (g3 <= 255) { - this.l.a((char) (g3 & 255)); - } else { - c.d.b.a.a.i0("Invalid base command: ", g3, "Cea708Decoder"); - } - i = 3; - i2 = 7; - i3 = 6; - } else { - int g13 = this.h.g(8); - if (g13 <= 31) { - if (g13 > 7) { - if (g13 <= 15) { - this.h.m(8); - } else if (g13 <= 23) { - this.h.m(16); - } else if (g13 <= 31) { - this.h.m(24); - } - } - } else if (g13 <= 127) { - if (g13 == 32) { - this.l.a(' '); - } else if (g13 == 33) { - this.l.a(160); - } else if (g13 == 37) { - this.l.a(8230); - } else if (g13 == 42) { - this.l.a(352); - } else if (g13 == 44) { - this.l.a(338); - } else if (g13 == 63) { - this.l.a(376); - } else if (g13 == 57) { - this.l.a(8482); - } else if (g13 == 58) { - this.l.a(353); - } else if (g13 == 60) { - this.l.a(339); - } else if (g13 != 61) { - switch (g13) { - case 48: - this.l.a(9608); - break; - case 49: - this.l.a(8216); - break; - case 50: - this.l.a(8217); - break; - case 51: - this.l.a(8220); - break; - case 52: - this.l.a(8221); - break; - case 53: - this.l.a(8226); - break; - default: - switch (g13) { - case 118: - this.l.a(8539); - break; - case 119: - this.l.a(8540); - break; - case 120: - this.l.a(8541); - break; - case 121: - this.l.a(8542); - break; - case 122: - this.l.a(9474); - break; - case 123: - this.l.a(9488); - break; - case 124: - this.l.a(9492); - break; - case 125: - this.l.a(9472); - break; - case 126: - this.l.a(9496); - break; - case 127: - this.l.a(9484); - break; - default: - c.d.b.a.a.i0("Invalid G2 character: ", g13, "Cea708Decoder"); - break; - } - } - } else { - this.l.a(8480); - } - } else if (g13 <= 159) { - if (g13 <= 135) { - this.h.m(32); - } else if (g13 <= 143) { - this.h.m(40); - } else if (g13 <= 159) { - this.h.m(2); - this.h.m(this.h.g(6) * 8); - } - } else if (g13 > 255) { - c.d.b.a.a.i0("Invalid extended command: ", g13, "Cea708Decoder"); - } else if (g13 == 160) { - this.l.a(13252); - } else { - c.d.b.a.a.i0("Invalid G3 character: ", g13, "Cea708Decoder"); - this.l.a('_'); - } - i = 3; - i2 = 7; - i3 = 6; - } - z2 = true; - i = 3; - i2 = 7; - i3 = 6; - } - if (z2) { - this.m = k(); - } - } - this.o = null; - } - } - - /* JADX WARNING: Removed duplicated region for block: B:27:0x0082 */ - /* JADX WARNING: Removed duplicated region for block: B:28:0x008d */ - /* JADX WARNING: Removed duplicated region for block: B:31:0x00ae */ - /* JADX WARNING: Removed duplicated region for block: B:32:0x00b0 */ - /* JADX WARNING: Removed duplicated region for block: B:37:0x00b9 */ - /* JADX WARNING: Removed duplicated region for block: B:38:0x00bc */ - /* JADX WARNING: Removed duplicated region for block: B:43:0x00c9 */ - /* JADX WARNING: Removed duplicated region for block: B:44:0x00cc */ - public final List k() { - a aVar; - Layout.Alignment alignment; - float f; - float f2; - ArrayList arrayList = new ArrayList(); - for (int i = 0; i < 8; i++) { - if (!this.k[i].e()) { - b[] bVarArr = this.k; - if (bVarArr[i].o) { - b bVar = bVarArr[i]; - if (bVar.e()) { - aVar = null; - } else { - SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(); - for (int i2 = 0; i2 < bVar.l.size(); i2++) { - spannableStringBuilder.append((CharSequence) bVar.l.get(i2)); - spannableStringBuilder.append('\n'); - } - spannableStringBuilder.append((CharSequence) bVar.b()); - int i3 = bVar.f883w; - if (i3 != 0) { - if (i3 == 1) { - alignment = Layout.Alignment.ALIGN_OPPOSITE; - } else if (i3 == 2) { - alignment = Layout.Alignment.ALIGN_CENTER; - } else if (i3 != 3) { - StringBuilder O = c.d.b.a.a.O("Unexpected justification value: "); - O.append(bVar.f883w); - throw new IllegalArgumentException(O.toString()); - } - if (!bVar.q) { - f2 = ((float) bVar.s) / 99.0f; - f = ((float) bVar.f882r) / 99.0f; - } else { - f2 = ((float) bVar.s) / 209.0f; - f = ((float) bVar.f882r) / 74.0f; - } - float f3 = (f2 * 0.9f) + 0.05f; - float f4 = (f * 0.9f) + 0.05f; - int i4 = bVar.t; - int i5 = i4 / 3; - int i6 = i4 % 3; - aVar = new a(spannableStringBuilder, alignment, f4, 0, i5 != 0 ? 0 : i5 == 1 ? 1 : 2, f3, i6 != 0 ? 0 : i6 == 1 ? 1 : 2, -3.4028235E38f, bVar.f886z == b.b, bVar.f886z, bVar.p); - } - alignment = Layout.Alignment.ALIGN_NORMAL; - if (!bVar.q) { - } - float f3 = (f2 * 0.9f) + 0.05f; - float f4 = (f * 0.9f) + 0.05f; - int i4 = bVar.t; - int i5 = i4 / 3; - int i6 = i4 % 3; - aVar = new a(spannableStringBuilder, alignment, f4, 0, i5 != 0 ? 0 : i5 == 1 ? 1 : 2, f3, i6 != 0 ? 0 : i6 == 1 ? 1 : 2, -3.4028235E38f, bVar.f886z == b.b, bVar.f886z, bVar.p); - } - if (aVar != null) { - arrayList.add(aVar); - } - } else { - continue; - } - } - } - Collections.sort(arrayList, a.i); - ArrayList arrayList2 = new ArrayList(arrayList.size()); - for (int i7 = 0; i7 < arrayList.size(); i7++) { - arrayList2.add(((a) arrayList.get(i7)).a); - } - return Collections.unmodifiableList(arrayList2); - } - - public final void l() { - for (int i = 0; i < 8; i++) { - this.k[i].f(); - } - } -} diff --git a/app/src/main/java/c/i/a/c/e2/m/e.java b/app/src/main/java/c/i/a/c/e2/m/e.java deleted file mode 100644 index e6aaf9900a..0000000000 --- a/app/src/main/java/c/i/a/c/e2/m/e.java +++ /dev/null @@ -1,181 +0,0 @@ -package c.i.a.c.e2.m; - -import androidx.annotation.Nullable; -import androidx.recyclerview.widget.RecyclerView; -import c.c.a.a0.d; -import c.i.a.c.e2.g; -import c.i.a.c.e2.i; -import c.i.a.c.e2.j; -import c.i.a.c.i2.f0; -import c.i.a.c.x1.f; -import com.google.android.exoplayer2.decoder.DecoderException; -import com.google.android.exoplayer2.text.SubtitleDecoderException; -import java.util.ArrayDeque; -import java.util.PriorityQueue; -/* compiled from: CeaDecoder */ -public abstract class e implements g { - public final ArrayDeque a = new ArrayDeque<>(); - public final ArrayDeque b; - - /* renamed from: c reason: collision with root package name */ - public final PriorityQueue f888c; - @Nullable - public b d; - public long e; - public long f; - - /* compiled from: CeaDecoder */ - public static final class b extends i implements Comparable { - - /* renamed from: r reason: collision with root package name */ - public long f889r; - - public b() { - } - - public b(a aVar) { - } - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // java.lang.Comparable - public int compareTo(b bVar) { - b bVar2 = bVar; - if (n() == bVar2.n()) { - long j = this.m - bVar2.m; - if (j == 0) { - j = this.f889r - bVar2.f889r; - if (j == 0) { - return 0; - } - } - if (j > 0) { - return 1; - } - } else if (n()) { - return 1; - } - return -1; - } - } - - /* compiled from: CeaDecoder */ - public static final class c extends j { - public f.a m; - - public c(f.a aVar) { - this.m = aVar; - } - - @Override // c.i.a.c.x1.f - public final void p() { - this.m.a(this); - } - } - - public e() { - for (int i = 0; i < 10; i++) { - this.a.add(new b(null)); - } - this.b = new ArrayDeque<>(); - for (int i2 = 0; i2 < 2; i2++) { - this.b.add(new c(new b(this))); - } - this.f888c = new PriorityQueue<>(); - } - - @Override // c.i.a.c.e2.g - public void a(long j) { - this.e = j; - } - - /* Return type fixed from 'java.lang.Object' to match base method */ - @Override // c.i.a.c.x1.c - @Nullable - public i c() throws DecoderException { - d.D(this.d == null); - if (this.a.isEmpty()) { - return null; - } - b pollFirst = this.a.pollFirst(); - this.d = pollFirst; - return pollFirst; - } - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // c.i.a.c.x1.c - public void d(i iVar) throws DecoderException { - i iVar2 = iVar; - d.k(iVar2 == this.d); - b bVar = (b) iVar2; - if (bVar.m()) { - i(bVar); - } else { - long j = this.f; - this.f = 1 + j; - bVar.f889r = j; - this.f888c.add(bVar); - } - this.d = null; - } - - public abstract c.i.a.c.e2.f e(); - - public abstract void f(i iVar); - - @Override // c.i.a.c.x1.c - public void flush() { - this.f = 0; - this.e = 0; - while (!this.f888c.isEmpty()) { - int i = f0.a; - i(this.f888c.poll()); - } - b bVar = this.d; - if (bVar != null) { - i(bVar); - this.d = null; - } - } - - @Nullable - /* renamed from: g */ - public j b() throws SubtitleDecoderException { - if (this.b.isEmpty()) { - return null; - } - while (!this.f888c.isEmpty()) { - int i = f0.a; - if (this.f888c.peek().m > this.e) { - break; - } - b poll = this.f888c.poll(); - if (poll.n()) { - j pollFirst = this.b.pollFirst(); - pollFirst.j(4); - i(poll); - return pollFirst; - } - f(poll); - if (h()) { - c.i.a.c.e2.f e = e(); - j pollFirst2 = this.b.pollFirst(); - pollFirst2.r(poll.m, e, RecyclerView.FOREVER_NS); - i(poll); - return pollFirst2; - } - i(poll); - } - return null; - } - - public abstract boolean h(); - - public final void i(b bVar) { - bVar.p(); - this.a.add(bVar); - } - - @Override // c.i.a.c.x1.c - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/e2/m/f.java b/app/src/main/java/c/i/a/c/e2/m/f.java deleted file mode 100644 index b2a1dd0324..0000000000 --- a/app/src/main/java/c/i/a/c/e2/m/f.java +++ /dev/null @@ -1,35 +0,0 @@ -package c.i.a.c.e2.m; - -import c.c.a.a0.d; -import c.i.a.c.e2.c; -import java.util.Collections; -import java.util.List; -/* compiled from: CeaSubtitle */ -public final class f implements c.i.a.c.e2.f { - public final List i; - - public f(List list) { - this.i = list; - } - - @Override // c.i.a.c.e2.f - public int f(long j) { - return j < 0 ? 0 : -1; - } - - @Override // c.i.a.c.e2.f - public long g(int i) { - d.k(i == 0); - return 0; - } - - @Override // c.i.a.c.e2.f - public List h(long j) { - return j >= 0 ? this.i : Collections.emptyList(); - } - - @Override // c.i.a.c.e2.f - public int i() { - return 1; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/n/a.java b/app/src/main/java/c/i/a/c/e2/n/a.java deleted file mode 100644 index 6808d7b473..0000000000 --- a/app/src/main/java/c/i/a/c/e2/n/a.java +++ /dev/null @@ -1,290 +0,0 @@ -package c.i.a.c.e2.n; - -import android.graphics.Bitmap; -import android.graphics.Canvas; -import android.graphics.Paint; -import android.graphics.PorterDuff; -import android.util.Log; -import android.util.SparseArray; -import androidx.core.view.ViewCompat; -import c.i.a.c.e2.c; -import c.i.a.c.e2.d; -import c.i.a.c.e2.f; -import c.i.a.c.e2.n.b; -import c.i.a.c.i2.v; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Objects; -/* compiled from: DvbDecoder */ -public final class a extends d { - public final b n; - - public a(List list) { - super("DvbDecoder"); - byte[] bArr = list.get(0); - int length = bArr.length; - int i = 0 + 1; - int i2 = i + 1; - this.n = new b(((bArr[0] & 255) << 8) | (bArr[i] & 255), (bArr[i2 + 1] & 255) | ((bArr[i2] & 255) << 8)); - } - - @Override // c.i.a.c.e2.d - public f j(byte[] bArr, int i, boolean z2) { - c cVar; - c cVar2; - List list; - int i2; - c cVar3; - SparseArray sparseArray; - SparseArray sparseArray2; - b.f fVar; - int i3; - int i4; - int i5; - int i6; - int i7; - int i8; - if (z2) { - b.h hVar = this.n.i; - hVar.f896c.clear(); - hVar.d.clear(); - hVar.e.clear(); - hVar.f.clear(); - hVar.g.clear(); - hVar.h = null; - hVar.i = null; - } - b bVar = this.n; - Objects.requireNonNull(bVar); - v vVar = new v(bArr, i); - while (vVar.b() >= 48 && vVar.g(8) == 15) { - b.h hVar2 = bVar.i; - int g = vVar.g(8); - int i9 = 16; - int g2 = vVar.g(16); - int g3 = vVar.g(16); - int d = vVar.d() + g3; - if (g3 * 8 > vVar.b()) { - Log.w("DvbParser", "Data field length exceeds limit"); - vVar.m(vVar.b()); - } else { - switch (g) { - case 16: - if (g2 == hVar2.a) { - b.d dVar = hVar2.i; - int i10 = 8; - int g4 = vVar.g(8); - int g5 = vVar.g(4); - int g6 = vVar.g(2); - vVar.m(2); - int i11 = g3 - 2; - SparseArray sparseArray3 = new SparseArray(); - while (i11 > 0) { - int g7 = vVar.g(i10); - vVar.m(i10); - i11 -= 6; - sparseArray3.put(g7, new b.e(vVar.g(16), vVar.g(16))); - i10 = 8; - } - b.d dVar2 = new b.d(g4, g5, g6, sparseArray3); - if (g6 == 0) { - if (!(dVar == null || dVar.a == g5)) { - hVar2.i = dVar2; - break; - } - } else { - hVar2.i = dVar2; - hVar2.f896c.clear(); - hVar2.d.clear(); - hVar2.e.clear(); - break; - } - } - break; - case 17: - b.d dVar3 = hVar2.i; - if (g2 == hVar2.a && dVar3 != null) { - int g8 = vVar.g(8); - vVar.m(4); - boolean f = vVar.f(); - vVar.m(3); - int g9 = vVar.g(16); - int g10 = vVar.g(16); - int g11 = vVar.g(3); - int g12 = vVar.g(3); - vVar.m(2); - int g13 = vVar.g(8); - int g14 = vVar.g(8); - int g15 = vVar.g(4); - int g16 = vVar.g(2); - vVar.m(2); - int i12 = g3 - 10; - SparseArray sparseArray4 = new SparseArray(); - while (i12 > 0) { - int g17 = vVar.g(i9); - int g18 = vVar.g(2); - int g19 = vVar.g(2); - int g20 = vVar.g(12); - vVar.m(4); - int g21 = vVar.g(12); - i12 -= 6; - if (g18 == 1 || g18 == 2) { - i12 -= 2; - i4 = vVar.g(8); - i3 = vVar.g(8); - } else { - i4 = 0; - i3 = 0; - } - sparseArray4.put(g17, new b.g(g18, g19, g20, g21, i4, i3)); - i9 = 16; - } - b.f fVar2 = new b.f(g8, f, g9, g10, g11, g12, g13, g14, g15, g16, sparseArray4); - if (dVar3.b == 0 && (fVar = hVar2.f896c.get(g8)) != null) { - SparseArray sparseArray5 = fVar.j; - for (int i13 = 0; i13 < sparseArray5.size(); i13++) { - fVar2.j.put(sparseArray5.keyAt(i13), sparseArray5.valueAt(i13)); - } - } - hVar2.f896c.put(fVar2.a, fVar2); - break; - } - case 18: - if (g2 != hVar2.a) { - if (g2 == hVar2.b) { - b.a f2 = b.f(vVar, g3); - hVar2.f.put(f2.a, f2); - break; - } - } else { - b.a f3 = b.f(vVar, g3); - hVar2.d.put(f3.a, f3); - break; - } - break; - case 19: - if (g2 != hVar2.a) { - if (g2 == hVar2.b) { - b.c g22 = b.g(vVar); - hVar2.g.put(g22.a, g22); - break; - } - } else { - b.c g23 = b.g(vVar); - hVar2.e.put(g23.a, g23); - break; - } - break; - case 20: - if (g2 == hVar2.a) { - vVar.m(4); - boolean f4 = vVar.f(); - vVar.m(3); - int g24 = vVar.g(16); - int g25 = vVar.g(16); - if (f4) { - int g26 = vVar.g(16); - i7 = vVar.g(16); - i6 = vVar.g(16); - i5 = vVar.g(16); - i8 = g26; - } else { - i7 = g24; - i5 = g25; - i8 = 0; - i6 = 0; - } - hVar2.h = new b.C0094b(g24, g25, i8, i7, i6, i5); - break; - } - break; - } - vVar.n(d - vVar.d()); - } - } - b.h hVar3 = bVar.i; - b.d dVar4 = hVar3.i; - if (dVar4 == null) { - list = Collections.emptyList(); - cVar2 = cVar; - } else { - b.C0094b bVar2 = hVar3.h; - if (bVar2 == null) { - bVar2 = bVar.g; - } - Bitmap bitmap = bVar.j; - if (!(bitmap != null && bVar2.a + 1 == bitmap.getWidth() && bVar2.b + 1 == bVar.j.getHeight())) { - Bitmap createBitmap = Bitmap.createBitmap(bVar2.a + 1, bVar2.b + 1, Bitmap.Config.ARGB_8888); - bVar.j = createBitmap; - bVar.f.setBitmap(createBitmap); - } - ArrayList arrayList = new ArrayList(); - SparseArray sparseArray6 = dVar4.f894c; - int i14 = 0; - while (i14 < sparseArray6.size()) { - bVar.f.save(); - b.e valueAt = sparseArray6.valueAt(i14); - b.f fVar3 = bVar.i.f896c.get(sparseArray6.keyAt(i14)); - int i15 = valueAt.a + bVar2.f892c; - int i16 = valueAt.b + bVar2.e; - bVar.f.clipRect(i15, i16, Math.min(fVar3.f895c + i15, bVar2.d), Math.min(fVar3.d + i16, bVar2.f)); - b.a aVar = bVar.i.d.get(fVar3.f); - if (aVar == null && (aVar = bVar.i.f.get(fVar3.f)) == null) { - aVar = bVar.h; - } - SparseArray sparseArray7 = fVar3.j; - int i17 = 0; - while (i17 < sparseArray7.size()) { - int keyAt = sparseArray7.keyAt(i17); - b.g valueAt2 = sparseArray7.valueAt(i17); - b.c cVar4 = bVar.i.e.get(keyAt); - if (cVar4 == null) { - cVar4 = bVar.i.g.get(keyAt); - } - if (cVar4 != null) { - Paint paint = cVar4.b ? null : bVar.d; - int i18 = fVar3.e; - sparseArray2 = sparseArray6; - int i19 = valueAt2.a + i15; - int i20 = valueAt2.b + i16; - sparseArray = sparseArray7; - Canvas canvas = bVar.f; - cVar3 = cVar; - int[] iArr = i18 == 3 ? aVar.d : i18 == 2 ? aVar.f891c : aVar.b; - i2 = i14; - b.e(cVar4.f893c, iArr, i18, i19, i20, paint, canvas); - b.e(cVar4.d, iArr, i18, i19, i20 + 1, paint, canvas); - } else { - cVar3 = cVar; - sparseArray2 = sparseArray6; - i2 = i14; - sparseArray = sparseArray7; - } - i17++; - sparseArray6 = sparseArray2; - sparseArray7 = sparseArray; - cVar = cVar3; - i14 = i2; - } - if (fVar3.b) { - int i21 = fVar3.e; - bVar.e.setColor(i21 == 3 ? aVar.d[fVar3.g] : i21 == 2 ? aVar.f891c[fVar3.h] : aVar.b[fVar3.i]); - bVar.f.drawRect((float) i15, (float) i16, (float) (fVar3.f895c + i15), (float) (fVar3.d + i16), bVar.e); - } - Bitmap createBitmap2 = Bitmap.createBitmap(bVar.j, i15, i16, fVar3.f895c, fVar3.d); - float f5 = (float) bVar2.a; - float f6 = (float) bVar2.b; - arrayList.add(new c(null, null, createBitmap2, ((float) i16) / f6, 0, 0, ((float) i15) / f5, 0, Integer.MIN_VALUE, -3.4028235E38f, ((float) fVar3.f895c) / f5, ((float) fVar3.d) / f6, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null)); - bVar.f.drawColor(0, PorterDuff.Mode.CLEAR); - bVar.f.restore(); - i14++; - sparseArray6 = sparseArray6; - cVar = cVar; - } - cVar2 = cVar; - list = Collections.unmodifiableList(arrayList); - } - return new c(list); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/n/b.java b/app/src/main/java/c/i/a/c/e2/n/b.java deleted file mode 100644 index 4998fdf594..0000000000 --- a/app/src/main/java/c/i/a/c/e2/n/b.java +++ /dev/null @@ -1,654 +0,0 @@ -package c.i.a.c.e2.n; - -import android.graphics.Bitmap; -import android.graphics.Canvas; -import android.graphics.Paint; -import android.graphics.PorterDuff; -import android.graphics.PorterDuffXfermode; -import android.util.SparseArray; -import androidx.annotation.Nullable; -import androidx.core.view.ViewCompat; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.v; -/* compiled from: DvbParser */ -public final class b { - public static final byte[] a = {0, 7, 8, 15}; - public static final byte[] b = {0, 119, -120, -1}; - - /* renamed from: c reason: collision with root package name */ - public static final byte[] f890c = {0, 17, 34, 51, 68, 85, 102, 119, -120, -103, -86, -69, -52, -35, -18, -1}; - public final Paint d; - public final Paint e; - public final Canvas f = new Canvas(); - public final C0094b g = new C0094b(719, 575, 0, 719, 0, 575); - public final a h = new a(0, new int[]{0, -1, ViewCompat.MEASURED_STATE_MASK, -8421505}, b(), c()); - public final h i; - public Bitmap j; - - /* compiled from: DvbParser */ - public static final class a { - public final int a; - public final int[] b; - - /* renamed from: c reason: collision with root package name */ - public final int[] f891c; - public final int[] d; - - public a(int i, int[] iArr, int[] iArr2, int[] iArr3) { - this.a = i; - this.b = iArr; - this.f891c = iArr2; - this.d = iArr3; - } - } - - /* compiled from: DvbParser */ - /* renamed from: c.i.a.c.e2.n.b$b reason: collision with other inner class name */ - public static final class C0094b { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f892c; - public final int d; - public final int e; - public final int f; - - public C0094b(int i, int i2, int i3, int i4, int i5, int i6) { - this.a = i; - this.b = i2; - this.f892c = i3; - this.d = i4; - this.e = i5; - this.f = i6; - } - } - - /* compiled from: DvbParser */ - public static final class c { - public final int a; - public final boolean b; - - /* renamed from: c reason: collision with root package name */ - public final byte[] f893c; - public final byte[] d; - - public c(int i, boolean z2, byte[] bArr, byte[] bArr2) { - this.a = i; - this.b = z2; - this.f893c = bArr; - this.d = bArr2; - } - } - - /* compiled from: DvbParser */ - public static final class d { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final SparseArray f894c; - - public d(int i, int i2, int i3, SparseArray sparseArray) { - this.a = i2; - this.b = i3; - this.f894c = sparseArray; - } - } - - /* compiled from: DvbParser */ - public static final class e { - public final int a; - public final int b; - - public e(int i, int i2) { - this.a = i; - this.b = i2; - } - } - - /* compiled from: DvbParser */ - public static final class f { - public final int a; - public final boolean b; - - /* renamed from: c reason: collision with root package name */ - public final int f895c; - public final int d; - public final int e; - public final int f; - public final int g; - public final int h; - public final int i; - public final SparseArray j; - - public f(int i, boolean z2, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, SparseArray sparseArray) { - this.a = i; - this.b = z2; - this.f895c = i2; - this.d = i3; - this.e = i5; - this.f = i6; - this.g = i7; - this.h = i8; - this.i = i9; - this.j = sparseArray; - } - } - - /* compiled from: DvbParser */ - public static final class g { - public final int a; - public final int b; - - public g(int i, int i2, int i3, int i4, int i5, int i6) { - this.a = i3; - this.b = i4; - } - } - - /* compiled from: DvbParser */ - public static final class h { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final SparseArray f896c = new SparseArray<>(); - public final SparseArray d = new SparseArray<>(); - public final SparseArray e = new SparseArray<>(); - public final SparseArray f = new SparseArray<>(); - public final SparseArray g = new SparseArray<>(); - @Nullable - public C0094b h; - @Nullable - public d i; - - public h(int i, int i2) { - this.a = i; - this.b = i2; - } - } - - public b(int i, int i2) { - Paint paint = new Paint(); - this.d = paint; - paint.setStyle(Paint.Style.FILL_AND_STROKE); - paint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC)); - paint.setPathEffect(null); - Paint paint2 = new Paint(); - this.e = paint2; - paint2.setStyle(Paint.Style.FILL); - paint2.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.DST_OVER)); - paint2.setPathEffect(null); - this.i = new h(i, i2); - } - - public static byte[] a(int i, int i2, v vVar) { - byte[] bArr = new byte[i]; - for (int i3 = 0; i3 < i; i3++) { - bArr[i3] = (byte) vVar.g(i2); - } - return bArr; - } - - public static int[] b() { - int[] iArr = new int[16]; - iArr[0] = 0; - for (int i = 1; i < 16; i++) { - if (i < 8) { - iArr[i] = d(255, (i & 1) != 0 ? 255 : 0, (i & 2) != 0 ? 255 : 0, (i & 4) != 0 ? 255 : 0); - } else { - int i2 = 127; - int i3 = (i & 1) != 0 ? 127 : 0; - int i4 = (i & 2) != 0 ? 127 : 0; - if ((i & 4) == 0) { - i2 = 0; - } - iArr[i] = d(255, i3, i4, i2); - } - } - return iArr; - } - - public static int[] c() { - int[] iArr = new int[256]; - iArr[0] = 0; - for (int i = 0; i < 256; i++) { - int i2 = 255; - if (i < 8) { - int i3 = (i & 1) != 0 ? 255 : 0; - int i4 = (i & 2) != 0 ? 255 : 0; - if ((i & 4) == 0) { - i2 = 0; - } - iArr[i] = d(63, i3, i4, i2); - } else { - int i5 = i & 136; - int i6 = 170; - int i7 = 85; - if (i5 == 0) { - int i8 = ((i & 1) != 0 ? 85 : 0) + ((i & 16) != 0 ? 170 : 0); - int i9 = ((i & 2) != 0 ? 85 : 0) + ((i & 32) != 0 ? 170 : 0); - if ((i & 4) == 0) { - i7 = 0; - } - if ((i & 64) == 0) { - i6 = 0; - } - iArr[i] = d(255, i8, i9, i7 + i6); - } else if (i5 != 8) { - int i10 = 43; - if (i5 == 128) { - int i11 = ((i & 1) != 0 ? 43 : 0) + 127 + ((i & 16) != 0 ? 85 : 0); - int i12 = ((i & 2) != 0 ? 43 : 0) + 127 + ((i & 32) != 0 ? 85 : 0); - if ((i & 4) == 0) { - i10 = 0; - } - int i13 = i10 + 127; - if ((i & 64) == 0) { - i7 = 0; - } - iArr[i] = d(255, i11, i12, i13 + i7); - } else if (i5 == 136) { - int i14 = ((i & 1) != 0 ? 43 : 0) + ((i & 16) != 0 ? 85 : 0); - int i15 = ((i & 2) != 0 ? 43 : 0) + ((i & 32) != 0 ? 85 : 0); - if ((i & 4) == 0) { - i10 = 0; - } - if ((i & 64) == 0) { - i7 = 0; - } - iArr[i] = d(255, i14, i15, i10 + i7); - } - } else { - int i16 = ((i & 1) != 0 ? 85 : 0) + ((i & 16) != 0 ? 170 : 0); - int i17 = ((i & 2) != 0 ? 85 : 0) + ((i & 32) != 0 ? 170 : 0); - if ((i & 4) == 0) { - i7 = 0; - } - if ((i & 64) == 0) { - i6 = 0; - } - iArr[i] = d(127, i16, i17, i7 + i6); - } - } - } - return iArr; - } - - public static int d(int i, int i2, int i3, int i4) { - return (i << 24) | (i2 << 16) | (i3 << 8) | i4; - } - - /* JADX DEBUG: Failed to insert an additional move for type inference into block B:63:0x0114 */ - /* JADX DEBUG: Failed to insert an additional move for type inference into block B:106:0x01d3 */ - /* JADX WARNING: Removed duplicated region for block: B:105:0x01d1 A[ADDED_TO_REGION] */ - /* JADX WARNING: Removed duplicated region for block: B:113:0x020b A[LOOP:3: B:83:0x0163->B:113:0x020b, LOOP_END] */ - /* JADX WARNING: Removed duplicated region for block: B:136:0x013b A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:137:0x0205 A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:62:0x0112 A[ADDED_TO_REGION] */ - /* JADX WARNING: Removed duplicated region for block: B:70:0x0141 A[LOOP:2: B:38:0x00ab->B:70:0x0141, LOOP_END] */ - /* JADX WARNING: Removed duplicated region for block: B:85:0x016a */ - public static void e(byte[] bArr, int[] iArr, int i, int i2, int i3, @Nullable Paint paint, Canvas canvas) { - byte[] bArr2; - int i4; - boolean z2; - int g2; - int i5; - boolean z3; - byte b2; - int i6; - int i7; - int i8; - byte[] bArr3; - byte[] bArr4; - int i9; - boolean z4; - byte b3; - int i10; - int i11; - int i12; - int i13; - boolean z5; - v vVar = new v(bArr); - int i14 = i2; - int i15 = i3; - byte[] bArr5 = null; - byte[] bArr6 = null; - byte[] bArr7 = null; - while (vVar.b() != 0) { - int i16 = 8; - int g3 = vVar.g(8); - if (g3 != 240) { - int i17 = 4; - int i18 = 2; - switch (g3) { - case 16: - if (i == 3) { - bArr3 = bArr5 == null ? b : bArr5; - } else if (i == 2) { - bArr3 = bArr7 == null ? a : bArr7; - } else { - bArr2 = null; - i4 = i14; - z2 = false; - while (true) { - g2 = vVar.g(2); - if (g2 == 0) { - if (vVar.f()) { - i8 = vVar.g(3) + 3; - i7 = vVar.g(2); - } else if (vVar.f()) { - g2 = 0; - } else { - int g4 = vVar.g(2); - if (g4 == 0) { - z2 = true; - } else if (g4 == 1) { - z3 = z2; - b2 = 0; - i5 = 2; - if (i5 != 0 || paint == null) { - i6 = i4; - } else { - if (bArr2 != null) { - b2 = bArr2[b2]; - } - paint.setColor(iArr[b2 == true ? 1 : 0]); - i6 = i4; - canvas.drawRect((float) i4, (float) i15, (float) (i4 + i5), (float) (i15 + 1), paint); - } - i4 = i6 + i5; - if (z3) { - vVar.c(); - i14 = i4; - continue; - } else { - z2 = z3; - } - } else if (g4 == 2) { - i8 = vVar.g(4) + 12; - i7 = vVar.g(2); - } else if (g4 == 3) { - i8 = vVar.g(8) + 29; - i7 = vVar.g(2); - } - z3 = z2; - b2 = 0; - i5 = 0; - if (i5 != 0) { - } - i6 = i4; - i4 = i6 + i5; - if (z3) { - } - } - i5 = i8; - b2 = i7; - z3 = z2; - if (i5 != 0) { - } - i6 = i4; - i4 = i6 + i5; - if (z3) { - } - } - z3 = z2; - i5 = 1; - b2 = g2; - if (i5 != 0) { - } - i6 = i4; - i4 = i6 + i5; - if (z3) { - } - } - } - bArr2 = bArr3; - i4 = i14; - z2 = false; - while (true) { - g2 = vVar.g(2); - if (g2 == 0) { - } - z3 = z2; - i5 = 1; - b2 = g2; - if (i5 != 0) { - } - i6 = i4; - i4 = i6 + i5; - if (z3) { - } - z2 = z3; - } - case 17: - if (i == 3) { - bArr4 = bArr6 == null ? f890c : bArr6; - } else { - bArr4 = null; - } - int i19 = i14; - boolean z6 = false; - while (true) { - int g5 = vVar.g(i17); - if (g5 == 0) { - if (!vVar.f()) { - int g6 = vVar.g(3); - if (g6 != 0) { - z4 = z6; - i9 = g6 + 2; - b3 = 0; - if (i9 != 0 || paint == null) { - i10 = i19; - } else { - if (bArr4 != null) { - b3 = bArr4[b3]; - } - paint.setColor(iArr[b3 == true ? 1 : 0]); - i10 = i19; - canvas.drawRect((float) i19, (float) i15, (float) (i19 + i9), (float) (i15 + 1), paint); - } - i19 = i10 + i9; - if (z4) { - vVar.c(); - i14 = i19; - continue; - } else { - z6 = z4; - i18 = 2; - i17 = 4; - i16 = 8; - } - } else { - z6 = true; - } - } else { - if (!vVar.f()) { - i12 = vVar.g(i18) + i17; - i11 = vVar.g(i17); - } else { - int g7 = vVar.g(i18); - if (g7 == 0) { - g5 = 0; - } else if (g7 == 1) { - z4 = z6; - b3 = 0; - i9 = 2; - if (i9 != 0) { - } - i10 = i19; - i19 = i10 + i9; - if (z4) { - } - } else if (g7 == i18) { - i12 = vVar.g(i17) + 9; - i11 = vVar.g(i17); - } else if (g7 == 3) { - i12 = vVar.g(i16) + 25; - i11 = vVar.g(i17); - } - } - z4 = z6; - i9 = i12; - b3 = i11; - if (i9 != 0) { - } - i10 = i19; - i19 = i10 + i9; - if (z4) { - } - } - z4 = z6; - b3 = 0; - i9 = 0; - if (i9 != 0) { - } - i10 = i19; - i19 = i10 + i9; - if (z4) { - } - } - z4 = z6; - b3 = g5; - i9 = 1; - if (i9 != 0) { - } - i10 = i19; - i19 = i10 + i9; - if (z4) { - } - } - case 18: - int i20 = i14; - boolean z7 = false; - while (true) { - int g8 = vVar.g(8); - if (g8 != 0) { - z5 = z7; - i13 = 1; - } else if (!vVar.f()) { - int g9 = vVar.g(7); - if (g9 != 0) { - z5 = z7; - i13 = g9; - g8 = 0; - } else { - g8 = 0; - z5 = true; - i13 = 0; - } - } else { - z5 = z7; - i13 = vVar.g(7); - g8 = vVar.g(8); - } - if (i13 != 0 && paint != null) { - paint.setColor(iArr[g8]); - canvas.drawRect((float) i20, (float) i15, (float) (i20 + i13), (float) (i15 + 1), paint); - } - i20 += i13; - if (z5) { - i14 = i20; - continue; - } else { - z7 = z5; - } - } - default: - switch (g3) { - case 32: - bArr7 = a(4, 4, vVar); - continue; - case 33: - bArr5 = a(4, 8, vVar); - continue; - case 34: - bArr6 = a(16, 8, vVar); - continue; - default: - continue; - } - } - } else { - i15 += 2; - i14 = i2; - } - } - } - - public static a f(v vVar, int i) { - int i2; - int i3; - int i4; - int i5; - int i6 = 8; - int g2 = vVar.g(8); - vVar.m(8); - int i7 = i - 2; - int i8 = 4; - int[] iArr = {0, -1, ViewCompat.MEASURED_STATE_MASK, -8421505}; - int[] b2 = b(); - int[] c2 = c(); - while (i7 > 0) { - int g3 = vVar.g(i6); - int g4 = vVar.g(i6); - int i9 = i7 - 2; - int[] iArr2 = (g4 & 128) != 0 ? iArr : (g4 & 64) != 0 ? b2 : c2; - if ((g4 & 1) != 0) { - i5 = vVar.g(i6); - i4 = vVar.g(i6); - i3 = vVar.g(i6); - i2 = vVar.g(i6); - i7 = i9 - 4; - } else { - i7 = i9 - 2; - i4 = vVar.g(i8) << i8; - i2 = vVar.g(2) << 6; - i5 = vVar.g(6) << 2; - i3 = vVar.g(i8) << i8; - } - if (i5 == 0) { - i4 = 0; - i3 = 0; - i2 = 255; - } - double d2 = (double) i5; - double d3 = (double) (i4 - 128); - double d4 = (double) (i3 - 128); - iArr2[g3] = d((byte) (255 - (i2 & 255)), f0.h((int) ((1.402d * d3) + d2), 0, 255), f0.h((int) ((d2 - (0.34414d * d4)) - (d3 * 0.71414d)), 0, 255), f0.h((int) ((d4 * 1.772d) + d2), 0, 255)); - iArr = iArr; - g2 = g2; - i6 = 8; - i8 = 4; - } - return new a(g2, iArr, b2, c2); - } - - public static c g(v vVar) { - byte[] bArr; - int g2 = vVar.g(16); - vVar.m(4); - int g3 = vVar.g(2); - boolean f2 = vVar.f(); - vVar.m(1); - byte[] bArr2 = f0.f; - if (g3 == 1) { - vVar.m(vVar.g(8) * 16); - } else if (g3 == 0) { - int g4 = vVar.g(16); - int g5 = vVar.g(16); - if (g4 > 0) { - bArr2 = new byte[g4]; - vVar.i(bArr2, 0, g4); - } - if (g5 > 0) { - bArr = new byte[g5]; - vVar.i(bArr, 0, g5); - return new c(g2, f2, bArr2, bArr); - } - } - bArr = bArr2; - return new c(g2, f2, bArr2, bArr); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/n/c.java b/app/src/main/java/c/i/a/c/e2/n/c.java deleted file mode 100644 index 60b0d55f63..0000000000 --- a/app/src/main/java/c/i/a/c/e2/n/c.java +++ /dev/null @@ -1,32 +0,0 @@ -package c.i.a.c.e2.n; - -import c.i.a.c.e2.f; -import java.util.List; -/* compiled from: DvbSubtitle */ -public final class c implements f { - public final List i; - - public c(List list) { - this.i = list; - } - - @Override // c.i.a.c.e2.f - public int f(long j) { - return -1; - } - - @Override // c.i.a.c.e2.f - public long g(int i) { - return 0; - } - - @Override // c.i.a.c.e2.f - public List h(long j) { - return this.i; - } - - @Override // c.i.a.c.e2.f - public int i() { - return 1; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/o/a.java b/app/src/main/java/c/i/a/c/e2/o/a.java deleted file mode 100644 index 294253de29..0000000000 --- a/app/src/main/java/c/i/a/c/e2/o/a.java +++ /dev/null @@ -1,200 +0,0 @@ -package c.i.a.c.e2.o; - -import android.graphics.Bitmap; -import androidx.annotation.Nullable; -import androidx.core.view.ViewCompat; -import c.i.a.c.e2.c; -import c.i.a.c.e2.d; -import c.i.a.c.e2.f; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.text.SubtitleDecoderException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collections; -import java.util.Objects; -import java.util.zip.Inflater; -/* compiled from: PgsDecoder */ -public final class a extends d { - public final w n = new w(); - public final w o = new w(); - public final C0095a p = new C0095a(); - @Nullable - public Inflater q; - - /* compiled from: PgsDecoder */ - /* renamed from: c.i.a.c.e2.o.a$a reason: collision with other inner class name */ - public static final class C0095a { - public final w a = new w(); - public final int[] b = new int[256]; - - /* renamed from: c reason: collision with root package name */ - public boolean f897c; - public int d; - public int e; - public int f; - public int g; - public int h; - public int i; - - public void a() { - this.d = 0; - this.e = 0; - this.f = 0; - this.g = 0; - this.h = 0; - this.i = 0; - this.a.z(0); - this.f897c = false; - } - } - - public a() { - super("PgsDecoder"); - } - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - @Override // c.i.a.c.e2.d - public f j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException { - c cVar; - w wVar; - w wVar2; - int i2; - int i3; - int u; - a aVar = this; - w wVar3 = aVar.n; - wVar3.a = bArr; - wVar3.f974c = i; - int i4 = 0; - wVar3.b = 0; - if (wVar3.a() > 0 && wVar3.c() == 120) { - if (aVar.q == null) { - aVar.q = new Inflater(); - } - if (f0.x(wVar3, aVar.o, aVar.q)) { - w wVar4 = aVar.o; - wVar3.B(wVar4.a, wVar4.f974c); - } - } - aVar.p.a(); - ArrayList arrayList = new ArrayList(); - while (aVar.n.a() >= 3) { - w wVar5 = aVar.n; - C0095a aVar2 = aVar.p; - int i5 = wVar5.f974c; - int s = wVar5.s(); - int x2 = wVar5.x(); - int i6 = wVar5.b + x2; - if (i6 > i5) { - wVar5.D(i5); - cVar = null; - } else { - if (s != 128) { - switch (s) { - case 20: - Objects.requireNonNull(aVar2); - if (x2 % 5 == 2) { - wVar5.E(2); - Arrays.fill(aVar2.b, i4); - int i7 = x2 / 5; - int i8 = 0; - while (i8 < i7) { - int s2 = wVar5.s(); - double s3 = (double) wVar5.s(); - double s4 = (double) (wVar5.s() - 128); - arrayList = arrayList; - double s5 = (double) (wVar5.s() - 128); - aVar2.b[s2] = (f0.h((int) ((1.402d * s4) + s3), 0, 255) << 16) | (wVar5.s() << 24) | (f0.h((int) ((s3 - (0.34414d * s5)) - (s4 * 0.71414d)), 0, 255) << 8) | f0.h((int) ((s5 * 1.772d) + s3), 0, 255); - i8++; - wVar5 = wVar5; - } - wVar = wVar5; - aVar2.f897c = true; - break; - } - wVar = wVar5; - break; - case 21: - Objects.requireNonNull(aVar2); - if (x2 >= 4) { - wVar5.E(3); - int i9 = x2 - 4; - if ((wVar5.s() & 128) != 0) { - if (i9 >= 7 && (u = wVar5.u()) >= 4) { - aVar2.h = wVar5.x(); - aVar2.i = wVar5.x(); - aVar2.a.z(u - 4); - i9 -= 7; - } - } - w wVar6 = aVar2.a; - int i10 = wVar6.b; - int i11 = wVar6.f974c; - if (i10 < i11 && i9 > 0) { - int min = Math.min(i9, i11 - i10); - wVar5.e(aVar2.a.a, i10, min); - aVar2.a.D(i10 + min); - } - } - wVar = wVar5; - break; - case 22: - Objects.requireNonNull(aVar2); - if (x2 >= 19) { - aVar2.d = wVar5.x(); - aVar2.e = wVar5.x(); - wVar5.E(11); - aVar2.f = wVar5.x(); - aVar2.g = wVar5.x(); - } - wVar = wVar5; - break; - default: - wVar = wVar5; - break; - } - cVar = null; - } else { - wVar = wVar5; - if (aVar2.d == 0 || aVar2.e == 0 || aVar2.h == 0 || aVar2.i == 0 || (i2 = (wVar2 = aVar2.a).f974c) == 0 || wVar2.b != i2 || !aVar2.f897c) { - cVar = null; - } else { - wVar2.D(0); - int i12 = aVar2.h * aVar2.i; - int[] iArr = new int[i12]; - int i13 = 0; - while (i13 < i12) { - int s6 = aVar2.a.s(); - if (s6 != 0) { - i3 = i13 + 1; - iArr[i13] = aVar2.b[s6]; - } else { - int s7 = aVar2.a.s(); - if (s7 != 0) { - i3 = ((s7 & 64) == 0 ? s7 & 63 : ((s7 & 63) << 8) | aVar2.a.s()) + i13; - Arrays.fill(iArr, i13, i3, (s7 & 128) == 0 ? 0 : aVar2.b[aVar2.a.s()]); - } - } - i13 = i3; - } - Bitmap createBitmap = Bitmap.createBitmap(iArr, aVar2.h, aVar2.i, Bitmap.Config.ARGB_8888); - float f = (float) aVar2.d; - float f2 = ((float) aVar2.f) / f; - float f3 = (float) aVar2.e; - cVar = new c(null, null, createBitmap, ((float) aVar2.g) / f3, 0, 0, f2, 0, Integer.MIN_VALUE, -3.4028235E38f, ((float) aVar2.h) / f, ((float) aVar2.i) / f3, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null); - } - aVar2.a(); - } - wVar.D(i6); - } - if (cVar != null) { - arrayList.add(cVar); - } - arrayList = arrayList; - i4 = 0; - aVar = this; - } - return new b(Collections.unmodifiableList(arrayList)); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/o/b.java b/app/src/main/java/c/i/a/c/e2/o/b.java deleted file mode 100644 index ef65398278..0000000000 --- a/app/src/main/java/c/i/a/c/e2/o/b.java +++ /dev/null @@ -1,33 +0,0 @@ -package c.i.a.c.e2.o; - -import c.i.a.c.e2.c; -import c.i.a.c.e2.f; -import java.util.List; -/* compiled from: PgsSubtitle */ -public final class b implements f { - public final List i; - - public b(List list) { - this.i = list; - } - - @Override // c.i.a.c.e2.f - public int f(long j) { - return -1; - } - - @Override // c.i.a.c.e2.f - public long g(int i) { - return 0; - } - - @Override // c.i.a.c.e2.f - public List h(long j) { - return this.i; - } - - @Override // c.i.a.c.e2.f - public int i() { - return 1; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/p/a.java b/app/src/main/java/c/i/a/c/e2/p/a.java deleted file mode 100644 index e452918f1d..0000000000 --- a/app/src/main/java/c/i/a/c/e2/p/a.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.a.c.e2.p; -/* compiled from: HorizontalTextInVerticalContextSpan */ -public final class a { -} diff --git a/app/src/main/java/c/i/a/c/e2/p/b.java b/app/src/main/java/c/i/a/c/e2/p/b.java deleted file mode 100644 index 4750859dde..0000000000 --- a/app/src/main/java/c/i/a/c/e2/p/b.java +++ /dev/null @@ -1,11 +0,0 @@ -package c.i.a.c.e2.p; -/* compiled from: RubySpan */ -public final class b { - public final String a; - public final int b; - - public b(String str, int i) { - this.a = str; - this.b = i; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/p/c.java b/app/src/main/java/c/i/a/c/e2/p/c.java deleted file mode 100644 index c659050979..0000000000 --- a/app/src/main/java/c/i/a/c/e2/p/c.java +++ /dev/null @@ -1,15 +0,0 @@ -package c.i.a.c.e2.p; -/* compiled from: TextEmphasisSpan */ -public final class c { - public int a; - public int b; - - /* renamed from: c reason: collision with root package name */ - public final int f898c; - - public c(int i, int i2, int i3) { - this.a = i; - this.b = i2; - this.f898c = i3; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/q/a.java b/app/src/main/java/c/i/a/c/e2/q/a.java deleted file mode 100644 index 3027ce62c5..0000000000 --- a/app/src/main/java/c/i/a/c/e2/q/a.java +++ /dev/null @@ -1,522 +0,0 @@ -package c.i.a.c.e2.q; - -import android.graphics.PointF; -import android.text.Layout; -import android.text.SpannableString; -import android.text.TextUtils; -import android.text.style.ForegroundColorSpan; -import android.text.style.StyleSpan; -import android.util.Log; -import androidx.annotation.Nullable; -import androidx.core.view.ViewCompat; -import c.i.a.c.e2.c; -import c.i.a.c.e2.d; -import c.i.a.c.e2.f; -import c.i.a.c.e2.q.c; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.p; -import c.i.a.c.i2.w; -import com.discord.models.domain.ModelAuditLogEntry; -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -/* compiled from: SsaDecoder */ -public final class a extends d { - public static final Pattern n = Pattern.compile("(?:(\\d+):)?(\\d+):(\\d+)[:.](\\d+)"); - public final boolean o; - @Nullable - public final b p; - public Map q; - - /* renamed from: r reason: collision with root package name */ - public float f899r = -3.4028235E38f; - public float s = -3.4028235E38f; - - public a(@Nullable List list) { - super("SsaDecoder"); - if (list == null || list.isEmpty()) { - this.o = false; - this.p = null; - return; - } - this.o = true; - String l = f0.l(list.get(0)); - c.c.a.a0.d.k(l.startsWith("Format:")); - b a = b.a(l); - Objects.requireNonNull(a); - this.p = a; - m(new w(list.get(1))); - } - - public static int k(long j, List list, List> list2) { - int i; - int size = list.size() - 1; - while (true) { - if (size < 0) { - i = 0; - break; - } else if (list.get(size).longValue() == j) { - return size; - } else { - if (list.get(size).longValue() < j) { - i = size + 1; - break; - } - size--; - } - } - list.add(i, Long.valueOf(j)); - list2.add(i, i == 0 ? new ArrayList() : new ArrayList(list2.get(i - 1))); - return i; - } - - public static float l(int i) { - if (i == 0) { - return 0.05f; - } - if (i != 1) { - return i != 2 ? -3.4028235E38f : 0.95f; - } - return 0.5f; - } - - public static long n(String str) { - Matcher matcher = n.matcher(str.trim()); - if (!matcher.matches()) { - return -9223372036854775807L; - } - String group = matcher.group(1); - int i = f0.a; - long parseLong = (Long.parseLong(matcher.group(2)) * 60 * 1000000) + (Long.parseLong(group) * 60 * 60 * 1000000); - return (Long.parseLong(matcher.group(4)) * 10000) + (Long.parseLong(matcher.group(3)) * 1000000) + parseLong; - } - - @Override // c.i.a.c.e2.d - public f j(byte[] bArr, int i, boolean z2) { - w wVar; - b bVar; - long j; - float f; - int i2; - int i3; - Layout.Alignment alignment; - int i4; - int i5; - float f2; - float f3; - int i6; - float f4; - float f5; - int i7; - int i8; - a aVar = this; - ArrayList arrayList = new ArrayList(); - ArrayList arrayList2 = new ArrayList(); - w wVar2 = new w(bArr, i); - if (!aVar.o) { - aVar.m(wVar2); - } - b bVar2 = aVar.o ? aVar.p : null; - while (true) { - String g = wVar2.g(); - if (g == null) { - return new d(arrayList, arrayList2); - } - if (g.startsWith("Format:")) { - bVar2 = b.a(g); - } else { - if (g.startsWith("Dialogue:")) { - if (bVar2 == null) { - c.d.b.a.a.k0("Skipping dialogue line before complete format: ", g, "SsaDecoder"); - } else { - c.c.a.a0.d.k(g.startsWith("Dialogue:")); - String[] split = g.substring(9).split(",", bVar2.e); - if (split.length != bVar2.e) { - c.d.b.a.a.k0("Skipping dialogue line with fewer columns than format: ", g, "SsaDecoder"); - } else { - long n2 = n(split[bVar2.a]); - if (n2 == -9223372036854775807L) { - c.d.b.a.a.k0("Skipping invalid timing: ", g, "SsaDecoder"); - } else { - long n3 = n(split[bVar2.b]); - if (n3 == -9223372036854775807L) { - c.d.b.a.a.k0("Skipping invalid timing: ", g, "SsaDecoder"); - } else { - Map map = aVar.q; - c cVar = (map == null || (i8 = bVar2.f900c) == -1) ? null : map.get(split[i8].trim()); - String str = split[bVar2.d]; - Matcher matcher = c.b.a.matcher(str); - PointF pointF = null; - int i9 = -1; - while (true) { - wVar = wVar2; - if (matcher.find()) { - String group = matcher.group(1); - Objects.requireNonNull(group); - try { - PointF a = c.b.a(group); - if (a != null) { - pointF = a; - } - } catch (RuntimeException unused) { - } - try { - Matcher matcher2 = c.b.d.matcher(group); - if (matcher2.find()) { - String group2 = matcher2.group(1); - Objects.requireNonNull(group2); - i7 = c.a(group2); - } else { - i7 = -1; - } - if (i7 != -1) { - i9 = i7; - } - } catch (RuntimeException unused2) { - } - wVar2 = wVar; - } else { - String replace = c.b.a.matcher(str).replaceAll("").replace("\\N", "\n").replace("\\n", "\n").replace("\\h", " "); - float f6 = aVar.f899r; - float f7 = aVar.s; - SpannableString spannableString = new SpannableString(replace); - if (cVar != null) { - if (cVar.f901c != null) { - bVar = bVar2; - j = n3; - spannableString.setSpan(new ForegroundColorSpan(cVar.f901c.intValue()), 0, spannableString.length(), 33); - } else { - bVar = bVar2; - j = n3; - } - float f8 = cVar.d; - if (f8 == -3.4028235E38f || f7 == -3.4028235E38f) { - f4 = -3.4028235E38f; - i6 = Integer.MIN_VALUE; - } else { - f4 = f8 / f7; - i6 = 1; - } - boolean z3 = cVar.e; - if (!z3 || !cVar.f) { - f5 = f4; - if (z3) { - spannableString.setSpan(new StyleSpan(1), 0, spannableString.length(), 33); - } else if (cVar.f) { - spannableString.setSpan(new StyleSpan(2), 0, spannableString.length(), 33); - } - } else { - f5 = f4; - spannableString.setSpan(new StyleSpan(3), 0, spannableString.length(), 33); - } - i3 = -1; - i2 = i6; - f = f5; - } else { - bVar = bVar2; - j = n3; - i3 = -1; - i2 = Integer.MIN_VALUE; - f = -3.4028235E38f; - } - if (i9 == i3) { - i9 = cVar != null ? cVar.b : i3; - } - switch (i9) { - case 0: - default: - Log.w("SsaDecoder", c.d.b.a.a.l("Unknown alignment: ", i9)); - case -1: - alignment = null; - break; - case 1: - case 4: - case 7: - alignment = Layout.Alignment.ALIGN_NORMAL; - break; - case 2: - case 5: - case 8: - alignment = Layout.Alignment.ALIGN_CENTER; - break; - case 3: - case 6: - case 9: - alignment = Layout.Alignment.ALIGN_OPPOSITE; - break; - } - switch (i9) { - case 0: - default: - Log.w("SsaDecoder", c.d.b.a.a.l("Unknown alignment: ", i9)); - case -1: - i4 = Integer.MIN_VALUE; - break; - case 1: - case 4: - case 7: - i4 = 0; - break; - case 2: - case 5: - case 8: - i4 = 1; - break; - case 3: - case 6: - case 9: - i4 = 2; - break; - } - switch (i9) { - case 0: - default: - Log.w("SsaDecoder", c.d.b.a.a.l("Unknown alignment: ", i9)); - case -1: - i5 = Integer.MIN_VALUE; - break; - case 1: - case 2: - case 3: - i5 = 2; - break; - case 4: - case 5: - case 6: - i5 = 1; - break; - case 7: - case 8: - case 9: - i5 = 0; - break; - } - if (pointF == null || f7 == -3.4028235E38f || f6 == -3.4028235E38f) { - f3 = l(i4); - f2 = l(i5); - } else { - f3 = pointF.x / f6; - f2 = pointF.y / f7; - } - c.i.a.c.e2.c cVar2 = new c.i.a.c.e2.c(spannableString, alignment, null, f2, 0, i5, f3, i4, i2, f, -3.4028235E38f, -3.4028235E38f, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null); - int k = k(j, arrayList2, arrayList); - for (int k2 = k(n2, arrayList2, arrayList); k2 < k; k2++) { - ((List) arrayList.get(k2)).add(cVar2); - } - aVar = this; - bVar2 = bVar; - wVar2 = wVar; - } - } - } - } - } - } - } - wVar = wVar2; - bVar = bVar2; - aVar = this; - bVar2 = bVar; - wVar2 = wVar; - } - } - } - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - /* JADX WARNING: Removed duplicated region for block: B:100:0x01ee */ - /* JADX WARNING: Removed duplicated region for block: B:101:0x01fb */ - /* JADX WARNING: Removed duplicated region for block: B:104:0x0202 */ - /* JADX WARNING: Removed duplicated region for block: B:105:0x020f */ - /* JADX WARNING: Removed duplicated region for block: B:111:0x0233 */ - public final void m(w wVar) { - char c2; - c cVar; - float f; - while (true) { - String g = wVar.g(); - if (g != null) { - int i = 91; - char c3 = 2; - char c4 = 1; - if ("[Script Info]".equalsIgnoreCase(g)) { - while (true) { - String g2 = wVar.g(); - if (g2 != null && (wVar.a() == 0 || wVar.c() != 91)) { - String[] split = g2.split(":"); - if (split.length == 2) { - String K = f0.K(split[0].trim()); - K.hashCode(); - if (K.equals("playresx")) { - this.f899r = Float.parseFloat(split[1].trim()); - } else if (K.equals("playresy")) { - try { - this.s = Float.parseFloat(split[1].trim()); - } catch (NumberFormatException unused) { - } - } - } - } - } - } else if ("[V4+ Styles]".equalsIgnoreCase(g)) { - LinkedHashMap linkedHashMap = new LinkedHashMap(); - while (true) { - c.a aVar = null; - while (true) { - String g3 = wVar.g(); - if (g3 != null && (wVar.a() == 0 || wVar.c() != i)) { - if (g3.startsWith("Format:")) { - String[] split2 = TextUtils.split(g3.substring(7), ","); - int i2 = -1; - int i3 = -1; - int i4 = -1; - int i5 = -1; - int i6 = -1; - int i7 = -1; - for (int i8 = 0; i8 < split2.length; i8++) { - String K2 = f0.K(split2[i8].trim()); - K2.hashCode(); - switch (K2.hashCode()) { - case -1178781136: - if (K2.equals("italic")) { - c2 = 0; - break; - } - c2 = 65535; - break; - case -70925746: - if (K2.equals("primarycolour")) { - c2 = 1; - break; - } - c2 = 65535; - break; - case 3029637: - if (K2.equals("bold")) { - c2 = 2; - break; - } - c2 = 65535; - break; - case 3373707: - if (K2.equals(ModelAuditLogEntry.CHANGE_KEY_NAME)) { - c2 = 3; - break; - } - c2 = 65535; - break; - case 366554320: - if (K2.equals("fontsize")) { - c2 = 4; - break; - } - c2 = 65535; - break; - case 1767875043: - if (K2.equals("alignment")) { - c2 = 5; - break; - } - c2 = 65535; - break; - default: - c2 = 65535; - break; - } - if (c2 == 0) { - i7 = i8; - } else if (c2 == c4) { - i4 = i8; - } else if (c2 == c3) { - i6 = i8; - } else if (c2 == 3) { - i2 = i8; - } else if (c2 == 4) { - i5 = i8; - } else if (c2 == 5) { - i3 = i8; - } - } - if (i2 != -1) { - aVar = new c.a(i2, i3, i4, i5, i6, i7, split2.length); - i = 91; - } else { - i = 91; - } - } else { - if (g3.startsWith("Style:")) { - if (aVar == null) { - c.d.b.a.a.k0("Skipping 'Style:' line before 'Format:' line: ", g3, "SsaDecoder"); - } else { - c.c.a.a0.d.k(g3.startsWith("Style:")); - String[] split3 = TextUtils.split(g3.substring(6), ","); - int length = split3.length; - int i9 = aVar.g; - if (length != i9) { - Object[] objArr = new Object[3]; - objArr[0] = Integer.valueOf(i9); - objArr[c4] = Integer.valueOf(split3.length); - objArr[c3] = g3; - Log.w("SsaStyle", f0.k("Skipping malformed 'Style:' line (expected %s values, found %s): '%s'", objArr)); - } else { - try { - String trim = split3[aVar.a].trim(); - int i10 = aVar.b; - int a = i10 != -1 ? c.a(split3[i10].trim()) : -1; - int i11 = aVar.f902c; - Integer c5 = i11 != -1 ? c.c(split3[i11].trim()) : null; - int i12 = aVar.d; - if (i12 != -1) { - String trim2 = split3[i12].trim(); - try { - f = Float.parseFloat(trim2); - } catch (NumberFormatException e) { - p.c("SsaStyle", "Failed to parse font size: '" + trim2 + "'", e); - } - int i13 = aVar.e; - boolean b = i13 == -1 ? c.b(split3[i13].trim()) : false; - int i14 = aVar.f; - cVar = new c(trim, a, c5, f, b, i14 == -1 ? c.b(split3[i14].trim()) : false); - if (cVar != null) { - linkedHashMap.put(cVar.a, cVar); - } - } - f = -3.4028235E38f; - int i13 = aVar.e; - if (i13 == -1) { - } - int i14 = aVar.f; - cVar = new c(trim, a, c5, f, b, i14 == -1 ? c.b(split3[i14].trim()) : false); - } catch (RuntimeException e2) { - p.c("SsaStyle", "Skipping malformed 'Style:' line: '" + g3 + "'", e2); - } - if (cVar != null) { - } - } - cVar = null; - if (cVar != null) { - } - } - } - i = 91; - c3 = 2; - c4 = 1; - } - } - } - } - this.q = linkedHashMap; - } else if ("[V4 Styles]".equalsIgnoreCase(g)) { - Log.i("SsaDecoder", "[V4 Styles] are not supported"); - } else if ("[Events]".equalsIgnoreCase(g)) { - return; - } - } else { - return; - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/e2/q/b.java b/app/src/main/java/c/i/a/c/e2/q/b.java deleted file mode 100644 index 4368ea15b6..0000000000 --- a/app/src/main/java/c/i/a/c/e2/q/b.java +++ /dev/null @@ -1,87 +0,0 @@ -package c.i.a.c.e2.q; - -import android.text.TextUtils; -import androidx.annotation.Nullable; -import androidx.core.app.NotificationCompat; -import c.c.a.a0.d; -import c.i.a.c.i2.f0; -/* compiled from: SsaDialogueFormat */ -public final class b { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f900c; - public final int d; - public final int e; - - public b(int i, int i2, int i3, int i4, int i5) { - this.a = i; - this.b = i2; - this.f900c = i3; - this.d = i4; - this.e = i5; - } - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - @Nullable - public static b a(String str) { - char c2; - d.k(str.startsWith("Format:")); - String[] split = TextUtils.split(str.substring(7), ","); - int i = -1; - int i2 = -1; - int i3 = -1; - int i4 = -1; - for (int i5 = 0; i5 < split.length; i5++) { - String K = f0.K(split[i5].trim()); - K.hashCode(); - switch (K.hashCode()) { - case 100571: - if (K.equals("end")) { - c2 = 0; - break; - } - c2 = 65535; - break; - case 3556653: - if (K.equals(NotificationCompat.MessagingStyle.Message.KEY_TEXT)) { - c2 = 1; - break; - } - c2 = 65535; - break; - case 109757538: - if (K.equals("start")) { - c2 = 2; - break; - } - c2 = 65535; - break; - case 109780401: - if (K.equals("style")) { - c2 = 3; - break; - } - c2 = 65535; - break; - default: - c2 = 65535; - break; - } - if (c2 == 0) { - i2 = i5; - } else if (c2 == 1) { - i4 = i5; - } else if (c2 == 2) { - i = i5; - } else if (c2 == 3) { - i3 = i5; - } - } - if (i == -1 || i2 == -1 || i4 == -1) { - return null; - } - return new b(i, i2, i3, i4, split.length); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/q/c.java b/app/src/main/java/c/i/a/c/e2/q/c.java deleted file mode 100644 index f67b612b16..0000000000 --- a/app/src/main/java/c/i/a/c/e2/q/c.java +++ /dev/null @@ -1,146 +0,0 @@ -package c.i.a.c.e2.q; - -import android.graphics.Color; -import android.graphics.PointF; -import android.util.Log; -import androidx.annotation.ColorInt; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.p; -import java.util.Objects; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -/* compiled from: SsaStyle */ -public final class c { - public final String a; - public final int b; - @Nullable - @ColorInt - - /* renamed from: c reason: collision with root package name */ - public final Integer f901c; - public final float d; - public final boolean e; - public final boolean f; - - /* compiled from: SsaStyle */ - public static final class a { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f902c; - public final int d; - public final int e; - public final int f; - public final int g; - - public a(int i, int i2, int i3, int i4, int i5, int i6, int i7) { - this.a = i; - this.b = i2; - this.f902c = i3; - this.d = i4; - this.e = i5; - this.f = i6; - this.g = i7; - } - } - - /* compiled from: SsaStyle */ - public static final class b { - public static final Pattern a = Pattern.compile("\\{([^}]*)\\}"); - public static final Pattern b = Pattern.compile(f0.k("\\\\pos\\((%1$s),(%1$s)\\)", "\\s*\\d+(?:\\.\\d+)?\\s*")); - - /* renamed from: c reason: collision with root package name */ - public static final Pattern f903c = Pattern.compile(f0.k("\\\\move\\(%1$s,%1$s,(%1$s),(%1$s)(?:,%1$s,%1$s)?\\)", "\\s*\\d+(?:\\.\\d+)?\\s*")); - public static final Pattern d = Pattern.compile("\\\\an(\\d+)"); - - @Nullable - public static PointF a(String str) { - String str2; - String str3; - Matcher matcher = b.matcher(str); - Matcher matcher2 = f903c.matcher(str); - boolean find = matcher.find(); - boolean find2 = matcher2.find(); - if (find) { - if (find2) { - Log.i("SsaStyle.Overrides", "Override has both \\pos(x,y) and \\move(x1,y1,x2,y2); using \\pos values. override='" + str + "'"); - } - str2 = matcher.group(1); - str3 = matcher.group(2); - } else if (!find2) { - return null; - } else { - str2 = matcher2.group(1); - str3 = matcher2.group(2); - } - Objects.requireNonNull(str2); - float parseFloat = Float.parseFloat(str2.trim()); - Objects.requireNonNull(str3); - return new PointF(parseFloat, Float.parseFloat(str3.trim())); - } - } - - public c(String str, int i, @Nullable @ColorInt Integer num, float f, boolean z2, boolean z3) { - this.a = str; - this.b = i; - this.f901c = num; - this.d = f; - this.e = z2; - this.f = z3; - } - - public static int a(String str) { - boolean z2; - try { - int parseInt = Integer.parseInt(str.trim()); - switch (parseInt) { - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - z2 = true; - break; - default: - z2 = false; - break; - } - if (z2) { - return parseInt; - } - } catch (NumberFormatException unused) { - } - c.d.b.a.a.k0("Ignoring unknown alignment: ", str, "SsaStyle"); - return -1; - } - - public static boolean b(String str) { - try { - int parseInt = Integer.parseInt(str); - return parseInt == 1 || parseInt == -1; - } catch (NumberFormatException e) { - p.c("SsaStyle", "Failed to parse bold/italic: '" + str + "'", e); - return false; - } - } - - @Nullable - @ColorInt - public static Integer c(String str) { - try { - long parseLong = str.startsWith("&H") ? Long.parseLong(str.substring(2), 16) : Long.parseLong(str); - d.k(parseLong <= 4294967295L); - return Integer.valueOf(Color.argb(c.i.a.f.e.o.c.t(((parseLong >> 24) & 255) ^ 255), c.i.a.f.e.o.c.t(parseLong & 255), c.i.a.f.e.o.c.t((parseLong >> 8) & 255), c.i.a.f.e.o.c.t((parseLong >> 16) & 255))); - } catch (IllegalArgumentException e) { - p.c("SsaStyle", "Failed to parse color expression: '" + str + "'", e); - return null; - } - } -} diff --git a/app/src/main/java/c/i/a/c/e2/q/d.java b/app/src/main/java/c/i/a/c/e2/q/d.java deleted file mode 100644 index 0cc0a0dcc0..0000000000 --- a/app/src/main/java/c/i/a/c/e2/q/d.java +++ /dev/null @@ -1,79 +0,0 @@ -package c.i.a.c.e2.q; - -import c.i.a.c.e2.c; -import c.i.a.c.e2.f; -import c.i.a.c.i2.f0; -import java.util.Collections; -import java.util.List; -/* compiled from: SsaSubtitle */ -public final class d implements f { - public final List> i; - public final List j; - - public d(List> list, List list2) { - this.i = list; - this.j = list2; - } - - @Override // c.i.a.c.e2.f - public int f(long j) { - int i; - List list = this.j; - Long valueOf = Long.valueOf(j); - int i2 = f0.a; - int binarySearch = Collections.binarySearch(list, valueOf); - if (binarySearch < 0) { - i = ~binarySearch; - } else { - int size = list.size(); - do { - binarySearch++; - if (binarySearch >= size) { - break; - } - } while (list.get(binarySearch).compareTo(valueOf) == 0); - i = binarySearch; - } - if (i < this.j.size()) { - return i; - } - return -1; - } - - @Override // c.i.a.c.e2.f - public long g(int i) { - boolean z2 = true; - c.c.a.a0.d.k(i >= 0); - if (i >= this.j.size()) { - z2 = false; - } - c.c.a.a0.d.k(z2); - return this.j.get(i).longValue(); - } - - @Override // c.i.a.c.e2.f - public List h(long j) { - int i; - List list = this.j; - Long valueOf = Long.valueOf(j); - int i2 = f0.a; - int binarySearch = Collections.binarySearch(list, valueOf); - if (binarySearch < 0) { - i = -(binarySearch + 2); - } else { - do { - binarySearch--; - if (binarySearch < 0) { - break; - } - } while (list.get(binarySearch).compareTo(valueOf) == 0); - i = binarySearch + 1; - } - return i == -1 ? Collections.emptyList() : this.i.get(i); - } - - @Override // c.i.a.c.e2.f - public int i() { - return this.j.size(); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/r/a.java b/app/src/main/java/c/i/a/c/e2/r/a.java deleted file mode 100644 index c75492da49..0000000000 --- a/app/src/main/java/c/i/a/c/e2/r/a.java +++ /dev/null @@ -1,300 +0,0 @@ -package c.i.a.c.e2.r; - -import android.text.Html; -import android.text.Spanned; -import android.text.TextUtils; -import android.util.Log; -import androidx.core.view.ViewCompat; -import c.i.a.c.e2.c; -import c.i.a.c.e2.d; -import c.i.a.c.e2.f; -import c.i.a.c.i2.w; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Objects; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -/* compiled from: SubripDecoder */ -public final class a extends d { - public static final Pattern n = Pattern.compile("\\s*((?:(\\d+):)?(\\d+):(\\d+)(?:,(\\d+))?)\\s*-->\\s*((?:(\\d+):)?(\\d+):(\\d+)(?:,(\\d+))?)\\s*"); - public static final Pattern o = Pattern.compile("\\{\\\\.*?\\}"); - public final StringBuilder p = new StringBuilder(); - public final ArrayList q = new ArrayList<>(); - - public a() { - super("SubripDecoder"); - } - - public static float k(int i) { - if (i == 0) { - return 0.08f; - } - if (i == 1) { - return 0.5f; - } - if (i == 2) { - return 0.92f; - } - throw new IllegalArgumentException(); - } - - public static long l(Matcher matcher, int i) { - String group = matcher.group(i + 1); - long parseLong = group != null ? Long.parseLong(group) * 60 * 60 * 1000 : 0; - String group2 = matcher.group(i + 2); - Objects.requireNonNull(group2); - String group3 = matcher.group(i + 3); - Objects.requireNonNull(group3); - long parseLong2 = (Long.parseLong(group3) * 1000) + (Long.parseLong(group2) * 60 * 1000) + parseLong; - String group4 = matcher.group(i + 4); - if (group4 != null) { - parseLong2 += Long.parseLong(group4); - } - return parseLong2 * 1000; - } - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - @Override // c.i.a.c.e2.d - public f j(byte[] bArr, int i, boolean z2) { - w wVar; - int i2; - long[] jArr; - c cVar; - char c2; - char c3; - a aVar = this; - ArrayList arrayList = new ArrayList(); - long[] jArr2 = new long[32]; - w wVar2 = new w(bArr, i); - int i3 = 0; - int i4 = 0; - while (true) { - String g = wVar2.g(); - if (g != null) { - if (g.length() != 0) { - try { - Integer.parseInt(g); - String g2 = wVar2.g(); - if (g2 == null) { - Log.w("SubripDecoder", "Unexpected end"); - } else { - Matcher matcher = n.matcher(g2); - if (matcher.matches()) { - long l = l(matcher, 1); - if (i4 == jArr2.length) { - jArr2 = Arrays.copyOf(jArr2, i4 * 2); - } - int i5 = i4 + 1; - jArr2[i4] = l; - long l2 = l(matcher, 6); - if (i5 == jArr2.length) { - jArr2 = Arrays.copyOf(jArr2, i5 * 2); - } - int i6 = i5 + 1; - jArr2[i5] = l2; - aVar.p.setLength(i3); - aVar.q.clear(); - for (String g3 = wVar2.g(); !TextUtils.isEmpty(g3); g3 = wVar2.g()) { - if (aVar.p.length() > 0) { - aVar.p.append("
"); - } - StringBuilder sb = aVar.p; - ArrayList arrayList2 = aVar.q; - String trim = g3.trim(); - StringBuilder sb2 = new StringBuilder(trim); - Matcher matcher2 = o.matcher(trim); - int i7 = 0; - while (matcher2.find()) { - String group = matcher2.group(); - arrayList2.add(group); - int start = matcher2.start() - i7; - int length = group.length(); - sb2.replace(start, start + length, ""); - i7 += length; - } - sb.append(sb2.toString()); - } - Spanned fromHtml = Html.fromHtml(aVar.p.toString()); - String str = null; - int i8 = 0; - while (true) { - if (i8 < aVar.q.size()) { - String str2 = aVar.q.get(i8); - if (str2.matches("\\{\\\\an[1-9]\\}")) { - str = str2; - } else { - i8++; - } - } - } - if (str == null) { - cVar = new c(fromHtml, null, null, -3.4028235E38f, Integer.MIN_VALUE, Integer.MIN_VALUE, -3.4028235E38f, Integer.MIN_VALUE, Integer.MIN_VALUE, -3.4028235E38f, -3.4028235E38f, -3.4028235E38f, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null); - jArr = jArr2; - wVar = wVar2; - i2 = i6; - } else { - jArr = jArr2; - wVar = wVar2; - switch (str.hashCode()) { - case -685620710: - if (str.equals("{\\an1}")) { - c2 = 0; - break; - } - c2 = 65535; - break; - case -685620679: - if (str.equals("{\\an2}")) { - c2 = 6; - break; - } - c2 = 65535; - break; - case -685620648: - if (str.equals("{\\an3}")) { - c2 = 3; - break; - } - c2 = 65535; - break; - case -685620617: - if (str.equals("{\\an4}")) { - c2 = 1; - break; - } - c2 = 65535; - break; - case -685620586: - if (str.equals("{\\an5}")) { - c2 = 7; - break; - } - c2 = 65535; - break; - case -685620555: - if (str.equals("{\\an6}")) { - c2 = 4; - break; - } - c2 = 65535; - break; - case -685620524: - if (str.equals("{\\an7}")) { - c2 = 2; - break; - } - c2 = 65535; - break; - case -685620493: - if (str.equals("{\\an8}")) { - c2 = '\b'; - break; - } - c2 = 65535; - break; - case -685620462: - if (str.equals("{\\an9}")) { - c2 = 5; - break; - } - c2 = 65535; - break; - default: - c2 = 65535; - break; - } - i2 = i6; - int i9 = (c2 == 0 || c2 == 1 || c2 == 2) ? 0 : (c2 == 3 || c2 == 4 || c2 == 5) ? 2 : 1; - switch (str.hashCode()) { - case -685620710: - if (str.equals("{\\an1}")) { - c3 = 0; - break; - } - c3 = 65535; - break; - case -685620679: - if (str.equals("{\\an2}")) { - c3 = 1; - break; - } - c3 = 65535; - break; - case -685620648: - if (str.equals("{\\an3}")) { - c3 = 2; - break; - } - c3 = 65535; - break; - case -685620617: - if (str.equals("{\\an4}")) { - c3 = 6; - break; - } - c3 = 65535; - break; - case -685620586: - if (str.equals("{\\an5}")) { - c3 = 7; - break; - } - c3 = 65535; - break; - case -685620555: - if (str.equals("{\\an6}")) { - c3 = '\b'; - break; - } - c3 = 65535; - break; - case -685620524: - if (str.equals("{\\an7}")) { - c3 = 3; - break; - } - c3 = 65535; - break; - case -685620493: - if (str.equals("{\\an8}")) { - c3 = 4; - break; - } - c3 = 65535; - break; - case -685620462: - if (str.equals("{\\an9}")) { - c3 = 5; - break; - } - c3 = 65535; - break; - default: - c3 = 65535; - break; - } - int i10 = (c3 == 0 || c3 == 1 || c3 == 2) ? 2 : (c3 == 3 || c3 == 4 || c3 == 5) ? 0 : 1; - cVar = new c(fromHtml, null, null, k(i10), 0, i10, k(i9), i9, Integer.MIN_VALUE, -3.4028235E38f, -3.4028235E38f, -3.4028235E38f, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null); - } - arrayList.add(cVar); - arrayList.add(c.a); - jArr2 = jArr; - i4 = i2; - } else { - wVar = wVar2; - c.d.b.a.a.k0("Skipping invalid timing: ", g2, "SubripDecoder"); - } - i3 = 0; - aVar = this; - wVar2 = wVar; - } - } catch (NumberFormatException unused) { - wVar = wVar2; - c.d.b.a.a.k0("Skipping invalid index: ", g, "SubripDecoder"); - } - } - } - } - return new b((c[]) arrayList.toArray(new c[0]), Arrays.copyOf(jArr2, i4)); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/r/b.java b/app/src/main/java/c/i/a/c/e2/r/b.java deleted file mode 100644 index 66e906578b..0000000000 --- a/app/src/main/java/c/i/a/c/e2/r/b.java +++ /dev/null @@ -1,55 +0,0 @@ -package c.i.a.c.e2.r; - -import c.c.a.a0.d; -import c.i.a.c.e2.c; -import c.i.a.c.e2.f; -import c.i.a.c.i2.f0; -import java.util.Collections; -import java.util.List; -/* compiled from: SubripSubtitle */ -public final class b implements f { - public final c[] i; - public final long[] j; - - public b(c[] cVarArr, long[] jArr) { - this.i = cVarArr; - this.j = jArr; - } - - @Override // c.i.a.c.e2.f - public int f(long j) { - int b = f0.b(this.j, j, false, false); - if (b < this.j.length) { - return b; - } - return -1; - } - - @Override // c.i.a.c.e2.f - public long g(int i) { - boolean z2 = true; - d.k(i >= 0); - if (i >= this.j.length) { - z2 = false; - } - d.k(z2); - return this.j[i]; - } - - @Override // c.i.a.c.e2.f - public List h(long j) { - int e = f0.e(this.j, j, true, false); - if (e != -1) { - c[] cVarArr = this.i; - if (cVarArr[e] != c.a) { - return Collections.singletonList(cVarArr[e]); - } - } - return Collections.emptyList(); - } - - @Override // c.i.a.c.e2.f - public int i() { - return this.j.length; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/s/a.java b/app/src/main/java/c/i/a/c/e2/s/a.java deleted file mode 100644 index 09135e7318..0000000000 --- a/app/src/main/java/c/i/a/c/e2/s/a.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.a.c.e2.s; -/* compiled from: DeleteTextSpan */ -public final class a { -} diff --git a/app/src/main/java/c/i/a/c/e2/s/b.java b/app/src/main/java/c/i/a/c/e2/s/b.java deleted file mode 100644 index f3ddc47609..0000000000 --- a/app/src/main/java/c/i/a/c/e2/s/b.java +++ /dev/null @@ -1,27 +0,0 @@ -package c.i.a.c.e2.s; - -import c.i.b.b.z; -import java.util.regex.Pattern; -/* compiled from: TextEmphasis */ -public final class b { - public static final Pattern a = Pattern.compile("\\s+"); - public static final z b = z.l(2, "auto", "none"); - - /* renamed from: c reason: collision with root package name */ - public static final z f904c = z.t("dot", "sesame", "circle"); - public static final z d = z.l(2, "filled", "open"); - public static final z e = z.t("after", "before", "outside"); - public final int f; - public final int g; - public final int h; - - static { - int i = z.j; - } - - public b(int i, int i2, int i3) { - this.f = i; - this.g = i2; - this.h = i3; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/s/c.java b/app/src/main/java/c/i/a/c/e2/s/c.java deleted file mode 100644 index 0aa3935d1e..0000000000 --- a/app/src/main/java/c/i/a/c/e2/s/c.java +++ /dev/null @@ -1,1264 +0,0 @@ -package c.i.a.c.e2.s; - -import android.text.Layout; -import android.text.TextUtils; -import android.util.Log; -import androidx.annotation.Nullable; -import androidx.core.app.NotificationCompat; -import c.i.a.c.e2.d; -import c.i.a.c.e2.f; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.i; -import c.i.a.c.i2.p; -import c.i.b.b.a1; -import c.i.b.b.h; -import c.i.b.b.y0; -import c.i.b.b.z; -import com.discord.models.domain.ModelAuditLogEntry; -import com.google.android.exoplayer2.text.SubtitleDecoderException; -import com.google.android.material.shadow.ShadowDrawableWrapper; -import java.io.ByteArrayInputStream; -import java.io.IOException; -import java.util.ArrayDeque; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.Map; -import java.util.Objects; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -import org.xmlpull.v1.XmlPullParser; -import org.xmlpull.v1.XmlPullParserException; -import org.xmlpull.v1.XmlPullParserFactory; -/* compiled from: TtmlDecoder */ -public final class c extends d { - public static final Pattern n = Pattern.compile("^([0-9][0-9]+):([0-9][0-9]):([0-9][0-9])(?:(\\.[0-9]+)|:([0-9][0-9])(?:\\.([0-9]+))?)?$"); - public static final Pattern o = Pattern.compile("^([0-9]+(?:\\.[0-9]+)?)(h|m|s|ms|f|t)$"); - public static final Pattern p = Pattern.compile("^(([0-9]*.)?[0-9]+)(px|em|%)$"); - public static final Pattern q = Pattern.compile("^([-+]?\\d+\\.?\\d*?)%$"); - - /* renamed from: r reason: collision with root package name */ - public static final Pattern f905r = Pattern.compile("^(\\d+\\.?\\d*?)% (\\d+\\.?\\d*?)%$"); - public static final Pattern s = Pattern.compile("^(\\d+\\.?\\d*?)px (\\d+\\.?\\d*?)px$"); - public static final Pattern t = Pattern.compile("^(\\d+) (\\d+)$"); - public static final b u = new b(30.0f, 1, 1); - public static final a v = new a(32, 15); - - /* renamed from: w reason: collision with root package name */ - public final XmlPullParserFactory f906w; - - /* compiled from: TtmlDecoder */ - public static final class a { - public final int a; - - public a(int i, int i2) { - this.a = i2; - } - } - - /* compiled from: TtmlDecoder */ - public static final class b { - public final float a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f907c; - - public b(float f, int i, int i2) { - this.a = f; - this.b = i; - this.f907c = i2; - } - } - - /* compiled from: TtmlDecoder */ - /* renamed from: c.i.a.c.e2.s.c$c reason: collision with other inner class name */ - public static final class C0096c { - public final int a; - public final int b; - - public C0096c(int i, int i2) { - this.a = i; - this.b = i2; - } - } - - public c() { - super("TtmlDecoder"); - try { - XmlPullParserFactory newInstance = XmlPullParserFactory.newInstance(); - this.f906w = newInstance; - newInstance.setNamespaceAware(true); - } catch (XmlPullParserException e) { - throw new RuntimeException("Couldn't create XmlPullParserFactory instance", e); - } - } - - public static f k(@Nullable f fVar) { - return fVar == null ? new f() : fVar; - } - - public static boolean l(String str) { - return str.equals("tt") || str.equals("head") || str.equals("body") || str.equals("div") || str.equals("p") || str.equals("span") || str.equals("br") || str.equals("style") || str.equals("styling") || str.equals("layout") || str.equals(ModelAuditLogEntry.CHANGE_KEY_REGION) || str.equals("metadata") || str.equals("image") || str.equals("data") || str.equals("information"); - } - - public static a m(XmlPullParser xmlPullParser, a aVar) throws SubtitleDecoderException { - String attributeValue = xmlPullParser.getAttributeValue("http://www.w3.org/ns/ttml#parameter", "cellResolution"); - if (attributeValue == null) { - return aVar; - } - Matcher matcher = t.matcher(attributeValue); - if (!matcher.matches()) { - c.d.b.a.a.k0("Ignoring malformed cell resolution: ", attributeValue, "TtmlDecoder"); - return aVar; - } - try { - String group = matcher.group(1); - Objects.requireNonNull(group); - int parseInt = Integer.parseInt(group); - String group2 = matcher.group(2); - Objects.requireNonNull(group2); - int parseInt2 = Integer.parseInt(group2); - if (parseInt != 0 && parseInt2 != 0) { - return new a(parseInt, parseInt2); - } - throw new SubtitleDecoderException("Invalid cell resolution " + parseInt + " " + parseInt2); - } catch (NumberFormatException unused) { - c.d.b.a.a.k0("Ignoring malformed cell resolution: ", attributeValue, "TtmlDecoder"); - return aVar; - } - } - - public static void n(String str, f fVar) throws SubtitleDecoderException { - Matcher matcher; - int i = f0.a; - String[] split = str.split("\\s+", -1); - if (split.length == 1) { - matcher = p.matcher(str); - } else if (split.length == 2) { - matcher = p.matcher(split[1]); - Log.w("TtmlDecoder", "Multiple values in fontSize attribute. Picking the second value for vertical font size and ignoring the first."); - } else { - throw new SubtitleDecoderException(c.d.b.a.a.z(c.d.b.a.a.O("Invalid number of entries for fontSize: "), split.length, ".")); - } - if (matcher.matches()) { - String group = matcher.group(3); - Objects.requireNonNull(group); - group.hashCode(); - char c2 = 65535; - switch (group.hashCode()) { - case 37: - if (group.equals("%")) { - c2 = 0; - break; - } - break; - case 3240: - if (group.equals("em")) { - c2 = 1; - break; - } - break; - case 3592: - if (group.equals("px")) { - c2 = 2; - break; - } - break; - } - switch (c2) { - case 0: - fVar.j = 3; - break; - case 1: - fVar.j = 2; - break; - case 2: - fVar.j = 1; - break; - default: - throw new SubtitleDecoderException(c.d.b.a.a.v("Invalid unit for fontSize: '", group, "'.")); - } - String group2 = matcher.group(1); - Objects.requireNonNull(group2); - fVar.k = Float.parseFloat(group2); - return; - } - throw new SubtitleDecoderException(c.d.b.a.a.v("Invalid expression for fontSize: '", str, "'.")); - } - - public static b o(XmlPullParser xmlPullParser) throws SubtitleDecoderException { - String attributeValue = xmlPullParser.getAttributeValue("http://www.w3.org/ns/ttml#parameter", "frameRate"); - int parseInt = attributeValue != null ? Integer.parseInt(attributeValue) : 30; - float f = 1.0f; - String attributeValue2 = xmlPullParser.getAttributeValue("http://www.w3.org/ns/ttml#parameter", "frameRateMultiplier"); - if (attributeValue2 != null) { - int i = f0.a; - String[] split = attributeValue2.split(" ", -1); - if (split.length == 2) { - f = ((float) Integer.parseInt(split[0])) / ((float) Integer.parseInt(split[1])); - } else { - throw new SubtitleDecoderException("frameRateMultiplier doesn't have 2 parts"); - } - } - b bVar = u; - int i2 = bVar.b; - String attributeValue3 = xmlPullParser.getAttributeValue("http://www.w3.org/ns/ttml#parameter", "subFrameRate"); - if (attributeValue3 != null) { - i2 = Integer.parseInt(attributeValue3); - } - int i3 = bVar.f907c; - String attributeValue4 = xmlPullParser.getAttributeValue("http://www.w3.org/ns/ttml#parameter", "tickRate"); - if (attributeValue4 != null) { - i3 = Integer.parseInt(attributeValue4); - } - return new b(((float) parseInt) * f, i2, i3); - } - - /* JADX WARNING: Removed duplicated region for block: B:59:0x016f */ - /* JADX WARNING: Removed duplicated region for block: B:76:0x01ac A[ADDED_TO_REGION] */ - /* JADX WARNING: Removed duplicated region for block: B:93:0x01ee */ - public static Map p(XmlPullParser xmlPullParser, Map map, a aVar, @Nullable C0096c cVar, Map map2, Map map3) throws IOException, XmlPullParserException { - String t0; - e eVar; - float f; - float f2; - float f3; - float f4; - int i; - float f5; - String t02; - int i2; - char c2; - do { - xmlPullParser.next(); - if (c.c.a.a0.d.b1(xmlPullParser, "style")) { - String t03 = c.c.a.a0.d.t0(xmlPullParser, "style"); - f r2 = r(xmlPullParser, new f()); - if (t03 != null) { - for (String str : s(t03)) { - r2.a(map.get(str)); - } - } - String str2 = r2.l; - if (str2 != null) { - map.put(str2, r2); - } - } else if (c.c.a.a0.d.b1(xmlPullParser, ModelAuditLogEntry.CHANGE_KEY_REGION)) { - String t04 = c.c.a.a0.d.t0(xmlPullParser, ModelAuditLogEntry.CHANGE_KEY_ID); - if (t04 != null) { - String t05 = c.c.a.a0.d.t0(xmlPullParser, "origin"); - if (t05 != null) { - Pattern pattern = f905r; - Matcher matcher = pattern.matcher(t05); - Pattern pattern2 = s; - Matcher matcher2 = pattern2.matcher(t05); - if (matcher.matches()) { - try { - String group = matcher.group(1); - Objects.requireNonNull(group); - f = Float.parseFloat(group) / 100.0f; - String group2 = matcher.group(2); - Objects.requireNonNull(group2); - f2 = Float.parseFloat(group2) / 100.0f; - } catch (NumberFormatException unused) { - c.d.b.a.a.k0("Ignoring region with malformed origin: ", t05, "TtmlDecoder"); - } - } else if (!matcher2.matches()) { - c.d.b.a.a.k0("Ignoring region with unsupported origin: ", t05, "TtmlDecoder"); - } else if (cVar == null) { - c.d.b.a.a.k0("Ignoring region with missing tts:extent: ", t05, "TtmlDecoder"); - } else { - try { - String group3 = matcher2.group(1); - Objects.requireNonNull(group3); - int parseInt = Integer.parseInt(group3); - String group4 = matcher2.group(2); - Objects.requireNonNull(group4); - int parseInt2 = Integer.parseInt(group4); - float f6 = ((float) parseInt) / ((float) cVar.a); - float f7 = ((float) parseInt2) / ((float) cVar.b); - f = f6; - f2 = f7; - } catch (NumberFormatException unused2) { - c.d.b.a.a.k0("Ignoring region with malformed origin: ", t05, "TtmlDecoder"); - } - } - String t06 = c.c.a.a0.d.t0(xmlPullParser, "extent"); - if (t06 != null) { - Matcher matcher3 = pattern.matcher(t06); - Matcher matcher4 = pattern2.matcher(t06); - if (matcher3.matches()) { - try { - String group5 = matcher3.group(1); - Objects.requireNonNull(group5); - float parseFloat = Float.parseFloat(group5) / 100.0f; - String group6 = matcher3.group(2); - Objects.requireNonNull(group6); - f3 = Float.parseFloat(group6) / 100.0f; - f4 = parseFloat; - } catch (NumberFormatException unused3) { - c.d.b.a.a.k0("Ignoring region with malformed extent: ", t05, "TtmlDecoder"); - } - } else if (!matcher4.matches()) { - c.d.b.a.a.k0("Ignoring region with unsupported extent: ", t05, "TtmlDecoder"); - } else if (cVar == null) { - c.d.b.a.a.k0("Ignoring region with missing tts:extent: ", t05, "TtmlDecoder"); - } else { - try { - String group7 = matcher4.group(1); - Objects.requireNonNull(group7); - int parseInt3 = Integer.parseInt(group7); - String group8 = matcher4.group(2); - Objects.requireNonNull(group8); - float parseInt4 = (float) Integer.parseInt(group8); - f4 = ((float) parseInt3) / ((float) cVar.a); - f3 = parseInt4 / ((float) cVar.b); - } catch (NumberFormatException unused4) { - c.d.b.a.a.k0("Ignoring region with malformed extent: ", t05, "TtmlDecoder"); - } - } - String t07 = c.c.a.a0.d.t0(xmlPullParser, "displayAlign"); - if (t07 != null) { - String K = f0.K(t07); - K.hashCode(); - if (K.equals("center")) { - f5 = (f3 / 2.0f) + f2; - i = 1; - } else if (K.equals("after")) { - f5 = f2 + f3; - i = 2; - } - float f8 = 1.0f / ((float) aVar.a); - t02 = c.c.a.a0.d.t0(xmlPullParser, "writingMode"); - if (t02 != null) { - String K2 = f0.K(t02); - K2.hashCode(); - int hashCode = K2.hashCode(); - if (hashCode != 3694) { - if (hashCode != 3553396) { - if (hashCode == 3553576 && K2.equals("tbrl")) { - c2 = 2; - if (c2 != 0 || c2 == 1) { - i2 = 2; - eVar = new e(t04, f, f5, 0, i, f4, f3, 1, f8, i2); - if (eVar != null) { - map2.put(eVar.a, eVar); - } - } else if (c2 == 2) { - i2 = 1; - eVar = new e(t04, f, f5, 0, i, f4, f3, 1, f8, i2); - if (eVar != null) { - } - } - } - } else if (K2.equals("tblr")) { - c2 = 1; - if (c2 != 0) { - } - i2 = 2; - eVar = new e(t04, f, f5, 0, i, f4, f3, 1, f8, i2); - if (eVar != null) { - } - } - } else if (K2.equals("tb")) { - c2 = 0; - if (c2 != 0) { - } - i2 = 2; - eVar = new e(t04, f, f5, 0, i, f4, f3, 1, f8, i2); - if (eVar != null) { - } - } - c2 = 65535; - if (c2 != 0) { - } - i2 = 2; - eVar = new e(t04, f, f5, 0, i, f4, f3, 1, f8, i2); - if (eVar != null) { - } - } - i2 = Integer.MIN_VALUE; - eVar = new e(t04, f, f5, 0, i, f4, f3, 1, f8, i2); - if (eVar != null) { - } - } - f5 = f2; - i = 0; - float f8 = 1.0f / ((float) aVar.a); - t02 = c.c.a.a0.d.t0(xmlPullParser, "writingMode"); - if (t02 != null) { - } - i2 = Integer.MIN_VALUE; - eVar = new e(t04, f, f5, 0, i, f4, f3, 1, f8, i2); - if (eVar != null) { - } - } else { - Log.w("TtmlDecoder", "Ignoring region without an extent"); - } - } else { - Log.w("TtmlDecoder", "Ignoring region without an origin"); - } - } - eVar = null; - if (eVar != null) { - } - } else if (c.c.a.a0.d.b1(xmlPullParser, "metadata")) { - do { - xmlPullParser.next(); - if (c.c.a.a0.d.b1(xmlPullParser, "image") && (t0 = c.c.a.a0.d.t0(xmlPullParser, ModelAuditLogEntry.CHANGE_KEY_ID)) != null) { - map3.put(t0, xmlPullParser.nextText()); - } - } while (!c.c.a.a0.d.U0(xmlPullParser, "metadata")); - } - } while (!c.c.a.a0.d.U0(xmlPullParser, "head")); - return map; - } - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - public static d q(XmlPullParser xmlPullParser, @Nullable d dVar, Map map, b bVar) throws SubtitleDecoderException { - long j; - long j2; - char c2; - XmlPullParser xmlPullParser2 = xmlPullParser; - int attributeCount = xmlPullParser.getAttributeCount(); - f r2 = r(xmlPullParser2, null); - String str = null; - String str2 = ""; - long j3 = -9223372036854775807L; - long j4 = -9223372036854775807L; - long j5 = -9223372036854775807L; - String[] strArr = null; - int i = 0; - while (i < attributeCount) { - String attributeName = xmlPullParser2.getAttributeName(i); - String attributeValue = xmlPullParser2.getAttributeValue(i); - attributeName.hashCode(); - switch (attributeName.hashCode()) { - case -934795532: - if (attributeName.equals(ModelAuditLogEntry.CHANGE_KEY_REGION)) { - c2 = 0; - break; - } - c2 = 65535; - break; - case 99841: - if (attributeName.equals("dur")) { - c2 = 1; - break; - } - c2 = 65535; - break; - case 100571: - if (attributeName.equals("end")) { - c2 = 2; - break; - } - c2 = 65535; - break; - case 93616297: - if (attributeName.equals("begin")) { - c2 = 3; - break; - } - c2 = 65535; - break; - case 109780401: - if (attributeName.equals("style")) { - c2 = 4; - break; - } - c2 = 65535; - break; - case 1292595405: - if (attributeName.equals("backgroundImage")) { - c2 = 5; - break; - } - c2 = 65535; - break; - default: - c2 = 65535; - break; - } - if (c2 != 0) { - if (c2 == 1) { - j5 = t(attributeValue, bVar); - } else if (c2 == 2) { - j4 = t(attributeValue, bVar); - } else if (c2 == 3) { - j3 = t(attributeValue, bVar); - } else if (c2 == 4) { - String[] s2 = s(attributeValue); - if (s2.length > 0) { - strArr = s2; - } - } else if (c2 == 5 && attributeValue.startsWith("#")) { - str = attributeValue.substring(1); - } - } else if (map.containsKey(attributeValue)) { - str2 = attributeValue; - } - i++; - xmlPullParser2 = xmlPullParser; - } - if (dVar != null) { - long j6 = dVar.d; - j = -9223372036854775807L; - if (j6 != -9223372036854775807L) { - if (j3 != -9223372036854775807L) { - j3 += j6; - } - if (j4 != -9223372036854775807L) { - j4 += j6; - } - } - } else { - j = -9223372036854775807L; - } - if (j4 == j) { - if (j5 != j) { - j2 = j3 + j5; - } else if (dVar != null) { - long j7 = dVar.e; - if (j7 != j) { - j2 = j7; - } - } - return new d(xmlPullParser.getName(), null, j3, j2, r2, strArr, str2, str, dVar); - } - j2 = j4; - return new d(xmlPullParser.getName(), null, j3, j2, r2, strArr, str2, str, dVar); - } - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - /* JADX WARNING: Code restructure failed: missing block: B:95:0x01b3, code lost: - if (r3.equals("auto") != false) goto L_0x01b7; - */ - /* JADX WARNING: Removed duplicated region for block: B:100:0x01c1 */ - /* JADX WARNING: Removed duplicated region for block: B:118:0x0213 */ - /* JADX WARNING: Removed duplicated region for block: B:119:0x0215 */ - /* JADX WARNING: Removed duplicated region for block: B:122:0x0227 */ - /* JADX WARNING: Removed duplicated region for block: B:132:0x0246 */ - /* JADX WARNING: Removed duplicated region for block: B:136:0x024f */ - /* JADX WARNING: Removed duplicated region for block: B:139:0x0255 */ - /* JADX WARNING: Removed duplicated region for block: B:81:0x0176 */ - /* JADX WARNING: Removed duplicated region for block: B:84:0x017c */ - /* JADX WARNING: Removed duplicated region for block: B:87:0x018b */ - /* JADX WARNING: Removed duplicated region for block: B:98:0x01ba */ - public static f r(XmlPullParser xmlPullParser, f fVar) { - char c2; - char c3; - h.a aVar; - b bVar; - char c4; - int hashCode; - int attributeCount = xmlPullParser.getAttributeCount(); - for (int i = 0; i < attributeCount; i++) { - String attributeValue = xmlPullParser.getAttributeValue(i); - String attributeName = xmlPullParser.getAttributeName(i); - attributeName.hashCode(); - int i2 = -1; - char c5 = 1; - switch (attributeName.hashCode()) { - case -1550943582: - if (attributeName.equals("fontStyle")) { - c2 = 0; - break; - } - c2 = 65535; - break; - case -1224696685: - if (attributeName.equals("fontFamily")) { - c2 = 1; - break; - } - c2 = 65535; - break; - case -1065511464: - if (attributeName.equals("textAlign")) { - c2 = 2; - break; - } - c2 = 65535; - break; - case -879295043: - if (attributeName.equals("textDecoration")) { - c2 = 3; - break; - } - c2 = 65535; - break; - case -734428249: - if (attributeName.equals("fontWeight")) { - c2 = 4; - break; - } - c2 = 65535; - break; - case 3355: - if (attributeName.equals(ModelAuditLogEntry.CHANGE_KEY_ID)) { - c2 = 5; - break; - } - c2 = 65535; - break; - case 3511770: - if (attributeName.equals("ruby")) { - c2 = 6; - break; - } - c2 = 65535; - break; - case 94842723: - if (attributeName.equals(ModelAuditLogEntry.CHANGE_KEY_COLOR)) { - c2 = 7; - break; - } - c2 = 65535; - break; - case 109403361: - if (attributeName.equals("shear")) { - c2 = '\b'; - break; - } - c2 = 65535; - break; - case 110138194: - if (attributeName.equals("textCombine")) { - c2 = '\t'; - break; - } - c2 = 65535; - break; - case 365601008: - if (attributeName.equals("fontSize")) { - c2 = '\n'; - break; - } - c2 = 65535; - break; - case 921125321: - if (attributeName.equals("textEmphasis")) { - c2 = 11; - break; - } - c2 = 65535; - break; - case 1115953443: - if (attributeName.equals("rubyPosition")) { - c2 = '\f'; - break; - } - c2 = 65535; - break; - case 1287124693: - if (attributeName.equals("backgroundColor")) { - c2 = '\r'; - break; - } - c2 = 65535; - break; - default: - c2 = 65535; - break; - } - switch (c2) { - case 0: - fVar = k(fVar); - fVar.i = "italic".equalsIgnoreCase(attributeValue) ? 1 : 0; - break; - case 1: - fVar = k(fVar); - fVar.a = attributeValue; - break; - case 2: - String K = f0.K(attributeValue); - K.hashCode(); - K.hashCode(); - char c6 = 65535; - switch (K.hashCode()) { - case -1364013995: - if (K.equals("center")) { - c6 = 0; - break; - } - break; - case 100571: - if (K.equals("end")) { - c6 = 1; - break; - } - break; - case 3317767: - if (K.equals("left")) { - c6 = 2; - break; - } - break; - case 108511772: - if (K.equals("right")) { - c6 = 3; - break; - } - break; - case 109757538: - if (K.equals("start")) { - c6 = 4; - break; - } - break; - } - switch (c6) { - case 0: - fVar = k(fVar); - fVar.o = Layout.Alignment.ALIGN_CENTER; - continue; - case 1: - case 3: - fVar = k(fVar); - fVar.o = Layout.Alignment.ALIGN_OPPOSITE; - continue; - case 2: - case 4: - fVar = k(fVar); - fVar.o = Layout.Alignment.ALIGN_NORMAL; - continue; - } - case 3: - String K2 = f0.K(attributeValue); - K2.hashCode(); - K2.hashCode(); - char c7 = 65535; - switch (K2.hashCode()) { - case -1461280213: - if (K2.equals("nounderline")) { - c7 = 0; - break; - } - break; - case -1026963764: - if (K2.equals("underline")) { - c7 = 1; - break; - } - break; - case 913457136: - if (K2.equals("nolinethrough")) { - c7 = 2; - break; - } - break; - case 1679736913: - if (K2.equals("linethrough")) { - c7 = 3; - break; - } - break; - } - switch (c7) { - case 0: - fVar = k(fVar); - fVar.g = 0; - continue; - case 1: - fVar = k(fVar); - fVar.g = 1; - continue; - case 2: - fVar = k(fVar); - fVar.f = 0; - continue; - case 3: - fVar = k(fVar); - fVar.f = 1; - continue; - } - case 4: - fVar = k(fVar); - fVar.h = "bold".equalsIgnoreCase(attributeValue) ? 1 : 0; - break; - case 5: - if ("style".equals(xmlPullParser.getName())) { - fVar = k(fVar); - fVar.l = attributeValue; - break; - } else { - break; - } - case 6: - String K3 = f0.K(attributeValue); - K3.hashCode(); - switch (K3.hashCode()) { - case -618561360: - if (K3.equals("baseContainer")) { - i2 = 0; - break; - } - break; - case -410956671: - if (K3.equals("container")) { - i2 = 1; - break; - } - break; - case -250518009: - if (K3.equals("delimiter")) { - i2 = 2; - break; - } - break; - case -136074796: - if (K3.equals("textContainer")) { - i2 = 3; - break; - } - break; - case 3016401: - if (K3.equals("base")) { - i2 = 4; - break; - } - break; - case 3556653: - if (K3.equals(NotificationCompat.MessagingStyle.Message.KEY_TEXT)) { - i2 = 5; - break; - } - break; - } - if (i2 != 0) { - if (i2 != 1) { - if (i2 != 2) { - if (i2 != 3) { - if (i2 != 4) { - if (i2 != 5) { - break; - } - } - } - fVar = k(fVar); - fVar.m = 3; - break; - } else { - fVar = k(fVar); - fVar.m = 4; - break; - } - } else { - fVar = k(fVar); - fVar.m = 1; - break; - } - } - fVar = k(fVar); - fVar.m = 2; - break; - case 7: - fVar = k(fVar); - try { - fVar.b = i.a(attributeValue, false); - fVar.f910c = true; - break; - } catch (IllegalArgumentException unused) { - c.d.b.a.a.k0("Failed parsing color value: ", attributeValue, "TtmlDecoder"); - break; - } - case '\b': - fVar = k(fVar); - Matcher matcher = q.matcher(attributeValue); - float f = Float.MAX_VALUE; - if (!matcher.matches()) { - c.d.b.a.a.k0("Invalid value for shear: ", attributeValue, "TtmlDecoder"); - } else { - try { - String group = matcher.group(1); - Objects.requireNonNull(group); - f = Math.min(100.0f, Math.max(-100.0f, Float.parseFloat(group))); - } catch (NumberFormatException e) { - p.c("TtmlDecoder", "Failed to parse shear: " + attributeValue, e); - } - } - fVar.f911r = f; - break; - case '\t': - String K4 = f0.K(attributeValue); - K4.hashCode(); - if (!K4.equals("all")) { - if (!K4.equals("none")) { - break; - } else { - fVar = k(fVar); - fVar.p = 0; - break; - } - } else { - fVar = k(fVar); - fVar.p = 1; - break; - } - case '\n': - try { - fVar = k(fVar); - n(attributeValue, fVar); - break; - } catch (SubtitleDecoderException unused2) { - c.d.b.a.a.k0("Failed parsing fontSize value: ", attributeValue, "TtmlDecoder"); - break; - } - case 11: - fVar = k(fVar); - String K5 = f0.K(attributeValue); - Pattern pattern = b.a; - b bVar2 = null; - if (K5 != null) { - String trim = K5.trim(); - if (!trim.isEmpty()) { - z n2 = z.n(TextUtils.split(trim, b.a)); - String str = (String) c.i.a.f.e.o.c.K(h.b(b.e, n2), "outside"); - int hashCode2 = str.hashCode(); - if (hashCode2 != -1392885889) { - if (hashCode2 != -1106037339) { - if (hashCode2 == 92734940 && str.equals("after")) { - c3 = 0; - int i3 = c3 == 0 ? c3 != 1 ? 1 : -2 : 2; - aVar = (h.a) h.b(b.b, n2); - if (aVar.isEmpty()) { - String next = new y0(aVar).next(); - int hashCode3 = next.hashCode(); - if (hashCode3 == 3005871) { - break; - } else if (hashCode3 == 3387192 && next.equals("none")) { - c5 = 0; - if (c5 == 0) { - i2 = 0; - } - bVar = new b(i2, 0, i3); - } - c5 = 65535; - if (c5 == 0) { - } - bVar = new b(i2, 0, i3); - } else { - a1 b2 = h.b(b.d, n2); - a1 b3 = h.b(b.f904c, n2); - if (!((h.a) b2).isEmpty() || !((h.a) b3).isEmpty()) { - String str2 = (String) c.i.a.f.e.o.c.K(b2, "filled"); - int hashCode4 = str2.hashCode(); - if (hashCode4 != -1274499742) { - if (hashCode4 == 3417674 && str2.equals("open")) { - c4 = 0; - int i4 = c4 != 0 ? 1 : 2; - String str3 = (String) c.i.a.f.e.o.c.K(b3, "circle"); - hashCode = str3.hashCode(); - if (hashCode != -1360216880) { - if (hashCode != -905816648) { - if (hashCode == 99657 && str3.equals("dot")) { - i2 = 0; - } - } else if (str3.equals("sesame")) { - i2 = 1; - } - } else if (str3.equals("circle")) { - i2 = 2; - } - bVar2 = new b(i2 != 0 ? i2 != 1 ? 1 : 3 : 2, i4, i3); - } - } else if (str2.equals("filled")) { - c4 = 1; - if (c4 != 0) { - } - String str3 = (String) c.i.a.f.e.o.c.K(b3, "circle"); - hashCode = str3.hashCode(); - if (hashCode != -1360216880) { - } - bVar2 = new b(i2 != 0 ? i2 != 1 ? 1 : 3 : 2, i4, i3); - } - c4 = 65535; - if (c4 != 0) { - } - String str3 = (String) c.i.a.f.e.o.c.K(b3, "circle"); - hashCode = str3.hashCode(); - if (hashCode != -1360216880) { - } - bVar2 = new b(i2 != 0 ? i2 != 1 ? 1 : 3 : 2, i4, i3); - } else { - bVar = new b(-1, 0, i3); - } - } - bVar2 = bVar; - } - } else if (str.equals("outside")) { - c3 = 1; - if (c3 == 0) { - } - aVar = (h.a) h.b(b.b, n2); - if (aVar.isEmpty()) { - } - bVar2 = bVar; - } - } else if (str.equals("before")) { - c3 = 2; - if (c3 == 0) { - } - aVar = (h.a) h.b(b.b, n2); - if (aVar.isEmpty()) { - } - bVar2 = bVar; - } - c3 = 65535; - if (c3 == 0) { - } - aVar = (h.a) h.b(b.b, n2); - if (aVar.isEmpty()) { - } - bVar2 = bVar; - } - } - fVar.q = bVar2; - break; - case '\f': - String K6 = f0.K(attributeValue); - K6.hashCode(); - if (!K6.equals("before")) { - if (!K6.equals("after")) { - break; - } else { - fVar = k(fVar); - fVar.n = 2; - break; - } - } else { - fVar = k(fVar); - fVar.n = 1; - break; - } - case '\r': - fVar = k(fVar); - try { - fVar.d = i.a(attributeValue, false); - fVar.e = true; - break; - } catch (IllegalArgumentException unused3) { - c.d.b.a.a.k0("Failed parsing background value: ", attributeValue, "TtmlDecoder"); - break; - } - } - } - return fVar; - } - - public static String[] s(String str) { - String trim = str.trim(); - if (trim.isEmpty()) { - return new String[0]; - } - int i = f0.a; - return trim.split("\\s+", -1); - } - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - /* JADX WARNING: Code restructure failed: missing block: B:21:0x00ab, code lost: - if (r13.equals("ms") == false) goto L_0x00da; - */ - public static long t(String str, b bVar) throws SubtitleDecoderException { - double parseDouble; - double d; - double d2; - Matcher matcher = n.matcher(str); - char c2 = 4; - if (matcher.matches()) { - String group = matcher.group(1); - Objects.requireNonNull(group); - String group2 = matcher.group(2); - Objects.requireNonNull(group2); - String group3 = matcher.group(3); - Objects.requireNonNull(group3); - double parseLong = ((double) (Long.parseLong(group) * 3600)) + ((double) (Long.parseLong(group2) * 60)) + ((double) Long.parseLong(group3)); - String group4 = matcher.group(4); - double d3 = ShadowDrawableWrapper.COS_45; - double parseDouble2 = parseLong + (group4 != null ? Double.parseDouble(group4) : 0.0d); - String group5 = matcher.group(5); - double parseLong2 = parseDouble2 + (group5 != null ? (double) (((float) Long.parseLong(group5)) / bVar.a) : 0.0d); - String group6 = matcher.group(6); - if (group6 != null) { - d3 = (((double) Long.parseLong(group6)) / ((double) bVar.b)) / ((double) bVar.a); - } - parseDouble = parseLong2 + d3; - } else { - Matcher matcher2 = o.matcher(str); - if (matcher2.matches()) { - String group7 = matcher2.group(1); - Objects.requireNonNull(group7); - parseDouble = Double.parseDouble(group7); - String group8 = matcher2.group(2); - Objects.requireNonNull(group8); - switch (group8.hashCode()) { - case 102: - if (group8.equals("f")) { - c2 = 0; - break; - } - c2 = 65535; - break; - case 104: - if (group8.equals("h")) { - c2 = 1; - break; - } - c2 = 65535; - break; - case 109: - if (group8.equals("m")) { - c2 = 2; - break; - } - c2 = 65535; - break; - case 116: - if (group8.equals("t")) { - c2 = 3; - break; - } - c2 = 65535; - break; - case 3494: - break; - default: - c2 = 65535; - break; - } - switch (c2) { - case 0: - d = (double) bVar.a; - parseDouble /= d; - break; - case 1: - d2 = 3600.0d; - parseDouble *= d2; - break; - case 2: - d2 = 60.0d; - parseDouble *= d2; - break; - case 3: - d = (double) bVar.f907c; - parseDouble /= d; - break; - case 4: - d = 1000.0d; - parseDouble /= d; - break; - } - } else { - throw new SubtitleDecoderException(c.d.b.a.a.u("Malformed time expression: ", str)); - } - } - return (long) (parseDouble * 1000000.0d); - } - - @Nullable - public static C0096c u(XmlPullParser xmlPullParser) { - String t0 = c.c.a.a0.d.t0(xmlPullParser, "extent"); - if (t0 == null) { - return null; - } - Matcher matcher = s.matcher(t0); - if (!matcher.matches()) { - c.d.b.a.a.k0("Ignoring non-pixel tts extent: ", t0, "TtmlDecoder"); - return null; - } - try { - String group = matcher.group(1); - Objects.requireNonNull(group); - int parseInt = Integer.parseInt(group); - String group2 = matcher.group(2); - Objects.requireNonNull(group2); - return new C0096c(parseInt, Integer.parseInt(group2)); - } catch (NumberFormatException unused) { - c.d.b.a.a.k0("Ignoring malformed tts extent: ", t0, "TtmlDecoder"); - return null; - } - } - - @Override // c.i.a.c.e2.d - public f j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException { - b bVar; - try { - XmlPullParser newPullParser = this.f906w.newPullParser(); - HashMap hashMap = new HashMap(); - HashMap hashMap2 = new HashMap(); - HashMap hashMap3 = new HashMap(); - hashMap2.put("", new e("", -3.4028235E38f, -3.4028235E38f, Integer.MIN_VALUE, Integer.MIN_VALUE, -3.4028235E38f, -3.4028235E38f, Integer.MIN_VALUE, -3.4028235E38f, Integer.MIN_VALUE)); - C0096c cVar = null; - newPullParser.setInput(new ByteArrayInputStream(bArr, 0, i), null); - ArrayDeque arrayDeque = new ArrayDeque(); - b bVar2 = u; - a aVar = v; - g gVar = null; - int i2 = 0; - for (int eventType = newPullParser.getEventType(); eventType != 1; eventType = newPullParser.getEventType()) { - d dVar = (d) arrayDeque.peek(); - if (i2 == 0) { - String name = newPullParser.getName(); - if (eventType == 2) { - if ("tt".equals(name)) { - bVar2 = o(newPullParser); - aVar = m(newPullParser, v); - cVar = u(newPullParser); - } - if (!l(name)) { - Log.i("TtmlDecoder", "Ignoring unsupported tag: " + newPullParser.getName()); - i2++; - bVar = bVar2; - } else if ("head".equals(name)) { - bVar = bVar2; - p(newPullParser, hashMap, aVar, cVar, hashMap2, hashMap3); - } else { - bVar = bVar2; - try { - d q2 = q(newPullParser, dVar, hashMap2, bVar); - arrayDeque.push(q2); - if (dVar != null) { - dVar.a(q2); - } - } catch (SubtitleDecoderException e) { - p.c("TtmlDecoder", "Suppressing parser error", e); - i2++; - } - } - bVar2 = bVar; - cVar = cVar; - aVar = aVar; - } else if (eventType == 4) { - Objects.requireNonNull(dVar); - d b2 = d.b(newPullParser.getText()); - if (dVar.m == null) { - dVar.m = new ArrayList(); - } - dVar.m.add(b2); - } else if (eventType == 3) { - if (newPullParser.getName().equals("tt")) { - d dVar2 = (d) arrayDeque.peek(); - Objects.requireNonNull(dVar2); - gVar = new g(dVar2, hashMap, hashMap2, hashMap3); - } - arrayDeque.pop(); - } - } else if (eventType == 2) { - i2++; - } else if (eventType == 3) { - i2--; - } - newPullParser.next(); - } - if (gVar != null) { - return gVar; - } - throw new SubtitleDecoderException("No TTML subtitles found"); - } catch (XmlPullParserException e2) { - throw new SubtitleDecoderException("Unable to decode source", e2); - } catch (IOException e3) { - throw new IllegalStateException("Unexpected error when reading input.", e3); - } - } -} diff --git a/app/src/main/java/c/i/a/c/e2/s/d.java b/app/src/main/java/c/i/a/c/e2/s/d.java deleted file mode 100644 index 637f207f8e..0000000000 --- a/app/src/main/java/c/i/a/c/e2/s/d.java +++ /dev/null @@ -1,364 +0,0 @@ -package c.i.a.c.e2.s; - -import android.text.SpannableStringBuilder; -import android.text.style.AbsoluteSizeSpan; -import android.text.style.BackgroundColorSpan; -import android.text.style.ForegroundColorSpan; -import android.text.style.RelativeSizeSpan; -import android.text.style.StrikethroughSpan; -import android.text.style.StyleSpan; -import android.text.style.TypefaceSpan; -import android.text.style.UnderlineSpan; -import android.util.Log; -import android.util.Pair; -import androidx.annotation.Nullable; -import c.i.a.c.e2.c; -import c.i.a.c.e2.p.a; -import c.i.a.c.e2.p.b; -import c.i.a.c.i2.f0; -import java.util.ArrayDeque; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import java.util.TreeSet; -/* compiled from: TtmlNode */ -public final class d { - @Nullable - public final String a; - @Nullable - public final String b; - - /* renamed from: c reason: collision with root package name */ - public final boolean f908c; - public final long d; - public final long e; - @Nullable - public final f f; - @Nullable - public final String[] g; - public final String h; - @Nullable - public final String i; - @Nullable - public final d j; - public final HashMap k; - public final HashMap l; - public List m; - - public d(@Nullable String str, @Nullable String str2, long j, long j2, @Nullable f fVar, @Nullable String[] strArr, String str3, @Nullable String str4, @Nullable d dVar) { - this.a = str; - this.b = str2; - this.i = str4; - this.f = fVar; - this.g = strArr; - this.f908c = str2 != null; - this.d = j; - this.e = j2; - Objects.requireNonNull(str3); - this.h = str3; - this.j = dVar; - this.k = new HashMap<>(); - this.l = new HashMap<>(); - } - - public static d b(String str) { - return new d(null, str.replaceAll("\r\n", "\n").replaceAll(" *\n *", "\n").replaceAll("\n", " ").replaceAll("[ \t\\x0B\f\r]+", " "), -9223372036854775807L, -9223372036854775807L, null, null, "", null, null); - } - - public static SpannableStringBuilder f(String str, Map map) { - if (!map.containsKey(str)) { - c.b bVar = new c.b(); - bVar.a = new SpannableStringBuilder(); - map.put(str, bVar); - } - CharSequence charSequence = map.get(str).a; - Objects.requireNonNull(charSequence); - return (SpannableStringBuilder) charSequence; - } - - public void a(d dVar) { - if (this.m == null) { - this.m = new ArrayList(); - } - this.m.add(dVar); - } - - public d c(int i) { - List list = this.m; - if (list != null) { - return list.get(i); - } - throw new IndexOutOfBoundsException(); - } - - public int d() { - List list = this.m; - if (list == null) { - return 0; - } - return list.size(); - } - - public final void e(TreeSet treeSet, boolean z2) { - boolean equals = "p".equals(this.a); - boolean equals2 = "div".equals(this.a); - if (z2 || equals || (equals2 && this.i != null)) { - long j = this.d; - if (j != -9223372036854775807L) { - treeSet.add(Long.valueOf(j)); - } - long j2 = this.e; - if (j2 != -9223372036854775807L) { - treeSet.add(Long.valueOf(j2)); - } - } - if (this.m != null) { - for (int i = 0; i < this.m.size(); i++) { - this.m.get(i).e(treeSet, z2 || equals); - } - } - } - - public boolean g(long j) { - long j2 = this.d; - return (j2 == -9223372036854775807L && this.e == -9223372036854775807L) || (j2 <= j && this.e == -9223372036854775807L) || ((j2 == -9223372036854775807L && j < this.e) || (j2 <= j && j < this.e)); - } - - public final void h(long j, String str, List> list) { - if (!"".equals(this.h)) { - str = this.h; - } - if (!g(j) || !"div".equals(this.a) || this.i == null) { - for (int i = 0; i < d(); i++) { - c(i).h(j, str, list); - } - return; - } - list.add(new Pair<>(str, this.i)); - } - - /* JADX WARNING: Removed duplicated region for block: B:110:0x01d7 */ - /* JADX WARNING: Removed duplicated region for block: B:112:0x01da */ - /* JADX WARNING: Removed duplicated region for block: B:115:0x01ea */ - /* JADX WARNING: Removed duplicated region for block: B:120:0x020b */ - public final void i(long j, Map map, Map map2, String str, Map map3) { - Iterator> it; - boolean z2; - int i; - d dVar; - int i2; - if (g(j)) { - String str2 = "".equals(this.h) ? str : this.h; - Iterator> it2 = this.l.entrySet().iterator(); - while (it2.hasNext()) { - Map.Entry next = it2.next(); - String key = next.getKey(); - int intValue = this.k.containsKey(key) ? this.k.get(key).intValue() : 0; - int intValue2 = next.getValue().intValue(); - if (intValue != intValue2) { - c.b bVar = map3.get(key); - Objects.requireNonNull(bVar); - e eVar = map2.get(str2); - Objects.requireNonNull(eVar); - int i3 = eVar.j; - f R1 = c.c.a.a0.d.R1(this.f, this.g, map); - SpannableStringBuilder spannableStringBuilder = (SpannableStringBuilder) bVar.a; - if (spannableStringBuilder == null) { - spannableStringBuilder = new SpannableStringBuilder(); - bVar.a = spannableStringBuilder; - } - if (R1 != null) { - d dVar2 = this.j; - if (R1.b() != -1) { - spannableStringBuilder.setSpan(new StyleSpan(R1.b()), intValue, intValue2, 33); - } - if (R1.f == 1) { - spannableStringBuilder.setSpan(new StrikethroughSpan(), intValue, intValue2, 33); - } - if (R1.g == 1) { - spannableStringBuilder.setSpan(new UnderlineSpan(), intValue, intValue2, 33); - } - if (R1.f910c) { - if (R1.f910c) { - c.c.a.a0.d.c(spannableStringBuilder, new ForegroundColorSpan(R1.b), intValue, intValue2, 33); - } else { - throw new IllegalStateException("Font color has not been defined."); - } - } - if (R1.e) { - if (R1.e) { - c.c.a.a0.d.c(spannableStringBuilder, new BackgroundColorSpan(R1.d), intValue, intValue2, 33); - } else { - throw new IllegalStateException("Background color has not been defined."); - } - } - if (R1.a != null) { - c.c.a.a0.d.c(spannableStringBuilder, new TypefaceSpan(R1.a), intValue, intValue2, 33); - } - b bVar2 = R1.q; - if (bVar2 != null) { - int i4 = bVar2.f; - it = it2; - if (i4 == -1) { - i4 = (i3 == 2 || i3 == 1) ? 3 : 1; - i2 = 1; - } else { - i2 = bVar2.g; - } - int i5 = bVar2.h; - if (i5 == -2) { - i5 = 1; - } - c.c.a.a0.d.c(spannableStringBuilder, new c.i.a.c.e2.p.c(i4, i2, i5), intValue, intValue2, 33); - } else { - it = it2; - } - int i6 = R1.m; - if (i6 == 2) { - while (true) { - if (dVar2 == null) { - dVar2 = null; - break; - } - f R12 = c.c.a.a0.d.R1(dVar2.f, dVar2.g, map); - if (R12 != null && R12.m == 1) { - break; - } - dVar2 = dVar2.j; - } - if (dVar2 != null) { - ArrayDeque arrayDeque = new ArrayDeque(); - arrayDeque.push(dVar2); - while (true) { - if (arrayDeque.isEmpty()) { - dVar = null; - break; - } - d dVar3 = (d) arrayDeque.pop(); - f R13 = c.c.a.a0.d.R1(dVar3.f, dVar3.g, map); - if (R13 != null && R13.m == 3) { - dVar = dVar3; - break; - } - for (int d = dVar3.d() - 1; d >= 0; d--) { - arrayDeque.push(dVar3.c(d)); - } - } - if (dVar != null) { - if (dVar.d() == 1) { - z2 = false; - if (dVar.c(0).b != null) { - String str3 = dVar.c(0).b; - int i7 = f0.a; - f fVar = dVar2.f; - spannableStringBuilder.setSpan(new b(str3, fVar != null ? fVar.n : -1), intValue, intValue2, 33); - if (R1.p == 1) { - z2 = true; - } - if (z2) { - c.c.a.a0.d.c(spannableStringBuilder, new a(), intValue, intValue2, 33); - } - i = R1.j; - if (i == 1) { - c.c.a.a0.d.c(spannableStringBuilder, new AbsoluteSizeSpan((int) R1.k, true), intValue, intValue2, 33); - } else if (i == 2) { - c.c.a.a0.d.c(spannableStringBuilder, new RelativeSizeSpan(R1.k), intValue, intValue2, 33); - } else if (i == 3) { - c.c.a.a0.d.c(spannableStringBuilder, new RelativeSizeSpan(R1.k / 100.0f), intValue, intValue2, 33); - } - if (R1.f911r != Float.MAX_VALUE && "p".equals(this.a)) { - bVar.p = (R1.f911r * -90.0f) / 100.0f; - } - bVar.f869c = R1.o; - it2 = it; - } - } else { - z2 = false; - } - Log.i("TtmlRenderUtil", "Skipping rubyText node without exactly one text child."); - if (R1.p == 1) { - } - if (z2) { - } - i = R1.j; - if (i == 1) { - } - bVar.p = (R1.f911r * -90.0f) / 100.0f; - bVar.f869c = R1.o; - it2 = it; - } - } - } else if (i6 == 3 || i6 == 4) { - spannableStringBuilder.setSpan(new a(), intValue, intValue2, 33); - } - z2 = false; - if (R1.p == 1) { - } - if (z2) { - } - i = R1.j; - if (i == 1) { - } - bVar.p = (R1.f911r * -90.0f) / 100.0f; - bVar.f869c = R1.o; - it2 = it; - } - } - it = it2; - it2 = it; - } - for (int i8 = 0; i8 < d(); i8++) { - c(i8).i(j, map, map2, str2, map3); - } - } - } - - public final void j(long j, boolean z2, String str, Map map) { - this.k.clear(); - this.l.clear(); - if (!"metadata".equals(this.a)) { - if (!"".equals(this.h)) { - str = this.h; - } - if (this.f908c && z2) { - SpannableStringBuilder f = f(str, map); - String str2 = this.b; - Objects.requireNonNull(str2); - f.append((CharSequence) str2); - } else if ("br".equals(this.a) && z2) { - f(str, map).append('\n'); - } else if (g(j)) { - for (Map.Entry entry : map.entrySet()) { - CharSequence charSequence = entry.getValue().a; - Objects.requireNonNull(charSequence); - this.k.put(entry.getKey(), Integer.valueOf(charSequence.length())); - } - boolean equals = "p".equals(this.a); - for (int i = 0; i < d(); i++) { - c(i).j(j, z2 || equals, str, map); - } - if (equals) { - SpannableStringBuilder f2 = f(str, map); - int length = f2.length(); - do { - length--; - if (length < 0) { - break; - } - } while (f2.charAt(length) == ' '); - if (length >= 0 && f2.charAt(length) != '\n') { - f2.append('\n'); - } - } - for (Map.Entry entry2 : map.entrySet()) { - CharSequence charSequence2 = entry2.getValue().a; - Objects.requireNonNull(charSequence2); - this.l.put(entry2.getKey(), Integer.valueOf(charSequence2.length())); - } - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/e2/s/e.java b/app/src/main/java/c/i/a/c/e2/s/e.java deleted file mode 100644 index e3b814e914..0000000000 --- a/app/src/main/java/c/i/a/c/e2/s/e.java +++ /dev/null @@ -1,29 +0,0 @@ -package c.i.a.c.e2.s; -/* compiled from: TtmlRegion */ -public final class e { - public final String a; - public final float b; - - /* renamed from: c reason: collision with root package name */ - public final float f909c; - public final int d; - public final int e; - public final float f; - public final float g; - public final int h; - public final float i; - public final int j; - - public e(String str, float f, float f2, int i, int i2, float f3, float f4, int i3, float f5, int i4) { - this.a = str; - this.b = f; - this.f909c = f2; - this.d = i; - this.e = i2; - this.f = f3; - this.g = f4; - this.h = i3; - this.i = f5; - this.j = i4; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/s/f.java b/app/src/main/java/c/i/a/c/e2/s/f.java deleted file mode 100644 index e6e148d8f6..0000000000 --- a/app/src/main/java/c/i/a/c/e2/s/f.java +++ /dev/null @@ -1,100 +0,0 @@ -package c.i.a.c.e2.s; - -import android.text.Layout; -import androidx.annotation.Nullable; -/* compiled from: TtmlStyle */ -public final class f { - @Nullable - public String a; - public int b; - - /* renamed from: c reason: collision with root package name */ - public boolean f910c; - public int d; - public boolean e; - public int f = -1; - public int g = -1; - public int h = -1; - public int i = -1; - public int j = -1; - public float k; - @Nullable - public String l; - public int m = -1; - public int n = -1; - @Nullable - public Layout.Alignment o; - public int p = -1; - @Nullable - public b q; - - /* renamed from: r reason: collision with root package name */ - public float f911r = Float.MAX_VALUE; - - public f a(@Nullable f fVar) { - int i; - Layout.Alignment alignment; - String str; - if (fVar != null) { - if (!this.f910c && fVar.f910c) { - this.b = fVar.b; - this.f910c = true; - } - if (this.h == -1) { - this.h = fVar.h; - } - if (this.i == -1) { - this.i = fVar.i; - } - if (this.a == null && (str = fVar.a) != null) { - this.a = str; - } - if (this.f == -1) { - this.f = fVar.f; - } - if (this.g == -1) { - this.g = fVar.g; - } - if (this.n == -1) { - this.n = fVar.n; - } - if (this.o == null && (alignment = fVar.o) != null) { - this.o = alignment; - } - if (this.p == -1) { - this.p = fVar.p; - } - if (this.j == -1) { - this.j = fVar.j; - this.k = fVar.k; - } - if (this.q == null) { - this.q = fVar.q; - } - if (this.f911r == Float.MAX_VALUE) { - this.f911r = fVar.f911r; - } - if (!this.e && fVar.e) { - this.d = fVar.d; - this.e = true; - } - if (this.m == -1 && (i = fVar.m) != -1) { - this.m = i; - } - } - return this; - } - - public int b() { - int i = this.h; - if (i == -1 && this.i == -1) { - return -1; - } - int i2 = 0; - int i3 = i == 1 ? 1 : 0; - if (this.i == 1) { - i2 = 2; - } - return i3 | i2; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/s/g.java b/app/src/main/java/c/i/a/c/e2/s/g.java deleted file mode 100644 index 704ec0b665..0000000000 --- a/app/src/main/java/c/i/a/c/e2/s/g.java +++ /dev/null @@ -1,154 +0,0 @@ -package c.i.a.c.e2.s; - -import android.graphics.Bitmap; -import android.graphics.BitmapFactory; -import android.text.SpannableStringBuilder; -import android.util.Base64; -import android.util.Pair; -import androidx.core.view.ViewCompat; -import c.i.a.c.e2.c; -import c.i.a.c.e2.f; -import c.i.a.c.i2.f0; -import java.util.ArrayList; -import java.util.Collections; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import java.util.TreeMap; -import java.util.TreeSet; -/* compiled from: TtmlSubtitle */ -public final class g implements f { - public final d i; - public final long[] j; - public final Map k; - public final Map l; - public final Map m; - - public g(d dVar, Map map, Map map2, Map map3) { - this.i = dVar; - this.l = map2; - this.m = map3; - this.k = Collections.unmodifiableMap(map); - TreeSet treeSet = new TreeSet<>(); - int i = 0; - dVar.e(treeSet, false); - long[] jArr = new long[treeSet.size()]; - Iterator it = treeSet.iterator(); - while (it.hasNext()) { - jArr[i] = it.next().longValue(); - i++; - } - this.j = jArr; - } - - @Override // c.i.a.c.e2.f - public int f(long j) { - int b = f0.b(this.j, j, false, false); - if (b < this.j.length) { - return b; - } - return -1; - } - - @Override // c.i.a.c.e2.f - public long g(int i) { - return this.j[i]; - } - - @Override // c.i.a.c.e2.f - public List h(long j) { - d dVar = this.i; - Map map = this.k; - Map map2 = this.l; - Map map3 = this.m; - Objects.requireNonNull(dVar); - ArrayList arrayList = new ArrayList(); - dVar.h(j, dVar.h, arrayList); - TreeMap treeMap = new TreeMap(); - dVar.j(j, false, dVar.h, treeMap); - dVar.i(j, map, map2, dVar.h, treeMap); - ArrayList arrayList2 = new ArrayList(); - Iterator it = arrayList.iterator(); - while (it.hasNext()) { - Pair pair = (Pair) it.next(); - String str = map3.get(pair.second); - if (str != null) { - byte[] decode = Base64.decode(str, 0); - Bitmap decodeByteArray = BitmapFactory.decodeByteArray(decode, 0, decode.length); - e eVar = map2.get(pair.first); - Objects.requireNonNull(eVar); - arrayList2.add(new c(null, null, decodeByteArray, eVar.f909c, 0, eVar.e, eVar.b, 0, Integer.MIN_VALUE, -3.4028235E38f, eVar.f, eVar.g, false, ViewCompat.MEASURED_STATE_MASK, eVar.j, 0.0f, null)); - } - } - for (Map.Entry entry : treeMap.entrySet()) { - e eVar2 = map2.get(entry.getKey()); - Objects.requireNonNull(eVar2); - c.b bVar = (c.b) entry.getValue(); - CharSequence charSequence = bVar.a; - Objects.requireNonNull(charSequence); - SpannableStringBuilder spannableStringBuilder = (SpannableStringBuilder) charSequence; - a[] aVarArr = (a[]) spannableStringBuilder.getSpans(0, spannableStringBuilder.length(), a.class); - for (a aVar : aVarArr) { - spannableStringBuilder.replace(spannableStringBuilder.getSpanStart(aVar), spannableStringBuilder.getSpanEnd(aVar), (CharSequence) ""); - } - for (int i = 0; i < spannableStringBuilder.length(); i++) { - if (spannableStringBuilder.charAt(i) == ' ') { - int i2 = i + 1; - int i3 = i2; - while (i3 < spannableStringBuilder.length() && spannableStringBuilder.charAt(i3) == ' ') { - i3++; - } - int i4 = i3 - i2; - if (i4 > 0) { - spannableStringBuilder.delete(i, i4 + i); - } - } - } - if (spannableStringBuilder.length() > 0 && spannableStringBuilder.charAt(0) == ' ') { - spannableStringBuilder.delete(0, 1); - } - for (int i5 = 0; i5 < spannableStringBuilder.length() - 1; i5++) { - if (spannableStringBuilder.charAt(i5) == '\n') { - int i6 = i5 + 1; - if (spannableStringBuilder.charAt(i6) == ' ') { - spannableStringBuilder.delete(i6, i5 + 2); - } - } - } - if (spannableStringBuilder.length() > 0 && spannableStringBuilder.charAt(spannableStringBuilder.length() - 1) == ' ') { - spannableStringBuilder.delete(spannableStringBuilder.length() - 1, spannableStringBuilder.length()); - } - for (int i7 = 0; i7 < spannableStringBuilder.length() - 1; i7++) { - if (spannableStringBuilder.charAt(i7) == ' ') { - int i8 = i7 + 1; - if (spannableStringBuilder.charAt(i8) == '\n') { - spannableStringBuilder.delete(i7, i8); - } - } - } - if (spannableStringBuilder.length() > 0 && spannableStringBuilder.charAt(spannableStringBuilder.length() - 1) == '\n') { - spannableStringBuilder.delete(spannableStringBuilder.length() - 1, spannableStringBuilder.length()); - } - float f = eVar2.f909c; - int i9 = eVar2.d; - bVar.d = f; - bVar.e = i9; - bVar.f = eVar2.e; - bVar.g = eVar2.b; - bVar.k = eVar2.f; - float f2 = eVar2.i; - int i10 = eVar2.h; - bVar.j = f2; - bVar.i = i10; - bVar.o = eVar2.j; - arrayList2.add(bVar.a()); - } - return arrayList2; - } - - @Override // c.i.a.c.e2.f - public int i() { - return this.j.length; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/t/a.java b/app/src/main/java/c/i/a/c/e2/t/a.java deleted file mode 100644 index dcbd0fbffa..0000000000 --- a/app/src/main/java/c/i/a/c/e2/t/a.java +++ /dev/null @@ -1,178 +0,0 @@ -package c.i.a.c.e2.t; - -import android.text.SpannableStringBuilder; -import android.text.style.ForegroundColorSpan; -import android.text.style.StyleSpan; -import android.text.style.TypefaceSpan; -import android.text.style.UnderlineSpan; -import android.util.Log; -import androidx.core.view.ViewCompat; -import androidx.recyclerview.widget.ItemTouchHelper; -import c.i.a.c.e2.d; -import c.i.a.c.e2.f; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -import c.i.b.a.c; -import com.google.android.exoplayer2.text.SubtitleDecoderException; -import java.util.List; -/* compiled from: Tx3gDecoder */ -public final class a extends d { - public final w n = new w(); - public final boolean o; - public final int p; - public final int q; - - /* renamed from: r reason: collision with root package name */ - public final String f912r; - public final float s; - public final int t; - - public a(List list) { - super("Tx3gDecoder"); - String str = "sans-serif"; - boolean z2 = true; - if (list.size() == 1 && (list.get(0).length == 48 || list.get(0).length == 53)) { - byte[] bArr = list.get(0); - this.p = bArr[24]; - this.q = ((bArr[26] & 255) << 24) | ((bArr[27] & 255) << 16) | ((bArr[28] & 255) << 8) | (bArr[29] & 255); - this.f912r = "Serif".equals(f0.m(bArr, 43, bArr.length - 43)) ? "serif" : str; - int i = bArr[25] * 20; - this.t = i; - z2 = (bArr[0] & 32) == 0 ? false : z2; - this.o = z2; - if (z2) { - this.s = f0.g(((float) ((bArr[11] & 255) | ((bArr[10] & 255) << 8))) / ((float) i), 0.0f, 0.95f); - } else { - this.s = 0.85f; - } - } else { - this.p = 0; - this.q = -1; - this.f912r = str; - this.o = false; - this.s = 0.85f; - this.t = -1; - } - } - - public static void k(boolean z2) throws SubtitleDecoderException { - if (!z2) { - throw new SubtitleDecoderException("Unexpected subtitle format."); - } - } - - public static void l(SpannableStringBuilder spannableStringBuilder, int i, int i2, int i3, int i4, int i5) { - if (i != i2) { - int i6 = i5 | 33; - boolean z2 = true; - boolean z3 = (i & 1) != 0; - boolean z4 = (i & 2) != 0; - if (z3) { - if (z4) { - spannableStringBuilder.setSpan(new StyleSpan(3), i3, i4, i6); - } else { - spannableStringBuilder.setSpan(new StyleSpan(1), i3, i4, i6); - } - } else if (z4) { - spannableStringBuilder.setSpan(new StyleSpan(2), i3, i4, i6); - } - if ((i & 4) == 0) { - z2 = false; - } - if (z2) { - spannableStringBuilder.setSpan(new UnderlineSpan(), i3, i4, i6); - } - if (!z2 && !z3 && !z4) { - spannableStringBuilder.setSpan(new StyleSpan(0), i3, i4, i6); - } - } - } - - @Override // c.i.a.c.e2.d - public f j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException { - String str; - w wVar = this.n; - wVar.a = bArr; - wVar.f974c = i; - wVar.b = 0; - int i2 = 2; - int i3 = 1; - k(wVar.a() >= 2); - int x2 = wVar.x(); - if (x2 == 0) { - str = ""; - } else { - if (wVar.a() >= 2) { - byte[] bArr2 = wVar.a; - int i4 = wVar.b; - char c2 = (char) ((bArr2[i4 + 1] & 255) | ((bArr2[i4] & 255) << 8)); - if (c2 == 65279 || c2 == 65534) { - str = wVar.q(x2, c.e); - } - } - str = wVar.q(x2, c.f1350c); - } - if (str.isEmpty()) { - return b.i; - } - SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(str); - l(spannableStringBuilder, this.p, 0, 0, spannableStringBuilder.length(), ItemTouchHelper.ACTION_MODE_DRAG_MASK); - int i5 = this.q; - int length = spannableStringBuilder.length(); - if (i5 != -1) { - spannableStringBuilder.setSpan(new ForegroundColorSpan((i5 >>> 8) | ((i5 & 255) << 24)), 0, length, 16711713); - } - String str2 = this.f912r; - int length2 = spannableStringBuilder.length(); - if (str2 != "sans-serif") { - spannableStringBuilder.setSpan(new TypefaceSpan(str2), 0, length2, 16711713); - } - float f = this.s; - for (int i6 = 8; this.n.a() >= i6; i6 = 8) { - w wVar2 = this.n; - int i7 = wVar2.b; - int f2 = wVar2.f(); - int f3 = this.n.f(); - if (f3 == 1937013100) { - k(this.n.a() >= i2); - int x3 = this.n.x(); - int i8 = 0; - while (i8 < x3) { - w wVar3 = this.n; - k(wVar3.a() >= 12); - int x4 = wVar3.x(); - int x5 = wVar3.x(); - wVar3.E(i2); - int s = wVar3.s(); - wVar3.E(i3); - int f4 = wVar3.f(); - if (x5 > spannableStringBuilder.length()) { - StringBuilder P = c.d.b.a.a.P("Truncating styl end (", x5, ") to cueText.length() ("); - P.append(spannableStringBuilder.length()); - P.append(")."); - Log.w("Tx3gDecoder", P.toString()); - x5 = spannableStringBuilder.length(); - } - if (x4 >= x5) { - Log.w("Tx3gDecoder", c.d.b.a.a.p("Ignoring styl with start (", x4, ") >= end (", x5, ").")); - } else { - l(spannableStringBuilder, s, this.p, x4, x5, 0); - if (f4 != this.q) { - spannableStringBuilder.setSpan(new ForegroundColorSpan(((f4 & 255) << 24) | (f4 >>> 8)), x4, x5, 33); - } - } - i8++; - i2 = 2; - i3 = 1; - } - } else if (f3 == 1952608120 && this.o) { - k(this.n.a() >= 2); - f = f0.g(((float) this.n.x()) / ((float) this.t), 0.0f, 0.95f); - } - this.n.D(i7 + f2); - i2 = 2; - i3 = 1; - } - return new b(new c.i.a.c.e2.c(spannableStringBuilder, null, null, f, 0, 0, -3.4028235E38f, Integer.MIN_VALUE, Integer.MIN_VALUE, -3.4028235E38f, -3.4028235E38f, -3.4028235E38f, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null)); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/t/b.java b/app/src/main/java/c/i/a/c/e2/t/b.java deleted file mode 100644 index 9305e68c26..0000000000 --- a/app/src/main/java/c/i/a/c/e2/t/b.java +++ /dev/null @@ -1,41 +0,0 @@ -package c.i.a.c.e2.t; - -import c.c.a.a0.d; -import c.i.a.c.e2.c; -import c.i.a.c.e2.f; -import java.util.Collections; -import java.util.List; -/* compiled from: Tx3gSubtitle */ -public final class b implements f { - public static final b i = new b(); - public final List j; - - public b() { - this.j = Collections.emptyList(); - } - - public b(c cVar) { - this.j = Collections.singletonList(cVar); - } - - @Override // c.i.a.c.e2.f - public int f(long j) { - return j < 0 ? 0 : -1; - } - - @Override // c.i.a.c.e2.f - public long g(int i2) { - d.k(i2 == 0); - return 0; - } - - @Override // c.i.a.c.e2.f - public List h(long j) { - return j >= 0 ? this.j : Collections.emptyList(); - } - - @Override // c.i.a.c.e2.f - public int i() { - return 1; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/u/a.java b/app/src/main/java/c/i/a/c/e2/u/a.java deleted file mode 100644 index 090bb6391f..0000000000 --- a/app/src/main/java/c/i/a/c/e2/u/a.java +++ /dev/null @@ -1,13 +0,0 @@ -package c.i.a.c.e2.u; - -import c.i.a.c.e2.u.h; -import java.util.Comparator; -/* compiled from: lambda */ -public final /* synthetic */ class a implements Comparator { - public static final /* synthetic */ a i = new a(); - - @Override // java.util.Comparator - public final int compare(Object obj, Object obj2) { - return Integer.compare(((h.b) obj).b.b, ((h.b) obj2).b.b); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/u/b.java b/app/src/main/java/c/i/a/c/e2/u/b.java deleted file mode 100644 index 692f25e21e..0000000000 --- a/app/src/main/java/c/i/a/c/e2/u/b.java +++ /dev/null @@ -1,12 +0,0 @@ -package c.i.a.c.e2.u; - -import java.util.Comparator; -/* compiled from: lambda */ -public final /* synthetic */ class b implements Comparator { - public static final /* synthetic */ b i = new b(); - - @Override // java.util.Comparator - public final int compare(Object obj, Object obj2) { - return Long.compare(((g) obj).b, ((g) obj2).b); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/u/c.java b/app/src/main/java/c/i/a/c/e2/u/c.java deleted file mode 100644 index a91bd10e11..0000000000 --- a/app/src/main/java/c/i/a/c/e2/u/c.java +++ /dev/null @@ -1,99 +0,0 @@ -package c.i.a.c.e2.u; - -import androidx.annotation.Nullable; -import c.d.b.a.a; -import c.i.a.c.i2.w; -import java.util.regex.Pattern; -/* compiled from: CssParser */ -public final class c { - public static final Pattern a = Pattern.compile("\\[voice=\"([^\"]*)\"\\]"); - public final w b = new w(); - - /* renamed from: c reason: collision with root package name */ - public final StringBuilder f913c = new StringBuilder(); - - public static String a(w wVar, StringBuilder sb) { - boolean z2 = false; - sb.setLength(0); - int i = wVar.b; - int i2 = wVar.f974c; - while (i < i2 && !z2) { - char c2 = (char) wVar.a[i]; - if ((c2 < 'A' || c2 > 'Z') && ((c2 < 'a' || c2 > 'z') && !((c2 >= '0' && c2 <= '9') || c2 == '#' || c2 == '-' || c2 == '.' || c2 == '_'))) { - z2 = true; - } else { - i++; - sb.append(c2); - } - } - wVar.E(i - wVar.b); - return sb.toString(); - } - - @Nullable - public static String b(w wVar, StringBuilder sb) { - c(wVar); - if (wVar.a() == 0) { - return null; - } - String a2 = a(wVar, sb); - if (!"".equals(a2)) { - return a2; - } - StringBuilder O = a.O(""); - O.append((char) wVar.s()); - return O.toString(); - } - - /* JADX WARNING: Removed duplicated region for block: B:35:0x0068 A[LOOP:1: B:2:0x0002->B:35:0x0068, LOOP_END] */ - /* JADX WARNING: Removed duplicated region for block: B:40:0x0001 A[SYNTHETIC] */ - public static void c(w wVar) { - boolean z2; - boolean z3; - while (true) { - boolean z4 = true; - while (wVar.a() > 0 && z4) { - char c2 = (char) wVar.a[wVar.b]; - if (c2 == '\t' || c2 == '\n' || c2 == '\f' || c2 == '\r' || c2 == ' ') { - wVar.E(1); - z2 = true; - } else { - z2 = false; - } - if (!z2) { - int i = wVar.b; - int i2 = wVar.f974c; - byte[] bArr = wVar.a; - if (i + 2 <= i2) { - int i3 = i + 1; - if (bArr[i] == 47) { - int i4 = i3 + 1; - if (bArr[i3] == 42) { - while (true) { - int i5 = i4 + 1; - if (i5 >= i2) { - break; - } else if (((char) bArr[i4]) == '*' && ((char) bArr[i5]) == '/') { - i2 = i5 + 1; - i4 = i2; - } else { - i4 = i5; - } - } - wVar.E(i2 - wVar.b); - z3 = true; - if (z3) { - z4 = false; - } - } - } - } - z3 = false; - if (z3) { - } - } - } - return; - } - } -} diff --git a/app/src/main/java/c/i/a/c/e2/u/d.java b/app/src/main/java/c/i/a/c/e2/u/d.java deleted file mode 100644 index dda39512e5..0000000000 --- a/app/src/main/java/c/i/a/c/e2/u/d.java +++ /dev/null @@ -1,77 +0,0 @@ -package c.i.a.c.e2.u; - -import c.i.a.c.e2.c; -import c.i.a.c.e2.f; -import c.i.a.c.e2.u.h; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.text.SubtitleDecoderException; -import java.util.ArrayList; -import java.util.Collections; -import java.util.regex.Pattern; -/* compiled from: Mp4WebvttDecoder */ -public final class d extends c.i.a.c.e2.d { - public final w n = new w(); - - public d() { - super("Mp4WebvttDecoder"); - } - - @Override // c.i.a.c.e2.d - public f j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException { - c cVar; - w wVar = this.n; - wVar.a = bArr; - wVar.f974c = i; - wVar.b = 0; - ArrayList arrayList = new ArrayList(); - while (this.n.a() > 0) { - if (this.n.a() >= 8) { - int f = this.n.f(); - if (this.n.f() == 1987343459) { - w wVar2 = this.n; - int i2 = f - 8; - CharSequence charSequence = null; - c.b bVar = null; - while (i2 > 0) { - if (i2 >= 8) { - int f2 = wVar2.f(); - int f3 = wVar2.f(); - int i3 = f2 - 8; - String m = f0.m(wVar2.a, wVar2.b, i3); - wVar2.E(i3); - i2 = (i2 - 8) - i3; - if (f3 == 1937011815) { - h.e eVar = new h.e(); - h.e(m, eVar); - bVar = eVar.a(); - } else if (f3 == 1885436268) { - charSequence = h.f(null, m.trim(), Collections.emptyList()); - } - } else { - throw new SubtitleDecoderException("Incomplete vtt cue box header found."); - } - } - if (charSequence == null) { - charSequence = ""; - } - if (bVar != null) { - bVar.a = charSequence; - cVar = bVar.a(); - } else { - Pattern pattern = h.a; - h.e eVar2 = new h.e(); - eVar2.f919c = charSequence; - cVar = eVar2.a().a(); - } - arrayList.add(cVar); - } else { - this.n.E(f - 8); - } - } else { - throw new SubtitleDecoderException("Incomplete Mp4Webvtt Top Level box header found."); - } - } - return new e(arrayList); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/u/e.java b/app/src/main/java/c/i/a/c/e2/u/e.java deleted file mode 100644 index 82036b708d..0000000000 --- a/app/src/main/java/c/i/a/c/e2/u/e.java +++ /dev/null @@ -1,36 +0,0 @@ -package c.i.a.c.e2.u; - -import c.c.a.a0.d; -import c.i.a.c.e2.c; -import c.i.a.c.e2.f; -import java.util.Collections; -import java.util.List; -/* compiled from: Mp4WebvttSubtitle */ -public final class e implements f { - public final List i; - - public e(List list) { - this.i = Collections.unmodifiableList(list); - } - - @Override // c.i.a.c.e2.f - public int f(long j) { - return j < 0 ? 0 : -1; - } - - @Override // c.i.a.c.e2.f - public long g(int i) { - d.k(i == 0); - return 0; - } - - @Override // c.i.a.c.e2.f - public List h(long j) { - return j >= 0 ? this.i : Collections.emptyList(); - } - - @Override // c.i.a.c.e2.f - public int i() { - return 1; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/u/f.java b/app/src/main/java/c/i/a/c/e2/u/f.java deleted file mode 100644 index 259a298b16..0000000000 --- a/app/src/main/java/c/i/a/c/e2/u/f.java +++ /dev/null @@ -1,52 +0,0 @@ -package c.i.a.c.e2.u; - -import androidx.annotation.ColorInt; -import androidx.annotation.Nullable; -import java.util.Collections; -import java.util.Set; -/* compiled from: WebvttCssStyle */ -public final class f { - public String a = ""; - public String b = ""; - - /* renamed from: c reason: collision with root package name */ - public Set f914c = Collections.emptySet(); - public String d = ""; - @Nullable - public String e = null; - @ColorInt - public int f; - public boolean g = false; - public int h; - public boolean i = false; - public int j = -1; - public int k = -1; - public int l = -1; - public int m = -1; - public int n = -1; - public int o = -1; - public boolean p = false; - - public static int b(int i, String str, @Nullable String str2, int i2) { - if (str.isEmpty() || i == -1) { - return i; - } - if (str.equals(str2)) { - return i + i2; - } - return -1; - } - - public int a() { - int i = this.l; - if (i == -1 && this.m == -1) { - return -1; - } - int i2 = 0; - int i3 = i == 1 ? 1 : 0; - if (this.m == 1) { - i2 = 2; - } - return i3 | i2; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/u/g.java b/app/src/main/java/c/i/a/c/e2/u/g.java deleted file mode 100644 index 111e09198c..0000000000 --- a/app/src/main/java/c/i/a/c/e2/u/g.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.e2.u; - -import c.i.a.c.e2.c; -/* compiled from: WebvttCueInfo */ -public final class g { - public final c a; - public final long b; - - /* renamed from: c reason: collision with root package name */ - public final long f915c; - - public g(c cVar, long j, long j2) { - this.a = cVar; - this.b = j; - this.f915c = j2; - } -} diff --git a/app/src/main/java/c/i/a/c/e2/u/h.java b/app/src/main/java/c/i/a/c/e2/u/h.java deleted file mode 100644 index 9f27fbdf41..0000000000 --- a/app/src/main/java/c/i/a/c/e2/u/h.java +++ /dev/null @@ -1,1009 +0,0 @@ -package c.i.a.c.e2.u; - -import android.graphics.Color; -import android.text.Layout; -import android.text.SpannableStringBuilder; -import android.text.SpannedString; -import android.text.TextUtils; -import android.text.style.AbsoluteSizeSpan; -import android.text.style.BackgroundColorSpan; -import android.text.style.ForegroundColorSpan; -import android.text.style.RelativeSizeSpan; -import android.text.style.StrikethroughSpan; -import android.text.style.StyleSpan; -import android.text.style.TypefaceSpan; -import android.text.style.UnderlineSpan; -import android.util.Log; -import androidx.annotation.Nullable; -import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; -import c.i.a.c.e2.c; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -import com.discord.models.domain.ModelAuditLogEntry; -import java.util.ArrayDeque; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import java.util.Set; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -/* compiled from: WebvttCueParser */ -public final class h { - public static final Pattern a = Pattern.compile("^(\\S+)\\s+-->\\s+(\\S+)(.*)?$"); - public static final Pattern b = Pattern.compile("(\\S+?):(\\S+)"); - - /* renamed from: c reason: collision with root package name */ - public static final Map f916c; - public static final Map d; - - /* compiled from: WebvttCueParser */ - public static class b { - public static final /* synthetic */ int a = 0; - public final c b; - - /* renamed from: c reason: collision with root package name */ - public final int f917c; - - public b(c cVar, int i, a aVar) { - this.b = cVar; - this.f917c = i; - } - } - - /* compiled from: WebvttCueParser */ - public static final class c { - public final String a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final String f918c; - public final Set d; - - public c(String str, int i, String str2, Set set) { - this.b = i; - this.a = str; - this.f918c = str2; - this.d = set; - } - } - - /* compiled from: WebvttCueParser */ - public static final class d implements Comparable { - public final int i; - public final f j; - - public d(int i, f fVar) { - this.i = i; - this.j = fVar; - } - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - @Override // java.lang.Comparable - public int compareTo(d dVar) { - return Integer.compare(this.i, dVar.i); - } - } - - /* compiled from: WebvttCueParser */ - public static final class e { - public long a = 0; - public long b = 0; - - /* renamed from: c reason: collision with root package name */ - public CharSequence f919c; - public int d = 2; - public float e = -3.4028235E38f; - public int f = 1; - public int g = 0; - public float h = -3.4028235E38f; - public int i = Integer.MIN_VALUE; - public float j = 1.0f; - public int k = Integer.MIN_VALUE; - - /* JADX WARNING: Code restructure failed: missing block: B:37:0x0072, code lost: - if (r6 == 0) goto L_0x0074; - */ - /* JADX WARNING: Removed duplicated region for block: B:36:0x0070 */ - /* JADX WARNING: Removed duplicated region for block: B:37:0x0072 */ - /* JADX WARNING: Removed duplicated region for block: B:41:0x0086 */ - /* JADX WARNING: Removed duplicated region for block: B:49:0x00a2 */ - /* JADX WARNING: Removed duplicated region for block: B:52:0x00b2 */ - public c.b a() { - Layout.Alignment alignment; - int i; - CharSequence charSequence; - float f = this.h; - float f2 = -3.4028235E38f; - if (f == -3.4028235E38f) { - int i2 = this.d; - f = i2 != 4 ? i2 != 5 ? 0.5f : 1.0f : 0.0f; - } - int i3 = this.i; - if (i3 == Integer.MIN_VALUE) { - int i4 = this.d; - if (i4 != 1) { - if (i4 != 3) { - if (i4 != 4) { - if (i4 != 5) { - i3 = 1; - } - } - } - i3 = 2; - } - i3 = 0; - } - c.b bVar = new c.b(); - int i5 = this.d; - if (i5 != 1) { - if (i5 != 2) { - if (i5 != 3) { - if (i5 != 4) { - if (i5 != 5) { - c.d.b.a.a.i0("Unknown textAlignment: ", i5, "WebvttCueParser"); - alignment = null; - } - } - } - alignment = Layout.Alignment.ALIGN_OPPOSITE; - } else { - alignment = Layout.Alignment.ALIGN_CENTER; - } - bVar.f869c = alignment; - float f3 = this.e; - int i6 = this.f; - i = (f3 > -3.4028235E38f ? 1 : (f3 == -3.4028235E38f ? 0 : -1)); - if (i == 0 || i6 != 0 || (f3 >= 0.0f && f3 <= 1.0f)) { - if (i == 0) { - f2 = f3; - } - bVar.d = f2; - bVar.e = i6; - bVar.f = this.g; - bVar.g = f; - bVar.h = i3; - float f4 = this.j; - if (i3 == 0) { - f = 1.0f - f; - } else if (i3 == 1) { - f = f <= 0.5f ? f * 2.0f : (1.0f - f) * 2.0f; - } else if (i3 != 2) { - throw new IllegalStateException(String.valueOf(i3)); - } - bVar.k = Math.min(f4, f); - bVar.o = this.k; - charSequence = this.f919c; - if (charSequence != null) { - bVar.a = charSequence; - } - return bVar; - } - f2 = 1.0f; - bVar.d = f2; - bVar.e = i6; - bVar.f = this.g; - bVar.g = f; - bVar.h = i3; - float f4 = this.j; - if (i3 == 0) { - } - bVar.k = Math.min(f4, f); - bVar.o = this.k; - charSequence = this.f919c; - if (charSequence != null) { - } - return bVar; - } - alignment = Layout.Alignment.ALIGN_NORMAL; - bVar.f869c = alignment; - float f3 = this.e; - int i6 = this.f; - i = (f3 > -3.4028235E38f ? 1 : (f3 == -3.4028235E38f ? 0 : -1)); - if (i == 0) { - } - bVar.d = f2; - bVar.e = i6; - bVar.f = this.g; - bVar.g = f; - bVar.h = i3; - float f4 = this.j; - if (i3 == 0) { - } - bVar.k = Math.min(f4, f); - bVar.o = this.k; - charSequence = this.f919c; - if (charSequence != null) { - } - return bVar; - } - } - - static { - HashMap hashMap = new HashMap(); - hashMap.put("white", Integer.valueOf(Color.rgb(255, 255, 255))); - hashMap.put("lime", Integer.valueOf(Color.rgb(0, 255, 0))); - hashMap.put("cyan", Integer.valueOf(Color.rgb(0, 255, 255))); - hashMap.put("red", Integer.valueOf(Color.rgb(255, 0, 0))); - hashMap.put("yellow", Integer.valueOf(Color.rgb(255, 255, 0))); - hashMap.put("magenta", Integer.valueOf(Color.rgb(255, 0, 255))); - hashMap.put("blue", Integer.valueOf(Color.rgb(0, 0, 255))); - hashMap.put("black", Integer.valueOf(Color.rgb(0, 0, 0))); - f916c = Collections.unmodifiableMap(hashMap); - HashMap hashMap2 = new HashMap(); - hashMap2.put("bg_white", Integer.valueOf(Color.rgb(255, 255, 255))); - hashMap2.put("bg_lime", Integer.valueOf(Color.rgb(0, 255, 0))); - hashMap2.put("bg_cyan", Integer.valueOf(Color.rgb(0, 255, 255))); - hashMap2.put("bg_red", Integer.valueOf(Color.rgb(255, 0, 0))); - hashMap2.put("bg_yellow", Integer.valueOf(Color.rgb(255, 255, 0))); - hashMap2.put("bg_magenta", Integer.valueOf(Color.rgb(255, 0, 255))); - hashMap2.put("bg_blue", Integer.valueOf(Color.rgb(0, 0, 255))); - hashMap2.put("bg_black", Integer.valueOf(Color.rgb(0, 0, 0))); - d = Collections.unmodifiableMap(hashMap2); - } - - /* JADX WARNING: Removed duplicated region for block: B:133:0x0242 A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:43:0x0097 A[RETURN] */ - /* JADX WARNING: Removed duplicated region for block: B:44:0x0098 */ - /* JADX WARNING: Removed duplicated region for block: B:56:0x010b */ - /* JADX WARNING: Removed duplicated region for block: B:57:0x0114 */ - /* JADX WARNING: Removed duplicated region for block: B:58:0x011d */ - /* JADX WARNING: Removed duplicated region for block: B:67:0x0165 */ - /* JADX WARNING: Removed duplicated region for block: B:71:0x017c */ - public static void a(@Nullable String str, c cVar, List list, SpannableStringBuilder spannableStringBuilder, List list2) { - char c2; - List b2; - int i; - ArrayList arrayList; - int i2 = cVar.b; - int length = spannableStringBuilder.length(); - String str2 = cVar.a; - str2.hashCode(); - int hashCode = str2.hashCode(); - int i3 = -1; - if (hashCode != 0) { - if (hashCode != 105) { - if (hashCode != 3314158) { - if (hashCode != 3511770) { - if (hashCode != 98) { - if (hashCode != 99) { - if (hashCode != 117) { - if (hashCode == 118 && str2.equals("v")) { - c2 = 5; - switch (c2) { - case 0: - case 5: - case 6: - break; - case 1: - spannableStringBuilder.setSpan(new StyleSpan(1), i2, length, 33); - break; - case 2: - for (String str3 : cVar.d) { - Map map = f916c; - if (map.containsKey(str3)) { - spannableStringBuilder.setSpan(new ForegroundColorSpan(map.get(str3).intValue()), i2, length, 33); - } else { - Map map2 = d; - if (map2.containsKey(str3)) { - spannableStringBuilder.setSpan(new BackgroundColorSpan(map2.get(str3).intValue()), i2, length, 33); - } - } - } - break; - case 3: - spannableStringBuilder.setSpan(new StyleSpan(2), i2, length, 33); - break; - case 4: - spannableStringBuilder.setSpan(new UnderlineSpan(), i2, length, 33); - break; - case 7: - int c3 = c(list2, str, cVar); - ArrayList arrayList2 = new ArrayList(list.size()); - arrayList2.addAll(list); - int i4 = b.a; - Collections.sort(arrayList2, a.i); - int i5 = cVar.b; - int i6 = 0; - int i7 = 0; - while (i6 < arrayList2.size()) { - if ("rt".equals(((b) arrayList2.get(i6)).b.a)) { - b bVar = (b) arrayList2.get(i6); - int c4 = c(list2, str, bVar.b); - if (c4 == i3) { - c4 = c3 != i3 ? c3 : 1; - } - int i8 = bVar.b.b - i7; - int i9 = bVar.f917c - i7; - CharSequence subSequence = spannableStringBuilder.subSequence(i8, i9); - spannableStringBuilder.delete(i8, i9); - spannableStringBuilder.setSpan(new c.i.a.c.e2.p.b(subSequence.toString(), c4), i5, i8, 33); - i7 = subSequence.length() + i7; - i5 = i8; - } - i6++; - i3 = -1; - } - break; - default: - return; - } - b2 = b(list2, str, cVar); - i = 0; - while (true) { - arrayList = (ArrayList) b2; - if (i < arrayList.size()) { - f fVar = ((d) arrayList.get(i)).j; - if (fVar != null) { - if (fVar.a() != -1) { - c.c.a.a0.d.c(spannableStringBuilder, new StyleSpan(fVar.a()), i2, length, 33); - } - if (fVar.j == 1) { - spannableStringBuilder.setSpan(new StrikethroughSpan(), i2, length, 33); - } - if (fVar.k == 1) { - spannableStringBuilder.setSpan(new UnderlineSpan(), i2, length, 33); - } - if (fVar.g) { - if (fVar.g) { - c.c.a.a0.d.c(spannableStringBuilder, new ForegroundColorSpan(fVar.f), i2, length, 33); - } else { - throw new IllegalStateException("Font color not defined"); - } - } - if (fVar.i) { - if (fVar.i) { - c.c.a.a0.d.c(spannableStringBuilder, new BackgroundColorSpan(fVar.h), i2, length, 33); - } else { - throw new IllegalStateException("Background color not defined."); - } - } - if (fVar.e != null) { - c.c.a.a0.d.c(spannableStringBuilder, new TypefaceSpan(fVar.e), i2, length, 33); - } - int i10 = fVar.n; - if (i10 == 1) { - c.c.a.a0.d.c(spannableStringBuilder, new AbsoluteSizeSpan((int) 0.0f, true), i2, length, 33); - } else if (i10 == 2) { - c.c.a.a0.d.c(spannableStringBuilder, new RelativeSizeSpan(0.0f), i2, length, 33); - } else if (i10 == 3) { - c.c.a.a0.d.c(spannableStringBuilder, new RelativeSizeSpan(0.0f), i2, length, 33); - } - if (fVar.p) { - spannableStringBuilder.setSpan(new c.i.a.c.e2.p.a(), i2, length, 33); - } - } - i++; - } else { - return; - } - } - } - } else if (str2.equals("u")) { - c2 = 4; - switch (c2) { - } - b2 = b(list2, str, cVar); - i = 0; - while (true) { - arrayList = (ArrayList) b2; - if (i < arrayList.size()) { - } - i++; - } - } - } else if (str2.equals("c")) { - c2 = 2; - switch (c2) { - } - b2 = b(list2, str, cVar); - i = 0; - while (true) { - arrayList = (ArrayList) b2; - if (i < arrayList.size()) { - } - i++; - } - } - } else if (str2.equals("b")) { - c2 = 1; - switch (c2) { - } - b2 = b(list2, str, cVar); - i = 0; - while (true) { - arrayList = (ArrayList) b2; - if (i < arrayList.size()) { - } - i++; - } - } - } else if (str2.equals("ruby")) { - c2 = 7; - switch (c2) { - } - b2 = b(list2, str, cVar); - i = 0; - while (true) { - arrayList = (ArrayList) b2; - if (i < arrayList.size()) { - } - i++; - } - } - } else if (str2.equals("lang")) { - c2 = 6; - switch (c2) { - } - b2 = b(list2, str, cVar); - i = 0; - while (true) { - arrayList = (ArrayList) b2; - if (i < arrayList.size()) { - } - i++; - } - } - } else if (str2.equals("i")) { - c2 = 3; - switch (c2) { - } - b2 = b(list2, str, cVar); - i = 0; - while (true) { - arrayList = (ArrayList) b2; - if (i < arrayList.size()) { - } - i++; - } - } - } else if (str2.equals("")) { - c2 = 0; - switch (c2) { - } - b2 = b(list2, str, cVar); - i = 0; - while (true) { - arrayList = (ArrayList) b2; - if (i < arrayList.size()) { - } - i++; - } - } - c2 = 65535; - switch (c2) { - } - b2 = b(list2, str, cVar); - i = 0; - while (true) { - arrayList = (ArrayList) b2; - if (i < arrayList.size()) { - } - i++; - } - } - - /* JADX DEBUG: Multi-variable search result rejected for r4v6, resolved type: boolean */ - /* JADX WARN: Multi-variable type inference failed */ - public static List b(List list, @Nullable String str, c cVar) { - int i; - ArrayList arrayList = new ArrayList(); - for (int i2 = 0; i2 < list.size(); i2++) { - f fVar = list.get(i2); - String str2 = cVar.a; - Set set = cVar.d; - String str3 = cVar.f918c; - if (!fVar.a.isEmpty() || !fVar.b.isEmpty() || !fVar.f914c.isEmpty() || !fVar.d.isEmpty()) { - int b2 = f.b(f.b(f.b(0, fVar.a, str, BasicMeasure.EXACTLY), fVar.b, str2, 2), fVar.d, str3, 4); - i = (b2 == -1 || !set.containsAll(fVar.f914c)) ? 0 : b2 + (fVar.f914c.size() * 4); - } else { - i = TextUtils.isEmpty(str2); - } - if (i > 0) { - arrayList.add(new d(i == 1 ? 1 : 0, fVar)); - } - } - Collections.sort(arrayList); - return arrayList; - } - - public static int c(List list, @Nullable String str, c cVar) { - List b2 = b(list, str, cVar); - int i = 0; - while (true) { - ArrayList arrayList = (ArrayList) b2; - if (i >= arrayList.size()) { - return -1; - } - int i2 = ((d) arrayList.get(i)).j.o; - if (i2 != -1) { - return i2; - } - i++; - } - } - - @Nullable - public static g d(@Nullable String str, Matcher matcher, w wVar, List list) { - e eVar = new e(); - try { - String group = matcher.group(1); - Objects.requireNonNull(group); - eVar.a = j.b(group); - String group2 = matcher.group(2); - Objects.requireNonNull(group2); - eVar.b = j.b(group2); - String group3 = matcher.group(3); - Objects.requireNonNull(group3); - e(group3, eVar); - StringBuilder sb = new StringBuilder(); - String g = wVar.g(); - while (!TextUtils.isEmpty(g)) { - if (sb.length() > 0) { - sb.append("\n"); - } - sb.append(g.trim()); - g = wVar.g(); - } - eVar.f919c = f(str, sb.toString(), list); - return new g(eVar.a().a(), eVar.a, eVar.b); - } catch (NumberFormatException unused) { - StringBuilder O = c.d.b.a.a.O("Skipping cue with bad header: "); - O.append(matcher.group()); - Log.w("WebvttCueParser", O.toString()); - return null; - } - } - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - public static void e(String str, e eVar) { - Matcher matcher = b.matcher(str); - while (matcher.find()) { - int i = 1; - String group = matcher.group(1); - Objects.requireNonNull(group); - String group2 = matcher.group(2); - Objects.requireNonNull(group2); - try { - if ("line".equals(group)) { - g(group2, eVar); - } else if ("align".equals(group)) { - group2.hashCode(); - char c2 = 65535; - switch (group2.hashCode()) { - case -1364013995: - if (group2.equals("center")) { - c2 = 0; - break; - } - break; - case -1074341483: - if (group2.equals("middle")) { - c2 = 1; - break; - } - break; - case 100571: - if (group2.equals("end")) { - c2 = 2; - break; - } - break; - case 3317767: - if (group2.equals("left")) { - c2 = 3; - break; - } - break; - case 108511772: - if (group2.equals("right")) { - c2 = 4; - break; - } - break; - case 109757538: - if (group2.equals("start")) { - c2 = 5; - break; - } - break; - } - switch (c2) { - case 0: - case 1: - i = 2; - break; - case 2: - i = 3; - break; - case 3: - i = 4; - break; - case 4: - i = 5; - break; - case 5: - break; - default: - Log.w("WebvttCueParser", "Invalid alignment value: " + group2); - i = 2; - break; - } - eVar.d = i; - } else if (ModelAuditLogEntry.CHANGE_KEY_POSITION.equals(group)) { - h(group2, eVar); - } else if ("size".equals(group)) { - eVar.j = j.a(group2); - } else if ("vertical".equals(group)) { - if (group2.equals("lr")) { - i = 2; - } else if (!group2.equals("rl")) { - Log.w("WebvttCueParser", "Invalid 'vertical' value: " + group2); - i = Integer.MIN_VALUE; - } - eVar.k = i; - } else { - Log.w("WebvttCueParser", "Unknown cue setting " + group + ":" + group2); - } - } catch (NumberFormatException unused) { - StringBuilder O = c.d.b.a.a.O("Skipping bad cue setting: "); - O.append(matcher.group()); - Log.w("WebvttCueParser", O.toString()); - } - } - } - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - public static SpannedString f(@Nullable String str, String str2, List list) { - char c2; - boolean z2; - SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(); - ArrayDeque arrayDeque = new ArrayDeque(); - ArrayList arrayList = new ArrayList(); - int i = 0; - int i2 = 0; - while (true) { - String str3 = ""; - if (i2 < str2.length()) { - char charAt = str2.charAt(i2); - if (charAt == '&') { - i2++; - int indexOf = str2.indexOf(59, i2); - int indexOf2 = str2.indexOf(32, i2); - char c3 = 65535; - if (indexOf == -1) { - indexOf = indexOf2; - } else if (indexOf2 != -1) { - indexOf = Math.min(indexOf, indexOf2); - } - if (indexOf != -1) { - String substring = str2.substring(i2, indexOf); - substring.hashCode(); - switch (substring.hashCode()) { - case 3309: - if (substring.equals("gt")) { - c3 = 0; - break; - } - break; - case 3464: - if (substring.equals("lt")) { - c3 = 1; - break; - } - break; - case 96708: - if (substring.equals("amp")) { - c3 = 2; - break; - } - break; - case 3374865: - if (substring.equals("nbsp")) { - c3 = 3; - break; - } - break; - } - switch (c3) { - case 0: - spannableStringBuilder.append('>'); - break; - case 1: - spannableStringBuilder.append('<'); - break; - case 2: - spannableStringBuilder.append('&'); - break; - case 3: - spannableStringBuilder.append(' '); - break; - default: - Log.w("WebvttCueParser", "ignoring unsupported entity: '&" + substring + ";'"); - break; - } - if (indexOf == indexOf2) { - spannableStringBuilder.append((CharSequence) " "); - } - i2 = indexOf + 1; - } else { - spannableStringBuilder.append(charAt); - } - } else if (charAt != '<') { - spannableStringBuilder.append(charAt); - i2++; - } else { - int i3 = i2 + 1; - if (i3 < str2.length()) { - boolean z3 = str2.charAt(i3) == '/'; - int indexOf3 = str2.indexOf(62, i3); - i3 = indexOf3 == -1 ? str2.length() : indexOf3 + 1; - int i4 = i3 - 2; - boolean z4 = str2.charAt(i4) == '/'; - int i5 = i2 + (z3 ? 2 : 1); - if (!z4) { - i4 = i3 - 1; - } - String substring2 = str2.substring(i5, i4); - if (!substring2.trim().isEmpty()) { - String trim = substring2.trim(); - c.c.a.a0.d.k(!trim.isEmpty()); - int i6 = f0.a; - String str4 = trim.split("[ \\.]", 2)[i]; - str4.hashCode(); - switch (str4.hashCode()) { - case 98: - if (str4.equals("b")) { - c2 = 0; - break; - } - c2 = 65535; - break; - case 99: - if (str4.equals("c")) { - c2 = 1; - break; - } - c2 = 65535; - break; - case 105: - if (str4.equals("i")) { - c2 = 2; - break; - } - c2 = 65535; - break; - case 117: - if (str4.equals("u")) { - c2 = 3; - break; - } - c2 = 65535; - break; - case 118: - if (str4.equals("v")) { - c2 = 4; - break; - } - c2 = 65535; - break; - case 3650: - if (str4.equals("rt")) { - c2 = 5; - break; - } - c2 = 65535; - break; - case 3314158: - if (str4.equals("lang")) { - c2 = 6; - break; - } - c2 = 65535; - break; - case 3511770: - if (str4.equals("ruby")) { - c2 = 7; - break; - } - c2 = 65535; - break; - default: - c2 = 65535; - break; - } - switch (c2) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - z2 = true; - break; - default: - z2 = false; - break; - } - if (z2) { - if (z3) { - while (!arrayDeque.isEmpty()) { - c cVar = (c) arrayDeque.pop(); - a(str, cVar, arrayList, spannableStringBuilder, list); - if (!arrayDeque.isEmpty()) { - arrayList.add(new b(cVar, spannableStringBuilder.length(), null)); - } else { - arrayList.clear(); - } - if (cVar.a.equals(str4)) { - } - } - } else if (!z4) { - int length = spannableStringBuilder.length(); - String trim2 = substring2.trim(); - c.c.a.a0.d.k(!trim2.isEmpty()); - int indexOf4 = trim2.indexOf(" "); - if (indexOf4 != -1) { - str3 = trim2.substring(indexOf4).trim(); - trim2 = trim2.substring(i, indexOf4); - } - String[] G = f0.G(trim2, "\\."); - String str5 = G[i]; - HashSet hashSet = new HashSet(); - for (int i7 = 1; i7 < G.length; i7++) { - hashSet.add(G[i7]); - } - arrayDeque.push(new c(str5, length, str3, hashSet)); - } - } - } - i2 = i3; - } - i2 = i3; - } - i = 0; - } else { - while (!arrayDeque.isEmpty()) { - a(str, (c) arrayDeque.pop(), arrayList, spannableStringBuilder, list); - } - a(str, new c(str3, 0, str3, Collections.emptySet()), Collections.emptyList(), spannableStringBuilder, list); - return SpannedString.valueOf(spannableStringBuilder); - } - } - } - - public static void g(String str, e eVar) { - int indexOf = str.indexOf(44); - if (indexOf != -1) { - String substring = str.substring(indexOf + 1); - substring.hashCode(); - substring.hashCode(); - int i = 2; - char c2 = 65535; - switch (substring.hashCode()) { - case -1364013995: - if (substring.equals("center")) { - c2 = 0; - break; - } - break; - case -1074341483: - if (substring.equals("middle")) { - c2 = 1; - break; - } - break; - case 100571: - if (substring.equals("end")) { - c2 = 2; - break; - } - break; - case 109757538: - if (substring.equals("start")) { - c2 = 3; - break; - } - break; - } - switch (c2) { - case 0: - case 1: - i = 1; - break; - case 2: - break; - case 3: - i = 0; - break; - default: - c.d.b.a.a.k0("Invalid anchor value: ", substring, "WebvttCueParser"); - i = Integer.MIN_VALUE; - break; - } - eVar.g = i; - str = str.substring(0, indexOf); - } - if (str.endsWith("%")) { - eVar.e = j.a(str); - eVar.f = 0; - return; - } - eVar.e = (float) Integer.parseInt(str); - eVar.f = 1; - } - - public static void h(String str, e eVar) { - int indexOf = str.indexOf(44); - if (indexOf != -1) { - String substring = str.substring(indexOf + 1); - substring.hashCode(); - substring.hashCode(); - int i = 2; - char c2 = 65535; - switch (substring.hashCode()) { - case -1842484672: - if (substring.equals("line-left")) { - c2 = 0; - break; - } - break; - case -1364013995: - if (substring.equals("center")) { - c2 = 1; - break; - } - break; - case -1276788989: - if (substring.equals("line-right")) { - c2 = 2; - break; - } - break; - case -1074341483: - if (substring.equals("middle")) { - c2 = 3; - break; - } - break; - case 100571: - if (substring.equals("end")) { - c2 = 4; - break; - } - break; - case 109757538: - if (substring.equals("start")) { - c2 = 5; - break; - } - break; - } - switch (c2) { - case 0: - case 5: - i = 0; - break; - case 1: - case 3: - i = 1; - break; - case 2: - case 4: - break; - default: - c.d.b.a.a.k0("Invalid anchor value: ", substring, "WebvttCueParser"); - i = Integer.MIN_VALUE; - break; - } - eVar.i = i; - str = str.substring(0, indexOf); - } - eVar.h = j.a(str); - } -} diff --git a/app/src/main/java/c/i/a/c/e2/u/i.java b/app/src/main/java/c/i/a/c/e2/u/i.java deleted file mode 100644 index f8614c9f57..0000000000 --- a/app/src/main/java/c/i/a/c/e2/u/i.java +++ /dev/null @@ -1,290 +0,0 @@ -package c.i.a.c.e2.u; - -import android.text.TextUtils; -import c.i.a.c.e2.d; -import c.i.a.c.e2.f; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -import com.discord.models.domain.ModelAuditLogEntry; -import com.google.android.exoplayer2.ParserException; -import com.google.android.exoplayer2.text.SubtitleDecoderException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashSet; -import java.util.Objects; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -/* compiled from: WebvttDecoder */ -public final class i extends d { - public final w n = new w(); - public final c o = new c(); - - public i() { - super("WebvttDecoder"); - } - - /* JADX WARNING: Code restructure failed: missing block: B:53:0x0110, code lost: - if (")".equals(c.i.a.c.e2.u.c.b(r10, r11)) == false) goto L_0x0112; - */ - /* JADX WARNING: Unknown variable types count: 1 */ - @Override // c.i.a.c.e2.d - public f j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException { - ArrayList arrayList; - g gVar; - String str; - c cVar; - String str2; - String sb; - w wVar = this.n; - wVar.a = bArr; - wVar.f974c = i; - int i2 = 0; - wVar.b = 0; - ArrayList arrayList2 = new ArrayList(); - try { - j.c(this.n); - do { - } while (!TextUtils.isEmpty(this.n.g())); - arrayList = new ArrayList(); - } catch (ParserException e) { - throw new SubtitleDecoderException(e); - } - while (true) { - w wVar2 = this.n; - int i3 = -1; - ?? r8 = 1; - char c2 = 65535; - int i4 = 0; - while (c2 == 65535) { - i4 = wVar2.b; - String g = wVar2.g(); - c2 = g == null ? 0 : "STYLE".equals(g) ? 2 : g.startsWith("NOTE") ? (char) 1 : 3; - } - wVar2.D(i4); - if (c2 == 0) { - return new k(arrayList); - } - if (c2 == 1) { - do { - } while (!TextUtils.isEmpty(this.n.g())); - } else { - if (c2 == 2) { - if (arrayList.isEmpty()) { - this.n.g(); - c cVar2 = this.o; - w wVar3 = this.n; - cVar2.f913c.setLength(i2); - int i5 = wVar3.b; - do { - } while (!TextUtils.isEmpty(wVar3.g())); - cVar2.b.B(wVar3.a, wVar3.b); - cVar2.b.D(i5); - ArrayList arrayList3 = new ArrayList(); - while (true) { - w wVar4 = cVar2.b; - StringBuilder sb2 = cVar2.f913c; - c.c(wVar4); - if (wVar4.a() >= 5 && "::cue".equals(wVar4.p(5))) { - int i6 = wVar4.b; - String b = c.b(wVar4, sb2); - if (b != null) { - if ("{".equals(b)) { - wVar4.D(i6); - str = ""; - } else if ("(".equals(b)) { - int i7 = wVar4.b; - int i8 = wVar4.f974c; - boolean z3 = false; - while (i7 < i8 && !z3) { - int i9 = i7 + 1; - boolean z4 = ((char) wVar4.a[i7]) == ')'; - i7 = i9; - z3 = z4; - } - str = wVar4.p((i7 - 1) - wVar4.b).trim(); - } else { - str = null; - } - if (str == null || !"{".equals(c.b(cVar2.b, cVar2.f913c))) { - break; - } - f fVar = new f(); - if (!"".equals(str)) { - int indexOf = str.indexOf(91); - if (indexOf != i3) { - Matcher matcher = c.a.matcher(str.substring(indexOf)); - if (matcher.matches()) { - String group = matcher.group((int) r8); - Objects.requireNonNull(group); - fVar.d = group; - } - str = str.substring(i2, indexOf); - } - String[] G = f0.G(str, "\\."); - String str3 = G[i2]; - int indexOf2 = str3.indexOf(35); - if (indexOf2 != i3) { - fVar.b = str3.substring(i2, indexOf2); - fVar.a = str3.substring(indexOf2 + 1); - } else { - fVar.b = str3; - } - if (G.length > r8) { - int length = G.length; - c.c.a.a0.d.k(r8); - c.c.a.a0.d.k(length <= G.length); - int i10 = r8 == true ? 1 : 0; - int i11 = r8 == true ? 1 : 0; - int i12 = r8 == true ? 1 : 0; - fVar.f914c = new HashSet(Arrays.asList((String[]) Arrays.copyOfRange(G, i10, length))); - } - } - boolean z5 = false; - String str4 = null; - while (!z5) { - w wVar5 = cVar2.b; - int i13 = wVar5.b; - String b2 = c.b(wVar5, cVar2.f913c); - boolean z6 = b2 == null || "}".equals(b2); - if (!z6) { - cVar2.b.D(i13); - w wVar6 = cVar2.b; - StringBuilder sb3 = cVar2.f913c; - c.c(wVar6); - String a = c.a(wVar6, sb3); - if (!"".equals(a) && ":".equals(c.b(wVar6, sb3))) { - c.c(wVar6); - StringBuilder sb4 = new StringBuilder(); - boolean z7 = false; - while (true) { - if (z7) { - str2 = b2; - cVar = cVar2; - sb = sb4.toString(); - break; - } - str2 = b2; - int i14 = wVar6.b; - cVar = cVar2; - String b3 = c.b(wVar6, sb3); - if (b3 == null) { - sb = null; - break; - } else if ("}".equals(b3) || ";".equals(b3)) { - wVar6.D(i14); - b2 = str2; - cVar2 = cVar; - z7 = true; - } else { - sb4.append(b3); - b2 = str2; - cVar2 = cVar; - } - } - if (sb != null && !"".equals(sb)) { - int i15 = wVar6.b; - String b4 = c.b(wVar6, sb3); - if (!";".equals(b4)) { - if ("}".equals(b4)) { - wVar6.D(i15); - } - } - if (ModelAuditLogEntry.CHANGE_KEY_COLOR.equals(a)) { - fVar.f = c.i.a.c.i2.i.a(sb, true); - fVar.g = true; - } else if ("background-color".equals(a)) { - fVar.h = c.i.a.c.i2.i.a(sb, true); - fVar.i = true; - } else { - if ("ruby-position".equals(a)) { - if ("over".equals(sb)) { - fVar.o = 1; - } else if ("under".equals(sb)) { - fVar.o = 2; - } - } else if ("text-combine-upright".equals(a)) { - fVar.p = "all".equals(sb) || sb.startsWith("digits"); - } else if ("text-decoration".equals(a)) { - if ("underline".equals(sb)) { - fVar.k = 1; - } - } else if ("font-family".equals(a)) { - fVar.e = f0.K(sb); - } else { - if ("font-weight".equals(a)) { - if ("bold".equals(sb)) { - fVar.l = 1; - } - } else if ("font-style".equals(a) && "italic".equals(sb)) { - fVar.m = 1; - } - z5 = z6; - str4 = str2; - cVar2 = cVar; - } - z5 = z6; - str4 = str2; - cVar2 = cVar; - } - } - z5 = z6; - str4 = str2; - cVar2 = cVar; - } - } - str2 = b2; - cVar = cVar2; - z5 = z6; - str4 = str2; - cVar2 = cVar; - } - if ("}".equals(str4)) { - arrayList3.add(fVar); - } - cVar2 = cVar2; - i2 = 0; - i3 = -1; - r8 = 1; - } - } - str = null; - if (str == null) { - break; - } - break; - } - arrayList2.addAll(arrayList3); - } else { - throw new SubtitleDecoderException("A style block was found after the first cue."); - } - } else if (c2 == 3) { - w wVar7 = this.n; - Pattern pattern = h.a; - String g2 = wVar7.g(); - if (g2 == null) { - gVar = null; - } else { - Pattern pattern2 = h.a; - Matcher matcher2 = pattern2.matcher(g2); - if (matcher2.matches()) { - gVar = h.d(null, matcher2, wVar7, arrayList2); - } else { - String g3 = wVar7.g(); - if (g3 != null) { - Matcher matcher3 = pattern2.matcher(g3); - if (matcher3.matches()) { - gVar = h.d(g2.trim(), matcher3, wVar7, arrayList2); - } - } - gVar = null; - } - } - if (gVar != null) { - arrayList.add(gVar); - } - } - i2 = 0; - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/e2/u/j.java b/app/src/main/java/c/i/a/c/e2/u/j.java deleted file mode 100644 index 01b60482f5..0000000000 --- a/app/src/main/java/c/i/a/c/e2/u/j.java +++ /dev/null @@ -1,45 +0,0 @@ -package c.i.a.c.e2.u; - -import c.d.b.a.a; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.ParserException; -import java.util.regex.Pattern; -/* compiled from: WebvttParserUtil */ -public final class j { - static { - Pattern.compile("^NOTE([ \t].*)?$"); - } - - public static float a(String str) throws NumberFormatException { - if (str.endsWith("%")) { - return Float.parseFloat(str.substring(0, str.length() - 1)) / 100.0f; - } - throw new NumberFormatException("Percentages must end with %"); - } - - public static long b(String str) throws NumberFormatException { - int i = f0.a; - String[] split = str.split("\\.", 2); - long j = 0; - for (String str2 : f0.G(split[0], ":")) { - j = (j * 60) + Long.parseLong(str2); - } - long j2 = j * 1000; - if (split.length == 2) { - j2 += Long.parseLong(split[1]); - } - return j2 * 1000; - } - - public static void c(w wVar) throws ParserException { - int i = wVar.b; - String g = wVar.g(); - if (!(g != null && g.startsWith("WEBVTT"))) { - wVar.D(i); - StringBuilder O = a.O("Expected WEBVTT. Got "); - O.append(wVar.g()); - throw new ParserException(O.toString()); - } - } -} diff --git a/app/src/main/java/c/i/a/c/e2/u/k.java b/app/src/main/java/c/i/a/c/e2/u/k.java deleted file mode 100644 index 7109671013..0000000000 --- a/app/src/main/java/c/i/a/c/e2/u/k.java +++ /dev/null @@ -1,84 +0,0 @@ -package c.i.a.c.e2.u; - -import c.c.a.a0.d; -import c.i.a.c.e2.c; -import c.i.a.c.e2.f; -import c.i.a.c.i2.f0; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collections; -import java.util.List; -/* compiled from: WebvttSubtitle */ -public final class k implements f { - public final List i; - public final long[] j; - public final long[] k; - - public k(List list) { - this.i = Collections.unmodifiableList(new ArrayList(list)); - this.j = new long[(list.size() * 2)]; - for (int i = 0; i < list.size(); i++) { - g gVar = list.get(i); - int i2 = i * 2; - long[] jArr = this.j; - jArr[i2] = gVar.b; - jArr[i2 + 1] = gVar.f915c; - } - long[] jArr2 = this.j; - long[] copyOf = Arrays.copyOf(jArr2, jArr2.length); - this.k = copyOf; - Arrays.sort(copyOf); - } - - @Override // c.i.a.c.e2.f - public int f(long j) { - int b = f0.b(this.k, j, false, false); - if (b < this.k.length) { - return b; - } - return -1; - } - - @Override // c.i.a.c.e2.f - public long g(int i) { - boolean z2 = true; - d.k(i >= 0); - if (i >= this.k.length) { - z2 = false; - } - d.k(z2); - return this.k[i]; - } - - @Override // c.i.a.c.e2.f - public List h(long j) { - ArrayList arrayList = new ArrayList(); - ArrayList arrayList2 = new ArrayList(); - for (int i = 0; i < this.i.size(); i++) { - long[] jArr = this.j; - int i2 = i * 2; - if (jArr[i2] <= j && j < jArr[i2 + 1]) { - g gVar = this.i.get(i); - c cVar = gVar.a; - if (cVar.e == -3.4028235E38f) { - arrayList2.add(gVar); - } else { - arrayList.add(cVar); - } - } - } - Collections.sort(arrayList2, b.i); - for (int i3 = 0; i3 < arrayList2.size(); i3++) { - c.b a = ((g) arrayList2.get(i3)).a.a(); - a.d = (float) (-1 - i3); - a.e = 1; - arrayList.add(a.a()); - } - return arrayList; - } - - @Override // c.i.a.c.e2.f - public int i() { - return this.k.length; - } -} diff --git a/app/src/main/java/c/i/a/c/e3/a.java b/app/src/main/java/c/i/a/c/e3/a.java new file mode 100644 index 0000000000..fc02b3956e --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/a.java @@ -0,0 +1,62 @@ +package c.i.a.c.e3; + +import androidx.core.view.PointerIconCompat; +import c.i.a.c.a3.a0; +import c.i.a.c.e3.f; +import c.i.a.c.s2.g1; +import c.i.a.c.s2.h1; +import c.i.a.c.s2.s0; +import c.i.b.b.p; +import java.util.Iterator; +import java.util.List; +import java.util.NoSuchElementException; +/* compiled from: lambda */ +public final /* synthetic */ class a implements Runnable { + public final /* synthetic */ f.a.C0092a.C0093a i; + public final /* synthetic */ int j; + public final /* synthetic */ long k; + public final /* synthetic */ long l; + + public /* synthetic */ a(f.a.C0092a.C0093a aVar, int i, long j, long j2) { + this.i = aVar; + this.j = i; + this.k = j; + this.l = j2; + } + + @Override // java.lang.Runnable + public final void run() { + a0.a aVar; + a0.a aVar2; + a0.a next; + f.a.C0092a.C0093a aVar3 = this.i; + int i = this.j; + long j = this.k; + long j2 = this.l; + g1 g1Var = (g1) aVar3.b; + g1.a aVar4 = g1Var.l; + if (aVar4.b.isEmpty()) { + aVar = null; + } else { + p pVar = aVar4.b; + if (!(pVar instanceof List)) { + Iterator it = pVar.iterator(); + do { + next = it.next(); + } while (it.hasNext()); + aVar2 = next; + } else if (!pVar.isEmpty()) { + aVar2 = pVar.get(pVar.size() - 1); + } else { + throw new NoSuchElementException(); + } + aVar = aVar2; + } + h1.a m0 = g1Var.m0(aVar); + s0 s0Var = new s0(m0, i, j, j2); + g1Var.m.put(PointerIconCompat.TYPE_CELL, m0); + c.i.a.c.f3.p

pVar2 = g1Var.n; + pVar2.b(PointerIconCompat.TYPE_CELL, s0Var); + pVar2.a(); + } +} diff --git a/app/src/main/java/c/i/a/c/e3/a0.java b/app/src/main/java/c/i/a/c/e3/a0.java new file mode 100644 index 0000000000..74afa56f0f --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/a0.java @@ -0,0 +1,11 @@ +package c.i.a.c.e3; +/* compiled from: TransferListener */ +public interface a0 { + void a(l lVar, n nVar, boolean z2); + + void b(l lVar, n nVar, boolean z2); + + void e(l lVar, n nVar, boolean z2, int i); + + void g(l lVar, n nVar, boolean z2); +} diff --git a/app/src/main/java/c/i/a/c/e3/b.java b/app/src/main/java/c/i/a/c/e3/b.java new file mode 100644 index 0000000000..0923fd68aa --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b.java @@ -0,0 +1,39 @@ +package c.i.a.c.e3; + +import c.i.a.c.f3.v; +/* compiled from: lambda */ +public final /* synthetic */ class b implements v.b { + public final /* synthetic */ p a; + + public /* synthetic */ b(p pVar) { + this.a = pVar; + } + + @Override // c.i.a.c.f3.v.b + public final void a(int i) { + p pVar = this.a; + synchronized (pVar) { + int i2 = pVar.p; + if (i2 != 0 && !pVar.l) { + return; + } + if (i2 != i) { + pVar.p = i; + if (i != 1 && i != 0 && i != 8) { + pVar.f766s = pVar.h(i); + long d = pVar.k.d(); + pVar.j(pVar.m > 0 ? (int) (d - pVar.n) : 0, pVar.o, pVar.f766s); + pVar.n = d; + pVar.o = 0; + pVar.r = 0; + pVar.q = 0; + x xVar = pVar.j; + xVar.f771c.clear(); + xVar.e = -1; + xVar.f = 0; + xVar.g = 0; + } + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/a.java b/app/src/main/java/c/i/a/c/e3/b0/a.java new file mode 100644 index 0000000000..261b7f16e2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/a.java @@ -0,0 +1,5 @@ +package c.i.a.c.e3.b0; +/* compiled from: lambda */ +public final /* synthetic */ class a implements g { + public static final /* synthetic */ a b = new a(); +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/b.java b/app/src/main/java/c/i/a/c/e3/b0/b.java new file mode 100644 index 0000000000..54cf825003 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/b.java @@ -0,0 +1,16 @@ +package c.i.a.c.e3.b0; + +import java.util.Comparator; +/* compiled from: lambda */ +public final /* synthetic */ class b implements Comparator { + public static final /* synthetic */ b i = new b(); + + @Override // java.util.Comparator + public final int compare(Object obj, Object obj2) { + h hVar = (h) obj; + h hVar2 = (h) obj2; + long j = hVar.n; + long j2 = hVar2.n; + return j - j2 == 0 ? hVar.compareTo(hVar2) : j < j2 ? -1 : 1; + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/c.java b/app/src/main/java/c/i/a/c/e3/b0/c.java new file mode 100644 index 0000000000..35f9e11f00 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/c.java @@ -0,0 +1,388 @@ +package c.i.a.c.e3.b0; + +import android.net.Uri; +import androidx.annotation.Nullable; +import androidx.recyclerview.widget.RecyclerView; +import c.c.a.a0.d; +import c.i.a.c.e3.a0; +import c.i.a.c.e3.j; +import c.i.a.c.e3.l; +import c.i.a.c.e3.n; +import c.i.a.c.e3.z; +import c.i.a.c.f3.e0; +import com.google.android.exoplayer2.upstream.DataSourceException; +import com.google.android.exoplayer2.upstream.cache.Cache; +import java.io.IOException; +import java.io.InterruptedIOException; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import java.util.Objects; +/* compiled from: CacheDataSource */ +public final class c implements l { + public final Cache a; + public final l b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public final l f751c; + public final l d; + public final g e = a.b; + @Nullable + public final a f; + public final boolean g; + public final boolean h; + public final boolean i; + @Nullable + public Uri j; + @Nullable + public n k; + @Nullable + public n l; + @Nullable + public l m; + public long n; + public long o; + public long p; + @Nullable + public h q; + public boolean r; + + /* renamed from: s reason: collision with root package name */ + public boolean f752s; + public long t; + public long u; + + /* compiled from: CacheDataSource */ + public interface a { + void a(int i); + + void b(long j, long j2); + } + + public c(Cache cache, @Nullable l lVar, l lVar2, @Nullable j jVar, int i, @Nullable a aVar) { + this.a = cache; + this.b = lVar2; + int i2 = g.a; + boolean z2 = false; + this.g = (i & 1) != 0; + this.h = (i & 2) != 0; + this.i = (i & 4) != 0 ? true : z2; + this.d = lVar; + this.f751c = new z(lVar, jVar); + this.f = null; + } + + @Override // c.i.a.c.e3.l + public long a(n nVar) throws IOException { + a aVar; + try { + Objects.requireNonNull((a) this.e); + String str = nVar.h; + if (str == null) { + str = nVar.a.toString(); + } + n.b a2 = nVar.a(); + a2.h = str; + n a3 = a2.a(); + this.k = a3; + Cache cache = this.a; + Uri uri = a3.a; + byte[] bArr = ((n) cache.b(str)).f758c.get("exo_redir"); + Uri uri2 = null; + String str2 = bArr != null ? new String(bArr, c.i.b.a.c.f1307c) : null; + if (str2 != null) { + uri2 = Uri.parse(str2); + } + if (uri2 != null) { + uri = uri2; + } + this.j = uri; + this.o = nVar.f; + boolean z2 = true; + int i = (!this.h || !this.r) ? (!this.i || nVar.g != -1) ? -1 : 1 : 0; + if (i == -1) { + z2 = false; + } + this.f752s = z2; + if (z2 && (aVar = this.f) != null) { + aVar.a(i); + } + if (this.f752s) { + this.p = -1; + } else { + long a4 = k.a(this.a.b(str)); + this.p = a4; + if (a4 != -1) { + long j = a4 - nVar.f; + this.p = j; + if (j < 0) { + throw new DataSourceException(2008); + } + } + } + long j2 = nVar.g; + if (j2 != -1) { + long j3 = this.p; + if (j3 != -1) { + j2 = Math.min(j3, j2); + } + this.p = j2; + } + long j4 = this.p; + if (j4 > 0 || j4 == -1) { + t(a3, false); + } + long j5 = nVar.g; + return j5 != -1 ? j5 : this.p; + } catch (Throwable th) { + q(th); + throw th; + } + } + + @Override // c.i.a.c.e3.l + public void close() throws IOException { + this.k = null; + this.j = null; + this.o = 0; + a aVar = this.f; + if (aVar != null && this.t > 0) { + aVar.b(this.a.h(), this.t); + this.t = 0; + } + try { + p(); + } catch (Throwable th) { + q(th); + throw th; + } + } + + @Override // c.i.a.c.e3.l + public void d(a0 a0Var) { + Objects.requireNonNull(a0Var); + this.b.d(a0Var); + this.d.d(a0Var); + } + + @Override // c.i.a.c.e3.l + public Map> j() { + return s() ? this.d.j() : Collections.emptyMap(); + } + + @Override // c.i.a.c.e3.l + @Nullable + public Uri n() { + return this.j; + } + + /* JADX WARNING: Unknown variable types count: 1 */ + public final void p() throws IOException { + l lVar = this.m; + if (lVar != null) { + ?? r1 = 0; + try { + lVar.close(); + } finally { + this.l = r1; + this.m = r1; + h hVar = this.q; + if (hVar != null) { + this.a.i(hVar); + this.q = r1; + } + } + } + } + + public final void q(Throwable th) { + if (r() || (th instanceof Cache.CacheException)) { + this.r = true; + } + } + + public final boolean r() { + return this.m == this.b; + } + + @Override // c.i.a.c.e3.h + public int read(byte[] bArr, int i, int i2) throws IOException { + boolean z2 = false; + if (i2 == 0) { + return 0; + } + if (this.p == 0) { + return -1; + } + n nVar = this.k; + Objects.requireNonNull(nVar); + n nVar2 = this.l; + Objects.requireNonNull(nVar2); + try { + if (this.o >= this.u) { + t(nVar, true); + } + l lVar = this.m; + Objects.requireNonNull(lVar); + int read = lVar.read(bArr, i, i2); + if (read != -1) { + if (r()) { + this.t += (long) read; + } + long j = (long) read; + this.o += j; + this.n += j; + long j2 = this.p; + if (j2 != -1) { + this.p = j2 - j; + } + } else { + if (s()) { + long j3 = nVar2.g; + if (j3 == -1 || this.n < j3) { + String str = nVar.h; + int i3 = e0.a; + this.p = 0; + if (this.m == this.f751c) { + z2 = true; + } + if (z2) { + m mVar = new m(); + m.a(mVar, this.o); + this.a.c(str, mVar); + } + } + } + long j4 = this.p; + if (j4 <= 0) { + if (j4 == -1) { + } + } + p(); + t(nVar, false); + return read(bArr, i, i2); + } + return read; + } catch (Throwable th) { + q(th); + throw th; + } + } + + public final boolean s() { + return !r(); + } + + public final void t(n nVar, boolean z2) throws IOException { + h hVar; + n nVar2; + l lVar; + String str = nVar.h; + int i = e0.a; + Uri uri = null; + if (this.f752s) { + hVar = null; + } else if (this.g) { + try { + hVar = this.a.f(str, this.o, this.p); + } catch (InterruptedException unused) { + Thread.currentThread().interrupt(); + throw new InterruptedIOException(); + } + } else { + hVar = this.a.e(str, this.o, this.p); + } + if (hVar == null) { + lVar = this.d; + n.b a2 = nVar.a(); + a2.f = this.o; + a2.g = this.p; + nVar2 = a2.a(); + } else if (hVar.l) { + Uri fromFile = Uri.fromFile(hVar.m); + long j = hVar.j; + long j2 = this.o - j; + long j3 = hVar.k - j2; + long j4 = this.p; + if (j4 != -1) { + j3 = Math.min(j3, j4); + } + n.b a3 = nVar.a(); + a3.a = fromFile; + a3.b = j; + a3.f = j2; + a3.g = j3; + nVar2 = a3.a(); + lVar = this.b; + } else { + long j5 = hVar.k; + if (j5 == -1) { + j5 = this.p; + } else { + long j6 = this.p; + if (j6 != -1) { + j5 = Math.min(j5, j6); + } + } + n.b a4 = nVar.a(); + a4.f = this.o; + a4.g = j5; + nVar2 = a4.a(); + lVar = this.f751c; + if (lVar == null) { + lVar = this.d; + this.a.i(hVar); + hVar = null; + } + } + this.u = (this.f752s || lVar != this.d) ? RecyclerView.FOREVER_NS : this.o + 102400; + if (z2) { + d.D(this.m == this.d); + if (lVar != this.d) { + try { + p(); + } catch (Throwable th) { + if (!hVar.l) { + this.a.i(hVar); + } + throw th; + } + } else { + return; + } + } + if (hVar != null && (!hVar.l)) { + this.q = hVar; + } + this.m = lVar; + this.l = nVar2; + this.n = 0; + long a5 = lVar.a(nVar2); + m mVar = new m(); + if (nVar2.g == -1 && a5 != -1) { + this.p = a5; + m.a(mVar, this.o + a5); + } + if (s()) { + Uri n = lVar.n(); + this.j = n; + if (!nVar.a.equals(n)) { + uri = this.j; + } + if (uri == null) { + mVar.b.add("exo_redir"); + mVar.a.remove("exo_redir"); + } else { + String uri2 = uri.toString(); + Map map = mVar.a; + Objects.requireNonNull(uri2); + map.put("exo_redir", uri2); + mVar.b.remove("exo_redir"); + } + } + if (this.m == this.f751c) { + this.a.c(str, mVar); + } + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/d.java b/app/src/main/java/c/i/a/c/e3/b0/d.java new file mode 100644 index 0000000000..c23272f6e0 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/d.java @@ -0,0 +1,9 @@ +package c.i.a.c.e3.b0; + +import com.google.android.exoplayer2.upstream.cache.Cache; +/* compiled from: CacheEvictor */ +public interface d extends Cache.a { + void a(Cache cache, String str, long j, long j2); + + void e(); +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/e.java b/app/src/main/java/c/i/a/c/e3/b0/e.java new file mode 100644 index 0000000000..13eef750b8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/e.java @@ -0,0 +1,11 @@ +package c.i.a.c.e3.b0; +/* compiled from: CacheFileMetadata */ +public final class e { + public final long a; + public final long b; + + public e(long j, long j2) { + this.a = j; + this.b = j2; + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/f.java b/app/src/main/java/c/i/a/c/e3/b0/f.java new file mode 100644 index 0000000000..72476eb245 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/f.java @@ -0,0 +1,116 @@ +package c.i.a.c.e3.b0; + +import android.content.ContentValues; +import android.database.Cursor; +import android.database.SQLException; +import android.database.sqlite.SQLiteDatabase; +import androidx.annotation.WorkerThread; +import c.i.a.c.u2.a; +import c.i.a.c.u2.d; +import com.discord.models.domain.ModelAuditLogEntry; +import com.google.android.exoplayer2.database.DatabaseIOException; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Map; +import java.util.Objects; +import java.util.Set; +/* compiled from: CacheFileMetadataIndex */ +public final class f { + public static final String[] a = {ModelAuditLogEntry.CHANGE_KEY_NAME, "length", "last_touch_timestamp"}; + public final a b; + + /* renamed from: c reason: collision with root package name */ + public String f753c; + + public f(a aVar) { + this.b = aVar; + } + + @WorkerThread + public Map a() throws DatabaseIOException { + try { + Objects.requireNonNull(this.f753c); + Cursor query = this.b.getReadableDatabase().query(this.f753c, a, null, null, null, null, null); + try { + HashMap hashMap = new HashMap(query.getCount()); + while (query.moveToNext()) { + String string = query.getString(0); + Objects.requireNonNull(string); + hashMap.put(string, new e(query.getLong(1), query.getLong(2))); + } + query.close(); + return hashMap; + } catch (Throwable th) { + th.addSuppressed(th); + } + throw th; + } catch (SQLException e) { + throw new DatabaseIOException(e); + } + } + + @WorkerThread + public void b(long j) throws DatabaseIOException { + try { + String hexString = Long.toHexString(j); + String valueOf = String.valueOf(hexString); + this.f753c = valueOf.length() != 0 ? "ExoPlayerCacheFileMetadata".concat(valueOf) : new String("ExoPlayerCacheFileMetadata"); + if (d.a(this.b.getReadableDatabase(), 2, hexString) != 1) { + SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); + writableDatabase.beginTransactionNonExclusive(); + try { + d.b(writableDatabase, 2, hexString, 1); + String valueOf2 = String.valueOf(this.f753c); + writableDatabase.execSQL(valueOf2.length() != 0 ? "DROP TABLE IF EXISTS ".concat(valueOf2) : new String("DROP TABLE IF EXISTS ")); + String str = this.f753c; + StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 108); + sb.append("CREATE TABLE "); + sb.append(str); + sb.append(" "); + sb.append("(name TEXT PRIMARY KEY NOT NULL,length INTEGER NOT NULL,last_touch_timestamp INTEGER NOT NULL)"); + writableDatabase.execSQL(sb.toString()); + writableDatabase.setTransactionSuccessful(); + } finally { + writableDatabase.endTransaction(); + } + } + } catch (SQLException e) { + throw new DatabaseIOException(e); + } + } + + @WorkerThread + public void c(Set set) throws DatabaseIOException { + Objects.requireNonNull(this.f753c); + try { + SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); + writableDatabase.beginTransactionNonExclusive(); + try { + Iterator it = set.iterator(); + while (it.hasNext()) { + writableDatabase.delete(this.f753c, "name = ?", new String[]{it.next()}); + } + writableDatabase.setTransactionSuccessful(); + } finally { + writableDatabase.endTransaction(); + } + } catch (SQLException e) { + throw new DatabaseIOException(e); + } + } + + @WorkerThread + public void d(String str, long j, long j2) throws DatabaseIOException { + Objects.requireNonNull(this.f753c); + try { + SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); + ContentValues contentValues = new ContentValues(); + contentValues.put(ModelAuditLogEntry.CHANGE_KEY_NAME, str); + contentValues.put("length", Long.valueOf(j)); + contentValues.put("last_touch_timestamp", Long.valueOf(j2)); + writableDatabase.replaceOrThrow(this.f753c, null, contentValues); + } catch (SQLException e) { + throw new DatabaseIOException(e); + } + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/g.java b/app/src/main/java/c/i/a/c/e3/b0/g.java new file mode 100644 index 0000000000..b2236016e7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/g.java @@ -0,0 +1,5 @@ +package c.i.a.c.e3.b0; +/* compiled from: CacheKeyFactory */ +public interface g { + public static final /* synthetic */ int a = 0; +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/h.java b/app/src/main/java/c/i/a/c/e3/b0/h.java new file mode 100644 index 0000000000..84388d81da --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/h.java @@ -0,0 +1,42 @@ +package c.i.a.c.e3.b0; + +import androidx.annotation.Nullable; +import c.d.b.a.a; +import java.io.File; +/* compiled from: CacheSpan */ +public class h implements Comparable { + public final String i; + public final long j; + public final long k; + public final boolean l; + @Nullable + public final File m; + public final long n; + + public h(String str, long j, long j2, long j3, @Nullable File file) { + this.i = str; + this.j = j; + this.k = j2; + this.l = file != null; + this.m = file; + this.n = j3; + } + + /* renamed from: f */ + public int compareTo(h hVar) { + if (!this.i.equals(hVar.i)) { + return this.i.compareTo(hVar.i); + } + int i = ((this.j - hVar.j) > 0 ? 1 : ((this.j - hVar.j) == 0 ? 0 : -1)); + if (i == 0) { + return 0; + } + return i < 0 ? -1 : 1; + } + + @Override // java.lang.Object + public String toString() { + long j = this.j; + return a.B(a.P(44, "[", j, ", "), this.k, "]"); + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/i.java b/app/src/main/java/c/i/a/c/e3/b0/i.java new file mode 100644 index 0000000000..d8200d651a --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/i.java @@ -0,0 +1,78 @@ +package c.i.a.c.e3.b0; + +import androidx.annotation.Nullable; +import java.util.ArrayList; +import java.util.TreeSet; +/* compiled from: CachedContent */ +public final class i { + public final int a; + public final String b; + + /* renamed from: c reason: collision with root package name */ + public final TreeSet f754c = new TreeSet<>(); + public final ArrayList d = new ArrayList<>(); + public n e; + + /* compiled from: CachedContent */ + public static final class a { + public final long a; + public final long b; + + public a(long j, long j2) { + this.a = j; + this.b = j2; + } + } + + public i(int i, String str, n nVar) { + this.a = i; + this.b = str; + this.e = nVar; + } + + /* JADX WARNING: Code restructure failed: missing block: B:14:0x0035, code lost: + if ((r11 + r13) <= (r5 + r3)) goto L_0x0021; + */ + /* JADX WARNING: Code restructure failed: missing block: B:6:0x001f, code lost: + if (r11 >= r2.a) goto L_0x0021; + */ + /* JADX WARNING: Removed duplicated region for block: B:17:0x003b A[LOOP:0: B:1:0x0002->B:17:0x003b, LOOP_END] */ + /* JADX WARNING: Removed duplicated region for block: B:20:0x003a A[SYNTHETIC] */ + public boolean a(long j, long j2) { + boolean z2; + for (int i = 0; i < this.d.size(); i++) { + a aVar = this.d.get(i); + long j3 = aVar.b; + if (j3 != -1) { + if (j2 != -1) { + long j4 = aVar.a; + if (j4 <= j) { + } + } + z2 = false; + if (!z2) { + return true; + } + } + z2 = true; + if (!z2) { + } + } + return false; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || i.class != obj.getClass()) { + return false; + } + i iVar = (i) obj; + return this.a == iVar.a && this.b.equals(iVar.b) && this.f754c.equals(iVar.f754c) && this.e.equals(iVar.e); + } + + public int hashCode() { + return this.e.hashCode() + c.d.b.a.a.m(this.b, this.a * 31, 31); + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/j.java b/app/src/main/java/c/i/a/c/e3/b0/j.java new file mode 100644 index 0000000000..dbe7132ddf --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/j.java @@ -0,0 +1,679 @@ +package c.i.a.c.e3.b0; + +import android.content.ContentValues; +import android.database.Cursor; +import android.database.SQLException; +import android.database.sqlite.SQLiteDatabase; +import android.database.sqlite.SQLiteException; +import android.util.SparseArray; +import android.util.SparseBooleanArray; +import androidx.annotation.Nullable; +import androidx.annotation.WorkerThread; +import c.i.a.c.f3.e; +import c.i.a.c.f3.e0; +import c.i.a.c.u2.d; +import com.discord.models.domain.ModelAuditLogEntry; +import com.google.android.exoplayer2.database.DatabaseIOException; +import java.io.BufferedInputStream; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.File; +import java.io.IOException; +import java.io.OutputStream; +import java.security.InvalidAlgorithmParameterException; +import java.security.InvalidKeyException; +import java.security.NoSuchAlgorithmException; +import java.security.SecureRandom; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Set; +import javax.crypto.Cipher; +import javax.crypto.CipherInputStream; +import javax.crypto.CipherOutputStream; +import javax.crypto.NoSuchPaddingException; +import javax.crypto.spec.IvParameterSpec; +import javax.crypto.spec.SecretKeySpec; +/* compiled from: CachedContentIndex */ +public class j { + public final HashMap a; + public final SparseArray b; + + /* renamed from: c reason: collision with root package name */ + public final SparseBooleanArray f755c; + public final SparseBooleanArray d; + public c e; + @Nullable + public c f; + + /* compiled from: CachedContentIndex */ + public static final class a implements c { + public static final String[] a = {ModelAuditLogEntry.CHANGE_KEY_ID, "key", "metadata"}; + public final c.i.a.c.u2.a b; + + /* renamed from: c reason: collision with root package name */ + public final SparseArray f756c = new SparseArray<>(); + public String d; + public String e; + + public a(c.i.a.c.u2.a aVar) { + this.b = aVar; + } + + public static void j(SQLiteDatabase sQLiteDatabase, String str) { + String valueOf = String.valueOf(str); + sQLiteDatabase.execSQL(valueOf.length() != 0 ? "DROP TABLE IF EXISTS ".concat(valueOf) : new String("DROP TABLE IF EXISTS ")); + } + + public static String k(String str) { + String valueOf = String.valueOf(str); + return valueOf.length() != 0 ? "ExoPlayerCacheIndex".concat(valueOf) : new String("ExoPlayerCacheIndex"); + } + + @Override // c.i.a.c.e3.b0.j.c + public void a(i iVar, boolean z2) { + if (z2) { + this.f756c.delete(iVar.a); + } else { + this.f756c.put(iVar.a, null); + } + } + + @Override // c.i.a.c.e3.b0.j.c + public void b(HashMap hashMap) throws IOException { + try { + SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); + writableDatabase.beginTransactionNonExclusive(); + try { + l(writableDatabase); + for (i iVar : hashMap.values()) { + i(writableDatabase, iVar); + } + writableDatabase.setTransactionSuccessful(); + this.f756c.clear(); + } finally { + writableDatabase.endTransaction(); + } + } catch (SQLException e) { + throw new DatabaseIOException(e); + } + } + + @Override // c.i.a.c.e3.b0.j.c + public void c(i iVar) { + this.f756c.put(iVar.a, iVar); + } + + @Override // c.i.a.c.e3.b0.j.c + public boolean d() throws DatabaseIOException { + SQLiteDatabase readableDatabase = this.b.getReadableDatabase(); + String str = this.d; + Objects.requireNonNull(str); + return d.a(readableDatabase, 1, str) != -1; + } + + @Override // c.i.a.c.e3.b0.j.c + public void e(HashMap hashMap) throws IOException { + if (this.f756c.size() != 0) { + try { + SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); + writableDatabase.beginTransactionNonExclusive(); + for (int i = 0; i < this.f756c.size(); i++) { + try { + i valueAt = this.f756c.valueAt(i); + if (valueAt == null) { + int keyAt = this.f756c.keyAt(i); + String str = this.e; + Objects.requireNonNull(str); + writableDatabase.delete(str, "id = ?", new String[]{Integer.toString(keyAt)}); + } else { + i(writableDatabase, valueAt); + } + } finally { + writableDatabase.endTransaction(); + } + } + writableDatabase.setTransactionSuccessful(); + this.f756c.clear(); + writableDatabase.endTransaction(); + } catch (SQLException e) { + throw new DatabaseIOException(e); + } + } + } + + @Override // c.i.a.c.e3.b0.j.c + public void f(long j) { + String hexString = Long.toHexString(j); + this.d = hexString; + this.e = k(hexString); + } + + @Override // c.i.a.c.e3.b0.j.c + public void g(HashMap hashMap, SparseArray sparseArray) throws IOException { + c.c.a.a0.d.D(this.f756c.size() == 0); + try { + SQLiteDatabase readableDatabase = this.b.getReadableDatabase(); + String str = this.d; + Objects.requireNonNull(str); + if (d.a(readableDatabase, 1, str) != 1) { + SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); + writableDatabase.beginTransactionNonExclusive(); + try { + l(writableDatabase); + writableDatabase.setTransactionSuccessful(); + } finally { + writableDatabase.endTransaction(); + } + } + SQLiteDatabase readableDatabase2 = this.b.getReadableDatabase(); + String str2 = this.e; + Objects.requireNonNull(str2); + Cursor query = readableDatabase2.query(str2, a, null, null, null, null, null); + while (query.moveToNext()) { + try { + int i = query.getInt(0); + String string = query.getString(1); + Objects.requireNonNull(string); + hashMap.put(string, new i(i, string, j.a(new DataInputStream(new ByteArrayInputStream(query.getBlob(2)))))); + sparseArray.put(i, string); + } catch (Throwable th) { + th.addSuppressed(th); + } + } + query.close(); + return; + throw th; + } catch (SQLiteException e) { + hashMap.clear(); + sparseArray.clear(); + throw new DatabaseIOException(e); + } + } + + @Override // c.i.a.c.e3.b0.j.c + public void h() throws DatabaseIOException { + c.i.a.c.u2.a aVar = this.b; + String str = this.d; + Objects.requireNonNull(str); + try { + String k = k(str); + SQLiteDatabase writableDatabase = aVar.getWritableDatabase(); + writableDatabase.beginTransactionNonExclusive(); + try { + int i = d.a; + try { + if (e0.J(writableDatabase, "ExoPlayerVersions")) { + writableDatabase.delete("ExoPlayerVersions", "feature = ? AND instance_uid = ?", new String[]{Integer.toString(1), str}); + } + j(writableDatabase, k); + writableDatabase.setTransactionSuccessful(); + } catch (SQLException e) { + throw new DatabaseIOException(e); + } + } finally { + writableDatabase.endTransaction(); + } + } catch (SQLException e2) { + throw new DatabaseIOException(e2); + } + } + + public final void i(SQLiteDatabase sQLiteDatabase, i iVar) throws IOException { + ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); + j.b(iVar.e, new DataOutputStream(byteArrayOutputStream)); + byte[] byteArray = byteArrayOutputStream.toByteArray(); + ContentValues contentValues = new ContentValues(); + contentValues.put(ModelAuditLogEntry.CHANGE_KEY_ID, Integer.valueOf(iVar.a)); + contentValues.put("key", iVar.b); + contentValues.put("metadata", byteArray); + String str = this.e; + Objects.requireNonNull(str); + sQLiteDatabase.replaceOrThrow(str, null, contentValues); + } + + public final void l(SQLiteDatabase sQLiteDatabase) throws DatabaseIOException { + String str = this.d; + Objects.requireNonNull(str); + d.b(sQLiteDatabase, 1, str, 1); + String str2 = this.e; + Objects.requireNonNull(str2); + j(sQLiteDatabase, str2); + String str3 = this.e; + sQLiteDatabase.execSQL(c.d.b.a.a.k(c.d.b.a.a.b(str3, 88), "CREATE TABLE ", str3, " ", "(id INTEGER PRIMARY KEY NOT NULL,key TEXT NOT NULL,metadata BLOB NOT NULL)")); + } + } + + /* compiled from: CachedContentIndex */ + public static class b implements c { + public final boolean a; + @Nullable + public final Cipher b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public final SecretKeySpec f757c; + @Nullable + public final SecureRandom d; + public final e e; + public boolean f; + @Nullable + public p g; + + public b(File file, @Nullable byte[] bArr, boolean z2) { + SecretKeySpec secretKeySpec; + Cipher cipher; + boolean z3 = false; + c.c.a.a0.d.D(bArr != null || !z2); + SecureRandom secureRandom = null; + if (bArr != null) { + c.c.a.a0.d.j(bArr.length == 16 ? true : z3); + try { + if (e0.a == 18) { + try { + cipher = Cipher.getInstance("AES/CBC/PKCS5PADDING", "BC"); + } catch (Throwable unused) { + } + secretKeySpec = new SecretKeySpec(bArr, "AES"); + } + cipher = Cipher.getInstance("AES/CBC/PKCS5PADDING"); + secretKeySpec = new SecretKeySpec(bArr, "AES"); + } catch (NoSuchAlgorithmException | NoSuchPaddingException e) { + throw new IllegalStateException(e); + } + } else { + c.c.a.a0.d.j(!z2); + cipher = null; + secretKeySpec = null; + } + this.a = z2; + this.b = cipher; + this.f757c = secretKeySpec; + this.d = z2 ? new SecureRandom() : secureRandom; + this.e = new e(file); + } + + @Override // c.i.a.c.e3.b0.j.c + public void a(i iVar, boolean z2) { + this.f = true; + } + + /* JADX WARNING: Removed duplicated region for block: B:33:0x00b3 A[SYNTHETIC, Splitter:B:33:0x00b3] */ + @Override // c.i.a.c.e3.b0.j.c + public void b(HashMap hashMap) throws IOException { + Throwable th; + DataOutputStream dataOutputStream = null; + try { + OutputStream c2 = this.e.c(); + p pVar = this.g; + if (pVar == null) { + this.g = new p(c2); + } else { + pVar.a(c2); + } + p pVar2 = this.g; + DataOutputStream dataOutputStream2 = new DataOutputStream(pVar2); + try { + dataOutputStream2.writeInt(2); + dataOutputStream2.writeInt(this.a ? 1 : 0); + if (this.a) { + byte[] bArr = new byte[16]; + SecureRandom secureRandom = this.d; + int i = e0.a; + secureRandom.nextBytes(bArr); + dataOutputStream2.write(bArr); + try { + this.b.init(1, this.f757c, new IvParameterSpec(bArr)); + dataOutputStream2.flush(); + dataOutputStream2 = new DataOutputStream(new CipherOutputStream(pVar2, this.b)); + } catch (InvalidAlgorithmParameterException | InvalidKeyException e) { + throw new IllegalStateException(e); + } + } + dataOutputStream2.writeInt(hashMap.size()); + int i2 = 0; + for (i iVar : hashMap.values()) { + dataOutputStream2.writeInt(iVar.a); + dataOutputStream2.writeUTF(iVar.b); + j.b(iVar.e, dataOutputStream2); + i2 += i(iVar, 2); + } + dataOutputStream2.writeInt(i2); + e eVar = this.e; + Objects.requireNonNull(eVar); + dataOutputStream2.close(); + eVar.b.delete(); + int i3 = e0.a; + this.f = false; + } catch (Throwable th2) { + th = th2; + dataOutputStream = dataOutputStream2; + int i4 = e0.a; + if (dataOutputStream != null) { + try { + dataOutputStream.close(); + } catch (IOException unused) { + } + } + throw th; + } + } catch (Throwable th3) { + th = th3; + int i4 = e0.a; + if (dataOutputStream != null) { + } + throw th; + } + } + + @Override // c.i.a.c.e3.b0.j.c + public void c(i iVar) { + this.f = true; + } + + @Override // c.i.a.c.e3.b0.j.c + public boolean d() { + return this.e.a(); + } + + @Override // c.i.a.c.e3.b0.j.c + public void e(HashMap hashMap) throws IOException { + if (this.f) { + b(hashMap); + } + } + + @Override // c.i.a.c.e3.b0.j.c + public void f(long j) { + } + + /* JADX WARNING: Removed duplicated region for block: B:48:0x00b6 */ + /* JADX WARNING: Removed duplicated region for block: B:55:0x00bf */ + /* JADX WARNING: Removed duplicated region for block: B:59:0x00c7 */ + /* JADX WARNING: Removed duplicated region for block: B:62:? A[RETURN, SYNTHETIC] */ + @Override // c.i.a.c.e3.b0.j.c + public void g(HashMap hashMap, SparseArray sparseArray) { + Throwable th; + boolean z2 = true; + c.c.a.a0.d.D(!this.f); + if (this.e.a()) { + DataInputStream dataInputStream = null; + try { + BufferedInputStream bufferedInputStream = new BufferedInputStream(this.e.b()); + DataInputStream dataInputStream2 = new DataInputStream(bufferedInputStream); + try { + int readInt = dataInputStream2.readInt(); + if (readInt >= 0) { + if (readInt <= 2) { + if ((dataInputStream2.readInt() & 1) != 0) { + if (this.b != null) { + byte[] bArr = new byte[16]; + dataInputStream2.readFully(bArr); + IvParameterSpec ivParameterSpec = new IvParameterSpec(bArr); + try { + Cipher cipher = this.b; + SecretKeySpec secretKeySpec = this.f757c; + int i = e0.a; + cipher.init(2, secretKeySpec, ivParameterSpec); + dataInputStream2 = new DataInputStream(new CipherInputStream(bufferedInputStream, this.b)); + } catch (InvalidAlgorithmParameterException | InvalidKeyException e) { + throw new IllegalStateException(e); + } + } + } else if (this.a) { + this.f = true; + } + int readInt2 = dataInputStream2.readInt(); + int i2 = 0; + for (int i3 = 0; i3 < readInt2; i3++) { + i j = j(readInt, dataInputStream2); + hashMap.put(j.b, j); + sparseArray.put(j.a, j.b); + i2 += i(j, readInt); + } + int readInt3 = dataInputStream2.readInt(); + boolean z3 = dataInputStream2.read() == -1; + if (readInt3 == i2 && z3) { + int i4 = e0.a; + try { + dataInputStream2.close(); + } catch (IOException unused) { + } + } + } + } + int i5 = e0.a; + try { + dataInputStream2.close(); + } catch (IOException unused2) { + } + } catch (IOException unused3) { + dataInputStream = dataInputStream2; + if (dataInputStream != null) { + } + z2 = false; + if (!z2) { + } + } catch (Throwable th2) { + th = th2; + dataInputStream = dataInputStream2; + if (dataInputStream != null) { + } + throw th; + } + } catch (IOException unused4) { + if (dataInputStream != null) { + int i6 = e0.a; + dataInputStream.close(); + } + z2 = false; + if (!z2) { + } + } catch (Throwable th3) { + th = th3; + if (dataInputStream != null) { + int i7 = e0.a; + try { + dataInputStream.close(); + } catch (IOException unused5) { + } + } + throw th; + } + z2 = false; + } + if (!z2) { + hashMap.clear(); + sparseArray.clear(); + e eVar = this.e; + eVar.a.delete(); + eVar.b.delete(); + } + } + + @Override // c.i.a.c.e3.b0.j.c + public void h() { + e eVar = this.e; + eVar.a.delete(); + eVar.b.delete(); + } + + public final int i(i iVar, int i) { + int hashCode = iVar.b.hashCode() + (iVar.a * 31); + if (i >= 2) { + return (hashCode * 31) + iVar.e.hashCode(); + } + long a = k.a(iVar.e); + return (hashCode * 31) + ((int) (a ^ (a >>> 32))); + } + + public final i j(int i, DataInputStream dataInputStream) throws IOException { + n nVar; + int readInt = dataInputStream.readInt(); + String readUTF = dataInputStream.readUTF(); + if (i < 2) { + long readLong = dataInputStream.readLong(); + m mVar = new m(); + m.a(mVar, readLong); + nVar = n.a.a(mVar); + } else { + nVar = j.a(dataInputStream); + } + return new i(readInt, readUTF, nVar); + } + } + + /* compiled from: CachedContentIndex */ + public interface c { + void a(i iVar, boolean z2); + + void b(HashMap hashMap) throws IOException; + + void c(i iVar); + + boolean d() throws IOException; + + void e(HashMap hashMap) throws IOException; + + void f(long j); + + void g(HashMap hashMap, SparseArray sparseArray) throws IOException; + + void h() throws IOException; + } + + public j(@Nullable c.i.a.c.u2.a aVar, @Nullable File file, @Nullable byte[] bArr, boolean z2, boolean z3) { + c.c.a.a0.d.D((aVar == null && file == null) ? false : true); + this.a = new HashMap<>(); + this.b = new SparseArray<>(); + this.f755c = new SparseBooleanArray(); + this.d = new SparseBooleanArray(); + b bVar = null; + a aVar2 = aVar != null ? new a(aVar) : null; + bVar = file != null ? new b(new File(file, "cached_content_index.exi"), bArr, z2) : bVar; + if (aVar2 == null || (bVar != null && z3)) { + int i = e0.a; + this.e = bVar; + this.f = aVar2; + return; + } + this.e = aVar2; + this.f = bVar; + } + + public static n a(DataInputStream dataInputStream) throws IOException { + int readInt = dataInputStream.readInt(); + HashMap hashMap = new HashMap(); + for (int i = 0; i < readInt; i++) { + String readUTF = dataInputStream.readUTF(); + int readInt2 = dataInputStream.readInt(); + if (readInt2 >= 0) { + int min = Math.min(readInt2, 10485760); + byte[] bArr = e0.f; + int i2 = 0; + while (i2 != readInt2) { + int i3 = i2 + min; + bArr = Arrays.copyOf(bArr, i3); + dataInputStream.readFully(bArr, i2, min); + min = Math.min(readInt2 - i3, 10485760); + i2 = i3; + } + hashMap.put(readUTF, bArr); + } else { + throw new IOException(c.d.b.a.a.f(31, "Invalid value size: ", readInt2)); + } + } + return new n(hashMap); + } + + public static void b(n nVar, DataOutputStream dataOutputStream) throws IOException { + Set> entrySet = nVar.f758c.entrySet(); + dataOutputStream.writeInt(entrySet.size()); + for (Map.Entry entry : entrySet) { + dataOutputStream.writeUTF(entry.getKey()); + byte[] value = entry.getValue(); + dataOutputStream.writeInt(value.length); + dataOutputStream.write(value); + } + } + + @Nullable + public i c(String str) { + return this.a.get(str); + } + + public i d(String str) { + i iVar = this.a.get(str); + if (iVar != null) { + return iVar; + } + SparseArray sparseArray = this.b; + int size = sparseArray.size(); + int i = 0; + int keyAt = size == 0 ? 0 : sparseArray.keyAt(size - 1) + 1; + if (keyAt < 0) { + while (i < size && i == sparseArray.keyAt(i)) { + i++; + } + keyAt = i; + } + i iVar2 = new i(keyAt, str, n.a); + this.a.put(str, iVar2); + this.b.put(keyAt, str); + this.d.put(keyAt, true); + this.e.c(iVar2); + return iVar2; + } + + @WorkerThread + public void e(long j) throws IOException { + c cVar; + this.e.f(j); + c cVar2 = this.f; + if (cVar2 != null) { + cVar2.f(j); + } + if (this.e.d() || (cVar = this.f) == null || !cVar.d()) { + this.e.g(this.a, this.b); + } else { + this.f.g(this.a, this.b); + this.e.b(this.a); + } + c cVar3 = this.f; + if (cVar3 != null) { + cVar3.h(); + this.f = null; + } + } + + public void f(String str) { + i iVar = this.a.get(str); + if (iVar != null && iVar.f754c.isEmpty() && iVar.d.isEmpty()) { + this.a.remove(str); + int i = iVar.a; + boolean z2 = this.d.get(i); + this.e.a(iVar, z2); + if (z2) { + this.b.remove(i); + this.d.delete(i); + return; + } + this.b.put(i, null); + this.f755c.put(i, true); + } + } + + @WorkerThread + public void g() throws IOException { + this.e.e(this.a); + int size = this.f755c.size(); + for (int i = 0; i < size; i++) { + this.b.remove(this.f755c.keyAt(i)); + } + this.f755c.clear(); + this.d.clear(); + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/k.java b/app/src/main/java/c/i/a/c/e3/b0/k.java new file mode 100644 index 0000000000..af4928682f --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/k.java @@ -0,0 +1,13 @@ +package c.i.a.c.e3.b0; + +import java.nio.ByteBuffer; +/* compiled from: ContentMetadata */ +public final /* synthetic */ class k { + public static long a(l lVar) { + byte[] bArr = ((n) lVar).f758c.get("exo_len"); + if (bArr != null) { + return ByteBuffer.wrap(bArr).getLong(); + } + return -1; + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/l.java b/app/src/main/java/c/i/a/c/e3/b0/l.java new file mode 100644 index 0000000000..86d8577db0 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/l.java @@ -0,0 +1,4 @@ +package c.i.a.c.e3.b0; +/* compiled from: ContentMetadata */ +public interface l { +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/m.java b/app/src/main/java/c/i/a/c/e3/b0/m.java new file mode 100644 index 0000000000..013e1ef4d5 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/m.java @@ -0,0 +1,21 @@ +package c.i.a.c.e3.b0; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +/* compiled from: ContentMetadataMutations */ +public class m { + public final Map a = new HashMap(); + public final List b = new ArrayList(); + + public static m a(m mVar, long j) { + Long valueOf = Long.valueOf(j); + Map map = mVar.a; + Objects.requireNonNull(valueOf); + map.put("exo_len", valueOf); + mVar.b.remove("exo_len"); + return mVar; + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/n.java b/app/src/main/java/c/i/a/c/e3/b0/n.java new file mode 100644 index 0000000000..2ee787d2ba --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/n.java @@ -0,0 +1,94 @@ +package c.i.a.c.e3.b0; + +import androidx.annotation.Nullable; +import c.i.b.a.c; +import java.nio.ByteBuffer; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +/* compiled from: DefaultContentMetadata */ +public final class n implements l { + public static final n a = new n(Collections.emptyMap()); + public int b; + + /* renamed from: c reason: collision with root package name */ + public final Map f758c; + + public n() { + this(Collections.emptyMap()); + } + + public n(Map map) { + this.f758c = Collections.unmodifiableMap(map); + } + + public static boolean b(Map map, Map map2) { + if (map.size() != map2.size()) { + return false; + } + for (Map.Entry entry : map.entrySet()) { + if (!Arrays.equals(entry.getValue(), map2.get(entry.getKey()))) { + return false; + } + } + return true; + } + + public n a(m mVar) { + byte[] bArr; + HashMap hashMap = new HashMap(this.f758c); + Objects.requireNonNull(mVar); + List unmodifiableList = Collections.unmodifiableList(new ArrayList(mVar.b)); + for (int i = 0; i < unmodifiableList.size(); i++) { + hashMap.remove(unmodifiableList.get(i)); + } + HashMap hashMap2 = new HashMap(mVar.a); + for (Map.Entry entry : hashMap2.entrySet()) { + Object value = entry.getValue(); + if (value instanceof byte[]) { + byte[] bArr2 = (byte[]) value; + entry.setValue(Arrays.copyOf(bArr2, bArr2.length)); + } + } + for (Map.Entry entry2 : Collections.unmodifiableMap(hashMap2).entrySet()) { + String str = (String) entry2.getKey(); + Object value2 = entry2.getValue(); + if (value2 instanceof Long) { + bArr = ByteBuffer.allocate(8).putLong(((Long) value2).longValue()).array(); + } else if (value2 instanceof String) { + bArr = ((String) value2).getBytes(c.f1307c); + } else if (value2 instanceof byte[]) { + bArr = (byte[]) value2; + } else { + throw new IllegalArgumentException(); + } + hashMap.put(str, bArr); + } + return b(this.f758c, hashMap) ? this : new n(hashMap); + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || n.class != obj.getClass()) { + return false; + } + return b(this.f758c, ((n) obj).f758c); + } + + public int hashCode() { + if (this.b == 0) { + int i = 0; + for (Map.Entry entry : this.f758c.entrySet()) { + i += Arrays.hashCode(entry.getValue()) ^ entry.getKey().hashCode(); + } + this.b = i; + } + return this.b; + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/o.java b/app/src/main/java/c/i/a/c/e3/b0/o.java new file mode 100644 index 0000000000..48f45ebf98 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/o.java @@ -0,0 +1,49 @@ +package c.i.a.c.e3.b0; + +import com.google.android.exoplayer2.upstream.cache.Cache; +import java.util.TreeSet; +/* compiled from: LeastRecentlyUsedCacheEvictor */ +public final class o implements d { + public final TreeSet a = new TreeSet<>(b.i); + public long b; + + public o(long j) { + } + + @Override // c.i.a.c.e3.b0.d + public void a(Cache cache, String str, long j, long j2) { + if (j2 != -1) { + f(cache, j2); + } + } + + @Override // com.google.android.exoplayer2.upstream.cache.Cache.a + public void b(Cache cache, h hVar) { + this.a.remove(hVar); + this.b -= hVar.k; + } + + @Override // com.google.android.exoplayer2.upstream.cache.Cache.a + public void c(Cache cache, h hVar, h hVar2) { + this.a.remove(hVar); + this.b -= hVar.k; + d(cache, hVar2); + } + + @Override // com.google.android.exoplayer2.upstream.cache.Cache.a + public void d(Cache cache, h hVar) { + this.a.add(hVar); + this.b += hVar.k; + f(cache, 0); + } + + @Override // c.i.a.c.e3.b0.d + public void e() { + } + + public final void f(Cache cache, long j) { + while (this.b + j > 104857600 && !this.a.isEmpty()) { + cache.d(this.a.first()); + } + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/p.java b/app/src/main/java/c/i/a/c/e3/b0/p.java new file mode 100644 index 0000000000..9b34ff8ef8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/p.java @@ -0,0 +1,49 @@ +package c.i.a.c.e3.b0; + +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import java.io.BufferedOutputStream; +import java.io.IOException; +import java.io.OutputStream; +/* compiled from: ReusableBufferedOutputStream */ +public final class p extends BufferedOutputStream { + public boolean i; + + public p(OutputStream outputStream) { + super(outputStream); + } + + public p(OutputStream outputStream, int i) { + super(outputStream, i); + } + + public void a(OutputStream outputStream) { + d.D(this.i); + ((BufferedOutputStream) this).out = outputStream; + ((BufferedOutputStream) this).count = 0; + this.i = false; + } + + @Override // java.io.OutputStream, java.io.Closeable, java.io.FilterOutputStream, java.lang.AutoCloseable + public void close() throws IOException { + Throwable th; + this.i = true; + try { + flush(); + th = null; + } catch (Throwable th2) { + th = th2; + } + try { + ((BufferedOutputStream) this).out.close(); + } catch (Throwable th3) { + if (th == null) { + th = th3; + } + } + if (th != null) { + int i = e0.a; + throw th; + } + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/q.java b/app/src/main/java/c/i/a/c/e3/b0/q.java new file mode 100644 index 0000000000..953e197fb6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/q.java @@ -0,0 +1,24 @@ +package c.i.a.c.e3.b0; + +import android.os.ConditionVariable; +/* compiled from: SimpleCache */ +public class q extends Thread { + public final /* synthetic */ ConditionVariable i; + public final /* synthetic */ r j; + + /* JADX INFO: super call moved to the top of the method (can break code semantics) */ + public q(r rVar, String str, ConditionVariable conditionVariable) { + super(str); + this.j = rVar; + this.i = conditionVariable; + } + + @Override // java.lang.Thread, java.lang.Runnable + public void run() { + synchronized (this.j) { + this.i.open(); + r.j(this.j); + this.j.f759c.e(); + } + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/r.java b/app/src/main/java/c/i/a/c/e3/b0/r.java new file mode 100644 index 0000000000..b892faf2de --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/r.java @@ -0,0 +1,582 @@ +package c.i.a.c.e3.b0; + +import android.database.SQLException; +import android.os.ConditionVariable; +import android.util.Log; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.e3.b0.i; +import c.i.a.c.f3.q; +import c.i.a.c.u2.a; +import com.google.android.exoplayer2.database.DatabaseIOException; +import com.google.android.exoplayer2.upstream.cache.Cache; +import java.io.File; +import java.io.IOException; +import java.security.SecureRandom; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Map; +import java.util.Objects; +import java.util.Random; +/* compiled from: SimpleCache */ +public final class r implements Cache { + public static final HashSet a = new HashSet<>(); + public final File b; + + /* renamed from: c reason: collision with root package name */ + public final d f759c; + public final j d; + @Nullable + public final f e; + public final HashMap> f; + public final Random g; + public final boolean h; + public long i; + public long j; + public Cache.CacheException k; + + public r(File file, d dVar, a aVar) { + boolean add; + j jVar = new j(aVar, file, null, false, false); + f fVar = new f(aVar); + synchronized (r.class) { + add = a.add(file.getAbsoluteFile()); + } + if (add) { + this.b = file; + this.f759c = dVar; + this.d = jVar; + this.e = fVar; + this.f = new HashMap<>(); + this.g = new Random(); + this.h = true; + this.i = -1; + ConditionVariable conditionVariable = new ConditionVariable(); + new q(this, "ExoPlayer:SimpleCacheInit", conditionVariable).start(); + conditionVariable.block(); + return; + } + String valueOf = String.valueOf(file); + throw new IllegalStateException(c.d.b.a.a.i(valueOf.length() + 46, "Another SimpleCache instance uses the folder: ", valueOf)); + } + + public static void j(r rVar) { + long j; + if (!rVar.b.exists()) { + try { + m(rVar.b); + } catch (Cache.CacheException e) { + rVar.k = e; + return; + } + } + File[] listFiles = rVar.b.listFiles(); + if (listFiles == null) { + String valueOf = String.valueOf(rVar.b); + StringBuilder sb = new StringBuilder(valueOf.length() + 38); + sb.append("Failed to list cache directory files: "); + sb.append(valueOf); + String sb2 = sb.toString(); + Log.e("SimpleCache", sb2); + rVar.k = new Cache.CacheException(sb2); + return; + } + int length = listFiles.length; + int i = 0; + while (true) { + if (i >= length) { + j = -1; + break; + } + File file = listFiles[i]; + String name = file.getName(); + if (name.endsWith(".uid")) { + try { + j = Long.parseLong(name.substring(0, name.indexOf(46)), 16); + break; + } catch (NumberFormatException unused) { + String valueOf2 = String.valueOf(file); + StringBuilder sb3 = new StringBuilder(valueOf2.length() + 20); + sb3.append("Malformed UID file: "); + sb3.append(valueOf2); + Log.e("SimpleCache", sb3.toString()); + file.delete(); + } + } else { + i++; + } + } + rVar.i = j; + if (j == -1) { + try { + rVar.i = n(rVar.b); + } catch (IOException e2) { + String valueOf3 = String.valueOf(rVar.b); + StringBuilder sb4 = new StringBuilder(valueOf3.length() + 28); + sb4.append("Failed to create cache UID: "); + sb4.append(valueOf3); + String sb5 = sb4.toString(); + q.b("SimpleCache", sb5, e2); + rVar.k = new Cache.CacheException(sb5, e2); + return; + } + } + try { + rVar.d.e(rVar.i); + f fVar = rVar.e; + if (fVar != null) { + fVar.b(rVar.i); + Map a2 = rVar.e.a(); + rVar.p(rVar.b, true, listFiles, a2); + rVar.e.c(((HashMap) a2).keySet()); + } else { + rVar.p(rVar.b, true, listFiles, null); + } + j jVar = rVar.d; + Iterator j2 = c.i.b.b.r.m(jVar.a.keySet()).iterator(); + while (j2.hasNext()) { + jVar.f((String) j2.next()); + } + try { + rVar.d.g(); + } catch (IOException e3) { + q.b("SimpleCache", "Storing index file failed", e3); + } + } catch (IOException e4) { + String valueOf4 = String.valueOf(rVar.b); + StringBuilder sb6 = new StringBuilder(valueOf4.length() + 36); + sb6.append("Failed to initialize cache indices: "); + sb6.append(valueOf4); + String sb7 = sb6.toString(); + q.b("SimpleCache", sb7, e4); + rVar.k = new Cache.CacheException(sb7, e4); + } + } + + public static void m(File file) throws Cache.CacheException { + if (!file.mkdirs() && !file.isDirectory()) { + String valueOf = String.valueOf(file); + StringBuilder sb = new StringBuilder(valueOf.length() + 34); + sb.append("Failed to create cache directory: "); + sb.append(valueOf); + String sb2 = sb.toString(); + Log.e("SimpleCache", sb2); + throw new Cache.CacheException(sb2); + } + } + + public static long n(File file) throws IOException { + long nextLong = new SecureRandom().nextLong(); + long abs = nextLong == Long.MIN_VALUE ? 0 : Math.abs(nextLong); + String valueOf = String.valueOf(Long.toString(abs, 16)); + File file2 = new File(file, ".uid".length() != 0 ? valueOf.concat(".uid") : new String(valueOf)); + if (file2.createNewFile()) { + return abs; + } + String valueOf2 = String.valueOf(file2); + throw new IOException(c.d.b.a.a.i(valueOf2.length() + 27, "Failed to create UID file: ", valueOf2)); + } + + @Override // com.google.android.exoplayer2.upstream.cache.Cache + public synchronized File a(String str, long j, long j2) throws Cache.CacheException { + i iVar; + File file; + d.D(true); + l(); + iVar = this.d.a.get(str); + Objects.requireNonNull(iVar); + d.D(iVar.a(j, j2)); + if (!this.b.exists()) { + m(this.b); + r(); + } + this.f759c.a(this, str, j, j2); + file = new File(this.b, Integer.toString(this.g.nextInt(10))); + if (!file.exists()) { + m(file); + } + return s.h(file, iVar.a, j, System.currentTimeMillis()); + } + + @Override // com.google.android.exoplayer2.upstream.cache.Cache + public synchronized l b(String str) { + i iVar; + d.D(true); + iVar = this.d.a.get(str); + return iVar != null ? iVar.e : n.a; + } + + @Override // com.google.android.exoplayer2.upstream.cache.Cache + public synchronized void c(String str, m mVar) throws Cache.CacheException { + d.D(true); + l(); + j jVar = this.d; + i d = jVar.d(str); + n nVar = d.e; + n a2 = nVar.a(mVar); + d.e = a2; + if (!a2.equals(nVar)) { + jVar.e.c(d); + } + try { + this.d.g(); + } catch (IOException e) { + throw new Cache.CacheException(e); + } + } + + @Override // com.google.android.exoplayer2.upstream.cache.Cache + public synchronized void d(h hVar) { + d.D(true); + q(hVar); + } + + /* JADX WARNING: Code restructure failed: missing block: B:17:0x0049, code lost: + if ((r11 + r4) <= r18) goto L_0x0059; + */ + /* JADX WARNING: Code restructure failed: missing block: B:21:0x0056, code lost: + if ((r18 + r6) <= r11) goto L_0x0059; + */ + /* JADX WARNING: Removed duplicated region for block: B:26:0x0060 A[LOOP:0: B:10:0x0026->B:26:0x0060, LOOP_END] */ + /* JADX WARNING: Removed duplicated region for block: B:38:0x005e A[SYNTHETIC] */ + @Override // com.google.android.exoplayer2.upstream.cache.Cache + @Nullable + public synchronized h e(String str, long j, long j2) throws Cache.CacheException { + s sVar; + boolean z2; + boolean z3; + d.D(true); + l(); + s o = o(str, j, j2); + if (o.l) { + return s(str, o); + } + i d = this.d.d(str); + long j3 = o.k; + int i = 0; + while (true) { + if (i >= d.d.size()) { + sVar = o; + d.d.add(new i.a(j, j3)); + z2 = true; + break; + } + i.a aVar = d.d.get(i); + long j4 = aVar.a; + if (j4 <= j) { + sVar = o; + long j5 = aVar.b; + if (j5 != -1) { + } + z3 = true; + if (z3) { + z2 = false; + break; + } + i++; + o = sVar; + } else { + sVar = o; + if (j3 != -1) { + } + z3 = true; + if (z3) { + } + } + z3 = false; + if (z3) { + } + } + if (z2) { + return sVar; + } + return null; + } + + @Override // com.google.android.exoplayer2.upstream.cache.Cache + public synchronized h f(String str, long j, long j2) throws InterruptedException, Cache.CacheException { + h e; + d.D(true); + l(); + while (true) { + e = e(str, j, j2); + if (e == null) { + wait(); + } + } + return e; + } + + @Override // com.google.android.exoplayer2.upstream.cache.Cache + public synchronized void g(File file, long j) throws Cache.CacheException { + boolean z2 = true; + d.D(true); + if (file.exists()) { + if (j == 0) { + file.delete(); + return; + } + s g = s.g(file, j, -9223372036854775807L, this.d); + Objects.requireNonNull(g); + i c2 = this.d.c(g.i); + Objects.requireNonNull(c2); + d.D(c2.a(g.j, g.k)); + long a2 = k.a(c2.e); + if (a2 != -1) { + if (g.j + g.k > a2) { + z2 = false; + } + d.D(z2); + } + if (this.e != null) { + try { + this.e.d(file.getName(), g.k, g.n); + } catch (IOException e) { + throw new Cache.CacheException(e); + } + } + k(g); + try { + this.d.g(); + notifyAll(); + } catch (IOException e2) { + throw new Cache.CacheException(e2); + } + } + } + + @Override // com.google.android.exoplayer2.upstream.cache.Cache + public synchronized long h() { + d.D(true); + return this.j; + } + + @Override // com.google.android.exoplayer2.upstream.cache.Cache + public synchronized void i(h hVar) { + d.D(true); + i c2 = this.d.c(hVar.i); + Objects.requireNonNull(c2); + long j = hVar.j; + for (int i = 0; i < c2.d.size(); i++) { + if (c2.d.get(i).a == j) { + c2.d.remove(i); + this.d.f(c2.b); + notifyAll(); + } + } + throw new IllegalStateException(); + } + + public final void k(s sVar) { + this.d.d(sVar.i).f754c.add(sVar); + this.j += sVar.k; + ArrayList arrayList = this.f.get(sVar.i); + if (arrayList != null) { + int size = arrayList.size(); + while (true) { + size--; + if (size < 0) { + break; + } + arrayList.get(size).d(this, sVar); + } + } + this.f759c.d(this, sVar); + } + + public synchronized void l() throws Cache.CacheException { + Cache.CacheException cacheException = this.k; + if (cacheException != null) { + throw cacheException; + } + } + + public final s o(String str, long j, long j2) { + s floor; + long j3; + i iVar = this.d.a.get(str); + if (iVar == null) { + return new s(str, j, j2, -9223372036854775807L, null); + } + while (true) { + s sVar = new s(iVar.b, j, -1, -9223372036854775807L, null); + floor = iVar.f754c.floor(sVar); + if (floor == null || floor.j + floor.k <= j) { + s ceiling = iVar.f754c.ceiling(sVar); + if (ceiling != null) { + long j4 = ceiling.j - j; + if (j2 != -1) { + j4 = Math.min(j4, j2); + } + j3 = j4; + } else { + j3 = j2; + } + floor = new s(iVar.b, j, j3, -9223372036854775807L, null); + } + if (!floor.l || floor.m.length() == floor.k) { + break; + } + r(); + } + return floor; + } + + public final void p(File file, boolean z2, @Nullable File[] fileArr, @Nullable Map map) { + if (fileArr != null && fileArr.length != 0) { + for (File file2 : fileArr) { + String name = file2.getName(); + if (z2 && name.indexOf(46) == -1) { + p(file2, false, file2.listFiles(), map); + } else if (!z2 || (!name.startsWith("cached_content_index.exi") && !name.endsWith(".uid"))) { + long j = -1; + long j2 = -9223372036854775807L; + e remove = map != null ? map.remove(name) : null; + if (remove != null) { + j = remove.a; + j2 = remove.b; + } + s g = s.g(file2, j, j2, this.d); + if (g != null) { + k(g); + } else { + file2.delete(); + } + } + } + } else if (!z2) { + file.delete(); + } + } + + public final void q(h hVar) { + boolean z2; + i c2 = this.d.c(hVar.i); + if (c2 != null) { + if (c2.f754c.remove(hVar)) { + File file = hVar.m; + if (file != null) { + file.delete(); + } + z2 = true; + } else { + z2 = false; + } + if (z2) { + this.j -= hVar.k; + if (this.e != null) { + String name = hVar.m.getName(); + try { + f fVar = this.e; + Objects.requireNonNull(fVar.f753c); + try { + fVar.b.getWritableDatabase().delete(fVar.f753c, "name = ?", new String[]{name}); + } catch (SQLException e) { + throw new DatabaseIOException(e); + } + } catch (IOException unused) { + String valueOf = String.valueOf(name); + Log.w("SimpleCache", valueOf.length() != 0 ? "Failed to remove file index entry for: ".concat(valueOf) : new String("Failed to remove file index entry for: ")); + } + } + this.d.f(c2.b); + ArrayList arrayList = this.f.get(hVar.i); + if (arrayList != null) { + int size = arrayList.size(); + while (true) { + size--; + if (size < 0) { + break; + } + arrayList.get(size).b(this, hVar); + } + } + this.f759c.b(this, hVar); + } + } + } + + public final void r() { + ArrayList arrayList = new ArrayList(); + for (i iVar : Collections.unmodifiableCollection(this.d.a.values())) { + Iterator it = iVar.f754c.iterator(); + while (it.hasNext()) { + s next = it.next(); + if (next.m.length() != next.k) { + arrayList.add(next); + } + } + } + for (int i = 0; i < arrayList.size(); i++) { + q((h) arrayList.get(i)); + } + } + + /* JADX WARNING: Removed duplicated region for block: B:20:0x00a2 */ + public final s s(String str, s sVar) { + File file; + ArrayList arrayList; + if (!this.h) { + return sVar; + } + File file2 = sVar.m; + Objects.requireNonNull(file2); + String name = file2.getName(); + long j = sVar.k; + long currentTimeMillis = System.currentTimeMillis(); + boolean z2 = false; + f fVar = this.e; + if (fVar != null) { + try { + fVar.d(name, j, currentTimeMillis); + } catch (IOException unused) { + Log.w("SimpleCache", "Failed to update index with new touch timestamp."); + } + } else { + z2 = true; + } + i iVar = this.d.a.get(str); + d.D(iVar.f754c.remove(sVar)); + File file3 = sVar.m; + Objects.requireNonNull(file3); + if (z2) { + File parentFile = file3.getParentFile(); + Objects.requireNonNull(parentFile); + File h = s.h(parentFile, iVar.a, sVar.j, currentTimeMillis); + if (file3.renameTo(h)) { + file = h; + d.D(sVar.l); + s sVar2 = new s(sVar.i, sVar.j, sVar.k, currentTimeMillis, file); + iVar.f754c.add(sVar2); + arrayList = this.f.get(sVar.i); + if (arrayList != null) { + int size = arrayList.size(); + while (true) { + size--; + if (size < 0) { + break; + } + arrayList.get(size).c(this, sVar, sVar2); + } + } + this.f759c.c(this, sVar, sVar2); + return sVar2; + } + String valueOf = String.valueOf(file3); + String valueOf2 = String.valueOf(h); + Log.w("CachedContent", c.d.b.a.a.k(valueOf2.length() + valueOf.length() + 21, "Failed to rename ", valueOf, " to ", valueOf2)); + } + file = file3; + d.D(sVar.l); + s sVar2 = new s(sVar.i, sVar.j, sVar.k, currentTimeMillis, file); + iVar.f754c.add(sVar2); + arrayList = this.f.get(sVar.i); + if (arrayList != null) { + } + this.f759c.c(this, sVar, sVar2); + return sVar2; + } +} diff --git a/app/src/main/java/c/i/a/c/e3/b0/s.java b/app/src/main/java/c/i/a/c/e3/b0/s.java new file mode 100644 index 0000000000..ac9142495f --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/b0/s.java @@ -0,0 +1,142 @@ +package c.i.a.c.e3.b0; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import java.io.File; +import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +/* compiled from: SimpleCacheSpan */ +public final class s extends h { + public static final Pattern o = Pattern.compile("^(.+)\\.(\\d+)\\.(\\d+)\\.v1\\.exo$", 32); + public static final Pattern p = Pattern.compile("^(.+)\\.(\\d+)\\.(\\d+)\\.v2\\.exo$", 32); + public static final Pattern q = Pattern.compile("^(\\d+)\\.(\\d+)\\.(\\d+)\\.v3\\.exo$", 32); + + public s(String str, long j, long j2, long j3, @Nullable File file) { + super(str, j, j2, j3, file); + } + + /* JADX WARNING: Code restructure failed: missing block: B:28:0x00d1, code lost: + if (r16.renameTo(r1) == false) goto L_0x00a2; + */ + /* JADX WARNING: Removed duplicated region for block: B:27:0x00a4 */ + /* JADX WARNING: Removed duplicated region for block: B:30:0x00d6 A[RETURN] */ + /* JADX WARNING: Removed duplicated region for block: B:31:0x00d7 */ + @Nullable + public static s g(File file, long j, long j2, j jVar) { + File file2; + long j3; + String str; + File file3; + String name = file.getName(); + if (!name.endsWith(".v3.exo")) { + String name2 = file.getName(); + Matcher matcher = p.matcher(name2); + if (matcher.matches()) { + str = matcher.group(1); + Objects.requireNonNull(str); + int i = e0.a; + int length = str.length(); + int i2 = 0; + int i3 = 0; + for (int i4 = 0; i4 < length; i4++) { + if (str.charAt(i4) == '%') { + i3++; + } + } + if (i3 != 0) { + int i5 = length - (i3 * 2); + StringBuilder sb = new StringBuilder(i5); + Matcher matcher2 = e0.g.matcher(str); + while (i3 > 0 && matcher2.find()) { + String group = matcher2.group(1); + Objects.requireNonNull(group); + sb.append((CharSequence) str, i2, matcher2.start()); + sb.append((char) Integer.parseInt(group, 16)); + i2 = matcher2.end(); + i3--; + } + if (i2 < length) { + sb.append((CharSequence) str, i2, length); + } + if (sb.length() == i5) { + str = sb.toString(); + } + } + if (str != null) { + File parentFile = file.getParentFile(); + d.H(parentFile); + int i6 = jVar.d(str).a; + String group2 = matcher.group(2); + Objects.requireNonNull(group2); + long parseLong = Long.parseLong(group2); + String group3 = matcher.group(3); + Objects.requireNonNull(group3); + file3 = h(parentFile, i6, parseLong, Long.parseLong(group3)); + } + file3 = null; + if (file3 == null) { + return null; + } + file2 = file3; + name = file3.getName(); + } else { + matcher = o.matcher(name2); + if (matcher.matches()) { + str = matcher.group(1); + Objects.requireNonNull(str); + if (str != null) { + } + file3 = null; + if (file3 == null) { + } + } + } + str = null; + if (str != null) { + } + file3 = null; + if (file3 == null) { + } + } else { + file2 = file; + } + Matcher matcher3 = q.matcher(name); + if (!matcher3.matches()) { + return null; + } + String group4 = matcher3.group(1); + Objects.requireNonNull(group4); + String str2 = jVar.b.get(Integer.parseInt(group4)); + if (str2 == null) { + return null; + } + long length2 = j == -1 ? file2.length() : j; + if (length2 == 0) { + return null; + } + String group5 = matcher3.group(2); + Objects.requireNonNull(group5); + long parseLong2 = Long.parseLong(group5); + if (j2 == -9223372036854775807L) { + String group6 = matcher3.group(3); + Objects.requireNonNull(group6); + j3 = Long.parseLong(group6); + } else { + j3 = j2; + } + return new s(str2, parseLong2, length2, j3, file2); + } + + public static File h(File file, int i, long j, long j2) { + StringBuilder sb = new StringBuilder(60); + sb.append(i); + sb.append("."); + sb.append(j); + sb.append("."); + sb.append(j2); + sb.append(".v3.exo"); + return new File(file, sb.toString()); + } +} diff --git a/app/src/main/java/c/i/a/c/e3/c.java b/app/src/main/java/c/i/a/c/e3/c.java new file mode 100644 index 0000000000..31810f123a --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/c.java @@ -0,0 +1,14 @@ +package c.i.a.c.e3; + +import c.i.a.c.e3.x; +import java.util.Comparator; +/* compiled from: lambda */ +public final /* synthetic */ class c implements Comparator { + public static final /* synthetic */ c i = new c(); + + @Override // java.util.Comparator + public final int compare(Object obj, Object obj2) { + int i2 = x.a; + return Float.compare(((x.b) obj).f772c, ((x.b) obj2).f772c); + } +} diff --git a/app/src/main/java/c/i/a/c/e3/d.java b/app/src/main/java/c/i/a/c/e3/d.java new file mode 100644 index 0000000000..df2f870e9e --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/d.java @@ -0,0 +1,14 @@ +package c.i.a.c.e3; + +import c.i.a.c.e3.x; +import java.util.Comparator; +/* compiled from: lambda */ +public final /* synthetic */ class d implements Comparator { + public static final /* synthetic */ d i = new d(); + + @Override // java.util.Comparator + public final int compare(Object obj, Object obj2) { + int i2 = x.a; + return ((x.b) obj).a - ((x.b) obj2).a; + } +} diff --git a/app/src/main/java/c/i/a/c/e3/e.java b/app/src/main/java/c/i/a/c/e3/e.java new file mode 100644 index 0000000000..037314c663 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/e.java @@ -0,0 +1,11 @@ +package c.i.a.c.e3; +/* compiled from: Allocation */ +public final class e { + public final byte[] a; + public final int b; + + public e(byte[] bArr, int i) { + this.a = bArr; + this.b = i; + } +} diff --git a/app/src/main/java/c/i/a/c/e3/f.java b/app/src/main/java/c/i/a/c/e3/f.java new file mode 100644 index 0000000000..685eed742e --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/f.java @@ -0,0 +1,52 @@ +package c.i.a.c.e3; + +import android.os.Handler; +import androidx.annotation.Nullable; +import java.util.Iterator; +import java.util.concurrent.CopyOnWriteArrayList; +/* compiled from: BandwidthMeter */ +public interface f { + + /* compiled from: BandwidthMeter */ + public interface a { + + /* compiled from: BandwidthMeter */ + /* renamed from: c.i.a.c.e3.f$a$a reason: collision with other inner class name */ + public static final class C0092a { + public final CopyOnWriteArrayList a = new CopyOnWriteArrayList<>(); + + /* compiled from: BandwidthMeter */ + /* renamed from: c.i.a.c.e3.f$a$a$a reason: collision with other inner class name */ + public static final class C0093a { + public final Handler a; + public final a b; + + /* renamed from: c reason: collision with root package name */ + public boolean f760c; + + public C0093a(Handler handler, a aVar) { + this.a = handler; + this.b = aVar; + } + } + + public void a(a aVar) { + Iterator it = this.a.iterator(); + while (it.hasNext()) { + C0093a next = it.next(); + if (next.b == aVar) { + next.f760c = true; + this.a.remove(next); + } + } + } + } + } + + @Nullable + a0 c(); + + void d(a aVar); + + void f(Handler handler, a aVar); +} diff --git a/app/src/main/java/c/i/a/c/e3/g.java b/app/src/main/java/c/i/a/c/e3/g.java new file mode 100644 index 0000000000..39698620f7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/g.java @@ -0,0 +1,65 @@ +package c.i.a.c.e3; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.e0; +import java.util.ArrayList; +import java.util.Map; +import java.util.Objects; +/* compiled from: BaseDataSource */ +public abstract class g implements l { + public final boolean a; + public final ArrayList b = new ArrayList<>(1); + + /* renamed from: c reason: collision with root package name */ + public int f761c; + @Nullable + public n d; + + public g(boolean z2) { + this.a = z2; + } + + @Override // c.i.a.c.e3.l + public final void d(a0 a0Var) { + Objects.requireNonNull(a0Var); + if (!this.b.contains(a0Var)) { + this.b.add(a0Var); + this.f761c++; + } + } + + @Override // c.i.a.c.e3.l + public /* synthetic */ Map j() { + return k.a(this); + } + + public final void p(int i) { + n nVar = this.d; + int i2 = e0.a; + for (int i3 = 0; i3 < this.f761c; i3++) { + this.b.get(i3).e(this, nVar, this.a, i); + } + } + + public final void q() { + n nVar = this.d; + int i = e0.a; + for (int i2 = 0; i2 < this.f761c; i2++) { + this.b.get(i2).a(this, nVar, this.a); + } + this.d = null; + } + + public final void r(n nVar) { + for (int i = 0; i < this.f761c; i++) { + this.b.get(i).g(this, nVar, this.a); + } + } + + public final void s(n nVar) { + this.d = nVar; + for (int i = 0; i < this.f761c; i++) { + this.b.get(i).b(this, nVar, this.a); + } + } +} diff --git a/app/src/main/java/c/i/a/c/e3/h.java b/app/src/main/java/c/i/a/c/e3/h.java new file mode 100644 index 0000000000..24a4c7b931 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/h.java @@ -0,0 +1,7 @@ +package c.i.a.c.e3; + +import java.io.IOException; +/* compiled from: DataReader */ +public interface h { + int read(byte[] bArr, int i, int i2) throws IOException; +} diff --git a/app/src/main/java/c/i/a/c/e3/i.java b/app/src/main/java/c/i/a/c/e3/i.java new file mode 100644 index 0000000000..5a3054f1e5 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/i.java @@ -0,0 +1,108 @@ +package c.i.a.c.e3; + +import android.net.Uri; +import android.util.Base64; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.d.b.a.a; +import c.i.a.c.f3.e0; +import c.i.b.a.c; +import com.google.android.exoplayer2.ParserException; +import com.google.android.exoplayer2.upstream.DataSourceException; +import java.io.IOException; +import java.net.URLDecoder; +/* compiled from: DataSchemeDataSource */ +public final class i extends g { + @Nullable + public n e; + @Nullable + public byte[] f; + public int g; + public int h; + + public i() { + super(false); + } + + @Override // c.i.a.c.e3.l + public long a(n nVar) throws IOException { + r(nVar); + this.e = nVar; + Uri uri = nVar.a; + String scheme = uri.getScheme(); + boolean equals = "data".equals(scheme); + String valueOf = String.valueOf(scheme); + d.m(equals, valueOf.length() != 0 ? "Unsupported scheme: ".concat(valueOf) : new String("Unsupported scheme: ")); + String[] H = e0.H(uri.getSchemeSpecificPart(), ","); + if (H.length == 2) { + String str = H[1]; + if (H[0].contains(";base64")) { + try { + this.f = Base64.decode(str, 0); + } catch (IllegalArgumentException e) { + String valueOf2 = String.valueOf(str); + throw new ParserException(valueOf2.length() != 0 ? "Error while parsing Base64 encoded string: ".concat(valueOf2) : new String("Error while parsing Base64 encoded string: "), e, true, 0); + } + } else { + this.f = e0.w(URLDecoder.decode(str, c.a.name())); + } + long j = nVar.f; + byte[] bArr = this.f; + if (j <= ((long) bArr.length)) { + int i = (int) j; + this.g = i; + int length = bArr.length - i; + this.h = length; + long j2 = nVar.g; + if (j2 != -1) { + this.h = (int) Math.min((long) length, j2); + } + s(nVar); + long j3 = nVar.g; + return j3 != -1 ? j3 : (long) this.h; + } + this.f = null; + throw new DataSourceException(2008); + } + String valueOf3 = String.valueOf(uri); + throw new ParserException(a.i(valueOf3.length() + 23, "Unexpected URI format: ", valueOf3), null, true, 0); + } + + @Override // c.i.a.c.e3.l + public void close() { + if (this.f != null) { + this.f = null; + q(); + } + this.e = null; + } + + @Override // c.i.a.c.e3.l + @Nullable + public Uri n() { + n nVar = this.e; + if (nVar != null) { + return nVar.a; + } + return null; + } + + @Override // c.i.a.c.e3.h + public int read(byte[] bArr, int i, int i2) { + if (i2 == 0) { + return 0; + } + int i3 = this.h; + if (i3 == 0) { + return -1; + } + int min = Math.min(i2, i3); + byte[] bArr2 = this.f; + int i4 = e0.a; + System.arraycopy(bArr2, this.g, bArr, i, min); + this.g += min; + this.h -= min; + p(min); + return min; + } +} diff --git a/app/src/main/java/c/i/a/c/e3/j.java b/app/src/main/java/c/i/a/c/e3/j.java new file mode 100644 index 0000000000..07d5acf06c --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/j.java @@ -0,0 +1,11 @@ +package c.i.a.c.e3; + +import java.io.IOException; +/* compiled from: DataSink */ +public interface j { + void a(n nVar) throws IOException; + + void close() throws IOException; + + void write(byte[] bArr, int i, int i2) throws IOException; +} diff --git a/app/src/main/java/c/i/a/c/e3/k.java b/app/src/main/java/c/i/a/c/e3/k.java new file mode 100644 index 0000000000..b84ce64723 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/k.java @@ -0,0 +1,11 @@ +package c.i.a.c.e3; + +import java.util.Collections; +import java.util.Map; +/* compiled from: DataSource */ +public final /* synthetic */ class k { + /* JADX WARN: Incorrect args count in method signature: ()Ljava/util/Map;>; */ + public static Map a(l lVar) { + return Collections.emptyMap(); + } +} diff --git a/app/src/main/java/c/i/a/c/e3/l.java b/app/src/main/java/c/i/a/c/e3/l.java new file mode 100644 index 0000000000..200896228f --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/l.java @@ -0,0 +1,26 @@ +package c.i.a.c.e3; + +import android.net.Uri; +import androidx.annotation.Nullable; +import java.io.IOException; +import java.util.List; +import java.util.Map; +/* compiled from: DataSource */ +public interface l extends h { + + /* compiled from: DataSource */ + public interface a { + l a(); + } + + long a(n nVar) throws IOException; + + void close() throws IOException; + + void d(a0 a0Var); + + Map> j(); + + @Nullable + Uri n(); +} diff --git a/app/src/main/java/c/i/a/c/e3/m.java b/app/src/main/java/c/i/a/c/e3/m.java new file mode 100644 index 0000000000..0ecd11ceb4 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/m.java @@ -0,0 +1,56 @@ +package c.i.a.c.e3; + +import c.c.a.a0.d; +import java.io.IOException; +import java.io.InputStream; +/* compiled from: DataSourceInputStream */ +public final class m extends InputStream { + public final l i; + public final n j; + public final byte[] k; + public boolean l = false; + public boolean m = false; + public long n; + + public m(l lVar, n nVar) { + this.i = lVar; + this.j = nVar; + this.k = new byte[1]; + } + + @Override // java.io.InputStream, java.io.Closeable, java.lang.AutoCloseable + public void close() throws IOException { + if (!this.m) { + this.i.close(); + this.m = true; + } + } + + @Override // java.io.InputStream + public int read() throws IOException { + if (read(this.k) == -1) { + return -1; + } + return this.k[0] & 255; + } + + @Override // java.io.InputStream + public int read(byte[] bArr) throws IOException { + return read(bArr, 0, bArr.length); + } + + @Override // java.io.InputStream + public int read(byte[] bArr, int i, int i2) throws IOException { + d.D(!this.m); + if (!this.l) { + this.i.a(this.j); + this.l = true; + } + int read = this.i.read(bArr, i, i2); + if (read == -1) { + return -1; + } + this.n += (long) read; + return read; + } +} diff --git a/app/src/main/java/c/i/a/c/e3/n.java b/app/src/main/java/c/i/a/c/e3/n.java new file mode 100644 index 0000000000..923a7eb18a --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/n.java @@ -0,0 +1,134 @@ +package c.i.a.c.e3; + +import android.net.Uri; +import androidx.annotation.Nullable; +import androidx.browser.trusted.sharing.ShareTarget; +import c.c.a.a0.d; +import c.i.a.c.i1; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; +/* compiled from: DataSpec */ +public final class n { + public final Uri a; + public final long b; + + /* renamed from: c reason: collision with root package name */ + public final int f762c; + @Nullable + public final byte[] d; + public final Map e; + public final long f; + public final long g; + @Nullable + public final String h; + public final int i; + @Nullable + public final Object j; + + /* compiled from: DataSpec */ + public static final class b { + @Nullable + public Uri a; + public long b; + + /* renamed from: c reason: collision with root package name */ + public int f763c; + @Nullable + public byte[] d; + public Map e; + public long f; + public long g; + @Nullable + public String h; + public int i; + @Nullable + public Object j; + + public b(n nVar, a aVar) { + this.a = nVar.a; + this.b = nVar.b; + this.f763c = nVar.f762c; + this.d = nVar.d; + this.e = nVar.e; + this.f = nVar.f; + this.g = nVar.g; + this.h = nVar.h; + this.i = nVar.i; + this.j = nVar.j; + } + + public n a() { + if (this.a != null) { + return new n(this.a, this.b, this.f763c, this.d, this.e, this.f, this.g, this.h, this.i, this.j); + } + throw new IllegalStateException("The uri must be set."); + } + } + + static { + i1.a("goog.exo.datasource"); + } + + public n(Uri uri, long j, int i, @Nullable byte[] bArr, Map map, long j2, long j3, @Nullable String str, int i2, @Nullable Object obj) { + byte[] bArr2 = bArr; + boolean z2 = true; + d.j(j + j2 >= 0); + d.j(j2 >= 0); + if (j3 <= 0 && j3 != -1) { + z2 = false; + } + d.j(z2); + this.a = uri; + this.b = j; + this.f762c = i; + this.d = (bArr2 == null || bArr2.length == 0) ? null : bArr2; + this.e = Collections.unmodifiableMap(new HashMap(map)); + this.f = j2; + this.g = j3; + this.h = str; + this.i = i2; + this.j = obj; + } + + public static String b(int i) { + if (i == 1) { + return ShareTarget.METHOD_GET; + } + if (i == 2) { + return ShareTarget.METHOD_POST; + } + if (i == 3) { + return "HEAD"; + } + throw new IllegalStateException(); + } + + public b a() { + return new b(this, null); + } + + public boolean c(int i) { + return (this.i & i) == i; + } + + public String toString() { + String b2 = b(this.f762c); + String valueOf = String.valueOf(this.a); + long j = this.f; + long j2 = this.g; + String str = this.h; + int i = this.i; + StringBuilder Q = c.d.b.a.a.Q(c.d.b.a.a.b(str, valueOf.length() + b2.length() + 70), "DataSpec[", b2, " ", valueOf); + Q.append(", "); + Q.append(j); + Q.append(", "); + Q.append(j2); + Q.append(", "); + Q.append(str); + Q.append(", "); + Q.append(i); + Q.append("]"); + return Q.toString(); + } +} diff --git a/app/src/main/java/c/i/a/c/e3/o.java b/app/src/main/java/c/i/a/c/e3/o.java new file mode 100644 index 0000000000..1c3f6ba607 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/o.java @@ -0,0 +1,61 @@ +package c.i.a.c.e3; + +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import java.util.Arrays; +/* compiled from: DefaultAllocator */ +public final class o { + public final boolean a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final e[] f764c; + public int d; + public int e; + public int f; + public e[] g; + + public o(boolean z2, int i) { + d.j(i > 0); + d.j(true); + this.a = z2; + this.b = i; + this.f = 0; + this.g = new e[100]; + this.f764c = new e[1]; + } + + public synchronized void a(e[] eVarArr) { + int i = this.f; + int length = eVarArr.length + i; + e[] eVarArr2 = this.g; + if (length >= eVarArr2.length) { + this.g = (e[]) Arrays.copyOf(eVarArr2, Math.max(eVarArr2.length * 2, i + eVarArr.length)); + } + for (e eVar : eVarArr) { + e[] eVarArr3 = this.g; + int i2 = this.f; + this.f = i2 + 1; + eVarArr3[i2] = eVar; + } + this.e -= eVarArr.length; + notifyAll(); + } + + public synchronized void b(int i) { + boolean z2 = i < this.d; + this.d = i; + if (z2) { + c(); + } + } + + public synchronized void c() { + int max = Math.max(0, e0.f(this.d, this.b) - this.e); + int i = this.f; + if (max < i) { + Arrays.fill(this.g, max, i, (Object) null); + this.f = max; + } + } +} diff --git a/app/src/main/java/c/i/a/c/e3/p.java b/app/src/main/java/c/i/a/c/e3/p.java new file mode 100644 index 0000000000..e042daeb52 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/p.java @@ -0,0 +1,3111 @@ +package c.i.a.c.e3; + +import android.content.Context; +import android.os.Handler; +import android.telephony.TelephonyManager; +import android.text.TextUtils; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.e3.f; +import c.i.a.c.f3.c; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.g; +import c.i.a.c.f3.v; +import c.i.b.b.q; +import com.discord.api.permission.Permission; +import com.discord.stores.StoreGuildScheduledEvents; +import com.discord.utilities.font.FontUtils; +import com.discord.utilities.guilds.GuildConstantsKt; +import com.discord.widgets.chat.input.MentionUtilsKt; +import com.google.android.material.behavior.HideBottomViewOnScrollBehavior; +import com.google.android.material.snackbar.BaseTransientBottomBar; +import java.lang.ref.WeakReference; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Locale; +import java.util.Map; +import java.util.Objects; +/* compiled from: DefaultBandwidthMeter */ +public final class p implements f, a0 { + public static final c.i.b.b.p a = c.i.b.b.p.v(5400000L, 3300000L, 2000000L, 1300000L, 760000L); + public static final c.i.b.b.p b = c.i.b.b.p.v(1700000L, 820000L, 450000L, 180000L, 130000L); + + /* renamed from: c reason: collision with root package name */ + public static final c.i.b.b.p f765c = c.i.b.b.p.v(2300000L, 1300000L, 1000000L, 820000L, 570000L); + public static final c.i.b.b.p d = c.i.b.b.p.v(3400000L, 2000000L, 1400000L, 1000000L, 620000L); + public static final c.i.b.b.p e = c.i.b.b.p.v(7500000L, 5200000L, 3700000L, Long.valueOf((long) StoreGuildScheduledEvents.FETCH_GUILD_EVENTS_THRESHOLD), 1100000L); + public static final c.i.b.b.p f = c.i.b.b.p.v(3300000L, 1900000L, 1700000L, 1500000L, 1200000L); + @Nullable + public static p g; + public final q h; + public final f.a.C0092a i = new f.a.C0092a(); + public final x j; + public final g k; + public final boolean l; + public int m; + public long n; + public long o; + public int p; + public long q; + public long r; + + /* renamed from: s reason: collision with root package name */ + public long f766s; + public long t; + + /* compiled from: DefaultBandwidthMeter */ + public static final class b { + @Nullable + public final Context a; + public Map b; + + /* renamed from: c reason: collision with root package name */ + public int f767c; + public g d; + public boolean e; + + /* JADX WARNING: Removed duplicated region for block: B:101:0x01ed */ + /* JADX WARNING: Removed duplicated region for block: B:104:0x01fb */ + /* JADX WARNING: Removed duplicated region for block: B:107:0x0209 */ + /* JADX WARNING: Removed duplicated region for block: B:110:0x0217 */ + /* JADX WARNING: Removed duplicated region for block: B:113:0x0225 */ + /* JADX WARNING: Removed duplicated region for block: B:116:0x0233 */ + /* JADX WARNING: Removed duplicated region for block: B:119:0x0241 */ + /* JADX WARNING: Removed duplicated region for block: B:122:0x024f */ + /* JADX WARNING: Removed duplicated region for block: B:125:0x025d */ + /* JADX WARNING: Removed duplicated region for block: B:128:0x026b */ + /* JADX WARNING: Removed duplicated region for block: B:131:0x0279 */ + /* JADX WARNING: Removed duplicated region for block: B:134:0x0287 */ + /* JADX WARNING: Removed duplicated region for block: B:137:0x0295 */ + /* JADX WARNING: Removed duplicated region for block: B:140:0x02a3 */ + /* JADX WARNING: Removed duplicated region for block: B:143:0x02b1 */ + /* JADX WARNING: Removed duplicated region for block: B:146:0x02bf */ + /* JADX WARNING: Removed duplicated region for block: B:149:0x02cd */ + /* JADX WARNING: Removed duplicated region for block: B:14:0x0057 */ + /* JADX WARNING: Removed duplicated region for block: B:152:0x02db */ + /* JADX WARNING: Removed duplicated region for block: B:155:0x02e9 */ + /* JADX WARNING: Removed duplicated region for block: B:158:0x02f7 */ + /* JADX WARNING: Removed duplicated region for block: B:161:0x0305 */ + /* JADX WARNING: Removed duplicated region for block: B:164:0x0313 */ + /* JADX WARNING: Removed duplicated region for block: B:167:0x0321 */ + /* JADX WARNING: Removed duplicated region for block: B:170:0x032f */ + /* JADX WARNING: Removed duplicated region for block: B:173:0x033d */ + /* JADX WARNING: Removed duplicated region for block: B:176:0x034b */ + /* JADX WARNING: Removed duplicated region for block: B:179:0x0359 */ + /* JADX WARNING: Removed duplicated region for block: B:17:0x0065 */ + /* JADX WARNING: Removed duplicated region for block: B:182:0x0367 */ + /* JADX WARNING: Removed duplicated region for block: B:185:0x0375 */ + /* JADX WARNING: Removed duplicated region for block: B:188:0x0383 */ + /* JADX WARNING: Removed duplicated region for block: B:191:0x0391 */ + /* JADX WARNING: Removed duplicated region for block: B:194:0x039f */ + /* JADX WARNING: Removed duplicated region for block: B:197:0x03ad */ + /* JADX WARNING: Removed duplicated region for block: B:200:0x03bb */ + /* JADX WARNING: Removed duplicated region for block: B:203:0x03c9 */ + /* JADX WARNING: Removed duplicated region for block: B:206:0x03d7 */ + /* JADX WARNING: Removed duplicated region for block: B:209:0x03e5 */ + /* JADX WARNING: Removed duplicated region for block: B:20:0x0073 */ + /* JADX WARNING: Removed duplicated region for block: B:212:0x03f3 */ + /* JADX WARNING: Removed duplicated region for block: B:215:0x0401 */ + /* JADX WARNING: Removed duplicated region for block: B:218:0x040f */ + /* JADX WARNING: Removed duplicated region for block: B:221:0x041d */ + /* JADX WARNING: Removed duplicated region for block: B:224:0x042b */ + /* JADX WARNING: Removed duplicated region for block: B:227:0x0439 */ + /* JADX WARNING: Removed duplicated region for block: B:230:0x0447 */ + /* JADX WARNING: Removed duplicated region for block: B:233:0x0455 */ + /* JADX WARNING: Removed duplicated region for block: B:236:0x0463 */ + /* JADX WARNING: Removed duplicated region for block: B:239:0x0471 */ + /* JADX WARNING: Removed duplicated region for block: B:23:0x0081 */ + /* JADX WARNING: Removed duplicated region for block: B:242:0x047f */ + /* JADX WARNING: Removed duplicated region for block: B:245:0x048d */ + /* JADX WARNING: Removed duplicated region for block: B:248:0x049b */ + /* JADX WARNING: Removed duplicated region for block: B:251:0x04a9 */ + /* JADX WARNING: Removed duplicated region for block: B:254:0x04b7 */ + /* JADX WARNING: Removed duplicated region for block: B:257:0x04c5 */ + /* JADX WARNING: Removed duplicated region for block: B:260:0x04d3 */ + /* JADX WARNING: Removed duplicated region for block: B:263:0x04e1 */ + /* JADX WARNING: Removed duplicated region for block: B:266:0x04ef */ + /* JADX WARNING: Removed duplicated region for block: B:269:0x04fd */ + /* JADX WARNING: Removed duplicated region for block: B:26:0x008f */ + /* JADX WARNING: Removed duplicated region for block: B:272:0x050b */ + /* JADX WARNING: Removed duplicated region for block: B:275:0x0519 */ + /* JADX WARNING: Removed duplicated region for block: B:278:0x0527 */ + /* JADX WARNING: Removed duplicated region for block: B:281:0x0535 */ + /* JADX WARNING: Removed duplicated region for block: B:284:0x0543 */ + /* JADX WARNING: Removed duplicated region for block: B:287:0x0551 */ + /* JADX WARNING: Removed duplicated region for block: B:290:0x055f */ + /* JADX WARNING: Removed duplicated region for block: B:293:0x056d */ + /* JADX WARNING: Removed duplicated region for block: B:296:0x057b */ + /* JADX WARNING: Removed duplicated region for block: B:299:0x0589 */ + /* JADX WARNING: Removed duplicated region for block: B:29:0x009d */ + /* JADX WARNING: Removed duplicated region for block: B:302:0x0597 */ + /* JADX WARNING: Removed duplicated region for block: B:305:0x05a5 */ + /* JADX WARNING: Removed duplicated region for block: B:308:0x05b3 */ + /* JADX WARNING: Removed duplicated region for block: B:311:0x05c1 */ + /* JADX WARNING: Removed duplicated region for block: B:314:0x05cf */ + /* JADX WARNING: Removed duplicated region for block: B:317:0x05dd */ + /* JADX WARNING: Removed duplicated region for block: B:320:0x05eb */ + /* JADX WARNING: Removed duplicated region for block: B:323:0x05f9 */ + /* JADX WARNING: Removed duplicated region for block: B:326:0x0607 */ + /* JADX WARNING: Removed duplicated region for block: B:329:0x0615 */ + /* JADX WARNING: Removed duplicated region for block: B:32:0x00ab */ + /* JADX WARNING: Removed duplicated region for block: B:332:0x0623 */ + /* JADX WARNING: Removed duplicated region for block: B:335:0x0631 */ + /* JADX WARNING: Removed duplicated region for block: B:338:0x063f */ + /* JADX WARNING: Removed duplicated region for block: B:341:0x064d */ + /* JADX WARNING: Removed duplicated region for block: B:344:0x065b */ + /* JADX WARNING: Removed duplicated region for block: B:347:0x0669 */ + /* JADX WARNING: Removed duplicated region for block: B:350:0x0677 */ + /* JADX WARNING: Removed duplicated region for block: B:353:0x0685 */ + /* JADX WARNING: Removed duplicated region for block: B:356:0x0693 */ + /* JADX WARNING: Removed duplicated region for block: B:359:0x06a1 */ + /* JADX WARNING: Removed duplicated region for block: B:35:0x00b9 */ + /* JADX WARNING: Removed duplicated region for block: B:362:0x06af */ + /* JADX WARNING: Removed duplicated region for block: B:365:0x06bd */ + /* JADX WARNING: Removed duplicated region for block: B:368:0x06cb */ + /* JADX WARNING: Removed duplicated region for block: B:371:0x06d9 */ + /* JADX WARNING: Removed duplicated region for block: B:374:0x06e7 */ + /* JADX WARNING: Removed duplicated region for block: B:377:0x06f5 */ + /* JADX WARNING: Removed duplicated region for block: B:380:0x0703 */ + /* JADX WARNING: Removed duplicated region for block: B:383:0x0711 */ + /* JADX WARNING: Removed duplicated region for block: B:386:0x071f */ + /* JADX WARNING: Removed duplicated region for block: B:389:0x072d */ + /* JADX WARNING: Removed duplicated region for block: B:38:0x00c7 */ + /* JADX WARNING: Removed duplicated region for block: B:392:0x073b */ + /* JADX WARNING: Removed duplicated region for block: B:395:0x0749 */ + /* JADX WARNING: Removed duplicated region for block: B:398:0x0757 */ + /* JADX WARNING: Removed duplicated region for block: B:401:0x0765 */ + /* JADX WARNING: Removed duplicated region for block: B:404:0x0773 */ + /* JADX WARNING: Removed duplicated region for block: B:407:0x0781 */ + /* JADX WARNING: Removed duplicated region for block: B:410:0x078f */ + /* JADX WARNING: Removed duplicated region for block: B:413:0x079d */ + /* JADX WARNING: Removed duplicated region for block: B:416:0x07ab */ + /* JADX WARNING: Removed duplicated region for block: B:419:0x07b9 */ + /* JADX WARNING: Removed duplicated region for block: B:41:0x00d5 */ + /* JADX WARNING: Removed duplicated region for block: B:422:0x07c7 */ + /* JADX WARNING: Removed duplicated region for block: B:425:0x07d5 */ + /* JADX WARNING: Removed duplicated region for block: B:428:0x07e3 */ + /* JADX WARNING: Removed duplicated region for block: B:431:0x07f1 */ + /* JADX WARNING: Removed duplicated region for block: B:434:0x07ff */ + /* JADX WARNING: Removed duplicated region for block: B:437:0x080d */ + /* JADX WARNING: Removed duplicated region for block: B:440:0x081b */ + /* JADX WARNING: Removed duplicated region for block: B:443:0x0829 */ + /* JADX WARNING: Removed duplicated region for block: B:446:0x0837 */ + /* JADX WARNING: Removed duplicated region for block: B:449:0x0845 */ + /* JADX WARNING: Removed duplicated region for block: B:44:0x00e3 */ + /* JADX WARNING: Removed duplicated region for block: B:452:0x0853 */ + /* JADX WARNING: Removed duplicated region for block: B:455:0x0861 */ + /* JADX WARNING: Removed duplicated region for block: B:458:0x086f */ + /* JADX WARNING: Removed duplicated region for block: B:461:0x087d */ + /* JADX WARNING: Removed duplicated region for block: B:464:0x088b */ + /* JADX WARNING: Removed duplicated region for block: B:467:0x0899 */ + /* JADX WARNING: Removed duplicated region for block: B:470:0x08a7 */ + /* JADX WARNING: Removed duplicated region for block: B:473:0x08b5 */ + /* JADX WARNING: Removed duplicated region for block: B:476:0x08c3 */ + /* JADX WARNING: Removed duplicated region for block: B:479:0x08d1 */ + /* JADX WARNING: Removed duplicated region for block: B:47:0x00f1 */ + /* JADX WARNING: Removed duplicated region for block: B:482:0x08df */ + /* JADX WARNING: Removed duplicated region for block: B:485:0x08ed */ + /* JADX WARNING: Removed duplicated region for block: B:488:0x08fb */ + /* JADX WARNING: Removed duplicated region for block: B:491:0x0909 */ + /* JADX WARNING: Removed duplicated region for block: B:494:0x0917 */ + /* JADX WARNING: Removed duplicated region for block: B:497:0x0925 */ + /* JADX WARNING: Removed duplicated region for block: B:500:0x0933 */ + /* JADX WARNING: Removed duplicated region for block: B:503:0x0941 */ + /* JADX WARNING: Removed duplicated region for block: B:506:0x094f */ + /* JADX WARNING: Removed duplicated region for block: B:509:0x095d */ + /* JADX WARNING: Removed duplicated region for block: B:50:0x00ff */ + /* JADX WARNING: Removed duplicated region for block: B:512:0x096b */ + /* JADX WARNING: Removed duplicated region for block: B:515:0x0979 */ + /* JADX WARNING: Removed duplicated region for block: B:518:0x0987 */ + /* JADX WARNING: Removed duplicated region for block: B:521:0x0995 */ + /* JADX WARNING: Removed duplicated region for block: B:524:0x09a3 */ + /* JADX WARNING: Removed duplicated region for block: B:527:0x09b1 */ + /* JADX WARNING: Removed duplicated region for block: B:530:0x09bf */ + /* JADX WARNING: Removed duplicated region for block: B:533:0x09cd */ + /* JADX WARNING: Removed duplicated region for block: B:536:0x09db */ + /* JADX WARNING: Removed duplicated region for block: B:539:0x09e9 */ + /* JADX WARNING: Removed duplicated region for block: B:53:0x010d */ + /* JADX WARNING: Removed duplicated region for block: B:542:0x09f7 */ + /* JADX WARNING: Removed duplicated region for block: B:545:0x0a05 */ + /* JADX WARNING: Removed duplicated region for block: B:548:0x0a13 */ + /* JADX WARNING: Removed duplicated region for block: B:551:0x0a21 */ + /* JADX WARNING: Removed duplicated region for block: B:554:0x0a2f */ + /* JADX WARNING: Removed duplicated region for block: B:557:0x0a3d */ + /* JADX WARNING: Removed duplicated region for block: B:560:0x0a4b */ + /* JADX WARNING: Removed duplicated region for block: B:563:0x0a59 */ + /* JADX WARNING: Removed duplicated region for block: B:566:0x0a67 */ + /* JADX WARNING: Removed duplicated region for block: B:569:0x0a75 */ + /* JADX WARNING: Removed duplicated region for block: B:56:0x011b */ + /* JADX WARNING: Removed duplicated region for block: B:572:0x0a83 */ + /* JADX WARNING: Removed duplicated region for block: B:575:0x0a91 */ + /* JADX WARNING: Removed duplicated region for block: B:578:0x0a9f */ + /* JADX WARNING: Removed duplicated region for block: B:581:0x0aad */ + /* JADX WARNING: Removed duplicated region for block: B:584:0x0abb */ + /* JADX WARNING: Removed duplicated region for block: B:587:0x0ac9 */ + /* JADX WARNING: Removed duplicated region for block: B:590:0x0ad7 */ + /* JADX WARNING: Removed duplicated region for block: B:593:0x0ae5 */ + /* JADX WARNING: Removed duplicated region for block: B:596:0x0af3 */ + /* JADX WARNING: Removed duplicated region for block: B:599:0x0b01 */ + /* JADX WARNING: Removed duplicated region for block: B:59:0x0129 */ + /* JADX WARNING: Removed duplicated region for block: B:602:0x0b0f */ + /* JADX WARNING: Removed duplicated region for block: B:605:0x0b1d */ + /* JADX WARNING: Removed duplicated region for block: B:608:0x0b2b */ + /* JADX WARNING: Removed duplicated region for block: B:611:0x0b39 */ + /* JADX WARNING: Removed duplicated region for block: B:614:0x0b47 */ + /* JADX WARNING: Removed duplicated region for block: B:617:0x0b55 */ + /* JADX WARNING: Removed duplicated region for block: B:620:0x0b63 */ + /* JADX WARNING: Removed duplicated region for block: B:623:0x0b71 */ + /* JADX WARNING: Removed duplicated region for block: B:626:0x0b7f */ + /* JADX WARNING: Removed duplicated region for block: B:629:0x0b8d */ + /* JADX WARNING: Removed duplicated region for block: B:62:0x0137 */ + /* JADX WARNING: Removed duplicated region for block: B:632:0x0b9b */ + /* JADX WARNING: Removed duplicated region for block: B:635:0x0ba9 */ + /* JADX WARNING: Removed duplicated region for block: B:638:0x0bb7 */ + /* JADX WARNING: Removed duplicated region for block: B:641:0x0bc5 */ + /* JADX WARNING: Removed duplicated region for block: B:644:0x0bd3 */ + /* JADX WARNING: Removed duplicated region for block: B:647:0x0be1 */ + /* JADX WARNING: Removed duplicated region for block: B:650:0x0bef */ + /* JADX WARNING: Removed duplicated region for block: B:653:0x0bfd */ + /* JADX WARNING: Removed duplicated region for block: B:656:0x0c0b */ + /* JADX WARNING: Removed duplicated region for block: B:659:0x0c19 */ + /* JADX WARNING: Removed duplicated region for block: B:65:0x0145 */ + /* JADX WARNING: Removed duplicated region for block: B:662:0x0c27 */ + /* JADX WARNING: Removed duplicated region for block: B:665:0x0c35 */ + /* JADX WARNING: Removed duplicated region for block: B:668:0x0c43 */ + /* JADX WARNING: Removed duplicated region for block: B:671:0x0c51 */ + /* JADX WARNING: Removed duplicated region for block: B:674:0x0c5f */ + /* JADX WARNING: Removed duplicated region for block: B:677:0x0c6d */ + /* JADX WARNING: Removed duplicated region for block: B:680:0x0c7b */ + /* JADX WARNING: Removed duplicated region for block: B:683:0x0c89 */ + /* JADX WARNING: Removed duplicated region for block: B:686:0x0c97 */ + /* JADX WARNING: Removed duplicated region for block: B:689:0x0ca5 */ + /* JADX WARNING: Removed duplicated region for block: B:68:0x0153 */ + /* JADX WARNING: Removed duplicated region for block: B:692:0x0cb3 */ + /* JADX WARNING: Removed duplicated region for block: B:695:0x0cc1 */ + /* JADX WARNING: Removed duplicated region for block: B:698:0x0ccf */ + /* JADX WARNING: Removed duplicated region for block: B:701:0x0cdd */ + /* JADX WARNING: Removed duplicated region for block: B:704:0x0ceb */ + /* JADX WARNING: Removed duplicated region for block: B:707:0x0cf6 */ + /* JADX WARNING: Removed duplicated region for block: B:710:0x0d01 */ + /* JADX WARNING: Removed duplicated region for block: B:713:0x0d0c */ + /* JADX WARNING: Removed duplicated region for block: B:716:0x0d17 */ + /* JADX WARNING: Removed duplicated region for block: B:719:0x0d22 */ + /* JADX WARNING: Removed duplicated region for block: B:71:0x0161 */ + /* JADX WARNING: Removed duplicated region for block: B:722:0x0d2d */ + /* JADX WARNING: Removed duplicated region for block: B:725:0x0d38 */ + /* JADX WARNING: Removed duplicated region for block: B:729:0x0d45 */ + /* JADX WARNING: Removed duplicated region for block: B:730:0x0d4c */ + /* JADX WARNING: Removed duplicated region for block: B:731:0x0d53 */ + /* JADX WARNING: Removed duplicated region for block: B:732:0x0d5a */ + /* JADX WARNING: Removed duplicated region for block: B:733:0x0d61 */ + /* JADX WARNING: Removed duplicated region for block: B:734:0x0d68 */ + /* JADX WARNING: Removed duplicated region for block: B:735:0x0d6f */ + /* JADX WARNING: Removed duplicated region for block: B:736:0x0d76 */ + /* JADX WARNING: Removed duplicated region for block: B:737:0x0d7d */ + /* JADX WARNING: Removed duplicated region for block: B:738:0x0d84 */ + /* JADX WARNING: Removed duplicated region for block: B:739:0x0d8b */ + /* JADX WARNING: Removed duplicated region for block: B:740:0x0d92 */ + /* JADX WARNING: Removed duplicated region for block: B:741:0x0d99 */ + /* JADX WARNING: Removed duplicated region for block: B:742:0x0da0 */ + /* JADX WARNING: Removed duplicated region for block: B:743:0x0da7 */ + /* JADX WARNING: Removed duplicated region for block: B:744:0x0dae */ + /* JADX WARNING: Removed duplicated region for block: B:745:0x0db5 */ + /* JADX WARNING: Removed duplicated region for block: B:746:0x0dbc */ + /* JADX WARNING: Removed duplicated region for block: B:747:0x0dc3 */ + /* JADX WARNING: Removed duplicated region for block: B:748:0x0dca */ + /* JADX WARNING: Removed duplicated region for block: B:749:0x0dd1 */ + /* JADX WARNING: Removed duplicated region for block: B:74:0x016f */ + /* JADX WARNING: Removed duplicated region for block: B:750:0x0dd8 */ + /* JADX WARNING: Removed duplicated region for block: B:751:0x0ddf */ + /* JADX WARNING: Removed duplicated region for block: B:752:0x0de6 */ + /* JADX WARNING: Removed duplicated region for block: B:753:0x0ded */ + /* JADX WARNING: Removed duplicated region for block: B:754:0x0df4 */ + /* JADX WARNING: Removed duplicated region for block: B:755:0x0dfb */ + /* JADX WARNING: Removed duplicated region for block: B:756:0x0e02 */ + /* JADX WARNING: Removed duplicated region for block: B:757:0x0e09 */ + /* JADX WARNING: Removed duplicated region for block: B:758:0x0e10 */ + /* JADX WARNING: Removed duplicated region for block: B:759:0x0e17 */ + /* JADX WARNING: Removed duplicated region for block: B:760:0x0e1e */ + /* JADX WARNING: Removed duplicated region for block: B:761:0x0e25 */ + /* JADX WARNING: Removed duplicated region for block: B:762:0x0e2c */ + /* JADX WARNING: Removed duplicated region for block: B:763:0x0e33 */ + /* JADX WARNING: Removed duplicated region for block: B:764:0x0e3a */ + /* JADX WARNING: Removed duplicated region for block: B:765:0x0e41 */ + /* JADX WARNING: Removed duplicated region for block: B:766:0x0e48 */ + /* JADX WARNING: Removed duplicated region for block: B:767:0x0e4f */ + /* JADX WARNING: Removed duplicated region for block: B:768:0x0e56 */ + /* JADX WARNING: Removed duplicated region for block: B:769:0x0e5d */ + /* JADX WARNING: Removed duplicated region for block: B:770:0x0e64 */ + /* JADX WARNING: Removed duplicated region for block: B:771:0x0e6b */ + /* JADX WARNING: Removed duplicated region for block: B:772:0x0e72 */ + /* JADX WARNING: Removed duplicated region for block: B:773:0x0e79 */ + /* JADX WARNING: Removed duplicated region for block: B:774:0x0e80 */ + /* JADX WARNING: Removed duplicated region for block: B:775:0x0e87 */ + /* JADX WARNING: Removed duplicated region for block: B:776:0x0e8e */ + /* JADX WARNING: Removed duplicated region for block: B:777:0x0e95 */ + /* JADX WARNING: Removed duplicated region for block: B:778:0x0e9c */ + /* JADX WARNING: Removed duplicated region for block: B:779:0x0ea3 */ + /* JADX WARNING: Removed duplicated region for block: B:77:0x017d */ + /* JADX WARNING: Removed duplicated region for block: B:780:0x0eaa */ + /* JADX WARNING: Removed duplicated region for block: B:781:0x0eb1 */ + /* JADX WARNING: Removed duplicated region for block: B:782:0x0eb8 */ + /* JADX WARNING: Removed duplicated region for block: B:783:0x0ebf */ + /* JADX WARNING: Removed duplicated region for block: B:784:0x0ec6 */ + /* JADX WARNING: Removed duplicated region for block: B:785:0x0ecd */ + /* JADX WARNING: Removed duplicated region for block: B:786:0x0ed4 */ + /* JADX WARNING: Removed duplicated region for block: B:787:0x0edb */ + /* JADX WARNING: Removed duplicated region for block: B:788:0x0ee2 */ + /* JADX WARNING: Removed duplicated region for block: B:789:0x0ee9 */ + /* JADX WARNING: Removed duplicated region for block: B:790:0x0ef0 */ + /* JADX WARNING: Removed duplicated region for block: B:791:0x0ef7 */ + /* JADX WARNING: Removed duplicated region for block: B:792:0x0efe */ + /* JADX WARNING: Removed duplicated region for block: B:793:0x0f05 */ + /* JADX WARNING: Removed duplicated region for block: B:794:0x0f0c */ + /* JADX WARNING: Removed duplicated region for block: B:795:0x0f13 */ + /* JADX WARNING: Removed duplicated region for block: B:796:0x0f1a */ + /* JADX WARNING: Removed duplicated region for block: B:797:0x0f21 */ + /* JADX WARNING: Removed duplicated region for block: B:798:0x0f28 */ + /* JADX WARNING: Removed duplicated region for block: B:799:0x0f2f */ + /* JADX WARNING: Removed duplicated region for block: B:800:0x0f36 */ + /* JADX WARNING: Removed duplicated region for block: B:801:0x0f3d */ + /* JADX WARNING: Removed duplicated region for block: B:802:0x0f44 */ + /* JADX WARNING: Removed duplicated region for block: B:803:0x0f4b */ + /* JADX WARNING: Removed duplicated region for block: B:804:0x0f52 */ + /* JADX WARNING: Removed duplicated region for block: B:805:0x0f59 */ + /* JADX WARNING: Removed duplicated region for block: B:806:0x0f60 */ + /* JADX WARNING: Removed duplicated region for block: B:807:0x0f67 */ + /* JADX WARNING: Removed duplicated region for block: B:808:0x0f6e */ + /* JADX WARNING: Removed duplicated region for block: B:809:0x0f75 */ + /* JADX WARNING: Removed duplicated region for block: B:80:0x018b */ + /* JADX WARNING: Removed duplicated region for block: B:810:0x0f7c */ + /* JADX WARNING: Removed duplicated region for block: B:811:0x0f83 */ + /* JADX WARNING: Removed duplicated region for block: B:812:0x0f8a */ + /* JADX WARNING: Removed duplicated region for block: B:813:0x0f91 */ + /* JADX WARNING: Removed duplicated region for block: B:814:0x0f98 */ + /* JADX WARNING: Removed duplicated region for block: B:815:0x0f9f */ + /* JADX WARNING: Removed duplicated region for block: B:816:0x0fa6 */ + /* JADX WARNING: Removed duplicated region for block: B:817:0x0fad */ + /* JADX WARNING: Removed duplicated region for block: B:818:0x0fb4 */ + /* JADX WARNING: Removed duplicated region for block: B:819:0x0fbb */ + /* JADX WARNING: Removed duplicated region for block: B:820:0x0fc2 */ + /* JADX WARNING: Removed duplicated region for block: B:821:0x0fc9 */ + /* JADX WARNING: Removed duplicated region for block: B:822:0x0fd0 */ + /* JADX WARNING: Removed duplicated region for block: B:823:0x0fd7 */ + /* JADX WARNING: Removed duplicated region for block: B:824:0x0fde */ + /* JADX WARNING: Removed duplicated region for block: B:825:0x0fe5 */ + /* JADX WARNING: Removed duplicated region for block: B:826:0x0fec */ + /* JADX WARNING: Removed duplicated region for block: B:827:0x0ff3 */ + /* JADX WARNING: Removed duplicated region for block: B:828:0x0ffa */ + /* JADX WARNING: Removed duplicated region for block: B:829:0x1001 */ + /* JADX WARNING: Removed duplicated region for block: B:830:0x1008 */ + /* JADX WARNING: Removed duplicated region for block: B:831:0x100f */ + /* JADX WARNING: Removed duplicated region for block: B:832:0x1016 */ + /* JADX WARNING: Removed duplicated region for block: B:833:0x101d */ + /* JADX WARNING: Removed duplicated region for block: B:834:0x1024 */ + /* JADX WARNING: Removed duplicated region for block: B:835:0x102b */ + /* JADX WARNING: Removed duplicated region for block: B:836:0x1032 */ + /* JADX WARNING: Removed duplicated region for block: B:837:0x1039 */ + /* JADX WARNING: Removed duplicated region for block: B:838:0x1040 */ + /* JADX WARNING: Removed duplicated region for block: B:839:0x1047 */ + /* JADX WARNING: Removed duplicated region for block: B:83:0x0199 */ + /* JADX WARNING: Removed duplicated region for block: B:840:0x104e */ + /* JADX WARNING: Removed duplicated region for block: B:841:0x1055 */ + /* JADX WARNING: Removed duplicated region for block: B:842:0x105c */ + /* JADX WARNING: Removed duplicated region for block: B:843:0x1063 */ + /* JADX WARNING: Removed duplicated region for block: B:844:0x106a */ + /* JADX WARNING: Removed duplicated region for block: B:845:0x1071 */ + /* JADX WARNING: Removed duplicated region for block: B:846:0x1078 */ + /* JADX WARNING: Removed duplicated region for block: B:847:0x107f */ + /* JADX WARNING: Removed duplicated region for block: B:848:0x1086 */ + /* JADX WARNING: Removed duplicated region for block: B:849:0x108d */ + /* JADX WARNING: Removed duplicated region for block: B:850:0x1094 */ + /* JADX WARNING: Removed duplicated region for block: B:851:0x109b */ + /* JADX WARNING: Removed duplicated region for block: B:852:0x10a2 */ + /* JADX WARNING: Removed duplicated region for block: B:853:0x10a9 */ + /* JADX WARNING: Removed duplicated region for block: B:854:0x10b0 */ + /* JADX WARNING: Removed duplicated region for block: B:855:0x10b7 */ + /* JADX WARNING: Removed duplicated region for block: B:856:0x10be */ + /* JADX WARNING: Removed duplicated region for block: B:857:0x10c5 */ + /* JADX WARNING: Removed duplicated region for block: B:858:0x10cc */ + /* JADX WARNING: Removed duplicated region for block: B:859:0x10d3 */ + /* JADX WARNING: Removed duplicated region for block: B:860:0x10da */ + /* JADX WARNING: Removed duplicated region for block: B:861:0x10e1 */ + /* JADX WARNING: Removed duplicated region for block: B:862:0x10e8 */ + /* JADX WARNING: Removed duplicated region for block: B:863:0x10ef */ + /* JADX WARNING: Removed duplicated region for block: B:864:0x10f6 */ + /* JADX WARNING: Removed duplicated region for block: B:865:0x10fd */ + /* JADX WARNING: Removed duplicated region for block: B:866:0x1104 */ + /* JADX WARNING: Removed duplicated region for block: B:867:0x110b */ + /* JADX WARNING: Removed duplicated region for block: B:868:0x1112 */ + /* JADX WARNING: Removed duplicated region for block: B:869:0x1119 */ + /* JADX WARNING: Removed duplicated region for block: B:86:0x01a7 */ + /* JADX WARNING: Removed duplicated region for block: B:870:0x1120 */ + /* JADX WARNING: Removed duplicated region for block: B:871:0x1127 */ + /* JADX WARNING: Removed duplicated region for block: B:872:0x112e */ + /* JADX WARNING: Removed duplicated region for block: B:873:0x1135 */ + /* JADX WARNING: Removed duplicated region for block: B:874:0x113b */ + /* JADX WARNING: Removed duplicated region for block: B:875:0x1141 */ + /* JADX WARNING: Removed duplicated region for block: B:876:0x1147 */ + /* JADX WARNING: Removed duplicated region for block: B:877:0x114d */ + /* JADX WARNING: Removed duplicated region for block: B:878:0x1153 */ + /* JADX WARNING: Removed duplicated region for block: B:879:0x1159 */ + /* JADX WARNING: Removed duplicated region for block: B:880:0x115f */ + /* JADX WARNING: Removed duplicated region for block: B:881:0x1165 */ + /* JADX WARNING: Removed duplicated region for block: B:882:0x116b */ + /* JADX WARNING: Removed duplicated region for block: B:883:0x1171 */ + /* JADX WARNING: Removed duplicated region for block: B:884:0x1177 */ + /* JADX WARNING: Removed duplicated region for block: B:885:0x117d */ + /* JADX WARNING: Removed duplicated region for block: B:886:0x1183 */ + /* JADX WARNING: Removed duplicated region for block: B:887:0x1189 */ + /* JADX WARNING: Removed duplicated region for block: B:888:0x118f */ + /* JADX WARNING: Removed duplicated region for block: B:89:0x01b5 */ + /* JADX WARNING: Removed duplicated region for block: B:92:0x01c3 */ + /* JADX WARNING: Removed duplicated region for block: B:95:0x01d1 */ + /* JADX WARNING: Removed duplicated region for block: B:98:0x01df */ + public b(Context context) { + String str; + char c2; + int[] iArr; + TelephonyManager telephonyManager; + this.a = context == null ? null : context.getApplicationContext(); + int i = e0.a; + if (!(context == null || (telephonyManager = (TelephonyManager) context.getSystemService("phone")) == null)) { + String networkCountryIso = telephonyManager.getNetworkCountryIso(); + if (!TextUtils.isEmpty(networkCountryIso)) { + str = c.i.a.f.e.o.f.f1(networkCountryIso); + c.i.b.b.p pVar = p.a; + str.hashCode(); + c2 = 65535; + switch (str.hashCode()) { + case 2083: + if (str.equals("AD")) { + c2 = 0; + break; + } + break; + case 2084: + if (str.equals("AE")) { + c2 = 1; + break; + } + break; + case 2085: + if (str.equals("AF")) { + c2 = 2; + break; + } + break; + case 2086: + if (str.equals("AG")) { + c2 = 3; + break; + } + break; + case 2088: + if (str.equals("AI")) { + c2 = 4; + break; + } + break; + case 2091: + if (str.equals("AL")) { + c2 = 5; + break; + } + break; + case 2092: + if (str.equals("AM")) { + c2 = 6; + break; + } + break; + case 2094: + if (str.equals("AO")) { + c2 = 7; + break; + } + break; + case 2096: + if (str.equals("AQ")) { + c2 = '\b'; + break; + } + break; + case 2097: + if (str.equals("AR")) { + c2 = '\t'; + break; + } + break; + case 2098: + if (str.equals("AS")) { + c2 = '\n'; + break; + } + break; + case 2099: + if (str.equals("AT")) { + c2 = 11; + break; + } + break; + case 2100: + if (str.equals("AU")) { + c2 = '\f'; + break; + } + break; + case 2102: + if (str.equals("AW")) { + c2 = '\r'; + break; + } + break; + case 2103: + if (str.equals("AX")) { + c2 = 14; + break; + } + break; + case 2105: + if (str.equals("AZ")) { + c2 = 15; + break; + } + break; + case 2111: + if (str.equals("BA")) { + c2 = 16; + break; + } + break; + case 2112: + if (str.equals("BB")) { + c2 = 17; + break; + } + break; + case 2114: + if (str.equals("BD")) { + c2 = 18; + break; + } + break; + case 2115: + if (str.equals("BE")) { + c2 = 19; + break; + } + break; + case 2116: + if (str.equals("BF")) { + c2 = 20; + break; + } + break; + case 2117: + if (str.equals("BG")) { + c2 = 21; + break; + } + break; + case 2118: + if (str.equals("BH")) { + c2 = 22; + break; + } + break; + case 2119: + if (str.equals("BI")) { + c2 = 23; + break; + } + break; + case 2120: + if (str.equals("BJ")) { + c2 = 24; + break; + } + break; + case 2122: + if (str.equals("BL")) { + c2 = 25; + break; + } + break; + case 2123: + if (str.equals("BM")) { + c2 = 26; + break; + } + break; + case 2124: + if (str.equals("BN")) { + c2 = 27; + break; + } + break; + case 2125: + if (str.equals("BO")) { + c2 = 28; + break; + } + break; + case 2127: + if (str.equals("BQ")) { + c2 = 29; + break; + } + break; + case 2128: + if (str.equals("BR")) { + c2 = 30; + break; + } + break; + case 2129: + if (str.equals("BS")) { + c2 = 31; + break; + } + break; + case 2130: + if (str.equals("BT")) { + c2 = ' '; + break; + } + break; + case 2133: + if (str.equals("BW")) { + c2 = '!'; + break; + } + break; + case 2135: + if (str.equals("BY")) { + c2 = '\"'; + break; + } + break; + case 2136: + if (str.equals("BZ")) { + c2 = MentionUtilsKt.CHANNELS_CHAR; + break; + } + break; + case 2142: + if (str.equals("CA")) { + c2 = '$'; + break; + } + break; + case 2145: + if (str.equals("CD")) { + c2 = '%'; + break; + } + break; + case 2147: + if (str.equals("CF")) { + c2 = '&'; + break; + } + break; + case 2148: + if (str.equals("CG")) { + c2 = '\''; + break; + } + break; + case 2149: + if (str.equals("CH")) { + c2 = '('; + break; + } + break; + case 2150: + if (str.equals("CI")) { + c2 = ')'; + break; + } + break; + case 2152: + if (str.equals("CK")) { + c2 = '*'; + break; + } + break; + case 2153: + if (str.equals("CL")) { + c2 = '+'; + break; + } + break; + case 2154: + if (str.equals("CM")) { + c2 = ','; + break; + } + break; + case 2155: + if (str.equals("CN")) { + c2 = '-'; + break; + } + break; + case 2156: + if (str.equals("CO")) { + c2 = '.'; + break; + } + break; + case 2159: + if (str.equals("CR")) { + c2 = MentionUtilsKt.SLASH_CHAR; + break; + } + break; + case 2162: + if (str.equals("CU")) { + c2 = '0'; + break; + } + break; + case 2163: + if (str.equals("CV")) { + c2 = '1'; + break; + } + break; + case 2164: + if (str.equals("CW")) { + c2 = '2'; + break; + } + break; + case 2165: + if (str.equals("CX")) { + c2 = '3'; + break; + } + break; + case 2166: + if (str.equals("CY")) { + c2 = '4'; + break; + } + break; + case 2167: + if (str.equals("CZ")) { + c2 = '5'; + break; + } + break; + case 2177: + if (str.equals("DE")) { + c2 = '6'; + break; + } + break; + case 2182: + if (str.equals("DJ")) { + c2 = '7'; + break; + } + break; + case 2183: + if (str.equals("DK")) { + c2 = '8'; + break; + } + break; + case 2185: + if (str.equals("DM")) { + c2 = '9'; + break; + } + break; + case 2187: + if (str.equals("DO")) { + c2 = MentionUtilsKt.EMOJIS_AND_STICKERS_CHAR; + break; + } + break; + case 2198: + if (str.equals("DZ")) { + c2 = ';'; + break; + } + break; + case 2206: + if (str.equals("EC")) { + c2 = '<'; + break; + } + break; + case 2208: + if (str.equals("EE")) { + c2 = '='; + break; + } + break; + case 2210: + if (str.equals("EG")) { + c2 = '>'; + break; + } + break; + case 2221: + if (str.equals("ER")) { + c2 = '?'; + break; + } + break; + case 2222: + if (str.equals("ES")) { + c2 = MentionUtilsKt.MENTIONS_CHAR; + break; + } + break; + case 2223: + if (str.equals("ET")) { + c2 = 'A'; + break; + } + break; + case 2243: + if (str.equals("FI")) { + c2 = 'B'; + break; + } + break; + case 2244: + if (str.equals("FJ")) { + c2 = 'C'; + break; + } + break; + case 2245: + if (str.equals("FK")) { + c2 = 'D'; + break; + } + break; + case 2247: + if (str.equals("FM")) { + c2 = 'E'; + break; + } + break; + case 2249: + if (str.equals("FO")) { + c2 = 'F'; + break; + } + break; + case 2252: + if (str.equals("FR")) { + c2 = 'G'; + break; + } + break; + case 2266: + if (str.equals("GA")) { + c2 = 'H'; + break; + } + break; + case 2267: + if (str.equals("GB")) { + c2 = 'I'; + break; + } + break; + case 2269: + if (str.equals("GD")) { + c2 = 'J'; + break; + } + break; + case 2270: + if (str.equals("GE")) { + c2 = 'K'; + break; + } + break; + case 2271: + if (str.equals("GF")) { + c2 = 'L'; + break; + } + break; + case 2272: + if (str.equals("GG")) { + c2 = 'M'; + break; + } + break; + case 2273: + if (str.equals("GH")) { + c2 = 'N'; + break; + } + break; + case 2274: + if (str.equals("GI")) { + c2 = 'O'; + break; + } + break; + case 2277: + if (str.equals("GL")) { + c2 = 'P'; + break; + } + break; + case 2278: + if (str.equals("GM")) { + c2 = 'Q'; + break; + } + break; + case 2279: + if (str.equals("GN")) { + c2 = 'R'; + break; + } + break; + case 2281: + if (str.equals("GP")) { + c2 = 'S'; + break; + } + break; + case 2282: + if (str.equals("GQ")) { + c2 = 'T'; + break; + } + break; + case 2283: + if (str.equals("GR")) { + c2 = 'U'; + break; + } + break; + case 2285: + if (str.equals("GT")) { + c2 = 'V'; + break; + } + break; + case 2286: + if (str.equals("GU")) { + c2 = 'W'; + break; + } + break; + case 2288: + if (str.equals("GW")) { + c2 = 'X'; + break; + } + break; + case 2290: + if (str.equals("GY")) { + c2 = 'Y'; + break; + } + break; + case 2307: + if (str.equals("HK")) { + c2 = 'Z'; + break; + } + break; + case 2310: + if (str.equals("HN")) { + c2 = '['; + break; + } + break; + case 2314: + if (str.equals("HR")) { + c2 = '\\'; + break; + } + break; + case 2316: + if (str.equals("HT")) { + c2 = ']'; + break; + } + break; + case 2317: + if (str.equals("HU")) { + c2 = '^'; + break; + } + break; + case 2331: + if (str.equals("ID")) { + c2 = '_'; + break; + } + break; + case 2332: + if (str.equals("IE")) { + c2 = '`'; + break; + } + break; + case 2339: + if (str.equals("IL")) { + c2 = 'a'; + break; + } + break; + case 2340: + if (str.equals("IM")) { + c2 = 'b'; + break; + } + break; + case 2341: + if (str.equals("IN")) { + c2 = 'c'; + break; + } + break; + case 2342: + if (str.equals("IO")) { + c2 = 'd'; + break; + } + break; + case 2344: + if (str.equals("IQ")) { + c2 = 'e'; + break; + } + break; + case 2345: + if (str.equals("IR")) { + c2 = 'f'; + break; + } + break; + case 2346: + if (str.equals("IS")) { + c2 = 'g'; + break; + } + break; + case 2347: + if (str.equals("IT")) { + c2 = 'h'; + break; + } + break; + case 2363: + if (str.equals("JE")) { + c2 = 'i'; + break; + } + break; + case 2371: + if (str.equals("JM")) { + c2 = 'j'; + break; + } + break; + case 2373: + if (str.equals("JO")) { + c2 = 'k'; + break; + } + break; + case 2374: + if (str.equals("JP")) { + c2 = 'l'; + break; + } + break; + case 2394: + if (str.equals("KE")) { + c2 = 'm'; + break; + } + break; + case 2396: + if (str.equals("KG")) { + c2 = 'n'; + break; + } + break; + case 2397: + if (str.equals("KH")) { + c2 = 'o'; + break; + } + break; + case 2398: + if (str.equals("KI")) { + c2 = 'p'; + break; + } + break; + case 2402: + if (str.equals("KM")) { + c2 = 'q'; + break; + } + break; + case 2405: + if (str.equals("KP")) { + c2 = 'r'; + break; + } + break; + case 2407: + if (str.equals("KR")) { + c2 = 's'; + break; + } + break; + case 2412: + if (str.equals("KW")) { + c2 = 't'; + break; + } + break; + case 2414: + if (str.equals("KY")) { + c2 = 'u'; + break; + } + break; + case 2415: + if (str.equals("KZ")) { + c2 = 'v'; + break; + } + break; + case 2421: + if (str.equals("LA")) { + c2 = 'w'; + break; + } + break; + case 2422: + if (str.equals("LB")) { + c2 = 'x'; + break; + } + break; + case 2423: + if (str.equals("LC")) { + c2 = 'y'; + break; + } + break; + case 2429: + if (str.equals("LI")) { + c2 = 'z'; + break; + } + break; + case 2431: + if (str.equals("LK")) { + c2 = '{'; + break; + } + break; + case 2438: + if (str.equals("LR")) { + c2 = '|'; + break; + } + break; + case 2439: + if (str.equals("LS")) { + c2 = '}'; + break; + } + break; + case 2440: + if (str.equals("LT")) { + c2 = '~'; + break; + } + break; + case 2441: + if (str.equals("LU")) { + c2 = 127; + break; + } + break; + case 2442: + if (str.equals("LV")) { + c2 = 128; + break; + } + break; + case 2445: + if (str.equals("LY")) { + c2 = 129; + break; + } + break; + case 2452: + if (str.equals("MA")) { + c2 = 130; + break; + } + break; + case 2454: + if (str.equals("MC")) { + c2 = 131; + break; + } + break; + case 2455: + if (str.equals("MD")) { + c2 = 132; + break; + } + break; + case 2456: + if (str.equals("ME")) { + c2 = 133; + break; + } + break; + case 2457: + if (str.equals("MF")) { + c2 = 134; + break; + } + break; + case 2458: + if (str.equals("MG")) { + c2 = 135; + break; + } + break; + case 2459: + if (str.equals("MH")) { + c2 = 136; + break; + } + break; + case 2462: + if (str.equals("MK")) { + c2 = 137; + break; + } + break; + case 2463: + if (str.equals("ML")) { + c2 = 138; + break; + } + break; + case 2464: + if (str.equals("MM")) { + c2 = 139; + break; + } + break; + case 2465: + if (str.equals("MN")) { + c2 = 140; + break; + } + break; + case 2466: + if (str.equals("MO")) { + c2 = 141; + break; + } + break; + case 2467: + if (str.equals("MP")) { + c2 = 142; + break; + } + break; + case 2468: + if (str.equals("MQ")) { + c2 = 143; + break; + } + break; + case 2469: + if (str.equals("MR")) { + c2 = 144; + break; + } + break; + case 2470: + if (str.equals("MS")) { + c2 = 145; + break; + } + break; + case 2471: + if (str.equals("MT")) { + c2 = 146; + break; + } + break; + case 2472: + if (str.equals("MU")) { + c2 = 147; + break; + } + break; + case 2473: + if (str.equals("MV")) { + c2 = 148; + break; + } + break; + case 2474: + if (str.equals("MW")) { + c2 = 149; + break; + } + break; + case 2475: + if (str.equals("MX")) { + c2 = 150; + break; + } + break; + case 2476: + if (str.equals("MY")) { + c2 = 151; + break; + } + break; + case 2477: + if (str.equals("MZ")) { + c2 = 152; + break; + } + break; + case 2483: + if (str.equals("NA")) { + c2 = 153; + break; + } + break; + case 2485: + if (str.equals("NC")) { + c2 = 154; + break; + } + break; + case 2487: + if (str.equals("NE")) { + c2 = 155; + break; + } + break; + case 2489: + if (str.equals("NG")) { + c2 = 156; + break; + } + break; + case 2491: + if (str.equals("NI")) { + c2 = 157; + break; + } + break; + case 2494: + if (str.equals("NL")) { + c2 = 158; + break; + } + break; + case 2497: + if (str.equals("NO")) { + c2 = 159; + break; + } + break; + case 2498: + if (str.equals("NP")) { + c2 = 160; + break; + } + break; + case GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES /* 2500 */: + if (str.equals("NR")) { + c2 = 161; + break; + } + break; + case 2503: + if (str.equals("NU")) { + c2 = 162; + break; + } + break; + case 2508: + if (str.equals("NZ")) { + c2 = 163; + break; + } + break; + case 2526: + if (str.equals("OM")) { + c2 = 164; + break; + } + break; + case 2545: + if (str.equals("PA")) { + c2 = 165; + break; + } + break; + case 2549: + if (str.equals("PE")) { + c2 = 166; + break; + } + break; + case 2550: + if (str.equals("PF")) { + c2 = 167; + break; + } + break; + case 2551: + if (str.equals("PG")) { + c2 = 168; + break; + } + break; + case 2552: + if (str.equals("PH")) { + c2 = 169; + break; + } + break; + case 2555: + if (str.equals("PK")) { + c2 = 170; + break; + } + break; + case 2556: + if (str.equals("PL")) { + c2 = 171; + break; + } + break; + case 2557: + if (str.equals("PM")) { + c2 = 172; + break; + } + break; + case 2562: + if (str.equals("PR")) { + c2 = 173; + break; + } + break; + case 2563: + if (str.equals("PS")) { + c2 = 174; + break; + } + break; + case 2564: + if (str.equals("PT")) { + c2 = 175; + break; + } + break; + case 2567: + if (str.equals("PW")) { + c2 = 176; + break; + } + break; + case 2569: + if (str.equals("PY")) { + c2 = 177; + break; + } + break; + case 2576: + if (str.equals("QA")) { + c2 = 178; + break; + } + break; + case 2611: + if (str.equals("RE")) { + c2 = 179; + break; + } + break; + case 2621: + if (str.equals("RO")) { + c2 = 180; + break; + } + break; + case 2625: + if (str.equals("RS")) { + c2 = 181; + break; + } + break; + case 2627: + if (str.equals("RU")) { + c2 = 182; + break; + } + break; + case 2629: + if (str.equals("RW")) { + c2 = 183; + break; + } + break; + case 2638: + if (str.equals("SA")) { + c2 = 184; + break; + } + break; + case 2639: + if (str.equals("SB")) { + c2 = 185; + break; + } + break; + case 2640: + if (str.equals("SC")) { + c2 = 186; + break; + } + break; + case 2641: + if (str.equals("SD")) { + c2 = 187; + break; + } + break; + case 2642: + if (str.equals("SE")) { + c2 = 188; + break; + } + break; + case 2644: + if (str.equals("SG")) { + c2 = 189; + break; + } + break; + case 2645: + if (str.equals("SH")) { + c2 = 190; + break; + } + break; + case 2646: + if (str.equals("SI")) { + c2 = 191; + break; + } + break; + case 2647: + if (str.equals("SJ")) { + c2 = 192; + break; + } + break; + case 2648: + if (str.equals("SK")) { + c2 = 193; + break; + } + break; + case 2649: + if (str.equals("SL")) { + c2 = 194; + break; + } + break; + case 2650: + if (str.equals("SM")) { + c2 = 195; + break; + } + break; + case 2651: + if (str.equals("SN")) { + c2 = 196; + break; + } + break; + case 2652: + if (str.equals("SO")) { + c2 = 197; + break; + } + break; + case 2655: + if (str.equals("SR")) { + c2 = 198; + break; + } + break; + case 2656: + if (str.equals("SS")) { + c2 = 199; + break; + } + break; + case 2657: + if (str.equals("ST")) { + c2 = 200; + break; + } + break; + case 2659: + if (str.equals("SV")) { + c2 = 201; + break; + } + break; + case 2661: + if (str.equals("SX")) { + c2 = 202; + break; + } + break; + case 2662: + if (str.equals("SY")) { + c2 = 203; + break; + } + break; + case 2663: + if (str.equals("SZ")) { + c2 = 204; + break; + } + break; + case 2671: + if (str.equals("TC")) { + c2 = 205; + break; + } + break; + case 2672: + if (str.equals("TD")) { + c2 = 206; + break; + } + break; + case 2675: + if (str.equals("TG")) { + c2 = 207; + break; + } + break; + case 2676: + if (str.equals("TH")) { + c2 = 208; + break; + } + break; + case 2678: + if (str.equals("TJ")) { + c2 = 209; + break; + } + break; + case 2680: + if (str.equals("TL")) { + c2 = 210; + break; + } + break; + case 2681: + if (str.equals("TM")) { + c2 = 211; + break; + } + break; + case 2682: + if (str.equals("TN")) { + c2 = 212; + break; + } + break; + case 2683: + if (str.equals("TO")) { + c2 = 213; + break; + } + break; + case 2686: + if (str.equals("TR")) { + c2 = 214; + break; + } + break; + case 2688: + if (str.equals("TT")) { + c2 = 215; + break; + } + break; + case 2690: + if (str.equals("TV")) { + c2 = 216; + break; + } + break; + case 2691: + if (str.equals("TW")) { + c2 = 217; + break; + } + break; + case 2694: + if (str.equals("TZ")) { + c2 = 218; + break; + } + break; + case 2700: + if (str.equals("UA")) { + c2 = 219; + break; + } + break; + case 2706: + if (str.equals("UG")) { + c2 = 220; + break; + } + break; + case 2718: + if (str.equals("US")) { + c2 = 221; + break; + } + break; + case 2724: + if (str.equals("UY")) { + c2 = 222; + break; + } + break; + case 2725: + if (str.equals("UZ")) { + c2 = 223; + break; + } + break; + case 2733: + if (str.equals("VC")) { + c2 = 224; + break; + } + break; + case 2735: + if (str.equals("VE")) { + c2 = 225; + break; + } + break; + case 2737: + if (str.equals("VG")) { + c2 = 226; + break; + } + break; + case 2739: + if (str.equals("VI")) { + c2 = 227; + break; + } + break; + case 2744: + if (str.equals("VN")) { + c2 = 228; + break; + } + break; + case 2751: + if (str.equals("VU")) { + c2 = 229; + break; + } + break; + case 2767: + if (str.equals("WF")) { + c2 = 230; + break; + } + break; + case 2780: + if (str.equals("WS")) { + c2 = 231; + break; + } + break; + case 2803: + if (str.equals("XK")) { + c2 = 232; + break; + } + break; + case 2828: + if (str.equals("YE")) { + c2 = 233; + break; + } + break; + case 2843: + if (str.equals("YT")) { + c2 = 234; + break; + } + break; + case 2855: + if (str.equals("ZA")) { + c2 = 235; + break; + } + break; + case 2867: + if (str.equals("ZM")) { + c2 = 236; + break; + } + break; + case 2877: + if (str.equals("ZW")) { + c2 = 237; + break; + } + break; + } + switch (c2) { + case 0: + case 26: + case 'P': + case 'y': + iArr = new int[]{1, 2, 0, 0, 2, 2}; + break; + case 1: + iArr = new int[]{1, 4, 4, 4, 3, 2}; + break; + case 2: + case ']': + case 155: + case 187: + case 196: + case 206: + case HideBottomViewOnScrollBehavior.ENTER_ANIMATION_DURATION /* 225 */: + case 233: + iArr = new int[]{4, 4, 4, 4, 2, 2}; + break; + case 3: + iArr = new int[]{2, 3, 1, 2, 2, 2}; + break; + case 4: + case 25: + case '3': + case '9': + case 'J': + case 145: + case 224: + iArr = new int[]{1, 2, 2, 2, 2, 2}; + break; + case 5: + case 16: + case 'u': + iArr = new int[]{1, 2, 0, 1, 2, 2}; + break; + case 6: + iArr = new int[]{2, 3, 2, 4, 2, 2}; + break; + case 7: + case ',': + iArr = new int[]{3, 4, 3, 2, 2, 2}; + break; + case '\b': + case '?': + case 'd': + case 162: + case 190: + case 199: + case 216: + iArr = new int[]{4, 2, 2, 2, 2, 2}; + break; + case '\t': + iArr = new int[]{2, 4, 1, 1, 2, 2}; + break; + case '\n': + iArr = new int[]{2, 2, 2, 3, 2, 2}; + break; + case 11: + case '(': + case 'g': + case 188: + case 193: + iArr = new int[]{0, 0, 0, 0, 0, 2}; + break; + case '\f': + iArr = new int[]{0, 1, 0, 1, 2, 2}; + break; + case '\r': + case 'W': + iArr = new int[]{1, 2, 4, 4, 2, 2}; + break; + case 14: + case 'O': + case 'z': + case 142: + case 172: + case 192: + case 195: + iArr = new int[]{0, 2, 2, 2, 2, 2}; + break; + case 15: + case 154: + iArr = new int[]{3, 2, 4, 4, 2, 2}; + break; + case 17: + case 'F': + case 'M': + iArr = new int[]{0, 2, 0, 0, 2, 2}; + break; + case 18: + case 151: + iArr = new int[]{2, 1, 3, 3, 2, 2}; + break; + case 19: + iArr = new int[]{0, 0, 3, 3, 2, 2}; + break; + case 20: + iArr = new int[]{4, 3, 4, 3, 2, 2}; + break; + case 21: + case '5': + case 191: + iArr = new int[]{0, 0, 0, 0, 1, 2}; + break; + case 22: + iArr = new int[]{1, 2, 2, 4, 4, 2}; + break; + case 23: + case ';': + case 203: + case 210: + iArr = new int[]{4, 3, 4, 4, 2, 2}; + break; + case 24: + iArr = new int[]{4, 4, 3, 4, 2, 2}; + break; + case 27: + iArr = new int[]{3, 2, 1, 1, 2, 2}; + break; + case 28: + iArr = new int[]{1, 3, 3, 2, 2, 2}; + break; + case 29: + iArr = new int[]{1, 2, 2, 0, 2, 2}; + break; + case 30: + case 198: + iArr = new int[]{2, 3, 2, 2, 2, 2}; + break; + case 31: + iArr = new int[]{4, 2, 2, 3, 2, 2}; + break; + case ' ': + iArr = new int[]{3, 1, 3, 2, 2, 2}; + break; + case '!': + case 'Y': + iArr = new int[]{3, 4, 1, 0, 2, 2}; + break; + case '\"': + iArr = new int[]{0, 1, 1, 3, 2, 2}; + break; + case '#': + iArr = new int[]{2, 4, 2, 2, 2, 2}; + break; + case '$': + iArr = new int[]{0, 2, 1, 2, 4, 1}; + break; + case '%': + iArr = new int[]{4, 2, 3, 1, 2, 2}; + break; + case '&': + iArr = new int[]{4, 2, 3, 2, 2, 2}; + break; + case '\'': + case FontUtils.MAX_FONT_SCALING /* 150 */: + iArr = new int[]{2, 4, 3, 4, 2, 2}; + break; + case ')': + iArr = new int[]{3, 3, 3, 4, 2, 2}; + break; + case '*': + iArr = new int[]{2, 2, 2, 1, 2, 2}; + break; + case '+': + case 171: + case 221: + iArr = new int[]{1, 1, 2, 2, 3, 2}; + break; + case '-': + iArr = new int[]{2, 0, 2, 2, 3, 1}; + break; + case '.': + iArr = new int[]{2, 2, 4, 2, 2, 2}; + break; + case '/': + iArr = new int[]{2, 2, 4, 4, 2, 2}; + break; + case '0': + case 168: + iArr = new int[]{4, 4, 3, 2, 2, 2}; + break; + case '1': + iArr = new int[]{2, 3, 1, 0, 2, 2}; + break; + case '2': + iArr = new int[]{2, 2, 0, 0, 2, 2}; + break; + case '4': + iArr = new int[]{1, 0, 0, 0, 1, 2}; + break; + case '6': + iArr = new int[]{0, 0, 2, 2, 1, 2}; + break; + case '7': + iArr = new int[]{4, 1, 4, 4, 2, 2}; + break; + case '8': + iArr = new int[]{0, 0, 1, 0, 0, 2}; + break; + case ':': + case 'j': + iArr = new int[]{3, 4, 4, 4, 2, 2}; + break; + case '<': + iArr = new int[]{2, 4, 2, 1, 2, 2}; + break; + case '=': + case '~': + case 128: + case 146: + iArr = new int[]{0, 0, 0, 0, 2, 2}; + break; + case '>': + iArr = new int[]{3, 4, 2, 3, 2, 2}; + break; + case '@': + case '`': + iArr = new int[]{0, 1, 1, 1, 2, 2}; + break; + case 'A': + iArr = new int[]{4, 4, 3, 1, 2, 2}; + break; + case 'B': + iArr = new int[]{0, 0, 0, 1, 0, 2}; + break; + case 'C': + iArr = new int[]{3, 1, 3, 3, 2, 2}; + break; + case 'D': + case 'r': + case 130: + case 152: + case 200: + iArr = new int[]{3, 2, 2, 2, 2, 2}; + break; + case 'E': + iArr = new int[]{3, 2, 4, 2, 2, 2}; + break; + case 'G': + iArr = new int[]{1, 1, 2, 1, 1, 1}; + break; + case 'H': + iArr = new int[]{2, 3, 1, 1, 2, 2}; + break; + case 'I': + iArr = new int[]{0, 0, 1, 1, 2, 3}; + break; + case 'K': + iArr = new int[]{1, 1, 1, 3, 2, 2}; + break; + case 'L': + case 'S': + case 143: + iArr = new int[]{2, 1, 2, 3, 2, 2}; + break; + case 'N': + iArr = new int[]{3, 2, 3, 2, 2, 2}; + break; + case 'Q': + case 230: + iArr = new int[]{4, 2, 2, 4, 2, 2}; + break; + case 'R': + iArr = new int[]{4, 3, 4, 2, 2, 2}; + break; + case 'T': + iArr = new int[]{4, 2, 3, 4, 2, 2}; + break; + case 'U': + case '\\': + case 132: + case 137: + case 181: + iArr = new int[]{1, 0, 0, 0, 2, 2}; + break; + case 'V': + iArr = new int[]{2, 3, 2, 1, 2, 2}; + break; + case 'X': + case 218: + iArr = new int[]{3, 4, 3, 3, 2, 2}; + break; + case 'Z': + iArr = new int[]{0, 1, 2, 3, 2, 0}; + break; + case '[': + case 170: + case 197: + iArr = new int[]{3, 2, 3, 3, 2, 2}; + break; + case '^': + iArr = new int[]{0, 0, 0, 1, 3, 2}; + break; + case '_': + iArr = new int[]{3, 2, 3, 3, 3, 2}; + break; + case 'a': + iArr = new int[]{1, 1, 2, 3, 4, 2}; + break; + case 'b': + iArr = new int[]{0, 2, 0, 1, 2, 2}; + break; + case 'c': + iArr = new int[]{1, 1, 3, 2, 4, 3}; + break; + case 'e': + case 220: + iArr = new int[]{3, 3, 3, 3, 2, 2}; + break; + case 'f': + iArr = new int[]{3, 0, 1, 1, 3, 0}; + break; + case 'h': + iArr = new int[]{0, 1, 0, 1, 1, 2}; + break; + case 'i': + iArr = new int[]{3, 2, 1, 2, 2, 2}; + break; + case 'k': + case 133: + iArr = new int[]{1, 0, 0, 1, 2, 2}; + break; + case 'l': + iArr = new int[]{0, 1, 0, 1, 1, 1}; + break; + case 'm': + iArr = new int[]{3, 3, 2, 2, 2, 2}; + break; + case 'n': + iArr = new int[]{2, 1, 1, 1, 2, 2}; + break; + case 'o': + iArr = new int[]{1, 1, 4, 2, 2, 2}; + break; + case 'p': + case 'q': + case 129: + case 185: + iArr = new int[]{4, 2, 4, 3, 2, 2}; + break; + case 's': + iArr = new int[]{0, 0, 1, 3, 4, 4}; + break; + case 't': + iArr = new int[]{1, 1, 0, 0, 0, 2}; + break; + case 'v': + iArr = new int[]{1, 1, 2, 2, 2, 2}; + break; + case 'w': + case 222: + iArr = new int[]{2, 2, 1, 2, 2, 2}; + break; + case 'x': + iArr = new int[]{3, 2, 1, 4, 2, 2}; + break; + case '{': + iArr = new int[]{3, 1, 3, 4, 4, 2}; + break; + case '|': + iArr = new int[]{3, 4, 4, 3, 2, 2}; + break; + case '}': + iArr = new int[]{3, 3, 4, 3, 2, 2}; + break; + case 127: + iArr = new int[]{1, 0, 2, 2, 2, 2}; + break; + case 131: + iArr = new int[]{0, 2, 2, 0, 2, 2}; + break; + case 134: + iArr = new int[]{1, 2, 1, 0, 2, 2}; + break; + case 135: + iArr = new int[]{3, 4, 2, 2, 2, 2}; + break; + case 136: + iArr = new int[]{3, 2, 2, 4, 2, 2}; + break; + case 138: + iArr = new int[]{4, 3, 3, 1, 2, 2}; + break; + case 139: + iArr = new int[]{2, 4, 3, 3, 2, 2}; + break; + case 140: + iArr = new int[]{2, 0, 1, 2, 2, 2}; + break; + case 141: + iArr = new int[]{0, 2, 4, 4, 2, 2}; + break; + case 144: + iArr = new int[]{4, 1, 3, 4, 2, 2}; + break; + case 147: + iArr = new int[]{3, 1, 1, 2, 2, 2}; + break; + case 148: + iArr = new int[]{3, 4, 1, 4, 2, 2}; + break; + case 149: + iArr = new int[]{4, 2, 1, 0, 2, 2}; + break; + case 153: + iArr = new int[]{4, 3, 2, 2, 2, 2}; + break; + case 156: + iArr = new int[]{3, 4, 1, 1, 2, 2}; + break; + case 157: + iArr = new int[]{2, 3, 4, 3, 2, 2}; + break; + case 158: + iArr = new int[]{0, 0, 3, 2, 0, 4}; + break; + case 159: + iArr = new int[]{0, 0, 2, 0, 0, 2}; + break; + case 160: + iArr = new int[]{2, 1, 4, 3, 2, 2}; + break; + case 161: + iArr = new int[]{3, 2, 2, 0, 2, 2}; + break; + case 163: + iArr = new int[]{1, 0, 1, 2, 4, 2}; + break; + case 164: + iArr = new int[]{2, 3, 1, 3, 4, 2}; + break; + case 165: + iArr = new int[]{1, 3, 3, 3, 2, 2}; + break; + case 166: + iArr = new int[]{2, 3, 4, 4, 4, 2}; + break; + case 167: + iArr = new int[]{2, 3, 3, 1, 2, 2}; + break; + case 169: + iArr = new int[]{2, 2, 3, 3, 3, 2}; + break; + case 173: + iArr = new int[]{2, 3, 2, 2, 3, 3}; + break; + case 174: + iArr = new int[]{3, 4, 1, 2, 2, 2}; + break; + case HideBottomViewOnScrollBehavior.EXIT_ANIMATION_DURATION /* 175 */: + iArr = new int[]{0, 1, 0, 0, 2, 2}; + break; + case 176: + iArr = new int[]{2, 2, 4, 1, 2, 2}; + break; + case 177: + iArr = new int[]{2, 2, 3, 2, 2, 2}; + break; + case 178: + iArr = new int[]{2, 4, 2, 4, 4, 2}; + break; + case 179: + iArr = new int[]{1, 1, 1, 2, 2, 2}; + break; + case BaseTransientBottomBar.ANIMATION_FADE_DURATION /* 180 */: + iArr = new int[]{0, 0, 1, 1, 1, 2}; + break; + case 182: + iArr = new int[]{0, 0, 0, 1, 2, 2}; + break; + case 183: + iArr = new int[]{3, 4, 3, 0, 2, 2}; + break; + case 184: + case 212: + case 226: + iArr = new int[]{2, 2, 1, 1, 2, 2}; + break; + case 186: + iArr = new int[]{4, 3, 0, 2, 2, 2}; + break; + case 189: + iArr = new int[]{1, 1, 2, 3, 1, 4}; + break; + case 194: + iArr = new int[]{4, 3, 4, 1, 2, 2}; + break; + case 201: + iArr = new int[]{2, 2, 3, 3, 2, 2}; + break; + case 202: + case 205: + iArr = new int[]{2, 2, 1, 0, 2, 2}; + break; + case 204: + iArr = new int[]{4, 3, 2, 4, 2, 2}; + break; + case 207: + iArr = new int[]{3, 3, 2, 0, 2, 2}; + break; + case 208: + iArr = new int[]{0, 3, 2, 3, 3, 0}; + break; + case 209: + iArr = new int[]{4, 2, 4, 4, 2, 2}; + break; + case 211: + iArr = new int[]{4, 2, 4, 2, 2, 2}; + break; + case 213: + iArr = new int[]{4, 2, 3, 3, 2, 2}; + break; + case 214: + iArr = new int[]{1, 1, 0, 1, 2, 2}; + break; + case 215: + iArr = new int[]{1, 4, 1, 1, 2, 2}; + break; + case 217: + iArr = new int[]{0, 0, 0, 0, 0, 0}; + break; + case 219: + iArr = new int[]{0, 3, 1, 1, 2, 2}; + break; + case 223: + iArr = new int[]{2, 2, 3, 4, 2, 2}; + break; + case 227: + iArr = new int[]{1, 2, 1, 3, 2, 2}; + break; + case 228: + iArr = new int[]{0, 3, 3, 4, 2, 2}; + break; + case 229: + iArr = new int[]{4, 2, 2, 1, 2, 2}; + break; + case 231: + iArr = new int[]{3, 1, 2, 1, 2, 2}; + break; + case 232: + iArr = new int[]{1, 1, 1, 1, 2, 2}; + break; + case 234: + iArr = new int[]{4, 1, 1, 1, 2, 2}; + break; + case 235: + iArr = new int[]{3, 3, 1, 1, 1, 2}; + break; + case 236: + iArr = new int[]{3, 3, 4, 2, 2, 2}; + break; + case 237: + iArr = new int[]{3, 2, 4, 3, 2, 2}; + break; + default: + iArr = new int[]{2, 2, 2, 2, 2, 2}; + break; + } + HashMap hashMap = new HashMap(8); + hashMap.put(0, 1000000L); + c.i.b.b.p pVar2 = p.a; + hashMap.put(2, pVar2.get(iArr[0])); + hashMap.put(3, p.b.get(iArr[1])); + hashMap.put(4, p.f765c.get(iArr[2])); + hashMap.put(5, p.d.get(iArr[3])); + hashMap.put(10, p.e.get(iArr[4])); + hashMap.put(9, p.f.get(iArr[5])); + hashMap.put(7, pVar2.get(iArr[0])); + this.b = hashMap; + this.f767c = 2000; + this.d = g.a; + this.e = true; + } + } + str = c.i.a.f.e.o.f.f1(Locale.getDefault().getCountry()); + c.i.b.b.p pVar = p.a; + str.hashCode(); + c2 = 65535; + switch (str.hashCode()) { + case 2083: + break; + case 2084: + break; + case 2085: + break; + case 2086: + break; + case 2088: + break; + case 2091: + break; + case 2092: + break; + case 2094: + break; + case 2096: + break; + case 2097: + break; + case 2098: + break; + case 2099: + break; + case 2100: + break; + case 2102: + break; + case 2103: + break; + case 2105: + break; + case 2111: + break; + case 2112: + break; + case 2114: + break; + case 2115: + break; + case 2116: + break; + case 2117: + break; + case 2118: + break; + case 2119: + break; + case 2120: + break; + case 2122: + break; + case 2123: + break; + case 2124: + break; + case 2125: + break; + case 2127: + break; + case 2128: + break; + case 2129: + break; + case 2130: + break; + case 2133: + break; + case 2135: + break; + case 2136: + break; + case 2142: + break; + case 2145: + break; + case 2147: + break; + case 2148: + break; + case 2149: + break; + case 2150: + break; + case 2152: + break; + case 2153: + break; + case 2154: + break; + case 2155: + break; + case 2156: + break; + case 2159: + break; + case 2162: + break; + case 2163: + break; + case 2164: + break; + case 2165: + break; + case 2166: + break; + case 2167: + break; + case 2177: + break; + case 2182: + break; + case 2183: + break; + case 2185: + break; + case 2187: + break; + case 2198: + break; + case 2206: + break; + case 2208: + break; + case 2210: + break; + case 2221: + break; + case 2222: + break; + case 2223: + break; + case 2243: + break; + case 2244: + break; + case 2245: + break; + case 2247: + break; + case 2249: + break; + case 2252: + break; + case 2266: + break; + case 2267: + break; + case 2269: + break; + case 2270: + break; + case 2271: + break; + case 2272: + break; + case 2273: + break; + case 2274: + break; + case 2277: + break; + case 2278: + break; + case 2279: + break; + case 2281: + break; + case 2282: + break; + case 2283: + break; + case 2285: + break; + case 2286: + break; + case 2288: + break; + case 2290: + break; + case 2307: + break; + case 2310: + break; + case 2314: + break; + case 2316: + break; + case 2317: + break; + case 2331: + break; + case 2332: + break; + case 2339: + break; + case 2340: + break; + case 2341: + break; + case 2342: + break; + case 2344: + break; + case 2345: + break; + case 2346: + break; + case 2347: + break; + case 2363: + break; + case 2371: + break; + case 2373: + break; + case 2374: + break; + case 2394: + break; + case 2396: + break; + case 2397: + break; + case 2398: + break; + case 2402: + break; + case 2405: + break; + case 2407: + break; + case 2412: + break; + case 2414: + break; + case 2415: + break; + case 2421: + break; + case 2422: + break; + case 2423: + break; + case 2429: + break; + case 2431: + break; + case 2438: + break; + case 2439: + break; + case 2440: + break; + case 2441: + break; + case 2442: + break; + case 2445: + break; + case 2452: + break; + case 2454: + break; + case 2455: + break; + case 2456: + break; + case 2457: + break; + case 2458: + break; + case 2459: + break; + case 2462: + break; + case 2463: + break; + case 2464: + break; + case 2465: + break; + case 2466: + break; + case 2467: + break; + case 2468: + break; + case 2469: + break; + case 2470: + break; + case 2471: + break; + case 2472: + break; + case 2473: + break; + case 2474: + break; + case 2475: + break; + case 2476: + break; + case 2477: + break; + case 2483: + break; + case 2485: + break; + case 2487: + break; + case 2489: + break; + case 2491: + break; + case 2494: + break; + case 2497: + break; + case 2498: + break; + case GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES /* 2500 */: + break; + case 2503: + break; + case 2508: + break; + case 2526: + break; + case 2545: + break; + case 2549: + break; + case 2550: + break; + case 2551: + break; + case 2552: + break; + case 2555: + break; + case 2556: + break; + case 2557: + break; + case 2562: + break; + case 2563: + break; + case 2564: + break; + case 2567: + break; + case 2569: + break; + case 2576: + break; + case 2611: + break; + case 2621: + break; + case 2625: + break; + case 2627: + break; + case 2629: + break; + case 2638: + break; + case 2639: + break; + case 2640: + break; + case 2641: + break; + case 2642: + break; + case 2644: + break; + case 2645: + break; + case 2646: + break; + case 2647: + break; + case 2648: + break; + case 2649: + break; + case 2650: + break; + case 2651: + break; + case 2652: + break; + case 2655: + break; + case 2656: + break; + case 2657: + break; + case 2659: + break; + case 2661: + break; + case 2662: + break; + case 2663: + break; + case 2671: + break; + case 2672: + break; + case 2675: + break; + case 2676: + break; + case 2678: + break; + case 2680: + break; + case 2681: + break; + case 2682: + break; + case 2683: + break; + case 2686: + break; + case 2688: + break; + case 2690: + break; + case 2691: + break; + case 2694: + break; + case 2700: + break; + case 2706: + break; + case 2718: + break; + case 2724: + break; + case 2725: + break; + case 2733: + break; + case 2735: + break; + case 2737: + break; + case 2739: + break; + case 2744: + break; + case 2751: + break; + case 2767: + break; + case 2780: + break; + case 2803: + break; + case 2828: + break; + case 2843: + break; + case 2855: + break; + case 2867: + break; + case 2877: + break; + } + switch (c2) { + } + HashMap hashMap = new HashMap(8); + hashMap.put(0, 1000000L); + c.i.b.b.p pVar2 = p.a; + hashMap.put(2, pVar2.get(iArr[0])); + hashMap.put(3, p.b.get(iArr[1])); + hashMap.put(4, p.f765c.get(iArr[2])); + hashMap.put(5, p.d.get(iArr[3])); + hashMap.put(10, p.e.get(iArr[4])); + hashMap.put(9, p.f.get(iArr[5])); + hashMap.put(7, pVar2.get(iArr[0])); + this.b = hashMap; + this.f767c = 2000; + this.d = g.a; + this.e = true; + } + } + + public p(Context context, Map map, int i, g gVar, boolean z2, a aVar) { + v vVar; + int i2; + this.h = q.a(map); + this.j = new x(i); + this.k = gVar; + this.l = z2; + if (context != null) { + synchronized (v.class) { + if (v.a == null) { + v.a = new v(context); + } + vVar = v.a; + } + synchronized (vVar.d) { + i2 = vVar.e; + } + this.p = i2; + this.f766s = h(i2); + b bVar = new b(this); + Iterator> it = vVar.f790c.iterator(); + while (it.hasNext()) { + WeakReference next = it.next(); + if (next.get() == null) { + vVar.f790c.remove(next); + } + } + vVar.f790c.add(new WeakReference<>(bVar)); + vVar.b.post(new c(vVar, bVar)); + return; + } + this.p = 0; + this.f766s = h(0); + } + + public static boolean i(n nVar, boolean z2) { + return z2 && !nVar.c(8); + } + + @Override // c.i.a.c.e3.a0 + public synchronized void a(l lVar, n nVar, boolean z2) { + if (i(nVar, z2)) { + d.D(this.m > 0); + long d2 = this.k.d(); + int i = (int) (d2 - this.n); + this.q += (long) i; + long j = this.r; + long j2 = this.o; + this.r = j + j2; + if (i > 0) { + this.j.a((int) Math.sqrt((double) j2), (((float) j2) * 8000.0f) / ((float) i)); + if (this.q >= 2000 || this.r >= Permission.VIEW_GUILD_ANALYTICS) { + this.f766s = (long) this.j.b(0.5f); + } + j(i, this.o, this.f766s); + this.n = d2; + this.o = 0; + } + this.m--; + } + } + + @Override // c.i.a.c.e3.a0 + public synchronized void b(l lVar, n nVar, boolean z2) { + if (i(nVar, z2)) { + if (this.m == 0) { + this.n = this.k.d(); + } + this.m++; + } + } + + @Override // c.i.a.c.e3.f + public a0 c() { + return this; + } + + @Override // c.i.a.c.e3.f + public void d(f.a aVar) { + this.i.a(aVar); + } + + @Override // c.i.a.c.e3.a0 + public synchronized void e(l lVar, n nVar, boolean z2, int i) { + if (i(nVar, z2)) { + this.o += (long) i; + } + } + + @Override // c.i.a.c.e3.f + public void f(Handler handler, f.a aVar) { + f.a.C0092a aVar2 = this.i; + Objects.requireNonNull(aVar2); + aVar2.a(aVar); + aVar2.a.add(new f.a.C0092a.C0093a(handler, aVar)); + } + + @Override // c.i.a.c.e3.a0 + public void g(l lVar, n nVar, boolean z2) { + } + + public final long h(int i) { + Long l = this.h.get(Integer.valueOf(i)); + if (l == null) { + l = this.h.get(0); + } + if (l == null) { + l = 1000000L; + } + return l.longValue(); + } + + public final void j(int i, long j, long j2) { + if (i != 0 || j != 0 || j2 != this.t) { + this.t = j2; + Iterator it = this.i.a.iterator(); + while (it.hasNext()) { + f.a.C0092a.C0093a next = it.next(); + if (!next.f760c) { + next.a.post(new a(next, i, j, j2)); + } + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/e3/q.java b/app/src/main/java/c/i/a/c/e3/q.java new file mode 100644 index 0000000000..fde93febe6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/q.java @@ -0,0 +1,232 @@ +package c.i.a.c.e3; + +import android.content.Context; +import android.net.Uri; +import android.text.TextUtils; +import android.util.Log; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.e3.l; +import c.i.a.c.e3.r; +import c.i.a.c.f3.e0; +import com.discord.models.domain.ModelAuditLogEntry; +import com.google.android.exoplayer2.upstream.AssetDataSource; +import com.google.android.exoplayer2.upstream.ContentDataSource; +import com.google.android.exoplayer2.upstream.FileDataSource; +import com.google.android.exoplayer2.upstream.RawResourceDataSource; +import com.google.android.exoplayer2.upstream.UdpDataSource; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import java.util.Objects; +/* compiled from: DefaultDataSource */ +public final class q implements l { + public final Context a; + public final List b = new ArrayList(); + + /* renamed from: c reason: collision with root package name */ + public final l f768c; + @Nullable + public l d; + @Nullable + public l e; + @Nullable + public l f; + @Nullable + public l g; + @Nullable + public l h; + @Nullable + public l i; + @Nullable + public l j; + @Nullable + public l k; + + /* compiled from: DefaultDataSource */ + public static final class a implements l.a { + public final Context a; + public final l.a b; + + public a(Context context) { + r.b bVar = new r.b(); + this.a = context.getApplicationContext(); + this.b = bVar; + } + + /* renamed from: b */ + public q a() { + return new q(this.a, this.b.a()); + } + } + + public q(Context context, l lVar) { + this.a = context.getApplicationContext(); + Objects.requireNonNull(lVar); + this.f768c = lVar; + } + + @Override // c.i.a.c.e3.l + public long a(n nVar) throws IOException { + boolean z2 = true; + d.D(this.k == null); + String scheme = nVar.a.getScheme(); + Uri uri = nVar.a; + int i = e0.a; + String scheme2 = uri.getScheme(); + if (!TextUtils.isEmpty(scheme2) && !"file".equals(scheme2)) { + z2 = false; + } + if (z2) { + String path = nVar.a.getPath(); + if (path == null || !path.startsWith("/android_asset/")) { + if (this.d == null) { + FileDataSource fileDataSource = new FileDataSource(); + this.d = fileDataSource; + p(fileDataSource); + } + this.k = this.d; + } else { + if (this.e == null) { + AssetDataSource assetDataSource = new AssetDataSource(this.a); + this.e = assetDataSource; + p(assetDataSource); + } + this.k = this.e; + } + } else if (ModelAuditLogEntry.CHANGE_KEY_ASSET.equals(scheme)) { + if (this.e == null) { + AssetDataSource assetDataSource2 = new AssetDataSource(this.a); + this.e = assetDataSource2; + p(assetDataSource2); + } + this.k = this.e; + } else if ("content".equals(scheme)) { + if (this.f == null) { + ContentDataSource contentDataSource = new ContentDataSource(this.a); + this.f = contentDataSource; + p(contentDataSource); + } + this.k = this.f; + } else if ("rtmp".equals(scheme)) { + if (this.g == null) { + try { + l lVar = (l) Class.forName("com.google.android.exoplayer2.ext.rtmp.RtmpDataSource").getConstructor(new Class[0]).newInstance(new Object[0]); + this.g = lVar; + p(lVar); + } catch (ClassNotFoundException unused) { + Log.w("DefaultDataSource", "Attempting to play RTMP stream without depending on the RTMP extension"); + } catch (Exception e) { + throw new RuntimeException("Error instantiating RTMP extension", e); + } + if (this.g == null) { + this.g = this.f768c; + } + } + this.k = this.g; + } else if ("udp".equals(scheme)) { + if (this.h == null) { + UdpDataSource udpDataSource = new UdpDataSource(); + this.h = udpDataSource; + p(udpDataSource); + } + this.k = this.h; + } else if ("data".equals(scheme)) { + if (this.i == null) { + i iVar = new i(); + this.i = iVar; + p(iVar); + } + this.k = this.i; + } else if ("rawresource".equals(scheme) || "android.resource".equals(scheme)) { + if (this.j == null) { + RawResourceDataSource rawResourceDataSource = new RawResourceDataSource(this.a); + this.j = rawResourceDataSource; + p(rawResourceDataSource); + } + this.k = this.j; + } else { + this.k = this.f768c; + } + return this.k.a(nVar); + } + + @Override // c.i.a.c.e3.l + public void close() throws IOException { + l lVar = this.k; + if (lVar != null) { + l lVar2 = null; + try { + lVar.close(); + } finally { + this.k = lVar2; + } + } + } + + @Override // c.i.a.c.e3.l + public void d(a0 a0Var) { + Objects.requireNonNull(a0Var); + this.f768c.d(a0Var); + this.b.add(a0Var); + l lVar = this.d; + if (lVar != null) { + lVar.d(a0Var); + } + l lVar2 = this.e; + if (lVar2 != null) { + lVar2.d(a0Var); + } + l lVar3 = this.f; + if (lVar3 != null) { + lVar3.d(a0Var); + } + l lVar4 = this.g; + if (lVar4 != null) { + lVar4.d(a0Var); + } + l lVar5 = this.h; + if (lVar5 != null) { + lVar5.d(a0Var); + } + l lVar6 = this.i; + if (lVar6 != null) { + lVar6.d(a0Var); + } + l lVar7 = this.j; + if (lVar7 != null) { + lVar7.d(a0Var); + } + } + + @Override // c.i.a.c.e3.l + public Map> j() { + l lVar = this.k; + return lVar == null ? Collections.emptyMap() : lVar.j(); + } + + @Override // c.i.a.c.e3.l + @Nullable + public Uri n() { + l lVar = this.k; + if (lVar == null) { + return null; + } + return lVar.n(); + } + + public final void p(l lVar) { + for (int i = 0; i < this.b.size(); i++) { + lVar.d(this.b.get(i)); + } + } + + @Override // c.i.a.c.e3.h + public int read(byte[] bArr, int i, int i2) throws IOException { + l lVar = this.k; + Objects.requireNonNull(lVar); + return lVar.read(bArr, i, i2); + } +} diff --git a/app/src/main/java/c/i/a/c/e3/r.java b/app/src/main/java/c/i/a/c/e3/r.java new file mode 100644 index 0000000000..8ac6013535 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/r.java @@ -0,0 +1,504 @@ +package c.i.a.c.e3; + +import android.net.Uri; +import android.text.TextUtils; +import android.util.Log; +import androidx.annotation.Nullable; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.q; +import c.i.b.a.h; +import com.adjust.sdk.Constants; +import com.discord.analytics.utils.RegistrationSteps; +import com.discord.api.permission.Permission; +import com.google.android.exoplayer2.upstream.DataSourceException; +import com.google.android.exoplayer2.upstream.HttpDataSource$HttpDataSourceException; +import com.google.android.exoplayer2.upstream.HttpDataSource$InvalidContentTypeException; +import com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException; +import java.io.IOException; +import java.io.InputStream; +import java.io.InterruptedIOException; +import java.io.OutputStream; +import java.lang.reflect.Method; +import java.net.HttpURLConnection; +import java.net.MalformedURLException; +import java.net.NoRouteToHostException; +import java.net.URL; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import java.util.zip.GZIPInputStream; +/* compiled from: DefaultHttpDataSource */ +public class r extends g implements l { + public final boolean e; + public final int f; + public final int g; + @Nullable + public final String h; + @Nullable + public final u i; + public final u j = new u(); + public final boolean k; + @Nullable + public h l = null; + @Nullable + public n m; + @Nullable + public HttpURLConnection n; + @Nullable + public InputStream o; + public boolean p; + public int q; + public long r; + + /* renamed from: s reason: collision with root package name */ + public long f769s; + + /* compiled from: DefaultHttpDataSource */ + public static final class b implements t { + public final u a = new u(); + @Nullable + public String b; + + /* renamed from: c reason: collision with root package name */ + public int f770c = 8000; + public int d = 8000; + + /* renamed from: b */ + public r a() { + return new r(this.b, this.f770c, this.d, false, this.a, null, false, null); + } + } + + public r(String str, int i, int i2, boolean z2, u uVar, h hVar, boolean z3, a aVar) { + super(true); + this.h = str; + this.f = i; + this.g = i2; + this.e = z2; + this.i = uVar; + this.k = z3; + } + + public static void x(@Nullable HttpURLConnection httpURLConnection, long j) { + int i; + if (httpURLConnection != null && (i = e0.a) >= 19 && i <= 20) { + try { + InputStream inputStream = httpURLConnection.getInputStream(); + if (j == -1) { + if (inputStream.read() == -1) { + return; + } + } else if (j <= Permission.SEND_MESSAGES) { + return; + } + String name = inputStream.getClass().getName(); + if ("com.android.okhttp.internal.http.HttpTransport$ChunkedInputStream".equals(name) || "com.android.okhttp.internal.http.HttpTransport$FixedLengthInputStream".equals(name)) { + Class superclass = inputStream.getClass().getSuperclass(); + Objects.requireNonNull(superclass); + Method declaredMethod = superclass.getDeclaredMethod("unexpectedEndOfInput", new Class[0]); + declaredMethod.setAccessible(true); + declaredMethod.invoke(inputStream, new Object[0]); + } + } catch (Exception unused) { + } + } + } + + /* JADX WARNING: Code restructure failed: missing block: B:16:0x0050, code lost: + if (r5 != 0) goto L_0x0054; + */ + /* JADX WARNING: Removed duplicated region for block: B:33:0x00b2 */ + /* JADX WARNING: Removed duplicated region for block: B:47:0x0146 */ + /* JADX WARNING: Removed duplicated region for block: B:48:0x0148 */ + /* JADX WARNING: Removed duplicated region for block: B:81:0x01ca */ + @Override // c.i.a.c.e3.l + public long a(n nVar) throws HttpDataSource$HttpDataSourceException { + byte[] bArr; + long j; + boolean z2; + long j2; + long j3; + this.m = nVar; + this.f769s = 0; + this.r = 0; + r(nVar); + try { + HttpURLConnection v = v(nVar); + this.n = v; + this.q = v.getResponseCode(); + String responseMessage = v.getResponseMessage(); + int i = this.q; + if (i < 200 || i > 299) { + Map> headerFields = v.getHeaderFields(); + if (this.q == 416) { + String headerField = v.getHeaderField("Content-Range"); + Pattern pattern = v.a; + if (!TextUtils.isEmpty(headerField)) { + Matcher matcher = v.b.matcher(headerField); + if (matcher.matches()) { + z2 = true; + String group = matcher.group(1); + Objects.requireNonNull(group); + j = Long.parseLong(group); + if (nVar.f == j) { + this.p = z2; + s(nVar); + long j4 = nVar.g; + if (j4 != -1) { + return j4; + } + return 0; + } + } + } + z2 = true; + j = -1; + if (nVar.f == j) { + } + } + InputStream errorStream = v.getErrorStream(); + if (errorStream != null) { + try { + bArr = e0.K(errorStream); + } catch (IOException unused) { + bArr = e0.f; + } + } else { + bArr = e0.f; + } + t(); + throw new HttpDataSource$InvalidResponseCodeException(this.q, responseMessage, this.q == 416 ? new DataSourceException(2008) : null, headerFields, nVar, bArr); + } + String contentType = v.getContentType(); + h hVar = this.l; + if (hVar == null || hVar.apply(contentType)) { + if (this.q == 200) { + j2 = nVar.f; + } + j2 = 0; + boolean equalsIgnoreCase = "gzip".equalsIgnoreCase(v.getHeaderField("Content-Encoding")); + if (!equalsIgnoreCase) { + long j5 = nVar.g; + if (j5 != -1) { + this.r = j5; + } else { + String headerField2 = v.getHeaderField("Content-Length"); + String headerField3 = v.getHeaderField("Content-Range"); + Pattern pattern2 = v.a; + if (!TextUtils.isEmpty(headerField2)) { + try { + j3 = Long.parseLong(headerField2); + } catch (NumberFormatException unused2) { + StringBuilder sb = new StringBuilder(String.valueOf(headerField2).length() + 28); + sb.append("Unexpected Content-Length ["); + sb.append(headerField2); + sb.append("]"); + Log.e("HttpUtil", sb.toString()); + } + if (!TextUtils.isEmpty(headerField3)) { + Matcher matcher2 = v.a.matcher(headerField3); + if (matcher2.matches()) { + try { + String group2 = matcher2.group(2); + Objects.requireNonNull(group2); + long parseLong = Long.parseLong(group2); + String group3 = matcher2.group(1); + Objects.requireNonNull(group3); + long parseLong2 = (parseLong - Long.parseLong(group3)) + 1; + if (j3 < 0) { + j3 = parseLong2; + } else if (j3 != parseLong2) { + StringBuilder sb2 = new StringBuilder(String.valueOf(headerField2).length() + 26 + String.valueOf(headerField3).length()); + sb2.append("Inconsistent headers ["); + sb2.append(headerField2); + sb2.append("] ["); + sb2.append(headerField3); + sb2.append("]"); + Log.w("HttpUtil", sb2.toString()); + j3 = Math.max(j3, parseLong2); + } + } catch (NumberFormatException unused3) { + StringBuilder sb3 = new StringBuilder(String.valueOf(headerField3).length() + 27); + sb3.append("Unexpected Content-Range ["); + sb3.append(headerField3); + sb3.append("]"); + Log.e("HttpUtil", sb3.toString()); + } + } + } + this.r = j3 == -1 ? j3 - j2 : -1; + } + j3 = -1; + if (!TextUtils.isEmpty(headerField3)) { + } + this.r = j3 == -1 ? j3 - j2 : -1; + } + } else { + this.r = nVar.g; + } + try { + this.o = v.getInputStream(); + if (equalsIgnoreCase) { + this.o = new GZIPInputStream(this.o); + } + this.p = true; + s(nVar); + try { + y(j2, nVar); + return this.r; + } catch (IOException e) { + t(); + if (e instanceof HttpDataSource$HttpDataSourceException) { + throw ((HttpDataSource$HttpDataSourceException) e); + } + throw new HttpDataSource$HttpDataSourceException(e, nVar, 2000, 1); + } + } catch (IOException e2) { + t(); + throw new HttpDataSource$HttpDataSourceException(e2, nVar, 2000, 1); + } + } else { + t(); + throw new HttpDataSource$InvalidContentTypeException(contentType, nVar); + } + } catch (IOException e3) { + t(); + throw HttpDataSource$HttpDataSourceException.b(e3, nVar, 1); + } + } + + @Override // c.i.a.c.e3.l + public void close() throws HttpDataSource$HttpDataSourceException { + boolean z2 = false; + InputStream inputStream = null; + try { + InputStream inputStream2 = this.o; + if (inputStream2 != null) { + long j = this.r; + long j2 = -1; + if (j != -1) { + j2 = j - this.f769s; + } + x(this.n, j2); + try { + inputStream2.close(); + } catch (IOException e) { + n nVar = this.m; + int i = e0.a; + throw new HttpDataSource$HttpDataSourceException(e, nVar, 2000, 3); + } + } + } finally { + this.o = inputStream; + t(); + if (this.p) { + this.p = z2; + q(); + } + } + } + + @Override // c.i.a.c.e3.g, c.i.a.c.e3.l + public Map> j() { + HttpURLConnection httpURLConnection = this.n; + return httpURLConnection == null ? Collections.emptyMap() : httpURLConnection.getHeaderFields(); + } + + @Override // c.i.a.c.e3.l + @Nullable + public Uri n() { + HttpURLConnection httpURLConnection = this.n; + if (httpURLConnection == null) { + return null; + } + return Uri.parse(httpURLConnection.getURL().toString()); + } + + @Override // c.i.a.c.e3.h + public int read(byte[] bArr, int i, int i2) throws HttpDataSource$HttpDataSourceException { + if (i2 == 0) { + return 0; + } + try { + long j = this.r; + if (j != -1) { + long j2 = j - this.f769s; + if (j2 == 0) { + return -1; + } + i2 = (int) Math.min((long) i2, j2); + } + InputStream inputStream = this.o; + int i3 = e0.a; + int read = inputStream.read(bArr, i, i2); + if (read != -1) { + this.f769s += (long) read; + p(read); + return read; + } + return -1; + } catch (IOException e) { + n nVar = this.m; + int i4 = e0.a; + throw HttpDataSource$HttpDataSourceException.b(e, nVar, 2); + } + } + + public final void t() { + HttpURLConnection httpURLConnection = this.n; + if (httpURLConnection != null) { + try { + httpURLConnection.disconnect(); + } catch (Exception e) { + q.b("DefaultHttpDataSource", "Unexpected error while disconnecting", e); + } + this.n = null; + } + } + + public final URL u(URL url, @Nullable String str, n nVar) throws HttpDataSource$HttpDataSourceException { + if (str != null) { + try { + URL url2 = new URL(url, str); + String protocol = url2.getProtocol(); + if (!Constants.SCHEME.equals(protocol) && !"http".equals(protocol)) { + String valueOf = String.valueOf(protocol); + throw new HttpDataSource$HttpDataSourceException(valueOf.length() != 0 ? "Unsupported protocol redirect: ".concat(valueOf) : new String("Unsupported protocol redirect: "), nVar, 2001, 1); + } else if (this.e || protocol.equals(url.getProtocol())) { + return url2; + } else { + String protocol2 = url.getProtocol(); + StringBuilder Q = c.d.b.a.a.Q(protocol.length() + c.d.b.a.a.b(protocol2, 41), "Disallowed cross-protocol redirect (", protocol2, " to ", protocol); + Q.append(")"); + throw new HttpDataSource$HttpDataSourceException(Q.toString(), nVar, 2001, 1); + } + } catch (MalformedURLException e) { + throw new HttpDataSource$HttpDataSourceException(e, nVar, 2001, 1); + } + } else { + throw new HttpDataSource$HttpDataSourceException("Null location redirect", nVar, 2001, 1); + } + } + + public final HttpURLConnection v(n nVar) throws IOException { + HttpURLConnection w; + URL url = new URL(nVar.a.toString()); + int i = nVar.f762c; + byte[] bArr = nVar.d; + long j = nVar.f; + long j2 = nVar.g; + boolean c2 = nVar.c(1); + if (!this.e && !this.k) { + return w(url, i, bArr, j, j2, c2, true, nVar.e); + } + int i2 = 0; + URL url2 = url; + int i3 = i; + byte[] bArr2 = bArr; + while (true) { + int i4 = i2 + 1; + if (i2 <= 20) { + w = w(url2, i3, bArr2, j, j2, c2, false, nVar.e); + int responseCode = w.getResponseCode(); + String headerField = w.getHeaderField("Location"); + if ((i3 == 1 || i3 == 3) && (responseCode == 300 || responseCode == 301 || responseCode == 302 || responseCode == 303 || responseCode == 307 || responseCode == 308)) { + w.disconnect(); + url2 = u(url2, headerField, nVar); + i3 = i3; + } else if (i3 != 2 || (responseCode != 300 && responseCode != 301 && responseCode != 302 && responseCode != 303)) { + break; + } else { + w.disconnect(); + if (!(this.k && responseCode == 302)) { + bArr2 = null; + i3 = 1; + } else { + i3 = i3; + } + url2 = u(url2, headerField, nVar); + } + j = j; + i2 = i4; + j2 = j2; + } else { + throw new HttpDataSource$HttpDataSourceException(new NoRouteToHostException(c.d.b.a.a.f(31, "Too many redirects: ", i4)), nVar, 2001, 1); + } + } + return w; + } + + public final HttpURLConnection w(URL url, int i, @Nullable byte[] bArr, long j, long j2, boolean z2, boolean z3, Map map) throws IOException { + String str; + HttpURLConnection httpURLConnection = (HttpURLConnection) url.openConnection(); + httpURLConnection.setConnectTimeout(this.f); + httpURLConnection.setReadTimeout(this.g); + HashMap hashMap = new HashMap(); + u uVar = this.i; + if (uVar != null) { + hashMap.putAll(uVar.a()); + } + hashMap.putAll(this.j.a()); + hashMap.putAll(map); + for (Map.Entry entry : hashMap.entrySet()) { + httpURLConnection.setRequestProperty((String) entry.getKey(), (String) entry.getValue()); + } + Pattern pattern = v.a; + if (j == 0 && j2 == -1) { + str = null; + } else { + StringBuilder sb = new StringBuilder(); + sb.append("bytes="); + sb.append(j); + sb.append("-"); + if (j2 != -1) { + sb.append((j + j2) - 1); + } + str = sb.toString(); + } + if (str != null) { + httpURLConnection.setRequestProperty("Range", str); + } + String str2 = this.h; + if (str2 != null) { + httpURLConnection.setRequestProperty("User-Agent", str2); + } + httpURLConnection.setRequestProperty("Accept-Encoding", z2 ? "gzip" : RegistrationSteps.IDENTITY); + httpURLConnection.setInstanceFollowRedirects(z3); + httpURLConnection.setDoOutput(bArr != null); + httpURLConnection.setRequestMethod(n.b(i)); + if (bArr != null) { + httpURLConnection.setFixedLengthStreamingMode(bArr.length); + httpURLConnection.connect(); + OutputStream outputStream = httpURLConnection.getOutputStream(); + outputStream.write(bArr); + outputStream.close(); + } else { + httpURLConnection.connect(); + } + return httpURLConnection; + } + + public final void y(long j, n nVar) throws IOException { + if (j != 0) { + byte[] bArr = new byte[4096]; + while (j > 0) { + int min = (int) Math.min(j, (long) 4096); + InputStream inputStream = this.o; + int i = e0.a; + int read = inputStream.read(bArr, 0, min); + if (Thread.currentThread().isInterrupted()) { + throw new HttpDataSource$HttpDataSourceException(new InterruptedIOException(), nVar, 2000, 1); + } else if (read != -1) { + j -= (long) read; + p(read); + } else { + throw new HttpDataSource$HttpDataSourceException(nVar, 2008, 1); + } + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/e3/s.java b/app/src/main/java/c/i/a/c/e3/s.java new file mode 100644 index 0000000000..0b18ff9c33 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/s.java @@ -0,0 +1,7 @@ +package c.i.a.c.e3; +/* compiled from: DefaultLoadErrorHandlingPolicy */ +public class s implements w { + public int a(int i) { + return i == 7 ? 6 : 3; + } +} diff --git a/app/src/main/java/c/i/a/c/e3/t.java b/app/src/main/java/c/i/a/c/e3/t.java new file mode 100644 index 0000000000..27b7dc1a26 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/t.java @@ -0,0 +1,6 @@ +package c.i.a.c.e3; + +import c.i.a.c.e3.l; +/* compiled from: HttpDataSource */ +public interface t extends l.a { +} diff --git a/app/src/main/java/c/i/a/c/e3/u.java b/app/src/main/java/c/i/a/c/e3/u.java new file mode 100644 index 0000000000..ca78e44d15 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/u.java @@ -0,0 +1,19 @@ +package c.i.a.c.e3; + +import androidx.annotation.Nullable; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; +/* compiled from: HttpDataSource */ +public final class u { + public final Map a = new HashMap(); + @Nullable + public Map b; + + public synchronized Map a() { + if (this.b == null) { + this.b = Collections.unmodifiableMap(new HashMap(this.a)); + } + return this.b; + } +} diff --git a/app/src/main/java/c/i/a/c/e3/v.java b/app/src/main/java/c/i/a/c/e3/v.java new file mode 100644 index 0000000000..0980b96d53 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/v.java @@ -0,0 +1,8 @@ +package c.i.a.c.e3; + +import java.util.regex.Pattern; +/* compiled from: HttpUtil */ +public final class v { + public static final Pattern a = Pattern.compile("bytes (\\d+)-(\\d+)/(?:\\d+|\\*)"); + public static final Pattern b = Pattern.compile("bytes (?:(?:\\d+-\\d+)|\\*)/(\\d+)"); +} diff --git a/app/src/main/java/c/i/a/c/e3/w.java b/app/src/main/java/c/i/a/c/e3/w.java new file mode 100644 index 0000000000..9066e06477 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/w.java @@ -0,0 +1,4 @@ +package c.i.a.c.e3; +/* compiled from: LoadErrorHandlingPolicy */ +public interface w { +} diff --git a/app/src/main/java/c/i/a/c/e3/x.java b/app/src/main/java/c/i/a/c/e3/x.java new file mode 100644 index 0000000000..adf1bc7aef --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/x.java @@ -0,0 +1,105 @@ +package c.i.a.c.e3; + +import java.util.ArrayList; +import java.util.Collections; +/* compiled from: SlidingPercentile */ +public class x { + public static final /* synthetic */ int a = 0; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final ArrayList f771c = new ArrayList<>(); + public final b[] d = new b[5]; + public int e = -1; + public int f; + public int g; + public int h; + + /* compiled from: SlidingPercentile */ + public static class b { + public int a; + public int b; + + /* renamed from: c reason: collision with root package name */ + public float f772c; + + public b() { + } + + public b(a aVar) { + } + } + + public x(int i) { + this.b = i; + } + + public void a(int i, float f) { + b bVar; + if (this.e != 1) { + Collections.sort(this.f771c, d.i); + this.e = 1; + } + int i2 = this.h; + if (i2 > 0) { + b[] bVarArr = this.d; + int i3 = i2 - 1; + this.h = i3; + bVar = bVarArr[i3]; + } else { + bVar = new b(null); + } + int i4 = this.f; + this.f = i4 + 1; + bVar.a = i4; + bVar.b = i; + bVar.f772c = f; + this.f771c.add(bVar); + this.g += i; + while (true) { + int i5 = this.g; + int i6 = this.b; + if (i5 > i6) { + int i7 = i5 - i6; + b bVar2 = this.f771c.get(0); + int i8 = bVar2.b; + if (i8 <= i7) { + this.g -= i8; + this.f771c.remove(0); + int i9 = this.h; + if (i9 < 5) { + b[] bVarArr2 = this.d; + this.h = i9 + 1; + bVarArr2[i9] = bVar2; + } + } else { + bVar2.b = i8 - i7; + this.g -= i7; + } + } else { + return; + } + } + } + + public float b(float f) { + if (this.e != 0) { + Collections.sort(this.f771c, c.i); + this.e = 0; + } + float f2 = f * ((float) this.g); + int i = 0; + for (int i2 = 0; i2 < this.f771c.size(); i2++) { + b bVar = this.f771c.get(i2); + i += bVar.b; + if (((float) i) >= f2) { + return bVar.f772c; + } + } + if (this.f771c.isEmpty()) { + return Float.NaN; + } + ArrayList arrayList = this.f771c; + return arrayList.get(arrayList.size() - 1).f772c; + } +} diff --git a/app/src/main/java/c/i/a/c/e3/y.java b/app/src/main/java/c/i/a/c/e3/y.java new file mode 100644 index 0000000000..f74060ca26 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/y.java @@ -0,0 +1,66 @@ +package c.i.a.c.e3; + +import android.net.Uri; +import androidx.annotation.Nullable; +import java.io.IOException; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import java.util.Objects; +/* compiled from: StatsDataSource */ +public final class y implements l { + public final l a; + public long b; + + /* renamed from: c reason: collision with root package name */ + public Uri f773c = Uri.EMPTY; + public Map> d = Collections.emptyMap(); + + public y(l lVar) { + Objects.requireNonNull(lVar); + this.a = lVar; + } + + @Override // c.i.a.c.e3.l + public long a(n nVar) throws IOException { + this.f773c = nVar.a; + this.d = Collections.emptyMap(); + long a = this.a.a(nVar); + Uri n = n(); + Objects.requireNonNull(n); + this.f773c = n; + this.d = j(); + return a; + } + + @Override // c.i.a.c.e3.l + public void close() throws IOException { + this.a.close(); + } + + @Override // c.i.a.c.e3.l + public void d(a0 a0Var) { + Objects.requireNonNull(a0Var); + this.a.d(a0Var); + } + + @Override // c.i.a.c.e3.l + public Map> j() { + return this.a.j(); + } + + @Override // c.i.a.c.e3.l + @Nullable + public Uri n() { + return this.a.n(); + } + + @Override // c.i.a.c.e3.h + public int read(byte[] bArr, int i, int i2) throws IOException { + int read = this.a.read(bArr, i, i2); + if (read != -1) { + this.b += (long) read; + } + return read; + } +} diff --git a/app/src/main/java/c/i/a/c/e3/z.java b/app/src/main/java/c/i/a/c/e3/z.java new file mode 100644 index 0000000000..375f493c78 --- /dev/null +++ b/app/src/main/java/c/i/a/c/e3/z.java @@ -0,0 +1,85 @@ +package c.i.a.c.e3; + +import android.net.Uri; +import androidx.annotation.Nullable; +import java.io.IOException; +import java.util.List; +import java.util.Map; +import java.util.Objects; +/* compiled from: TeeDataSource */ +public final class z implements l { + public final l a; + public final j b; + + /* renamed from: c reason: collision with root package name */ + public boolean f774c; + public long d; + + public z(l lVar, j jVar) { + this.a = lVar; + this.b = jVar; + } + + @Override // c.i.a.c.e3.l + public long a(n nVar) throws IOException { + n nVar2 = nVar; + long a = this.a.a(nVar2); + this.d = a; + if (a == 0) { + return 0; + } + long j = nVar2.g; + if (j == -1 && a != -1) { + nVar2 = j == a ? nVar2 : new n(nVar2.a, nVar2.b, nVar2.f762c, nVar2.d, nVar2.e, nVar2.f + 0, a, nVar2.h, nVar2.i, nVar2.j); + } + this.f774c = true; + this.b.a(nVar2); + return this.d; + } + + @Override // c.i.a.c.e3.l + public void close() throws IOException { + boolean z2 = false; + try { + this.a.close(); + } finally { + if (this.f774c) { + this.f774c = z2; + this.b.close(); + } + } + } + + @Override // c.i.a.c.e3.l + public void d(a0 a0Var) { + Objects.requireNonNull(a0Var); + this.a.d(a0Var); + } + + @Override // c.i.a.c.e3.l + public Map> j() { + return this.a.j(); + } + + @Override // c.i.a.c.e3.l + @Nullable + public Uri n() { + return this.a.n(); + } + + @Override // c.i.a.c.e3.h + public int read(byte[] bArr, int i, int i2) throws IOException { + if (this.d == 0) { + return -1; + } + int read = this.a.read(bArr, i, i2); + if (read > 0) { + this.b.write(bArr, i, read); + long j = this.d; + if (j != -1) { + this.d = j - ((long) read); + } + } + return read; + } +} diff --git a/app/src/main/java/c/i/a/c/f.java b/app/src/main/java/c/i/a/c/f.java index fb3c35c63a..73b378ef9b 100644 --- a/app/src/main/java/c/i/a/c/f.java +++ b/app/src/main/java/c/i/a/c/f.java @@ -1,17 +1,17 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import android.content.Context; +import c.i.b.a.l; /* compiled from: lambda */ -public final /* synthetic */ class f implements o.a { - public final /* synthetic */ c1 a; +public final /* synthetic */ class f implements l { + public final /* synthetic */ Context i; - public /* synthetic */ f(c1 c1Var) { - this.a = c1Var; + public /* synthetic */ f(Context context) { + this.i = context; } - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((g1.a) obj).n(this.a.g); + @Override // c.i.b.a.l + public final Object get() { + return new b1(this.i); } } diff --git a/app/src/main/java/c/i/a/c/f0.java b/app/src/main/java/c/i/a/c/f0.java index 61149d3538..1bcc9bf5b3 100644 --- a/app/src/main/java/c/i/a/c/f0.java +++ b/app/src/main/java/c/i/a/c/f0.java @@ -1,56 +1,17 @@ package c.i.a.c; -import c.i.a.c.r1; -/* compiled from: BasePlayer */ -public abstract class f0 implements g1 { - public final r1.c a = new r1.c(); +import c.i.a.c.f3.p; +import c.i.a.c.y1; +/* compiled from: lambda */ +public final /* synthetic */ class f0 implements p.a { + public final /* synthetic */ w1 a; - @Override // c.i.a.c.g1 - public final boolean hasNext() { - return y() != -1; + public /* synthetic */ f0(w1 w1Var) { + this.a = w1Var; } - @Override // c.i.a.c.g1 - public final boolean hasPrevious() { - return t() != -1; - } - - @Override // c.i.a.c.g1 - public final boolean k() { - r1 D = D(); - return !D.q() && D.n(o(), this.a).j; - } - - @Override // c.i.a.c.g1 - public final int t() { - r1 D = D(); - if (D.q()) { - return -1; - } - int o = o(); - int B = B(); - if (B == 1) { - B = 0; - } - return D.l(o, B, F()); - } - - @Override // c.i.a.c.g1 - public final boolean v() { - return u() == 3 && g() && z() == 0; - } - - @Override // c.i.a.c.g1 - public final int y() { - r1 D = D(); - if (D.q()) { - return -1; - } - int o = o(); - int B = B(); - if (B == 1) { - B = 0; - } - return D.e(o, B, F()); + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((y1.c) obj).b0(this.a.o); } } diff --git a/app/src/main/java/c/i/a/c/f1.java b/app/src/main/java/c/i/a/c/f1.java index 7ee7432b08..40253da159 100644 --- a/app/src/main/java/c/i/a/c/f1.java +++ b/app/src/main/java/c/i/a/c/f1.java @@ -1,81 +1,1071 @@ package c.i.a.c; +import android.annotation.SuppressLint; +import android.net.Uri; +import android.os.Bundle; +import android.os.Handler; +import android.os.Looper; +import android.util.Log; +import android.util.Pair; +import android.util.SparseBooleanArray; +import android.view.SurfaceView; +import android.view.TextureView; import androidx.annotation.Nullable; -import c.i.a.c.f2.k; -import c.i.a.c.g1; -import c.i.a.c.r1; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.source.TrackGroupArray; +import c.c.a.a0.d; +import c.i.a.c.a3.a0; +import c.i.a.c.a3.c0; +import c.i.a.c.a3.k0; +import c.i.a.c.a3.o0; +import c.i.a.c.b2; +import c.i.a.c.c3.h; +import c.i.a.c.c3.j; +import c.i.a.c.c3.q; +import c.i.a.c.c3.r; +import c.i.a.c.e1; +import c.i.a.c.e3.f; +import c.i.a.c.f3.b0; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.g; +import c.i.a.c.f3.n; +import c.i.a.c.f3.o; +import c.i.a.c.f3.p; +import c.i.a.c.g3.y; +import c.i.a.c.h1; +import c.i.a.c.o2; +import c.i.a.c.p1; +import c.i.a.c.s2.g1; +import c.i.a.c.y1; +import c.i.b.b.h0; +import com.google.android.exoplayer2.IllegalSeekPositionException; +import com.google.android.exoplayer2.PlaybackException; +import com.google.android.exoplayer2.metadata.Metadata; +import java.util.ArrayList; +import java.util.HashSet; +import java.util.Iterator; import java.util.List; -/* compiled from: Player */ -public final /* synthetic */ class f1 { - public static void a(g1.a aVar, g1 g1Var, g1.b bVar) { +import java.util.Objects; +import java.util.Random; +import java.util.concurrent.CopyOnWriteArraySet; +/* compiled from: ExoPlayerImpl */ +public final class f1 extends u0 { + public static final /* synthetic */ int b = 0; + public int A; + public k0 B; + public y1.b C; + public p1 D; + public p1 E; + public w1 F; + public int G; + public long H; + + /* renamed from: c reason: collision with root package name */ + public final r f775c; + public final y1.b d; + public final f2[] e; + public final q f; + public final o g; + public final h1.e h; + public final h1 i; + public final p j; + public final CopyOnWriteArraySet k; + public final o2.b l; + public final List m; + public final boolean n; + public final c0 o; + @Nullable + public final g1 p; + public final Looper q; + public final f r; + + /* renamed from: s reason: collision with root package name */ + public final long f776s; + public final long t; + public final g u; + public int v; + public boolean w; + + /* renamed from: x reason: collision with root package name */ + public int f777x; + + /* renamed from: y reason: collision with root package name */ + public int f778y; + + /* renamed from: z reason: collision with root package name */ + public boolean f779z; + + /* compiled from: ExoPlayerImpl */ + public static final class a implements t1 { + public final Object a; + public o2 b; + + public a(Object obj, o2 o2Var) { + this.a = obj; + this.b = o2Var; + } + + @Override // c.i.a.c.t1 + public o2 a() { + return this.b; + } + + @Override // c.i.a.c.t1 + public Object getUid() { + return this.a; + } } - public static void b(g1.a aVar, boolean z2) { + static { + i1.a("goog.exo.exoplayer"); } - public static void c(g1.a aVar, boolean z2) { + @SuppressLint({"HandlerLeak"}) + public f1(f2[] f2VarArr, q qVar, c0 c0Var, n1 n1Var, f fVar, @Nullable g1 g1Var, boolean z2, j2 j2Var, long j, long j2, m1 m1Var, long j3, boolean z3, g gVar, Looper looper, @Nullable y1 y1Var, y1.b bVar) { + String hexString = Integer.toHexString(System.identityHashCode(this)); + String str = e0.e; + StringBuilder Q = c.d.b.a.a.Q(c.d.b.a.a.b(str, c.d.b.a.a.b(hexString, 30)), "Init ", hexString, " [", "ExoPlayerLib/2.16.0"); + Q.append("] ["); + Q.append(str); + Q.append("]"); + Log.i("ExoPlayerImpl", Q.toString()); + boolean z4 = false; + d.D(f2VarArr.length > 0); + this.e = f2VarArr; + Objects.requireNonNull(qVar); + this.f = qVar; + this.o = c0Var; + this.r = fVar; + this.p = g1Var; + this.n = z2; + this.f776s = j; + this.t = j2; + this.q = looper; + this.u = gVar; + this.v = 0; + this.j = new p<>(new CopyOnWriteArraySet(), looper, gVar, new u(y1Var)); + this.k = new CopyOnWriteArraySet<>(); + this.m = new ArrayList(); + this.B = new k0.a(0, new Random()); + this.f775c = new r(new h2[f2VarArr.length], new j[f2VarArr.length], p2.i, null); + this.l = new o2.b(); + SparseBooleanArray sparseBooleanArray = new SparseBooleanArray(); + int[] iArr = {1, 2, 3, 13, 14, 15, 16, 17, 18, 19, 20, 30}; + for (int i = 0; i < 12; i++) { + int i2 = iArr[i]; + d.D(!false); + sparseBooleanArray.append(i2, true); + } + if (qVar instanceof h) { + d.D(!false); + sparseBooleanArray.append(29, true); + } + n nVar = bVar.j; + for (int i3 = 0; i3 < nVar.c(); i3++) { + int b2 = nVar.b(i3); + d.D(true); + sparseBooleanArray.append(b2, true); + } + d.D(true); + n nVar2 = new n(sparseBooleanArray, null); + this.d = new y1.b(nVar2, null); + SparseBooleanArray sparseBooleanArray2 = new SparseBooleanArray(); + for (int i4 = 0; i4 < nVar2.c(); i4++) { + int b3 = nVar2.b(i4); + d.D(true); + sparseBooleanArray2.append(b3, true); + } + d.D(true); + sparseBooleanArray2.append(4, true); + d.D(true); + sparseBooleanArray2.append(10, true); + d.D(true); + this.C = new y1.b(new n(sparseBooleanArray2, null), null); + p1 p1Var = p1.i; + this.D = p1Var; + this.E = p1Var; + this.G = -1; + this.g = gVar.b(looper, null); + w wVar = new w(this); + this.h = wVar; + this.F = w1.h(this.f775c); + if (g1Var != null) { + d.D((g1Var.o == null || g1Var.l.b.isEmpty()) ? true : z4); + g1Var.o = y1Var; + g1Var.p = g1Var.i.b(looper, null); + p pVar = g1Var.n; + g1Var.n = new p<>(pVar.d, looper, pVar.a, new c.i.a.c.s2.h(g1Var, y1Var)); + d0(g1Var); + fVar.f(new Handler(looper), g1Var); + } + this.i = new h1(f2VarArr, qVar, this.f775c, n1Var, fVar, this.v, this.w, g1Var, j2Var, m1Var, j3, z3, looper, gVar, wVar); } - public static void d(g1.a aVar, boolean z2) { - aVar.e(z2); + public static long j0(w1 w1Var) { + o2.c cVar = new o2.c(); + o2.b bVar = new o2.b(); + w1Var.b.h(w1Var.f911c.a, bVar); + long j = w1Var.d; + return j == -9223372036854775807L ? w1Var.b.n(bVar.k, cVar).f845y : bVar.m + j; } - public static void e(g1.a aVar, boolean z2) { + public static boolean k0(w1 w1Var) { + return w1Var.f == 3 && w1Var.m && w1Var.n == 0; } - @Deprecated - public static void f(g1.a aVar, boolean z2) { + @Override // c.i.a.c.y1 + public List A() { + c.i.b.b.a aVar = c.i.b.b.p.j; + return h0.k; } - public static void g(@Nullable g1.a aVar, v0 v0Var, int i) { + @Override // c.i.a.c.y1 + public int B() { + if (f()) { + return this.F.f911c.b; + } + return -1; } - public static void h(g1.a aVar, boolean z2, int i) { + @Override // c.i.a.c.y1 + public int C() { + int h02 = h0(); + if (h02 == -1) { + return 0; + } + return h02; } - public static void i(g1.a aVar, d1 d1Var) { + @Override // c.i.a.c.y1 + public void E(int i) { + if (this.v != i) { + this.v = i; + ((b0.b) this.i.p.a(11, i, 0)).b(); + this.j.b(8, new k(i)); + r0(); + this.j.a(); + } } - public static void j(g1.a aVar, int i) { + @Override // c.i.a.c.y1 + public void F(@Nullable SurfaceView surfaceView) { } - public static void k(g1.a aVar, int i) { + @Override // c.i.a.c.y1 + public int G() { + return this.F.n; } - public static void l(g1.a aVar, ExoPlaybackException exoPlaybackException) { + @Override // c.i.a.c.y1 + public p2 H() { + return this.F.j.d; } - @Deprecated - public static void m(g1.a aVar, boolean z2, int i) { + @Override // c.i.a.c.y1 + public int I() { + return this.v; } - public static void n(g1.a aVar, int i) { + @Override // c.i.a.c.y1 + public long J() { + if (f()) { + w1 w1Var = this.F; + a0.a aVar = w1Var.f911c; + w1Var.b.h(aVar.a, this.l); + return e0.M(this.l.a(aVar.b, aVar.f672c)); + } + o2 K = K(); + if (K.q()) { + return -9223372036854775807L; + } + return K.n(C(), this.a).b(); } - public static void o(g1.a aVar, int i) { + @Override // c.i.a.c.y1 + public o2 K() { + return this.F.b; } - @Deprecated - public static void p(g1.a aVar) { + @Override // c.i.a.c.y1 + public Looper L() { + return this.q; } - public static void q(g1.a aVar, boolean z2) { + @Override // c.i.a.c.y1 + public boolean M() { + return this.w; } - /* JADX WARN: Incorrect args count in method signature: (Ljava/util/List;)V */ - public static void r(g1.a aVar, List list) { + @Override // c.i.a.c.y1 + public long N() { + if (this.F.b.q()) { + return this.H; + } + w1 w1Var = this.F; + if (w1Var.l.d != w1Var.f911c.d) { + return w1Var.b.n(C(), this.a).b(); + } + long j = w1Var.r; + if (this.F.l.a()) { + w1 w1Var2 = this.F; + o2.b h = w1Var2.b.h(w1Var2.l.a, this.l); + long c2 = h.c(this.F.l.b); + j = c2 == Long.MIN_VALUE ? h.l : c2; + } + w1 w1Var3 = this.F; + return e0.M(m0(w1Var3.b, w1Var3.l, j)); } - public static void s(g1.a aVar, r1 r1Var, int i) { - aVar.C(r1Var, r1Var.p() == 1 ? r1Var.n(0, new r1.c()).f : null, i); + @Override // c.i.a.c.y1 + public void Q(@Nullable TextureView textureView) { } - @Deprecated - public static void t(g1.a aVar, @Nullable r1 r1Var, Object obj, int i) { + @Override // c.i.a.c.y1 + public p1 S() { + return this.D; } - public static void u(g1.a aVar, TrackGroupArray trackGroupArray, k kVar) { + @Override // c.i.a.c.y1 + public long T() { + return e0.M(g0(this.F)); + } + + @Override // c.i.a.c.y1 + public long U() { + return this.f776s; + } + + @Override // c.i.a.c.y1 + public void a() { + w1 w1Var = this.F; + if (w1Var.f == 1) { + w1 e = w1Var.e(null); + w1 f = e.f(e.b.q() ? 4 : 2); + this.f777x++; + ((b0.b) this.i.p.c(0)).b(); + s0(f, 1, 1, false, false, 5, -9223372036854775807L, -1); + } + } + + @Override // c.i.a.c.y1 + public x1 c() { + return this.F.o; + } + + public void d0(y1.c cVar) { + p pVar = this.j; + if (!pVar.g) { + Objects.requireNonNull(cVar); + pVar.d.add(new p.c<>(cVar)); + } + } + + public final p1 e0() { + o2 K = K(); + o1 o1Var = K.q() ? null : K.n(C(), this.a).o; + if (o1Var == null) { + return this.E; + } + p1.b a2 = this.E.a(); + p1 p1Var = o1Var.m; + if (p1Var != null) { + CharSequence charSequence = p1Var.k; + if (charSequence != null) { + a2.a = charSequence; + } + CharSequence charSequence2 = p1Var.l; + if (charSequence2 != null) { + a2.b = charSequence2; + } + CharSequence charSequence3 = p1Var.m; + if (charSequence3 != null) { + a2.f851c = charSequence3; + } + CharSequence charSequence4 = p1Var.n; + if (charSequence4 != null) { + a2.d = charSequence4; + } + CharSequence charSequence5 = p1Var.o; + if (charSequence5 != null) { + a2.e = charSequence5; + } + CharSequence charSequence6 = p1Var.p; + if (charSequence6 != null) { + a2.f = charSequence6; + } + CharSequence charSequence7 = p1Var.q; + if (charSequence7 != null) { + a2.g = charSequence7; + } + Uri uri = p1Var.r; + if (uri != null) { + a2.h = uri; + } + d2 d2Var = p1Var.f847s; + if (d2Var != null) { + a2.i = d2Var; + } + d2 d2Var2 = p1Var.t; + if (d2Var2 != null) { + a2.j = d2Var2; + } + byte[] bArr = p1Var.u; + if (bArr != null) { + Integer num = p1Var.v; + a2.k = (byte[]) bArr.clone(); + a2.l = num; + } + Uri uri2 = p1Var.w; + if (uri2 != null) { + a2.m = uri2; + } + Integer num2 = p1Var.f848x; + if (num2 != null) { + a2.n = num2; + } + Integer num3 = p1Var.f849y; + if (num3 != null) { + a2.o = num3; + } + Integer num4 = p1Var.f850z; + if (num4 != null) { + a2.p = num4; + } + Boolean bool = p1Var.A; + if (bool != null) { + a2.q = bool; + } + Integer num5 = p1Var.B; + if (num5 != null) { + a2.r = num5; + } + Integer num6 = p1Var.C; + if (num6 != null) { + a2.r = num6; + } + Integer num7 = p1Var.D; + if (num7 != null) { + a2.f852s = num7; + } + Integer num8 = p1Var.E; + if (num8 != null) { + a2.t = num8; + } + Integer num9 = p1Var.F; + if (num9 != null) { + a2.u = num9; + } + Integer num10 = p1Var.G; + if (num10 != null) { + a2.v = num10; + } + Integer num11 = p1Var.H; + if (num11 != null) { + a2.w = num11; + } + CharSequence charSequence8 = p1Var.I; + if (charSequence8 != null) { + a2.f853x = charSequence8; + } + CharSequence charSequence9 = p1Var.J; + if (charSequence9 != null) { + a2.f854y = charSequence9; + } + CharSequence charSequence10 = p1Var.K; + if (charSequence10 != null) { + a2.f855z = charSequence10; + } + Integer num12 = p1Var.L; + if (num12 != null) { + a2.A = num12; + } + Integer num13 = p1Var.M; + if (num13 != null) { + a2.B = num13; + } + CharSequence charSequence11 = p1Var.N; + if (charSequence11 != null) { + a2.C = charSequence11; + } + CharSequence charSequence12 = p1Var.O; + if (charSequence12 != null) { + a2.D = charSequence12; + } + Bundle bundle = p1Var.P; + if (bundle != null) { + a2.E = bundle; + } + } + return a2.a(); + } + + @Override // c.i.a.c.y1 + public boolean f() { + return this.F.f911c.a(); + } + + public b2 f0(b2.b bVar) { + return new b2(this.i, bVar, this.F.b, C(), this.u, this.i.r); + } + + @Override // c.i.a.c.y1 + public long g() { + return e0.M(this.F.f912s); + } + + public final long g0(w1 w1Var) { + return w1Var.b.q() ? e0.B(this.H) : w1Var.f911c.a() ? w1Var.t : m0(w1Var.b, w1Var.f911c, w1Var.t); + } + + @Override // c.i.a.c.y1 + public void h(int i, long j) { + o2 o2Var = this.F.b; + if (i < 0 || (!o2Var.q() && i >= o2Var.p())) { + throw new IllegalSeekPositionException(o2Var, i, j); + } + int i2 = 1; + this.f777x++; + if (f()) { + Log.w("ExoPlayerImpl", "seekTo ignored because an ad is playing"); + h1.d dVar = new h1.d(this.F); + dVar.a(1); + f1 f1Var = ((w) this.h).a; + f1Var.g.b(new c0(f1Var, dVar)); + return; + } + if (this.F.f != 1) { + i2 = 2; + } + int C = C(); + w1 l0 = l0(this.F.f(i2), o2Var, i0(o2Var, i, j)); + ((b0.b) this.i.p.i(3, new h1.g(o2Var, i, e0.B(j)))).b(); + s0(l0, 0, 1, true, true, 1, g0(l0), C); + } + + public final int h0() { + if (this.F.b.q()) { + return this.G; + } + w1 w1Var = this.F; + return w1Var.b.h(w1Var.f911c.a, this.l).k; + } + + @Override // c.i.a.c.y1 + public y1.b i() { + return this.C; + } + + @Nullable + public final Pair i0(o2 o2Var, int i, long j) { + if (o2Var.q()) { + this.G = i; + if (j == -9223372036854775807L) { + j = 0; + } + this.H = j; + return null; + } + if (i == -1 || i >= o2Var.p()) { + i = o2Var.a(this.w); + j = o2Var.n(i, this.a).a(); + } + return o2Var.j(this.a, this.l, i, e0.B(j)); + } + + @Override // c.i.a.c.y1 + public boolean j() { + return this.F.m; + } + + @Override // c.i.a.c.y1 + public void k(boolean z2) { + if (this.w != z2) { + this.w = z2; + ((b0.b) this.i.p.a(12, z2 ? 1 : 0, 0)).b(); + this.j.b(9, new n(z2)); + r0(); + this.j.a(); + } + } + + @Override // c.i.a.c.y1 + public long l() { + return 3000; + } + + public final w1 l0(w1 w1Var, o2 o2Var, @Nullable Pair pair) { + r rVar; + a0.a aVar; + List list; + int i; + d.j(o2Var.q() || pair != null); + o2 o2Var2 = w1Var.b; + w1 g = w1Var.g(o2Var); + if (o2Var.q()) { + a0.a aVar2 = w1.a; + a0.a aVar3 = w1.a; + long B = e0.B(this.H); + o0 o0Var = o0.i; + r rVar2 = this.f775c; + c.i.b.b.a aVar4 = c.i.b.b.p.j; + w1 a2 = g.b(aVar3, B, B, B, 0, o0Var, rVar2, h0.k).a(aVar3); + a2.r = a2.t; + return a2; + } + Object obj = g.f911c.a; + int i2 = e0.a; + boolean z2 = !obj.equals(pair.first); + a0.a aVar5 = z2 ? new a0.a(pair.first) : g.f911c; + long longValue = ((Long) pair.second).longValue(); + long B2 = e0.B(w()); + if (!o2Var2.q()) { + B2 -= o2Var2.h(obj, this.l).m; + } + if (z2 || longValue < B2) { + d.D(!aVar5.a()); + o0 o0Var2 = z2 ? o0.i : g.i; + if (z2) { + aVar = aVar5; + rVar = this.f775c; + } else { + aVar = aVar5; + rVar = g.j; + } + if (z2) { + c.i.b.b.a aVar6 = c.i.b.b.p.j; + list = h0.k; + } else { + list = g.k; + } + w1 a3 = g.b(aVar, longValue, longValue, longValue, 0, o0Var2, rVar, list).a(aVar); + a3.r = longValue; + return a3; + } + if (i == 0) { + int b2 = o2Var.b(g.l.a); + if (b2 == -1 || o2Var.f(b2, this.l).k != o2Var.h(aVar5.a, this.l).k) { + o2Var.h(aVar5.a, this.l); + long a4 = aVar5.a() ? this.l.a(aVar5.b, aVar5.f672c) : this.l.l; + g = g.b(aVar5, g.t, g.t, g.e, a4 - g.t, g.i, g.j, g.k).a(aVar5); + g.r = a4; + } + } else { + d.D(!aVar5.a()); + long max = Math.max(0L, g.f912s - (longValue - B2)); + long j = g.r; + if (g.l.equals(g.f911c)) { + j = longValue + max; + } + g = g.b(aVar5, longValue, longValue, longValue, max, g.i, g.j, g.k); + g.r = j; + } + return g; + } + + @Override // c.i.a.c.y1 + public int m() { + if (this.F.b.q()) { + return 0; + } + w1 w1Var = this.F; + return w1Var.b.b(w1Var.f911c.a); + } + + public final long m0(o2 o2Var, a0.a aVar, long j) { + o2Var.h(aVar.a, this.l); + return j + this.l.m; + } + + @Override // c.i.a.c.y1 + public void n(@Nullable TextureView textureView) { + } + + public void n0() { + String str; + boolean z2; + String hexString = Integer.toHexString(System.identityHashCode(this)); + String str2 = e0.e; + HashSet hashSet = i1.a; + synchronized (i1.class) { + str = i1.b; + } + StringBuilder Q = c.d.b.a.a.Q(c.d.b.a.a.b(str, c.d.b.a.a.b(str2, c.d.b.a.a.b(hexString, 36))), "Release ", hexString, " [", "ExoPlayerLib/2.16.0"); + c.d.b.a.a.o0(Q, "] [", str2, "] [", str); + Q.append("]"); + Log.i("ExoPlayerImpl", Q.toString()); + h1 h1Var = this.i; + synchronized (h1Var) { + if (!h1Var.H) { + if (h1Var.q.isAlive()) { + h1Var.p.f(7); + long j = h1Var.D; + synchronized (h1Var) { + long d = h1Var.f813y.d() + j; + boolean z3 = false; + while (!Boolean.valueOf(h1Var.H).booleanValue() && j > 0) { + try { + h1Var.f813y.c(); + h1Var.wait(j); + } catch (InterruptedException unused) { + z3 = true; + } + j = d - h1Var.f813y.d(); + } + if (z3) { + Thread.currentThread().interrupt(); + } + z2 = h1Var.H; + } + } + } + z2 = true; + } + if (!z2) { + p pVar = this.j; + pVar.b(10, b0.a); + pVar.a(); + } + this.j.c(); + this.g.j(null); + g1 g1Var = this.p; + if (g1Var != null) { + this.r.d(g1Var); + } + w1 f = this.F.f(1); + this.F = f; + w1 a2 = f.a(f.f911c); + this.F = a2; + a2.r = a2.t; + this.F.f912s = 0; + } + + @Override // c.i.a.c.y1 + public y o() { + return y.i; + } + + public void o0(y1.c cVar) { + p pVar = this.j; + Iterator> it = pVar.d.iterator(); + while (it.hasNext()) { + p.c next = it.next(); + if (next.a.equals(cVar)) { + p.b bVar = pVar.f784c; + next.d = true; + if (next.f785c) { + bVar.a(next.a, next.b.b()); + } + pVar.d.remove(next); + } + } + } + + @Override // c.i.a.c.y1 + public void p(y1.e eVar) { + o0(eVar); + } + + public final void p0(int i, int i2) { + for (int i3 = i2 - 1; i3 >= i; i3--) { + this.m.remove(i3); + } + this.B = this.B.a(i, i2); + } + + @Override // c.i.a.c.y1 + public int q() { + if (f()) { + return this.F.f911c.f672c; + } + return -1; + } + + public void q0(boolean z2, int i, int i2) { + w1 w1Var = this.F; + if (w1Var.m != z2 || w1Var.n != i) { + this.f777x++; + w1 d = w1Var.d(z2, i); + ((b0.b) this.i.p.a(1, z2 ? 1 : 0, i)).b(); + s0(d, 0, i2, false, false, 5, -9223372036854775807L, -1); + } + } + + @Override // c.i.a.c.y1 + public void r(@Nullable SurfaceView surfaceView) { + } + + public final void r0() { + y1.b bVar = this.C; + y1.b bVar2 = this.d; + y1.b.a aVar = new y1.b.a(); + aVar.a(bVar2); + boolean z2 = true; + aVar.b(4, !f()); + aVar.b(5, a0() && !f()); + aVar.b(6, X() && !f()); + aVar.b(7, !K().q() && (X() || !Z() || a0()) && !f()); + aVar.b(8, W() && !f()); + aVar.b(9, !K().q() && (W() || (Z() && Y())) && !f()); + aVar.b(10, !f()); + aVar.b(11, a0() && !f()); + if (!a0() || f()) { + z2 = false; + } + aVar.b(12, z2); + y1.b c2 = aVar.c(); + this.C = c2; + if (!c2.equals(bVar)) { + this.j.b(13, new x(this)); + } + } + + /* JADX WARNING: Removed duplicated region for block: B:71:0x020d */ + /* JADX WARNING: Removed duplicated region for block: B:72:0x023b */ + /* JADX WARNING: Removed duplicated region for block: B:75:0x0253 */ + /* JADX WARNING: Removed duplicated region for block: B:76:0x0260 */ + public final void s0(w1 w1Var, int i, int i2, boolean z2, boolean z3, int i3, long j, int i4) { + Pair pair; + o1 o1Var; + int i5; + Object obj; + o1 o1Var2; + int i6; + Object obj2; + long j2; + long j3; + int i7; + Object obj3; + o1 o1Var3; + Object obj4; + int i8; + w1 w1Var2 = this.F; + this.F = w1Var; + boolean z4 = !w1Var2.b.equals(w1Var.b); + o2 o2Var = w1Var2.b; + o2 o2Var2 = w1Var.b; + if (o2Var2.q() && o2Var.q()) { + pair = new Pair(Boolean.FALSE, -1); + } else if (o2Var2.q() != o2Var.q()) { + pair = new Pair(Boolean.TRUE, 3); + } else if (!o2Var.n(o2Var.h(w1Var2.f911c.a, this.l).k, this.a).m.equals(o2Var2.n(o2Var2.h(w1Var.f911c.a, this.l).k, this.a).m)) { + if (z3 && i3 == 0) { + i8 = 1; + } else if (z3 && i3 == 1) { + i8 = 2; + } else if (z4) { + i8 = 3; + } else { + throw new IllegalStateException(); + } + pair = new Pair(Boolean.TRUE, Integer.valueOf(i8)); + } else { + pair = (!z3 || i3 != 0 || w1Var2.f911c.d >= w1Var.f911c.d) ? new Pair(Boolean.FALSE, -1) : new Pair(Boolean.TRUE, 0); + } + boolean booleanValue = ((Boolean) pair.first).booleanValue(); + int intValue = ((Integer) pair.second).intValue(); + p1 p1Var = this.D; + if (booleanValue) { + o1Var = !w1Var.b.q() ? w1Var.b.n(w1Var.b.h(w1Var.f911c.a, this.l).k, this.a).o : null; + this.E = p1.i; + } else { + o1Var = null; + } + if (booleanValue || !w1Var2.k.equals(w1Var.k)) { + p1.b a2 = this.E.a(); + List list = w1Var.k; + for (int i9 = 0; i9 < list.size(); i9++) { + Metadata metadata = list.get(i9); + int i10 = 0; + while (true) { + Metadata.Entry[] entryArr = metadata.i; + if (i10 >= entryArr.length) { + break; + } + entryArr[i10].n(a2); + i10++; + } + } + this.E = a2.a(); + p1Var = e0(); + } + boolean z5 = !p1Var.equals(this.D); + this.D = p1Var; + if (!w1Var2.b.equals(w1Var.b)) { + this.j.b(0, new d0(w1Var, i)); + } + if (z3) { + o2.b bVar = new o2.b(); + if (!w1Var2.b.q()) { + Object obj5 = w1Var2.f911c.a; + w1Var2.b.h(obj5, bVar); + int i11 = bVar.k; + obj = obj5; + i6 = i11; + i5 = w1Var2.b.b(obj5); + obj2 = w1Var2.b.n(i11, this.a).m; + o1Var2 = this.a.o; + } else { + i6 = i4; + obj2 = null; + o1Var2 = null; + obj = null; + i5 = -1; + } + if (i3 == 0) { + j3 = bVar.m + bVar.l; + if (w1Var2.f911c.a()) { + a0.a aVar = w1Var2.f911c; + j3 = bVar.a(aVar.b, aVar.f672c); + j2 = j0(w1Var2); + long M = e0.M(j3); + long M2 = e0.M(j2); + a0.a aVar2 = w1Var2.f911c; + y1.f fVar = new y1.f(obj2, i6, o1Var2, obj, i5, M, M2, aVar2.b, aVar2.f672c); + int C = C(); + if (!this.F.b.q()) { + w1 w1Var3 = this.F; + Object obj6 = w1Var3.f911c.a; + w1Var3.b.h(obj6, this.l); + i7 = this.F.b.b(obj6); + obj3 = obj6; + obj4 = this.F.b.n(C, this.a).m; + o1Var3 = this.a.o; + } else { + obj4 = null; + o1Var3 = null; + obj3 = null; + i7 = -1; + } + long M3 = e0.M(j); + long M4 = this.F.f911c.a() ? e0.M(j0(this.F)) : M3; + a0.a aVar3 = this.F.f911c; + this.j.b(11, new a0(i3, fVar, new y1.f(obj4, C, o1Var3, obj3, i7, M3, M4, aVar3.b, aVar3.f672c))); + } else if (w1Var2.f911c.e != -1 && this.F.f911c.a()) { + j3 = j0(this.F); + } + } else if (w1Var2.f911c.a()) { + j3 = w1Var2.t; + j2 = j0(w1Var2); + long M = e0.M(j3); + long M2 = e0.M(j2); + a0.a aVar2 = w1Var2.f911c; + y1.f fVar = new y1.f(obj2, i6, o1Var2, obj, i5, M, M2, aVar2.b, aVar2.f672c); + int C = C(); + if (!this.F.b.q()) { + } + long M3 = e0.M(j); + if (this.F.f911c.a()) { + } + a0.a aVar3 = this.F.f911c; + this.j.b(11, new a0(i3, fVar, new y1.f(obj4, C, o1Var3, obj3, i7, M3, M4, aVar3.b, aVar3.f672c))); + } else { + j3 = bVar.m + w1Var2.t; + } + j2 = j3; + long M = e0.M(j3); + long M2 = e0.M(j2); + a0.a aVar2 = w1Var2.f911c; + y1.f fVar = new y1.f(obj2, i6, o1Var2, obj, i5, M, M2, aVar2.b, aVar2.f672c); + int C = C(); + if (!this.F.b.q()) { + } + long M3 = e0.M(j); + if (this.F.f911c.a()) { + } + a0.a aVar3 = this.F.f911c; + this.j.b(11, new a0(i3, fVar, new y1.f(obj4, C, o1Var3, obj3, i7, M3, M4, aVar3.b, aVar3.f672c))); + } + if (booleanValue) { + this.j.b(1, new z(o1Var, intValue)); + } + if (w1Var2.g != w1Var.g) { + this.j.b(10, new l(w1Var)); + if (w1Var.g != null) { + this.j.b(10, new y(w1Var)); + } + } + r rVar = w1Var2.j; + r rVar2 = w1Var.j; + if (rVar != rVar2) { + this.f.a(rVar2.e); + this.j.b(2, new q(w1Var, new c.i.a.c.c3.n(w1Var.j.f741c))); + this.j.b(2, new t(w1Var)); + } + if (z5) { + this.j.b(14, new p(this.D)); + } + if (w1Var2.h != w1Var.h) { + this.j.b(3, new o(w1Var)); + } + if (!(w1Var2.f == w1Var.f && w1Var2.m == w1Var.m)) { + this.j.b(-1, new e0(w1Var)); + } + if (w1Var2.f != w1Var.f) { + this.j.b(4, new m(w1Var)); + } + if (w1Var2.m != w1Var.m) { + this.j.b(5, new s(w1Var, i2)); + } + if (w1Var2.n != w1Var.n) { + this.j.b(6, new r(w1Var)); + } + if (k0(w1Var2) != k0(w1Var)) { + this.j.b(7, new v(w1Var)); + } + if (!w1Var2.o.equals(w1Var.o)) { + this.j.b(12, new f0(w1Var)); + } + if (z2) { + this.j.b(-1, b.a); + } + r0(); + this.j.a(); + if (w1Var2.p != w1Var.p) { + Iterator it = this.k.iterator(); + while (it.hasNext()) { + it.next().x(w1Var.p); + } + } + if (w1Var2.q != w1Var.q) { + Iterator it2 = this.k.iterator(); + while (it2.hasNext()) { + it2.next().o(w1Var.q); + } + } + } + + @Override // c.i.a.c.y1 + @Nullable + public PlaybackException t() { + return this.F.g; + } + + @Override // c.i.a.c.y1 + public void u(boolean z2) { + q0(z2, 0, 1); + } + + @Override // c.i.a.c.y1 + public long v() { + return this.t; + } + + @Override // c.i.a.c.y1 + public long w() { + if (!f()) { + return T(); + } + w1 w1Var = this.F; + w1Var.b.h(w1Var.f911c.a, this.l); + w1 w1Var2 = this.F; + return w1Var2.d == -9223372036854775807L ? w1Var2.b.n(C(), this.a).a() : e0.M(this.l.m) + e0.M(this.F.d); + } + + @Override // c.i.a.c.y1 + public void x(y1.e eVar) { + d0(eVar); + } + + @Override // c.i.a.c.y1 + public int y() { + return this.F.f; } } diff --git a/app/src/main/java/c/i/a/c/f2.java b/app/src/main/java/c/i/a/c/f2.java new file mode 100644 index 0000000000..3731432450 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f2.java @@ -0,0 +1,67 @@ +package c.i.a.c; + +import androidx.annotation.Nullable; +import c.i.a.c.a3.i0; +import c.i.a.c.b2; +import c.i.a.c.f3.s; +import com.google.android.exoplayer2.ExoPlaybackException; +import java.io.IOException; +/* compiled from: Renderer */ +public interface f2 extends b2.b { + + /* compiled from: Renderer */ + public interface a { + void a(); + + void b(long j); + } + + boolean b(); + + boolean d(); + + void f(int i); + + void g(); + + @Override // c.i.a.c.g2 + String getName(); + + int getState(); + + @Nullable + i0 h(); + + boolean j(); + + void k(j1[] j1VarArr, i0 i0Var, long j, long j2) throws ExoPlaybackException; + + void l(); + + g2 m(); + + void n(float f, float f2) throws ExoPlaybackException; + + void o(h2 h2Var, j1[] j1VarArr, i0 i0Var, long j, boolean z2, boolean z3, long j2, long j3) throws ExoPlaybackException; + + void q(long j, long j2) throws ExoPlaybackException; + + void reset(); + + void s() throws IOException; + + void start() throws ExoPlaybackException; + + void stop(); + + long t(); + + void u(long j) throws ExoPlaybackException; + + boolean v(); + + @Nullable + s w(); + + int x(); +} diff --git a/app/src/main/java/c/i/a/c/f2/a.java b/app/src/main/java/c/i/a/c/f2/a.java deleted file mode 100644 index 668a9d52fd..0000000000 --- a/app/src/main/java/c/i/a/c/f2/a.java +++ /dev/null @@ -1,13 +0,0 @@ -package c.i.a.c.f2; - -import com.google.android.exoplayer2.Format; -import java.util.Comparator; -/* compiled from: lambda */ -public final /* synthetic */ class a implements Comparator { - public static final /* synthetic */ a i = new a(); - - @Override // java.util.Comparator - public final int compare(Object obj, Object obj2) { - return ((Format) obj2).p - ((Format) obj).p; - } -} diff --git a/app/src/main/java/c/i/a/c/f2/b.java b/app/src/main/java/c/i/a/c/f2/b.java deleted file mode 100644 index fa08191d6c..0000000000 --- a/app/src/main/java/c/i/a/c/f2/b.java +++ /dev/null @@ -1,16 +0,0 @@ -package c.i.a.c.f2; - -import com.google.android.exoplayer2.trackselection.DefaultTrackSelector; -import java.util.Comparator; -/* compiled from: lambda */ -public final /* synthetic */ class b implements Comparator { - public static final /* synthetic */ b i = new b(); - - @Override // java.util.Comparator - public final int compare(Object obj, Object obj2) { - Integer num = (Integer) obj; - Integer num2 = (Integer) obj2; - int[] iArr = DefaultTrackSelector.f2742c; - return 0; - } -} diff --git a/app/src/main/java/c/i/a/c/f2/c.java b/app/src/main/java/c/i/a/c/f2/c.java deleted file mode 100644 index f6fdc96c91..0000000000 --- a/app/src/main/java/c/i/a/c/f2/c.java +++ /dev/null @@ -1,22 +0,0 @@ -package c.i.a.c.f2; - -import com.google.android.exoplayer2.trackselection.DefaultTrackSelector; -import java.util.Comparator; -/* compiled from: lambda */ -public final /* synthetic */ class c implements Comparator { - public static final /* synthetic */ c i = new c(); - - @Override // java.util.Comparator - public final int compare(Object obj, Object obj2) { - Integer num = (Integer) obj; - Integer num2 = (Integer) obj2; - int[] iArr = DefaultTrackSelector.f2742c; - if (num.intValue() == -1) { - return num2.intValue() == -1 ? 0 : -1; - } - if (num2.intValue() == -1) { - return 1; - } - return num.intValue() - num2.intValue(); - } -} diff --git a/app/src/main/java/c/i/a/c/f2/d.java b/app/src/main/java/c/i/a/c/f2/d.java deleted file mode 100644 index ef3711eea9..0000000000 --- a/app/src/main/java/c/i/a/c/f2/d.java +++ /dev/null @@ -1,84 +0,0 @@ -package c.i.a.c.f2; - -import androidx.annotation.CallSuper; -import androidx.annotation.Nullable; -import c.i.a.c.f2.g; -import c.i.a.c.i2.g; -import c.i.b.b.u; -import com.google.android.exoplayer2.source.TrackGroup; -import java.util.List; -/* compiled from: AdaptiveTrackSelection */ -public class d extends e { - public final c.i.a.c.h2.d f; - public final g g; - - /* compiled from: AdaptiveTrackSelection */ - public static final class a { - public final long a; - public final long b; - - public a(long j, long j2) { - this.a = j; - this.b = j2; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (!(obj instanceof a)) { - return false; - } - a aVar = (a) obj; - return this.a == aVar.a && this.b == aVar.b; - } - - public int hashCode() { - return (((int) this.a) * 31) + ((int) this.b); - } - } - - /* compiled from: AdaptiveTrackSelection */ - public static class b implements g.b { - public final c.i.a.c.i2.g a = c.i.a.c.i2.g.a; - } - - public d(TrackGroup trackGroup, int[] iArr, c.i.a.c.h2.d dVar, long j, long j2, long j3, float f, float f2, List list, c.i.a.c.i2.g gVar) { - super(trackGroup, iArr); - this.f = dVar; - u.n(list); - this.g = gVar; - } - - public static void l(List> list, long[] jArr) { - long j = 0; - for (long j2 : jArr) { - j += j2; - } - for (int i = 0; i < list.size(); i++) { - u.a aVar = list.get(i); - if (aVar != null) { - aVar.b(new a(j, jArr[i])); - } - } - } - - @Override // c.i.a.c.f2.g - public int b() { - return 0; - } - - @Override // c.i.a.c.f2.e, c.i.a.c.f2.g - @CallSuper - public void e() { - } - - @Override // c.i.a.c.f2.e, c.i.a.c.f2.g - @CallSuper - public void g() { - } - - @Override // c.i.a.c.f2.e, c.i.a.c.f2.g - public void i(float f) { - } -} diff --git a/app/src/main/java/c/i/a/c/f2/e.java b/app/src/main/java/c/i/a/c/f2/e.java deleted file mode 100644 index a497d03351..0000000000 --- a/app/src/main/java/c/i/a/c/f2/e.java +++ /dev/null @@ -1,127 +0,0 @@ -package c.i.a.c.f2; - -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.source.TrackGroup; -import java.util.Arrays; -import java.util.Objects; -/* compiled from: BaseTrackSelection */ -public abstract class e implements g { - public final TrackGroup a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int[] f920c; - public final Format[] d; - public int e; - - public e(TrackGroup trackGroup, int... iArr) { - d.D(iArr.length > 0); - Objects.requireNonNull(trackGroup); - this.a = trackGroup; - int length = iArr.length; - this.b = length; - this.d = new Format[length]; - for (int i = 0; i < iArr.length; i++) { - this.d[i] = trackGroup.j[iArr[i]]; - } - Arrays.sort(this.d, a.i); - this.f920c = new int[this.b]; - int i2 = 0; - while (true) { - int i3 = this.b; - if (i2 < i3) { - int[] iArr2 = this.f920c; - Format format = this.d[i2]; - int i4 = 0; - while (true) { - Format[] formatArr = trackGroup.j; - if (i4 >= formatArr.length) { - i4 = -1; - break; - } else if (format == formatArr[i4]) { - break; - } else { - i4++; - } - } - iArr2[i2] = i4; - i2++; - } else { - long[] jArr = new long[i3]; - return; - } - } - } - - @Override // c.i.a.c.f2.j - public final TrackGroup a() { - return this.a; - } - - @Override // c.i.a.c.f2.g - public /* synthetic */ void c(boolean z2) { - f.b(this, z2); - } - - @Override // c.i.a.c.f2.j - public final Format d(int i) { - return this.d[i]; - } - - @Override // c.i.a.c.f2.g - public void e() { - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || getClass() != obj.getClass()) { - return false; - } - e eVar = (e) obj; - return this.a == eVar.a && Arrays.equals(this.f920c, eVar.f920c); - } - - @Override // c.i.a.c.f2.j - public final int f(int i) { - return this.f920c[i]; - } - - @Override // c.i.a.c.f2.g - public void g() { - } - - @Override // c.i.a.c.f2.g - public final Format h() { - return this.d[b()]; - } - - public int hashCode() { - if (this.e == 0) { - this.e = Arrays.hashCode(this.f920c) + (System.identityHashCode(this.a) * 31); - } - return this.e; - } - - @Override // c.i.a.c.f2.g - public void i(float f) { - } - - @Override // c.i.a.c.f2.g - public /* synthetic */ void j() { - f.a(this); - } - - @Override // c.i.a.c.f2.g - public /* synthetic */ void k() { - f.c(this); - } - - @Override // c.i.a.c.f2.j - public final int length() { - return this.f920c.length; - } -} diff --git a/app/src/main/java/c/i/a/c/f2/f.java b/app/src/main/java/c/i/a/c/f2/f.java deleted file mode 100644 index 9eaa854a55..0000000000 --- a/app/src/main/java/c/i/a/c/f2/f.java +++ /dev/null @@ -1,12 +0,0 @@ -package c.i.a.c.f2; -/* compiled from: ExoTrackSelection */ -public final /* synthetic */ class f { - public static void a(g gVar) { - } - - public static void b(g gVar, boolean z2) { - } - - public static void c(g gVar) { - } -} diff --git a/app/src/main/java/c/i/a/c/f2/g.java b/app/src/main/java/c/i/a/c/f2/g.java deleted file mode 100644 index 17fd8808e2..0000000000 --- a/app/src/main/java/c/i/a/c/f2/g.java +++ /dev/null @@ -1,53 +0,0 @@ -package c.i.a.c.f2; - -import androidx.annotation.Nullable; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.source.TrackGroup; -/* compiled from: ExoTrackSelection */ -public interface g extends j { - - /* compiled from: ExoTrackSelection */ - public static final class a { - public final TrackGroup a; - public final int[] b; - - /* renamed from: c reason: collision with root package name */ - public final int f921c; - @Nullable - public final Object d; - - public a(TrackGroup trackGroup, int... iArr) { - this.a = trackGroup; - this.b = iArr; - this.f921c = 0; - this.d = null; - } - - public a(TrackGroup trackGroup, int[] iArr, int i, @Nullable Object obj) { - this.a = trackGroup; - this.b = iArr; - this.f921c = i; - this.d = obj; - } - } - - /* compiled from: ExoTrackSelection */ - public interface b { - } - - int b(); - - void c(boolean z2); - - void e(); - - void g(); - - Format h(); - - void i(float f); - - void j(); - - void k(); -} diff --git a/app/src/main/java/c/i/a/c/f2/h.java b/app/src/main/java/c/i/a/c/f2/h.java deleted file mode 100644 index c9deedd0e5..0000000000 --- a/app/src/main/java/c/i/a/c/f2/h.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.f2; - -import androidx.annotation.Nullable; -import com.google.android.exoplayer2.source.TrackGroup; -/* compiled from: FixedTrackSelection */ -public final class h extends e { - @Nullable - public final Object f; - - public h(TrackGroup trackGroup, int i, int i2, @Nullable Object obj) { - super(trackGroup, i); - this.f = obj; - } - - @Override // c.i.a.c.f2.g - public int b() { - return 0; - } -} diff --git a/app/src/main/java/c/i/a/c/f2/i.java b/app/src/main/java/c/i/a/c/f2/i.java deleted file mode 100644 index 850549fe5a..0000000000 --- a/app/src/main/java/c/i/a/c/f2/i.java +++ /dev/null @@ -1,891 +0,0 @@ -package c.i.a.c.f2; - -import android.text.TextUtils; -import android.util.Pair; -import androidx.annotation.Nullable; -import c.i.a.c.d2.y; -import c.i.a.c.f2.d; -import c.i.a.c.f2.g; -import c.i.a.c.g0; -import c.i.a.c.h2.d; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.s; -import c.i.a.c.l1; -import c.i.a.c.m1; -import c.i.a.c.r1; -import c.i.a.f.e.o.c; -import c.i.b.b.f; -import c.i.b.b.l0; -import c.i.b.b.m0; -import c.i.b.b.o0; -import c.i.b.b.q0; -import c.i.b.b.s; -import c.i.b.b.u; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.source.TrackGroup; -import com.google.android.exoplayer2.source.TrackGroupArray; -import com.google.android.exoplayer2.trackselection.DefaultTrackSelector; -import com.google.android.material.shadow.ShadowDrawableWrapper; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collection; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import java.util.TreeMap; -/* compiled from: MappingTrackSelector */ -public abstract class i extends l { - @Nullable - public a b; - - /* compiled from: MappingTrackSelector */ - public static final class a { - public final int a; - public final int[] b; - - /* renamed from: c reason: collision with root package name */ - public final TrackGroupArray[] f922c; - public final int[] d; - public final int[][][] e; - - public a(String[] strArr, int[] iArr, TrackGroupArray[] trackGroupArrayArr, int[] iArr2, int[][][] iArr3, TrackGroupArray trackGroupArray) { - this.b = iArr; - this.f922c = trackGroupArrayArr; - this.e = iArr3; - this.d = iArr2; - this.a = iArr.length; - } - } - - @Override // c.i.a.c.f2.l - public final void a(@Nullable Object obj) { - this.b = (a) obj; - } - - /* JADX WARNING: Code restructure failed: missing block: B:435:0x0920, code lost: - if (r6 == 2) goto L_0x0926; - */ - /* JADX WARNING: Removed duplicated region for block: B:108:0x029a A[LOOP:8: B:65:0x0166->B:108:0x029a, LOOP_END] */ - /* JADX WARNING: Removed duplicated region for block: B:222:0x04c9 */ - /* JADX WARNING: Removed duplicated region for block: B:424:0x0902 */ - /* JADX WARNING: Removed duplicated region for block: B:425:0x0905 */ - /* JADX WARNING: Removed duplicated region for block: B:485:0x0294 A[SYNTHETIC] */ - @Override // c.i.a.c.f2.l - public final m b(l1[] l1VarArr, TrackGroupArray trackGroupArray, y.a aVar, r1 r1Var) throws ExoPlaybackException { - int i; - boolean z2; - boolean z3; - boolean z4; - g gVar; - int[] iArr; - int[] iArr2; - DefaultTrackSelector.Parameters parameters; - String str; - Pair pair; - TrackGroup trackGroup; - int[][] iArr3; - String str2; - int[][] iArr4; - DefaultTrackSelector.Parameters parameters2; - a aVar2; - int i2; - int i3; - String str3; - Pair pair2; - g.a aVar3; - int[] iArr5; - int i4; - int i5; - int i6; - String str4; - int i7; - TrackGroup trackGroup2; - int i8; - g.a[] aVarArr; - int i9; - int[][][] iArr6; - int[] iArr7; - DefaultTrackSelector defaultTrackSelector; - DefaultTrackSelector.Parameters parameters3; - boolean z5; - TrackGroupArray trackGroupArray2; - DefaultTrackSelector.Parameters parameters4; - int[][] iArr8; - a aVar4; - g.a aVar5; - boolean z6; - int[] iArr9; - ArrayList arrayList; - List list; - String str5; - ArrayList arrayList2; - int i10; - HashSet hashSet; - int[] iArr10; - TrackGroupArray trackGroupArray3 = trackGroupArray; - int[] iArr11 = new int[(l1VarArr.length + 1)]; - int length = l1VarArr.length + 1; - TrackGroup[][] trackGroupArr = new TrackGroup[length][]; - int[][][] iArr12 = new int[(l1VarArr.length + 1)][][]; - char c2 = 0; - for (int i11 = 0; i11 < length; i11++) { - int i12 = trackGroupArray3.j; - trackGroupArr[i11] = new TrackGroup[i12]; - iArr12[i11] = new int[i12][]; - } - int length2 = l1VarArr.length; - int[] iArr13 = new int[length2]; - for (int i13 = 0; i13 < length2; i13++) { - iArr13[i13] = l1VarArr[i13].p(); - } - int i14 = 0; - while (i14 < trackGroupArray3.j) { - TrackGroup trackGroup3 = trackGroupArray3.k[i14]; - boolean z7 = s.g(trackGroup3.j[c2].t) == 5; - int length3 = l1VarArr.length; - int i15 = 0; - boolean z8 = true; - for (int i16 = 0; i16 < l1VarArr.length; i16++) { - l1 l1Var = l1VarArr[i16]; - int i17 = 0; - for (int i18 = 0; i18 < trackGroup3.i; i18++) { - i17 = Math.max(i17, l1Var.a(trackGroup3.j[i18]) & 7); - } - boolean z9 = iArr11[i16] == 0; - if (i17 > i15 || (i17 == i15 && z7 && !z8 && z9)) { - i15 = i17; - z8 = z9; - length3 = i16; - } - } - if (length3 == l1VarArr.length) { - iArr10 = new int[trackGroup3.i]; - } else { - l1 l1Var2 = l1VarArr[length3]; - int[] iArr14 = new int[trackGroup3.i]; - for (int i19 = 0; i19 < trackGroup3.i; i19++) { - iArr14[i19] = l1Var2.a(trackGroup3.j[i19]); - } - iArr10 = iArr14; - } - int i20 = iArr11[length3]; - trackGroupArr[length3][i20] = trackGroup3; - iArr12[length3][i20] = iArr10; - iArr11[length3] = iArr11[length3] + 1; - i14++; - trackGroupArray3 = trackGroupArray; - c2 = 0; - } - TrackGroupArray[] trackGroupArrayArr = new TrackGroupArray[l1VarArr.length]; - String[] strArr = new String[l1VarArr.length]; - int[] iArr15 = new int[l1VarArr.length]; - for (int i21 = 0; i21 < l1VarArr.length; i21++) { - int i22 = iArr11[i21]; - trackGroupArrayArr[i21] = new TrackGroupArray((TrackGroup[]) f0.C(trackGroupArr[i21], i22)); - iArr12[i21] = (int[][]) f0.C(iArr12[i21], i22); - strArr[i21] = l1VarArr[i21].getName(); - iArr15[i21] = ((g0) l1VarArr[i21]).i; - } - a aVar6 = new a(strArr, iArr15, trackGroupArrayArr, iArr13, iArr12, new TrackGroupArray((TrackGroup[]) f0.C(trackGroupArr[l1VarArr.length], iArr11[l1VarArr.length]))); - DefaultTrackSelector defaultTrackSelector2 = (DefaultTrackSelector) this; - DefaultTrackSelector.Parameters parameters5 = defaultTrackSelector2.g.get(); - int i23 = aVar6.a; - g.a[] aVarArr2 = new g.a[i23]; - a aVar7 = aVar6; - DefaultTrackSelector.Parameters parameters6 = parameters5; - int i24 = 0; - boolean z10 = false; - boolean z11 = false; - while (i24 < i23) { - if (2 == aVar7.b[i24]) { - if (!z11) { - TrackGroupArray trackGroupArray4 = aVar7.f922c[i24]; - int[][] iArr16 = iArr12[i24]; - int i25 = iArr13[i24]; - if (!parameters6.N && !parameters6.M) { - int i26 = parameters6.A ? 24 : 16; - boolean z12 = parameters6.f2747z && (i25 & i26) != 0; - DefaultTrackSelector.Parameters parameters7 = parameters6; - int i27 = 0; - while (true) { - if (i27 >= trackGroupArray4.j) { - break; - } - TrackGroup trackGroup4 = trackGroupArray4.k[i27]; - int[] iArr17 = iArr16[i27]; - defaultTrackSelector = defaultTrackSelector2; - int i28 = parameters7.q; - iArr7 = iArr13; - int i29 = parameters7.f2743r; - iArr6 = iArr12; - int i30 = parameters7.s; - i9 = i23; - int i31 = parameters7.t; - z5 = z10; - int i32 = parameters7.u; - aVar4 = aVar6; - int i33 = parameters7.v; - aVarArr = aVarArr2; - int i34 = parameters7.f2744w; - i8 = i24; - int i35 = parameters7.f2745x; - iArr8 = iArr16; - int i36 = parameters7.B; - parameters4 = parameters5; - int i37 = parameters7.C; - boolean z13 = parameters7.D; - trackGroupArray2 = trackGroupArray4; - if (trackGroup4.i < 2) { - iArr9 = DefaultTrackSelector.f2742c; - } else { - List d = DefaultTrackSelector.d(trackGroup4, i36, i37, z13); - ArrayList arrayList3 = (ArrayList) d; - if (arrayList3.size() < 2) { - iArr9 = DefaultTrackSelector.f2742c; - } else { - if (!z12) { - HashSet hashSet2 = new HashSet(); - z6 = z12; - int i38 = 0; - int i39 = 0; - str5 = null; - while (i39 < arrayList3.size()) { - String str6 = trackGroup4.j[((Integer) arrayList3.get(i39)).intValue()].t; - if (hashSet2.add(str6)) { - hashSet = hashSet2; - i10 = i39; - int i40 = 0; - int i41 = 0; - while (i41 < arrayList3.size()) { - int intValue = ((Integer) arrayList3.get(i41)).intValue(); - if (DefaultTrackSelector.f(trackGroup4.j[intValue], str6, iArr17[intValue], i26, i28, i29, i30, i31, i32, i33, i34, i35)) { - i40++; - } - i41++; - arrayList3 = arrayList3; - } - arrayList2 = arrayList3; - if (i40 > i38) { - str5 = str6; - i38 = i40; - } - } else { - arrayList2 = arrayList3; - hashSet = hashSet2; - i10 = i39; - } - i39 = i10 + 1; - d = d; - hashSet2 = hashSet; - arrayList3 = arrayList2; - } - list = d; - arrayList = arrayList3; - } else { - list = d; - arrayList = arrayList3; - z6 = z12; - str5 = null; - } - int size = arrayList.size(); - while (true) { - size--; - if (size < 0) { - break; - } - int intValue2 = ((Integer) arrayList.get(size)).intValue(); - if (!DefaultTrackSelector.f(trackGroup4.j[intValue2], str5, iArr17[intValue2], i26, i28, i29, i30, i31, i32, i33, i34, i35)) { - arrayList.remove(size); - } - arrayList = arrayList; - } - iArr9 = arrayList.size() < 2 ? DefaultTrackSelector.f2742c : c.l0(list); - if (iArr9.length <= 0) { - aVar5 = new g.a(trackGroup4, iArr9); - break; - } - i27++; - defaultTrackSelector2 = defaultTrackSelector; - iArr13 = iArr7; - iArr12 = iArr6; - i23 = i9; - z10 = z5; - aVar6 = aVar4; - aVarArr2 = aVarArr; - i24 = i8; - iArr16 = iArr8; - parameters5 = parameters4; - parameters7 = parameters5; - trackGroupArray4 = trackGroupArray2; - z12 = z6; - } - } - z6 = z12; - if (iArr9.length <= 0) { - } - } - } - aVar4 = aVar6; - trackGroupArray2 = trackGroupArray4; - defaultTrackSelector = defaultTrackSelector2; - parameters4 = parameters5; - i9 = i23; - aVarArr = aVarArr2; - iArr6 = iArr12; - i8 = i24; - z5 = z10; - iArr8 = iArr16; - iArr7 = iArr13; - aVar5 = null; - if (aVar5 == null) { - TrackGroup trackGroup5 = null; - DefaultTrackSelector.e eVar = null; - int i42 = 0; - int i43 = -1; - while (i42 < trackGroupArray2.j) { - TrackGroup trackGroup6 = trackGroupArray2.k[i42]; - List d2 = DefaultTrackSelector.d(trackGroup6, parameters4.B, parameters4.C, parameters4.D); - int[] iArr18 = iArr8[i42]; - DefaultTrackSelector.e eVar2 = eVar; - TrackGroup trackGroup7 = trackGroup5; - for (int i44 = 0; i44 < trackGroup6.i; i44++) { - Format format = trackGroup6.j[i44]; - if ((format.m & 16384) == 0 && DefaultTrackSelector.e(iArr18[i44], parameters4.O)) { - DefaultTrackSelector.e eVar3 = new DefaultTrackSelector.e(format, parameters4, iArr18[i44], ((ArrayList) d2).contains(Integer.valueOf(i44))); - if ((eVar3.i || parameters4.f2746y) && (eVar2 == null || eVar3.compareTo(eVar2) > 0)) { - i43 = i44; - trackGroup7 = trackGroup6; - eVar2 = eVar3; - } - } - } - i42++; - trackGroup5 = trackGroup7; - parameters4 = parameters4; - eVar = eVar2; - } - parameters3 = parameters4; - aVar5 = trackGroup5 == null ? null : new g.a(trackGroup5, i43); - } else { - parameters3 = parameters4; - } - aVarArr[i8] = aVar5; - z11 = aVarArr[i8] != null; - parameters6 = parameters3; - aVar6 = aVar4; - } else { - defaultTrackSelector = defaultTrackSelector2; - i9 = i23; - aVarArr = aVarArr2; - iArr6 = iArr12; - i8 = i24; - z5 = z10; - iArr7 = iArr13; - parameters3 = parameters5; - } - aVar7 = aVar6; - z10 = z5 | (aVar6.f922c[i8].j > 0); - } else { - defaultTrackSelector = defaultTrackSelector2; - i9 = i23; - aVarArr = aVarArr2; - iArr6 = iArr12; - i8 = i24; - iArr7 = iArr13; - parameters3 = parameters5; - } - i24 = i8 + 1; - parameters5 = parameters3; - defaultTrackSelector2 = defaultTrackSelector; - iArr13 = iArr7; - iArr12 = iArr6; - i23 = i9; - aVarArr2 = aVarArr; - } - DefaultTrackSelector.Parameters parameters8 = parameters5; - int i45 = i23; - String str7 = null; - DefaultTrackSelector.a aVar8 = null; - int i46 = -1; - int i47 = 0; - while (i47 < i45) { - if (1 == aVar7.b[i47]) { - boolean z14 = parameters6.Q || !z10; - TrackGroupArray trackGroupArray5 = aVar7.f922c[i47]; - int[][] iArr19 = iArr12[i47]; - int i48 = iArr13[i47]; - DefaultTrackSelector.a aVar9 = null; - int i49 = -1; - int i50 = -1; - int i51 = 0; - while (i51 < trackGroupArray5.j) { - TrackGroup trackGroup8 = trackGroupArray5.k[i51]; - int[] iArr20 = iArr19[i51]; - int i52 = i49; - int i53 = i50; - DefaultTrackSelector.a aVar10 = aVar9; - int i54 = 0; - while (i54 < trackGroup8.i) { - if (DefaultTrackSelector.e(iArr20[i54], parameters6.O)) { - trackGroup2 = trackGroup8; - DefaultTrackSelector.a aVar11 = new DefaultTrackSelector.a(trackGroup8.j[i54], parameters6, iArr20[i54]); - if ((aVar11.i || parameters6.H) && (aVar10 == null || aVar11.compareTo(aVar10) > 0)) { - i53 = i54; - aVar10 = aVar11; - i52 = i51; - } - } else { - trackGroup2 = trackGroup8; - } - i54++; - str7 = str7; - trackGroup8 = trackGroup2; - } - i51++; - aVar9 = aVar10; - i50 = i53; - i49 = i52; - } - str3 = str7; - if (i49 == -1) { - aVar2 = aVar6; - i3 = i47; - parameters2 = parameters8; - i2 = i45; - pair2 = null; - } else { - TrackGroup trackGroup9 = trackGroupArray5.k[i49]; - if (parameters6.N || parameters6.M || !z14) { - aVar2 = aVar6; - i3 = i47; - parameters2 = parameters8; - i2 = i45; - } else { - int[] iArr21 = iArr19[i49]; - int i55 = parameters6.G; - boolean z15 = parameters6.I; - boolean z16 = parameters6.J; - boolean z17 = parameters6.K; - Format format2 = trackGroup9.j[i50]; - int[] iArr22 = new int[trackGroup9.i]; - aVar2 = aVar6; - parameters2 = parameters8; - i2 = i45; - int i56 = 0; - int i57 = 0; - while (i57 < trackGroup9.i) { - if (i57 != i50) { - Format format3 = trackGroup9.j[i57]; - i4 = i47; - iArr5 = iArr21; - if (!(DefaultTrackSelector.e(iArr21[i57], false) && (i5 = format3.p) != -1 && i5 <= i55 && (z17 || ((i7 = format3.G) != -1 && i7 == format2.G)) && ((z15 || ((str4 = format3.t) != null && TextUtils.equals(str4, format2.t))) && (z16 || ((i6 = format3.H) != -1 && i6 == format2.H))))) { - i57++; - i47 = i4; - iArr21 = iArr5; - } - } else { - i4 = i47; - iArr5 = iArr21; - } - iArr22[i56] = i57; - i56++; - i57++; - i47 = i4; - iArr21 = iArr5; - } - i3 = i47; - int[] copyOf = Arrays.copyOf(iArr22, i56); - if (copyOf.length > 1) { - aVar3 = new g.a(trackGroup9, copyOf); - if (aVar3 == null) { - aVar3 = new g.a(trackGroup9, i50); - } - Objects.requireNonNull(aVar9); - pair2 = Pair.create(aVar3, aVar9); - } - } - aVar3 = null; - if (aVar3 == null) { - } - Objects.requireNonNull(aVar9); - pair2 = Pair.create(aVar3, aVar9); - } - if (pair2 != null && (aVar8 == null || ((DefaultTrackSelector.a) pair2.second).compareTo(aVar8) > 0)) { - if (i46 != -1) { - aVarArr2[i46] = null; - } - g.a aVar12 = (g.a) pair2.first; - aVarArr2[i3] = aVar12; - str7 = aVar12.a.j[aVar12.b[0]].k; - aVar8 = (DefaultTrackSelector.a) pair2.second; - i46 = i3; - i47 = i3 + 1; - i45 = i2; - aVar6 = aVar2; - aVar7 = aVar6; - parameters8 = parameters2; - parameters6 = parameters8; - } - } else { - aVar2 = aVar6; - str3 = str7; - i3 = i47; - parameters2 = parameters8; - i2 = i45; - } - str7 = str3; - i47 = i3 + 1; - i45 = i2; - aVar6 = aVar2; - aVar7 = aVar6; - parameters8 = parameters2; - parameters6 = parameters8; - } - a aVar13 = aVar6; - String str8 = str7; - DefaultTrackSelector.Parameters parameters9 = parameters8; - DefaultTrackSelector.d dVar = null; - int i58 = 0; - int i59 = -1; - while (i58 < i45) { - int i60 = aVar13.b[i58]; - if (i60 == 1 || i60 == 2) { - str = str8; - parameters = parameters9; - } else if (i60 != 3) { - TrackGroupArray trackGroupArray6 = aVar13.f922c[i58]; - int[][] iArr23 = iArr12[i58]; - TrackGroup trackGroup10 = null; - DefaultTrackSelector.b bVar = null; - int i61 = 0; - int i62 = 0; - while (i61 < trackGroupArray6.j) { - TrackGroup trackGroup11 = trackGroupArray6.k[i61]; - int[] iArr24 = iArr23[i61]; - int i63 = i62; - DefaultTrackSelector.b bVar2 = bVar; - TrackGroup trackGroup12 = trackGroup10; - int i64 = 0; - while (i64 < trackGroup11.i) { - if (DefaultTrackSelector.e(iArr24[i64], parameters9.O)) { - iArr4 = iArr23; - DefaultTrackSelector.b bVar3 = new DefaultTrackSelector.b(trackGroup11.j[i64], iArr24[i64]); - if (bVar2 == null || bVar3.compareTo(bVar2) > 0) { - i63 = i64; - trackGroup12 = trackGroup11; - bVar2 = bVar3; - } - } else { - iArr4 = iArr23; - } - i64++; - parameters9 = parameters9; - trackGroupArray6 = trackGroupArray6; - iArr23 = iArr4; - } - i61++; - trackGroup10 = trackGroup12; - bVar = bVar2; - i62 = i63; - } - parameters = parameters9; - aVarArr2[i58] = trackGroup10 == null ? null : new g.a(trackGroup10, i62); - str = str8; - } else { - parameters = parameters9; - TrackGroupArray trackGroupArray7 = aVar13.f922c[i58]; - int[][] iArr25 = iArr12[i58]; - TrackGroup trackGroup13 = null; - DefaultTrackSelector.d dVar2 = null; - int i65 = -1; - int i66 = 0; - while (i66 < trackGroupArray7.j) { - TrackGroup trackGroup14 = trackGroupArray7.k[i66]; - int[] iArr26 = iArr25[i66]; - int i67 = i65; - DefaultTrackSelector.d dVar3 = dVar2; - TrackGroup trackGroup15 = trackGroup13; - int i68 = 0; - while (i68 < trackGroup14.i) { - if (DefaultTrackSelector.e(iArr26[i68], parameters.O)) { - iArr3 = iArr25; - trackGroup = trackGroup14; - str2 = str8; - DefaultTrackSelector.d dVar4 = new DefaultTrackSelector.d(trackGroup14.j[i68], parameters, iArr26[i68], str2); - if (dVar4.i && (dVar3 == null || dVar4.compareTo(dVar3) > 0)) { - i67 = i68; - dVar3 = dVar4; - trackGroup15 = trackGroup; - } - } else { - iArr3 = iArr25; - trackGroup = trackGroup14; - str2 = str8; - } - i68++; - str8 = str2; - trackGroupArray7 = trackGroupArray7; - iArr25 = iArr3; - trackGroup14 = trackGroup; - } - i66++; - trackGroup13 = trackGroup15; - dVar2 = dVar3; - i65 = i67; - } - str = str8; - if (trackGroup13 == null) { - pair = null; - } else { - g.a aVar14 = new g.a(trackGroup13, i65); - Objects.requireNonNull(dVar2); - pair = Pair.create(aVar14, dVar2); - } - if (pair != null && (dVar == null || ((DefaultTrackSelector.d) pair.second).compareTo(dVar) > 0)) { - if (i59 != -1) { - aVarArr2[i59] = null; - } - aVarArr2[i58] = (g.a) pair.first; - dVar = (DefaultTrackSelector.d) pair.second; - i59 = i58; - } - } - i58++; - aVar13 = aVar13; - str8 = str; - parameters9 = parameters; - } - for (int i69 = 0; i69 < i45; i69++) { - if (parameters9.S.get(i69)) { - aVarArr2[i69] = null; - } else { - TrackGroupArray trackGroupArray8 = aVar13.f922c[i69]; - Map map = parameters9.R.get(i69); - if (map != null && map.containsKey(trackGroupArray8)) { - Map map2 = parameters9.R.get(i69); - DefaultTrackSelector.SelectionOverride selectionOverride = map2 != null ? map2.get(trackGroupArray8) : null; - aVarArr2[i69] = selectionOverride == null ? null : new g.a(trackGroupArray8.k[selectionOverride.i], selectionOverride.j, selectionOverride.l, Integer.valueOf(selectionOverride.m)); - } - } - } - g.b bVar4 = defaultTrackSelector2.f; - d dVar5 = defaultTrackSelector2.a; - Objects.requireNonNull(dVar5); - Objects.requireNonNull((d.b) bVar4); - ArrayList arrayList4 = new ArrayList(); - for (int i70 = 0; i70 < i45; i70++) { - if (aVarArr2[i70] == null || aVarArr2[i70].b.length <= 1) { - arrayList4.add(null); - } else { - c.i.b.b.a aVar15 = u.j; - u.a aVar16 = new u.a(); - aVar16.b(new d.a(0, 0)); - arrayList4.add(aVar16); - } - } - long[][] jArr = new long[i45][]; - for (int i71 = 0; i71 < i45; i71++) { - g.a aVar17 = aVarArr2[i71]; - if (aVar17 == null) { - jArr[i71] = new long[0]; - } else { - jArr[i71] = new long[aVar17.b.length]; - int i72 = 0; - while (true) { - int[] iArr27 = aVar17.b; - if (i72 >= iArr27.length) { - break; - } - jArr[i71][i72] = (long) aVar17.a.j[iArr27[i72]].p; - i72++; - } - Arrays.sort(jArr[i71]); - } - } - int[] iArr28 = new int[i45]; - long[] jArr2 = new long[i45]; - for (int i73 = 0; i73 < i45; i73++) { - jArr2[i73] = jArr[i73].length == 0 ? 0 : jArr[i73][0]; - } - d.l(arrayList4, jArr2); - o0 o0Var = o0.i; - c.n(2, "expectedValuesPerKey"); - m0 m0Var = new m0(new TreeMap(o0Var), new l0(2)); - int i74 = 0; - while (i74 < i45) { - if (jArr[i74].length <= 1) { - iArr = iArr28; - } else { - int length4 = jArr[i74].length; - double[] dArr = new double[length4]; - int i75 = 0; - while (true) { - int length5 = jArr[i74].length; - double d3 = ShadowDrawableWrapper.COS_45; - if (i75 >= length5) { - break; - } - if (jArr[i74][i75] == -1) { - iArr2 = iArr28; - } else { - iArr2 = iArr28; - d3 = Math.log((double) jArr[i74][i75]); - } - dArr[i75] = d3; - i75++; - iArr28 = iArr2; - } - iArr = iArr28; - int i76 = length4 - 1; - double d4 = dArr[i76] - dArr[0]; - int i77 = 0; - while (i77 < i76) { - double d5 = dArr[i77]; - i77++; - Double valueOf = Double.valueOf(d4 == ShadowDrawableWrapper.COS_45 ? 1.0d : (((d5 + dArr[i77]) * 0.5d) - dArr[0]) / d4); - Integer valueOf2 = Integer.valueOf(i74); - Collection collection = (Collection) m0Var.l.get(valueOf); - if (collection == null) { - Collection h = m0Var.h(); - if (h.add(valueOf2)) { - m0Var.m++; - m0Var.l.put(valueOf, h); - } else { - throw new AssertionError("New Collection violated the Collection spec"); - } - } else if (collection.add(valueOf2)) { - m0Var.m++; - } - i76 = i76; - d4 = d4; - } - continue; - } - i74++; - iArr28 = iArr; - } - Collection collection2 = m0Var.j; - if (collection2 == null) { - collection2 = new f.a(); - m0Var.j = collection2; - } - u n = u.n(collection2); - for (int i78 = 0; i78 < n.size(); i78++) { - int intValue3 = n.get(i78).intValue(); - int i79 = iArr28[intValue3] + 1; - iArr28[intValue3] = i79; - jArr2[intValue3] = jArr[intValue3][i79]; - d.l(arrayList4, jArr2); - } - for (int i80 = 0; i80 < i45; i80++) { - if (arrayList4.get(i80) != null) { - jArr2[i80] = jArr2[i80] * 2; - } - } - d.l(arrayList4, jArr2); - c.n(4, "initialCapacity"); - Object[] objArr = new Object[4]; - int i81 = 0; - int i82 = 0; - while (i81 < arrayList4.size()) { - u.a aVar18 = (u.a) arrayList4.get(i81); - u c3 = aVar18 == null ? q0.k : aVar18.c(); - Objects.requireNonNull(c3); - int i83 = i82 + 1; - if (objArr.length < i83) { - objArr = Arrays.copyOf(objArr, s.b.a(objArr.length, i83)); - } - objArr[i82] = c3; - i81++; - i82 = i83; - } - u l = u.l(objArr, i82); - g[] gVarArr = new g[i45]; - for (int i84 = 0; i84 < i45; i84++) { - g.a aVar19 = aVarArr2[i84]; - if (aVar19 != null) { - int[] iArr29 = aVar19.b; - if (iArr29.length != 0) { - if (iArr29.length == 1) { - gVar = new h(aVar19.a, iArr29[0], aVar19.f921c, aVar19.d); - } else { - long j = (long) 25000; - gVar = new d(aVar19.a, iArr29, dVar5, (long) 10000, j, j, 0.7f, 0.75f, l.get(i84), c.i.a.c.i2.g.a); - } - gVarArr[i84] = gVar; - } - } - } - m1[] m1VarArr = new m1[i45]; - for (int i85 = 0; i85 < i45; i85++) { - if (!parameters9.S.get(i85)) { - if (aVar13.b[i85] == 7 || gVarArr[i85] != null) { - z4 = true; - m1VarArr[i85] = !z4 ? m1.a : null; - } - } - z4 = false; - m1VarArr[i85] = !z4 ? m1.a : null; - } - if (parameters9.P) { - int i86 = 0; - int i87 = -1; - int i88 = -1; - while (true) { - if (i86 >= aVar13.a) { - i = -1; - z2 = true; - break; - } - int i89 = aVar13.b[i86]; - g gVar2 = gVarArr[i86]; - if (i89 == 1) { - if (gVar2 != null) { - int[][] iArr30 = iArr12[i86]; - int a2 = aVar13.f922c[i86].a(gVar2.a()); - int i90 = 0; - while (true) { - if (i90 >= gVar2.length()) { - z3 = true; - break; - } else if ((iArr30[a2][gVar2.f(i90)] & 32) != 32) { - z3 = false; - break; - } else { - i90++; - } - } - if (z3) { - if (i89 == 1) { - i = -1; - if (i88 != -1) { - break; - } - i88 = i86; - i86++; - } else { - i = -1; - if (i87 != -1) { - break; - } - i87 = i86; - i86++; - } - } - } - } - i86++; - } - z2 = false; - if (z2 && ((i88 == i || i87 == i) ? false : true)) { - m1 m1Var = new m1(true); - m1VarArr[i88] = m1Var; - m1VarArr[i87] = m1Var; - } - } - Pair create = Pair.create(m1VarArr, gVarArr); - return new m((m1[]) create.first, (g[]) create.second, aVar13); - } -} diff --git a/app/src/main/java/c/i/a/c/f2/j.java b/app/src/main/java/c/i/a/c/f2/j.java deleted file mode 100644 index 4886abd6c7..0000000000 --- a/app/src/main/java/c/i/a/c/f2/j.java +++ /dev/null @@ -1,14 +0,0 @@ -package c.i.a.c.f2; - -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.source.TrackGroup; -/* compiled from: TrackSelection */ -public interface j { - TrackGroup a(); - - Format d(int i); - - int f(int i); - - int length(); -} diff --git a/app/src/main/java/c/i/a/c/f2/k.java b/app/src/main/java/c/i/a/c/f2/k.java deleted file mode 100644 index 3312fc91c7..0000000000 --- a/app/src/main/java/c/i/a/c/f2/k.java +++ /dev/null @@ -1,34 +0,0 @@ -package c.i.a.c.f2; - -import androidx.annotation.Nullable; -import java.util.Arrays; -/* compiled from: TrackSelectionArray */ -public final class k { - public final int a; - public final j[] b; - - /* renamed from: c reason: collision with root package name */ - public int f923c; - - public k(j... jVarArr) { - this.b = jVarArr; - this.a = jVarArr.length; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || k.class != obj.getClass()) { - return false; - } - return Arrays.equals(this.b, ((k) obj).b); - } - - public int hashCode() { - if (this.f923c == 0) { - this.f923c = 527 + Arrays.hashCode(this.b); - } - return this.f923c; - } -} diff --git a/app/src/main/java/c/i/a/c/f2/l.java b/app/src/main/java/c/i/a/c/f2/l.java deleted file mode 100644 index d3509a3e60..0000000000 --- a/app/src/main/java/c/i/a/c/f2/l.java +++ /dev/null @@ -1,18 +0,0 @@ -package c.i.a.c.f2; - -import androidx.annotation.Nullable; -import c.i.a.c.d2.y; -import c.i.a.c.h2.d; -import c.i.a.c.l1; -import c.i.a.c.r1; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.source.TrackGroupArray; -/* compiled from: TrackSelector */ -public abstract class l { - @Nullable - public d a; - - public abstract void a(@Nullable Object obj); - - public abstract m b(l1[] l1VarArr, TrackGroupArray trackGroupArray, y.a aVar, r1 r1Var) throws ExoPlaybackException; -} diff --git a/app/src/main/java/c/i/a/c/f2/m.java b/app/src/main/java/c/i/a/c/f2/m.java deleted file mode 100644 index ee0bd19d6f..0000000000 --- a/app/src/main/java/c/i/a/c/f2/m.java +++ /dev/null @@ -1,30 +0,0 @@ -package c.i.a.c.f2; - -import androidx.annotation.Nullable; -import c.i.a.c.i2.f0; -import c.i.a.c.m1; -/* compiled from: TrackSelectorResult */ -public final class m { - public final int a; - public final m1[] b; - - /* renamed from: c reason: collision with root package name */ - public final g[] f924c; - @Nullable - public final Object d; - - public m(m1[] m1VarArr, g[] gVarArr, @Nullable Object obj) { - this.b = m1VarArr; - this.f924c = (g[]) gVarArr.clone(); - this.d = obj; - this.a = m1VarArr.length; - } - - public boolean a(@Nullable m mVar, int i) { - return mVar != null && f0.a(this.b[i], mVar.b[i]) && f0.a(this.f924c[i], mVar.f924c[i]); - } - - public boolean b(int i) { - return this.b[i] != null; - } -} diff --git a/app/src/main/java/c/i/a/c/f3/a.java b/app/src/main/java/c/i/a/c/f3/a.java new file mode 100644 index 0000000000..c3dca8fc45 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/a.java @@ -0,0 +1,39 @@ +package c.i.a.c.f3; + +import c.c.a.a0.d; +import c.i.a.c.f3.n; +import c.i.a.c.f3.p; +import java.util.Iterator; +import java.util.concurrent.CopyOnWriteArraySet; +/* compiled from: lambda */ +public final /* synthetic */ class a implements Runnable { + public final /* synthetic */ CopyOnWriteArraySet i; + public final /* synthetic */ int j; + public final /* synthetic */ p.a k; + + public /* synthetic */ a(CopyOnWriteArraySet copyOnWriteArraySet, int i, p.a aVar) { + this.i = copyOnWriteArraySet; + this.j = i; + this.k = aVar; + } + + @Override // java.lang.Runnable + public final void run() { + CopyOnWriteArraySet copyOnWriteArraySet = this.i; + int i = this.j; + p.a aVar = this.k; + Iterator it = copyOnWriteArraySet.iterator(); + while (it.hasNext()) { + p.c cVar = (p.c) it.next(); + if (!cVar.d) { + if (i != -1) { + n.b bVar = cVar.b; + d.D(!bVar.b); + bVar.a.append(i, true); + } + cVar.f785c = true; + aVar.invoke(cVar.a); + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/f3/a0.java b/app/src/main/java/c/i/a/c/f3/a0.java new file mode 100644 index 0000000000..f2b775451a --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/a0.java @@ -0,0 +1,27 @@ +package c.i.a.c.f3; + +import android.os.Handler; +import android.os.Looper; +import android.os.SystemClock; +import androidx.annotation.Nullable; +/* compiled from: SystemClock */ +public class a0 implements g { + @Override // c.i.a.c.f3.g + public long a() { + return SystemClock.uptimeMillis(); + } + + @Override // c.i.a.c.f3.g + public o b(Looper looper, @Nullable Handler.Callback callback) { + return new b0(new Handler(looper, callback)); + } + + @Override // c.i.a.c.f3.g + public void c() { + } + + @Override // c.i.a.c.f3.g + public long d() { + return SystemClock.elapsedRealtime(); + } +} diff --git a/app/src/main/java/c/i/a/c/f3/b.java b/app/src/main/java/c/i/a/c/f3/b.java new file mode 100644 index 0000000000..3ceec37953 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/b.java @@ -0,0 +1,35 @@ +package c.i.a.c.f3; + +import android.os.Handler; +import android.os.Message; +import c.i.a.c.f3.n; +import c.i.a.c.f3.p; +import java.util.Iterator; +/* compiled from: lambda */ +public final /* synthetic */ class b implements Handler.Callback { + public final /* synthetic */ p i; + + public /* synthetic */ b(p pVar) { + this.i = pVar; + } + + @Override // android.os.Handler.Callback + public final boolean handleMessage(Message message) { + p pVar = this.i; + Iterator it = pVar.d.iterator(); + while (it.hasNext()) { + p.c cVar = (p.c) it.next(); + p.b bVar = pVar.f784c; + if (!cVar.d && cVar.f785c) { + n b = cVar.b.b(); + cVar.b = new n.b(); + cVar.f785c = false; + bVar.a(cVar.a, b); + } + if (pVar.b.e(0)) { + return true; + } + } + return true; + } +} diff --git a/app/src/main/java/c/i/a/c/f3/b0.java b/app/src/main/java/c/i/a/c/f3/b0.java new file mode 100644 index 0000000000..23c21ff713 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/b0.java @@ -0,0 +1,120 @@ +package c.i.a.c.f3; + +import android.os.Handler; +import android.os.Message; +import androidx.annotation.GuardedBy; +import androidx.annotation.Nullable; +import c.i.a.c.f3.o; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +/* compiled from: SystemHandlerWrapper */ +public final class b0 implements o { + @GuardedBy("messagePool") + public static final List a = new ArrayList(50); + public final Handler b; + + /* compiled from: SystemHandlerWrapper */ + public static final class b implements o.a { + @Nullable + public Message a; + + public b() { + } + + public b(a aVar) { + } + + public final void a() { + this.a = null; + List list = b0.a; + synchronized (list) { + if (list.size() < 50) { + list.add(this); + } + } + } + + public void b() { + Message message = this.a; + Objects.requireNonNull(message); + message.sendToTarget(); + a(); + } + } + + public b0(Handler handler) { + this.b = handler; + } + + public static b k() { + b bVar; + List list = a; + synchronized (list) { + bVar = list.isEmpty() ? new b(null) : list.remove(list.size() - 1); + } + return bVar; + } + + @Override // c.i.a.c.f3.o + public o.a a(int i, int i2, int i3) { + b k = k(); + k.a = this.b.obtainMessage(i, i2, i3); + return k; + } + + @Override // c.i.a.c.f3.o + public boolean b(Runnable runnable) { + return this.b.post(runnable); + } + + @Override // c.i.a.c.f3.o + public o.a c(int i) { + b k = k(); + k.a = this.b.obtainMessage(i); + return k; + } + + @Override // c.i.a.c.f3.o + public boolean d(o.a aVar) { + b bVar = (b) aVar; + Handler handler = this.b; + Message message = bVar.a; + Objects.requireNonNull(message); + boolean sendMessageAtFrontOfQueue = handler.sendMessageAtFrontOfQueue(message); + bVar.a(); + return sendMessageAtFrontOfQueue; + } + + @Override // c.i.a.c.f3.o + public boolean e(int i) { + return this.b.hasMessages(i); + } + + @Override // c.i.a.c.f3.o + public boolean f(int i) { + return this.b.sendEmptyMessage(i); + } + + @Override // c.i.a.c.f3.o + public boolean g(int i, long j) { + return this.b.sendEmptyMessageAtTime(i, j); + } + + @Override // c.i.a.c.f3.o + public void h(int i) { + this.b.removeMessages(i); + } + + @Override // c.i.a.c.f3.o + public o.a i(int i, @Nullable Object obj) { + b k = k(); + k.a = this.b.obtainMessage(i, obj); + return k; + } + + @Override // c.i.a.c.f3.o + public void j(@Nullable Object obj) { + this.b.removeCallbacksAndMessages(null); + } +} diff --git a/app/src/main/java/c/i/a/c/f3/c.java b/app/src/main/java/c/i/a/c/f3/c.java new file mode 100644 index 0000000000..95193e1a9d --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/c.java @@ -0,0 +1,24 @@ +package c.i.a.c.f3; + +import c.i.a.c.f3.v; +/* compiled from: lambda */ +public final /* synthetic */ class c implements Runnable { + public final /* synthetic */ v i; + public final /* synthetic */ v.b j; + + public /* synthetic */ c(v vVar, v.b bVar) { + this.i = vVar; + this.j = bVar; + } + + @Override // java.lang.Runnable + public final void run() { + int i; + v vVar = this.i; + v.b bVar = this.j; + synchronized (vVar.d) { + i = vVar.e; + } + bVar.a(i); + } +} diff --git a/app/src/main/java/c/i/a/c/f3/c0.java b/app/src/main/java/c/i/a/c/f3/c0.java new file mode 100644 index 0000000000..fbeb2c5ad7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/c0.java @@ -0,0 +1,91 @@ +package c.i.a.c.f3; + +import androidx.annotation.Nullable; +import androidx.recyclerview.widget.RecyclerView; +import c.c.a.a0.d; +import java.util.Arrays; +/* compiled from: TimedValueQueue */ +public final class c0 { + public long[] a = new long[10]; + public V[] b = ((V[]) new Object[10]); + + /* renamed from: c reason: collision with root package name */ + public int f780c; + public int d; + + public synchronized void a(long j, V v) { + int i = this.d; + if (i > 0) { + if (j <= this.a[((this.f780c + i) - 1) % this.b.length]) { + b(); + } + } + c(); + int i2 = this.f780c; + int i3 = this.d; + V[] vArr = this.b; + int length = (i2 + i3) % vArr.length; + this.a[length] = j; + vArr[length] = v; + this.d = i3 + 1; + } + + public synchronized void b() { + this.f780c = 0; + this.d = 0; + Arrays.fill(this.b, (Object) null); + } + + public final void c() { + int length = this.b.length; + if (this.d >= length) { + int i = length * 2; + long[] jArr = new long[i]; + V[] vArr = (V[]) new Object[i]; + int i2 = this.f780c; + int i3 = length - i2; + System.arraycopy(this.a, i2, jArr, 0, i3); + System.arraycopy(this.b, this.f780c, vArr, 0, i3); + int i4 = this.f780c; + if (i4 > 0) { + System.arraycopy(this.a, 0, jArr, i3, i4); + System.arraycopy(this.b, 0, vArr, i3, this.f780c); + } + this.a = jArr; + this.b = vArr; + this.f780c = 0; + } + } + + @Nullable + public final V d(long j, boolean z2) { + V v = null; + long j2 = RecyclerView.FOREVER_NS; + while (this.d > 0) { + long j3 = j - this.a[this.f780c]; + if (j3 < 0 && (z2 || (-j3) >= j2)) { + break; + } + v = f(); + j2 = j3; + } + return v; + } + + @Nullable + public synchronized V e(long j) { + return d(j, true); + } + + @Nullable + public final V f() { + d.D(this.d > 0); + V[] vArr = this.b; + int i = this.f780c; + V v = vArr[i]; + vArr[i] = null; + this.f780c = (i + 1) % vArr.length; + this.d--; + return v; + } +} diff --git a/app/src/main/java/c/i/a/c/f3/d.java b/app/src/main/java/c/i/a/c/f3/d.java new file mode 100644 index 0000000000..4988da996d --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/d.java @@ -0,0 +1,16 @@ +package c.i.a.c.f3; + +import java.util.concurrent.ThreadFactory; +/* compiled from: lambda */ +public final /* synthetic */ class d implements ThreadFactory { + public final /* synthetic */ String i; + + public /* synthetic */ d(String str) { + this.i = str; + } + + @Override // java.util.concurrent.ThreadFactory + public final Thread newThread(Runnable runnable) { + return new Thread(runnable, this.i); + } +} diff --git a/app/src/main/java/c/i/a/c/f3/d0.java b/app/src/main/java/c/i/a/c/f3/d0.java new file mode 100644 index 0000000000..a2290dd4a5 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/d0.java @@ -0,0 +1,74 @@ +package c.i.a.c.f3; + +import androidx.annotation.GuardedBy; +import androidx.recyclerview.widget.RecyclerView; +import com.discord.api.permission.Permission; +import java.util.Objects; +/* compiled from: TimestampAdjuster */ +public final class d0 { + @GuardedBy("this") + public long a; + @GuardedBy("this") + public long b; + @GuardedBy("this") + + /* renamed from: c reason: collision with root package name */ + public long f781c; + public final ThreadLocal d = new ThreadLocal<>(); + + public d0(long j) { + e(j); + } + + public synchronized long a(long j) { + if (j == -9223372036854775807L) { + return -9223372036854775807L; + } + if (this.b == -9223372036854775807L) { + long j2 = this.a; + if (j2 == 9223372036854775806L) { + Long l = this.d.get(); + Objects.requireNonNull(l); + j2 = l.longValue(); + } + this.b = j2 - j; + notifyAll(); + } + this.f781c = j; + return j + this.b; + } + + public synchronized long b(long j) { + if (j == -9223372036854775807L) { + return -9223372036854775807L; + } + long j2 = this.f781c; + if (j2 != -9223372036854775807L) { + long j3 = (j2 * 90000) / 1000000; + long j4 = (Permission.REQUEST_TO_SPEAK + j3) / Permission.MANAGE_EVENTS; + long j5 = ((j4 - 1) * Permission.MANAGE_EVENTS) + j; + long j6 = (j4 * Permission.MANAGE_EVENTS) + j; + j = Math.abs(j5 - j3) < Math.abs(j6 - j3) ? j5 : j6; + } + return a((j * 1000000) / 90000); + } + + public synchronized long c() { + long j; + j = this.a; + if (j == RecyclerView.FOREVER_NS || j == 9223372036854775806L) { + j = -9223372036854775807L; + } + return j; + } + + public synchronized long d() { + return this.b; + } + + public synchronized void e(long j) { + this.a = j; + this.b = j == RecyclerView.FOREVER_NS ? 0 : -9223372036854775807L; + this.f781c = -9223372036854775807L; + } +} diff --git a/app/src/main/java/c/i/a/c/f3/e.java b/app/src/main/java/c/i/a/c/f3/e.java new file mode 100644 index 0000000000..073b1ea2a4 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/e.java @@ -0,0 +1,103 @@ +package c.i.a.c.f3; + +import android.util.Log; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +/* compiled from: AtomicFile */ +public final class e { + public final File a; + public final File b; + + /* compiled from: AtomicFile */ + public static final class a extends OutputStream { + public final FileOutputStream i; + public boolean j = false; + + public a(File file) throws FileNotFoundException { + this.i = new FileOutputStream(file); + } + + @Override // java.io.OutputStream, java.io.Closeable, java.lang.AutoCloseable + public void close() throws IOException { + if (!this.j) { + this.j = true; + this.i.flush(); + try { + this.i.getFD().sync(); + } catch (IOException e) { + q.c("AtomicFile", "Failed to sync file descriptor:", e); + } + this.i.close(); + } + } + + @Override // java.io.OutputStream, java.io.Flushable + public void flush() throws IOException { + this.i.flush(); + } + + @Override // java.io.OutputStream + public void write(int i) throws IOException { + this.i.write(i); + } + + @Override // java.io.OutputStream + public void write(byte[] bArr) throws IOException { + this.i.write(bArr); + } + + @Override // java.io.OutputStream + public void write(byte[] bArr, int i, int i2) throws IOException { + this.i.write(bArr, i, i2); + } + } + + public e(File file) { + this.a = file; + this.b = new File(String.valueOf(file.getPath()).concat(".bak")); + } + + public boolean a() { + return this.a.exists() || this.b.exists(); + } + + public InputStream b() throws FileNotFoundException { + if (this.b.exists()) { + this.a.delete(); + this.b.renameTo(this.a); + } + return new FileInputStream(this.a); + } + + public OutputStream c() throws IOException { + if (this.a.exists()) { + if (this.b.exists()) { + this.a.delete(); + } else if (!this.a.renameTo(this.b)) { + String valueOf = String.valueOf(this.a); + String valueOf2 = String.valueOf(this.b); + Log.w("AtomicFile", c.d.b.a.a.k(valueOf2.length() + valueOf.length() + 37, "Couldn't rename file ", valueOf, " to backup file ", valueOf2)); + } + } + try { + return new a(this.a); + } catch (FileNotFoundException e) { + File parentFile = this.a.getParentFile(); + if (parentFile == null || !parentFile.mkdirs()) { + String valueOf3 = String.valueOf(this.a); + throw new IOException(c.d.b.a.a.i(valueOf3.length() + 16, "Couldn't create ", valueOf3), e); + } + try { + return new a(this.a); + } catch (FileNotFoundException e2) { + String valueOf4 = String.valueOf(this.a); + throw new IOException(c.d.b.a.a.i(valueOf4.length() + 16, "Couldn't create ", valueOf4), e2); + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/f3/e0.java b/app/src/main/java/c/i/a/c/f3/e0.java new file mode 100644 index 0000000000..5d649248a9 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/e0.java @@ -0,0 +1,528 @@ +package c.i.a.c.f3; + +import android.app.UiModeManager; +import android.content.Context; +import android.database.DatabaseUtils; +import android.database.sqlite.SQLiteDatabase; +import android.os.Build; +import android.os.Handler; +import android.os.Looper; +import android.text.TextUtils; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.d.b.a.a; +import c.i.a.f.e.o.f; +import c.i.b.a.c; +import com.discord.models.domain.ModelAuditLogEntry; +import com.discord.utilities.font.FontUtils; +import com.google.android.material.behavior.HideBottomViewOnScrollBehavior; +import com.google.android.material.snackbar.BaseTransientBottomBar; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.util.Arrays; +import java.util.Formatter; +import java.util.HashMap; +import java.util.Locale; +import java.util.MissingResourceException; +import java.util.regex.Pattern; +import java.util.zip.DataFormatException; +import java.util.zip.Inflater; +/* compiled from: Util */ +public final class e0 { + public static final int a; + public static final String b; + + /* renamed from: c reason: collision with root package name */ + public static final String f782c; + public static final String d; + public static final String e; + public static final byte[] f = new byte[0]; + public static final Pattern g = Pattern.compile("%([A-Fa-f0-9]{2})"); + @Nullable + public static HashMap h; + public static final String[] i = {"alb", "sq", "arm", "hy", "baq", "eu", "bur", "my", "tib", "bo", "chi", "zh", "cze", "cs", "dut", "nl", "ger", "de", "gre", "el", "fre", "fr", "geo", "ka", "ice", "is", "mac", "mk", "mao", "mi", "may", "ms", "per", "fa", "rum", "ro", "scc", "hbs-srp", "slo", "sk", "wel", "cy", ModelAuditLogEntry.CHANGE_KEY_ID, "ms-ind", "iw", "he", "heb", "he", "ji", "yi", "in", "ms-ind", "ind", "ms-ind", "nb", "no-nob", "nob", "no-nob", "nn", "no-nno", "nno", "no-nno", "tw", "ak-twi", "twi", "ak-twi", "bs", "hbs-bos", "bos", "hbs-bos", "hr", "hbs-hrv", "hrv", "hbs-hrv", "sr", "hbs-srp", "srp", "hbs-srp", "cmn", "zh-cmn", "hak", "zh-hak", "nan", "zh-nan", "hsn", "zh-hsn"}; + public static final String[] j = {"i-lux", "lb", "i-hak", "zh-hak", "i-navajo", "nv", "no-bok", "no-nob", "no-nyn", "no-nno", "zh-guoyu", "zh-cmn", "zh-hakka", "zh-hak", "zh-min-nan", "zh-nan", "zh-xiang", "zh-hsn"}; + public static final int[] k = {0, 79764919, 159529838, 222504665, 319059676, 398814059, 445009330, 507990021, 638119352, 583659535, 797628118, 726387553, 890018660, 835552979, 1015980042, 944750013, 1276238704, 1221641927, 1167319070, 1095957929, 1595256236, 1540665371, 1452775106, 1381403509, 1780037320, 1859660671, 1671105958, 1733955601, 2031960084, 2111593891, 1889500026, 1952343757, -1742489888, -1662866601, -1851683442, -1788833735, -1960329156, -1880695413, -2103051438, -2040207643, -1104454824, -1159051537, -1213636554, -1284997759, -1389417084, -1444007885, -1532160278, -1603531939, -734892656, -789352409, -575645954, -646886583, -952755380, -1007220997, -827056094, -898286187, -231047128, -151282273, -71779514, -8804623, -515967244, -436212925, -390279782, -327299027, 881225847, 809987520, 1023691545, 969234094, 662832811, 591600412, 771767749, 717299826, 311336399, 374308984, 453813921, 533576470, 25881363, 88864420, 134795389, 214552010, 2023205639, 2086057648, 1897238633, 1976864222, 1804852699, 1867694188, 1645340341, 1724971778, 1587496639, 1516133128, 1461550545, 1406951526, 1302016099, 1230646740, 1142491917, 1087903418, -1398421865, -1469785312, -1524105735, -1578704818, -1079922613, -1151291908, -1239184603, -1293773166, -1968362705, -1905510760, -2094067647, -2014441994, -1716953613, -1654112188, -1876203875, -1796572374, -525066777, -462094256, -382327159, -302564546, -206542021, -143559028, -97365931, -17609246, -960696225, -1031934488, -817968335, -872425850, -709327229, -780559564, -600130067, -654598054, 1762451694, 1842216281, 1619975040, 1682949687, 2047383090, 2127137669, 1938468188, 2001449195, 1325665622, 1271206113, 1183200824, 1111960463, 1543535498, 1489069629, 1434599652, 1363369299, 622672798, 568075817, 748617968, 677256519, 907627842, 853037301, 1067152940, 995781531, 51762726, 131386257, 177728840, 240578815, 269590778, 349224269, 429104020, 491947555, -248556018, -168932423, -122852000, -60002089, -500490030, -420856475, -341238852, -278395381, -685261898, -739858943, -559578920, -630940305, -1004286614, -1058877219, -845023740, -916395085, -1119974018, -1174433591, -1262701040, -1333941337, -1371866206, -1426332139, -1481064244, -1552294533, -1690935098, -1611170447, -1833673816, -1770699233, -2009983462, -1930228819, -2119160460, -2056179517, 1569362073, 1498123566, 1409854455, 1355396672, 1317987909, 1246755826, 1192025387, 1137557660, 2072149281, 2135122070, 1912620623, 1992383480, 1753615357, 1816598090, 1627664531, 1707420964, 295390185, 358241886, 404320391, 483945776, 43990325, 106832002, 186451547, 266083308, 932423249, 861060070, 1041341759, 986742920, 613929101, 542559546, 756411363, 701822548, -978770311, -1050133554, -869589737, -924188512, -693284699, -764654318, -550540341, -605129092, -475935807, -413084042, -366743377, -287118056, -257573603, -194731862, -114850189, -35218492, -1984365303, -1921392450, -2143631769, -2063868976, -1698919467, -1635936670, -1824608069, -1744851700, -1347415887, -1418654458, -1506661409, -1561119128, -1129027987, -1200260134, -1254728445, -1309196108}; + public static final int[] l = {0, 7, 14, 9, 28, 27, 18, 21, 56, 63, 54, 49, 36, 35, 42, 45, 112, 119, 126, 121, 108, 107, 98, 101, 72, 79, 70, 65, 84, 83, 90, 93, 224, 231, 238, 233, 252, 251, 242, 245, 216, 223, 214, 209, 196, 195, 202, 205, 144, 151, 158, 153, 140, 139, 130, 133, 168, HideBottomViewOnScrollBehavior.EXIT_ANIMATION_DURATION, 166, 161, BaseTransientBottomBar.ANIMATION_FADE_DURATION, 179, 186, 189, 199, 192, 201, 206, 219, 220, 213, 210, 255, 248, 241, 246, 227, 228, 237, 234, 183, 176, 185, 190, 171, 172, 165, 162, 143, 136, 129, 134, 147, 148, 157, 154, 39, 32, 41, 46, 59, 60, 53, 50, 31, 24, 17, 22, 3, 4, 13, 10, 87, 80, 89, 94, 75, 76, 69, 66, 111, 104, 97, 102, 115, 116, 125, 122, 137, 142, 135, 128, 149, 146, 155, 156, 177, 182, 191, 184, 173, 170, 163, 164, 249, 254, 247, 240, 229, 226, 235, 236, 193, 198, 207, 200, 221, 218, 211, 212, 105, 110, 103, 96, 117, 114, 123, 124, 81, 86, 95, 88, 77, 74, 67, 68, 25, 30, 23, 16, 5, 2, 11, 12, 33, 38, 47, 40, 61, 58, 51, 52, 78, 73, 64, 71, 82, 85, 92, 91, 118, 113, 120, 127, 106, 109, 100, 99, 62, 57, 48, 55, 34, 37, 44, 43, 6, 1, 8, 15, 26, 29, 20, 19, 174, 169, 160, 167, 178, 181, 188, 187, FontUtils.MAX_FONT_SCALING, 145, 152, 159, 138, 141, 132, 131, 222, 217, 208, 215, 194, 197, 204, 203, 230, HideBottomViewOnScrollBehavior.ENTER_ANIMATION_DURATION, 232, 239, 250, 253, 244, 243}; + + static { + int i2 = Build.VERSION.SDK_INT; + a = i2; + String str = Build.DEVICE; + b = str; + String str2 = Build.MANUFACTURER; + f782c = str2; + String str3 = Build.MODEL; + d = str3; + StringBuilder Q = a.Q(a.b(str2, a.b(str3, a.b(str, 17))), str, ", ", str3, ", "); + Q.append(str2); + Q.append(", "); + Q.append(i2); + e = Q.toString(); + Pattern.compile("(\\d\\d\\d\\d)\\-(\\d\\d)\\-(\\d\\d)[Tt](\\d\\d):(\\d\\d):(\\d\\d)([\\.,](\\d+))?([Zz]|((\\+|\\-)(\\d?\\d):?(\\d\\d)))?"); + Pattern.compile("^(-)?P(([0-9]*)Y)?(([0-9]*)M)?(([0-9]*)D)?(T(([0-9]*)H)?(([0-9]*)M)?(([0-9.]*)S)?)?$"); + Pattern.compile(".*\\.isml?(?:/(manifest(.*))?)?"); + } + + public static boolean A(Context context) { + UiModeManager uiModeManager = (UiModeManager) context.getApplicationContext().getSystemService("uimode"); + return uiModeManager != null && uiModeManager.getCurrentModeType() == 4; + } + + public static long B(long j2) { + return (j2 == -9223372036854775807L || j2 == Long.MIN_VALUE) ? j2 : j2 * 1000; + } + + public static String C(String str) { + if (str == null) { + return null; + } + String replace = str.replace('_', '-'); + if (!replace.isEmpty() && !replace.equals("und")) { + str = replace; + } + String d1 = f.d1(str); + int i2 = 0; + String str2 = I(d1, "-")[0]; + if (h == null) { + String[] iSOLanguages = Locale.getISOLanguages(); + HashMap hashMap = new HashMap<>(iSOLanguages.length + i.length); + for (String str3 : iSOLanguages) { + try { + String iSO3Language = new Locale(str3).getISO3Language(); + if (!TextUtils.isEmpty(iSO3Language)) { + hashMap.put(iSO3Language, str3); + } + } catch (MissingResourceException unused) { + } + } + int i3 = 0; + while (true) { + String[] strArr = i; + if (i3 >= strArr.length) { + break; + } + hashMap.put(strArr[i3], strArr[i3 + 1]); + i3 += 2; + } + h = hashMap; + } + String str4 = h.get(str2); + if (str4 != null) { + String valueOf = String.valueOf(d1.substring(str2.length())); + d1 = valueOf.length() != 0 ? str4.concat(valueOf) : new String(str4); + str2 = str4; + } + if (!("no".equals(str2) || "i".equals(str2) || "zh".equals(str2))) { + return d1; + } + while (true) { + String[] strArr2 = j; + if (i2 >= strArr2.length) { + return d1; + } + if (d1.startsWith(strArr2[i2])) { + String valueOf2 = String.valueOf(strArr2[i2 + 1]); + String valueOf3 = String.valueOf(d1.substring(strArr2[i2].length())); + return valueOf3.length() != 0 ? valueOf2.concat(valueOf3) : new String(valueOf2); + } + i2 += 2; + } + } + + public static T[] D(T[] tArr, int i2) { + d.j(i2 <= tArr.length); + return (T[]) Arrays.copyOf(tArr, i2); + } + + public static boolean E(Handler handler, Runnable runnable) { + if (!handler.getLooper().getThread().isAlive()) { + return false; + } + if (handler.getLooper() != Looper.myLooper()) { + return handler.post(runnable); + } + runnable.run(); + return true; + } + + public static long F(long j2, long j3, long j4) { + int i2 = (j4 > j3 ? 1 : (j4 == j3 ? 0 : -1)); + if (i2 >= 0 && j4 % j3 == 0) { + return j2 / (j4 / j3); + } + if (i2 < 0 && j3 % j4 == 0) { + return (j3 / j4) * j2; + } + return (long) (((double) j2) * (((double) j3) / ((double) j4))); + } + + public static void G(long[] jArr, long j2, long j3) { + int i2 = 0; + int i3 = (j3 > j2 ? 1 : (j3 == j2 ? 0 : -1)); + if (i3 >= 0 && j3 % j2 == 0) { + long j4 = j3 / j2; + while (i2 < jArr.length) { + jArr[i2] = jArr[i2] / j4; + i2++; + } + } else if (i3 >= 0 || j2 % j3 != 0) { + double d2 = ((double) j2) / ((double) j3); + while (i2 < jArr.length) { + jArr[i2] = (long) (((double) jArr[i2]) * d2); + i2++; + } + } else { + long j5 = j2 / j3; + while (i2 < jArr.length) { + jArr[i2] = jArr[i2] * j5; + i2++; + } + } + } + + public static String[] H(String str, String str2) { + return str.split(str2, -1); + } + + public static String[] I(String str, String str2) { + return str.split(str2, 2); + } + + public static boolean J(SQLiteDatabase sQLiteDatabase, String str) { + return DatabaseUtils.queryNumEntries(sQLiteDatabase, "sqlite_master", "tbl_name = ?", new String[]{str}) > 0; + } + + public static byte[] K(InputStream inputStream) throws IOException { + byte[] bArr = new byte[4096]; + ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); + while (true) { + int read = inputStream.read(bArr); + if (read == -1) { + return byteArrayOutputStream.toByteArray(); + } + byteArrayOutputStream.write(bArr, 0, read); + } + } + + public static long L(int i2) { + return ((long) i2) & 4294967295L; + } + + public static long M(long j2) { + return (j2 == -9223372036854775807L || j2 == Long.MIN_VALUE) ? j2 : j2 / 1000; + } + + public static boolean a(@Nullable Object obj, @Nullable Object obj2) { + return obj == null ? obj2 == null : obj.equals(obj2); + } + + public static int b(long[] jArr, long j2, boolean z2, boolean z3) { + int i2; + int binarySearch = Arrays.binarySearch(jArr, j2); + if (binarySearch < 0) { + i2 = ~binarySearch; + } else { + do { + binarySearch++; + if (binarySearch >= jArr.length) { + break; + } + } while (jArr[binarySearch] == j2); + i2 = z2 ? binarySearch - 1 : binarySearch; + } + return z3 ? Math.min(jArr.length - 1, i2) : i2; + } + + public static int c(r rVar, long j2, boolean z2, boolean z3) { + int i2; + int i3 = rVar.a - 1; + int i4 = 0; + while (i4 <= i3) { + int i5 = (i4 + i3) >>> 1; + if (rVar.b(i5) < j2) { + i4 = i5 + 1; + } else { + i3 = i5 - 1; + } + } + if (z2 && (i2 = i3 + 1) < rVar.a && rVar.b(i2) == j2) { + return i2; + } + if (!z3 || i3 != -1) { + return i3; + } + return 0; + } + + public static int d(int[] iArr, int i2, boolean z2, boolean z3) { + int i3; + int binarySearch = Arrays.binarySearch(iArr, i2); + if (binarySearch < 0) { + i3 = -(binarySearch + 2); + } else { + do { + binarySearch--; + if (binarySearch < 0) { + break; + } + } while (iArr[binarySearch] == i2); + i3 = z2 ? binarySearch + 1 : binarySearch; + } + return z3 ? Math.max(0, i3) : i3; + } + + public static int e(long[] jArr, long j2, boolean z2, boolean z3) { + int i2; + int binarySearch = Arrays.binarySearch(jArr, j2); + if (binarySearch < 0) { + i2 = -(binarySearch + 2); + } else { + do { + binarySearch--; + if (binarySearch < 0) { + break; + } + } while (jArr[binarySearch] == j2); + i2 = z2 ? binarySearch + 1 : binarySearch; + } + return z3 ? Math.max(0, i2) : i2; + } + + public static int f(int i2, int i3) { + return ((i2 + i3) - 1) / i3; + } + + public static float g(float f2, float f3, float f4) { + return Math.max(f3, Math.min(f2, f4)); + } + + public static int h(int i2, int i3, int i4) { + return Math.max(i3, Math.min(i2, i4)); + } + + public static long i(long j2, long j3, long j4) { + return Math.max(j3, Math.min(j2, j4)); + } + + public static Handler j() { + Looper myLooper = Looper.myLooper(); + d.H(myLooper); + return new Handler(myLooper, null); + } + + public static String k(String str, Object... objArr) { + return String.format(Locale.US, str, objArr); + } + + public static String l(byte[] bArr) { + return new String(bArr, c.f1307c); + } + + public static String m(byte[] bArr, int i2, int i3) { + return new String(bArr, i2, i3, c.f1307c); + } + + public static int n(int i2) { + switch (i2) { + case 1: + return 4; + case 2: + return 12; + case 3: + return 28; + case 4: + return 204; + case 5: + return 220; + case 6: + return 252; + case 7: + return 1276; + case 8: + int i3 = a; + return (i3 < 23 && i3 < 21) ? 0 : 6396; + default: + return 0; + } + } + + public static Looper o() { + Looper myLooper = Looper.myLooper(); + return myLooper != null ? myLooper : Looper.getMainLooper(); + } + + public static int p(int i2) { + if (i2 == 2 || i2 == 4) { + return 6005; + } + if (i2 == 10) { + return 6004; + } + if (i2 == 7) { + return 6005; + } + if (i2 == 8) { + return 6003; + } + switch (i2) { + case 15: + return 6003; + case 16: + case 18: + return 6005; + case 17: + case 19: + case 20: + case 21: + case 22: + return 6004; + default: + switch (i2) { + case 24: + case 25: + case 26: + case 27: + case 28: + return 6002; + default: + return 6006; + } + } + } + + public static long q(long j2, float f2) { + return f2 == 1.0f ? j2 : Math.round(((double) j2) * ((double) f2)); + } + + public static int r(int i2) { + if (i2 == 8) { + return 3; + } + if (i2 == 16) { + return 2; + } + if (i2 != 24) { + return i2 != 32 ? 0 : 805306368; + } + return 536870912; + } + + public static int s(int i2, int i3) { + if (i2 != 2) { + if (i2 == 3) { + return i3; + } + if (i2 != 4) { + if (i2 != 268435456) { + if (i2 == 536870912) { + return i3 * 3; + } + if (i2 != 805306368) { + throw new IllegalArgumentException(); + } + } + } + return i3 * 4; + } + return i3 * 2; + } + + public static int t(int i2) { + if (i2 == 13) { + return 1; + } + switch (i2) { + case 2: + return 0; + case 3: + return 8; + case 4: + return 4; + case 5: + case 7: + case 8: + case 9: + case 10: + return 5; + case 6: + return 2; + default: + return 3; + } + } + + public static String u(StringBuilder sb, Formatter formatter, long j2) { + if (j2 == -9223372036854775807L) { + j2 = 0; + } + String str = j2 < 0 ? "-" : ""; + long abs = (Math.abs(j2) + 500) / 1000; + long j3 = abs % 60; + long j4 = (abs / 60) % 60; + long j5 = abs / 3600; + sb.setLength(0); + return j5 > 0 ? formatter.format("%s%d:%02d:%02d", str, Long.valueOf(j5), Long.valueOf(j4), Long.valueOf(j3)).toString() : formatter.format("%s%02d:%02d", str, Long.valueOf(j4), Long.valueOf(j3)).toString(); + } + + @Nullable + public static String v(String str) { + try { + Class cls = Class.forName("android.os.SystemProperties"); + return (String) cls.getMethod("get", String.class).invoke(cls, str); + } catch (Exception e2) { + q.b("Util", str.length() != 0 ? "Failed to read system property ".concat(str) : new String("Failed to read system property "), e2); + return null; + } + } + + public static byte[] w(String str) { + return str.getBytes(c.f1307c); + } + + public static boolean x(x xVar, x xVar2, @Nullable Inflater inflater) { + if (xVar.a() <= 0) { + return false; + } + if (xVar2.a.length < xVar.a()) { + xVar2.b(xVar.a() * 2); + } + if (inflater == null) { + inflater = new Inflater(); + } + inflater.setInput(xVar.a, xVar.b, xVar.a()); + int i2 = 0; + while (true) { + try { + byte[] bArr = xVar2.a; + i2 += inflater.inflate(bArr, i2, bArr.length - i2); + } catch (DataFormatException unused) { + return false; + } finally { + inflater.reset(); + } + if (inflater.finished()) { + xVar2.D(i2); + inflater.reset(); + return true; + } else if (inflater.needsDictionary() || inflater.needsInput()) { + break; + } else { + byte[] bArr2 = xVar2.a; + if (i2 == bArr2.length) { + xVar2.b(bArr2.length * 2); + } + } + } + return false; + } + + public static boolean y(int i2) { + return i2 == 536870912 || i2 == 805306368 || i2 == 4; + } + + public static boolean z(int i2) { + return i2 == 3 || i2 == 2 || i2 == 268435456 || i2 == 536870912 || i2 == 805306368 || i2 == 4; + } +} diff --git a/app/src/main/java/c/i/a/c/f3/f.java b/app/src/main/java/c/i/a/c/f3/f.java new file mode 100644 index 0000000000..8ce20816fe --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/f.java @@ -0,0 +1,47 @@ +package c.i.a.c.f3; + +import android.os.Bundle; +import androidx.annotation.Nullable; +import c.i.a.c.w0; +import c.i.b.b.a; +import c.i.b.b.n; +import c.i.b.b.p; +import java.util.Arrays; +import java.util.List; +import java.util.Objects; +/* compiled from: BundleableUtil */ +public final class f { + public static p a(w0.a aVar, List list) { + a aVar2 = p.j; + c.i.a.f.e.o.f.v(4, "initialCapacity"); + Object[] objArr = new Object[4]; + int i = 0; + int i2 = 0; + while (i < list.size()) { + Bundle bundle = list.get(i); + Objects.requireNonNull(bundle); + T a = aVar.a(bundle); + Objects.requireNonNull(a); + int i3 = i2 + 1; + if (objArr.length < i3) { + objArr = Arrays.copyOf(objArr, n.b.a(objArr.length, i3)); + } + objArr[i2] = a; + i++; + i2 = i3; + } + return p.l(objArr, i2); + } + + public static List b(w0.a aVar, @Nullable List list, List list2) { + return list == null ? list2 : a(aVar, list); + } + + @Nullable + public static T c(w0.a aVar, @Nullable Bundle bundle) { + if (bundle == null) { + return null; + } + return aVar.a(bundle); + } +} diff --git a/app/src/main/java/c/i/a/c/f3/g.java b/app/src/main/java/c/i/a/c/f3/g.java new file mode 100644 index 0000000000..2fb3cfe795 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/g.java @@ -0,0 +1,17 @@ +package c.i.a.c.f3; + +import android.os.Handler; +import android.os.Looper; +import androidx.annotation.Nullable; +/* compiled from: Clock */ +public interface g { + public static final g a = new a0(); + + long a(); + + o b(Looper looper, @Nullable Handler.Callback callback); + + void c(); + + long d(); +} diff --git a/app/src/main/java/c/i/a/c/f3/h.java b/app/src/main/java/c/i/a/c/f3/h.java new file mode 100644 index 0000000000..2d0f69fb57 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/h.java @@ -0,0 +1,35 @@ +package c.i.a.c.f3; + +import androidx.exifinterface.media.ExifInterface; +/* compiled from: CodecSpecificDataUtil */ +public final class h { + public static final byte[] a = {0, 0, 0, 1}; + public static final String[] b = {"", ExifInterface.GPS_MEASUREMENT_IN_PROGRESS, "B", "C"}; + + public static String a(int i, int i2, int i3) { + return String.format("avc1.%02X%02X%02X", Integer.valueOf(i), Integer.valueOf(i2), Integer.valueOf(i3)); + } + + /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0026: APUT + (r1v1 java.lang.Object[]) + (3 ??[int, float, short, byte, char]) + (wrap: java.lang.Character : 0x0021: INVOKE (r3v5 java.lang.Character) = (r3v4 char) type: STATIC call: java.lang.Character.valueOf(char):java.lang.Character) + */ + public static String b(int i, boolean z2, int i2, int i3, int[] iArr, int i4) { + Object[] objArr = new Object[5]; + objArr[0] = b[i]; + objArr[1] = Integer.valueOf(i2); + objArr[2] = Integer.valueOf(i3); + objArr[3] = Character.valueOf(z2 ? 'H' : 'L'); + objArr[4] = Integer.valueOf(i4); + StringBuilder sb = new StringBuilder(e0.k("hvc1.%s%d.%X.%c%d", objArr)); + int length = iArr.length; + while (length > 0 && iArr[length - 1] == 0) { + length--; + } + for (int i5 = 0; i5 < length; i5++) { + sb.append(String.format(".%02X", Integer.valueOf(iArr[i5]))); + } + return sb.toString(); + } +} diff --git a/app/src/main/java/c/i/a/c/f3/i.java b/app/src/main/java/c/i/a/c/f3/i.java new file mode 100644 index 0000000000..5a23840cce --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/i.java @@ -0,0 +1,166 @@ +package c.i.a.c.f3; + +import android.graphics.Color; +import android.text.TextUtils; +import androidx.annotation.ColorInt; +import androidx.core.internal.view.SupportMenu; +import androidx.core.view.InputDeviceCompat; +import androidx.core.view.ViewCompat; +import c.c.a.a0.d; +import c.d.b.a.a; +import c.i.a.f.e.o.f; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +/* compiled from: ColorParser */ +public final class i { + public static final Pattern a = Pattern.compile("^rgb\\((\\d{1,3}),(\\d{1,3}),(\\d{1,3})\\)$"); + public static final Pattern b = Pattern.compile("^rgba\\((\\d{1,3}),(\\d{1,3}),(\\d{1,3}),(\\d{1,3})\\)$"); + + /* renamed from: c reason: collision with root package name */ + public static final Pattern f783c = Pattern.compile("^rgba\\((\\d{1,3}),(\\d{1,3}),(\\d{1,3}),(\\d*\\.?\\d*?)\\)$"); + public static final Map d; + + static { + HashMap hashMap = new HashMap(); + d = hashMap; + hashMap.put("aliceblue", -984833); + hashMap.put("antiquewhite", -332841); + hashMap.put("aqua", -16711681); + a.h0(-8388652, hashMap, "aquamarine", -983041, "azure", -657956, "beige", -6972, "bisque"); + a.h0(ViewCompat.MEASURED_STATE_MASK, hashMap, "black", -5171, "blanchedalmond", -16776961, "blue", -7722014, "blueviolet"); + a.h0(-5952982, hashMap, "brown", -2180985, "burlywood", -10510688, "cadetblue", -8388864, "chartreuse"); + a.h0(-2987746, hashMap, "chocolate", -32944, "coral", -10185235, "cornflowerblue", -1828, "cornsilk"); + hashMap.put("crimson", -2354116); + hashMap.put("cyan", -16711681); + hashMap.put("darkblue", -16777077); + hashMap.put("darkcyan", -16741493); + hashMap.put("darkgoldenrod", -4684277); + hashMap.put("darkgray", -5658199); + hashMap.put("darkgreen", -16751616); + hashMap.put("darkgrey", -5658199); + hashMap.put("darkkhaki", -4343957); + a.h0(-7667573, hashMap, "darkmagenta", -11179217, "darkolivegreen", -29696, "darkorange", -6737204, "darkorchid"); + a.h0(-7667712, hashMap, "darkred", -1468806, "darksalmon", -7357297, "darkseagreen", -12042869, "darkslateblue"); + hashMap.put("darkslategray", -13676721); + hashMap.put("darkslategrey", -13676721); + hashMap.put("darkturquoise", -16724271); + hashMap.put("darkviolet", -7077677); + hashMap.put("deeppink", -60269); + hashMap.put("deepskyblue", -16728065); + hashMap.put("dimgray", -9868951); + hashMap.put("dimgrey", -9868951); + a.h0(-14774017, hashMap, "dodgerblue", -5103070, "firebrick", -1296, "floralwhite", -14513374, "forestgreen"); + hashMap.put("fuchsia", -65281); + hashMap.put("gainsboro", -2302756); + hashMap.put("ghostwhite", -460545); + hashMap.put("gold", -10496); + hashMap.put("goldenrod", -2448096); + hashMap.put("gray", -8355712); + hashMap.put("green", -16744448); + hashMap.put("greenyellow", -5374161); + hashMap.put("grey", -8355712); + a.h0(-983056, hashMap, "honeydew", -38476, "hotpink", -3318692, "indianred", -11861886, "indigo"); + a.h0(-16, hashMap, "ivory", -989556, "khaki", -1644806, "lavender", -3851, "lavenderblush"); + a.h0(-8586240, hashMap, "lawngreen", -1331, "lemonchiffon", -5383962, "lightblue", -1015680, "lightcoral"); + hashMap.put("lightcyan", -2031617); + hashMap.put("lightgoldenrodyellow", -329006); + hashMap.put("lightgray", -2894893); + hashMap.put("lightgreen", -7278960); + hashMap.put("lightgrey", -2894893); + hashMap.put("lightpink", -18751); + hashMap.put("lightsalmon", -24454); + hashMap.put("lightseagreen", -14634326); + hashMap.put("lightskyblue", -7876870); + hashMap.put("lightslategray", -8943463); + hashMap.put("lightslategrey", -8943463); + hashMap.put("lightsteelblue", -5192482); + hashMap.put("lightyellow", -32); + hashMap.put("lime", -16711936); + hashMap.put("limegreen", -13447886); + hashMap.put("linen", -331546); + hashMap.put("magenta", -65281); + hashMap.put("maroon", -8388608); + hashMap.put("mediumaquamarine", -10039894); + a.h0(-16777011, hashMap, "mediumblue", -4565549, "mediumorchid", -7114533, "mediumpurple", -12799119, "mediumseagreen"); + a.h0(-8689426, hashMap, "mediumslateblue", -16713062, "mediumspringgreen", -12004916, "mediumturquoise", -3730043, "mediumvioletred"); + a.h0(-15132304, hashMap, "midnightblue", -655366, "mintcream", -6943, "mistyrose", -6987, "moccasin"); + a.h0(-8531, hashMap, "navajowhite", -16777088, "navy", -133658, "oldlace", -8355840, "olive"); + a.h0(-9728477, hashMap, "olivedrab", -23296, "orange", -47872, "orangered", -2461482, "orchid"); + a.h0(-1120086, hashMap, "palegoldenrod", -6751336, "palegreen", -5247250, "paleturquoise", -2396013, "palevioletred"); + a.h0(-4139, hashMap, "papayawhip", -9543, "peachpuff", -3308225, "peru", -16181, "pink"); + a.h0(-2252579, hashMap, "plum", -5185306, "powderblue", -8388480, "purple", -10079335, "rebeccapurple"); + a.h0(SupportMenu.CATEGORY_MASK, hashMap, "red", -4419697, "rosybrown", -12490271, "royalblue", -7650029, "saddlebrown"); + a.h0(-360334, hashMap, "salmon", -744352, "sandybrown", -13726889, "seagreen", -2578, "seashell"); + a.h0(-6270419, hashMap, "sienna", -4144960, "silver", -7876885, "skyblue", -9807155, "slateblue"); + hashMap.put("slategray", -9404272); + hashMap.put("slategrey", -9404272); + hashMap.put("snow", -1286); + hashMap.put("springgreen", -16711809); + a.h0(-12156236, hashMap, "steelblue", -2968436, "tan", -16744320, "teal", -2572328, "thistle"); + a.h0(-40121, hashMap, "tomato", 0, "transparent", -12525360, "turquoise", -1146130, "violet"); + a.h0(-663885, hashMap, "wheat", -1, "white", -657931, "whitesmoke", InputDeviceCompat.SOURCE_ANY, "yellow"); + hashMap.put("yellowgreen", -6632142); + } + + @ColorInt + public static int a(String str, boolean z2) { + int i; + d.j(!TextUtils.isEmpty(str)); + String replace = str.replace(" ", ""); + if (replace.charAt(0) == '#') { + int parseLong = (int) Long.parseLong(replace.substring(1), 16); + if (replace.length() == 7) { + return -16777216 | parseLong; + } + if (replace.length() == 9) { + return ((parseLong & 255) << 24) | (parseLong >>> 8); + } + throw new IllegalArgumentException(); + } + if (replace.startsWith("rgba")) { + Matcher matcher = (z2 ? f783c : b).matcher(replace); + if (matcher.matches()) { + if (z2) { + String group = matcher.group(4); + Objects.requireNonNull(group); + i = (int) (Float.parseFloat(group) * 255.0f); + } else { + String group2 = matcher.group(4); + Objects.requireNonNull(group2); + i = Integer.parseInt(group2, 10); + } + String group3 = matcher.group(1); + Objects.requireNonNull(group3); + int parseInt = Integer.parseInt(group3, 10); + String group4 = matcher.group(2); + Objects.requireNonNull(group4); + int parseInt2 = Integer.parseInt(group4, 10); + String group5 = matcher.group(3); + Objects.requireNonNull(group5); + return Color.argb(i, parseInt, parseInt2, Integer.parseInt(group5, 10)); + } + } else if (replace.startsWith("rgb")) { + Matcher matcher2 = a.matcher(replace); + if (matcher2.matches()) { + String group6 = matcher2.group(1); + Objects.requireNonNull(group6); + int parseInt3 = Integer.parseInt(group6, 10); + String group7 = matcher2.group(2); + Objects.requireNonNull(group7); + int parseInt4 = Integer.parseInt(group7, 10); + String group8 = matcher2.group(3); + Objects.requireNonNull(group8); + return Color.rgb(parseInt3, parseInt4, Integer.parseInt(group8, 10)); + } + } else { + Integer num = d.get(f.d1(replace)); + if (num != null) { + return num.intValue(); + } + } + throw new IllegalArgumentException(); + } +} diff --git a/app/src/main/java/c/i/a/c/f3/j.java b/app/src/main/java/c/i/a/c/f3/j.java new file mode 100644 index 0000000000..df06945f18 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/j.java @@ -0,0 +1,22 @@ +package c.i.a.c.f3; +/* compiled from: ConditionVariable */ +public class j { + public final g a = g.a; + public boolean b; + + public synchronized boolean a() { + boolean z2; + z2 = this.b; + this.b = false; + return z2; + } + + public synchronized boolean b() { + if (this.b) { + return false; + } + this.b = true; + notifyAll(); + return true; + } +} diff --git a/app/src/main/java/c/i/a/c/f3/k.java b/app/src/main/java/c/i/a/c/f3/k.java new file mode 100644 index 0000000000..63f82e4817 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/k.java @@ -0,0 +1,5 @@ +package c.i.a.c.f3; +/* compiled from: Consumer */ +public interface k { + void accept(T t); +} diff --git a/app/src/main/java/c/i/a/c/f3/l.java b/app/src/main/java/c/i/a/c/f3/l.java new file mode 100644 index 0000000000..5e624abd4e --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/l.java @@ -0,0 +1,36 @@ +package c.i.a.c.f3; + +import androidx.annotation.GuardedBy; +import java.util.Collections; +import java.util.HashMap; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.Set; +/* compiled from: CopyOnWriteMultiset */ +public final class l implements Iterable { + public final Object i = new Object(); + @GuardedBy("lock") + public final Map j = new HashMap(); + @GuardedBy("lock") + public Set k = Collections.emptySet(); + @GuardedBy("lock") + public List l = Collections.emptyList(); + + public int c(E e) { + int intValue; + synchronized (this.i) { + intValue = this.j.containsKey(e) ? this.j.get(e).intValue() : 0; + } + return intValue; + } + + @Override // java.lang.Iterable + public Iterator iterator() { + Iterator it; + synchronized (this.i) { + it = this.l.iterator(); + } + return it; + } +} diff --git a/app/src/main/java/c/i/a/c/f3/m.java b/app/src/main/java/c/i/a/c/f3/m.java new file mode 100644 index 0000000000..686fc947d5 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/m.java @@ -0,0 +1,8 @@ +package c.i.a.c.f3; + +import android.util.Pair; +import java.lang.Throwable; +/* compiled from: ErrorMessageProvider */ +public interface m { + Pair a(T t); +} diff --git a/app/src/main/java/c/i/a/c/f3/n.java b/app/src/main/java/c/i/a/c/f3/n.java new file mode 100644 index 0000000000..f81e96324a --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/n.java @@ -0,0 +1,77 @@ +package c.i.a.c.f3; + +import android.util.SparseBooleanArray; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +/* compiled from: FlagSet */ +public final class n { + public final SparseBooleanArray a; + + /* compiled from: FlagSet */ + public static final class b { + public final SparseBooleanArray a = new SparseBooleanArray(); + public boolean b; + + public b a(int i) { + d.D(!this.b); + this.a.append(i, true); + return this; + } + + public n b() { + d.D(!this.b); + this.b = true; + return new n(this.a, null); + } + } + + public n(SparseBooleanArray sparseBooleanArray, a aVar) { + this.a = sparseBooleanArray; + } + + public boolean a(int i) { + return this.a.get(i); + } + + public int b(int i) { + d.t(i, 0, c()); + return this.a.keyAt(i); + } + + public int c() { + return this.a.size(); + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof n)) { + return false; + } + n nVar = (n) obj; + if (e0.a >= 24) { + return this.a.equals(nVar.a); + } + if (c() != nVar.c()) { + return false; + } + for (int i = 0; i < c(); i++) { + if (b(i) != nVar.b(i)) { + return false; + } + } + return true; + } + + public int hashCode() { + if (e0.a >= 24) { + return this.a.hashCode(); + } + int c2 = c(); + for (int i = 0; i < c(); i++) { + c2 = (c2 * 31) + b(i); + } + return c2; + } +} diff --git a/app/src/main/java/c/i/a/c/f3/o.java b/app/src/main/java/c/i/a/c/f3/o.java new file mode 100644 index 0000000000..debd37e0b0 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/o.java @@ -0,0 +1,30 @@ +package c.i.a.c.f3; + +import androidx.annotation.Nullable; +/* compiled from: HandlerWrapper */ +public interface o { + + /* compiled from: HandlerWrapper */ + public interface a { + } + + a a(int i, int i2, int i3); + + boolean b(Runnable runnable); + + a c(int i); + + boolean d(a aVar); + + boolean e(int i); + + boolean f(int i); + + boolean g(int i, long j); + + void h(int i); + + a i(int i, @Nullable Object obj); + + void j(@Nullable Object obj); +} diff --git a/app/src/main/java/c/i/a/c/f3/p.java b/app/src/main/java/c/i/a/c/f3/p.java new file mode 100644 index 0000000000..4e851a1776 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/p.java @@ -0,0 +1,101 @@ +package c.i.a.c.f3; + +import android.os.Looper; +import androidx.annotation.Nullable; +import c.i.a.c.f3.n; +import java.util.ArrayDeque; +import java.util.Iterator; +import java.util.concurrent.CopyOnWriteArraySet; +/* compiled from: ListenerSet */ +public final class p { + public final g a; + public final o b; + + /* renamed from: c reason: collision with root package name */ + public final b f784c; + public final CopyOnWriteArraySet> d; + public final ArrayDeque e = new ArrayDeque<>(); + public final ArrayDeque f = new ArrayDeque<>(); + public boolean g; + + /* compiled from: ListenerSet */ + public interface a { + void invoke(T t); + } + + /* compiled from: ListenerSet */ + public interface b { + void a(T t, n nVar); + } + + /* compiled from: ListenerSet */ + public static final class c { + public final T a; + public n.b b = new n.b(); + + /* renamed from: c reason: collision with root package name */ + public boolean f785c; + public boolean d; + + public c(T t) { + this.a = t; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || c.class != obj.getClass()) { + return false; + } + return this.a.equals(((c) obj).a); + } + + public int hashCode() { + return this.a.hashCode(); + } + } + + public p(CopyOnWriteArraySet> copyOnWriteArraySet, Looper looper, g gVar, b bVar) { + this.a = gVar; + this.d = copyOnWriteArraySet; + this.f784c = bVar; + this.b = gVar.b(looper, new b(this)); + } + + public void a() { + if (!this.f.isEmpty()) { + if (!this.b.e(0)) { + o oVar = this.b; + oVar.d(oVar.c(0)); + } + boolean z2 = !this.e.isEmpty(); + this.e.addAll(this.f); + this.f.clear(); + if (!z2) { + while (!this.e.isEmpty()) { + this.e.peekFirst().run(); + this.e.removeFirst(); + } + } + } + } + + public void b(int i, a aVar) { + this.f.add(new a(new CopyOnWriteArraySet(this.d), i, aVar)); + } + + public void c() { + Iterator> it = this.d.iterator(); + while (it.hasNext()) { + c next = it.next(); + b bVar = this.f784c; + next.d = true; + if (next.f785c) { + bVar.a(next.a, next.b.b()); + } + } + this.d.clear(); + this.g = true; + } +} diff --git a/app/src/main/java/c/i/a/c/f3/q.java b/app/src/main/java/c/i/a/c/f3/q.java new file mode 100644 index 0000000000..71df92458d --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/q.java @@ -0,0 +1,53 @@ +package c.i.a.c.f3; + +import android.text.TextUtils; +import android.util.Log; +import androidx.annotation.Nullable; +import java.net.UnknownHostException; +import org.checkerframework.dataflow.qual.Pure; +/* compiled from: Log */ +public final class q { + @Pure + public static String a(String str, @Nullable Throwable th) { + String str2; + boolean z2; + if (th == null) { + str2 = null; + } else { + Throwable th2 = th; + while (true) { + if (th2 == null) { + z2 = false; + break; + } else if (th2 instanceof UnknownHostException) { + z2 = true; + break; + } else { + th2 = th2.getCause(); + } + } + str2 = z2 ? "UnknownHostException (no network)" : Log.getStackTraceString(th).trim().replace("\t", " "); + } + if (TextUtils.isEmpty(str2)) { + return str; + } + String valueOf = String.valueOf(str); + String replace = str2.replace("\n", "\n "); + StringBuilder sb = new StringBuilder(String.valueOf(replace).length() + valueOf.length() + 4); + sb.append(valueOf); + sb.append("\n "); + sb.append(replace); + sb.append('\n'); + return sb.toString(); + } + + @Pure + public static void b(String str, String str2, @Nullable Throwable th) { + Log.e(str, a(str2, th)); + } + + @Pure + public static void c(String str, String str2, @Nullable Throwable th) { + Log.w(str, a(str2, th)); + } +} diff --git a/app/src/main/java/c/i/a/c/f3/r.java b/app/src/main/java/c/i/a/c/f3/r.java new file mode 100644 index 0000000000..35d85b7fa4 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/r.java @@ -0,0 +1,28 @@ +package c.i.a.c.f3; + +import c.d.b.a.a; +import java.util.Arrays; +/* compiled from: LongArray */ +public final class r { + public int a; + public long[] b = new long[32]; + + public void a(long j) { + int i = this.a; + long[] jArr = this.b; + if (i == jArr.length) { + this.b = Arrays.copyOf(jArr, i * 2); + } + long[] jArr2 = this.b; + int i2 = this.a; + this.a = i2 + 1; + jArr2[i2] = j; + } + + public long b(int i) { + if (i >= 0 && i < this.a) { + return this.b[i]; + } + throw new IndexOutOfBoundsException(a.g(46, "Invalid index ", i, ", size is ", this.a)); + } +} diff --git a/app/src/main/java/c/i/a/c/f3/s.java b/app/src/main/java/c/i/a/c/f3/s.java new file mode 100644 index 0000000000..9f1ab8ef26 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/s.java @@ -0,0 +1,11 @@ +package c.i.a.c.f3; + +import c.i.a.c.x1; +/* compiled from: MediaClock */ +public interface s { + x1 c(); + + long e(); + + void i(x1 x1Var); +} diff --git a/app/src/main/java/c/i/a/c/f3/t.java b/app/src/main/java/c/i/a/c/f3/t.java new file mode 100644 index 0000000000..b07c4a40c3 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/t.java @@ -0,0 +1,460 @@ +package c.i.a.c.f3; + +import android.text.TextUtils; +import androidx.annotation.Nullable; +import androidx.annotation.VisibleForTesting; +import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; +import androidx.core.app.NotificationCompat; +import c.i.a.f.e.o.f; +import java.util.ArrayList; +import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import org.webrtc.MediaStreamTrack; +/* compiled from: MimeTypes */ +public final class t { + public static final ArrayList a = new ArrayList<>(); + public static final Pattern b = Pattern.compile("^mp4a\\.([a-zA-Z0-9]{2})(?:\\.([0-9]{1,2}))?$"); + + /* compiled from: MimeTypes */ + public static final class a { + } + + /* compiled from: MimeTypes */ + @VisibleForTesting + public static final class b { + public final int a; + public final int b; + + public b(int i, int i2) { + this.a = i; + this.b = i2; + } + + public int a() { + int i = this.b; + if (i == 2) { + return 10; + } + if (i == 5) { + return 11; + } + if (i == 29) { + return 12; + } + if (i != 42) { + return i != 22 ? i != 23 ? 0 : 15 : BasicMeasure.EXACTLY; + } + return 16; + } + } + + public static boolean a(@Nullable String str, @Nullable String str2) { + b e; + int a2; + if (str == null) { + return false; + } + char c2 = 65535; + switch (str.hashCode()) { + case -2123537834: + if (str.equals("audio/eac3-joc")) { + c2 = 0; + break; + } + break; + case -432837260: + if (str.equals("audio/mpeg-L1")) { + c2 = 1; + break; + } + break; + case -432837259: + if (str.equals("audio/mpeg-L2")) { + c2 = 2; + break; + } + break; + case -53558318: + if (str.equals("audio/mp4a-latm")) { + c2 = 3; + break; + } + break; + case 187078296: + if (str.equals("audio/ac3")) { + c2 = 4; + break; + } + break; + case 187094639: + if (str.equals("audio/raw")) { + c2 = 5; + break; + } + break; + case 1504578661: + if (str.equals("audio/eac3")) { + c2 = 6; + break; + } + break; + case 1504619009: + if (str.equals("audio/flac")) { + c2 = 7; + break; + } + break; + case 1504831518: + if (str.equals("audio/mpeg")) { + c2 = '\b'; + break; + } + break; + case 1903231877: + if (str.equals("audio/g711-alaw")) { + c2 = '\t'; + break; + } + break; + case 1903589369: + if (str.equals("audio/g711-mlaw")) { + c2 = '\n'; + break; + } + break; + } + switch (c2) { + case 0: + case 1: + case 2: + case 4: + case 5: + case 6: + case 7: + case '\b': + case '\t': + case '\n': + return true; + case 3: + return (str2 == null || (e = e(str2)) == null || (a2 = e.a()) == 0 || a2 == 16) ? false : true; + default: + return false; + } + } + + public static int b(String str, @Nullable String str2) { + b e; + char c2 = 65535; + switch (str.hashCode()) { + case -2123537834: + if (str.equals("audio/eac3-joc")) { + c2 = 0; + break; + } + break; + case -1095064472: + if (str.equals("audio/vnd.dts")) { + c2 = 1; + break; + } + break; + case -53558318: + if (str.equals("audio/mp4a-latm")) { + c2 = 2; + break; + } + break; + case 187078296: + if (str.equals("audio/ac3")) { + c2 = 3; + break; + } + break; + case 187078297: + if (str.equals("audio/ac4")) { + c2 = 4; + break; + } + break; + case 1504578661: + if (str.equals("audio/eac3")) { + c2 = 5; + break; + } + break; + case 1504831518: + if (str.equals("audio/mpeg")) { + c2 = 6; + break; + } + break; + case 1505942594: + if (str.equals("audio/vnd.dts.hd")) { + c2 = 7; + break; + } + break; + case 1556697186: + if (str.equals("audio/true-hd")) { + c2 = '\b'; + break; + } + break; + } + switch (c2) { + case 0: + return 18; + case 1: + return 7; + case 2: + if (str2 == null || (e = e(str2)) == null) { + return 0; + } + return e.a(); + case 3: + return 5; + case 4: + return 17; + case 5: + return 6; + case 6: + return 9; + case 7: + return 8; + case '\b': + return 14; + default: + return 0; + } + } + + @Nullable + public static String c(@Nullable String str) { + b e; + String str2 = null; + if (str == null) { + return null; + } + String d1 = f.d1(str.trim()); + if (d1.startsWith("avc1") || d1.startsWith("avc3")) { + return "video/avc"; + } + if (d1.startsWith("hev1") || d1.startsWith("hvc1")) { + return "video/hevc"; + } + if (d1.startsWith("dvav") || d1.startsWith("dva1") || d1.startsWith("dvhe") || d1.startsWith("dvh1")) { + return "video/dolby-vision"; + } + if (d1.startsWith("av01")) { + return "video/av01"; + } + if (d1.startsWith("vp9") || d1.startsWith("vp09")) { + return "video/x-vnd.on2.vp9"; + } + if (d1.startsWith("vp8") || d1.startsWith("vp08")) { + return "video/x-vnd.on2.vp8"; + } + if (d1.startsWith("mp4a")) { + if (d1.startsWith("mp4a.") && (e = e(d1)) != null) { + str2 = d(e.a); + } + return str2 == null ? "audio/mp4a-latm" : str2; + } else if (d1.startsWith("mha1")) { + return "audio/mha1"; + } else { + if (d1.startsWith("mhm1")) { + return "audio/mhm1"; + } + if (d1.startsWith("ac-3") || d1.startsWith("dac3")) { + return "audio/ac3"; + } + if (d1.startsWith("ec-3") || d1.startsWith("dec3")) { + return "audio/eac3"; + } + if (d1.startsWith("ec+3")) { + return "audio/eac3-joc"; + } + if (d1.startsWith("ac-4") || d1.startsWith("dac4")) { + return "audio/ac4"; + } + if (d1.startsWith("dtsc")) { + return "audio/vnd.dts"; + } + if (d1.startsWith("dtse")) { + return "audio/vnd.dts.hd;profile=lbr"; + } + if (d1.startsWith("dtsh") || d1.startsWith("dtsl")) { + return "audio/vnd.dts.hd"; + } + if (d1.startsWith("dtsx")) { + return "audio/vnd.dts.uhd;profile=p2"; + } + if (d1.startsWith("opus")) { + return "audio/opus"; + } + if (d1.startsWith("vorbis")) { + return "audio/vorbis"; + } + if (d1.startsWith("flac")) { + return "audio/flac"; + } + if (d1.startsWith("stpp")) { + return "application/ttml+xml"; + } + if (d1.startsWith("wvtt")) { + return "text/vtt"; + } + if (d1.contains("cea708")) { + return "application/cea-708"; + } + if (d1.contains("eia608") || d1.contains("cea608")) { + return "application/cea-608"; + } + int size = a.size(); + for (int i = 0; i < size; i++) { + Objects.requireNonNull(a.get(i)); + if (d1.startsWith(null)) { + break; + } + } + return null; + } + } + + @Nullable + public static String d(int i) { + if (i == 32) { + return "video/mp4v-es"; + } + if (i == 33) { + return "video/avc"; + } + if (i == 35) { + return "video/hevc"; + } + if (i == 64) { + return "audio/mp4a-latm"; + } + if (i == 163) { + return "video/wvc1"; + } + if (i == 177) { + return "video/x-vnd.on2.vp9"; + } + if (i == 165) { + return "audio/ac3"; + } + if (i == 166) { + return "audio/eac3"; + } + switch (i) { + case 96: + case 97: + case 98: + case 99: + case 100: + case 101: + return "video/mpeg2"; + case 102: + case 103: + case 104: + return "audio/mp4a-latm"; + case 105: + case 107: + return "audio/mpeg"; + case 106: + return "video/mpeg"; + default: + switch (i) { + case 169: + case 172: + return "audio/vnd.dts"; + case 170: + case 171: + return "audio/vnd.dts.hd"; + case 173: + return "audio/opus"; + case 174: + return "audio/ac4"; + default: + return null; + } + } + } + + @Nullable + @VisibleForTesting + public static b e(String str) { + Matcher matcher = b.matcher(str); + if (!matcher.matches()) { + return null; + } + String group = matcher.group(1); + Objects.requireNonNull(group); + String group2 = matcher.group(2); + int i = 0; + try { + int parseInt = Integer.parseInt(group, 16); + if (group2 != null) { + i = Integer.parseInt(group2); + } + return new b(parseInt, i); + } catch (NumberFormatException unused) { + return null; + } + } + + @Nullable + public static String f(@Nullable String str) { + int indexOf; + if (str == null || (indexOf = str.indexOf(47)) == -1) { + return null; + } + return str.substring(0, indexOf); + } + + public static int g(@Nullable String str) { + if (TextUtils.isEmpty(str)) { + return -1; + } + if (h(str)) { + return 1; + } + if (j(str)) { + return 2; + } + if (i(str)) { + return 3; + } + if ("image".equals(f(str))) { + return 4; + } + if ("application/id3".equals(str) || "application/x-emsg".equals(str) || "application/x-scte35".equals(str)) { + return 5; + } + if ("application/x-camera-motion".equals(str)) { + return 6; + } + int size = a.size(); + for (int i = 0; i < size; i++) { + Objects.requireNonNull(a.get(i)); + if (str.equals(null)) { + return 0; + } + } + return -1; + } + + public static boolean h(@Nullable String str) { + return MediaStreamTrack.AUDIO_TRACK_KIND.equals(f(str)); + } + + public static boolean i(@Nullable String str) { + return NotificationCompat.MessagingStyle.Message.KEY_TEXT.equals(f(str)) || "application/cea-608".equals(str) || "application/cea-708".equals(str) || "application/x-mp4-cea-608".equals(str) || "application/x-subrip".equals(str) || "application/ttml+xml".equals(str) || "application/x-quicktime-tx3g".equals(str) || "application/x-mp4-vtt".equals(str) || "application/x-rawcc".equals(str) || "application/vobsub".equals(str) || "application/pgs".equals(str) || "application/dvbsubs".equals(str); + } + + public static boolean j(@Nullable String str) { + return MediaStreamTrack.VIDEO_TRACK_KIND.equals(f(str)); + } +} diff --git a/app/src/main/java/c/i/a/c/f3/u.java b/app/src/main/java/c/i/a/c/f3/u.java new file mode 100644 index 0000000000..78eec6b02a --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/u.java @@ -0,0 +1,516 @@ +package c.i.a.c.f3; + +import c.c.a.a0.d; +import java.util.Arrays; +/* compiled from: NalUnitUtil */ +public final class u { + public static final byte[] a = {0, 0, 0, 1}; + public static final float[] b = {1.0f, 1.0f, 1.0909091f, 0.90909094f, 1.4545455f, 1.2121212f, 2.1818182f, 1.8181819f, 2.909091f, 2.4242425f, 1.6363636f, 1.3636364f, 1.939394f, 1.6161616f, 1.3333334f, 1.5f, 2.0f}; + + /* renamed from: c reason: collision with root package name */ + public static final Object f786c = new Object(); + public static int[] d = new int[10]; + + /* compiled from: NalUnitUtil */ + public static final class a { + public final int a; + public final boolean b; + + /* renamed from: c reason: collision with root package name */ + public final int f787c; + public final int d; + public final int[] e; + public final int f; + public final int g; + public final int h; + public final float i; + + public a(int i, boolean z2, int i2, int i3, int[] iArr, int i4, int i5, int i6, int i7, float f) { + this.a = i; + this.b = z2; + this.f787c = i2; + this.d = i3; + this.e = iArr; + this.f = i4; + this.g = i6; + this.h = i7; + this.i = f; + } + } + + /* compiled from: NalUnitUtil */ + public static final class b { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final boolean f788c; + + public b(int i, int i2, boolean z2) { + this.a = i; + this.b = i2; + this.f788c = z2; + } + } + + /* compiled from: NalUnitUtil */ + public static final class c { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f789c; + public final int d; + public final int e; + public final int f; + public final float g; + public final boolean h; + public final boolean i; + public final int j; + public final int k; + public final int l; + public final boolean m; + + public c(int i, int i2, int i3, int i4, int i5, int i6, float f, boolean z2, boolean z3, int i7, int i8, int i9, boolean z4) { + this.a = i; + this.b = i2; + this.f789c = i3; + this.d = i4; + this.e = i5; + this.f = i6; + this.g = f; + this.h = z2; + this.i = z3; + this.j = i7; + this.k = i8; + this.l = i9; + this.m = z4; + } + } + + public static void a(boolean[] zArr) { + zArr[0] = false; + zArr[1] = false; + zArr[2] = false; + } + + public static int b(byte[] bArr, int i, int i2, boolean[] zArr) { + int i3 = i2 - i; + boolean z2 = false; + d.D(i3 >= 0); + if (i3 == 0) { + return i2; + } + if (zArr[0]) { + zArr[0] = false; + zArr[1] = false; + zArr[2] = false; + return i - 3; + } else if (i3 > 1 && zArr[1] && bArr[i] == 1) { + zArr[0] = false; + zArr[1] = false; + zArr[2] = false; + return i - 2; + } else if (i3 <= 2 || !zArr[2] || bArr[i] != 0 || bArr[i + 1] != 1) { + int i4 = i2 - 1; + int i5 = i + 2; + while (i5 < i4) { + if ((bArr[i5] & 254) == 0) { + int i6 = i5 - 2; + if (bArr[i6] == 0 && bArr[i5 - 1] == 0 && bArr[i5] == 1) { + zArr[0] = false; + zArr[1] = false; + zArr[2] = false; + return i6; + } + i5 -= 2; + } + i5 += 3; + } + zArr[0] = i3 <= 2 ? !(i3 != 2 ? !zArr[1] || bArr[i4] != 1 : !(zArr[2] && bArr[i2 + -2] == 0 && bArr[i4] == 1)) : bArr[i2 + -3] == 0 && bArr[i2 + -2] == 0 && bArr[i4] == 1; + zArr[1] = i3 <= 1 ? !(!zArr[2] || bArr[i4] != 0) : bArr[i2 + -2] == 0 && bArr[i4] == 0; + if (bArr[i4] == 0) { + z2 = true; + } + zArr[2] = z2; + return i2; + } else { + zArr[0] = false; + zArr[1] = false; + zArr[2] = false; + return i - 1; + } + } + + public static a c(byte[] bArr, int i, int i2) { + int i3 = 2; + y yVar = new y(bArr, i + 2, i2); + yVar.j(4); + int e = yVar.e(3); + yVar.i(); + int e2 = yVar.e(2); + boolean d2 = yVar.d(); + int e3 = yVar.e(5); + int i4 = 0; + for (int i5 = 0; i5 < 32; i5++) { + if (yVar.d()) { + i4 |= 1 << i5; + } + } + int i6 = 6; + int[] iArr = new int[6]; + for (int i7 = 0; i7 < 6; i7++) { + iArr[i7] = yVar.e(8); + } + int e4 = yVar.e(8); + int i8 = 0; + for (int i9 = 0; i9 < e; i9++) { + if (yVar.d()) { + i8 += 89; + } + if (yVar.d()) { + i8 += 8; + } + } + yVar.j(i8); + if (e > 0) { + yVar.j((8 - e) * 2); + } + int f = yVar.f(); + int f2 = yVar.f(); + if (f2 == 3) { + yVar.i(); + } + int f3 = yVar.f(); + int f4 = yVar.f(); + if (yVar.d()) { + int f5 = yVar.f(); + int f6 = yVar.f(); + int f7 = yVar.f(); + int f8 = yVar.f(); + f3 -= (f5 + f6) * ((f2 == 1 || f2 == 2) ? 2 : 1); + f4 -= (f7 + f8) * (f2 == 1 ? 2 : 1); + } + yVar.f(); + yVar.f(); + int f9 = yVar.f(); + for (int i10 = yVar.d() ? 0 : e; i10 <= e; i10++) { + yVar.f(); + yVar.f(); + yVar.f(); + } + yVar.f(); + yVar.f(); + yVar.f(); + yVar.f(); + yVar.f(); + yVar.f(); + if (yVar.d() && yVar.d()) { + int i11 = 0; + int i12 = 4; + while (i11 < i12) { + int i13 = 0; + while (i13 < i6) { + if (!yVar.d()) { + yVar.f(); + } else { + int min = Math.min(64, 1 << ((i11 << 1) + 4)); + if (i11 > 1) { + yVar.g(); + } + for (int i14 = 0; i14 < min; i14++) { + yVar.g(); + } + } + i13 += i11 == 3 ? 3 : 1; + i6 = 6; + } + i11++; + i12 = 4; + i6 = 6; + i3 = 2; + } + } + yVar.j(i3); + if (yVar.d()) { + yVar.j(8); + yVar.f(); + yVar.f(); + yVar.i(); + } + int f10 = yVar.f(); + boolean z2 = false; + int i15 = 0; + for (int i16 = 0; i16 < f10; i16++) { + if (i16 != 0) { + z2 = yVar.d(); + } + if (z2) { + yVar.i(); + yVar.f(); + for (int i17 = 0; i17 <= i15; i17++) { + if (yVar.d()) { + yVar.i(); + } + } + } else { + int f11 = yVar.f(); + int f12 = yVar.f(); + int i18 = f11 + f12; + for (int i19 = 0; i19 < f11; i19++) { + yVar.f(); + yVar.i(); + } + for (int i20 = 0; i20 < f12; i20++) { + yVar.f(); + yVar.i(); + } + i15 = i18; + } + } + if (yVar.d()) { + for (int i21 = 0; i21 < yVar.f(); i21++) { + yVar.j(f9 + 4 + 1); + } + } + yVar.j(2); + float f13 = 1.0f; + if (yVar.d()) { + if (yVar.d()) { + int e5 = yVar.e(8); + if (e5 == 255) { + int e6 = yVar.e(16); + int e7 = yVar.e(16); + if (!(e6 == 0 || e7 == 0)) { + f13 = ((float) e6) / ((float) e7); + } + } else { + float[] fArr = b; + if (e5 < fArr.length) { + f13 = fArr[e5]; + } else { + c.d.b.a.a.d0(46, "Unexpected aspect_ratio_idc value: ", e5, "NalUnitUtil"); + } + } + } + if (yVar.d()) { + yVar.i(); + } + if (yVar.d()) { + yVar.j(4); + if (yVar.d()) { + yVar.j(24); + } + } + if (yVar.d()) { + yVar.f(); + yVar.f(); + } + yVar.i(); + if (yVar.d()) { + f4 *= 2; + } + } + return new a(e2, d2, e3, i4, iArr, e4, f, f3, f4, f13); + } + + public static b d(byte[] bArr, int i, int i2) { + y yVar = new y(bArr, i + 1, i2); + int f = yVar.f(); + int f2 = yVar.f(); + yVar.i(); + return new b(f, f2, yVar.d()); + } + + /* JADX WARNING: Removed duplicated region for block: B:60:0x00f8 */ + /* JADX WARNING: Removed duplicated region for block: B:63:0x0108 */ + /* JADX WARNING: Removed duplicated region for block: B:75:0x013c */ + /* JADX WARNING: Removed duplicated region for block: B:82:0x0158 */ + /* JADX WARNING: Removed duplicated region for block: B:86:0x016b */ + public static c e(byte[] bArr, int i, int i2) { + boolean z2; + int i3; + int i4; + boolean z3; + int i5; + boolean d2; + int i6; + float f; + int e; + int i7; + int i8; + y yVar = new y(bArr, i + 1, i2); + int e2 = yVar.e(8); + int e3 = yVar.e(8); + int e4 = yVar.e(8); + int f2 = yVar.f(); + if (e2 == 100 || e2 == 110 || e2 == 122 || e2 == 244 || e2 == 44 || e2 == 83 || e2 == 86 || e2 == 118 || e2 == 128 || e2 == 138) { + i3 = yVar.f(); + boolean d3 = i3 == 3 ? yVar.d() : false; + yVar.f(); + yVar.f(); + yVar.i(); + if (yVar.d()) { + int i9 = i3 != 3 ? 8 : 12; + int i10 = 0; + while (i10 < i9) { + if (yVar.d()) { + int i11 = i10 < 6 ? 16 : 64; + int i12 = 8; + int i13 = 8; + for (int i14 = 0; i14 < i11; i14++) { + if (i12 != 0) { + i12 = ((yVar.g() + i13) + 256) % 256; + } + if (i12 != 0) { + i13 = i12; + } + } + } + i10++; + } + } + z2 = d3; + } else { + i3 = 1; + z2 = false; + } + int f3 = yVar.f() + 4; + int f4 = yVar.f(); + if (f4 == 0) { + i8 = yVar.f() + 4; + i4 = f4; + } else if (f4 == 1) { + boolean d4 = yVar.d(); + yVar.g(); + yVar.g(); + long f5 = (long) yVar.f(); + i4 = f4; + for (int i15 = 0; ((long) i15) < f5; i15++) { + yVar.f(); + } + z3 = d4; + i5 = 0; + yVar.f(); + yVar.i(); + int f6 = yVar.f() + 1; + d2 = yVar.d(); + int i16 = 2 - (d2 ? 1 : 0); + int f7 = (yVar.f() + 1) * i16; + if (!d2) { + yVar.i(); + } + yVar.i(); + int i17 = f6 * 16; + int i18 = f7 * 16; + if (!yVar.d()) { + int f8 = yVar.f(); + int f9 = yVar.f(); + int f10 = yVar.f(); + int f11 = yVar.f(); + if (i3 == 0) { + i7 = 1; + i6 = i5; + } else { + i6 = i5; + int i19 = i3 == 3 ? 1 : 2; + int i20 = 1; + if (i3 == 1) { + i20 = 2; + } + i16 *= i20; + i7 = i19; + } + i17 -= (f8 + f9) * i7; + i18 -= (f10 + f11) * i16; + } else { + i6 = i5; + } + if (yVar.d() && yVar.d()) { + e = yVar.e(8); + if (e != 255) { + int e5 = yVar.e(16); + int e6 = yVar.e(16); + if (!(e5 == 0 || e6 == 0)) { + f = ((float) e5) / ((float) e6); + return new c(e2, e3, e4, f2, i17, i18, f, z2, d2, f3, i4, i6, z3); + } + } else { + float[] fArr = b; + if (e < fArr.length) { + f = fArr[e]; + return new c(e2, e3, e4, f2, i17, i18, f, z2, d2, f3, i4, i6, z3); + } + c.d.b.a.a.d0(46, "Unexpected aspect_ratio_idc value: ", e, "NalUnitUtil"); + } + } + f = 1.0f; + return new c(e2, e3, e4, f2, i17, i18, f, z2, d2, f3, i4, i6, z3); + } else { + i4 = f4; + i8 = 0; + } + i5 = i8; + z3 = false; + yVar.f(); + yVar.i(); + int f6 = yVar.f() + 1; + d2 = yVar.d(); + int i16 = 2 - (d2 ? 1 : 0); + int f7 = (yVar.f() + 1) * i16; + if (!d2) { + } + yVar.i(); + int i17 = f6 * 16; + int i18 = f7 * 16; + if (!yVar.d()) { + } + e = yVar.e(8); + if (e != 255) { + } + } + + public static int f(byte[] bArr, int i) { + int i2; + synchronized (f786c) { + int i3 = 0; + int i4 = 0; + while (i3 < i) { + while (true) { + if (i3 >= i - 2) { + i3 = i; + break; + } + if (bArr[i3] == 0 && bArr[i3 + 1] == 0 && bArr[i3 + 2] == 3) { + break; + } + i3++; + } + if (i3 < i) { + int[] iArr = d; + if (iArr.length <= i4) { + d = Arrays.copyOf(iArr, iArr.length * 2); + } + d[i4] = i3; + i3 += 3; + i4++; + } + } + i2 = i - i4; + int i5 = 0; + int i6 = 0; + for (int i7 = 0; i7 < i4; i7++) { + int i8 = d[i7] - i6; + System.arraycopy(bArr, i6, bArr, i5, i8); + int i9 = i5 + i8; + int i10 = i9 + 1; + bArr[i9] = 0; + i5 = i10 + 1; + bArr[i10] = 0; + i6 += i8 + 3; + } + System.arraycopy(bArr, i6, bArr, i5, i2 - i5); + } + return i2; + } +} diff --git a/app/src/main/java/c/i/a/c/f3/v.java b/app/src/main/java/c/i/a/c/f3/v.java new file mode 100644 index 0000000000..f55819e20b --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/v.java @@ -0,0 +1,209 @@ +package c.i.a.c.f3; + +import android.content.BroadcastReceiver; +import android.content.Context; +import android.content.Intent; +import android.content.IntentFilter; +import android.net.ConnectivityManager; +import android.net.NetworkInfo; +import android.os.Handler; +import android.os.Looper; +import android.telephony.PhoneStateListener; +import android.telephony.ServiceState; +import android.telephony.TelephonyDisplayInfo; +import android.telephony.TelephonyManager; +import androidx.annotation.GuardedBy; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import java.lang.ref.WeakReference; +import java.util.Iterator; +import java.util.Objects; +import java.util.concurrent.CopyOnWriteArrayList; +/* compiled from: NetworkTypeObserver */ +public final class v { + @Nullable + public static v a; + public final Handler b = new Handler(Looper.getMainLooper()); + + /* renamed from: c reason: collision with root package name */ + public final CopyOnWriteArrayList> f790c = new CopyOnWriteArrayList<>(); + public final Object d = new Object(); + @GuardedBy("networkTypeLock") + public int e = 0; + + /* compiled from: NetworkTypeObserver */ + public interface b { + void a(int i); + } + + /* compiled from: NetworkTypeObserver */ + public final class c extends BroadcastReceiver { + public c(a aVar) { + } + + /* JADX WARNING: Code restructure failed: missing block: B:20:0x0041, code lost: + if (c.i.a.c.f3.e0.a >= 29) goto L_0x004f; + */ + /* JADX WARNING: Removed duplicated region for block: B:35:0x006c A[Catch:{ RuntimeException -> 0x0079 }] */ + /* JADX WARNING: Removed duplicated region for block: B:36:0x0070 A[Catch:{ RuntimeException -> 0x0079 }] */ + @Override // android.content.BroadcastReceiver + public void onReceive(Context context, Intent intent) { + int i; + ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService("connectivity"); + int i2 = 9; + if (connectivityManager != null) { + try { + NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo(); + if (activeNetworkInfo == null || !activeNetworkInfo.isConnected()) { + i2 = 1; + i = e0.a; + if (i >= 29 && i2 == 5) { + TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService("phone"); + Objects.requireNonNull(telephonyManager); + d dVar = new d(null); + if (i >= 31) { + telephonyManager.listen(dVar, 1); + } else { + telephonyManager.listen(dVar, 1048576); + } + telephonyManager.listen(dVar, 0); + } + v.a(v.this, i2); + return; + } + int type = activeNetworkInfo.getType(); + if (type != 0) { + if (type != 1) { + if (!(type == 4 || type == 5)) { + if (type != 6) { + i2 = type != 9 ? 8 : 7; + i = e0.a; + TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService("phone"); + Objects.requireNonNull(telephonyManager); + d dVar = new d(null); + if (i >= 31) { + } + telephonyManager.listen(dVar, 0); + } + i2 = 5; + i = e0.a; + TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService("phone"); + Objects.requireNonNull(telephonyManager); + d dVar = new d(null); + if (i >= 31) { + } + telephonyManager.listen(dVar, 0); + } + } + i2 = 2; + i = e0.a; + TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService("phone"); + Objects.requireNonNull(telephonyManager); + d dVar = new d(null); + if (i >= 31) { + } + telephonyManager.listen(dVar, 0); + } + switch (activeNetworkInfo.getSubtype()) { + case 1: + case 2: + i2 = 3; + break; + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 14: + case 15: + case 17: + i2 = 4; + break; + case 13: + i2 = 5; + break; + case 16: + case 19: + default: + i2 = 6; + break; + case 18: + i2 = 2; + break; + case 20: + break; + } + i = e0.a; + TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService("phone"); + Objects.requireNonNull(telephonyManager); + d dVar = new d(null); + if (i >= 31) { + } + telephonyManager.listen(dVar, 0); + } catch (SecurityException unused) { + } + } + i2 = 0; + i = e0.a; + try { + TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService("phone"); + Objects.requireNonNull(telephonyManager); + d dVar = new d(null); + if (i >= 31) { + } + telephonyManager.listen(dVar, 0); + } catch (RuntimeException unused2) { + } + } + } + + /* compiled from: NetworkTypeObserver */ + public class d extends PhoneStateListener { + public d(a aVar) { + } + + @Override // android.telephony.PhoneStateListener + @RequiresApi(31) + public void onDisplayInfoChanged(TelephonyDisplayInfo telephonyDisplayInfo) { + int overrideNetworkType = telephonyDisplayInfo.getOverrideNetworkType(); + v.a(v.this, overrideNetworkType == 3 || overrideNetworkType == 4 ? 10 : 5); + } + + @Override // android.telephony.PhoneStateListener + public void onServiceStateChanged(@Nullable ServiceState serviceState) { + String serviceState2 = serviceState == null ? "" : serviceState.toString(); + v.a(v.this, serviceState2.contains("nrState=CONNECTED") || serviceState2.contains("nrState=NOT_RESTRICTED") ? 10 : 5); + } + } + + public v(Context context) { + IntentFilter intentFilter = new IntentFilter(); + intentFilter.addAction("android.net.conn.CONNECTIVITY_CHANGE"); + context.registerReceiver(new c(null), intentFilter); + } + + public static void a(v vVar, int i) { + synchronized (vVar.d) { + if (vVar.e != i) { + vVar.e = i; + } else { + return; + } + } + Iterator> it = vVar.f790c.iterator(); + while (it.hasNext()) { + WeakReference next = it.next(); + b bVar = next.get(); + if (bVar != null) { + bVar.a(i); + } else { + vVar.f790c.remove(next); + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/f3/w.java b/app/src/main/java/c/i/a/c/f3/w.java new file mode 100644 index 0000000000..c8483007a9 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/w.java @@ -0,0 +1,178 @@ +package c.i.a.c.f3; + +import c.c.a.a0.d; +/* compiled from: ParsableBitArray */ +public final class w { + public byte[] a; + public int b; + + /* renamed from: c reason: collision with root package name */ + public int f791c; + public int d; + + public w() { + this.a = e0.f; + } + + public w(byte[] bArr) { + int length = bArr.length; + this.a = bArr; + this.d = length; + } + + public w(byte[] bArr, int i) { + this.a = bArr; + this.d = i; + } + + public final void a() { + int i; + int i2 = this.b; + d.D(i2 >= 0 && (i2 < (i = this.d) || (i2 == i && this.f791c == 0))); + } + + public int b() { + return ((this.d - this.b) * 8) - this.f791c; + } + + public void c() { + if (this.f791c != 0) { + this.f791c = 0; + this.b++; + a(); + } + } + + public int d() { + d.D(this.f791c == 0); + return this.b; + } + + public int e() { + return (this.b * 8) + this.f791c; + } + + public boolean f() { + boolean z2 = (this.a[this.b] & (128 >> this.f791c)) != 0; + l(); + return z2; + } + + public int g(int i) { + int i2; + if (i == 0) { + return 0; + } + this.f791c += i; + int i3 = 0; + while (true) { + i2 = this.f791c; + if (i2 <= 8) { + break; + } + int i4 = i2 - 8; + this.f791c = i4; + byte[] bArr = this.a; + int i5 = this.b; + this.b = i5 + 1; + i3 |= (bArr[i5] & 255) << i4; + } + byte[] bArr2 = this.a; + int i6 = this.b; + int i7 = (-1 >>> (32 - i)) & (i3 | ((bArr2[i6] & 255) >> (8 - i2))); + if (i2 == 8) { + this.f791c = 0; + this.b = i6 + 1; + } + a(); + return i7; + } + + public void h(byte[] bArr, int i, int i2) { + int i3 = (i2 >> 3) + i; + while (i < i3) { + byte[] bArr2 = this.a; + int i4 = this.b; + int i5 = i4 + 1; + this.b = i5; + byte b = bArr2[i4]; + int i6 = this.f791c; + bArr[i] = (byte) (b << i6); + bArr[i] = (byte) (((255 & bArr2[i5]) >> (8 - i6)) | bArr[i]); + i++; + } + int i7 = i2 & 7; + if (i7 != 0) { + bArr[i3] = (byte) (bArr[i3] & (255 >> i7)); + int i8 = this.f791c; + if (i8 + i7 > 8) { + byte b2 = bArr[i3]; + byte[] bArr3 = this.a; + int i9 = this.b; + this.b = i9 + 1; + bArr[i3] = (byte) (b2 | ((bArr3[i9] & 255) << i8)); + this.f791c = i8 - 8; + } + int i10 = this.f791c + i7; + this.f791c = i10; + byte[] bArr4 = this.a; + int i11 = this.b; + bArr[i3] = (byte) (((byte) (((255 & bArr4[i11]) >> (8 - i10)) << (8 - i7))) | bArr[i3]); + if (i10 == 8) { + this.f791c = 0; + this.b = i11 + 1; + } + a(); + } + } + + public void i(byte[] bArr, int i, int i2) { + d.D(this.f791c == 0); + System.arraycopy(this.a, this.b, bArr, i, i2); + this.b += i2; + a(); + } + + public void j(byte[] bArr, int i) { + this.a = bArr; + this.b = 0; + this.f791c = 0; + this.d = i; + } + + public void k(int i) { + int i2 = i / 8; + this.b = i2; + this.f791c = i - (i2 * 8); + a(); + } + + public void l() { + int i = this.f791c + 1; + this.f791c = i; + if (i == 8) { + this.f791c = 0; + this.b++; + } + a(); + } + + public void m(int i) { + int i2 = i / 8; + int i3 = this.b + i2; + this.b = i3; + int i4 = (i - (i2 * 8)) + this.f791c; + this.f791c = i4; + if (i4 > 7) { + this.b = i3 + 1; + this.f791c = i4 - 8; + } + a(); + } + + public void n(int i) { + d.D(this.f791c == 0); + this.b += i; + a(); + } +} diff --git a/app/src/main/java/c/i/a/c/f3/x.java b/app/src/main/java/c/i/a/c/f3/x.java new file mode 100644 index 0000000000..297a6aad1e --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/x.java @@ -0,0 +1,383 @@ +package c.i.a.c.f3; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.d.b.a.a; +import c.i.b.a.c; +import java.nio.charset.Charset; +import java.util.Arrays; +/* compiled from: ParsableByteArray */ +public final class x { + public byte[] a; + public int b; + + /* renamed from: c reason: collision with root package name */ + public int f792c; + + public x() { + this.a = e0.f; + } + + public x(int i) { + this.a = new byte[i]; + this.f792c = i; + } + + public x(byte[] bArr) { + this.a = bArr; + this.f792c = bArr.length; + } + + public x(byte[] bArr, int i) { + this.a = bArr; + this.f792c = i; + } + + public void A(int i) { + byte[] bArr = this.a; + if (bArr.length < i) { + bArr = new byte[i]; + } + C(bArr, i); + } + + public void B(byte[] bArr) { + int length = bArr.length; + this.a = bArr; + this.f792c = length; + this.b = 0; + } + + public void C(byte[] bArr, int i) { + this.a = bArr; + this.f792c = i; + this.b = 0; + } + + public void D(int i) { + d.j(i >= 0 && i <= this.a.length); + this.f792c = i; + } + + public void E(int i) { + d.j(i >= 0 && i <= this.f792c); + this.b = i; + } + + public void F(int i) { + E(this.b + i); + } + + public int a() { + return this.f792c - this.b; + } + + public void b(int i) { + byte[] bArr = this.a; + if (i > bArr.length) { + this.a = Arrays.copyOf(bArr, i); + } + } + + public int c() { + return this.a[this.b] & 255; + } + + public void d(w wVar, int i) { + e(wVar.a, 0, i); + wVar.k(0); + } + + public void e(byte[] bArr, int i, int i2) { + System.arraycopy(this.a, this.b, bArr, i, i2); + this.b += i2; + } + + public int f() { + byte[] bArr = this.a; + int i = this.b; + int i2 = i + 1; + this.b = i2; + int i3 = i2 + 1; + this.b = i3; + int i4 = ((bArr[i] & 255) << 24) | ((bArr[i2] & 255) << 16); + int i5 = i3 + 1; + this.b = i5; + int i6 = i4 | ((bArr[i3] & 255) << 8); + this.b = i5 + 1; + return (bArr[i5] & 255) | i6; + } + + @Nullable + public String g() { + if (a() == 0) { + return null; + } + int i = this.b; + while (i < this.f792c) { + byte b = this.a[i]; + int i2 = e0.a; + if (b == 10 || b == 13) { + break; + } + i++; + } + int i3 = this.b; + if (i - i3 >= 3) { + byte[] bArr = this.a; + if (bArr[i3] == -17 && bArr[i3 + 1] == -69 && bArr[i3 + 2] == -65) { + this.b = i3 + 3; + } + } + byte[] bArr2 = this.a; + int i4 = this.b; + String m = e0.m(bArr2, i4, i - i4); + this.b = i; + int i5 = this.f792c; + if (i == i5) { + return m; + } + byte[] bArr3 = this.a; + if (bArr3[i] == 13) { + int i6 = i + 1; + this.b = i6; + if (i6 == i5) { + return m; + } + } + int i7 = this.b; + if (bArr3[i7] == 10) { + this.b = i7 + 1; + } + return m; + } + + public int h() { + byte[] bArr = this.a; + int i = this.b; + int i2 = i + 1; + this.b = i2; + int i3 = i2 + 1; + this.b = i3; + int i4 = (bArr[i] & 255) | ((bArr[i2] & 255) << 8); + int i5 = i3 + 1; + this.b = i5; + int i6 = i4 | ((bArr[i3] & 255) << 16); + this.b = i5 + 1; + return ((bArr[i5] & 255) << 24) | i6; + } + + public short i() { + byte[] bArr = this.a; + int i = this.b; + int i2 = i + 1; + this.b = i2; + this.b = i2 + 1; + return (short) (((bArr[i2] & 255) << 8) | (bArr[i] & 255)); + } + + public long j() { + byte[] bArr = this.a; + int i = this.b; + int i2 = i + 1; + this.b = i2; + int i3 = i2 + 1; + this.b = i3; + int i4 = i3 + 1; + this.b = i4; + this.b = i4 + 1; + return (((long) bArr[i]) & 255) | ((((long) bArr[i2]) & 255) << 8) | ((((long) bArr[i3]) & 255) << 16) | ((((long) bArr[i4]) & 255) << 24); + } + + public int k() { + int h = h(); + if (h >= 0) { + return h; + } + throw new IllegalStateException(a.f(29, "Top bit not zero: ", h)); + } + + public int l() { + byte[] bArr = this.a; + int i = this.b; + int i2 = i + 1; + this.b = i2; + this.b = i2 + 1; + return ((bArr[i2] & 255) << 8) | (bArr[i] & 255); + } + + public long m() { + byte[] bArr = this.a; + int i = this.b; + int i2 = i + 1; + this.b = i2; + int i3 = i2 + 1; + this.b = i3; + int i4 = i3 + 1; + this.b = i4; + int i5 = i4 + 1; + this.b = i5; + int i6 = i5 + 1; + this.b = i6; + int i7 = i6 + 1; + this.b = i7; + int i8 = i7 + 1; + this.b = i8; + this.b = i8 + 1; + return ((((long) bArr[i]) & 255) << 56) | ((((long) bArr[i2]) & 255) << 48) | ((((long) bArr[i3]) & 255) << 40) | ((((long) bArr[i4]) & 255) << 32) | ((((long) bArr[i5]) & 255) << 24) | ((((long) bArr[i6]) & 255) << 16) | ((((long) bArr[i7]) & 255) << 8) | (((long) bArr[i8]) & 255); + } + + @Nullable + public String n() { + if (a() == 0) { + return null; + } + int i = this.b; + while (i < this.f792c && this.a[i] != 0) { + i++; + } + byte[] bArr = this.a; + int i2 = this.b; + String m = e0.m(bArr, i2, i - i2); + this.b = i; + if (i < this.f792c) { + this.b = i + 1; + } + return m; + } + + public String o(int i) { + if (i == 0) { + return ""; + } + int i2 = this.b; + int i3 = (i2 + i) - 1; + String m = e0.m(this.a, i2, (i3 >= this.f792c || this.a[i3] != 0) ? i : i - 1); + this.b += i; + return m; + } + + public short p() { + byte[] bArr = this.a; + int i = this.b; + int i2 = i + 1; + this.b = i2; + this.b = i2 + 1; + return (short) ((bArr[i2] & 255) | ((bArr[i] & 255) << 8)); + } + + public String q(int i) { + return r(i, c.f1307c); + } + + public String r(int i, Charset charset) { + String str = new String(this.a, this.b, i, charset); + this.b += i; + return str; + } + + public int s() { + return (t() << 21) | (t() << 14) | (t() << 7) | t(); + } + + public int t() { + byte[] bArr = this.a; + int i = this.b; + this.b = i + 1; + return bArr[i] & 255; + } + + public long u() { + byte[] bArr = this.a; + int i = this.b; + int i2 = i + 1; + this.b = i2; + int i3 = i2 + 1; + this.b = i3; + int i4 = i3 + 1; + this.b = i4; + this.b = i4 + 1; + return ((((long) bArr[i]) & 255) << 24) | ((((long) bArr[i2]) & 255) << 16) | ((((long) bArr[i3]) & 255) << 8) | (((long) bArr[i4]) & 255); + } + + public int v() { + byte[] bArr = this.a; + int i = this.b; + int i2 = i + 1; + this.b = i2; + int i3 = i2 + 1; + this.b = i3; + int i4 = ((bArr[i] & 255) << 16) | ((bArr[i2] & 255) << 8); + this.b = i3 + 1; + return (bArr[i3] & 255) | i4; + } + + public int w() { + int f = f(); + if (f >= 0) { + return f; + } + throw new IllegalStateException(a.f(29, "Top bit not zero: ", f)); + } + + public long x() { + long m = m(); + if (m >= 0) { + return m; + } + StringBuilder sb = new StringBuilder(38); + sb.append("Top bit not zero: "); + sb.append(m); + throw new IllegalStateException(sb.toString()); + } + + public int y() { + byte[] bArr = this.a; + int i = this.b; + int i2 = i + 1; + this.b = i2; + this.b = i2 + 1; + return (bArr[i2] & 255) | ((bArr[i] & 255) << 8); + } + + public long z() { + int i; + int i2; + long j = (long) this.a[this.b]; + int i3 = 7; + while (true) { + if (i3 < 0) { + break; + } + int i4 = 1 << i3; + if ((((long) i4) & j) != 0) { + i3--; + } else if (i3 < 6) { + j &= (long) (i4 - 1); + i2 = 7 - i3; + } else if (i3 == 7) { + i2 = 1; + } + } + i2 = 0; + if (i2 != 0) { + for (i = 1; i < i2; i++) { + byte b = this.a[this.b + i]; + if ((b & 192) == 128) { + j = (j << 6) | ((long) (b & 63)); + } else { + StringBuilder sb = new StringBuilder(62); + sb.append("Invalid UTF-8 sequence continuation byte: "); + sb.append(j); + throw new NumberFormatException(sb.toString()); + } + } + this.b += i2; + return j; + } + StringBuilder sb2 = new StringBuilder(55); + sb2.append("Invalid UTF-8 sequence first byte: "); + sb2.append(j); + throw new NumberFormatException(sb2.toString()); + } +} diff --git a/app/src/main/java/c/i/a/c/f3/y.java b/app/src/main/java/c/i/a/c/f3/y.java new file mode 100644 index 0000000000..b49f4d2b13 --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/y.java @@ -0,0 +1,170 @@ +package c.i.a.c.f3; + +import c.c.a.a0.d; +/* compiled from: ParsableNalUnitBitArray */ +public final class y { + public byte[] a; + public int b; + + /* renamed from: c reason: collision with root package name */ + public int f793c; + public int d = 0; + + public y(byte[] bArr, int i, int i2) { + this.a = bArr; + this.f793c = i; + this.b = i2; + a(); + } + + public final void a() { + int i; + int i2 = this.f793c; + d.D(i2 >= 0 && (i2 < (i = this.b) || (i2 == i && this.d == 0))); + } + + public boolean b(int i) { + int i2 = this.f793c; + int i3 = i / 8; + int i4 = i2 + i3; + int i5 = (this.d + i) - (i3 * 8); + if (i5 > 7) { + i4++; + i5 -= 8; + } + while (true) { + i2++; + if (i2 > i4 || i4 >= this.b) { + break; + } else if (h(i2)) { + i4++; + i2 += 2; + } + } + int i6 = this.b; + if (i4 >= i6) { + return i4 == i6 && i5 == 0; + } + return true; + } + + public boolean c() { + int i = this.f793c; + int i2 = this.d; + int i3 = 0; + while (this.f793c < this.b && !d()) { + i3++; + } + boolean z2 = this.f793c == this.b; + this.f793c = i; + this.d = i2; + return !z2 && b((i3 * 2) + 1); + } + + public boolean d() { + boolean z2 = (this.a[this.f793c] & (128 >> this.d)) != 0; + i(); + return z2; + } + + public int e(int i) { + int i2; + int i3; + this.d += i; + int i4 = 0; + while (true) { + i2 = this.d; + i3 = 2; + if (i2 <= 8) { + break; + } + int i5 = i2 - 8; + this.d = i5; + byte[] bArr = this.a; + int i6 = this.f793c; + i4 |= (bArr[i6] & 255) << i5; + if (!h(i6 + 1)) { + i3 = 1; + } + this.f793c = i6 + i3; + } + byte[] bArr2 = this.a; + int i7 = this.f793c; + int i8 = (-1 >>> (32 - i)) & (i4 | ((bArr2[i7] & 255) >> (8 - i2))); + if (i2 == 8) { + this.d = 0; + if (!h(i7 + 1)) { + i3 = 1; + } + this.f793c = i7 + i3; + } + a(); + return i8; + } + + public final int f() { + int i = 0; + int i2 = 0; + while (!d()) { + i2++; + } + int i3 = (1 << i2) - 1; + if (i2 > 0) { + i = e(i2); + } + return i3 + i; + } + + public int g() { + int f = f(); + return ((f + 1) / 2) * (f % 2 == 0 ? -1 : 1); + } + + public final boolean h(int i) { + if (2 <= i && i < this.b) { + byte[] bArr = this.a; + if (bArr[i] == 3 && bArr[i - 2] == 0 && bArr[i - 1] == 0) { + return true; + } + } + return false; + } + + public void i() { + int i = 1; + int i2 = this.d + 1; + this.d = i2; + if (i2 == 8) { + this.d = 0; + int i3 = this.f793c; + if (h(i3 + 1)) { + i = 2; + } + this.f793c = i3 + i; + } + a(); + } + + public void j(int i) { + int i2 = this.f793c; + int i3 = i / 8; + int i4 = i2 + i3; + this.f793c = i4; + int i5 = (i - (i3 * 8)) + this.d; + this.d = i5; + if (i5 > 7) { + this.f793c = i4 + 1; + this.d = i5 - 8; + } + while (true) { + i2++; + if (i2 > this.f793c) { + a(); + return; + } else if (h(i2)) { + this.f793c++; + i2 += 2; + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/f3/z.java b/app/src/main/java/c/i/a/c/f3/z.java new file mode 100644 index 0000000000..e468dac7fc --- /dev/null +++ b/app/src/main/java/c/i/a/c/f3/z.java @@ -0,0 +1,53 @@ +package c.i.a.c.f3; + +import c.i.a.c.x1; +/* compiled from: StandaloneMediaClock */ +public final class z implements s { + public final g i; + public boolean j; + public long k; + public long l; + public x1 m = x1.i; + + public z(g gVar) { + this.i = gVar; + } + + public void a(long j) { + this.k = j; + if (this.j) { + this.l = this.i.d(); + } + } + + public void b() { + if (!this.j) { + this.l = this.i.d(); + this.j = true; + } + } + + @Override // c.i.a.c.f3.s + public x1 c() { + return this.m; + } + + @Override // c.i.a.c.f3.s + public long e() { + long j = this.k; + if (!this.j) { + return j; + } + long d = this.i.d() - this.l; + x1 x1Var = this.m; + return x1Var.j == 1.0f ? j + e0.B(d) : j + (d * ((long) x1Var.l)); + } + + @Override // c.i.a.c.f3.s + public void i(x1 x1Var) { + if (this.j) { + a(e()); + } + this.m = x1Var; + } +} diff --git a/app/src/main/java/c/i/a/c/g.java b/app/src/main/java/c/i/a/c/g.java index 3ee3158a23..3b75210dd3 100644 --- a/app/src/main/java/c/i/a/c/g.java +++ b/app/src/main/java/c/i/a/c/g.java @@ -1,17 +1,18 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import android.content.Context; +import c.i.a.c.c3.h; +import c.i.b.a.l; /* compiled from: lambda */ -public final /* synthetic */ class g implements o.a { - public final /* synthetic */ c1 a; +public final /* synthetic */ class g implements l { + public final /* synthetic */ Context i; - public /* synthetic */ g(c1 c1Var) { - this.a = c1Var; + public /* synthetic */ g(Context context) { + this.i = context; } - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((g1.a) obj).S(this.a.o); + @Override // c.i.b.a.l + public final Object get() { + return new h(this.i); } } diff --git a/app/src/main/java/c/i/a/c/g0.java b/app/src/main/java/c/i/a/c/g0.java index fa3a273fba..4a01adf979 100644 --- a/app/src/main/java/c/i/a/c/g0.java +++ b/app/src/main/java/c/i/a/c/g0.java @@ -1,245 +1,28 @@ package c.i.a.c; -import androidx.annotation.Nullable; -import androidx.recyclerview.widget.RecyclerView; -import c.c.a.a0.d; -import c.i.a.c.d2.f0; -import c.i.a.c.i2.r; +import c.i.a.c.f3.q; import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.decoder.DecoderInputBuffer; -import java.io.IOException; import java.util.Objects; -/* compiled from: BaseRenderer */ -public abstract class g0 implements k1, l1 { - public final int i; - public final s0 j = new s0(); - @Nullable - public m1 k; - public int l; - public int m; - @Nullable - public f0 n; - @Nullable - public Format[] o; - public long p; - public long q = Long.MIN_VALUE; +/* compiled from: lambda */ +public final /* synthetic */ class g0 implements Runnable { + public final /* synthetic */ h1 i; + public final /* synthetic */ b2 j; - /* renamed from: r reason: collision with root package name */ - public boolean f925r; - public boolean s; - - public g0(int i) { - this.i = i; + public /* synthetic */ g0(h1 h1Var, b2 b2Var) { + this.i = h1Var; + this.j = b2Var; } - public final s0 A() { - this.j.a(); - return this.j; - } - - public abstract void B(); - - public void C(boolean z2, boolean z3) throws ExoPlaybackException { - } - - public abstract void D(long j, boolean z2) throws ExoPlaybackException; - - public void E() { - } - - public void F() throws ExoPlaybackException { - } - - public void G() { - } - - public abstract void H(Format[] formatArr, long j, long j2) throws ExoPlaybackException; - - public final int I(s0 s0Var, DecoderInputBuffer decoderInputBuffer, boolean z2) { - f0 f0Var = this.n; - Objects.requireNonNull(f0Var); - int a = f0Var.a(s0Var, decoderInputBuffer, z2); - if (a == -4) { - if (decoderInputBuffer.n()) { - this.q = Long.MIN_VALUE; - return this.f925r ? -4 : -3; - } - long j = decoderInputBuffer.m + this.p; - decoderInputBuffer.m = j; - this.q = Math.max(this.q, j); - } else if (a == -5) { - Format format = s0Var.b; - Objects.requireNonNull(format); - if (format.f2696x != RecyclerView.FOREVER_NS) { - Format.b a2 = format.a(); - a2.o = format.f2696x + this.p; - s0Var.b = a2.a(); - } + @Override // java.lang.Runnable + public final void run() { + h1 h1Var = this.i; + b2 b2Var = this.j; + Objects.requireNonNull(h1Var); + try { + h1Var.d(b2Var); + } catch (ExoPlaybackException e) { + q.b("ExoPlayerImplInternal", "Unexpected error delivering message on external thread.", e); + throw new RuntimeException(e); } - return a; - } - - @Override // c.i.a.c.k1 - public final void f(int i) { - this.l = i; - } - - @Override // c.i.a.c.k1 - public final void g() { - boolean z2 = true; - if (this.m != 1) { - z2 = false; - } - d.D(z2); - this.j.a(); - this.m = 0; - this.n = null; - this.o = null; - this.f925r = false; - B(); - } - - @Override // c.i.a.c.k1 - public final int getState() { - return this.m; - } - - @Override // c.i.a.c.k1 - @Nullable - public final f0 h() { - return this.n; - } - - @Override // c.i.a.c.k1 - public final boolean i() { - return this.q == Long.MIN_VALUE; - } - - @Override // c.i.a.c.k1 - public final void j(Format[] formatArr, f0 f0Var, long j, long j2) throws ExoPlaybackException { - d.D(!this.f925r); - this.n = f0Var; - this.q = j2; - this.o = formatArr; - this.p = j2; - H(formatArr, j, j2); - } - - @Override // c.i.a.c.k1 - public final void k() { - this.f925r = true; - } - - @Override // c.i.a.c.k1 - public final l1 l() { - return this; - } - - @Override // c.i.a.c.k1 - public /* synthetic */ void n(float f, float f2) { - j1.a(this, f, f2); - } - - @Override // c.i.a.c.k1 - public final void o(m1 m1Var, Format[] formatArr, f0 f0Var, long j, boolean z2, boolean z3, long j2, long j3) throws ExoPlaybackException { - d.D(this.m == 0); - this.k = m1Var; - this.m = 1; - C(z2, z3); - j(formatArr, f0Var, j2, j3); - D(j, z2); - } - - @Override // c.i.a.c.l1 - public int p() throws ExoPlaybackException { - return 0; - } - - @Override // c.i.a.c.h1.b - public void r(int i, @Nullable Object obj) throws ExoPlaybackException { - } - - @Override // c.i.a.c.k1 - public final void reset() { - d.D(this.m == 0); - this.j.a(); - E(); - } - - @Override // c.i.a.c.k1 - public final void s() throws IOException { - f0 f0Var = this.n; - Objects.requireNonNull(f0Var); - f0Var.b(); - } - - @Override // c.i.a.c.k1 - public final void start() throws ExoPlaybackException { - boolean z2 = true; - if (this.m != 1) { - z2 = false; - } - d.D(z2); - this.m = 2; - F(); - } - - @Override // c.i.a.c.k1 - public final void stop() { - d.D(this.m == 2); - this.m = 1; - G(); - } - - @Override // c.i.a.c.k1 - public final long t() { - return this.q; - } - - @Override // c.i.a.c.k1 - public final void u(long j) throws ExoPlaybackException { - this.f925r = false; - this.q = j; - D(j, false); - } - - @Override // c.i.a.c.k1 - public final boolean v() { - return this.f925r; - } - - @Override // c.i.a.c.k1 - @Nullable - public r w() { - return null; - } - - @Override // c.i.a.c.k1 - public final int x() { - return this.i; - } - - public final ExoPlaybackException y(Throwable th, @Nullable Format format) { - return z(th, format, false); - } - - /* JADX WARNING: Removed duplicated region for block: B:16:0x0025 */ - /* JADX WARNING: Removed duplicated region for block: B:17:0x0027 */ - public final ExoPlaybackException z(Throwable th, @Nullable Format format, boolean z2) { - int i; - if (format != null && !this.s) { - this.s = true; - boolean z3 = false; - try { - i = a(format) & 7; - } catch (ExoPlaybackException unused) { - } finally { - this.s = z3; - } - return new ExoPlaybackException(1, th, null, getName(), this.l, format, format != null ? 4 : i, z2); - } - i = 4; - return new ExoPlaybackException(1, th, null, getName(), this.l, format, format != null ? 4 : i, z2); } } diff --git a/app/src/main/java/c/i/a/c/g1.java b/app/src/main/java/c/i/a/c/g1.java index 127ff0a4b1..ec5cae3b9e 100644 --- a/app/src/main/java/c/i/a/c/g1.java +++ b/app/src/main/java/c/i/a/c/g1.java @@ -1,165 +1,23 @@ package c.i.a.c; -import android.os.Looper; -import androidx.annotation.Nullable; -import c.i.a.c.f2.k; -import c.i.a.c.i2.t; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.source.TrackGroupArray; -import java.util.List; -/* compiled from: Player */ -public interface g1 { +import c.i.a.c.f2; +/* compiled from: ExoPlayerImplInternal */ +public class g1 implements f2.a { + public final /* synthetic */ h1 a; - /* compiled from: Player */ - public interface a { - @Deprecated - void C(r1 r1Var, @Nullable Object obj, int i); - - void D(int i); - - void E(@Nullable v0 v0Var, int i); - - void M(boolean z2, int i); - - void O(TrackGroupArray trackGroupArray, k kVar); - - void Q(d1 d1Var); - - void S(boolean z2); - - void X(boolean z2); - - @Deprecated - void a(); - - void d(int i); - - @Deprecated - void e(boolean z2); - - void f(int i); - - void i(List list); - - void k(ExoPlaybackException exoPlaybackException); - - void n(boolean z2); - - void p(r1 r1Var, int i); - - void r(int i); - - void v(boolean z2); - - void w(g1 g1Var, b bVar); - - void y(boolean z2); - - @Deprecated - void z(boolean z2, int i); + public g1(h1 h1Var) { + this.a = h1Var; } - /* compiled from: Player */ - public static final class b extends t { - public boolean a(int i) { - return this.a.get(i); - } + @Override // c.i.a.c.f2.a + public void a() { + this.a.p.f(2); + } - public boolean b(int... iArr) { - for (int i : iArr) { - if (a(i)) { - return true; - } - } - return false; + @Override // c.i.a.c.f2.a + public void b(long j) { + if (j >= 2000) { + this.a.P = true; } } - - /* compiled from: Player */ - public interface c { - } - - /* compiled from: Player */ - public interface d { - } - - TrackGroupArray A(); - - int B(); - - long C(); - - r1 D(); - - Looper E(); - - boolean F(); - - long G(); - - k H(); - - int I(int i); - - long J(); - - @Nullable - c K(); - - void a(); - - d1 c(); - - boolean d(); - - long e(); - - void f(int i, long j); - - boolean g(); - - void h(boolean z2); - - boolean hasNext(); - - boolean hasPrevious(); - - List i(); - - int j(); - - boolean k(); - - void l(a aVar); - - int m(); - - void n(a aVar); - - int o(); - - @Nullable - ExoPlaybackException p(); - - void q(boolean z2); - - @Nullable - d r(); - - long s(); - - int t(); - - int u(); - - boolean v(); - - int w(); - - void x(int i); - - int y(); - - int z(); } diff --git a/app/src/main/java/c/i/a/c/g2.java b/app/src/main/java/c/i/a/c/g2.java new file mode 100644 index 0000000000..c1138fe752 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g2.java @@ -0,0 +1,11 @@ +package c.i.a.c; + +import com.google.android.exoplayer2.ExoPlaybackException; +/* compiled from: RendererCapabilities */ +public interface g2 { + int a(j1 j1Var) throws ExoPlaybackException; + + String getName(); + + int p() throws ExoPlaybackException; +} diff --git a/app/src/main/java/c/i/a/c/g2/a.java b/app/src/main/java/c/i/a/c/g2/a.java deleted file mode 100644 index df24969154..0000000000 --- a/app/src/main/java/c/i/a/c/g2/a.java +++ /dev/null @@ -1,16 +0,0 @@ -package c.i.a.c.g2; - -import com.google.android.exoplayer2.ui.PlayerControlView; -/* compiled from: lambda */ -public final /* synthetic */ class a implements Runnable { - public final /* synthetic */ PlayerControlView i; - - public /* synthetic */ a(PlayerControlView playerControlView) { - this.i = playerControlView; - } - - @Override // java.lang.Runnable - public final void run() { - this.i.c(); - } -} diff --git a/app/src/main/java/c/i/a/c/g2/b.java b/app/src/main/java/c/i/a/c/g2/b.java deleted file mode 100644 index 265b0b83c0..0000000000 --- a/app/src/main/java/c/i/a/c/g2/b.java +++ /dev/null @@ -1,16 +0,0 @@ -package c.i.a.c.g2; - -import com.google.android.exoplayer2.ui.DefaultTimeBar; -/* compiled from: lambda */ -public final /* synthetic */ class b implements Runnable { - public final /* synthetic */ DefaultTimeBar i; - - public /* synthetic */ b(DefaultTimeBar defaultTimeBar) { - this.i = defaultTimeBar; - } - - @Override // java.lang.Runnable - public final void run() { - this.i.g(false); - } -} diff --git a/app/src/main/java/c/i/a/c/g2/c.java b/app/src/main/java/c/i/a/c/g2/c.java deleted file mode 100644 index 4b6c231402..0000000000 --- a/app/src/main/java/c/i/a/c/g2/c.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.g2; - -import android.animation.ValueAnimator; -import com.google.android.exoplayer2.ui.DefaultTimeBar; -import java.util.Objects; -/* compiled from: lambda */ -public final /* synthetic */ class c implements ValueAnimator.AnimatorUpdateListener { - public final /* synthetic */ DefaultTimeBar a; - - public /* synthetic */ c(DefaultTimeBar defaultTimeBar) { - this.a = defaultTimeBar; - } - - @Override // android.animation.ValueAnimator.AnimatorUpdateListener - public final void onAnimationUpdate(ValueAnimator valueAnimator) { - DefaultTimeBar defaultTimeBar = this.a; - Objects.requireNonNull(defaultTimeBar); - defaultTimeBar.N = ((Float) valueAnimator.getAnimatedValue()).floatValue(); - defaultTimeBar.invalidate(defaultTimeBar.i); - } -} diff --git a/app/src/main/java/c/i/a/c/g2/d.java b/app/src/main/java/c/i/a/c/g2/d.java deleted file mode 100644 index 091003a942..0000000000 --- a/app/src/main/java/c/i/a/c/g2/d.java +++ /dev/null @@ -1,18 +0,0 @@ -package c.i.a.c.g2; - -import com.google.android.exoplayer2.ui.PlayerControlView; -/* compiled from: lambda */ -public final /* synthetic */ class d implements Runnable { - public final /* synthetic */ PlayerControlView i; - - public /* synthetic */ d(PlayerControlView playerControlView) { - this.i = playerControlView; - } - - @Override // java.lang.Runnable - public final void run() { - PlayerControlView playerControlView = this.i; - int i = PlayerControlView.i; - playerControlView.m(); - } -} diff --git a/app/src/main/java/c/i/a/c/g2/e.java b/app/src/main/java/c/i/a/c/g2/e.java deleted file mode 100644 index 20a4496521..0000000000 --- a/app/src/main/java/c/i/a/c/g2/e.java +++ /dev/null @@ -1,20 +0,0 @@ -package c.i.a.c.g2; - -import c.i.a.c.g2.i; -import java.util.Comparator; -/* compiled from: lambda */ -public final /* synthetic */ class e implements Comparator { - public static final /* synthetic */ e i = new e(); - - @Override // java.util.Comparator - public final int compare(Object obj, Object obj2) { - i.c cVar = (i.c) obj; - i.c cVar2 = (i.c) obj2; - int compare = Integer.compare(cVar2.b, cVar.b); - if (compare != 0) { - return compare; - } - int compareTo = cVar.f926c.compareTo(cVar2.f926c); - return compareTo != 0 ? compareTo : cVar.d.compareTo(cVar2.d); - } -} diff --git a/app/src/main/java/c/i/a/c/g2/f.java b/app/src/main/java/c/i/a/c/g2/f.java deleted file mode 100644 index e42c25e82e..0000000000 --- a/app/src/main/java/c/i/a/c/g2/f.java +++ /dev/null @@ -1,20 +0,0 @@ -package c.i.a.c.g2; - -import c.i.a.c.g2.i; -import java.util.Comparator; -/* compiled from: lambda */ -public final /* synthetic */ class f implements Comparator { - public static final /* synthetic */ f i = new f(); - - @Override // java.util.Comparator - public final int compare(Object obj, Object obj2) { - i.c cVar = (i.c) obj; - i.c cVar2 = (i.c) obj2; - int compare = Integer.compare(cVar2.a, cVar.a); - if (compare != 0) { - return compare; - } - int compareTo = cVar2.f926c.compareTo(cVar.f926c); - return compareTo != 0 ? compareTo : cVar2.d.compareTo(cVar.d); - } -} diff --git a/app/src/main/java/c/i/a/c/g2/g.java b/app/src/main/java/c/i/a/c/g2/g.java deleted file mode 100644 index 9e1f6fc568..0000000000 --- a/app/src/main/java/c/i/a/c/g2/g.java +++ /dev/null @@ -1,478 +0,0 @@ -package c.i.a.c.g2; - -import android.content.Context; -import android.graphics.Bitmap; -import android.graphics.Canvas; -import android.graphics.Color; -import android.graphics.Rect; -import android.text.Layout; -import android.text.SpannableStringBuilder; -import android.text.StaticLayout; -import android.text.TextUtils; -import android.text.style.AbsoluteSizeSpan; -import android.text.style.BackgroundColorSpan; -import android.text.style.ForegroundColorSpan; -import android.util.AttributeSet; -import android.util.Log; -import android.view.View; -import androidx.annotation.Nullable; -import androidx.core.view.ViewCompat; -import androidx.recyclerview.widget.ItemTouchHelper; -import c.c.a.a0.d; -import c.i.a.c.e2.b; -import c.i.a.c.e2.c; -import c.i.a.c.i2.f0; -import com.google.android.exoplayer2.ui.SubtitleView; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Objects; -/* compiled from: CanvasSubtitleOutput */ -public final class g extends View implements SubtitleView.a { - public final List i = new ArrayList(); - public List j = Collections.emptyList(); - public int k = 0; - public float l = 0.0533f; - public b m = b.a; - public float n = 0.08f; - - public g(Context context, @Nullable AttributeSet attributeSet) { - super(context, attributeSet); - } - - @Override // com.google.android.exoplayer2.ui.SubtitleView.a - public void a(List list, b bVar, float f, int i, float f2) { - this.j = list; - this.m = bVar; - this.l = f; - this.k = i; - this.n = f2; - while (this.i.size() < list.size()) { - this.i.add(new j(getContext())); - } - invalidate(); - } - - /* JADX WARNING: Code restructure failed: missing block: B:166:0x03e8, code lost: - if (r3 < r6) goto L_0x03f8; - */ - /* JADX WARNING: Removed duplicated region for block: B:164:0x03e3 */ - /* JADX WARNING: Removed duplicated region for block: B:165:0x03e6 */ - /* JADX WARNING: Removed duplicated region for block: B:170:0x0437 */ - /* JADX WARNING: Removed duplicated region for block: B:183:0x04a7 */ - /* JADX WARNING: Removed duplicated region for block: B:184:0x04a9 */ - /* JADX WARNING: Removed duplicated region for block: B:95:0x01fc */ - @Override // android.view.View - public void dispatchDraw(Canvas canvas) { - int i; - float f; - int i2; - int i3; - int i4; - int i5; - int i6; - int i7; - Canvas canvas2; - int i8; - CharSequence charSequence; - CharSequence charSequence2; - boolean z2; - boolean z3; - int i9; - float f2; - float f3; - int i10; - int i11; - int i12; - int i13; - int i14; - int i15; - int i16; - g gVar = this; - Canvas canvas3 = canvas; - List list = gVar.j; - if (!list.isEmpty()) { - int height = getHeight(); - int paddingLeft = getPaddingLeft(); - int paddingTop = getPaddingTop(); - int width = getWidth() - getPaddingRight(); - int paddingBottom = height - getPaddingBottom(); - if (paddingBottom > paddingTop && width > paddingLeft) { - int i17 = paddingBottom - paddingTop; - float S1 = d.S1(gVar.k, gVar.l, height, i17); - if (S1 > 0.0f) { - int size = list.size(); - int i18 = 0; - while (i18 < size) { - c cVar = list.get(i18); - if (cVar.p != Integer.MIN_VALUE) { - c.b a = cVar.a(); - a.g = -3.4028235E38f; - a.h = Integer.MIN_VALUE; - a.f869c = null; - if (cVar.f == 0) { - a.d = 1.0f - cVar.e; - a.e = 0; - } else { - a.d = (-cVar.e) - 1.0f; - a.e = 1; - } - int i19 = cVar.g; - if (i19 == 0) { - a.f = 2; - } else if (i19 == 2) { - a.f = 0; - } - cVar = a.a(); - } - float S12 = d.S1(cVar.n, cVar.o, height, i17); - j jVar = gVar.i.get(i18); - b bVar = gVar.m; - float f4 = gVar.n; - Objects.requireNonNull(jVar); - boolean z4 = cVar.d == null; - if (!z4) { - i7 = i17; - i8 = ViewCompat.MEASURED_STATE_MASK; - charSequence = jVar.i; - i6 = size; - charSequence2 = cVar.b; - if (!(charSequence != charSequence2 || (charSequence != null && charSequence.equals(charSequence2)))) { - } - jVar.i = cVar.b; - jVar.j = cVar.f868c; - jVar.k = cVar.d; - jVar.l = cVar.e; - jVar.m = cVar.f; - jVar.n = cVar.g; - jVar.o = cVar.h; - jVar.p = cVar.i; - jVar.q = cVar.j; - jVar.f928r = cVar.k; - jVar.s = bVar.b; - jVar.t = bVar.f867c; - jVar.u = i8; - jVar.f929w = bVar.e; - jVar.v = bVar.f; - jVar.f.setTypeface(bVar.g); - jVar.f930x = S1; - jVar.f931y = S12; - jVar.f932z = f4; - jVar.A = paddingLeft; - jVar.B = paddingTop; - jVar.C = width; - jVar.D = paddingBottom; - if (!z4) { - } - canvas2 = canvas; - z2 = z3; - jVar.a(canvas2, z2); - i18 = i + 1; - canvas3 = canvas2; - list = list; - i17 = i7; - height = height; - size = i6; - paddingLeft = i5; - paddingTop = i4; - width = i3; - paddingBottom = i2; - S1 = f; - gVar = this; - } else if (TextUtils.isEmpty(cVar.b)) { - canvas2 = canvas3; - i5 = paddingLeft; - i4 = paddingTop; - i3 = width; - i2 = paddingBottom; - i7 = i17; - f = S1; - i6 = size; - } else { - i8 = cVar.l ? cVar.m : bVar.d; - i7 = i17; - charSequence = jVar.i; - i6 = size; - charSequence2 = cVar.b; - if (!(charSequence != charSequence2 || (charSequence != null && charSequence.equals(charSequence2))) && f0.a(jVar.j, cVar.f868c) && jVar.k == cVar.d && jVar.l == cVar.e && jVar.m == cVar.f && f0.a(Integer.valueOf(jVar.n), Integer.valueOf(cVar.g)) && jVar.o == cVar.h && f0.a(Integer.valueOf(jVar.p), Integer.valueOf(cVar.i)) && jVar.q == cVar.j && jVar.f928r == cVar.k && jVar.s == bVar.b && jVar.t == bVar.f867c && jVar.u == i8 && jVar.f929w == bVar.e && jVar.v == bVar.f && f0.a(jVar.f.getTypeface(), bVar.g) && jVar.f930x == S1 && jVar.f931y == S12 && jVar.f932z == f4 && jVar.A == paddingLeft && jVar.B == paddingTop && jVar.C == width && jVar.D == paddingBottom) { - jVar.a(canvas3, z4); - canvas2 = canvas3; - i5 = paddingLeft; - i4 = paddingTop; - i3 = width; - i2 = paddingBottom; - f = S1; - } else { - jVar.i = cVar.b; - jVar.j = cVar.f868c; - jVar.k = cVar.d; - jVar.l = cVar.e; - jVar.m = cVar.f; - jVar.n = cVar.g; - jVar.o = cVar.h; - jVar.p = cVar.i; - jVar.q = cVar.j; - jVar.f928r = cVar.k; - jVar.s = bVar.b; - jVar.t = bVar.f867c; - jVar.u = i8; - jVar.f929w = bVar.e; - jVar.v = bVar.f; - jVar.f.setTypeface(bVar.g); - jVar.f930x = S1; - jVar.f931y = S12; - jVar.f932z = f4; - jVar.A = paddingLeft; - jVar.B = paddingTop; - jVar.C = width; - jVar.D = paddingBottom; - if (!z4) { - Objects.requireNonNull(jVar.i); - CharSequence charSequence3 = jVar.i; - SpannableStringBuilder spannableStringBuilder = charSequence3 instanceof SpannableStringBuilder ? (SpannableStringBuilder) charSequence3 : new SpannableStringBuilder(jVar.i); - int i20 = jVar.C - jVar.A; - int i21 = jVar.D - jVar.B; - jVar.f.setTextSize(jVar.f930x); - int i22 = (int) ((jVar.f930x * 0.125f) + 0.5f); - int i23 = i22 * 2; - int i24 = i20 - i23; - float f5 = jVar.q; - if (f5 != -3.4028235E38f) { - i24 = (int) (((float) i24) * f5); - } - if (i24 <= 0) { - Log.w("SubtitlePainter", "Skipped drawing subtitle cue (insufficient space)"); - i5 = paddingLeft; - i4 = paddingTop; - i3 = width; - i2 = paddingBottom; - f = S1; - i = i18; - z2 = z4; - canvas2 = canvas3; - } else { - i5 = paddingLeft; - i4 = paddingTop; - if (jVar.f931y > 0.0f) { - i3 = width; - i2 = paddingBottom; - i10 = 0; - spannableStringBuilder.setSpan(new AbsoluteSizeSpan((int) jVar.f931y), 0, spannableStringBuilder.length(), ItemTouchHelper.ACTION_MODE_DRAG_MASK); - } else { - i3 = width; - i2 = paddingBottom; - i10 = 0; - } - SpannableStringBuilder spannableStringBuilder2 = new SpannableStringBuilder(spannableStringBuilder); - if (jVar.f929w == 1) { - ForegroundColorSpan[] foregroundColorSpanArr = (ForegroundColorSpan[]) spannableStringBuilder2.getSpans(i10, spannableStringBuilder2.length(), ForegroundColorSpan.class); - int i25 = 0; - for (int length = foregroundColorSpanArr.length; i25 < length; length = length) { - spannableStringBuilder2.removeSpan(foregroundColorSpanArr[i25]); - i25++; - } - } - if (Color.alpha(jVar.t) > 0) { - int i26 = jVar.f929w; - if (i26 == 0 || i26 == 2) { - f = S1; - spannableStringBuilder.setSpan(new BackgroundColorSpan(jVar.t), 0, spannableStringBuilder.length(), ItemTouchHelper.ACTION_MODE_DRAG_MASK); - } else { - f = S1; - spannableStringBuilder2.setSpan(new BackgroundColorSpan(jVar.t), 0, spannableStringBuilder2.length(), ItemTouchHelper.ACTION_MODE_DRAG_MASK); - } - } else { - f = S1; - } - Layout.Alignment alignment = jVar.j; - if (alignment == null) { - alignment = Layout.Alignment.ALIGN_CENTER; - } - i = i18; - StaticLayout staticLayout = new StaticLayout(spannableStringBuilder, jVar.f, i24, alignment, jVar.d, jVar.e, true); - jVar.E = staticLayout; - int height2 = staticLayout.getHeight(); - int lineCount = jVar.E.getLineCount(); - int i27 = 0; - int i28 = 0; - while (i27 < lineCount) { - i28 = Math.max((int) Math.ceil((double) jVar.E.getLineWidth(i27)), i28); - i27++; - lineCount = lineCount; - z4 = z4; - } - z3 = z4; - if (jVar.q == -3.4028235E38f || i28 >= i24) { - i24 = i28; - } - int i29 = i24 + i23; - float f6 = jVar.o; - if (f6 != -3.4028235E38f) { - int round = Math.round(((float) i20) * f6); - int i30 = jVar.A; - int i31 = round + i30; - int i32 = jVar.p; - if (i32 == 1) { - i31 = ((i31 * 2) - i29) / 2; - } else if (i32 == 2) { - i31 -= i29; - } - i12 = Math.max(i31, i30); - i11 = Math.min(i29 + i12, jVar.C); - } else { - i12 = jVar.A + ((i20 - i29) / 2); - i11 = i12 + i29; - } - int i33 = i11 - i12; - if (i33 <= 0) { - Log.w("SubtitlePainter", "Skipped drawing subtitle cue (invalid horizontal positioning)"); - canvas2 = canvas; - z2 = z3; - } else { - float f7 = jVar.l; - if (f7 != -3.4028235E38f) { - if (jVar.m == 0) { - i14 = Math.round(((float) i21) * f7) + jVar.B; - int i34 = jVar.n; - if (i34 != 2) { - if (i34 == 1) { - i14 = ((i14 * 2) - height2) / 2; - } - i15 = i14 + height2; - i16 = jVar.D; - if (i15 > i16) { - i14 = i16 - height2; - } else { - i13 = jVar.B; - } - } - } else { - int lineBottom = jVar.E.getLineBottom(0) - jVar.E.getLineTop(0); - float f8 = jVar.l; - if (f8 >= 0.0f) { - i14 = Math.round(f8 * ((float) lineBottom)) + jVar.B; - i15 = i14 + height2; - i16 = jVar.D; - if (i15 > i16) { - } - } else { - i14 = Math.round((f8 + 1.0f) * ((float) lineBottom)) + jVar.D; - } - } - i14 -= height2; - i15 = i14 + height2; - i16 = jVar.D; - if (i15 > i16) { - } - } else { - i14 = (jVar.D - height2) - ((int) (((float) i21) * jVar.f932z)); - } - i13 = i14; - jVar.E = new StaticLayout(spannableStringBuilder, jVar.f, i33, alignment, jVar.d, jVar.e, true); - jVar.F = new StaticLayout(spannableStringBuilder2, jVar.f, i33, alignment, jVar.d, jVar.e, true); - jVar.G = i12; - jVar.H = i13; - jVar.I = i22; - } - } - jVar.a(canvas2, z2); - i18 = i + 1; - canvas3 = canvas2; - list = list; - i17 = i7; - height = height; - size = i6; - paddingLeft = i5; - paddingTop = i4; - width = i3; - paddingBottom = i2; - S1 = f; - gVar = this; - } else { - z3 = z4; - i5 = paddingLeft; - i4 = paddingTop; - i3 = width; - i2 = paddingBottom; - f = S1; - i = i18; - Objects.requireNonNull(jVar.k); - Bitmap bitmap = jVar.k; - int i35 = jVar.C; - int i36 = jVar.A; - int i37 = jVar.D; - int i38 = jVar.B; - float f9 = (float) (i35 - i36); - float f10 = (jVar.o * f9) + ((float) i36); - float f11 = (float) (i37 - i38); - float f12 = (jVar.l * f11) + ((float) i38); - int round2 = Math.round(f9 * jVar.q); - float f13 = jVar.f928r; - int round3 = f13 != -3.4028235E38f ? Math.round(f11 * f13) : Math.round((((float) bitmap.getHeight()) / ((float) bitmap.getWidth())) * ((float) round2)); - int i39 = jVar.p; - if (i39 == 2) { - f3 = (float) round2; - } else { - if (i39 == 1) { - f3 = (float) (round2 / 2); - } - int round4 = Math.round(f10); - i9 = jVar.n; - if (i9 != 2) { - f2 = (float) round3; - } else { - if (i9 == 1) { - f2 = (float) (round3 / 2); - } - int round5 = Math.round(f12); - jVar.J = new Rect(round4, round5, round2 + round4, round3 + round5); - } - f12 -= f2; - int round5 = Math.round(f12); - jVar.J = new Rect(round4, round5, round2 + round4, round3 + round5); - } - f10 -= f3; - int round4 = Math.round(f10); - i9 = jVar.n; - if (i9 != 2) { - } - f12 -= f2; - int round5 = Math.round(f12); - jVar.J = new Rect(round4, round5, round2 + round4, round3 + round5); - } - canvas2 = canvas; - z2 = z3; - jVar.a(canvas2, z2); - i18 = i + 1; - canvas3 = canvas2; - list = list; - i17 = i7; - height = height; - size = i6; - paddingLeft = i5; - paddingTop = i4; - width = i3; - paddingBottom = i2; - S1 = f; - gVar = this; - } - } - i = i18; - i18 = i + 1; - canvas3 = canvas2; - list = list; - i17 = i7; - height = height; - size = i6; - paddingLeft = i5; - paddingTop = i4; - width = i3; - paddingBottom = i2; - S1 = f; - gVar = this; - } - } - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/g2/h.java b/app/src/main/java/c/i/a/c/g2/h.java deleted file mode 100644 index 34144f3eed..0000000000 --- a/app/src/main/java/c/i/a/c/g2/h.java +++ /dev/null @@ -1,13 +0,0 @@ -package c.i.a.c.g2; - -import android.content.res.Resources; -import java.util.Objects; -/* compiled from: DefaultTrackNameProvider */ -public class h implements l { - public final Resources a; - - public h(Resources resources) { - Objects.requireNonNull(resources); - this.a = resources; - } -} diff --git a/app/src/main/java/c/i/a/c/g2/i.java b/app/src/main/java/c/i/a/c/g2/i.java deleted file mode 100644 index 72d9a7367f..0000000000 --- a/app/src/main/java/c/i/a/c/g2/i.java +++ /dev/null @@ -1,49 +0,0 @@ -package c.i.a.c.g2; - -import android.text.Html; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.regex.Pattern; -/* compiled from: SpannedToHtmlConverter */ -public final class i { - public static final Pattern a = Pattern.compile("( )? "); - - /* compiled from: SpannedToHtmlConverter */ - public static class b { - public final String a; - public final Map b; - - public b(String str, Map map, a aVar) { - this.a = str; - this.b = map; - } - } - - /* compiled from: SpannedToHtmlConverter */ - public static final class c { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final String f926c; - public final String d; - - public c(int i, int i2, String str, String str2, a aVar) { - this.a = i; - this.b = i2; - this.f926c = str; - this.d = str2; - } - } - - /* compiled from: SpannedToHtmlConverter */ - public static final class d { - public final List a = new ArrayList(); - public final List b = new ArrayList(); - } - - public static String a(CharSequence charSequence) { - return a.matcher(Html.escapeHtml(charSequence)).replaceAll("
"); - } -} diff --git a/app/src/main/java/c/i/a/c/g2/j.java b/app/src/main/java/c/i/a/c/g2/j.java deleted file mode 100644 index 630f9b4d0c..0000000000 --- a/app/src/main/java/c/i/a/c/g2/j.java +++ /dev/null @@ -1,146 +0,0 @@ -package c.i.a.c.g2; - -import android.content.Context; -import android.content.res.TypedArray; -import android.graphics.Bitmap; -import android.graphics.Canvas; -import android.graphics.Color; -import android.graphics.Paint; -import android.graphics.Rect; -import android.text.Layout; -import android.text.StaticLayout; -import android.text.TextPaint; -import androidx.annotation.Nullable; -import java.util.Objects; -/* compiled from: SubtitlePainter */ -public final class j { - public int A; - public int B; - public int C; - public int D; - public StaticLayout E; - public StaticLayout F; - public int G; - public int H; - public int I; - public Rect J; - public final float a; - public final float b; - - /* renamed from: c reason: collision with root package name */ - public final float f927c; - public final float d; - public final float e; - public final TextPaint f; - public final Paint g; - public final Paint h; - @Nullable - public CharSequence i; - @Nullable - public Layout.Alignment j; - @Nullable - public Bitmap k; - public float l; - public int m; - public int n; - public float o; - public int p; - public float q; - - /* renamed from: r reason: collision with root package name */ - public float f928r; - public int s; - public int t; - public int u; - public int v; - - /* renamed from: w reason: collision with root package name */ - public int f929w; - - /* renamed from: x reason: collision with root package name */ - public float f930x; - - /* renamed from: y reason: collision with root package name */ - public float f931y; - - /* renamed from: z reason: collision with root package name */ - public float f932z; - - public j(Context context) { - TypedArray obtainStyledAttributes = context.obtainStyledAttributes(null, new int[]{16843287, 16843288}, 0, 0); - this.e = (float) obtainStyledAttributes.getDimensionPixelSize(0, 0); - this.d = obtainStyledAttributes.getFloat(1, 1.0f); - obtainStyledAttributes.recycle(); - float round = (float) Math.round((((float) context.getResources().getDisplayMetrics().densityDpi) * 2.0f) / 160.0f); - this.a = round; - this.b = round; - this.f927c = round; - TextPaint textPaint = new TextPaint(); - this.f = textPaint; - textPaint.setAntiAlias(true); - textPaint.setSubpixelText(true); - Paint paint = new Paint(); - this.g = paint; - paint.setAntiAlias(true); - paint.setStyle(Paint.Style.FILL); - Paint paint2 = new Paint(); - this.h = paint2; - paint2.setAntiAlias(true); - paint2.setFilterBitmap(true); - } - - public final void a(Canvas canvas, boolean z2) { - if (z2) { - StaticLayout staticLayout = this.E; - StaticLayout staticLayout2 = this.F; - if (staticLayout != null && staticLayout2 != null) { - int save = canvas.save(); - canvas.translate((float) this.G, (float) this.H); - if (Color.alpha(this.u) > 0) { - this.g.setColor(this.u); - canvas.drawRect((float) (-this.I), 0.0f, (float) (staticLayout.getWidth() + this.I), (float) staticLayout.getHeight(), this.g); - } - int i = this.f929w; - boolean z3 = true; - if (i == 1) { - this.f.setStrokeJoin(Paint.Join.ROUND); - this.f.setStrokeWidth(this.a); - this.f.setColor(this.v); - this.f.setStyle(Paint.Style.FILL_AND_STROKE); - staticLayout2.draw(canvas); - } else if (i == 2) { - TextPaint textPaint = this.f; - float f = this.b; - float f2 = this.f927c; - textPaint.setShadowLayer(f, f2, f2, this.v); - } else if (i == 3 || i == 4) { - if (i != 3) { - z3 = false; - } - int i2 = -1; - int i3 = z3 ? -1 : this.v; - if (z3) { - i2 = this.v; - } - float f3 = this.b / 2.0f; - this.f.setColor(this.s); - this.f.setStyle(Paint.Style.FILL); - float f4 = -f3; - this.f.setShadowLayer(this.b, f4, f4, i3); - staticLayout2.draw(canvas); - this.f.setShadowLayer(this.b, f3, f3, i2); - } - this.f.setColor(this.s); - this.f.setStyle(Paint.Style.FILL); - staticLayout.draw(canvas); - this.f.setShadowLayer(0.0f, 0.0f, 0.0f, 0); - canvas.restoreToCount(save); - return; - } - return; - } - Objects.requireNonNull(this.J); - Objects.requireNonNull(this.k); - canvas.drawBitmap(this.k, (Rect) null, this.J, this.h); - } -} diff --git a/app/src/main/java/c/i/a/c/g2/k.java b/app/src/main/java/c/i/a/c/g2/k.java deleted file mode 100644 index 4f7417dc3d..0000000000 --- a/app/src/main/java/c/i/a/c/g2/k.java +++ /dev/null @@ -1,30 +0,0 @@ -package c.i.a.c.g2; - -import androidx.annotation.Nullable; -/* compiled from: TimeBar */ -public interface k { - - /* compiled from: TimeBar */ - public interface a { - void b(k kVar, long j); - - void c(k kVar, long j, boolean z2); - - void g(k kVar, long j); - } - - void a(@Nullable long[] jArr, @Nullable boolean[] zArr, int i); - - void b(a aVar); - - long getPreferredUpdateDelay(); - - void setBufferedPosition(long j); - - void setDuration(long j); - - @Override // c.i.a.c.g2.k - void setEnabled(boolean z2); - - void setPosition(long j); -} diff --git a/app/src/main/java/c/i/a/c/g2/l.java b/app/src/main/java/c/i/a/c/g2/l.java deleted file mode 100644 index ac75414939..0000000000 --- a/app/src/main/java/c/i/a/c/g2/l.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.a.c.g2; -/* compiled from: TrackNameProvider */ -public interface l { -} diff --git a/app/src/main/java/c/i/a/c/g2/m.java b/app/src/main/java/c/i/a/c/g2/m.java deleted file mode 100644 index 8562bfb4d1..0000000000 --- a/app/src/main/java/c/i/a/c/g2/m.java +++ /dev/null @@ -1,24 +0,0 @@ -package c.i.a.c.g2; - -import android.content.Context; -import android.util.AttributeSet; -import android.view.MotionEvent; -import android.webkit.WebView; -/* compiled from: WebViewSubtitleOutput */ -public class m extends WebView { - public m(n nVar, Context context, AttributeSet attributeSet) { - super(context, attributeSet); - } - - @Override // android.webkit.WebView, android.view.View - public boolean onTouchEvent(MotionEvent motionEvent) { - super.onTouchEvent(motionEvent); - return false; - } - - @Override // android.view.View - public boolean performClick() { - super.performClick(); - return false; - } -} diff --git a/app/src/main/java/c/i/a/c/g2/n.java b/app/src/main/java/c/i/a/c/g2/n.java deleted file mode 100644 index e87701769d..0000000000 --- a/app/src/main/java/c/i/a/c/g2/n.java +++ /dev/null @@ -1,670 +0,0 @@ -package c.i.a.c.g2; - -import android.content.Context; -import android.text.Layout; -import android.text.Spanned; -import android.text.style.AbsoluteSizeSpan; -import android.text.style.BackgroundColorSpan; -import android.text.style.ForegroundColorSpan; -import android.text.style.RelativeSizeSpan; -import android.text.style.StrikethroughSpan; -import android.text.style.StyleSpan; -import android.text.style.TypefaceSpan; -import android.text.style.UnderlineSpan; -import android.util.Base64; -import android.util.SparseArray; -import android.webkit.WebView; -import android.widget.FrameLayout; -import c.c.a.a0.d; -import c.i.a.c.e2.b; -import c.i.a.c.e2.c; -import c.i.a.c.g2.i; -import c.i.a.c.i2.f0; -import c.i.b.b.r0; -import com.google.android.exoplayer2.ui.SubtitleView; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Iterator; -import java.util.List; -import java.util.Objects; -import java.util.regex.Pattern; -/* compiled from: WebViewSubtitleOutput */ -public final class n extends FrameLayout implements SubtitleView.a { - public final g i; - public final WebView j; - public List k = Collections.emptyList(); - public b l = b.a; - public float m = 0.0533f; - public int n = 0; - public float o = 0.08f; - - /* compiled from: WebViewSubtitleOutput */ - public static /* synthetic */ class a { - public static final /* synthetic */ int[] a; - - static { - int[] iArr = new int[Layout.Alignment.values().length]; - a = iArr; - try { - iArr[Layout.Alignment.ALIGN_NORMAL.ordinal()] = 1; - } catch (NoSuchFieldError unused) { - } - try { - a[Layout.Alignment.ALIGN_OPPOSITE.ordinal()] = 2; - } catch (NoSuchFieldError unused2) { - } - try { - a[Layout.Alignment.ALIGN_CENTER.ordinal()] = 3; - } catch (NoSuchFieldError unused3) { - } - } - } - - public n(Context context) { - super(context, null); - g gVar = new g(context, null); - this.i = gVar; - m mVar = new m(this, context, null); - this.j = mVar; - mVar.setBackgroundColor(0); - addView(gVar); - addView(mVar); - } - - public static int b(int i) { - if (i != 1) { - return i != 2 ? 0 : -100; - } - return -50; - } - - @Override // com.google.android.exoplayer2.ui.SubtitleView.a - public void a(List list, b bVar, float f, int i, float f2) { - this.l = bVar; - this.m = f; - this.n = i; - this.o = f2; - ArrayList arrayList = new ArrayList(); - ArrayList arrayList2 = new ArrayList(); - for (int i2 = 0; i2 < list.size(); i2++) { - c cVar = list.get(i2); - if (cVar.d != null) { - arrayList.add(cVar); - } else { - arrayList2.add(cVar); - } - } - if (!this.k.isEmpty() || !arrayList2.isEmpty()) { - this.k = arrayList2; - d(); - } - this.i.a(arrayList, bVar, f, i, f2); - invalidate(); - } - - public final String c(int i, float f) { - float S1 = d.S1(i, f, getHeight(), (getHeight() - getPaddingTop()) - getPaddingBottom()); - return S1 == -3.4028235E38f ? "unset" : f0.k("%.2fpx", Float.valueOf(S1 / getContext().getResources().getDisplayMetrics().density)); - } - - /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x007e: APUT (r3v0 java.lang.Object[]), (3 ??[int, float, short, byte, char]), (r2v1 java.lang.String) */ - /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0638: APUT (r1v9 java.lang.Object[]), (12 ??[int, float, short, byte, char]), (r3v20 java.lang.String) */ - /* JADX WARNING: Code restructure failed: missing block: B:184:0x0472, code lost: - if (((android.text.style.TypefaceSpan) r9).getFamily() != null) goto L_0x04be; - */ - /* JADX WARNING: Code restructure failed: missing block: B:62:0x01c6, code lost: - if (r5 != 0) goto L_0x01cd; - */ - /* JADX WARNING: Code restructure failed: missing block: B:63:0x01c9, code lost: - if (r5 != 0) goto L_0x01cb; - */ - /* JADX WARNING: Removed duplicated region for block: B:207:0x04ca */ - /* JADX WARNING: Removed duplicated region for block: B:231:0x05ad */ - /* JADX WARNING: Removed duplicated region for block: B:240:0x0615 */ - /* JADX WARNING: Removed duplicated region for block: B:246:0x0635 */ - /* JADX WARNING: Removed duplicated region for block: B:261:0x0504 A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:73:0x0202 */ - /* JADX WARNING: Removed duplicated region for block: B:74:0x020c */ - public final void d() { - int i; - char c2; - String str; - int i2; - String str2; - int i3; - int i4; - String str3; - CharSequence charSequence; - String str4; - String str5; - String str6; - String str7; - String str8; - String str9; - c cVar; - String str10; - i.b bVar; - float f; - int i5; - String str11; - String str12; - String str13; - float f2; - String str14; - String str15; - String str16; - String str17; - String str18; - int i6; - n nVar = this; - StringBuilder sb = new StringBuilder(); - Object[] objArr = new Object[4]; - char c3 = 0; - objArr[0] = d.e2(nVar.l.b); - int i7 = 1; - objArr[1] = nVar.c(nVar.n, nVar.m); - float f3 = 1.2f; - objArr[2] = Float.valueOf(1.2f); - b bVar2 = nVar.l; - int i8 = bVar2.e; - objArr[3] = i8 != 1 ? i8 != 2 ? i8 != 3 ? i8 != 4 ? "unset" : f0.k("-0.05em -0.05em 0.15em %s", d.e2(bVar2.f)) : f0.k("0.06em 0.08em 0.15em %s", d.e2(bVar2.f)) : f0.k("0.1em 0.12em 0.15em %s", d.e2(bVar2.f)) : f0.k("1px 1px 0 %1$s, 1px -1px 0 %1$s, -1px 1px 0 %1$s, -1px -1px 0 %1$s", d.e2(bVar2.f)); - sb.append(f0.k("
", objArr)); - HashMap hashMap = new HashMap(); - String str19 = "default_bg"; - String str20 = "background-color:%s;"; - hashMap.put(d.Y(str19), f0.k(str20, d.e2(nVar.l.f867c))); - int i9 = 0; - while (i9 < nVar.k.size()) { - c cVar2 = nVar.k.get(i9); - float f4 = cVar2.h; - float f5 = f4 != -3.4028235E38f ? f4 * 100.0f : 50.0f; - int b = b(cVar2.i); - float f6 = cVar2.e; - if (f6 == -3.4028235E38f) { - c2 = 0; - Object[] objArr2 = new Object[i7]; - objArr2[0] = Float.valueOf((1.0f - nVar.o) * 100.0f); - str = f0.k("%.2f%%", objArr2); - c3 = 0; - i = -100; - } else if (cVar2.f != i7) { - Object[] objArr3 = new Object[i7]; - objArr3[c3] = Float.valueOf(f6 * 100.0f); - str = f0.k("%.2f%%", objArr3); - c2 = 0; - i = cVar2.p == i7 ? -b(cVar2.g) : b(cVar2.g); - } else { - if (f6 >= 0.0f) { - Object[] objArr4 = new Object[i7]; - Float valueOf = Float.valueOf(f6 * f3); - c2 = 0; - objArr4[0] = valueOf; - str = f0.k("%.2fem", objArr4); - c3 = 0; - } else { - Object[] objArr5 = new Object[i7]; - Float valueOf2 = Float.valueOf(((-f6) - 1.0f) * f3); - c2 = 0; - objArr5[0] = valueOf2; - str = f0.k("%.2fem", objArr5); - c3 = 1; - } - i = 0; - } - float f7 = cVar2.j; - if (f7 != -3.4028235E38f) { - i2 = b; - Object[] objArr6 = new Object[i7]; - objArr6[c2] = Float.valueOf(f7 * 100.0f); - str2 = f0.k("%.2f%%", objArr6); - } else { - i2 = b; - str2 = "fit-content"; - } - Layout.Alignment alignment = cVar2.f868c; - String str21 = "center"; - if (alignment == null) { - i3 = 2; - } else { - int i10 = a.a[alignment.ordinal()]; - if (i10 != i7) { - i3 = 2; - if (i10 == 2) { - str21 = "end"; - } - } else { - i3 = 2; - str21 = "start"; - } - } - int i11 = cVar2.p; - String str22 = i11 != 1 ? i11 != i3 ? "horizontal-tb" : "vertical-lr" : "vertical-rl"; - String c4 = nVar.c(cVar2.n, cVar2.o); - String e2 = d.e2(cVar2.l ? cVar2.m : nVar.l.d); - int i12 = cVar2.p; - String str23 = "right"; - String str24 = "left"; - String str25 = "top"; - if (i12 != 1) { - if (i12 != 2) { - if (c3 != 0) { - str25 = "bottom"; - } - i4 = 2; - if (i12 != i4 || i12 == 1) { - str3 = "height"; - } else { - str3 = "width"; - i2 = i; - i = i2; - } - charSequence = cVar2.b; - float f8 = getContext().getResources().getDisplayMetrics().density; - Pattern pattern = i.a; - if (charSequence != null) { - bVar = new i.b("", r0.l, null); - str10 = ""; - } else if (!(charSequence instanceof Spanned)) { - str10 = ""; - bVar = new i.b(i.a(charSequence), r0.l, null); - } else { - str10 = ""; - Spanned spanned = (Spanned) charSequence; - HashSet hashSet = new HashSet(); - cVar = cVar2; - str9 = e2; - int i13 = 0; - BackgroundColorSpan[] backgroundColorSpanArr = (BackgroundColorSpan[]) spanned.getSpans(0, spanned.length(), BackgroundColorSpan.class); - int length = backgroundColorSpanArr.length; - while (i13 < length) { - hashSet.add(Integer.valueOf(backgroundColorSpanArr[i13].getBackgroundColor())); - i13++; - backgroundColorSpanArr = backgroundColorSpanArr; - } - HashMap hashMap2 = new HashMap(); - for (Iterator it = hashSet.iterator(); it.hasNext(); it = it) { - int intValue = ((Integer) it.next()).intValue(); - hashMap2.put(d.Y("bg_" + intValue), f0.k(str20, d.e2(intValue))); - } - SparseArray sparseArray = new SparseArray(); - str8 = str20; - Object[] spans = spanned.getSpans(0, spanned.length(), Object.class); - int length2 = spans.length; - int i14 = 0; - while (i14 < length2) { - Object obj = spans[i14]; - boolean z2 = obj instanceof StrikethroughSpan; - if (z2) { - str14 = str22; - f2 = f8; - str12 = str2; - str13 = str21; - str16 = ""; - str15 = c4; - } else { - str15 = c4; - if (obj instanceof ForegroundColorSpan) { - str14 = str22; - str16 = f0.k("", d.e2(((ForegroundColorSpan) obj).getForegroundColor())); - } else { - str14 = str22; - if (obj instanceof BackgroundColorSpan) { - str16 = f0.k("", Integer.valueOf(((BackgroundColorSpan) obj).getBackgroundColor())); - } else if (obj instanceof c.i.a.c.e2.p.a) { - str16 = ""; - } else if (obj instanceof AbsoluteSizeSpan) { - AbsoluteSizeSpan absoluteSizeSpan = (AbsoluteSizeSpan) obj; - str16 = f0.k("", Float.valueOf(absoluteSizeSpan.getDip() ? (float) absoluteSizeSpan.getSize() : ((float) absoluteSizeSpan.getSize()) / f8)); - } else { - if (obj instanceof RelativeSizeSpan) { - str16 = f0.k("", Float.valueOf(((RelativeSizeSpan) obj).getSizeChange() * 100.0f)); - } else if (obj instanceof TypefaceSpan) { - String family = ((TypefaceSpan) obj).getFamily(); - str16 = family != null ? f0.k("", family) : null; - } else { - if (obj instanceof StyleSpan) { - int style = ((StyleSpan) obj).getStyle(); - if (style == 1) { - str16 = ""; - } else if (style == 2) { - str16 = ""; - } else if (style == 3) { - str16 = ""; - } - } else if (obj instanceof c.i.a.c.e2.p.b) { - int i15 = ((c.i.a.c.e2.p.b) obj).b; - if (i15 == -1) { - str16 = ""; - } else if (i15 == 1) { - str16 = ""; - } else if (i15 == 2) { - str16 = ""; - } - } else if (obj instanceof UnderlineSpan) { - str16 = ""; - } else if (obj instanceof c.i.a.c.e2.p.c) { - c.i.a.c.e2.p.c cVar3 = (c.i.a.c.e2.p.c) obj; - int i16 = cVar3.a; - f2 = f8; - int i17 = cVar3.b; - str13 = str21; - StringBuilder sb2 = new StringBuilder(); - str12 = str2; - if (i17 != 1) { - i6 = 2; - if (i17 == 2) { - sb2.append("open "); - } - } else { - i6 = 2; - sb2.append("filled "); - } - if (i16 == 0) { - sb2.append("none"); - } else if (i16 == 1) { - sb2.append("circle"); - } else if (i16 == i6) { - sb2.append("dot"); - } else if (i16 != 3) { - sb2.append("unset"); - } else { - sb2.append("sesame"); - } - str16 = f0.k("", sb2.toString(), cVar3.f898c != 2 ? "over right" : "under left"); - } - f2 = f8; - str12 = str2; - str13 = str21; - str16 = null; - } - f2 = f8; - str12 = str2; - str13 = str21; - } - } - f2 = f8; - str12 = str2; - str13 = str21; - } - if (!z2 && !(obj instanceof ForegroundColorSpan) && !(obj instanceof BackgroundColorSpan) && !(obj instanceof c.i.a.c.e2.p.a) && !(obj instanceof AbsoluteSizeSpan) && !(obj instanceof RelativeSizeSpan) && !(obj instanceof c.i.a.c.e2.p.c)) { - if (!(obj instanceof TypefaceSpan)) { - if (obj instanceof StyleSpan) { - int style2 = ((StyleSpan) obj).getStyle(); - if (style2 == 1) { - str18 = ""; - } else if (style2 == 2) { - str18 = ""; - } else if (style2 == 3) { - str18 = ""; - } - str17 = str18; - int spanStart = spanned.getSpanStart(obj); - int spanEnd = spanned.getSpanEnd(obj); - if (str16 == null) { - Objects.requireNonNull(str17); - i.c cVar4 = new i.c(spanStart, spanEnd, str16, str17, null); - i.d dVar = (i.d) sparseArray.get(spanStart); - if (dVar == null) { - dVar = new i.d(); - sparseArray.put(spanStart, dVar); - } - dVar.a.add(cVar4); - i.d dVar2 = (i.d) sparseArray.get(spanEnd); - if (dVar2 == null) { - dVar2 = new i.d(); - sparseArray.put(spanEnd, dVar2); - } - dVar2.b.add(cVar4); - } - i14++; - length2 = length2; - spans = spans; - c4 = str15; - str22 = str14; - f8 = f2; - str21 = str13; - str2 = str12; - } else { - if (obj instanceof c.i.a.c.e2.p.b) { - StringBuilder O = c.d.b.a.a.O(""); - O.append(i.a(((c.i.a.c.e2.p.b) obj).a)); - O.append(""); - str18 = O.toString(); - } else if (obj instanceof UnderlineSpan) { - str18 = ""; - } - str17 = str18; - int spanStart = spanned.getSpanStart(obj); - int spanEnd = spanned.getSpanEnd(obj); - if (str16 == null) { - } - i14++; - length2 = length2; - spans = spans; - c4 = str15; - str22 = str14; - f8 = f2; - str21 = str13; - str2 = str12; - } - } - str18 = null; - str17 = str18; - int spanStart = spanned.getSpanStart(obj); - int spanEnd = spanned.getSpanEnd(obj); - if (str16 == null) { - } - i14++; - length2 = length2; - spans = spans; - c4 = str15; - str22 = str14; - f8 = f2; - str21 = str13; - str2 = str12; - } - str17 = ""; - int spanStart = spanned.getSpanStart(obj); - int spanEnd = spanned.getSpanEnd(obj); - if (str16 == null) { - } - i14++; - length2 = length2; - spans = spans; - c4 = str15; - str22 = str14; - f8 = f2; - str21 = str13; - str2 = str12; - } - str6 = str22; - str4 = str2; - str7 = c4; - str5 = str21; - StringBuilder sb3 = new StringBuilder(spanned.length()); - int i18 = 0; - int i19 = 0; - while (i18 < sparseArray.size()) { - int keyAt = sparseArray.keyAt(i18); - sb3.append(i.a(spanned.subSequence(i19, keyAt))); - i.d dVar3 = (i.d) sparseArray.get(keyAt); - Collections.sort(dVar3.b, f.i); - for (i.c cVar5 : dVar3.b) { - sb3.append(cVar5.d); - } - Collections.sort(dVar3.a, e.i); - for (i.c cVar6 : dVar3.a) { - sb3.append(cVar6.f926c); - } - i18++; - i19 = keyAt; - } - sb3.append(i.a(spanned.subSequence(i19, spanned.length()))); - bVar = new i.b(sb3.toString(), hashMap2, null); - for (String str26 : hashMap.keySet()) { - String str27 = (String) hashMap.put(str26, (String) hashMap.get(str26)); - d.D(str27 == null || str27.equals(hashMap.get(str26))); - } - Object[] objArr7 = new Object[13]; - objArr7[0] = str24; - objArr7[1] = Float.valueOf(f5); - objArr7[2] = str25; - objArr7[3] = str; - objArr7[4] = str3; - objArr7[5] = str4; - objArr7[6] = str5; - objArr7[7] = str6; - objArr7[8] = str7; - objArr7[9] = str9; - objArr7[10] = Integer.valueOf(i); - objArr7[11] = Integer.valueOf(i2); - f = cVar.q; - if (f != 0.0f) { - int i20 = cVar.p; - i5 = 1; - str11 = f0.k("%s(%.2fdeg)", (i20 == 2 || i20 == 1) ? "skewY" : "skewX", Float.valueOf(f)); - } else { - i5 = 1; - str11 = str10; - } - objArr7[12] = str11; - String k = f0.k("
", objArr7); - sb = sb; - sb.append(k); - Object[] objArr8 = new Object[i5]; - objArr8[0] = str19; - sb.append(f0.k("", objArr8)); - sb.append(bVar.a); - sb.append(""); - sb.append("
"); - i9++; - f3 = 1.2f; - c3 = 0; - i7 = 1; - nVar = this; - str19 = str19; - str20 = str8; - } - str6 = str22; - cVar = cVar2; - str8 = str20; - str4 = str2; - str7 = c4; - str5 = str21; - str9 = e2; - while (r1.hasNext()) { - } - Object[] objArr7 = new Object[13]; - objArr7[0] = str24; - objArr7[1] = Float.valueOf(f5); - objArr7[2] = str25; - objArr7[3] = str; - objArr7[4] = str3; - objArr7[5] = str4; - objArr7[6] = str5; - objArr7[7] = str6; - objArr7[8] = str7; - objArr7[9] = str9; - objArr7[10] = Integer.valueOf(i); - objArr7[11] = Integer.valueOf(i2); - f = cVar.q; - if (f != 0.0f) { - } - objArr7[12] = str11; - String k = f0.k("
", objArr7); - sb = sb; - sb.append(k); - Object[] objArr8 = new Object[i5]; - objArr8[0] = str19; - sb.append(f0.k("", objArr8)); - sb.append(bVar.a); - sb.append(""); - sb.append("
"); - i9++; - f3 = 1.2f; - c3 = 0; - i7 = 1; - nVar = this; - str19 = str19; - str20 = str8; - } - } - str23 = str24; - i4 = 2; - str24 = str25; - str25 = str23; - if (i12 != i4) { - } - str3 = "height"; - charSequence = cVar2.b; - float f8 = getContext().getResources().getDisplayMetrics().density; - Pattern pattern = i.a; - if (charSequence != null) { - } - str6 = str22; - cVar = cVar2; - str8 = str20; - str4 = str2; - str7 = c4; - str5 = str21; - str9 = e2; - while (r1.hasNext()) { - } - Object[] objArr7 = new Object[13]; - objArr7[0] = str24; - objArr7[1] = Float.valueOf(f5); - objArr7[2] = str25; - objArr7[3] = str; - objArr7[4] = str3; - objArr7[5] = str4; - objArr7[6] = str5; - objArr7[7] = str6; - objArr7[8] = str7; - objArr7[9] = str9; - objArr7[10] = Integer.valueOf(i); - objArr7[11] = Integer.valueOf(i2); - f = cVar.q; - if (f != 0.0f) { - } - objArr7[12] = str11; - String k = f0.k("
", objArr7); - sb = sb; - sb.append(k); - Object[] objArr8 = new Object[i5]; - objArr8[0] = str19; - sb.append(f0.k("", objArr8)); - sb.append(bVar.a); - sb.append(""); - sb.append("
"); - i9++; - f3 = 1.2f; - c3 = 0; - i7 = 1; - nVar = this; - str19 = str19; - str20 = str8; - } - sb.append("
"); - StringBuilder sb4 = new StringBuilder(); - sb4.append(""); - sb.insert(0, sb4.toString()); - this.j.loadData(Base64.encodeToString(sb.toString().getBytes(c.i.b.a.c.f1350c), 1), "text/html", "base64"); - } - - @Override // android.widget.FrameLayout, android.view.View, android.view.ViewGroup - public void onLayout(boolean z2, int i, int i2, int i3, int i4) { - super.onLayout(z2, i, i2, i3, i4); - if (z2 && !this.k.isEmpty()) { - d(); - } - } -} diff --git a/app/src/main/java/c/i/a/c/g2/o/a.java b/app/src/main/java/c/i/a/c/g2/o/a.java deleted file mode 100644 index 3c8334d767..0000000000 --- a/app/src/main/java/c/i/a/c/g2/o/a.java +++ /dev/null @@ -1,16 +0,0 @@ -package c.i.a.c.g2.o; - -import android.graphics.SurfaceTexture; -/* compiled from: lambda */ -public final /* synthetic */ class a implements SurfaceTexture.OnFrameAvailableListener { - public final /* synthetic */ f i; - - public /* synthetic */ a(f fVar) { - this.i = fVar; - } - - @Override // android.graphics.SurfaceTexture.OnFrameAvailableListener - public final void onFrameAvailable(SurfaceTexture surfaceTexture) { - this.i.a.set(true); - } -} diff --git a/app/src/main/java/c/i/a/c/g2/o/b.java b/app/src/main/java/c/i/a/c/g2/o/b.java deleted file mode 100644 index ef84c3d5fc..0000000000 --- a/app/src/main/java/c/i/a/c/g2/o/b.java +++ /dev/null @@ -1,36 +0,0 @@ -package c.i.a.c.g2.o; - -import android.graphics.SurfaceTexture; -import android.view.Surface; -import c.i.a.c.g1; -import c.i.a.c.p1; -/* compiled from: lambda */ -public final /* synthetic */ class b implements Runnable { - public final /* synthetic */ h i; - - public /* synthetic */ b(h hVar) { - this.i = hVar; - } - - @Override // java.lang.Runnable - public final void run() { - h hVar = this.i; - Surface surface = hVar.p; - if (surface != null) { - g1.d dVar = hVar.q; - if (dVar != null) { - ((p1) dVar).L(surface); - } - SurfaceTexture surfaceTexture = hVar.o; - Surface surface2 = hVar.p; - if (surfaceTexture != null) { - surfaceTexture.release(); - } - if (surface2 != null) { - surface2.release(); - } - hVar.o = null; - hVar.p = null; - } - } -} diff --git a/app/src/main/java/c/i/a/c/g2/o/c.java b/app/src/main/java/c/i/a/c/g2/o/c.java deleted file mode 100644 index 9a58d3d29d..0000000000 --- a/app/src/main/java/c/i/a/c/g2/o/c.java +++ /dev/null @@ -1,37 +0,0 @@ -package c.i.a.c.g2.o; - -import android.graphics.SurfaceTexture; -import android.view.Surface; -import c.i.a.c.g1; -import c.i.a.c.p1; -/* compiled from: lambda */ -public final /* synthetic */ class c implements Runnable { - public final /* synthetic */ h i; - public final /* synthetic */ SurfaceTexture j; - - public /* synthetic */ c(h hVar, SurfaceTexture surfaceTexture) { - this.i = hVar; - this.j = surfaceTexture; - } - - @Override // java.lang.Runnable - public final void run() { - h hVar = this.i; - SurfaceTexture surfaceTexture = this.j; - SurfaceTexture surfaceTexture2 = hVar.o; - Surface surface = hVar.p; - hVar.o = surfaceTexture; - Surface surface2 = new Surface(surfaceTexture); - hVar.p = surface2; - g1.d dVar = hVar.q; - if (dVar != null) { - ((p1) dVar).T(surface2); - } - if (surfaceTexture2 != null) { - surfaceTexture2.release(); - } - if (surface != null) { - surface.release(); - } - } -} diff --git a/app/src/main/java/c/i/a/c/g2/o/d.java b/app/src/main/java/c/i/a/c/g2/o/d.java deleted file mode 100644 index b9fc25a52d..0000000000 --- a/app/src/main/java/c/i/a/c/g2/o/d.java +++ /dev/null @@ -1,78 +0,0 @@ -package c.i.a.c.g2.o; - -import android.hardware.Sensor; -import android.hardware.SensorEvent; -import android.hardware.SensorEventListener; -import android.hardware.SensorManager; -import android.opengl.Matrix; -import android.view.Display; -import androidx.annotation.BinderThread; -import c.i.a.c.j2.x.c; -/* compiled from: OrientationListener */ -public final class d implements SensorEventListener { - public final float[] a = new float[16]; - public final float[] b = new float[16]; - - /* renamed from: c reason: collision with root package name */ - public final float[] f933c = new float[16]; - public final float[] d = new float[3]; - public final Display e; - public final a[] f; - public boolean g; - - /* compiled from: OrientationListener */ - public interface a { - void a(float[] fArr, float f); - } - - public d(Display display, a... aVarArr) { - this.e = display; - this.f = aVarArr; - } - - @Override // android.hardware.SensorEventListener - public void onAccuracyChanged(Sensor sensor, int i) { - } - - @Override // android.hardware.SensorEventListener - @BinderThread - public void onSensorChanged(SensorEvent sensorEvent) { - SensorManager.getRotationMatrixFromVector(this.a, sensorEvent.values); - float[] fArr = this.a; - int rotation = this.e.getRotation(); - if (rotation != 0) { - int i = 129; - int i2 = 130; - if (rotation == 1) { - i = 2; - i2 = 129; - } else if (rotation != 2) { - if (rotation == 3) { - i = 130; - i2 = 1; - } else { - throw new IllegalStateException(); - } - } - float[] fArr2 = this.b; - System.arraycopy(fArr, 0, fArr2, 0, fArr2.length); - SensorManager.remapCoordinateSystem(this.b, i, i2, fArr); - } - SensorManager.remapCoordinateSystem(this.a, 1, 131, this.b); - SensorManager.getOrientation(this.b, this.d); - float f = this.d[2]; - Matrix.rotateM(this.a, 0, 90.0f, 1.0f, 0.0f, 0.0f); - float[] fArr3 = this.a; - if (!this.g) { - c.a(this.f933c, fArr3); - this.g = true; - } - float[] fArr4 = this.b; - System.arraycopy(fArr3, 0, fArr4, 0, fArr4.length); - Matrix.multiplyMM(fArr3, 0, this.b, 0, this.f933c, 0); - float[] fArr5 = this.a; - for (a aVar : this.f) { - aVar.a(fArr5, f); - } - } -} diff --git a/app/src/main/java/c/i/a/c/g2/o/e.java b/app/src/main/java/c/i/a/c/g2/o/e.java deleted file mode 100644 index 6dfcfe19f6..0000000000 --- a/app/src/main/java/c/i/a/c/g2/o/e.java +++ /dev/null @@ -1,66 +0,0 @@ -package c.i.a.c.g2.o; - -import androidx.annotation.Nullable; -import c.i.a.c.j2.x.d; -import java.nio.FloatBuffer; -/* compiled from: ProjectionRenderer */ -public final class e { - public static final String[] a = {"uniform mat4 uMvpMatrix;", "uniform mat3 uTexMatrix;", "attribute vec4 aPosition;", "attribute vec2 aTexCoords;", "varying vec2 vTexCoords;", "void main() {", " gl_Position = uMvpMatrix * aPosition;", " vTexCoords = (uTexMatrix * vec3(aTexCoords, 1)).xy;", "}"}; - public static final String[] b = {"#extension GL_OES_EGL_image_external : require", "precision mediump float;", "uniform samplerExternalOES uTexture;", "varying vec2 vTexCoords;", "void main() {", " gl_FragColor = texture2D(uTexture, vTexCoords);", "}"}; - - /* renamed from: c reason: collision with root package name */ - public static final float[] f934c = {1.0f, 0.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, 1.0f, 1.0f}; - public static final float[] d = {1.0f, 0.0f, 0.0f, 0.0f, -0.5f, 0.0f, 0.0f, 0.5f, 1.0f}; - public static final float[] e = {1.0f, 0.0f, 0.0f, 0.0f, -0.5f, 0.0f, 0.0f, 1.0f, 1.0f}; - public static final float[] f = {0.5f, 0.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, 1.0f, 1.0f}; - public static final float[] g = {0.5f, 0.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.5f, 1.0f, 1.0f}; - public int h; - @Nullable - public a i; - @Nullable - public a j; - public int k; - public int l; - public int m; - public int n; - public int o; - public int p; - - /* compiled from: ProjectionRenderer */ - public static class a { - public final int a; - public final FloatBuffer b; - - /* renamed from: c reason: collision with root package name */ - public final FloatBuffer f935c; - public final int d; - - public a(d.b bVar) { - float[] fArr = bVar.f990c; - this.a = fArr.length / 3; - this.b = c.c.a.a0.d.O(fArr); - this.f935c = c.c.a.a0.d.O(bVar.d); - int i = bVar.b; - if (i == 1) { - this.d = 5; - } else if (i != 2) { - this.d = 4; - } else { - this.d = 6; - } - } - } - - public static boolean a(d dVar) { - d.a aVar = dVar.a; - d.a aVar2 = dVar.b; - d.b[] bVarArr = aVar.a; - if (bVarArr.length == 1 && bVarArr[0].a == 0) { - d.b[] bVarArr2 = aVar2.a; - if (bVarArr2.length == 1 && bVarArr2[0].a == 0) { - return true; - } - } - return false; - } -} diff --git a/app/src/main/java/c/i/a/c/g2/o/f.java b/app/src/main/java/c/i/a/c/g2/o/f.java deleted file mode 100644 index 6b20c21a8f..0000000000 --- a/app/src/main/java/c/i/a/c/g2/o/f.java +++ /dev/null @@ -1,271 +0,0 @@ -package c.i.a.c.g2.o; - -import android.graphics.SurfaceTexture; -import android.media.MediaFormat; -import android.opengl.GLES20; -import android.text.TextUtils; -import androidx.annotation.Nullable; -import androidx.work.Data; -import c.i.a.c.i2.d0; -import c.i.a.c.i2.w; -import c.i.a.c.j2.s; -import c.i.a.c.j2.x.a; -import c.i.a.c.j2.x.c; -import c.i.a.c.j2.x.d; -import com.google.android.exoplayer2.Format; -import java.nio.IntBuffer; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Objects; -import java.util.concurrent.atomic.AtomicBoolean; -/* compiled from: SceneRenderer */ -public final class f implements s, a { - public final AtomicBoolean a = new AtomicBoolean(); - public final AtomicBoolean b = new AtomicBoolean(true); - - /* renamed from: c reason: collision with root package name */ - public final e f936c = new e(); - public final c d = new c(); - public final d0 e = new d0<>(); - public final d0 f = new d0<>(); - public final float[] g = new float[16]; - public final float[] h = new float[16]; - public int i; - public SurfaceTexture j; - public volatile int k = 0; - public int l = -1; - @Nullable - public byte[] m; - - @Override // c.i.a.c.j2.x.a - public void a(long j, float[] fArr) { - this.d.f988c.a(j, fArr); - } - - @Override // c.i.a.c.j2.x.a - public void b() { - this.e.b(); - c cVar = this.d; - cVar.f988c.b(); - cVar.d = false; - this.b.set(true); - } - - /* JADX WARNING: Removed duplicated region for block: B:33:0x008a */ - /* JADX WARNING: Removed duplicated region for block: B:43:0x00f4 */ - @Override // c.i.a.c.j2.s - public void c(long j, long j2, Format format, @Nullable MediaFormat mediaFormat) { - d dVar; - int i; - int i2; - float f; - float f2; - int i3; - int i4; - ArrayList arrayList; - int f3; - this.e.a(j2, Long.valueOf(j)); - byte[] bArr = format.D; - int i5 = format.E; - byte[] bArr2 = this.m; - int i6 = this.l; - this.m = bArr; - if (i5 == -1) { - i5 = this.k; - } - this.l = i5; - if (i6 != i5 || !Arrays.equals(bArr2, this.m)) { - byte[] bArr3 = this.m; - dVar = null; - if (bArr3 != null) { - int i7 = this.l; - w wVar = new w(bArr3); - try { - wVar.E(4); - int f4 = wVar.f(); - wVar.D(0); - if (f4 == 1886547818) { - wVar.E(8); - int i8 = wVar.b; - int i9 = wVar.f974c; - while (true) { - if (i8 >= i9) { - break; - } - f3 = wVar.f() + i8; - if (f3 <= i8) { - break; - } else if (f3 > i9) { - break; - } else { - int f5 = wVar.f(); - if (f5 == 2037673328) { - break; - } else if (f5 == 1836279920) { - break; - } else { - wVar.D(f3); - i8 = f3; - } - } - } - wVar.C(f3); - arrayList = c.c.a.a0.d.t1(wVar); - } else { - arrayList = c.c.a.a0.d.t1(wVar); - } - } catch (ArrayIndexOutOfBoundsException unused) { - } - if (arrayList != null) { - int size = arrayList.size(); - if (size == 1) { - dVar = new d(arrayList.get(0), i7); - } else if (size == 2) { - dVar = new d(arrayList.get(0), arrayList.get(1), i7); - } - } - } - if (dVar == null || !e.a(dVar)) { - int i10 = this.l; - c.c.a.a0.d.k(true); - c.c.a.a0.d.k(true); - c.c.a.a0.d.k(true); - c.c.a.a0.d.k(true); - c.c.a.a0.d.k(true); - float radians = (float) Math.toRadians((double) 180.0f); - float radians2 = (float) Math.toRadians((double) 360.0f); - float f6 = radians / ((float) 36); - float f7 = radians2 / ((float) 72); - float[] fArr = new float[15984]; - float[] fArr2 = new float[10656]; - i2 = 0; - int i11 = 0; - int i12 = 0; - for (i = 36; i2 < i; i = 36) { - float f8 = radians / 2.0f; - float f9 = (((float) i2) * f6) - f8; - int i13 = i2 + 1; - float f10 = (((float) i13) * f6) - f8; - int i14 = 0; - while (i14 < 73) { - int i15 = 0; - for (int i16 = 2; i15 < i16; i16 = 2) { - if (i15 == 0) { - f = f10; - f2 = f9; - } else { - f2 = f10; - f = f2; - } - float f11 = ((float) i14) * f7; - int i17 = i11 + 1; - double d = (double) 50.0f; - double d2 = (double) ((f11 + 3.1415927f) - (radians2 / 2.0f)); - double d3 = (double) f2; - fArr[i11] = -((float) (Math.cos(d3) * Math.sin(d2) * d)); - int i18 = i17 + 1; - fArr[i17] = (float) (Math.sin(d3) * d); - int i19 = i18 + 1; - fArr[i18] = (float) (Math.cos(d3) * Math.cos(d2) * d); - int i20 = i12 + 1; - fArr2[i12] = f11 / radians2; - int i21 = i20 + 1; - fArr2[i20] = (((float) (i2 + i15)) * f6) / radians; - if (i14 == 0 && i15 == 0) { - i3 = i15; - i4 = i14; - } else { - i4 = i14; - i3 = i15; - if (!(i4 == 72 && i3 == 1)) { - i12 = i21; - i11 = i19; - i15 = i3 + 1; - i14 = i4; - f10 = f; - f7 = f7; - f9 = f9; - radians = radians; - f6 = f6; - i10 = i10; - } - } - System.arraycopy(fArr, i19 - 3, fArr, i19, 3); - i19 += 3; - System.arraycopy(fArr2, i21 - 2, fArr2, i21, 2); - i21 += 2; - i12 = i21; - i11 = i19; - i15 = i3 + 1; - i14 = i4; - f10 = f; - f7 = f7; - f9 = f9; - radians = radians; - f6 = f6; - i10 = i10; - } - i14++; - i13 = i13; - f10 = f10; - i10 = i10; - } - i2 = i13; - } - dVar = new d(new d.a(new d.b(0, fArr, fArr2, 1)), i10); - } - this.f.a(j2, dVar); - } - return; - arrayList = null; - if (arrayList != null) { - } - int i10 = this.l; - c.c.a.a0.d.k(true); - c.c.a.a0.d.k(true); - c.c.a.a0.d.k(true); - c.c.a.a0.d.k(true); - c.c.a.a0.d.k(true); - float radians = (float) Math.toRadians((double) 180.0f); - float radians2 = (float) Math.toRadians((double) 360.0f); - float f6 = radians / ((float) 36); - float f7 = radians2 / ((float) 72); - float[] fArr = new float[15984]; - float[] fArr2 = new float[10656]; - i2 = 0; - int i11 = 0; - int i12 = 0; - while (i2 < i) { - } - dVar = new d(new d.a(new d.b(0, fArr, fArr2, 1)), i10); - this.f.a(j2, dVar); - } - - public SurfaceTexture d() { - GLES20.glClearColor(0.5f, 0.5f, 0.5f, 1.0f); - c.c.a.a0.d.r(); - e eVar = this.f936c; - Objects.requireNonNull(eVar); - int K = c.c.a.a0.d.K(TextUtils.join("\n", e.a), TextUtils.join("\n", e.b)); - eVar.k = K; - eVar.l = GLES20.glGetUniformLocation(K, "uMvpMatrix"); - eVar.m = GLES20.glGetUniformLocation(eVar.k, "uTexMatrix"); - eVar.n = GLES20.glGetAttribLocation(eVar.k, "aPosition"); - eVar.o = GLES20.glGetAttribLocation(eVar.k, "aTexCoords"); - eVar.p = GLES20.glGetUniformLocation(eVar.k, "uTexture"); - c.c.a.a0.d.r(); - int[] iArr = new int[1]; - GLES20.glGenTextures(1, IntBuffer.wrap(iArr)); - GLES20.glBindTexture(36197, iArr[0]); - GLES20.glTexParameteri(36197, 10241, 9729); - GLES20.glTexParameteri(36197, Data.MAX_DATA_BYTES, 9729); - GLES20.glTexParameteri(36197, 10242, 33071); - GLES20.glTexParameteri(36197, 10243, 33071); - c.c.a.a0.d.r(); - this.i = iArr[0]; - SurfaceTexture surfaceTexture = new SurfaceTexture(this.i); - this.j = surfaceTexture; - surfaceTexture.setOnFrameAvailableListener(new a(this)); - return this.j; - } -} diff --git a/app/src/main/java/c/i/a/c/g2/o/g.java b/app/src/main/java/c/i/a/c/g2/o/g.java deleted file mode 100644 index e0d3927b47..0000000000 --- a/app/src/main/java/c/i/a/c/g2/o/g.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.a.c.g2.o; -/* compiled from: SingleTapListener */ -public interface g { -} diff --git a/app/src/main/java/c/i/a/c/g2/o/h.java b/app/src/main/java/c/i/a/c/g2/o/h.java deleted file mode 100644 index 96fb64c9c8..0000000000 --- a/app/src/main/java/c/i/a/c/g2/o/h.java +++ /dev/null @@ -1,321 +0,0 @@ -package c.i.a.c.g2.o; - -import android.content.Context; -import android.graphics.SurfaceTexture; -import android.hardware.Sensor; -import android.hardware.SensorManager; -import android.opengl.GLES20; -import android.opengl.GLSurfaceView; -import android.opengl.Matrix; -import android.os.Handler; -import android.os.Looper; -import android.view.Surface; -import android.view.WindowManager; -import androidx.annotation.AnyThread; -import androidx.annotation.BinderThread; -import androidx.annotation.Nullable; -import androidx.annotation.VisibleForTesting; -import c.i.a.c.g1; -import c.i.a.c.g2.o.d; -import c.i.a.c.g2.o.e; -import c.i.a.c.g2.o.i; -import c.i.a.c.i2.d0; -import c.i.a.c.i2.f0; -import c.i.a.c.j2.x.c; -import c.i.a.c.p1; -import java.nio.Buffer; -import java.util.Objects; -import javax.microedition.khronos.egl.EGLConfig; -import javax.microedition.khronos.opengles.GL10; -/* compiled from: SphericalGLSurfaceView */ -public final class h extends GLSurfaceView { - public final SensorManager i; - @Nullable - public final Sensor j; - public final d k; - public final Handler l = new Handler(Looper.getMainLooper()); - public final i m; - public final f n; - @Nullable - public SurfaceTexture o; - @Nullable - public Surface p; - @Nullable - public g1.d q; - - /* renamed from: r reason: collision with root package name */ - public boolean f937r; - public boolean s; - public boolean t; - - /* compiled from: SphericalGLSurfaceView */ - @VisibleForTesting - public class a implements GLSurfaceView.Renderer, i.a, d.a { - public final f i; - public final float[] j = new float[16]; - public final float[] k = new float[16]; - public final float[] l; - public final float[] m; - public final float[] n; - public float o; - public float p; - public final float[] q; - - /* renamed from: r reason: collision with root package name */ - public final float[] f938r; - - public a(f fVar) { - float[] fArr = new float[16]; - this.l = fArr; - float[] fArr2 = new float[16]; - this.m = fArr2; - float[] fArr3 = new float[16]; - this.n = fArr3; - this.q = new float[16]; - this.f938r = new float[16]; - this.i = fVar; - Matrix.setIdentityM(fArr, 0); - Matrix.setIdentityM(fArr2, 0); - Matrix.setIdentityM(fArr3, 0); - this.p = 3.1415927f; - } - - @Override // c.i.a.c.g2.o.d.a - @BinderThread - public synchronized void a(float[] fArr, float f) { - float[] fArr2 = this.l; - System.arraycopy(fArr, 0, fArr2, 0, fArr2.length); - this.p = -f; - b(); - } - - @AnyThread - public final void b() { - Matrix.setRotateM(this.m, 0, -this.o, (float) Math.cos((double) this.p), (float) Math.sin((double) this.p), 0.0f); - } - - @Override // android.opengl.GLSurfaceView.Renderer - public void onDrawFrame(GL10 gl10) { - Long d; - float[] fArr; - synchronized (this) { - Matrix.multiplyMM(this.f938r, 0, this.l, 0, this.n, 0); - Matrix.multiplyMM(this.q, 0, this.m, 0, this.f938r, 0); - } - Matrix.multiplyMM(this.k, 0, this.j, 0, this.q, 0); - f fVar = this.i; - float[] fArr2 = this.k; - Objects.requireNonNull(fVar); - GLES20.glClear(16384); - c.c.a.a0.d.r(); - if (fVar.a.compareAndSet(true, false)) { - SurfaceTexture surfaceTexture = fVar.j; - Objects.requireNonNull(surfaceTexture); - surfaceTexture.updateTexImage(); - c.c.a.a0.d.r(); - if (fVar.b.compareAndSet(true, false)) { - Matrix.setIdentityM(fVar.g, 0); - } - long timestamp = fVar.j.getTimestamp(); - d0 d0Var = fVar.e; - synchronized (d0Var) { - d = d0Var.d(timestamp, false); - } - Long l = d; - if (l != null) { - c cVar = fVar.d; - float[] fArr3 = fVar.g; - float[] e = cVar.f988c.e(l.longValue()); - if (e != null) { - float[] fArr4 = cVar.b; - float f = e[0]; - float f2 = -e[1]; - float f3 = -e[2]; - float length = Matrix.length(f, f2, f3); - if (length != 0.0f) { - fArr = fArr3; - Matrix.setRotateM(fArr4, 0, (float) Math.toDegrees((double) length), f / length, f2 / length, f3 / length); - } else { - fArr = fArr3; - Matrix.setIdentityM(fArr4, 0); - } - if (!cVar.d) { - c.a(cVar.a, cVar.b); - cVar.d = true; - } - Matrix.multiplyMM(fArr, 0, cVar.a, 0, cVar.b, 0); - } - } - c.i.a.c.j2.x.d e2 = fVar.f.e(timestamp); - if (e2 != null) { - e eVar = fVar.f936c; - Objects.requireNonNull(eVar); - if (e.a(e2)) { - eVar.h = e2.f989c; - e.a aVar = new e.a(e2.a.a[0]); - eVar.i = aVar; - if (!e2.d) { - aVar = new e.a(e2.b.a[0]); - } - eVar.j = aVar; - } - } - } - Matrix.multiplyMM(fVar.h, 0, fArr2, 0, fVar.g, 0); - e eVar2 = fVar.f936c; - int i = fVar.i; - float[] fArr5 = fVar.h; - e.a aVar2 = eVar2.i; - if (aVar2 != null) { - GLES20.glUseProgram(eVar2.k); - c.c.a.a0.d.r(); - GLES20.glEnableVertexAttribArray(eVar2.n); - GLES20.glEnableVertexAttribArray(eVar2.o); - c.c.a.a0.d.r(); - int i2 = eVar2.h; - GLES20.glUniformMatrix3fv(eVar2.m, 1, false, i2 == 1 ? e.d : i2 == 2 ? e.f : e.f934c, 0); - GLES20.glUniformMatrix4fv(eVar2.l, 1, false, fArr5, 0); - GLES20.glActiveTexture(33984); - GLES20.glBindTexture(36197, i); - GLES20.glUniform1i(eVar2.p, 0); - c.c.a.a0.d.r(); - GLES20.glVertexAttribPointer(eVar2.n, 3, 5126, false, 12, (Buffer) aVar2.b); - c.c.a.a0.d.r(); - GLES20.glVertexAttribPointer(eVar2.o, 2, 5126, false, 8, (Buffer) aVar2.f935c); - c.c.a.a0.d.r(); - GLES20.glDrawArrays(aVar2.d, 0, aVar2.a); - c.c.a.a0.d.r(); - GLES20.glDisableVertexAttribArray(eVar2.n); - GLES20.glDisableVertexAttribArray(eVar2.o); - } - } - - @Override // android.opengl.GLSurfaceView.Renderer - public void onSurfaceChanged(GL10 gl10, int i, int i2) { - boolean z2 = false; - GLES20.glViewport(0, 0, i, i2); - float f = ((float) i) / ((float) i2); - if (f > 1.0f) { - z2 = true; - } - Matrix.perspectiveM(this.j, 0, z2 ? (float) (Math.toDegrees(Math.atan(Math.tan(Math.toRadians(45.0d)) / ((double) f))) * 2.0d) : 90.0f, f, 0.1f, 100.0f); - } - - @Override // android.opengl.GLSurfaceView.Renderer - public synchronized void onSurfaceCreated(GL10 gl10, EGLConfig eGLConfig) { - h hVar = h.this; - hVar.l.post(new c(hVar, this.i.d())); - } - } - - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public h(Context context) { - super(context, null); - Sensor sensor = null; - Object systemService = context.getSystemService("sensor"); - Objects.requireNonNull(systemService); - SensorManager sensorManager = (SensorManager) systemService; - this.i = sensorManager; - sensor = f0.a >= 18 ? sensorManager.getDefaultSensor(15) : sensor; - this.j = sensor == null ? sensorManager.getDefaultSensor(11) : sensor; - f fVar = new f(); - this.n = fVar; - a aVar = new a(fVar); - i iVar = new i(context, aVar, 25.0f); - this.m = iVar; - WindowManager windowManager = (WindowManager) context.getSystemService("window"); - Objects.requireNonNull(windowManager); - this.k = new d(windowManager.getDefaultDisplay(), iVar, aVar); - this.f937r = true; - setEGLContextClientVersion(2); - setRenderer(aVar); - setOnTouchListener(iVar); - } - - public final void a() { - boolean z2 = this.f937r && this.s; - Sensor sensor = this.j; - if (sensor != null && z2 != this.t) { - if (z2) { - this.i.registerListener(this.k, sensor, 0); - } else { - this.i.unregisterListener(this.k); - } - this.t = z2; - } - } - - @Override // android.opengl.GLSurfaceView, android.view.SurfaceView, android.view.View - public void onDetachedFromWindow() { - super.onDetachedFromWindow(); - this.l.post(new b(this)); - } - - @Override // android.opengl.GLSurfaceView - public void onPause() { - this.s = false; - a(); - super.onPause(); - } - - @Override // android.opengl.GLSurfaceView - public void onResume() { - super.onResume(); - this.s = true; - a(); - } - - public void setDefaultStereoMode(int i) { - this.n.k = i; - } - - public void setSingleTapListener(@Nullable g gVar) { - this.m.o = gVar; - } - - public void setUseSensorRotation(boolean z2) { - this.f937r = z2; - a(); - } - - public void setVideoComponent(@Nullable g1.d dVar) { - g1.d dVar2 = this.q; - if (dVar != dVar2) { - if (dVar2 != null) { - Surface surface = this.p; - if (surface != null) { - ((p1) dVar2).L(surface); - } - g1.d dVar3 = this.q; - f fVar = this.n; - p1 p1Var = (p1) dVar3; - p1Var.Z(); - if (p1Var.E == fVar) { - p1Var.R(2, 6, null); - } - g1.d dVar4 = this.q; - f fVar2 = this.n; - p1 p1Var2 = (p1) dVar4; - p1Var2.Z(); - if (p1Var2.F == fVar2) { - p1Var2.R(6, 7, null); - } - } - this.q = dVar; - if (dVar != null) { - f fVar3 = this.n; - p1 p1Var3 = (p1) dVar; - p1Var3.Z(); - p1Var3.E = fVar3; - p1Var3.R(2, 6, fVar3); - g1.d dVar5 = this.q; - f fVar4 = this.n; - p1 p1Var4 = (p1) dVar5; - p1Var4.Z(); - p1Var4.F = fVar4; - p1Var4.R(6, 7, fVar4); - ((p1) this.q).T(this.p); - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/g2/o/i.java b/app/src/main/java/c/i/a/c/g2/o/i.java deleted file mode 100644 index a2292c6e7a..0000000000 --- a/app/src/main/java/c/i/a/c/g2/o/i.java +++ /dev/null @@ -1,89 +0,0 @@ -package c.i.a.c.g2.o; - -import android.content.Context; -import android.graphics.PointF; -import android.opengl.Matrix; -import android.view.GestureDetector; -import android.view.MotionEvent; -import android.view.View; -import androidx.annotation.BinderThread; -import androidx.annotation.Nullable; -import c.i.a.c.g2.o.d; -import c.i.a.c.g2.o.h; -import com.google.android.exoplayer2.ui.PlayerView; -/* compiled from: TouchTracker */ -public class i extends GestureDetector.SimpleOnGestureListener implements View.OnTouchListener, d.a { - public final PointF i = new PointF(); - public final PointF j = new PointF(); - public final a k; - public final float l; - public final GestureDetector m; - public volatile float n; - @Nullable - public g o; - - /* compiled from: TouchTracker */ - public interface a { - } - - public i(Context context, a aVar, float f) { - this.k = aVar; - this.l = f; - this.m = new GestureDetector(context, this); - this.n = 3.1415927f; - } - - @Override // c.i.a.c.g2.o.d.a - @BinderThread - public void a(float[] fArr, float f) { - this.n = -f; - } - - @Override // android.view.GestureDetector.SimpleOnGestureListener, android.view.GestureDetector.OnGestureListener - public boolean onDown(MotionEvent motionEvent) { - this.i.set(motionEvent.getX(), motionEvent.getY()); - return true; - } - - @Override // android.view.GestureDetector.SimpleOnGestureListener, android.view.GestureDetector.OnGestureListener - public boolean onScroll(MotionEvent motionEvent, MotionEvent motionEvent2, float f, float f2) { - float x2 = (motionEvent2.getX() - this.i.x) / this.l; - float y2 = motionEvent2.getY(); - PointF pointF = this.i; - float f3 = (y2 - pointF.y) / this.l; - pointF.set(motionEvent2.getX(), motionEvent2.getY()); - double d = (double) this.n; - float cos = (float) Math.cos(d); - float sin = (float) Math.sin(d); - PointF pointF2 = this.j; - pointF2.x -= (cos * x2) - (sin * f3); - float f4 = (cos * f3) + (sin * x2) + pointF2.y; - pointF2.y = f4; - pointF2.y = Math.max(-45.0f, Math.min(45.0f, f4)); - a aVar = this.k; - PointF pointF3 = this.j; - h.a aVar2 = (h.a) aVar; - synchronized (aVar2) { - aVar2.o = pointF3.y; - aVar2.b(); - Matrix.setRotateM(aVar2.n, 0, -pointF3.x, 0.0f, 1.0f, 0.0f); - } - return true; - } - - @Override // android.view.GestureDetector.SimpleOnGestureListener, android.view.GestureDetector.OnGestureListener - public boolean onSingleTapUp(MotionEvent motionEvent) { - g gVar = this.o; - if (gVar == null) { - return false; - } - PlayerView playerView = PlayerView.this; - int i = PlayerView.i; - return playerView.j(); - } - - @Override // android.view.View.OnTouchListener - public boolean onTouch(View view, MotionEvent motionEvent) { - return this.m.onTouchEvent(motionEvent); - } -} diff --git a/app/src/main/java/c/i/a/c/g3/a.java b/app/src/main/java/c/i/a/c/g3/a.java new file mode 100644 index 0000000000..f3448c9433 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/a.java @@ -0,0 +1,13 @@ +package c.i.a.c.g3; + +import android.os.Bundle; +import c.i.a.c.w0; +/* compiled from: lambda */ +public final /* synthetic */ class a implements w0.a { + public static final /* synthetic */ a a = new a(); + + @Override // c.i.a.c.w0.a + public final w0 a(Bundle bundle) { + return new n(bundle.getInt(n.c(0), -1), bundle.getInt(n.c(1), -1), bundle.getInt(n.c(2), -1), bundle.getByteArray(n.c(3))); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/b.java b/app/src/main/java/c/i/a/c/g3/b.java new file mode 100644 index 0000000000..2a0c9736b4 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/b.java @@ -0,0 +1,28 @@ +package c.i.a.c.g3; + +import android.util.Log; +import android.view.Display; +import c.i.a.c.g3.v; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class b implements v.b.a { + public final /* synthetic */ v a; + + public /* synthetic */ b(v vVar) { + this.a = vVar; + } + + public final void a(Display display) { + v vVar = this.a; + Objects.requireNonNull(vVar); + if (display != null) { + long refreshRate = (long) (1.0E9d / ((double) display.getRefreshRate())); + vVar.k = refreshRate; + vVar.l = (refreshRate * 80) / 100; + return; + } + Log.w("VideoFrameReleaseHelper", "Unable to query display refresh rate"); + vVar.k = -9223372036854775807L; + vVar.l = -9223372036854775807L; + } +} diff --git a/app/src/main/java/c/i/a/c/g3/c.java b/app/src/main/java/c/i/a/c/g3/c.java new file mode 100644 index 0000000000..baad41e6c6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/c.java @@ -0,0 +1,28 @@ +package c.i.a.c.g3; + +import c.i.a.c.f3.e0; +import c.i.a.c.g3.x; +import c.i.a.c.v2.e; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class c implements Runnable { + public final /* synthetic */ x.a i; + public final /* synthetic */ e j; + + public /* synthetic */ c(x.a aVar, e eVar) { + this.i = aVar; + this.j = eVar; + } + + @Override // java.lang.Runnable + public final void run() { + x.a aVar = this.i; + e eVar = this.j; + Objects.requireNonNull(aVar); + synchronized (eVar) { + } + x xVar = aVar.b; + int i = e0.a; + xVar.Z(eVar); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/d.java b/app/src/main/java/c/i/a/c/g3/d.java new file mode 100644 index 0000000000..f19ee8ed3d --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/d.java @@ -0,0 +1,23 @@ +package c.i.a.c.g3; + +import c.i.a.c.f3.e0; +import c.i.a.c.g3.x; +/* compiled from: lambda */ +public final /* synthetic */ class d implements Runnable { + public final /* synthetic */ x.a i; + public final /* synthetic */ String j; + + public /* synthetic */ d(x.a aVar, String str) { + this.i = aVar; + this.j = str; + } + + @Override // java.lang.Runnable + public final void run() { + x.a aVar = this.i; + String str = this.j; + x xVar = aVar.b; + int i = e0.a; + xVar.l(str); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/e.java b/app/src/main/java/c/i/a/c/g3/e.java new file mode 100644 index 0000000000..a92a3e6576 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/e.java @@ -0,0 +1,23 @@ +package c.i.a.c.g3; + +import c.i.a.c.f3.e0; +import c.i.a.c.g3.x; +/* compiled from: lambda */ +public final /* synthetic */ class e implements Runnable { + public final /* synthetic */ x.a i; + public final /* synthetic */ Exception j; + + public /* synthetic */ e(x.a aVar, Exception exc) { + this.i = aVar; + this.j = exc; + } + + @Override // java.lang.Runnable + public final void run() { + x.a aVar = this.i; + Exception exc = this.j; + x xVar = aVar.b; + int i = e0.a; + xVar.V(exc); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/f.java b/app/src/main/java/c/i/a/c/g3/f.java new file mode 100644 index 0000000000..bd0199fe32 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/f.java @@ -0,0 +1,24 @@ +package c.i.a.c.g3; + +import c.i.a.c.f3.e0; +import c.i.a.c.g3.x; +import c.i.a.c.v2.e; +/* compiled from: lambda */ +public final /* synthetic */ class f implements Runnable { + public final /* synthetic */ x.a i; + public final /* synthetic */ e j; + + public /* synthetic */ f(x.a aVar, e eVar) { + this.i = aVar; + this.j = eVar; + } + + @Override // java.lang.Runnable + public final void run() { + x.a aVar = this.i; + e eVar = this.j; + x xVar = aVar.b; + int i = e0.a; + xVar.P(eVar); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/g.java b/app/src/main/java/c/i/a/c/g3/g.java new file mode 100644 index 0000000000..fff9e5c00c --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/g.java @@ -0,0 +1,26 @@ +package c.i.a.c.g3; + +import c.i.a.c.f3.e0; +import c.i.a.c.g3.x; +/* compiled from: lambda */ +public final /* synthetic */ class g implements Runnable { + public final /* synthetic */ x.a i; + public final /* synthetic */ Object j; + public final /* synthetic */ long k; + + public /* synthetic */ g(x.a aVar, Object obj, long j) { + this.i = aVar; + this.j = obj; + this.k = j; + } + + @Override // java.lang.Runnable + public final void run() { + x.a aVar = this.i; + Object obj = this.j; + long j = this.k; + x xVar = aVar.b; + int i = e0.a; + xVar.K(obj, j); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/h.java b/app/src/main/java/c/i/a/c/g3/h.java new file mode 100644 index 0000000000..b6fc999886 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/h.java @@ -0,0 +1,26 @@ +package c.i.a.c.g3; + +import c.i.a.c.f3.e0; +import c.i.a.c.g3.x; +/* compiled from: lambda */ +public final /* synthetic */ class h implements Runnable { + public final /* synthetic */ x.a i; + public final /* synthetic */ int j; + public final /* synthetic */ long k; + + public /* synthetic */ h(x.a aVar, int i, long j) { + this.i = aVar; + this.j = i; + this.k = j; + } + + @Override // java.lang.Runnable + public final void run() { + x.a aVar = this.i; + int i = this.j; + long j = this.k; + x xVar = aVar.b; + int i2 = e0.a; + xVar.F(i, j); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/i.java b/app/src/main/java/c/i/a/c/g3/i.java new file mode 100644 index 0000000000..64afabf5ab --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/i.java @@ -0,0 +1,29 @@ +package c.i.a.c.g3; + +import c.i.a.c.f3.e0; +import c.i.a.c.g3.x; +/* compiled from: lambda */ +public final /* synthetic */ class i implements Runnable { + public final /* synthetic */ x.a i; + public final /* synthetic */ String j; + public final /* synthetic */ long k; + public final /* synthetic */ long l; + + public /* synthetic */ i(x.a aVar, String str, long j, long j2) { + this.i = aVar; + this.j = str; + this.k = j; + this.l = j2; + } + + @Override // java.lang.Runnable + public final void run() { + x.a aVar = this.i; + String str = this.j; + long j = this.k; + long j2 = this.l; + x xVar = aVar.b; + int i = e0.a; + xVar.n(str, j, j2); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/j.java b/app/src/main/java/c/i/a/c/g3/j.java new file mode 100644 index 0000000000..247d038bae --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/j.java @@ -0,0 +1,23 @@ +package c.i.a.c.g3; + +import c.i.a.c.f3.e0; +import c.i.a.c.g3.x; +/* compiled from: lambda */ +public final /* synthetic */ class j implements Runnable { + public final /* synthetic */ x.a i; + public final /* synthetic */ y j; + + public /* synthetic */ j(x.a aVar, y yVar) { + this.i = aVar; + this.j = yVar; + } + + @Override // java.lang.Runnable + public final void run() { + x.a aVar = this.i; + y yVar = this.j; + x xVar = aVar.b; + int i = e0.a; + xVar.f(yVar); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/k.java b/app/src/main/java/c/i/a/c/g3/k.java new file mode 100644 index 0000000000..a40105aa68 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/k.java @@ -0,0 +1,29 @@ +package c.i.a.c.g3; + +import c.i.a.c.f3.e0; +import c.i.a.c.g3.x; +import c.i.a.c.j1; +import c.i.a.c.v2.g; +/* compiled from: lambda */ +public final /* synthetic */ class k implements Runnable { + public final /* synthetic */ x.a i; + public final /* synthetic */ j1 j; + public final /* synthetic */ g k; + + public /* synthetic */ k(x.a aVar, j1 j1Var, g gVar) { + this.i = aVar; + this.j = j1Var; + this.k = gVar; + } + + @Override // java.lang.Runnable + public final void run() { + x.a aVar = this.i; + j1 j1Var = this.j; + g gVar = this.k; + x xVar = aVar.b; + int i = e0.a; + xVar.O(j1Var); + aVar.b.Q(j1Var, gVar); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/l.java b/app/src/main/java/c/i/a/c/g3/l.java new file mode 100644 index 0000000000..6ce04753a6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/l.java @@ -0,0 +1,26 @@ +package c.i.a.c.g3; + +import c.i.a.c.f3.e0; +import c.i.a.c.g3.x; +/* compiled from: lambda */ +public final /* synthetic */ class l implements Runnable { + public final /* synthetic */ x.a i; + public final /* synthetic */ long j; + public final /* synthetic */ int k; + + public /* synthetic */ l(x.a aVar, long j, int i) { + this.i = aVar; + this.j = j; + this.k = i; + } + + @Override // java.lang.Runnable + public final void run() { + x.a aVar = this.i; + long j = this.j; + int i = this.k; + x xVar = aVar.b; + int i2 = e0.a; + xVar.h0(j, i); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/m.java b/app/src/main/java/c/i/a/c/g3/m.java new file mode 100644 index 0000000000..7496ff797b --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/m.java @@ -0,0 +1,83 @@ +package c.i.a.c.g3; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.h; +import c.i.a.c.f3.u; +import c.i.a.c.f3.x; +import com.google.android.exoplayer2.ParserException; +import java.util.ArrayList; +import java.util.List; +/* compiled from: AvcConfig */ +public final class m { + public final List a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f794c; + public final int d; + public final float e; + @Nullable + public final String f; + + public m(List list, int i, int i2, int i3, float f, @Nullable String str) { + this.a = list; + this.b = i; + this.f794c = i2; + this.d = i3; + this.e = f; + this.f = str; + } + + public static byte[] a(x xVar) { + int y2 = xVar.y(); + int i = xVar.b; + xVar.F(y2); + byte[] bArr = xVar.a; + byte[] bArr2 = h.a; + byte[] bArr3 = new byte[(bArr2.length + y2)]; + System.arraycopy(bArr2, 0, bArr3, 0, bArr2.length); + System.arraycopy(bArr, i, bArr3, bArr2.length, y2); + return bArr3; + } + + public static m b(x xVar) throws ParserException { + String str; + float f; + int i; + int i2; + try { + xVar.F(4); + int t = (xVar.t() & 3) + 1; + if (t != 3) { + ArrayList arrayList = new ArrayList(); + int t2 = xVar.t() & 31; + for (int i3 = 0; i3 < t2; i3++) { + arrayList.add(a(xVar)); + } + int t3 = xVar.t(); + for (int i4 = 0; i4 < t3; i4++) { + arrayList.add(a(xVar)); + } + if (t2 > 0) { + u.c e = u.e((byte[]) arrayList.get(0), t, ((byte[]) arrayList.get(0)).length); + int i5 = e.e; + int i6 = e.f; + float f2 = e.g; + str = h.a(e.a, e.b, e.f789c); + i2 = i5; + i = i6; + f = f2; + } else { + str = null; + i2 = -1; + i = -1; + f = 1.0f; + } + return new m(arrayList, t, i2, i, f, str); + } + throw new IllegalStateException(); + } catch (ArrayIndexOutOfBoundsException e2) { + throw ParserException.a("Error parsing AVC config", e2); + } + } +} diff --git a/app/src/main/java/c/i/a/c/g3/n.java b/app/src/main/java/c/i/a/c/g3/n.java new file mode 100644 index 0000000000..4df2c37892 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/n.java @@ -0,0 +1,85 @@ +package c.i.a.c.g3; + +import androidx.annotation.Nullable; +import c.d.b.a.a; +import c.i.a.c.w0; +import java.util.Arrays; +import org.checkerframework.dataflow.qual.Pure; +/* compiled from: ColorInfo */ +public final class n implements w0 { + public static final /* synthetic */ int i = 0; + public final int j; + public final int k; + public final int l; + @Nullable + public final byte[] m; + public int n; + + public n(int i2, int i3, int i4, @Nullable byte[] bArr) { + this.j = i2; + this.k = i3; + this.l = i4; + this.m = bArr; + } + + @Pure + public static int a(int i2) { + if (i2 == 1) { + return 1; + } + if (i2 != 9) { + return (i2 == 4 || i2 == 5 || i2 == 6 || i2 == 7) ? 2 : -1; + } + return 6; + } + + @Pure + public static int b(int i2) { + if (i2 == 1) { + return 3; + } + if (i2 == 16) { + return 6; + } + if (i2 != 18) { + return (i2 == 6 || i2 == 7) ? 3 : -1; + } + return 7; + } + + public static String c(int i2) { + return Integer.toString(i2, 36); + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || n.class != obj.getClass()) { + return false; + } + n nVar = (n) obj; + return this.j == nVar.j && this.k == nVar.k && this.l == nVar.l && Arrays.equals(this.m, nVar.m); + } + + public int hashCode() { + if (this.n == 0) { + this.n = Arrays.hashCode(this.m) + ((((((527 + this.j) * 31) + this.k) * 31) + this.l) * 31); + } + return this.n; + } + + public String toString() { + int i2 = this.j; + int i3 = this.k; + int i4 = this.l; + boolean z2 = this.m != null; + StringBuilder O = a.O(55, "ColorInfo(", i2, ", ", i3); + O.append(", "); + O.append(i4); + O.append(", "); + O.append(z2); + O.append(")"); + return O.toString(); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/o.java b/app/src/main/java/c/i/a/c/g3/o.java new file mode 100644 index 0000000000..dfb896b0be --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/o.java @@ -0,0 +1,38 @@ +package c.i.a.c.g3; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.x; +/* compiled from: DolbyVisionConfig */ +public final class o { + public final String a; + + public o(int i, int i2, String str) { + this.a = str; + } + + @Nullable + public static o a(x xVar) { + String str; + xVar.F(2); + int t = xVar.t(); + int i = t >> 1; + int t2 = ((xVar.t() >> 3) & 31) | ((t & 1) << 5); + if (i == 4 || i == 5 || i == 7) { + str = "dvhe"; + } else if (i == 8) { + str = "hev1"; + } else if (i != 9) { + return null; + } else { + str = "avc3"; + } + String str2 = t2 < 10 ? ".0" : "."; + StringBuilder sb = new StringBuilder(str2.length() + str.length() + 24); + sb.append(str); + sb.append(".0"); + sb.append(i); + sb.append(str2); + sb.append(t2); + return new o(i, t2, sb.toString()); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/p.java b/app/src/main/java/c/i/a/c/g3/p.java new file mode 100644 index 0000000000..d6b857cf33 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/p.java @@ -0,0 +1,75 @@ +package c.i.a.c.g3; + +import java.util.Arrays; +/* compiled from: FixedFrameRateEstimator */ +public final class p { + public a a = new a(); + public a b = new a(); + + /* renamed from: c reason: collision with root package name */ + public boolean f795c; + public long d = -9223372036854775807L; + public int e; + + /* compiled from: FixedFrameRateEstimator */ + public static final class a { + public long a; + public long b; + + /* renamed from: c reason: collision with root package name */ + public long f796c; + public long d; + public long e; + public long f; + public final boolean[] g = new boolean[15]; + public int h; + + public boolean a() { + return this.d > 15 && this.h == 0; + } + + public void b(long j) { + long j2 = this.d; + if (j2 == 0) { + this.a = j; + } else if (j2 == 1) { + long j3 = j - this.a; + this.b = j3; + this.f = j3; + this.e = 1; + } else { + long j4 = j - this.f796c; + int i = (int) (j2 % 15); + if (Math.abs(j4 - this.b) <= 1000000) { + this.e++; + this.f += j4; + boolean[] zArr = this.g; + if (zArr[i]) { + zArr[i] = false; + this.h--; + } + } else { + boolean[] zArr2 = this.g; + if (!zArr2[i]) { + zArr2[i] = true; + this.h++; + } + } + } + this.d++; + this.f796c = j; + } + + public void c() { + this.d = 0; + this.e = 0; + this.f = 0; + this.h = 0; + Arrays.fill(this.g, false); + } + } + + public boolean a() { + return this.a.a(); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/q.java b/app/src/main/java/c/i/a/c/g3/q.java new file mode 100644 index 0000000000..b06f5c9caa --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/q.java @@ -0,0 +1,93 @@ +package c.i.a.c.g3; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.h; +import c.i.a.c.f3.u; +import c.i.a.c.f3.x; +import com.google.android.exoplayer2.ParserException; +import java.util.Collections; +import java.util.List; +/* compiled from: HevcConfig */ +public final class q { + public final List a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final float f797c; + @Nullable + public final String d; + + public q(List list, int i, int i2, int i3, float f, @Nullable String str) { + this.a = list; + this.b = i; + this.f797c = f; + this.d = str; + } + + public static q a(x xVar) throws ParserException { + int i; + int i2; + try { + xVar.F(21); + int t = xVar.t() & 3; + int t2 = xVar.t(); + int i3 = xVar.b; + int i4 = 0; + int i5 = 0; + for (int i6 = 0; i6 < t2; i6++) { + xVar.F(1); + int y2 = xVar.y(); + for (int i7 = 0; i7 < y2; i7++) { + int y3 = xVar.y(); + i5 += y3 + 4; + xVar.F(y3); + } + } + xVar.E(i3); + byte[] bArr = new byte[i5]; + String str = null; + int i8 = 0; + int i9 = 0; + int i10 = -1; + int i11 = -1; + float f = 1.0f; + while (i8 < t2) { + int t3 = xVar.t() & 127; + int y4 = xVar.y(); + int i12 = 0; + while (i12 < y4) { + int y5 = xVar.y(); + byte[] bArr2 = u.a; + System.arraycopy(bArr2, i4, bArr, i9, bArr2.length); + int length = i9 + bArr2.length; + System.arraycopy(xVar.a, xVar.b, bArr, length, y5); + if (t3 == 33 && i12 == 0) { + u.a c2 = u.c(bArr, length, length + y5); + int i13 = c2.g; + i11 = c2.h; + f = c2.i; + i2 = t3; + i = y4; + i10 = i13; + str = h.b(c2.a, c2.b, c2.f787c, c2.d, c2.e, c2.f); + } else { + i2 = t3; + i = y4; + } + i9 = length + y5; + xVar.F(y5); + i12++; + t2 = t2; + t3 = i2; + y4 = i; + i4 = 0; + } + i8++; + i4 = 0; + } + return new q(i5 == 0 ? Collections.emptyList() : Collections.singletonList(bArr), t + 1, i10, i11, f, str); + } catch (ArrayIndexOutOfBoundsException e) { + throw ParserException.a("Error parsing HEVC config", e); + } + } +} diff --git a/app/src/main/java/c/i/a/c/g3/r.java b/app/src/main/java/c/i/a/c/g3/r.java new file mode 100644 index 0000000000..af535ec8a7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/r.java @@ -0,0 +1,2589 @@ +package c.i.a.c.g3; + +import android.annotation.TargetApi; +import android.content.Context; +import android.graphics.Point; +import android.media.MediaCodecInfo; +import android.media.MediaCrypto; +import android.media.MediaFormat; +import android.os.Bundle; +import android.os.Handler; +import android.os.Looper; +import android.os.Message; +import android.os.SystemClock; +import android.util.Log; +import android.util.Pair; +import android.view.Surface; +import androidx.annotation.CallSuper; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import androidx.recyclerview.widget.RecyclerView; +import c.c.a.a0.d; +import c.i.a.c.a3.i0; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.q; +import c.i.a.c.g3.p; +import c.i.a.c.g3.v; +import c.i.a.c.g3.x; +import c.i.a.c.h2; +import c.i.a.c.j1; +import c.i.a.c.k1; +import c.i.a.c.v2.e; +import c.i.a.c.y2.g; +import c.i.a.c.y2.t; +import c.i.a.c.y2.u; +import c.i.a.c.y2.v; +import com.discord.widgets.chat.input.MentionUtilsKt; +import com.google.android.exoplayer2.ExoPlaybackException; +import com.google.android.exoplayer2.decoder.DecoderInputBuffer; +import com.google.android.exoplayer2.drm.DrmSession; +import com.google.android.exoplayer2.mediacodec.MediaCodecDecoderException; +import com.google.android.exoplayer2.mediacodec.MediaCodecRenderer; +import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; +import com.google.android.exoplayer2.video.DummySurface; +import com.google.android.exoplayer2.video.MediaCodecVideoDecoderException; +import java.nio.ByteBuffer; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Objects; +import java.util.regex.Pattern; +/* compiled from: MediaCodecVideoRenderer */ +public class r extends MediaCodecRenderer { + public static final int[] M0 = {1920, 1600, 1440, 1280, 960, 854, 640, 540, 480}; + public static boolean N0; + public static boolean O0; + public final Context P0; + public final v Q0; + public final x.a R0; + public final long S0; + public final int T0; + public final boolean U0 = "NVIDIA".equals(e0.f782c); + public a V0; + public boolean W0; + public boolean X0; + @Nullable + public Surface Y0; + @Nullable + public DummySurface Z0; + public boolean a1; + public int b1 = 1; + public boolean c1; + public boolean d1; + public boolean e1; + public long f1; + public long g1 = -9223372036854775807L; + public long h1; + public int i1; + public int j1; + public int k1; + public long l1; + public long m1; + public long n1; + public int o1; + public int p1 = -1; + public int q1 = -1; + public int r1; + public float s1 = -1.0f; + @Nullable + public y t1 = null; + public boolean u1; + public int v1 = 0; + @Nullable + public b w1; + @Nullable + public u x1; + + /* compiled from: MediaCodecVideoRenderer */ + public static final class a { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f798c; + + public a(int i, int i2, int i3) { + this.a = i; + this.b = i2; + this.f798c = i3; + } + } + + /* compiled from: MediaCodecVideoRenderer */ + @RequiresApi(23) + public final class b implements t.c, Handler.Callback { + public final Handler i; + + public b(t tVar) { + int i = e0.a; + Looper myLooper = Looper.myLooper(); + d.H(myLooper); + Handler handler = new Handler(myLooper, this); + this.i = handler; + tVar.f(this, handler); + } + + public final void a(long j) { + r rVar = r.this; + if (this == rVar.w1) { + if (j == RecyclerView.FOREVER_NS) { + rVar.G0 = true; + return; + } + try { + rVar.N0(j); + } catch (ExoPlaybackException e) { + r.this.H0 = e; + } + } + } + + public void b(t tVar, long j, long j2) { + if (e0.a < 30) { + this.i.sendMessageAtFrontOfQueue(Message.obtain(this.i, 0, (int) (j >> 32), (int) j)); + return; + } + a(j); + } + + @Override // android.os.Handler.Callback + public boolean handleMessage(Message message) { + if (message.what != 0) { + return false; + } + a((e0.L(message.arg1) << 32) | e0.L(message.arg2)); + return true; + } + } + + public r(Context context, t.b bVar, v vVar, long j, boolean z2, @Nullable Handler handler, @Nullable x xVar, int i) { + super(2, bVar, vVar, z2, 30.0f); + this.S0 = j; + this.T0 = i; + Context applicationContext = context.getApplicationContext(); + this.P0 = applicationContext; + this.Q0 = new v(applicationContext); + this.R0 = new x.a(handler, xVar); + } + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + /* JADX WARNING: Code restructure failed: missing block: B:438:0x07cf, code lost: + if (r0.equals("NX573J") == false) goto L_0x008c; + */ + /* JADX WARNING: Code restructure failed: missing block: B:462:0x0831, code lost: + if (r0.equals("AFTN") == false) goto L_0x0829; + */ + public static boolean E0() { + char c2; + int i = e0.a; + char c3 = 6; + char c4 = 2; + if (i <= 28) { + String str = e0.b; + str.hashCode(); + switch (str.hashCode()) { + case -1339091551: + if (str.equals("dangal")) { + c2 = 0; + break; + } + c2 = 65535; + break; + case -1220081023: + if (str.equals("dangalFHD")) { + c2 = 1; + break; + } + c2 = 65535; + break; + case -1220066608: + if (str.equals("dangalUHD")) { + c2 = 2; + break; + } + c2 = 65535; + break; + case -1012436106: + if (str.equals("oneday")) { + c2 = 3; + break; + } + c2 = 65535; + break; + case -64886864: + if (str.equals("magnolia")) { + c2 = 4; + break; + } + c2 = 65535; + break; + case 3415681: + if (str.equals("once")) { + c2 = 5; + break; + } + c2 = 65535; + break; + case 825323514: + if (str.equals("machuca")) { + c2 = 6; + break; + } + c2 = 65535; + break; + default: + c2 = 65535; + break; + } + switch (c2) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + return true; + } + } + if (i <= 27 && "HWEML".equals(e0.b)) { + return true; + } + if (i <= 26) { + String str2 = e0.b; + str2.hashCode(); + switch (str2.hashCode()) { + case -2144781245: + if (str2.equals("GIONEE_SWW1609")) { + c3 = 0; + break; + } + c3 = 65535; + break; + case -2144781185: + if (str2.equals("GIONEE_SWW1627")) { + c3 = 1; + break; + } + c3 = 65535; + break; + case -2144781160: + if (str2.equals("GIONEE_SWW1631")) { + c3 = 2; + break; + } + c3 = 65535; + break; + case -2097309513: + if (str2.equals("K50a40")) { + c3 = 3; + break; + } + c3 = 65535; + break; + case -2022874474: + if (str2.equals("CP8676_I02")) { + c3 = 4; + break; + } + c3 = 65535; + break; + case -1978993182: + if (str2.equals("NX541J")) { + c3 = 5; + break; + } + c3 = 65535; + break; + case -1978990237: + break; + case -1936688988: + if (str2.equals("PGN528")) { + c3 = 7; + break; + } + c3 = 65535; + break; + case -1936688066: + if (str2.equals("PGN610")) { + c3 = '\b'; + break; + } + c3 = 65535; + break; + case -1936688065: + if (str2.equals("PGN611")) { + c3 = '\t'; + break; + } + c3 = 65535; + break; + case -1931988508: + if (str2.equals("AquaPowerM")) { + c3 = '\n'; + break; + } + c3 = 65535; + break; + case -1885099851: + if (str2.equals("RAIJIN")) { + c3 = 11; + break; + } + c3 = 65535; + break; + case -1696512866: + if (str2.equals("XT1663")) { + c3 = '\f'; + break; + } + c3 = 65535; + break; + case -1680025915: + if (str2.equals("ComioS1")) { + c3 = '\r'; + break; + } + c3 = 65535; + break; + case -1615810839: + if (str2.equals("Phantom6")) { + c3 = 14; + break; + } + c3 = 65535; + break; + case -1600724499: + if (str2.equals("pacificrim")) { + c3 = 15; + break; + } + c3 = 65535; + break; + case -1554255044: + if (str2.equals("vernee_M5")) { + c3 = 16; + break; + } + c3 = 65535; + break; + case -1481772737: + if (str2.equals("panell_dl")) { + c3 = 17; + break; + } + c3 = 65535; + break; + case -1481772730: + if (str2.equals("panell_ds")) { + c3 = 18; + break; + } + c3 = 65535; + break; + case -1481772729: + if (str2.equals("panell_dt")) { + c3 = 19; + break; + } + c3 = 65535; + break; + case -1320080169: + if (str2.equals("GiONEE_GBL7319")) { + c3 = 20; + break; + } + c3 = 65535; + break; + case -1217592143: + if (str2.equals("BRAVIA_ATV2")) { + c3 = 21; + break; + } + c3 = 65535; + break; + case -1180384755: + if (str2.equals("iris60")) { + c3 = 22; + break; + } + c3 = 65535; + break; + case -1139198265: + if (str2.equals("Slate_Pro")) { + c3 = 23; + break; + } + c3 = 65535; + break; + case -1052835013: + if (str2.equals("namath")) { + c3 = 24; + break; + } + c3 = 65535; + break; + case -993250464: + if (str2.equals("A10-70F")) { + c3 = 25; + break; + } + c3 = 65535; + break; + case -993250458: + if (str2.equals("A10-70L")) { + c3 = 26; + break; + } + c3 = 65535; + break; + case -965403638: + if (str2.equals("s905x018")) { + c3 = 27; + break; + } + c3 = 65535; + break; + case -958336948: + if (str2.equals("ELUGA_Ray_X")) { + c3 = 28; + break; + } + c3 = 65535; + break; + case -879245230: + if (str2.equals("tcl_eu")) { + c3 = 29; + break; + } + c3 = 65535; + break; + case -842500323: + if (str2.equals("nicklaus_f")) { + c3 = 30; + break; + } + c3 = 65535; + break; + case -821392978: + if (str2.equals("A7000-a")) { + c3 = 31; + break; + } + c3 = 65535; + break; + case -797483286: + if (str2.equals("SVP-DTV15")) { + c3 = ' '; + break; + } + c3 = 65535; + break; + case -794946968: + if (str2.equals("watson")) { + c3 = '!'; + break; + } + c3 = 65535; + break; + case -788334647: + if (str2.equals("whyred")) { + c3 = '\"'; + break; + } + c3 = 65535; + break; + case -782144577: + if (str2.equals("OnePlus5T")) { + c3 = MentionUtilsKt.CHANNELS_CHAR; + break; + } + c3 = 65535; + break; + case -575125681: + if (str2.equals("GiONEE_CBL7513")) { + c3 = '$'; + break; + } + c3 = 65535; + break; + case -521118391: + if (str2.equals("GIONEE_GBL7360")) { + c3 = '%'; + break; + } + c3 = 65535; + break; + case -430914369: + if (str2.equals("Pixi4-7_3G")) { + c3 = '&'; + break; + } + c3 = 65535; + break; + case -290434366: + if (str2.equals("taido_row")) { + c3 = '\''; + break; + } + c3 = 65535; + break; + case -282781963: + if (str2.equals("BLACK-1X")) { + c3 = '('; + break; + } + c3 = 65535; + break; + case -277133239: + if (str2.equals("Z12_PRO")) { + c3 = ')'; + break; + } + c3 = 65535; + break; + case -173639913: + if (str2.equals("ELUGA_A3_Pro")) { + c3 = '*'; + break; + } + c3 = 65535; + break; + case -56598463: + if (str2.equals("woods_fn")) { + c3 = '+'; + break; + } + c3 = 65535; + break; + case 2126: + if (str2.equals("C1")) { + c3 = ','; + break; + } + c3 = 65535; + break; + case 2564: + if (str2.equals("Q5")) { + c3 = '-'; + break; + } + c3 = 65535; + break; + case 2715: + if (str2.equals("V1")) { + c3 = '.'; + break; + } + c3 = 65535; + break; + case 2719: + if (str2.equals("V5")) { + c3 = MentionUtilsKt.SLASH_CHAR; + break; + } + c3 = 65535; + break; + case 3091: + if (str2.equals("b5")) { + c3 = '0'; + break; + } + c3 = 65535; + break; + case 3483: + if (str2.equals("mh")) { + c3 = '1'; + break; + } + c3 = 65535; + break; + case 73405: + if (str2.equals("JGZ")) { + c3 = '2'; + break; + } + c3 = 65535; + break; + case 75537: + if (str2.equals("M04")) { + c3 = '3'; + break; + } + c3 = 65535; + break; + case 75739: + if (str2.equals("M5c")) { + c3 = '4'; + break; + } + c3 = 65535; + break; + case 76779: + if (str2.equals("MX6")) { + c3 = '5'; + break; + } + c3 = 65535; + break; + case 78669: + if (str2.equals("P85")) { + c3 = '6'; + break; + } + c3 = 65535; + break; + case 79305: + if (str2.equals("PLE")) { + c3 = '7'; + break; + } + c3 = 65535; + break; + case 80618: + if (str2.equals("QX1")) { + c3 = '8'; + break; + } + c3 = 65535; + break; + case 88274: + if (str2.equals("Z80")) { + c3 = '9'; + break; + } + c3 = 65535; + break; + case 98846: + if (str2.equals("cv1")) { + c3 = MentionUtilsKt.EMOJIS_AND_STICKERS_CHAR; + break; + } + c3 = 65535; + break; + case 98848: + if (str2.equals("cv3")) { + c3 = ';'; + break; + } + c3 = 65535; + break; + case 99329: + if (str2.equals("deb")) { + c3 = '<'; + break; + } + c3 = 65535; + break; + case 101481: + if (str2.equals("flo")) { + c3 = '='; + break; + } + c3 = 65535; + break; + case 1513190: + if (str2.equals("1601")) { + c3 = '>'; + break; + } + c3 = 65535; + break; + case 1514184: + if (str2.equals("1713")) { + c3 = '?'; + break; + } + c3 = 65535; + break; + case 1514185: + if (str2.equals("1714")) { + c3 = MentionUtilsKt.MENTIONS_CHAR; + break; + } + c3 = 65535; + break; + case 2133089: + if (str2.equals("F01H")) { + c3 = 'A'; + break; + } + c3 = 65535; + break; + case 2133091: + if (str2.equals("F01J")) { + c3 = 'B'; + break; + } + c3 = 65535; + break; + case 2133120: + if (str2.equals("F02H")) { + c3 = 'C'; + break; + } + c3 = 65535; + break; + case 2133151: + if (str2.equals("F03H")) { + c3 = 'D'; + break; + } + c3 = 65535; + break; + case 2133182: + if (str2.equals("F04H")) { + c3 = 'E'; + break; + } + c3 = 65535; + break; + case 2133184: + if (str2.equals("F04J")) { + c3 = 'F'; + break; + } + c3 = 65535; + break; + case 2436959: + if (str2.equals("P681")) { + c3 = 'G'; + break; + } + c3 = 65535; + break; + case 2463773: + if (str2.equals("Q350")) { + c3 = 'H'; + break; + } + c3 = 65535; + break; + case 2464648: + if (str2.equals("Q427")) { + c3 = 'I'; + break; + } + c3 = 65535; + break; + case 2689555: + if (str2.equals("XE2X")) { + c3 = 'J'; + break; + } + c3 = 65535; + break; + case 3154429: + if (str2.equals("fugu")) { + c3 = 'K'; + break; + } + c3 = 65535; + break; + case 3284551: + if (str2.equals("kate")) { + c3 = 'L'; + break; + } + c3 = 65535; + break; + case 3351335: + if (str2.equals("mido")) { + c3 = 'M'; + break; + } + c3 = 65535; + break; + case 3386211: + if (str2.equals("p212")) { + c3 = 'N'; + break; + } + c3 = 65535; + break; + case 41325051: + if (str2.equals("MEIZU_M5")) { + c3 = 'O'; + break; + } + c3 = 65535; + break; + case 51349633: + if (str2.equals("601LV")) { + c3 = 'P'; + break; + } + c3 = 65535; + break; + case 51350594: + if (str2.equals("602LV")) { + c3 = 'Q'; + break; + } + c3 = 65535; + break; + case 55178625: + if (str2.equals("Aura_Note_2")) { + c3 = 'R'; + break; + } + c3 = 65535; + break; + case 61542055: + if (str2.equals("A1601")) { + c3 = 'S'; + break; + } + c3 = 65535; + break; + case 65355429: + if (str2.equals("E5643")) { + c3 = 'T'; + break; + } + c3 = 65535; + break; + case 66214468: + if (str2.equals("F3111")) { + c3 = 'U'; + break; + } + c3 = 65535; + break; + case 66214470: + if (str2.equals("F3113")) { + c3 = 'V'; + break; + } + c3 = 65535; + break; + case 66214473: + if (str2.equals("F3116")) { + c3 = 'W'; + break; + } + c3 = 65535; + break; + case 66215429: + if (str2.equals("F3211")) { + c3 = 'X'; + break; + } + c3 = 65535; + break; + case 66215431: + if (str2.equals("F3213")) { + c3 = 'Y'; + break; + } + c3 = 65535; + break; + case 66215433: + if (str2.equals("F3215")) { + c3 = 'Z'; + break; + } + c3 = 65535; + break; + case 66216390: + if (str2.equals("F3311")) { + c3 = '['; + break; + } + c3 = 65535; + break; + case 76402249: + if (str2.equals("PRO7S")) { + c3 = '\\'; + break; + } + c3 = 65535; + break; + case 76404105: + if (str2.equals("Q4260")) { + c3 = ']'; + break; + } + c3 = 65535; + break; + case 76404911: + if (str2.equals("Q4310")) { + c3 = '^'; + break; + } + c3 = 65535; + break; + case 80963634: + if (str2.equals("V23GB")) { + c3 = '_'; + break; + } + c3 = 65535; + break; + case 82882791: + if (str2.equals("X3_HK")) { + c3 = '`'; + break; + } + c3 = 65535; + break; + case 98715550: + if (str2.equals("i9031")) { + c3 = 'a'; + break; + } + c3 = 65535; + break; + case 101370885: + if (str2.equals("l5460")) { + c3 = 'b'; + break; + } + c3 = 65535; + break; + case 102844228: + if (str2.equals("le_x6")) { + c3 = 'c'; + break; + } + c3 = 65535; + break; + case 165221241: + if (str2.equals("A2016a40")) { + c3 = 'd'; + break; + } + c3 = 65535; + break; + case 182191441: + if (str2.equals("CPY83_I00")) { + c3 = 'e'; + break; + } + c3 = 65535; + break; + case 245388979: + if (str2.equals("marino_f")) { + c3 = 'f'; + break; + } + c3 = 65535; + break; + case 287431619: + if (str2.equals("griffin")) { + c3 = 'g'; + break; + } + c3 = 65535; + break; + case 307593612: + if (str2.equals("A7010a48")) { + c3 = 'h'; + break; + } + c3 = 65535; + break; + case 308517133: + if (str2.equals("A7020a48")) { + c3 = 'i'; + break; + } + c3 = 65535; + break; + case 316215098: + if (str2.equals("TB3-730F")) { + c3 = 'j'; + break; + } + c3 = 65535; + break; + case 316215116: + if (str2.equals("TB3-730X")) { + c3 = 'k'; + break; + } + c3 = 65535; + break; + case 316246811: + if (str2.equals("TB3-850F")) { + c3 = 'l'; + break; + } + c3 = 65535; + break; + case 316246818: + if (str2.equals("TB3-850M")) { + c3 = 'm'; + break; + } + c3 = 65535; + break; + case 407160593: + if (str2.equals("Pixi5-10_4G")) { + c3 = 'n'; + break; + } + c3 = 65535; + break; + case 507412548: + if (str2.equals("QM16XE_U")) { + c3 = 'o'; + break; + } + c3 = 65535; + break; + case 793982701: + if (str2.equals("GIONEE_WBL5708")) { + c3 = 'p'; + break; + } + c3 = 65535; + break; + case 794038622: + if (str2.equals("GIONEE_WBL7365")) { + c3 = 'q'; + break; + } + c3 = 65535; + break; + case 794040393: + if (str2.equals("GIONEE_WBL7519")) { + c3 = 'r'; + break; + } + c3 = 65535; + break; + case 835649806: + if (str2.equals("manning")) { + c3 = 's'; + break; + } + c3 = 65535; + break; + case 917340916: + if (str2.equals("A7000plus")) { + c3 = 't'; + break; + } + c3 = 65535; + break; + case 958008161: + if (str2.equals("j2xlteins")) { + c3 = 'u'; + break; + } + c3 = 65535; + break; + case 1060579533: + if (str2.equals("panell_d")) { + c3 = 'v'; + break; + } + c3 = 65535; + break; + case 1150207623: + if (str2.equals("LS-5017")) { + c3 = 'w'; + break; + } + c3 = 65535; + break; + case 1176899427: + if (str2.equals("itel_S41")) { + c3 = 'x'; + break; + } + c3 = 65535; + break; + case 1280332038: + if (str2.equals("hwALE-H")) { + c3 = 'y'; + break; + } + c3 = 65535; + break; + case 1306947716: + if (str2.equals("EverStar_S")) { + c3 = 'z'; + break; + } + c3 = 65535; + break; + case 1349174697: + if (str2.equals("htc_e56ml_dtul")) { + c3 = '{'; + break; + } + c3 = 65535; + break; + case 1522194893: + if (str2.equals("woods_f")) { + c3 = '|'; + break; + } + c3 = 65535; + break; + case 1691543273: + if (str2.equals("CPH1609")) { + c3 = '}'; + break; + } + c3 = 65535; + break; + case 1691544261: + if (str2.equals("CPH1715")) { + c3 = '~'; + break; + } + c3 = 65535; + break; + case 1709443163: + if (str2.equals("iball8735_9806")) { + c3 = 127; + break; + } + c3 = 65535; + break; + case 1865889110: + if (str2.equals("santoni")) { + c3 = 128; + break; + } + c3 = 65535; + break; + case 1906253259: + if (str2.equals("PB2-670M")) { + c3 = 129; + break; + } + c3 = 65535; + break; + case 1977196784: + if (str2.equals("Infinix-X572")) { + c3 = 130; + break; + } + c3 = 65535; + break; + case 2006372676: + if (str2.equals("BRAVIA_ATV3_4K")) { + c3 = 131; + break; + } + c3 = 65535; + break; + case 2019281702: + if (str2.equals("DM-01K")) { + c3 = 132; + break; + } + c3 = 65535; + break; + case 2029784656: + if (str2.equals("HWBLN-H")) { + c3 = 133; + break; + } + c3 = 65535; + break; + case 2030379515: + if (str2.equals("HWCAM-H")) { + c3 = 134; + break; + } + c3 = 65535; + break; + case 2033393791: + if (str2.equals("ASUS_X00AD_2")) { + c3 = 135; + break; + } + c3 = 65535; + break; + case 2047190025: + if (str2.equals("ELUGA_Note")) { + c3 = 136; + break; + } + c3 = 65535; + break; + case 2047252157: + if (str2.equals("ELUGA_Prim")) { + c3 = 137; + break; + } + c3 = 65535; + break; + case 2048319463: + if (str2.equals("HWVNS-H")) { + c3 = 138; + break; + } + c3 = 65535; + break; + case 2048855701: + if (str2.equals("HWWAS-H")) { + c3 = 139; + break; + } + c3 = 65535; + break; + default: + c3 = 65535; + break; + } + switch (c3) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case '\b': + case '\t': + case '\n': + case 11: + case '\f': + case '\r': + case 14: + case 15: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + case ' ': + case '!': + case '\"': + case '#': + case '$': + case '%': + case '&': + case '\'': + case '(': + case ')': + case '*': + case '+': + case ',': + case '-': + case '.': + case '/': + case '0': + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': + case ':': + case ';': + case '<': + case '=': + case '>': + case '?': + case '@': + case 'A': + case 'B': + case 'C': + case 'D': + case 'E': + case 'F': + case 'G': + case 'H': + case 'I': + case 'J': + case 'K': + case 'L': + case 'M': + case 'N': + case 'O': + case 'P': + case 'Q': + case 'R': + case 'S': + case 'T': + case 'U': + case 'V': + case 'W': + case 'X': + case 'Y': + case 'Z': + case '[': + case '\\': + case ']': + case '^': + case '_': + case '`': + case 'a': + case 'b': + case 'c': + case 'd': + case 'e': + case 'f': + case 'g': + case 'h': + case 'i': + case 'j': + case 'k': + case 'l': + case 'm': + case 'n': + case 'o': + case 'p': + case 'q': + case 'r': + case 's': + case 't': + case 'u': + case 'v': + case 'w': + case 'x': + case 'y': + case 'z': + case '{': + case '|': + case '}': + case '~': + case 127: + case 128: + case 129: + case 130: + case 131: + case 132: + case 133: + case 134: + case 135: + case 136: + case 137: + case 138: + case 139: + break; + default: + String str3 = e0.d; + str3.hashCode(); + switch (str3.hashCode()) { + case -594534941: + if (str3.equals("JSN-L21")) { + c4 = 0; + break; + } + c4 = 65535; + break; + case 2006354: + if (str3.equals("AFTA")) { + c4 = 1; + break; + } + c4 = 65535; + break; + case 2006367: + break; + default: + c4 = 65535; + break; + } + switch (c4) { + } + } + return true; + } + return false; + } + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + public static int F0(u uVar, j1 j1Var) { + char c2; + int i; + int intValue; + int i2 = j1Var.A; + int i3 = j1Var.B; + if (i2 == -1 || i3 == -1) { + return -1; + } + String str = j1Var.v; + if ("video/dolby-vision".equals(str)) { + Pair c3 = MediaCodecUtil.c(j1Var); + str = (c3 == null || !((intValue = ((Integer) c3.first).intValue()) == 512 || intValue == 1 || intValue == 2)) ? "video/hevc" : "video/avc"; + } + str.hashCode(); + int i4 = 4; + switch (str.hashCode()) { + case -1664118616: + if (str.equals("video/3gpp")) { + c2 = 0; + break; + } + c2 = 65535; + break; + case -1662541442: + if (str.equals("video/hevc")) { + c2 = 1; + break; + } + c2 = 65535; + break; + case 1187890754: + if (str.equals("video/mp4v-es")) { + c2 = 2; + break; + } + c2 = 65535; + break; + case 1331836730: + if (str.equals("video/avc")) { + c2 = 3; + break; + } + c2 = 65535; + break; + case 1599127256: + if (str.equals("video/x-vnd.on2.vp8")) { + c2 = 4; + break; + } + c2 = 65535; + break; + case 1599127257: + if (str.equals("video/x-vnd.on2.vp9")) { + c2 = 5; + break; + } + c2 = 65535; + break; + default: + c2 = 65535; + break; + } + if (c2 != 0) { + if (c2 != 1) { + if (c2 != 2) { + if (c2 == 3) { + String str2 = e0.d; + if ("BRAVIA 4K 2015".equals(str2) || ("Amazon".equals(e0.f782c) && ("KFSOWI".equals(str2) || ("AFTS".equals(str2) && uVar.f)))) { + return -1; + } + i = e0.f(i3, 16) * e0.f(i2, 16) * 16 * 16; + i4 = 2; + return (i * 3) / (i4 * 2); + } else if (c2 != 4) { + if (c2 != 5) { + return -1; + } + } + } + } + i = i2 * i3; + return (i * 3) / (i4 * 2); + } + i = i2 * i3; + i4 = 2; + return (i * 3) / (i4 * 2); + } + + public static List G0(v vVar, j1 j1Var, boolean z2, boolean z3) throws MediaCodecUtil.DecoderQueryException { + Pair c2; + String str = j1Var.v; + if (str == null) { + return Collections.emptyList(); + } + List a2 = vVar.a(str, z2, z3); + Pattern pattern = MediaCodecUtil.a; + ArrayList arrayList = new ArrayList(a2); + MediaCodecUtil.j(arrayList, new g(j1Var)); + if ("video/dolby-vision".equals(str) && (c2 = MediaCodecUtil.c(j1Var)) != null) { + int intValue = ((Integer) c2.first).intValue(); + if (intValue == 16 || intValue == 256) { + arrayList.addAll(vVar.a("video/hevc", z2, z3)); + } else if (intValue == 512) { + arrayList.addAll(vVar.a("video/avc", z2, z3)); + } + } + return Collections.unmodifiableList(arrayList); + } + + public static int H0(u uVar, j1 j1Var) { + if (j1Var.w == -1) { + return F0(uVar, j1Var); + } + int size = j1Var.f820x.size(); + int i = 0; + for (int i2 = 0; i2 < size; i2++) { + i += j1Var.f820x.get(i2).length; + } + return j1Var.w + i; + } + + public static boolean I0(long j) { + return j < -30000; + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.v0 + public void B() { + this.t1 = null; + C0(); + this.a1 = false; + v vVar = this.Q0; + v.b bVar = vVar.b; + if (bVar != null) { + bVar.unregister(); + v.e eVar = vVar.f800c; + Objects.requireNonNull(eVar); + eVar.k.sendEmptyMessage(2); + } + this.w1 = null; + try { + super.B(); + x.a aVar = this.R0; + e eVar2 = this.I0; + Objects.requireNonNull(aVar); + synchronized (eVar2) { + } + Handler handler = aVar.a; + if (handler != null) { + handler.post(new c(aVar, eVar2)); + } + } catch (Throwable th) { + x.a aVar2 = this.R0; + e eVar3 = this.I0; + Objects.requireNonNull(aVar2); + synchronized (eVar3) { + Handler handler2 = aVar2.a; + if (handler2 != null) { + handler2.post(new c(aVar2, eVar3)); + } + throw th; + } + } + } + + @Override // c.i.a.c.v0 + public void C(boolean z2, boolean z3) throws ExoPlaybackException { + this.I0 = new e(); + h2 h2Var = this.k; + Objects.requireNonNull(h2Var); + boolean z4 = h2Var.b; + d.D(!z4 || this.v1 != 0); + if (this.u1 != z4) { + this.u1 = z4; + o0(); + } + x.a aVar = this.R0; + e eVar = this.I0; + Handler handler = aVar.a; + if (handler != null) { + handler.post(new f(aVar, eVar)); + } + v vVar = this.Q0; + if (vVar.b != null) { + v.e eVar2 = vVar.f800c; + Objects.requireNonNull(eVar2); + eVar2.k.sendEmptyMessage(1); + vVar.b.a(new b(vVar)); + } + this.d1 = z3; + this.e1 = false; + } + + public final void C0() { + t tVar; + this.c1 = false; + if (e0.a >= 23 && this.u1 && (tVar = this.R) != null) { + this.w1 = new b(tVar); + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.v0 + public void D(long j, boolean z2) throws ExoPlaybackException { + super.D(j, z2); + C0(); + this.Q0.b(); + this.l1 = -9223372036854775807L; + this.f1 = -9223372036854775807L; + this.j1 = 0; + if (z2) { + R0(); + } else { + this.g1 = -9223372036854775807L; + } + } + + public boolean D0(String str) { + if (str.startsWith("OMX.google")) { + return false; + } + synchronized (r.class) { + if (!N0) { + O0 = E0(); + N0 = true; + } + } + return O0; + } + + @Override // c.i.a.c.v0 + @TargetApi(17) + public void E() { + DrmSession drmSession = null; + try { + M(); + o0(); + try { + } finally { + if (this.Z0 != null) { + O0(); + } + } + } finally { + u0(drmSession); + } + } + + @Override // c.i.a.c.v0 + public void F() { + this.i1 = 0; + this.h1 = SystemClock.elapsedRealtime(); + this.m1 = SystemClock.elapsedRealtime() * 1000; + this.n1 = 0; + this.o1 = 0; + v vVar = this.Q0; + vVar.d = true; + vVar.b(); + vVar.d(false); + } + + @Override // c.i.a.c.v0 + public void G() { + this.g1 = -9223372036854775807L; + J0(); + int i = this.o1; + if (i != 0) { + x.a aVar = this.R0; + long j = this.n1; + Handler handler = aVar.a; + if (handler != null) { + handler.post(new l(aVar, j, i)); + } + this.n1 = 0; + this.o1 = 0; + } + v vVar = this.Q0; + vVar.d = false; + vVar.a(); + } + + public final void J0() { + if (this.i1 > 0) { + long elapsedRealtime = SystemClock.elapsedRealtime(); + long j = elapsedRealtime - this.h1; + x.a aVar = this.R0; + int i = this.i1; + Handler handler = aVar.a; + if (handler != null) { + handler.post(new h(aVar, i, j)); + } + this.i1 = 0; + this.h1 = elapsedRealtime; + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public c.i.a.c.v2.g K(u uVar, j1 j1Var, j1 j1Var2) { + c.i.a.c.v2.g c2 = uVar.c(j1Var, j1Var2); + int i = c2.e; + int i2 = j1Var2.A; + a aVar = this.V0; + if (i2 > aVar.a || j1Var2.B > aVar.b) { + i |= 256; + } + if (H0(uVar, j1Var2) > this.V0.f798c) { + i |= 64; + } + return new c.i.a.c.v2.g(uVar.a, j1Var, j1Var2, i != 0 ? 0 : c2.d, i); + } + + public void K0() { + this.e1 = true; + if (!this.c1) { + this.c1 = true; + x.a aVar = this.R0; + Surface surface = this.Y0; + if (aVar.a != null) { + aVar.a.post(new g(aVar, surface, SystemClock.elapsedRealtime())); + } + this.a1 = true; + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public MediaCodecDecoderException L(Throwable th, @Nullable u uVar) { + return new MediaCodecVideoDecoderException(th, uVar, this.Y0); + } + + public final void L0() { + int i = this.p1; + if (i != -1 || this.q1 != -1) { + y yVar = this.t1; + if (yVar == null || yVar.j != i || yVar.k != this.q1 || yVar.l != this.r1 || yVar.m != this.s1) { + y yVar2 = new y(i, this.q1, this.r1, this.s1); + this.t1 = yVar2; + x.a aVar = this.R0; + Handler handler = aVar.a; + if (handler != null) { + handler.post(new j(aVar, yVar2)); + } + } + } + } + + public final void M0(long j, long j2, j1 j1Var) { + u uVar = this.x1; + if (uVar != null) { + uVar.e(j, j2, j1Var, this.T); + } + } + + public void N0(long j) throws ExoPlaybackException { + B0(j); + L0(); + this.I0.e++; + K0(); + super.i0(j); + if (!this.u1) { + this.k1--; + } + } + + @RequiresApi(17) + public final void O0() { + Surface surface = this.Y0; + DummySurface dummySurface = this.Z0; + if (surface == dummySurface) { + this.Y0 = null; + } + dummySurface.release(); + this.Z0 = null; + } + + public void P0(t tVar, int i) { + L0(); + d.f("releaseOutputBuffer"); + tVar.releaseOutputBuffer(i, true); + d.c0(); + this.m1 = SystemClock.elapsedRealtime() * 1000; + this.I0.e++; + this.j1 = 0; + K0(); + } + + @RequiresApi(21) + public void Q0(t tVar, int i, long j) { + L0(); + d.f("releaseOutputBuffer"); + tVar.c(i, j); + d.c0(); + this.m1 = SystemClock.elapsedRealtime() * 1000; + this.I0.e++; + this.j1 = 0; + K0(); + } + + public final void R0() { + this.g1 = this.S0 > 0 ? SystemClock.elapsedRealtime() + this.S0 : -9223372036854775807L; + } + + public final boolean S0(u uVar) { + return e0.a >= 23 && !this.u1 && !D0(uVar.a) && (!uVar.f || DummySurface.b(this.P0)); + } + + public void T0(t tVar, int i) { + d.f("skipVideoBuffer"); + tVar.releaseOutputBuffer(i, false); + d.c0(); + this.I0.f++; + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public boolean U() { + return this.u1 && e0.a < 23; + } + + public void U0(int i) { + e eVar = this.I0; + eVar.g += i; + this.i1 += i; + int i2 = this.j1 + i; + this.j1 = i2; + eVar.h = Math.max(i2, eVar.h); + int i3 = this.T0; + if (i3 > 0 && this.i1 >= i3) { + J0(); + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public float V(float f, j1 j1Var, j1[] j1VarArr) { + float f2 = -1.0f; + for (j1 j1Var2 : j1VarArr) { + float f3 = j1Var2.C; + if (f3 != -1.0f) { + f2 = Math.max(f2, f3); + } + } + if (f2 == -1.0f) { + return -1.0f; + } + return f2 * f; + } + + public void V0(long j) { + e eVar = this.I0; + eVar.j += j; + eVar.k++; + this.n1 += j; + this.o1++; + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public List W(c.i.a.c.y2.v vVar, j1 j1Var, boolean z2) throws MediaCodecUtil.DecoderQueryException { + return G0(vVar, j1Var, z2, this.u1); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + @TargetApi(17) + public t.a Y(u uVar, j1 j1Var, @Nullable MediaCrypto mediaCrypto, float f) { + a aVar; + boolean z2; + Pair c2; + Point point; + Point point2; + MediaCodecInfo.VideoCapabilities videoCapabilities; + int F0; + j1 j1Var2 = j1Var; + DummySurface dummySurface = this.Z0; + if (!(dummySurface == null || dummySurface.k == uVar.f)) { + O0(); + } + String str = uVar.f1049c; + j1[] j1VarArr = this.o; + Objects.requireNonNull(j1VarArr); + int i = j1Var2.A; + int i2 = j1Var2.B; + int H0 = H0(uVar, j1Var); + if (j1VarArr.length == 1) { + if (!(H0 == -1 || (F0 = F0(uVar, j1Var)) == -1)) { + H0 = Math.min((int) (((float) H0) * 1.5f), F0); + } + aVar = new a(i, i2, H0); + } else { + int length = j1VarArr.length; + boolean z3 = false; + for (int i3 = 0; i3 < length; i3++) { + j1 j1Var3 = j1VarArr[i3]; + if (j1Var2.H != null && j1Var3.H == null) { + j1.b a2 = j1Var3.a(); + a2.w = j1Var2.H; + j1Var3 = a2.a(); + } + if (uVar.c(j1Var2, j1Var3).d != 0) { + int i4 = j1Var3.A; + z3 |= i4 == -1 || j1Var3.B == -1; + i = Math.max(i, i4); + i2 = Math.max(i2, j1Var3.B); + H0 = Math.max(H0, H0(uVar, j1Var3)); + } + } + if (z3) { + Log.w("MediaCodecVideoRenderer", c.d.b.a.a.g(66, "Resolutions unknown. Codec max resolution: ", i, "x", i2)); + int i5 = j1Var2.B; + int i6 = j1Var2.A; + boolean z4 = i5 > i6; + int i7 = z4 ? i5 : i6; + if (z4) { + i5 = i6; + } + float f2 = ((float) i5) / ((float) i7); + int[] iArr = M0; + int length2 = iArr.length; + int i8 = 0; + while (true) { + point = null; + if (i8 >= length2) { + break; + } + int i9 = iArr[i8]; + int i10 = (int) (((float) i9) * f2); + if (i9 <= i7 || i10 <= i5) { + break; + } + if (e0.a >= 21) { + int i11 = z4 ? i10 : i9; + if (!z4) { + i9 = i10; + } + MediaCodecInfo.CodecCapabilities codecCapabilities = uVar.d; + if (!(codecCapabilities == null || (videoCapabilities = codecCapabilities.getVideoCapabilities()) == null)) { + point = u.a(videoCapabilities, i11, i9); + } + float f3 = j1Var2.C; + int i12 = point.x; + int i13 = point.y; + point = point; + if (uVar.g(i12, i13, (double) f3)) { + break; + } + } else { + try { + int f4 = e0.f(i9, 16) * 16; + int f5 = e0.f(i10, 16) * 16; + if (f4 * f5 <= MediaCodecUtil.i()) { + int i14 = z4 ? f5 : f4; + if (!z4) { + f4 = f5; + } + point2 = new Point(i14, f4); + } + } catch (MediaCodecUtil.DecoderQueryException unused) { + } + } + i8++; + j1Var2 = j1Var; + length2 = length2; + iArr = iArr; + i5 = i5; + f2 = f2; + } + point2 = point; + if (point2 != null) { + i = Math.max(i, point2.x); + i2 = Math.max(i2, point2.y); + j1.b a3 = j1Var.a(); + a3.p = i; + a3.q = i2; + H0 = Math.max(H0, F0(uVar, a3.a())); + Log.w("MediaCodecVideoRenderer", c.d.b.a.a.g(57, "Codec max resolution adjusted to: ", i, "x", i2)); + } + } + aVar = new a(i, i2, H0); + } + this.V0 = aVar; + boolean z5 = this.U0; + int i15 = this.u1 ? this.v1 : 0; + MediaFormat mediaFormat = new MediaFormat(); + mediaFormat.setString("mime", str); + mediaFormat.setInteger("width", j1Var.A); + mediaFormat.setInteger("height", j1Var.B); + d.W1(mediaFormat, j1Var.f820x); + float f6 = j1Var.C; + if (f6 != -1.0f) { + mediaFormat.setFloat("frame-rate", f6); + } + d.h1(mediaFormat, "rotation-degrees", j1Var.D); + n nVar = j1Var.H; + if (nVar != null) { + d.h1(mediaFormat, "color-transfer", nVar.l); + d.h1(mediaFormat, "color-standard", nVar.j); + d.h1(mediaFormat, "color-range", nVar.k); + byte[] bArr = nVar.m; + if (bArr != null) { + mediaFormat.setByteBuffer("hdr-static-info", ByteBuffer.wrap(bArr)); + } + } + if ("video/dolby-vision".equals(j1Var.v) && (c2 = MediaCodecUtil.c(j1Var)) != null) { + d.h1(mediaFormat, "profile", ((Integer) c2.first).intValue()); + } + mediaFormat.setInteger("max-width", aVar.a); + mediaFormat.setInteger("max-height", aVar.b); + d.h1(mediaFormat, "max-input-size", aVar.f798c); + if (e0.a >= 23) { + mediaFormat.setInteger("priority", 0); + if (f != -1.0f) { + mediaFormat.setFloat("operating-rate", f); + } + } + if (z5) { + z2 = true; + mediaFormat.setInteger("no-post-process", 1); + mediaFormat.setInteger("auto-frc", 0); + } else { + z2 = true; + } + if (i15 != 0) { + mediaFormat.setFeatureEnabled("tunneled-playback", z2); + mediaFormat.setInteger("audio-session-id", i15); + } + if (this.Y0 == null) { + if (S0(uVar)) { + if (this.Z0 == null) { + this.Z0 = DummySurface.c(this.P0, uVar.f); + } + this.Y0 = this.Z0; + } else { + throw new IllegalStateException(); + } + } + return new t.a(uVar, mediaFormat, j1Var, this.Y0, mediaCrypto, 0, false); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + @TargetApi(29) + public void Z(DecoderInputBuffer decoderInputBuffer) throws ExoPlaybackException { + if (this.X0) { + ByteBuffer byteBuffer = decoderInputBuffer.n; + Objects.requireNonNull(byteBuffer); + if (byteBuffer.remaining() >= 7) { + byte b2 = byteBuffer.get(); + short s2 = byteBuffer.getShort(); + short s3 = byteBuffer.getShort(); + byte b3 = byteBuffer.get(); + byte b4 = byteBuffer.get(); + byteBuffer.position(0); + if (b2 == -75 && s2 == 60 && s3 == 1 && b3 == 4 && b4 == 0) { + byte[] bArr = new byte[byteBuffer.remaining()]; + byteBuffer.get(bArr); + byteBuffer.position(0); + t tVar = this.R; + Bundle bundle = new Bundle(); + bundle.putByteArray("hdr10-plus-info", bArr); + tVar.setParameters(bundle); + } + } + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.f2 + public boolean d() { + DummySurface dummySurface; + if (super.d() && (this.c1 || (((dummySurface = this.Z0) != null && this.Y0 == dummySurface) || this.R == null || this.u1))) { + this.g1 = -9223372036854775807L; + return true; + } else if (this.g1 == -9223372036854775807L) { + return false; + } else { + if (SystemClock.elapsedRealtime() < this.g1) { + return true; + } + this.g1 = -9223372036854775807L; + return false; + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public void d0(Exception exc) { + q.b("MediaCodecVideoRenderer", "Video codec error", exc); + x.a aVar = this.R0; + Handler handler = aVar.a; + if (handler != null) { + handler.post(new e(aVar, exc)); + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public void e0(String str, long j, long j2) { + x.a aVar = this.R0; + Handler handler = aVar.a; + if (handler != null) { + handler.post(new i(aVar, str, j, j2)); + } + this.W0 = D0(str); + u uVar = this.Y; + Objects.requireNonNull(uVar); + boolean z2 = false; + if (e0.a >= 29 && "video/x-vnd.on2.vp9".equals(uVar.b)) { + MediaCodecInfo.CodecProfileLevel[] d = uVar.d(); + int length = d.length; + int i = 0; + while (true) { + if (i >= length) { + break; + } else if (d[i].profile == 16384) { + z2 = true; + break; + } else { + i++; + } + } + } + this.X0 = z2; + if (e0.a >= 23 && this.u1) { + t tVar = this.R; + Objects.requireNonNull(tVar); + this.w1 = new b(tVar); + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public void f0(String str) { + x.a aVar = this.R0; + Handler handler = aVar.a; + if (handler != null) { + handler.post(new d(aVar, str)); + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + @Nullable + public c.i.a.c.v2.g g0(k1 k1Var) throws ExoPlaybackException { + c.i.a.c.v2.g g02 = super.g0(k1Var); + x.a aVar = this.R0; + j1 j1Var = k1Var.b; + Handler handler = aVar.a; + if (handler != null) { + handler.post(new k(aVar, j1Var, g02)); + } + return g02; + } + + @Override // c.i.a.c.f2, c.i.a.c.g2 + public String getName() { + return "MediaCodecVideoRenderer"; + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public void h0(j1 j1Var, @Nullable MediaFormat mediaFormat) { + t tVar = this.R; + if (tVar != null) { + tVar.g(this.b1); + } + if (this.u1) { + this.p1 = j1Var.A; + this.q1 = j1Var.B; + } else { + Objects.requireNonNull(mediaFormat); + boolean z2 = mediaFormat.containsKey("crop-right") && mediaFormat.containsKey("crop-left") && mediaFormat.containsKey("crop-bottom") && mediaFormat.containsKey("crop-top"); + this.p1 = z2 ? (mediaFormat.getInteger("crop-right") - mediaFormat.getInteger("crop-left")) + 1 : mediaFormat.getInteger("width"); + this.q1 = z2 ? (mediaFormat.getInteger("crop-bottom") - mediaFormat.getInteger("crop-top")) + 1 : mediaFormat.getInteger("height"); + } + float f = j1Var.E; + this.s1 = f; + if (e0.a >= 21) { + int i = j1Var.D; + if (i == 90 || i == 270) { + int i2 = this.p1; + this.p1 = this.q1; + this.q1 = i2; + this.s1 = 1.0f / f; + } + } else { + this.r1 = j1Var.D; + } + v vVar = this.Q0; + vVar.f = j1Var.C; + p pVar = vVar.a; + pVar.a.c(); + pVar.b.c(); + pVar.f795c = false; + pVar.d = -9223372036854775807L; + pVar.e = 0; + vVar.c(); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + @CallSuper + public void i0(long j) { + super.i0(j); + if (!this.u1) { + this.k1--; + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public void j0() { + C0(); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + @CallSuper + public void k0(DecoderInputBuffer decoderInputBuffer) throws ExoPlaybackException { + boolean z2 = this.u1; + if (!z2) { + this.k1++; + } + if (e0.a < 23 && z2) { + N0(decoderInputBuffer.m); + } + } + + /* JADX WARNING: Code restructure failed: missing block: B:19:0x0075, code lost: + if ((r11 == 0 ? false : r13.g[(int) ((r11 - 1) % 15)]) != false) goto L_0x0077; + */ + /* JADX WARNING: Code restructure failed: missing block: B:72:0x012f, code lost: + if ((I0(r5) && r22 > 100000) != false) goto L_0x0131; + */ + /* JADX WARNING: Removed duplicated region for block: B:77:0x0138 */ + /* JADX WARNING: Removed duplicated region for block: B:83:0x0157 */ + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public boolean m0(long j, long j2, @Nullable t tVar, @Nullable ByteBuffer byteBuffer, int i, int i2, int i3, long j3, boolean z2, boolean z3, j1 j1Var) throws ExoPlaybackException { + boolean z4; + long j4; + boolean z5; + boolean z6; + long j5; + long j6; + Objects.requireNonNull(tVar); + if (this.f1 == -9223372036854775807L) { + this.f1 = j; + } + if (j3 != this.l1) { + v vVar = this.Q0; + long j7 = vVar.n; + if (j7 != -1) { + vVar.p = j7; + vVar.q = vVar.o; + } + vVar.m++; + p pVar = vVar.a; + long j8 = j3 * 1000; + pVar.a.b(j8); + if (pVar.a.a()) { + pVar.f795c = false; + } else if (pVar.d != -9223372036854775807L) { + if (pVar.f795c) { + p.a aVar = pVar.b; + long j9 = aVar.d; + } + pVar.b.c(); + pVar.b.b(pVar.d); + pVar.f795c = true; + pVar.b.b(j8); + } + if (pVar.f795c && pVar.b.a()) { + p.a aVar2 = pVar.a; + pVar.a = pVar.b; + pVar.b = aVar2; + pVar.f795c = false; + } + pVar.d = j8; + pVar.e = pVar.a.a() ? 0 : pVar.e + 1; + vVar.c(); + this.l1 = j3; + } + long j10 = this.K0; + long j11 = j3 - j10; + if (!z2 || z3) { + double d = (double) this.P; + boolean z7 = this.m == 2; + long elapsedRealtime = SystemClock.elapsedRealtime() * 1000; + long j12 = (long) (((double) (j3 - j)) / d); + if (z7) { + j12 -= elapsedRealtime - j2; + } + if (this.Y0 != this.Z0) { + long j13 = elapsedRealtime - this.m1; + boolean z8 = this.e1 ? !this.c1 : !(!z7 && !this.d1); + if (this.g1 == -9223372036854775807L && j >= j10) { + if (!z8) { + if (z7) { + } + } + z4 = true; + if (!z4) { + long nanoTime = System.nanoTime(); + M0(j11, nanoTime, j1Var); + if (e0.a >= 21) { + Q0(tVar, i, nanoTime); + } else { + P0(tVar, i); + } + V0(j12); + return true; + } else if (!z7 || j == this.f1) { + return false; + } else { + long nanoTime2 = System.nanoTime(); + long j14 = (j12 * 1000) + nanoTime2; + v vVar2 = this.Q0; + if (vVar2.p == -1 || !vVar2.a.a()) { + j4 = j11; + } else { + p pVar2 = vVar2.a; + if (pVar2.a()) { + p.a aVar3 = pVar2.a; + long j15 = aVar3.e; + if (j15 == 0) { + j6 = 0; + j4 = j11; + } else { + j4 = j11; + j6 = aVar3.f / j15; + } + } else { + j4 = j11; + j6 = -9223372036854775807L; + } + long j16 = vVar2.q + ((long) (((float) ((vVar2.m - vVar2.p) * j6)) / vVar2.i)); + if (Math.abs(j14 - j16) <= 20000000) { + j14 = j16; + } else { + vVar2.b(); + } + } + vVar2.n = vVar2.m; + vVar2.o = j14; + v.e eVar = vVar2.f800c; + if (!(eVar == null || vVar2.k == -9223372036854775807L)) { + long j17 = eVar.j; + if (j17 != -9223372036854775807L) { + long j18 = vVar2.k; + long j19 = (((j14 - j17) / j18) * j18) + j17; + if (j14 <= j19) { + j5 = j19 - j18; + } else { + j5 = j19; + j19 = j18 + j19; + } + if (j19 - j14 >= j14 - j5) { + j19 = j5; + } + j14 = j19 - vVar2.l; + } + } + long j20 = (j14 - nanoTime2) / 1000; + boolean z9 = this.g1 != -9223372036854775807L; + if (((j20 > -500000 ? 1 : (j20 == -500000 ? 0 : -1)) < 0) && !z3) { + i0 i0Var = this.n; + Objects.requireNonNull(i0Var); + int c2 = i0Var.c(j - this.p); + if (c2 == 0) { + z6 = false; + } else { + e eVar2 = this.I0; + eVar2.i++; + int i4 = this.k1 + c2; + if (z9) { + eVar2.f += i4; + } else { + U0(i4); + } + if (S()) { + b0(); + } + z6 = true; + } + if (z6) { + return false; + } + } + if (I0(j20) && !z3) { + if (z9) { + T0(tVar, i); + z5 = true; + } else { + d.f("dropVideoBuffer"); + tVar.releaseOutputBuffer(i, false); + d.c0(); + z5 = true; + U0(1); + } + V0(j20); + return z5; + } else if (e0.a >= 21) { + if (j20 >= 50000) { + return false; + } + M0(j4, j14, j1Var); + Q0(tVar, i, j14); + V0(j20); + return true; + } else if (j20 >= 30000) { + return false; + } else { + if (j20 > 11000) { + try { + Thread.sleep((j20 - 10000) / 1000); + } catch (InterruptedException unused) { + Thread.currentThread().interrupt(); + return false; + } + } + M0(j4, j14, j1Var); + P0(tVar, i); + V0(j20); + return true; + } + } + } + z4 = false; + if (!z4) { + } + } else if (!I0(j12)) { + return false; + } else { + T0(tVar, i); + V0(j12); + return true; + } + } else { + T0(tVar, i); + return true; + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.v0, c.i.a.c.f2 + public void n(float f, float f2) throws ExoPlaybackException { + this.P = f; + this.Q = f2; + z0(this.S); + v vVar = this.Q0; + vVar.i = f; + vVar.b(); + vVar.d(false); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + @CallSuper + public void q0() { + super.q0(); + this.k1 = 0; + } + + /* JADX DEBUG: Failed to insert an additional move for type inference into block B:26:0x005c */ + /* JADX WARN: Multi-variable type inference failed */ + /* JADX WARNING: Unknown variable types count: 1 */ + @Override // c.i.a.c.v0, c.i.a.c.b2.b + public void r(int i, @Nullable Object obj) throws ExoPlaybackException { + x.a aVar; + Handler handler; + x.a aVar2; + Handler handler2; + if (i == 1) { + DummySurface dummySurface = obj instanceof Surface ? (Surface) obj : null; + if (dummySurface == null) { + DummySurface dummySurface2 = this.Z0; + if (dummySurface2 != null) { + dummySurface = dummySurface2; + } else { + u uVar = this.Y; + if (uVar != null && S0(uVar)) { + dummySurface = DummySurface.c(this.P0, uVar.f); + this.Z0 = dummySurface; + } + } + } + if (this.Y0 != dummySurface) { + this.Y0 = dummySurface; + v vVar = this.Q0; + Objects.requireNonNull(vVar); + DummySurface dummySurface3 = dummySurface instanceof DummySurface ? null : dummySurface; + if (vVar.e != dummySurface3) { + vVar.a(); + vVar.e = dummySurface3; + vVar.d(true); + } + this.a1 = false; + int i2 = this.m; + t tVar = this.R; + if (tVar != null) { + if (e0.a < 23 || dummySurface == null || this.W0) { + o0(); + b0(); + } else { + tVar.i(dummySurface); + } + } + if (dummySurface == null || dummySurface == this.Z0) { + this.t1 = null; + C0(); + return; + } + y yVar = this.t1; + if (!(yVar == null || (handler2 = (aVar2 = this.R0).a) == null)) { + handler2.post(new j(aVar2, yVar)); + } + C0(); + if (i2 == 2) { + R0(); + } + } else if (dummySurface != null && dummySurface != this.Z0) { + y yVar2 = this.t1; + if (!(yVar2 == null || (handler = (aVar = this.R0).a) == null)) { + handler.post(new j(aVar, yVar2)); + } + if (this.a1) { + x.a aVar3 = this.R0; + Surface surface = this.Y0; + if (aVar3.a != null) { + aVar3.a.post(new g(aVar3, surface, SystemClock.elapsedRealtime())); + } + } + } + } else if (i == 7) { + this.x1 = (u) obj; + } else if (i == 10) { + int intValue = ((Integer) obj).intValue(); + if (this.v1 != intValue) { + this.v1 = intValue; + if (this.u1) { + o0(); + } + } + } else if (i == 4) { + int intValue2 = ((Integer) obj).intValue(); + this.b1 = intValue2; + t tVar2 = this.R; + if (tVar2 != null) { + tVar2.g(intValue2); + } + } else if (i == 5) { + v vVar2 = this.Q0; + int intValue3 = ((Integer) obj).intValue(); + if (vVar2.j != intValue3) { + vVar2.j = intValue3; + vVar2.d(true); + } + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public boolean w0(u uVar) { + return this.Y0 != null || S0(uVar); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public int y0(c.i.a.c.y2.v vVar, j1 j1Var) throws MediaCodecUtil.DecoderQueryException { + int i = 0; + if (!c.i.a.c.f3.t.j(j1Var.v)) { + return 0; + } + boolean z2 = j1Var.f821y != null; + List G0 = G0(vVar, j1Var, z2, false); + if (z2 && G0.isEmpty()) { + G0 = G0(vVar, j1Var, false, false); + } + if (G0.isEmpty()) { + return 1; + } + int i2 = j1Var.O; + if (!(i2 == 0 || i2 == 2)) { + return 2; + } + u uVar = G0.get(0); + boolean e = uVar.e(j1Var); + int i3 = uVar.f(j1Var) ? 16 : 8; + if (e) { + List G02 = G0(vVar, j1Var, z2, true); + if (!G02.isEmpty()) { + u uVar2 = G02.get(0); + if (uVar2.e(j1Var) && uVar2.f(j1Var)) { + i = 32; + } + } + } + return (e ? 4 : 3) | i3 | i; + } +} diff --git a/app/src/main/java/c/i/a/c/g3/s.java b/app/src/main/java/c/i/a/c/g3/s.java new file mode 100644 index 0000000000..09a7e6d1ff --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/s.java @@ -0,0 +1,127 @@ +package c.i.a.c.g3; + +import android.content.Context; +import android.opengl.GLES20; +import android.opengl.GLSurfaceView; +import androidx.work.Data; +import c.i.a.c.v2.i; +import com.google.android.exoplayer2.util.GlUtil; +import java.nio.Buffer; +import java.nio.FloatBuffer; +import java.util.Objects; +import java.util.concurrent.atomic.AtomicReference; +import javax.microedition.khronos.egl.EGLConfig; +import javax.microedition.khronos.opengles.GL10; +/* compiled from: VideoDecoderGLSurfaceView */ +public final class s extends GLSurfaceView implements t { + public final a i; + + /* compiled from: VideoDecoderGLSurfaceView */ + public static final class a implements GLSurfaceView.Renderer { + public static final float[] i = {1.164f, 1.164f, 1.164f, 0.0f, -0.392f, 2.017f, 1.596f, -0.813f, 0.0f}; + public static final float[] j = {1.164f, 1.164f, 1.164f, 0.0f, -0.213f, 2.112f, 1.793f, -0.533f, 0.0f}; + public static final float[] k = {1.168f, 1.168f, 1.168f, 0.0f, -0.188f, 2.148f, 1.683f, -0.652f, 0.0f}; + public static final String[] l = {"y_tex", "u_tex", "v_tex"}; + public static final FloatBuffer m = GlUtil.b(new float[]{-1.0f, 1.0f, -1.0f, -1.0f, 1.0f, 1.0f, 1.0f, -1.0f}); + public final GLSurfaceView n; + public final int[] o = new int[3]; + public final int[] p = new int[3]; + public final int[] q = new int[3]; + public final int[] r = new int[3]; + + /* renamed from: s reason: collision with root package name */ + public final AtomicReference f799s = new AtomicReference<>(); + public final FloatBuffer[] t = new FloatBuffer[3]; + public GlUtil.a u; + public int v; + public i w; + + public a(GLSurfaceView gLSurfaceView) { + this.n = gLSurfaceView; + for (int i2 = 0; i2 < 3; i2++) { + int[] iArr = this.q; + this.r[i2] = -1; + iArr[i2] = -1; + } + } + + @Override // android.opengl.GLSurfaceView.Renderer + public void onDrawFrame(GL10 gl10) { + i andSet = this.f799s.getAndSet(null); + if (andSet != null || this.w != null) { + if (andSet != null) { + i iVar = this.w; + if (iVar != null) { + Objects.requireNonNull(iVar); + throw null; + } + this.w = andSet; + } + Objects.requireNonNull(this.w); + GLES20.glUniformMatrix3fv(this.v, 1, false, j, 0); + Objects.requireNonNull(null); + throw null; + } + } + + @Override // android.opengl.GLSurfaceView.Renderer + public void onSurfaceChanged(GL10 gl10, int i2, int i3) { + GLES20.glViewport(0, 0, i2, i3); + } + + @Override // android.opengl.GLSurfaceView.Renderer + public void onSurfaceCreated(GL10 gl10, EGLConfig eGLConfig) { + GlUtil.a aVar = new GlUtil.a("varying vec2 interp_tc_y;\nvarying vec2 interp_tc_u;\nvarying vec2 interp_tc_v;\nattribute vec4 in_pos;\nattribute vec2 in_tc_y;\nattribute vec2 in_tc_u;\nattribute vec2 in_tc_v;\nvoid main() {\n gl_Position = in_pos;\n interp_tc_y = in_tc_y;\n interp_tc_u = in_tc_u;\n interp_tc_v = in_tc_v;\n}\n", "precision mediump float;\nvarying vec2 interp_tc_y;\nvarying vec2 interp_tc_u;\nvarying vec2 interp_tc_v;\nuniform sampler2D y_tex;\nuniform sampler2D u_tex;\nuniform sampler2D v_tex;\nuniform mat3 mColorConversion;\nvoid main() {\n vec3 yuv;\n yuv.x = texture2D(y_tex, interp_tc_y).r - 0.0625;\n yuv.y = texture2D(u_tex, interp_tc_u).r - 0.5;\n yuv.z = texture2D(v_tex, interp_tc_v).r - 0.5;\n gl_FragColor = vec4(mColorConversion * yuv, 1.0);\n}\n"); + this.u = aVar; + aVar.c(); + int glGetAttribLocation = GLES20.glGetAttribLocation(this.u.a, "in_pos"); + GLES20.glEnableVertexAttribArray(glGetAttribLocation); + GLES20.glVertexAttribPointer(glGetAttribLocation, 2, 5126, false, 0, (Buffer) m); + this.p[0] = GLES20.glGetAttribLocation(this.u.a, "in_tc_y"); + GLES20.glEnableVertexAttribArray(this.p[0]); + this.p[1] = GLES20.glGetAttribLocation(this.u.a, "in_tc_u"); + GLES20.glEnableVertexAttribArray(this.p[1]); + this.p[2] = GLES20.glGetAttribLocation(this.u.a, "in_tc_v"); + GLES20.glEnableVertexAttribArray(this.p[2]); + GlUtil.a(); + this.v = GLES20.glGetUniformLocation(this.u.a, "mColorConversion"); + GlUtil.a(); + GLES20.glGenTextures(3, this.o, 0); + for (int i2 = 0; i2 < 3; i2++) { + GLES20.glUniform1i(this.u.b(l[i2]), i2); + GLES20.glActiveTexture(33984 + i2); + GLES20.glBindTexture(3553, this.o[i2]); + GLES20.glTexParameterf(3553, 10241, 9729.0f); + GLES20.glTexParameterf(3553, Data.MAX_DATA_BYTES, 9729.0f); + GLES20.glTexParameterf(3553, 10242, 33071.0f); + GLES20.glTexParameterf(3553, 10243, 33071.0f); + } + GlUtil.a(); + GlUtil.a(); + } + } + + public s(Context context) { + super(context, null); + a aVar = new a(this); + this.i = aVar; + setPreserveEGLContextOnPause(true); + setEGLContextClientVersion(2); + setRenderer(aVar); + setRenderMode(0); + } + + @Deprecated + public t getVideoDecoderOutputBufferRenderer() { + return this; + } + + public void setOutputBuffer(i iVar) { + a aVar = this.i; + if (aVar.f799s.getAndSet(iVar) == null) { + aVar.n.requestRender(); + return; + } + throw null; + } +} diff --git a/app/src/main/java/c/i/a/c/g3/t.java b/app/src/main/java/c/i/a/c/g3/t.java new file mode 100644 index 0000000000..980f3dbb34 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/t.java @@ -0,0 +1,4 @@ +package c.i.a.c.g3; +/* compiled from: VideoDecoderOutputBufferRenderer */ +public interface t { +} diff --git a/app/src/main/java/c/i/a/c/g3/u.java b/app/src/main/java/c/i/a/c/g3/u.java new file mode 100644 index 0000000000..c04b2c179c --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/u.java @@ -0,0 +1,9 @@ +package c.i.a.c.g3; + +import android.media.MediaFormat; +import androidx.annotation.Nullable; +import c.i.a.c.j1; +/* compiled from: VideoFrameMetadataListener */ +public interface u { + void e(long j, long j2, j1 j1Var, @Nullable MediaFormat mediaFormat); +} diff --git a/app/src/main/java/c/i/a/c/g3/v.java b/app/src/main/java/c/i/a/c/g3/v.java new file mode 100644 index 0000000000..4e61b8cc94 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/v.java @@ -0,0 +1,307 @@ +package c.i.a.c.g3; + +import android.content.Context; +import android.hardware.display.DisplayManager; +import android.os.Handler; +import android.os.HandlerThread; +import android.os.Looper; +import android.os.Message; +import android.view.Choreographer; +import android.view.Surface; +import android.view.WindowManager; +import androidx.annotation.DoNotInline; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.q; +import c.i.a.c.g3.p; +import java.util.Objects; +/* compiled from: VideoFrameReleaseHelper */ +public final class v { + public final p a = new p(); + @Nullable + public final b b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public final e f800c; + public boolean d; + @Nullable + public Surface e; + public float f; + public float g; + public float h; + public float i; + public int j; + public long k; + public long l; + public long m; + public long n; + public long o; + public long p; + public long q; + + /* compiled from: VideoFrameReleaseHelper */ + @RequiresApi(30) + public static final class a { + @DoNotInline + public static void a(Surface surface, float f) { + try { + surface.setFrameRate(f, f == 0.0f ? 0 : 1); + } catch (IllegalStateException e) { + q.b("VideoFrameReleaseHelper", "Failed to call Surface.setFrameRate", e); + } + } + } + + /* compiled from: VideoFrameReleaseHelper */ + public interface b { + + /* compiled from: VideoFrameReleaseHelper */ + public interface a { + } + + void a(a aVar); + + void unregister(); + } + + /* compiled from: VideoFrameReleaseHelper */ + public static final class c implements b { + public final WindowManager a; + + public c(WindowManager windowManager) { + this.a = windowManager; + } + + @Override // c.i.a.c.g3.v.b + public void a(b.a aVar) { + ((b) aVar).a(this.a.getDefaultDisplay()); + } + + @Override // c.i.a.c.g3.v.b + public void unregister() { + } + } + + /* compiled from: VideoFrameReleaseHelper */ + @RequiresApi(17) + public static final class d implements b, DisplayManager.DisplayListener { + public final DisplayManager a; + @Nullable + public b.a b; + + public d(DisplayManager displayManager) { + this.a = displayManager; + } + + @Override // c.i.a.c.g3.v.b + public void a(b.a aVar) { + this.b = aVar; + this.a.registerDisplayListener(this, e0.j()); + ((b) aVar).a(this.a.getDisplay(0)); + } + + @Override // android.hardware.display.DisplayManager.DisplayListener + public void onDisplayAdded(int i) { + } + + @Override // android.hardware.display.DisplayManager.DisplayListener + public void onDisplayChanged(int i) { + b.a aVar = this.b; + if (aVar != null && i == 0) { + ((b) aVar).a(this.a.getDisplay(0)); + } + } + + @Override // android.hardware.display.DisplayManager.DisplayListener + public void onDisplayRemoved(int i) { + } + + @Override // c.i.a.c.g3.v.b + public void unregister() { + this.a.unregisterDisplayListener(this); + this.b = null; + } + } + + /* compiled from: VideoFrameReleaseHelper */ + public static final class e implements Choreographer.FrameCallback, Handler.Callback { + public static final e i = new e(); + public volatile long j = -9223372036854775807L; + public final Handler k; + public final HandlerThread l; + public Choreographer m; + public int n; + + public e() { + HandlerThread handlerThread = new HandlerThread("ExoPlayer:FrameReleaseChoreographer"); + this.l = handlerThread; + handlerThread.start(); + Looper looper = handlerThread.getLooper(); + int i2 = e0.a; + Handler handler = new Handler(looper, this); + this.k = handler; + handler.sendEmptyMessage(0); + } + + @Override // android.view.Choreographer.FrameCallback + public void doFrame(long j) { + this.j = j; + Choreographer choreographer = this.m; + Objects.requireNonNull(choreographer); + choreographer.postFrameCallbackDelayed(this, 500); + } + + @Override // android.os.Handler.Callback + public boolean handleMessage(Message message) { + int i2 = message.what; + if (i2 == 0) { + this.m = Choreographer.getInstance(); + return true; + } else if (i2 == 1) { + int i3 = this.n + 1; + this.n = i3; + if (i3 == 1) { + Choreographer choreographer = this.m; + Objects.requireNonNull(choreographer); + choreographer.postFrameCallback(this); + } + return true; + } else if (i2 != 2) { + return false; + } else { + int i4 = this.n - 1; + this.n = i4; + if (i4 == 0) { + Choreographer choreographer2 = this.m; + Objects.requireNonNull(choreographer2); + choreographer2.removeFrameCallback(this); + this.j = -9223372036854775807L; + } + return true; + } + } + } + + /* JADX WARNING: Removed duplicated region for block: B:15:0x003f */ + public v(@Nullable Context context) { + b bVar; + DisplayManager displayManager; + e eVar = null; + if (context != null) { + Context applicationContext = context.getApplicationContext(); + bVar = (e0.a < 17 || (displayManager = (DisplayManager) applicationContext.getSystemService("display")) == null) ? null : new d(displayManager); + if (bVar == null) { + WindowManager windowManager = (WindowManager) applicationContext.getSystemService("window"); + if (windowManager != null) { + bVar = new c(windowManager); + } + } + this.b = bVar; + this.f800c = bVar != null ? e.i : eVar; + this.k = -9223372036854775807L; + this.l = -9223372036854775807L; + this.f = -1.0f; + this.i = 1.0f; + this.j = 0; + } + bVar = null; + this.b = bVar; + this.f800c = bVar != null ? e.i : eVar; + this.k = -9223372036854775807L; + this.l = -9223372036854775807L; + this.f = -1.0f; + this.i = 1.0f; + this.j = 0; + } + + public final void a() { + Surface surface; + if (e0.a >= 30 && (surface = this.e) != null && this.j != Integer.MIN_VALUE && this.h != 0.0f) { + this.h = 0.0f; + a.a(surface, 0.0f); + } + } + + public final void b() { + this.m = 0; + this.p = -1; + this.n = -1; + } + + /* JADX WARNING: Code restructure failed: missing block: B:35:0x0083, code lost: + if (java.lang.Math.abs(r0 - r10.g) < (!r1 ? 0.02f : 1.0f)) goto L_0x0086; + */ + /* JADX WARNING: Code restructure failed: missing block: B:39:0x008f, code lost: + if (r10.a.e >= 30) goto L_0x0091; + */ + /* JADX WARNING: Removed duplicated region for block: B:32:0x0073 */ + /* JADX WARNING: Removed duplicated region for block: B:33:0x0077 */ + /* JADX WARNING: Removed duplicated region for block: B:41:0x0093 */ + /* JADX WARNING: Removed duplicated region for block: B:44:? A[RETURN, SYNTHETIC] */ + public final void c() { + float f; + boolean z2; + if (e0.a >= 30 && this.e != null) { + if (this.a.a()) { + p pVar = this.a; + if (pVar.a()) { + p.a aVar = pVar.a; + long j = aVar.e; + long j2 = 0; + if (j != 0) { + j2 = aVar.f / j; + } + f = (float) (1.0E9d / ((double) j2)); + } else { + f = -1.0f; + } + } else { + f = this.f; + } + float f2 = this.g; + if (f != f2) { + boolean z3 = true; + int i = (f > -1.0f ? 1 : (f == -1.0f ? 0 : -1)); + if (i == 0 || f2 == -1.0f) { + if (i == 0) { + } + if (!z3) { + this.g = f; + d(false); + return; + } + return; + } + if (this.a.a()) { + p pVar2 = this.a; + if ((pVar2.a() ? pVar2.a.f : -9223372036854775807L) >= 5000000000L) { + z2 = true; + } + } + z2 = false; + z3 = false; + if (!z3) { + } + } + } + } + + public final void d(boolean z2) { + Surface surface; + if (e0.a >= 30 && (surface = this.e) != null && this.j != Integer.MIN_VALUE) { + float f = 0.0f; + if (this.d) { + float f2 = this.g; + if (f2 != -1.0f) { + f = this.i * f2; + } + } + if (z2 || this.h != f) { + this.h = f; + a.a(surface, f); + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/g3/w.java b/app/src/main/java/c/i/a/c/g3/w.java new file mode 100644 index 0000000000..6594c8cdf9 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/w.java @@ -0,0 +1,9 @@ +package c.i.a.c.g3; + +import c.i.a.c.j1; +/* compiled from: VideoRendererEventListener */ +public final /* synthetic */ class w { + @Deprecated + public static void a(x xVar, j1 j1Var) { + } +} diff --git a/app/src/main/java/c/i/a/c/g3/x.java b/app/src/main/java/c/i/a/c/g3/x.java new file mode 100644 index 0000000000..60a844fa52 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/x.java @@ -0,0 +1,52 @@ +package c.i.a.c.g3; + +import android.os.Handler; +import androidx.annotation.Nullable; +import c.i.a.c.j1; +import c.i.a.c.v2.e; +import c.i.a.c.v2.g; +import java.util.Objects; +/* compiled from: VideoRendererEventListener */ +public interface x { + + /* compiled from: VideoRendererEventListener */ + public static final class a { + @Nullable + public final Handler a; + @Nullable + public final x b; + + public a(@Nullable Handler handler, @Nullable x xVar) { + if (xVar != null) { + Objects.requireNonNull(handler); + } else { + handler = null; + } + this.a = handler; + this.b = xVar; + } + } + + void F(int i, long j); + + void K(Object obj, long j); + + @Deprecated + void O(j1 j1Var); + + void P(e eVar); + + void Q(j1 j1Var, @Nullable g gVar); + + void V(Exception exc); + + void Z(e eVar); + + void f(y yVar); + + void h0(long j, int i); + + void l(String str); + + void n(String str, long j, long j2); +} diff --git a/app/src/main/java/c/i/a/c/g3/y.java b/app/src/main/java/c/i/a/c/g3/y.java new file mode 100644 index 0000000000..a123b2f451 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/y.java @@ -0,0 +1,48 @@ +package c.i.a.c.g3; + +import androidx.annotation.FloatRange; +import androidx.annotation.IntRange; +import androidx.annotation.Nullable; +import c.i.a.c.w0; +import com.google.android.material.shadow.ShadowDrawableWrapper; +/* compiled from: VideoSize */ +public final class y implements w0 { + public static final y i = new y(0, 0); + @IntRange(from = 0) + public final int j; + @IntRange(from = 0) + public final int k; + @IntRange(from = 0, to = 359) + public final int l; + @FloatRange(from = ShadowDrawableWrapper.COS_45, fromInclusive = false) + public final float m; + + public y(@IntRange(from = 0) int i2, @IntRange(from = 0) int i3) { + this.j = i2; + this.k = i3; + this.l = 0; + this.m = 1.0f; + } + + public y(@IntRange(from = 0) int i2, @IntRange(from = 0) int i3, @IntRange(from = 0, to = 359) int i4, @FloatRange(from = 0.0d, fromInclusive = false) float f) { + this.j = i2; + this.k = i3; + this.l = i4; + this.m = f; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof y)) { + return false; + } + y yVar = (y) obj; + return this.j == yVar.j && this.k == yVar.k && this.l == yVar.l && this.m == yVar.m; + } + + public int hashCode() { + return Float.floatToRawIntBits(this.m) + ((((((217 + this.j) * 31) + this.k) * 31) + this.l) * 31); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/z/a.java b/app/src/main/java/c/i/a/c/g3/z/a.java new file mode 100644 index 0000000000..29c20160f5 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/z/a.java @@ -0,0 +1,16 @@ +package c.i.a.c.g3.z; + +import android.graphics.SurfaceTexture; +/* compiled from: lambda */ +public final /* synthetic */ class a implements SurfaceTexture.OnFrameAvailableListener { + public final /* synthetic */ j i; + + public /* synthetic */ a(j jVar) { + this.i = jVar; + } + + @Override // android.graphics.SurfaceTexture.OnFrameAvailableListener + public final void onFrameAvailable(SurfaceTexture surfaceTexture) { + this.i.i.set(true); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/z/b.java b/app/src/main/java/c/i/a/c/g3/z/b.java new file mode 100644 index 0000000000..91d6b05d35 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/z/b.java @@ -0,0 +1,37 @@ +package c.i.a.c.g3.z; + +import android.graphics.SurfaceTexture; +import android.view.Surface; +import c.i.a.c.g3.z.k; +import java.util.Iterator; +/* compiled from: lambda */ +public final /* synthetic */ class b implements Runnable { + public final /* synthetic */ k i; + public final /* synthetic */ SurfaceTexture j; + + public /* synthetic */ b(k kVar, SurfaceTexture surfaceTexture) { + this.i = kVar; + this.j = surfaceTexture; + } + + @Override // java.lang.Runnable + public final void run() { + k kVar = this.i; + SurfaceTexture surfaceTexture = this.j; + SurfaceTexture surfaceTexture2 = kVar.p; + Surface surface = kVar.q; + Surface surface2 = new Surface(surfaceTexture); + kVar.p = surfaceTexture; + kVar.q = surface2; + Iterator it = kVar.i.iterator(); + while (it.hasNext()) { + it.next().u(surface2); + } + if (surfaceTexture2 != null) { + surfaceTexture2.release(); + } + if (surface != null) { + surface.release(); + } + } +} diff --git a/app/src/main/java/c/i/a/c/g3/z/c.java b/app/src/main/java/c/i/a/c/g3/z/c.java new file mode 100644 index 0000000000..d65596b054 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/z/c.java @@ -0,0 +1,35 @@ +package c.i.a.c.g3.z; + +import android.graphics.SurfaceTexture; +import android.view.Surface; +import c.i.a.c.g3.z.k; +import java.util.Iterator; +/* compiled from: lambda */ +public final /* synthetic */ class c implements Runnable { + public final /* synthetic */ k i; + + public /* synthetic */ c(k kVar) { + this.i = kVar; + } + + @Override // java.lang.Runnable + public final void run() { + k kVar = this.i; + Surface surface = kVar.q; + if (surface != null) { + Iterator it = kVar.i.iterator(); + while (it.hasNext()) { + it.next().q(surface); + } + } + SurfaceTexture surfaceTexture = kVar.p; + if (surfaceTexture != null) { + surfaceTexture.release(); + } + if (surface != null) { + surface.release(); + } + kVar.p = null; + kVar.q = null; + } +} diff --git a/app/src/main/java/c/i/a/c/g3/z/d.java b/app/src/main/java/c/i/a/c/g3/z/d.java new file mode 100644 index 0000000000..f8be697e60 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/z/d.java @@ -0,0 +1,7 @@ +package c.i.a.c.g3.z; +/* compiled from: CameraMotionListener */ +public interface d { + void a(long j, float[] fArr); + + void c(); +} diff --git a/app/src/main/java/c/i/a/c/g3/z/e.java b/app/src/main/java/c/i/a/c/g3/z/e.java new file mode 100644 index 0000000000..dc6a87d0d0 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/z/e.java @@ -0,0 +1,107 @@ +package c.i.a.c.g3.z; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.v0; +import com.google.android.exoplayer2.ExoPlaybackException; +import com.google.android.exoplayer2.decoder.DecoderInputBuffer; +import java.nio.ByteBuffer; +/* compiled from: CameraMotionRenderer */ +public final class e extends v0 { + public final DecoderInputBuffer t = new DecoderInputBuffer(1); + public final x u = new x(); + public long v; + @Nullable + public d w; + + /* renamed from: x reason: collision with root package name */ + public long f801x; + + public e() { + super(6); + } + + @Override // c.i.a.c.v0 + public void B() { + d dVar = this.w; + if (dVar != null) { + dVar.c(); + } + } + + @Override // c.i.a.c.v0 + public void D(long j, boolean z2) { + this.f801x = Long.MIN_VALUE; + d dVar = this.w; + if (dVar != null) { + dVar.c(); + } + } + + @Override // c.i.a.c.v0 + public void H(j1[] j1VarArr, long j, long j2) { + this.v = j2; + } + + @Override // c.i.a.c.g2 + public int a(j1 j1Var) { + return "application/x-camera-motion".equals(j1Var.v) ? 4 : 0; + } + + @Override // c.i.a.c.f2 + public boolean b() { + return j(); + } + + @Override // c.i.a.c.f2 + public boolean d() { + return true; + } + + @Override // c.i.a.c.f2, c.i.a.c.g2 + public String getName() { + return "CameraMotionRenderer"; + } + + @Override // c.i.a.c.f2 + public void q(long j, long j2) { + float[] fArr; + while (!j() && this.f801x < 100000 + j) { + this.t.p(); + if (I(A(), this.t, 0) == -4 && !this.t.n()) { + DecoderInputBuffer decoderInputBuffer = this.t; + this.f801x = decoderInputBuffer.m; + if (this.w != null && !decoderInputBuffer.m()) { + this.t.s(); + ByteBuffer byteBuffer = this.t.k; + int i = e0.a; + if (byteBuffer.remaining() != 16) { + fArr = null; + } else { + this.u.C(byteBuffer.array(), byteBuffer.limit()); + this.u.E(byteBuffer.arrayOffset() + 4); + float[] fArr2 = new float[3]; + for (int i2 = 0; i2 < 3; i2++) { + fArr2[i2] = Float.intBitsToFloat(this.u.h()); + } + fArr = fArr2; + } + if (fArr != null) { + this.w.a(this.f801x - this.v, fArr); + } + } + } else { + return; + } + } + } + + @Override // c.i.a.c.v0, c.i.a.c.b2.b + public void r(int i, @Nullable Object obj) throws ExoPlaybackException { + if (i == 8) { + this.w = (d) obj; + } + } +} diff --git a/app/src/main/java/c/i/a/c/g3/z/f.java b/app/src/main/java/c/i/a/c/g3/z/f.java new file mode 100644 index 0000000000..bf5e7ccc2d --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/z/f.java @@ -0,0 +1,22 @@ +package c.i.a.c.g3.z; + +import android.opengl.Matrix; +import c.i.a.c.f3.c0; +/* compiled from: FrameRotationQueue */ +public final class f { + public final float[] a = new float[16]; + public final float[] b = new float[16]; + + /* renamed from: c reason: collision with root package name */ + public final c0 f802c = new c0<>(); + public boolean d; + + public static void a(float[] fArr, float[] fArr2) { + Matrix.setIdentityM(fArr, 0); + float sqrt = (float) Math.sqrt((double) ((fArr2[8] * fArr2[8]) + (fArr2[10] * fArr2[10]))); + fArr[0] = fArr2[10] / sqrt; + fArr[2] = fArr2[8] / sqrt; + fArr[8] = (-fArr2[8]) / sqrt; + fArr[10] = fArr2[10] / sqrt; + } +} diff --git a/app/src/main/java/c/i/a/c/g3/z/g.java b/app/src/main/java/c/i/a/c/g3/z/g.java new file mode 100644 index 0000000000..7508507d1b --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/z/g.java @@ -0,0 +1,77 @@ +package c.i.a.c.g3.z; + +import android.hardware.Sensor; +import android.hardware.SensorEvent; +import android.hardware.SensorEventListener; +import android.hardware.SensorManager; +import android.opengl.Matrix; +import android.view.Display; +import androidx.annotation.BinderThread; +/* compiled from: OrientationListener */ +public final class g implements SensorEventListener { + public final float[] a = new float[16]; + public final float[] b = new float[16]; + + /* renamed from: c reason: collision with root package name */ + public final float[] f803c = new float[16]; + public final float[] d = new float[3]; + public final Display e; + public final a[] f; + public boolean g; + + /* compiled from: OrientationListener */ + public interface a { + void a(float[] fArr, float f); + } + + public g(Display display, a... aVarArr) { + this.e = display; + this.f = aVarArr; + } + + @Override // android.hardware.SensorEventListener + public void onAccuracyChanged(Sensor sensor, int i) { + } + + @Override // android.hardware.SensorEventListener + @BinderThread + public void onSensorChanged(SensorEvent sensorEvent) { + SensorManager.getRotationMatrixFromVector(this.a, sensorEvent.values); + float[] fArr = this.a; + int rotation = this.e.getRotation(); + if (rotation != 0) { + int i = 129; + int i2 = 130; + if (rotation == 1) { + i = 2; + i2 = 129; + } else if (rotation != 2) { + if (rotation == 3) { + i = 130; + i2 = 1; + } else { + throw new IllegalStateException(); + } + } + float[] fArr2 = this.b; + System.arraycopy(fArr, 0, fArr2, 0, fArr2.length); + SensorManager.remapCoordinateSystem(this.b, i, i2, fArr); + } + SensorManager.remapCoordinateSystem(this.a, 1, 131, this.b); + SensorManager.getOrientation(this.b, this.d); + float f = this.d[2]; + Matrix.rotateM(this.a, 0, 90.0f, 1.0f, 0.0f, 0.0f); + float[] fArr3 = this.a; + if (!this.g) { + f.a(this.f803c, fArr3); + this.g = true; + } + float[] fArr4 = this.b; + System.arraycopy(fArr3, 0, fArr4, 0, fArr4.length); + Matrix.multiplyMM(fArr3, 0, this.b, 0, this.f803c, 0); + float[] fArr5 = this.a; + for (a aVar : this.f) { + aVar.a(fArr5, f); + } + } +} diff --git a/app/src/main/java/c/i/a/c/g3/z/h.java b/app/src/main/java/c/i/a/c/g3/z/h.java new file mode 100644 index 0000000000..eb0432a7e1 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/z/h.java @@ -0,0 +1,53 @@ +package c.i.a.c.g3.z; + +import c.c.a.a0.d; +/* compiled from: Projection */ +public final class h { + public final a a; + public final a b; + + /* renamed from: c reason: collision with root package name */ + public final int f804c; + public final boolean d; + + /* compiled from: Projection */ + public static final class a { + public final b[] a; + + public a(b... bVarArr) { + this.a = bVarArr; + } + } + + /* compiled from: Projection */ + public static final class b { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final float[] f805c; + public final float[] d; + + public b(int i, float[] fArr, float[] fArr2, int i2) { + this.a = i; + d.j(((long) fArr.length) * 2 == ((long) fArr2.length) * 3); + this.f805c = fArr; + this.d = fArr2; + this.b = i2; + } + } + + public h(a aVar, int i) { + this.a = aVar; + this.b = aVar; + this.f804c = i; + this.d = aVar == aVar; + } + + public h(a aVar, a aVar2, int i) { + this.a = aVar; + this.b = aVar2; + this.f804c = i; + this.d = aVar == aVar2; + } +} diff --git a/app/src/main/java/c/i/a/c/g3/z/i.java b/app/src/main/java/c/i/a/c/g3/z/i.java new file mode 100644 index 0000000000..022d07ad27 --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/z/i.java @@ -0,0 +1,67 @@ +package c.i.a.c.g3.z; + +import androidx.annotation.Nullable; +import c.i.a.c.g3.z.h; +import com.google.android.exoplayer2.util.GlUtil; +import java.nio.FloatBuffer; +/* compiled from: ProjectionRenderer */ +public final class i { + public static final String[] a = {"uniform mat4 uMvpMatrix;", "uniform mat3 uTexMatrix;", "attribute vec4 aPosition;", "attribute vec2 aTexCoords;", "varying vec2 vTexCoords;", "void main() {", " gl_Position = uMvpMatrix * aPosition;", " vTexCoords = (uTexMatrix * vec3(aTexCoords, 1)).xy;", "}"}; + public static final String[] b = {"#extension GL_OES_EGL_image_external : require", "precision mediump float;", "uniform samplerExternalOES uTexture;", "varying vec2 vTexCoords;", "void main() {", " gl_FragColor = texture2D(uTexture, vTexCoords);", "}"}; + + /* renamed from: c reason: collision with root package name */ + public static final float[] f806c = {1.0f, 0.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, 1.0f, 1.0f}; + public static final float[] d = {1.0f, 0.0f, 0.0f, 0.0f, -0.5f, 0.0f, 0.0f, 0.5f, 1.0f}; + public static final float[] e = {1.0f, 0.0f, 0.0f, 0.0f, -0.5f, 0.0f, 0.0f, 1.0f, 1.0f}; + public static final float[] f = {0.5f, 0.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, 1.0f, 1.0f}; + public static final float[] g = {0.5f, 0.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.5f, 1.0f, 1.0f}; + public int h; + @Nullable + public a i; + @Nullable + public a j; + public GlUtil.a k; + public int l; + public int m; + public int n; + public int o; + public int p; + + /* compiled from: ProjectionRenderer */ + public static class a { + public final int a; + public final FloatBuffer b; + + /* renamed from: c reason: collision with root package name */ + public final FloatBuffer f807c; + public final int d; + + public a(h.b bVar) { + float[] fArr = bVar.f805c; + this.a = fArr.length / 3; + this.b = GlUtil.b(fArr); + this.f807c = GlUtil.b(bVar.d); + int i = bVar.b; + if (i == 1) { + this.d = 5; + } else if (i != 2) { + this.d = 4; + } else { + this.d = 6; + } + } + } + + public static boolean a(h hVar) { + h.a aVar = hVar.a; + h.a aVar2 = hVar.b; + h.b[] bVarArr = aVar.a; + if (bVarArr.length == 1 && bVarArr[0].a == 0) { + h.b[] bVarArr2 = aVar2.a; + if (bVarArr2.length == 1 && bVarArr2[0].a == 0) { + return true; + } + } + return false; + } +} diff --git a/app/src/main/java/c/i/a/c/g3/z/j.java b/app/src/main/java/c/i/a/c/g3/z/j.java new file mode 100644 index 0000000000..101f6785fb --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/z/j.java @@ -0,0 +1,270 @@ +package c.i.a.c.g3.z; + +import android.graphics.SurfaceTexture; +import android.media.MediaFormat; +import android.opengl.GLES20; +import androidx.annotation.Nullable; +import androidx.work.Data; +import c.c.a.a0.d; +import c.i.a.c.f3.c0; +import c.i.a.c.f3.x; +import c.i.a.c.g3.u; +import c.i.a.c.g3.z.h; +import c.i.a.c.j1; +import com.google.android.exoplayer2.util.GlUtil; +import java.nio.IntBuffer; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Objects; +import java.util.concurrent.atomic.AtomicBoolean; +/* compiled from: SceneRenderer */ +public final class j implements u, d { + public final AtomicBoolean i = new AtomicBoolean(); + public final AtomicBoolean j = new AtomicBoolean(true); + public final i k = new i(); + public final f l = new f(); + public final c0 m = new c0<>(); + public final c0 n = new c0<>(); + public final float[] o = new float[16]; + public final float[] p = new float[16]; + public int q; + public SurfaceTexture r; + + /* renamed from: s reason: collision with root package name */ + public volatile int f808s = 0; + public int t = -1; + @Nullable + public byte[] u; + + @Override // c.i.a.c.g3.z.d + public void a(long j, float[] fArr) { + this.l.f802c.a(j, fArr); + } + + public SurfaceTexture b() { + GLES20.glClearColor(0.5f, 0.5f, 0.5f, 1.0f); + GlUtil.a(); + i iVar = this.k; + Objects.requireNonNull(iVar); + GlUtil.a aVar = new GlUtil.a(i.a, i.b); + iVar.k = aVar; + iVar.l = GLES20.glGetUniformLocation(aVar.a, "uMvpMatrix"); + iVar.m = GLES20.glGetUniformLocation(iVar.k.a, "uTexMatrix"); + iVar.n = GLES20.glGetAttribLocation(iVar.k.a, "aPosition"); + iVar.o = GLES20.glGetAttribLocation(iVar.k.a, "aTexCoords"); + iVar.p = GLES20.glGetUniformLocation(iVar.k.a, "uTexture"); + GlUtil.a(); + int[] iArr = new int[1]; + GLES20.glGenTextures(1, IntBuffer.wrap(iArr)); + GLES20.glBindTexture(36197, iArr[0]); + GLES20.glTexParameteri(36197, 10241, 9729); + GLES20.glTexParameteri(36197, Data.MAX_DATA_BYTES, 9729); + GLES20.glTexParameteri(36197, 10242, 33071); + GLES20.glTexParameteri(36197, 10243, 33071); + GlUtil.a(); + this.q = iArr[0]; + SurfaceTexture surfaceTexture = new SurfaceTexture(this.q); + this.r = surfaceTexture; + surfaceTexture.setOnFrameAvailableListener(new a(this)); + return this.r; + } + + @Override // c.i.a.c.g3.z.d + public void c() { + this.m.b(); + f fVar = this.l; + fVar.f802c.b(); + fVar.d = false; + this.j.set(true); + } + + /* JADX WARNING: Removed duplicated region for block: B:33:0x008a */ + /* JADX WARNING: Removed duplicated region for block: B:43:0x00f4 */ + @Override // c.i.a.c.g3.u + public void e(long j, long j2, j1 j1Var, @Nullable MediaFormat mediaFormat) { + h hVar; + int i; + int i2; + float f; + float f2; + int i3; + int i4; + ArrayList arrayList; + int f3; + this.m.a(j2, Long.valueOf(j)); + byte[] bArr = j1Var.F; + int i5 = j1Var.G; + byte[] bArr2 = this.u; + int i6 = this.t; + this.u = bArr; + if (i5 == -1) { + i5 = this.f808s; + } + this.t = i5; + if (i6 != i5 || !Arrays.equals(bArr2, this.u)) { + byte[] bArr3 = this.u; + hVar = null; + if (bArr3 != null) { + int i7 = this.t; + x xVar = new x(bArr3); + try { + xVar.F(4); + int f4 = xVar.f(); + xVar.E(0); + if (f4 == 1886547818) { + xVar.F(8); + int i8 = xVar.b; + int i9 = xVar.f792c; + while (true) { + if (i8 >= i9) { + break; + } + f3 = xVar.f() + i8; + if (f3 <= i8) { + break; + } else if (f3 > i9) { + break; + } else { + int f5 = xVar.f(); + if (f5 == 2037673328) { + break; + } else if (f5 == 1836279920) { + break; + } else { + xVar.E(f3); + i8 = f3; + } + } + } + xVar.D(f3); + arrayList = d.r1(xVar); + } else { + arrayList = d.r1(xVar); + } + } catch (ArrayIndexOutOfBoundsException unused) { + } + if (arrayList != null) { + int size = arrayList.size(); + if (size == 1) { + hVar = new h(arrayList.get(0), i7); + } else if (size == 2) { + hVar = new h(arrayList.get(0), arrayList.get(1), i7); + } + } + } + if (hVar == null || !i.a(hVar)) { + int i10 = this.t; + d.j(true); + d.j(true); + d.j(true); + d.j(true); + d.j(true); + float radians = (float) Math.toRadians((double) 180.0f); + float radians2 = (float) Math.toRadians((double) 360.0f); + float f6 = radians / ((float) 36); + float f7 = radians2 / ((float) 72); + float[] fArr = new float[15984]; + float[] fArr2 = new float[10656]; + i2 = 0; + int i11 = 0; + int i12 = 0; + for (i = 36; i2 < i; i = 36) { + float f8 = radians / 2.0f; + float f9 = (((float) i2) * f6) - f8; + int i13 = i2 + 1; + float f10 = (((float) i13) * f6) - f8; + int i14 = 0; + while (i14 < 73) { + int i15 = 0; + for (int i16 = 2; i15 < i16; i16 = 2) { + if (i15 == 0) { + f = f10; + f2 = f9; + } else { + f2 = f10; + f = f2; + } + float f11 = ((float) i14) * f7; + int i17 = i11 + 1; + double d = (double) 50.0f; + double d2 = (double) ((f11 + 3.1415927f) - (radians2 / 2.0f)); + double d3 = (double) f2; + fArr[i11] = -((float) (Math.cos(d3) * Math.sin(d2) * d)); + int i18 = i17 + 1; + fArr[i17] = (float) (Math.sin(d3) * d); + int i19 = i18 + 1; + fArr[i18] = (float) (Math.cos(d3) * Math.cos(d2) * d); + int i20 = i12 + 1; + fArr2[i12] = f11 / radians2; + int i21 = i20 + 1; + fArr2[i20] = (((float) (i2 + i15)) * f6) / radians; + if (i14 == 0 && i15 == 0) { + i3 = i15; + i4 = i14; + } else { + i4 = i14; + i3 = i15; + if (!(i4 == 72 && i3 == 1)) { + i12 = i21; + i11 = i19; + i15 = i3 + 1; + i14 = i4; + f10 = f; + f7 = f7; + f9 = f9; + radians = radians; + f6 = f6; + i10 = i10; + } + } + System.arraycopy(fArr, i19 - 3, fArr, i19, 3); + i19 += 3; + System.arraycopy(fArr2, i21 - 2, fArr2, i21, 2); + i21 += 2; + i12 = i21; + i11 = i19; + i15 = i3 + 1; + i14 = i4; + f10 = f; + f7 = f7; + f9 = f9; + radians = radians; + f6 = f6; + i10 = i10; + } + i14++; + i13 = i13; + f10 = f10; + i10 = i10; + } + i2 = i13; + } + hVar = new h(new h.a(new h.b(0, fArr, fArr2, 1)), i10); + } + this.n.a(j2, hVar); + } + return; + arrayList = null; + if (arrayList != null) { + } + int i10 = this.t; + d.j(true); + d.j(true); + d.j(true); + d.j(true); + d.j(true); + float radians = (float) Math.toRadians((double) 180.0f); + float radians2 = (float) Math.toRadians((double) 360.0f); + float f6 = radians / ((float) 36); + float f7 = radians2 / ((float) 72); + float[] fArr = new float[15984]; + float[] fArr2 = new float[10656]; + i2 = 0; + int i11 = 0; + int i12 = 0; + while (i2 < i) { + } + hVar = new h(new h.a(new h.b(0, fArr, fArr2, 1)), i10); + this.n.a(j2, hVar); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/z/k.java b/app/src/main/java/c/i/a/c/g3/z/k.java new file mode 100644 index 0000000000..8db3b110af --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/z/k.java @@ -0,0 +1,295 @@ +package c.i.a.c.g3.z; + +import android.content.Context; +import android.graphics.SurfaceTexture; +import android.hardware.Sensor; +import android.hardware.SensorManager; +import android.opengl.GLES20; +import android.opengl.GLSurfaceView; +import android.opengl.Matrix; +import android.os.Handler; +import android.os.Looper; +import android.view.Surface; +import android.view.WindowManager; +import androidx.annotation.AnyThread; +import androidx.annotation.BinderThread; +import androidx.annotation.Nullable; +import androidx.annotation.VisibleForTesting; +import c.i.a.c.f3.c0; +import c.i.a.c.f3.e0; +import c.i.a.c.g3.u; +import c.i.a.c.g3.z.g; +import c.i.a.c.g3.z.i; +import c.i.a.c.g3.z.l; +import com.google.android.exoplayer2.util.GlUtil; +import java.nio.Buffer; +import java.util.Objects; +import java.util.concurrent.CopyOnWriteArrayList; +import javax.microedition.khronos.egl.EGLConfig; +import javax.microedition.khronos.opengles.GL10; +/* compiled from: SphericalGLSurfaceView */ +public final class k extends GLSurfaceView { + public final CopyOnWriteArrayList i = new CopyOnWriteArrayList<>(); + public final SensorManager j; + @Nullable + public final Sensor k; + public final g l; + public final Handler m = new Handler(Looper.getMainLooper()); + public final l n; + public final j o; + @Nullable + public SurfaceTexture p; + @Nullable + public Surface q; + public boolean r; + + /* renamed from: s reason: collision with root package name */ + public boolean f809s; + public boolean t; + + /* compiled from: SphericalGLSurfaceView */ + @VisibleForTesting + public final class a implements GLSurfaceView.Renderer, l.a, g.a { + public final j i; + public final float[] j = new float[16]; + public final float[] k = new float[16]; + public final float[] l; + public final float[] m; + public final float[] n; + public float o; + public float p; + public final float[] q; + public final float[] r; + + public a(j jVar) { + float[] fArr = new float[16]; + this.l = fArr; + float[] fArr2 = new float[16]; + this.m = fArr2; + float[] fArr3 = new float[16]; + this.n = fArr3; + this.q = new float[16]; + this.r = new float[16]; + this.i = jVar; + Matrix.setIdentityM(fArr, 0); + Matrix.setIdentityM(fArr2, 0); + Matrix.setIdentityM(fArr3, 0); + this.p = 3.1415927f; + } + + @Override // c.i.a.c.g3.z.g.a + @BinderThread + public synchronized void a(float[] fArr, float f) { + float[] fArr2 = this.l; + System.arraycopy(fArr, 0, fArr2, 0, fArr2.length); + this.p = -f; + b(); + } + + @AnyThread + public final void b() { + Matrix.setRotateM(this.m, 0, -this.o, (float) Math.cos((double) this.p), (float) Math.sin((double) this.p), 0.0f); + } + + @Override // android.opengl.GLSurfaceView.Renderer + public void onDrawFrame(GL10 gl10) { + Long d; + float[] fArr; + synchronized (this) { + Matrix.multiplyMM(this.r, 0, this.l, 0, this.n, 0); + Matrix.multiplyMM(this.q, 0, this.m, 0, this.r, 0); + } + Matrix.multiplyMM(this.k, 0, this.j, 0, this.q, 0); + j jVar = this.i; + float[] fArr2 = this.k; + Objects.requireNonNull(jVar); + GLES20.glClear(16384); + GlUtil.a(); + if (jVar.i.compareAndSet(true, false)) { + SurfaceTexture surfaceTexture = jVar.r; + Objects.requireNonNull(surfaceTexture); + surfaceTexture.updateTexImage(); + GlUtil.a(); + if (jVar.j.compareAndSet(true, false)) { + Matrix.setIdentityM(jVar.o, 0); + } + long timestamp = jVar.r.getTimestamp(); + c0 c0Var = jVar.m; + synchronized (c0Var) { + d = c0Var.d(timestamp, false); + } + Long l = d; + if (l != null) { + f fVar = jVar.l; + float[] fArr3 = jVar.o; + float[] e = fVar.f802c.e(l.longValue()); + if (e != null) { + float[] fArr4 = fVar.b; + float f = e[0]; + float f2 = -e[1]; + float f3 = -e[2]; + float length = Matrix.length(f, f2, f3); + if (length != 0.0f) { + fArr = fArr3; + Matrix.setRotateM(fArr4, 0, (float) Math.toDegrees((double) length), f / length, f2 / length, f3 / length); + } else { + fArr = fArr3; + Matrix.setIdentityM(fArr4, 0); + } + if (!fVar.d) { + f.a(fVar.a, fVar.b); + fVar.d = true; + } + Matrix.multiplyMM(fArr, 0, fVar.a, 0, fVar.b, 0); + } + } + h e2 = jVar.n.e(timestamp); + if (e2 != null) { + i iVar = jVar.k; + Objects.requireNonNull(iVar); + if (i.a(e2)) { + iVar.h = e2.f804c; + i.a aVar = new i.a(e2.a.a[0]); + iVar.i = aVar; + if (!e2.d) { + aVar = new i.a(e2.b.a[0]); + } + iVar.j = aVar; + } + } + } + Matrix.multiplyMM(jVar.p, 0, fArr2, 0, jVar.o, 0); + i iVar2 = jVar.k; + int i = jVar.q; + float[] fArr5 = jVar.p; + i.a aVar2 = iVar2.i; + if (aVar2 != null) { + GlUtil.a aVar3 = iVar2.k; + Objects.requireNonNull(aVar3); + aVar3.c(); + GlUtil.a(); + GLES20.glEnableVertexAttribArray(iVar2.n); + GLES20.glEnableVertexAttribArray(iVar2.o); + GlUtil.a(); + int i2 = iVar2.h; + GLES20.glUniformMatrix3fv(iVar2.m, 1, false, i2 == 1 ? i.d : i2 == 2 ? i.f : i.f806c, 0); + GLES20.glUniformMatrix4fv(iVar2.l, 1, false, fArr5, 0); + GLES20.glActiveTexture(33984); + GLES20.glBindTexture(36197, i); + GLES20.glUniform1i(iVar2.p, 0); + GlUtil.a(); + GLES20.glVertexAttribPointer(iVar2.n, 3, 5126, false, 12, (Buffer) aVar2.b); + GlUtil.a(); + GLES20.glVertexAttribPointer(iVar2.o, 2, 5126, false, 8, (Buffer) aVar2.f807c); + GlUtil.a(); + GLES20.glDrawArrays(aVar2.d, 0, aVar2.a); + GlUtil.a(); + GLES20.glDisableVertexAttribArray(iVar2.n); + GLES20.glDisableVertexAttribArray(iVar2.o); + } + } + + @Override // android.opengl.GLSurfaceView.Renderer + public void onSurfaceChanged(GL10 gl10, int i, int i2) { + boolean z2 = false; + GLES20.glViewport(0, 0, i, i2); + float f = ((float) i) / ((float) i2); + if (f > 1.0f) { + z2 = true; + } + Matrix.perspectiveM(this.j, 0, z2 ? (float) (Math.toDegrees(Math.atan(Math.tan(Math.toRadians(45.0d)) / ((double) f))) * 2.0d) : 90.0f, f, 0.1f, 100.0f); + } + + @Override // android.opengl.GLSurfaceView.Renderer + public synchronized void onSurfaceCreated(GL10 gl10, EGLConfig eGLConfig) { + k kVar = k.this; + kVar.m.post(new b(kVar, this.i.b())); + } + } + + /* compiled from: SphericalGLSurfaceView */ + public interface b { + void q(Surface surface); + + void u(Surface surface); + } + + /* JADX INFO: super call moved to the top of the method (can break code semantics) */ + public k(Context context) { + super(context, null); + Sensor sensor = null; + Object systemService = context.getSystemService("sensor"); + Objects.requireNonNull(systemService); + SensorManager sensorManager = (SensorManager) systemService; + this.j = sensorManager; + sensor = e0.a >= 18 ? sensorManager.getDefaultSensor(15) : sensor; + this.k = sensor == null ? sensorManager.getDefaultSensor(11) : sensor; + j jVar = new j(); + this.o = jVar; + a aVar = new a(jVar); + l lVar = new l(context, aVar, 25.0f); + this.n = lVar; + WindowManager windowManager = (WindowManager) context.getSystemService("window"); + Objects.requireNonNull(windowManager); + this.l = new g(windowManager.getDefaultDisplay(), lVar, aVar); + this.r = true; + setEGLContextClientVersion(2); + setRenderer(aVar); + setOnTouchListener(lVar); + } + + public final void a() { + boolean z2 = this.r && this.f809s; + Sensor sensor = this.k; + if (sensor != null && z2 != this.t) { + if (z2) { + this.j.registerListener(this.l, sensor, 0); + } else { + this.j.unregisterListener(this.l); + } + this.t = z2; + } + } + + public d getCameraMotionListener() { + return this.o; + } + + public u getVideoFrameMetadataListener() { + return this.o; + } + + @Nullable + public Surface getVideoSurface() { + return this.q; + } + + @Override // android.opengl.GLSurfaceView, android.view.SurfaceView, android.view.View + public void onDetachedFromWindow() { + super.onDetachedFromWindow(); + this.m.post(new c(this)); + } + + @Override // android.opengl.GLSurfaceView + public void onPause() { + this.f809s = false; + a(); + super.onPause(); + } + + @Override // android.opengl.GLSurfaceView + public void onResume() { + super.onResume(); + this.f809s = true; + a(); + } + + public void setDefaultStereoMode(int i) { + this.o.f808s = i; + } + + public void setUseSensorRotation(boolean z2) { + this.r = z2; + a(); + } +} diff --git a/app/src/main/java/c/i/a/c/g3/z/l.java b/app/src/main/java/c/i/a/c/g3/z/l.java new file mode 100644 index 0000000000..3159d7c9be --- /dev/null +++ b/app/src/main/java/c/i/a/c/g3/z/l.java @@ -0,0 +1,79 @@ +package c.i.a.c.g3.z; + +import android.content.Context; +import android.graphics.PointF; +import android.opengl.Matrix; +import android.view.GestureDetector; +import android.view.MotionEvent; +import android.view.View; +import androidx.annotation.BinderThread; +import c.i.a.c.g3.z.g; +import c.i.a.c.g3.z.k; +/* compiled from: TouchTracker */ +public final class l extends GestureDetector.SimpleOnGestureListener implements View.OnTouchListener, g.a { + public final PointF i = new PointF(); + public final PointF j = new PointF(); + public final a k; + public final float l; + public final GestureDetector m; + public volatile float n; + + /* compiled from: TouchTracker */ + public interface a { + } + + public l(Context context, a aVar, float f) { + this.k = aVar; + this.l = f; + this.m = new GestureDetector(context, this); + this.n = 3.1415927f; + } + + @Override // c.i.a.c.g3.z.g.a + @BinderThread + public void a(float[] fArr, float f) { + this.n = -f; + } + + @Override // android.view.GestureDetector.SimpleOnGestureListener, android.view.GestureDetector.OnGestureListener + public boolean onDown(MotionEvent motionEvent) { + this.i.set(motionEvent.getX(), motionEvent.getY()); + return true; + } + + @Override // android.view.GestureDetector.SimpleOnGestureListener, android.view.GestureDetector.OnGestureListener + public boolean onScroll(MotionEvent motionEvent, MotionEvent motionEvent2, float f, float f2) { + float x2 = (motionEvent2.getX() - this.i.x) / this.l; + float y2 = motionEvent2.getY(); + PointF pointF = this.i; + float f3 = (y2 - pointF.y) / this.l; + pointF.set(motionEvent2.getX(), motionEvent2.getY()); + double d = (double) this.n; + float cos = (float) Math.cos(d); + float sin = (float) Math.sin(d); + PointF pointF2 = this.j; + pointF2.x -= (cos * x2) - (sin * f3); + float f4 = (cos * f3) + (sin * x2) + pointF2.y; + pointF2.y = f4; + pointF2.y = Math.max(-45.0f, Math.min(45.0f, f4)); + a aVar = this.k; + PointF pointF3 = this.j; + k.a aVar2 = (k.a) aVar; + synchronized (aVar2) { + aVar2.o = pointF3.y; + aVar2.b(); + Matrix.setRotateM(aVar2.n, 0, -pointF3.x, 0.0f, 1.0f, 0.0f); + } + return true; + } + + @Override // android.view.GestureDetector.SimpleOnGestureListener, android.view.GestureDetector.OnGestureListener + public boolean onSingleTapUp(MotionEvent motionEvent) { + return k.this.performClick(); + } + + @Override // android.view.View.OnTouchListener + public boolean onTouch(View view, MotionEvent motionEvent) { + return this.m.onTouchEvent(motionEvent); + } +} diff --git a/app/src/main/java/c/i/a/c/h.java b/app/src/main/java/c/i/a/c/h.java index ba56fd0960..54e9f05385 100644 --- a/app/src/main/java/c/i/a/c/h.java +++ b/app/src/main/java/c/i/a/c/h.java @@ -1,17 +1,19 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import android.content.Context; +import c.i.a.c.a3.p; +import c.i.a.c.x2.f; +import c.i.b.a.l; /* compiled from: lambda */ -public final /* synthetic */ class h implements o.a { - public final /* synthetic */ boolean a; +public final /* synthetic */ class h implements l { + public final /* synthetic */ Context i; - public /* synthetic */ h(boolean z2) { - this.a = z2; + public /* synthetic */ h(Context context) { + this.i = context; } - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((g1.a) obj).v(this.a); + @Override // c.i.b.a.l + public final Object get() { + return new p(this.i, new f()); } } diff --git a/app/src/main/java/c/i/a/c/h0.java b/app/src/main/java/c/i/a/c/h0.java index e5197a6b63..e9ad8d70be 100644 --- a/app/src/main/java/c/i/a/c/h0.java +++ b/app/src/main/java/c/i/a/c/h0.java @@ -1,21 +1,78 @@ package c.i.a.c; -import java.util.UUID; -/* compiled from: C */ -public final class h0 { - public static final UUID a = new UUID(0, 0); - public static final UUID b = new UUID(1186680826959645954L, -5988876978535335093L); +import android.os.Bundle; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.f; +import c.i.a.c.g3.a; +import c.i.a.c.g3.n; +import c.i.a.c.j1; +import c.i.a.c.w0; +import com.google.android.exoplayer2.drm.DrmInitData; +import com.google.android.exoplayer2.metadata.Metadata; +import java.util.ArrayList; +/* compiled from: lambda */ +public final /* synthetic */ class h0 implements w0.a { + public static final /* synthetic */ h0 a = new h0(); - /* renamed from: c reason: collision with root package name */ - public static final UUID f939c = new UUID(-2129748144642739255L, 8654423357094679310L); - public static final UUID d = new UUID(-1301668207276963122L, -6645017420763422227L); - public static final UUID e = new UUID(-7348484286925749626L, -6083546864340672619L); - - public static long a(long j) { - return (j == -9223372036854775807L || j == Long.MIN_VALUE) ? j : j * 1000; - } - - public static long b(long j) { - return (j == -9223372036854775807L || j == Long.MIN_VALUE) ? j : j / 1000; + @Override // c.i.a.c.w0.a + public final w0 a(Bundle bundle) { + j1 j1Var = j1.i; + j1.b bVar = new j1.b(); + if (bundle != null) { + ClassLoader classLoader = f.class.getClassLoader(); + int i = e0.a; + bundle.setClassLoader(classLoader); + } + int i2 = 0; + String string = bundle.getString(j1.d(0)); + j1 j1Var2 = j1.i; + bVar.a = (String) j1.b(string, j1Var2.k); + bVar.b = (String) j1.b(bundle.getString(j1.d(1)), j1Var2.l); + bVar.f823c = (String) j1.b(bundle.getString(j1.d(2)), j1Var2.m); + bVar.d = bundle.getInt(j1.d(3), j1Var2.n); + bVar.e = bundle.getInt(j1.d(4), j1Var2.o); + bVar.f = bundle.getInt(j1.d(5), j1Var2.p); + bVar.g = bundle.getInt(j1.d(6), j1Var2.q); + bVar.h = (String) j1.b(bundle.getString(j1.d(7)), j1Var2.f819s); + bVar.i = (Metadata) j1.b((Metadata) bundle.getParcelable(j1.d(8)), j1Var2.t); + bVar.j = (String) j1.b(bundle.getString(j1.d(9)), j1Var2.u); + bVar.k = (String) j1.b(bundle.getString(j1.d(10)), j1Var2.v); + bVar.l = bundle.getInt(j1.d(11), j1Var2.w); + ArrayList arrayList = new ArrayList(); + while (true) { + String d = j1.d(12); + String num = Integer.toString(i2, 36); + StringBuilder sb = new StringBuilder(String.valueOf(num).length() + String.valueOf(d).length() + 1); + sb.append(d); + sb.append("_"); + sb.append(num); + byte[] byteArray = bundle.getByteArray(sb.toString()); + if (byteArray == null) { + bVar.m = arrayList; + bVar.n = (DrmInitData) bundle.getParcelable(j1.d(13)); + String d2 = j1.d(14); + j1 j1Var3 = j1.i; + bVar.o = bundle.getLong(d2, j1Var3.f822z); + bVar.p = bundle.getInt(j1.d(15), j1Var3.A); + bVar.q = bundle.getInt(j1.d(16), j1Var3.B); + bVar.r = bundle.getFloat(j1.d(17), j1Var3.C); + bVar.f824s = bundle.getInt(j1.d(18), j1Var3.D); + bVar.t = bundle.getFloat(j1.d(19), j1Var3.E); + bVar.u = bundle.getByteArray(j1.d(20)); + bVar.v = bundle.getInt(j1.d(21), j1Var3.G); + int i3 = n.i; + bVar.w = (n) f.c(a.a, bundle.getBundle(j1.d(22))); + bVar.f825x = bundle.getInt(j1.d(23), j1Var3.I); + bVar.f826y = bundle.getInt(j1.d(24), j1Var3.J); + bVar.f827z = bundle.getInt(j1.d(25), j1Var3.K); + bVar.A = bundle.getInt(j1.d(26), j1Var3.L); + bVar.B = bundle.getInt(j1.d(27), j1Var3.M); + bVar.C = bundle.getInt(j1.d(28), j1Var3.N); + bVar.D = bundle.getInt(j1.d(29), j1Var3.O); + return bVar.a(); + } + arrayList.add(byteArray); + i2++; + } } } diff --git a/app/src/main/java/c/i/a/c/h1.java b/app/src/main/java/c/i/a/c/h1.java index 1eeb2bfce4..445d9391f4 100644 --- a/app/src/main/java/c/i/a/c/h1.java +++ b/app/src/main/java/c/i/a/c/h1.java @@ -1,90 +1,2557 @@ package c.i.a.c; +import android.os.Handler; +import android.os.HandlerThread; import android.os.Looper; +import android.os.Message; +import android.os.SystemClock; import android.util.Log; +import android.util.Pair; +import androidx.annotation.CheckResult; import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.i2.g; +import androidx.core.view.PointerIconCompat; +import c.i.a.c.a1; +import c.i.a.c.a3.a0; +import c.i.a.c.a3.i0; +import c.i.a.c.a3.k0; +import c.i.a.c.a3.o0; +import c.i.a.c.a3.x; +import c.i.a.c.b2; +import c.i.a.c.b3.m; +import c.i.a.c.c3.j; +import c.i.a.c.c3.q; +import c.i.a.c.c3.r; +import c.i.a.c.f3.b0; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.o; +import c.i.a.c.f3.s; +import c.i.a.c.f3.z; +import c.i.a.c.o1; +import c.i.a.c.o2; +import c.i.a.c.s2.g1; +import c.i.a.c.u1; +import c.i.b.b.h; +import c.i.b.b.h0; +import c.i.b.b.n; +import c.i.b.b.p; import com.google.android.exoplayer2.ExoPlaybackException; -import java.util.concurrent.TimeoutException; -/* compiled from: PlayerMessage */ -public final class h1 { - public final b a; - public final a b; - - /* renamed from: c reason: collision with root package name */ - public final g f940c; - public final r1 d; - public int e; +import com.google.android.exoplayer2.ParserException; +import com.google.android.exoplayer2.drm.DrmSession; +import com.google.android.exoplayer2.metadata.Metadata; +import com.google.android.exoplayer2.source.BehindLiveWindowException; +import com.google.android.exoplayer2.upstream.DataSourceException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import java.util.Objects; +import java.util.Set; +import java.util.concurrent.atomic.AtomicBoolean; +/* compiled from: ExoPlayerImplInternal */ +public final class h1 implements Handler.Callback, x.a, u1.d, a1.a, b2.a { + public final s1 A; + public final u1 B; + public final m1 C; + public final long D; + public j2 E; + public w1 F; + public d G; + public boolean H; + public boolean I; + public boolean J; + public boolean K; + public boolean L; + public int M; + public boolean N; + public boolean O; + public boolean P; + public boolean Q; + public int R; @Nullable - public Object f; - public Looper g; - public int h; - public boolean i; - public boolean j; - public boolean k; + public g S; + public long T; + public int U; + public boolean V; + @Nullable + public ExoPlaybackException W; + public final f2[] i; + public final Set j; + public final g2[] k; + public final q l; + public final r m; + public final n1 n; + public final c.i.a.c.e3.f o; + public final o p; + public final HandlerThread q; + public final Looper r; - /* compiled from: PlayerMessage */ - public interface a { - } + /* renamed from: s reason: collision with root package name */ + public final o2.c f811s; + public final o2.b t; + public final long u; + public final boolean v; + public final a1 w; - /* compiled from: PlayerMessage */ - public interface b { - void r(int i, @Nullable Object obj) throws ExoPlaybackException; - } + /* renamed from: x reason: collision with root package name */ + public final ArrayList f812x; - public h1(a aVar, b bVar, r1 r1Var, int i, g gVar, Looper looper) { - this.b = aVar; - this.a = bVar; - this.d = r1Var; - this.g = looper; - this.f940c = gVar; - this.h = i; - } + /* renamed from: y reason: collision with root package name */ + public final c.i.a.c.f3.g f813y; - public synchronized boolean a(long j) throws InterruptedException, TimeoutException { - boolean z2; - d.D(this.i); - d.D(this.g.getThread() != Thread.currentThread()); - long c2 = this.f940c.c() + j; - while (true) { - z2 = this.k; - if (z2 || j <= 0) { - break; - } - wait(j); - j = c2 - this.f940c.c(); + /* renamed from: z reason: collision with root package name */ + public final e f814z; + + /* compiled from: ExoPlayerImplInternal */ + public static final class a { + public final List a; + public final k0 b; + + /* renamed from: c reason: collision with root package name */ + public final int f815c; + public final long d; + + public a(List list, k0 k0Var, int i, long j, g1 g1Var) { + this.a = list; + this.b = k0Var; + this.f815c = i; + this.d = j; } - if (!z2) { - throw new TimeoutException("Message delivery timed out."); - } - return this.j; } - public synchronized boolean b() { - return false; + /* compiled from: ExoPlayerImplInternal */ + public static class b { } - public synchronized void c(boolean z2) { - this.j = z2 | this.j; - this.k = true; - notifyAll(); - } + /* compiled from: ExoPlayerImplInternal */ + public static final class c implements Comparable { + public final b2 i; + public int j; + public long k; + @Nullable + public Object l; - public h1 d() { - d.D(!this.i); - d.k(true); - this.i = true; - q0 q0Var = (q0) this.b; - synchronized (q0Var) { - if (!q0Var.G) { - if (q0Var.p.isAlive()) { - q0Var.o.c(14, this).sendToTarget(); + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ + /* JADX WARNING: Code restructure failed: missing block: B:10:0x0015, code lost: + if (r0 != null) goto L_0x0017; + */ + @Override // java.lang.Comparable + public int compareTo(c cVar) { + c cVar2 = cVar; + Object obj = this.l; + int i = 1; + if ((obj == null) == (cVar2.l == null)) { + if (obj == null) { + return 0; + } + int i2 = this.j - cVar2.j; + if (i2 != 0) { + return i2; + } + long j = this.k; + long j2 = cVar2.k; + int i3 = e0.a; + int i4 = (j > j2 ? 1 : (j == j2 ? 0 : -1)); + if (i4 >= 0) { + if (i4 == 0) { + i = 0; + } + return i; } } - Log.w("ExoPlayerImplInternal", "Ignoring messages sent after release."); - c(false); + i = -1; + return i; } - return this; + + public void f(int i, long j, Object obj) { + this.j = i; + this.k = j; + this.l = obj; + } + } + + /* compiled from: ExoPlayerImplInternal */ + public static final class d { + public boolean a; + public w1 b; + + /* renamed from: c reason: collision with root package name */ + public int f816c; + public boolean d; + public int e; + public boolean f; + public int g; + + public d(w1 w1Var) { + this.b = w1Var; + } + + public void a(int i) { + this.a |= i > 0; + this.f816c += i; + } + } + + /* compiled from: ExoPlayerImplInternal */ + public interface e { + } + + /* compiled from: ExoPlayerImplInternal */ + public static final class f { + public final a0.a a; + public final long b; + + /* renamed from: c reason: collision with root package name */ + public final long f817c; + public final boolean d; + public final boolean e; + public final boolean f; + + public f(a0.a aVar, long j, long j2, boolean z2, boolean z3, boolean z4) { + this.a = aVar; + this.b = j; + this.f817c = j2; + this.d = z2; + this.e = z3; + this.f = z4; + } + } + + /* compiled from: ExoPlayerImplInternal */ + public static final class g { + public final o2 a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final long f818c; + + public g(o2 o2Var, int i, long j) { + this.a = o2Var; + this.b = i; + this.f818c = j; + } + } + + public h1(f2[] f2VarArr, q qVar, r rVar, n1 n1Var, c.i.a.c.e3.f fVar, int i, boolean z2, @Nullable g1 g1Var, j2 j2Var, m1 m1Var, long j, boolean z3, Looper looper, c.i.a.c.f3.g gVar, e eVar) { + this.f814z = eVar; + this.i = f2VarArr; + this.l = qVar; + this.m = rVar; + this.n = n1Var; + this.o = fVar; + this.M = i; + this.N = z2; + this.E = j2Var; + this.C = m1Var; + this.D = j; + this.I = z3; + this.f813y = gVar; + this.u = n1Var.b(); + this.v = n1Var.a(); + w1 h = w1.h(rVar); + this.F = h; + this.G = new d(h); + this.k = new g2[f2VarArr.length]; + for (int i2 = 0; i2 < f2VarArr.length; i2++) { + f2VarArr[i2].f(i2); + this.k[i2] = f2VarArr[i2].m(); + } + this.w = new a1(this, gVar); + this.f812x = new ArrayList<>(); + this.j = h.c(); + this.f811s = new o2.c(); + this.t = new o2.b(); + qVar.a = fVar; + this.V = true; + Handler handler = new Handler(looper); + this.A = new s1(g1Var, handler); + this.B = new u1(this, g1Var, handler); + HandlerThread handlerThread = new HandlerThread("ExoPlayer:Playback", -16); + this.q = handlerThread; + handlerThread.start(); + Looper looper2 = handlerThread.getLooper(); + this.r = looper2; + this.p = gVar.b(looper2, this); + } + + public static boolean K(c cVar, o2 o2Var, o2 o2Var2, int i, boolean z2, o2.c cVar2, o2.b bVar) { + Object obj = cVar.l; + if (obj == null) { + Objects.requireNonNull(cVar.i); + Objects.requireNonNull(cVar.i); + long B = e0.B(-9223372036854775807L); + b2 b2Var = cVar.i; + Pair M = M(o2Var, new g(b2Var.d, b2Var.h, B), false, i, z2, cVar2, bVar); + if (M == null) { + return false; + } + cVar.f(o2Var.b(M.first), ((Long) M.second).longValue(), M.first); + Objects.requireNonNull(cVar.i); + return true; + } + int b2 = o2Var.b(obj); + if (b2 == -1) { + return false; + } + Objects.requireNonNull(cVar.i); + cVar.j = b2; + o2Var2.h(cVar.l, bVar); + if (bVar.n && o2Var2.n(bVar.k, cVar2).A == o2Var2.b(cVar.l)) { + Pair j = o2Var.j(cVar2, bVar, o2Var.h(cVar.l, bVar).k, cVar.k + bVar.m); + cVar.f(o2Var.b(j.first), ((Long) j.second).longValue(), j.first); + } + return true; + } + + @Nullable + public static Pair M(o2 o2Var, g gVar, boolean z2, int i, boolean z3, o2.c cVar, o2.b bVar) { + Object N; + o2 o2Var2 = gVar.a; + if (o2Var.q()) { + return null; + } + o2 o2Var3 = o2Var2.q() ? o2Var : o2Var2; + try { + Pair j = o2Var3.j(cVar, bVar, gVar.b, gVar.f818c); + if (o2Var.equals(o2Var3)) { + return j; + } + if (o2Var.b(j.first) != -1) { + return (!o2Var3.h(j.first, bVar).n || o2Var3.n(bVar.k, cVar).A != o2Var3.b(j.first)) ? j : o2Var.j(cVar, bVar, o2Var.h(j.first, bVar).k, gVar.f818c); + } + if (z2 && (N = N(cVar, bVar, i, z3, j.first, o2Var3, o2Var)) != null) { + return o2Var.j(cVar, bVar, o2Var.h(N, bVar).k, -9223372036854775807L); + } + return null; + } catch (IndexOutOfBoundsException unused) { + } + } + + @Nullable + public static Object N(o2.c cVar, o2.b bVar, int i, boolean z2, Object obj, o2 o2Var, o2 o2Var2) { + int b2 = o2Var.b(obj); + int i2 = o2Var.i(); + int i3 = b2; + int i4 = -1; + for (int i5 = 0; i5 < i2 && i4 == -1; i5++) { + i3 = o2Var.d(i3, bVar, cVar, i, z2); + if (i3 == -1) { + break; + } + i4 = o2Var2.b(o2Var.m(i3)); + } + if (i4 == -1) { + return null; + } + return o2Var2.m(i4); + } + + public static j1[] i(j jVar) { + int length = jVar != null ? jVar.length() : 0; + j1[] j1VarArr = new j1[length]; + for (int i = 0; i < length; i++) { + j1VarArr[i] = jVar.d(i); + } + return j1VarArr; + } + + public static boolean w(f2 f2Var) { + return f2Var.getState() != 0; + } + + public static boolean y(w1 w1Var, o2.b bVar) { + a0.a aVar = w1Var.f911c; + o2 o2Var = w1Var.b; + return o2Var.q() || o2Var.h(aVar.a, bVar).n; + } + + public final void A() { + d dVar = this.G; + w1 w1Var = this.F; + boolean z2 = dVar.a | (dVar.b != w1Var); + dVar.a = z2; + dVar.b = w1Var; + if (z2) { + f1 f1Var = ((w) this.f814z).a; + f1Var.g.b(new c0(f1Var, dVar)); + this.G = new d(this.F); + } + } + + public final void B() throws ExoPlaybackException { + r(this.B.c(), true); + } + + public final void C(b bVar) throws ExoPlaybackException { + boolean z2 = true; + this.G.a(1); + u1 u1Var = this.B; + Objects.requireNonNull(bVar); + Objects.requireNonNull(u1Var); + if (u1Var.e() < 0) { + z2 = false; + } + c.c.a.a0.d.j(z2); + u1Var.i = null; + r(u1Var.c(), false); + } + + public final void D() { + this.G.a(1); + H(false, false, false, true); + this.n.c(); + f0(this.F.b.q() ? 4 : 2); + u1 u1Var = this.B; + c.i.a.c.e3.a0 c2 = this.o.c(); + c.c.a.a0.d.D(!u1Var.j); + u1Var.k = c2; + for (int i = 0; i < u1Var.a.size(); i++) { + u1.c cVar = u1Var.a.get(i); + u1Var.g(cVar); + u1Var.h.add(cVar); + } + u1Var.j = true; + this.p.f(2); + } + + public final void E() { + H(true, false, true, false); + this.n.e(); + f0(1); + this.q.quit(); + synchronized (this) { + this.H = true; + notifyAll(); + } + } + + public final void F(int i, int i2, k0 k0Var) throws ExoPlaybackException { + boolean z2 = true; + this.G.a(1); + u1 u1Var = this.B; + Objects.requireNonNull(u1Var); + if (i < 0 || i > i2 || i2 > u1Var.e()) { + z2 = false; + } + c.c.a.a0.d.j(z2); + u1Var.i = k0Var; + u1Var.i(i, i2); + r(u1Var.c(), false); + } + + public final void G() throws ExoPlaybackException { + boolean z2; + float f2 = this.w.c().j; + s1 s1Var = this.A; + q1 q1Var = s1Var.h; + q1 q1Var2 = s1Var.i; + q1 q1Var3 = q1Var; + boolean z3 = true; + while (q1Var3 != null && q1Var3.d) { + r i = q1Var3.i(f2, this.F.b); + r rVar = q1Var3.n; + if (rVar != null && rVar.f741c.length == i.f741c.length) { + int i2 = 0; + while (true) { + if (i2 >= i.f741c.length) { + z2 = true; + break; + } else if (!i.a(rVar, i2)) { + break; + } else { + i2++; + } + } + } + z2 = false; + if (!z2) { + if (z3) { + s1 s1Var2 = this.A; + q1 q1Var4 = s1Var2.h; + boolean n = s1Var2.n(q1Var4); + boolean[] zArr = new boolean[this.i.length]; + long a2 = q1Var4.a(i, this.F.t, n, zArr); + w1 w1Var = this.F; + boolean z4 = (w1Var.f == 4 || a2 == w1Var.t) ? false : true; + w1 w1Var2 = this.F; + this.F = u(w1Var2.f911c, a2, w1Var2.d, w1Var2.e, z4, 5); + if (z4) { + J(a2); + } + boolean[] zArr2 = new boolean[this.i.length]; + int i3 = 0; + while (true) { + f2[] f2VarArr = this.i; + if (i3 >= f2VarArr.length) { + break; + } + f2 f2Var = f2VarArr[i3]; + zArr2[i3] = w(f2Var); + i0 i0Var = q1Var4.f856c[i3]; + if (zArr2[i3]) { + if (i0Var != f2Var.h()) { + e(f2Var); + } else if (zArr[i3]) { + f2Var.u(this.T); + } + } + i3++; + } + h(zArr2); + } else { + this.A.n(q1Var3); + if (q1Var3.d) { + q1Var3.a(i, Math.max(q1Var3.f.b, this.T - q1Var3.o), false, new boolean[q1Var3.i.length]); + } + } + q(true); + if (this.F.f != 4) { + z(); + n0(); + this.p.f(2); + return; + } + return; + } + if (q1Var3 == q1Var2) { + z3 = false; + } + q1Var3 = q1Var3.l; + } + } + + /* JADX WARNING: Removed duplicated region for block: B:35:0x00cb */ + /* JADX WARNING: Removed duplicated region for block: B:38:0x00d1 */ + /* JADX WARNING: Removed duplicated region for block: B:39:0x00d4 */ + /* JADX WARNING: Removed duplicated region for block: B:42:0x00d9 */ + /* JADX WARNING: Removed duplicated region for block: B:43:0x00dc */ + /* JADX WARNING: Removed duplicated region for block: B:45:0x00e0 */ + /* JADX WARNING: Removed duplicated region for block: B:46:0x00e5 */ + /* JADX WARNING: Removed duplicated region for block: B:49:0x010d */ + /* JADX WARNING: Removed duplicated region for block: B:70:? A[RETURN, SYNTHETIC] */ + public final void H(boolean z2, boolean z3, boolean z4, boolean z5) { + long j; + a0.a aVar; + boolean z6; + List list; + this.p.h(2); + ExoPlaybackException exoPlaybackException = null; + this.W = null; + this.K = false; + a1 a1Var = this.w; + a1Var.n = false; + z zVar = a1Var.i; + if (zVar.j) { + zVar.a(zVar.e()); + zVar.j = false; + } + this.T = 1000000000000L; + for (f2 f2Var : this.i) { + try { + e(f2Var); + } catch (ExoPlaybackException | RuntimeException e2) { + c.i.a.c.f3.q.b("ExoPlayerImplInternal", "Disable failed.", e2); + } + } + if (z2) { + f2[] f2VarArr = this.i; + for (f2 f2Var2 : f2VarArr) { + if (this.j.remove(f2Var2)) { + try { + f2Var2.reset(); + } catch (RuntimeException e3) { + c.i.a.c.f3.q.b("ExoPlayerImplInternal", "Reset failed.", e3); + } + } + } + } + this.R = 0; + w1 w1Var = this.F; + a0.a aVar2 = w1Var.f911c; + long j2 = w1Var.t; + long j3 = (this.F.f911c.a() || y(this.F, this.t)) ? this.F.d : this.F.t; + if (z3) { + this.S = null; + Pair l = l(this.F.b); + aVar2 = (a0.a) l.first; + j2 = ((Long) l.second).longValue(); + j3 = -9223372036854775807L; + if (!aVar2.equals(this.F.f911c)) { + z6 = true; + aVar = aVar2; + j = j2; + this.A.b(); + this.L = false; + w1 w1Var2 = this.F; + o2 o2Var = w1Var2.b; + int i = w1Var2.f; + if (!z5) { + exoPlaybackException = w1Var2.g; + } + o0 o0Var = !z6 ? o0.i : w1Var2.i; + r rVar = !z6 ? this.m : w1Var2.j; + if (!z6) { + c.i.b.b.a aVar3 = p.j; + list = h0.k; + } else { + list = w1Var2.k; + } + this.F = new w1(o2Var, aVar, j3, j, i, exoPlaybackException, false, o0Var, rVar, list, aVar, w1Var2.m, w1Var2.n, w1Var2.o, j, 0, j, this.Q, false); + if (!z4) { + u1 u1Var = this.B; + for (u1.b bVar : u1Var.g.values()) { + try { + bVar.a.a(bVar.b); + } catch (RuntimeException e4) { + c.i.a.c.f3.q.b("MediaSourceList", "Failed to release child source.", e4); + } + bVar.a.c(bVar.f904c); + bVar.a.g(bVar.f904c); + } + u1Var.g.clear(); + u1Var.h.clear(); + u1Var.j = false; + return; + } + return; + } + } + aVar = aVar2; + j = j2; + z6 = false; + this.A.b(); + this.L = false; + w1 w1Var2 = this.F; + o2 o2Var = w1Var2.b; + int i = w1Var2.f; + if (!z5) { + } + if (!z6) { + } + if (!z6) { + } + if (!z6) { + } + this.F = new w1(o2Var, aVar, j3, j, i, exoPlaybackException, false, o0Var, rVar, list, aVar, w1Var2.m, w1Var2.n, w1Var2.o, j, 0, j, this.Q, false); + if (!z4) { + } + } + + public final void I() { + q1 q1Var = this.A.h; + this.J = q1Var != null && q1Var.f.h && this.I; + } + + public final void J(long j) throws ExoPlaybackException { + q1 q1Var = this.A.h; + long j2 = j + (q1Var == null ? 1000000000000L : q1Var.o); + this.T = j2; + this.w.i.a(j2); + f2[] f2VarArr = this.i; + for (f2 f2Var : f2VarArr) { + if (w(f2Var)) { + f2Var.u(this.T); + } + } + for (q1 q1Var2 = this.A.h; q1Var2 != null; q1Var2 = q1Var2.l) { + j[] jVarArr = q1Var2.n.f741c; + for (j jVar : jVarArr) { + if (jVar != null) { + jVar.j(); + } + } + } + } + + public final void L(o2 o2Var, o2 o2Var2) { + if (!o2Var.q() || !o2Var2.q()) { + int size = this.f812x.size(); + while (true) { + size--; + if (size < 0) { + Collections.sort(this.f812x); + return; + } else if (!K(this.f812x.get(size), o2Var, o2Var2, this.M, this.N, this.f811s, this.t)) { + this.f812x.get(size).i.c(false); + this.f812x.remove(size); + } + } + } + } + + public final void O(long j, long j2) { + this.p.h(2); + this.p.g(2, j + j2); + } + + public final void P(boolean z2) throws ExoPlaybackException { + a0.a aVar = this.A.h.f.a; + long S = S(aVar, this.F.t, true, false); + if (S != this.F.t) { + w1 w1Var = this.F; + this.F = u(aVar, S, w1Var.d, w1Var.e, z2, 5); + } + } + + /* JADX WARNING: Removed duplicated region for block: B:23:0x00ab A[Catch:{ all -> 0x0145 }] */ + /* JADX WARNING: Removed duplicated region for block: B:24:0x00ae A[Catch:{ all -> 0x0145 }] */ + public final void Q(g gVar) throws ExoPlaybackException { + long j; + boolean z2; + a0.a aVar; + long j2; + long j3; + Throwable th; + long j4; + long j5; + w1 w1Var; + int i; + long longValue; + long j6; + boolean z3 = true; + this.G.a(1); + Pair M = M(this.F.b, gVar, true, this.M, this.N, this.f811s, this.t); + if (M == null) { + Pair l = l(this.F.b); + aVar = (a0.a) l.first; + longValue = ((Long) l.second).longValue(); + z2 = !this.F.b.q(); + j6 = -9223372036854775807L; + } else { + Object obj = M.first; + longValue = ((Long) M.second).longValue(); + long j7 = gVar.f818c == -9223372036854775807L ? -9223372036854775807L : longValue; + a0.a o = this.A.o(this.F.b, obj, longValue); + if (o.a()) { + this.F.b.h(o.a, this.t); + j2 = this.t.d(o.b) == o.f672c ? this.t.o.n : 0; + j = j7; + z2 = true; + aVar = o; + if (!this.F.b.q()) { + this.S = gVar; + } else if (M == null) { + if (this.F.f != 1) { + f0(4); + } + H(false, true, false, true); + } else { + if (aVar.equals(this.F.f911c)) { + q1 q1Var = this.A.h; + j5 = (q1Var == null || !q1Var.d || j2 == 0) ? j2 : q1Var.a.i(j2, this.E); + if (e0.M(j5) == e0.M(this.F.t) && ((i = (w1Var = this.F).f) == 2 || i == 3)) { + long j8 = w1Var.t; + this.F = u(aVar, j8, j, j8, z2, 2); + return; + } + } else { + j5 = j2; + } + long R = R(aVar, j5, this.F.f == 4); + if (j2 == R) { + z3 = false; + } + boolean z4 = z3 | z2; + try { + w1 w1Var2 = this.F; + o2 o2Var = w1Var2.b; + m0(o2Var, aVar, o2Var, w1Var2.f911c, j); + z2 = z4; + j4 = R; + this.F = u(aVar, j4, j, j4, z2, 2); + } catch (Throwable th2) { + th = th2; + z2 = z4; + j3 = R; + this.F = u(aVar, j3, j, j3, z2, 2); + throw th; + } + } + j4 = j2; + this.F = u(aVar, j4, j, j4, z2, 2); + } + j6 = j7; + z2 = gVar.f818c == -9223372036854775807L; + aVar = o; + } + j2 = longValue; + j = j6; + try { + if (!this.F.b.q()) { + } + j4 = j2; + this.F = u(aVar, j4, j, j4, z2, 2); + } catch (Throwable th3) { + th = th3; + j3 = j2; + this.F = u(aVar, j3, j, j3, z2, 2); + throw th; + } + } + + public final long R(a0.a aVar, long j, boolean z2) throws ExoPlaybackException { + s1 s1Var = this.A; + return S(aVar, j, s1Var.h != s1Var.i, z2); + } + + public final long S(a0.a aVar, long j, boolean z2, boolean z3) throws ExoPlaybackException { + s1 s1Var; + k0(); + this.K = false; + if (z3 || this.F.f == 3) { + f0(2); + } + q1 q1Var = this.A.h; + q1 q1Var2 = q1Var; + while (q1Var2 != null && !aVar.equals(q1Var2.f.a)) { + q1Var2 = q1Var2.l; + } + if (z2 || q1Var != q1Var2 || (q1Var2 != null && q1Var2.o + j < 0)) { + for (f2 f2Var : this.i) { + e(f2Var); + } + if (q1Var2 != null) { + while (true) { + s1Var = this.A; + if (s1Var.h == q1Var2) { + break; + } + s1Var.a(); + } + s1Var.n(q1Var2); + q1Var2.o = 1000000000000L; + g(); + } + } + if (q1Var2 != null) { + this.A.n(q1Var2); + if (!q1Var2.d) { + q1Var2.f = q1Var2.f.b(j); + } else if (q1Var2.e) { + long f2 = q1Var2.a.f(j); + q1Var2.a.r(f2 - this.u, this.v); + j = f2; + } + J(j); + z(); + } else { + this.A.b(); + J(j); + } + q(false); + this.p.f(2); + return j; + } + + public final void T(b2 b2Var) throws ExoPlaybackException { + if (b2Var.g == this.r) { + d(b2Var); + int i = this.F.f; + if (i == 3 || i == 2) { + this.p.f(2); + return; + } + return; + } + ((b0.b) this.p.i(15, b2Var)).b(); + } + + public final void U(b2 b2Var) { + Looper looper = b2Var.g; + if (!looper.getThread().isAlive()) { + Log.w("TAG", "Trying to send message on a dead thread."); + b2Var.c(false); + return; + } + this.f813y.b(looper, null).b(new g0(this, b2Var)); + } + + public final void V(f2 f2Var, long j) { + f2Var.l(); + if (f2Var instanceof m) { + m mVar = (m) f2Var; + c.c.a.a0.d.D(mVar.r); + mVar.H = j; + } + } + + public final void W(boolean z2, @Nullable AtomicBoolean atomicBoolean) { + if (this.O != z2) { + this.O = z2; + if (!z2) { + f2[] f2VarArr = this.i; + for (f2 f2Var : f2VarArr) { + if (!w(f2Var) && this.j.remove(f2Var)) { + f2Var.reset(); + } + } + } + } + if (atomicBoolean != null) { + synchronized (this) { + atomicBoolean.set(true); + notifyAll(); + } + } + } + + public final void X(a aVar) throws ExoPlaybackException { + this.G.a(1); + if (aVar.f815c != -1) { + this.S = new g(new c2(aVar.a, aVar.b), aVar.f815c, aVar.d); + } + u1 u1Var = this.B; + List list = aVar.a; + k0 k0Var = aVar.b; + u1Var.i(0, u1Var.a.size()); + r(u1Var.a(u1Var.a.size(), list, k0Var), false); + } + + public final void Y(boolean z2) { + if (z2 != this.Q) { + this.Q = z2; + w1 w1Var = this.F; + int i = w1Var.f; + if (z2 || i == 4 || i == 1) { + this.F = w1Var.c(z2); + } else { + this.p.f(2); + } + } + } + + public final void Z(boolean z2) throws ExoPlaybackException { + this.I = z2; + I(); + if (this.J) { + s1 s1Var = this.A; + if (s1Var.i != s1Var.h) { + P(true); + q(false); + } + } + } + + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [c.i.a.c.a3.j0] */ + @Override // c.i.a.c.a3.j0.a + public void a(x xVar) { + ((b0.b) this.p.i(9, xVar)).b(); + } + + public final void a0(boolean z2, int i, boolean z3, int i2) throws ExoPlaybackException { + this.G.a(z3 ? 1 : 0); + d dVar = this.G; + dVar.a = true; + dVar.f = true; + dVar.g = i2; + this.F = this.F.d(z2, i); + this.K = false; + for (q1 q1Var = this.A.h; q1Var != null; q1Var = q1Var.l) { + j[] jVarArr = q1Var.n.f741c; + for (j jVar : jVarArr) { + if (jVar != null) { + jVar.c(z2); + } + } + } + if (!g0()) { + k0(); + n0(); + return; + } + int i3 = this.F.f; + if (i3 == 3) { + i0(); + this.p.f(2); + } else if (i3 == 2) { + this.p.f(2); + } + } + + @Override // c.i.a.c.a3.x.a + public void b(x xVar) { + ((b0.b) this.p.i(8, xVar)).b(); + } + + public final void b0(x1 x1Var) throws ExoPlaybackException { + this.w.i(x1Var); + x1 c2 = this.w.c(); + t(c2, c2.j, true, true); + } + + public final void c(a aVar, int i) throws ExoPlaybackException { + this.G.a(1); + u1 u1Var = this.B; + if (i == -1) { + i = u1Var.e(); + } + r(u1Var.a(i, aVar.a, aVar.b), false); + } + + public final void c0(int i) throws ExoPlaybackException { + this.M = i; + s1 s1Var = this.A; + o2 o2Var = this.F.b; + s1Var.f = i; + if (!s1Var.q(o2Var)) { + P(true); + } + q(false); + } + + public final void d(b2 b2Var) throws ExoPlaybackException { + b2Var.b(); + boolean z2 = true; + try { + b2Var.a.r(b2Var.e, b2Var.f); + } finally { + b2Var.c(z2); + } + } + + public final void d0(boolean z2) throws ExoPlaybackException { + this.N = z2; + s1 s1Var = this.A; + o2 o2Var = this.F.b; + s1Var.g = z2; + if (!s1Var.q(o2Var)) { + P(true); + } + q(false); + } + + public final void e(f2 f2Var) throws ExoPlaybackException { + if (f2Var.getState() != 0) { + a1 a1Var = this.w; + if (f2Var == a1Var.k) { + a1Var.l = null; + a1Var.k = null; + a1Var.m = true; + } + if (f2Var.getState() == 2) { + f2Var.stop(); + } + f2Var.g(); + this.R--; + } + } + + public final void e0(k0 k0Var) throws ExoPlaybackException { + this.G.a(1); + u1 u1Var = this.B; + int e2 = u1Var.e(); + if (k0Var.b() != e2) { + k0Var = k0Var.h().f(0, e2); + } + u1Var.i = k0Var; + r(u1Var.c(), false); + } + + /* JADX WARNING: Code restructure failed: missing block: B:273:0x0473, code lost: + if (r36.n.f(m(), r36.w.c().j, r36.K, r32) == false) goto L_0x0476; + */ + public final void f() throws ExoPlaybackException, IOException { + boolean z2; + boolean z3; + boolean z4; + boolean z5; + boolean z6; + int i; + boolean z7; + q1 q1Var; + q1 q1Var2; + boolean z8; + long a2 = this.f813y.a(); + if (!this.F.b.q() && this.B.j) { + this.A.m(this.T); + s1 s1Var = this.A; + q1 q1Var3 = s1Var.j; + if (q1Var3 == null || (!q1Var3.f.i && q1Var3.f() && s1Var.j.f.e != -9223372036854775807L && s1Var.k < 100)) { + s1 s1Var2 = this.A; + long j = this.T; + w1 w1Var = this.F; + q1 q1Var4 = s1Var2.j; + r1 d2 = q1Var4 == null ? s1Var2.d(w1Var.b, w1Var.f911c, w1Var.d, w1Var.t) : s1Var2.c(w1Var.b, q1Var4, j); + if (d2 != null) { + s1 s1Var3 = this.A; + g2[] g2VarArr = this.k; + q qVar = this.l; + c.i.a.c.e3.o h = this.n.h(); + u1 u1Var = this.B; + r rVar = this.m; + q1 q1Var5 = s1Var3.j; + q1 q1Var6 = new q1(g2VarArr, q1Var5 == null ? 1000000000000L : (q1Var5.o + q1Var5.f.e) - d2.b, qVar, h, u1Var, d2, rVar); + q1 q1Var7 = s1Var3.j; + if (q1Var7 == null) { + s1Var3.h = q1Var6; + s1Var3.i = q1Var6; + } else if (q1Var6 != q1Var7.l) { + q1Var7.b(); + q1Var7.l = q1Var6; + q1Var7.c(); + } + s1Var3.l = null; + s1Var3.j = q1Var6; + s1Var3.k++; + s1Var3.l(); + q1Var6.a.l(this, d2.b); + if (this.A.h == q1Var6) { + J(d2.b); + } + q(false); + } + } + if (this.L) { + this.L = v(); + l0(); + } else { + z(); + } + q1 q1Var8 = this.A.i; + if (q1Var8 != null) { + if (q1Var8.l != null && !this.J) { + if (q1Var8.d) { + int i2 = 0; + while (true) { + f2[] f2VarArr = this.i; + if (i2 >= f2VarArr.length) { + z8 = true; + break; + } + f2 f2Var = f2VarArr[i2]; + i0 i0Var = q1Var8.f856c[i2]; + if (f2Var.h() != i0Var) { + break; + } + if (i0Var != null && !f2Var.j()) { + q1 q1Var9 = q1Var8.l; + if (!(q1Var8.f.f && q1Var9.d && ((f2Var instanceof m) || f2Var.t() >= q1Var9.e()))) { + break; + } + } + i2++; + } + } + z8 = false; + if (z8) { + q1 q1Var10 = q1Var8.l; + if (q1Var10.d || this.T >= q1Var10.e()) { + r rVar2 = q1Var8.n; + s1 s1Var4 = this.A; + q1 q1Var11 = s1Var4.i; + c.c.a.a0.d.D((q1Var11 == null || q1Var11.l == null) ? false : true); + s1Var4.i = s1Var4.i.l; + s1Var4.l(); + q1 q1Var12 = s1Var4.i; + r rVar3 = q1Var12.n; + if (!q1Var12.d || q1Var12.a.k() == -9223372036854775807L) { + for (int i3 = 0; i3 < this.i.length; i3++) { + boolean b2 = rVar2.b(i3); + boolean b3 = rVar3.b(i3); + if (b2 && !this.i[i3].v()) { + boolean z9 = ((v0) this.k[i3]).i == -2; + h2 h2Var = rVar2.b[i3]; + h2 h2Var2 = rVar3.b[i3]; + if (!b3 || !h2Var2.equals(h2Var) || z9) { + V(this.i[i3], q1Var12.e()); + } + } + } + } else { + long e2 = q1Var12.e(); + f2[] f2VarArr2 = this.i; + for (f2 f2Var2 : f2VarArr2) { + if (f2Var2.h() != null) { + V(f2Var2, e2); + } + } + } + } + } + } else if (q1Var8.f.i || this.J) { + int i4 = 0; + while (true) { + f2[] f2VarArr3 = this.i; + if (i4 >= f2VarArr3.length) { + break; + } + f2 f2Var3 = f2VarArr3[i4]; + i0 i0Var2 = q1Var8.f856c[i4]; + if (i0Var2 != null && f2Var3.h() == i0Var2 && f2Var3.j()) { + long j2 = q1Var8.f.e; + V(f2Var3, (j2 == -9223372036854775807L || j2 == Long.MIN_VALUE) ? -9223372036854775807L : j2 + q1Var8.o); + } + i4++; + } + } + } + s1 s1Var5 = this.A; + q1 q1Var13 = s1Var5.i; + if (!(q1Var13 == null || s1Var5.h == q1Var13 || q1Var13.g)) { + r rVar4 = q1Var13.n; + int i5 = 0; + boolean z10 = false; + while (true) { + f2[] f2VarArr4 = this.i; + if (i5 >= f2VarArr4.length) { + break; + } + f2 f2Var4 = f2VarArr4[i5]; + if (w(f2Var4)) { + boolean z11 = f2Var4.h() != q1Var13.f856c[i5]; + if (!rVar4.b(i5) || z11) { + if (!f2Var4.v()) { + f2Var4.k(i(rVar4.f741c[i5]), q1Var13.f856c[i5], q1Var13.e(), q1Var13.o); + } else if (f2Var4.b()) { + e(f2Var4); + } else { + z10 = true; + } + } + } + i5++; + } + if (!z10) { + g(); + } + } + boolean z12 = false; + while (true) { + if (!(g0() && !this.J && (q1Var = this.A.h) != null && (q1Var2 = q1Var.l) != null && this.T >= q1Var2.e() && q1Var2.g)) { + break; + } + if (z12) { + A(); + } + s1 s1Var6 = this.A; + q1 q1Var14 = s1Var6.h; + q1 a3 = s1Var6.a(); + r1 r1Var = a3.f; + a0.a aVar = r1Var.a; + long j3 = r1Var.b; + w1 u = u(aVar, j3, r1Var.f858c, j3, true, 0); + this.F = u; + o2 o2Var = u.b; + m0(o2Var, a3.f.a, o2Var, q1Var14.f.a, -9223372036854775807L); + I(); + n0(); + z12 = true; + } + } + int i6 = this.F.f; + if (i6 == 1 || i6 == 4) { + this.p.h(2); + return; + } + q1 q1Var15 = this.A.h; + if (q1Var15 == null) { + O(a2, 10); + return; + } + c.c.a.a0.d.f("doSomeWork"); + n0(); + if (q1Var15.d) { + long elapsedRealtime = SystemClock.elapsedRealtime() * 1000; + q1Var15.a.r(this.F.t - this.u, this.v); + boolean z13 = true; + z3 = true; + int i7 = 0; + while (true) { + f2[] f2VarArr5 = this.i; + if (i7 >= f2VarArr5.length) { + break; + } + f2 f2Var5 = f2VarArr5[i7]; + if (w(f2Var5)) { + f2Var5.q(this.T, elapsedRealtime); + boolean z14 = z13 && f2Var5.b(); + boolean z15 = q1Var15.f856c[i7] != f2Var5.h(); + boolean z16 = z15 || (!z15 && f2Var5.j()) || f2Var5.d() || f2Var5.b(); + boolean z17 = z3 && z16; + if (!z16) { + f2Var5.s(); + } + z3 = z17; + z13 = z14; + } + i7++; + } + z2 = z13; + } else { + q1Var15.a.e(); + z3 = true; + z2 = true; + } + long j4 = q1Var15.f.e; + boolean z18 = z2 && q1Var15.d && (j4 == -9223372036854775807L || j4 <= this.F.t); + if (!z18 || !this.J) { + z4 = false; + } else { + z4 = false; + this.J = false; + a0(false, this.F.n, false, 5); + } + if (!z18 || !q1Var15.f.i) { + w1 w1Var2 = this.F; + if (w1Var2.f == 2) { + if (this.R == 0) { + z7 = x(); + } else { + if (z3) { + if (w1Var2.h) { + long j5 = h0(w1Var2.b, this.A.h.f.a) ? ((y0) this.C).i : -9223372036854775807L; + q1 q1Var16 = this.A.j; + boolean z19 = q1Var16.f() && q1Var16.f.i; + boolean z20 = q1Var16.f.a.a() && !q1Var16.d; + if (!z19) { + if (!z20) { + } + } + } + z7 = true; + } + z7 = false; + } + if (z7) { + f0(3); + this.W = null; + if (g0()) { + i0(); + } + } + } + if (this.F.f == 3 && (this.R != 0 ? !z3 : !x())) { + this.K = g0(); + f0(2); + if (this.K) { + for (q1 q1Var17 = this.A.h; q1Var17 != null; q1Var17 = q1Var17.l) { + j[] jVarArr = q1Var17.n.f741c; + for (j jVar : jVarArr) { + if (jVar != null) { + jVar.k(); + } + } + } + y0 y0Var = (y0) this.C; + long j6 = y0Var.i; + if (j6 != -9223372036854775807L) { + long j7 = j6 + y0Var.b; + y0Var.i = j7; + long j8 = y0Var.h; + if (j8 != -9223372036854775807L && j7 > j8) { + y0Var.i = j8; + } + y0Var.m = -9223372036854775807L; + } + } + k0(); + } + } else { + f0(4); + k0(); + } + if (this.F.f == 2) { + int i8 = 0; + while (true) { + f2[] f2VarArr6 = this.i; + if (i8 >= f2VarArr6.length) { + break; + } + if (w(f2VarArr6[i8]) && this.i[i8].h() == q1Var15.f856c[i8]) { + this.i[i8].s(); + } + i8++; + } + w1 w1Var3 = this.F; + if (!w1Var3.h && w1Var3.f912s < 500000 && v()) { + throw new IllegalStateException("Playback stuck buffering and not loading"); + } + } + boolean z21 = this.Q; + w1 w1Var4 = this.F; + if (z21 != w1Var4.p) { + this.F = w1Var4.c(z21); + } + if ((!g0() || this.F.f != 3) && (i = this.F.f) != 2) { + if (this.R == 0 || i == 4) { + this.p.h(2); + } else { + O(a2, 1000); + } + z5 = false; + } else { + if (!this.Q || !this.P) { + this.p.h(2); + this.p.g(2, a2 + 10); + z6 = true; + } else { + z6 = false; + } + z5 = !z6; + } + w1 w1Var5 = this.F; + if (w1Var5.q != z5) { + this.F = new w1(w1Var5.b, w1Var5.f911c, w1Var5.d, w1Var5.e, w1Var5.f, w1Var5.g, w1Var5.h, w1Var5.i, w1Var5.j, w1Var5.k, w1Var5.l, w1Var5.m, w1Var5.n, w1Var5.o, w1Var5.r, w1Var5.f912s, w1Var5.t, w1Var5.p, z5); + } + this.P = z4; + c.c.a.a0.d.c0(); + } + + public final void f0(int i) { + w1 w1Var = this.F; + if (w1Var.f != i) { + this.F = w1Var.f(i); + } + } + + public final void g() throws ExoPlaybackException { + h(new boolean[this.i.length]); + } + + public final boolean g0() { + w1 w1Var = this.F; + return w1Var.m && w1Var.n == 0; + } + + public final void h(boolean[] zArr) throws ExoPlaybackException { + s sVar; + q1 q1Var = this.A.i; + r rVar = q1Var.n; + for (int i = 0; i < this.i.length; i++) { + if (!rVar.b(i) && this.j.remove(this.i[i])) { + this.i[i].reset(); + } + } + for (int i2 = 0; i2 < this.i.length; i2++) { + if (rVar.b(i2)) { + boolean z2 = zArr[i2]; + f2 f2Var = this.i[i2]; + if (!w(f2Var)) { + s1 s1Var = this.A; + q1 q1Var2 = s1Var.i; + boolean z3 = q1Var2 == s1Var.h; + r rVar2 = q1Var2.n; + h2 h2Var = rVar2.b[i2]; + j1[] i3 = i(rVar2.f741c[i2]); + boolean z4 = g0() && this.F.f == 3; + boolean z5 = !z2 && z4; + this.R++; + this.j.add(f2Var); + f2Var.o(h2Var, i3, q1Var2.f856c[i2], this.T, z5, z3, q1Var2.e(), q1Var2.o); + f2Var.r(11, new g1(this)); + a1 a1Var = this.w; + Objects.requireNonNull(a1Var); + s w = f2Var.w(); + if (!(w == null || w == (sVar = a1Var.l))) { + if (sVar == null) { + a1Var.l = w; + a1Var.k = f2Var; + w.i(a1Var.i.m); + } else { + throw ExoPlaybackException.b(new IllegalStateException("Multiple renderer media clocks enabled."), 1000); + } + } + if (z4) { + f2Var.start(); + } + } else { + continue; + } + } + } + q1Var.g = true; + } + + public final boolean h0(o2 o2Var, a0.a aVar) { + if (aVar.a() || o2Var.q()) { + return false; + } + o2Var.n(o2Var.h(aVar.a, this.t).k, this.f811s); + if (!this.f811s.c()) { + return false; + } + o2.c cVar = this.f811s; + return cVar.u && cVar.r != -9223372036854775807L; + } + + @Override // android.os.Handler.Callback + public boolean handleMessage(Message message) { + q1 q1Var; + int i = 1000; + try { + switch (message.what) { + case 0: + D(); + break; + case 1: + a0(message.arg1 != 0, message.arg2, true, 1); + break; + case 2: + f(); + break; + case 3: + Q((g) message.obj); + break; + case 4: + b0((x1) message.obj); + break; + case 5: + this.E = (j2) message.obj; + break; + case 6: + j0(false, true); + break; + case 7: + E(); + return true; + case 8: + s((x) message.obj); + break; + case 9: + o((x) message.obj); + break; + case 10: + G(); + break; + case 11: + c0(message.arg1); + break; + case 12: + d0(message.arg1 != 0); + break; + case 13: + W(message.arg1 != 0, (AtomicBoolean) message.obj); + break; + case 14: + b2 b2Var = (b2) message.obj; + Objects.requireNonNull(b2Var); + T(b2Var); + break; + case 15: + U((b2) message.obj); + break; + case 16: + x1 x1Var = (x1) message.obj; + t(x1Var, x1Var.j, true, false); + break; + case 17: + X((a) message.obj); + break; + case 18: + c((a) message.obj, message.arg1); + break; + case 19: + C((b) message.obj); + break; + case 20: + F(message.arg1, message.arg2, (k0) message.obj); + break; + case 21: + e0((k0) message.obj); + break; + case 22: + B(); + break; + case 23: + Z(message.arg1 != 0); + break; + case 24: + Y(message.arg1 == 1); + break; + case 25: + P(true); + break; + default: + return false; + } + } catch (ExoPlaybackException e2) { + e = e2; + if (e.type == 1 && (q1Var = this.A.i) != null) { + e = e.a(q1Var.f.a); + } + if (!e.isRecoverable || this.W != null) { + ExoPlaybackException exoPlaybackException = this.W; + if (exoPlaybackException != null) { + exoPlaybackException.addSuppressed(e); + e = this.W; + } + c.i.a.c.f3.q.b("ExoPlayerImplInternal", "Playback error", e); + j0(true, false); + this.F = this.F.e(e); + } else { + c.i.a.c.f3.q.c("ExoPlayerImplInternal", "Recoverable renderer error", e); + this.W = e; + o oVar = this.p; + oVar.d(oVar.i(25, e)); + } + } catch (DrmSession.DrmSessionException e3) { + p(e3, e3.errorCode); + } catch (ParserException e4) { + int i2 = e4.dataType; + if (i2 == 1) { + i = e4.contentIsMalformed ? 3001 : 3003; + } else if (i2 == 4) { + i = e4.contentIsMalformed ? 3002 : 3004; + } + p(e4, i); + } catch (DataSourceException e5) { + p(e5, e5.reason); + } catch (BehindLiveWindowException e6) { + p(e6, PointerIconCompat.TYPE_HAND); + } catch (IOException e7) { + p(e7, 2000); + } catch (RuntimeException e8) { + if ((e8 instanceof IllegalStateException) || (e8 instanceof IllegalArgumentException)) { + i = PointerIconCompat.TYPE_WAIT; + } + ExoPlaybackException b2 = ExoPlaybackException.b(e8, i); + c.i.a.c.f3.q.b("ExoPlayerImplInternal", "Playback error", b2); + j0(true, false); + this.F = this.F.e(b2); + } + A(); + return true; + } + + public final void i0() throws ExoPlaybackException { + this.K = false; + a1 a1Var = this.w; + a1Var.n = true; + a1Var.i.b(); + f2[] f2VarArr = this.i; + for (f2 f2Var : f2VarArr) { + if (w(f2Var)) { + f2Var.start(); + } + } + } + + public final long j(o2 o2Var, Object obj, long j) { + o2Var.n(o2Var.h(obj, this.t).k, this.f811s); + o2.c cVar = this.f811s; + if (cVar.r != -9223372036854775807L && cVar.c()) { + o2.c cVar2 = this.f811s; + if (cVar2.u) { + long j2 = cVar2.f843s; + int i = e0.a; + return e0.B((j2 == -9223372036854775807L ? System.currentTimeMillis() : j2 + SystemClock.elapsedRealtime()) - this.f811s.r) - (j + this.t.m); + } + } + return -9223372036854775807L; + } + + public final void j0(boolean z2, boolean z3) { + H(z2 || !this.O, false, true, false); + this.G.a(z3 ? 1 : 0); + this.n.i(); + f0(1); + } + + public final long k() { + q1 q1Var = this.A.i; + if (q1Var == null) { + return 0; + } + long j = q1Var.o; + if (!q1Var.d) { + return j; + } + int i = 0; + while (true) { + f2[] f2VarArr = this.i; + if (i >= f2VarArr.length) { + return j; + } + if (w(f2VarArr[i]) && this.i[i].h() == q1Var.f856c[i]) { + long t = this.i[i].t(); + if (t == Long.MIN_VALUE) { + return Long.MIN_VALUE; + } + j = Math.max(t, j); + } + i++; + } + } + + public final void k0() throws ExoPlaybackException { + a1 a1Var = this.w; + a1Var.n = false; + z zVar = a1Var.i; + if (zVar.j) { + zVar.a(zVar.e()); + zVar.j = false; + } + f2[] f2VarArr = this.i; + for (f2 f2Var : f2VarArr) { + if (w(f2Var) && f2Var.getState() == 2) { + f2Var.stop(); + } + } + } + + public final Pair l(o2 o2Var) { + long j = 0; + if (o2Var.q()) { + a0.a aVar = w1.a; + return Pair.create(w1.a, 0L); + } + Pair j2 = o2Var.j(this.f811s, this.t, o2Var.a(this.N), -9223372036854775807L); + a0.a o = this.A.o(o2Var, j2.first, 0); + long longValue = ((Long) j2.second).longValue(); + if (o.a()) { + o2Var.h(o.a, this.t); + if (o.f672c == this.t.d(o.b)) { + j = this.t.o.n; + } + longValue = j; + } + return Pair.create(o, Long.valueOf(longValue)); + } + + public final void l0() { + q1 q1Var = this.A.j; + boolean z2 = this.L || (q1Var != null && q1Var.a.h()); + w1 w1Var = this.F; + if (z2 != w1Var.h) { + this.F = new w1(w1Var.b, w1Var.f911c, w1Var.d, w1Var.e, w1Var.f, w1Var.g, z2, w1Var.i, w1Var.j, w1Var.k, w1Var.l, w1Var.m, w1Var.n, w1Var.o, w1Var.r, w1Var.f912s, w1Var.t, w1Var.p, w1Var.q); + } + } + + public final long m() { + return n(this.F.r); + } + + public final void m0(o2 o2Var, a0.a aVar, o2 o2Var2, a0.a aVar2, long j) { + if (o2Var.q() || !h0(o2Var, aVar)) { + float f2 = this.w.c().j; + x1 x1Var = this.F.o; + if (f2 != x1Var.j) { + this.w.i(x1Var); + return; + } + return; + } + o2Var.n(o2Var.h(aVar.a, this.t).k, this.f811s); + m1 m1Var = this.C; + o1.g gVar = this.f811s.w; + int i = e0.a; + y0 y0Var = (y0) m1Var; + Objects.requireNonNull(y0Var); + y0Var.d = e0.B(gVar.k); + y0Var.g = e0.B(gVar.l); + y0Var.h = e0.B(gVar.m); + float f3 = gVar.n; + if (f3 == -3.4028235E38f) { + f3 = 0.97f; + } + y0Var.k = f3; + float f4 = gVar.o; + if (f4 == -3.4028235E38f) { + f4 = 1.03f; + } + y0Var.j = f4; + y0Var.a(); + if (j != -9223372036854775807L) { + y0 y0Var2 = (y0) this.C; + y0Var2.e = j(o2Var, aVar.a, j); + y0Var2.a(); + return; + } + Object obj = this.f811s.m; + Object obj2 = null; + if (!o2Var2.q()) { + obj2 = o2Var2.n(o2Var2.h(aVar2.a, this.t).k, this.f811s).m; + } + if (!e0.a(obj2, obj)) { + y0 y0Var3 = (y0) this.C; + y0Var3.e = -9223372036854775807L; + y0Var3.a(); + } + } + + public final long n(long j) { + q1 q1Var = this.A.j; + if (q1Var == null) { + return 0; + } + return Math.max(0L, j - (this.T - q1Var.o)); + } + + /* JADX INFO: finally extract failed */ + /* JADX WARNING: Removed duplicated region for block: B:146:0x0154 A[EDGE_INSN: B:146:0x0154->B:69:0x0154 ?: BREAK , SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:151:0x018d A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:161:0x01c4 A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:163:0x01bb A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:60:0x0135 */ + /* JADX WARNING: Removed duplicated region for block: B:71:0x015c */ + /* JADX WARNING: Removed duplicated region for block: B:86:0x0192 */ + public final void n0() throws ExoPlaybackException { + long j; + h1 h1Var; + c cVar; + c cVar2; + h1 h1Var2; + long j2; + q1 q1Var = this.A.h; + if (q1Var != null) { + long k = q1Var.d ? q1Var.a.k() : -9223372036854775807L; + if (k != -9223372036854775807L) { + J(k); + if (k != this.F.t) { + w1 w1Var = this.F; + this.F = u(w1Var.f911c, k, w1Var.d, k, true, 5); + } + } else { + a1 a1Var = this.w; + boolean z2 = q1Var != this.A.i; + f2 f2Var = a1Var.k; + if (f2Var == null || f2Var.b() || (!a1Var.k.d() && (z2 || a1Var.k.j()))) { + a1Var.m = true; + if (a1Var.n) { + a1Var.i.b(); + } + } else { + s sVar = a1Var.l; + Objects.requireNonNull(sVar); + long e2 = sVar.e(); + if (a1Var.m) { + if (e2 < a1Var.i.e()) { + z zVar = a1Var.i; + if (zVar.j) { + zVar.a(zVar.e()); + zVar.j = false; + } + } else { + a1Var.m = false; + if (a1Var.n) { + a1Var.i.b(); + } + } + } + a1Var.i.a(e2); + x1 c2 = sVar.c(); + if (!c2.equals(a1Var.i.m)) { + z zVar2 = a1Var.i; + if (zVar2.j) { + zVar2.a(zVar2.e()); + } + zVar2.m = c2; + ((b0.b) ((h1) a1Var.j).p.i(16, c2)).b(); + } + } + long e3 = a1Var.e(); + this.T = e3; + long j3 = e3 - q1Var.o; + long j4 = this.F.t; + if (!this.f812x.isEmpty() && !this.F.f911c.a()) { + if (this.V) { + j4--; + this.V = false; + } + w1 w1Var2 = this.F; + int b2 = w1Var2.b.b(w1Var2.f911c.a); + int min = Math.min(this.U, this.f812x.size()); + if (min > 0) { + cVar = this.f812x.get(min - 1); + j = j3; + h1Var = this; + while (true) { + if (cVar != null) { + break; + } + int i = cVar.j; + if (i <= b2 && (i != b2 || cVar.k <= j4)) { + break; + } + min--; + if (min <= 0) { + h1Var2 = h1Var; + j2 = j; + break; + } + cVar = h1Var.f812x.get(min - 1); + } + if (min < h1Var.f812x.size()) { + cVar2 = h1Var.f812x.get(min); + while (true) { + if (cVar2 == null || cVar2.l == null) { + break; + } + int i2 = cVar2.j; + if (i2 >= b2 && (i2 != b2 || cVar2.k > j4)) { + break; + } + min++; + if (min >= h1Var.f812x.size()) { + break; + } + cVar2 = h1Var.f812x.get(min); + } + while (cVar2 != null && cVar2.l != null && cVar2.j == b2) { + long j5 = cVar2.k; + if (j5 <= j4 || j5 > j) { + break; + } + try { + h1Var.T(cVar2.i); + Objects.requireNonNull(cVar2.i); + h1Var.f812x.remove(min); + cVar2 = min >= h1Var.f812x.size() ? h1Var.f812x.get(min) : null; + } catch (Throwable th) { + Objects.requireNonNull(cVar2.i); + h1Var.f812x.remove(min); + throw th; + } + } + h1Var.U = min; + } + cVar2 = null; + while (true) { + int i2 = cVar2.j; + min++; + if (min >= h1Var.f812x.size()) { + } + cVar2 = h1Var.f812x.get(min); + } + while (cVar2 != null) { + long j5 = cVar2.k; + h1Var.T(cVar2.i); + Objects.requireNonNull(cVar2.i); + h1Var.f812x.remove(min); + if (min >= h1Var.f812x.size()) { + } + } + h1Var.U = min; + } else { + j2 = j3; + h1Var2 = this; + } + j = j2; + h1Var = h1Var2; + cVar = null; + while (true) { + if (cVar != null) { + } + cVar = h1Var.f812x.get(min - 1); + } + if (min < h1Var.f812x.size()) { + } + cVar2 = null; + while (true) { + int i2 = cVar2.j; + min++; + if (min >= h1Var.f812x.size()) { + } + cVar2 = h1Var.f812x.get(min); + } + while (cVar2 != null) { + } + h1Var.U = min; + } + this.F.t = j3; + } + this.F.r = this.A.j.d(); + this.F.f912s = m(); + w1 w1Var3 = this.F; + if (w1Var3.m && w1Var3.f == 3 && h0(w1Var3.b, w1Var3.f911c)) { + w1 w1Var4 = this.F; + float f2 = 1.0f; + if (w1Var4.o.j == 1.0f) { + m1 m1Var = this.C; + long j6 = j(w1Var4.b, w1Var4.f911c.a, w1Var4.t); + long m = m(); + y0 y0Var = (y0) m1Var; + if (y0Var.d != -9223372036854775807L) { + long j7 = j6 - m; + long j8 = y0Var.n; + if (j8 == -9223372036854775807L) { + y0Var.n = j7; + y0Var.o = 0; + } else { + float f3 = y0Var.f1040c; + long max = Math.max(j7, (long) (((1.0f - f3) * ((float) j7)) + (((float) j8) * f3))); + y0Var.n = max; + long abs = Math.abs(j7 - max); + long j9 = y0Var.o; + float f4 = y0Var.f1040c; + y0Var.o = (long) (((1.0f - f4) * ((float) abs)) + (((float) j9) * f4)); + } + if (y0Var.m == -9223372036854775807L || SystemClock.elapsedRealtime() - y0Var.m >= 1000) { + y0Var.m = SystemClock.elapsedRealtime(); + long j10 = (y0Var.o * 3) + y0Var.n; + if (y0Var.i > j10) { + float B = (float) e0.B(1000); + long[] jArr = {j10, y0Var.f, y0Var.i - (((long) ((y0Var.l - 1.0f) * B)) + ((long) ((y0Var.j - 1.0f) * B)))}; + c.i.a.f.e.o.f.q(true); + long j11 = jArr[0]; + for (int i3 = 1; i3 < 3; i3++) { + if (jArr[i3] > j11) { + j11 = jArr[i3]; + } + } + y0Var.i = j11; + } else { + long i4 = e0.i(j6 - ((long) (Math.max(0.0f, y0Var.l - 1.0f) / 1.0E-7f)), y0Var.i, j10); + y0Var.i = i4; + long j12 = y0Var.h; + if (j12 != -9223372036854775807L && i4 > j12) { + y0Var.i = j12; + } + } + long j13 = j6 - y0Var.i; + if (Math.abs(j13) < y0Var.a) { + y0Var.l = 1.0f; + } else { + y0Var.l = e0.g((1.0E-7f * ((float) j13)) + 1.0f, y0Var.k, y0Var.j); + } + f2 = y0Var.l; + } else { + f2 = y0Var.l; + } + } + if (this.w.c().j != f2) { + this.w.i(new x1(f2, this.F.o.k)); + t(this.F.o, this.w.c().j, false, false); + } + } + } + } + } + + public final void o(x xVar) { + s1 s1Var = this.A; + q1 q1Var = s1Var.j; + if (q1Var != null && q1Var.a == xVar) { + s1Var.m(this.T); + z(); + } + } + + public final void p(IOException iOException, int i) { + ExoPlaybackException exoPlaybackException = new ExoPlaybackException(0, iOException, i); + q1 q1Var = this.A.h; + if (q1Var != null) { + exoPlaybackException = exoPlaybackException.a(q1Var.f.a); + } + c.i.a.c.f3.q.b("ExoPlayerImplInternal", "Playback error", exoPlaybackException); + j0(false, false); + this.F = this.F.e(exoPlaybackException); + } + + public final void q(boolean z2) { + q1 q1Var = this.A.j; + a0.a aVar = q1Var == null ? this.F.f911c : q1Var.f.a; + boolean z3 = !this.F.l.equals(aVar); + if (z3) { + this.F = this.F.a(aVar); + } + w1 w1Var = this.F; + w1Var.r = q1Var == null ? w1Var.t : q1Var.d(); + this.F.f912s = m(); + if ((z3 || z2) && q1Var != null && q1Var.d) { + this.n.d(this.i, q1Var.m, q1Var.n.f741c); + } + } + + /* JADX WARNING: Removed duplicated region for block: B:164:0x033a */ + /* JADX WARNING: Removed duplicated region for block: B:165:0x033d */ + /* JADX WARNING: Removed duplicated region for block: B:180:0x0381 */ + /* JADX WARNING: Removed duplicated region for block: B:184:0x03ab */ + public final void r(o2 o2Var, boolean z2) throws ExoPlaybackException { + boolean z3; + boolean z4; + boolean z5; + a0.a aVar; + int i; + int i2; + long j; + Object obj; + long j2; + long j3; + f fVar; + long j4; + int i3; + Object obj2; + boolean z6; + int i4; + int i5; + long j5; + boolean z7; + boolean z8; + long j6; + boolean z9; + boolean z10; + int i6; + int i7; + boolean z11; + long j7; + Object obj3; + boolean z12; + g gVar; + Throwable th; + Object obj4; + boolean z13; + w1 w1Var = this.F; + g gVar2 = this.S; + s1 s1Var = this.A; + int i8 = this.M; + boolean z14 = this.N; + o2.c cVar = this.f811s; + o2.b bVar = this.t; + if (o2Var.q()) { + a0.a aVar2 = w1.a; + fVar = new f(w1.a, 0, -9223372036854775807L, false, true, false); + } else { + a0.a aVar3 = w1Var.f911c; + Object obj5 = aVar3.a; + boolean y2 = y(w1Var, bVar); + long j8 = (w1Var.f911c.a() || y2) ? w1Var.d : w1Var.t; + if (gVar2 != null) { + Object obj6 = obj5; + Pair M = M(o2Var, gVar2, true, i8, z14, cVar, bVar); + if (M == null) { + i6 = o2Var.a(z14); + j6 = j8; + z10 = false; + z9 = false; + z8 = true; + } else { + if (gVar2.f818c == -9223372036854775807L) { + i7 = o2Var.h(M.first, bVar).k; + j7 = j8; + obj3 = obj6; + z11 = false; + } else { + Object obj7 = M.first; + j7 = ((Long) M.second).longValue(); + obj3 = obj7; + z11 = true; + i7 = -1; + } + obj6 = obj3; + i6 = i7; + z8 = false; + z9 = w1Var.f == 4; + z10 = z11; + j6 = j7; + } + z3 = z10; + z5 = z9; + j = j6; + z4 = z8; + aVar = aVar3; + i = -1; + i2 = i6; + obj = obj6; + } else { + if (w1Var.b.q()) { + i5 = o2Var.a(z14); + obj2 = obj5; + } else if (o2Var.b(obj5) == -1) { + obj2 = obj5; + Object N = N(cVar, bVar, i8, z14, obj5, w1Var.b, o2Var); + if (N == null) { + i4 = o2Var.a(z14); + z7 = true; + } else { + i4 = o2Var.h(N, bVar).k; + z7 = false; + } + z6 = z7; + aVar = aVar3; + i2 = i4; + z4 = z6; + obj = obj2; + j = j8; + i = -1; + z5 = false; + z3 = false; + } else { + obj2 = obj5; + if (j8 == -9223372036854775807L) { + i5 = o2Var.h(obj2, bVar).k; + } else if (y2) { + aVar = aVar3; + w1Var.b.h(aVar.a, bVar); + if (w1Var.b.n(bVar.k, cVar).A == w1Var.b.b(aVar.a)) { + Pair j9 = o2Var.j(cVar, bVar, o2Var.h(obj2, bVar).k, j8 + bVar.m); + Object obj8 = j9.first; + long longValue = ((Long) j9.second).longValue(); + obj = obj8; + j5 = longValue; + } else { + obj = obj2; + j5 = j8; + } + j = j5; + i2 = -1; + i = -1; + z5 = false; + z4 = false; + z3 = true; + } else { + aVar = aVar3; + i5 = -1; + i4 = i5; + z6 = false; + i2 = i4; + z4 = z6; + obj = obj2; + j = j8; + i = -1; + z5 = false; + z3 = false; + } + } + aVar = aVar3; + i4 = i5; + z6 = false; + i2 = i4; + z4 = z6; + obj = obj2; + j = j8; + i = -1; + z5 = false; + z3 = false; + } + if (i2 != i) { + Pair j10 = o2Var.j(cVar, bVar, i2, -9223372036854775807L); + Object obj9 = j10.first; + long longValue2 = ((Long) j10.second).longValue(); + obj = obj9; + j = longValue2; + j2 = -9223372036854775807L; + } else { + j2 = j; + } + a0.a o = s1Var.o(o2Var, obj, j); + boolean z15 = o.e == -1 || ((i3 = aVar.e) != -1 && o.b >= i3); + boolean equals = aVar.a.equals(obj); + boolean z16 = equals && !aVar.a() && !o.a() && z15; + o2Var.h(obj, bVar); + boolean z17 = equals && !y2 && j8 == j2 && ((o.a() && bVar.e(o.b)) || (aVar.a() && bVar.e(aVar.b))); + if (z16 || z17) { + o = aVar; + } + if (o.a()) { + if (o.equals(aVar)) { + j4 = w1Var.t; + } else { + o2Var.h(o.a, bVar); + j4 = o.f672c == bVar.d(o.b) ? bVar.o.n : 0; + } + j3 = j4; + } else { + j3 = j; + } + fVar = new f(o, j3, j2, z5, z4, z3); + } + a0.a aVar4 = fVar.a; + long j11 = fVar.f817c; + boolean z18 = fVar.d; + long j12 = fVar.b; + boolean z19 = !this.F.f911c.equals(aVar4) || j12 != this.F.t; + int i9 = 3; + try { + if (fVar.e) { + if (this.F.f != 1) { + f0(4); + } + H(false, false, false, true); + } + if (!z19) { + try { + z13 = false; + z12 = true; + if (!this.A.r(o2Var, this.T, k())) { + P(false); + } + } catch (Throwable th2) { + th = th2; + gVar = null; + w1 w1Var2 = this.F; + m0(o2Var, aVar4, w1Var2.b, w1Var2.f911c, fVar.f ? j12 : -9223372036854775807L); + w1 w1Var3 = this.F; + obj4 = w1Var3.f911c.a; + o2 o2Var2 = w1Var3.b; + z12 = false; + long j13 = this.F.e; + if (o2Var.b(obj4) == -1) { + } + this.F = u(aVar4, j12, j11, j13, z12, i9); + I(); + L(o2Var, this.F.b); + this.F = this.F.g(o2Var); + if (!o2Var.q()) { + } + q(false); + throw th; + } + } else { + z13 = false; + z12 = true; + if (!o2Var.q()) { + for (q1 q1Var = this.A.h; q1Var != null; q1Var = q1Var.l) { + if (q1Var.f.a.equals(aVar4)) { + q1Var.f = this.A.h(o2Var, q1Var.f); + q1Var.j(); + } + } + j12 = R(aVar4, j12, z18); + } + } + w1 w1Var4 = this.F; + m0(o2Var, aVar4, w1Var4.b, w1Var4.f911c, fVar.f ? j12 : -9223372036854775807L); + if (z19 || j11 != this.F.d) { + w1 w1Var5 = this.F; + Object obj10 = w1Var5.f911c.a; + o2 o2Var3 = w1Var5.b; + if (!z19 || !z2 || o2Var3.q() || o2Var3.h(obj10, this.t).n) { + z12 = false; + } + long j14 = this.F.e; + if (o2Var.b(obj10) == -1) { + i9 = 4; + } + this.F = u(aVar4, j12, j11, j14, z12, i9); + } + I(); + L(o2Var, this.F.b); + this.F = this.F.g(o2Var); + if (!o2Var.q()) { + this.S = null; + } + q(z13); + } catch (Throwable th3) { + th = th3; + gVar = null; + z12 = true; + w1 w1Var2 = this.F; + m0(o2Var, aVar4, w1Var2.b, w1Var2.f911c, fVar.f ? j12 : -9223372036854775807L); + w1 w1Var3 = this.F; + obj4 = w1Var3.f911c.a; + o2 o2Var2 = w1Var3.b; + z12 = false; + long j13 = this.F.e; + if (o2Var.b(obj4) == -1) { + } + this.F = u(aVar4, j12, j11, j13, z12, i9); + I(); + L(o2Var, this.F.b); + this.F = this.F.g(o2Var); + if (!o2Var.q()) { + } + q(false); + throw th; + } + } + + public final void s(x xVar) throws ExoPlaybackException { + q1 q1Var = this.A.j; + if (q1Var != null && q1Var.a == xVar) { + float f2 = this.w.c().j; + o2 o2Var = this.F.b; + q1Var.d = true; + q1Var.m = q1Var.a.n(); + r i = q1Var.i(f2, o2Var); + r1 r1Var = q1Var.f; + long j = r1Var.b; + long j2 = r1Var.e; + if (j2 != -9223372036854775807L && j >= j2) { + j = Math.max(0L, j2 - 1); + } + long a2 = q1Var.a(i, j, false, new boolean[q1Var.i.length]); + long j3 = q1Var.o; + r1 r1Var2 = q1Var.f; + q1Var.o = (r1Var2.b - a2) + j3; + q1Var.f = r1Var2.b(a2); + this.n.d(this.i, q1Var.m, q1Var.n.f741c); + if (q1Var == this.A.h) { + J(q1Var.f.b); + g(); + w1 w1Var = this.F; + a0.a aVar = w1Var.f911c; + long j4 = q1Var.f.b; + this.F = u(aVar, j4, w1Var.d, j4, false, 5); + } + z(); + } + } + + public final void t(x1 x1Var, float f2, boolean z2, boolean z3) throws ExoPlaybackException { + int i; + h1 h1Var = this; + if (z2) { + if (z3) { + h1Var.G.a(1); + } + w1 w1Var = h1Var.F; + h1Var = this; + h1Var.F = new w1(w1Var.b, w1Var.f911c, w1Var.d, w1Var.e, w1Var.f, w1Var.g, w1Var.h, w1Var.i, w1Var.j, w1Var.k, w1Var.l, w1Var.m, w1Var.n, x1Var, w1Var.r, w1Var.f912s, w1Var.t, w1Var.p, w1Var.q); + } + float f3 = x1Var.j; + q1 q1Var = h1Var.A.h; + while (true) { + i = 0; + if (q1Var == null) { + break; + } + j[] jVarArr = q1Var.n.f741c; + int length = jVarArr.length; + while (i < length) { + j jVar = jVarArr[i]; + if (jVar != null) { + jVar.i(f3); + } + i++; + } + q1Var = q1Var.l; + } + f2[] f2VarArr = h1Var.i; + int length2 = f2VarArr.length; + while (i < length2) { + f2 f2Var = f2VarArr[i]; + if (f2Var != null) { + f2Var.n(f2, x1Var.j); + } + i++; + } + } + + @CheckResult + public final w1 u(a0.a aVar, long j, long j2, long j3, boolean z2, int i) { + p pVar; + r rVar; + o0 o0Var; + p pVar2; + o0 o0Var2; + int i2 = 0; + this.V = this.V || j != this.F.t || !aVar.equals(this.F.f911c); + I(); + w1 w1Var = this.F; + o0 o0Var3 = w1Var.i; + r rVar2 = w1Var.j; + List list = w1Var.k; + if (this.B.j) { + q1 q1Var = this.A.h; + o0 o0Var4 = q1Var == null ? o0.i : q1Var.m; + r rVar3 = q1Var == null ? this.m : q1Var.n; + j[] jVarArr = rVar3.f741c; + c.i.a.f.e.o.f.v(4, "initialCapacity"); + Object[] objArr = new Object[4]; + int length = jVarArr.length; + int i3 = 0; + boolean z3 = false; + int i4 = 0; + while (i3 < length) { + j jVar = jVarArr[i3]; + if (jVar != null) { + Metadata metadata = jVar.d(i2).t; + if (metadata == null) { + o0Var2 = o0Var4; + Metadata metadata2 = new Metadata(new Metadata.Entry[i2]); + int i5 = i4 + 1; + if (objArr.length < i5) { + objArr = Arrays.copyOf(objArr, n.b.a(objArr.length, i5)); + } + objArr[i4] = metadata2; + i4 = i5; + } else { + o0Var2 = o0Var4; + int i6 = i4 + 1; + if (objArr.length < i6) { + objArr = Arrays.copyOf(objArr, n.b.a(objArr.length, i6)); + } + objArr[i4] = metadata; + i4 = i6; + z3 = true; + } + } else { + o0Var2 = o0Var4; + } + i3++; + o0Var4 = o0Var2; + i2 = 0; + } + if (z3) { + pVar2 = p.l(objArr, i4); + } else { + c.i.b.b.a aVar2 = p.j; + pVar2 = h0.k; + } + if (q1Var != null) { + r1 r1Var = q1Var.f; + if (r1Var.f858c != j2) { + q1Var.f = r1Var.a(j2); + } + } + pVar = pVar2; + rVar = rVar3; + o0Var = o0Var4; + } else if (!aVar.equals(w1Var.f911c)) { + o0 o0Var5 = o0.i; + r rVar4 = this.m; + c.i.b.b.a aVar3 = p.j; + o0Var = o0Var5; + rVar = rVar4; + pVar = h0.k; + } else { + o0Var = o0Var3; + rVar = rVar2; + pVar = list; + } + if (z2) { + d dVar = this.G; + if (!dVar.d || dVar.e == 5) { + dVar.a = true; + dVar.d = true; + dVar.e = i; + } else { + c.c.a.a0.d.j(i == 5); + } + } + return this.F.b(aVar, j, j2, j3, m(), o0Var, rVar, pVar); + } + + public final boolean v() { + q1 q1Var = this.A.j; + if (q1Var == null) { + return false; + } + return (!q1Var.d ? 0 : q1Var.a.c()) != Long.MIN_VALUE; + } + + public final boolean x() { + q1 q1Var = this.A.h; + long j = q1Var.f.e; + return q1Var.d && (j == -9223372036854775807L || this.F.t < j || !g0()); + } + + public final void z() { + boolean z2; + long j; + long j2; + if (!v()) { + z2 = false; + } else { + q1 q1Var = this.A.j; + long n = n(!q1Var.d ? 0 : q1Var.a.c()); + if (q1Var == this.A.h) { + j2 = this.T; + j = q1Var.o; + } else { + j2 = this.T - q1Var.o; + j = q1Var.f.b; + } + z2 = this.n.g(j2 - j, n, this.w.c().j); + } + this.L = z2; + if (z2) { + q1 q1Var2 = this.A.j; + long j3 = this.T; + c.c.a.a0.d.D(q1Var2.g()); + q1Var2.a.g(j3 - q1Var2.o); + } + l0(); } } diff --git a/app/src/main/java/c/i/a/c/h2.java b/app/src/main/java/c/i/a/c/h2.java new file mode 100644 index 0000000000..2f5584d03d --- /dev/null +++ b/app/src/main/java/c/i/a/c/h2.java @@ -0,0 +1,23 @@ +package c.i.a.c; + +import androidx.annotation.Nullable; +/* compiled from: RendererConfiguration */ +public final class h2 { + public static final h2 a = new h2(false); + public final boolean b; + + public h2(boolean z2) { + this.b = z2; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + return obj != null && h2.class == obj.getClass() && this.b == ((h2) obj).b; + } + + public int hashCode() { + return !this.b ? 1 : 0; + } +} diff --git a/app/src/main/java/c/i/a/c/h2/a.java b/app/src/main/java/c/i/a/c/h2/a.java deleted file mode 100644 index 2a993530a6..0000000000 --- a/app/src/main/java/c/i/a/c/h2/a.java +++ /dev/null @@ -1,63 +0,0 @@ -package c.i.a.c.h2; - -import androidx.core.view.PointerIconCompat; -import c.i.a.c.d2.y; -import c.i.a.c.h2.d; -import c.i.a.c.i2.o; -import c.i.a.c.u1.c1; -import c.i.a.c.u1.d1; -import c.i.a.c.u1.k; -import c.i.b.b.u; -import java.util.Iterator; -import java.util.List; -import java.util.NoSuchElementException; -/* compiled from: lambda */ -public final /* synthetic */ class a implements Runnable { - public final /* synthetic */ d.a.C0097a.C0098a i; - public final /* synthetic */ int j; - public final /* synthetic */ long k; - public final /* synthetic */ long l; - - public /* synthetic */ a(d.a.C0097a.C0098a aVar, int i, long j, long j2) { - this.i = aVar; - this.j = i; - this.k = j; - this.l = j2; - } - - @Override // java.lang.Runnable - public final void run() { - y.a aVar; - y.a aVar2; - y.a next; - d.a.C0097a.C0098a aVar3 = this.i; - int i = this.j; - long j = this.k; - long j2 = this.l; - c1 c1Var = (c1) aVar3.b; - c1.a aVar4 = c1Var.l; - if (aVar4.b.isEmpty()) { - aVar = null; - } else { - u uVar = aVar4.b; - if (!(uVar instanceof List)) { - Iterator it = uVar.iterator(); - do { - next = it.next(); - } while (it.hasNext()); - aVar2 = next; - } else if (!uVar.isEmpty()) { - aVar2 = uVar.get(uVar.size() - 1); - } else { - throw new NoSuchElementException(); - } - aVar = aVar2; - } - d1.a a02 = c1Var.a0(aVar); - k kVar = new k(a02, i, j, j2); - c1Var.m.put(PointerIconCompat.TYPE_CELL, a02); - o oVar = c1Var.n; - oVar.b(PointerIconCompat.TYPE_CELL, kVar); - oVar.a(); - } -} diff --git a/app/src/main/java/c/i/a/c/h2/b.java b/app/src/main/java/c/i/a/c/h2/b.java deleted file mode 100644 index 54881e76b9..0000000000 --- a/app/src/main/java/c/i/a/c/h2/b.java +++ /dev/null @@ -1,18 +0,0 @@ -package c.i.a.c.h2; - -import c.i.a.c.h2.n; -/* compiled from: lambda */ -public final /* synthetic */ class b implements Runnable { - public final /* synthetic */ n.a i; - public final /* synthetic */ n j; - - public /* synthetic */ b(n.a aVar, n nVar) { - this.i = aVar; - this.j = nVar; - } - - @Override // java.lang.Runnable - public final void run() { - this.i.b(this.j); - } -} diff --git a/app/src/main/java/c/i/a/c/h2/c.java b/app/src/main/java/c/i/a/c/h2/c.java deleted file mode 100644 index 1414ad7832..0000000000 --- a/app/src/main/java/c/i/a/c/h2/c.java +++ /dev/null @@ -1,11 +0,0 @@ -package c.i.a.c.h2; -/* compiled from: Allocation */ -public final class c { - public final byte[] a; - public final int b; - - public c(byte[] bArr, int i) { - this.a = bArr; - this.b = i; - } -} diff --git a/app/src/main/java/c/i/a/c/h2/d.java b/app/src/main/java/c/i/a/c/h2/d.java deleted file mode 100644 index 4b73b764b6..0000000000 --- a/app/src/main/java/c/i/a/c/h2/d.java +++ /dev/null @@ -1,52 +0,0 @@ -package c.i.a.c.h2; - -import android.os.Handler; -import androidx.annotation.Nullable; -import java.util.Iterator; -import java.util.concurrent.CopyOnWriteArrayList; -/* compiled from: BandwidthMeter */ -public interface d { - - /* compiled from: BandwidthMeter */ - public interface a { - - /* compiled from: BandwidthMeter */ - /* renamed from: c.i.a.c.h2.d$a$a reason: collision with other inner class name */ - public static final class C0097a { - public final CopyOnWriteArrayList a = new CopyOnWriteArrayList<>(); - - /* compiled from: BandwidthMeter */ - /* renamed from: c.i.a.c.h2.d$a$a$a reason: collision with other inner class name */ - public static final class C0098a { - public final Handler a; - public final a b; - - /* renamed from: c reason: collision with root package name */ - public boolean f941c; - - public C0098a(Handler handler, a aVar) { - this.a = handler; - this.b = aVar; - } - } - - public void a(a aVar) { - Iterator it = this.a.iterator(); - while (it.hasNext()) { - C0098a next = it.next(); - if (next.b == aVar) { - next.f941c = true; - this.a.remove(next); - } - } - } - } - } - - @Nullable - x c(); - - void d(a aVar); - - void f(Handler handler, a aVar); -} diff --git a/app/src/main/java/c/i/a/c/h2/e.java b/app/src/main/java/c/i/a/c/h2/e.java deleted file mode 100644 index 194dffeff3..0000000000 --- a/app/src/main/java/c/i/a/c/h2/e.java +++ /dev/null @@ -1,65 +0,0 @@ -package c.i.a.c.h2; - -import androidx.annotation.Nullable; -import c.i.a.c.i2.f0; -import java.util.ArrayList; -import java.util.Map; -import java.util.Objects; -/* compiled from: BaseDataSource */ -public abstract class e implements j { - public final boolean a; - public final ArrayList b = new ArrayList<>(1); - - /* renamed from: c reason: collision with root package name */ - public int f942c; - @Nullable - public l d; - - public e(boolean z2) { - this.a = z2; - } - - @Override // c.i.a.c.h2.j - public final void d(x xVar) { - Objects.requireNonNull(xVar); - if (!this.b.contains(xVar)) { - this.b.add(xVar); - this.f942c++; - } - } - - @Override // c.i.a.c.h2.j - public /* synthetic */ Map j() { - return i.a(this); - } - - public final void o(int i) { - l lVar = this.d; - int i2 = f0.a; - for (int i3 = 0; i3 < this.f942c; i3++) { - this.b.get(i3).e(this, lVar, this.a, i); - } - } - - public final void p() { - l lVar = this.d; - int i = f0.a; - for (int i2 = 0; i2 < this.f942c; i2++) { - this.b.get(i2).a(this, lVar, this.a); - } - this.d = null; - } - - public final void q(l lVar) { - for (int i = 0; i < this.f942c; i++) { - this.b.get(i).g(this, lVar, this.a); - } - } - - public final void r(l lVar) { - this.d = lVar; - for (int i = 0; i < this.f942c; i++) { - this.b.get(i).b(this, lVar, this.a); - } - } -} diff --git a/app/src/main/java/c/i/a/c/h2/f.java b/app/src/main/java/c/i/a/c/h2/f.java deleted file mode 100644 index 1eba892269..0000000000 --- a/app/src/main/java/c/i/a/c/h2/f.java +++ /dev/null @@ -1,7 +0,0 @@ -package c.i.a.c.h2; - -import java.io.IOException; -/* compiled from: DataReader */ -public interface f { - int read(byte[] bArr, int i, int i2) throws IOException; -} diff --git a/app/src/main/java/c/i/a/c/h2/g.java b/app/src/main/java/c/i/a/c/h2/g.java deleted file mode 100644 index 06d8934e4a..0000000000 --- a/app/src/main/java/c/i/a/c/h2/g.java +++ /dev/null @@ -1,97 +0,0 @@ -package c.i.a.c.h2; - -import android.net.Uri; -import android.util.Base64; -import androidx.annotation.Nullable; -import c.d.b.a.a; -import c.i.a.c.i2.f0; -import c.i.b.a.c; -import com.google.android.exoplayer2.ParserException; -import com.google.android.exoplayer2.upstream.DataSourceException; -import java.io.IOException; -import java.net.URLDecoder; -/* compiled from: DataSchemeDataSource */ -public final class g extends e { - @Nullable - public l e; - @Nullable - public byte[] f; - public int g; - public int h; - - public g() { - super(false); - } - - @Override // c.i.a.c.h2.j - public long a(l lVar) throws IOException { - q(lVar); - this.e = lVar; - this.h = (int) lVar.f; - Uri uri = lVar.a; - String scheme = uri.getScheme(); - if ("data".equals(scheme)) { - String[] G = f0.G(uri.getSchemeSpecificPart(), ","); - if (G.length == 2) { - String str = G[1]; - if (G[0].contains(";base64")) { - try { - this.f = Base64.decode(str, 0); - } catch (IllegalArgumentException e) { - throw new ParserException(a.u("Error while parsing Base64 encoded string: ", str), e); - } - } else { - this.f = f0.w(URLDecoder.decode(str, c.a.name())); - } - long j = lVar.g; - int length = j != -1 ? ((int) j) + this.h : this.f.length; - this.g = length; - if (length > this.f.length || this.h > length) { - this.f = null; - throw new DataSourceException(0); - } - r(lVar); - return ((long) this.g) - ((long) this.h); - } - throw new ParserException("Unexpected URI format: " + uri); - } - throw new ParserException(a.u("Unsupported scheme: ", scheme)); - } - - @Override // c.i.a.c.h2.j - public void close() { - if (this.f != null) { - this.f = null; - p(); - } - this.e = null; - } - - @Override // c.i.a.c.h2.j - @Nullable - public Uri m() { - l lVar = this.e; - if (lVar != null) { - return lVar.a; - } - return null; - } - - @Override // c.i.a.c.h2.f - public int read(byte[] bArr, int i, int i2) { - if (i2 == 0) { - return 0; - } - int i3 = this.g - this.h; - if (i3 == 0) { - return -1; - } - int min = Math.min(i2, i3); - byte[] bArr2 = this.f; - int i4 = f0.a; - System.arraycopy(bArr2, this.h, bArr, i, min); - this.h += min; - o(min); - return min; - } -} diff --git a/app/src/main/java/c/i/a/c/h2/h.java b/app/src/main/java/c/i/a/c/h2/h.java deleted file mode 100644 index 14f09338e9..0000000000 --- a/app/src/main/java/c/i/a/c/h2/h.java +++ /dev/null @@ -1,11 +0,0 @@ -package c.i.a.c.h2; - -import java.io.IOException; -/* compiled from: DataSink */ -public interface h { - void a(l lVar) throws IOException; - - void close() throws IOException; - - void write(byte[] bArr, int i, int i2) throws IOException; -} diff --git a/app/src/main/java/c/i/a/c/h2/i.java b/app/src/main/java/c/i/a/c/h2/i.java deleted file mode 100644 index 4df420db56..0000000000 --- a/app/src/main/java/c/i/a/c/h2/i.java +++ /dev/null @@ -1,11 +0,0 @@ -package c.i.a.c.h2; - -import java.util.Collections; -import java.util.Map; -/* compiled from: DataSource */ -public final /* synthetic */ class i { - /* JADX WARN: Incorrect args count in method signature: ()Ljava/util/Map;>; */ - public static Map a(j jVar) { - return Collections.emptyMap(); - } -} diff --git a/app/src/main/java/c/i/a/c/h2/j.java b/app/src/main/java/c/i/a/c/h2/j.java deleted file mode 100644 index f70cd461f4..0000000000 --- a/app/src/main/java/c/i/a/c/h2/j.java +++ /dev/null @@ -1,26 +0,0 @@ -package c.i.a.c.h2; - -import android.net.Uri; -import androidx.annotation.Nullable; -import java.io.IOException; -import java.util.List; -import java.util.Map; -/* compiled from: DataSource */ -public interface j extends f { - - /* compiled from: DataSource */ - public interface a { - j a(); - } - - long a(l lVar) throws IOException; - - void close() throws IOException; - - void d(x xVar); - - Map> j(); - - @Nullable - Uri m(); -} diff --git a/app/src/main/java/c/i/a/c/h2/k.java b/app/src/main/java/c/i/a/c/h2/k.java deleted file mode 100644 index 376ba70511..0000000000 --- a/app/src/main/java/c/i/a/c/h2/k.java +++ /dev/null @@ -1,56 +0,0 @@ -package c.i.a.c.h2; - -import c.c.a.a0.d; -import java.io.IOException; -import java.io.InputStream; -/* compiled from: DataSourceInputStream */ -public final class k extends InputStream { - public final j i; - public final l j; - public final byte[] k; - public boolean l = false; - public boolean m = false; - public long n; - - public k(j jVar, l lVar) { - this.i = jVar; - this.j = lVar; - this.k = new byte[1]; - } - - @Override // java.io.InputStream, java.io.Closeable, java.lang.AutoCloseable - public void close() throws IOException { - if (!this.m) { - this.i.close(); - this.m = true; - } - } - - @Override // java.io.InputStream - public int read() throws IOException { - if (read(this.k) == -1) { - return -1; - } - return this.k[0] & 255; - } - - @Override // java.io.InputStream - public int read(byte[] bArr) throws IOException { - return read(bArr, 0, bArr.length); - } - - @Override // java.io.InputStream - public int read(byte[] bArr, int i, int i2) throws IOException { - d.D(!this.m); - if (!this.l) { - this.i.a(this.j); - this.l = true; - } - int read = this.i.read(bArr, i, i2); - if (read == -1) { - return -1; - } - this.n += (long) read; - return read; - } -} diff --git a/app/src/main/java/c/i/a/c/h2/l.java b/app/src/main/java/c/i/a/c/h2/l.java deleted file mode 100644 index 454997c4db..0000000000 --- a/app/src/main/java/c/i/a/c/h2/l.java +++ /dev/null @@ -1,122 +0,0 @@ -package c.i.a.c.h2; - -import android.net.Uri; -import androidx.annotation.Nullable; -import androidx.browser.trusted.sharing.ShareTarget; -import c.c.a.a0.d; -import java.util.Collections; -import java.util.HashMap; -import java.util.Map; -/* compiled from: DataSpec */ -public final class l { - public final Uri a; - public final long b; - - /* renamed from: c reason: collision with root package name */ - public final int f943c; - @Nullable - public final byte[] d; - public final Map e; - public final long f; - public final long g; - @Nullable - public final String h; - public final int i; - @Nullable - public final Object j; - - /* compiled from: DataSpec */ - public static final class b { - @Nullable - public Uri a; - public long b; - - /* renamed from: c reason: collision with root package name */ - public int f944c; - @Nullable - public byte[] d; - public Map e; - public long f; - public long g; - @Nullable - public String h; - public int i; - @Nullable - public Object j; - - public b(l lVar, a aVar) { - this.a = lVar.a; - this.b = lVar.b; - this.f944c = lVar.f943c; - this.d = lVar.d; - this.e = lVar.e; - this.f = lVar.f; - this.g = lVar.g; - this.h = lVar.h; - this.i = lVar.i; - this.j = lVar.j; - } - - public l a() { - d.I(this.a, "The uri must be set."); - return new l(this.a, this.b, this.f944c, this.d, this.e, this.f, this.g, this.h, this.i, this.j); - } - } - - public l(Uri uri, long j, int i, @Nullable byte[] bArr, Map map, long j2, long j3, @Nullable String str, int i2, @Nullable Object obj) { - byte[] bArr2 = bArr; - boolean z2 = true; - d.k(j + j2 >= 0); - d.k(j2 >= 0); - if (j3 <= 0 && j3 != -1) { - z2 = false; - } - d.k(z2); - this.a = uri; - this.b = j; - this.f943c = i; - this.d = (bArr2 == null || bArr2.length == 0) ? null : bArr2; - this.e = Collections.unmodifiableMap(new HashMap(map)); - this.f = j2; - this.g = j3; - this.h = str; - this.i = i2; - this.j = obj; - } - - public static String b(int i) { - if (i == 1) { - return ShareTarget.METHOD_GET; - } - if (i == 2) { - return ShareTarget.METHOD_POST; - } - if (i == 3) { - return "HEAD"; - } - throw new IllegalStateException(); - } - - public b a() { - return new b(this, null); - } - - public boolean c(int i) { - return (this.i & i) == i; - } - - public String toString() { - StringBuilder O = c.d.b.a.a.O("DataSpec["); - O.append(b(this.f943c)); - O.append(" "); - O.append(this.a); - O.append(", "); - O.append(this.f); - O.append(", "); - O.append(this.g); - O.append(", "); - O.append(this.h); - O.append(", "); - return c.d.b.a.a.z(O, this.i, "]"); - } -} diff --git a/app/src/main/java/c/i/a/c/h2/m.java b/app/src/main/java/c/i/a/c/h2/m.java deleted file mode 100644 index af6078ce96..0000000000 --- a/app/src/main/java/c/i/a/c/h2/m.java +++ /dev/null @@ -1,61 +0,0 @@ -package c.i.a.c.h2; - -import c.c.a.a0.d; -import c.i.a.c.i2.f0; -import java.util.Arrays; -/* compiled from: DefaultAllocator */ -public final class m { - public final boolean a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final c[] f945c; - public int d; - public int e; - public int f; - public c[] g; - - public m(boolean z2, int i) { - d.k(i > 0); - d.k(true); - this.a = z2; - this.b = i; - this.f = 0; - this.g = new c[100]; - this.f945c = new c[1]; - } - - public synchronized void a(c[] cVarArr) { - int i = this.f; - int length = cVarArr.length + i; - c[] cVarArr2 = this.g; - if (length >= cVarArr2.length) { - this.g = (c[]) Arrays.copyOf(cVarArr2, Math.max(cVarArr2.length * 2, i + cVarArr.length)); - } - for (c cVar : cVarArr) { - c[] cVarArr3 = this.g; - int i2 = this.f; - this.f = i2 + 1; - cVarArr3[i2] = cVar; - } - this.e -= cVarArr.length; - notifyAll(); - } - - public synchronized void b(int i) { - boolean z2 = i < this.d; - this.d = i; - if (z2) { - c(); - } - } - - public synchronized void c() { - int max = Math.max(0, f0.f(this.d, this.b) - this.e); - int i = this.f; - if (max < i) { - Arrays.fill(this.g, max, i, (Object) null); - this.f = max; - } - } -} diff --git a/app/src/main/java/c/i/a/c/h2/n.java b/app/src/main/java/c/i/a/c/h2/n.java deleted file mode 100644 index d4a4dfd5d6..0000000000 --- a/app/src/main/java/c/i/a/c/h2/n.java +++ /dev/null @@ -1,503 +0,0 @@ -package c.i.a.c.h2; - -import android.content.BroadcastReceiver; -import android.content.Context; -import android.content.Intent; -import android.content.IntentFilter; -import android.os.Handler; -import android.os.Looper; -import androidx.annotation.Nullable; -import c.i.a.c.h2.d; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.g; -import c.i.a.c.i2.z; -import c.i.b.b.r0; -import c.i.b.b.u; -import c.i.b.b.v; -import c.i.b.b.w; -import com.discord.api.permission.Permission; -import com.discord.stores.StoreGuildScheduledEvents; -import java.lang.ref.WeakReference; -import java.util.ArrayList; -import java.util.Collection; -import java.util.Iterator; -import java.util.Map; -import java.util.Objects; -import java.util.Set; -import java.util.SortedMap; -/* compiled from: DefaultBandwidthMeter */ -public final class n implements d, x { - public static final v a = h(); - public static final u b = u.u(6100000L, 3800000L, 2100000L, 1300000L, 590000L); - - /* renamed from: c reason: collision with root package name */ - public static final u f946c = u.u(218000L, 159000L, 145000L, 130000L, 112000L); - public static final u d = u.u(2200000L, 1300000L, 930000L, 730000L, 530000L); - public static final u e; - public static final u f; - @Nullable - public static n g; - @Nullable - public final Context h; - public final w i; - public final d.a.C0097a j; - public final z k; - public final g l; - public int m; - public long n; - public long o; - public int p; - public long q; - - /* renamed from: r reason: collision with root package name */ - public long f947r; - public long s; - public long t; - - /* compiled from: DefaultBandwidthMeter */ - public static class a extends BroadcastReceiver { - public static a a; - public final Handler b = new Handler(Looper.getMainLooper()); - - /* renamed from: c reason: collision with root package name */ - public final ArrayList> f948c = new ArrayList<>(); - - public final void a() { - for (int size = this.f948c.size() - 1; size >= 0; size--) { - if (this.f948c.get(size).get() == null) { - this.f948c.remove(size); - } - } - } - - public final void b(n nVar) { - v vVar = n.a; - synchronized (nVar) { - Context context = nVar.h; - int q = context == null ? 0 : f0.q(context); - if (nVar.p != q) { - nVar.p = q; - if (q != 1 && q != 0 && q != 8) { - nVar.s = nVar.i(q); - long c2 = nVar.l.c(); - nVar.k(nVar.m > 0 ? (int) (c2 - nVar.n) : 0, nVar.o, nVar.s); - nVar.n = c2; - nVar.o = 0; - nVar.f947r = 0; - nVar.q = 0; - z zVar = nVar.k; - zVar.f976c.clear(); - zVar.e = -1; - zVar.f = 0; - zVar.g = 0; - } - } - } - } - - @Override // android.content.BroadcastReceiver - public synchronized void onReceive(Context context, Intent intent) { - if (!isInitialStickyBroadcast()) { - a(); - for (int i = 0; i < this.f948c.size(); i++) { - n nVar = this.f948c.get(i).get(); - if (nVar != null) { - b(nVar); - } - } - } - } - } - - static { - Long valueOf = Long.valueOf((long) StoreGuildScheduledEvents.FETCH_GUILD_EVENTS_THRESHOLD); - e = u.u(4800000L, 2700000L, valueOf, 1200000L, 630000L); - f = u.u(12000000L, 8800000L, 5900000L, 3500000L, valueOf); - } - - @Deprecated - public n() { - this(null, r0.l, 2000, g.a, false); - } - - /* JADX WARNING: Code restructure failed: missing block: B:9:0x001c, code lost: - if (r0.e() == false) goto L_0x005e; - */ - public n(@Nullable Context context, Map map, int i, g gVar, boolean z2) { - w wVar; - a aVar; - this.h = context == null ? null : context.getApplicationContext(); - if ((map instanceof w) && !(map instanceof SortedMap)) { - wVar = (w) map; - } - Set> entrySet = map.entrySet(); - boolean z3 = entrySet instanceof Collection; - w.a aVar2 = new w.a(z3 ? entrySet.size() : 4); - if (z3) { - aVar2.b(entrySet.size() + aVar2.b); - } - Iterator it = entrySet.iterator(); - while (it.hasNext()) { - Map.Entry entry = (Map.Entry) it.next(); - aVar2.c(entry.getKey(), entry.getValue()); - } - wVar = aVar2.a(); - this.i = wVar; - this.j = new d.a.C0097a(); - this.k = new z(i); - this.l = gVar; - int q = context == null ? 0 : f0.q(context); - this.p = q; - this.s = i(q); - if (context != null && z2) { - a aVar3 = a.a; - synchronized (a.class) { - if (a.a == null) { - a.a = new a(); - IntentFilter intentFilter = new IntentFilter(); - intentFilter.addAction("android.net.conn.CONNECTIVITY_CHANGE"); - context.registerReceiver(a.a, intentFilter); - } - aVar = a.a; - } - synchronized (aVar) { - aVar.a(); - aVar.f948c.add(new WeakReference<>(this)); - aVar.b.post(new b(aVar, this)); - } - } - } - - public static v h() { - v.a f2 = v.f(); - f2.b("AD", 1, 2, 0, 0, 2); - f2.b("AE", 1, 4, 4, 4, 1); - f2.b("AF", 4, 4, 3, 4, 2); - f2.b("AG", 2, 2, 1, 1, 2); - f2.b("AI", 1, 2, 2, 2, 2); - f2.b("AL", 1, 1, 0, 1, 2); - f2.b("AM", 2, 2, 1, 2, 2); - f2.b("AO", 3, 4, 4, 2, 2); - f2.b("AR", 2, 4, 2, 2, 2); - f2.b("AS", 2, 2, 4, 3, 2); - f2.b("AT", 0, 3, 0, 0, 2); - f2.b("AU", 0, 2, 0, 1, 1); - f2.b("AW", 1, 2, 0, 4, 2); - f2.b("AX", 0, 2, 2, 2, 2); - f2.b("AZ", 3, 3, 3, 4, 2); - f2.b("BA", 1, 1, 0, 1, 2); - f2.b("BB", 0, 2, 0, 0, 2); - f2.b("BD", 2, 0, 3, 3, 2); - f2.b("BE", 0, 1, 2, 3, 2); - f2.b("BF", 4, 4, 4, 2, 2); - f2.b("BG", 0, 1, 0, 0, 2); - f2.b("BH", 1, 0, 2, 4, 2); - f2.b("BI", 4, 4, 4, 4, 2); - f2.b("BJ", 4, 4, 3, 4, 2); - f2.b("BL", 1, 2, 2, 2, 2); - f2.b("BM", 1, 2, 0, 0, 2); - f2.b("BN", 4, 0, 1, 1, 2); - f2.b("BO", 2, 3, 3, 2, 2); - f2.b("BQ", 1, 2, 1, 2, 2); - f2.b("BR", 2, 4, 2, 1, 2); - f2.b("BS", 3, 2, 2, 3, 2); - f2.b("BT", 3, 0, 3, 2, 2); - f2.b("BW", 3, 4, 2, 2, 2); - f2.b("BY", 1, 0, 2, 1, 2); - f2.b("BZ", 2, 2, 2, 1, 2); - f2.b("CA", 0, 3, 1, 2, 3); - f2.b("CD", 4, 3, 2, 2, 2); - f2.b("CF", 4, 2, 2, 2, 2); - f2.b("CG", 3, 4, 1, 1, 2); - f2.b("CH", 0, 1, 0, 0, 0); - f2.b("CI", 3, 3, 3, 3, 2); - f2.b("CK", 3, 2, 1, 0, 2); - f2.b("CL", 1, 1, 2, 3, 2); - f2.b("CM", 3, 4, 3, 2, 2); - f2.b("CN", 2, 2, 2, 1, 3); - f2.b("CO", 2, 4, 3, 2, 2); - f2.b("CR", 2, 3, 4, 4, 2); - f2.b("CU", 4, 4, 2, 1, 2); - f2.b("CV", 2, 3, 3, 3, 2); - f2.b("CW", 1, 2, 0, 0, 2); - f2.b("CY", 1, 2, 0, 0, 2); - f2.b("CZ", 0, 1, 0, 0, 2); - f2.b("DE", 0, 1, 1, 2, 0); - f2.b("DJ", 4, 1, 4, 4, 2); - f2.b("DK", 0, 0, 1, 0, 2); - f2.b("DM", 1, 2, 2, 2, 2); - f2.b("DO", 3, 4, 4, 4, 2); - f2.b("DZ", 3, 2, 4, 4, 2); - f2.b("EC", 2, 4, 3, 2, 2); - f2.b("EE", 0, 0, 0, 0, 2); - f2.b("EG", 3, 4, 2, 1, 2); - f2.b("EH", 2, 2, 2, 2, 2); - f2.b("ER", 4, 2, 2, 2, 2); - f2.b("ES", 0, 1, 2, 1, 2); - f2.b("ET", 4, 4, 4, 1, 2); - f2.b("FI", 0, 0, 1, 0, 0); - f2.b("FJ", 3, 0, 3, 3, 2); - f2.b("FK", 2, 2, 2, 2, 2); - f2.b("FM", 4, 2, 4, 3, 2); - f2.b("FO", 0, 2, 0, 0, 2); - f2.b("FR", 1, 0, 2, 1, 2); - f2.b("GA", 3, 3, 1, 0, 2); - f2.b("GB", 0, 0, 1, 2, 2); - f2.b("GD", 1, 2, 2, 2, 2); - f2.b("GE", 1, 0, 1, 3, 2); - f2.b("GF", 2, 2, 2, 4, 2); - f2.b("GG", 0, 2, 0, 0, 2); - f2.b("GH", 3, 2, 3, 2, 2); - f2.b("GI", 0, 2, 0, 0, 2); - f2.b("GL", 1, 2, 2, 1, 2); - f2.b("GM", 4, 3, 2, 4, 2); - f2.b("GN", 4, 3, 4, 2, 2); - f2.b("GP", 2, 2, 3, 4, 2); - f2.b("GQ", 4, 2, 3, 4, 2); - f2.b("GR", 1, 1, 0, 1, 2); - f2.b("GT", 3, 2, 3, 2, 2); - f2.b("GU", 1, 2, 4, 4, 2); - f2.b("GW", 3, 4, 4, 3, 2); - f2.b("GY", 3, 3, 1, 0, 2); - f2.b("HK", 0, 2, 3, 4, 2); - f2.b("HN", 3, 0, 3, 3, 2); - f2.b("HR", 1, 1, 0, 1, 2); - f2.b("HT", 4, 3, 4, 4, 2); - f2.b("HU", 0, 1, 0, 0, 2); - f2.b("ID", 3, 2, 2, 3, 2); - f2.b("IE", 0, 0, 1, 1, 2); - f2.b("IL", 1, 0, 2, 3, 2); - f2.b("IM", 0, 2, 0, 1, 2); - f2.b("IN", 2, 1, 3, 3, 2); - f2.b("IO", 4, 2, 2, 4, 2); - f2.b("IQ", 3, 2, 4, 3, 2); - f2.b("IR", 4, 2, 3, 4, 2); - f2.b("IS", 0, 2, 0, 0, 2); - f2.b("IT", 0, 0, 1, 1, 2); - f2.b("JE", 2, 2, 0, 2, 2); - f2.b("JM", 3, 3, 4, 4, 2); - f2.b("JO", 1, 2, 1, 1, 2); - f2.b("JP", 0, 2, 0, 1, 3); - f2.b("KE", 3, 4, 2, 2, 2); - f2.b("KG", 1, 0, 2, 2, 2); - f2.b("KH", 2, 0, 4, 3, 2); - f2.b("KI", 4, 2, 3, 1, 2); - f2.b("KM", 4, 2, 2, 3, 2); - f2.b("KN", 1, 2, 2, 2, 2); - f2.b("KP", 4, 2, 2, 2, 2); - f2.b("KR", 0, 2, 1, 1, 1); - f2.b("KW", 2, 3, 1, 1, 1); - f2.b("KY", 1, 2, 0, 0, 2); - f2.b("KZ", 1, 2, 2, 3, 2); - f2.b("LA", 2, 2, 1, 1, 2); - f2.b("LB", 3, 2, 0, 0, 2); - f2.b("LC", 1, 1, 0, 0, 2); - f2.b("LI", 0, 2, 2, 2, 2); - f2.b("LK", 2, 0, 2, 3, 2); - f2.b("LR", 3, 4, 3, 2, 2); - f2.b("LS", 3, 3, 2, 3, 2); - f2.b("LT", 0, 0, 0, 0, 2); - f2.b("LU", 0, 0, 0, 0, 2); - f2.b("LV", 0, 0, 0, 0, 2); - f2.b("LY", 4, 2, 4, 3, 2); - f2.b("MA", 2, 1, 2, 1, 2); - f2.b("MC", 0, 2, 2, 2, 2); - f2.b("MD", 1, 2, 0, 0, 2); - f2.b("ME", 1, 2, 1, 2, 2); - f2.b("MF", 1, 2, 1, 0, 2); - f2.b("MG", 3, 4, 3, 3, 2); - f2.b("MH", 4, 2, 2, 4, 2); - f2.b("MK", 1, 0, 0, 0, 2); - f2.b("ML", 4, 4, 1, 1, 2); - f2.b("MM", 2, 3, 2, 2, 2); - f2.b("MN", 2, 4, 1, 1, 2); - f2.b("MO", 0, 2, 4, 4, 2); - f2.b("MP", 0, 2, 2, 2, 2); - f2.b("MQ", 2, 2, 2, 3, 2); - f2.b("MR", 3, 0, 4, 2, 2); - f2.b("MS", 1, 2, 2, 2, 2); - f2.b("MT", 0, 2, 0, 1, 2); - f2.b("MU", 3, 1, 2, 3, 2); - f2.b("MV", 4, 3, 1, 4, 2); - f2.b("MW", 4, 1, 1, 0, 2); - f2.b("MX", 2, 4, 3, 3, 2); - f2.b("MY", 2, 0, 3, 3, 2); - f2.b("MZ", 3, 3, 2, 3, 2); - f2.b("NA", 4, 3, 2, 2, 2); - f2.b("NC", 2, 0, 4, 4, 2); - f2.b("NE", 4, 4, 4, 4, 2); - f2.b("NF", 2, 2, 2, 2, 2); - f2.b("NG", 3, 3, 2, 2, 2); - f2.b("NI", 3, 1, 4, 4, 2); - f2.b("NL", 0, 2, 4, 2, 0); - f2.b("NO", 0, 1, 1, 0, 2); - f2.b("NP", 2, 0, 4, 3, 2); - f2.b("NR", 4, 2, 3, 1, 2); - f2.b("NU", 4, 2, 2, 2, 2); - f2.b("NZ", 0, 2, 1, 2, 4); - f2.b("OM", 2, 2, 0, 2, 2); - f2.b("PA", 1, 3, 3, 4, 2); - f2.b("PE", 2, 4, 4, 4, 2); - f2.b("PF", 2, 2, 1, 1, 2); - f2.b("PG", 4, 3, 3, 2, 2); - f2.b("PH", 3, 0, 3, 4, 4); - f2.b("PK", 3, 2, 3, 3, 2); - f2.b("PL", 1, 0, 2, 2, 2); - f2.b("PM", 0, 2, 2, 2, 2); - f2.b("PR", 1, 2, 2, 3, 4); - f2.b("PS", 3, 3, 2, 2, 2); - f2.b("PT", 1, 1, 0, 0, 2); - f2.b("PW", 1, 2, 3, 0, 2); - f2.b("PY", 2, 0, 3, 3, 2); - f2.b("QA", 2, 3, 1, 2, 2); - f2.b("RE", 1, 0, 2, 1, 2); - f2.b("RO", 1, 1, 1, 2, 2); - f2.b("RS", 1, 2, 0, 0, 2); - f2.b("RU", 0, 1, 0, 1, 2); - f2.b("RW", 4, 3, 3, 4, 2); - f2.b("SA", 2, 2, 2, 1, 2); - f2.b("SB", 4, 2, 4, 2, 2); - f2.b("SC", 4, 2, 0, 1, 2); - f2.b("SD", 4, 4, 4, 3, 2); - f2.b("SE", 0, 0, 0, 0, 2); - f2.b("SG", 0, 0, 3, 3, 4); - f2.b("SH", 4, 2, 2, 2, 2); - f2.b("SI", 0, 1, 0, 0, 2); - f2.b("SJ", 2, 2, 2, 2, 2); - f2.b("SK", 0, 1, 0, 0, 2); - f2.b("SL", 4, 3, 3, 1, 2); - f2.b("SM", 0, 2, 2, 2, 2); - f2.b("SN", 4, 4, 4, 3, 2); - f2.b("SO", 3, 4, 4, 4, 2); - f2.b("SR", 3, 2, 3, 1, 2); - f2.b("SS", 4, 1, 4, 2, 2); - f2.b("ST", 2, 2, 1, 2, 2); - f2.b("SV", 2, 1, 4, 4, 2); - f2.b("SX", 2, 2, 1, 0, 2); - f2.b("SY", 4, 3, 2, 2, 2); - f2.b("SZ", 3, 4, 3, 4, 2); - f2.b("TC", 1, 2, 1, 0, 2); - f2.b("TD", 4, 4, 4, 4, 2); - f2.b("TG", 3, 2, 1, 0, 2); - f2.b("TH", 1, 3, 4, 3, 0); - f2.b("TJ", 4, 4, 4, 4, 2); - f2.b("TL", 4, 1, 4, 4, 2); - f2.b("TM", 4, 2, 1, 2, 2); - f2.b("TN", 2, 1, 1, 1, 2); - f2.b("TO", 3, 3, 4, 2, 2); - f2.b("TR", 1, 2, 1, 1, 2); - f2.b("TT", 1, 3, 1, 3, 2); - f2.b("TV", 3, 2, 2, 4, 2); - f2.b("TW", 0, 0, 0, 0, 1); - f2.b("TZ", 3, 3, 3, 2, 2); - f2.b("UA", 0, 3, 0, 0, 2); - f2.b("UG", 3, 2, 2, 3, 2); - f2.b("US", 0, 1, 3, 3, 3); - f2.b("UY", 2, 1, 1, 1, 2); - f2.b("UZ", 2, 0, 3, 2, 2); - f2.b("VC", 2, 2, 2, 2, 2); - f2.b("VE", 4, 4, 4, 4, 2); - f2.b("VG", 2, 2, 1, 2, 2); - f2.b("VI", 1, 2, 2, 4, 2); - f2.b("VN", 0, 1, 4, 4, 2); - f2.b("VU", 4, 1, 3, 1, 2); - f2.b("WS", 3, 1, 4, 2, 2); - f2.b("XK", 1, 1, 1, 0, 2); - f2.b("YE", 4, 4, 4, 4, 2); - f2.b("YT", 3, 2, 1, 3, 2); - f2.b("ZA", 2, 3, 2, 2, 2); - f2.b("ZM", 3, 2, 2, 3, 2); - f2.b("ZW", 3, 3, 3, 3, 2); - return f2.a(); - } - - public static boolean j(l lVar, boolean z2) { - return z2 && !lVar.c(8); - } - - @Override // c.i.a.c.h2.x - public synchronized void a(j jVar, l lVar, boolean z2) { - if (j(lVar, z2)) { - c.c.a.a0.d.D(this.m > 0); - long c2 = this.l.c(); - int i = (int) (c2 - this.n); - this.q += (long) i; - long j = this.f947r; - long j2 = this.o; - this.f947r = j + j2; - if (i > 0) { - this.k.a((int) Math.sqrt((double) j2), (((float) j2) * 8000.0f) / ((float) i)); - if (this.q >= 2000 || this.f947r >= Permission.VIEW_GUILD_ANALYTICS) { - this.s = (long) this.k.b(0.5f); - } - k(i, this.o, this.s); - this.n = c2; - this.o = 0; - } - this.m--; - } - } - - @Override // c.i.a.c.h2.x - public synchronized void b(j jVar, l lVar, boolean z2) { - if (j(lVar, z2)) { - if (this.m == 0) { - this.n = this.l.c(); - } - this.m++; - } - } - - @Override // c.i.a.c.h2.d - public x c() { - return this; - } - - @Override // c.i.a.c.h2.d - public void d(d.a aVar) { - this.j.a(aVar); - } - - @Override // c.i.a.c.h2.x - public synchronized void e(j jVar, l lVar, boolean z2, int i) { - if (j(lVar, z2)) { - this.o += (long) i; - } - } - - @Override // c.i.a.c.h2.d - public void f(Handler handler, d.a aVar) { - d.a.C0097a aVar2 = this.j; - Objects.requireNonNull(aVar2); - aVar2.a(aVar); - aVar2.a.add(new d.a.C0097a.C0098a(handler, aVar)); - } - - @Override // c.i.a.c.h2.x - public void g(j jVar, l lVar, boolean z2) { - } - - public final long i(int i) { - Long l = this.i.get(Integer.valueOf(i)); - if (l == null) { - l = this.i.get(0); - } - if (l == null) { - l = 1000000L; - } - return l.longValue(); - } - - public final void k(int i, long j, long j2) { - if (i != 0 || j != 0 || j2 != this.t) { - this.t = j2; - Iterator it = this.j.a.iterator(); - while (it.hasNext()) { - d.a.C0097a.C0098a next = it.next(); - if (!next.f941c) { - next.a.post(new a(next, i, j, j2)); - } - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/h2/o.java b/app/src/main/java/c/i/a/c/h2/o.java deleted file mode 100644 index f5b54d5b4f..0000000000 --- a/app/src/main/java/c/i/a/c/h2/o.java +++ /dev/null @@ -1,213 +0,0 @@ -package c.i.a.c.h2; - -import android.content.Context; -import android.net.Uri; -import android.text.TextUtils; -import android.util.Log; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.i2.f0; -import com.discord.models.domain.ModelAuditLogEntry; -import com.google.android.exoplayer2.upstream.AssetDataSource; -import com.google.android.exoplayer2.upstream.ContentDataSource; -import com.google.android.exoplayer2.upstream.FileDataSource; -import com.google.android.exoplayer2.upstream.RawResourceDataSource; -import com.google.android.exoplayer2.upstream.UdpDataSource; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Map; -import java.util.Objects; -/* compiled from: DefaultDataSource */ -public final class o implements j { - public final Context a; - public final List b = new ArrayList(); - - /* renamed from: c reason: collision with root package name */ - public final j f949c; - @Nullable - public j d; - @Nullable - public j e; - @Nullable - public j f; - @Nullable - public j g; - @Nullable - public j h; - @Nullable - public j i; - @Nullable - public j j; - @Nullable - public j k; - - public o(Context context, j jVar) { - this.a = context.getApplicationContext(); - Objects.requireNonNull(jVar); - this.f949c = jVar; - } - - @Override // c.i.a.c.h2.j - public long a(l lVar) throws IOException { - boolean z2 = true; - d.D(this.k == null); - String scheme = lVar.a.getScheme(); - Uri uri = lVar.a; - int i = f0.a; - String scheme2 = uri.getScheme(); - if (!TextUtils.isEmpty(scheme2) && !"file".equals(scheme2)) { - z2 = false; - } - if (z2) { - String path = lVar.a.getPath(); - if (path == null || !path.startsWith("/android_asset/")) { - if (this.d == null) { - FileDataSource fileDataSource = new FileDataSource(); - this.d = fileDataSource; - o(fileDataSource); - } - this.k = this.d; - } else { - if (this.e == null) { - AssetDataSource assetDataSource = new AssetDataSource(this.a); - this.e = assetDataSource; - o(assetDataSource); - } - this.k = this.e; - } - } else if (ModelAuditLogEntry.CHANGE_KEY_ASSET.equals(scheme)) { - if (this.e == null) { - AssetDataSource assetDataSource2 = new AssetDataSource(this.a); - this.e = assetDataSource2; - o(assetDataSource2); - } - this.k = this.e; - } else if ("content".equals(scheme)) { - if (this.f == null) { - ContentDataSource contentDataSource = new ContentDataSource(this.a); - this.f = contentDataSource; - o(contentDataSource); - } - this.k = this.f; - } else if ("rtmp".equals(scheme)) { - if (this.g == null) { - try { - j jVar = (j) Class.forName("com.google.android.exoplayer2.ext.rtmp.RtmpDataSource").getConstructor(new Class[0]).newInstance(new Object[0]); - this.g = jVar; - o(jVar); - } catch (ClassNotFoundException unused) { - Log.w("DefaultDataSource", "Attempting to play RTMP stream without depending on the RTMP extension"); - } catch (Exception e) { - throw new RuntimeException("Error instantiating RTMP extension", e); - } - if (this.g == null) { - this.g = this.f949c; - } - } - this.k = this.g; - } else if ("udp".equals(scheme)) { - if (this.h == null) { - UdpDataSource udpDataSource = new UdpDataSource(); - this.h = udpDataSource; - o(udpDataSource); - } - this.k = this.h; - } else if ("data".equals(scheme)) { - if (this.i == null) { - g gVar = new g(); - this.i = gVar; - o(gVar); - } - this.k = this.i; - } else if ("rawresource".equals(scheme) || "android.resource".equals(scheme)) { - if (this.j == null) { - RawResourceDataSource rawResourceDataSource = new RawResourceDataSource(this.a); - this.j = rawResourceDataSource; - o(rawResourceDataSource); - } - this.k = this.j; - } else { - this.k = this.f949c; - } - return this.k.a(lVar); - } - - @Override // c.i.a.c.h2.j - public void close() throws IOException { - j jVar = this.k; - if (jVar != null) { - j jVar2 = null; - try { - jVar.close(); - } finally { - this.k = jVar2; - } - } - } - - @Override // c.i.a.c.h2.j - public void d(x xVar) { - Objects.requireNonNull(xVar); - this.f949c.d(xVar); - this.b.add(xVar); - j jVar = this.d; - if (jVar != null) { - jVar.d(xVar); - } - j jVar2 = this.e; - if (jVar2 != null) { - jVar2.d(xVar); - } - j jVar3 = this.f; - if (jVar3 != null) { - jVar3.d(xVar); - } - j jVar4 = this.g; - if (jVar4 != null) { - jVar4.d(xVar); - } - j jVar5 = this.h; - if (jVar5 != null) { - jVar5.d(xVar); - } - j jVar6 = this.i; - if (jVar6 != null) { - jVar6.d(xVar); - } - j jVar7 = this.j; - if (jVar7 != null) { - jVar7.d(xVar); - } - } - - @Override // c.i.a.c.h2.j - public Map> j() { - j jVar = this.k; - return jVar == null ? Collections.emptyMap() : jVar.j(); - } - - @Override // c.i.a.c.h2.j - @Nullable - public Uri m() { - j jVar = this.k; - if (jVar == null) { - return null; - } - return jVar.m(); - } - - public final void o(j jVar) { - for (int i = 0; i < this.b.size(); i++) { - jVar.d(this.b.get(i)); - } - } - - @Override // c.i.a.c.h2.f - public int read(byte[] bArr, int i, int i2) throws IOException { - j jVar = this.k; - Objects.requireNonNull(jVar); - return jVar.read(bArr, i, i2); - } -} diff --git a/app/src/main/java/c/i/a/c/h2/p.java b/app/src/main/java/c/i/a/c/h2/p.java deleted file mode 100644 index 7b56d69e72..0000000000 --- a/app/src/main/java/c/i/a/c/h2/p.java +++ /dev/null @@ -1,30 +0,0 @@ -package c.i.a.c.h2; - -import android.content.Context; -import androidx.annotation.Nullable; -import c.i.a.c.h2.j; -import c.i.a.c.h2.q; -/* compiled from: DefaultDataSourceFactory */ -public final class p implements j.a { - public final Context a; - public final j.a b; - - public p(Context context) { - q.b bVar = new q.b(); - bVar.b = null; - this.a = context.getApplicationContext(); - this.b = bVar; - } - - public p(Context context, @Nullable String str) { - q.b bVar = new q.b(); - bVar.b = str; - this.a = context.getApplicationContext(); - this.b = bVar; - } - - /* renamed from: b */ - public o a() { - return new o(this.a, this.b.a()); - } -} diff --git a/app/src/main/java/c/i/a/c/h2/q.java b/app/src/main/java/c/i/a/c/h2/q.java deleted file mode 100644 index 069bb08e3c..0000000000 --- a/app/src/main/java/c/i/a/c/h2/q.java +++ /dev/null @@ -1,456 +0,0 @@ -package c.i.a.c.h2; - -import android.net.Uri; -import android.text.TextUtils; -import android.util.Log; -import androidx.annotation.Nullable; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.p; -import c.i.b.a.h; -import com.adjust.sdk.Constants; -import com.discord.analytics.utils.RegistrationSteps; -import com.discord.api.permission.Permission; -import com.google.android.exoplayer2.upstream.DataSourceException; -import com.google.android.exoplayer2.upstream.HttpDataSource$CleartextNotPermittedException; -import com.google.android.exoplayer2.upstream.HttpDataSource$HttpDataSourceException; -import com.google.android.exoplayer2.upstream.HttpDataSource$InvalidContentTypeException; -import com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException; -import java.io.EOFException; -import java.io.IOException; -import java.io.InputStream; -import java.io.InterruptedIOException; -import java.io.OutputStream; -import java.lang.reflect.Method; -import java.net.HttpURLConnection; -import java.net.NoRouteToHostException; -import java.net.ProtocolException; -import java.net.URL; -import java.util.Collections; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -import java.util.zip.GZIPInputStream; -/* compiled from: DefaultHttpDataSource */ -public class q extends e implements j { - public static final Pattern e = Pattern.compile("^bytes (\\d+)-(\\d+)/(\\d+)$"); - public final boolean f; - public final int g; - public final int h; - @Nullable - public final String i; - @Nullable - public final t j; - public final t k = new t(); - @Nullable - public h l = null; - @Nullable - public l m; - @Nullable - public HttpURLConnection n; - @Nullable - public InputStream o; - public byte[] p; - public boolean q; - - /* renamed from: r reason: collision with root package name */ - public int f950r; - public long s; - public long t; - public long u; - public long v; - - /* compiled from: DefaultHttpDataSource */ - public static final class b implements s { - public final t a = new t(); - @Nullable - public String b; - - /* renamed from: c reason: collision with root package name */ - public int f951c = 8000; - public int d = 8000; - - /* renamed from: b */ - public q a() { - return new q(this.b, this.f951c, this.d, false, this.a, null, null); - } - } - - public q(String str, int i, int i2, boolean z2, t tVar, h hVar, a aVar) { - super(true); - this.i = str; - this.g = i; - this.h = i2; - this.f = z2; - this.j = tVar; - } - - public static URL t(URL url, @Nullable String str) throws IOException { - if (str != null) { - URL url2 = new URL(url, str); - String protocol = url2.getProtocol(); - if (Constants.SCHEME.equals(protocol) || "http".equals(protocol)) { - return url2; - } - throw new ProtocolException(c.d.b.a.a.u("Unsupported protocol redirect: ", protocol)); - } - throw new ProtocolException("Null location redirect"); - } - - public static void w(@Nullable HttpURLConnection httpURLConnection, long j) { - int i; - if (httpURLConnection != null && (i = f0.a) >= 19 && i <= 20) { - try { - InputStream inputStream = httpURLConnection.getInputStream(); - if (j == -1) { - if (inputStream.read() == -1) { - return; - } - } else if (j <= Permission.SEND_MESSAGES) { - return; - } - String name = inputStream.getClass().getName(); - if ("com.android.okhttp.internal.http.HttpTransport$ChunkedInputStream".equals(name) || "com.android.okhttp.internal.http.HttpTransport$FixedLengthInputStream".equals(name)) { - Class superclass = inputStream.getClass().getSuperclass(); - Objects.requireNonNull(superclass); - Method declaredMethod = superclass.getDeclaredMethod("unexpectedEndOfInput", new Class[0]); - declaredMethod.setAccessible(true); - declaredMethod.invoke(inputStream, new Object[0]); - } - } catch (Exception unused) { - } - } - } - - /* JADX WARNING: Code restructure failed: missing block: B:18:0x004e, code lost: - if (r7 != 0) goto L_0x0052; - */ - /* JADX WARNING: Removed duplicated region for block: B:34:0x00a7 */ - /* JADX WARNING: Removed duplicated region for block: B:48:0x011b */ - /* JADX WARNING: Removed duplicated region for block: B:49:0x0120 */ - @Override // c.i.a.c.h2.j - public long a(l lVar) throws HttpDataSource$HttpDataSourceException { - byte[] bArr; - long j; - long j2; - String headerField; - this.m = lVar; - this.v = 0; - this.u = 0; - q(lVar); - try { - HttpURLConnection u = u(lVar); - this.n = u; - try { - this.f950r = u.getResponseCode(); - String responseMessage = u.getResponseMessage(); - int i = this.f950r; - if (i < 200 || i > 299) { - Map> headerFields = u.getHeaderFields(); - InputStream errorStream = u.getErrorStream(); - if (errorStream != null) { - try { - bArr = f0.J(errorStream); - } catch (IOException unused) { - bArr = f0.f; - } - } else { - bArr = f0.f; - } - s(); - HttpDataSource$InvalidResponseCodeException httpDataSource$InvalidResponseCodeException = new HttpDataSource$InvalidResponseCodeException(this.f950r, responseMessage, headerFields, lVar, bArr); - if (this.f950r == 416) { - httpDataSource$InvalidResponseCodeException.initCause(new DataSourceException(0)); - } - throw httpDataSource$InvalidResponseCodeException; - } - String contentType = u.getContentType(); - h hVar = this.l; - if (hVar == null || hVar.apply(contentType)) { - if (this.f950r == 200) { - j = lVar.f; - } - j = 0; - this.s = j; - boolean equalsIgnoreCase = "gzip".equalsIgnoreCase(u.getHeaderField("Content-Encoding")); - if (!equalsIgnoreCase) { - long j3 = lVar.g; - if (j3 != -1) { - this.t = j3; - } else { - String headerField2 = u.getHeaderField("Content-Length"); - if (!TextUtils.isEmpty(headerField2)) { - try { - j2 = Long.parseLong(headerField2); - } catch (NumberFormatException unused2) { - Log.e("DefaultHttpDataSource", "Unexpected Content-Length [" + headerField2 + "]"); - } - headerField = u.getHeaderField("Content-Range"); - if (!TextUtils.isEmpty(headerField)) { - Matcher matcher = e.matcher(headerField); - if (matcher.find()) { - try { - String group = matcher.group(2); - Objects.requireNonNull(group); - long parseLong = Long.parseLong(group); - String group2 = matcher.group(1); - Objects.requireNonNull(group2); - long parseLong2 = (parseLong - Long.parseLong(group2)) + 1; - if (j2 < 0) { - j2 = parseLong2; - } else if (j2 != parseLong2) { - Log.w("DefaultHttpDataSource", "Inconsistent headers [" + headerField2 + "] [" + headerField + "]"); - j2 = Math.max(j2, parseLong2); - } - } catch (NumberFormatException unused3) { - Log.e("DefaultHttpDataSource", "Unexpected Content-Range [" + headerField + "]"); - } - } - } - this.t = j2 == -1 ? j2 - this.s : -1; - } - j2 = -1; - headerField = u.getHeaderField("Content-Range"); - if (!TextUtils.isEmpty(headerField)) { - } - this.t = j2 == -1 ? j2 - this.s : -1; - } - } else { - this.t = lVar.g; - } - try { - this.o = u.getInputStream(); - if (equalsIgnoreCase) { - this.o = new GZIPInputStream(this.o); - } - this.q = true; - r(lVar); - return this.t; - } catch (IOException e2) { - s(); - throw new HttpDataSource$HttpDataSourceException(e2, lVar, 1); - } - } else { - s(); - throw new HttpDataSource$InvalidContentTypeException(contentType, lVar); - } - } catch (IOException e3) { - s(); - throw new HttpDataSource$HttpDataSourceException("Unable to connect", e3, lVar, 1); - } - } catch (IOException e4) { - String message = e4.getMessage(); - if (message == null || !f0.K(message).matches("cleartext http traffic.*not permitted.*")) { - throw new HttpDataSource$HttpDataSourceException("Unable to connect", e4, lVar, 1); - } - throw new HttpDataSource$CleartextNotPermittedException(e4, lVar); - } - } - - @Override // c.i.a.c.h2.j - public void close() throws HttpDataSource$HttpDataSourceException { - boolean z2 = false; - InputStream inputStream = null; - try { - InputStream inputStream2 = this.o; - if (inputStream2 != null) { - HttpURLConnection httpURLConnection = this.n; - long j = this.t; - if (j != -1) { - j -= this.v; - } - w(httpURLConnection, j); - try { - inputStream2.close(); - } catch (IOException e2) { - l lVar = this.m; - int i = f0.a; - throw new HttpDataSource$HttpDataSourceException(e2, lVar, 3); - } - } - } finally { - this.o = inputStream; - s(); - if (this.q) { - this.q = z2; - p(); - } - } - } - - @Override // c.i.a.c.h2.e, c.i.a.c.h2.j - public Map> j() { - HttpURLConnection httpURLConnection = this.n; - return httpURLConnection == null ? Collections.emptyMap() : httpURLConnection.getHeaderFields(); - } - - @Override // c.i.a.c.h2.j - @Nullable - public Uri m() { - HttpURLConnection httpURLConnection = this.n; - if (httpURLConnection == null) { - return null; - } - return Uri.parse(httpURLConnection.getURL().toString()); - } - - @Override // c.i.a.c.h2.f - public int read(byte[] bArr, int i, int i2) throws HttpDataSource$HttpDataSourceException { - try { - x(); - if (i2 == 0) { - return 0; - } - long j = this.t; - if (j != -1) { - long j2 = j - this.v; - if (j2 != 0) { - i2 = (int) Math.min((long) i2, j2); - } - return -1; - } - InputStream inputStream = this.o; - int i3 = f0.a; - int read = inputStream.read(bArr, i, i2); - if (read != -1) { - this.v += (long) read; - o(read); - return read; - } else if (this.t == -1) { - return -1; - } else { - throw new EOFException(); - } - } catch (IOException e2) { - l lVar = this.m; - int i4 = f0.a; - throw new HttpDataSource$HttpDataSourceException(e2, lVar, 2); - } - } - - public final void s() { - HttpURLConnection httpURLConnection = this.n; - if (httpURLConnection != null) { - try { - httpURLConnection.disconnect(); - } catch (Exception e2) { - p.b("DefaultHttpDataSource", "Unexpected error while disconnecting", e2); - } - this.n = null; - } - } - - public final HttpURLConnection u(l lVar) throws IOException { - HttpURLConnection v; - l lVar2 = lVar; - URL url = new URL(lVar2.a.toString()); - int i = lVar2.f943c; - byte[] bArr = lVar2.d; - long j = lVar2.f; - long j2 = lVar2.g; - boolean c2 = lVar2.c(1); - if (!this.f) { - return v(url, i, bArr, j, j2, c2, true, lVar2.e); - } - int i2 = 0; - while (true) { - int i3 = i2 + 1; - if (i2 <= 20) { - v = v(url, i, bArr, j, j2, c2, false, lVar2.e); - int responseCode = v.getResponseCode(); - String headerField = v.getHeaderField("Location"); - if ((i == 1 || i == 3) && (responseCode == 300 || responseCode == 301 || responseCode == 302 || responseCode == 303 || responseCode == 307 || responseCode == 308)) { - v.disconnect(); - url = t(url, headerField); - } else if (i != 2 || (responseCode != 300 && responseCode != 301 && responseCode != 302 && responseCode != 303)) { - break; - } else { - v.disconnect(); - url = t(url, headerField); - i = 1; - bArr = null; - } - lVar2 = lVar; - i2 = i3; - j2 = j2; - j = j; - } else { - throw new NoRouteToHostException(c.d.b.a.a.l("Too many redirects: ", i3)); - } - } - return v; - } - - public final HttpURLConnection v(URL url, int i, @Nullable byte[] bArr, long j, long j2, boolean z2, boolean z3, Map map) throws IOException { - HttpURLConnection httpURLConnection = (HttpURLConnection) url.openConnection(); - httpURLConnection.setConnectTimeout(this.g); - httpURLConnection.setReadTimeout(this.h); - HashMap hashMap = new HashMap(); - t tVar = this.j; - if (tVar != null) { - hashMap.putAll(tVar.a()); - } - hashMap.putAll(this.k.a()); - hashMap.putAll(map); - for (Map.Entry entry : hashMap.entrySet()) { - httpURLConnection.setRequestProperty((String) entry.getKey(), (String) entry.getValue()); - } - if (!(j == 0 && j2 == -1)) { - String r2 = c.d.b.a.a.r("bytes=", j, "-"); - if (j2 != -1) { - StringBuilder O = c.d.b.a.a.O(r2); - O.append((j + j2) - 1); - r2 = O.toString(); - } - httpURLConnection.setRequestProperty("Range", r2); - } - String str = this.i; - if (str != null) { - httpURLConnection.setRequestProperty("User-Agent", str); - } - httpURLConnection.setRequestProperty("Accept-Encoding", z2 ? "gzip" : RegistrationSteps.IDENTITY); - httpURLConnection.setInstanceFollowRedirects(z3); - httpURLConnection.setDoOutput(bArr != null); - httpURLConnection.setRequestMethod(l.b(i)); - if (bArr != null) { - httpURLConnection.setFixedLengthStreamingMode(bArr.length); - httpURLConnection.connect(); - OutputStream outputStream = httpURLConnection.getOutputStream(); - outputStream.write(bArr); - outputStream.close(); - } else { - httpURLConnection.connect(); - } - return httpURLConnection; - } - - public final void x() throws IOException { - if (this.u != this.s) { - if (this.p == null) { - this.p = new byte[4096]; - } - while (true) { - long j = this.u; - long j2 = this.s; - if (j != j2) { - int min = (int) Math.min(j2 - j, (long) this.p.length); - InputStream inputStream = this.o; - int i = f0.a; - int read = inputStream.read(this.p, 0, min); - if (Thread.currentThread().isInterrupted()) { - throw new InterruptedIOException(); - } else if (read != -1) { - this.u += (long) read; - o(read); - } else { - throw new EOFException(); - } - } else { - return; - } - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/h2/r.java b/app/src/main/java/c/i/a/c/h2/r.java deleted file mode 100644 index ae6d03b6be..0000000000 --- a/app/src/main/java/c/i/a/c/h2/r.java +++ /dev/null @@ -1,7 +0,0 @@ -package c.i.a.c.h2; -/* compiled from: DefaultLoadErrorHandlingPolicy */ -public class r implements u { - public int a(int i) { - return i == 7 ? 6 : 3; - } -} diff --git a/app/src/main/java/c/i/a/c/h2/s.java b/app/src/main/java/c/i/a/c/h2/s.java deleted file mode 100644 index 114febc174..0000000000 --- a/app/src/main/java/c/i/a/c/h2/s.java +++ /dev/null @@ -1,6 +0,0 @@ -package c.i.a.c.h2; - -import c.i.a.c.h2.j; -/* compiled from: HttpDataSource */ -public interface s extends j.a { -} diff --git a/app/src/main/java/c/i/a/c/h2/t.java b/app/src/main/java/c/i/a/c/h2/t.java deleted file mode 100644 index 61cfd1d088..0000000000 --- a/app/src/main/java/c/i/a/c/h2/t.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.h2; - -import androidx.annotation.Nullable; -import java.util.Collections; -import java.util.HashMap; -import java.util.Map; -/* compiled from: HttpDataSource */ -public final class t { - public final Map a = new HashMap(); - @Nullable - public Map b; - - public synchronized Map a() { - if (this.b == null) { - this.b = Collections.unmodifiableMap(new HashMap(this.a)); - } - return this.b; - } -} diff --git a/app/src/main/java/c/i/a/c/h2/u.java b/app/src/main/java/c/i/a/c/h2/u.java deleted file mode 100644 index fe8c9a120c..0000000000 --- a/app/src/main/java/c/i/a/c/h2/u.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.a.c.h2; -/* compiled from: LoadErrorHandlingPolicy */ -public interface u { -} diff --git a/app/src/main/java/c/i/a/c/h2/v.java b/app/src/main/java/c/i/a/c/h2/v.java deleted file mode 100644 index 68dda18e0e..0000000000 --- a/app/src/main/java/c/i/a/c/h2/v.java +++ /dev/null @@ -1,66 +0,0 @@ -package c.i.a.c.h2; - -import android.net.Uri; -import androidx.annotation.Nullable; -import java.io.IOException; -import java.util.Collections; -import java.util.List; -import java.util.Map; -import java.util.Objects; -/* compiled from: StatsDataSource */ -public final class v implements j { - public final j a; - public long b; - - /* renamed from: c reason: collision with root package name */ - public Uri f952c = Uri.EMPTY; - public Map> d = Collections.emptyMap(); - - public v(j jVar) { - Objects.requireNonNull(jVar); - this.a = jVar; - } - - @Override // c.i.a.c.h2.j - public long a(l lVar) throws IOException { - this.f952c = lVar.a; - this.d = Collections.emptyMap(); - long a = this.a.a(lVar); - Uri m = m(); - Objects.requireNonNull(m); - this.f952c = m; - this.d = j(); - return a; - } - - @Override // c.i.a.c.h2.j - public void close() throws IOException { - this.a.close(); - } - - @Override // c.i.a.c.h2.j - public void d(x xVar) { - Objects.requireNonNull(xVar); - this.a.d(xVar); - } - - @Override // c.i.a.c.h2.j - public Map> j() { - return this.a.j(); - } - - @Override // c.i.a.c.h2.j - @Nullable - public Uri m() { - return this.a.m(); - } - - @Override // c.i.a.c.h2.f - public int read(byte[] bArr, int i, int i2) throws IOException { - int read = this.a.read(bArr, i, i2); - if (read != -1) { - this.b += (long) read; - } - return read; - } -} diff --git a/app/src/main/java/c/i/a/c/h2/w.java b/app/src/main/java/c/i/a/c/h2/w.java deleted file mode 100644 index 781a1bcd80..0000000000 --- a/app/src/main/java/c/i/a/c/h2/w.java +++ /dev/null @@ -1,85 +0,0 @@ -package c.i.a.c.h2; - -import android.net.Uri; -import androidx.annotation.Nullable; -import java.io.IOException; -import java.util.List; -import java.util.Map; -import java.util.Objects; -/* compiled from: TeeDataSource */ -public final class w implements j { - public final j a; - public final h b; - - /* renamed from: c reason: collision with root package name */ - public boolean f953c; - public long d; - - public w(j jVar, h hVar) { - this.a = jVar; - this.b = hVar; - } - - @Override // c.i.a.c.h2.j - public long a(l lVar) throws IOException { - l lVar2 = lVar; - long a = this.a.a(lVar2); - this.d = a; - if (a == 0) { - return 0; - } - long j = lVar2.g; - if (j == -1 && a != -1) { - lVar2 = j == a ? lVar2 : new l(lVar2.a, lVar2.b, lVar2.f943c, lVar2.d, lVar2.e, lVar2.f + 0, a, lVar2.h, lVar2.i, lVar2.j); - } - this.f953c = true; - this.b.a(lVar2); - return this.d; - } - - @Override // c.i.a.c.h2.j - public void close() throws IOException { - boolean z2 = false; - try { - this.a.close(); - } finally { - if (this.f953c) { - this.f953c = z2; - this.b.close(); - } - } - } - - @Override // c.i.a.c.h2.j - public void d(x xVar) { - Objects.requireNonNull(xVar); - this.a.d(xVar); - } - - @Override // c.i.a.c.h2.j - public Map> j() { - return this.a.j(); - } - - @Override // c.i.a.c.h2.j - @Nullable - public Uri m() { - return this.a.m(); - } - - @Override // c.i.a.c.h2.f - public int read(byte[] bArr, int i, int i2) throws IOException { - if (this.d == 0) { - return -1; - } - int read = this.a.read(bArr, i, i2); - if (read > 0) { - this.b.write(bArr, i, read); - long j = this.d; - if (j != -1) { - this.d = j - ((long) read); - } - } - return read; - } -} diff --git a/app/src/main/java/c/i/a/c/h2/x.java b/app/src/main/java/c/i/a/c/h2/x.java deleted file mode 100644 index ddf96de39e..0000000000 --- a/app/src/main/java/c/i/a/c/h2/x.java +++ /dev/null @@ -1,11 +0,0 @@ -package c.i.a.c.h2; -/* compiled from: TransferListener */ -public interface x { - void a(j jVar, l lVar, boolean z2); - - void b(j jVar, l lVar, boolean z2); - - void e(j jVar, l lVar, boolean z2, int i); - - void g(j jVar, l lVar, boolean z2); -} diff --git a/app/src/main/java/c/i/a/c/h2/y/a.java b/app/src/main/java/c/i/a/c/h2/y/a.java deleted file mode 100644 index 254f37044c..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/a.java +++ /dev/null @@ -1,5 +0,0 @@ -package c.i.a.c.h2.y; -/* compiled from: lambda */ -public final /* synthetic */ class a implements g { - public static final /* synthetic */ a b = new a(); -} diff --git a/app/src/main/java/c/i/a/c/h2/y/b.java b/app/src/main/java/c/i/a/c/h2/y/b.java deleted file mode 100644 index 76310ab1bf..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/b.java +++ /dev/null @@ -1,16 +0,0 @@ -package c.i.a.c.h2.y; - -import java.util.Comparator; -/* compiled from: lambda */ -public final /* synthetic */ class b implements Comparator { - public static final /* synthetic */ b i = new b(); - - @Override // java.util.Comparator - public final int compare(Object obj, Object obj2) { - h hVar = (h) obj; - h hVar2 = (h) obj2; - long j = hVar.n; - long j2 = hVar2.n; - return j - j2 == 0 ? hVar.compareTo(hVar2) : j < j2 ? -1 : 1; - } -} diff --git a/app/src/main/java/c/i/a/c/h2/y/c.java b/app/src/main/java/c/i/a/c/h2/y/c.java deleted file mode 100644 index 667de3ca7e..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/c.java +++ /dev/null @@ -1,392 +0,0 @@ -package c.i.a.c.h2.y; - -import android.net.Uri; -import androidx.annotation.Nullable; -import androidx.recyclerview.widget.RecyclerView; -import c.c.a.a0.d; -import c.i.a.c.h2.h; -import c.i.a.c.h2.j; -import c.i.a.c.h2.l; -import c.i.a.c.h2.w; -import c.i.a.c.h2.x; -import c.i.a.c.i2.f0; -import com.google.android.exoplayer2.upstream.DataSourceException; -import com.google.android.exoplayer2.upstream.cache.Cache; -import java.io.IOException; -import java.io.InterruptedIOException; -import java.util.Collections; -import java.util.List; -import java.util.Map; -import java.util.Objects; -/* compiled from: CacheDataSource */ -public final class c implements j { - public final Cache a; - public final j b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public final j f954c; - public final j d; - public final g e = a.b; - @Nullable - public final a f; - public final boolean g; - public final boolean h; - public final boolean i; - @Nullable - public Uri j; - @Nullable - public l k; - @Nullable - public j l; - public boolean m; - public long n; - public long o; - @Nullable - public h p; - public boolean q; - - /* renamed from: r reason: collision with root package name */ - public boolean f955r; - public long s; - public long t; - - /* compiled from: CacheDataSource */ - public interface a { - void a(int i); - - void b(long j, long j2); - } - - public c(Cache cache, @Nullable j jVar, j jVar2, @Nullable h hVar, int i, @Nullable a aVar) { - this.a = cache; - this.b = jVar2; - int i2 = g.a; - boolean z2 = false; - this.g = (i & 1) != 0; - this.h = (i & 2) != 0; - this.i = (i & 4) != 0 ? true : z2; - this.d = jVar; - this.f954c = new w(jVar, hVar); - this.f = null; - } - - @Override // c.i.a.c.h2.j - public long a(l lVar) throws IOException { - a aVar; - try { - Objects.requireNonNull((a) this.e); - String str = lVar.h; - if (str == null) { - str = lVar.a.toString(); - } - l.b a2 = lVar.a(); - a2.h = str; - l a3 = a2.a(); - this.k = a3; - Cache cache = this.a; - Uri uri = a3.a; - byte[] bArr = ((n) cache.b(str)).f961c.get("exo_redir"); - Uri uri2 = null; - String str2 = bArr != null ? new String(bArr, c.i.b.a.c.f1350c) : null; - if (str2 != null) { - uri2 = Uri.parse(str2); - } - if (uri2 != null) { - uri = uri2; - } - this.j = uri; - this.n = lVar.f; - boolean z2 = true; - int i = (!this.h || !this.q) ? (!this.i || lVar.g != -1) ? -1 : 1 : 0; - if (i == -1) { - z2 = false; - } - this.f955r = z2; - if (z2 && (aVar = this.f) != null) { - aVar.a(i); - } - long j = lVar.g; - if (j == -1) { - if (!this.f955r) { - long a4 = k.a(this.a.b(str)); - this.o = a4; - if (a4 != -1) { - long j2 = a4 - lVar.f; - this.o = j2; - if (j2 <= 0) { - throw new DataSourceException(0); - } - } - r(a3, false); - return this.o; - } - } - this.o = j; - r(a3, false); - return this.o; - } catch (Throwable th) { - p(th); - throw th; - } - } - - @Override // c.i.a.c.h2.j - public void close() throws IOException { - this.k = null; - this.j = null; - this.n = 0; - a aVar = this.f; - if (aVar != null && this.s > 0) { - aVar.b(this.a.h(), this.s); - this.s = 0; - } - try { - o(); - } catch (Throwable th) { - p(th); - throw th; - } - } - - @Override // c.i.a.c.h2.j - public void d(x xVar) { - Objects.requireNonNull(xVar); - this.b.d(xVar); - this.d.d(xVar); - } - - @Override // c.i.a.c.h2.j - public Map> j() { - return q() ^ true ? this.d.j() : Collections.emptyMap(); - } - - @Override // c.i.a.c.h2.j - @Nullable - public Uri m() { - return this.j; - } - - /* JADX WARNING: Unknown variable types count: 1 */ - public final void o() throws IOException { - j jVar = this.l; - if (jVar != null) { - boolean z2 = false; - ?? r2 = 0; - try { - jVar.close(); - } finally { - this.l = r2; - this.m = z2; - h hVar = this.p; - if (hVar != null) { - this.a.i(hVar); - this.p = r2; - } - } - } - } - - public final void p(Throwable th) { - if (q() || (th instanceof Cache.CacheException)) { - this.q = true; - } - } - - public final boolean q() { - return this.l == this.b; - } - - public final void r(l lVar, boolean z2) throws IOException { - h hVar; - l lVar2; - j jVar; - String str = lVar.h; - int i = f0.a; - Uri uri = null; - if (this.f955r) { - hVar = null; - } else if (this.g) { - try { - hVar = this.a.f(str, this.n, this.o); - } catch (InterruptedException unused) { - Thread.currentThread().interrupt(); - throw new InterruptedIOException(); - } - } else { - hVar = this.a.e(str, this.n, this.o); - } - if (hVar == null) { - jVar = this.d; - l.b a2 = lVar.a(); - a2.f = this.n; - a2.g = this.o; - lVar2 = a2.a(); - } else if (hVar.l) { - Uri fromFile = Uri.fromFile(hVar.m); - long j = hVar.j; - long j2 = this.n - j; - long j3 = hVar.k - j2; - long j4 = this.o; - if (j4 != -1) { - j3 = Math.min(j3, j4); - } - l.b a3 = lVar.a(); - a3.a = fromFile; - a3.b = j; - a3.f = j2; - a3.g = j3; - lVar2 = a3.a(); - jVar = this.b; - } else { - long j5 = hVar.k; - if (j5 == -1) { - j5 = this.o; - } else { - long j6 = this.o; - if (j6 != -1) { - j5 = Math.min(j5, j6); - } - } - l.b a4 = lVar.a(); - a4.f = this.n; - a4.g = j5; - lVar2 = a4.a(); - jVar = this.f954c; - if (jVar == null) { - jVar = this.d; - this.a.i(hVar); - hVar = null; - } - } - this.t = (this.f955r || jVar != this.d) ? RecyclerView.FOREVER_NS : this.n + 102400; - if (z2) { - d.D(this.l == this.d); - if (jVar != this.d) { - try { - o(); - } catch (Throwable th) { - if (!hVar.l) { - this.a.i(hVar); - } - throw th; - } - } else { - return; - } - } - if (hVar != null && (!hVar.l)) { - this.p = hVar; - } - this.l = jVar; - this.m = lVar2.g == -1; - long a5 = jVar.a(lVar2); - m mVar = new m(); - if (this.m && a5 != -1) { - this.o = a5; - m.a(mVar, this.n + a5); - } - if (!q()) { - Uri m = jVar.m(); - this.j = m; - if (!lVar.a.equals(m)) { - uri = this.j; - } - if (uri == null) { - mVar.b.add("exo_redir"); - mVar.a.remove("exo_redir"); - } else { - String uri2 = uri.toString(); - Map map = mVar.a; - Objects.requireNonNull(uri2); - map.put("exo_redir", uri2); - mVar.b.remove("exo_redir"); - } - } - if (this.l == this.f954c) { - this.a.c(str, mVar); - } - } - - @Override // c.i.a.c.h2.f - public int read(byte[] bArr, int i, int i2) throws IOException { - l lVar = this.k; - Objects.requireNonNull(lVar); - boolean z2 = false; - if (i2 == 0) { - return 0; - } - if (this.o == 0) { - return -1; - } - try { - if (this.n >= this.t) { - r(lVar, true); - } - j jVar = this.l; - Objects.requireNonNull(jVar); - int read = jVar.read(bArr, i, i2); - if (read != -1) { - if (q()) { - this.s += (long) read; - } - long j = (long) read; - this.n += j; - long j2 = this.o; - if (j2 != -1) { - this.o = j2 - j; - } - } else if (this.m) { - String str = lVar.h; - int i3 = f0.a; - s(str); - } else { - long j3 = this.o; - if (j3 <= 0) { - if (j3 == -1) { - } - } - o(); - r(lVar, false); - return read(bArr, i, i2); - } - return read; - } catch (IOException e) { - if (this.m) { - int i4 = DataSourceException.i; - Throwable th = e; - while (true) { - if (th != null) { - if ((th instanceof DataSourceException) && ((DataSourceException) th).reason == 0) { - z2 = true; - break; - } - th = th.getCause(); - } else { - break; - } - } - if (z2) { - String str2 = lVar.h; - int i5 = f0.a; - s(str2); - return -1; - } - } - p(e); - throw e; - } catch (Throwable th2) { - p(th2); - throw th2; - } - } - - public final void s(String str) throws IOException { - this.o = 0; - if (this.l == this.f954c) { - m mVar = new m(); - m.a(mVar, this.n); - this.a.c(str, mVar); - } - } -} diff --git a/app/src/main/java/c/i/a/c/h2/y/d.java b/app/src/main/java/c/i/a/c/h2/y/d.java deleted file mode 100644 index a8d5d1271e..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/d.java +++ /dev/null @@ -1,9 +0,0 @@ -package c.i.a.c.h2.y; - -import com.google.android.exoplayer2.upstream.cache.Cache; -/* compiled from: CacheEvictor */ -public interface d extends Cache.a { - void a(Cache cache, String str, long j, long j2); - - void e(); -} diff --git a/app/src/main/java/c/i/a/c/h2/y/e.java b/app/src/main/java/c/i/a/c/h2/y/e.java deleted file mode 100644 index 2288ed7cdc..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/e.java +++ /dev/null @@ -1,11 +0,0 @@ -package c.i.a.c.h2.y; -/* compiled from: CacheFileMetadata */ -public final class e { - public final long a; - public final long b; - - public e(long j, long j2) { - this.a = j; - this.b = j2; - } -} diff --git a/app/src/main/java/c/i/a/c/h2/y/f.java b/app/src/main/java/c/i/a/c/h2/y/f.java deleted file mode 100644 index e8ff9f05cd..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/f.java +++ /dev/null @@ -1,120 +0,0 @@ -package c.i.a.c.h2.y; - -import android.content.ContentValues; -import android.database.Cursor; -import android.database.SQLException; -import android.database.sqlite.SQLiteDatabase; -import androidx.annotation.WorkerThread; -import c.c.a.a0.d; -import c.i.a.c.w1.a; -import com.discord.models.domain.ModelAuditLogEntry; -import com.google.android.exoplayer2.database.DatabaseIOException; -import java.util.HashMap; -import java.util.Iterator; -import java.util.Map; -import java.util.Objects; -import java.util.Set; -/* compiled from: CacheFileMetadataIndex */ -public final class f { - public static final String[] a = {ModelAuditLogEntry.CHANGE_KEY_NAME, "length", "last_touch_timestamp"}; - public final a b; - - /* renamed from: c reason: collision with root package name */ - public String f956c; - - public f(a aVar) { - this.b = aVar; - } - - /* JADX WARNING: Code restructure failed: missing block: B:12:0x0045, code lost: - r2 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:13:0x0046, code lost: - if (r0 != null) goto L_0x0048; - */ - /* JADX WARNING: Code restructure failed: missing block: B:15:?, code lost: - r0.close(); - */ - /* JADX WARNING: Code restructure failed: missing block: B:16:0x004c, code lost: - r0 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:17:0x004d, code lost: - r1.addSuppressed(r0); - */ - /* JADX WARNING: Code restructure failed: missing block: B:18:0x0050, code lost: - throw r2; - */ - @WorkerThread - public Map a() throws DatabaseIOException { - try { - Objects.requireNonNull(this.f956c); - Cursor query = this.b.getReadableDatabase().query(this.f956c, a, null, null, null, null, null); - HashMap hashMap = new HashMap(query.getCount()); - while (query.moveToNext()) { - hashMap.put(query.getString(0), new e(query.getLong(1), query.getLong(2))); - } - query.close(); - return hashMap; - } catch (SQLException e) { - throw new DatabaseIOException(e); - } - } - - @WorkerThread - public void b(long j) throws DatabaseIOException { - try { - String hexString = Long.toHexString(j); - this.f956c = "ExoPlayerCacheFileMetadata" + hexString; - if (d.I0(this.b.getReadableDatabase(), 2, hexString) != 1) { - SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); - writableDatabase.beginTransactionNonExclusive(); - try { - d.Z1(writableDatabase, 2, hexString, 1); - String str = this.f956c; - writableDatabase.execSQL("DROP TABLE IF EXISTS " + str); - writableDatabase.execSQL("CREATE TABLE " + this.f956c + " (name TEXT PRIMARY KEY NOT NULL,length INTEGER NOT NULL,last_touch_timestamp INTEGER NOT NULL)"); - writableDatabase.setTransactionSuccessful(); - } finally { - writableDatabase.endTransaction(); - } - } - } catch (SQLException e) { - throw new DatabaseIOException(e); - } - } - - @WorkerThread - public void c(Set set) throws DatabaseIOException { - Objects.requireNonNull(this.f956c); - try { - SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); - writableDatabase.beginTransactionNonExclusive(); - try { - Iterator it = set.iterator(); - while (it.hasNext()) { - writableDatabase.delete(this.f956c, "name = ?", new String[]{it.next()}); - } - writableDatabase.setTransactionSuccessful(); - } finally { - writableDatabase.endTransaction(); - } - } catch (SQLException e) { - throw new DatabaseIOException(e); - } - } - - @WorkerThread - public void d(String str, long j, long j2) throws DatabaseIOException { - Objects.requireNonNull(this.f956c); - try { - SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); - ContentValues contentValues = new ContentValues(); - contentValues.put(ModelAuditLogEntry.CHANGE_KEY_NAME, str); - contentValues.put("length", Long.valueOf(j)); - contentValues.put("last_touch_timestamp", Long.valueOf(j2)); - writableDatabase.replaceOrThrow(this.f956c, null, contentValues); - } catch (SQLException e) { - throw new DatabaseIOException(e); - } - } -} diff --git a/app/src/main/java/c/i/a/c/h2/y/g.java b/app/src/main/java/c/i/a/c/h2/y/g.java deleted file mode 100644 index 45d1e656c7..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/g.java +++ /dev/null @@ -1,5 +0,0 @@ -package c.i.a.c.h2.y; -/* compiled from: CacheKeyFactory */ -public interface g { - public static final /* synthetic */ int a = 0; -} diff --git a/app/src/main/java/c/i/a/c/h2/y/h.java b/app/src/main/java/c/i/a/c/h2/y/h.java deleted file mode 100644 index 61752d50b1..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/h.java +++ /dev/null @@ -1,44 +0,0 @@ -package c.i.a.c.h2.y; - -import androidx.annotation.Nullable; -import c.d.b.a.a; -import java.io.File; -/* compiled from: CacheSpan */ -public class h implements Comparable { - public final String i; - public final long j; - public final long k; - public final boolean l; - @Nullable - public final File m; - public final long n; - - public h(String str, long j, long j2, long j3, @Nullable File file) { - this.i = str; - this.j = j; - this.k = j2; - this.l = file != null; - this.m = file; - this.n = j3; - } - - /* renamed from: f */ - public int compareTo(h hVar) { - if (!this.i.equals(hVar.i)) { - return this.i.compareTo(hVar.i); - } - int i = ((this.j - hVar.j) > 0 ? 1 : ((this.j - hVar.j) == 0 ? 0 : -1)); - if (i == 0) { - return 0; - } - return i < 0 ? -1 : 1; - } - - @Override // java.lang.Object - public String toString() { - StringBuilder O = a.O("["); - O.append(this.j); - O.append(", "); - return a.A(O, this.k, "]"); - } -} diff --git a/app/src/main/java/c/i/a/c/h2/y/i.java b/app/src/main/java/c/i/a/c/h2/y/i.java deleted file mode 100644 index 3dd623ed8e..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/i.java +++ /dev/null @@ -1,78 +0,0 @@ -package c.i.a.c.h2.y; - -import androidx.annotation.Nullable; -import java.util.ArrayList; -import java.util.TreeSet; -/* compiled from: CachedContent */ -public final class i { - public final int a; - public final String b; - - /* renamed from: c reason: collision with root package name */ - public final TreeSet f957c = new TreeSet<>(); - public final ArrayList d = new ArrayList<>(); - public n e; - - /* compiled from: CachedContent */ - public static final class a { - public final long a; - public final long b; - - public a(long j, long j2) { - this.a = j; - this.b = j2; - } - } - - public i(int i, String str, n nVar) { - this.a = i; - this.b = str; - this.e = nVar; - } - - /* JADX WARNING: Code restructure failed: missing block: B:14:0x0035, code lost: - if ((r11 + r13) <= (r5 + r3)) goto L_0x0021; - */ - /* JADX WARNING: Code restructure failed: missing block: B:6:0x001f, code lost: - if (r11 >= r2.a) goto L_0x0021; - */ - /* JADX WARNING: Removed duplicated region for block: B:17:0x003b A[LOOP:0: B:1:0x0002->B:17:0x003b, LOOP_END] */ - /* JADX WARNING: Removed duplicated region for block: B:20:0x003a A[SYNTHETIC] */ - public boolean a(long j, long j2) { - boolean z2; - for (int i = 0; i < this.d.size(); i++) { - a aVar = this.d.get(i); - long j3 = aVar.b; - if (j3 != -1) { - if (j2 != -1) { - long j4 = aVar.a; - if (j4 <= j) { - } - } - z2 = false; - if (!z2) { - return true; - } - } - z2 = true; - if (!z2) { - } - } - return false; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || i.class != obj.getClass()) { - return false; - } - i iVar = (i) obj; - return this.a == iVar.a && this.b.equals(iVar.b) && this.f957c.equals(iVar.f957c) && this.e.equals(iVar.e); - } - - public int hashCode() { - return this.e.hashCode() + c.d.b.a.a.m(this.b, this.a * 31, 31); - } -} diff --git a/app/src/main/java/c/i/a/c/h2/y/j.java b/app/src/main/java/c/i/a/c/h2/y/j.java deleted file mode 100644 index 84ad8528be..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/j.java +++ /dev/null @@ -1,676 +0,0 @@ -package c.i.a.c.h2.y; - -import android.content.ContentValues; -import android.database.Cursor; -import android.database.SQLException; -import android.database.sqlite.SQLiteDatabase; -import android.database.sqlite.SQLiteException; -import android.util.SparseArray; -import android.util.SparseBooleanArray; -import androidx.annotation.Nullable; -import androidx.annotation.WorkerThread; -import c.c.a.a0.d; -import c.i.a.c.i2.f; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.y; -import com.discord.models.domain.ModelAuditLogEntry; -import com.google.android.exoplayer2.database.DatabaseIOException; -import java.io.BufferedInputStream; -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.File; -import java.io.IOException; -import java.io.OutputStream; -import java.security.InvalidAlgorithmParameterException; -import java.security.InvalidKeyException; -import java.security.NoSuchAlgorithmException; -import java.security.SecureRandom; -import java.util.Arrays; -import java.util.HashMap; -import java.util.Map; -import java.util.Objects; -import java.util.Set; -import javax.crypto.Cipher; -import javax.crypto.CipherInputStream; -import javax.crypto.CipherOutputStream; -import javax.crypto.NoSuchPaddingException; -import javax.crypto.spec.IvParameterSpec; -import javax.crypto.spec.SecretKeySpec; -/* compiled from: CachedContentIndex */ -public class j { - public final HashMap a; - public final SparseArray b; - - /* renamed from: c reason: collision with root package name */ - public final SparseBooleanArray f958c; - public final SparseBooleanArray d; - public c e; - @Nullable - public c f; - - /* compiled from: CachedContentIndex */ - public static final class a implements c { - public static final String[] a = {ModelAuditLogEntry.CHANGE_KEY_ID, "key", "metadata"}; - public final c.i.a.c.w1.a b; - - /* renamed from: c reason: collision with root package name */ - public final SparseArray f959c = new SparseArray<>(); - public String d; - public String e; - - public a(c.i.a.c.w1.a aVar) { - this.b = aVar; - } - - @Override // c.i.a.c.h2.y.j.c - public void a(i iVar, boolean z2) { - if (z2) { - this.f959c.delete(iVar.a); - } else { - this.f959c.put(iVar.a, null); - } - } - - @Override // c.i.a.c.h2.y.j.c - public void b(HashMap hashMap) throws IOException { - try { - SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); - writableDatabase.beginTransactionNonExclusive(); - try { - j(writableDatabase); - for (i iVar : hashMap.values()) { - i(writableDatabase, iVar); - } - writableDatabase.setTransactionSuccessful(); - this.f959c.clear(); - } finally { - writableDatabase.endTransaction(); - } - } catch (SQLException e) { - throw new DatabaseIOException(e); - } - } - - @Override // c.i.a.c.h2.y.j.c - public void c(i iVar) { - this.f959c.put(iVar.a, iVar); - } - - @Override // c.i.a.c.h2.y.j.c - public boolean d() throws DatabaseIOException { - SQLiteDatabase readableDatabase = this.b.getReadableDatabase(); - String str = this.d; - Objects.requireNonNull(str); - return d.I0(readableDatabase, 1, str) != -1; - } - - @Override // c.i.a.c.h2.y.j.c - public void e(HashMap hashMap) throws IOException { - if (this.f959c.size() != 0) { - try { - SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); - writableDatabase.beginTransactionNonExclusive(); - for (int i = 0; i < this.f959c.size(); i++) { - try { - i valueAt = this.f959c.valueAt(i); - if (valueAt == null) { - int keyAt = this.f959c.keyAt(i); - String str = this.e; - Objects.requireNonNull(str); - writableDatabase.delete(str, "id = ?", new String[]{Integer.toString(keyAt)}); - } else { - i(writableDatabase, valueAt); - } - } finally { - writableDatabase.endTransaction(); - } - } - writableDatabase.setTransactionSuccessful(); - this.f959c.clear(); - writableDatabase.endTransaction(); - } catch (SQLException e) { - throw new DatabaseIOException(e); - } - } - } - - @Override // c.i.a.c.h2.y.j.c - public void f(long j) { - String hexString = Long.toHexString(j); - this.d = hexString; - this.e = c.d.b.a.a.u("ExoPlayerCacheIndex", hexString); - } - - /* JADX WARNING: Code restructure failed: missing block: B:25:0x0082, code lost: - r2 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:26:0x0083, code lost: - if (r0 != null) goto L_0x0085; - */ - /* JADX WARNING: Code restructure failed: missing block: B:28:?, code lost: - r0.close(); - */ - /* JADX WARNING: Code restructure failed: missing block: B:29:0x0089, code lost: - r0 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:30:0x008a, code lost: - r1.addSuppressed(r0); - */ - /* JADX WARNING: Code restructure failed: missing block: B:31:0x008d, code lost: - throw r2; - */ - @Override // c.i.a.c.h2.y.j.c - public void g(HashMap hashMap, SparseArray sparseArray) throws IOException { - d.D(this.f959c.size() == 0); - try { - SQLiteDatabase readableDatabase = this.b.getReadableDatabase(); - String str = this.d; - Objects.requireNonNull(str); - if (d.I0(readableDatabase, 1, str) != 1) { - SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); - writableDatabase.beginTransactionNonExclusive(); - try { - j(writableDatabase); - writableDatabase.setTransactionSuccessful(); - } finally { - writableDatabase.endTransaction(); - } - } - SQLiteDatabase readableDatabase2 = this.b.getReadableDatabase(); - String str2 = this.e; - Objects.requireNonNull(str2); - Cursor query = readableDatabase2.query(str2, a, null, null, null, null, null); - while (query.moveToNext()) { - int i = query.getInt(0); - String string = query.getString(1); - hashMap.put(string, new i(i, string, j.a(new DataInputStream(new ByteArrayInputStream(query.getBlob(2)))))); - sparseArray.put(i, string); - } - query.close(); - } catch (SQLiteException e) { - hashMap.clear(); - sparseArray.clear(); - throw new DatabaseIOException(e); - } - } - - @Override // c.i.a.c.h2.y.j.c - public void h() throws DatabaseIOException { - c.i.a.c.w1.a aVar = this.b; - String str = this.d; - Objects.requireNonNull(str); - try { - String str2 = "ExoPlayerCacheIndex" + str; - SQLiteDatabase writableDatabase = aVar.getWritableDatabase(); - writableDatabase.beginTransactionNonExclusive(); - try { - if (f0.I(writableDatabase, "ExoPlayerVersions")) { - writableDatabase.delete("ExoPlayerVersions", "feature = ? AND instance_uid = ?", new String[]{Integer.toString(1), str}); - } - writableDatabase.execSQL("DROP TABLE IF EXISTS " + str2); - writableDatabase.setTransactionSuccessful(); - writableDatabase.endTransaction(); - } catch (SQLException e) { - throw new DatabaseIOException(e); - } - } catch (SQLException e2) { - throw new DatabaseIOException(e2); - } - } - - public final void i(SQLiteDatabase sQLiteDatabase, i iVar) throws IOException { - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); - j.b(iVar.e, new DataOutputStream(byteArrayOutputStream)); - byte[] byteArray = byteArrayOutputStream.toByteArray(); - ContentValues contentValues = new ContentValues(); - contentValues.put(ModelAuditLogEntry.CHANGE_KEY_ID, Integer.valueOf(iVar.a)); - contentValues.put("key", iVar.b); - contentValues.put("metadata", byteArray); - String str = this.e; - Objects.requireNonNull(str); - sQLiteDatabase.replaceOrThrow(str, null, contentValues); - } - - public final void j(SQLiteDatabase sQLiteDatabase) throws DatabaseIOException { - String str = this.d; - Objects.requireNonNull(str); - d.Z1(sQLiteDatabase, 1, str, 1); - String str2 = this.e; - Objects.requireNonNull(str2); - sQLiteDatabase.execSQL("DROP TABLE IF EXISTS " + str2); - sQLiteDatabase.execSQL("CREATE TABLE " + this.e + " (id INTEGER PRIMARY KEY NOT NULL,key TEXT NOT NULL,metadata BLOB NOT NULL)"); - } - } - - /* compiled from: CachedContentIndex */ - public static class b implements c { - public final boolean a; - @Nullable - public final Cipher b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public final SecretKeySpec f960c; - @Nullable - public final SecureRandom d; - public final f e; - public boolean f; - @Nullable - public y g; - - public b(File file, @Nullable byte[] bArr, boolean z2) { - SecretKeySpec secretKeySpec; - Cipher cipher; - boolean z3 = false; - d.D(bArr != null || !z2); - SecureRandom secureRandom = null; - if (bArr != null) { - d.k(bArr.length == 16 ? true : z3); - try { - if (f0.a == 18) { - try { - cipher = Cipher.getInstance("AES/CBC/PKCS5PADDING", "BC"); - } catch (Throwable unused) { - } - secretKeySpec = new SecretKeySpec(bArr, "AES"); - } - cipher = Cipher.getInstance("AES/CBC/PKCS5PADDING"); - secretKeySpec = new SecretKeySpec(bArr, "AES"); - } catch (NoSuchAlgorithmException | NoSuchPaddingException e) { - throw new IllegalStateException(e); - } - } else { - d.k(!z2); - cipher = null; - secretKeySpec = null; - } - this.a = z2; - this.b = cipher; - this.f960c = secretKeySpec; - this.d = z2 ? new SecureRandom() : secureRandom; - this.e = new f(file); - } - - @Override // c.i.a.c.h2.y.j.c - public void a(i iVar, boolean z2) { - this.f = true; - } - - /* JADX WARNING: Removed duplicated region for block: B:33:0x00b3 A[SYNTHETIC, Splitter:B:33:0x00b3] */ - @Override // c.i.a.c.h2.y.j.c - public void b(HashMap hashMap) throws IOException { - Throwable th; - DataOutputStream dataOutputStream = null; - try { - OutputStream c2 = this.e.c(); - y yVar = this.g; - if (yVar == null) { - this.g = new y(c2); - } else { - yVar.a(c2); - } - y yVar2 = this.g; - DataOutputStream dataOutputStream2 = new DataOutputStream(yVar2); - try { - dataOutputStream2.writeInt(2); - dataOutputStream2.writeInt(this.a ? 1 : 0); - if (this.a) { - byte[] bArr = new byte[16]; - SecureRandom secureRandom = this.d; - int i = f0.a; - secureRandom.nextBytes(bArr); - dataOutputStream2.write(bArr); - try { - this.b.init(1, this.f960c, new IvParameterSpec(bArr)); - dataOutputStream2.flush(); - dataOutputStream2 = new DataOutputStream(new CipherOutputStream(yVar2, this.b)); - } catch (InvalidAlgorithmParameterException | InvalidKeyException e) { - throw new IllegalStateException(e); - } - } - dataOutputStream2.writeInt(hashMap.size()); - int i2 = 0; - for (i iVar : hashMap.values()) { - dataOutputStream2.writeInt(iVar.a); - dataOutputStream2.writeUTF(iVar.b); - j.b(iVar.e, dataOutputStream2); - i2 += i(iVar, 2); - } - dataOutputStream2.writeInt(i2); - f fVar = this.e; - Objects.requireNonNull(fVar); - dataOutputStream2.close(); - fVar.b.delete(); - int i3 = f0.a; - this.f = false; - } catch (Throwable th2) { - th = th2; - dataOutputStream = dataOutputStream2; - int i4 = f0.a; - if (dataOutputStream != null) { - try { - dataOutputStream.close(); - } catch (IOException unused) { - } - } - throw th; - } - } catch (Throwable th3) { - th = th3; - int i4 = f0.a; - if (dataOutputStream != null) { - } - throw th; - } - } - - @Override // c.i.a.c.h2.y.j.c - public void c(i iVar) { - this.f = true; - } - - @Override // c.i.a.c.h2.y.j.c - public boolean d() { - return this.e.a(); - } - - @Override // c.i.a.c.h2.y.j.c - public void e(HashMap hashMap) throws IOException { - if (this.f) { - b(hashMap); - } - } - - @Override // c.i.a.c.h2.y.j.c - public void f(long j) { - } - - /* JADX WARNING: Removed duplicated region for block: B:48:0x00b6 */ - /* JADX WARNING: Removed duplicated region for block: B:55:0x00bf */ - /* JADX WARNING: Removed duplicated region for block: B:59:0x00c7 */ - /* JADX WARNING: Removed duplicated region for block: B:62:? A[RETURN, SYNTHETIC] */ - @Override // c.i.a.c.h2.y.j.c - public void g(HashMap hashMap, SparseArray sparseArray) { - Throwable th; - boolean z2 = true; - d.D(!this.f); - if (this.e.a()) { - DataInputStream dataInputStream = null; - try { - BufferedInputStream bufferedInputStream = new BufferedInputStream(this.e.b()); - DataInputStream dataInputStream2 = new DataInputStream(bufferedInputStream); - try { - int readInt = dataInputStream2.readInt(); - if (readInt >= 0) { - if (readInt <= 2) { - if ((dataInputStream2.readInt() & 1) != 0) { - if (this.b != null) { - byte[] bArr = new byte[16]; - dataInputStream2.readFully(bArr); - IvParameterSpec ivParameterSpec = new IvParameterSpec(bArr); - try { - Cipher cipher = this.b; - SecretKeySpec secretKeySpec = this.f960c; - int i = f0.a; - cipher.init(2, secretKeySpec, ivParameterSpec); - dataInputStream2 = new DataInputStream(new CipherInputStream(bufferedInputStream, this.b)); - } catch (InvalidAlgorithmParameterException | InvalidKeyException e) { - throw new IllegalStateException(e); - } - } - } else if (this.a) { - this.f = true; - } - int readInt2 = dataInputStream2.readInt(); - int i2 = 0; - for (int i3 = 0; i3 < readInt2; i3++) { - i j = j(readInt, dataInputStream2); - hashMap.put(j.b, j); - sparseArray.put(j.a, j.b); - i2 += i(j, readInt); - } - int readInt3 = dataInputStream2.readInt(); - boolean z3 = dataInputStream2.read() == -1; - if (readInt3 == i2 && z3) { - int i4 = f0.a; - try { - dataInputStream2.close(); - } catch (IOException unused) { - } - } - } - } - int i5 = f0.a; - try { - dataInputStream2.close(); - } catch (IOException unused2) { - } - } catch (IOException unused3) { - dataInputStream = dataInputStream2; - if (dataInputStream != null) { - } - z2 = false; - if (!z2) { - } - } catch (Throwable th2) { - th = th2; - dataInputStream = dataInputStream2; - if (dataInputStream != null) { - } - throw th; - } - } catch (IOException unused4) { - if (dataInputStream != null) { - int i6 = f0.a; - dataInputStream.close(); - } - z2 = false; - if (!z2) { - } - } catch (Throwable th3) { - th = th3; - if (dataInputStream != null) { - int i7 = f0.a; - try { - dataInputStream.close(); - } catch (IOException unused5) { - } - } - throw th; - } - z2 = false; - } - if (!z2) { - hashMap.clear(); - sparseArray.clear(); - f fVar = this.e; - fVar.a.delete(); - fVar.b.delete(); - } - } - - @Override // c.i.a.c.h2.y.j.c - public void h() { - f fVar = this.e; - fVar.a.delete(); - fVar.b.delete(); - } - - public final int i(i iVar, int i) { - int hashCode = iVar.b.hashCode() + (iVar.a * 31); - if (i >= 2) { - return (hashCode * 31) + iVar.e.hashCode(); - } - long a = k.a(iVar.e); - return (hashCode * 31) + ((int) (a ^ (a >>> 32))); - } - - public final i j(int i, DataInputStream dataInputStream) throws IOException { - n nVar; - int readInt = dataInputStream.readInt(); - String readUTF = dataInputStream.readUTF(); - if (i < 2) { - long readLong = dataInputStream.readLong(); - m mVar = new m(); - m.a(mVar, readLong); - nVar = n.a.a(mVar); - } else { - nVar = j.a(dataInputStream); - } - return new i(readInt, readUTF, nVar); - } - } - - /* compiled from: CachedContentIndex */ - public interface c { - void a(i iVar, boolean z2); - - void b(HashMap hashMap) throws IOException; - - void c(i iVar); - - boolean d() throws IOException; - - void e(HashMap hashMap) throws IOException; - - void f(long j); - - void g(HashMap hashMap, SparseArray sparseArray) throws IOException; - - void h() throws IOException; - } - - public j(@Nullable c.i.a.c.w1.a aVar, @Nullable File file, @Nullable byte[] bArr, boolean z2, boolean z3) { - d.D((aVar == null && file == null) ? false : true); - this.a = new HashMap<>(); - this.b = new SparseArray<>(); - this.f958c = new SparseBooleanArray(); - this.d = new SparseBooleanArray(); - b bVar = null; - a aVar2 = aVar != null ? new a(aVar) : null; - bVar = file != null ? new b(new File(file, "cached_content_index.exi"), bArr, z2) : bVar; - if (aVar2 == null || (bVar != null && z3)) { - int i = f0.a; - this.e = bVar; - this.f = aVar2; - return; - } - this.e = aVar2; - this.f = bVar; - } - - public static n a(DataInputStream dataInputStream) throws IOException { - int readInt = dataInputStream.readInt(); - HashMap hashMap = new HashMap(); - for (int i = 0; i < readInt; i++) { - String readUTF = dataInputStream.readUTF(); - int readInt2 = dataInputStream.readInt(); - if (readInt2 >= 0) { - int min = Math.min(readInt2, 10485760); - byte[] bArr = f0.f; - int i2 = 0; - while (i2 != readInt2) { - int i3 = i2 + min; - bArr = Arrays.copyOf(bArr, i3); - dataInputStream.readFully(bArr, i2, min); - min = Math.min(readInt2 - i3, 10485760); - i2 = i3; - } - hashMap.put(readUTF, bArr); - } else { - throw new IOException(c.d.b.a.a.l("Invalid value size: ", readInt2)); - } - } - return new n(hashMap); - } - - public static void b(n nVar, DataOutputStream dataOutputStream) throws IOException { - Set> entrySet = nVar.f961c.entrySet(); - dataOutputStream.writeInt(entrySet.size()); - for (Map.Entry entry : entrySet) { - dataOutputStream.writeUTF(entry.getKey()); - byte[] value = entry.getValue(); - dataOutputStream.writeInt(value.length); - dataOutputStream.write(value); - } - } - - @Nullable - public i c(String str) { - return this.a.get(str); - } - - public i d(String str) { - i iVar = this.a.get(str); - if (iVar != null) { - return iVar; - } - SparseArray sparseArray = this.b; - int size = sparseArray.size(); - int i = 0; - int keyAt = size == 0 ? 0 : sparseArray.keyAt(size - 1) + 1; - if (keyAt < 0) { - while (i < size && i == sparseArray.keyAt(i)) { - i++; - } - keyAt = i; - } - i iVar2 = new i(keyAt, str, n.a); - this.a.put(str, iVar2); - this.b.put(keyAt, str); - this.d.put(keyAt, true); - this.e.c(iVar2); - return iVar2; - } - - @WorkerThread - public void e(long j) throws IOException { - c cVar; - this.e.f(j); - c cVar2 = this.f; - if (cVar2 != null) { - cVar2.f(j); - } - if (this.e.d() || (cVar = this.f) == null || !cVar.d()) { - this.e.g(this.a, this.b); - } else { - this.f.g(this.a, this.b); - this.e.b(this.a); - } - c cVar3 = this.f; - if (cVar3 != null) { - cVar3.h(); - this.f = null; - } - } - - public void f(String str) { - i iVar = this.a.get(str); - if (iVar != null && iVar.f957c.isEmpty() && iVar.d.isEmpty()) { - this.a.remove(str); - int i = iVar.a; - boolean z2 = this.d.get(i); - this.e.a(iVar, z2); - if (z2) { - this.b.remove(i); - this.d.delete(i); - return; - } - this.b.put(i, null); - this.f958c.put(i, true); - } - } - - @WorkerThread - public void g() throws IOException { - this.e.e(this.a); - int size = this.f958c.size(); - for (int i = 0; i < size; i++) { - this.b.remove(this.f958c.keyAt(i)); - } - this.f958c.clear(); - this.d.clear(); - } -} diff --git a/app/src/main/java/c/i/a/c/h2/y/k.java b/app/src/main/java/c/i/a/c/h2/y/k.java deleted file mode 100644 index cf1aa0e274..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/k.java +++ /dev/null @@ -1,13 +0,0 @@ -package c.i.a.c.h2.y; - -import java.nio.ByteBuffer; -/* compiled from: ContentMetadata */ -public final /* synthetic */ class k { - public static long a(l lVar) { - byte[] bArr = ((n) lVar).f961c.get("exo_len"); - if (bArr != null) { - return ByteBuffer.wrap(bArr).getLong(); - } - return -1; - } -} diff --git a/app/src/main/java/c/i/a/c/h2/y/l.java b/app/src/main/java/c/i/a/c/h2/y/l.java deleted file mode 100644 index 7eafcd76a3..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/l.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.a.c.h2.y; -/* compiled from: ContentMetadata */ -public interface l { -} diff --git a/app/src/main/java/c/i/a/c/h2/y/m.java b/app/src/main/java/c/i/a/c/h2/y/m.java deleted file mode 100644 index 8b75d70be7..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/m.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.h2.y; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Objects; -/* compiled from: ContentMetadataMutations */ -public class m { - public final Map a = new HashMap(); - public final List b = new ArrayList(); - - public static m a(m mVar, long j) { - Long valueOf = Long.valueOf(j); - Map map = mVar.a; - Objects.requireNonNull(valueOf); - map.put("exo_len", valueOf); - mVar.b.remove("exo_len"); - return mVar; - } -} diff --git a/app/src/main/java/c/i/a/c/h2/y/n.java b/app/src/main/java/c/i/a/c/h2/y/n.java deleted file mode 100644 index 1f60a29215..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/n.java +++ /dev/null @@ -1,94 +0,0 @@ -package c.i.a.c.h2.y; - -import androidx.annotation.Nullable; -import c.i.b.a.c; -import java.nio.ByteBuffer; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collections; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Objects; -/* compiled from: DefaultContentMetadata */ -public final class n implements l { - public static final n a = new n(Collections.emptyMap()); - public int b; - - /* renamed from: c reason: collision with root package name */ - public final Map f961c; - - public n() { - this(Collections.emptyMap()); - } - - public n(Map map) { - this.f961c = Collections.unmodifiableMap(map); - } - - public static boolean b(Map map, Map map2) { - if (map.size() != map2.size()) { - return false; - } - for (Map.Entry entry : map.entrySet()) { - if (!Arrays.equals(entry.getValue(), map2.get(entry.getKey()))) { - return false; - } - } - return true; - } - - public n a(m mVar) { - byte[] bArr; - HashMap hashMap = new HashMap(this.f961c); - Objects.requireNonNull(mVar); - List unmodifiableList = Collections.unmodifiableList(new ArrayList(mVar.b)); - for (int i = 0; i < unmodifiableList.size(); i++) { - hashMap.remove(unmodifiableList.get(i)); - } - HashMap hashMap2 = new HashMap(mVar.a); - for (Map.Entry entry : hashMap2.entrySet()) { - Object value = entry.getValue(); - if (value instanceof byte[]) { - byte[] bArr2 = (byte[]) value; - entry.setValue(Arrays.copyOf(bArr2, bArr2.length)); - } - } - for (Map.Entry entry2 : Collections.unmodifiableMap(hashMap2).entrySet()) { - String str = (String) entry2.getKey(); - Object value2 = entry2.getValue(); - if (value2 instanceof Long) { - bArr = ByteBuffer.allocate(8).putLong(((Long) value2).longValue()).array(); - } else if (value2 instanceof String) { - bArr = ((String) value2).getBytes(c.f1350c); - } else if (value2 instanceof byte[]) { - bArr = (byte[]) value2; - } else { - throw new IllegalArgumentException(); - } - hashMap.put(str, bArr); - } - return b(this.f961c, hashMap) ? this : new n(hashMap); - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || n.class != obj.getClass()) { - return false; - } - return b(this.f961c, ((n) obj).f961c); - } - - public int hashCode() { - if (this.b == 0) { - int i = 0; - for (Map.Entry entry : this.f961c.entrySet()) { - i += Arrays.hashCode(entry.getValue()) ^ entry.getKey().hashCode(); - } - this.b = i; - } - return this.b; - } -} diff --git a/app/src/main/java/c/i/a/c/h2/y/o.java b/app/src/main/java/c/i/a/c/h2/y/o.java deleted file mode 100644 index 1ca47939dc..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/o.java +++ /dev/null @@ -1,49 +0,0 @@ -package c.i.a.c.h2.y; - -import com.google.android.exoplayer2.upstream.cache.Cache; -import java.util.TreeSet; -/* compiled from: LeastRecentlyUsedCacheEvictor */ -public final class o implements d { - public final TreeSet a = new TreeSet<>(b.i); - public long b; - - public o(long j) { - } - - @Override // c.i.a.c.h2.y.d - public void a(Cache cache, String str, long j, long j2) { - if (j2 != -1) { - f(cache, j2); - } - } - - @Override // com.google.android.exoplayer2.upstream.cache.Cache.a - public void b(Cache cache, h hVar) { - this.a.remove(hVar); - this.b -= hVar.k; - } - - @Override // com.google.android.exoplayer2.upstream.cache.Cache.a - public void c(Cache cache, h hVar, h hVar2) { - this.a.remove(hVar); - this.b -= hVar.k; - d(cache, hVar2); - } - - @Override // com.google.android.exoplayer2.upstream.cache.Cache.a - public void d(Cache cache, h hVar) { - this.a.add(hVar); - this.b += hVar.k; - f(cache, 0); - } - - @Override // c.i.a.c.h2.y.d - public void e() { - } - - public final void f(Cache cache, long j) { - while (this.b + j > 104857600 && !this.a.isEmpty()) { - cache.d(this.a.first()); - } - } -} diff --git a/app/src/main/java/c/i/a/c/h2/y/p.java b/app/src/main/java/c/i/a/c/h2/y/p.java deleted file mode 100644 index 2a181ee0f1..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/p.java +++ /dev/null @@ -1,24 +0,0 @@ -package c.i.a.c.h2.y; - -import android.os.ConditionVariable; -/* compiled from: SimpleCache */ -public class p extends Thread { - public final /* synthetic */ ConditionVariable i; - public final /* synthetic */ q j; - - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public p(q qVar, String str, ConditionVariable conditionVariable) { - super(str); - this.j = qVar; - this.i = conditionVariable; - } - - @Override // java.lang.Thread, java.lang.Runnable - public void run() { - synchronized (this.j) { - this.i.open(); - q.j(this.j); - this.j.f962c.e(); - } - } -} diff --git a/app/src/main/java/c/i/a/c/h2/y/q.java b/app/src/main/java/c/i/a/c/h2/y/q.java deleted file mode 100644 index 9aa2b99c66..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/q.java +++ /dev/null @@ -1,563 +0,0 @@ -package c.i.a.c.h2.y; - -import android.database.SQLException; -import android.os.ConditionVariable; -import android.util.Log; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.h2.y.i; -import c.i.a.c.i2.p; -import c.i.a.c.w1.a; -import c.i.b.b.z; -import com.google.android.exoplayer2.database.DatabaseIOException; -import com.google.android.exoplayer2.upstream.cache.Cache; -import java.io.File; -import java.io.IOException; -import java.security.SecureRandom; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Iterator; -import java.util.Map; -import java.util.Objects; -import java.util.Random; -/* compiled from: SimpleCache */ -public final class q implements Cache { - public static final HashSet a = new HashSet<>(); - public final File b; - - /* renamed from: c reason: collision with root package name */ - public final d f962c; - public final j d; - @Nullable - public final f e; - public final HashMap> f; - public final Random g; - public final boolean h; - public long i; - public long j; - public Cache.CacheException k; - - public q(File file, d dVar, a aVar) { - boolean add; - j jVar = new j(aVar, file, null, false, false); - f fVar = new f(aVar); - synchronized (q.class) { - add = a.add(file.getAbsoluteFile()); - } - if (add) { - this.b = file; - this.f962c = dVar; - this.d = jVar; - this.e = fVar; - this.f = new HashMap<>(); - this.g = new Random(); - this.h = true; - this.i = -1; - ConditionVariable conditionVariable = new ConditionVariable(); - new p(this, "ExoPlayer:SimpleCacheInit", conditionVariable).start(); - conditionVariable.block(); - return; - } - throw new IllegalStateException("Another SimpleCache instance uses the folder: " + file); - } - - public static void j(q qVar) { - long j; - if (!qVar.b.exists()) { - try { - m(qVar.b); - } catch (Cache.CacheException e) { - qVar.k = e; - return; - } - } - File[] listFiles = qVar.b.listFiles(); - if (listFiles == null) { - StringBuilder O = c.d.b.a.a.O("Failed to list cache directory files: "); - O.append(qVar.b); - String sb = O.toString(); - Log.e("SimpleCache", sb); - qVar.k = new Cache.CacheException(sb); - return; - } - int length = listFiles.length; - int i = 0; - while (true) { - if (i >= length) { - j = -1; - break; - } - File file = listFiles[i]; - String name = file.getName(); - if (name.endsWith(".uid")) { - try { - j = Long.parseLong(name.substring(0, name.indexOf(46)), 16); - break; - } catch (NumberFormatException unused) { - Log.e("SimpleCache", "Malformed UID file: " + file); - file.delete(); - } - } else { - i++; - } - } - qVar.i = j; - if (j == -1) { - try { - qVar.i = n(qVar.b); - } catch (IOException e2) { - StringBuilder O2 = c.d.b.a.a.O("Failed to create cache UID: "); - O2.append(qVar.b); - String sb2 = O2.toString(); - p.b("SimpleCache", sb2, e2); - qVar.k = new Cache.CacheException(sb2, e2); - return; - } - } - try { - qVar.d.e(qVar.i); - f fVar = qVar.e; - if (fVar != null) { - fVar.b(qVar.i); - Map a2 = qVar.e.a(); - qVar.p(qVar.b, true, listFiles, a2); - qVar.e.c(((HashMap) a2).keySet()); - } else { - qVar.p(qVar.b, true, listFiles, null); - } - j jVar = qVar.d; - Iterator j2 = z.m(jVar.a.keySet()).iterator(); - while (j2.hasNext()) { - jVar.f((String) j2.next()); - } - try { - qVar.d.g(); - } catch (IOException e3) { - p.b("SimpleCache", "Storing index file failed", e3); - } - } catch (IOException e4) { - StringBuilder O3 = c.d.b.a.a.O("Failed to initialize cache indices: "); - O3.append(qVar.b); - String sb3 = O3.toString(); - p.b("SimpleCache", sb3, e4); - qVar.k = new Cache.CacheException(sb3, e4); - } - } - - public static void m(File file) throws Cache.CacheException { - if (!file.mkdirs() && !file.isDirectory()) { - String str = "Failed to create cache directory: " + file; - Log.e("SimpleCache", str); - throw new Cache.CacheException(str); - } - } - - public static long n(File file) throws IOException { - long nextLong = new SecureRandom().nextLong(); - long abs = nextLong == Long.MIN_VALUE ? 0 : Math.abs(nextLong); - File file2 = new File(file, c.d.b.a.a.u(Long.toString(abs, 16), ".uid")); - if (file2.createNewFile()) { - return abs; - } - throw new IOException("Failed to create UID file: " + file2); - } - - @Override // com.google.android.exoplayer2.upstream.cache.Cache - public synchronized File a(String str, long j, long j2) throws Cache.CacheException { - i iVar; - File file; - d.D(true); - l(); - iVar = this.d.a.get(str); - Objects.requireNonNull(iVar); - d.D(iVar.a(j, j2)); - if (!this.b.exists()) { - m(this.b); - r(); - } - this.f962c.a(this, str, j, j2); - file = new File(this.b, Integer.toString(this.g.nextInt(10))); - if (!file.exists()) { - m(file); - } - return r.h(file, iVar.a, j, System.currentTimeMillis()); - } - - @Override // com.google.android.exoplayer2.upstream.cache.Cache - public synchronized l b(String str) { - i iVar; - d.D(true); - iVar = this.d.a.get(str); - return iVar != null ? iVar.e : n.a; - } - - @Override // com.google.android.exoplayer2.upstream.cache.Cache - public synchronized void c(String str, m mVar) throws Cache.CacheException { - d.D(true); - l(); - j jVar = this.d; - i d = jVar.d(str); - n nVar = d.e; - n a2 = nVar.a(mVar); - d.e = a2; - if (!a2.equals(nVar)) { - jVar.e.c(d); - } - try { - this.d.g(); - } catch (IOException e) { - throw new Cache.CacheException(e); - } - } - - @Override // com.google.android.exoplayer2.upstream.cache.Cache - public synchronized void d(h hVar) { - d.D(true); - q(hVar); - } - - /* JADX WARNING: Code restructure failed: missing block: B:17:0x0049, code lost: - if ((r11 + r4) <= r18) goto L_0x0059; - */ - /* JADX WARNING: Code restructure failed: missing block: B:21:0x0056, code lost: - if ((r18 + r6) <= r11) goto L_0x0059; - */ - /* JADX WARNING: Removed duplicated region for block: B:26:0x0060 A[LOOP:0: B:10:0x0026->B:26:0x0060, LOOP_END] */ - /* JADX WARNING: Removed duplicated region for block: B:38:0x005e A[SYNTHETIC] */ - @Override // com.google.android.exoplayer2.upstream.cache.Cache - @Nullable - public synchronized h e(String str, long j, long j2) throws Cache.CacheException { - r rVar; - boolean z2; - boolean z3; - d.D(true); - l(); - r o = o(str, j, j2); - if (o.l) { - return s(str, o); - } - i d = this.d.d(str); - long j3 = o.k; - int i = 0; - while (true) { - if (i >= d.d.size()) { - rVar = o; - d.d.add(new i.a(j, j3)); - z2 = true; - break; - } - i.a aVar = d.d.get(i); - long j4 = aVar.a; - if (j4 <= j) { - rVar = o; - long j5 = aVar.b; - if (j5 != -1) { - } - z3 = true; - if (z3) { - z2 = false; - break; - } - i++; - o = rVar; - } else { - rVar = o; - if (j3 != -1) { - } - z3 = true; - if (z3) { - } - } - z3 = false; - if (z3) { - } - } - if (z2) { - return rVar; - } - return null; - } - - @Override // com.google.android.exoplayer2.upstream.cache.Cache - public synchronized h f(String str, long j, long j2) throws InterruptedException, Cache.CacheException { - h e; - d.D(true); - l(); - while (true) { - e = e(str, j, j2); - if (e == null) { - wait(); - } - } - return e; - } - - @Override // com.google.android.exoplayer2.upstream.cache.Cache - public synchronized void g(File file, long j) throws Cache.CacheException { - boolean z2 = true; - d.D(true); - if (file.exists()) { - if (j == 0) { - file.delete(); - return; - } - r g = r.g(file, j, -9223372036854775807L, this.d); - Objects.requireNonNull(g); - i c2 = this.d.c(g.i); - Objects.requireNonNull(c2); - d.D(c2.a(g.j, g.k)); - long a2 = k.a(c2.e); - if (a2 != -1) { - if (g.j + g.k > a2) { - z2 = false; - } - d.D(z2); - } - if (this.e != null) { - try { - this.e.d(file.getName(), g.k, g.n); - } catch (IOException e) { - throw new Cache.CacheException(e); - } - } - k(g); - try { - this.d.g(); - notifyAll(); - } catch (IOException e2) { - throw new Cache.CacheException(e2); - } - } - } - - @Override // com.google.android.exoplayer2.upstream.cache.Cache - public synchronized long h() { - d.D(true); - return this.j; - } - - @Override // com.google.android.exoplayer2.upstream.cache.Cache - public synchronized void i(h hVar) { - d.D(true); - i c2 = this.d.c(hVar.i); - Objects.requireNonNull(c2); - long j = hVar.j; - for (int i = 0; i < c2.d.size(); i++) { - if (c2.d.get(i).a == j) { - c2.d.remove(i); - this.d.f(c2.b); - notifyAll(); - } - } - throw new IllegalStateException(); - } - - public final void k(r rVar) { - this.d.d(rVar.i).f957c.add(rVar); - this.j += rVar.k; - ArrayList arrayList = this.f.get(rVar.i); - if (arrayList != null) { - int size = arrayList.size(); - while (true) { - size--; - if (size < 0) { - break; - } - arrayList.get(size).d(this, rVar); - } - } - this.f962c.d(this, rVar); - } - - public synchronized void l() throws Cache.CacheException { - Cache.CacheException cacheException = this.k; - if (cacheException != null) { - throw cacheException; - } - } - - public final r o(String str, long j, long j2) { - r floor; - long j3; - i iVar = this.d.a.get(str); - if (iVar == null) { - return new r(str, j, j2, -9223372036854775807L, null); - } - while (true) { - r rVar = new r(iVar.b, j, -1, -9223372036854775807L, null); - floor = iVar.f957c.floor(rVar); - if (floor == null || floor.j + floor.k <= j) { - r ceiling = iVar.f957c.ceiling(rVar); - if (ceiling != null) { - long j4 = ceiling.j - j; - if (j2 != -1) { - j4 = Math.min(j4, j2); - } - j3 = j4; - } else { - j3 = j2; - } - floor = new r(iVar.b, j, j3, -9223372036854775807L, null); - } - if (!floor.l || floor.m.length() == floor.k) { - break; - } - r(); - } - return floor; - } - - public final void p(File file, boolean z2, @Nullable File[] fileArr, @Nullable Map map) { - if (fileArr != null && fileArr.length != 0) { - for (File file2 : fileArr) { - String name = file2.getName(); - if (z2 && name.indexOf(46) == -1) { - p(file2, false, file2.listFiles(), map); - } else if (!z2 || (!name.startsWith("cached_content_index.exi") && !name.endsWith(".uid"))) { - long j = -1; - long j2 = -9223372036854775807L; - e remove = map != null ? map.remove(name) : null; - if (remove != null) { - j = remove.a; - j2 = remove.b; - } - r g = r.g(file2, j, j2, this.d); - if (g != null) { - k(g); - } else { - file2.delete(); - } - } - } - } else if (!z2) { - file.delete(); - } - } - - public final void q(h hVar) { - boolean z2; - i c2 = this.d.c(hVar.i); - if (c2 != null) { - if (c2.f957c.remove(hVar)) { - File file = hVar.m; - if (file != null) { - file.delete(); - } - z2 = true; - } else { - z2 = false; - } - if (z2) { - this.j -= hVar.k; - if (this.e != null) { - String name = hVar.m.getName(); - try { - f fVar = this.e; - Objects.requireNonNull(fVar.f956c); - try { - fVar.b.getWritableDatabase().delete(fVar.f956c, "name = ?", new String[]{name}); - } catch (SQLException e) { - throw new DatabaseIOException(e); - } - } catch (IOException unused) { - c.d.b.a.a.k0("Failed to remove file index entry for: ", name, "SimpleCache"); - } - } - this.d.f(c2.b); - ArrayList arrayList = this.f.get(hVar.i); - if (arrayList != null) { - int size = arrayList.size(); - while (true) { - size--; - if (size < 0) { - break; - } - arrayList.get(size).b(this, hVar); - } - } - this.f962c.b(this, hVar); - } - } - } - - public final void r() { - ArrayList arrayList = new ArrayList(); - for (i iVar : Collections.unmodifiableCollection(this.d.a.values())) { - Iterator it = iVar.f957c.iterator(); - while (it.hasNext()) { - r next = it.next(); - if (next.m.length() != next.k) { - arrayList.add(next); - } - } - } - for (int i = 0; i < arrayList.size(); i++) { - q((h) arrayList.get(i)); - } - } - - /* JADX WARNING: Removed duplicated region for block: B:20:0x00a0 */ - public final r s(String str, r rVar) { - File file; - ArrayList arrayList; - if (!this.h) { - return rVar; - } - File file2 = rVar.m; - Objects.requireNonNull(file2); - String name = file2.getName(); - long j = rVar.k; - long currentTimeMillis = System.currentTimeMillis(); - boolean z2 = false; - f fVar = this.e; - if (fVar != null) { - try { - fVar.d(name, j, currentTimeMillis); - } catch (IOException unused) { - Log.w("SimpleCache", "Failed to update index with new touch timestamp."); - } - } else { - z2 = true; - } - i iVar = this.d.a.get(str); - d.D(iVar.f957c.remove(rVar)); - File file3 = rVar.m; - Objects.requireNonNull(file3); - if (z2) { - File parentFile = file3.getParentFile(); - Objects.requireNonNull(parentFile); - File h = r.h(parentFile, iVar.a, rVar.j, currentTimeMillis); - if (file3.renameTo(h)) { - file = h; - d.D(rVar.l); - r rVar2 = new r(rVar.i, rVar.j, rVar.k, currentTimeMillis, file); - iVar.f957c.add(rVar2); - arrayList = this.f.get(rVar.i); - if (arrayList != null) { - int size = arrayList.size(); - while (true) { - size--; - if (size < 0) { - break; - } - arrayList.get(size).c(this, rVar, rVar2); - } - } - this.f962c.c(this, rVar, rVar2); - return rVar2; - } - Log.w("CachedContent", "Failed to rename " + file3 + " to " + h); - } - file = file3; - d.D(rVar.l); - r rVar2 = new r(rVar.i, rVar.j, rVar.k, currentTimeMillis, file); - iVar.f957c.add(rVar2); - arrayList = this.f.get(rVar.i); - if (arrayList != null) { - } - this.f962c.c(this, rVar, rVar2); - return rVar2; - } -} diff --git a/app/src/main/java/c/i/a/c/h2/y/r.java b/app/src/main/java/c/i/a/c/h2/y/r.java deleted file mode 100644 index 3d6ffe4eea..0000000000 --- a/app/src/main/java/c/i/a/c/h2/y/r.java +++ /dev/null @@ -1,141 +0,0 @@ -package c.i.a.c.h2.y; - -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.d.b.a.a; -import c.i.a.c.i2.f0; -import java.io.File; -import java.util.Objects; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -/* compiled from: SimpleCacheSpan */ -public final class r extends h { - public static final Pattern o = Pattern.compile("^(.+)\\.(\\d+)\\.(\\d+)\\.v1\\.exo$", 32); - public static final Pattern p = Pattern.compile("^(.+)\\.(\\d+)\\.(\\d+)\\.v2\\.exo$", 32); - public static final Pattern q = Pattern.compile("^(\\d+)\\.(\\d+)\\.(\\d+)\\.v3\\.exo$", 32); - - public r(String str, long j, long j2, long j3, @Nullable File file) { - super(str, j, j2, j3, file); - } - - /* JADX WARNING: Code restructure failed: missing block: B:28:0x00d1, code lost: - if (r16.renameTo(r1) == false) goto L_0x00a2; - */ - /* JADX WARNING: Removed duplicated region for block: B:27:0x00a4 */ - /* JADX WARNING: Removed duplicated region for block: B:30:0x00d6 A[RETURN] */ - /* JADX WARNING: Removed duplicated region for block: B:31:0x00d7 */ - @Nullable - public static r g(File file, long j, long j2, j jVar) { - File file2; - long j3; - String str; - File file3; - String name = file.getName(); - if (!name.endsWith(".v3.exo")) { - String name2 = file.getName(); - Matcher matcher = p.matcher(name2); - if (matcher.matches()) { - str = matcher.group(1); - Objects.requireNonNull(str); - int i = f0.a; - int length = str.length(); - int i2 = 0; - int i3 = 0; - for (int i4 = 0; i4 < length; i4++) { - if (str.charAt(i4) == '%') { - i3++; - } - } - if (i3 != 0) { - int i5 = length - (i3 * 2); - StringBuilder sb = new StringBuilder(i5); - Matcher matcher2 = f0.g.matcher(str); - while (i3 > 0 && matcher2.find()) { - String group = matcher2.group(1); - Objects.requireNonNull(group); - sb.append((CharSequence) str, i2, matcher2.start()); - sb.append((char) Integer.parseInt(group, 16)); - i2 = matcher2.end(); - i3--; - } - if (i2 < length) { - sb.append((CharSequence) str, i2, length); - } - if (sb.length() == i5) { - str = sb.toString(); - } - } - if (str != null) { - File parentFile = file.getParentFile(); - d.H(parentFile); - int i6 = jVar.d(str).a; - String group2 = matcher.group(2); - Objects.requireNonNull(group2); - long parseLong = Long.parseLong(group2); - String group3 = matcher.group(3); - Objects.requireNonNull(group3); - file3 = h(parentFile, i6, parseLong, Long.parseLong(group3)); - } - file3 = null; - if (file3 == null) { - return null; - } - file2 = file3; - name = file3.getName(); - } else { - matcher = o.matcher(name2); - if (matcher.matches()) { - str = matcher.group(1); - Objects.requireNonNull(str); - if (str != null) { - } - file3 = null; - if (file3 == null) { - } - } - } - str = null; - if (str != null) { - } - file3 = null; - if (file3 == null) { - } - } else { - file2 = file; - } - Matcher matcher3 = q.matcher(name); - if (!matcher3.matches()) { - return null; - } - String group4 = matcher3.group(1); - Objects.requireNonNull(group4); - String str2 = jVar.b.get(Integer.parseInt(group4)); - if (str2 == null) { - return null; - } - long length2 = j == -1 ? file2.length() : j; - if (length2 == 0) { - return null; - } - String group5 = matcher3.group(2); - Objects.requireNonNull(group5); - long parseLong2 = Long.parseLong(group5); - if (j2 == -9223372036854775807L) { - String group6 = matcher3.group(3); - Objects.requireNonNull(group6); - j3 = Long.parseLong(group6); - } else { - j3 = j2; - } - return new r(str2, parseLong2, length2, j3, file2); - } - - public static File h(File file, int i, long j, long j2) { - StringBuilder sb = new StringBuilder(); - sb.append(i); - sb.append("."); - sb.append(j); - sb.append("."); - return new File(file, a.A(sb, j2, ".v3.exo")); - } -} diff --git a/app/src/main/java/c/i/a/c/i.java b/app/src/main/java/c/i/a/c/i.java index 0645efc3e9..4e10307262 100644 --- a/app/src/main/java/c/i/a/c/i.java +++ b/app/src/main/java/c/i/a/c/i.java @@ -1,17 +1,22 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import c.i.a.c.e1; +import c.i.a.c.f3.g; +import c.i.a.c.s2.g1; +import c.i.b.a.l; +import java.util.Objects; /* compiled from: lambda */ -public final /* synthetic */ class i implements o.a { - public final /* synthetic */ c1 a; +public final /* synthetic */ class i implements l { + public final /* synthetic */ e1.b i; - public /* synthetic */ i(c1 c1Var) { - this.a = c1Var; + public /* synthetic */ i(e1.b bVar) { + this.i = bVar; } - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((g1.a) obj).X(o0.N(this.a)); + @Override // c.i.b.a.l + public final Object get() { + g gVar = this.i.b; + Objects.requireNonNull(gVar); + return new g1(gVar); } } diff --git a/app/src/main/java/c/i/a/c/i0.java b/app/src/main/java/c/i/a/c/i0.java index 7dc0fa36a2..28afcae6ef 100644 --- a/app/src/main/java/c/i/a/c/i0.java +++ b/app/src/main/java/c/i/a/c/i0.java @@ -1,4 +1,29 @@ package c.i.a.c; -/* compiled from: ControlDispatcher */ -public interface i0 { + +import android.os.Bundle; +import c.c.a.a0.d; +import c.i.a.c.o1; +import c.i.a.c.w0; +/* compiled from: lambda */ +public final /* synthetic */ class i0 implements w0.a { + public static final /* synthetic */ i0 a = new i0(); + + @Override // c.i.a.c.w0.a + public final w0 a(Bundle bundle) { + o1.d.a aVar = new o1.d.a(); + long j = bundle.getLong(o1.d.a(0), 0); + boolean z2 = true; + d.j(j >= 0); + aVar.a = j; + long j2 = bundle.getLong(o1.d.a(1), Long.MIN_VALUE); + if (j2 != Long.MIN_VALUE && j2 < 0) { + z2 = false; + } + d.j(z2); + aVar.b = j2; + aVar.f836c = bundle.getBoolean(o1.d.a(2), false); + aVar.d = bundle.getBoolean(o1.d.a(3), false); + aVar.e = bundle.getBoolean(o1.d.a(4), false); + return aVar.a(); + } } diff --git a/app/src/main/java/c/i/a/c/i1.java b/app/src/main/java/c/i/a/c/i1.java index 9a7381b8d0..3a2cb7946a 100644 --- a/app/src/main/java/c/i/a/c/i1.java +++ b/app/src/main/java/c/i/a/c/i1.java @@ -1,50 +1,21 @@ package c.i.a.c; -import c.i.a.c.d2.h0; -import java.util.Collection; -import java.util.HashMap; -/* compiled from: PlaylistTimeline */ -public final class i1 extends c0 { - public final int e; - public final int f; - public final int[] g; - public final int[] h; - public final r1[] i; - public final Object[] j; - public final HashMap k = new HashMap<>(); +import java.util.HashSet; +/* compiled from: ExoPlayerLibraryInfo */ +public final class i1 { + public static final HashSet a = new HashSet<>(); + public static String b = "goog.exo.core"; - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public i1(Collection collection, h0 h0Var) { - super(false, h0Var); - int i = 0; - int size = collection.size(); - this.g = new int[size]; - this.h = new int[size]; - this.i = new r1[size]; - this.j = new Object[size]; - int i2 = 0; - int i3 = 0; - for (a1 a1Var : collection) { - this.i[i3] = a1Var.a(); - this.h[i3] = i; - this.g[i3] = i2; - i += this.i[i3].p(); - i2 += this.i[i3].i(); - this.j[i3] = a1Var.getUid(); - this.k.put(this.j[i3], Integer.valueOf(i3)); - i3++; + public static synchronized void a(String str) { + synchronized (i1.class) { + if (a.add(str)) { + String str2 = b; + StringBuilder sb = new StringBuilder(String.valueOf(str2).length() + 2 + str.length()); + sb.append(str2); + sb.append(", "); + sb.append(str); + b = sb.toString(); + } } - this.e = i; - this.f = i2; - } - - @Override // c.i.a.c.r1 - public int i() { - return this.f; - } - - @Override // c.i.a.c.r1 - public int p() { - return this.e; } } diff --git a/app/src/main/java/c/i/a/c/i2.java b/app/src/main/java/c/i/a/c/i2.java new file mode 100644 index 0000000000..68734cebec --- /dev/null +++ b/app/src/main/java/c/i/a/c/i2.java @@ -0,0 +1,11 @@ +package c.i.a.c; + +import android.os.Handler; +import c.i.a.c.b3.l; +import c.i.a.c.g3.x; +import c.i.a.c.t2.r; +import c.i.a.c.z2.e; +/* compiled from: RenderersFactory */ +public interface i2 { + f2[] a(Handler handler, x xVar, r rVar, l lVar, e eVar); +} diff --git a/app/src/main/java/c/i/a/c/i2/a.java b/app/src/main/java/c/i/a/c/i2/a.java deleted file mode 100644 index 1b1ab12263..0000000000 --- a/app/src/main/java/c/i/a/c/i2/a.java +++ /dev/null @@ -1,35 +0,0 @@ -package c.i.a.c.i2; - -import c.i.a.c.i2.o; -import java.util.Iterator; -import java.util.concurrent.CopyOnWriteArraySet; -/* compiled from: lambda */ -public final /* synthetic */ class a implements Runnable { - public final /* synthetic */ CopyOnWriteArraySet i; - public final /* synthetic */ int j; - public final /* synthetic */ o.a k; - - public /* synthetic */ a(CopyOnWriteArraySet copyOnWriteArraySet, int i, o.a aVar) { - this.i = copyOnWriteArraySet; - this.j = i; - this.k = aVar; - } - - @Override // java.lang.Runnable - public final void run() { - CopyOnWriteArraySet copyOnWriteArraySet = this.i; - int i = this.j; - o.a aVar = this.k; - Iterator it = copyOnWriteArraySet.iterator(); - while (it.hasNext()) { - o.c cVar = (o.c) it.next(); - if (!cVar.d) { - if (i != -1) { - cVar.b.a.append(i, true); - } - cVar.f969c = true; - aVar.invoke(cVar.a); - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/i2/a0.java b/app/src/main/java/c/i/a/c/i2/a0.java deleted file mode 100644 index a0bd82cfdb..0000000000 --- a/app/src/main/java/c/i/a/c/i2/a0.java +++ /dev/null @@ -1,54 +0,0 @@ -package c.i.a.c.i2; - -import c.i.a.c.d1; -import c.i.a.c.h0; -/* compiled from: StandaloneMediaClock */ -public final class a0 implements r { - public final g i; - public boolean j; - public long k; - public long l; - public d1 m = d1.a; - - public a0(g gVar) { - this.i = gVar; - } - - public void a(long j) { - this.k = j; - if (this.j) { - this.l = this.i.c(); - } - } - - public void b() { - if (!this.j) { - this.l = this.i.c(); - this.j = true; - } - } - - @Override // c.i.a.c.i2.r - public d1 c() { - return this.m; - } - - @Override // c.i.a.c.i2.r - public void e(d1 d1Var) { - if (this.j) { - a(m()); - } - this.m = d1Var; - } - - @Override // c.i.a.c.i2.r - public long m() { - long j = this.k; - if (!this.j) { - return j; - } - long c2 = this.i.c() - this.l; - d1 d1Var = this.m; - return d1Var.b == 1.0f ? j + h0.a(c2) : j + (c2 * ((long) d1Var.d)); - } -} diff --git a/app/src/main/java/c/i/a/c/i2/b.java b/app/src/main/java/c/i/a/c/i2/b.java deleted file mode 100644 index c693735be2..0000000000 --- a/app/src/main/java/c/i/a/c/i2/b.java +++ /dev/null @@ -1,46 +0,0 @@ -package c.i.a.c.i2; - -import android.os.Handler; -import android.os.Message; -import c.i.a.c.i2.o; -import c.i.b.a.l; -import java.util.Iterator; -import java.util.Objects; -/* compiled from: lambda */ -public final /* synthetic */ class b implements Handler.Callback { - public final /* synthetic */ o i; - - public /* synthetic */ b(o oVar) { - this.i = oVar; - } - - /* JADX WARNING: Unknown variable types count: 1 */ - @Override // android.os.Handler.Callback - public final boolean handleMessage(Message message) { - o oVar = this.i; - Objects.requireNonNull(oVar); - int i = message.what; - if (i == 0) { - Iterator it = oVar.e.iterator(); - while (it.hasNext()) { - o.c cVar = (o.c) it.next(); - l lVar = oVar.f968c; - o.b bVar = oVar.d; - if (!cVar.d && cVar.f969c) { - E e = cVar.b; - cVar.b = (t) lVar.get(); - cVar.f969c = false; - bVar.a(cVar.a, e); - } - if (oVar.b.a.hasMessages(0)) { - break; - } - } - } else if (i == 1) { - oVar.b(message.arg1, (o.a) message.obj); - oVar.a(); - oVar.c(); - } - return true; - } -} diff --git a/app/src/main/java/c/i/a/c/i2/b0.java b/app/src/main/java/c/i/a/c/i2/b0.java deleted file mode 100644 index 9bf3eeae34..0000000000 --- a/app/src/main/java/c/i/a/c/i2/b0.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.i2; - -import android.os.Handler; -import android.os.Looper; -import android.os.SystemClock; -import androidx.annotation.Nullable; -/* compiled from: SystemClock */ -public class b0 implements g { - @Override // c.i.a.c.i2.g - public long a() { - return SystemClock.uptimeMillis(); - } - - @Override // c.i.a.c.i2.g - public c0 b(Looper looper, @Nullable Handler.Callback callback) { - return new c0(new Handler(looper, callback)); - } - - @Override // c.i.a.c.i2.g - public long c() { - return SystemClock.elapsedRealtime(); - } -} diff --git a/app/src/main/java/c/i/a/c/i2/c.java b/app/src/main/java/c/i/a/c/i2/c.java deleted file mode 100644 index 65afef2494..0000000000 --- a/app/src/main/java/c/i/a/c/i2/c.java +++ /dev/null @@ -1,14 +0,0 @@ -package c.i.a.c.i2; - -import c.i.a.c.i2.z; -import java.util.Comparator; -/* compiled from: lambda */ -public final /* synthetic */ class c implements Comparator { - public static final /* synthetic */ c i = new c(); - - @Override // java.util.Comparator - public final int compare(Object obj, Object obj2) { - int i2 = z.a; - return ((z.b) obj).a - ((z.b) obj2).a; - } -} diff --git a/app/src/main/java/c/i/a/c/i2/c0.java b/app/src/main/java/c/i/a/c/i2/c0.java deleted file mode 100644 index 460731c551..0000000000 --- a/app/src/main/java/c/i/a/c/i2/c0.java +++ /dev/null @@ -1,29 +0,0 @@ -package c.i.a.c.i2; - -import android.os.Handler; -import android.os.Message; -import androidx.annotation.Nullable; -/* compiled from: SystemHandlerWrapper */ -public final class c0 { - public final Handler a; - - public c0(Handler handler) { - this.a = handler; - } - - public Message a(int i) { - return this.a.obtainMessage(i); - } - - public Message b(int i, int i2, int i3) { - return this.a.obtainMessage(i, i2, i3); - } - - public Message c(int i, @Nullable Object obj) { - return this.a.obtainMessage(i, obj); - } - - public boolean d(int i) { - return this.a.sendEmptyMessage(i); - } -} diff --git a/app/src/main/java/c/i/a/c/i2/d.java b/app/src/main/java/c/i/a/c/i2/d.java deleted file mode 100644 index e0afd7f09b..0000000000 --- a/app/src/main/java/c/i/a/c/i2/d.java +++ /dev/null @@ -1,14 +0,0 @@ -package c.i.a.c.i2; - -import c.i.a.c.i2.z; -import java.util.Comparator; -/* compiled from: lambda */ -public final /* synthetic */ class d implements Comparator { - public static final /* synthetic */ d i = new d(); - - @Override // java.util.Comparator - public final int compare(Object obj, Object obj2) { - int i2 = z.a; - return Float.compare(((z.b) obj).f977c, ((z.b) obj2).f977c); - } -} diff --git a/app/src/main/java/c/i/a/c/i2/d0.java b/app/src/main/java/c/i/a/c/i2/d0.java deleted file mode 100644 index c4dc7256d3..0000000000 --- a/app/src/main/java/c/i/a/c/i2/d0.java +++ /dev/null @@ -1,91 +0,0 @@ -package c.i.a.c.i2; - -import androidx.annotation.Nullable; -import androidx.recyclerview.widget.RecyclerView; -import c.c.a.a0.d; -import java.util.Arrays; -/* compiled from: TimedValueQueue */ -public final class d0 { - public long[] a = new long[10]; - public V[] b = ((V[]) new Object[10]); - - /* renamed from: c reason: collision with root package name */ - public int f963c; - public int d; - - public synchronized void a(long j, V v) { - int i = this.d; - if (i > 0) { - if (j <= this.a[((this.f963c + i) - 1) % this.b.length]) { - b(); - } - } - c(); - int i2 = this.f963c; - int i3 = this.d; - V[] vArr = this.b; - int length = (i2 + i3) % vArr.length; - this.a[length] = j; - vArr[length] = v; - this.d = i3 + 1; - } - - public synchronized void b() { - this.f963c = 0; - this.d = 0; - Arrays.fill(this.b, (Object) null); - } - - public final void c() { - int length = this.b.length; - if (this.d >= length) { - int i = length * 2; - long[] jArr = new long[i]; - V[] vArr = (V[]) new Object[i]; - int i2 = this.f963c; - int i3 = length - i2; - System.arraycopy(this.a, i2, jArr, 0, i3); - System.arraycopy(this.b, this.f963c, vArr, 0, i3); - int i4 = this.f963c; - if (i4 > 0) { - System.arraycopy(this.a, 0, jArr, i3, i4); - System.arraycopy(this.b, 0, vArr, i3, this.f963c); - } - this.a = jArr; - this.b = vArr; - this.f963c = 0; - } - } - - @Nullable - public final V d(long j, boolean z2) { - V v = null; - long j2 = RecyclerView.FOREVER_NS; - while (this.d > 0) { - long j3 = j - this.a[this.f963c]; - if (j3 < 0 && (z2 || (-j3) >= j2)) { - break; - } - v = f(); - j2 = j3; - } - return v; - } - - @Nullable - public synchronized V e(long j) { - return d(j, true); - } - - @Nullable - public final V f() { - d.D(this.d > 0); - V[] vArr = this.b; - int i = this.f963c; - V v = vArr[i]; - vArr[i] = null; - this.f963c = (i + 1) % vArr.length; - this.d--; - return v; - } -} diff --git a/app/src/main/java/c/i/a/c/i2/e.java b/app/src/main/java/c/i/a/c/i2/e.java deleted file mode 100644 index 47bb5e97dd..0000000000 --- a/app/src/main/java/c/i/a/c/i2/e.java +++ /dev/null @@ -1,16 +0,0 @@ -package c.i.a.c.i2; - -import java.util.concurrent.ThreadFactory; -/* compiled from: lambda */ -public final /* synthetic */ class e implements ThreadFactory { - public final /* synthetic */ String i; - - public /* synthetic */ e(String str) { - this.i = str; - } - - @Override // java.util.concurrent.ThreadFactory - public final Thread newThread(Runnable runnable) { - return new Thread(runnable, this.i); - } -} diff --git a/app/src/main/java/c/i/a/c/i2/e0.java b/app/src/main/java/c/i/a/c/i2/e0.java deleted file mode 100644 index 254427b207..0000000000 --- a/app/src/main/java/c/i/a/c/i2/e0.java +++ /dev/null @@ -1,67 +0,0 @@ -package c.i.a.c.i2; - -import androidx.annotation.GuardedBy; -import androidx.recyclerview.widget.RecyclerView; -import com.discord.api.permission.Permission; -/* compiled from: TimestampAdjuster */ -public final class e0 { - @GuardedBy("this") - public long a; - @GuardedBy("this") - public long b; - @GuardedBy("this") - - /* renamed from: c reason: collision with root package name */ - public long f964c = -9223372036854775807L; - - public e0(long j) { - this.a = j; - } - - public synchronized long a(long j) { - if (j == -9223372036854775807L) { - return -9223372036854775807L; - } - if (this.f964c != -9223372036854775807L) { - this.f964c = j; - } else { - long j2 = this.a; - if (j2 != RecyclerView.FOREVER_NS) { - this.b = j2 - j; - } - this.f964c = j; - notifyAll(); - } - return j + this.b; - } - - public synchronized long b(long j) { - if (j == -9223372036854775807L) { - return -9223372036854775807L; - } - long j2 = this.f964c; - if (j2 != -9223372036854775807L) { - long j3 = (j2 * 90000) / 1000000; - long j4 = (Permission.REQUEST_TO_SPEAK + j3) / Permission.MANAGE_EVENTS; - long j5 = ((j4 - 1) * Permission.MANAGE_EVENTS) + j; - long j6 = (j4 * Permission.MANAGE_EVENTS) + j; - j = Math.abs(j5 - j3) < Math.abs(j6 - j3) ? j5 : j6; - } - return a((j * 1000000) / 90000); - } - - public synchronized long c() { - return this.a; - } - - public synchronized long d() { - long j; - j = -9223372036854775807L; - if (this.a == RecyclerView.FOREVER_NS) { - j = 0; - } else if (this.f964c != -9223372036854775807L) { - j = this.b; - } - return j; - } -} diff --git a/app/src/main/java/c/i/a/c/i2/f.java b/app/src/main/java/c/i/a/c/i2/f.java deleted file mode 100644 index 1adc8359f7..0000000000 --- a/app/src/main/java/c/i/a/c/i2/f.java +++ /dev/null @@ -1,107 +0,0 @@ -package c.i.a.c.i2; - -import android.util.Log; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileNotFoundException; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -/* compiled from: AtomicFile */ -public final class f { - public final File a; - public final File b; - - /* compiled from: AtomicFile */ - public static final class a extends OutputStream { - public final FileOutputStream i; - public boolean j = false; - - public a(File file) throws FileNotFoundException { - this.i = new FileOutputStream(file); - } - - @Override // java.io.OutputStream, java.io.Closeable, java.lang.AutoCloseable - public void close() throws IOException { - if (!this.j) { - this.j = true; - this.i.flush(); - try { - this.i.getFD().sync(); - } catch (IOException e) { - p.c("AtomicFile", "Failed to sync file descriptor:", e); - } - this.i.close(); - } - } - - @Override // java.io.OutputStream, java.io.Flushable - public void flush() throws IOException { - this.i.flush(); - } - - @Override // java.io.OutputStream - public void write(int i) throws IOException { - this.i.write(i); - } - - @Override // java.io.OutputStream - public void write(byte[] bArr) throws IOException { - this.i.write(bArr); - } - - @Override // java.io.OutputStream - public void write(byte[] bArr, int i, int i2) throws IOException { - this.i.write(bArr, i, i2); - } - } - - public f(File file) { - this.a = file; - this.b = new File(file.getPath() + ".bak"); - } - - public boolean a() { - return this.a.exists() || this.b.exists(); - } - - public InputStream b() throws FileNotFoundException { - if (this.b.exists()) { - this.a.delete(); - this.b.renameTo(this.a); - } - return new FileInputStream(this.a); - } - - public OutputStream c() throws IOException { - if (this.a.exists()) { - if (this.b.exists()) { - this.a.delete(); - } else if (!this.a.renameTo(this.b)) { - StringBuilder O = c.d.b.a.a.O("Couldn't rename file "); - O.append(this.a); - O.append(" to backup file "); - O.append(this.b); - Log.w("AtomicFile", O.toString()); - } - } - try { - return new a(this.a); - } catch (FileNotFoundException e) { - File parentFile = this.a.getParentFile(); - if (parentFile == null || !parentFile.mkdirs()) { - StringBuilder O2 = c.d.b.a.a.O("Couldn't create "); - O2.append(this.a); - throw new IOException(O2.toString(), e); - } - try { - return new a(this.a); - } catch (FileNotFoundException e2) { - StringBuilder O3 = c.d.b.a.a.O("Couldn't create "); - O3.append(this.a); - throw new IOException(O3.toString(), e2); - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/i2/f0.java b/app/src/main/java/c/i/a/c/i2/f0.java deleted file mode 100644 index ccdf802c62..0000000000 --- a/app/src/main/java/c/i/a/c/i2/f0.java +++ /dev/null @@ -1,543 +0,0 @@ -package c.i.a.c.i2; - -import android.app.UiModeManager; -import android.content.Context; -import android.database.DatabaseUtils; -import android.database.sqlite.SQLiteDatabase; -import android.net.ConnectivityManager; -import android.net.NetworkInfo; -import android.os.Build; -import android.os.Handler; -import android.os.Looper; -import android.text.TextUtils; -import androidx.annotation.Nullable; -import androidx.exifinterface.media.ExifInterface; -import c.c.a.a0.d; -import c.d.b.a.a; -import c.i.b.a.c; -import com.discord.models.domain.ModelAuditLogEntry; -import com.discord.utilities.font.FontUtils; -import com.google.android.material.behavior.HideBottomViewOnScrollBehavior; -import com.google.android.material.snackbar.BaseTransientBottomBar; -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.util.Arrays; -import java.util.Formatter; -import java.util.HashMap; -import java.util.Locale; -import java.util.MissingResourceException; -import java.util.regex.Pattern; -import java.util.zip.DataFormatException; -import java.util.zip.Inflater; -/* compiled from: Util */ -public final class f0 { - public static final int a; - public static final String b; - - /* renamed from: c reason: collision with root package name */ - public static final String f965c; - public static final String d; - public static final String e; - public static final byte[] f = new byte[0]; - public static final Pattern g = Pattern.compile("%([A-Fa-f0-9]{2})"); - @Nullable - public static HashMap h; - public static final String[] i = {"alb", "sq", "arm", "hy", "baq", "eu", "bur", "my", "tib", "bo", "chi", "zh", "cze", "cs", "dut", "nl", "ger", "de", "gre", "el", "fre", "fr", "geo", "ka", "ice", "is", "mac", "mk", "mao", "mi", "may", "ms", "per", "fa", "rum", "ro", "scc", "hbs-srp", "slo", "sk", "wel", "cy", ModelAuditLogEntry.CHANGE_KEY_ID, "ms-ind", "iw", "he", "heb", "he", "ji", "yi", "in", "ms-ind", "ind", "ms-ind", "nb", "no-nob", "nob", "no-nob", "nn", "no-nno", "nno", "no-nno", "tw", "ak-twi", "twi", "ak-twi", "bs", "hbs-bos", "bos", "hbs-bos", "hr", "hbs-hrv", "hrv", "hbs-hrv", "sr", "hbs-srp", "srp", "hbs-srp", "cmn", "zh-cmn", "hak", "zh-hak", "nan", "zh-nan", "hsn", "zh-hsn"}; - public static final String[] j = {"i-lux", "lb", "i-hak", "zh-hak", "i-navajo", "nv", "no-bok", "no-nob", "no-nyn", "no-nno", "zh-guoyu", "zh-cmn", "zh-hakka", "zh-hak", "zh-min-nan", "zh-nan", "zh-xiang", "zh-hsn"}; - public static final int[] k = {0, 79764919, 159529838, 222504665, 319059676, 398814059, 445009330, 507990021, 638119352, 583659535, 797628118, 726387553, 890018660, 835552979, 1015980042, 944750013, 1276238704, 1221641927, 1167319070, 1095957929, 1595256236, 1540665371, 1452775106, 1381403509, 1780037320, 1859660671, 1671105958, 1733955601, 2031960084, 2111593891, 1889500026, 1952343757, -1742489888, -1662866601, -1851683442, -1788833735, -1960329156, -1880695413, -2103051438, -2040207643, -1104454824, -1159051537, -1213636554, -1284997759, -1389417084, -1444007885, -1532160278, -1603531939, -734892656, -789352409, -575645954, -646886583, -952755380, -1007220997, -827056094, -898286187, -231047128, -151282273, -71779514, -8804623, -515967244, -436212925, -390279782, -327299027, 881225847, 809987520, 1023691545, 969234094, 662832811, 591600412, 771767749, 717299826, 311336399, 374308984, 453813921, 533576470, 25881363, 88864420, 134795389, 214552010, 2023205639, 2086057648, 1897238633, 1976864222, 1804852699, 1867694188, 1645340341, 1724971778, 1587496639, 1516133128, 1461550545, 1406951526, 1302016099, 1230646740, 1142491917, 1087903418, -1398421865, -1469785312, -1524105735, -1578704818, -1079922613, -1151291908, -1239184603, -1293773166, -1968362705, -1905510760, -2094067647, -2014441994, -1716953613, -1654112188, -1876203875, -1796572374, -525066777, -462094256, -382327159, -302564546, -206542021, -143559028, -97365931, -17609246, -960696225, -1031934488, -817968335, -872425850, -709327229, -780559564, -600130067, -654598054, 1762451694, 1842216281, 1619975040, 1682949687, 2047383090, 2127137669, 1938468188, 2001449195, 1325665622, 1271206113, 1183200824, 1111960463, 1543535498, 1489069629, 1434599652, 1363369299, 622672798, 568075817, 748617968, 677256519, 907627842, 853037301, 1067152940, 995781531, 51762726, 131386257, 177728840, 240578815, 269590778, 349224269, 429104020, 491947555, -248556018, -168932423, -122852000, -60002089, -500490030, -420856475, -341238852, -278395381, -685261898, -739858943, -559578920, -630940305, -1004286614, -1058877219, -845023740, -916395085, -1119974018, -1174433591, -1262701040, -1333941337, -1371866206, -1426332139, -1481064244, -1552294533, -1690935098, -1611170447, -1833673816, -1770699233, -2009983462, -1930228819, -2119160460, -2056179517, 1569362073, 1498123566, 1409854455, 1355396672, 1317987909, 1246755826, 1192025387, 1137557660, 2072149281, 2135122070, 1912620623, 1992383480, 1753615357, 1816598090, 1627664531, 1707420964, 295390185, 358241886, 404320391, 483945776, 43990325, 106832002, 186451547, 266083308, 932423249, 861060070, 1041341759, 986742920, 613929101, 542559546, 756411363, 701822548, -978770311, -1050133554, -869589737, -924188512, -693284699, -764654318, -550540341, -605129092, -475935807, -413084042, -366743377, -287118056, -257573603, -194731862, -114850189, -35218492, -1984365303, -1921392450, -2143631769, -2063868976, -1698919467, -1635936670, -1824608069, -1744851700, -1347415887, -1418654458, -1506661409, -1561119128, -1129027987, -1200260134, -1254728445, -1309196108}; - public static final int[] l = {0, 7, 14, 9, 28, 27, 18, 21, 56, 63, 54, 49, 36, 35, 42, 45, 112, 119, 126, 121, 108, 107, 98, 101, 72, 79, 70, 65, 84, 83, 90, 93, 224, 231, 238, 233, 252, 251, 242, 245, 216, 223, 214, 209, 196, 195, 202, 205, 144, 151, 158, 153, 140, 139, 130, 133, 168, HideBottomViewOnScrollBehavior.EXIT_ANIMATION_DURATION, 166, 161, BaseTransientBottomBar.ANIMATION_FADE_DURATION, 179, 186, 189, 199, 192, 201, 206, 219, 220, 213, 210, 255, 248, 241, 246, 227, 228, 237, 234, 183, 176, 185, 190, 171, 172, 165, 162, 143, 136, 129, 134, 147, 148, 157, 154, 39, 32, 41, 46, 59, 60, 53, 50, 31, 24, 17, 22, 3, 4, 13, 10, 87, 80, 89, 94, 75, 76, 69, 66, 111, 104, 97, 102, 115, 116, 125, 122, 137, 142, 135, 128, 149, 146, 155, 156, 177, 182, 191, 184, 173, 170, 163, 164, 249, 254, 247, 240, 229, 226, 235, 236, 193, 198, 207, 200, 221, 218, 211, 212, 105, 110, 103, 96, 117, 114, 123, 124, 81, 86, 95, 88, 77, 74, 67, 68, 25, 30, 23, 16, 5, 2, 11, 12, 33, 38, 47, 40, 61, 58, 51, 52, 78, 73, 64, 71, 82, 85, 92, 91, 118, 113, 120, 127, 106, 109, 100, 99, 62, 57, 48, 55, 34, 37, 44, 43, 6, 1, 8, 15, 26, 29, 20, 19, 174, 169, 160, 167, 178, 181, 188, 187, FontUtils.MAX_FONT_SCALING, 145, 152, 159, 138, 141, 132, 131, 222, 217, 208, 215, 194, 197, 204, 203, 230, HideBottomViewOnScrollBehavior.ENTER_ANIMATION_DURATION, 232, 239, 250, 253, 244, 243}; - - static { - String str = Build.VERSION.CODENAME; - int i2 = ExifInterface.LATITUDE_SOUTH.equals(str) ? 31 : "R".equals(str) ? 30 : Build.VERSION.SDK_INT; - a = i2; - String str2 = Build.DEVICE; - b = str2; - String str3 = Build.MANUFACTURER; - f965c = str3; - String str4 = Build.MODEL; - d = str4; - e = str2 + ", " + str4 + ", " + str3 + ", " + i2; - Pattern.compile("(\\d\\d\\d\\d)\\-(\\d\\d)\\-(\\d\\d)[Tt](\\d\\d):(\\d\\d):(\\d\\d)([\\.,](\\d+))?([Zz]|((\\+|\\-)(\\d?\\d):?(\\d\\d)))?"); - Pattern.compile("^(-)?P(([0-9]*)Y)?(([0-9]*)M)?(([0-9]*)D)?(T(([0-9]*)H)?(([0-9]*)M)?(([0-9.]*)S)?)?$"); - Pattern.compile(".*\\.isml?(?:/(manifest(.*))?)?"); - } - - public static boolean A(Context context) { - UiModeManager uiModeManager = (UiModeManager) context.getApplicationContext().getSystemService("uimode"); - return uiModeManager != null && uiModeManager.getCurrentModeType() == 4; - } - - public static String B(String str) { - if (str == null) { - return null; - } - String replace = str.replace('_', '-'); - if (!replace.isEmpty() && !"und".equals(replace)) { - str = replace; - } - String K = K(str); - int i2 = 0; - String str2 = H(K, "-")[0]; - if (h == null) { - String[] iSOLanguages = Locale.getISOLanguages(); - HashMap hashMap = new HashMap<>(iSOLanguages.length + i.length); - for (String str3 : iSOLanguages) { - try { - String iSO3Language = new Locale(str3).getISO3Language(); - if (!TextUtils.isEmpty(iSO3Language)) { - hashMap.put(iSO3Language, str3); - } - } catch (MissingResourceException unused) { - } - } - int i3 = 0; - while (true) { - String[] strArr = i; - if (i3 >= strArr.length) { - break; - } - hashMap.put(strArr[i3], strArr[i3 + 1]); - i3 += 2; - } - h = hashMap; - } - String str4 = h.get(str2); - if (str4 != null) { - StringBuilder O = a.O(str4); - O.append(K.substring(str2.length())); - K = O.toString(); - str2 = str4; - } - if (!("no".equals(str2) || "i".equals(str2) || "zh".equals(str2))) { - return K; - } - while (true) { - String[] strArr2 = j; - if (i2 >= strArr2.length) { - return K; - } - if (K.startsWith(strArr2[i2])) { - return strArr2[i2 + 1] + K.substring(strArr2[i2].length()); - } - i2 += 2; - } - } - - public static T[] C(T[] tArr, int i2) { - d.k(i2 <= tArr.length); - return (T[]) Arrays.copyOf(tArr, i2); - } - - public static boolean D(Handler handler, Runnable runnable) { - if (!handler.getLooper().getThread().isAlive()) { - return false; - } - if (handler.getLooper() != Looper.myLooper()) { - return handler.post(runnable); - } - runnable.run(); - return true; - } - - public static long E(long j2, long j3, long j4) { - int i2 = (j4 > j3 ? 1 : (j4 == j3 ? 0 : -1)); - if (i2 >= 0 && j4 % j3 == 0) { - return j2 / (j4 / j3); - } - if (i2 < 0 && j3 % j4 == 0) { - return (j3 / j4) * j2; - } - return (long) (((double) j2) * (((double) j3) / ((double) j4))); - } - - public static void F(long[] jArr, long j2, long j3) { - int i2 = 0; - int i3 = (j3 > j2 ? 1 : (j3 == j2 ? 0 : -1)); - if (i3 >= 0 && j3 % j2 == 0) { - long j4 = j3 / j2; - while (i2 < jArr.length) { - jArr[i2] = jArr[i2] / j4; - i2++; - } - } else if (i3 >= 0 || j2 % j3 != 0) { - double d2 = ((double) j2) / ((double) j3); - while (i2 < jArr.length) { - jArr[i2] = (long) (((double) jArr[i2]) * d2); - i2++; - } - } else { - long j5 = j2 / j3; - while (i2 < jArr.length) { - jArr[i2] = jArr[i2] * j5; - i2++; - } - } - } - - public static String[] G(String str, String str2) { - return str.split(str2, -1); - } - - public static String[] H(String str, String str2) { - return str.split(str2, 2); - } - - public static boolean I(SQLiteDatabase sQLiteDatabase, String str) { - return DatabaseUtils.queryNumEntries(sQLiteDatabase, "sqlite_master", "tbl_name = ?", new String[]{str}) > 0; - } - - public static byte[] J(InputStream inputStream) throws IOException { - byte[] bArr = new byte[4096]; - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); - while (true) { - int read = inputStream.read(bArr); - if (read == -1) { - return byteArrayOutputStream.toByteArray(); - } - byteArrayOutputStream.write(bArr, 0, read); - } - } - - public static String K(String str) { - return str == null ? str : str.toLowerCase(Locale.US); - } - - public static long L(int i2) { - return ((long) i2) & 4294967295L; - } - - public static boolean a(@Nullable Object obj, @Nullable Object obj2) { - return obj == null ? obj2 == null : obj.equals(obj2); - } - - public static int b(long[] jArr, long j2, boolean z2, boolean z3) { - int i2; - int binarySearch = Arrays.binarySearch(jArr, j2); - if (binarySearch < 0) { - i2 = ~binarySearch; - } else { - do { - binarySearch++; - if (binarySearch >= jArr.length) { - break; - } - } while (jArr[binarySearch] == j2); - i2 = z2 ? binarySearch - 1 : binarySearch; - } - return z3 ? Math.min(jArr.length - 1, i2) : i2; - } - - public static int c(q qVar, long j2, boolean z2, boolean z3) { - int i2; - int i3 = qVar.a - 1; - int i4 = 0; - while (i4 <= i3) { - int i5 = (i4 + i3) >>> 1; - if (qVar.b(i5) < j2) { - i4 = i5 + 1; - } else { - i3 = i5 - 1; - } - } - if (z2 && (i2 = i3 + 1) < qVar.a && qVar.b(i2) == j2) { - return i2; - } - if (!z3 || i3 != -1) { - return i3; - } - return 0; - } - - public static int d(int[] iArr, int i2, boolean z2, boolean z3) { - int i3; - int binarySearch = Arrays.binarySearch(iArr, i2); - if (binarySearch < 0) { - i3 = -(binarySearch + 2); - } else { - do { - binarySearch--; - if (binarySearch < 0) { - break; - } - } while (iArr[binarySearch] == i2); - i3 = z2 ? binarySearch + 1 : binarySearch; - } - return z3 ? Math.max(0, i3) : i3; - } - - public static int e(long[] jArr, long j2, boolean z2, boolean z3) { - int i2; - int binarySearch = Arrays.binarySearch(jArr, j2); - if (binarySearch < 0) { - i2 = -(binarySearch + 2); - } else { - do { - binarySearch--; - if (binarySearch < 0) { - break; - } - } while (jArr[binarySearch] == j2); - i2 = z2 ? binarySearch + 1 : binarySearch; - } - return z3 ? Math.max(0, i2) : i2; - } - - public static int f(int i2, int i3) { - return ((i2 + i3) - 1) / i3; - } - - public static float g(float f2, float f3, float f4) { - return Math.max(f3, Math.min(f2, f4)); - } - - public static int h(int i2, int i3, int i4) { - return Math.max(i3, Math.min(i2, i4)); - } - - public static long i(long j2, long j3, long j4) { - return Math.max(j3, Math.min(j2, j4)); - } - - public static Handler j() { - Looper myLooper = Looper.myLooper(); - d.H(myLooper); - return new Handler(myLooper, null); - } - - public static String k(String str, Object... objArr) { - return String.format(Locale.US, str, objArr); - } - - public static String l(byte[] bArr) { - return new String(bArr, c.f1350c); - } - - public static String m(byte[] bArr, int i2, int i3) { - return new String(bArr, i2, i3, c.f1350c); - } - - public static int n(int i2) { - switch (i2) { - case 1: - return 4; - case 2: - return 12; - case 3: - return 28; - case 4: - return 204; - case 5: - return 220; - case 6: - return 252; - case 7: - return 1276; - case 8: - int i3 = a; - return (i3 < 23 && i3 < 21) ? 0 : 6396; - default: - return 0; - } - } - - public static Looper o() { - Looper myLooper = Looper.myLooper(); - return myLooper != null ? myLooper : Looper.getMainLooper(); - } - - public static long p(long j2, float f2) { - return f2 == 1.0f ? j2 : Math.round(((double) j2) * ((double) f2)); - } - - public static int q(Context context) { - ConnectivityManager connectivityManager; - int i2 = 0; - if (context == null || (connectivityManager = (ConnectivityManager) context.getSystemService("connectivity")) == null) { - return 0; - } - try { - NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo(); - if (activeNetworkInfo == null || !activeNetworkInfo.isConnected()) { - return 1; - } - int type = activeNetworkInfo.getType(); - if (type != 0) { - if (type == 1) { - return 2; - } - if (!(type == 4 || type == 5)) { - if (type != 6) { - return type != 9 ? 8 : 7; - } - return 5; - } - } - switch (activeNetworkInfo.getSubtype()) { - case 1: - case 2: - return 3; - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 14: - case 15: - case 17: - return 4; - case 13: - return 5; - case 16: - case 19: - default: - return 6; - case 18: - return 2; - case 20: - if (a >= 29) { - i2 = 9; - } - return i2; - } - } catch (SecurityException unused) { - return 0; - } - } - - public static int r(int i2) { - if (i2 == 8) { - return 3; - } - if (i2 == 16) { - return 2; - } - if (i2 != 24) { - return i2 != 32 ? 0 : 805306368; - } - return 536870912; - } - - public static int s(int i2, int i3) { - if (i2 != 2) { - if (i2 == 3) { - return i3; - } - if (i2 != 4) { - if (i2 != 268435456) { - if (i2 == 536870912) { - return i3 * 3; - } - if (i2 != 805306368) { - throw new IllegalArgumentException(); - } - } - } - return i3 * 4; - } - return i3 * 2; - } - - public static int t(int i2) { - if (i2 == 13) { - return 1; - } - switch (i2) { - case 2: - return 0; - case 3: - return 8; - case 4: - return 4; - case 5: - case 7: - case 8: - case 9: - case 10: - return 5; - case 6: - return 2; - default: - return 3; - } - } - - public static String u(StringBuilder sb, Formatter formatter, long j2) { - if (j2 == -9223372036854775807L) { - j2 = 0; - } - String str = j2 < 0 ? "-" : ""; - long abs = (Math.abs(j2) + 500) / 1000; - long j3 = abs % 60; - long j4 = (abs / 60) % 60; - long j5 = abs / 3600; - sb.setLength(0); - return j5 > 0 ? formatter.format("%s%d:%02d:%02d", str, Long.valueOf(j5), Long.valueOf(j4), Long.valueOf(j3)).toString() : formatter.format("%s%02d:%02d", str, Long.valueOf(j4), Long.valueOf(j3)).toString(); - } - - @Nullable - public static String v(String str) { - try { - Class cls = Class.forName("android.os.SystemProperties"); - return (String) cls.getMethod("get", String.class).invoke(cls, str); - } catch (Exception e2) { - p.b("Util", "Failed to read system property " + str, e2); - return null; - } - } - - public static byte[] w(String str) { - return str.getBytes(c.f1350c); - } - - public static boolean x(w wVar, w wVar2, @Nullable Inflater inflater) { - if (wVar.a() <= 0) { - return false; - } - if (wVar2.a.length < wVar.a()) { - wVar2.b(wVar.a() * 2); - } - if (inflater == null) { - inflater = new Inflater(); - } - inflater.setInput(wVar.a, wVar.b, wVar.a()); - int i2 = 0; - while (true) { - try { - byte[] bArr = wVar2.a; - i2 += inflater.inflate(bArr, i2, bArr.length - i2); - } catch (DataFormatException unused) { - return false; - } finally { - inflater.reset(); - } - if (inflater.finished()) { - wVar2.C(i2); - inflater.reset(); - return true; - } else if (inflater.needsDictionary() || inflater.needsInput()) { - break; - } else { - byte[] bArr2 = wVar2.a; - if (i2 == bArr2.length) { - wVar2.b(bArr2.length * 2); - } - } - } - return false; - } - - public static boolean y(int i2) { - return i2 == 536870912 || i2 == 805306368 || i2 == 4; - } - - public static boolean z(int i2) { - return i2 == 3 || i2 == 2 || i2 == 268435456 || i2 == 536870912 || i2 == 805306368 || i2 == 4; - } -} diff --git a/app/src/main/java/c/i/a/c/i2/g.java b/app/src/main/java/c/i/a/c/i2/g.java deleted file mode 100644 index e4c2dc9ada..0000000000 --- a/app/src/main/java/c/i/a/c/i2/g.java +++ /dev/null @@ -1,15 +0,0 @@ -package c.i.a.c.i2; - -import android.os.Handler; -import android.os.Looper; -import androidx.annotation.Nullable; -/* compiled from: Clock */ -public interface g { - public static final g a = new b0(); - - long a(); - - c0 b(Looper looper, @Nullable Handler.Callback callback); - - long c(); -} diff --git a/app/src/main/java/c/i/a/c/i2/h.java b/app/src/main/java/c/i/a/c/i2/h.java deleted file mode 100644 index 7195ff0334..0000000000 --- a/app/src/main/java/c/i/a/c/i2/h.java +++ /dev/null @@ -1,54 +0,0 @@ -package c.i.a.c.i2; - -import androidx.exifinterface.media.ExifInterface; -/* compiled from: CodecSpecificDataUtil */ -public final class h { - public static final byte[] a = {0, 0, 0, 1}; - public static final String[] b = {"", ExifInterface.GPS_MEASUREMENT_IN_PROGRESS, "B", "C"}; - - public static String a(int i, int i2, int i3) { - return String.format("avc1.%02X%02X%02X", Integer.valueOf(i), Integer.valueOf(i2), Integer.valueOf(i3)); - } - - /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x005e: APUT - (r3v1 java.lang.Object[]) - (3 ??[int, float, short, byte, char]) - (wrap: java.lang.Character : 0x005a: INVOKE (r1v5 java.lang.Character) = (r1v4 char) type: STATIC call: java.lang.Character.valueOf(char):java.lang.Character) - */ - public static String b(x xVar) { - xVar.k(24); - int e = xVar.e(2); - boolean d = xVar.d(); - int e2 = xVar.e(5); - int i = 0; - for (int i2 = 0; i2 < 32; i2++) { - if (xVar.d()) { - i |= 1 << i2; - } - } - int i3 = 6; - int[] iArr = new int[6]; - for (int i4 = 0; i4 < 6; i4++) { - iArr[i4] = xVar.e(8); - } - int e3 = xVar.e(8); - Object[] objArr = new Object[5]; - objArr[0] = b[e]; - objArr[1] = Integer.valueOf(e2); - objArr[2] = Integer.valueOf(i); - objArr[3] = Character.valueOf(d ? 'H' : 'L'); - objArr[4] = Integer.valueOf(e3); - StringBuilder sb = new StringBuilder(f0.k("hvc1.%s%d.%X.%c%d", objArr)); - while (i3 > 0) { - int i5 = i3 - 1; - if (iArr[i5] != 0) { - break; - } - i3 = i5; - } - for (int i6 = 0; i6 < i3; i6++) { - sb.append(String.format(".%02X", Integer.valueOf(iArr[i6]))); - } - return sb.toString(); - } -} diff --git a/app/src/main/java/c/i/a/c/i2/i.java b/app/src/main/java/c/i/a/c/i2/i.java deleted file mode 100644 index 49f7c1ee27..0000000000 --- a/app/src/main/java/c/i/a/c/i2/i.java +++ /dev/null @@ -1,165 +0,0 @@ -package c.i.a.c.i2; - -import android.graphics.Color; -import android.text.TextUtils; -import androidx.annotation.ColorInt; -import androidx.core.internal.view.SupportMenu; -import androidx.core.view.InputDeviceCompat; -import androidx.core.view.ViewCompat; -import c.c.a.a0.d; -import c.d.b.a.a; -import java.util.HashMap; -import java.util.Map; -import java.util.Objects; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -/* compiled from: ColorParser */ -public final class i { - public static final Pattern a = Pattern.compile("^rgb\\((\\d{1,3}),(\\d{1,3}),(\\d{1,3})\\)$"); - public static final Pattern b = Pattern.compile("^rgba\\((\\d{1,3}),(\\d{1,3}),(\\d{1,3}),(\\d{1,3})\\)$"); - - /* renamed from: c reason: collision with root package name */ - public static final Pattern f966c = Pattern.compile("^rgba\\((\\d{1,3}),(\\d{1,3}),(\\d{1,3}),(\\d*\\.?\\d*?)\\)$"); - public static final Map d; - - static { - HashMap hashMap = new HashMap(); - d = hashMap; - hashMap.put("aliceblue", -984833); - hashMap.put("antiquewhite", -332841); - hashMap.put("aqua", -16711681); - a.d0(-8388652, hashMap, "aquamarine", -983041, "azure", -657956, "beige", -6972, "bisque"); - a.d0(ViewCompat.MEASURED_STATE_MASK, hashMap, "black", -5171, "blanchedalmond", -16776961, "blue", -7722014, "blueviolet"); - a.d0(-5952982, hashMap, "brown", -2180985, "burlywood", -10510688, "cadetblue", -8388864, "chartreuse"); - a.d0(-2987746, hashMap, "chocolate", -32944, "coral", -10185235, "cornflowerblue", -1828, "cornsilk"); - hashMap.put("crimson", -2354116); - hashMap.put("cyan", -16711681); - hashMap.put("darkblue", -16777077); - hashMap.put("darkcyan", -16741493); - hashMap.put("darkgoldenrod", -4684277); - hashMap.put("darkgray", -5658199); - hashMap.put("darkgreen", -16751616); - hashMap.put("darkgrey", -5658199); - hashMap.put("darkkhaki", -4343957); - a.d0(-7667573, hashMap, "darkmagenta", -11179217, "darkolivegreen", -29696, "darkorange", -6737204, "darkorchid"); - a.d0(-7667712, hashMap, "darkred", -1468806, "darksalmon", -7357297, "darkseagreen", -12042869, "darkslateblue"); - hashMap.put("darkslategray", -13676721); - hashMap.put("darkslategrey", -13676721); - hashMap.put("darkturquoise", -16724271); - hashMap.put("darkviolet", -7077677); - hashMap.put("deeppink", -60269); - hashMap.put("deepskyblue", -16728065); - hashMap.put("dimgray", -9868951); - hashMap.put("dimgrey", -9868951); - a.d0(-14774017, hashMap, "dodgerblue", -5103070, "firebrick", -1296, "floralwhite", -14513374, "forestgreen"); - hashMap.put("fuchsia", -65281); - hashMap.put("gainsboro", -2302756); - hashMap.put("ghostwhite", -460545); - hashMap.put("gold", -10496); - hashMap.put("goldenrod", -2448096); - hashMap.put("gray", -8355712); - hashMap.put("green", -16744448); - hashMap.put("greenyellow", -5374161); - hashMap.put("grey", -8355712); - a.d0(-983056, hashMap, "honeydew", -38476, "hotpink", -3318692, "indianred", -11861886, "indigo"); - a.d0(-16, hashMap, "ivory", -989556, "khaki", -1644806, "lavender", -3851, "lavenderblush"); - a.d0(-8586240, hashMap, "lawngreen", -1331, "lemonchiffon", -5383962, "lightblue", -1015680, "lightcoral"); - hashMap.put("lightcyan", -2031617); - hashMap.put("lightgoldenrodyellow", -329006); - hashMap.put("lightgray", -2894893); - hashMap.put("lightgreen", -7278960); - hashMap.put("lightgrey", -2894893); - hashMap.put("lightpink", -18751); - hashMap.put("lightsalmon", -24454); - hashMap.put("lightseagreen", -14634326); - hashMap.put("lightskyblue", -7876870); - hashMap.put("lightslategray", -8943463); - hashMap.put("lightslategrey", -8943463); - hashMap.put("lightsteelblue", -5192482); - hashMap.put("lightyellow", -32); - hashMap.put("lime", -16711936); - hashMap.put("limegreen", -13447886); - hashMap.put("linen", -331546); - hashMap.put("magenta", -65281); - hashMap.put("maroon", -8388608); - hashMap.put("mediumaquamarine", -10039894); - a.d0(-16777011, hashMap, "mediumblue", -4565549, "mediumorchid", -7114533, "mediumpurple", -12799119, "mediumseagreen"); - a.d0(-8689426, hashMap, "mediumslateblue", -16713062, "mediumspringgreen", -12004916, "mediumturquoise", -3730043, "mediumvioletred"); - a.d0(-15132304, hashMap, "midnightblue", -655366, "mintcream", -6943, "mistyrose", -6987, "moccasin"); - a.d0(-8531, hashMap, "navajowhite", -16777088, "navy", -133658, "oldlace", -8355840, "olive"); - a.d0(-9728477, hashMap, "olivedrab", -23296, "orange", -47872, "orangered", -2461482, "orchid"); - a.d0(-1120086, hashMap, "palegoldenrod", -6751336, "palegreen", -5247250, "paleturquoise", -2396013, "palevioletred"); - a.d0(-4139, hashMap, "papayawhip", -9543, "peachpuff", -3308225, "peru", -16181, "pink"); - a.d0(-2252579, hashMap, "plum", -5185306, "powderblue", -8388480, "purple", -10079335, "rebeccapurple"); - a.d0(SupportMenu.CATEGORY_MASK, hashMap, "red", -4419697, "rosybrown", -12490271, "royalblue", -7650029, "saddlebrown"); - a.d0(-360334, hashMap, "salmon", -744352, "sandybrown", -13726889, "seagreen", -2578, "seashell"); - a.d0(-6270419, hashMap, "sienna", -4144960, "silver", -7876885, "skyblue", -9807155, "slateblue"); - hashMap.put("slategray", -9404272); - hashMap.put("slategrey", -9404272); - hashMap.put("snow", -1286); - hashMap.put("springgreen", -16711809); - a.d0(-12156236, hashMap, "steelblue", -2968436, "tan", -16744320, "teal", -2572328, "thistle"); - a.d0(-40121, hashMap, "tomato", 0, "transparent", -12525360, "turquoise", -1146130, "violet"); - a.d0(-663885, hashMap, "wheat", -1, "white", -657931, "whitesmoke", InputDeviceCompat.SOURCE_ANY, "yellow"); - hashMap.put("yellowgreen", -6632142); - } - - @ColorInt - public static int a(String str, boolean z2) { - int i; - d.k(!TextUtils.isEmpty(str)); - String replace = str.replace(" ", ""); - if (replace.charAt(0) == '#') { - int parseLong = (int) Long.parseLong(replace.substring(1), 16); - if (replace.length() == 7) { - return -16777216 | parseLong; - } - if (replace.length() == 9) { - return ((parseLong & 255) << 24) | (parseLong >>> 8); - } - throw new IllegalArgumentException(); - } - if (replace.startsWith("rgba")) { - Matcher matcher = (z2 ? f966c : b).matcher(replace); - if (matcher.matches()) { - if (z2) { - String group = matcher.group(4); - Objects.requireNonNull(group); - i = (int) (Float.parseFloat(group) * 255.0f); - } else { - String group2 = matcher.group(4); - Objects.requireNonNull(group2); - i = Integer.parseInt(group2, 10); - } - String group3 = matcher.group(1); - Objects.requireNonNull(group3); - int parseInt = Integer.parseInt(group3, 10); - String group4 = matcher.group(2); - Objects.requireNonNull(group4); - int parseInt2 = Integer.parseInt(group4, 10); - String group5 = matcher.group(3); - Objects.requireNonNull(group5); - return Color.argb(i, parseInt, parseInt2, Integer.parseInt(group5, 10)); - } - } else if (replace.startsWith("rgb")) { - Matcher matcher2 = a.matcher(replace); - if (matcher2.matches()) { - String group6 = matcher2.group(1); - Objects.requireNonNull(group6); - int parseInt3 = Integer.parseInt(group6, 10); - String group7 = matcher2.group(2); - Objects.requireNonNull(group7); - int parseInt4 = Integer.parseInt(group7, 10); - String group8 = matcher2.group(3); - Objects.requireNonNull(group8); - return Color.rgb(parseInt3, parseInt4, Integer.parseInt(group8, 10)); - } - } else { - Integer num = d.get(f0.K(replace)); - if (num != null) { - return num.intValue(); - } - } - throw new IllegalArgumentException(); - } -} diff --git a/app/src/main/java/c/i/a/c/i2/j.java b/app/src/main/java/c/i/a/c/i2/j.java deleted file mode 100644 index cdca9a70e6..0000000000 --- a/app/src/main/java/c/i/a/c/i2/j.java +++ /dev/null @@ -1,22 +0,0 @@ -package c.i.a.c.i2; -/* compiled from: ConditionVariable */ -public class j { - public final g a = g.a; - public boolean b; - - public synchronized boolean a() { - boolean z2; - z2 = this.b; - this.b = false; - return z2; - } - - public synchronized boolean b() { - if (this.b) { - return false; - } - this.b = true; - notifyAll(); - return true; - } -} diff --git a/app/src/main/java/c/i/a/c/i2/k.java b/app/src/main/java/c/i/a/c/i2/k.java deleted file mode 100644 index d0333b22dc..0000000000 --- a/app/src/main/java/c/i/a/c/i2/k.java +++ /dev/null @@ -1,5 +0,0 @@ -package c.i.a.c.i2; -/* compiled from: Consumer */ -public interface k { - void accept(T t); -} diff --git a/app/src/main/java/c/i/a/c/i2/l.java b/app/src/main/java/c/i/a/c/i2/l.java deleted file mode 100644 index 62ffbbf355..0000000000 --- a/app/src/main/java/c/i/a/c/i2/l.java +++ /dev/null @@ -1,28 +0,0 @@ -package c.i.a.c.i2; - -import androidx.annotation.GuardedBy; -import java.util.Collections; -import java.util.HashMap; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Set; -/* compiled from: CopyOnWriteMultiset */ -public final class l implements Iterable { - public final Object i = new Object(); - @GuardedBy("lock") - public final Map j = new HashMap(); - @GuardedBy("lock") - public Set k = Collections.emptySet(); - @GuardedBy("lock") - public List l = Collections.emptyList(); - - @Override // java.lang.Iterable - public Iterator iterator() { - Iterator it; - synchronized (this.i) { - it = this.l.iterator(); - } - return it; - } -} diff --git a/app/src/main/java/c/i/a/c/i2/m.java b/app/src/main/java/c/i/a/c/i2/m.java deleted file mode 100644 index ba7a111b8e..0000000000 --- a/app/src/main/java/c/i/a/c/i2/m.java +++ /dev/null @@ -1,8 +0,0 @@ -package c.i.a.c.i2; - -import android.util.Pair; -import java.lang.Throwable; -/* compiled from: ErrorMessageProvider */ -public interface m { - Pair a(T t); -} diff --git a/app/src/main/java/c/i/a/c/i2/n.java b/app/src/main/java/c/i/a/c/i2/n.java deleted file mode 100644 index 1333d5cf39..0000000000 --- a/app/src/main/java/c/i/a/c/i2/n.java +++ /dev/null @@ -1,58 +0,0 @@ -package c.i.a.c.i2; - -import java.util.NoSuchElementException; -/* compiled from: IntArrayQueue */ -public final class n { - public int a = 0; - public int b = -1; - - /* renamed from: c reason: collision with root package name */ - public int f967c = 0; - public int[] d; - public int e; - - public n() { - int[] iArr = new int[16]; - this.d = iArr; - this.e = iArr.length - 1; - } - - public void a(int i) { - int i2 = this.f967c; - int[] iArr = this.d; - if (i2 == iArr.length) { - int length = iArr.length << 1; - if (length >= 0) { - int[] iArr2 = new int[length]; - int length2 = iArr.length; - int i3 = this.a; - int i4 = length2 - i3; - System.arraycopy(iArr, i3, iArr2, 0, i4); - System.arraycopy(this.d, 0, iArr2, i4, i3); - this.a = 0; - this.b = this.f967c - 1; - this.d = iArr2; - this.e = length - 1; - } else { - throw new IllegalStateException(); - } - } - int i5 = (this.b + 1) & this.e; - this.b = i5; - this.d[i5] = i; - this.f967c++; - } - - public int b() { - int i = this.f967c; - if (i != 0) { - int[] iArr = this.d; - int i2 = this.a; - int i3 = iArr[i2]; - this.a = (i2 + 1) & this.e; - this.f967c = i - 1; - return i3; - } - throw new NoSuchElementException(); - } -} diff --git a/app/src/main/java/c/i/a/c/i2/o.java b/app/src/main/java/c/i/a/c/i2/o.java deleted file mode 100644 index 50fe4109d7..0000000000 --- a/app/src/main/java/c/i/a/c/i2/o.java +++ /dev/null @@ -1,104 +0,0 @@ -package c.i.a.c.i2; - -import android.os.Looper; -import androidx.annotation.Nullable; -import c.i.a.c.i2.t; -import c.i.b.a.l; -import java.util.ArrayDeque; -import java.util.Iterator; -import java.util.concurrent.CopyOnWriteArraySet; -/* compiled from: ListenerSet */ -public final class o { - public final g a; - public final c0 b; - - /* renamed from: c reason: collision with root package name */ - public final l f968c; - public final b d; - public final CopyOnWriteArraySet> e; - public final ArrayDeque f = new ArrayDeque<>(); - public final ArrayDeque g = new ArrayDeque<>(); - public boolean h; - - /* compiled from: ListenerSet */ - public interface a { - void invoke(T t); - } - - /* compiled from: ListenerSet */ - public interface b { - void a(T t, E e); - } - - /* compiled from: ListenerSet */ - public static final class c { - public final T a; - public E b; - - /* renamed from: c reason: collision with root package name */ - public boolean f969c; - public boolean d; - - public c(T t, l lVar) { - this.a = t; - this.b = lVar.get(); - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || c.class != obj.getClass()) { - return false; - } - return this.a.equals(((c) obj).a); - } - - public int hashCode() { - return this.a.hashCode(); - } - } - - public o(CopyOnWriteArraySet> copyOnWriteArraySet, Looper looper, g gVar, l lVar, b bVar) { - this.a = gVar; - this.e = copyOnWriteArraySet; - this.f968c = lVar; - this.d = bVar; - this.b = gVar.b(looper, new b(this)); - } - - public void a() { - if (!this.g.isEmpty()) { - if (!this.b.a.hasMessages(0)) { - this.b.a(0).sendToTarget(); - } - boolean z2 = !this.f.isEmpty(); - this.f.addAll(this.g); - this.g.clear(); - if (!z2) { - while (!this.f.isEmpty()) { - this.f.peekFirst().run(); - this.f.removeFirst(); - } - } - } - } - - public void b(int i, a aVar) { - this.g.add(new a(new CopyOnWriteArraySet(this.e), i, aVar)); - } - - public void c() { - Iterator> it = this.e.iterator(); - while (it.hasNext()) { - c next = it.next(); - b bVar = this.d; - next.d = true; - if (next.f969c) { - bVar.a(next.a, next.b); - } - } - this.e.clear(); - this.h = true; - } -} diff --git a/app/src/main/java/c/i/a/c/i2/p.java b/app/src/main/java/c/i/a/c/i2/p.java deleted file mode 100644 index bdbbd68f9f..0000000000 --- a/app/src/main/java/c/i/a/c/i2/p.java +++ /dev/null @@ -1,50 +0,0 @@ -package c.i.a.c.i2; - -import android.text.TextUtils; -import android.util.Log; -import androidx.annotation.Nullable; -import c.d.b.a.a; -import java.net.UnknownHostException; -import org.checkerframework.dataflow.qual.Pure; -/* compiled from: Log */ -public final class p { - @Pure - public static String a(String str, @Nullable Throwable th) { - String str2; - boolean z2; - if (th == null) { - str2 = null; - } else { - Throwable th2 = th; - while (true) { - if (th2 == null) { - z2 = false; - break; - } else if (th2 instanceof UnknownHostException) { - z2 = true; - break; - } else { - th2 = th2.getCause(); - } - } - str2 = z2 ? "UnknownHostException (no network)" : Log.getStackTraceString(th).trim().replace("\t", " "); - } - if (TextUtils.isEmpty(str2)) { - return str; - } - StringBuilder S = a.S(str, "\n "); - S.append(str2.replace("\n", "\n ")); - S.append('\n'); - return S.toString(); - } - - @Pure - public static void b(String str, String str2, @Nullable Throwable th) { - Log.e(str, a(str2, th)); - } - - @Pure - public static void c(String str, String str2, @Nullable Throwable th) { - Log.w(str, a(str2, th)); - } -} diff --git a/app/src/main/java/c/i/a/c/i2/q.java b/app/src/main/java/c/i/a/c/i2/q.java deleted file mode 100644 index f4fda516e6..0000000000 --- a/app/src/main/java/c/i/a/c/i2/q.java +++ /dev/null @@ -1,30 +0,0 @@ -package c.i.a.c.i2; - -import c.d.b.a.a; -import java.util.Arrays; -/* compiled from: LongArray */ -public final class q { - public int a; - public long[] b = new long[32]; - - public void a(long j) { - int i = this.a; - long[] jArr = this.b; - if (i == jArr.length) { - this.b = Arrays.copyOf(jArr, i * 2); - } - long[] jArr2 = this.b; - int i2 = this.a; - this.a = i2 + 1; - jArr2[i2] = j; - } - - public long b(int i) { - if (i >= 0 && i < this.a) { - return this.b[i]; - } - StringBuilder P = a.P("Invalid index ", i, ", size is "); - P.append(this.a); - throw new IndexOutOfBoundsException(P.toString()); - } -} diff --git a/app/src/main/java/c/i/a/c/i2/r.java b/app/src/main/java/c/i/a/c/i2/r.java deleted file mode 100644 index 530bbb9ea7..0000000000 --- a/app/src/main/java/c/i/a/c/i2/r.java +++ /dev/null @@ -1,11 +0,0 @@ -package c.i.a.c.i2; - -import c.i.a.c.d1; -/* compiled from: MediaClock */ -public interface r { - d1 c(); - - void e(d1 d1Var); - - long m(); -} diff --git a/app/src/main/java/c/i/a/c/i2/s.java b/app/src/main/java/c/i/a/c/i2/s.java deleted file mode 100644 index dde0e69624..0000000000 --- a/app/src/main/java/c/i/a/c/i2/s.java +++ /dev/null @@ -1,427 +0,0 @@ -package c.i.a.c.i2; - -import android.text.TextUtils; -import androidx.annotation.Nullable; -import androidx.annotation.VisibleForTesting; -import androidx.core.app.NotificationCompat; -import c.i.a.c.v1.k; -import java.util.ArrayList; -import java.util.Objects; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -import org.webrtc.MediaStreamTrack; -/* compiled from: MimeTypes */ -public final class s { - public static final ArrayList a = new ArrayList<>(); - public static final Pattern b = Pattern.compile("^mp4a\\.([a-zA-Z0-9]{2})(?:\\.([0-9]{1,2}))?$"); - - /* compiled from: MimeTypes */ - public static final class a { - } - - /* compiled from: MimeTypes */ - @VisibleForTesting - public static final class b { - public final int a; - public final int b; - - public b(int i, int i2) { - this.a = i; - this.b = i2; - } - } - - public static boolean a(@Nullable String str, @Nullable String str2) { - b e; - int a2; - if (str == null) { - return false; - } - char c2 = 65535; - switch (str.hashCode()) { - case -2123537834: - if (str.equals("audio/eac3-joc")) { - c2 = 0; - break; - } - break; - case -432837260: - if (str.equals("audio/mpeg-L1")) { - c2 = 1; - break; - } - break; - case -432837259: - if (str.equals("audio/mpeg-L2")) { - c2 = 2; - break; - } - break; - case -53558318: - if (str.equals("audio/mp4a-latm")) { - c2 = 3; - break; - } - break; - case 187078296: - if (str.equals("audio/ac3")) { - c2 = 4; - break; - } - break; - case 187094639: - if (str.equals("audio/raw")) { - c2 = 5; - break; - } - break; - case 1504578661: - if (str.equals("audio/eac3")) { - c2 = 6; - break; - } - break; - case 1504619009: - if (str.equals("audio/flac")) { - c2 = 7; - break; - } - break; - case 1504831518: - if (str.equals("audio/mpeg")) { - c2 = '\b'; - break; - } - break; - case 1903231877: - if (str.equals("audio/g711-alaw")) { - c2 = '\t'; - break; - } - break; - case 1903589369: - if (str.equals("audio/g711-mlaw")) { - c2 = '\n'; - break; - } - break; - } - switch (c2) { - case 0: - case 1: - case 2: - case 4: - case 5: - case 6: - case 7: - case '\b': - case '\t': - case '\n': - return true; - case 3: - return (str2 == null || (e = e(str2)) == null || (a2 = k.a(e.b)) == 0 || a2 == 16) ? false : true; - default: - return false; - } - } - - public static int b(String str, @Nullable String str2) { - b e; - char c2 = 65535; - switch (str.hashCode()) { - case -2123537834: - if (str.equals("audio/eac3-joc")) { - c2 = 0; - break; - } - break; - case -1095064472: - if (str.equals("audio/vnd.dts")) { - c2 = 1; - break; - } - break; - case -53558318: - if (str.equals("audio/mp4a-latm")) { - c2 = 2; - break; - } - break; - case 187078296: - if (str.equals("audio/ac3")) { - c2 = 3; - break; - } - break; - case 187078297: - if (str.equals("audio/ac4")) { - c2 = 4; - break; - } - break; - case 1504578661: - if (str.equals("audio/eac3")) { - c2 = 5; - break; - } - break; - case 1504831518: - if (str.equals("audio/mpeg")) { - c2 = 6; - break; - } - break; - case 1505942594: - if (str.equals("audio/vnd.dts.hd")) { - c2 = 7; - break; - } - break; - case 1556697186: - if (str.equals("audio/true-hd")) { - c2 = '\b'; - break; - } - break; - } - switch (c2) { - case 0: - return 18; - case 1: - return 7; - case 2: - if (str2 == null || (e = e(str2)) == null) { - return 0; - } - return k.a(e.b); - case 3: - return 5; - case 4: - return 17; - case 5: - return 6; - case 6: - return 9; - case 7: - return 8; - case '\b': - return 14; - default: - return 0; - } - } - - @Nullable - public static String c(@Nullable String str) { - b e; - String str2 = null; - if (str == null) { - return null; - } - String K = f0.K(str.trim()); - if (K.startsWith("avc1") || K.startsWith("avc3")) { - return "video/avc"; - } - if (K.startsWith("hev1") || K.startsWith("hvc1")) { - return "video/hevc"; - } - if (K.startsWith("dvav") || K.startsWith("dva1") || K.startsWith("dvhe") || K.startsWith("dvh1")) { - return "video/dolby-vision"; - } - if (K.startsWith("av01")) { - return "video/av01"; - } - if (K.startsWith("vp9") || K.startsWith("vp09")) { - return "video/x-vnd.on2.vp9"; - } - if (K.startsWith("vp8") || K.startsWith("vp08")) { - return "video/x-vnd.on2.vp8"; - } - if (K.startsWith("mp4a")) { - if (K.startsWith("mp4a.") && (e = e(K)) != null) { - str2 = d(e.a); - } - return str2 == null ? "audio/mp4a-latm" : str2; - } else if (K.startsWith("ac-3") || K.startsWith("dac3")) { - return "audio/ac3"; - } else { - if (K.startsWith("ec-3") || K.startsWith("dec3")) { - return "audio/eac3"; - } - if (K.startsWith("ec+3")) { - return "audio/eac3-joc"; - } - if (K.startsWith("ac-4") || K.startsWith("dac4")) { - return "audio/ac4"; - } - if (K.startsWith("dtsc") || K.startsWith("dtse")) { - return "audio/vnd.dts"; - } - if (K.startsWith("dtsh") || K.startsWith("dtsl")) { - return "audio/vnd.dts.hd"; - } - if (K.startsWith("opus")) { - return "audio/opus"; - } - if (K.startsWith("vorbis")) { - return "audio/vorbis"; - } - if (K.startsWith("flac")) { - return "audio/flac"; - } - if (K.startsWith("stpp")) { - return "application/ttml+xml"; - } - if (K.startsWith("wvtt")) { - return "text/vtt"; - } - if (K.contains("cea708")) { - return "application/cea-708"; - } - if (K.contains("eia608") || K.contains("cea608")) { - return "application/cea-608"; - } - int size = a.size(); - for (int i = 0; i < size; i++) { - Objects.requireNonNull(a.get(i)); - if (K.startsWith(null)) { - break; - } - } - return null; - } - } - - @Nullable - public static String d(int i) { - if (i == 32) { - return "video/mp4v-es"; - } - if (i == 33) { - return "video/avc"; - } - if (i == 35) { - return "video/hevc"; - } - if (i == 64) { - return "audio/mp4a-latm"; - } - if (i == 163) { - return "video/wvc1"; - } - if (i == 177) { - return "video/x-vnd.on2.vp9"; - } - if (i == 165) { - return "audio/ac3"; - } - if (i == 166) { - return "audio/eac3"; - } - switch (i) { - case 96: - case 97: - case 98: - case 99: - case 100: - case 101: - return "video/mpeg2"; - case 102: - case 103: - case 104: - return "audio/mp4a-latm"; - case 105: - case 107: - return "audio/mpeg"; - case 106: - return "video/mpeg"; - default: - switch (i) { - case 169: - case 172: - return "audio/vnd.dts"; - case 170: - case 171: - return "audio/vnd.dts.hd"; - case 173: - return "audio/opus"; - case 174: - return "audio/ac4"; - default: - return null; - } - } - } - - @Nullable - @VisibleForTesting - public static b e(String str) { - Matcher matcher = b.matcher(str); - if (!matcher.matches()) { - return null; - } - String group = matcher.group(1); - Objects.requireNonNull(group); - String group2 = matcher.group(2); - int i = 0; - try { - int parseInt = Integer.parseInt(group, 16); - if (group2 != null) { - i = Integer.parseInt(group2); - } - return new b(parseInt, i); - } catch (NumberFormatException unused) { - return null; - } - } - - @Nullable - public static String f(@Nullable String str) { - int indexOf; - if (str == null || (indexOf = str.indexOf(47)) == -1) { - return null; - } - return str.substring(0, indexOf); - } - - public static int g(@Nullable String str) { - if (TextUtils.isEmpty(str)) { - return -1; - } - if (h(str)) { - return 1; - } - if (j(str)) { - return 2; - } - if (i(str)) { - return 3; - } - if ("application/id3".equals(str) || "application/x-emsg".equals(str) || "application/x-scte35".equals(str)) { - return 5; - } - if ("application/x-camera-motion".equals(str)) { - return 6; - } - int size = a.size(); - for (int i = 0; i < size; i++) { - Objects.requireNonNull(a.get(i)); - if (str.equals(null)) { - return 0; - } - } - return -1; - } - - public static boolean h(@Nullable String str) { - return MediaStreamTrack.AUDIO_TRACK_KIND.equals(f(str)); - } - - public static boolean i(@Nullable String str) { - return NotificationCompat.MessagingStyle.Message.KEY_TEXT.equals(f(str)) || "application/cea-608".equals(str) || "application/cea-708".equals(str) || "application/x-mp4-cea-608".equals(str) || "application/x-subrip".equals(str) || "application/ttml+xml".equals(str) || "application/x-quicktime-tx3g".equals(str) || "application/x-mp4-vtt".equals(str) || "application/x-rawcc".equals(str) || "application/vobsub".equals(str) || "application/pgs".equals(str) || "application/dvbsubs".equals(str); - } - - public static boolean j(@Nullable String str) { - return MediaStreamTrack.VIDEO_TRACK_KIND.equals(f(str)); - } -} diff --git a/app/src/main/java/c/i/a/c/i2/t.java b/app/src/main/java/c/i/a/c/i2/t.java deleted file mode 100644 index 9043b37952..0000000000 --- a/app/src/main/java/c/i/a/c/i2/t.java +++ /dev/null @@ -1,22 +0,0 @@ -package c.i.a.c.i2; - -import android.util.SparseBooleanArray; -import androidx.annotation.Nullable; -/* compiled from: MutableFlags */ -public class t { - public final SparseBooleanArray a = new SparseBooleanArray(); - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (!(obj instanceof t)) { - return false; - } - return this.a.equals(((t) obj).a); - } - - public int hashCode() { - return this.a.hashCode(); - } -} diff --git a/app/src/main/java/c/i/a/c/i2/u.java b/app/src/main/java/c/i/a/c/i2/u.java deleted file mode 100644 index b7ef3a8369..0000000000 --- a/app/src/main/java/c/i/a/c/i2/u.java +++ /dev/null @@ -1,313 +0,0 @@ -package c.i.a.c.i2; - -import c.c.a.a0.d; -import java.util.Arrays; -/* compiled from: NalUnitUtil */ -public final class u { - public static final byte[] a = {0, 0, 0, 1}; - public static final float[] b = {1.0f, 1.0f, 1.0909091f, 0.90909094f, 1.4545455f, 1.2121212f, 2.1818182f, 1.8181819f, 2.909091f, 2.4242425f, 1.6363636f, 1.3636364f, 1.939394f, 1.6161616f, 1.3333334f, 1.5f, 2.0f}; - - /* renamed from: c reason: collision with root package name */ - public static final Object f970c = new Object(); - public static int[] d = new int[10]; - - /* compiled from: NalUnitUtil */ - public static final class a { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final boolean f971c; - - public a(int i, int i2, boolean z2) { - this.a = i; - this.b = i2; - this.f971c = z2; - } - } - - /* compiled from: NalUnitUtil */ - public static final class b { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f972c; - public final int d; - public final int e; - public final int f; - public final float g; - public final boolean h; - public final boolean i; - public final int j; - public final int k; - public final int l; - public final boolean m; - - public b(int i, int i2, int i3, int i4, int i5, int i6, float f, boolean z2, boolean z3, int i7, int i8, int i9, boolean z4) { - this.a = i; - this.b = i2; - this.f972c = i3; - this.d = i4; - this.e = i5; - this.f = i6; - this.g = f; - this.h = z2; - this.i = z3; - this.j = i7; - this.k = i8; - this.l = i9; - this.m = z4; - } - } - - public static void a(boolean[] zArr) { - zArr[0] = false; - zArr[1] = false; - zArr[2] = false; - } - - public static int b(byte[] bArr, int i, int i2, boolean[] zArr) { - int i3 = i2 - i; - boolean z2 = false; - d.D(i3 >= 0); - if (i3 == 0) { - return i2; - } - if (zArr[0]) { - zArr[0] = false; - zArr[1] = false; - zArr[2] = false; - return i - 3; - } else if (i3 > 1 && zArr[1] && bArr[i] == 1) { - zArr[0] = false; - zArr[1] = false; - zArr[2] = false; - return i - 2; - } else if (i3 <= 2 || !zArr[2] || bArr[i] != 0 || bArr[i + 1] != 1) { - int i4 = i2 - 1; - int i5 = i + 2; - while (i5 < i4) { - if ((bArr[i5] & 254) == 0) { - int i6 = i5 - 2; - if (bArr[i6] == 0 && bArr[i5 - 1] == 0 && bArr[i5] == 1) { - zArr[0] = false; - zArr[1] = false; - zArr[2] = false; - return i6; - } - i5 -= 2; - } - i5 += 3; - } - zArr[0] = i3 <= 2 ? !(i3 != 2 ? !zArr[1] || bArr[i4] != 1 : !(zArr[2] && bArr[i2 + -2] == 0 && bArr[i4] == 1)) : bArr[i2 + -3] == 0 && bArr[i2 + -2] == 0 && bArr[i4] == 1; - zArr[1] = i3 <= 1 ? !(!zArr[2] || bArr[i4] != 0) : bArr[i2 + -2] == 0 && bArr[i4] == 0; - if (bArr[i4] == 0) { - z2 = true; - } - zArr[2] = z2; - return i2; - } else { - zArr[0] = false; - zArr[1] = false; - zArr[2] = false; - return i - 1; - } - } - - public static a c(byte[] bArr, int i, int i2) { - x xVar = new x(bArr, i, i2); - xVar.k(8); - int f = xVar.f(); - int f2 = xVar.f(); - xVar.j(); - return new a(f, f2, xVar.d()); - } - - /* JADX WARNING: Removed duplicated region for block: B:60:0x00f1 */ - /* JADX WARNING: Removed duplicated region for block: B:63:0x0101 */ - /* JADX WARNING: Removed duplicated region for block: B:81:0x014f */ - /* JADX WARNING: Removed duplicated region for block: B:86:0x0162 */ - /* JADX WARNING: Unknown variable types count: 1 */ - public static b d(byte[] bArr, int i, int i2) { - boolean z2; - int i3; - boolean z3; - int i4; - ?? d2; - float f; - int e; - int i5; - int i6; - x xVar = new x(bArr, i, i2); - xVar.k(8); - int e2 = xVar.e(8); - int e3 = xVar.e(8); - int e4 = xVar.e(8); - int f2 = xVar.f(); - int i7 = 1; - if (e2 == 100 || e2 == 110 || e2 == 122 || e2 == 244 || e2 == 44 || e2 == 83 || e2 == 86 || e2 == 118 || e2 == 128 || e2 == 138) { - i3 = xVar.f(); - boolean d3 = i3 == 3 ? xVar.d() : false; - xVar.f(); - xVar.f(); - xVar.j(); - if (xVar.d()) { - int i8 = i3 != 3 ? 8 : 12; - int i9 = 0; - while (i9 < i8) { - if (xVar.d()) { - int i10 = i9 < 6 ? 16 : 64; - int i11 = 8; - int i12 = 8; - for (int i13 = 0; i13 < i10; i13++) { - if (i11 != 0) { - i11 = ((xVar.g() + i12) + 256) % 256; - } - if (i11 != 0) { - i12 = i11; - } - } - } - i9++; - } - } - z2 = d3; - } else { - i3 = 1; - z2 = false; - } - int f3 = xVar.f() + 4; - int f4 = xVar.f(); - if (f4 == 0) { - i6 = xVar.f() + 4; - } else if (f4 == 1) { - boolean d4 = xVar.d(); - xVar.g(); - xVar.g(); - long f5 = (long) xVar.f(); - for (int i14 = 0; ((long) i14) < f5; i14++) { - xVar.f(); - } - z3 = d4; - i4 = 0; - xVar.f(); - xVar.j(); - int f6 = xVar.f() + 1; - d2 = xVar.d(); - int f7 = (2 - (d2 == true ? 1 : 0)) * (xVar.f() + 1); - if (d2 == 0) { - xVar.j(); - } - xVar.j(); - int i15 = f6 * 16; - int i16 = f7 * 16; - if (xVar.d()) { - int f8 = xVar.f(); - int f9 = xVar.f(); - int f10 = xVar.f(); - int f11 = xVar.f(); - if (i3 == 0) { - i5 = 2 - d2; - } else { - int i17 = i3 == 3 ? 1 : 2; - int i18 = 1; - if (i3 == 1) { - i18 = 2; - } - i5 = (2 - d2) * i18; - i7 = i17; - } - i15 -= (f8 + f9) * i7; - i16 -= (f10 + f11) * i5; - } - float f12 = 1.0f; - if (xVar.d() && xVar.d()) { - e = xVar.e(8); - if (e != 255) { - int e5 = xVar.e(16); - int e6 = xVar.e(16); - if (!(e5 == 0 || e6 == 0)) { - f12 = ((float) e5) / ((float) e6); - } - f = f12; - } else { - float[] fArr = b; - if (e < fArr.length) { - f = fArr[e]; - } else { - c.d.b.a.a.i0("Unexpected aspect_ratio_idc value: ", e, "NalUnitUtil"); - } - } - return new b(e2, e3, e4, f2, i15, i16, f, z2, d2, f3, f4, i4, z3); - } - f = 1.0f; - return new b(e2, e3, e4, f2, i15, i16, f, z2, d2, f3, f4, i4, z3); - } else { - i6 = 0; - } - i4 = i6; - z3 = false; - xVar.f(); - xVar.j(); - int f6 = xVar.f() + 1; - d2 = xVar.d(); - int f7 = (2 - (d2 == true ? 1 : 0)) * (xVar.f() + 1); - if (d2 == 0) { - } - xVar.j(); - int i15 = f6 * 16; - int i16 = f7 * 16; - if (xVar.d()) { - } - float f12 = 1.0f; - e = xVar.e(8); - if (e != 255) { - } - return new b(e2, e3, e4, f2, i15, i16, f, z2, d2, f3, f4, i4, z3); - } - - public static int e(byte[] bArr, int i) { - int i2; - synchronized (f970c) { - int i3 = 0; - int i4 = 0; - while (i3 < i) { - while (true) { - if (i3 >= i - 2) { - i3 = i; - break; - } - if (bArr[i3] == 0 && bArr[i3 + 1] == 0 && bArr[i3 + 2] == 3) { - break; - } - i3++; - } - if (i3 < i) { - int[] iArr = d; - if (iArr.length <= i4) { - d = Arrays.copyOf(iArr, iArr.length * 2); - } - d[i4] = i3; - i3 += 3; - i4++; - } - } - i2 = i - i4; - int i5 = 0; - int i6 = 0; - for (int i7 = 0; i7 < i4; i7++) { - int i8 = d[i7] - i6; - System.arraycopy(bArr, i6, bArr, i5, i8); - int i9 = i5 + i8; - int i10 = i9 + 1; - bArr[i9] = 0; - i5 = i10 + 1; - bArr[i10] = 0; - i6 += i8 + 3; - } - System.arraycopy(bArr, i6, bArr, i5, i2 - i5); - } - return i2; - } -} diff --git a/app/src/main/java/c/i/a/c/i2/v.java b/app/src/main/java/c/i/a/c/i2/v.java deleted file mode 100644 index f73c35df35..0000000000 --- a/app/src/main/java/c/i/a/c/i2/v.java +++ /dev/null @@ -1,178 +0,0 @@ -package c.i.a.c.i2; - -import c.c.a.a0.d; -/* compiled from: ParsableBitArray */ -public final class v { - public byte[] a; - public int b; - - /* renamed from: c reason: collision with root package name */ - public int f973c; - public int d; - - public v() { - this.a = f0.f; - } - - public v(byte[] bArr) { - int length = bArr.length; - this.a = bArr; - this.d = length; - } - - public v(byte[] bArr, int i) { - this.a = bArr; - this.d = i; - } - - public final void a() { - int i; - int i2 = this.b; - d.D(i2 >= 0 && (i2 < (i = this.d) || (i2 == i && this.f973c == 0))); - } - - public int b() { - return ((this.d - this.b) * 8) - this.f973c; - } - - public void c() { - if (this.f973c != 0) { - this.f973c = 0; - this.b++; - a(); - } - } - - public int d() { - d.D(this.f973c == 0); - return this.b; - } - - public int e() { - return (this.b * 8) + this.f973c; - } - - public boolean f() { - boolean z2 = (this.a[this.b] & (128 >> this.f973c)) != 0; - l(); - return z2; - } - - public int g(int i) { - int i2; - if (i == 0) { - return 0; - } - this.f973c += i; - int i3 = 0; - while (true) { - i2 = this.f973c; - if (i2 <= 8) { - break; - } - int i4 = i2 - 8; - this.f973c = i4; - byte[] bArr = this.a; - int i5 = this.b; - this.b = i5 + 1; - i3 |= (bArr[i5] & 255) << i4; - } - byte[] bArr2 = this.a; - int i6 = this.b; - int i7 = (-1 >>> (32 - i)) & (i3 | ((bArr2[i6] & 255) >> (8 - i2))); - if (i2 == 8) { - this.f973c = 0; - this.b = i6 + 1; - } - a(); - return i7; - } - - public void h(byte[] bArr, int i, int i2) { - int i3 = (i2 >> 3) + i; - while (i < i3) { - byte[] bArr2 = this.a; - int i4 = this.b; - int i5 = i4 + 1; - this.b = i5; - byte b = bArr2[i4]; - int i6 = this.f973c; - bArr[i] = (byte) (b << i6); - bArr[i] = (byte) (((255 & bArr2[i5]) >> (8 - i6)) | bArr[i]); - i++; - } - int i7 = i2 & 7; - if (i7 != 0) { - bArr[i3] = (byte) (bArr[i3] & (255 >> i7)); - int i8 = this.f973c; - if (i8 + i7 > 8) { - byte b2 = bArr[i3]; - byte[] bArr3 = this.a; - int i9 = this.b; - this.b = i9 + 1; - bArr[i3] = (byte) (b2 | ((bArr3[i9] & 255) << i8)); - this.f973c = i8 - 8; - } - int i10 = this.f973c + i7; - this.f973c = i10; - byte[] bArr4 = this.a; - int i11 = this.b; - bArr[i3] = (byte) (((byte) (((255 & bArr4[i11]) >> (8 - i10)) << (8 - i7))) | bArr[i3]); - if (i10 == 8) { - this.f973c = 0; - this.b = i11 + 1; - } - a(); - } - } - - public void i(byte[] bArr, int i, int i2) { - d.D(this.f973c == 0); - System.arraycopy(this.a, this.b, bArr, i, i2); - this.b += i2; - a(); - } - - public void j(byte[] bArr, int i) { - this.a = bArr; - this.b = 0; - this.f973c = 0; - this.d = i; - } - - public void k(int i) { - int i2 = i / 8; - this.b = i2; - this.f973c = i - (i2 * 8); - a(); - } - - public void l() { - int i = this.f973c + 1; - this.f973c = i; - if (i == 8) { - this.f973c = 0; - this.b++; - } - a(); - } - - public void m(int i) { - int i2 = i / 8; - int i3 = this.b + i2; - this.b = i3; - int i4 = (i - (i2 * 8)) + this.f973c; - this.f973c = i4; - if (i4 > 7) { - this.b = i3 + 1; - this.f973c = i4 - 8; - } - a(); - } - - public void n(int i) { - d.D(this.f973c == 0); - this.b += i; - a(); - } -} diff --git a/app/src/main/java/c/i/a/c/i2/w.java b/app/src/main/java/c/i/a/c/i2/w.java deleted file mode 100644 index 18607288a1..0000000000 --- a/app/src/main/java/c/i/a/c/i2/w.java +++ /dev/null @@ -1,365 +0,0 @@ -package c.i.a.c.i2; - -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.d.b.a.a; -import c.i.b.a.c; -import java.nio.charset.Charset; -import java.util.Arrays; -/* compiled from: ParsableByteArray */ -public final class w { - public byte[] a; - public int b; - - /* renamed from: c reason: collision with root package name */ - public int f974c; - - public w() { - this.a = f0.f; - } - - public w(int i) { - this.a = new byte[i]; - this.f974c = i; - } - - public w(byte[] bArr) { - this.a = bArr; - this.f974c = bArr.length; - } - - public w(byte[] bArr, int i) { - this.a = bArr; - this.f974c = i; - } - - public void A(byte[] bArr) { - int length = bArr.length; - this.a = bArr; - this.f974c = length; - this.b = 0; - } - - public void B(byte[] bArr, int i) { - this.a = bArr; - this.f974c = i; - this.b = 0; - } - - public void C(int i) { - d.k(i >= 0 && i <= this.a.length); - this.f974c = i; - } - - public void D(int i) { - d.k(i >= 0 && i <= this.f974c); - this.b = i; - } - - public void E(int i) { - D(this.b + i); - } - - public int a() { - return this.f974c - this.b; - } - - public void b(int i) { - byte[] bArr = this.a; - if (i > bArr.length) { - this.a = Arrays.copyOf(bArr, i); - } - } - - public int c() { - return this.a[this.b] & 255; - } - - public void d(v vVar, int i) { - e(vVar.a, 0, i); - vVar.k(0); - } - - public void e(byte[] bArr, int i, int i2) { - System.arraycopy(this.a, this.b, bArr, i, i2); - this.b += i2; - } - - public int f() { - byte[] bArr = this.a; - int i = this.b; - int i2 = i + 1; - this.b = i2; - int i3 = i2 + 1; - this.b = i3; - int i4 = ((bArr[i] & 255) << 24) | ((bArr[i2] & 255) << 16); - int i5 = i3 + 1; - this.b = i5; - int i6 = i4 | ((bArr[i3] & 255) << 8); - this.b = i5 + 1; - return (bArr[i5] & 255) | i6; - } - - @Nullable - public String g() { - if (a() == 0) { - return null; - } - int i = this.b; - while (i < this.f974c) { - byte b = this.a[i]; - int i2 = f0.a; - if (b == 10 || b == 13) { - break; - } - i++; - } - int i3 = this.b; - if (i - i3 >= 3) { - byte[] bArr = this.a; - if (bArr[i3] == -17 && bArr[i3 + 1] == -69 && bArr[i3 + 2] == -65) { - this.b = i3 + 3; - } - } - byte[] bArr2 = this.a; - int i4 = this.b; - String m = f0.m(bArr2, i4, i - i4); - this.b = i; - int i5 = this.f974c; - if (i == i5) { - return m; - } - byte[] bArr3 = this.a; - if (bArr3[i] == 13) { - int i6 = i + 1; - this.b = i6; - if (i6 == i5) { - return m; - } - } - int i7 = this.b; - if (bArr3[i7] == 10) { - this.b = i7 + 1; - } - return m; - } - - public int h() { - byte[] bArr = this.a; - int i = this.b; - int i2 = i + 1; - this.b = i2; - int i3 = i2 + 1; - this.b = i3; - int i4 = (bArr[i] & 255) | ((bArr[i2] & 255) << 8); - int i5 = i3 + 1; - this.b = i5; - int i6 = i4 | ((bArr[i3] & 255) << 16); - this.b = i5 + 1; - return ((bArr[i5] & 255) << 24) | i6; - } - - public short i() { - byte[] bArr = this.a; - int i = this.b; - int i2 = i + 1; - this.b = i2; - this.b = i2 + 1; - return (short) (((bArr[i2] & 255) << 8) | (bArr[i] & 255)); - } - - public long j() { - byte[] bArr = this.a; - int i = this.b; - int i2 = i + 1; - this.b = i2; - int i3 = i2 + 1; - this.b = i3; - int i4 = i3 + 1; - this.b = i4; - this.b = i4 + 1; - return (((long) bArr[i]) & 255) | ((((long) bArr[i2]) & 255) << 8) | ((((long) bArr[i3]) & 255) << 16) | ((((long) bArr[i4]) & 255) << 24); - } - - public int k() { - int h = h(); - if (h >= 0) { - return h; - } - throw new IllegalStateException(a.l("Top bit not zero: ", h)); - } - - public int l() { - byte[] bArr = this.a; - int i = this.b; - int i2 = i + 1; - this.b = i2; - this.b = i2 + 1; - return ((bArr[i2] & 255) << 8) | (bArr[i] & 255); - } - - public long m() { - byte[] bArr = this.a; - int i = this.b; - int i2 = i + 1; - this.b = i2; - int i3 = i2 + 1; - this.b = i3; - int i4 = i3 + 1; - this.b = i4; - int i5 = i4 + 1; - this.b = i5; - int i6 = i5 + 1; - this.b = i6; - int i7 = i6 + 1; - this.b = i7; - int i8 = i7 + 1; - this.b = i8; - this.b = i8 + 1; - return ((((long) bArr[i]) & 255) << 56) | ((((long) bArr[i2]) & 255) << 48) | ((((long) bArr[i3]) & 255) << 40) | ((((long) bArr[i4]) & 255) << 32) | ((((long) bArr[i5]) & 255) << 24) | ((((long) bArr[i6]) & 255) << 16) | ((((long) bArr[i7]) & 255) << 8) | (((long) bArr[i8]) & 255); - } - - @Nullable - public String n() { - if (a() == 0) { - return null; - } - int i = this.b; - while (i < this.f974c && this.a[i] != 0) { - i++; - } - byte[] bArr = this.a; - int i2 = this.b; - String m = f0.m(bArr, i2, i - i2); - this.b = i; - if (i < this.f974c) { - this.b = i + 1; - } - return m; - } - - public String o(int i) { - if (i == 0) { - return ""; - } - int i2 = this.b; - int i3 = (i2 + i) - 1; - String m = f0.m(this.a, i2, (i3 >= this.f974c || this.a[i3] != 0) ? i : i - 1); - this.b += i; - return m; - } - - public String p(int i) { - return q(i, c.f1350c); - } - - public String q(int i, Charset charset) { - String str = new String(this.a, this.b, i, charset); - this.b += i; - return str; - } - - public int r() { - return (s() << 21) | (s() << 14) | (s() << 7) | s(); - } - - public int s() { - byte[] bArr = this.a; - int i = this.b; - this.b = i + 1; - return bArr[i] & 255; - } - - public long t() { - byte[] bArr = this.a; - int i = this.b; - int i2 = i + 1; - this.b = i2; - int i3 = i2 + 1; - this.b = i3; - int i4 = i3 + 1; - this.b = i4; - this.b = i4 + 1; - return ((((long) bArr[i]) & 255) << 24) | ((((long) bArr[i2]) & 255) << 16) | ((((long) bArr[i3]) & 255) << 8) | (((long) bArr[i4]) & 255); - } - - public int u() { - byte[] bArr = this.a; - int i = this.b; - int i2 = i + 1; - this.b = i2; - int i3 = i2 + 1; - this.b = i3; - int i4 = ((bArr[i] & 255) << 16) | ((bArr[i2] & 255) << 8); - this.b = i3 + 1; - return (bArr[i3] & 255) | i4; - } - - public int v() { - int f = f(); - if (f >= 0) { - return f; - } - throw new IllegalStateException(a.l("Top bit not zero: ", f)); - } - - public long w() { - long m = m(); - if (m >= 0) { - return m; - } - throw new IllegalStateException(a.q("Top bit not zero: ", m)); - } - - public int x() { - byte[] bArr = this.a; - int i = this.b; - int i2 = i + 1; - this.b = i2; - this.b = i2 + 1; - return (bArr[i2] & 255) | ((bArr[i] & 255) << 8); - } - - public long y() { - int i; - int i2; - long j = (long) this.a[this.b]; - int i3 = 7; - while (true) { - if (i3 < 0) { - break; - } - int i4 = 1 << i3; - if ((((long) i4) & j) != 0) { - i3--; - } else if (i3 < 6) { - j &= (long) (i4 - 1); - i2 = 7 - i3; - } else if (i3 == 7) { - i2 = 1; - } - } - i2 = 0; - if (i2 != 0) { - for (i = 1; i < i2; i++) { - byte b = this.a[this.b + i]; - if ((b & 192) == 128) { - j = (j << 6) | ((long) (b & 63)); - } else { - throw new NumberFormatException(a.q("Invalid UTF-8 sequence continuation byte: ", j)); - } - } - this.b += i2; - return j; - } - throw new NumberFormatException(a.q("Invalid UTF-8 sequence first byte: ", j)); - } - - public void z(int i) { - byte[] bArr = this.a; - if (bArr.length < i) { - bArr = new byte[i]; - } - B(bArr, i); - } -} diff --git a/app/src/main/java/c/i/a/c/i2/x.java b/app/src/main/java/c/i/a/c/i2/x.java deleted file mode 100644 index 97c8d6eb13..0000000000 --- a/app/src/main/java/c/i/a/c/i2/x.java +++ /dev/null @@ -1,178 +0,0 @@ -package c.i.a.c.i2; - -import c.c.a.a0.d; -/* compiled from: ParsableNalUnitBitArray */ -public final class x { - public byte[] a; - public int b; - - /* renamed from: c reason: collision with root package name */ - public int f975c; - public int d = 0; - - public x(byte[] bArr, int i, int i2) { - this.a = bArr; - this.f975c = i; - this.b = i2; - a(); - } - - public final void a() { - int i; - int i2 = this.f975c; - d.D(i2 >= 0 && (i2 < (i = this.b) || (i2 == i && this.d == 0))); - } - - public boolean b(int i) { - int i2 = this.f975c; - int i3 = i / 8; - int i4 = i2 + i3; - int i5 = (this.d + i) - (i3 * 8); - if (i5 > 7) { - i4++; - i5 -= 8; - } - while (true) { - i2++; - if (i2 > i4 || i4 >= this.b) { - break; - } else if (i(i2)) { - i4++; - i2 += 2; - } - } - int i6 = this.b; - if (i4 >= i6) { - return i4 == i6 && i5 == 0; - } - return true; - } - - public boolean c() { - int i = this.f975c; - int i2 = this.d; - int i3 = 0; - while (this.f975c < this.b && !d()) { - i3++; - } - boolean z2 = this.f975c == this.b; - this.f975c = i; - this.d = i2; - return !z2 && b((i3 * 2) + 1); - } - - public boolean d() { - boolean z2 = (this.a[this.f975c] & (128 >> this.d)) != 0; - j(); - return z2; - } - - public int e(int i) { - int i2; - int i3; - this.d += i; - int i4 = 0; - while (true) { - i2 = this.d; - i3 = 2; - if (i2 <= 8) { - break; - } - int i5 = i2 - 8; - this.d = i5; - byte[] bArr = this.a; - int i6 = this.f975c; - i4 |= (bArr[i6] & 255) << i5; - if (!i(i6 + 1)) { - i3 = 1; - } - this.f975c = i6 + i3; - } - byte[] bArr2 = this.a; - int i7 = this.f975c; - int i8 = (-1 >>> (32 - i)) & (i4 | ((bArr2[i7] & 255) >> (8 - i2))); - if (i2 == 8) { - this.d = 0; - if (!i(i7 + 1)) { - i3 = 1; - } - this.f975c = i7 + i3; - } - a(); - return i8; - } - - public final int f() { - int i = 0; - int i2 = 0; - while (!d()) { - i2++; - } - int i3 = (1 << i2) - 1; - if (i2 > 0) { - i = e(i2); - } - return i3 + i; - } - - public int g() { - int f = f(); - return ((f + 1) / 2) * (f % 2 == 0 ? -1 : 1); - } - - public void h(byte[] bArr, int i, int i2) { - this.a = bArr; - this.f975c = i; - this.b = i2; - this.d = 0; - a(); - } - - public final boolean i(int i) { - if (2 <= i && i < this.b) { - byte[] bArr = this.a; - if (bArr[i] == 3 && bArr[i - 2] == 0 && bArr[i - 1] == 0) { - return true; - } - } - return false; - } - - public void j() { - int i = 1; - int i2 = this.d + 1; - this.d = i2; - if (i2 == 8) { - this.d = 0; - int i3 = this.f975c; - if (i(i3 + 1)) { - i = 2; - } - this.f975c = i3 + i; - } - a(); - } - - public void k(int i) { - int i2 = this.f975c; - int i3 = i / 8; - int i4 = i2 + i3; - this.f975c = i4; - int i5 = (i - (i3 * 8)) + this.d; - this.d = i5; - if (i5 > 7) { - this.f975c = i4 + 1; - this.d = i5 - 8; - } - while (true) { - i2++; - if (i2 > this.f975c) { - a(); - return; - } else if (i(i2)) { - this.f975c++; - i2 += 2; - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/i2/y.java b/app/src/main/java/c/i/a/c/i2/y.java deleted file mode 100644 index 78d95e4abc..0000000000 --- a/app/src/main/java/c/i/a/c/i2/y.java +++ /dev/null @@ -1,48 +0,0 @@ -package c.i.a.c.i2; - -import c.c.a.a0.d; -import java.io.BufferedOutputStream; -import java.io.IOException; -import java.io.OutputStream; -/* compiled from: ReusableBufferedOutputStream */ -public final class y extends BufferedOutputStream { - public boolean i; - - public y(OutputStream outputStream) { - super(outputStream); - } - - public y(OutputStream outputStream, int i) { - super(outputStream, i); - } - - public void a(OutputStream outputStream) { - d.D(this.i); - ((BufferedOutputStream) this).out = outputStream; - ((BufferedOutputStream) this).count = 0; - this.i = false; - } - - @Override // java.io.OutputStream, java.io.Closeable, java.io.FilterOutputStream, java.lang.AutoCloseable - public void close() throws IOException { - Throwable th; - this.i = true; - try { - flush(); - th = null; - } catch (Throwable th2) { - th = th2; - } - try { - ((BufferedOutputStream) this).out.close(); - } catch (Throwable th3) { - if (th == null) { - th = th3; - } - } - if (th != null) { - int i = f0.a; - throw th; - } - } -} diff --git a/app/src/main/java/c/i/a/c/i2/z.java b/app/src/main/java/c/i/a/c/i2/z.java deleted file mode 100644 index 9fa15087ea..0000000000 --- a/app/src/main/java/c/i/a/c/i2/z.java +++ /dev/null @@ -1,105 +0,0 @@ -package c.i.a.c.i2; - -import java.util.ArrayList; -import java.util.Collections; -/* compiled from: SlidingPercentile */ -public class z { - public static final /* synthetic */ int a = 0; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final ArrayList f976c = new ArrayList<>(); - public final b[] d = new b[5]; - public int e = -1; - public int f; - public int g; - public int h; - - /* compiled from: SlidingPercentile */ - public static class b { - public int a; - public int b; - - /* renamed from: c reason: collision with root package name */ - public float f977c; - - public b() { - } - - public b(a aVar) { - } - } - - public z(int i) { - this.b = i; - } - - public void a(int i, float f) { - b bVar; - if (this.e != 1) { - Collections.sort(this.f976c, c.i); - this.e = 1; - } - int i2 = this.h; - if (i2 > 0) { - b[] bVarArr = this.d; - int i3 = i2 - 1; - this.h = i3; - bVar = bVarArr[i3]; - } else { - bVar = new b(null); - } - int i4 = this.f; - this.f = i4 + 1; - bVar.a = i4; - bVar.b = i; - bVar.f977c = f; - this.f976c.add(bVar); - this.g += i; - while (true) { - int i5 = this.g; - int i6 = this.b; - if (i5 > i6) { - int i7 = i5 - i6; - b bVar2 = this.f976c.get(0); - int i8 = bVar2.b; - if (i8 <= i7) { - this.g -= i8; - this.f976c.remove(0); - int i9 = this.h; - if (i9 < 5) { - b[] bVarArr2 = this.d; - this.h = i9 + 1; - bVarArr2[i9] = bVar2; - } - } else { - bVar2.b = i8 - i7; - this.g -= i7; - } - } else { - return; - } - } - } - - public float b(float f) { - if (this.e != 0) { - Collections.sort(this.f976c, d.i); - this.e = 0; - } - float f2 = f * ((float) this.g); - int i = 0; - for (int i2 = 0; i2 < this.f976c.size(); i2++) { - b bVar = this.f976c.get(i2); - i += bVar.b; - if (((float) i) >= f2) { - return bVar.f977c; - } - } - if (this.f976c.isEmpty()) { - return Float.NaN; - } - ArrayList arrayList = this.f976c; - return arrayList.get(arrayList.size() - 1).f977c; - } -} diff --git a/app/src/main/java/c/i/a/c/j.java b/app/src/main/java/c/i/a/c/j.java index 48361584ce..2b75c91194 100644 --- a/app/src/main/java/c/i/a/c/j.java +++ b/app/src/main/java/c/i/a/c/j.java @@ -1,17 +1,17 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class j implements o.a { - public final /* synthetic */ c1 a; +public final /* synthetic */ class j implements p.a { + public final /* synthetic */ f1 a; - public /* synthetic */ j(c1 c1Var) { - this.a = c1Var; + public /* synthetic */ j(f1 f1Var) { + this.a = f1Var; } - @Override // c.i.a.c.i2.o.a + @Override // c.i.a.c.f3.p.a public final void invoke(Object obj) { - ((g1.a) obj).i(this.a.j); + ((y1.c) obj).A(this.a.D); } } diff --git a/app/src/main/java/c/i/a/c/j0.java b/app/src/main/java/c/i/a/c/j0.java index f6b247b21c..88c57394b0 100644 --- a/app/src/main/java/c/i/a/c/j0.java +++ b/app/src/main/java/c/i/a/c/j0.java @@ -1,91 +1,14 @@ package c.i.a.c; -import c.i.a.c.r1; -/* compiled from: DefaultControlDispatcher */ -public class j0 implements i0 { - public final r1.c a; - public long b; +import android.os.Bundle; +import c.i.a.c.o1; +import c.i.a.c.w0; +/* compiled from: lambda */ +public final /* synthetic */ class j0 implements w0.a { + public static final /* synthetic */ j0 a = new j0(); - /* renamed from: c reason: collision with root package name */ - public long f978c; - - public j0() { - this.f978c = 15000; - this.b = 5000; - this.a = new r1.c(); - } - - public j0(long j, long j2) { - this.f978c = j; - this.b = j2; - this.a = new r1.c(); - } - - public static void g(g1 g1Var, long j) { - long J = g1Var.J() + j; - long C = g1Var.C(); - if (C != -9223372036854775807L) { - J = Math.min(J, C); - } - g1Var.f(g1Var.o(), Math.max(J, 0L)); - } - - public boolean a(g1 g1Var) { - if (!e() || !g1Var.k()) { - return true; - } - g(g1Var, this.f978c); - return true; - } - - public boolean b(g1 g1Var) { - r1 D = g1Var.D(); - if (D.q() || g1Var.d()) { - return true; - } - int o = g1Var.o(); - D.n(o, this.a); - int y2 = g1Var.y(); - if (y2 != -1) { - g1Var.f(y2, -9223372036854775807L); - return true; - } else if (!this.a.c() || !this.a.k) { - return true; - } else { - g1Var.f(o, -9223372036854775807L); - return true; - } - } - - public boolean c(g1 g1Var) { - r1 D = g1Var.D(); - if (!D.q() && !g1Var.d()) { - int o = g1Var.o(); - D.n(o, this.a); - int t = g1Var.t(); - boolean z2 = this.a.c() && !this.a.j; - if (t != -1 && (g1Var.J() <= 3000 || z2)) { - g1Var.f(t, -9223372036854775807L); - } else if (!z2) { - g1Var.f(o, 0); - } - } - return true; - } - - public boolean d(g1 g1Var) { - if (!f() || !g1Var.k()) { - return true; - } - g(g1Var, -this.b); - return true; - } - - public boolean e() { - return this.f978c > 0; - } - - public boolean f() { - return this.b > 0; + @Override // c.i.a.c.w0.a + public final w0 a(Bundle bundle) { + return new o1.g(bundle.getLong(o1.g.a(0), -9223372036854775807L), bundle.getLong(o1.g.a(1), -9223372036854775807L), bundle.getLong(o1.g.a(2), -9223372036854775807L), bundle.getFloat(o1.g.a(3), -3.4028235E38f), bundle.getFloat(o1.g.a(4), -3.4028235E38f)); } } diff --git a/app/src/main/java/c/i/a/c/j1.java b/app/src/main/java/c/i/a/c/j1.java index 211f8945c3..bc257535ce 100644 --- a/app/src/main/java/c/i/a/c/j1.java +++ b/app/src/main/java/c/i/a/c/j1.java @@ -1,8 +1,326 @@ package c.i.a.c; -import com.google.android.exoplayer2.ExoPlaybackException; -/* compiled from: Renderer */ -public final /* synthetic */ class j1 { - public static void a(k1 k1Var, float f, float f2) throws ExoPlaybackException { +import androidx.annotation.Nullable; +import androidx.recyclerview.widget.RecyclerView; +import c.i.a.c.f3.e0; +import c.i.a.c.g3.n; +import c.i.a.c.w0; +import com.google.android.exoplayer2.drm.DrmInitData; +import com.google.android.exoplayer2.metadata.Metadata; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +/* compiled from: Format */ +public final class j1 implements w0 { + public static final j1 i = new b().a(); + public static final w0.a j = h0.a; + public final int A; + public final int B; + public final float C; + public final int D; + public final float E; + @Nullable + public final byte[] F; + public final int G; + @Nullable + public final n H; + public final int I; + public final int J; + public final int K; + public final int L; + public final int M; + public final int N; + public final int O; + public int P; + @Nullable + public final String k; + @Nullable + public final String l; + @Nullable + public final String m; + public final int n; + public final int o; + public final int p; + public final int q; + public final int r; + @Nullable + + /* renamed from: s reason: collision with root package name */ + public final String f819s; + @Nullable + public final Metadata t; + @Nullable + public final String u; + @Nullable + public final String v; + public final int w; + + /* renamed from: x reason: collision with root package name */ + public final List f820x; + @Nullable + + /* renamed from: y reason: collision with root package name */ + public final DrmInitData f821y; + + /* renamed from: z reason: collision with root package name */ + public final long f822z; + + /* compiled from: Format */ + public static final class b { + public int A; + public int B; + public int C; + public int D; + @Nullable + public String a; + @Nullable + public String b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public String f823c; + public int d; + public int e; + public int f; + public int g; + @Nullable + public String h; + @Nullable + public Metadata i; + @Nullable + public String j; + @Nullable + public String k; + public int l; + @Nullable + public List m; + @Nullable + public DrmInitData n; + public long o; + public int p; + public int q; + public float r; + + /* renamed from: s reason: collision with root package name */ + public int f824s; + public float t; + @Nullable + public byte[] u; + public int v; + @Nullable + public n w; + + /* renamed from: x reason: collision with root package name */ + public int f825x; + + /* renamed from: y reason: collision with root package name */ + public int f826y; + + /* renamed from: z reason: collision with root package name */ + public int f827z; + + public b() { + this.f = -1; + this.g = -1; + this.l = -1; + this.o = RecyclerView.FOREVER_NS; + this.p = -1; + this.q = -1; + this.r = -1.0f; + this.t = 1.0f; + this.v = -1; + this.f825x = -1; + this.f826y = -1; + this.f827z = -1; + this.C = -1; + this.D = 0; + } + + public b(j1 j1Var, a aVar) { + this.a = j1Var.k; + this.b = j1Var.l; + this.f823c = j1Var.m; + this.d = j1Var.n; + this.e = j1Var.o; + this.f = j1Var.p; + this.g = j1Var.q; + this.h = j1Var.f819s; + this.i = j1Var.t; + this.j = j1Var.u; + this.k = j1Var.v; + this.l = j1Var.w; + this.m = j1Var.f820x; + this.n = j1Var.f821y; + this.o = j1Var.f822z; + this.p = j1Var.A; + this.q = j1Var.B; + this.r = j1Var.C; + this.f824s = j1Var.D; + this.t = j1Var.E; + this.u = j1Var.F; + this.v = j1Var.G; + this.w = j1Var.H; + this.f825x = j1Var.I; + this.f826y = j1Var.J; + this.f827z = j1Var.K; + this.A = j1Var.L; + this.B = j1Var.M; + this.C = j1Var.N; + this.D = j1Var.O; + } + + public j1 a() { + return new j1(this, null); + } + + public b b(int i) { + this.a = Integer.toString(i); + return this; + } + } + + public j1(b bVar, a aVar) { + this.k = bVar.a; + this.l = bVar.b; + this.m = e0.C(bVar.f823c); + this.n = bVar.d; + this.o = bVar.e; + int i2 = bVar.f; + this.p = i2; + int i3 = bVar.g; + this.q = i3; + this.r = i3 != -1 ? i3 : i2; + this.f819s = bVar.h; + this.t = bVar.i; + this.u = bVar.j; + this.v = bVar.k; + this.w = bVar.l; + List list = bVar.m; + this.f820x = list == null ? Collections.emptyList() : list; + DrmInitData drmInitData = bVar.n; + this.f821y = drmInitData; + this.f822z = bVar.o; + this.A = bVar.p; + this.B = bVar.q; + this.C = bVar.r; + int i4 = bVar.f824s; + int i5 = 0; + this.D = i4 == -1 ? 0 : i4; + float f = bVar.t; + this.E = f == -1.0f ? 1.0f : f; + this.F = bVar.u; + this.G = bVar.v; + this.H = bVar.w; + this.I = bVar.f825x; + this.J = bVar.f826y; + this.K = bVar.f827z; + int i6 = bVar.A; + this.L = i6 == -1 ? 0 : i6; + int i7 = bVar.B; + this.M = i7 != -1 ? i7 : i5; + this.N = bVar.C; + int i8 = bVar.D; + if (i8 != 0 || drmInitData == null) { + this.O = i8; + } else { + this.O = 1; + } + } + + @Nullable + public static T b(@Nullable T t, @Nullable T t2) { + return t != null ? t : t2; + } + + public static String d(int i2) { + return Integer.toString(i2, 36); + } + + public b a() { + return new b(this, null); + } + + public boolean c(j1 j1Var) { + if (this.f820x.size() != j1Var.f820x.size()) { + return false; + } + for (int i2 = 0; i2 < this.f820x.size(); i2++) { + if (!Arrays.equals(this.f820x.get(i2), j1Var.f820x.get(i2))) { + return false; + } + } + return true; + } + + public boolean equals(@Nullable Object obj) { + int i2; + if (this == obj) { + return true; + } + if (obj == null || j1.class != obj.getClass()) { + return false; + } + j1 j1Var = (j1) obj; + int i3 = this.P; + return (i3 == 0 || (i2 = j1Var.P) == 0 || i3 == i2) && this.n == j1Var.n && this.o == j1Var.o && this.p == j1Var.p && this.q == j1Var.q && this.w == j1Var.w && this.f822z == j1Var.f822z && this.A == j1Var.A && this.B == j1Var.B && this.D == j1Var.D && this.G == j1Var.G && this.I == j1Var.I && this.J == j1Var.J && this.K == j1Var.K && this.L == j1Var.L && this.M == j1Var.M && this.N == j1Var.N && this.O == j1Var.O && Float.compare(this.C, j1Var.C) == 0 && Float.compare(this.E, j1Var.E) == 0 && e0.a(this.k, j1Var.k) && e0.a(this.l, j1Var.l) && e0.a(this.f819s, j1Var.f819s) && e0.a(this.u, j1Var.u) && e0.a(this.v, j1Var.v) && e0.a(this.m, j1Var.m) && Arrays.equals(this.F, j1Var.F) && e0.a(this.t, j1Var.t) && e0.a(this.H, j1Var.H) && e0.a(this.f821y, j1Var.f821y) && c(j1Var); + } + + public int hashCode() { + if (this.P == 0) { + String str = this.k; + int i2 = 0; + int hashCode = (527 + (str == null ? 0 : str.hashCode())) * 31; + String str2 = this.l; + int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31; + String str3 = this.m; + int hashCode3 = (((((((((hashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31) + this.n) * 31) + this.o) * 31) + this.p) * 31) + this.q) * 31; + String str4 = this.f819s; + int hashCode4 = (hashCode3 + (str4 == null ? 0 : str4.hashCode())) * 31; + Metadata metadata = this.t; + int hashCode5 = (hashCode4 + (metadata == null ? 0 : metadata.hashCode())) * 31; + String str5 = this.u; + int hashCode6 = (hashCode5 + (str5 == null ? 0 : str5.hashCode())) * 31; + String str6 = this.v; + if (str6 != null) { + i2 = str6.hashCode(); + } + this.P = ((((((((((((((((Float.floatToIntBits(this.E) + ((((Float.floatToIntBits(this.C) + ((((((((((hashCode6 + i2) * 31) + this.w) * 31) + ((int) this.f822z)) * 31) + this.A) * 31) + this.B) * 31)) * 31) + this.D) * 31)) * 31) + this.G) * 31) + this.I) * 31) + this.J) * 31) + this.K) * 31) + this.L) * 31) + this.M) * 31) + this.N) * 31) + this.O; + } + return this.P; + } + + public String toString() { + String str = this.k; + String str2 = this.l; + String str3 = this.u; + String str4 = this.v; + String str5 = this.f819s; + int i2 = this.r; + String str6 = this.m; + int i3 = this.A; + int i4 = this.B; + float f = this.C; + int i5 = this.I; + int i6 = this.J; + StringBuilder Q = c.d.b.a.a.Q(c.d.b.a.a.b(str6, c.d.b.a.a.b(str5, c.d.b.a.a.b(str4, c.d.b.a.a.b(str3, c.d.b.a.a.b(str2, c.d.b.a.a.b(str, 104)))))), "Format(", str, ", ", str2); + c.d.b.a.a.o0(Q, ", ", str3, ", ", str4); + Q.append(", "); + Q.append(str5); + Q.append(", "); + Q.append(i2); + Q.append(", "); + Q.append(str6); + Q.append(", ["); + Q.append(i3); + Q.append(", "); + Q.append(i4); + Q.append(", "); + Q.append(f); + Q.append("], ["); + Q.append(i5); + Q.append(", "); + Q.append(i6); + Q.append("])"); + return Q.toString(); } } diff --git a/app/src/main/java/c/i/a/c/j2.java b/app/src/main/java/c/i/a/c/j2.java new file mode 100644 index 0000000000..c7e17de723 --- /dev/null +++ b/app/src/main/java/c/i/a/c/j2.java @@ -0,0 +1,53 @@ +package c.i.a.c; + +import androidx.annotation.Nullable; +import androidx.recyclerview.widget.RecyclerView; +import c.c.a.a0.d; +/* compiled from: SeekParameters */ +public final class j2 { + public static final j2 a; + public static final j2 b; + + /* renamed from: c reason: collision with root package name */ + public final long f828c; + public final long d; + + static { + j2 j2Var = new j2(0, 0); + a = j2Var; + boolean z2 = true; + d.j(RecyclerView.FOREVER_NS >= 0); + d.j(RecyclerView.FOREVER_NS >= 0); + d.j(RecyclerView.FOREVER_NS >= 0); + d.j(0 >= 0); + d.j(0 >= 0); + if (RecyclerView.FOREVER_NS < 0) { + z2 = false; + } + d.j(z2); + b = j2Var; + } + + public j2(long j, long j2) { + boolean z2 = true; + d.j(j >= 0); + d.j(j2 < 0 ? false : z2); + this.f828c = j; + this.d = j2; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || j2.class != obj.getClass()) { + return false; + } + j2 j2Var = (j2) obj; + return this.f828c == j2Var.f828c && this.d == j2Var.d; + } + + public int hashCode() { + return (((int) this.f828c) * 31) + ((int) this.d); + } +} diff --git a/app/src/main/java/c/i/a/c/j2/a.java b/app/src/main/java/c/i/a/c/j2/a.java deleted file mode 100644 index a1af83a982..0000000000 --- a/app/src/main/java/c/i/a/c/j2/a.java +++ /dev/null @@ -1,28 +0,0 @@ -package c.i.a.c.j2; - -import c.i.a.c.i2.f0; -import c.i.a.c.j2.w; -import c.i.a.c.x1.d; -import java.util.Objects; -/* compiled from: lambda */ -public final /* synthetic */ class a implements Runnable { - public final /* synthetic */ w.a i; - public final /* synthetic */ d j; - - public /* synthetic */ a(w.a aVar, d dVar) { - this.i = aVar; - this.j = dVar; - } - - @Override // java.lang.Runnable - public final void run() { - w.a aVar = this.i; - d dVar = this.j; - Objects.requireNonNull(aVar); - synchronized (dVar) { - } - w wVar = aVar.b; - int i = f0.a; - wVar.P(dVar); - } -} diff --git a/app/src/main/java/c/i/a/c/j2/b.java b/app/src/main/java/c/i/a/c/j2/b.java deleted file mode 100644 index 2648485125..0000000000 --- a/app/src/main/java/c/i/a/c/j2/b.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.j2; - -import c.i.a.c.i2.f0; -import c.i.a.c.j2.w; -/* compiled from: lambda */ -public final /* synthetic */ class b implements Runnable { - public final /* synthetic */ w.a i; - public final /* synthetic */ String j; - - public /* synthetic */ b(w.a aVar, String str) { - this.i = aVar; - this.j = str; - } - - @Override // java.lang.Runnable - public final void run() { - w.a aVar = this.i; - String str = this.j; - w wVar = aVar.b; - int i = f0.a; - wVar.g(str); - } -} diff --git a/app/src/main/java/c/i/a/c/j2/c.java b/app/src/main/java/c/i/a/c/j2/c.java deleted file mode 100644 index 8bd2a4c7aa..0000000000 --- a/app/src/main/java/c/i/a/c/j2/c.java +++ /dev/null @@ -1,24 +0,0 @@ -package c.i.a.c.j2; - -import c.i.a.c.i2.f0; -import c.i.a.c.j2.w; -import c.i.a.c.x1.d; -/* compiled from: lambda */ -public final /* synthetic */ class c implements Runnable { - public final /* synthetic */ w.a i; - public final /* synthetic */ d j; - - public /* synthetic */ c(w.a aVar, d dVar) { - this.i = aVar; - this.j = dVar; - } - - @Override // java.lang.Runnable - public final void run() { - w.a aVar = this.i; - d dVar = this.j; - w wVar = aVar.b; - int i = f0.a; - wVar.I(dVar); - } -} diff --git a/app/src/main/java/c/i/a/c/j2/d.java b/app/src/main/java/c/i/a/c/j2/d.java deleted file mode 100644 index 23b82ffc88..0000000000 --- a/app/src/main/java/c/i/a/c/j2/d.java +++ /dev/null @@ -1,24 +0,0 @@ -package c.i.a.c.j2; - -import android.view.Surface; -import c.i.a.c.i2.f0; -import c.i.a.c.j2.w; -/* compiled from: lambda */ -public final /* synthetic */ class d implements Runnable { - public final /* synthetic */ w.a i; - public final /* synthetic */ Surface j; - - public /* synthetic */ d(w.a aVar, Surface surface) { - this.i = aVar; - this.j = surface; - } - - @Override // java.lang.Runnable - public final void run() { - w.a aVar = this.i; - Surface surface = this.j; - w wVar = aVar.b; - int i = f0.a; - wVar.s(surface); - } -} diff --git a/app/src/main/java/c/i/a/c/j2/e.java b/app/src/main/java/c/i/a/c/j2/e.java deleted file mode 100644 index 35edfcabb5..0000000000 --- a/app/src/main/java/c/i/a/c/j2/e.java +++ /dev/null @@ -1,26 +0,0 @@ -package c.i.a.c.j2; - -import c.i.a.c.i2.f0; -import c.i.a.c.j2.w; -/* compiled from: lambda */ -public final /* synthetic */ class e implements Runnable { - public final /* synthetic */ w.a i; - public final /* synthetic */ int j; - public final /* synthetic */ long k; - - public /* synthetic */ e(w.a aVar, int i, long j) { - this.i = aVar; - this.j = i; - this.k = j; - } - - @Override // java.lang.Runnable - public final void run() { - w.a aVar = this.i; - int i = this.j; - long j = this.k; - w wVar = aVar.b; - int i2 = f0.a; - wVar.x(i, j); - } -} diff --git a/app/src/main/java/c/i/a/c/j2/f.java b/app/src/main/java/c/i/a/c/j2/f.java deleted file mode 100644 index 25e8728bcb..0000000000 --- a/app/src/main/java/c/i/a/c/j2/f.java +++ /dev/null @@ -1,29 +0,0 @@ -package c.i.a.c.j2; - -import c.i.a.c.i2.f0; -import c.i.a.c.j2.w; -/* compiled from: lambda */ -public final /* synthetic */ class f implements Runnable { - public final /* synthetic */ w.a i; - public final /* synthetic */ String j; - public final /* synthetic */ long k; - public final /* synthetic */ long l; - - public /* synthetic */ f(w.a aVar, String str, long j, long j2) { - this.i = aVar; - this.j = str; - this.k = j; - this.l = j2; - } - - @Override // java.lang.Runnable - public final void run() { - w.a aVar = this.i; - String str = this.j; - long j = this.k; - long j2 = this.l; - w wVar = aVar.b; - int i = f0.a; - wVar.j(str, j, j2); - } -} diff --git a/app/src/main/java/c/i/a/c/j2/g.java b/app/src/main/java/c/i/a/c/j2/g.java deleted file mode 100644 index d2a916bcd0..0000000000 --- a/app/src/main/java/c/i/a/c/j2/g.java +++ /dev/null @@ -1,28 +0,0 @@ -package c.i.a.c.j2; - -import c.i.a.c.i2.f0; -import c.i.a.c.j2.w; -import c.i.a.c.x1.e; -import com.google.android.exoplayer2.Format; -/* compiled from: lambda */ -public final /* synthetic */ class g implements Runnable { - public final /* synthetic */ w.a i; - public final /* synthetic */ Format j; - public final /* synthetic */ e k; - - public /* synthetic */ g(w.a aVar, Format format, e eVar) { - this.i = aVar; - this.j = format; - this.k = eVar; - } - - @Override // java.lang.Runnable - public final void run() { - w.a aVar = this.i; - Format format = this.j; - e eVar = this.k; - w wVar = aVar.b; - int i = f0.a; - wVar.J(format, eVar); - } -} diff --git a/app/src/main/java/c/i/a/c/j2/h.java b/app/src/main/java/c/i/a/c/j2/h.java deleted file mode 100644 index 6e3e5a8902..0000000000 --- a/app/src/main/java/c/i/a/c/j2/h.java +++ /dev/null @@ -1,32 +0,0 @@ -package c.i.a.c.j2; - -import c.i.a.c.i2.f0; -import c.i.a.c.j2.w; -/* compiled from: lambda */ -public final /* synthetic */ class h implements Runnable { - public final /* synthetic */ w.a i; - public final /* synthetic */ int j; - public final /* synthetic */ int k; - public final /* synthetic */ int l; - public final /* synthetic */ float m; - - public /* synthetic */ h(w.a aVar, int i, int i2, int i3, float f) { - this.i = aVar; - this.j = i; - this.k = i2; - this.l = i3; - this.m = f; - } - - @Override // java.lang.Runnable - public final void run() { - w.a aVar = this.i; - int i = this.j; - int i2 = this.k; - int i3 = this.l; - float f = this.m; - w wVar = aVar.b; - int i4 = f0.a; - wVar.b(i, i2, i3, f); - } -} diff --git a/app/src/main/java/c/i/a/c/j2/i.java b/app/src/main/java/c/i/a/c/j2/i.java deleted file mode 100644 index 36e6419e74..0000000000 --- a/app/src/main/java/c/i/a/c/j2/i.java +++ /dev/null @@ -1,26 +0,0 @@ -package c.i.a.c.j2; - -import c.i.a.c.i2.f0; -import c.i.a.c.j2.w; -/* compiled from: lambda */ -public final /* synthetic */ class i implements Runnable { - public final /* synthetic */ w.a i; - public final /* synthetic */ long j; - public final /* synthetic */ int k; - - public /* synthetic */ i(w.a aVar, long j, int i) { - this.i = aVar; - this.j = j; - this.k = i; - } - - @Override // java.lang.Runnable - public final void run() { - w.a aVar = this.i; - long j = this.j; - int i = this.k; - w wVar = aVar.b; - int i2 = f0.a; - wVar.V(j, i); - } -} diff --git a/app/src/main/java/c/i/a/c/j2/j.java b/app/src/main/java/c/i/a/c/j2/j.java deleted file mode 100644 index 1a45967a7d..0000000000 --- a/app/src/main/java/c/i/a/c/j2/j.java +++ /dev/null @@ -1,83 +0,0 @@ -package c.i.a.c.j2; - -import androidx.annotation.Nullable; -import c.i.a.c.i2.h; -import c.i.a.c.i2.u; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.ParserException; -import java.util.ArrayList; -import java.util.List; -/* compiled from: AvcConfig */ -public final class j { - public final List a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f979c; - public final int d; - public final float e; - @Nullable - public final String f; - - public j(List list, int i, int i2, int i3, float f, @Nullable String str) { - this.a = list; - this.b = i; - this.f979c = i2; - this.d = i3; - this.e = f; - this.f = str; - } - - public static byte[] a(w wVar) { - int x2 = wVar.x(); - int i = wVar.b; - wVar.E(x2); - byte[] bArr = wVar.a; - byte[] bArr2 = h.a; - byte[] bArr3 = new byte[(bArr2.length + x2)]; - System.arraycopy(bArr2, 0, bArr3, 0, bArr2.length); - System.arraycopy(bArr, i, bArr3, bArr2.length, x2); - return bArr3; - } - - public static j b(w wVar) throws ParserException { - String str; - float f; - int i; - int i2; - try { - wVar.E(4); - int s = (wVar.s() & 3) + 1; - if (s != 3) { - ArrayList arrayList = new ArrayList(); - int s2 = wVar.s() & 31; - for (int i3 = 0; i3 < s2; i3++) { - arrayList.add(a(wVar)); - } - int s3 = wVar.s(); - for (int i4 = 0; i4 < s3; i4++) { - arrayList.add(a(wVar)); - } - if (s2 > 0) { - u.b d = u.d((byte[]) arrayList.get(0), s, ((byte[]) arrayList.get(0)).length); - int i5 = d.e; - int i6 = d.f; - float f2 = d.g; - str = h.a(d.a, d.b, d.f972c); - i2 = i5; - i = i6; - f = f2; - } else { - str = null; - i2 = -1; - i = -1; - f = 1.0f; - } - return new j(arrayList, s, i2, i, f, str); - } - throw new IllegalStateException(); - } catch (ArrayIndexOutOfBoundsException e) { - throw new ParserException("Error parsing AVC config", e); - } - } -} diff --git a/app/src/main/java/c/i/a/c/j2/k.java b/app/src/main/java/c/i/a/c/j2/k.java deleted file mode 100644 index ae6bfd396e..0000000000 --- a/app/src/main/java/c/i/a/c/j2/k.java +++ /dev/null @@ -1,41 +0,0 @@ -package c.i.a.c.j2; - -import androidx.annotation.Nullable; -import c.i.a.c.i2.w; -/* compiled from: DolbyVisionConfig */ -public final class k { - public final String a; - - public k(int i, int i2, String str) { - this.a = str; - } - - @Nullable - public static k a(w wVar) { - String str; - wVar.E(2); - int s = wVar.s(); - int i = s >> 1; - int s2 = ((wVar.s() >> 3) & 31) | ((s & 1) << 5); - if (i == 4 || i == 5 || i == 7) { - str = "dvhe"; - } else if (i == 8) { - str = "hev1"; - } else if (i != 9) { - return null; - } else { - str = "avc3"; - } - StringBuilder sb = new StringBuilder(); - sb.append(str); - String str2 = ".0"; - sb.append(str2); - sb.append(i); - if (s2 >= 10) { - str2 = "."; - } - sb.append(str2); - sb.append(s2); - return new k(i, s2, sb.toString()); - } -} diff --git a/app/src/main/java/c/i/a/c/j2/l.java b/app/src/main/java/c/i/a/c/j2/l.java deleted file mode 100644 index 794fa59ae8..0000000000 --- a/app/src/main/java/c/i/a/c/j2/l.java +++ /dev/null @@ -1,75 +0,0 @@ -package c.i.a.c.j2; - -import java.util.Arrays; -/* compiled from: FixedFrameRateEstimator */ -public final class l { - public a a = new a(); - public a b = new a(); - - /* renamed from: c reason: collision with root package name */ - public boolean f980c; - public long d = -9223372036854775807L; - public int e; - - /* compiled from: FixedFrameRateEstimator */ - public static final class a { - public long a; - public long b; - - /* renamed from: c reason: collision with root package name */ - public long f981c; - public long d; - public long e; - public long f; - public final boolean[] g = new boolean[15]; - public int h; - - public boolean a() { - return this.d > 15 && this.h == 0; - } - - public void b(long j) { - long j2 = this.d; - if (j2 == 0) { - this.a = j; - } else if (j2 == 1) { - long j3 = j - this.a; - this.b = j3; - this.f = j3; - this.e = 1; - } else { - long j4 = j - this.f981c; - int i = (int) (j2 % 15); - if (Math.abs(j4 - this.b) <= 1000000) { - this.e++; - this.f += j4; - boolean[] zArr = this.g; - if (zArr[i]) { - zArr[i] = false; - this.h--; - } - } else { - boolean[] zArr2 = this.g; - if (!zArr2[i]) { - zArr2[i] = true; - this.h++; - } - } - } - this.d++; - this.f981c = j; - } - - public void c() { - this.d = 0; - this.e = 0; - this.f = 0; - this.h = 0; - Arrays.fill(this.g, false); - } - } - - public boolean a() { - return this.a.a(); - } -} diff --git a/app/src/main/java/c/i/a/c/j2/m.java b/app/src/main/java/c/i/a/c/j2/m.java deleted file mode 100644 index 9c74b091dd..0000000000 --- a/app/src/main/java/c/i/a/c/j2/m.java +++ /dev/null @@ -1,68 +0,0 @@ -package c.i.a.c.j2; - -import androidx.annotation.Nullable; -import c.i.a.c.i2.h; -import c.i.a.c.i2.u; -import c.i.a.c.i2.w; -import c.i.a.c.i2.x; -import com.google.android.exoplayer2.ParserException; -import java.util.Collections; -import java.util.List; -/* compiled from: HevcConfig */ -public final class m { - @Nullable - public final List a; - public final int b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public final String f982c; - - public m(@Nullable List list, int i, @Nullable String str) { - this.a = list; - this.b = i; - this.f982c = str; - } - - public static m a(w wVar) throws ParserException { - try { - wVar.E(21); - int s = wVar.s() & 3; - int s2 = wVar.s(); - int i = wVar.b; - int i2 = 0; - for (int i3 = 0; i3 < s2; i3++) { - wVar.E(1); - int x2 = wVar.x(); - for (int i4 = 0; i4 < x2; i4++) { - int x3 = wVar.x(); - i2 += x3 + 4; - wVar.E(x3); - } - } - wVar.D(i); - byte[] bArr = new byte[i2]; - String str = null; - int i5 = 0; - for (int i6 = 0; i6 < s2; i6++) { - int s3 = wVar.s() & 127; - int x4 = wVar.x(); - for (int i7 = 0; i7 < x4; i7++) { - int x5 = wVar.x(); - byte[] bArr2 = u.a; - System.arraycopy(bArr2, 0, bArr, i5, bArr2.length); - int length = i5 + bArr2.length; - System.arraycopy(wVar.a, wVar.b, bArr, length, x5); - if (s3 == 33 && i7 == 0) { - str = h.b(new x(bArr, length, length + x5)); - } - i5 = length + x5; - wVar.E(x5); - } - } - return new m(i2 == 0 ? null : Collections.singletonList(bArr), s + 1, str); - } catch (ArrayIndexOutOfBoundsException e) { - throw new ParserException("Error parsing HEVC config", e); - } - } -} diff --git a/app/src/main/java/c/i/a/c/j2/n.java b/app/src/main/java/c/i/a/c/j2/n.java deleted file mode 100644 index 58af17a915..0000000000 --- a/app/src/main/java/c/i/a/c/j2/n.java +++ /dev/null @@ -1,2624 +0,0 @@ -package c.i.a.c.j2; - -import android.annotation.TargetApi; -import android.content.Context; -import android.graphics.Point; -import android.media.MediaCodecInfo; -import android.media.MediaCrypto; -import android.media.MediaFormat; -import android.os.Bundle; -import android.os.Handler; -import android.os.Looper; -import android.os.Message; -import android.os.SystemClock; -import android.util.Log; -import android.util.Pair; -import android.view.Surface; -import androidx.annotation.CallSuper; -import androidx.annotation.Nullable; -import androidx.annotation.RequiresApi; -import androidx.recyclerview.widget.RecyclerView; -import c.c.a.a0.d; -import c.i.a.c.b2.g; -import c.i.a.c.b2.r; -import c.i.a.c.b2.s; -import c.i.a.c.b2.t; -import c.i.a.c.i2.f0; -import c.i.a.c.j2.l; -import c.i.a.c.j2.t; -import c.i.a.c.j2.w; -import c.i.a.c.m1; -import c.i.a.c.s0; -import c.i.a.c.x1.e; -import com.discord.widgets.chat.input.MentionUtilsKt; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.decoder.DecoderInputBuffer; -import com.google.android.exoplayer2.mediacodec.MediaCodecDecoderException; -import com.google.android.exoplayer2.mediacodec.MediaCodecRenderer; -import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; -import com.google.android.exoplayer2.video.ColorInfo; -import com.google.android.exoplayer2.video.DummySurface; -import com.google.android.exoplayer2.video.MediaCodecVideoDecoderException; -import java.nio.ByteBuffer; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Objects; -import java.util.regex.Pattern; -/* compiled from: MediaCodecVideoRenderer */ -public class n extends MediaCodecRenderer { - public static final int[] P0 = {1920, 1600, 1440, 1280, 960, 854, 640, 540, 480}; - public static boolean Q0; - public static boolean R0; - public boolean A1; - public int B1 = 0; - @Nullable - public b C1; - @Nullable - public s D1; - public final Context S0; - public final t T0; - public final w.a U0; - public final long V0; - public final int W0; - public final boolean X0 = "NVIDIA".equals(f0.f965c); - public a Y0; - public boolean Z0; - public boolean a1; - @Nullable - public Surface b1; - @Nullable - public Surface c1; - public boolean d1; - public int e1 = 1; - public boolean f1; - public boolean g1; - public boolean h1; - public long i1; - public long j1 = -9223372036854775807L; - public long k1; - public int l1; - public int m1; - public int n1; - public long o1; - public long p1; - public long q1; - public int r1; - public int s1 = -1; - public int t1 = -1; - public int u1; - public float v1 = -1.0f; - public int w1; - public int x1; - public int y1; - public float z1; - - /* compiled from: MediaCodecVideoRenderer */ - public static final class a { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f983c; - - public a(int i, int i2, int i3) { - this.a = i; - this.b = i2; - this.f983c = i3; - } - } - - /* compiled from: MediaCodecVideoRenderer */ - @RequiresApi(23) - public final class b implements r.b, Handler.Callback { - public final Handler i; - - public b(r rVar) { - int i = f0.a; - Looper myLooper = Looper.myLooper(); - d.H(myLooper); - Handler handler = new Handler(myLooper, this); - this.i = handler; - rVar.e(this, handler); - } - - public final void a(long j) { - n nVar = n.this; - if (this == nVar.C1) { - if (j == RecyclerView.FOREVER_NS) { - nVar.G0 = true; - return; - } - try { - nVar.P0(j); - } catch (ExoPlaybackException e) { - n.this.K0 = e; - } - } - } - - public void b(r rVar, long j, long j2) { - if (f0.a < 30) { - this.i.sendMessageAtFrontOfQueue(Message.obtain(this.i, 0, (int) (j >> 32), (int) j)); - return; - } - a(j); - } - - @Override // android.os.Handler.Callback - public boolean handleMessage(Message message) { - if (message.what != 0) { - return false; - } - a((f0.L(message.arg1) << 32) | f0.L(message.arg2)); - return true; - } - } - - public n(Context context, t tVar, long j, boolean z2, @Nullable Handler handler, @Nullable w wVar, int i) { - super(2, r.a.a, tVar, z2, 30.0f); - this.V0 = j; - this.W0 = i; - Context applicationContext = context.getApplicationContext(); - this.S0 = applicationContext; - this.T0 = new t(applicationContext); - this.U0 = new w.a(handler, wVar); - D0(); - } - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - /* JADX WARNING: Code restructure failed: missing block: B:438:0x07cf, code lost: - if (r0.equals("NX573J") == false) goto L_0x008c; - */ - /* JADX WARNING: Code restructure failed: missing block: B:462:0x0831, code lost: - if (r0.equals("AFTN") == false) goto L_0x0829; - */ - public static boolean F0() { - char c2; - int i = f0.a; - char c3 = 6; - char c4 = 2; - if (i <= 28) { - String str = f0.b; - str.hashCode(); - switch (str.hashCode()) { - case -1339091551: - if (str.equals("dangal")) { - c2 = 0; - break; - } - c2 = 65535; - break; - case -1220081023: - if (str.equals("dangalFHD")) { - c2 = 1; - break; - } - c2 = 65535; - break; - case -1220066608: - if (str.equals("dangalUHD")) { - c2 = 2; - break; - } - c2 = 65535; - break; - case -1012436106: - if (str.equals("oneday")) { - c2 = 3; - break; - } - c2 = 65535; - break; - case -64886864: - if (str.equals("magnolia")) { - c2 = 4; - break; - } - c2 = 65535; - break; - case 3415681: - if (str.equals("once")) { - c2 = 5; - break; - } - c2 = 65535; - break; - case 825323514: - if (str.equals("machuca")) { - c2 = 6; - break; - } - c2 = 65535; - break; - default: - c2 = 65535; - break; - } - switch (c2) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - return true; - } - } - if (i <= 27 && "HWEML".equals(f0.b)) { - return true; - } - if (i <= 26) { - String str2 = f0.b; - str2.hashCode(); - switch (str2.hashCode()) { - case -2144781245: - if (str2.equals("GIONEE_SWW1609")) { - c3 = 0; - break; - } - c3 = 65535; - break; - case -2144781185: - if (str2.equals("GIONEE_SWW1627")) { - c3 = 1; - break; - } - c3 = 65535; - break; - case -2144781160: - if (str2.equals("GIONEE_SWW1631")) { - c3 = 2; - break; - } - c3 = 65535; - break; - case -2097309513: - if (str2.equals("K50a40")) { - c3 = 3; - break; - } - c3 = 65535; - break; - case -2022874474: - if (str2.equals("CP8676_I02")) { - c3 = 4; - break; - } - c3 = 65535; - break; - case -1978993182: - if (str2.equals("NX541J")) { - c3 = 5; - break; - } - c3 = 65535; - break; - case -1978990237: - break; - case -1936688988: - if (str2.equals("PGN528")) { - c3 = 7; - break; - } - c3 = 65535; - break; - case -1936688066: - if (str2.equals("PGN610")) { - c3 = '\b'; - break; - } - c3 = 65535; - break; - case -1936688065: - if (str2.equals("PGN611")) { - c3 = '\t'; - break; - } - c3 = 65535; - break; - case -1931988508: - if (str2.equals("AquaPowerM")) { - c3 = '\n'; - break; - } - c3 = 65535; - break; - case -1885099851: - if (str2.equals("RAIJIN")) { - c3 = 11; - break; - } - c3 = 65535; - break; - case -1696512866: - if (str2.equals("XT1663")) { - c3 = '\f'; - break; - } - c3 = 65535; - break; - case -1680025915: - if (str2.equals("ComioS1")) { - c3 = '\r'; - break; - } - c3 = 65535; - break; - case -1615810839: - if (str2.equals("Phantom6")) { - c3 = 14; - break; - } - c3 = 65535; - break; - case -1600724499: - if (str2.equals("pacificrim")) { - c3 = 15; - break; - } - c3 = 65535; - break; - case -1554255044: - if (str2.equals("vernee_M5")) { - c3 = 16; - break; - } - c3 = 65535; - break; - case -1481772737: - if (str2.equals("panell_dl")) { - c3 = 17; - break; - } - c3 = 65535; - break; - case -1481772730: - if (str2.equals("panell_ds")) { - c3 = 18; - break; - } - c3 = 65535; - break; - case -1481772729: - if (str2.equals("panell_dt")) { - c3 = 19; - break; - } - c3 = 65535; - break; - case -1320080169: - if (str2.equals("GiONEE_GBL7319")) { - c3 = 20; - break; - } - c3 = 65535; - break; - case -1217592143: - if (str2.equals("BRAVIA_ATV2")) { - c3 = 21; - break; - } - c3 = 65535; - break; - case -1180384755: - if (str2.equals("iris60")) { - c3 = 22; - break; - } - c3 = 65535; - break; - case -1139198265: - if (str2.equals("Slate_Pro")) { - c3 = 23; - break; - } - c3 = 65535; - break; - case -1052835013: - if (str2.equals("namath")) { - c3 = 24; - break; - } - c3 = 65535; - break; - case -993250464: - if (str2.equals("A10-70F")) { - c3 = 25; - break; - } - c3 = 65535; - break; - case -993250458: - if (str2.equals("A10-70L")) { - c3 = 26; - break; - } - c3 = 65535; - break; - case -965403638: - if (str2.equals("s905x018")) { - c3 = 27; - break; - } - c3 = 65535; - break; - case -958336948: - if (str2.equals("ELUGA_Ray_X")) { - c3 = 28; - break; - } - c3 = 65535; - break; - case -879245230: - if (str2.equals("tcl_eu")) { - c3 = 29; - break; - } - c3 = 65535; - break; - case -842500323: - if (str2.equals("nicklaus_f")) { - c3 = 30; - break; - } - c3 = 65535; - break; - case -821392978: - if (str2.equals("A7000-a")) { - c3 = 31; - break; - } - c3 = 65535; - break; - case -797483286: - if (str2.equals("SVP-DTV15")) { - c3 = ' '; - break; - } - c3 = 65535; - break; - case -794946968: - if (str2.equals("watson")) { - c3 = '!'; - break; - } - c3 = 65535; - break; - case -788334647: - if (str2.equals("whyred")) { - c3 = '\"'; - break; - } - c3 = 65535; - break; - case -782144577: - if (str2.equals("OnePlus5T")) { - c3 = MentionUtilsKt.CHANNELS_CHAR; - break; - } - c3 = 65535; - break; - case -575125681: - if (str2.equals("GiONEE_CBL7513")) { - c3 = '$'; - break; - } - c3 = 65535; - break; - case -521118391: - if (str2.equals("GIONEE_GBL7360")) { - c3 = '%'; - break; - } - c3 = 65535; - break; - case -430914369: - if (str2.equals("Pixi4-7_3G")) { - c3 = '&'; - break; - } - c3 = 65535; - break; - case -290434366: - if (str2.equals("taido_row")) { - c3 = '\''; - break; - } - c3 = 65535; - break; - case -282781963: - if (str2.equals("BLACK-1X")) { - c3 = '('; - break; - } - c3 = 65535; - break; - case -277133239: - if (str2.equals("Z12_PRO")) { - c3 = ')'; - break; - } - c3 = 65535; - break; - case -173639913: - if (str2.equals("ELUGA_A3_Pro")) { - c3 = '*'; - break; - } - c3 = 65535; - break; - case -56598463: - if (str2.equals("woods_fn")) { - c3 = '+'; - break; - } - c3 = 65535; - break; - case 2126: - if (str2.equals("C1")) { - c3 = ','; - break; - } - c3 = 65535; - break; - case 2564: - if (str2.equals("Q5")) { - c3 = '-'; - break; - } - c3 = 65535; - break; - case 2715: - if (str2.equals("V1")) { - c3 = '.'; - break; - } - c3 = 65535; - break; - case 2719: - if (str2.equals("V5")) { - c3 = MentionUtilsKt.SLASH_CHAR; - break; - } - c3 = 65535; - break; - case 3091: - if (str2.equals("b5")) { - c3 = '0'; - break; - } - c3 = 65535; - break; - case 3483: - if (str2.equals("mh")) { - c3 = '1'; - break; - } - c3 = 65535; - break; - case 73405: - if (str2.equals("JGZ")) { - c3 = '2'; - break; - } - c3 = 65535; - break; - case 75537: - if (str2.equals("M04")) { - c3 = '3'; - break; - } - c3 = 65535; - break; - case 75739: - if (str2.equals("M5c")) { - c3 = '4'; - break; - } - c3 = 65535; - break; - case 76779: - if (str2.equals("MX6")) { - c3 = '5'; - break; - } - c3 = 65535; - break; - case 78669: - if (str2.equals("P85")) { - c3 = '6'; - break; - } - c3 = 65535; - break; - case 79305: - if (str2.equals("PLE")) { - c3 = '7'; - break; - } - c3 = 65535; - break; - case 80618: - if (str2.equals("QX1")) { - c3 = '8'; - break; - } - c3 = 65535; - break; - case 88274: - if (str2.equals("Z80")) { - c3 = '9'; - break; - } - c3 = 65535; - break; - case 98846: - if (str2.equals("cv1")) { - c3 = MentionUtilsKt.EMOJIS_AND_STICKERS_CHAR; - break; - } - c3 = 65535; - break; - case 98848: - if (str2.equals("cv3")) { - c3 = ';'; - break; - } - c3 = 65535; - break; - case 99329: - if (str2.equals("deb")) { - c3 = '<'; - break; - } - c3 = 65535; - break; - case 101481: - if (str2.equals("flo")) { - c3 = '='; - break; - } - c3 = 65535; - break; - case 1513190: - if (str2.equals("1601")) { - c3 = '>'; - break; - } - c3 = 65535; - break; - case 1514184: - if (str2.equals("1713")) { - c3 = '?'; - break; - } - c3 = 65535; - break; - case 1514185: - if (str2.equals("1714")) { - c3 = MentionUtilsKt.MENTIONS_CHAR; - break; - } - c3 = 65535; - break; - case 2133089: - if (str2.equals("F01H")) { - c3 = 'A'; - break; - } - c3 = 65535; - break; - case 2133091: - if (str2.equals("F01J")) { - c3 = 'B'; - break; - } - c3 = 65535; - break; - case 2133120: - if (str2.equals("F02H")) { - c3 = 'C'; - break; - } - c3 = 65535; - break; - case 2133151: - if (str2.equals("F03H")) { - c3 = 'D'; - break; - } - c3 = 65535; - break; - case 2133182: - if (str2.equals("F04H")) { - c3 = 'E'; - break; - } - c3 = 65535; - break; - case 2133184: - if (str2.equals("F04J")) { - c3 = 'F'; - break; - } - c3 = 65535; - break; - case 2436959: - if (str2.equals("P681")) { - c3 = 'G'; - break; - } - c3 = 65535; - break; - case 2463773: - if (str2.equals("Q350")) { - c3 = 'H'; - break; - } - c3 = 65535; - break; - case 2464648: - if (str2.equals("Q427")) { - c3 = 'I'; - break; - } - c3 = 65535; - break; - case 2689555: - if (str2.equals("XE2X")) { - c3 = 'J'; - break; - } - c3 = 65535; - break; - case 3154429: - if (str2.equals("fugu")) { - c3 = 'K'; - break; - } - c3 = 65535; - break; - case 3284551: - if (str2.equals("kate")) { - c3 = 'L'; - break; - } - c3 = 65535; - break; - case 3351335: - if (str2.equals("mido")) { - c3 = 'M'; - break; - } - c3 = 65535; - break; - case 3386211: - if (str2.equals("p212")) { - c3 = 'N'; - break; - } - c3 = 65535; - break; - case 41325051: - if (str2.equals("MEIZU_M5")) { - c3 = 'O'; - break; - } - c3 = 65535; - break; - case 51349633: - if (str2.equals("601LV")) { - c3 = 'P'; - break; - } - c3 = 65535; - break; - case 51350594: - if (str2.equals("602LV")) { - c3 = 'Q'; - break; - } - c3 = 65535; - break; - case 55178625: - if (str2.equals("Aura_Note_2")) { - c3 = 'R'; - break; - } - c3 = 65535; - break; - case 61542055: - if (str2.equals("A1601")) { - c3 = 'S'; - break; - } - c3 = 65535; - break; - case 65355429: - if (str2.equals("E5643")) { - c3 = 'T'; - break; - } - c3 = 65535; - break; - case 66214468: - if (str2.equals("F3111")) { - c3 = 'U'; - break; - } - c3 = 65535; - break; - case 66214470: - if (str2.equals("F3113")) { - c3 = 'V'; - break; - } - c3 = 65535; - break; - case 66214473: - if (str2.equals("F3116")) { - c3 = 'W'; - break; - } - c3 = 65535; - break; - case 66215429: - if (str2.equals("F3211")) { - c3 = 'X'; - break; - } - c3 = 65535; - break; - case 66215431: - if (str2.equals("F3213")) { - c3 = 'Y'; - break; - } - c3 = 65535; - break; - case 66215433: - if (str2.equals("F3215")) { - c3 = 'Z'; - break; - } - c3 = 65535; - break; - case 66216390: - if (str2.equals("F3311")) { - c3 = '['; - break; - } - c3 = 65535; - break; - case 76402249: - if (str2.equals("PRO7S")) { - c3 = '\\'; - break; - } - c3 = 65535; - break; - case 76404105: - if (str2.equals("Q4260")) { - c3 = ']'; - break; - } - c3 = 65535; - break; - case 76404911: - if (str2.equals("Q4310")) { - c3 = '^'; - break; - } - c3 = 65535; - break; - case 80963634: - if (str2.equals("V23GB")) { - c3 = '_'; - break; - } - c3 = 65535; - break; - case 82882791: - if (str2.equals("X3_HK")) { - c3 = '`'; - break; - } - c3 = 65535; - break; - case 98715550: - if (str2.equals("i9031")) { - c3 = 'a'; - break; - } - c3 = 65535; - break; - case 101370885: - if (str2.equals("l5460")) { - c3 = 'b'; - break; - } - c3 = 65535; - break; - case 102844228: - if (str2.equals("le_x6")) { - c3 = 'c'; - break; - } - c3 = 65535; - break; - case 165221241: - if (str2.equals("A2016a40")) { - c3 = 'd'; - break; - } - c3 = 65535; - break; - case 182191441: - if (str2.equals("CPY83_I00")) { - c3 = 'e'; - break; - } - c3 = 65535; - break; - case 245388979: - if (str2.equals("marino_f")) { - c3 = 'f'; - break; - } - c3 = 65535; - break; - case 287431619: - if (str2.equals("griffin")) { - c3 = 'g'; - break; - } - c3 = 65535; - break; - case 307593612: - if (str2.equals("A7010a48")) { - c3 = 'h'; - break; - } - c3 = 65535; - break; - case 308517133: - if (str2.equals("A7020a48")) { - c3 = 'i'; - break; - } - c3 = 65535; - break; - case 316215098: - if (str2.equals("TB3-730F")) { - c3 = 'j'; - break; - } - c3 = 65535; - break; - case 316215116: - if (str2.equals("TB3-730X")) { - c3 = 'k'; - break; - } - c3 = 65535; - break; - case 316246811: - if (str2.equals("TB3-850F")) { - c3 = 'l'; - break; - } - c3 = 65535; - break; - case 316246818: - if (str2.equals("TB3-850M")) { - c3 = 'm'; - break; - } - c3 = 65535; - break; - case 407160593: - if (str2.equals("Pixi5-10_4G")) { - c3 = 'n'; - break; - } - c3 = 65535; - break; - case 507412548: - if (str2.equals("QM16XE_U")) { - c3 = 'o'; - break; - } - c3 = 65535; - break; - case 793982701: - if (str2.equals("GIONEE_WBL5708")) { - c3 = 'p'; - break; - } - c3 = 65535; - break; - case 794038622: - if (str2.equals("GIONEE_WBL7365")) { - c3 = 'q'; - break; - } - c3 = 65535; - break; - case 794040393: - if (str2.equals("GIONEE_WBL7519")) { - c3 = 'r'; - break; - } - c3 = 65535; - break; - case 835649806: - if (str2.equals("manning")) { - c3 = 's'; - break; - } - c3 = 65535; - break; - case 917340916: - if (str2.equals("A7000plus")) { - c3 = 't'; - break; - } - c3 = 65535; - break; - case 958008161: - if (str2.equals("j2xlteins")) { - c3 = 'u'; - break; - } - c3 = 65535; - break; - case 1060579533: - if (str2.equals("panell_d")) { - c3 = 'v'; - break; - } - c3 = 65535; - break; - case 1150207623: - if (str2.equals("LS-5017")) { - c3 = 'w'; - break; - } - c3 = 65535; - break; - case 1176899427: - if (str2.equals("itel_S41")) { - c3 = 'x'; - break; - } - c3 = 65535; - break; - case 1280332038: - if (str2.equals("hwALE-H")) { - c3 = 'y'; - break; - } - c3 = 65535; - break; - case 1306947716: - if (str2.equals("EverStar_S")) { - c3 = 'z'; - break; - } - c3 = 65535; - break; - case 1349174697: - if (str2.equals("htc_e56ml_dtul")) { - c3 = '{'; - break; - } - c3 = 65535; - break; - case 1522194893: - if (str2.equals("woods_f")) { - c3 = '|'; - break; - } - c3 = 65535; - break; - case 1691543273: - if (str2.equals("CPH1609")) { - c3 = '}'; - break; - } - c3 = 65535; - break; - case 1691544261: - if (str2.equals("CPH1715")) { - c3 = '~'; - break; - } - c3 = 65535; - break; - case 1709443163: - if (str2.equals("iball8735_9806")) { - c3 = 127; - break; - } - c3 = 65535; - break; - case 1865889110: - if (str2.equals("santoni")) { - c3 = 128; - break; - } - c3 = 65535; - break; - case 1906253259: - if (str2.equals("PB2-670M")) { - c3 = 129; - break; - } - c3 = 65535; - break; - case 1977196784: - if (str2.equals("Infinix-X572")) { - c3 = 130; - break; - } - c3 = 65535; - break; - case 2006372676: - if (str2.equals("BRAVIA_ATV3_4K")) { - c3 = 131; - break; - } - c3 = 65535; - break; - case 2019281702: - if (str2.equals("DM-01K")) { - c3 = 132; - break; - } - c3 = 65535; - break; - case 2029784656: - if (str2.equals("HWBLN-H")) { - c3 = 133; - break; - } - c3 = 65535; - break; - case 2030379515: - if (str2.equals("HWCAM-H")) { - c3 = 134; - break; - } - c3 = 65535; - break; - case 2033393791: - if (str2.equals("ASUS_X00AD_2")) { - c3 = 135; - break; - } - c3 = 65535; - break; - case 2047190025: - if (str2.equals("ELUGA_Note")) { - c3 = 136; - break; - } - c3 = 65535; - break; - case 2047252157: - if (str2.equals("ELUGA_Prim")) { - c3 = 137; - break; - } - c3 = 65535; - break; - case 2048319463: - if (str2.equals("HWVNS-H")) { - c3 = 138; - break; - } - c3 = 65535; - break; - case 2048855701: - if (str2.equals("HWWAS-H")) { - c3 = 139; - break; - } - c3 = 65535; - break; - default: - c3 = 65535; - break; - } - switch (c3) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case '\b': - case '\t': - case '\n': - case 11: - case '\f': - case '\r': - case 14: - case 15: - case 16: - case 17: - case 18: - case 19: - case 20: - case 21: - case 22: - case 23: - case 24: - case 25: - case 26: - case 27: - case 28: - case 29: - case 30: - case 31: - case ' ': - case '!': - case '\"': - case '#': - case '$': - case '%': - case '&': - case '\'': - case '(': - case ')': - case '*': - case '+': - case ',': - case '-': - case '.': - case '/': - case '0': - case '1': - case '2': - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': - case ':': - case ';': - case '<': - case '=': - case '>': - case '?': - case '@': - case 'A': - case 'B': - case 'C': - case 'D': - case 'E': - case 'F': - case 'G': - case 'H': - case 'I': - case 'J': - case 'K': - case 'L': - case 'M': - case 'N': - case 'O': - case 'P': - case 'Q': - case 'R': - case 'S': - case 'T': - case 'U': - case 'V': - case 'W': - case 'X': - case 'Y': - case 'Z': - case '[': - case '\\': - case ']': - case '^': - case '_': - case '`': - case 'a': - case 'b': - case 'c': - case 'd': - case 'e': - case 'f': - case 'g': - case 'h': - case 'i': - case 'j': - case 'k': - case 'l': - case 'm': - case 'n': - case 'o': - case 'p': - case 'q': - case 'r': - case 's': - case 't': - case 'u': - case 'v': - case 'w': - case 'x': - case 'y': - case 'z': - case '{': - case '|': - case '}': - case '~': - case 127: - case 128: - case 129: - case 130: - case 131: - case 132: - case 133: - case 134: - case 135: - case 136: - case 137: - case 138: - case 139: - break; - default: - String str3 = f0.d; - str3.hashCode(); - switch (str3.hashCode()) { - case -594534941: - if (str3.equals("JSN-L21")) { - c4 = 0; - break; - } - c4 = 65535; - break; - case 2006354: - if (str3.equals("AFTA")) { - c4 = 1; - break; - } - c4 = 65535; - break; - case 2006367: - break; - default: - c4 = 65535; - break; - } - switch (c4) { - } - } - return true; - } - return false; - } - - /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ - public static int G0(s sVar, String str, int i, int i2) { - char c2; - int i3; - if (!(i == -1 || i2 == -1)) { - str.hashCode(); - int i4 = 4; - switch (str.hashCode()) { - case -1851077871: - if (str.equals("video/dolby-vision")) { - c2 = 0; - break; - } - c2 = 65535; - break; - case -1664118616: - if (str.equals("video/3gpp")) { - c2 = 1; - break; - } - c2 = 65535; - break; - case -1662541442: - if (str.equals("video/hevc")) { - c2 = 2; - break; - } - c2 = 65535; - break; - case 1187890754: - if (str.equals("video/mp4v-es")) { - c2 = 3; - break; - } - c2 = 65535; - break; - case 1331836730: - if (str.equals("video/avc")) { - c2 = 4; - break; - } - c2 = 65535; - break; - case 1599127256: - if (str.equals("video/x-vnd.on2.vp8")) { - c2 = 5; - break; - } - c2 = 65535; - break; - case 1599127257: - if (str.equals("video/x-vnd.on2.vp9")) { - c2 = 6; - break; - } - c2 = 65535; - break; - default: - c2 = 65535; - break; - } - switch (c2) { - case 0: - case 4: - String str2 = f0.d; - if (!"BRAVIA 4K 2015".equals(str2) && (!"Amazon".equals(f0.f965c) || (!"KFSOWI".equals(str2) && (!"AFTS".equals(str2) || !sVar.f)))) { - i3 = f0.f(i2, 16) * f0.f(i, 16) * 16 * 16; - i4 = 2; - break; - } - case 1: - case 3: - case 5: - i3 = i * i2; - i4 = 2; - break; - case 2: - case 6: - i3 = i * i2; - break; - default: - return -1; - } - return (i3 * 3) / (i4 * 2); - } - return -1; - } - - public static List H0(t tVar, Format format, boolean z2, boolean z3) throws MediaCodecUtil.DecoderQueryException { - Pair c2; - String str = format.t; - if (str == null) { - return Collections.emptyList(); - } - List a2 = tVar.a(str, z2, z3); - Pattern pattern = MediaCodecUtil.a; - ArrayList arrayList = new ArrayList(a2); - MediaCodecUtil.j(arrayList, new g(format)); - if ("video/dolby-vision".equals(str) && (c2 = MediaCodecUtil.c(format)) != null) { - int intValue = ((Integer) c2.first).intValue(); - if (intValue == 16 || intValue == 256) { - arrayList.addAll(tVar.a("video/hevc", z2, z3)); - } else if (intValue == 512) { - arrayList.addAll(tVar.a("video/avc", z2, z3)); - } - } - return Collections.unmodifiableList(arrayList); - } - - public static int I0(s sVar, Format format) { - if (format.u == -1) { - return G0(sVar, format.t, format.f2697y, format.f2698z); - } - int size = format.v.size(); - int i = 0; - for (int i2 = 0; i2 < size; i2++) { - i += format.v.get(i2).length; - } - return format.u + i; - } - - public static boolean J0(long j) { - return j < -30000; - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.g0 - public void B() { - D0(); - C0(); - this.d1 = false; - t tVar = this.T0; - if (tVar.b != null) { - t.a aVar = tVar.d; - if (aVar != null) { - aVar.a.unregisterDisplayListener(aVar); - } - t.b bVar = tVar.f985c; - Objects.requireNonNull(bVar); - bVar.k.sendEmptyMessage(2); - } - this.C1 = null; - try { - super.B(); - w.a aVar2 = this.U0; - c.i.a.c.x1.d dVar = this.L0; - Objects.requireNonNull(aVar2); - synchronized (dVar) { - } - Handler handler = aVar2.a; - if (handler != null) { - handler.post(new a(aVar2, dVar)); - } - } catch (Throwable th) { - w.a aVar3 = this.U0; - c.i.a.c.x1.d dVar2 = this.L0; - Objects.requireNonNull(aVar3); - synchronized (dVar2) { - Handler handler2 = aVar3.a; - if (handler2 != null) { - handler2.post(new a(aVar3, dVar2)); - } - throw th; - } - } - } - - @Override // c.i.a.c.g0 - public void C(boolean z2, boolean z3) throws ExoPlaybackException { - this.L0 = new c.i.a.c.x1.d(); - m1 m1Var = this.k; - Objects.requireNonNull(m1Var); - boolean z4 = m1Var.b; - d.D(!z4 || this.B1 != 0); - if (this.A1 != z4) { - this.A1 = z4; - n0(); - } - w.a aVar = this.U0; - c.i.a.c.x1.d dVar = this.L0; - Handler handler = aVar.a; - if (handler != null) { - handler.post(new c(aVar, dVar)); - } - t tVar = this.T0; - if (tVar.b != null) { - t.b bVar = tVar.f985c; - Objects.requireNonNull(bVar); - bVar.k.sendEmptyMessage(1); - t.a aVar2 = tVar.d; - if (aVar2 != null) { - aVar2.a.registerDisplayListener(aVar2, f0.j()); - } - tVar.d(); - } - this.g1 = z3; - this.h1 = false; - } - - public final void C0() { - r rVar; - this.f1 = false; - if (f0.a >= 23 && this.A1 && (rVar = this.R) != null) { - this.C1 = new b(rVar); - } - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.g0 - public void D(long j, boolean z2) throws ExoPlaybackException { - super.D(j, z2); - C0(); - this.T0.b(); - this.o1 = -9223372036854775807L; - this.i1 = -9223372036854775807L; - this.m1 = 0; - if (z2) { - S0(); - } else { - this.j1 = -9223372036854775807L; - } - } - - public final void D0() { - this.w1 = -1; - this.x1 = -1; - this.z1 = -1.0f; - this.y1 = -1; - } - - /* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: c.i.a.c.j2.n */ - /* JADX WARN: Multi-variable type inference failed */ - /* JADX WARNING: Unknown variable types count: 1 */ - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.g0 - public void E() { - ?? r0 = 0; - try { - N(); - n0(); - try { - } finally { - Surface surface = this.c1; - if (surface != null) { - if (this.b1 == surface) { - this.b1 = r0; - } - surface.release(); - this.c1 = r0; - } - } - } finally { - t0(r0); - } - } - - public boolean E0(String str) { - if (str.startsWith("OMX.google")) { - return false; - } - synchronized (n.class) { - if (!Q0) { - R0 = F0(); - Q0 = true; - } - } - return R0; - } - - @Override // c.i.a.c.g0 - public void F() { - this.l1 = 0; - this.k1 = SystemClock.elapsedRealtime(); - this.p1 = SystemClock.elapsedRealtime() * 1000; - this.q1 = 0; - this.r1 = 0; - t tVar = this.T0; - tVar.e = true; - tVar.b(); - tVar.f(false); - } - - @Override // c.i.a.c.g0 - public void G() { - this.j1 = -9223372036854775807L; - K0(); - int i = this.r1; - if (i != 0) { - w.a aVar = this.U0; - long j = this.q1; - Handler handler = aVar.a; - if (handler != null) { - handler.post(new i(aVar, j, i)); - } - this.q1 = 0; - this.r1 = 0; - } - t tVar = this.T0; - tVar.e = false; - tVar.a(); - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public e K(s sVar, Format format, Format format2) { - e c2 = sVar.c(format, format2); - int i = c2.e; - int i2 = format2.f2697y; - a aVar = this.Y0; - if (i2 > aVar.a || format2.f2698z > aVar.b) { - i |= 256; - } - if (I0(sVar, format2) > this.Y0.f983c) { - i |= 64; - } - return new e(sVar.a, format, format2, i != 0 ? 0 : c2.d, i); - } - - public final void K0() { - if (this.l1 > 0) { - long elapsedRealtime = SystemClock.elapsedRealtime(); - long j = elapsedRealtime - this.k1; - w.a aVar = this.U0; - int i = this.l1; - Handler handler = aVar.a; - if (handler != null) { - handler.post(new e(aVar, i, j)); - } - this.l1 = 0; - this.k1 = elapsedRealtime; - } - } - - /* JADX WARNING: Code restructure failed: missing block: B:70:0x0146, code lost: - r21 = r5; - */ - /* JADX WARNING: Removed duplicated region for block: B:100:0x0234 */ - /* JADX WARNING: Removed duplicated region for block: B:101:0x0241 */ - /* JADX WARNING: Removed duplicated region for block: B:103:0x0244 */ - /* JADX WARNING: Removed duplicated region for block: B:106:0x0252 */ - /* JADX WARNING: Removed duplicated region for block: B:74:0x014c */ - /* JADX WARNING: Removed duplicated region for block: B:79:0x018c */ - /* JADX WARNING: Removed duplicated region for block: B:80:0x018f */ - /* JADX WARNING: Removed duplicated region for block: B:83:0x01b7 */ - /* JADX WARNING: Removed duplicated region for block: B:86:0x01c7 */ - /* JADX WARNING: Removed duplicated region for block: B:96:0x0221 */ - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public void L(s sVar, r rVar, Format format, @Nullable MediaCrypto mediaCrypto, float f) { - String str; - a aVar; - boolean z2; - int i; - MediaFormat mediaFormat; - float f2; - ColorInfo colorInfo; - int i2; - boolean z3; - Pair c2; - Point point; - MediaCodecInfo.VideoCapabilities videoCapabilities; - Format[] formatArr; - int G0; - String str2 = sVar.f819c; - Format[] formatArr2 = this.o; - Objects.requireNonNull(formatArr2); - int i3 = format.f2697y; - int i4 = format.f2698z; - int I0 = I0(sVar, format); - if (formatArr2.length == 1) { - if (!(I0 == -1 || (G0 = G0(sVar, format.t, format.f2697y, format.f2698z)) == -1)) { - I0 = Math.min((int) (((float) I0) * 1.5f), G0); - } - aVar = new a(i3, i4, I0); - str = str2; - } else { - int length = formatArr2.length; - int i5 = 0; - boolean z4 = false; - while (i5 < length) { - Format format2 = formatArr2[i5]; - if (format.F != null && format2.F == null) { - Format.b a2 = format2.a(); - a2.f2701w = format.F; - format2 = a2.a(); - } - if (sVar.c(format, format2).d != 0) { - int i6 = format2.f2697y; - formatArr = formatArr2; - z4 |= i6 == -1 || format2.f2698z == -1; - int max = Math.max(i3, i6); - int max2 = Math.max(i4, format2.f2698z); - I0 = Math.max(I0, I0(sVar, format2)); - i4 = max2; - i3 = max; - } else { - formatArr = formatArr2; - } - i5++; - formatArr2 = formatArr; - } - if (z4) { - Log.w("MediaCodecVideoRenderer", "Resolutions unknown. Codec max resolution: " + i3 + "x" + i4); - int i7 = format.f2698z; - int i8 = format.f2697y; - boolean z5 = i7 > i8; - int i9 = z5 ? i7 : i8; - if (z5) { - i7 = i8; - } - float f3 = ((float) i7) / ((float) i9); - int[] iArr = P0; - int length2 = iArr.length; - int i10 = 0; - while (true) { - Point point2 = null; - if (i10 >= length2) { - break; - } - int i11 = iArr[i10]; - int i12 = (int) (((float) i11) * f3); - if (i11 <= i9 || i12 <= i7) { - break; - } - if (f0.a >= 21) { - int i13 = z5 ? i12 : i11; - if (!z5) { - i11 = i12; - } - MediaCodecInfo.CodecCapabilities codecCapabilities = sVar.d; - if (!(codecCapabilities == null || (videoCapabilities = codecCapabilities.getVideoCapabilities()) == null)) { - point2 = s.a(videoCapabilities, i13, i11); - } - point = point2; - str = str2; - if (sVar.g(point.x, point.y, (double) format.A)) { - break; - } - } else { - str = str2; - try { - int f4 = f0.f(i11, 16) * 16; - int f5 = f0.f(i12, 16) * 16; - if (f4 * f5 <= MediaCodecUtil.i()) { - int i14 = z5 ? f5 : f4; - if (!z5) { - f4 = f5; - } - point = new Point(i14, f4); - } - } catch (MediaCodecUtil.DecoderQueryException unused) { - point = null; - if (point != null) { - } - aVar = new a(i3, i4, I0); - this.Y0 = aVar; - z2 = this.X0; - if (!this.A1) { - } - mediaFormat = new MediaFormat(); - mediaFormat.setString("mime", str); - mediaFormat.setInteger("width", format.f2697y); - mediaFormat.setInteger("height", format.f2698z); - d.W1(mediaFormat, format.v); - f2 = format.A; - if (f2 != -1.0f) { - } - d.j1(mediaFormat, "rotation-degrees", format.B); - colorInfo = format.F; - if (colorInfo != null) { - } - d.j1(mediaFormat, "profile", ((Integer) c2.first).intValue()); - mediaFormat.setInteger("max-width", aVar.a); - mediaFormat.setInteger("max-height", aVar.b); - d.j1(mediaFormat, "max-input-size", aVar.f983c); - i2 = f0.a; - if (i2 >= 23) { - } - if (!z2) { - } - if (i != 0) { - } - if (this.b1 == null) { - } - rVar.configure(mediaFormat, this.b1, mediaCrypto, 0); - if (i2 >= 23) { - return; - } - } - } - i10++; - length2 = length2; - iArr = iArr; - i7 = i7; - f3 = f3; - str2 = str; - } - if (point != null) { - i3 = Math.max(i3, point.x); - i4 = Math.max(i4, point.y); - I0 = Math.max(I0, G0(sVar, format.t, i3, i4)); - Log.w("MediaCodecVideoRenderer", "Codec max resolution adjusted to: " + i3 + "x" + i4); - } - } else { - str = str2; - } - aVar = new a(i3, i4, I0); - } - this.Y0 = aVar; - z2 = this.X0; - i = !this.A1 ? this.B1 : 0; - mediaFormat = new MediaFormat(); - mediaFormat.setString("mime", str); - mediaFormat.setInteger("width", format.f2697y); - mediaFormat.setInteger("height", format.f2698z); - d.W1(mediaFormat, format.v); - f2 = format.A; - if (f2 != -1.0f) { - mediaFormat.setFloat("frame-rate", f2); - } - d.j1(mediaFormat, "rotation-degrees", format.B); - colorInfo = format.F; - if (colorInfo != null) { - d.j1(mediaFormat, "color-transfer", colorInfo.k); - d.j1(mediaFormat, "color-standard", colorInfo.i); - d.j1(mediaFormat, "color-range", colorInfo.j); - byte[] bArr = colorInfo.l; - if (bArr != null) { - mediaFormat.setByteBuffer("hdr-static-info", ByteBuffer.wrap(bArr)); - } - } - if ("video/dolby-vision".equals(format.t) && (c2 = MediaCodecUtil.c(format)) != null) { - d.j1(mediaFormat, "profile", ((Integer) c2.first).intValue()); - } - mediaFormat.setInteger("max-width", aVar.a); - mediaFormat.setInteger("max-height", aVar.b); - d.j1(mediaFormat, "max-input-size", aVar.f983c); - i2 = f0.a; - if (i2 >= 23) { - mediaFormat.setInteger("priority", 0); - if (f != -1.0f) { - mediaFormat.setFloat("operating-rate", f); - } - } - if (!z2) { - z3 = true; - mediaFormat.setInteger("no-post-process", 1); - mediaFormat.setInteger("auto-frc", 0); - } else { - z3 = true; - } - if (i != 0) { - mediaFormat.setFeatureEnabled("tunneled-playback", z3); - mediaFormat.setInteger("audio-session-id", i); - } - if (this.b1 == null) { - if (T0(sVar)) { - if (this.c1 == null) { - this.c1 = DummySurface.c(this.S0, sVar.f); - } - this.b1 = this.c1; - } else { - throw new IllegalStateException(); - } - } - rVar.configure(mediaFormat, this.b1, mediaCrypto, 0); - if (i2 >= 23 && this.A1) { - this.C1 = new b(rVar); - } - } - - public void L0() { - this.h1 = true; - if (!this.f1) { - this.f1 = true; - w.a aVar = this.U0; - Surface surface = this.b1; - Handler handler = aVar.a; - if (handler != null) { - handler.post(new d(aVar, surface)); - } - this.d1 = true; - } - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public MediaCodecDecoderException M(Throwable th, @Nullable s sVar) { - return new MediaCodecVideoDecoderException(th, sVar, this.b1); - } - - public final void M0() { - int i = this.s1; - if (i != -1 || this.t1 != -1) { - if (this.w1 != i || this.x1 != this.t1 || this.y1 != this.u1 || this.z1 != this.v1) { - this.U0.a(i, this.t1, this.u1, this.v1); - this.w1 = this.s1; - this.x1 = this.t1; - this.y1 = this.u1; - this.z1 = this.v1; - } - } - } - - public final void N0() { - int i = this.w1; - if (i != -1 || this.x1 != -1) { - this.U0.a(i, this.x1, this.y1, this.z1); - } - } - - public final void O0(long j, long j2, Format format) { - s sVar = this.D1; - if (sVar != null) { - sVar.c(j, j2, format, this.T); - } - } - - public void P0(long j) throws ExoPlaybackException { - B0(j); - M0(); - this.L0.e++; - L0(); - super.h0(j); - if (!this.A1) { - this.n1--; - } - } - - public void Q0(r rVar, int i) { - M0(); - d.g("releaseOutputBuffer"); - rVar.releaseOutputBuffer(i, true); - d.f0(); - this.p1 = SystemClock.elapsedRealtime() * 1000; - this.L0.e++; - this.m1 = 0; - L0(); - } - - @RequiresApi(21) - public void R0(r rVar, int i, long j) { - M0(); - d.g("releaseOutputBuffer"); - rVar.b(i, j); - d.f0(); - this.p1 = SystemClock.elapsedRealtime() * 1000; - this.L0.e++; - this.m1 = 0; - L0(); - } - - public final void S0() { - this.j1 = this.V0 > 0 ? SystemClock.elapsedRealtime() + this.V0 : -9223372036854775807L; - } - - public final boolean T0(s sVar) { - return f0.a >= 23 && !this.A1 && !E0(sVar.a) && (!sVar.f || DummySurface.b(this.S0)); - } - - public void U0(r rVar, int i) { - d.g("skipVideoBuffer"); - rVar.releaseOutputBuffer(i, false); - d.f0(); - this.L0.f++; - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public boolean V() { - return this.A1 && f0.a < 23; - } - - public void V0(int i) { - c.i.a.c.x1.d dVar = this.L0; - dVar.g += i; - this.l1 += i; - int i2 = this.m1 + i; - this.m1 = i2; - dVar.h = Math.max(i2, dVar.h); - int i3 = this.W0; - if (i3 > 0 && this.l1 >= i3) { - K0(); - } - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public float W(float f, Format format, Format[] formatArr) { - float f2 = -1.0f; - for (Format format2 : formatArr) { - float f3 = format2.A; - if (f3 != -1.0f) { - f2 = Math.max(f2, f3); - } - } - if (f2 == -1.0f) { - return -1.0f; - } - return f2 * f; - } - - public void W0(long j) { - c.i.a.c.x1.d dVar = this.L0; - dVar.j += j; - dVar.k++; - this.q1 += j; - this.r1++; - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public List X(c.i.a.c.b2.t tVar, Format format, boolean z2) throws MediaCodecUtil.DecoderQueryException { - return H0(tVar, format, z2, this.A1); - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - @TargetApi(29) - public void Z(DecoderInputBuffer decoderInputBuffer) throws ExoPlaybackException { - if (this.a1) { - ByteBuffer byteBuffer = decoderInputBuffer.n; - Objects.requireNonNull(byteBuffer); - if (byteBuffer.remaining() >= 7) { - byte b2 = byteBuffer.get(); - short s = byteBuffer.getShort(); - short s2 = byteBuffer.getShort(); - byte b3 = byteBuffer.get(); - byte b4 = byteBuffer.get(); - byteBuffer.position(0); - if (b2 == -75 && s == 60 && s2 == 1 && b3 == 4 && b4 == 0) { - byte[] bArr = new byte[byteBuffer.remaining()]; - byteBuffer.get(bArr); - byteBuffer.position(0); - r rVar = this.R; - Bundle bundle = new Bundle(); - bundle.putByteArray("hdr10-plus-info", bArr); - rVar.setParameters(bundle); - } - } - } - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.k1 - public boolean d() { - Surface surface; - if (super.d() && (this.f1 || (((surface = this.c1) != null && this.b1 == surface) || this.R == null || this.A1))) { - this.j1 = -9223372036854775807L; - return true; - } else if (this.j1 == -9223372036854775807L) { - return false; - } else { - if (SystemClock.elapsedRealtime() < this.j1) { - return true; - } - this.j1 = -9223372036854775807L; - return false; - } - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public void d0(String str, long j, long j2) { - w.a aVar = this.U0; - Handler handler = aVar.a; - if (handler != null) { - handler.post(new f(aVar, str, j, j2)); - } - this.Z0 = E0(str); - s sVar = this.Y; - Objects.requireNonNull(sVar); - boolean z2 = false; - if (f0.a >= 29 && "video/x-vnd.on2.vp9".equals(sVar.b)) { - MediaCodecInfo.CodecProfileLevel[] d = sVar.d(); - int length = d.length; - int i = 0; - while (true) { - if (i >= length) { - break; - } else if (d[i].profile == 16384) { - z2 = true; - break; - } else { - i++; - } - } - } - this.a1 = z2; - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public void e0(String str) { - w.a aVar = this.U0; - Handler handler = aVar.a; - if (handler != null) { - handler.post(new b(aVar, str)); - } - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - @Nullable - public e f0(s0 s0Var) throws ExoPlaybackException { - e f02 = super.f0(s0Var); - w.a aVar = this.U0; - Format format = s0Var.b; - Handler handler = aVar.a; - if (handler != null) { - handler.post(new g(aVar, format, f02)); - } - return f02; - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public void g0(Format format, @Nullable MediaFormat mediaFormat) { - r rVar = this.R; - if (rVar != null) { - rVar.f(this.e1); - } - if (this.A1) { - this.s1 = format.f2697y; - this.t1 = format.f2698z; - } else { - Objects.requireNonNull(mediaFormat); - boolean z2 = mediaFormat.containsKey("crop-right") && mediaFormat.containsKey("crop-left") && mediaFormat.containsKey("crop-bottom") && mediaFormat.containsKey("crop-top"); - this.s1 = z2 ? (mediaFormat.getInteger("crop-right") - mediaFormat.getInteger("crop-left")) + 1 : mediaFormat.getInteger("width"); - this.t1 = z2 ? (mediaFormat.getInteger("crop-bottom") - mediaFormat.getInteger("crop-top")) + 1 : mediaFormat.getInteger("height"); - } - float f = format.C; - this.v1 = f; - if (f0.a >= 21) { - int i = format.B; - if (i == 90 || i == 270) { - int i2 = this.s1; - this.s1 = this.t1; - this.t1 = i2; - this.v1 = 1.0f / f; - } - } else { - this.u1 = format.B; - } - t tVar = this.T0; - tVar.g = format.A; - l lVar = tVar.a; - lVar.a.c(); - lVar.b.c(); - lVar.f980c = false; - lVar.d = -9223372036854775807L; - lVar.e = 0; - tVar.e(); - } - - @Override // c.i.a.c.k1, c.i.a.c.l1 - public String getName() { - return "MediaCodecVideoRenderer"; - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - @CallSuper - public void h0(long j) { - super.h0(j); - if (!this.A1) { - this.n1--; - } - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public void i0() { - C0(); - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - @CallSuper - public void j0(DecoderInputBuffer decoderInputBuffer) throws ExoPlaybackException { - boolean z2 = this.A1; - if (!z2) { - this.n1++; - } - if (f0.a < 23 && z2) { - P0(decoderInputBuffer.m); - } - } - - /* JADX WARNING: Code restructure failed: missing block: B:19:0x0075, code lost: - if ((r11 == 0 ? false : r13.g[(int) ((r11 - 1) % 15)]) != false) goto L_0x0077; - */ - /* JADX WARNING: Code restructure failed: missing block: B:72:0x012f, code lost: - if ((J0(r5) && r22 > 100000) != false) goto L_0x0131; - */ - /* JADX WARNING: Removed duplicated region for block: B:77:0x0138 */ - /* JADX WARNING: Removed duplicated region for block: B:83:0x0157 */ - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public boolean l0(long j, long j2, @Nullable r rVar, @Nullable ByteBuffer byteBuffer, int i, int i2, int i3, long j3, boolean z2, boolean z3, Format format) throws ExoPlaybackException { - boolean z4; - long j4; - boolean z5; - boolean z6; - long j5; - long j6; - Objects.requireNonNull(rVar); - if (this.i1 == -9223372036854775807L) { - this.i1 = j; - } - if (j3 != this.o1) { - t tVar = this.T0; - long j7 = tVar.n; - if (j7 != -1) { - tVar.p = j7; - tVar.q = tVar.o; - } - tVar.m++; - l lVar = tVar.a; - long j8 = j3 * 1000; - lVar.a.b(j8); - if (lVar.a.a()) { - lVar.f980c = false; - } else if (lVar.d != -9223372036854775807L) { - if (lVar.f980c) { - l.a aVar = lVar.b; - long j9 = aVar.d; - } - lVar.b.c(); - lVar.b.b(lVar.d); - lVar.f980c = true; - lVar.b.b(j8); - } - if (lVar.f980c && lVar.b.a()) { - l.a aVar2 = lVar.a; - lVar.a = lVar.b; - lVar.b = aVar2; - lVar.f980c = false; - } - lVar.d = j8; - lVar.e = lVar.a.a() ? 0 : lVar.e + 1; - tVar.e(); - this.o1 = j3; - } - long j10 = this.N0; - long j11 = j3 - j10; - if (!z2 || z3) { - double d = (double) this.P; - boolean z7 = this.m == 2; - long elapsedRealtime = SystemClock.elapsedRealtime() * 1000; - long j12 = (long) (((double) (j3 - j)) / d); - if (z7) { - j12 -= elapsedRealtime - j2; - } - if (this.b1 != this.c1) { - long j13 = elapsedRealtime - this.p1; - boolean z8 = this.h1 ? !this.f1 : !(!z7 && !this.g1); - if (this.j1 == -9223372036854775807L && j >= j10) { - if (!z8) { - if (z7) { - } - } - z4 = true; - if (!z4) { - long nanoTime = System.nanoTime(); - O0(j11, nanoTime, format); - if (f0.a >= 21) { - R0(rVar, i, nanoTime); - } else { - Q0(rVar, i); - } - W0(j12); - return true; - } else if (!z7 || j == this.i1) { - return false; - } else { - long nanoTime2 = System.nanoTime(); - long j14 = (j12 * 1000) + nanoTime2; - t tVar2 = this.T0; - if (tVar2.p == -1 || !tVar2.a.a()) { - j4 = j11; - } else { - l lVar2 = tVar2.a; - if (lVar2.a()) { - l.a aVar3 = lVar2.a; - long j15 = aVar3.e; - if (j15 == 0) { - j6 = 0; - j4 = j11; - } else { - j4 = j11; - j6 = aVar3.f / j15; - } - } else { - j4 = j11; - j6 = -9223372036854775807L; - } - long j16 = tVar2.q + ((long) (((float) ((tVar2.m - tVar2.p) * j6)) / tVar2.j)); - if (Math.abs(j14 - j16) <= 20000000) { - j14 = j16; - } else { - tVar2.b(); - } - } - tVar2.n = tVar2.m; - tVar2.o = j14; - t.b bVar = tVar2.f985c; - if (!(bVar == null || tVar2.k == -9223372036854775807L)) { - long j17 = bVar.j; - if (j17 != -9223372036854775807L) { - long j18 = tVar2.k; - long j19 = (((j14 - j17) / j18) * j18) + j17; - if (j14 <= j19) { - j5 = j19 - j18; - } else { - j5 = j19; - j19 = j18 + j19; - } - if (j19 - j14 >= j14 - j5) { - j19 = j5; - } - j14 = j19 - tVar2.l; - } - } - long j20 = (j14 - nanoTime2) / 1000; - boolean z9 = this.j1 != -9223372036854775807L; - if (((j20 > -500000 ? 1 : (j20 == -500000 ? 0 : -1)) < 0) && !z3) { - c.i.a.c.d2.f0 f0Var = this.n; - Objects.requireNonNull(f0Var); - int c2 = f0Var.c(j - this.p); - if (c2 == 0) { - z6 = false; - } else { - c.i.a.c.x1.d dVar = this.L0; - dVar.i++; - int i4 = this.n1 + c2; - if (z9) { - dVar.f += i4; - } else { - V0(i4); - } - if (T()) { - b0(); - } - z6 = true; - } - if (z6) { - return false; - } - } - if (J0(j20) && !z3) { - if (z9) { - U0(rVar, i); - z5 = true; - } else { - d.g("dropVideoBuffer"); - rVar.releaseOutputBuffer(i, false); - d.f0(); - z5 = true; - V0(1); - } - W0(j20); - return z5; - } else if (f0.a >= 21) { - if (j20 >= 50000) { - return false; - } - O0(j4, j14, format); - R0(rVar, i, j14); - W0(j20); - return true; - } else if (j20 >= 30000) { - return false; - } else { - if (j20 > 11000) { - try { - Thread.sleep((j20 - 10000) / 1000); - } catch (InterruptedException unused) { - Thread.currentThread().interrupt(); - return false; - } - } - O0(j4, j14, format); - Q0(rVar, i); - W0(j20); - return true; - } - } - } - z4 = false; - if (!z4) { - } - } else if (!J0(j12)) { - return false; - } else { - U0(rVar, i); - W0(j12); - return true; - } - } else { - U0(rVar, i); - return true; - } - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.g0, c.i.a.c.k1 - public void n(float f, float f2) throws ExoPlaybackException { - super.n(f, f2); - t tVar = this.T0; - tVar.j = f; - tVar.b(); - tVar.f(false); - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - @CallSuper - public void p0() { - super.p0(); - this.n1 = 0; - } - - @Override // c.i.a.c.g0, c.i.a.c.h1.b - public void r(int i, @Nullable Object obj) throws ExoPlaybackException { - int intValue; - if (i == 1) { - Surface surface = (Surface) obj; - if (surface == null) { - Surface surface2 = this.c1; - if (surface2 != null) { - surface = surface2; - } else { - s sVar = this.Y; - if (sVar != null && T0(sVar)) { - surface = DummySurface.c(this.S0, sVar.f); - this.c1 = surface; - } - } - } - if (this.b1 != surface) { - this.b1 = surface; - t tVar = this.T0; - Objects.requireNonNull(tVar); - Surface surface3 = surface instanceof DummySurface ? null : surface; - if (tVar.f != surface3) { - tVar.a(); - tVar.f = surface3; - tVar.f(true); - } - this.d1 = false; - int i2 = this.m; - r rVar = this.R; - if (rVar != null) { - if (f0.a < 23 || surface == null || this.Z0) { - n0(); - b0(); - } else { - rVar.h(surface); - } - } - if (surface == null || surface == this.c1) { - D0(); - C0(); - return; - } - N0(); - C0(); - if (i2 == 2) { - S0(); - } - } else if (surface != null && surface != this.c1) { - N0(); - if (this.d1) { - w.a aVar = this.U0; - Surface surface4 = this.b1; - Handler handler = aVar.a; - if (handler != null) { - handler.post(new d(aVar, surface4)); - } - } - } - } else if (i == 4) { - int intValue2 = ((Integer) obj).intValue(); - this.e1 = intValue2; - r rVar2 = this.R; - if (rVar2 != null) { - rVar2.f(intValue2); - } - } else if (i == 6) { - this.D1 = (s) obj; - } else if (i == 102 && this.B1 != (intValue = ((Integer) obj).intValue())) { - this.B1 = intValue; - if (this.A1) { - n0(); - } - } - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public boolean v0(s sVar) { - return this.b1 != null || T0(sVar); - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public int x0(c.i.a.c.b2.t tVar, Format format) throws MediaCodecUtil.DecoderQueryException { - int i = 0; - if (!c.i.a.c.i2.s.j(format.t)) { - return 0; - } - boolean z2 = format.f2695w != null; - List H0 = H0(tVar, format, z2, false); - if (z2 && H0.isEmpty()) { - H0 = H0(tVar, format, false, false); - } - if (H0.isEmpty()) { - return 1; - } - if (!MediaCodecRenderer.y0(format)) { - return 2; - } - s sVar = H0.get(0); - boolean e = sVar.e(format); - int i2 = sVar.f(format) ? 16 : 8; - if (e) { - List H02 = H0(tVar, format, z2, true); - if (!H02.isEmpty()) { - s sVar2 = H02.get(0); - if (sVar2.e(format) && sVar2.f(format)) { - i = 32; - } - } - } - return (e ? 4 : 3) | i2 | i; - } -} diff --git a/app/src/main/java/c/i/a/c/j2/o.java b/app/src/main/java/c/i/a/c/j2/o.java deleted file mode 100644 index 902fb01a44..0000000000 --- a/app/src/main/java/c/i/a/c/j2/o.java +++ /dev/null @@ -1,94 +0,0 @@ -package c.i.a.c.j2; - -import android.opengl.GLES20; -import android.opengl.GLSurfaceView; -import androidx.work.Data; -import c.c.a.a0.d; -import java.nio.Buffer; -import java.nio.FloatBuffer; -import java.util.Objects; -import java.util.concurrent.atomic.AtomicReference; -import javax.microedition.khronos.egl.EGLConfig; -import javax.microedition.khronos.opengles.GL10; -/* compiled from: VideoDecoderGLFrameRenderer */ -public class o implements GLSurfaceView.Renderer, r { - public static final float[] i = {1.164f, 1.164f, 1.164f, 0.0f, -0.392f, 2.017f, 1.596f, -0.813f, 0.0f}; - public static final float[] j = {1.164f, 1.164f, 1.164f, 0.0f, -0.213f, 2.112f, 1.793f, -0.533f, 0.0f}; - public static final float[] k = {1.168f, 1.168f, 1.168f, 0.0f, -0.188f, 2.148f, 1.683f, -0.652f, 0.0f}; - public static final String[] l = {"y_tex", "u_tex", "v_tex"}; - public static final FloatBuffer m = d.O(new float[]{-1.0f, 1.0f, -1.0f, -1.0f, 1.0f, 1.0f, 1.0f, -1.0f}); - public final int[] n = new int[3]; - public final AtomicReference o = new AtomicReference<>(); - public FloatBuffer[] p = new FloatBuffer[3]; - public int q; - - /* renamed from: r reason: collision with root package name */ - public int[] f984r = new int[3]; - public int s; - public int[] t = new int[3]; - public int[] u = new int[3]; - public q v; - - public o(GLSurfaceView gLSurfaceView) { - for (int i2 = 0; i2 < 3; i2++) { - int[] iArr = this.t; - this.u[i2] = -1; - iArr[i2] = -1; - } - } - - @Override // android.opengl.GLSurfaceView.Renderer - public void onDrawFrame(GL10 gl10) { - q andSet = this.o.getAndSet(null); - if (andSet != null || this.v != null) { - if (andSet != null) { - q qVar = this.v; - if (qVar != null) { - Objects.requireNonNull(qVar); - throw null; - } - this.v = andSet; - } - Objects.requireNonNull(this.v); - GLES20.glUniformMatrix3fv(this.s, 1, false, j, 0); - Objects.requireNonNull(null); - throw null; - } - } - - @Override // android.opengl.GLSurfaceView.Renderer - public void onSurfaceChanged(GL10 gl10, int i2, int i3) { - GLES20.glViewport(0, 0, i2, i3); - } - - @Override // android.opengl.GLSurfaceView.Renderer - public void onSurfaceCreated(GL10 gl10, EGLConfig eGLConfig) { - int K = d.K("varying vec2 interp_tc_y;\nvarying vec2 interp_tc_u;\nvarying vec2 interp_tc_v;\nattribute vec4 in_pos;\nattribute vec2 in_tc_y;\nattribute vec2 in_tc_u;\nattribute vec2 in_tc_v;\nvoid main() {\n gl_Position = in_pos;\n interp_tc_y = in_tc_y;\n interp_tc_u = in_tc_u;\n interp_tc_v = in_tc_v;\n}\n", "precision mediump float;\nvarying vec2 interp_tc_y;\nvarying vec2 interp_tc_u;\nvarying vec2 interp_tc_v;\nuniform sampler2D y_tex;\nuniform sampler2D u_tex;\nuniform sampler2D v_tex;\nuniform mat3 mColorConversion;\nvoid main() {\n vec3 yuv;\n yuv.x = texture2D(y_tex, interp_tc_y).r - 0.0625;\n yuv.y = texture2D(u_tex, interp_tc_u).r - 0.5;\n yuv.z = texture2D(v_tex, interp_tc_v).r - 0.5;\n gl_FragColor = vec4(mColorConversion * yuv, 1.0);\n}\n"); - this.q = K; - GLES20.glUseProgram(K); - int glGetAttribLocation = GLES20.glGetAttribLocation(this.q, "in_pos"); - GLES20.glEnableVertexAttribArray(glGetAttribLocation); - GLES20.glVertexAttribPointer(glGetAttribLocation, 2, 5126, false, 0, (Buffer) m); - this.f984r[0] = GLES20.glGetAttribLocation(this.q, "in_tc_y"); - GLES20.glEnableVertexAttribArray(this.f984r[0]); - this.f984r[1] = GLES20.glGetAttribLocation(this.q, "in_tc_u"); - GLES20.glEnableVertexAttribArray(this.f984r[1]); - this.f984r[2] = GLES20.glGetAttribLocation(this.q, "in_tc_v"); - GLES20.glEnableVertexAttribArray(this.f984r[2]); - d.r(); - this.s = GLES20.glGetUniformLocation(this.q, "mColorConversion"); - d.r(); - GLES20.glGenTextures(3, this.n, 0); - for (int i2 = 0; i2 < 3; i2++) { - GLES20.glUniform1i(GLES20.glGetUniformLocation(this.q, l[i2]), i2); - GLES20.glActiveTexture(33984 + i2); - GLES20.glBindTexture(3553, this.n[i2]); - GLES20.glTexParameterf(3553, 10241, 9729.0f); - GLES20.glTexParameterf(3553, Data.MAX_DATA_BYTES, 9729.0f); - GLES20.glTexParameterf(3553, 10242, 33071.0f); - GLES20.glTexParameterf(3553, 10243, 33071.0f); - } - d.r(); - d.r(); - } -} diff --git a/app/src/main/java/c/i/a/c/j2/p.java b/app/src/main/java/c/i/a/c/j2/p.java deleted file mode 100644 index ac4137bb1f..0000000000 --- a/app/src/main/java/c/i/a/c/j2/p.java +++ /dev/null @@ -1,22 +0,0 @@ -package c.i.a.c.j2; - -import android.content.Context; -import android.opengl.GLSurfaceView; -/* compiled from: VideoDecoderGLSurfaceView */ -public class p extends GLSurfaceView { - public final o i; - - public p(Context context) { - super(context, null); - o oVar = new o(this); - this.i = oVar; - setPreserveEGLContextOnPause(true); - setEGLContextClientVersion(2); - setRenderer(oVar); - setRenderMode(0); - } - - public r getVideoDecoderOutputBufferRenderer() { - return this.i; - } -} diff --git a/app/src/main/java/c/i/a/c/j2/q.java b/app/src/main/java/c/i/a/c/j2/q.java deleted file mode 100644 index 86ad38110f..0000000000 --- a/app/src/main/java/c/i/a/c/j2/q.java +++ /dev/null @@ -1,10 +0,0 @@ -package c.i.a.c.j2; - -import c.i.a.c.x1.f; -/* compiled from: VideoDecoderOutputBuffer */ -public class q extends f { - @Override // c.i.a.c.x1.f - public void p() { - throw null; - } -} diff --git a/app/src/main/java/c/i/a/c/j2/r.java b/app/src/main/java/c/i/a/c/j2/r.java deleted file mode 100644 index def28d2cba..0000000000 --- a/app/src/main/java/c/i/a/c/j2/r.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.a.c.j2; -/* compiled from: VideoDecoderOutputBufferRenderer */ -public interface r { -} diff --git a/app/src/main/java/c/i/a/c/j2/s.java b/app/src/main/java/c/i/a/c/j2/s.java deleted file mode 100644 index d2b4b1afc8..0000000000 --- a/app/src/main/java/c/i/a/c/j2/s.java +++ /dev/null @@ -1,9 +0,0 @@ -package c.i.a.c.j2; - -import android.media.MediaFormat; -import androidx.annotation.Nullable; -import com.google.android.exoplayer2.Format; -/* compiled from: VideoFrameMetadataListener */ -public interface s { - void c(long j, long j2, Format format, @Nullable MediaFormat mediaFormat); -} diff --git a/app/src/main/java/c/i/a/c/j2/t.java b/app/src/main/java/c/i/a/c/j2/t.java deleted file mode 100644 index 62ec09742a..0000000000 --- a/app/src/main/java/c/i/a/c/j2/t.java +++ /dev/null @@ -1,270 +0,0 @@ -package c.i.a.c.j2; - -import android.content.Context; -import android.hardware.display.DisplayManager; -import android.os.Handler; -import android.os.HandlerThread; -import android.os.Looper; -import android.os.Message; -import android.util.Log; -import android.view.Choreographer; -import android.view.Display; -import android.view.Surface; -import android.view.WindowManager; -import androidx.annotation.Nullable; -import androidx.annotation.RequiresApi; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.p; -import c.i.a.c.j2.l; -import java.util.Objects; -/* compiled from: VideoFrameReleaseHelper */ -public final class t { - public final l a = new l(); - @Nullable - public final WindowManager b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public final b f985c; - @Nullable - public final a d; - public boolean e; - @Nullable - public Surface f; - public float g; - public float h; - public float i; - public float j; - public long k; - public long l; - public long m; - public long n; - public long o; - public long p; - public long q; - - /* compiled from: VideoFrameReleaseHelper */ - @RequiresApi(17) - public final class a implements DisplayManager.DisplayListener { - public final DisplayManager a; - - public a(DisplayManager displayManager) { - this.a = displayManager; - } - - @Override // android.hardware.display.DisplayManager.DisplayListener - public void onDisplayAdded(int i) { - } - - @Override // android.hardware.display.DisplayManager.DisplayListener - public void onDisplayChanged(int i) { - if (i == 0) { - t.this.d(); - } - } - - @Override // android.hardware.display.DisplayManager.DisplayListener - public void onDisplayRemoved(int i) { - } - } - - /* compiled from: VideoFrameReleaseHelper */ - public static final class b implements Choreographer.FrameCallback, Handler.Callback { - public static final b i = new b(); - public volatile long j = -9223372036854775807L; - public final Handler k; - public final HandlerThread l; - public Choreographer m; - public int n; - - public b() { - HandlerThread handlerThread = new HandlerThread("ExoPlayer:FrameReleaseChoreographer"); - this.l = handlerThread; - handlerThread.start(); - Looper looper = handlerThread.getLooper(); - int i2 = f0.a; - Handler handler = new Handler(looper, this); - this.k = handler; - handler.sendEmptyMessage(0); - } - - @Override // android.view.Choreographer.FrameCallback - public void doFrame(long j) { - this.j = j; - Choreographer choreographer = this.m; - Objects.requireNonNull(choreographer); - choreographer.postFrameCallbackDelayed(this, 500); - } - - @Override // android.os.Handler.Callback - public boolean handleMessage(Message message) { - int i2 = message.what; - if (i2 == 0) { - this.m = Choreographer.getInstance(); - return true; - } else if (i2 == 1) { - int i3 = this.n + 1; - this.n = i3; - if (i3 == 1) { - Choreographer choreographer = this.m; - Objects.requireNonNull(choreographer); - choreographer.postFrameCallback(this); - } - return true; - } else if (i2 != 2) { - return false; - } else { - int i4 = this.n - 1; - this.n = i4; - if (i4 == 0) { - Choreographer choreographer2 = this.m; - Objects.requireNonNull(choreographer2); - choreographer2.removeFrameCallback(this); - this.j = -9223372036854775807L; - } - return true; - } - } - } - - public t(@Nullable Context context) { - a aVar = null; - if (context != null) { - context = context.getApplicationContext(); - this.b = (WindowManager) context.getSystemService("window"); - } else { - this.b = null; - } - if (this.b != null) { - if (f0.a >= 17) { - Objects.requireNonNull(context); - DisplayManager displayManager = (DisplayManager) context.getSystemService("display"); - if (displayManager != null) { - aVar = new a(displayManager); - } - } - this.d = aVar; - this.f985c = b.i; - } else { - this.d = null; - this.f985c = null; - } - this.k = -9223372036854775807L; - this.l = -9223372036854775807L; - this.g = -1.0f; - this.j = 1.0f; - } - - @RequiresApi(30) - public static void c(Surface surface, float f) { - try { - surface.setFrameRate(f, f == 0.0f ? 0 : 1); - } catch (IllegalStateException e) { - p.b("VideoFrameReleaseHelper", "Failed to call Surface.setFrameRate", e); - } - } - - public final void a() { - Surface surface; - if (f0.a >= 30 && (surface = this.f) != null && this.i != 0.0f) { - this.i = 0.0f; - c(surface, 0.0f); - } - } - - public final void b() { - this.m = 0; - this.p = -1; - this.n = -1; - } - - public final void d() { - WindowManager windowManager = this.b; - Objects.requireNonNull(windowManager); - Display defaultDisplay = windowManager.getDefaultDisplay(); - if (defaultDisplay != null) { - long refreshRate = (long) (1.0E9d / ((double) defaultDisplay.getRefreshRate())); - this.k = refreshRate; - this.l = (refreshRate * 80) / 100; - return; - } - Log.w("VideoFrameReleaseHelper", "Unable to query display refresh rate"); - this.k = -9223372036854775807L; - this.l = -9223372036854775807L; - } - - /* JADX WARNING: Code restructure failed: missing block: B:35:0x0083, code lost: - if (java.lang.Math.abs(r0 - r10.h) < (!r1 ? 0.02f : 1.0f)) goto L_0x0086; - */ - /* JADX WARNING: Code restructure failed: missing block: B:39:0x008f, code lost: - if (r10.a.e >= 30) goto L_0x0091; - */ - /* JADX WARNING: Removed duplicated region for block: B:32:0x0073 */ - /* JADX WARNING: Removed duplicated region for block: B:33:0x0077 */ - /* JADX WARNING: Removed duplicated region for block: B:41:0x0093 */ - /* JADX WARNING: Removed duplicated region for block: B:44:? A[RETURN, SYNTHETIC] */ - public final void e() { - float f; - boolean z2; - if (f0.a >= 30 && this.f != null) { - if (this.a.a()) { - l lVar = this.a; - if (lVar.a()) { - l.a aVar = lVar.a; - long j = aVar.e; - long j2 = 0; - if (j != 0) { - j2 = aVar.f / j; - } - f = (float) (1.0E9d / ((double) j2)); - } else { - f = -1.0f; - } - } else { - f = this.g; - } - float f2 = this.h; - if (f != f2) { - boolean z3 = true; - int i = (f > -1.0f ? 1 : (f == -1.0f ? 0 : -1)); - if (i == 0 || f2 == -1.0f) { - if (i == 0) { - } - if (!z3) { - this.h = f; - f(false); - return; - } - return; - } - if (this.a.a()) { - l lVar2 = this.a; - if ((lVar2.a() ? lVar2.a.f : -9223372036854775807L) >= 5000000000L) { - z2 = true; - } - } - z2 = false; - z3 = false; - if (!z3) { - } - } - } - } - - public final void f(boolean z2) { - Surface surface; - if (f0.a >= 30 && (surface = this.f) != null) { - float f = 0.0f; - if (this.e) { - float f2 = this.h; - if (f2 != -1.0f) { - f = this.j * f2; - } - } - if (z2 || this.i != f) { - this.i = f; - c(surface, f); - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/j2/u.java b/app/src/main/java/c/i/a/c/j2/u.java deleted file mode 100644 index 6efb398a5d..0000000000 --- a/app/src/main/java/c/i/a/c/j2/u.java +++ /dev/null @@ -1,6 +0,0 @@ -package c.i.a.c.j2; -/* compiled from: VideoListener */ -public final /* synthetic */ class u { - public static void a(v vVar, int i, int i2) { - } -} diff --git a/app/src/main/java/c/i/a/c/j2/v.java b/app/src/main/java/c/i/a/c/j2/v.java deleted file mode 100644 index 20113b70cd..0000000000 --- a/app/src/main/java/c/i/a/c/j2/v.java +++ /dev/null @@ -1,9 +0,0 @@ -package c.i.a.c.j2; -/* compiled from: VideoListener */ -public interface v { - void b(int i, int i2, int i3, float f); - - void c(); - - void g(int i, int i2); -} diff --git a/app/src/main/java/c/i/a/c/j2/w.java b/app/src/main/java/c/i/a/c/j2/w.java deleted file mode 100644 index 83112257e0..0000000000 --- a/app/src/main/java/c/i/a/c/j2/w.java +++ /dev/null @@ -1,55 +0,0 @@ -package c.i.a.c.j2; - -import android.os.Handler; -import android.view.Surface; -import androidx.annotation.Nullable; -import c.i.a.c.x1.d; -import c.i.a.c.x1.e; -import com.google.android.exoplayer2.Format; -import java.util.Objects; -/* compiled from: VideoRendererEventListener */ -public interface w { - - /* compiled from: VideoRendererEventListener */ - public static final class a { - @Nullable - public final Handler a; - @Nullable - public final w b; - - public a(@Nullable Handler handler, @Nullable w wVar) { - if (wVar != null) { - Objects.requireNonNull(handler); - } else { - handler = null; - } - this.a = handler; - this.b = wVar; - } - - public void a(int i, int i2, int i3, float f) { - Handler handler = this.a; - if (handler != null) { - handler.post(new h(this, i, i2, i3, f)); - } - } - } - - void I(d dVar); - - void J(Format format, @Nullable e eVar); - - void P(d dVar); - - void V(long j, int i); - - void b(int i, int i2, int i3, float f); - - void g(String str); - - void j(String str, long j, long j2); - - void s(@Nullable Surface surface); - - void x(int i, long j); -} diff --git a/app/src/main/java/c/i/a/c/j2/x/a.java b/app/src/main/java/c/i/a/c/j2/x/a.java deleted file mode 100644 index 466c9910ed..0000000000 --- a/app/src/main/java/c/i/a/c/j2/x/a.java +++ /dev/null @@ -1,7 +0,0 @@ -package c.i.a.c.j2.x; -/* compiled from: CameraMotionListener */ -public interface a { - void a(long j, float[] fArr); - - void b(); -} diff --git a/app/src/main/java/c/i/a/c/j2/x/b.java b/app/src/main/java/c/i/a/c/j2/x/b.java deleted file mode 100644 index d28c9e081a..0000000000 --- a/app/src/main/java/c/i/a/c/j2/x/b.java +++ /dev/null @@ -1,109 +0,0 @@ -package c.i.a.c.j2.x; - -import androidx.annotation.Nullable; -import c.i.a.c.g0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.decoder.DecoderInputBuffer; -import java.nio.ByteBuffer; -/* compiled from: CameraMotionRenderer */ -public final class b extends g0 { - public final DecoderInputBuffer t = new DecoderInputBuffer(1); - public final w u = new w(); - public long v; - @Nullable - - /* renamed from: w reason: collision with root package name */ - public a f986w; - - /* renamed from: x reason: collision with root package name */ - public long f987x; - - public b() { - super(6); - } - - @Override // c.i.a.c.g0 - public void B() { - a aVar = this.f986w; - if (aVar != null) { - aVar.b(); - } - } - - @Override // c.i.a.c.g0 - public void D(long j, boolean z2) { - this.f987x = Long.MIN_VALUE; - a aVar = this.f986w; - if (aVar != null) { - aVar.b(); - } - } - - @Override // c.i.a.c.g0 - public void H(Format[] formatArr, long j, long j2) { - this.v = j2; - } - - @Override // c.i.a.c.l1 - public int a(Format format) { - return "application/x-camera-motion".equals(format.t) ? 4 : 0; - } - - @Override // c.i.a.c.k1 - public boolean b() { - return i(); - } - - @Override // c.i.a.c.k1 - public boolean d() { - return true; - } - - @Override // c.i.a.c.k1, c.i.a.c.l1 - public String getName() { - return "CameraMotionRenderer"; - } - - @Override // c.i.a.c.k1 - public void q(long j, long j2) { - float[] fArr; - while (!i() && this.f987x < 100000 + j) { - this.t.p(); - if (I(A(), this.t, false) == -4 && !this.t.n()) { - DecoderInputBuffer decoderInputBuffer = this.t; - this.f987x = decoderInputBuffer.m; - if (this.f986w != null && !decoderInputBuffer.m()) { - this.t.s(); - ByteBuffer byteBuffer = this.t.k; - int i = f0.a; - if (byteBuffer.remaining() != 16) { - fArr = null; - } else { - this.u.B(byteBuffer.array(), byteBuffer.limit()); - this.u.D(byteBuffer.arrayOffset() + 4); - float[] fArr2 = new float[3]; - for (int i2 = 0; i2 < 3; i2++) { - fArr2[i2] = Float.intBitsToFloat(this.u.h()); - } - fArr = fArr2; - } - if (fArr != null) { - this.f986w.a(this.f987x - this.v, fArr); - } - } - } else { - return; - } - } - } - - @Override // c.i.a.c.g0, c.i.a.c.h1.b - public void r(int i, @Nullable Object obj) throws ExoPlaybackException { - if (i == 7) { - this.f986w = (a) obj; - } - } -} diff --git a/app/src/main/java/c/i/a/c/j2/x/c.java b/app/src/main/java/c/i/a/c/j2/x/c.java deleted file mode 100644 index f495d3ee67..0000000000 --- a/app/src/main/java/c/i/a/c/j2/x/c.java +++ /dev/null @@ -1,22 +0,0 @@ -package c.i.a.c.j2.x; - -import android.opengl.Matrix; -import c.i.a.c.i2.d0; -/* compiled from: FrameRotationQueue */ -public final class c { - public final float[] a = new float[16]; - public final float[] b = new float[16]; - - /* renamed from: c reason: collision with root package name */ - public final d0 f988c = new d0<>(); - public boolean d; - - public static void a(float[] fArr, float[] fArr2) { - Matrix.setIdentityM(fArr, 0); - float sqrt = (float) Math.sqrt((double) ((fArr2[8] * fArr2[8]) + (fArr2[10] * fArr2[10]))); - fArr[0] = fArr2[10] / sqrt; - fArr[2] = fArr2[8] / sqrt; - fArr[8] = (-fArr2[8]) / sqrt; - fArr[10] = fArr2[10] / sqrt; - } -} diff --git a/app/src/main/java/c/i/a/c/j2/x/d.java b/app/src/main/java/c/i/a/c/j2/x/d.java deleted file mode 100644 index 67d643666e..0000000000 --- a/app/src/main/java/c/i/a/c/j2/x/d.java +++ /dev/null @@ -1,51 +0,0 @@ -package c.i.a.c.j2.x; -/* compiled from: Projection */ -public final class d { - public final a a; - public final a b; - - /* renamed from: c reason: collision with root package name */ - public final int f989c; - public final boolean d; - - /* compiled from: Projection */ - public static final class a { - public final b[] a; - - public a(b... bVarArr) { - this.a = bVarArr; - } - } - - /* compiled from: Projection */ - public static final class b { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final float[] f990c; - public final float[] d; - - public b(int i, float[] fArr, float[] fArr2, int i2) { - this.a = i; - c.c.a.a0.d.k(((long) fArr.length) * 2 == ((long) fArr2.length) * 3); - this.f990c = fArr; - this.d = fArr2; - this.b = i2; - } - } - - public d(a aVar, int i) { - this.a = aVar; - this.b = aVar; - this.f989c = i; - this.d = aVar == aVar; - } - - public d(a aVar, a aVar2, int i) { - this.a = aVar; - this.b = aVar2; - this.f989c = i; - this.d = aVar == aVar2; - } -} diff --git a/app/src/main/java/c/i/a/c/k.java b/app/src/main/java/c/i/a/c/k.java index a62ca2b439..0769f22d73 100644 --- a/app/src/main/java/c/i/a/c/k.java +++ b/app/src/main/java/c/i/a/c/k.java @@ -1,17 +1,17 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class k implements o.a { - public final /* synthetic */ c1 a; +public final /* synthetic */ class k implements p.a { + public final /* synthetic */ int a; - public /* synthetic */ k(c1 c1Var) { - this.a = c1Var; + public /* synthetic */ k(int i) { + this.a = i; } - @Override // c.i.a.c.i2.o.a + @Override // c.i.a.c.f3.p.a public final void invoke(Object obj) { - ((g1.a) obj).r(this.a.e); + ((y1.c) obj).L(this.a); } } diff --git a/app/src/main/java/c/i/a/c/k0.java b/app/src/main/java/c/i/a/c/k0.java index 81433eea9c..ec6f12f11e 100644 --- a/app/src/main/java/c/i/a/c/k0.java +++ b/app/src/main/java/c/i/a/c/k0.java @@ -1,62 +1,22 @@ package c.i.a.c; -/* compiled from: DefaultLivePlaybackSpeedControl */ -public final class k0 implements t0 { - public final long a; - public final long b; - /* renamed from: c reason: collision with root package name */ - public final float f991c; - public long d = -9223372036854775807L; - public long e = -9223372036854775807L; - public long f; - public long g = -9223372036854775807L; - public long h = -9223372036854775807L; - public long i; - public float j; - public float k; - public float l; - public long m; - public long n; - public long o; +import android.os.Bundle; +import c.i.a.c.o1; +import c.i.a.c.w0; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class k0 implements w0.a { + public static final /* synthetic */ k0 a = new k0(); - public k0(float f, float f2, long j, float f3, long j2, long j3, float f4, a aVar) { - this.a = j2; - this.b = j3; - this.f991c = f4; - this.k = f; - this.j = f2; - this.l = 1.0f; - this.m = -9223372036854775807L; - this.f = -9223372036854775807L; - this.i = -9223372036854775807L; - this.n = -9223372036854775807L; - this.o = -9223372036854775807L; - } - - public final void a() { - long j = this.d; - if (j != -9223372036854775807L) { - long j2 = this.e; - if (j2 != -9223372036854775807L) { - j = j2; - } - long j3 = this.g; - if (j3 != -9223372036854775807L && j < j3) { - j = j3; - } - long j4 = this.h; - if (j4 != -9223372036854775807L && j > j4) { - j = j4; - } - } else { - j = -9223372036854775807L; - } - if (this.f != j) { - this.f = j; - this.i = j; - this.n = -9223372036854775807L; - this.o = -9223372036854775807L; - this.m = -9223372036854775807L; - } + @Override // c.i.a.c.w0.a + public final w0 a(Bundle bundle) { + String string = bundle.getString(o1.a(0), ""); + Objects.requireNonNull(string); + Bundle bundle2 = bundle.getBundle(o1.a(1)); + o1.g a2 = bundle2 == null ? o1.g.i : o1.g.j.a(bundle2); + Bundle bundle3 = bundle.getBundle(o1.a(2)); + p1 a3 = bundle3 == null ? p1.i : p1.j.a(bundle3); + Bundle bundle4 = bundle.getBundle(o1.a(3)); + return new o1(string, bundle4 == null ? o1.e.o : o1.d.i.a(bundle4), null, a2, a3); } } diff --git a/app/src/main/java/c/i/a/c/k1.java b/app/src/main/java/c/i/a/c/k1.java index ed58adf959..93c26b8da4 100644 --- a/app/src/main/java/c/i/a/c/k1.java +++ b/app/src/main/java/c/i/a/c/k1.java @@ -1,68 +1,16 @@ package c.i.a.c; import androidx.annotation.Nullable; -import c.i.a.c.d2.f0; -import c.i.a.c.h1; -import c.i.a.c.i2.r; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.Format; -import java.io.IOException; -/* compiled from: Renderer */ -public interface k1 extends h1.b { +import com.google.android.exoplayer2.drm.DrmSession; +/* compiled from: FormatHolder */ +public final class k1 { + @Nullable + public DrmSession a; + @Nullable + public j1 b; - /* compiled from: Renderer */ - public interface a { - void a(); - - void b(long j); + public void a() { + this.a = null; + this.b = null; } - - boolean b(); - - boolean d(); - - void f(int i); - - void g(); - - @Override // c.i.a.c.l1 - String getName(); - - int getState(); - - @Nullable - f0 h(); - - boolean i(); - - void j(Format[] formatArr, f0 f0Var, long j, long j2) throws ExoPlaybackException; - - void k(); - - l1 l(); - - void n(float f, float f2) throws ExoPlaybackException; - - void o(m1 m1Var, Format[] formatArr, f0 f0Var, long j, boolean z2, boolean z3, long j2, long j3) throws ExoPlaybackException; - - void q(long j, long j2) throws ExoPlaybackException; - - void reset(); - - void s() throws IOException; - - void start() throws ExoPlaybackException; - - void stop(); - - long t(); - - void u(long j) throws ExoPlaybackException; - - boolean v(); - - @Nullable - r w(); - - int x(); } diff --git a/app/src/main/java/c/i/a/c/k2.java b/app/src/main/java/c/i/a/c/k2.java new file mode 100644 index 0000000000..eefc90c195 --- /dev/null +++ b/app/src/main/java/c/i/a/c/k2.java @@ -0,0 +1,1137 @@ +package c.i.a.c; + +import android.content.Context; +import android.graphics.Rect; +import android.graphics.SurfaceTexture; +import android.media.AudioManager; +import android.media.AudioTrack; +import android.media.MediaFormat; +import android.os.Handler; +import android.os.Looper; +import android.util.Log; +import android.util.SparseBooleanArray; +import android.view.Surface; +import android.view.SurfaceHolder; +import android.view.SurfaceView; +import android.view.TextureView; +import androidx.annotation.Nullable; +import androidx.core.view.PointerIconCompat; +import c.i.a.c.a3.o0; +import c.i.a.c.b2; +import c.i.a.c.b3.l; +import c.i.a.c.c3.n; +import c.i.a.c.e1; +import c.i.a.c.f3.b0; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.j; +import c.i.a.c.f3.p; +import c.i.a.c.g3.t; +import c.i.a.c.g3.u; +import c.i.a.c.g3.w; +import c.i.a.c.g3.x; +import c.i.a.c.g3.y; +import c.i.a.c.g3.z.d; +import c.i.a.c.g3.z.k; +import c.i.a.c.m2; +import c.i.a.c.p1; +import c.i.a.c.s0; +import c.i.a.c.s2.g1; +import c.i.a.c.s2.h1; +import c.i.a.c.t0; +import c.i.a.c.t2.o; +import c.i.a.c.t2.q; +import c.i.a.c.t2.r; +import c.i.a.c.v2.g; +import c.i.a.c.y1; +import c.i.a.c.z2.e; +import com.discord.utilities.rest.SendUtils; +import com.google.android.exoplayer2.ExoPlaybackException; +import com.google.android.exoplayer2.ExoTimeoutException; +import com.google.android.exoplayer2.PlaybackException; +import com.google.android.exoplayer2.metadata.Metadata; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.concurrent.CopyOnWriteArraySet; +import java.util.concurrent.TimeoutException; +import org.webrtc.MediaStreamTrack; +/* compiled from: SimpleExoPlayer */ +@Deprecated +public class k2 extends u0 implements e1 { + public o A; + public float B; + public boolean C; + public List D; + public boolean E; + public boolean F; + public boolean G; + public c1 H; + public y I; + public final f2[] b; + + /* renamed from: c reason: collision with root package name */ + public final j f829c = new j(); + public final Context d; + public final f1 e; + public final b f; + public final c g; + public final CopyOnWriteArraySet h; + public final g1 i; + public final s0 j; + public final t0 k; + public final m2 l; + public final q2 m; + public final r2 n; + public final long o; + @Nullable + public AudioTrack p; + @Nullable + public Object q; + @Nullable + public Surface r; + @Nullable + + /* renamed from: s reason: collision with root package name */ + public SurfaceHolder f830s; + @Nullable + public k t; + public boolean u; + @Nullable + public TextureView v; + public int w; + + /* renamed from: x reason: collision with root package name */ + public int f831x; + + /* renamed from: y reason: collision with root package name */ + public int f832y; + + /* renamed from: z reason: collision with root package name */ + public int f833z; + + /* compiled from: SimpleExoPlayer */ + public final class b implements x, r, l, e, SurfaceHolder.Callback, TextureView.SurfaceTextureListener, k.b, t0.b, s0.b, m2.b, y1.c, e1.a { + public b(a aVar) { + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void A(p1 p1Var) { + z1.f(this, p1Var); + } + + @Override // c.i.a.c.t2.r + public void B(String str) { + k2.this.i.B(str); + } + + @Override // c.i.a.c.t2.r + public void C(String str, long j, long j2) { + k2.this.i.C(str, j, j2); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void D(boolean z2) { + z1.p(this, z2); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void E(y1 y1Var, y1.d dVar) { + z1.b(this, y1Var, dVar); + } + + @Override // c.i.a.c.g3.x + public void F(int i, long j) { + k2.this.i.F(i, j); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void H(boolean z2, int i) { + z1.k(this, z2, i); + } + + @Override // c.i.a.c.t2.r + public void I(j1 j1Var, @Nullable g gVar) { + Objects.requireNonNull(k2.this); + k2.this.i.I(j1Var, gVar); + } + + @Override // c.i.a.c.g3.x + public void K(Object obj, long j) { + k2.this.i.K(obj, j); + k2 k2Var = k2.this; + if (k2Var.q == obj) { + Iterator it = k2Var.h.iterator(); + while (it.hasNext()) { + it.next().c(); + } + } + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void L(int i) { + z1.n(this, i); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void M(o1 o1Var, int i) { + z1.e(this, o1Var, i); + } + + @Override // c.i.a.c.t2.r + public void N(Exception exc) { + k2.this.i.N(exc); + } + + @Override // c.i.a.c.g3.x + public /* synthetic */ void O(j1 j1Var) { + w.a(this, j1Var); + } + + @Override // c.i.a.c.g3.x + public void P(c.i.a.c.v2.e eVar) { + Objects.requireNonNull(k2.this); + k2.this.i.P(eVar); + } + + @Override // c.i.a.c.g3.x + public void Q(j1 j1Var, @Nullable g gVar) { + Objects.requireNonNull(k2.this); + k2.this.i.Q(j1Var, gVar); + } + + @Override // c.i.a.c.t2.r + public void R(long j) { + k2.this.i.R(j); + } + + @Override // c.i.a.c.t2.r + public void T(Exception exc) { + k2.this.i.T(exc); + } + + @Override // c.i.a.c.t2.r + public /* synthetic */ void U(j1 j1Var) { + q.a(this, j1Var); + } + + @Override // c.i.a.c.g3.x + public void V(Exception exc) { + k2.this.i.V(exc); + } + + @Override // c.i.a.c.y1.c + public void W(boolean z2, int i) { + k2.d0(k2.this); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void Y(o0 o0Var, n nVar) { + z1.r(this, o0Var, nVar); + } + + @Override // c.i.a.c.g3.x + public void Z(c.i.a.c.v2.e eVar) { + k2.this.i.Z(eVar); + Objects.requireNonNull(k2.this); + Objects.requireNonNull(k2.this); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void a() { + z1.o(this); + } + + @Override // c.i.a.c.z2.e + public void b(Metadata metadata) { + k2.this.i.b(metadata); + f1 f1Var = k2.this.e; + p1.b a = f1Var.E.a(); + int i = 0; + while (true) { + Metadata.Entry[] entryArr = metadata.i; + if (i >= entryArr.length) { + break; + } + entryArr[i].n(a); + i++; + } + f1Var.E = a.a(); + p1 e02 = f1Var.e0(); + if (!e02.equals(f1Var.D)) { + f1Var.D = e02; + p pVar = f1Var.j; + pVar.b(14, new j(f1Var)); + pVar.a(); + } + Iterator it = k2.this.h.iterator(); + while (it.hasNext()) { + it.next().b(metadata); + } + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void b0(x1 x1Var) { + z1.g(this, x1Var); + } + + @Override // c.i.a.c.t2.r + public void d(boolean z2) { + k2 k2Var = k2.this; + if (k2Var.C != z2) { + k2Var.C = z2; + k2Var.i.d(z2); + Iterator it = k2Var.h.iterator(); + while (it.hasNext()) { + it.next().d(k2Var.C); + } + } + } + + @Override // c.i.a.c.b3.l + public void e(List list) { + k2 k2Var = k2.this; + k2Var.D = list; + Iterator it = k2Var.h.iterator(); + while (it.hasNext()) { + it.next().e(list); + } + } + + @Override // c.i.a.c.t2.r + public void e0(int i, long j, long j2) { + k2.this.i.e0(i, j, j2); + } + + @Override // c.i.a.c.g3.x + public void f(y yVar) { + k2 k2Var = k2.this; + k2Var.I = yVar; + k2Var.i.f(yVar); + Iterator it = k2.this.h.iterator(); + while (it.hasNext()) { + it.next().f(yVar); + } + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void f0(PlaybackException playbackException) { + z1.j(this, playbackException); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void g(y1.f fVar, y1.f fVar2, int i) { + z1.m(this, fVar, fVar2, i); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void h(int i) { + z1.h(this, i); + } + + @Override // c.i.a.c.g3.x + public void h0(long j, int i) { + k2.this.i.h0(j, i); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void i(boolean z2) { + z1.d(this, z2); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void j(int i) { + z1.l(this, i); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void j0(boolean z2) { + z1.c(this, z2); + } + + @Override // c.i.a.c.t2.r + public void k(c.i.a.c.v2.e eVar) { + k2.this.i.k(eVar); + Objects.requireNonNull(k2.this); + Objects.requireNonNull(k2.this); + } + + @Override // c.i.a.c.g3.x + public void l(String str) { + k2.this.i.l(str); + } + + @Override // c.i.a.c.t2.r + public void m(c.i.a.c.v2.e eVar) { + Objects.requireNonNull(k2.this); + k2.this.i.m(eVar); + } + + @Override // c.i.a.c.g3.x + public void n(String str, long j, long j2) { + k2.this.i.n(str, j, j2); + } + + @Override // c.i.a.c.e1.a + public void o(boolean z2) { + k2.d0(k2.this); + } + + @Override // android.view.TextureView.SurfaceTextureListener + public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int i, int i2) { + k2 k2Var = k2.this; + Objects.requireNonNull(k2Var); + Surface surface = new Surface(surfaceTexture); + k2Var.l0(surface); + k2Var.r = surface; + k2.this.h0(i, i2); + } + + @Override // android.view.TextureView.SurfaceTextureListener + public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { + k2.this.l0(null); + k2.this.h0(0, 0); + return true; + } + + @Override // android.view.TextureView.SurfaceTextureListener + public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int i, int i2) { + k2.this.h0(i, i2); + } + + @Override // android.view.TextureView.SurfaceTextureListener + public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void p(p2 p2Var) { + z1.s(this, p2Var); + } + + @Override // c.i.a.c.g3.z.k.b + public void q(Surface surface) { + k2.this.l0(null); + } + + @Override // c.i.a.c.y1.c + public void r(boolean z2) { + Objects.requireNonNull(k2.this); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void s(PlaybackException playbackException) { + z1.i(this, playbackException); + } + + @Override // android.view.SurfaceHolder.Callback + public void surfaceChanged(SurfaceHolder surfaceHolder, int i, int i2, int i3) { + k2.this.h0(i2, i3); + } + + @Override // android.view.SurfaceHolder.Callback + public void surfaceCreated(SurfaceHolder surfaceHolder) { + k2 k2Var = k2.this; + if (k2Var.u) { + k2Var.l0(surfaceHolder.getSurface()); + } + } + + @Override // android.view.SurfaceHolder.Callback + public void surfaceDestroyed(SurfaceHolder surfaceHolder) { + k2 k2Var = k2.this; + if (k2Var.u) { + k2Var.l0(null); + } + k2.this.h0(0, 0); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void t(y1.b bVar) { + z1.a(this, bVar); + } + + @Override // c.i.a.c.g3.z.k.b + public void u(Surface surface) { + k2.this.l0(surface); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void v(o2 o2Var, int i) { + z1.q(this, o2Var, i); + } + + @Override // c.i.a.c.e1.a + public /* synthetic */ void x(boolean z2) { + d1.a(this, z2); + } + + @Override // c.i.a.c.y1.c + public void y(int i) { + k2.d0(k2.this); + } + } + + /* compiled from: SimpleExoPlayer */ + public static final class c implements u, d, b2.b { + @Nullable + public u i; + @Nullable + public d j; + @Nullable + public u k; + @Nullable + public d l; + + public c(a aVar) { + } + + @Override // c.i.a.c.g3.z.d + public void a(long j, float[] fArr) { + d dVar = this.l; + if (dVar != null) { + dVar.a(j, fArr); + } + d dVar2 = this.j; + if (dVar2 != null) { + dVar2.a(j, fArr); + } + } + + @Override // c.i.a.c.g3.z.d + public void c() { + d dVar = this.l; + if (dVar != null) { + dVar.c(); + } + d dVar2 = this.j; + if (dVar2 != null) { + dVar2.c(); + } + } + + @Override // c.i.a.c.g3.u + public void e(long j, long j2, j1 j1Var, @Nullable MediaFormat mediaFormat) { + u uVar = this.k; + if (uVar != null) { + uVar.e(j, j2, j1Var, mediaFormat); + } + u uVar2 = this.i; + if (uVar2 != null) { + uVar2.e(j, j2, j1Var, mediaFormat); + } + } + + @Override // c.i.a.c.b2.b + public void r(int i, @Nullable Object obj) { + if (i == 7) { + this.i = (u) obj; + } else if (i == 8) { + this.j = (d) obj; + } else if (i == 10000) { + k kVar = (k) obj; + if (kVar == null) { + this.k = null; + this.l = null; + return; + } + this.k = kVar.getVideoFrameMetadataListener(); + this.l = kVar.getCameraMotionListener(); + } + } + } + + public k2(e1.b bVar) { + k2 k2Var; + Throwable th; + try { + Context applicationContext = bVar.a.getApplicationContext(); + this.d = applicationContext; + this.i = bVar.h.get(); + this.A = bVar.j; + this.w = bVar.k; + this.C = false; + this.o = bVar.r; + b bVar2 = new b(null); + this.f = bVar2; + this.g = new c(null); + this.h = new CopyOnWriteArraySet<>(); + Handler handler = new Handler(bVar.i); + this.b = bVar.f749c.get().a(handler, bVar2, bVar2, bVar2, bVar2); + this.B = 1.0f; + if (e0.a < 21) { + AudioTrack audioTrack = this.p; + if (!(audioTrack == null || audioTrack.getAudioSessionId() == 0)) { + this.p.release(); + this.p = null; + } + if (this.p == null) { + this.p = new AudioTrack(3, SendUtils.MAX_MESSAGE_CHARACTER_COUNT_PREMIUM, 4, 2, 2, 0, 0); + } + this.f833z = this.p.getAudioSessionId(); + } else { + AudioManager audioManager = (AudioManager) applicationContext.getSystemService(MediaStreamTrack.AUDIO_TRACK_KIND); + this.f833z = audioManager == null ? -1 : audioManager.generateAudioSessionId(); + } + this.D = Collections.emptyList(); + this.E = true; + SparseBooleanArray sparseBooleanArray = new SparseBooleanArray(); + int[] iArr = {21, 22, 23, 24, 25, 26, 27, 28}; + for (int i = 0; i < 8; i++) { + int i2 = iArr[i]; + c.c.a.a0.d.D(!false); + sparseBooleanArray.append(i2, true); + } + c.c.a.a0.d.D(!false); + try { + f1 f1Var = new f1(this.b, bVar.e.get(), bVar.d.get(), bVar.f.get(), bVar.g.get(), this.i, bVar.l, bVar.m, bVar.n, bVar.o, bVar.p, bVar.q, false, bVar.b, bVar.i, this, new y1.b(new c.i.a.c.f3.n(sparseBooleanArray, null), null)); + k2Var = this; + try { + k2Var.e = f1Var; + f1Var.d0(k2Var.f); + f1Var.k.add(k2Var.f); + s0 s0Var = new s0(bVar.a, handler, k2Var.f); + k2Var.j = s0Var; + s0Var.a(false); + t0 t0Var = new t0(bVar.a, handler, k2Var.f); + k2Var.k = t0Var; + t0Var.c(null); + m2 m2Var = new m2(bVar.a, handler, k2Var.f); + k2Var.l = m2Var; + m2Var.c(e0.t(k2Var.A.l)); + q2 q2Var = new q2(bVar.a); + k2Var.m = q2Var; + q2Var.f857c = false; + q2Var.a(); + r2 r2Var = new r2(bVar.a); + k2Var.n = r2Var; + r2Var.f859c = false; + r2Var.a(); + k2Var.H = f0(m2Var); + k2Var.I = y.i; + k2Var.j0(1, 10, Integer.valueOf(k2Var.f833z)); + k2Var.j0(2, 10, Integer.valueOf(k2Var.f833z)); + k2Var.j0(1, 3, k2Var.A); + k2Var.j0(2, 4, Integer.valueOf(k2Var.w)); + k2Var.j0(2, 5, 0); + k2Var.j0(1, 9, Boolean.valueOf(k2Var.C)); + k2Var.j0(2, 7, k2Var.g); + k2Var.j0(6, 8, k2Var.g); + k2Var.f829c.b(); + } catch (Throwable th2) { + th = th2; + k2Var.f829c.b(); + throw th; + } + } catch (Throwable th3) { + th = th3; + k2Var = this; + k2Var.f829c.b(); + throw th; + } + } catch (Throwable th4) { + th = th4; + k2Var = this; + k2Var.f829c.b(); + throw th; + } + } + + public static void d0(k2 k2Var) { + int y2 = k2Var.y(); + boolean z2 = true; + if (y2 != 1) { + if (y2 == 2 || y2 == 3) { + k2Var.n0(); + boolean z3 = k2Var.e.F.q; + q2 q2Var = k2Var.m; + if (!k2Var.j() || z3) { + z2 = false; + } + q2Var.d = z2; + q2Var.a(); + r2 r2Var = k2Var.n; + r2Var.d = k2Var.j(); + r2Var.a(); + return; + } else if (y2 != 4) { + throw new IllegalStateException(); + } + } + q2 q2Var2 = k2Var.m; + q2Var2.d = false; + q2Var2.a(); + r2 r2Var2 = k2Var.n; + r2Var2.d = false; + r2Var2.a(); + } + + public static c1 f0(m2 m2Var) { + Objects.requireNonNull(m2Var); + return new c1(0, e0.a >= 28 ? m2Var.d.getStreamMinVolume(m2Var.f) : 0, m2Var.d.getStreamMaxVolume(m2Var.f)); + } + + public static int g0(boolean z2, int i) { + return (!z2 || i == 1) ? 1 : 2; + } + + @Override // c.i.a.c.y1 + public List A() { + n0(); + return this.D; + } + + @Override // c.i.a.c.y1 + public int B() { + n0(); + return this.e.B(); + } + + @Override // c.i.a.c.y1 + public int C() { + n0(); + return this.e.C(); + } + + @Override // c.i.a.c.y1 + public void E(int i) { + n0(); + this.e.E(i); + } + + @Override // c.i.a.c.y1 + public void F(@Nullable SurfaceView surfaceView) { + n0(); + SurfaceHolder holder = surfaceView == null ? null : surfaceView.getHolder(); + n0(); + if (holder != null && holder == this.f830s) { + e0(); + } + } + + @Override // c.i.a.c.y1 + public int G() { + n0(); + return this.e.F.n; + } + + @Override // c.i.a.c.y1 + public p2 H() { + n0(); + return this.e.H(); + } + + @Override // c.i.a.c.y1 + public int I() { + n0(); + return this.e.v; + } + + @Override // c.i.a.c.y1 + public long J() { + n0(); + return this.e.J(); + } + + @Override // c.i.a.c.y1 + public o2 K() { + n0(); + return this.e.F.b; + } + + @Override // c.i.a.c.y1 + public Looper L() { + return this.e.q; + } + + @Override // c.i.a.c.y1 + public boolean M() { + n0(); + return this.e.w; + } + + @Override // c.i.a.c.y1 + public long N() { + n0(); + return this.e.N(); + } + + @Override // c.i.a.c.y1 + public void Q(@Nullable TextureView textureView) { + n0(); + if (textureView == null) { + e0(); + return; + } + i0(); + this.v = textureView; + if (textureView.getSurfaceTextureListener() != null) { + Log.w("SimpleExoPlayer", "Replacing existing SurfaceTextureListener."); + } + textureView.setSurfaceTextureListener(this.f); + SurfaceTexture surfaceTexture = textureView.isAvailable() ? textureView.getSurfaceTexture() : null; + if (surfaceTexture == null) { + l0(null); + h0(0, 0); + return; + } + Surface surface = new Surface(surfaceTexture); + l0(surface); + this.r = surface; + h0(textureView.getWidth(), textureView.getHeight()); + } + + @Override // c.i.a.c.y1 + public p1 S() { + return this.e.D; + } + + @Override // c.i.a.c.y1 + public long T() { + n0(); + return this.e.T(); + } + + @Override // c.i.a.c.y1 + public long U() { + n0(); + return this.e.f776s; + } + + @Override // c.i.a.c.y1 + public void a() { + n0(); + boolean j = j(); + int e = this.k.e(j, 2); + m0(j, e, g0(j, e)); + this.e.a(); + } + + @Override // c.i.a.c.y1 + public x1 c() { + n0(); + return this.e.F.o; + } + + public void e0() { + n0(); + i0(); + l0(null); + h0(0, 0); + } + + @Override // c.i.a.c.y1 + public boolean f() { + n0(); + return this.e.f(); + } + + @Override // c.i.a.c.y1 + public long g() { + n0(); + return e0.M(this.e.F.f912s); + } + + @Override // c.i.a.c.y1 + public void h(int i, long j) { + n0(); + g1 g1Var = this.i; + if (!g1Var.q) { + h1.a k0 = g1Var.k0(); + g1Var.q = true; + c.i.a.c.s2.o oVar = new c.i.a.c.s2.o(k0); + g1Var.m.put(-1, k0); + p

pVar = g1Var.n; + pVar.b(-1, oVar); + pVar.a(); + } + this.e.h(i, j); + } + + public final void h0(int i, int i2) { + if (i != this.f831x || i2 != this.f832y) { + this.f831x = i; + this.f832y = i2; + this.i.a0(i, i2); + Iterator it = this.h.iterator(); + while (it.hasNext()) { + it.next().a0(i, i2); + } + } + } + + @Override // c.i.a.c.y1 + public y1.b i() { + n0(); + return this.e.C; + } + + public final void i0() { + if (this.t != null) { + b2 f02 = this.e.f0(this.g); + f02.f(10000); + f02.e(null); + f02.d(); + k kVar = this.t; + kVar.i.remove(this.f); + this.t = null; + } + TextureView textureView = this.v; + if (textureView != null) { + if (textureView.getSurfaceTextureListener() != this.f) { + Log.w("SimpleExoPlayer", "SurfaceTextureListener already unset or replaced."); + } else { + this.v.setSurfaceTextureListener(null); + } + this.v = null; + } + SurfaceHolder surfaceHolder = this.f830s; + if (surfaceHolder != null) { + surfaceHolder.removeCallback(this.f); + this.f830s = null; + } + } + + @Override // c.i.a.c.y1 + public boolean j() { + n0(); + return this.e.F.m; + } + + public final void j0(int i, int i2, @Nullable Object obj) { + f2[] f2VarArr = this.b; + for (f2 f2Var : f2VarArr) { + if (f2Var.x() == i) { + b2 f02 = this.e.f0(f2Var); + c.c.a.a0.d.D(!f02.i); + f02.e = i2; + c.c.a.a0.d.D(!f02.i); + f02.f = obj; + f02.d(); + } + } + } + + @Override // c.i.a.c.y1 + public void k(boolean z2) { + n0(); + this.e.k(z2); + } + + public final void k0(SurfaceHolder surfaceHolder) { + this.u = false; + this.f830s = surfaceHolder; + surfaceHolder.addCallback(this.f); + Surface surface = this.f830s.getSurface(); + if (surface == null || !surface.isValid()) { + h0(0, 0); + return; + } + Rect surfaceFrame = this.f830s.getSurfaceFrame(); + h0(surfaceFrame.width(), surfaceFrame.height()); + } + + @Override // c.i.a.c.y1 + public long l() { + n0(); + Objects.requireNonNull(this.e); + return 3000; + } + + public final void l0(@Nullable Object obj) { + boolean z2; + ArrayList arrayList = new ArrayList(); + f2[] f2VarArr = this.b; + for (f2 f2Var : f2VarArr) { + if (f2Var.x() == 2) { + b2 f02 = this.e.f0(f2Var); + f02.f(1); + c.c.a.a0.d.D(true ^ f02.i); + f02.f = obj; + f02.d(); + arrayList.add(f02); + } + } + Object obj2 = this.q; + if (obj2 == null || obj2 == obj) { + z2 = false; + } else { + try { + Iterator it = arrayList.iterator(); + while (it.hasNext()) { + ((b2) it.next()).a(this.o); + } + } catch (InterruptedException unused) { + Thread.currentThread().interrupt(); + } catch (TimeoutException unused2) { + z2 = true; + } + z2 = false; + Object obj3 = this.q; + Surface surface = this.r; + if (obj3 == surface) { + surface.release(); + this.r = null; + } + } + this.q = obj; + if (z2) { + f1 f1Var = this.e; + ExoPlaybackException b2 = ExoPlaybackException.b(new ExoTimeoutException(3), PointerIconCompat.TYPE_HELP); + w1 w1Var = f1Var.F; + w1 a2 = w1Var.a(w1Var.f911c); + a2.r = a2.t; + a2.f912s = 0; + w1 e = a2.f(1).e(b2); + f1Var.f777x++; + ((b0.b) f1Var.i.p.c(6)).b(); + f1Var.s0(e, 0, 1, false, e.b.q() && !f1Var.F.b.q(), 4, f1Var.g0(e), -1); + } + } + + @Override // c.i.a.c.y1 + public int m() { + n0(); + return this.e.m(); + } + + public final void m0(boolean z2, int i, int i2) { + int i3 = 0; + boolean z3 = z2 && i != -1; + if (z3 && i != 1) { + i3 = 1; + } + this.e.q0(z3, i3, i2); + } + + @Override // c.i.a.c.y1 + public void n(@Nullable TextureView textureView) { + n0(); + if (textureView != null && textureView == this.v) { + e0(); + } + } + + public final void n0() { + j jVar = this.f829c; + synchronized (jVar) { + boolean z2 = false; + while (!jVar.b) { + try { + jVar.wait(); + } catch (InterruptedException unused) { + z2 = true; + } + } + if (z2) { + Thread.currentThread().interrupt(); + } + } + if (Thread.currentThread() != this.e.q.getThread()) { + String k = e0.k("Player is accessed on the wrong thread.\nCurrent thread: '%s'\nExpected thread: '%s'\nSee https://exoplayer.dev/issues/player-accessed-on-wrong-thread", Thread.currentThread().getName(), this.e.q.getThread().getName()); + if (!this.E) { + c.i.a.c.f3.q.c("SimpleExoPlayer", k, this.F ? null : new IllegalStateException()); + this.F = true; + return; + } + throw new IllegalStateException(k); + } + } + + @Override // c.i.a.c.y1 + public y o() { + return this.I; + } + + @Override // c.i.a.c.y1 + public void p(y1.e eVar) { + Objects.requireNonNull(eVar); + this.h.remove(eVar); + this.e.o0(eVar); + } + + @Override // c.i.a.c.y1 + public int q() { + n0(); + return this.e.q(); + } + + @Override // c.i.a.c.y1 + public void r(@Nullable SurfaceView surfaceView) { + n0(); + if (surfaceView instanceof t) { + i0(); + l0(surfaceView); + k0(surfaceView.getHolder()); + } else if (surfaceView instanceof k) { + i0(); + this.t = (k) surfaceView; + b2 f02 = this.e.f0(this.g); + f02.f(10000); + f02.e(this.t); + f02.d(); + this.t.i.add(this.f); + l0(this.t.getVideoSurface()); + k0(surfaceView.getHolder()); + } else { + SurfaceHolder holder = surfaceView == null ? null : surfaceView.getHolder(); + n0(); + if (holder == null) { + e0(); + return; + } + i0(); + this.u = true; + this.f830s = holder; + holder.addCallback(this.f); + Surface surface = holder.getSurface(); + if (surface == null || !surface.isValid()) { + l0(null); + h0(0, 0); + return; + } + l0(surface); + Rect surfaceFrame = holder.getSurfaceFrame(); + h0(surfaceFrame.width(), surfaceFrame.height()); + } + } + + @Override // c.i.a.c.y1 + @Nullable + public PlaybackException t() { + n0(); + return this.e.F.g; + } + + @Override // c.i.a.c.y1 + public void u(boolean z2) { + n0(); + int e = this.k.e(z2, y()); + m0(z2, e, g0(z2, e)); + } + + @Override // c.i.a.c.y1 + public long v() { + n0(); + return this.e.t; + } + + @Override // c.i.a.c.y1 + public long w() { + n0(); + return this.e.w(); + } + + @Override // c.i.a.c.y1 + public void x(y1.e eVar) { + Objects.requireNonNull(eVar); + this.h.add(eVar); + this.e.d0(eVar); + } + + @Override // c.i.a.c.y1 + public int y() { + n0(); + return this.e.F.f; + } +} diff --git a/app/src/main/java/c/i/a/c/l.java b/app/src/main/java/c/i/a/c/l.java index 27ba7aacc1..77860eacdd 100644 --- a/app/src/main/java/c/i/a/c/l.java +++ b/app/src/main/java/c/i/a/c/l.java @@ -1,18 +1,17 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; -import c.i.a.c.i2.t; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class l implements o.b { - public final /* synthetic */ g1 a; +public final /* synthetic */ class l implements p.a { + public final /* synthetic */ w1 a; - public /* synthetic */ l(g1 g1Var) { - this.a = g1Var; + public /* synthetic */ l(w1 w1Var) { + this.a = w1Var; } - @Override // c.i.a.c.i2.o.b - public final void a(Object obj, t tVar) { - ((g1.a) obj).w(this.a, (g1.b) tVar); + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((y1.c) obj).f0(this.a.g); } } diff --git a/app/src/main/java/c/i/a/c/l0.java b/app/src/main/java/c/i/a/c/l0.java index 11ae205dd1..0c66010412 100644 --- a/app/src/main/java/c/i/a/c/l0.java +++ b/app/src/main/java/c/i/a/c/l0.java @@ -1,183 +1,85 @@ package c.i.a.c; -import android.util.Log; -import c.c.a.a0.d; -import c.i.a.c.f2.g; -import c.i.a.c.h2.m; -import c.i.a.c.i2.f0; -import com.google.android.exoplayer2.source.TrackGroupArray; -/* compiled from: DefaultLoadControl */ -public class l0 implements u0 { - public final m a; - public final long b; +import android.net.Uri; +import android.os.Bundle; +import c.i.a.c.p1; +import c.i.a.c.w0; +/* compiled from: lambda */ +public final /* synthetic */ class l0 implements w0.a { + public static final /* synthetic */ l0 a = new l0(); - /* renamed from: c reason: collision with root package name */ - public final long f992c; - public final long d; - public final long e; - public final int f; - public final boolean g; - public final long h; - public final boolean i; - public int j; - public boolean k; - - public l0(m mVar, int i, int i2, int i3, int i4, int i5, boolean z2, int i6, boolean z3) { - j(i3, 0, "bufferForPlaybackMs", "0"); - j(i4, 0, "bufferForPlaybackAfterRebufferMs", "0"); - j(i, i3, "minBufferMs", "bufferForPlaybackMs"); - j(i, i4, "minBufferMs", "bufferForPlaybackAfterRebufferMs"); - j(i2, i, "maxBufferMs", "minBufferMs"); - j(i6, 0, "backBufferDurationMs", "0"); - this.a = mVar; - this.b = h0.a((long) i); - this.f992c = h0.a((long) i2); - this.d = h0.a((long) i3); - this.e = h0.a((long) i4); - this.f = i5; - this.j = i5 == -1 ? 13107200 : i5; - this.g = z2; - this.h = h0.a((long) i6); - this.i = z3; - } - - public static void j(int i, int i2, String str, String str2) { - boolean z2 = i >= i2; - d.n(z2, str + " cannot be less than " + str2); - } - - @Override // c.i.a.c.u0 - public boolean a() { - return this.i; - } - - @Override // c.i.a.c.u0 - public long b() { - return this.h; - } - - @Override // c.i.a.c.u0 - public void c() { - k(false); - } - - @Override // c.i.a.c.u0 - public void d(k1[] k1VarArr, TrackGroupArray trackGroupArray, g[] gVarArr) { - int i = this.f; - if (i == -1) { - int i2 = 0; - int i3 = 0; - while (true) { - int i4 = 13107200; - if (i2 >= k1VarArr.length) { - i = Math.max(13107200, i3); - break; - } - if (gVarArr[i2] != null) { - int x2 = k1VarArr[i2].x(); - if (x2 == 0) { - i4 = 144310272; - } else if (x2 != 1) { - if (x2 == 2) { - i4 = 131072000; - } else if (x2 == 3 || x2 == 5 || x2 == 6) { - i4 = 131072; - } else if (x2 == 7) { - i4 = 0; - } else { - throw new IllegalArgumentException(); - } - } - i3 += i4; - } - i2++; - } + @Override // c.i.a.c.w0.a + public final w0 a(Bundle bundle) { + Bundle bundle2; + Bundle bundle3; + p1.b bVar = new p1.b(); + bVar.a = bundle.getCharSequence(p1.b(0)); + bVar.b = bundle.getCharSequence(p1.b(1)); + bVar.f851c = bundle.getCharSequence(p1.b(2)); + bVar.d = bundle.getCharSequence(p1.b(3)); + bVar.e = bundle.getCharSequence(p1.b(4)); + bVar.f = bundle.getCharSequence(p1.b(5)); + bVar.g = bundle.getCharSequence(p1.b(6)); + bVar.h = (Uri) bundle.getParcelable(p1.b(7)); + byte[] byteArray = bundle.getByteArray(p1.b(10)); + byte[] bArr = null; + Integer valueOf = bundle.containsKey(p1.b(29)) ? Integer.valueOf(bundle.getInt(p1.b(29))) : null; + if (byteArray != null) { + bArr = (byte[]) byteArray.clone(); } - this.j = i; - this.a.b(i); - } - - @Override // c.i.a.c.u0 - public void e() { - k(true); - } - - @Override // c.i.a.c.u0 - public boolean f(long j, float f, boolean z2, long j2) { - int i; - int i2 = f0.a; - if (f != 1.0f) { - j = Math.round(((double) j) / ((double) f)); + bVar.k = bArr; + bVar.l = valueOf; + bVar.m = (Uri) bundle.getParcelable(p1.b(11)); + bVar.f853x = bundle.getCharSequence(p1.b(22)); + bVar.f854y = bundle.getCharSequence(p1.b(23)); + bVar.f855z = bundle.getCharSequence(p1.b(24)); + bVar.C = bundle.getCharSequence(p1.b(27)); + bVar.D = bundle.getCharSequence(p1.b(28)); + bVar.E = bundle.getBundle(p1.b(1000)); + if (bundle.containsKey(p1.b(8)) && (bundle3 = bundle.getBundle(p1.b(8))) != null) { + int i = d2.i; + bVar.i = (d2) o0.a.a(bundle3); } - long j3 = z2 ? this.e : this.d; - if (j2 != -9223372036854775807L) { - j3 = Math.min(j2 / 2, j3); + if (bundle.containsKey(p1.b(9)) && (bundle2 = bundle.getBundle(p1.b(9))) != null) { + int i2 = d2.i; + bVar.j = (d2) o0.a.a(bundle2); } - if (j3 > 0 && j < j3) { - if (!this.g) { - m mVar = this.a; - synchronized (mVar) { - i = mVar.e * mVar.b; - } - if (i >= this.j) { - } - } - return false; + if (bundle.containsKey(p1.b(12))) { + bVar.n = Integer.valueOf(bundle.getInt(p1.b(12))); } - return true; - } - - @Override // c.i.a.c.u0 - public boolean g(long j, long j2, float f) { - int i; - m mVar = this.a; - synchronized (mVar) { - i = mVar.e * mVar.b; + if (bundle.containsKey(p1.b(13))) { + bVar.o = Integer.valueOf(bundle.getInt(p1.b(13))); } - boolean z2 = true; - boolean z3 = i >= this.j; - long j3 = this.b; - if (f > 1.0f) { - j3 = Math.min(f0.p(j3, f), this.f992c); + if (bundle.containsKey(p1.b(14))) { + bVar.p = Integer.valueOf(bundle.getInt(p1.b(14))); } - if (j2 < Math.max(j3, 500000L)) { - if (!this.g && z3) { - z2 = false; - } - this.k = z2; - if (!z2 && j2 < 500000) { - Log.w("DefaultLoadControl", "Target buffer size reached with less than 500ms of buffered media data."); - } - } else if (j2 >= this.f992c || z3) { - this.k = false; + if (bundle.containsKey(p1.b(15))) { + bVar.q = Boolean.valueOf(bundle.getBoolean(p1.b(15))); } - return this.k; - } - - @Override // c.i.a.c.u0 - public m h() { - return this.a; - } - - @Override // c.i.a.c.u0 - public void i() { - k(true); - } - - public final void k(boolean z2) { - int i = this.f; - if (i == -1) { - i = 13107200; + if (bundle.containsKey(p1.b(16))) { + bVar.r = Integer.valueOf(bundle.getInt(p1.b(16))); } - this.j = i; - this.k = false; - if (z2) { - m mVar = this.a; - synchronized (mVar) { - if (mVar.a) { - mVar.b(0); - } - } + if (bundle.containsKey(p1.b(17))) { + bVar.f852s = Integer.valueOf(bundle.getInt(p1.b(17))); } + if (bundle.containsKey(p1.b(18))) { + bVar.t = Integer.valueOf(bundle.getInt(p1.b(18))); + } + if (bundle.containsKey(p1.b(19))) { + bVar.u = Integer.valueOf(bundle.getInt(p1.b(19))); + } + if (bundle.containsKey(p1.b(20))) { + bVar.v = Integer.valueOf(bundle.getInt(p1.b(20))); + } + if (bundle.containsKey(p1.b(21))) { + bVar.w = Integer.valueOf(bundle.getInt(p1.b(21))); + } + if (bundle.containsKey(p1.b(25))) { + bVar.A = Integer.valueOf(bundle.getInt(p1.b(25))); + } + if (bundle.containsKey(p1.b(26))) { + bVar.B = Integer.valueOf(bundle.getInt(p1.b(26))); + } + return bVar.a(); } } diff --git a/app/src/main/java/c/i/a/c/l1.java b/app/src/main/java/c/i/a/c/l1.java index 8eff5dc651..a427dbdb89 100644 --- a/app/src/main/java/c/i/a/c/l1.java +++ b/app/src/main/java/c/i/a/c/l1.java @@ -1,12 +1,35 @@ package c.i.a.c; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.Format; -/* compiled from: RendererCapabilities */ -public interface l1 { - int a(Format format) throws ExoPlaybackException; +import androidx.annotation.Nullable; +import java.util.Arrays; +/* compiled from: HeartRating */ +public final class l1 extends d2 { + public final boolean j; + public final boolean k; - String getName(); + public l1() { + this.j = false; + this.k = false; + } - int p() throws ExoPlaybackException; + public l1(boolean z2) { + this.j = true; + this.k = z2; + } + + public static String a(int i) { + return Integer.toString(i, 36); + } + + public boolean equals(@Nullable Object obj) { + if (!(obj instanceof l1)) { + return false; + } + l1 l1Var = (l1) obj; + return this.k == l1Var.k && this.j == l1Var.j; + } + + public int hashCode() { + return Arrays.hashCode(new Object[]{Boolean.valueOf(this.j), Boolean.valueOf(this.k)}); + } } diff --git a/app/src/main/java/c/i/a/c/l2.java b/app/src/main/java/c/i/a/c/l2.java new file mode 100644 index 0000000000..e1b01875d1 --- /dev/null +++ b/app/src/main/java/c/i/a/c/l2.java @@ -0,0 +1,43 @@ +package c.i.a.c; + +import androidx.annotation.FloatRange; +import androidx.annotation.IntRange; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import java.util.Arrays; +/* compiled from: StarRating */ +public final class l2 extends d2 { + @IntRange(from = 1) + public final int j; + public final float k; + + public l2(@IntRange(from = 1) int i) { + d.m(i > 0, "maxStars must be a positive integer"); + this.j = i; + this.k = -1.0f; + } + + public l2(@IntRange(from = 1) int i, @FloatRange(from = 0.0d) float f) { + boolean z2 = true; + d.m(i > 0, "maxStars must be a positive integer"); + d.m((f < 0.0f || f > ((float) i)) ? false : z2, "starRating is out of range [0, maxStars]"); + this.j = i; + this.k = f; + } + + public static String a(int i) { + return Integer.toString(i, 36); + } + + public boolean equals(@Nullable Object obj) { + if (!(obj instanceof l2)) { + return false; + } + l2 l2Var = (l2) obj; + return this.j == l2Var.j && this.k == l2Var.k; + } + + public int hashCode() { + return Arrays.hashCode(new Object[]{Integer.valueOf(this.j), Float.valueOf(this.k)}); + } +} diff --git a/app/src/main/java/c/i/a/c/m.java b/app/src/main/java/c/i/a/c/m.java index 471fd0494b..ff83edc313 100644 --- a/app/src/main/java/c/i/a/c/m.java +++ b/app/src/main/java/c/i/a/c/m.java @@ -1,21 +1,17 @@ package c.i.a.c; -import c.i.a.c.f2.k; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class m implements o.a { - public final /* synthetic */ c1 a; - public final /* synthetic */ k b; +public final /* synthetic */ class m implements p.a { + public final /* synthetic */ w1 a; - public /* synthetic */ m(c1 c1Var, k kVar) { - this.a = c1Var; - this.b = kVar; + public /* synthetic */ m(w1 w1Var) { + this.a = w1Var; } - @Override // c.i.a.c.i2.o.a + @Override // c.i.a.c.f3.p.a public final void invoke(Object obj) { - c1 c1Var = this.a; - ((g1.a) obj).O(c1Var.h, this.b); + ((y1.c) obj).y(this.a.f); } } diff --git a/app/src/main/java/c/i/a/c/m0.java b/app/src/main/java/c/i/a/c/m0.java index 63af1e37d8..13ace3d189 100644 --- a/app/src/main/java/c/i/a/c/m0.java +++ b/app/src/main/java/c/i/a/c/m0.java @@ -1,53 +1,41 @@ package c.i.a.c; -import androidx.annotation.Nullable; -import c.i.a.c.i2.a0; -import c.i.a.c.i2.g; -import c.i.a.c.i2.r; +import c.i.a.c.a3.a0; +import c.i.a.c.s2.g1; +import c.i.b.b.p; import java.util.Objects; -/* compiled from: DefaultMediaClock */ -public final class m0 implements r { - public final a0 i; - public final a j; - @Nullable - public k1 k; - @Nullable - public r l; - public boolean m = true; - public boolean n; +/* compiled from: lambda */ +public final /* synthetic */ class m0 implements Runnable { + public final /* synthetic */ s1 i; + public final /* synthetic */ p.a j; + public final /* synthetic */ a0.a k; - /* compiled from: DefaultMediaClock */ - public interface a { - } - - public m0(a aVar, g gVar) { + public /* synthetic */ m0(s1 s1Var, p.a aVar, a0.a aVar2) { + this.i = s1Var; this.j = aVar; - this.i = new a0(gVar); + this.k = aVar2; } - @Override // c.i.a.c.i2.r - public d1 c() { - r rVar = this.l; - return rVar != null ? rVar.c() : this.i.m; - } - - @Override // c.i.a.c.i2.r - public void e(d1 d1Var) { - r rVar = this.l; - if (rVar != null) { - rVar.e(d1Var); - d1Var = this.l.c(); + @Override // java.lang.Runnable + public final void run() { + s1 s1Var = this.i; + p.a aVar = this.j; + a0.a aVar2 = this.k; + g1 g1Var = s1Var.f861c; + p c2 = aVar.c(); + g1.a aVar3 = g1Var.l; + y1 y1Var = g1Var.o; + Objects.requireNonNull(y1Var); + Objects.requireNonNull(aVar3); + aVar3.b = p.n(c2); + if (!c2.isEmpty()) { + aVar3.e = c2.get(0); + Objects.requireNonNull(aVar2); + aVar3.f = aVar2; } - this.i.e(d1Var); - } - - @Override // c.i.a.c.i2.r - public long m() { - if (this.m) { - return this.i.m(); + if (aVar3.d == null) { + aVar3.d = g1.a.b(y1Var, aVar3.b, aVar3.e, aVar3.a); } - r rVar = this.l; - Objects.requireNonNull(rVar); - return rVar.m(); + aVar3.d(y1Var.K()); } } diff --git a/app/src/main/java/c/i/a/c/m1.java b/app/src/main/java/c/i/a/c/m1.java index 4d048d4445..4beaea66cf 100644 --- a/app/src/main/java/c/i/a/c/m1.java +++ b/app/src/main/java/c/i/a/c/m1.java @@ -1,23 +1,4 @@ package c.i.a.c; - -import androidx.annotation.Nullable; -/* compiled from: RendererConfiguration */ -public final class m1 { - public static final m1 a = new m1(false); - public final boolean b; - - public m1(boolean z2) { - this.b = z2; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - return obj != null && m1.class == obj.getClass() && this.b == ((m1) obj).b; - } - - public int hashCode() { - return !this.b ? 1 : 0; - } +/* compiled from: LivePlaybackSpeedControl */ +public interface m1 { } diff --git a/app/src/main/java/c/i/a/c/m2.java b/app/src/main/java/c/i/a/c/m2.java new file mode 100644 index 0000000000..a508f053e2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/m2.java @@ -0,0 +1,111 @@ +package c.i.a.c; + +import android.content.BroadcastReceiver; +import android.content.Context; +import android.content.Intent; +import android.content.IntentFilter; +import android.media.AudioManager; +import android.os.Handler; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.q; +import c.i.a.c.k2; +import c.i.a.c.y1; +import java.util.Iterator; +import org.webrtc.MediaStreamTrack; +/* compiled from: StreamVolumeManager */ +public final class m2 { + public final Context a; + public final Handler b; + + /* renamed from: c reason: collision with root package name */ + public final b f834c; + public final AudioManager d; + @Nullable + public c e; + public int f = 3; + public int g; + public boolean h; + + /* compiled from: StreamVolumeManager */ + public interface b { + } + + /* compiled from: StreamVolumeManager */ + public final class c extends BroadcastReceiver { + public c(a aVar) { + } + + @Override // android.content.BroadcastReceiver + public void onReceive(Context context, Intent intent) { + m2 m2Var = m2.this; + m2Var.b.post(new p0(m2Var)); + } + } + + public m2(Context context, Handler handler, b bVar) { + Context applicationContext = context.getApplicationContext(); + this.a = applicationContext; + this.b = handler; + this.f834c = bVar; + AudioManager audioManager = (AudioManager) applicationContext.getSystemService(MediaStreamTrack.AUDIO_TRACK_KIND); + d.H(audioManager); + this.d = audioManager; + this.g = b(audioManager, 3); + this.h = a(audioManager, this.f); + c cVar = new c(null); + try { + applicationContext.registerReceiver(cVar, new IntentFilter("android.media.VOLUME_CHANGED_ACTION")); + this.e = cVar; + } catch (RuntimeException e) { + q.c("StreamVolumeManager", "Error registering stream volume receiver", e); + } + } + + public static boolean a(AudioManager audioManager, int i) { + return e0.a >= 23 ? audioManager.isStreamMute(i) : b(audioManager, i) == 0; + } + + public static int b(AudioManager audioManager, int i) { + try { + return audioManager.getStreamVolume(i); + } catch (RuntimeException e) { + StringBuilder sb = new StringBuilder(60); + sb.append("Could not retrieve stream volume for stream type "); + sb.append(i); + q.c("StreamVolumeManager", sb.toString(), e); + return audioManager.getStreamMaxVolume(i); + } + } + + public void c(int i) { + if (this.f != i) { + this.f = i; + d(); + k2.b bVar = (k2.b) this.f834c; + c1 f02 = k2.f0(k2.this.l); + if (!f02.equals(k2.this.H)) { + k2 k2Var = k2.this; + k2Var.H = f02; + Iterator it = k2Var.h.iterator(); + while (it.hasNext()) { + it.next().z(f02); + } + } + } + } + + public final void d() { + int b2 = b(this.d, this.f); + boolean a2 = a(this.d, this.f); + if (this.g != b2 || this.h != a2) { + this.g = b2; + this.h = a2; + Iterator it = k2.this.h.iterator(); + while (it.hasNext()) { + it.next().G(b2, a2); + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/n.java b/app/src/main/java/c/i/a/c/n.java index 117b8be57e..179c710aa0 100644 --- a/app/src/main/java/c/i/a/c/n.java +++ b/app/src/main/java/c/i/a/c/n.java @@ -1,17 +1,17 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class n implements o.a { - public final /* synthetic */ c1 a; +public final /* synthetic */ class n implements p.a { + public final /* synthetic */ boolean a; - public /* synthetic */ n(c1 c1Var) { - this.a = c1Var; + public /* synthetic */ n(boolean z2) { + this.a = z2; } - @Override // c.i.a.c.i2.o.a + @Override // c.i.a.c.f3.p.a public final void invoke(Object obj) { - ((g1.a) obj).k(this.a.f); + ((y1.c) obj).D(this.a); } } diff --git a/app/src/main/java/c/i/a/c/n0.java b/app/src/main/java/c/i/a/c/n0.java index 0c32bb5084..66c3ab45bc 100644 --- a/app/src/main/java/c/i/a/c/n0.java +++ b/app/src/main/java/c/i/a/c/n0.java @@ -1,15 +1,16 @@ package c.i.a.c; -import android.content.Context; -import c.i.a.c.b2.k; -import c.i.a.c.b2.t; -/* compiled from: DefaultRenderersFactory */ -public class n0 implements n1 { - public final Context a; - public t b = k.b; +import c.i.a.c.a3.a0; +/* compiled from: lambda */ +public final /* synthetic */ class n0 implements a0.b { + public final /* synthetic */ u1 a; - public n0(Context context) { - this.a = context; - int i = t.a; + public /* synthetic */ n0(u1 u1Var) { + this.a = u1Var; + } + + @Override // c.i.a.c.a3.a0.b + public final void a(a0 a0Var, o2 o2Var) { + ((h1) this.a.d).p.f(22); } } diff --git a/app/src/main/java/c/i/a/c/n1.java b/app/src/main/java/c/i/a/c/n1.java index 9830b6d16d..155c84b2e0 100644 --- a/app/src/main/java/c/i/a/c/n1.java +++ b/app/src/main/java/c/i/a/c/n1.java @@ -1,4 +1,25 @@ package c.i.a.c; -/* compiled from: RenderersFactory */ + +import c.i.a.c.a3.o0; +import c.i.a.c.c3.j; +import c.i.a.c.e3.o; +/* compiled from: LoadControl */ public interface n1 { + boolean a(); + + long b(); + + void c(); + + void d(f2[] f2VarArr, o0 o0Var, j[] jVarArr); + + void e(); + + boolean f(long j, float f, boolean z2, long j2); + + boolean g(long j, long j2, float f); + + o h(); + + void i(); } diff --git a/app/src/main/java/c/i/a/c/n2.java b/app/src/main/java/c/i/a/c/n2.java new file mode 100644 index 0000000000..6bae72dc3d --- /dev/null +++ b/app/src/main/java/c/i/a/c/n2.java @@ -0,0 +1,35 @@ +package c.i.a.c; + +import androidx.annotation.Nullable; +import java.util.Arrays; +/* compiled from: ThumbRating */ +public final class n2 extends d2 { + public final boolean j; + public final boolean k; + + public n2() { + this.j = false; + this.k = false; + } + + public n2(boolean z2) { + this.j = true; + this.k = z2; + } + + public static String a(int i) { + return Integer.toString(i, 36); + } + + public boolean equals(@Nullable Object obj) { + if (!(obj instanceof n2)) { + return false; + } + n2 n2Var = (n2) obj; + return this.k == n2Var.k && this.j == n2Var.j; + } + + public int hashCode() { + return Arrays.hashCode(new Object[]{Boolean.valueOf(this.j), Boolean.valueOf(this.k)}); + } +} diff --git a/app/src/main/java/c/i/a/c/o.java b/app/src/main/java/c/i/a/c/o.java index a3d3d31051..5a03a0f399 100644 --- a/app/src/main/java/c/i/a/c/o.java +++ b/app/src/main/java/c/i/a/c/o.java @@ -1,11 +1,20 @@ package c.i.a.c; -import c.i.a.c.q0; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class o implements q0.e { - public final /* synthetic */ o0 a; +public final /* synthetic */ class o implements p.a { + public final /* synthetic */ w1 a; - public /* synthetic */ o(o0 o0Var) { - this.a = o0Var; + public /* synthetic */ o(w1 w1Var) { + this.a = w1Var; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + w1 w1Var = this.a; + y1.c cVar = (y1.c) obj; + cVar.i(w1Var.h); + cVar.r(w1Var.h); } } diff --git a/app/src/main/java/c/i/a/c/o0.java b/app/src/main/java/c/i/a/c/o0.java index 488a5c193b..e74f532a1e 100644 --- a/app/src/main/java/c/i/a/c/o0.java +++ b/app/src/main/java/c/i/a/c/o0.java @@ -1,619 +1,51 @@ package c.i.a.c; -import android.annotation.SuppressLint; -import android.os.Handler; -import android.os.Looper; -import android.util.Log; -import android.util.Pair; -import androidx.annotation.Nullable; -import c.i.a.c.d2.a0; -import c.i.a.c.d2.h0; -import c.i.a.c.d2.y; -import c.i.a.c.f2.k; -import c.i.a.c.f2.l; -import c.i.a.c.f2.m; -import c.i.a.c.g1; -import c.i.a.c.h1; -import c.i.a.c.h2.d; -import c.i.a.c.i2.c0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.g; -import c.i.a.c.i2.o; -import c.i.a.c.q0; -import c.i.a.c.r1; -import c.i.a.c.u1.b1; -import c.i.a.c.u1.c1; -import c.i.a.c.u1.d1; -import c.i.b.b.u; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.IllegalSeekPositionException; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.source.TrackGroupArray; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; -import java.util.Objects; -import java.util.Random; -import java.util.concurrent.CopyOnWriteArraySet; -/* compiled from: ExoPlayerImpl */ -public final class o0 extends f0 implements g1 { - public final m b; +import android.os.Bundle; +import c.c.a.a0.d; +import c.d.b.a.a; +import c.i.a.c.w0; +/* compiled from: lambda */ +public final /* synthetic */ class o0 implements w0.a { + public static final /* synthetic */ o0 a = new o0(); - /* renamed from: c reason: collision with root package name */ - public final k1[] f993c; - public final l d; - public final c0 e; - public final q0.e f; - public final q0 g; - public final o h; - public final r1.b i; - public final List j; - public final boolean k; - public final a0 l; - @Nullable - public final c1 m; - public final Looper n; - public final d o; - public final g p; - public int q; - - /* renamed from: r reason: collision with root package name */ - public boolean f994r; - public int s; - public boolean t; - public int u; - public int v; - - /* renamed from: w reason: collision with root package name */ - public h0 f995w; - - /* renamed from: x reason: collision with root package name */ - public c1 f996x; - - /* renamed from: y reason: collision with root package name */ - public int f997y; - - /* renamed from: z reason: collision with root package name */ - public long f998z; - - /* compiled from: ExoPlayerImpl */ - public static final class a implements a1 { - public final Object a; - public r1 b; - - public a(Object obj, r1 r1Var) { - this.a = obj; - this.b = r1Var; - } - - @Override // c.i.a.c.a1 - public r1 a() { - return this.b; - } - - @Override // c.i.a.c.a1 - public Object getUid() { - return this.a; - } - } - - @SuppressLint({"HandlerLeak"}) - public o0(k1[] k1VarArr, l lVar, a0 a0Var, u0 u0Var, d dVar, @Nullable c1 c1Var, boolean z2, o1 o1Var, t0 t0Var, long j, boolean z3, g gVar, Looper looper, @Nullable g1 g1Var) { - StringBuilder O = c.d.b.a.a.O("Init "); - O.append(Integer.toHexString(System.identityHashCode(this))); - O.append(" ["); - O.append("ExoPlayerLib/2.13.3"); - O.append("] ["); - O.append(f0.e); - O.append("]"); - Log.i("ExoPlayerImpl", O.toString()); - c.c.a.a0.d.D(k1VarArr.length > 0); - this.f993c = k1VarArr; - Objects.requireNonNull(lVar); - this.d = lVar; - this.l = a0Var; - this.o = dVar; - this.m = c1Var; - this.k = z2; - this.n = looper; - this.p = gVar; - this.q = 0; - this.h = new o<>(new CopyOnWriteArraySet(), looper, gVar, a0.i, new l(g1Var)); - this.j = new ArrayList(); - this.f995w = new h0.a(0, new Random()); - m mVar = new m(new m1[k1VarArr.length], new c.i.a.c.f2.g[k1VarArr.length], null); - this.b = mVar; - this.i = new r1.b(); - this.f997y = -1; - this.e = gVar.b(looper, null); - o oVar = new o(this); - this.f = oVar; - this.f996x = c1.i(mVar); - if (c1Var != null) { - c.c.a.a0.d.D(c1Var.o == null || c1Var.l.b.isEmpty()); - c1Var.o = g1Var; - o oVar2 = c1Var.n; - c1Var.n = new o<>(oVar2.e, looper, oVar2.a, oVar2.f968c, new b1(c1Var, g1Var)); - l(c1Var); - dVar.f(new Handler(looper), c1Var); - } - this.g = new q0(k1VarArr, lVar, mVar, u0Var, dVar, this.q, this.f994r, c1Var, o1Var, t0Var, j, z3, looper, gVar, oVar); - } - - public static boolean N(c1 c1Var) { - return c1Var.e == 3 && c1Var.l && c1Var.m == 0; - } - - @Override // c.i.a.c.g1 - public TrackGroupArray A() { - return this.f996x.h; - } - - @Override // c.i.a.c.g1 - public int B() { - return this.q; - } - - @Override // c.i.a.c.g1 - public long C() { - if (d()) { - c1 c1Var = this.f996x; - y.a aVar = c1Var.f822c; - c1Var.b.h(aVar.a, this.i); - return h0.b(this.i.a(aVar.b, aVar.f864c)); - } - r1 D = D(); - if (D.q()) { - return -9223372036854775807L; - } - return D.n(o(), this.a).b(); - } - - @Override // c.i.a.c.g1 - public r1 D() { - return this.f996x.b; - } - - @Override // c.i.a.c.g1 - public Looper E() { - return this.n; - } - - @Override // c.i.a.c.g1 - public boolean F() { - return this.f994r; - } - - @Override // c.i.a.c.g1 - public long G() { - if (this.f996x.b.q()) { - return this.f998z; - } - c1 c1Var = this.f996x; - if (c1Var.k.d != c1Var.f822c.d) { - return c1Var.b.n(o(), this.a).b(); - } - long j = c1Var.q; - if (this.f996x.k.a()) { - c1 c1Var2 = this.f996x; - r1.b h = c1Var2.b.h(c1Var2.k.a, this.i); - long d = h.d(this.f996x.k.b); - j = d == Long.MIN_VALUE ? h.d : d; - } - return P(this.f996x.k, j); - } - - @Override // c.i.a.c.g1 - public k H() { - return new k(this.f996x.i.f924c); - } - - @Override // c.i.a.c.g1 - public int I(int i) { - return this.f993c[i].x(); - } - - @Override // c.i.a.c.g1 - public long J() { - if (this.f996x.b.q()) { - return this.f998z; - } - if (this.f996x.f822c.a()) { - return h0.b(this.f996x.s); - } - c1 c1Var = this.f996x; - return P(c1Var.f822c, c1Var.s); - } - - @Override // c.i.a.c.g1 - @Nullable - public g1.c K() { - return null; - } - - public final int L() { - if (this.f996x.b.q()) { - return this.f997y; - } - c1 c1Var = this.f996x; - return c1Var.b.h(c1Var.f822c.a, this.i).f1017c; - } - - @Nullable - public final Pair M(r1 r1Var, int i, long j) { - if (r1Var.q()) { - this.f997y = i; - if (j == -9223372036854775807L) { - j = 0; + @Override // c.i.a.c.w0.a + public final w0 a(Bundle bundle) { + w0 w0Var; + boolean z2 = false; + int i = bundle.getInt(Integer.toString(0, 36), -1); + if (i == 0) { + d.j(bundle.getInt(l1.a(0), -1) == 0); + if (bundle.getBoolean(l1.a(1), false)) { + return new l1(bundle.getBoolean(l1.a(2), false)); } - this.f998z = j; - return null; - } - if (i == -1 || i >= r1Var.p()) { - i = r1Var.a(this.f994r); - j = r1Var.n(i, this.a).a(); - } - return r1Var.j(this.a, this.i, i, h0.a(j)); - } - - public final c1 O(c1 c1Var, r1 r1Var, @Nullable Pair pair) { - List list; - int i; - c.c.a.a0.d.k(r1Var.q() || pair != null); - r1 r1Var2 = c1Var.b; - c1 h = c1Var.h(r1Var); - if (r1Var.q()) { - y.a aVar = c1.a; - y.a aVar2 = c1.a; - long a2 = h0.a(this.f998z); - long a3 = h0.a(this.f998z); - TrackGroupArray trackGroupArray = TrackGroupArray.i; - m mVar = this.b; - c.i.b.b.a aVar3 = u.j; - c1 a4 = h.b(aVar2, a2, a3, 0, trackGroupArray, mVar, c.i.b.b.q0.k).a(aVar2); - a4.q = a4.s; - return a4; - } - Object obj = h.f822c.a; - int i2 = f0.a; - boolean z2 = !obj.equals(pair.first); - y.a aVar4 = z2 ? new y.a(pair.first) : h.f822c; - long longValue = ((Long) pair.second).longValue(); - long a5 = h0.a(s()); - if (!r1Var2.q()) { - a5 -= r1Var2.h(obj, this.i).e; - } - if (z2 || longValue < a5) { - c.c.a.a0.d.D(!aVar4.a()); - TrackGroupArray trackGroupArray2 = z2 ? TrackGroupArray.i : h.h; - m mVar2 = z2 ? this.b : h.i; - if (z2) { - c.i.b.b.a aVar5 = u.j; - list = c.i.b.b.q0.k; - } else { - list = h.j; + w0Var = new l1(); + } else if (i == 1) { + if (bundle.getInt(Integer.toString(0, 36), -1) == 1) { + z2 = true; } - c1 a6 = h.b(aVar4, longValue, longValue, 0, trackGroupArray2, mVar2, list).a(aVar4); - a6.q = longValue; - return a6; - } else if (i == 0) { - int b = r1Var.b(h.k.a); - if (b != -1 && r1Var.f(b, this.i).f1017c == r1Var.h(aVar4.a, this.i).f1017c) { - return h; + d.j(z2); + float f = bundle.getFloat(Integer.toString(1, 36), -1.0f); + if (f != -1.0f) { + return new v1(f); } - r1Var.h(aVar4.a, this.i); - long a7 = aVar4.a() ? this.i.a(aVar4.b, aVar4.f864c) : this.i.d; - c1 a8 = h.b(aVar4, h.s, h.s, a7 - h.s, h.h, h.i, h.j).a(aVar4); - a8.q = a7; - return a8; + w0Var = new v1(); + } else if (i == 2) { + if (bundle.getInt(l2.a(0), -1) == 2) { + z2 = true; + } + d.j(z2); + int i2 = bundle.getInt(l2.a(1), 5); + float f2 = bundle.getFloat(l2.a(2), -1.0f); + if (f2 != -1.0f) { + return new l2(i2, f2); + } + w0Var = new l2(i2); + } else if (i == 3) { + d.j(bundle.getInt(n2.a(0), -1) == 3); + return bundle.getBoolean(n2.a(1), false) ? new n2(bundle.getBoolean(n2.a(2), false)) : new n2(); } else { - c.c.a.a0.d.D(!aVar4.a()); - long max = Math.max(0L, h.f823r - (longValue - a5)); - long j = h.q; - if (h.k.equals(h.f822c)) { - j = longValue + max; - } - c1 b2 = h.b(aVar4, longValue, longValue, max, h.h, h.i, h.j); - b2.q = j; - return b2; + throw new IllegalArgumentException(a.f(44, "Encountered unknown rating type: ", i)); } - } - - public final long P(y.a aVar, long j) { - long b = h0.b(j); - this.f996x.b.h(aVar.a, this.i); - return b + h0.b(this.i.e); - } - - public final void Q(int i, int i2) { - for (int i3 = i2 - 1; i3 >= i; i3--) { - this.j.remove(i3); - } - this.f995w = this.f995w.a(i, i2); - } - - public void R(boolean z2, int i, int i2) { - c1 c1Var = this.f996x; - if (c1Var.l != z2 || c1Var.m != i) { - this.s++; - c1 d = c1Var.d(z2, i); - this.g.o.b(1, z2 ? 1 : 0, i).sendToTarget(); - S(d, false, 4, 0, i2, false); - } - } - - public final void S(c1 c1Var, boolean z2, int i, int i2, int i3, boolean z3) { - Pair pair; - int i4; - c1 c1Var2 = this.f996x; - this.f996x = c1Var; - boolean z4 = !c1Var2.b.equals(c1Var.b); - r1 r1Var = c1Var2.b; - r1 r1Var2 = c1Var.b; - if (r1Var2.q() && r1Var.q()) { - pair = new Pair(Boolean.FALSE, -1); - } else if (r1Var2.q() != r1Var.q()) { - pair = new Pair(Boolean.TRUE, 3); - } else { - Object obj = r1Var.n(r1Var.h(c1Var2.f822c.a, this.i).f1017c, this.a).f1018c; - Object obj2 = r1Var2.n(r1Var2.h(c1Var.f822c.a, this.i).f1017c, this.a).f1018c; - int i5 = this.a.o; - if (!obj.equals(obj2)) { - if (z2 && i == 0) { - i4 = 1; - } else if (z2 && i == 1) { - i4 = 2; - } else if (z4) { - i4 = 3; - } else { - throw new IllegalStateException(); - } - pair = new Pair(Boolean.TRUE, Integer.valueOf(i4)); - } else { - pair = (z2 && i == 0 && r1Var2.b(c1Var.f822c.a) == i5) ? new Pair(Boolean.TRUE, 0) : new Pair(Boolean.FALSE, -1); - } - } - boolean booleanValue = ((Boolean) pair.first).booleanValue(); - int intValue = ((Integer) pair.second).intValue(); - if (!c1Var2.b.equals(c1Var.b)) { - this.h.b(0, new c(c1Var, i2)); - } - if (z2) { - this.h.b(12, new d(i)); - } - if (booleanValue) { - this.h.b(1, new r(!c1Var.b.q() ? c1Var.b.n(c1Var.b.h(c1Var.f822c.a, this.i).f1017c, this.a).e : null, intValue)); - } - ExoPlaybackException exoPlaybackException = c1Var2.f; - ExoPlaybackException exoPlaybackException2 = c1Var.f; - if (!(exoPlaybackException == exoPlaybackException2 || exoPlaybackException2 == null)) { - this.h.b(11, new n(c1Var)); - } - m mVar = c1Var2.i; - m mVar2 = c1Var.i; - if (mVar != mVar2) { - this.d.a(mVar2.d); - this.h.b(2, new m(c1Var, new k(c1Var.i.f924c))); - } - if (!c1Var2.j.equals(c1Var.j)) { - this.h.b(3, new j(c1Var)); - } - if (c1Var2.g != c1Var.g) { - this.h.b(4, new f(c1Var)); - } - if (!(c1Var2.e == c1Var.e && c1Var2.l == c1Var.l)) { - this.h.b(-1, new p(c1Var)); - } - if (c1Var2.e != c1Var.e) { - this.h.b(5, new k(c1Var)); - } - if (c1Var2.l != c1Var.l) { - this.h.b(6, new v(c1Var, i3)); - } - if (c1Var2.m != c1Var.m) { - this.h.b(7, new s(c1Var)); - } - if (N(c1Var2) != N(c1Var)) { - this.h.b(8, new i(c1Var)); - } - if (!c1Var2.n.equals(c1Var.n)) { - this.h.b(13, new w(c1Var)); - } - if (z3) { - this.h.b(-1, a.a); - } - if (c1Var2.o != c1Var.o) { - this.h.b(-1, new g(c1Var)); - } - if (c1Var2.p != c1Var.p) { - this.h.b(-1, new u(c1Var)); - } - this.h.a(); - } - - @Override // c.i.a.c.g1 - public void a() { - c1 c1Var = this.f996x; - if (c1Var.e == 1) { - c1 e = c1Var.e(null); - c1 g = e.g(e.b.q() ? 4 : 2); - this.s++; - this.g.o.a(0).sendToTarget(); - S(g, false, 4, 1, 1, false); - } - } - - public h1 b(h1.b bVar) { - return new h1(this.g, bVar, this.f996x.b, o(), this.p, this.g.q); - } - - @Override // c.i.a.c.g1 - public d1 c() { - return this.f996x.n; - } - - @Override // c.i.a.c.g1 - public boolean d() { - return this.f996x.f822c.a(); - } - - @Override // c.i.a.c.g1 - public long e() { - return h0.b(this.f996x.f823r); - } - - @Override // c.i.a.c.g1 - public void f(int i, long j) { - r1 r1Var = this.f996x.b; - if (i < 0 || (!r1Var.q() && i >= r1Var.p())) { - throw new IllegalSeekPositionException(r1Var, i, j); - } - int i2 = 1; - this.s++; - if (d()) { - Log.w("ExoPlayerImpl", "seekTo ignored because an ad is playing"); - q0.d dVar = new q0.d(this.f996x); - dVar.a(1); - o0 o0Var = ((o) this.f).a; - o0Var.e.a.post(new t(o0Var, dVar)); - return; - } - c1 c1Var = this.f996x; - if (c1Var.e != 1) { - i2 = 2; - } - c1 O = O(c1Var.g(i2), r1Var, M(r1Var, i, j)); - this.g.o.c(3, new q0.g(r1Var, i, h0.a(j))).sendToTarget(); - S(O, true, 1, 0, 1, true); - } - - @Override // c.i.a.c.g1 - public boolean g() { - return this.f996x.l; - } - - @Override // c.i.a.c.g1 - public void h(boolean z2) { - if (this.f994r != z2) { - this.f994r = z2; - this.g.o.b(12, z2 ? 1 : 0, 0).sendToTarget(); - o oVar = this.h; - oVar.b(10, new h(z2)); - oVar.a(); - } - } - - @Override // c.i.a.c.g1 - public List i() { - return this.f996x.j; - } - - @Override // c.i.a.c.g1 - public int j() { - if (this.f996x.b.q()) { - return 0; - } - c1 c1Var = this.f996x; - return c1Var.b.b(c1Var.f822c.a); - } - - @Override // c.i.a.c.g1 - public void l(g1.a aVar) { - o oVar = this.h; - if (!oVar.h) { - Objects.requireNonNull(aVar); - oVar.e.add(new o.c<>(aVar, oVar.f968c)); - } - } - - @Override // c.i.a.c.g1 - public int m() { - if (d()) { - return this.f996x.f822c.f864c; - } - return -1; - } - - @Override // c.i.a.c.g1 - public void n(g1.a aVar) { - o oVar = this.h; - Iterator> it = oVar.e.iterator(); - while (it.hasNext()) { - o.c next = it.next(); - if (next.a.equals(aVar)) { - o.b bVar = oVar.d; - next.d = true; - if (next.f969c) { - bVar.a(next.a, next.b); - } - oVar.e.remove(next); - } - } - } - - @Override // c.i.a.c.g1 - public int o() { - int L = L(); - if (L == -1) { - return 0; - } - return L; - } - - @Override // c.i.a.c.g1 - @Nullable - public ExoPlaybackException p() { - return this.f996x.f; - } - - @Override // c.i.a.c.g1 - public void q(boolean z2) { - R(z2, 0, 1); - } - - @Override // c.i.a.c.g1 - @Nullable - public g1.d r() { - return null; - } - - @Override // c.i.a.c.g1 - public long s() { - if (!d()) { - return J(); - } - c1 c1Var = this.f996x; - c1Var.b.h(c1Var.f822c.a, this.i); - c1 c1Var2 = this.f996x; - return c1Var2.d == -9223372036854775807L ? c1Var2.b.n(o(), this.a).a() : h0.b(this.i.e) + h0.b(this.f996x.d); - } - - @Override // c.i.a.c.g1 - public int u() { - return this.f996x.e; - } - - @Override // c.i.a.c.g1 - public int w() { - if (d()) { - return this.f996x.f822c.b; - } - return -1; - } - - @Override // c.i.a.c.g1 - public void x(int i) { - if (this.q != i) { - this.q = i; - this.g.o.b(11, i, 0).sendToTarget(); - o oVar = this.h; - oVar.b(9, new e(i)); - oVar.a(); - } - } - - @Override // c.i.a.c.g1 - public int z() { - return this.f996x.m; + return w0Var; } } diff --git a/app/src/main/java/c/i/a/c/o1.java b/app/src/main/java/c/i/a/c/o1.java index 62e775f33b..3cff943725 100644 --- a/app/src/main/java/c/i/a/c/o1.java +++ b/app/src/main/java/c/i/a/c/o1.java @@ -1,53 +1,505 @@ package c.i.a.c; +import android.net.Uri; +import androidx.annotation.IntRange; import androidx.annotation.Nullable; -import androidx.recyclerview.widget.RecyclerView; -import c.c.a.a0.d; -/* compiled from: SeekParameters */ -public final class o1 { - public static final o1 a; - public static final o1 b; +import c.i.a.c.f3.e0; +import c.i.a.c.w0; +import c.i.b.b.h0; +import c.i.b.b.i0; +import c.i.b.b.n; +import c.i.b.b.p; +import c.i.b.b.q; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import java.util.Objects; +import java.util.UUID; +/* compiled from: MediaItem */ +public final class o1 implements w0 { + public static final w0.a i = k0.a; + public final String j; + @Nullable + public final h k; + public final g l; + public final p1 m; + public final d n; - /* renamed from: c reason: collision with root package name */ - public final long f999c; - public final long d; - - static { - o1 o1Var = new o1(0, 0); - a = o1Var; - boolean z2 = true; - d.k(RecyclerView.FOREVER_NS >= 0); - d.k(RecyclerView.FOREVER_NS >= 0); - d.k(RecyclerView.FOREVER_NS >= 0); - d.k(0 >= 0); - d.k(0 >= 0); - if (RecyclerView.FOREVER_NS < 0) { - z2 = false; - } - d.k(z2); - b = o1Var; + /* compiled from: MediaItem */ + public static final class b { } - public o1(long j, long j2) { - boolean z2 = true; - d.k(j >= 0); - d.k(j2 < 0 ? false : z2); - this.f999c = j; - this.d = j2; + /* compiled from: MediaItem */ + public static final class c { + @Nullable + public String a; + @Nullable + public Uri b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public String f835c; + public d.a d = new d.a(); + public f.a e = new f.a(null); + public List f = Collections.emptyList(); + @Nullable + public String g; + public p h = h0.k; + @Nullable + public Object i; + @Nullable + public p1 j; + public g.a k = new g.a(); + + public o1 a() { + i iVar; + f.a aVar = this.e; + c.c.a.a0.d.D(aVar.b == null || aVar.a != null); + Uri uri = this.b; + if (uri != null) { + String str = this.f835c; + f.a aVar2 = this.e; + iVar = new i(uri, str, aVar2.a != null ? new f(aVar2, null) : null, null, this.f, this.g, this.h, this.i, null); + } else { + iVar = null; + } + String str2 = this.a; + if (str2 == null) { + str2 = ""; + } + e a = this.d.a(); + g.a aVar3 = this.k; + Objects.requireNonNull(aVar3); + g gVar = new g(aVar3, null); + p1 p1Var = this.j; + if (p1Var == null) { + p1Var = p1.i; + } + return new o1(str2, a, iVar, gVar, p1Var, null); + } + } + + /* compiled from: MediaItem */ + public static class d implements w0 { + public static final w0.a i = i0.a; + @IntRange(from = 0) + public final long j; + public final long k; + public final boolean l; + public final boolean m; + public final boolean n; + + /* compiled from: MediaItem */ + public static final class a { + public long a; + public long b = Long.MIN_VALUE; + + /* renamed from: c reason: collision with root package name */ + public boolean f836c; + public boolean d; + public boolean e; + + @Deprecated + public e a() { + return new e(this, null); + } + } + + static { + new a().a(); + } + + public d(a aVar, a aVar2) { + this.j = aVar.a; + this.k = aVar.b; + this.l = aVar.f836c; + this.m = aVar.d; + this.n = aVar.e; + } + + public static String a(int i2) { + return Integer.toString(i2, 36); + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof d)) { + return false; + } + d dVar = (d) obj; + return this.j == dVar.j && this.k == dVar.k && this.l == dVar.l && this.m == dVar.m && this.n == dVar.n; + } + + public int hashCode() { + long j = this.j; + long j2 = this.k; + return (((((((((int) (j ^ (j >>> 32))) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31) + (this.l ? 1 : 0)) * 31) + (this.m ? 1 : 0)) * 31) + (this.n ? 1 : 0); + } + } + + /* compiled from: MediaItem */ + @Deprecated + public static final class e extends d { + public static final e o = new d.a().a(); + + public e(d.a aVar, a aVar2) { + super(aVar, null); + } + } + + /* compiled from: MediaItem */ + public static final class f { + public final UUID a; + @Nullable + public final Uri b; + + /* renamed from: c reason: collision with root package name */ + public final q f837c; + public final boolean d; + public final boolean e; + public final boolean f; + public final p g; + @Nullable + public final byte[] h; + + /* compiled from: MediaItem */ + public static final class a { + @Nullable + public UUID a; + @Nullable + public Uri b; + + /* renamed from: c reason: collision with root package name */ + public q f838c = i0.l; + public boolean d; + public boolean e; + public boolean f; + public p g; + @Nullable + public byte[] h; + + /* JADX DEBUG: Type inference failed for r1v1. Raw type applied. Possible types: c.i.b.b.q, c.i.b.b.q */ + /* JADX DEBUG: Type inference failed for r1v3. Raw type applied. Possible types: c.i.b.b.p, c.i.b.b.p */ + public a(a aVar) { + c.i.b.b.a aVar2 = p.j; + this.g = h0.k; + } + } + + public f(a aVar, a aVar2) { + c.c.a.a0.d.D(!aVar.f || aVar.b != null); + UUID uuid = aVar.a; + Objects.requireNonNull(uuid); + this.a = uuid; + this.b = aVar.b; + this.f837c = aVar.f838c; + this.d = aVar.d; + this.f = aVar.f; + this.e = aVar.e; + this.g = aVar.g; + byte[] bArr = aVar.h; + this.h = bArr != null ? Arrays.copyOf(bArr, bArr.length) : null; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof f)) { + return false; + } + f fVar = (f) obj; + return this.a.equals(fVar.a) && e0.a(this.b, fVar.b) && e0.a(this.f837c, fVar.f837c) && this.d == fVar.d && this.f == fVar.f && this.e == fVar.e && this.g.equals(fVar.g) && Arrays.equals(this.h, fVar.h); + } + + public int hashCode() { + int hashCode = this.a.hashCode() * 31; + Uri uri = this.b; + int hashCode2 = uri != null ? uri.hashCode() : 0; + int hashCode3 = this.f837c.hashCode(); + return Arrays.hashCode(this.h) + ((this.g.hashCode() + ((((((((hashCode3 + ((hashCode + hashCode2) * 31)) * 31) + (this.d ? 1 : 0)) * 31) + (this.f ? 1 : 0)) * 31) + (this.e ? 1 : 0)) * 31)) * 31); + } + } + + /* compiled from: MediaItem */ + public static final class g implements w0 { + public static final g i = new a().a(); + public static final w0.a j = j0.a; + public final long k; + public final long l; + public final long m; + public final float n; + public final float o; + + /* compiled from: MediaItem */ + public static final class a { + public long a = -9223372036854775807L; + public long b = -9223372036854775807L; + + /* renamed from: c reason: collision with root package name */ + public long f839c = -9223372036854775807L; + public float d = -3.4028235E38f; + public float e = -3.4028235E38f; + + public g a() { + return new g(this, null); + } + } + + @Deprecated + public g(long j2, long j3, long j4, float f, float f2) { + this.k = j2; + this.l = j3; + this.m = j4; + this.n = f; + this.o = f2; + } + + public g(a aVar, a aVar2) { + long j2 = aVar.a; + long j3 = aVar.b; + long j4 = aVar.f839c; + float f = aVar.d; + float f2 = aVar.e; + this.k = j2; + this.l = j3; + this.m = j4; + this.n = f; + this.o = f2; + } + + public static String a(int i2) { + return Integer.toString(i2, 36); + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof g)) { + return false; + } + g gVar = (g) obj; + return this.k == gVar.k && this.l == gVar.l && this.m == gVar.m && this.n == gVar.n && this.o == gVar.o; + } + + public int hashCode() { + long j2 = this.k; + long j3 = this.l; + long j4 = this.m; + int i2 = ((((((int) (j2 ^ (j2 >>> 32))) * 31) + ((int) (j3 ^ (j3 >>> 32)))) * 31) + ((int) (j4 ^ (j4 >>> 32)))) * 31; + float f = this.n; + int i3 = 0; + int floatToIntBits = (i2 + (f != 0.0f ? Float.floatToIntBits(f) : 0)) * 31; + float f2 = this.o; + if (f2 != 0.0f) { + i3 = Float.floatToIntBits(f2); + } + return floatToIntBits + i3; + } + } + + /* compiled from: MediaItem */ + public static class h { + public final Uri a; + @Nullable + public final String b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public final f f840c; + public final List d; + @Nullable + public final String e; + public final p f; + @Nullable + public final Object g; + + public h(Uri uri, String str, f fVar, b bVar, List list, String str2, p pVar, Object obj, a aVar) { + this.a = uri; + this.b = str; + this.f840c = fVar; + this.d = list; + this.e = str2; + this.f = pVar; + c.i.b.b.a aVar2 = p.j; + c.i.a.f.e.o.f.v(4, "initialCapacity"); + Object[] objArr = new Object[4]; + int i = 0; + int i2 = 0; + while (i < pVar.size()) { + j jVar = new j(new k.a(pVar.get(i), null), null); + int i3 = i2 + 1; + if (objArr.length < i3) { + objArr = Arrays.copyOf(objArr, n.b.a(objArr.length, i3)); + } + objArr[i2] = jVar; + i++; + i2 = i3; + } + p.l(objArr, i2); + this.g = obj; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof h)) { + return false; + } + h hVar = (h) obj; + return this.a.equals(hVar.a) && e0.a(this.b, hVar.b) && e0.a(this.f840c, hVar.f840c) && e0.a(null, null) && this.d.equals(hVar.d) && e0.a(this.e, hVar.e) && this.f.equals(hVar.f) && e0.a(this.g, hVar.g); + } + + public int hashCode() { + int hashCode = this.a.hashCode() * 31; + String str = this.b; + int i = 0; + int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31; + f fVar = this.f840c; + int hashCode3 = (this.d.hashCode() + ((((hashCode2 + (fVar == null ? 0 : fVar.hashCode())) * 31) + 0) * 31)) * 31; + String str2 = this.e; + int hashCode4 = (this.f.hashCode() + ((hashCode3 + (str2 == null ? 0 : str2.hashCode())) * 31)) * 31; + Object obj = this.g; + if (obj != null) { + i = obj.hashCode(); + } + return hashCode4 + i; + } + } + + /* compiled from: MediaItem */ + @Deprecated + public static final class i extends h { + public i(Uri uri, String str, f fVar, b bVar, List list, String str2, p pVar, Object obj, a aVar) { + super(uri, str, fVar, null, list, str2, pVar, obj, null); + } + } + + /* compiled from: MediaItem */ + @Deprecated + public static final class j extends k { + public j(k.a aVar, a aVar2) { + super(aVar, null); + } + } + + /* compiled from: MediaItem */ + public static class k { + public final Uri a; + @Nullable + public final String b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public final String f841c; + public final int d; + public final int e; + @Nullable + public final String f; + + /* compiled from: MediaItem */ + public static final class a { + public Uri a; + @Nullable + public String b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public String f842c; + public int d; + public int e; + @Nullable + public String f; + + public a(k kVar, a aVar) { + this.a = kVar.a; + this.b = kVar.b; + this.f842c = kVar.f841c; + this.d = kVar.d; + this.e = kVar.e; + this.f = kVar.f; + } + } + + public k(a aVar, a aVar2) { + this.a = aVar.a; + this.b = aVar.b; + this.f841c = aVar.f842c; + this.d = aVar.d; + this.e = aVar.e; + this.f = aVar.f; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof k)) { + return false; + } + k kVar = (k) obj; + return this.a.equals(kVar.a) && e0.a(this.b, kVar.b) && e0.a(this.f841c, kVar.f841c) && this.d == kVar.d && this.e == kVar.e && e0.a(this.f, kVar.f); + } + + public int hashCode() { + int hashCode = this.a.hashCode() * 31; + String str = this.b; + int i = 0; + int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31; + String str2 = this.f841c; + int hashCode3 = (((((hashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31) + this.d) * 31) + this.e) * 31; + String str3 = this.f; + if (str3 != null) { + i = str3.hashCode(); + } + return hashCode3 + i; + } + } + + static { + new c().a(); + } + + public o1(String str, e eVar, @Nullable i iVar, g gVar, p1 p1Var) { + this.j = str; + this.k = null; + this.l = gVar; + this.m = p1Var; + this.n = eVar; + } + + public o1(String str, e eVar, i iVar, g gVar, p1 p1Var, a aVar) { + this.j = str; + this.k = iVar; + this.l = gVar; + this.m = p1Var; + this.n = eVar; + } + + public static String a(int i2) { + return Integer.toString(i2, 36); } public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } - if (obj == null || o1.class != obj.getClass()) { + if (!(obj instanceof o1)) { return false; } o1 o1Var = (o1) obj; - return this.f999c == o1Var.f999c && this.d == o1Var.d; + return e0.a(this.j, o1Var.j) && this.n.equals(o1Var.n) && e0.a(this.k, o1Var.k) && e0.a(this.l, o1Var.l) && e0.a(this.m, o1Var.m); } public int hashCode() { - return (((int) this.f999c) * 31) + ((int) this.d); + int hashCode = this.j.hashCode() * 31; + h hVar = this.k; + int hashCode2 = hVar != null ? hVar.hashCode() : 0; + int hashCode3 = this.l.hashCode(); + return this.m.hashCode() + ((this.n.hashCode() + ((hashCode3 + ((hashCode + hashCode2) * 31)) * 31)) * 31); } } diff --git a/app/src/main/java/c/i/a/c/o2.java b/app/src/main/java/c/i/a/c/o2.java new file mode 100644 index 0000000000..444b9a51ee --- /dev/null +++ b/app/src/main/java/c/i/a/c/o2.java @@ -0,0 +1,436 @@ +package c.i.a.c; + +import android.net.Uri; +import android.util.Pair; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.a3.p0.c; +import c.i.a.c.f3.e0; +import c.i.a.c.o1; +import c.i.a.c.w0; +import c.i.b.b.h0; +import c.i.b.b.p; +import com.google.errorprone.annotations.InlineMe; +import java.util.Collections; +import java.util.List; +import java.util.Objects; +/* compiled from: Timeline */ +public abstract class o2 implements w0 { + public static final o2 i = new a(); + + /* compiled from: Timeline */ + public class a extends o2 { + @Override // c.i.a.c.o2 + public int b(Object obj) { + return -1; + } + + @Override // c.i.a.c.o2 + public b g(int i, b bVar, boolean z2) { + throw new IndexOutOfBoundsException(); + } + + @Override // c.i.a.c.o2 + public int i() { + return 0; + } + + @Override // c.i.a.c.o2 + public Object m(int i) { + throw new IndexOutOfBoundsException(); + } + + @Override // c.i.a.c.o2 + public c o(int i, c cVar, long j) { + throw new IndexOutOfBoundsException(); + } + + @Override // c.i.a.c.o2 + public int p() { + return 0; + } + } + + /* compiled from: Timeline */ + public static final class b implements w0 { + @Nullable + public Object i; + @Nullable + public Object j; + public int k; + public long l; + public long m; + public boolean n; + public c.i.a.c.a3.p0.c o = c.i.a.c.a3.p0.c.i; + + public long a(int i, int i2) { + c.a a = this.o.a(i); + if (a.k != -1) { + return a.n[i2]; + } + return -9223372036854775807L; + } + + public int b(long j) { + c.i.a.c.a3.p0.c cVar = this.o; + long j2 = this.l; + Objects.requireNonNull(cVar); + if (j == Long.MIN_VALUE) { + return -1; + } + if (j2 != -9223372036854775807L && j >= j2) { + return -1; + } + int i = cVar.p; + while (i < cVar.m) { + if (cVar.a(i).j == Long.MIN_VALUE || cVar.a(i).j > j) { + c.a a = cVar.a(i); + if (a.k == -1 || a.a(-1) < a.k) { + break; + } + } + i++; + } + if (i < cVar.m) { + return i; + } + return -1; + } + + public long c(int i) { + return this.o.a(i).j; + } + + public int d(int i) { + return this.o.a(i).a(-1); + } + + public boolean e(int i) { + return this.o.a(i).p; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || !b.class.equals(obj.getClass())) { + return false; + } + b bVar = (b) obj; + return e0.a(this.i, bVar.i) && e0.a(this.j, bVar.j) && this.k == bVar.k && this.l == bVar.l && this.m == bVar.m && this.n == bVar.n && e0.a(this.o, bVar.o); + } + + public b f(@Nullable Object obj, @Nullable Object obj2, int i, long j, long j2, c.i.a.c.a3.p0.c cVar, boolean z2) { + this.i = obj; + this.j = obj2; + this.k = i; + this.l = j; + this.m = j2; + this.o = cVar; + this.n = z2; + return this; + } + + public int hashCode() { + Object obj = this.i; + int i = 0; + int hashCode = (217 + (obj == null ? 0 : obj.hashCode())) * 31; + Object obj2 = this.j; + if (obj2 != null) { + i = obj2.hashCode(); + } + long j = this.l; + long j2 = this.m; + return this.o.hashCode() + ((((((((((hashCode + i) * 31) + this.k) * 31) + ((int) (j ^ (j >>> 32)))) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31) + (this.n ? 1 : 0)) * 31); + } + } + + /* compiled from: Timeline */ + public static final class c implements w0 { + public static final Object i = new Object(); + public static final Object j = new Object(); + public static final o1 k; + public static final w0.a l = q0.a; + public int A; + public int B; + public long C; + public Object m = i; + @Nullable + @Deprecated + public Object n; + public o1 o = k; + @Nullable + public Object p; + public long q; + public long r; + + /* renamed from: s reason: collision with root package name */ + public long f843s; + public boolean t; + public boolean u; + @Deprecated + public boolean v; + @Nullable + public o1.g w; + + /* renamed from: x reason: collision with root package name */ + public boolean f844x; + + /* renamed from: y reason: collision with root package name */ + public long f845y; + + /* renamed from: z reason: collision with root package name */ + public long f846z; + + static { + o1.i iVar; + o1.d.a aVar = new o1.d.a(); + o1.f.a aVar2 = new o1.f.a(null); + List emptyList = Collections.emptyList(); + p pVar = h0.k; + o1.g.a aVar3 = new o1.g.a(); + Uri uri = Uri.EMPTY; + d.D(aVar2.b == null || aVar2.a != null); + if (uri != null) { + iVar = new o1.i(uri, null, aVar2.a != null ? new o1.f(aVar2, null) : null, null, emptyList, null, pVar, null, null); + } else { + iVar = null; + } + k = new o1("com.google.android.exoplayer2.Timeline", aVar.a(), iVar, new o1.g(aVar3, null), p1.i, null); + } + + public static String d(int i2) { + return Integer.toString(i2, 36); + } + + public long a() { + return e0.M(this.f845y); + } + + public long b() { + return e0.M(this.f846z); + } + + public boolean c() { + d.D(this.v == (this.w != null)); + return this.w != null; + } + + public c e(Object obj, @Nullable o1 o1Var, @Nullable Object obj2, long j2, long j3, long j4, boolean z2, boolean z3, @Nullable o1.g gVar, long j5, long j6, int i2, int i3, long j7) { + o1.h hVar; + this.m = obj; + this.o = o1Var != null ? o1Var : k; + this.n = (o1Var == null || (hVar = o1Var.k) == null) ? null : hVar.g; + this.p = obj2; + this.q = j2; + this.r = j3; + this.f843s = j4; + this.t = z2; + this.u = z3; + this.v = gVar != null; + this.w = gVar; + this.f845y = j5; + this.f846z = j6; + this.A = i2; + this.B = i3; + this.C = j7; + this.f844x = false; + return this; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || !c.class.equals(obj.getClass())) { + return false; + } + c cVar = (c) obj; + return e0.a(this.m, cVar.m) && e0.a(this.o, cVar.o) && e0.a(this.p, cVar.p) && e0.a(this.w, cVar.w) && this.q == cVar.q && this.r == cVar.r && this.f843s == cVar.f843s && this.t == cVar.t && this.u == cVar.u && this.f844x == cVar.f844x && this.f845y == cVar.f845y && this.f846z == cVar.f846z && this.A == cVar.A && this.B == cVar.B && this.C == cVar.C; + } + + public int hashCode() { + int hashCode = (this.o.hashCode() + ((this.m.hashCode() + 217) * 31)) * 31; + Object obj = this.p; + int i2 = 0; + int hashCode2 = (hashCode + (obj == null ? 0 : obj.hashCode())) * 31; + o1.g gVar = this.w; + if (gVar != null) { + i2 = gVar.hashCode(); + } + long j2 = this.q; + long j3 = this.r; + long j4 = this.f843s; + long j5 = this.f845y; + long j6 = this.f846z; + long j7 = this.C; + return ((((((((((((((((((((((hashCode2 + i2) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31) + ((int) (j3 ^ (j3 >>> 32)))) * 31) + ((int) (j4 ^ (j4 >>> 32)))) * 31) + (this.t ? 1 : 0)) * 31) + (this.u ? 1 : 0)) * 31) + (this.f844x ? 1 : 0)) * 31) + ((int) (j5 ^ (j5 >>> 32)))) * 31) + ((int) (j6 ^ (j6 >>> 32)))) * 31) + this.A) * 31) + this.B) * 31) + ((int) (j7 ^ (j7 >>> 32))); + } + } + + public int a(boolean z2) { + return q() ? -1 : 0; + } + + public abstract int b(Object obj); + + public int c(boolean z2) { + if (q()) { + return -1; + } + return p() - 1; + } + + public final int d(int i2, b bVar, c cVar, int i3, boolean z2) { + int i4 = g(i2, bVar, false).k; + if (n(i4, cVar).B != i2) { + return i2 + 1; + } + int e = e(i4, i3, z2); + if (e == -1) { + return -1; + } + return n(e, cVar).A; + } + + public int e(int i2, int i3, boolean z2) { + if (i3 != 0) { + if (i3 == 1) { + return i2; + } + if (i3 == 2) { + return i2 == c(z2) ? a(z2) : i2 + 1; + } + throw new IllegalStateException(); + } else if (i2 == c(z2)) { + return -1; + } else { + return i2 + 1; + } + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof o2)) { + return false; + } + o2 o2Var = (o2) obj; + if (!(o2Var.p() == p() && o2Var.i() == i())) { + return false; + } + c cVar = new c(); + b bVar = new b(); + c cVar2 = new c(); + b bVar2 = new b(); + for (int i2 = 0; i2 < p(); i2++) { + if (!n(i2, cVar).equals(o2Var.n(i2, cVar2))) { + return false; + } + } + for (int i3 = 0; i3 < i(); i3++) { + if (!g(i3, bVar, true).equals(o2Var.g(i3, bVar2, true))) { + return false; + } + } + return true; + } + + public final b f(int i2, b bVar) { + return g(i2, bVar, false); + } + + public abstract b g(int i2, b bVar, boolean z2); + + public b h(Object obj, b bVar) { + return g(b(obj), bVar, true); + } + + public int hashCode() { + c cVar = new c(); + b bVar = new b(); + int p = p() + 217; + for (int i2 = 0; i2 < p(); i2++) { + p = (p * 31) + n(i2, cVar).hashCode(); + } + int i3 = i() + (p * 31); + for (int i4 = 0; i4 < i(); i4++) { + i3 = (i3 * 31) + g(i4, bVar, true).hashCode(); + } + return i3; + } + + public abstract int i(); + + @InlineMe(replacement = "this.getPeriodPositionUs(window, period, windowIndex, windowPositionUs)") + @Deprecated + public final Pair j(c cVar, b bVar, int i2, long j) { + Pair k = k(cVar, bVar, i2, j, 0); + Objects.requireNonNull(k); + return k; + } + + @Deprecated + @Nullable + @InlineMe(replacement = "this.getPeriodPositionUs(window, period, windowIndex, windowPositionUs, defaultPositionProjectionUs)") + public final Pair k(c cVar, b bVar, int i2, long j, long j2) { + d.t(i2, 0, p()); + o(i2, cVar, j2); + if (j == -9223372036854775807L) { + j = cVar.f845y; + if (j == -9223372036854775807L) { + return null; + } + } + int i3 = cVar.A; + f(i3, bVar); + while (i3 < cVar.B && bVar.m != j) { + int i4 = i3 + 1; + if (f(i4, bVar).m > j) { + break; + } + i3 = i4; + } + g(i3, bVar, true); + long j3 = j - bVar.m; + long j4 = bVar.l; + if (j4 != -9223372036854775807L) { + j3 = Math.min(j3, j4 - 1); + } + long max = Math.max(0L, j3); + Object obj = bVar.j; + Objects.requireNonNull(obj); + return Pair.create(obj, Long.valueOf(max)); + } + + public int l(int i2, int i3, boolean z2) { + if (i3 != 0) { + if (i3 == 1) { + return i2; + } + if (i3 == 2) { + return i2 == a(z2) ? c(z2) : i2 - 1; + } + throw new IllegalStateException(); + } else if (i2 == a(z2)) { + return -1; + } else { + return i2 - 1; + } + } + + public abstract Object m(int i2); + + public final c n(int i2, c cVar) { + return o(i2, cVar, 0); + } + + public abstract c o(int i2, c cVar, long j); + + public abstract int p(); + + public final boolean q() { + return p() == 0; + } +} diff --git a/app/src/main/java/c/i/a/c/p.java b/app/src/main/java/c/i/a/c/p.java index 0da95d1eca..6d590c76e9 100644 --- a/app/src/main/java/c/i/a/c/p.java +++ b/app/src/main/java/c/i/a/c/p.java @@ -1,18 +1,17 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class p implements o.a { - public final /* synthetic */ c1 a; +public final /* synthetic */ class p implements p.a { + public final /* synthetic */ p1 a; - public /* synthetic */ p(c1 c1Var) { - this.a = c1Var; + public /* synthetic */ p(p1 p1Var) { + this.a = p1Var; } - @Override // c.i.a.c.i2.o.a + @Override // c.i.a.c.f3.p.a public final void invoke(Object obj) { - c1 c1Var = this.a; - ((g1.a) obj).z(c1Var.l, c1Var.e); + ((y1.c) obj).A(this.a); } } diff --git a/app/src/main/java/c/i/a/c/p0.java b/app/src/main/java/c/i/a/c/p0.java index ff62740c91..b4fd617a89 100644 --- a/app/src/main/java/c/i/a/c/p0.java +++ b/app/src/main/java/c/i/a/c/p0.java @@ -1,23 +1,14 @@ package c.i.a.c; +/* compiled from: lambda */ +public final /* synthetic */ class p0 implements Runnable { + public final /* synthetic */ m2 i; -import c.i.a.c.k1; -/* compiled from: ExoPlayerImplInternal */ -public class p0 implements k1.a { - public final /* synthetic */ q0 a; - - public p0(q0 q0Var) { - this.a = q0Var; + public /* synthetic */ p0(m2 m2Var) { + this.i = m2Var; } - @Override // c.i.a.c.k1.a - public void a() { - this.a.o.d(2); - } - - @Override // c.i.a.c.k1.a - public void b(long j) { - if (j >= 2000) { - this.a.O = true; - } + @Override // java.lang.Runnable + public final void run() { + this.i.d(); } } diff --git a/app/src/main/java/c/i/a/c/p1.java b/app/src/main/java/c/i/a/c/p1.java index 2c4dc36c36..4d4a11b690 100644 --- a/app/src/main/java/c/i/a/c/p1.java +++ b/app/src/main/java/c/i/a/c/p1.java @@ -1,1155 +1,270 @@ package c.i.a.c; -import android.content.Context; -import android.content.Intent; -import android.content.IntentFilter; -import android.graphics.Rect; -import android.graphics.SurfaceTexture; -import android.media.AudioManager; -import android.media.AudioTrack; -import android.os.Handler; -import android.os.Looper; -import android.provider.Settings; -import android.telephony.TelephonyManager; -import android.text.TextUtils; -import android.util.Log; -import android.view.Surface; -import android.view.SurfaceHolder; -import android.view.SurfaceView; -import android.view.TextureView; +import android.net.Uri; +import android.os.Bundle; import androidx.annotation.Nullable; -import androidx.core.view.PointerIconCompat; -import c.i.a.c.a2.f; -import c.i.a.c.c2.e; -import c.i.a.c.d0; -import c.i.a.c.d2.a0; -import c.i.a.c.e0; -import c.i.a.c.e2.k; -import c.i.a.c.f2.l; -import c.i.a.c.g1; -import c.i.a.c.h2.d; -import c.i.a.c.h2.m; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.g; -import c.i.a.c.i2.o; -import c.i.a.c.j2.r; -import c.i.a.c.j2.s; -import c.i.a.c.j2.v; -import c.i.a.c.j2.w; -import c.i.a.c.q1; -import c.i.a.c.u1.c1; -import c.i.a.c.u1.d1; -import c.i.a.c.u1.w0; -import c.i.a.c.v1.n; -import c.i.a.c.v1.p; -import c.i.a.c.v1.q; -import c.i.a.c.v1.y; -import c.i.b.b.q0; -import c.i.b.b.u; -import com.discord.utilities.guilds.GuildConstantsKt; -import com.discord.utilities.rest.SendUtils; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.ExoTimeoutException; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.audio.AudioProcessor; -import com.google.android.exoplayer2.audio.DefaultAudioSink; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.source.TrackGroupArray; -import com.google.android.exoplayer2.trackselection.DefaultTrackSelector; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashMap; -import java.util.Iterator; -import java.util.List; -import java.util.Locale; -import java.util.Objects; -import java.util.UUID; -import java.util.concurrent.CopyOnWriteArraySet; -import java.util.concurrent.TimeoutException; -import org.webrtc.MediaStreamTrack; -/* compiled from: SimpleExoPlayer */ -public class p1 extends f0 implements g1, g1.d, g1.c { - public n A; - public float B; - public boolean C = false; - public List D; +import c.i.a.c.f3.e0; +import c.i.a.c.w0; +import java.util.Arrays; +/* compiled from: MediaMetadata */ +public final class p1 implements w0 { + public static final p1 i = new b().a(); + public static final w0.a j = l0.a; @Nullable - public s E; + public final Boolean A; @Nullable - public c.i.a.c.j2.x.a F; - public boolean G; - public boolean H; - public boolean I; - public c.i.a.c.y1.a J; - public final k1[] b; - - /* renamed from: c reason: collision with root package name */ - public final Context f1000c; - public final o0 d; - public final c e; - public final CopyOnWriteArraySet f; - public final CopyOnWriteArraySet

g; - public final CopyOnWriteArraySet h; - public final CopyOnWriteArraySet i; - public final CopyOnWriteArraySet j; - public final c1 k; - public final d0 l; - public final e0 m; - public final q1 n; - public final s1 o; - public final t1 p; - public final long q; + @Deprecated + public final Integer B; + @Nullable + public final Integer C; + @Nullable + public final Integer D; + @Nullable + public final Integer E; + @Nullable + public final Integer F; + @Nullable + public final Integer G; + @Nullable + public final Integer H; + @Nullable + public final CharSequence I; + @Nullable + public final CharSequence J; + @Nullable + public final CharSequence K; + @Nullable + public final Integer L; + @Nullable + public final Integer M; + @Nullable + public final CharSequence N; + @Nullable + public final CharSequence O; + @Nullable + public final Bundle P; + @Nullable + public final CharSequence k; + @Nullable + public final CharSequence l; + @Nullable + public final CharSequence m; + @Nullable + public final CharSequence n; + @Nullable + public final CharSequence o; + @Nullable + public final CharSequence p; + @Nullable + public final CharSequence q; + @Nullable + public final Uri r; @Nullable - /* renamed from: r reason: collision with root package name */ - public AudioTrack f1001r; + /* renamed from: s reason: collision with root package name */ + public final d2 f847s; @Nullable - public Surface s; - public boolean t; - public int u; + public final d2 t; @Nullable - public SurfaceHolder v; + public final byte[] u; + @Nullable + public final Integer v; + @Nullable + public final Uri w; @Nullable - - /* renamed from: w reason: collision with root package name */ - public TextureView f1002w; /* renamed from: x reason: collision with root package name */ - public int f1003x; + public final Integer f848x; + @Nullable /* renamed from: y reason: collision with root package name */ - public int f1004y; + public final Integer f849y; + @Nullable /* renamed from: z reason: collision with root package name */ - public int f1005z; + public final Integer f850z; - /* compiled from: SimpleExoPlayer */ + /* compiled from: MediaMetadata */ public static final class b { - public final Context a; - public final n1 b; + @Nullable + public Integer A; + @Nullable + public Integer B; + @Nullable + public CharSequence C; + @Nullable + public CharSequence D; + @Nullable + public Bundle E; + @Nullable + public CharSequence a; + @Nullable + public CharSequence b; + @Nullable /* renamed from: c reason: collision with root package name */ - public g f1006c; - public l d; - public a0 e; - public u0 f; - public d g; - public c1 h; - public Looper i; - public n j; - public int k; - public boolean l; - public o1 m; - public t0 n; - public long o; - public long p; - public boolean q; + public CharSequence f851c; + @Nullable + public CharSequence d; + @Nullable + public CharSequence e; + @Nullable + public CharSequence f; + @Nullable + public CharSequence g; + @Nullable + public Uri h; + @Nullable + public d2 i; + @Nullable + public d2 j; + @Nullable + public byte[] k; + @Nullable + public Integer l; + @Nullable + public Uri m; + @Nullable + public Integer n; + @Nullable + public Integer o; + @Nullable + public Integer p; + @Nullable + public Boolean q; + @Nullable + public Integer r; + @Nullable - /* JADX WARNING: Removed duplicated region for block: B:23:0x008c */ - /* JADX WARNING: Removed duplicated region for block: B:26:0x0097 */ - public b(Context context) { - c.i.a.c.h2.n nVar; - String str; - u uVar; - TelephonyManager telephonyManager; - n0 n0Var = new n0(context); - f fVar = new f(); - DefaultTrackSelector defaultTrackSelector = new DefaultTrackSelector(context); - c.i.a.c.d2.n nVar2 = new c.i.a.c.d2.n(context, fVar); - l0 l0Var = new l0(new m(true, 65536), 50000, 50000, GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, 5000, -1, false, 0, false); - c.i.b.b.v vVar = c.i.a.c.h2.n.a; - synchronized (c.i.a.c.h2.n.class) { - if (c.i.a.c.h2.n.g == null) { - Context applicationContext = context == null ? null : context.getApplicationContext(); - int i = f0.a; - if (!(context == null || (telephonyManager = (TelephonyManager) context.getSystemService("phone")) == null)) { - str = telephonyManager.getNetworkCountryIso(); - if (!TextUtils.isEmpty(str)) { - if (str != null) { - str = str.toUpperCase(Locale.US); - } - uVar = (u) c.i.a.c.h2.n.a.l.get(str); - if (uVar == null) { - c.i.b.b.a aVar = u.j; - uVar = q0.k; - } - uVar = uVar.isEmpty() ? u.u(2, 2, 2, 2, 2) : uVar; - HashMap hashMap = new HashMap(6); - hashMap.put(0, 1000000L); - u uVar2 = c.i.a.c.h2.n.b; - hashMap.put(2, uVar2.get(((Integer) uVar.get(0)).intValue())); - hashMap.put(3, c.i.a.c.h2.n.f946c.get(((Integer) uVar.get(1)).intValue())); - hashMap.put(4, c.i.a.c.h2.n.d.get(((Integer) uVar.get(2)).intValue())); - hashMap.put(5, c.i.a.c.h2.n.e.get(((Integer) uVar.get(3)).intValue())); - hashMap.put(9, c.i.a.c.h2.n.f.get(((Integer) uVar.get(4)).intValue())); - hashMap.put(7, uVar2.get(((Integer) uVar.get(0)).intValue())); - c.i.a.c.h2.n.g = new c.i.a.c.h2.n(applicationContext, hashMap, 2000, g.a, true); - } - } - str = Locale.getDefault().getCountry(); - if (str != null) { - str = str.toUpperCase(Locale.US); - } - uVar = (u) c.i.a.c.h2.n.a.l.get(str); - if (uVar == null) { - } - if (uVar.isEmpty()) { - } - HashMap hashMap = new HashMap(6); - hashMap.put(0, 1000000L); - u uVar2 = c.i.a.c.h2.n.b; - hashMap.put(2, uVar2.get(((Integer) uVar.get(0)).intValue())); - hashMap.put(3, c.i.a.c.h2.n.f946c.get(((Integer) uVar.get(1)).intValue())); - hashMap.put(4, c.i.a.c.h2.n.d.get(((Integer) uVar.get(2)).intValue())); - hashMap.put(5, c.i.a.c.h2.n.e.get(((Integer) uVar.get(3)).intValue())); - hashMap.put(9, c.i.a.c.h2.n.f.get(((Integer) uVar.get(4)).intValue())); - hashMap.put(7, uVar2.get(((Integer) uVar.get(0)).intValue())); - c.i.a.c.h2.n.g = new c.i.a.c.h2.n(applicationContext, hashMap, 2000, g.a, true); - } - nVar = c.i.a.c.h2.n.g; + /* renamed from: s reason: collision with root package name */ + public Integer f852s; + @Nullable + public Integer t; + @Nullable + public Integer u; + @Nullable + public Integer v; + @Nullable + public Integer w; + @Nullable + + /* renamed from: x reason: collision with root package name */ + public CharSequence f853x; + @Nullable + + /* renamed from: y reason: collision with root package name */ + public CharSequence f854y; + @Nullable + + /* renamed from: z reason: collision with root package name */ + public CharSequence f855z; + + public b() { + } + + public b(p1 p1Var, a aVar) { + this.a = p1Var.k; + this.b = p1Var.l; + this.f851c = p1Var.m; + this.d = p1Var.n; + this.e = p1Var.o; + this.f = p1Var.p; + this.g = p1Var.q; + this.h = p1Var.r; + this.i = p1Var.f847s; + this.j = p1Var.t; + this.k = p1Var.u; + this.l = p1Var.v; + this.m = p1Var.w; + this.n = p1Var.f848x; + this.o = p1Var.f849y; + this.p = p1Var.f850z; + this.q = p1Var.A; + this.r = p1Var.C; + this.f852s = p1Var.D; + this.t = p1Var.E; + this.u = p1Var.F; + this.v = p1Var.G; + this.w = p1Var.H; + this.f853x = p1Var.I; + this.f854y = p1Var.J; + this.f855z = p1Var.K; + this.A = p1Var.L; + this.B = p1Var.M; + this.C = p1Var.N; + this.D = p1Var.O; + this.E = p1Var.P; + } + + public p1 a() { + return new p1(this, null); + } + + public b b(byte[] bArr, int i) { + if (this.k == null || e0.a(Integer.valueOf(i), 3) || !e0.a(this.l, 3)) { + this.k = (byte[]) bArr.clone(); + this.l = Integer.valueOf(i); } - g gVar = g.a; - c1 c1Var = new c1(gVar); - this.a = context; - this.b = n0Var; - this.d = defaultTrackSelector; - this.e = nVar2; - this.f = l0Var; - this.g = nVar; - this.h = c1Var; - this.i = f0.o(); - this.j = n.a; - this.k = 1; - this.l = true; - this.m = o1.b; - this.n = new k0(0.97f, 1.03f, 1000, 1.0E-7f, h0.a(20), h0.a(500), 0.999f, null); - this.f1006c = gVar; - this.o = 500; - this.p = 2000; + return this; } } - /* compiled from: SimpleExoPlayer */ - public final class c implements w, q, k, e, SurfaceHolder.Callback, TextureView.SurfaceTextureListener, e0.b, d0.b, q1.b, g1.a { - public c(a aVar) { - } + public p1(b bVar, a aVar) { + this.k = bVar.a; + this.l = bVar.b; + this.m = bVar.f851c; + this.n = bVar.d; + this.o = bVar.e; + this.p = bVar.f; + this.q = bVar.g; + this.r = bVar.h; + this.f847s = bVar.i; + this.t = bVar.j; + this.u = bVar.k; + this.v = bVar.l; + this.w = bVar.m; + this.f848x = bVar.n; + this.f849y = bVar.o; + this.f850z = bVar.p; + this.A = bVar.q; + Integer num = bVar.r; + this.B = num; + this.C = num; + this.D = bVar.f852s; + this.E = bVar.t; + this.F = bVar.u; + this.G = bVar.v; + this.H = bVar.w; + this.I = bVar.f853x; + this.J = bVar.f854y; + this.K = bVar.f855z; + this.L = bVar.A; + this.M = bVar.B; + this.N = bVar.C; + this.O = bVar.D; + this.P = bVar.E; + } - @Override // c.i.a.c.v1.q - public void A(Format format, @Nullable c.i.a.c.x1.e eVar) { - Objects.requireNonNull(p1.this); - p1.this.k.A(format, eVar); - } + public static String b(int i2) { + return Integer.toString(i2, 36); + } - @Override // c.i.a.c.g1.a - public /* synthetic */ void C(r1 r1Var, Object obj, int i) { - f1.t(this, r1Var, obj, i); - } + public b a() { + return new b(this, null); + } - @Override // c.i.a.c.g1.a - public /* synthetic */ void D(int i) { - f1.o(this, i); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void E(v0 v0Var, int i) { - f1.g(this, v0Var, i); - } - - @Override // c.i.a.c.v1.q - public void G(boolean z2) { - p1 p1Var = p1.this; - if (p1Var.C != z2) { - p1Var.C = z2; - p1Var.k.G(z2); - Iterator

it = p1Var.g.iterator(); - while (it.hasNext()) { - it.next().b(); - } - } - } - - @Override // c.i.a.c.v1.q - public void H(Exception exc) { - p1.this.k.H(exc); - } - - @Override // c.i.a.c.j2.w - public void I(c.i.a.c.x1.d dVar) { - Objects.requireNonNull(p1.this); - p1.this.k.I(dVar); - } - - @Override // c.i.a.c.j2.w - public void J(Format format, @Nullable c.i.a.c.x1.e eVar) { - Objects.requireNonNull(p1.this); - p1.this.k.J(format, eVar); - } - - @Override // c.i.a.c.v1.q - public void K(long j) { - p1.this.k.K(j); - } - - @Override // c.i.a.c.g1.a - public void M(boolean z2, int i) { - p1.b(p1.this); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void O(TrackGroupArray trackGroupArray, c.i.a.c.f2.k kVar) { - f1.u(this, trackGroupArray, kVar); - } - - @Override // c.i.a.c.j2.w - public void P(c.i.a.c.x1.d dVar) { - p1.this.k.P(dVar); - Objects.requireNonNull(p1.this); - Objects.requireNonNull(p1.this); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void Q(d1 d1Var) { - f1.i(this, d1Var); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void S(boolean z2) { - f1.b(this, z2); - } - - @Override // c.i.a.c.v1.q - public void T(int i, long j, long j2) { - p1.this.k.T(i, j, j2); - } - - @Override // c.i.a.c.j2.w - public void V(long j, int i) { - p1.this.k.V(j, i); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void X(boolean z2) { - f1.e(this, z2); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void a() { - f1.p(this); - } - - @Override // c.i.a.c.j2.w - public void b(int i, int i2, int i3, float f) { - p1.this.k.b(i, i2, i3, f); - Iterator it = p1.this.f.iterator(); - while (it.hasNext()) { - it.next().b(i, i2, i3, f); - } - } - - @Override // c.i.a.c.v1.q - public void c(c.i.a.c.x1.d dVar) { - p1.this.k.c(dVar); - Objects.requireNonNull(p1.this); - Objects.requireNonNull(p1.this); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void d(int i) { - f1.k(this, i); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void e(boolean z2) { - f1.f(this, z2); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void f(int i) { - f1.n(this, i); - } - - @Override // c.i.a.c.j2.w - public void g(String str) { - p1.this.k.g(str); - } - - @Override // c.i.a.c.v1.q - public void h(c.i.a.c.x1.d dVar) { - Objects.requireNonNull(p1.this); - p1.this.k.h(dVar); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void i(List list) { - f1.r(this, list); - } - - @Override // c.i.a.c.j2.w - public void j(String str, long j, long j2) { - p1.this.k.j(str, j, j2); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void k(ExoPlaybackException exoPlaybackException) { - f1.l(this, exoPlaybackException); - } - - @Override // c.i.a.c.c2.e - public void l(Metadata metadata) { - c1 c1Var = p1.this.k; - d1.a Y = c1Var.Y(); - c.i.a.c.u1.d dVar = new c.i.a.c.u1.d(Y, metadata); - c1Var.m.put(PointerIconCompat.TYPE_CROSSHAIR, Y); - o oVar = c1Var.n; - oVar.b(PointerIconCompat.TYPE_CROSSHAIR, dVar); - oVar.a(); - Iterator it = p1.this.i.iterator(); - while (it.hasNext()) { - it.next().l(metadata); - } - } - - @Override // c.i.a.c.e2.k - public void m(List list) { - p1 p1Var = p1.this; - p1Var.D = list; - Iterator it = p1Var.h.iterator(); - while (it.hasNext()) { - it.next().m(list); - } - } - - @Override // c.i.a.c.g1.a - public void n(boolean z2) { - Objects.requireNonNull(p1.this); - } - - @Override // android.view.TextureView.SurfaceTextureListener - public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int i, int i2) { - p1.this.V(new Surface(surfaceTexture), true); - p1.this.P(i, i2); - } - - @Override // android.view.TextureView.SurfaceTextureListener - public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { - p1.this.V(null, true); - p1.this.P(0, 0); + public boolean equals(@Nullable Object obj) { + if (this == obj) { return true; } - - @Override // android.view.TextureView.SurfaceTextureListener - public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int i, int i2) { - p1.this.P(i, i2); - } - - @Override // android.view.TextureView.SurfaceTextureListener - public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void p(r1 r1Var, int i) { - f1.s(this, r1Var, i); - } - - @Override // c.i.a.c.g1.a - public void r(int i) { - p1.b(p1.this); - } - - @Override // c.i.a.c.j2.w - public void s(Surface surface) { - p1.this.k.s(surface); - p1 p1Var = p1.this; - if (p1Var.s == surface) { - Iterator it = p1Var.f.iterator(); - while (it.hasNext()) { - it.next().c(); - } - } - } - - @Override // android.view.SurfaceHolder.Callback - public void surfaceChanged(SurfaceHolder surfaceHolder, int i, int i2, int i3) { - p1.this.P(i2, i3); - } - - @Override // android.view.SurfaceHolder.Callback - public void surfaceCreated(SurfaceHolder surfaceHolder) { - p1.this.V(surfaceHolder.getSurface(), false); - } - - @Override // android.view.SurfaceHolder.Callback - public void surfaceDestroyed(SurfaceHolder surfaceHolder) { - p1.this.V(null, false); - p1.this.P(0, 0); - } - - @Override // c.i.a.c.v1.q - public void t(String str) { - p1.this.k.t(str); - } - - @Override // c.i.a.c.v1.q - public void u(String str, long j, long j2) { - p1.this.k.u(str, j, j2); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void v(boolean z2) { - f1.q(this, z2); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void w(g1 g1Var, g1.b bVar) { - f1.a(this, g1Var, bVar); - } - - @Override // c.i.a.c.j2.w - public void x(int i, long j) { - p1.this.k.x(i, j); - } - - @Override // c.i.a.c.g1.a - public void y(boolean z2) { - p1.b(p1.this); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void z(boolean z2, int i) { - f1.m(this, z2, i); + if (obj == null || p1.class != obj.getClass()) { + return false; } + p1 p1Var = (p1) obj; + return e0.a(this.k, p1Var.k) && e0.a(this.l, p1Var.l) && e0.a(this.m, p1Var.m) && e0.a(this.n, p1Var.n) && e0.a(this.o, p1Var.o) && e0.a(this.p, p1Var.p) && e0.a(this.q, p1Var.q) && e0.a(this.r, p1Var.r) && e0.a(this.f847s, p1Var.f847s) && e0.a(this.t, p1Var.t) && Arrays.equals(this.u, p1Var.u) && e0.a(this.v, p1Var.v) && e0.a(this.w, p1Var.w) && e0.a(this.f848x, p1Var.f848x) && e0.a(this.f849y, p1Var.f849y) && e0.a(this.f850z, p1Var.f850z) && e0.a(this.A, p1Var.A) && e0.a(this.C, p1Var.C) && e0.a(this.D, p1Var.D) && e0.a(this.E, p1Var.E) && e0.a(this.F, p1Var.F) && e0.a(this.G, p1Var.G) && e0.a(this.H, p1Var.H) && e0.a(this.I, p1Var.I) && e0.a(this.J, p1Var.J) && e0.a(this.K, p1Var.K) && e0.a(this.L, p1Var.L) && e0.a(this.M, p1Var.M) && e0.a(this.N, p1Var.N) && e0.a(this.O, p1Var.O); } - /* JADX WARNING: Removed duplicated region for block: B:19:0x0145 */ - /* JADX WARNING: Removed duplicated region for block: B:28:0x017a */ - /* JADX WARNING: Removed duplicated region for block: B:35:0x01f7 */ - /* JADX WARNING: Removed duplicated region for block: B:36:0x0202 */ - /* JADX WARNING: Removed duplicated region for block: B:39:0x0219 */ - public p1(b bVar) { - boolean z2; - e0 e0Var; - int i; - q1 q1Var; - int t; - Context applicationContext = bVar.a.getApplicationContext(); - this.f1000c = applicationContext; - c1 c1Var = bVar.h; - this.k = c1Var; - this.A = bVar.j; - this.u = bVar.k; - this.q = bVar.p; - c cVar = new c(null); - this.e = cVar; - this.f = new CopyOnWriteArraySet<>(); - this.g = new CopyOnWriteArraySet<>(); - this.h = new CopyOnWriteArraySet<>(); - this.i = new CopyOnWriteArraySet<>(); - this.j = new CopyOnWriteArraySet<>(); - Handler handler = new Handler(bVar.i); - n0 n0Var = (n0) bVar.b; - Objects.requireNonNull(n0Var); - ArrayList arrayList = new ArrayList(); - c.i.a.c.j2.n nVar = new c.i.a.c.j2.n(n0Var.a, n0Var.b, 5000, false, handler, cVar, 50); - nVar.H0 = false; - nVar.I0 = false; - nVar.J0 = false; - arrayList.add(nVar); - Context context = n0Var.a; - c.i.a.c.v1.o oVar = c.i.a.c.v1.o.a; - Intent registerReceiver = context.registerReceiver(null, new IntentFilter("android.media.action.HDMI_AUDIO_PLUG")); - int i2 = f0.a; - if (i2 >= 17) { - String str = f0.f965c; - if ("Amazon".equals(str) || "Xiaomi".equals(str)) { - z2 = true; - y yVar = new y(n0Var.a, n0Var.b, false, handler, cVar, new DefaultAudioSink((z2 || Settings.Global.getInt(context.getContentResolver(), "external_surround_sound_enabled", 0) != 1) ? (registerReceiver != null || registerReceiver.getIntExtra("android.media.extra.AUDIO_PLUG_STATE", 0) == 0) ? c.i.a.c.v1.o.a : new c.i.a.c.v1.o(registerReceiver.getIntArrayExtra("android.media.extra.ENCODINGS"), registerReceiver.getIntExtra("android.media.extra.MAX_CHANNEL_COUNT", 8)) : c.i.a.c.v1.o.b, new DefaultAudioSink.d(new AudioProcessor[0]), false, false, false)); - yVar.H0 = false; - yVar.I0 = false; - yVar.J0 = false; - arrayList.add(yVar); - arrayList.add(new c.i.a.c.e2.l(cVar, handler.getLooper())); - arrayList.add(new c.i.a.c.c2.f(cVar, handler.getLooper())); - arrayList.add(new c.i.a.c.j2.x.b()); - k1[] k1VarArr = (k1[]) arrayList.toArray(new k1[0]); - this.b = k1VarArr; - this.B = 1.0f; - if (i2 >= 21) { - AudioTrack audioTrack = this.f1001r; - if (!(audioTrack == null || audioTrack.getAudioSessionId() == 0)) { - this.f1001r.release(); - this.f1001r = null; - } - if (this.f1001r == null) { - this.f1001r = new AudioTrack(3, SendUtils.MAX_MESSAGE_CHARACTER_COUNT_PREMIUM, 4, 2, 2, 0, 0); - } - this.f1005z = this.f1001r.getAudioSessionId(); - } else { - UUID uuid = h0.a; - AudioManager audioManager = (AudioManager) applicationContext.getSystemService(MediaStreamTrack.AUDIO_TRACK_KIND); - this.f1005z = audioManager == null ? -1 : audioManager.generateAudioSessionId(); - } - this.D = Collections.emptyList(); - this.G = true; - o0 o0Var = new o0(k1VarArr, bVar.d, bVar.e, bVar.f, bVar.g, c1Var, bVar.l, bVar.m, bVar.n, bVar.o, false, bVar.f1006c, bVar.i, this); - this.d = o0Var; - o0Var.l(cVar); - d0 d0Var = new d0(bVar.a, handler, cVar); - this.l = d0Var; - d0Var.a(false); - e0Var = new e0(bVar.a, handler, cVar); - this.m = e0Var; - if (f0.a(e0Var.d, null)) { - e0Var.d = null; - e0Var.f = 0; - i = 1; - c.c.a.a0.d.n(true, "Automatic handling of audio focus is only available for USAGE_MEDIA and USAGE_GAME."); - } else { - i = 1; - } - q1Var = new q1(bVar.a, handler, cVar); - this.n = q1Var; - t = f0.t(this.A.d); - if (q1Var.f != t) { - q1Var.f = t; - q1Var.c(); - c cVar2 = (c) q1Var.f1016c; - c.i.a.c.y1.a N = N(p1.this.n); - if (!N.equals(p1.this.J)) { - p1 p1Var = p1.this; - p1Var.J = N; - Iterator it = p1Var.j.iterator(); - while (it.hasNext()) { - it.next().b(); - } - } - } - s1 s1Var = new s1(bVar.a); - this.o = s1Var; - s1Var.f1020c = false; - s1Var.a(); - t1 t1Var = new t1(bVar.a); - this.p = t1Var; - t1Var.f1021c = false; - t1Var.a(); - this.J = N(this.n); - R(i, 102, Integer.valueOf(this.f1005z)); - R(2, 102, Integer.valueOf(this.f1005z)); - R(i, 3, this.A); - R(2, 4, Integer.valueOf(this.u)); - R(i, 101, Boolean.valueOf(this.C)); - } - } - z2 = false; - y yVar = new y(n0Var.a, n0Var.b, false, handler, cVar, new DefaultAudioSink((z2 || Settings.Global.getInt(context.getContentResolver(), "external_surround_sound_enabled", 0) != 1) ? (registerReceiver != null || registerReceiver.getIntExtra("android.media.extra.AUDIO_PLUG_STATE", 0) == 0) ? c.i.a.c.v1.o.a : new c.i.a.c.v1.o(registerReceiver.getIntArrayExtra("android.media.extra.ENCODINGS"), registerReceiver.getIntExtra("android.media.extra.MAX_CHANNEL_COUNT", 8)) : c.i.a.c.v1.o.b, new DefaultAudioSink.d(new AudioProcessor[0]), false, false, false)); - yVar.H0 = false; - yVar.I0 = false; - yVar.J0 = false; - arrayList.add(yVar); - arrayList.add(new c.i.a.c.e2.l(cVar, handler.getLooper())); - arrayList.add(new c.i.a.c.c2.f(cVar, handler.getLooper())); - arrayList.add(new c.i.a.c.j2.x.b()); - k1[] k1VarArr = (k1[]) arrayList.toArray(new k1[0]); - this.b = k1VarArr; - this.B = 1.0f; - if (i2 >= 21) { - } - this.D = Collections.emptyList(); - this.G = true; - o0 o0Var = new o0(k1VarArr, bVar.d, bVar.e, bVar.f, bVar.g, c1Var, bVar.l, bVar.m, bVar.n, bVar.o, false, bVar.f1006c, bVar.i, this); - this.d = o0Var; - o0Var.l(cVar); - d0 d0Var = new d0(bVar.a, handler, cVar); - this.l = d0Var; - d0Var.a(false); - e0Var = new e0(bVar.a, handler, cVar); - this.m = e0Var; - if (f0.a(e0Var.d, null)) { - } - q1Var = new q1(bVar.a, handler, cVar); - this.n = q1Var; - t = f0.t(this.A.d); - if (q1Var.f != t) { - } - s1 s1Var = new s1(bVar.a); - this.o = s1Var; - s1Var.f1020c = false; - s1Var.a(); - t1 t1Var = new t1(bVar.a); - this.p = t1Var; - t1Var.f1021c = false; - t1Var.a(); - this.J = N(this.n); - R(i, 102, Integer.valueOf(this.f1005z)); - R(2, 102, Integer.valueOf(this.f1005z)); - R(i, 3, this.A); - R(2, 4, Integer.valueOf(this.u)); - R(i, 101, Boolean.valueOf(this.C)); - } - - public static c.i.a.c.y1.a N(q1 q1Var) { - Objects.requireNonNull(q1Var); - return new c.i.a.c.y1.a(0, f0.a >= 28 ? q1Var.d.getStreamMinVolume(q1Var.f) : 0, q1Var.d.getStreamMaxVolume(q1Var.f)); - } - - public static int O(boolean z2, int i) { - return (!z2 || i == 1) ? 1 : 2; - } - - public static void b(p1 p1Var) { - int u = p1Var.u(); - boolean z2 = true; - if (u != 1) { - if (u == 2 || u == 3) { - p1Var.Z(); - boolean z3 = p1Var.d.f996x.p; - s1 s1Var = p1Var.o; - if (!p1Var.g() || z3) { - z2 = false; - } - s1Var.d = z2; - s1Var.a(); - t1 t1Var = p1Var.p; - t1Var.d = p1Var.g(); - t1Var.a(); - return; - } else if (u != 4) { - throw new IllegalStateException(); - } - } - s1 s1Var2 = p1Var.o; - s1Var2.d = false; - s1Var2.a(); - t1 t1Var2 = p1Var.p; - t1Var2.d = false; - t1Var2.a(); - } - - @Override // c.i.a.c.g1 - public TrackGroupArray A() { - Z(); - return this.d.f996x.h; - } - - @Override // c.i.a.c.g1 - public int B() { - Z(); - return this.d.q; - } - - @Override // c.i.a.c.g1 - public long C() { - Z(); - return this.d.C(); - } - - @Override // c.i.a.c.g1 - public r1 D() { - Z(); - return this.d.f996x.b; - } - - @Override // c.i.a.c.g1 - public Looper E() { - return this.d.n; - } - - @Override // c.i.a.c.g1 - public boolean F() { - Z(); - return this.d.f994r; - } - - @Override // c.i.a.c.g1 - public long G() { - Z(); - return this.d.G(); - } - - @Override // c.i.a.c.g1 - public c.i.a.c.f2.k H() { - Z(); - return this.d.H(); - } - - @Override // c.i.a.c.g1 - public int I(int i) { - Z(); - return this.d.f993c[i].x(); - } - - @Override // c.i.a.c.g1 - public long J() { - Z(); - return this.d.J(); - } - - @Override // c.i.a.c.g1 - @Nullable - public g1.c K() { - return this; - } - - public void L(@Nullable Surface surface) { - Z(); - if (surface != null && surface == this.s) { - Z(); - Q(); - V(null, false); - P(0, 0); - } - } - - public void M(@Nullable SurfaceView surfaceView) { - Z(); - if (!(surfaceView instanceof c.i.a.c.j2.p)) { - SurfaceHolder holder = surfaceView == null ? null : surfaceView.getHolder(); - Z(); - if (holder != null && holder == this.v) { - U(null); - } - } else if (surfaceView.getHolder() == this.v) { - S(null); - this.v = null; - } - } - - public final void P(int i, int i2) { - if (i != this.f1003x || i2 != this.f1004y) { - this.f1003x = i; - this.f1004y = i2; - c1 c1Var = this.k; - d1.a d02 = c1Var.d0(); - c.i.a.c.u1.n nVar = new c.i.a.c.u1.n(d02, i, i2); - c1Var.m.put(1029, d02); - o oVar = c1Var.n; - oVar.b(1029, nVar); - oVar.a(); - Iterator it = this.f.iterator(); - while (it.hasNext()) { - it.next().g(i, i2); - } - } - } - - public final void Q() { - TextureView textureView = this.f1002w; - if (textureView != null) { - if (textureView.getSurfaceTextureListener() != this.e) { - Log.w("SimpleExoPlayer", "SurfaceTextureListener already unset or replaced."); - } else { - this.f1002w.setSurfaceTextureListener(null); - } - this.f1002w = null; - } - SurfaceHolder surfaceHolder = this.v; - if (surfaceHolder != null) { - surfaceHolder.removeCallback(this.e); - this.v = null; - } - } - - public final void R(int i, int i2, @Nullable Object obj) { - k1[] k1VarArr = this.b; - for (k1 k1Var : k1VarArr) { - if (k1Var.x() == i) { - h1 b2 = this.d.b(k1Var); - c.c.a.a0.d.D(!b2.i); - b2.e = i2; - c.c.a.a0.d.D(!b2.i); - b2.f = obj; - b2.d(); - } - } - } - - public final void S(@Nullable r rVar) { - R(2, 8, rVar); - } - - public void T(@Nullable Surface surface) { - Z(); - Q(); - if (surface != null) { - S(null); - } - int i = 0; - V(surface, false); - if (surface != null) { - i = -1; - } - P(i, i); - } - - public void U(@Nullable SurfaceHolder surfaceHolder) { - Z(); - Q(); - if (surfaceHolder != null) { - S(null); - } - this.v = surfaceHolder; - if (surfaceHolder == null) { - V(null, false); - P(0, 0); - return; - } - surfaceHolder.addCallback(this.e); - Surface surface = surfaceHolder.getSurface(); - if (surface == null || !surface.isValid()) { - V(null, false); - P(0, 0); - return; - } - V(surface, false); - Rect surfaceFrame = surfaceHolder.getSurfaceFrame(); - P(surfaceFrame.width(), surfaceFrame.height()); - } - - public final void V(@Nullable Surface surface, boolean z2) { - ArrayList arrayList = new ArrayList(); - k1[] k1VarArr = this.b; - for (k1 k1Var : k1VarArr) { - if (k1Var.x() == 2) { - h1 b2 = this.d.b(k1Var); - c.c.a.a0.d.D(!b2.i); - b2.e = 1; - c.c.a.a0.d.D(true ^ b2.i); - b2.f = surface; - b2.d(); - arrayList.add(b2); - } - } - Surface surface2 = this.s; - if (!(surface2 == null || surface2 == surface)) { - try { - Iterator it = arrayList.iterator(); - while (it.hasNext()) { - ((h1) it.next()).a(this.q); - } - } catch (InterruptedException unused) { - Thread.currentThread().interrupt(); - } catch (TimeoutException unused2) { - o0 o0Var = this.d; - ExoPlaybackException b3 = ExoPlaybackException.b(new ExoTimeoutException(3)); - c1 c1Var = o0Var.f996x; - c1 a2 = c1Var.a(c1Var.f822c); - a2.q = a2.s; - a2.f823r = 0; - c1 e = a2.g(1).e(b3); - o0Var.s++; - o0Var.g.o.a(6).sendToTarget(); - o0Var.S(e, false, 4, 0, 1, false); - } - if (this.t) { - this.s.release(); - } - } - this.s = surface; - this.t = z2; - } - - public void W(@Nullable SurfaceView surfaceView) { - Z(); - SurfaceHolder surfaceHolder = null; - if (surfaceView instanceof c.i.a.c.j2.p) { - r videoDecoderOutputBufferRenderer = ((c.i.a.c.j2.p) surfaceView).getVideoDecoderOutputBufferRenderer(); - Z(); - Q(); - V(null, false); - P(0, 0); - this.v = surfaceView.getHolder(); - S(videoDecoderOutputBufferRenderer); - return; - } - if (surfaceView != null) { - surfaceHolder = surfaceView.getHolder(); - } - U(surfaceHolder); - } - - public void X(@Nullable TextureView textureView) { - Z(); - Q(); - if (textureView != null) { - S(null); - } - this.f1002w = textureView; - if (textureView == null) { - V(null, true); - P(0, 0); - return; - } - if (textureView.getSurfaceTextureListener() != null) { - Log.w("SimpleExoPlayer", "Replacing existing SurfaceTextureListener."); - } - textureView.setSurfaceTextureListener(this.e); - SurfaceTexture surfaceTexture = textureView.isAvailable() ? textureView.getSurfaceTexture() : null; - if (surfaceTexture == null) { - V(null, true); - P(0, 0); - return; - } - V(new Surface(surfaceTexture), true); - P(textureView.getWidth(), textureView.getHeight()); - } - - public final void Y(boolean z2, int i, int i2) { - int i3 = 0; - boolean z3 = z2 && i != -1; - if (z3 && i != 1) { - i3 = 1; - } - this.d.R(z3, i3, i2); - } - - public final void Z() { - if (Looper.myLooper() == this.d.n) { - return; - } - if (!this.G) { - c.i.a.c.i2.p.c("SimpleExoPlayer", "Player is accessed on the wrong thread. See https://exoplayer.dev/issues/player-accessed-on-wrong-thread", this.H ? null : new IllegalStateException()); - this.H = true; - return; - } - throw new IllegalStateException("Player is accessed on the wrong thread. See https://exoplayer.dev/issues/player-accessed-on-wrong-thread"); - } - - @Override // c.i.a.c.g1 - public void a() { - Z(); - boolean g = g(); - int d = this.m.d(g, 2); - Y(g, d, O(g, d)); - this.d.a(); - } - - @Override // c.i.a.c.g1 - public d1 c() { - Z(); - return this.d.f996x.n; - } - - @Override // c.i.a.c.g1 - public boolean d() { - Z(); - return this.d.d(); - } - - @Override // c.i.a.c.g1 - public long e() { - Z(); - return h0.b(this.d.f996x.f823r); - } - - @Override // c.i.a.c.g1 - public void f(int i, long j) { - Z(); - c1 c1Var = this.k; - if (!c1Var.p) { - d1.a Y = c1Var.Y(); - c1Var.p = true; - w0 w0Var = new w0(Y); - c1Var.m.put(-1, Y); - o oVar = c1Var.n; - oVar.b(-1, w0Var); - oVar.a(); - } - this.d.f(i, j); - } - - @Override // c.i.a.c.g1 - public boolean g() { - Z(); - return this.d.f996x.l; - } - - @Override // c.i.a.c.g1 - public void h(boolean z2) { - Z(); - this.d.h(z2); - } - - @Override // c.i.a.c.g1 - public List i() { - Z(); - return this.d.f996x.j; - } - - @Override // c.i.a.c.g1 - public int j() { - Z(); - return this.d.j(); - } - - @Override // c.i.a.c.g1 - public void l(g1.a aVar) { - Objects.requireNonNull(aVar); - this.d.l(aVar); - } - - @Override // c.i.a.c.g1 - public int m() { - Z(); - return this.d.m(); - } - - @Override // c.i.a.c.g1 - public void n(g1.a aVar) { - this.d.n(aVar); - } - - @Override // c.i.a.c.g1 - public int o() { - Z(); - return this.d.o(); - } - - @Override // c.i.a.c.g1 - @Nullable - public ExoPlaybackException p() { - Z(); - return this.d.f996x.f; - } - - @Override // c.i.a.c.g1 - public void q(boolean z2) { - Z(); - int d = this.m.d(z2, u()); - Y(z2, d, O(z2, d)); - } - - @Override // c.i.a.c.g1 - @Nullable - public g1.d r() { - return this; - } - - @Override // c.i.a.c.g1 - public long s() { - Z(); - return this.d.s(); - } - - @Override // c.i.a.c.g1 - public int u() { - Z(); - return this.d.f996x.e; - } - - @Override // c.i.a.c.g1 - public int w() { - Z(); - return this.d.w(); - } - - @Override // c.i.a.c.g1 - public void x(int i) { - Z(); - this.d.x(i); - } - - @Override // c.i.a.c.g1 - public int z() { - Z(); - return this.d.f996x.m; + public int hashCode() { + return Arrays.hashCode(new Object[]{this.k, this.l, this.m, this.n, this.o, this.p, this.q, this.r, this.f847s, this.t, Integer.valueOf(Arrays.hashCode(this.u)), this.v, this.w, this.f848x, this.f849y, this.f850z, this.A, this.C, this.D, this.E, this.F, this.G, this.H, this.I, this.J, this.K, this.L, this.M, this.N, this.O}); } } diff --git a/app/src/main/java/c/i/a/c/p2.java b/app/src/main/java/c/i/a/c/p2.java new file mode 100644 index 0000000000..ee6c1d239d --- /dev/null +++ b/app/src/main/java/c/i/a/c/p2.java @@ -0,0 +1,69 @@ +package c.i.a.c; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.a3.n0; +import c.i.b.b.h0; +import c.i.b.b.p; +import java.util.Arrays; +import java.util.List; +/* compiled from: TracksInfo */ +public final class p2 implements w0 { + public static final p2 i = new p2(h0.k); + public final p j; + + /* compiled from: TracksInfo */ + public static final class a implements w0 { + public final n0 i; + public final int[] j; + public final int k; + public final boolean[] l; + + public a(n0 n0Var, int[] iArr, int i, boolean[] zArr) { + int i2 = n0Var.j; + d.j(i2 == iArr.length && i2 == zArr.length); + this.i = n0Var; + this.j = (int[]) iArr.clone(); + this.k = i; + this.l = (boolean[]) zArr.clone(); + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || a.class != obj.getClass()) { + return false; + } + a aVar = (a) obj; + return this.k == aVar.k && this.i.equals(aVar.i) && Arrays.equals(this.j, aVar.j) && Arrays.equals(this.l, aVar.l); + } + + public int hashCode() { + int hashCode = Arrays.hashCode(this.j); + return Arrays.hashCode(this.l) + ((((hashCode + (this.i.hashCode() * 31)) * 31) + this.k) * 31); + } + } + + static { + c.i.b.b.a aVar = p.j; + } + + public p2(List list) { + this.j = p.n(list); + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || p2.class != obj.getClass()) { + return false; + } + return this.j.equals(((p2) obj).j); + } + + public int hashCode() { + return this.j.hashCode(); + } +} diff --git a/app/src/main/java/c/i/a/c/q.java b/app/src/main/java/c/i/a/c/q.java index 8f2bc0dfd1..e59971df3e 100644 --- a/app/src/main/java/c/i/a/c/q.java +++ b/app/src/main/java/c/i/a/c/q.java @@ -1,15 +1,21 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.ExoTimeoutException; +import c.i.a.c.c3.n; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class q implements o.a { - public static final /* synthetic */ q a = new q(); +public final /* synthetic */ class q implements p.a { + public final /* synthetic */ w1 a; + public final /* synthetic */ n b; - @Override // c.i.a.c.i2.o.a + public /* synthetic */ q(w1 w1Var, n nVar) { + this.a = w1Var; + this.b = nVar; + } + + @Override // c.i.a.c.f3.p.a public final void invoke(Object obj) { - ((g1.a) obj).k(ExoPlaybackException.b(new ExoTimeoutException(1))); + w1 w1Var = this.a; + ((y1.c) obj).Y(w1Var.i, this.b); } } diff --git a/app/src/main/java/c/i/a/c/q0.java b/app/src/main/java/c/i/a/c/q0.java index b891351cc5..f0987c127c 100644 --- a/app/src/main/java/c/i/a/c/q0.java +++ b/app/src/main/java/c/i/a/c/q0.java @@ -1,2581 +1,36 @@ package c.i.a.c; -import android.os.Handler; -import android.os.HandlerThread; -import android.os.Looper; -import android.os.Message; -import android.os.SystemClock; -import android.util.Log; -import android.util.Pair; -import androidx.annotation.CheckResult; -import androidx.annotation.Nullable; -import c.i.a.c.b1; -import c.i.a.c.d2.h0; -import c.i.a.c.d2.v; -import c.i.a.c.d2.y; -import c.i.a.c.f2.l; -import c.i.a.c.f2.m; -import c.i.a.c.h1; -import c.i.a.c.h2.x; -import c.i.a.c.i2.a0; -import c.i.a.c.i2.c0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.p; -import c.i.a.c.i2.r; -import c.i.a.c.m0; -import c.i.a.c.r1; -import c.i.a.c.u1.c1; -import c.i.a.c.v0; -import c.i.b.b.s; -import c.i.b.b.u; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.source.TrackGroupArray; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collections; -import java.util.List; -import java.util.Objects; -import java.util.concurrent.atomic.AtomicBoolean; -/* compiled from: ExoPlayerImplInternal */ -public final class q0 implements Handler.Callback, v.a, b1.d, m0.a, h1.a { - public final b1 A; - public final t0 B; - public final long C; - public o1 D; - public c1 E; - public d F; - public boolean G; - public boolean H; - public boolean I; - public boolean J; - public boolean K; - public int L; - public boolean M; - public boolean N; - public boolean O; - public boolean P; - public int Q; - @Nullable - public g R; - public long S; - public int T; - public boolean U; - @Nullable - public ExoPlaybackException V; - public final k1[] i; - public final l1[] j; - public final l k; - public final m l; - public final u0 m; - public final c.i.a.c.h2.d n; - public final c0 o; - public final HandlerThread p; - public final Looper q; - - /* renamed from: r reason: collision with root package name */ - public final r1.c f1007r; - public final r1.b s; - public final long t; - public final boolean u; - public final m0 v; - - /* renamed from: w reason: collision with root package name */ - public final ArrayList f1008w; - - /* renamed from: x reason: collision with root package name */ - public final c.i.a.c.i2.g f1009x; - - /* renamed from: y reason: collision with root package name */ - public final e f1010y; - - /* renamed from: z reason: collision with root package name */ - public final z0 f1011z; - - /* compiled from: ExoPlayerImplInternal */ - public static final class a { - public final List a; - public final h0 b; - - /* renamed from: c reason: collision with root package name */ - public final int f1012c; - public final long d; - - public a(List list, h0 h0Var, int i, long j, p0 p0Var) { - this.a = list; - this.b = h0Var; - this.f1012c = i; - this.d = j; - } - } - - /* compiled from: ExoPlayerImplInternal */ - public static class b { - } - - /* compiled from: ExoPlayerImplInternal */ - public static final class c implements Comparable { - public final h1 i; - public int j; - public long k; - @Nullable - public Object l; - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ - /* JADX WARNING: Code restructure failed: missing block: B:10:0x0015, code lost: - if (r0 != null) goto L_0x0017; - */ - @Override // java.lang.Comparable - public int compareTo(c cVar) { - c cVar2 = cVar; - Object obj = this.l; - int i = 1; - if ((obj == null) == (cVar2.l == null)) { - if (obj == null) { - return 0; - } - int i2 = this.j - cVar2.j; - if (i2 != 0) { - return i2; - } - long j = this.k; - long j2 = cVar2.k; - int i3 = f0.a; - int i4 = (j > j2 ? 1 : (j == j2 ? 0 : -1)); - if (i4 >= 0) { - if (i4 == 0) { - i = 0; - } - return i; - } - } - i = -1; - return i; - } - - public void f(int i, long j, Object obj) { - this.j = i; - this.k = j; - this.l = obj; - } - } - - /* compiled from: ExoPlayerImplInternal */ - public static final class d { - public boolean a; - public c1 b; - - /* renamed from: c reason: collision with root package name */ - public int f1013c; - public boolean d; - public int e; - public boolean f; - public int g; - - public d(c1 c1Var) { - this.b = c1Var; - } - - public void a(int i) { - this.a |= i > 0; - this.f1013c += i; - } - - public void b(int i) { - boolean z2 = true; - if (!this.d || this.e == 4) { - this.a = true; - this.d = true; - this.e = i; - return; - } - if (i != 4) { - z2 = false; - } - c.c.a.a0.d.k(z2); - } - } - - /* compiled from: ExoPlayerImplInternal */ - public interface e { - } - - /* compiled from: ExoPlayerImplInternal */ - public static final class f { - public final y.a a; - public final long b; - - /* renamed from: c reason: collision with root package name */ - public final long f1014c; - public final boolean d; - public final boolean e; - public final boolean f; - - public f(y.a aVar, long j, long j2, boolean z2, boolean z3, boolean z4) { - this.a = aVar; - this.b = j; - this.f1014c = j2; - this.d = z2; - this.e = z3; - this.f = z4; - } - } - - /* compiled from: ExoPlayerImplInternal */ - public static final class g { - public final r1 a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final long f1015c; - - public g(r1 r1Var, int i, long j) { - this.a = r1Var; - this.b = i; - this.f1015c = j; - } - } - - public q0(k1[] k1VarArr, l lVar, m mVar, u0 u0Var, c.i.a.c.h2.d dVar, int i, boolean z2, @Nullable c1 c1Var, o1 o1Var, t0 t0Var, long j, boolean z3, Looper looper, c.i.a.c.i2.g gVar, e eVar) { - this.f1010y = eVar; - this.i = k1VarArr; - this.k = lVar; - this.l = mVar; - this.m = u0Var; - this.n = dVar; - this.L = i; - this.M = z2; - this.D = o1Var; - this.B = t0Var; - this.C = j; - this.H = z3; - this.f1009x = gVar; - this.t = u0Var.b(); - this.u = u0Var.a(); - c1 i2 = c1.i(mVar); - this.E = i2; - this.F = new d(i2); - this.j = new l1[k1VarArr.length]; - for (int i3 = 0; i3 < k1VarArr.length; i3++) { - k1VarArr[i3].f(i3); - this.j[i3] = k1VarArr[i3].l(); - } - this.v = new m0(this, gVar); - this.f1008w = new ArrayList<>(); - this.f1007r = new r1.c(); - this.s = new r1.b(); - lVar.a = dVar; - this.U = true; - Handler handler = new Handler(looper); - this.f1011z = new z0(c1Var, handler); - this.A = new b1(this, c1Var, handler); - HandlerThread handlerThread = new HandlerThread("ExoPlayer:Playback", -16); - this.p = handlerThread; - handlerThread.start(); - Looper looper2 = handlerThread.getLooper(); - this.q = looper2; - this.o = gVar.b(looper2, this); - } - - public static boolean I(c cVar, r1 r1Var, r1 r1Var2, int i, boolean z2, r1.c cVar2, r1.b bVar) { - Object obj = cVar.l; - if (obj == null) { - Objects.requireNonNull(cVar.i); - Objects.requireNonNull(cVar.i); - long a2 = h0.a(-9223372036854775807L); - h1 h1Var = cVar.i; - Pair K = K(r1Var, new g(h1Var.d, h1Var.h, a2), false, i, z2, cVar2, bVar); - if (K == null) { - return false; - } - cVar.f(r1Var.b(K.first), ((Long) K.second).longValue(), K.first); - Objects.requireNonNull(cVar.i); - return true; - } - int b2 = r1Var.b(obj); - if (b2 == -1) { - return false; - } - Objects.requireNonNull(cVar.i); - cVar.j = b2; - r1Var2.h(cVar.l, bVar); - if (r1Var2.n(bVar.f1017c, cVar2).n) { - Pair j = r1Var.j(cVar2, bVar, r1Var.h(cVar.l, bVar).f1017c, cVar.k + bVar.e); - cVar.f(r1Var.b(j.first), ((Long) j.second).longValue(), j.first); - } - return true; - } - - @Nullable - public static Pair K(r1 r1Var, g gVar, boolean z2, int i, boolean z3, r1.c cVar, r1.b bVar) { - Object L; - r1 r1Var2 = gVar.a; - if (r1Var.q()) { - return null; - } - r1 r1Var3 = r1Var2.q() ? r1Var : r1Var2; - try { - Pair j = r1Var3.j(cVar, bVar, gVar.b, gVar.f1015c); - if (r1Var.equals(r1Var3)) { - return j; - } - if (r1Var.b(j.first) != -1) { - r1Var3.h(j.first, bVar); - return r1Var3.n(bVar.f1017c, cVar).n ? r1Var.j(cVar, bVar, r1Var.h(j.first, bVar).f1017c, gVar.f1015c) : j; - } - if (z2 && (L = L(cVar, bVar, i, z3, j.first, r1Var3, r1Var)) != null) { - return r1Var.j(cVar, bVar, r1Var.h(L, bVar).f1017c, -9223372036854775807L); - } - return null; - } catch (IndexOutOfBoundsException unused) { - } - } - - @Nullable - public static Object L(r1.c cVar, r1.b bVar, int i, boolean z2, Object obj, r1 r1Var, r1 r1Var2) { - int b2 = r1Var.b(obj); - int i2 = r1Var.i(); - int i3 = b2; - int i4 = -1; - for (int i5 = 0; i5 < i2 && i4 == -1; i5++) { - i3 = r1Var.d(i3, bVar, cVar, i, z2); - if (i3 == -1) { - break; - } - i4 = r1Var2.b(r1Var.m(i3)); - } - if (i4 == -1) { - return null; - } - return r1Var2.m(i4); - } - - public static boolean g0(c1 c1Var, r1.b bVar, r1.c cVar) { - y.a aVar = c1Var.f822c; - r1 r1Var = c1Var.b; - return aVar.a() || r1Var.q() || r1Var.n(r1Var.h(aVar.a, bVar).f1017c, cVar).n; - } - - public static Format[] j(c.i.a.c.f2.g gVar) { - int length = gVar != null ? gVar.length() : 0; - Format[] formatArr = new Format[length]; - for (int i = 0; i < length; i++) { - formatArr[i] = gVar.d(i); - } - return formatArr; - } - - public static boolean w(k1 k1Var) { - return k1Var.getState() != 0; - } - - public final void A(b bVar) throws ExoPlaybackException { - boolean z2 = true; - this.F.a(1); - b1 b1Var = this.A; - Objects.requireNonNull(bVar); - Objects.requireNonNull(b1Var); - if (b1Var.e() < 0) { - z2 = false; - } - c.c.a.a0.d.k(z2); - b1Var.i = null; - r(b1Var.c()); - } - - public final void B() { - this.F.a(1); - F(false, false, false, true); - this.m.c(); - d0(this.E.b.q() ? 4 : 2); - b1 b1Var = this.A; - x c2 = this.n.c(); - c.c.a.a0.d.D(!b1Var.j); - b1Var.k = c2; - for (int i = 0; i < b1Var.a.size(); i++) { - b1.c cVar = b1Var.a.get(i); - b1Var.g(cVar); - b1Var.h.add(cVar); - } - b1Var.j = true; - this.o.d(2); - } - - public final void C() { - F(true, false, true, false); - this.m.e(); - d0(1); - this.p.quit(); - synchronized (this) { - this.G = true; - notifyAll(); - } - } - - public final void D(int i, int i2, h0 h0Var) throws ExoPlaybackException { - boolean z2 = true; - this.F.a(1); - b1 b1Var = this.A; - Objects.requireNonNull(b1Var); - if (i < 0 || i > i2 || i2 > b1Var.e()) { - z2 = false; - } - c.c.a.a0.d.k(z2); - b1Var.i = h0Var; - b1Var.i(i, i2); - r(b1Var.c()); - } - - public final void E() throws ExoPlaybackException { - boolean z2; - int i; - float f2 = this.v.c().b; - z0 z0Var = this.f1011z; - x0 x0Var = z0Var.h; - x0 x0Var2 = z0Var.i; - x0 x0Var3 = x0Var; - boolean z3 = true; - while (x0Var3 != null && x0Var3.d) { - m i2 = x0Var3.i(f2, this.E.b); - m mVar = x0Var3.n; - int i3 = 0; - if (mVar != null && mVar.f924c.length == i2.f924c.length) { - int i4 = 0; - while (true) { - if (i4 >= i2.f924c.length) { - z2 = true; - break; - } else if (!i2.a(mVar, i4)) { - break; - } else { - i4++; - } - } - } - z2 = false; - if (!z2) { - if (z3) { - z0 z0Var2 = this.f1011z; - x0 x0Var4 = z0Var2.h; - boolean m = z0Var2.m(x0Var4); - boolean[] zArr = new boolean[this.i.length]; - long a2 = x0Var4.a(i2, this.E.s, m, zArr); - c1 c1Var = this.E; - i = 4; - c1 u = u(c1Var.f822c, a2, c1Var.d); - this.E = u; - if (!(u.e == 4 || a2 == u.s)) { - this.F.b(4); - H(a2); - } - boolean[] zArr2 = new boolean[this.i.length]; - while (true) { - k1[] k1VarArr = this.i; - if (i3 >= k1VarArr.length) { - break; - } - k1 k1Var = k1VarArr[i3]; - zArr2[i3] = w(k1Var); - c.i.a.c.d2.f0 f0Var = x0Var4.f1074c[i3]; - if (zArr2[i3]) { - if (f0Var != k1Var.h()) { - f(k1Var); - } else if (zArr[i3]) { - k1Var.u(this.S); - } - } - i3++; - } - i(zArr2); - } else { - i = 4; - this.f1011z.m(x0Var3); - if (x0Var3.d) { - x0Var3.a(i2, Math.max(x0Var3.f.b, this.S - x0Var3.o), false, new boolean[x0Var3.i.length]); - } - } - q(true); - if (this.E.e != i) { - y(); - m0(); - this.o.d(2); - return; - } - return; - } - if (x0Var3 == x0Var2) { - z3 = false; - } - x0Var3 = x0Var3.l; - } - } - - /* JADX WARNING: Removed duplicated region for block: B:33:0x00b8 */ - /* JADX WARNING: Removed duplicated region for block: B:34:0x00ba */ - /* JADX WARNING: Removed duplicated region for block: B:37:0x00c1 */ - /* JADX WARNING: Removed duplicated region for block: B:38:0x00c4 */ - /* JADX WARNING: Removed duplicated region for block: B:41:0x00ca */ - /* JADX WARNING: Removed duplicated region for block: B:42:0x00cd */ - /* JADX WARNING: Removed duplicated region for block: B:45:0x00d3 */ - /* JADX WARNING: Removed duplicated region for block: B:46:0x00d8 */ - /* JADX WARNING: Removed duplicated region for block: B:49:0x00fc */ - public final void F(boolean z2, boolean z3, boolean z4, boolean z5) { - long j; - y.a aVar; - long j2; - boolean z6; - List list; - this.o.a.removeMessages(2); - this.J = false; - m0 m0Var = this.v; - m0Var.n = false; - a0 a0Var = m0Var.i; - if (a0Var.j) { - a0Var.a(a0Var.m()); - a0Var.j = false; - } - this.S = 0; - for (k1 k1Var : this.i) { - try { - f(k1Var); - } catch (ExoPlaybackException | RuntimeException e2) { - p.b("ExoPlayerImplInternal", "Disable failed.", e2); - } - } - if (z2) { - for (k1 k1Var2 : this.i) { - try { - k1Var2.reset(); - } catch (RuntimeException e3) { - p.b("ExoPlayerImplInternal", "Reset failed.", e3); - } - } - } - this.Q = 0; - c1 c1Var = this.E; - y.a aVar2 = c1Var.f822c; - long j3 = c1Var.s; - long j4 = g0(this.E, this.s, this.f1007r) ? this.E.d : this.E.s; - if (z3) { - this.R = null; - Pair m = m(this.E.b); - aVar2 = (y.a) m.first; - j3 = ((Long) m.second).longValue(); - j4 = -9223372036854775807L; - if (!aVar2.equals(this.E.f822c)) { - z6 = true; - aVar = aVar2; - j = j3; - j2 = -9223372036854775807L; - this.f1011z.b(); - this.K = false; - c1 c1Var2 = this.E; - r1 r1Var = c1Var2.b; - int i = c1Var2.e; - ExoPlaybackException exoPlaybackException = !z5 ? null : c1Var2.f; - TrackGroupArray trackGroupArray = !z6 ? TrackGroupArray.i : c1Var2.h; - m mVar = !z6 ? this.l : c1Var2.i; - if (!z6) { - c.i.b.b.a aVar3 = u.j; - list = c.i.b.b.q0.k; - } else { - list = c1Var2.j; - } - this.E = new c1(r1Var, aVar, j2, i, exoPlaybackException, false, trackGroupArray, mVar, list, aVar, c1Var2.l, c1Var2.m, c1Var2.n, j, 0, j, this.P, false); - if (z4) { - b1 b1Var = this.A; - for (b1.b bVar : b1Var.g.values()) { - try { - bVar.a.a(bVar.b); - } catch (RuntimeException e4) { - p.b("MediaSourceList", "Failed to release child source.", e4); - } - bVar.a.c(bVar.f811c); - } - b1Var.g.clear(); - b1Var.h.clear(); - b1Var.j = false; - } - this.V = null; - } - } - aVar = aVar2; - j = j3; - j2 = j4; - z6 = false; - this.f1011z.b(); - this.K = false; - c1 c1Var2 = this.E; - r1 r1Var = c1Var2.b; - int i = c1Var2.e; - if (!z5) { - } - if (!z6) { - } - if (!z6) { - } - if (!z6) { - } - this.E = new c1(r1Var, aVar, j2, i, exoPlaybackException, false, trackGroupArray, mVar, list, aVar, c1Var2.l, c1Var2.m, c1Var2.n, j, 0, j, this.P, false); - if (z4) { - } - this.V = null; - } - - public final void G() { - x0 x0Var = this.f1011z.h; - this.I = x0Var != null && x0Var.f.g && this.H; - } - - public final void H(long j) throws ExoPlaybackException { - x0 x0Var = this.f1011z.h; - if (x0Var != null) { - j += x0Var.o; - } - this.S = j; - this.v.i.a(j); - k1[] k1VarArr = this.i; - for (k1 k1Var : k1VarArr) { - if (w(k1Var)) { - k1Var.u(this.S); - } - } - for (x0 x0Var2 = this.f1011z.h; x0Var2 != null; x0Var2 = x0Var2.l) { - c.i.a.c.f2.g[] gVarArr = x0Var2.n.f924c; - for (c.i.a.c.f2.g gVar : gVarArr) { - if (gVar != null) { - gVar.j(); - } - } - } - } - - public final void J(r1 r1Var, r1 r1Var2) { - if (!r1Var.q() || !r1Var2.q()) { - int size = this.f1008w.size(); - while (true) { - size--; - if (size < 0) { - Collections.sort(this.f1008w); - return; - } else if (!I(this.f1008w.get(size), r1Var, r1Var2, this.L, this.M, this.f1007r, this.s)) { - this.f1008w.get(size).i.c(false); - this.f1008w.remove(size); - } - } - } - } - - public final void M(long j, long j2) { - this.o.a.removeMessages(2); - this.o.a.sendEmptyMessageAtTime(2, j + j2); - } - - public final void N(boolean z2) throws ExoPlaybackException { - y.a aVar = this.f1011z.h.f.a; - long Q = Q(aVar, this.E.s, true, false); - if (Q != this.E.s) { - this.E = u(aVar, Q, this.E.d); - if (z2) { - this.F.b(4); - } - } - } - - /* JADX WARNING: Removed duplicated region for block: B:70:0x0148 */ - /* JADX WARNING: Removed duplicated region for block: B:79:0x0164 */ - /* JADX WARNING: Removed duplicated region for block: B:84:? A[RETURN, SYNTHETIC] */ - public final void O(g gVar) throws ExoPlaybackException { - long j; - long j2; - y.a aVar; - boolean z2; - int i; - long j3; - Throwable th; - long j4; - long j5; - long P; - boolean z3; - c1 c1Var; - int i2; - boolean z4 = true; - this.F.a(1); - Pair K = K(this.E.b, gVar, true, this.L, this.M, this.f1007r, this.s); - if (K == null) { - Pair m = m(this.E.b); - aVar = (y.a) m.first; - j2 = ((Long) m.second).longValue(); - z2 = !this.E.b.q(); - j = -9223372036854775807L; - } else { - Object obj = K.first; - j2 = ((Long) K.second).longValue(); - j = gVar.f1015c == -9223372036854775807L ? -9223372036854775807L : j2; - y.a n = this.f1011z.n(this.E.b, obj, j2); - if (n.a()) { - this.E.b.h(n.a, this.s); - j2 = this.s.e(n.b) == n.f864c ? this.s.f.f : 0; - aVar = n; - z2 = true; - } else { - aVar = n; - z2 = gVar.f1015c == -9223372036854775807L; - } - } - try { - if (this.E.b.q()) { - try { - this.R = gVar; - } catch (Throwable th2) { - th = th2; - j3 = j2; - i = 2; - this.E = u(aVar, j3, j); - if (z2) { - } - throw th; - } - } else if (K == null) { - if (this.E.e != 1) { - d0(4); - } - F(false, true, false, true); - } else { - if (aVar.equals(this.E.f822c)) { - x0 x0Var = this.f1011z.h; - long i3 = (x0Var == null || !x0Var.d || j2 == 0) ? j2 : x0Var.a.i(j2, this.D); - if (h0.b(i3) == h0.b(this.E.s) && ((i2 = (c1Var = this.E).e) == 2 || i2 == 3)) { - this.E = u(aVar, c1Var.s, j); - if (z2) { - this.F.b(2); - return; - } - return; - } - i = 2; - j5 = i3; - } else { - i = 2; - j5 = j2; - } - try { - P = P(aVar, j5, this.E.e == 4); - if (j2 == P) { - z4 = false; - } - z3 = z4 | z2; - } catch (Throwable th3) { - th = th3; - j3 = j2; - this.E = u(aVar, j3, j); - if (z2) { - this.F.b(i); - } - throw th; - } - try { - c1 c1Var2 = this.E; - r1 r1Var = c1Var2.b; - l0(r1Var, aVar, r1Var, c1Var2.f822c, j); - z2 = z3; - j4 = P; - this.E = u(aVar, j4, j); - if (!z2) { - this.F.b(i); - return; - } - return; - } catch (Throwable th4) { - th = th4; - z2 = z3; - j3 = P; - this.E = u(aVar, j3, j); - if (z2) { - } - throw th; - } - } - j4 = j2; - i = 2; - this.E = u(aVar, j4, j); - if (!z2) { - } - } catch (Throwable th5) { - th = th5; - i = 2; - j3 = j2; - this.E = u(aVar, j3, j); - if (z2) { - } - throw th; - } - } - - public final long P(y.a aVar, long j, boolean z2) throws ExoPlaybackException { - z0 z0Var = this.f1011z; - return Q(aVar, j, z0Var.h != z0Var.i, z2); - } - - public final long Q(y.a aVar, long j, boolean z2, boolean z3) throws ExoPlaybackException { - z0 z0Var; - j0(); - this.J = false; - if (z3 || this.E.e == 3) { - d0(2); - } - x0 x0Var = this.f1011z.h; - x0 x0Var2 = x0Var; - while (x0Var2 != null && !aVar.equals(x0Var2.f.a)) { - x0Var2 = x0Var2.l; - } - if (z2 || x0Var != x0Var2 || (x0Var2 != null && x0Var2.o + j < 0)) { - for (k1 k1Var : this.i) { - f(k1Var); - } - if (x0Var2 != null) { - while (true) { - z0Var = this.f1011z; - if (z0Var.h == x0Var2) { - break; - } - z0Var.a(); - } - z0Var.m(x0Var2); - x0Var2.o = 0; - h(); - } - } - if (x0Var2 != null) { - this.f1011z.m(x0Var2); - if (!x0Var2.d) { - x0Var2.f = x0Var2.f.b(j); - } else { - long j2 = x0Var2.f.e; - if (j2 != -9223372036854775807L && j >= j2) { - j = Math.max(0L, j2 - 1); - } - if (x0Var2.e) { - long f2 = x0Var2.a.f(j); - x0Var2.a.r(f2 - this.t, this.u); - j = f2; - } - } - H(j); - y(); - } else { - this.f1011z.b(); - H(j); - } - q(false); - this.o.d(2); - return j; - } - - public final void R(h1 h1Var) throws ExoPlaybackException { - if (h1Var.g == this.q) { - e(h1Var); - int i = this.E.e; - if (i == 3 || i == 2) { - this.o.d(2); - return; - } - return; - } - this.o.c(15, h1Var).sendToTarget(); - } - - public final void S(h1 h1Var) { - Looper looper = h1Var.g; - if (!looper.getThread().isAlive()) { - Log.w("TAG", "Trying to send message on a dead thread."); - h1Var.c(false); - return; - } - c0 b2 = this.f1009x.b(looper, null); - b2.a.post(new x(this, h1Var)); - } - - public final void T(k1 k1Var, long j) { - k1Var.k(); - if (k1Var instanceof c.i.a.c.e2.l) { - c.i.a.c.e2.l lVar = (c.i.a.c.e2.l) k1Var; - c.c.a.a0.d.D(lVar.f925r); - lVar.H = j; - } - } - - public final void U(boolean z2, @Nullable AtomicBoolean atomicBoolean) { - if (this.N != z2) { - this.N = z2; - if (!z2) { - k1[] k1VarArr = this.i; - for (k1 k1Var : k1VarArr) { - if (!w(k1Var)) { - k1Var.reset(); - } - } - } - } - if (atomicBoolean != null) { - synchronized (this) { - atomicBoolean.set(true); - notifyAll(); - } - } - } - - public final void V(a aVar) throws ExoPlaybackException { - this.F.a(1); - if (aVar.f1012c != -1) { - this.R = new g(new i1(aVar.a, aVar.b), aVar.f1012c, aVar.d); - } - b1 b1Var = this.A; - List list = aVar.a; - h0 h0Var = aVar.b; - b1Var.i(0, b1Var.a.size()); - r(b1Var.a(b1Var.a.size(), list, h0Var)); - } - - public final void W(boolean z2) { - if (z2 != this.P) { - this.P = z2; - c1 c1Var = this.E; - int i = c1Var.e; - if (z2 || i == 4 || i == 1) { - this.E = c1Var.c(z2); - } else { - this.o.d(2); - } - } - } - - public final void X(boolean z2) throws ExoPlaybackException { - this.H = z2; - G(); - if (this.I) { - z0 z0Var = this.f1011z; - if (z0Var.i != z0Var.h) { - N(true); - q(false); - } - } - } - - public final void Y(boolean z2, int i, boolean z3, int i2) throws ExoPlaybackException { - this.F.a(z3 ? 1 : 0); - d dVar = this.F; - dVar.a = true; - dVar.f = true; - dVar.g = i2; - this.E = this.E.d(z2, i); - this.J = false; - for (x0 x0Var = this.f1011z.h; x0Var != null; x0Var = x0Var.l) { - c.i.a.c.f2.g[] gVarArr = x0Var.n.f924c; - for (c.i.a.c.f2.g gVar : gVarArr) { - if (gVar != null) { - gVar.c(z2); - } - } - } - if (!e0()) { - j0(); - m0(); - return; - } - int i3 = this.E.e; - if (i3 == 3) { - h0(); - this.o.d(2); - } else if (i3 == 2) { - this.o.d(2); - } - } - - public final void Z(d1 d1Var) throws ExoPlaybackException { - this.v.e(d1Var); - d1 c2 = this.v.c(); - t(c2, c2.b, true, true); - } - - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [c.i.a.c.d2.g0] */ - @Override // c.i.a.c.d2.g0.a - public void a(v vVar) { - this.o.c(9, vVar).sendToTarget(); - } - - public final void a0(int i) throws ExoPlaybackException { - this.L = i; - z0 z0Var = this.f1011z; - r1 r1Var = this.E.b; - z0Var.f = i; - if (!z0Var.p(r1Var)) { - N(true); - } - q(false); - } - - @Override // c.i.a.c.d2.v.a - public void b(v vVar) { - this.o.c(8, vVar).sendToTarget(); - } - - public final void b0(boolean z2) throws ExoPlaybackException { - this.M = z2; - z0 z0Var = this.f1011z; - r1 r1Var = this.E.b; - z0Var.g = z2; - if (!z0Var.p(r1Var)) { - N(true); - } - q(false); - } - - public final void c(a aVar, int i) throws ExoPlaybackException { - this.F.a(1); - b1 b1Var = this.A; - if (i == -1) { - i = b1Var.e(); - } - r(b1Var.a(i, aVar.a, aVar.b)); - } - - public final void c0(h0 h0Var) throws ExoPlaybackException { - this.F.a(1); - b1 b1Var = this.A; - int e2 = b1Var.e(); - if (h0Var.b() != e2) { - h0Var = h0Var.h().f(0, e2); - } - b1Var.i = h0Var; - r(b1Var.c()); - } - - public final void d(ExoPlaybackException exoPlaybackException) throws ExoPlaybackException { - c.c.a.a0.d.k(exoPlaybackException.isRecoverable && exoPlaybackException.type == 1); - try { - N(true); - } catch (Exception e2) { - exoPlaybackException.addSuppressed(e2); - throw exoPlaybackException; - } - } - - public final void d0(int i) { - c1 c1Var = this.E; - if (c1Var.e != i) { - this.E = c1Var.g(i); - } - } - - public final void e(h1 h1Var) throws ExoPlaybackException { - h1Var.b(); - boolean z2 = true; - try { - h1Var.a.r(h1Var.e, h1Var.f); - } finally { - h1Var.c(z2); - } - } - - public final boolean e0() { - c1 c1Var = this.E; - return c1Var.l && c1Var.m == 0; - } - - public final void f(k1 k1Var) throws ExoPlaybackException { - if (k1Var.getState() != 0) { - m0 m0Var = this.v; - if (k1Var == m0Var.k) { - m0Var.l = null; - m0Var.k = null; - m0Var.m = true; - } - if (k1Var.getState() == 2) { - k1Var.stop(); - } - k1Var.g(); - this.Q--; - } - } - - public final boolean f0(r1 r1Var, y.a aVar) { - if (aVar.a() || r1Var.q()) { - return false; - } - r1Var.n(r1Var.h(aVar.a, this.s).f1017c, this.f1007r); - if (!this.f1007r.c()) { - return false; - } - r1.c cVar = this.f1007r; - return cVar.k && cVar.h != -9223372036854775807L; - } - - /* JADX WARNING: Code restructure failed: missing block: B:269:0x0468, code lost: - if (r46.m.f(n(), r46.v.c().b, r46.J, r31) == false) goto L_0x046b; - */ - /* JADX WARNING: Code restructure failed: missing block: B:27:0x0098, code lost: - if (r5 != -9223372036854775807L) goto L_0x009d; - */ - public final void g() throws ExoPlaybackException, IOException { - boolean z2; - boolean z3; - boolean z4; - boolean z5; - int i; - boolean z6; - x0 x0Var; - x0 x0Var2; - boolean z7; - long j; - long j2; - long a2 = this.f1009x.a(); - if (!this.E.b.q() && this.A.j) { - this.f1011z.l(this.S); - z0 z0Var = this.f1011z; - x0 x0Var3 = z0Var.j; - if (x0Var3 == null || (!x0Var3.f.h && x0Var3.f() && z0Var.j.f.e != -9223372036854775807L && z0Var.k < 100)) { - z0 z0Var2 = this.f1011z; - long j3 = this.S; - c1 c1Var = this.E; - x0 x0Var4 = z0Var2.j; - y0 d2 = x0Var4 == null ? z0Var2.d(c1Var.b, c1Var.f822c, c1Var.d, c1Var.s) : z0Var2.c(c1Var.b, x0Var4, j3); - if (d2 != null) { - z0 z0Var3 = this.f1011z; - l1[] l1VarArr = this.j; - l lVar = this.k; - c.i.a.c.h2.m h = this.m.h(); - b1 b1Var = this.A; - m mVar = this.l; - x0 x0Var5 = z0Var3.j; - if (x0Var5 == null) { - if (d2.a.a()) { - j2 = d2.f1079c; - } - j2 = 0; - j = j2; - } else { - j = (x0Var5.o + x0Var5.f.e) - d2.b; - } - x0 x0Var6 = new x0(l1VarArr, j, lVar, h, b1Var, d2, mVar); - x0 x0Var7 = z0Var3.j; - if (x0Var7 == null) { - z0Var3.h = x0Var6; - z0Var3.i = x0Var6; - } else if (x0Var6 != x0Var7.l) { - x0Var7.b(); - x0Var7.l = x0Var6; - x0Var7.c(); - } - z0Var3.l = null; - z0Var3.j = x0Var6; - z0Var3.k++; - z0Var3.k(); - x0Var6.a.l(this, d2.b); - if (this.f1011z.h == x0Var6) { - H(x0Var6.e()); - } - q(false); - } - } - if (this.K) { - this.K = v(); - k0(); - } else { - y(); - } - x0 x0Var8 = this.f1011z.i; - if (x0Var8 != null) { - if (x0Var8.l != null && !this.I) { - if (x0Var8.d) { - int i2 = 0; - while (true) { - k1[] k1VarArr = this.i; - if (i2 >= k1VarArr.length) { - z7 = true; - break; - } - k1 k1Var = k1VarArr[i2]; - c.i.a.c.d2.f0 f0Var = x0Var8.f1074c[i2]; - if (!(k1Var.h() == f0Var && (f0Var == null || k1Var.i()))) { - break; - } - i2++; - } - } - z7 = false; - if (z7) { - x0 x0Var9 = x0Var8.l; - if (x0Var9.d || this.S >= x0Var9.e()) { - m mVar2 = x0Var8.n; - z0 z0Var4 = this.f1011z; - x0 x0Var10 = z0Var4.i; - c.c.a.a0.d.D((x0Var10 == null || x0Var10.l == null) ? false : true); - z0Var4.i = z0Var4.i.l; - z0Var4.k(); - x0 x0Var11 = z0Var4.i; - m mVar3 = x0Var11.n; - if (!x0Var11.d || x0Var11.a.k() == -9223372036854775807L) { - for (int i3 = 0; i3 < this.i.length; i3++) { - boolean b2 = mVar2.b(i3); - boolean b3 = mVar3.b(i3); - if (b2 && !this.i[i3].v()) { - boolean z8 = ((g0) this.j[i3]).i == 7; - m1 m1Var = mVar2.b[i3]; - m1 m1Var2 = mVar3.b[i3]; - if (!b3 || !m1Var2.equals(m1Var) || z8) { - T(this.i[i3], x0Var11.e()); - } - } - } - } else { - long e2 = x0Var11.e(); - k1[] k1VarArr2 = this.i; - for (k1 k1Var2 : k1VarArr2) { - if (k1Var2.h() != null) { - T(k1Var2, e2); - } - } - } - } - } - } else if (x0Var8.f.h || this.I) { - int i4 = 0; - while (true) { - k1[] k1VarArr3 = this.i; - if (i4 >= k1VarArr3.length) { - break; - } - k1 k1Var3 = k1VarArr3[i4]; - c.i.a.c.d2.f0 f0Var2 = x0Var8.f1074c[i4]; - if (f0Var2 != null && k1Var3.h() == f0Var2 && k1Var3.i()) { - long j4 = x0Var8.f.e; - T(k1Var3, (j4 == -9223372036854775807L || j4 == Long.MIN_VALUE) ? -9223372036854775807L : j4 + x0Var8.o); - } - i4++; - } - } - } - z0 z0Var5 = this.f1011z; - x0 x0Var12 = z0Var5.i; - if (!(x0Var12 == null || z0Var5.h == x0Var12 || x0Var12.g)) { - m mVar4 = x0Var12.n; - boolean z9 = false; - int i5 = 0; - while (true) { - k1[] k1VarArr4 = this.i; - if (i5 >= k1VarArr4.length) { - break; - } - k1 k1Var4 = k1VarArr4[i5]; - if (w(k1Var4)) { - boolean z10 = k1Var4.h() != x0Var12.f1074c[i5]; - if (!mVar4.b(i5) || z10) { - if (!k1Var4.v()) { - k1Var4.j(j(mVar4.f924c[i5]), x0Var12.f1074c[i5], x0Var12.e(), x0Var12.o); - } else if (k1Var4.b()) { - f(k1Var4); - } else { - z9 = true; - } - } - } - i5++; - } - if (!z9) { - h(); - } - } - boolean z11 = false; - while (true) { - if (!(e0() && !this.I && (x0Var = this.f1011z.h) != null && (x0Var2 = x0Var.l) != null && this.S >= x0Var2.e() && x0Var2.g)) { - break; - } - if (z11) { - z(); - } - z0 z0Var6 = this.f1011z; - x0 x0Var13 = z0Var6.h; - x0 a3 = z0Var6.a(); - y0 y0Var = a3.f; - this.E = u(y0Var.a, y0Var.b, y0Var.f1079c); - this.F.b(x0Var13.f.f ? 0 : 3); - r1 r1Var = this.E.b; - l0(r1Var, a3.f.a, r1Var, x0Var13.f.a, -9223372036854775807L); - G(); - m0(); - z11 = true; - } - } - int i6 = this.E.e; - if (i6 == 1 || i6 == 4) { - this.o.a.removeMessages(2); - return; - } - x0 x0Var14 = this.f1011z.h; - if (x0Var14 == null) { - M(a2, 10); - return; - } - c.c.a.a0.d.g("doSomeWork"); - m0(); - if (x0Var14.d) { - long elapsedRealtime = SystemClock.elapsedRealtime() * 1000; - x0Var14.a.r(this.E.s - this.t, this.u); - boolean z12 = true; - z2 = true; - int i7 = 0; - while (true) { - k1[] k1VarArr5 = this.i; - if (i7 >= k1VarArr5.length) { - break; - } - k1 k1Var5 = k1VarArr5[i7]; - if (w(k1Var5)) { - k1Var5.q(this.S, elapsedRealtime); - boolean z13 = z12 && k1Var5.b(); - boolean z14 = x0Var14.f1074c[i7] != k1Var5.h(); - boolean z15 = z14 || (!z14 && k1Var5.i()) || k1Var5.d() || k1Var5.b(); - boolean z16 = z2 && z15; - if (!z15) { - k1Var5.s(); - } - z2 = z16; - z12 = z13; - } - i7++; - } - z3 = z12; - } else { - x0Var14.a.e(); - z3 = true; - z2 = true; - } - long j5 = x0Var14.f.e; - boolean z17 = z3 && x0Var14.d && (j5 == -9223372036854775807L || j5 <= this.E.s); - if (z17 && this.I) { - this.I = false; - Y(false, this.E.m, false, 5); - } - if (!z17 || !x0Var14.f.h) { - c1 c1Var2 = this.E; - if (c1Var2.e == 2) { - if (this.Q == 0) { - z6 = x(); - } else { - if (z2) { - if (c1Var2.g) { - long j6 = f0(c1Var2.b, this.f1011z.h.f.a) ? ((k0) this.B).i : -9223372036854775807L; - x0 x0Var15 = this.f1011z.j; - boolean z18 = x0Var15.f() && x0Var15.f.h; - boolean z19 = x0Var15.f.a.a() && !x0Var15.d; - if (!z18) { - if (!z19) { - } - } - } - z6 = true; - } - z6 = false; - } - if (z6) { - d0(3); - this.V = null; - if (e0()) { - h0(); - } - } - } - if (this.E.e == 3 && (this.Q != 0 ? !z2 : !x())) { - this.J = e0(); - d0(2); - if (this.J) { - for (x0 x0Var16 = this.f1011z.h; x0Var16 != null; x0Var16 = x0Var16.l) { - c.i.a.c.f2.g[] gVarArr = x0Var16.n.f924c; - for (c.i.a.c.f2.g gVar : gVarArr) { - if (gVar != null) { - gVar.k(); - } - } - } - k0 k0Var = (k0) this.B; - long j7 = k0Var.i; - if (j7 != -9223372036854775807L) { - long j8 = j7 + k0Var.b; - k0Var.i = j8; - long j9 = k0Var.h; - if (j9 != -9223372036854775807L && j8 > j9) { - k0Var.i = j9; - } - k0Var.m = -9223372036854775807L; - } - } - j0(); - } - } else { - d0(4); - j0(); - } - if (this.E.e == 2) { - int i8 = 0; - while (true) { - k1[] k1VarArr6 = this.i; - if (i8 >= k1VarArr6.length) { - break; - } - if (w(k1VarArr6[i8]) && this.i[i8].h() == x0Var14.f1074c[i8]) { - this.i[i8].s(); - } - i8++; - } - c1 c1Var3 = this.E; - if (!c1Var3.g && c1Var3.f823r < 500000 && v()) { - throw new IllegalStateException("Playback stuck buffering and not loading"); - } - } - boolean z20 = this.P; - c1 c1Var4 = this.E; - if (z20 != c1Var4.o) { - this.E = c1Var4.c(z20); - } - if ((!e0() || this.E.e != 3) && (i = this.E.e) != 2) { - if (this.Q == 0 || i == 4) { - this.o.a.removeMessages(2); - } else { - M(a2, 1000); - } - z4 = false; - } else { - if (!this.P || !this.O) { - M(a2, 10); - z5 = true; - } else { - z5 = false; - } - z4 = true ^ z5; - } - c1 c1Var5 = this.E; - if (c1Var5.p != z4) { - this.E = new c1(c1Var5.b, c1Var5.f822c, c1Var5.d, c1Var5.e, c1Var5.f, c1Var5.g, c1Var5.h, c1Var5.i, c1Var5.j, c1Var5.k, c1Var5.l, c1Var5.m, c1Var5.n, c1Var5.q, c1Var5.f823r, c1Var5.s, c1Var5.o, z4); - } - this.O = false; - c.c.a.a0.d.f0(); - } - - public final void h() throws ExoPlaybackException { - i(new boolean[this.i.length]); - } - - public final void h0() throws ExoPlaybackException { - this.J = false; - m0 m0Var = this.v; - m0Var.n = true; - m0Var.i.b(); - k1[] k1VarArr = this.i; - for (k1 k1Var : k1VarArr) { - if (w(k1Var)) { - k1Var.start(); - } - } - } - - @Override // android.os.Handler.Callback - public boolean handleMessage(Message message) { - x0 x0Var; - try { - switch (message.what) { - case 0: - B(); - break; - case 1: - Y(message.arg1 != 0, message.arg2, true, 1); - break; - case 2: - g(); - break; - case 3: - O((g) message.obj); - break; - case 4: - Z((d1) message.obj); - break; - case 5: - this.D = (o1) message.obj; - break; - case 6: - i0(false, true); - break; - case 7: - C(); - return true; - case 8: - s((v) message.obj); - break; - case 9: - p((v) message.obj); - break; - case 10: - E(); - break; - case 11: - a0(message.arg1); - break; - case 12: - b0(message.arg1 != 0); - break; - case 13: - U(message.arg1 != 0, (AtomicBoolean) message.obj); - break; - case 14: - h1 h1Var = (h1) message.obj; - Objects.requireNonNull(h1Var); - R(h1Var); - break; - case 15: - S((h1) message.obj); - break; - case 16: - d1 d1Var = (d1) message.obj; - t(d1Var, d1Var.b, true, false); - break; - case 17: - V((a) message.obj); - break; - case 18: - c((a) message.obj, message.arg1); - break; - case 19: - A((b) message.obj); - break; - case 20: - D(message.arg1, message.arg2, (h0) message.obj); - break; - case 21: - c0((h0) message.obj); - break; - case 22: - r(this.A.c()); - break; - case 23: - X(message.arg1 != 0); - break; - case 24: - W(message.arg1 == 1); - break; - case 25: - d((ExoPlaybackException) message.obj); - break; - default: - return false; - } - z(); - } catch (ExoPlaybackException e2) { - e = e2; - if (e.type == 1 && (x0Var = this.f1011z.i) != null) { - e = e.a(x0Var.f.a); - } - if (!e.isRecoverable || this.V != null) { - ExoPlaybackException exoPlaybackException = this.V; - if (exoPlaybackException != null) { - e.addSuppressed(exoPlaybackException); - this.V = null; - } - p.b("ExoPlayerImplInternal", "Playback error", e); - i0(true, false); - this.E = this.E.e(e); - } else { - p.c("ExoPlayerImplInternal", "Recoverable playback error", e); - this.V = e; - Message c2 = this.o.c(25, e); - c2.getTarget().sendMessageAtFrontOfQueue(c2); - } - z(); - } catch (IOException e3) { - ExoPlaybackException exoPlaybackException2 = new ExoPlaybackException(0, e3); - x0 x0Var2 = this.f1011z.h; - if (x0Var2 != null) { - exoPlaybackException2 = exoPlaybackException2.a(x0Var2.f.a); - } - p.b("ExoPlayerImplInternal", "Playback error", exoPlaybackException2); - i0(false, false); - this.E = this.E.e(exoPlaybackException2); - z(); - } catch (RuntimeException e4) { - ExoPlaybackException exoPlaybackException3 = new ExoPlaybackException(2, e4); - p.b("ExoPlayerImplInternal", "Playback error", exoPlaybackException3); - i0(true, false); - this.E = this.E.e(exoPlaybackException3); - z(); - } - return true; - } - - public final void i(boolean[] zArr) throws ExoPlaybackException { - r rVar; - x0 x0Var = this.f1011z.i; - m mVar = x0Var.n; - for (int i = 0; i < this.i.length; i++) { - if (!mVar.b(i)) { - this.i[i].reset(); - } - } - for (int i2 = 0; i2 < this.i.length; i2++) { - if (mVar.b(i2)) { - boolean z2 = zArr[i2]; - k1 k1Var = this.i[i2]; - if (!w(k1Var)) { - z0 z0Var = this.f1011z; - x0 x0Var2 = z0Var.i; - boolean z3 = x0Var2 == z0Var.h; - m mVar2 = x0Var2.n; - m1 m1Var = mVar2.b[i2]; - Format[] j = j(mVar2.f924c[i2]); - boolean z4 = e0() && this.E.e == 3; - boolean z5 = !z2 && z4; - this.Q++; - k1Var.o(m1Var, j, x0Var2.f1074c[i2], this.S, z5, z3, x0Var2.e(), x0Var2.o); - k1Var.r(103, new p0(this)); - m0 m0Var = this.v; - Objects.requireNonNull(m0Var); - r w2 = k1Var.w(); - if (!(w2 == null || w2 == (rVar = m0Var.l))) { - if (rVar == null) { - m0Var.l = w2; - m0Var.k = k1Var; - w2.e(m0Var.i.m); - } else { - throw new ExoPlaybackException(2, new IllegalStateException("Multiple renderer media clocks enabled.")); - } - } - if (z4) { - k1Var.start(); - } - } else { - continue; - } - } - } - x0Var.g = true; - } - - public final void i0(boolean z2, boolean z3) { - F(z2 || !this.N, false, true, false); - this.F.a(z3 ? 1 : 0); - this.m.i(); - d0(1); - } - - public final void j0() throws ExoPlaybackException { - m0 m0Var = this.v; - m0Var.n = false; - a0 a0Var = m0Var.i; - if (a0Var.j) { - a0Var.a(a0Var.m()); - a0Var.j = false; - } - k1[] k1VarArr = this.i; - for (k1 k1Var : k1VarArr) { - if (w(k1Var) && k1Var.getState() == 2) { - k1Var.stop(); - } - } - } - - public final long k(r1 r1Var, Object obj, long j) { - r1Var.n(r1Var.h(obj, this.s).f1017c, this.f1007r); - r1.c cVar = this.f1007r; - if (cVar.h != -9223372036854775807L && cVar.c()) { - r1.c cVar2 = this.f1007r; - if (cVar2.k) { - long j2 = cVar2.i; - int i = f0.a; - return h0.a((j2 == -9223372036854775807L ? System.currentTimeMillis() : j2 + SystemClock.elapsedRealtime()) - this.f1007r.h) - (j + this.s.e); - } - } - return -9223372036854775807L; - } - - public final void k0() { - x0 x0Var = this.f1011z.j; - boolean z2 = this.K || (x0Var != null && x0Var.a.h()); - c1 c1Var = this.E; - if (z2 != c1Var.g) { - this.E = new c1(c1Var.b, c1Var.f822c, c1Var.d, c1Var.e, c1Var.f, z2, c1Var.h, c1Var.i, c1Var.j, c1Var.k, c1Var.l, c1Var.m, c1Var.n, c1Var.q, c1Var.f823r, c1Var.s, c1Var.o, c1Var.p); - } - } - - public final long l() { - x0 x0Var = this.f1011z.i; - if (x0Var == null) { - return 0; - } - long j = x0Var.o; - if (!x0Var.d) { - return j; - } - int i = 0; - while (true) { - k1[] k1VarArr = this.i; - if (i >= k1VarArr.length) { - return j; - } - if (w(k1VarArr[i]) && this.i[i].h() == x0Var.f1074c[i]) { - long t = this.i[i].t(); - if (t == Long.MIN_VALUE) { - return Long.MIN_VALUE; - } - j = Math.max(t, j); - } - i++; - } - } - - public final void l0(r1 r1Var, y.a aVar, r1 r1Var2, y.a aVar2, long j) { - if (r1Var.q() || !f0(r1Var, aVar)) { - float f2 = this.v.c().b; - d1 d1Var = this.E.n; - if (f2 != d1Var.b) { - this.v.e(d1Var); - return; - } - return; - } - r1Var.n(r1Var.h(aVar.a, this.s).f1017c, this.f1007r); - t0 t0Var = this.B; - v0.f fVar = this.f1007r.m; - int i = f0.a; - k0 k0Var = (k0) t0Var; - Objects.requireNonNull(k0Var); - k0Var.d = h0.a(fVar.a); - k0Var.g = h0.a(fVar.b); - k0Var.h = h0.a(fVar.f1051c); - float f3 = fVar.d; - if (f3 == -3.4028235E38f) { - f3 = 0.97f; - } - k0Var.k = f3; - float f4 = fVar.e; - if (f4 == -3.4028235E38f) { - f4 = 1.03f; - } - k0Var.j = f4; - k0Var.a(); - if (j != -9223372036854775807L) { - k0 k0Var2 = (k0) this.B; - k0Var2.e = k(r1Var, aVar.a, j); - k0Var2.a(); - return; - } - Object obj = this.f1007r.f1018c; - Object obj2 = null; - if (!r1Var2.q()) { - obj2 = r1Var2.n(r1Var2.h(aVar2.a, this.s).f1017c, this.f1007r).f1018c; - } - if (!f0.a(obj2, obj)) { - k0 k0Var3 = (k0) this.B; - k0Var3.e = -9223372036854775807L; - k0Var3.a(); - } - } - - public final Pair m(r1 r1Var) { - long j = 0; - if (r1Var.q()) { - y.a aVar = c1.a; - return Pair.create(c1.a, 0L); - } - Pair j2 = r1Var.j(this.f1007r, this.s, r1Var.a(this.M), -9223372036854775807L); - y.a n = this.f1011z.n(r1Var, j2.first, 0); - long longValue = ((Long) j2.second).longValue(); - if (n.a()) { - r1Var.h(n.a, this.s); - if (n.f864c == this.s.e(n.b)) { - j = this.s.f.f; - } - longValue = j; - } - return Pair.create(n, Long.valueOf(longValue)); - } - - /* JADX INFO: finally extract failed */ - /* JADX WARNING: Removed duplicated region for block: B:149:0x016b A[EDGE_INSN: B:149:0x016b->B:70:0x016b ?: BREAK , SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:154:0x01a5 A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:162:0x01dd A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:165:0x01d3 A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:61:0x0146 */ - /* JADX WARNING: Removed duplicated region for block: B:72:0x0173 */ - /* JADX WARNING: Removed duplicated region for block: B:87:0x01aa */ - public final void m0() throws ExoPlaybackException { - q0 q0Var; - q0 q0Var2; - q0 q0Var3; - q0 q0Var4; - long j; - c cVar; - long j2; - c cVar2; - long j3; - q0 q0Var5; - q0 q0Var6; - q0 q0Var7; - x0 x0Var = this.f1011z.h; - if (x0Var != null) { - long k = x0Var.d ? x0Var.a.k() : -9223372036854775807L; - if (k != -9223372036854775807L) { - H(k); - if (k != this.E.s) { - c1 c1Var = this.E; - this.E = u(c1Var.f822c, k, c1Var.d); - this.F.b(4); - } - q0Var2 = this; - q0Var = q0Var2; - } else { - m0 m0Var = this.v; - boolean z2 = x0Var != this.f1011z.i; - k1 k1Var = m0Var.k; - if (k1Var == null || k1Var.b() || (!m0Var.k.d() && (z2 || m0Var.k.i()))) { - m0Var.m = true; - if (m0Var.n) { - m0Var.i.b(); - } - } else { - r rVar = m0Var.l; - Objects.requireNonNull(rVar); - long m = rVar.m(); - if (m0Var.m) { - if (m < m0Var.i.m()) { - a0 a0Var = m0Var.i; - if (a0Var.j) { - a0Var.a(a0Var.m()); - a0Var.j = false; - } - } else { - m0Var.m = false; - if (m0Var.n) { - m0Var.i.b(); - } - } - } - m0Var.i.a(m); - d1 c2 = rVar.c(); - if (!c2.equals(m0Var.i.m)) { - a0 a0Var2 = m0Var.i; - if (a0Var2.j) { - a0Var2.a(a0Var2.m()); - } - a0Var2.m = c2; - ((q0) m0Var.j).o.c(16, c2).sendToTarget(); - } - } - long m2 = m0Var.m(); - this.S = m2; - long j4 = m2 - x0Var.o; - long j5 = this.E.s; - if (this.f1008w.isEmpty() || this.E.f822c.a()) { - q0Var2 = this; - q0Var = q0Var2; - } else { - if (this.U) { - j5--; - this.U = false; - } - c1 c1Var2 = this.E; - int b2 = c1Var2.b.b(c1Var2.f822c.a); - int min = Math.min(this.T, this.f1008w.size()); - if (min > 0) { - cVar = this.f1008w.get(min - 1); - j = j5; - q0Var4 = this; - q0Var = q0Var4; - q0Var3 = q0Var; - j2 = j4; - while (true) { - if (cVar != null) { - break; - } - int i = cVar.j; - if (i <= b2 && (i != b2 || cVar.k <= j)) { - break; - } - min--; - if (min <= 0) { - j3 = j; - q0Var5 = q0Var4; - q0Var6 = q0Var; - q0Var7 = q0Var3; - break; - } - cVar = q0Var4.f1008w.get(min - 1); - } - if (min < q0Var4.f1008w.size()) { - cVar2 = q0Var4.f1008w.get(min); - while (true) { - if (cVar2 == null || cVar2.l == null) { - break; - } - int i2 = cVar2.j; - if (i2 >= b2 && (i2 != b2 || cVar2.k > j)) { - break; - } - min++; - if (min >= q0Var4.f1008w.size()) { - break; - } - cVar2 = q0Var4.f1008w.get(min); - } - while (cVar2 != null && cVar2.l != null && cVar2.j == b2) { - long j6 = cVar2.k; - if (j6 <= j || j6 > j4) { - break; - } - try { - q0Var4.R(cVar2.i); - Objects.requireNonNull(cVar2.i); - q0Var4.f1008w.remove(min); - cVar2 = min >= q0Var4.f1008w.size() ? q0Var4.f1008w.get(min) : null; - } catch (Throwable th) { - Objects.requireNonNull(cVar2.i); - q0Var4.f1008w.remove(min); - throw th; - } - } - q0Var4.T = min; - j4 = j2; - q0Var2 = q0Var3; - } - cVar2 = null; - while (true) { - int i2 = cVar2.j; - min++; - if (min >= q0Var4.f1008w.size()) { - } - cVar2 = q0Var4.f1008w.get(min); - } - while (cVar2 != null) { - long j6 = cVar2.k; - q0Var4.R(cVar2.i); - Objects.requireNonNull(cVar2.i); - q0Var4.f1008w.remove(min); - if (min >= q0Var4.f1008w.size()) { - } - } - q0Var4.T = min; - j4 = j2; - q0Var2 = q0Var3; - } else { - j3 = j5; - q0Var5 = this; - q0Var6 = q0Var5; - q0Var7 = q0Var6; - j2 = j4; - } - q0Var3 = q0Var7; - q0Var = q0Var6; - q0Var4 = q0Var5; - j = j3; - cVar = null; - while (true) { - if (cVar != null) { - } - cVar = q0Var4.f1008w.get(min - 1); - } - if (min < q0Var4.f1008w.size()) { - } - cVar2 = null; - while (true) { - int i2 = cVar2.j; - min++; - if (min >= q0Var4.f1008w.size()) { - } - cVar2 = q0Var4.f1008w.get(min); - } - while (cVar2 != null) { - } - q0Var4.T = min; - j4 = j2; - q0Var2 = q0Var3; - } - q0Var2.E.s = j4; - } - q0Var2.E.q = q0Var2.f1011z.j.d(); - q0Var2.E.f823r = q0Var.n(); - c1 c1Var3 = q0Var2.E; - if (c1Var3.l && c1Var3.e == 3 && q0Var2.f0(c1Var3.b, c1Var3.f822c)) { - c1 c1Var4 = q0Var2.E; - float f2 = 1.0f; - if (c1Var4.n.b == 1.0f) { - t0 t0Var = q0Var2.B; - long k2 = q0Var2.k(c1Var4.b, c1Var4.f822c.a, c1Var4.s); - long n = q0Var.n(); - k0 k0Var = (k0) t0Var; - if (k0Var.d != -9223372036854775807L) { - long j7 = k2 - n; - long j8 = k0Var.n; - if (j8 == -9223372036854775807L) { - k0Var.n = j7; - k0Var.o = 0; - } else { - float f3 = k0Var.f991c; - long max = Math.max(j7, (long) (((1.0f - f3) * ((float) j7)) + (((float) j8) * f3))); - k0Var.n = max; - long abs = Math.abs(j7 - max); - long j9 = k0Var.o; - float f4 = k0Var.f991c; - k0Var.o = (long) (((1.0f - f4) * ((float) abs)) + (((float) j9) * f4)); - } - if (k0Var.m == -9223372036854775807L || SystemClock.elapsedRealtime() - k0Var.m >= 1000) { - k0Var.m = SystemClock.elapsedRealtime(); - long j10 = (k0Var.o * 3) + k0Var.n; - if (k0Var.i > j10) { - float a2 = (float) h0.a(1000); - long[] jArr = {j10, k0Var.f, k0Var.i - (((long) ((k0Var.l - 1.0f) * a2)) + ((long) ((k0Var.j - 1.0f) * a2)))}; - c.i.a.f.e.o.c.h(true); - long j11 = jArr[0]; - for (int i3 = 1; i3 < 3; i3++) { - if (jArr[i3] > j11) { - j11 = jArr[i3]; - } - } - k0Var.i = j11; - } else { - long i4 = f0.i(k2 - ((long) (Math.max(0.0f, k0Var.l - 1.0f) / 1.0E-7f)), k0Var.i, j10); - k0Var.i = i4; - long j12 = k0Var.h; - if (j12 != -9223372036854775807L && i4 > j12) { - k0Var.i = j12; - } - } - long j13 = k2 - k0Var.i; - if (Math.abs(j13) < k0Var.a) { - k0Var.l = 1.0f; - } else { - k0Var.l = f0.g((1.0E-7f * ((float) j13)) + 1.0f, k0Var.k, k0Var.j); - } - f2 = k0Var.l; - } else { - f2 = k0Var.l; - } - } - if (q0Var2.v.c().b != f2) { - q0Var2.v.e(new d1(f2, q0Var2.E.n.f832c)); - q0Var2.t(q0Var2.E.n, q0Var2.v.c().b, false, false); - } - } - } - } - } - - public final long n() { - return o(this.E.q); - } - - public final long o(long j) { - x0 x0Var = this.f1011z.j; - if (x0Var == null) { - return 0; - } - return Math.max(0L, j - (this.S - x0Var.o)); - } - - public final void p(v vVar) { - z0 z0Var = this.f1011z; - x0 x0Var = z0Var.j; - if (x0Var != null && x0Var.a == vVar) { - z0Var.l(this.S); - y(); - } - } - - public final void q(boolean z2) { - x0 x0Var = this.f1011z.j; - y.a aVar = x0Var == null ? this.E.f822c : x0Var.f.a; - boolean z3 = !this.E.k.equals(aVar); - if (z3) { - this.E = this.E.a(aVar); - } - c1 c1Var = this.E; - c1Var.q = x0Var == null ? c1Var.s : x0Var.d(); - this.E.f823r = n(); - if ((z3 || z2) && x0Var != null && x0Var.d) { - this.m.d(this.i, x0Var.m, x0Var.n.f924c); - } - } - - /* JADX WARNING: Removed duplicated region for block: B:130:0x0285 */ - /* JADX WARNING: Removed duplicated region for block: B:131:0x0287 */ - /* JADX WARNING: Removed duplicated region for block: B:139:0x02bf */ - /* JADX WARNING: Removed duplicated region for block: B:45:0x0129 */ - /* JADX WARNING: Removed duplicated region for block: B:46:0x0145 */ - /* JADX WARNING: Removed duplicated region for block: B:49:0x0151 */ - /* JADX WARNING: Removed duplicated region for block: B:57:0x0165 */ - /* JADX WARNING: Removed duplicated region for block: B:65:0x0178 */ - /* JADX WARNING: Removed duplicated region for block: B:68:0x017f */ - /* JADX WARNING: Removed duplicated region for block: B:76:0x01a1 */ - public final void r(r1 r1Var) throws ExoPlaybackException { - boolean z2; - boolean z3; - boolean z4; - int i; - y.a aVar; - int i2; - Object obj; - long j; - long j2; - y.a n; - long j3; - f fVar; - long j4; - int i3; - y.a aVar2; - boolean z5; - boolean z6; - boolean z7; - int i4; - boolean z8; - int i5; - Object obj2; - int i6; - boolean z9; - boolean z10; - boolean z11; - long j5; - g gVar; - boolean z12; - Throwable th; - c1 c1Var = this.E; - g gVar2 = this.R; - z0 z0Var = this.f1011z; - int i7 = this.L; - boolean z13 = this.M; - r1.c cVar = this.f1007r; - r1.b bVar = this.s; - if (r1Var.q()) { - y.a aVar3 = c1.a; - fVar = new f(c1.a, 0, -9223372036854775807L, false, true, false); - } else { - y.a aVar4 = c1Var.f822c; - Object obj3 = aVar4.a; - boolean g02 = g0(c1Var, bVar, cVar); - long j6 = g02 ? c1Var.d : c1Var.s; - if (gVar2 != null) { - aVar2 = aVar4; - Pair K = K(r1Var, gVar2, true, i7, z13, cVar, bVar); - if (K == null) { - i4 = r1Var.a(z13); - obj = obj3; - z10 = false; - z9 = false; - z5 = true; - } else { - if (gVar2.f1015c == -9223372036854775807L) { - i4 = r1Var.h(K.first, bVar).f1017c; - obj = obj3; - z11 = false; - } else { - obj = K.first; - j6 = ((Long) K.second).longValue(); - i4 = -1; - z11 = true; - } - z10 = c1Var.e == 4; - z9 = z11; - z5 = false; - } - i = -1; - z6 = z10; - z7 = z9; - } else { - aVar2 = aVar4; - if (c1Var.b.q()) { - i6 = r1Var.a(z13); - obj2 = obj3; - i = -1; - } else { - obj2 = obj3; - if (r1Var.b(obj2) == -1) { - i = -1; - Object L = L(cVar, bVar, i7, z13, obj2, c1Var.b, r1Var); - if (L == null) { - i4 = r1Var.a(z13); - z5 = true; - } else { - i4 = r1Var.h(L, bVar).f1017c; - z5 = false; - } - obj = obj2; - z7 = false; - z6 = false; - } else { - i = -1; - if (!g02) { - aVar = aVar2; - i5 = -1; - obj = obj2; - z8 = false; - i2 = i5; - z2 = z8; - z4 = false; - z3 = false; - if (i2 == i) { - } - n = z0Var.n(r1Var, obj, j2); - if (!aVar.a.equals(obj) && !aVar.a() && !n.a() && (n.e != i || ((i3 = aVar.e) != i && n.b >= i3))) { - } - if (!n.a()) { - } - fVar = new f(n, j3, j, z4, z3, z2); - } else if (j6 == -9223372036854775807L) { - i6 = r1Var.h(obj2, bVar).f1017c; - } else { - aVar = aVar2; - c1Var.b.h(aVar.a, bVar); - Pair j7 = r1Var.j(cVar, bVar, r1Var.h(obj2, bVar).f1017c, j6 + bVar.e); - obj = j7.first; - j6 = ((Long) j7.second).longValue(); - i5 = -1; - z8 = true; - i2 = i5; - z2 = z8; - z4 = false; - z3 = false; - if (i2 == i) { - Pair j8 = r1Var.j(cVar, bVar, i2, -9223372036854775807L); - obj = j8.first; - j = -9223372036854775807L; - j2 = ((Long) j8.second).longValue(); - } else { - j2 = j6; - j = j2; - } - n = z0Var.n(r1Var, obj, j2); - if (!aVar.a.equals(obj) && !aVar.a() && !n.a() && (n.e != i || ((i3 = aVar.e) != i && n.b >= i3))) { - n = aVar; - } - if (!n.a()) { - if (n.equals(aVar)) { - j4 = c1Var.s; - } else { - r1Var.h(n.a, bVar); - j4 = n.f864c == bVar.e(n.b) ? bVar.f.f : 0; - } - j3 = j4; - } else { - j3 = j2; - } - fVar = new f(n, j3, j, z4, z3, z2); - } - } - } - i5 = i6; - aVar = aVar2; - obj = obj2; - z8 = false; - i2 = i5; - z2 = z8; - z4 = false; - z3 = false; - if (i2 == i) { - } - n = z0Var.n(r1Var, obj, j2); - if (!aVar.a.equals(obj) && !aVar.a() && !n.a() && (n.e != i || ((i3 = aVar.e) != i && n.b >= i3))) { - } - if (!n.a()) { - } - fVar = new f(n, j3, j, z4, z3, z2); - } - i2 = i4; - z2 = z7; - z4 = z6; - z3 = z5; - aVar = aVar2; - if (i2 == i) { - } - n = z0Var.n(r1Var, obj, j2); - if (!aVar.a.equals(obj) && !aVar.a() && !n.a() && (n.e != i || ((i3 = aVar.e) != i && n.b >= i3))) { - } - if (!n.a()) { - } - fVar = new f(n, j3, j, z4, z3, z2); - } - y.a aVar5 = fVar.a; - long j9 = fVar.f1014c; - boolean z14 = fVar.d; - long j10 = fVar.b; - boolean z15 = !this.E.f822c.equals(aVar5) || j10 != this.E.s; - try { - if (fVar.e) { - if (this.E.e != 1) { - d0(4); - } - F(false, false, false, true); - } - if (!z15) { - j5 = j9; - z12 = false; - try { - if (!this.f1011z.q(r1Var, this.S, l())) { - N(false); - } - } catch (Throwable th2) { - th = th2; - gVar = null; - c1 c1Var2 = this.E; - l0(r1Var, aVar5, c1Var2.b, c1Var2.f822c, !fVar.f ? j10 : -9223372036854775807L); - if (z15 || j5 != this.E.d) { - this.E = u(aVar5, j10, j5); - } - G(); - J(r1Var, this.E.b); - this.E = this.E.h(r1Var); - if (!r1Var.q()) { - this.R = gVar; - } - q(z12); - throw th; - } - } else { - j5 = j9; - z12 = false; - if (!r1Var.q()) { - for (x0 x0Var = this.f1011z.h; x0Var != null; x0Var = x0Var.l) { - if (x0Var.f.a.equals(aVar5)) { - x0Var.f = this.f1011z.g(r1Var, x0Var.f); - } - } - j10 = P(aVar5, j10, z14); - } - } - c1 c1Var3 = this.E; - l0(r1Var, aVar5, c1Var3.b, c1Var3.f822c, fVar.f ? j10 : -9223372036854775807L); - if (z15 || j5 != this.E.d) { - this.E = u(aVar5, j10, j5); - } - G(); - J(r1Var, this.E.b); - this.E = this.E.h(r1Var); - if (!r1Var.q()) { - this.R = null; - } - q(z12); - } catch (Throwable th3) { - th = th3; - j5 = j9; - z12 = false; - gVar = null; - c1 c1Var2 = this.E; - l0(r1Var, aVar5, c1Var2.b, c1Var2.f822c, !fVar.f ? j10 : -9223372036854775807L); - this.E = u(aVar5, j10, j5); - G(); - J(r1Var, this.E.b); - this.E = this.E.h(r1Var); - if (!r1Var.q()) { - } - q(z12); - throw th; - } - } - - public final void s(v vVar) throws ExoPlaybackException { - x0 x0Var = this.f1011z.j; - if (x0Var != null && x0Var.a == vVar) { - float f2 = this.v.c().b; - r1 r1Var = this.E.b; - x0Var.d = true; - x0Var.m = x0Var.a.n(); - m i = x0Var.i(f2, r1Var); - y0 y0Var = x0Var.f; - long j = y0Var.b; - long j2 = y0Var.e; - if (j2 != -9223372036854775807L && j >= j2) { - j = Math.max(0L, j2 - 1); - } - long a2 = x0Var.a(i, j, false, new boolean[x0Var.i.length]); - long j3 = x0Var.o; - y0 y0Var2 = x0Var.f; - x0Var.o = (y0Var2.b - a2) + j3; - x0Var.f = y0Var2.b(a2); - this.m.d(this.i, x0Var.m, x0Var.n.f924c); - if (x0Var == this.f1011z.h) { - H(x0Var.f.b); - h(); - c1 c1Var = this.E; - this.E = u(c1Var.f822c, x0Var.f.b, c1Var.d); - } - y(); - } - } - - public final void t(d1 d1Var, float f2, boolean z2, boolean z3) throws ExoPlaybackException { - int i; - if (z2) { - if (z3) { - this.F.a(1); - } - this.E = this.E.f(d1Var); - } - float f3 = d1Var.b; - x0 x0Var = this.f1011z.h; - while (true) { - i = 0; - if (x0Var == null) { - break; - } - c.i.a.c.f2.g[] gVarArr = x0Var.n.f924c; - int length = gVarArr.length; - while (i < length) { - c.i.a.c.f2.g gVar = gVarArr[i]; - if (gVar != null) { - gVar.i(f3); - } - i++; - } - x0Var = x0Var.l; - } - k1[] k1VarArr = this.i; - int length2 = k1VarArr.length; - while (i < length2) { - k1 k1Var = k1VarArr[i]; - if (k1Var != null) { - k1Var.n(f2, d1Var.b); - } - i++; - } - } - - @CheckResult - public final c1 u(y.a aVar, long j, long j2) { - u uVar; - m mVar; - TrackGroupArray trackGroupArray; - u uVar2; - int i = 0; - this.U = this.U || j != this.E.s || !aVar.equals(this.E.f822c); - G(); - c1 c1Var = this.E; - TrackGroupArray trackGroupArray2 = c1Var.h; - m mVar2 = c1Var.i; - List list = c1Var.j; - if (this.A.j) { - x0 x0Var = this.f1011z.h; - TrackGroupArray trackGroupArray3 = x0Var == null ? TrackGroupArray.i : x0Var.m; - m mVar3 = x0Var == null ? this.l : x0Var.n; - c.i.a.c.f2.g[] gVarArr = mVar3.f924c; - c.i.a.f.e.o.c.n(4, "initialCapacity"); - Object[] objArr = new Object[4]; - int length = gVarArr.length; - int i2 = 0; - boolean z2 = false; - int i3 = 0; - while (i2 < length) { - c.i.a.c.f2.g gVar = gVarArr[i2]; - if (gVar != null) { - Metadata metadata = gVar.d(i).f2694r; - if (metadata == null) { - Metadata metadata2 = new Metadata(new Metadata.Entry[i]); - int i4 = i3 + 1; - if (objArr.length < i4) { - objArr = Arrays.copyOf(objArr, s.b.a(objArr.length, i4)); - } - objArr[i3] = metadata2; - i3 = i4; - } else { - int i5 = i3 + 1; - if (objArr.length < i5) { - objArr = Arrays.copyOf(objArr, s.b.a(objArr.length, i5)); - } - objArr[i3] = metadata; - i3 = i5; - z2 = true; - } - } - i2++; - i = 0; - } - if (z2) { - uVar2 = u.l(objArr, i3); - } else { - c.i.b.b.a aVar2 = u.j; - uVar2 = c.i.b.b.q0.k; - } - if (x0Var != null) { - y0 y0Var = x0Var.f; - if (y0Var.f1079c != j2) { - x0Var.f = y0Var.a(j2); - } - } - uVar = uVar2; - trackGroupArray = trackGroupArray3; - mVar = mVar3; - } else if (!aVar.equals(c1Var.f822c)) { - TrackGroupArray trackGroupArray4 = TrackGroupArray.i; - m mVar4 = this.l; - c.i.b.b.a aVar3 = u.j; - trackGroupArray = trackGroupArray4; - mVar = mVar4; - uVar = c.i.b.b.q0.k; - } else { - mVar = mVar2; - uVar = list; - trackGroupArray = trackGroupArray2; - } - return this.E.b(aVar, j, j2, n(), trackGroupArray, mVar, uVar); - } - - public final boolean v() { - x0 x0Var = this.f1011z.j; - if (x0Var == null) { - return false; - } - return (!x0Var.d ? 0 : x0Var.a.c()) != Long.MIN_VALUE; - } - - public final boolean x() { - x0 x0Var = this.f1011z.h; - long j = x0Var.f.e; - return x0Var.d && (j == -9223372036854775807L || this.E.s < j || !e0()); - } - - public final void y() { - boolean z2; - long j; - long j2; - if (!v()) { - z2 = false; - } else { - x0 x0Var = this.f1011z.j; - long o = o(!x0Var.d ? 0 : x0Var.a.c()); - if (x0Var == this.f1011z.h) { - j2 = this.S; - j = x0Var.o; - } else { - j2 = this.S - x0Var.o; - j = x0Var.f.b; - } - z2 = this.m.g(j2 - j, o, this.v.c().b); - } - this.K = z2; - if (z2) { - x0 x0Var2 = this.f1011z.j; - long j3 = this.S; - c.c.a.a0.d.D(x0Var2.g()); - x0Var2.a.g(j3 - x0Var2.o); - } - k0(); - } - - public final void z() { - d dVar = this.F; - c1 c1Var = this.E; - boolean z2 = dVar.a | (dVar.b != c1Var); - dVar.a = z2; - dVar.b = c1Var; - if (z2) { - o0 o0Var = ((o) this.f1010y).a; - o0Var.e.a.post(new t(o0Var, dVar)); - this.F = new d(this.E); - } +import android.os.Bundle; +import c.i.a.c.o1; +import c.i.a.c.o2; +import c.i.a.c.w0; +/* compiled from: lambda */ +public final /* synthetic */ class q0 implements w0.a { + public static final /* synthetic */ q0 a = new q0(); + + @Override // c.i.a.c.w0.a + public final w0 a(Bundle bundle) { + Bundle bundle2 = bundle.getBundle(o2.c.d(1)); + o1.g gVar = null; + o1 a2 = bundle2 != null ? o1.i.a(bundle2) : null; + long j = bundle.getLong(o2.c.d(2), -9223372036854775807L); + long j2 = bundle.getLong(o2.c.d(3), -9223372036854775807L); + long j3 = bundle.getLong(o2.c.d(4), -9223372036854775807L); + boolean z2 = bundle.getBoolean(o2.c.d(5), false); + boolean z3 = bundle.getBoolean(o2.c.d(6), false); + Bundle bundle3 = bundle.getBundle(o2.c.d(7)); + if (bundle3 != null) { + gVar = o1.g.j.a(bundle3); + } + boolean z4 = bundle.getBoolean(o2.c.d(8), false); + long j4 = bundle.getLong(o2.c.d(9), 0); + long j5 = bundle.getLong(o2.c.d(10), -9223372036854775807L); + int i = bundle.getInt(o2.c.d(11), 0); + int i2 = bundle.getInt(o2.c.d(12), 0); + long j6 = bundle.getLong(o2.c.d(13), 0); + o2.c cVar = new o2.c(); + cVar.e(o2.c.j, a2, null, j, j2, j3, z2, z3, gVar, j4, j5, i, i2, j6); + cVar.f844x = z4; + return cVar; } } diff --git a/app/src/main/java/c/i/a/c/q1.java b/app/src/main/java/c/i/a/c/q1.java index 2baba77da2..d0d8fb4b4a 100644 --- a/app/src/main/java/c/i/a/c/q1.java +++ b/app/src/main/java/c/i/a/c/q1.java @@ -1,89 +1,227 @@ package c.i.a.c; -import android.content.BroadcastReceiver; -import android.content.Context; -import android.content.Intent; -import android.content.IntentFilter; -import android.media.AudioManager; -import android.os.Handler; +import android.util.Pair; import androidx.annotation.Nullable; import c.c.a.a0.d; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.p; -import java.util.Iterator; -import org.webrtc.MediaStreamTrack; -/* compiled from: StreamVolumeManager */ +import c.i.a.c.a3.a0; +import c.i.a.c.a3.i0; +import c.i.a.c.a3.n; +import c.i.a.c.a3.o0; +import c.i.a.c.a3.x; +import c.i.a.c.c3.j; +import c.i.a.c.c3.q; +import c.i.a.c.c3.r; +import c.i.a.c.e3.o; +import c.i.a.c.u1; +import com.google.android.exoplayer2.ExoPlaybackException; +import java.util.Objects; +/* compiled from: MediaPeriodHolder */ public final class q1 { - public final Context a; - public final Handler b; + public final x a; + public final Object b; /* renamed from: c reason: collision with root package name */ - public final b f1016c; - public final AudioManager d; + public final i0[] f856c; + public boolean d; + public boolean e; + public r1 f; + public boolean g; + public final boolean[] h; + public final g2[] i; + public final q j; + public final u1 k; @Nullable - public c e; - public int f = 3; - public int g; - public boolean h; + public q1 l; + public o0 m = o0.i; + public r n; + public long o; - /* compiled from: StreamVolumeManager */ - public interface b { + public q1(g2[] g2VarArr, long j, q qVar, o oVar, u1 u1Var, r1 r1Var, r rVar) { + this.i = g2VarArr; + this.o = j; + this.j = qVar; + this.k = u1Var; + a0.a aVar = r1Var.a; + this.b = aVar.a; + this.f = r1Var; + this.n = rVar; + this.f856c = new i0[g2VarArr.length]; + this.h = new boolean[g2VarArr.length]; + long j2 = r1Var.b; + long j3 = r1Var.d; + Objects.requireNonNull(u1Var); + Pair pair = (Pair) aVar.a; + Object obj = pair.first; + a0.a b = aVar.b(pair.second); + u1.c cVar = u1Var.f903c.get(obj); + Objects.requireNonNull(cVar); + u1Var.h.add(cVar); + u1.b bVar = u1Var.g.get(cVar); + if (bVar != null) { + bVar.a.m(bVar.b); + } + cVar.f905c.add(b); + x u = cVar.a.n(b, oVar, j2); + u1Var.b.put(u, cVar); + u1Var.d(); + this.a = j3 != -9223372036854775807L ? new n(u, true, 0, j3) : u; } - /* compiled from: StreamVolumeManager */ - public final class c extends BroadcastReceiver { - public c(a aVar) { + public long a(r rVar, long j, boolean z2, boolean[] zArr) { + int i = 0; + while (true) { + boolean z3 = true; + if (i >= rVar.a) { + break; + } + boolean[] zArr2 = this.h; + if (z2 || !rVar.a(this.n, i)) { + z3 = false; + } + zArr2[i] = z3; + i++; } - - @Override // android.content.BroadcastReceiver - public void onReceive(Context context, Intent intent) { - q1 q1Var = q1.this; - q1Var.b.post(new b0(q1Var)); + i0[] i0VarArr = this.f856c; + int i2 = 0; + while (true) { + g2[] g2VarArr = this.i; + if (i2 >= g2VarArr.length) { + break; + } + if (((v0) g2VarArr[i2]).i == -2) { + i0VarArr[i2] = null; + } + i2++; + } + b(); + this.n = rVar; + c(); + long m = this.a.m(rVar.f741c, this.h, this.f856c, zArr, j); + i0[] i0VarArr2 = this.f856c; + int i3 = 0; + while (true) { + g2[] g2VarArr2 = this.i; + if (i3 >= g2VarArr2.length) { + break; + } + if (((v0) g2VarArr2[i3]).i == -2 && this.n.b(i3)) { + i0VarArr2[i3] = new c.i.a.c.a3.q(); + } + i3++; + } + this.e = false; + int i4 = 0; + while (true) { + i0[] i0VarArr3 = this.f856c; + if (i4 >= i0VarArr3.length) { + return m; + } + if (i0VarArr3[i4] != null) { + d.D(rVar.b(i4)); + if (((v0) this.i[i4]).i != -2) { + this.e = true; + } + } else { + d.D(rVar.f741c[i4] == null); + } + i4++; } } - public q1(Context context, Handler handler, b bVar) { - Context applicationContext = context.getApplicationContext(); - this.a = applicationContext; - this.b = handler; - this.f1016c = bVar; - AudioManager audioManager = (AudioManager) applicationContext.getSystemService(MediaStreamTrack.AUDIO_TRACK_KIND); - d.H(audioManager); - this.d = audioManager; - this.g = b(audioManager, 3); - this.h = a(audioManager, this.f); - c cVar = new c(null); - try { - applicationContext.registerReceiver(cVar, new IntentFilter("android.media.VOLUME_CHANGED_ACTION")); - this.e = cVar; - } catch (RuntimeException e) { - p.c("StreamVolumeManager", "Error registering stream volume receiver", e); - } - } - - public static boolean a(AudioManager audioManager, int i) { - return f0.a >= 23 ? audioManager.isStreamMute(i) : b(audioManager, i) == 0; - } - - public static int b(AudioManager audioManager, int i) { - try { - return audioManager.getStreamVolume(i); - } catch (RuntimeException e) { - p.c("StreamVolumeManager", "Could not retrieve stream volume for stream type " + i, e); - return audioManager.getStreamMaxVolume(i); + public final void b() { + if (g()) { + int i = 0; + while (true) { + r rVar = this.n; + if (i < rVar.a) { + boolean b = rVar.b(i); + j jVar = this.n.f741c[i]; + if (b && jVar != null) { + jVar.g(); + } + i++; + } else { + return; + } + } } } public final void c() { - int b2 = b(this.d, this.f); - boolean a2 = a(this.d, this.f); - if (this.g != b2 || this.h != a2) { - this.g = b2; - this.h = a2; - Iterator it = p1.this.j.iterator(); - while (it.hasNext()) { - it.next().a(); + if (g()) { + int i = 0; + while (true) { + r rVar = this.n; + if (i < rVar.a) { + boolean b = rVar.b(i); + j jVar = this.n.f741c[i]; + if (b && jVar != null) { + jVar.e(); + } + i++; + } else { + return; + } } } } + + public long d() { + if (!this.d) { + return this.f.b; + } + long q = this.e ? this.a.q() : Long.MIN_VALUE; + return q == Long.MIN_VALUE ? this.f.e : q; + } + + public long e() { + return this.f.b + this.o; + } + + public boolean f() { + return this.d && (!this.e || this.a.q() == Long.MIN_VALUE); + } + + public final boolean g() { + return this.l == null; + } + + public void h() { + b(); + u1 u1Var = this.k; + x xVar = this.a; + try { + if (xVar instanceof n) { + u1Var.h(((n) xVar).i); + } else { + u1Var.h(xVar); + } + } catch (RuntimeException e) { + c.i.a.c.f3.q.b("MediaPeriodHolder", "Period release failed.", e); + } + } + + public r i(float f, o2 o2Var) throws ExoPlaybackException { + r b = this.j.b(this.i, this.m, this.f.a, o2Var); + j[] jVarArr = b.f741c; + for (j jVar : jVarArr) { + if (jVar != null) { + jVar.i(f); + } + } + return b; + } + + public void j() { + x xVar = this.a; + if (xVar instanceof n) { + long j = this.f.d; + if (j == -9223372036854775807L) { + j = Long.MIN_VALUE; + } + n nVar = (n) xVar; + nVar.m = 0; + nVar.n = j; + } + } } diff --git a/app/src/main/java/c/i/a/c/q2.java b/app/src/main/java/c/i/a/c/q2.java new file mode 100644 index 0000000000..28b5e41103 --- /dev/null +++ b/app/src/main/java/c/i/a/c/q2.java @@ -0,0 +1,33 @@ +package c.i.a.c; + +import android.annotation.SuppressLint; +import android.content.Context; +import android.os.PowerManager; +import androidx.annotation.Nullable; +/* compiled from: WakeLockManager */ +public final class q2 { + @Nullable + public final PowerManager a; + @Nullable + public PowerManager.WakeLock b; + + /* renamed from: c reason: collision with root package name */ + public boolean f857c; + public boolean d; + + public q2(Context context) { + this.a = (PowerManager) context.getApplicationContext().getSystemService("power"); + } + + @SuppressLint({"WakelockTimeout"}) + public final void a() { + PowerManager.WakeLock wakeLock = this.b; + if (wakeLock != null) { + if (!this.f857c || !this.d) { + wakeLock.release(); + } else { + wakeLock.acquire(); + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/r.java b/app/src/main/java/c/i/a/c/r.java index 2553787faa..3d6a1283b7 100644 --- a/app/src/main/java/c/i/a/c/r.java +++ b/app/src/main/java/c/i/a/c/r.java @@ -1,19 +1,17 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class r implements o.a { - public final /* synthetic */ v0 a; - public final /* synthetic */ int b; +public final /* synthetic */ class r implements p.a { + public final /* synthetic */ w1 a; - public /* synthetic */ r(v0 v0Var, int i) { - this.a = v0Var; - this.b = i; + public /* synthetic */ r(w1 w1Var) { + this.a = w1Var; } - @Override // c.i.a.c.i2.o.a + @Override // c.i.a.c.f3.p.a public final void invoke(Object obj) { - ((g1.a) obj).E(this.a, this.b); + ((y1.c) obj).h(this.a.n); } } diff --git a/app/src/main/java/c/i/a/c/r0.java b/app/src/main/java/c/i/a/c/r0.java index c5e74b1809..bc9529c8f3 100644 --- a/app/src/main/java/c/i/a/c/r0.java +++ b/app/src/main/java/c/i/a/c/r0.java @@ -1,21 +1,224 @@ package c.i.a.c; -import android.os.Build; -import java.util.HashSet; -/* compiled from: ExoPlayerLibraryInfo */ -public final class r0 { - public static final HashSet a = new HashSet<>(); - public static String b = "goog.exo.core"; +import android.util.Pair; +import c.i.a.c.a3.k0; +import c.i.a.c.f3.e0; +import c.i.a.c.o2; +import java.util.Objects; +/* compiled from: AbstractConcatenatedTimeline */ +public abstract class r0 extends o2 { + public final int j; + public final k0 k; + public final boolean l; - static { - String str = Build.VERSION.RELEASE; + public r0(boolean z2, k0 k0Var) { + this.l = z2; + this.k = k0Var; + this.j = k0Var.b(); } - public static synchronized void a(String str) { - synchronized (r0.class) { - if (a.add(str)) { - b += ", " + str; + @Override // c.i.a.c.o2 + public int a(boolean z2) { + if (this.j == 0) { + return -1; + } + int i = 0; + if (this.l) { + z2 = false; + } + if (z2) { + i = this.k.c(); + } + do { + c2 c2Var = (c2) this; + if (c2Var.q[i].q()) { + i = r(i, z2); + } else { + return c2Var.q[i].a(z2) + c2Var.p[i]; } + } while (i != -1); + return -1; + } + + @Override // c.i.a.c.o2 + public final int b(Object obj) { + int b; + if (!(obj instanceof Pair)) { + return -1; + } + Pair pair = (Pair) obj; + Object obj2 = pair.first; + Object obj3 = pair.second; + c2 c2Var = (c2) this; + Integer num = c2Var.f726s.get(obj2); + int intValue = num == null ? -1 : num.intValue(); + if (intValue == -1 || (b = c2Var.q[intValue].b(obj3)) == -1) { + return -1; + } + return c2Var.o[intValue] + b; + } + + @Override // c.i.a.c.o2 + public int c(boolean z2) { + int i = this.j; + if (i == 0) { + return -1; + } + if (this.l) { + z2 = false; + } + int g = z2 ? this.k.g() : i - 1; + do { + c2 c2Var = (c2) this; + if (c2Var.q[g].q()) { + g = s(g, z2); + } else { + return c2Var.q[g].c(z2) + c2Var.p[g]; + } + } while (g != -1); + return -1; + } + + @Override // c.i.a.c.o2 + public int e(int i, int i2, boolean z2) { + int i3 = 0; + if (this.l) { + if (i2 == 1) { + i2 = 2; + } + z2 = false; + } + c2 c2Var = (c2) this; + int d = e0.d(c2Var.p, i + 1, false, false); + int i4 = c2Var.p[d]; + o2 o2Var = c2Var.q[d]; + int i5 = i - i4; + if (i2 != 2) { + i3 = i2; + } + int e = o2Var.e(i5, i3, z2); + if (e != -1) { + return i4 + e; + } + int r = r(d, z2); + while (r != -1 && c2Var.q[r].q()) { + r = r(r, z2); + } + if (r != -1) { + return c2Var.q[r].a(z2) + c2Var.p[r]; + } else if (i2 == 2) { + return a(z2); + } else { + return -1; } } + + @Override // c.i.a.c.o2 + public final o2.b g(int i, o2.b bVar, boolean z2) { + c2 c2Var = (c2) this; + int d = e0.d(c2Var.o, i + 1, false, false); + int i2 = c2Var.p[d]; + c2Var.q[d].g(i - c2Var.o[d], bVar, z2); + bVar.k += i2; + if (z2) { + Object obj = c2Var.r[d]; + Object obj2 = bVar.j; + Objects.requireNonNull(obj2); + bVar.j = Pair.create(obj, obj2); + } + return bVar; + } + + @Override // c.i.a.c.o2 + public final o2.b h(Object obj, o2.b bVar) { + Pair pair = (Pair) obj; + Object obj2 = pair.first; + Object obj3 = pair.second; + c2 c2Var = (c2) this; + Integer num = c2Var.f726s.get(obj2); + int intValue = num == null ? -1 : num.intValue(); + int i = c2Var.p[intValue]; + c2Var.q[intValue].h(obj3, bVar); + bVar.k += i; + bVar.j = obj; + return bVar; + } + + @Override // c.i.a.c.o2 + public int l(int i, int i2, boolean z2) { + int i3 = 0; + if (this.l) { + if (i2 == 1) { + i2 = 2; + } + z2 = false; + } + c2 c2Var = (c2) this; + int d = e0.d(c2Var.p, i + 1, false, false); + int i4 = c2Var.p[d]; + o2 o2Var = c2Var.q[d]; + int i5 = i - i4; + if (i2 != 2) { + i3 = i2; + } + int l = o2Var.l(i5, i3, z2); + if (l != -1) { + return i4 + l; + } + int s2 = s(d, z2); + while (s2 != -1 && c2Var.q[s2].q()) { + s2 = s(s2, z2); + } + if (s2 != -1) { + return c2Var.q[s2].c(z2) + c2Var.p[s2]; + } else if (i2 == 2) { + return c(z2); + } else { + return -1; + } + } + + @Override // c.i.a.c.o2 + public final Object m(int i) { + c2 c2Var = (c2) this; + int d = e0.d(c2Var.o, i + 1, false, false); + return Pair.create(c2Var.r[d], c2Var.q[d].m(i - c2Var.o[d])); + } + + @Override // c.i.a.c.o2 + public final o2.c o(int i, o2.c cVar, long j) { + c2 c2Var = (c2) this; + int d = e0.d(c2Var.p, i + 1, false, false); + int i2 = c2Var.p[d]; + int i3 = c2Var.o[d]; + c2Var.q[d].o(i - i2, cVar, j); + Object obj = c2Var.r[d]; + if (!o2.c.i.equals(cVar.m)) { + obj = Pair.create(obj, cVar.m); + } + cVar.m = obj; + cVar.A += i3; + cVar.B += i3; + return cVar; + } + + public final int r(int i, boolean z2) { + if (z2) { + return this.k.e(i); + } + if (i < this.j - 1) { + return i + 1; + } + return -1; + } + + public final int s(int i, boolean z2) { + if (z2) { + return this.k.d(i); + } + if (i > 0) { + return i - 1; + } + return -1; + } } diff --git a/app/src/main/java/c/i/a/c/r1.java b/app/src/main/java/c/i/a/c/r1.java index a837b3c201..adfd333f8b 100644 --- a/app/src/main/java/c/i/a/c/r1.java +++ b/app/src/main/java/c/i/a/c/r1.java @@ -1,405 +1,62 @@ package c.i.a.c; -import android.net.Uri; -import android.util.Pair; import androidx.annotation.Nullable; import c.c.a.a0.d; -import c.i.a.c.d2.j0.a; -import c.i.a.c.i2.f0; -import c.i.a.c.v0; -import java.util.Objects; -/* compiled from: Timeline */ -public abstract class r1 { - public static final r1 a = new a(); +import c.i.a.c.a3.a0; +import c.i.a.c.f3.e0; +/* compiled from: MediaPeriodInfo */ +public final class r1 { + public final a0.a a; + public final long b; - /* compiled from: Timeline */ - public class a extends r1 { - @Override // c.i.a.c.r1 - public int b(Object obj) { - return -1; - } + /* renamed from: c reason: collision with root package name */ + public final long f858c; + public final long d; + public final long e; + public final boolean f; + public final boolean g; + public final boolean h; + public final boolean i; - @Override // c.i.a.c.r1 - public b g(int i, b bVar, boolean z2) { - throw new IndexOutOfBoundsException(); - } - - @Override // c.i.a.c.r1 - public int i() { - return 0; - } - - @Override // c.i.a.c.r1 - public Object m(int i) { - throw new IndexOutOfBoundsException(); - } - - @Override // c.i.a.c.r1 - public c o(int i, c cVar, long j) { - throw new IndexOutOfBoundsException(); - } - - @Override // c.i.a.c.r1 - public int p() { - return 0; + public r1(a0.a aVar, long j, long j2, long j3, long j4, boolean z2, boolean z3, boolean z4, boolean z5) { + boolean z6 = false; + d.j(!z5 || z3); + d.j(!z4 || z3); + if (!z2 || (!z3 && !z4 && !z5)) { + z6 = true; } + d.j(z6); + this.a = aVar; + this.b = j; + this.f858c = j2; + this.d = j3; + this.e = j4; + this.f = z2; + this.g = z3; + this.h = z4; + this.i = z5; } - /* compiled from: Timeline */ - public static final class b { - @Nullable - public Object a; - @Nullable - public Object b; - - /* renamed from: c reason: collision with root package name */ - public int f1017c; - public long d; - public long e; - public c.i.a.c.d2.j0.a f = c.i.a.c.d2.j0.a.a; - - public long a(int i, int i2) { - a.C0091a aVar = this.f.e[i]; - if (aVar.a != -1) { - return aVar.d[i2]; - } - return -9223372036854775807L; - } - - public int b(long j) { - c.i.a.c.d2.j0.a aVar = this.f; - long j2 = this.d; - Objects.requireNonNull(aVar); - if (j == Long.MIN_VALUE) { - return -1; - } - if (j2 != -9223372036854775807L && j >= j2) { - return -1; - } - int i = 0; - while (true) { - long[] jArr = aVar.d; - if (i >= jArr.length || jArr[i] == Long.MIN_VALUE || (j < jArr[i] && aVar.e[i].b())) { - break; - } - i++; - } - if (i < aVar.d.length) { - return i; - } - return -1; - } - - public int c(long j) { - c.i.a.c.d2.j0.a aVar = this.f; - long j2 = this.d; - int length = aVar.d.length - 1; - while (length >= 0) { - boolean z2 = false; - if (j != Long.MIN_VALUE) { - long j3 = aVar.d[length]; - if (j3 != Long.MIN_VALUE ? j < j3 : !(j2 != -9223372036854775807L && j >= j2)) { - z2 = true; - } - } - if (!z2) { - break; - } - length--; - } - if (length < 0 || !aVar.e[length].b()) { - return -1; - } - return length; - } - - public long d(int i) { - return this.f.d[i]; - } - - public int e(int i) { - return this.f.e[i].a(-1); - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || !b.class.equals(obj.getClass())) { - return false; - } - b bVar = (b) obj; - return f0.a(this.a, bVar.a) && f0.a(this.b, bVar.b) && this.f1017c == bVar.f1017c && this.d == bVar.d && this.e == bVar.e && f0.a(this.f, bVar.f); - } - - public int hashCode() { - Object obj = this.a; - int i = 0; - int hashCode = (217 + (obj == null ? 0 : obj.hashCode())) * 31; - Object obj2 = this.b; - if (obj2 != null) { - i = obj2.hashCode(); - } - long j = this.d; - long j2 = this.e; - return this.f.hashCode() + ((((((((hashCode + i) * 31) + this.f1017c) * 31) + ((int) (j ^ (j >>> 32)))) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31); - } + public r1 a(long j) { + return j == this.f858c ? this : new r1(this.a, this.b, j, this.d, this.e, this.f, this.g, this.h, this.i); } - /* compiled from: Timeline */ - public static final class c { - public static final Object a = new Object(); - public static final v0 b; - - /* renamed from: c reason: collision with root package name */ - public Object f1018c = a; - @Nullable - @Deprecated - public Object d; - public v0 e = b; - @Nullable - public Object f; - public long g; - public long h; - public long i; - public boolean j; - public boolean k; - @Deprecated - public boolean l; - @Nullable - public v0.f m; - public boolean n; - public int o; - public int p; - public long q; - - /* renamed from: r reason: collision with root package name */ - public long f1019r; - public long s; - - static { - v0.c cVar = new v0.c(); - cVar.a = "com.google.android.exoplayer2.Timeline"; - cVar.b = Uri.EMPTY; - b = cVar.a(); - } - - public long a() { - return h0.b(this.q); - } - - public long b() { - return h0.b(this.f1019r); - } - - public boolean c() { - d.D(this.l == (this.m != null)); - return this.m != null; - } - - public c d(Object obj, @Nullable v0 v0Var, @Nullable Object obj2, long j, long j2, long j3, boolean z2, boolean z3, @Nullable v0.f fVar, long j4, long j5, int i, int i2, long j6) { - v0.g gVar; - this.f1018c = obj; - this.e = v0Var != null ? v0Var : b; - this.d = (v0Var == null || (gVar = v0Var.b) == null) ? null : gVar.h; - this.f = obj2; - this.g = j; - this.h = j2; - this.i = j3; - this.j = z2; - this.k = z3; - this.l = fVar != null; - this.m = fVar; - this.q = j4; - this.f1019r = j5; - this.o = i; - this.p = i2; - this.s = j6; - this.n = false; - return this; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || !c.class.equals(obj.getClass())) { - return false; - } - c cVar = (c) obj; - return f0.a(this.f1018c, cVar.f1018c) && f0.a(this.e, cVar.e) && f0.a(this.f, cVar.f) && f0.a(this.m, cVar.m) && this.g == cVar.g && this.h == cVar.h && this.i == cVar.i && this.j == cVar.j && this.k == cVar.k && this.n == cVar.n && this.q == cVar.q && this.f1019r == cVar.f1019r && this.o == cVar.o && this.p == cVar.p && this.s == cVar.s; - } - - public int hashCode() { - int hashCode = (this.e.hashCode() + ((this.f1018c.hashCode() + 217) * 31)) * 31; - Object obj = this.f; - int i = 0; - int hashCode2 = (hashCode + (obj == null ? 0 : obj.hashCode())) * 31; - v0.f fVar = this.m; - if (fVar != null) { - i = fVar.hashCode(); - } - long j = this.g; - long j2 = this.h; - long j3 = this.i; - long j4 = this.q; - long j5 = this.f1019r; - long j6 = this.s; - return ((((((((((((((((((((((hashCode2 + i) * 31) + ((int) (j ^ (j >>> 32)))) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31) + ((int) (j3 ^ (j3 >>> 32)))) * 31) + (this.j ? 1 : 0)) * 31) + (this.k ? 1 : 0)) * 31) + (this.n ? 1 : 0)) * 31) + ((int) (j4 ^ (j4 >>> 32)))) * 31) + ((int) (j5 ^ (j5 >>> 32)))) * 31) + this.o) * 31) + this.p) * 31) + ((int) (j6 ^ (j6 >>> 32))); - } - } - - public int a(boolean z2) { - return q() ? -1 : 0; - } - - public abstract int b(Object obj); - - public int c(boolean z2) { - if (q()) { - return -1; - } - return p() - 1; - } - - public final int d(int i, b bVar, c cVar, int i2, boolean z2) { - int i3 = g(i, bVar, false).f1017c; - if (n(i3, cVar).p != i) { - return i + 1; - } - int e = e(i3, i2, z2); - if (e == -1) { - return -1; - } - return n(e, cVar).o; - } - - public int e(int i, int i2, boolean z2) { - if (i2 != 0) { - if (i2 == 1) { - return i; - } - if (i2 == 2) { - return i == c(z2) ? a(z2) : i + 1; - } - throw new IllegalStateException(); - } else if (i == c(z2)) { - return -1; - } else { - return i + 1; - } + public r1 b(long j) { + return j == this.b ? this : new r1(this.a, j, this.f858c, this.d, this.e, this.f, this.g, this.h, this.i); } public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } - if (!(obj instanceof r1)) { + if (obj == null || r1.class != obj.getClass()) { return false; } r1 r1Var = (r1) obj; - if (!(r1Var.p() == p() && r1Var.i() == i())) { - return false; - } - c cVar = new c(); - b bVar = new b(); - c cVar2 = new c(); - b bVar2 = new b(); - for (int i = 0; i < p(); i++) { - if (!n(i, cVar).equals(r1Var.n(i, cVar2))) { - return false; - } - } - for (int i2 = 0; i2 < i(); i2++) { - if (!g(i2, bVar, true).equals(r1Var.g(i2, bVar2, true))) { - return false; - } - } - return true; - } - - public final b f(int i, b bVar) { - return g(i, bVar, false); - } - - public abstract b g(int i, b bVar, boolean z2); - - public b h(Object obj, b bVar) { - return g(b(obj), bVar, true); + return this.b == r1Var.b && this.f858c == r1Var.f858c && this.d == r1Var.d && this.e == r1Var.e && this.f == r1Var.f && this.g == r1Var.g && this.h == r1Var.h && this.i == r1Var.i && e0.a(this.a, r1Var.a); } public int hashCode() { - c cVar = new c(); - b bVar = new b(); - int p = p() + 217; - for (int i = 0; i < p(); i++) { - p = (p * 31) + n(i, cVar).hashCode(); - } - int i2 = i() + (p * 31); - for (int i3 = 0; i3 < i(); i3++) { - i2 = (i2 * 31) + g(i3, bVar, true).hashCode(); - } - return i2; - } - - public abstract int i(); - - public final Pair j(c cVar, b bVar, int i, long j) { - Pair k = k(cVar, bVar, i, j, 0); - Objects.requireNonNull(k); - return k; - } - - @Nullable - public final Pair k(c cVar, b bVar, int i, long j, long j2) { - d.t(i, 0, p()); - o(i, cVar, j2); - if (j == -9223372036854775807L) { - j = cVar.q; - if (j == -9223372036854775807L) { - return null; - } - } - int i2 = cVar.o; - long j3 = cVar.s + j; - long j4 = g(i2, bVar, true).d; - while (j4 != -9223372036854775807L && j3 >= j4 && i2 < cVar.p) { - j3 -= j4; - i2++; - j4 = g(i2, bVar, true).d; - } - Object obj = bVar.b; - Objects.requireNonNull(obj); - return Pair.create(obj, Long.valueOf(j3)); - } - - public int l(int i, int i2, boolean z2) { - if (i2 != 0) { - if (i2 == 1) { - return i; - } - if (i2 == 2) { - return i == a(z2) ? c(z2) : i - 1; - } - throw new IllegalStateException(); - } else if (i == a(z2)) { - return -1; - } else { - return i - 1; - } - } - - public abstract Object m(int i); - - public final c n(int i, c cVar) { - return o(i, cVar, 0); - } - - public abstract c o(int i, c cVar, long j); - - public abstract int p(); - - public final boolean q() { - return p() == 0; + return ((((((((((((((((this.a.hashCode() + 527) * 31) + ((int) this.b)) * 31) + ((int) this.f858c)) * 31) + ((int) this.d)) * 31) + ((int) this.e)) * 31) + (this.f ? 1 : 0)) * 31) + (this.g ? 1 : 0)) * 31) + (this.h ? 1 : 0)) * 31) + (this.i ? 1 : 0); } } diff --git a/app/src/main/java/c/i/a/c/r2.java b/app/src/main/java/c/i/a/c/r2.java new file mode 100644 index 0000000000..1160950a2c --- /dev/null +++ b/app/src/main/java/c/i/a/c/r2.java @@ -0,0 +1,31 @@ +package c.i.a.c; + +import android.content.Context; +import android.net.wifi.WifiManager; +import androidx.annotation.Nullable; +/* compiled from: WifiLockManager */ +public final class r2 { + @Nullable + public final WifiManager a; + @Nullable + public WifiManager.WifiLock b; + + /* renamed from: c reason: collision with root package name */ + public boolean f859c; + public boolean d; + + public r2(Context context) { + this.a = (WifiManager) context.getApplicationContext().getSystemService("wifi"); + } + + public final void a() { + WifiManager.WifiLock wifiLock = this.b; + if (wifiLock != null) { + if (!this.f859c || !this.d) { + wifiLock.release(); + } else { + wifiLock.acquire(); + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/s.java b/app/src/main/java/c/i/a/c/s.java index 0f6c7d30d7..2f64c99b5a 100644 --- a/app/src/main/java/c/i/a/c/s.java +++ b/app/src/main/java/c/i/a/c/s.java @@ -1,17 +1,20 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class s implements o.a { - public final /* synthetic */ c1 a; +public final /* synthetic */ class s implements p.a { + public final /* synthetic */ w1 a; + public final /* synthetic */ int b; - public /* synthetic */ s(c1 c1Var) { - this.a = c1Var; + public /* synthetic */ s(w1 w1Var, int i) { + this.a = w1Var; + this.b = i; } - @Override // c.i.a.c.i2.o.a + @Override // c.i.a.c.f3.p.a public final void invoke(Object obj) { - ((g1.a) obj).d(this.a.m); + w1 w1Var = this.a; + ((y1.c) obj).W(w1Var.m, this.b); } } diff --git a/app/src/main/java/c/i/a/c/s0.java b/app/src/main/java/c/i/a/c/s0.java index 13e54dfd25..b6b8b7a25b 100644 --- a/app/src/main/java/c/i/a/c/s0.java +++ b/app/src/main/java/c/i/a/c/s0.java @@ -1,17 +1,59 @@ package c.i.a.c; -import androidx.annotation.Nullable; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.drm.DrmSession; -/* compiled from: FormatHolder */ +import android.content.BroadcastReceiver; +import android.content.Context; +import android.content.Intent; +import android.content.IntentFilter; +import android.os.Handler; +/* compiled from: AudioBecomingNoisyManager */ public final class s0 { - @Nullable - public DrmSession a; - @Nullable - public Format b; + public final Context a; + public final a b; - public void a() { - this.a = null; - this.b = null; + /* renamed from: c reason: collision with root package name */ + public boolean f860c; + + /* compiled from: AudioBecomingNoisyManager */ + public final class a extends BroadcastReceiver implements Runnable { + public final b i; + public final Handler j; + + public a(Handler handler, b bVar) { + this.j = handler; + this.i = bVar; + } + + @Override // android.content.BroadcastReceiver + public void onReceive(Context context, Intent intent) { + if ("android.media.AUDIO_BECOMING_NOISY".equals(intent.getAction())) { + this.j.post(this); + } + } + + @Override // java.lang.Runnable + public void run() { + if (s0.this.f860c) { + k2.this.m0(false, -1, 3); + } + } + } + + /* compiled from: AudioBecomingNoisyManager */ + public interface b { + } + + public s0(Context context, Handler handler, b bVar) { + this.a = context.getApplicationContext(); + this.b = new a(handler, bVar); + } + + public void a(boolean z2) { + if (z2 && !this.f860c) { + this.a.registerReceiver(this.b, new IntentFilter("android.media.AUDIO_BECOMING_NOISY")); + this.f860c = true; + } else if (!z2 && this.f860c) { + this.a.unregisterReceiver(this.b); + this.f860c = false; + } } } diff --git a/app/src/main/java/c/i/a/c/s1.java b/app/src/main/java/c/i/a/c/s1.java index 0e19566e2b..eb06fb2572 100644 --- a/app/src/main/java/c/i/a/c/s1.java +++ b/app/src/main/java/c/i/a/c/s1.java @@ -1,33 +1,413 @@ package c.i.a.c; -import android.annotation.SuppressLint; -import android.content.Context; -import android.os.PowerManager; +import android.os.Handler; +import android.util.Pair; import androidx.annotation.Nullable; -/* compiled from: WakeLockManager */ +import androidx.recyclerview.widget.RecyclerView; +import c.c.a.a0.d; +import c.i.a.c.a3.a0; +import c.i.a.c.a3.p0.c; +import c.i.a.c.o2; +import c.i.a.c.s2.g1; +import c.i.b.b.a; +import c.i.b.b.p; +/* compiled from: MediaPeriodQueue */ public final class s1 { + public final o2.b a = new o2.b(); + public final o2.c b = new o2.c(); @Nullable - public final PowerManager a; - @Nullable - public PowerManager.WakeLock b; /* renamed from: c reason: collision with root package name */ - public boolean f1020c; - public boolean d; + public final g1 f861c; + public final Handler d; + public long e; + public int f; + public boolean g; + @Nullable + public q1 h; + @Nullable + public q1 i; + @Nullable + public q1 j; + public int k; + @Nullable + public Object l; + public long m; - public s1(Context context) { - this.a = (PowerManager) context.getApplicationContext().getSystemService("power"); + public s1(@Nullable g1 g1Var, Handler handler) { + this.f861c = g1Var; + this.d = handler; } - @SuppressLint({"WakelockTimeout"}) - public final void a() { - PowerManager.WakeLock wakeLock = this.b; - if (wakeLock != null) { - if (!this.f1020c || !this.d) { - wakeLock.release(); + public static a0.a p(o2 o2Var, Object obj, long j, long j2, o2.b bVar) { + o2Var.h(obj, bVar); + c cVar = bVar.o; + long j3 = bVar.l; + int i = cVar.m - 1; + while (i >= 0) { + boolean z2 = false; + if (j != Long.MIN_VALUE) { + long j4 = cVar.a(i).j; + if (j4 != Long.MIN_VALUE ? j < j4 : !(j3 != -9223372036854775807L && j >= j3)) { + z2 = true; + } + } + if (!z2) { + break; + } + i--; + } + if (i < 0 || !cVar.a(i).b()) { + i = -1; + } + return i == -1 ? new a0.a(obj, j2, bVar.b(j)) : new a0.a(obj, i, bVar.d(i), j2); + } + + @Nullable + public q1 a() { + q1 q1Var = this.h; + if (q1Var == null) { + return null; + } + if (q1Var == this.i) { + this.i = q1Var.l; + } + q1Var.h(); + int i = this.k - 1; + this.k = i; + if (i == 0) { + this.j = null; + q1 q1Var2 = this.h; + this.l = q1Var2.b; + this.m = q1Var2.f.a.d; + } + this.h = this.h.l; + l(); + return this.h; + } + + public void b() { + if (this.k != 0) { + q1 q1Var = this.h; + d.H(q1Var); + q1 q1Var2 = q1Var; + this.l = q1Var2.b; + this.m = q1Var2.f.a.d; + while (q1Var2 != null) { + q1Var2.h(); + q1Var2 = q1Var2.l; + } + this.h = null; + this.j = null; + this.i = null; + this.k = 0; + l(); + } + } + + @Nullable + public final r1 c(o2 o2Var, q1 q1Var, long j) { + long j2; + r1 r1Var = q1Var.f; + long j3 = (q1Var.o + r1Var.e) - j; + long j4 = 0; + if (r1Var.g) { + int d = o2Var.d(o2Var.b(r1Var.a.a), this.a, this.b, this.f, this.g); + if (d == -1) { + return null; + } + int i = o2Var.g(d, this.a, true).k; + Object obj = this.a.j; + long j5 = r1Var.a.d; + if (o2Var.n(i, this.b).A == d) { + Pair k = o2Var.k(this.b, this.a, i, -9223372036854775807L, Math.max(0L, j3)); + if (k == null) { + return null; + } + obj = k.first; + long longValue = ((Long) k.second).longValue(); + q1 q1Var2 = q1Var.l; + if (q1Var2 == null || !q1Var2.b.equals(obj)) { + j5 = this.e; + this.e = 1 + j5; + } else { + j5 = q1Var2.f.a.d; + } + j2 = longValue; + j4 = -9223372036854775807L; } else { - wakeLock.acquire(); + j2 = 0; + } + return d(o2Var, p(o2Var, obj, j2, j5, this.a), j4, j2); + } + a0.a aVar = r1Var.a; + o2Var.h(aVar.a, this.a); + if (aVar.a()) { + int i2 = aVar.b; + int i3 = this.a.o.a(i2).k; + if (i3 == -1) { + return null; + } + int a = this.a.o.a(i2).a(aVar.f672c); + if (a < i3) { + return e(o2Var, aVar.a, i2, a, r1Var.f858c, aVar.d); + } + long j6 = r1Var.f858c; + if (j6 == -9223372036854775807L) { + o2.c cVar = this.b; + o2.b bVar = this.a; + Pair k2 = o2Var.k(cVar, bVar, bVar.k, -9223372036854775807L, Math.max(0L, j3)); + if (k2 == null) { + return null; + } + j6 = ((Long) k2.second).longValue(); + } + return f(o2Var, aVar.a, Math.max(g(o2Var, aVar.a, aVar.b), j6), r1Var.f858c, aVar.d); + } + int d2 = this.a.d(aVar.e); + if (d2 != this.a.o.a(aVar.e).k) { + return e(o2Var, aVar.a, aVar.e, d2, r1Var.e, aVar.d); + } + return f(o2Var, aVar.a, g(o2Var, aVar.a, aVar.e), r1Var.e, aVar.d); + } + + @Nullable + public final r1 d(o2 o2Var, a0.a aVar, long j, long j2) { + o2Var.h(aVar.a, this.a); + return aVar.a() ? e(o2Var, aVar.a, aVar.b, aVar.f672c, j, aVar.d) : f(o2Var, aVar.a, j2, j, aVar.d); + } + + public final r1 e(o2 o2Var, Object obj, int i, int i2, long j, long j2) { + a0.a aVar = new a0.a(obj, i, i2, j2); + long a = o2Var.h(obj, this.a).a(i, i2); + long j3 = i2 == this.a.o.a(i).a(-1) ? this.a.o.n : 0; + return new r1(aVar, (a == -9223372036854775807L || j3 < a) ? j3 : Math.max(0L, a - 1), j, -9223372036854775807L, a, this.a.o.a(i).p, false, false, false); + } + + public final r1 f(o2 o2Var, Object obj, long j, long j2, long j3) { + long j4 = j; + o2Var.h(obj, this.a); + int b = this.a.b(j4); + a0.a aVar = new a0.a(obj, j3, b); + boolean i = i(aVar); + boolean k = k(o2Var, aVar); + boolean j5 = j(o2Var, aVar, i); + boolean z2 = b != -1 && this.a.e(b); + long c2 = b != -1 ? this.a.c(b) : -9223372036854775807L; + long j6 = (c2 == -9223372036854775807L || c2 == Long.MIN_VALUE) ? this.a.l : c2; + if (j6 != -9223372036854775807L && j4 >= j6) { + j4 = Math.max(0L, j6 - 1); + } + return new r1(aVar, j4, j2, c2, j6, z2, i, k, j5); + } + + public final long g(o2 o2Var, Object obj, int i) { + o2Var.h(obj, this.a); + long j = this.a.o.a(i).j; + return j == Long.MIN_VALUE ? this.a.l : j + this.a.o.a(i).o; + } + + /* JADX WARNING: Removed duplicated region for block: B:18:0x0060 */ + /* JADX WARNING: Removed duplicated region for block: B:19:0x006a */ + public r1 h(o2 o2Var, r1 r1Var) { + long j; + boolean z2; + long j2; + int i; + a0.a aVar = r1Var.a; + boolean i2 = i(aVar); + boolean k = k(o2Var, aVar); + boolean j3 = j(o2Var, aVar, i2); + o2Var.h(r1Var.a.a, this.a); + long c2 = (aVar.a() || (i = aVar.e) == -1) ? -9223372036854775807L : this.a.c(i); + if (aVar.a()) { + j2 = this.a.a(aVar.b, aVar.f672c); + } else if (c2 == -9223372036854775807L || c2 == Long.MIN_VALUE) { + j2 = this.a.l; + } else { + j = c2; + if (!aVar.a()) { + z2 = this.a.e(aVar.b); + } else { + int i3 = aVar.e; + z2 = i3 != -1 && this.a.e(i3); + } + return new r1(aVar, r1Var.b, r1Var.f858c, c2, j, z2, i2, k, j3); + } + j = j2; + if (!aVar.a()) { + } + return new r1(aVar, r1Var.b, r1Var.f858c, c2, j, z2, i2, k, j3); + } + + public final boolean i(a0.a aVar) { + return !aVar.a() && aVar.e == -1; + } + + public final boolean j(o2 o2Var, a0.a aVar, boolean z2) { + int b = o2Var.b(aVar.a); + if (o2Var.n(o2Var.f(b, this.a).k, this.b).u) { + return false; + } + return (o2Var.d(b, this.a, this.b, this.f, this.g) == -1) && z2; + } + + public final boolean k(o2 o2Var, a0.a aVar) { + if (!i(aVar)) { + return false; + } + return o2Var.n(o2Var.h(aVar.a, this.a).k, this.b).B == o2Var.b(aVar.a); + } + + public final void l() { + if (this.f861c != null) { + a aVar = p.j; + p.a aVar2 = new p.a(); + for (q1 q1Var = this.h; q1Var != null; q1Var = q1Var.l) { + aVar2.b(q1Var.f.a); + } + q1 q1Var2 = this.i; + this.d.post(new m0(this, aVar2, q1Var2 == null ? null : q1Var2.f.a)); + } + } + + public void m(long j) { + q1 q1Var = this.j; + if (q1Var != null) { + d.D(q1Var.g()); + if (q1Var.d) { + q1Var.a.s(j - q1Var.o); } } } + + public boolean n(q1 q1Var) { + boolean z2 = false; + d.D(q1Var != null); + if (q1Var.equals(this.j)) { + return false; + } + this.j = q1Var; + while (true) { + q1Var = q1Var.l; + if (q1Var == null) { + break; + } + if (q1Var == this.i) { + this.i = this.h; + z2 = true; + } + q1Var.h(); + this.k--; + } + q1 q1Var2 = this.j; + if (q1Var2.l != null) { + q1Var2.b(); + q1Var2.l = null; + q1Var2.c(); + } + l(); + return z2; + } + + public a0.a o(o2 o2Var, Object obj, long j) { + long j2; + int b; + int i = o2Var.h(obj, this.a).k; + Object obj2 = this.l; + if (obj2 == null || (b = o2Var.b(obj2)) == -1 || o2Var.f(b, this.a).k != i) { + q1 q1Var = this.h; + while (true) { + if (q1Var == null) { + q1 q1Var2 = this.h; + while (true) { + if (q1Var2 != null) { + int b2 = o2Var.b(q1Var2.b); + if (b2 != -1 && o2Var.f(b2, this.a).k == i) { + j2 = q1Var2.f.a.d; + break; + } + q1Var2 = q1Var2.l; + } else { + j2 = this.e; + this.e = 1 + j2; + if (this.h == null) { + this.l = obj; + this.m = j2; + } + } + } + } else if (q1Var.b.equals(obj)) { + j2 = q1Var.f.a.d; + break; + } else { + q1Var = q1Var.l; + } + } + } else { + j2 = this.m; + } + return p(o2Var, obj, j, j2, this.a); + } + + public final boolean q(o2 o2Var) { + q1 q1Var; + q1 q1Var2 = this.h; + if (q1Var2 == null) { + return true; + } + int b = o2Var.b(q1Var2.b); + while (true) { + b = o2Var.d(b, this.a, this.b, this.f, this.g); + while (true) { + q1Var = q1Var2.l; + if (q1Var == null || q1Var2.f.g) { + break; + } + q1Var2 = q1Var; + } + if (b == -1 || q1Var == null || o2Var.b(q1Var.b) != b) { + break; + } + q1Var2 = q1Var; + } + boolean n = n(q1Var2); + q1Var2.f = h(o2Var, q1Var2.f); + return !n; + } + + public boolean r(o2 o2Var, long j, long j2) { + r1 r1Var; + boolean n; + q1 q1Var = this.h; + q1 q1Var2 = null; + while (q1Var != null) { + r1 r1Var2 = q1Var.f; + if (q1Var2 == null) { + r1Var = h(o2Var, r1Var2); + } else { + r1 c2 = c(o2Var, q1Var2, j); + if (c2 == null) { + n = n(q1Var2); + } else { + if (!(r1Var2.b == c2.b && r1Var2.a.equals(c2.a))) { + n = n(q1Var2); + } else { + r1Var = c2; + } + } + return !n; + } + q1Var.f = r1Var.a(r1Var2.f858c); + long j3 = r1Var2.e; + if (!(j3 == -9223372036854775807L || j3 == r1Var.e)) { + q1Var.j(); + long j4 = r1Var.e; + return !n(q1Var) && !(q1Var == this.i && !q1Var.f.f && ((j2 > Long.MIN_VALUE ? 1 : (j2 == Long.MIN_VALUE ? 0 : -1)) == 0 || (j2 > ((j4 > -9223372036854775807L ? 1 : (j4 == -9223372036854775807L ? 0 : -1)) == 0 ? RecyclerView.FOREVER_NS : j4 + q1Var.o) ? 1 : (j2 == ((j4 > -9223372036854775807L ? 1 : (j4 == -9223372036854775807L ? 0 : -1)) == 0 ? RecyclerView.FOREVER_NS : j4 + q1Var.o) ? 0 : -1)) >= 0)); + } + q1Var2 = q1Var; + q1Var = q1Var.l; + } + return true; + } } diff --git a/app/src/main/java/c/i/a/c/s2/a.java b/app/src/main/java/c/i/a/c/s2/a.java new file mode 100644 index 0000000000..79be84372a --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/a.java @@ -0,0 +1,20 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +import com.google.android.exoplayer2.PlaybackException; +/* compiled from: lambda */ +public final /* synthetic */ class a implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ PlaybackException b; + + public /* synthetic */ a(h1.a aVar, PlaybackException playbackException) { + this.a = aVar; + this.b = playbackException; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).J(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/a0.java b/app/src/main/java/c/i/a/c/s2/a0.java new file mode 100644 index 0000000000..0777c9c2f6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/a0.java @@ -0,0 +1,20 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +import c.i.a.c.y1; +/* compiled from: lambda */ +public final /* synthetic */ class a0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ y1.b b; + + public /* synthetic */ a0(h1.a aVar, y1.b bVar) { + this.a = aVar; + this.b = bVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).P(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/a1.java b/app/src/main/java/c/i/a/c/s2/a1.java new file mode 100644 index 0000000000..29fd208779 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/a1.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class a1 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ int b; + + public /* synthetic */ a1(h1.a aVar, int i) { + this.a = aVar; + this.b = i; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).c0(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/b.java b/app/src/main/java/c/i/a/c/s2/b.java new file mode 100644 index 0000000000..c893edda80 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/b.java @@ -0,0 +1,17 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class b implements p.a { + public final /* synthetic */ h1.a a; + + public /* synthetic */ b(h1.a aVar) { + this.a = aVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).g0(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/b0.java b/app/src/main/java/c/i/a/c/s2/b0.java new file mode 100644 index 0000000000..240edaac01 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/b0.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class b0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ int b; + + public /* synthetic */ b0(h1.a aVar, int i) { + this.a = aVar; + this.b = i; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).b(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/b1.java b/app/src/main/java/c/i/a/c/s2/b1.java new file mode 100644 index 0000000000..e6d16798c6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/b1.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class b1 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ int b; + + public /* synthetic */ b1(h1.a aVar, int i) { + this.a = aVar; + this.b = i; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).e0(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/c.java b/app/src/main/java/c/i/a/c/s2/c.java new file mode 100644 index 0000000000..f3f1001c4c --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/c.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class c implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ Exception b; + + public /* synthetic */ c(h1.a aVar, Exception exc) { + this.a = aVar; + this.b = exc; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).n(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/c0.java b/app/src/main/java/c/i/a/c/s2/c0.java new file mode 100644 index 0000000000..d2b3342834 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/c0.java @@ -0,0 +1,25 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class c0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ int b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ long f862c; + public final /* synthetic */ long d; + + public /* synthetic */ c0(h1.a aVar, int i, long j, long j2) { + this.a = aVar; + this.b = i; + this.f862c = j; + this.d = j2; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).C(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/c1.java b/app/src/main/java/c/i/a/c/s2/c1.java new file mode 100644 index 0000000000..d3b727fb81 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/c1.java @@ -0,0 +1,23 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class c1 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ long b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ int f863c; + + public /* synthetic */ c1(h1.a aVar, long j, int i) { + this.a = aVar; + this.b = j; + this.f863c = i; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).a0(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/d.java b/app/src/main/java/c/i/a/c/s2/d.java new file mode 100644 index 0000000000..ff9aa507ec --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/d.java @@ -0,0 +1,28 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class d implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ String b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ long f864c; + public final /* synthetic */ long d; + + public /* synthetic */ d(h1.a aVar, String str, long j, long j2) { + this.a = aVar; + this.b = str; + this.f864c = j; + this.d = j2; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + h1 h1Var = (h1) obj; + h1Var.i0(); + h1Var.M(); + h1Var.T(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/d0.java b/app/src/main/java/c/i/a/c/s2/d0.java new file mode 100644 index 0000000000..bef49e8c78 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/d0.java @@ -0,0 +1,22 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +import c.i.a.c.v2.e; +/* compiled from: lambda */ +public final /* synthetic */ class d0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ e b; + + public /* synthetic */ d0(h1.a aVar, e eVar) { + this.a = aVar; + this.b = eVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + h1 h1Var = (h1) obj; + h1Var.Z(); + h1Var.F(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/d1.java b/app/src/main/java/c/i/a/c/s2/d1.java new file mode 100644 index 0000000000..fc7114c9e7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/d1.java @@ -0,0 +1,23 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class d1 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ boolean b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ int f865c; + + public /* synthetic */ d1(h1.a aVar, boolean z2, int i) { + this.a = aVar; + this.b = z2; + this.f865c = i; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).e(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/e.java b/app/src/main/java/c/i/a/c/s2/e.java new file mode 100644 index 0000000000..bf169c975d --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/e.java @@ -0,0 +1,21 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class e implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ boolean b; + + public /* synthetic */ e(h1.a aVar, boolean z2) { + this.a = aVar; + this.b = z2; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + h1 h1Var = (h1) obj; + h1Var.L(); + h1Var.Q(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/e0.java b/app/src/main/java/c/i/a/c/s2/e0.java new file mode 100644 index 0000000000..4cd1f742f2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/e0.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class e0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ Exception b; + + public /* synthetic */ e0(h1.a aVar, Exception exc) { + this.a = aVar; + this.b = exc; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).w(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/e1.java b/app/src/main/java/c/i/a/c/s2/e1.java new file mode 100644 index 0000000000..4245928364 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/e1.java @@ -0,0 +1,17 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class e1 implements p.a { + public final /* synthetic */ h1.a a; + + public /* synthetic */ e1(h1.a aVar) { + this.a = aVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).A(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/f.java b/app/src/main/java/c/i/a/c/s2/f.java new file mode 100644 index 0000000000..1247d4e018 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/f.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class f implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ String b; + + public /* synthetic */ f(h1.a aVar, String str) { + this.a = aVar; + this.b = str; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).N(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/f0.java b/app/src/main/java/c/i/a/c/s2/f0.java new file mode 100644 index 0000000000..00d2b71692 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/f0.java @@ -0,0 +1,30 @@ +package c.i.a.c.s2; + +import c.i.a.c.a3.t; +import c.i.a.c.a3.w; +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +import java.io.IOException; +/* compiled from: lambda */ +public final /* synthetic */ class f0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ t b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ w f866c; + public final /* synthetic */ IOException d; + public final /* synthetic */ boolean e; + + public /* synthetic */ f0(h1.a aVar, t tVar, w wVar, IOException iOException, boolean z2) { + this.a = aVar; + this.b = tVar; + this.f866c = wVar; + this.d = iOException; + this.e = z2; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).u(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/f1.java b/app/src/main/java/c/i/a/c/s2/f1.java new file mode 100644 index 0000000000..94ba94b7a2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/f1.java @@ -0,0 +1,23 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class f1 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ Object b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ long f867c; + + public /* synthetic */ f1(h1.a aVar, Object obj, long j) { + this.a = aVar; + this.b = obj; + this.f867c = j; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).c(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/g.java b/app/src/main/java/c/i/a/c/s2/g.java new file mode 100644 index 0000000000..827e18f321 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/g.java @@ -0,0 +1,20 @@ +package c.i.a.c.s2; + +import c.i.a.c.a3.w; +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class g implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ w b; + + public /* synthetic */ g(h1.a aVar, w wVar) { + this.a = aVar; + this.b = wVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).H(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/g0.java b/app/src/main/java/c/i/a/c/s2/g0.java new file mode 100644 index 0000000000..7e98952a31 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/g0.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class g0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ boolean b; + + public /* synthetic */ g0(h1.a aVar, boolean z2) { + this.a = aVar; + this.b = z2; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).o(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/g1.java b/app/src/main/java/c/i/a/c/s2/g1.java new file mode 100644 index 0000000000..4504f5985c --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/g1.java @@ -0,0 +1,801 @@ +package c.i.a.c.s2; + +import android.util.SparseArray; +import androidx.annotation.Nullable; +import androidx.core.view.InputDeviceCompat; +import androidx.core.view.PointerIconCompat; +import androidx.media.AudioAttributesCompat; +import c.i.a.c.a2; +import c.i.a.c.a3.a0; +import c.i.a.c.a3.b0; +import c.i.a.c.a3.o0; +import c.i.a.c.a3.t; +import c.i.a.c.c1; +import c.i.a.c.c3.n; +import c.i.a.c.e3.f; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.g; +import c.i.a.c.f3.o; +import c.i.a.c.f3.p; +import c.i.a.c.g3.w; +import c.i.a.c.g3.x; +import c.i.a.c.g3.y; +import c.i.a.c.j1; +import c.i.a.c.o1; +import c.i.a.c.o2; +import c.i.a.c.p1; +import c.i.a.c.p2; +import c.i.a.c.s2.h1; +import c.i.a.c.t2.r; +import c.i.a.c.v2.e; +import c.i.a.c.w2.s; +import c.i.a.c.x1; +import c.i.a.c.y1; +import c.i.a.c.z1; +import c.i.b.b.h0; +import c.i.b.b.i0; +import c.i.b.b.q; +import com.google.android.exoplayer2.ExoPlaybackException; +import com.google.android.exoplayer2.PlaybackException; +import com.google.android.exoplayer2.metadata.Metadata; +import java.io.IOException; +import java.util.List; +import java.util.Objects; +import java.util.concurrent.CopyOnWriteArraySet; +import org.checkerframework.checker.nullness.qual.RequiresNonNull; +/* compiled from: AnalyticsCollector */ +public class g1 implements y1.e, r, x, b0, f.a, s { + public final g i; + public final o2.b j; + public final o2.c k = new o2.c(); + public final a l; + public final SparseArray m; + public p

n; + public y1 o; + public o p; + public boolean q; + + /* compiled from: AnalyticsCollector */ + public static final class a { + public final o2.b a; + public c.i.b.b.p b = h0.k; + + /* renamed from: c reason: collision with root package name */ + public q f868c = i0.l; + @Nullable + public a0.a d; + public a0.a e; + public a0.a f; + + /* JADX DEBUG: Type inference failed for r1v2. Raw type applied. Possible types: c.i.b.b.p, c.i.b.b.p */ + /* JADX DEBUG: Type inference failed for r1v3. Raw type applied. Possible types: c.i.b.b.q, c.i.b.b.q */ + public a(o2.b bVar) { + this.a = bVar; + c.i.b.b.a aVar = c.i.b.b.p.j; + } + + @Nullable + public static a0.a b(y1 y1Var, c.i.b.b.p pVar, @Nullable a0.a aVar, o2.b bVar) { + o2 K = y1Var.K(); + int m = y1Var.m(); + Object m2 = K.q() ? null : K.m(m); + int b = (y1Var.f() || K.q()) ? -1 : K.f(m, bVar).b(e0.B(y1Var.T()) - bVar.m); + for (int i = 0; i < pVar.size(); i++) { + a0.a aVar2 = pVar.get(i); + if (c(aVar2, m2, y1Var.f(), y1Var.B(), y1Var.q(), b)) { + return aVar2; + } + } + if (!pVar.isEmpty() || aVar == null || !c(aVar, m2, y1Var.f(), y1Var.B(), y1Var.q(), b)) { + return null; + } + return aVar; + } + + public static boolean c(a0.a aVar, @Nullable Object obj, boolean z2, int i, int i2, int i3) { + if (!aVar.a.equals(obj)) { + return false; + } + return (z2 && aVar.b == i && aVar.f672c == i2) || (!z2 && aVar.b == -1 && aVar.e == i3); + } + + public final void a(q.a aVar, @Nullable a0.a aVar2, o2 o2Var) { + if (aVar2 != null) { + if (o2Var.b(aVar2.a) != -1) { + aVar.c(aVar2, o2Var); + return; + } + o2 o2Var2 = this.f868c.get(aVar2); + if (o2Var2 != null) { + aVar.c(aVar2, o2Var2); + } + } + } + + public final void d(o2 o2Var) { + q.a aVar = new q.a<>(4); + if (this.b.isEmpty()) { + a(aVar, this.e, o2Var); + if (!c.i.a.f.e.o.f.N(this.f, this.e)) { + a(aVar, this.f, o2Var); + } + if (!c.i.a.f.e.o.f.N(this.d, this.e) && !c.i.a.f.e.o.f.N(this.d, this.f)) { + a(aVar, this.d, o2Var); + } + } else { + for (int i = 0; i < this.b.size(); i++) { + a(aVar, this.b.get(i), o2Var); + } + if (!this.b.contains(this.d)) { + a(aVar, this.d, o2Var); + } + } + this.f868c = aVar.a(); + } + } + + public g1(g gVar) { + this.i = gVar; + this.n = new p<>(new CopyOnWriteArraySet(), e0.o(), gVar, o0.a); + o2.b bVar = new o2.b(); + this.j = bVar; + this.l = new a(bVar); + this.m = new SparseArray<>(); + } + + @Override // c.i.a.c.y1.c + public void A(p1 p1Var) { + h1.a k0 = k0(); + r0 r0Var = new r0(k0, p1Var); + this.m.put(14, k0); + p

pVar = this.n; + pVar.b(14, r0Var); + pVar.a(); + } + + @Override // c.i.a.c.t2.r + public final void B(String str) { + h1.a p0 = p0(); + t tVar = new t(p0, str); + this.m.put(PointerIconCompat.TYPE_ALL_SCROLL, p0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_ALL_SCROLL, tVar); + pVar.a(); + } + + @Override // c.i.a.c.t2.r + public final void C(String str, long j, long j2) { + h1.a p0 = p0(); + l0 l0Var = new l0(p0, str, j2, j); + this.m.put(PointerIconCompat.TYPE_VERTICAL_TEXT, p0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_VERTICAL_TEXT, l0Var); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public final void D(boolean z2) { + h1.a k0 = k0(); + g0 g0Var = new g0(k0, z2); + this.m.put(9, k0); + p

pVar = this.n; + pVar.b(9, g0Var); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void E(y1 y1Var, y1.d dVar) { + a2.e(this, y1Var, dVar); + } + + @Override // c.i.a.c.g3.x + public final void F(int i, long j) { + h1.a o0 = o0(); + z zVar = new z(o0, i, j); + this.m.put(AudioAttributesCompat.FLAG_ALL, o0); + p

pVar = this.n; + pVar.b(AudioAttributesCompat.FLAG_ALL, zVar); + pVar.a(); + } + + @Override // c.i.a.c.y1.e + public /* synthetic */ void G(int i, boolean z2) { + a2.d(this, i, z2); + } + + @Override // c.i.a.c.y1.c + public final void H(boolean z2, int i) { + h1.a k0 = k0(); + j0 j0Var = new j0(k0, z2, i); + this.m.put(-1, k0); + p

pVar = this.n; + pVar.b(-1, j0Var); + pVar.a(); + } + + @Override // c.i.a.c.t2.r + public final void I(j1 j1Var, @Nullable c.i.a.c.v2.g gVar) { + h1.a p0 = p0(); + i0 i0Var = new i0(p0, j1Var, gVar); + this.m.put(PointerIconCompat.TYPE_ALIAS, p0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_ALIAS, i0Var); + pVar.a(); + } + + @Override // c.i.a.c.w2.s + public final void J(int i, @Nullable a0.a aVar) { + h1.a n0 = n0(i, aVar); + t0 t0Var = new t0(n0); + this.m.put(1034, n0); + p

pVar = this.n; + pVar.b(1034, t0Var); + pVar.a(); + } + + @Override // c.i.a.c.g3.x + public final void K(Object obj, long j) { + h1.a p0 = p0(); + f1 f1Var = new f1(p0, obj, j); + this.m.put(1027, p0); + p

pVar = this.n; + pVar.b(1027, f1Var); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public final void L(int i) { + h1.a k0 = k0(); + b0 b0Var = new b0(k0, i); + this.m.put(8, k0); + p

pVar = this.n; + pVar.b(8, b0Var); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public final void M(@Nullable o1 o1Var, int i) { + h1.a k0 = k0(); + q qVar = new q(k0, o1Var, i); + this.m.put(1, k0); + p

pVar = this.n; + pVar.b(1, qVar); + pVar.a(); + } + + @Override // c.i.a.c.t2.r + public final void N(Exception exc) { + h1.a p0 = p0(); + e0 e0Var = new e0(p0, exc); + this.m.put(PointerIconCompat.TYPE_ZOOM_IN, p0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_ZOOM_IN, e0Var); + pVar.a(); + } + + @Override // c.i.a.c.g3.x + public /* synthetic */ void O(j1 j1Var) { + w.a(this, j1Var); + } + + @Override // c.i.a.c.g3.x + public final void P(e eVar) { + h1.a p0 = p0(); + d0 d0Var = new d0(p0, eVar); + this.m.put(PointerIconCompat.TYPE_GRAB, p0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_GRAB, d0Var); + pVar.a(); + } + + @Override // c.i.a.c.g3.x + public final void Q(j1 j1Var, @Nullable c.i.a.c.v2.g gVar) { + h1.a p0 = p0(); + y0 y0Var = new y0(p0, j1Var, gVar); + this.m.put(1022, p0); + p

pVar = this.n; + pVar.b(1022, y0Var); + pVar.a(); + } + + @Override // c.i.a.c.t2.r + public final void R(long j) { + h1.a p0 = p0(); + n0 n0Var = new n0(p0, j); + this.m.put(PointerIconCompat.TYPE_COPY, p0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_COPY, n0Var); + pVar.a(); + } + + @Override // c.i.a.c.w2.s + public final void S(int i, @Nullable a0.a aVar) { + h1.a n0 = n0(i, aVar); + e1 e1Var = new e1(n0); + this.m.put(1031, n0); + p

pVar = this.n; + pVar.b(1031, e1Var); + pVar.a(); + } + + @Override // c.i.a.c.t2.r + public final void T(Exception exc) { + h1.a p0 = p0(); + k kVar = new k(p0, exc); + this.m.put(1037, p0); + p

pVar = this.n; + pVar.b(1037, kVar); + pVar.a(); + } + + @Override // c.i.a.c.t2.r + public /* synthetic */ void U(j1 j1Var) { + c.i.a.c.t2.q.a(this, j1Var); + } + + @Override // c.i.a.c.g3.x + public final void V(Exception exc) { + h1.a p0 = p0(); + q0 q0Var = new q0(p0, exc); + this.m.put(1038, p0); + p

pVar = this.n; + pVar.b(1038, q0Var); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public final void W(boolean z2, int i) { + h1.a k0 = k0(); + d1 d1Var = new d1(k0, z2, i); + this.m.put(5, k0); + p

pVar = this.n; + pVar.b(5, d1Var); + pVar.a(); + } + + @Override // c.i.a.c.a3.b0 + public final void X(int i, @Nullable a0.a aVar, t tVar, c.i.a.c.a3.w wVar) { + h1.a n0 = n0(i, aVar); + y yVar = new y(n0, tVar, wVar); + this.m.put(PointerIconCompat.TYPE_CONTEXT_MENU, n0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_CONTEXT_MENU, yVar); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public final void Y(o0 o0Var, n nVar) { + h1.a k0 = k0(); + i iVar = new i(k0, o0Var, nVar); + this.m.put(2, k0); + p

pVar = this.n; + pVar.b(2, iVar); + pVar.a(); + } + + @Override // c.i.a.c.g3.x + public final void Z(e eVar) { + h1.a o0 = o0(); + j jVar = new j(o0, eVar); + this.m.put(InputDeviceCompat.SOURCE_GAMEPAD, o0); + p

pVar = this.n; + pVar.b(InputDeviceCompat.SOURCE_GAMEPAD, jVar); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public final void a() { + h1.a k0 = k0(); + u uVar = new u(k0); + this.m.put(-1, k0); + p

pVar = this.n; + pVar.b(-1, uVar); + pVar.a(); + } + + @Override // c.i.a.c.y1.e + public void a0(int i, int i2) { + h1.a p0 = p0(); + n nVar = new n(p0, i, i2); + this.m.put(1029, p0); + p

pVar = this.n; + pVar.b(1029, nVar); + pVar.a(); + } + + @Override // c.i.a.c.y1.e + public final void b(Metadata metadata) { + h1.a k0 = k0(); + v vVar = new v(k0, metadata); + this.m.put(PointerIconCompat.TYPE_CROSSHAIR, k0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_CROSSHAIR, vVar); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public final void b0(x1 x1Var) { + h1.a k0 = k0(); + m mVar = new m(k0, x1Var); + this.m.put(12, k0); + p

pVar = this.n; + pVar.b(12, mVar); + pVar.a(); + } + + @Override // c.i.a.c.y1.e + public /* synthetic */ void c() { + a2.r(this); + } + + @Override // c.i.a.c.w2.s + public final void c0(int i, @Nullable a0.a aVar, int i2) { + h1.a n0 = n0(i, aVar); + p0 p0Var = new p0(n0, i2); + this.m.put(1030, n0); + p

pVar = this.n; + pVar.b(1030, p0Var); + pVar.a(); + } + + @Override // c.i.a.c.y1.e + public final void d(boolean z2) { + h1.a p0 = p0(); + u0 u0Var = new u0(p0, z2); + this.m.put(PointerIconCompat.TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW, p0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW, u0Var); + pVar.a(); + } + + @Override // c.i.a.c.w2.s + public final void d0(int i, @Nullable a0.a aVar) { + h1.a n0 = n0(i, aVar); + b bVar = new b(n0); + this.m.put(1035, n0); + p

pVar = this.n; + pVar.b(1035, bVar); + pVar.a(); + } + + @Override // c.i.a.c.y1.e + public /* synthetic */ void e(List list) { + a2.b(this, list); + } + + @Override // c.i.a.c.t2.r + public final void e0(int i, long j, long j2) { + h1.a p0 = p0(); + c0 c0Var = new c0(p0, i, j, j2); + this.m.put(PointerIconCompat.TYPE_NO_DROP, p0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_NO_DROP, c0Var); + pVar.a(); + } + + @Override // c.i.a.c.y1.e + public final void f(y yVar) { + h1.a p0 = p0(); + m0 m0Var = new m0(p0, yVar); + this.m.put(1028, p0); + p

pVar = this.n; + pVar.b(1028, m0Var); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void f0(PlaybackException playbackException) { + a2.p(this, playbackException); + } + + @Override // c.i.a.c.y1.c + public final void g(y1.f fVar, y1.f fVar2, int i) { + if (i == 1) { + this.q = false; + } + a aVar = this.l; + y1 y1Var = this.o; + Objects.requireNonNull(y1Var); + aVar.d = a.b(y1Var, aVar.b, aVar.e, aVar.a); + h1.a k0 = k0(); + r rVar = new r(k0, i, fVar, fVar2); + this.m.put(11, k0); + p

pVar = this.n; + pVar.b(11, rVar); + pVar.a(); + } + + @Override // c.i.a.c.a3.b0 + public final void g0(int i, @Nullable a0.a aVar, t tVar, c.i.a.c.a3.w wVar, IOException iOException, boolean z2) { + h1.a n0 = n0(i, aVar); + f0 f0Var = new f0(n0, tVar, wVar, iOException, z2); + this.m.put(PointerIconCompat.TYPE_HELP, n0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_HELP, f0Var); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public final void h(int i) { + h1.a k0 = k0(); + b1 b1Var = new b1(k0, i); + this.m.put(6, k0); + p

pVar = this.n; + pVar.b(6, b1Var); + pVar.a(); + } + + @Override // c.i.a.c.g3.x + public final void h0(long j, int i) { + h1.a o0 = o0(); + c1 c1Var = new c1(o0, j, i); + this.m.put(1026, o0); + p

pVar = this.n; + pVar.b(1026, c1Var); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void i(boolean z2) { + z1.d(this, z2); + } + + @Override // c.i.a.c.w2.s + public final void i0(int i, @Nullable a0.a aVar) { + h1.a n0 = n0(i, aVar); + v0 v0Var = new v0(n0); + this.m.put(1033, n0); + p

pVar = this.n; + pVar.b(1033, v0Var); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public /* synthetic */ void j(int i) { + z1.l(this, i); + } + + @Override // c.i.a.c.y1.c + public void j0(boolean z2) { + h1.a k0 = k0(); + z0 z0Var = new z0(k0, z2); + this.m.put(7, k0); + p

pVar = this.n; + pVar.b(7, z0Var); + pVar.a(); + } + + @Override // c.i.a.c.t2.r + public final void k(e eVar) { + h1.a o0 = o0(); + w0 w0Var = new w0(o0, eVar); + this.m.put(PointerIconCompat.TYPE_HORIZONTAL_DOUBLE_ARROW, o0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_HORIZONTAL_DOUBLE_ARROW, w0Var); + pVar.a(); + } + + public final h1.a k0() { + return m0(this.l.d); + } + + @Override // c.i.a.c.g3.x + public final void l(String str) { + h1.a p0 = p0(); + f fVar = new f(p0, str); + this.m.put(1024, p0); + p

pVar = this.n; + pVar.b(1024, fVar); + pVar.a(); + } + + @RequiresNonNull({"player"}) + public final h1.a l0(o2 o2Var, int i, @Nullable a0.a aVar) { + long j; + a0.a aVar2 = o2Var.q() ? null : aVar; + long d = this.i.d(); + boolean z2 = false; + boolean z3 = o2Var.equals(this.o.K()) && i == this.o.C(); + long j2 = 0; + if (aVar2 != null && aVar2.a()) { + if (z3 && this.o.B() == aVar2.b && this.o.q() == aVar2.f672c) { + z2 = true; + } + if (z2) { + j2 = this.o.T(); + } + } else if (z3) { + j = this.o.w(); + return new h1.a(d, o2Var, i, aVar2, j, this.o.K(), this.o.C(), this.l.d, this.o.T(), this.o.g()); + } else if (!o2Var.q()) { + j2 = o2Var.o(i, this.k, 0).a(); + } + j = j2; + return new h1.a(d, o2Var, i, aVar2, j, this.o.K(), this.o.C(), this.l.d, this.o.T(), this.o.g()); + } + + @Override // c.i.a.c.t2.r + public final void m(e eVar) { + h1.a p0 = p0(); + l lVar = new l(p0, eVar); + this.m.put(PointerIconCompat.TYPE_TEXT, p0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_TEXT, lVar); + pVar.a(); + } + + public final h1.a m0(@Nullable a0.a aVar) { + Objects.requireNonNull(this.o); + o2 o2Var = aVar == null ? null : this.l.f868c.get(aVar); + if (aVar != null && o2Var != null) { + return l0(o2Var, o2Var.h(aVar.a, this.j).k, aVar); + } + int C = this.o.C(); + o2 K = this.o.K(); + if (!(C < K.p())) { + K = o2.i; + } + return l0(K, C, null); + } + + @Override // c.i.a.c.g3.x + public final void n(String str, long j, long j2) { + h1.a p0 = p0(); + d dVar = new d(p0, str, j2, j); + this.m.put(PointerIconCompat.TYPE_GRABBING, p0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_GRABBING, dVar); + pVar.a(); + } + + public final h1.a n0(int i, @Nullable a0.a aVar) { + Objects.requireNonNull(this.o); + boolean z2 = false; + if (aVar != null) { + if (this.l.f868c.get(aVar) != null) { + z2 = true; + } + return z2 ? m0(aVar) : l0(o2.i, i, aVar); + } + o2 K = this.o.K(); + if (i < K.p()) { + z2 = true; + } + if (!z2) { + K = o2.i; + } + return l0(K, i, null); + } + + @Override // c.i.a.c.a3.b0 + public final void o(int i, @Nullable a0.a aVar, c.i.a.c.a3.w wVar) { + h1.a n0 = n0(i, aVar); + g gVar = new g(n0, wVar); + this.m.put(PointerIconCompat.TYPE_WAIT, n0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_WAIT, gVar); + pVar.a(); + } + + public final h1.a o0() { + return m0(this.l.e); + } + + @Override // c.i.a.c.y1.c + public void p(p2 p2Var) { + h1.a k0 = k0(); + w wVar = new w(k0, p2Var); + this.m.put(2, k0); + p

pVar = this.n; + pVar.b(2, wVar); + pVar.a(); + } + + public final h1.a p0() { + return m0(this.l.f); + } + + @Override // c.i.a.c.a3.b0 + public final void q(int i, @Nullable a0.a aVar, t tVar, c.i.a.c.a3.w wVar) { + h1.a n0 = n0(i, aVar); + h0 h0Var = new h0(n0, tVar, wVar); + this.m.put(PointerIconCompat.TYPE_HAND, n0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_HAND, h0Var); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public final void r(boolean z2) { + h1.a k0 = k0(); + e eVar = new e(k0, z2); + this.m.put(3, k0); + p

pVar = this.n; + pVar.b(3, eVar); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public final void s(PlaybackException playbackException) { + c.i.a.c.a3.y yVar; + h1.a m0 = (!(playbackException instanceof ExoPlaybackException) || (yVar = ((ExoPlaybackException) playbackException).mediaPeriodId) == null) ? null : m0(new a0.a(yVar)); + if (m0 == null) { + m0 = k0(); + } + a aVar = new a(m0, playbackException); + this.m.put(10, m0); + p

pVar = this.n; + pVar.b(10, aVar); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public void t(y1.b bVar) { + h1.a k0 = k0(); + a0 a0Var = new a0(k0, bVar); + this.m.put(13, k0); + p

pVar = this.n; + pVar.b(13, a0Var); + pVar.a(); + } + + @Override // c.i.a.c.w2.s + public final void u(int i, @Nullable a0.a aVar, Exception exc) { + h1.a n0 = n0(i, aVar); + c cVar = new c(n0, exc); + this.m.put(1032, n0); + p

pVar = this.n; + pVar.b(1032, cVar); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public final void v(o2 o2Var, int i) { + a aVar = this.l; + y1 y1Var = this.o; + Objects.requireNonNull(y1Var); + aVar.d = a.b(y1Var, aVar.b, aVar.e, aVar.a); + aVar.d(y1Var.K()); + h1.a k0 = k0(); + x xVar = new x(k0, i); + this.m.put(0, k0); + p

pVar = this.n; + pVar.b(0, xVar); + pVar.a(); + } + + @Override // c.i.a.c.y1.e + public final void w(float f) { + h1.a p0 = p0(); + s sVar = new s(p0, f); + this.m.put(PointerIconCompat.TYPE_ZOOM_OUT, p0); + p

pVar = this.n; + pVar.b(PointerIconCompat.TYPE_ZOOM_OUT, sVar); + pVar.a(); + } + + @Override // c.i.a.c.a3.b0 + public final void x(int i, @Nullable a0.a aVar, t tVar, c.i.a.c.a3.w wVar) { + h1.a n0 = n0(i, aVar); + k0 k0Var = new k0(n0, tVar, wVar); + this.m.put(1000, n0); + p

pVar = this.n; + pVar.b(1000, k0Var); + pVar.a(); + } + + @Override // c.i.a.c.y1.c + public final void y(int i) { + h1.a k0 = k0(); + a1 a1Var = new a1(k0, i); + this.m.put(4, k0); + p

pVar = this.n; + pVar.b(4, a1Var); + pVar.a(); + } + + @Override // c.i.a.c.y1.e + public /* synthetic */ void z(c1 c1Var) { + a2.c(this, c1Var); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/h.java b/app/src/main/java/c/i/a/c/s2/h.java new file mode 100644 index 0000000000..5366059e02 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/h.java @@ -0,0 +1,32 @@ +package c.i.a.c.s2; + +import android.util.SparseArray; +import c.i.a.c.f3.n; +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +import c.i.a.c.y1; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class h implements p.b { + public final /* synthetic */ g1 a; + public final /* synthetic */ y1 b; + + public /* synthetic */ h(g1 g1Var, y1 y1Var) { + this.a = g1Var; + this.b = y1Var; + } + + @Override // c.i.a.c.f3.p.b + public final void a(Object obj, n nVar) { + h1 h1Var = (h1) obj; + SparseArray sparseArray = this.a.m; + SparseArray sparseArray2 = new SparseArray(nVar.c()); + for (int i = 0; i < nVar.c(); i++) { + int b = nVar.b(i); + h1.a aVar = sparseArray.get(b); + Objects.requireNonNull(aVar); + sparseArray2.append(b, aVar); + } + h1Var.K(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/h0.java b/app/src/main/java/c/i/a/c/s2/h0.java new file mode 100644 index 0000000000..ef4892f527 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/h0.java @@ -0,0 +1,25 @@ +package c.i.a.c.s2; + +import c.i.a.c.a3.t; +import c.i.a.c.a3.w; +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class h0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ t b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ w f869c; + + public /* synthetic */ h0(h1.a aVar, t tVar, w wVar) { + this.a = aVar; + this.b = tVar; + this.f869c = wVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).k(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/h1.java b/app/src/main/java/c/i/a/c/s2/h1.java new file mode 100644 index 0000000000..3e3706acb2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/h1.java @@ -0,0 +1,208 @@ +package c.i.a.c.s2; + +import androidx.annotation.Nullable; +import c.i.a.c.a3.a0; +import c.i.a.c.o2; +import c.i.a.f.e.o.f; +import java.util.Arrays; +/* compiled from: AnalyticsListener */ +public interface h1 { + + /* compiled from: AnalyticsListener */ + public static final class a { + public final long a; + public final o2 b; + + /* renamed from: c reason: collision with root package name */ + public final int f870c; + @Nullable + public final a0.a d; + public final long e; + public final o2 f; + public final int g; + @Nullable + public final a0.a h; + public final long i; + public final long j; + + public a(long j, o2 o2Var, int i, @Nullable a0.a aVar, long j2, o2 o2Var2, int i2, @Nullable a0.a aVar2, long j3, long j4) { + this.a = j; + this.b = o2Var; + this.f870c = i; + this.d = aVar; + this.e = j2; + this.f = o2Var2; + this.g = i2; + this.h = aVar2; + this.i = j3; + this.j = j4; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || a.class != obj.getClass()) { + return false; + } + a aVar = (a) obj; + return this.a == aVar.a && this.f870c == aVar.f870c && this.e == aVar.e && this.g == aVar.g && this.i == aVar.i && this.j == aVar.j && f.N(this.b, aVar.b) && f.N(this.d, aVar.d) && f.N(this.f, aVar.f) && f.N(this.h, aVar.h); + } + + public int hashCode() { + return Arrays.hashCode(new Object[]{Long.valueOf(this.a), this.b, Integer.valueOf(this.f870c), this.d, Long.valueOf(this.e), this.f, Integer.valueOf(this.g), this.h, Long.valueOf(this.i), Long.valueOf(this.j)}); + } + } + + void A(); + + void B(); + + void C(); + + void D(); + + void E(); + + @Deprecated + void F(); + + @Deprecated + void G(); + + void H(); + + void I(); + + void J(); + + void K(); + + @Deprecated + void L(); + + void M(); + + void N(); + + void O(); + + void P(); + + void Q(); + + void R(); + + @Deprecated + void S(); + + @Deprecated + void T(); + + void U(); + + void V(); + + void W(); + + void X(); + + void Y(); + + void Z(); + + @Deprecated + void a(); + + void a0(); + + void b(); + + void b0(); + + void c(); + + void c0(); + + void d(); + + @Deprecated + void d0(); + + void e(); + + void e0(); + + void f(); + + void f0(); + + @Deprecated + void g(); + + void g0(); + + void h(); + + @Deprecated + void h0(); + + void i(); + + @Deprecated + void i0(); + + void j(); + + @Deprecated + void j0(); + + void k(); + + @Deprecated + void k0(); + + void l(); + + void l0(); + + void m(); + + @Deprecated + void m0(); + + void n(); + + void n0(); + + void o(); + + void o0(); + + void p(); + + @Deprecated + void p0(); + + void q(); + + @Deprecated + void r(); + + void s(); + + void t(); + + void u(); + + void v(); + + void w(); + + @Deprecated + void x(); + + void y(); + + void z(); +} diff --git a/app/src/main/java/c/i/a/c/s2/i.java b/app/src/main/java/c/i/a/c/s2/i.java new file mode 100644 index 0000000000..29dd27e0bc --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/i.java @@ -0,0 +1,25 @@ +package c.i.a.c.s2; + +import c.i.a.c.a3.o0; +import c.i.a.c.c3.n; +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class i implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ o0 b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ n f871c; + + public /* synthetic */ i(h1.a aVar, o0 o0Var, n nVar) { + this.a = aVar; + this.b = o0Var; + this.f871c = nVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).m0(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/i0.java b/app/src/main/java/c/i/a/c/s2/i0.java new file mode 100644 index 0000000000..dbb1aa8036 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/i0.java @@ -0,0 +1,28 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.j1; +import c.i.a.c.s2.h1; +import c.i.a.c.v2.g; +/* compiled from: lambda */ +public final /* synthetic */ class i0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ j1 b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ g f872c; + + public /* synthetic */ i0(h1.a aVar, j1 j1Var, g gVar) { + this.a = aVar; + this.b = j1Var; + this.f872c = gVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + h1 h1Var = (h1) obj; + h1Var.d0(); + h1Var.v(); + h1Var.x(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/j.java b/app/src/main/java/c/i/a/c/s2/j.java new file mode 100644 index 0000000000..e3c7b89dc8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/j.java @@ -0,0 +1,22 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +import c.i.a.c.v2.e; +/* compiled from: lambda */ +public final /* synthetic */ class j implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ e b; + + public /* synthetic */ j(h1.a aVar, e eVar) { + this.a = aVar; + this.b = eVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + h1 h1Var = (h1) obj; + h1Var.m(); + h1Var.g(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/j0.java b/app/src/main/java/c/i/a/c/s2/j0.java new file mode 100644 index 0000000000..d90b1a878e --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/j0.java @@ -0,0 +1,23 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class j0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ boolean b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ int f873c; + + public /* synthetic */ j0(h1.a aVar, boolean z2, int i) { + this.a = aVar; + this.b = z2; + this.f873c = i; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).G(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/k.java b/app/src/main/java/c/i/a/c/s2/k.java new file mode 100644 index 0000000000..b52ed38d05 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/k.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class k implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ Exception b; + + public /* synthetic */ k(h1.a aVar, Exception exc) { + this.a = aVar; + this.b = exc; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).V(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/k0.java b/app/src/main/java/c/i/a/c/s2/k0.java new file mode 100644 index 0000000000..366b6a89e3 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/k0.java @@ -0,0 +1,25 @@ +package c.i.a.c.s2; + +import c.i.a.c.a3.t; +import c.i.a.c.a3.w; +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class k0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ t b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ w f874c; + + public /* synthetic */ k0(h1.a aVar, t tVar, w wVar) { + this.a = aVar; + this.b = tVar; + this.f874c = wVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).R(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/l.java b/app/src/main/java/c/i/a/c/s2/l.java new file mode 100644 index 0000000000..a293389e4c --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/l.java @@ -0,0 +1,22 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +import c.i.a.c.v2.e; +/* compiled from: lambda */ +public final /* synthetic */ class l implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ e b; + + public /* synthetic */ l(h1.a aVar, e eVar) { + this.a = aVar; + this.b = eVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + h1 h1Var = (h1) obj; + h1Var.h(); + h1Var.F(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/l0.java b/app/src/main/java/c/i/a/c/s2/l0.java new file mode 100644 index 0000000000..dcff2fd2eb --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/l0.java @@ -0,0 +1,28 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class l0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ String b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ long f875c; + public final /* synthetic */ long d; + + public /* synthetic */ l0(h1.a aVar, String str, long j, long j2) { + this.a = aVar; + this.b = str; + this.f875c = j; + this.d = j2; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + h1 h1Var = (h1) obj; + h1Var.k0(); + h1Var.U(); + h1Var.T(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/m.java b/app/src/main/java/c/i/a/c/s2/m.java new file mode 100644 index 0000000000..253923e8b3 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/m.java @@ -0,0 +1,20 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +import c.i.a.c.x1; +/* compiled from: lambda */ +public final /* synthetic */ class m implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ x1 b; + + public /* synthetic */ m(h1.a aVar, x1 x1Var) { + this.a = aVar; + this.b = x1Var; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).I(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/m0.java b/app/src/main/java/c/i/a/c/s2/m0.java new file mode 100644 index 0000000000..a0950a4699 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/m0.java @@ -0,0 +1,24 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.g3.y; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class m0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ y b; + + public /* synthetic */ m0(h1.a aVar, y yVar) { + this.a = aVar; + this.b = yVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + y yVar = this.b; + h1 h1Var = (h1) obj; + h1Var.n0(); + int i = yVar.j; + h1Var.r(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/n.java b/app/src/main/java/c/i/a/c/s2/n.java new file mode 100644 index 0000000000..b1a237a318 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/n.java @@ -0,0 +1,23 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class n implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ int b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ int f876c; + + public /* synthetic */ n(h1.a aVar, int i, int i2) { + this.a = aVar; + this.b = i; + this.f876c = i2; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).l(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/n0.java b/app/src/main/java/c/i/a/c/s2/n0.java new file mode 100644 index 0000000000..2b3155bef8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/n0.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class n0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ long b; + + public /* synthetic */ n0(h1.a aVar, long j) { + this.a = aVar; + this.b = j; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).j(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/o.java b/app/src/main/java/c/i/a/c/s2/o.java new file mode 100644 index 0000000000..17716a112f --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/o.java @@ -0,0 +1,17 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class o implements p.a { + public final /* synthetic */ h1.a a; + + public /* synthetic */ o(h1.a aVar) { + this.a = aVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).j0(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/o0.java b/app/src/main/java/c/i/a/c/s2/o0.java new file mode 100644 index 0000000000..d80750f3ee --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/o0.java @@ -0,0 +1,13 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.n; +import c.i.a.c.f3.p; +/* compiled from: lambda */ +public final /* synthetic */ class o0 implements p.b { + public static final /* synthetic */ o0 a = new o0(); + + @Override // c.i.a.c.f3.p.b + public final void a(Object obj, n nVar) { + h1 h1Var = (h1) obj; + } +} diff --git a/app/src/main/java/c/i/a/c/s2/p.java b/app/src/main/java/c/i/a/c/s2/p.java new file mode 100644 index 0000000000..5c0c46f7c3 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/p.java @@ -0,0 +1,23 @@ +package c.i.a.c.s2; + +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class p implements Runnable { + public final /* synthetic */ g1 i; + + public /* synthetic */ p(g1 g1Var) { + this.i = g1Var; + } + + @Override // java.lang.Runnable + public final void run() { + g1 g1Var = this.i; + h1.a k0 = g1Var.k0(); + x0 x0Var = new x0(k0); + g1Var.m.put(1036, k0); + c.i.a.c.f3.p

pVar = g1Var.n; + pVar.b(1036, x0Var); + pVar.a(); + g1Var.n.c(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/p0.java b/app/src/main/java/c/i/a/c/s2/p0.java new file mode 100644 index 0000000000..6ca3dfeccf --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/p0.java @@ -0,0 +1,21 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class p0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ int b; + + public /* synthetic */ p0(h1.a aVar, int i) { + this.a = aVar; + this.b = i; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + h1 h1Var = (h1) obj; + h1Var.p0(); + h1Var.X(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/q.java b/app/src/main/java/c/i/a/c/s2/q.java new file mode 100644 index 0000000000..58fb37e8bd --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/q.java @@ -0,0 +1,24 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.o1; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class q implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ o1 b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ int f877c; + + public /* synthetic */ q(h1.a aVar, o1 o1Var, int i) { + this.a = aVar; + this.b = o1Var; + this.f877c = i; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).t(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/q0.java b/app/src/main/java/c/i/a/c/s2/q0.java new file mode 100644 index 0000000000..649fd99abb --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/q0.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class q0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ Exception b; + + public /* synthetic */ q0(h1.a aVar, Exception exc) { + this.a = aVar; + this.b = exc; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).O(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/r.java b/app/src/main/java/c/i/a/c/s2/r.java new file mode 100644 index 0000000000..eaf47446d6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/r.java @@ -0,0 +1,28 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +import c.i.a.c.y1; +/* compiled from: lambda */ +public final /* synthetic */ class r implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ int b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ y1.f f878c; + public final /* synthetic */ y1.f d; + + public /* synthetic */ r(h1.a aVar, int i, y1.f fVar, y1.f fVar2) { + this.a = aVar; + this.b = i; + this.f878c = fVar; + this.d = fVar2; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + h1 h1Var = (h1) obj; + h1Var.S(); + h1Var.y(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/r0.java b/app/src/main/java/c/i/a/c/s2/r0.java new file mode 100644 index 0000000000..91e1c7f989 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/r0.java @@ -0,0 +1,20 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.p1; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class r0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ p1 b; + + public /* synthetic */ r0(h1.a aVar, p1 p1Var) { + this.a = aVar; + this.b = p1Var; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).o0(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/s.java b/app/src/main/java/c/i/a/c/s2/s.java new file mode 100644 index 0000000000..0ba1874c38 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/s.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class s implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ float b; + + public /* synthetic */ s(h1.a aVar, float f) { + this.a = aVar; + this.b = f; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).b0(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/s0.java b/app/src/main/java/c/i/a/c/s2/s0.java new file mode 100644 index 0000000000..1f04ed0442 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/s0.java @@ -0,0 +1,25 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class s0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ int b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ long f879c; + public final /* synthetic */ long d; + + public /* synthetic */ s0(h1.a aVar, int i, long j, long j2) { + this.a = aVar; + this.b = i; + this.f879c = j; + this.d = j2; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).l0(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/t.java b/app/src/main/java/c/i/a/c/s2/t.java new file mode 100644 index 0000000000..ebe995787f --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/t.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class t implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ String b; + + public /* synthetic */ t(h1.a aVar, String str) { + this.a = aVar; + this.b = str; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).W(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/t0.java b/app/src/main/java/c/i/a/c/s2/t0.java new file mode 100644 index 0000000000..e7ef45cf5a --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/t0.java @@ -0,0 +1,17 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class t0 implements p.a { + public final /* synthetic */ h1.a a; + + public /* synthetic */ t0(h1.a aVar) { + this.a = aVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).Y(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/u.java b/app/src/main/java/c/i/a/c/s2/u.java new file mode 100644 index 0000000000..ddb7675611 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/u.java @@ -0,0 +1,17 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class u implements p.a { + public final /* synthetic */ h1.a a; + + public /* synthetic */ u(h1.a aVar) { + this.a = aVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).a(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/u0.java b/app/src/main/java/c/i/a/c/s2/u0.java new file mode 100644 index 0000000000..3faa854585 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/u0.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class u0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ boolean b; + + public /* synthetic */ u0(h1.a aVar, boolean z2) { + this.a = aVar; + this.b = z2; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).q(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/v.java b/app/src/main/java/c/i/a/c/s2/v.java new file mode 100644 index 0000000000..011dede558 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/v.java @@ -0,0 +1,20 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +import com.google.android.exoplayer2.metadata.Metadata; +/* compiled from: lambda */ +public final /* synthetic */ class v implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ Metadata b; + + public /* synthetic */ v(h1.a aVar, Metadata metadata) { + this.a = aVar; + this.b = metadata; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).f0(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/v0.java b/app/src/main/java/c/i/a/c/s2/v0.java new file mode 100644 index 0000000000..e2736fbc48 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/v0.java @@ -0,0 +1,17 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class v0 implements p.a { + public final /* synthetic */ h1.a a; + + public /* synthetic */ v0(h1.a aVar) { + this.a = aVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).s(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/w.java b/app/src/main/java/c/i/a/c/s2/w.java new file mode 100644 index 0000000000..b47e34cd59 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/w.java @@ -0,0 +1,20 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.p2; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class w implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ p2 b; + + public /* synthetic */ w(h1.a aVar, p2 p2Var) { + this.a = aVar; + this.b = p2Var; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).i(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/w0.java b/app/src/main/java/c/i/a/c/s2/w0.java new file mode 100644 index 0000000000..b8cc391725 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/w0.java @@ -0,0 +1,22 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +import c.i.a.c.v2.e; +/* compiled from: lambda */ +public final /* synthetic */ class w0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ e b; + + public /* synthetic */ w0(h1.a aVar, e eVar) { + this.a = aVar; + this.b = eVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + h1 h1Var = (h1) obj; + h1Var.d(); + h1Var.g(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/x.java b/app/src/main/java/c/i/a/c/s2/x.java new file mode 100644 index 0000000000..8674ceb766 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/x.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class x implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ int b; + + public /* synthetic */ x(h1.a aVar, int i) { + this.a = aVar; + this.b = i; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).z(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/x0.java b/app/src/main/java/c/i/a/c/s2/x0.java new file mode 100644 index 0000000000..10e074150b --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/x0.java @@ -0,0 +1,17 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class x0 implements p.a { + public final /* synthetic */ h1.a a; + + public /* synthetic */ x0(h1.a aVar) { + this.a = aVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).E(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/y.java b/app/src/main/java/c/i/a/c/s2/y.java new file mode 100644 index 0000000000..1dd92c8de0 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/y.java @@ -0,0 +1,25 @@ +package c.i.a.c.s2; + +import c.i.a.c.a3.t; +import c.i.a.c.a3.w; +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class y implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ t b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ w f880c; + + public /* synthetic */ y(h1.a aVar, t tVar, w wVar) { + this.a = aVar; + this.b = tVar; + this.f880c = wVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).p(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/y0.java b/app/src/main/java/c/i/a/c/s2/y0.java new file mode 100644 index 0000000000..7f31334254 --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/y0.java @@ -0,0 +1,28 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.j1; +import c.i.a.c.s2.h1; +import c.i.a.c.v2.g; +/* compiled from: lambda */ +public final /* synthetic */ class y0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ j1 b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ g f881c; + + public /* synthetic */ y0(h1.a aVar, j1 j1Var, g gVar) { + this.a = aVar; + this.b = j1Var; + this.f881c = gVar; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + h1 h1Var = (h1) obj; + h1Var.h0(); + h1Var.B(); + h1Var.x(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/z.java b/app/src/main/java/c/i/a/c/s2/z.java new file mode 100644 index 0000000000..8ea509b12f --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/z.java @@ -0,0 +1,23 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class z implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ int b; + + /* renamed from: c reason: collision with root package name */ + public final /* synthetic */ long f882c; + + public /* synthetic */ z(h1.a aVar, int i, long j) { + this.a = aVar; + this.b = i; + this.f882c = j; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).f(); + } +} diff --git a/app/src/main/java/c/i/a/c/s2/z0.java b/app/src/main/java/c/i/a/c/s2/z0.java new file mode 100644 index 0000000000..09657c4e4b --- /dev/null +++ b/app/src/main/java/c/i/a/c/s2/z0.java @@ -0,0 +1,19 @@ +package c.i.a.c.s2; + +import c.i.a.c.f3.p; +import c.i.a.c.s2.h1; +/* compiled from: lambda */ +public final /* synthetic */ class z0 implements p.a { + public final /* synthetic */ h1.a a; + public final /* synthetic */ boolean b; + + public /* synthetic */ z0(h1.a aVar, boolean z2) { + this.a = aVar; + this.b = z2; + } + + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((h1) obj).D(); + } +} diff --git a/app/src/main/java/c/i/a/c/t.java b/app/src/main/java/c/i/a/c/t.java index 4b132647aa..2eed26ec0a 100644 --- a/app/src/main/java/c/i/a/c/t.java +++ b/app/src/main/java/c/i/a/c/t.java @@ -1,52 +1,17 @@ package c.i.a.c; -import c.c.a.a0.d; -import c.i.a.c.q0; -import java.util.Arrays; -import java.util.List; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class t implements Runnable { - public final /* synthetic */ o0 i; - public final /* synthetic */ q0.d j; +public final /* synthetic */ class t implements p.a { + public final /* synthetic */ w1 a; - public /* synthetic */ t(o0 o0Var, q0.d dVar) { - this.i = o0Var; - this.j = dVar; + public /* synthetic */ t(w1 w1Var) { + this.a = w1Var; } - @Override // java.lang.Runnable - public final void run() { - o0 o0Var = this.i; - q0.d dVar = this.j; - int i = o0Var.s - dVar.f1013c; - o0Var.s = i; - boolean z2 = true; - if (dVar.d) { - o0Var.t = true; - o0Var.u = dVar.e; - } - if (dVar.f) { - o0Var.v = dVar.g; - } - if (i == 0) { - r1 r1Var = dVar.b.b; - if (!o0Var.f996x.b.q() && r1Var.q()) { - o0Var.f997y = -1; - o0Var.f998z = 0; - } - if (!r1Var.q()) { - List asList = Arrays.asList(((i1) r1Var).i); - if (asList.size() != o0Var.j.size()) { - z2 = false; - } - d.D(z2); - for (int i2 = 0; i2 < asList.size(); i2++) { - o0Var.j.get(i2).b = (r1) asList.get(i2); - } - } - boolean z3 = o0Var.t; - o0Var.t = false; - o0Var.S(dVar.b, z3, o0Var.u, 1, o0Var.v, false); - } + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((y1.c) obj).p(this.a.j.d); } } diff --git a/app/src/main/java/c/i/a/c/t0.java b/app/src/main/java/c/i/a/c/t0.java index cfda2e2700..3c73656dbd 100644 --- a/app/src/main/java/c/i/a/c/t0.java +++ b/app/src/main/java/c/i/a/c/t0.java @@ -1,4 +1,139 @@ package c.i.a.c; -/* compiled from: LivePlaybackSpeedControl */ -public interface t0 { + +import android.content.Context; +import android.media.AudioFocusRequest; +import android.media.AudioManager; +import android.os.Handler; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.k2; +import c.i.a.c.t2.o; +import java.util.Objects; +import org.webrtc.MediaStreamTrack; +/* compiled from: AudioFocusManager */ +public final class t0 { + public final AudioManager a; + public final a b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public b f883c; + @Nullable + public o d; + public int e; + public int f; + public float g = 1.0f; + public AudioFocusRequest h; + + /* compiled from: AudioFocusManager */ + public class a implements AudioManager.OnAudioFocusChangeListener { + public final Handler i; + + public a(Handler handler) { + this.i = handler; + } + + @Override // android.media.AudioManager.OnAudioFocusChangeListener + public void onAudioFocusChange(int i) { + this.i.post(new c(this, i)); + } + } + + /* compiled from: AudioFocusManager */ + public interface b { + } + + public t0(Context context, Handler handler, b bVar) { + AudioManager audioManager = (AudioManager) context.getApplicationContext().getSystemService(MediaStreamTrack.AUDIO_TRACK_KIND); + Objects.requireNonNull(audioManager); + this.a = audioManager; + this.f883c = bVar; + this.b = new a(handler); + this.e = 0; + } + + public final void a() { + if (this.e != 0) { + if (e0.a >= 26) { + AudioFocusRequest audioFocusRequest = this.h; + if (audioFocusRequest != null) { + this.a.abandonAudioFocusRequest(audioFocusRequest); + } + } else { + this.a.abandonAudioFocus(this.b); + } + d(0); + } + } + + public final void b(int i) { + b bVar = this.f883c; + if (bVar != null) { + k2.b bVar2 = (k2.b) bVar; + boolean j = k2.this.j(); + k2.this.m0(j, i, k2.g0(j, i)); + } + } + + public void c(@Nullable o oVar) { + if (!e0.a(this.d, null)) { + this.d = null; + this.f = 0; + d.m(true, "Automatic handling of audio focus is only available for USAGE_MEDIA and USAGE_GAME."); + } + } + + public final void d(int i) { + if (this.e != i) { + this.e = i; + float f = i == 3 ? 0.2f : 1.0f; + if (this.g != f) { + this.g = f; + b bVar = this.f883c; + if (bVar != null) { + k2 k2Var = k2.this; + k2Var.j0(1, 2, Float.valueOf(k2Var.B * k2Var.k.g)); + } + } + } + } + + public int e(boolean z2, int i) { + int i2; + int i3 = 1; + if (i == 1 || this.f != 1) { + a(); + return z2 ? 1 : -1; + } else if (!z2) { + return -1; + } else { + if (this.e != 1) { + if (e0.a >= 26) { + AudioFocusRequest audioFocusRequest = this.h; + if (audioFocusRequest == null) { + AudioFocusRequest.Builder builder = audioFocusRequest == null ? new AudioFocusRequest.Builder(this.f) : new AudioFocusRequest.Builder(this.h); + o oVar = this.d; + boolean z3 = oVar != null && oVar.j == 1; + Objects.requireNonNull(oVar); + this.h = builder.setAudioAttributes(oVar.a()).setWillPauseWhenDucked(z3).setOnAudioFocusChangeListener(this.b).build(); + } + i2 = this.a.requestAudioFocus(this.h); + } else { + AudioManager audioManager = this.a; + a aVar = this.b; + o oVar2 = this.d; + Objects.requireNonNull(oVar2); + i2 = audioManager.requestAudioFocus(aVar, e0.t(oVar2.l), this.f); + } + if (i2 == 1) { + d(1); + } else { + d(0); + i3 = -1; + } + } + return i3; + } + } } diff --git a/app/src/main/java/c/i/a/c/t1.java b/app/src/main/java/c/i/a/c/t1.java index ef3292f356..dc9b9e58ee 100644 --- a/app/src/main/java/c/i/a/c/t1.java +++ b/app/src/main/java/c/i/a/c/t1.java @@ -1,31 +1,7 @@ package c.i.a.c; +/* compiled from: MediaSourceInfoHolder */ +public interface t1 { + o2 a(); -import android.content.Context; -import android.net.wifi.WifiManager; -import androidx.annotation.Nullable; -/* compiled from: WifiLockManager */ -public final class t1 { - @Nullable - public final WifiManager a; - @Nullable - public WifiManager.WifiLock b; - - /* renamed from: c reason: collision with root package name */ - public boolean f1021c; - public boolean d; - - public t1(Context context) { - this.a = (WifiManager) context.getApplicationContext().getSystemService("wifi"); - } - - public final void a() { - WifiManager.WifiLock wifiLock = this.b; - if (wifiLock != null) { - if (!this.f1021c || !this.d) { - wifiLock.release(); - } else { - wifiLock.acquire(); - } - } - } + Object getUid(); } diff --git a/app/src/main/java/c/i/a/c/t2/a.java b/app/src/main/java/c/i/a/c/t2/a.java new file mode 100644 index 0000000000..332c6526ee --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/a.java @@ -0,0 +1,23 @@ +package c.i.a.c.t2; + +import c.i.a.c.f3.e0; +import c.i.a.c.t2.r; +/* compiled from: lambda */ +public final /* synthetic */ class a implements Runnable { + public final /* synthetic */ r.a i; + public final /* synthetic */ boolean j; + + public /* synthetic */ a(r.a aVar, boolean z2) { + this.i = aVar; + this.j = z2; + } + + @Override // java.lang.Runnable + public final void run() { + r.a aVar = this.i; + boolean z2 = this.j; + r rVar = aVar.b; + int i = e0.a; + rVar.d(z2); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/a0.java b/app/src/main/java/c/i/a/c/t2/a0.java new file mode 100644 index 0000000000..158eaa7ded --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/a0.java @@ -0,0 +1,136 @@ +package c.i.a.c.t2; + +import androidx.annotation.Nullable; +import com.discord.restapi.RestAPIAbortCodes; +/* compiled from: MpegAudioUtil */ +public final class a0 { + public static final String[] a = {"audio/mpeg-L1", "audio/mpeg-L2", "audio/mpeg"}; + public static final int[] b = {44100, 48000, 32000}; + + /* renamed from: c reason: collision with root package name */ + public static final int[] f884c = {32000, 64000, 96000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 352000, 384000, 416000, 448000}; + public static final int[] d = {32000, 48000, 56000, 64000, RestAPIAbortCodes.RELATIONSHIP_INCOMING_DISABLED, 96000, 112000, 128000, 144000, 160000, 176000, 192000, 224000, 256000}; + public static final int[] e = {32000, 48000, 56000, 64000, RestAPIAbortCodes.RELATIONSHIP_INCOMING_DISABLED, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 320000, 384000}; + public static final int[] f = {32000, 40000, 48000, 56000, 64000, RestAPIAbortCodes.RELATIONSHIP_INCOMING_DISABLED, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 320000}; + public static final int[] g = {8000, 16000, 24000, 32000, 40000, 48000, 56000, 64000, RestAPIAbortCodes.RELATIONSHIP_INCOMING_DISABLED, 96000, 112000, 128000, 144000, 160000}; + + /* compiled from: MpegAudioUtil */ + public static final class a { + public int a; + @Nullable + public String b; + + /* renamed from: c reason: collision with root package name */ + public int f885c; + public int d; + public int e; + public int f; + public int g; + + public boolean a(int i) { + int i2; + int i3; + int i4; + int i5; + if (!a0.c(i) || (i2 = (i >>> 19) & 3) == 1 || (i3 = (i >>> 17) & 3) == 0 || (i4 = (i >>> 12) & 15) == 0 || i4 == 15 || (i5 = (i >>> 10) & 3) == 3) { + return false; + } + this.a = i2; + this.b = a0.a[3 - i3]; + int i6 = a0.b[i5]; + this.d = i6; + int i7 = 2; + if (i2 == 2) { + this.d = i6 / 2; + } else if (i2 == 0) { + this.d = i6 / 4; + } + int i8 = (i >>> 9) & 1; + this.g = a0.b(i2, i3); + if (i3 == 3) { + int i9 = i2 == 3 ? a0.f884c[i4 - 1] : a0.d[i4 - 1]; + this.f = i9; + this.f885c = (((i9 * 12) / this.d) + i8) * 4; + } else { + int i10 = 144; + if (i2 == 3) { + int i11 = i3 == 2 ? a0.e[i4 - 1] : a0.f[i4 - 1]; + this.f = i11; + this.f885c = ((i11 * 144) / this.d) + i8; + } else { + int i12 = a0.g[i4 - 1]; + this.f = i12; + if (i3 == 1) { + i10 = 72; + } + this.f885c = ((i10 * i12) / this.d) + i8; + } + } + if (((i >> 6) & 3) == 3) { + i7 = 1; + } + this.e = i7; + return true; + } + } + + public static int a(int i) { + int i2; + int i3; + int i4; + int i5; + if (!c(i) || (i2 = (i >>> 19) & 3) == 1 || (i3 = (i >>> 17) & 3) == 0 || (i4 = (i >>> 12) & 15) == 0 || i4 == 15 || (i5 = (i >>> 10) & 3) == 3) { + return -1; + } + int i6 = b[i5]; + if (i2 == 2) { + i6 /= 2; + } else if (i2 == 0) { + i6 /= 4; + } + int i7 = (i >>> 9) & 1; + if (i3 == 3) { + return ((((i2 == 3 ? f884c[i4 - 1] : d[i4 - 1]) * 12) / i6) + i7) * 4; + } + int i8 = i2 == 3 ? i3 == 2 ? e[i4 - 1] : f[i4 - 1] : g[i4 - 1]; + int i9 = 144; + if (i2 == 3) { + return ((i8 * 144) / i6) + i7; + } + if (i3 == 1) { + i9 = 72; + } + return ((i9 * i8) / i6) + i7; + } + + public static int b(int i, int i2) { + if (i2 == 1) { + return i == 3 ? 1152 : 576; + } + if (i2 == 2) { + return 1152; + } + if (i2 == 3) { + return 384; + } + throw new IllegalArgumentException(); + } + + public static boolean c(int i) { + return (i & -2097152) == -2097152; + } + + public static int d(int i) { + int i2; + int i3; + if (!c(i) || (i2 = (i >>> 19) & 3) == 1 || (i3 = (i >>> 17) & 3) == 0) { + return -1; + } + int i4 = (i >>> 12) & 15; + int i5 = (i >>> 10) & 3; + if (i4 == 0 || i4 == 15 || i5 == 3) { + return -1; + } + return b(i2, i3); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/b.java b/app/src/main/java/c/i/a/c/t2/b.java new file mode 100644 index 0000000000..81fe4e8247 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/b.java @@ -0,0 +1,28 @@ +package c.i.a.c.t2; + +import c.i.a.c.f3.e0; +import c.i.a.c.t2.r; +import c.i.a.c.v2.e; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class b implements Runnable { + public final /* synthetic */ r.a i; + public final /* synthetic */ e j; + + public /* synthetic */ b(r.a aVar, e eVar) { + this.i = aVar; + this.j = eVar; + } + + @Override // java.lang.Runnable + public final void run() { + r.a aVar = this.i; + e eVar = this.j; + Objects.requireNonNull(aVar); + synchronized (eVar) { + } + r rVar = aVar.b; + int i = e0.a; + rVar.k(eVar); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/b0.java b/app/src/main/java/c/i/a/c/t2/b0.java new file mode 100644 index 0000000000..3b532ee9d8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/b0.java @@ -0,0 +1,91 @@ +package c.i.a.c.t2; + +import c.i.a.c.f3.e0; +import com.google.android.exoplayer2.audio.AudioProcessor; +import java.nio.ByteBuffer; +/* compiled from: ResamplingAudioProcessor */ +public final class b0 extends v { + /* JADX WARNING: Removed duplicated region for block: B:13:0x0039 */ + /* JADX WARNING: Removed duplicated region for block: B:27:0x00b0 A[LOOP:4: B:27:0x00b0->B:28:0x00b2, LOOP_START, PHI: r0 + PHI: (r0v2 int) = (r0v0 int), (r0v3 int) binds: [B:12:0x0037, B:28:0x00b2] A[DONT_GENERATE, DONT_INLINE]] */ + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public void c(ByteBuffer byteBuffer) { + int i; + int position = byteBuffer.position(); + int limit = byteBuffer.limit(); + int i2 = limit - position; + int i3 = this.b.d; + if (i3 != 3) { + if (i3 != 4) { + if (i3 != 268435456) { + if (i3 == 536870912) { + i2 /= 3; + } else if (i3 != 805306368) { + throw new IllegalStateException(); + } + } + ByteBuffer j = j(i2); + i = this.b.d; + if (i == 3) { + while (position < limit) { + j.put((byte) 0); + j.put((byte) ((byteBuffer.get(position) & 255) - 128)); + position++; + } + } else if (i == 4) { + while (position < limit) { + short g = (short) ((int) (e0.g(byteBuffer.getFloat(position), -1.0f, 1.0f) * 32767.0f)); + j.put((byte) (g & 255)); + j.put((byte) ((g >> 8) & 255)); + position += 4; + } + } else if (i == 268435456) { + while (position < limit) { + j.put(byteBuffer.get(position + 1)); + j.put(byteBuffer.get(position)); + position += 2; + } + } else if (i == 536870912) { + while (position < limit) { + j.put(byteBuffer.get(position + 1)); + j.put(byteBuffer.get(position + 2)); + position += 3; + } + } else if (i == 805306368) { + while (position < limit) { + j.put(byteBuffer.get(position + 2)); + j.put(byteBuffer.get(position + 3)); + position += 4; + } + } else { + throw new IllegalStateException(); + } + byteBuffer.position(byteBuffer.limit()); + j.flip(); + } + i2 /= 2; + ByteBuffer j = j(i2); + i = this.b.d; + if (i == 3) { + } + byteBuffer.position(byteBuffer.limit()); + j.flip(); + } + i2 *= 2; + ByteBuffer j = j(i2); + i = this.b.d; + if (i == 3) { + } + byteBuffer.position(byteBuffer.limit()); + j.flip(); + } + + @Override // c.i.a.c.t2.v + public AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { + int i = aVar.d; + if (i == 3 || i == 2 || i == 268435456 || i == 536870912 || i == 805306368 || i == 4) { + return i != 2 ? new AudioProcessor.a(aVar.b, aVar.f2306c, 2) : AudioProcessor.a.a; + } + throw new AudioProcessor.UnhandledAudioFormatException(aVar); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/c.java b/app/src/main/java/c/i/a/c/t2/c.java new file mode 100644 index 0000000000..cef410960b --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/c.java @@ -0,0 +1,23 @@ +package c.i.a.c.t2; + +import c.i.a.c.f3.e0; +import c.i.a.c.t2.r; +/* compiled from: lambda */ +public final /* synthetic */ class c implements Runnable { + public final /* synthetic */ r.a i; + public final /* synthetic */ Exception j; + + public /* synthetic */ c(r.a aVar, Exception exc) { + this.i = aVar; + this.j = exc; + } + + @Override // java.lang.Runnable + public final void run() { + r.a aVar = this.i; + Exception exc = this.j; + r rVar = aVar.b; + int i = e0.a; + rVar.T(exc); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/c0.java b/app/src/main/java/c/i/a/c/t2/c0.java new file mode 100644 index 0000000000..6cc2a351e6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/c0.java @@ -0,0 +1,194 @@ +package c.i.a.c.t2; + +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import com.google.android.exoplayer2.audio.AudioProcessor; +import java.nio.ByteBuffer; +/* compiled from: SilenceSkippingAudioProcessor */ +public final class c0 extends v { + public final long i = 150000; + public final long j = 20000; + public final short k = 1024; + public int l; + public boolean m; + public byte[] n; + public byte[] o; + public int p; + public int q; + public int r; + + /* renamed from: s reason: collision with root package name */ + public boolean f886s; + public long t; + + public c0() { + d.j(true); + byte[] bArr = e0.f; + this.n = bArr; + this.o = bArr; + } + + @Override // c.i.a.c.t2.v, com.google.android.exoplayer2.audio.AudioProcessor + public boolean a() { + return this.m; + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public void c(ByteBuffer byteBuffer) { + int position; + while (byteBuffer.hasRemaining() && !this.g.hasRemaining()) { + int i = this.p; + if (i == 0) { + int limit = byteBuffer.limit(); + byteBuffer.limit(Math.min(limit, byteBuffer.position() + this.n.length)); + int limit2 = byteBuffer.limit(); + while (true) { + limit2 -= 2; + if (limit2 >= byteBuffer.position()) { + if (Math.abs((int) byteBuffer.getShort(limit2)) > this.k) { + int i2 = this.l; + position = ((limit2 / i2) * i2) + i2; + break; + } + } else { + position = byteBuffer.position(); + break; + } + } + if (position == byteBuffer.position()) { + this.p = 1; + } else { + byteBuffer.limit(position); + int remaining = byteBuffer.remaining(); + j(remaining).put(byteBuffer).flip(); + if (remaining > 0) { + this.f886s = true; + } + } + byteBuffer.limit(limit); + } else if (i == 1) { + int limit3 = byteBuffer.limit(); + int k = k(byteBuffer); + int position2 = k - byteBuffer.position(); + byte[] bArr = this.n; + int length = bArr.length; + int i3 = this.q; + int i4 = length - i3; + if (k >= limit3 || position2 >= i4) { + int min = Math.min(position2, i4); + byteBuffer.limit(byteBuffer.position() + min); + byteBuffer.get(this.n, this.q, min); + int i5 = this.q + min; + this.q = i5; + byte[] bArr2 = this.n; + if (i5 == bArr2.length) { + if (this.f886s) { + l(bArr2, this.r); + this.t += (long) ((this.q - (this.r * 2)) / this.l); + } else { + this.t += (long) ((i5 - this.r) / this.l); + } + m(byteBuffer, this.n, this.q); + this.q = 0; + this.p = 2; + } + byteBuffer.limit(limit3); + } else { + l(bArr, i3); + this.q = 0; + this.p = 0; + } + } else if (i == 2) { + int limit4 = byteBuffer.limit(); + int k2 = k(byteBuffer); + byteBuffer.limit(k2); + this.t += (long) (byteBuffer.remaining() / this.l); + m(byteBuffer, this.o, this.r); + if (k2 < limit4) { + l(this.o, this.r); + this.p = 0; + byteBuffer.limit(limit4); + } + } else { + throw new IllegalStateException(); + } + } + } + + @Override // c.i.a.c.t2.v + public AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { + if (aVar.d == 2) { + return this.m ? aVar : AudioProcessor.a.a; + } + throw new AudioProcessor.UnhandledAudioFormatException(aVar); + } + + @Override // c.i.a.c.t2.v + public void g() { + if (this.m) { + AudioProcessor.a aVar = this.b; + int i = aVar.e; + this.l = i; + long j = this.i; + long j2 = (long) aVar.b; + int i2 = ((int) ((j * j2) / 1000000)) * i; + if (this.n.length != i2) { + this.n = new byte[i2]; + } + int i3 = ((int) ((this.j * j2) / 1000000)) * i; + this.r = i3; + if (this.o.length != i3) { + this.o = new byte[i3]; + } + } + this.p = 0; + this.t = 0; + this.q = 0; + this.f886s = false; + } + + @Override // c.i.a.c.t2.v + public void h() { + int i = this.q; + if (i > 0) { + l(this.n, i); + } + if (!this.f886s) { + this.t += (long) (this.r / this.l); + } + } + + @Override // c.i.a.c.t2.v + public void i() { + this.m = false; + this.r = 0; + byte[] bArr = e0.f; + this.n = bArr; + this.o = bArr; + } + + public final int k(ByteBuffer byteBuffer) { + for (int position = byteBuffer.position(); position < byteBuffer.limit(); position += 2) { + if (Math.abs((int) byteBuffer.getShort(position)) > this.k) { + int i = this.l; + return (position / i) * i; + } + } + return byteBuffer.limit(); + } + + public final void l(byte[] bArr, int i) { + j(i).put(bArr, 0, i).flip(); + if (i > 0) { + this.f886s = true; + } + } + + public final void m(ByteBuffer byteBuffer, byte[] bArr, int i) { + int min = Math.min(byteBuffer.remaining(), this.r); + int i2 = this.r - min; + System.arraycopy(bArr, i - i2, this.o, 0, i2); + byteBuffer.position(byteBuffer.limit() - min); + byteBuffer.get(this.o, i2, min); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/d.java b/app/src/main/java/c/i/a/c/t2/d.java new file mode 100644 index 0000000000..1e918661f6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/d.java @@ -0,0 +1,23 @@ +package c.i.a.c.t2; + +import c.i.a.c.f3.e0; +import c.i.a.c.t2.r; +/* compiled from: lambda */ +public final /* synthetic */ class d implements Runnable { + public final /* synthetic */ r.a i; + public final /* synthetic */ Exception j; + + public /* synthetic */ d(r.a aVar, Exception exc) { + this.i = aVar; + this.j = exc; + } + + @Override // java.lang.Runnable + public final void run() { + r.a aVar = this.i; + Exception exc = this.j; + r rVar = aVar.b; + int i = e0.a; + rVar.N(exc); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/d0.java b/app/src/main/java/c/i/a/c/t2/d0.java new file mode 100644 index 0000000000..359d563054 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/d0.java @@ -0,0 +1,302 @@ +package c.i.a.c.t2; + +import c.c.a.a0.d; +import com.discord.utilities.rest.SendUtils; +import java.util.Arrays; +/* compiled from: Sonic */ +public final class d0 { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final float f887c; + public final float d; + public final float e; + public final int f; + public final int g; + public final int h; + public final short[] i; + public short[] j; + public int k; + public short[] l; + public int m; + public short[] n; + public int o; + public int p; + public int q; + public int r; + + /* renamed from: s reason: collision with root package name */ + public int f888s; + public int t; + public int u; + public int v; + + public d0(int i, int i2, float f, float f2, int i3) { + this.a = i; + this.b = i2; + this.f887c = f; + this.d = f2; + this.e = ((float) i) / ((float) i3); + this.f = i / 400; + int i4 = i / 65; + this.g = i4; + int i5 = i4 * 2; + this.h = i5; + this.i = new short[i5]; + this.j = new short[(i5 * i2)]; + this.l = new short[(i5 * i2)]; + this.n = new short[(i5 * i2)]; + } + + public static void e(int i, int i2, short[] sArr, int i3, short[] sArr2, int i4, short[] sArr3, int i5) { + for (int i6 = 0; i6 < i2; i6++) { + int i7 = (i3 * i2) + i6; + int i8 = (i5 * i2) + i6; + int i9 = (i4 * i2) + i6; + for (int i10 = 0; i10 < i; i10++) { + sArr[i7] = (short) (((sArr3[i8] * i10) + ((i - i10) * sArr2[i9])) / i); + i7 += i2; + i9 += i2; + i8 += i2; + } + } + } + + public final void a(short[] sArr, int i, int i2) { + short[] c2 = c(this.l, this.m, i2); + this.l = c2; + int i3 = this.b; + System.arraycopy(sArr, i * i3, c2, this.m * i3, i3 * i2); + this.m += i2; + } + + public final void b(short[] sArr, int i, int i2) { + int i3 = this.h / i2; + int i4 = this.b; + int i5 = i2 * i4; + int i6 = i * i4; + for (int i7 = 0; i7 < i3; i7++) { + int i8 = 0; + for (int i9 = 0; i9 < i5; i9++) { + i8 += sArr[(i7 * i5) + i6 + i9]; + } + this.i[i7] = (short) (i8 / i5); + } + } + + public final short[] c(short[] sArr, int i, int i2) { + int length = sArr.length; + int i3 = this.b; + int i4 = length / i3; + return i + i2 <= i4 ? sArr : Arrays.copyOf(sArr, (((i4 * 3) / 2) + i2) * i3); + } + + public final int d(short[] sArr, int i, int i2, int i3) { + int i4 = i * this.b; + int i5 = 1; + int i6 = 255; + int i7 = 0; + int i8 = 0; + while (i2 <= i3) { + int i9 = 0; + for (int i10 = 0; i10 < i2; i10++) { + i9 += Math.abs(sArr[i4 + i10] - sArr[(i4 + i2) + i10]); + } + if (i9 * i7 < i5 * i2) { + i7 = i2; + i5 = i9; + } + if (i9 * i6 > i8 * i2) { + i6 = i2; + i8 = i9; + } + i2++; + } + this.u = i5 / i7; + this.v = i8 / i6; + return i7; + } + + public final void f() { + int i; + int i2; + int i3; + int i4; + int i5; + int i6; + int i7; + int i8 = this.m; + float f = this.f887c; + float f2 = this.d; + float f3 = f / f2; + float f4 = this.e * f2; + double d = (double) f3; + float f5 = 1.0f; + int i9 = 1; + if (d > 1.00001d || d < 0.99999d) { + int i10 = this.k; + if (i10 >= this.h) { + int i11 = 0; + while (true) { + int i12 = this.r; + if (i12 > 0) { + int min = Math.min(this.h, i12); + a(this.j, i11, min); + this.r -= min; + i11 += min; + } else { + short[] sArr = this.j; + int i13 = this.a; + int i14 = i13 > 4000 ? i13 / SendUtils.MAX_MESSAGE_CHARACTER_COUNT_PREMIUM : 1; + if (this.b == i9 && i14 == i9) { + i5 = d(sArr, i11, this.f, this.g); + } else { + b(sArr, i11, i14); + int d2 = d(this.i, 0, this.f / i14, this.g / i14); + if (i14 != i9) { + int i15 = d2 * i14; + int i16 = i14 * 4; + int i17 = i15 - i16; + int i18 = i15 + i16; + int i19 = this.f; + if (i17 < i19) { + i17 = i19; + } + int i20 = this.g; + if (i18 > i20) { + i18 = i20; + } + if (this.b == i9) { + i5 = d(sArr, i11, i17, i18); + } else { + b(sArr, i11, i9); + i5 = d(this.i, 0, i17, i18); + } + } else { + i5 = d2; + } + } + int i21 = this.u; + int i22 = i21 != 0 && this.f888s != 0 && this.v <= i21 * 3 && i21 * 2 > this.t * 3 ? this.f888s : i5; + this.t = i21; + this.f888s = i5; + if (d > 1.0d) { + short[] sArr2 = this.j; + if (f3 >= 2.0f) { + i7 = (int) (((float) i22) / (f3 - f5)); + } else { + this.r = (int) (((2.0f - f3) * ((float) i22)) / (f3 - f5)); + i7 = i22; + } + short[] c2 = c(this.l, this.m, i7); + this.l = c2; + e(i7, this.b, c2, this.m, sArr2, i11, sArr2, i11 + i22); + this.m += i7; + i11 = i22 + i7 + i11; + } else { + short[] sArr3 = this.j; + if (f3 < 0.5f) { + i6 = (int) ((((float) i22) * f3) / (f5 - f3)); + } else { + this.r = (int) ((((2.0f * f3) - f5) * ((float) i22)) / (f5 - f3)); + i6 = i22; + } + int i23 = i22 + i6; + short[] c3 = c(this.l, this.m, i23); + this.l = c3; + int i24 = this.b; + System.arraycopy(sArr3, i11 * i24, c3, this.m * i24, i24 * i22); + e(i6, this.b, this.l, this.m + i22, sArr3, i11 + i22, sArr3, i11); + this.m += i23; + i11 += i6; + } + } + if (this.h + i11 > i10) { + break; + } + f5 = 1.0f; + i9 = 1; + } + int i25 = this.k - i11; + short[] sArr4 = this.j; + int i26 = this.b; + System.arraycopy(sArr4, i11 * i26, sArr4, 0, i26 * i25); + this.k = i25; + } + f5 = 1.0f; + } else { + a(this.j, 0, this.k); + this.k = 0; + } + if (f4 != f5 && this.m != i8) { + int i27 = this.a; + int i28 = (int) (((float) i27) / f4); + while (true) { + if (i28 <= 16384 && i27 <= 16384) { + break; + } + i28 /= 2; + i27 /= 2; + } + int i29 = this.m - i8; + short[] c4 = c(this.n, this.o, i29); + this.n = c4; + short[] sArr5 = this.l; + int i30 = this.b; + System.arraycopy(sArr5, i8 * i30, c4, this.o * i30, i30 * i29); + this.m = i8; + this.o += i29; + int i31 = 0; + while (true) { + i = this.o; + i2 = i - 1; + if (i31 >= i2) { + break; + } + while (true) { + i3 = this.p + 1; + int i32 = i3 * i28; + i4 = this.q; + if (i32 <= i4 * i27) { + break; + } + this.l = c(this.l, this.m, 1); + int i33 = 0; + while (true) { + int i34 = this.b; + if (i33 >= i34) { + break; + } + short[] sArr6 = this.n; + int i35 = (i31 * i34) + i33; + short s2 = sArr6[i35]; + short s3 = sArr6[i35 + i34]; + int i36 = this.p; + int i37 = i36 * i28; + int i38 = (i36 + 1) * i28; + int i39 = i38 - (this.q * i27); + int i40 = i38 - i37; + this.l[(this.m * i34) + i33] = (short) ((((i40 - i39) * s3) + (s2 * i39)) / i40); + i33++; + } + this.q++; + this.m++; + } + this.p = i3; + if (i3 == i27) { + this.p = 0; + d.D(i4 == i28); + this.q = 0; + } + i31++; + } + if (i2 != 0) { + short[] sArr7 = this.n; + int i41 = this.b; + System.arraycopy(sArr7, i2 * i41, sArr7, 0, (i - i2) * i41); + this.o -= i2; + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/t2/e.java b/app/src/main/java/c/i/a/c/t2/e.java new file mode 100644 index 0000000000..781e60b42f --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/e.java @@ -0,0 +1,29 @@ +package c.i.a.c.t2; + +import c.i.a.c.f3.e0; +import c.i.a.c.j1; +import c.i.a.c.t2.r; +import c.i.a.c.v2.g; +/* compiled from: lambda */ +public final /* synthetic */ class e implements Runnable { + public final /* synthetic */ r.a i; + public final /* synthetic */ j1 j; + public final /* synthetic */ g k; + + public /* synthetic */ e(r.a aVar, j1 j1Var, g gVar) { + this.i = aVar; + this.j = j1Var; + this.k = gVar; + } + + @Override // java.lang.Runnable + public final void run() { + r.a aVar = this.i; + j1 j1Var = this.j; + g gVar = this.k; + r rVar = aVar.b; + int i = e0.a; + rVar.U(j1Var); + aVar.b.I(j1Var, gVar); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/e0.java b/app/src/main/java/c/i/a/c/t2/e0.java new file mode 100644 index 0000000000..670800151b --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/e0.java @@ -0,0 +1,204 @@ +package c.i.a.c.t2; + +import androidx.annotation.Nullable; +import com.google.android.exoplayer2.audio.AudioProcessor; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; +import java.nio.ShortBuffer; +import java.util.Objects; +/* compiled from: SonicAudioProcessor */ +public final class e0 implements AudioProcessor { + public int b; + + /* renamed from: c reason: collision with root package name */ + public float f889c = 1.0f; + public float d = 1.0f; + public AudioProcessor.a e; + public AudioProcessor.a f; + public AudioProcessor.a g; + public AudioProcessor.a h; + public boolean i; + @Nullable + public d0 j; + public ByteBuffer k; + public ShortBuffer l; + public ByteBuffer m; + public long n; + public long o; + public boolean p; + + public e0() { + AudioProcessor.a aVar = AudioProcessor.a.a; + this.e = aVar; + this.f = aVar; + this.g = aVar; + this.h = aVar; + ByteBuffer byteBuffer = AudioProcessor.a; + this.k = byteBuffer; + this.l = byteBuffer.asShortBuffer(); + this.m = byteBuffer; + this.b = -1; + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public boolean a() { + return this.f.b != -1 && (Math.abs(this.f889c - 1.0f) >= 1.0E-4f || Math.abs(this.d - 1.0f) >= 1.0E-4f || this.f.b != this.e.b); + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public boolean b() { + d0 d0Var; + return this.p && ((d0Var = this.j) == null || (d0Var.m * d0Var.b) * 2 == 0); + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public void c(ByteBuffer byteBuffer) { + if (byteBuffer.hasRemaining()) { + d0 d0Var = this.j; + Objects.requireNonNull(d0Var); + ShortBuffer asShortBuffer = byteBuffer.asShortBuffer(); + int remaining = byteBuffer.remaining(); + this.n += (long) remaining; + int remaining2 = asShortBuffer.remaining(); + int i = d0Var.b; + int i2 = remaining2 / i; + short[] c2 = d0Var.c(d0Var.j, d0Var.k, i2); + d0Var.j = c2; + asShortBuffer.get(c2, d0Var.k * d0Var.b, ((i * i2) * 2) / 2); + d0Var.k += i2; + d0Var.f(); + byteBuffer.position(byteBuffer.position() + remaining); + } + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public AudioProcessor.a d(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { + if (aVar.d == 2) { + int i = this.b; + if (i == -1) { + i = aVar.b; + } + this.e = aVar; + AudioProcessor.a aVar2 = new AudioProcessor.a(i, aVar.f2306c, 2); + this.f = aVar2; + this.i = true; + return aVar2; + } + throw new AudioProcessor.UnhandledAudioFormatException(aVar); + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public void e() { + int i; + d0 d0Var = this.j; + if (d0Var != null) { + int i2 = d0Var.k; + float f = d0Var.f887c; + float f2 = d0Var.d; + float f3 = d0Var.e * f2; + int i3 = d0Var.m + ((int) ((((((float) i2) / (f / f2)) + ((float) d0Var.o)) / f3) + 0.5f)); + d0Var.j = d0Var.c(d0Var.j, i2, (d0Var.h * 2) + i2); + int i4 = 0; + while (true) { + i = d0Var.h * 2; + int i5 = d0Var.b; + if (i4 >= i * i5) { + break; + } + d0Var.j[(i5 * i2) + i4] = 0; + i4++; + } + d0Var.k = i + d0Var.k; + d0Var.f(); + if (d0Var.m > i3) { + d0Var.m = i3; + } + d0Var.k = 0; + d0Var.r = 0; + d0Var.o = 0; + } + this.p = true; + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public void flush() { + if (a()) { + AudioProcessor.a aVar = this.e; + this.g = aVar; + AudioProcessor.a aVar2 = this.f; + this.h = aVar2; + if (this.i) { + this.j = new d0(aVar.b, aVar.f2306c, this.f889c, this.d, aVar2.b); + } else { + d0 d0Var = this.j; + if (d0Var != null) { + d0Var.k = 0; + d0Var.m = 0; + d0Var.o = 0; + d0Var.p = 0; + d0Var.q = 0; + d0Var.r = 0; + d0Var.f888s = 0; + d0Var.t = 0; + d0Var.u = 0; + d0Var.v = 0; + } + } + } + this.m = AudioProcessor.a; + this.n = 0; + this.o = 0; + this.p = false; + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public ByteBuffer getOutput() { + int i; + d0 d0Var = this.j; + if (d0Var != null && (i = d0Var.m * d0Var.b * 2) > 0) { + if (this.k.capacity() < i) { + ByteBuffer order = ByteBuffer.allocateDirect(i).order(ByteOrder.nativeOrder()); + this.k = order; + this.l = order.asShortBuffer(); + } else { + this.k.clear(); + this.l.clear(); + } + ShortBuffer shortBuffer = this.l; + int min = Math.min(shortBuffer.remaining() / d0Var.b, d0Var.m); + shortBuffer.put(d0Var.l, 0, d0Var.b * min); + int i2 = d0Var.m - min; + d0Var.m = i2; + short[] sArr = d0Var.l; + int i3 = d0Var.b; + System.arraycopy(sArr, min * i3, sArr, 0, i2 * i3); + this.o += (long) i; + this.k.limit(i); + this.m = this.k; + } + ByteBuffer byteBuffer = this.m; + this.m = AudioProcessor.a; + return byteBuffer; + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public void reset() { + this.f889c = 1.0f; + this.d = 1.0f; + AudioProcessor.a aVar = AudioProcessor.a.a; + this.e = aVar; + this.f = aVar; + this.g = aVar; + this.h = aVar; + ByteBuffer byteBuffer = AudioProcessor.a; + this.k = byteBuffer; + this.l = byteBuffer.asShortBuffer(); + this.m = byteBuffer; + this.b = -1; + this.i = false; + this.j = null; + this.n = 0; + this.o = 0; + this.p = false; + } +} diff --git a/app/src/main/java/c/i/a/c/t2/f.java b/app/src/main/java/c/i/a/c/t2/f.java new file mode 100644 index 0000000000..5f9b133c77 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/f.java @@ -0,0 +1,29 @@ +package c.i.a.c.t2; + +import c.i.a.c.f3.e0; +import c.i.a.c.t2.r; +/* compiled from: lambda */ +public final /* synthetic */ class f implements Runnable { + public final /* synthetic */ r.a i; + public final /* synthetic */ String j; + public final /* synthetic */ long k; + public final /* synthetic */ long l; + + public /* synthetic */ f(r.a aVar, String str, long j, long j2) { + this.i = aVar; + this.j = str; + this.k = j; + this.l = j2; + } + + @Override // java.lang.Runnable + public final void run() { + r.a aVar = this.i; + String str = this.j; + long j = this.k; + long j2 = this.l; + r rVar = aVar.b; + int i = e0.a; + rVar.C(str, j, j2); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/f0.java b/app/src/main/java/c/i/a/c/t2/f0.java new file mode 100644 index 0000000000..c7925674f6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/f0.java @@ -0,0 +1,99 @@ +package c.i.a.c.t2; + +import c.i.a.c.f3.e0; +import com.google.android.exoplayer2.audio.AudioProcessor; +import java.nio.ByteBuffer; +/* compiled from: TrimmingAudioProcessor */ +public final class f0 extends v { + public int i; + public int j; + public boolean k; + public int l; + public byte[] m = e0.f; + public int n; + public long o; + + @Override // c.i.a.c.t2.v, com.google.android.exoplayer2.audio.AudioProcessor + public boolean b() { + return super.b() && this.n == 0; + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public void c(ByteBuffer byteBuffer) { + int position = byteBuffer.position(); + int limit = byteBuffer.limit(); + int i = limit - position; + if (i != 0) { + int min = Math.min(i, this.l); + this.o += (long) (min / this.b.e); + this.l -= min; + byteBuffer.position(position + min); + if (this.l <= 0) { + int i2 = i - min; + int length = (this.n + i2) - this.m.length; + ByteBuffer j = j(length); + int h = e0.h(length, 0, this.n); + j.put(this.m, 0, h); + int h2 = e0.h(length - h, 0, i2); + byteBuffer.limit(byteBuffer.position() + h2); + j.put(byteBuffer); + byteBuffer.limit(limit); + int i3 = i2 - h2; + int i4 = this.n - h; + this.n = i4; + byte[] bArr = this.m; + System.arraycopy(bArr, h, bArr, 0, i4); + byteBuffer.get(this.m, this.n, i3); + this.n += i3; + j.flip(); + } + } + } + + @Override // c.i.a.c.t2.v + public AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { + if (aVar.d == 2) { + this.k = true; + return (this.i == 0 && this.j == 0) ? AudioProcessor.a.a : aVar; + } + throw new AudioProcessor.UnhandledAudioFormatException(aVar); + } + + @Override // c.i.a.c.t2.v + public void g() { + if (this.k) { + this.k = false; + int i = this.j; + int i2 = this.b.e; + this.m = new byte[(i * i2)]; + this.l = this.i * i2; + } + this.n = 0; + } + + @Override // c.i.a.c.t2.v, com.google.android.exoplayer2.audio.AudioProcessor + public ByteBuffer getOutput() { + int i; + if (super.b() && (i = this.n) > 0) { + j(i).put(this.m, 0, this.n).flip(); + this.n = 0; + } + return super.getOutput(); + } + + @Override // c.i.a.c.t2.v + public void h() { + if (this.k) { + int i = this.n; + if (i > 0) { + this.o += (long) (i / this.b.e); + } + this.n = 0; + } + } + + @Override // c.i.a.c.t2.v + public void i() { + this.m = e0.f; + } +} diff --git a/app/src/main/java/c/i/a/c/t2/g.java b/app/src/main/java/c/i/a/c/t2/g.java new file mode 100644 index 0000000000..7243f379aa --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/g.java @@ -0,0 +1,23 @@ +package c.i.a.c.t2; + +import c.i.a.c.f3.e0; +import c.i.a.c.t2.r; +/* compiled from: lambda */ +public final /* synthetic */ class g implements Runnable { + public final /* synthetic */ r.a i; + public final /* synthetic */ String j; + + public /* synthetic */ g(r.a aVar, String str) { + this.i = aVar; + this.j = str; + } + + @Override // java.lang.Runnable + public final void run() { + r.a aVar = this.i; + String str = this.j; + r rVar = aVar.b; + int i = e0.a; + rVar.B(str); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/h.java b/app/src/main/java/c/i/a/c/t2/h.java new file mode 100644 index 0000000000..0c0f7ace09 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/h.java @@ -0,0 +1,23 @@ +package c.i.a.c.t2; + +import c.i.a.c.f3.e0; +import c.i.a.c.t2.r; +/* compiled from: lambda */ +public final /* synthetic */ class h implements Runnable { + public final /* synthetic */ r.a i; + public final /* synthetic */ long j; + + public /* synthetic */ h(r.a aVar, long j) { + this.i = aVar; + this.j = j; + } + + @Override // java.lang.Runnable + public final void run() { + r.a aVar = this.i; + long j = this.j; + r rVar = aVar.b; + int i = e0.a; + rVar.R(j); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/i.java b/app/src/main/java/c/i/a/c/t2/i.java new file mode 100644 index 0000000000..4c694547df --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/i.java @@ -0,0 +1,29 @@ +package c.i.a.c.t2; + +import c.i.a.c.f3.e0; +import c.i.a.c.t2.r; +/* compiled from: lambda */ +public final /* synthetic */ class i implements Runnable { + public final /* synthetic */ r.a i; + public final /* synthetic */ int j; + public final /* synthetic */ long k; + public final /* synthetic */ long l; + + public /* synthetic */ i(r.a aVar, int i, long j, long j2) { + this.i = aVar; + this.j = i; + this.k = j; + this.l = j2; + } + + @Override // java.lang.Runnable + public final void run() { + r.a aVar = this.i; + int i = this.j; + long j = this.k; + long j2 = this.l; + r rVar = aVar.b; + int i2 = e0.a; + rVar.e0(i, j, j2); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/j.java b/app/src/main/java/c/i/a/c/t2/j.java new file mode 100644 index 0000000000..670b6eb914 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/j.java @@ -0,0 +1,24 @@ +package c.i.a.c.t2; + +import c.i.a.c.f3.e0; +import c.i.a.c.t2.r; +import c.i.a.c.v2.e; +/* compiled from: lambda */ +public final /* synthetic */ class j implements Runnable { + public final /* synthetic */ r.a i; + public final /* synthetic */ e j; + + public /* synthetic */ j(r.a aVar, e eVar) { + this.i = aVar; + this.j = eVar; + } + + @Override // java.lang.Runnable + public final void run() { + r.a aVar = this.i; + e eVar = this.j; + r rVar = aVar.b; + int i = e0.a; + rVar.m(eVar); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/k.java b/app/src/main/java/c/i/a/c/t2/k.java new file mode 100644 index 0000000000..31f6e069b8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/k.java @@ -0,0 +1,17 @@ +package c.i.a.c.t2; + +import android.os.Handler; +import java.util.concurrent.Executor; +/* compiled from: lambda */ +public final /* synthetic */ class k implements Executor { + public final /* synthetic */ Handler i; + + public /* synthetic */ k(Handler handler) { + this.i = handler; + } + + @Override // java.util.concurrent.Executor + public final void execute(Runnable runnable) { + this.i.post(runnable); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/l.java b/app/src/main/java/c/i/a/c/t2/l.java new file mode 100644 index 0000000000..f8e8805a6d --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/l.java @@ -0,0 +1,121 @@ +package c.i.a.c.t2; + +import android.util.Log; +import c.i.a.c.f3.w; +import com.google.android.exoplayer2.ParserException; +/* compiled from: AacUtil */ +public final class l { + public static final int[] a = {96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, 7350}; + public static final int[] b = {0, 1, 2, 3, 4, 5, 6, 8, -1, -1, -1, 7, 8, -1, 8, -1}; + + /* compiled from: AacUtil */ + public static final class b { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final String f890c; + + public b(int i, int i2, String str, a aVar) { + this.a = i; + this.b = i2; + this.f890c = str; + } + } + + public static int a(w wVar) throws ParserException { + int g = wVar.g(4); + if (g == 15) { + return wVar.g(24); + } + if (g < 13) { + return a[g]; + } + throw ParserException.a(null, null); + } + + public static b b(w wVar, boolean z2) throws ParserException { + int g = wVar.g(5); + if (g == 31) { + g = wVar.g(6) + 32; + } + int a2 = a(wVar); + int g2 = wVar.g(4); + String f = c.d.b.a.a.f(19, "mp4a.40.", g); + if (g == 5 || g == 29) { + a2 = a(wVar); + int g3 = wVar.g(5); + if (g3 == 31) { + g3 = wVar.g(6) + 32; + } + g = g3; + if (g == 22) { + g2 = wVar.g(4); + } + } + if (z2) { + if (!(g == 1 || g == 2 || g == 3 || g == 4 || g == 6 || g == 7 || g == 17)) { + switch (g) { + case 19: + case 20: + case 21: + case 22: + case 23: + break; + default: + StringBuilder sb = new StringBuilder(42); + sb.append("Unsupported audio object type: "); + sb.append(g); + throw ParserException.b(sb.toString()); + } + } + if (wVar.f()) { + Log.w("AacUtil", "Unexpected frameLengthFlag = 1"); + } + if (wVar.f()) { + wVar.m(14); + } + boolean f2 = wVar.f(); + if (g2 != 0) { + if (g == 6 || g == 20) { + wVar.m(3); + } + if (f2) { + if (g == 22) { + wVar.m(16); + } + if (g == 17 || g == 19 || g == 20 || g == 23) { + wVar.m(3); + } + wVar.m(1); + } + switch (g) { + case 17: + case 19: + case 20: + case 21: + case 22: + case 23: + int g4 = wVar.g(2); + if (g4 == 2 || g4 == 3) { + StringBuilder sb2 = new StringBuilder(33); + sb2.append("Unsupported epConfig: "); + sb2.append(g4); + throw ParserException.b(sb2.toString()); + } + } + } else { + throw new UnsupportedOperationException(); + } + } + int i = b[g2]; + if (i != -1) { + return new b(a2, i, f, null); + } + throw ParserException.a(null, null); + } + + public static b c(byte[] bArr) throws ParserException { + return b(new w(bArr), false); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/m.java b/app/src/main/java/c/i/a/c/t2/m.java new file mode 100644 index 0000000000..0988c261f9 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/m.java @@ -0,0 +1,33 @@ +package c.i.a.c.t2; +/* compiled from: Ac3Util */ +public final class m { + public static final int[] a = {1, 2, 3, 6}; + public static final int[] b = {48000, 44100, 32000}; + + /* renamed from: c reason: collision with root package name */ + public static final int[] f891c = {24000, 22050, 16000}; + public static final int[] d = {2, 1, 2, 3, 3, 4, 4, 5}; + public static final int[] e = {32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 448, 512, 576, 640}; + public static final int[] f = {69, 87, 104, 121, 139, 174, 208, 243, 278, 348, 417, 487, 557, 696, 835, 975, 1114, 1253, 1393}; + + public static int a(int i, int i2) { + int i3 = i2 / 2; + if (i < 0) { + return -1; + } + int[] iArr = b; + if (i >= iArr.length || i2 < 0) { + return -1; + } + int[] iArr2 = f; + if (i3 >= iArr2.length) { + return -1; + } + int i4 = iArr[i]; + if (i4 == 44100) { + return ((i2 % 2) + iArr2[i3]) * 2; + } + int i5 = e[i3]; + return i4 == 32000 ? i5 * 6 : i5 * 4; + } +} diff --git a/app/src/main/java/c/i/a/c/t2/n.java b/app/src/main/java/c/i/a/c/t2/n.java new file mode 100644 index 0000000000..c10fef3062 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/n.java @@ -0,0 +1,115 @@ +package c.i.a.c.t2; + +import androidx.core.view.PointerIconCompat; +import c.i.a.c.f3.w; +import c.i.a.c.f3.x; +/* compiled from: Ac4Util */ +public final class n { + public static final int[] a = {2002, 2000, 1920, 1601, 1600, PointerIconCompat.TYPE_CONTEXT_MENU, 1000, 960, 800, 800, 480, 400, 400, 2048}; + + /* compiled from: Ac4Util */ + public static final class b { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f892c; + + public b(int i, int i2, int i3, int i4, int i5, a aVar) { + this.a = i3; + this.b = i4; + this.f892c = i5; + } + } + + public static void a(int i, x xVar) { + xVar.A(7); + byte[] bArr = xVar.a; + bArr[0] = -84; + bArr[1] = 64; + bArr[2] = -1; + bArr[3] = -1; + bArr[4] = (byte) ((i >> 16) & 255); + bArr[5] = (byte) ((i >> 8) & 255); + bArr[6] = (byte) (i & 255); + } + + /* JADX WARNING: Code restructure failed: missing block: B:39:0x0093, code lost: + if (r10 != 11) goto L_0x00a0; + */ + /* JADX WARNING: Code restructure failed: missing block: B:41:0x0098, code lost: + if (r10 != 11) goto L_0x00a0; + */ + /* JADX WARNING: Code restructure failed: missing block: B:43:0x009d, code lost: + if (r10 != 8) goto L_0x00a0; + */ + public static b b(w wVar) { + int i; + int i2; + int g; + int g2 = wVar.g(16); + int g3 = wVar.g(16); + if (g3 == 65535) { + g3 = wVar.g(24); + i = 7; + } else { + i = 4; + } + int i3 = g3 + i; + if (g2 == 44097) { + i3 += 2; + } + int g4 = wVar.g(2); + if (g4 == 3) { + int i4 = 0; + while (true) { + g = wVar.g(2) + i4; + if (!wVar.f()) { + break; + } + i4 = (g + 1) << 2; + } + g4 += g; + } + int g5 = wVar.g(10); + if (wVar.f() && wVar.g(3) > 0) { + wVar.m(2); + } + int i5 = wVar.f() ? 48000 : 44100; + int g6 = wVar.g(4); + if (i5 == 44100 && g6 == 13) { + i2 = a[g6]; + } else { + if (i5 == 48000) { + int[] iArr = a; + if (g6 < iArr.length) { + int i6 = iArr[g6]; + int i7 = g5 % 5; + if (i7 != 1) { + if (i7 == 2) { + if (g6 != 8) { + } + i6++; + i2 = i6; + } else if (i7 != 3) { + if (i7 == 4) { + if (g6 != 3) { + if (g6 != 8) { + } + } + i6++; + } + i2 = i6; + } + } + if (g6 != 3) { + } + i6++; + i2 = i6; + } + } + i2 = 0; + } + return new b(g4, 2, i5, i3, i2, null); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/o.java b/app/src/main/java/c/i/a/c/t2/o.java new file mode 100644 index 0000000000..fe63374040 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/o.java @@ -0,0 +1,51 @@ +package c.i.a.c.t2; + +import android.media.AudioAttributes; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import c.i.a.c.f3.e0; +import c.i.a.c.w0; +/* compiled from: AudioAttributes */ +public final class o implements w0 { + public static final o i = new o(0, 0, 1, 1, null); + public final int j; + public final int k; + public final int l; + public final int m; + @Nullable + public AudioAttributes n; + + public o(int i2, int i3, int i4, int i5, a aVar) { + this.j = i2; + this.k = i3; + this.l = i4; + this.m = i5; + } + + @RequiresApi(21) + public AudioAttributes a() { + if (this.n == null) { + AudioAttributes.Builder usage = new AudioAttributes.Builder().setContentType(this.j).setFlags(this.k).setUsage(this.l); + if (e0.a >= 29) { + usage.setAllowedCapturePolicy(this.m); + } + this.n = usage.build(); + } + return this.n; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || o.class != obj.getClass()) { + return false; + } + o oVar = (o) obj; + return this.j == oVar.j && this.k == oVar.k && this.l == oVar.l && this.m == oVar.m; + } + + public int hashCode() { + return ((((((527 + this.j) * 31) + this.k) * 31) + this.l) * 31) + this.m; + } +} diff --git a/app/src/main/java/c/i/a/c/t2/p.java b/app/src/main/java/c/i/a/c/t2/p.java new file mode 100644 index 0000000000..364de214e1 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/p.java @@ -0,0 +1,106 @@ +package c.i.a.c.t2; + +import android.media.AudioAttributes; +import android.media.AudioFormat; +import android.media.AudioTrack; +import androidx.annotation.DoNotInline; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import c.i.a.f.e.o.f; +import c.i.b.b.n; +import java.util.Arrays; +import java.util.Objects; +/* compiled from: AudioCapabilities */ +public final class p { + public static final p a = new p(new int[]{2}, 8); + public static final p b = new p(new int[]{2, 5, 6}, 8); + + /* renamed from: c reason: collision with root package name */ + public static final int[] f893c = {5, 6, 18, 17, 14, 7, 8}; + public final int[] d; + public final int e; + + /* compiled from: AudioCapabilities */ + @RequiresApi(29) + public static final class a { + @DoNotInline + public static int[] a() { + c.i.b.b.a aVar = c.i.b.b.p.j; + f.v(4, "initialCapacity"); + Object[] objArr = new Object[4]; + int[] iArr = p.f893c; + int i = 0; + boolean z2 = false; + for (int i2 : iArr) { + if (AudioTrack.isDirectPlaybackSupported(new AudioFormat.Builder().setChannelMask(12).setEncoding(i2).setSampleRate(48000).build(), new AudioAttributes.Builder().setUsage(1).setContentType(3).setFlags(0).build())) { + Integer valueOf = Integer.valueOf(i2); + Objects.requireNonNull(valueOf); + int i3 = i + 1; + if (objArr.length < i3) { + objArr = Arrays.copyOf(objArr, n.b.a(objArr.length, i3)); + } else { + if (z2) { + objArr = (Object[]) objArr.clone(); + } + objArr[i] = valueOf; + i++; + } + z2 = false; + objArr[i] = valueOf; + i++; + } + } + Objects.requireNonNull(2); + int i4 = i + 1; + if (objArr.length < i4) { + objArr = Arrays.copyOf(objArr, n.b.a(objArr.length, i4)); + } else if (z2) { + objArr = (Object[]) objArr.clone(); + } + objArr[i] = 2; + return f.Z0(c.i.b.b.p.l(objArr, i + 1)); + } + } + + public p(@Nullable int[] iArr, int i) { + if (iArr != null) { + int[] copyOf = Arrays.copyOf(iArr, iArr.length); + this.d = copyOf; + Arrays.sort(copyOf); + } else { + this.d = new int[0]; + } + this.e = i; + } + + public boolean a(int i) { + return Arrays.binarySearch(this.d, i) >= 0; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof p)) { + return false; + } + p pVar = (p) obj; + return Arrays.equals(this.d, pVar.d) && this.e == pVar.e; + } + + public int hashCode() { + return (Arrays.hashCode(this.d) * 31) + this.e; + } + + public String toString() { + int i = this.e; + String arrays = Arrays.toString(this.d); + StringBuilder sb = new StringBuilder(String.valueOf(arrays).length() + 67); + sb.append("AudioCapabilities[maxChannelCount="); + sb.append(i); + sb.append(", supportedEncodings="); + sb.append(arrays); + sb.append("]"); + return sb.toString(); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/q.java b/app/src/main/java/c/i/a/c/t2/q.java new file mode 100644 index 0000000000..000fb452e2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/q.java @@ -0,0 +1,9 @@ +package c.i.a.c.t2; + +import c.i.a.c.j1; +/* compiled from: AudioRendererEventListener */ +public final /* synthetic */ class q { + @Deprecated + public static void a(r rVar, j1 j1Var) { + } +} diff --git a/app/src/main/java/c/i/a/c/t2/r.java b/app/src/main/java/c/i/a/c/t2/r.java new file mode 100644 index 0000000000..3e970ddee3 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/r.java @@ -0,0 +1,61 @@ +package c.i.a.c.t2; + +import android.os.Handler; +import androidx.annotation.Nullable; +import c.i.a.c.j1; +import c.i.a.c.v2.e; +import c.i.a.c.v2.g; +import java.util.Objects; +/* compiled from: AudioRendererEventListener */ +public interface r { + + /* compiled from: AudioRendererEventListener */ + public static final class a { + @Nullable + public final Handler a; + @Nullable + public final r b; + + public a(@Nullable Handler handler, @Nullable r rVar) { + if (rVar != null) { + Objects.requireNonNull(handler); + } else { + handler = null; + } + this.a = handler; + this.b = rVar; + } + + public void a(e eVar) { + synchronized (eVar) { + } + Handler handler = this.a; + if (handler != null) { + handler.post(new b(this, eVar)); + } + } + } + + void B(String str); + + void C(String str, long j, long j2); + + void I(j1 j1Var, @Nullable g gVar); + + void N(Exception exc); + + void R(long j); + + void T(Exception exc); + + @Deprecated + void U(j1 j1Var); + + void d(boolean z2); + + void e0(int i, long j, long j2); + + void k(e eVar); + + void m(e eVar); +} diff --git a/app/src/main/java/c/i/a/c/t2/s.java b/app/src/main/java/c/i/a/c/t2/s.java new file mode 100644 index 0000000000..ef8f6cd430 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/s.java @@ -0,0 +1,69 @@ +package c.i.a.c.t2; + +import android.media.AudioTimestamp; +import android.media.AudioTrack; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import c.i.a.c.f3.e0; +/* compiled from: AudioTimestampPoller */ +public final class s { + @Nullable + public final a a; + public int b; + + /* renamed from: c reason: collision with root package name */ + public long f894c; + public long d; + public long e; + public long f; + + /* compiled from: AudioTimestampPoller */ + @RequiresApi(19) + public static final class a { + public final AudioTrack a; + public final AudioTimestamp b = new AudioTimestamp(); + + /* renamed from: c reason: collision with root package name */ + public long f895c; + public long d; + public long e; + + public a(AudioTrack audioTrack) { + this.a = audioTrack; + } + } + + public s(AudioTrack audioTrack) { + if (e0.a >= 19) { + this.a = new a(audioTrack); + a(); + return; + } + this.a = null; + b(3); + } + + public void a() { + if (this.a != null) { + b(0); + } + } + + public final void b(int i) { + this.b = i; + if (i == 0) { + this.e = 0; + this.f = -1; + this.f894c = System.nanoTime() / 1000; + this.d = 10000; + } else if (i == 1) { + this.d = 10000; + } else if (i == 2 || i == 3) { + this.d = 10000000; + } else if (i == 4) { + this.d = 500000; + } else { + throw new IllegalStateException(); + } + } +} diff --git a/app/src/main/java/c/i/a/c/t2/t.java b/app/src/main/java/c/i/a/c/t2/t.java new file mode 100644 index 0000000000..73dc955ea8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/t.java @@ -0,0 +1,178 @@ +package c.i.a.c.t2; + +import android.media.AudioTrack; +import android.os.SystemClock; +import androidx.annotation.Nullable; +import c.i.a.c.f3.e0; +import java.lang.reflect.Method; +import java.util.Objects; +/* compiled from: AudioTrackPositionTracker */ +public final class t { + public long A; + public long B; + public long C; + public boolean D; + public long E; + public long F; + public final a a; + public final long[] b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public AudioTrack f896c; + public int d; + public int e; + @Nullable + public s f; + public int g; + public boolean h; + public long i; + public float j; + public boolean k; + public long l; + public long m; + @Nullable + public Method n; + public long o; + public boolean p; + public boolean q; + public long r; + + /* renamed from: s reason: collision with root package name */ + public long f897s; + public long t; + public long u; + public int v; + public int w; + + /* renamed from: x reason: collision with root package name */ + public long f898x; + + /* renamed from: y reason: collision with root package name */ + public long f899y; + + /* renamed from: z reason: collision with root package name */ + public long f900z; + + /* compiled from: AudioTrackPositionTracker */ + public interface a { + void a(long j); + + void b(int i, long j); + + void c(long j); + + void d(long j, long j2, long j3, long j4); + + void e(long j, long j2, long j3, long j4); + } + + public t(a aVar) { + this.a = aVar; + if (e0.a >= 18) { + try { + this.n = AudioTrack.class.getMethod("getLatency", null); + } catch (NoSuchMethodException unused) { + } + } + this.b = new long[10]; + } + + public final long a(long j) { + return (j * 1000000) / ((long) this.g); + } + + public final long b() { + AudioTrack audioTrack = this.f896c; + Objects.requireNonNull(audioTrack); + if (this.f898x != -9223372036854775807L) { + return Math.min(this.A, this.f900z + ((((SystemClock.elapsedRealtime() * 1000) - this.f898x) * ((long) this.g)) / 1000000)); + } + int playState = audioTrack.getPlayState(); + if (playState == 1) { + return 0; + } + long playbackHeadPosition = 4294967295L & ((long) audioTrack.getPlaybackHeadPosition()); + if (this.h) { + if (playState == 2 && playbackHeadPosition == 0) { + this.u = this.f897s; + } + playbackHeadPosition += this.u; + } + if (e0.a <= 29) { + if (playbackHeadPosition == 0 && this.f897s > 0 && playState == 3) { + if (this.f899y == -9223372036854775807L) { + this.f899y = SystemClock.elapsedRealtime(); + } + return this.f897s; + } + this.f899y = -9223372036854775807L; + } + if (this.f897s > playbackHeadPosition) { + this.t++; + } + this.f897s = playbackHeadPosition; + return playbackHeadPosition + (this.t << 32); + } + + /* JADX WARNING: Removed duplicated region for block: B:12:? A[RETURN, SYNTHETIC] */ + public boolean c(long j) { + boolean z2; + if (j <= b()) { + if (this.h) { + AudioTrack audioTrack = this.f896c; + Objects.requireNonNull(audioTrack); + if (audioTrack.getPlayState() == 2 && b() == 0) { + z2 = true; + if (z2) { + return false; + } + } + } + z2 = false; + if (z2) { + } + } + return true; + } + + public void d() { + this.l = 0; + this.w = 0; + this.v = 0; + this.m = 0; + this.C = 0; + this.F = 0; + this.k = false; + this.f896c = null; + this.f = null; + } + + /* JADX WARNING: Code restructure failed: missing block: B:10:0x0026, code lost: + if ((c.i.a.c.f3.e0.a < 23 && (r5 == 5 || r5 == 6)) != false) goto L_0x002a; + */ + public void e(AudioTrack audioTrack, boolean z2, int i, int i2, int i3) { + this.f896c = audioTrack; + this.d = i2; + this.e = i3; + this.f = new s(audioTrack); + this.g = audioTrack.getSampleRate(); + boolean z3 = true; + if (z2) { + } + z3 = false; + this.h = z3; + boolean z4 = e0.z(i); + this.q = z4; + this.i = z4 ? a((long) (i3 / i2)) : -9223372036854775807L; + this.f897s = 0; + this.t = 0; + this.u = 0; + this.p = false; + this.f898x = -9223372036854775807L; + this.f899y = -9223372036854775807L; + this.r = 0; + this.o = 0; + this.j = 1.0f; + } +} diff --git a/app/src/main/java/c/i/a/c/t2/u.java b/app/src/main/java/c/i/a/c/t2/u.java new file mode 100644 index 0000000000..ca7eeaf14e --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/u.java @@ -0,0 +1,28 @@ +package c.i.a.c.t2; + +import androidx.annotation.Nullable; +/* compiled from: AuxEffectInfo */ +public final class u { + public final int a; + public final float b; + + public u(int i, float f) { + this.a = i; + this.b = f; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || u.class != obj.getClass()) { + return false; + } + u uVar = (u) obj; + return this.a == uVar.a && Float.compare(uVar.b, this.b) == 0; + } + + public int hashCode() { + return Float.floatToIntBits(this.b) + ((527 + this.a) * 31); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/v.java b/app/src/main/java/c/i/a/c/t2/v.java new file mode 100644 index 0000000000..788b1aa7ce --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/v.java @@ -0,0 +1,104 @@ +package c.i.a.c.t2; + +import androidx.annotation.CallSuper; +import com.google.android.exoplayer2.audio.AudioProcessor; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; +/* compiled from: BaseAudioProcessor */ +public abstract class v implements AudioProcessor { + public AudioProcessor.a b; + + /* renamed from: c reason: collision with root package name */ + public AudioProcessor.a f901c; + public AudioProcessor.a d; + public AudioProcessor.a e; + public ByteBuffer f; + public ByteBuffer g; + public boolean h; + + public v() { + ByteBuffer byteBuffer = AudioProcessor.a; + this.f = byteBuffer; + this.g = byteBuffer; + AudioProcessor.a aVar = AudioProcessor.a.a; + this.d = aVar; + this.e = aVar; + this.b = aVar; + this.f901c = aVar; + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public boolean a() { + return this.e != AudioProcessor.a.a; + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + @CallSuper + public boolean b() { + return this.h && this.g == AudioProcessor.a; + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public final AudioProcessor.a d(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { + this.d = aVar; + this.e = f(aVar); + return a() ? this.e : AudioProcessor.a.a; + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public final void e() { + this.h = true; + h(); + } + + public abstract AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException; + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public final void flush() { + this.g = AudioProcessor.a; + this.h = false; + this.b = this.d; + this.f901c = this.e; + g(); + } + + public void g() { + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + @CallSuper + public ByteBuffer getOutput() { + ByteBuffer byteBuffer = this.g; + this.g = AudioProcessor.a; + return byteBuffer; + } + + public void h() { + } + + public void i() { + } + + public final ByteBuffer j(int i) { + if (this.f.capacity() < i) { + this.f = ByteBuffer.allocateDirect(i).order(ByteOrder.nativeOrder()); + } else { + this.f.clear(); + } + ByteBuffer byteBuffer = this.f; + this.g = byteBuffer; + return byteBuffer; + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public final void reset() { + flush(); + this.f = AudioProcessor.a; + AudioProcessor.a aVar = AudioProcessor.a.a; + this.d = aVar; + this.e = aVar; + this.b = aVar; + this.f901c = aVar; + i(); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/w.java b/app/src/main/java/c/i/a/c/t2/w.java new file mode 100644 index 0000000000..07a15f8f40 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/w.java @@ -0,0 +1,64 @@ +package c.i.a.c.t2; + +import androidx.annotation.Nullable; +import com.google.android.exoplayer2.audio.AudioProcessor; +import java.nio.ByteBuffer; +import java.util.Objects; +/* compiled from: ChannelMappingAudioProcessor */ +public final class w extends v { + @Nullable + public int[] i; + @Nullable + public int[] j; + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public void c(ByteBuffer byteBuffer) { + int[] iArr = this.j; + Objects.requireNonNull(iArr); + int position = byteBuffer.position(); + int limit = byteBuffer.limit(); + ByteBuffer j = j(((limit - position) / this.b.e) * this.f901c.e); + while (position < limit) { + for (int i : iArr) { + j.putShort(byteBuffer.getShort((i * 2) + position)); + } + position += this.b.e; + } + byteBuffer.position(limit); + j.flip(); + } + + @Override // c.i.a.c.t2.v + public AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { + int[] iArr = this.i; + if (iArr == null) { + return AudioProcessor.a.a; + } + if (aVar.d == 2) { + boolean z2 = aVar.f2306c != iArr.length; + int i = 0; + while (i < iArr.length) { + int i2 = iArr[i]; + if (i2 < aVar.f2306c) { + z2 |= i2 != i; + i++; + } else { + throw new AudioProcessor.UnhandledAudioFormatException(aVar); + } + } + return z2 ? new AudioProcessor.a(aVar.b, iArr.length, 2) : AudioProcessor.a.a; + } + throw new AudioProcessor.UnhandledAudioFormatException(aVar); + } + + @Override // c.i.a.c.t2.v + public void g() { + this.j = this.i; + } + + @Override // c.i.a.c.t2.v + public void i() { + this.j = null; + this.i = null; + } +} diff --git a/app/src/main/java/c/i/a/c/t2/x.java b/app/src/main/java/c/i/a/c/t2/x.java new file mode 100644 index 0000000000..e1aacd7490 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/x.java @@ -0,0 +1,9 @@ +package c.i.a.c.t2; +/* compiled from: DtsUtil */ +public final class x { + public static final int[] a = {1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 6, 6, 6, 7, 8, 8}; + public static final int[] b = {-1, 8000, 16000, 32000, -1, -1, 11025, 22050, 44100, -1, -1, 12000, 24000, 48000, -1, -1}; + + /* renamed from: c reason: collision with root package name */ + public static final int[] f902c = {64, 112, 128, 192, 224, 256, 384, 448, 512, 640, 768, 896, 1024, 1152, 1280, 1536, 1920, 2048, 2304, 2560, 2688, 2816, 2823, 2944, 3072, 3840, 4096, 6144, 7680}; +} diff --git a/app/src/main/java/c/i/a/c/t2/y.java b/app/src/main/java/c/i/a/c/t2/y.java new file mode 100644 index 0000000000..cd747722c0 --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/y.java @@ -0,0 +1,52 @@ +package c.i.a.c.t2; + +import c.i.a.c.f3.e0; +import com.google.android.exoplayer2.audio.AudioProcessor; +import java.nio.ByteBuffer; +/* compiled from: FloatResamplingAudioProcessor */ +public final class y extends v { + public static final int i = Float.floatToIntBits(Float.NaN); + + public static void k(int i2, ByteBuffer byteBuffer) { + int floatToIntBits = Float.floatToIntBits((float) (((double) i2) * 4.656612875245797E-10d)); + if (floatToIntBits == i) { + floatToIntBits = Float.floatToIntBits(0.0f); + } + byteBuffer.putInt(floatToIntBits); + } + + @Override // com.google.android.exoplayer2.audio.AudioProcessor + public void c(ByteBuffer byteBuffer) { + ByteBuffer byteBuffer2; + int position = byteBuffer.position(); + int limit = byteBuffer.limit(); + int i2 = limit - position; + int i3 = this.b.d; + if (i3 == 536870912) { + byteBuffer2 = j((i2 / 3) * 4); + while (position < limit) { + k(((byteBuffer.get(position) & 255) << 8) | ((byteBuffer.get(position + 1) & 255) << 16) | ((byteBuffer.get(position + 2) & 255) << 24), byteBuffer2); + position += 3; + } + } else if (i3 == 805306368) { + byteBuffer2 = j(i2); + while (position < limit) { + k((byteBuffer.get(position) & 255) | ((byteBuffer.get(position + 1) & 255) << 8) | ((byteBuffer.get(position + 2) & 255) << 16) | ((byteBuffer.get(position + 3) & 255) << 24), byteBuffer2); + position += 4; + } + } else { + throw new IllegalStateException(); + } + byteBuffer.position(byteBuffer.limit()); + byteBuffer2.flip(); + } + + @Override // c.i.a.c.t2.v + public AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { + int i2 = aVar.d; + if (e0.y(i2)) { + return i2 != 4 ? new AudioProcessor.a(aVar.b, aVar.f2306c, 4) : AudioProcessor.a.a; + } + throw new AudioProcessor.UnhandledAudioFormatException(aVar); + } +} diff --git a/app/src/main/java/c/i/a/c/t2/z.java b/app/src/main/java/c/i/a/c/t2/z.java new file mode 100644 index 0000000000..81389aff9e --- /dev/null +++ b/app/src/main/java/c/i/a/c/t2/z.java @@ -0,0 +1,547 @@ +package c.i.a.c.t2; + +import android.content.Context; +import android.media.MediaCrypto; +import android.media.MediaFormat; +import android.os.Handler; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f2; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.q; +import c.i.a.c.f3.s; +import c.i.a.c.h2; +import c.i.a.c.j1; +import c.i.a.c.k1; +import c.i.a.c.t2.r; +import c.i.a.c.v2.e; +import c.i.a.c.v2.g; +import c.i.a.c.x1; +import c.i.a.c.y2.t; +import c.i.a.c.y2.u; +import c.i.a.c.y2.v; +import com.google.android.exoplayer2.ExoPlaybackException; +import com.google.android.exoplayer2.audio.AudioSink; +import com.google.android.exoplayer2.decoder.DecoderInputBuffer; +import com.google.android.exoplayer2.drm.DrmSession; +import com.google.android.exoplayer2.mediacodec.MediaCodecRenderer; +import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; +import java.nio.ByteBuffer; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Objects; +import java.util.regex.Pattern; +/* compiled from: MediaCodecAudioRenderer */ +public class z extends MediaCodecRenderer implements s { + public final Context M0; + public final r.a N0; + public final AudioSink O0; + public int P0; + public boolean Q0; + @Nullable + public j1 R0; + public long S0; + public boolean T0; + public boolean U0; + public boolean V0; + @Nullable + public f2.a W0; + + /* compiled from: MediaCodecAudioRenderer */ + public final class b implements AudioSink.a { + public b(a aVar) { + } + + public void a(Exception exc) { + q.b("MediaCodecAudioRenderer", "Audio sink error", exc); + r.a aVar = z.this.N0; + Handler handler = aVar.a; + if (handler != null) { + handler.post(new d(aVar, exc)); + } + } + } + + public z(Context context, t.b bVar, v vVar, boolean z2, @Nullable Handler handler, @Nullable r rVar, AudioSink audioSink) { + super(1, bVar, vVar, z2, 44100.0f); + this.M0 = context.getApplicationContext(); + this.O0 = audioSink; + this.N0 = new r.a(handler, rVar); + audioSink.t(new b(null)); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.v0 + public void B() { + this.V0 = true; + try { + this.O0.flush(); + try { + super.B(); + } finally { + this.N0.a(this.I0); + } + } catch (Throwable th) { + super.B(); + throw th; + } finally { + this.N0.a(this.I0); + } + } + + @Override // c.i.a.c.v0 + public void C(boolean z2, boolean z3) throws ExoPlaybackException { + e eVar = new e(); + this.I0 = eVar; + r.a aVar = this.N0; + Handler handler = aVar.a; + if (handler != null) { + handler.post(new j(aVar, eVar)); + } + h2 h2Var = this.k; + Objects.requireNonNull(h2Var); + if (h2Var.b) { + this.O0.r(); + } else { + this.O0.n(); + } + } + + public final int C0(u uVar, j1 j1Var) { + int i; + if (!"OMX.google.raw.decoder".equals(uVar.a) || (i = e0.a) >= 24 || (i == 23 && e0.A(this.M0))) { + return j1Var.w; + } + return -1; + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.v0 + public void D(long j, boolean z2) throws ExoPlaybackException { + super.D(j, z2); + this.O0.flush(); + this.S0 = j; + this.T0 = true; + this.U0 = true; + } + + public final void D0() { + long m = this.O0.m(b()); + if (m != Long.MIN_VALUE) { + if (!this.U0) { + m = Math.max(this.S0, m); + } + this.S0 = m; + this.U0 = false; + } + } + + @Override // c.i.a.c.v0 + public void E() { + DrmSession drmSession = null; + boolean z2 = false; + try { + M(); + o0(); + try { + } finally { + if (this.V0) { + this.V0 = z2; + this.O0.reset(); + } + } + } finally { + u0(drmSession); + } + } + + @Override // c.i.a.c.v0 + public void F() { + this.O0.e(); + } + + @Override // c.i.a.c.v0 + public void G() { + D0(); + this.O0.d(); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public g K(u uVar, j1 j1Var, j1 j1Var2) { + g c2 = uVar.c(j1Var, j1Var2); + int i = c2.e; + if (C0(uVar, j1Var2) > this.P0) { + i |= 64; + } + return new g(uVar.a, j1Var, j1Var2, i != 0 ? 0 : c2.d, i); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public float V(float f, j1 j1Var, j1[] j1VarArr) { + int i = -1; + for (j1 j1Var2 : j1VarArr) { + int i2 = j1Var2.J; + if (i2 != -1) { + i = Math.max(i, i2); + } + } + if (i == -1) { + return -1.0f; + } + return f * ((float) i); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public List W(v vVar, j1 j1Var, boolean z2) throws MediaCodecUtil.DecoderQueryException { + u d; + String str = j1Var.v; + if (str == null) { + return Collections.emptyList(); + } + if (this.O0.a(j1Var) && (d = MediaCodecUtil.d("audio/raw", false, false)) != null) { + return Collections.singletonList(d); + } + List a2 = vVar.a(str, z2, false); + Pattern pattern = MediaCodecUtil.a; + ArrayList arrayList = new ArrayList(a2); + MediaCodecUtil.j(arrayList, new c.i.a.c.y2.g(j1Var)); + if ("audio/eac3-joc".equals(str)) { + ArrayList arrayList2 = new ArrayList(arrayList); + arrayList2.addAll(vVar.a("audio/eac3", z2, false)); + arrayList = arrayList2; + } + return Collections.unmodifiableList(arrayList); + } + + /* JADX WARNING: Removed duplicated region for block: B:24:0x0092 */ + /* JADX WARNING: Removed duplicated region for block: B:34:0x00b6 */ + /* JADX WARNING: Removed duplicated region for block: B:42:0x00d2 */ + /* JADX WARNING: Removed duplicated region for block: B:51:0x0109 */ + /* JADX WARNING: Removed duplicated region for block: B:52:0x010b */ + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public t.a Y(u uVar, j1 j1Var, @Nullable MediaCrypto mediaCrypto, float f) { + boolean z2; + MediaFormat mediaFormat; + boolean z3; + j1[] j1VarArr = this.o; + Objects.requireNonNull(j1VarArr); + int C0 = C0(uVar, j1Var); + boolean z4 = false; + if (j1VarArr.length != 1) { + for (j1 j1Var2 : j1VarArr) { + if (uVar.c(j1Var, j1Var2).d != 0) { + C0 = Math.max(C0, C0(uVar, j1Var2)); + } + } + } + this.P0 = C0; + String str = uVar.a; + int i = e0.a; + if (i < 24 && "OMX.SEC.aac.dec".equals(str) && "samsung".equals(e0.f782c)) { + String str2 = e0.b; + if (str2.startsWith("zeroflte") || str2.startsWith("herolte") || str2.startsWith("heroqlte")) { + z2 = true; + this.Q0 = z2; + String str3 = uVar.f1049c; + int i2 = this.P0; + mediaFormat = new MediaFormat(); + mediaFormat.setString("mime", str3); + mediaFormat.setInteger("channel-count", j1Var.I); + mediaFormat.setInteger("sample-rate", j1Var.J); + d.W1(mediaFormat, j1Var.f820x); + d.h1(mediaFormat, "max-input-size", i2); + if (i >= 23) { + mediaFormat.setInteger("priority", 0); + if (f != -1.0f) { + if (i == 23) { + String str4 = e0.d; + if ("ZTE B2017G".equals(str4) || "AXON 7 mini".equals(str4)) { + z3 = true; + if (!z3) { + mediaFormat.setFloat("operating-rate", f); + } + } + } + z3 = false; + if (!z3) { + } + } + } + if (i <= 28 && "audio/ac4".equals(j1Var.v)) { + mediaFormat.setInteger("ac4-is-sync", 1); + } + if (i >= 24) { + AudioSink audioSink = this.O0; + int i3 = j1Var.I; + int i4 = j1Var.J; + j1.b bVar = new j1.b(); + bVar.k = "audio/raw"; + bVar.f825x = i3; + bVar.f826y = i4; + bVar.f827z = 4; + if (audioSink.u(bVar.a()) == 2) { + mediaFormat.setInteger("pcm-encoding", 4); + } + } + if ("audio/raw".equals(uVar.b) && !"audio/raw".equals(j1Var.v)) { + z4 = true; + } + this.R0 = !z4 ? j1Var : null; + return new t.a(uVar, mediaFormat, j1Var, null, mediaCrypto, 0, false); + } + } + z2 = false; + this.Q0 = z2; + String str3 = uVar.f1049c; + int i2 = this.P0; + mediaFormat = new MediaFormat(); + mediaFormat.setString("mime", str3); + mediaFormat.setInteger("channel-count", j1Var.I); + mediaFormat.setInteger("sample-rate", j1Var.J); + d.W1(mediaFormat, j1Var.f820x); + d.h1(mediaFormat, "max-input-size", i2); + if (i >= 23) { + } + mediaFormat.setInteger("ac4-is-sync", 1); + if (i >= 24) { + } + z4 = true; + this.R0 = !z4 ? j1Var : null; + return new t.a(uVar, mediaFormat, j1Var, null, mediaCrypto, 0, false); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.f2 + public boolean b() { + return this.E0 && this.O0.b(); + } + + @Override // c.i.a.c.f3.s + public x1 c() { + return this.O0.c(); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.f2 + public boolean d() { + return this.O0.k() || super.d(); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public void d0(Exception exc) { + q.b("MediaCodecAudioRenderer", "Audio codec error", exc); + r.a aVar = this.N0; + Handler handler = aVar.a; + if (handler != null) { + handler.post(new c(aVar, exc)); + } + } + + @Override // c.i.a.c.f3.s + public long e() { + if (this.m == 2) { + D0(); + } + return this.S0; + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public void e0(String str, long j, long j2) { + r.a aVar = this.N0; + Handler handler = aVar.a; + if (handler != null) { + handler.post(new f(aVar, str, j, j2)); + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public void f0(String str) { + r.a aVar = this.N0; + Handler handler = aVar.a; + if (handler != null) { + handler.post(new g(aVar, str)); + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + @Nullable + public g g0(k1 k1Var) throws ExoPlaybackException { + g g02 = super.g0(k1Var); + r.a aVar = this.N0; + j1 j1Var = k1Var.b; + Handler handler = aVar.a; + if (handler != null) { + handler.post(new e(aVar, j1Var, g02)); + } + return g02; + } + + @Override // c.i.a.c.f2, c.i.a.c.g2 + public String getName() { + return "MediaCodecAudioRenderer"; + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public void h0(j1 j1Var, @Nullable MediaFormat mediaFormat) throws ExoPlaybackException { + int i; + j1 j1Var2 = this.R0; + int[] iArr = null; + if (j1Var2 != null) { + j1Var = j1Var2; + } else if (this.R != null) { + int r = "audio/raw".equals(j1Var.v) ? j1Var.K : (e0.a < 24 || !mediaFormat.containsKey("pcm-encoding")) ? mediaFormat.containsKey("v-bits-per-sample") ? e0.r(mediaFormat.getInteger("v-bits-per-sample")) : "audio/raw".equals(j1Var.v) ? j1Var.K : 2 : mediaFormat.getInteger("pcm-encoding"); + j1.b bVar = new j1.b(); + bVar.k = "audio/raw"; + bVar.f827z = r; + bVar.A = j1Var.L; + bVar.B = j1Var.M; + bVar.f825x = mediaFormat.getInteger("channel-count"); + bVar.f826y = mediaFormat.getInteger("sample-rate"); + j1 a2 = bVar.a(); + if (this.Q0 && a2.I == 6 && (i = j1Var.I) < 6) { + iArr = new int[i]; + for (int i2 = 0; i2 < j1Var.I; i2++) { + iArr[i2] = i2; + } + } + j1Var = a2; + } + try { + this.O0.v(j1Var, 0, iArr); + } catch (AudioSink.ConfigurationException e) { + throw z(e, e.format, false, 5001); + } + } + + @Override // c.i.a.c.f3.s + public void i(x1 x1Var) { + this.O0.i(x1Var); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public void j0() { + this.O0.p(); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public void k0(DecoderInputBuffer decoderInputBuffer) { + if (this.T0 && !decoderInputBuffer.m()) { + if (Math.abs(decoderInputBuffer.m - this.S0) > 500000) { + this.S0 = decoderInputBuffer.m; + } + this.T0 = false; + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public boolean m0(long j, long j2, @Nullable t tVar, @Nullable ByteBuffer byteBuffer, int i, int i2, int i3, long j3, boolean z2, boolean z3, j1 j1Var) throws ExoPlaybackException { + Objects.requireNonNull(byteBuffer); + if (this.R0 != null && (i2 & 2) != 0) { + Objects.requireNonNull(tVar); + tVar.releaseOutputBuffer(i, false); + return true; + } else if (z2) { + if (tVar != null) { + tVar.releaseOutputBuffer(i, false); + } + this.I0.f += i3; + this.O0.p(); + return true; + } else { + try { + if (!this.O0.s(byteBuffer, j3, i3)) { + return false; + } + if (tVar != null) { + tVar.releaseOutputBuffer(i, false); + } + this.I0.e += i3; + return true; + } catch (AudioSink.InitializationException e) { + throw z(e, e.format, e.isRecoverable, 5001); + } catch (AudioSink.WriteException e2) { + throw z(e2, j1Var, e2.isRecoverable, 5002); + } + } + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public void p0() throws ExoPlaybackException { + try { + this.O0.j(); + } catch (AudioSink.WriteException e) { + throw z(e, e.format, e.isRecoverable, 5002); + } + } + + @Override // c.i.a.c.v0, c.i.a.c.b2.b + public void r(int i, @Nullable Object obj) throws ExoPlaybackException { + if (i == 2) { + this.O0.q(((Float) obj).floatValue()); + } else if (i == 3) { + this.O0.o((o) obj); + } else if (i != 6) { + switch (i) { + case 9: + this.O0.w(((Boolean) obj).booleanValue()); + return; + case 10: + this.O0.l(((Integer) obj).intValue()); + return; + case 11: + this.W0 = (f2.a) obj; + return; + default: + return; + } + } else { + this.O0.x((u) obj); + } + } + + @Override // c.i.a.c.v0, c.i.a.c.f2 + @Nullable + public s w() { + return this; + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public boolean x0(j1 j1Var) { + return this.O0.a(j1Var); + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer + public int y0(v vVar, j1 j1Var) throws MediaCodecUtil.DecoderQueryException { + if (!c.i.a.c.f3.t.h(j1Var.v)) { + return 0; + } + int i = e0.a >= 21 ? 32 : 0; + int i2 = j1Var.O; + boolean z2 = i2 != 0; + boolean z3 = i2 == 0 || i2 == 2; + if (z3 && this.O0.a(j1Var) && (!z2 || MediaCodecUtil.d("audio/raw", false, false) != null)) { + return i | 12; + } + if ("audio/raw".equals(j1Var.v) && !this.O0.a(j1Var)) { + return 1; + } + AudioSink audioSink = this.O0; + int i3 = j1Var.I; + int i4 = j1Var.J; + j1.b bVar = new j1.b(); + bVar.k = "audio/raw"; + bVar.f825x = i3; + bVar.f826y = i4; + bVar.f827z = 2; + if (!audioSink.a(bVar.a())) { + return 1; + } + List W = W(vVar, j1Var, false); + if (W.isEmpty()) { + return 1; + } + if (!z3) { + return 2; + } + u uVar = W.get(0); + boolean e = uVar.e(j1Var); + return ((!e || !uVar.f(j1Var)) ? 8 : 16) | (e ? 4 : 3) | i; + } +} diff --git a/app/src/main/java/c/i/a/c/u.java b/app/src/main/java/c/i/a/c/u.java index 672e21e990..901fad146d 100644 --- a/app/src/main/java/c/i/a/c/u.java +++ b/app/src/main/java/c/i/a/c/u.java @@ -1,17 +1,18 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import c.i.a.c.f3.n; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class u implements o.a { - public final /* synthetic */ c1 a; +public final /* synthetic */ class u implements p.b { + public final /* synthetic */ y1 a; - public /* synthetic */ u(c1 c1Var) { - this.a = c1Var; + public /* synthetic */ u(y1 y1Var) { + this.a = y1Var; } - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((g1.a) obj).y(this.a.p); + @Override // c.i.a.c.f3.p.b + public final void a(Object obj, n nVar) { + ((y1.c) obj).E(this.a, new y1.d(nVar)); } } diff --git a/app/src/main/java/c/i/a/c/u0.java b/app/src/main/java/c/i/a/c/u0.java index 6cf169c4f5..8aa5c2f2f4 100644 --- a/app/src/main/java/c/i/a/c/u0.java +++ b/app/src/main/java/c/i/a/c/u0.java @@ -1,25 +1,133 @@ package c.i.a.c; -import c.i.a.c.f2.g; -import c.i.a.c.h2.m; -import com.google.android.exoplayer2.source.TrackGroupArray; -/* compiled from: LoadControl */ -public interface u0 { - boolean a(); +import c.i.a.c.o2; +/* compiled from: BasePlayer */ +public abstract class u0 implements y1 { + public final o2.c a = new o2.c(); - long b(); + @Override // c.i.a.c.y1 + public final boolean D(int i) { + return i().j.a.get(i); + } - void c(); + @Override // c.i.a.c.y1 + public final void O() { + if (!K().q() && !f()) { + if (W()) { + int b = b(); + if (b != -1) { + h(b, -9223372036854775807L); + } + } else if (Z() && Y()) { + h(C(), -9223372036854775807L); + } + } + } - void d(k1[] k1VarArr, TrackGroupArray trackGroupArray, g[] gVarArr); + @Override // c.i.a.c.y1 + public final void P() { + c0(v()); + } - void e(); + @Override // c.i.a.c.y1 + public final void R() { + c0(-U()); + } - boolean f(long j, float f, boolean z2, long j2); + public final int V() { + o2 K = K(); + if (K.q()) { + return -1; + } + int C = C(); + int I = I(); + if (I == 1) { + I = 0; + } + return K.l(C, I, M()); + } - boolean g(long j, long j2, float f); + public final boolean W() { + return b() != -1; + } - m h(); + public final boolean X() { + return V() != -1; + } - void i(); + public final boolean Y() { + o2 K = K(); + return !K.q() && K.n(C(), this.a).u; + } + + public final boolean Z() { + o2 K = K(); + return !K.q() && K.n(C(), this.a).c(); + } + + public final boolean a0() { + o2 K = K(); + return !K.q() && K.n(C(), this.a).t; + } + + public final int b() { + o2 K = K(); + if (K.q()) { + return -1; + } + int C = C(); + int I = I(); + if (I == 1) { + I = 0; + } + return K.e(C, I, M()); + } + + public final void b0(long j) { + h(C(), j); + } + + public final void c0(long j) { + long T = T() + j; + long J = J(); + if (J != -9223372036854775807L) { + T = Math.min(T, J); + } + b0(Math.max(T, 0L)); + } + + @Override // c.i.a.c.y1 + public final void d() { + u(false); + } + + @Override // c.i.a.c.y1 + public final void e() { + u(true); + } + + @Override // c.i.a.c.y1 + public final void s() { + int V; + if (!K().q() && !f()) { + boolean X = X(); + if (!Z() || a0()) { + if (!X || T() > l()) { + b0(0); + return; + } + int V2 = V(); + if (V2 != -1) { + h(V2, -9223372036854775807L); + } + } else if (X && (V = V()) != -1) { + h(V, -9223372036854775807L); + } + } + } + + @Override // c.i.a.c.y1 + public final boolean z() { + return y() == 3 && j() && G() == 0; + } } diff --git a/app/src/main/java/c/i/a/c/u1.java b/app/src/main/java/c/i/a/c/u1.java new file mode 100644 index 0000000000..e5beb2d425 --- /dev/null +++ b/app/src/main/java/c/i/a/c/u1.java @@ -0,0 +1,349 @@ +package c.i.a.c; + +import android.os.Handler; +import android.util.Pair; +import androidx.annotation.Nullable; +import c.i.a.c.a3.a0; +import c.i.a.c.a3.b0; +import c.i.a.c.a3.k0; +import c.i.a.c.a3.t; +import c.i.a.c.a3.u; +import c.i.a.c.a3.v; +import c.i.a.c.a3.w; +import c.i.a.c.a3.x; +import c.i.a.c.e3.a0; +import c.i.a.c.f3.e0; +import c.i.a.c.s2.g1; +import c.i.a.c.w2.s; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.HashSet; +import java.util.IdentityHashMap; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Random; +import java.util.Set; +/* compiled from: MediaSourceList */ +public final class u1 { + public final List a = new ArrayList(); + public final IdentityHashMap b = new IdentityHashMap<>(); + + /* renamed from: c reason: collision with root package name */ + public final Map f903c = new HashMap(); + public final d d; + public final b0.a e; + public final s.a f; + public final HashMap g; + public final Set h; + public k0 i = new k0.a(0, new Random()); + public boolean j; + @Nullable + public a0 k; + + /* compiled from: MediaSourceList */ + public final class a implements b0, s { + public final c i; + public b0.a j; + public s.a k; + + public a(c cVar) { + this.j = u1.this.e; + this.k = u1.this.f; + this.i = cVar; + } + + @Override // c.i.a.c.w2.s + public void J(int i, @Nullable a0.a aVar) { + if (a(i, aVar)) { + this.k.b(); + } + } + + @Override // c.i.a.c.w2.s + public void S(int i, @Nullable a0.a aVar) { + if (a(i, aVar)) { + this.k.a(); + } + } + + @Override // c.i.a.c.a3.b0 + public void X(int i, @Nullable a0.a aVar, t tVar, w wVar) { + if (a(i, aVar)) { + this.j.d(tVar, wVar); + } + } + + public final boolean a(int i, @Nullable a0.a aVar) { + a0.a aVar2 = null; + if (aVar != null) { + c cVar = this.i; + int i2 = 0; + while (true) { + if (i2 >= cVar.f905c.size()) { + break; + } else if (cVar.f905c.get(i2).d == aVar.d) { + aVar2 = aVar.b(Pair.create(cVar.b, aVar.a)); + break; + } else { + i2++; + } + } + if (aVar2 == null) { + return false; + } + } + int i3 = i + this.i.d; + b0.a aVar3 = this.j; + if (aVar3.a != i3 || !e0.a(aVar3.b, aVar2)) { + this.j = u1.this.e.g(i3, aVar2, 0); + } + s.a aVar4 = this.k; + if (aVar4.a == i3 && e0.a(aVar4.b, aVar2)) { + return true; + } + this.k = u1.this.f.g(i3, aVar2); + return true; + } + + @Override // c.i.a.c.w2.s + public void c0(int i, @Nullable a0.a aVar, int i2) { + if (a(i, aVar)) { + this.k.d(i2); + } + } + + @Override // c.i.a.c.w2.s + public void d0(int i, @Nullable a0.a aVar) { + if (a(i, aVar)) { + this.k.f(); + } + } + + @Override // c.i.a.c.a3.b0 + public void g0(int i, @Nullable a0.a aVar, t tVar, w wVar, IOException iOException, boolean z2) { + if (a(i, aVar)) { + this.j.e(tVar, wVar, iOException, z2); + } + } + + @Override // c.i.a.c.w2.s + public void i0(int i, @Nullable a0.a aVar) { + if (a(i, aVar)) { + this.k.c(); + } + } + + @Override // c.i.a.c.a3.b0 + public void o(int i, @Nullable a0.a aVar, w wVar) { + if (a(i, aVar)) { + this.j.b(wVar); + } + } + + @Override // c.i.a.c.a3.b0 + public void q(int i, @Nullable a0.a aVar, t tVar, w wVar) { + if (a(i, aVar)) { + this.j.c(tVar, wVar); + } + } + + @Override // c.i.a.c.w2.s + public void u(int i, @Nullable a0.a aVar, Exception exc) { + if (a(i, aVar)) { + this.k.e(exc); + } + } + + @Override // c.i.a.c.a3.b0 + public void x(int i, @Nullable a0.a aVar, t tVar, w wVar) { + if (a(i, aVar)) { + this.j.f(tVar, wVar); + } + } + } + + /* compiled from: MediaSourceList */ + public static final class b { + public final c.i.a.c.a3.a0 a; + public final a0.b b; + + /* renamed from: c reason: collision with root package name */ + public final a f904c; + + public b(c.i.a.c.a3.a0 a0Var, a0.b bVar, a aVar) { + this.a = a0Var; + this.b = bVar; + this.f904c = aVar; + } + } + + /* compiled from: MediaSourceList */ + public static final class c implements t1 { + public final v a; + public final Object b = new Object(); + + /* renamed from: c reason: collision with root package name */ + public final List f905c = new ArrayList(); + public int d; + public boolean e; + + public c(c.i.a.c.a3.a0 a0Var, boolean z2) { + this.a = new v(a0Var, z2); + } + + @Override // c.i.a.c.t1 + public o2 a() { + return this.a.n; + } + + @Override // c.i.a.c.t1 + public Object getUid() { + return this.b; + } + } + + /* compiled from: MediaSourceList */ + public interface d { + } + + public u1(d dVar, @Nullable g1 g1Var, Handler handler) { + this.d = dVar; + b0.a aVar = new b0.a(); + this.e = aVar; + s.a aVar2 = new s.a(); + this.f = aVar2; + this.g = new HashMap<>(); + this.h = new HashSet(); + if (g1Var != null) { + aVar.f649c.add(new b0.a.C0085a(handler, g1Var)); + aVar2.f917c.add(new s.a.C0094a(handler, g1Var)); + } + } + + public o2 a(int i, List list, k0 k0Var) { + if (!list.isEmpty()) { + this.i = k0Var; + for (int i2 = i; i2 < list.size() + i; i2++) { + c cVar = list.get(i2 - i); + if (i2 > 0) { + c cVar2 = this.a.get(i2 - 1); + v.a aVar = cVar2.a.n; + cVar.d = aVar.p() + cVar2.d; + cVar.e = false; + cVar.f905c.clear(); + } else { + cVar.d = 0; + cVar.e = false; + cVar.f905c.clear(); + } + b(i2, cVar.a.n.p()); + this.a.add(i2, cVar); + this.f903c.put(cVar.b, cVar); + if (this.j) { + g(cVar); + if (this.b.isEmpty()) { + this.h.add(cVar); + } else { + b bVar = this.g.get(cVar); + if (bVar != null) { + bVar.a.d(bVar.b); + } + } + } + } + } + return c(); + } + + public final void b(int i, int i2) { + while (i < this.a.size()) { + this.a.get(i).d += i2; + i++; + } + } + + public o2 c() { + if (this.a.isEmpty()) { + return o2.i; + } + int i = 0; + for (int i2 = 0; i2 < this.a.size(); i2++) { + c cVar = this.a.get(i2); + cVar.d = i; + i += cVar.a.n.p(); + } + return new c2(this.a, this.i); + } + + public final void d() { + Iterator it = this.h.iterator(); + while (it.hasNext()) { + c next = it.next(); + if (next.f905c.isEmpty()) { + b bVar = this.g.get(next); + if (bVar != null) { + bVar.a.d(bVar.b); + } + it.remove(); + } + } + } + + public int e() { + return this.a.size(); + } + + public final void f(c cVar) { + if (cVar.e && cVar.f905c.isEmpty()) { + b remove = this.g.remove(cVar); + Objects.requireNonNull(remove); + remove.a.a(remove.b); + remove.a.c(remove.f904c); + remove.a.g(remove.f904c); + this.h.remove(cVar); + } + } + + public final void g(c cVar) { + v vVar = cVar.a; + n0 n0Var = new n0(this); + a aVar = new a(cVar); + this.g.put(cVar, new b(vVar, n0Var, aVar)); + Handler handler = new Handler(e0.o(), null); + Objects.requireNonNull(vVar); + b0.a aVar2 = vVar.f665c; + Objects.requireNonNull(aVar2); + aVar2.f649c.add(new b0.a.C0085a(handler, aVar)); + Handler handler2 = new Handler(e0.o(), null); + s.a aVar3 = vVar.d; + Objects.requireNonNull(aVar3); + aVar3.f917c.add(new s.a.C0094a(handler2, aVar)); + vVar.l(n0Var, this.k); + } + + public void h(x xVar) { + c remove = this.b.remove(xVar); + Objects.requireNonNull(remove); + remove.a.j(xVar); + remove.f905c.remove(((u) xVar).i); + if (!this.b.isEmpty()) { + d(); + } + f(remove); + } + + public final void i(int i, int i2) { + for (int i3 = i2 - 1; i3 >= i; i3--) { + c remove = this.a.remove(i3); + this.f903c.remove(remove.b); + b(i3, -remove.a.n.p()); + remove.e = true; + if (this.j) { + f(remove); + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/u1/a.java b/app/src/main/java/c/i/a/c/u1/a.java deleted file mode 100644 index 41798e94a3..0000000000 --- a/app/src/main/java/c/i/a/c/u1/a.java +++ /dev/null @@ -1,13 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.u1.d1; -import c.i.b.a.l; -/* compiled from: lambda */ -public final /* synthetic */ class a implements l { - public static final /* synthetic */ a i = new a(); - - @Override // c.i.b.a.l - public final Object get() { - return new d1.b(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/a0.java b/app/src/main/java/c/i/a/c/u1/a0.java deleted file mode 100644 index d6974c5eb6..0000000000 --- a/app/src/main/java/c/i/a/c/u1/a0.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class a0 implements o.a { - public final /* synthetic */ d1.a a; - - public /* synthetic */ a0(d1.a aVar) { - this.a = aVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).d0(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/a1.java b/app/src/main/java/c/i/a/c/u1/a1.java deleted file mode 100644 index 518c136eff..0000000000 --- a/app/src/main/java/c/i/a/c/u1/a1.java +++ /dev/null @@ -1,22 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -import c.i.a.c.x1.d; -/* compiled from: lambda */ -public final /* synthetic */ class a1 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ d b; - - public /* synthetic */ a1(d1.a aVar, d dVar) { - this.a = aVar; - this.b = dVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - d1 d1Var = (d1) obj; - d1Var.Q(); - d1Var.C(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/b.java b/app/src/main/java/c/i/a/c/u1/b.java deleted file mode 100644 index b6ab52825f..0000000000 --- a/app/src/main/java/c/i/a/c/u1/b.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class b implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ boolean b; - - public /* synthetic */ b(d1.a aVar, boolean z2) { - this.a = aVar; - this.b = z2; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).T(this.a, this.b); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/b0.java b/app/src/main/java/c/i/a/c/u1/b0.java deleted file mode 100644 index 493f21b0cc..0000000000 --- a/app/src/main/java/c/i/a/c/u1/b0.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class b0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ int b; - - public /* synthetic */ b0(d1.a aVar, int i) { - this.a = aVar; - this.b = i; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).S(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/b1.java b/app/src/main/java/c/i/a/c/u1/b1.java deleted file mode 100644 index 898710fea4..0000000000 --- a/app/src/main/java/c/i/a/c/u1/b1.java +++ /dev/null @@ -1,38 +0,0 @@ -package c.i.a.c.u1; - -import android.util.SparseArray; -import c.c.a.a0.d; -import c.i.a.c.g1; -import c.i.a.c.i2.o; -import c.i.a.c.i2.t; -import c.i.a.c.u1.d1; -import java.util.Objects; -/* compiled from: lambda */ -public final /* synthetic */ class b1 implements o.b { - public final /* synthetic */ c1 a; - public final /* synthetic */ g1 b; - - public /* synthetic */ b1(c1 c1Var, g1 g1Var) { - this.a = c1Var; - this.b = g1Var; - } - - @Override // c.i.a.c.i2.o.b - public final void a(Object obj, t tVar) { - d1 d1Var = (d1) obj; - d1.b bVar = (d1.b) tVar; - SparseArray sparseArray = this.a.m; - bVar.b.clear(); - int i = 0; - while (i < bVar.a.size()) { - d.k(i >= 0 && i < bVar.a.size()); - int keyAt = bVar.a.keyAt(i); - SparseArray sparseArray2 = bVar.b; - d1.a aVar = sparseArray.get(keyAt); - Objects.requireNonNull(aVar); - sparseArray2.append(keyAt, aVar); - i++; - } - d1Var.H(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/c.java b/app/src/main/java/c/i/a/c/u1/c.java deleted file mode 100644 index 45af82b21e..0000000000 --- a/app/src/main/java/c/i/a/c/u1/c.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class c implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ int b; - - public /* synthetic */ c(d1.a aVar, int i) { - this.a = aVar; - this.b = i; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).V(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/c0.java b/app/src/main/java/c/i/a/c/u1/c0.java deleted file mode 100644 index 6cf6980de8..0000000000 --- a/app/src/main/java/c/i/a/c/u1/c0.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class c0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ c.i.a.c.d1 b; - - public /* synthetic */ c0(d1.a aVar, c.i.a.c.d1 d1Var) { - this.a = aVar; - this.b = d1Var; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).F(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/c1.java b/app/src/main/java/c/i/a/c/u1/c1.java deleted file mode 100644 index 321ace1407..0000000000 --- a/app/src/main/java/c/i/a/c/u1/c1.java +++ /dev/null @@ -1,696 +0,0 @@ -package c.i.a.c.u1; - -import android.util.SparseArray; -import android.view.Surface; -import androidx.annotation.Nullable; -import androidx.core.view.InputDeviceCompat; -import androidx.core.view.PointerIconCompat; -import androidx.media.AudioAttributesCompat; -import c.i.a.c.d2.r; -import c.i.a.c.d2.y; -import c.i.a.c.d2.z; -import c.i.a.c.f1; -import c.i.a.c.f2.k; -import c.i.a.c.g1; -import c.i.a.c.h0; -import c.i.a.c.h2.d; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.g; -import c.i.a.c.i2.o; -import c.i.a.c.j2.w; -import c.i.a.c.r1; -import c.i.a.c.u1.d1; -import c.i.a.c.v0; -import c.i.a.c.v1.q; -import c.i.a.c.x1.e; -import c.i.a.f.e.o.c; -import c.i.b.b.q0; -import c.i.b.b.r0; -import c.i.b.b.u; -import c.i.b.b.w; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.metadata.Metadata; -import com.google.android.exoplayer2.source.TrackGroupArray; -import java.io.IOException; -import java.util.List; -import java.util.Objects; -import java.util.concurrent.CopyOnWriteArraySet; -import org.checkerframework.checker.nullness.qual.RequiresNonNull; -/* compiled from: AnalyticsCollector */ -public class c1 implements g1.a, q, w, z, d.a, c.i.a.c.z1.q { - public final g i; - public final r1.b j; - public final r1.c k = new r1.c(); - public final a l; - public final SparseArray m; - public o n; - public g1 o; - public boolean p; - - /* compiled from: AnalyticsCollector */ - public static final class a { - public final r1.b a; - public u b = q0.k; - - /* renamed from: c reason: collision with root package name */ - public c.i.b.b.w f1022c = r0.l; - @Nullable - public y.a d; - public y.a e; - public y.a f; - - /* JADX DEBUG: Type inference failed for r1v2. Raw type applied. Possible types: c.i.b.b.u, c.i.b.b.u */ - /* JADX DEBUG: Type inference failed for r1v3. Raw type applied. Possible types: c.i.b.b.w, c.i.b.b.w */ - public a(r1.b bVar) { - this.a = bVar; - c.i.b.b.a aVar = u.j; - } - - @Nullable - public static y.a b(g1 g1Var, u uVar, @Nullable y.a aVar, r1.b bVar) { - r1 D = g1Var.D(); - int j = g1Var.j(); - Object m = D.q() ? null : D.m(j); - int b = (g1Var.d() || D.q()) ? -1 : D.f(j, bVar).b(h0.a(g1Var.J()) - bVar.e); - for (int i = 0; i < uVar.size(); i++) { - y.a aVar2 = uVar.get(i); - if (c(aVar2, m, g1Var.d(), g1Var.w(), g1Var.m(), b)) { - return aVar2; - } - } - if (!uVar.isEmpty() || aVar == null || !c(aVar, m, g1Var.d(), g1Var.w(), g1Var.m(), b)) { - return null; - } - return aVar; - } - - public static boolean c(y.a aVar, @Nullable Object obj, boolean z2, int i, int i2, int i3) { - if (!aVar.a.equals(obj)) { - return false; - } - return (z2 && aVar.b == i && aVar.f864c == i2) || (!z2 && aVar.b == -1 && aVar.e == i3); - } - - public final void a(w.a aVar, @Nullable y.a aVar2, r1 r1Var) { - if (aVar2 != null) { - if (r1Var.b(aVar2.a) != -1) { - aVar.c(aVar2, r1Var); - return; - } - r1 r1Var2 = this.f1022c.get(aVar2); - if (r1Var2 != null) { - aVar.c(aVar2, r1Var2); - } - } - } - - public final void d(r1 r1Var) { - w.a aVar = new w.a<>(4); - if (this.b.isEmpty()) { - a(aVar, this.e, r1Var); - if (!c.B(this.f, this.e)) { - a(aVar, this.f, r1Var); - } - if (!c.B(this.d, this.e) && !c.B(this.d, this.f)) { - a(aVar, this.d, r1Var); - } - } else { - for (int i = 0; i < this.b.size(); i++) { - a(aVar, this.b.get(i), r1Var); - } - if (!this.b.contains(this.d)) { - a(aVar, this.d, r1Var); - } - } - this.f1022c = aVar.a(); - } - } - - public c1(g gVar) { - this.i = gVar; - this.n = new o<>(new CopyOnWriteArraySet(), f0.o(), gVar, a.i, l.a); - r1.b bVar = new r1.b(); - this.j = bVar; - this.l = new a(bVar); - this.m = new SparseArray<>(); - } - - @Override // c.i.a.c.v1.q - public final void A(Format format, @Nullable e eVar) { - d1.a d02 = d0(); - m0 m0Var = new m0(d02, format, eVar); - this.m.put(PointerIconCompat.TYPE_ALIAS, d02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_ALIAS, m0Var); - oVar.a(); - } - - @Override // c.i.a.c.z1.q - public final void B(int i, @Nullable y.a aVar) { - d1.a b02 = b0(i, aVar); - e0 e0Var = new e0(b02); - this.m.put(1034, b02); - o oVar = this.n; - oVar.b(1034, e0Var); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void C(r1 r1Var, Object obj, int i) { - f1.t(this, r1Var, obj, i); - } - - @Override // c.i.a.c.g1.a - public final void D(int i) { - d1.a Y = Y(); - p0 p0Var = new p0(Y, i); - this.m.put(9, Y); - o oVar = this.n; - oVar.b(9, p0Var); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public final void E(@Nullable v0 v0Var, int i) { - d1.a Y = Y(); - o oVar = new o(Y, v0Var, i); - this.m.put(1, Y); - o oVar2 = this.n; - oVar2.b(1, oVar); - oVar2.a(); - } - - @Override // c.i.a.c.z1.q - public final void F(int i, @Nullable y.a aVar) { - d1.a b02 = b0(i, aVar); - a0 a0Var = new a0(b02); - this.m.put(1030, b02); - o oVar = this.n; - oVar.b(1030, a0Var); - oVar.a(); - } - - @Override // c.i.a.c.v1.q - public final void G(boolean z2) { - d1.a d02 = d0(); - g0 g0Var = new g0(d02, z2); - this.m.put(PointerIconCompat.TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW, d02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW, g0Var); - oVar.a(); - } - - @Override // c.i.a.c.v1.q - public final void H(Exception exc) { - d1.a d02 = d0(); - g gVar = new g(d02, exc); - this.m.put(PointerIconCompat.TYPE_ZOOM_IN, d02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_ZOOM_IN, gVar); - oVar.a(); - } - - @Override // c.i.a.c.j2.w - public final void I(c.i.a.c.x1.d dVar) { - d1.a d02 = d0(); - a1 a1Var = new a1(d02, dVar); - this.m.put(PointerIconCompat.TYPE_GRAB, d02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_GRAB, a1Var); - oVar.a(); - } - - @Override // c.i.a.c.j2.w - public final void J(Format format, @Nullable e eVar) { - d1.a d02 = d0(); - l0 l0Var = new l0(d02, format, eVar); - this.m.put(1022, d02); - o oVar = this.n; - oVar.b(1022, l0Var); - oVar.a(); - } - - @Override // c.i.a.c.v1.q - public final void K(long j) { - d1.a d02 = d0(); - y0 y0Var = new y0(d02, j); - this.m.put(PointerIconCompat.TYPE_COPY, d02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_COPY, y0Var); - oVar.a(); - } - - @Override // c.i.a.c.z1.q - public final void L(int i, @Nullable y.a aVar) { - d1.a b02 = b0(i, aVar); - y yVar = new y(b02); - this.m.put(1031, b02); - o oVar = this.n; - oVar.b(1031, yVar); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public final void M(boolean z2, int i) { - d1.a Y = Y(); - t0 t0Var = new t0(Y, z2, i); - this.m.put(6, Y); - o oVar = this.n; - oVar.b(6, t0Var); - oVar.a(); - } - - @Override // c.i.a.c.d2.z - public final void N(int i, @Nullable y.a aVar, r rVar, c.i.a.c.d2.u uVar) { - d1.a b02 = b0(i, aVar); - w wVar = new w(b02, rVar, uVar); - this.m.put(PointerIconCompat.TYPE_CONTEXT_MENU, b02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_CONTEXT_MENU, wVar); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public final void O(TrackGroupArray trackGroupArray, k kVar) { - d1.a Y = Y(); - h hVar = new h(Y, trackGroupArray, kVar); - this.m.put(2, Y); - o oVar = this.n; - oVar.b(2, hVar); - oVar.a(); - } - - @Override // c.i.a.c.j2.w - public final void P(c.i.a.c.x1.d dVar) { - d1.a c02 = c0(); - i iVar = new i(c02, dVar); - this.m.put(InputDeviceCompat.SOURCE_GAMEPAD, c02); - o oVar = this.n; - oVar.b(InputDeviceCompat.SOURCE_GAMEPAD, iVar); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public final void Q(c.i.a.c.d1 d1Var) { - d1.a Y = Y(); - c0 c0Var = new c0(Y, d1Var); - this.m.put(13, Y); - o oVar = this.n; - oVar.b(13, c0Var); - oVar.a(); - } - - @Override // c.i.a.c.z1.q - public final void R(int i, @Nullable y.a aVar) { - d1.a b02 = b0(i, aVar); - k0 k0Var = new k0(b02); - this.m.put(1035, b02); - o oVar = this.n; - oVar.b(1035, k0Var); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void S(boolean z2) { - f1.b(this, z2); - } - - @Override // c.i.a.c.v1.q - public final void T(int i, long j, long j2) { - d1.a d02 = d0(); - z0 z0Var = new z0(d02, i, j, j2); - this.m.put(PointerIconCompat.TYPE_NO_DROP, d02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_NO_DROP, z0Var); - oVar.a(); - } - - @Override // c.i.a.c.d2.z - public final void U(int i, @Nullable y.a aVar, r rVar, c.i.a.c.d2.u uVar, IOException iOException, boolean z2) { - d1.a b02 = b0(i, aVar); - f0 f0Var = new f0(b02, rVar, uVar, iOException, z2); - this.m.put(PointerIconCompat.TYPE_HELP, b02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_HELP, f0Var); - oVar.a(); - } - - @Override // c.i.a.c.j2.w - public final void V(long j, int i) { - d1.a c02 = c0(); - o0 o0Var = new o0(c02, j, i); - this.m.put(1026, c02); - o oVar = this.n; - oVar.b(1026, o0Var); - oVar.a(); - } - - @Override // c.i.a.c.z1.q - public final void W(int i, @Nullable y.a aVar) { - d1.a b02 = b0(i, aVar); - p pVar = new p(b02); - this.m.put(1033, b02); - o oVar = this.n; - oVar.b(1033, pVar); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public void X(boolean z2) { - d1.a Y = Y(); - x0 x0Var = new x0(Y, z2); - this.m.put(8, Y); - o oVar = this.n; - oVar.b(8, x0Var); - oVar.a(); - } - - public final d1.a Y() { - return a0(this.l.d); - } - - @RequiresNonNull({"player"}) - public final d1.a Z(r1 r1Var, int i, @Nullable y.a aVar) { - long j; - y.a aVar2 = r1Var.q() ? null : aVar; - long c2 = this.i.c(); - boolean z2 = false; - boolean z3 = r1Var.equals(this.o.D()) && i == this.o.o(); - long j2 = 0; - if (aVar2 != null && aVar2.a()) { - if (z3 && this.o.w() == aVar2.b && this.o.m() == aVar2.f864c) { - z2 = true; - } - if (z2) { - j2 = this.o.J(); - } - } else if (z3) { - j = this.o.s(); - return new d1.a(c2, r1Var, i, aVar2, j, this.o.D(), this.o.o(), this.l.d, this.o.J(), this.o.e()); - } else if (!r1Var.q()) { - j2 = r1Var.o(i, this.k, 0).a(); - } - j = j2; - return new d1.a(c2, r1Var, i, aVar2, j, this.o.D(), this.o.o(), this.l.d, this.o.J(), this.o.e()); - } - - @Override // c.i.a.c.g1.a - public final void a() { - d1.a Y = Y(); - j0 j0Var = new j0(Y); - this.m.put(-1, Y); - o oVar = this.n; - oVar.b(-1, j0Var); - oVar.a(); - } - - public final d1.a a0(@Nullable y.a aVar) { - Objects.requireNonNull(this.o); - r1 r1Var = aVar == null ? null : this.l.f1022c.get(aVar); - if (aVar != null && r1Var != null) { - return Z(r1Var, r1Var.h(aVar.a, this.j).f1017c, aVar); - } - int o = this.o.o(); - r1 D = this.o.D(); - if (!(o < D.p())) { - D = r1.a; - } - return Z(D, o, null); - } - - @Override // c.i.a.c.j2.w - public final void b(int i, int i2, int i3, float f) { - d1.a d02 = d0(); - j jVar = new j(d02, i, i2, i3, f); - this.m.put(1028, d02); - o oVar = this.n; - oVar.b(1028, jVar); - oVar.a(); - } - - public final d1.a b0(int i, @Nullable y.a aVar) { - Objects.requireNonNull(this.o); - boolean z2 = false; - if (aVar != null) { - if (this.l.f1022c.get(aVar) != null) { - z2 = true; - } - return z2 ? a0(aVar) : Z(r1.a, i, aVar); - } - r1 D = this.o.D(); - if (i < D.p()) { - z2 = true; - } - if (!z2) { - D = r1.a; - } - return Z(D, i, null); - } - - @Override // c.i.a.c.v1.q - public final void c(c.i.a.c.x1.d dVar) { - d1.a c02 = c0(); - t tVar = new t(c02, dVar); - this.m.put(PointerIconCompat.TYPE_HORIZONTAL_DOUBLE_ARROW, c02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_HORIZONTAL_DOUBLE_ARROW, tVar); - oVar.a(); - } - - public final d1.a c0() { - return a0(this.l.e); - } - - @Override // c.i.a.c.g1.a - public final void d(int i) { - d1.a Y = Y(); - c cVar = new c(Y, i); - this.m.put(7, Y); - o oVar = this.n; - oVar.b(7, cVar); - oVar.a(); - } - - public final d1.a d0() { - return a0(this.l.f); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void e(boolean z2) { - f1.f(this, z2); - } - - @Override // c.i.a.c.g1.a - public final void f(int i) { - if (i == 1) { - this.p = false; - } - a aVar = this.l; - g1 g1Var = this.o; - Objects.requireNonNull(g1Var); - aVar.d = a.b(g1Var, aVar.b, aVar.e, aVar.a); - d1.a Y = Y(); - q0 q0Var = new q0(Y, i); - this.m.put(12, Y); - o oVar = this.n; - oVar.b(12, q0Var); - oVar.a(); - } - - @Override // c.i.a.c.j2.w - public final void g(String str) { - d1.a d02 = d0(); - h0 h0Var = new h0(d02, str); - this.m.put(1024, d02); - o oVar = this.n; - oVar.b(1024, h0Var); - oVar.a(); - } - - @Override // c.i.a.c.v1.q - public final void h(c.i.a.c.x1.d dVar) { - d1.a d02 = d0(); - r rVar = new r(d02, dVar); - this.m.put(PointerIconCompat.TYPE_TEXT, d02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_TEXT, rVar); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public final void i(List list) { - d1.a Y = Y(); - d0 d0Var = new d0(Y, list); - this.m.put(3, Y); - o oVar = this.n; - oVar.b(3, d0Var); - oVar.a(); - } - - @Override // c.i.a.c.j2.w - public final void j(String str, long j, long j2) { - d1.a d02 = d0(); - m mVar = new m(d02, str, j2); - this.m.put(PointerIconCompat.TYPE_GRABBING, d02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_GRABBING, mVar); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public final void k(ExoPlaybackException exoPlaybackException) { - c.i.a.c.d2.w wVar = exoPlaybackException.mediaPeriodId; - d1.a a02 = wVar != null ? a0(new y.a(wVar)) : Y(); - q qVar = new q(a02, exoPlaybackException); - this.m.put(11, a02); - o oVar = this.n; - oVar.b(11, qVar); - oVar.a(); - } - - @Override // c.i.a.c.d2.z - public final void l(int i, @Nullable y.a aVar, c.i.a.c.d2.u uVar) { - d1.a b02 = b0(i, aVar); - e eVar = new e(b02, uVar); - this.m.put(PointerIconCompat.TYPE_WAIT, b02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_WAIT, eVar); - oVar.a(); - } - - @Override // c.i.a.c.d2.z - public final void m(int i, @Nullable y.a aVar, r rVar, c.i.a.c.d2.u uVar) { - d1.a b02 = b0(i, aVar); - i0 i0Var = new i0(b02, rVar, uVar); - this.m.put(PointerIconCompat.TYPE_HAND, b02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_HAND, i0Var); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public final void n(boolean z2) { - d1.a Y = Y(); - b bVar = new b(Y, z2); - this.m.put(4, Y); - o oVar = this.n; - oVar.b(4, bVar); - oVar.a(); - } - - @Override // c.i.a.c.z1.q - public final void o(int i, @Nullable y.a aVar, Exception exc) { - d1.a b02 = b0(i, aVar); - s sVar = new s(b02, exc); - this.m.put(1032, b02); - o oVar = this.n; - oVar.b(1032, sVar); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public final void p(r1 r1Var, int i) { - a aVar = this.l; - g1 g1Var = this.o; - Objects.requireNonNull(g1Var); - aVar.d = a.b(g1Var, aVar.b, aVar.e, aVar.a); - aVar.d(g1Var.D()); - d1.a Y = Y(); - u uVar = new u(Y, i); - this.m.put(0, Y); - o oVar = this.n; - oVar.b(0, uVar); - oVar.a(); - } - - @Override // c.i.a.c.d2.z - public final void q(int i, @Nullable y.a aVar, r rVar, c.i.a.c.d2.u uVar) { - d1.a b02 = b0(i, aVar); - n0 n0Var = new n0(b02, rVar, uVar); - this.m.put(1000, b02); - o oVar = this.n; - oVar.b(1000, n0Var); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public final void r(int i) { - d1.a Y = Y(); - b0 b0Var = new b0(Y, i); - this.m.put(5, Y); - o oVar = this.n; - oVar.b(5, b0Var); - oVar.a(); - } - - @Override // c.i.a.c.j2.w - public final void s(@Nullable Surface surface) { - d1.a d02 = d0(); - u0 u0Var = new u0(d02, surface); - this.m.put(1027, d02); - o oVar = this.n; - oVar.b(1027, u0Var); - oVar.a(); - } - - @Override // c.i.a.c.v1.q - public final void t(String str) { - d1.a d02 = d0(); - f fVar = new f(d02, str); - this.m.put(PointerIconCompat.TYPE_ALL_SCROLL, d02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_ALL_SCROLL, fVar); - oVar.a(); - } - - @Override // c.i.a.c.v1.q - public final void u(String str, long j, long j2) { - d1.a d02 = d0(); - v0 v0Var = new v0(d02, str, j2); - this.m.put(PointerIconCompat.TYPE_VERTICAL_TEXT, d02); - o oVar = this.n; - oVar.b(PointerIconCompat.TYPE_VERTICAL_TEXT, v0Var); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public final void v(boolean z2) { - d1.a Y = Y(); - v vVar = new v(Y, z2); - this.m.put(10, Y); - o oVar = this.n; - oVar.b(10, vVar); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void w(g1 g1Var, g1.b bVar) { - f1.a(this, g1Var, bVar); - } - - @Override // c.i.a.c.j2.w - public final void x(int i, long j) { - d1.a c02 = c0(); - z zVar = new z(c02, i, j); - this.m.put(AudioAttributesCompat.FLAG_ALL, c02); - o oVar = this.n; - oVar.b(AudioAttributesCompat.FLAG_ALL, zVar); - oVar.a(); - } - - @Override // c.i.a.c.g1.a - public /* synthetic */ void y(boolean z2) { - f1.c(this, z2); - } - - @Override // c.i.a.c.g1.a - public final void z(boolean z2, int i) { - d1.a Y = Y(); - s0 s0Var = new s0(Y, z2, i); - this.m.put(-1, Y); - o oVar = this.n; - oVar.b(-1, s0Var); - oVar.a(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/d.java b/app/src/main/java/c/i/a/c/u1/d.java deleted file mode 100644 index eab8f1aa3b..0000000000 --- a/app/src/main/java/c/i/a/c/u1/d.java +++ /dev/null @@ -1,20 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -import com.google.android.exoplayer2.metadata.Metadata; -/* compiled from: lambda */ -public final /* synthetic */ class d implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ Metadata b; - - public /* synthetic */ d(d1.a aVar, Metadata metadata) { - this.a = aVar; - this.b = metadata; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).W(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/d0.java b/app/src/main/java/c/i/a/c/u1/d0.java deleted file mode 100644 index 63e13851f4..0000000000 --- a/app/src/main/java/c/i/a/c/u1/d0.java +++ /dev/null @@ -1,20 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -import java.util.List; -/* compiled from: lambda */ -public final /* synthetic */ class d0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ List b; - - public /* synthetic */ d0(d1.a aVar, List list) { - this.a = aVar; - this.b = list; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).i(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/d1.java b/app/src/main/java/c/i/a/c/u1/d1.java deleted file mode 100644 index 7c91d562d7..0000000000 --- a/app/src/main/java/c/i/a/c/u1/d1.java +++ /dev/null @@ -1,183 +0,0 @@ -package c.i.a.c.u1; - -import android.util.SparseArray; -import androidx.annotation.Nullable; -import c.i.a.c.d2.y; -import c.i.a.c.i2.t; -import c.i.a.c.r1; -import c.i.a.f.e.o.c; -import com.google.android.exoplayer2.Format; -import java.util.Arrays; -/* compiled from: AnalyticsListener */ -public interface d1 { - - /* compiled from: AnalyticsListener */ - public static final class a { - public final long a; - public final r1 b; - - /* renamed from: c reason: collision with root package name */ - public final int f1023c; - @Nullable - public final y.a d; - public final long e; - public final r1 f; - public final int g; - @Nullable - public final y.a h; - public final long i; - public final long j; - - public a(long j, r1 r1Var, int i, @Nullable y.a aVar, long j2, r1 r1Var2, int i2, @Nullable y.a aVar2, long j3, long j4) { - this.a = j; - this.b = r1Var; - this.f1023c = i; - this.d = aVar; - this.e = j2; - this.f = r1Var2; - this.g = i2; - this.h = aVar2; - this.i = j3; - this.j = j4; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || a.class != obj.getClass()) { - return false; - } - a aVar = (a) obj; - return this.a == aVar.a && this.f1023c == aVar.f1023c && this.e == aVar.e && this.g == aVar.g && this.i == aVar.i && this.j == aVar.j && c.B(this.b, aVar.b) && c.B(this.d, aVar.d) && c.B(this.f, aVar.f) && c.B(this.h, aVar.h); - } - - public int hashCode() { - return Arrays.hashCode(new Object[]{Long.valueOf(this.a), this.b, Integer.valueOf(this.f1023c), this.d, Long.valueOf(this.e), this.f, Integer.valueOf(this.g), this.h, Long.valueOf(this.i), Long.valueOf(this.j)}); - } - } - - /* compiled from: AnalyticsListener */ - public static final class b extends t { - public final SparseArray b = new SparseArray<>(0); - } - - void A(); - - void B(); - - @Deprecated - void C(); - - @Deprecated - void D(); - - void E(); - - void F(); - - void G(); - - void H(); - - void I(); - - void J(); - - void K(); - - void L(); - - @Deprecated - void M(); - - void N(); - - void O(); - - void P(); - - void Q(); - - void R(); - - void S(); - - void T(a aVar, boolean z2); - - void U(a aVar, Format format); - - void V(); - - void W(); - - void X(); - - void Y(); - - void Z(a aVar, Format format); - - @Deprecated - void a(); - - void a0(); - - void b(); - - void b0(); - - void c(); - - void c0(); - - void d(); - - void d0(); - - void e(); - - void f(); - - void g(); - - void h(); - - /* JADX WARN: Incorrect args count in method signature: (Lc/i/a/c/u1/d1$a;Ljava/util/List;)V */ - void i(); - - @Deprecated - void j(); - - void k(); - - void l(); - - void m(); - - void n(); - - void o(); - - void p(); - - void q(); - - void r(); - - void s(); - - void t(); - - void u(); - - void v(); - - @Deprecated - void w(); - - void x(); - - void y(); - - void z(); -} diff --git a/app/src/main/java/c/i/a/c/u1/e.java b/app/src/main/java/c/i/a/c/u1/e.java deleted file mode 100644 index 1b1344f7a9..0000000000 --- a/app/src/main/java/c/i/a/c/u1/e.java +++ /dev/null @@ -1,20 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.d2.u; -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class e implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ u b; - - public /* synthetic */ e(d1.a aVar, u uVar) { - this.a = aVar; - this.b = uVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).E(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/e0.java b/app/src/main/java/c/i/a/c/u1/e0.java deleted file mode 100644 index c2a24f0d0c..0000000000 --- a/app/src/main/java/c/i/a/c/u1/e0.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class e0 implements o.a { - public final /* synthetic */ d1.a a; - - public /* synthetic */ e0(d1.a aVar) { - this.a = aVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).P(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/f.java b/app/src/main/java/c/i/a/c/u1/f.java deleted file mode 100644 index fa3ad6b9ee..0000000000 --- a/app/src/main/java/c/i/a/c/u1/f.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class f implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ String b; - - public /* synthetic */ f(d1.a aVar, String str) { - this.a = aVar; - this.b = str; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).O(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/f0.java b/app/src/main/java/c/i/a/c/u1/f0.java deleted file mode 100644 index d9081ac02a..0000000000 --- a/app/src/main/java/c/i/a/c/u1/f0.java +++ /dev/null @@ -1,30 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.d2.r; -import c.i.a.c.d2.u; -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -import java.io.IOException; -/* compiled from: lambda */ -public final /* synthetic */ class f0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ r b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ u f1024c; - public final /* synthetic */ IOException d; - public final /* synthetic */ boolean e; - - public /* synthetic */ f0(d1.a aVar, r rVar, u uVar, IOException iOException, boolean z2) { - this.a = aVar; - this.b = rVar; - this.f1024c = uVar; - this.d = iOException; - this.e = z2; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).u(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/g.java b/app/src/main/java/c/i/a/c/u1/g.java deleted file mode 100644 index 34b7461ac8..0000000000 --- a/app/src/main/java/c/i/a/c/u1/g.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class g implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ Exception b; - - public /* synthetic */ g(d1.a aVar, Exception exc) { - this.a = aVar; - this.b = exc; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).v(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/g0.java b/app/src/main/java/c/i/a/c/u1/g0.java deleted file mode 100644 index 1c4489e584..0000000000 --- a/app/src/main/java/c/i/a/c/u1/g0.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class g0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ boolean b; - - public /* synthetic */ g0(d1.a aVar, boolean z2) { - this.a = aVar; - this.b = z2; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).b(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/h.java b/app/src/main/java/c/i/a/c/u1/h.java deleted file mode 100644 index d60b574798..0000000000 --- a/app/src/main/java/c/i/a/c/u1/h.java +++ /dev/null @@ -1,25 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.f2.k; -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -import com.google.android.exoplayer2.source.TrackGroupArray; -/* compiled from: lambda */ -public final /* synthetic */ class h implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ TrackGroupArray b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ k f1025c; - - public /* synthetic */ h(d1.a aVar, TrackGroupArray trackGroupArray, k kVar) { - this.a = aVar; - this.b = trackGroupArray; - this.f1025c = kVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).b0(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/h0.java b/app/src/main/java/c/i/a/c/u1/h0.java deleted file mode 100644 index be4b6d52bc..0000000000 --- a/app/src/main/java/c/i/a/c/u1/h0.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class h0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ String b; - - public /* synthetic */ h0(d1.a aVar, String str) { - this.a = aVar; - this.b = str; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).J(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/i.java b/app/src/main/java/c/i/a/c/u1/i.java deleted file mode 100644 index a0021330f2..0000000000 --- a/app/src/main/java/c/i/a/c/u1/i.java +++ /dev/null @@ -1,22 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -import c.i.a.c.x1.d; -/* compiled from: lambda */ -public final /* synthetic */ class i implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ d b; - - public /* synthetic */ i(d1.a aVar, d dVar) { - this.a = aVar; - this.b = dVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - d1 d1Var = (d1) obj; - d1Var.o(); - d1Var.j(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/i0.java b/app/src/main/java/c/i/a/c/u1/i0.java deleted file mode 100644 index a9326fa0f7..0000000000 --- a/app/src/main/java/c/i/a/c/u1/i0.java +++ /dev/null @@ -1,25 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.d2.r; -import c.i.a.c.d2.u; -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class i0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ r b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ u f1026c; - - public /* synthetic */ i0(d1.a aVar, r rVar, u uVar) { - this.a = aVar; - this.b = rVar; - this.f1026c = uVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).m(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/j.java b/app/src/main/java/c/i/a/c/u1/j.java deleted file mode 100644 index 0027f5aa42..0000000000 --- a/app/src/main/java/c/i/a/c/u1/j.java +++ /dev/null @@ -1,27 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class j implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ int b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ int f1027c; - public final /* synthetic */ int d; - public final /* synthetic */ float e; - - public /* synthetic */ j(d1.a aVar, int i, int i2, int i3, float f) { - this.a = aVar; - this.b = i; - this.f1027c = i2; - this.d = i3; - this.e = f; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).c0(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/j0.java b/app/src/main/java/c/i/a/c/u1/j0.java deleted file mode 100644 index cac190be78..0000000000 --- a/app/src/main/java/c/i/a/c/u1/j0.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class j0 implements o.a { - public final /* synthetic */ d1.a a; - - public /* synthetic */ j0(d1.a aVar) { - this.a = aVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).a(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/k.java b/app/src/main/java/c/i/a/c/u1/k.java deleted file mode 100644 index bf29d955eb..0000000000 --- a/app/src/main/java/c/i/a/c/u1/k.java +++ /dev/null @@ -1,25 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class k implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ int b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ long f1028c; - public final /* synthetic */ long d; - - public /* synthetic */ k(d1.a aVar, int i, long j, long j2) { - this.a = aVar; - this.b = i; - this.f1028c = j; - this.d = j2; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).a0(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/k0.java b/app/src/main/java/c/i/a/c/u1/k0.java deleted file mode 100644 index abcbdad2d6..0000000000 --- a/app/src/main/java/c/i/a/c/u1/k0.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class k0 implements o.a { - public final /* synthetic */ d1.a a; - - public /* synthetic */ k0(d1.a aVar) { - this.a = aVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).X(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/l.java b/app/src/main/java/c/i/a/c/u1/l.java deleted file mode 100644 index 51549b0ef9..0000000000 --- a/app/src/main/java/c/i/a/c/u1/l.java +++ /dev/null @@ -1,15 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.i2.t; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class l implements o.b { - public static final /* synthetic */ l a = new l(); - - @Override // c.i.a.c.i2.o.b - public final void a(Object obj, t tVar) { - d1 d1Var = (d1) obj; - d1.b bVar = (d1.b) tVar; - } -} diff --git a/app/src/main/java/c/i/a/c/u1/l0.java b/app/src/main/java/c/i/a/c/u1/l0.java deleted file mode 100644 index 8c0058a885..0000000000 --- a/app/src/main/java/c/i/a/c/u1/l0.java +++ /dev/null @@ -1,27 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -import c.i.a.c.x1.e; -import com.google.android.exoplayer2.Format; -/* compiled from: lambda */ -public final /* synthetic */ class l0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ Format b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ e f1029c; - - public /* synthetic */ l0(d1.a aVar, Format format, e eVar) { - this.a = aVar; - this.b = format; - this.f1029c = eVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - d1 d1Var = (d1) obj; - d1Var.Z(this.a, this.b); - d1Var.w(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/m.java b/app/src/main/java/c/i/a/c/u1/m.java deleted file mode 100644 index 6cac8daf22..0000000000 --- a/app/src/main/java/c/i/a/c/u1/m.java +++ /dev/null @@ -1,25 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class m implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ String b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ long f1030c; - - public /* synthetic */ m(d1.a aVar, String str, long j) { - this.a = aVar; - this.b = str; - this.f1030c = j; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - d1 d1Var = (d1) obj; - d1Var.I(); - d1Var.M(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/m0.java b/app/src/main/java/c/i/a/c/u1/m0.java deleted file mode 100644 index 60bc68f573..0000000000 --- a/app/src/main/java/c/i/a/c/u1/m0.java +++ /dev/null @@ -1,27 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -import c.i.a.c.x1.e; -import com.google.android.exoplayer2.Format; -/* compiled from: lambda */ -public final /* synthetic */ class m0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ Format b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ e f1031c; - - public /* synthetic */ m0(d1.a aVar, Format format, e eVar) { - this.a = aVar; - this.b = format; - this.f1031c = eVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - d1 d1Var = (d1) obj; - d1Var.U(this.a, this.b); - d1Var.w(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/n.java b/app/src/main/java/c/i/a/c/u1/n.java deleted file mode 100644 index 2a8af36fd2..0000000000 --- a/app/src/main/java/c/i/a/c/u1/n.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class n implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ int b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ int f1032c; - - public /* synthetic */ n(d1.a aVar, int i, int i2) { - this.a = aVar; - this.b = i; - this.f1032c = i2; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).n(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/n0.java b/app/src/main/java/c/i/a/c/u1/n0.java deleted file mode 100644 index 1bf63858b5..0000000000 --- a/app/src/main/java/c/i/a/c/u1/n0.java +++ /dev/null @@ -1,25 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.d2.r; -import c.i.a.c.d2.u; -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class n0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ r b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ u f1033c; - - public /* synthetic */ n0(d1.a aVar, r rVar, u uVar) { - this.a = aVar; - this.b = rVar; - this.f1033c = uVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).K(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/o.java b/app/src/main/java/c/i/a/c/u1/o.java deleted file mode 100644 index ba68a28cca..0000000000 --- a/app/src/main/java/c/i/a/c/u1/o.java +++ /dev/null @@ -1,24 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -import c.i.a.c.v0; -/* compiled from: lambda */ -public final /* synthetic */ class o implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ v0 b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ int f1034c; - - public /* synthetic */ o(d1.a aVar, v0 v0Var, int i) { - this.a = aVar; - this.b = v0Var; - this.f1034c = i; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).t(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/o0.java b/app/src/main/java/c/i/a/c/u1/o0.java deleted file mode 100644 index c529f375e1..0000000000 --- a/app/src/main/java/c/i/a/c/u1/o0.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class o0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ long b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ int f1035c; - - public /* synthetic */ o0(d1.a aVar, long j, int i) { - this.a = aVar; - this.b = j; - this.f1035c = i; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).R(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/p.java b/app/src/main/java/c/i/a/c/u1/p.java deleted file mode 100644 index ffdbfc8181..0000000000 --- a/app/src/main/java/c/i/a/c/u1/p.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class p implements o.a { - public final /* synthetic */ d1.a a; - - public /* synthetic */ p(d1.a aVar) { - this.a = aVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).s(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/p0.java b/app/src/main/java/c/i/a/c/u1/p0.java deleted file mode 100644 index 49bfb6650c..0000000000 --- a/app/src/main/java/c/i/a/c/u1/p0.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class p0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ int b; - - public /* synthetic */ p0(d1.a aVar, int i) { - this.a = aVar; - this.b = i; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).e(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/q.java b/app/src/main/java/c/i/a/c/u1/q.java deleted file mode 100644 index 0d71fb288c..0000000000 --- a/app/src/main/java/c/i/a/c/u1/q.java +++ /dev/null @@ -1,20 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -import com.google.android.exoplayer2.ExoPlaybackException; -/* compiled from: lambda */ -public final /* synthetic */ class q implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ ExoPlaybackException b; - - public /* synthetic */ q(d1.a aVar, ExoPlaybackException exoPlaybackException) { - this.a = aVar; - this.b = exoPlaybackException; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).G(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/q0.java b/app/src/main/java/c/i/a/c/u1/q0.java deleted file mode 100644 index 3b2e8b9c13..0000000000 --- a/app/src/main/java/c/i/a/c/u1/q0.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class q0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ int b; - - public /* synthetic */ q0(d1.a aVar, int i) { - this.a = aVar; - this.b = i; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).L(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/r.java b/app/src/main/java/c/i/a/c/u1/r.java deleted file mode 100644 index 705c8d3a09..0000000000 --- a/app/src/main/java/c/i/a/c/u1/r.java +++ /dev/null @@ -1,22 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -import c.i.a.c.x1.d; -/* compiled from: lambda */ -public final /* synthetic */ class r implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ d b; - - public /* synthetic */ r(d1.a aVar, d dVar) { - this.a = aVar; - this.b = dVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - d1 d1Var = (d1) obj; - d1Var.k(); - d1Var.C(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/r0.java b/app/src/main/java/c/i/a/c/u1/r0.java deleted file mode 100644 index ab2b89da7c..0000000000 --- a/app/src/main/java/c/i/a/c/u1/r0.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class r0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ float b; - - public /* synthetic */ r0(d1.a aVar, float f) { - this.a = aVar; - this.b = f; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).d(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/s.java b/app/src/main/java/c/i/a/c/u1/s.java deleted file mode 100644 index f9a8c2aec3..0000000000 --- a/app/src/main/java/c/i/a/c/u1/s.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class s implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ Exception b; - - public /* synthetic */ s(d1.a aVar, Exception exc) { - this.a = aVar; - this.b = exc; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).p(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/s0.java b/app/src/main/java/c/i/a/c/u1/s0.java deleted file mode 100644 index af85ddfeaa..0000000000 --- a/app/src/main/java/c/i/a/c/u1/s0.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class s0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ boolean b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ int f1036c; - - public /* synthetic */ s0(d1.a aVar, boolean z2, int i) { - this.a = aVar; - this.b = z2; - this.f1036c = i; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).D(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/t.java b/app/src/main/java/c/i/a/c/u1/t.java deleted file mode 100644 index 385b86b1a5..0000000000 --- a/app/src/main/java/c/i/a/c/u1/t.java +++ /dev/null @@ -1,22 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -import c.i.a.c.x1.d; -/* compiled from: lambda */ -public final /* synthetic */ class t implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ d b; - - public /* synthetic */ t(d1.a aVar, d dVar) { - this.a = aVar; - this.b = dVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - d1 d1Var = (d1) obj; - d1Var.f(); - d1Var.j(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/t0.java b/app/src/main/java/c/i/a/c/u1/t0.java deleted file mode 100644 index f4fd2fd127..0000000000 --- a/app/src/main/java/c/i/a/c/u1/t0.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class t0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ boolean b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ int f1037c; - - public /* synthetic */ t0(d1.a aVar, boolean z2, int i) { - this.a = aVar; - this.b = z2; - this.f1037c = i; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).g(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/u.java b/app/src/main/java/c/i/a/c/u1/u.java deleted file mode 100644 index c970f541be..0000000000 --- a/app/src/main/java/c/i/a/c/u1/u.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class u implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ int b; - - public /* synthetic */ u(d1.a aVar, int i) { - this.a = aVar; - this.b = i; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).x(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/u0.java b/app/src/main/java/c/i/a/c/u1/u0.java deleted file mode 100644 index 4779f69850..0000000000 --- a/app/src/main/java/c/i/a/c/u1/u0.java +++ /dev/null @@ -1,20 +0,0 @@ -package c.i.a.c.u1; - -import android.view.Surface; -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class u0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ Surface b; - - public /* synthetic */ u0(d1.a aVar, Surface surface) { - this.a = aVar; - this.b = surface; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).c(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/v.java b/app/src/main/java/c/i/a/c/u1/v.java deleted file mode 100644 index ff8f04bd91..0000000000 --- a/app/src/main/java/c/i/a/c/u1/v.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class v implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ boolean b; - - public /* synthetic */ v(d1.a aVar, boolean z2) { - this.a = aVar; - this.b = z2; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).q(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/v0.java b/app/src/main/java/c/i/a/c/u1/v0.java deleted file mode 100644 index 6d97a5c7ff..0000000000 --- a/app/src/main/java/c/i/a/c/u1/v0.java +++ /dev/null @@ -1,25 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class v0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ String b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ long f1038c; - - public /* synthetic */ v0(d1.a aVar, String str, long j) { - this.a = aVar; - this.b = str; - this.f1038c = j; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - d1 d1Var = (d1) obj; - d1Var.N(); - d1Var.M(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/w.java b/app/src/main/java/c/i/a/c/u1/w.java deleted file mode 100644 index 6356453398..0000000000 --- a/app/src/main/java/c/i/a/c/u1/w.java +++ /dev/null @@ -1,25 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.d2.r; -import c.i.a.c.d2.u; -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class w implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ r b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ u f1039c; - - public /* synthetic */ w(d1.a aVar, r rVar, u uVar) { - this.a = aVar; - this.b = rVar; - this.f1039c = uVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).r(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/w0.java b/app/src/main/java/c/i/a/c/u1/w0.java deleted file mode 100644 index 0514bcabec..0000000000 --- a/app/src/main/java/c/i/a/c/u1/w0.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class w0 implements o.a { - public final /* synthetic */ d1.a a; - - public /* synthetic */ w0(d1.a aVar) { - this.a = aVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).Y(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/x.java b/app/src/main/java/c/i/a/c/u1/x.java deleted file mode 100644 index 7c612e71ac..0000000000 --- a/app/src/main/java/c/i/a/c/u1/x.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class x implements o.a { - public final /* synthetic */ d1.a a; - - public /* synthetic */ x(d1.a aVar) { - this.a = aVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).B(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/x0.java b/app/src/main/java/c/i/a/c/u1/x0.java deleted file mode 100644 index 772d124717..0000000000 --- a/app/src/main/java/c/i/a/c/u1/x0.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class x0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ boolean b; - - public /* synthetic */ x0(d1.a aVar, boolean z2) { - this.a = aVar; - this.b = z2; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).A(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/y.java b/app/src/main/java/c/i/a/c/u1/y.java deleted file mode 100644 index 19d34ad5b6..0000000000 --- a/app/src/main/java/c/i/a/c/u1/y.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class y implements o.a { - public final /* synthetic */ d1.a a; - - public /* synthetic */ y(d1.a aVar) { - this.a = aVar; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).y(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/y0.java b/app/src/main/java/c/i/a/c/u1/y0.java deleted file mode 100644 index e6b2dea555..0000000000 --- a/app/src/main/java/c/i/a/c/u1/y0.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class y0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ long b; - - public /* synthetic */ y0(d1.a aVar, long j) { - this.a = aVar; - this.b = j; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).l(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/z.java b/app/src/main/java/c/i/a/c/u1/z.java deleted file mode 100644 index 7708dbc2a3..0000000000 --- a/app/src/main/java/c/i/a/c/u1/z.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class z implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ int b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ long f1040c; - - public /* synthetic */ z(d1.a aVar, int i, long j) { - this.a = aVar; - this.b = i; - this.f1040c = j; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).h(); - } -} diff --git a/app/src/main/java/c/i/a/c/u1/z0.java b/app/src/main/java/c/i/a/c/u1/z0.java deleted file mode 100644 index 92e0f76bfa..0000000000 --- a/app/src/main/java/c/i/a/c/u1/z0.java +++ /dev/null @@ -1,25 +0,0 @@ -package c.i.a.c.u1; - -import c.i.a.c.i2.o; -import c.i.a.c.u1.d1; -/* compiled from: lambda */ -public final /* synthetic */ class z0 implements o.a { - public final /* synthetic */ d1.a a; - public final /* synthetic */ int b; - - /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ long f1041c; - public final /* synthetic */ long d; - - public /* synthetic */ z0(d1.a aVar, int i, long j, long j2) { - this.a = aVar; - this.b = i; - this.f1041c = j; - this.d = j2; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((d1) obj).z(); - } -} diff --git a/app/src/main/java/c/i/a/c/u2/a.java b/app/src/main/java/c/i/a/c/u2/a.java new file mode 100644 index 0000000000..5e668d527e --- /dev/null +++ b/app/src/main/java/c/i/a/c/u2/a.java @@ -0,0 +1,9 @@ +package c.i.a.c.u2; + +import android.database.sqlite.SQLiteDatabase; +/* compiled from: DatabaseProvider */ +public interface a { + SQLiteDatabase getReadableDatabase(); + + SQLiteDatabase getWritableDatabase(); +} diff --git a/app/src/main/java/c/i/a/c/u2/b.java b/app/src/main/java/c/i/a/c/u2/b.java new file mode 100644 index 0000000000..ac9cee6675 --- /dev/null +++ b/app/src/main/java/c/i/a/c/u2/b.java @@ -0,0 +1,10 @@ +package c.i.a.c.u2; + +import android.content.Context; +/* compiled from: ExoDatabaseProvider */ +@Deprecated +public final class b extends c { + public b(Context context) { + super(context); + } +} diff --git a/app/src/main/java/c/i/a/c/u2/c.java b/app/src/main/java/c/i/a/c/u2/c.java new file mode 100644 index 0000000000..e05f5787d2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/u2/c.java @@ -0,0 +1,53 @@ +package c.i.a.c.u2; + +import android.content.Context; +import android.database.Cursor; +import android.database.SQLException; +import android.database.sqlite.SQLiteDatabase; +import android.database.sqlite.SQLiteOpenHelper; +import c.i.a.c.f3.q; +import com.discord.models.domain.ModelAuditLogEntry; +/* compiled from: StandaloneDatabaseProvider */ +public class c extends SQLiteOpenHelper implements a { + public c(Context context) { + super(context.getApplicationContext(), "exoplayer_internal.db", (SQLiteDatabase.CursorFactory) null, 1); + } + + @Override // android.database.sqlite.SQLiteOpenHelper + public void onCreate(SQLiteDatabase sQLiteDatabase) { + } + + @Override // android.database.sqlite.SQLiteOpenHelper + public void onDowngrade(SQLiteDatabase sQLiteDatabase, int i, int i2) { + Cursor query = sQLiteDatabase.query("sqlite_master", new String[]{"type", ModelAuditLogEntry.CHANGE_KEY_NAME}, null, null, null, null, null); + while (query.moveToNext()) { + try { + String string = query.getString(0); + String string2 = query.getString(1); + if (!"sqlite_sequence".equals(string2)) { + StringBuilder sb = new StringBuilder(String.valueOf(string).length() + 16 + String.valueOf(string2).length()); + sb.append("DROP "); + sb.append(string); + sb.append(" IF EXISTS "); + sb.append(string2); + String sb2 = sb.toString(); + try { + sQLiteDatabase.execSQL(sb2); + } catch (SQLException e) { + String valueOf = String.valueOf(sb2); + q.b("SADatabaseProvider", valueOf.length() != 0 ? "Error executing ".concat(valueOf) : new String("Error executing "), e); + } + } + } catch (Throwable th) { + th.addSuppressed(th); + } + } + query.close(); + return; + throw th; + } + + @Override // android.database.sqlite.SQLiteOpenHelper + public void onUpgrade(SQLiteDatabase sQLiteDatabase, int i, int i2) { + } +} diff --git a/app/src/main/java/c/i/a/c/u2/d.java b/app/src/main/java/c/i/a/c/u2/d.java new file mode 100644 index 0000000000..6eed747d80 --- /dev/null +++ b/app/src/main/java/c/i/a/c/u2/d.java @@ -0,0 +1,54 @@ +package c.i.a.c.u2; + +import android.content.ContentValues; +import android.database.Cursor; +import android.database.SQLException; +import android.database.sqlite.SQLiteDatabase; +import c.i.a.c.f3.e0; +import c.i.a.c.i1; +import com.google.android.exoplayer2.database.DatabaseIOException; +/* compiled from: VersionTable */ +public final class d { + public static final /* synthetic */ int a = 0; + + static { + i1.a("goog.exo.database"); + } + + public static int a(SQLiteDatabase sQLiteDatabase, int i, String str) throws DatabaseIOException { + try { + if (!e0.J(sQLiteDatabase, "ExoPlayerVersions")) { + return -1; + } + Cursor query = sQLiteDatabase.query("ExoPlayerVersions", new String[]{"version"}, "feature = ? AND instance_uid = ?", new String[]{Integer.toString(i), str}, null, null, null); + try { + if (query.getCount() == 0) { + query.close(); + return -1; + } + query.moveToNext(); + int i2 = query.getInt(0); + query.close(); + return i2; + } catch (Throwable th) { + th.addSuppressed(th); + } + throw th; + } catch (SQLException e) { + throw new DatabaseIOException(e); + } + } + + public static void b(SQLiteDatabase sQLiteDatabase, int i, String str, int i2) throws DatabaseIOException { + try { + sQLiteDatabase.execSQL("CREATE TABLE IF NOT EXISTS ExoPlayerVersions (feature INTEGER NOT NULL,instance_uid TEXT NOT NULL,version INTEGER NOT NULL,PRIMARY KEY (feature, instance_uid))"); + ContentValues contentValues = new ContentValues(); + contentValues.put("feature", Integer.valueOf(i)); + contentValues.put("instance_uid", str); + contentValues.put("version", Integer.valueOf(i2)); + sQLiteDatabase.replaceOrThrow("ExoPlayerVersions", null, contentValues); + } catch (SQLException e) { + throw new DatabaseIOException(e); + } + } +} diff --git a/app/src/main/java/c/i/a/c/v.java b/app/src/main/java/c/i/a/c/v.java index a26ceaac7a..549e929f4c 100644 --- a/app/src/main/java/c/i/a/c/v.java +++ b/app/src/main/java/c/i/a/c/v.java @@ -1,20 +1,17 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class v implements o.a { - public final /* synthetic */ c1 a; - public final /* synthetic */ int b; +public final /* synthetic */ class v implements p.a { + public final /* synthetic */ w1 a; - public /* synthetic */ v(c1 c1Var, int i) { - this.a = c1Var; - this.b = i; + public /* synthetic */ v(w1 w1Var) { + this.a = w1Var; } - @Override // c.i.a.c.i2.o.a + @Override // c.i.a.c.f3.p.a public final void invoke(Object obj) { - c1 c1Var = this.a; - ((g1.a) obj).M(c1Var.l, this.b); + ((y1.c) obj).j0(f1.k0(this.a)); } } diff --git a/app/src/main/java/c/i/a/c/v0.java b/app/src/main/java/c/i/a/c/v0.java index a5401c398c..22f2831e39 100644 --- a/app/src/main/java/c/i/a/c/v0.java +++ b/app/src/main/java/c/i/a/c/v0.java @@ -1,349 +1,247 @@ package c.i.a.c; -import android.net.Uri; import androidx.annotation.Nullable; -import c.i.a.c.i2.f0; -import java.util.Arrays; -import java.util.Collections; -import java.util.List; -import java.util.Map; +import androidx.recyclerview.widget.RecyclerView; +import c.c.a.a0.d; +import c.i.a.c.a3.i0; +import c.i.a.c.f3.s; +import c.i.a.c.j1; +import com.google.android.exoplayer2.ExoPlaybackException; +import com.google.android.exoplayer2.decoder.DecoderInputBuffer; +import java.io.IOException; import java.util.Objects; -import java.util.UUID; -/* compiled from: MediaItem */ -public final class v0 { - public final String a; +/* compiled from: BaseRenderer */ +public abstract class v0 implements f2, g2 { + public final int i; + public final k1 j = new k1(); @Nullable - public final g b; + public h2 k; + public int l; + public int m; + @Nullable + public i0 n; + @Nullable + public j1[] o; + public long p; + public long q = Long.MIN_VALUE; + public boolean r; - /* renamed from: c reason: collision with root package name */ - public final f f1042c; - public final w0 d; - public final d e; + /* renamed from: s reason: collision with root package name */ + public boolean f906s; - /* compiled from: MediaItem */ - public static final class b { - public final Uri a; - @Nullable - public final Object b; - - public b(Uri uri, Object obj, a aVar) { - this.a = uri; - this.b = obj; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (!(obj instanceof b)) { - return false; - } - b bVar = (b) obj; - return this.a.equals(bVar.a) && f0.a(this.b, bVar.b); - } - - public int hashCode() { - int hashCode = this.a.hashCode() * 31; - Object obj = this.b; - return hashCode + (obj != null ? obj.hashCode() : 0); - } + public v0(int i) { + this.i = i; } - /* compiled from: MediaItem */ - public static final class c { - public float A = -3.4028235E38f; - @Nullable - public String a; - @Nullable - public Uri b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public String f1043c; - public long d; - public boolean e; - public boolean f; - public boolean g; - @Nullable - public Uri h; - public Map i = Collections.emptyMap(); - @Nullable - public UUID j; - public boolean k; - public boolean l; - public boolean m; - public List n = Collections.emptyList(); - @Nullable - public byte[] o; - public List p = Collections.emptyList(); - @Nullable - public String q; - - /* renamed from: r reason: collision with root package name */ - public List f1044r = Collections.emptyList(); - @Nullable - public Uri s; - @Nullable - public Object t; - @Nullable - public Object u; - @Nullable - public w0 v; - - /* renamed from: w reason: collision with root package name */ - public long f1045w = -9223372036854775807L; - - /* renamed from: x reason: collision with root package name */ - public long f1046x = -9223372036854775807L; - - /* renamed from: y reason: collision with root package name */ - public long f1047y = -9223372036854775807L; - - /* renamed from: z reason: collision with root package name */ - public float f1048z = -3.4028235E38f; - - public v0 a() { - g gVar; - c.c.a.a0.d.D(this.h == null || this.j != null); - Uri uri = this.b; - if (uri != null) { - String str = this.f1043c; - UUID uuid = this.j; - e eVar = uuid != null ? new e(uuid, this.h, this.i, this.k, this.m, this.l, this.n, this.o, null) : null; - Uri uri2 = this.s; - g gVar2 = new g(uri, str, eVar, uri2 != null ? new b(uri2, this.t, null) : null, this.p, this.q, this.f1044r, this.u, null); - String str2 = this.a; - if (str2 == null) { - str2 = uri.toString(); - } - this.a = str2; - gVar = gVar2; - } else { - gVar = null; - } - String str3 = this.a; - Objects.requireNonNull(str3); - d dVar = new d(this.d, Long.MIN_VALUE, this.e, this.f, this.g, null); - f fVar = new f(this.f1045w, this.f1046x, this.f1047y, this.f1048z, this.A); - w0 w0Var = this.v; - if (w0Var == null) { - w0Var = new w0(null, null); - } - return new v0(str3, dVar, gVar, fVar, w0Var, null); - } + public final k1 A() { + this.j.a(); + return this.j; } - /* compiled from: MediaItem */ - public static final class d { - public final long a; - public final long b; + public abstract void B(); - /* renamed from: c reason: collision with root package name */ - public final boolean f1049c; - public final boolean d; - public final boolean e; - - public d(long j, long j2, boolean z2, boolean z3, boolean z4, a aVar) { - this.a = j; - this.b = j2; - this.f1049c = z2; - this.d = z3; - this.e = z4; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (!(obj instanceof d)) { - return false; - } - d dVar = (d) obj; - return this.a == dVar.a && this.b == dVar.b && this.f1049c == dVar.f1049c && this.d == dVar.d && this.e == dVar.e; - } - - public int hashCode() { - long j = this.a; - long j2 = this.b; - return (((((((((int) (j ^ (j >>> 32))) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31) + (this.f1049c ? 1 : 0)) * 31) + (this.d ? 1 : 0)) * 31) + (this.e ? 1 : 0); - } + public void C(boolean z2, boolean z3) throws ExoPlaybackException { } - /* compiled from: MediaItem */ - public static final class e { - public final UUID a; - @Nullable - public final Uri b; + public abstract void D(long j, boolean z2) throws ExoPlaybackException; - /* renamed from: c reason: collision with root package name */ - public final Map f1050c; - public final boolean d; - public final boolean e; - public final boolean f; - public final List g; - @Nullable - public final byte[] h; - - public e(UUID uuid, Uri uri, Map map, boolean z2, boolean z3, boolean z4, List list, byte[] bArr, a aVar) { - c.c.a.a0.d.k(!z3 || uri != null); - this.a = uuid; - this.b = uri; - this.f1050c = map; - this.d = z2; - this.f = z3; - this.e = z4; - this.g = list; - this.h = bArr != null ? Arrays.copyOf(bArr, bArr.length) : null; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (!(obj instanceof e)) { - return false; - } - e eVar = (e) obj; - return this.a.equals(eVar.a) && f0.a(this.b, eVar.b) && f0.a(this.f1050c, eVar.f1050c) && this.d == eVar.d && this.f == eVar.f && this.e == eVar.e && this.g.equals(eVar.g) && Arrays.equals(this.h, eVar.h); - } - - public int hashCode() { - int hashCode = this.a.hashCode() * 31; - Uri uri = this.b; - int hashCode2 = uri != null ? uri.hashCode() : 0; - int hashCode3 = this.f1050c.hashCode(); - return Arrays.hashCode(this.h) + ((this.g.hashCode() + ((((((((hashCode3 + ((hashCode + hashCode2) * 31)) * 31) + (this.d ? 1 : 0)) * 31) + (this.f ? 1 : 0)) * 31) + (this.e ? 1 : 0)) * 31)) * 31); - } + public void E() { } - /* compiled from: MediaItem */ - public static final class f { - public final long a; - public final long b; - - /* renamed from: c reason: collision with root package name */ - public final long f1051c; - public final float d; - public final float e; - - public f(long j, long j2, long j3, float f, float f2) { - this.a = j; - this.b = j2; - this.f1051c = j3; - this.d = f; - this.e = f2; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (!(obj instanceof f)) { - return false; - } - f fVar = (f) obj; - return this.a == fVar.a && this.b == fVar.b && this.f1051c == fVar.f1051c && this.d == fVar.d && this.e == fVar.e; - } - - public int hashCode() { - long j = this.a; - long j2 = this.b; - long j3 = this.f1051c; - int i = ((((((int) (j ^ (j >>> 32))) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31) + ((int) (j3 ^ (j3 >>> 32)))) * 31; - float f = this.d; - int i2 = 0; - int floatToIntBits = (i + (f != 0.0f ? Float.floatToIntBits(f) : 0)) * 31; - float f2 = this.e; - if (f2 != 0.0f) { - i2 = Float.floatToIntBits(f2); - } - return floatToIntBits + i2; - } + public void F() throws ExoPlaybackException { } - /* compiled from: MediaItem */ - public static final class g { - public final Uri a; - @Nullable - public final String b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public final e f1052c; - @Nullable - public final b d; - public final List e; - @Nullable - public final String f; - public final List g; - @Nullable - public final Object h; - - public g(Uri uri, String str, e eVar, b bVar, List list, String str2, List list2, Object obj, a aVar) { - this.a = uri; - this.b = str; - this.f1052c = eVar; - this.d = bVar; - this.e = list; - this.f = str2; - this.g = list2; - this.h = obj; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (!(obj instanceof g)) { - return false; - } - g gVar = (g) obj; - return this.a.equals(gVar.a) && f0.a(this.b, gVar.b) && f0.a(this.f1052c, gVar.f1052c) && f0.a(this.d, gVar.d) && this.e.equals(gVar.e) && f0.a(this.f, gVar.f) && this.g.equals(gVar.g) && f0.a(this.h, gVar.h); - } - - public int hashCode() { - int hashCode = this.a.hashCode() * 31; - String str = this.b; - int i = 0; - int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31; - e eVar = this.f1052c; - int hashCode3 = (hashCode2 + (eVar == null ? 0 : eVar.hashCode())) * 31; - b bVar = this.d; - int hashCode4 = (this.e.hashCode() + ((hashCode3 + (bVar == null ? 0 : bVar.hashCode())) * 31)) * 31; - String str2 = this.f; - int hashCode5 = (this.g.hashCode() + ((hashCode4 + (str2 == null ? 0 : str2.hashCode())) * 31)) * 31; - Object obj = this.h; - if (obj != null) { - i = obj.hashCode(); - } - return hashCode5 + i; - } + public void G() { } - public v0(String str, d dVar, g gVar, f fVar, w0 w0Var, a aVar) { - this.a = str; - this.b = gVar; - this.f1042c = fVar; - this.d = w0Var; - this.e = dVar; + public abstract void H(j1[] j1VarArr, long j, long j2) throws ExoPlaybackException; + + public final int I(k1 k1Var, DecoderInputBuffer decoderInputBuffer, int i) { + i0 i0Var = this.n; + Objects.requireNonNull(i0Var); + int a = i0Var.a(k1Var, decoderInputBuffer, i); + if (a == -4) { + if (decoderInputBuffer.n()) { + this.q = Long.MIN_VALUE; + return this.r ? -4 : -3; + } + long j = decoderInputBuffer.m + this.p; + decoderInputBuffer.m = j; + this.q = Math.max(this.q, j); + } else if (a == -5) { + j1 j1Var = k1Var.b; + Objects.requireNonNull(j1Var); + if (j1Var.f822z != RecyclerView.FOREVER_NS) { + j1.b a2 = j1Var.a(); + a2.o = j1Var.f822z + this.p; + k1Var.b = a2.a(); + } + } + return a; } - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (!(obj instanceof v0)) { - return false; - } - v0 v0Var = (v0) obj; - return f0.a(this.a, v0Var.a) && this.e.equals(v0Var.e) && f0.a(this.b, v0Var.b) && f0.a(this.f1042c, v0Var.f1042c) && f0.a(this.d, v0Var.d); + @Override // c.i.a.c.f2 + public final void f(int i) { + this.l = i; } - public int hashCode() { - int hashCode = this.a.hashCode() * 31; - g gVar = this.b; - int hashCode2 = gVar != null ? gVar.hashCode() : 0; - int hashCode3 = this.f1042c.hashCode(); - return this.d.hashCode() + ((this.e.hashCode() + ((hashCode3 + ((hashCode + hashCode2) * 31)) * 31)) * 31); + @Override // c.i.a.c.f2 + public final void g() { + boolean z2 = true; + if (this.m != 1) { + z2 = false; + } + d.D(z2); + this.j.a(); + this.m = 0; + this.n = null; + this.o = null; + this.r = false; + B(); + } + + @Override // c.i.a.c.f2 + public final int getState() { + return this.m; + } + + @Override // c.i.a.c.f2 + @Nullable + public final i0 h() { + return this.n; + } + + @Override // c.i.a.c.f2 + public final boolean j() { + return this.q == Long.MIN_VALUE; + } + + @Override // c.i.a.c.f2 + public final void k(j1[] j1VarArr, i0 i0Var, long j, long j2) throws ExoPlaybackException { + d.D(!this.r); + this.n = i0Var; + if (this.q == Long.MIN_VALUE) { + this.q = j; + } + this.o = j1VarArr; + this.p = j2; + H(j1VarArr, j, j2); + } + + @Override // c.i.a.c.f2 + public final void l() { + this.r = true; + } + + @Override // c.i.a.c.f2 + public final g2 m() { + return this; + } + + @Override // c.i.a.c.f2 + public /* synthetic */ void n(float f, float f2) { + e2.a(this, f, f2); + } + + @Override // c.i.a.c.f2 + public final void o(h2 h2Var, j1[] j1VarArr, i0 i0Var, long j, boolean z2, boolean z3, long j2, long j3) throws ExoPlaybackException { + d.D(this.m == 0); + this.k = h2Var; + this.m = 1; + C(z2, z3); + k(j1VarArr, i0Var, j2, j3); + D(j, z2); + } + + @Override // c.i.a.c.g2 + public int p() throws ExoPlaybackException { + return 0; + } + + @Override // c.i.a.c.b2.b + public void r(int i, @Nullable Object obj) throws ExoPlaybackException { + } + + @Override // c.i.a.c.f2 + public final void reset() { + d.D(this.m == 0); + this.j.a(); + E(); + } + + @Override // c.i.a.c.f2 + public final void s() throws IOException { + i0 i0Var = this.n; + Objects.requireNonNull(i0Var); + i0Var.b(); + } + + @Override // c.i.a.c.f2 + public final void start() throws ExoPlaybackException { + boolean z2 = true; + if (this.m != 1) { + z2 = false; + } + d.D(z2); + this.m = 2; + F(); + } + + @Override // c.i.a.c.f2 + public final void stop() { + d.D(this.m == 2); + this.m = 1; + G(); + } + + @Override // c.i.a.c.f2 + public final long t() { + return this.q; + } + + @Override // c.i.a.c.f2 + public final void u(long j) throws ExoPlaybackException { + this.r = false; + this.q = j; + D(j, false); + } + + @Override // c.i.a.c.f2 + public final boolean v() { + return this.r; + } + + @Override // c.i.a.c.f2 + @Nullable + public s w() { + return null; + } + + @Override // c.i.a.c.f2 + public final int x() { + return this.i; + } + + public final ExoPlaybackException y(Throwable th, @Nullable j1 j1Var, int i) { + return z(th, j1Var, false, i); + } + + /* JADX WARNING: Removed duplicated region for block: B:16:0x0028 */ + /* JADX WARNING: Removed duplicated region for block: B:17:0x002a */ + public final ExoPlaybackException z(Throwable th, @Nullable j1 j1Var, boolean z2, int i) { + int i2; + if (j1Var != null && !this.f906s) { + this.f906s = true; + boolean z3 = false; + try { + i2 = a(j1Var) & 7; + } catch (ExoPlaybackException unused) { + } finally { + this.f906s = z3; + } + return new ExoPlaybackException(1, th, null, i, getName(), this.l, j1Var, j1Var != null ? 4 : i2, z2); + } + i2 = 4; + return new ExoPlaybackException(1, th, null, i, getName(), this.l, j1Var, j1Var != null ? 4 : i2, z2); } } diff --git a/app/src/main/java/c/i/a/c/v1.java b/app/src/main/java/c/i/a/c/v1.java new file mode 100644 index 0000000000..6d9115a03d --- /dev/null +++ b/app/src/main/java/c/i/a/c/v1.java @@ -0,0 +1,27 @@ +package c.i.a.c; + +import androidx.annotation.FloatRange; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import java.util.Arrays; +/* compiled from: PercentageRating */ +public final class v1 extends d2 { + public final float j; + + public v1() { + this.j = -1.0f; + } + + public v1(@FloatRange(from = 0.0d, to = 100.0d) float f) { + d.m(f >= 0.0f && f <= 100.0f, "percent must be in the range of [0, 100]"); + this.j = f; + } + + public boolean equals(@Nullable Object obj) { + return (obj instanceof v1) && this.j == ((v1) obj).j; + } + + public int hashCode() { + return Arrays.hashCode(new Object[]{Float.valueOf(this.j)}); + } +} diff --git a/app/src/main/java/c/i/a/c/v1/a.java b/app/src/main/java/c/i/a/c/v1/a.java deleted file mode 100644 index e1d4c25011..0000000000 --- a/app/src/main/java/c/i/a/c/v1/a.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.v1; - -import c.i.a.c.i2.f0; -import c.i.a.c.v1.q; -/* compiled from: lambda */ -public final /* synthetic */ class a implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ boolean j; - - public /* synthetic */ a(q.a aVar, boolean z2) { - this.i = aVar; - this.j = z2; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - boolean z2 = this.j; - q qVar = aVar.b; - int i = f0.a; - qVar.G(z2); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/a0.java b/app/src/main/java/c/i/a/c/v1/a0.java deleted file mode 100644 index fa1da6d4fb..0000000000 --- a/app/src/main/java/c/i/a/c/v1/a0.java +++ /dev/null @@ -1,91 +0,0 @@ -package c.i.a.c.v1; - -import c.i.a.c.i2.f0; -import com.google.android.exoplayer2.audio.AudioProcessor; -import java.nio.ByteBuffer; -/* compiled from: ResamplingAudioProcessor */ -public final class a0 extends u { - /* JADX WARNING: Removed duplicated region for block: B:13:0x0039 */ - /* JADX WARNING: Removed duplicated region for block: B:27:0x00b0 A[LOOP:4: B:27:0x00b0->B:28:0x00b2, LOOP_START, PHI: r0 - PHI: (r0v2 int) = (r0v0 int), (r0v3 int) binds: [B:12:0x0037, B:28:0x00b2] A[DONT_GENERATE, DONT_INLINE]] */ - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public void c(ByteBuffer byteBuffer) { - int i; - int position = byteBuffer.position(); - int limit = byteBuffer.limit(); - int i2 = limit - position; - int i3 = this.b.d; - if (i3 != 3) { - if (i3 != 4) { - if (i3 != 268435456) { - if (i3 == 536870912) { - i2 /= 3; - } else if (i3 != 805306368) { - throw new IllegalStateException(); - } - } - ByteBuffer j = j(i2); - i = this.b.d; - if (i == 3) { - while (position < limit) { - j.put((byte) 0); - j.put((byte) ((byteBuffer.get(position) & 255) - 128)); - position++; - } - } else if (i == 4) { - while (position < limit) { - short g = (short) ((int) (f0.g(byteBuffer.getFloat(position), -1.0f, 1.0f) * 32767.0f)); - j.put((byte) (g & 255)); - j.put((byte) ((g >> 8) & 255)); - position += 4; - } - } else if (i == 268435456) { - while (position < limit) { - j.put(byteBuffer.get(position + 1)); - j.put(byteBuffer.get(position)); - position += 2; - } - } else if (i == 536870912) { - while (position < limit) { - j.put(byteBuffer.get(position + 1)); - j.put(byteBuffer.get(position + 2)); - position += 3; - } - } else if (i == 805306368) { - while (position < limit) { - j.put(byteBuffer.get(position + 2)); - j.put(byteBuffer.get(position + 3)); - position += 4; - } - } else { - throw new IllegalStateException(); - } - byteBuffer.position(byteBuffer.limit()); - j.flip(); - } - i2 /= 2; - ByteBuffer j = j(i2); - i = this.b.d; - if (i == 3) { - } - byteBuffer.position(byteBuffer.limit()); - j.flip(); - } - i2 *= 2; - ByteBuffer j = j(i2); - i = this.b.d; - if (i == 3) { - } - byteBuffer.position(byteBuffer.limit()); - j.flip(); - } - - @Override // c.i.a.c.v1.u - public AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { - int i = aVar.d; - if (i == 3 || i == 2 || i == 268435456 || i == 536870912 || i == 805306368 || i == 4) { - return i != 2 ? new AudioProcessor.a(aVar.b, aVar.f2705c, 2) : AudioProcessor.a.a; - } - throw new AudioProcessor.UnhandledAudioFormatException(aVar); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/b.java b/app/src/main/java/c/i/a/c/v1/b.java deleted file mode 100644 index 30e676cca0..0000000000 --- a/app/src/main/java/c/i/a/c/v1/b.java +++ /dev/null @@ -1,28 +0,0 @@ -package c.i.a.c.v1; - -import c.i.a.c.i2.f0; -import c.i.a.c.v1.q; -import c.i.a.c.x1.d; -import java.util.Objects; -/* compiled from: lambda */ -public final /* synthetic */ class b implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ d j; - - public /* synthetic */ b(q.a aVar, d dVar) { - this.i = aVar; - this.j = dVar; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - d dVar = this.j; - Objects.requireNonNull(aVar); - synchronized (dVar) { - } - q qVar = aVar.b; - int i = f0.a; - qVar.c(dVar); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/b0.java b/app/src/main/java/c/i/a/c/v1/b0.java deleted file mode 100644 index 0e7d3f4bb3..0000000000 --- a/app/src/main/java/c/i/a/c/v1/b0.java +++ /dev/null @@ -1,194 +0,0 @@ -package c.i.a.c.v1; - -import c.c.a.a0.d; -import c.i.a.c.i2.f0; -import com.google.android.exoplayer2.audio.AudioProcessor; -import java.nio.ByteBuffer; -/* compiled from: SilenceSkippingAudioProcessor */ -public final class b0 extends u { - public final long i = 150000; - public final long j = 20000; - public final short k = 1024; - public int l; - public boolean m; - public byte[] n; - public byte[] o; - public int p; - public int q; - - /* renamed from: r reason: collision with root package name */ - public int f1053r; - public boolean s; - public long t; - - public b0() { - d.k(true); - byte[] bArr = f0.f; - this.n = bArr; - this.o = bArr; - } - - @Override // c.i.a.c.v1.u, com.google.android.exoplayer2.audio.AudioProcessor - public boolean a() { - return this.m; - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public void c(ByteBuffer byteBuffer) { - int position; - while (byteBuffer.hasRemaining() && !this.g.hasRemaining()) { - int i = this.p; - if (i == 0) { - int limit = byteBuffer.limit(); - byteBuffer.limit(Math.min(limit, byteBuffer.position() + this.n.length)); - int limit2 = byteBuffer.limit(); - while (true) { - limit2 -= 2; - if (limit2 >= byteBuffer.position()) { - if (Math.abs((int) byteBuffer.getShort(limit2)) > this.k) { - int i2 = this.l; - position = ((limit2 / i2) * i2) + i2; - break; - } - } else { - position = byteBuffer.position(); - break; - } - } - if (position == byteBuffer.position()) { - this.p = 1; - } else { - byteBuffer.limit(position); - int remaining = byteBuffer.remaining(); - j(remaining).put(byteBuffer).flip(); - if (remaining > 0) { - this.s = true; - } - } - byteBuffer.limit(limit); - } else if (i == 1) { - int limit3 = byteBuffer.limit(); - int k = k(byteBuffer); - int position2 = k - byteBuffer.position(); - byte[] bArr = this.n; - int length = bArr.length; - int i3 = this.q; - int i4 = length - i3; - if (k >= limit3 || position2 >= i4) { - int min = Math.min(position2, i4); - byteBuffer.limit(byteBuffer.position() + min); - byteBuffer.get(this.n, this.q, min); - int i5 = this.q + min; - this.q = i5; - byte[] bArr2 = this.n; - if (i5 == bArr2.length) { - if (this.s) { - l(bArr2, this.f1053r); - this.t += (long) ((this.q - (this.f1053r * 2)) / this.l); - } else { - this.t += (long) ((i5 - this.f1053r) / this.l); - } - m(byteBuffer, this.n, this.q); - this.q = 0; - this.p = 2; - } - byteBuffer.limit(limit3); - } else { - l(bArr, i3); - this.q = 0; - this.p = 0; - } - } else if (i == 2) { - int limit4 = byteBuffer.limit(); - int k2 = k(byteBuffer); - byteBuffer.limit(k2); - this.t += (long) (byteBuffer.remaining() / this.l); - m(byteBuffer, this.o, this.f1053r); - if (k2 < limit4) { - l(this.o, this.f1053r); - this.p = 0; - byteBuffer.limit(limit4); - } - } else { - throw new IllegalStateException(); - } - } - } - - @Override // c.i.a.c.v1.u - public AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { - if (aVar.d == 2) { - return this.m ? aVar : AudioProcessor.a.a; - } - throw new AudioProcessor.UnhandledAudioFormatException(aVar); - } - - @Override // c.i.a.c.v1.u - public void g() { - if (this.m) { - AudioProcessor.a aVar = this.b; - int i = aVar.e; - this.l = i; - long j = this.i; - long j2 = (long) aVar.b; - int i2 = ((int) ((j * j2) / 1000000)) * i; - if (this.n.length != i2) { - this.n = new byte[i2]; - } - int i3 = ((int) ((this.j * j2) / 1000000)) * i; - this.f1053r = i3; - if (this.o.length != i3) { - this.o = new byte[i3]; - } - } - this.p = 0; - this.t = 0; - this.q = 0; - this.s = false; - } - - @Override // c.i.a.c.v1.u - public void h() { - int i = this.q; - if (i > 0) { - l(this.n, i); - } - if (!this.s) { - this.t += (long) (this.f1053r / this.l); - } - } - - @Override // c.i.a.c.v1.u - public void i() { - this.m = false; - this.f1053r = 0; - byte[] bArr = f0.f; - this.n = bArr; - this.o = bArr; - } - - public final int k(ByteBuffer byteBuffer) { - for (int position = byteBuffer.position(); position < byteBuffer.limit(); position += 2) { - if (Math.abs((int) byteBuffer.getShort(position)) > this.k) { - int i = this.l; - return (position / i) * i; - } - } - return byteBuffer.limit(); - } - - public final void l(byte[] bArr, int i) { - j(i).put(bArr, 0, i).flip(); - if (i > 0) { - this.s = true; - } - } - - public final void m(ByteBuffer byteBuffer, byte[] bArr, int i) { - int min = Math.min(byteBuffer.remaining(), this.f1053r); - int i2 = this.f1053r - min; - System.arraycopy(bArr, i - i2, this.o, 0, i2); - byteBuffer.position(byteBuffer.limit() - min); - byteBuffer.get(this.o, i2, min); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/c.java b/app/src/main/java/c/i/a/c/v1/c.java deleted file mode 100644 index 8481ba25c2..0000000000 --- a/app/src/main/java/c/i/a/c/v1/c.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.v1; - -import c.i.a.c.i2.f0; -import c.i.a.c.v1.q; -/* compiled from: lambda */ -public final /* synthetic */ class c implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ Exception j; - - public /* synthetic */ c(q.a aVar, Exception exc) { - this.i = aVar; - this.j = exc; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - Exception exc = this.j; - q qVar = aVar.b; - int i = f0.a; - qVar.H(exc); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/c0.java b/app/src/main/java/c/i/a/c/v1/c0.java deleted file mode 100644 index 5e3aea42d2..0000000000 --- a/app/src/main/java/c/i/a/c/v1/c0.java +++ /dev/null @@ -1,302 +0,0 @@ -package c.i.a.c.v1; - -import c.c.a.a0.d; -import com.discord.utilities.rest.SendUtils; -import java.util.Arrays; -/* compiled from: Sonic */ -public final class c0 { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final float f1054c; - public final float d; - public final float e; - public final int f; - public final int g; - public final int h; - public final short[] i; - public short[] j; - public int k; - public short[] l; - public int m; - public short[] n; - public int o; - public int p; - public int q; - - /* renamed from: r reason: collision with root package name */ - public int f1055r; - public int s; - public int t; - public int u; - public int v; - - public c0(int i, int i2, float f, float f2, int i3) { - this.a = i; - this.b = i2; - this.f1054c = f; - this.d = f2; - this.e = ((float) i) / ((float) i3); - this.f = i / 400; - int i4 = i / 65; - this.g = i4; - int i5 = i4 * 2; - this.h = i5; - this.i = new short[i5]; - this.j = new short[(i5 * i2)]; - this.l = new short[(i5 * i2)]; - this.n = new short[(i5 * i2)]; - } - - public static void e(int i, int i2, short[] sArr, int i3, short[] sArr2, int i4, short[] sArr3, int i5) { - for (int i6 = 0; i6 < i2; i6++) { - int i7 = (i3 * i2) + i6; - int i8 = (i5 * i2) + i6; - int i9 = (i4 * i2) + i6; - for (int i10 = 0; i10 < i; i10++) { - sArr[i7] = (short) (((sArr3[i8] * i10) + ((i - i10) * sArr2[i9])) / i); - i7 += i2; - i9 += i2; - i8 += i2; - } - } - } - - public final void a(short[] sArr, int i, int i2) { - short[] c2 = c(this.l, this.m, i2); - this.l = c2; - int i3 = this.b; - System.arraycopy(sArr, i * i3, c2, this.m * i3, i3 * i2); - this.m += i2; - } - - public final void b(short[] sArr, int i, int i2) { - int i3 = this.h / i2; - int i4 = this.b; - int i5 = i2 * i4; - int i6 = i * i4; - for (int i7 = 0; i7 < i3; i7++) { - int i8 = 0; - for (int i9 = 0; i9 < i5; i9++) { - i8 += sArr[(i7 * i5) + i6 + i9]; - } - this.i[i7] = (short) (i8 / i5); - } - } - - public final short[] c(short[] sArr, int i, int i2) { - int length = sArr.length; - int i3 = this.b; - int i4 = length / i3; - return i + i2 <= i4 ? sArr : Arrays.copyOf(sArr, (((i4 * 3) / 2) + i2) * i3); - } - - public final int d(short[] sArr, int i, int i2, int i3) { - int i4 = i * this.b; - int i5 = 1; - int i6 = 255; - int i7 = 0; - int i8 = 0; - while (i2 <= i3) { - int i9 = 0; - for (int i10 = 0; i10 < i2; i10++) { - i9 += Math.abs(sArr[i4 + i10] - sArr[(i4 + i2) + i10]); - } - if (i9 * i7 < i5 * i2) { - i7 = i2; - i5 = i9; - } - if (i9 * i6 > i8 * i2) { - i6 = i2; - i8 = i9; - } - i2++; - } - this.u = i5 / i7; - this.v = i8 / i6; - return i7; - } - - public final void f() { - int i; - int i2; - int i3; - int i4; - int i5; - int i6; - int i7; - int i8 = this.m; - float f = this.f1054c; - float f2 = this.d; - float f3 = f / f2; - float f4 = this.e * f2; - double d = (double) f3; - float f5 = 1.0f; - int i9 = 1; - if (d > 1.00001d || d < 0.99999d) { - int i10 = this.k; - if (i10 >= this.h) { - int i11 = 0; - while (true) { - int i12 = this.f1055r; - if (i12 > 0) { - int min = Math.min(this.h, i12); - a(this.j, i11, min); - this.f1055r -= min; - i11 += min; - } else { - short[] sArr = this.j; - int i13 = this.a; - int i14 = i13 > 4000 ? i13 / SendUtils.MAX_MESSAGE_CHARACTER_COUNT_PREMIUM : 1; - if (this.b == i9 && i14 == i9) { - i5 = d(sArr, i11, this.f, this.g); - } else { - b(sArr, i11, i14); - int d2 = d(this.i, 0, this.f / i14, this.g / i14); - if (i14 != i9) { - int i15 = d2 * i14; - int i16 = i14 * 4; - int i17 = i15 - i16; - int i18 = i15 + i16; - int i19 = this.f; - if (i17 < i19) { - i17 = i19; - } - int i20 = this.g; - if (i18 > i20) { - i18 = i20; - } - if (this.b == i9) { - i5 = d(sArr, i11, i17, i18); - } else { - b(sArr, i11, i9); - i5 = d(this.i, 0, i17, i18); - } - } else { - i5 = d2; - } - } - int i21 = this.u; - int i22 = i21 != 0 && this.s != 0 && this.v <= i21 * 3 && i21 * 2 > this.t * 3 ? this.s : i5; - this.t = i21; - this.s = i5; - if (d > 1.0d) { - short[] sArr2 = this.j; - if (f3 >= 2.0f) { - i7 = (int) (((float) i22) / (f3 - f5)); - } else { - this.f1055r = (int) (((2.0f - f3) * ((float) i22)) / (f3 - f5)); - i7 = i22; - } - short[] c2 = c(this.l, this.m, i7); - this.l = c2; - e(i7, this.b, c2, this.m, sArr2, i11, sArr2, i11 + i22); - this.m += i7; - i11 = i22 + i7 + i11; - } else { - short[] sArr3 = this.j; - if (f3 < 0.5f) { - i6 = (int) ((((float) i22) * f3) / (f5 - f3)); - } else { - this.f1055r = (int) ((((2.0f * f3) - f5) * ((float) i22)) / (f5 - f3)); - i6 = i22; - } - int i23 = i22 + i6; - short[] c3 = c(this.l, this.m, i23); - this.l = c3; - int i24 = this.b; - System.arraycopy(sArr3, i11 * i24, c3, this.m * i24, i24 * i22); - e(i6, this.b, this.l, this.m + i22, sArr3, i11 + i22, sArr3, i11); - this.m += i23; - i11 += i6; - } - } - if (this.h + i11 > i10) { - break; - } - f5 = 1.0f; - i9 = 1; - } - int i25 = this.k - i11; - short[] sArr4 = this.j; - int i26 = this.b; - System.arraycopy(sArr4, i11 * i26, sArr4, 0, i26 * i25); - this.k = i25; - } - f5 = 1.0f; - } else { - a(this.j, 0, this.k); - this.k = 0; - } - if (f4 != f5 && this.m != i8) { - int i27 = this.a; - int i28 = (int) (((float) i27) / f4); - while (true) { - if (i28 <= 16384 && i27 <= 16384) { - break; - } - i28 /= 2; - i27 /= 2; - } - int i29 = this.m - i8; - short[] c4 = c(this.n, this.o, i29); - this.n = c4; - short[] sArr5 = this.l; - int i30 = this.b; - System.arraycopy(sArr5, i8 * i30, c4, this.o * i30, i30 * i29); - this.m = i8; - this.o += i29; - int i31 = 0; - while (true) { - i = this.o; - i2 = i - 1; - if (i31 >= i2) { - break; - } - while (true) { - i3 = this.p + 1; - int i32 = i3 * i28; - i4 = this.q; - if (i32 <= i4 * i27) { - break; - } - this.l = c(this.l, this.m, 1); - int i33 = 0; - while (true) { - int i34 = this.b; - if (i33 >= i34) { - break; - } - short[] sArr6 = this.n; - int i35 = (i31 * i34) + i33; - short s = sArr6[i35]; - short s2 = sArr6[i35 + i34]; - int i36 = this.p; - int i37 = i36 * i28; - int i38 = (i36 + 1) * i28; - int i39 = i38 - (this.q * i27); - int i40 = i38 - i37; - this.l[(this.m * i34) + i33] = (short) ((((i40 - i39) * s2) + (s * i39)) / i40); - i33++; - } - this.q++; - this.m++; - } - this.p = i3; - if (i3 == i27) { - this.p = 0; - d.D(i4 == i28); - this.q = 0; - } - i31++; - } - if (i2 != 0) { - short[] sArr7 = this.n; - int i41 = this.b; - System.arraycopy(sArr7, i2 * i41, sArr7, 0, (i - i2) * i41); - this.o -= i2; - } - } - } -} diff --git a/app/src/main/java/c/i/a/c/v1/d.java b/app/src/main/java/c/i/a/c/v1/d.java deleted file mode 100644 index 13a1822312..0000000000 --- a/app/src/main/java/c/i/a/c/v1/d.java +++ /dev/null @@ -1,28 +0,0 @@ -package c.i.a.c.v1; - -import c.i.a.c.i2.f0; -import c.i.a.c.v1.q; -import c.i.a.c.x1.e; -import com.google.android.exoplayer2.Format; -/* compiled from: lambda */ -public final /* synthetic */ class d implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ Format j; - public final /* synthetic */ e k; - - public /* synthetic */ d(q.a aVar, Format format, e eVar) { - this.i = aVar; - this.j = format; - this.k = eVar; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - Format format = this.j; - e eVar = this.k; - q qVar = aVar.b; - int i = f0.a; - qVar.A(format, eVar); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/d0.java b/app/src/main/java/c/i/a/c/v1/d0.java deleted file mode 100644 index 08533681ab..0000000000 --- a/app/src/main/java/c/i/a/c/v1/d0.java +++ /dev/null @@ -1,204 +0,0 @@ -package c.i.a.c.v1; - -import androidx.annotation.Nullable; -import com.google.android.exoplayer2.audio.AudioProcessor; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; -import java.nio.ShortBuffer; -import java.util.Objects; -/* compiled from: SonicAudioProcessor */ -public final class d0 implements AudioProcessor { - public int b; - - /* renamed from: c reason: collision with root package name */ - public float f1056c = 1.0f; - public float d = 1.0f; - public AudioProcessor.a e; - public AudioProcessor.a f; - public AudioProcessor.a g; - public AudioProcessor.a h; - public boolean i; - @Nullable - public c0 j; - public ByteBuffer k; - public ShortBuffer l; - public ByteBuffer m; - public long n; - public long o; - public boolean p; - - public d0() { - AudioProcessor.a aVar = AudioProcessor.a.a; - this.e = aVar; - this.f = aVar; - this.g = aVar; - this.h = aVar; - ByteBuffer byteBuffer = AudioProcessor.a; - this.k = byteBuffer; - this.l = byteBuffer.asShortBuffer(); - this.m = byteBuffer; - this.b = -1; - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public boolean a() { - return this.f.b != -1 && (Math.abs(this.f1056c - 1.0f) >= 1.0E-4f || Math.abs(this.d - 1.0f) >= 1.0E-4f || this.f.b != this.e.b); - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public boolean b() { - c0 c0Var; - return this.p && ((c0Var = this.j) == null || (c0Var.m * c0Var.b) * 2 == 0); - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public void c(ByteBuffer byteBuffer) { - if (byteBuffer.hasRemaining()) { - c0 c0Var = this.j; - Objects.requireNonNull(c0Var); - ShortBuffer asShortBuffer = byteBuffer.asShortBuffer(); - int remaining = byteBuffer.remaining(); - this.n += (long) remaining; - int remaining2 = asShortBuffer.remaining(); - int i = c0Var.b; - int i2 = remaining2 / i; - short[] c2 = c0Var.c(c0Var.j, c0Var.k, i2); - c0Var.j = c2; - asShortBuffer.get(c2, c0Var.k * c0Var.b, ((i * i2) * 2) / 2); - c0Var.k += i2; - c0Var.f(); - byteBuffer.position(byteBuffer.position() + remaining); - } - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public AudioProcessor.a d(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { - if (aVar.d == 2) { - int i = this.b; - if (i == -1) { - i = aVar.b; - } - this.e = aVar; - AudioProcessor.a aVar2 = new AudioProcessor.a(i, aVar.f2705c, 2); - this.f = aVar2; - this.i = true; - return aVar2; - } - throw new AudioProcessor.UnhandledAudioFormatException(aVar); - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public void e() { - int i; - c0 c0Var = this.j; - if (c0Var != null) { - int i2 = c0Var.k; - float f = c0Var.f1054c; - float f2 = c0Var.d; - float f3 = c0Var.e * f2; - int i3 = c0Var.m + ((int) ((((((float) i2) / (f / f2)) + ((float) c0Var.o)) / f3) + 0.5f)); - c0Var.j = c0Var.c(c0Var.j, i2, (c0Var.h * 2) + i2); - int i4 = 0; - while (true) { - i = c0Var.h * 2; - int i5 = c0Var.b; - if (i4 >= i * i5) { - break; - } - c0Var.j[(i5 * i2) + i4] = 0; - i4++; - } - c0Var.k = i + c0Var.k; - c0Var.f(); - if (c0Var.m > i3) { - c0Var.m = i3; - } - c0Var.k = 0; - c0Var.f1055r = 0; - c0Var.o = 0; - } - this.p = true; - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public void flush() { - if (a()) { - AudioProcessor.a aVar = this.e; - this.g = aVar; - AudioProcessor.a aVar2 = this.f; - this.h = aVar2; - if (this.i) { - this.j = new c0(aVar.b, aVar.f2705c, this.f1056c, this.d, aVar2.b); - } else { - c0 c0Var = this.j; - if (c0Var != null) { - c0Var.k = 0; - c0Var.m = 0; - c0Var.o = 0; - c0Var.p = 0; - c0Var.q = 0; - c0Var.f1055r = 0; - c0Var.s = 0; - c0Var.t = 0; - c0Var.u = 0; - c0Var.v = 0; - } - } - } - this.m = AudioProcessor.a; - this.n = 0; - this.o = 0; - this.p = false; - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public ByteBuffer getOutput() { - int i; - c0 c0Var = this.j; - if (c0Var != null && (i = c0Var.m * c0Var.b * 2) > 0) { - if (this.k.capacity() < i) { - ByteBuffer order = ByteBuffer.allocateDirect(i).order(ByteOrder.nativeOrder()); - this.k = order; - this.l = order.asShortBuffer(); - } else { - this.k.clear(); - this.l.clear(); - } - ShortBuffer shortBuffer = this.l; - int min = Math.min(shortBuffer.remaining() / c0Var.b, c0Var.m); - shortBuffer.put(c0Var.l, 0, c0Var.b * min); - int i2 = c0Var.m - min; - c0Var.m = i2; - short[] sArr = c0Var.l; - int i3 = c0Var.b; - System.arraycopy(sArr, min * i3, sArr, 0, i2 * i3); - this.o += (long) i; - this.k.limit(i); - this.m = this.k; - } - ByteBuffer byteBuffer = this.m; - this.m = AudioProcessor.a; - return byteBuffer; - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public void reset() { - this.f1056c = 1.0f; - this.d = 1.0f; - AudioProcessor.a aVar = AudioProcessor.a.a; - this.e = aVar; - this.f = aVar; - this.g = aVar; - this.h = aVar; - ByteBuffer byteBuffer = AudioProcessor.a; - this.k = byteBuffer; - this.l = byteBuffer.asShortBuffer(); - this.m = byteBuffer; - this.b = -1; - this.i = false; - this.j = null; - this.n = 0; - this.o = 0; - this.p = false; - } -} diff --git a/app/src/main/java/c/i/a/c/v1/e.java b/app/src/main/java/c/i/a/c/v1/e.java deleted file mode 100644 index 351aadef0f..0000000000 --- a/app/src/main/java/c/i/a/c/v1/e.java +++ /dev/null @@ -1,29 +0,0 @@ -package c.i.a.c.v1; - -import c.i.a.c.i2.f0; -import c.i.a.c.v1.q; -/* compiled from: lambda */ -public final /* synthetic */ class e implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ String j; - public final /* synthetic */ long k; - public final /* synthetic */ long l; - - public /* synthetic */ e(q.a aVar, String str, long j, long j2) { - this.i = aVar; - this.j = str; - this.k = j; - this.l = j2; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - String str = this.j; - long j = this.k; - long j2 = this.l; - q qVar = aVar.b; - int i = f0.a; - qVar.u(str, j, j2); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/e0.java b/app/src/main/java/c/i/a/c/v1/e0.java deleted file mode 100644 index 7335eec318..0000000000 --- a/app/src/main/java/c/i/a/c/v1/e0.java +++ /dev/null @@ -1,99 +0,0 @@ -package c.i.a.c.v1; - -import c.i.a.c.i2.f0; -import com.google.android.exoplayer2.audio.AudioProcessor; -import java.nio.ByteBuffer; -/* compiled from: TrimmingAudioProcessor */ -public final class e0 extends u { - public int i; - public int j; - public boolean k; - public int l; - public byte[] m = f0.f; - public int n; - public long o; - - @Override // c.i.a.c.v1.u, com.google.android.exoplayer2.audio.AudioProcessor - public boolean b() { - return super.b() && this.n == 0; - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public void c(ByteBuffer byteBuffer) { - int position = byteBuffer.position(); - int limit = byteBuffer.limit(); - int i = limit - position; - if (i != 0) { - int min = Math.min(i, this.l); - this.o += (long) (min / this.b.e); - this.l -= min; - byteBuffer.position(position + min); - if (this.l <= 0) { - int i2 = i - min; - int length = (this.n + i2) - this.m.length; - ByteBuffer j = j(length); - int h = f0.h(length, 0, this.n); - j.put(this.m, 0, h); - int h2 = f0.h(length - h, 0, i2); - byteBuffer.limit(byteBuffer.position() + h2); - j.put(byteBuffer); - byteBuffer.limit(limit); - int i3 = i2 - h2; - int i4 = this.n - h; - this.n = i4; - byte[] bArr = this.m; - System.arraycopy(bArr, h, bArr, 0, i4); - byteBuffer.get(this.m, this.n, i3); - this.n += i3; - j.flip(); - } - } - } - - @Override // c.i.a.c.v1.u - public AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { - if (aVar.d == 2) { - this.k = true; - return (this.i == 0 && this.j == 0) ? AudioProcessor.a.a : aVar; - } - throw new AudioProcessor.UnhandledAudioFormatException(aVar); - } - - @Override // c.i.a.c.v1.u - public void g() { - if (this.k) { - this.k = false; - int i = this.j; - int i2 = this.b.e; - this.m = new byte[(i * i2)]; - this.l = this.i * i2; - } - this.n = 0; - } - - @Override // c.i.a.c.v1.u, com.google.android.exoplayer2.audio.AudioProcessor - public ByteBuffer getOutput() { - int i; - if (super.b() && (i = this.n) > 0) { - j(i).put(this.m, 0, this.n).flip(); - this.n = 0; - } - return super.getOutput(); - } - - @Override // c.i.a.c.v1.u - public void h() { - if (this.k) { - int i = this.n; - if (i > 0) { - this.o += (long) (i / this.b.e); - } - this.n = 0; - } - } - - @Override // c.i.a.c.v1.u - public void i() { - this.m = f0.f; - } -} diff --git a/app/src/main/java/c/i/a/c/v1/f.java b/app/src/main/java/c/i/a/c/v1/f.java deleted file mode 100644 index de56044c55..0000000000 --- a/app/src/main/java/c/i/a/c/v1/f.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.v1; - -import c.i.a.c.i2.f0; -import c.i.a.c.v1.q; -/* compiled from: lambda */ -public final /* synthetic */ class f implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ String j; - - public /* synthetic */ f(q.a aVar, String str) { - this.i = aVar; - this.j = str; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - String str = this.j; - q qVar = aVar.b; - int i = f0.a; - qVar.t(str); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/g.java b/app/src/main/java/c/i/a/c/v1/g.java deleted file mode 100644 index 097e1500ab..0000000000 --- a/app/src/main/java/c/i/a/c/v1/g.java +++ /dev/null @@ -1,23 +0,0 @@ -package c.i.a.c.v1; - -import c.i.a.c.i2.f0; -import c.i.a.c.v1.q; -/* compiled from: lambda */ -public final /* synthetic */ class g implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ long j; - - public /* synthetic */ g(q.a aVar, long j) { - this.i = aVar; - this.j = j; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - long j = this.j; - q qVar = aVar.b; - int i = f0.a; - qVar.K(j); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/h.java b/app/src/main/java/c/i/a/c/v1/h.java deleted file mode 100644 index a03b354167..0000000000 --- a/app/src/main/java/c/i/a/c/v1/h.java +++ /dev/null @@ -1,29 +0,0 @@ -package c.i.a.c.v1; - -import c.i.a.c.i2.f0; -import c.i.a.c.v1.q; -/* compiled from: lambda */ -public final /* synthetic */ class h implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ int j; - public final /* synthetic */ long k; - public final /* synthetic */ long l; - - public /* synthetic */ h(q.a aVar, int i, long j, long j2) { - this.i = aVar; - this.j = i; - this.k = j; - this.l = j2; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - int i = this.j; - long j = this.k; - long j2 = this.l; - q qVar = aVar.b; - int i2 = f0.a; - qVar.T(i, j, j2); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/i.java b/app/src/main/java/c/i/a/c/v1/i.java deleted file mode 100644 index f4b7d08c00..0000000000 --- a/app/src/main/java/c/i/a/c/v1/i.java +++ /dev/null @@ -1,24 +0,0 @@ -package c.i.a.c.v1; - -import c.i.a.c.i2.f0; -import c.i.a.c.v1.q; -import c.i.a.c.x1.d; -/* compiled from: lambda */ -public final /* synthetic */ class i implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ d j; - - public /* synthetic */ i(q.a aVar, d dVar) { - this.i = aVar; - this.j = dVar; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - d dVar = this.j; - q qVar = aVar.b; - int i = f0.a; - qVar.h(dVar); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/j.java b/app/src/main/java/c/i/a/c/v1/j.java deleted file mode 100644 index b35bb4dc72..0000000000 --- a/app/src/main/java/c/i/a/c/v1/j.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.v1; - -import android.os.Handler; -import java.util.concurrent.Executor; -/* compiled from: lambda */ -public final /* synthetic */ class j implements Executor { - public final /* synthetic */ Handler i; - - public /* synthetic */ j(Handler handler) { - this.i = handler; - } - - @Override // java.util.concurrent.Executor - public final void execute(Runnable runnable) { - this.i.post(runnable); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/k.java b/app/src/main/java/c/i/a/c/v1/k.java deleted file mode 100644 index 53ddfd1563..0000000000 --- a/app/src/main/java/c/i/a/c/v1/k.java +++ /dev/null @@ -1,132 +0,0 @@ -package c.i.a.c.v1; - -import android.util.Log; -import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; -import c.i.a.c.i2.v; -import com.google.android.exoplayer2.ParserException; -/* compiled from: AacUtil */ -public final class k { - public static final int[] a = {96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, 7350}; - public static final int[] b = {0, 1, 2, 3, 4, 5, 6, 8, -1, -1, -1, 7, 8, -1, 8, -1}; - - /* compiled from: AacUtil */ - public static final class b { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final String f1057c; - - public b(int i, int i2, String str, a aVar) { - this.a = i; - this.b = i2; - this.f1057c = str; - } - } - - public static int a(int i) { - if (i == 2) { - return 10; - } - if (i == 5) { - return 11; - } - if (i == 29) { - return 12; - } - if (i != 42) { - return i != 22 ? i != 23 ? 0 : 15 : BasicMeasure.EXACTLY; - } - return 16; - } - - public static int b(v vVar) throws ParserException { - int g = vVar.g(4); - if (g == 15) { - return vVar.g(24); - } - if (g < 13) { - return a[g]; - } - throw new ParserException(); - } - - public static b c(v vVar, boolean z2) throws ParserException { - int g = vVar.g(5); - if (g == 31) { - g = vVar.g(6) + 32; - } - int b2 = b(vVar); - int g2 = vVar.g(4); - String l = c.d.b.a.a.l("mp4a.40.", g); - if (g == 5 || g == 29) { - b2 = b(vVar); - int g3 = vVar.g(5); - if (g3 == 31) { - g3 = vVar.g(6) + 32; - } - g = g3; - if (g == 22) { - g2 = vVar.g(4); - } - } - if (z2) { - if (!(g == 1 || g == 2 || g == 3 || g == 4 || g == 6 || g == 7 || g == 17)) { - switch (g) { - case 19: - case 20: - case 21: - case 22: - case 23: - break; - default: - throw new ParserException(c.d.b.a.a.l("Unsupported audio object type: ", g)); - } - } - if (vVar.f()) { - Log.w("AacUtil", "Unexpected frameLengthFlag = 1"); - } - if (vVar.f()) { - vVar.m(14); - } - boolean f = vVar.f(); - if (g2 != 0) { - if (g == 6 || g == 20) { - vVar.m(3); - } - if (f) { - if (g == 22) { - vVar.m(16); - } - if (g == 17 || g == 19 || g == 20 || g == 23) { - vVar.m(3); - } - vVar.m(1); - } - switch (g) { - case 17: - case 19: - case 20: - case 21: - case 22: - case 23: - int g4 = vVar.g(2); - if (g4 == 2 || g4 == 3) { - throw new ParserException(c.d.b.a.a.l("Unsupported epConfig: ", g4)); - } - } - } else { - throw new UnsupportedOperationException(); - } - } - int i = b[g2]; - if (i != -1) { - return new b(b2, i, l, null); - } - throw new ParserException(); - } - - public static b d(byte[] bArr) throws ParserException { - return c(new v(bArr), false); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/l.java b/app/src/main/java/c/i/a/c/v1/l.java deleted file mode 100644 index d9e1988764..0000000000 --- a/app/src/main/java/c/i/a/c/v1/l.java +++ /dev/null @@ -1,33 +0,0 @@ -package c.i.a.c.v1; -/* compiled from: Ac3Util */ -public final class l { - public static final int[] a = {1, 2, 3, 6}; - public static final int[] b = {48000, 44100, 32000}; - - /* renamed from: c reason: collision with root package name */ - public static final int[] f1058c = {24000, 22050, 16000}; - public static final int[] d = {2, 1, 2, 3, 3, 4, 4, 5}; - public static final int[] e = {32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 448, 512, 576, 640}; - public static final int[] f = {69, 87, 104, 121, 139, 174, 208, 243, 278, 348, 417, 487, 557, 696, 835, 975, 1114, 1253, 1393}; - - public static int a(int i, int i2) { - int i3 = i2 / 2; - if (i < 0) { - return -1; - } - int[] iArr = b; - if (i >= iArr.length || i2 < 0) { - return -1; - } - int[] iArr2 = f; - if (i3 >= iArr2.length) { - return -1; - } - int i4 = iArr[i]; - if (i4 == 44100) { - return ((i2 % 2) + iArr2[i3]) * 2; - } - int i5 = e[i3]; - return i4 == 32000 ? i5 * 6 : i5 * 4; - } -} diff --git a/app/src/main/java/c/i/a/c/v1/m.java b/app/src/main/java/c/i/a/c/v1/m.java deleted file mode 100644 index 550895225d..0000000000 --- a/app/src/main/java/c/i/a/c/v1/m.java +++ /dev/null @@ -1,115 +0,0 @@ -package c.i.a.c.v1; - -import androidx.core.view.PointerIconCompat; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; -/* compiled from: Ac4Util */ -public final class m { - public static final int[] a = {2002, 2000, 1920, 1601, 1600, PointerIconCompat.TYPE_CONTEXT_MENU, 1000, 960, 800, 800, 480, 400, 400, 2048}; - - /* compiled from: Ac4Util */ - public static final class b { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f1059c; - - public b(int i, int i2, int i3, int i4, int i5, a aVar) { - this.a = i3; - this.b = i4; - this.f1059c = i5; - } - } - - public static void a(int i, w wVar) { - wVar.z(7); - byte[] bArr = wVar.a; - bArr[0] = -84; - bArr[1] = 64; - bArr[2] = -1; - bArr[3] = -1; - bArr[4] = (byte) ((i >> 16) & 255); - bArr[5] = (byte) ((i >> 8) & 255); - bArr[6] = (byte) (i & 255); - } - - /* JADX WARNING: Code restructure failed: missing block: B:39:0x0093, code lost: - if (r10 != 11) goto L_0x00a0; - */ - /* JADX WARNING: Code restructure failed: missing block: B:41:0x0098, code lost: - if (r10 != 11) goto L_0x00a0; - */ - /* JADX WARNING: Code restructure failed: missing block: B:43:0x009d, code lost: - if (r10 != 8) goto L_0x00a0; - */ - public static b b(v vVar) { - int i; - int i2; - int g; - int g2 = vVar.g(16); - int g3 = vVar.g(16); - if (g3 == 65535) { - g3 = vVar.g(24); - i = 7; - } else { - i = 4; - } - int i3 = g3 + i; - if (g2 == 44097) { - i3 += 2; - } - int g4 = vVar.g(2); - if (g4 == 3) { - int i4 = 0; - while (true) { - g = vVar.g(2) + i4; - if (!vVar.f()) { - break; - } - i4 = (g + 1) << 2; - } - g4 += g; - } - int g5 = vVar.g(10); - if (vVar.f() && vVar.g(3) > 0) { - vVar.m(2); - } - int i5 = vVar.f() ? 48000 : 44100; - int g6 = vVar.g(4); - if (i5 == 44100 && g6 == 13) { - i2 = a[g6]; - } else { - if (i5 == 48000) { - int[] iArr = a; - if (g6 < iArr.length) { - int i6 = iArr[g6]; - int i7 = g5 % 5; - if (i7 != 1) { - if (i7 == 2) { - if (g6 != 8) { - } - i6++; - i2 = i6; - } else if (i7 != 3) { - if (i7 == 4) { - if (g6 != 3) { - if (g6 != 8) { - } - } - i6++; - } - i2 = i6; - } - } - if (g6 != 3) { - } - i6++; - i2 = i6; - } - } - i2 = 0; - } - return new b(g4, 2, i5, i3, i2, null); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/n.java b/app/src/main/java/c/i/a/c/v1/n.java deleted file mode 100644 index a2f3b7aeaf..0000000000 --- a/app/src/main/java/c/i/a/c/v1/n.java +++ /dev/null @@ -1,52 +0,0 @@ -package c.i.a.c.v1; - -import android.media.AudioAttributes; -import androidx.annotation.Nullable; -import androidx.annotation.RequiresApi; -import c.i.a.c.i2.f0; -/* compiled from: AudioAttributes */ -public final class n { - public static final n a = new n(0, 0, 1, 1, null); - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f1060c; - public final int d; - public final int e; - @Nullable - public AudioAttributes f; - - public n(int i, int i2, int i3, int i4, a aVar) { - this.b = i; - this.f1060c = i2; - this.d = i3; - this.e = i4; - } - - @RequiresApi(21) - public AudioAttributes a() { - if (this.f == null) { - AudioAttributes.Builder usage = new AudioAttributes.Builder().setContentType(this.b).setFlags(this.f1060c).setUsage(this.d); - if (f0.a >= 29) { - usage.setAllowedCapturePolicy(this.e); - } - this.f = usage.build(); - } - return this.f; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || n.class != obj.getClass()) { - return false; - } - n nVar = (n) obj; - return this.b == nVar.b && this.f1060c == nVar.f1060c && this.d == nVar.d && this.e == nVar.e; - } - - public int hashCode() { - return ((((((527 + this.b) * 31) + this.f1060c) * 31) + this.d) * 31) + this.e; - } -} diff --git a/app/src/main/java/c/i/a/c/v1/o.java b/app/src/main/java/c/i/a/c/v1/o.java deleted file mode 100644 index 4ea8dd97d4..0000000000 --- a/app/src/main/java/c/i/a/c/v1/o.java +++ /dev/null @@ -1,53 +0,0 @@ -package c.i.a.c.v1; - -import androidx.annotation.Nullable; -import c.d.b.a.a; -import java.util.Arrays; -/* compiled from: AudioCapabilities */ -public final class o { - public static final o a = new o(new int[]{2}, 8); - public static final o b = new o(new int[]{2, 5, 6}, 8); - - /* renamed from: c reason: collision with root package name */ - public final int[] f1061c; - public final int d; - - public o(@Nullable int[] iArr, int i) { - if (iArr != null) { - int[] copyOf = Arrays.copyOf(iArr, iArr.length); - this.f1061c = copyOf; - Arrays.sort(copyOf); - } else { - this.f1061c = new int[0]; - } - this.d = i; - } - - public boolean a(int i) { - return Arrays.binarySearch(this.f1061c, i) >= 0; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (!(obj instanceof o)) { - return false; - } - o oVar = (o) obj; - return Arrays.equals(this.f1061c, oVar.f1061c) && this.d == oVar.d; - } - - public int hashCode() { - return (Arrays.hashCode(this.f1061c) * 31) + this.d; - } - - public String toString() { - StringBuilder O = a.O("AudioCapabilities[maxChannelCount="); - O.append(this.d); - O.append(", supportedEncodings="); - O.append(Arrays.toString(this.f1061c)); - O.append("]"); - return O.toString(); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/p.java b/app/src/main/java/c/i/a/c/v1/p.java deleted file mode 100644 index 45924aa22d..0000000000 --- a/app/src/main/java/c/i/a/c/v1/p.java +++ /dev/null @@ -1,7 +0,0 @@ -package c.i.a.c.v1; -/* compiled from: AudioListener */ -public interface p { - void b(); - - void d(); -} diff --git a/app/src/main/java/c/i/a/c/v1/q.java b/app/src/main/java/c/i/a/c/v1/q.java deleted file mode 100644 index 219123ba2b..0000000000 --- a/app/src/main/java/c/i/a/c/v1/q.java +++ /dev/null @@ -1,56 +0,0 @@ -package c.i.a.c.v1; - -import android.os.Handler; -import androidx.annotation.Nullable; -import c.i.a.c.x1.d; -import c.i.a.c.x1.e; -import com.google.android.exoplayer2.Format; -import java.util.Objects; -/* compiled from: AudioRendererEventListener */ -public interface q { - - /* compiled from: AudioRendererEventListener */ - public static final class a { - @Nullable - public final Handler a; - @Nullable - public final q b; - - public a(@Nullable Handler handler, @Nullable q qVar) { - if (qVar != null) { - Objects.requireNonNull(handler); - } else { - handler = null; - } - this.a = handler; - this.b = qVar; - } - - public void a(d dVar) { - synchronized (dVar) { - } - Handler handler = this.a; - if (handler != null) { - handler.post(new b(this, dVar)); - } - } - } - - void A(Format format, @Nullable e eVar); - - void G(boolean z2); - - void H(Exception exc); - - void K(long j); - - void T(int i, long j, long j2); - - void c(d dVar); - - void h(d dVar); - - void t(String str); - - void u(String str, long j, long j2); -} diff --git a/app/src/main/java/c/i/a/c/v1/r.java b/app/src/main/java/c/i/a/c/v1/r.java deleted file mode 100644 index 4b4ea75295..0000000000 --- a/app/src/main/java/c/i/a/c/v1/r.java +++ /dev/null @@ -1,69 +0,0 @@ -package c.i.a.c.v1; - -import android.media.AudioTimestamp; -import android.media.AudioTrack; -import androidx.annotation.Nullable; -import androidx.annotation.RequiresApi; -import c.i.a.c.i2.f0; -/* compiled from: AudioTimestampPoller */ -public final class r { - @Nullable - public final a a; - public int b; - - /* renamed from: c reason: collision with root package name */ - public long f1062c; - public long d; - public long e; - public long f; - - /* compiled from: AudioTimestampPoller */ - @RequiresApi(19) - public static final class a { - public final AudioTrack a; - public final AudioTimestamp b = new AudioTimestamp(); - - /* renamed from: c reason: collision with root package name */ - public long f1063c; - public long d; - public long e; - - public a(AudioTrack audioTrack) { - this.a = audioTrack; - } - } - - public r(AudioTrack audioTrack) { - if (f0.a >= 19) { - this.a = new a(audioTrack); - a(); - return; - } - this.a = null; - b(3); - } - - public void a() { - if (this.a != null) { - b(0); - } - } - - public final void b(int i) { - this.b = i; - if (i == 0) { - this.e = 0; - this.f = -1; - this.f1062c = System.nanoTime() / 1000; - this.d = 10000; - } else if (i == 1) { - this.d = 10000; - } else if (i == 2 || i == 3) { - this.d = 10000000; - } else if (i == 4) { - this.d = 500000; - } else { - throw new IllegalStateException(); - } - } -} diff --git a/app/src/main/java/c/i/a/c/v1/s.java b/app/src/main/java/c/i/a/c/v1/s.java deleted file mode 100644 index 39b4bf6c78..0000000000 --- a/app/src/main/java/c/i/a/c/v1/s.java +++ /dev/null @@ -1,180 +0,0 @@ -package c.i.a.c.v1; - -import android.media.AudioTrack; -import android.os.SystemClock; -import androidx.annotation.Nullable; -import c.i.a.c.i2.f0; -import java.lang.reflect.Method; -import java.util.Objects; -/* compiled from: AudioTrackPositionTracker */ -public final class s { - public long A; - public long B; - public long C; - public boolean D; - public long E; - public long F; - public final a a; - public final long[] b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public AudioTrack f1064c; - public int d; - public int e; - @Nullable - public r f; - public int g; - public boolean h; - public long i; - public float j; - public boolean k; - public long l; - public long m; - @Nullable - public Method n; - public long o; - public boolean p; - public boolean q; - - /* renamed from: r reason: collision with root package name */ - public long f1065r; - public long s; - public long t; - public long u; - public int v; - - /* renamed from: w reason: collision with root package name */ - public int f1066w; - - /* renamed from: x reason: collision with root package name */ - public long f1067x; - - /* renamed from: y reason: collision with root package name */ - public long f1068y; - - /* renamed from: z reason: collision with root package name */ - public long f1069z; - - /* compiled from: AudioTrackPositionTracker */ - public interface a { - void a(long j); - - void b(int i, long j); - - void c(long j); - - void d(long j, long j2, long j3, long j4); - - void e(long j, long j2, long j3, long j4); - } - - public s(a aVar) { - this.a = aVar; - if (f0.a >= 18) { - try { - this.n = AudioTrack.class.getMethod("getLatency", null); - } catch (NoSuchMethodException unused) { - } - } - this.b = new long[10]; - } - - public final long a(long j) { - return (j * 1000000) / ((long) this.g); - } - - public final long b() { - AudioTrack audioTrack = this.f1064c; - Objects.requireNonNull(audioTrack); - if (this.f1067x != -9223372036854775807L) { - return Math.min(this.A, this.f1069z + ((((SystemClock.elapsedRealtime() * 1000) - this.f1067x) * ((long) this.g)) / 1000000)); - } - int playState = audioTrack.getPlayState(); - if (playState == 1) { - return 0; - } - long playbackHeadPosition = 4294967295L & ((long) audioTrack.getPlaybackHeadPosition()); - if (this.h) { - if (playState == 2 && playbackHeadPosition == 0) { - this.u = this.s; - } - playbackHeadPosition += this.u; - } - if (f0.a <= 29) { - if (playbackHeadPosition == 0 && this.s > 0 && playState == 3) { - if (this.f1068y == -9223372036854775807L) { - this.f1068y = SystemClock.elapsedRealtime(); - } - return this.s; - } - this.f1068y = -9223372036854775807L; - } - if (this.s > playbackHeadPosition) { - this.t++; - } - this.s = playbackHeadPosition; - return playbackHeadPosition + (this.t << 32); - } - - /* JADX WARNING: Removed duplicated region for block: B:12:? A[RETURN, SYNTHETIC] */ - public boolean c(long j) { - boolean z2; - if (j <= b()) { - if (this.h) { - AudioTrack audioTrack = this.f1064c; - Objects.requireNonNull(audioTrack); - if (audioTrack.getPlayState() == 2 && b() == 0) { - z2 = true; - if (z2) { - return false; - } - } - } - z2 = false; - if (z2) { - } - } - return true; - } - - public void d() { - this.l = 0; - this.f1066w = 0; - this.v = 0; - this.m = 0; - this.C = 0; - this.F = 0; - this.k = false; - this.f1064c = null; - this.f = null; - } - - /* JADX WARNING: Code restructure failed: missing block: B:10:0x0026, code lost: - if ((c.i.a.c.i2.f0.a < 23 && (r5 == 5 || r5 == 6)) != false) goto L_0x002a; - */ - public void e(AudioTrack audioTrack, boolean z2, int i, int i2, int i3) { - this.f1064c = audioTrack; - this.d = i2; - this.e = i3; - this.f = new r(audioTrack); - this.g = audioTrack.getSampleRate(); - boolean z3 = true; - if (z2) { - } - z3 = false; - this.h = z3; - boolean z4 = f0.z(i); - this.q = z4; - this.i = z4 ? a((long) (i3 / i2)) : -9223372036854775807L; - this.s = 0; - this.t = 0; - this.u = 0; - this.p = false; - this.f1067x = -9223372036854775807L; - this.f1068y = -9223372036854775807L; - this.f1065r = 0; - this.o = 0; - this.j = 1.0f; - } -} diff --git a/app/src/main/java/c/i/a/c/v1/t.java b/app/src/main/java/c/i/a/c/v1/t.java deleted file mode 100644 index 38032207b5..0000000000 --- a/app/src/main/java/c/i/a/c/v1/t.java +++ /dev/null @@ -1,28 +0,0 @@ -package c.i.a.c.v1; - -import androidx.annotation.Nullable; -/* compiled from: AuxEffectInfo */ -public final class t { - public final int a; - public final float b; - - public t(int i, float f) { - this.a = i; - this.b = f; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || t.class != obj.getClass()) { - return false; - } - t tVar = (t) obj; - return this.a == tVar.a && Float.compare(tVar.b, this.b) == 0; - } - - public int hashCode() { - return Float.floatToIntBits(this.b) + ((527 + this.a) * 31); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/u.java b/app/src/main/java/c/i/a/c/v1/u.java deleted file mode 100644 index 5ef3f12eb4..0000000000 --- a/app/src/main/java/c/i/a/c/v1/u.java +++ /dev/null @@ -1,104 +0,0 @@ -package c.i.a.c.v1; - -import androidx.annotation.CallSuper; -import com.google.android.exoplayer2.audio.AudioProcessor; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; -/* compiled from: BaseAudioProcessor */ -public abstract class u implements AudioProcessor { - public AudioProcessor.a b; - - /* renamed from: c reason: collision with root package name */ - public AudioProcessor.a f1070c; - public AudioProcessor.a d; - public AudioProcessor.a e; - public ByteBuffer f; - public ByteBuffer g; - public boolean h; - - public u() { - ByteBuffer byteBuffer = AudioProcessor.a; - this.f = byteBuffer; - this.g = byteBuffer; - AudioProcessor.a aVar = AudioProcessor.a.a; - this.d = aVar; - this.e = aVar; - this.b = aVar; - this.f1070c = aVar; - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public boolean a() { - return this.e != AudioProcessor.a.a; - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - @CallSuper - public boolean b() { - return this.h && this.g == AudioProcessor.a; - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public final AudioProcessor.a d(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { - this.d = aVar; - this.e = f(aVar); - return a() ? this.e : AudioProcessor.a.a; - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public final void e() { - this.h = true; - h(); - } - - public abstract AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException; - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public final void flush() { - this.g = AudioProcessor.a; - this.h = false; - this.b = this.d; - this.f1070c = this.e; - g(); - } - - public void g() { - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - @CallSuper - public ByteBuffer getOutput() { - ByteBuffer byteBuffer = this.g; - this.g = AudioProcessor.a; - return byteBuffer; - } - - public void h() { - } - - public void i() { - } - - public final ByteBuffer j(int i) { - if (this.f.capacity() < i) { - this.f = ByteBuffer.allocateDirect(i).order(ByteOrder.nativeOrder()); - } else { - this.f.clear(); - } - ByteBuffer byteBuffer = this.f; - this.g = byteBuffer; - return byteBuffer; - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public final void reset() { - flush(); - this.f = AudioProcessor.a; - AudioProcessor.a aVar = AudioProcessor.a.a; - this.d = aVar; - this.e = aVar; - this.b = aVar; - this.f1070c = aVar; - i(); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/v.java b/app/src/main/java/c/i/a/c/v1/v.java deleted file mode 100644 index cbe205d670..0000000000 --- a/app/src/main/java/c/i/a/c/v1/v.java +++ /dev/null @@ -1,64 +0,0 @@ -package c.i.a.c.v1; - -import androidx.annotation.Nullable; -import com.google.android.exoplayer2.audio.AudioProcessor; -import java.nio.ByteBuffer; -import java.util.Objects; -/* compiled from: ChannelMappingAudioProcessor */ -public final class v extends u { - @Nullable - public int[] i; - @Nullable - public int[] j; - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public void c(ByteBuffer byteBuffer) { - int[] iArr = this.j; - Objects.requireNonNull(iArr); - int position = byteBuffer.position(); - int limit = byteBuffer.limit(); - ByteBuffer j = j(((limit - position) / this.b.e) * this.f1070c.e); - while (position < limit) { - for (int i : iArr) { - j.putShort(byteBuffer.getShort((i * 2) + position)); - } - position += this.b.e; - } - byteBuffer.position(limit); - j.flip(); - } - - @Override // c.i.a.c.v1.u - public AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { - int[] iArr = this.i; - if (iArr == null) { - return AudioProcessor.a.a; - } - if (aVar.d == 2) { - boolean z2 = aVar.f2705c != iArr.length; - int i = 0; - while (i < iArr.length) { - int i2 = iArr[i]; - if (i2 < aVar.f2705c) { - z2 |= i2 != i; - i++; - } else { - throw new AudioProcessor.UnhandledAudioFormatException(aVar); - } - } - return z2 ? new AudioProcessor.a(aVar.b, iArr.length, 2) : AudioProcessor.a.a; - } - throw new AudioProcessor.UnhandledAudioFormatException(aVar); - } - - @Override // c.i.a.c.v1.u - public void g() { - this.j = this.i; - } - - @Override // c.i.a.c.v1.u - public void i() { - this.j = null; - this.i = null; - } -} diff --git a/app/src/main/java/c/i/a/c/v1/w.java b/app/src/main/java/c/i/a/c/v1/w.java deleted file mode 100644 index badcd70f13..0000000000 --- a/app/src/main/java/c/i/a/c/v1/w.java +++ /dev/null @@ -1,9 +0,0 @@ -package c.i.a.c.v1; -/* compiled from: DtsUtil */ -public final class w { - public static final int[] a = {1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 6, 6, 6, 7, 8, 8}; - public static final int[] b = {-1, 8000, 16000, 32000, -1, -1, 11025, 22050, 44100, -1, -1, 12000, 24000, 48000, -1, -1}; - - /* renamed from: c reason: collision with root package name */ - public static final int[] f1071c = {64, 112, 128, 192, 224, 256, 384, 448, 512, 640, 768, 896, 1024, 1152, 1280, 1536, 1920, 2048, 2304, 2560, 2688, 2816, 2823, 2944, 3072, 3840, 4096, 6144, 7680}; -} diff --git a/app/src/main/java/c/i/a/c/v1/x.java b/app/src/main/java/c/i/a/c/v1/x.java deleted file mode 100644 index 2b38e256f4..0000000000 --- a/app/src/main/java/c/i/a/c/v1/x.java +++ /dev/null @@ -1,52 +0,0 @@ -package c.i.a.c.v1; - -import c.i.a.c.i2.f0; -import com.google.android.exoplayer2.audio.AudioProcessor; -import java.nio.ByteBuffer; -/* compiled from: FloatResamplingAudioProcessor */ -public final class x extends u { - public static final int i = Float.floatToIntBits(Float.NaN); - - public static void k(int i2, ByteBuffer byteBuffer) { - int floatToIntBits = Float.floatToIntBits((float) (((double) i2) * 4.656612875245797E-10d)); - if (floatToIntBits == i) { - floatToIntBits = Float.floatToIntBits(0.0f); - } - byteBuffer.putInt(floatToIntBits); - } - - @Override // com.google.android.exoplayer2.audio.AudioProcessor - public void c(ByteBuffer byteBuffer) { - ByteBuffer byteBuffer2; - int position = byteBuffer.position(); - int limit = byteBuffer.limit(); - int i2 = limit - position; - int i3 = this.b.d; - if (i3 == 536870912) { - byteBuffer2 = j((i2 / 3) * 4); - while (position < limit) { - k(((byteBuffer.get(position) & 255) << 8) | ((byteBuffer.get(position + 1) & 255) << 16) | ((byteBuffer.get(position + 2) & 255) << 24), byteBuffer2); - position += 3; - } - } else if (i3 == 805306368) { - byteBuffer2 = j(i2); - while (position < limit) { - k((byteBuffer.get(position) & 255) | ((byteBuffer.get(position + 1) & 255) << 8) | ((byteBuffer.get(position + 2) & 255) << 16) | ((byteBuffer.get(position + 3) & 255) << 24), byteBuffer2); - position += 4; - } - } else { - throw new IllegalStateException(); - } - byteBuffer.position(byteBuffer.limit()); - byteBuffer2.flip(); - } - - @Override // c.i.a.c.v1.u - public AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { - int i2 = aVar.d; - if (f0.y(i2)) { - return i2 != 4 ? new AudioProcessor.a(aVar.b, aVar.f2705c, 4) : AudioProcessor.a.a; - } - throw new AudioProcessor.UnhandledAudioFormatException(aVar); - } -} diff --git a/app/src/main/java/c/i/a/c/v1/y.java b/app/src/main/java/c/i/a/c/v1/y.java deleted file mode 100644 index 908da49ed0..0000000000 --- a/app/src/main/java/c/i/a/c/v1/y.java +++ /dev/null @@ -1,530 +0,0 @@ -package c.i.a.c.v1; - -import android.content.Context; -import android.media.MediaCrypto; -import android.media.MediaFormat; -import android.os.Handler; -import androidx.annotation.Nullable; -import c.i.a.c.b2.g; -import c.i.a.c.b2.r; -import c.i.a.c.b2.s; -import c.i.a.c.b2.t; -import c.i.a.c.d1; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.r; -import c.i.a.c.k1; -import c.i.a.c.m1; -import c.i.a.c.s0; -import c.i.a.c.v1.q; -import c.i.a.c.x1.d; -import c.i.a.c.x1.e; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.audio.AudioSink; -import com.google.android.exoplayer2.decoder.DecoderInputBuffer; -import com.google.android.exoplayer2.drm.DrmSession; -import com.google.android.exoplayer2.mediacodec.MediaCodecRenderer; -import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; -import java.nio.ByteBuffer; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Objects; -import java.util.regex.Pattern; -/* compiled from: MediaCodecAudioRenderer */ -public class y extends MediaCodecRenderer implements r { - public final Context P0; - public final q.a Q0; - public final AudioSink R0; - public int S0; - public boolean T0; - @Nullable - public Format U0; - public long V0; - public boolean W0; - public boolean X0; - public boolean Y0; - @Nullable - public k1.a Z0; - - /* compiled from: MediaCodecAudioRenderer */ - public final class b implements AudioSink.a { - public b(a aVar) { - } - } - - public y(Context context, t tVar, boolean z2, @Nullable Handler handler, @Nullable q qVar, AudioSink audioSink) { - super(1, r.a.a, tVar, z2, 44100.0f); - this.P0 = context.getApplicationContext(); - this.R0 = audioSink; - this.Q0 = new q.a(handler, qVar); - audioSink.r(new b(null)); - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.g0 - public void B() { - this.Y0 = true; - try { - this.R0.flush(); - try { - super.B(); - } finally { - this.Q0.a(this.L0); - } - } catch (Throwable th) { - super.B(); - throw th; - } finally { - this.Q0.a(this.L0); - } - } - - @Override // c.i.a.c.g0 - public void C(boolean z2, boolean z3) throws ExoPlaybackException { - d dVar = new d(); - this.L0 = dVar; - q.a aVar = this.Q0; - Handler handler = aVar.a; - if (handler != null) { - handler.post(new i(aVar, dVar)); - } - m1 m1Var = this.k; - Objects.requireNonNull(m1Var); - if (m1Var.b) { - this.R0.o(); - } else { - this.R0.k(); - } - } - - public final int C0(s sVar, Format format) { - int i; - if (!"OMX.google.raw.decoder".equals(sVar.a) || (i = f0.a) >= 24 || (i == 23 && f0.A(this.P0))) { - return format.u; - } - return -1; - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.g0 - public void D(long j, boolean z2) throws ExoPlaybackException { - super.D(j, z2); - this.R0.flush(); - this.V0 = j; - this.W0 = true; - this.X0 = true; - } - - public final void D0() { - long j = this.R0.j(b()); - if (j != Long.MIN_VALUE) { - if (!this.X0) { - j = Math.max(this.V0, j); - } - this.V0 = j; - this.X0 = false; - } - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.g0 - public void E() { - DrmSession drmSession = null; - boolean z2 = false; - try { - N(); - n0(); - try { - } finally { - if (this.Y0) { - this.Y0 = z2; - this.R0.reset(); - } - } - } finally { - t0(drmSession); - } - } - - @Override // c.i.a.c.g0 - public void F() { - this.R0.p(); - } - - @Override // c.i.a.c.g0 - public void G() { - D0(); - this.R0.i(); - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public e K(s sVar, Format format, Format format2) { - e c2 = sVar.c(format, format2); - int i = c2.e; - if (C0(sVar, format2) > this.S0) { - i |= 64; - } - return new e(sVar.a, format, format2, i != 0 ? 0 : c2.d, i); - } - - /* JADX WARNING: Removed duplicated region for block: B:24:0x008d */ - /* JADX WARNING: Removed duplicated region for block: B:34:0x00b1 */ - /* JADX WARNING: Removed duplicated region for block: B:42:0x00cd */ - /* JADX WARNING: Removed duplicated region for block: B:51:0x0109 */ - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public void L(s sVar, c.i.a.c.b2.r rVar, Format format, @Nullable MediaCrypto mediaCrypto, float f) { - boolean z2; - MediaFormat mediaFormat; - boolean z3; - Format[] formatArr = this.o; - Objects.requireNonNull(formatArr); - int C0 = C0(sVar, format); - boolean z4 = false; - if (formatArr.length != 1) { - for (Format format2 : formatArr) { - if (sVar.c(format, format2).d != 0) { - C0 = Math.max(C0, C0(sVar, format2)); - } - } - } - this.S0 = C0; - String str = sVar.a; - int i = f0.a; - if (i < 24 && "OMX.SEC.aac.dec".equals(str) && "samsung".equals(f0.f965c)) { - String str2 = f0.b; - if (str2.startsWith("zeroflte") || str2.startsWith("herolte") || str2.startsWith("heroqlte")) { - z2 = true; - this.T0 = z2; - String str3 = sVar.f819c; - int i2 = this.S0; - mediaFormat = new MediaFormat(); - mediaFormat.setString("mime", str3); - mediaFormat.setInteger("channel-count", format.G); - mediaFormat.setInteger("sample-rate", format.H); - c.c.a.a0.d.W1(mediaFormat, format.v); - c.c.a.a0.d.j1(mediaFormat, "max-input-size", i2); - if (i >= 23) { - mediaFormat.setInteger("priority", 0); - if (f != -1.0f) { - if (i == 23) { - String str4 = f0.d; - if ("ZTE B2017G".equals(str4) || "AXON 7 mini".equals(str4)) { - z3 = true; - if (!z3) { - mediaFormat.setFloat("operating-rate", f); - } - } - } - z3 = false; - if (!z3) { - } - } - } - if (i <= 28 && "audio/ac4".equals(format.t)) { - mediaFormat.setInteger("ac4-is-sync", 1); - } - if (i >= 24) { - AudioSink audioSink = this.R0; - int i3 = format.G; - int i4 = format.H; - Format.b bVar = new Format.b(); - bVar.k = "audio/raw"; - bVar.f2702x = i3; - bVar.f2703y = i4; - bVar.f2704z = 4; - if (audioSink.s(bVar.a()) == 2) { - mediaFormat.setInteger("pcm-encoding", 4); - } - } - rVar.configure(mediaFormat, null, mediaCrypto, 0); - if ("audio/raw".equals(sVar.b) && !"audio/raw".equals(format.t)) { - z4 = true; - } - if (!z4) { - format = null; - } - this.U0 = format; - } - } - z2 = false; - this.T0 = z2; - String str3 = sVar.f819c; - int i2 = this.S0; - mediaFormat = new MediaFormat(); - mediaFormat.setString("mime", str3); - mediaFormat.setInteger("channel-count", format.G); - mediaFormat.setInteger("sample-rate", format.H); - c.c.a.a0.d.W1(mediaFormat, format.v); - c.c.a.a0.d.j1(mediaFormat, "max-input-size", i2); - if (i >= 23) { - } - mediaFormat.setInteger("ac4-is-sync", 1); - if (i >= 24) { - } - rVar.configure(mediaFormat, null, mediaCrypto, 0); - z4 = true; - if (!z4) { - } - this.U0 = format; - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public float W(float f, Format format, Format[] formatArr) { - int i = -1; - for (Format format2 : formatArr) { - int i2 = format2.H; - if (i2 != -1) { - i = Math.max(i, i2); - } - } - if (i == -1) { - return -1.0f; - } - return f * ((float) i); - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public List X(t tVar, Format format, boolean z2) throws MediaCodecUtil.DecoderQueryException { - s d; - String str = format.t; - if (str == null) { - return Collections.emptyList(); - } - if (this.R0.a(format) && (d = MediaCodecUtil.d("audio/raw", false, false)) != null) { - return Collections.singletonList(d); - } - List a2 = tVar.a(str, z2, false); - Pattern pattern = MediaCodecUtil.a; - ArrayList arrayList = new ArrayList(a2); - MediaCodecUtil.j(arrayList, new g(format)); - if ("audio/eac3-joc".equals(str)) { - ArrayList arrayList2 = new ArrayList(arrayList); - arrayList2.addAll(tVar.a("audio/eac3", z2, false)); - arrayList = arrayList2; - } - return Collections.unmodifiableList(arrayList); - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.k1 - public boolean b() { - return this.E0 && this.R0.b(); - } - - @Override // c.i.a.c.i2.r - public d1 c() { - return this.R0.c(); - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.k1 - public boolean d() { - return this.R0.g() || super.d(); - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public void d0(String str, long j, long j2) { - q.a aVar = this.Q0; - Handler handler = aVar.a; - if (handler != null) { - handler.post(new e(aVar, str, j, j2)); - } - } - - @Override // c.i.a.c.i2.r - public void e(d1 d1Var) { - this.R0.e(d1Var); - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public void e0(String str) { - q.a aVar = this.Q0; - Handler handler = aVar.a; - if (handler != null) { - handler.post(new f(aVar, str)); - } - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - @Nullable - public e f0(s0 s0Var) throws ExoPlaybackException { - e f02 = super.f0(s0Var); - q.a aVar = this.Q0; - Format format = s0Var.b; - Handler handler = aVar.a; - if (handler != null) { - handler.post(new d(aVar, format, f02)); - } - return f02; - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public void g0(Format format, @Nullable MediaFormat mediaFormat) throws ExoPlaybackException { - int i; - Format format2 = this.U0; - int[] iArr = null; - if (format2 != null) { - format = format2; - } else if (this.R != null) { - int r2 = "audio/raw".equals(format.t) ? format.I : (f0.a < 24 || !mediaFormat.containsKey("pcm-encoding")) ? mediaFormat.containsKey("v-bits-per-sample") ? f0.r(mediaFormat.getInteger("v-bits-per-sample")) : "audio/raw".equals(format.t) ? format.I : 2 : mediaFormat.getInteger("pcm-encoding"); - Format.b bVar = new Format.b(); - bVar.k = "audio/raw"; - bVar.f2704z = r2; - bVar.A = format.J; - bVar.B = format.K; - bVar.f2702x = mediaFormat.getInteger("channel-count"); - bVar.f2703y = mediaFormat.getInteger("sample-rate"); - Format a2 = bVar.a(); - if (this.T0 && a2.G == 6 && (i = format.G) < 6) { - iArr = new int[i]; - for (int i2 = 0; i2 < format.G; i2++) { - iArr[i2] = i2; - } - } - format = a2; - } - try { - this.R0.t(format, 0, iArr); - } catch (AudioSink.ConfigurationException e) { - throw z(e, e.format, false); - } - } - - @Override // c.i.a.c.k1, c.i.a.c.l1 - public String getName() { - return "MediaCodecAudioRenderer"; - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public void i0() { - this.R0.m(); - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public void j0(DecoderInputBuffer decoderInputBuffer) { - if (this.W0 && !decoderInputBuffer.m()) { - if (Math.abs(decoderInputBuffer.m - this.V0) > 500000) { - this.V0 = decoderInputBuffer.m; - } - this.W0 = false; - } - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public boolean l0(long j, long j2, @Nullable c.i.a.c.b2.r rVar, @Nullable ByteBuffer byteBuffer, int i, int i2, int i3, long j3, boolean z2, boolean z3, Format format) throws ExoPlaybackException { - Objects.requireNonNull(byteBuffer); - if (this.U0 != null && (i2 & 2) != 0) { - Objects.requireNonNull(rVar); - rVar.releaseOutputBuffer(i, false); - return true; - } else if (z2) { - if (rVar != null) { - rVar.releaseOutputBuffer(i, false); - } - this.L0.f += i3; - this.R0.m(); - return true; - } else { - try { - if (!this.R0.q(byteBuffer, j3, i3)) { - return false; - } - if (rVar != null) { - rVar.releaseOutputBuffer(i, false); - } - this.L0.e += i3; - return true; - } catch (AudioSink.InitializationException e) { - throw z(e, e.format, e.isRecoverable); - } catch (AudioSink.WriteException e2) { - throw z(e2, format, e2.isRecoverable); - } - } - } - - @Override // c.i.a.c.i2.r - public long m() { - if (this.m == 2) { - D0(); - } - return this.V0; - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public void o0() throws ExoPlaybackException { - try { - this.R0.f(); - } catch (AudioSink.WriteException e) { - throw z(e, e.format, e.isRecoverable); - } - } - - @Override // c.i.a.c.g0, c.i.a.c.h1.b - public void r(int i, @Nullable Object obj) throws ExoPlaybackException { - if (i == 2) { - this.R0.n(((Float) obj).floatValue()); - } else if (i == 3) { - this.R0.l((n) obj); - } else if (i != 5) { - switch (i) { - case 101: - this.R0.u(((Boolean) obj).booleanValue()); - return; - case 102: - this.R0.h(((Integer) obj).intValue()); - return; - case 103: - this.Z0 = (k1.a) obj; - return; - default: - return; - } - } else { - this.R0.v((t) obj); - } - } - - @Override // c.i.a.c.g0, c.i.a.c.k1 - @Nullable - public c.i.a.c.i2.r w() { - return this; - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public boolean w0(Format format) { - return this.R0.a(format); - } - - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public int x0(t tVar, Format format) throws MediaCodecUtil.DecoderQueryException { - if (!c.i.a.c.i2.s.h(format.t)) { - return 0; - } - int i = f0.a >= 21 ? 32 : 0; - boolean z2 = format.M != null; - boolean y0 = MediaCodecRenderer.y0(format); - if (y0 && this.R0.a(format) && (!z2 || MediaCodecUtil.d("audio/raw", false, false) != null)) { - return i | 12; - } - if ("audio/raw".equals(format.t) && !this.R0.a(format)) { - return 1; - } - AudioSink audioSink = this.R0; - int i2 = format.G; - int i3 = format.H; - Format.b bVar = new Format.b(); - bVar.k = "audio/raw"; - bVar.f2702x = i2; - bVar.f2703y = i3; - bVar.f2704z = 2; - if (!audioSink.a(bVar.a())) { - return 1; - } - List X = X(tVar, format, false); - if (X.isEmpty()) { - return 1; - } - if (!y0) { - return 2; - } - s sVar = X.get(0); - boolean e = sVar.e(format); - return ((!e || !sVar.f(format)) ? 8 : 16) | (e ? 4 : 3) | i; - } -} diff --git a/app/src/main/java/c/i/a/c/v1/z.java b/app/src/main/java/c/i/a/c/v1/z.java deleted file mode 100644 index 9cc23632df..0000000000 --- a/app/src/main/java/c/i/a/c/v1/z.java +++ /dev/null @@ -1,136 +0,0 @@ -package c.i.a.c.v1; - -import androidx.annotation.Nullable; -import com.discord.restapi.RestAPIAbortCodes; -/* compiled from: MpegAudioUtil */ -public final class z { - public static final String[] a = {"audio/mpeg-L1", "audio/mpeg-L2", "audio/mpeg"}; - public static final int[] b = {44100, 48000, 32000}; - - /* renamed from: c reason: collision with root package name */ - public static final int[] f1072c = {32000, 64000, 96000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 352000, 384000, 416000, 448000}; - public static final int[] d = {32000, 48000, 56000, 64000, RestAPIAbortCodes.RELATIONSHIP_INCOMING_DISABLED, 96000, 112000, 128000, 144000, 160000, 176000, 192000, 224000, 256000}; - public static final int[] e = {32000, 48000, 56000, 64000, RestAPIAbortCodes.RELATIONSHIP_INCOMING_DISABLED, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 320000, 384000}; - public static final int[] f = {32000, 40000, 48000, 56000, 64000, RestAPIAbortCodes.RELATIONSHIP_INCOMING_DISABLED, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 320000}; - public static final int[] g = {8000, 16000, 24000, 32000, 40000, 48000, 56000, 64000, RestAPIAbortCodes.RELATIONSHIP_INCOMING_DISABLED, 96000, 112000, 128000, 144000, 160000}; - - /* compiled from: MpegAudioUtil */ - public static final class a { - public int a; - @Nullable - public String b; - - /* renamed from: c reason: collision with root package name */ - public int f1073c; - public int d; - public int e; - public int f; - public int g; - - public boolean a(int i) { - int i2; - int i3; - int i4; - int i5; - if (!z.c(i) || (i2 = (i >>> 19) & 3) == 1 || (i3 = (i >>> 17) & 3) == 0 || (i4 = (i >>> 12) & 15) == 0 || i4 == 15 || (i5 = (i >>> 10) & 3) == 3) { - return false; - } - this.a = i2; - this.b = z.a[3 - i3]; - int i6 = z.b[i5]; - this.d = i6; - int i7 = 2; - if (i2 == 2) { - this.d = i6 / 2; - } else if (i2 == 0) { - this.d = i6 / 4; - } - int i8 = (i >>> 9) & 1; - this.g = z.b(i2, i3); - if (i3 == 3) { - int i9 = i2 == 3 ? z.f1072c[i4 - 1] : z.d[i4 - 1]; - this.f = i9; - this.f1073c = (((i9 * 12) / this.d) + i8) * 4; - } else { - int i10 = 144; - if (i2 == 3) { - int i11 = i3 == 2 ? z.e[i4 - 1] : z.f[i4 - 1]; - this.f = i11; - this.f1073c = ((i11 * 144) / this.d) + i8; - } else { - int i12 = z.g[i4 - 1]; - this.f = i12; - if (i3 == 1) { - i10 = 72; - } - this.f1073c = ((i10 * i12) / this.d) + i8; - } - } - if (((i >> 6) & 3) == 3) { - i7 = 1; - } - this.e = i7; - return true; - } - } - - public static int a(int i) { - int i2; - int i3; - int i4; - int i5; - if (!c(i) || (i2 = (i >>> 19) & 3) == 1 || (i3 = (i >>> 17) & 3) == 0 || (i4 = (i >>> 12) & 15) == 0 || i4 == 15 || (i5 = (i >>> 10) & 3) == 3) { - return -1; - } - int i6 = b[i5]; - if (i2 == 2) { - i6 /= 2; - } else if (i2 == 0) { - i6 /= 4; - } - int i7 = (i >>> 9) & 1; - if (i3 == 3) { - return ((((i2 == 3 ? f1072c[i4 - 1] : d[i4 - 1]) * 12) / i6) + i7) * 4; - } - int i8 = i2 == 3 ? i3 == 2 ? e[i4 - 1] : f[i4 - 1] : g[i4 - 1]; - int i9 = 144; - if (i2 == 3) { - return ((i8 * 144) / i6) + i7; - } - if (i3 == 1) { - i9 = 72; - } - return ((i9 * i8) / i6) + i7; - } - - public static int b(int i, int i2) { - if (i2 == 1) { - return i == 3 ? 1152 : 576; - } - if (i2 == 2) { - return 1152; - } - if (i2 == 3) { - return 384; - } - throw new IllegalArgumentException(); - } - - public static boolean c(int i) { - return (i & -2097152) == -2097152; - } - - public static int d(int i) { - int i2; - int i3; - if (!c(i) || (i2 = (i >>> 19) & 3) == 1 || (i3 = (i >>> 17) & 3) == 0) { - return -1; - } - int i4 = (i >>> 12) & 15; - int i5 = (i >>> 10) & 3; - if (i4 == 0 || i4 == 15 || i5 == 3) { - return -1; - } - return b(i2, i3); - } -} diff --git a/app/src/main/java/c/i/a/c/v2/a.java b/app/src/main/java/c/i/a/c/v2/a.java new file mode 100644 index 0000000000..b5dd8e81d7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/v2/a.java @@ -0,0 +1,29 @@ +package c.i.a.c.v2; +/* compiled from: Buffer */ +public abstract class a { + public int i; + + public final void j(int i) { + this.i = i | this.i; + } + + public final boolean k(int i) { + return (this.i & i) == i; + } + + public final boolean l() { + return k(268435456); + } + + public final boolean m() { + return k(Integer.MIN_VALUE); + } + + public final boolean n() { + return k(4); + } + + public final boolean o() { + return k(1); + } +} diff --git a/app/src/main/java/c/i/a/c/v2/b.java b/app/src/main/java/c/i/a/c/v2/b.java new file mode 100644 index 0000000000..f51ad1b8d7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/v2/b.java @@ -0,0 +1,4 @@ +package c.i.a.c.v2; +/* compiled from: CryptoConfig */ +public interface b { +} diff --git a/app/src/main/java/c/i/a/c/v2/c.java b/app/src/main/java/c/i/a/c/v2/c.java new file mode 100644 index 0000000000..7e4ff84994 --- /dev/null +++ b/app/src/main/java/c/i/a/c/v2/c.java @@ -0,0 +1,43 @@ +package c.i.a.c.v2; + +import android.media.MediaCodec; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import c.i.a.c.f3.e0; +/* compiled from: CryptoInfo */ +public final class c { + @Nullable + public byte[] a; + @Nullable + public byte[] b; + + /* renamed from: c reason: collision with root package name */ + public int f907c; + @Nullable + public int[] d; + @Nullable + public int[] e; + public int f; + public int g; + public int h; + public final MediaCodec.CryptoInfo i; + @Nullable + public final b j; + + /* compiled from: CryptoInfo */ + @RequiresApi(24) + public static final class b { + public final MediaCodec.CryptoInfo a; + public final MediaCodec.CryptoInfo.Pattern b = new MediaCodec.CryptoInfo.Pattern(0, 0); + + public b(MediaCodec.CryptoInfo cryptoInfo, a aVar) { + this.a = cryptoInfo; + } + } + + public c() { + MediaCodec.CryptoInfo cryptoInfo = new MediaCodec.CryptoInfo(); + this.i = cryptoInfo; + this.j = e0.a >= 24 ? new b(cryptoInfo, null) : null; + } +} diff --git a/app/src/main/java/c/i/a/c/v2/d.java b/app/src/main/java/c/i/a/c/v2/d.java new file mode 100644 index 0000000000..33613f1d38 --- /dev/null +++ b/app/src/main/java/c/i/a/c/v2/d.java @@ -0,0 +1,18 @@ +package c.i.a.c.v2; + +import androidx.annotation.Nullable; +import com.google.android.exoplayer2.decoder.DecoderException; +/* compiled from: Decoder */ +public interface d { + @Nullable + O b() throws DecoderException; + + @Nullable + I c() throws DecoderException; + + void d(I i) throws DecoderException; + + void flush(); + + void release(); +} diff --git a/app/src/main/java/c/i/a/c/v2/e.java b/app/src/main/java/c/i/a/c/v2/e.java new file mode 100644 index 0000000000..3539352f91 --- /dev/null +++ b/app/src/main/java/c/i/a/c/v2/e.java @@ -0,0 +1,17 @@ +package c.i.a.c.v2; +/* compiled from: DecoderCounters */ +public final class e { + public int a; + public int b; + + /* renamed from: c reason: collision with root package name */ + public int f908c; + public int d; + public int e; + public int f; + public int g; + public int h; + public int i; + public long j; + public int k; +} diff --git a/app/src/main/java/c/i/a/c/v2/f.java b/app/src/main/java/c/i/a/c/v2/f.java new file mode 100644 index 0000000000..d4ea6f96c7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/v2/f.java @@ -0,0 +1,11 @@ +package c.i.a.c.v2; +/* compiled from: DecoderOutputBuffer */ +public abstract class f extends a { + public long j; + + /* compiled from: DecoderOutputBuffer */ + public interface a { + } + + public abstract void p(); +} diff --git a/app/src/main/java/c/i/a/c/v2/g.java b/app/src/main/java/c/i/a/c/v2/g.java new file mode 100644 index 0000000000..98ecfcec3e --- /dev/null +++ b/app/src/main/java/c/i/a/c/v2/g.java @@ -0,0 +1,48 @@ +package c.i.a.c.v2; + +import android.text.TextUtils; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.d.b.a.a; +import c.i.a.c.j1; +import java.util.Objects; +/* compiled from: DecoderReuseEvaluation */ +public final class g { + public final String a; + public final j1 b; + + /* renamed from: c reason: collision with root package name */ + public final j1 f909c; + public final int d; + public final int e; + + public g(String str, j1 j1Var, j1 j1Var2, int i, int i2) { + d.j(i == 0 || i2 == 0); + if (!TextUtils.isEmpty(str)) { + this.a = str; + Objects.requireNonNull(j1Var); + this.b = j1Var; + this.f909c = j1Var2; + this.d = i; + this.e = i2; + return; + } + throw new IllegalArgumentException(); + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || g.class != obj.getClass()) { + return false; + } + g gVar = (g) obj; + return this.d == gVar.d && this.e == gVar.e && this.a.equals(gVar.a) && this.b.equals(gVar.b) && this.f909c.equals(gVar.f909c); + } + + public int hashCode() { + int m = a.m(this.a, (((this.d + 527) * 31) + this.e) * 31, 31); + return this.f909c.hashCode() + ((this.b.hashCode() + m) * 31); + } +} diff --git a/app/src/main/java/c/i/a/c/v2/h.java b/app/src/main/java/c/i/a/c/v2/h.java new file mode 100644 index 0000000000..6ac122401b --- /dev/null +++ b/app/src/main/java/c/i/a/c/v2/h.java @@ -0,0 +1,237 @@ +package c.i.a.c.v2; + +import androidx.annotation.CallSuper; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.b3.e; +import c.i.a.c.b3.j; +import c.i.a.c.v2.f; +import com.google.android.exoplayer2.decoder.DecoderException; +import com.google.android.exoplayer2.decoder.DecoderInputBuffer; +import com.google.android.exoplayer2.text.SubtitleDecoderException; +import java.util.ArrayDeque; +import java.util.Objects; +/* compiled from: SimpleDecoder */ +public abstract class h implements d { + public final Thread a; + public final Object b = new Object(); + + /* renamed from: c reason: collision with root package name */ + public final ArrayDeque f910c = new ArrayDeque<>(); + public final ArrayDeque d = new ArrayDeque<>(); + public final I[] e; + public final O[] f; + public int g; + public int h; + @Nullable + public I i; + @Nullable + public E j; + public boolean k; + public boolean l; + public int m; + + /* compiled from: SimpleDecoder */ + public class a extends Thread { + public a(String str) { + super(str); + } + + @Override // java.lang.Thread, java.lang.Runnable + public void run() { + h hVar = h.this; + Objects.requireNonNull(hVar); + do { + try { + } catch (InterruptedException e) { + throw new IllegalStateException(e); + } + } while (hVar.f()); + } + } + + public h(I[] iArr, O[] oArr) { + this.e = iArr; + this.g = iArr.length; + for (int i = 0; i < this.g; i++) { + this.e[i] = new j(); + } + this.f = oArr; + this.h = oArr.length; + for (int i2 = 0; i2 < this.h; i2++) { + this.f[i2] = new e((c.i.a.c.b3.f) this); + } + a aVar = new a("ExoPlayer:SimpleDecoder"); + this.a = aVar; + aVar.start(); + } + + @Override // c.i.a.c.v2.d + @Nullable + public Object b() throws DecoderException { + O removeFirst; + synchronized (this.b) { + h(); + removeFirst = this.d.isEmpty() ? null : this.d.removeFirst(); + } + return removeFirst; + } + + @Override // c.i.a.c.v2.d + @Nullable + public Object c() throws DecoderException { + I i; + synchronized (this.b) { + h(); + d.D(this.i == null); + int i2 = this.g; + if (i2 == 0) { + i = null; + } else { + I[] iArr = this.e; + int i3 = i2 - 1; + this.g = i3; + i = iArr[i3]; + } + this.i = i; + } + return i; + } + + /* JADX DEBUG: Multi-variable search result rejected for r1v2, resolved type: java.util.ArrayDeque */ + /* JADX WARN: Multi-variable type inference failed */ + @Override // c.i.a.c.v2.d + public void d(Object obj) throws DecoderException { + DecoderInputBuffer decoderInputBuffer = (DecoderInputBuffer) obj; + synchronized (this.b) { + h(); + d.j(decoderInputBuffer == this.i); + this.f910c.addLast(decoderInputBuffer); + g(); + this.i = null; + } + } + + @Nullable + public abstract E e(I i, O o, boolean z2); + + /* JADX WARNING: Removed duplicated region for block: B:33:0x006b */ + /* JADX WARNING: Removed duplicated region for block: B:44:0x0078 A[SYNTHETIC] */ + public final boolean f() throws InterruptedException { + I removeFirst; + O o; + boolean z2; + SubtitleDecoderException subtitleDecoderException; + SubtitleDecoderException subtitleDecoderException2; + synchronized (this.b) { + while (!this.l) { + if (!this.f910c.isEmpty() && this.h > 0) { + break; + } + this.b.wait(); + } + if (this.l) { + return false; + } + removeFirst = this.f910c.removeFirst(); + O[] oArr = this.f; + int i = this.h - 1; + this.h = i; + o = oArr[i]; + z2 = this.k; + this.k = false; + } + if (removeFirst.n()) { + o.j(4); + } else { + if (removeFirst.m()) { + o.j(Integer.MIN_VALUE); + } + try { + subtitleDecoderException = e(removeFirst, o, z2); + } catch (RuntimeException e) { + subtitleDecoderException2 = new SubtitleDecoderException("Unexpected decode error", e); + } catch (OutOfMemoryError e2) { + subtitleDecoderException2 = new SubtitleDecoderException("Unexpected decode error", e2); + } + if (subtitleDecoderException != null) { + synchronized (this.b) { + this.j = subtitleDecoderException; + } + return false; + } + } + synchronized (this.b) { + if (this.k) { + o.p(); + } else if (o.m()) { + this.m++; + o.p(); + } else { + this.m = 0; + this.d.addLast(o); + } + i(removeFirst); + } + return true; + subtitleDecoderException = subtitleDecoderException2; + if (subtitleDecoderException != null) { + } + synchronized (this.b) { + } + } + + @Override // c.i.a.c.v2.d + public final void flush() { + synchronized (this.b) { + this.k = true; + this.m = 0; + I i = this.i; + if (i != null) { + i(i); + this.i = null; + } + while (!this.f910c.isEmpty()) { + i(this.f910c.removeFirst()); + } + while (!this.d.isEmpty()) { + this.d.removeFirst().p(); + } + } + } + + public final void g() { + if (!this.f910c.isEmpty() && this.h > 0) { + this.b.notify(); + } + } + + public final void h() throws DecoderException { + E e = this.j; + if (e != null) { + throw e; + } + } + + public final void i(I i) { + i.p(); + I[] iArr = this.e; + int i2 = this.g; + this.g = i2 + 1; + iArr[i2] = i; + } + + @Override // c.i.a.c.v2.d + @CallSuper + public void release() { + synchronized (this.b) { + this.l = true; + this.b.notify(); + } + try { + this.a.join(); + } catch (InterruptedException unused) { + Thread.currentThread().interrupt(); + } + } +} diff --git a/app/src/main/java/c/i/a/c/v2/i.java b/app/src/main/java/c/i/a/c/v2/i.java new file mode 100644 index 0000000000..306faf7165 --- /dev/null +++ b/app/src/main/java/c/i/a/c/v2/i.java @@ -0,0 +1,8 @@ +package c.i.a.c.v2; +/* compiled from: VideoDecoderOutputBuffer */ +public class i extends f { + @Override // c.i.a.c.v2.f + public void p() { + throw null; + } +} diff --git a/app/src/main/java/c/i/a/c/w.java b/app/src/main/java/c/i/a/c/w.java index d48360a7a1..b3f7882b00 100644 --- a/app/src/main/java/c/i/a/c/w.java +++ b/app/src/main/java/c/i/a/c/w.java @@ -1,17 +1,11 @@ package c.i.a.c; -import c.i.a.c.g1; -import c.i.a.c.i2.o; +import c.i.a.c.h1; /* compiled from: lambda */ -public final /* synthetic */ class w implements o.a { - public final /* synthetic */ c1 a; +public final /* synthetic */ class w implements h1.e { + public final /* synthetic */ f1 a; - public /* synthetic */ w(c1 c1Var) { - this.a = c1Var; - } - - @Override // c.i.a.c.i2.o.a - public final void invoke(Object obj) { - ((g1.a) obj).Q(this.a.n); + public /* synthetic */ w(f1 f1Var) { + this.a = f1Var; } } diff --git a/app/src/main/java/c/i/a/c/w0.java b/app/src/main/java/c/i/a/c/w0.java index 5c41c0f325..8655fda126 100644 --- a/app/src/main/java/c/i/a/c/w0.java +++ b/app/src/main/java/c/i/a/c/w0.java @@ -1,30 +1,11 @@ package c.i.a.c; -import androidx.annotation.Nullable; -import c.i.a.c.i2.f0; -/* compiled from: MediaMetadata */ -public final class w0 { - @Nullable - public final String a = null; +import android.os.Bundle; +/* compiled from: Bundleable */ +public interface w0 { - public w0(String str, a aVar) { - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || w0.class != obj.getClass()) { - return false; - } - return f0.a(this.a, ((w0) obj).a); - } - - public int hashCode() { - String str = this.a; - if (str == null) { - return 0; - } - return str.hashCode(); + /* compiled from: Bundleable */ + public interface a { + T a(Bundle bundle); } } diff --git a/app/src/main/java/c/i/a/c/w1.java b/app/src/main/java/c/i/a/c/w1.java new file mode 100644 index 0000000000..92e191484c --- /dev/null +++ b/app/src/main/java/c/i/a/c/w1.java @@ -0,0 +1,106 @@ +package c.i.a.c; + +import androidx.annotation.CheckResult; +import androidx.annotation.Nullable; +import c.i.a.c.a3.a0; +import c.i.a.c.a3.o0; +import c.i.a.c.c3.r; +import c.i.b.b.a; +import c.i.b.b.h0; +import c.i.b.b.p; +import com.google.android.exoplayer2.ExoPlaybackException; +import com.google.android.exoplayer2.metadata.Metadata; +import java.util.List; +/* compiled from: PlaybackInfo */ +public final class w1 { + public static final a0.a a = new a0.a(new Object()); + public final o2 b; + + /* renamed from: c reason: collision with root package name */ + public final a0.a f911c; + public final long d; + public final long e; + public final int f; + @Nullable + public final ExoPlaybackException g; + public final boolean h; + public final o0 i; + public final r j; + public final List k; + public final a0.a l; + public final boolean m; + public final int n; + public final x1 o; + public final boolean p; + public final boolean q; + public volatile long r; + + /* renamed from: s reason: collision with root package name */ + public volatile long f912s; + public volatile long t; + + public w1(o2 o2Var, a0.a aVar, long j, long j2, int i, @Nullable ExoPlaybackException exoPlaybackException, boolean z2, o0 o0Var, r rVar, List list, a0.a aVar2, boolean z3, int i2, x1 x1Var, long j3, long j4, long j5, boolean z4, boolean z5) { + this.b = o2Var; + this.f911c = aVar; + this.d = j; + this.e = j2; + this.f = i; + this.g = exoPlaybackException; + this.h = z2; + this.i = o0Var; + this.j = rVar; + this.k = list; + this.l = aVar2; + this.m = z3; + this.n = i2; + this.o = x1Var; + this.r = j3; + this.f912s = j4; + this.t = j5; + this.p = z4; + this.q = z5; + } + + public static w1 h(r rVar) { + o2 o2Var = o2.i; + a0.a aVar = a; + o0 o0Var = o0.i; + a aVar2 = p.j; + return new w1(o2Var, aVar, -9223372036854775807L, 0, 1, null, false, o0Var, rVar, h0.k, aVar, false, 0, x1.i, 0, 0, 0, false, false); + } + + @CheckResult + public w1 a(a0.a aVar) { + return new w1(this.b, this.f911c, this.d, this.e, this.f, this.g, this.h, this.i, this.j, this.k, aVar, this.m, this.n, this.o, this.r, this.f912s, this.t, this.p, this.q); + } + + @CheckResult + public w1 b(a0.a aVar, long j, long j2, long j3, long j4, o0 o0Var, r rVar, List list) { + return new w1(this.b, aVar, j2, j3, this.f, this.g, this.h, o0Var, rVar, list, this.l, this.m, this.n, this.o, this.r, j4, j, this.p, this.q); + } + + @CheckResult + public w1 c(boolean z2) { + return new w1(this.b, this.f911c, this.d, this.e, this.f, this.g, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.o, this.r, this.f912s, this.t, z2, this.q); + } + + @CheckResult + public w1 d(boolean z2, int i) { + return new w1(this.b, this.f911c, this.d, this.e, this.f, this.g, this.h, this.i, this.j, this.k, this.l, z2, i, this.o, this.r, this.f912s, this.t, this.p, this.q); + } + + @CheckResult + public w1 e(@Nullable ExoPlaybackException exoPlaybackException) { + return new w1(this.b, this.f911c, this.d, this.e, this.f, exoPlaybackException, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.o, this.r, this.f912s, this.t, this.p, this.q); + } + + @CheckResult + public w1 f(int i) { + return new w1(this.b, this.f911c, this.d, this.e, i, this.g, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.o, this.r, this.f912s, this.t, this.p, this.q); + } + + @CheckResult + public w1 g(o2 o2Var) { + return new w1(o2Var, this.f911c, this.d, this.e, this.f, this.g, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.o, this.r, this.f912s, this.t, this.p, this.q); + } +} diff --git a/app/src/main/java/c/i/a/c/w1/a.java b/app/src/main/java/c/i/a/c/w1/a.java deleted file mode 100644 index df57483bd8..0000000000 --- a/app/src/main/java/c/i/a/c/w1/a.java +++ /dev/null @@ -1,9 +0,0 @@ -package c.i.a.c.w1; - -import android.database.sqlite.SQLiteDatabase; -/* compiled from: DatabaseProvider */ -public interface a { - SQLiteDatabase getReadableDatabase(); - - SQLiteDatabase getWritableDatabase(); -} diff --git a/app/src/main/java/c/i/a/c/w1/b.java b/app/src/main/java/c/i/a/c/w1/b.java deleted file mode 100644 index 6c9b449ba2..0000000000 --- a/app/src/main/java/c/i/a/c/w1/b.java +++ /dev/null @@ -1,59 +0,0 @@ -package c.i.a.c.w1; - -import android.content.Context; -import android.database.Cursor; -import android.database.SQLException; -import android.database.sqlite.SQLiteDatabase; -import android.database.sqlite.SQLiteOpenHelper; -import c.i.a.c.i2.p; -import com.discord.models.domain.ModelAuditLogEntry; -/* compiled from: ExoDatabaseProvider */ -public final class b extends SQLiteOpenHelper implements a { - public b(Context context) { - super(context.getApplicationContext(), "exoplayer_internal.db", (SQLiteDatabase.CursorFactory) null, 1); - } - - @Override // android.database.sqlite.SQLiteOpenHelper - public void onCreate(SQLiteDatabase sQLiteDatabase) { - } - - /* JADX WARNING: Code restructure failed: missing block: B:16:0x0067, code lost: - r11 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:17:0x0068, code lost: - if (r10 != null) goto L_0x006a; - */ - /* JADX WARNING: Code restructure failed: missing block: B:19:?, code lost: - r10.close(); - */ - /* JADX WARNING: Code restructure failed: missing block: B:20:0x006e, code lost: - r10 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:21:0x006f, code lost: - r9.addSuppressed(r10); - */ - /* JADX WARNING: Code restructure failed: missing block: B:22:0x0072, code lost: - throw r11; - */ - @Override // android.database.sqlite.SQLiteOpenHelper - public void onDowngrade(SQLiteDatabase sQLiteDatabase, int i, int i2) { - Cursor query = sQLiteDatabase.query("sqlite_master", new String[]{"type", ModelAuditLogEntry.CHANGE_KEY_NAME}, null, null, null, null, null); - while (query.moveToNext()) { - String string = query.getString(0); - String string2 = query.getString(1); - if (!"sqlite_sequence".equals(string2)) { - String str = "DROP " + string + " IF EXISTS " + string2; - try { - sQLiteDatabase.execSQL(str); - } catch (SQLException e) { - p.b("ExoDatabaseProvider", "Error executing " + str, e); - } - } - } - query.close(); - } - - @Override // android.database.sqlite.SQLiteOpenHelper - public void onUpgrade(SQLiteDatabase sQLiteDatabase, int i, int i2) { - } -} diff --git a/app/src/main/java/c/i/a/c/w2/a.java b/app/src/main/java/c/i/a/c/w2/a.java new file mode 100644 index 0000000000..0d3adc039f --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/a.java @@ -0,0 +1,13 @@ +package c.i.a.c.w2; + +import c.i.a.c.f3.k; +import c.i.a.c.w2.s; +/* compiled from: lambda */ +public final /* synthetic */ class a implements k { + public static final /* synthetic */ a a = new a(); + + @Override // c.i.a.c.f3.k + public final void accept(Object obj) { + ((s.a) obj).b(); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/a0.java b/app/src/main/java/c/i/a/c/w2/a0.java new file mode 100644 index 0000000000..7f8aed9ba4 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/a0.java @@ -0,0 +1,73 @@ +package c.i.a.c.w2; + +import android.media.DeniedByServerException; +import android.media.MediaCryptoException; +import android.media.MediaDrmException; +import android.media.NotProvisionedException; +import androidx.annotation.Nullable; +import com.google.android.exoplayer2.drm.DrmInitData; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +/* compiled from: ExoMediaDrm */ +public interface a0 { + + /* compiled from: ExoMediaDrm */ + public static final class a { + public final byte[] a; + public final String b; + + public a(byte[] bArr, String str, int i) { + this.a = bArr; + this.b = str; + } + } + + /* compiled from: ExoMediaDrm */ + public interface b { + } + + /* compiled from: ExoMediaDrm */ + public interface c { + a0 a(UUID uuid); + } + + /* compiled from: ExoMediaDrm */ + public static final class d { + public final byte[] a; + public final String b; + + public d(byte[] bArr, String str) { + this.a = bArr; + this.b = str; + } + } + + Map a(byte[] bArr); + + d b(); + + c.i.a.c.v2.b c(byte[] bArr) throws MediaCryptoException; + + byte[] d() throws MediaDrmException; + + boolean e(byte[] bArr, String str); + + void f(byte[] bArr, byte[] bArr2); + + void g(byte[] bArr); + + void h(@Nullable b bVar); + + @Nullable + byte[] i(byte[] bArr, byte[] bArr2) throws NotProvisionedException, DeniedByServerException; + + void j(byte[] bArr) throws DeniedByServerException; + + a k(byte[] bArr, @Nullable List list, int i, @Nullable HashMap hashMap) throws NotProvisionedException; + + int l(); + + void release(); +} diff --git a/app/src/main/java/c/i/a/c/w2/b.java b/app/src/main/java/c/i/a/c/w2/b.java new file mode 100644 index 0000000000..14573f8001 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/b.java @@ -0,0 +1,17 @@ +package c.i.a.c.w2; + +import c.i.a.c.f3.k; +import c.i.a.c.w2.s; +/* compiled from: lambda */ +public final /* synthetic */ class b implements k { + public final /* synthetic */ Exception a; + + public /* synthetic */ b(Exception exc) { + this.a = exc; + } + + @Override // c.i.a.c.f3.k + public final void accept(Object obj) { + ((s.a) obj).e(this.a); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/b0.java b/app/src/main/java/c/i/a/c/w2/b0.java new file mode 100644 index 0000000000..1af0a7abd1 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/b0.java @@ -0,0 +1,33 @@ +package c.i.a.c.w2; + +import c.i.a.c.f3.e0; +import c.i.a.c.v2.b; +import java.util.UUID; +/* compiled from: FrameworkCryptoConfig */ +public final class b0 implements b { + public static final boolean a; + public final UUID b; + + /* renamed from: c reason: collision with root package name */ + public final byte[] f913c; + public final boolean d; + + static { + boolean z2; + if ("Amazon".equals(e0.f782c)) { + String str = e0.d; + if ("AFTM".equals(str) || "AFTB".equals(str)) { + z2 = true; + a = z2; + } + } + z2 = false; + a = z2; + } + + public b0(UUID uuid, byte[] bArr, boolean z2) { + this.b = uuid; + this.f913c = bArr; + this.d = z2; + } +} diff --git a/app/src/main/java/c/i/a/c/w2/c.java b/app/src/main/java/c/i/a/c/w2/c.java new file mode 100644 index 0000000000..cabb9555f3 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/c.java @@ -0,0 +1,17 @@ +package c.i.a.c.w2; + +import c.i.a.c.f3.k; +import c.i.a.c.w2.s; +/* compiled from: lambda */ +public final /* synthetic */ class c implements k { + public final /* synthetic */ int a; + + public /* synthetic */ c(int i) { + this.a = i; + } + + @Override // c.i.a.c.f3.k + public final void accept(Object obj) { + ((s.a) obj).d(this.a); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/c0.java b/app/src/main/java/c/i/a/c/w2/c0.java new file mode 100644 index 0000000000..8f3f90c73d --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/c0.java @@ -0,0 +1,334 @@ +package c.i.a.c.w2; + +import android.annotation.SuppressLint; +import android.media.DeniedByServerException; +import android.media.MediaCrypto; +import android.media.MediaCryptoException; +import android.media.MediaDrm; +import android.media.MediaDrmException; +import android.media.NotProvisionedException; +import android.media.UnsupportedSchemeException; +import android.text.TextUtils; +import android.util.Log; +import androidx.annotation.DoNotInline; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.q; +import c.i.a.c.v2.b; +import c.i.a.c.w2.a0; +import c.i.a.c.x0; +import c.i.a.c.x2.i0.j; +import c.i.b.a.c; +import com.discord.widgets.chat.input.MentionUtilsKt; +import com.google.android.exoplayer2.drm.DrmInitData; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; +import java.nio.charset.Charset; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.UUID; +import org.json.JSONArray; +import org.json.JSONException; +import org.json.JSONObject; +/* compiled from: FrameworkMediaDrm */ +@RequiresApi(18) +public final class c0 implements a0 { + public static final /* synthetic */ int a = 0; + public final UUID b; + + /* renamed from: c reason: collision with root package name */ + public final MediaDrm f914c; + public int d; + + /* compiled from: FrameworkMediaDrm */ + @RequiresApi(31) + public static class a { + @DoNotInline + public static boolean a(MediaDrm mediaDrm, String str) { + return mediaDrm.requiresSecureDecoder(str); + } + } + + public c0(UUID uuid) throws UnsupportedSchemeException { + UUID uuid2; + Objects.requireNonNull(uuid); + d.m(!x0.b.equals(uuid), "Use C.CLEARKEY_UUID instead"); + this.b = uuid; + MediaDrm mediaDrm = new MediaDrm((e0.a >= 27 || !x0.f918c.equals(uuid)) ? uuid : uuid2); + this.f914c = mediaDrm; + this.d = 1; + if (x0.d.equals(uuid) && "ASUS_Z00AD".equals(e0.d)) { + mediaDrm.setPropertyString("securityLevel", "L3"); + } + } + + @Override // c.i.a.c.w2.a0 + public Map a(byte[] bArr) { + return this.f914c.queryKeyStatus(bArr); + } + + @Override // c.i.a.c.w2.a0 + public a0.d b() { + MediaDrm.ProvisionRequest provisionRequest = this.f914c.getProvisionRequest(); + return new a0.d(provisionRequest.getData(), provisionRequest.getDefaultUrl()); + } + + @Override // c.i.a.c.w2.a0 + public b c(byte[] bArr) throws MediaCryptoException { + int i = e0.a; + boolean z2 = i < 21 && x0.d.equals(this.b) && "L3".equals(this.f914c.getPropertyString("securityLevel")); + UUID uuid = this.b; + if (i < 27 && x0.f918c.equals(uuid)) { + uuid = x0.b; + } + return new b0(uuid, bArr, z2); + } + + @Override // c.i.a.c.w2.a0 + public byte[] d() throws MediaDrmException { + return this.f914c.openSession(); + } + + @Override // c.i.a.c.w2.a0 + public boolean e(byte[] bArr, String str) { + if (e0.a >= 31) { + return a.a(this.f914c, str); + } + try { + MediaCrypto mediaCrypto = new MediaCrypto(this.b, bArr); + try { + return mediaCrypto.requiresSecureDecoderComponent(str); + } finally { + mediaCrypto.release(); + } + } catch (MediaCryptoException unused) { + return true; + } + } + + @Override // c.i.a.c.w2.a0 + public void f(byte[] bArr, byte[] bArr2) { + this.f914c.restoreKeys(bArr, bArr2); + } + + @Override // c.i.a.c.w2.a0 + public void g(byte[] bArr) { + this.f914c.closeSession(bArr); + } + + @Override // c.i.a.c.w2.a0 + public void h(@Nullable a0.b bVar) { + this.f914c.setOnEventListener(new o(this, bVar)); + } + + @Override // c.i.a.c.w2.a0 + @Nullable + public byte[] i(byte[] bArr, byte[] bArr2) throws NotProvisionedException, DeniedByServerException { + if (x0.f918c.equals(this.b) && e0.a < 27) { + try { + JSONObject jSONObject = new JSONObject(e0.l(bArr2)); + StringBuilder sb = new StringBuilder("{\"keys\":["); + JSONArray jSONArray = jSONObject.getJSONArray("keys"); + for (int i = 0; i < jSONArray.length(); i++) { + if (i != 0) { + sb.append(","); + } + JSONObject jSONObject2 = jSONArray.getJSONObject(i); + sb.append("{\"k\":\""); + sb.append(jSONObject2.getString("k").replace('-', '+').replace('_', MentionUtilsKt.SLASH_CHAR)); + sb.append("\",\"kid\":\""); + sb.append(jSONObject2.getString("kid").replace('-', '+').replace('_', MentionUtilsKt.SLASH_CHAR)); + sb.append("\",\"kty\":\""); + sb.append(jSONObject2.getString("kty")); + sb.append("\"}"); + } + sb.append("]}"); + bArr2 = e0.w(sb.toString()); + } catch (JSONException e) { + String l = e0.l(bArr2); + q.b("ClearKeyUtil", l.length() != 0 ? "Failed to adjust response data: ".concat(l) : new String("Failed to adjust response data: "), e); + } + } + return this.f914c.provideKeyResponse(bArr, bArr2); + } + + @Override // c.i.a.c.w2.a0 + public void j(byte[] bArr) throws DeniedByServerException { + this.f914c.provideProvisionResponse(bArr); + } + + /* JADX WARNING: Code restructure failed: missing block: B:85:0x0204, code lost: + if ("AFTT".equals(r5) == false) goto L_0x020d; + */ + /* JADX WARNING: Code restructure failed: missing block: B:87:0x020a, code lost: + if (r1 != null) goto L_0x020e; + */ + @Override // c.i.a.c.w2.a0 + @SuppressLint({"WrongConstant"}) + public a0.a k(byte[] bArr, @Nullable List list, int i, @Nullable HashMap hashMap) throws NotProvisionedException { + String str; + byte[] bArr2; + byte[] bArr3; + DrmInitData.SchemeData schemeData; + boolean z2; + DrmInitData.SchemeData schemeData2 = null; + if (list != null) { + if (!x0.d.equals(this.b)) { + schemeData = list.get(0); + } else { + if (e0.a >= 28 && list.size() > 1) { + DrmInitData.SchemeData schemeData3 = list.get(0); + int i2 = 0; + int i3 = 0; + while (true) { + if (i2 >= list.size()) { + z2 = true; + break; + } + DrmInitData.SchemeData schemeData4 = list.get(i2); + byte[] bArr4 = schemeData4.m; + Objects.requireNonNull(bArr4); + if (!(e0.a(schemeData4.l, schemeData3.l) && e0.a(schemeData4.k, schemeData3.k))) { + break; + } + if (!(d.t1(bArr4) != null)) { + break; + } + i3 += bArr4.length; + i2++; + } + z2 = false; + if (z2) { + byte[] bArr5 = new byte[i3]; + int i4 = 0; + for (int i5 = 0; i5 < list.size(); i5++) { + byte[] bArr6 = list.get(i5).m; + Objects.requireNonNull(bArr6); + int length = bArr6.length; + System.arraycopy(bArr6, 0, bArr5, i4, length); + i4 += length; + } + schemeData = new DrmInitData.SchemeData(schemeData3.j, schemeData3.k, schemeData3.l, bArr5); + } + } + for (int i6 = 0; i6 < list.size(); i6++) { + DrmInitData.SchemeData schemeData5 = list.get(i6); + byte[] bArr7 = schemeData5.m; + Objects.requireNonNull(bArr7); + j t1 = d.t1(bArr7); + int i7 = t1 == null ? -1 : t1.b; + int i8 = e0.a; + if ((i8 < 23 && i7 == 0) || (i8 >= 23 && i7 == 1)) { + schemeData2 = schemeData5; + break; + } + } + schemeData = list.get(0); + } + schemeData2 = schemeData; + UUID uuid = this.b; + byte[] bArr8 = schemeData2.m; + Objects.requireNonNull(bArr8); + UUID uuid2 = x0.e; + if (uuid2.equals(uuid)) { + byte[] u1 = d.u1(bArr8, uuid); + if (u1 != null) { + bArr8 = u1; + } + int i9 = (bArr8[0] & 255) | ((bArr8[1] & 255) << 8) | ((bArr8[2] & 255) << 16) | ((bArr8[3] & 255) << 24); + short s2 = (short) (((bArr8[5] & 255) << 8) | (bArr8[4] & 255)); + short s3 = (short) (((bArr8[7] & 255) << 8) | (bArr8[6] & 255)); + if (s2 == 1 && s3 == 1) { + int i10 = (bArr8[9] & 255) << 8; + Charset charset = c.d; + String str2 = new String(bArr8, 10, (short) (i10 | (bArr8[8] & 255)), charset); + if (!str2.contains("")) { + int indexOf = str2.indexOf(""); + if (indexOf == -1) { + Log.w("FrameworkMediaDrm", "Could not find the tag. Skipping LA_URL workaround."); + } + String substring = str2.substring(0, indexOf); + String substring2 = str2.substring(indexOf); + String j = c.d.b.a.a.j(c.d.b.a.a.b(substring2, c.d.b.a.a.b(substring, 26)), substring, "https://x", substring2); + int i11 = i9 + 52; + ByteBuffer allocate = ByteBuffer.allocate(i11); + allocate.order(ByteOrder.LITTLE_ENDIAN); + allocate.putInt(i11); + allocate.putShort((short) s2); + allocate.putShort((short) s3); + allocate.putShort((short) (j.length() * 2)); + allocate.put(j.getBytes(charset)); + bArr8 = allocate.array(); + } + } else { + Log.i("FrameworkMediaDrm", "Unexpected record count or type. Skipping LA_URL workaround."); + } + int length2 = (bArr8 != null ? bArr8.length : 0) + 32; + ByteBuffer allocate2 = ByteBuffer.allocate(length2); + allocate2.putInt(length2); + allocate2.putInt(1886614376); + allocate2.putInt(0); + allocate2.putLong(uuid2.getMostSignificantBits()); + allocate2.putLong(uuid2.getLeastSignificantBits()); + if (!(bArr8 == null || bArr8.length == 0)) { + allocate2.putInt(bArr8.length); + allocate2.put(bArr8); + } + bArr8 = allocate2.array(); + } + int i12 = e0.a; + if (i12 >= 23 || !x0.d.equals(uuid)) { + if (uuid2.equals(uuid) && "Amazon".equals(e0.f782c)) { + String str3 = e0.d; + if (!"AFTB".equals(str3)) { + if (!"AFTS".equals(str3)) { + if (!"AFTM".equals(str3)) { + } + } + } + } + bArr3 = bArr8; + UUID uuid3 = this.b; + String str4 = schemeData2.l; + bArr2 = bArr3; + str = (i12 >= 26 || !x0.f918c.equals(uuid3) || (!"video/mp4".equals(str4) && !"audio/mp4".equals(str4))) ? str4 : "cenc"; + } + bArr3 = d.u1(bArr8, uuid); + } else { + bArr2 = null; + str = null; + } + MediaDrm.KeyRequest keyRequest = this.f914c.getKeyRequest(bArr, bArr2, str, i, hashMap); + UUID uuid4 = this.b; + byte[] data = keyRequest.getData(); + if (x0.f918c.equals(uuid4) && e0.a < 27) { + data = e0.w(e0.l(data).replace('+', '-').replace(MentionUtilsKt.SLASH_CHAR, '_')); + } + String defaultUrl = keyRequest.getDefaultUrl(); + if ("https://x".equals(defaultUrl)) { + defaultUrl = ""; + } + if (TextUtils.isEmpty(defaultUrl) && schemeData2 != null && !TextUtils.isEmpty(schemeData2.k)) { + defaultUrl = schemeData2.k; + } + return new a0.a(data, defaultUrl, e0.a >= 23 ? keyRequest.getRequestType() : Integer.MIN_VALUE); + } + + @Override // c.i.a.c.w2.a0 + public int l() { + return 2; + } + + @Override // c.i.a.c.w2.a0 + public synchronized void release() { + int i = this.d - 1; + this.d = i; + if (i == 0) { + this.f914c.release(); + } + } +} diff --git a/app/src/main/java/c/i/a/c/w2/d.java b/app/src/main/java/c/i/a/c/w2/d.java new file mode 100644 index 0000000000..806da575aa --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/d.java @@ -0,0 +1,25 @@ +package c.i.a.c.w2; + +import com.google.android.exoplayer2.drm.DefaultDrmSessionManager; +import com.google.android.exoplayer2.drm.DrmSession; +/* compiled from: lambda */ +public final /* synthetic */ class d implements Runnable { + public final /* synthetic */ DefaultDrmSessionManager.d i; + + public /* synthetic */ d(DefaultDrmSessionManager.d dVar) { + this.i = dVar; + } + + @Override // java.lang.Runnable + public final void run() { + DefaultDrmSessionManager.d dVar = this.i; + if (!dVar.d) { + DrmSession drmSession = dVar.f2322c; + if (drmSession != null) { + drmSession.b(dVar.b); + } + DefaultDrmSessionManager.this.n.remove(dVar); + dVar.d = true; + } + } +} diff --git a/app/src/main/java/c/i/a/c/w2/d0.java b/app/src/main/java/c/i/a/c/w2/d0.java new file mode 100644 index 0000000000..47971bf665 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/d0.java @@ -0,0 +1,136 @@ +package c.i.a.c.w2; + +import android.net.Uri; +import android.text.TextUtils; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.d.b.a.a; +import c.i.a.c.e3.m; +import c.i.a.c.e3.n; +import c.i.a.c.e3.r; +import c.i.a.c.e3.t; +import c.i.a.c.e3.y; +import c.i.a.c.f3.e0; +import c.i.a.c.w2.a0; +import c.i.a.c.x0; +import c.i.b.b.i0; +import com.discord.restapi.RestAPIBuilder; +import com.google.android.exoplayer2.drm.MediaDrmCallbackException; +import com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException; +import java.io.IOException; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.UUID; +/* compiled from: HttpMediaDrmCallback */ +public final class d0 implements e0 { + public final t a; + @Nullable + public final String b; + + /* renamed from: c reason: collision with root package name */ + public final boolean f915c; + public final Map d; + + public d0(@Nullable String str, boolean z2, t tVar) { + d.j(!z2 || !TextUtils.isEmpty(str)); + this.a = tVar; + this.b = str; + this.f915c = z2; + this.d = new HashMap(); + } + + public static byte[] b(t tVar, String str, @Nullable byte[] bArr, Map map) throws MediaDrmCallbackException { + List list; + y yVar = new y(((r.b) tVar).a()); + Collections.emptyMap(); + Uri parse = Uri.parse(str); + if (parse != null) { + n nVar = new n(parse, 0, 2, bArr, map, 0, -1, null, 1, null); + n nVar2 = nVar; + int i = 0; + while (true) { + try { + m mVar = new m(yVar, nVar2); + try { + byte[] K = e0.K(mVar); + int i2 = e0.a; + try { + mVar.close(); + } catch (IOException unused) { + } + return K; + } catch (HttpDataSource$InvalidResponseCodeException e) { + int i3 = e.responseCode; + String str2 = null; + if ((i3 == 307 || i3 == 308) && i < 5) { + Map> map2 = e.headerFields; + if (!(map2 == null || (list = map2.get("Location")) == null || list.isEmpty())) { + str2 = list.get(0); + } + } + if (str2 != null) { + i++; + n.b a = nVar2.a(); + a.a = Uri.parse(str2); + nVar2 = a.a(); + int i4 = e0.a; + try { + mVar.close(); + } catch (IOException unused2) { + } + } else { + throw e; + } + } catch (Throwable th) { + int i5 = e0.a; + try { + mVar.close(); + } catch (IOException unused3) { + } + throw th; + } + } catch (Exception e2) { + Uri uri = yVar.f773c; + Objects.requireNonNull(uri); + throw new MediaDrmCallbackException(nVar, uri, yVar.j(), yVar.b, e2); + } + } + } else { + throw new IllegalStateException("The uri must be set."); + } + } + + public byte[] a(UUID uuid, a0.a aVar) throws MediaDrmCallbackException { + String str = aVar.b; + if (this.f915c || TextUtils.isEmpty(str)) { + str = this.b; + } + if (!TextUtils.isEmpty(str)) { + HashMap hashMap = new HashMap(); + UUID uuid2 = x0.e; + hashMap.put("Content-Type", uuid2.equals(uuid) ? "text/xml" : x0.f918c.equals(uuid) ? RestAPIBuilder.CONTENT_TYPE_JSON : "application/octet-stream"); + if (uuid2.equals(uuid)) { + hashMap.put("SOAPAction", "http://schemas.microsoft.com/DRM/2007/03/protocols/AcquireLicense"); + } + synchronized (this.d) { + hashMap.putAll(this.d); + } + return b(this.a, str, aVar.a, hashMap); + } + Map emptyMap = Collections.emptyMap(); + Uri uri = Uri.EMPTY; + if (uri != null) { + throw new MediaDrmCallbackException(new n(uri, 0, 1, null, emptyMap, 0, -1, null, 0, null), Uri.EMPTY, i0.l, 0, new IllegalStateException("No license URL")); + } + throw new IllegalStateException("The uri must be set."); + } + + public byte[] c(UUID uuid, a0.d dVar) throws MediaDrmCallbackException { + String str = dVar.b; + String l = e0.l(dVar.a); + return b(this.a, a.j(l.length() + a.b(str, 15), str, "&signedRequest=", l), null, Collections.emptyMap()); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/e.java b/app/src/main/java/c/i/a/c/w2/e.java new file mode 100644 index 0000000000..365ddad00e --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/e.java @@ -0,0 +1,29 @@ +package c.i.a.c.w2; + +import android.os.Looper; +import c.i.a.c.j1; +import com.google.android.exoplayer2.drm.DefaultDrmSessionManager; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class e implements Runnable { + public final /* synthetic */ DefaultDrmSessionManager.d i; + public final /* synthetic */ j1 j; + + public /* synthetic */ e(DefaultDrmSessionManager.d dVar, j1 j1Var) { + this.i = dVar; + this.j = j1Var; + } + + @Override // java.lang.Runnable + public final void run() { + DefaultDrmSessionManager.d dVar = this.i; + j1 j1Var = this.j; + DefaultDrmSessionManager defaultDrmSessionManager = DefaultDrmSessionManager.this; + if (defaultDrmSessionManager.p != 0 && !dVar.d) { + Looper looper = defaultDrmSessionManager.t; + Objects.requireNonNull(looper); + dVar.f2322c = defaultDrmSessionManager.e(looper, dVar.b, j1Var, false); + DefaultDrmSessionManager.this.n.add(dVar); + } + } +} diff --git a/app/src/main/java/c/i/a/c/w2/e0.java b/app/src/main/java/c/i/a/c/w2/e0.java new file mode 100644 index 0000000000..307fe50634 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/e0.java @@ -0,0 +1,4 @@ +package c.i.a.c.w2; +/* compiled from: MediaDrmCallback */ +public interface e0 { +} diff --git a/app/src/main/java/c/i/a/c/w2/f.java b/app/src/main/java/c/i/a/c/w2/f.java new file mode 100644 index 0000000000..9210796b24 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/f.java @@ -0,0 +1,16 @@ +package c.i.a.c.w2; + +import com.google.android.exoplayer2.drm.DefaultDrmSession; +/* compiled from: lambda */ +public final /* synthetic */ class f implements Runnable { + public final /* synthetic */ DefaultDrmSession i; + + public /* synthetic */ f(DefaultDrmSession defaultDrmSession) { + this.i = defaultDrmSession; + } + + @Override // java.lang.Runnable + public final void run() { + this.i.b(null); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/g.java b/app/src/main/java/c/i/a/c/w2/g.java new file mode 100644 index 0000000000..d652ad7c2c --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/g.java @@ -0,0 +1,19 @@ +package c.i.a.c.w2; + +import c.i.a.c.w2.s; +/* compiled from: lambda */ +public final /* synthetic */ class g implements Runnable { + public final /* synthetic */ s.a i; + public final /* synthetic */ s j; + + public /* synthetic */ g(s.a aVar, s sVar) { + this.i = aVar; + this.j = sVar; + } + + @Override // java.lang.Runnable + public final void run() { + s.a aVar = this.i; + this.j.d0(aVar.a, aVar.b); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/h.java b/app/src/main/java/c/i/a/c/w2/h.java new file mode 100644 index 0000000000..761fdad357 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/h.java @@ -0,0 +1,19 @@ +package c.i.a.c.w2; + +import c.i.a.c.w2.s; +/* compiled from: lambda */ +public final /* synthetic */ class h implements Runnable { + public final /* synthetic */ s.a i; + public final /* synthetic */ s j; + + public /* synthetic */ h(s.a aVar, s sVar) { + this.i = aVar; + this.j = sVar; + } + + @Override // java.lang.Runnable + public final void run() { + s.a aVar = this.i; + this.j.J(aVar.a, aVar.b); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/i.java b/app/src/main/java/c/i/a/c/w2/i.java new file mode 100644 index 0000000000..5140f310f2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/i.java @@ -0,0 +1,19 @@ +package c.i.a.c.w2; + +import c.i.a.c.w2.s; +/* compiled from: lambda */ +public final /* synthetic */ class i implements Runnable { + public final /* synthetic */ s.a i; + public final /* synthetic */ s j; + + public /* synthetic */ i(s.a aVar, s sVar) { + this.i = aVar; + this.j = sVar; + } + + @Override // java.lang.Runnable + public final void run() { + s.a aVar = this.i; + this.j.S(aVar.a, aVar.b); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/j.java b/app/src/main/java/c/i/a/c/w2/j.java new file mode 100644 index 0000000000..d7a7a9f2b2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/j.java @@ -0,0 +1,19 @@ +package c.i.a.c.w2; + +import c.i.a.c.w2.s; +/* compiled from: lambda */ +public final /* synthetic */ class j implements Runnable { + public final /* synthetic */ s.a i; + public final /* synthetic */ s j; + + public /* synthetic */ j(s.a aVar, s sVar) { + this.i = aVar; + this.j = sVar; + } + + @Override // java.lang.Runnable + public final void run() { + s.a aVar = this.i; + this.j.i0(aVar.a, aVar.b); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/k.java b/app/src/main/java/c/i/a/c/w2/k.java new file mode 100644 index 0000000000..d4a574a85e --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/k.java @@ -0,0 +1,21 @@ +package c.i.a.c.w2; + +import c.i.a.c.w2.s; +/* compiled from: lambda */ +public final /* synthetic */ class k implements Runnable { + public final /* synthetic */ s.a i; + public final /* synthetic */ s j; + public final /* synthetic */ Exception k; + + public /* synthetic */ k(s.a aVar, s sVar, Exception exc) { + this.i = aVar; + this.j = sVar; + this.k = exc; + } + + @Override // java.lang.Runnable + public final void run() { + s.a aVar = this.i; + this.j.u(aVar.a, aVar.b, this.k); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/l.java b/app/src/main/java/c/i/a/c/w2/l.java new file mode 100644 index 0000000000..cb63dbd7c6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/l.java @@ -0,0 +1,26 @@ +package c.i.a.c.w2; + +import c.i.a.c.w2.s; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class l implements Runnable { + public final /* synthetic */ s.a i; + public final /* synthetic */ s j; + public final /* synthetic */ int k; + + public /* synthetic */ l(s.a aVar, s sVar, int i) { + this.i = aVar; + this.j = sVar; + this.k = i; + } + + @Override // java.lang.Runnable + public final void run() { + s.a aVar = this.i; + s sVar = this.j; + int i = this.k; + Objects.requireNonNull(aVar); + Objects.requireNonNull(sVar); + sVar.c0(aVar.a, aVar.b, i); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/m.java b/app/src/main/java/c/i/a/c/w2/m.java new file mode 100644 index 0000000000..ebe93e41ac --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/m.java @@ -0,0 +1,11 @@ +package c.i.a.c.w2; + +import c.i.a.c.w2.u; +/* compiled from: lambda */ +public final /* synthetic */ class m implements u.b { + public static final /* synthetic */ m b = new m(); + + @Override // c.i.a.c.w2.u.b + public final void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/w2/n.java b/app/src/main/java/c/i/a/c/w2/n.java new file mode 100644 index 0000000000..94dc6bb15c --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/n.java @@ -0,0 +1,31 @@ +package c.i.a.c.w2; + +import android.media.UnsupportedSchemeException; +import android.util.Log; +import c.i.a.c.w2.a0; +import com.google.android.exoplayer2.drm.UnsupportedDrmException; +import java.util.UUID; +/* compiled from: lambda */ +public final /* synthetic */ class n implements a0.c { + public static final /* synthetic */ n a = new n(); + + @Override // c.i.a.c.w2.a0.c + public final a0 a(UUID uuid) { + int i = c0.a; + try { + return new c0(uuid); + } catch (UnsupportedSchemeException e) { + throw new UnsupportedDrmException(1, e); + } catch (Exception e2) { + throw new UnsupportedDrmException(2, e2); + } catch (UnsupportedDrmException unused) { + String valueOf = String.valueOf(uuid); + StringBuilder sb = new StringBuilder(valueOf.length() + 53); + sb.append("Failed to instantiate a FrameworkMediaDrm for uuid: "); + sb.append(valueOf); + sb.append("."); + Log.e("FrameworkMediaDrm", sb.toString()); + return new y(); + } + } +} diff --git a/app/src/main/java/c/i/a/c/w2/o.java b/app/src/main/java/c/i/a/c/w2/o.java new file mode 100644 index 0000000000..843c883f1f --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/o.java @@ -0,0 +1,26 @@ +package c.i.a.c.w2; + +import android.media.MediaDrm; +import c.i.a.c.w2.a0; +import com.google.android.exoplayer2.drm.DefaultDrmSessionManager; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class o implements MediaDrm.OnEventListener { + public final /* synthetic */ c0 a; + public final /* synthetic */ a0.b b; + + public /* synthetic */ o(c0 c0Var, a0.b bVar) { + this.a = c0Var; + this.b = bVar; + } + + @Override // android.media.MediaDrm.OnEventListener + public final void onEvent(MediaDrm mediaDrm, byte[] bArr, int i, int i2, byte[] bArr2) { + c0 c0Var = this.a; + a0.b bVar = this.b; + Objects.requireNonNull(c0Var); + DefaultDrmSessionManager.c cVar = DefaultDrmSessionManager.this.f2321x; + Objects.requireNonNull(cVar); + cVar.obtainMessage(i, bArr).sendToTarget(); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/p.java b/app/src/main/java/c/i/a/c/w2/p.java new file mode 100644 index 0000000000..3a8d7d1d3d --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/p.java @@ -0,0 +1,13 @@ +package c.i.a.c.w2; + +import c.i.a.c.f3.k; +import c.i.a.c.w2.s; +/* compiled from: lambda */ +public final /* synthetic */ class p implements k { + public static final /* synthetic */ p a = new p(); + + @Override // c.i.a.c.f3.k + public final void accept(Object obj) { + ((s.a) obj).a(); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/q.java b/app/src/main/java/c/i/a/c/w2/q.java new file mode 100644 index 0000000000..f09c234057 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/q.java @@ -0,0 +1,13 @@ +package c.i.a.c.w2; + +import c.i.a.c.f3.k; +import c.i.a.c.w2.s; +/* compiled from: lambda */ +public final /* synthetic */ class q implements k { + public static final /* synthetic */ q a = new q(); + + @Override // c.i.a.c.f3.k + public final void accept(Object obj) { + ((s.a) obj).c(); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/r.java b/app/src/main/java/c/i/a/c/w2/r.java new file mode 100644 index 0000000000..96d9cbbbb7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/r.java @@ -0,0 +1,71 @@ +package c.i.a.c.w2; + +import android.net.Uri; +import androidx.annotation.GuardedBy; +import androidx.annotation.RequiresApi; +import c.c.a.a0.d; +import c.i.a.c.e3.r; +import c.i.a.c.e3.s; +import c.i.a.c.o1; +import c.i.a.c.x0; +import c.i.a.f.e.o.f; +import c.i.b.b.s0; +import com.google.android.exoplayer2.drm.DefaultDrmSessionManager; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.UUID; +/* compiled from: DefaultDrmSessionManagerProvider */ +public final class r { + public final Object a = new Object(); + @GuardedBy("lock") + public o1.f b; + @GuardedBy("lock") + + /* renamed from: c reason: collision with root package name */ + public u f916c; + + @RequiresApi(18) + public final u a(o1.f fVar) { + r.b bVar = new r.b(); + bVar.b = null; + Uri uri = fVar.b; + d0 d0Var = new d0(uri == null ? null : uri.toString(), fVar.f, bVar); + s0> j = fVar.f837c.entrySet().iterator(); + while (j.hasNext()) { + Map.Entry next = j.next(); + String key = next.getKey(); + String value = next.getValue(); + Objects.requireNonNull(key); + Objects.requireNonNull(value); + synchronized (d0Var.d) { + d0Var.d.put(key, value); + } + } + HashMap hashMap = new HashMap(); + UUID uuid = x0.d; + int i = c0.a; + s sVar = new s(); + UUID uuid2 = fVar.a; + n nVar = n.a; + Objects.requireNonNull(uuid2); + boolean z2 = fVar.d; + boolean z3 = fVar.e; + int[] Z0 = f.Z0(fVar.g); + for (int i2 : Z0) { + boolean z4 = true; + if (!(i2 == 2 || i2 == 1)) { + z4 = false; + } + d.j(z4); + } + DefaultDrmSessionManager defaultDrmSessionManager = new DefaultDrmSessionManager(uuid2, nVar, d0Var, hashMap, z2, (int[]) Z0.clone(), z3, sVar, 300000, null); + byte[] bArr = fVar.h; + byte[] copyOf = bArr != null ? Arrays.copyOf(bArr, bArr.length) : null; + d.D(defaultDrmSessionManager.m.isEmpty()); + defaultDrmSessionManager.v = 0; + defaultDrmSessionManager.w = copyOf; + return defaultDrmSessionManager; + } +} diff --git a/app/src/main/java/c/i/a/c/w2/s.java b/app/src/main/java/c/i/a/c/w2/s.java new file mode 100644 index 0000000000..d873552399 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/s.java @@ -0,0 +1,111 @@ +package c.i.a.c.w2; + +import android.os.Handler; +import androidx.annotation.CheckResult; +import androidx.annotation.Nullable; +import c.i.a.c.a3.a0; +import c.i.a.c.f3.e0; +import java.util.Iterator; +import java.util.concurrent.CopyOnWriteArrayList; +/* compiled from: DrmSessionEventListener */ +public interface s { + + /* compiled from: DrmSessionEventListener */ + public static class a { + public final int a; + @Nullable + public final a0.a b; + + /* renamed from: c reason: collision with root package name */ + public final CopyOnWriteArrayList f917c; + + /* compiled from: DrmSessionEventListener */ + /* renamed from: c.i.a.c.w2.s$a$a reason: collision with other inner class name */ + public static final class C0094a { + public Handler a; + public s b; + + public C0094a(Handler handler, s sVar) { + this.a = handler; + this.b = sVar; + } + } + + public a() { + this.f917c = new CopyOnWriteArrayList<>(); + this.a = 0; + this.b = null; + } + + public a(CopyOnWriteArrayList copyOnWriteArrayList, int i, @Nullable a0.a aVar) { + this.f917c = copyOnWriteArrayList; + this.a = i; + this.b = aVar; + } + + public void a() { + Iterator it = this.f917c.iterator(); + while (it.hasNext()) { + C0094a next = it.next(); + e0.E(next.a, new i(this, next.b)); + } + } + + public void b() { + Iterator it = this.f917c.iterator(); + while (it.hasNext()) { + C0094a next = it.next(); + e0.E(next.a, new h(this, next.b)); + } + } + + public void c() { + Iterator it = this.f917c.iterator(); + while (it.hasNext()) { + C0094a next = it.next(); + e0.E(next.a, new j(this, next.b)); + } + } + + public void d(int i) { + Iterator it = this.f917c.iterator(); + while (it.hasNext()) { + C0094a next = it.next(); + e0.E(next.a, new l(this, next.b, i)); + } + } + + public void e(Exception exc) { + Iterator it = this.f917c.iterator(); + while (it.hasNext()) { + C0094a next = it.next(); + e0.E(next.a, new k(this, next.b, exc)); + } + } + + public void f() { + Iterator it = this.f917c.iterator(); + while (it.hasNext()) { + C0094a next = it.next(); + e0.E(next.a, new g(this, next.b)); + } + } + + @CheckResult + public a g(int i, @Nullable a0.a aVar) { + return new a(this.f917c, i, aVar); + } + } + + void J(int i, @Nullable a0.a aVar); + + void S(int i, @Nullable a0.a aVar); + + void c0(int i, @Nullable a0.a aVar, int i2); + + void d0(int i, @Nullable a0.a aVar); + + void i0(int i, @Nullable a0.a aVar); + + void u(int i, @Nullable a0.a aVar, Exception exc); +} diff --git a/app/src/main/java/c/i/a/c/w2/t.java b/app/src/main/java/c/i/a/c/w2/t.java new file mode 100644 index 0000000000..8935d4446d --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/t.java @@ -0,0 +1,20 @@ +package c.i.a.c.w2; + +import android.os.Looper; +import androidx.annotation.Nullable; +import c.i.a.c.j1; +import c.i.a.c.w2.s; +import c.i.a.c.w2.u; +/* compiled from: DrmSessionManager */ +public final /* synthetic */ class t { + public static u.b a(u uVar, @Nullable Looper looper, s.a aVar, j1 j1Var) { + int i = u.b.a; + return m.b; + } + + public static void b(u uVar) { + } + + public static void c(u uVar) { + } +} diff --git a/app/src/main/java/c/i/a/c/w2/u.java b/app/src/main/java/c/i/a/c/w2/u.java new file mode 100644 index 0000000000..f2b3867c5c --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/u.java @@ -0,0 +1,62 @@ +package c.i.a.c.w2; + +import android.os.Looper; +import androidx.annotation.Nullable; +import c.i.a.c.j1; +import c.i.a.c.w2.s; +import com.google.android.exoplayer2.drm.DrmSession; +import com.google.android.exoplayer2.drm.UnsupportedDrmException; +/* compiled from: DrmSessionManager */ +public interface u { + public static final u a = new a(); + + /* compiled from: DrmSessionManager */ + public class a implements u { + @Override // c.i.a.c.w2.u + public /* synthetic */ void a() { + t.b(this); + } + + @Override // c.i.a.c.w2.u + public /* synthetic */ b b(Looper looper, s.a aVar, j1 j1Var) { + return t.a(this, looper, aVar, j1Var); + } + + @Override // c.i.a.c.w2.u + @Nullable + public DrmSession c(Looper looper, @Nullable s.a aVar, j1 j1Var) { + if (j1Var.f821y == null) { + return null; + } + return new z(new DrmSession.DrmSessionException(new UnsupportedDrmException(1), 6001)); + } + + @Override // c.i.a.c.w2.u + public int d(j1 j1Var) { + return j1Var.f821y != null ? 1 : 0; + } + + @Override // c.i.a.c.w2.u + public /* synthetic */ void release() { + t.c(this); + } + } + + /* compiled from: DrmSessionManager */ + public interface b { + public static final /* synthetic */ int a = 0; + + void release(); + } + + void a(); + + b b(Looper looper, @Nullable s.a aVar, j1 j1Var); + + @Nullable + DrmSession c(Looper looper, @Nullable s.a aVar, j1 j1Var); + + int d(j1 j1Var); + + void release(); +} diff --git a/app/src/main/java/c/i/a/c/w2/v.java b/app/src/main/java/c/i/a/c/w2/v.java new file mode 100644 index 0000000000..611867c584 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/v.java @@ -0,0 +1,20 @@ +package c.i.a.c.w2; + +import android.media.DeniedByServerException; +import android.media.NotProvisionedException; +import androidx.annotation.DoNotInline; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +/* compiled from: DrmUtil */ +@RequiresApi(18) +public final class v { + @DoNotInline + public static boolean a(@Nullable Throwable th) { + return th instanceof DeniedByServerException; + } + + @DoNotInline + public static boolean b(@Nullable Throwable th) { + return th instanceof NotProvisionedException; + } +} diff --git a/app/src/main/java/c/i/a/c/w2/w.java b/app/src/main/java/c/i/a/c/w2/w.java new file mode 100644 index 0000000000..6a23fd2138 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/w.java @@ -0,0 +1,38 @@ +package c.i.a.c.w2; + +import android.media.MediaDrm; +import androidx.annotation.DoNotInline; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import c.i.a.c.f3.e0; +import java.util.Objects; +/* compiled from: DrmUtil */ +@RequiresApi(21) +public final class w { + @DoNotInline + public static boolean a(@Nullable Throwable th) { + return th instanceof MediaDrm.MediaDrmStateException; + } + + @DoNotInline + public static int b(Throwable th) { + String[] split; + int length; + String diagnosticInfo = ((MediaDrm.MediaDrmStateException) th).getDiagnosticInfo(); + int i = e0.a; + int i2 = 0; + if (diagnosticInfo != null && (length = (split = diagnosticInfo.split("_", -1)).length) >= 2) { + String str = split[length - 1]; + boolean z2 = length >= 3 && "neg".equals(split[length - 2]); + try { + Objects.requireNonNull(str); + i2 = Integer.parseInt(str); + if (z2) { + i2 = -i2; + } + } catch (NumberFormatException unused) { + } + } + return e0.p(i2); + } +} diff --git a/app/src/main/java/c/i/a/c/w2/x.java b/app/src/main/java/c/i/a/c/w2/x.java new file mode 100644 index 0000000000..6d37580490 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/x.java @@ -0,0 +1,14 @@ +package c.i.a.c.w2; + +import android.media.MediaDrmResetException; +import androidx.annotation.DoNotInline; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +/* compiled from: DrmUtil */ +@RequiresApi(23) +public final class x { + @DoNotInline + public static boolean a(@Nullable Throwable th) { + return th instanceof MediaDrmResetException; + } +} diff --git a/app/src/main/java/c/i/a/c/w2/y.java b/app/src/main/java/c/i/a/c/w2/y.java new file mode 100644 index 0000000000..39d8e33345 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/y.java @@ -0,0 +1,77 @@ +package c.i.a.c.w2; + +import android.media.MediaDrmException; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import c.i.a.c.v2.b; +import c.i.a.c.w2.a0; +import com.google.android.exoplayer2.drm.DrmInitData; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +/* compiled from: DummyExoMediaDrm */ +@RequiresApi(18) +public final class y implements a0 { + @Override // c.i.a.c.w2.a0 + public Map a(byte[] bArr) { + throw new IllegalStateException(); + } + + @Override // c.i.a.c.w2.a0 + public a0.d b() { + throw new IllegalStateException(); + } + + @Override // c.i.a.c.w2.a0 + public b c(byte[] bArr) { + throw new IllegalStateException(); + } + + @Override // c.i.a.c.w2.a0 + public byte[] d() throws MediaDrmException { + throw new MediaDrmException("Attempting to open a session using a dummy ExoMediaDrm."); + } + + @Override // c.i.a.c.w2.a0 + public boolean e(byte[] bArr, String str) { + throw new IllegalStateException(); + } + + @Override // c.i.a.c.w2.a0 + public void f(byte[] bArr, byte[] bArr2) { + throw new IllegalStateException(); + } + + @Override // c.i.a.c.w2.a0 + public void g(byte[] bArr) { + } + + @Override // c.i.a.c.w2.a0 + public void h(@Nullable a0.b bVar) { + } + + @Override // c.i.a.c.w2.a0 + @Nullable + public byte[] i(byte[] bArr, byte[] bArr2) { + throw new IllegalStateException(); + } + + @Override // c.i.a.c.w2.a0 + public void j(byte[] bArr) { + throw new IllegalStateException(); + } + + @Override // c.i.a.c.w2.a0 + public a0.a k(byte[] bArr, @Nullable List list, int i, @Nullable HashMap hashMap) { + throw new IllegalStateException(); + } + + @Override // c.i.a.c.w2.a0 + public int l() { + return 1; + } + + @Override // c.i.a.c.w2.a0 + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/w2/z.java b/app/src/main/java/c/i/a/c/w2/z.java new file mode 100644 index 0000000000..88a020a296 --- /dev/null +++ b/app/src/main/java/c/i/a/c/w2/z.java @@ -0,0 +1,56 @@ +package c.i.a.c.w2; + +import androidx.annotation.Nullable; +import c.i.a.c.v2.b; +import c.i.a.c.w2.s; +import c.i.a.c.x0; +import com.google.android.exoplayer2.drm.DrmSession; +import java.util.UUID; +/* compiled from: ErrorStateDrmSession */ +public final class z implements DrmSession { + public final DrmSession.DrmSessionException a; + + public z(DrmSession.DrmSessionException drmSessionException) { + this.a = drmSessionException; + } + + @Override // com.google.android.exoplayer2.drm.DrmSession + public void a(@Nullable s.a aVar) { + } + + @Override // com.google.android.exoplayer2.drm.DrmSession + public void b(@Nullable s.a aVar) { + } + + @Override // com.google.android.exoplayer2.drm.DrmSession + public final UUID c() { + return x0.a; + } + + @Override // com.google.android.exoplayer2.drm.DrmSession + public boolean d() { + return false; + } + + @Override // com.google.android.exoplayer2.drm.DrmSession + public boolean e(String str) { + return false; + } + + @Override // com.google.android.exoplayer2.drm.DrmSession + @Nullable + public DrmSession.DrmSessionException f() { + return this.a; + } + + @Override // com.google.android.exoplayer2.drm.DrmSession + @Nullable + public b g() { + return null; + } + + @Override // com.google.android.exoplayer2.drm.DrmSession + public int getState() { + return 1; + } +} diff --git a/app/src/main/java/c/i/a/c/x.java b/app/src/main/java/c/i/a/c/x.java index 5e6517266a..7738aadd42 100644 --- a/app/src/main/java/c/i/a/c/x.java +++ b/app/src/main/java/c/i/a/c/x.java @@ -1,28 +1,17 @@ package c.i.a.c; -import c.i.a.c.i2.p; -import com.google.android.exoplayer2.ExoPlaybackException; -import java.util.Objects; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class x implements Runnable { - public final /* synthetic */ q0 i; - public final /* synthetic */ h1 j; +public final /* synthetic */ class x implements p.a { + public final /* synthetic */ f1 a; - public /* synthetic */ x(q0 q0Var, h1 h1Var) { - this.i = q0Var; - this.j = h1Var; + public /* synthetic */ x(f1 f1Var) { + this.a = f1Var; } - @Override // java.lang.Runnable - public final void run() { - q0 q0Var = this.i; - h1 h1Var = this.j; - Objects.requireNonNull(q0Var); - try { - q0Var.e(h1Var); - } catch (ExoPlaybackException e) { - p.b("ExoPlayerImplInternal", "Unexpected error delivering message on external thread.", e); - throw new RuntimeException(e); - } + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((y1.c) obj).t(this.a.C); } } diff --git a/app/src/main/java/c/i/a/c/x0.java b/app/src/main/java/c/i/a/c/x0.java index 34823a719a..6d81de90cf 100644 --- a/app/src/main/java/c/i/a/c/x0.java +++ b/app/src/main/java/c/i/a/c/x0.java @@ -1,218 +1,13 @@ package c.i.a.c; -import android.util.Pair; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.b1; -import c.i.a.c.d2.f0; -import c.i.a.c.d2.o; -import c.i.a.c.d2.v; -import c.i.a.c.d2.y; -import c.i.a.c.f2.g; -import c.i.a.c.f2.l; -import c.i.a.c.f2.m; -import c.i.a.c.i2.p; -import com.google.android.exoplayer2.ExoPlaybackException; -import com.google.android.exoplayer2.source.TrackGroupArray; -import java.util.Objects; -/* compiled from: MediaPeriodHolder */ +import java.util.UUID; +/* compiled from: C */ public final class x0 { - public final v a; - public final Object b; + public static final UUID a = new UUID(0, 0); + public static final UUID b = new UUID(1186680826959645954L, -5988876978535335093L); /* renamed from: c reason: collision with root package name */ - public final f0[] f1074c; - public boolean d; - public boolean e; - public y0 f; - public boolean g; - public final boolean[] h; - public final l1[] i; - public final l j; - public final b1 k; - @Nullable - public x0 l; - public TrackGroupArray m = TrackGroupArray.i; - public m n; - public long o; - - public x0(l1[] l1VarArr, long j, l lVar, c.i.a.c.h2.m mVar, b1 b1Var, y0 y0Var, m mVar2) { - this.i = l1VarArr; - this.o = j; - this.j = lVar; - this.k = b1Var; - y.a aVar = y0Var.a; - this.b = aVar.a; - this.f = y0Var; - this.n = mVar2; - this.f1074c = new f0[l1VarArr.length]; - this.h = new boolean[l1VarArr.length]; - long j2 = y0Var.b; - long j3 = y0Var.d; - Objects.requireNonNull(b1Var); - Pair pair = (Pair) aVar.a; - Object obj = pair.first; - y.a b = aVar.b(pair.second); - b1.c cVar = b1Var.f810c.get(obj); - Objects.requireNonNull(cVar); - b1Var.h.add(cVar); - b1.b bVar = b1Var.g.get(cVar); - if (bVar != null) { - bVar.a.l(bVar.b); - } - cVar.f812c.add(b); - v t = cVar.a.m(b, mVar, j2); - b1Var.b.put(t, cVar); - b1Var.d(); - if (!(j3 == -9223372036854775807L || j3 == Long.MIN_VALUE)) { - t = new c.i.a.c.d2.l(t, true, 0, j3); - } - this.a = t; - } - - public long a(m mVar, long j, boolean z2, boolean[] zArr) { - int i = 0; - while (true) { - boolean z3 = true; - if (i >= mVar.a) { - break; - } - boolean[] zArr2 = this.h; - if (z2 || !mVar.a(this.n, i)) { - z3 = false; - } - zArr2[i] = z3; - i++; - } - f0[] f0VarArr = this.f1074c; - int i2 = 0; - while (true) { - l1[] l1VarArr = this.i; - if (i2 >= l1VarArr.length) { - break; - } - if (((g0) l1VarArr[i2]).i == 7) { - f0VarArr[i2] = null; - } - i2++; - } - b(); - this.n = mVar; - c(); - long m = this.a.m(mVar.f924c, this.h, this.f1074c, zArr, j); - f0[] f0VarArr2 = this.f1074c; - int i3 = 0; - while (true) { - l1[] l1VarArr2 = this.i; - if (i3 >= l1VarArr2.length) { - break; - } - if (((g0) l1VarArr2[i3]).i == 7 && this.n.b(i3)) { - f0VarArr2[i3] = new o(); - } - i3++; - } - this.e = false; - int i4 = 0; - while (true) { - f0[] f0VarArr3 = this.f1074c; - if (i4 >= f0VarArr3.length) { - return m; - } - if (f0VarArr3[i4] != null) { - d.D(mVar.b(i4)); - if (((g0) this.i[i4]).i != 7) { - this.e = true; - } - } else { - d.D(mVar.f924c[i4] == null); - } - i4++; - } - } - - public final void b() { - if (g()) { - int i = 0; - while (true) { - m mVar = this.n; - if (i < mVar.a) { - boolean b = mVar.b(i); - g gVar = this.n.f924c[i]; - if (b && gVar != null) { - gVar.g(); - } - i++; - } else { - return; - } - } - } - } - - public final void c() { - if (g()) { - int i = 0; - while (true) { - m mVar = this.n; - if (i < mVar.a) { - boolean b = mVar.b(i); - g gVar = this.n.f924c[i]; - if (b && gVar != null) { - gVar.e(); - } - i++; - } else { - return; - } - } - } - } - - public long d() { - if (!this.d) { - return this.f.b; - } - long q = this.e ? this.a.q() : Long.MIN_VALUE; - return q == Long.MIN_VALUE ? this.f.e : q; - } - - public long e() { - return this.f.b + this.o; - } - - public boolean f() { - return this.d && (!this.e || this.a.q() == Long.MIN_VALUE); - } - - public final boolean g() { - return this.l == null; - } - - public void h() { - b(); - long j = this.f.d; - b1 b1Var = this.k; - v vVar = this.a; - if (j == -9223372036854775807L || j == Long.MIN_VALUE) { - b1Var.h(vVar); - return; - } - try { - b1Var.h(((c.i.a.c.d2.l) vVar).i); - } catch (RuntimeException e) { - p.b("MediaPeriodHolder", "Period release failed.", e); - } - } - - public m i(float f, r1 r1Var) throws ExoPlaybackException { - m b = this.j.b(this.i, this.m, this.f.a, r1Var); - g[] gVarArr = b.f924c; - for (g gVar : gVarArr) { - if (gVar != null) { - gVar.i(f); - } - } - return b; - } + public static final UUID f918c = new UUID(-2129748144642739255L, 8654423357094679310L); + public static final UUID d = new UUID(-1301668207276963122L, -6645017420763422227L); + public static final UUID e = new UUID(-7348484286925749626L, -6083546864340672619L); } diff --git a/app/src/main/java/c/i/a/c/x1.java b/app/src/main/java/c/i/a/c/x1.java new file mode 100644 index 0000000000..908d5480f3 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x1.java @@ -0,0 +1,41 @@ +package c.i.a.c; + +import androidx.annotation.FloatRange; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +/* compiled from: PlaybackParameters */ +public final class x1 implements w0 { + public static final x1 i = new x1(1.0f, 1.0f); + public final float j; + public final float k; + public final int l; + + public x1(@FloatRange(from = 0.0d, fromInclusive = false) float f, @FloatRange(from = 0.0d, fromInclusive = false) float f2) { + boolean z2 = true; + d.j(f > 0.0f); + d.j(f2 <= 0.0f ? false : z2); + this.j = f; + this.k = f2; + this.l = Math.round(f * 1000.0f); + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || x1.class != obj.getClass()) { + return false; + } + x1 x1Var = (x1) obj; + return this.j == x1Var.j && this.k == x1Var.k; + } + + public int hashCode() { + return Float.floatToRawIntBits(this.k) + ((Float.floatToRawIntBits(this.j) + 527) * 31); + } + + public String toString() { + return e0.k("PlaybackParameters(speed=%.2f, pitch=%.2f)", Float.valueOf(this.j), Float.valueOf(this.k)); + } +} diff --git a/app/src/main/java/c/i/a/c/x1/a.java b/app/src/main/java/c/i/a/c/x1/a.java deleted file mode 100644 index 04ce66e09f..0000000000 --- a/app/src/main/java/c/i/a/c/x1/a.java +++ /dev/null @@ -1,29 +0,0 @@ -package c.i.a.c.x1; -/* compiled from: Buffer */ -public abstract class a { - public int i; - - public final void j(int i) { - this.i = i | this.i; - } - - public final boolean k(int i) { - return (this.i & i) == i; - } - - public final boolean l() { - return k(268435456); - } - - public final boolean m() { - return k(Integer.MIN_VALUE); - } - - public final boolean n() { - return k(4); - } - - public final boolean o() { - return k(1); - } -} diff --git a/app/src/main/java/c/i/a/c/x1/b.java b/app/src/main/java/c/i/a/c/x1/b.java deleted file mode 100644 index 507ff2642f..0000000000 --- a/app/src/main/java/c/i/a/c/x1/b.java +++ /dev/null @@ -1,44 +0,0 @@ -package c.i.a.c.x1; - -import android.media.MediaCodec; -import androidx.annotation.Nullable; -import androidx.annotation.RequiresApi; -import c.i.a.c.i2.f0; -/* compiled from: CryptoInfo */ -public final class b { - @Nullable - public byte[] a; - @Nullable - public byte[] b; - - /* renamed from: c reason: collision with root package name */ - public int f1075c; - @Nullable - public int[] d; - @Nullable - public int[] e; - public int f; - public int g; - public int h; - public final MediaCodec.CryptoInfo i; - @Nullable - public final C0099b j; - - /* compiled from: CryptoInfo */ - @RequiresApi(24) - /* renamed from: c.i.a.c.x1.b$b reason: collision with other inner class name */ - public static final class C0099b { - public final MediaCodec.CryptoInfo a; - public final MediaCodec.CryptoInfo.Pattern b = new MediaCodec.CryptoInfo.Pattern(0, 0); - - public C0099b(MediaCodec.CryptoInfo cryptoInfo, a aVar) { - this.a = cryptoInfo; - } - } - - public b() { - MediaCodec.CryptoInfo cryptoInfo = new MediaCodec.CryptoInfo(); - this.i = cryptoInfo; - this.j = f0.a >= 24 ? new C0099b(cryptoInfo, null) : null; - } -} diff --git a/app/src/main/java/c/i/a/c/x1/c.java b/app/src/main/java/c/i/a/c/x1/c.java deleted file mode 100644 index f54236cfed..0000000000 --- a/app/src/main/java/c/i/a/c/x1/c.java +++ /dev/null @@ -1,18 +0,0 @@ -package c.i.a.c.x1; - -import androidx.annotation.Nullable; -import com.google.android.exoplayer2.decoder.DecoderException; -/* compiled from: Decoder */ -public interface c { - @Nullable - O b() throws DecoderException; - - @Nullable - I c() throws DecoderException; - - void d(I i) throws DecoderException; - - void flush(); - - void release(); -} diff --git a/app/src/main/java/c/i/a/c/x1/d.java b/app/src/main/java/c/i/a/c/x1/d.java deleted file mode 100644 index 9b5fa4a117..0000000000 --- a/app/src/main/java/c/i/a/c/x1/d.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.x1; -/* compiled from: DecoderCounters */ -public final class d { - public int a; - public int b; - - /* renamed from: c reason: collision with root package name */ - public int f1076c; - public int d; - public int e; - public int f; - public int g; - public int h; - public int i; - public long j; - public int k; -} diff --git a/app/src/main/java/c/i/a/c/x1/e.java b/app/src/main/java/c/i/a/c/x1/e.java deleted file mode 100644 index 216faea15a..0000000000 --- a/app/src/main/java/c/i/a/c/x1/e.java +++ /dev/null @@ -1,48 +0,0 @@ -package c.i.a.c.x1; - -import android.text.TextUtils; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.d.b.a.a; -import com.google.android.exoplayer2.Format; -import java.util.Objects; -/* compiled from: DecoderReuseEvaluation */ -public final class e { - public final String a; - public final Format b; - - /* renamed from: c reason: collision with root package name */ - public final Format f1077c; - public final int d; - public final int e; - - public e(String str, Format format, Format format2, int i, int i2) { - d.k(i == 0 || i2 == 0); - if (!TextUtils.isEmpty(str)) { - this.a = str; - Objects.requireNonNull(format); - this.b = format; - this.f1077c = format2; - this.d = i; - this.e = i2; - return; - } - throw new IllegalArgumentException(); - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (obj == null || e.class != obj.getClass()) { - return false; - } - e eVar = (e) obj; - return this.d == eVar.d && this.e == eVar.e && this.a.equals(eVar.a) && this.b.equals(eVar.b) && this.f1077c.equals(eVar.f1077c); - } - - public int hashCode() { - int m = a.m(this.a, (((this.d + 527) * 31) + this.e) * 31, 31); - return this.f1077c.hashCode() + ((this.b.hashCode() + m) * 31); - } -} diff --git a/app/src/main/java/c/i/a/c/x1/f.java b/app/src/main/java/c/i/a/c/x1/f.java deleted file mode 100644 index 77b5149d55..0000000000 --- a/app/src/main/java/c/i/a/c/x1/f.java +++ /dev/null @@ -1,12 +0,0 @@ -package c.i.a.c.x1; -/* compiled from: OutputBuffer */ -public abstract class f extends a { - public long j; - - /* compiled from: OutputBuffer */ - public interface a { - void a(S s); - } - - public abstract void p(); -} diff --git a/app/src/main/java/c/i/a/c/x1/g.java b/app/src/main/java/c/i/a/c/x1/g.java deleted file mode 100644 index 398acc2d11..0000000000 --- a/app/src/main/java/c/i/a/c/x1/g.java +++ /dev/null @@ -1,235 +0,0 @@ -package c.i.a.c.x1; - -import androidx.annotation.CallSuper; -import androidx.annotation.Nullable; -import c.i.a.c.e2.d; -import c.i.a.c.e2.e; -import c.i.a.c.e2.i; -import c.i.a.c.x1.f; -import com.google.android.exoplayer2.decoder.DecoderException; -import com.google.android.exoplayer2.decoder.DecoderInputBuffer; -import com.google.android.exoplayer2.text.SubtitleDecoderException; -import java.util.ArrayDeque; -import java.util.Objects; -/* compiled from: SimpleDecoder */ -public abstract class g implements c { - public final Thread a; - public final Object b = new Object(); - - /* renamed from: c reason: collision with root package name */ - public final ArrayDeque f1078c = new ArrayDeque<>(); - public final ArrayDeque d = new ArrayDeque<>(); - public final I[] e; - public final O[] f; - public int g; - public int h; - public I i; - public E j; - public boolean k; - public boolean l; - public int m; - - /* compiled from: SimpleDecoder */ - public class a extends Thread { - public a(String str) { - super(str); - } - - @Override // java.lang.Thread, java.lang.Runnable - public void run() { - g gVar = g.this; - Objects.requireNonNull(gVar); - do { - try { - } catch (InterruptedException e) { - throw new IllegalStateException(e); - } - } while (gVar.f()); - } - } - - public g(I[] iArr, O[] oArr) { - this.e = iArr; - this.g = iArr.length; - for (int i = 0; i < this.g; i++) { - this.e[i] = new i(); - } - this.f = oArr; - this.h = oArr.length; - for (int i2 = 0; i2 < this.h; i2++) { - this.f[i2] = new e(new c.i.a.c.e2.a((d) this)); - } - a aVar = new a("ExoPlayer:SimpleDecoder"); - this.a = aVar; - aVar.start(); - } - - @Override // c.i.a.c.x1.c - @Nullable - public Object b() throws DecoderException { - O removeFirst; - synchronized (this.b) { - h(); - removeFirst = this.d.isEmpty() ? null : this.d.removeFirst(); - } - return removeFirst; - } - - @Override // c.i.a.c.x1.c - @Nullable - public Object c() throws DecoderException { - I i; - synchronized (this.b) { - h(); - c.c.a.a0.d.D(this.i == null); - int i2 = this.g; - if (i2 == 0) { - i = null; - } else { - I[] iArr = this.e; - int i3 = i2 - 1; - this.g = i3; - i = iArr[i3]; - } - this.i = i; - } - return i; - } - - /* JADX DEBUG: Multi-variable search result rejected for r1v2, resolved type: java.util.ArrayDeque */ - /* JADX WARN: Multi-variable type inference failed */ - @Override // c.i.a.c.x1.c - public void d(Object obj) throws DecoderException { - DecoderInputBuffer decoderInputBuffer = (DecoderInputBuffer) obj; - synchronized (this.b) { - h(); - c.c.a.a0.d.k(decoderInputBuffer == this.i); - this.f1078c.addLast(decoderInputBuffer); - g(); - this.i = null; - } - } - - @Nullable - public abstract E e(I i, O o, boolean z2); - - /* JADX WARNING: Removed duplicated region for block: B:33:0x006b */ - /* JADX WARNING: Removed duplicated region for block: B:44:0x0078 A[SYNTHETIC] */ - public final boolean f() throws InterruptedException { - I removeFirst; - O o; - boolean z2; - SubtitleDecoderException subtitleDecoderException; - SubtitleDecoderException subtitleDecoderException2; - synchronized (this.b) { - while (!this.l) { - if (!this.f1078c.isEmpty() && this.h > 0) { - break; - } - this.b.wait(); - } - if (this.l) { - return false; - } - removeFirst = this.f1078c.removeFirst(); - O[] oArr = this.f; - int i = this.h - 1; - this.h = i; - o = oArr[i]; - z2 = this.k; - this.k = false; - } - if (removeFirst.n()) { - o.j(4); - } else { - if (removeFirst.m()) { - o.j(Integer.MIN_VALUE); - } - try { - subtitleDecoderException = e(removeFirst, o, z2); - } catch (RuntimeException e) { - subtitleDecoderException2 = new SubtitleDecoderException("Unexpected decode error", e); - } catch (OutOfMemoryError e2) { - subtitleDecoderException2 = new SubtitleDecoderException("Unexpected decode error", e2); - } - if (subtitleDecoderException != null) { - synchronized (this.b) { - this.j = subtitleDecoderException; - } - return false; - } - } - synchronized (this.b) { - if (this.k) { - o.p(); - } else if (o.m()) { - this.m++; - o.p(); - } else { - this.m = 0; - this.d.addLast(o); - } - i(removeFirst); - } - return true; - subtitleDecoderException = subtitleDecoderException2; - if (subtitleDecoderException != null) { - } - synchronized (this.b) { - } - } - - @Override // c.i.a.c.x1.c - public final void flush() { - synchronized (this.b) { - this.k = true; - this.m = 0; - I i = this.i; - if (i != null) { - i(i); - this.i = null; - } - while (!this.f1078c.isEmpty()) { - i(this.f1078c.removeFirst()); - } - while (!this.d.isEmpty()) { - this.d.removeFirst().p(); - } - } - } - - public final void g() { - if (!this.f1078c.isEmpty() && this.h > 0) { - this.b.notify(); - } - } - - public final void h() throws DecoderException { - E e = this.j; - if (e != null) { - throw e; - } - } - - public final void i(I i) { - i.p(); - I[] iArr = this.e; - int i2 = this.g; - this.g = i2 + 1; - iArr[i2] = i; - } - - @Override // c.i.a.c.x1.c - @CallSuper - public void release() { - synchronized (this.b) { - this.l = true; - this.b.notify(); - } - try { - this.a.join(); - } catch (InterruptedException unused) { - Thread.currentThread().interrupt(); - } - } -} diff --git a/app/src/main/java/c/i/a/c/x2/a.java b/app/src/main/java/c/i/a/c/x2/a.java new file mode 100644 index 0000000000..a5afa90621 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/a.java @@ -0,0 +1,220 @@ +package c.i.a.c.x2; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.e0; +import c.i.a.c.x2.t; +import com.discord.api.permission.Permission; +import java.io.IOException; +/* compiled from: BinarySearchSeeker */ +public abstract class a { + public final C0095a a; + public final f b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public c f919c; + public final int d; + + /* compiled from: BinarySearchSeeker */ + /* renamed from: c.i.a.c.x2.a$a reason: collision with other inner class name */ + public static class C0095a implements t { + public final d a; + public final long b; + + /* renamed from: c reason: collision with root package name */ + public final long f920c; + public final long d; + public final long e; + public final long f; + public final long g; + + public C0095a(d dVar, long j, long j2, long j3, long j4, long j5, long j6) { + this.a = dVar; + this.b = j; + this.f920c = j2; + this.d = j3; + this.e = j4; + this.f = j5; + this.g = j6; + } + + @Override // c.i.a.c.x2.t + public boolean c() { + return true; + } + + @Override // c.i.a.c.x2.t + public t.a h(long j) { + return new t.a(new u(j, c.a(this.a.a(j), this.f920c, this.d, this.e, this.f, this.g))); + } + + @Override // c.i.a.c.x2.t + public long i() { + return this.b; + } + } + + /* compiled from: BinarySearchSeeker */ + public static final class b implements d { + @Override // c.i.a.c.x2.a.d + public long a(long j) { + return j; + } + } + + /* compiled from: BinarySearchSeeker */ + public static class c { + public final long a; + public final long b; + + /* renamed from: c reason: collision with root package name */ + public final long f921c; + public long d; + public long e; + public long f; + public long g; + public long h; + + public c(long j, long j2, long j3, long j4, long j5, long j6, long j7) { + this.a = j; + this.b = j2; + this.d = j3; + this.e = j4; + this.f = j5; + this.g = j6; + this.f921c = j7; + this.h = a(j2, j3, j4, j5, j6, j7); + } + + public static long a(long j, long j2, long j3, long j4, long j5, long j6) { + if (j4 + 1 >= j5 || j2 + 1 >= j3) { + return j4; + } + long j7 = (long) (((float) (j - j2)) * (((float) (j5 - j4)) / ((float) (j3 - j2)))); + return e0.i(((j7 + j4) - j6) - (j7 / 20), j4, j5 - 1); + } + } + + /* compiled from: BinarySearchSeeker */ + public interface d { + long a(long j); + } + + /* compiled from: BinarySearchSeeker */ + public static final class e { + public static final e a = new e(-3, -9223372036854775807L, -1); + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final long f922c; + public final long d; + + public e(int i, long j, long j2) { + this.b = i; + this.f922c = j; + this.d = j2; + } + + public static e a(long j, long j2) { + return new e(-1, j, j2); + } + + public static e b(long j) { + return new e(0, -9223372036854775807L, j); + } + + public static e c(long j, long j2) { + return new e(-2, j, j2); + } + } + + /* compiled from: BinarySearchSeeker */ + public interface f { + void a(); + + e b(i iVar, long j) throws IOException; + } + + public a(d dVar, f fVar, long j, long j2, long j3, long j4, long j5, long j6, int i) { + this.b = fVar; + this.d = i; + this.a = new C0095a(dVar, j, j2, j3, j4, j5, j6); + } + + public int a(i iVar, s sVar) throws IOException { + while (true) { + c cVar = this.f919c; + c.c.a.a0.d.H(cVar); + long j = cVar.f; + long j2 = cVar.g; + long j3 = cVar.h; + if (j2 - j <= ((long) this.d)) { + c(false, j); + return d(iVar, j, sVar); + } else if (!f(iVar, j3)) { + return d(iVar, j3, sVar); + } else { + iVar.k(); + e b2 = this.b.b(iVar, cVar.b); + int i = b2.b; + if (i == -3) { + c(false, j3); + return d(iVar, j3, sVar); + } else if (i == -2) { + long j4 = b2.f922c; + long j5 = b2.d; + cVar.d = j4; + cVar.f = j5; + cVar.h = c.a(cVar.b, j4, cVar.e, j5, cVar.g, cVar.f921c); + } else if (i == -1) { + long j6 = b2.f922c; + long j7 = b2.d; + cVar.e = j6; + cVar.g = j7; + cVar.h = c.a(cVar.b, cVar.d, j6, cVar.f, j7, cVar.f921c); + } else if (i == 0) { + f(iVar, b2.d); + c(true, b2.d); + return d(iVar, b2.d, sVar); + } else { + throw new IllegalStateException("Invalid case"); + } + } + } + } + + public final boolean b() { + return this.f919c != null; + } + + public final void c(boolean z2, long j) { + this.f919c = null; + this.b.a(); + } + + public final int d(i iVar, long j, s sVar) { + if (j == iVar.getPosition()) { + return 0; + } + sVar.a = j; + return 1; + } + + public final void e(long j) { + c cVar = this.f919c; + if (cVar == null || cVar.a != j) { + long a = this.a.a.a(j); + C0095a aVar = this.a; + this.f919c = new c(j, a, aVar.f920c, aVar.d, aVar.e, aVar.f, aVar.g); + } + } + + public final boolean f(i iVar, long j) throws IOException { + long position = j - iVar.getPosition(); + if (position < 0 || position > Permission.USE_EXTERNAL_EMOJIS) { + return false; + } + iVar.l((int) position); + return true; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/a0.java b/app/src/main/java/c/i/a/c/x2/a0.java new file mode 100644 index 0000000000..64e9d2dead --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/a0.java @@ -0,0 +1,9 @@ +package c.i.a.c.x2; +/* compiled from: VorbisUtil */ +public final class a0 { + public final boolean a; + + public a0(boolean z2, int i, int i2, int i3) { + this.a = z2; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/b.java b/app/src/main/java/c/i/a/c/x2/b.java new file mode 100644 index 0000000000..816f6d1abc --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/b.java @@ -0,0 +1,8 @@ +package c.i.a.c.x2; + +import c.i.a.c.x2.a; +/* compiled from: BinarySearchSeeker */ +public final /* synthetic */ class b { + public static void a(a.f fVar) { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/b0.java b/app/src/main/java/c/i/a/c/x2/b0.java new file mode 100644 index 0000000000..b93c06be7b --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/b0.java @@ -0,0 +1,23 @@ +package c.i.a.c.x2; +/* compiled from: VorbisUtil */ +public final class b0 { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f923c; + public final int d; + public final int e; + public final int f; + public final byte[] g; + + public b0(int i, int i2, int i3, int i4, int i5, int i6, int i7, int i8, boolean z2, byte[] bArr) { + this.a = i2; + this.b = i3; + this.f923c = i4; + this.d = i5; + this.e = i7; + this.f = i8; + this.g = bArr; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/c.java b/app/src/main/java/c/i/a/c/x2/c.java new file mode 100644 index 0000000000..452fd5c298 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/c.java @@ -0,0 +1,73 @@ +package c.i.a.c.x2; + +import c.d.b.a.a; +import c.i.a.c.f3.e0; +import c.i.a.c.x2.t; +import java.util.Arrays; +/* compiled from: ChunkIndex */ +public final class c implements t { + public final int a; + public final int[] b; + + /* renamed from: c reason: collision with root package name */ + public final long[] f924c; + public final long[] d; + public final long[] e; + public final long f; + + public c(int[] iArr, long[] jArr, long[] jArr2, long[] jArr3) { + this.b = iArr; + this.f924c = jArr; + this.d = jArr2; + this.e = jArr3; + int length = iArr.length; + this.a = length; + if (length > 0) { + this.f = jArr2[length - 1] + jArr3[length - 1]; + } else { + this.f = 0; + } + } + + @Override // c.i.a.c.x2.t + public boolean c() { + return true; + } + + @Override // c.i.a.c.x2.t + public t.a h(long j) { + int e = e0.e(this.e, j, true, true); + long[] jArr = this.e; + long j2 = jArr[e]; + long[] jArr2 = this.f924c; + u uVar = new u(j2, jArr2[e]); + if (j2 >= j || e == this.a - 1) { + return new t.a(uVar); + } + int i = e + 1; + return new t.a(uVar, new u(jArr[i], jArr2[i])); + } + + @Override // c.i.a.c.x2.t + public long i() { + return this.f; + } + + public String toString() { + int i = this.a; + String arrays = Arrays.toString(this.b); + String arrays2 = Arrays.toString(this.f924c); + String arrays3 = Arrays.toString(this.e); + String arrays4 = Arrays.toString(this.d); + StringBuilder sb = new StringBuilder(a.b(arrays4, a.b(arrays3, a.b(arrays2, a.b(arrays, 71))))); + sb.append("ChunkIndex(length="); + sb.append(i); + sb.append(", sizes="); + sb.append(arrays); + a.o0(sb, ", offsets=", arrays2, ", timeUs=", arrays3); + sb.append(", durationsUs="); + sb.append(arrays4); + sb.append(")"); + return sb.toString(); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/c0/a.java b/app/src/main/java/c/i/a/c/x2/c0/a.java new file mode 100644 index 0000000000..e34861b806 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/c0/a.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.c0; + +import android.net.Uri; +import c.i.a.c.x2.h; +import c.i.a.c.x2.k; +import c.i.a.c.x2.l; +import java.util.Map; +/* compiled from: lambda */ +public final /* synthetic */ class a implements l { + public static final /* synthetic */ a a = new a(); + + @Override // c.i.a.c.x2.l + public final h[] a() { + return new h[]{new b(0)}; + } + + @Override // c.i.a.c.x2.l + public /* synthetic */ h[] b(Uri uri, Map map) { + return k.a(this, uri, map); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/c0/b.java b/app/src/main/java/c/i/a/c/x2/c0/b.java new file mode 100644 index 0000000000..89afbe3b84 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/c0/b.java @@ -0,0 +1,210 @@ +package c.i.a.c.x2.c0; + +import c.c.a.a0.d; +import c.d.b.a.a; +import c.i.a.c.f3.e0; +import c.i.a.c.j1; +import c.i.a.c.x2.h; +import c.i.a.c.x2.i; +import c.i.a.c.x2.j; +import c.i.a.c.x2.s; +import c.i.a.c.x2.t; +import c.i.a.c.x2.w; +import com.google.android.exoplayer2.ParserException; +import java.io.EOFException; +import java.io.IOException; +import java.util.Arrays; +/* compiled from: AmrExtractor */ +public final class b implements h { + public static final int[] a = {13, 14, 16, 18, 20, 21, 27, 32, 6, 7, 6, 6, 1, 1, 1, 1}; + public static final int[] b; + + /* renamed from: c reason: collision with root package name */ + public static final byte[] f925c = e0.w("#!AMR\n"); + public static final byte[] d = e0.w("#!AMR-WB\n"); + public static final int e; + public final byte[] f; + public final int g; + public boolean h; + public long i; + public int j; + public int k; + public boolean l; + public long m; + public int n; + public int o; + public long p; + public j q; + public w r; + + /* renamed from: s reason: collision with root package name */ + public t f926s; + public boolean t; + + static { + a aVar = a.a; + int[] iArr = {18, 24, 33, 37, 41, 47, 51, 59, 61, 6, 1, 1, 1, 1, 1, 1}; + b = iArr; + e = iArr[8]; + } + + public b(int i) { + this.g = (i & 2) != 0 ? i | 1 : i; + this.f = new byte[1]; + this.n = -1; + } + + /* JADX WARNING: Code restructure failed: missing block: B:21:0x003a, code lost: + if ((!r0 && (r5 < 12 || r5 > 14)) != false) goto L_0x003c; + */ + public final int a(i iVar) throws IOException { + iVar.k(); + boolean z2 = false; + iVar.o(this.f, 0, 1); + byte b2 = this.f[0]; + if ((b2 & 131) <= 0) { + int i = (b2 >> 3) & 15; + if (i >= 0 && i <= 15) { + boolean z3 = this.h; + if (!(z3 && (i < 10 || i > 13))) { + } + z2 = true; + } + if (z2) { + return this.h ? b[i] : a[i]; + } + String str = this.h ? "WB" : "NB"; + StringBuilder sb = new StringBuilder(str.length() + 35); + sb.append("Illegal AMR "); + sb.append(str); + sb.append(" frame type "); + sb.append(i); + throw ParserException.a(sb.toString(), null); + } + throw a.s0(42, "Invalid padding bits for frame header ", b2, null); + } + + @Override // c.i.a.c.x2.h + public boolean b(i iVar) throws IOException { + return c(iVar); + } + + public final boolean c(i iVar) throws IOException { + byte[] bArr = f925c; + iVar.k(); + byte[] bArr2 = new byte[bArr.length]; + iVar.o(bArr2, 0, bArr.length); + if (Arrays.equals(bArr2, bArr)) { + this.h = false; + iVar.l(bArr.length); + return true; + } + byte[] bArr3 = d; + iVar.k(); + byte[] bArr4 = new byte[bArr3.length]; + iVar.o(bArr4, 0, bArr3.length); + if (!Arrays.equals(bArr4, bArr3)) { + return false; + } + this.h = true; + iVar.l(bArr3.length); + return true; + } + + /* JADX WARNING: Removed duplicated region for block: B:37:0x00b2 */ + @Override // c.i.a.c.x2.h + public int e(i iVar, s sVar) throws IOException { + int i; + int i2; + d.H(this.r); + if (iVar.getPosition() != 0 || c(iVar)) { + if (!this.t) { + this.t = true; + boolean z2 = this.h; + String str = z2 ? "audio/amr-wb" : "audio/3gpp"; + int i3 = z2 ? 16000 : 8000; + w wVar = this.r; + j1.b bVar = new j1.b(); + bVar.k = str; + bVar.l = e; + bVar.f825x = 1; + bVar.f826y = i3; + wVar.e(bVar.a()); + } + if (this.k == 0) { + try { + int a2 = a(iVar); + this.j = a2; + this.k = a2; + if (this.n == -1) { + this.m = iVar.getPosition(); + this.n = this.j; + } + if (this.n == this.j) { + this.o++; + } + } catch (EOFException unused) { + } + } + int b2 = this.r.b(iVar, this.k, true); + if (b2 != -1) { + int i4 = this.k - b2; + this.k = i4; + if (i4 <= 0) { + this.r.d(this.p + this.i, 1, this.j, 0, null); + this.i += 20000; + } + i = 0; + long b3 = iVar.b(); + if (!this.l) { + int i5 = this.g; + if ((i5 & 1) == 0 || b3 == -1 || !((i2 = this.n) == -1 || i2 == this.j)) { + t.b bVar2 = new t.b(-9223372036854775807L, 0); + this.f926s = bVar2; + this.q.a(bVar2); + this.l = true; + } else if (this.o >= 20 || i == -1) { + c.i.a.c.x2.d dVar = new c.i.a.c.x2.d(b3, this.m, (int) ((((long) (i2 * 8)) * 1000000) / 20000), i2, (i5 & 2) != 0); + this.f926s = dVar; + this.q.a(dVar); + this.l = true; + } + } + return i; + } + i = -1; + long b3 = iVar.b(); + if (!this.l) { + } + return i; + } + throw ParserException.a("Could not find AMR header.", null); + } + + @Override // c.i.a.c.x2.h + public void f(j jVar) { + this.q = jVar; + this.r = jVar.p(0, 1); + jVar.j(); + } + + @Override // c.i.a.c.x2.h + public void g(long j, long j2) { + this.i = 0; + this.j = 0; + this.k = 0; + if (j != 0) { + t tVar = this.f926s; + if (tVar instanceof c.i.a.c.x2.d) { + c.i.a.c.x2.d dVar = (c.i.a.c.x2.d) tVar; + this.p = c.i.a.c.x2.d.e(j, dVar.b, dVar.e); + return; + } + } + this.p = 0; + } + + @Override // c.i.a.c.x2.h + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/d.java b/app/src/main/java/c/i/a/c/x2/d.java new file mode 100644 index 0000000000..ccbca3e49a --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/d.java @@ -0,0 +1,72 @@ +package c.i.a.c.x2; + +import c.i.a.c.x2.t; +/* compiled from: ConstantBitrateSeekMap */ +public class d implements t { + public final long a; + public final long b; + + /* renamed from: c reason: collision with root package name */ + public final int f927c; + public final long d; + public final int e; + public final long f; + public final boolean g; + + public d(long j, long j2, int i, int i2, boolean z2) { + this.a = j; + this.b = j2; + this.f927c = i2 == -1 ? 1 : i2; + this.e = i; + this.g = z2; + if (j == -1) { + this.d = -1; + this.f = -9223372036854775807L; + return; + } + this.d = j - j2; + this.f = e(j, j2, i); + } + + public static long e(long j, long j2, int i) { + return ((Math.max(0L, j - j2) * 8) * 1000000) / ((long) i); + } + + public long b(long j) { + return e(j, this.b, this.e); + } + + @Override // c.i.a.c.x2.t + public boolean c() { + return this.d != -1 || this.g; + } + + @Override // c.i.a.c.x2.t + public t.a h(long j) { + long j2 = this.d; + if (j2 == -1 && !this.g) { + return new t.a(new u(0, this.b)); + } + long j3 = (long) this.f927c; + long j4 = (((((long) this.e) * j) / 8000000) / j3) * j3; + if (j2 != -1) { + j4 = Math.min(j4, j2 - j3); + } + long max = this.b + Math.max(j4, 0L); + long b = b(max); + u uVar = new u(b, max); + if (this.d != -1 && b < j) { + int i = this.f927c; + if (((long) i) + max < this.a) { + long j5 = max + ((long) i); + return new t.a(uVar, new u(b(j5), j5)); + } + } + return new t.a(uVar); + } + + @Override // c.i.a.c.x2.t + public long i() { + return this.f; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/d0/a.java b/app/src/main/java/c/i/a/c/x2/d0/a.java new file mode 100644 index 0000000000..f1e48f6468 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/d0/a.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.d0; + +import android.net.Uri; +import c.i.a.c.x2.h; +import c.i.a.c.x2.k; +import c.i.a.c.x2.l; +import java.util.Map; +/* compiled from: lambda */ +public final /* synthetic */ class a implements l { + public static final /* synthetic */ a a = new a(); + + @Override // c.i.a.c.x2.l + public final h[] a() { + return new h[]{new d(0)}; + } + + @Override // c.i.a.c.x2.l + public /* synthetic */ h[] b(Uri uri, Map map) { + return k.a(this, uri, map); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/d0/b.java b/app/src/main/java/c/i/a/c/x2/d0/b.java new file mode 100644 index 0000000000..dd4322698b --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/d0/b.java @@ -0,0 +1,17 @@ +package c.i.a.c.x2.d0; + +import c.i.a.c.x2.a; +import c.i.a.c.x2.o; +/* compiled from: lambda */ +public final /* synthetic */ class b implements a.d { + public final /* synthetic */ o a; + + public /* synthetic */ b(o oVar) { + this.a = oVar; + } + + @Override // c.i.a.c.x2.a.d + public final long a(long j) { + return this.a.g(j); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/d0/c.java b/app/src/main/java/c/i/a/c/x2/d0/c.java new file mode 100644 index 0000000000..df508cb5c4 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/d0/c.java @@ -0,0 +1,96 @@ +package c.i.a.c.x2.d0; + +import c.c.a.a0.d; +import c.i.a.c.f3.x; +import c.i.a.c.x2.a; +import c.i.a.c.x2.i; +import c.i.a.c.x2.m; +import c.i.a.c.x2.o; +import com.discord.api.permission.Permission; +import java.io.IOException; +import java.util.Objects; +/* compiled from: FlacBinarySearchSeeker */ +public final class c extends c.i.a.c.x2.a { + + /* compiled from: FlacBinarySearchSeeker */ + public static final class b implements a.f { + public final o a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final m.a f928c = new m.a(); + + public b(o oVar, int i, a aVar) { + this.a = oVar; + this.b = i; + } + + @Override // c.i.a.c.x2.a.f + public /* synthetic */ void a() { + c.i.a.c.x2.b.a(this); + } + + @Override // c.i.a.c.x2.a.f + public a.e b(i iVar, long j) throws IOException { + long position = iVar.getPosition(); + long c2 = c(iVar); + long f = iVar.f(); + iVar.g(Math.max(6, this.a.f1033c)); + long c3 = c(iVar); + return (c2 > j || c3 <= j) ? c3 <= j ? a.e.c(c3, iVar.f()) : a.e.a(c2, position) : a.e.b(f); + } + + public final long c(i iVar) throws IOException { + while (iVar.f() < iVar.b() - 6) { + o oVar = this.a; + int i = this.b; + m.a aVar = this.f928c; + long f = iVar.f(); + byte[] bArr = new byte[2]; + boolean z2 = false; + iVar.o(bArr, 0, 2); + if ((((bArr[0] & 255) << 8) | (bArr[1] & 255)) != i) { + iVar.k(); + iVar.g((int) (f - iVar.getPosition())); + } else { + x xVar = new x(16); + System.arraycopy(bArr, 0, xVar.a, 0, 2); + xVar.D(d.x1(iVar, xVar.a, 2, 14)); + iVar.k(); + iVar.g((int) (f - iVar.getPosition())); + z2 = m.b(xVar, oVar, i, aVar); + } + if (z2) { + break; + } + iVar.g(1); + } + if (iVar.f() < iVar.b() - 6) { + return this.f928c.a; + } + iVar.g((int) (iVar.b() - iVar.f())); + return this.a.j; + } + } + + /* JADX WARNING: Illegal instructions before constructor call */ + public c(o oVar, int i, long j, long j2) { + super(r1, r2, r3, 0, r7, j, j2, r5 + r9, Math.max(6, oVar.f1033c)); + long j3; + long j4; + Objects.requireNonNull(oVar); + b bVar = new b(oVar); + b bVar2 = new b(oVar, i, null); + long d = oVar.d(); + long j5 = oVar.j; + int i2 = oVar.d; + if (i2 > 0) { + j4 = (((long) i2) + ((long) oVar.f1033c)) / 2; + j3 = 1; + } else { + int i3 = oVar.a; + j4 = ((((i3 != oVar.b || i3 <= 0) ? Permission.SEND_TTS_MESSAGES : (long) i3) * ((long) oVar.g)) * ((long) oVar.h)) / 8; + j3 = 64; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/d0/d.java b/app/src/main/java/c/i/a/c/x2/d0/d.java new file mode 100644 index 0000000000..377ec2514c --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/d0/d.java @@ -0,0 +1,382 @@ +package c.i.a.c.x2.d0; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import c.i.a.c.x2.h; +import c.i.a.c.x2.i; +import c.i.a.c.x2.j; +import c.i.a.c.x2.m; +import c.i.a.c.x2.n; +import c.i.a.c.x2.o; +import c.i.a.c.x2.s; +import c.i.a.c.x2.t; +import c.i.a.c.x2.w; +import c.i.b.a.c; +import com.google.android.exoplayer2.ParserException; +import com.google.android.exoplayer2.metadata.Metadata; +import com.google.android.exoplayer2.metadata.flac.PictureFrame; +import java.io.IOException; +import java.util.Arrays; +import java.util.Collections; +import java.util.Objects; +/* compiled from: FlacExtractor */ +public final class d implements h { + public final byte[] a = new byte[42]; + public final x b = new x(new byte[32768], 0); + + /* renamed from: c reason: collision with root package name */ + public final boolean f929c; + public final m.a d; + public j e; + public w f; + public int g; + @Nullable + public Metadata h; + public o i; + public int j; + public int k; + public c l; + public int m; + public long n; + + static { + a aVar = a.a; + } + + public d(int i) { + this.f929c = (i & 1) == 0 ? false : true; + this.d = new m.a(); + this.g = 0; + } + + public final void a() { + o oVar = this.i; + int i = e0.a; + this.f.d((this.n * 1000000) / ((long) oVar.e), 1, this.m, 0, null); + } + + @Override // c.i.a.c.x2.h + public boolean b(i iVar) throws IOException { + c.c.a.a0.d.w1(iVar, false); + byte[] bArr = new byte[4]; + iVar.o(bArr, 0, 4); + return (((((((long) bArr[0]) & 255) << 24) | ((((long) bArr[1]) & 255) << 16)) | ((((long) bArr[2]) & 255) << 8)) | (255 & ((long) bArr[3]))) == 1716281667; + } + + /* JADX DEBUG: Multi-variable search result rejected for r27v0, resolved type: c.i.a.c.x2.i */ + /* JADX DEBUG: Multi-variable search result rejected for r6v28, resolved type: boolean */ + /* JADX WARN: Multi-variable type inference failed */ + /* JADX WARNING: Unknown variable types count: 1 */ + @Override // c.i.a.c.x2.h + public int e(i iVar, s sVar) throws IOException { + boolean z2; + o oVar; + t tVar; + long j; + boolean z3; + int i = this.g; + boolean z4 = true; + ?? r4 = 0; + if (i == 0) { + iVar.k(); + long f = iVar.f(); + Metadata w1 = c.c.a.a0.d.w1(iVar, !this.f929c); + iVar.l((int) (iVar.f() - f)); + this.h = w1; + this.g = 1; + return 0; + } else if (i != 1) { + int i2 = 4; + int i3 = 3; + if (i != 2) { + int i4 = 7; + if (i != 3) { + long j2 = 0; + if (i == 4) { + iVar.k(); + byte[] bArr = new byte[2]; + iVar.o(bArr, 0, 2); + int i5 = (bArr[1] & 255) | ((bArr[0] & 255) << 8); + if ((i5 >> 2) == 16382) { + iVar.k(); + this.k = i5; + j jVar = this.e; + int i6 = e0.a; + long position = iVar.getPosition(); + long b = iVar.b(); + Objects.requireNonNull(this.i); + o oVar2 = this.i; + if (oVar2.k != null) { + tVar = new n(oVar2, position); + } else if (b == -1 || oVar2.j <= 0) { + tVar = new t.b(oVar2.d(), 0); + } else { + c cVar = new c(oVar2, this.k, position, b); + this.l = cVar; + tVar = cVar.a; + } + jVar.a(tVar); + this.g = 5; + return 0; + } + iVar.k(); + throw ParserException.a("First frame does not start with sync code.", null); + } else if (i == 5) { + Objects.requireNonNull(this.f); + Objects.requireNonNull(this.i); + c cVar2 = this.l; + if (cVar2 != null && cVar2.b()) { + return this.l.a(iVar, sVar); + } + if (this.n == -1) { + o oVar3 = this.i; + iVar.k(); + iVar.g(1); + byte[] bArr2 = new byte[1]; + iVar.o(bArr2, 0, 1); + boolean z5 = (bArr2[0] & 1) == 1; + iVar.g(2); + if (!z5) { + i4 = 6; + } + x xVar = new x(i4); + xVar.D(c.c.a.a0.d.x1(iVar, xVar.a, 0, i4)); + iVar.k(); + try { + long z6 = xVar.z(); + if (!z5) { + z6 *= (long) oVar3.b; + } + j2 = z6; + } catch (NumberFormatException unused) { + z4 = false; + } + if (z4) { + this.n = j2; + return 0; + } + throw ParserException.a(null, null); + } + x xVar2 = this.b; + int i7 = xVar2.f792c; + if (i7 < 32768) { + int read = iVar.read(xVar2.a, i7, 32768 - i7); + if (read != -1) { + z4 = false; + } + if (!z4) { + this.b.D(i7 + read); + } else if (this.b.a() == 0) { + a(); + return -1; + } + } else { + z4 = false; + } + x xVar3 = this.b; + int i8 = xVar3.b; + int i9 = this.m; + int i10 = this.j; + if (i9 < i10) { + xVar3.F(Math.min(i10 - i9, xVar3.a())); + } + x xVar4 = this.b; + Objects.requireNonNull(this.i); + int i11 = xVar4.b; + while (true) { + if (i11 <= xVar4.f792c - 16) { + xVar4.E(i11); + if (m.b(xVar4, this.i, this.k, this.d)) { + xVar4.E(i11); + j = this.d.a; + break; + } + i11++; + } else { + if (z4) { + while (true) { + int i12 = xVar4.f792c; + if (i11 > i12 - this.j) { + xVar4.E(i12); + break; + } + xVar4.E(i11); + try { + z3 = m.b(xVar4, this.i, this.k, this.d); + } catch (IndexOutOfBoundsException unused2) { + z3 = false; + } + if (xVar4.b > xVar4.f792c) { + z3 = false; + } + if (z3) { + xVar4.E(i11); + j = this.d.a; + break; + } + i11++; + } + } else { + xVar4.E(i11); + } + j = -1; + } + } + x xVar5 = this.b; + int i13 = xVar5.b - i8; + xVar5.E(i8); + this.f.c(this.b, i13); + this.m += i13; + if (j != -1) { + a(); + this.m = 0; + this.n = j; + } + if (this.b.a() >= 16) { + return 0; + } + int a = this.b.a(); + x xVar6 = this.b; + byte[] bArr3 = xVar6.a; + System.arraycopy(bArr3, xVar6.b, bArr3, 0, a); + this.b.E(0); + this.b.D(a); + return 0; + } else { + throw new IllegalStateException(); + } + } else { + o oVar4 = this.i; + boolean z7 = false; + while (!z7) { + iVar.k(); + c.i.a.c.f3.w wVar = new c.i.a.c.f3.w(new byte[i2]); + byte[] bArr4 = wVar.a; + int i14 = r4 == true ? 1 : 0; + int i15 = r4 == true ? 1 : 0; + int i16 = r4 == true ? 1 : 0; + iVar.o(bArr4, i14, i2); + boolean f2 = wVar.f(); + int g = wVar.g(i4); + int g2 = wVar.g(24) + i2; + if (g == 0) { + byte[] bArr5 = new byte[38]; + iVar.readFully(bArr5, r4, 38); + oVar4 = new o(bArr5, i2); + } else if (oVar4 == null) { + throw new IllegalArgumentException(); + } else if (g == i3) { + x xVar7 = new x(g2); + iVar.readFully(xVar7.a, r4, g2); + oVar4 = oVar4.b(c.c.a.a0.d.J1(xVar7)); + } else { + if (g == i2) { + x xVar8 = new x(g2); + iVar.readFully(xVar8.a, r4, g2); + xVar8.F(i2); + z2 = f2; + oVar = new o(oVar4.a, oVar4.b, oVar4.f1033c, oVar4.d, oVar4.e, oVar4.g, oVar4.h, oVar4.j, oVar4.k, oVar4.f(o.a(Arrays.asList(c.c.a.a0.d.L1(xVar8, r4, r4).a), Collections.emptyList()))); + } else { + z2 = f2; + if (g == 6) { + x xVar9 = new x(g2); + iVar.readFully(xVar9.a, 0, g2); + xVar9.F(i2); + int f3 = xVar9.f(); + String r = xVar9.r(xVar9.f(), c.a); + String q = xVar9.q(xVar9.f()); + int f4 = xVar9.f(); + int f5 = xVar9.f(); + int f6 = xVar9.f(); + int f7 = xVar9.f(); + int f8 = xVar9.f(); + byte[] bArr6 = new byte[f8]; + System.arraycopy(xVar9.a, xVar9.b, bArr6, 0, f8); + xVar9.b += f8; + oVar = new o(oVar4.a, oVar4.b, oVar4.f1033c, oVar4.d, oVar4.e, oVar4.g, oVar4.h, oVar4.j, oVar4.k, oVar4.f(o.a(Collections.emptyList(), Collections.singletonList(new PictureFrame(f3, r, q, f4, f5, f6, f7, bArr6))))); + } else { + iVar.l(g2); + int i17 = e0.a; + this.i = oVar4; + z7 = z2; + r4 = 0; + i2 = 4; + i3 = 3; + i4 = 7; + } + } + oVar4 = oVar; + int i17 = e0.a; + this.i = oVar4; + z7 = z2; + r4 = 0; + i2 = 4; + i3 = 3; + i4 = 7; + } + z2 = f2; + int i17 = e0.a; + this.i = oVar4; + z7 = z2; + r4 = 0; + i2 = 4; + i3 = 3; + i4 = 7; + } + Objects.requireNonNull(this.i); + this.j = Math.max(this.i.f1033c, 6); + w wVar2 = this.f; + int i18 = e0.a; + wVar2.e(this.i.e(this.a, this.h)); + this.g = 4; + return 0; + } + } else { + byte[] bArr7 = new byte[4]; + iVar.readFully(bArr7, 0, 4); + if ((((((long) bArr7[0]) & 255) << 24) | ((((long) bArr7[1]) & 255) << 16) | ((((long) bArr7[2]) & 255) << 8) | (((long) bArr7[3]) & 255)) == 1716281667) { + this.g = 3; + return 0; + } + throw ParserException.a("Failed to read FLAC stream marker.", null); + } + } else { + byte[] bArr8 = this.a; + iVar.o(bArr8, 0, bArr8.length); + iVar.k(); + this.g = 2; + return 0; + } + } + + @Override // c.i.a.c.x2.h + public void f(j jVar) { + this.e = jVar; + this.f = jVar.p(0, 1); + jVar.j(); + } + + @Override // c.i.a.c.x2.h + public void g(long j, long j2) { + long j3 = 0; + if (j == 0) { + this.g = 0; + } else { + c cVar = this.l; + if (cVar != null) { + cVar.e(j2); + } + } + if (j2 != 0) { + j3 = -1; + } + this.n = j3; + this.m = 0; + this.b.A(0); + } + + @Override // c.i.a.c.x2.h + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/e.java b/app/src/main/java/c/i/a/c/x2/e.java new file mode 100644 index 0000000000..0175fdfc09 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/e.java @@ -0,0 +1,208 @@ +package c.i.a.c.x2; + +import c.i.a.c.e3.h; +import c.i.a.c.f3.e0; +import c.i.a.c.i1; +import java.io.EOFException; +import java.io.IOException; +import java.io.InterruptedIOException; +import java.util.Arrays; +/* compiled from: DefaultExtractorInput */ +public final class e implements i { + public final byte[] a = new byte[4096]; + public final h b; + + /* renamed from: c reason: collision with root package name */ + public final long f930c; + public long d; + public byte[] e = new byte[65536]; + public int f; + public int g; + + static { + i1.a("goog.exo.extractor"); + } + + public e(h hVar, long j, long j2) { + this.b = hVar; + this.d = j; + this.f930c = j2; + } + + @Override // c.i.a.c.x2.i + public long b() { + return this.f930c; + } + + @Override // c.i.a.c.x2.i + public boolean c(byte[] bArr, int i, int i2, boolean z2) throws IOException { + int i3; + int i4 = this.g; + if (i4 == 0) { + i3 = 0; + } else { + i3 = Math.min(i4, i2); + System.arraycopy(this.e, 0, bArr, i, i3); + s(i3); + } + int i5 = i3; + while (i5 < i2 && i5 != -1) { + i5 = r(bArr, i, i2, i5, z2); + } + p(i5); + return i5 != -1; + } + + @Override // c.i.a.c.x2.i + public boolean e(byte[] bArr, int i, int i2, boolean z2) throws IOException { + if (!m(i2, z2)) { + return false; + } + System.arraycopy(this.e, this.f - i2, bArr, i, i2); + return true; + } + + @Override // c.i.a.c.x2.i + public long f() { + return this.d + ((long) this.f); + } + + @Override // c.i.a.c.x2.i + public void g(int i) throws IOException { + m(i, false); + } + + @Override // c.i.a.c.x2.i + public long getPosition() { + return this.d; + } + + @Override // c.i.a.c.x2.i + public int h(int i) throws IOException { + int min = Math.min(this.g, i); + s(min); + if (min == 0) { + byte[] bArr = this.a; + min = r(bArr, 0, Math.min(i, bArr.length), 0, true); + } + p(min); + return min; + } + + @Override // c.i.a.c.x2.i + public int i(byte[] bArr, int i, int i2) throws IOException { + int i3; + q(i2); + int i4 = this.g; + int i5 = this.f; + int i6 = i4 - i5; + if (i6 == 0) { + i3 = r(this.e, i5, i2, 0, true); + if (i3 == -1) { + return -1; + } + this.g += i3; + } else { + i3 = Math.min(i2, i6); + } + System.arraycopy(this.e, this.f, bArr, i, i3); + this.f += i3; + return i3; + } + + @Override // c.i.a.c.x2.i + public void k() { + this.f = 0; + } + + @Override // c.i.a.c.x2.i + public void l(int i) throws IOException { + int min = Math.min(this.g, i); + s(min); + int i2 = min; + while (i2 < i && i2 != -1) { + i2 = r(this.a, -i2, Math.min(i, this.a.length + i2), i2, false); + } + p(i2); + } + + @Override // c.i.a.c.x2.i + public boolean m(int i, boolean z2) throws IOException { + q(i); + int i2 = this.g - this.f; + while (i2 < i) { + i2 = r(this.e, this.f, i, i2, z2); + if (i2 == -1) { + return false; + } + this.g = this.f + i2; + } + this.f += i; + return true; + } + + @Override // c.i.a.c.x2.i + public void o(byte[] bArr, int i, int i2) throws IOException { + e(bArr, i, i2, false); + } + + public final void p(int i) { + if (i != -1) { + this.d += (long) i; + } + } + + public final void q(int i) { + int i2 = this.f + i; + byte[] bArr = this.e; + if (i2 > bArr.length) { + this.e = Arrays.copyOf(this.e, e0.h(bArr.length * 2, 65536 + i2, i2 + 524288)); + } + } + + public final int r(byte[] bArr, int i, int i2, int i3, boolean z2) throws IOException { + if (!Thread.interrupted()) { + int read = this.b.read(bArr, i + i3, i2 - i3); + if (read != -1) { + return i3 + read; + } + if (i3 == 0 && z2) { + return -1; + } + throw new EOFException(); + } + throw new InterruptedIOException(); + } + + @Override // c.i.a.c.x2.i, c.i.a.c.e3.h + public int read(byte[] bArr, int i, int i2) throws IOException { + int i3 = this.g; + int i4 = 0; + if (i3 != 0) { + int min = Math.min(i3, i2); + System.arraycopy(this.e, 0, bArr, i, min); + s(min); + i4 = min; + } + if (i4 == 0) { + i4 = r(bArr, i, i2, 0, true); + } + p(i4); + return i4; + } + + @Override // c.i.a.c.x2.i + public void readFully(byte[] bArr, int i, int i2) throws IOException { + c(bArr, i, i2, false); + } + + public final void s(int i) { + int i2 = this.g - i; + this.g = i2; + this.f = 0; + byte[] bArr = this.e; + byte[] bArr2 = i2 < bArr.length - 524288 ? new byte[(65536 + i2)] : bArr; + System.arraycopy(bArr, i, bArr2, 0, i2); + this.e = bArr2; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/e0/a.java b/app/src/main/java/c/i/a/c/x2/e0/a.java new file mode 100644 index 0000000000..a27cc224e7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/e0/a.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.e0; + +import android.net.Uri; +import c.i.a.c.x2.h; +import c.i.a.c.x2.k; +import c.i.a.c.x2.l; +import java.util.Map; +/* compiled from: lambda */ +public final /* synthetic */ class a implements l { + public static final /* synthetic */ a a = new a(); + + @Override // c.i.a.c.x2.l + public final h[] a() { + return new h[]{new c()}; + } + + @Override // c.i.a.c.x2.l + public /* synthetic */ h[] b(Uri uri, Map map) { + return k.a(this, uri, map); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/e0/b.java b/app/src/main/java/c/i/a/c/x2/e0/b.java new file mode 100644 index 0000000000..7a29aa1bd1 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/e0/b.java @@ -0,0 +1,89 @@ +package c.i.a.c.x2.e0; + +import c.d.b.a.a; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.t2.l; +import c.i.a.c.x2.w; +import com.google.android.exoplayer2.ParserException; +import com.google.android.exoplayer2.extractor.flv.TagPayloadReader; +import java.util.Collections; +/* compiled from: AudioTagPayloadReader */ +public final class b extends TagPayloadReader { + public static final int[] b = {5512, 11025, 22050, 44100}; + + /* renamed from: c reason: collision with root package name */ + public boolean f931c; + public boolean d; + public int e; + + public b(w wVar) { + super(wVar); + } + + @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader + public boolean b(x xVar) throws TagPayloadReader.UnsupportedFormatException { + if (!this.f931c) { + int t = xVar.t(); + int i = (t >> 4) & 15; + this.e = i; + if (i == 2) { + int i2 = b[(t >> 2) & 3]; + j1.b bVar = new j1.b(); + bVar.k = "audio/mpeg"; + bVar.f825x = 1; + bVar.f826y = i2; + this.a.e(bVar.a()); + this.d = true; + } else if (i == 7 || i == 8) { + String str = i == 7 ? "audio/g711-alaw" : "audio/g711-mlaw"; + j1.b bVar2 = new j1.b(); + bVar2.k = str; + bVar2.f825x = 1; + bVar2.f826y = 8000; + this.a.e(bVar2.a()); + this.d = true; + } else if (i != 10) { + throw new TagPayloadReader.UnsupportedFormatException(a.f(39, "Audio format not supported: ", this.e)); + } + this.f931c = true; + } else { + xVar.F(1); + } + return true; + } + + @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader + public boolean c(x xVar, long j) throws ParserException { + if (this.e == 2) { + int a = xVar.a(); + this.a.c(xVar, a); + this.a.d(j, 1, a, 0, null); + return true; + } + int t = xVar.t(); + if (t == 0 && !this.d) { + int a2 = xVar.a(); + byte[] bArr = new byte[a2]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, a2); + xVar.b += a2; + l.b b2 = l.b(new c.i.a.c.f3.w(bArr), false); + j1.b bVar = new j1.b(); + bVar.k = "audio/mp4a-latm"; + bVar.h = b2.f890c; + bVar.f825x = b2.b; + bVar.f826y = b2.a; + bVar.m = Collections.singletonList(bArr); + this.a.e(bVar.a()); + this.d = true; + return false; + } else if (this.e == 10 && t != 1) { + return false; + } else { + int a3 = xVar.a(); + this.a.c(xVar, a3); + this.a.d(j, 1, a3, 0, null); + return true; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/e0/c.java b/app/src/main/java/c/i/a/c/x2/e0/c.java new file mode 100644 index 0000000000..6c3ecd177d --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/e0/c.java @@ -0,0 +1,200 @@ +package c.i.a.c.x2.e0; + +import c.c.a.a0.d; +import c.i.a.c.f3.x; +import c.i.a.c.x2.h; +import c.i.a.c.x2.i; +import c.i.a.c.x2.j; +import c.i.a.c.x2.r; +import c.i.a.c.x2.s; +import c.i.a.c.x2.t; +import java.io.IOException; +import org.checkerframework.checker.nullness.qual.RequiresNonNull; +/* compiled from: FlvExtractor */ +public final class c implements h { + public final x a = new x(4); + public final x b = new x(9); + + /* renamed from: c reason: collision with root package name */ + public final x f932c = new x(11); + public final x d = new x(); + public final d e = new d(); + public j f; + public int g = 1; + public boolean h; + public long i; + public int j; + public int k; + public int l; + public long m; + public boolean n; + public b o; + public e p; + + static { + a aVar = a.a; + } + + @RequiresNonNull({"extractorOutput"}) + public final void a() { + if (!this.n) { + this.f.a(new t.b(-9223372036854775807L, 0)); + this.n = true; + } + } + + @Override // c.i.a.c.x2.h + public boolean b(i iVar) throws IOException { + iVar.o(this.a.a, 0, 3); + this.a.E(0); + if (this.a.v() != 4607062) { + return false; + } + iVar.o(this.a.a, 0, 2); + this.a.E(0); + if ((this.a.y() & 250) != 0) { + return false; + } + iVar.o(this.a.a, 0, 4); + this.a.E(0); + int f = this.a.f(); + iVar.k(); + iVar.g(f); + iVar.o(this.a.a, 0, 4); + this.a.E(0); + return this.a.f() == 0; + } + + public final x c(i iVar) throws IOException { + int i = this.l; + x xVar = this.d; + byte[] bArr = xVar.a; + if (i > bArr.length) { + xVar.a = new byte[Math.max(bArr.length * 2, i)]; + xVar.f792c = 0; + xVar.b = 0; + } else { + xVar.E(0); + } + this.d.D(this.l); + iVar.readFully(this.d.a, 0, this.l); + return this.d; + } + + /* JADX WARNING: Removed duplicated region for block: B:37:0x00a6 */ + /* JADX WARNING: Removed duplicated region for block: B:38:0x00aa */ + /* JADX WARNING: Removed duplicated region for block: B:75:0x00b4 A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:82:0x0009 A[SYNTHETIC] */ + @Override // c.i.a.c.x2.h + public int e(i iVar, s sVar) throws IOException { + boolean z2; + boolean z3; + d.H(this.f); + while (true) { + int i = this.g; + boolean z4 = false; + if (i == 1) { + if (iVar.c(this.b.a, 0, 9, true)) { + this.b.E(0); + this.b.F(4); + int t = this.b.t(); + boolean z5 = (t & 4) != 0; + if ((t & 1) != 0) { + z4 = true; + } + if (z5 && this.o == null) { + this.o = new b(this.f.p(8, 1)); + } + if (z4 && this.p == null) { + this.p = new e(this.f.p(9, 2)); + } + this.f.j(); + this.j = (this.b.f() - 9) + 4; + this.g = 2; + z4 = true; + } + if (!z4) { + return -1; + } + } else if (i == 2) { + iVar.l(this.j); + this.j = 0; + this.g = 3; + } else if (i == 3) { + if (iVar.c(this.f932c.a, 0, 11, true)) { + this.f932c.E(0); + this.k = this.f932c.t(); + this.l = this.f932c.v(); + this.m = (long) this.f932c.v(); + this.m = (((long) (this.f932c.t() << 24)) | this.m) * 1000; + this.f932c.F(3); + this.g = 4; + z4 = true; + } + if (!z4) { + return -1; + } + } else if (i == 4) { + long j = this.h ? this.i + this.m : this.e.b == -9223372036854775807L ? 0 : this.m; + int i2 = this.k; + if (i2 == 8 && this.o != null) { + a(); + z3 = this.o.a(c(iVar), j); + } else if (i2 == 9 && this.p != null) { + a(); + z3 = this.p.a(c(iVar), j); + } else if (i2 != 18 || this.n) { + iVar.l(this.l); + z3 = false; + z2 = false; + if (!this.h && z3) { + this.h = true; + this.i = this.e.b != -9223372036854775807L ? -this.m : 0; + } + this.j = 4; + this.g = 2; + if (!z2) { + return 0; + } + } else { + z3 = this.e.a(c(iVar), j); + d dVar = this.e; + long j2 = dVar.b; + if (j2 != -9223372036854775807L) { + this.f.a(new r(dVar.d, dVar.f933c, j2)); + this.n = true; + } + } + z2 = true; + this.h = true; + this.i = this.e.b != -9223372036854775807L ? -this.m : 0; + this.j = 4; + this.g = 2; + if (!z2) { + } + } else { + throw new IllegalStateException(); + } + } + } + + @Override // c.i.a.c.x2.h + public void f(j jVar) { + this.f = jVar; + } + + @Override // c.i.a.c.x2.h + public void g(long j, long j2) { + if (j == 0) { + this.g = 1; + this.h = false; + } else { + this.g = 3; + } + this.j = 0; + } + + @Override // c.i.a.c.x2.h + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/e0/d.java b/app/src/main/java/c/i/a/c/x2/e0/d.java new file mode 100644 index 0000000000..0e427b879a --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/e0/d.java @@ -0,0 +1,145 @@ +package c.i.a.c.x2.e0; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.x; +import c.i.a.c.x2.g; +import com.google.android.exoplayer2.extractor.flv.TagPayloadReader; +import com.google.android.material.shadow.ShadowDrawableWrapper; +import java.util.ArrayList; +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +/* compiled from: ScriptTagPayloadReader */ +public final class d extends TagPayloadReader { + public long b = -9223372036854775807L; + + /* renamed from: c reason: collision with root package name */ + public long[] f933c = new long[0]; + public long[] d = new long[0]; + + public d() { + super(new g()); + } + + @Nullable + public static Object d(x xVar, int i) { + if (i == 0) { + return Double.valueOf(Double.longBitsToDouble(xVar.m())); + } + boolean z2 = false; + if (i == 1) { + if (xVar.t() == 1) { + z2 = true; + } + return Boolean.valueOf(z2); + } else if (i == 2) { + return f(xVar); + } else { + if (i == 3) { + HashMap hashMap = new HashMap(); + while (true) { + String f = f(xVar); + int t = xVar.t(); + if (t == 9) { + return hashMap; + } + Object d = d(xVar, t); + if (d != null) { + hashMap.put(f, d); + } + } + } else if (i == 8) { + return e(xVar); + } else { + if (i == 10) { + int w = xVar.w(); + ArrayList arrayList = new ArrayList(w); + for (int i2 = 0; i2 < w; i2++) { + Object d2 = d(xVar, xVar.t()); + if (d2 != null) { + arrayList.add(d2); + } + } + return arrayList; + } else if (i != 11) { + return null; + } else { + Date date = new Date((long) Double.valueOf(Double.longBitsToDouble(xVar.m())).doubleValue()); + xVar.F(2); + return date; + } + } + } + } + + public static HashMap e(x xVar) { + int w = xVar.w(); + HashMap hashMap = new HashMap<>(w); + for (int i = 0; i < w; i++) { + String f = f(xVar); + Object d = d(xVar, xVar.t()); + if (d != null) { + hashMap.put(f, d); + } + } + return hashMap; + } + + public static String f(x xVar) { + int y2 = xVar.y(); + int i = xVar.b; + xVar.F(y2); + return new String(xVar.a, i, y2); + } + + @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader + public boolean b(x xVar) { + return true; + } + + @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader + public boolean c(x xVar, long j) { + if (xVar.t() != 2 || !"onMetaData".equals(f(xVar)) || xVar.t() != 8) { + return false; + } + HashMap e = e(xVar); + Object obj = e.get("duration"); + if (obj instanceof Double) { + double doubleValue = ((Double) obj).doubleValue(); + if (doubleValue > ShadowDrawableWrapper.COS_45) { + this.b = (long) (doubleValue * 1000000.0d); + } + } + Object obj2 = e.get("keyframes"); + if (obj2 instanceof Map) { + Map map = (Map) obj2; + Object obj3 = map.get("filepositions"); + Object obj4 = map.get("times"); + if ((obj3 instanceof List) && (obj4 instanceof List)) { + List list = (List) obj3; + List list2 = (List) obj4; + int size = list2.size(); + this.f933c = new long[size]; + this.d = new long[size]; + int i = 0; + while (true) { + if (i >= size) { + break; + } + Object obj5 = list.get(i); + Object obj6 = list2.get(i); + if (!(obj6 instanceof Double) || !(obj5 instanceof Double)) { + break; + } + this.f933c[i] = (long) (((Double) obj6).doubleValue() * 1000000.0d); + this.d[i] = ((Double) obj5).longValue(); + i++; + } + this.f933c = new long[0]; + this.d = new long[0]; + } + } + return false; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/e0/e.java b/app/src/main/java/c/i/a/c/x2/e0/e.java new file mode 100644 index 0000000000..70542433c9 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/e0/e.java @@ -0,0 +1,92 @@ +package c.i.a.c.x2.e0; + +import c.d.b.a.a; +import c.i.a.c.f3.u; +import c.i.a.c.f3.x; +import c.i.a.c.g3.m; +import c.i.a.c.j1; +import c.i.a.c.x2.w; +import com.google.android.exoplayer2.ParserException; +import com.google.android.exoplayer2.extractor.flv.TagPayloadReader; +/* compiled from: VideoTagPayloadReader */ +public final class e extends TagPayloadReader { + public final x b = new x(u.a); + + /* renamed from: c reason: collision with root package name */ + public final x f934c = new x(4); + public int d; + public boolean e; + public boolean f; + public int g; + + public e(w wVar) { + super(wVar); + } + + @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader + public boolean b(x xVar) throws TagPayloadReader.UnsupportedFormatException { + int t = xVar.t(); + int i = (t >> 4) & 15; + int i2 = t & 15; + if (i2 == 7) { + this.g = i; + return i != 5; + } + throw new TagPayloadReader.UnsupportedFormatException(a.f(39, "Video format not supported: ", i2)); + } + + @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader + public boolean c(x xVar, long j) throws ParserException { + int t = xVar.t(); + byte[] bArr = xVar.a; + int i = xVar.b; + int i2 = i + 1; + xVar.b = i2; + int i3 = i2 + 1; + xVar.b = i3; + int i4 = (((bArr[i] & 255) << 24) >> 8) | ((bArr[i2] & 255) << 8); + xVar.b = i3 + 1; + long j2 = (((long) ((bArr[i3] & 255) | i4)) * 1000) + j; + if (t == 0 && !this.e) { + x xVar2 = new x(new byte[xVar.a()]); + xVar.e(xVar2.a, 0, xVar.a()); + m b = m.b(xVar2); + this.d = b.b; + j1.b bVar = new j1.b(); + bVar.k = "video/avc"; + bVar.h = b.f; + bVar.p = b.f794c; + bVar.q = b.d; + bVar.t = b.e; + bVar.m = b.a; + this.a.e(bVar.a()); + this.e = true; + return false; + } else if (t != 1 || !this.e) { + return false; + } else { + int i5 = this.g == 1 ? 1 : 0; + if (!this.f && i5 == 0) { + return false; + } + byte[] bArr2 = this.f934c.a; + bArr2[0] = 0; + bArr2[1] = 0; + bArr2[2] = 0; + int i6 = 4 - this.d; + int i7 = 0; + while (xVar.a() > 0) { + xVar.e(this.f934c.a, i6, this.d); + this.f934c.E(0); + int w = this.f934c.w(); + this.b.E(0); + this.a.c(this.b, 4); + this.a.c(xVar, w); + i7 = i7 + 4 + w; + } + this.a.d(j2, i5, i7, 0, null); + this.f = true; + return true; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/f.java b/app/src/main/java/c/i/a/c/x2/f.java new file mode 100644 index 0000000000..5d9d1f2be0 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/f.java @@ -0,0 +1,143 @@ +package c.i.a.c.x2; + +import android.net.Uri; +import androidx.annotation.GuardedBy; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.x2.c0.b; +import c.i.a.c.x2.e0.c; +import c.i.a.c.x2.g0.e; +import c.i.a.c.x2.i0.g; +import c.i.a.c.x2.i0.i; +import c.i.a.c.x2.k0.b0; +import c.i.a.c.x2.k0.h; +import c.i.a.c.x2.k0.h0; +import c.i.a.c.x2.k0.j; +import java.lang.reflect.Constructor; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.atomic.AtomicBoolean; +/* compiled from: DefaultExtractorsFactory */ +public final class f implements l { + public static final int[] a = {5, 4, 12, 8, 3, 10, 9, 11, 6, 2, 0, 1, 7, 14}; + public static final a b = new a(); + + /* compiled from: DefaultExtractorsFactory */ + public static final class a { + public final AtomicBoolean a = new AtomicBoolean(false); + @Nullable + @GuardedBy("extensionLoaded") + public Constructor b; + } + + @Override // c.i.a.c.x2.l + public synchronized h[] a() { + return b(Uri.EMPTY, new HashMap()); + } + + @Override // c.i.a.c.x2.l + public synchronized h[] b(Uri uri, Map> map) { + ArrayList arrayList; + arrayList = new ArrayList(14); + int N0 = d.N0(map); + if (N0 != -1) { + c(N0, arrayList); + } + int O0 = d.O0(uri); + if (!(O0 == -1 || O0 == N0)) { + c(O0, arrayList); + } + int[] iArr = a; + for (int i : iArr) { + if (!(i == N0 || i == O0)) { + c(i, arrayList); + } + } + return (h[]) arrayList.toArray(new h[arrayList.size()]); + } + + public final void c(int i, List list) { + h hVar; + Constructor constructor; + switch (i) { + case 0: + list.add(new c.i.a.c.x2.k0.f()); + return; + case 1: + list.add(new h()); + return; + case 2: + list.add(new j(0)); + return; + case 3: + list.add(new b(0)); + return; + case 4: + a aVar = b; + synchronized (aVar.a) { + hVar = null; + if (aVar.a.get()) { + constructor = aVar.b; + } else { + try { + if (Boolean.TRUE.equals(Class.forName("com.google.android.exoplayer2.ext.flac.FlacLibrary").getMethod("isAvailable", new Class[0]).invoke(null, new Object[0]))) { + aVar.b = Class.forName("com.google.android.exoplayer2.ext.flac.FlacExtractor").asSubclass(h.class).getConstructor(Integer.TYPE); + } + } catch (ClassNotFoundException unused) { + } catch (Exception e) { + throw new RuntimeException("Error instantiating FLAC extension", e); + } + aVar.a.set(true); + constructor = aVar.b; + } + } + if (constructor != null) { + try { + hVar = (h) constructor.newInstance(0); + } catch (Exception e2) { + throw new IllegalStateException("Unexpected error creating FLAC extractor", e2); + } + } + if (hVar != null) { + list.add(hVar); + return; + } else { + list.add(new c.i.a.c.x2.d0.d(0)); + return; + } + case 5: + list.add(new c()); + return; + case 6: + list.add(new e(0)); + return; + case 7: + list.add(new c.i.a.c.x2.h0.f(0)); + return; + case 8: + list.add(new g(0)); + list.add(new i(0)); + return; + case 9: + list.add(new c.i.a.c.x2.j0.d()); + return; + case 10: + list.add(new b0()); + return; + case 11: + list.add(new h0(1, 0, 112800)); + return; + case 12: + list.add(new c.i.a.c.x2.l0.b()); + return; + case 13: + default: + return; + case 14: + list.add(new c.i.a.c.x2.f0.a()); + return; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/f0/a.java b/app/src/main/java/c/i/a/c/x2/f0/a.java new file mode 100644 index 0000000000..5fdf8806fe --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/f0/a.java @@ -0,0 +1,272 @@ +package c.i.a.c.x2.f0; + +import android.util.Log; +import androidx.annotation.Nullable; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.x2.f0.b; +import c.i.a.c.x2.h; +import c.i.a.c.x2.i; +import c.i.a.c.x2.i0.l; +import c.i.a.c.x2.j; +import c.i.a.c.x2.s; +import c.i.a.c.x2.t; +import c.i.a.c.x2.w; +import com.google.android.exoplayer2.ParserException; +import com.google.android.exoplayer2.metadata.Metadata; +import com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata; +import java.io.IOException; +import java.util.Objects; +import org.xmlpull.v1.XmlPullParserException; +/* compiled from: JpegExtractor */ +public final class a implements h { + public final x a = new x(6); + public j b; + + /* renamed from: c reason: collision with root package name */ + public int f935c; + public int d; + public int e; + public long f = -1; + @Nullable + public MotionPhotoMetadata g; + public i h; + public c i; + @Nullable + public c.i.a.c.x2.i0.i j; + + public final void a() { + c(new Metadata.Entry[0]); + j jVar = this.b; + Objects.requireNonNull(jVar); + jVar.j(); + this.b.a(new t.b(-9223372036854775807L, 0)); + this.f935c = 6; + } + + @Override // c.i.a.c.x2.h + public boolean b(i iVar) throws IOException { + if (d(iVar) != 65496) { + return false; + } + int d = d(iVar); + this.d = d; + if (d == 65504) { + this.a.A(2); + iVar.o(this.a.a, 0, 2); + iVar.g(this.a.y() - 2); + this.d = d(iVar); + } + if (this.d != 65505) { + return false; + } + iVar.g(2); + this.a.A(6); + iVar.o(this.a.a, 0, 6); + return this.a.u() == 1165519206 && this.a.y() == 0; + } + + public final void c(Metadata.Entry... entryArr) { + j jVar = this.b; + Objects.requireNonNull(jVar); + w p = jVar.p(1024, 4); + j1.b bVar = new j1.b(); + bVar.j = "image/jpeg"; + bVar.i = new Metadata(entryArr); + p.e(bVar.a()); + } + + public final int d(i iVar) throws IOException { + this.a.A(2); + iVar.o(this.a.a, 0, 2); + return this.a.y(); + } + + @Override // c.i.a.c.x2.h + public int e(i iVar, s sVar) throws IOException { + String str; + int i; + String str2; + b bVar; + long j; + int i2 = this.f935c; + if (i2 == 0) { + this.a.A(2); + iVar.readFully(this.a.a, 0, 2); + int y2 = this.a.y(); + this.d = y2; + if (y2 == 65498) { + if (this.f != -1) { + this.f935c = 4; + } else { + a(); + } + } else if ((y2 < 65488 || y2 > 65497) && y2 != 65281) { + this.f935c = 1; + } + return 0; + } else if (i2 == 1) { + this.a.A(2); + iVar.readFully(this.a.a, 0, 2); + this.e = this.a.y() - 2; + this.f935c = 2; + return 0; + } else if (i2 == 2) { + if (this.d == 65505) { + int i3 = this.e; + byte[] bArr = new byte[i3]; + iVar.readFully(bArr, 0, i3); + if (this.g == null) { + MotionPhotoMetadata motionPhotoMetadata = null; + if (i3 + 0 == 0) { + str = null; + i = 0; + } else { + i = 0; + while (i < i3 && bArr[i] != 0) { + i++; + } + str = e0.m(bArr, 0, i + 0); + if (i < i3) { + i++; + } + } + if ("http://ns.adobe.com/xap/1.0/".equals(str)) { + if (i3 - i == 0) { + str2 = null; + } else { + int i4 = i; + while (i4 < i3 && bArr[i4] != 0) { + i4++; + } + str2 = e0.m(bArr, i, i4 - i); + } + if (str2 != null) { + long b = iVar.b(); + if (b != -1) { + try { + bVar = e.a(str2); + } catch (ParserException | NumberFormatException | XmlPullParserException unused) { + Log.w("MotionPhotoXmpParser", "Ignoring unexpected XMP metadata"); + bVar = null; + } + if (bVar != null && bVar.b.size() >= 2) { + long j2 = -1; + long j3 = -1; + long j4 = -1; + long j5 = -1; + boolean z2 = false; + for (int size = bVar.b.size() - 1; size >= 0; size--) { + b.a aVar = bVar.b.get(size); + z2 |= "video/mp4".equals(aVar.a); + if (size == 0) { + j = b - aVar.f936c; + b = 0; + } else { + long j6 = b - aVar.b; + j = b; + b = j6; + } + if (z2 && b != j) { + j5 = j - b; + j4 = b; + z2 = false; + } + if (size == 0) { + j3 = j; + j2 = b; + } + } + if (!(j4 == -1 || j5 == -1 || j2 == -1 || j3 == -1)) { + motionPhotoMetadata = new MotionPhotoMetadata(j2, j3, bVar.a, j4, j5); + } + } + } + this.g = motionPhotoMetadata; + if (motionPhotoMetadata != null) { + this.f = motionPhotoMetadata.l; + } + } + } + } + } else { + iVar.l(this.e); + } + this.f935c = 0; + return 0; + } else if (i2 == 4) { + long position = iVar.getPosition(); + long j7 = this.f; + if (position != j7) { + sVar.a = j7; + return 1; + } + if (!iVar.e(this.a.a, 0, 1, true)) { + a(); + } else { + iVar.k(); + if (this.j == null) { + this.j = new c.i.a.c.x2.i0.i(0); + } + c cVar = new c(iVar, this.f); + this.i = cVar; + if (l.a(cVar, false, (this.j.b & 2) != 0)) { + c.i.a.c.x2.i0.i iVar2 = this.j; + long j8 = this.f; + j jVar = this.b; + Objects.requireNonNull(jVar); + iVar2.f974s = new d(j8, jVar); + MotionPhotoMetadata motionPhotoMetadata2 = this.g; + Objects.requireNonNull(motionPhotoMetadata2); + c(motionPhotoMetadata2); + this.f935c = 5; + } else { + a(); + } + } + return 0; + } else if (i2 == 5) { + if (this.i == null || iVar != this.h) { + this.h = iVar; + this.i = new c(iVar, this.f); + } + c.i.a.c.x2.i0.i iVar3 = this.j; + Objects.requireNonNull(iVar3); + int e = iVar3.e(this.i, sVar); + if (e == 1) { + sVar.a += this.f; + } + return e; + } else if (i2 == 6) { + return -1; + } else { + throw new IllegalStateException(); + } + } + + @Override // c.i.a.c.x2.h + public void f(j jVar) { + this.b = jVar; + } + + @Override // c.i.a.c.x2.h + public void g(long j, long j2) { + if (j == 0) { + this.f935c = 0; + this.j = null; + } else if (this.f935c == 5) { + c.i.a.c.x2.i0.i iVar = this.j; + Objects.requireNonNull(iVar); + iVar.g(j, j2); + } + } + + @Override // c.i.a.c.x2.h + public void release() { + c.i.a.c.x2.i0.i iVar = this.j; + if (iVar != null) { + Objects.requireNonNull(iVar); + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/f0/b.java b/app/src/main/java/c/i/a/c/x2/f0/b.java new file mode 100644 index 0000000000..80b90cd81a --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/f0/b.java @@ -0,0 +1,28 @@ +package c.i.a.c.x2.f0; + +import java.util.List; +/* compiled from: MotionPhotoDescription */ +public final class b { + public final long a; + public final List b; + + /* compiled from: MotionPhotoDescription */ + public static final class a { + public final String a; + public final long b; + + /* renamed from: c reason: collision with root package name */ + public final long f936c; + + public a(String str, String str2, long j, long j2) { + this.a = str; + this.b = j; + this.f936c = j2; + } + } + + public b(long j, List list) { + this.a = j; + this.b = list; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/f0/c.java b/app/src/main/java/c/i/a/c/x2/f0/c.java new file mode 100644 index 0000000000..33335e4bcc --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/f0/c.java @@ -0,0 +1,85 @@ +package c.i.a.c.x2.f0; + +import c.c.a.a0.d; +import c.i.a.c.x2.i; +/* compiled from: StartOffsetExtractorInput */ +public final class c implements i { + public final i a; + public final long b; + + public c(i iVar, long j) { + this.a = iVar; + d.j(iVar.getPosition() >= j); + this.b = j; + } + + @Override // c.i.a.c.x2.i + public long b() { + return this.a.b() - this.b; + } + + @Override // c.i.a.c.x2.i + public boolean c(byte[] bArr, int i, int i2, boolean z2) { + return this.a.c(bArr, i, i2, z2); + } + + @Override // c.i.a.c.x2.i + public boolean e(byte[] bArr, int i, int i2, boolean z2) { + return this.a.e(bArr, i, i2, z2); + } + + @Override // c.i.a.c.x2.i + public long f() { + return this.a.f() - this.b; + } + + @Override // c.i.a.c.x2.i + public void g(int i) { + this.a.g(i); + } + + @Override // c.i.a.c.x2.i + public long getPosition() { + return this.a.getPosition() - this.b; + } + + @Override // c.i.a.c.x2.i + public int h(int i) { + return this.a.h(i); + } + + @Override // c.i.a.c.x2.i + public int i(byte[] bArr, int i, int i2) { + return this.a.i(bArr, i, i2); + } + + @Override // c.i.a.c.x2.i + public void k() { + this.a.k(); + } + + @Override // c.i.a.c.x2.i + public void l(int i) { + this.a.l(i); + } + + @Override // c.i.a.c.x2.i + public boolean m(int i, boolean z2) { + return this.a.m(i, z2); + } + + @Override // c.i.a.c.x2.i + public void o(byte[] bArr, int i, int i2) { + this.a.o(bArr, i, i2); + } + + @Override // c.i.a.c.x2.i, c.i.a.c.e3.h + public int read(byte[] bArr, int i, int i2) { + return this.a.read(bArr, i, i2); + } + + @Override // c.i.a.c.x2.i + public void readFully(byte[] bArr, int i, int i2) { + this.a.readFully(bArr, i, i2); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/f0/d.java b/app/src/main/java/c/i/a/c/x2/f0/d.java new file mode 100644 index 0000000000..e590e3b256 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/f0/d.java @@ -0,0 +1,62 @@ +package c.i.a.c.x2.f0; + +import c.i.a.c.x2.j; +import c.i.a.c.x2.t; +import c.i.a.c.x2.u; +import c.i.a.c.x2.w; +/* compiled from: StartOffsetExtractorOutput */ +public final class d implements j { + public final long i; + public final j j; + + /* compiled from: StartOffsetExtractorOutput */ + public class a implements t { + public final /* synthetic */ t a; + + public a(t tVar) { + this.a = tVar; + } + + @Override // c.i.a.c.x2.t + public boolean c() { + return this.a.c(); + } + + @Override // c.i.a.c.x2.t + public t.a h(long j) { + t.a h = this.a.h(j); + u uVar = h.a; + long j2 = uVar.b; + long j3 = uVar.f1036c; + long j4 = d.this.i; + u uVar2 = new u(j2, j3 + j4); + u uVar3 = h.b; + return new t.a(uVar2, new u(uVar3.b, uVar3.f1036c + j4)); + } + + @Override // c.i.a.c.x2.t + public long i() { + return this.a.i(); + } + } + + public d(long j, j jVar) { + this.i = j; + this.j = jVar; + } + + @Override // c.i.a.c.x2.j + public void a(t tVar) { + this.j.a(new a(tVar)); + } + + @Override // c.i.a.c.x2.j + public void j() { + this.j.j(); + } + + @Override // c.i.a.c.x2.j + public w p(int i, int i2) { + return this.j.p(i, i2); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/f0/e.java b/app/src/main/java/c/i/a/c/x2/f0/e.java new file mode 100644 index 0000000000..6f260e3702 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/f0/e.java @@ -0,0 +1,146 @@ +package c.i.a.c.x2.f0; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.x2.f0.b; +import c.i.a.f.e.o.f; +import c.i.b.b.a; +import c.i.b.b.h0; +import c.i.b.b.n; +import c.i.b.b.p; +import com.google.android.exoplayer2.ParserException; +import java.io.IOException; +import java.io.StringReader; +import java.util.Arrays; +import org.xmlpull.v1.XmlPullParser; +import org.xmlpull.v1.XmlPullParserException; +import org.xmlpull.v1.XmlPullParserFactory; +/* compiled from: XmpMotionPhotoDescriptionParser */ +public final class e { + public static final String[] a = {"Camera:MotionPhoto", "GCamera:MotionPhoto", "Camera:MicroVideo", "GCamera:MicroVideo"}; + public static final String[] b = {"Camera:MotionPhotoPresentationTimestampUs", "GCamera:MotionPhotoPresentationTimestampUs", "Camera:MicroVideoPresentationTimestampUs", "GCamera:MicroVideoPresentationTimestampUs"}; + + /* renamed from: c reason: collision with root package name */ + public static final String[] f937c = {"Camera:MicroVideoOffset", "GCamera:MicroVideoOffset"}; + + /* JADX WARNING: Code restructure failed: missing block: B:22:0x0069, code lost: + if (r10 == -1) goto L_0x006b; + */ + /* JADX WARNING: Code restructure failed: missing block: B:23:0x006b, code lost: + r10 = -9223372036854775807L; + */ + @Nullable + public static b a(String str) throws XmlPullParserException, IOException { + boolean z2; + long j; + XmlPullParser newPullParser = XmlPullParserFactory.newInstance().newPullParser(); + newPullParser.setInput(new StringReader(str)); + newPullParser.next(); + if (d.X0(newPullParser, "x:xmpmeta")) { + a aVar = p.j; + p pVar = h0.k; + long j2 = -9223372036854775807L; + do { + newPullParser.next(); + if (d.X0(newPullParser, "rdf:Description")) { + String[] strArr = a; + int length = strArr.length; + int i = 0; + while (true) { + if (i >= length) { + break; + } + String q0 = d.q0(newPullParser, strArr[i]); + if (q0 == null) { + i++; + } else if (Integer.parseInt(q0) == 1) { + z2 = true; + } + } + z2 = false; + if (!z2) { + return null; + } + String[] strArr2 = b; + int length2 = strArr2.length; + int i2 = 0; + while (true) { + if (i2 >= length2) { + break; + } + String q02 = d.q0(newPullParser, strArr2[i2]); + if (q02 != null) { + j = Long.parseLong(q02); + } else { + i2++; + } + } + String[] strArr3 = f937c; + int length3 = strArr3.length; + int i3 = 0; + while (true) { + if (i3 >= length3) { + a aVar2 = p.j; + pVar = h0.k; + break; + } + String q03 = d.q0(newPullParser, strArr3[i3]); + if (q03 != null) { + long parseLong = Long.parseLong(q03); + b.a aVar3 = new b.a("image/jpeg", "Primary", 0, 0); + b.a aVar4 = new b.a("video/mp4", "MotionPhoto", parseLong, 0); + a aVar5 = p.j; + pVar = p.m(aVar3, aVar4); + break; + } + i3++; + } + j2 = j; + } else if (d.X0(newPullParser, "Container:Directory")) { + pVar = b(newPullParser, "Container", "Item"); + } else if (d.X0(newPullParser, "GContainer:Directory")) { + pVar = b(newPullParser, "GContainer", "GContainerItem"); + } + } while (!d.Q0(newPullParser, "x:xmpmeta")); + if (pVar.isEmpty()) { + return null; + } + return new b(j2, pVar); + } + throw ParserException.a("Couldn't find xmp metadata", null); + } + + /* JADX DEBUG: Type inference failed for r0v2. Raw type applied. Possible types: c.i.b.b.p, c.i.b.b.p */ + public static p b(XmlPullParser xmlPullParser, String str, String str2) throws XmlPullParserException, IOException { + a aVar = p.j; + f.v(4, "initialCapacity"); + Object[] objArr = new Object[4]; + String concat = str.concat(":Item"); + String concat2 = str.concat(":Directory"); + int i = 0; + do { + xmlPullParser.next(); + if (d.X0(xmlPullParser, concat)) { + String concat3 = str2.concat(":Mime"); + String concat4 = str2.concat(":Semantic"); + String concat5 = str2.concat(":Length"); + String concat6 = str2.concat(":Padding"); + String q0 = d.q0(xmlPullParser, concat3); + String q02 = d.q0(xmlPullParser, concat4); + String q03 = d.q0(xmlPullParser, concat5); + String q04 = d.q0(xmlPullParser, concat6); + if (q0 == null || q02 == null) { + return h0.k; + } + b.a aVar2 = new b.a(q0, q02, q03 != null ? Long.parseLong(q03) : 0, q04 != null ? Long.parseLong(q04) : 0); + int i2 = i + 1; + if (objArr.length < i2) { + objArr = Arrays.copyOf(objArr, n.b.a(objArr.length, i2)); + } + objArr[i] = aVar2; + i = i2; + } + } while (!d.Q0(xmlPullParser, concat2)); + return p.l(objArr, i); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/g.java b/app/src/main/java/c/i/a/c/x2/g.java new file mode 100644 index 0000000000..25774b7d7b --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/g.java @@ -0,0 +1,48 @@ +package c.i.a.c.x2; + +import androidx.annotation.Nullable; +import c.i.a.c.e3.h; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.x2.w; +import java.io.EOFException; +import java.io.IOException; +/* compiled from: DummyTrackOutput */ +public final class g implements w { + public final byte[] a = new byte[4096]; + + @Override // c.i.a.c.x2.w + public int a(h hVar, int i, boolean z2, int i2) throws IOException { + int read = hVar.read(this.a, 0, Math.min(this.a.length, i)); + if (read != -1) { + return read; + } + if (z2) { + return -1; + } + throw new EOFException(); + } + + @Override // c.i.a.c.x2.w + public /* synthetic */ int b(h hVar, int i, boolean z2) { + return v.a(this, hVar, i, z2); + } + + @Override // c.i.a.c.x2.w + public /* synthetic */ void c(x xVar, int i) { + v.b(this, xVar, i); + } + + @Override // c.i.a.c.x2.w + public void d(long j, int i, int i2, int i3, @Nullable w.a aVar) { + } + + @Override // c.i.a.c.x2.w + public void e(j1 j1Var) { + } + + @Override // c.i.a.c.x2.w + public void f(x xVar, int i, int i2) { + xVar.E(xVar.b + i); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/g0/a.java b/app/src/main/java/c/i/a/c/x2/g0/a.java new file mode 100644 index 0000000000..11afe605a8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/g0/a.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.g0; + +import android.net.Uri; +import c.i.a.c.x2.h; +import c.i.a.c.x2.k; +import c.i.a.c.x2.l; +import java.util.Map; +/* compiled from: lambda */ +public final /* synthetic */ class a implements l { + public static final /* synthetic */ a a = new a(); + + @Override // c.i.a.c.x2.l + public final h[] a() { + return new h[]{new e(0)}; + } + + @Override // c.i.a.c.x2.l + public /* synthetic */ h[] b(Uri uri, Map map) { + return k.a(this, uri, map); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/g0/b.java b/app/src/main/java/c/i/a/c/x2/g0/b.java new file mode 100644 index 0000000000..0d6cf0af1f --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/g0/b.java @@ -0,0 +1,38 @@ +package c.i.a.c.x2.g0; + +import c.i.a.c.x2.i; +import java.io.IOException; +import java.util.ArrayDeque; +/* compiled from: DefaultEbmlReader */ +public final class b implements d { + public final byte[] a = new byte[8]; + public final ArrayDeque b = new ArrayDeque<>(); + + /* renamed from: c reason: collision with root package name */ + public final g f938c = new g(); + public c d; + public int e; + public int f; + public long g; + + /* compiled from: DefaultEbmlReader */ + /* renamed from: c.i.a.c.x2.g0.b$b reason: collision with other inner class name */ + public static final class C0096b { + public final int a; + public final long b; + + public C0096b(int i, long j, a aVar) { + this.a = i; + this.b = j; + } + } + + public final long a(i iVar, int i) throws IOException { + iVar.readFully(this.a, 0, i); + long j = 0; + for (int i2 = 0; i2 < i; i2++) { + j = (j << 8) | ((long) (this.a[i2] & 255)); + } + return j; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/g0/c.java b/app/src/main/java/c/i/a/c/x2/g0/c.java new file mode 100644 index 0000000000..eefb9046fb --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/g0/c.java @@ -0,0 +1,4 @@ +package c.i.a.c.x2.g0; +/* compiled from: EbmlProcessor */ +public interface c { +} diff --git a/app/src/main/java/c/i/a/c/x2/g0/d.java b/app/src/main/java/c/i/a/c/x2/g0/d.java new file mode 100644 index 0000000000..ce00e5ef6e --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/g0/d.java @@ -0,0 +1,4 @@ +package c.i.a.c.x2.g0; +/* compiled from: EbmlReader */ +public interface d { +} diff --git a/app/src/main/java/c/i/a/c/x2/g0/e.java b/app/src/main/java/c/i/a/c/x2/g0/e.java new file mode 100644 index 0000000000..4031a411ad --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/g0/e.java @@ -0,0 +1,3725 @@ +package c.i.a.c.x2.g0; + +import android.util.Log; +import android.util.Pair; +import android.util.SparseArray; +import androidx.annotation.CallSuper; +import androidx.annotation.Nullable; +import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.r; +import c.i.a.c.f3.u; +import c.i.a.c.f3.x; +import c.i.a.c.g3.m; +import c.i.a.c.g3.n; +import c.i.a.c.g3.o; +import c.i.a.c.g3.q; +import c.i.a.c.j1; +import c.i.a.c.t2.l; +import c.i.a.c.x0; +import c.i.a.c.x2.g0.b; +import c.i.a.c.x2.h; +import c.i.a.c.x2.i; +import c.i.a.c.x2.j; +import c.i.a.c.x2.s; +import c.i.a.c.x2.t; +import c.i.a.c.x2.w; +import c.i.b.b.p; +import com.discord.api.permission.Permission; +import com.google.android.exoplayer2.ParserException; +import com.google.android.exoplayer2.drm.DrmInitData; +import com.google.android.material.behavior.HideBottomViewOnScrollBehavior; +import com.google.android.material.snackbar.BaseTransientBottomBar; +import java.io.IOException; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.Objects; +import java.util.UUID; +import org.checkerframework.checker.nullness.qual.EnsuresNonNull; +import org.checkerframework.checker.nullness.qual.RequiresNonNull; +/* compiled from: MatroskaExtractor */ +public class e implements h { + public static final byte[] a = {49, 10, 48, 48, 58, 48, 48, 58, 48, 48, 44, 48, 48, 48, 32, 45, 45, 62, 32, 48, 48, 58, 48, 48, 58, 48, 48, 44, 48, 48, 48, 10}; + public static final byte[] b = e0.w("Format: Start, End, ReadOrder, Layer, Style, Name, MarginL, MarginR, MarginV, Effect, Text"); + + /* renamed from: c reason: collision with root package name */ + public static final byte[] f939c = {68, 105, 97, 108, 111, 103, 117, 101, 58, 32, 48, 58, 48, 48, 58, 48, 48, 58, 48, 48, 44, 48, 58, 48, 48, 58, 48, 48, 58, 48, 48, 44}; + public static final UUID d = new UUID(72057594037932032L, -9223371306706625679L); + public static final Map e; + public boolean A; + public int B; + public long C; + public boolean D; + public long E = -1; + public long F = -1; + public long G = -9223372036854775807L; + @Nullable + public r H; + @Nullable + public r I; + public boolean J; + public boolean K; + public int L; + public long M; + public long N; + public int O; + public int P; + public int[] Q; + public int R; + public int S; + public int T; + public int U; + public boolean V; + public int W; + public int X; + public int Y; + public boolean Z; + + /* renamed from: a0 reason: collision with root package name */ + public boolean f940a0; + + /* renamed from: b0 reason: collision with root package name */ + public boolean f941b0; + + /* renamed from: c0 reason: collision with root package name */ + public int f942c0; + + /* renamed from: d0 reason: collision with root package name */ + public byte f943d0; + + /* renamed from: e0 reason: collision with root package name */ + public boolean f944e0; + public final d f; + + /* renamed from: f0 reason: collision with root package name */ + public j f945f0; + public final g g; + public final SparseArray h; + public final boolean i; + public final x j; + public final x k; + public final x l; + public final x m; + public final x n; + public final x o; + public final x p; + public final x q; + public final x r; + + /* renamed from: s reason: collision with root package name */ + public final x f946s; + public ByteBuffer t; + public long u; + public long v = -1; + public long w = -9223372036854775807L; + + /* renamed from: x reason: collision with root package name */ + public long f947x = -9223372036854775807L; + + /* renamed from: y reason: collision with root package name */ + public long f948y = -9223372036854775807L; + @Nullable + + /* renamed from: z reason: collision with root package name */ + public c f949z; + + /* compiled from: MatroskaExtractor */ + public final class b implements c { + public b(a aVar) { + } + } + + /* compiled from: MatroskaExtractor */ + public static final class c { + public int A = -1; + public int B = 1000; + public int C = 200; + public float D = -1.0f; + public float E = -1.0f; + public float F = -1.0f; + public float G = -1.0f; + public float H = -1.0f; + public float I = -1.0f; + public float J = -1.0f; + public float K = -1.0f; + public float L = -1.0f; + public float M = -1.0f; + public byte[] N; + public int O = 1; + public int P = -1; + public int Q = 8000; + public long R = 0; + public long S = 0; + public c.i.a.c.x2.x T; + public boolean U; + public boolean V = true; + public String W = "eng"; + public w X; + public int Y; + public String a; + public String b; + + /* renamed from: c reason: collision with root package name */ + public int f950c; + public int d; + public int e; + public int f; + public int g; + public boolean h; + public byte[] i; + public w.a j; + public byte[] k; + public DrmInitData l; + public int m = -1; + public int n = -1; + public int o = -1; + public int p = -1; + public int q = 0; + public int r = -1; + + /* renamed from: s reason: collision with root package name */ + public float f951s = 0.0f; + public float t = 0.0f; + public float u = 0.0f; + public byte[] v = null; + public int w = -1; + + /* renamed from: x reason: collision with root package name */ + public boolean f952x = false; + + /* renamed from: y reason: collision with root package name */ + public int f953y = -1; + + /* renamed from: z reason: collision with root package name */ + public int f954z = -1; + + public c() { + } + + public c(a aVar) { + } + + @EnsuresNonNull({"codecPrivate"}) + public final byte[] a(String str) throws ParserException { + byte[] bArr = this.k; + if (bArr != null) { + return bArr; + } + String valueOf = String.valueOf(str); + throw ParserException.a(valueOf.length() != 0 ? "Missing CodecPrivate for codec ".concat(valueOf) : new String("Missing CodecPrivate for codec "), null); + } + } + + static { + a aVar = a.a; + HashMap hashMap = new HashMap(); + hashMap.put("htc_video_rotA-000", 0); + hashMap.put("htc_video_rotA-090", 90); + hashMap.put("htc_video_rotA-180", Integer.valueOf((int) BaseTransientBottomBar.ANIMATION_FADE_DURATION)); + hashMap.put("htc_video_rotA-270", 270); + e = Collections.unmodifiableMap(hashMap); + } + + public e(int i) { + b bVar = new b(); + this.f = bVar; + bVar.d = new b(null); + this.i = (i & 1) == 0; + this.g = new g(); + this.h = new SparseArray<>(); + this.l = new x(4); + this.m = new x(ByteBuffer.allocate(4).putInt(-1).array()); + this.n = new x(4); + this.j = new x(u.a); + this.k = new x(4); + this.o = new x(); + this.p = new x(); + this.q = new x(8); + this.r = new x(); + this.f946s = new x(); + this.Q = new int[1]; + } + + public static int[] i(@Nullable int[] iArr, int i) { + return iArr == null ? new int[i] : iArr.length >= i ? iArr : new int[Math.max(iArr.length * 2, i)]; + } + + public static byte[] j(long j, String str, long j2) { + d.j(j != -9223372036854775807L); + int i = (int) (j / 3600000000L); + long j3 = j - (((long) (i * 3600)) * 1000000); + int i2 = (int) (j3 / 60000000); + long j4 = j3 - (((long) (i2 * 60)) * 1000000); + int i3 = (int) (j4 / 1000000); + return e0.w(String.format(Locale.US, str, Integer.valueOf(i), Integer.valueOf(i2), Integer.valueOf(i3), Integer.valueOf((int) ((j4 - (((long) i3) * 1000000)) / j2)))); + } + + @EnsuresNonNull({"cueTimesUs", "cueClusterPositions"}) + public final void a(int i) throws ParserException { + if (this.H == null || this.I == null) { + StringBuilder sb = new StringBuilder(37); + sb.append("Element "); + sb.append(i); + sb.append(" must be in a Cues"); + throw ParserException.a(sb.toString(), null); + } + } + + @Override // c.i.a.c.x2.h + public final boolean b(i iVar) throws IOException { + long a2; + int i; + f fVar = new f(); + long b2 = iVar.b(); + long j = Permission.VIEW_CHANNEL; + int i2 = (b2 > -1 ? 1 : (b2 == -1 ? 0 : -1)); + if (i2 != 0 && b2 <= Permission.VIEW_CHANNEL) { + j = b2; + } + int i3 = (int) j; + iVar.o(fVar.a.a, 0, 4); + fVar.b = 4; + for (long u = fVar.a.u(); u != 440786851; u = ((u << 8) & -256) | ((long) (fVar.a.a[0] & 255))) { + int i4 = fVar.b + 1; + fVar.b = i4; + if (i4 == i3) { + return false; + } + iVar.o(fVar.a.a, 0, 1); + } + long a3 = fVar.a(iVar); + long j2 = (long) fVar.b; + if (a3 == Long.MIN_VALUE) { + return false; + } + if (i2 != 0 && j2 + a3 >= b2) { + return false; + } + while (true) { + int i5 = (((long) fVar.b) > (j2 + a3) ? 1 : (((long) fVar.b) == (j2 + a3) ? 0 : -1)); + if (i5 >= 0) { + return i5 == 0; + } + if (fVar.a(iVar) == Long.MIN_VALUE || (a2 = fVar.a(iVar)) < 0 || a2 > 2147483647L) { + return false; + } + if (i != 0) { + int i6 = (int) a2; + iVar.g(i6); + fVar.b += i6; + } + } + } + + @EnsuresNonNull({"currentTrack"}) + public final void c(int i) throws ParserException { + if (this.f949z == null) { + StringBuilder sb = new StringBuilder(43); + sb.append("Element "); + sb.append(i); + sb.append(" must be in a TrackEntry"); + throw ParserException.a(sb.toString(), null); + } + } + + @RequiresNonNull({"#1.output"}) + public final void d(c cVar, long j, int i, int i2, int i3) { + int i4; + byte[] bArr; + c.i.a.c.x2.x xVar = cVar.T; + if (xVar != null) { + xVar.b(cVar.X, j, i, i2, i3, cVar.j); + } else { + if ("S_TEXT/UTF8".equals(cVar.b) || "S_TEXT/ASS".equals(cVar.b)) { + if (this.P > 1) { + Log.w("MatroskaExtractor", "Skipping subtitle sample in laced block."); + } else { + long j2 = this.N; + if (j2 == -9223372036854775807L) { + Log.w("MatroskaExtractor", "Skipping subtitle sample with no duration."); + } else { + String str = cVar.b; + byte[] bArr2 = this.p.a; + str.hashCode(); + if (str.equals("S_TEXT/ASS")) { + bArr = j(j2, "%01d:%02d:%02d:%02d", 10000); + i4 = 21; + } else if (str.equals("S_TEXT/UTF8")) { + bArr = j(j2, "%02d:%02d:%02d,%03d", 1000); + i4 = 19; + } else { + throw new IllegalArgumentException(); + } + System.arraycopy(bArr, 0, bArr2, i4, bArr.length); + int i5 = this.p.b; + while (true) { + x xVar2 = this.p; + if (i5 >= xVar2.f792c) { + break; + } else if (xVar2.a[i5] == 0) { + xVar2.D(i5); + break; + } else { + i5++; + } + } + w wVar = cVar.X; + x xVar3 = this.p; + wVar.c(xVar3, xVar3.f792c); + i2 += this.p.f792c; + } + } + } + if ((268435456 & i) != 0) { + if (this.P > 1) { + i &= -268435457; + } else { + x xVar4 = this.f946s; + int i6 = xVar4.f792c; + cVar.X.f(xVar4, i6, 2); + i2 += i6; + } + } + cVar.X.d(j, i, i2, i3, cVar.j); + } + this.K = true; + } + + /* JADX DEBUG: Multi-variable search result rejected for r29v0, resolved type: c.i.a.c.x2.i */ + /* JADX DEBUG: Multi-variable search result rejected for r8v29, resolved type: c.i.a.c.x2.g0.g */ + /* JADX DEBUG: Multi-variable search result rejected for r8v33, resolved type: c.i.a.c.f3.x */ + /* JADX DEBUG: Multi-variable search result rejected for r4v97, resolved type: c.i.a.c.f3.x */ + /* JADX DEBUG: Multi-variable search result rejected for r5v91, resolved type: c.i.a.c.x2.g0.g */ + /* JADX DEBUG: Multi-variable search result rejected for r5v92, resolved type: c.i.a.c.x2.g0.g */ + /* JADX WARN: Multi-variable type inference failed */ + /* JADX WARNING: Code restructure failed: missing block: B:181:0x0425, code lost: + throw com.google.android.exoplayer2.ParserException.a("EBML lacing sample size out of range.", null); + */ + /* JADX WARNING: Removed duplicated region for block: B:428:0x08d3 A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:440:0x08d5 A[SYNTHETIC] */ + /* JADX WARNING: Unknown variable types count: 2 */ + @Override // c.i.a.c.x2.h + public final int e(i iVar, s sVar) throws IOException { + boolean z2; + int i; + int i2; + String str; + long j; + int i3; + int[] iArr; + boolean z3 = false; + this.K = false; + boolean z4 = true; + boolean z5 = true; + while (z5 && !this.K) { + b bVar = (b) this.f; + d.H(bVar.d); + ?? r3 = z3; + ?? r4 = z4; + while (true) { + b.C0096b peek = bVar.b.peek(); + if (peek == null || iVar.getPosition() < peek.b) { + if (bVar.e == 0) { + long c2 = bVar.f938c.c(iVar, r4, r3, 4); + if (c2 == -2) { + iVar.k(); + while (true) { + iVar.o(bVar.a, r3, 4); + int b2 = g.b(bVar.a[r3]); + if (b2 != -1 && b2 <= 4) { + int a2 = (int) g.a(bVar.a, b2, r3); + Objects.requireNonNull(e.this); + if (a2 == 357149030 || a2 == 524531317 || a2 == 475249515 || a2 == 374648427) { + iVar.l(b2); + c2 = (long) a2; + } + } + iVar.l(r4); + } + } + if (c2 == -1) { + z5 = false; + } else { + bVar.f = (int) c2; + bVar.e = r4; + } + } + if (bVar.e == r4) { + bVar.g = bVar.f938c.c(iVar, r3, r4, 8); + bVar.e = 2; + } + c cVar = bVar.d; + int i4 = bVar.f; + Objects.requireNonNull(e.this); + switch (i4) { + case 131: + case 136: + case 155: + case 159: + case 176: + case 179: + case 186: + case 215: + case 231: + case 238: + case 241: + case 251: + case 16871: + case 16980: + case 17029: + case 17143: + case 18401: + case 18408: + case 20529: + case 20530: + case 21420: + case 21432: + case 21680: + case 21682: + case 21690: + case 21930: + case 21945: + case 21946: + case 21947: + case 21948: + case 21949: + case 21998: + case 22186: + case 22203: + case 25188: + case 30321: + case 2352003: + case 2807729: + i = 2; + break; + case 134: + case 17026: + case 21358: + case 2274716: + i = 3; + break; + case 160: + case 166: + case 174: + case 183: + case 187: + case 224: + case HideBottomViewOnScrollBehavior.ENTER_ANIMATION_DURATION /* 225 */: + case 16868: + case 18407: + case 19899: + case 20532: + case 20533: + case 21936: + case 21968: + case 25152: + case 28032: + case 30113: + case 30320: + case 290298740: + case 357149030: + case 374648427: + case 408125543: + case 440786851: + case 475249515: + case 524531317: + i = 1; + break; + case 161: + case 163: + case 165: + case 16877: + case 16981: + case 18402: + case 21419: + case 25506: + case 30322: + i = 4; + break; + case 181: + case 17545: + case 21969: + case 21970: + case 21971: + case 21972: + case 21973: + case 21974: + case 21975: + case 21976: + case 21977: + case 21978: + case 30323: + case 30324: + case 30325: + i = 5; + break; + default: + i = 0; + break; + } + if (i == 0) { + iVar.l((int) bVar.g); + r3 = 0; + bVar.e = 0; + r4 = 1; + } else if (i == r4) { + long position = iVar.getPosition(); + bVar.b.push(new b.C0096b(bVar.f, bVar.g + position, null)); + c cVar2 = bVar.d; + int i5 = bVar.f; + long j2 = bVar.g; + e eVar = e.this; + d.H(eVar.f945f0); + if (i5 == 160) { + i2 = 0; + eVar.V = false; + } else if (i5 == 174) { + i2 = 0; + eVar.f949z = new c(null); + } else if (i5 != 187) { + if (i5 == 19899) { + eVar.B = -1; + eVar.C = -1; + } else if (i5 == 20533) { + eVar.c(i5); + eVar.f949z.h = true; + } else if (i5 == 21968) { + eVar.c(i5); + eVar.f949z.f952x = true; + } else if (i5 == 408125543) { + long j3 = eVar.v; + if (j3 == -1 || j3 == position) { + eVar.v = position; + eVar.u = j2; + } else { + throw ParserException.a("Multiple Segment elements not supported", null); + } + } else if (i5 == 475249515) { + eVar.H = new r(); + eVar.I = new r(); + } else if (i5 == 524531317 && !eVar.A) { + if (!eVar.i || eVar.E == -1) { + eVar.f945f0.a(new t.b(eVar.f948y, 0)); + eVar.A = true; + } else { + eVar.D = true; + } + } + i2 = 0; + } else { + i2 = 0; + eVar.J = false; + } + bVar.e = i2; + } else if (i == 2) { + long j4 = bVar.g; + if (j4 <= 8) { + c cVar3 = bVar.d; + int i6 = bVar.f; + long a3 = bVar.a(iVar, (int) j4); + e eVar2 = e.this; + Objects.requireNonNull(eVar2); + if (i6 != 20529) { + if (i6 != 20530) { + switch (i6) { + case 131: + eVar2.c(i6); + eVar2.f949z.d = (int) a3; + break; + case 136: + eVar2.c(i6); + eVar2.f949z.V = a3 == 1; + break; + case 155: + eVar2.N = eVar2.m(a3); + break; + case 159: + eVar2.c(i6); + eVar2.f949z.O = (int) a3; + break; + case 176: + eVar2.c(i6); + eVar2.f949z.m = (int) a3; + break; + case 179: + eVar2.a(i6); + eVar2.H.a(eVar2.m(a3)); + break; + case 186: + eVar2.c(i6); + eVar2.f949z.n = (int) a3; + break; + case 215: + eVar2.c(i6); + eVar2.f949z.f950c = (int) a3; + break; + case 231: + eVar2.G = eVar2.m(a3); + break; + case 238: + eVar2.U = (int) a3; + break; + case 241: + if (!eVar2.J) { + eVar2.a(i6); + eVar2.I.a(a3); + eVar2.J = true; + break; + } + break; + case 251: + eVar2.V = true; + break; + case 16871: + eVar2.c(i6); + eVar2.f949z.g = (int) a3; + break; + case 16980: + if (a3 != 3) { + throw ParserException.a(c.d.b.a.a.h(50, "ContentCompAlgo ", a3, " not supported"), null); + } + break; + case 17029: + if (a3 < 1 || a3 > 2) { + throw ParserException.a(c.d.b.a.a.h(53, "DocTypeReadVersion ", a3, " not supported"), null); + } + case 17143: + if (a3 != 1) { + throw ParserException.a(c.d.b.a.a.h(50, "EBMLReadVersion ", a3, " not supported"), null); + } + break; + case 18401: + if (a3 != 5) { + throw ParserException.a(c.d.b.a.a.h(49, "ContentEncAlgo ", a3, " not supported"), null); + } + break; + case 18408: + if (a3 != 1) { + throw ParserException.a(c.d.b.a.a.h(56, "AESSettingsCipherMode ", a3, " not supported"), null); + } + break; + case 21420: + eVar2.C = a3 + eVar2.v; + break; + case 21432: + int i7 = (int) a3; + eVar2.c(i6); + if (i7 != 0) { + if (i7 != 1) { + if (i7 != 3) { + if (i7 == 15) { + eVar2.f949z.w = 3; + break; + } + } else { + eVar2.f949z.w = 1; + break; + } + } else { + eVar2.f949z.w = 2; + break; + } + } else { + eVar2.f949z.w = 0; + break; + } + break; + case 21680: + eVar2.c(i6); + eVar2.f949z.o = (int) a3; + break; + case 21682: + eVar2.c(i6); + eVar2.f949z.q = (int) a3; + break; + case 21690: + eVar2.c(i6); + eVar2.f949z.p = (int) a3; + break; + case 21930: + eVar2.c(i6); + eVar2.f949z.U = a3 == 1; + break; + case 21998: + eVar2.c(i6); + eVar2.f949z.f = (int) a3; + break; + case 22186: + eVar2.c(i6); + eVar2.f949z.R = a3; + break; + case 22203: + eVar2.c(i6); + eVar2.f949z.S = a3; + break; + case 25188: + eVar2.c(i6); + eVar2.f949z.P = (int) a3; + break; + case 30321: + eVar2.c(i6); + int i8 = (int) a3; + if (i8 != 0) { + if (i8 != 1) { + if (i8 != 2) { + if (i8 == 3) { + eVar2.f949z.r = 3; + break; + } + } else { + eVar2.f949z.r = 2; + break; + } + } else { + eVar2.f949z.r = 1; + break; + } + } else { + eVar2.f949z.r = 0; + break; + } + break; + case 2352003: + eVar2.c(i6); + eVar2.f949z.e = (int) a3; + break; + case 2807729: + eVar2.w = a3; + break; + default: + switch (i6) { + case 21945: + eVar2.c(i6); + int i9 = (int) a3; + if (i9 != 1) { + if (i9 == 2) { + eVar2.f949z.A = 1; + break; + } + } else { + eVar2.f949z.A = 2; + break; + } + break; + case 21946: + eVar2.c(i6); + int b3 = n.b((int) a3); + if (b3 != -1) { + eVar2.f949z.f954z = b3; + break; + } + break; + case 21947: + eVar2.c(i6); + eVar2.f949z.f952x = true; + int a4 = n.a((int) a3); + if (a4 != -1) { + eVar2.f949z.f953y = a4; + break; + } + break; + case 21948: + eVar2.c(i6); + eVar2.f949z.B = (int) a3; + break; + case 21949: + eVar2.c(i6); + eVar2.f949z.C = (int) a3; + break; + } + } + } else if (a3 != 1) { + throw ParserException.a(c.d.b.a.a.h(55, "ContentEncodingScope ", a3, " not supported"), null); + } + } else if (a3 != 0) { + throw ParserException.a(c.d.b.a.a.h(55, "ContentEncodingOrder ", a3, " not supported"), null); + } + bVar.e = 0; + } else { + StringBuilder sb = new StringBuilder(42); + sb.append("Invalid integer size: "); + sb.append(j4); + throw ParserException.a(sb.toString(), null); + } + } else if (i == 3) { + long j5 = bVar.g; + if (j5 <= 2147483647L) { + c cVar4 = bVar.d; + int i10 = bVar.f; + int i11 = (int) j5; + if (i11 == 0) { + str = ""; + } else { + byte[] bArr = new byte[i11]; + iVar.readFully(bArr, 0, i11); + while (i11 > 0) { + int i12 = i11 - 1; + if (bArr[i12] == 0) { + i11 = i12; + } else { + str = new String(bArr, 0, i11); + } + } + str = new String(bArr, 0, i11); + } + e eVar3 = e.this; + Objects.requireNonNull(eVar3); + if (i10 == 134) { + eVar3.c(i10); + eVar3.f949z.b = str; + } else if (i10 != 17026) { + if (i10 == 21358) { + eVar3.c(i10); + eVar3.f949z.a = str; + } else if (i10 == 2274716) { + eVar3.c(i10); + eVar3.f949z.W = str; + } + } else if (!"webm".equals(str) && !"matroska".equals(str)) { + StringBuilder sb2 = new StringBuilder(str.length() + 22); + sb2.append("DocType "); + sb2.append(str); + sb2.append(" not supported"); + throw ParserException.a(sb2.toString(), null); + } + bVar.e = 0; + } else { + StringBuilder sb3 = new StringBuilder(41); + sb3.append("String element size: "); + sb3.append(j5); + throw ParserException.a(sb3.toString(), null); + } + } else if (i == 4) { + c cVar5 = bVar.d; + int i13 = bVar.f; + int i14 = (int) bVar.g; + e eVar4 = e.this; + Objects.requireNonNull(eVar4); + if (i13 == 161 || i13 == 163) { + if (eVar4.L == 0) { + eVar4.R = (int) eVar4.g.c(iVar, r3, r4, 8); + eVar4.S = eVar4.g.d; + eVar4.N = -9223372036854775807L; + eVar4.L = r4; + eVar4.l.A(r3); + } + c cVar6 = eVar4.h.get(eVar4.R); + if (cVar6 == null) { + iVar.l(i14 - eVar4.S); + eVar4.L = r3; + } else { + Objects.requireNonNull(cVar6.X); + if (eVar4.L == r4) { + eVar4.k(iVar, 3); + int i15 = r4 == true ? 1 : 0; + int i16 = r4 == true ? 1 : 0; + int i17 = r4 == true ? 1 : 0; + int i18 = r4 == true ? 1 : 0; + int i19 = (eVar4.l.a[2] & 6) >> i15; + byte b4 = 255; + if (i19 == 0) { + eVar4.P = r4; + int[] i20 = i(eVar4.Q, r4); + eVar4.Q = i20; + char c3 = r3 == true ? 1 : 0; + char c4 = r3 == true ? 1 : 0; + char c5 = r3 == true ? 1 : 0; + char c6 = r3 == true ? 1 : 0; + char c7 = r3 == true ? 1 : 0; + i20[c3] = (i14 - eVar4.S) - 3; + } else { + eVar4.k(iVar, 4); + int i21 = (eVar4.l.a[3] & 255) + r4; + eVar4.P = i21; + int[] i22 = i(eVar4.Q, i21); + eVar4.Q = i22; + if (i19 == 2) { + int i23 = eVar4.P; + int i24 = r3 == true ? 1 : 0; + int i25 = r3 == true ? 1 : 0; + int i26 = r3 == true ? 1 : 0; + int i27 = r3 == true ? 1 : 0; + int i28 = r3 == true ? 1 : 0; + Arrays.fill(i22, i24, i23, ((i14 - eVar4.S) - 4) / i23); + } else { + int i29 = 4; + if (i19 == r4) { + int i30 = 0; + int i31 = 0; + while (true) { + int i32 = eVar4.P; + if (i30 < i32 - 1) { + int[] iArr2 = eVar4.Q; + int i33 = r3 == true ? 1 : 0; + int i34 = r3 == true ? 1 : 0; + int i35 = r3 == true ? 1 : 0; + int i36 = r3 == true ? 1 : 0; + iArr2[i30] = i33; + do { + i29 += r4; + eVar4.k(iVar, i29); + i3 = eVar4.l.a[i29 - 1] & 255; + iArr = eVar4.Q; + iArr[i30] = iArr[i30] + i3; + } while (i3 == 255); + i31 += iArr[i30]; + i30++; + } else { + eVar4.Q[i32 - 1] = ((i14 - eVar4.S) - i29) - i31; + } + } + } else if (i19 == 3) { + int i37 = 0; + int i38 = 0; + boolean z6 = r3; + boolean z7 = r4; + while (true) { + int i39 = eVar4.P; + if (i37 < i39 - 1) { + int[] iArr3 = eVar4.Q; + int i40 = z6 ? 1 : 0; + int i41 = z6 ? 1 : 0; + iArr3[i37] = i40; + i29++; + eVar4.k(iVar, i29); + int i42 = i29 - 1; + if (eVar4.l.a[i42] != 0) { + int i43 = 8; + int i44 = 0; + boolean z8 = z7; + while (true) { + if (i44 < i43) { + int i45 = z8 ? 1 : 0; + int i46 = z8 ? 1 : 0; + int i47 = z8 ? 1 : 0; + int i48 = z8 ? 1 : 0; + int i49 = i45 << (7 - i44); + if ((eVar4.l.a[i42] & i49) != 0) { + int i50 = i29 + i44; + eVar4.k(iVar, i50); + j = (long) ((~i49) & eVar4.l.a[i42] & b4); + int i51 = i42 + 1; + while (i51 < i50) { + j = (j << 8) | ((long) (eVar4.l.a[i51] & 255)); + i51++; + i50 = i50; + } + if (i37 > 0) { + j -= (1 << ((i44 * 7) + 6)) - 1; + } + i29 = i50; + } else { + i44++; + i43 = 8; + z8 = true; + b4 = 255; + } + } else { + j = 0; + } + } + if (j >= -2147483648L && j <= 2147483647L) { + int i52 = (int) j; + int[] iArr4 = eVar4.Q; + if (i37 != 0) { + i52 += iArr4[i37 - 1]; + } + iArr4[i37] = i52; + i38 += iArr4[i37]; + i37++; + z6 = false; + z7 = true; + b4 = 255; + } + } else { + throw ParserException.a("No valid varint length mask found", null); + } + } else { + eVar4.Q[i39 - 1] = ((i14 - eVar4.S) - i29) - i38; + } + } + } else { + throw c.d.b.a.a.s0(36, "Unexpected lacing value: ", i19, null); + } + } + } + byte[] bArr2 = eVar4.l.a; + eVar4.M = eVar4.m((long) ((bArr2[1] & 255) | (bArr2[0] << 8))) + eVar4.G; + eVar4.T = (cVar6.d == 2 || (i13 == 163 && (eVar4.l.a[2] & 128) == 128)) ? 1 : 0; + eVar4.L = 2; + eVar4.O = 0; + } + if (i13 == 163) { + while (true) { + int i53 = eVar4.O; + if (i53 < eVar4.P) { + eVar4.d(cVar6, ((long) ((eVar4.O * cVar6.e) / 1000)) + eVar4.M, eVar4.T, eVar4.n(iVar, cVar6, eVar4.Q[i53]), 0); + eVar4.O++; + } else { + eVar4.L = 0; + } + } + } else { + while (true) { + int i54 = eVar4.O; + if (i54 < eVar4.P) { + int[] iArr5 = eVar4.Q; + iArr5[i54] = eVar4.n(iVar, cVar6, iArr5[i54]); + eVar4.O++; + } + } + } + } + } else if (i13 != 165) { + if (i13 == 16877) { + eVar4.c(i13); + c cVar7 = eVar4.f949z; + int i55 = cVar7.g; + if (i55 == 1685485123 || i55 == 1685480259) { + byte[] bArr3 = new byte[i14]; + cVar7.N = bArr3; + iVar.readFully(bArr3, r3, i14); + } else { + iVar.l(i14); + } + } else if (i13 == 16981) { + eVar4.c(i13); + byte[] bArr4 = new byte[i14]; + eVar4.f949z.i = bArr4; + iVar.readFully(bArr4, r3, i14); + } else if (i13 == 18402) { + byte[] bArr5 = new byte[i14]; + iVar.readFully(bArr5, r3, i14); + eVar4.c(i13); + eVar4.f949z.j = new w.a(r4, bArr5, r3, r3); + } else if (i13 == 21419) { + byte[] bArr6 = eVar4.n.a; + byte b5 = r3 == true ? (byte) 1 : 0; + byte b6 = r3 == true ? (byte) 1 : 0; + byte b7 = r3 == true ? (byte) 1 : 0; + byte b8 = r3 == true ? (byte) 1 : 0; + byte b9 = r3 == true ? (byte) 1 : 0; + Arrays.fill(bArr6, b5); + iVar.readFully(eVar4.n.a, 4 - i14, i14); + eVar4.n.E(r3); + eVar4.B = (int) eVar4.n.u(); + } else if (i13 == 25506) { + eVar4.c(i13); + byte[] bArr7 = new byte[i14]; + eVar4.f949z.k = bArr7; + iVar.readFully(bArr7, r3, i14); + } else if (i13 == 30322) { + eVar4.c(i13); + byte[] bArr8 = new byte[i14]; + eVar4.f949z.v = bArr8; + iVar.readFully(bArr8, r3, i14); + } else { + throw c.d.b.a.a.s0(26, "Unexpected id: ", i13, null); + } + } else if (eVar4.L == 2) { + c cVar8 = eVar4.h.get(eVar4.R); + if (eVar4.U != 4 || !"V_VP9".equals(cVar8.b)) { + iVar.l(i14); + } else { + x xVar = eVar4.f946s; + byte[] bArr9 = xVar.a; + if (bArr9.length < i14) { + bArr9 = new byte[i14]; + } + xVar.C(bArr9, i14); + iVar.readFully(eVar4.f946s.a, r3, i14); + } + } + bVar.e = 0; + } else if (i == 5) { + long j6 = bVar.g; + if (j6 == 4 || j6 == 8) { + c cVar9 = bVar.d; + int i56 = bVar.f; + int i57 = (int) j6; + long a5 = bVar.a(iVar, i57); + double intBitsToFloat = i57 == 4 ? (double) Float.intBitsToFloat((int) a5) : Double.longBitsToDouble(a5); + e eVar5 = e.this; + Objects.requireNonNull(eVar5); + if (i56 == 181) { + eVar5.c(i56); + eVar5.f949z.Q = (int) intBitsToFloat; + } else if (i56 != 17545) { + switch (i56) { + case 21969: + eVar5.c(i56); + eVar5.f949z.D = (float) intBitsToFloat; + break; + case 21970: + eVar5.c(i56); + eVar5.f949z.E = (float) intBitsToFloat; + break; + case 21971: + eVar5.c(i56); + eVar5.f949z.F = (float) intBitsToFloat; + break; + case 21972: + eVar5.c(i56); + eVar5.f949z.G = (float) intBitsToFloat; + break; + case 21973: + eVar5.c(i56); + eVar5.f949z.H = (float) intBitsToFloat; + break; + case 21974: + eVar5.c(i56); + eVar5.f949z.I = (float) intBitsToFloat; + break; + case 21975: + eVar5.c(i56); + eVar5.f949z.J = (float) intBitsToFloat; + break; + case 21976: + eVar5.c(i56); + eVar5.f949z.K = (float) intBitsToFloat; + break; + case 21977: + eVar5.c(i56); + eVar5.f949z.L = (float) intBitsToFloat; + break; + case 21978: + eVar5.c(i56); + eVar5.f949z.M = (float) intBitsToFloat; + break; + default: + switch (i56) { + case 30323: + eVar5.c(i56); + eVar5.f949z.f951s = (float) intBitsToFloat; + break; + case 30324: + eVar5.c(i56); + eVar5.f949z.t = (float) intBitsToFloat; + break; + case 30325: + eVar5.c(i56); + eVar5.f949z.u = (float) intBitsToFloat; + break; + } + } + } else { + eVar5.f947x = (long) intBitsToFloat; + } + bVar.e = r3; + } else { + StringBuilder sb4 = new StringBuilder(40); + sb4.append("Invalid float size: "); + sb4.append(j6); + throw ParserException.a(sb4.toString(), null); + } + } else { + throw c.d.b.a.a.s0(32, "Invalid element type ", i, null); + } + } else { + e.this.h(bVar.b.pop().a); + } + } + z5 = true; + if (z5) { + long position2 = iVar.getPosition(); + if (this.D) { + this.F = position2; + sVar.a = this.E; + this.D = false; + } else { + if (this.A) { + long j7 = this.F; + if (j7 != -1) { + sVar.a = j7; + this.F = -1; + } + } + z2 = false; + if (!z2) { + return 1; + } + } + z2 = true; + if (!z2) { + } + } + z3 = false; + z4 = true; + } + if (z5) { + return 0; + } + for (int i58 = 0; i58 < this.h.size(); i58++) { + c valueAt = this.h.valueAt(i58); + Objects.requireNonNull(valueAt.X); + c.i.a.c.x2.x xVar2 = valueAt.T; + if (xVar2 != null) { + xVar2.a(valueAt.X, valueAt.j); + } + } + return -1; + } + + @Override // c.i.a.c.x2.h + public final void f(j jVar) { + this.f945f0 = jVar; + } + + @Override // c.i.a.c.x2.h + @CallSuper + public void g(long j, long j2) { + this.G = -9223372036854775807L; + this.L = 0; + b bVar = (b) this.f; + bVar.e = 0; + bVar.b.clear(); + g gVar = bVar.f938c; + gVar.f955c = 0; + gVar.d = 0; + g gVar2 = this.g; + gVar2.f955c = 0; + gVar2.d = 0; + l(); + for (int i = 0; i < this.h.size(); i++) { + c.i.a.c.x2.x xVar = this.h.valueAt(i).T; + if (xVar != null) { + xVar.b = false; + xVar.f1038c = 0; + } + } + } + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + /* JADX WARNING: Code restructure failed: missing block: B:406:0x0807, code lost: + if (r3.m() == r5.getLeastSignificantBits()) goto L_0x0809; + */ + /* JADX WARNING: Removed duplicated region for block: B:410:0x080e */ + /* JADX WARNING: Removed duplicated region for block: B:414:0x083c */ + /* JADX WARNING: Removed duplicated region for block: B:434:0x087d */ + /* JADX WARNING: Removed duplicated region for block: B:435:0x087f */ + /* JADX WARNING: Removed duplicated region for block: B:438:0x088c */ + /* JADX WARNING: Removed duplicated region for block: B:439:0x0899 */ + /* JADX WARNING: Removed duplicated region for block: B:496:0x09e5 */ + /* JADX WARNING: Removed duplicated region for block: B:497:0x09e7 */ + @CallSuper + public void h(int i) throws ParserException { + char c2; + boolean z2; + char c3; + String str; + int i2; + List list; + int i3; + j1.b bVar; + int i4; + int i5; + n nVar; + int i6; + int i7; + byte[] bArr; + int i8; + o a2; + String str2; + int i9; + List list2; + ArrayList arrayList; + List list3; + boolean z3; + Throwable th; + String str3; + ArrayList arrayList2; + ArrayList arrayList3; + String str4; + String str5; + List list4; + Pair pair; + String str6; + Pair pair2; + p pVar; + String str7; + String str8; + List list5; + t tVar; + int i10; + int i11; + d.H(this.f945f0); + int i12 = 0; + if (i != 160) { + if (i == 174) { + c cVar = this.f949z; + d.H(cVar); + String str9 = cVar.b; + if (str9 != null) { + switch (str9.hashCode()) { + case -2095576542: + if (str9.equals("V_MPEG4/ISO/AP")) { + c2 = 0; + break; + } + c2 = 65535; + break; + case -2095575984: + if (str9.equals("V_MPEG4/ISO/SP")) { + c2 = 1; + break; + } + c2 = 65535; + break; + case -1985379776: + if (str9.equals("A_MS/ACM")) { + c2 = 2; + break; + } + c2 = 65535; + break; + case -1784763192: + if (str9.equals("A_TRUEHD")) { + c2 = 3; + break; + } + c2 = 65535; + break; + case -1730367663: + if (str9.equals("A_VORBIS")) { + c2 = 4; + break; + } + c2 = 65535; + break; + case -1482641358: + if (str9.equals("A_MPEG/L2")) { + c2 = 5; + break; + } + c2 = 65535; + break; + case -1482641357: + if (str9.equals("A_MPEG/L3")) { + c2 = 6; + break; + } + c2 = 65535; + break; + case -1373388978: + if (str9.equals("V_MS/VFW/FOURCC")) { + c2 = 7; + break; + } + c2 = 65535; + break; + case -933872740: + if (str9.equals("S_DVBSUB")) { + c2 = '\b'; + break; + } + c2 = 65535; + break; + case -538363189: + if (str9.equals("V_MPEG4/ISO/ASP")) { + c2 = '\t'; + break; + } + c2 = 65535; + break; + case -538363109: + if (str9.equals("V_MPEG4/ISO/AVC")) { + c2 = '\n'; + break; + } + c2 = 65535; + break; + case -425012669: + if (str9.equals("S_VOBSUB")) { + c2 = 11; + break; + } + c2 = 65535; + break; + case -356037306: + if (str9.equals("A_DTS/LOSSLESS")) { + c2 = '\f'; + break; + } + c2 = 65535; + break; + case 62923557: + if (str9.equals("A_AAC")) { + c2 = '\r'; + break; + } + c2 = 65535; + break; + case 62923603: + if (str9.equals("A_AC3")) { + c2 = 14; + break; + } + c2 = 65535; + break; + case 62927045: + if (str9.equals("A_DTS")) { + c2 = 15; + break; + } + c2 = 65535; + break; + case 82318131: + if (str9.equals("V_AV1")) { + c2 = 16; + break; + } + c2 = 65535; + break; + case 82338133: + if (str9.equals("V_VP8")) { + c2 = 17; + break; + } + c2 = 65535; + break; + case 82338134: + if (str9.equals("V_VP9")) { + c2 = 18; + break; + } + c2 = 65535; + break; + case 99146302: + if (str9.equals("S_HDMV/PGS")) { + c2 = 19; + break; + } + c2 = 65535; + break; + case 444813526: + if (str9.equals("V_THEORA")) { + c2 = 20; + break; + } + c2 = 65535; + break; + case 542569478: + if (str9.equals("A_DTS/EXPRESS")) { + c2 = 21; + break; + } + c2 = 65535; + break; + case 635596514: + if (str9.equals("A_PCM/FLOAT/IEEE")) { + c2 = 22; + break; + } + c2 = 65535; + break; + case 725948237: + if (str9.equals("A_PCM/INT/BIG")) { + c2 = 23; + break; + } + c2 = 65535; + break; + case 725957860: + if (str9.equals("A_PCM/INT/LIT")) { + c2 = 24; + break; + } + c2 = 65535; + break; + case 738597099: + if (str9.equals("S_TEXT/ASS")) { + c2 = 25; + break; + } + c2 = 65535; + break; + case 855502857: + if (str9.equals("V_MPEGH/ISO/HEVC")) { + c2 = 26; + break; + } + c2 = 65535; + break; + case 1422270023: + if (str9.equals("S_TEXT/UTF8")) { + c2 = 27; + break; + } + c2 = 65535; + break; + case 1809237540: + if (str9.equals("V_MPEG2")) { + c2 = 28; + break; + } + c2 = 65535; + break; + case 1950749482: + if (str9.equals("A_EAC3")) { + c2 = 29; + break; + } + c2 = 65535; + break; + case 1950789798: + if (str9.equals("A_FLAC")) { + c2 = 30; + break; + } + c2 = 65535; + break; + case 1951062397: + if (str9.equals("A_OPUS")) { + c2 = 31; + break; + } + c2 = 65535; + break; + default: + c2 = 65535; + break; + } + switch (c2) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case '\b': + case '\t': + case '\n': + case 11: + case '\f': + case '\r': + case 14: + case 15: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + z2 = true; + break; + default: + z2 = false; + break; + } + if (z2) { + j jVar = this.f945f0; + int i13 = cVar.f950c; + String str10 = cVar.b; + str10.hashCode(); + switch (str10.hashCode()) { + case -2095576542: + if (str10.equals("V_MPEG4/ISO/AP")) { + c3 = 0; + break; + } + c3 = 65535; + break; + case -2095575984: + if (str10.equals("V_MPEG4/ISO/SP")) { + c3 = 1; + break; + } + c3 = 65535; + break; + case -1985379776: + if (str10.equals("A_MS/ACM")) { + c3 = 2; + break; + } + c3 = 65535; + break; + case -1784763192: + if (str10.equals("A_TRUEHD")) { + c3 = 3; + break; + } + c3 = 65535; + break; + case -1730367663: + if (str10.equals("A_VORBIS")) { + c3 = 4; + break; + } + c3 = 65535; + break; + case -1482641358: + if (str10.equals("A_MPEG/L2")) { + c3 = 5; + break; + } + c3 = 65535; + break; + case -1482641357: + if (str10.equals("A_MPEG/L3")) { + c3 = 6; + break; + } + c3 = 65535; + break; + case -1373388978: + if (str10.equals("V_MS/VFW/FOURCC")) { + c3 = 7; + break; + } + c3 = 65535; + break; + case -933872740: + if (str10.equals("S_DVBSUB")) { + c3 = '\b'; + break; + } + c3 = 65535; + break; + case -538363189: + if (str10.equals("V_MPEG4/ISO/ASP")) { + c3 = '\t'; + break; + } + c3 = 65535; + break; + case -538363109: + if (str10.equals("V_MPEG4/ISO/AVC")) { + c3 = '\n'; + break; + } + c3 = 65535; + break; + case -425012669: + if (str10.equals("S_VOBSUB")) { + c3 = 11; + break; + } + c3 = 65535; + break; + case -356037306: + if (str10.equals("A_DTS/LOSSLESS")) { + c3 = '\f'; + break; + } + c3 = 65535; + break; + case 62923557: + if (str10.equals("A_AAC")) { + c3 = '\r'; + break; + } + c3 = 65535; + break; + case 62923603: + if (str10.equals("A_AC3")) { + c3 = 14; + break; + } + c3 = 65535; + break; + case 62927045: + if (str10.equals("A_DTS")) { + c3 = 15; + break; + } + c3 = 65535; + break; + case 82318131: + if (str10.equals("V_AV1")) { + c3 = 16; + break; + } + c3 = 65535; + break; + case 82338133: + if (str10.equals("V_VP8")) { + c3 = 17; + break; + } + c3 = 65535; + break; + case 82338134: + if (str10.equals("V_VP9")) { + c3 = 18; + break; + } + c3 = 65535; + break; + case 99146302: + if (str10.equals("S_HDMV/PGS")) { + c3 = 19; + break; + } + c3 = 65535; + break; + case 444813526: + if (str10.equals("V_THEORA")) { + c3 = 20; + break; + } + c3 = 65535; + break; + case 542569478: + if (str10.equals("A_DTS/EXPRESS")) { + c3 = 21; + break; + } + c3 = 65535; + break; + case 635596514: + if (str10.equals("A_PCM/FLOAT/IEEE")) { + c3 = 22; + break; + } + c3 = 65535; + break; + case 725948237: + if (str10.equals("A_PCM/INT/BIG")) { + c3 = 23; + break; + } + c3 = 65535; + break; + case 725957860: + if (str10.equals("A_PCM/INT/LIT")) { + c3 = 24; + break; + } + c3 = 65535; + break; + case 738597099: + if (str10.equals("S_TEXT/ASS")) { + c3 = 25; + break; + } + c3 = 65535; + break; + case 855502857: + if (str10.equals("V_MPEGH/ISO/HEVC")) { + c3 = 26; + break; + } + c3 = 65535; + break; + case 1422270023: + if (str10.equals("S_TEXT/UTF8")) { + c3 = 27; + break; + } + c3 = 65535; + break; + case 1809237540: + if (str10.equals("V_MPEG2")) { + c3 = 28; + break; + } + c3 = 65535; + break; + case 1950749482: + if (str10.equals("A_EAC3")) { + c3 = 29; + break; + } + c3 = 65535; + break; + case 1950789798: + if (str10.equals("A_FLAC")) { + c3 = 30; + break; + } + c3 = 65535; + break; + case 1951062397: + if (str10.equals("A_OPUS")) { + c3 = 31; + break; + } + c3 = 65535; + break; + default: + c3 = 65535; + break; + } + String str11 = "video/x-unknown"; + String str12 = "audio/x-unknown"; + switch (c3) { + case 0: + case 1: + case '\t': + byte[] bArr2 = cVar.k; + str12 = "video/mp4v-es"; + list3 = bArr2 == null ? null : Collections.singletonList(bArr2); + i9 = -1; + arrayList = list3; + str2 = null; + list2 = arrayList; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + if (!(bArr3 == null || (a2 = o.a(new x(bArr3))) == null)) { + str = a2.a; + str12 = "video/dolby-vision"; + } + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + bVar.f825x = cVar.O; + bVar.f826y = cVar.Q; + bVar.f827z = i3; + i4 = 1; + } else if (c.i.a.c.f3.t.j(str12)) { + if (cVar.q == 0) { + int i15 = cVar.o; + i5 = -1; + if (i15 == -1) { + i15 = cVar.m; + } + cVar.o = i15; + int i16 = cVar.p; + if (i16 == -1) { + i16 = cVar.n; + } + cVar.p = i16; + } else { + i5 = -1; + } + float f = -1.0f; + int i17 = cVar.o; + if (!(i17 == i5 || (i8 = cVar.p) == i5)) { + f = ((float) (cVar.n * i17)) / ((float) (cVar.m * i8)); + } + if (cVar.f952x) { + if (cVar.D == -1.0f || cVar.E == -1.0f || cVar.F == -1.0f || cVar.G == -1.0f || cVar.H == -1.0f || cVar.I == -1.0f || cVar.J == -1.0f || cVar.K == -1.0f || cVar.L == -1.0f || cVar.M == -1.0f) { + bArr = null; + } else { + bArr = new byte[25]; + ByteBuffer order = ByteBuffer.wrap(bArr).order(ByteOrder.LITTLE_ENDIAN); + order.put((byte) 0); + order.putShort((short) ((int) ((cVar.D * 50000.0f) + 0.5f))); + order.putShort((short) ((int) ((cVar.E * 50000.0f) + 0.5f))); + order.putShort((short) ((int) ((cVar.F * 50000.0f) + 0.5f))); + order.putShort((short) ((int) ((cVar.G * 50000.0f) + 0.5f))); + order.putShort((short) ((int) ((cVar.H * 50000.0f) + 0.5f))); + order.putShort((short) ((int) ((cVar.I * 50000.0f) + 0.5f))); + order.putShort((short) ((int) ((cVar.J * 50000.0f) + 0.5f))); + order.putShort((short) ((int) ((cVar.K * 50000.0f) + 0.5f))); + order.putShort((short) ((int) (cVar.L + 0.5f))); + order.putShort((short) ((int) (cVar.M + 0.5f))); + order.putShort((short) cVar.B); + order.putShort((short) cVar.C); + } + nVar = new n(cVar.f953y, cVar.A, cVar.f954z, bArr); + } else { + nVar = null; + } + String str13 = cVar.a; + if (str13 != null) { + Map map = e; + if (map.containsKey(str13)) { + i6 = map.get(cVar.a).intValue(); + if (cVar.r == 0 && Float.compare(cVar.f951s, 0.0f) == 0 && Float.compare(cVar.t, 0.0f) == 0) { + if (Float.compare(cVar.u, 0.0f) != 0) { + i7 = 0; + } else if (Float.compare(cVar.t, 90.0f) == 0) { + i7 = 90; + } else if (Float.compare(cVar.t, -180.0f) == 0 || Float.compare(cVar.t, 180.0f) == 0) { + i7 = BaseTransientBottomBar.ANIMATION_FADE_DURATION; + } else if (Float.compare(cVar.t, -90.0f) == 0) { + i7 = 270; + } + bVar.p = cVar.m; + bVar.q = cVar.n; + bVar.t = f; + bVar.f824s = i7; + bVar.u = cVar.v; + bVar.v = cVar.w; + bVar.w = nVar; + i4 = 2; + } + i7 = i6; + bVar.p = cVar.m; + bVar.q = cVar.n; + bVar.t = f; + bVar.f824s = i7; + bVar.u = cVar.v; + bVar.v = cVar.w; + bVar.w = nVar; + i4 = 2; + } + } + i6 = -1; + if (Float.compare(cVar.u, 0.0f) != 0) { + } + bVar.p = cVar.m; + bVar.q = cVar.n; + bVar.t = f; + bVar.f824s = i7; + bVar.u = cVar.v; + bVar.v = cVar.w; + bVar.w = nVar; + i4 = 2; + } else if ("application/x-subrip".equals(str12) || "text/x-ssa".equals(str12) || "application/vobsub".equals(str12) || "application/pgs".equals(str12) || "application/dvbsubs".equals(str12)) { + i4 = 3; + } else { + throw ParserException.a("Unexpected MIME type.", null); + } + String str14 = cVar.a; + if (str14 != null && !e.containsKey(str14)) { + bVar.b = cVar.a; + } + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 2: + x xVar = new x(cVar.a(cVar.b)); + try { + int l = xVar.l(); + if (l != 1) { + if (l == 65534) { + xVar.E(24); + long m = xVar.m(); + UUID uuid = d; + if (m == uuid.getMostSignificantBits()) { + break; + } + } + z3 = false; + if (!z3) { + i3 = e0.r(cVar.P); + if (i3 == 0) { + int i18 = cVar.P; + StringBuilder sb = new StringBuilder(75); + sb.append("Unsupported PCM bit depth: "); + sb.append(i18); + sb.append(". Setting mimeType to "); + sb.append(str12); + Log.w("MatroskaExtractor", sb.toString()); + } + str12 = "audio/raw"; + list = null; + i2 = -1; + str = null; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + } else { + Log.w("MatroskaExtractor", "Non-PCM MS/ACM is unsupported. Setting mimeType to ".concat(str12)); + } + list3 = null; + i9 = -1; + arrayList = list3; + str2 = null; + list2 = arrayList; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + } + z3 = true; + if (!z3) { + } + list3 = null; + i9 = -1; + arrayList = list3; + str2 = null; + list2 = arrayList; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + } catch (ArrayIndexOutOfBoundsException unused) { + throw ParserException.a("Error parsing MS/ACM codec private", null); + } + break; + case 3: + cVar.T = new c.i.a.c.x2.x(); + str12 = "audio/true-hd"; + list3 = null; + i9 = -1; + arrayList = list3; + str2 = null; + list2 = arrayList; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 4: + byte[] a4 = cVar.a(cVar.b); + try { + if (a4[0] == 2) { + int i19 = 1; + int i20 = 0; + while ((a4[i19] & 255) == 255) { + i20 += 255; + i19++; + } + int i21 = i19 + 1; + int i22 = i20 + (a4[i19] & 255); + int i23 = 0; + while ((a4[i21] & 255) == 255) { + i23 += 255; + i21++; + } + int i24 = i21 + 1; + int i25 = i23 + (a4[i21] & 255); + if (a4[i24] == 1) { + byte[] bArr4 = new byte[i22]; + System.arraycopy(a4, i24, bArr4, 0, i22); + int i26 = i24 + i22; + if (a4[i26] == 3) { + int i27 = i26 + i25; + if (a4[i27] == 5) { + byte[] bArr5 = new byte[(a4.length - i27)]; + System.arraycopy(a4, i27, bArr5, 0, a4.length - i27); + ArrayList arrayList4 = new ArrayList(2); + arrayList4.add(bArr4); + arrayList4.add(bArr5); + i9 = 8192; + str12 = "audio/vorbis"; + arrayList = arrayList4; + str2 = null; + list2 = arrayList; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + } else { + th = null; + try { + throw ParserException.a("Error parsing vorbis codec private", null); + } catch (ArrayIndexOutOfBoundsException unused2) { + throw ParserException.a("Error parsing vorbis codec private", th); + } + } + } else { + throw ParserException.a("Error parsing vorbis codec private", null); + } + } else { + throw ParserException.a("Error parsing vorbis codec private", null); + } + } else { + throw ParserException.a("Error parsing vorbis codec private", null); + } + } catch (ArrayIndexOutOfBoundsException unused3) { + th = null; + throw ParserException.a("Error parsing vorbis codec private", th); + } + break; + case 5: + str4 = "audio/mpeg-L2"; + str3 = str4; + i9 = 4096; + arrayList3 = null; + str2 = null; + arrayList2 = arrayList3; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 6: + str4 = "audio/mpeg"; + str3 = str4; + i9 = 4096; + arrayList3 = null; + str2 = null; + arrayList2 = arrayList3; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 7: + byte[] a5 = cVar.a(cVar.b); + try { + d.j(16 <= a5.length); + long j = (((long) a5[16]) & 255) | ((((long) a5[17]) & 255) << 8) | ((((long) a5[18]) & 255) << 16) | ((255 & ((long) a5[19])) << 24); + if (j == 1482049860) { + pair = new Pair("video/divx", null); + } else if (j == 859189832) { + pair = new Pair("video/3gpp", null); + } else { + if (j == 826496599) { + for (int i28 = 40; i28 < a5.length - 4; i28++) { + if (a5[i28] == 0 && a5[i28 + 1] == 0 && a5[i28 + 2] == 1) { + if (a5[i28 + 3] == 15) { + pair2 = new Pair("video/wvc1", Collections.singletonList(Arrays.copyOfRange(a5, i28, a5.length))); + } + } + } + throw ParserException.a("Failed to find FourCC VC1 initialization data", null); + } + Log.w("MatroskaExtractor", "Unknown FourCC. Setting mimeType to video/x-unknown"); + pair2 = new Pair(str11, null); + pair = pair2; + } + str6 = (String) pair.first; + pVar = (List) pair.second; + str3 = str6; + list5 = pVar; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + } catch (ArrayIndexOutOfBoundsException unused4) { + throw ParserException.a("Error parsing FourCC private data", null); + } + break; + case '\b': + byte[] bArr6 = new byte[4]; + System.arraycopy(cVar.a(cVar.b), 0, bArr6, 0, 4); + p u = p.u(bArr6); + str6 = "application/dvbsubs"; + pVar = u; + str3 = str6; + list5 = pVar; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case '\n': + m b2 = m.b(new x(cVar.a(cVar.b))); + list = b2.a; + cVar.Y = b2.b; + str8 = b2.f; + str7 = "video/avc"; + str = str8; + str12 = str7; + i3 = -1; + i2 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 11: + str6 = "application/vobsub"; + pVar = p.u(cVar.a(cVar.b)); + str3 = str6; + list5 = pVar; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case '\f': + str11 = "audio/vnd.dts.hd"; + str12 = str11; + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case '\r': + List singletonList = Collections.singletonList(cVar.a(cVar.b)); + l.b c4 = l.c(cVar.k); + cVar.Q = c4.a; + cVar.O = c4.b; + str5 = c4.f890c; + str3 = "audio/mp4a-latm"; + list4 = singletonList; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 14: + str11 = "audio/ac3"; + str12 = str11; + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 15: + case 21: + str11 = "audio/vnd.dts"; + str12 = str11; + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 16: + str11 = "video/av01"; + str12 = str11; + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 17: + str11 = "video/x-vnd.on2.vp8"; + str12 = str11; + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 18: + str11 = "video/x-vnd.on2.vp9"; + str12 = str11; + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 19: + str11 = "application/pgs"; + str12 = str11; + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 20: + str12 = str11; + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 22: + int i29 = cVar.P; + if (i29 == 32) { + i3 = 4; + str12 = "audio/raw"; + list = null; + i2 = -1; + str = null; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + } else { + StringBuilder sb2 = new StringBuilder(90); + sb2.append("Unsupported floating point PCM bit depth: "); + sb2.append(i29); + sb2.append(". Setting mimeType to "); + sb2.append(str12); + Log.w("MatroskaExtractor", sb2.toString()); + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + } + break; + case 23: + int i30 = cVar.P; + if (i30 == 8) { + i3 = 3; + } else if (i30 != 16) { + StringBuilder sb3 = new StringBuilder(86); + sb3.append("Unsupported big endian PCM bit depth: "); + sb3.append(i30); + sb3.append(". Setting mimeType to "); + sb3.append(str12); + Log.w("MatroskaExtractor", sb3.toString()); + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + } else { + i3 = 268435456; + } + str12 = "audio/raw"; + list = null; + i2 = -1; + str = null; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 24: + i3 = e0.r(cVar.P); + if (i3 == 0) { + int i31 = cVar.P; + StringBuilder sb4 = new StringBuilder(89); + sb4.append("Unsupported little endian PCM bit depth: "); + sb4.append(i31); + sb4.append(". Setting mimeType to "); + sb4.append(str12); + Log.w("MatroskaExtractor", sb4.toString()); + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + } + str12 = "audio/raw"; + list = null; + i2 = -1; + str = null; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 25: + byte[] bArr7 = b; + byte[] a6 = cVar.a(cVar.b); + c.i.b.b.a aVar = p.j; + Object[] objArr = {bArr7, a6}; + str6 = "text/x-ssa"; + pVar = p.m(objArr); + str3 = str6; + list5 = pVar; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 26: + q a7 = q.a(new x(cVar.a(cVar.b))); + list = a7.a; + cVar.Y = a7.b; + str8 = a7.d; + str7 = "video/hevc"; + str = str8; + str12 = str7; + i3 = -1; + i2 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 27: + str11 = "application/x-subrip"; + str12 = str11; + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 28: + str11 = "video/mpeg2"; + str12 = str11; + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 29: + str11 = "audio/eac3"; + str12 = str11; + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 30: + str6 = "audio/flac"; + pVar = Collections.singletonList(cVar.a(cVar.b)); + str3 = str6; + list5 = pVar; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + case 31: + ArrayList arrayList5 = new ArrayList(3); + arrayList5.add(cVar.a(cVar.b)); + ByteBuffer allocate = ByteBuffer.allocate(8); + ByteOrder byteOrder = ByteOrder.LITTLE_ENDIAN; + arrayList5.add(allocate.order(byteOrder).putLong(cVar.R).array()); + arrayList5.add(ByteBuffer.allocate(8).order(byteOrder).putLong(cVar.S).array()); + i9 = 5760; + str3 = "audio/opus"; + arrayList3 = arrayList5; + str2 = null; + arrayList2 = arrayList3; + str12 = str3; + list2 = arrayList2; + str = str2; + i2 = i9; + list = list2; + i3 = -1; + byte[] bArr3 = cVar.N; + str = a2.a; + str12 = "video/dolby-vision"; + int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0); + bVar = new j1.b(); + if (!c.i.a.c.f3.t.h(str12)) { + } + String str14 = cVar.a; + bVar.b = cVar.a; + bVar.b(i13); + bVar.k = str12; + bVar.l = i2; + bVar.f823c = cVar.W; + bVar.d = i14; + bVar.m = list; + bVar.h = str; + bVar.n = cVar.l; + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); + cVar.X = p; + p.e(a3); + this.h.put(cVar.f950c, cVar); + break; + default: + throw ParserException.a("Unrecognized codec identifier.", null); + } + } + this.f949z = null; + return; + } + throw ParserException.a("CodecId is missing in TrackEntry element", null); + } else if (i == 19899) { + int i32 = this.B; + if (i32 != -1) { + long j2 = this.C; + if (j2 != -1) { + if (i32 == 475249515) { + this.E = j2; + return; + } + return; + } + } + throw ParserException.a("Mandatory element SeekID or SeekPosition not found", null); + } else if (i == 25152) { + c(i); + c cVar2 = this.f949z; + if (cVar2.h) { + w.a aVar2 = cVar2.j; + if (aVar2 != null) { + cVar2.l = new DrmInitData(null, true, new DrmInitData.SchemeData(x0.a, "video/webm", aVar2.b)); + return; + } + throw ParserException.a("Encrypted Track found but ContentEncKeyID was not found", null); + } + } else if (i == 28032) { + c(i); + c cVar3 = this.f949z; + if (cVar3.h && cVar3.i != null) { + throw ParserException.a("Combining encryption and compression is not supported", null); + } + } else if (i == 357149030) { + if (this.w == -9223372036854775807L) { + this.w = 1000000; + } + long j3 = this.f947x; + if (j3 != -9223372036854775807L) { + this.f948y = m(j3); + } + } else if (i != 374648427) { + if (i == 475249515) { + if (!this.A) { + j jVar2 = this.f945f0; + r rVar = this.H; + r rVar2 = this.I; + if (this.v == -1 || this.f948y == -9223372036854775807L || rVar == null || (i10 = rVar.a) == 0 || rVar2 == null || rVar2.a != i10) { + tVar = new t.b(this.f948y, 0); + } else { + int[] iArr = new int[i10]; + long[] jArr = new long[i10]; + long[] jArr2 = new long[i10]; + long[] jArr3 = new long[i10]; + for (int i33 = 0; i33 < i10; i33++) { + jArr3[i33] = rVar.b(i33); + jArr[i33] = rVar2.b(i33) + this.v; + } + while (true) { + i11 = i10 - 1; + if (i12 >= i11) { + break; + } + int i34 = i12 + 1; + iArr[i12] = (int) (jArr[i34] - jArr[i12]); + jArr2[i12] = jArr3[i34] - jArr3[i12]; + i12 = i34; + } + iArr[i11] = (int) ((this.v + this.u) - jArr[i11]); + jArr2[i11] = this.f948y - jArr3[i11]; + long j4 = jArr2[i11]; + if (j4 <= 0) { + StringBuilder sb5 = new StringBuilder(72); + sb5.append("Discarding last cue point with unexpected duration: "); + sb5.append(j4); + Log.w("MatroskaExtractor", sb5.toString()); + iArr = Arrays.copyOf(iArr, i11); + jArr = Arrays.copyOf(jArr, i11); + jArr2 = Arrays.copyOf(jArr2, i11); + jArr3 = Arrays.copyOf(jArr3, i11); + } + tVar = new c.i.a.c.x2.c(iArr, jArr, jArr2, jArr3); + } + jVar2.a(tVar); + this.A = true; + } + this.H = null; + this.I = null; + } + } else if (this.h.size() != 0) { + this.f945f0.j(); + } else { + throw ParserException.a("No valid tracks were found", null); + } + } else if (this.L == 2) { + int i35 = 0; + for (int i36 = 0; i36 < this.P; i36++) { + i35 += this.Q[i36]; + } + c cVar4 = this.h.get(this.R); + Objects.requireNonNull(cVar4.X); + int i37 = 0; + while (i37 < this.P) { + long j5 = this.M + ((long) ((cVar4.e * i37) / 1000)); + int i38 = this.T; + if (i37 == 0 && !this.V) { + i38 |= 1; + } + int i39 = this.Q[i37]; + int i40 = i35 - i39; + d(cVar4, j5, i38, i39, i40); + i37++; + i35 = i40; + } + this.L = 0; + } + } + + public final void k(i iVar, int i) throws IOException { + x xVar = this.l; + if (xVar.f792c < i) { + byte[] bArr = xVar.a; + if (bArr.length < i) { + xVar.b(Math.max(bArr.length * 2, i)); + } + x xVar2 = this.l; + byte[] bArr2 = xVar2.a; + int i2 = xVar2.f792c; + iVar.readFully(bArr2, i2, i - i2); + this.l.D(i); + } + } + + public final void l() { + this.W = 0; + this.X = 0; + this.Y = 0; + this.Z = false; + this.f940a0 = false; + this.f941b0 = false; + this.f942c0 = 0; + this.f943d0 = 0; + this.f944e0 = false; + this.o.A(0); + } + + public final long m(long j) throws ParserException { + long j2 = this.w; + if (j2 != -9223372036854775807L) { + return e0.F(j, j2, 1000); + } + throw ParserException.a("Can't scale timecode prior to timecodeScale being set.", null); + } + + @RequiresNonNull({"#2.output"}) + public final int n(i iVar, c cVar, int i) throws IOException { + int i2; + if ("S_TEXT/UTF8".equals(cVar.b)) { + o(iVar, a, i); + int i3 = this.X; + l(); + return i3; + } else if ("S_TEXT/ASS".equals(cVar.b)) { + o(iVar, f939c, i); + int i4 = this.X; + l(); + return i4; + } else { + w wVar = cVar.X; + boolean z2 = true; + if (!this.Z) { + if (cVar.h) { + this.T &= -1073741825; + int i5 = 128; + if (!this.f940a0) { + iVar.readFully(this.l.a, 0, 1); + this.W++; + byte[] bArr = this.l.a; + if ((bArr[0] & 128) != 128) { + this.f943d0 = bArr[0]; + this.f940a0 = true; + } else { + throw ParserException.a("Extension bit is set in signal byte", null); + } + } + byte b2 = this.f943d0; + if ((b2 & 1) == 1) { + boolean z3 = (b2 & 2) == 2; + this.T |= BasicMeasure.EXACTLY; + if (!this.f944e0) { + iVar.readFully(this.q.a, 0, 8); + this.W += 8; + this.f944e0 = true; + x xVar = this.l; + byte[] bArr2 = xVar.a; + if (!z3) { + i5 = 0; + } + bArr2[0] = (byte) (i5 | 8); + xVar.E(0); + wVar.f(this.l, 1, 1); + this.X++; + this.q.E(0); + wVar.f(this.q, 8, 1); + this.X += 8; + } + if (z3) { + if (!this.f941b0) { + iVar.readFully(this.l.a, 0, 1); + this.W++; + this.l.E(0); + this.f942c0 = this.l.t(); + this.f941b0 = true; + } + int i6 = this.f942c0 * 4; + this.l.A(i6); + iVar.readFully(this.l.a, 0, i6); + this.W += i6; + short s2 = (short) ((this.f942c0 / 2) + 1); + int i7 = (s2 * 6) + 2; + ByteBuffer byteBuffer = this.t; + if (byteBuffer == null || byteBuffer.capacity() < i7) { + this.t = ByteBuffer.allocate(i7); + } + this.t.position(0); + this.t.putShort(s2); + int i8 = 0; + int i9 = 0; + while (true) { + i2 = this.f942c0; + if (i8 >= i2) { + break; + } + int w = this.l.w(); + if (i8 % 2 == 0) { + this.t.putShort((short) (w - i9)); + } else { + this.t.putInt(w - i9); + } + i8++; + i9 = w; + } + int i10 = (i - this.W) - i9; + if (i2 % 2 == 1) { + this.t.putInt(i10); + } else { + this.t.putShort((short) i10); + this.t.putInt(0); + } + this.r.C(this.t.array(), i7); + wVar.f(this.r, i7, 1); + this.X += i7; + } + } + } else { + byte[] bArr3 = cVar.i; + if (bArr3 != null) { + x xVar2 = this.o; + int length = bArr3.length; + xVar2.a = bArr3; + xVar2.f792c = length; + xVar2.b = 0; + } + } + if (cVar.f > 0) { + this.T |= 268435456; + this.f946s.A(0); + this.l.A(4); + x xVar3 = this.l; + byte[] bArr4 = xVar3.a; + bArr4[0] = (byte) ((i >> 24) & 255); + bArr4[1] = (byte) ((i >> 16) & 255); + bArr4[2] = (byte) ((i >> 8) & 255); + bArr4[3] = (byte) (i & 255); + wVar.f(xVar3, 4, 2); + this.X += 4; + } + this.Z = true; + } + int i11 = i + this.o.f792c; + if (!"V_MPEG4/ISO/AVC".equals(cVar.b) && !"V_MPEGH/ISO/HEVC".equals(cVar.b)) { + if (cVar.T != null) { + if (this.o.f792c != 0) { + z2 = false; + } + d.D(z2); + cVar.T.c(iVar); + } + while (true) { + int i12 = this.W; + if (i12 >= i11) { + break; + } + int p = p(iVar, wVar, i11 - i12); + this.W += p; + this.X += p; + } + } else { + byte[] bArr5 = this.k.a; + bArr5[0] = 0; + bArr5[1] = 0; + bArr5[2] = 0; + int i13 = cVar.Y; + int i14 = 4 - i13; + while (this.W < i11) { + int i15 = this.Y; + if (i15 == 0) { + int min = Math.min(i13, this.o.a()); + iVar.readFully(bArr5, i14 + min, i13 - min); + if (min > 0) { + x xVar4 = this.o; + System.arraycopy(xVar4.a, xVar4.b, bArr5, i14, min); + xVar4.b += min; + } + this.W += i13; + this.k.E(0); + this.Y = this.k.w(); + this.j.E(0); + wVar.c(this.j, 4); + this.X += 4; + } else { + int p2 = p(iVar, wVar, i15); + this.W += p2; + this.X += p2; + this.Y -= p2; + } + } + } + if ("A_VORBIS".equals(cVar.b)) { + this.m.E(0); + wVar.c(this.m, 4); + this.X += 4; + } + int i16 = this.X; + l(); + return i16; + } + } + + public final void o(i iVar, byte[] bArr, int i) throws IOException { + int length = bArr.length + i; + x xVar = this.p; + byte[] bArr2 = xVar.a; + if (bArr2.length < length) { + xVar.B(Arrays.copyOf(bArr, length + i)); + } else { + System.arraycopy(bArr, 0, bArr2, 0, bArr.length); + } + iVar.readFully(this.p.a, bArr.length, i); + this.p.E(0); + this.p.D(length); + } + + public final int p(i iVar, w wVar, int i) throws IOException { + int a2 = this.o.a(); + if (a2 <= 0) { + return wVar.b(iVar, i, false); + } + int min = Math.min(i, a2); + wVar.c(this.o, min); + return min; + } + + @Override // c.i.a.c.x2.h + public final void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/g0/f.java b/app/src/main/java/c/i/a/c/x2/g0/f.java new file mode 100644 index 0000000000..7cc22f0cc2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/g0/f.java @@ -0,0 +1,33 @@ +package c.i.a.c.x2.g0; + +import c.i.a.c.f3.x; +import c.i.a.c.x2.i; +import java.io.IOException; +/* compiled from: Sniffer */ +public final class f { + public final x a = new x(8); + public int b; + + public final long a(i iVar) throws IOException { + int i = 0; + iVar.o(this.a.a, 0, 1); + int i2 = this.a.a[0] & 255; + if (i2 == 0) { + return Long.MIN_VALUE; + } + int i3 = 128; + int i4 = 0; + while ((i2 & i3) == 0) { + i3 >>= 1; + i4++; + } + int i5 = i2 & (~i3); + iVar.o(this.a.a, 1, i4); + while (i < i4) { + i++; + i5 = (this.a.a[i] & 255) + (i5 << 8); + } + this.b = i4 + 1 + this.b; + return (long) i5; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/g0/g.java b/app/src/main/java/c/i/a/c/x2/g0/g.java new file mode 100644 index 0000000000..8253ee791e --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/g0/g.java @@ -0,0 +1,63 @@ +package c.i.a.c.x2.g0; + +import c.i.a.c.x2.i; +import java.io.IOException; +/* compiled from: VarintReader */ +public final class g { + public static final long[] a = {128, 64, 32, 16, 8, 4, 2, 1}; + public final byte[] b = new byte[8]; + + /* renamed from: c reason: collision with root package name */ + public int f955c; + public int d; + + public static long a(byte[] bArr, int i, boolean z2) { + long j = ((long) bArr[0]) & 255; + if (z2) { + j &= ~a[i - 1]; + } + for (int i2 = 1; i2 < i; i2++) { + j = (j << 8) | (((long) bArr[i2]) & 255); + } + return j; + } + + public static int b(int i) { + int i2 = 0; + while (true) { + long[] jArr = a; + if (i2 >= jArr.length) { + return -1; + } + if ((jArr[i2] & ((long) i)) != 0) { + return i2 + 1; + } + i2++; + } + } + + public long c(i iVar, boolean z2, boolean z3, int i) throws IOException { + if (this.f955c == 0) { + if (!iVar.c(this.b, 0, 1, z2)) { + return -1; + } + int b = b(this.b[0] & 255); + this.d = b; + if (b != -1) { + this.f955c = 1; + } else { + throw new IllegalStateException("No valid varint length mask found"); + } + } + int i2 = this.d; + if (i2 > i) { + this.f955c = 0; + return -2; + } + if (i2 != 1) { + iVar.readFully(this.b, 1, i2 - 1); + } + this.f955c = 0; + return a(this.b, this.d, z3); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/h.java b/app/src/main/java/c/i/a/c/x2/h.java new file mode 100644 index 0000000000..a39e98ad60 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/h.java @@ -0,0 +1,15 @@ +package c.i.a.c.x2; + +import java.io.IOException; +/* compiled from: Extractor */ +public interface h { + boolean b(i iVar) throws IOException; + + int e(i iVar, s sVar) throws IOException; + + void f(j jVar); + + void g(long j, long j2); + + void release(); +} diff --git a/app/src/main/java/c/i/a/c/x2/h0/a.java b/app/src/main/java/c/i/a/c/x2/h0/a.java new file mode 100644 index 0000000000..cf99c02590 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/h0/a.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.h0; + +import android.net.Uri; +import c.i.a.c.x2.h; +import c.i.a.c.x2.k; +import c.i.a.c.x2.l; +import java.util.Map; +/* compiled from: lambda */ +public final /* synthetic */ class a implements l { + public static final /* synthetic */ a a = new a(); + + @Override // c.i.a.c.x2.l + public final h[] a() { + return new h[]{new f(0)}; + } + + @Override // c.i.a.c.x2.l + public /* synthetic */ h[] b(Uri uri, Map map) { + return k.a(this, uri, map); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/h0/b.java b/app/src/main/java/c/i/a/c/x2/h0/b.java new file mode 100644 index 0000000000..43962878f8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/h0/b.java @@ -0,0 +1,13 @@ +package c.i.a.c.x2.h0; + +import c.i.a.c.z2.k.b; +/* compiled from: lambda */ +public final /* synthetic */ class b implements b.a { + public static final /* synthetic */ b a = new b(); + + @Override // c.i.a.c.z2.k.b.a + public final boolean a(int i, int i2, int i3, int i4, int i5) { + b.a aVar = f.a; + return (i2 == 67 && i3 == 79 && i4 == 77 && (i5 == 77 || i == 2)) || (i2 == 77 && i3 == 76 && i4 == 76 && (i5 == 84 || i == 2)); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/h0/c.java b/app/src/main/java/c/i/a/c/x2/h0/c.java new file mode 100644 index 0000000000..ea10b9281c --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/h0/c.java @@ -0,0 +1,20 @@ +package c.i.a.c.x2.h0; + +import c.i.a.c.t2.a0; +import c.i.a.c.x2.d; +/* compiled from: ConstantBitrateSeeker */ +public final class c extends d implements g { + public c(long j, long j2, a0.a aVar, boolean z2) { + super(j, j2, aVar.f, aVar.f885c, z2); + } + + @Override // c.i.a.c.x2.h0.g + public long a() { + return -1; + } + + @Override // c.i.a.c.x2.h0.g + public long d(long j) { + return d.e(j, this.b, this.e); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/h0/d.java b/app/src/main/java/c/i/a/c/x2/h0/d.java new file mode 100644 index 0000000000..c0da537ae1 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/h0/d.java @@ -0,0 +1,66 @@ +package c.i.a.c.x2.h0; + +import c.i.a.c.f3.e0; +import c.i.a.c.f3.r; +import c.i.a.c.x2.t; +import c.i.a.c.x2.u; +/* compiled from: IndexSeeker */ +public final class d implements g { + public final long a; + public final r b; + + /* renamed from: c reason: collision with root package name */ + public final r f956c; + public long d; + + public d(long j, long j2, long j3) { + this.d = j; + this.a = j3; + r rVar = new r(); + this.b = rVar; + r rVar2 = new r(); + this.f956c = rVar2; + rVar.a(0); + rVar2.a(j2); + } + + @Override // c.i.a.c.x2.h0.g + public long a() { + return this.a; + } + + public boolean b(long j) { + r rVar = this.b; + return j - rVar.b(rVar.a - 1) < 100000; + } + + @Override // c.i.a.c.x2.t + public boolean c() { + return true; + } + + @Override // c.i.a.c.x2.h0.g + public long d(long j) { + return this.b.b(e0.c(this.f956c, j, true, true)); + } + + @Override // c.i.a.c.x2.t + public t.a h(long j) { + int c2 = e0.c(this.b, j, true, true); + long b = this.b.b(c2); + u uVar = new u(b, this.f956c.b(c2)); + if (b != j) { + r rVar = this.b; + if (c2 != rVar.a - 1) { + int i = c2 + 1; + return new t.a(uVar, new u(rVar.b(i), this.f956c.b(i))); + } + } + return new t.a(uVar); + } + + @Override // c.i.a.c.x2.t + public long i() { + return this.d; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/h0/e.java b/app/src/main/java/c/i/a/c/x2/h0/e.java new file mode 100644 index 0000000000..cc9cd1416e --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/h0/e.java @@ -0,0 +1,59 @@ +package c.i.a.c.x2.h0; + +import android.util.Pair; +import c.i.a.c.f3.e0; +import c.i.a.c.x2.t; +import c.i.a.c.x2.u; +import com.google.android.material.shadow.ShadowDrawableWrapper; +/* compiled from: MlltSeeker */ +public final class e implements g { + public final long[] a; + public final long[] b; + + /* renamed from: c reason: collision with root package name */ + public final long f957c; + + public e(long[] jArr, long[] jArr2, long j) { + this.a = jArr; + this.b = jArr2; + this.f957c = j == -9223372036854775807L ? e0.B(jArr2[jArr2.length - 1]) : j; + } + + public static Pair b(long j, long[] jArr, long[] jArr2) { + int e = e0.e(jArr, j, true, true); + long j2 = jArr[e]; + long j3 = jArr2[e]; + int i = e + 1; + if (i == jArr.length) { + return Pair.create(Long.valueOf(j2), Long.valueOf(j3)); + } + long j4 = jArr[i]; + return Pair.create(Long.valueOf(j), Long.valueOf(((long) ((j4 == j2 ? ShadowDrawableWrapper.COS_45 : (((double) j) - ((double) j2)) / ((double) (j4 - j2))) * ((double) (jArr2[i] - j3)))) + j3)); + } + + @Override // c.i.a.c.x2.h0.g + public long a() { + return -1; + } + + @Override // c.i.a.c.x2.t + public boolean c() { + return true; + } + + @Override // c.i.a.c.x2.h0.g + public long d(long j) { + return e0.B(((Long) b(j, this.a, this.b).second).longValue()); + } + + @Override // c.i.a.c.x2.t + public t.a h(long j) { + Pair b = b(e0.M(e0.i(j, 0, this.f957c)), this.b, this.a); + return new t.a(new u(e0.B(((Long) b.first).longValue()), ((Long) b.second).longValue())); + } + + @Override // c.i.a.c.x2.t + public long i() { + return this.f957c; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/h0/f.java b/app/src/main/java/c/i/a/c/x2/h0/f.java new file mode 100644 index 0000000000..21f00ca9b1 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/h0/f.java @@ -0,0 +1,698 @@ +package c.i.a.c.x2.h0; + +import android.util.Log; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.d.b.a.a; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.t2.a0; +import c.i.a.c.x2.g; +import c.i.a.c.x2.h; +import c.i.a.c.x2.h0.g; +import c.i.a.c.x2.i; +import c.i.a.c.x2.j; +import c.i.a.c.x2.p; +import c.i.a.c.x2.q; +import c.i.a.c.x2.s; +import c.i.a.c.x2.w; +import c.i.a.c.z2.k.b; +import com.google.android.exoplayer2.ParserException; +import com.google.android.exoplayer2.metadata.Metadata; +import com.google.android.exoplayer2.metadata.id3.MlltFrame; +import com.google.android.exoplayer2.metadata.id3.TextInformationFrame; +import java.io.EOFException; +import java.io.IOException; +import java.util.Objects; +/* compiled from: Mp3Extractor */ +public final class f implements h { + public static final b.a a = b.a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final long f958c; + public final x d; + public final a0.a e; + public final p f; + public final q g; + public final w h; + public j i; + public w j; + public w k; + public int l; + @Nullable + public Metadata m; + public long n; + public long o; + public long p; + public int q; + public g r; + + /* renamed from: s reason: collision with root package name */ + public boolean f959s; + public boolean t; + public long u; + + static { + a aVar = a.a; + } + + public f() { + this(0); + } + + public f(int i) { + this.b = (i & 2) != 0 ? i | 1 : i; + this.f958c = -9223372036854775807L; + this.d = new x(10); + this.e = new a0.a(); + this.f = new p(); + this.n = -9223372036854775807L; + this.g = new q(); + g gVar = new g(); + this.h = gVar; + this.k = gVar; + } + + public static long d(@Nullable Metadata metadata) { + if (metadata == null) { + return -9223372036854775807L; + } + int length = metadata.i.length; + for (int i = 0; i < length; i++) { + Metadata.Entry entry = metadata.i[i]; + if (entry instanceof TextInformationFrame) { + TextInformationFrame textInformationFrame = (TextInformationFrame) entry; + if (textInformationFrame.i.equals("TLEN")) { + return e0.B(Long.parseLong(textInformationFrame.k)); + } + } + } + return -9223372036854775807L; + } + + public static boolean h(int i, long j) { + return ((long) (i & -128000)) == (j & -128000); + } + + public final long a(long j) { + return ((j * 1000000) / ((long) this.e.d)) + this.n; + } + + @Override // c.i.a.c.x2.h + public boolean b(i iVar) throws IOException { + return j(iVar, true); + } + + public final g c(i iVar, boolean z2) throws IOException { + iVar.o(this.d.a, 0, 4); + this.d.E(0); + this.e.a(this.d.f()); + return new c(iVar.b(), iVar.getPosition(), this.e, z2); + } + + /* JADX WARNING: Code restructure failed: missing block: B:134:0x02f0, code lost: + if ((r1.b & 1) != 0) goto L_0x02f2; + */ + /* JADX WARNING: Code restructure failed: missing block: B:21:0x0061, code lost: + if (r3 != 1231971951) goto L_0x0064; + */ + /* JADX WARNING: Removed duplicated region for block: B:104:0x0253 */ + /* JADX WARNING: Removed duplicated region for block: B:116:0x02a9 */ + /* JADX WARNING: Removed duplicated region for block: B:117:0x02af */ + /* JADX WARNING: Removed duplicated region for block: B:142:0x032f */ + /* JADX WARNING: Removed duplicated region for block: B:143:0x0331 */ + /* JADX WARNING: Removed duplicated region for block: B:186:0x0459 */ + /* JADX WARNING: Removed duplicated region for block: B:30:0x007f A[ADDED_TO_REGION] */ + /* JADX WARNING: Removed duplicated region for block: B:66:0x0179 */ + /* JADX WARNING: Removed duplicated region for block: B:83:0x01ee */ + /* JADX WARNING: Removed duplicated region for block: B:97:0x023b */ + @Override // c.i.a.c.x2.h + public int e(i iVar, s sVar) throws IOException { + f fVar; + int i; + long a2; + i iVar2; + int i2; + h hVar; + Metadata metadata; + e eVar; + i iVar3; + long j; + long j2; + long d; + int f; + int i3; + i iVar4; + int w; + i iVar5; + h hVar2; + h hVar3; + int i4; + d.H(this.j); + int i5 = e0.a; + if (this.l == 0) { + try { + j(iVar, false); + } catch (EOFException unused) { + fVar = this; + } + } + if (this.r == null) { + x xVar = new x(this.e.f885c); + iVar.o(xVar.a, 0, this.e.f885c); + a0.a aVar = this.e; + int i6 = 21; + if ((aVar.a & 1) != 0) { + if (aVar.e != 1) { + i6 = 36; + } + } else if (aVar.e == 1) { + i6 = 13; + } + if (xVar.f792c >= i6 + 4) { + xVar.E(i6); + i2 = xVar.f(); + if (i2 != 1483304551) { + } + String str = ", "; + if (i2 != 1483304551 || i2 == 1231971951) { + fVar = this; + long b = iVar.b(); + long position = iVar.getPosition(); + a0.a aVar2 = fVar.e; + int i7 = aVar2.g; + int i8 = aVar2.d; + f = xVar.f(); + if ((f & 1) == 1 || (w = xVar.w()) == 0) { + i3 = i6; + iVar4 = null; + } else { + i3 = i6; + long F = e0.F((long) w, ((long) i7) * 1000000, (long) i8); + if ((f & 6) != 6) { + iVar5 = new i(position, aVar2.f885c, F, -1, null); + } else { + long u = xVar.u(); + long[] jArr = new long[100]; + for (int i9 = 0; i9 < 100; i9++) { + jArr[i9] = (long) xVar.t(); + } + if (b != -1) { + long j3 = position + u; + if (b != j3) { + StringBuilder P = a.P(67, "XING data size mismatch: ", b, str); + P.append(j3); + Log.w("XingSeeker", P.toString()); + } + } + iVar5 = new i(position, aVar2.f885c, F, u, jArr); + } + iVar4 = iVar5; + } + if (iVar4 != null) { + p pVar = fVar.f; + if (!((pVar.b == -1 || pVar.f1034c == -1) ? false : true)) { + iVar.k(); + iVar2 = iVar; + iVar2.g(i3 + 141); + iVar2.o(fVar.d.a, 0, 3); + fVar.d.E(0); + p pVar2 = fVar.f; + int v = fVar.d.v(); + Objects.requireNonNull(pVar2); + int i10 = v >> 12; + int i11 = v & 4095; + if (i10 > 0 || i11 > 0) { + pVar2.b = i10; + pVar2.f1034c = i11; + } + iVar2.l(fVar.e.f885c); + hVar = iVar4; + if (iVar4 != null) { + boolean c2 = iVar4.c(); + hVar = iVar4; + if (!c2) { + hVar = iVar4; + if (i2 == 1231971951) { + hVar = fVar.c(iVar2, false); + } + } + } + } + } + iVar2 = iVar; + iVar2.l(fVar.e.f885c); + hVar = iVar4; + if (iVar4 != null) { + } + } else { + if (i2 == 1447187017) { + long b2 = iVar.b(); + long position2 = iVar.getPosition(); + a0.a aVar3 = this.e; + xVar.F(10); + int f2 = xVar.f(); + if (f2 > 0) { + int i12 = aVar3.d; + long F2 = e0.F((long) f2, ((long) (i12 >= 32000 ? 1152 : 576)) * 1000000, (long) i12); + int y2 = xVar.y(); + int y3 = xVar.y(); + int y4 = xVar.y(); + xVar.F(2); + long j4 = ((long) aVar3.f885c) + position2; + long[] jArr2 = new long[y2]; + long[] jArr3 = new long[y2]; + int i13 = 0; + long j5 = position2; + while (true) { + if (i13 < y2) { + jArr2[i13] = (((long) i13) * F2) / ((long) y2); + jArr3[i13] = Math.max(j5, j4); + if (y4 == 1) { + i4 = xVar.t(); + } else if (y4 == 2) { + i4 = xVar.y(); + } else if (y4 == 3) { + i4 = xVar.v(); + } else if (y4 != 4) { + break; + } else { + i4 = xVar.w(); + } + j5 += (long) (i4 * y3); + i13++; + str = str; + b2 = b2; + } else { + if (!(b2 == -1 || b2 == j5)) { + StringBuilder P2 = a.P(67, "VBRI data size mismatch: ", b2, str); + P2.append(j5); + Log.w("VbriSeeker", P2.toString()); + } + hVar3 = new h(jArr2, jArr3, F2, j5); + } + } + fVar = this; + iVar.l(fVar.e.f885c); + iVar2 = iVar; + hVar2 = hVar3; + } + hVar3 = null; + fVar = this; + iVar.l(fVar.e.f885c); + iVar2 = iVar; + hVar2 = hVar3; + } else { + fVar = this; + iVar.k(); + iVar2 = iVar; + hVar2 = null; + } + hVar = hVar2; + } + metadata = fVar.m; + long position3 = iVar.getPosition(); + if (metadata != null) { + int length = metadata.i.length; + int i14 = 0; + while (true) { + if (i14 >= length) { + break; + } + Metadata.Entry entry = metadata.i[i14]; + if (entry instanceof MlltFrame) { + MlltFrame mlltFrame = (MlltFrame) entry; + long d2 = d(metadata); + int length2 = mlltFrame.m.length; + int i15 = length2 + 1; + long[] jArr4 = new long[i15]; + long[] jArr5 = new long[i15]; + jArr4[0] = position3; + jArr5[0] = 0; + long j6 = 0; + for (int i16 = 1; i16 <= length2; i16++) { + int i17 = i16 - 1; + position3 += (long) (mlltFrame.k + mlltFrame.m[i17]); + j6 += (long) (mlltFrame.l + mlltFrame.n[i17]); + jArr4[i16] = position3; + jArr5[i16] = j6; + } + eVar = new e(jArr4, jArr5, d2); + } else { + i14++; + } + } + if (!fVar.f959s) { + iVar3 = new g.a(); + } else { + i iVar6 = hVar; + if ((fVar.b & 4) != 0) { + if (eVar != null) { + d = eVar.f957c; + } else if (hVar != null) { + j2 = hVar.i(); + j = hVar.a(); + iVar6 = new d(j2, iVar.getPosition(), j); + } else { + d = d(fVar.m); + } + j2 = d; + j = -1; + iVar6 = new d(j2, iVar.getPosition(), j); + } else if (eVar != null) { + iVar6 = eVar; + } else if (hVar == null) { + iVar6 = null; + } + if (iVar6 != null) { + boolean c3 = iVar6.c(); + iVar3 = iVar6; + if (!c3) { + iVar3 = iVar6; + } + } + iVar3 = fVar.c(iVar2, (fVar.b & 2) != 0); + } + fVar.r = iVar3; + fVar.i.a(iVar3); + w wVar = fVar.k; + j1.b bVar = new j1.b(); + a0.a aVar4 = fVar.e; + bVar.k = aVar4.b; + bVar.l = 4096; + bVar.f825x = aVar4.e; + bVar.f826y = aVar4.d; + p pVar3 = fVar.f; + bVar.A = pVar3.b; + bVar.B = pVar3.f1034c; + bVar.i = (fVar.b & 8) == 0 ? null : fVar.m; + wVar.e(bVar.a()); + fVar.p = iVar.getPosition(); + } + eVar = null; + if (!fVar.f959s) { + } + fVar.r = iVar3; + fVar.i.a(iVar3); + w wVar = fVar.k; + j1.b bVar = new j1.b(); + a0.a aVar4 = fVar.e; + bVar.k = aVar4.b; + bVar.l = 4096; + bVar.f825x = aVar4.e; + bVar.f826y = aVar4.d; + p pVar3 = fVar.f; + bVar.A = pVar3.b; + bVar.B = pVar3.f1034c; + bVar.i = (fVar.b & 8) == 0 ? null : fVar.m; + wVar.e(bVar.a()); + fVar.p = iVar.getPosition(); + } + if (xVar.f792c >= 40) { + xVar.E(36); + if (xVar.f() == 1447187017) { + i2 = 1447187017; + String str = ", "; + if (i2 != 1483304551) { + } + fVar = this; + long b = iVar.b(); + long position = iVar.getPosition(); + a0.a aVar2 = fVar.e; + int i7 = aVar2.g; + int i8 = aVar2.d; + f = xVar.f(); + if ((f & 1) == 1) { + } + i3 = i6; + iVar4 = null; + if (iVar4 != null) { + } + iVar2 = iVar; + iVar2.l(fVar.e.f885c); + hVar = iVar4; + if (iVar4 != null) { + } + metadata = fVar.m; + long position3 = iVar.getPosition(); + if (metadata != null) { + } + eVar = null; + if (!fVar.f959s) { + } + fVar.r = iVar3; + fVar.i.a(iVar3); + w wVar = fVar.k; + j1.b bVar = new j1.b(); + a0.a aVar4 = fVar.e; + bVar.k = aVar4.b; + bVar.l = 4096; + bVar.f825x = aVar4.e; + bVar.f826y = aVar4.d; + p pVar3 = fVar.f; + bVar.A = pVar3.b; + bVar.B = pVar3.f1034c; + bVar.i = (fVar.b & 8) == 0 ? null : fVar.m; + wVar.e(bVar.a()); + fVar.p = iVar.getPosition(); + } + } + i2 = 0; + String str = ", "; + if (i2 != 1483304551) { + } + fVar = this; + long b = iVar.b(); + long position = iVar.getPosition(); + a0.a aVar2 = fVar.e; + int i7 = aVar2.g; + int i8 = aVar2.d; + f = xVar.f(); + if ((f & 1) == 1) { + } + i3 = i6; + iVar4 = null; + if (iVar4 != null) { + } + iVar2 = iVar; + iVar2.l(fVar.e.f885c); + hVar = iVar4; + if (iVar4 != null) { + } + metadata = fVar.m; + long position3 = iVar.getPosition(); + if (metadata != null) { + } + eVar = null; + if (!fVar.f959s) { + } + fVar.r = iVar3; + fVar.i.a(iVar3); + w wVar = fVar.k; + j1.b bVar = new j1.b(); + a0.a aVar4 = fVar.e; + bVar.k = aVar4.b; + bVar.l = 4096; + bVar.f825x = aVar4.e; + bVar.f826y = aVar4.d; + p pVar3 = fVar.f; + bVar.A = pVar3.b; + bVar.B = pVar3.f1034c; + bVar.i = (fVar.b & 8) == 0 ? null : fVar.m; + wVar.e(bVar.a()); + fVar.p = iVar.getPosition(); + } else { + iVar2 = iVar; + fVar = this; + if (fVar.p != 0) { + long position4 = iVar.getPosition(); + long j7 = fVar.p; + if (position4 < j7) { + iVar2.l((int) (j7 - position4)); + } + } + } + if (fVar.q == 0) { + iVar.k(); + if (!i(iVar)) { + fVar.d.E(0); + int f3 = fVar.d.f(); + if (!h(f3, (long) fVar.l) || a0.a(f3) == -1) { + iVar2.l(1); + fVar.l = 0; + i = 0; + if (i == -1 && (fVar.r instanceof d)) { + a2 = fVar.a(fVar.o); + if (fVar.r.i() != a2) { + g gVar = fVar.r; + ((d) gVar).d = a2; + fVar.i.a(gVar); + } + } + return i; + } + fVar.e.a(f3); + if (fVar.n == -9223372036854775807L) { + fVar.n = fVar.r.d(iVar.getPosition()); + if (fVar.f958c != -9223372036854775807L) { + fVar.n = (fVar.f958c - fVar.r.d(0)) + fVar.n; + } + } + a0.a aVar5 = fVar.e; + fVar.q = aVar5.f885c; + g gVar2 = fVar.r; + if (gVar2 instanceof d) { + d dVar = (d) gVar2; + long a3 = fVar.a(fVar.o + ((long) aVar5.g)); + long position5 = iVar.getPosition() + ((long) fVar.e.f885c); + if (!dVar.b(a3)) { + dVar.b.a(a3); + dVar.f956c.a(position5); + } + if (fVar.t && dVar.b(fVar.u)) { + fVar.t = false; + fVar.k = fVar.j; + } + } + } + i = -1; + a2 = fVar.a(fVar.o); + if (fVar.r.i() != a2) { + } + return i; + } + int b3 = fVar.k.b(iVar2, fVar.q, true); + if (b3 != -1) { + int i18 = fVar.q - b3; + fVar.q = i18; + if (i18 <= 0) { + fVar.k.d(fVar.a(fVar.o), 1, fVar.e.f885c, 0, null); + fVar.o += (long) fVar.e.g; + fVar.q = 0; + } + i = 0; + a2 = fVar.a(fVar.o); + if (fVar.r.i() != a2) { + } + return i; + } + i = -1; + a2 = fVar.a(fVar.o); + if (fVar.r.i() != a2) { + } + return i; + } + + @Override // c.i.a.c.x2.h + public void f(j jVar) { + this.i = jVar; + w p = jVar.p(0, 1); + this.j = p; + this.k = p; + this.i.j(); + } + + @Override // c.i.a.c.x2.h + public void g(long j, long j2) { + this.l = 0; + this.n = -9223372036854775807L; + this.o = 0; + this.q = 0; + this.u = j2; + g gVar = this.r; + if ((gVar instanceof d) && !((d) gVar).b(j2)) { + this.t = true; + this.k = this.h; + } + } + + public final boolean i(i iVar) throws IOException { + g gVar = this.r; + if (gVar != null) { + long a2 = gVar.a(); + if (a2 != -1 && iVar.f() > a2 - 4) { + return true; + } + } + try { + return !iVar.e(this.d.a, 0, 4, true); + } catch (EOFException unused) { + return true; + } + } + + public final boolean j(i iVar, boolean z2) throws IOException { + int i; + int i2; + int a2; + int i3 = z2 ? 32768 : 131072; + iVar.k(); + if (iVar.getPosition() == 0) { + Metadata a3 = this.g.a(iVar, (this.b & 8) == 0 ? null : a); + this.m = a3; + if (a3 != null) { + this.f.b(a3); + } + i = (int) iVar.f(); + if (!z2) { + iVar.l(i); + } + i2 = 0; + } else { + i2 = 0; + i = 0; + } + int i4 = 0; + int i5 = 0; + while (true) { + if (!i(iVar)) { + this.d.E(0); + int f = this.d.f(); + if ((i2 == 0 || h(f, (long) i2)) && (a2 = a0.a(f)) != -1) { + i4++; + if (i4 != 1) { + if (i4 == 4) { + break; + } + } else { + this.e.a(f); + i2 = f; + } + iVar.g(a2 - 4); + } else { + int i6 = i5 + 1; + if (i5 != i3) { + if (z2) { + iVar.k(); + iVar.g(i + i6); + } else { + iVar.l(1); + } + i5 = i6; + i2 = 0; + i4 = 0; + } else if (z2) { + return false; + } else { + throw ParserException.a("Searched too many bytes.", null); + } + } + } else if (i4 <= 0) { + throw new EOFException(); + } + } + if (z2) { + iVar.l(i + i5); + } else { + iVar.k(); + } + this.l = i2; + return true; + } + + @Override // c.i.a.c.x2.h + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/h0/g.java b/app/src/main/java/c/i/a/c/x2/h0/g.java new file mode 100644 index 0000000000..44f45e60e8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/h0/g.java @@ -0,0 +1,27 @@ +package c.i.a.c.x2.h0; + +import c.i.a.c.x2.t; +/* compiled from: Seeker */ +public interface g extends t { + + /* compiled from: Seeker */ + public static class a extends t.b implements g { + public a() { + super(-9223372036854775807L, 0); + } + + @Override // c.i.a.c.x2.h0.g + public long a() { + return -1; + } + + @Override // c.i.a.c.x2.h0.g + public long d(long j) { + return 0; + } + } + + long a(); + + long d(long j); +} diff --git a/app/src/main/java/c/i/a/c/x2/h0/h.java b/app/src/main/java/c/i/a/c/x2/h0/h.java new file mode 100644 index 0000000000..42516df765 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/h0/h.java @@ -0,0 +1,55 @@ +package c.i.a.c.x2.h0; + +import c.i.a.c.f3.e0; +import c.i.a.c.x2.t; +import c.i.a.c.x2.u; +/* compiled from: VbriSeeker */ +public final class h implements g { + public final long[] a; + public final long[] b; + + /* renamed from: c reason: collision with root package name */ + public final long f960c; + public final long d; + + public h(long[] jArr, long[] jArr2, long j, long j2) { + this.a = jArr; + this.b = jArr2; + this.f960c = j; + this.d = j2; + } + + @Override // c.i.a.c.x2.h0.g + public long a() { + return this.d; + } + + @Override // c.i.a.c.x2.t + public boolean c() { + return true; + } + + @Override // c.i.a.c.x2.h0.g + public long d(long j) { + return this.a[e0.e(this.b, j, true, true)]; + } + + @Override // c.i.a.c.x2.t + public t.a h(long j) { + int e = e0.e(this.a, j, true, true); + long[] jArr = this.a; + long j2 = jArr[e]; + long[] jArr2 = this.b; + u uVar = new u(j2, jArr2[e]); + if (j2 >= j || e == jArr.length - 1) { + return new t.a(uVar); + } + int i = e + 1; + return new t.a(uVar, new u(jArr[i], jArr2[i])); + } + + @Override // c.i.a.c.x2.t + public long i() { + return this.f960c; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/h0/i.java b/app/src/main/java/c/i/a/c/x2/h0/i.java new file mode 100644 index 0000000000..5a8cbe8cb1 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/h0/i.java @@ -0,0 +1,86 @@ +package c.i.a.c.x2.h0; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.x2.t; +import c.i.a.c.x2.u; +import com.google.android.material.shadow.ShadowDrawableWrapper; +/* compiled from: XingSeeker */ +public final class i implements g { + public final long a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final long f961c; + public final long d; + public final long e; + @Nullable + public final long[] f; + + public i(long j, int i, long j2, long j3, @Nullable long[] jArr) { + this.a = j; + this.b = i; + this.f961c = j2; + this.f = jArr; + this.d = j3; + this.e = j3 != -1 ? j + j3 : -1; + } + + @Override // c.i.a.c.x2.h0.g + public long a() { + return this.e; + } + + @Override // c.i.a.c.x2.t + public boolean c() { + return this.f != null; + } + + @Override // c.i.a.c.x2.h0.g + public long d(long j) { + long j2 = j - this.a; + if (!c() || j2 <= ((long) this.b)) { + return 0; + } + long[] jArr = this.f; + d.H(jArr); + double d = (((double) j2) * 256.0d) / ((double) this.d); + int e = e0.e(jArr, (long) d, true, true); + long j3 = this.f961c; + long j4 = (((long) e) * j3) / 100; + long j5 = jArr[e]; + int i = e + 1; + long j6 = (j3 * ((long) i)) / 100; + long j7 = e == 99 ? 256 : jArr[i]; + return Math.round((j5 == j7 ? ShadowDrawableWrapper.COS_45 : (d - ((double) j5)) / ((double) (j7 - j5))) * ((double) (j6 - j4))) + j4; + } + + @Override // c.i.a.c.x2.t + public t.a h(long j) { + if (!c()) { + return new t.a(new u(0, this.a + ((long) this.b))); + } + long i = e0.i(j, 0, this.f961c); + double d = (((double) i) * 100.0d) / ((double) this.f961c); + double d2 = ShadowDrawableWrapper.COS_45; + if (d > ShadowDrawableWrapper.COS_45) { + if (d >= 100.0d) { + d2 = 256.0d; + } else { + int i2 = (int) d; + long[] jArr = this.f; + d.H(jArr); + long[] jArr2 = jArr; + double d3 = (double) jArr2[i2]; + d2 = d3 + (((i2 == 99 ? 256.0d : (double) jArr2[i2 + 1]) - d3) * (d - ((double) i2))); + } + } + return new t.a(new u(i, this.a + e0.i(Math.round((d2 / 256.0d) * ((double) this.d)), (long) this.b, this.d - 1))); + } + + @Override // c.i.a.c.x2.t + public long i() { + return this.f961c; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i.java b/app/src/main/java/c/i/a/c/x2/i.java new file mode 100644 index 0000000000..da551de0fd --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i.java @@ -0,0 +1,35 @@ +package c.i.a.c.x2; + +import c.i.a.c.e3.h; +import java.io.IOException; +/* compiled from: ExtractorInput */ +public interface i extends h { + long b(); + + boolean c(byte[] bArr, int i, int i2, boolean z2) throws IOException; + + boolean e(byte[] bArr, int i, int i2, boolean z2) throws IOException; + + long f(); + + void g(int i) throws IOException; + + long getPosition(); + + int h(int i) throws IOException; + + int i(byte[] bArr, int i, int i2) throws IOException; + + void k(); + + void l(int i) throws IOException; + + boolean m(int i, boolean z2) throws IOException; + + void o(byte[] bArr, int i, int i2) throws IOException; + + @Override // c.i.a.c.e3.h + int read(byte[] bArr, int i, int i2) throws IOException; + + void readFully(byte[] bArr, int i, int i2) throws IOException; +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/a.java b/app/src/main/java/c/i/a/c/x2/i0/a.java new file mode 100644 index 0000000000..a37ba0e023 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/a.java @@ -0,0 +1,14 @@ +package c.i.a.c.x2.i0; + +import c.i.b.a.e; +/* compiled from: lambda */ +public final /* synthetic */ class a implements e { + public static final /* synthetic */ a a = new a(); + + @Override // c.i.b.a.e + public final Object apply(Object obj) { + m mVar = (m) obj; + int i = i.a; + return mVar; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/b.java b/app/src/main/java/c/i/a/c/x2/i0/b.java new file mode 100644 index 0000000000..6c30846d80 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/b.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.i0; + +import android.net.Uri; +import c.i.a.c.x2.h; +import c.i.a.c.x2.k; +import c.i.a.c.x2.l; +import java.util.Map; +/* compiled from: lambda */ +public final /* synthetic */ class b implements l { + public static final /* synthetic */ b a = new b(); + + @Override // c.i.a.c.x2.l + public final h[] a() { + return new h[]{new i(0)}; + } + + @Override // c.i.a.c.x2.l + public /* synthetic */ h[] b(Uri uri, Map map) { + return k.a(this, uri, map); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/c.java b/app/src/main/java/c/i/a/c/x2/i0/c.java new file mode 100644 index 0000000000..fa79b253be --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/c.java @@ -0,0 +1,19 @@ +package c.i.a.c.x2.i0; + +import c.i.b.a.e; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class c implements e { + public final /* synthetic */ g a; + + public /* synthetic */ c(g gVar) { + this.a = gVar; + } + + @Override // c.i.b.a.e + public final Object apply(Object obj) { + m mVar = (m) obj; + Objects.requireNonNull(this.a); + return mVar; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/d.java b/app/src/main/java/c/i/a/c/x2/i0/d.java new file mode 100644 index 0000000000..44bcfab971 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/d.java @@ -0,0 +1,86 @@ +package c.i.a.c.x2.i0; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.x; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +/* compiled from: Atom */ +public abstract class d { + public final int a; + + /* compiled from: Atom */ + public static final class a extends d { + public final long b; + + /* renamed from: c reason: collision with root package name */ + public final List f962c = new ArrayList(); + public final List d = new ArrayList(); + + public a(int i, long j) { + super(i); + this.b = j; + } + + @Nullable + public a b(int i) { + int size = this.d.size(); + for (int i2 = 0; i2 < size; i2++) { + a aVar = this.d.get(i2); + if (aVar.a == i) { + return aVar; + } + } + return null; + } + + @Nullable + public b c(int i) { + int size = this.f962c.size(); + for (int i2 = 0; i2 < size; i2++) { + b bVar = this.f962c.get(i2); + if (bVar.a == i) { + return bVar; + } + } + return null; + } + + @Override // c.i.a.c.x2.i0.d + public String toString() { + String a = d.a(this.a); + String arrays = Arrays.toString(this.f962c.toArray()); + String arrays2 = Arrays.toString(this.d.toArray()); + StringBuilder Q = c.d.b.a.a.Q(c.d.b.a.a.b(arrays2, c.d.b.a.a.b(arrays, c.d.b.a.a.b(a, 22))), a, " leaves: ", arrays, " containers: "); + Q.append(arrays2); + return Q.toString(); + } + } + + /* compiled from: Atom */ + public static final class b extends d { + public final x b; + + public b(int i, x xVar) { + super(i); + this.b = xVar; + } + } + + public d(int i) { + this.a = i; + } + + public static String a(int i) { + StringBuilder sb = new StringBuilder(4); + sb.append((char) ((i >> 24) & 255)); + sb.append((char) ((i >> 16) & 255)); + sb.append((char) ((i >> 8) & 255)); + sb.append((char) (i & 255)); + return sb.toString(); + } + + public String toString() { + return a(this.a); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/e.java b/app/src/main/java/c/i/a/c/x2/i0/e.java new file mode 100644 index 0000000000..9049ccc380 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/e.java @@ -0,0 +1,1993 @@ +package c.i.a.c.x2.i0; + +import android.util.Log; +import android.util.Pair; +import androidx.annotation.Nullable; +import androidx.recyclerview.widget.RecyclerView; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.t; +import c.i.a.c.f3.w; +import c.i.a.c.f3.x; +import c.i.a.c.g3.m; +import c.i.a.c.g3.n; +import c.i.a.c.g3.o; +import c.i.a.c.g3.q; +import c.i.a.c.j1; +import c.i.a.c.t2.l; +import c.i.a.c.x2.i0.d; +import c.i.b.b.p; +import com.google.android.exoplayer2.ParserException; +import com.google.android.exoplayer2.drm.DrmInitData; +import com.google.android.material.snackbar.BaseTransientBottomBar; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.Objects; +/* compiled from: AtomParsers */ +public final class e { + public static final byte[] a = e0.w("OpusHead"); + + /* compiled from: AtomParsers */ + public interface a { + int a(); + + int b(); + + int c(); + } + + /* compiled from: AtomParsers */ + public static final class b { + public final n[] a; + @Nullable + public j1 b; + + /* renamed from: c reason: collision with root package name */ + public int f963c; + public int d = 0; + + public b(int i) { + this.a = new n[i]; + } + } + + /* compiled from: AtomParsers */ + public static final class c implements a { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final x f964c; + + public c(d.b bVar, j1 j1Var) { + x xVar = bVar.b; + this.f964c = xVar; + xVar.E(12); + int w = xVar.w(); + if ("audio/raw".equals(j1Var.v)) { + int s2 = e0.s(j1Var.K, j1Var.I); + if (w == 0 || w % s2 != 0) { + Log.w("AtomParsers", c.d.b.a.a.g(88, "Audio sample size mismatch. stsd sample size: ", s2, ", stsz sample size: ", w)); + w = s2; + } + } + this.a = w == 0 ? -1 : w; + this.b = xVar.w(); + } + + @Override // c.i.a.c.x2.i0.e.a + public int a() { + return this.a; + } + + @Override // c.i.a.c.x2.i0.e.a + public int b() { + return this.b; + } + + @Override // c.i.a.c.x2.i0.e.a + public int c() { + int i = this.a; + return i == -1 ? this.f964c.w() : i; + } + } + + /* compiled from: AtomParsers */ + public static final class d implements a { + public final x a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f965c; + public int d; + public int e; + + public d(d.b bVar) { + x xVar = bVar.b; + this.a = xVar; + xVar.E(12); + this.f965c = xVar.w() & 255; + this.b = xVar.w(); + } + + @Override // c.i.a.c.x2.i0.e.a + public int a() { + return -1; + } + + @Override // c.i.a.c.x2.i0.e.a + public int b() { + return this.b; + } + + @Override // c.i.a.c.x2.i0.e.a + public int c() { + int i = this.f965c; + if (i == 8) { + return this.a.t(); + } + if (i == 16) { + return this.a.y(); + } + int i2 = this.d; + this.d = i2 + 1; + if (i2 % 2 != 0) { + return this.e & 15; + } + int t = this.a.t(); + this.e = t; + return (t & 240) >> 4; + } + } + + public static Pair a(x xVar, int i) { + xVar.E(i + 8 + 4); + xVar.F(1); + b(xVar); + xVar.F(2); + int t = xVar.t(); + if ((t & 128) != 0) { + xVar.F(2); + } + if ((t & 64) != 0) { + xVar.F(xVar.y()); + } + if ((t & 32) != 0) { + xVar.F(2); + } + xVar.F(1); + b(xVar); + String d2 = t.d(xVar.t()); + if ("audio/mpeg".equals(d2) || "audio/vnd.dts".equals(d2) || "audio/vnd.dts.hd".equals(d2)) { + return Pair.create(d2, null); + } + xVar.F(12); + xVar.F(1); + int b2 = b(xVar); + byte[] bArr = new byte[b2]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, b2); + xVar.b += b2; + return Pair.create(d2, bArr); + } + + public static int b(x xVar) { + int t = xVar.t(); + int i = t & 127; + while ((t & 128) == 128) { + t = xVar.t(); + i = (i << 7) | (t & 127); + } + return i; + } + + @Nullable + public static Pair c(x xVar, int i, int i2) throws ParserException { + Pair pair; + Integer num; + n nVar; + int i3; + int i4; + byte[] bArr; + int i5 = xVar.b; + while (i5 - i < i2) { + xVar.E(i5); + int f = xVar.f(); + int i6 = 1; + c.c.a.a0.d.q(f > 0, "childAtomSize must be positive"); + if (xVar.f() == 1936289382) { + int i7 = i5 + 8; + int i8 = -1; + int i9 = 0; + String str = null; + Integer num2 = null; + while (i7 - i5 < f) { + xVar.E(i7); + int f2 = xVar.f(); + int f3 = xVar.f(); + if (f3 == 1718775137) { + num2 = Integer.valueOf(xVar.f()); + } else if (f3 == 1935894637) { + xVar.F(4); + str = xVar.q(4); + } else if (f3 == 1935894633) { + i8 = i7; + i9 = f2; + } + i7 += f2; + } + if ("cenc".equals(str) || "cbc1".equals(str) || "cens".equals(str) || "cbcs".equals(str)) { + c.c.a.a0.d.q(num2 != null, "frma atom is mandatory"); + c.c.a.a0.d.q(i8 != -1, "schi atom is mandatory"); + int i10 = i8 + 8; + while (true) { + if (i10 - i8 >= i9) { + num = num2; + nVar = null; + break; + } + xVar.E(i10); + int f4 = xVar.f(); + if (xVar.f() == 1952804451) { + int f5 = (xVar.f() >> 24) & 255; + xVar.F(i6); + if (f5 == 0) { + xVar.F(i6); + i4 = 0; + i3 = 0; + } else { + int t = xVar.t(); + i4 = t & 15; + i3 = (t & 240) >> 4; + } + boolean z2 = xVar.t() == i6; + int t2 = xVar.t(); + byte[] bArr2 = new byte[16]; + System.arraycopy(xVar.a, xVar.b, bArr2, 0, 16); + xVar.b += 16; + if (!z2 || t2 != 0) { + bArr = null; + } else { + int t3 = xVar.t(); + byte[] bArr3 = new byte[t3]; + System.arraycopy(xVar.a, xVar.b, bArr3, 0, t3); + xVar.b += t3; + bArr = bArr3; + } + num = num2; + nVar = new n(z2, str, t2, bArr2, i3, i4, bArr); + } else { + i10 += f4; + i6 = 1; + } + } + c.c.a.a0.d.q(nVar != null, "tenc atom is mandatory"); + int i11 = e0.a; + pair = Pair.create(num, nVar); + } else { + pair = null; + } + if (pair != null) { + return pair; + } + } + i5 += f; + } + return null; + } + + /* JADX WARNING: Code restructure failed: missing block: B:489:0x0a3f, code lost: + if (r21 == null) goto L_0x0a53; + */ + /* JADX WARNING: Removed duplicated region for block: B:222:0x0374 */ + /* JADX WARNING: Removed duplicated region for block: B:309:0x061e */ + public static b d(x xVar, int i, int i2, String str, @Nullable DrmInitData drmInitData, boolean z2) throws ParserException { + int i3; + int i4; + int i5; + int i6; + b bVar; + DrmInitData drmInitData2; + int i7; + int i8; + byte[] bArr; + int i9; + int i10; + b bVar2; + int i11; + int i12; + int i13; + int i14; + int i15; + b bVar3; + int i16; + int i17; + int i18; + List list; + String str2; + float f; + List list2; + int i19; + int i20; + int i21; + int i22; + int i23; + int i24; + int i25; + DrmInitData drmInitData3; + int i26; + int i27; + int i28; + String str3; + String str4; + p pVar; + int i29; + int i30; + boolean z3; + String str5; + int i31; + int i32; + p pVar2; + int i33; + int i34; + int i35; + int i36; + String str6; + int i37; + p pVar3; + String str7; + String str8; + p pVar4; + String str9 = str; + DrmInitData drmInitData4 = drmInitData; + xVar.E(12); + int f2 = xVar.f(); + b bVar4 = new b(f2); + int i38 = 0; + while (i38 < f2) { + int i39 = xVar.b; + int f3 = xVar.f(); + String str10 = "childAtomSize must be positive"; + c.c.a.a0.d.q(f3 > 0, str10); + int f4 = xVar.f(); + if (f4 == 1635148593 || f4 == 1635148595 || f4 == 1701733238 || f4 == 1831958048 || f4 == 1836070006 || f4 == 1752589105 || f4 == 1751479857 || f4 == 1932670515 || f4 == 1211250227 || f4 == 1987063864 || f4 == 1987063865 || f4 == 1635135537 || f4 == 1685479798 || f4 == 1685479729 || f4 == 1685481573 || f4 == 1685481521) { + i6 = f2; + i5 = i38; + xVar.E(i39 + 8 + 8); + xVar.F(16); + int y2 = xVar.y(); + int y3 = xVar.y(); + xVar.F(50); + int i40 = xVar.b; + if (f4 == 1701733238) { + i8 = i39; + i7 = f3; + Pair c2 = c(xVar, i8, i7); + if (c2 != null) { + f4 = ((Integer) c2.first).intValue(); + drmInitData2 = drmInitData == null ? null : drmInitData.a(((n) c2.second).b); + bVar4.a[i5] = (n) c2.second; + } else { + drmInitData2 = drmInitData; + } + xVar.E(i40); + } else { + i8 = i39; + i7 = f3; + drmInitData2 = drmInitData; + } + String str11 = f4 == 1831958048 ? "video/mpeg" : f4 == 1211250227 ? "video/3gpp" : null; + float f5 = 1.0f; + ByteBuffer byteBuffer = null; + boolean z4 = false; + byte[] bArr2 = null; + String str12 = null; + List list3 = null; + int i41 = -1; + int i42 = -1; + int i43 = -1; + int i44 = -1; + while (true) { + if (i40 - i8 >= i7) { + bArr = bArr2; + i9 = y2; + i10 = y3; + bVar2 = bVar4; + i4 = i8; + i3 = i7; + i11 = i44; + break; + } + xVar.E(i40); + int i45 = xVar.b; + i11 = i44; + int f6 = xVar.f(); + bArr = bArr2; + if (f6 == 0 && xVar.b - i8 == i7) { + i9 = y2; + i10 = y3; + bVar2 = bVar4; + i4 = i8; + i3 = i7; + break; + } + c.c.a.a0.d.q(f6 > 0, str10); + int f7 = xVar.f(); + if (f7 == 1635148611) { + c.c.a.a0.d.q(str11 == null, null); + xVar.E(i45 + 8); + m b2 = m.b(xVar); + list = b2.a; + bVar4.f963c = b2.b; + if (!z4) { + f5 = b2.e; + } + str12 = b2.f; + str2 = "video/avc"; + } else if (f7 == 1752589123) { + c.c.a.a0.d.q(str11 == null, null); + xVar.E(i45 + 8); + q a2 = q.a(xVar); + list = a2.a; + bVar4.f963c = a2.b; + if (!z4) { + f5 = a2.f797c; + } + str12 = a2.d; + str2 = "video/hevc"; + } else { + if (f7 == 1685480259 || f7 == 1685485123) { + i14 = y2; + i15 = y3; + bVar3 = bVar4; + i17 = i8; + i16 = i7; + i18 = f4; + f = f5; + o a3 = o.a(xVar); + if (a3 != null) { + str11 = "video/dolby-vision"; + str12 = a3.a; + } + } else if (f7 == 1987076931) { + c.c.a.a0.d.q(str11 == null, null); + str2 = f4 == 1987063864 ? "video/x-vnd.on2.vp8" : "video/x-vnd.on2.vp9"; + list = list3; + } else { + if (f7 == 1635135811) { + c.c.a.a0.d.q(str11 == null, null); + str11 = "video/av01"; + } else if (f7 == 1668050025) { + if (byteBuffer == null) { + byteBuffer = ByteBuffer.allocate(25).order(ByteOrder.LITTLE_ENDIAN); + } + byteBuffer.position(21); + byteBuffer.putShort(xVar.p()); + byteBuffer.putShort(xVar.p()); + byteBuffer = byteBuffer; + } else if (f7 == 1835295606) { + if (byteBuffer == null) { + byteBuffer = ByteBuffer.allocate(25).order(ByteOrder.LITTLE_ENDIAN); + } + short p = xVar.p(); + short p2 = xVar.p(); + i18 = f4; + short p3 = xVar.p(); + i17 = i8; + short p4 = xVar.p(); + i16 = i7; + short p5 = xVar.p(); + bVar3 = bVar4; + short p6 = xVar.p(); + short p7 = xVar.p(); + i15 = y3; + short p8 = xVar.p(); + long u = xVar.u(); + long u2 = xVar.u(); + i14 = y2; + byteBuffer.position(1); + byteBuffer.putShort(p5); + byteBuffer.putShort(p6); + byteBuffer.putShort(p); + byteBuffer.putShort(p2); + byteBuffer.putShort(p3); + byteBuffer.putShort(p4); + byteBuffer.putShort(p7); + byteBuffer.putShort(p8); + byteBuffer.putShort((short) ((int) (u / 10000))); + byteBuffer.putShort((short) ((int) (u2 / 10000))); + byteBuffer = byteBuffer; + list = list3; + f5 = f5; + list3 = list; + bArr2 = bArr; + i40 += f6; + i44 = i11; + str10 = str10; + f4 = i18; + i8 = i17; + i7 = i16; + bVar4 = bVar3; + y3 = i15; + y2 = i14; + } else { + i14 = y2; + i15 = y3; + bVar3 = bVar4; + i17 = i8; + i16 = i7; + i18 = f4; + f = f5; + if (f7 == 1681012275) { + c.c.a.a0.d.q(str11 == null, null); + str11 = "video/3gpp"; + } else if (f7 == 1702061171) { + c.c.a.a0.d.q(str11 == null, null); + Pair a4 = a(xVar, i45); + str11 = (String) a4.first; + byte[] bArr3 = (byte[]) a4.second; + if (bArr3 != null) { + list2 = p.u(bArr3); + bArr2 = bArr; + list3 = list2; + f5 = f; + i40 += f6; + i44 = i11; + str10 = str10; + f4 = i18; + i8 = i17; + i7 = i16; + bVar4 = bVar3; + y3 = i15; + y2 = i14; + } + list2 = list3; + bArr2 = bArr; + list3 = list2; + f5 = f; + i40 += f6; + i44 = i11; + str10 = str10; + f4 = i18; + i8 = i17; + i7 = i16; + bVar4 = bVar3; + y3 = i15; + y2 = i14; + } else if (f7 == 1885434736) { + xVar.E(i45 + 8); + f5 = ((float) xVar.w()) / ((float) xVar.w()); + bArr2 = bArr; + z4 = true; + i40 += f6; + i44 = i11; + str10 = str10; + f4 = i18; + i8 = i17; + i7 = i16; + bVar4 = bVar3; + y3 = i15; + y2 = i14; + } else if (f7 == 1937126244) { + int i46 = i45 + 8; + while (true) { + if (i46 - i45 >= f6) { + bArr2 = null; + break; + } + xVar.E(i46); + int f8 = xVar.f(); + if (xVar.f() == 1886547818) { + bArr2 = Arrays.copyOfRange(xVar.a, i46, f8 + i46); + break; + } + i46 += f8; + } + list2 = list3; + list3 = list2; + f5 = f; + i40 += f6; + i44 = i11; + str10 = str10; + f4 = i18; + i8 = i17; + i7 = i16; + bVar4 = bVar3; + y3 = i15; + y2 = i14; + } else if (f7 == 1936995172) { + int t = xVar.t(); + xVar.F(3); + if (t == 0) { + int t2 = xVar.t(); + if (t2 == 0) { + i19 = 0; + } else if (t2 == 1) { + i19 = 1; + } else if (t2 == 2) { + i19 = 2; + } else if (t2 == 3) { + i19 = 3; + } + i11 = i19; + list2 = list3; + bArr2 = bArr; + list3 = list2; + f5 = f; + i40 += f6; + i44 = i11; + str10 = str10; + f4 = i18; + i8 = i17; + i7 = i16; + bVar4 = bVar3; + y3 = i15; + y2 = i14; + } + } else if (f7 == 1668246642) { + int f9 = xVar.f(); + if (f9 == 1852009592 || f9 == 1852009571) { + int y4 = xVar.y(); + int y5 = xVar.y(); + xVar.F(2); + boolean z5 = f6 == 19 && (xVar.t() & 128) != 0; + int a5 = n.a(y4); + int i47 = z5 ? 1 : 2; + i43 = a5; + i41 = n.b(y5); + i42 = i47; + } else { + String valueOf = String.valueOf(d.a(f9)); + Log.w("AtomParsers", valueOf.length() != 0 ? "Unsupported color type: ".concat(valueOf) : new String("Unsupported color type: ")); + } + } + } + list = list3; + i14 = y2; + i15 = y3; + bVar3 = bVar4; + i17 = i8; + i16 = i7; + i18 = f4; + list3 = list; + bArr2 = bArr; + i40 += f6; + i44 = i11; + str10 = str10; + f4 = i18; + i8 = i17; + i7 = i16; + bVar4 = bVar3; + y3 = i15; + y2 = i14; + } + i19 = i11; + i11 = i19; + list2 = list3; + bArr2 = bArr; + list3 = list2; + f5 = f; + i40 += f6; + i44 = i11; + str10 = str10; + f4 = i18; + i8 = i17; + i7 = i16; + bVar4 = bVar3; + y3 = i15; + y2 = i14; + } + str11 = str2; + i14 = y2; + i15 = y3; + bVar3 = bVar4; + i17 = i8; + i16 = i7; + i18 = f4; + list3 = list; + bArr2 = bArr; + i40 += f6; + i44 = i11; + str10 = str10; + f4 = i18; + i8 = i17; + i7 = i16; + bVar4 = bVar3; + y3 = i15; + y2 = i14; + } + byte[] bArr4 = null; + if (str11 == null) { + bVar = bVar2; + } else { + j1.b bVar5 = new j1.b(); + bVar5.b(i); + bVar5.k = str11; + bVar5.h = str12; + bVar5.p = i9; + bVar5.q = i10; + bVar5.t = f5; + bVar5.f824s = i2; + bVar5.u = bArr; + bVar5.v = i11; + bVar5.m = list3; + bVar5.n = drmInitData2; + if (i43 == -1) { + i13 = i42; + i12 = i41; + if (i13 == -1) { + if (i12 == -1) { + } + } + } else { + i12 = i41; + i13 = i42; + } + if (byteBuffer != null) { + bArr4 = byteBuffer.array(); + } + bVar5.w = new n(i43, i13, i12, bArr4); + j1 a6 = bVar5.a(); + bVar = bVar2; + bVar.b = a6; + } + } else if (f4 == 1836069985 || f4 == 1701733217 || f4 == 1633889587 || f4 == 1700998451 || f4 == 1633889588 || f4 == 1835823201 || f4 == 1685353315 || f4 == 1685353317 || f4 == 1685353320 || f4 == 1685353324 || f4 == 1685353336 || f4 == 1935764850 || f4 == 1935767394 || f4 == 1819304813 || f4 == 1936684916 || f4 == 1953984371 || f4 == 778924082 || f4 == 778924083 || f4 == 1835557169 || f4 == 1835560241 || f4 == 1634492771 || f4 == 1634492791 || f4 == 1970037111 || f4 == 1332770163 || f4 == 1716281667) { + xVar.E(i39 + 8 + 8); + if (z2) { + i20 = xVar.y(); + xVar.F(6); + } else { + xVar.F(8); + i20 = 0; + } + if (i20 == 0 || i20 == 1) { + int y6 = xVar.y(); + xVar.F(6); + byte[] bArr5 = xVar.a; + int i48 = xVar.b; + int i49 = i48 + 1; + xVar.b = i49; + i6 = f2; + int i50 = i49 + 1; + xVar.b = i50; + i23 = (bArr5[i49] & 255) | ((bArr5[i48] & 255) << 8); + int i51 = i50 + 2; + xVar.b = i51; + xVar.E(i51 - 4); + int f10 = xVar.f(); + if (i20 == 1) { + xVar.F(16); + } + i24 = y6; + i25 = f10; + } else if (i20 == 2) { + xVar.F(16); + i23 = (int) Math.round(Double.longBitsToDouble(xVar.m())); + i24 = xVar.w(); + xVar.F(20); + i25 = 0; + i6 = f2; + } else { + i6 = f2; + i5 = i38; + i22 = i39; + i21 = f3; + bVar = bVar4; + i4 = i22; + i3 = i21; + } + int i52 = xVar.b; + if (f4 == 1701733217) { + Pair c3 = c(xVar, i39, f3); + if (c3 != null) { + int intValue = ((Integer) c3.first).intValue(); + drmInitData3 = drmInitData4 == null ? null : drmInitData4.a(((n) c3.second).b); + bVar4.a[i38] = (n) c3.second; + f4 = intValue; + } else { + drmInitData3 = drmInitData4; + } + xVar.E(i52); + } else { + drmInitData3 = drmInitData4; + } + String str13 = "audio/ac3"; + String str14 = "audio/raw"; + if (f4 == 1633889587) { + str14 = str13; + } else if (f4 == 1700998451) { + str14 = "audio/eac3"; + } else if (f4 == 1633889588) { + str14 = "audio/ac4"; + } else { + if (f4 == 1685353315) { + str7 = "audio/vnd.dts"; + } else if (f4 == 1685353320 || f4 == 1685353324) { + str7 = "audio/vnd.dts.hd"; + } else if (f4 == 1685353317) { + str7 = "audio/vnd.dts.hd;profile=lbr"; + } else if (f4 == 1685353336) { + str7 = "audio/vnd.dts.uhd;profile=p2"; + } else if (f4 == 1935764850) { + str7 = "audio/3gpp"; + } else if (f4 == 1935767394) { + str7 = "audio/amr-wb"; + } else if (f4 == 1819304813 || f4 == 1936684916) { + i26 = 2; + i27 = i23; + i28 = i24; + str3 = null; + i5 = i38; + str4 = str14; + pVar = null; + i29 = i52; + while (i29 - i39 < f3) { + xVar.E(i29); + int f11 = xVar.f(); + if (f11 > 0) { + i30 = f3; + z3 = true; + } else { + i30 = f3; + z3 = false; + } + c.c.a.a0.d.q(z3, str10); + int f12 = xVar.f(); + if (f12 == 1835557187) { + int i53 = f11 - 13; + byte[] bArr6 = new byte[i53]; + xVar.E(i29 + 13); + System.arraycopy(xVar.a, xVar.b, bArr6, 0, i53); + xVar.b += i53; + pVar = p.u(bArr6); + str10 = str10; + i32 = f11; + i27 = i27; + str5 = str13; + i31 = i25; + } else { + int i54 = f11; + String str15 = str10; + if (f12 == 1702061171) { + i33 = i27; + str5 = str13; + i34 = 1702061171; + } else if (!z2 || f12 != 2002876005) { + if (f12 == 1684103987) { + xVar.E(i29 + 8); + String num = Integer.toString(i); + int i55 = c.i.a.c.t2.m.b[(xVar.t() & 192) >> 6]; + int t3 = xVar.t(); + int i56 = c.i.a.c.t2.m.d[(t3 & 56) >> 3]; + if ((t3 & 4) != 0) { + i56++; + } + j1.b bVar6 = new j1.b(); + bVar6.a = num; + bVar6.k = str13; + bVar6.f825x = i56; + bVar6.f826y = i55; + bVar6.n = drmInitData3; + bVar6.f823c = str9; + bVar4.b = bVar6.a(); + } else if (f12 == 1684366131) { + xVar.E(i29 + 8); + String num2 = Integer.toString(i); + xVar.F(2); + int i57 = c.i.a.c.t2.m.b[(xVar.t() & 192) >> 6]; + int t4 = xVar.t(); + int i58 = c.i.a.c.t2.m.d[(t4 & 14) >> 1]; + if ((t4 & 1) != 0) { + i58++; + } + if (((xVar.t() & 30) >> 1) > 0 && (xVar.t() & 2) != 0) { + i58 += 2; + } + String str16 = (xVar.a() <= 0 || (xVar.t() & 1) == 0) ? "audio/eac3" : "audio/eac3-joc"; + j1.b bVar7 = new j1.b(); + bVar7.a = num2; + bVar7.k = str16; + bVar7.f825x = i58; + bVar7.f826y = i57; + bVar7.n = drmInitData3; + bVar7.f823c = str9; + bVar4.b = bVar7.a(); + } else if (f12 == 1684103988) { + xVar.E(i29 + 8); + String num3 = Integer.toString(i); + xVar.F(1); + int i59 = ((xVar.t() & 32) >> 5) == 1 ? 48000 : 44100; + j1.b bVar8 = new j1.b(); + bVar8.a = num3; + bVar8.k = "audio/ac4"; + bVar8.f825x = 2; + bVar8.f826y = i59; + bVar8.n = drmInitData3; + bVar8.f823c = str9; + bVar4.b = bVar8.a(); + } else { + if (f12 == 1684892784) { + if (i25 > 0) { + i28 = 2; + i27 = i25; + pVar2 = pVar; + } else { + throw c.d.b.a.a.s0(60, "Invalid sample rate for Dolby TrueHD MLP stream: ", i25, null); + } + } else if (f12 == 1684305011) { + j1.b bVar9 = new j1.b(); + bVar9.b(i); + bVar9.k = str4; + bVar9.f825x = i28; + i37 = i27; + bVar9.f826y = i37; + bVar9.n = drmInitData3; + bVar9.f823c = str9; + bVar4.b = bVar9.a(); + str5 = str13; + i27 = i37; + pVar2 = pVar; + str10 = str15; + i32 = i54; + i31 = i25; + pVar = pVar2; + } else { + i37 = i27; + if (f12 == 1682927731) { + int i60 = i54 - 8; + byte[] bArr7 = a; + byte[] copyOf = Arrays.copyOf(bArr7, bArr7.length + i60); + xVar.E(i29 + 8); + xVar.e(copyOf, bArr7.length, i60); + pVar2 = c.c.a.a0.d.g(copyOf); + i27 = i37; + } else { + if (f12 == 1684425825) { + int i61 = i54 - 12; + byte[] bArr8 = new byte[(i61 + 4)]; + bArr8[0] = 102; + bArr8[1] = 76; + bArr8[2] = 97; + bArr8[3] = 67; + xVar.E(i29 + 12); + str5 = str13; + System.arraycopy(xVar.a, xVar.b, bArr8, 4, i61); + xVar.b += i61; + pVar3 = p.u(bArr8); + } else { + str5 = str13; + if (f12 == 1634492771) { + int i62 = i54 - 12; + byte[] bArr9 = new byte[i62]; + xVar.E(i29 + 12); + System.arraycopy(xVar.a, xVar.b, bArr9, 0, i62); + xVar.b += i62; + x xVar2 = new x(bArr9); + xVar2.E(9); + int t5 = xVar2.t(); + xVar2.E(20); + Pair create = Pair.create(Integer.valueOf(xVar2.w()), Integer.valueOf(t5)); + i37 = ((Integer) create.first).intValue(); + i28 = ((Integer) create.second).intValue(); + pVar3 = p.u(bArr9); + } + i27 = i37; + pVar2 = pVar; + str10 = str15; + i32 = i54; + i31 = i25; + pVar = pVar2; + } + pVar2 = pVar3; + i27 = i37; + str10 = str15; + i32 = i54; + i31 = i25; + pVar = pVar2; + } + } + str5 = str13; + str10 = str15; + i32 = i54; + i31 = i25; + pVar = pVar2; + } + i37 = i27; + str5 = str13; + i27 = i37; + pVar2 = pVar; + str10 = str15; + i32 = i54; + i31 = i25; + pVar = pVar2; + } else { + i34 = 1702061171; + i33 = i27; + str5 = str13; + } + if (f12 == i34) { + i36 = i29; + str10 = str15; + i32 = i54; + i31 = i25; + } else { + i36 = xVar.b; + c.c.a.a0.d.q(i36 >= i29, null); + while (true) { + i32 = i54; + if (i36 - i29 >= i32) { + str10 = str15; + i31 = i25; + i35 = -1; + i36 = -1; + break; + } + xVar.E(i36); + int f13 = xVar.f(); + str10 = str15; + c.c.a.a0.d.q(f13 > 0, str10); + i31 = i25; + if (xVar.f() == 1702061171) { + break; + } + i36 += f13; + i54 = i32; + i25 = i31; + str15 = str10; + } + if (i36 != i35) { + Pair a7 = a(xVar, i36); + str4 = (String) a7.first; + byte[] bArr10 = (byte[]) a7.second; + if (bArr10 != null) { + if ("audio/mp4a-latm".equals(str4)) { + l.b b3 = l.b(new w(bArr10), false); + i33 = b3.a; + i28 = b3.b; + str6 = b3.f890c; + } else { + str6 = str3; + } + pVar = p.u(bArr10); + str3 = str6; + i27 = i33; + } + } + i27 = i33; + pVar2 = pVar; + pVar = pVar2; + } + i35 = -1; + if (i36 != i35) { + } + i27 = i33; + pVar2 = pVar; + pVar = pVar2; + } + i29 += i32; + i39 = i39; + f3 = i30; + i25 = i31; + str13 = str5; + } + i22 = i39; + i21 = f3; + if (bVar4.b == null && str4 != null) { + j1.b bVar10 = new j1.b(); + bVar10.b(i); + bVar10.k = str4; + bVar10.h = str3; + bVar10.f825x = i28; + bVar10.f826y = i27; + bVar10.f827z = i26; + bVar10.m = pVar; + bVar10.n = drmInitData3; + bVar10.f823c = str9; + bVar4.b = bVar10.a(); + } + bVar = bVar4; + i4 = i22; + i3 = i21; + } else { + if (f4 == 1953984371) { + i26 = 268435456; + } else if (f4 == 778924082 || f4 == 778924083) { + str7 = "audio/mpeg"; + } else if (f4 == 1835557169) { + str7 = "audio/mha1"; + } else if (f4 == 1835560241) { + str7 = "audio/mhm1"; + } else if (f4 == 1634492771) { + str7 = "audio/alac"; + } else if (f4 == 1634492791) { + str7 = "audio/g711-alaw"; + } else if (f4 == 1970037111) { + str7 = "audio/g711-mlaw"; + } else if (f4 == 1332770163) { + str7 = "audio/opus"; + } else if (f4 == 1716281667) { + str7 = "audio/flac"; + } else if (f4 == 1835823201) { + str7 = "audio/true-hd"; + } else { + i26 = -1; + str14 = null; + } + i27 = i23; + i28 = i24; + str3 = null; + i5 = i38; + str4 = str14; + pVar = null; + i29 = i52; + while (i29 - i39 < f3) { + } + i22 = i39; + i21 = f3; + j1.b bVar10 = new j1.b(); + bVar10.b(i); + bVar10.k = str4; + bVar10.h = str3; + bVar10.f825x = i28; + bVar10.f826y = i27; + bVar10.f827z = i26; + bVar10.m = pVar; + bVar10.n = drmInitData3; + bVar10.f823c = str9; + bVar4.b = bVar10.a(); + bVar = bVar4; + i4 = i22; + i3 = i21; + } + str14 = str7; + } + i26 = -1; + i27 = i23; + i28 = i24; + str3 = null; + i5 = i38; + str4 = str14; + pVar = null; + i29 = i52; + while (i29 - i39 < f3) { + } + i22 = i39; + i21 = f3; + j1.b bVar10 = new j1.b(); + bVar10.b(i); + bVar10.k = str4; + bVar10.h = str3; + bVar10.f825x = i28; + bVar10.f826y = i27; + bVar10.f827z = i26; + bVar10.m = pVar; + bVar10.n = drmInitData3; + bVar10.f823c = str9; + bVar4.b = bVar10.a(); + bVar = bVar4; + i4 = i22; + i3 = i21; + } else { + if (f4 == 1414810956 || f4 == 1954034535 || f4 == 2004251764 || f4 == 1937010800 || f4 == 1664495672) { + xVar.E(i39 + 8 + 8); + long j = RecyclerView.FOREVER_NS; + String str17 = "application/ttml+xml"; + if (f4 != 1414810956) { + if (f4 == 1954034535) { + int i63 = (f3 - 8) - 8; + byte[] bArr11 = new byte[i63]; + System.arraycopy(xVar.a, xVar.b, bArr11, 0, i63); + xVar.b += i63; + pVar4 = p.u(bArr11); + str8 = "application/x-quicktime-tx3g"; + j1.b bVar11 = new j1.b(); + bVar11.b(i); + bVar11.k = str8; + bVar11.f823c = str9; + bVar11.o = j; + bVar11.m = pVar4; + bVar4.b = bVar11.a(); + } else if (f4 == 2004251764) { + str17 = "application/x-mp4-vtt"; + } else if (f4 == 1937010800) { + j = 0; + } else if (f4 == 1664495672) { + bVar4.d = 1; + str17 = "application/x-mp4-cea-608"; + } else { + throw new IllegalStateException(); + } + } + pVar4 = null; + str8 = str17; + j1.b bVar11 = new j1.b(); + bVar11.b(i); + bVar11.k = str8; + bVar11.f823c = str9; + bVar11.o = j; + bVar11.m = pVar4; + bVar4.b = bVar11.a(); + } else if (f4 == 1835365492) { + xVar.E(i39 + 8 + 8); + if (f4 == 1835365492) { + xVar.n(); + String n = xVar.n(); + if (n != null) { + j1.b bVar12 = new j1.b(); + bVar12.b(i); + bVar12.k = n; + bVar4.b = bVar12.a(); + } + } + } else if (f4 == 1667329389) { + j1.b bVar13 = new j1.b(); + bVar13.b(i); + bVar13.k = "application/x-camera-motion"; + bVar4.b = bVar13.a(); + } + i6 = f2; + bVar = bVar4; + i5 = i38; + i4 = i39; + i3 = f3; + } + xVar.E(i4 + i3); + i38 = i5 + 1; + str9 = str; + bVar4 = bVar; + f2 = i6; + drmInitData4 = drmInitData; + } + return bVar4; + } + + /* JADX WARNING: Removed duplicated region for block: B:110:0x0277 */ + /* JADX WARNING: Removed duplicated region for block: B:115:0x0292 */ + /* JADX WARNING: Removed duplicated region for block: B:118:0x02c5 */ + /* JADX WARNING: Removed duplicated region for block: B:168:0x03f3 */ + /* JADX WARNING: Removed duplicated region for block: B:193:0x04a2 */ + /* JADX WARNING: Removed duplicated region for block: B:258:0x05ef */ + /* JADX WARNING: Removed duplicated region for block: B:259:0x05f2 */ + /* JADX WARNING: Removed duplicated region for block: B:264:0x064c */ + /* JADX WARNING: Removed duplicated region for block: B:265:0x065e */ + /* JADX WARNING: Removed duplicated region for block: B:69:0x0136 */ + /* JADX WARNING: Removed duplicated region for block: B:70:0x0139 */ + /* JADX WARNING: Removed duplicated region for block: B:73:0x014c */ + /* JADX WARNING: Removed duplicated region for block: B:74:0x014f */ + /* JADX WARNING: Removed duplicated region for block: B:77:0x0162 */ + /* JADX WARNING: Removed duplicated region for block: B:80:0x019c */ + /* JADX WARNING: Removed duplicated region for block: B:81:0x019f */ + /* JADX WARNING: Removed duplicated region for block: B:84:0x01aa */ + /* JADX WARNING: Removed duplicated region for block: B:85:0x01ac */ + /* JADX WARNING: Removed duplicated region for block: B:92:0x0213 */ + /* JADX WARNING: Removed duplicated region for block: B:93:0x0215 */ + public static List

e(d.a aVar, c.i.a.c.x2.p pVar, long j, @Nullable DrmInitData drmInitData, boolean z2, boolean z3, c.i.b.a.e eVar) throws ParserException { + int i; + ArrayList arrayList; + c.i.b.a.e eVar2; + m mVar; + m apply; + a aVar2; + ArrayList arrayList2; + p pVar2; + boolean z4; + int i2; + int i3; + int i4; + int a2; + String str; + m mVar2; + int[] iArr; + long[] jArr; + long j2; + long[] jArr2; + int[] iArr2; + int i5; + long[] jArr3; + p pVar3; + int i6; + int[] iArr3; + long[] jArr4; + long[] jArr5; + int i7; + int[] iArr4; + int[] iArr5; + boolean z5; + int[] iArr6; + long[] jArr6; + int i8; + int i9; + boolean z6; + boolean z7; + long j3; + int i10; + long j4; + b d2; + long[] jArr7; + long[] jArr8; + d.a b2; + d.b c2; + Pair pair; + int i11; + int i12; + long j5; + d.a aVar3 = aVar; + ArrayList arrayList3 = new ArrayList(); + int i13 = 0; + while (i13 < aVar3.d.size()) { + d.a aVar4 = aVar3.d.get(i13); + if (aVar4.a == 1953653099) { + d.b c3 = aVar3.c(1836476516); + Objects.requireNonNull(c3); + d.a b3 = aVar4.b(1835297121); + Objects.requireNonNull(b3); + d.b c4 = b3.c(1751411826); + Objects.requireNonNull(c4); + x xVar = c4.b; + xVar.E(16); + int f = xVar.f(); + int i14 = f == 1936684398 ? 1 : f == 1986618469 ? 2 : (f == 1952807028 || f == 1935832172 || f == 1937072756 || f == 1668047728) ? 3 : f == 1835365473 ? 5 : -1; + if (i14 != -1) { + d.b c5 = aVar4.c(1953196132); + Objects.requireNonNull(c5); + x xVar2 = c5.b; + int i15 = 8; + xVar2.E(8); + int f2 = (xVar2.f() >> 24) & 255; + if (f2 != 0) { + i15 = 16; + } + xVar2.F(i15); + int f3 = xVar2.f(); + xVar2.F(4); + int i16 = xVar2.b; + int i17 = f2 == 0 ? 4 : 8; + int i18 = 0; + while (true) { + if (i18 >= i17) { + z7 = true; + break; + } else if (xVar2.a[i16 + i18] != -1) { + z7 = false; + break; + } else { + i18++; + } + } + if (z7) { + xVar2.F(i17); + } else { + j3 = f2 == 0 ? xVar2.u() : xVar2.x(); + if (j3 != 0) { + i10 = 16; + xVar2.F(i10); + int f4 = xVar2.f(); + int f5 = xVar2.f(); + xVar2.F(4); + int f6 = xVar2.f(); + int f7 = xVar2.f(); + int i19 = (f4 != 0 && f5 == 65536 && f6 == -65536 && f7 == 0) ? 90 : (f4 != 0 && f5 == -65536 && f6 == 65536 && f7 == 0) ? 270 : (f4 != -65536 && f5 == 0 && f6 == 0 && f7 == -65536) ? BaseTransientBottomBar.ANIMATION_FADE_DURATION : 0; + j4 = j != -9223372036854775807L ? j3 : j; + x xVar3 = c3.b; + xVar3.E(8); + xVar3.F(((xVar3.f() >> 24) & 255) != 0 ? 8 : 16); + long u = xVar3.u(); + long j6 = -9223372036854775807L; + if (j4 != -9223372036854775807L) { + j6 = e0.F(j4, 1000000, u); + } + d.a b4 = b3.b(1835626086); + Objects.requireNonNull(b4); + d.a b5 = b4.b(1937007212); + Objects.requireNonNull(b5); + d.b c6 = b3.c(1835296868); + Objects.requireNonNull(c6); + x xVar4 = c6.b; + xVar4.E(8); + int f8 = (xVar4.f() >> 24) & 255; + xVar4.F(f8 != 0 ? 8 : 16); + long u2 = xVar4.u(); + xVar4.F(f8 != 0 ? 4 : 8); + int y2 = xVar4.y(); + StringBuilder sb = new StringBuilder(3); + sb.append((char) (((y2 >> 10) & 31) + 96)); + sb.append((char) (((y2 >> 5) & 31) + 96)); + sb.append((char) ((y2 & 31) + 96)); + Pair create = Pair.create(Long.valueOf(u2), sb.toString()); + d.b c7 = b5.c(1937011556); + Objects.requireNonNull(c7); + d2 = d(c7.b, f3, i19, (String) create.second, drmInitData, z3); + if (!z2 && (b2 = aVar4.b(1701082227)) != null) { + c2 = b2.c(1701606260); + if (c2 != null) { + pair = null; + } else { + x xVar5 = c2.b; + xVar5.E(8); + int f9 = (xVar5.f() >> 24) & 255; + int w = xVar5.w(); + long[] jArr9 = new long[w]; + long[] jArr10 = new long[w]; + int i20 = 0; + while (i20 < w) { + jArr9[i20] = f9 == 1 ? xVar5.x() : xVar5.u(); + if (f9 == 1) { + i11 = w; + i12 = f9; + j5 = xVar5.m(); + } else { + i12 = f9; + i11 = w; + j5 = (long) xVar5.f(); + } + jArr10[i20] = j5; + if (xVar5.p() == 1) { + xVar5.F(2); + i20++; + f9 = i12; + w = i11; + } else { + throw new IllegalArgumentException("Unsupported media rate."); + } + } + pair = Pair.create(jArr9, jArr10); + } + if (pair != null) { + jArr7 = (long[]) pair.second; + jArr8 = (long[]) pair.first; + if (d2.b != null) { + m mVar3 = new m(f3, i14, ((Long) create.first).longValue(), u, j6, d2.b, d2.d, d2.a, d2.f963c, jArr8, jArr7); + eVar2 = eVar; + mVar = mVar3; + apply = eVar2.apply(mVar); + if (apply != null) { + d.a b6 = aVar4.b(1835297121); + Objects.requireNonNull(b6); + d.a b7 = b6.b(1835626086); + Objects.requireNonNull(b7); + d.a b8 = b7.b(1937007212); + Objects.requireNonNull(b8); + d.b c8 = b8.c(1937011578); + if (c8 != null) { + aVar2 = new c(c8, apply.f); + } else { + d.b c9 = b8.c(1937013298); + if (c9 != null) { + aVar2 = new d(c9); + } else { + throw ParserException.a("Track has no sample table size information", null); + } + } + int b9 = aVar2.b(); + if (b9 == 0) { + pVar2 = new p(apply, new long[0], new int[0], 0, new long[0], new int[0], 0); + arrayList2 = arrayList3; + i = i13; + } else { + d.b c10 = b8.c(1937007471); + if (c10 == null) { + c10 = b8.c(1668232756); + Objects.requireNonNull(c10); + z4 = true; + } else { + z4 = false; + } + x xVar6 = c10.b; + d.b c11 = b8.c(1937011555); + Objects.requireNonNull(c11); + x xVar7 = c11.b; + d.b c12 = b8.c(1937011827); + Objects.requireNonNull(c12); + x xVar8 = c12.b; + d.b c13 = b8.c(1937011571); + x xVar9 = c13 != null ? c13.b : null; + d.b c14 = b8.c(1668576371); + x xVar10 = c14 != null ? c14.b : null; + xVar6.E(12); + int w2 = xVar6.w(); + xVar7.E(12); + int w3 = xVar7.w(); + c.c.a.a0.d.q(xVar7.f() == 1, "first_chunk must be 1"); + xVar8.E(12); + int w4 = xVar8.w() - 1; + int w5 = xVar8.w(); + int i21 = w3; + int w6 = xVar8.w(); + if (xVar10 != null) { + xVar10.E(12); + i2 = xVar10.w(); + } else { + i2 = 0; + } + if (xVar9 != null) { + xVar9.E(12); + i4 = xVar9.w(); + if (i4 > 0) { + i3 = xVar9.w() - 1; + i = i13; + a2 = aVar2.a(); + arrayList2 = arrayList3; + str = apply.f.v; + if (!(a2 == -1 && ("audio/raw".equals(str) || "audio/g711-mlaw".equals(str) || "audio/g711-alaw".equals(str)) && w4 == 0 && i2 == 0 && i4 == 0)) { + long[] jArr11 = new long[w2]; + int[] iArr7 = new int[w2]; + int i22 = 0; + long j7 = 0; + int i23 = -1; + int i24 = 0; + while (true) { + i23++; + if (i23 == w2) { + z6 = false; + } else { + j7 = z4 ? xVar6.x() : xVar6.u(); + if (i23 == i22) { + i24 = xVar7.w(); + xVar7.F(4); + i21--; + i22 = i21 > 0 ? xVar7.w() - 1 : -1; + } + z6 = true; + } + if (!z6) { + break; + } + jArr11[i23] = j7; + iArr7[i23] = i24; + } + long j8 = (long) w6; + int i25 = 8192 / a2; + int i26 = 0; + for (int i27 = 0; i27 < w2; i27++) { + i26 += e0.f(iArr7[i27], i25); + } + jArr = new long[i26]; + int[] iArr8 = new int[i26]; + long[] jArr12 = new long[i26]; + int[] iArr9 = new int[i26]; + int i28 = 0; + int i29 = 0; + int i30 = 0; + int i31 = 0; + while (i28 < w2) { + int i32 = iArr7[i28]; + long j9 = jArr11[i28]; + int i33 = i31; + int i34 = i32; + long j10 = j9; + while (i34 > 0) { + int min = Math.min(i25, i34); + jArr[i30] = j10; + iArr8[i30] = a2 * min; + i33 = Math.max(i33, iArr8[i30]); + jArr12[i30] = ((long) i29) * j8; + iArr9[i30] = 1; + j10 += (long) iArr8[i30]; + i29 += min; + i34 -= min; + i30++; + i25 = i25; + a2 = a2; + } + i28++; + i31 = i33; + jArr11 = jArr11; + iArr7 = iArr7; + } + j2 = j8 * ((long) i29); + iArr2 = iArr9; + iArr = iArr8; + jArr2 = jArr12; + i5 = i31; + mVar2 = apply; + } else { + long[] jArr13 = new long[b9]; + int[] iArr10 = new int[b9]; + jArr2 = new long[b9]; + int[] iArr11 = new int[b9]; + int i35 = 0; + int i36 = 0; + int i37 = 0; + long j11 = 0; + long j12 = 0; + long j13 = 0; + int i38 = -1; + int i39 = w6; + int i40 = w5; + int i41 = i3; + int i42 = i4; + int i43 = 0; + int i44 = 0; + int i45 = w4; + int i46 = i2; + int i47 = 0; + int i48 = 0; + while (true) { + if (i47 >= b9) { + break; + } + boolean z8 = true; + int i49 = i35; + while (true) { + if (i36 != 0) { + i9 = i41; + break; + } + i9 = i41; + int i50 = i38 + 1; + if (i50 == w2) { + z8 = false; + } else { + j13 = z4 ? xVar6.x() : xVar6.u(); + if (i50 == i49) { + i37 = xVar7.w(); + xVar7.F(4); + i21--; + i49 = i21 > 0 ? xVar7.w() - 1 : -1; + } + z8 = true; + } + i38 = i50; + if (!z8) { + break; + } + i36 = i37; + j12 = j13; + i41 = i9; + } + if (!z8) { + Log.w("AtomParsers", "Unexpected end of chunk data"); + jArr13 = Arrays.copyOf(jArr13, i47); + iArr10 = Arrays.copyOf(iArr10, i47); + jArr2 = Arrays.copyOf(jArr2, i47); + iArr11 = Arrays.copyOf(iArr11, i47); + b9 = i47; + break; + } + if (xVar10 != null) { + while (i44 == 0 && i46 > 0) { + i44 = xVar10.w(); + i43 = xVar10.f(); + i46--; + } + i44--; + } + jArr13[i47] = j12; + iArr10[i47] = aVar2.c(); + if (iArr10[i47] > i48) { + i48 = iArr10[i47]; + } + jArr2[i47] = j11 + ((long) i43); + iArr11[i47] = xVar9 == null ? 1 : 0; + int i51 = i9; + if (i47 == i51) { + iArr11[i47] = 1; + i42--; + if (i42 > 0) { + Objects.requireNonNull(xVar9); + i51 = xVar9.w() - 1; + } + } + int i52 = i39; + j11 += (long) i52; + i40--; + if (i40 == 0 && i45 > 0) { + i45--; + i40 = xVar8.w(); + i52 = xVar8.f(); + } + j12 += (long) iArr10[i47]; + i36--; + i47++; + i43 = i43; + b9 = b9; + i35 = i49; + jArr2 = jArr2; + i39 = i52; + z4 = z4; + i41 = i51; + xVar6 = xVar6; + } + long j14 = j11 + ((long) i43); + if (xVar10 != null) { + while (true) { + if (i46 <= 0) { + break; + } else if (xVar10.w() != 0) { + z5 = false; + break; + } else { + xVar10.f(); + i46--; + } + } + if (i42 != 0 && i40 == 0 && i36 == 0 && i45 == 0) { + i8 = i44; + if (i8 == 0 && z5) { + iArr6 = iArr10; + mVar2 = apply; + jArr6 = jArr13; + iArr2 = iArr11; + j2 = j14; + i5 = i48; + jArr = jArr6; + iArr = iArr6; + } + } else { + i8 = i44; + } + mVar2 = apply; + int i53 = mVar2.a; + String str2 = z5 ? ", ctts invalid" : ""; + jArr6 = jArr13; + iArr6 = iArr10; + StringBuilder O = c.d.b.a.a.O(str2.length() + 262, "Inconsistent stbl box for track ", i53, ": remainingSynchronizationSamples ", i42); + O.append(", remainingSamplesAtTimestampDelta "); + O.append(i40); + O.append(", remainingSamplesInChunk "); + O.append(i36); + O.append(", remainingTimestampDeltaChanges "); + O.append(i45); + O.append(", remainingSamplesAtTimestampOffset "); + O.append(i8); + c.d.b.a.a.n0(O, str2, "AtomParsers"); + iArr2 = iArr11; + j2 = j14; + i5 = i48; + jArr = jArr6; + iArr = iArr6; + } + z5 = true; + if (i42 != 0) { + } + i8 = i44; + mVar2 = apply; + int i53 = mVar2.a; + if (z5) { + } + jArr6 = jArr13; + iArr6 = iArr10; + StringBuilder O = c.d.b.a.a.O(str2.length() + 262, "Inconsistent stbl box for track ", i53, ": remainingSynchronizationSamples ", i42); + O.append(", remainingSamplesAtTimestampDelta "); + O.append(i40); + O.append(", remainingSamplesInChunk "); + O.append(i36); + O.append(", remainingTimestampDeltaChanges "); + O.append(i45); + O.append(", remainingSamplesAtTimestampOffset "); + O.append(i8); + c.d.b.a.a.n0(O, str2, "AtomParsers"); + iArr2 = iArr11; + j2 = j14; + i5 = i48; + jArr = jArr6; + iArr = iArr6; + } + long F = e0.F(j2, 1000000, mVar2.f980c); + jArr3 = mVar2.h; + if (jArr3 != null) { + e0.G(jArr2, 1000000, mVar2.f980c); + pVar2 = new p(mVar2, jArr, iArr, i5, jArr2, iArr2, F); + } else { + if (jArr3.length == 1 && mVar2.b == 1 && jArr2.length >= 2) { + long[] jArr14 = mVar2.i; + Objects.requireNonNull(jArr14); + long j15 = jArr14[0]; + jArr4 = jArr; + i6 = i5; + iArr3 = iArr2; + long F2 = e0.F(mVar2.h[0], mVar2.f980c, mVar2.d) + j15; + int length = jArr2.length - 1; + if (jArr2[0] <= j15 && j15 < jArr2[e0.h(4, 0, length)] && jArr2[e0.h(jArr2.length - 4, 0, length)] < F2 && F2 <= j2) { + long j16 = j2 - F2; + long F3 = e0.F(j15 - jArr2[0], (long) mVar2.f.J, mVar2.f980c); + long F4 = e0.F(j16, (long) mVar2.f.J, mVar2.f980c); + if (!(F3 == 0 && F4 == 0) && F3 <= 2147483647L && F4 <= 2147483647L) { + pVar.b = (int) F3; + pVar.f1034c = (int) F4; + e0.G(jArr2, 1000000, mVar2.f980c); + pVar3 = new p(mVar2, jArr4, iArr, i6, jArr2, iArr3, e0.F(mVar2.h[0], 1000000, mVar2.d)); + pVar2 = pVar3; + } + } + } else { + i6 = i5; + iArr3 = iArr2; + jArr4 = jArr; + } + long[] jArr15 = mVar2.h; + if (jArr15.length == 1 && jArr15[0] == 0) { + long[] jArr16 = mVar2.i; + Objects.requireNonNull(jArr16); + long j17 = jArr16[0]; + for (int i54 = 0; i54 < jArr2.length; i54++) { + jArr2[i54] = e0.F(jArr2[i54] - j17, 1000000, mVar2.f980c); + } + pVar3 = new p(mVar2, jArr4, iArr, i6, jArr2, iArr3, e0.F(j2 - j17, 1000000, mVar2.f980c)); + pVar2 = pVar3; + } else { + boolean z9 = mVar2.b == 1; + int[] iArr12 = new int[jArr15.length]; + int[] iArr13 = new int[jArr15.length]; + long[] jArr17 = mVar2.i; + Objects.requireNonNull(jArr17); + int i55 = 0; + boolean z10 = false; + int i56 = 0; + int i57 = 0; + while (true) { + long[] jArr18 = mVar2.h; + if (i55 >= jArr18.length) { + break; + } + long j18 = jArr17[i55]; + if (j18 != -1) { + iArr5 = iArr13; + long F5 = e0.F(jArr18[i55], mVar2.f980c, mVar2.d); + iArr12[i55] = e0.e(jArr2, j18, true, true); + iArr5[i55] = e0.b(jArr2, j18 + F5, z9, false); + while (iArr12[i55] < iArr5[i55] && (iArr3[iArr12[i55]] & 1) == 0) { + iArr12[i55] = iArr12[i55] + 1; + } + int i58 = (iArr5[i55] - iArr12[i55]) + i56; + boolean z11 = i57 != iArr12[i55]; + i56 = i58; + i57 = iArr5[i55]; + z10 |= z11; + } else { + iArr5 = iArr13; + i56 = i56; + z10 = z10; + } + i55++; + iArr13 = iArr5; + } + boolean z12 = z10 | (i56 != b9); + long[] jArr19 = z12 ? new long[i56] : jArr4; + int[] iArr14 = z12 ? new int[i56] : iArr; + int i59 = z12 ? 0 : i6; + int[] iArr15 = z12 ? new int[i56] : iArr3; + long[] jArr20 = new long[i56]; + int i60 = 0; + int i61 = 0; + long j19 = 0; + while (i60 < mVar2.h.length) { + long j20 = mVar2.i[i60]; + int i62 = iArr12[i60]; + int i63 = iArr13[i60]; + if (z12) { + i7 = i59; + int i64 = i63 - i62; + System.arraycopy(jArr4, i62, jArr19, i61, i64); + System.arraycopy(iArr, i62, iArr14, i61, i64); + jArr5 = jArr4; + iArr4 = iArr3; + System.arraycopy(iArr4, i62, iArr15, i61, i64); + } else { + jArr5 = jArr4; + i7 = i59; + iArr4 = iArr3; + } + i59 = i7; + while (i62 < i63) { + jArr20[i61] = e0.F(j19, 1000000, mVar2.d) + e0.F(Math.max(0L, jArr2[i62] - j20), 1000000, mVar2.f980c); + if (z12 && iArr14[i61] > i59) { + i59 = iArr[i62]; + } + i61++; + i62++; + iArr15 = iArr15; + j19 = j19; + jArr2 = jArr2; + iArr4 = iArr4; + i63 = i63; + } + j19 += mVar2.h[i60]; + i60++; + iArr12 = iArr12; + iArr15 = iArr15; + iArr3 = iArr4; + jArr4 = jArr5; + } + pVar2 = new p(mVar2, jArr19, iArr14, i59, jArr20, iArr15, e0.F(j19, 1000000, mVar2.d)); + } + } + } else { + xVar9 = null; + } + } else { + i4 = 0; + } + i3 = -1; + i = i13; + a2 = aVar2.a(); + arrayList2 = arrayList3; + str = apply.f.v; + if (!(a2 == -1 && ("audio/raw".equals(str) || "audio/g711-mlaw".equals(str) || "audio/g711-alaw".equals(str)) && w4 == 0 && i2 == 0 && i4 == 0)) { + } + long F = e0.F(j2, 1000000, mVar2.f980c); + jArr3 = mVar2.h; + if (jArr3 != null) { + } + } + arrayList = arrayList2; + arrayList.add(pVar2); + i13 = i + 1; + aVar3 = aVar; + arrayList3 = arrayList; + } + } + } + } + jArr8 = null; + jArr7 = null; + if (d2.b != null) { + } + } + } + i10 = 16; + j3 = -9223372036854775807L; + xVar2.F(i10); + int f4 = xVar2.f(); + int f5 = xVar2.f(); + xVar2.F(4); + int f6 = xVar2.f(); + int f7 = xVar2.f(); + if (f4 != 0) { + } + if (j != -9223372036854775807L) { + } + x xVar3 = c3.b; + xVar3.E(8); + xVar3.F(((xVar3.f() >> 24) & 255) != 0 ? 8 : 16); + long u = xVar3.u(); + long j6 = -9223372036854775807L; + if (j4 != -9223372036854775807L) { + } + d.a b4 = b3.b(1835626086); + Objects.requireNonNull(b4); + d.a b5 = b4.b(1937007212); + Objects.requireNonNull(b5); + d.b c6 = b3.c(1835296868); + Objects.requireNonNull(c6); + x xVar4 = c6.b; + xVar4.E(8); + int f8 = (xVar4.f() >> 24) & 255; + xVar4.F(f8 != 0 ? 8 : 16); + long u2 = xVar4.u(); + xVar4.F(f8 != 0 ? 4 : 8); + int y2 = xVar4.y(); + StringBuilder sb = new StringBuilder(3); + sb.append((char) (((y2 >> 10) & 31) + 96)); + sb.append((char) (((y2 >> 5) & 31) + 96)); + sb.append((char) ((y2 & 31) + 96)); + Pair create = Pair.create(Long.valueOf(u2), sb.toString()); + d.b c7 = b5.c(1937011556); + Objects.requireNonNull(c7); + d2 = d(c7.b, f3, i19, (String) create.second, drmInitData, z3); + c2 = b2.c(1701606260); + if (c2 != null) { + } + if (pair != null) { + } + jArr8 = null; + jArr7 = null; + if (d2.b != null) { + } + } + mVar = null; + eVar2 = eVar; + apply = eVar2.apply(mVar); + if (apply != null) { + } + } + arrayList = arrayList3; + i = i13; + i13 = i + 1; + aVar3 = aVar; + arrayList3 = arrayList; + } + return arrayList3; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/f.java b/app/src/main/java/c/i/a/c/x2/i0/f.java new file mode 100644 index 0000000000..01f814acda --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/f.java @@ -0,0 +1,17 @@ +package c.i.a.c.x2.i0; +/* compiled from: DefaultSampleValues */ +public final class f { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f966c; + public final int d; + + public f(int i, int i2, int i3, int i4) { + this.a = i; + this.b = i2; + this.f966c = i3; + this.d = i4; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/g.java b/app/src/main/java/c/i/a/c/x2/i0/g.java new file mode 100644 index 0000000000..76a664637c --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/g.java @@ -0,0 +1,1403 @@ +package c.i.a.c.x2.i0; + +import android.util.Log; +import android.util.Pair; +import android.util.SparseArray; +import androidx.annotation.Nullable; +import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; +import androidx.core.view.ViewCompat; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.u; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.t2.n; +import c.i.a.c.x2.c; +import c.i.a.c.x2.h; +import c.i.a.c.x2.i; +import c.i.a.c.x2.i0.d; +import c.i.a.c.x2.j; +import c.i.a.c.x2.p; +import c.i.a.c.x2.s; +import c.i.a.c.x2.t; +import c.i.a.c.x2.w; +import com.google.android.exoplayer2.ParserException; +import com.google.android.exoplayer2.drm.DrmInitData; +import java.io.DataOutputStream; +import java.io.IOException; +import java.util.ArrayDeque; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import java.util.Objects; +import java.util.UUID; +/* compiled from: FragmentedMp4Extractor */ +public class g implements h { + public static final byte[] a = {-94, 57, 79, 82, 90, -101, 79, 20, -94, 68, 108, 66, 124, 100, -115, -12}; + public static final j1 b; + public int A; + public int B; + public boolean C; + public j D; + public w[] E; + public w[] F; + public boolean G; + + /* renamed from: c reason: collision with root package name */ + public final int f967c; + public final List d; + public final SparseArray e; + public final x f = new x(u.a); + public final x g = new x(5); + public final x h = new x(); + public final byte[] i; + public final x j; + public final c.i.a.c.z2.i.b k = new c.i.a.c.z2.i.b(); + public final x l = new x(16); + public final ArrayDeque m; + public final ArrayDeque n; + public int o; + public int p; + public long q; + public int r; + @Nullable + + /* renamed from: s reason: collision with root package name */ + public x f968s; + public long t; + public int u; + public long v; + public long w; + + /* renamed from: x reason: collision with root package name */ + public long f969x; + @Nullable + + /* renamed from: y reason: collision with root package name */ + public b f970y; + + /* renamed from: z reason: collision with root package name */ + public int f971z; + + /* compiled from: FragmentedMp4Extractor */ + public static final class a { + public final long a; + public final int b; + + public a(long j, int i) { + this.a = j; + this.b = i; + } + } + + /* compiled from: FragmentedMp4Extractor */ + public static final class b { + public final w a; + public final o b = new o(); + + /* renamed from: c reason: collision with root package name */ + public final x f972c = new x(); + public p d; + public f e; + public int f; + public int g; + public int h; + public int i; + public final x j = new x(1); + public final x k = new x(); + public boolean l; + + public b(w wVar, p pVar, f fVar) { + this.a = wVar; + this.d = pVar; + this.e = fVar; + this.d = pVar; + this.e = fVar; + wVar.e(pVar.a.f); + e(); + } + + public long a() { + return !this.l ? this.d.f983c[this.f] : this.b.f[this.h]; + } + + @Nullable + public n b() { + if (!this.l) { + return null; + } + o oVar = this.b; + f fVar = oVar.a; + int i = e0.a; + int i2 = fVar.a; + n nVar = oVar.m; + if (nVar == null) { + nVar = this.d.a.a(i2); + } + if (nVar == null || !nVar.a) { + return null; + } + return nVar; + } + + public boolean c() { + this.f++; + if (!this.l) { + return false; + } + int i = this.g + 1; + this.g = i; + int[] iArr = this.b.g; + int i2 = this.h; + if (i != iArr[i2]) { + return true; + } + this.h = i2 + 1; + this.g = 0; + return false; + } + + public int d(int i, int i2) { + x xVar; + n b = b(); + if (b == null) { + return 0; + } + int i3 = b.d; + if (i3 != 0) { + xVar = this.b.n; + } else { + byte[] bArr = b.e; + int i4 = e0.a; + x xVar2 = this.k; + int length = bArr.length; + xVar2.a = bArr; + xVar2.f792c = length; + xVar2.b = 0; + i3 = bArr.length; + xVar = xVar2; + } + o oVar = this.b; + boolean z2 = oVar.k && oVar.l[this.f]; + boolean z3 = z2 || i2 != 0; + x xVar3 = this.j; + xVar3.a[0] = (byte) ((z3 ? 128 : 0) | i3); + xVar3.E(0); + this.a.f(this.j, 1, 1); + this.a.f(xVar, i3, 1); + if (!z3) { + return i3 + 1; + } + if (!z2) { + this.f972c.A(8); + x xVar4 = this.f972c; + byte[] bArr2 = xVar4.a; + bArr2[0] = 0; + bArr2[1] = 1; + bArr2[2] = (byte) ((i2 >> 8) & 255); + bArr2[3] = (byte) (i2 & 255); + bArr2[4] = (byte) ((i >> 24) & 255); + bArr2[5] = (byte) ((i >> 16) & 255); + bArr2[6] = (byte) ((i >> 8) & 255); + bArr2[7] = (byte) (i & 255); + this.a.f(xVar4, 8, 1); + return i3 + 1 + 8; + } + x xVar5 = this.b.n; + int y2 = xVar5.y(); + xVar5.F(-2); + int i5 = (y2 * 6) + 2; + if (i2 != 0) { + this.f972c.A(i5); + byte[] bArr3 = this.f972c.a; + xVar5.e(bArr3, 0, i5); + int i6 = (((bArr3[2] & 255) << 8) | (bArr3[3] & 255)) + i2; + bArr3[2] = (byte) ((i6 >> 8) & 255); + bArr3[3] = (byte) (i6 & 255); + xVar5 = this.f972c; + } + this.a.f(xVar5, i5, 1); + return i3 + 1 + i5; + } + + public void e() { + o oVar = this.b; + oVar.d = 0; + oVar.p = 0; + oVar.q = false; + oVar.k = false; + oVar.o = false; + oVar.m = null; + this.f = 0; + this.h = 0; + this.g = 0; + this.i = 0; + this.l = false; + } + } + + static { + j1.b bVar = new j1.b(); + bVar.k = "application/x-emsg"; + b = bVar.a(); + } + + public g(int i) { + List emptyList = Collections.emptyList(); + this.f967c = i; + this.d = Collections.unmodifiableList(emptyList); + byte[] bArr = new byte[16]; + this.i = bArr; + this.j = new x(bArr); + this.m = new ArrayDeque<>(); + this.n = new ArrayDeque<>(); + this.e = new SparseArray<>(); + this.w = -9223372036854775807L; + this.v = -9223372036854775807L; + this.f969x = -9223372036854775807L; + this.D = j.d; + this.E = new w[0]; + this.F = new w[0]; + } + + public static int a(int i) throws ParserException { + if (i >= 0) { + return i; + } + throw c.d.b.a.a.s0(38, "Unexpected negative value: ", i, null); + } + + @Nullable + public static DrmInitData h(List list) { + int size = list.size(); + ArrayList arrayList = null; + for (int i = 0; i < size; i++) { + d.b bVar = list.get(i); + if (bVar.a == 1886614376) { + if (arrayList == null) { + arrayList = new ArrayList(); + } + byte[] bArr = bVar.b.a; + j t1 = c.c.a.a0.d.t1(bArr); + UUID uuid = t1 == null ? null : t1.a; + if (uuid == null) { + Log.w("FragmentedMp4Extractor", "Skipped pssh atom (failed to extract uuid)"); + } else { + arrayList.add(new DrmInitData.SchemeData(uuid, "video/mp4", bArr)); + } + } + } + if (arrayList == null) { + return null; + } + return new DrmInitData(null, false, (DrmInitData.SchemeData[]) arrayList.toArray(new DrmInitData.SchemeData[0])); + } + + public static void i(x xVar, int i, o oVar) throws ParserException { + xVar.E(i + 8); + int f = xVar.f() & ViewCompat.MEASURED_SIZE_MASK; + if ((f & 1) == 0) { + boolean z2 = (f & 2) != 0; + int w = xVar.w(); + if (w == 0) { + Arrays.fill(oVar.l, 0, oVar.e, false); + return; + } + int i2 = oVar.e; + if (w == i2) { + Arrays.fill(oVar.l, 0, w, z2); + int a2 = xVar.a(); + x xVar2 = oVar.n; + byte[] bArr = xVar2.a; + if (bArr.length < a2) { + bArr = new byte[a2]; + } + xVar2.a = bArr; + xVar2.f792c = a2; + xVar2.b = 0; + oVar.k = true; + oVar.o = true; + xVar.e(bArr, 0, a2); + oVar.n.E(0); + oVar.o = false; + return; + } + throw ParserException.a(c.d.b.a.a.g(80, "Senc sample count ", w, " is different from fragment sample count", i2), null); + } + throw ParserException.b("Overriding TrackEncryptionBox parameters is unsupported."); + } + + @Override // c.i.a.c.x2.h + public boolean b(i iVar) throws IOException { + return l.a(iVar, true, false); + } + + public final void c() { + this.o = 0; + this.r = 0; + } + + public final f d(SparseArray sparseArray, int i) { + if (sparseArray.size() == 1) { + return sparseArray.valueAt(0); + } + f fVar = sparseArray.get(i); + Objects.requireNonNull(fVar); + return fVar; + } + + /* JADX DEBUG: Multi-variable search result rejected for r6v32, resolved type: boolean */ + /* JADX WARN: Multi-variable type inference failed */ + /* JADX WARNING: Removed duplicated region for block: B:335:0x02cb A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:346:0x0759 A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:349:0x0004 A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:353:0x0004 A[SYNTHETIC] */ + @Override // c.i.a.c.x2.h + public int e(i iVar, s sVar) throws IOException { + int i; + boolean z2; + long j; + String str; + long j2; + long j3; + String str2; + long j4; + long j5; + boolean z3; + while (true) { + int i2 = this.o; + int i3 = 1; + if (i2 == 0) { + if (this.r == 0) { + if (!iVar.c(this.l.a, 0, 8, true)) { + z3 = false; + if (z3) { + return -1; + } + } else { + this.r = 8; + this.l.E(0); + this.q = this.l.u(); + this.p = this.l.f(); + } + } + long j6 = this.q; + if (j6 == 1) { + iVar.readFully(this.l.a, 8, 8); + this.r += 8; + this.q = this.l.x(); + } else if (j6 == 0) { + long b2 = iVar.b(); + if (b2 == -1 && !this.m.isEmpty()) { + b2 = this.m.peek().b; + } + if (b2 != -1) { + this.q = (b2 - iVar.getPosition()) + ((long) this.r); + } + } + if (this.q >= ((long) this.r)) { + long position = iVar.getPosition() - ((long) this.r); + int i4 = this.p; + if ((i4 == 1836019558 || i4 == 1835295092) && !this.G) { + this.D.a(new t.b(this.w, position)); + this.G = true; + } + if (this.p == 1836019558) { + int size = this.e.size(); + for (int i5 = 0; i5 < size; i5++) { + o oVar = this.e.valueAt(i5).b; + Objects.requireNonNull(oVar); + oVar.f982c = position; + oVar.b = position; + } + } + int i6 = this.p; + if (i6 == 1835295092) { + this.f970y = null; + this.t = position + this.q; + this.o = 2; + } else if (i6 == 1836019574 || i6 == 1953653099 || i6 == 1835297121 || i6 == 1835626086 || i6 == 1937007212 || i6 == 1836019558 || i6 == 1953653094 || i6 == 1836475768 || i6 == 1701082227) { + long position2 = (iVar.getPosition() + this.q) - 8; + this.m.push(new d.a(this.p, position2)); + if (this.q == ((long) this.r)) { + j(position2); + } else { + c(); + } + } else if (i6 == 1751411826 || i6 == 1835296868 || i6 == 1836476516 || i6 == 1936286840 || i6 == 1937011556 || i6 == 1937011827 || i6 == 1668576371 || i6 == 1937011555 || i6 == 1937011578 || i6 == 1937013298 || i6 == 1937007471 || i6 == 1668232756 || i6 == 1937011571 || i6 == 1952867444 || i6 == 1952868452 || i6 == 1953196132 || i6 == 1953654136 || i6 == 1953658222 || i6 == 1886614376 || i6 == 1935763834 || i6 == 1935763823 || i6 == 1936027235 || i6 == 1970628964 || i6 == 1935828848 || i6 == 1936158820 || i6 == 1701606260 || i6 == 1835362404 || i6 == 1701671783) { + if (this.r == 8) { + long j7 = this.q; + if (j7 <= 2147483647L) { + x xVar = new x((int) j7); + System.arraycopy(this.l.a, 0, xVar.a, 0, 8); + this.f968s = xVar; + this.o = 1; + } else { + throw ParserException.b("Leaf atom with length > 2147483647 (unsupported)."); + } + } else { + throw ParserException.b("Leaf atom defines extended atom size (unsupported)."); + } + } else if (this.q <= 2147483647L) { + this.f968s = null; + this.o = 1; + } else { + throw ParserException.b("Skipping atom with length > 2147483647 (unsupported)."); + } + z3 = true; + if (z3) { + } + } else { + throw ParserException.b("Atom size less than header length (unsupported)."); + } + } else if (i2 == 1) { + int i7 = ((int) this.q) - this.r; + x xVar2 = this.f968s; + if (xVar2 != null) { + iVar.readFully(xVar2.a, 8, i7); + int i8 = this.p; + d.b bVar = new d.b(i8, xVar2); + long position3 = iVar.getPosition(); + if (!this.m.isEmpty()) { + this.m.peek().f962c.add(bVar); + } else if (i8 == 1936286840) { + xVar2.E(8); + int f = (xVar2.f() >> 24) & 255; + xVar2.F(4); + long u = xVar2.u(); + if (f == 0) { + j5 = xVar2.u(); + j4 = xVar2.u(); + } else { + j5 = xVar2.x(); + j4 = xVar2.x(); + } + long j8 = position3 + j4; + long F = e0.F(j5, 1000000, u); + xVar2.F(2); + int y2 = xVar2.y(); + int[] iArr = new int[y2]; + long[] jArr = new long[y2]; + long[] jArr2 = new long[y2]; + long[] jArr3 = new long[y2]; + int i9 = 0; + long j9 = F; + while (i9 < y2) { + int f2 = xVar2.f(); + if ((f2 & Integer.MIN_VALUE) == 0) { + long u2 = xVar2.u(); + iArr[i9] = f2 & Integer.MAX_VALUE; + jArr[i9] = j8; + jArr3[i9] = j9; + long j10 = j5 + u2; + j9 = e0.F(j10, 1000000, u); + jArr2[i9] = j9 - jArr3[i9]; + xVar2.F(4); + j8 += (long) iArr[i9]; + i9++; + jArr2 = jArr2; + jArr3 = jArr3; + jArr = jArr; + j5 = j10; + y2 = y2; + } else { + throw ParserException.a("Unhandled indirect reference", null); + } + } + Pair create = Pair.create(Long.valueOf(F), new c(iArr, jArr, jArr2, jArr3)); + this.f969x = ((Long) create.first).longValue(); + this.D.a((t) create.second); + this.G = true; + } else if (i8 == 1701671783 && this.E.length != 0) { + xVar2.E(8); + int f3 = (xVar2.f() >> 24) & 255; + long j11 = -9223372036854775807L; + if (f3 == 0) { + str2 = xVar2.n(); + Objects.requireNonNull(str2); + str = xVar2.n(); + Objects.requireNonNull(str); + long u3 = xVar2.u(); + long F2 = e0.F(xVar2.u(), 1000000, u3); + long j12 = this.f969x; + if (j12 != -9223372036854775807L) { + j11 = j12 + F2; + } + j3 = e0.F(xVar2.u(), 1000, u3); + j = j11; + j11 = F2; + j2 = xVar2.u(); + } else if (f3 != 1) { + c.d.b.a.a.d0(46, "Skipping unsupported emsg version: ", f3, "FragmentedMp4Extractor"); + } else { + long u4 = xVar2.u(); + long F3 = e0.F(xVar2.x(), 1000000, u4); + j3 = e0.F(xVar2.u(), 1000, u4); + j2 = xVar2.u(); + str2 = xVar2.n(); + Objects.requireNonNull(str2); + str = xVar2.n(); + Objects.requireNonNull(str); + j = F3; + } + byte[] bArr = new byte[xVar2.a()]; + int a2 = xVar2.a(); + System.arraycopy(xVar2.a, xVar2.b, bArr, 0, a2); + xVar2.b += a2; + c.i.a.c.z2.i.b bVar2 = this.k; + bVar2.a.reset(); + try { + DataOutputStream dataOutputStream = bVar2.b; + dataOutputStream.writeBytes(str2); + dataOutputStream.writeByte(0); + DataOutputStream dataOutputStream2 = bVar2.b; + dataOutputStream2.writeBytes(str); + dataOutputStream2.writeByte(0); + bVar2.b.writeLong(j3); + bVar2.b.writeLong(j2); + bVar2.b.write(bArr); + bVar2.b.flush(); + x xVar3 = new x(bVar2.a.toByteArray()); + int a3 = xVar3.a(); + w[] wVarArr = this.E; + for (w wVar : wVarArr) { + xVar3.E(0); + wVar.c(xVar3, a3); + } + if (j == -9223372036854775807L) { + this.n.addLast(new a(j11, a3)); + this.u += a3; + } else { + for (w wVar2 : this.E) { + wVar2.d(j, 1, a3, 0, null); + } + } + } catch (IOException e) { + throw new RuntimeException(e); + } + } + } else { + iVar.l(i7); + } + j(iVar.getPosition()); + } else if (i2 != 2) { + b bVar3 = this.f970y; + if (bVar3 == null) { + SparseArray sparseArray = this.e; + int size2 = sparseArray.size(); + long j13 = Long.MAX_VALUE; + b bVar4 = null; + for (int i10 = 0; i10 < size2; i10++) { + b valueAt = sparseArray.valueAt(i10); + boolean z4 = valueAt.l; + if ((z4 || valueAt.f != valueAt.d.b) && (!z4 || valueAt.h != valueAt.b.d)) { + long a4 = valueAt.a(); + if (a4 < j13) { + bVar4 = valueAt; + j13 = a4; + } + } + } + if (bVar4 == null) { + int position4 = (int) (this.t - iVar.getPosition()); + if (position4 >= 0) { + iVar.l(position4); + c(); + i3 = 0; + if (i3 != 0) { + return 0; + } + } else { + throw ParserException.a("Offset to end of mdat was negative.", null); + } + } else { + int a5 = (int) (bVar4.a() - iVar.getPosition()); + if (a5 < 0) { + Log.w("FragmentedMp4Extractor", "Ignoring negative offset to sample data."); + a5 = 0; + } + iVar.l(a5); + this.f970y = bVar4; + bVar3 = bVar4; + } + } + char c2 = 6; + if (this.o == 3) { + int i11 = !bVar3.l ? bVar3.d.d[bVar3.f] : bVar3.b.h[bVar3.f]; + this.f971z = i11; + if (bVar3.f < bVar3.i) { + iVar.l(i11); + n b3 = bVar3.b(); + if (b3 != null) { + x xVar4 = bVar3.b.n; + int i12 = b3.d; + if (i12 != 0) { + xVar4.F(i12); + } + o oVar2 = bVar3.b; + if (oVar2.k && oVar2.l[bVar3.f]) { + xVar4.F(xVar4.y() * 6); + } + } + if (!bVar3.c()) { + this.f970y = null; + } + this.o = 3; + if (i3 != 0) { + } + } else { + if (bVar3.d.a.g == 1) { + this.f971z = i11 - 8; + iVar.l(8); + } + if ("audio/ac4".equals(bVar3.d.a.f.v)) { + this.A = bVar3.d(this.f971z, 7); + n.a(this.f971z, this.j); + bVar3.a.c(this.j, 7); + this.A += 7; + } else { + this.A = bVar3.d(this.f971z, 0); + } + this.f971z += this.A; + this.o = 4; + this.B = 0; + } + } + p pVar = bVar3.d; + m mVar = pVar.a; + w wVar3 = bVar3.a; + long j14 = !bVar3.l ? pVar.f[bVar3.f] : bVar3.b.i[bVar3.f]; + int i13 = mVar.j; + if (i13 == 0) { + while (true) { + int i14 = this.A; + int i15 = this.f971z; + if (i14 >= i15) { + break; + } + this.A += wVar3.b(iVar, i15 - i14, false); + } + } else { + byte[] bArr2 = this.g.a; + bArr2[0] = 0; + bArr2[1] = 0; + bArr2[2] = 0; + int i16 = i13 + 1; + int i17 = 4 - i13; + while (this.A < this.f971z) { + int i18 = this.B; + if (i18 == 0) { + iVar.readFully(bArr2, i17, i16); + this.g.E(0); + int f4 = this.g.f(); + if (f4 >= i3) { + this.B = f4 - 1; + this.f.E(0); + wVar3.c(this.f, 4); + wVar3.c(this.g, i3); + if (this.F.length > 0) { + String str3 = mVar.f.v; + byte b4 = bArr2[4]; + byte[] bArr3 = u.a; + if (("video/avc".equals(str3) && (b4 & 31) == c2) || ("video/hevc".equals(str3) && ((b4 & 126) >> i3) == 39)) { + z2 = true; + this.C = z2; + this.A += 5; + this.f971z += i17; + } + } + z2 = false; + this.C = z2; + this.A += 5; + this.f971z += i17; + } else { + throw ParserException.a("Invalid NAL length", null); + } + } else { + if (this.C) { + this.h.A(i18); + iVar.readFully(this.h.a, 0, this.B); + wVar3.c(this.h, this.B); + i = this.B; + x xVar5 = this.h; + int f5 = u.f(xVar5.a, xVar5.f792c); + this.h.E("video/hevc".equals(mVar.f.v) ? 1 : 0); + this.h.D(f5); + c.c.a.a0.d.J(j14, this.h, this.F); + } else { + i = wVar3.b(iVar, i18, false); + } + this.A += i; + this.B -= i; + c2 = 6; + i3 = 1; + } + } + } + int i19 = !bVar3.l ? bVar3.d.g[bVar3.f] : bVar3.b.j[bVar3.f] ? 1 : 0; + if (bVar3.b() != null) { + i19 |= BasicMeasure.EXACTLY; + } + n b5 = bVar3.b(); + wVar3.d(j14, i19, this.f971z, 0, b5 != null ? b5.f981c : null); + while (!this.n.isEmpty()) { + a removeFirst = this.n.removeFirst(); + this.u -= removeFirst.b; + long j15 = removeFirst.a + j14; + w[] wVarArr2 = this.E; + int i20 = 0; + for (int length = wVarArr2.length; i20 < length; length = length) { + wVarArr2[i20].d(j15, 1, removeFirst.b, this.u, null); + i20++; + } + } + if (!bVar3.c()) { + this.f970y = null; + } + this.o = 3; + i3 = 1; + if (i3 != 0) { + } + } else { + int size3 = this.e.size(); + long j16 = Long.MAX_VALUE; + b bVar5 = null; + for (int i21 = 0; i21 < size3; i21++) { + o oVar3 = this.e.valueAt(i21).b; + if (oVar3.o) { + long j17 = oVar3.f982c; + if (j17 < j16) { + bVar5 = this.e.valueAt(i21); + j16 = j17; + } + } + } + if (bVar5 == null) { + this.o = 3; + } else { + int position5 = (int) (j16 - iVar.getPosition()); + if (position5 >= 0) { + iVar.l(position5); + o oVar4 = bVar5.b; + x xVar6 = oVar4.n; + iVar.readFully(xVar6.a, 0, xVar6.f792c); + oVar4.n.E(0); + oVar4.o = false; + } else { + throw ParserException.a("Offset to encryption data was negative.", null); + } + } + } + } + } + + @Override // c.i.a.c.x2.h + public void f(j jVar) { + int i; + this.D = jVar; + c(); + w[] wVarArr = new w[2]; + this.E = wVarArr; + int i2 = 100; + int i3 = 0; + if ((this.f967c & 4) != 0) { + wVarArr[0] = this.D.p(100, 5); + i2 = 101; + i = 1; + } else { + i = 0; + } + w[] wVarArr2 = (w[]) e0.D(this.E, i); + this.E = wVarArr2; + for (w wVar : wVarArr2) { + wVar.e(b); + } + this.F = new w[this.d.size()]; + while (i3 < this.F.length) { + w p = this.D.p(i2, 3); + p.e(this.d.get(i3)); + this.F[i3] = p; + i3++; + i2++; + } + } + + @Override // c.i.a.c.x2.h + public void g(long j, long j2) { + int size = this.e.size(); + for (int i = 0; i < size; i++) { + this.e.valueAt(i).e(); + } + this.n.clear(); + this.u = 0; + this.v = j2; + this.m.clear(); + c(); + } + + /* JADX WARNING: Removed duplicated region for block: B:141:0x0370 */ + public final void j(long j) throws ParserException { + g gVar; + d.a aVar; + int i; + SparseArray sparseArray; + int i2; + int i3; + byte[] bArr; + int i4; + byte[] bArr2; + int i5; + o oVar; + int i6; + byte[] bArr3; + d.a aVar2; + d.a aVar3; + int i7; + int i8; + List list; + int i9; + long j2; + int i10; + int i11; + int i12; + boolean z2; + int i13; + boolean z3; + int i14; + boolean z4; + int i15; + boolean z5; + boolean z6; + int i16; + x xVar; + int i17; + g gVar2 = this; + g gVar3 = gVar2; + while (!gVar3.m.isEmpty() && gVar3.m.peek().b == j) { + d.a pop = gVar3.m.pop(); + int i18 = pop.a; + int i19 = 12; + if (i18 == 1836019574) { + c.c.a.a0.d.E(true, "Unexpected moov box."); + DrmInitData h = h(pop.f962c); + d.a b2 = pop.b(1836475768); + Objects.requireNonNull(b2); + SparseArray sparseArray2 = new SparseArray<>(); + int size = b2.f962c.size(); + long j3 = -9223372036854775807L; + int i20 = 0; + while (i20 < size) { + d.b bVar = b2.f962c.get(i20); + int i21 = bVar.a; + if (i21 == 1953654136) { + x xVar2 = bVar.b; + xVar2.E(i19); + Pair create = Pair.create(Integer.valueOf(xVar2.f()), new f(xVar2.f() - 1, xVar2.f(), xVar2.f(), xVar2.f())); + sparseArray2.put(((Integer) create.first).intValue(), (f) create.second); + } else if (i21 == 1835362404) { + x xVar3 = bVar.b; + xVar3.E(8); + j3 = ((xVar3.f() >> 24) & 255) == 0 ? xVar3.u() : xVar3.x(); + i20++; + i19 = 12; + } + i20++; + i19 = 12; + } + ArrayList arrayList = (ArrayList) e.e(pop, new p(), j3, h, (gVar3.f967c & 16) != 0, false, new c(gVar3)); + int size2 = arrayList.size(); + if (gVar3.e.size() == 0) { + for (int i22 = 0; i22 < size2; i22++) { + p pVar = (p) arrayList.get(i22); + m mVar = pVar.a; + gVar3.e.put(mVar.a, new b(gVar3.D.p(i22, mVar.b), pVar, gVar3.d(sparseArray2, mVar.a))); + gVar3.w = Math.max(gVar3.w, mVar.e); + } + gVar3.D.j(); + } else { + c.c.a.a0.d.D(gVar3.e.size() == size2); + for (int i23 = 0; i23 < size2; i23++) { + p pVar2 = (p) arrayList.get(i23); + m mVar2 = pVar2.a; + b bVar2 = gVar3.e.get(mVar2.a); + f d = gVar3.d(sparseArray2, mVar2.a); + bVar2.d = pVar2; + bVar2.e = d; + bVar2.a.e(pVar2.a.f); + bVar2.e(); + } + } + gVar = gVar2; + } else { + int i24 = 8; + if (i18 == 1836019558) { + SparseArray sparseArray3 = gVar3.e; + int i25 = gVar3.f967c; + byte[] bArr4 = gVar3.i; + int size3 = pop.d.size(); + int i26 = 0; + while (i26 < size3) { + d.a aVar4 = pop.d.get(i26); + if (aVar4.a == 1953653094) { + d.b c2 = aVar4.c(1952868452); + Objects.requireNonNull(c2); + x xVar4 = c2.b; + xVar4.E(i24); + int f = xVar4.f() & ViewCompat.MEASURED_SIZE_MASK; + b bVar3 = sparseArray3.get(xVar4.f()); + if (bVar3 == null) { + bVar3 = null; + } else { + if ((f & 1) != 0) { + long x2 = xVar4.x(); + o oVar2 = bVar3.b; + oVar2.b = x2; + oVar2.f982c = x2; + } + f fVar = bVar3.e; + bVar3.b.a = new f((f & 2) != 0 ? xVar4.f() - 1 : fVar.a, (f & 8) != 0 ? xVar4.f() : fVar.b, (f & 16) != 0 ? xVar4.f() : fVar.f966c, (f & 32) != 0 ? xVar4.f() : fVar.d); + } + if (bVar3 != null) { + o oVar3 = bVar3.b; + long j4 = oVar3.p; + boolean z7 = oVar3.q; + bVar3.e(); + bVar3.l = true; + d.b c3 = aVar4.c(1952867444); + if (c3 == null || (i25 & 2) != 0) { + oVar3.p = j4; + oVar3.q = z7; + } else { + x xVar5 = c3.b; + xVar5.E(i24); + oVar3.p = ((xVar5.f() >> 24) & 255) == 1 ? xVar5.x() : xVar5.u(); + oVar3.q = true; + } + List list2 = aVar4.f962c; + int size4 = list2.size(); + int i27 = 0; + int i28 = 0; + int i29 = 0; + while (true) { + i4 = 1953658222; + if (i27 >= size4) { + break; + } + d.b bVar4 = list2.get(i27); + if (bVar4.a == 1953658222) { + x xVar6 = bVar4.b; + xVar6.E(12); + int w = xVar6.w(); + if (w > 0) { + i29 += w; + i28++; + } + } + i27++; + size3 = size3; + sparseArray3 = sparseArray3; + } + sparseArray = sparseArray3; + i2 = size3; + bVar3.h = 0; + bVar3.g = 0; + bVar3.f = 0; + o oVar4 = bVar3.b; + oVar4.d = i28; + oVar4.e = i29; + if (oVar4.g.length < i28) { + oVar4.f = new long[i28]; + oVar4.g = new int[i28]; + } + if (oVar4.h.length < i29) { + int i30 = (i29 * 125) / 100; + oVar4.h = new int[i30]; + oVar4.i = new long[i30]; + oVar4.j = new boolean[i30]; + oVar4.l = new boolean[i30]; + } + int i31 = 0; + int i32 = 0; + int i33 = 0; + while (i31 < size4) { + d.b bVar5 = list2.get(i31); + if (bVar5.a == i4) { + int i34 = i33 + 1; + x xVar7 = bVar5.b; + xVar7.E(8); + int f2 = xVar7.f() & ViewCompat.MEASURED_SIZE_MASK; + list = list2; + m mVar3 = bVar3.d.a; + i8 = size4; + o oVar5 = bVar3.b; + f fVar2 = oVar5.a; + int i35 = e0.a; + oVar5.g[i33] = xVar7.w(); + long[] jArr = oVar5.f; + i7 = i26; + aVar3 = aVar4; + jArr[i33] = oVar5.b; + if ((f2 & 1) != 0) { + aVar2 = pop; + bArr3 = bArr4; + i6 = i31; + jArr[i33] = jArr[i33] + ((long) xVar7.f()); + } else { + bArr3 = bArr4; + i6 = i31; + aVar2 = pop; + } + boolean z8 = (f2 & 4) != 0; + int i36 = fVar2.d; + if (z8) { + i36 = xVar7.f(); + } + boolean z9 = (f2 & 256) != 0; + boolean z10 = (f2 & 512) != 0; + boolean z11 = (f2 & 1024) != 0; + boolean z12 = (f2 & 2048) != 0; + long[] jArr2 = mVar3.h; + if (jArr2 != null) { + i10 = i36; + oVar = oVar3; + if (jArr2.length == 1 && jArr2[0] == 0) { + j2 = mVar3.i[0]; + int[] iArr = oVar5.h; + long[] jArr3 = oVar5.i; + boolean[] zArr = oVar5.j; + boolean z13 = (mVar3.b == 2 || (i25 & 1) == 0) ? false : true; + i11 = oVar5.g[i33] + i32; + i9 = i25; + long j5 = mVar3.f980c; + long j6 = oVar5.p; + i12 = i32; + while (i12 < i11) { + if (z9) { + z2 = z9; + i13 = xVar7.f(); + } else { + z2 = z9; + i13 = fVar2.b; + } + a(i13); + if (z10) { + z3 = z10; + i14 = xVar7.f(); + } else { + z3 = z10; + i14 = fVar2.f966c; + } + a(i14); + if (z11) { + z4 = z8; + i15 = xVar7.f(); + } else if (i12 != 0 || !z8) { + z4 = z8; + i15 = fVar2.d; + } else { + z4 = z8; + i15 = i10; + } + if (z12) { + z6 = z11; + z5 = z12; + i16 = xVar7.f(); + } else { + z6 = z11; + z5 = z12; + i16 = 0; + } + jArr3[i12] = e0.F((((long) i16) + j6) - j2, 1000000, j5); + if (!oVar5.q) { + i17 = i11; + xVar = xVar7; + jArr3[i12] = jArr3[i12] + bVar3.d.h; + } else { + i17 = i11; + xVar = xVar7; + } + iArr[i12] = i14; + zArr[i12] = ((i15 >> 16) & 1) == 0 && (!z13 || i12 == 0); + j6 += (long) i13; + i12++; + i11 = i17; + xVar7 = xVar; + z9 = z2; + z10 = z3; + z8 = z4; + z11 = z6; + z12 = z5; + } + oVar5.p = j6; + i33 = i34; + i32 = i11; + } + } else { + i10 = i36; + oVar = oVar3; + } + j2 = 0; + int[] iArr = oVar5.h; + long[] jArr3 = oVar5.i; + boolean[] zArr = oVar5.j; + if (mVar3.b == 2) { + } + i11 = oVar5.g[i33] + i32; + i9 = i25; + long j5 = mVar3.f980c; + long j6 = oVar5.p; + i12 = i32; + while (i12 < i11) { + } + oVar5.p = j6; + i33 = i34; + i32 = i11; + } else { + bArr3 = bArr4; + i6 = i31; + aVar2 = pop; + i9 = i25; + list = list2; + i7 = i26; + aVar3 = aVar4; + oVar = oVar3; + i8 = size4; + } + i31 = i6 + 1; + i25 = i9; + list2 = list; + size4 = i8; + i26 = i7; + aVar4 = aVar3; + pop = aVar2; + bArr4 = bArr3; + oVar3 = oVar; + i4 = 1953658222; + } + byte[] bArr5 = bArr4; + aVar = pop; + i3 = i25; + i = i26; + m mVar4 = bVar3.d.a; + f fVar3 = oVar3.a; + Objects.requireNonNull(fVar3); + n a2 = mVar4.a(fVar3.a); + d.b c4 = aVar4.c(1935763834); + if (c4 != null) { + Objects.requireNonNull(a2); + x xVar8 = c4.b; + int i37 = a2.d; + xVar8.E(8); + if ((xVar8.f() & ViewCompat.MEASURED_SIZE_MASK & 1) == 1) { + xVar8.F(8); + } + int t = xVar8.t(); + int w2 = xVar8.w(); + int i38 = oVar3.e; + if (w2 <= i38) { + if (t == 0) { + boolean[] zArr2 = oVar3.l; + i5 = 0; + for (int i39 = 0; i39 < w2; i39++) { + int t2 = xVar8.t(); + i5 += t2; + zArr2[i39] = t2 > i37; + } + } else { + i5 = (t * w2) + 0; + Arrays.fill(oVar3.l, 0, w2, t > i37); + } + Arrays.fill(oVar3.l, w2, oVar3.e, false); + if (i5 > 0) { + x xVar9 = oVar3.n; + byte[] bArr6 = xVar9.a; + if (bArr6.length < i5) { + bArr6 = new byte[i5]; + } + xVar9.C(bArr6, i5); + oVar3.k = true; + oVar3.o = true; + } + } else { + throw ParserException.a(c.d.b.a.a.g(78, "Saiz sample count ", w2, " is greater than fragment sample count", i38), null); + } + } + d.b c5 = aVar4.c(1935763823); + if (c5 != null) { + x xVar10 = c5.b; + xVar10.E(8); + int f3 = xVar10.f(); + if ((16777215 & f3 & 1) == 1) { + xVar10.F(8); + } + int w3 = xVar10.w(); + if (w3 == 1) { + oVar3.f982c += ((f3 >> 24) & 255) == 0 ? xVar10.u() : xVar10.x(); + } else { + throw c.d.b.a.a.s0(40, "Unexpected saio entry count: ", w3, null); + } + } + byte[] bArr7 = null; + d.b c6 = aVar4.c(1936027235); + if (c6 != null) { + i(c6.b, 0, oVar3); + } + String str = a2 != null ? a2.b : null; + x xVar11 = null; + x xVar12 = null; + for (int i40 = 0; i40 < aVar4.f962c.size(); i40++) { + d.b bVar6 = aVar4.f962c.get(i40); + x xVar13 = bVar6.b; + int i41 = bVar6.a; + if (i41 == 1935828848) { + xVar13.E(12); + if (xVar13.f() == 1936025959) { + xVar11 = xVar13; + } + } else if (i41 == 1936158820) { + xVar13.E(12); + if (xVar13.f() == 1936025959) { + xVar12 = xVar13; + } + } + } + if (!(xVar11 == null || xVar12 == null)) { + xVar11.E(8); + int f4 = (xVar11.f() >> 24) & 255; + xVar11.F(4); + if (f4 == 1) { + xVar11.F(4); + } + if (xVar11.f() == 1) { + xVar12.E(8); + int f5 = (xVar12.f() >> 24) & 255; + xVar12.F(4); + if (f5 == 1) { + if (xVar12.u() == 0) { + throw ParserException.b("Variable length description in sgpd found (unsupported)"); + } + } else if (f5 >= 2) { + xVar12.F(4); + } + if (xVar12.u() == 1) { + xVar12.F(1); + int t3 = xVar12.t(); + int i42 = (t3 & 240) >> 4; + int i43 = t3 & 15; + boolean z14 = xVar12.t() == 1; + if (z14) { + int t4 = xVar12.t(); + byte[] bArr8 = new byte[16]; + System.arraycopy(xVar12.a, xVar12.b, bArr8, 0, 16); + xVar12.b += 16; + if (t4 == 0) { + int t5 = xVar12.t(); + bArr7 = new byte[t5]; + System.arraycopy(xVar12.a, xVar12.b, bArr7, 0, t5); + xVar12.b += t5; + } + oVar3.k = true; + oVar3.m = new n(z14, str, t4, bArr8, i42, i43, bArr7); + } + } else { + throw ParserException.b("Entry count in sgpd != 1 (unsupported)."); + } + } else { + throw ParserException.b("Entry count in sbgp != 1 (unsupported)."); + } + } + int size5 = aVar4.f962c.size(); + int i44 = 0; + while (i44 < size5) { + d.b bVar7 = aVar4.f962c.get(i44); + if (bVar7.a == 1970628964) { + x xVar14 = bVar7.b; + xVar14.E(8); + bArr2 = bArr5; + System.arraycopy(xVar14.a, xVar14.b, bArr2, 0, 16); + xVar14.b += 16; + if (Arrays.equals(bArr2, a)) { + i(xVar14, 16, oVar3); + } + } else { + bArr2 = bArr5; + } + i44++; + bArr5 = bArr2; + } + bArr = bArr5; + i26 = i + 1; + i24 = 8; + bArr4 = bArr; + i25 = i3; + size3 = i2; + sparseArray3 = sparseArray; + pop = aVar; + } + } + bArr = bArr4; + sparseArray = sparseArray3; + aVar = pop; + i3 = i25; + i2 = size3; + i = i26; + i26 = i + 1; + i24 = 8; + bArr4 = bArr; + i25 = i3; + size3 = i2; + sparseArray3 = sparseArray; + pop = aVar; + } + DrmInitData h2 = h(pop.f962c); + gVar = this; + if (h2 != null) { + int size6 = gVar.e.size(); + for (int i45 = 0; i45 < size6; i45++) { + b valueAt = gVar.e.valueAt(i45); + m mVar5 = valueAt.d.a; + f fVar4 = valueAt.b.a; + int i46 = e0.a; + n a3 = mVar5.a(fVar4.a); + DrmInitData a4 = h2.a(a3 != null ? a3.b : null); + j1.b a5 = valueAt.d.a.f.a(); + a5.n = a4; + valueAt.a.e(a5.a()); + } + } + if (gVar.v != -9223372036854775807L) { + int size7 = gVar.e.size(); + for (int i47 = 0; i47 < size7; i47++) { + b valueAt2 = gVar.e.valueAt(i47); + long j7 = gVar.v; + int i48 = valueAt2.f; + while (true) { + o oVar6 = valueAt2.b; + if (i48 >= oVar6.e || oVar6.i[i48] >= j7) { + break; + } + if (oVar6.j[i48]) { + valueAt2.i = i48; + } + i48++; + } + } + gVar.v = -9223372036854775807L; + } + gVar3 = gVar; + } else { + gVar = gVar2; + if (!gVar3.m.isEmpty()) { + gVar3.m.peek().d.add(pop); + } + } + } + gVar2 = gVar; + } + c(); + } + + @Override // c.i.a.c.x2.h + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/h.java b/app/src/main/java/c/i/a/c/x2/i0/h.java new file mode 100644 index 0000000000..5e37c220cd --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/h.java @@ -0,0 +1,115 @@ +package c.i.a.c.x2.i0; + +import android.util.Log; +import androidx.annotation.Nullable; +import androidx.annotation.VisibleForTesting; +import androidx.core.view.ViewCompat; +import c.d.b.a.a; +import c.i.a.c.f3.x; +import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel; +import com.google.android.exoplayer2.metadata.id3.ApicFrame; +import com.google.android.exoplayer2.metadata.id3.CommentFrame; +import com.google.android.exoplayer2.metadata.id3.Id3Frame; +import com.google.android.exoplayer2.metadata.id3.TextInformationFrame; +/* compiled from: MetadataUtil */ +public final class h { + @VisibleForTesting + public static final String[] a = {"Blues", "Classic Rock", "Country", "Dance", "Disco", "Funk", "Grunge", "Hip-Hop", "Jazz", "Metal", "New Age", "Oldies", "Other", "Pop", "R&B", "Rap", "Reggae", "Rock", "Techno", "Industrial", "Alternative", "Ska", "Death Metal", "Pranks", "Soundtrack", "Euro-Techno", "Ambient", "Trip-Hop", "Vocal", "Jazz+Funk", "Fusion", "Trance", "Classical", "Instrumental", "Acid", "House", "Game", "Sound Clip", "Gospel", "Noise", "AlternRock", "Bass", "Soul", "Punk", "Space", "Meditative", "Instrumental Pop", "Instrumental Rock", "Ethnic", "Gothic", "Darkwave", "Techno-Industrial", "Electronic", "Pop-Folk", "Eurodance", "Dream", "Southern Rock", "Comedy", "Cult", "Gangsta", "Top 40", "Christian Rap", "Pop/Funk", "Jungle", "Native American", "Cabaret", "New Wave", "Psychadelic", "Rave", "Showtunes", "Trailer", "Lo-Fi", "Tribal", "Acid Punk", "Acid Jazz", "Polka", "Retro", "Musical", "Rock & Roll", "Hard Rock", "Folk", "Folk-Rock", "National Folk", "Swing", "Fast Fusion", "Bebob", "Latin", "Revival", "Celtic", "Bluegrass", "Avantgarde", "Gothic Rock", "Progressive Rock", "Psychedelic Rock", "Symphonic Rock", "Slow Rock", "Big Band", "Chorus", "Easy Listening", "Acoustic", "Humour", "Speech", "Chanson", "Opera", "Chamber Music", "Sonata", "Symphony", "Booty Bass", "Primus", "Porn Groove", "Satire", "Slow Jam", "Club", "Tango", "Samba", "Folklore", "Ballad", "Power Ballad", "Rhythmic Soul", "Freestyle", "Duet", "Punk Rock", "Drum Solo", "A capella", "Euro-House", "Dance Hall", "Goa", "Drum & Bass", "Club-House", "Hardcore", "Terror", "Indie", "BritPop", "Afro-Punk", "Polsk Punk", "Beat", "Christian Gangsta Rap", "Heavy Metal", "Black Metal", "Crossover", "Contemporary Christian", "Christian Rock", "Merengue", "Salsa", "Thrash Metal", "Anime", "Jpop", "Synthpop", "Abstract", "Art Rock", "Baroque", "Bhangra", "Big beat", "Breakbeat", "Chillout", "Downtempo", "Dub", "EBM", "Eclectic", "Electro", "Electroclash", "Emo", "Experimental", "Garage", "Global", "IDM", "Illbient", "Industro-Goth", "Jam Band", "Krautrock", "Leftfield", "Lounge", "Math Rock", "New Romantic", "Nu-Breakz", "Post-Punk", "Post-Rock", "Psytrance", "Shoegaze", "Space Rock", "Trop Rock", "World Music", "Neoclassical", "Audiobook", "Audio theatre", "Neue Deutsche Welle", "Podcast", "Indie-Rock", "G-Funk", "Dubstep", "Garage Rock", "Psybient"}; + + @Nullable + public static CommentFrame a(int i, x xVar) { + int f = xVar.f(); + if (xVar.f() == 1684108385) { + xVar.F(8); + String o = xVar.o(f - 16); + return new CommentFrame("und", o, o); + } + String valueOf = String.valueOf(d.a(i)); + Log.w("MetadataUtil", valueOf.length() != 0 ? "Failed to parse comment attribute: ".concat(valueOf) : new String("Failed to parse comment attribute: ")); + return null; + } + + @Nullable + public static ApicFrame b(x xVar) { + int f = xVar.f(); + if (xVar.f() == 1684108385) { + int f2 = xVar.f() & ViewCompat.MEASURED_SIZE_MASK; + String str = f2 == 13 ? "image/jpeg" : f2 == 14 ? "image/png" : null; + if (str == null) { + a.d0(41, "Unrecognized cover art flags: ", f2, "MetadataUtil"); + return null; + } + xVar.F(4); + int i = f - 16; + byte[] bArr = new byte[i]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, i); + xVar.b += i; + return new ApicFrame(str, null, 3, bArr); + } + Log.w("MetadataUtil", "Failed to parse cover art attribute"); + return null; + } + + @Nullable + public static TextInformationFrame c(int i, String str, x xVar) { + int f = xVar.f(); + if (xVar.f() == 1684108385 && f >= 22) { + xVar.F(10); + int y2 = xVar.y(); + if (y2 > 0) { + StringBuilder sb = new StringBuilder(11); + sb.append(y2); + String sb2 = sb.toString(); + int y3 = xVar.y(); + if (y3 > 0) { + String valueOf = String.valueOf(sb2); + StringBuilder sb3 = new StringBuilder(valueOf.length() + 12); + sb3.append(valueOf); + sb3.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN); + sb3.append(y3); + sb2 = sb3.toString(); + } + return new TextInformationFrame(str, null, sb2); + } + } + String valueOf2 = String.valueOf(d.a(i)); + Log.w("MetadataUtil", valueOf2.length() != 0 ? "Failed to parse index/count attribute: ".concat(valueOf2) : new String("Failed to parse index/count attribute: ")); + return null; + } + + @Nullable + public static TextInformationFrame d(int i, String str, x xVar) { + int f = xVar.f(); + if (xVar.f() == 1684108385) { + xVar.F(8); + return new TextInformationFrame(str, null, xVar.o(f - 16)); + } + String valueOf = String.valueOf(d.a(i)); + Log.w("MetadataUtil", valueOf.length() != 0 ? "Failed to parse text attribute: ".concat(valueOf) : new String("Failed to parse text attribute: ")); + return null; + } + + @Nullable + public static Id3Frame e(int i, String str, x xVar, boolean z2, boolean z3) { + int f = f(xVar); + if (z3) { + f = Math.min(1, f); + } + if (f >= 0) { + return z2 ? new TextInformationFrame(str, null, Integer.toString(f)) : new CommentFrame("und", str, Integer.toString(f)); + } + String valueOf = String.valueOf(d.a(i)); + Log.w("MetadataUtil", valueOf.length() != 0 ? "Failed to parse uint8 attribute: ".concat(valueOf) : new String("Failed to parse uint8 attribute: ")); + return null; + } + + public static int f(x xVar) { + xVar.F(4); + if (xVar.f() == 1684108385) { + xVar.F(8); + return xVar.t(); + } + Log.w("MetadataUtil", "Failed to parse uint8 attribute value"); + return -1; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/i.java b/app/src/main/java/c/i/a/c/x2/i0/i.java new file mode 100644 index 0000000000..06dde8bd0e --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/i.java @@ -0,0 +1,1348 @@ +package c.i.a.c.x2.i0; + +import android.util.Log; +import android.util.Pair; +import androidx.annotation.Nullable; +import androidx.recyclerview.widget.RecyclerView; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.u; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.t2.n; +import c.i.a.c.x2.h; +import c.i.a.c.x2.i0.d; +import c.i.a.c.x2.i0.k; +import c.i.a.c.x2.j; +import c.i.a.c.x2.p; +import c.i.a.c.x2.s; +import c.i.a.c.x2.t; +import c.i.a.c.x2.w; +import com.discord.api.permission.Permission; +import com.google.android.exoplayer2.ParserException; +import com.google.android.exoplayer2.metadata.Metadata; +import com.google.android.exoplayer2.metadata.id3.InternalFrame; +import com.google.android.exoplayer2.metadata.id3.TextInformationFrame; +import com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry; +import com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata; +import com.google.android.exoplayer2.metadata.mp4.SlowMotionData; +import com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry; +import java.io.IOException; +import java.util.ArrayDeque; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +/* compiled from: Mp4Extractor */ +public final class i implements h, t { + public static final /* synthetic */ int a = 0; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final x f973c; + public final x d; + public final x e; + public final x f; + public final ArrayDeque g; + public final k h; + public final List i; + public int j; + public int k; + public long l; + public int m; + @Nullable + public x n; + public int o; + public int p; + public int q; + public int r; + + /* renamed from: s reason: collision with root package name */ + public j f974s; + public a[] t; + public long[][] u; + public int v; + public long w; + + /* renamed from: x reason: collision with root package name */ + public int f975x; + @Nullable + + /* renamed from: y reason: collision with root package name */ + public MotionPhotoMetadata f976y; + + /* compiled from: Mp4Extractor */ + public static final class a { + public final m a; + public final p b; + + /* renamed from: c reason: collision with root package name */ + public final w f977c; + @Nullable + public final c.i.a.c.x2.x d; + public int e; + + public a(m mVar, p pVar, w wVar) { + this.a = mVar; + this.b = pVar; + this.f977c = wVar; + this.d = "audio/true-hd".equals(mVar.f.v) ? new c.i.a.c.x2.x() : null; + } + } + + static { + b bVar = b.a; + } + + public i(int i) { + this.b = i; + this.j = (i & 4) != 0 ? 3 : 0; + this.h = new k(); + this.i = new ArrayList(); + this.f = new x(16); + this.g = new ArrayDeque<>(); + this.f973c = new x(u.a); + this.d = new x(4); + this.e = new x(); + this.o = -1; + } + + public static long k(p pVar, long j, long j2) { + int a2 = pVar.a(j); + if (a2 == -1) { + a2 = pVar.b(j); + } + return a2 == -1 ? j2 : Math.min(pVar.f983c[a2], j2); + } + + @Override // c.i.a.c.x2.h + public boolean b(c.i.a.c.x2.i iVar) throws IOException { + return l.a(iVar, false, (this.b & 2) != 0); + } + + @Override // c.i.a.c.x2.t + public boolean c() { + return true; + } + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + /* JADX WARNING: Removed duplicated region for block: B:340:0x04a5 A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:343:0x06b9 A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:345:0x0006 A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:346:0x0006 A[SYNTHETIC] */ + @Override // c.i.a.c.x2.h + public int e(c.i.a.c.x2.i iVar, s sVar) throws IOException { + int i; + char c2; + boolean z2; + boolean z3; + d.a peek; + while (true) { + int i2 = this.j; + int i3 = 4; + int i4 = 2; + if (i2 == 0) { + if (this.m == 0) { + if (!iVar.c(this.f.a, 0, 8, true)) { + if (this.f975x == 2 && (this.b & 2) != 0) { + j jVar = this.f974s; + Objects.requireNonNull(jVar); + w p = jVar.p(0, 4); + MotionPhotoMetadata motionPhotoMetadata = this.f976y; + Metadata metadata = motionPhotoMetadata == null ? null : new Metadata(motionPhotoMetadata); + j1.b bVar = new j1.b(); + bVar.i = metadata; + p.e(bVar.a()); + jVar.j(); + jVar.a(new t.b(-9223372036854775807L, 0)); + } + z3 = false; + if (z3) { + return -1; + } + } else { + this.m = 8; + this.f.E(0); + this.l = this.f.u(); + this.k = this.f.f(); + } + } + long j = this.l; + if (j == 1) { + iVar.readFully(this.f.a, 8, 8); + this.m += 8; + this.l = this.f.x(); + } else if (j == 0) { + long b = iVar.b(); + if (b == -1 && (peek = this.g.peek()) != null) { + b = peek.b; + } + if (b != -1) { + this.l = (b - iVar.getPosition()) + ((long) this.m); + } + } + long j2 = this.l; + int i5 = this.m; + if (j2 >= ((long) i5)) { + int i6 = this.k; + if (i6 == 1836019574 || i6 == 1953653099 || i6 == 1835297121 || i6 == 1835626086 || i6 == 1937007212 || i6 == 1701082227 || i6 == 1835365473) { + long position = iVar.getPosition(); + long j3 = this.l; + long j4 = (long) this.m; + long j5 = (position + j3) - j4; + if (j3 != j4 && this.k == 1835365473) { + this.e.A(8); + iVar.o(this.e.a, 0, 8); + x xVar = this.e; + byte[] bArr = e.a; + int i7 = xVar.b; + xVar.F(4); + if (xVar.f() != 1751411826) { + i7 += 4; + } + xVar.E(i7); + iVar.l(this.e.b); + iVar.k(); + } + this.g.push(new d.a(this.k, j5)); + if (this.l == ((long) this.m)) { + l(j5); + } else { + j(); + } + } else if (i6 == 1835296868 || i6 == 1836476516 || i6 == 1751411826 || i6 == 1937011556 || i6 == 1937011827 || i6 == 1937011571 || i6 == 1668576371 || i6 == 1701606260 || i6 == 1937011555 || i6 == 1937011578 || i6 == 1937013298 || i6 == 1937007471 || i6 == 1668232756 || i6 == 1953196132 || i6 == 1718909296 || i6 == 1969517665 || i6 == 1801812339 || i6 == 1768715124) { + c.c.a.a0.d.D(i5 == 8); + c.c.a.a0.d.D(this.l <= 2147483647L); + x xVar2 = new x((int) this.l); + System.arraycopy(this.f.a, 0, xVar2.a, 0, 8); + this.n = xVar2; + this.j = 1; + } else { + long position2 = iVar.getPosition(); + long j6 = (long) this.m; + long j7 = position2 - j6; + if (this.k == 1836086884) { + this.f976y = new MotionPhotoMetadata(0, j7, -9223372036854775807L, j7 + j6, this.l - j6); + } + this.n = null; + this.j = 1; + } + z3 = true; + if (z3) { + } + } else { + throw ParserException.b("Atom size less than header length (unsupported)."); + } + } else if (i2 == 1) { + long j8 = this.l - ((long) this.m); + long position3 = iVar.getPosition() + j8; + x xVar3 = this.n; + if (xVar3 != null) { + iVar.readFully(xVar3.a, this.m, (int) j8); + if (this.k == 1718909296) { + xVar3.E(8); + int f = xVar3.f(); + int i8 = f != 1751476579 ? f != 1903435808 ? 0 : 1 : 2; + if (i8 == 0) { + xVar3.F(4); + while (true) { + if (xVar3.a() <= 0) { + i8 = 0; + break; + } + int f2 = xVar3.f(); + if (f2 == 1751476579) { + i8 = 2; + continue; + } else if (f2 != 1903435808) { + i8 = 0; + continue; + } else { + i8 = 1; + continue; + } + if (i8 != 0) { + break; + } + } + } + this.f975x = i8; + } else if (!this.g.isEmpty()) { + this.g.peek().f962c.add(new d.b(this.k, xVar3)); + } + } else if (j8 < Permission.USE_EXTERNAL_EMOJIS) { + iVar.l((int) j8); + } else { + sVar.a = iVar.getPosition() + j8; + z2 = true; + l(position3); + if (!(!z2 && this.j != 2)) { + return 1; + } + } + z2 = false; + l(position3); + if (!(!z2 && this.j != 2)) { + } + } else if (i2 == 2) { + long position4 = iVar.getPosition(); + if (this.o == -1) { + int i9 = -1; + boolean z4 = true; + int i10 = -1; + int i11 = 0; + long j9 = RecyclerView.FOREVER_NS; + boolean z5 = true; + long j10 = RecyclerView.FOREVER_NS; + long j11 = RecyclerView.FOREVER_NS; + while (true) { + a[] aVarArr = this.t; + int i12 = e0.a; + if (i11 >= aVarArr.length) { + break; + } + a aVar = aVarArr[i11]; + int i13 = aVar.e; + p pVar = aVar.b; + if (i13 != pVar.b) { + long j12 = pVar.f983c[i13]; + long j13 = this.u[i11][i13]; + long j14 = j12 - position4; + boolean z6 = j14 < 0 || j14 >= Permission.USE_EXTERNAL_EMOJIS; + if ((!z6 && z4) || (z6 == z4 && j14 < j11)) { + z4 = z6; + j11 = j14; + i10 = i11; + j10 = j13; + } + if (j13 < j9) { + z5 = z6; + i9 = i11; + j9 = j13; + } + } + i11++; + } + if (j9 == RecyclerView.FOREVER_NS || !z5 || j10 < j9 + 10485760) { + i9 = i10; + } + this.o = i9; + if (i9 == -1) { + return -1; + } + } + a[] aVarArr2 = this.t; + int i14 = e0.a; + a aVar2 = aVarArr2[this.o]; + w wVar = aVar2.f977c; + int i15 = aVar2.e; + p pVar2 = aVar2.b; + long j15 = pVar2.f983c[i15]; + int i16 = pVar2.d[i15]; + c.i.a.c.x2.x xVar4 = aVar2.d; + long j16 = (j15 - position4) + ((long) this.p); + if (j16 < 0 || j16 >= Permission.USE_EXTERNAL_EMOJIS) { + sVar.a = j15; + return 1; + } + if (aVar2.a.g == 1) { + j16 += 8; + i16 -= 8; + } + iVar.l((int) j16); + m mVar = aVar2.a; + int i17 = mVar.j; + if (i17 == 0) { + if ("audio/ac4".equals(mVar.f.v)) { + if (this.q == 0) { + n.a(i16, this.e); + wVar.c(this.e, 7); + this.q += 7; + } + i16 += 7; + } else if (xVar4 != null) { + xVar4.c(iVar); + } + while (true) { + int i18 = this.q; + if (i18 >= i16) { + break; + } + int b2 = wVar.b(iVar, i16 - i18, false); + this.p += b2; + this.q += b2; + this.r -= b2; + } + } else { + byte[] bArr2 = this.d.a; + bArr2[0] = 0; + bArr2[1] = 0; + bArr2[2] = 0; + int i19 = 4 - i17; + while (this.q < i16) { + int i20 = this.r; + if (i20 == 0) { + iVar.readFully(bArr2, i19, i17); + this.p += i17; + this.d.E(0); + int f3 = this.d.f(); + if (f3 >= 0) { + this.r = f3; + this.f973c.E(0); + wVar.c(this.f973c, 4); + this.q += 4; + i16 += i19; + } else { + throw ParserException.a("Invalid NAL length", null); + } + } else { + int b3 = wVar.b(iVar, i20, false); + this.p += b3; + this.q += b3; + this.r -= b3; + } + } + } + p pVar3 = aVar2.b; + long j17 = pVar3.f[i15]; + int i21 = pVar3.g[i15]; + if (xVar4 != null) { + xVar4.b(wVar, j17, i21, i16, 0, null); + if (i15 + 1 == aVar2.b.b) { + xVar4.a(wVar, null); + } + } else { + wVar.d(j17, i21, i16, 0, null); + } + aVar2.e++; + this.o = -1; + this.p = 0; + this.q = 0; + this.r = 0; + return 0; + } else if (i2 == 3) { + k kVar = this.h; + List list = this.i; + int i22 = kVar.d; + if (i22 == 0) { + long b4 = iVar.b(); + sVar.a = (b4 == -1 || b4 < 8) ? 0 : b4 - 8; + kVar.d = 1; + } else if (i22 != 1) { + short s2 = 2819; + if (i22 == 2) { + long b5 = iVar.b(); + int i23 = (kVar.e - 12) - 8; + x xVar5 = new x(i23); + iVar.readFully(xVar5.a, 0, i23); + int i24 = 0; + while (i24 < i23 / 12) { + xVar5.F(i4); + short i25 = xVar5.i(); + if (i25 == 2192 || i25 == 2816 || i25 == 2817 || i25 == s2 || i25 == 2820) { + kVar.f979c.add(new k.a(i25, (b5 - ((long) kVar.e)) - ((long) xVar5.h()), xVar5.h())); + } else { + xVar5.F(8); + } + i24++; + s2 = 2819; + i4 = 2; + } + if (kVar.f979c.isEmpty()) { + sVar.a = 0; + } else { + kVar.d = 3; + sVar.a = kVar.f979c.get(0).a; + } + } else if (i22 == 3) { + long position5 = iVar.getPosition(); + int b6 = (int) ((iVar.b() - iVar.getPosition()) - ((long) kVar.e)); + x xVar6 = new x(b6); + iVar.readFully(xVar6.a, 0, b6); + int i26 = 0; + while (i26 < kVar.f979c.size()) { + k.a aVar3 = kVar.f979c.get(i26); + xVar6.E((int) (aVar3.a - position5)); + xVar6.F(i3); + int h = xVar6.h(); + String q = xVar6.q(h); + switch (q.hashCode()) { + case -1711564334: + if (q.equals("SlowMotion_Data")) { + i = 0; + break; + } + i = -1; + break; + case -1332107749: + if (q.equals("Super_SlowMotion_Edit_Data")) { + i = 1; + break; + } + i = -1; + break; + case -1251387154: + if (q.equals("Super_SlowMotion_Data")) { + i = 2; + break; + } + i = -1; + break; + case -830665521: + if (q.equals("Super_SlowMotion_Deflickering_On")) { + i = 3; + break; + } + i = -1; + break; + case 1760745220: + if (q.equals("Super_SlowMotion_BGM")) { + i = 4; + break; + } + i = -1; + break; + default: + i = -1; + break; + } + if (i == 0) { + c2 = 2192; + } else if (i == 1) { + c2 = 2819; + } else if (i == 2) { + c2 = 2816; + } else if (i == 3) { + c2 = 2820; + } else if (i == i3) { + c2 = 2817; + } else { + throw ParserException.a("Invalid SEF name", null); + } + int i27 = aVar3.b - (h + 8); + if (c2 == 2192) { + ArrayList arrayList = new ArrayList(); + List a2 = k.b.a(xVar6.q(i27)); + for (int i28 = 0; i28 < a2.size(); i28++) { + List a3 = k.a.a(a2.get(i28)); + if (a3.size() == 3) { + try { + arrayList.add(new SlowMotionData.Segment(Long.parseLong(a3.get(0)), Long.parseLong(a3.get(1)), 1 << (Integer.parseInt(a3.get(2)) - 1))); + } catch (NumberFormatException e) { + throw ParserException.a(null, e); + } + } else { + throw ParserException.a(null, null); + } + } + list.add(new SlowMotionData(arrayList)); + } else if (!(c2 == 2816 || c2 == 2817 || c2 == 2819 || c2 == 2820)) { + throw new IllegalStateException(); + } + i26++; + list = list; + i3 = 4; + } + sVar.a = 0; + } else { + throw new IllegalStateException(); + } + } else { + byte[] bArr3 = new byte[8]; + iVar.readFully(bArr3, 0, 8); + kVar.e = ((bArr3[0] & 255) | ((bArr3[1] & 255) << 8) | ((bArr3[2] & 255) << 16) | ((bArr3[3] & 255) << 24)) + 8; + if (((bArr3[7] & 255) | ((bArr3[5] & 255) << 16) | ((bArr3[4] & 255) << 24) | ((bArr3[6] & 255) << 8)) != 1397048916) { + sVar.a = 0; + } else { + sVar.a = iVar.getPosition() - ((long) (kVar.e - 12)); + kVar.d = 2; + } + } + if (sVar.a == 0) { + j(); + } + return 1; + } else { + throw new IllegalStateException(); + } + } + } + + @Override // c.i.a.c.x2.h + public void f(j jVar) { + this.f974s = jVar; + } + + @Override // c.i.a.c.x2.h + public void g(long j, long j2) { + this.g.clear(); + this.m = 0; + this.o = -1; + this.p = 0; + this.q = 0; + this.r = 0; + if (j != 0) { + a[] aVarArr = this.t; + if (aVarArr != null) { + for (a aVar : aVarArr) { + p pVar = aVar.b; + int a2 = pVar.a(j2); + if (a2 == -1) { + a2 = pVar.b(j2); + } + aVar.e = a2; + c.i.a.c.x2.x xVar = aVar.d; + if (xVar != null) { + xVar.b = false; + xVar.f1038c = 0; + } + } + } + } else if (this.j != 3) { + j(); + } else { + k kVar = this.h; + kVar.f979c.clear(); + kVar.d = 0; + this.i.clear(); + } + } + + @Override // c.i.a.c.x2.t + public t.a h(long j) { + long j2; + long j3; + long j4; + long j5; + int b; + long j6 = j; + a[] aVarArr = this.t; + Objects.requireNonNull(aVarArr); + if (aVarArr.length == 0) { + return new t.a(c.i.a.c.x2.u.a); + } + long j7 = -1; + int i = this.v; + if (i != -1) { + p pVar = this.t[i].b; + int a2 = pVar.a(j6); + if (a2 == -1) { + a2 = pVar.b(j6); + } + if (a2 == -1) { + return new t.a(c.i.a.c.x2.u.a); + } + long j8 = pVar.f[a2]; + j2 = pVar.f983c[a2]; + if (j8 >= j6 || a2 >= pVar.b - 1 || (b = pVar.b(j6)) == -1 || b == a2) { + j5 = -9223372036854775807L; + } else { + long j9 = pVar.f[b]; + long j10 = pVar.f983c[b]; + j5 = j9; + j7 = j10; + } + j3 = j7; + j4 = j5; + j6 = j8; + } else { + j2 = RecyclerView.FOREVER_NS; + j3 = -1; + j4 = -9223372036854775807L; + } + int i2 = 0; + while (true) { + a[] aVarArr2 = this.t; + if (i2 >= aVarArr2.length) { + break; + } + if (i2 != this.v) { + p pVar2 = aVarArr2[i2].b; + long k = k(pVar2, j6, j2); + if (j4 != -9223372036854775807L) { + j3 = k(pVar2, j4, j3); + } + j2 = k; + } + i2++; + } + c.i.a.c.x2.u uVar = new c.i.a.c.x2.u(j6, j2); + return j4 == -9223372036854775807L ? new t.a(uVar) : new t.a(uVar, new c.i.a.c.x2.u(j4, j3)); + } + + @Override // c.i.a.c.x2.t + public long i() { + return this.w; + } + + public final void j() { + this.j = 0; + this.m = 0; + } + + /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0563: APUT + (r4v12 com.google.android.exoplayer2.metadata.Metadata[]) + (1 ??[boolean, int, float, short, byte, char]) + (r12v7 com.google.android.exoplayer2.metadata.Metadata) + */ + /* JADX WARNING: Removed duplicated region for block: B:161:0x02c9 */ + /* JADX WARNING: Removed duplicated region for block: B:233:0x049e */ + /* JADX WARNING: Removed duplicated region for block: B:234:0x04a1 */ + /* JADX WARNING: Removed duplicated region for block: B:237:0x04c9 */ + /* JADX WARNING: Removed duplicated region for block: B:290:0x05b3 */ + /* JADX WARNING: Removed duplicated region for block: B:296:0x05c7 */ + /* JADX WARNING: Removed duplicated region for block: B:299:0x05d7 */ + /* JADX WARNING: Removed duplicated region for block: B:302:0x05e1 */ + /* JADX WARNING: Removed duplicated region for block: B:309:0x061e A[LOOP:12: B:307:0x061b->B:309:0x061e, LOOP_END] */ + /* JADX WARNING: Removed duplicated region for block: B:313:0x063a */ + /* JADX WARNING: Removed duplicated region for block: B:351:0x02cc A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:43:0x00de A[Catch:{ all -> 0x022a }] */ + /* JADX WARNING: Removed duplicated region for block: B:44:0x00e5 A[Catch:{ all -> 0x022a }] */ + public final void l(long j) throws ParserException { + boolean z2; + ArrayList arrayList; + int i; + Metadata metadata; + Metadata metadata2; + Metadata metadata3; + Metadata metadata4; + int size; + int i2; + a[] aVarArr; + int i3; + int i4; + Metadata metadata5; + int i5; + ArrayList arrayList2; + ArrayList arrayList3; + int i6; + int i7; + int i8; + Metadata metadata6; + String[] strArr; + int i9; + MdtaMetadataEntry mdtaMetadataEntry; + boolean z3; + ArrayList arrayList4; + Metadata metadata7; + boolean z4; + Object obj; + String str; + while (!this.g.isEmpty() && this.g.peek().b == j) { + d.a pop = this.g.pop(); + if (pop.a == 1836019574) { + ArrayList arrayList5 = new ArrayList(); + boolean z5 = this.f975x == 1; + p pVar = new p(); + d.b c2 = pop.c(1969517665); + int i10 = 1768715124; + int i11 = 1751411826; + int i12 = 1835365473; + int i13 = 4; + int i14 = 8; + Metadata metadata8 = null; + if (c2 != null) { + byte[] bArr = e.a; + x xVar = c2.b; + xVar.E(8); + Metadata metadata9 = null; + String str2 = null; + while (xVar.a() >= i14) { + int i15 = xVar.b; + int f = xVar.f(); + int f2 = xVar.f(); + if (f2 == i12) { + xVar.E(i15); + int i16 = i15 + f; + xVar.F(i14); + int i17 = xVar.b; + xVar.F(i13); + if (xVar.f() != i11) { + i17 += 4; + } + xVar.E(i17); + int i18 = i10; + while (true) { + int i19 = xVar.b; + if (i19 >= i16) { + arrayList4 = arrayList5; + z3 = z5; + break; + } + int f3 = xVar.f(); + if (xVar.f() == i18) { + xVar.E(i19); + int i20 = i19 + f3; + xVar.F(i14); + ArrayList arrayList6 = new ArrayList(); + while (true) { + int i21 = xVar.b; + if (i21 >= i20) { + break; + } + int f4 = xVar.f() + i21; + int f5 = xVar.f(); + int i22 = (f5 >> 24) & 255; + if (i22 == 169 || i22 == 253) { + z4 = z5; + int i23 = 16777215 & f5; + if (i23 == 6516084) { + obj = h.a(f5, xVar); + } else { + if (i23 != 7233901) { + if (i23 != 7631467) { + if (i23 != 6516589) { + if (i23 != 7828084) { + if (i23 == 6578553) { + obj = h.d(f5, "TDRC", xVar); + } else if (i23 == 4280916) { + obj = h.d(f5, "TPE1", xVar); + } else if (i23 == 7630703) { + obj = h.d(f5, "TSSE", xVar); + } else if (i23 == 6384738) { + obj = h.d(f5, "TALB", xVar); + } else if (i23 == 7108978) { + obj = h.d(f5, "USLT", xVar); + } else if (i23 == 6776174) { + obj = h.d(f5, "TCON", xVar); + } else if (i23 == 6779504) { + obj = h.d(f5, "TIT1", xVar); + } + } + } + obj = h.d(f5, "TCOM", xVar); + } + } + obj = h.d(f5, "TIT2", xVar); + } + xVar.E(f4); + if (obj == null) { + arrayList6.add(obj); + } + str2 = null; + i20 = i20; + arrayList5 = arrayList5; + z5 = z4; + } else { + if (f5 == 1735291493) { + try { + int f6 = h.f(xVar); + if (f6 > 0) { + String[] strArr2 = h.a; + if (f6 <= strArr2.length) { + str = strArr2[f6 - 1]; + if (str == null) { + obj = new TextInformationFrame("TCON", str2, str); + } else { + Log.w("MetadataUtil", "Failed to parse standard genre code"); + z4 = z5; + obj = null; + xVar.E(f4); + if (obj == null) { + } + str2 = null; + i20 = i20; + arrayList5 = arrayList5; + z5 = z4; + } + } + } + str = str2; + if (str == null) { + } + } catch (Throwable th) { + xVar.E(f4); + throw th; + } + } else if (f5 == 1684632427) { + obj = h.c(f5, "TPOS", xVar); + } else if (f5 == 1953655662) { + obj = h.c(f5, "TRCK", xVar); + } else if (f5 == 1953329263) { + obj = h.e(f5, "TBPM", xVar, true, false); + } else if (f5 == 1668311404) { + obj = h.e(f5, "TCMP", xVar, true, true); + } else if (f5 == 1668249202) { + obj = h.b(xVar); + } else if (f5 == 1631670868) { + obj = h.d(f5, "TPE2", xVar); + } else if (f5 == 1936682605) { + obj = h.d(f5, "TSOT", xVar); + } else if (f5 == 1936679276) { + obj = h.d(f5, "TSO2", xVar); + } else if (f5 == 1936679282) { + obj = h.d(f5, "TSOA", xVar); + } else if (f5 == 1936679265) { + obj = h.d(f5, "TSOP", xVar); + } else if (f5 == 1936679791) { + obj = h.d(f5, "TSOC", xVar); + } else if (f5 == 1920233063) { + obj = h.e(f5, "ITUNESADVISORY", xVar, false, false); + } else if (f5 == 1885823344) { + obj = h.e(f5, "ITUNESGAPLESS", xVar, false, true); + } else if (f5 == 1936683886) { + obj = h.d(f5, "TVSHOWSORT", xVar); + } else if (f5 == 1953919848) { + obj = h.d(f5, "TVSHOW", xVar); + } else if (f5 == 757935405) { + int i24 = -1; + int i25 = -1; + String str3 = str2; + while (true) { + int i26 = xVar.b; + if (i26 >= f4) { + break; + } + int f7 = xVar.f(); + int f8 = xVar.f(); + xVar.F(4); + if (f8 == 1835360622) { + str2 = xVar.o(f7 - 12); + } else if (f8 == 1851878757) { + str3 = xVar.o(f7 - 12); + } else { + if (f8 == 1684108385) { + i25 = f7; + i24 = i26; + } + xVar.F(f7 - 12); + } + z5 = z5; + } + z4 = z5; + if (!(str2 == null || str3 == null)) { + if (i24 != -1) { + xVar.E(i24); + xVar.F(16); + obj = new InternalFrame(str2, str3, xVar.o(i25 - 16)); + xVar.E(f4); + if (obj == null) { + } + str2 = null; + i20 = i20; + arrayList5 = arrayList5; + z5 = z4; + } + } + obj = null; + xVar.E(f4); + if (obj == null) { + } + str2 = null; + i20 = i20; + arrayList5 = arrayList5; + z5 = z4; + } else { + z4 = z5; + } + z4 = z5; + xVar.E(f4); + if (obj == null) { + } + str2 = null; + i20 = i20; + arrayList5 = arrayList5; + z5 = z4; + } + String valueOf = String.valueOf(d.a(f5)); + Log.d("MetadataUtil", valueOf.length() != 0 ? "Skipped unknown metadata entry: ".concat(valueOf) : new String("Skipped unknown metadata entry: ")); + obj = null; + xVar.E(f4); + if (obj == null) { + } + str2 = null; + i20 = i20; + arrayList5 = arrayList5; + z5 = z4; + } + arrayList4 = arrayList5; + z3 = z5; + if (!arrayList6.isEmpty()) { + metadata7 = new Metadata(arrayList6); + } + } else { + xVar.E(i19 + f3); + i14 = 8; + i18 = 1768715124; + str2 = null; + } + } + metadata7 = null; + metadata8 = metadata7; + } else { + arrayList4 = arrayList5; + z3 = z5; + if (f2 == 1936553057) { + xVar.E(i15); + int i27 = i15 + f; + xVar.F(12); + while (true) { + int i28 = xVar.b; + if (i28 >= i27) { + break; + } + int f9 = xVar.f(); + if (xVar.f() != 1935766900) { + xVar.E(i28 + f9); + } else if (f9 >= 14) { + xVar.F(5); + int t = xVar.t(); + if (t == 12 || t == 13) { + float f10 = t == 12 ? 240.0f : 120.0f; + xVar.F(1); + metadata9 = new Metadata(new SmtaMetadataEntry(f10, xVar.t())); + } + } + } + metadata9 = null; + } + } + xVar.E(i15 + f); + i14 = 8; + i10 = 1768715124; + i11 = 1751411826; + i12 = 1835365473; + str2 = null; + i13 = 4; + arrayList5 = arrayList4; + z5 = z3; + } + arrayList = arrayList5; + z2 = z5; + Pair create = Pair.create(metadata8, metadata9); + metadata = (Metadata) create.first; + metadata2 = (Metadata) create.second; + if (metadata != null) { + pVar.b(metadata); + } + i = 1835365473; + } else { + arrayList = arrayList5; + z2 = z5; + metadata2 = null; + i = 1835365473; + metadata = null; + } + Metadata metadata10 = metadata; + d.a b = pop.b(i); + if (b != null) { + byte[] bArr2 = e.a; + d.b c3 = b.c(1751411826); + d.b c4 = b.c(1801812339); + d.b c5 = b.c(1768715124); + if (!(c3 == null || c4 == null || c5 == null)) { + x xVar2 = c3.b; + xVar2.E(16); + if (xVar2.f() == 1835299937) { + x xVar3 = c4.b; + xVar3.E(12); + int f11 = xVar3.f(); + String[] strArr3 = new String[f11]; + for (int i29 = 0; i29 < f11; i29++) { + int f12 = xVar3.f(); + xVar3.F(4); + strArr3[i29] = xVar3.q(f12 - 8); + } + int i30 = 8; + x xVar4 = c5.b; + xVar4.E(8); + ArrayList arrayList7 = new ArrayList(); + while (xVar4.a() > i30) { + int i31 = xVar4.b; + int f13 = xVar4.f(); + int f14 = xVar4.f() - 1; + if (f14 < 0 || f14 >= f11) { + i9 = f11; + strArr = strArr3; + metadata6 = metadata10; + c.d.b.a.a.d0(52, "Skipped metadata with unknown key index: ", f14, "AtomParsers"); + } else { + String str4 = strArr3[f14]; + int i32 = i31 + f13; + while (true) { + int i33 = xVar4.b; + if (i33 >= i32) { + i9 = f11; + strArr = strArr3; + metadata6 = metadata10; + mdtaMetadataEntry = null; + break; + } + int f15 = xVar4.f(); + i9 = f11; + if (xVar4.f() == 1684108385) { + int f16 = xVar4.f(); + int f17 = xVar4.f(); + int i34 = f15 - 16; + byte[] bArr3 = new byte[i34]; + strArr = strArr3; + metadata6 = metadata10; + System.arraycopy(xVar4.a, xVar4.b, bArr3, 0, i34); + xVar4.b += i34; + mdtaMetadataEntry = new MdtaMetadataEntry(str4, bArr3, f17, f16); + break; + } + xVar4.E(i33 + f15); + f11 = i9; + } + if (mdtaMetadataEntry != null) { + arrayList7.add(mdtaMetadataEntry); + } + } + xVar4.E(i31 + f13); + i30 = 8; + f11 = i9; + strArr3 = strArr; + metadata10 = metadata6; + } + metadata3 = metadata10; + if (!arrayList7.isEmpty()) { + metadata4 = new Metadata(arrayList7); + Metadata metadata11 = metadata4; + List

e = e.e(pop, pVar, -9223372036854775807L, null, (this.b & 1) != 0, z2, a.a); + j jVar = this.f974s; + Objects.requireNonNull(jVar); + ArrayList arrayList8 = (ArrayList) e; + size = arrayList8.size(); + long j2 = -9223372036854775807L; + long j3 = -9223372036854775807L; + i2 = 0; + int i35 = -1; + while (i2 < size) { + p pVar2 = (p) arrayList8.get(i2); + if (pVar2.b == 0) { + metadata5 = metadata2; + arrayList2 = arrayList8; + i5 = size; + arrayList3 = arrayList; + } else { + m mVar = pVar2.a; + long j4 = mVar.e; + if (j4 == j3) { + j4 = pVar2.h; + } + j2 = Math.max(j2, j4); + a aVar = new a(mVar, pVar2, jVar.p(i2, mVar.b)); + arrayList2 = arrayList8; + int i36 = "audio/true-hd".equals(mVar.f.v) ? pVar2.e * 16 : pVar2.e + 30; + j1.b a2 = mVar.f.a(); + a2.l = i36; + int i37 = mVar.b; + i5 = size; + if (i37 == 2 && j4 > 0 && (i8 = pVar2.b) > 1) { + a2.r = ((float) i8) / (((float) j4) / 1000000.0f); + } + if (i37 == 1) { + int i38 = pVar.b; + if ((i38 == -1 || pVar.f1034c == -1) ? false : true) { + a2.A = i38; + a2.B = pVar.f1034c; + } + } + Metadata[] metadataArr = new Metadata[2]; + metadataArr[0] = metadata2; + metadataArr[1] = this.i.isEmpty() ? null : new Metadata(this.i); + Metadata metadata12 = new Metadata(new Metadata.Entry[0]); + if (i37 == 1) { + if (metadata3 != null) { + metadata5 = metadata2; + metadata11 = metadata11; + metadata12 = metadata3; + for (i6 = 0; i6 < 2; i6++) { + Metadata metadata13 = metadataArr[i6]; + if (metadata13 != null) { + metadata12 = metadata12.a(metadata13.i); + } + } + if (metadata12.i.length > 0) { + a2.i = metadata12; + } + aVar.f977c.e(a2.a()); + if (mVar.b == 2) { + i7 = i35; + if (i7 == -1) { + i35 = arrayList.size(); + arrayList3 = arrayList; + arrayList3.add(aVar); + } + } else { + i7 = i35; + } + i35 = i7; + arrayList3 = arrayList; + arrayList3.add(aVar); + } + } else if (i37 == 2 && metadata11 != null) { + int i39 = 0; + metadata11 = metadata11; + while (true) { + Metadata.Entry[] entryArr = metadata11.i; + if (i39 >= entryArr.length) { + metadata5 = metadata2; + break; + } + Metadata.Entry entry = entryArr[i39]; + if (entry instanceof MdtaMetadataEntry) { + MdtaMetadataEntry mdtaMetadataEntry2 = (MdtaMetadataEntry) entry; + metadata5 = metadata2; + if ("com.android.capture.fps".equals(mdtaMetadataEntry2.i)) { + metadata12 = new Metadata(mdtaMetadataEntry2); + break; + } + } else { + metadata5 = metadata2; + } + i39++; + metadata2 = metadata5; + } + while (i6 < 2) { + } + if (metadata12.i.length > 0) { + } + aVar.f977c.e(a2.a()); + if (mVar.b == 2) { + } + i35 = i7; + arrayList3 = arrayList; + arrayList3.add(aVar); + } + metadata5 = metadata2; + metadata11 = metadata11; + while (i6 < 2) { + } + if (metadata12.i.length > 0) { + } + aVar.f977c.e(a2.a()); + if (mVar.b == 2) { + } + i35 = i7; + arrayList3 = arrayList; + arrayList3.add(aVar); + } + i2++; + j3 = -9223372036854775807L; + arrayList = arrayList3; + arrayList8 = arrayList2; + size = i5; + metadata2 = metadata5; + } + long j5 = 0; + this.v = i35; + this.w = j2; + aVarArr = (a[]) arrayList.toArray(new a[0]); + this.t = aVarArr; + long[][] jArr = new long[aVarArr.length][]; + int[] iArr = new int[aVarArr.length]; + long[] jArr2 = new long[aVarArr.length]; + boolean[] zArr = new boolean[aVarArr.length]; + for (i3 = 0; i3 < aVarArr.length; i3++) { + jArr[i3] = new long[aVarArr[i3].b.b]; + jArr2[i3] = aVarArr[i3].b.f[0]; + } + i4 = 0; + while (i4 < aVarArr.length) { + long j6 = RecyclerView.FOREVER_NS; + int i40 = -1; + for (int i41 = 0; i41 < aVarArr.length; i41++) { + if (!zArr[i41] && jArr2[i41] <= j6) { + j6 = jArr2[i41]; + i40 = i41; + } + } + int i42 = iArr[i40]; + jArr[i40][i42] = j5; + j5 += (long) aVarArr[i40].b.d[i42]; + int i43 = i42 + 1; + iArr[i40] = i43; + if (i43 < jArr[i40].length) { + jArr2[i40] = aVarArr[i40].b.f[i43]; + } else { + zArr[i40] = true; + i4++; + } + } + this.u = jArr; + jVar.j(); + jVar.a(this); + this.g.clear(); + this.j = 2; + } + metadata4 = null; + Metadata metadata11 = metadata4; + List

e = e.e(pop, pVar, -9223372036854775807L, null, (this.b & 1) != 0, z2, a.a); + j jVar = this.f974s; + Objects.requireNonNull(jVar); + ArrayList arrayList8 = (ArrayList) e; + size = arrayList8.size(); + long j2 = -9223372036854775807L; + long j3 = -9223372036854775807L; + i2 = 0; + int i35 = -1; + while (i2 < size) { + } + long j5 = 0; + this.v = i35; + this.w = j2; + aVarArr = (a[]) arrayList.toArray(new a[0]); + this.t = aVarArr; + long[][] jArr = new long[aVarArr.length][]; + int[] iArr = new int[aVarArr.length]; + long[] jArr2 = new long[aVarArr.length]; + boolean[] zArr = new boolean[aVarArr.length]; + while (i3 < aVarArr.length) { + } + i4 = 0; + while (i4 < aVarArr.length) { + } + this.u = jArr; + jVar.j(); + jVar.a(this); + this.g.clear(); + this.j = 2; + } + } + } + metadata3 = metadata10; + metadata4 = null; + Metadata metadata11 = metadata4; + List

e = e.e(pop, pVar, -9223372036854775807L, null, (this.b & 1) != 0, z2, a.a); + j jVar = this.f974s; + Objects.requireNonNull(jVar); + ArrayList arrayList8 = (ArrayList) e; + size = arrayList8.size(); + long j2 = -9223372036854775807L; + long j3 = -9223372036854775807L; + i2 = 0; + int i35 = -1; + while (i2 < size) { + } + long j5 = 0; + this.v = i35; + this.w = j2; + aVarArr = (a[]) arrayList.toArray(new a[0]); + this.t = aVarArr; + long[][] jArr = new long[aVarArr.length][]; + int[] iArr = new int[aVarArr.length]; + long[] jArr2 = new long[aVarArr.length]; + boolean[] zArr = new boolean[aVarArr.length]; + while (i3 < aVarArr.length) { + } + i4 = 0; + while (i4 < aVarArr.length) { + } + this.u = jArr; + jVar.j(); + jVar.a(this); + this.g.clear(); + this.j = 2; + } else if (!this.g.isEmpty()) { + this.g.peek().d.add(pop); + } + } + if (this.j != 2) { + j(); + } + } + + @Override // c.i.a.c.x2.h + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/j.java b/app/src/main/java/c/i/a/c/x2/i0/j.java new file mode 100644 index 0000000000..d5f8511fd9 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/j.java @@ -0,0 +1,17 @@ +package c.i.a.c.x2.i0; + +import java.util.UUID; +/* compiled from: PsshAtomUtil */ +public class j { + public final UUID a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final byte[] f978c; + + public j(UUID uuid, int i, byte[] bArr) { + this.a = uuid; + this.b = i; + this.f978c = bArr; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/k.java b/app/src/main/java/c/i/a/c/x2/i0/k.java new file mode 100644 index 0000000000..bfa252721c --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/k.java @@ -0,0 +1,28 @@ +package c.i.a.c.x2.i0; + +import c.i.b.a.b; +import c.i.b.a.j; +import com.discord.widgets.chat.input.MentionUtilsKt; +import java.util.ArrayList; +import java.util.List; +/* compiled from: SefReader */ +public final class k { + public static final c.i.b.a.k a = new c.i.b.a.k(new j(new b.C0124b(MentionUtilsKt.EMOJIS_AND_STICKERS_CHAR))); + public static final c.i.b.a.k b = new c.i.b.a.k(new j(new b.C0124b('*'))); + + /* renamed from: c reason: collision with root package name */ + public final List f979c = new ArrayList(); + public int d = 0; + public int e; + + /* compiled from: SefReader */ + public static final class a { + public final long a; + public final int b; + + public a(int i, long j, int i2) { + this.a = j; + this.b = i2; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/l.java b/app/src/main/java/c/i/a/c/x2/i0/l.java new file mode 100644 index 0000000000..06530ae208 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/l.java @@ -0,0 +1,128 @@ +package c.i.a.c.x2.i0; + +import c.i.a.c.f3.x; +import c.i.a.c.x2.i; +import com.discord.api.permission.Permission; +import java.io.IOException; +/* compiled from: Sniffer */ +public final class l { + public static final int[] a = {1769172845, 1769172786, 1769172787, 1769172788, 1769172789, 1769172790, 1769172793, 1635148593, 1752589105, 1751479857, 1635135537, 1836069937, 1836069938, 862401121, 862401122, 862417462, 862417718, 862414134, 862414646, 1295275552, 1295270176, 1714714144, 1801741417, 1295275600, 1903435808, 1297305174, 1684175153, 1769172332, 1885955686}; + + /* JADX WARNING: Code restructure failed: missing block: B:67:0x00fb, code lost: + r0 = true; + */ + public static boolean a(i iVar, boolean z2, boolean z3) throws IOException { + boolean z4; + long b = iVar.b(); + long j = Permission.SEND_TTS_MESSAGES; + long j2 = -1; + int i = (b > -1 ? 1 : (b == -1 ? 0 : -1)); + if (i != 0 && b <= Permission.SEND_TTS_MESSAGES) { + j = b; + } + int i2 = (int) j; + x xVar = new x(64); + boolean z5 = false; + int i3 = 0; + boolean z6 = false; + while (true) { + if (i3 >= i2) { + break; + } + xVar.A(8); + byte[] bArr = xVar.a; + int i4 = z5 ? 1 : 0; + int i5 = z5 ? 1 : 0; + int i6 = z5 ? 1 : 0; + int i7 = z5 ? 1 : 0; + if (!iVar.e(bArr, i4, 8, true)) { + break; + } + long u = xVar.u(); + int f = xVar.f(); + int i8 = 16; + if (u == 1) { + iVar.o(xVar.a, 8, 8); + xVar.D(16); + u = xVar.m(); + } else { + if (u == 0) { + long b2 = iVar.b(); + if (b2 != j2) { + u = (b2 - iVar.f()) + ((long) 8); + } + } + i8 = 8; + } + long j3 = (long) i8; + if (u < j3) { + return z5; + } + i3 += i8; + if (f == 1836019574) { + i2 += (int) u; + if (i != 0 && ((long) i2) > b) { + i2 = (int) b; + } + j2 = -1; + } else if (f == 1836019558 || f == 1836475768) { + break; + } else if ((((long) i3) + u) - j3 >= ((long) i2)) { + break; + } else { + int i9 = (int) (u - j3); + i3 += i9; + if (f == 1718909296) { + if (i9 < 8) { + return false; + } + xVar.A(i9); + iVar.o(xVar.a, 0, i9); + int i10 = i9 / 4; + int i11 = 0; + while (true) { + if (i11 >= i10) { + break; + } + if (i11 == 1) { + xVar.F(4); + } else { + int f2 = xVar.f(); + if ((f2 >>> 8) != 3368816 && (f2 != 1751476579 || !z3)) { + int[] iArr = a; + int length = iArr.length; + int i12 = 0; + while (true) { + if (i12 >= length) { + z4 = false; + break; + } else if (iArr[i12] == f2) { + break; + } else { + i12++; + } + } + } + z4 = true; + if (z4) { + z6 = true; + break; + } + } + i11++; + } + if (!z6) { + return false; + } + } else if (i9 != 0) { + iVar.g(i9); + } + b = b; + j2 = -1; + z5 = false; + } + } + boolean z7 = false; + return z6 && z2 == z7; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/m.java b/app/src/main/java/c/i/a/c/x2/i0/m.java new file mode 100644 index 0000000000..b534da25ab --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/m.java @@ -0,0 +1,46 @@ +package c.i.a.c.x2.i0; + +import androidx.annotation.Nullable; +import c.i.a.c.j1; +/* compiled from: Track */ +public final class m { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final long f980c; + public final long d; + public final long e; + public final j1 f; + public final int g; + @Nullable + public final long[] h; + @Nullable + public final long[] i; + public final int j; + @Nullable + public final n[] k; + + public m(int i, int i2, long j, long j2, long j3, j1 j1Var, int i3, @Nullable n[] nVarArr, int i4, @Nullable long[] jArr, @Nullable long[] jArr2) { + this.a = i; + this.b = i2; + this.f980c = j; + this.d = j2; + this.e = j3; + this.f = j1Var; + this.g = i3; + this.k = nVarArr; + this.j = i4; + this.h = jArr; + this.i = jArr2; + } + + @Nullable + public n a(int i) { + n[] nVarArr = this.k; + if (nVarArr == null) { + return null; + } + return nVarArr[i]; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/n.java b/app/src/main/java/c/i/a/c/x2/i0/n.java new file mode 100644 index 0000000000..57e47e9559 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/n.java @@ -0,0 +1,68 @@ +package c.i.a.c.x2.i0; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.d.b.a.a; +import c.i.a.c.x2.w; +/* compiled from: TrackEncryptionBox */ +public final class n { + public final boolean a; + @Nullable + public final String b; + + /* renamed from: c reason: collision with root package name */ + public final w.a f981c; + public final int d; + @Nullable + public final byte[] e; + + /* JADX INFO: Can't fix incorrect switch cases order, some code will duplicate */ + /* JADX WARNING: Code restructure failed: missing block: B:21:0x0051, code lost: + if (r6.equals("cbc1") == false) goto L_0x0053; + */ + public n(boolean z2, @Nullable String str, int i, byte[] bArr, int i2, int i3, @Nullable byte[] bArr2) { + char c2 = 0; + int i4 = 1; + d.j((i == 0) ^ (bArr2 == null)); + this.a = z2; + this.b = str; + this.d = i; + this.e = bArr2; + if (str != null) { + switch (str.hashCode()) { + case 3046605: + break; + case 3046671: + if (str.equals("cbcs")) { + c2 = 1; + break; + } + c2 = 65535; + break; + case 3049879: + if (str.equals("cenc")) { + c2 = 2; + break; + } + c2 = 65535; + break; + case 3049895: + if (str.equals("cens")) { + c2 = 3; + break; + } + c2 = 65535; + break; + default: + c2 = 65535; + break; + } + if (c2 == 0 || c2 == 1) { + i4 = 2; + } else if (!(c2 == 2 || c2 == 3)) { + a.g0(str.length() + 68, "Unsupported protection scheme type '", str, "'. Assuming AES-CTR crypto mode.", "TrackEncryptionBox"); + } + } + this.f981c = new w.a(i4, bArr, i2, i3); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/o.java b/app/src/main/java/c/i/a/c/x2/i0/o.java new file mode 100644 index 0000000000..c5306e5b16 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/o.java @@ -0,0 +1,27 @@ +package c.i.a.c.x2.i0; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.x; +/* compiled from: TrackFragment */ +public final class o { + public f a; + public long b; + + /* renamed from: c reason: collision with root package name */ + public long f982c; + public int d; + public int e; + public long[] f = new long[0]; + public int[] g = new int[0]; + public int[] h = new int[0]; + public long[] i = new long[0]; + public boolean[] j = new boolean[0]; + public boolean k; + public boolean[] l = new boolean[0]; + @Nullable + public n m; + public final x n = new x(); + public boolean o; + public long p; + public boolean q; +} diff --git a/app/src/main/java/c/i/a/c/x2/i0/p.java b/app/src/main/java/c/i/a/c/x2/i0/p.java new file mode 100644 index 0000000000..3270998c09 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/i0/p.java @@ -0,0 +1,54 @@ +package c.i.a.c.x2.i0; + +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +/* compiled from: TrackSampleTable */ +public final class p { + public final m a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final long[] f983c; + public final int[] d; + public final int e; + public final long[] f; + public final int[] g; + public final long h; + + public p(m mVar, long[] jArr, int[] iArr, int i, long[] jArr2, int[] iArr2, long j) { + boolean z2 = false; + d.j(iArr.length == jArr2.length); + d.j(jArr.length == jArr2.length); + d.j(iArr2.length == jArr2.length ? true : z2); + this.a = mVar; + this.f983c = jArr; + this.d = iArr; + this.e = i; + this.f = jArr2; + this.g = iArr2; + this.h = j; + this.b = jArr.length; + if (iArr2.length > 0) { + int length = iArr2.length - 1; + iArr2[length] = iArr2[length] | 536870912; + } + } + + public int a(long j) { + for (int e = e0.e(this.f, j, true, false); e >= 0; e--) { + if ((this.g[e] & 1) != 0) { + return e; + } + } + return -1; + } + + public int b(long j) { + for (int b = e0.b(this.f, j, true, false); b < this.f.length; b++) { + if ((this.g[b] & 1) != 0) { + return b; + } + } + return -1; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/j.java b/app/src/main/java/c/i/a/c/x2/j.java new file mode 100644 index 0000000000..c99ce0327d --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/j.java @@ -0,0 +1,29 @@ +package c.i.a.c.x2; +/* compiled from: ExtractorOutput */ +public interface j { + public static final j d = new a(); + + /* compiled from: ExtractorOutput */ + public class a implements j { + @Override // c.i.a.c.x2.j + public void a(t tVar) { + throw new UnsupportedOperationException(); + } + + @Override // c.i.a.c.x2.j + public void j() { + throw new UnsupportedOperationException(); + } + + @Override // c.i.a.c.x2.j + public w p(int i, int i2) { + throw new UnsupportedOperationException(); + } + } + + void a(t tVar); + + void j(); + + w p(int i, int i2); +} diff --git a/app/src/main/java/c/i/a/c/x2/j0/a.java b/app/src/main/java/c/i/a/c/x2/j0/a.java new file mode 100644 index 0000000000..66caac3c87 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/j0/a.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.j0; + +import android.net.Uri; +import c.i.a.c.x2.h; +import c.i.a.c.x2.k; +import c.i.a.c.x2.l; +import java.util.Map; +/* compiled from: lambda */ +public final /* synthetic */ class a implements l { + public static final /* synthetic */ a a = new a(); + + @Override // c.i.a.c.x2.l + public final h[] a() { + return new h[]{new d()}; + } + + @Override // c.i.a.c.x2.l + public /* synthetic */ h[] b(Uri uri, Map map) { + return k.a(this, uri, map); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/j0/b.java b/app/src/main/java/c/i/a/c/x2/j0/b.java new file mode 100644 index 0000000000..2082de73ac --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/j0/b.java @@ -0,0 +1,203 @@ +package c.i.a.c.x2.j0; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.x2.i; +import c.i.a.c.x2.t; +import c.i.a.c.x2.u; +import java.io.EOFException; +import java.io.IOException; +/* compiled from: DefaultOggSeeker */ +public final class b implements g { + public final f a; + public final long b; + + /* renamed from: c reason: collision with root package name */ + public final long f984c; + public final i d; + public int e; + public long f; + public long g; + public long h; + public long i; + public long j; + public long k; + public long l; + + /* compiled from: DefaultOggSeeker */ + /* renamed from: c.i.a.c.x2.j0.b$b reason: collision with other inner class name */ + public final class C0097b implements t { + public C0097b(a aVar) { + } + + @Override // c.i.a.c.x2.t + public boolean c() { + return true; + } + + @Override // c.i.a.c.x2.t + public t.a h(long j) { + b bVar = b.this; + long j2 = bVar.b; + long j3 = bVar.f984c; + return new t.a(new u(j, e0.i(((((j3 - j2) * ((((long) bVar.d.i) * j) / 1000000)) / bVar.f) + j2) - 30000, j2, j3 - 1))); + } + + @Override // c.i.a.c.x2.t + public long i() { + b bVar = b.this; + return (bVar.f * 1000000) / ((long) bVar.d.i); + } + } + + public b(i iVar, long j, long j2, long j3, long j4, boolean z2) { + d.j(j >= 0 && j2 > j); + this.d = iVar; + this.b = j; + this.f984c = j2; + if (j3 == j2 - j || z2) { + this.f = j4; + this.e = 4; + } else { + this.e = 0; + } + this.a = new f(); + } + + @Override // c.i.a.c.x2.j0.g + @Nullable + public t a() { + if (this.f != 0) { + return new C0097b(null); + } + return null; + } + + /* JADX WARNING: Removed duplicated region for block: B:38:0x00c2 A[RETURN] */ + /* JADX WARNING: Removed duplicated region for block: B:39:0x00c3 */ + @Override // c.i.a.c.x2.j0.g + public long b(i iVar) throws IOException { + boolean z2; + long j; + long j2; + int i = this.e; + if (i == 0) { + long position = iVar.getPosition(); + this.g = position; + this.e = 1; + long j3 = this.f984c - 65307; + if (j3 > position) { + return j3; + } + } else if (i != 1) { + if (i == 2) { + if (this.i != this.j) { + long position2 = iVar.getPosition(); + if (!this.a.c(iVar, this.j)) { + j2 = this.i; + if (j2 == position2) { + throw new IOException("No ogg page can be found."); + } + } else { + this.a.a(iVar, false); + iVar.k(); + long j4 = this.h; + f fVar = this.a; + long j5 = fVar.f988c; + long j6 = j4 - j5; + int i2 = fVar.e + fVar.f; + if (0 > j6 || j6 >= 72000) { + int i3 = (j6 > 0 ? 1 : (j6 == 0 ? 0 : -1)); + if (i3 < 0) { + this.j = position2; + this.l = j5; + } else { + this.i = iVar.getPosition() + ((long) i2); + this.k = this.a.f988c; + } + long j7 = this.j; + long j8 = this.i; + if (j7 - j8 < 100000) { + this.j = j8; + j2 = j8; + } else { + long position3 = iVar.getPosition() - (((long) i2) * (i3 <= 0 ? 2 : 1)); + long j9 = this.j; + long j10 = this.i; + j2 = e0.i((((j9 - j10) * j6) / (this.l - this.k)) + position3, j10, j9 - 1); + } + } + } + j = -1; + if (j2 == -1) { + return j2; + } + this.e = 3; + } + j2 = -1; + j = -1; + if (j2 == -1) { + } + } else if (i == 3) { + j = -1; + } else if (i == 4) { + return -1; + } else { + throw new IllegalStateException(); + } + while (true) { + this.a.c(iVar, j); + this.a.a(iVar, false); + f fVar2 = this.a; + if (fVar2.f988c > this.h) { + iVar.k(); + this.e = 4; + return -(this.k + 2); + } + iVar.l(fVar2.e + fVar2.f); + this.i = iVar.getPosition(); + this.k = this.a.f988c; + j = -1; + } + } + this.a.b(); + if (this.a.c(iVar, -1)) { + this.a.a(iVar, false); + f fVar3 = this.a; + iVar.l(fVar3.e + fVar3.f); + long j11 = this.a.f988c; + while (true) { + f fVar4 = this.a; + if ((fVar4.b & 4) == 4 || !fVar4.c(iVar, -1) || iVar.getPosition() >= this.f984c || !this.a.a(iVar, true)) { + break; + } + f fVar5 = this.a; + try { + iVar.l(fVar5.e + fVar5.f); + z2 = true; + } catch (EOFException unused) { + z2 = false; + } + if (!z2) { + break; + } + j11 = this.a.f988c; + } + this.f = j11; + this.e = 4; + return this.g; + } + throw new EOFException(); + } + + @Override // c.i.a.c.x2.j0.g + public void c(long j) { + this.h = e0.i(j, 0, this.f - 1); + this.e = 2; + this.i = this.b; + this.j = this.f984c; + this.k = 0; + this.l = this.f; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/j0/c.java b/app/src/main/java/c/i/a/c/x2/j0/c.java new file mode 100644 index 0000000000..3f660a6615 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/j0/c.java @@ -0,0 +1,115 @@ +package c.i.a.c.x2.j0; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import c.i.a.c.x2.i; +import c.i.a.c.x2.j0.i; +import c.i.a.c.x2.m; +import c.i.a.c.x2.n; +import c.i.a.c.x2.o; +import c.i.a.c.x2.t; +import java.util.Arrays; +import java.util.Objects; +import org.checkerframework.checker.nullness.qual.EnsuresNonNullIf; +/* compiled from: FlacReader */ +public final class c extends i { + @Nullable + public o n; + @Nullable + public a o; + + /* compiled from: FlacReader */ + public static final class a implements g { + public o a; + public o.a b; + + /* renamed from: c reason: collision with root package name */ + public long f985c = -1; + public long d = -1; + + public a(o oVar, o.a aVar) { + this.a = oVar; + this.b = aVar; + } + + @Override // c.i.a.c.x2.j0.g + public t a() { + d.D(this.f985c != -1); + return new n(this.a, this.f985c); + } + + @Override // c.i.a.c.x2.j0.g + public long b(i iVar) { + long j = this.d; + if (j < 0) { + return -1; + } + long j2 = -(j + 2); + this.d = -1; + return j2; + } + + @Override // c.i.a.c.x2.j0.g + public void c(long j) { + long[] jArr = this.b.a; + this.d = jArr[e0.e(jArr, j, true, true)]; + } + } + + @Override // c.i.a.c.x2.j0.i + public long c(x xVar) { + byte[] bArr = xVar.a; + if (!(bArr[0] == -1)) { + return -1; + } + int i = (bArr[2] & 255) >> 4; + if (i == 6 || i == 7) { + xVar.F(4); + xVar.z(); + } + int c2 = m.c(xVar, i); + xVar.E(0); + return (long) c2; + } + + @Override // c.i.a.c.x2.j0.i + @EnsuresNonNullIf(expression = {"#3.format"}, result = false) + public boolean d(x xVar, long j, i.b bVar) { + byte[] bArr = xVar.a; + o oVar = this.n; + if (oVar == null) { + o oVar2 = new o(bArr, 17); + this.n = oVar2; + bVar.a = oVar2.e(Arrays.copyOfRange(bArr, 9, xVar.f792c), null); + return true; + } else if ((bArr[0] & Byte.MAX_VALUE) == 3) { + o.a J1 = d.J1(xVar); + o b = oVar.b(J1); + this.n = b; + this.o = new a(b, J1); + return true; + } else { + if (!(bArr[0] == -1)) { + return true; + } + a aVar = this.o; + if (aVar != null) { + aVar.f985c = j; + bVar.b = aVar; + } + Objects.requireNonNull(bVar.a); + return false; + } + } + + @Override // c.i.a.c.x2.j0.i + public void e(boolean z2) { + super.e(z2); + if (z2) { + this.n = null; + this.o = null; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/j0/d.java b/app/src/main/java/c/i/a/c/x2/j0/d.java new file mode 100644 index 0000000000..b54e21ff6a --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/j0/d.java @@ -0,0 +1,236 @@ +package c.i.a.c.x2.j0; + +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.x2.h; +import c.i.a.c.x2.i; +import c.i.a.c.x2.j; +import c.i.a.c.x2.j0.i; +import c.i.a.c.x2.s; +import c.i.a.c.x2.t; +import c.i.a.c.x2.w; +import com.discord.utilities.auth.GoogleSmartLockManager; +import com.google.android.exoplayer2.ParserException; +import java.io.IOException; +import java.util.Arrays; +import org.checkerframework.checker.nullness.qual.EnsuresNonNullIf; +/* compiled from: OggExtractor */ +public class d implements h { + public j a; + public i b; + + /* renamed from: c reason: collision with root package name */ + public boolean f986c; + + static { + a aVar = a.a; + } + + @EnsuresNonNullIf(expression = {"streamReader"}, result = GoogleSmartLockManager.SET_DISCORD_ACCOUNT_DETAILS) + public final boolean a(i iVar) throws IOException { + boolean z2; + boolean z3; + f fVar = new f(); + if (fVar.a(iVar, true) && (fVar.b & 2) == 2) { + int min = Math.min(fVar.f, 8); + x xVar = new x(min); + iVar.o(xVar.a, 0, min); + xVar.E(0); + if (xVar.a() >= 5 && xVar.t() == 127 && xVar.u() == 1179402563) { + this.b = new c(); + } else { + xVar.E(0); + try { + z2 = c.c.a.a0.d.l2(1, xVar, true); + } catch (ParserException unused) { + z2 = false; + } + if (z2) { + this.b = new j(); + } else { + xVar.E(0); + int a = xVar.a(); + byte[] bArr = h.n; + if (a < bArr.length) { + z3 = false; + } else { + byte[] bArr2 = new byte[bArr.length]; + int length = bArr.length; + System.arraycopy(xVar.a, xVar.b, bArr2, 0, length); + xVar.b += length; + z3 = Arrays.equals(bArr2, bArr); + } + if (z3) { + this.b = new h(); + } + } + } + return true; + } + return false; + } + + @Override // c.i.a.c.x2.h + public boolean b(i iVar) throws IOException { + try { + return a(iVar); + } catch (ParserException unused) { + return false; + } + } + + /* JADX WARNING: Removed duplicated region for block: B:64:0x0180 */ + /* JADX WARNING: Removed duplicated region for block: B:71:? A[RETURN, SYNTHETIC] */ + @Override // c.i.a.c.x2.h + public int e(i iVar, s sVar) throws IOException { + boolean z2; + int i; + byte[] bArr; + c.c.a.a0.d.H(this.a); + if (this.b == null) { + if (a(iVar)) { + iVar.k(); + } else { + throw ParserException.a("Failed to determine bitstream type", null); + } + } + if (!this.f986c) { + w p = this.a.p(0, 1); + this.a.j(); + i iVar2 = this.b; + iVar2.f989c = this.a; + iVar2.b = p; + iVar2.e(true); + this.f986c = true; + } + i iVar3 = this.b; + c.c.a.a0.d.H(iVar3.b); + int i2 = e0.a; + int i3 = iVar3.h; + int i4 = 3; + if (i3 == 0) { + while (true) { + if (iVar3.a.b(iVar)) { + long position = iVar.getPosition(); + long j = iVar3.f; + iVar3.k = position - j; + if (!iVar3.d(iVar3.a.b, j, iVar3.j)) { + z2 = true; + break; + } + iVar3.f = iVar.getPosition(); + i4 = 3; + } else { + iVar3.h = i4; + z2 = false; + break; + } + } + if (z2) { + j1 j1Var = iVar3.j.a; + iVar3.i = j1Var.J; + if (!iVar3.m) { + iVar3.b.e(j1Var); + iVar3.m = true; + } + g gVar = iVar3.j.b; + if (gVar != null) { + iVar3.d = gVar; + } else if (iVar.b() == -1) { + iVar3.d = new i.c(null); + } else { + f fVar = iVar3.a.a; + i = 2; + iVar3.d = new b(iVar3, iVar3.f, iVar.b(), (long) (fVar.e + fVar.f), fVar.f988c, (fVar.b & 4) != 0); + iVar3.h = i; + e eVar = iVar3.a; + x xVar = eVar.b; + bArr = xVar.a; + if (bArr.length != 65025) { + return 0; + } + xVar.C(Arrays.copyOf(bArr, Math.max(65025, xVar.f792c)), eVar.b.f792c); + return 0; + } + i = 2; + iVar3.h = i; + e eVar = iVar3.a; + x xVar = eVar.b; + bArr = xVar.a; + if (bArr.length != 65025) { + } + } + } else if (i3 == 1) { + iVar.l((int) iVar3.f); + iVar3.h = 2; + return 0; + } else if (i3 == 2) { + long b = iVar3.d.b(iVar); + if (b >= 0) { + sVar.a = b; + return 1; + } + if (b < -1) { + iVar3.b(-(b + 2)); + } + if (!iVar3.l) { + t a = iVar3.d.a(); + c.c.a.a0.d.H(a); + iVar3.f989c.a(a); + iVar3.l = true; + } + if (iVar3.k > 0 || iVar3.a.b(iVar)) { + iVar3.k = 0; + x xVar2 = iVar3.a.b; + long c2 = iVar3.c(xVar2); + if (c2 >= 0) { + long j2 = iVar3.g; + if (j2 + c2 >= iVar3.e) { + long j3 = (j2 * 1000000) / ((long) iVar3.i); + iVar3.b.c(xVar2, xVar2.f792c); + iVar3.b.d(j3, 1, xVar2.f792c, 0, null); + iVar3.e = -1; + } + } + iVar3.g += c2; + return 0; + } + iVar3.h = 3; + } else if (i3 != 3) { + throw new IllegalStateException(); + } + return -1; + } + + @Override // c.i.a.c.x2.h + public void f(j jVar) { + this.a = jVar; + } + + @Override // c.i.a.c.x2.h + public void g(long j, long j2) { + i iVar = this.b; + if (iVar != null) { + e eVar = iVar.a; + eVar.a.b(); + eVar.b.A(0); + eVar.f987c = -1; + eVar.e = false; + if (j == 0) { + iVar.e(!iVar.l); + } else if (iVar.h != 0) { + long j3 = (((long) iVar.i) * j2) / 1000000; + iVar.e = j3; + g gVar = iVar.d; + int i = e0.a; + gVar.c(j3); + iVar.h = 2; + } + } + } + + @Override // c.i.a.c.x2.h + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/j0/e.java b/app/src/main/java/c/i/a/c/x2/j0/e.java new file mode 100644 index 0000000000..e401dccf3a --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/j0/e.java @@ -0,0 +1,96 @@ +package c.i.a.c.x2.j0; + +import c.c.a.a0.d; +import c.i.a.c.f3.x; +import c.i.a.c.x2.i; +import java.io.EOFException; +import java.io.IOException; +/* compiled from: OggPacket */ +public final class e { + public final f a = new f(); + public final x b = new x(new byte[65025], 0); + + /* renamed from: c reason: collision with root package name */ + public int f987c = -1; + public int d; + public boolean e; + + public final int a(int i) { + int i2; + int i3 = 0; + this.d = 0; + do { + int i4 = this.d; + int i5 = i + i4; + f fVar = this.a; + if (i5 >= fVar.d) { + break; + } + int[] iArr = fVar.g; + this.d = i4 + 1; + i2 = iArr[i4 + i]; + i3 += i2; + } while (i2 == 255); + return i3; + } + + public boolean b(i iVar) throws IOException { + boolean z2; + int i; + boolean z3; + d.D(iVar != null); + if (this.e) { + this.e = false; + this.b.A(0); + } + while (!this.e) { + if (this.f987c < 0) { + if (!this.a.c(iVar, -1) || !this.a.a(iVar, true)) { + return false; + } + f fVar = this.a; + int i2 = fVar.e; + if ((fVar.b & 1) == 1 && this.b.f792c == 0) { + i2 += a(0); + i = this.d + 0; + } else { + i = 0; + } + try { + iVar.l(i2); + z3 = true; + } catch (EOFException unused) { + z3 = false; + } + if (!z3) { + return false; + } + this.f987c = i; + } + int a = a(this.f987c); + int i3 = this.f987c + this.d; + if (a > 0) { + x xVar = this.b; + xVar.b(xVar.f792c + a); + x xVar2 = this.b; + try { + iVar.readFully(xVar2.a, xVar2.f792c, a); + z2 = true; + } catch (EOFException unused2) { + z2 = false; + } + if (!z2) { + return false; + } + x xVar3 = this.b; + xVar3.D(xVar3.f792c + a); + this.e = this.a.g[i3 + -1] != 255; + } + if (i3 == this.a.d) { + i3 = -1; + } + this.f987c = i3; + } + return true; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/j0/f.java b/app/src/main/java/c/i/a/c/x2/j0/f.java new file mode 100644 index 0000000000..c633bf384a --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/j0/f.java @@ -0,0 +1,103 @@ +package c.i.a.c.x2.j0; + +import c.c.a.a0.d; +import c.i.a.c.f3.x; +import c.i.a.c.x2.i; +import com.google.android.exoplayer2.ParserException; +import java.io.IOException; +/* compiled from: OggPageHeader */ +public final class f { + public int a; + public int b; + + /* renamed from: c reason: collision with root package name */ + public long f988c; + public int d; + public int e; + public int f; + public final int[] g = new int[255]; + public final x h = new x(255); + + public boolean a(i iVar, boolean z2) throws IOException { + b(); + this.h.A(27); + if (!d.v1(iVar, this.h.a, 0, 27, z2) || this.h.u() != 1332176723) { + return false; + } + int t = this.h.t(); + this.a = t; + if (t == 0) { + this.b = this.h.t(); + x xVar = this.h; + byte[] bArr = xVar.a; + int i = xVar.b; + int i2 = i + 1; + xVar.b = i2; + int i3 = i2 + 1; + xVar.b = i3; + int i4 = i3 + 1; + xVar.b = i4; + int i5 = i4 + 1; + xVar.b = i5; + int i6 = i5 + 1; + xVar.b = i6; + int i7 = i6 + 1; + xVar.b = i7; + int i8 = i7 + 1; + xVar.b = i8; + xVar.b = i8 + 1; + this.f988c = (((long) bArr[i]) & 255) | ((((long) bArr[i2]) & 255) << 8) | ((((long) bArr[i3]) & 255) << 16) | ((((long) bArr[i4]) & 255) << 24) | ((((long) bArr[i5]) & 255) << 32) | ((((long) bArr[i6]) & 255) << 40) | ((((long) bArr[i7]) & 255) << 48) | ((((long) bArr[i8]) & 255) << 56); + xVar.j(); + this.h.j(); + this.h.j(); + int t2 = this.h.t(); + this.d = t2; + this.e = t2 + 27; + this.h.A(t2); + if (!d.v1(iVar, this.h.a, 0, this.d, z2)) { + return false; + } + for (int i9 = 0; i9 < this.d; i9++) { + this.g[i9] = this.h.t(); + this.f += this.g[i9]; + } + return true; + } else if (z2) { + return false; + } else { + throw ParserException.b("unsupported bit stream revision"); + } + } + + public void b() { + this.a = 0; + this.b = 0; + this.f988c = 0; + this.d = 0; + this.e = 0; + this.f = 0; + } + + public boolean c(i iVar, long j) throws IOException { + int i; + d.j(iVar.getPosition() == iVar.f()); + this.h.A(4); + while (true) { + i = (j > -1 ? 1 : (j == -1 ? 0 : -1)); + if ((i == 0 || iVar.getPosition() + 4 < j) && d.v1(iVar, this.h.a, 0, 4, true)) { + this.h.E(0); + if (this.h.u() == 1332176723) { + iVar.k(); + return true; + } + iVar.l(1); + } + } + do { + if (i != 0 && iVar.getPosition() >= j) { + break; + } + } while (iVar.h(1) != -1); + return false; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/j0/g.java b/app/src/main/java/c/i/a/c/x2/j0/g.java new file mode 100644 index 0000000000..13ed72a479 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/j0/g.java @@ -0,0 +1,15 @@ +package c.i.a.c.x2.j0; + +import androidx.annotation.Nullable; +import c.i.a.c.x2.i; +import c.i.a.c.x2.t; +import java.io.IOException; +/* compiled from: OggSeeker */ +public interface g { + @Nullable + t a(); + + long b(i iVar) throws IOException; + + void c(long j); +} diff --git a/app/src/main/java/c/i/a/c/x2/j0/h.java b/app/src/main/java/c/i/a/c/x2/j0/h.java new file mode 100644 index 0000000000..c5f39c4028 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/j0/h.java @@ -0,0 +1,64 @@ +package c.i.a.c.x2.j0; + +import c.c.a.a0.d; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.x2.j0.i; +import com.discord.utilities.guilds.GuildConstantsKt; +import java.util.Arrays; +import java.util.List; +import java.util.Objects; +import org.checkerframework.checker.nullness.qual.EnsuresNonNullIf; +/* compiled from: OpusReader */ +public final class h extends i { + public static final byte[] n = {79, 112, 117, 115, 72, 101, 97, 100}; + public boolean o; + + @Override // c.i.a.c.x2.j0.i + public long c(x xVar) { + byte[] bArr = xVar.a; + int i = bArr[0] & 255; + int i2 = i & 3; + int i3 = 2; + if (i2 == 0) { + i3 = 1; + } else if (!(i2 == 1 || i2 == 2)) { + i3 = bArr[1] & 63; + } + int i4 = i >> 3; + int i5 = i4 & 3; + return a(((long) i3) * ((long) (i4 >= 16 ? GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES << i5 : i4 >= 12 ? 10000 << (i5 & 1) : i5 == 3 ? 60000 : 10000 << i5))); + } + + @Override // c.i.a.c.x2.j0.i + @EnsuresNonNullIf(expression = {"#3.format"}, result = false) + public boolean d(x xVar, long j, i.b bVar) { + boolean z2 = true; + if (!this.o) { + byte[] copyOf = Arrays.copyOf(xVar.a, xVar.f792c); + List g = d.g(copyOf); + j1.b bVar2 = new j1.b(); + bVar2.k = "audio/opus"; + bVar2.f825x = copyOf[9] & 255; + bVar2.f826y = 48000; + bVar2.m = g; + bVar.a = bVar2.a(); + this.o = true; + return true; + } + Objects.requireNonNull(bVar.a); + if (xVar.f() != 1332770163) { + z2 = false; + } + xVar.E(0); + return z2; + } + + @Override // c.i.a.c.x2.j0.i + public void e(boolean z2) { + super.e(z2); + if (z2) { + this.o = false; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/j0/i.java b/app/src/main/java/c/i/a/c/x2/j0/i.java new file mode 100644 index 0000000000..b23d9f7496 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/j0/i.java @@ -0,0 +1,78 @@ +package c.i.a.c.x2.j0; + +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.x2.j; +import c.i.a.c.x2.t; +import c.i.a.c.x2.w; +import java.io.IOException; +import org.checkerframework.checker.nullness.qual.EnsuresNonNullIf; +/* compiled from: StreamReader */ +public abstract class i { + public final e a = new e(); + public w b; + + /* renamed from: c reason: collision with root package name */ + public j f989c; + public g d; + public long e; + public long f; + public long g; + public int h; + public int i; + public b j = new b(); + public long k; + public boolean l; + public boolean m; + + /* compiled from: StreamReader */ + public static class b { + public j1 a; + public g b; + } + + /* compiled from: StreamReader */ + public static final class c implements g { + public c(a aVar) { + } + + @Override // c.i.a.c.x2.j0.g + public t a() { + return new t.b(-9223372036854775807L, 0); + } + + @Override // c.i.a.c.x2.j0.g + public long b(c.i.a.c.x2.i iVar) { + return -1; + } + + @Override // c.i.a.c.x2.j0.g + public void c(long j) { + } + } + + public long a(long j) { + return (((long) this.i) * j) / 1000000; + } + + public void b(long j) { + this.g = j; + } + + public abstract long c(x xVar); + + @EnsuresNonNullIf(expression = {"#3.format"}, result = false) + public abstract boolean d(x xVar, long j, b bVar) throws IOException; + + public void e(boolean z2) { + if (z2) { + this.j = new b(); + this.f = 0; + this.h = 0; + } else { + this.h = 1; + } + this.e = -1; + this.g = 0; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/j0/j.java b/app/src/main/java/c/i/a/c/x2/j0/j.java new file mode 100644 index 0000000000..8fc563957d --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/j0/j.java @@ -0,0 +1,407 @@ +package c.i.a.c.x2.j0; + +import android.util.Log; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.x2.a0; +import c.i.a.c.x2.b0; +import c.i.a.c.x2.j0.i; +import c.i.a.c.x2.y; +import c.i.a.c.x2.z; +import com.google.android.exoplayer2.ParserException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Objects; +import org.checkerframework.checker.nullness.qual.EnsuresNonNullIf; +/* compiled from: VorbisReader */ +public final class j extends i { + @Nullable + public a n; + public int o; + public boolean p; + @Nullable + public b0 q; + @Nullable + public z r; + + /* compiled from: VorbisReader */ + public static final class a { + public final b0 a; + public final byte[] b; + + /* renamed from: c reason: collision with root package name */ + public final a0[] f990c; + public final int d; + + public a(b0 b0Var, z zVar, byte[] bArr, a0[] a0VarArr, int i) { + this.a = b0Var; + this.b = bArr; + this.f990c = a0VarArr; + this.d = i; + } + } + + @Override // c.i.a.c.x2.j0.i + public void b(long j) { + this.g = j; + int i = 0; + this.p = j != 0; + b0 b0Var = this.q; + if (b0Var != null) { + i = b0Var.e; + } + this.o = i; + } + + @Override // c.i.a.c.x2.j0.i + public long c(x xVar) { + byte[] bArr = xVar.a; + int i = 0; + if ((bArr[0] & 1) == 1) { + return -1; + } + byte b = bArr[0]; + a aVar = this.n; + d.H(aVar); + a aVar2 = aVar; + int i2 = !aVar2.f990c[(b >> 1) & (255 >>> (8 - aVar2.d))].a ? aVar2.a.e : aVar2.a.f; + if (this.p) { + i = (this.o + i2) / 4; + } + long j = (long) i; + byte[] bArr2 = xVar.a; + int length = bArr2.length; + int i3 = xVar.f792c + 4; + if (length < i3) { + xVar.B(Arrays.copyOf(bArr2, i3)); + } else { + xVar.D(i3); + } + byte[] bArr3 = xVar.a; + int i4 = xVar.f792c; + bArr3[i4 - 4] = (byte) ((int) (j & 255)); + bArr3[i4 - 3] = (byte) ((int) ((j >>> 8) & 255)); + bArr3[i4 - 2] = (byte) ((int) ((j >>> 16) & 255)); + bArr3[i4 - 1] = (byte) ((int) ((j >>> 24) & 255)); + this.p = true; + this.o = i2; + return j; + } + + /* JADX WARNING: Removed duplicated region for block: B:167:0x03b9 A[RETURN] */ + /* JADX WARNING: Removed duplicated region for block: B:168:0x03bb */ + @Override // c.i.a.c.x2.j0.i + @EnsuresNonNullIf(expression = {"#3.format"}, result = false) + public boolean d(x xVar, long j, i.b bVar) throws IOException { + a aVar; + int i; + int i2; + int i3; + int i4; + int i5; + if (this.n != null) { + Objects.requireNonNull(bVar.a); + return false; + } + b0 b0Var = this.q; + if (b0Var == null) { + d.l2(1, xVar, false); + int k = xVar.k(); + int t = xVar.t(); + int k2 = xVar.k(); + int h = xVar.h(); + int i6 = h <= 0 ? -1 : h; + int h2 = xVar.h(); + int i7 = h2 <= 0 ? -1 : h2; + int h3 = xVar.h(); + int i8 = h3 <= 0 ? -1 : h3; + int t2 = xVar.t(); + this.q = new b0(k, t, k2, i6, i7, i8, (int) Math.pow(2.0d, (double) (t2 & 15)), (int) Math.pow(2.0d, (double) ((t2 & 240) >> 4)), (xVar.t() & 1) > 0, Arrays.copyOf(xVar.a, xVar.f792c)); + } else { + z zVar = this.r; + if (zVar == null) { + this.r = d.L1(xVar, true, true); + } else { + int i9 = xVar.f792c; + byte[] bArr = new byte[i9]; + System.arraycopy(xVar.a, 0, bArr, 0, i9); + int i10 = b0Var.a; + int i11 = 5; + d.l2(5, xVar, false); + int t3 = xVar.t() + 1; + y yVar = new y(xVar.a); + yVar.c(xVar.b * 8); + int i12 = 0; + while (true) { + int i13 = 16; + if (i12 >= t3) { + int i14 = 6; + int b = yVar.b(6) + 1; + for (int i15 = 0; i15 < b; i15++) { + if (yVar.b(16) != 0) { + throw ParserException.a("placeholder of time domain transforms not zeroed out", null); + } + } + int i16 = 1; + int b2 = yVar.b(6) + 1; + int i17 = 0; + while (true) { + int i18 = 3; + if (i17 < b2) { + int b3 = yVar.b(i13); + if (b3 == 0) { + i3 = b2; + int i19 = 8; + yVar.c(8); + yVar.c(16); + yVar.c(16); + yVar.c(6); + yVar.c(8); + int b4 = yVar.b(4) + 1; + int i20 = 0; + while (i20 < b4) { + yVar.c(i19); + i20++; + i19 = 8; + } + } else if (b3 == i16) { + int b5 = yVar.b(5); + int[] iArr = new int[b5]; + int i21 = -1; + for (int i22 = 0; i22 < b5; i22++) { + iArr[i22] = yVar.b(4); + if (iArr[i22] > i21) { + i21 = iArr[i22]; + } + } + int i23 = i21 + 1; + int[] iArr2 = new int[i23]; + int i24 = 0; + while (i24 < i23) { + iArr2[i24] = yVar.b(i18) + 1; + int b6 = yVar.b(2); + int i25 = 8; + if (b6 > 0) { + yVar.c(8); + } + int i26 = 0; + for (int i27 = 1; i26 < (i27 << b6); i27 = 1) { + yVar.c(i25); + i26++; + i25 = 8; + } + i24++; + i18 = 3; + b2 = b2; + } + i3 = b2; + yVar.c(2); + int b7 = yVar.b(4); + int i28 = 0; + int i29 = 0; + for (int i30 = 0; i30 < b5; i30++) { + i28 += iArr2[iArr[i30]]; + while (i29 < i28) { + yVar.c(b7); + i29++; + } + } + } else { + throw c.d.b.a.a.s0(52, "floor type greater than 1 not decodable: ", b3, null); + } + i17++; + i14 = 6; + i16 = 1; + i13 = 16; + b2 = i3; + } else { + int i31 = 1; + int b8 = yVar.b(i14) + 1; + int i32 = 0; + while (i32 < b8) { + if (yVar.b(16) <= 2) { + yVar.c(24); + yVar.c(24); + yVar.c(24); + int b9 = yVar.b(i14) + i31; + int i33 = 8; + yVar.c(8); + int[] iArr3 = new int[b9]; + for (int i34 = 0; i34 < b9; i34++) { + iArr3[i34] = ((yVar.a() ? yVar.b(5) : 0) * 8) + yVar.b(3); + } + int i35 = 0; + while (i35 < b9) { + int i36 = 0; + while (i36 < i33) { + if ((iArr3[i35] & (1 << i36)) != 0) { + yVar.c(i33); + } + i36++; + i33 = 8; + } + i35++; + i33 = 8; + } + i32++; + i14 = 6; + i31 = 1; + } else { + throw ParserException.a("residueType greater than 2 is not decodable", null); + } + } + int b10 = yVar.b(i14) + 1; + for (int i37 = 0; i37 < b10; i37++) { + int b11 = yVar.b(16); + if (b11 != 0) { + StringBuilder sb = new StringBuilder(52); + sb.append("mapping type other than 0 not supported: "); + sb.append(b11); + Log.e("VorbisUtil", sb.toString()); + } else { + if (yVar.a()) { + i = 1; + i2 = yVar.b(4) + 1; + } else { + i = 1; + i2 = 1; + } + if (yVar.a()) { + int b12 = yVar.b(8) + i; + for (int i38 = 0; i38 < b12; i38++) { + int i39 = i10 - 1; + yVar.c(d.L0(i39)); + yVar.c(d.L0(i39)); + } + } + if (yVar.b(2) == 0) { + if (i2 > 1) { + for (int i40 = 0; i40 < i10; i40++) { + yVar.c(4); + } + } + for (int i41 = 0; i41 < i2; i41++) { + yVar.c(8); + yVar.c(8); + yVar.c(8); + } + } else { + throw ParserException.a("to reserved bits must be zero after mapping coupling steps", null); + } + } + } + int b13 = yVar.b(6) + 1; + a0[] a0VarArr = new a0[b13]; + for (int i42 = 0; i42 < b13; i42++) { + a0VarArr[i42] = new a0(yVar.a(), yVar.b(16), yVar.b(16), yVar.b(8)); + } + if (yVar.a()) { + aVar = new a(b0Var, zVar, bArr, a0VarArr, d.L0(b13 - 1)); + } else { + throw ParserException.a("framing bit after modes not set as expected", null); + } + } + } + } else if (yVar.b(24) == 5653314) { + int b14 = yVar.b(16); + int b15 = yVar.b(24); + long[] jArr = new long[b15]; + if (!yVar.a()) { + boolean a2 = yVar.a(); + int i43 = 0; + while (i43 < b15) { + if (!a2) { + i5 = t3; + jArr[i43] = (long) (yVar.b(5) + 1); + } else if (yVar.a()) { + i5 = t3; + jArr[i43] = (long) (yVar.b(i11) + 1); + } else { + i5 = t3; + jArr[i43] = 0; + } + i43++; + i11 = 5; + t3 = i5; + } + i4 = t3; + } else { + i4 = t3; + int b16 = yVar.b(5) + 1; + int i44 = 0; + while (i44 < b15) { + int b17 = yVar.b(d.L0(b15 - i44)); + int i45 = 0; + while (i45 < b17 && i44 < b15) { + jArr[i44] = (long) b16; + i44++; + i45++; + zVar = zVar; + bArr = bArr; + } + b16++; + zVar = zVar; + bArr = bArr; + } + } + int b18 = yVar.b(4); + if (b18 <= 2) { + if (b18 == 1 || b18 == 2) { + yVar.c(32); + yVar.c(32); + int b19 = yVar.b(4) + 1; + yVar.c(1); + yVar.c((int) (((long) b19) * (b18 == 1 ? b14 != 0 ? (long) Math.floor(Math.pow((double) ((long) b15), 1.0d / ((double) ((long) b14)))) : 0 : ((long) b15) * ((long) b14)))); + } + i12++; + i11 = 5; + t3 = i4; + zVar = zVar; + bArr = bArr; + } else { + throw c.d.b.a.a.s0(53, "lookup type greater than 2 not decodable: ", b18, null); + } + } else { + throw c.d.b.a.a.s0(66, "expected code book to start with [0x56, 0x43, 0x42] at ", (yVar.f1039c * 8) + yVar.d, null); + } + } + this.n = aVar; + if (aVar != null) { + return true; + } + b0 b0Var2 = aVar.a; + ArrayList arrayList = new ArrayList(); + arrayList.add(b0Var2.g); + arrayList.add(aVar.b); + j1.b bVar2 = new j1.b(); + bVar2.k = "audio/vorbis"; + bVar2.f = b0Var2.d; + bVar2.g = b0Var2.f923c; + bVar2.f825x = b0Var2.a; + bVar2.f826y = b0Var2.b; + bVar2.m = arrayList; + bVar.a = bVar2.a(); + return true; + } + } + aVar = null; + this.n = aVar; + if (aVar != null) { + } + } + + @Override // c.i.a.c.x2.j0.i + public void e(boolean z2) { + super.e(z2); + if (z2) { + this.n = null; + this.q = null; + this.r = null; + } + this.o = 0; + this.p = false; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k.java b/app/src/main/java/c/i/a/c/x2/k.java new file mode 100644 index 0000000000..06aa5f9f1b --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k.java @@ -0,0 +1,11 @@ +package c.i.a.c.x2; + +import android.net.Uri; +import java.util.Map; +/* compiled from: ExtractorsFactory */ +public final /* synthetic */ class k { + /* JADX WARN: Incorrect args count in method signature: (Landroid/net/Uri;Ljava/util/Map;>;)[Lc/i/a/c/x2/h; */ + public static h[] a(l lVar, Uri uri, Map map) { + return lVar.a(); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/a.java b/app/src/main/java/c/i/a/c/x2/k0/a.java new file mode 100644 index 0000000000..a73567d683 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/a.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.k0; + +import android.net.Uri; +import c.i.a.c.x2.h; +import c.i.a.c.x2.k; +import c.i.a.c.x2.l; +import java.util.Map; +/* compiled from: lambda */ +public final /* synthetic */ class a implements l { + public static final /* synthetic */ a a = new a(); + + @Override // c.i.a.c.x2.l + public final h[] a() { + return new h[]{new f()}; + } + + @Override // c.i.a.c.x2.l + public /* synthetic */ h[] b(Uri uri, Map map) { + return k.a(this, uri, map); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/a0.java b/app/src/main/java/c/i/a/c/x2/k0/a0.java new file mode 100644 index 0000000000..9578a0d552 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/a0.java @@ -0,0 +1,45 @@ +package c.i.a.c.x2.k0; + +import c.i.a.c.f3.d0; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import c.i.a.c.x2.i; +/* compiled from: PsDurationReader */ +public final class a0 { + public final d0 a = new d0(0); + public final x b = new x(); + + /* renamed from: c reason: collision with root package name */ + public boolean f991c; + public boolean d; + public boolean e; + public long f = -9223372036854775807L; + public long g = -9223372036854775807L; + public long h = -9223372036854775807L; + + public static long c(x xVar) { + int i = xVar.b; + if (xVar.a() < 9) { + return -9223372036854775807L; + } + byte[] bArr = new byte[9]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, 9); + xVar.b += 9; + xVar.E(i); + if (!((bArr[0] & 196) == 68 && (bArr[2] & 4) == 4 && (bArr[4] & 4) == 4 && (bArr[5] & 1) == 1 && (bArr[8] & 3) == 3)) { + return -9223372036854775807L; + } + return (((((long) bArr[0]) & 56) >> 3) << 30) | ((((long) bArr[0]) & 3) << 28) | ((((long) bArr[1]) & 255) << 20) | (((((long) bArr[2]) & 248) >> 3) << 15) | ((((long) bArr[2]) & 3) << 13) | ((((long) bArr[3]) & 255) << 5) | ((((long) bArr[4]) & 248) >> 3); + } + + public final int a(i iVar) { + this.b.B(e0.f); + this.f991c = true; + iVar.k(); + return 0; + } + + public final int b(byte[] bArr, int i) { + return (bArr[i + 3] & 255) | ((bArr[i] & 255) << 24) | ((bArr[i + 1] & 255) << 16) | ((bArr[i + 2] & 255) << 8); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/b.java b/app/src/main/java/c/i/a/c/x2/k0/b.java new file mode 100644 index 0000000000..d8a9af5a40 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/b.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.k0; + +import android.net.Uri; +import c.i.a.c.x2.h; +import c.i.a.c.x2.k; +import c.i.a.c.x2.l; +import java.util.Map; +/* compiled from: lambda */ +public final /* synthetic */ class b implements l { + public static final /* synthetic */ b a = new b(); + + @Override // c.i.a.c.x2.l + public final h[] a() { + return new h[]{new h()}; + } + + @Override // c.i.a.c.x2.l + public /* synthetic */ h[] b(Uri uri, Map map) { + return k.a(this, uri, map); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/b0.java b/app/src/main/java/c/i/a/c/x2/k0/b0.java new file mode 100644 index 0000000000..5da91ed58f --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/b0.java @@ -0,0 +1,341 @@ +package c.i.a.c.x2.k0; + +import android.util.Log; +import android.util.SparseArray; +import androidx.annotation.Nullable; +import androidx.core.view.InputDeviceCompat; +import c.c.a.a0.d; +import c.i.a.c.f3.d0; +import c.i.a.c.f3.w; +import c.i.a.c.f3.x; +import c.i.a.c.x2.h; +import c.i.a.c.x2.i; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.s; +import c.i.a.c.x2.t; +import com.discord.api.permission.Permission; +import java.io.IOException; +/* compiled from: PsExtractor */ +public final class b0 implements h { + public final d0 a = new d0(0); + public final SparseArray b = new SparseArray<>(); + + /* renamed from: c reason: collision with root package name */ + public final x f992c = new x(4096); + public final a0 d = new a0(); + public boolean e; + public boolean f; + public boolean g; + public long h; + @Nullable + public z i; + public j j; + public boolean k; + + /* compiled from: PsExtractor */ + public static final class a { + public final o a; + public final d0 b; + + /* renamed from: c reason: collision with root package name */ + public final w f993c = new w(new byte[64]); + public boolean d; + public boolean e; + public boolean f; + public int g; + public long h; + + public a(o oVar, d0 d0Var) { + this.a = oVar; + this.b = d0Var; + } + } + + static { + d dVar = d.a; + } + + @Override // c.i.a.c.x2.h + public boolean b(i iVar) throws IOException { + byte[] bArr = new byte[14]; + iVar.o(bArr, 0, 14); + if (442 != (((bArr[0] & 255) << 24) | ((bArr[1] & 255) << 16) | ((bArr[2] & 255) << 8) | (bArr[3] & 255)) || (bArr[4] & 196) != 68 || (bArr[6] & 4) != 4 || (bArr[8] & 4) != 4 || (bArr[9] & 1) != 1 || (bArr[12] & 3) != 3) { + return false; + } + iVar.g(bArr[13] & 7); + iVar.o(bArr, 0, 3); + return 1 == ((((bArr[0] & 255) << 16) | ((bArr[1] & 255) << 8)) | (bArr[2] & 255)); + } + + /* JADX WARNING: Removed duplicated region for block: B:102:0x021d */ + /* JADX WARNING: Removed duplicated region for block: B:64:0x0155 */ + /* JADX WARNING: Removed duplicated region for block: B:65:0x015b */ + /* JADX WARNING: Removed duplicated region for block: B:76:0x0186 A[RETURN] */ + /* JADX WARNING: Removed duplicated region for block: B:77:0x0187 */ + @Override // c.i.a.c.x2.h + public int e(i iVar, s sVar) throws IOException { + int i; + z zVar; + long f; + int f2; + o pVar; + d.H(this.j); + long b = iVar.b(); + int i2 = 1; + int i3 = (b > -1 ? 1 : (b == -1 ? 0 : -1)); + long j = -9223372036854775807L; + if (i3 != 0) { + a0 a0Var = this.d; + if (!a0Var.f991c) { + if (!a0Var.e) { + long b2 = iVar.b(); + int min = (int) Math.min(20000L, b2); + long j2 = b2 - ((long) min); + if (iVar.getPosition() != j2) { + sVar.a = j2; + return i2; + } + a0Var.b.A(min); + iVar.k(); + iVar.o(a0Var.b.a, 0, min); + x xVar = a0Var.b; + int i4 = xVar.b; + int i5 = xVar.f792c - 4; + while (true) { + if (i5 < i4) { + break; + } + if (a0Var.b(xVar.a, i5) == 442) { + xVar.E(i5 + 4); + long c2 = a0.c(xVar); + if (c2 != -9223372036854775807L) { + j = c2; + break; + } + } + i5--; + } + a0Var.g = j; + a0Var.e = true; + } else if (a0Var.g == -9223372036854775807L) { + a0Var.a(iVar); + return 0; + } else if (!a0Var.d) { + int min2 = (int) Math.min(20000L, iVar.b()); + long j3 = (long) 0; + if (iVar.getPosition() != j3) { + sVar.a = j3; + return i2; + } + a0Var.b.A(min2); + iVar.k(); + iVar.o(a0Var.b.a, 0, min2); + x xVar2 = a0Var.b; + int i6 = xVar2.b; + int i7 = xVar2.f792c; + while (true) { + if (i6 >= i7 - 3) { + break; + } + if (a0Var.b(xVar2.a, i6) == 442) { + xVar2.E(i6 + 4); + long c3 = a0.c(xVar2); + if (c3 != -9223372036854775807L) { + j = c3; + break; + } + } + i6++; + } + a0Var.f = j; + a0Var.d = true; + } else { + long j4 = a0Var.f; + if (j4 == -9223372036854775807L) { + a0Var.a(iVar); + return 0; + } + long b3 = a0Var.a.b(a0Var.g) - a0Var.a.b(j4); + a0Var.h = b3; + if (b3 < 0) { + Log.w("PsDurationReader", c.d.b.a.a.h(65, "Invalid duration: ", b3, ". Using TIME_UNSET instead.")); + a0Var.h = -9223372036854775807L; + } + a0Var.a(iVar); + return 0; + } + i2 = 0; + return i2; + } + } + if (!this.k) { + this.k = true; + a0 a0Var2 = this.d; + long j5 = a0Var2.h; + if (j5 != -9223372036854775807L) { + z zVar2 = new z(a0Var2.a, j5, b); + this.i = zVar2; + this.j.a(zVar2.a); + } else { + i = 442; + this.j.a(new t.b(j5, 0)); + zVar = this.i; + if (zVar == null && zVar.b()) { + return this.i.a(iVar, sVar); + } + iVar.k(); + f = i3 == 0 ? b - iVar.f() : -1; + if ((f == -1 && f < 4) || !iVar.e(this.f992c.a, 0, 4, true)) { + return -1; + } + this.f992c.E(0); + f2 = this.f992c.f(); + if (f2 != 441) { + return -1; + } + if (f2 == i) { + iVar.o(this.f992c.a, 0, 10); + this.f992c.E(9); + iVar.l((this.f992c.t() & 7) + 14); + return 0; + } else if (f2 == 443) { + iVar.o(this.f992c.a, 0, 2); + this.f992c.E(0); + iVar.l(this.f992c.y() + 6); + return 0; + } else if (((f2 & InputDeviceCompat.SOURCE_ANY) >> 8) != 1) { + iVar.l(1); + return 0; + } else { + int i8 = f2 & 255; + a aVar = this.b.get(i8); + if (!this.e) { + if (aVar == null) { + o oVar = null; + if (i8 == 189) { + pVar = new g(null); + this.f = true; + this.h = iVar.getPosition(); + } else if ((i8 & 224) == 192) { + pVar = new v(null); + this.f = true; + this.h = iVar.getPosition(); + } else { + if ((i8 & 240) == 224) { + pVar = new p(null); + this.g = true; + this.h = iVar.getPosition(); + } + if (oVar != null) { + oVar.e(this.j, new i0.d(Integer.MIN_VALUE, i8, 256)); + aVar = new a(oVar, this.a); + this.b.put(i8, aVar); + } + } + oVar = pVar; + if (oVar != null) { + } + } + if (iVar.getPosition() > ((!this.f || !this.g) ? Permission.CONNECT : this.h + Permission.MANAGE_MESSAGES)) { + this.e = true; + this.j.j(); + } + } + iVar.o(this.f992c.a, 0, 2); + this.f992c.E(0); + int y2 = this.f992c.y() + 6; + if (aVar == null) { + iVar.l(y2); + return 0; + } + this.f992c.A(y2); + iVar.readFully(this.f992c.a, 0, y2); + this.f992c.E(6); + x xVar3 = this.f992c; + xVar3.e(aVar.f993c.a, 0, 3); + aVar.f993c.k(0); + aVar.f993c.m(8); + aVar.d = aVar.f993c.f(); + aVar.e = aVar.f993c.f(); + aVar.f993c.m(6); + int g = aVar.f993c.g(8); + aVar.g = g; + xVar3.e(aVar.f993c.a, 0, g); + aVar.f993c.k(0); + aVar.h = 0; + if (aVar.d) { + aVar.f993c.m(4); + aVar.f993c.m(1); + aVar.f993c.m(1); + long g2 = (((long) aVar.f993c.g(3)) << 30) | ((long) (aVar.f993c.g(15) << 15)) | ((long) aVar.f993c.g(15)); + aVar.f993c.m(1); + if (!aVar.f && aVar.e) { + aVar.f993c.m(4); + aVar.f993c.m(1); + aVar.f993c.m(1); + long g3 = (long) aVar.f993c.g(15); + aVar.f993c.m(1); + aVar.b.b(g3 | (((long) aVar.f993c.g(3)) << 30) | ((long) (aVar.f993c.g(15) << 15))); + aVar.f = true; + } + aVar.h = aVar.b.b(g2); + } + aVar.a.f(aVar.h, 4); + aVar.a.b(xVar3); + aVar.a.d(); + x xVar4 = this.f992c; + xVar4.D(xVar4.a.length); + return 0; + } + } + } + i = 442; + zVar = this.i; + if (zVar == null) { + } + iVar.k(); + if (i3 == 0) { + } + if (f == -1) { + } + this.f992c.E(0); + f2 = this.f992c.f(); + if (f2 != 441) { + } + } + + @Override // c.i.a.c.x2.h + public void f(j jVar) { + this.j = jVar; + } + + @Override // c.i.a.c.x2.h + public void g(long j, long j2) { + boolean z2 = true; + boolean z3 = this.a.d() == -9223372036854775807L; + if (!z3) { + long c2 = this.a.c(); + if (c2 == -9223372036854775807L || c2 == 0 || c2 == j2) { + z2 = false; + } + z3 = z2; + } + if (z3) { + this.a.e(j2); + } + z zVar = this.i; + if (zVar != null) { + zVar.e(j2); + } + for (int i = 0; i < this.b.size(); i++) { + a valueAt = this.b.valueAt(i); + valueAt.f = false; + valueAt.a.c(); + } + } + + @Override // c.i.a.c.x2.h + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/c.java b/app/src/main/java/c/i/a/c/x2/k0/c.java new file mode 100644 index 0000000000..dd1357026f --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/c.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.k0; + +import android.net.Uri; +import c.i.a.c.x2.h; +import c.i.a.c.x2.k; +import c.i.a.c.x2.l; +import java.util.Map; +/* compiled from: lambda */ +public final /* synthetic */ class c implements l { + public static final /* synthetic */ c a = new c(); + + @Override // c.i.a.c.x2.l + public final h[] a() { + return new h[]{new j(0)}; + } + + @Override // c.i.a.c.x2.l + public /* synthetic */ h[] b(Uri uri, Map map) { + return k.a(this, uri, map); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/c0.java b/app/src/main/java/c/i/a/c/x2/k0/c0.java new file mode 100644 index 0000000000..93edcf535a --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/c0.java @@ -0,0 +1,12 @@ +package c.i.a.c.x2.k0; + +import c.i.a.c.f3.d0; +import c.i.a.c.f3.x; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +/* compiled from: SectionPayloadReader */ +public interface c0 { + void a(d0 d0Var, j jVar, i0.d dVar); + + void b(x xVar); +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/d.java b/app/src/main/java/c/i/a/c/x2/k0/d.java new file mode 100644 index 0000000000..83be9e3ce3 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/d.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.k0; + +import android.net.Uri; +import c.i.a.c.x2.h; +import c.i.a.c.x2.k; +import c.i.a.c.x2.l; +import java.util.Map; +/* compiled from: lambda */ +public final /* synthetic */ class d implements l { + public static final /* synthetic */ d a = new d(); + + @Override // c.i.a.c.x2.l + public final h[] a() { + return new h[]{new b0()}; + } + + @Override // c.i.a.c.x2.l + public /* synthetic */ h[] b(Uri uri, Map map) { + return k.a(this, uri, map); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/d0.java b/app/src/main/java/c/i/a/c/x2/k0/d0.java new file mode 100644 index 0000000000..6f75ce6aaf --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/d0.java @@ -0,0 +1,107 @@ +package c.i.a.c.x2.k0; + +import androidx.core.view.InputDeviceCompat; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +/* compiled from: SectionReader */ +public final class d0 implements i0 { + public final c0 a; + public final x b = new x(32); + + /* renamed from: c reason: collision with root package name */ + public int f994c; + public int d; + public boolean e; + public boolean f; + + public d0(c0 c0Var) { + this.a = c0Var; + } + + @Override // c.i.a.c.x2.k0.i0 + public void a(c.i.a.c.f3.d0 d0Var, j jVar, i0.d dVar) { + this.a.a(d0Var, jVar, dVar); + this.f = true; + } + + @Override // c.i.a.c.x2.k0.i0 + public void b(x xVar, int i) { + boolean z2 = (i & 1) != 0; + int t = z2 ? xVar.b + xVar.t() : -1; + if (this.f) { + if (z2) { + this.f = false; + xVar.E(t); + this.d = 0; + } else { + return; + } + } + while (xVar.a() > 0) { + int i2 = this.d; + if (i2 < 3) { + if (i2 == 0) { + int t2 = xVar.t(); + xVar.E(xVar.b - 1); + if (t2 == 255) { + this.f = true; + return; + } + } + int min = Math.min(xVar.a(), 3 - this.d); + xVar.e(this.b.a, this.d, min); + int i3 = this.d + min; + this.d = i3; + if (i3 == 3) { + this.b.E(0); + this.b.D(3); + this.b.F(1); + int t3 = this.b.t(); + int t4 = this.b.t(); + this.e = (t3 & 128) != 0; + int i4 = (((t3 & 15) << 8) | t4) + 3; + this.f994c = i4; + byte[] bArr = this.b.a; + if (bArr.length < i4) { + this.b.b(Math.min((int) InputDeviceCompat.SOURCE_TOUCHSCREEN, Math.max(i4, bArr.length * 2))); + } + } + } else { + int min2 = Math.min(xVar.a(), this.f994c - this.d); + xVar.e(this.b.a, this.d, min2); + int i5 = this.d + min2; + this.d = i5; + int i6 = this.f994c; + if (i5 != i6) { + continue; + } else { + if (this.e) { + byte[] bArr2 = this.b.a; + int i7 = e0.a; + int i8 = -1; + for (int i9 = 0; i9 < i6; i9++) { + i8 = e0.k[((i8 >>> 24) ^ (bArr2[i9] & 255)) & 255] ^ (i8 << 8); + } + if (i8 != 0) { + this.f = true; + return; + } + this.b.D(this.f994c - 4); + } else { + this.b.D(i6); + } + this.b.E(0); + this.a.b(this.b); + this.d = 0; + } + } + } + } + + @Override // c.i.a.c.x2.k0.i0 + public void c() { + this.f = true; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/e.java b/app/src/main/java/c/i/a/c/x2/k0/e.java new file mode 100644 index 0000000000..5197139bdc --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/e.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.k0; + +import android.net.Uri; +import c.i.a.c.x2.h; +import c.i.a.c.x2.k; +import c.i.a.c.x2.l; +import java.util.Map; +/* compiled from: lambda */ +public final /* synthetic */ class e implements l { + public static final /* synthetic */ e a = new e(); + + @Override // c.i.a.c.x2.l + public final h[] a() { + return new h[]{new h0(1, 0, 112800)}; + } + + @Override // c.i.a.c.x2.l + public /* synthetic */ h[] b(Uri uri, Map map) { + return k.a(this, uri, map); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/e0.java b/app/src/main/java/c/i/a/c/x2/k0/e0.java new file mode 100644 index 0000000000..a9a8d9be67 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/e0.java @@ -0,0 +1,43 @@ +package c.i.a.c.x2.k0; + +import c.c.a.a0.d; +import c.i.a.c.j1; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.w; +import java.util.List; +/* compiled from: SeiReader */ +public final class e0 { + public final List a; + public final w[] b; + + public e0(List list) { + this.a = list; + this.b = new w[list.size()]; + } + + public void a(j jVar, i0.d dVar) { + for (int i = 0; i < this.b.length; i++) { + dVar.a(); + w p = jVar.p(dVar.c(), 3); + j1 j1Var = this.a.get(i); + String str = j1Var.v; + boolean z2 = "application/cea-608".equals(str) || "application/cea-708".equals(str); + String valueOf = String.valueOf(str); + d.m(z2, valueOf.length() != 0 ? "Invalid closed caption mime type provided: ".concat(valueOf) : new String("Invalid closed caption mime type provided: ")); + String str2 = j1Var.k; + if (str2 == null) { + str2 = dVar.b(); + } + j1.b bVar = new j1.b(); + bVar.a = str2; + bVar.k = str; + bVar.d = j1Var.n; + bVar.f823c = j1Var.m; + bVar.C = j1Var.N; + bVar.m = j1Var.f820x; + p.e(bVar.a()); + this.b[i] = p; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/f.java b/app/src/main/java/c/i/a/c/x2/k0/f.java new file mode 100644 index 0000000000..1e271fe304 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/f.java @@ -0,0 +1,112 @@ +package c.i.a.c.x2.k0; + +import c.i.a.c.f3.x; +import c.i.a.c.t2.m; +import c.i.a.c.x2.h; +import c.i.a.c.x2.i; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.s; +import c.i.a.c.x2.t; +import java.io.IOException; +/* compiled from: Ac3Extractor */ +public final class f implements h { + public final g a = new g(null); + public final x b = new x(2786); + + /* renamed from: c reason: collision with root package name */ + public boolean f995c; + + static { + a aVar = a.a; + } + + /* JADX WARNING: Code restructure failed: missing block: B:7:0x0034, code lost: + r14.k(); + r5 = r5 + 1; + */ + /* JADX WARNING: Code restructure failed: missing block: B:8:0x003d, code lost: + if ((r5 - r3) < 8192) goto L_0x0040; + */ + /* JADX WARNING: Code restructure failed: missing block: B:9:0x003f, code lost: + return false; + */ + @Override // c.i.a.c.x2.h + public boolean b(i iVar) throws IOException { + int i; + x xVar = new x(10); + int i2 = 0; + while (true) { + iVar.o(xVar.a, 0, 10); + xVar.E(0); + if (xVar.v() != 4801587) { + break; + } + xVar.F(3); + int s2 = xVar.s(); + i2 += s2 + 10; + iVar.g(s2); + } + iVar.k(); + iVar.g(i2); + int i3 = i2; + while (true) { + int i4 = 0; + while (true) { + iVar.o(xVar.a, 0, 6); + xVar.E(0); + if (xVar.y() != 2935) { + break; + } + i4++; + if (i4 >= 4) { + return true; + } + byte[] bArr = xVar.a; + if (bArr.length < 6) { + i = -1; + } else { + i = ((bArr[5] & 248) >> 3) > 10 ? ((((bArr[2] & 7) << 8) | (bArr[3] & 255)) + 1) * 2 : m.a((bArr[4] & 192) >> 6, bArr[4] & 63); + } + if (i == -1) { + return false; + } + iVar.g(i - 6); + } + iVar.g(i3); + } + } + + @Override // c.i.a.c.x2.h + public int e(i iVar, s sVar) throws IOException { + int read = iVar.read(this.b.a, 0, 2786); + if (read == -1) { + return -1; + } + this.b.E(0); + this.b.D(read); + if (!this.f995c) { + this.a.f(0, 4); + this.f995c = true; + } + this.a.b(this.b); + return 0; + } + + @Override // c.i.a.c.x2.h + public void f(j jVar) { + this.a.e(jVar, new i0.d(Integer.MIN_VALUE, 0, 1)); + jVar.j(); + jVar.a(new t.b(-9223372036854775807L, 0)); + } + + @Override // c.i.a.c.x2.h + public void g(long j, long j2) { + this.f995c = false; + this.a.c(); + } + + @Override // c.i.a.c.x2.h + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/f0.java b/app/src/main/java/c/i/a/c/x2/k0/f0.java new file mode 100644 index 0000000000..7b79c994bb --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/f0.java @@ -0,0 +1,76 @@ +package c.i.a.c.x2.k0; + +import c.c.a.a0.d; +import c.i.a.c.f3.d0; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import c.i.a.c.x2.a; +import c.i.a.c.x2.i; +import java.io.IOException; +/* compiled from: TsBinarySearchSeeker */ +public final class f0 extends c.i.a.c.x2.a { + + /* compiled from: TsBinarySearchSeeker */ + public static final class a implements a.f { + public final d0 a; + public final x b = new x(); + + /* renamed from: c reason: collision with root package name */ + public final int f996c; + public final int d; + + public a(int i, d0 d0Var, int i2) { + this.f996c = i; + this.a = d0Var; + this.d = i2; + } + + @Override // c.i.a.c.x2.a.f + public void a() { + this.b.B(e0.f); + } + + @Override // c.i.a.c.x2.a.f + public a.e b(i iVar, long j) throws IOException { + long position = iVar.getPosition(); + int min = (int) Math.min((long) this.d, iVar.b() - position); + this.b.A(min); + iVar.o(this.b.a, 0, min); + x xVar = this.b; + int i = xVar.f792c; + long j2 = -1; + long j3 = -1; + long j4 = -9223372036854775807L; + while (xVar.a() >= 188) { + byte[] bArr = xVar.a; + int i2 = xVar.b; + while (i2 < i && bArr[i2] != 71) { + i2++; + } + int i3 = i2 + 188; + if (i3 > i) { + break; + } + long I1 = d.I1(xVar, i2, this.f996c); + if (I1 != -9223372036854775807L) { + long b = this.a.b(I1); + if (b > j) { + return j4 == -9223372036854775807L ? a.e.a(b, position) : a.e.b(position + j3); + } + if (100000 + b > j) { + return a.e.b(position + ((long) i2)); + } + j4 = b; + j3 = (long) i2; + } + xVar.E(i3); + j2 = (long) i3; + } + return j4 != -9223372036854775807L ? a.e.c(j4, position + j2) : a.e.a; + } + } + + public f0(d0 d0Var, long j, long j2, int i, int i2) { + super(new a.b(), new a(i, d0Var, i2), j, 0, j + 1, 0, j2, 188, 940); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/g.java b/app/src/main/java/c/i/a/c/x2/k0/g.java new file mode 100644 index 0000000000..7d5ba378dd --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/g.java @@ -0,0 +1,372 @@ +package c.i.a.c.x2.k0; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.w; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.t2.m; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +/* compiled from: Ac3Reader */ +public final class g implements o { + public final w a; + public final x b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public final String f997c; + public String d; + public c.i.a.c.x2.w e; + public int f = 0; + public int g; + public boolean h; + public long i; + public j1 j; + public int k; + public long l = -9223372036854775807L; + + public g(@Nullable String str) { + w wVar = new w(new byte[128]); + this.a = wVar; + this.b = new x(wVar.a); + this.f997c = str; + } + + /* JADX WARNING: Removed duplicated region for block: B:123:0x0212 */ + /* JADX WARNING: Removed duplicated region for block: B:132:0x022e */ + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) { + int i; + int i2; + int i3; + String str; + int i4; + int i5; + int i6; + int i7; + int i8; + int i9; + int i10; + int i11; + int i12; + boolean z2; + d.H(this.e); + while (xVar.a() > 0) { + int i13 = this.f; + if (i13 == 0) { + while (true) { + if (xVar.a() <= 0) { + z2 = false; + break; + } else if (!this.h) { + this.h = xVar.t() == 11; + } else { + int t = xVar.t(); + if (t == 119) { + this.h = false; + z2 = true; + break; + } + this.h = t == 11; + } + } + if (z2) { + this.f = 1; + byte[] bArr = this.b.a; + bArr[0] = 11; + bArr[1] = 119; + this.g = 2; + } + } else if (i13 == 1) { + byte[] bArr2 = this.b.a; + int min = Math.min(xVar.a(), 128 - this.g); + System.arraycopy(xVar.a, xVar.b, bArr2, this.g, min); + xVar.b += min; + int i14 = this.g + min; + this.g = i14; + if (i14 == 128) { + this.a.k(0); + w wVar = this.a; + int e = wVar.e(); + wVar.m(40); + boolean z3 = wVar.g(5) > 10; + wVar.k(e); + int i15 = -1; + if (z3) { + wVar.m(16); + int g = wVar.g(2); + if (g == 0) { + i15 = 0; + } else if (g == 1) { + i15 = 1; + } else if (g == 2) { + i15 = 2; + } + wVar.m(3); + i3 = (wVar.g(11) + 1) * 2; + int g2 = wVar.g(2); + if (g2 == 3) { + i5 = m.f891c[wVar.g(2)]; + i7 = 6; + i6 = 3; + } else { + int g3 = wVar.g(2); + i6 = g3; + i7 = m.a[g3]; + i5 = m.b[g2]; + } + i2 = i7 * 256; + int g4 = wVar.g(3); + boolean f = wVar.f(); + i = m.d[g4] + (f ? 1 : 0); + wVar.m(10); + if (wVar.f()) { + wVar.m(8); + } + if (g4 == 0) { + wVar.m(5); + if (wVar.f()) { + wVar.m(8); + } + } + if (i15 == 1 && wVar.f()) { + wVar.m(16); + } + if (wVar.f()) { + if (g4 > 2) { + wVar.m(2); + } + if ((g4 & 1) == 0 || g4 <= 2) { + i10 = 6; + } else { + i10 = 6; + wVar.m(6); + } + if ((g4 & 4) != 0) { + wVar.m(i10); + } + if (f && wVar.f()) { + wVar.m(5); + } + if (i15 == 0) { + if (wVar.f()) { + i11 = 6; + wVar.m(6); + } else { + i11 = 6; + } + if (g4 == 0 && wVar.f()) { + wVar.m(i11); + } + if (wVar.f()) { + wVar.m(i11); + } + int g5 = wVar.g(2); + if (g5 == 1) { + wVar.m(5); + } else if (g5 == 2) { + wVar.m(12); + } else if (g5 == 3) { + int g6 = wVar.g(5); + if (wVar.f()) { + wVar.m(5); + if (wVar.f()) { + wVar.m(4); + } + if (wVar.f()) { + wVar.m(4); + } + if (wVar.f()) { + wVar.m(4); + } + if (wVar.f()) { + wVar.m(4); + } + if (wVar.f()) { + wVar.m(4); + } + if (wVar.f()) { + wVar.m(4); + } + if (wVar.f()) { + wVar.m(4); + } + if (wVar.f()) { + if (wVar.f()) { + wVar.m(4); + } + if (wVar.f()) { + wVar.m(4); + } + } + } + if (wVar.f()) { + wVar.m(5); + if (wVar.f()) { + wVar.m(7); + if (wVar.f()) { + wVar.m(8); + i12 = 2; + wVar.m((g6 + 2) * 8); + wVar.c(); + if (g4 < i12) { + if (wVar.f()) { + wVar.m(14); + } + if (g4 == 0 && wVar.f()) { + wVar.m(14); + } + } + if (wVar.f()) { + if (i6 == 0) { + wVar.m(5); + } else { + for (int i16 = 0; i16 < i7; i16++) { + if (wVar.f()) { + wVar.m(5); + } + } + } + } + } + } + } + i12 = 2; + wVar.m((g6 + 2) * 8); + wVar.c(); + if (g4 < i12) { + } + if (wVar.f()) { + } + } + i12 = 2; + if (g4 < i12) { + } + if (wVar.f()) { + } + } + } + if (wVar.f()) { + wVar.m(5); + if (g4 == 2) { + wVar.m(4); + } + if (g4 >= 6) { + wVar.m(2); + } + if (wVar.f()) { + i9 = 8; + wVar.m(8); + } else { + i9 = 8; + } + if (g4 == 0 && wVar.f()) { + wVar.m(i9); + } + if (g2 < 3) { + wVar.l(); + } + } + if (i15 == 0 && i6 != 3) { + wVar.l(); + } + if (i15 != 2 || (i6 != 3 && !wVar.f())) { + i8 = 6; + } else { + i8 = 6; + wVar.m(6); + } + str = (wVar.f() && wVar.g(i8) == 1 && wVar.g(8) == 1) ? "audio/eac3-joc" : "audio/eac3"; + i15 = i5; + } else { + wVar.m(32); + int g7 = wVar.g(2); + String str2 = g7 == 3 ? null : "audio/ac3"; + int a = m.a(g7, wVar.g(6)); + wVar.m(8); + int g8 = wVar.g(3); + if ((g8 & 1) == 0 || g8 == 1) { + i4 = 2; + } else { + i4 = 2; + wVar.m(2); + } + if ((g8 & 4) != 0) { + wVar.m(i4); + } + if (g8 == i4) { + wVar.m(i4); + } + int[] iArr = m.b; + if (g7 < iArr.length) { + i15 = iArr[g7]; + } + i = m.d[g8] + (wVar.f() ? 1 : 0); + i2 = 1536; + str = str2; + i3 = a; + } + j1 j1Var = this.j; + if (j1Var == null || i != j1Var.I || i15 != j1Var.J || !e0.a(str, j1Var.v)) { + j1.b bVar = new j1.b(); + bVar.a = this.d; + bVar.k = str; + bVar.f825x = i; + bVar.f826y = i15; + bVar.f823c = this.f997c; + j1 a2 = bVar.a(); + this.j = a2; + this.e.e(a2); + } + this.k = i3; + this.i = (((long) i2) * 1000000) / ((long) this.j.J); + this.b.E(0); + this.e.c(this.b, 128); + this.f = 2; + } + } else if (i13 == 2) { + int min2 = Math.min(xVar.a(), this.k - this.g); + this.e.c(xVar, min2); + int i17 = this.g + min2; + this.g = i17; + int i18 = this.k; + if (i17 == i18) { + long j = this.l; + if (j != -9223372036854775807L) { + this.e.d(j, 1, i18, 0, null); + this.l += this.i; + } + this.f = 0; + } + } + } + } + + @Override // c.i.a.c.x2.k0.o + public void c() { + this.f = 0; + this.g = 0; + this.h = false; + this.l = -9223372036854775807L; + } + + @Override // c.i.a.c.x2.k0.o + public void d() { + } + + @Override // c.i.a.c.x2.k0.o + public void e(j jVar, i0.d dVar) { + dVar.a(); + this.d = dVar.b(); + this.e = jVar.p(dVar.c(), 1); + } + + @Override // c.i.a.c.x2.k0.o + public void f(long j, int i) { + if (j != -9223372036854775807L) { + this.l = j; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/g0.java b/app/src/main/java/c/i/a/c/x2/k0/g0.java new file mode 100644 index 0000000000..0614d3c29c --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/g0.java @@ -0,0 +1,31 @@ +package c.i.a.c.x2.k0; + +import c.i.a.c.f3.d0; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import c.i.a.c.x2.i; +/* compiled from: TsDurationReader */ +public final class g0 { + public final int a; + public final d0 b = new d0(0); + + /* renamed from: c reason: collision with root package name */ + public final x f998c = new x(); + public boolean d; + public boolean e; + public boolean f; + public long g = -9223372036854775807L; + public long h = -9223372036854775807L; + public long i = -9223372036854775807L; + + public g0(int i) { + this.a = i; + } + + public final int a(i iVar) { + this.f998c.B(e0.f); + this.d = true; + iVar.k(); + return 0; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/h.java b/app/src/main/java/c/i/a/c/x2/k0/h.java new file mode 100644 index 0000000000..f11601bf12 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/h.java @@ -0,0 +1,121 @@ +package c.i.a.c.x2.k0; + +import c.i.a.c.f3.x; +import c.i.a.c.x2.i; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.s; +import c.i.a.c.x2.t; +import java.io.IOException; +/* compiled from: Ac4Extractor */ +public final class h implements c.i.a.c.x2.h { + public final i a = new i(null); + public final x b = new x(16384); + + /* renamed from: c reason: collision with root package name */ + public boolean f999c; + + static { + b bVar = b.a; + } + + /* JADX WARNING: Code restructure failed: missing block: B:10:0x0045, code lost: + return false; + */ + /* JADX WARNING: Code restructure failed: missing block: B:8:0x003a, code lost: + r15.k(); + r4 = r4 + 1; + */ + /* JADX WARNING: Code restructure failed: missing block: B:9:0x0043, code lost: + if ((r4 - r3) < 8192) goto L_0x0046; + */ + @Override // c.i.a.c.x2.h + public boolean b(i iVar) throws IOException { + int i; + x xVar = new x(10); + int i2 = 0; + while (true) { + iVar.o(xVar.a, 0, 10); + xVar.E(0); + if (xVar.v() != 4801587) { + break; + } + xVar.F(3); + int s2 = xVar.s(); + i2 += s2 + 10; + iVar.g(s2); + } + iVar.k(); + iVar.g(i2); + int i3 = i2; + while (true) { + int i4 = 0; + while (true) { + int i5 = 7; + iVar.o(xVar.a, 0, 7); + xVar.E(0); + int y2 = xVar.y(); + if (y2 != 44096 && y2 != 44097) { + break; + } + i4++; + if (i4 >= 4) { + return true; + } + byte[] bArr = xVar.a; + if (bArr.length < 7) { + i = -1; + } else { + int i6 = ((bArr[2] & 255) << 8) | (bArr[3] & 255); + if (i6 == 65535) { + i6 = ((bArr[4] & 255) << 16) | ((bArr[5] & 255) << 8) | (bArr[6] & 255); + } else { + i5 = 4; + } + if (y2 == 44097) { + i5 += 2; + } + i = i6 + i5; + } + if (i == -1) { + return false; + } + iVar.g(i - 7); + } + iVar.g(i3); + } + } + + @Override // c.i.a.c.x2.h + public int e(i iVar, s sVar) throws IOException { + int read = iVar.read(this.b.a, 0, 16384); + if (read == -1) { + return -1; + } + this.b.E(0); + this.b.D(read); + if (!this.f999c) { + this.a.f(0, 4); + this.f999c = true; + } + this.a.b(this.b); + return 0; + } + + @Override // c.i.a.c.x2.h + public void f(j jVar) { + this.a.e(jVar, new i0.d(Integer.MIN_VALUE, 0, 1)); + jVar.j(); + jVar.a(new t.b(-9223372036854775807L, 0)); + } + + @Override // c.i.a.c.x2.h + public void g(long j, long j2) { + this.f999c = false; + this.a.c(); + } + + @Override // c.i.a.c.x2.h + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/h0.java b/app/src/main/java/c/i/a/c/x2/k0/h0.java new file mode 100644 index 0000000000..5426240aae --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/h0.java @@ -0,0 +1,760 @@ +package c.i.a.c.x2.k0; + +import android.util.Log; +import android.util.SparseArray; +import android.util.SparseBooleanArray; +import android.util.SparseIntArray; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.d0; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.w; +import c.i.a.c.f3.x; +import c.i.a.c.x2.h; +import c.i.a.c.x2.i; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.s; +import c.i.a.c.x2.t; +import com.google.android.exoplayer2.ParserException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +/* compiled from: TsExtractor */ +public final class h0 implements h { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final List f1000c; + public final x d; + public final SparseIntArray e; + public final i0.c f; + public final SparseArray g; + public final SparseBooleanArray h; + public final SparseBooleanArray i; + public final g0 j; + public f0 k; + public j l; + public int m; + public boolean n; + public boolean o; + public boolean p; + @Nullable + public i0 q; + public int r; + + /* renamed from: s reason: collision with root package name */ + public int f1001s; + + /* compiled from: TsExtractor */ + public class a implements c0 { + public final w a = new w(new byte[4]); + + public a() { + } + + @Override // c.i.a.c.x2.k0.c0 + public void a(d0 d0Var, j jVar, i0.d dVar) { + } + + @Override // c.i.a.c.x2.k0.c0 + public void b(x xVar) { + if (xVar.t() == 0 && (xVar.t() & 128) != 0) { + xVar.F(6); + int a = xVar.a() / 4; + for (int i = 0; i < a; i++) { + xVar.d(this.a, 4); + int g = this.a.g(16); + this.a.m(3); + if (g == 0) { + this.a.m(13); + } else { + int g2 = this.a.g(13); + if (h0.this.g.get(g2) == null) { + h0 h0Var = h0.this; + h0Var.g.put(g2, new d0(new b(g2))); + h0.this.m++; + } + } + } + h0 h0Var2 = h0.this; + if (h0Var2.a != 2) { + h0Var2.g.remove(0); + } + } + } + } + + /* compiled from: TsExtractor */ + public class b implements c0 { + public final w a = new w(new byte[5]); + public final SparseArray b = new SparseArray<>(); + + /* renamed from: c reason: collision with root package name */ + public final SparseIntArray f1002c = new SparseIntArray(); + public final int d; + + public b(int i) { + this.d = i; + } + + @Override // c.i.a.c.x2.k0.c0 + public void a(d0 d0Var, j jVar, i0.d dVar) { + } + + /* JADX WARNING: Code restructure failed: missing block: B:48:0x013f, code lost: + if (r24.t() == r13) goto L_0x0141; + */ + /* JADX WARNING: Removed duplicated region for block: B:89:0x0224 */ + /* JADX WARNING: Removed duplicated region for block: B:91:0x0231 */ + @Override // c.i.a.c.x2.k0.c0 + public void b(x xVar) { + d0 d0Var; + int i; + d0 d0Var2; + i0 i0Var; + int i2; + int i3; + int i4; + d0 d0Var3; + if (xVar.t() == 2) { + h0 h0Var = h0.this; + int i5 = h0Var.a; + if (i5 == 1 || i5 == 2 || h0Var.m == 1) { + d0Var = h0Var.f1000c.get(0); + } else { + d0Var = new d0(h0Var.f1000c.get(0).c()); + h0.this.f1000c.add(d0Var); + } + if ((xVar.t() & 128) != 0) { + xVar.F(1); + int y2 = xVar.y(); + int i6 = 3; + xVar.F(3); + xVar.d(this.a, 2); + this.a.m(3); + int i7 = 13; + h0.this.f1001s = this.a.g(13); + xVar.d(this.a, 2); + int i8 = 4; + this.a.m(4); + int i9 = 12; + xVar.F(this.a.g(12)); + h0 h0Var2 = h0.this; + int i10 = 21; + if (h0Var2.a == 2 && h0Var2.q == null) { + i0.b bVar = new i0.b(21, null, null, e0.f); + h0 h0Var3 = h0.this; + h0Var3.q = h0Var3.f.a(21, bVar); + h0 h0Var4 = h0.this; + i0 i0Var2 = h0Var4.q; + if (i0Var2 != null) { + i0Var2.a(d0Var, h0Var4.l, new i0.d(y2, 21, 8192)); + } + } + this.b.clear(); + this.f1002c.clear(); + int a = xVar.a(); + while (a > 0) { + int i11 = 5; + xVar.d(this.a, 5); + int g = this.a.g(8); + this.a.m(i6); + int g2 = this.a.g(i7); + this.a.m(i8); + int g3 = this.a.g(i9); + int i12 = xVar.b; + int i13 = g3 + i12; + int i14 = -1; + String str = null; + ArrayList arrayList = null; + while (xVar.b < i13) { + int t = xVar.t(); + int t2 = xVar.b + xVar.t(); + if (t2 > i13) { + break; + } + if (t == i11) { + long u = xVar.u(); + if (u != 1094921523) { + if (u != 1161904947) { + if (u != 1094921524) { + if (u == 1212503619) { + i14 = 36; + } + i4 = y2; + d0Var3 = d0Var; + i3 = g2; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; + g2 = i3; + i11 = 5; + i10 = 21; + } + i14 = 172; + i4 = y2; + d0Var3 = d0Var; + i3 = g2; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; + g2 = i3; + i11 = 5; + i10 = 21; + } + i14 = 135; + i4 = y2; + d0Var3 = d0Var; + i3 = g2; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; + g2 = i3; + i11 = 5; + i10 = 21; + } + } else if (t != 106) { + if (t != 122) { + if (t != 127) { + if (t == 123) { + i14 = 138; + } else if (t == 10) { + str = xVar.q(3).trim(); + i4 = y2; + d0Var3 = d0Var; + i3 = g2; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; + g2 = i3; + i11 = 5; + i10 = 21; + } else { + int i15 = 3; + if (t == 89) { + ArrayList arrayList2 = new ArrayList(); + while (xVar.b < t2) { + String trim = xVar.q(i15).trim(); + int t3 = xVar.t(); + byte[] bArr = new byte[4]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, 4); + xVar.b += 4; + arrayList2.add(new i0.a(trim, t3, bArr)); + d0Var = d0Var; + y2 = y2; + g2 = g2; + i15 = 3; + } + i4 = y2; + d0Var3 = d0Var; + i3 = g2; + arrayList = arrayList2; + i14 = 89; + } else { + i4 = y2; + d0Var3 = d0Var; + i3 = g2; + if (t == 111) { + i14 = 257; + } + } + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; + g2 = i3; + i11 = 5; + i10 = 21; + } + } + i4 = y2; + d0Var3 = d0Var; + i3 = g2; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; + g2 = i3; + i11 = 5; + i10 = 21; + } + i14 = 135; + i4 = y2; + d0Var3 = d0Var; + i3 = g2; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; + g2 = i3; + i11 = 5; + i10 = 21; + } + i14 = 129; + i4 = y2; + d0Var3 = d0Var; + i3 = g2; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; + g2 = i3; + i11 = 5; + i10 = 21; + } + xVar.E(i13); + i0.b bVar2 = new i0.b(i14, str, arrayList, Arrays.copyOfRange(xVar.a, i12, i13)); + if (g == 6 || g == 5) { + g = i14; + } + a -= g3 + 5; + h0 h0Var5 = h0.this; + int i16 = h0Var5.a == 2 ? g : g2; + if (!h0Var5.h.get(i16)) { + h0 h0Var6 = h0.this; + if (h0Var6.a == 2) { + if (g == 21) { + i0Var = h0Var6.q; + if (h0.this.a != 2) { + i2 = g2; + if (i2 >= this.f1002c.get(i16, 8192)) { + } + } else { + i2 = g2; + } + this.f1002c.put(i16, i2); + this.b.put(i16, i0Var); + } + } + i0Var = h0Var6.f.a(g, bVar2); + if (h0.this.a != 2) { + } + this.f1002c.put(i16, i2); + this.b.put(i16, i0Var); + } + d0Var = d0Var; + y2 = y2; + i6 = 3; + i8 = 4; + i7 = 13; + i9 = 12; + i10 = 21; + } + int i17 = y2; + d0 d0Var4 = d0Var; + int size = this.f1002c.size(); + int i18 = 0; + while (i18 < size) { + int keyAt = this.f1002c.keyAt(i18); + int valueAt = this.f1002c.valueAt(i18); + h0.this.h.put(keyAt, true); + h0.this.i.put(valueAt, true); + i0 valueAt2 = this.b.valueAt(i18); + if (valueAt2 != null) { + h0 h0Var7 = h0.this; + if (valueAt2 != h0Var7.q) { + j jVar = h0Var7.l; + i = i17; + i0.d dVar = new i0.d(i, keyAt, 8192); + d0Var2 = d0Var4; + valueAt2.a(d0Var2, jVar, dVar); + } else { + d0Var2 = d0Var4; + i = i17; + } + h0.this.g.put(valueAt, valueAt2); + } else { + d0Var2 = d0Var4; + i = i17; + } + i18++; + d0Var4 = d0Var2; + i17 = i; + } + h0 h0Var8 = h0.this; + if (h0Var8.a != 2) { + h0Var8.g.remove(this.d); + h0 h0Var9 = h0.this; + int i19 = h0Var9.a == 1 ? 0 : h0Var9.m - 1; + h0Var9.m = i19; + if (i19 == 0) { + h0Var9.l.j(); + h0.this.n = true; + } + } else if (!h0Var8.n) { + h0Var8.l.j(); + h0 h0Var10 = h0.this; + h0Var10.m = 0; + h0Var10.n = true; + } + } + } + } + } + + static { + e eVar = e.a; + } + + public h0(int i, int i2, int i3) { + d0 d0Var = new d0(0); + l lVar = new l(i2); + this.f = lVar; + this.b = i3; + this.a = i; + if (i == 1 || i == 2) { + this.f1000c = Collections.singletonList(d0Var); + } else { + ArrayList arrayList = new ArrayList(); + this.f1000c = arrayList; + arrayList.add(d0Var); + } + this.d = new x(new byte[9400], 0); + SparseBooleanArray sparseBooleanArray = new SparseBooleanArray(); + this.h = sparseBooleanArray; + this.i = new SparseBooleanArray(); + SparseArray sparseArray = new SparseArray<>(); + this.g = sparseArray; + this.e = new SparseIntArray(); + this.j = new g0(i3); + this.l = j.d; + this.f1001s = -1; + sparseBooleanArray.clear(); + sparseArray.clear(); + SparseArray b2 = lVar.b(); + int size = b2.size(); + for (int i4 = 0; i4 < size; i4++) { + this.g.put(b2.keyAt(i4), b2.valueAt(i4)); + } + this.g.put(0, new d0(new a())); + this.q = null; + } + + @Override // c.i.a.c.x2.h + public boolean b(i iVar) throws IOException { + boolean z2; + byte[] bArr = this.d.a; + iVar.o(bArr, 0, 940); + for (int i = 0; i < 188; i++) { + int i2 = 0; + while (true) { + if (i2 >= 5) { + z2 = true; + break; + } else if (bArr[(i2 * 188) + i] != 71) { + z2 = false; + break; + } else { + i2++; + } + } + if (z2) { + iVar.l(i); + return true; + } + } + return false; + } + + /* JADX DEBUG: Multi-variable search result rejected for r7v3, resolved type: android.util.SparseBooleanArray */ + /* JADX WARN: Multi-variable type inference failed */ + /* JADX WARNING: Unknown variable types count: 2 */ + @Override // c.i.a.c.x2.h + public int e(i iVar, s sVar) throws IOException { + ?? r1; + ?? r0; + boolean z2; + int i; + boolean z3; + boolean z4; + long b2 = iVar.b(); + int i2 = 1; + if (this.n) { + long j = -9223372036854775807L; + if ((b2 == -1 || this.a == 2) ? false : true) { + g0 g0Var = this.j; + if (!g0Var.d) { + int i3 = this.f1001s; + if (i3 <= 0) { + g0Var.a(iVar); + return 0; + } + if (!g0Var.f) { + long b3 = iVar.b(); + int min = (int) Math.min((long) g0Var.a, b3); + long j2 = b3 - ((long) min); + if (iVar.getPosition() != j2) { + sVar.a = j2; + return i2; + } + g0Var.f998c.A(min); + iVar.k(); + iVar.o(g0Var.f998c.a, 0, min); + x xVar = g0Var.f998c; + int i4 = xVar.b; + int i5 = xVar.f792c; + int i6 = i5 - 188; + while (true) { + if (i6 < i4) { + break; + } + byte[] bArr = xVar.a; + int i7 = -4; + int i8 = 0; + while (true) { + if (i7 > 4) { + z4 = false; + break; + } + int i9 = (i7 * 188) + i6; + if (i9 < i4 || i9 >= i5 || bArr[i9] != 71) { + i8 = 0; + } else { + i8++; + if (i8 == 5) { + z4 = true; + break; + } + } + i7++; + } + if (z4) { + long I1 = d.I1(xVar, i6, i3); + if (I1 != -9223372036854775807L) { + j = I1; + break; + } + } + i6--; + } + g0Var.h = j; + g0Var.f = true; + } else if (g0Var.h == -9223372036854775807L) { + g0Var.a(iVar); + return 0; + } else if (!g0Var.e) { + int min2 = (int) Math.min((long) g0Var.a, iVar.b()); + long j3 = (long) 0; + if (iVar.getPosition() != j3) { + sVar.a = j3; + return i2; + } + g0Var.f998c.A(min2); + iVar.k(); + iVar.o(g0Var.f998c.a, 0, min2); + x xVar2 = g0Var.f998c; + int i10 = xVar2.b; + int i11 = xVar2.f792c; + while (true) { + if (i10 >= i11) { + break; + } + if (xVar2.a[i10] == 71) { + long I12 = d.I1(xVar2, i10, i3); + if (I12 != -9223372036854775807L) { + j = I12; + break; + } + } + i10++; + } + g0Var.g = j; + g0Var.e = true; + } else { + long j4 = g0Var.g; + if (j4 == -9223372036854775807L) { + g0Var.a(iVar); + return 0; + } + long b4 = g0Var.b.b(g0Var.h) - g0Var.b.b(j4); + g0Var.i = b4; + if (b4 < 0) { + Log.w("TsDurationReader", c.d.b.a.a.h(65, "Invalid duration: ", b4, ". Using TIME_UNSET instead.")); + g0Var.i = -9223372036854775807L; + } + g0Var.a(iVar); + return 0; + } + i2 = 0; + return i2; + } + } + if (!this.o) { + this.o = true; + g0 g0Var2 = this.j; + long j5 = g0Var2.i; + if (j5 != -9223372036854775807L) { + f0 f0Var = new f0(g0Var2.b, j5, b2, this.f1001s, this.b); + this.k = f0Var; + this.l.a(f0Var.a); + } else { + this.l.a(new t.b(j5, 0)); + } + } + if (this.p) { + z3 = false; + this.p = false; + g(0, 0); + if (iVar.getPosition() != 0) { + sVar.a = 0; + return 1; + } + } else { + z3 = false; + } + r1 = 1; + r1 = 1; + f0 f0Var2 = this.k; + r0 = z3; + if (f0Var2 != null) { + r0 = z3; + if (f0Var2.b()) { + return this.k.a(iVar, sVar); + } + } + } else { + r0 = 0; + r1 = 1; + } + x xVar3 = this.d; + byte[] bArr2 = xVar3.a; + if (9400 - xVar3.b < 188) { + int a2 = xVar3.a(); + if (a2 > 0) { + System.arraycopy(bArr2, this.d.b, bArr2, r0, a2); + } + this.d.C(bArr2, a2); + } + while (true) { + if (this.d.a() >= 188) { + z2 = true; + break; + } + int i12 = this.d.f792c; + int read = iVar.read(bArr2, i12, 9400 - i12); + if (read == -1) { + z2 = false; + break; + } + this.d.D(i12 + read); + } + if (!z2) { + return -1; + } + x xVar4 = this.d; + int i13 = xVar4.b; + int i14 = xVar4.f792c; + byte[] bArr3 = xVar4.a; + int i15 = i13; + while (i15 < i14 && bArr3[i15] != 71) { + i15++; + } + this.d.E(i15); + int i16 = i15 + 188; + i0 i0Var = null; + if (i16 > i14) { + int i17 = (i15 - i13) + this.r; + this.r = i17; + i = 2; + if (this.a == 2 && i17 > 376) { + throw ParserException.a("Cannot find sync byte. Most likely not a Transport Stream.", null); + } + } else { + i = 2; + this.r = r0; + } + x xVar5 = this.d; + int i18 = xVar5.f792c; + if (i16 > i18) { + return r0; + } + int f = xVar5.f(); + if ((8388608 & f) != 0) { + this.d.E(i16); + return r0; + } + int i19 = ((4194304 & f) != 0 ? 1 : 0) | 0; + int i20 = (2096896 & f) >> 8; + boolean z5 = (f & 32) != 0; + if ((f & 16) != 0) { + i0Var = this.g.get(i20); + } + if (i0Var == null) { + this.d.E(i16); + return r0; + } + if (this.a != i) { + int i21 = f & 15; + int i22 = this.e.get(i20, i21 - 1); + this.e.put(i20, i21); + if (i22 == i21) { + this.d.E(i16); + return r0; + } else if (i21 != ((i22 + r1) & 15)) { + i0Var.c(); + } + } + if (z5) { + int t = this.d.t(); + i19 |= (this.d.t() & 64) != 0 ? 2 : 0; + x xVar6 = this.d; + int i23 = r1 == true ? 1 : 0; + int i24 = r1 == true ? 1 : 0; + int i25 = r1 == true ? 1 : 0; + int i26 = r1 == true ? 1 : 0; + xVar6.F(t - i23); + } + boolean z6 = this.n; + if (this.a == i || z6 || !this.i.get(i20, r0)) { + this.d.D(i16); + i0Var.b(this.d, i19); + this.d.D(i18); + } + if (this.a != i && !z6 && this.n && b2 != -1) { + this.p = r1; + } + this.d.E(i16); + int i27 = r0 == true ? 1 : 0; + int i28 = r0 == true ? 1 : 0; + int i29 = r0 == true ? 1 : 0; + int i30 = r0 == true ? 1 : 0; + int i31 = r0 == true ? 1 : 0; + return i27; + } + + @Override // c.i.a.c.x2.h + public void f(j jVar) { + this.l = jVar; + } + + @Override // c.i.a.c.x2.h + public void g(long j, long j2) { + f0 f0Var; + d.D(this.a != 2); + int size = this.f1000c.size(); + for (int i = 0; i < size; i++) { + d0 d0Var = this.f1000c.get(i); + boolean z2 = d0Var.d() == -9223372036854775807L; + if (!z2) { + long c2 = d0Var.c(); + z2 = (c2 == -9223372036854775807L || c2 == 0 || c2 == j2) ? false : true; + } + if (z2) { + d0Var.e(j2); + } + } + if (!(j2 == 0 || (f0Var = this.k) == null)) { + f0Var.e(j2); + } + this.d.A(0); + this.e.clear(); + for (int i2 = 0; i2 < this.g.size(); i2++) { + this.g.valueAt(i2).c(); + } + this.r = 0; + } + + @Override // c.i.a.c.x2.h + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/i.java b/app/src/main/java/c/i/a/c/x2/k0/i.java new file mode 100644 index 0000000000..016000a7fb --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/i.java @@ -0,0 +1,149 @@ +package c.i.a.c.x2.k0; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.w; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.t2.n; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +/* compiled from: Ac4Reader */ +public final class i implements o { + public final w a; + public final x b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public final String f1003c; + public String d; + public c.i.a.c.x2.w e; + public int f = 0; + public int g = 0; + public boolean h = false; + public boolean i = false; + public long j; + public j1 k; + public int l; + public long m = -9223372036854775807L; + + public i(@Nullable String str) { + w wVar = new w(new byte[16]); + this.a = wVar; + this.b = new x(wVar.a); + this.f1003c = str; + } + + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) { + int i; + boolean z2; + int t; + d.H(this.e); + while (xVar.a() > 0) { + int i2 = this.f; + boolean z3 = true; + if (i2 == 0) { + while (true) { + i = 65; + if (xVar.a() <= 0) { + z2 = false; + break; + } else if (!this.h) { + this.h = xVar.t() == 172; + } else { + t = xVar.t(); + this.h = t == 172; + if (t == 64 || t == 65) { + break; + } + } + } + this.i = t == 65; + z2 = true; + if (z2) { + this.f = 1; + byte[] bArr = this.b.a; + bArr[0] = -84; + if (!this.i) { + i = 64; + } + bArr[1] = (byte) i; + this.g = 2; + } + } else if (i2 == 1) { + byte[] bArr2 = this.b.a; + int min = Math.min(xVar.a(), 16 - this.g); + System.arraycopy(xVar.a, xVar.b, bArr2, this.g, min); + xVar.b += min; + int i3 = this.g + min; + this.g = i3; + if (i3 != 16) { + z3 = false; + } + if (z3) { + this.a.k(0); + n.b b = n.b(this.a); + j1 j1Var = this.k; + if (j1Var == null || 2 != j1Var.I || b.a != j1Var.J || !"audio/ac4".equals(j1Var.v)) { + j1.b bVar = new j1.b(); + bVar.a = this.d; + bVar.k = "audio/ac4"; + bVar.f825x = 2; + bVar.f826y = b.a; + bVar.f823c = this.f1003c; + j1 a = bVar.a(); + this.k = a; + this.e.e(a); + } + this.l = b.b; + this.j = (((long) b.f892c) * 1000000) / ((long) this.k.J); + this.b.E(0); + this.e.c(this.b, 16); + this.f = 2; + } + } else if (i2 == 2) { + int min2 = Math.min(xVar.a(), this.l - this.g); + this.e.c(xVar, min2); + int i4 = this.g + min2; + this.g = i4; + int i5 = this.l; + if (i4 == i5) { + long j = this.m; + if (j != -9223372036854775807L) { + this.e.d(j, 1, i5, 0, null); + this.m += this.j; + } + this.f = 0; + } + } + } + } + + @Override // c.i.a.c.x2.k0.o + public void c() { + this.f = 0; + this.g = 0; + this.h = false; + this.i = false; + this.m = -9223372036854775807L; + } + + @Override // c.i.a.c.x2.k0.o + public void d() { + } + + @Override // c.i.a.c.x2.k0.o + public void e(j jVar, i0.d dVar) { + dVar.a(); + this.d = dVar.b(); + this.e = jVar.p(dVar.c(), 1); + } + + @Override // c.i.a.c.x2.k0.o + public void f(long j, int i) { + if (j != -9223372036854775807L) { + this.m = j; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/i0.java b/app/src/main/java/c/i/a/c/x2/k0/i0.java new file mode 100644 index 0000000000..bb0d7f7360 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/i0.java @@ -0,0 +1,105 @@ +package c.i.a.c.x2.k0; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.d0; +import c.i.a.c.f3.x; +import c.i.a.c.x2.j; +import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel; +import com.google.android.exoplayer2.ParserException; +import java.util.Collections; +import java.util.List; +/* compiled from: TsPayloadReader */ +public interface i0 { + + /* compiled from: TsPayloadReader */ + public static final class a { + public final String a; + public final byte[] b; + + public a(String str, int i, byte[] bArr) { + this.a = str; + this.b = bArr; + } + } + + /* compiled from: TsPayloadReader */ + public static final class b { + public final int a; + @Nullable + public final String b; + + /* renamed from: c reason: collision with root package name */ + public final List f1004c; + public final byte[] d; + + public b(int i, @Nullable String str, @Nullable List list, byte[] bArr) { + this.a = i; + this.b = str; + this.f1004c = list == null ? Collections.emptyList() : Collections.unmodifiableList(list); + this.d = bArr; + } + } + + /* compiled from: TsPayloadReader */ + public interface c { + @Nullable + i0 a(int i, b bVar); + } + + /* compiled from: TsPayloadReader */ + public static final class d { + public final String a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f1005c; + public int d; + public String e; + + public d(int i, int i2, int i3) { + String str; + if (i != Integer.MIN_VALUE) { + StringBuilder sb = new StringBuilder(12); + sb.append(i); + sb.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN); + str = sb.toString(); + } else { + str = ""; + } + this.a = str; + this.b = i2; + this.f1005c = i3; + this.d = Integer.MIN_VALUE; + this.e = ""; + } + + public void a() { + int i = this.d; + int i2 = i == Integer.MIN_VALUE ? this.b : i + this.f1005c; + this.d = i2; + String str = this.a; + this.e = c.d.b.a.a.f(c.d.b.a.a.b(str, 11), str, i2); + } + + public String b() { + if (this.d != Integer.MIN_VALUE) { + return this.e; + } + throw new IllegalStateException("generateNewId() must be called before retrieving ids."); + } + + public int c() { + int i = this.d; + if (i != Integer.MIN_VALUE) { + return i; + } + throw new IllegalStateException("generateNewId() must be called before retrieving ids."); + } + } + + void a(d0 d0Var, j jVar, d dVar); + + void b(x xVar, int i) throws ParserException; + + void c(); +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/j.java b/app/src/main/java/c/i/a/c/x2/k0/j.java new file mode 100644 index 0000000000..0420b146bd --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/j.java @@ -0,0 +1,204 @@ +package c.i.a.c.x2.k0; + +import c.c.a.a0.d; +import c.i.a.c.f3.w; +import c.i.a.c.f3.x; +import c.i.a.c.x2.h; +import c.i.a.c.x2.i; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.s; +import c.i.a.c.x2.t; +import com.google.android.exoplayer2.ParserException; +import java.io.EOFException; +import java.io.IOException; +/* compiled from: AdtsExtractor */ +public final class j implements h { + public final int a; + public final k b; + + /* renamed from: c reason: collision with root package name */ + public final x f1006c; + public final x d; + public final w e; + public c.i.a.c.x2.j f; + public long g; + public long h; + public int i; + public boolean j; + public boolean k; + public boolean l; + + static { + c cVar = c.a; + } + + public j(int i) { + this.a = (i & 2) != 0 ? i | 1 : i; + this.b = new k(true, null); + this.f1006c = new x(2048); + this.i = -1; + this.h = -1; + x xVar = new x(10); + this.d = xVar; + this.e = new w(xVar.a); + } + + public final int a(i iVar) throws IOException { + int i = 0; + while (true) { + iVar.o(this.d.a, 0, 10); + this.d.E(0); + if (this.d.v() != 4801587) { + break; + } + this.d.F(3); + int s2 = this.d.s(); + i += s2 + 10; + iVar.g(s2); + } + iVar.k(); + iVar.g(i); + if (this.h == -1) { + this.h = (long) i; + } + return i; + } + + @Override // c.i.a.c.x2.h + public boolean b(i iVar) throws IOException { + int a = a(iVar); + int i = a; + int i2 = 0; + int i3 = 0; + do { + iVar.o(this.d.a, 0, 2); + this.d.E(0); + if (!k.g(this.d.y())) { + i++; + iVar.k(); + iVar.g(i); + } else { + i2++; + if (i2 >= 4 && i3 > 188) { + return true; + } + iVar.o(this.d.a, 0, 4); + this.e.k(14); + int g = this.e.g(13); + if (g <= 6) { + i++; + iVar.k(); + iVar.g(i); + } else { + iVar.g(g - 6); + i3 += g; + } + } + i2 = 0; + i3 = 0; + } while (i - a < 8192); + return false; + } + + @Override // c.i.a.c.x2.h + public int e(i iVar, s sVar) throws IOException { + d.H(this.f); + long b = iVar.b(); + int i = this.a; + if ((((i & 2) == 0 && ((i & 1) == 0 || b == -1)) ? false : true) && !this.j) { + this.i = -1; + iVar.k(); + if (iVar.getPosition() == 0) { + a(iVar); + } + long j = 0; + int i2 = 0; + while (true) { + try { + if (!iVar.e(this.d.a, 0, 2, true)) { + break; + } + this.d.E(0); + if (!k.g(this.d.y())) { + i2 = 0; + break; + } else if (!iVar.e(this.d.a, 0, 4, true)) { + break; + } else { + this.e.k(14); + int g = this.e.g(13); + if (g > 6) { + j += (long) g; + i2++; + if (i2 == 1000) { + break; + } else if (!iVar.m(g - 6, true)) { + break; + } + } else { + this.j = true; + throw ParserException.a("Malformed ADTS stream", null); + } + } + } catch (EOFException unused) { + } + } + iVar.k(); + if (i2 > 0) { + this.i = (int) (j / ((long) i2)); + } else { + this.i = -1; + } + this.j = true; + } + int read = iVar.read(this.f1006c.a, 0, 2048); + boolean z2 = read == -1; + if (!this.l) { + int i3 = this.a; + boolean z3 = (i3 & 1) != 0 && this.i > 0; + if (!z3 || this.b.r != -9223372036854775807L || z2) { + if (z3) { + long j2 = this.b.r; + if (j2 != -9223372036854775807L) { + c.i.a.c.x2.j jVar = this.f; + boolean z4 = (2 & i3) != 0; + int i4 = this.i; + jVar.a(new c.i.a.c.x2.d(b, this.h, (int) ((((long) (i4 * 8)) * 1000000) / j2), i4, z4)); + this.l = true; + } + } + this.f.a(new t.b(-9223372036854775807L, 0)); + this.l = true; + } + } + if (z2) { + return -1; + } + this.f1006c.E(0); + this.f1006c.D(read); + if (!this.k) { + this.b.f(this.g, 4); + this.k = true; + } + this.b.b(this.f1006c); + return 0; + } + + @Override // c.i.a.c.x2.h + public void f(c.i.a.c.x2.j jVar) { + this.f = jVar; + this.b.e(jVar, new i0.d(Integer.MIN_VALUE, 0, 1)); + jVar.j(); + } + + @Override // c.i.a.c.x2.h + public void g(long j, long j2) { + this.k = false; + this.b.c(); + this.g = j2; + } + + @Override // c.i.a.c.x2.h + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/j0.java b/app/src/main/java/c/i/a/c/x2/k0/j0.java new file mode 100644 index 0000000000..181d5cbc85 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/j0.java @@ -0,0 +1,51 @@ +package c.i.a.c.x2.k0; + +import c.c.a.a0.d; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.w; +import java.util.List; +/* compiled from: UserDataReader */ +public final class j0 { + public final List a; + public final w[] b; + + public j0(List list) { + this.a = list; + this.b = new w[list.size()]; + } + + public void a(long j, x xVar) { + if (xVar.a() >= 9) { + int f = xVar.f(); + int f2 = xVar.f(); + int t = xVar.t(); + if (f == 434 && f2 == 1195456820 && t == 3) { + d.K(j, xVar, this.b); + } + } + } + + public void b(j jVar, i0.d dVar) { + for (int i = 0; i < this.b.length; i++) { + dVar.a(); + w p = jVar.p(dVar.c(), 3); + j1 j1Var = this.a.get(i); + String str = j1Var.v; + boolean z2 = "application/cea-608".equals(str) || "application/cea-708".equals(str); + String valueOf = String.valueOf(str); + d.m(z2, valueOf.length() != 0 ? "Invalid closed caption mime type provided: ".concat(valueOf) : new String("Invalid closed caption mime type provided: ")); + j1.b bVar = new j1.b(); + bVar.a = dVar.b(); + bVar.k = str; + bVar.d = j1Var.n; + bVar.f823c = j1Var.m; + bVar.C = j1Var.N; + bVar.m = j1Var.f820x; + p.e(bVar.a()); + this.b[i] = p; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/k.java b/app/src/main/java/c/i/a/c/x2/k0/k.java new file mode 100644 index 0000000000..a2bc82d8c4 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/k.java @@ -0,0 +1,324 @@ +package c.i.a.c.x2.k0; + +import android.util.Log; +import androidx.annotation.Nullable; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.w; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.t2.l; +import c.i.a.c.x2.g; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import com.google.android.exoplayer2.ParserException; +import java.util.Arrays; +import java.util.Collections; +import java.util.Objects; +/* compiled from: AdtsReader */ +public final class k implements o { + public static final byte[] a = {73, 68, 51}; + public final boolean b; + + /* renamed from: c reason: collision with root package name */ + public final w f1007c = new w(new byte[7]); + public final x d = new x(Arrays.copyOf(a, 10)); + @Nullable + public final String e; + public String f; + public c.i.a.c.x2.w g; + public c.i.a.c.x2.w h; + public int i; + public int j; + public int k; + public boolean l; + public boolean m; + public int n; + public int o; + public int p; + public boolean q; + public long r; + + /* renamed from: s reason: collision with root package name */ + public int f1008s; + public long t; + public c.i.a.c.x2.w u; + public long v; + + public k(boolean z2, @Nullable String str) { + h(); + this.n = -1; + this.o = -1; + this.r = -9223372036854775807L; + this.t = -9223372036854775807L; + this.b = z2; + this.e = str; + } + + public static boolean g(int i) { + return (i & 65526) == 65520; + } + + public final boolean a(x xVar, byte[] bArr, int i) { + int min = Math.min(xVar.a(), i - this.j); + System.arraycopy(xVar.a, xVar.b, bArr, this.j, min); + xVar.b += min; + int i2 = this.j + min; + this.j = i2; + return i2 == i; + } + + /* JADX WARNING: Removed duplicated region for block: B:144:0x0275 A[EDGE_INSN: B:144:0x0275->B:95:0x0275 ?: BREAK , SYNTHETIC] */ + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) throws ParserException { + int i; + int i2; + boolean z2; + Objects.requireNonNull(this.g); + int i3 = e0.a; + while (xVar.a() > 0) { + int i4 = this.i; + int i5 = 13; + int i6 = 2; + if (i4 == 0) { + byte[] bArr = xVar.a; + int i7 = xVar.b; + int i8 = xVar.f792c; + while (true) { + if (i7 >= i8) { + xVar.E(i7); + break; + } + i = i7 + 1; + i2 = bArr[i7] & 255; + if (this.k == 512 && g((((byte) i2) & 255) | 65280)) { + if (this.m) { + break; + } + int i9 = i - 2; + xVar.E(i9 + 1); + if (i(xVar, this.f1007c.a, 1)) { + this.f1007c.k(4); + int g = this.f1007c.g(1); + int i10 = this.n; + if (i10 == -1 || g == i10) { + if (this.o != -1) { + if (i(xVar, this.f1007c.a, 1)) { + this.f1007c.k(i6); + if (this.f1007c.g(4) == this.o) { + xVar.E(i9 + 2); + } + } + z2 = true; + if (z2) { + break; + } + } + if (i(xVar, this.f1007c.a, 4)) { + this.f1007c.k(14); + int g2 = this.f1007c.g(i5); + if (g2 >= 7) { + byte[] bArr2 = xVar.a; + int i11 = xVar.f792c; + int i12 = i9 + g2; + if (i12 < i11) { + if (bArr2[i12] == -1) { + } + } + } + } + z2 = true; + if (z2) { + } + } + } + z2 = false; + if (z2) { + } + } + int i13 = this.k; + int i14 = i2 | i13; + if (i14 == 329) { + this.k = 768; + } else if (i14 == 511) { + this.k = 512; + } else if (i14 != 836) { + if (i14 == 1075) { + this.i = 2; + this.j = a.length; + this.f1008s = 0; + this.d.E(0); + xVar.E(i); + break; + } else if (i13 != 256) { + this.k = 256; + i7 = i - 1; + i5 = 13; + i6 = 2; + } + } else { + this.k = 1024; + } + i7 = i; + i5 = 13; + i6 = 2; + } + this.p = (i2 & 8) >> 3; + this.l = (i2 & 1) == 0; + if (!this.m) { + this.i = 1; + this.j = 0; + } else { + this.i = 3; + this.j = 0; + } + xVar.E(i); + } else if (i4 != 1) { + if (i4 != 2) { + if (i4 == 3) { + if (a(xVar, this.f1007c.a, this.l ? 7 : 5)) { + this.f1007c.k(0); + if (!this.q) { + int g3 = this.f1007c.g(2) + 1; + if (g3 != 2) { + StringBuilder sb = new StringBuilder(61); + sb.append("Detected audio object type: "); + sb.append(g3); + sb.append(", but assuming AAC LC."); + Log.w("AdtsReader", sb.toString()); + g3 = 2; + } + this.f1007c.m(5); + int g4 = this.f1007c.g(3); + int i15 = this.o; + byte[] bArr3 = {(byte) (((g3 << 3) & 248) | ((i15 >> 1) & 7)), (byte) (((i15 << 7) & 128) | ((g4 << 3) & 120))}; + l.b b = l.b(new w(bArr3), false); + j1.b bVar = new j1.b(); + bVar.a = this.f; + bVar.k = "audio/mp4a-latm"; + bVar.h = b.f890c; + bVar.f825x = b.b; + bVar.f826y = b.a; + bVar.m = Collections.singletonList(bArr3); + bVar.f823c = this.e; + j1 a2 = bVar.a(); + this.r = 1024000000 / ((long) a2.J); + this.g.e(a2); + this.q = true; + } else { + this.f1007c.m(10); + } + this.f1007c.m(4); + int g5 = (this.f1007c.g(13) - 2) - 5; + if (this.l) { + g5 -= 2; + } + c.i.a.c.x2.w wVar = this.g; + long j = this.r; + this.i = 4; + this.j = 0; + this.u = wVar; + this.v = j; + this.f1008s = g5; + } + } else if (i4 == 4) { + int min = Math.min(xVar.a(), this.f1008s - this.j); + this.u.c(xVar, min); + int i16 = this.j + min; + this.j = i16; + int i17 = this.f1008s; + if (i16 == i17) { + long j2 = this.t; + if (j2 != -9223372036854775807L) { + this.u.d(j2, 1, i17, 0, null); + this.t += this.v; + } + h(); + } + } else { + throw new IllegalStateException(); + } + } else if (a(xVar, this.d.a, 10)) { + this.h.c(this.d, 10); + this.d.E(6); + c.i.a.c.x2.w wVar2 = this.h; + this.i = 4; + this.j = 10; + this.u = wVar2; + this.v = 0; + this.f1008s = this.d.s() + 10; + } + } else if (xVar.a() != 0) { + w wVar3 = this.f1007c; + wVar3.a[0] = xVar.a[xVar.b]; + wVar3.k(2); + int g6 = this.f1007c.g(4); + int i18 = this.o; + if (i18 == -1 || g6 == i18) { + if (!this.m) { + this.m = true; + this.n = this.p; + this.o = g6; + } + this.i = 3; + this.j = 0; + } else { + this.m = false; + h(); + } + } + } + } + + @Override // c.i.a.c.x2.k0.o + public void c() { + this.t = -9223372036854775807L; + this.m = false; + h(); + } + + @Override // c.i.a.c.x2.k0.o + public void d() { + } + + @Override // c.i.a.c.x2.k0.o + public void e(j jVar, i0.d dVar) { + dVar.a(); + this.f = dVar.b(); + c.i.a.c.x2.w p = jVar.p(dVar.c(), 1); + this.g = p; + this.u = p; + if (this.b) { + dVar.a(); + c.i.a.c.x2.w p2 = jVar.p(dVar.c(), 5); + this.h = p2; + j1.b bVar = new j1.b(); + bVar.a = dVar.b(); + bVar.k = "application/id3"; + p2.e(bVar.a()); + return; + } + this.h = new g(); + } + + @Override // c.i.a.c.x2.k0.o + public void f(long j, int i) { + if (j != -9223372036854775807L) { + this.t = j; + } + } + + public final void h() { + this.i = 0; + this.j = 0; + this.k = 256; + } + + public final boolean i(x xVar, byte[] bArr, int i) { + if (xVar.a() < i) { + return false; + } + System.arraycopy(xVar.a, xVar.b, bArr, 0, i); + xVar.b += i; + return true; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/l.java b/app/src/main/java/c/i/a/c/x2/k0/l.java new file mode 100644 index 0000000000..d36bc64b5d --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/l.java @@ -0,0 +1,174 @@ +package c.i.a.c.x2.k0; + +import android.util.SparseArray; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.j1; +import c.i.a.c.x2.k0.i0; +import c.i.b.a.c; +import c.i.b.b.a; +import c.i.b.b.h0; +import c.i.b.b.p; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +/* compiled from: DefaultTsPayloadReaderFactory */ +public final class l implements i0.c { + public final int a; + public final List b; + + public l(int i) { + a aVar = p.j; + p pVar = h0.k; + this.a = i; + this.b = pVar; + } + + @Override // c.i.a.c.x2.k0.i0.c + @Nullable + public i0 a(int i, i0.b bVar) { + if (i != 2) { + if (i == 3 || i == 4) { + return new y(new v(bVar.b)); + } + if (i == 21) { + return new y(new t()); + } + if (i != 27) { + if (i == 36) { + return new y(new s(new e0(c(bVar)))); + } + if (i == 89) { + return new y(new n(bVar.f1004c)); + } + if (i != 138) { + if (i == 172) { + return new y(new i(bVar.b)); + } + if (i == 257) { + return new d0(new x("application/vnd.dvb.ait")); + } + if (i != 134) { + if (i != 135) { + switch (i) { + case 15: + if (d(2)) { + return null; + } + return new y(new k(false, bVar.b)); + case 16: + return new y(new q(new j0(c(bVar)))); + case 17: + if (d(2)) { + return null; + } + return new y(new u(bVar.b)); + default: + switch (i) { + case 128: + break; + case 129: + break; + case 130: + if (!d(64)) { + return null; + } + break; + default: + return null; + } + } + } + return new y(new g(bVar.b)); + } else if (d(16)) { + return null; + } else { + return new d0(new x("application/x-scte35")); + } + } + return new y(new m(bVar.b)); + } else if (d(4)) { + return null; + } else { + return new y(new r(new e0(c(bVar)), d(1), d(8))); + } + } + return new y(new p(new j0(c(bVar)))); + } + + public SparseArray b() { + return new SparseArray<>(); + } + + /* JADX DEBUG: Failed to insert an additional move for type inference into block B:42:0x009b */ + /* JADX DEBUG: Multi-variable search result rejected for r1v1, resolved type: java.util.ArrayList */ + /* JADX DEBUG: Multi-variable search result rejected for r1v3, resolved type: java.util.ArrayList */ + /* JADX DEBUG: Multi-variable search result rejected for r1v4, resolved type: java.util.ArrayList */ + /* JADX DEBUG: Multi-variable search result rejected for r1v5, resolved type: java.util.ArrayList */ + /* JADX WARN: Multi-variable type inference failed */ + public final List c(i0.b bVar) { + String str; + int i; + if (d(32)) { + return this.b; + } + byte[] bArr = bVar.d; + int length = bArr.length; + int i2 = 0; + ArrayList arrayList = this.b; + while (length - i2 > 0) { + int i3 = i2 + 1; + int i4 = bArr[i2] & 255; + int i5 = i3 + 1; + int i6 = (bArr[i3] & 255) + i5; + boolean z2 = true; + if (i4 == 134) { + arrayList = new ArrayList(); + int i7 = i5 + 1; + int i8 = bArr[i5] & 255 & 31; + int i9 = 0; + while (i9 < i8) { + String str2 = new String(bArr, i7, 3, c.f1307c); + int i10 = i7 + 3; + int i11 = i10 + 1; + int i12 = bArr[i10] & 255; + boolean z3 = (i12 & 128) != 0; + if (z3) { + i = i12 & 63; + str = "application/cea-708"; + } else { + str = "application/cea-608"; + i = 1; + } + int i13 = i11 + 1; + byte b = (byte) (bArr[i11] & 255); + int i14 = i13 + 1; + d.j(i14 >= 0 && i14 <= length); + List list = null; + if (z3) { + list = Collections.singletonList((b & 64) != 0 ? new byte[]{1} : new byte[]{0}); + } + j1.b bVar2 = new j1.b(); + bVar2.k = str; + bVar2.f823c = str2; + bVar2.C = i; + bVar2.m = list; + arrayList.add(bVar2.a()); + i9++; + i7 = i14; + } + } + if (i6 < 0 || i6 > length) { + z2 = false; + } + d.j(z2); + i2 = i6; + arrayList = arrayList; + } + return arrayList; + } + + public final boolean d(int i) { + return (i & this.a) != 0; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/m.java b/app/src/main/java/c/i/a/c/x2/k0/m.java new file mode 100644 index 0000000000..043e3e8ccc --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/m.java @@ -0,0 +1,288 @@ +package c.i.a.c.x2.k0; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.w; +import java.util.Arrays; +/* compiled from: DtsReader */ +public final class m implements o { + public final x a = new x(new byte[18]); + @Nullable + public final String b; + + /* renamed from: c reason: collision with root package name */ + public String f1009c; + public w d; + public int e = 0; + public int f; + public int g; + public long h; + public j1 i; + public int j; + public long k = -9223372036854775807L; + + public m(@Nullable String str) { + this.b = str; + } + + /* JADX WARNING: Removed duplicated region for block: B:68:0x0220 */ + /* JADX WARNING: Removed duplicated region for block: B:71:0x022e */ + /* JADX WARNING: Removed duplicated region for block: B:79:0x0256 */ + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) { + boolean z2; + int i; + byte b; + int i2; + int i3; + byte b2; + byte b3; + int i4; + byte b4; + int i5; + byte b5; + int i6; + c.i.a.c.f3.w wVar; + int i7; + int i8; + boolean z3; + boolean z4; + d.H(this.d); + while (xVar.a() > 0) { + int i9 = this.e; + int i10 = 8; + int i11 = 2; + if (i9 == 0) { + while (true) { + if (xVar.a() <= 0) { + z3 = false; + break; + } + int i12 = this.g << 8; + this.g = i12; + int t = i12 | xVar.t(); + this.g = t; + if (t == 2147385345 || t == -25230976 || t == 536864768 || t == -14745368) { + z4 = true; + continue; + } else { + z4 = false; + continue; + } + if (z4) { + byte[] bArr = this.a.a; + bArr[0] = (byte) ((t >> 24) & 255); + bArr[1] = (byte) ((t >> 16) & 255); + bArr[2] = (byte) ((t >> 8) & 255); + bArr[3] = (byte) (t & 255); + this.f = 4; + this.g = 0; + z3 = true; + break; + } + } + if (z3) { + this.e = 1; + } + } else if (i9 == 1) { + byte[] bArr2 = this.a.a; + int min = Math.min(xVar.a(), 18 - this.f); + System.arraycopy(xVar.a, xVar.b, bArr2, this.f, min); + xVar.b += min; + int i13 = this.f + min; + this.f = i13; + if (i13 == 18) { + byte[] bArr3 = this.a.a; + if (this.i == null) { + String str = this.f1009c; + String str2 = this.b; + if (bArr3[0] == Byte.MAX_VALUE) { + wVar = new c.i.a.c.f3.w(bArr3); + } else { + byte[] copyOf = Arrays.copyOf(bArr3, bArr3.length); + if (copyOf[0] == -2 || copyOf[0] == -1) { + for (int i14 = 0; i14 < copyOf.length - 1; i14 += 2) { + byte b6 = copyOf[i14]; + int i15 = i14 + 1; + copyOf[i14] = copyOf[i15]; + copyOf[i15] = b6; + } + } + c.i.a.c.f3.w wVar2 = new c.i.a.c.f3.w(copyOf); + if (copyOf[0] == 31) { + c.i.a.c.f3.w wVar3 = new c.i.a.c.f3.w(copyOf); + while (wVar3.b() >= 16) { + wVar3.m(i11); + int g = wVar3.g(14) & 16383; + int min2 = Math.min(8 - wVar2.f791c, 14); + int i16 = wVar2.f791c; + int i17 = (8 - i16) - min2; + byte[] bArr4 = wVar2.a; + int i18 = wVar2.b; + bArr4[i18] = (byte) (((65280 >> i16) | ((1 << i17) - 1)) & bArr4[i18]); + int i19 = 14 - min2; + bArr4[i18] = (byte) (((g >>> i19) << i17) | bArr4[i18]); + int i20 = i18 + 1; + while (i19 > i10) { + i19 -= 8; + wVar2.a[i20] = (byte) (g >>> i19); + i20++; + i10 = 8; + } + int i21 = 8 - i19; + byte[] bArr5 = wVar2.a; + bArr5[i20] = (byte) (bArr5[i20] & ((1 << i21) - 1)); + bArr5[i20] = (byte) (((((1 << i19) - 1) & g) << i21) | bArr5[i20]); + wVar2.m(14); + wVar2.a(); + i10 = 8; + i11 = 2; + } + } + int length = copyOf.length; + wVar2.a = copyOf; + wVar2.b = 0; + wVar2.f791c = 0; + wVar2.d = length; + wVar = wVar2; + } + wVar.m(60); + int i22 = c.i.a.c.t2.x.a[wVar.g(6)]; + int i23 = c.i.a.c.t2.x.b[wVar.g(4)]; + int g2 = wVar.g(5); + int[] iArr = c.i.a.c.t2.x.f902c; + if (g2 >= iArr.length) { + i8 = -1; + i7 = 2; + } else { + i7 = 2; + i8 = (iArr[g2] * 1000) / 2; + } + wVar.m(10); + int i24 = i22 + (wVar.g(i7) > 0 ? 1 : 0); + j1.b bVar = new j1.b(); + bVar.a = str; + bVar.k = "audio/vnd.dts"; + bVar.f = i8; + bVar.f825x = i24; + bVar.f826y = i23; + bVar.n = null; + bVar.f823c = str2; + j1 a = bVar.a(); + this.i = a; + this.d.e(a); + } + byte b7 = bArr3[0]; + if (b7 != -2) { + if (b7 == -1) { + i6 = ((3 & bArr3[7]) << 12) | ((bArr3[6] & 255) << 4); + b5 = bArr3[9]; + } else if (b7 != 31) { + i4 = 4; + i5 = ((3 & bArr3[5]) << 12) | ((bArr3[6] & 255) << 4); + b4 = bArr3[7]; + } else { + i6 = ((3 & bArr3[6]) << 12) | ((bArr3[7] & 255) << 4); + b5 = bArr3[8]; + } + i = (i6 | ((b5 & 60) >> 2)) + 1; + z2 = true; + if (z2) { + i = (i * 16) / 14; + } + this.j = i; + b = bArr3[0]; + if (b == -2) { + if (b == -1) { + b3 = bArr3[7]; + i2 = (bArr3[4] & 7) << 4; + } else if (b != 31) { + i2 = (bArr3[4] & 1) << 6; + b2 = bArr3[5]; + } else { + i2 = (7 & bArr3[5]) << 4; + b3 = bArr3[6]; + } + i3 = b3 & 60; + this.h = (long) ((int) ((((long) ((((i3 >> 2) | i2) + 1) * 32)) * 1000000) / ((long) this.i.J))); + this.a.E(0); + this.d.c(this.a, 18); + this.e = 2; + } else { + i2 = (bArr3[5] & 1) << 6; + b2 = bArr3[4]; + } + i3 = b2 & 252; + this.h = (long) ((int) ((((long) ((((i3 >> 2) | i2) + 1) * 32)) * 1000000) / ((long) this.i.J))); + this.a.E(0); + this.d.c(this.a, 18); + this.e = 2; + } else { + i4 = 4; + i5 = ((bArr3[4] & 3) << 12) | ((bArr3[7] & 255) << 4); + b4 = bArr3[6]; + } + i = (i5 | ((b4 & 240) >> i4)) + 1; + z2 = false; + if (z2) { + } + this.j = i; + b = bArr3[0]; + if (b == -2) { + } + i3 = b2 & 252; + this.h = (long) ((int) ((((long) ((((i3 >> 2) | i2) + 1) * 32)) * 1000000) / ((long) this.i.J))); + this.a.E(0); + this.d.c(this.a, 18); + this.e = 2; + } + } else if (i9 == 2) { + int min3 = Math.min(xVar.a(), this.j - this.f); + this.d.c(xVar, min3); + int i25 = this.f + min3; + this.f = i25; + int i26 = this.j; + if (i25 == i26) { + long j = this.k; + if (j != -9223372036854775807L) { + this.d.d(j, 1, i26, 0, null); + this.k += this.h; + } + this.e = 0; + } + } else { + throw new IllegalStateException(); + } + } + } + + @Override // c.i.a.c.x2.k0.o + public void c() { + this.e = 0; + this.f = 0; + this.g = 0; + this.k = -9223372036854775807L; + } + + @Override // c.i.a.c.x2.k0.o + public void d() { + } + + @Override // c.i.a.c.x2.k0.o + public void e(j jVar, i0.d dVar) { + dVar.a(); + this.f1009c = dVar.b(); + this.d = jVar.p(dVar.c(), 1); + } + + @Override // c.i.a.c.x2.k0.o + public void f(long j, int i) { + if (j != -9223372036854775807L) { + this.k = j; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/n.java b/app/src/main/java/c/i/a/c/x2/k0/n.java new file mode 100644 index 0000000000..fc5a34a884 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/n.java @@ -0,0 +1,101 @@ +package c.i.a.c.x2.k0; + +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.w; +import java.util.Collections; +import java.util.List; +/* compiled from: DvbSubtitleReader */ +public final class n implements o { + public final List a; + public final w[] b; + + /* renamed from: c reason: collision with root package name */ + public boolean f1010c; + public int d; + public int e; + public long f = -9223372036854775807L; + + public n(List list) { + this.a = list; + this.b = new w[list.size()]; + } + + public final boolean a(x xVar, int i) { + if (xVar.a() == 0) { + return false; + } + if (xVar.t() != i) { + this.f1010c = false; + } + this.d--; + return this.f1010c; + } + + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) { + if (!this.f1010c) { + return; + } + if (this.d != 2 || a(xVar, 32)) { + if (this.d != 1 || a(xVar, 0)) { + int i = xVar.b; + int a = xVar.a(); + w[] wVarArr = this.b; + for (w wVar : wVarArr) { + xVar.E(i); + wVar.c(xVar, a); + } + this.e += a; + } + } + } + + @Override // c.i.a.c.x2.k0.o + public void c() { + this.f1010c = false; + this.f = -9223372036854775807L; + } + + @Override // c.i.a.c.x2.k0.o + public void d() { + if (this.f1010c) { + if (this.f != -9223372036854775807L) { + for (w wVar : this.b) { + wVar.d(this.f, 1, this.e, 0, null); + } + } + this.f1010c = false; + } + } + + @Override // c.i.a.c.x2.k0.o + public void e(j jVar, i0.d dVar) { + for (int i = 0; i < this.b.length; i++) { + i0.a aVar = this.a.get(i); + dVar.a(); + w p = jVar.p(dVar.c(), 3); + j1.b bVar = new j1.b(); + bVar.a = dVar.b(); + bVar.k = "application/dvbsubs"; + bVar.m = Collections.singletonList(aVar.b); + bVar.f823c = aVar.a; + p.e(bVar.a()); + this.b[i] = p; + } + } + + @Override // c.i.a.c.x2.k0.o + public void f(long j, int i) { + if ((i & 4) != 0) { + this.f1010c = true; + if (j != -9223372036854775807L) { + this.f = j; + } + this.e = 0; + this.d = 2; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/o.java b/app/src/main/java/c/i/a/c/x2/k0/o.java new file mode 100644 index 0000000000..c997903eb6 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/o.java @@ -0,0 +1,18 @@ +package c.i.a.c.x2.k0; + +import c.i.a.c.f3.x; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import com.google.android.exoplayer2.ParserException; +/* compiled from: ElementaryStreamReader */ +public interface o { + void b(x xVar) throws ParserException; + + void c(); + + void d(); + + void e(j jVar, i0.d dVar); + + void f(long j, int i); +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/p.java b/app/src/main/java/c/i/a/c/x2/k0/p.java new file mode 100644 index 0000000000..575a0f5ccf --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/p.java @@ -0,0 +1,425 @@ +package c.i.a.c.x2.k0; + +import android.util.Pair; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.u; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.w; +import java.util.Arrays; +import java.util.Collections; +import java.util.Objects; +/* compiled from: H262Reader */ +public final class p implements o { + public static final double[] a = {23.976023976023978d, 24.0d, 25.0d, 29.97002997002997d, 30.0d, 50.0d, 59.94005994005994d, 60.0d}; + public String b; + + /* renamed from: c reason: collision with root package name */ + public w f1011c; + @Nullable + public final j0 d; + @Nullable + public final x e; + @Nullable + public final w f; + public final boolean[] g = new boolean[4]; + public final a h = new a(128); + public long i; + public boolean j; + public boolean k; + public long l; + public long m; + public long n; + public long o; + public boolean p; + public boolean q; + + /* compiled from: H262Reader */ + public static final class a { + public static final byte[] a = {0, 0, 1}; + public boolean b; + + /* renamed from: c reason: collision with root package name */ + public int f1012c; + public int d; + public byte[] e; + + public a(int i) { + this.e = new byte[i]; + } + + public void a(byte[] bArr, int i, int i2) { + if (this.b) { + int i3 = i2 - i; + byte[] bArr2 = this.e; + int length = bArr2.length; + int i4 = this.f1012c; + if (length < i4 + i3) { + this.e = Arrays.copyOf(bArr2, (i4 + i3) * 2); + } + System.arraycopy(bArr, i, this.e, this.f1012c, i3); + this.f1012c += i3; + } + } + } + + public p(@Nullable j0 j0Var) { + this.d = j0Var; + if (j0Var != null) { + this.f = new w(178, 128); + this.e = new x(); + } else { + this.f = null; + this.e = null; + } + this.m = -9223372036854775807L; + this.o = -9223372036854775807L; + } + + /* JADX WARNING: Removed duplicated region for block: B:28:0x0080 */ + /* JADX WARNING: Removed duplicated region for block: B:41:0x00f4 */ + /* JADX WARNING: Removed duplicated region for block: B:53:0x0150 */ + /* JADX WARNING: Removed duplicated region for block: B:64:0x0193 */ + /* JADX WARNING: Removed duplicated region for block: B:66:0x0197 */ + /* JADX WARNING: Removed duplicated region for block: B:78:0x01bc */ + /* JADX WARNING: Removed duplicated region for block: B:82:0x01df */ + /* JADX WARNING: Removed duplicated region for block: B:87:0x01f4 */ + /* JADX WARNING: Removed duplicated region for block: B:93:0x020b */ + /* JADX WARNING: Removed duplicated region for block: B:94:0x020d */ + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) { + int i; + int i2; + w wVar; + int i3; + byte[] bArr; + int i4; + long j; + long j2; + long j3; + int i5; + boolean z2; + float f; + int i6; + long j4; + int i7; + float f2; + d.H(this.f1011c); + int i8 = xVar.b; + int i9 = xVar.f792c; + byte[] bArr2 = xVar.a; + this.i += (long) xVar.a(); + this.f1011c.c(xVar, xVar.a()); + while (true) { + int b = u.b(bArr2, i8, i9, this.g); + if (b == i9) { + break; + } + int i10 = b + 3; + int i11 = xVar.a[i10] & 255; + int i12 = b - i8; + if (!this.k) { + if (i12 > 0) { + this.h.a(bArr2, i8, b); + } + int i13 = i12 < 0 ? -i12 : 0; + a aVar = this.h; + if (aVar.b) { + int i14 = aVar.f1012c - i13; + aVar.f1012c = i14; + if (aVar.d == 0 && i11 == 181) { + aVar.d = i14; + } else { + aVar.b = false; + z2 = true; + if (z2) { + a aVar2 = this.h; + String str = this.b; + Objects.requireNonNull(str); + byte[] copyOf = Arrays.copyOf(aVar2.e, aVar2.f1012c); + int i15 = copyOf[5] & 255; + int i16 = ((copyOf[4] & 255) << 4) | (i15 >> 4); + int i17 = ((i15 & 15) << 8) | (copyOf[6] & 255); + int i18 = (copyOf[7] & 240) >> 4; + if (i18 == 2) { + f2 = (float) (i17 * 4); + i7 = i16 * 3; + } else if (i18 == 3) { + f2 = (float) (i17 * 16); + i7 = i16 * 9; + } else if (i18 != 4) { + f = 1.0f; + j1.b bVar = new j1.b(); + bVar.a = str; + bVar.k = "video/mpeg2"; + bVar.p = i16; + bVar.q = i17; + bVar.t = f; + bVar.m = Collections.singletonList(copyOf); + j1 a2 = bVar.a(); + i6 = (copyOf[7] & 15) - 1; + if (i6 >= 0) { + double[] dArr = a; + if (i6 < dArr.length) { + double d = dArr[i6]; + int i19 = aVar2.d + 9; + int i20 = (copyOf[i19] & 96) >> 5; + int i21 = copyOf[i19] & 31; + if (i20 != i21) { + i = i11; + i2 = i10; + d *= (((double) i20) + 1.0d) / ((double) (i21 + 1)); + } else { + i = i11; + i2 = i10; + } + j4 = (long) (1000000.0d / d); + Pair create = Pair.create(a2, Long.valueOf(j4)); + this.f1011c.e((j1) create.first); + this.l = ((Long) create.second).longValue(); + this.k = true; + wVar = this.f; + if (wVar == null) { + if (i12 > 0) { + wVar.a(bArr2, i8, b); + i5 = 0; + } else { + i5 = -i12; + } + if (this.f.b(i5)) { + w wVar2 = this.f; + int f3 = u.f(wVar2.d, wVar2.e); + x xVar2 = this.e; + int i22 = e0.a; + xVar2.C(this.f.d, f3); + this.d.a(this.o, this.e); + } + i3 = i; + if (i3 == 178 && xVar.a[b + 2] == 1) { + this.f.d(i3); + } + } else { + i3 = i; + } + if (i3 != 0 || i3 == 179) { + int i23 = i9 - b; + if (this.q && this.k) { + j3 = this.o; + if (j3 != -9223372036854775807L) { + i4 = i9; + bArr = bArr2; + j = -9223372036854775807L; + this.f1011c.d(j3, this.p ? 1 : 0, ((int) (this.i - this.n)) - i23, i23, null); + if (this.j || this.q) { + this.n = this.i - ((long) i23); + j2 = this.m; + if (j2 == j) { + long j5 = this.o; + j2 = j5 != j ? j5 + this.l : j; + } + this.o = j2; + this.p = false; + this.m = j; + this.j = true; + } + this.q = i3 == 0; + } + } + i4 = i9; + bArr = bArr2; + j = -9223372036854775807L; + if (this.j) { + } + this.n = this.i - ((long) i23); + j2 = this.m; + if (j2 == j) { + } + this.o = j2; + this.p = false; + this.m = j; + this.j = true; + this.q = i3 == 0; + } else { + if (i3 == 184) { + this.p = true; + } + i4 = i9; + bArr = bArr2; + } + i9 = i4; + bArr2 = bArr; + i8 = i2; + } + } + i = i11; + i2 = i10; + j4 = 0; + Pair create = Pair.create(a2, Long.valueOf(j4)); + this.f1011c.e((j1) create.first); + this.l = ((Long) create.second).longValue(); + this.k = true; + wVar = this.f; + if (wVar == null) { + } + if (i3 != 0) { + } + int i23 = i9 - b; + j3 = this.o; + if (j3 != -9223372036854775807L) { + } + i4 = i9; + bArr = bArr2; + j = -9223372036854775807L; + if (this.j) { + } + this.n = this.i - ((long) i23); + j2 = this.m; + if (j2 == j) { + } + this.o = j2; + this.p = false; + this.m = j; + this.j = true; + this.q = i3 == 0; + i9 = i4; + bArr2 = bArr; + i8 = i2; + } else { + f2 = (float) (i17 * 121); + i7 = i16 * 100; + } + f = f2 / ((float) i7); + j1.b bVar = new j1.b(); + bVar.a = str; + bVar.k = "video/mpeg2"; + bVar.p = i16; + bVar.q = i17; + bVar.t = f; + bVar.m = Collections.singletonList(copyOf); + j1 a2 = bVar.a(); + i6 = (copyOf[7] & 15) - 1; + if (i6 >= 0) { + } + i = i11; + i2 = i10; + j4 = 0; + Pair create = Pair.create(a2, Long.valueOf(j4)); + this.f1011c.e((j1) create.first); + this.l = ((Long) create.second).longValue(); + this.k = true; + wVar = this.f; + if (wVar == null) { + } + if (i3 != 0) { + } + int i23 = i9 - b; + j3 = this.o; + if (j3 != -9223372036854775807L) { + } + i4 = i9; + bArr = bArr2; + j = -9223372036854775807L; + if (this.j) { + } + this.n = this.i - ((long) i23); + j2 = this.m; + if (j2 == j) { + } + this.o = j2; + this.p = false; + this.m = j; + this.j = true; + this.q = i3 == 0; + i9 = i4; + bArr2 = bArr; + i8 = i2; + } + } + } else if (i11 == 179) { + aVar.b = true; + } + byte[] bArr3 = a.a; + aVar.a(bArr3, 0, bArr3.length); + z2 = false; + if (z2) { + } + } + i = i11; + i2 = i10; + wVar = this.f; + if (wVar == null) { + } + if (i3 != 0) { + } + int i23 = i9 - b; + j3 = this.o; + if (j3 != -9223372036854775807L) { + } + i4 = i9; + bArr = bArr2; + j = -9223372036854775807L; + if (this.j) { + } + this.n = this.i - ((long) i23); + j2 = this.m; + if (j2 == j) { + } + this.o = j2; + this.p = false; + this.m = j; + this.j = true; + this.q = i3 == 0; + i9 = i4; + bArr2 = bArr; + i8 = i2; + } + if (!this.k) { + this.h.a(bArr2, i8, i9); + } + w wVar3 = this.f; + if (wVar3 != null) { + wVar3.a(bArr2, i8, i9); + } + } + + @Override // c.i.a.c.x2.k0.o + public void c() { + u.a(this.g); + a aVar = this.h; + aVar.b = false; + aVar.f1012c = 0; + aVar.d = 0; + w wVar = this.f; + if (wVar != null) { + wVar.c(); + } + this.i = 0; + this.j = false; + this.m = -9223372036854775807L; + this.o = -9223372036854775807L; + } + + @Override // c.i.a.c.x2.k0.o + public void d() { + } + + @Override // c.i.a.c.x2.k0.o + public void e(j jVar, i0.d dVar) { + dVar.a(); + this.b = dVar.b(); + this.f1011c = jVar.p(dVar.c(), 2); + j0 j0Var = this.d; + if (j0Var != null) { + j0Var.b(jVar, dVar); + } + } + + @Override // c.i.a.c.x2.k0.o + public void f(long j, int i) { + this.m = j; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/q.java b/app/src/main/java/c/i/a/c/x2/k0/q.java new file mode 100644 index 0000000000..4430daf726 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/q.java @@ -0,0 +1,515 @@ +package c.i.a.c.x2.k0; + +import android.util.Log; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.u; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.w; +import java.util.Arrays; +import java.util.Collections; +import java.util.Objects; +/* compiled from: H263Reader */ +public final class q implements o { + public static final float[] a = {1.0f, 1.0f, 1.0909091f, 0.90909094f, 1.4545455f, 1.2121212f, 1.0f}; + @Nullable + public final j0 b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public final x f1013c = new x(); + public final boolean[] d = new boolean[4]; + public final a e = new a(128); + @Nullable + public final w f = new w(178, 128); + public b g; + public long h; + public String i; + public w j; + public boolean k; + public long l = -9223372036854775807L; + + /* compiled from: H263Reader */ + public static final class a { + public static final byte[] a = {0, 0, 1}; + public boolean b; + + /* renamed from: c reason: collision with root package name */ + public int f1014c; + public int d; + public int e; + public byte[] f; + + public a(int i) { + this.f = new byte[i]; + } + + public void a(byte[] bArr, int i, int i2) { + if (this.b) { + int i3 = i2 - i; + byte[] bArr2 = this.f; + int length = bArr2.length; + int i4 = this.d; + if (length < i4 + i3) { + this.f = Arrays.copyOf(bArr2, (i4 + i3) * 2); + } + System.arraycopy(bArr, i, this.f, this.d, i3); + this.d += i3; + } + } + + public void b() { + this.b = false; + this.d = 0; + this.f1014c = 0; + } + } + + /* compiled from: H263Reader */ + public static final class b { + public final w a; + public boolean b; + + /* renamed from: c reason: collision with root package name */ + public boolean f1015c; + public boolean d; + public int e; + public int f; + public long g; + public long h; + + public b(w wVar) { + this.a = wVar; + } + + public void a(byte[] bArr, int i, int i2) { + if (this.f1015c) { + int i3 = this.f; + int i4 = (i + 1) - i3; + if (i4 < i2) { + this.d = ((bArr[i4] & 192) >> 6) == 0; + this.f1015c = false; + return; + } + this.f = (i2 - i) + i3; + } + } + } + + public q(@Nullable j0 j0Var) { + this.b = j0Var; + } + + /* JADX WARNING: Removed duplicated region for block: B:102:0x024f */ + /* JADX WARNING: Removed duplicated region for block: B:105:0x026d */ + /* JADX WARNING: Removed duplicated region for block: B:108:0x027a */ + /* JADX WARNING: Removed duplicated region for block: B:114:0x0286 */ + /* JADX WARNING: Removed duplicated region for block: B:115:0x0288 */ + /* JADX WARNING: Removed duplicated region for block: B:49:0x00d2 */ + /* JADX WARNING: Removed duplicated region for block: B:65:0x0140 */ + /* JADX WARNING: Removed duplicated region for block: B:70:0x017b */ + /* JADX WARNING: Removed duplicated region for block: B:73:0x0192 */ + /* JADX WARNING: Removed duplicated region for block: B:83:0x01ec */ + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) { + int i; + int i2; + w wVar; + b bVar; + long j; + int i3; + boolean z2; + float f; + d.H(this.g); + d.H(this.j); + int i4 = xVar.b; + int i5 = xVar.f792c; + byte[] bArr = xVar.a; + this.h += (long) xVar.a(); + this.j.c(xVar, xVar.a()); + while (true) { + int b2 = u.b(bArr, i4, i5, this.d); + if (b2 == i5) { + if (!this.k) { + this.e.a(bArr, i4, i5); + } + this.g.a(bArr, i4, i5); + w wVar2 = this.f; + if (wVar2 != null) { + wVar2.a(bArr, i4, i5); + return; + } + return; + } + int i6 = b2 + 3; + int i7 = xVar.a[i6] & 255; + int i8 = b2 - i4; + if (!this.k) { + if (i8 > 0) { + this.e.a(bArr, i4, b2); + } + int i9 = i8 < 0 ? -i8 : 0; + a aVar = this.e; + int i10 = aVar.f1014c; + if (i10 != 0) { + if (i10 != 1) { + if (i10 != 2) { + if (i10 != 3) { + if (i10 != 4) { + throw new IllegalStateException(); + } else if (i7 == 179 || i7 == 181) { + aVar.d -= i9; + aVar.b = false; + z2 = true; + if (z2) { + w wVar3 = this.j; + a aVar2 = this.e; + int i11 = aVar2.e; + String str = this.i; + Objects.requireNonNull(str); + byte[] copyOf = Arrays.copyOf(aVar2.f, aVar2.d); + c.i.a.c.f3.w wVar4 = new c.i.a.c.f3.w(copyOf); + wVar4.n(i11); + wVar4.n(4); + wVar4.l(); + wVar4.m(8); + if (wVar4.f()) { + wVar4.m(4); + wVar4.m(3); + } + int g = wVar4.g(4); + i = i6; + if (g == 15) { + int g2 = wVar4.g(8); + int g3 = wVar4.g(8); + if (g3 == 0) { + Log.w("H263Reader", "Invalid aspect ratio"); + i2 = i5; + } else { + f = ((float) g2) / ((float) g3); + i2 = i5; + if (wVar4.f()) { + wVar4.m(2); + wVar4.m(1); + if (wVar4.f()) { + wVar4.m(15); + wVar4.l(); + wVar4.m(15); + wVar4.l(); + wVar4.m(15); + wVar4.l(); + wVar4.m(3); + wVar4.m(11); + wVar4.l(); + wVar4.m(15); + wVar4.l(); + } + } + if (wVar4.g(2) != 0) { + Log.w("H263Reader", "Unhandled video object layer shape"); + } + wVar4.l(); + int g4 = wVar4.g(16); + wVar4.l(); + if (wVar4.f()) { + if (g4 == 0) { + Log.w("H263Reader", "Invalid vop_increment_time_resolution"); + } else { + int i12 = 0; + for (int i13 = g4 - 1; i13 > 0; i13 >>= 1) { + i12++; + } + wVar4.m(i12); + } + } + wVar4.l(); + int g5 = wVar4.g(13); + wVar4.l(); + int g6 = wVar4.g(13); + wVar4.l(); + wVar4.l(); + j1.b bVar2 = new j1.b(); + bVar2.a = str; + bVar2.k = "video/mp4v-es"; + bVar2.p = g5; + bVar2.q = g6; + bVar2.t = f; + bVar2.m = Collections.singletonList(copyOf); + wVar3.e(bVar2.a()); + this.k = true; + this.g.a(bArr, i4, b2); + wVar = this.f; + if (wVar != null) { + if (i8 > 0) { + wVar.a(bArr, i4, b2); + i3 = 0; + } else { + i3 = -i8; + } + if (this.f.b(i3)) { + w wVar5 = this.f; + int f2 = u.f(wVar5.d, wVar5.e); + x xVar2 = this.f1013c; + int i14 = e0.a; + xVar2.C(this.f.d, f2); + this.b.a(this.l, this.f1013c); + } + if (i7 == 178) { + if (xVar.a[b2 + 2] == 1) { + this.f.d(i7); + } + int i15 = i2 - b2; + long j2 = this.h - ((long) i15); + bVar = this.g; + boolean z3 = this.k; + if (bVar.e == 182 && z3 && bVar.b) { + j = bVar.h; + if (j != -9223372036854775807L) { + bVar.a.d(j, bVar.d ? 1 : 0, (int) (j2 - bVar.g), i15, null); + } + } + if (bVar.e != 179) { + bVar.g = j2; + } + b bVar3 = this.g; + long j3 = this.l; + bVar3.e = i7; + bVar3.d = false; + bVar3.b = i7 != 182 || i7 == 179; + bVar3.f1015c = i7 == 182; + bVar3.f = 0; + bVar3.h = j3; + i5 = i2; + i4 = i; + } + } + int i15 = i2 - b2; + long j2 = this.h - ((long) i15); + bVar = this.g; + boolean z3 = this.k; + j = bVar.h; + if (j != -9223372036854775807L) { + } + if (bVar.e != 179) { + } + b bVar3 = this.g; + long j3 = this.l; + bVar3.e = i7; + bVar3.d = false; + bVar3.b = i7 != 182 || i7 == 179; + bVar3.f1015c = i7 == 182; + bVar3.f = 0; + bVar3.h = j3; + i5 = i2; + i4 = i; + } + } else { + float[] fArr = a; + i2 = i5; + if (g < fArr.length) { + f = fArr[g]; + if (wVar4.f()) { + } + if (wVar4.g(2) != 0) { + } + wVar4.l(); + int g4 = wVar4.g(16); + wVar4.l(); + if (wVar4.f()) { + } + wVar4.l(); + int g5 = wVar4.g(13); + wVar4.l(); + int g6 = wVar4.g(13); + wVar4.l(); + wVar4.l(); + j1.b bVar2 = new j1.b(); + bVar2.a = str; + bVar2.k = "video/mp4v-es"; + bVar2.p = g5; + bVar2.q = g6; + bVar2.t = f; + bVar2.m = Collections.singletonList(copyOf); + wVar3.e(bVar2.a()); + this.k = true; + this.g.a(bArr, i4, b2); + wVar = this.f; + if (wVar != null) { + } + int i15 = i2 - b2; + long j2 = this.h - ((long) i15); + bVar = this.g; + boolean z3 = this.k; + j = bVar.h; + if (j != -9223372036854775807L) { + } + if (bVar.e != 179) { + } + b bVar3 = this.g; + long j3 = this.l; + bVar3.e = i7; + bVar3.d = false; + bVar3.b = i7 != 182 || i7 == 179; + bVar3.f1015c = i7 == 182; + bVar3.f = 0; + bVar3.h = j3; + i5 = i2; + i4 = i; + } else { + Log.w("H263Reader", "Invalid aspect ratio"); + } + } + f = 1.0f; + if (wVar4.f()) { + } + if (wVar4.g(2) != 0) { + } + wVar4.l(); + int g4 = wVar4.g(16); + wVar4.l(); + if (wVar4.f()) { + } + wVar4.l(); + int g5 = wVar4.g(13); + wVar4.l(); + int g6 = wVar4.g(13); + wVar4.l(); + wVar4.l(); + j1.b bVar2 = new j1.b(); + bVar2.a = str; + bVar2.k = "video/mp4v-es"; + bVar2.p = g5; + bVar2.q = g6; + bVar2.t = f; + bVar2.m = Collections.singletonList(copyOf); + wVar3.e(bVar2.a()); + this.k = true; + this.g.a(bArr, i4, b2); + wVar = this.f; + if (wVar != null) { + } + int i15 = i2 - b2; + long j2 = this.h - ((long) i15); + bVar = this.g; + boolean z3 = this.k; + j = bVar.h; + if (j != -9223372036854775807L) { + } + if (bVar.e != 179) { + } + b bVar3 = this.g; + long j3 = this.l; + bVar3.e = i7; + bVar3.d = false; + bVar3.b = i7 != 182 || i7 == 179; + bVar3.f1015c = i7 == 182; + bVar3.f = 0; + bVar3.h = j3; + i5 = i2; + i4 = i; + } + } + } else if ((i7 & 240) != 32) { + Log.w("H263Reader", "Unexpected start code value"); + aVar.b(); + } else { + aVar.e = aVar.d; + aVar.f1014c = 4; + } + } else if (i7 > 31) { + Log.w("H263Reader", "Unexpected start code value"); + aVar.b(); + } else { + aVar.f1014c = 3; + } + } else if (i7 != 181) { + Log.w("H263Reader", "Unexpected start code value"); + aVar.b(); + } else { + aVar.f1014c = 2; + } + } else if (i7 == 176) { + aVar.f1014c = 1; + aVar.b = true; + } + byte[] bArr2 = a.a; + aVar.a(bArr2, 0, bArr2.length); + z2 = false; + if (z2) { + } + } + i2 = i5; + i = i6; + this.g.a(bArr, i4, b2); + wVar = this.f; + if (wVar != null) { + } + int i15 = i2 - b2; + long j2 = this.h - ((long) i15); + bVar = this.g; + boolean z3 = this.k; + j = bVar.h; + if (j != -9223372036854775807L) { + } + if (bVar.e != 179) { + } + b bVar3 = this.g; + long j3 = this.l; + bVar3.e = i7; + bVar3.d = false; + bVar3.b = i7 != 182 || i7 == 179; + bVar3.f1015c = i7 == 182; + bVar3.f = 0; + bVar3.h = j3; + i5 = i2; + i4 = i; + } + } + + @Override // c.i.a.c.x2.k0.o + public void c() { + u.a(this.d); + this.e.b(); + b bVar = this.g; + if (bVar != null) { + bVar.b = false; + bVar.f1015c = false; + bVar.d = false; + bVar.e = -1; + } + w wVar = this.f; + if (wVar != null) { + wVar.c(); + } + this.h = 0; + this.l = -9223372036854775807L; + } + + @Override // c.i.a.c.x2.k0.o + public void d() { + } + + @Override // c.i.a.c.x2.k0.o + public void e(j jVar, i0.d dVar) { + dVar.a(); + this.i = dVar.b(); + w p = jVar.p(dVar.c(), 2); + this.j = p; + this.g = new b(p); + j0 j0Var = this.b; + if (j0Var != null) { + j0Var.b(jVar, dVar); + } + } + + @Override // c.i.a.c.x2.k0.o + public void f(long j, int i) { + if (j != -9223372036854775807L) { + this.l = j; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/r.java b/app/src/main/java/c/i/a/c/x2/k0/r.java new file mode 100644 index 0000000000..e4a1d58d29 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/r.java @@ -0,0 +1,621 @@ +package c.i.a.c.x2.k0; + +import android.util.SparseArray; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.h; +import c.i.a.c.f3.u; +import c.i.a.c.f3.x; +import c.i.a.c.f3.y; +import c.i.a.c.j1; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.w; +import java.util.ArrayList; +import java.util.Arrays; +import org.checkerframework.checker.nullness.qual.RequiresNonNull; +/* compiled from: H264Reader */ +public final class r implements o { + public final e0 a; + public final boolean b; + + /* renamed from: c reason: collision with root package name */ + public final boolean f1016c; + public final w d = new w(7, 128); + public final w e = new w(8, 128); + public final w f = new w(6, 128); + public long g; + public final boolean[] h = new boolean[3]; + public String i; + public w j; + public b k; + public boolean l; + public long m = -9223372036854775807L; + public boolean n; + public final x o = new x(); + + /* compiled from: H264Reader */ + public static final class b { + public final w a; + public final boolean b; + + /* renamed from: c reason: collision with root package name */ + public final boolean f1017c; + public final SparseArray d = new SparseArray<>(); + public final SparseArray e = new SparseArray<>(); + public final y f; + public byte[] g; + public int h; + public int i; + public long j; + public boolean k; + public long l; + public a m = new a(null); + public a n = new a(null); + public boolean o; + public long p; + public long q; + public boolean r; + + /* compiled from: H264Reader */ + public static final class a { + public boolean a; + public boolean b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public u.c f1018c; + public int d; + public int e; + public int f; + public int g; + public boolean h; + public boolean i; + public boolean j; + public boolean k; + public int l; + public int m; + public int n; + public int o; + public int p; + + public a(a aVar) { + } + } + + public b(w wVar, boolean z2, boolean z3) { + this.a = wVar; + this.b = z2; + this.f1017c = z3; + byte[] bArr = new byte[128]; + this.g = bArr; + this.f = new y(bArr, 0, 0); + this.k = false; + this.o = false; + a aVar = this.n; + aVar.b = false; + aVar.a = false; + } + } + + public r(e0 e0Var, boolean z2, boolean z3) { + this.a = e0Var; + this.b = z2; + this.f1016c = z3; + } + + /* JADX WARNING: Removed duplicated region for block: B:44:0x0126 */ + /* JADX WARNING: Removed duplicated region for block: B:45:0x0128 */ + /* JADX WARNING: Removed duplicated region for block: B:47:0x012b */ + /* JADX WARNING: Removed duplicated region for block: B:50:0x013c */ + /* JADX WARNING: Removed duplicated region for block: B:53:0x0141 */ + /* JADX WARNING: Removed duplicated region for block: B:63:0x0171 */ + @RequiresNonNull({"sampleReader"}) + public final void a(byte[] bArr, int i, int i2) { + boolean z2; + boolean z3; + boolean z4; + boolean z5; + int i3; + int i4; + int i5; + int i6; + int i7; + int i8; + int i9; + int i10; + if (!this.l || this.k.f1017c) { + this.d.a(bArr, i, i2); + this.e.a(bArr, i, i2); + } + this.f.a(bArr, i, i2); + b bVar = this.k; + if (bVar.k) { + int i11 = i2 - i; + byte[] bArr2 = bVar.g; + int length = bArr2.length; + int i12 = bVar.h + i11; + if (length < i12) { + bVar.g = Arrays.copyOf(bArr2, i12 * 2); + } + System.arraycopy(bArr, i, bVar.g, bVar.h, i11); + int i13 = bVar.h + i11; + bVar.h = i13; + y yVar = bVar.f; + yVar.a = bVar.g; + yVar.f793c = 0; + yVar.b = i13; + yVar.d = 0; + yVar.a(); + if (bVar.f.b(8)) { + bVar.f.i(); + int e = bVar.f.e(2); + bVar.f.j(5); + if (bVar.f.c()) { + bVar.f.f(); + if (bVar.f.c()) { + int f = bVar.f.f(); + if (!bVar.f1017c) { + bVar.k = false; + b.a aVar = bVar.n; + aVar.e = f; + aVar.b = true; + } else if (bVar.f.c()) { + int f2 = bVar.f.f(); + if (bVar.e.indexOfKey(f2) < 0) { + bVar.k = false; + return; + } + u.b bVar2 = bVar.e.get(f2); + u.c cVar = bVar.d.get(bVar2.b); + if (cVar.h) { + if (bVar.f.b(2)) { + bVar.f.j(2); + } else { + return; + } + } + if (bVar.f.b(cVar.j)) { + int e2 = bVar.f.e(cVar.j); + if (cVar.i) { + z4 = false; + } else if (bVar.f.b(1)) { + z4 = bVar.f.d(); + if (z4) { + if (bVar.f.b(1)) { + z3 = bVar.f.d(); + z2 = true; + z5 = bVar.i != 5; + if (z5) { + i3 = 0; + } else if (bVar.f.c()) { + i3 = bVar.f.f(); + } else { + return; + } + i4 = cVar.k; + if (i4 == 0) { + if (i4 != 1 || cVar.m) { + i9 = 0; + } else if (bVar.f.c()) { + i9 = bVar.f.g(); + if (bVar2.f788c && !z4) { + if (bVar.f.c()) { + i7 = bVar.f.g(); + i5 = 0; + i6 = i9; + i8 = 0; + } else { + return; + } + } + } else { + return; + } + i6 = i9; + i8 = 0; + i7 = 0; + i5 = 0; + } else if (bVar.f.b(cVar.l)) { + i8 = bVar.f.e(cVar.l); + if (!bVar2.f788c || z4) { + i10 = 0; + } else if (bVar.f.c()) { + i10 = bVar.f.g(); + } else { + return; + } + i5 = i10; + i7 = 0; + i6 = 0; + } else { + return; + } + b.a aVar2 = bVar.n; + aVar2.f1018c = cVar; + aVar2.d = e; + aVar2.e = f; + aVar2.f = e2; + aVar2.g = f2; + aVar2.h = z4; + aVar2.i = z2; + aVar2.j = z3; + aVar2.k = z5; + aVar2.l = i3; + aVar2.m = i8; + aVar2.n = i5; + aVar2.o = i6; + aVar2.p = i7; + aVar2.a = true; + aVar2.b = true; + bVar.k = false; + } + return; + } + } else { + return; + } + z3 = false; + z2 = false; + if (bVar.i != 5) { + } + if (z5) { + } + i4 = cVar.k; + if (i4 == 0) { + } + b.a aVar2 = bVar.n; + aVar2.f1018c = cVar; + aVar2.d = e; + aVar2.e = f; + aVar2.f = e2; + aVar2.g = f2; + aVar2.h = z4; + aVar2.i = z2; + aVar2.j = z3; + aVar2.k = z5; + aVar2.l = i3; + aVar2.m = i8; + aVar2.n = i5; + aVar2.o = i6; + aVar2.p = i7; + aVar2.a = true; + aVar2.b = true; + bVar.k = false; + } + } + } + } + } + } + } + + /* JADX WARNING: Code restructure failed: missing block: B:115:0x0284, code lost: + if (r6 != 1) goto L_0x0288; + */ + /* JADX WARNING: Code restructure failed: missing block: B:52:0x01ac, code lost: + if (r7.j == r10.j) goto L_0x01ae; + */ + /* JADX WARNING: Code restructure failed: missing block: B:56:0x01b6, code lost: + if (r14 != 0) goto L_0x01b8; + */ + /* JADX WARNING: Code restructure failed: missing block: B:64:0x01ca, code lost: + if (r7.n == r10.n) goto L_0x01cc; + */ + /* JADX WARNING: Code restructure failed: missing block: B:72:0x01dd, code lost: + if (r7.p == r10.p) goto L_0x01df; + */ + /* JADX WARNING: Code restructure failed: missing block: B:77:0x01eb, code lost: + if (r7.l == r10.l) goto L_0x01ee; + */ + /* JADX WARNING: Code restructure failed: missing block: B:80:0x01f1, code lost: + if (r7 == false) goto L_0x022f; + */ + /* JADX WARNING: Removed duplicated region for block: B:106:0x0259 */ + /* JADX WARNING: Removed duplicated region for block: B:114:0x0283 */ + /* JADX WARNING: Removed duplicated region for block: B:116:0x0287 */ + /* JADX WARNING: Removed duplicated region for block: B:119:0x028c A[ADDED_TO_REGION] */ + /* JADX WARNING: Removed duplicated region for block: B:126:0x02a4 A[SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:32:0x0142 */ + /* JADX WARNING: Removed duplicated region for block: B:35:0x0170 */ + /* JADX WARNING: Removed duplicated region for block: B:86:0x020c */ + /* JADX WARNING: Removed duplicated region for block: B:90:0x0234 */ + /* JADX WARNING: Removed duplicated region for block: B:99:0x024b A[ADDED_TO_REGION] */ + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) { + byte[] bArr; + int i; + b bVar; + boolean z2; + b bVar2; + int i2; + long j; + boolean z3; + d.H(this.j); + int i3 = e0.a; + int i4 = xVar.b; + int i5 = xVar.f792c; + byte[] bArr2 = xVar.a; + this.g += (long) xVar.a(); + this.j.c(xVar, xVar.a()); + while (true) { + int b2 = u.b(bArr2, i4, i5, this.h); + if (b2 == i5) { + a(bArr2, i4, i5); + return; + } + int i6 = b2 + 3; + int i7 = bArr2[i6] & 31; + int i8 = b2 - i4; + if (i8 > 0) { + a(bArr2, i4, b2); + } + int i9 = i5 - b2; + long j2 = this.g - ((long) i9); + int i10 = i8 < 0 ? -i8 : 0; + long j3 = this.m; + if (!this.l || this.k.f1017c) { + this.d.b(i10); + this.e.b(i10); + if (this.l) { + i = i5; + bArr = bArr2; + w wVar = this.d; + if (wVar.f1025c) { + u.c e = u.e(wVar.d, 3, wVar.e); + this.k.d.append(e.d, e); + this.d.c(); + } else { + w wVar2 = this.e; + if (wVar2.f1025c) { + u.b d = u.d(wVar2.d, 3, wVar2.e); + this.k.e.append(d.a, d); + this.e.c(); + } + } + } else if (this.d.f1025c && this.e.f1025c) { + ArrayList arrayList = new ArrayList(); + w wVar3 = this.d; + arrayList.add(Arrays.copyOf(wVar3.d, wVar3.e)); + w wVar4 = this.e; + arrayList.add(Arrays.copyOf(wVar4.d, wVar4.e)); + w wVar5 = this.d; + u.c e2 = u.e(wVar5.d, 3, wVar5.e); + w wVar6 = this.e; + u.b d2 = u.d(wVar6.d, 3, wVar6.e); + i = i5; + String a2 = h.a(e2.a, e2.b, e2.f789c); + w wVar7 = this.j; + j1.b bVar3 = new j1.b(); + bArr = bArr2; + bVar3.a = this.i; + bVar3.k = "video/avc"; + bVar3.h = a2; + bVar3.p = e2.e; + bVar3.q = e2.f; + bVar3.t = e2.g; + bVar3.m = arrayList; + wVar7.e(bVar3.a()); + this.l = true; + this.k.d.append(e2.d, e2); + this.k.e.append(d2.a, d2); + this.d.c(); + this.e.c(); + } + if (this.f.b(i10)) { + w wVar8 = this.f; + this.o.C(this.f.d, u.f(wVar8.d, wVar8.e)); + this.o.E(4); + d.J(j3, this.o, this.a.b); + } + bVar = this.k; + boolean z4 = this.l; + boolean z5 = this.n; + if (bVar.i != 9) { + if (bVar.f1017c) { + b.a aVar = bVar.n; + b.a aVar2 = bVar.m; + if (aVar.a) { + if (aVar2.a) { + u.c cVar = aVar.f1018c; + d.H(cVar); + u.c cVar2 = aVar2.f1018c; + d.H(cVar2); + if (aVar.f == aVar2.f) { + if (aVar.g == aVar2.g) { + if (aVar.h == aVar2.h) { + if (aVar.i) { + if (aVar2.i) { + } + } + int i11 = aVar.d; + int i12 = aVar2.d; + if (i11 != i12) { + if (i11 != 0) { + } + } + int i13 = cVar.k; + if (i13 == 0) { + if (cVar2.k == 0) { + if (aVar.m == aVar2.m) { + } + } + } + if (i13 == 1) { + if (cVar2.k == 1) { + if (aVar.o == aVar2.o) { + } + } + } + boolean z6 = aVar.k; + if (z6 == aVar2.k) { + if (z6) { + } + } + } + } + } + } + z3 = true; + } + z3 = false; + } + if (bVar.b) { + b.a aVar3 = bVar.n; + z5 = aVar3.b && ((i2 = aVar3.e) == 7 || i2 == 2); + } + boolean z7 = bVar.r; + int i14 = bVar.i; + z2 = z7 | (i14 != 5 || (z5 && i14 == 1)); + bVar.r = z2; + if (z2) { + this.n = false; + } + long j4 = this.m; + if (!this.l || this.k.f1017c) { + this.d.d(i7); + this.e.d(i7); + } + this.f.d(i7); + bVar2 = this.k; + bVar2.i = i7; + bVar2.l = j4; + bVar2.j = j2; + int i15 = bVar2.b ? 1 : 1; + if (bVar2.f1017c) { + if (!(i7 == 5 || i7 == i15 || i7 == 2)) { + } + b.a aVar4 = bVar2.m; + bVar2.m = bVar2.n; + bVar2.n = aVar4; + aVar4.b = false; + aVar4.a = false; + bVar2.h = 0; + bVar2.k = true; + } + i4 = i6; + i5 = i; + bArr2 = bArr; + } + if (z4 && bVar.o) { + long j5 = bVar.j; + int i16 = i9 + ((int) (j2 - j5)); + j = bVar.q; + if (j != -9223372036854775807L) { + bVar.a.d(j, bVar.r ? 1 : 0, (int) (j5 - bVar.p), i16, null); + } + } + bVar.p = bVar.j; + bVar.q = bVar.l; + bVar.r = false; + bVar.o = true; + if (bVar.b) { + } + boolean z7 = bVar.r; + int i14 = bVar.i; + z2 = z7 | (i14 != 5 || (z5 && i14 == 1)); + bVar.r = z2; + if (z2) { + } + long j4 = this.m; + this.d.d(i7); + this.e.d(i7); + this.f.d(i7); + bVar2 = this.k; + bVar2.i = i7; + bVar2.l = j4; + bVar2.j = j2; + if (bVar2.b) { + } + if (bVar2.f1017c) { + } + i4 = i6; + i5 = i; + bArr2 = bArr; + } + i = i5; + bArr = bArr2; + if (this.f.b(i10)) { + } + bVar = this.k; + boolean z4 = this.l; + boolean z5 = this.n; + if (bVar.i != 9) { + } + long j5 = bVar.j; + int i16 = i9 + ((int) (j2 - j5)); + j = bVar.q; + if (j != -9223372036854775807L) { + } + bVar.p = bVar.j; + bVar.q = bVar.l; + bVar.r = false; + bVar.o = true; + if (bVar.b) { + } + boolean z7 = bVar.r; + int i14 = bVar.i; + z2 = z7 | (i14 != 5 || (z5 && i14 == 1)); + bVar.r = z2; + if (z2) { + } + long j4 = this.m; + this.d.d(i7); + this.e.d(i7); + this.f.d(i7); + bVar2 = this.k; + bVar2.i = i7; + bVar2.l = j4; + bVar2.j = j2; + if (bVar2.b) { + } + if (bVar2.f1017c) { + } + i4 = i6; + i5 = i; + bArr2 = bArr; + } + } + + @Override // c.i.a.c.x2.k0.o + public void c() { + this.g = 0; + this.n = false; + this.m = -9223372036854775807L; + u.a(this.h); + this.d.c(); + this.e.c(); + this.f.c(); + b bVar = this.k; + if (bVar != null) { + bVar.k = false; + bVar.o = false; + b.a aVar = bVar.n; + aVar.b = false; + aVar.a = false; + } + } + + @Override // c.i.a.c.x2.k0.o + public void d() { + } + + @Override // c.i.a.c.x2.k0.o + public void e(j jVar, i0.d dVar) { + dVar.a(); + this.i = dVar.b(); + w p = jVar.p(dVar.c(), 2); + this.j = p; + this.k = new b(p, this.b, this.f1016c); + this.a.a(jVar, dVar); + } + + @Override // c.i.a.c.x2.k0.o + public void f(long j, int i) { + if (j != -9223372036854775807L) { + this.m = j; + } + this.n |= (i & 2) != 0; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/s.java b/app/src/main/java/c/i/a/c/x2/k0/s.java new file mode 100644 index 0000000000..df38c9fa42 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/s.java @@ -0,0 +1,482 @@ +package c.i.a.c.x2.k0; + +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.h; +import c.i.a.c.f3.u; +import c.i.a.c.f3.x; +import c.i.a.c.f3.y; +import c.i.a.c.j1; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.w; +import java.util.Collections; +import org.checkerframework.checker.nullness.qual.RequiresNonNull; +/* compiled from: H265Reader */ +public final class s implements o { + public final e0 a; + public String b; + + /* renamed from: c reason: collision with root package name */ + public w f1019c; + public a d; + public boolean e; + public final boolean[] f = new boolean[3]; + public final w g = new w(32, 128); + public final w h = new w(33, 128); + public final w i = new w(34, 128); + public final w j = new w(39, 128); + public final w k = new w(40, 128); + public long l; + public long m = -9223372036854775807L; + public final x n = new x(); + + /* compiled from: H265Reader */ + public static final class a { + public final w a; + public long b; + + /* renamed from: c reason: collision with root package name */ + public boolean f1020c; + public int d; + public long e; + public boolean f; + public boolean g; + public boolean h; + public boolean i; + public boolean j; + public long k; + public long l; + public boolean m; + + public a(w wVar) { + this.a = wVar; + } + + public final void a(int i) { + long j = this.l; + if (j != -9223372036854775807L) { + boolean z2 = this.m; + this.a.d(j, z2 ? 1 : 0, (int) (this.b - this.k), i, null); + } + } + } + + public s(e0 e0Var) { + this.a = e0Var; + } + + @RequiresNonNull({"sampleReader"}) + public final void a(byte[] bArr, int i, int i2) { + a aVar = this.d; + if (aVar.f) { + int i3 = aVar.d; + int i4 = (i + 2) - i3; + if (i4 < i2) { + aVar.g = (bArr[i4] & 128) != 0; + aVar.f = false; + } else { + aVar.d = (i2 - i) + i3; + } + } + if (!this.e) { + this.g.a(bArr, i, i2); + this.h.a(bArr, i, i2); + this.i.a(bArr, i, i2); + } + this.j.a(bArr, i, i2); + this.k.a(bArr, i, i2); + } + + /* JADX WARNING: Removed duplicated region for block: B:166:0x035d */ + /* JADX WARNING: Removed duplicated region for block: B:167:0x0382 */ + /* JADX WARNING: Removed duplicated region for block: B:170:0x038c */ + /* JADX WARNING: Removed duplicated region for block: B:178:0x03d1 */ + /* JADX WARNING: Removed duplicated region for block: B:209:0x0419 */ + /* JADX WARNING: Removed duplicated region for block: B:217:0x0428 A[SYNTHETIC] */ + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) { + long j; + long j2; + int i; + int i2; + int i3; + byte[] bArr; + int i4; + long j3; + int i5; + long j4; + x xVar2 = xVar; + d.H(this.f1019c); + int i6 = e0.a; + while (xVar.a() > 0) { + int i7 = xVar2.f792c; + byte[] bArr2 = xVar2.a; + this.l += (long) xVar.a(); + this.f1019c.c(xVar2, xVar.a()); + for (int i8 = xVar2.b; i8 < i7; i8 = i3) { + int b = u.b(bArr2, i8, i7, this.f); + if (b == i7) { + a(bArr2, i8, i7); + return; + } + int i9 = b + 3; + int i10 = (bArr2[i9] & 126) >> 1; + int i11 = b - i8; + if (i11 > 0) { + a(bArr2, i8, b); + } + int i12 = i7 - b; + long j5 = this.l - ((long) i12); + int i13 = i11 < 0 ? -i11 : 0; + long j6 = this.m; + a aVar = this.d; + boolean z2 = this.e; + if (aVar.j && aVar.g) { + aVar.m = aVar.f1020c; + aVar.j = false; + } else if (aVar.h || aVar.g) { + if (z2 && aVar.i) { + aVar.a(((int) (j5 - aVar.b)) + i12); + } + aVar.k = aVar.b; + aVar.l = aVar.e; + aVar.m = aVar.f1020c; + aVar.i = true; + } + if (!this.e) { + this.g.b(i13); + this.h.b(i13); + this.i.b(i13); + w wVar = this.g; + if (wVar.f1025c) { + w wVar2 = this.h; + if (wVar2.f1025c) { + w wVar3 = this.i; + if (wVar3.f1025c) { + w wVar4 = this.f1019c; + String str = this.b; + i4 = i7; + int i14 = wVar.e; + bArr = bArr2; + i3 = i9; + byte[] bArr3 = new byte[(wVar2.e + i14 + wVar3.e)]; + i2 = i12; + System.arraycopy(wVar.d, 0, bArr3, 0, i14); + i = i10; + System.arraycopy(wVar2.d, 0, bArr3, wVar.e, wVar2.e); + System.arraycopy(wVar3.d, 0, bArr3, wVar.e + wVar2.e, wVar3.e); + y yVar = new y(wVar2.d, 0, wVar2.e); + yVar.j(44); + int e = yVar.e(3); + yVar.i(); + int e2 = yVar.e(2); + boolean d = yVar.d(); + int e3 = yVar.e(5); + int i15 = 0; + int i16 = 0; + for (int i17 = 32; i15 < i17; i17 = 32) { + if (yVar.d()) { + i16 |= 1 << i15; + } + i15++; + } + int[] iArr = new int[6]; + for (int i18 = 0; i18 < 6; i18++) { + iArr[i18] = yVar.e(8); + } + int e4 = yVar.e(8); + int i19 = 0; + for (int i20 = 0; i20 < e; i20++) { + if (yVar.d()) { + i19 += 89; + } + if (yVar.d()) { + i19 += 8; + } + } + yVar.j(i19); + if (e > 0) { + yVar.j((8 - e) * 2); + } + yVar.f(); + int f = yVar.f(); + if (f == 3) { + yVar.i(); + } + int f2 = yVar.f(); + int f3 = yVar.f(); + if (yVar.d()) { + int f4 = yVar.f(); + int f5 = yVar.f(); + int f6 = yVar.f(); + int f7 = yVar.f(); + j = j5; + f2 -= (f4 + f5) * ((f == 1 || f == 2) ? 2 : 1); + f3 -= (f6 + f7) * (f == 1 ? 2 : 1); + } else { + j = j5; + } + yVar.f(); + yVar.f(); + int f8 = yVar.f(); + for (int i21 = yVar.d() ? 0 : e; i21 <= e; i21++) { + yVar.f(); + yVar.f(); + yVar.f(); + } + yVar.f(); + yVar.f(); + yVar.f(); + yVar.f(); + yVar.f(); + yVar.f(); + if (yVar.d() && yVar.d()) { + int i22 = 0; + for (int i23 = 4; i22 < i23; i23 = 4) { + int i24 = 0; + while (i24 < 6) { + if (!yVar.d()) { + yVar.f(); + j4 = j6; + } else { + j4 = j6; + int min = Math.min(64, 1 << ((i22 << 1) + 4)); + if (i22 > 1) { + yVar.g(); + } + for (int i25 = 0; i25 < min; i25++) { + yVar.g(); + } + } + i24 += i22 == 3 ? 3 : 1; + j6 = j4; + } + i22++; + } + } + j2 = j6; + yVar.j(2); + if (yVar.d()) { + yVar.j(8); + yVar.f(); + yVar.f(); + yVar.i(); + } + int f9 = yVar.f(); + int i26 = 0; + boolean z3 = false; + int i27 = 0; + while (i26 < f9) { + if (i26 != 0) { + z3 = yVar.d(); + } + if (z3) { + yVar.i(); + yVar.f(); + for (int i28 = 0; i28 <= i27; i28++) { + if (yVar.d()) { + yVar.i(); + } + } + i5 = f9; + } else { + int f10 = yVar.f(); + int f11 = yVar.f(); + int i29 = f10 + f11; + i5 = f9; + for (int i30 = 0; i30 < f10; i30++) { + yVar.f(); + yVar.i(); + } + for (int i31 = 0; i31 < f11; i31++) { + yVar.f(); + yVar.i(); + } + i27 = i29; + } + i26++; + f9 = i5; + } + if (yVar.d()) { + for (int i32 = 0; i32 < yVar.f(); i32++) { + yVar.j(f8 + 4 + 1); + } + } + yVar.j(2); + float f12 = 1.0f; + if (yVar.d()) { + if (yVar.d()) { + int e5 = yVar.e(8); + if (e5 == 255) { + int e6 = yVar.e(16); + int e7 = yVar.e(16); + if (!(e6 == 0 || e7 == 0)) { + f12 = ((float) e6) / ((float) e7); + } + } else { + float[] fArr = u.b; + if (e5 < fArr.length) { + f12 = fArr[e5]; + } else { + c.d.b.a.a.d0(46, "Unexpected aspect_ratio_idc value: ", e5, "H265Reader"); + } + } + } + if (yVar.d()) { + yVar.i(); + } + if (yVar.d()) { + yVar.j(4); + if (yVar.d()) { + yVar.j(24); + } + } + if (yVar.d()) { + yVar.f(); + yVar.f(); + } + yVar.i(); + if (yVar.d()) { + f3 *= 2; + } + } + String b2 = h.b(e2, d, e3, i16, iArr, e4); + j1.b bVar = new j1.b(); + bVar.a = str; + bVar.k = "video/hevc"; + bVar.h = b2; + bVar.p = f2; + bVar.q = f3; + bVar.t = f12; + bVar.m = Collections.singletonList(bArr3); + wVar4.e(bVar.a()); + this.e = true; + if (!this.j.b(i13)) { + w wVar5 = this.j; + this.n.C(this.j.d, u.f(wVar5.d, wVar5.e)); + this.n.F(5); + j3 = j2; + d.J(j3, this.n, this.a.b); + } else { + j3 = j2; + } + if (this.k.b(i13)) { + w wVar6 = this.k; + this.n.C(this.k.d, u.f(wVar6.d, wVar6.e)); + this.n.F(5); + d.J(j3, this.n, this.a.b); + } + long j7 = this.m; + a aVar2 = this.d; + boolean z4 = this.e; + aVar2.g = false; + aVar2.h = false; + aVar2.e = j7; + aVar2.d = 0; + aVar2.b = j; + if (!(i >= 32 || i == 40)) { + if (aVar2.i && !aVar2.j) { + if (z4) { + aVar2.a(i2); + } + aVar2.i = false; + } + if ((32 <= i && i <= 35) || i == 39) { + aVar2.h = !aVar2.j; + aVar2.j = true; + } + } + boolean z5 = i < 16 && i <= 21; + aVar2.f1020c = z5; + aVar2.f = !z5 || i <= 9; + if (this.e) { + this.g.d(i); + this.h.d(i); + this.i.d(i); + } + this.j.d(i); + this.k.d(i); + i7 = i4; + bArr2 = bArr; + } + } + } + } + i2 = i12; + i4 = i7; + bArr = bArr2; + i3 = i9; + i = i10; + j = j5; + j2 = j6; + if (!this.j.b(i13)) { + } + if (this.k.b(i13)) { + } + long j7 = this.m; + a aVar2 = this.d; + boolean z4 = this.e; + aVar2.g = false; + aVar2.h = false; + aVar2.e = j7; + aVar2.d = 0; + aVar2.b = j; + if (!(i >= 32 || i == 40)) { + } + if (i < 16) { + } + aVar2.f1020c = z5; + aVar2.f = !z5 || i <= 9; + if (this.e) { + } + this.j.d(i); + this.k.d(i); + i7 = i4; + bArr2 = bArr; + } + xVar2 = xVar; + } + } + + @Override // c.i.a.c.x2.k0.o + public void c() { + this.l = 0; + this.m = -9223372036854775807L; + u.a(this.f); + this.g.c(); + this.h.c(); + this.i.c(); + this.j.c(); + this.k.c(); + a aVar = this.d; + if (aVar != null) { + aVar.f = false; + aVar.g = false; + aVar.h = false; + aVar.i = false; + aVar.j = false; + } + } + + @Override // c.i.a.c.x2.k0.o + public void d() { + } + + @Override // c.i.a.c.x2.k0.o + public void e(j jVar, i0.d dVar) { + dVar.a(); + this.b = dVar.b(); + w p = jVar.p(dVar.c(), 2); + this.f1019c = p; + this.d = new a(p); + this.a.a(jVar, dVar); + } + + @Override // c.i.a.c.x2.k0.o + public void f(long j, int i) { + if (j != -9223372036854775807L) { + this.m = j; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/t.java b/app/src/main/java/c/i/a/c/x2/k0/t.java new file mode 100644 index 0000000000..3e6548947b --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/t.java @@ -0,0 +1,89 @@ +package c.i.a.c.x2.k0; + +import android.util.Log; +import c.c.a.a0.d; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.w; +/* compiled from: Id3Reader */ +public final class t implements o { + public final x a = new x(10); + public w b; + + /* renamed from: c reason: collision with root package name */ + public boolean f1021c; + public long d = -9223372036854775807L; + public int e; + public int f; + + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) { + d.H(this.b); + if (this.f1021c) { + int a = xVar.a(); + int i = this.f; + if (i < 10) { + int min = Math.min(a, 10 - i); + System.arraycopy(xVar.a, xVar.b, this.a.a, this.f, min); + if (this.f + min == 10) { + this.a.E(0); + if (73 == this.a.t() && 68 == this.a.t() && 51 == this.a.t()) { + this.a.F(3); + this.e = this.a.s() + 10; + } else { + Log.w("Id3Reader", "Discarding invalid ID3 tag"); + this.f1021c = false; + return; + } + } + } + int min2 = Math.min(a, this.e - this.f); + this.b.c(xVar, min2); + this.f += min2; + } + } + + @Override // c.i.a.c.x2.k0.o + public void c() { + this.f1021c = false; + this.d = -9223372036854775807L; + } + + @Override // c.i.a.c.x2.k0.o + public void d() { + int i; + d.H(this.b); + if (this.f1021c && (i = this.e) != 0 && this.f == i) { + long j = this.d; + if (j != -9223372036854775807L) { + this.b.d(j, 1, i, 0, null); + } + this.f1021c = false; + } + } + + @Override // c.i.a.c.x2.k0.o + public void e(j jVar, i0.d dVar) { + dVar.a(); + w p = jVar.p(dVar.c(), 5); + this.b = p; + j1.b bVar = new j1.b(); + bVar.a = dVar.b(); + bVar.k = "application/id3"; + p.e(bVar.a()); + } + + @Override // c.i.a.c.x2.k0.o + public void f(long j, int i) { + if ((i & 4) != 0) { + this.f1021c = true; + if (j != -9223372036854775807L) { + this.d = j; + } + this.e = 0; + this.f = 0; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/u.java b/app/src/main/java/c/i/a/c/x2/k0/u.java new file mode 100644 index 0000000000..e48c5acaa3 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/u.java @@ -0,0 +1,258 @@ +package c.i.a.c.x2.k0; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.w; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.t2.l; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import com.google.android.exoplayer2.ParserException; +import java.util.Collections; +import java.util.Objects; +/* compiled from: LatmReader */ +public final class u implements o { + @Nullable + public final String a; + public final x b; + + /* renamed from: c reason: collision with root package name */ + public final w f1022c; + public c.i.a.c.x2.w d; + public String e; + public j1 f; + public int g; + public int h; + public int i; + public int j; + public long k = -9223372036854775807L; + public boolean l; + public int m; + public int n; + public int o; + public boolean p; + public long q; + public int r; + + /* renamed from: s reason: collision with root package name */ + public long f1023s; + public int t; + @Nullable + public String u; + + public u(@Nullable String str) { + this.a = str; + x xVar = new x(1024); + this.b = xVar; + this.f1022c = new w(xVar.a); + } + + public static long a(w wVar) { + return (long) wVar.g((wVar.g(2) + 1) * 8); + } + + /* JADX WARNING: Code restructure failed: missing block: B:64:0x014c, code lost: + if (r14.l == false) goto L_0x01af; + */ + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) throws ParserException { + int i; + boolean f; + d.H(this.d); + while (xVar.a() > 0) { + int i2 = this.g; + if (i2 != 0) { + if (i2 == 1) { + int t = xVar.t(); + if ((t & 224) == 224) { + this.j = t; + this.g = 2; + } else if (t != 86) { + this.g = 0; + } + } else if (i2 == 2) { + int t2 = ((this.j & -225) << 8) | xVar.t(); + this.i = t2; + x xVar2 = this.b; + byte[] bArr = xVar2.a; + if (t2 > bArr.length) { + if (bArr.length < t2) { + bArr = new byte[t2]; + } + xVar2.C(bArr, t2); + w wVar = this.f1022c; + byte[] bArr2 = this.b.a; + Objects.requireNonNull(wVar); + int length = bArr2.length; + wVar.a = bArr2; + wVar.b = 0; + wVar.f791c = 0; + wVar.d = length; + } + this.h = 0; + this.g = 3; + } else if (i2 == 3) { + int min = Math.min(xVar.a(), this.i - this.h); + xVar.e(this.f1022c.a, this.h, min); + int i3 = this.h + min; + this.h = i3; + if (i3 == this.i) { + this.f1022c.k(0); + w wVar2 = this.f1022c; + if (!wVar2.f()) { + this.l = true; + int g = wVar2.g(1); + int g2 = g == 1 ? wVar2.g(1) : 0; + this.m = g2; + if (g2 == 0) { + if (g == 1) { + a(wVar2); + } + if (wVar2.f()) { + this.n = wVar2.g(6); + int g3 = wVar2.g(4); + int g4 = wVar2.g(3); + if (g3 == 0 && g4 == 0) { + if (g == 0) { + int e = wVar2.e(); + int g5 = g(wVar2); + wVar2.k(e); + byte[] bArr3 = new byte[((g5 + 7) / 8)]; + wVar2.h(bArr3, 0, g5); + j1.b bVar = new j1.b(); + bVar.a = this.e; + bVar.k = "audio/mp4a-latm"; + bVar.h = this.u; + bVar.f825x = this.t; + bVar.f826y = this.r; + bVar.m = Collections.singletonList(bArr3); + bVar.f823c = this.a; + j1 a = bVar.a(); + if (!a.equals(this.f)) { + this.f = a; + this.f1023s = 1024000000 / ((long) a.J); + this.d.e(a); + } + } else { + wVar2.m(((int) a(wVar2)) - g(wVar2)); + } + int g6 = wVar2.g(3); + this.o = g6; + if (g6 == 0) { + wVar2.m(8); + } else if (g6 == 1) { + wVar2.m(9); + } else if (g6 == 3 || g6 == 4 || g6 == 5) { + wVar2.m(6); + } else if (g6 == 6 || g6 == 7) { + wVar2.m(1); + } else { + throw new IllegalStateException(); + } + boolean f2 = wVar2.f(); + this.p = f2; + this.q = 0; + if (f2) { + if (g == 1) { + this.q = a(wVar2); + } else { + do { + f = wVar2.f(); + this.q = (this.q << 8) + ((long) wVar2.g(8)); + } while (f); + } + } + if (wVar2.f()) { + wVar2.m(8); + } + } else { + throw ParserException.a(null, null); + } + } else { + throw ParserException.a(null, null); + } + } else { + throw ParserException.a(null, null); + } + } + if (this.m != 0) { + throw ParserException.a(null, null); + } else if (this.n != 0) { + throw ParserException.a(null, null); + } else if (this.o == 0) { + int i4 = 0; + while (true) { + int g7 = wVar2.g(8); + i = i4 + g7; + if (g7 != 255) { + break; + } + i4 = i; + } + int e2 = wVar2.e(); + if ((e2 & 7) == 0) { + this.b.E(e2 >> 3); + } else { + wVar2.h(this.b.a, 0, i * 8); + this.b.E(0); + } + this.d.c(this.b, i); + long j = this.k; + if (j != -9223372036854775807L) { + this.d.d(j, 1, i, 0, null); + this.k += this.f1023s; + } + if (this.p) { + wVar2.m((int) this.q); + } + this.g = 0; + } else { + throw ParserException.a(null, null); + } + } else { + continue; + } + } else { + throw new IllegalStateException(); + } + } else if (xVar.t() == 86) { + this.g = 1; + } + } + } + + @Override // c.i.a.c.x2.k0.o + public void c() { + this.g = 0; + this.k = -9223372036854775807L; + this.l = false; + } + + @Override // c.i.a.c.x2.k0.o + public void d() { + } + + @Override // c.i.a.c.x2.k0.o + public void e(j jVar, i0.d dVar) { + dVar.a(); + this.d = jVar.p(dVar.c(), 1); + this.e = dVar.b(); + } + + @Override // c.i.a.c.x2.k0.o + public void f(long j, int i) { + if (j != -9223372036854775807L) { + this.k = j; + } + } + + public final int g(w wVar) throws ParserException { + int b = wVar.b(); + l.b b2 = l.b(wVar, true); + this.u = b2.f890c; + this.r = b2.a; + this.t = b2.b; + return b - wVar.b(); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/v.java b/app/src/main/java/c/i/a/c/x2/k0/v.java new file mode 100644 index 0000000000..b98c774a86 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/v.java @@ -0,0 +1,142 @@ +package c.i.a.c.x2.k0; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.t2.a0; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.w; +/* compiled from: MpegAudioReader */ +public final class v implements o { + public final x a; + public final a0.a b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public final String f1024c; + public w d; + public String e; + public int f = 0; + public int g; + public boolean h; + public boolean i; + public long j; + public int k; + public long l; + + public v(@Nullable String str) { + x xVar = new x(4); + this.a = xVar; + xVar.a[0] = -1; + this.b = new a0.a(); + this.l = -9223372036854775807L; + this.f1024c = str; + } + + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) { + d.H(this.d); + while (xVar.a() > 0) { + int i = this.f; + if (i == 0) { + byte[] bArr = xVar.a; + int i2 = xVar.b; + int i3 = xVar.f792c; + while (true) { + if (i2 >= i3) { + xVar.E(i3); + break; + } + boolean z2 = (bArr[i2] & 255) == 255; + boolean z3 = this.i && (bArr[i2] & 224) == 224; + this.i = z2; + if (z3) { + xVar.E(i2 + 1); + this.i = false; + this.a.a[1] = bArr[i2]; + this.g = 2; + this.f = 1; + break; + } + i2++; + } + } else if (i == 1) { + int min = Math.min(xVar.a(), 4 - this.g); + xVar.e(this.a.a, this.g, min); + int i4 = this.g + min; + this.g = i4; + if (i4 >= 4) { + this.a.E(0); + if (!this.b.a(this.a.f())) { + this.g = 0; + this.f = 1; + } else { + a0.a aVar = this.b; + this.k = aVar.f885c; + if (!this.h) { + int i5 = aVar.d; + this.j = (((long) aVar.g) * 1000000) / ((long) i5); + j1.b bVar = new j1.b(); + bVar.a = this.e; + bVar.k = aVar.b; + bVar.l = 4096; + bVar.f825x = aVar.e; + bVar.f826y = i5; + bVar.f823c = this.f1024c; + this.d.e(bVar.a()); + this.h = true; + } + this.a.E(0); + this.d.c(this.a, 4); + this.f = 2; + } + } + } else if (i == 2) { + int min2 = Math.min(xVar.a(), this.k - this.g); + this.d.c(xVar, min2); + int i6 = this.g + min2; + this.g = i6; + int i7 = this.k; + if (i6 >= i7) { + long j = this.l; + if (j != -9223372036854775807L) { + this.d.d(j, 1, i7, 0, null); + this.l += this.j; + } + this.g = 0; + this.f = 0; + } + } else { + throw new IllegalStateException(); + } + } + } + + @Override // c.i.a.c.x2.k0.o + public void c() { + this.f = 0; + this.g = 0; + this.i = false; + this.l = -9223372036854775807L; + } + + @Override // c.i.a.c.x2.k0.o + public void d() { + } + + @Override // c.i.a.c.x2.k0.o + public void e(j jVar, i0.d dVar) { + dVar.a(); + this.e = dVar.b(); + this.d = jVar.p(dVar.c(), 1); + } + + @Override // c.i.a.c.x2.k0.o + public void f(long j, int i) { + if (j != -9223372036854775807L) { + this.l = j; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/w.java b/app/src/main/java/c/i/a/c/x2/k0/w.java new file mode 100644 index 0000000000..90da47a91c --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/w.java @@ -0,0 +1,63 @@ +package c.i.a.c.x2.k0; + +import c.c.a.a0.d; +import java.util.Arrays; +/* compiled from: NalUnitTargetBuffer */ +public final class w { + public final int a; + public boolean b; + + /* renamed from: c reason: collision with root package name */ + public boolean f1025c; + public byte[] d; + public int e; + + public w(int i, int i2) { + this.a = i; + byte[] bArr = new byte[(i2 + 3)]; + this.d = bArr; + bArr[2] = 1; + } + + public void a(byte[] bArr, int i, int i2) { + if (this.b) { + int i3 = i2 - i; + byte[] bArr2 = this.d; + int length = bArr2.length; + int i4 = this.e; + if (length < i4 + i3) { + this.d = Arrays.copyOf(bArr2, (i4 + i3) * 2); + } + System.arraycopy(bArr, i, this.d, this.e, i3); + this.e += i3; + } + } + + public boolean b(int i) { + if (!this.b) { + return false; + } + this.e -= i; + this.b = false; + this.f1025c = true; + return true; + } + + public void c() { + this.b = false; + this.f1025c = false; + } + + public void d(int i) { + boolean z2 = true; + d.D(!this.b); + if (i != this.a) { + z2 = false; + } + this.b = z2; + if (z2) { + this.e = 3; + this.f1025c = false; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/x.java b/app/src/main/java/c/i/a/c/x2/k0/x.java new file mode 100644 index 0000000000..38ca124898 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/x.java @@ -0,0 +1,58 @@ +package c.i.a.c.x2.k0; + +import c.c.a.a0.d; +import c.i.a.c.f3.d0; +import c.i.a.c.f3.e0; +import c.i.a.c.j1; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import c.i.a.c.x2.w; +/* compiled from: PassthroughSectionPayloadReader */ +public final class x implements c0 { + public j1 a; + public d0 b; + + /* renamed from: c reason: collision with root package name */ + public w f1026c; + + public x(String str) { + j1.b bVar = new j1.b(); + bVar.k = str; + this.a = bVar.a(); + } + + @Override // c.i.a.c.x2.k0.c0 + public void a(d0 d0Var, j jVar, i0.d dVar) { + this.b = d0Var; + dVar.a(); + w p = jVar.p(dVar.c(), 5); + this.f1026c = p; + p.e(this.a); + } + + @Override // c.i.a.c.x2.k0.c0 + public void b(c.i.a.c.f3.x xVar) { + long c2; + d.H(this.b); + int i = e0.a; + d0 d0Var = this.b; + synchronized (d0Var) { + long j = d0Var.f781c; + c2 = j != -9223372036854775807L ? j + d0Var.b : d0Var.c(); + } + long d = this.b.d(); + if (c2 != -9223372036854775807L && d != -9223372036854775807L) { + j1 j1Var = this.a; + if (d != j1Var.f822z) { + j1.b a = j1Var.a(); + a.o = d; + j1 a2 = a.a(); + this.a = a2; + this.f1026c.e(a2); + } + int a3 = xVar.a(); + this.f1026c.c(xVar, a3); + this.f1026c.d(c2, 1, a3, 0, null); + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/y.java b/app/src/main/java/c/i/a/c/x2/k0/y.java new file mode 100644 index 0000000000..b287bd32dc --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/y.java @@ -0,0 +1,187 @@ +package c.i.a.c.x2.k0; + +import android.util.Log; +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.d.b.a.a; +import c.i.a.c.f3.d0; +import c.i.a.c.f3.w; +import c.i.a.c.f3.x; +import c.i.a.c.x2.j; +import c.i.a.c.x2.k0.i0; +import com.google.android.exoplayer2.ParserException; +/* compiled from: PesReader */ +public final class y implements i0 { + public final o a; + public final w b = new w(new byte[10]); + + /* renamed from: c reason: collision with root package name */ + public int f1027c = 0; + public int d; + public d0 e; + public boolean f; + public boolean g; + public boolean h; + public int i; + public int j; + public boolean k; + public long l; + + public y(o oVar) { + this.a = oVar; + } + + @Override // c.i.a.c.x2.k0.i0 + public void a(d0 d0Var, j jVar, i0.d dVar) { + this.e = d0Var; + this.a.e(jVar, dVar); + } + + @Override // c.i.a.c.x2.k0.i0 + public final void b(x xVar, int i) throws ParserException { + boolean z2; + d.H(this.e); + int i2 = -1; + int i3 = 3; + if ((i & 1) != 0) { + int i4 = this.f1027c; + if (!(i4 == 0 || i4 == 1)) { + if (i4 == 2) { + Log.w("PesReader", "Unexpected start indicator reading extended header"); + } else if (i4 == 3) { + int i5 = this.j; + if (i5 != -1) { + StringBuilder sb = new StringBuilder(59); + sb.append("Unexpected start indicator: expected "); + sb.append(i5); + sb.append(" more bytes"); + Log.w("PesReader", sb.toString()); + } + this.a.d(); + } else { + throw new IllegalStateException(); + } + } + e(1); + } + while (xVar.a() > 0) { + int i6 = this.f1027c; + if (i6 != 0) { + int i7 = 0; + if (i6 != 1) { + if (i6 == 2) { + if (d(xVar, this.b.a, Math.min(10, this.i)) && d(xVar, null, this.i)) { + this.b.k(0); + this.l = -9223372036854775807L; + if (this.f) { + this.b.m(4); + this.b.m(1); + this.b.m(1); + long g = (((long) this.b.g(i3)) << 30) | ((long) (this.b.g(15) << 15)) | ((long) this.b.g(15)); + this.b.m(1); + if (!this.h && this.g) { + this.b.m(4); + this.b.m(1); + this.b.m(1); + this.b.m(1); + this.e.b((((long) this.b.g(i3)) << 30) | ((long) (this.b.g(15) << 15)) | ((long) this.b.g(15))); + this.h = true; + } + this.l = this.e.b(g); + } + i |= this.k ? 4 : 0; + this.a.f(this.l, i); + e(3); + } + } else if (i6 == i3) { + int a = xVar.a(); + int i8 = this.j; + if (i8 != i2) { + i7 = a - i8; + } + if (i7 > 0) { + a -= i7; + xVar.D(xVar.b + a); + } + this.a.b(xVar); + int i9 = this.j; + if (i9 != i2) { + int i10 = i9 - a; + this.j = i10; + if (i10 == 0) { + this.a.d(); + e(1); + } + } + } else { + throw new IllegalStateException(); + } + } else if (d(xVar, this.b.a, 9)) { + this.b.k(0); + int g2 = this.b.g(24); + if (g2 != 1) { + a.d0(41, "Unexpected start code prefix: ", g2, "PesReader"); + this.j = -1; + z2 = false; + } else { + this.b.m(8); + int g3 = this.b.g(16); + this.b.m(5); + this.k = this.b.f(); + this.b.m(2); + this.f = this.b.f(); + this.g = this.b.f(); + this.b.m(6); + int g4 = this.b.g(8); + this.i = g4; + if (g3 == 0) { + this.j = -1; + } else { + int i11 = ((g3 + 6) - 9) - g4; + this.j = i11; + if (i11 < 0) { + a.d0(47, "Found negative packet payload size: ", i11, "PesReader"); + this.j = -1; + } + } + z2 = true; + } + e(z2 ? 2 : 0); + } + } else { + xVar.F(xVar.a()); + } + i2 = -1; + i3 = 3; + } + } + + @Override // c.i.a.c.x2.k0.i0 + public final void c() { + this.f1027c = 0; + this.d = 0; + this.h = false; + this.a.c(); + } + + public final boolean d(x xVar, @Nullable byte[] bArr, int i) { + int min = Math.min(xVar.a(), i - this.d); + if (min <= 0) { + return true; + } + if (bArr == null) { + xVar.F(min); + } else { + System.arraycopy(xVar.a, xVar.b, bArr, this.d, min); + xVar.b += min; + } + int i2 = this.d + min; + this.d = i2; + return i2 == i; + } + + public final void e(int i) { + this.f1027c = i; + this.d = 0; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/k0/z.java b/app/src/main/java/c/i/a/c/x2/k0/z.java new file mode 100644 index 0000000000..7e19105514 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/k0/z.java @@ -0,0 +1,104 @@ +package c.i.a.c.x2.k0; + +import c.i.a.c.f3.d0; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import c.i.a.c.x2.a; +import c.i.a.c.x2.i; +import java.io.IOException; +/* compiled from: PsBinarySearchSeeker */ +public final class z extends c.i.a.c.x2.a { + + /* compiled from: PsBinarySearchSeeker */ + public static final class b implements a.f { + public final d0 a; + public final x b = new x(); + + public b(d0 d0Var, a aVar) { + this.a = d0Var; + } + + @Override // c.i.a.c.x2.a.f + public void a() { + this.b.B(e0.f); + } + + @Override // c.i.a.c.x2.a.f + public a.e b(i iVar, long j) throws IOException { + int g; + long position = iVar.getPosition(); + int min = (int) Math.min(20000L, iVar.b() - position); + this.b.A(min); + iVar.o(this.b.a, 0, min); + x xVar = this.b; + int i = -1; + long j2 = -9223372036854775807L; + int i2 = -1; + while (xVar.a() >= 4) { + if (z.g(xVar.a, xVar.b) != 442) { + xVar.F(1); + } else { + xVar.F(4); + long c2 = a0.c(xVar); + if (c2 != -9223372036854775807L) { + long b = this.a.b(c2); + if (b > j) { + return j2 == -9223372036854775807L ? a.e.a(b, position) : a.e.b(position + ((long) i2)); + } + if (100000 + b > j) { + return a.e.b(position + ((long) xVar.b)); + } + i2 = xVar.b; + j2 = b; + } + int i3 = xVar.f792c; + if (xVar.a() >= 10) { + xVar.F(9); + int t = xVar.t() & 7; + if (xVar.a() >= t) { + xVar.F(t); + if (xVar.a() >= 4) { + if (z.g(xVar.a, xVar.b) == 443) { + xVar.F(4); + int y2 = xVar.y(); + if (xVar.a() < y2) { + xVar.E(i3); + } else { + xVar.F(y2); + } + } + while (true) { + if (xVar.a() < 4 || (g = z.g(xVar.a, xVar.b)) == 442 || g == 441 || (g >>> 8) != 1) { + break; + } + xVar.F(4); + if (xVar.a() < 2) { + xVar.E(i3); + break; + } + xVar.E(Math.min(xVar.f792c, xVar.b + xVar.y())); + } + } else { + xVar.E(i3); + } + } else { + xVar.E(i3); + } + } else { + xVar.E(i3); + } + i = xVar.b; + } + } + return j2 != -9223372036854775807L ? a.e.c(j2, position + ((long) i)) : a.e.a; + } + } + + public z(d0 d0Var, long j, long j2) { + super(new a.b(), new b(d0Var, null), j, 0, j + 1, 0, j2, 188, 1000); + } + + public static int g(byte[] bArr, int i) { + return (bArr[i + 3] & 255) | ((bArr[i] & 255) << 24) | ((bArr[i + 1] & 255) << 16) | ((bArr[i + 2] & 255) << 8); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/l.java b/app/src/main/java/c/i/a/c/x2/l.java new file mode 100644 index 0000000000..b8c7a9ee98 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/l.java @@ -0,0 +1,11 @@ +package c.i.a.c.x2; + +import android.net.Uri; +import java.util.List; +import java.util.Map; +/* compiled from: ExtractorsFactory */ +public interface l { + h[] a(); + + h[] b(Uri uri, Map> map); +} diff --git a/app/src/main/java/c/i/a/c/x2/l0/a.java b/app/src/main/java/c/i/a/c/x2/l0/a.java new file mode 100644 index 0000000000..32b758b74c --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/l0/a.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.l0; + +import android.net.Uri; +import c.i.a.c.x2.h; +import c.i.a.c.x2.k; +import c.i.a.c.x2.l; +import java.util.Map; +/* compiled from: lambda */ +public final /* synthetic */ class a implements l { + public static final /* synthetic */ a a = new a(); + + @Override // c.i.a.c.x2.l + public final h[] a() { + return new h[]{new b()}; + } + + @Override // c.i.a.c.x2.l + public /* synthetic */ h[] b(Uri uri, Map map) { + return k.a(this, uri, map); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/l0/b.java b/app/src/main/java/c/i/a/c/x2/l0/b.java new file mode 100644 index 0000000000..dd081b2209 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/l0/b.java @@ -0,0 +1,380 @@ +package c.i.a.c.x2.l0; + +import android.util.Log; +import android.util.Pair; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import c.i.a.c.x2.h; +import c.i.a.c.x2.i; +import c.i.a.c.x2.j; +import c.i.a.c.x2.s; +import c.i.a.c.x2.w; +import com.google.android.exoplayer2.ParserException; +import java.io.IOException; +import java.util.Objects; +/* compiled from: WavExtractor */ +public final class b implements h { + public j a; + public w b; + + /* renamed from: c reason: collision with root package name */ + public int f1028c = 0; + public AbstractC0098b d; + public int e = -1; + public long f = -1; + + /* compiled from: WavExtractor */ + public static final class a implements AbstractC0098b { + public static final int[] a = {-1, -1, -1, -1, 2, 4, 6, 8, -1, -1, -1, -1, 2, 4, 6, 8}; + public static final int[] b = {7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 19, 21, 23, 25, 28, 31, 34, 37, 41, 45, 50, 55, 60, 66, 73, 80, 88, 97, 107, 118, 130, 143, 157, 173, 190, 209, 230, 253, 279, 307, 337, 371, 408, 449, 494, 544, 598, 658, 724, 796, 876, 963, 1060, 1166, 1282, 1411, 1552, 1707, 1878, 2066, 2272, 2499, 2749, 3024, 3327, 3660, 4026, 4428, 4871, 5358, 5894, 6484, 7132, 7845, 8630, 9493, 10442, 11487, 12635, 13899, 15289, 16818, 18500, 20350, 22385, 24623, 27086, 29794, 32767}; + + /* renamed from: c reason: collision with root package name */ + public final j f1029c; + public final w d; + public final c e; + public final int f; + public final byte[] g; + public final x h; + public final int i; + public final j1 j; + public int k; + public long l; + public int m; + public long n; + + public a(j jVar, w wVar, c cVar) throws ParserException { + this.f1029c = jVar; + this.d = wVar; + this.e = cVar; + int max = Math.max(1, cVar.f1031c / 10); + this.i = max; + byte[] bArr = cVar.f; + int length = bArr.length; + byte b2 = bArr[0]; + byte b3 = bArr[1]; + int i = ((bArr[3] & 255) << 8) | (bArr[2] & 255); + this.f = i; + int i2 = cVar.b; + int i3 = (((cVar.d - (i2 * 4)) * 8) / (cVar.e * i2)) + 1; + if (i == i3) { + int f = e0.f(max, i); + this.g = new byte[(cVar.d * f)]; + this.h = new x(i * 2 * i2 * f); + int i4 = cVar.f1031c; + int i5 = ((cVar.d * i4) * 8) / i; + j1.b bVar = new j1.b(); + bVar.k = "audio/raw"; + bVar.f = i5; + bVar.g = i5; + bVar.l = max * 2 * i2; + bVar.f825x = cVar.b; + bVar.f826y = i4; + bVar.f827z = 2; + this.j = bVar.a(); + return; + } + throw ParserException.a(c.d.b.a.a.g(56, "Expected frames per block: ", i3, "; got: ", i), null); + } + + @Override // c.i.a.c.x2.l0.b.AbstractC0098b + public void a(long j) { + this.k = 0; + this.l = j; + this.m = 0; + this.n = 0; + } + + @Override // c.i.a.c.x2.l0.b.AbstractC0098b + public void b(int i, long j) { + this.f1029c.a(new e(this.e, this.f, (long) i, j)); + this.d.e(this.j); + } + + /* JADX ERROR: JadxOverflowException in pass: RegionMakerVisitor + jadx.core.utils.exceptions.JadxOverflowException: Regions count limit reached + at jadx.core.utils.ErrorsCounter.addError(ErrorsCounter.java:57) + at jadx.core.utils.ErrorsCounter.error(ErrorsCounter.java:31) + at jadx.core.dex.attributes.nodes.NotificationAttrNode.addError(NotificationAttrNode.java:15) + */ + /* JADX WARNING: Removed duplicated region for block: B:41:0x0049 A[ADDED_TO_REGION, EDGE_INSN: B:41:0x0049->B:12:0x0049 ?: BREAK , SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:6:0x002b */ + @Override // c.i.a.c.x2.l0.b.AbstractC0098b + public boolean c(c.i.a.c.x2.i r19, long r20) throws java.io.IOException { + /* + // Method dump skipped, instructions count: 364 + */ + throw new UnsupportedOperationException("Method not decompiled: c.i.a.c.x2.l0.b.a.c(c.i.a.c.x2.i, long):boolean"); + } + + public final int d(int i) { + return i / (this.e.b * 2); + } + + public final void e(int i) { + long F = this.l + e0.F(this.n, 1000000, (long) this.e.f1031c); + int i2 = i * 2 * this.e.b; + this.d.d(F, 1, i2, this.m - i2, null); + this.n += (long) i; + this.m -= i2; + } + } + + /* compiled from: WavExtractor */ + /* renamed from: c.i.a.c.x2.l0.b$b reason: collision with other inner class name */ + public interface AbstractC0098b { + void a(long j); + + void b(int i, long j) throws ParserException; + + boolean c(i iVar, long j) throws IOException; + } + + /* compiled from: WavExtractor */ + public static final class c implements AbstractC0098b { + public final j a; + public final w b; + + /* renamed from: c reason: collision with root package name */ + public final c f1030c; + public final j1 d; + public final int e; + public long f; + public int g; + public long h; + + public c(j jVar, w wVar, c cVar, String str, int i) throws ParserException { + this.a = jVar; + this.b = wVar; + this.f1030c = cVar; + int i2 = (cVar.b * cVar.e) / 8; + int i3 = cVar.d; + if (i3 == i2) { + int i4 = cVar.f1031c * i2; + int i5 = i4 * 8; + int max = Math.max(i2, i4 / 10); + this.e = max; + j1.b bVar = new j1.b(); + bVar.k = str; + bVar.f = i5; + bVar.g = i5; + bVar.l = max; + bVar.f825x = cVar.b; + bVar.f826y = cVar.f1031c; + bVar.f827z = i; + this.d = bVar.a(); + return; + } + throw ParserException.a(c.d.b.a.a.g(50, "Expected block size: ", i2, "; got: ", i3), null); + } + + @Override // c.i.a.c.x2.l0.b.AbstractC0098b + public void a(long j) { + this.f = j; + this.g = 0; + this.h = 0; + } + + @Override // c.i.a.c.x2.l0.b.AbstractC0098b + public void b(int i, long j) { + this.a.a(new e(this.f1030c, 1, (long) i, j)); + this.b.e(this.d); + } + + @Override // c.i.a.c.x2.l0.b.AbstractC0098b + public boolean c(i iVar, long j) throws IOException { + int i; + int i2; + int i3; + long j2 = j; + while (true) { + i = (j2 > 0 ? 1 : (j2 == 0 ? 0 : -1)); + if (i <= 0 || (i2 = this.g) >= (i3 = this.e)) { + break; + } + int b = this.b.b(iVar, (int) Math.min((long) (i3 - i2), j2), true); + if (b == -1) { + j2 = 0; + } else { + this.g += b; + j2 -= (long) b; + } + } + c cVar = this.f1030c; + int i4 = cVar.d; + int i5 = this.g / i4; + if (i5 > 0) { + int i6 = i5 * i4; + int i7 = this.g - i6; + this.b.d(this.f + e0.F(this.h, 1000000, (long) cVar.f1031c), 1, i6, i7, null); + this.h += (long) i5; + this.g = i7; + } + return i <= 0; + } + } + + static { + a aVar = a.a; + } + + @Override // c.i.a.c.x2.h + public boolean b(i iVar) throws IOException { + return d.r(iVar); + } + + /* JADX WARNING: Removed duplicated region for block: B:63:0x01c0 */ + /* JADX WARNING: Removed duplicated region for block: B:66:0x01d8 */ + @Override // c.i.a.c.x2.h + public int e(i iVar, s sVar) throws IOException { + byte[] bArr; + int i; + int i2; + d.H(this.b); + int i3 = e0.a; + int i4 = this.f1028c; + boolean z2 = true; + if (i4 == 0) { + d.D(iVar.getPosition() == 0); + int i5 = this.e; + if (i5 != -1) { + iVar.l(i5); + this.f1028c = 3; + } else if (d.r(iVar)) { + iVar.l((int) (iVar.f() - iVar.getPosition())); + this.f1028c = 1; + } else { + throw ParserException.a("Unsupported or unrecognized wav file type.", null); + } + return 0; + } else if (i4 == 1) { + x xVar = new x(16); + d a2 = d.a(iVar, xVar); + while (a2.a != 1718449184) { + iVar.l(((int) a2.b) + 8); + a2 = d.a(iVar, xVar); + } + d.D(a2.b >= 16); + iVar.o(xVar.a, 0, 16); + xVar.E(0); + int l = xVar.l(); + int l2 = xVar.l(); + int k = xVar.k(); + int k2 = xVar.k(); + int l3 = xVar.l(); + int l4 = xVar.l(); + int i6 = ((int) a2.b) - 16; + if (i6 > 0) { + bArr = new byte[i6]; + iVar.o(bArr, 0, i6); + } else { + bArr = e0.f; + } + iVar.l((int) (iVar.f() - iVar.getPosition())); + c cVar = new c(l, l2, k, k2, l3, l4, bArr); + if (l == 17) { + this.d = new a(this.a, this.b, cVar); + } else if (l == 6) { + this.d = new c(this.a, this.b, cVar, "audio/g711-alaw", -1); + } else if (l == 7) { + this.d = new c(this.a, this.b, cVar, "audio/g711-mlaw", -1); + } else { + if (l != 1) { + if (l == 3) { + i2 = l4 == 32 ? 4 : 0; + i = i2; + if (i != 0) { + } + } else if (l != 65534) { + i = 0; + if (i != 0) { + this.d = new c(this.a, this.b, cVar, "audio/raw", i); + } else { + StringBuilder sb = new StringBuilder(40); + sb.append("Unsupported WAV format type: "); + sb.append(l); + throw ParserException.b(sb.toString()); + } + } + } + i2 = e0.r(l4); + i = i2; + if (i != 0) { + } + } + this.f1028c = 2; + return 0; + } else if (i4 == 2) { + iVar.k(); + x xVar2 = new x(8); + d a3 = d.a(iVar, xVar2); + while (true) { + int i7 = a3.a; + if (i7 != 1684108385) { + c.d.b.a.a.d0(39, "Ignoring unknown WAV chunk: ", i7, "WavHeaderReader"); + long j = a3.b + 8; + if (j <= 2147483647L) { + iVar.l((int) j); + a3 = d.a(iVar, xVar2); + } else { + int i8 = a3.a; + StringBuilder sb2 = new StringBuilder(51); + sb2.append("Chunk is too large (~2GB+) to skip; id: "); + sb2.append(i8); + throw ParserException.b(sb2.toString()); + } + } else { + iVar.l(8); + long position = iVar.getPosition(); + long j2 = a3.b + position; + long b = iVar.b(); + if (b != -1 && j2 > b) { + StringBuilder P = c.d.b.a.a.P(69, "Data exceeds input length: ", j2, ", "); + P.append(b); + Log.w("WavHeaderReader", P.toString()); + j2 = b; + } + Pair create = Pair.create(Long.valueOf(position), Long.valueOf(j2)); + this.e = ((Long) create.first).intValue(); + this.f = ((Long) create.second).longValue(); + AbstractC0098b bVar = this.d; + Objects.requireNonNull(bVar); + bVar.b(this.e, this.f); + this.f1028c = 3; + return 0; + } + } + } else if (i4 == 3) { + if (this.f == -1) { + z2 = false; + } + d.D(z2); + AbstractC0098b bVar2 = this.d; + Objects.requireNonNull(bVar2); + return bVar2.c(iVar, this.f - iVar.getPosition()) ? -1 : 0; + } else { + throw new IllegalStateException(); + } + } + + @Override // c.i.a.c.x2.h + public void f(j jVar) { + this.a = jVar; + this.b = jVar.p(0, 1); + jVar.j(); + } + + @Override // c.i.a.c.x2.h + public void g(long j, long j2) { + this.f1028c = j == 0 ? 0 : 3; + AbstractC0098b bVar = this.d; + if (bVar != null) { + bVar.a(j2); + } + } + + @Override // c.i.a.c.x2.h + public void release() { + } +} diff --git a/app/src/main/java/c/i/a/c/x2/l0/c.java b/app/src/main/java/c/i/a/c/x2/l0/c.java new file mode 100644 index 0000000000..5848144868 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/l0/c.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.l0; +/* compiled from: WavFormat */ +public final class c { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f1031c; + public final int d; + public final int e; + public final byte[] f; + + public c(int i, int i2, int i3, int i4, int i5, int i6, byte[] bArr) { + this.a = i; + this.b = i2; + this.f1031c = i3; + this.d = i5; + this.e = i6; + this.f = bArr; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/l0/d.java b/app/src/main/java/c/i/a/c/x2/l0/d.java new file mode 100644 index 0000000000..4e3a4c3cae --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/l0/d.java @@ -0,0 +1,21 @@ +package c.i.a.c.x2.l0; + +import c.i.a.c.f3.x; +import c.i.a.c.x2.i; +import java.io.IOException; +/* compiled from: WavHeaderReader */ +public final class d { + public final int a; + public final long b; + + public d(int i, long j) { + this.a = i; + this.b = j; + } + + public static d a(i iVar, x xVar) throws IOException { + iVar.o(xVar.a, 0, 8); + xVar.E(0); + return new d(xVar.f(), xVar.j()); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/l0/e.java b/app/src/main/java/c/i/a/c/x2/l0/e.java new file mode 100644 index 0000000000..a2e44d6c0f --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/l0/e.java @@ -0,0 +1,51 @@ +package c.i.a.c.x2.l0; + +import c.i.a.c.f3.e0; +import c.i.a.c.x2.t; +import c.i.a.c.x2.u; +/* compiled from: WavSeekMap */ +public final class e implements t { + public final c a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final long f1032c; + public final long d; + public final long e; + + public e(c cVar, int i, long j, long j2) { + this.a = cVar; + this.b = i; + this.f1032c = j; + long j3 = (j2 - j) / ((long) cVar.d); + this.d = j3; + this.e = b(j3); + } + + public final long b(long j) { + return e0.F(j * ((long) this.b), 1000000, (long) this.a.f1031c); + } + + @Override // c.i.a.c.x2.t + public boolean c() { + return true; + } + + @Override // c.i.a.c.x2.t + public t.a h(long j) { + long i = e0.i((((long) this.a.f1031c) * j) / (((long) this.b) * 1000000), 0, this.d - 1); + long j2 = (((long) this.a.d) * i) + this.f1032c; + long b = b(i); + u uVar = new u(b, j2); + if (b >= j || i == this.d - 1) { + return new t.a(uVar); + } + long j3 = i + 1; + return new t.a(uVar, new u(b(j3), (((long) this.a.d) * j3) + this.f1032c)); + } + + @Override // c.i.a.c.x2.t + public long i() { + return this.e; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/m.java b/app/src/main/java/c/i/a/c/x2/m.java new file mode 100644 index 0000000000..1c65a7ed16 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/m.java @@ -0,0 +1,118 @@ +package c.i.a.c.x2; + +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; +/* compiled from: FlacFrameReader */ +public final class m { + + /* compiled from: FlacFrameReader */ + public static final class a { + public long a; + } + + public static boolean a(x xVar, o oVar, boolean z2, a aVar) { + try { + long z3 = xVar.z(); + if (!z2) { + z3 *= (long) oVar.b; + } + aVar.a = z3; + return true; + } catch (NumberFormatException unused) { + return false; + } + } + + /* JADX WARNING: Code restructure failed: missing block: B:43:0x008e, code lost: + if (r7 == r18.f) goto L_0x00ac; + */ + /* JADX WARNING: Code restructure failed: missing block: B:47:0x009b, code lost: + if ((r17.t() * 1000) == r3) goto L_0x00ac; + */ + /* JADX WARNING: Code restructure failed: missing block: B:53:0x00aa, code lost: + if (r4 == r3) goto L_0x00ac; + */ + /* JADX WARNING: Removed duplicated region for block: B:57:0x00b1 */ + /* JADX WARNING: Removed duplicated region for block: B:71:? A[RETURN, SYNTHETIC] */ + public static boolean b(x xVar, o oVar, int i, a aVar) { + boolean z2; + long u = xVar.u(); + long j = u >>> 16; + if (j != ((long) i)) { + return false; + } + boolean z3 = (j & 1) == 1; + int i2 = (int) ((u >> 12) & 15); + int i3 = (int) ((u >> 8) & 15); + int i4 = (int) (15 & (u >> 4)); + int i5 = (int) ((u >> 1) & 7); + boolean z4 = (u & 1) == 1; + if (!(i4 > 7 ? !(i4 > 10 || oVar.g != 2) : i4 == oVar.g - 1)) { + return false; + } + if (!(i5 == 0 || i5 == oVar.i) || z4 || !a(xVar, oVar, z3, aVar)) { + return false; + } + int c2 = c(xVar, i2); + if (!(c2 != -1 && c2 <= oVar.b)) { + return false; + } + int i6 = oVar.e; + if (i3 != 0) { + if (i3 > 11) { + if (i3 != 12) { + if (i3 <= 14) { + int y2 = xVar.y(); + if (i3 == 14) { + y2 *= 10; + } + } + } + } + z2 = false; + if (z2) { + return false; + } + int t = xVar.t(); + int i7 = xVar.b; + byte[] bArr = xVar.a; + int i8 = i7 - 1; + int i9 = e0.a; + int i10 = 0; + for (int i11 = xVar.b; i11 < i8; i11++) { + i10 = e0.l[i10 ^ (bArr[i11] & 255)]; + } + return t == i10; + } + z2 = true; + if (z2) { + } + } + + public static int c(x xVar, int i) { + switch (i) { + case 1: + return 192; + case 2: + case 3: + case 4: + case 5: + return 576 << (i - 2); + case 6: + return xVar.t() + 1; + case 7: + return xVar.y() + 1; + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + return 256 << (i - 8); + default: + return -1; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/n.java b/app/src/main/java/c/i/a/c/x2/n.java new file mode 100644 index 0000000000..46d598040d --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/n.java @@ -0,0 +1,51 @@ +package c.i.a.c.x2; + +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.x2.o; +import c.i.a.c.x2.t; +/* compiled from: FlacSeekTableSeekMap */ +public final class n implements t { + public final o a; + public final long b; + + public n(o oVar, long j) { + this.a = oVar; + this.b = j; + } + + public final u b(long j, long j2) { + return new u((j * 1000000) / ((long) this.a.e), this.b + j2); + } + + @Override // c.i.a.c.x2.t + public boolean c() { + return true; + } + + @Override // c.i.a.c.x2.t + public t.a h(long j) { + d.H(this.a.k); + o oVar = this.a; + o.a aVar = oVar.k; + long[] jArr = aVar.a; + long[] jArr2 = aVar.b; + int e = e0.e(jArr, oVar.g(j), true, false); + long j2 = 0; + long j3 = e == -1 ? 0 : jArr[e]; + if (e != -1) { + j2 = jArr2[e]; + } + u b = b(j3, j2); + if (b.b == j || e == jArr.length - 1) { + return new t.a(b); + } + int i = e + 1; + return new t.a(b, b(jArr[i], jArr2[i])); + } + + @Override // c.i.a.c.x2.t + public long i() { + return this.a.d(); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/o.java b/app/src/main/java/c/i/a/c/x2/o.java new file mode 100644 index 0000000000..b4e44c02c8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/o.java @@ -0,0 +1,184 @@ +package c.i.a.c.x2; + +import android.util.Log; +import androidx.annotation.Nullable; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.w; +import c.i.a.c.j1; +import com.google.android.exoplayer2.metadata.Metadata; +import com.google.android.exoplayer2.metadata.flac.PictureFrame; +import com.google.android.exoplayer2.metadata.flac.VorbisComment; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +/* compiled from: FlacStreamMetadata */ +public final class o { + public final int a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public final int f1033c; + public final int d; + public final int e; + public final int f; + public final int g; + public final int h; + public final int i; + public final long j; + @Nullable + public final a k; + @Nullable + public final Metadata l; + + /* compiled from: FlacStreamMetadata */ + public static class a { + public final long[] a; + public final long[] b; + + public a(long[] jArr, long[] jArr2) { + this.a = jArr; + this.b = jArr2; + } + } + + public o(int i, int i2, int i3, int i4, int i5, int i6, int i7, long j, @Nullable a aVar, @Nullable Metadata metadata) { + this.a = i; + this.b = i2; + this.f1033c = i3; + this.d = i4; + this.e = i5; + this.f = h(i5); + this.g = i6; + this.h = i7; + this.i = c(i7); + this.j = j; + this.k = aVar; + this.l = metadata; + } + + public o(byte[] bArr, int i) { + w wVar = new w(bArr); + wVar.k(i * 8); + this.a = wVar.g(16); + this.b = wVar.g(16); + this.f1033c = wVar.g(24); + this.d = wVar.g(24); + int g = wVar.g(20); + this.e = g; + this.f = h(g); + this.g = wVar.g(3) + 1; + int g2 = wVar.g(5) + 1; + this.h = g2; + this.i = c(g2); + this.j = (e0.L(wVar.g(4)) << 32) | e0.L(wVar.g(32)); + this.k = null; + this.l = null; + } + + @Nullable + public static Metadata a(List list, List list2) { + if (list.isEmpty() && list2.isEmpty()) { + return null; + } + ArrayList arrayList = new ArrayList(); + for (int i = 0; i < list.size(); i++) { + String str = list.get(i); + String[] I = e0.I(str, "="); + if (I.length != 2) { + String valueOf = String.valueOf(str); + Log.w("FlacStreamMetadata", valueOf.length() != 0 ? "Failed to parse Vorbis comment: ".concat(valueOf) : new String("Failed to parse Vorbis comment: ")); + } else { + arrayList.add(new VorbisComment(I[0], I[1])); + } + } + arrayList.addAll(list2); + if (arrayList.isEmpty()) { + return null; + } + return new Metadata(arrayList); + } + + public static int c(int i) { + if (i == 8) { + return 1; + } + if (i == 12) { + return 2; + } + if (i == 16) { + return 4; + } + if (i != 20) { + return i != 24 ? -1 : 6; + } + return 5; + } + + public static int h(int i) { + switch (i) { + case 8000: + return 4; + case 16000: + return 5; + case 22050: + return 6; + case 24000: + return 7; + case 32000: + return 8; + case 44100: + return 9; + case 48000: + return 10; + case 88200: + return 1; + case 96000: + return 11; + case 176400: + return 2; + case 192000: + return 3; + default: + return -1; + } + } + + public o b(@Nullable a aVar) { + return new o(this.a, this.b, this.f1033c, this.d, this.e, this.g, this.h, this.j, aVar, this.l); + } + + public long d() { + long j = this.j; + if (j == 0) { + return -9223372036854775807L; + } + return (j * 1000000) / ((long) this.e); + } + + public j1 e(byte[] bArr, @Nullable Metadata metadata) { + bArr[4] = Byte.MIN_VALUE; + int i = this.d; + if (i <= 0) { + i = -1; + } + Metadata f = f(metadata); + j1.b bVar = new j1.b(); + bVar.k = "audio/flac"; + bVar.l = i; + bVar.f825x = this.g; + bVar.f826y = this.e; + bVar.m = Collections.singletonList(bArr); + bVar.i = f; + return bVar.a(); + } + + @Nullable + public Metadata f(@Nullable Metadata metadata) { + Metadata metadata2 = this.l; + return metadata2 == null ? metadata : metadata == null ? metadata2 : metadata2.a(metadata.i); + } + + public long g(long j) { + return e0.i((j * ((long) this.e)) / 1000000, 0, this.j - 1); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/p.java b/app/src/main/java/c/i/a/c/x2/p.java new file mode 100644 index 0000000000..96cac4d0ad --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/p.java @@ -0,0 +1,62 @@ +package c.i.a.c.x2; + +import c.i.a.c.f3.e0; +import com.google.android.exoplayer2.metadata.Metadata; +import com.google.android.exoplayer2.metadata.id3.CommentFrame; +import com.google.android.exoplayer2.metadata.id3.InternalFrame; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +/* compiled from: GaplessInfoHolder */ +public final class p { + public static final Pattern a = Pattern.compile("^ [0-9a-fA-F]{8} ([0-9a-fA-F]{8}) ([0-9a-fA-F]{8})"); + public int b = -1; + + /* renamed from: c reason: collision with root package name */ + public int f1034c = -1; + + public final boolean a(String str) { + Matcher matcher = a.matcher(str); + if (!matcher.find()) { + return false; + } + try { + String group = matcher.group(1); + int i = e0.a; + int parseInt = Integer.parseInt(group, 16); + int parseInt2 = Integer.parseInt(matcher.group(2), 16); + if (parseInt <= 0 && parseInt2 <= 0) { + return false; + } + this.b = parseInt; + this.f1034c = parseInt2; + return true; + } catch (NumberFormatException unused) { + return false; + } + } + + public boolean b(Metadata metadata) { + int i = 0; + while (true) { + Metadata.Entry[] entryArr = metadata.i; + if (i >= entryArr.length) { + return false; + } + Metadata.Entry entry = entryArr[i]; + if (entry instanceof CommentFrame) { + CommentFrame commentFrame = (CommentFrame) entry; + if ("iTunSMPB".equals(commentFrame.k) && a(commentFrame.l)) { + return true; + } + } else if (entry instanceof InternalFrame) { + InternalFrame internalFrame = (InternalFrame) entry; + if ("com.apple.iTunes".equals(internalFrame.j) && "iTunSMPB".equals(internalFrame.k) && a(internalFrame.l)) { + return true; + } + } else { + continue; + } + i++; + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/q.java b/app/src/main/java/c/i/a/c/x2/q.java new file mode 100644 index 0000000000..10c626c896 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/q.java @@ -0,0 +1,43 @@ +package c.i.a.c.x2; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.x; +import c.i.a.c.z2.k.b; +import com.google.android.exoplayer2.metadata.Metadata; +import java.io.EOFException; +import java.io.IOException; +/* compiled from: Id3Peeker */ +public final class q { + public final x a = new x(10); + + @Nullable + public Metadata a(i iVar, @Nullable b.a aVar) throws IOException { + Metadata metadata = null; + int i = 0; + while (true) { + try { + iVar.o(this.a.a, 0, 10); + this.a.E(0); + if (this.a.v() != 4801587) { + break; + } + this.a.F(3); + int s2 = this.a.s(); + int i2 = s2 + 10; + if (metadata == null) { + byte[] bArr = new byte[i2]; + System.arraycopy(this.a.a, 0, bArr, 0, 10); + iVar.o(bArr, 10, s2); + metadata = new b(aVar).d(bArr, i2); + } else { + iVar.g(s2); + } + i += i2; + } catch (EOFException unused) { + } + } + iVar.k(); + iVar.g(i); + return metadata; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/r.java b/app/src/main/java/c/i/a/c/x2/r.java new file mode 100644 index 0000000000..d5f3f6bf7a --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/r.java @@ -0,0 +1,61 @@ +package c.i.a.c.x2; + +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.x2.t; +/* compiled from: IndexSeekMap */ +public final class r implements t { + public final long[] a; + public final long[] b; + + /* renamed from: c reason: collision with root package name */ + public final long f1035c; + public final boolean d; + + public r(long[] jArr, long[] jArr2, long j) { + d.j(jArr.length == jArr2.length); + int length = jArr2.length; + boolean z2 = length > 0; + this.d = z2; + if (!z2 || jArr2[0] <= 0) { + this.a = jArr; + this.b = jArr2; + } else { + int i = length + 1; + long[] jArr3 = new long[i]; + this.a = jArr3; + long[] jArr4 = new long[i]; + this.b = jArr4; + System.arraycopy(jArr, 0, jArr3, 1, length); + System.arraycopy(jArr2, 0, jArr4, 1, length); + } + this.f1035c = j; + } + + @Override // c.i.a.c.x2.t + public boolean c() { + return this.d; + } + + @Override // c.i.a.c.x2.t + public t.a h(long j) { + if (!this.d) { + return new t.a(u.a); + } + int e = e0.e(this.b, j, true, true); + long[] jArr = this.b; + long j2 = jArr[e]; + long[] jArr2 = this.a; + u uVar = new u(j2, jArr2[e]); + if (j2 == j || e == jArr.length - 1) { + return new t.a(uVar); + } + int i = e + 1; + return new t.a(uVar, new u(jArr[i], jArr2[i])); + } + + @Override // c.i.a.c.x2.t + public long i() { + return this.f1035c; + } +} diff --git a/app/src/main/java/c/i/a/c/x2/s.java b/app/src/main/java/c/i/a/c/x2/s.java new file mode 100644 index 0000000000..8d62244366 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/s.java @@ -0,0 +1,5 @@ +package c.i.a.c.x2; +/* compiled from: PositionHolder */ +public final class s { + public long a; +} diff --git a/app/src/main/java/c/i/a/c/x2/t.java b/app/src/main/java/c/i/a/c/x2/t.java new file mode 100644 index 0000000000..a7b7ae6987 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/t.java @@ -0,0 +1,81 @@ +package c.i.a.c.x2; + +import androidx.annotation.Nullable; +/* compiled from: SeekMap */ +public interface t { + + /* compiled from: SeekMap */ + public static final class a { + public final u a; + public final u b; + + public a(u uVar) { + this.a = uVar; + this.b = uVar; + } + + public a(u uVar, u uVar2) { + this.a = uVar; + this.b = uVar2; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || a.class != obj.getClass()) { + return false; + } + a aVar = (a) obj; + return this.a.equals(aVar.a) && this.b.equals(aVar.b); + } + + public int hashCode() { + return this.b.hashCode() + (this.a.hashCode() * 31); + } + + public String toString() { + String str; + String valueOf = String.valueOf(this.a); + if (this.a.equals(this.b)) { + str = ""; + } else { + String valueOf2 = String.valueOf(this.b); + str = c.d.b.a.a.i(valueOf2.length() + 2, ", ", valueOf2); + } + return c.d.b.a.a.k(c.d.b.a.a.b(str, valueOf.length() + 2), "[", valueOf, str, "]"); + } + } + + /* compiled from: SeekMap */ + public static class b implements t { + public final long a; + public final a b; + + public b(long j, long j2) { + this.a = j; + this.b = new a(j2 == 0 ? u.a : new u(0, j2)); + } + + @Override // c.i.a.c.x2.t + public boolean c() { + return false; + } + + @Override // c.i.a.c.x2.t + public a h(long j) { + return this.b; + } + + @Override // c.i.a.c.x2.t + public long i() { + return this.a; + } + } + + boolean c(); + + a h(long j); + + long i(); +} diff --git a/app/src/main/java/c/i/a/c/x2/u.java b/app/src/main/java/c/i/a/c/x2/u.java new file mode 100644 index 0000000000..b05f8ee4a2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/u.java @@ -0,0 +1,37 @@ +package c.i.a.c.x2; + +import androidx.annotation.Nullable; +import c.d.b.a.a; +/* compiled from: SeekPoint */ +public final class u { + public static final u a = new u(0, 0); + public final long b; + + /* renamed from: c reason: collision with root package name */ + public final long f1036c; + + public u(long j, long j2) { + this.b = j; + this.f1036c = j2; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || u.class != obj.getClass()) { + return false; + } + u uVar = (u) obj; + return this.b == uVar.b && this.f1036c == uVar.f1036c; + } + + public int hashCode() { + return (((int) this.b) * 31) + ((int) this.f1036c); + } + + public String toString() { + long j = this.b; + return a.B(a.P(60, "[timeUs=", j, ", position="), this.f1036c, "]"); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/v.java b/app/src/main/java/c/i/a/c/x2/v.java new file mode 100644 index 0000000000..bcaa876803 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/v.java @@ -0,0 +1,15 @@ +package c.i.a.c.x2; + +import c.i.a.c.e3.h; +import c.i.a.c.f3.x; +import java.io.IOException; +/* compiled from: TrackOutput */ +public final /* synthetic */ class v { + public static int a(w wVar, h hVar, int i, boolean z2) throws IOException { + return wVar.a(hVar, i, z2, 0); + } + + public static void b(w wVar, x xVar, int i) { + wVar.f(xVar, i, 0); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/w.java b/app/src/main/java/c/i/a/c/x2/w.java new file mode 100644 index 0000000000..859754cd09 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/w.java @@ -0,0 +1,55 @@ +package c.i.a.c.x2; + +import androidx.annotation.Nullable; +import c.i.a.c.e3.h; +import c.i.a.c.f3.x; +import c.i.a.c.j1; +import java.io.IOException; +import java.util.Arrays; +/* compiled from: TrackOutput */ +public interface w { + + /* compiled from: TrackOutput */ + public static final class a { + public final int a; + public final byte[] b; + + /* renamed from: c reason: collision with root package name */ + public final int f1037c; + public final int d; + + public a(int i, byte[] bArr, int i2, int i3) { + this.a = i; + this.b = bArr; + this.f1037c = i2; + this.d = i3; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || a.class != obj.getClass()) { + return false; + } + a aVar = (a) obj; + return this.a == aVar.a && this.f1037c == aVar.f1037c && this.d == aVar.d && Arrays.equals(this.b, aVar.b); + } + + public int hashCode() { + return ((((Arrays.hashCode(this.b) + (this.a * 31)) * 31) + this.f1037c) * 31) + this.d; + } + } + + int a(h hVar, int i, boolean z2, int i2) throws IOException; + + int b(h hVar, int i, boolean z2) throws IOException; + + void c(x xVar, int i); + + void d(long j, int i, int i2, int i3, @Nullable a aVar); + + void e(j1 j1Var); + + void f(x xVar, int i, int i2); +} diff --git a/app/src/main/java/c/i/a/c/x2/x.java b/app/src/main/java/c/i/a/c/x2/x.java new file mode 100644 index 0000000000..c51634a5d5 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/x.java @@ -0,0 +1,62 @@ +package c.i.a.c.x2; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import c.i.a.c.x2.w; +import java.io.IOException; +/* compiled from: TrueHdSampleRechunker */ +public final class x { + public final byte[] a = new byte[10]; + public boolean b; + + /* renamed from: c reason: collision with root package name */ + public int f1038c; + public long d; + public int e; + public int f; + public int g; + + public void a(w wVar, @Nullable w.a aVar) { + if (this.f1038c > 0) { + wVar.d(this.d, this.e, this.f, this.g, aVar); + this.f1038c = 0; + } + } + + public void b(w wVar, long j, int i, int i2, int i3, @Nullable w.a aVar) { + d.E(this.g <= i2 + i3, "TrueHD chunk samples must be contiguous in the sample queue."); + if (this.b) { + int i4 = this.f1038c; + int i5 = i4 + 1; + this.f1038c = i5; + if (i4 == 0) { + this.d = j; + this.e = i; + this.f = 0; + } + this.f += i2; + this.g = i3; + if (i5 >= 16) { + a(wVar, aVar); + } + } + } + + public void c(i iVar) throws IOException { + if (!this.b) { + int i = 0; + iVar.o(this.a, 0, 10); + iVar.k(); + byte[] bArr = this.a; + if (bArr[4] == -8 && bArr[5] == 114 && bArr[6] == 111 && (bArr[7] & 254) == 186) { + if ((bArr[7] & 255) == 187) { + i = 1; + } + i = 40 << ((bArr[i != 0 ? (char) '\t' : '\b'] >> 4) & 7); + } + if (i != 0) { + this.b = true; + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/x2/y.java b/app/src/main/java/c/i/a/c/x2/y.java new file mode 100644 index 0000000000..ef454517f9 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/y.java @@ -0,0 +1,57 @@ +package c.i.a.c.x2; + +import c.c.a.a0.d; +/* compiled from: VorbisBitArray */ +public final class y { + public final byte[] a; + public final int b; + + /* renamed from: c reason: collision with root package name */ + public int f1039c; + public int d; + + public y(byte[] bArr) { + this.a = bArr; + this.b = bArr.length; + } + + public boolean a() { + boolean z2 = (((this.a[this.f1039c] & 255) >> this.d) & 1) == 1; + c(1); + return z2; + } + + public int b(int i) { + int i2 = this.f1039c; + int min = Math.min(i, 8 - this.d); + int i3 = i2 + 1; + int i4 = ((this.a[i2] & 255) >> this.d) & (255 >> (8 - min)); + while (min < i) { + i4 |= (this.a[i3] & 255) << min; + min += 8; + i3++; + } + int i5 = i4 & (-1 >>> (32 - i)); + c(i); + return i5; + } + + public void c(int i) { + int i2; + int i3 = i / 8; + int i4 = this.f1039c + i3; + this.f1039c = i4; + int i5 = (i - (i3 * 8)) + this.d; + this.d = i5; + boolean z2 = true; + if (i5 > 7) { + this.f1039c = i4 + 1; + this.d = i5 - 8; + } + int i6 = this.f1039c; + if (i6 < 0 || (i6 >= (i2 = this.b) && !(i6 == i2 && this.d == 0))) { + z2 = false; + } + d.D(z2); + } +} diff --git a/app/src/main/java/c/i/a/c/x2/z.java b/app/src/main/java/c/i/a/c/x2/z.java new file mode 100644 index 0000000000..fdb61cbdf3 --- /dev/null +++ b/app/src/main/java/c/i/a/c/x2/z.java @@ -0,0 +1,9 @@ +package c.i.a.c.x2; +/* compiled from: VorbisUtil */ +public final class z { + public final String[] a; + + public z(String str, String[] strArr, int i) { + this.a = strArr; + } +} diff --git a/app/src/main/java/c/i/a/c/y.java b/app/src/main/java/c/i/a/c/y.java index a0b4ff97fe..96b2b98135 100644 --- a/app/src/main/java/c/i/a/c/y.java +++ b/app/src/main/java/c/i/a/c/y.java @@ -1,41 +1,17 @@ package c.i.a.c; -import c.i.a.c.d2.y; -import c.i.a.c.u1.c1; -import c.i.b.b.u; -import java.util.Objects; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class y implements Runnable { - public final /* synthetic */ z0 i; - public final /* synthetic */ u.a j; - public final /* synthetic */ y.a k; +public final /* synthetic */ class y implements p.a { + public final /* synthetic */ w1 a; - public /* synthetic */ y(z0 z0Var, u.a aVar, y.a aVar2) { - this.i = z0Var; - this.j = aVar; - this.k = aVar2; + public /* synthetic */ y(w1 w1Var) { + this.a = w1Var; } - @Override // java.lang.Runnable - public final void run() { - z0 z0Var = this.i; - u.a aVar = this.j; - y.a aVar2 = this.k; - c1 c1Var = z0Var.f1081c; - u c2 = aVar.c(); - c1.a aVar3 = c1Var.l; - g1 g1Var = c1Var.o; - Objects.requireNonNull(g1Var); - Objects.requireNonNull(aVar3); - aVar3.b = u.n(c2); - if (!c2.isEmpty()) { - aVar3.e = c2.get(0); - Objects.requireNonNull(aVar2); - aVar3.f = aVar2; - } - if (aVar3.d == null) { - aVar3.d = c1.a.b(g1Var, aVar3.b, aVar3.e, aVar3.a); - } - aVar3.d(g1Var.D()); + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((y1.c) obj).s(this.a.g); } } diff --git a/app/src/main/java/c/i/a/c/y0.java b/app/src/main/java/c/i/a/c/y0.java index ec3ee045be..a56c829e95 100644 --- a/app/src/main/java/c/i/a/c/y0.java +++ b/app/src/main/java/c/i/a/c/y0.java @@ -1,52 +1,62 @@ package c.i.a.c; - -import androidx.annotation.Nullable; -import c.i.a.c.d2.y; -import c.i.a.c.i2.f0; -/* compiled from: MediaPeriodInfo */ -public final class y0 { - public final y.a a; +/* compiled from: DefaultLivePlaybackSpeedControl */ +public final class y0 implements m1 { + public final long a; public final long b; /* renamed from: c reason: collision with root package name */ - public final long f1079c; - public final long d; - public final long e; - public final boolean f; - public final boolean g; - public final boolean h; + public final float f1040c; + public long d = -9223372036854775807L; + public long e = -9223372036854775807L; + public long f; + public long g = -9223372036854775807L; + public long h = -9223372036854775807L; + public long i; + public float j; + public float k; + public float l; + public long m; + public long n; + public long o; - public y0(y.a aVar, long j, long j2, long j3, long j4, boolean z2, boolean z3, boolean z4) { - this.a = aVar; - this.b = j; - this.f1079c = j2; - this.d = j3; - this.e = j4; - this.f = z2; - this.g = z3; - this.h = z4; + public y0(float f, float f2, long j, float f3, long j2, long j3, float f4, a aVar) { + this.a = j2; + this.b = j3; + this.f1040c = f4; + this.k = f; + this.j = f2; + this.l = 1.0f; + this.m = -9223372036854775807L; + this.f = -9223372036854775807L; + this.i = -9223372036854775807L; + this.n = -9223372036854775807L; + this.o = -9223372036854775807L; } - public y0 a(long j) { - return j == this.f1079c ? this : new y0(this.a, this.b, j, this.d, this.e, this.f, this.g, this.h); - } - - public y0 b(long j) { - return j == this.b ? this : new y0(this.a, j, this.f1079c, this.d, this.e, this.f, this.g, this.h); - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; + public final void a() { + long j = this.d; + if (j != -9223372036854775807L) { + long j2 = this.e; + if (j2 != -9223372036854775807L) { + j = j2; + } + long j3 = this.g; + if (j3 != -9223372036854775807L && j < j3) { + j = j3; + } + long j4 = this.h; + if (j4 != -9223372036854775807L && j > j4) { + j = j4; + } + } else { + j = -9223372036854775807L; } - if (obj == null || y0.class != obj.getClass()) { - return false; + if (this.f != j) { + this.f = j; + this.i = j; + this.n = -9223372036854775807L; + this.o = -9223372036854775807L; + this.m = -9223372036854775807L; } - y0 y0Var = (y0) obj; - return this.b == y0Var.b && this.f1079c == y0Var.f1079c && this.d == y0Var.d && this.e == y0Var.e && this.f == y0Var.f && this.g == y0Var.g && this.h == y0Var.h && f0.a(this.a, y0Var.a); - } - - public int hashCode() { - return ((((((((((((((this.a.hashCode() + 527) * 31) + ((int) this.b)) * 31) + ((int) this.f1079c)) * 31) + ((int) this.d)) * 31) + ((int) this.e)) * 31) + (this.f ? 1 : 0)) * 31) + (this.g ? 1 : 0)) * 31) + (this.h ? 1 : 0); } } diff --git a/app/src/main/java/c/i/a/c/y1.java b/app/src/main/java/c/i/a/c/y1.java new file mode 100644 index 0000000000..9a27612446 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y1.java @@ -0,0 +1,314 @@ +package c.i.a.c; + +import android.os.Looper; +import android.view.SurfaceView; +import android.view.TextureView; +import androidx.annotation.Nullable; +import c.i.a.c.a3.o0; +import c.i.a.c.f3.n; +import c.i.a.c.g3.y; +import com.google.android.exoplayer2.PlaybackException; +import com.google.android.exoplayer2.metadata.Metadata; +import java.util.Arrays; +import java.util.List; +import java.util.Objects; +/* compiled from: Player */ +public interface y1 { + + /* compiled from: Player */ + public static final class b implements w0 { + public static final b i = new b(new n.b().b(), null); + public final n j; + + /* compiled from: Player */ + public static final class a { + public final n.b a = new n.b(); + + public a a(b bVar) { + n.b bVar2 = this.a; + n nVar = bVar.j; + Objects.requireNonNull(bVar2); + for (int i = 0; i < nVar.c(); i++) { + bVar2.a(nVar.b(i)); + } + return this; + } + + public a b(int i, boolean z2) { + n.b bVar = this.a; + Objects.requireNonNull(bVar); + if (z2) { + c.c.a.a0.d.D(!bVar.b); + bVar.a.append(i, true); + } + return this; + } + + public b c() { + return new b(this.a.b(), null); + } + } + + public b(n nVar, a aVar) { + this.j = nVar; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof b)) { + return false; + } + return this.j.equals(((b) obj).j); + } + + public int hashCode() { + return this.j.hashCode(); + } + } + + /* compiled from: Player */ + @Deprecated + public interface c { + void A(p1 p1Var); + + void D(boolean z2); + + void E(y1 y1Var, d dVar); + + @Deprecated + void H(boolean z2, int i); + + void L(int i); + + void M(@Nullable o1 o1Var, int i); + + void W(boolean z2, int i); + + @Deprecated + void Y(o0 o0Var, c.i.a.c.c3.n nVar); + + @Deprecated + void a(); + + void b0(x1 x1Var); + + void f0(@Nullable PlaybackException playbackException); + + void g(f fVar, f fVar2, int i); + + void h(int i); + + @Deprecated + void i(boolean z2); + + @Deprecated + void j(int i); + + void j0(boolean z2); + + void p(p2 p2Var); + + void r(boolean z2); + + void s(PlaybackException playbackException); + + void t(b bVar); + + void v(o2 o2Var, int i); + + void y(int i); + } + + /* compiled from: Player */ + public static final class d { + public final n a; + + public d(n nVar) { + this.a = nVar; + } + + public boolean a(int... iArr) { + n nVar = this.a; + Objects.requireNonNull(nVar); + for (int i : iArr) { + if (nVar.a(i)) { + return true; + } + } + return false; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (!(obj instanceof d)) { + return false; + } + return this.a.equals(((d) obj).a); + } + + public int hashCode() { + return this.a.hashCode(); + } + } + + /* compiled from: Player */ + public interface e extends c { + void G(int i, boolean z2); + + void a0(int i, int i2); + + void b(Metadata metadata); + + void c(); + + void d(boolean z2); + + void e(List list); + + void f(y yVar); + + void w(float f); + + void z(c1 c1Var); + } + + /* compiled from: Player */ + public static final class f implements w0 { + @Nullable + public final Object i; + public final int j; + @Nullable + public final o1 k; + @Nullable + public final Object l; + public final int m; + public final long n; + public final long o; + public final int p; + public final int q; + + public f(@Nullable Object obj, int i, @Nullable o1 o1Var, @Nullable Object obj2, int i2, long j, long j2, int i3, int i4) { + this.i = obj; + this.j = i; + this.k = o1Var; + this.l = obj2; + this.m = i2; + this.n = j; + this.o = j2; + this.p = i3; + this.q = i4; + } + + public boolean equals(@Nullable Object obj) { + if (this == obj) { + return true; + } + if (obj == null || f.class != obj.getClass()) { + return false; + } + f fVar = (f) obj; + return this.j == fVar.j && this.m == fVar.m && this.n == fVar.n && this.o == fVar.o && this.p == fVar.p && this.q == fVar.q && c.i.a.f.e.o.f.N(this.i, fVar.i) && c.i.a.f.e.o.f.N(this.l, fVar.l) && c.i.a.f.e.o.f.N(this.k, fVar.k); + } + + public int hashCode() { + return Arrays.hashCode(new Object[]{this.i, Integer.valueOf(this.j), this.k, this.l, Integer.valueOf(this.m), Long.valueOf(this.n), Long.valueOf(this.o), Integer.valueOf(this.p), Integer.valueOf(this.q)}); + } + } + + List A(); + + int B(); + + int C(); + + boolean D(int i); + + void E(int i); + + void F(@Nullable SurfaceView surfaceView); + + int G(); + + p2 H(); + + int I(); + + long J(); + + o2 K(); + + Looper L(); + + boolean M(); + + long N(); + + void O(); + + void P(); + + void Q(@Nullable TextureView textureView); + + void R(); + + p1 S(); + + long T(); + + long U(); + + void a(); + + x1 c(); + + void d(); + + void e(); + + boolean f(); + + long g(); + + void h(int i, long j); + + b i(); + + boolean j(); + + void k(boolean z2); + + long l(); + + int m(); + + void n(@Nullable TextureView textureView); + + y o(); + + void p(e eVar); + + int q(); + + void r(@Nullable SurfaceView surfaceView); + + void s(); + + @Nullable + PlaybackException t(); + + void u(boolean z2); + + long v(); + + long w(); + + void x(e eVar); + + int y(); + + boolean z(); +} diff --git a/app/src/main/java/c/i/a/c/y1/a.java b/app/src/main/java/c/i/a/c/y1/a.java deleted file mode 100644 index 581c9716b4..0000000000 --- a/app/src/main/java/c/i/a/c/y1/a.java +++ /dev/null @@ -1,32 +0,0 @@ -package c.i.a.c.y1; - -import androidx.annotation.Nullable; -/* compiled from: DeviceInfo */ -public final class a { - public final int a; - public final int b; - - /* renamed from: c reason: collision with root package name */ - public final int f1080c; - - public a(int i, int i2, int i3) { - this.a = i; - this.b = i2; - this.f1080c = i3; - } - - public boolean equals(@Nullable Object obj) { - if (this == obj) { - return true; - } - if (!(obj instanceof a)) { - return false; - } - a aVar = (a) obj; - return this.a == aVar.a && this.b == aVar.b && this.f1080c == aVar.f1080c; - } - - public int hashCode() { - return ((((527 + this.a) * 31) + this.b) * 31) + this.f1080c; - } -} diff --git a/app/src/main/java/c/i/a/c/y1/b.java b/app/src/main/java/c/i/a/c/y1/b.java deleted file mode 100644 index 9102fc6abd..0000000000 --- a/app/src/main/java/c/i/a/c/y1/b.java +++ /dev/null @@ -1,7 +0,0 @@ -package c.i.a.c.y1; -/* compiled from: DeviceListener */ -public interface b { - void a(); - - void b(); -} diff --git a/app/src/main/java/c/i/a/c/y2/a.java b/app/src/main/java/c/i/a/c/y2/a.java new file mode 100644 index 0000000000..e3808ed9d7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/a.java @@ -0,0 +1,17 @@ +package c.i.a.c.y2; + +import android.os.HandlerThread; +import c.i.b.a.l; +/* compiled from: lambda */ +public final /* synthetic */ class a implements l { + public final /* synthetic */ int i; + + public /* synthetic */ a(int i) { + this.i = i; + } + + @Override // c.i.b.a.l + public final Object get() { + return new HandlerThread(l.l(this.i, "ExoPlayer:MediaCodecAsyncAdapter:")); + } +} diff --git a/app/src/main/java/c/i/a/c/y2/b.java b/app/src/main/java/c/i/a/c/y2/b.java new file mode 100644 index 0000000000..88f6593ab9 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/b.java @@ -0,0 +1,17 @@ +package c.i.a.c.y2; + +import android.os.HandlerThread; +import c.i.b.a.l; +/* compiled from: lambda */ +public final /* synthetic */ class b implements l { + public final /* synthetic */ int i; + + public /* synthetic */ b(int i) { + this.i = i; + } + + @Override // c.i.b.a.l + public final Object get() { + return new HandlerThread(l.l(this.i, "ExoPlayer:MediaCodecQueueingThread:")); + } +} diff --git a/app/src/main/java/c/i/a/c/y2/c.java b/app/src/main/java/c/i/a/c/y2/c.java new file mode 100644 index 0000000000..a94dceb4b7 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/c.java @@ -0,0 +1,24 @@ +package c.i.a.c.y2; + +import android.media.MediaCodec; +import c.i.a.c.g3.r; +import c.i.a.c.y2.t; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class c implements MediaCodec.OnFrameRenderedListener { + public final /* synthetic */ l a; + public final /* synthetic */ t.c b; + + public /* synthetic */ c(l lVar, t.c cVar) { + this.a = lVar; + this.b = cVar; + } + + @Override // android.media.MediaCodec.OnFrameRenderedListener + public final void onFrameRendered(MediaCodec mediaCodec, long j, long j2) { + l lVar = this.a; + t.c cVar = this.b; + Objects.requireNonNull(lVar); + ((r.b) cVar).b(lVar, j, j2); + } +} diff --git a/app/src/main/java/c/i/a/c/y2/d.java b/app/src/main/java/c/i/a/c/y2/d.java new file mode 100644 index 0000000000..c7b53ce0a9 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/d.java @@ -0,0 +1,38 @@ +package c.i.a.c.y2; +/* compiled from: lambda */ +public final /* synthetic */ class d implements Runnable { + public final /* synthetic */ o i; + public final /* synthetic */ Runnable j; + + public /* synthetic */ d(o oVar, Runnable runnable) { + this.i = oVar; + this.j = runnable; + } + + @Override // java.lang.Runnable + public final void run() { + o oVar = this.i; + Runnable runnable = this.j; + synchronized (oVar.a) { + if (!oVar.l) { + long j = oVar.k - 1; + oVar.k = j; + int i = (j > 0 ? 1 : (j == 0 ? 0 : -1)); + if (i <= 0) { + if (i < 0) { + oVar.c(new IllegalStateException()); + } else { + oVar.a(); + try { + runnable.run(); + } catch (IllegalStateException e) { + oVar.c(e); + } catch (Exception e2) { + oVar.c(new IllegalStateException(e2)); + } + } + } + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/y2/e.java b/app/src/main/java/c/i/a/c/y2/e.java new file mode 100644 index 0000000000..660476c0a3 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/e.java @@ -0,0 +1,19 @@ +package c.i.a.c.y2; + +import c.i.a.c.f3.e0; +import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; +import java.util.regex.Pattern; +/* compiled from: lambda */ +public final /* synthetic */ class e implements MediaCodecUtil.f { + public static final /* synthetic */ e a = new e(); + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecUtil.f + public final int a(Object obj) { + Pattern pattern = MediaCodecUtil.a; + String str = ((u) obj).a; + if (str.startsWith("OMX.google") || str.startsWith("c2.android")) { + return 1; + } + return (e0.a >= 26 || !str.equals("OMX.MTK.AUDIO.DECODER.RAW")) ? 0 : -1; + } +} diff --git a/app/src/main/java/c/i/a/c/y2/f.java b/app/src/main/java/c/i/a/c/y2/f.java new file mode 100644 index 0000000000..205c91e991 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/f.java @@ -0,0 +1,14 @@ +package c.i.a.c.y2; + +import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; +import java.util.regex.Pattern; +/* compiled from: lambda */ +public final /* synthetic */ class f implements MediaCodecUtil.f { + public static final /* synthetic */ f a = new f(); + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecUtil.f + public final int a(Object obj) { + Pattern pattern = MediaCodecUtil.a; + return ((u) obj).a.startsWith("OMX.google") ? 1 : 0; + } +} diff --git a/app/src/main/java/c/i/a/c/y2/g.java b/app/src/main/java/c/i/a/c/y2/g.java new file mode 100644 index 0000000000..7f3fdf177d --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/g.java @@ -0,0 +1,21 @@ +package c.i.a.c.y2; + +import c.i.a.c.j1; +import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; +/* compiled from: lambda */ +public final /* synthetic */ class g implements MediaCodecUtil.f { + public final /* synthetic */ j1 a; + + public /* synthetic */ g(j1 j1Var) { + this.a = j1Var; + } + + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecUtil.f + public final int a(Object obj) { + try { + return ((u) obj).e(this.a) ? 1 : 0; + } catch (MediaCodecUtil.DecoderQueryException unused) { + return -1; + } + } +} diff --git a/app/src/main/java/c/i/a/c/y2/h.java b/app/src/main/java/c/i/a/c/y2/h.java new file mode 100644 index 0000000000..c7c6c90d3d --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/h.java @@ -0,0 +1,18 @@ +package c.i.a.c.y2; + +import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; +import java.util.Comparator; +/* compiled from: lambda */ +public final /* synthetic */ class h implements Comparator { + public final /* synthetic */ MediaCodecUtil.f i; + + public /* synthetic */ h(MediaCodecUtil.f fVar) { + this.i = fVar; + } + + @Override // java.util.Comparator + public final int compare(Object obj, Object obj2) { + MediaCodecUtil.f fVar = this.i; + return fVar.a(obj2) - fVar.a(obj); + } +} diff --git a/app/src/main/java/c/i/a/c/y2/i.java b/app/src/main/java/c/i/a/c/y2/i.java new file mode 100644 index 0000000000..1fe18cbe95 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/i.java @@ -0,0 +1,24 @@ +package c.i.a.c.y2; + +import android.media.MediaCodec; +import c.i.a.c.g3.r; +import c.i.a.c.y2.t; +import java.util.Objects; +/* compiled from: lambda */ +public final /* synthetic */ class i implements MediaCodec.OnFrameRenderedListener { + public final /* synthetic */ w a; + public final /* synthetic */ t.c b; + + public /* synthetic */ i(w wVar, t.c cVar) { + this.a = wVar; + this.b = cVar; + } + + @Override // android.media.MediaCodec.OnFrameRenderedListener + public final void onFrameRendered(MediaCodec mediaCodec, long j, long j2) { + w wVar = this.a; + t.c cVar = this.b; + Objects.requireNonNull(wVar); + ((r.b) cVar).b(wVar, j, j2); + } +} diff --git a/app/src/main/java/c/i/a/c/y2/j.java b/app/src/main/java/c/i/a/c/y2/j.java new file mode 100644 index 0000000000..49eb9475d5 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/j.java @@ -0,0 +1,16 @@ +package c.i.a.c.y2; + +import android.media.MediaCodec; +/* compiled from: lambda */ +public final /* synthetic */ class j implements Runnable { + public final /* synthetic */ MediaCodec i; + + public /* synthetic */ j(MediaCodec mediaCodec) { + this.i = mediaCodec; + } + + @Override // java.lang.Runnable + public final void run() { + this.i.start(); + } +} diff --git a/app/src/main/java/c/i/a/c/y2/k.java b/app/src/main/java/c/i/a/c/y2/k.java new file mode 100644 index 0000000000..9c84591054 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/k.java @@ -0,0 +1,13 @@ +package c.i.a.c.y2; + +import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; +import java.util.List; +/* compiled from: lambda */ +public final /* synthetic */ class k implements v { + public static final /* synthetic */ k b = new k(); + + @Override // c.i.a.c.y2.v + public final List a(String str, boolean z2, boolean z3) { + return MediaCodecUtil.e(str, z2, z3); + } +} diff --git a/app/src/main/java/c/i/a/c/y2/l.java b/app/src/main/java/c/i/a/c/y2/l.java new file mode 100644 index 0000000000..4bd3049c31 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/l.java @@ -0,0 +1,365 @@ +package c.i.a.c.y2; + +import android.media.MediaCodec; +import android.media.MediaCrypto; +import android.media.MediaFormat; +import android.os.Bundle; +import android.os.Handler; +import android.os.HandlerThread; +import android.view.Surface; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.v2.c; +import c.i.a.c.y2.n; +import c.i.a.c.y2.t; +import java.io.IOException; +import java.nio.ByteBuffer; +import java.util.Objects; +/* compiled from: AsynchronousMediaCodecAdapter */ +@RequiresApi(23) +public final class l implements t { + public final MediaCodec a; + public final o b; + + /* renamed from: c reason: collision with root package name */ + public final n f1041c; + public final boolean d; + public boolean e; + public int f = 0; + @Nullable + public Surface g; + + /* compiled from: AsynchronousMediaCodecAdapter */ + public static final class b implements t.b { + public final c.i.b.a.l a; + public final c.i.b.a.l b; + + public b(int i, boolean z2) { + a aVar = new a(i); + b bVar = new b(i); + this.a = aVar; + this.b = bVar; + } + + /* JADX WARNING: Removed duplicated region for block: B:18:0x0057 */ + /* JADX WARNING: Removed duplicated region for block: B:20:0x005d */ + /* renamed from: b */ + public l a(t.a aVar) throws IOException { + Exception e; + MediaCodec mediaCodec; + l lVar; + String str = aVar.a.a; + l lVar2 = null; + try { + String valueOf = String.valueOf(str); + d.f(valueOf.length() != 0 ? "createCodec:".concat(valueOf) : new String("createCodec:")); + mediaCodec = MediaCodec.createByCodecName(str); + try { + lVar = new l(mediaCodec, this.a.get(), this.b.get(), false, null); + } catch (Exception e2) { + e = e2; + if (lVar2 != null) { + lVar2.release(); + } else if (mediaCodec != null) { + mediaCodec.release(); + } + throw e; + } + try { + d.c0(); + l.k(lVar, aVar.b, aVar.d, aVar.e, 0, false); + return lVar; + } catch (Exception e3) { + e = e3; + lVar2 = lVar; + if (lVar2 != null) { + } + throw e; + } + } catch (Exception e4) { + e = e4; + mediaCodec = null; + if (lVar2 != null) { + } + throw e; + } + } + } + + public l(MediaCodec mediaCodec, HandlerThread handlerThread, HandlerThread handlerThread2, boolean z2, a aVar) { + this.a = mediaCodec; + this.b = new o(handlerThread); + this.f1041c = new n(mediaCodec, handlerThread2); + this.d = z2; + } + + public static void k(l lVar, MediaFormat mediaFormat, Surface surface, MediaCrypto mediaCrypto, int i, boolean z2) { + o oVar = lVar.b; + MediaCodec mediaCodec = lVar.a; + d.D(oVar.f1044c == null); + oVar.b.start(); + Handler handler = new Handler(oVar.b.getLooper()); + mediaCodec.setCallback(oVar, handler); + oVar.f1044c = handler; + d.f("configureCodec"); + lVar.a.configure(mediaFormat, surface, mediaCrypto, i); + d.c0(); + if (z2) { + lVar.g = lVar.a.createInputSurface(); + } + n nVar = lVar.f1041c; + if (!nVar.h) { + nVar.d.start(); + nVar.e = new m(nVar, nVar.d.getLooper()); + nVar.h = true; + } + d.f("startCodec"); + lVar.a.start(); + d.c0(); + lVar.f = 1; + } + + public static String l(int i, String str) { + StringBuilder sb = new StringBuilder(str); + if (i == 1) { + sb.append("Audio"); + } else if (i == 2) { + sb.append("Video"); + } else { + sb.append("Unknown("); + sb.append(i); + sb.append(")"); + } + return sb.toString(); + } + + @Override // c.i.a.c.y2.t + public boolean a() { + return false; + } + + @Override // c.i.a.c.y2.t + public void b(int i, int i2, c cVar, long j, int i3) { + n nVar = this.f1041c; + nVar.f(); + n.a e = n.e(); + e.a = i; + e.b = i2; + e.f1043c = 0; + e.e = j; + e.f = i3; + MediaCodec.CryptoInfo cryptoInfo = e.d; + cryptoInfo.numSubSamples = cVar.f; + cryptoInfo.numBytesOfClearData = n.c(cVar.d, cryptoInfo.numBytesOfClearData); + cryptoInfo.numBytesOfEncryptedData = n.c(cVar.e, cryptoInfo.numBytesOfEncryptedData); + byte[] b2 = n.b(cVar.b, cryptoInfo.key); + Objects.requireNonNull(b2); + cryptoInfo.key = b2; + byte[] b3 = n.b(cVar.a, cryptoInfo.iv); + Objects.requireNonNull(b3); + cryptoInfo.iv = b3; + cryptoInfo.mode = cVar.f907c; + if (e0.a >= 24) { + cryptoInfo.setPattern(new MediaCodec.CryptoInfo.Pattern(cVar.g, cVar.h)); + } + nVar.e.obtainMessage(1, e).sendToTarget(); + } + + @Override // c.i.a.c.y2.t + public void c(int i, long j) { + this.a.releaseOutputBuffer(i, j); + } + + @Override // c.i.a.c.y2.t + public int d() { + int i; + o oVar = this.b; + synchronized (oVar.a) { + i = -1; + if (!oVar.b()) { + IllegalStateException illegalStateException = oVar.m; + if (illegalStateException == null) { + MediaCodec.CodecException codecException = oVar.j; + if (codecException == null) { + s sVar = oVar.d; + if (!(sVar.f1047c == 0)) { + i = sVar.b(); + } + } else { + oVar.j = null; + throw codecException; + } + } else { + oVar.m = null; + throw illegalStateException; + } + } + } + return i; + } + + @Override // c.i.a.c.y2.t + public int e(MediaCodec.BufferInfo bufferInfo) { + int i; + o oVar = this.b; + synchronized (oVar.a) { + i = -1; + if (!oVar.b()) { + IllegalStateException illegalStateException = oVar.m; + if (illegalStateException == null) { + MediaCodec.CodecException codecException = oVar.j; + if (codecException == null) { + s sVar = oVar.e; + if (!(sVar.f1047c == 0)) { + i = sVar.b(); + if (i >= 0) { + d.H(oVar.h); + MediaCodec.BufferInfo remove = oVar.f.remove(); + bufferInfo.set(remove.offset, remove.size, remove.presentationTimeUs, remove.flags); + } else if (i == -2) { + oVar.h = oVar.g.remove(); + } + } + } else { + oVar.j = null; + throw codecException; + } + } else { + oVar.m = null; + throw illegalStateException; + } + } + } + return i; + } + + @Override // c.i.a.c.y2.t + public void f(t.c cVar, Handler handler) { + m(); + this.a.setOnFrameRenderedListener(new c(this, cVar), handler); + } + + @Override // c.i.a.c.y2.t + public void flush() { + this.f1041c.d(); + this.a.flush(); + o oVar = this.b; + MediaCodec mediaCodec = this.a; + Objects.requireNonNull(mediaCodec); + j jVar = new j(mediaCodec); + synchronized (oVar.a) { + oVar.k++; + Handler handler = oVar.f1044c; + int i = e0.a; + handler.post(new d(oVar, jVar)); + } + } + + @Override // c.i.a.c.y2.t + public void g(int i) { + m(); + this.a.setVideoScalingMode(i); + } + + @Override // c.i.a.c.y2.t + public MediaFormat getOutputFormat() { + MediaFormat mediaFormat; + o oVar = this.b; + synchronized (oVar.a) { + mediaFormat = oVar.h; + if (mediaFormat == null) { + throw new IllegalStateException(); + } + } + return mediaFormat; + } + + @Override // c.i.a.c.y2.t + @Nullable + public ByteBuffer h(int i) { + return this.a.getInputBuffer(i); + } + + @Override // c.i.a.c.y2.t + public void i(Surface surface) { + m(); + this.a.setOutputSurface(surface); + } + + @Override // c.i.a.c.y2.t + @Nullable + public ByteBuffer j(int i) { + return this.a.getOutputBuffer(i); + } + + public final void m() { + if (this.d) { + try { + this.f1041c.a(); + } catch (InterruptedException e) { + Thread.currentThread().interrupt(); + throw new IllegalStateException(e); + } + } + } + + @Override // c.i.a.c.y2.t + public void queueInputBuffer(int i, int i2, int i3, long j, int i4) { + n nVar = this.f1041c; + nVar.f(); + n.a e = n.e(); + e.a = i; + e.b = i2; + e.f1043c = i3; + e.e = j; + e.f = i4; + Handler handler = nVar.e; + int i5 = e0.a; + handler.obtainMessage(0, e).sendToTarget(); + } + + @Override // c.i.a.c.y2.t + public void release() { + Surface surface; + boolean z2 = true; + try { + if (this.f == 1) { + n nVar = this.f1041c; + if (nVar.h) { + nVar.d(); + nVar.d.quit(); + } + nVar.h = false; + o oVar = this.b; + synchronized (oVar.a) { + oVar.l = true; + oVar.b.quit(); + oVar.a(); + } + } + this.f = 2; + } finally { + surface = this.g; + if (surface != null) { + surface.release(); + } + if (!this.e) { + this.a.release(); + this.e = z2; + } + } + } + + @Override // c.i.a.c.y2.t + public void releaseOutputBuffer(int i, boolean z2) { + this.a.releaseOutputBuffer(i, z2); + } + + @Override // c.i.a.c.y2.t + public void setParameters(Bundle bundle) { + m(); + this.a.setParameters(bundle); + } +} diff --git a/app/src/main/java/c/i/a/c/y2/m.java b/app/src/main/java/c/i/a/c/y2/m.java new file mode 100644 index 0000000000..6c7c7c2c1f --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/m.java @@ -0,0 +1,62 @@ +package c.i.a.c.y2; + +import android.media.MediaCodec; +import android.os.Handler; +import android.os.Looper; +import android.os.Message; +import c.i.a.c.y2.n; +import java.util.ArrayDeque; +import java.util.Objects; +/* compiled from: AsynchronousMediaCodecBufferEnqueuer */ +public class m extends Handler { + public final /* synthetic */ n a; + + /* JADX INFO: super call moved to the top of the method (can break code semantics) */ + public m(n nVar, Looper looper) { + super(looper); + this.a = nVar; + } + + @Override // android.os.Handler + public void handleMessage(Message message) { + n.a aVar; + n nVar = this.a; + Objects.requireNonNull(nVar); + int i = message.what; + if (i == 0) { + aVar = (n.a) message.obj; + try { + nVar.f1042c.queueInputBuffer(aVar.a, aVar.b, aVar.f1043c, aVar.e, aVar.f); + } catch (RuntimeException e) { + nVar.f.set(e); + } + } else if (i != 1) { + if (i != 2) { + nVar.f.set(new IllegalStateException(String.valueOf(message.what))); + } else { + nVar.g.b(); + } + aVar = null; + } else { + aVar = (n.a) message.obj; + int i2 = aVar.a; + int i3 = aVar.b; + MediaCodec.CryptoInfo cryptoInfo = aVar.d; + long j = aVar.e; + int i4 = aVar.f; + try { + synchronized (n.b) { + nVar.f1042c.queueSecureInputBuffer(i2, i3, cryptoInfo, j, i4); + } + } catch (RuntimeException e2) { + nVar.f.set(e2); + } + } + if (aVar != null) { + ArrayDeque arrayDeque = n.a; + synchronized (arrayDeque) { + arrayDeque.add(aVar); + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/y2/n.java b/app/src/main/java/c/i/a/c/y2/n.java new file mode 100644 index 0000000000..68599c0168 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/n.java @@ -0,0 +1,116 @@ +package c.i.a.c.y2; + +import android.media.MediaCodec; +import android.os.Handler; +import android.os.HandlerThread; +import androidx.annotation.GuardedBy; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.j; +import java.util.ArrayDeque; +import java.util.Arrays; +import java.util.concurrent.atomic.AtomicReference; +/* compiled from: AsynchronousMediaCodecBufferEnqueuer */ +@RequiresApi(23) +public class n { + @GuardedBy("MESSAGE_PARAMS_INSTANCE_POOL") + public static final ArrayDeque a = new ArrayDeque<>(); + public static final Object b = new Object(); + + /* renamed from: c reason: collision with root package name */ + public final MediaCodec f1042c; + public final HandlerThread d; + public Handler e; + public final AtomicReference f = new AtomicReference<>(); + public final j g; + public boolean h; + + /* compiled from: AsynchronousMediaCodecBufferEnqueuer */ + public static class a { + public int a; + public int b; + + /* renamed from: c reason: collision with root package name */ + public int f1043c; + public final MediaCodec.CryptoInfo d = new MediaCodec.CryptoInfo(); + public long e; + public int f; + } + + public n(MediaCodec mediaCodec, HandlerThread handlerThread) { + j jVar = new j(); + this.f1042c = mediaCodec; + this.d = handlerThread; + this.g = jVar; + } + + @Nullable + public static byte[] b(@Nullable byte[] bArr, @Nullable byte[] bArr2) { + if (bArr == null) { + return bArr2; + } + if (bArr2 == null || bArr2.length < bArr.length) { + return Arrays.copyOf(bArr, bArr.length); + } + System.arraycopy(bArr, 0, bArr2, 0, bArr.length); + return bArr2; + } + + @Nullable + public static int[] c(@Nullable int[] iArr, @Nullable int[] iArr2) { + if (iArr == null) { + return iArr2; + } + if (iArr2 == null || iArr2.length < iArr.length) { + return Arrays.copyOf(iArr, iArr.length); + } + System.arraycopy(iArr, 0, iArr2, 0, iArr.length); + return iArr2; + } + + public static a e() { + ArrayDeque arrayDeque = a; + synchronized (arrayDeque) { + if (arrayDeque.isEmpty()) { + return new a(); + } + return arrayDeque.removeFirst(); + } + } + + public final void a() throws InterruptedException { + this.g.a(); + Handler handler = this.e; + int i = e0.a; + handler.obtainMessage(2).sendToTarget(); + j jVar = this.g; + synchronized (jVar) { + while (!jVar.b) { + jVar.wait(); + } + } + } + + public void d() { + if (this.h) { + try { + Handler handler = this.e; + int i = e0.a; + handler.removeCallbacksAndMessages(null); + a(); + f(); + } catch (InterruptedException e) { + Thread.currentThread().interrupt(); + throw new IllegalStateException(e); + } + } + } + + public final void f() { + RuntimeException andSet = this.f.getAndSet(null); + if (andSet != null) { + throw andSet; + } + } +} diff --git a/app/src/main/java/c/i/a/c/y2/o.java b/app/src/main/java/c/i/a/c/y2/o.java new file mode 100644 index 0000000000..8bc55f8d92 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/o.java @@ -0,0 +1,117 @@ +package c.i.a.c.y2; + +import android.media.MediaCodec; +import android.media.MediaFormat; +import android.os.Handler; +import android.os.HandlerThread; +import androidx.annotation.GuardedBy; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import java.util.ArrayDeque; +/* compiled from: AsynchronousMediaCodecCallback */ +@RequiresApi(23) +public final class o extends MediaCodec.Callback { + public final Object a = new Object(); + public final HandlerThread b; + + /* renamed from: c reason: collision with root package name */ + public Handler f1044c; + @GuardedBy("lock") + public final s d; + @GuardedBy("lock") + public final s e; + @GuardedBy("lock") + public final ArrayDeque f; + @GuardedBy("lock") + public final ArrayDeque g; + @Nullable + @GuardedBy("lock") + public MediaFormat h; + @Nullable + @GuardedBy("lock") + public MediaFormat i; + @Nullable + @GuardedBy("lock") + public MediaCodec.CodecException j; + @GuardedBy("lock") + public long k; + @GuardedBy("lock") + public boolean l; + @Nullable + @GuardedBy("lock") + public IllegalStateException m; + + public o(HandlerThread handlerThread) { + this.b = handlerThread; + this.d = new s(); + this.e = new s(); + this.f = new ArrayDeque<>(); + this.g = new ArrayDeque<>(); + } + + @GuardedBy("lock") + public final void a() { + if (!this.g.isEmpty()) { + this.i = this.g.getLast(); + } + s sVar = this.d; + sVar.a = 0; + sVar.b = -1; + sVar.f1047c = 0; + s sVar2 = this.e; + sVar2.a = 0; + sVar2.b = -1; + sVar2.f1047c = 0; + this.f.clear(); + this.g.clear(); + this.j = null; + } + + @GuardedBy("lock") + public final boolean b() { + return this.k > 0 || this.l; + } + + public final void c(IllegalStateException illegalStateException) { + synchronized (this.a) { + this.m = illegalStateException; + } + } + + @Override // android.media.MediaCodec.Callback + public void onError(MediaCodec mediaCodec, MediaCodec.CodecException codecException) { + synchronized (this.a) { + this.j = codecException; + } + } + + @Override // android.media.MediaCodec.Callback + public void onInputBufferAvailable(MediaCodec mediaCodec, int i) { + synchronized (this.a) { + this.d.a(i); + } + } + + @Override // android.media.MediaCodec.Callback + public void onOutputBufferAvailable(MediaCodec mediaCodec, int i, MediaCodec.BufferInfo bufferInfo) { + synchronized (this.a) { + MediaFormat mediaFormat = this.i; + if (mediaFormat != null) { + this.e.a(-2); + this.g.add(mediaFormat); + this.i = null; + } + this.e.a(i); + this.f.add(bufferInfo); + } + } + + @Override // android.media.MediaCodec.Callback + public void onOutputFormatChanged(MediaCodec mediaCodec, MediaFormat mediaFormat) { + synchronized (this.a) { + this.e.a(-2); + this.g.add(mediaFormat); + this.i = null; + } + } +} diff --git a/app/src/main/java/c/i/a/c/y2/p.java b/app/src/main/java/c/i/a/c/y2/p.java new file mode 100644 index 0000000000..8604f306d8 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/p.java @@ -0,0 +1,71 @@ +package c.i.a.c.y2; + +import c.c.a.a0.d; +import com.google.android.exoplayer2.decoder.DecoderInputBuffer; +import java.nio.ByteBuffer; +/* compiled from: BatchBuffer */ +public final class p extends DecoderInputBuffer { + public long q; + public int r; + + /* renamed from: s reason: collision with root package name */ + public int f1045s = 32; + + public p() { + super(2); + } + + @Override // com.google.android.exoplayer2.decoder.DecoderInputBuffer + public void p() { + super.p(); + this.r = 0; + } + + /* JADX WARNING: Code restructure failed: missing block: B:13:0x0049, code lost: + if ((r0.remaining() + r3.position()) > 3072000) goto L_0x0028; + */ + /* JADX WARNING: Removed duplicated region for block: B:15:0x004e A[RETURN] */ + /* JADX WARNING: Removed duplicated region for block: B:16:0x004f */ + public boolean u(DecoderInputBuffer decoderInputBuffer) { + boolean z2; + d.j(!decoderInputBuffer.t()); + d.j(!decoderInputBuffer.l()); + d.j(!decoderInputBuffer.n()); + if (v()) { + if (this.r < this.f1045s && decoderInputBuffer.m() == m()) { + ByteBuffer byteBuffer = decoderInputBuffer.k; + if (!(byteBuffer == null || (r3 = this.k) == null)) { + } + } + z2 = false; + if (z2) { + return false; + } + int i = this.r; + this.r = i + 1; + if (i == 0) { + this.m = decoderInputBuffer.m; + if (decoderInputBuffer.o()) { + this.i = 1; + } + } + if (decoderInputBuffer.m()) { + this.i = Integer.MIN_VALUE; + } + ByteBuffer byteBuffer2 = decoderInputBuffer.k; + if (byteBuffer2 != null) { + r(byteBuffer2.remaining()); + this.k.put(byteBuffer2); + } + this.q = decoderInputBuffer.m; + return true; + } + z2 = true; + if (z2) { + } + } + + public boolean v() { + return this.r > 0; + } +} diff --git a/app/src/main/java/c/i/a/c/y2/q.java b/app/src/main/java/c/i/a/c/y2/q.java new file mode 100644 index 0000000000..0364bca6fc --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/q.java @@ -0,0 +1,13 @@ +package c.i.a.c.y2; +/* compiled from: C2Mp3TimestampTracker */ +public final class q { + public long a; + public long b; + + /* renamed from: c reason: collision with root package name */ + public boolean f1046c; + + public final long a(long j) { + return Math.max(0L, ((this.b - 529) * 1000000) / j) + this.a; + } +} diff --git a/app/src/main/java/c/i/a/c/y2/r.java b/app/src/main/java/c/i/a/c/y2/r.java new file mode 100644 index 0000000000..d80bde776d --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/r.java @@ -0,0 +1,97 @@ +package c.i.a.c.y2; + +import android.media.MediaCodec; +import android.util.Log; +import androidx.core.app.NotificationCompat; +import c.c.a.a0.d; +import c.i.a.c.f3.e0; +import c.i.a.c.y2.l; +import c.i.a.c.y2.t; +import java.io.IOException; +import java.util.Objects; +import org.webrtc.MediaStreamTrack; +/* compiled from: DefaultMediaCodecAdapterFactory */ +public final class r implements t.b { + /* JADX WARNING: Removed duplicated region for block: B:37:0x00c8 */ + @Override // c.i.a.c.y2.t.b + public t a(t.a aVar) throws IOException { + Throwable e; + String str; + if (e0.a >= 31) { + int g = c.i.a.c.f3.t.g(aVar.f1048c.v); + int i = e0.a; + switch (g) { + case -2: + str = "none"; + break; + case -1: + default: + if (g < 10000) { + str = "?"; + break; + } else { + StringBuilder sb = new StringBuilder(20); + sb.append("custom ("); + sb.append(g); + sb.append(")"); + str = sb.toString(); + break; + } + case 0: + str = "default"; + break; + case 1: + str = MediaStreamTrack.AUDIO_TRACK_KIND; + break; + case 2: + str = MediaStreamTrack.VIDEO_TRACK_KIND; + break; + case 3: + str = NotificationCompat.MessagingStyle.Message.KEY_TEXT; + break; + case 4: + str = "image"; + break; + case 5: + str = "metadata"; + break; + case 6: + str = "camera motion"; + break; + } + String valueOf = String.valueOf(str); + Log.i("DefaultMediaCodecAdapterFactory", valueOf.length() != 0 ? "Creating an asynchronous MediaCodec adapter for track type ".concat(valueOf) : new String("Creating an asynchronous MediaCodec adapter for track type ")); + return new l.b(g, false).a(aVar); + } + MediaCodec mediaCodec = null; + try { + Objects.requireNonNull(aVar.a); + String str2 = aVar.a.a; + String valueOf2 = String.valueOf(str2); + d.f(valueOf2.length() != 0 ? "createCodec:".concat(valueOf2) : new String("createCodec:")); + MediaCodec createByCodecName = MediaCodec.createByCodecName(str2); + d.c0(); + try { + d.f("configureCodec"); + createByCodecName.configure(aVar.b, aVar.d, aVar.e, 0); + d.c0(); + d.f("startCodec"); + createByCodecName.start(); + d.c0(); + return new w(createByCodecName, null, null); + } catch (IOException | RuntimeException e2) { + e = e2; + mediaCodec = createByCodecName; + if (mediaCodec != null) { + } + throw e; + } + } catch (IOException | RuntimeException e3) { + e = e3; + if (mediaCodec != null) { + mediaCodec.release(); + } + throw e; + } + } +} diff --git a/app/src/main/java/c/i/a/c/y2/s.java b/app/src/main/java/c/i/a/c/y2/s.java new file mode 100644 index 0000000000..e88f6c088c --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/s.java @@ -0,0 +1,58 @@ +package c.i.a.c.y2; + +import java.util.NoSuchElementException; +/* compiled from: IntArrayQueue */ +public final class s { + public int a = 0; + public int b = -1; + + /* renamed from: c reason: collision with root package name */ + public int f1047c = 0; + public int[] d; + public int e; + + public s() { + int[] iArr = new int[16]; + this.d = iArr; + this.e = iArr.length - 1; + } + + public void a(int i) { + int i2 = this.f1047c; + int[] iArr = this.d; + if (i2 == iArr.length) { + int length = iArr.length << 1; + if (length >= 0) { + int[] iArr2 = new int[length]; + int length2 = iArr.length; + int i3 = this.a; + int i4 = length2 - i3; + System.arraycopy(iArr, i3, iArr2, 0, i4); + System.arraycopy(this.d, 0, iArr2, i4, i3); + this.a = 0; + this.b = this.f1047c - 1; + this.d = iArr2; + this.e = length - 1; + } else { + throw new IllegalStateException(); + } + } + int i5 = (this.b + 1) & this.e; + this.b = i5; + this.d[i5] = i; + this.f1047c++; + } + + public int b() { + int i = this.f1047c; + if (i != 0) { + int[] iArr = this.d; + int i2 = this.a; + int i3 = iArr[i2]; + this.a = (i2 + 1) & this.e; + this.f1047c = i - 1; + return i3; + } + throw new NoSuchElementException(); + } +} diff --git a/app/src/main/java/c/i/a/c/y2/t.java b/app/src/main/java/c/i/a/c/y2/t.java new file mode 100644 index 0000000000..58c01844cb --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/t.java @@ -0,0 +1,84 @@ +package c.i.a.c.y2; + +import android.media.MediaCodec; +import android.media.MediaCrypto; +import android.media.MediaFormat; +import android.os.Bundle; +import android.os.Handler; +import android.view.Surface; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import c.i.a.c.j1; +import java.io.IOException; +import java.nio.ByteBuffer; +/* compiled from: MediaCodecAdapter */ +public interface t { + + /* compiled from: MediaCodecAdapter */ + public static final class a { + public final u a; + public final MediaFormat b; + + /* renamed from: c reason: collision with root package name */ + public final j1 f1048c; + @Nullable + public final Surface d; + @Nullable + public final MediaCrypto e; + + public a(u uVar, MediaFormat mediaFormat, j1 j1Var, @Nullable Surface surface, @Nullable MediaCrypto mediaCrypto, int i, boolean z2) { + this.a = uVar; + this.b = mediaFormat; + this.f1048c = j1Var; + this.d = surface; + this.e = mediaCrypto; + } + } + + /* compiled from: MediaCodecAdapter */ + public interface b { + t a(a aVar) throws IOException; + } + + /* compiled from: MediaCodecAdapter */ + public interface c { + } + + boolean a(); + + void b(int i, int i2, c.i.a.c.v2.c cVar, long j, int i3); + + @RequiresApi(21) + void c(int i, long j); + + int d(); + + int e(MediaCodec.BufferInfo bufferInfo); + + @RequiresApi(23) + void f(c cVar, Handler handler); + + void flush(); + + void g(int i); + + MediaFormat getOutputFormat(); + + @Nullable + ByteBuffer h(int i); + + @RequiresApi(23) + void i(Surface surface); + + @Nullable + ByteBuffer j(int i); + + void queueInputBuffer(int i, int i2, int i3, long j, int i4); + + void release(); + + void releaseOutputBuffer(int i, boolean z2); + + @RequiresApi(19) + void setParameters(Bundle bundle); +} diff --git a/app/src/main/java/c/i/a/c/y2/u.java b/app/src/main/java/c/i/a/c/y2/u.java new file mode 100644 index 0000000000..847a43bc23 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/u.java @@ -0,0 +1,379 @@ +package c.i.a.c.y2; + +import android.graphics.Point; +import android.media.MediaCodecInfo; +import android.util.Log; +import android.util.Pair; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import androidx.annotation.VisibleForTesting; +import c.d.b.a.a; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.t; +import c.i.a.c.j1; +import c.i.a.c.v2.g; +import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; +import java.util.Objects; +/* compiled from: MediaCodecInfo */ +public final class u { + public final String a; + public final String b; + + /* renamed from: c reason: collision with root package name */ + public final String f1049c; + @Nullable + public final MediaCodecInfo.CodecCapabilities d; + public final boolean e; + public final boolean f; + public final boolean g; + + @VisibleForTesting + public u(String str, String str2, String str3, @Nullable MediaCodecInfo.CodecCapabilities codecCapabilities, boolean z2, boolean z3, boolean z4, boolean z5, boolean z6, boolean z7) { + Objects.requireNonNull(str); + this.a = str; + this.b = str2; + this.f1049c = str3; + this.d = codecCapabilities; + this.e = z5; + this.f = z7; + this.g = t.j(str2); + } + + @RequiresApi(21) + public static Point a(MediaCodecInfo.VideoCapabilities videoCapabilities, int i, int i2) { + int widthAlignment = videoCapabilities.getWidthAlignment(); + int heightAlignment = videoCapabilities.getHeightAlignment(); + return new Point(e0.f(i, widthAlignment) * widthAlignment, e0.f(i2, heightAlignment) * heightAlignment); + } + + @RequiresApi(21) + public static boolean b(MediaCodecInfo.VideoCapabilities videoCapabilities, int i, int i2, double d) { + Point a = a(videoCapabilities, i, i2); + int i3 = a.x; + int i4 = a.y; + return (d == -1.0d || d < 1.0d) ? videoCapabilities.isSizeSupported(i3, i4) : videoCapabilities.areSizeAndRateSupported(i3, i4, Math.floor(d)); + } + + /* JADX WARNING: Code restructure failed: missing block: B:44:0x0076, code lost: + if ((c.i.a.c.f3.e0.a >= 21 && r15.isFeatureSupported("secure-playback")) != false) goto L_0x007b; + */ + /* JADX WARNING: Removed duplicated region for block: B:23:0x0048 */ + /* JADX WARNING: Removed duplicated region for block: B:27:0x004f */ + /* JADX WARNING: Removed duplicated region for block: B:37:0x0065 */ + public static u i(String str, String str2, String str3, @Nullable MediaCodecInfo.CodecCapabilities codecCapabilities, boolean z2, boolean z3, boolean z4, boolean z5, boolean z6) { + boolean z7; + boolean z8; + boolean z9; + boolean z10; + if (!z5 && codecCapabilities != null) { + int i = e0.a; + if (i >= 19 && codecCapabilities.isFeatureSupported("adaptive-playback")) { + if (i <= 22) { + String str4 = e0.d; + if (("ODROID-XU3".equals(str4) || "Nexus 10".equals(str4)) && ("OMX.Exynos.AVC.Decoder".equals(str) || "OMX.Exynos.AVC.Decoder.secure".equals(str))) { + z10 = true; + if (!z10) { + z7 = true; + if (codecCapabilities != null) { + if (e0.a >= 21 && codecCapabilities.isFeatureSupported("tunneled-playback")) { + z8 = true; + if (!z6) { + if (codecCapabilities != null) { + } + z9 = false; + return new u(str, str2, str3, codecCapabilities, z2, z3, z4, z7, z8, z9); + } + z9 = true; + return new u(str, str2, str3, codecCapabilities, z2, z3, z4, z7, z8, z9); + } + } + z8 = false; + if (!z6) { + } + z9 = true; + return new u(str, str2, str3, codecCapabilities, z2, z3, z4, z7, z8, z9); + } + } + } + z10 = false; + if (!z10) { + } + } + } + z7 = false; + if (codecCapabilities != null) { + } + z8 = false; + if (!z6) { + } + z9 = true; + return new u(str, str2, str3, codecCapabilities, z2, z3, z4, z7, z8, z9); + } + + public g c(j1 j1Var, j1 j1Var2) { + boolean z2 = false; + int i = !e0.a(j1Var.v, j1Var2.v) ? 8 : 0; + if (this.g) { + if (j1Var.D != j1Var2.D) { + i |= 1024; + } + if (!this.e && !(j1Var.A == j1Var2.A && j1Var.B == j1Var2.B)) { + i |= 512; + } + if (!e0.a(j1Var.H, j1Var2.H)) { + i |= 2048; + } + String str = this.a; + if (e0.d.startsWith("SM-T230") && "OMX.MARVELL.VIDEO.HW.CODA7542DECODER".equals(str)) { + z2 = true; + } + if (z2 && !j1Var.c(j1Var2)) { + i |= 2; + } + if (i == 0) { + return new g(this.a, j1Var, j1Var2, j1Var.c(j1Var2) ? 3 : 2, 0); + } + } else { + if (j1Var.I != j1Var2.I) { + i |= 4096; + } + if (j1Var.J != j1Var2.J) { + i |= 8192; + } + if (j1Var.K != j1Var2.K) { + i |= 16384; + } + if (i == 0 && "audio/mp4a-latm".equals(this.b)) { + Pair c2 = MediaCodecUtil.c(j1Var); + Pair c3 = MediaCodecUtil.c(j1Var2); + if (!(c2 == null || c3 == null)) { + int intValue = ((Integer) c2.first).intValue(); + int intValue2 = ((Integer) c3.first).intValue(); + if (intValue == 42 && intValue2 == 42) { + return new g(this.a, j1Var, j1Var2, 3, 0); + } + } + } + if (!j1Var.c(j1Var2)) { + i |= 32; + } + if ("audio/opus".equals(this.b)) { + i |= 2; + } + if (i == 0) { + return new g(this.a, j1Var, j1Var2, 1, 0); + } + } + return new g(this.a, j1Var, j1Var2, 0, i); + } + + public MediaCodecInfo.CodecProfileLevel[] d() { + MediaCodecInfo.CodecProfileLevel[] codecProfileLevelArr; + MediaCodecInfo.CodecCapabilities codecCapabilities = this.d; + return (codecCapabilities == null || (codecProfileLevelArr = codecCapabilities.profileLevels) == null) ? new MediaCodecInfo.CodecProfileLevel[0] : codecProfileLevelArr; + } + + /* JADX WARNING: Removed duplicated region for block: B:156:? A[RETURN, SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:157:? A[RETURN, SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:70:0x0114 A[RETURN] */ + /* JADX WARNING: Removed duplicated region for block: B:71:0x0115 */ + public boolean e(j1 j1Var) throws MediaCodecUtil.DecoderQueryException { + boolean z2; + boolean z3; + boolean z4; + int i; + String c2; + MediaCodecInfo.VideoCapabilities videoCapabilities; + String str = j1Var.f819s; + int i2 = 16; + boolean z5 = false; + if (!(str == null || this.b == null || (c2 = t.c(str)) == null)) { + if (!this.b.equals(c2)) { + String str2 = j1Var.f819s; + h(a.k(c2.length() + a.b(str2, 13), "codec.mime ", str2, ", ", c2)); + } else { + Pair c3 = MediaCodecUtil.c(j1Var); + if (c3 != null) { + int intValue = ((Integer) c3.first).intValue(); + int intValue2 = ((Integer) c3.second).intValue(); + if (this.g || intValue == 42) { + MediaCodecInfo.CodecProfileLevel[] d = d(); + if (e0.a <= 23 && "video/x-vnd.on2.vp9".equals(this.b) && d.length == 0) { + MediaCodecInfo.CodecCapabilities codecCapabilities = this.d; + int intValue3 = (codecCapabilities == null || (videoCapabilities = codecCapabilities.getVideoCapabilities()) == null) ? 0 : videoCapabilities.getBitrateRange().getUpper().intValue(); + int i3 = intValue3 >= 180000000 ? 1024 : intValue3 >= 120000000 ? 512 : intValue3 >= 60000000 ? 256 : intValue3 >= 30000000 ? 128 : intValue3 >= 18000000 ? 64 : intValue3 >= 12000000 ? 32 : intValue3 >= 7200000 ? 16 : intValue3 >= 3600000 ? 8 : intValue3 >= 1800000 ? 4 : intValue3 >= 800000 ? 2 : 1; + MediaCodecInfo.CodecProfileLevel codecProfileLevel = new MediaCodecInfo.CodecProfileLevel(); + codecProfileLevel.profile = 1; + codecProfileLevel.level = i3; + d = new MediaCodecInfo.CodecProfileLevel[]{codecProfileLevel}; + } + for (MediaCodecInfo.CodecProfileLevel codecProfileLevel2 : d) { + if (codecProfileLevel2.profile != intValue || codecProfileLevel2.level < intValue2) { + } + } + String str3 = j1Var.f819s; + h(a.k(c2.length() + a.b(str3, 22), "codec.profileLevel, ", str3, ", ", c2)); + } + } + } + z2 = false; + if (z2) { + return false; + } + if (this.g) { + int i4 = j1Var.A; + if (i4 <= 0 || (i = j1Var.B) <= 0) { + return true; + } + if (e0.a >= 21) { + return g(i4, i, (double) j1Var.C); + } + if (i4 * i <= MediaCodecUtil.i()) { + z5 = true; + } + if (!z5) { + h(a.g(40, "legacyFrameSize, ", j1Var.A, "x", j1Var.B)); + } + return z5; + } + int i5 = e0.a; + if (i5 >= 21) { + int i6 = j1Var.J; + if (i6 != -1) { + MediaCodecInfo.CodecCapabilities codecCapabilities2 = this.d; + if (codecCapabilities2 == null) { + h("sampleRate.caps"); + } else { + MediaCodecInfo.AudioCapabilities audioCapabilities = codecCapabilities2.getAudioCapabilities(); + if (audioCapabilities == null) { + h("sampleRate.aCaps"); + } else if (!audioCapabilities.isSampleRateSupported(i6)) { + StringBuilder sb = new StringBuilder(31); + sb.append("sampleRate.support, "); + sb.append(i6); + h(sb.toString()); + } else { + z4 = true; + if (!z4) { + return false; + } + } + } + z4 = false; + if (!z4) { + } + } + int i7 = j1Var.I; + if (i7 != -1) { + MediaCodecInfo.CodecCapabilities codecCapabilities3 = this.d; + if (codecCapabilities3 == null) { + h("channelCount.caps"); + } else { + MediaCodecInfo.AudioCapabilities audioCapabilities2 = codecCapabilities3.getAudioCapabilities(); + if (audioCapabilities2 == null) { + h("channelCount.aCaps"); + } else { + String str4 = this.a; + String str5 = this.b; + int maxInputChannelCount = audioCapabilities2.getMaxInputChannelCount(); + if (maxInputChannelCount <= 1 && ((i5 < 26 || maxInputChannelCount <= 0) && !"audio/mpeg".equals(str5) && !"audio/3gpp".equals(str5) && !"audio/amr-wb".equals(str5) && !"audio/mp4a-latm".equals(str5) && !"audio/vorbis".equals(str5) && !"audio/opus".equals(str5) && !"audio/raw".equals(str5) && !"audio/flac".equals(str5) && !"audio/g711-alaw".equals(str5) && !"audio/g711-mlaw".equals(str5) && !"audio/gsm".equals(str5))) { + if ("audio/ac3".equals(str5)) { + i2 = 6; + } else if (!"audio/eac3".equals(str5)) { + i2 = 30; + } + StringBuilder sb2 = new StringBuilder(a.b(str4, 59)); + sb2.append("AssumedMaxChannelAdjustment: "); + sb2.append(str4); + sb2.append(", ["); + sb2.append(maxInputChannelCount); + sb2.append(" to "); + sb2.append(i2); + sb2.append("]"); + Log.w("MediaCodecInfo", sb2.toString()); + maxInputChannelCount = i2; + } + if (maxInputChannelCount < i7) { + StringBuilder sb3 = new StringBuilder(33); + sb3.append("channelCount.support, "); + sb3.append(i7); + h(sb3.toString()); + } else { + z3 = true; + if (z3) { + return false; + } + } + } + } + z3 = false; + if (z3) { + } + } + } + return true; + } + z2 = true; + if (z2) { + } + } + + public boolean f(j1 j1Var) { + if (this.g) { + return this.e; + } + Pair c2 = MediaCodecUtil.c(j1Var); + return c2 != null && ((Integer) c2.first).intValue() == 42; + } + + @RequiresApi(21) + public boolean g(int i, int i2, double d) { + MediaCodecInfo.CodecCapabilities codecCapabilities = this.d; + if (codecCapabilities == null) { + h("sizeAndRate.caps"); + return false; + } + MediaCodecInfo.VideoCapabilities videoCapabilities = codecCapabilities.getVideoCapabilities(); + if (videoCapabilities == null) { + h("sizeAndRate.vCaps"); + return false; + } + if (!b(videoCapabilities, i, i2, d)) { + if (i < i2) { + if ((!"OMX.MTK.VIDEO.DECODER.HEVC".equals(this.a) || !"mcv5a".equals(e0.b)) && b(videoCapabilities, i2, i, d)) { + StringBuilder O = a.O(69, "sizeAndRate.rotated, ", i, "x", i2); + O.append("x"); + O.append(d); + String sb = O.toString(); + String str = this.a; + String str2 = this.b; + String str3 = e0.e; + StringBuilder Q = a.Q(a.b(str3, a.b(str2, a.b(str, a.b(sb, 25)))), "AssumedSupport [", sb, "] [", str); + a.o0(Q, ", ", str2, "] [", str3); + Q.append("]"); + Log.d("MediaCodecInfo", Q.toString()); + } + } + StringBuilder O2 = a.O(69, "sizeAndRate.support, ", i, "x", i2); + O2.append("x"); + O2.append(d); + h(O2.toString()); + return false; + } + return true; + } + + public final void h(String str) { + String str2 = this.a; + String str3 = this.b; + String str4 = e0.e; + StringBuilder Q = a.Q(a.b(str4, a.b(str3, a.b(str2, a.b(str, 20)))), "NoSupport [", str, "] [", str2); + a.o0(Q, ", ", str3, "] [", str4); + Q.append("]"); + Log.d("MediaCodecInfo", Q.toString()); + } + + public String toString() { + return this.a; + } +} diff --git a/app/src/main/java/c/i/a/c/y2/v.java b/app/src/main/java/c/i/a/c/y2/v.java new file mode 100644 index 0000000000..3d9abcfd76 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/v.java @@ -0,0 +1,10 @@ +package c.i.a.c.y2; + +import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; +import java.util.List; +/* compiled from: MediaCodecSelector */ +public interface v { + public static final /* synthetic */ int a = 0; + + List a(String str, boolean z2, boolean z3) throws MediaCodecUtil.DecoderQueryException; +} diff --git a/app/src/main/java/c/i/a/c/y2/w.java b/app/src/main/java/c/i/a/c/y2/w.java new file mode 100644 index 0000000000..2f03a89982 --- /dev/null +++ b/app/src/main/java/c/i/a/c/y2/w.java @@ -0,0 +1,127 @@ +package c.i.a.c.y2; + +import android.media.MediaCodec; +import android.media.MediaFormat; +import android.os.Bundle; +import android.os.Handler; +import android.view.Surface; +import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; +import c.i.a.c.f3.e0; +import c.i.a.c.v2.c; +import c.i.a.c.y2.t; +import java.nio.ByteBuffer; +/* compiled from: SynchronousMediaCodecAdapter */ +public class w implements t { + public final MediaCodec a; + @Nullable + public ByteBuffer[] b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public ByteBuffer[] f1050c; + + public w(MediaCodec mediaCodec, Surface surface, a aVar) { + this.a = mediaCodec; + if (e0.a < 21) { + this.b = mediaCodec.getInputBuffers(); + this.f1050c = mediaCodec.getOutputBuffers(); + } + } + + @Override // c.i.a.c.y2.t + public boolean a() { + return false; + } + + @Override // c.i.a.c.y2.t + public void b(int i, int i2, c cVar, long j, int i3) { + this.a.queueSecureInputBuffer(i, i2, cVar.i, j, i3); + } + + @Override // c.i.a.c.y2.t + @RequiresApi(21) + public void c(int i, long j) { + this.a.releaseOutputBuffer(i, j); + } + + @Override // c.i.a.c.y2.t + public int d() { + return this.a.dequeueInputBuffer(0); + } + + @Override // c.i.a.c.y2.t + public int e(MediaCodec.BufferInfo bufferInfo) { + int dequeueOutputBuffer; + do { + dequeueOutputBuffer = this.a.dequeueOutputBuffer(bufferInfo, 0); + if (dequeueOutputBuffer == -3 && e0.a < 21) { + this.f1050c = this.a.getOutputBuffers(); + continue; + } + } while (dequeueOutputBuffer == -3); + return dequeueOutputBuffer; + } + + @Override // c.i.a.c.y2.t + @RequiresApi(23) + public void f(t.c cVar, Handler handler) { + this.a.setOnFrameRenderedListener(new i(this, cVar), handler); + } + + @Override // c.i.a.c.y2.t + public void flush() { + this.a.flush(); + } + + @Override // c.i.a.c.y2.t + public void g(int i) { + this.a.setVideoScalingMode(i); + } + + @Override // c.i.a.c.y2.t + public MediaFormat getOutputFormat() { + return this.a.getOutputFormat(); + } + + @Override // c.i.a.c.y2.t + @Nullable + public ByteBuffer h(int i) { + return e0.a >= 21 ? this.a.getInputBuffer(i) : this.b[i]; + } + + @Override // c.i.a.c.y2.t + @RequiresApi(23) + public void i(Surface surface) { + this.a.setOutputSurface(surface); + } + + @Override // c.i.a.c.y2.t + @Nullable + public ByteBuffer j(int i) { + return e0.a >= 21 ? this.a.getOutputBuffer(i) : this.f1050c[i]; + } + + @Override // c.i.a.c.y2.t + public void queueInputBuffer(int i, int i2, int i3, long j, int i4) { + this.a.queueInputBuffer(i, i2, i3, j, i4); + } + + @Override // c.i.a.c.y2.t + public void release() { + this.b = null; + this.f1050c = null; + this.a.release(); + } + + @Override // c.i.a.c.y2.t + public void releaseOutputBuffer(int i, boolean z2) { + this.a.releaseOutputBuffer(i, z2); + } + + @Override // c.i.a.c.y2.t + @RequiresApi(19) + public void setParameters(Bundle bundle) { + this.a.setParameters(bundle); + } +} diff --git a/app/src/main/java/c/i/a/c/z.java b/app/src/main/java/c/i/a/c/z.java index d21400b95e..f3892c6d6d 100644 --- a/app/src/main/java/c/i/a/c/z.java +++ b/app/src/main/java/c/i/a/c/z.java @@ -1,16 +1,19 @@ package c.i.a.c; -import c.i.a.c.d2.y; +import c.i.a.c.f3.p; +import c.i.a.c.y1; /* compiled from: lambda */ -public final /* synthetic */ class z implements y.b { - public final /* synthetic */ b1 a; +public final /* synthetic */ class z implements p.a { + public final /* synthetic */ o1 a; + public final /* synthetic */ int b; - public /* synthetic */ z(b1 b1Var) { - this.a = b1Var; + public /* synthetic */ z(o1 o1Var, int i) { + this.a = o1Var; + this.b = i; } - @Override // c.i.a.c.d2.y.b - public final void a(y yVar, r1 r1Var) { - ((q0) this.a.d).o.d(22); + @Override // c.i.a.c.f3.p.a + public final void invoke(Object obj) { + ((y1.c) obj).M(this.a, this.b); } } diff --git a/app/src/main/java/c/i/a/c/z0.java b/app/src/main/java/c/i/a/c/z0.java index bf13c0f035..955b516cfd 100644 --- a/app/src/main/java/c/i/a/c/z0.java +++ b/app/src/main/java/c/i/a/c/z0.java @@ -1,374 +1,195 @@ package c.i.a.c; -import android.os.Handler; -import android.util.Pair; -import androidx.annotation.Nullable; -import androidx.recyclerview.widget.RecyclerView; +import android.util.Log; import c.c.a.a0.d; -import c.i.a.c.d2.j0.a; -import c.i.a.c.d2.y; -import c.i.a.c.r1; -import c.i.a.c.u1.c1; -import c.i.b.b.u; -/* compiled from: MediaPeriodQueue */ -public final class z0 { - public final r1.b a = new r1.b(); - public final r1.c b = new r1.c(); - @Nullable +import c.i.a.c.a3.o0; +import c.i.a.c.c3.j; +import c.i.a.c.e3.o; +import c.i.a.c.f3.e0; +/* compiled from: DefaultLoadControl */ +public class z0 implements n1 { + public final o a; + public final long b; /* renamed from: c reason: collision with root package name */ - public final c1 f1081c; - public final Handler d; - public long e; - public int f; - public boolean g; - @Nullable - public x0 h; - @Nullable - public x0 i; - @Nullable - public x0 j; - public int k; - @Nullable - public Object l; - public long m; + public final long f1051c; + public final long d; + public final long e; + public final int f; + public final boolean g; + public final long h; + public final boolean i; + public int j; + public boolean k; - public z0(@Nullable c1 c1Var, Handler handler) { - this.f1081c = c1Var; - this.d = handler; + public z0(o oVar, int i, int i2, int i3, int i4, int i5, boolean z2, int i6, boolean z3) { + j(i3, 0, "bufferForPlaybackMs", "0"); + j(i4, 0, "bufferForPlaybackAfterRebufferMs", "0"); + j(i, i3, "minBufferMs", "bufferForPlaybackMs"); + j(i, i4, "minBufferMs", "bufferForPlaybackAfterRebufferMs"); + j(i2, i, "maxBufferMs", "minBufferMs"); + j(i6, 0, "backBufferDurationMs", "0"); + this.a = oVar; + this.b = e0.B((long) i); + this.f1051c = e0.B((long) i2); + this.d = e0.B((long) i3); + this.e = e0.B((long) i4); + this.f = i5; + this.j = i5 == -1 ? 13107200 : i5; + this.g = z2; + this.h = e0.B((long) i6); + this.i = z3; } - public static y.a o(r1 r1Var, Object obj, long j, long j2, r1.b bVar) { - r1Var.h(obj, bVar); - int c2 = bVar.c(j); - return c2 == -1 ? new y.a(obj, j2, bVar.b(j)) : new y.a(obj, c2, bVar.e(c2), j2); + public static void j(int i, int i2, String str, String str2) { + boolean z2 = i >= i2; + StringBuilder sb = new StringBuilder(String.valueOf(str2).length() + String.valueOf(str).length() + 21); + sb.append(str); + sb.append(" cannot be less than "); + sb.append(str2); + d.m(z2, sb.toString()); } - @Nullable - public x0 a() { - x0 x0Var = this.h; - if (x0Var == null) { - return null; - } - if (x0Var == this.i) { - this.i = x0Var.l; - } - x0Var.h(); - int i = this.k - 1; - this.k = i; - if (i == 0) { - this.j = null; - x0 x0Var2 = this.h; - this.l = x0Var2.b; - this.m = x0Var2.f.a.d; - } - this.h = this.h.l; - k(); + @Override // c.i.a.c.n1 + public boolean a() { + return this.i; + } + + @Override // c.i.a.c.n1 + public long b() { return this.h; } - public void b() { - if (this.k != 0) { - x0 x0Var = this.h; - d.H(x0Var); - x0 x0Var2 = x0Var; - this.l = x0Var2.b; - this.m = x0Var2.f.a.d; - while (x0Var2 != null) { - x0Var2.h(); - x0Var2 = x0Var2.l; - } - this.h = null; - this.j = null; - this.i = null; - this.k = 0; - k(); - } + @Override // c.i.a.c.n1 + public void c() { + k(false); } - @Nullable - public final y0 c(r1 r1Var, x0 x0Var, long j) { - long j2; - y0 y0Var = x0Var.f; - long j3 = (x0Var.o + y0Var.e) - j; - if (y0Var.f) { - long j4 = 0; - int d = r1Var.d(r1Var.b(y0Var.a.a), this.a, this.b, this.f, this.g); - if (d == -1) { - return null; - } - int i = r1Var.g(d, this.a, true).f1017c; - Object obj = this.a.b; - long j5 = y0Var.a.d; - if (r1Var.n(i, this.b).o == d) { - Pair k = r1Var.k(this.b, this.a, i, -9223372036854775807L, Math.max(0L, j3)); - if (k == null) { - return null; - } - obj = k.first; - long longValue = ((Long) k.second).longValue(); - x0 x0Var2 = x0Var.l; - if (x0Var2 == null || !x0Var2.b.equals(obj)) { - j5 = this.e; - this.e = 1 + j5; - } else { - j5 = x0Var2.f.a.d; - } - j2 = longValue; - j4 = -9223372036854775807L; - } else { - j2 = 0; - } - return d(r1Var, o(r1Var, obj, j2, j5, this.a), j4, j2); - } - y.a aVar = y0Var.a; - r1Var.h(aVar.a, this.a); - if (aVar.a()) { - int i2 = aVar.b; - a.C0091a[] aVarArr = this.a.f.e; - int i3 = aVarArr[i2].a; - if (i3 == -1) { - return null; - } - int a = aVarArr[i2].a(aVar.f864c); - if (a < i3) { - return e(r1Var, aVar.a, i2, a, y0Var.f1079c, aVar.d); - } - long j6 = y0Var.f1079c; - if (j6 == -9223372036854775807L) { - r1.c cVar = this.b; - r1.b bVar = this.a; - Pair k2 = r1Var.k(cVar, bVar, bVar.f1017c, -9223372036854775807L, Math.max(0L, j3)); - if (k2 == null) { - return null; - } - j6 = ((Long) k2.second).longValue(); - } - return f(r1Var, aVar.a, j6, y0Var.f1079c, aVar.d); - } - int c2 = this.a.c(y0Var.d); - if (c2 == -1) { - Object obj2 = aVar.a; - long j7 = y0Var.e; - return f(r1Var, obj2, j7, j7, aVar.d); - } - return e(r1Var, aVar.a, c2, this.a.e(c2), y0Var.e, aVar.d); - } - - @Nullable - public final y0 d(r1 r1Var, y.a aVar, long j, long j2) { - r1Var.h(aVar.a, this.a); - return aVar.a() ? e(r1Var, aVar.a, aVar.b, aVar.f864c, j, aVar.d) : f(r1Var, aVar.a, j2, j, aVar.d); - } - - public final y0 e(r1 r1Var, Object obj, int i, int i2, long j, long j2) { - y.a aVar = new y.a(obj, i, i2, j2); - long a = r1Var.h(obj, this.a).a(i, i2); - long j3 = i2 == this.a.f.e[i].a(-1) ? this.a.f.f : 0; - return new y0(aVar, (a == -9223372036854775807L || j3 < a) ? j3 : Math.max(0L, a - 1), j, -9223372036854775807L, a, false, false, false); - } - - public final y0 f(r1 r1Var, Object obj, long j, long j2, long j3) { - long j4 = j; - r1Var.h(obj, this.a); - int b = this.a.b(j4); - y.a aVar = new y.a(obj, j3, b); - boolean h = h(aVar); - boolean j5 = j(r1Var, aVar); - boolean i = i(r1Var, aVar, h); - long d = b != -1 ? this.a.d(b) : -9223372036854775807L; - long j6 = (d == -9223372036854775807L || d == Long.MIN_VALUE) ? this.a.d : d; - if (j6 != -9223372036854775807L && j4 >= j6) { - j4 = Math.max(0L, j6 - 1); - } - return new y0(aVar, j4, j2, d, j6, h, j5, i); - } - - public y0 g(r1 r1Var, y0 y0Var) { - long j; - y.a aVar = y0Var.a; - boolean h = h(aVar); - boolean j2 = j(r1Var, aVar); - boolean i = i(r1Var, aVar, h); - r1Var.h(y0Var.a.a, this.a); - if (aVar.a()) { - j = this.a.a(aVar.b, aVar.f864c); - } else { - j = y0Var.d; - if (j == -9223372036854775807L || j == Long.MIN_VALUE) { - j = this.a.d; - } - } - return new y0(aVar, y0Var.b, y0Var.f1079c, y0Var.d, j, h, j2, i); - } - - public final boolean h(y.a aVar) { - return !aVar.a() && aVar.e == -1; - } - - public final boolean i(r1 r1Var, y.a aVar, boolean z2) { - int b = r1Var.b(aVar.a); - if (r1Var.n(r1Var.f(b, this.a).f1017c, this.b).k) { - return false; - } - return (r1Var.d(b, this.a, this.b, this.f, this.g) == -1) && z2; - } - - public final boolean j(r1 r1Var, y.a aVar) { - if (!h(aVar)) { - return false; - } - return r1Var.n(r1Var.h(aVar.a, this.a).f1017c, this.b).p == r1Var.b(aVar.a); - } - - public final void k() { - if (this.f1081c != null) { - c.i.b.b.a aVar = u.j; - u.a aVar2 = new u.a(); - for (x0 x0Var = this.h; x0Var != null; x0Var = x0Var.l) { - aVar2.b(x0Var.f.a); - } - x0 x0Var2 = this.i; - this.d.post(new y(this, aVar2, x0Var2 == null ? null : x0Var2.f.a)); - } - } - - public void l(long j) { - x0 x0Var = this.j; - if (x0Var != null) { - d.D(x0Var.g()); - if (x0Var.d) { - x0Var.a.s(j - x0Var.o); - } - } - } - - public boolean m(x0 x0Var) { - boolean z2 = false; - d.D(x0Var != null); - if (x0Var.equals(this.j)) { - return false; - } - this.j = x0Var; - while (true) { - x0Var = x0Var.l; - if (x0Var == null) { - break; - } - if (x0Var == this.i) { - this.i = this.h; - z2 = true; - } - x0Var.h(); - this.k--; - } - x0 x0Var2 = this.j; - if (x0Var2.l != null) { - x0Var2.b(); - x0Var2.l = null; - x0Var2.c(); - } - k(); - return z2; - } - - public y.a n(r1 r1Var, Object obj, long j) { - long j2; - int b; - int i = r1Var.h(obj, this.a).f1017c; - Object obj2 = this.l; - if (obj2 == null || (b = r1Var.b(obj2)) == -1 || r1Var.f(b, this.a).f1017c != i) { - x0 x0Var = this.h; + @Override // c.i.a.c.n1 + public void d(f2[] f2VarArr, o0 o0Var, j[] jVarArr) { + int i = this.f; + if (i == -1) { + int i2 = 0; + int i3 = 0; while (true) { - if (x0Var == null) { - x0 x0Var2 = this.h; - while (true) { - if (x0Var2 != null) { - int b2 = r1Var.b(x0Var2.b); - if (b2 != -1 && r1Var.f(b2, this.a).f1017c == i) { - j2 = x0Var2.f.a.d; + int i4 = 13107200; + if (i2 < f2VarArr.length) { + if (jVarArr[i2] != null) { + switch (f2VarArr[i2].x()) { + case -2: + i4 = 0; + break; + case -1: + default: + throw new IllegalArgumentException(); + case 0: + i4 = 144310272; + break; + case 1: + break; + case 2: + i4 = 131072000; + break; + case 3: + case 4: + case 5: + case 6: + i4 = 131072; break; - } - x0Var2 = x0Var2.l; - } else { - j2 = this.e; - this.e = 1 + j2; - if (this.h == null) { - this.l = obj; - this.m = j2; - } } + i3 += i4; } - } else if (x0Var.b.equals(obj)) { - j2 = x0Var.f.a.d; - break; + i2++; } else { - x0Var = x0Var.l; + i = Math.max(13107200, i3); } } - } else { - j2 = this.m; } - return o(r1Var, obj, j, j2, this.a); + this.j = i; + this.a.b(i); } - public final boolean p(r1 r1Var) { - x0 x0Var; - x0 x0Var2 = this.h; - if (x0Var2 == null) { - return true; - } - int b = r1Var.b(x0Var2.b); - while (true) { - b = r1Var.d(b, this.a, this.b, this.f, this.g); - while (true) { - x0Var = x0Var2.l; - if (x0Var == null || x0Var2.f.f) { - break; - } - x0Var2 = x0Var; - } - if (b == -1 || x0Var == null || r1Var.b(x0Var.b) != b) { - break; - } - x0Var2 = x0Var; - } - boolean m = m(x0Var2); - x0Var2.f = g(r1Var, x0Var2.f); - return !m; + @Override // c.i.a.c.n1 + public void e() { + k(true); } - public boolean q(r1 r1Var, long j, long j2) { - y0 y0Var; - boolean m; - x0 x0Var = this.h; - x0 x0Var2 = null; - while (x0Var != null) { - y0 y0Var2 = x0Var.f; - if (x0Var2 == null) { - y0Var = g(r1Var, y0Var2); - } else { - y0 c2 = c(r1Var, x0Var2, j); - if (c2 == null) { - m = m(x0Var2); - } else { - if (!(y0Var2.b == c2.b && y0Var2.a.equals(c2.a))) { - m = m(x0Var2); - } else { - y0Var = c2; - } + @Override // c.i.a.c.n1 + public boolean f(long j, float f, boolean z2, long j2) { + int i; + int i2 = e0.a; + if (f != 1.0f) { + j = Math.round(((double) j) / ((double) f)); + } + long j3 = z2 ? this.e : this.d; + if (j2 != -9223372036854775807L) { + j3 = Math.min(j2 / 2, j3); + } + if (j3 > 0 && j < j3) { + if (!this.g) { + o oVar = this.a; + synchronized (oVar) { + i = oVar.e * oVar.b; + } + if (i >= this.j) { } - return !m; } - x0Var.f = y0Var.a(y0Var2.f1079c); - long j3 = y0Var2.e; - long j4 = y0Var.e; - if (!(j3 == -9223372036854775807L || j3 == j4)) { - return !m(x0Var) && !(x0Var == this.i && ((j2 > Long.MIN_VALUE ? 1 : (j2 == Long.MIN_VALUE ? 0 : -1)) == 0 || (j2 > ((j4 > -9223372036854775807L ? 1 : (j4 == -9223372036854775807L ? 0 : -1)) == 0 ? RecyclerView.FOREVER_NS : x0Var.o + j4) ? 1 : (j2 == ((j4 > -9223372036854775807L ? 1 : (j4 == -9223372036854775807L ? 0 : -1)) == 0 ? RecyclerView.FOREVER_NS : x0Var.o + j4) ? 0 : -1)) >= 0)); - } - x0Var2 = x0Var; - x0Var = x0Var.l; + return false; } return true; } + + @Override // c.i.a.c.n1 + public boolean g(long j, long j2, float f) { + int i; + o oVar = this.a; + synchronized (oVar) { + i = oVar.e * oVar.b; + } + boolean z2 = true; + boolean z3 = i >= this.j; + long j3 = this.b; + if (f > 1.0f) { + j3 = Math.min(e0.q(j3, f), this.f1051c); + } + if (j2 < Math.max(j3, 500000L)) { + if (!this.g && z3) { + z2 = false; + } + this.k = z2; + if (!z2 && j2 < 500000) { + Log.w("DefaultLoadControl", "Target buffer size reached with less than 500ms of buffered media data."); + } + } else if (j2 >= this.f1051c || z3) { + this.k = false; + } + return this.k; + } + + @Override // c.i.a.c.n1 + public o h() { + return this.a; + } + + @Override // c.i.a.c.n1 + public void i() { + k(true); + } + + public final void k(boolean z2) { + int i = this.f; + if (i == -1) { + i = 13107200; + } + this.j = i; + this.k = false; + if (z2) { + o oVar = this.a; + synchronized (oVar) { + if (oVar.a) { + oVar.b(0); + } + } + } + } } diff --git a/app/src/main/java/c/i/a/c/z1.java b/app/src/main/java/c/i/a/c/z1.java new file mode 100644 index 0000000000..0fdf9720d4 --- /dev/null +++ b/app/src/main/java/c/i/a/c/z1.java @@ -0,0 +1,71 @@ +package c.i.a.c; + +import androidx.annotation.Nullable; +import c.i.a.c.a3.o0; +import c.i.a.c.c3.n; +import c.i.a.c.y1; +import com.google.android.exoplayer2.PlaybackException; +/* compiled from: Player */ +public final /* synthetic */ class z1 { + public static void a(y1.c cVar, y1.b bVar) { + } + + public static void b(y1.c cVar, y1 y1Var, y1.d dVar) { + } + + public static void c(y1.c cVar, boolean z2) { + } + + @Deprecated + public static void d(y1.c cVar, boolean z2) { + } + + public static void e(@Nullable y1.c cVar, o1 o1Var, int i) { + } + + public static void f(y1.c cVar, p1 p1Var) { + } + + public static void g(y1.c cVar, x1 x1Var) { + } + + public static void h(y1.c cVar, int i) { + } + + public static void i(y1.c cVar, PlaybackException playbackException) { + } + + public static void j(@Nullable y1.c cVar, PlaybackException playbackException) { + } + + @Deprecated + public static void k(y1.c cVar, boolean z2, int i) { + } + + @Deprecated + public static void l(y1.c cVar, int i) { + } + + public static void m(y1.c cVar, y1.f fVar, y1.f fVar2, int i) { + } + + public static void n(y1.c cVar, int i) { + } + + @Deprecated + public static void o(y1.c cVar) { + } + + public static void p(y1.c cVar, boolean z2) { + } + + public static void q(y1.c cVar, o2 o2Var, int i) { + } + + @Deprecated + public static void r(y1.c cVar, o0 o0Var, n nVar) { + } + + public static void s(y1.c cVar, p2 p2Var) { + } +} diff --git a/app/src/main/java/c/i/a/c/z1/a.java b/app/src/main/java/c/i/a/c/z1/a.java deleted file mode 100644 index 76d646c321..0000000000 --- a/app/src/main/java/c/i/a/c/z1/a.java +++ /dev/null @@ -1,13 +0,0 @@ -package c.i.a.c.z1; - -import c.i.a.c.i2.k; -import c.i.a.c.z1.q; -/* compiled from: lambda */ -public final /* synthetic */ class a implements k { - public static final /* synthetic */ a a = new a(); - - @Override // c.i.a.c.i2.k - public final void accept(Object obj) { - ((q.a) obj).f(); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/a0.java b/app/src/main/java/c/i/a/c/z1/a0.java deleted file mode 100644 index 7c55682238..0000000000 --- a/app/src/main/java/c/i/a/c/z1/a0.java +++ /dev/null @@ -1,128 +0,0 @@ -package c.i.a.c.z1; - -import android.net.Uri; -import android.text.TextUtils; -import androidx.annotation.Nullable; -import c.c.a.a0.d; -import c.i.a.c.h0; -import c.i.a.c.h2.k; -import c.i.a.c.h2.l; -import c.i.a.c.h2.q; -import c.i.a.c.h2.s; -import c.i.a.c.h2.v; -import c.i.a.c.i2.f0; -import c.i.a.c.z1.x; -import c.i.b.b.r0; -import com.discord.restapi.RestAPIBuilder; -import com.google.android.exoplayer2.drm.MediaDrmCallbackException; -import com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException; -import java.io.IOException; -import java.util.Collections; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import java.util.UUID; -/* compiled from: HttpMediaDrmCallback */ -public final class a0 implements b0 { - public final s a; - @Nullable - public final String b; - - /* renamed from: c reason: collision with root package name */ - public final boolean f1082c; - public final Map d; - - public a0(@Nullable String str, boolean z2, s sVar) { - d.k(!z2 || !TextUtils.isEmpty(str)); - this.a = sVar; - this.b = str; - this.f1082c = z2; - this.d = new HashMap(); - } - - public static byte[] b(s sVar, String str, @Nullable byte[] bArr, Map map) throws MediaDrmCallbackException { - List list; - v vVar = new v(((q.b) sVar).a()); - Collections.emptyMap(); - Uri parse = Uri.parse(str); - d.I(parse, "The uri must be set."); - l lVar = new l(parse, 0, 2, bArr, map, 0, -1, null, 1, null); - l lVar2 = lVar; - int i = 0; - while (true) { - try { - k kVar = new k(vVar, lVar2); - try { - byte[] J = f0.J(kVar); - int i2 = f0.a; - try { - kVar.close(); - } catch (IOException unused) { - } - return J; - } catch (HttpDataSource$InvalidResponseCodeException e) { - int i3 = e.responseCode; - String str2 = null; - if ((i3 == 307 || i3 == 308) && i < 5) { - Map> map2 = e.headerFields; - if (!(map2 == null || (list = map2.get("Location")) == null || list.isEmpty())) { - str2 = list.get(0); - } - } - if (str2 != null) { - i++; - l.b a = lVar2.a(); - a.a = Uri.parse(str2); - lVar2 = a.a(); - int i4 = f0.a; - try { - kVar.close(); - } catch (IOException unused2) { - } - } else { - throw e; - } - } catch (Throwable th) { - int i5 = f0.a; - try { - kVar.close(); - } catch (IOException unused3) { - } - throw th; - } - } catch (Exception e2) { - Uri uri = vVar.f952c; - Objects.requireNonNull(uri); - throw new MediaDrmCallbackException(lVar, uri, vVar.j(), vVar.b, e2); - } - } - } - - public byte[] a(UUID uuid, x.a aVar) throws MediaDrmCallbackException { - String str = aVar.b; - if (this.f1082c || TextUtils.isEmpty(str)) { - str = this.b; - } - if (!TextUtils.isEmpty(str)) { - HashMap hashMap = new HashMap(); - UUID uuid2 = h0.e; - hashMap.put("Content-Type", uuid2.equals(uuid) ? "text/xml" : h0.f939c.equals(uuid) ? RestAPIBuilder.CONTENT_TYPE_JSON : "application/octet-stream"); - if (uuid2.equals(uuid)) { - hashMap.put("SOAPAction", "http://schemas.microsoft.com/DRM/2007/03/protocols/AcquireLicense"); - } - synchronized (this.d) { - hashMap.putAll(this.d); - } - return b(this.a, str, aVar.a, hashMap); - } - Map emptyMap = Collections.emptyMap(); - Uri uri = Uri.EMPTY; - d.I(uri, "The uri must be set."); - throw new MediaDrmCallbackException(new l(uri, 0, 1, null, emptyMap, 0, -1, null, 0, null), Uri.EMPTY, r0.l, 0, new IllegalStateException("No license URL")); - } - - public byte[] c(UUID uuid, x.d dVar) throws MediaDrmCallbackException { - return b(this.a, dVar.b + "&signedRequest=" + f0.l(dVar.a), null, Collections.emptyMap()); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/b.java b/app/src/main/java/c/i/a/c/z1/b.java deleted file mode 100644 index f0671eda2d..0000000000 --- a/app/src/main/java/c/i/a/c/z1/b.java +++ /dev/null @@ -1,13 +0,0 @@ -package c.i.a.c.z1; - -import c.i.a.c.i2.k; -import c.i.a.c.z1.q; -/* compiled from: lambda */ -public final /* synthetic */ class b implements k { - public static final /* synthetic */ b a = new b(); - - @Override // c.i.a.c.i2.k - public final void accept(Object obj) { - ((q.a) obj).b(); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/b0.java b/app/src/main/java/c/i/a/c/z1/b0.java deleted file mode 100644 index ac94ced489..0000000000 --- a/app/src/main/java/c/i/a/c/z1/b0.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.a.c.z1; -/* compiled from: MediaDrmCallback */ -public interface b0 { -} diff --git a/app/src/main/java/c/i/a/c/z1/c.java b/app/src/main/java/c/i/a/c/z1/c.java deleted file mode 100644 index b878082ef1..0000000000 --- a/app/src/main/java/c/i/a/c/z1/c.java +++ /dev/null @@ -1,17 +0,0 @@ -package c.i.a.c.z1; - -import c.i.a.c.i2.k; -import c.i.a.c.z1.q; -/* compiled from: lambda */ -public final /* synthetic */ class c implements k { - public final /* synthetic */ Exception a; - - public /* synthetic */ c(Exception exc) { - this.a = exc; - } - - @Override // c.i.a.c.i2.k - public final void accept(Object obj) { - ((q.a) obj).e(this.a); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/c0.java b/app/src/main/java/c/i/a/c/z1/c0.java deleted file mode 100644 index cfa774bc07..0000000000 --- a/app/src/main/java/c/i/a/c/z1/c0.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.a.c.z1; -/* compiled from: UnsupportedMediaCrypto */ -public final class c0 implements w { -} diff --git a/app/src/main/java/c/i/a/c/z1/d.java b/app/src/main/java/c/i/a/c/z1/d.java deleted file mode 100644 index cdc94b8afc..0000000000 --- a/app/src/main/java/c/i/a/c/z1/d.java +++ /dev/null @@ -1,16 +0,0 @@ -package c.i.a.c.z1; - -import com.google.android.exoplayer2.drm.DefaultDrmSession; -/* compiled from: lambda */ -public final /* synthetic */ class d implements Runnable { - public final /* synthetic */ DefaultDrmSession i; - - public /* synthetic */ d(DefaultDrmSession defaultDrmSession) { - this.i = defaultDrmSession; - } - - @Override // java.lang.Runnable - public final void run() { - this.i.b(null); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/e.java b/app/src/main/java/c/i/a/c/z1/e.java deleted file mode 100644 index 7fbc3bd9c5..0000000000 --- a/app/src/main/java/c/i/a/c/z1/e.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.z1; - -import c.i.a.c.z1.q; -/* compiled from: lambda */ -public final /* synthetic */ class e implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ q j; - - public /* synthetic */ e(q.a aVar, q qVar) { - this.i = aVar; - this.j = qVar; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - this.j.F(aVar.a, aVar.b); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/f.java b/app/src/main/java/c/i/a/c/z1/f.java deleted file mode 100644 index a95e1c2ec8..0000000000 --- a/app/src/main/java/c/i/a/c/z1/f.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.z1; - -import c.i.a.c.z1.q; -/* compiled from: lambda */ -public final /* synthetic */ class f implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ q j; - - public /* synthetic */ f(q.a aVar, q qVar) { - this.i = aVar; - this.j = qVar; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - this.j.R(aVar.a, aVar.b); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/g.java b/app/src/main/java/c/i/a/c/z1/g.java deleted file mode 100644 index 4223cb8d6f..0000000000 --- a/app/src/main/java/c/i/a/c/z1/g.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.z1; - -import c.i.a.c.z1.q; -/* compiled from: lambda */ -public final /* synthetic */ class g implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ q j; - - public /* synthetic */ g(q.a aVar, q qVar) { - this.i = aVar; - this.j = qVar; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - this.j.B(aVar.a, aVar.b); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/h.java b/app/src/main/java/c/i/a/c/z1/h.java deleted file mode 100644 index bfa60881d1..0000000000 --- a/app/src/main/java/c/i/a/c/z1/h.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.z1; - -import c.i.a.c.z1.q; -/* compiled from: lambda */ -public final /* synthetic */ class h implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ q j; - - public /* synthetic */ h(q.a aVar, q qVar) { - this.i = aVar; - this.j = qVar; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - this.j.L(aVar.a, aVar.b); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/i.java b/app/src/main/java/c/i/a/c/z1/i.java deleted file mode 100644 index 9246b010a2..0000000000 --- a/app/src/main/java/c/i/a/c/z1/i.java +++ /dev/null @@ -1,19 +0,0 @@ -package c.i.a.c.z1; - -import c.i.a.c.z1.q; -/* compiled from: lambda */ -public final /* synthetic */ class i implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ q j; - - public /* synthetic */ i(q.a aVar, q qVar) { - this.i = aVar; - this.j = qVar; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - this.j.W(aVar.a, aVar.b); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/j.java b/app/src/main/java/c/i/a/c/z1/j.java deleted file mode 100644 index 72fd4f980b..0000000000 --- a/app/src/main/java/c/i/a/c/z1/j.java +++ /dev/null @@ -1,21 +0,0 @@ -package c.i.a.c.z1; - -import c.i.a.c.z1.q; -/* compiled from: lambda */ -public final /* synthetic */ class j implements Runnable { - public final /* synthetic */ q.a i; - public final /* synthetic */ q j; - public final /* synthetic */ Exception k; - - public /* synthetic */ j(q.a aVar, q qVar, Exception exc) { - this.i = aVar; - this.j = qVar; - this.k = exc; - } - - @Override // java.lang.Runnable - public final void run() { - q.a aVar = this.i; - this.j.o(aVar.a, aVar.b, this.k); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/k.java b/app/src/main/java/c/i/a/c/z1/k.java deleted file mode 100644 index 02c11b90a7..0000000000 --- a/app/src/main/java/c/i/a/c/z1/k.java +++ /dev/null @@ -1,12 +0,0 @@ -package c.i.a.c.z1; - -import c.i.a.c.z1.q; -/* compiled from: lambda */ -public final /* synthetic */ class k implements c.i.a.c.i2.k { - public static final /* synthetic */ k a = new k(); - - @Override // c.i.a.c.i2.k - public final void accept(Object obj) { - ((q.a) obj).d(); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/l.java b/app/src/main/java/c/i/a/c/z1/l.java deleted file mode 100644 index 274ce2c72b..0000000000 --- a/app/src/main/java/c/i/a/c/z1/l.java +++ /dev/null @@ -1,26 +0,0 @@ -package c.i.a.c.z1; - -import android.media.UnsupportedSchemeException; -import android.util.Log; -import c.i.a.c.z1.x; -import com.google.android.exoplayer2.drm.UnsupportedDrmException; -import java.util.UUID; -/* compiled from: lambda */ -public final /* synthetic */ class l implements x.c { - public static final /* synthetic */ l a = new l(); - - @Override // c.i.a.c.z1.x.c - public final x a(UUID uuid) { - int i = z.a; - try { - return new z(uuid); - } catch (UnsupportedSchemeException e) { - throw new UnsupportedDrmException(1, e); - } catch (Exception e2) { - throw new UnsupportedDrmException(2, e2); - } catch (UnsupportedDrmException unused) { - Log.e("FrameworkMediaDrm", "Failed to instantiate a FrameworkMediaDrm for uuid: " + uuid + "."); - return new u(); - } - } -} diff --git a/app/src/main/java/c/i/a/c/z1/m.java b/app/src/main/java/c/i/a/c/z1/m.java deleted file mode 100644 index 37c4b88dd9..0000000000 --- a/app/src/main/java/c/i/a/c/z1/m.java +++ /dev/null @@ -1,26 +0,0 @@ -package c.i.a.c.z1; - -import android.media.MediaDrm; -import c.i.a.c.z1.x; -import com.google.android.exoplayer2.drm.DefaultDrmSessionManager; -import java.util.Objects; -/* compiled from: lambda */ -public final /* synthetic */ class m implements MediaDrm.OnEventListener { - public final /* synthetic */ z a; - public final /* synthetic */ x.b b; - - public /* synthetic */ m(z zVar, x.b bVar) { - this.a = zVar; - this.b = bVar; - } - - @Override // android.media.MediaDrm.OnEventListener - public final void onEvent(MediaDrm mediaDrm, byte[] bArr, int i, int i2, byte[] bArr2) { - z zVar = this.a; - x.b bVar = this.b; - Objects.requireNonNull(zVar); - DefaultDrmSessionManager.c cVar = DefaultDrmSessionManager.this.f2723x; - Objects.requireNonNull(cVar); - cVar.obtainMessage(i, bArr).sendToTarget(); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/n.java b/app/src/main/java/c/i/a/c/z1/n.java deleted file mode 100644 index 3d0a6b4968..0000000000 --- a/app/src/main/java/c/i/a/c/z1/n.java +++ /dev/null @@ -1,13 +0,0 @@ -package c.i.a.c.z1; - -import c.i.a.c.i2.k; -import c.i.a.c.z1.q; -/* compiled from: lambda */ -public final /* synthetic */ class n implements k { - public static final /* synthetic */ n a = new n(); - - @Override // c.i.a.c.i2.k - public final void accept(Object obj) { - ((q.a) obj).a(); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/o.java b/app/src/main/java/c/i/a/c/z1/o.java deleted file mode 100644 index b2c4afc317..0000000000 --- a/app/src/main/java/c/i/a/c/z1/o.java +++ /dev/null @@ -1,13 +0,0 @@ -package c.i.a.c.z1; - -import c.i.a.c.i2.k; -import c.i.a.c.z1.q; -/* compiled from: lambda */ -public final /* synthetic */ class o implements k { - public static final /* synthetic */ o a = new o(); - - @Override // c.i.a.c.i2.k - public final void accept(Object obj) { - ((q.a) obj).c(); - } -} diff --git a/app/src/main/java/c/i/a/c/z1/p.java b/app/src/main/java/c/i/a/c/z1/p.java deleted file mode 100644 index 355f2484a2..0000000000 --- a/app/src/main/java/c/i/a/c/z1/p.java +++ /dev/null @@ -1,68 +0,0 @@ -package c.i.a.c.z1; - -import android.net.Uri; -import androidx.annotation.GuardedBy; -import androidx.annotation.RequiresApi; -import c.c.a.a0.d; -import c.i.a.c.h0; -import c.i.a.c.h2.q; -import c.i.a.c.h2.r; -import c.i.a.c.v0; -import c.i.a.f.e.o.c; -import com.google.android.exoplayer2.drm.DefaultDrmSessionManager; -import java.util.Arrays; -import java.util.HashMap; -import java.util.Map; -import java.util.Objects; -import java.util.UUID; -/* compiled from: DefaultDrmSessionManagerProvider */ -public final class p implements t { - public final Object a = new Object(); - @GuardedBy("lock") - public v0.e b; - @GuardedBy("lock") - - /* renamed from: c reason: collision with root package name */ - public s f1083c; - - @RequiresApi(18) - public final s a(v0.e eVar) { - q.b bVar = new q.b(); - bVar.b = null; - Uri uri = eVar.b; - a0 a0Var = new a0(uri == null ? null : uri.toString(), eVar.f, bVar); - for (Map.Entry entry : eVar.f1050c.entrySet()) { - String key = entry.getKey(); - String value = entry.getValue(); - Objects.requireNonNull(key); - Objects.requireNonNull(value); - synchronized (a0Var.d) { - a0Var.d.put(key, value); - } - } - HashMap hashMap = new HashMap(); - UUID uuid = h0.d; - int i = z.a; - r rVar = new r(); - UUID uuid2 = eVar.a; - l lVar = l.a; - Objects.requireNonNull(uuid2); - boolean z2 = eVar.d; - boolean z3 = eVar.e; - int[] l0 = c.l0(eVar.g); - for (int i2 : l0) { - boolean z4 = true; - if (!(i2 == 2 || i2 == 1)) { - z4 = false; - } - d.k(z4); - } - DefaultDrmSessionManager defaultDrmSessionManager = new DefaultDrmSessionManager(uuid2, lVar, a0Var, hashMap, z2, (int[]) l0.clone(), z3, rVar, 300000, null); - byte[] bArr = eVar.h; - byte[] copyOf = bArr != null ? Arrays.copyOf(bArr, bArr.length) : null; - d.D(defaultDrmSessionManager.m.isEmpty()); - defaultDrmSessionManager.v = 0; - defaultDrmSessionManager.f2722w = copyOf; - return defaultDrmSessionManager; - } -} diff --git a/app/src/main/java/c/i/a/c/z1/q.java b/app/src/main/java/c/i/a/c/z1/q.java deleted file mode 100644 index 7b71c3c584..0000000000 --- a/app/src/main/java/c/i/a/c/z1/q.java +++ /dev/null @@ -1,111 +0,0 @@ -package c.i.a.c.z1; - -import android.os.Handler; -import androidx.annotation.CheckResult; -import androidx.annotation.Nullable; -import c.i.a.c.d2.y; -import c.i.a.c.i2.f0; -import java.util.Iterator; -import java.util.concurrent.CopyOnWriteArrayList; -/* compiled from: DrmSessionEventListener */ -public interface q { - - /* compiled from: DrmSessionEventListener */ - public static class a { - public final int a; - @Nullable - public final y.a b; - - /* renamed from: c reason: collision with root package name */ - public final CopyOnWriteArrayList f1084c; - - /* compiled from: DrmSessionEventListener */ - /* renamed from: c.i.a.c.z1.q$a$a reason: collision with other inner class name */ - public static final class C0100a { - public Handler a; - public q b; - - public C0100a(Handler handler, q qVar) { - this.a = handler; - this.b = qVar; - } - } - - public a() { - this.f1084c = new CopyOnWriteArrayList<>(); - this.a = 0; - this.b = null; - } - - public a(CopyOnWriteArrayList copyOnWriteArrayList, int i, @Nullable y.a aVar) { - this.f1084c = copyOnWriteArrayList; - this.a = i; - this.b = aVar; - } - - public void a() { - Iterator it = this.f1084c.iterator(); - while (it.hasNext()) { - C0100a next = it.next(); - f0.D(next.a, new h(this, next.b)); - } - } - - public void b() { - Iterator it = this.f1084c.iterator(); - while (it.hasNext()) { - C0100a next = it.next(); - f0.D(next.a, new g(this, next.b)); - } - } - - public void c() { - Iterator it = this.f1084c.iterator(); - while (it.hasNext()) { - C0100a next = it.next(); - f0.D(next.a, new i(this, next.b)); - } - } - - public void d() { - Iterator it = this.f1084c.iterator(); - while (it.hasNext()) { - C0100a next = it.next(); - f0.D(next.a, new e(this, next.b)); - } - } - - public void e(Exception exc) { - Iterator it = this.f1084c.iterator(); - while (it.hasNext()) { - C0100a next = it.next(); - f0.D(next.a, new j(this, next.b, exc)); - } - } - - public void f() { - Iterator it = this.f1084c.iterator(); - while (it.hasNext()) { - C0100a next = it.next(); - f0.D(next.a, new f(this, next.b)); - } - } - - @CheckResult - public a g(int i, @Nullable y.a aVar) { - return new a(this.f1084c, i, aVar); - } - } - - void B(int i, @Nullable y.a aVar); - - void F(int i, @Nullable y.a aVar); - - void L(int i, @Nullable y.a aVar); - - void R(int i, @Nullable y.a aVar); - - void W(int i, @Nullable y.a aVar); - - void o(int i, @Nullable y.a aVar, Exception exc); -} diff --git a/app/src/main/java/c/i/a/c/z1/r.java b/app/src/main/java/c/i/a/c/z1/r.java deleted file mode 100644 index 77037f3495..0000000000 --- a/app/src/main/java/c/i/a/c/z1/r.java +++ /dev/null @@ -1,9 +0,0 @@ -package c.i.a.c.z1; -/* compiled from: DrmSessionManager */ -public final /* synthetic */ class r { - public static void a(s sVar) { - } - - public static void b(s sVar) { - } -} diff --git a/app/src/main/java/c/i/a/c/z1/s.java b/app/src/main/java/c/i/a/c/z1/s.java deleted file mode 100644 index 1cff4893fc..0000000000 --- a/app/src/main/java/c/i/a/c/z1/s.java +++ /dev/null @@ -1,53 +0,0 @@ -package c.i.a.c.z1; - -import android.os.Looper; -import androidx.annotation.Nullable; -import c.i.a.c.z1.q; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.drm.DrmSession; -import com.google.android.exoplayer2.drm.UnsupportedDrmException; -/* compiled from: DrmSessionManager */ -public interface s { - public static final s a = new a(); - - /* compiled from: DrmSessionManager */ - public class a implements s { - @Override // c.i.a.c.z1.s - public /* synthetic */ void a() { - r.a(this); - } - - @Override // c.i.a.c.z1.s - @Nullable - public DrmSession b(Looper looper, @Nullable q.a aVar, Format format) { - if (format.f2695w == null) { - return null; - } - return new v(new DrmSession.DrmSessionException(new UnsupportedDrmException(1))); - } - - @Override // c.i.a.c.z1.s - @Nullable - public Class c(Format format) { - if (format.f2695w != null) { - return c0.class; - } - return null; - } - - @Override // c.i.a.c.z1.s - public /* synthetic */ void release() { - r.b(this); - } - } - - void a(); - - @Nullable - DrmSession b(Looper looper, @Nullable q.a aVar, Format format); - - @Nullable - Class c(Format format); - - void release(); -} diff --git a/app/src/main/java/c/i/a/c/z1/t.java b/app/src/main/java/c/i/a/c/z1/t.java deleted file mode 100644 index e683e9035a..0000000000 --- a/app/src/main/java/c/i/a/c/z1/t.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.a.c.z1; -/* compiled from: DrmSessionManagerProvider */ -public interface t { -} diff --git a/app/src/main/java/c/i/a/c/z1/u.java b/app/src/main/java/c/i/a/c/z1/u.java deleted file mode 100644 index ce053e7456..0000000000 --- a/app/src/main/java/c/i/a/c/z1/u.java +++ /dev/null @@ -1,71 +0,0 @@ -package c.i.a.c.z1; - -import android.media.MediaDrmException; -import androidx.annotation.Nullable; -import androidx.annotation.RequiresApi; -import c.i.a.c.z1.x; -import com.google.android.exoplayer2.drm.DrmInitData; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -/* compiled from: DummyExoMediaDrm */ -@RequiresApi(18) -public final class u implements x { - @Override // c.i.a.c.z1.x - public Class a() { - return c0.class; - } - - @Override // c.i.a.c.z1.x - public Map b(byte[] bArr) { - throw new IllegalStateException(); - } - - @Override // c.i.a.c.z1.x - public w c(byte[] bArr) { - throw new IllegalStateException(); - } - - @Override // c.i.a.c.z1.x - public x.d d() { - throw new IllegalStateException(); - } - - @Override // c.i.a.c.z1.x - public byte[] e() throws MediaDrmException { - throw new MediaDrmException("Attempting to open a session using a dummy ExoMediaDrm."); - } - - @Override // c.i.a.c.z1.x - public void f(byte[] bArr, byte[] bArr2) { - throw new IllegalStateException(); - } - - @Override // c.i.a.c.z1.x - public void g(byte[] bArr) { - } - - @Override // c.i.a.c.z1.x - public void h(@Nullable x.b bVar) { - } - - @Override // c.i.a.c.z1.x - @Nullable - public byte[] i(byte[] bArr, byte[] bArr2) { - throw new IllegalStateException(); - } - - @Override // c.i.a.c.z1.x - public void j(byte[] bArr) { - throw new IllegalStateException(); - } - - @Override // c.i.a.c.z1.x - public x.a k(byte[] bArr, @Nullable List list, int i, @Nullable HashMap hashMap) { - throw new IllegalStateException(); - } - - @Override // c.i.a.c.z1.x - public void release() { - } -} diff --git a/app/src/main/java/c/i/a/c/z1/v.java b/app/src/main/java/c/i/a/c/z1/v.java deleted file mode 100644 index 6d9f60303e..0000000000 --- a/app/src/main/java/c/i/a/c/z1/v.java +++ /dev/null @@ -1,50 +0,0 @@ -package c.i.a.c.z1; - -import androidx.annotation.Nullable; -import c.i.a.c.h0; -import c.i.a.c.z1.q; -import com.google.android.exoplayer2.drm.DrmSession; -import java.util.UUID; -/* compiled from: ErrorStateDrmSession */ -public final class v implements DrmSession { - public final DrmSession.DrmSessionException a; - - public v(DrmSession.DrmSessionException drmSessionException) { - this.a = drmSessionException; - } - - @Override // com.google.android.exoplayer2.drm.DrmSession - public void a(@Nullable q.a aVar) { - } - - @Override // com.google.android.exoplayer2.drm.DrmSession - public void b(@Nullable q.a aVar) { - } - - @Override // com.google.android.exoplayer2.drm.DrmSession - public final UUID c() { - return h0.a; - } - - @Override // com.google.android.exoplayer2.drm.DrmSession - public boolean d() { - return false; - } - - @Override // com.google.android.exoplayer2.drm.DrmSession - @Nullable - public w e() { - return null; - } - - @Override // com.google.android.exoplayer2.drm.DrmSession - @Nullable - public DrmSession.DrmSessionException f() { - return this.a; - } - - @Override // com.google.android.exoplayer2.drm.DrmSession - public int getState() { - return 1; - } -} diff --git a/app/src/main/java/c/i/a/c/z1/w.java b/app/src/main/java/c/i/a/c/z1/w.java deleted file mode 100644 index 0be5e5d1a7..0000000000 --- a/app/src/main/java/c/i/a/c/z1/w.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.a.c.z1; -/* compiled from: ExoMediaCrypto */ -public interface w { -} diff --git a/app/src/main/java/c/i/a/c/z1/x.java b/app/src/main/java/c/i/a/c/z1/x.java deleted file mode 100644 index a9659232a9..0000000000 --- a/app/src/main/java/c/i/a/c/z1/x.java +++ /dev/null @@ -1,71 +0,0 @@ -package c.i.a.c.z1; - -import android.media.DeniedByServerException; -import android.media.MediaCryptoException; -import android.media.MediaDrmException; -import android.media.NotProvisionedException; -import androidx.annotation.Nullable; -import com.google.android.exoplayer2.drm.DrmInitData; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.UUID; -/* compiled from: ExoMediaDrm */ -public interface x { - - /* compiled from: ExoMediaDrm */ - public static final class a { - public final byte[] a; - public final String b; - - public a(byte[] bArr, String str, int i) { - this.a = bArr; - this.b = str; - } - } - - /* compiled from: ExoMediaDrm */ - public interface b { - } - - /* compiled from: ExoMediaDrm */ - public interface c { - x a(UUID uuid); - } - - /* compiled from: ExoMediaDrm */ - public static final class d { - public final byte[] a; - public final String b; - - public d(byte[] bArr, String str) { - this.a = bArr; - this.b = str; - } - } - - Class a(); - - Map b(byte[] bArr); - - w c(byte[] bArr) throws MediaCryptoException; - - d d(); - - byte[] e() throws MediaDrmException; - - void f(byte[] bArr, byte[] bArr2); - - void g(byte[] bArr); - - void h(@Nullable b bVar); - - @Nullable - byte[] i(byte[] bArr, byte[] bArr2) throws NotProvisionedException, DeniedByServerException; - - void j(byte[] bArr) throws DeniedByServerException; - - a k(byte[] bArr, @Nullable List list, int i, @Nullable HashMap hashMap) throws NotProvisionedException; - - void release(); -} diff --git a/app/src/main/java/c/i/a/c/z1/y.java b/app/src/main/java/c/i/a/c/z1/y.java deleted file mode 100644 index fb88001e25..0000000000 --- a/app/src/main/java/c/i/a/c/z1/y.java +++ /dev/null @@ -1,32 +0,0 @@ -package c.i.a.c.z1; - -import c.i.a.c.i2.f0; -import java.util.UUID; -/* compiled from: FrameworkMediaCrypto */ -public final class y implements w { - public static final boolean a; - public final UUID b; - - /* renamed from: c reason: collision with root package name */ - public final byte[] f1085c; - public final boolean d; - - static { - boolean z2; - if ("Amazon".equals(f0.f965c)) { - String str = f0.d; - if ("AFTM".equals(str) || "AFTB".equals(str)) { - z2 = true; - a = z2; - } - } - z2 = false; - a = z2; - } - - public y(UUID uuid, byte[] bArr, boolean z2) { - this.b = uuid; - this.f1085c = bArr; - this.d = z2; - } -} diff --git a/app/src/main/java/c/i/a/c/z1/z.java b/app/src/main/java/c/i/a/c/z1/z.java deleted file mode 100644 index 5239e36dad..0000000000 --- a/app/src/main/java/c/i/a/c/z1/z.java +++ /dev/null @@ -1,303 +0,0 @@ -package c.i.a.c.z1; - -import android.media.DeniedByServerException; -import android.media.MediaCryptoException; -import android.media.MediaDrm; -import android.media.MediaDrmException; -import android.media.NotProvisionedException; -import android.media.UnsupportedSchemeException; -import android.text.TextUtils; -import android.util.Log; -import androidx.annotation.Nullable; -import androidx.annotation.RequiresApi; -import c.c.a.a0.d; -import c.d.b.a.a; -import c.i.a.c.a2.h0.j; -import c.i.a.c.h0; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.p; -import c.i.a.c.z1.x; -import c.i.b.a.c; -import com.discord.widgets.chat.input.MentionUtilsKt; -import com.google.android.exoplayer2.drm.DrmInitData; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; -import java.nio.charset.Charset; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import java.util.UUID; -import org.json.JSONArray; -import org.json.JSONException; -import org.json.JSONObject; -/* compiled from: FrameworkMediaDrm */ -@RequiresApi(18) -public final class z implements x { - public static final /* synthetic */ int a = 0; - public final UUID b; - - /* renamed from: c reason: collision with root package name */ - public final MediaDrm f1086c; - public int d; - - public z(UUID uuid) throws UnsupportedSchemeException { - UUID uuid2; - Objects.requireNonNull(uuid); - d.n(!h0.b.equals(uuid), "Use C.CLEARKEY_UUID instead"); - this.b = uuid; - MediaDrm mediaDrm = new MediaDrm((f0.a >= 27 || !h0.f939c.equals(uuid)) ? uuid : uuid2); - this.f1086c = mediaDrm; - this.d = 1; - if (h0.d.equals(uuid) && "ASUS_Z00AD".equals(f0.d)) { - mediaDrm.setPropertyString("securityLevel", "L3"); - } - } - - @Override // c.i.a.c.z1.x - public Class a() { - return y.class; - } - - @Override // c.i.a.c.z1.x - public Map b(byte[] bArr) { - return this.f1086c.queryKeyStatus(bArr); - } - - @Override // c.i.a.c.z1.x - public w c(byte[] bArr) throws MediaCryptoException { - int i = f0.a; - boolean z2 = i < 21 && h0.d.equals(this.b) && "L3".equals(this.f1086c.getPropertyString("securityLevel")); - UUID uuid = this.b; - if (i < 27 && h0.f939c.equals(uuid)) { - uuid = h0.b; - } - return new y(uuid, bArr, z2); - } - - @Override // c.i.a.c.z1.x - public x.d d() { - MediaDrm.ProvisionRequest provisionRequest = this.f1086c.getProvisionRequest(); - return new x.d(provisionRequest.getData(), provisionRequest.getDefaultUrl()); - } - - @Override // c.i.a.c.z1.x - public byte[] e() throws MediaDrmException { - return this.f1086c.openSession(); - } - - @Override // c.i.a.c.z1.x - public void f(byte[] bArr, byte[] bArr2) { - this.f1086c.restoreKeys(bArr, bArr2); - } - - @Override // c.i.a.c.z1.x - public void g(byte[] bArr) { - this.f1086c.closeSession(bArr); - } - - @Override // c.i.a.c.z1.x - public void h(@Nullable x.b bVar) { - this.f1086c.setOnEventListener(new m(this, bVar)); - } - - @Override // c.i.a.c.z1.x - @Nullable - public byte[] i(byte[] bArr, byte[] bArr2) throws NotProvisionedException, DeniedByServerException { - if (h0.f939c.equals(this.b) && f0.a < 27) { - try { - JSONObject jSONObject = new JSONObject(f0.l(bArr2)); - StringBuilder sb = new StringBuilder("{\"keys\":["); - JSONArray jSONArray = jSONObject.getJSONArray("keys"); - for (int i = 0; i < jSONArray.length(); i++) { - if (i != 0) { - sb.append(","); - } - JSONObject jSONObject2 = jSONArray.getJSONObject(i); - sb.append("{\"k\":\""); - sb.append(jSONObject2.getString("k").replace('-', '+').replace('_', MentionUtilsKt.SLASH_CHAR)); - sb.append("\",\"kid\":\""); - sb.append(jSONObject2.getString("kid").replace('-', '+').replace('_', MentionUtilsKt.SLASH_CHAR)); - sb.append("\",\"kty\":\""); - sb.append(jSONObject2.getString("kty")); - sb.append("\"}"); - } - sb.append("]}"); - bArr2 = f0.w(sb.toString()); - } catch (JSONException e) { - StringBuilder O = a.O("Failed to adjust response data: "); - O.append(f0.l(bArr2)); - p.b("ClearKeyUtil", O.toString(), e); - } - } - return this.f1086c.provideKeyResponse(bArr, bArr2); - } - - @Override // c.i.a.c.z1.x - public void j(byte[] bArr) throws DeniedByServerException { - this.f1086c.provideProvisionResponse(bArr); - } - - /* JADX WARNING: Code restructure failed: missing block: B:85:0x020a, code lost: - if ("AFTT".equals(r4) == false) goto L_0x0213; - */ - /* JADX WARNING: Code restructure failed: missing block: B:87:0x0210, code lost: - if (r1 != null) goto L_0x0214; - */ - @Override // c.i.a.c.z1.x - public x.a k(byte[] bArr, @Nullable List list, int i, @Nullable HashMap hashMap) throws NotProvisionedException { - String str; - byte[] bArr2; - byte[] bArr3; - DrmInitData.SchemeData schemeData; - boolean z2; - DrmInitData.SchemeData schemeData2 = null; - if (list != null) { - if (!h0.d.equals(this.b)) { - schemeData = list.get(0); - } else { - if (f0.a >= 28 && list.size() > 1) { - DrmInitData.SchemeData schemeData3 = list.get(0); - int i2 = 0; - int i3 = 0; - while (true) { - if (i2 >= list.size()) { - z2 = true; - break; - } - DrmInitData.SchemeData schemeData4 = list.get(i2); - byte[] bArr4 = schemeData4.m; - Objects.requireNonNull(bArr4); - if (!(f0.a(schemeData4.l, schemeData3.l) && f0.a(schemeData4.k, schemeData3.k))) { - break; - } - if (!(d.v1(bArr4) != null)) { - break; - } - i3 += bArr4.length; - i2++; - } - z2 = false; - if (z2) { - byte[] bArr5 = new byte[i3]; - int i4 = 0; - for (int i5 = 0; i5 < list.size(); i5++) { - byte[] bArr6 = list.get(i5).m; - Objects.requireNonNull(bArr6); - int length = bArr6.length; - System.arraycopy(bArr6, 0, bArr5, i4, length); - i4 += length; - } - schemeData = new DrmInitData.SchemeData(schemeData3.j, schemeData3.k, schemeData3.l, bArr5); - } - } - for (int i6 = 0; i6 < list.size(); i6++) { - DrmInitData.SchemeData schemeData5 = list.get(i6); - byte[] bArr7 = schemeData5.m; - Objects.requireNonNull(bArr7); - j v1 = d.v1(bArr7); - int i7 = v1 == null ? -1 : v1.b; - int i8 = f0.a; - if ((i8 < 23 && i7 == 0) || (i8 >= 23 && i7 == 1)) { - schemeData2 = schemeData5; - break; - } - } - schemeData = list.get(0); - } - schemeData2 = schemeData; - UUID uuid = this.b; - byte[] bArr8 = schemeData2.m; - Objects.requireNonNull(bArr8); - UUID uuid2 = h0.e; - if (uuid2.equals(uuid)) { - byte[] w1 = d.w1(bArr8, uuid); - if (w1 != null) { - bArr8 = w1; - } - int i9 = (bArr8[0] & 255) | ((bArr8[1] & 255) << 8) | ((bArr8[2] & 255) << 16) | ((bArr8[3] & 255) << 24); - short s = (short) (((bArr8[5] & 255) << 8) | (bArr8[4] & 255)); - short s2 = (short) (((bArr8[7] & 255) << 8) | (bArr8[6] & 255)); - if (s == 1 && s2 == 1) { - int i10 = (bArr8[9] & 255) << 8; - Charset charset = c.d; - String str2 = new String(bArr8, 10, (short) (i10 | (bArr8[8] & 255)), charset); - if (!str2.contains("")) { - int indexOf = str2.indexOf(""); - if (indexOf == -1) { - Log.w("FrameworkMediaDrm", "Could not find the tag. Skipping LA_URL workaround."); - } - String str3 = str2.substring(0, indexOf) + "https://x" + str2.substring(indexOf); - int i11 = i9 + 52; - ByteBuffer allocate = ByteBuffer.allocate(i11); - allocate.order(ByteOrder.LITTLE_ENDIAN); - allocate.putInt(i11); - allocate.putShort((short) s); - allocate.putShort((short) s2); - allocate.putShort((short) (str3.length() * 2)); - allocate.put(str3.getBytes(charset)); - bArr8 = allocate.array(); - } - } else { - Log.i("FrameworkMediaDrm", "Unexpected record count or type. Skipping LA_URL workaround."); - } - int length2 = (bArr8 != null ? bArr8.length : 0) + 32; - ByteBuffer allocate2 = ByteBuffer.allocate(length2); - allocate2.putInt(length2); - allocate2.putInt(1886614376); - allocate2.putInt(0); - allocate2.putLong(uuid2.getMostSignificantBits()); - allocate2.putLong(uuid2.getLeastSignificantBits()); - if (!(bArr8 == null || bArr8.length == 0)) { - allocate2.putInt(bArr8.length); - allocate2.put(bArr8); - } - bArr8 = allocate2.array(); - } - int i12 = f0.a; - if (i12 >= 23 || !h0.d.equals(uuid)) { - if (uuid2.equals(uuid) && "Amazon".equals(f0.f965c)) { - String str4 = f0.d; - if (!"AFTB".equals(str4)) { - if (!"AFTS".equals(str4)) { - if (!"AFTM".equals(str4)) { - } - } - } - } - bArr3 = bArr8; - UUID uuid3 = this.b; - String str5 = schemeData2.l; - bArr2 = bArr3; - str = (i12 >= 26 || !h0.f939c.equals(uuid3) || (!"video/mp4".equals(str5) && !"audio/mp4".equals(str5))) ? str5 : "cenc"; - } - bArr3 = d.w1(bArr8, uuid); - } else { - bArr2 = null; - str = null; - } - MediaDrm.KeyRequest keyRequest = this.f1086c.getKeyRequest(bArr, bArr2, str, i, hashMap); - UUID uuid4 = this.b; - byte[] data = keyRequest.getData(); - if (h0.f939c.equals(uuid4) && f0.a < 27) { - data = f0.w(f0.l(data).replace('+', '-').replace(MentionUtilsKt.SLASH_CHAR, '_')); - } - String defaultUrl = keyRequest.getDefaultUrl(); - if ("https://x".equals(defaultUrl)) { - defaultUrl = ""; - } - if (TextUtils.isEmpty(defaultUrl) && schemeData2 != null && !TextUtils.isEmpty(schemeData2.k)) { - defaultUrl = schemeData2.k; - } - return new x.a(data, defaultUrl, f0.a >= 23 ? keyRequest.getRequestType() : Integer.MIN_VALUE); - } - - @Override // c.i.a.c.z1.x - public synchronized void release() { - int i = this.d - 1; - this.d = i; - if (i == 0) { - this.f1086c.release(); - } - } -} diff --git a/app/src/main/java/c/i/a/c/z2/a.java b/app/src/main/java/c/i/a/c/z2/a.java new file mode 100644 index 0000000000..c61c26f9f9 --- /dev/null +++ b/app/src/main/java/c/i/a/c/z2/a.java @@ -0,0 +1,21 @@ +package c.i.a.c.z2; + +import androidx.annotation.Nullable; +import c.i.a.c.j1; +import c.i.a.c.p1; +import com.google.android.exoplayer2.metadata.Metadata; +/* compiled from: Metadata */ +public final /* synthetic */ class a { + @Nullable + public static byte[] a(Metadata.Entry entry) { + return null; + } + + @Nullable + public static j1 b(Metadata.Entry entry) { + return null; + } + + public static void c(Metadata.Entry entry, p1.b bVar) { + } +} diff --git a/app/src/main/java/c/i/a/c/z2/b.java b/app/src/main/java/c/i/a/c/z2/b.java new file mode 100644 index 0000000000..800d60f6ad --- /dev/null +++ b/app/src/main/java/c/i/a/c/z2/b.java @@ -0,0 +1,9 @@ +package c.i.a.c.z2; + +import androidx.annotation.Nullable; +import com.google.android.exoplayer2.metadata.Metadata; +/* compiled from: MetadataDecoder */ +public interface b { + @Nullable + Metadata a(d dVar); +} diff --git a/app/src/main/java/c/i/a/c/z2/c.java b/app/src/main/java/c/i/a/c/z2/c.java new file mode 100644 index 0000000000..545684e538 --- /dev/null +++ b/app/src/main/java/c/i/a/c/z2/c.java @@ -0,0 +1,75 @@ +package c.i.a.c.z2; + +import c.i.a.c.j1; +import c.i.a.c.z2.k.b; +/* compiled from: MetadataDecoderFactory */ +public interface c { + public static final c a = new a(); + + /* compiled from: MetadataDecoderFactory */ + public class a implements c { + @Override // c.i.a.c.z2.c + public boolean a(j1 j1Var) { + String str = j1Var.v; + return "application/id3".equals(str) || "application/x-emsg".equals(str) || "application/x-scte35".equals(str) || "application/x-icy".equals(str) || "application/vnd.dvb.ait".equals(str); + } + + @Override // c.i.a.c.z2.c + public b b(j1 j1Var) { + String str = j1Var.v; + if (str != null) { + char c2 = 65535; + switch (str.hashCode()) { + case -1354451219: + if (str.equals("application/vnd.dvb.ait")) { + c2 = 0; + break; + } + break; + case -1348231605: + if (str.equals("application/x-icy")) { + c2 = 1; + break; + } + break; + case -1248341703: + if (str.equals("application/id3")) { + c2 = 2; + break; + } + break; + case 1154383568: + if (str.equals("application/x-emsg")) { + c2 = 3; + break; + } + break; + case 1652648887: + if (str.equals("application/x-scte35")) { + c2 = 4; + break; + } + break; + } + switch (c2) { + case 0: + return new c.i.a.c.z2.h.a(); + case 1: + return new c.i.a.c.z2.j.a(); + case 2: + return new b(); + case 3: + return new c.i.a.c.z2.i.a(); + case 4: + return new c.i.a.c.z2.l.a(); + } + } + String valueOf = String.valueOf(str); + throw new IllegalArgumentException(valueOf.length() != 0 ? "Attempted to create decoder for unsupported MIME type: ".concat(valueOf) : new String("Attempted to create decoder for unsupported MIME type: ")); + } + } + + boolean a(j1 j1Var); + + b b(j1 j1Var); +} diff --git a/app/src/main/java/c/i/a/c/z2/d.java b/app/src/main/java/c/i/a/c/z2/d.java new file mode 100644 index 0000000000..e0243656fa --- /dev/null +++ b/app/src/main/java/c/i/a/c/z2/d.java @@ -0,0 +1,11 @@ +package c.i.a.c.z2; + +import com.google.android.exoplayer2.decoder.DecoderInputBuffer; +/* compiled from: MetadataInputBuffer */ +public final class d extends DecoderInputBuffer { + public long q; + + public d() { + super(1); + } +} diff --git a/app/src/main/java/c/i/a/c/z2/e.java b/app/src/main/java/c/i/a/c/z2/e.java new file mode 100644 index 0000000000..ce57996a74 --- /dev/null +++ b/app/src/main/java/c/i/a/c/z2/e.java @@ -0,0 +1,7 @@ +package c.i.a.c.z2; + +import com.google.android.exoplayer2.metadata.Metadata; +/* compiled from: MetadataOutput */ +public interface e { + void b(Metadata metadata); +} diff --git a/app/src/main/java/c/i/a/c/z2/f.java b/app/src/main/java/c/i/a/c/z2/f.java new file mode 100644 index 0000000000..a8817bb10f --- /dev/null +++ b/app/src/main/java/c/i/a/c/z2/f.java @@ -0,0 +1,191 @@ +package c.i.a.c.z2; + +import android.os.Handler; +import android.os.Looper; +import android.os.Message; +import androidx.annotation.Nullable; +import c.i.a.c.f3.e0; +import c.i.a.c.j1; +import c.i.a.c.k1; +import c.i.a.c.v0; +import com.google.android.exoplayer2.metadata.Metadata; +import java.nio.ByteBuffer; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +/* compiled from: MetadataRenderer */ +public final class f extends v0 implements Handler.Callback { + public long A; + public long B; + @Nullable + public Metadata C; + public final c t; + public final e u; + @Nullable + public final Handler v; + public final d w; + @Nullable + + /* renamed from: x reason: collision with root package name */ + public b f1052x; + + /* renamed from: y reason: collision with root package name */ + public boolean f1053y; + + /* renamed from: z reason: collision with root package name */ + public boolean f1054z; + + /* JADX INFO: super call moved to the top of the method (can break code semantics) */ + public f(e eVar, @Nullable Looper looper) { + super(5); + Handler handler; + c cVar = c.a; + Objects.requireNonNull(eVar); + this.u = eVar; + if (looper == null) { + handler = null; + } else { + int i = e0.a; + handler = new Handler(looper, this); + } + this.v = handler; + this.t = cVar; + this.w = new d(); + this.B = -9223372036854775807L; + } + + @Override // c.i.a.c.v0 + public void B() { + this.C = null; + this.B = -9223372036854775807L; + this.f1052x = null; + } + + @Override // c.i.a.c.v0 + public void D(long j, boolean z2) { + this.C = null; + this.B = -9223372036854775807L; + this.f1053y = false; + this.f1054z = false; + } + + @Override // c.i.a.c.v0 + public void H(j1[] j1VarArr, long j, long j2) { + this.f1052x = this.t.b(j1VarArr[0]); + } + + public final void J(Metadata metadata, List list) { + int i = 0; + while (true) { + Metadata.Entry[] entryArr = metadata.i; + if (i < entryArr.length) { + j1 y2 = entryArr[i].y(); + if (y2 == null || !this.t.a(y2)) { + list.add(metadata.i[i]); + } else { + b b = this.t.b(y2); + byte[] o0 = metadata.i[i].o0(); + Objects.requireNonNull(o0); + this.w.p(); + this.w.r(o0.length); + ByteBuffer byteBuffer = this.w.k; + int i2 = e0.a; + byteBuffer.put(o0); + this.w.s(); + Metadata a = b.a(this.w); + if (a != null) { + J(a, list); + } + } + i++; + } else { + return; + } + } + } + + @Override // c.i.a.c.g2 + public int a(j1 j1Var) { + if (!this.t.a(j1Var)) { + return 0; + } + return (j1Var.O == 0 ? 4 : 2) | 0 | 0; + } + + @Override // c.i.a.c.f2 + public boolean b() { + return this.f1054z; + } + + @Override // c.i.a.c.f2 + public boolean d() { + return true; + } + + @Override // c.i.a.c.f2, c.i.a.c.g2 + public String getName() { + return "MetadataRenderer"; + } + + @Override // android.os.Handler.Callback + public boolean handleMessage(Message message) { + if (message.what == 0) { + this.u.b((Metadata) message.obj); + return true; + } + throw new IllegalStateException(); + } + + @Override // c.i.a.c.f2 + public void q(long j, long j2) { + boolean z2 = true; + while (z2) { + if (!this.f1053y && this.C == null) { + this.w.p(); + k1 A = A(); + int I = I(A, this.w, 0); + if (I == -4) { + if (this.w.n()) { + this.f1053y = true; + } else { + d dVar = this.w; + dVar.q = this.A; + dVar.s(); + b bVar = this.f1052x; + int i = e0.a; + Metadata a = bVar.a(this.w); + if (a != null) { + ArrayList arrayList = new ArrayList(a.i.length); + J(a, arrayList); + if (!arrayList.isEmpty()) { + this.C = new Metadata(arrayList); + this.B = this.w.m; + } + } + } + } else if (I == -5) { + j1 j1Var = A.b; + Objects.requireNonNull(j1Var); + this.A = j1Var.f822z; + } + } + Metadata metadata = this.C; + if (metadata == null || this.B > j) { + z2 = false; + } else { + Handler handler = this.v; + if (handler != null) { + handler.obtainMessage(0, metadata).sendToTarget(); + } else { + this.u.b(metadata); + } + this.C = null; + this.B = -9223372036854775807L; + z2 = true; + } + if (this.f1053y && this.C == null) { + this.f1054z = true; + } + } + } +} diff --git a/app/src/main/java/c/i/a/c/z2/g.java b/app/src/main/java/c/i/a/c/z2/g.java new file mode 100644 index 0000000000..2bfad099a2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/z2/g.java @@ -0,0 +1,24 @@ +package c.i.a.c.z2; + +import androidx.annotation.Nullable; +import c.c.a.a0.d; +import com.google.android.exoplayer2.metadata.Metadata; +import java.nio.ByteBuffer; +import java.util.Objects; +/* compiled from: SimpleMetadataDecoder */ +public abstract class g implements b { + @Override // c.i.a.c.z2.b + @Nullable + public final Metadata a(d dVar) { + ByteBuffer byteBuffer = dVar.k; + Objects.requireNonNull(byteBuffer); + d.j(byteBuffer.position() == 0 && byteBuffer.hasArray() && byteBuffer.arrayOffset() == 0); + if (dVar.m()) { + return null; + } + return b(dVar, byteBuffer); + } + + @Nullable + public abstract Metadata b(d dVar, ByteBuffer byteBuffer); +} diff --git a/app/src/main/java/c/i/a/c/z2/h/a.java b/app/src/main/java/c/i/a/c/z2/h/a.java new file mode 100644 index 0000000000..8186e6c319 --- /dev/null +++ b/app/src/main/java/c/i/a/c/z2/h/a.java @@ -0,0 +1,72 @@ +package c.i.a.c.z2.h; + +import androidx.annotation.Nullable; +import c.i.a.c.f3.w; +import c.i.a.c.z2.d; +import c.i.a.c.z2.g; +import c.i.b.a.c; +import com.google.android.exoplayer2.metadata.Metadata; +import com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable; +import java.nio.ByteBuffer; +import java.nio.charset.Charset; +import java.util.ArrayList; +/* compiled from: AppInfoTableDecoder */ +public final class a extends g { + @Override // c.i.a.c.z2.g + @Nullable + public Metadata b(d dVar, ByteBuffer byteBuffer) { + if (byteBuffer.get() == 116) { + w wVar = new w(byteBuffer.array(), byteBuffer.limit()); + wVar.m(12); + int d = (wVar.d() + wVar.g(12)) - 4; + wVar.m(44); + wVar.n(wVar.g(12)); + wVar.m(16); + ArrayList arrayList = new ArrayList(); + while (wVar.d() < d) { + wVar.m(48); + int g = wVar.g(8); + wVar.m(4); + int d2 = wVar.d() + wVar.g(12); + String str = null; + String str2 = null; + while (wVar.d() < d2) { + int g2 = wVar.g(8); + int g3 = wVar.g(8); + int d3 = wVar.d() + g3; + if (g2 == 2) { + int g4 = wVar.g(16); + wVar.m(8); + if (g4 != 3) { + } + while (wVar.d() < d3) { + int g5 = wVar.g(8); + Charset charset = c.a; + byte[] bArr = new byte[g5]; + wVar.i(bArr, 0, g5); + str = new String(bArr, charset); + int g6 = wVar.g(8); + for (int i = 0; i < g6; i++) { + wVar.n(wVar.g(8)); + } + } + } else if (g2 == 21) { + Charset charset2 = c.a; + byte[] bArr2 = new byte[g3]; + wVar.i(bArr2, 0, g3); + str2 = new String(bArr2, charset2); + } + wVar.k(d3 * 8); + } + wVar.k(d2 * 8); + if (!(str == null || str2 == null)) { + arrayList.add(new AppInfoTable(g, str2.length() != 0 ? str.concat(str2) : new String(str))); + } + } + if (!arrayList.isEmpty()) { + return new Metadata(arrayList); + } + } + return null; + } +} diff --git a/app/src/main/java/c/i/a/c/z2/i/a.java b/app/src/main/java/c/i/a/c/z2/i/a.java new file mode 100644 index 0000000000..e2f7051d28 --- /dev/null +++ b/app/src/main/java/c/i/a/c/z2/i/a.java @@ -0,0 +1,22 @@ +package c.i.a.c.z2.i; + +import c.i.a.c.f3.x; +import c.i.a.c.z2.d; +import c.i.a.c.z2.g; +import com.google.android.exoplayer2.metadata.Metadata; +import com.google.android.exoplayer2.metadata.emsg.EventMessage; +import java.nio.ByteBuffer; +import java.util.Arrays; +import java.util.Objects; +/* compiled from: EventMessageDecoder */ +public final class a extends g { + @Override // c.i.a.c.z2.g + public Metadata b(d dVar, ByteBuffer byteBuffer) { + x xVar = new x(byteBuffer.array(), byteBuffer.limit()); + String n = xVar.n(); + Objects.requireNonNull(n); + String n2 = xVar.n(); + Objects.requireNonNull(n2); + return new Metadata(new EventMessage(n, n2, xVar.m(), xVar.m(), Arrays.copyOfRange(xVar.a, xVar.b, xVar.f792c))); + } +} diff --git a/app/src/main/java/c/i/a/c/z2/i/b.java b/app/src/main/java/c/i/a/c/z2/i/b.java new file mode 100644 index 0000000000..5271cd684b --- /dev/null +++ b/app/src/main/java/c/i/a/c/z2/i/b.java @@ -0,0 +1,15 @@ +package c.i.a.c.z2.i; + +import java.io.ByteArrayOutputStream; +import java.io.DataOutputStream; +/* compiled from: EventMessageEncoder */ +public final class b { + public final ByteArrayOutputStream a; + public final DataOutputStream b; + + public b() { + ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(512); + this.a = byteArrayOutputStream; + this.b = new DataOutputStream(byteArrayOutputStream); + } +} diff --git a/app/src/main/java/c/i/a/c/z2/j/a.java b/app/src/main/java/c/i/a/c/z2/j/a.java new file mode 100644 index 0000000000..459e427ac2 --- /dev/null +++ b/app/src/main/java/c/i/a/c/z2/j/a.java @@ -0,0 +1,69 @@ +package c.i.a.c.z2.j; + +import c.i.a.c.z2.d; +import c.i.a.c.z2.g; +import c.i.a.f.e.o.f; +import c.i.b.a.c; +import com.google.android.exoplayer2.metadata.Metadata; +import com.google.android.exoplayer2.metadata.icy.IcyInfo; +import java.nio.ByteBuffer; +import java.nio.charset.CharacterCodingException; +import java.nio.charset.CharsetDecoder; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +/* compiled from: IcyDecoder */ +public final class a extends g { + public static final Pattern a = Pattern.compile("(.+?)='(.*?)';", 32); + public final CharsetDecoder b = c.f1307c.newDecoder(); + + /* renamed from: c reason: collision with root package name */ + public final CharsetDecoder f1055c = c.b.newDecoder(); + + /* JADX INFO: finally extract failed */ + @Override // c.i.a.c.z2.g + public Metadata b(d dVar, ByteBuffer byteBuffer) { + String str; + String str2 = null; + try { + str = this.b.decode(byteBuffer).toString(); + } catch (CharacterCodingException unused) { + try { + str = this.f1055c.decode(byteBuffer).toString(); + this.f1055c.reset(); + byteBuffer.rewind(); + } catch (CharacterCodingException unused2) { + this.f1055c.reset(); + byteBuffer.rewind(); + str = null; + } catch (Throwable th) { + this.f1055c.reset(); + byteBuffer.rewind(); + throw th; + } + } finally { + this.b.reset(); + byteBuffer.rewind(); + } + byte[] bArr = new byte[byteBuffer.limit()]; + byteBuffer.get(bArr); + if (str == null) { + return new Metadata(new IcyInfo(bArr, null, null)); + } + Matcher matcher = a.matcher(str); + String str3 = null; + for (int i = 0; matcher.find(i); i = matcher.end()) { + String group = matcher.group(1); + String group2 = matcher.group(2); + if (group != null) { + String d1 = f.d1(group); + d1.hashCode(); + if (d1.equals("streamurl")) { + str3 = group2; + } else if (d1.equals("streamtitle")) { + str2 = group2; + } + } + } + return new Metadata(new IcyInfo(bArr, str2, str3)); + } +} diff --git a/app/src/main/java/c/i/a/c/z2/k/a.java b/app/src/main/java/c/i/a/c/z2/k/a.java new file mode 100644 index 0000000000..d19e974021 --- /dev/null +++ b/app/src/main/java/c/i/a/c/z2/k/a.java @@ -0,0 +1,13 @@ +package c.i.a.c.z2.k; + +import c.i.a.c.z2.k.b; +/* compiled from: lambda */ +public final /* synthetic */ class a implements b.a { + public static final /* synthetic */ a a = new a(); + + @Override // c.i.a.c.z2.k.b.a + public final boolean a(int i, int i2, int i3, int i4, int i5) { + int i6 = b.a; + return false; + } +} diff --git a/app/src/main/java/c/i/a/c/z2/k/b.java b/app/src/main/java/c/i/a/c/z2/k/b.java new file mode 100644 index 0000000000..416face8cf --- /dev/null +++ b/app/src/main/java/c/i/a/c/z2/k/b.java @@ -0,0 +1,618 @@ +package c.i.a.c.z2.k; + +import android.util.Log; +import androidx.annotation.Nullable; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.w; +import c.i.a.c.f3.x; +import c.i.a.c.z2.d; +import c.i.a.c.z2.g; +import c.i.a.f.e.o.f; +import com.adjust.sdk.Constants; +import com.google.android.exoplayer2.metadata.Metadata; +import com.google.android.exoplayer2.metadata.id3.ApicFrame; +import com.google.android.exoplayer2.metadata.id3.BinaryFrame; +import com.google.android.exoplayer2.metadata.id3.ChapterFrame; +import com.google.android.exoplayer2.metadata.id3.ChapterTocFrame; +import com.google.android.exoplayer2.metadata.id3.CommentFrame; +import com.google.android.exoplayer2.metadata.id3.GeobFrame; +import com.google.android.exoplayer2.metadata.id3.Id3Frame; +import com.google.android.exoplayer2.metadata.id3.MlltFrame; +import com.google.android.exoplayer2.metadata.id3.PrivFrame; +import com.google.android.exoplayer2.metadata.id3.TextInformationFrame; +import com.google.android.exoplayer2.metadata.id3.UrlLinkFrame; +import java.io.UnsupportedEncodingException; +import java.nio.ByteBuffer; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Locale; +/* compiled from: Id3Decoder */ +public final class b extends g { + public static final /* synthetic */ int a = 0; + @Nullable + public final a b; + + /* compiled from: Id3Decoder */ + public interface a { + boolean a(int i, int i2, int i3, int i4, int i5); + } + + /* compiled from: Id3Decoder */ + /* renamed from: c.i.a.c.z2.k.b$b reason: collision with other inner class name */ + public static final class C0099b { + public final int a; + public final boolean b; + + /* renamed from: c reason: collision with root package name */ + public final int f1056c; + + public C0099b(int i, boolean z2, int i2) { + this.a = i; + this.b = z2; + this.f1056c = i2; + } + } + + public b() { + this.b = null; + } + + public b(@Nullable a aVar) { + this.b = aVar; + } + + public static byte[] c(byte[] bArr, int i, int i2) { + return i2 <= i ? e0.f : Arrays.copyOfRange(bArr, i, i2); + } + + public static ApicFrame e(x xVar, int i, int i2) throws UnsupportedEncodingException { + int i3; + String str; + int t = xVar.t(); + String t2 = t(t); + int i4 = i - 1; + byte[] bArr = new byte[i4]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, i4); + xVar.b += i4; + if (i2 == 2) { + String valueOf = String.valueOf(f.d1(new String(bArr, 0, 3, "ISO-8859-1"))); + String concat = valueOf.length() != 0 ? "image/".concat(valueOf) : new String("image/"); + if ("image/jpg".equals(concat)) { + concat = "image/jpeg"; + } + str = concat; + i3 = 2; + } else { + i3 = w(bArr, 0); + String d1 = f.d1(new String(bArr, 0, i3, "ISO-8859-1")); + str = d1.indexOf(47) == -1 ? d1.length() != 0 ? "image/".concat(d1) : new String("image/") : d1; + } + int i5 = i3 + 2; + int v = v(bArr, i5, t); + return new ApicFrame(str, new String(bArr, i5, v - i5, t2), bArr[i3 + 1] & 255, c(bArr, s(t) + v, i4)); + } + + public static BinaryFrame f(x xVar, int i, String str) { + byte[] bArr = new byte[i]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, i); + xVar.b += i; + return new BinaryFrame(str, bArr); + } + + public static ChapterFrame g(x xVar, int i, int i2, boolean z2, int i3, @Nullable a aVar) throws UnsupportedEncodingException { + int i4 = xVar.b; + int w = w(xVar.a, i4); + String str = new String(xVar.a, i4, w - i4, "ISO-8859-1"); + xVar.E(w + 1); + int f = xVar.f(); + int f2 = xVar.f(); + long u = xVar.u(); + long j = u == 4294967295L ? -1 : u; + long u2 = xVar.u(); + long j2 = u2 == 4294967295L ? -1 : u2; + ArrayList arrayList = new ArrayList(); + int i5 = i4 + i; + while (xVar.b < i5) { + Id3Frame j3 = j(i2, xVar, z2, i3, aVar); + if (j3 != null) { + arrayList.add(j3); + } + } + return new ChapterFrame(str, f, f2, j, j2, (Id3Frame[]) arrayList.toArray(new Id3Frame[0])); + } + + public static ChapterTocFrame h(x xVar, int i, int i2, boolean z2, int i3, @Nullable a aVar) throws UnsupportedEncodingException { + int i4 = xVar.b; + int w = w(xVar.a, i4); + String str = new String(xVar.a, i4, w - i4, "ISO-8859-1"); + xVar.E(w + 1); + int t = xVar.t(); + boolean z3 = (t & 2) != 0; + boolean z4 = (t & 1) != 0; + int t2 = xVar.t(); + String[] strArr = new String[t2]; + for (int i5 = 0; i5 < t2; i5++) { + int i6 = xVar.b; + int w2 = w(xVar.a, i6); + strArr[i5] = new String(xVar.a, i6, w2 - i6, "ISO-8859-1"); + xVar.E(w2 + 1); + } + ArrayList arrayList = new ArrayList(); + int i7 = i4 + i; + while (xVar.b < i7) { + Id3Frame j = j(i2, xVar, z2, i3, aVar); + if (j != null) { + arrayList.add(j); + } + } + return new ChapterTocFrame(str, z3, z4, strArr, (Id3Frame[]) arrayList.toArray(new Id3Frame[0])); + } + + @Nullable + public static CommentFrame i(x xVar, int i) throws UnsupportedEncodingException { + if (i < 4) { + return null; + } + int t = xVar.t(); + String t2 = t(t); + byte[] bArr = new byte[3]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, 3); + xVar.b += 3; + String str = new String(bArr, 0, 3); + int i2 = i - 4; + byte[] bArr2 = new byte[i2]; + System.arraycopy(xVar.a, xVar.b, bArr2, 0, i2); + xVar.b += i2; + int v = v(bArr2, 0, t); + String str2 = new String(bArr2, 0, v, t2); + int s2 = s(t) + v; + return new CommentFrame(str, str2, n(bArr2, s2, v(bArr2, s2, t), t2)); + } + + /* JADX WARNING: Code restructure failed: missing block: B:129:0x0188, code lost: + if (r13 == 67) goto L_0x018a; + */ + @Nullable + public static Id3Frame j(int i, x xVar, boolean z2, int i2, @Nullable a aVar) { + int w; + int i3; + int i4; + String str; + boolean z3; + boolean z4; + boolean z5; + boolean z6; + boolean z7; + Id3Frame id3Frame; + int t = xVar.t(); + int t2 = xVar.t(); + int t3 = xVar.t(); + int t4 = i >= 3 ? xVar.t() : 0; + if (i == 4) { + w = xVar.w(); + if (!z2) { + w = (((w >> 24) & 255) << 21) | (w & 255) | (((w >> 8) & 255) << 7) | (((w >> 16) & 255) << 14); + } + } else { + w = i == 3 ? xVar.w() : xVar.v(); + } + int i5 = w; + int y2 = i >= 3 ? xVar.y() : 0; + if (t == 0 && t2 == 0 && t3 == 0 && t4 == 0 && i5 == 0 && y2 == 0) { + xVar.E(xVar.f792c); + return null; + } + int i6 = xVar.b + i5; + if (i6 > xVar.f792c) { + Log.w("Id3Decoder", "Frame size exceeds remaining tag data"); + xVar.E(xVar.f792c); + return null; + } + if (aVar != null) { + str = "Id3Decoder"; + i4 = i6; + i3 = y2; + if (!aVar.a(i, t, t2, t3, t4)) { + xVar.E(i4); + return null; + } + } else { + str = "Id3Decoder"; + i4 = i6; + i3 = y2; + } + if (i == 3) { + z6 = (i3 & 128) != 0; + z5 = (i3 & 64) != 0; + z7 = (i3 & 32) != 0; + z3 = z6; + z4 = false; + } else if (i == 4) { + boolean z8 = (i3 & 64) != 0; + boolean z9 = (i3 & 8) != 0; + boolean z10 = (i3 & 4) != 0; + z4 = (i3 & 2) != 0; + z7 = z8; + z6 = (i3 & 1) != 0; + z3 = z9; + z5 = z10; + } else { + z7 = false; + z6 = false; + z5 = false; + z4 = false; + z3 = false; + } + if (z3 || z5) { + Log.w(str, "Skipping unsupported compressed or encrypted frame"); + xVar.E(i4); + return null; + } + if (z7) { + i5--; + xVar.F(1); + } + if (z6) { + i5 -= 4; + xVar.F(4); + } + if (z4) { + i5 = x(xVar, i5); + } + if (t == 84 && t2 == 88 && t3 == 88 && (i == 2 || t4 == 88)) { + try { + id3Frame = p(xVar, i5); + } catch (UnsupportedEncodingException unused) { + Log.w(str, "Unsupported character encoding"); + xVar.E(i4); + return null; + } catch (Throwable th) { + xVar.E(i4); + throw th; + } + } else if (t == 84) { + id3Frame = o(xVar, i5, u(i, t, t2, t3, t4)); + } else if (t == 87 && t2 == 88 && t3 == 88 && (i == 2 || t4 == 88)) { + id3Frame = r(xVar, i5); + } else if (t == 87) { + id3Frame = q(xVar, i5, u(i, t, t2, t3, t4)); + } else if (t == 80 && t2 == 82 && t3 == 73 && t4 == 86) { + id3Frame = m(xVar, i5); + } else if (t == 71 && t2 == 69 && t3 == 79 && (t4 == 66 || i == 2)) { + id3Frame = k(xVar, i5); + } else { + if (i == 2) { + if (t == 80 && t2 == 73 && t3 == 67) { + } + id3Frame = (t != 67 && t2 == 79 && t3 == 77 && (t4 == 77 || i == 2)) ? i(xVar, i5) : (t != 67 && t2 == 72 && t3 == 65 && t4 == 80) ? g(xVar, i5, i, z2, i2, aVar) : (t != 67 && t2 == 84 && t3 == 79 && t4 == 67) ? h(xVar, i5, i, z2, i2, aVar) : (t != 77 && t2 == 76 && t3 == 76 && t4 == 84) ? l(xVar, i5) : f(xVar, i5, u(i, t, t2, t3, t4)); + } else { + if (t == 65) { + if (t2 == 80) { + if (t3 == 73) { + } + } + } + if (t != 67) { + } + } + id3Frame = e(xVar, i5, i); + } + if (id3Frame == null) { + String u = u(i, t, t2, t3, t4); + StringBuilder sb = new StringBuilder(String.valueOf(u).length() + 50); + sb.append("Failed to decode frame: id="); + sb.append(u); + sb.append(", frameSize="); + sb.append(i5); + Log.w(str, sb.toString()); + } + xVar.E(i4); + return id3Frame; + } + + public static GeobFrame k(x xVar, int i) throws UnsupportedEncodingException { + int t = xVar.t(); + String t2 = t(t); + int i2 = i - 1; + byte[] bArr = new byte[i2]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, i2); + xVar.b += i2; + int w = w(bArr, 0); + String str = new String(bArr, 0, w, "ISO-8859-1"); + int i3 = w + 1; + int v = v(bArr, i3, t); + String n = n(bArr, i3, v, t2); + int s2 = s(t) + v; + int v2 = v(bArr, s2, t); + return new GeobFrame(str, n, n(bArr, s2, v2, t2), c(bArr, s(t) + v2, i2)); + } + + public static MlltFrame l(x xVar, int i) { + int y2 = xVar.y(); + int v = xVar.v(); + int v2 = xVar.v(); + int t = xVar.t(); + int t2 = xVar.t(); + w wVar = new w(); + wVar.j(xVar.a, xVar.f792c); + wVar.k(xVar.b * 8); + int i2 = ((i - 10) * 8) / (t + t2); + int[] iArr = new int[i2]; + int[] iArr2 = new int[i2]; + for (int i3 = 0; i3 < i2; i3++) { + int g = wVar.g(t); + int g2 = wVar.g(t2); + iArr[i3] = g; + iArr2[i3] = g2; + } + return new MlltFrame(y2, v, v2, iArr, iArr2); + } + + public static PrivFrame m(x xVar, int i) throws UnsupportedEncodingException { + byte[] bArr = new byte[i]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, i); + xVar.b += i; + int w = w(bArr, 0); + return new PrivFrame(new String(bArr, 0, w, "ISO-8859-1"), c(bArr, w + 1, i)); + } + + public static String n(byte[] bArr, int i, int i2, String str) throws UnsupportedEncodingException { + return (i2 <= i || i2 > bArr.length) ? "" : new String(bArr, i, i2 - i, str); + } + + @Nullable + public static TextInformationFrame o(x xVar, int i, String str) throws UnsupportedEncodingException { + if (i < 1) { + return null; + } + int t = xVar.t(); + String t2 = t(t); + int i2 = i - 1; + byte[] bArr = new byte[i2]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, i2); + xVar.b += i2; + return new TextInformationFrame(str, null, new String(bArr, 0, v(bArr, 0, t), t2)); + } + + @Nullable + public static TextInformationFrame p(x xVar, int i) throws UnsupportedEncodingException { + if (i < 1) { + return null; + } + int t = xVar.t(); + String t2 = t(t); + int i2 = i - 1; + byte[] bArr = new byte[i2]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, i2); + xVar.b += i2; + int v = v(bArr, 0, t); + String str = new String(bArr, 0, v, t2); + int s2 = s(t) + v; + return new TextInformationFrame("TXXX", str, n(bArr, s2, v(bArr, s2, t), t2)); + } + + public static UrlLinkFrame q(x xVar, int i, String str) throws UnsupportedEncodingException { + byte[] bArr = new byte[i]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, i); + xVar.b += i; + return new UrlLinkFrame(str, null, new String(bArr, 0, w(bArr, 0), "ISO-8859-1")); + } + + @Nullable + public static UrlLinkFrame r(x xVar, int i) throws UnsupportedEncodingException { + if (i < 1) { + return null; + } + int t = xVar.t(); + String t2 = t(t); + int i2 = i - 1; + byte[] bArr = new byte[i2]; + System.arraycopy(xVar.a, xVar.b, bArr, 0, i2); + xVar.b += i2; + int v = v(bArr, 0, t); + String str = new String(bArr, 0, v, t2); + int s2 = s(t) + v; + return new UrlLinkFrame("WXXX", str, n(bArr, s2, w(bArr, s2), "ISO-8859-1")); + } + + public static int s(int i) { + return (i == 0 || i == 3) ? 1 : 2; + } + + public static String t(int i) { + return i != 1 ? i != 2 ? i != 3 ? "ISO-8859-1" : Constants.ENCODING : "UTF-16BE" : "UTF-16"; + } + + public static String u(int i, int i2, int i3, int i4, int i5) { + return i == 2 ? String.format(Locale.US, "%c%c%c", Integer.valueOf(i2), Integer.valueOf(i3), Integer.valueOf(i4)) : String.format(Locale.US, "%c%c%c%c", Integer.valueOf(i2), Integer.valueOf(i3), Integer.valueOf(i4), Integer.valueOf(i5)); + } + + public static int v(byte[] bArr, int i, int i2) { + int w = w(bArr, i); + if (i2 == 0 || i2 == 3) { + return w; + } + while (w < bArr.length - 1) { + if ((w - i) % 2 == 0 && bArr[w + 1] == 0) { + return w; + } + w = w(bArr, w + 1); + } + return bArr.length; + } + + public static int w(byte[] bArr, int i) { + while (i < bArr.length) { + if (bArr[i] == 0) { + return i; + } + i++; + } + return bArr.length; + } + + public static int x(x xVar, int i) { + byte[] bArr = xVar.a; + int i2 = xVar.b; + int i3 = i2; + while (true) { + int i4 = i3 + 1; + if (i4 >= i2 + i) { + return i; + } + if ((bArr[i3] & 255) == 255 && bArr[i4] == 0) { + System.arraycopy(bArr, i3 + 2, bArr, i4, (i - (i3 - i2)) - 2); + i--; + } + i3 = i4; + } + } + + /* JADX WARNING: Code restructure failed: missing block: B:30:0x0074, code lost: + if ((r10 & 1) != 0) goto L_0x0087; + */ + /* JADX WARNING: Code restructure failed: missing block: B:37:0x0082, code lost: + if ((r10 & 128) != 0) goto L_0x0087; + */ + public static boolean y(x xVar, int i, int i2, boolean z2) { + int i3; + long j; + int i4; + int i5; + int i6 = xVar.b; + while (true) { + try { + boolean z3 = true; + if (xVar.a() >= i2) { + if (i >= 3) { + i4 = xVar.f(); + j = xVar.u(); + i3 = xVar.y(); + } else { + i4 = xVar.v(); + j = (long) xVar.v(); + i3 = 0; + } + if (i4 == 0 && j == 0 && i3 == 0) { + xVar.E(i6); + return true; + } + if (i == 4 && !z2) { + if ((8421504 & j) != 0) { + xVar.E(i6); + return false; + } + j = (((j >> 24) & 255) << 21) | (j & 255) | (((j >> 8) & 255) << 7) | (((j >> 16) & 255) << 14); + } + if (i == 4) { + i5 = (i3 & 64) != 0 ? 1 : 0; + } else if (i == 3) { + i5 = (i3 & 32) != 0 ? 1 : 0; + } else { + i5 = 0; + } + z3 = false; + if (z3) { + i5 += 4; + } + if (j < ((long) i5)) { + xVar.E(i6); + return false; + } else if (((long) xVar.a()) < j) { + return false; + } else { + xVar.F((int) j); + } + } else { + xVar.E(i6); + return true; + } + } finally { + xVar.E(i6); + } + } + } + + @Override // c.i.a.c.z2.g + @Nullable + public Metadata b(d dVar, ByteBuffer byteBuffer) { + return d(byteBuffer.array(), byteBuffer.limit()); + } + + /* JADX WARNING: Removed duplicated region for block: B:48:0x00c1 A[RETURN] */ + /* JADX WARNING: Removed duplicated region for block: B:49:0x00c2 */ + @Nullable + public Metadata d(byte[] bArr, int i) { + C0099b bVar; + ArrayList arrayList = new ArrayList(); + x xVar = new x(bArr, i); + boolean z2 = false; + int i2 = 10; + if (xVar.a() < 10) { + Log.w("Id3Decoder", "Data too short to be an ID3 tag"); + } else { + int v = xVar.v(); + if (v != 4801587) { + String valueOf = String.valueOf(String.format("%06X", Integer.valueOf(v))); + Log.w("Id3Decoder", valueOf.length() != 0 ? "Unexpected first three bytes of ID3 tag header: 0x".concat(valueOf) : new String("Unexpected first three bytes of ID3 tag header: 0x")); + } else { + int t = xVar.t(); + xVar.F(1); + int t2 = xVar.t(); + int s2 = xVar.s(); + if (t == 2) { + if ((t2 & 64) != 0) { + Log.w("Id3Decoder", "Skipped ID3 tag with majorVersion=2 and undefined compression scheme"); + } + } else if (t == 3) { + if ((t2 & 64) != 0) { + int f = xVar.f(); + xVar.F(f); + s2 -= f + 4; + } + } else if (t == 4) { + if ((t2 & 64) != 0) { + int s3 = xVar.s(); + xVar.F(s3 - 4); + s2 -= s3; + } + if ((t2 & 16) != 0) { + s2 -= 10; + } + } else { + c.d.b.a.a.d0(57, "Skipped ID3 tag with unsupported majorVersion=", t, "Id3Decoder"); + } + bVar = new C0099b(t, t < 4 && (t2 & 128) != 0, s2); + if (bVar != null) { + return null; + } + int i3 = xVar.b; + if (bVar.a == 2) { + i2 = 6; + } + int i4 = bVar.f1056c; + if (bVar.b) { + i4 = x(xVar, i4); + } + xVar.D(i3 + i4); + if (!y(xVar, bVar.a, i2, false)) { + if (bVar.a != 4 || !y(xVar, 4, i2, true)) { + c.d.b.a.a.d0(56, "Failed to validate ID3 tag with majorVersion=", bVar.a, "Id3Decoder"); + return null; + } + z2 = true; + } + while (xVar.a() >= i2) { + Id3Frame j = j(bVar.a, xVar, z2, i2, this.b); + if (j != null) { + arrayList.add(j); + } + } + return new Metadata(arrayList); + } + } + bVar = null; + if (bVar != null) { + } + } +} diff --git a/app/src/main/java/c/i/a/c/z2/l/a.java b/app/src/main/java/c/i/a/c/z2/l/a.java new file mode 100644 index 0000000000..0c330917b9 --- /dev/null +++ b/app/src/main/java/c/i/a/c/z2/l/a.java @@ -0,0 +1,215 @@ +package c.i.a.c.z2.l; + +import c.i.a.c.f3.d0; +import c.i.a.c.f3.w; +import c.i.a.c.f3.x; +import c.i.a.c.z2.d; +import c.i.a.c.z2.g; +import com.google.android.exoplayer2.metadata.Metadata; +import com.google.android.exoplayer2.metadata.scte35.PrivateCommand; +import com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand; +import com.google.android.exoplayer2.metadata.scte35.SpliceNullCommand; +import com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand; +import com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand; +import java.nio.ByteBuffer; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +/* compiled from: SpliceInfoDecoder */ +public final class a extends g { + public final x a = new x(); + public final w b = new w(); + + /* renamed from: c reason: collision with root package name */ + public d0 f1057c; + + @Override // c.i.a.c.z2.g + public Metadata b(d dVar, ByteBuffer byteBuffer) { + int i; + int i2; + int i3; + long j; + boolean z2; + long j2; + ArrayList arrayList; + boolean z3; + boolean z4; + int i4; + long j3; + long j4; + boolean z5; + int i5; + int i6; + int i7; + long j5; + boolean z6; + List list; + boolean z7; + boolean z8; + boolean z9; + long j6; + long j7; + boolean z10; + d0 d0Var = this.f1057c; + if (d0Var == null || dVar.q != d0Var.d()) { + d0 d0Var2 = new d0(dVar.m); + this.f1057c = d0Var2; + d0Var2.a(dVar.m - dVar.q); + } + byte[] array = byteBuffer.array(); + int limit = byteBuffer.limit(); + this.a.C(array, limit); + this.b.j(array, limit); + this.b.m(39); + long g = (((long) this.b.g(1)) << 32) | ((long) this.b.g(32)); + this.b.m(20); + int g2 = this.b.g(12); + int g3 = this.b.g(8); + this.a.F(14); + Metadata.Entry entry = null; + if (g3 == 0) { + entry = new SpliceNullCommand(); + } else if (g3 != 255) { + long j8 = 128; + if (g3 == 4) { + x xVar = this.a; + int t = xVar.t(); + ArrayList arrayList2 = new ArrayList(t); + int i8 = 0; + while (i8 < t) { + long u = xVar.u(); + boolean z11 = (xVar.t() & 128) != 0; + ArrayList arrayList3 = new ArrayList(); + if (!z11) { + int t2 = xVar.t(); + boolean z12 = (t2 & 128) != 0; + boolean z13 = (t2 & 64) != 0; + boolean z14 = (t2 & 32) != 0; + long u2 = z13 ? xVar.u() : -9223372036854775807L; + if (!z13) { + int t3 = xVar.t(); + ArrayList arrayList4 = new ArrayList(t3); + int i9 = 0; + while (i9 < t3) { + arrayList4.add(new SpliceScheduleCommand.b(xVar.t(), xVar.u(), null)); + i9++; + t3 = t3; + t = t; + } + i4 = t; + arrayList3 = arrayList4; + } else { + i4 = t; + } + if (z14) { + long t4 = (long) xVar.t(); + j3 = 128; + z5 = (t4 & 128) != 0; + j4 = ((((t4 & 1) << 32) | xVar.u()) * 1000) / 90; + } else { + j3 = 128; + z5 = false; + j4 = -9223372036854775807L; + } + z2 = z5; + j = j4; + arrayList = arrayList3; + i3 = xVar.y(); + z4 = z12; + z3 = z13; + j2 = u2; + i2 = xVar.t(); + i = xVar.t(); + } else { + i4 = t; + j3 = j8; + arrayList = arrayList3; + z4 = false; + z3 = false; + j2 = -9223372036854775807L; + z2 = false; + j = -9223372036854775807L; + i3 = 0; + i2 = 0; + i = 0; + } + arrayList2.add(new SpliceScheduleCommand.c(u, z11, z4, z3, arrayList, j2, z2, j, i3, i2, i)); + i8++; + j8 = j3; + t = i4; + } + entry = new SpliceScheduleCommand(arrayList2); + } else if (g3 == 5) { + x xVar2 = this.a; + d0 d0Var3 = this.f1057c; + long u3 = xVar2.u(); + boolean z15 = (xVar2.t() & 128) != 0; + List emptyList = Collections.emptyList(); + if (!z15) { + int t5 = xVar2.t(); + boolean z16 = (t5 & 128) != 0; + boolean z17 = (t5 & 64) != 0; + boolean z18 = (t5 & 32) != 0; + boolean z19 = (t5 & 16) != 0; + long a = (!z17 || z19) ? -9223372036854775807L : TimeSignalCommand.a(xVar2, g); + if (!z17) { + int t6 = xVar2.t(); + ArrayList arrayList5 = new ArrayList(t6); + for (int i10 = 0; i10 < t6; i10++) { + int t7 = xVar2.t(); + long a2 = !z19 ? TimeSignalCommand.a(xVar2, g) : -9223372036854775807L; + arrayList5.add(new SpliceInsertCommand.b(t7, a2, d0Var3.b(a2), null)); + } + emptyList = arrayList5; + } + if (z18) { + long t8 = (long) xVar2.t(); + z10 = (t8 & 128) != 0; + j7 = ((((t8 & 1) << 32) | xVar2.u()) * 1000) / 90; + } else { + z10 = false; + j7 = -9223372036854775807L; + } + int y2 = xVar2.y(); + int t9 = xVar2.t(); + i7 = y2; + z6 = z10; + i5 = xVar2.t(); + list = emptyList; + j5 = j7; + i6 = t9; + z9 = z16; + j6 = a; + z7 = z19; + z8 = z17; + } else { + list = emptyList; + j6 = -9223372036854775807L; + z9 = false; + z8 = false; + z7 = false; + z6 = false; + j5 = -9223372036854775807L; + i7 = 0; + i6 = 0; + i5 = 0; + } + entry = new SpliceInsertCommand(u3, z15, z9, z8, z7, j6, d0Var3.b(j6), list, z6, j5, i7, i6, i5); + } else if (g3 == 6) { + x xVar3 = this.a; + d0 d0Var4 = this.f1057c; + long a3 = TimeSignalCommand.a(xVar3, g); + entry = new TimeSignalCommand(a3, d0Var4.b(a3)); + } + } else { + x xVar4 = this.a; + long u4 = xVar4.u(); + int i11 = g2 - 4; + byte[] bArr = new byte[i11]; + System.arraycopy(xVar4.a, xVar4.b, bArr, 0, i11); + xVar4.b += i11; + entry = new PrivateCommand(u4, bArr, g); + } + return entry == null ? new Metadata(new Metadata.Entry[0]) : new Metadata(entry); + } +} diff --git a/app/src/main/java/c/i/a/d/a/a.java b/app/src/main/java/c/i/a/d/a/a.java index f0ca0c51c1..e3a93b1cca 100644 --- a/app/src/main/java/c/i/a/d/a/a.java +++ b/app/src/main/java/c/i/a/d/a/a.java @@ -13,18 +13,18 @@ public interface a extends IInterface { /* compiled from: IGetInstallReferrerService */ /* renamed from: c.i.a.d.a.a$a reason: collision with other inner class name */ - public static abstract class AbstractBinderC0101a extends b implements a { + public static abstract class AbstractBinderC0100a extends b implements a { public static final /* synthetic */ int a = 0; /* compiled from: IGetInstallReferrerService */ /* renamed from: c.i.a.d.a.a$a$a reason: collision with other inner class name */ - public static class C0102a extends c.i.a.a.a implements a { - public C0102a(IBinder iBinder) { + public static class C0101a extends c.i.a.a.a implements a { + public C0101a(IBinder iBinder) { super(iBinder); } @Override // c.i.a.d.a.a - public final Bundle B(Bundle bundle) throws RemoteException { + public final Bundle C(Bundle bundle) throws RemoteException { Parcel obtain = Parcel.obtain(); obtain.writeInterfaceToken("com.google.android.finsky.externalreferrer.IGetInstallReferrerService"); int i = c.a; @@ -45,5 +45,5 @@ public interface a extends IInterface { } } - Bundle B(Bundle bundle) throws RemoteException; + Bundle C(Bundle bundle) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/e/b.java b/app/src/main/java/c/i/a/e/b.java index 9dc50a78ff..be29f993ce 100644 --- a/app/src/main/java/c/i/a/e/b.java +++ b/app/src/main/java/c/i/a/e/b.java @@ -10,7 +10,7 @@ public class b { public int b = Integer.MAX_VALUE; /* renamed from: c reason: collision with root package name */ - public int f1087c = Integer.MIN_VALUE; + public int f1058c = Integer.MIN_VALUE; public int d = Integer.MIN_VALUE; public int e; public int f; @@ -25,9 +25,7 @@ public class b { public int o; public int p; public boolean q; - - /* renamed from: r reason: collision with root package name */ - public boolean f1088r; + public boolean r; public int a() { return this.h - this.i; @@ -35,9 +33,9 @@ public class b { public void b(View view, int i, int i2, int i3, int i4) { FlexItem flexItem = (FlexItem) view.getLayoutParams(); - this.a = Math.min(this.a, (view.getLeft() - flexItem.I()) - i); - this.b = Math.min(this.b, (view.getTop() - flexItem.M()) - i2); - this.f1087c = Math.max(this.f1087c, flexItem.c0() + view.getRight() + i3); - this.d = Math.max(this.d, flexItem.H() + view.getBottom() + i4); + this.a = Math.min(this.a, (view.getLeft() - flexItem.J()) - i); + this.b = Math.min(this.b, (view.getTop() - flexItem.N()) - i2); + this.f1058c = Math.max(this.f1058c, flexItem.d0() + view.getRight() + i3); + this.d = Math.max(this.d, flexItem.I() + view.getBottom() + i4); } } diff --git a/app/src/main/java/c/i/a/e/c.java b/app/src/main/java/c/i/a/e/c.java index 1e724acddb..2a37d63962 100644 --- a/app/src/main/java/c/i/a/e/c.java +++ b/app/src/main/java/c/i/a/e/c.java @@ -23,7 +23,7 @@ public class c { @Nullable /* renamed from: c reason: collision with root package name */ - public int[] f1089c; + public int[] f1059c; @Nullable public long[] d; @Nullable @@ -42,20 +42,20 @@ public class c { /* compiled from: FlexboxHelper */ /* renamed from: c.i.a.e.c$c reason: collision with other inner class name */ - public static class C0103c implements Comparable { + public static class C0102c implements Comparable { public int i; public int j; - public C0103c() { + public C0102c() { } - public C0103c(a aVar) { + public C0102c(a aVar) { } /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // java.lang.Comparable - public int compareTo(@NonNull C0103c cVar) { - C0103c cVar2 = cVar; + public int compareTo(@NonNull C0102c cVar) { + C0102c cVar2 = cVar; int i = this.j; int i2 = cVar2.j; return i != i2 ? i - i2 : this.i - cVar2.i; @@ -64,10 +64,10 @@ public class c { @Override // java.lang.Object @NonNull public String toString() { - StringBuilder O = c.d.b.a.a.O("Order{order="); - O.append(this.j); - O.append(", index="); - return c.d.b.a.a.y(O, this.i, '}'); + StringBuilder R = c.d.b.a.a.R("Order{order="); + R.append(this.j); + R.append(", index="); + return c.d.b.a.a.z(R, this.i, '}'); } } @@ -80,7 +80,7 @@ public class c { if (i < this.a.getFlexItemCount()) { int flexDirection = this.a.getFlexDirection(); if (this.a.getAlignItems() == 4) { - int[] iArr = this.f1089c; + int[] iArr = this.f1059c; List flexLinesInternal = this.a.getFlexLinesInternal(); int size = flexLinesInternal.size(); for (int i2 = iArr != null ? iArr[i] : 0; i2 < size; i2++) { @@ -90,13 +90,13 @@ public class c { int i5 = bVar.o + i4; if (!(i4 >= this.a.getFlexItemCount() || (c2 = this.a.c(i5)) == null || c2.getVisibility() == 8)) { FlexItem flexItem = (FlexItem) c2.getLayoutParams(); - if (flexItem.t() == -1 || flexItem.t() == 4) { + if (flexItem.u() == -1 || flexItem.u() == 4) { if (flexDirection == 0 || flexDirection == 1) { z(c2, bVar.g, i5); } else if (flexDirection == 2 || flexDirection == 3) { y(c2, bVar.g, i5); } else { - throw new IllegalArgumentException(c.d.b.a.a.l("Invalid flex direction: ", flexDirection)); + throw new IllegalArgumentException(c.d.b.a.a.p("Invalid flex direction: ", flexDirection)); } } } @@ -115,7 +115,7 @@ public class c { } else if (flexDirection == 2 || flexDirection == 3) { y(c3, bVar2.g, next.intValue()); } else { - throw new IllegalArgumentException(c.d.b.a.a.l("Invalid flex direction: ", flexDirection)); + throw new IllegalArgumentException(c.d.b.a.a.p("Invalid flex direction: ", flexDirection)); } } } @@ -228,9 +228,9 @@ public class c { CompoundButton compoundButton = (CompoundButton) c2; FlexItem flexItem = (FlexItem) compoundButton.getLayoutParams(); i11 = flexItemCount; - int C = flexItem.C(); + int D = flexItem.D(); list2 = arrayList; - int e02 = flexItem.e0(); + int f02 = flexItem.f0(); Drawable buttonDrawable = CompoundButtonCompat.getButtonDrawable(compoundButton); int minimumWidth = buttonDrawable == null ? 0 : buttonDrawable.getMinimumWidth(); if (buttonDrawable == null) { @@ -240,25 +240,25 @@ public class c { i20 = buttonDrawable.getMinimumHeight(); i21 = -1; } - if (C == i21) { - C = minimumWidth; + if (D == i21) { + D = minimumWidth; } - flexItem.G(C); - if (e02 == i21) { - e02 = i20; + flexItem.H(D); + if (f02 == i21) { + f02 = i20; } - flexItem.N(e02); + flexItem.O(f02); } else { list2 = arrayList; i11 = flexItemCount; } FlexItem flexItem2 = (FlexItem) c2.getLayoutParams(); - if (flexItem2.t() == 4) { + if (flexItem2.u() == 4) { bVar3.n.add(Integer.valueOf(i24)); } int width = i23 ? flexItem2.getWidth() : flexItem2.getHeight(); - if (flexItem2.V() != -1.0f && mode == 1073741824) { - width = Math.round(flexItem2.V() * ((float) size)); + if (flexItem2.W() != -1.0f && mode == 1073741824) { + width = Math.round(flexItem2.W() * ((float) size)); } if (i23) { i13 = this.a.d(i22, q(flexItem2, true) + s(flexItem2, true) + i25, width); @@ -284,7 +284,7 @@ public class c { int q = q(flexItem2, i23) + s(flexItem2, i23) + (i23 ? c2.getMeasuredWidth() : c2.getMeasuredHeight()); int size2 = list2.size(); if (this.a.getFlexWrap() != 0) { - if (!flexItem2.i0()) { + if (!flexItem2.j0()) { if (i6 != 0) { int maxLine = this.a.getMaxLine(); i14 = combineMeasuredStates; @@ -310,12 +310,12 @@ public class c { if (i23) { if (flexItem2.getHeight() == -1) { a aVar = this.a; - c2.measure(i13, aVar.h(i8, flexItem2.H() + flexItem2.M() + this.a.getPaddingBottom() + aVar.getPaddingTop() + i29, flexItem2.getHeight())); + c2.measure(i13, aVar.h(i8, flexItem2.I() + flexItem2.N() + this.a.getPaddingBottom() + aVar.getPaddingTop() + i29, flexItem2.getHeight())); c(c2, i24); } } else if (flexItem2.getWidth() == -1) { a aVar2 = this.a; - c2.measure(aVar2.d(i8, flexItem2.c0() + flexItem2.I() + this.a.getPaddingRight() + aVar2.getPaddingLeft() + i29, flexItem2.getWidth()), i13); + c2.measure(aVar2.d(i8, flexItem2.d0() + flexItem2.J() + this.a.getPaddingRight() + aVar2.getPaddingLeft() + i29, flexItem2.getWidth()), i13); c(c2, i24); } bVar3 = new b(); @@ -330,24 +330,24 @@ public class c { i18 = i15 + 1; i17 = i26; } - bVar3.q |= flexItem2.R() != 0.0f; - bVar3.f1088r |= flexItem2.w() != 0.0f; - iArr = this.f1089c; + bVar3.q |= flexItem2.S() != 0.0f; + bVar3.r |= flexItem2.x() != 0.0f; + iArr = this.f1059c; if (iArr != null) { iArr[i24] = arrayList.size(); } bVar3.e = q(flexItem2, i23) + s(flexItem2, i23) + (i23 ? c2.getMeasuredWidth() : c2.getMeasuredHeight()) + bVar3.e; - bVar3.j = flexItem2.R() + bVar3.j; - bVar3.k = flexItem2.w() + bVar3.k; + bVar3.j = flexItem2.S() + bVar3.j; + bVar3.k = flexItem2.x() + bVar3.k; this.a.a(c2, i24, i18, bVar3); i7 = i16; int max = Math.max(i17, this.a.j(c2) + p(flexItem2, i23) + r(flexItem2, i23) + (i23 ? c2.getMeasuredHeight() : c2.getMeasuredWidth())); bVar3.g = Math.max(bVar3.g, max); if (i23) { if (this.a.getFlexWrap() != 2) { - bVar3.l = Math.max(bVar3.l, flexItem2.M() + c2.getBaseline()); + bVar3.l = Math.max(bVar3.l, flexItem2.N() + c2.getBaseline()); } else { - bVar3.l = Math.max(bVar3.l, flexItem2.H() + (c2.getMeasuredHeight() - c2.getBaseline())); + bVar3.l = Math.max(bVar3.l, flexItem2.I() + (c2.getMeasuredHeight() - c2.getBaseline())); } } i9 = i11; @@ -387,14 +387,14 @@ public class c { z3 = true; if (z3) { } - bVar3.q |= flexItem2.R() != 0.0f; - bVar3.f1088r |= flexItem2.w() != 0.0f; - iArr = this.f1089c; + bVar3.q |= flexItem2.S() != 0.0f; + bVar3.r |= flexItem2.x() != 0.0f; + iArr = this.f1059c; if (iArr != null) { } bVar3.e = q(flexItem2, i23) + s(flexItem2, i23) + (i23 ? c2.getMeasuredWidth() : c2.getMeasuredHeight()) + bVar3.e; - bVar3.j = flexItem2.R() + bVar3.j; - bVar3.k = flexItem2.w() + bVar3.k; + bVar3.j = flexItem2.S() + bVar3.j; + bVar3.k = flexItem2.x() + bVar3.k; this.a.a(c2, i24, i18, bVar3); i7 = i16; int max = Math.max(i17, this.a.j(c2) + p(flexItem2, i23) + r(flexItem2, i23) + (i23 ? c2.getMeasuredHeight() : c2.getMeasuredWidth())); @@ -427,14 +427,14 @@ public class c { z3 = false; if (z3) { } - bVar3.q |= flexItem2.R() != 0.0f; - bVar3.f1088r |= flexItem2.w() != 0.0f; - iArr = this.f1089c; + bVar3.q |= flexItem2.S() != 0.0f; + bVar3.r |= flexItem2.x() != 0.0f; + iArr = this.f1059c; if (iArr != null) { } bVar3.e = q(flexItem2, i23) + s(flexItem2, i23) + (i23 ? c2.getMeasuredWidth() : c2.getMeasuredHeight()) + bVar3.e; - bVar3.j = flexItem2.R() + bVar3.j; - bVar3.k = flexItem2.w() + bVar3.k; + bVar3.j = flexItem2.S() + bVar3.j; + bVar3.k = flexItem2.x() + bVar3.k; this.a.a(c2, i24, i18, bVar3); i7 = i16; int max = Math.max(i17, this.a.j(c2) + p(flexItem2, i23) + r(flexItem2, i23) + (i23 ? c2.getMeasuredHeight() : c2.getMeasuredWidth())); @@ -489,16 +489,16 @@ public class c { int measuredWidth = view.getMeasuredWidth(); int measuredHeight = view.getMeasuredHeight(); boolean z3 = true; - if (measuredWidth < flexItem.C()) { - measuredWidth = flexItem.C(); - } else if (measuredWidth > flexItem.s0()) { - measuredWidth = flexItem.s0(); + if (measuredWidth < flexItem.D()) { + measuredWidth = flexItem.D(); + } else if (measuredWidth > flexItem.t0()) { + measuredWidth = flexItem.t0(); } else { z2 = false; - if (measuredHeight >= flexItem.e0()) { - measuredHeight = flexItem.e0(); - } else if (measuredHeight > flexItem.l0()) { - measuredHeight = flexItem.l0(); + if (measuredHeight >= flexItem.f0()) { + measuredHeight = flexItem.f0(); + } else if (measuredHeight > flexItem.m0()) { + measuredHeight = flexItem.m0(); } else { z3 = z2; } @@ -513,21 +513,21 @@ public class c { return; } z2 = true; - if (measuredHeight >= flexItem.e0()) { + if (measuredHeight >= flexItem.f0()) { } if (!z3) { } } public void d(List list, int i) { - int i2 = this.f1089c[i]; + int i2 = this.f1059c[i]; if (i2 == -1) { i2 = 0; } for (int size = list.size() - 1; size >= i2; size--) { list.remove(size); } - int[] iArr = this.f1089c; + int[] iArr = this.f1059c; int length = iArr.length - 1; if (i > length) { Arrays.fill(iArr, -1); @@ -561,10 +561,10 @@ public class c { } @NonNull - public final List f(int i) { + public final List f(int i) { ArrayList arrayList = new ArrayList(i); for (int i2 = 0; i2 < i; i2++) { - C0103c cVar = new C0103c(null); + C0102c cVar = new C0102c(null); cVar.j = ((FlexItem) this.a.f(i2).getLayoutParams()).getOrder(); cVar.i = i2; arrayList.add(cVar); @@ -585,7 +585,7 @@ public class c { i4 = View.MeasureSpec.getMode(i); i5 = View.MeasureSpec.getSize(i); } else { - throw new IllegalArgumentException(c.d.b.a.a.l("Invalid flex direction: ", flexDirection)); + throw new IllegalArgumentException(c.d.b.a.a.p("Invalid flex direction: ", flexDirection)); } List flexLinesInternal = this.a.getFlexLinesInternal(); if (i4 == 1073741824) { @@ -720,10 +720,10 @@ public class c { i6 = this.a.getPaddingTop(); i4 = this.a.getPaddingBottom(); } else { - throw new IllegalArgumentException(c.d.b.a.a.l("Invalid flex direction: ", flexDirection)); + throw new IllegalArgumentException(c.d.b.a.a.p("Invalid flex direction: ", flexDirection)); } int i8 = i4 + i6; - int[] iArr = this.f1089c; + int[] iArr = this.f1059c; if (iArr != null) { i7 = iArr[i3]; } @@ -734,7 +734,7 @@ public class c { int i9 = bVar.e; if (i9 < i5 && bVar.q) { l(i, i2, bVar, i5, i8, false); - } else if (i9 > i5 && bVar.f1088r) { + } else if (i9 > i5 && bVar.r) { w(i, i2, bVar, i5, i8, false); } i7++; @@ -743,18 +743,18 @@ public class c { } public void i(int i) { - int[] iArr = this.f1089c; + int[] iArr = this.f1059c; if (iArr == null) { if (i < 10) { i = 10; } - this.f1089c = new int[i]; + this.f1059c = new int[i]; } else if (iArr.length < i) { int length = iArr.length * 2; if (length >= i) { i = length; } - this.f1089c = Arrays.copyOf(iArr, i); + this.f1059c = Arrays.copyOf(iArr, i); } } @@ -829,20 +829,20 @@ public class c { if (jArr2 != null) { measuredHeight = m(jArr2[i11]); } - if (!this.b[i11] && flexItem.R() > 0.0f) { - float R = (flexItem.R() * f3) + ((float) measuredWidth); + if (!this.b[i11] && flexItem.S() > 0.0f) { + float S = (flexItem.S() * f3) + ((float) measuredWidth); if (i9 == bVar.h - 1) { - R += f4; + S += f4; f4 = 0.0f; } - int round = Math.round(R); - if (round > flexItem.s0()) { - round = flexItem.s0(); + int round = Math.round(S); + if (round > flexItem.t0()) { + round = flexItem.t0(); this.b[i11] = true; - bVar.j -= flexItem.R(); + bVar.j -= flexItem.S(); z3 = true; } else { - float f5 = (R - ((float) round)) + f4; + float f5 = (S - ((float) round)) + f4; double d3 = (double) f5; if (d3 > 1.0d) { round++; @@ -867,8 +867,8 @@ public class c { measuredWidth = measuredWidth2; measuredHeight = measuredHeight2; } - int max = Math.max(i10, this.a.j(c2) + flexItem.H() + flexItem.M() + measuredHeight); - bVar.e = flexItem.c0() + flexItem.I() + measuredWidth + bVar.e; + int max = Math.max(i10, this.a.j(c2) + flexItem.I() + flexItem.N() + measuredHeight); + bVar.e = flexItem.d0() + flexItem.J() + measuredWidth + bVar.e; i7 = max; } else { int measuredHeight3 = c2.getMeasuredHeight(); @@ -881,23 +881,23 @@ public class c { if (jArr4 != null) { measuredWidth3 = (int) jArr4[i11]; } - if (this.b[i11] || flexItem.R() <= f2) { + if (this.b[i11] || flexItem.S() <= f2) { i8 = i5; } else { - float R2 = (flexItem.R() * f3) + ((float) measuredHeight3); + float S2 = (flexItem.S() * f3) + ((float) measuredHeight3); if (i9 == bVar.h - 1) { - R2 += f4; + S2 += f4; f4 = 0.0f; } - int round2 = Math.round(R2); - if (round2 > flexItem.l0()) { - round2 = flexItem.l0(); + int round2 = Math.round(S2); + if (round2 > flexItem.m0()) { + round2 = flexItem.m0(); this.b[i11] = true; - bVar.j -= flexItem.R(); + bVar.j -= flexItem.S(); i8 = i5; z3 = true; } else { - float f6 = (R2 - ((float) round2)) + f4; + float f6 = (S2 - ((float) round2)) + f4; i8 = i5; double d4 = (double) f6; if (d4 > 1.0d) { @@ -920,8 +920,8 @@ public class c { this.a.e(i11, c2); measuredHeight3 = measuredHeight4; } - i7 = Math.max(i10, this.a.j(c2) + flexItem.c0() + flexItem.I() + measuredWidth3); - bVar.e = flexItem.H() + flexItem.M() + measuredHeight3 + bVar.e; + i7 = Math.max(i10, this.a.j(c2) + flexItem.d0() + flexItem.J() + measuredWidth3); + bVar.e = flexItem.I() + flexItem.N() + measuredHeight3 + bVar.e; i6 = i8; } bVar.g = Math.max(bVar.g, i7); @@ -943,32 +943,32 @@ public class c { public final int n(int i, FlexItem flexItem, int i2) { a aVar = this.a; - int h = aVar.h(i, flexItem.H() + flexItem.M() + this.a.getPaddingBottom() + aVar.getPaddingTop() + i2, flexItem.getHeight()); + int h = aVar.h(i, flexItem.I() + flexItem.N() + this.a.getPaddingBottom() + aVar.getPaddingTop() + i2, flexItem.getHeight()); int size = View.MeasureSpec.getSize(h); - return size > flexItem.l0() ? View.MeasureSpec.makeMeasureSpec(flexItem.l0(), View.MeasureSpec.getMode(h)) : size < flexItem.e0() ? View.MeasureSpec.makeMeasureSpec(flexItem.e0(), View.MeasureSpec.getMode(h)) : h; + return size > flexItem.m0() ? View.MeasureSpec.makeMeasureSpec(flexItem.m0(), View.MeasureSpec.getMode(h)) : size < flexItem.f0() ? View.MeasureSpec.makeMeasureSpec(flexItem.f0(), View.MeasureSpec.getMode(h)) : h; } public final int o(int i, FlexItem flexItem, int i2) { a aVar = this.a; - int d = aVar.d(i, flexItem.c0() + flexItem.I() + this.a.getPaddingRight() + aVar.getPaddingLeft() + i2, flexItem.getWidth()); + int d = aVar.d(i, flexItem.d0() + flexItem.J() + this.a.getPaddingRight() + aVar.getPaddingLeft() + i2, flexItem.getWidth()); int size = View.MeasureSpec.getSize(d); - return size > flexItem.s0() ? View.MeasureSpec.makeMeasureSpec(flexItem.s0(), View.MeasureSpec.getMode(d)) : size < flexItem.C() ? View.MeasureSpec.makeMeasureSpec(flexItem.C(), View.MeasureSpec.getMode(d)) : d; + return size > flexItem.t0() ? View.MeasureSpec.makeMeasureSpec(flexItem.t0(), View.MeasureSpec.getMode(d)) : size < flexItem.D() ? View.MeasureSpec.makeMeasureSpec(flexItem.D(), View.MeasureSpec.getMode(d)) : d; } public final int p(FlexItem flexItem, boolean z2) { - return z2 ? flexItem.H() : flexItem.c0(); + return z2 ? flexItem.I() : flexItem.d0(); } public final int q(FlexItem flexItem, boolean z2) { - return z2 ? flexItem.c0() : flexItem.H(); + return z2 ? flexItem.d0() : flexItem.I(); } public final int r(FlexItem flexItem, boolean z2) { - return z2 ? flexItem.M() : flexItem.I(); + return z2 ? flexItem.N() : flexItem.J(); } public final int s(FlexItem flexItem, boolean z2) { - return z2 ? flexItem.I() : flexItem.M(); + return z2 ? flexItem.J() : flexItem.N(); } public final boolean t(int i, int i2, b bVar) { @@ -978,20 +978,20 @@ public class c { public void u(View view, b bVar, int i, int i2, int i3, int i4) { FlexItem flexItem = (FlexItem) view.getLayoutParams(); int alignItems = this.a.getAlignItems(); - if (flexItem.t() != -1) { - alignItems = flexItem.t(); + if (flexItem.u() != -1) { + alignItems = flexItem.u(); } int i5 = bVar.g; if (alignItems != 0) { if (alignItems != 1) { if (alignItems == 2) { - int M = ((flexItem.M() + (i5 - view.getMeasuredHeight())) - flexItem.H()) / 2; + int N = ((flexItem.N() + (i5 - view.getMeasuredHeight())) - flexItem.I()) / 2; if (this.a.getFlexWrap() != 2) { - int i6 = i2 + M; + int i6 = i2 + N; view.layout(i, i6, i3, view.getMeasuredHeight() + i6); return; } - int i7 = i2 - M; + int i7 = i2 - N; view.layout(i, i7, i3, view.getMeasuredHeight() + i7); return; } else if (alignItems != 3) { @@ -999,35 +999,35 @@ public class c { return; } } else if (this.a.getFlexWrap() != 2) { - int max = Math.max(bVar.l - view.getBaseline(), flexItem.M()); + int max = Math.max(bVar.l - view.getBaseline(), flexItem.N()); view.layout(i, i2 + max, i3, i4 + max); return; } else { - int max2 = Math.max(view.getBaseline() + (bVar.l - view.getMeasuredHeight()), flexItem.H()); + int max2 = Math.max(view.getBaseline() + (bVar.l - view.getMeasuredHeight()), flexItem.I()); view.layout(i, i2 - max2, i3, i4 - max2); return; } } else if (this.a.getFlexWrap() != 2) { int i8 = i2 + i5; - view.layout(i, (i8 - view.getMeasuredHeight()) - flexItem.H(), i3, i8 - flexItem.H()); + view.layout(i, (i8 - view.getMeasuredHeight()) - flexItem.I(), i3, i8 - flexItem.I()); return; } else { - view.layout(i, flexItem.M() + view.getMeasuredHeight() + (i2 - i5), i3, flexItem.M() + view.getMeasuredHeight() + (i4 - i5)); + view.layout(i, flexItem.N() + view.getMeasuredHeight() + (i2 - i5), i3, flexItem.N() + view.getMeasuredHeight() + (i4 - i5)); return; } } if (this.a.getFlexWrap() != 2) { - view.layout(i, flexItem.M() + i2, i3, flexItem.M() + i4); + view.layout(i, flexItem.N() + i2, i3, flexItem.N() + i4); } else { - view.layout(i, i2 - flexItem.H(), i3, i4 - flexItem.H()); + view.layout(i, i2 - flexItem.I(), i3, i4 - flexItem.I()); } } public void v(View view, b bVar, boolean z2, int i, int i2, int i3, int i4) { FlexItem flexItem = (FlexItem) view.getLayoutParams(); int alignItems = this.a.getAlignItems(); - if (flexItem.t() != -1) { - alignItems = flexItem.t(); + if (flexItem.u() != -1) { + alignItems = flexItem.u(); } int i5 = bVar.g; if (alignItems != 0) { @@ -1046,18 +1046,18 @@ public class c { return; } } else if (!z2) { - view.layout(((i + i5) - view.getMeasuredWidth()) - flexItem.c0(), i2, ((i3 + i5) - view.getMeasuredWidth()) - flexItem.c0(), i4); + view.layout(((i + i5) - view.getMeasuredWidth()) - flexItem.d0(), i2, ((i3 + i5) - view.getMeasuredWidth()) - flexItem.d0(), i4); return; } else { - int I = flexItem.I(); - view.layout(flexItem.I() + view.getMeasuredWidth() + (i - i5), i2, I + view.getMeasuredWidth() + (i3 - i5), i4); + int J = flexItem.J(); + view.layout(flexItem.J() + view.getMeasuredWidth() + (i - i5), i2, J + view.getMeasuredWidth() + (i3 - i5), i4); return; } } if (!z2) { - view.layout(flexItem.I() + i, i2, flexItem.I() + i3, i4); + view.layout(flexItem.J() + i, i2, flexItem.J() + i3, i4); } else { - view.layout(i - flexItem.c0(), i2, i3 - flexItem.c0(), i4); + view.layout(i - flexItem.d0(), i2, i3 - flexItem.d0(), i4); } } @@ -1100,23 +1100,23 @@ public class c { if (jArr2 != null) { measuredHeight = m(jArr2[i12]); } - if (this.b[i12] || flexItem.w() <= 0.0f) { + if (this.b[i12] || flexItem.x() <= 0.0f) { i5 = i10; } else { - float w2 = ((float) measuredWidth) - (flexItem.w() * f3); + float x2 = ((float) measuredWidth) - (flexItem.x() * f3); i5 = i10; if (i5 == bVar.h - 1) { - w2 += f4; + x2 += f4; f4 = 0.0f; } - int round = Math.round(w2); - if (round < flexItem.C()) { - i8 = flexItem.C(); + int round = Math.round(x2); + if (round < flexItem.D()) { + i8 = flexItem.D(); this.b[i12] = true; - bVar.k -= flexItem.w(); + bVar.k -= flexItem.x(); z3 = true; } else { - float f5 = (w2 - ((float) round)) + f4; + float f5 = (x2 - ((float) round)) + f4; double d = (double) f5; if (d > 1.0d) { round++; @@ -1138,8 +1138,8 @@ public class c { measuredWidth = measuredWidth2; measuredHeight = measuredHeight2; } - int max = Math.max(i11, this.a.j(c2) + flexItem.H() + flexItem.M() + measuredHeight); - bVar.e = flexItem.c0() + flexItem.I() + measuredWidth + bVar.e; + int max = Math.max(i11, this.a.j(c2) + flexItem.I() + flexItem.N() + measuredHeight); + bVar.e = flexItem.d0() + flexItem.J() + measuredWidth + bVar.e; i7 = max; } else { int measuredHeight3 = c2.getMeasuredHeight(); @@ -1152,26 +1152,26 @@ public class c { if (jArr4 != null) { measuredWidth3 = (int) jArr4[i12]; } - if (this.b[i12] || flexItem.w() <= f2) { + if (this.b[i12] || flexItem.x() <= f2) { i6 = i9; i5 = i10; } else { - float w3 = ((float) measuredHeight3) - (flexItem.w() * f3); + float x3 = ((float) measuredHeight3) - (flexItem.x() * f3); if (i10 == bVar.h - 1) { - w3 += f4; + x3 += f4; f4 = 0.0f; } - int round2 = Math.round(w3); - if (round2 < flexItem.e0()) { - int e02 = flexItem.e0(); + int round2 = Math.round(x3); + if (round2 < flexItem.f0()) { + int f02 = flexItem.f0(); this.b[i12] = true; - bVar.k -= flexItem.w(); + bVar.k -= flexItem.x(); i5 = i10; - round2 = e02; + round2 = f02; z3 = true; i6 = i9; } else { - float f6 = (w3 - ((float) round2)) + f4; + float f6 = (x3 - ((float) round2)) + f4; i6 = i9; i5 = i10; double d2 = (double) f6; @@ -1193,8 +1193,8 @@ public class c { this.a.e(i12, c2); measuredHeight3 = measuredHeight4; } - i7 = Math.max(i11, this.a.j(c2) + flexItem.c0() + flexItem.I() + measuredWidth3); - bVar.e = flexItem.H() + flexItem.M() + measuredHeight3 + bVar.e; + i7 = Math.max(i11, this.a.j(c2) + flexItem.d0() + flexItem.J() + measuredWidth3); + bVar.e = flexItem.I() + flexItem.N() + measuredHeight3 + bVar.e; } bVar.g = Math.max(bVar.g, i7); i11 = i7; @@ -1209,12 +1209,12 @@ public class c { } } - public final int[] x(int i, List list, SparseIntArray sparseIntArray) { + public final int[] x(int i, List list, SparseIntArray sparseIntArray) { Collections.sort(list); sparseIntArray.clear(); int[] iArr = new int[i]; int i2 = 0; - for (C0103c cVar : list) { + for (C0102c cVar : list) { int i3 = cVar.i; iArr[i2] = i3; sparseIntArray.append(i3, cVar.j); @@ -1225,7 +1225,7 @@ public class c { public final void y(View view, int i, int i2) { FlexItem flexItem = (FlexItem) view.getLayoutParams(); - int min = Math.min(Math.max(((i - flexItem.I()) - flexItem.c0()) - this.a.j(view), flexItem.C()), flexItem.s0()); + int min = Math.min(Math.max(((i - flexItem.J()) - flexItem.d0()) - this.a.j(view), flexItem.D()), flexItem.t0()); long[] jArr = this.e; int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(jArr != null ? m(jArr[i2]) : view.getMeasuredHeight(), BasicMeasure.EXACTLY); int makeMeasureSpec2 = View.MeasureSpec.makeMeasureSpec(min, BasicMeasure.EXACTLY); @@ -1236,7 +1236,7 @@ public class c { public final void z(View view, int i, int i2) { FlexItem flexItem = (FlexItem) view.getLayoutParams(); - int min = Math.min(Math.max(((i - flexItem.M()) - flexItem.H()) - this.a.j(view), flexItem.e0()), flexItem.l0()); + int min = Math.min(Math.max(((i - flexItem.N()) - flexItem.I()) - this.a.j(view), flexItem.f0()), flexItem.m0()); long[] jArr = this.e; int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(jArr != null ? (int) jArr[i2] : view.getMeasuredWidth(), BasicMeasure.EXACTLY); int makeMeasureSpec2 = View.MeasureSpec.makeMeasureSpec(min, BasicMeasure.EXACTLY); diff --git a/app/src/main/java/c/i/a/f/b/f.java b/app/src/main/java/c/i/a/f/b/f.java index 10aa80765e..5f3018e1c4 100644 --- a/app/src/main/java/c/i/a/f/b/f.java +++ b/app/src/main/java/c/i/a/f/b/f.java @@ -19,7 +19,7 @@ public final class f { public final Context b; /* renamed from: c reason: collision with root package name */ - public final a f1090c = new a(); + public final a f1060c = new a(); public volatile f1 d; public Thread.UncaughtExceptionHandler e; @@ -75,6 +75,6 @@ public final class f { } public final void a(Runnable runnable) { - this.f1090c.submit(runnable); + this.f1060c.submit(runnable); } } diff --git a/app/src/main/java/c/i/a/f/c/a/a.java b/app/src/main/java/c/i/a/f/c/a/a.java index fb65590481..2602a35778 100644 --- a/app/src/main/java/c/i/a/f/c/a/a.java +++ b/app/src/main/java/c/i/a/f/c/a/a.java @@ -15,17 +15,17 @@ public final class a { public static final a.g b; /* renamed from: c reason: collision with root package name */ - public static final a.AbstractC0106a f1091c; - public static final a.AbstractC0106a d; - public static final c.i.a.f.e.h.a e; + public static final a.AbstractC0105a f1061c; + public static final a.AbstractC0105a d; + public static final c.i.a.f.e.h.a e; public static final c.i.a.f.e.h.a f; public static final c g = new h(); /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ @Deprecated /* renamed from: c.i.a.f.c.a.a$a reason: collision with other inner class name */ - public static class C0104a implements a.d { - public static final C0104a i = new C0104a(new C0105a()); + public static class C0103a implements a.d { + public static final C0103a i = new C0103a(new C0104a()); public final String j; public final boolean k; @Nullable @@ -34,39 +34,39 @@ public final class a { /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ @Deprecated /* renamed from: c.i.a.f.c.a.a$a$a reason: collision with other inner class name */ - public static class C0105a { + public static class C0104a { public String a; public Boolean b = Boolean.FALSE; @Nullable /* renamed from: c reason: collision with root package name */ - public String f1092c; + public String f1062c; - public C0105a() { + public C0104a() { } - public C0105a(C0104a aVar) { + public C0104a(C0103a aVar) { this.a = aVar.j; this.b = Boolean.valueOf(aVar.k); - this.f1092c = aVar.l; + this.f1062c = aVar.l; } } - public C0104a(C0105a aVar) { + public C0103a(C0104a aVar) { this.j = aVar.a; this.k = aVar.b.booleanValue(); - this.l = aVar.f1092c; + this.l = aVar.f1062c; } public boolean equals(@Nullable Object obj) { if (obj == this) { return true; } - if (!(obj instanceof C0104a)) { + if (!(obj instanceof C0103a)) { return false; } - C0104a aVar = (C0104a) obj; - return d.j0(this.j, aVar.j) && this.k == aVar.k && d.j0(this.l, aVar.l); + C0103a aVar = (C0103a) obj; + return d.g0(this.j, aVar.j) && this.k == aVar.k && d.g0(this.l, aVar.l); } public int hashCode() { @@ -80,10 +80,10 @@ public final class a { a.g gVar2 = new a.g<>(); b = gVar2; h hVar = new h(); - f1091c = hVar; + f1061c = hVar; i iVar = new i(); d = iVar; - c.i.a.f.e.h.a aVar = b.f1093c; + c.i.a.f.e.h.a aVar = b.f1063c; e = new c.i.a.f.e.h.a<>("Auth.CREDENTIALS_API", hVar, gVar); f = new c.i.a.f.e.h.a<>("Auth.GOOGLE_SIGN_IN_API", iVar, gVar2); c.i.a.f.h.d.d dVar = b.d; diff --git a/app/src/main/java/c/i/a/f/c/a/b.java b/app/src/main/java/c/i/a/f/c/a/b.java index cb3ce02c53..32da613706 100644 --- a/app/src/main/java/c/i/a/f/c/a/b.java +++ b/app/src/main/java/c/i/a/f/c/a/b.java @@ -4,10 +4,10 @@ import c.i.a.f.e.h.a; import c.i.a.f.h.d.d; public final class b { public static final a.g a; - public static final a.AbstractC0106a b; + public static final a.AbstractC0105a b; /* renamed from: c reason: collision with root package name */ - public static final a f1093c; + public static final a f1063c; public static final d d = new d(); static { @@ -15,6 +15,6 @@ public final class b { a = gVar; g gVar2 = new g(); b = gVar2; - f1093c = new a<>("Auth.PROXY_API", gVar2, gVar); + f1063c = new a<>("Auth.PROXY_API", gVar2, gVar); } } diff --git a/app/src/main/java/c/i/a/f/c/a/d/b.java b/app/src/main/java/c/i/a/f/c/a/d/b.java index afa7f68f44..d493d809c1 100644 --- a/app/src/main/java/c/i/a/f/c/a/d/b.java +++ b/app/src/main/java/c/i/a/f/c/a/d/b.java @@ -6,5 +6,5 @@ import com.google.android.gms.auth.api.credentials.Credential; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ public interface b extends h { @Nullable - Credential Q(); + Credential R(); } diff --git a/app/src/main/java/c/i/a/f/c/a/d/d.java b/app/src/main/java/c/i/a/f/c/a/d/d.java index 293637fe68..4441563d0b 100644 --- a/app/src/main/java/c/i/a/f/c/a/d/d.java +++ b/app/src/main/java/c/i/a/f/c/a/d/d.java @@ -2,10 +2,10 @@ package c.i.a.f.c.a.d; import c.i.a.f.c.a.a; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ -public final class d extends a.C0104a { +public final class d extends a.C0103a { /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ - public static final class a extends a.C0104a.C0105a { + public static final class a extends a.C0103a.C0104a { public final d a() { return new d(this, null); } diff --git a/app/src/main/java/c/i/a/f/c/a/d/e.java b/app/src/main/java/c/i/a/f/c/a/d/e.java index b7d96c2ec3..d299ef91e6 100644 --- a/app/src/main/java/c/i/a/f/c/a/d/e.java +++ b/app/src/main/java/c/i/a/f/c/a/d/e.java @@ -12,7 +12,7 @@ public final class e implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final Credential createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; String str2 = null; Uri uri = null; @@ -21,41 +21,41 @@ public final class e implements Parcelable.Creator { String str4 = null; String str5 = null; String str6 = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 2: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; case 3: - uri = (Uri) d.S(parcel, readInt, Uri.CREATOR); + uri = (Uri) d.P(parcel, readInt, Uri.CREATOR); break; case 4: - arrayList = d.X(parcel, readInt, IdToken.CREATOR); + arrayList = d.U(parcel, readInt, IdToken.CREATOR); break; case 5: - str3 = d.T(parcel, readInt); + str3 = d.Q(parcel, readInt); break; case 6: - str4 = d.T(parcel, readInt); + str4 = d.Q(parcel, readInt); break; case 7: case 8: default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; case 9: - str5 = d.T(parcel, readInt); + str5 = d.Q(parcel, readInt); break; case 10: - str6 = d.T(parcel, readInt); + str6 = d.Q(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new Credential(str, str2, uri, arrayList, str3, str4, str5, str6); } diff --git a/app/src/main/java/c/i/a/f/c/a/d/f.java b/app/src/main/java/c/i/a/f/c/a/d/f.java index 9b3838b1e8..8cf969c377 100644 --- a/app/src/main/java/c/i/a/f/c/a/d/f.java +++ b/app/src/main/java/c/i/a/f/c/a/d/f.java @@ -9,30 +9,30 @@ public final class f implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final CredentialPickerConfig createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; boolean z2 = false; boolean z3 = false; boolean z4 = false; int i2 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i3 = 65535 & readInt; if (i3 == 1) { - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); } else if (i3 == 2) { - z3 = d.E1(parcel, readInt); + z3 = d.C1(parcel, readInt); } else if (i3 == 3) { - z4 = d.E1(parcel, readInt); + z4 = d.C1(parcel, readInt); } else if (i3 == 4) { - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); } else if (i3 != 1000) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new CredentialPickerConfig(i, z2, z3, z4, i2); } diff --git a/app/src/main/java/c/i/a/f/c/a/d/g.java b/app/src/main/java/c/i/a/f/c/a/d/g.java index 96e00d0ba0..eec7e95062 100644 --- a/app/src/main/java/c/i/a/f/c/a/d/g.java +++ b/app/src/main/java/c/i/a/f/c/a/d/g.java @@ -10,7 +10,7 @@ public final class g implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final CredentialRequest createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String[] strArr = null; CredentialPickerConfig credentialPickerConfig = null; CredentialPickerConfig credentialPickerConfig2 = null; @@ -20,44 +20,44 @@ public final class g implements Parcelable.Creator { boolean z2 = false; boolean z3 = false; boolean z4 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 != 1000) { switch (i2) { case 1: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); continue; case 2: - strArr = d.U(parcel, readInt); + strArr = d.R(parcel, readInt); continue; case 3: - credentialPickerConfig = (CredentialPickerConfig) d.S(parcel, readInt, CredentialPickerConfig.CREATOR); + credentialPickerConfig = (CredentialPickerConfig) d.P(parcel, readInt, CredentialPickerConfig.CREATOR); continue; case 4: - credentialPickerConfig2 = (CredentialPickerConfig) d.S(parcel, readInt, CredentialPickerConfig.CREATOR); + credentialPickerConfig2 = (CredentialPickerConfig) d.P(parcel, readInt, CredentialPickerConfig.CREATOR); continue; case 5: - z3 = d.E1(parcel, readInt); + z3 = d.C1(parcel, readInt); continue; case 6: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); continue; case 7: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); continue; case 8: - z4 = d.E1(parcel, readInt); + z4 = d.C1(parcel, readInt); continue; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); continue; } } else { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new CredentialRequest(i, z2, strArr, credentialPickerConfig, credentialPickerConfig2, z3, str, str2, z4); } diff --git a/app/src/main/java/c/i/a/f/c/a/d/i.java b/app/src/main/java/c/i/a/f/c/a/d/i.java index 1486d59d40..d9e2ca7829 100644 --- a/app/src/main/java/c/i/a/f/c/a/d/i.java +++ b/app/src/main/java/c/i/a/f/c/a/d/i.java @@ -9,21 +9,21 @@ public final class i implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final IdToken createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; String str2 = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i = 65535 & readInt; if (i == 1) { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } else if (i != 2) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new IdToken(str, str2); } diff --git a/app/src/main/java/c/i/a/f/c/a/e/a.java b/app/src/main/java/c/i/a/f/c/a/e/a.java index b5bdd47d11..d342894ecd 100644 --- a/app/src/main/java/c/i/a/f/c/a/e/a.java +++ b/app/src/main/java/c/i/a/f/c/a/e/a.java @@ -8,7 +8,7 @@ import c.i.a.f.h.b.i; /* compiled from: com.google.android.gms:play-services-auth-api-phone@@17.4.0 */ public abstract class a extends b { public static final a.g j; - public static final a.AbstractC0106a k; + public static final a.AbstractC0105a k; public static final c.i.a.f.e.h.a l; static { diff --git a/app/src/main/java/c/i/a/f/c/a/e/b.java b/app/src/main/java/c/i/a/f/c/a/e/b.java index 28b433edb0..9fb2e68c38 100644 --- a/app/src/main/java/c/i/a/f/c/a/e/b.java +++ b/app/src/main/java/c/i/a/f/c/a/e/b.java @@ -8,10 +8,10 @@ import c.i.a.f.e.h.j.l; import c.i.a.f.e.k.c; import c.i.a.f.h.b.i; /* compiled from: com.google.android.gms:play-services-auth-api-phone@@17.4.0 */ -public final class b extends a.AbstractC0106a { +public final class b extends a.AbstractC0105a { /* Return type fixed from 'c.i.a.f.e.h.a$f' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [android.content.Context, android.os.Looper, c.i.a.f.e.k.c, java.lang.Object, c.i.a.f.e.h.j.f, c.i.a.f.e.h.j.l] */ - @Override // c.i.a.f.e.h.a.AbstractC0106a + @Override // c.i.a.f.e.h.a.AbstractC0105a public final /* synthetic */ i b(Context context, Looper looper, c cVar, a.d.c cVar2, f fVar, l lVar) { return new i(context, looper, cVar, fVar, lVar); } diff --git a/app/src/main/java/c/i/a/f/c/a/f/a.java b/app/src/main/java/c/i/a/f/c/a/f/a.java index 13af39dfe2..e7df650aa9 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/a.java +++ b/app/src/main/java/c/i/a/f/c/a/f/a.java @@ -17,7 +17,7 @@ public class a extends b { public final synchronized int f() { if (j == 1) { Context context = this.a; - Object obj = GoogleApiAvailability.f2800c; + Object obj = GoogleApiAvailability.f2382c; GoogleApiAvailability googleApiAvailability = GoogleApiAvailability.d; int b = googleApiAvailability.b(context, 12451000); if (b == 0) { diff --git a/app/src/main/java/c/i/a/f/c/a/f/b/a.java b/app/src/main/java/c/i/a/f/c/a/f/b/a.java index b01e14f830..5132d3a536 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/b/a.java +++ b/app/src/main/java/c/i/a/f/c/a/f/b/a.java @@ -29,7 +29,7 @@ public class a { public static a b; /* renamed from: c reason: collision with root package name */ - public final Lock f1094c = new ReentrantLock(); + public final Lock f1064c = new ReentrantLock(); public final SharedPreferences d; public a(Context context) { @@ -54,7 +54,7 @@ public class a { } public static String f(String str, String str2) { - return c.d.b.a.a.g(c.d.b.a.a.b(str2, str.length() + 1), str, ":", str2); + return c.d.b.a.a.j(c.d.b.a.a.b(str2, str.length() + 1), str, ":", str2); } @Nullable @@ -65,7 +65,7 @@ public class a { return null; } try { - return GoogleSignInAccount.w0(g); + return GoogleSignInAccount.x0(g); } catch (JSONException unused) { return null; } @@ -79,7 +79,7 @@ public class a { return null; } try { - return GoogleSignInOptions.w0(g); + return GoogleSignInOptions.x0(g); } catch (JSONException unused) { return null; } @@ -109,7 +109,7 @@ public class a { if (str5 != null) { jSONObject.put("displayName", str5); } - String str6 = googleSignInAccount.s; + String str6 = googleSignInAccount.f2377s; if (str6 != null) { jSONObject.put("givenName", str6); } @@ -128,7 +128,7 @@ public class a { jSONObject.put("expirationTime", googleSignInAccount.p); jSONObject.put("obfuscatedIdentifier", googleSignInAccount.q); JSONArray jSONArray = new JSONArray(); - List list = googleSignInAccount.f2794r; + List list = googleSignInAccount.r; Scope[] scopeArr = (Scope[]) list.toArray(new Scope[list.size()]); Arrays.sort(scopeArr, c.i); int i = 0; @@ -155,9 +155,9 @@ public class a { if (account != null) { jSONObject2.put("accountName", account.name); } - jSONObject2.put("idTokenRequested", googleSignInOptions.f2795r); + jSONObject2.put("idTokenRequested", googleSignInOptions.r); jSONObject2.put("forceCodeForRefreshToken", googleSignInOptions.t); - jSONObject2.put("serverAuthRequested", googleSignInOptions.s); + jSONObject2.put("serverAuthRequested", googleSignInOptions.f2378s); if (!TextUtils.isEmpty(googleSignInOptions.u)) { jSONObject2.put("serverClientId", googleSignInOptions.u); } @@ -174,21 +174,21 @@ public class a { } public final void e(String str, String str2) { - this.f1094c.lock(); + this.f1064c.lock(); try { this.d.edit().putString(str, str2).apply(); } finally { - this.f1094c.unlock(); + this.f1064c.unlock(); } } @Nullable public final String g(String str) { - this.f1094c.lock(); + this.f1064c.lock(); try { return this.d.getString(str, null); } finally { - this.f1094c.unlock(); + this.f1064c.unlock(); } } } diff --git a/app/src/main/java/c/i/a/f/c/a/f/b/b.java b/app/src/main/java/c/i/a/f/c/a/f/b/b.java index 60b56eec13..578f14841a 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/b/b.java +++ b/app/src/main/java/c/i/a/f/c/a/f/b/b.java @@ -10,24 +10,24 @@ public final class b implements Parcelable.Creator { byte[] bArr = new byte[16]; a.a.nextBytes(bArr); aVar2.i = Base64.encodeToString(bArr, 11); - if (!cVar.f1125c.isEmpty()) { - for (Scope scope : cVar.f1125c) { + if (!cVar.f1093c.isEmpty()) { + for (Scope scope : cVar.f1093c) { aVar2.a.add(scope); aVar2.a.addAll(Arrays.asList(new Scope[0])); } diff --git a/app/src/main/java/c/i/a/f/c/a/f/b/g.java b/app/src/main/java/c/i/a/f/c/a/f/b/g.java index 06110c6cb2..585757dad1 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/b/g.java +++ b/app/src/main/java/c/i/a/f/c/a/f/b/g.java @@ -21,8 +21,8 @@ public final class g { synchronized (c.i.a.f.e.h.j.g.k) { c.i.a.f.e.h.j.g gVar = c.i.a.f.e.h.j.g.l; if (gVar != null) { - gVar.f1109r.incrementAndGet(); - Handler handler = gVar.f1110w; + gVar.r.incrementAndGet(); + Handler handler = gVar.w; handler.sendMessageAtFrontOfQueue(handler.obtainMessage(10)); } } diff --git a/app/src/main/java/c/i/a/f/c/a/f/b/i.java b/app/src/main/java/c/i/a/f/c/a/f/b/i.java index 979689f864..c8ebaaf79e 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/b/i.java +++ b/app/src/main/java/c/i/a/f/c/a/f/b/i.java @@ -19,6 +19,6 @@ public final class i extends k { @Override // c.i.a.f.e.h.j.d public final void k(f fVar) throws RemoteException { f fVar2 = fVar; - fVar2.w().Z(new l(this), fVar2.A); + fVar2.w().a0(new l(this), fVar2.A); } } diff --git a/app/src/main/java/c/i/a/f/c/a/f/b/j.java b/app/src/main/java/c/i/a/f/c/a/f/b/j.java index c7ea40208e..173547a9f5 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/b/j.java +++ b/app/src/main/java/c/i/a/f/c/a/f/b/j.java @@ -11,7 +11,7 @@ public final class j extends c { } @Override // c.i.a.f.c.a.f.b.c, c.i.a.f.c.a.f.b.n - public final void n(Status status) throws RemoteException { + public final void o(Status status) throws RemoteException { this.a.b(status); } } diff --git a/app/src/main/java/c/i/a/f/c/a/f/b/l.java b/app/src/main/java/c/i/a/f/c/a/f/b/l.java index 6c825917da..eddba6f6a8 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/b/l.java +++ b/app/src/main/java/c/i/a/f/c/a/f/b/l.java @@ -11,7 +11,7 @@ public final class l extends c { } @Override // c.i.a.f.c.a.f.b.c, c.i.a.f.c.a.f.b.n - public final void u(Status status) throws RemoteException { + public final void v(Status status) throws RemoteException { this.a.b(status); } } diff --git a/app/src/main/java/c/i/a/f/c/a/f/b/m.java b/app/src/main/java/c/i/a/f/c/a/f/b/m.java index f608933e4f..597f02ebdd 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/b/m.java +++ b/app/src/main/java/c/i/a/f/c/a/f/b/m.java @@ -34,11 +34,11 @@ public final class m { public final synchronized void a() { a aVar = this.b; - aVar.f1094c.lock(); + aVar.f1064c.lock(); try { aVar.d.edit().clear().apply(); } finally { - aVar.f1094c.unlock(); + aVar.f1064c.unlock(); } } } diff --git a/app/src/main/java/c/i/a/f/c/a/f/b/n.java b/app/src/main/java/c/i/a/f/c/a/f/b/n.java index 12631ef01f..2a75702edb 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/b/n.java +++ b/app/src/main/java/c/i/a/f/c/a/f/b/n.java @@ -5,7 +5,7 @@ import android.os.RemoteException; import com.google.android.gms.common.api.Status; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ public interface n extends IInterface { - void n(Status status) throws RemoteException; + void o(Status status) throws RemoteException; - void u(Status status) throws RemoteException; + void v(Status status) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/c/a/f/b/o.java b/app/src/main/java/c/i/a/f/c/a/f/b/o.java index 1c09f26ce5..702a53397b 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/b/o.java +++ b/app/src/main/java/c/i/a/f/c/a/f/b/o.java @@ -5,7 +5,7 @@ import android.os.RemoteException; import com.google.android.gms.auth.api.signin.GoogleSignInOptions; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ public interface o extends IInterface { - void Z(n nVar, GoogleSignInOptions googleSignInOptions) throws RemoteException; + void a0(n nVar, GoogleSignInOptions googleSignInOptions) throws RemoteException; void n0(n nVar, GoogleSignInOptions googleSignInOptions) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/c/a/f/b/p.java b/app/src/main/java/c/i/a/f/c/a/f/b/p.java index 83a25492b5..690a7f9b41 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/b/p.java +++ b/app/src/main/java/c/i/a/f/c/a/f/b/p.java @@ -20,10 +20,10 @@ public abstract class p extends b implements n { Status status = (Status) d.a(parcel, Status.CREATOR); throw new UnsupportedOperationException(); case 102: - n((Status) d.a(parcel, Status.CREATOR)); + o((Status) d.a(parcel, Status.CREATOR)); break; case 103: - u((Status) d.a(parcel, Status.CREATOR)); + v((Status) d.a(parcel, Status.CREATOR)); break; default: return false; diff --git a/app/src/main/java/c/i/a/f/c/a/f/b/q.java b/app/src/main/java/c/i/a/f/c/a/f/b/q.java index 69a68d7f43..5dc85d4da4 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/b/q.java +++ b/app/src/main/java/c/i/a/f/c/a/f/b/q.java @@ -10,6 +10,7 @@ import c.i.a.f.e.h.c; import c.i.a.f.e.h.e; import c.i.a.f.e.h.j.o; import c.i.a.f.e.k.l; +import c.i.a.f.e.o.f; import c.i.a.f.h.c.b; import com.google.android.gms.auth.api.signin.GoogleSignInAccount; import com.google.android.gms.auth.api.signin.GoogleSignInOptions; @@ -52,7 +53,7 @@ public final class q extends b implements IInterface { if (g == null) { Status status = new Status(4, null); d.z(status, "Result must not be null"); - d.p(!status.v0(), "Status code must not be SUCCESS"); + d.o(!status.w0(), "Status code must not be SUCCESS"); basePendingResult2 = new e(null, status); basePendingResult2.b(status); } else { @@ -91,7 +92,7 @@ public final class q extends b implements IInterface { } public final void g() { - if (!c.i.a.f.e.o.c.S(this.a, Binder.getCallingUid())) { + if (!f.t0(this.a, Binder.getCallingUid())) { int callingUid = Binder.getCallingUid(); StringBuilder sb = new StringBuilder(52); sb.append("Calling UID "); diff --git a/app/src/main/java/c/i/a/f/c/a/f/b/r.java b/app/src/main/java/c/i/a/f/c/a/f/b/r.java index 007013dad9..860a0a2b58 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/b/r.java +++ b/app/src/main/java/c/i/a/f/c/a/f/b/r.java @@ -13,7 +13,7 @@ public final class r extends c implements o { } @Override // c.i.a.f.c.a.f.b.o - public final void Z(n nVar, GoogleSignInOptions googleSignInOptions) throws RemoteException { + public final void a0(n nVar, GoogleSignInOptions googleSignInOptions) throws RemoteException { Parcel e = e(); d.b(e, nVar); d.c(e, googleSignInOptions); diff --git a/app/src/main/java/c/i/a/f/c/a/f/b/s.java b/app/src/main/java/c/i/a/f/c/a/f/b/s.java index 07da42f9e3..99c4bc588e 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/b/s.java +++ b/app/src/main/java/c/i/a/f/c/a/f/b/s.java @@ -10,21 +10,21 @@ public final class s implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final SignInConfiguration createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; GoogleSignInOptions googleSignInOptions = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i = 65535 & readInt; if (i == 2) { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } else if (i != 5) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - googleSignInOptions = (GoogleSignInOptions) d.S(parcel, readInt, GoogleSignInOptions.CREATOR); + googleSignInOptions = (GoogleSignInOptions) d.P(parcel, readInt, GoogleSignInOptions.CREATOR); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new SignInConfiguration(str, googleSignInOptions); } diff --git a/app/src/main/java/c/i/a/f/c/a/f/d.java b/app/src/main/java/c/i/a/f/c/a/f/d.java index bc7d7a28ab..5a8c9a2ee2 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/d.java +++ b/app/src/main/java/c/i/a/f/c/a/f/d.java @@ -11,7 +11,7 @@ public final class d implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final GoogleSignInAccount createFromParcel(Parcel parcel) { - int l2 = c.c.a.a0.d.l2(parcel); + int k2 = c.c.a.a0.d.k2(parcel); String str = null; String str2 = null; String str3 = null; @@ -24,51 +24,51 @@ public final class d implements Parcelable.Creator { String str8 = null; long j = 0; int i = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - i = c.c.a.a0.d.G1(parcel, readInt); + i = c.c.a.a0.d.E1(parcel, readInt); break; case 2: - str = c.c.a.a0.d.T(parcel, readInt); + str = c.c.a.a0.d.Q(parcel, readInt); break; case 3: - str2 = c.c.a.a0.d.T(parcel, readInt); + str2 = c.c.a.a0.d.Q(parcel, readInt); break; case 4: - str3 = c.c.a.a0.d.T(parcel, readInt); + str3 = c.c.a.a0.d.Q(parcel, readInt); break; case 5: - str4 = c.c.a.a0.d.T(parcel, readInt); + str4 = c.c.a.a0.d.Q(parcel, readInt); break; case 6: - uri = (Uri) c.c.a.a0.d.S(parcel, readInt, Uri.CREATOR); + uri = (Uri) c.c.a.a0.d.P(parcel, readInt, Uri.CREATOR); break; case 7: - str5 = c.c.a.a0.d.T(parcel, readInt); + str5 = c.c.a.a0.d.Q(parcel, readInt); break; case 8: - j = c.c.a.a0.d.H1(parcel, readInt); + j = c.c.a.a0.d.F1(parcel, readInt); break; case 9: - str6 = c.c.a.a0.d.T(parcel, readInt); + str6 = c.c.a.a0.d.Q(parcel, readInt); break; case 10: - arrayList = c.c.a.a0.d.X(parcel, readInt, Scope.CREATOR); + arrayList = c.c.a.a0.d.U(parcel, readInt, Scope.CREATOR); break; case 11: - str7 = c.c.a.a0.d.T(parcel, readInt); + str7 = c.c.a.a0.d.Q(parcel, readInt); break; case 12: - str8 = c.c.a.a0.d.T(parcel, readInt); + str8 = c.c.a.a0.d.Q(parcel, readInt); break; default: - c.c.a.a0.d.c2(parcel, readInt); + c.c.a.a0.d.b2(parcel, readInt); break; } } - c.c.a.a0.d.h0(parcel, l2); + c.c.a.a0.d.e0(parcel, k2); return new GoogleSignInAccount(i, str, str2, str3, str4, uri, str5, j, str6, arrayList, str7, str8); } diff --git a/app/src/main/java/c/i/a/f/c/a/f/f.java b/app/src/main/java/c/i/a/f/c/a/f/f.java index 2bd76a8324..ff6b7cf79a 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/f.java +++ b/app/src/main/java/c/i/a/f/c/a/f/f.java @@ -13,7 +13,7 @@ public final class f implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final GoogleSignInOptions createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); ArrayList arrayList = null; ArrayList arrayList2 = null; Account account = null; @@ -24,46 +24,46 @@ public final class f implements Parcelable.Creator { boolean z2 = false; boolean z3 = false; boolean z4 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); break; case 2: - arrayList2 = d.X(parcel, readInt, Scope.CREATOR); + arrayList2 = d.U(parcel, readInt, Scope.CREATOR); break; case 3: - account = (Account) d.S(parcel, readInt, Account.CREATOR); + account = (Account) d.P(parcel, readInt, Account.CREATOR); break; case 4: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); break; case 5: - z3 = d.E1(parcel, readInt); + z3 = d.C1(parcel, readInt); break; case 6: - z4 = d.E1(parcel, readInt); + z4 = d.C1(parcel, readInt); break; case 7: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 8: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; case 9: - arrayList = d.X(parcel, readInt, GoogleSignInOptionsExtensionParcelable.CREATOR); + arrayList = d.U(parcel, readInt, GoogleSignInOptionsExtensionParcelable.CREATOR); break; case 10: - str3 = d.T(parcel, readInt); + str3 = d.Q(parcel, readInt); break; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); - return new GoogleSignInOptions(i, arrayList2, account, z2, z3, z4, str, str2, GoogleSignInOptions.x0(arrayList), str3); + d.e0(parcel, k2); + return new GoogleSignInOptions(i, arrayList2, account, z2, z3, z4, str, str2, GoogleSignInOptions.y0(arrayList), str3); } /* Return type fixed from 'java.lang.Object[]' to match base method */ diff --git a/app/src/main/java/c/i/a/f/c/a/f/g.java b/app/src/main/java/c/i/a/f/c/a/f/g.java index c29eeddfee..a21ab8a36c 100644 --- a/app/src/main/java/c/i/a/f/c/a/f/g.java +++ b/app/src/main/java/c/i/a/f/c/a/f/g.java @@ -10,24 +10,24 @@ public final class g implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final SignInAccount createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = ""; GoogleSignInAccount googleSignInAccount = null; String str2 = str; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i = 65535 & readInt; if (i == 4) { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } else if (i == 7) { - googleSignInAccount = (GoogleSignInAccount) d.S(parcel, readInt, GoogleSignInAccount.CREATOR); + googleSignInAccount = (GoogleSignInAccount) d.P(parcel, readInt, GoogleSignInAccount.CREATOR); } else if (i != 8) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new SignInAccount(str, googleSignInAccount, str2); } diff --git a/app/src/main/java/c/i/a/f/c/a/g.java b/app/src/main/java/c/i/a/f/c/a/g.java index 0993aa9077..26370a4e9d 100644 --- a/app/src/main/java/c/i/a/f/c/a/g.java +++ b/app/src/main/java/c/i/a/f/c/a/g.java @@ -5,10 +5,10 @@ import android.os.Looper; import c.i.a.f.e.h.a; import c.i.a.f.e.h.c; import c.i.a.f.e.k.c; -public final class g extends a.AbstractC0106a { +public final class g extends a.AbstractC0105a { /* Return type fixed from 'c.i.a.f.e.h.a$f' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [android.content.Context, android.os.Looper, c.i.a.f.e.k.c, java.lang.Object, c.i.a.f.e.h.c$a, c.i.a.f.e.h.c$b] */ - @Override // c.i.a.f.e.h.a.AbstractC0106a + @Override // c.i.a.f.e.h.a.AbstractC0105a public final /* synthetic */ c.i.a.f.h.d.a a(Context context, Looper looper, c cVar, c cVar2, c.a aVar, c.b bVar) { return new c.i.a.f.h.d.a(context, looper, cVar, cVar2, aVar, bVar); } diff --git a/app/src/main/java/c/i/a/f/c/a/h.java b/app/src/main/java/c/i/a/f/c/a/h.java index 902522eaf2..453c6abd04 100644 --- a/app/src/main/java/c/i/a/f/c/a/h.java +++ b/app/src/main/java/c/i/a/f/c/a/h.java @@ -8,11 +8,11 @@ import c.i.a.f.e.h.c; import c.i.a.f.e.k.c; import c.i.a.f.h.c.o; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ -public final class h extends a.AbstractC0106a { +public final class h extends a.AbstractC0105a { /* Return type fixed from 'c.i.a.f.e.h.a$f' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [android.content.Context, android.os.Looper, c.i.a.f.e.k.c, java.lang.Object, c.i.a.f.e.h.c$a, c.i.a.f.e.h.c$b] */ - @Override // c.i.a.f.e.h.a.AbstractC0106a - public final /* synthetic */ o a(Context context, Looper looper, c cVar, a.C0104a aVar, c.a aVar2, c.b bVar) { + @Override // c.i.a.f.e.h.a.AbstractC0105a + public final /* synthetic */ o a(Context context, Looper looper, c cVar, a.C0103a aVar, c.a aVar2, c.b bVar) { return new o(context, looper, cVar, aVar, aVar2, bVar); } } diff --git a/app/src/main/java/c/i/a/f/c/a/i.java b/app/src/main/java/c/i/a/f/c/a/i.java index a95b11da3c..03ca209139 100644 --- a/app/src/main/java/c/i/a/f/c/a/i.java +++ b/app/src/main/java/c/i/a/f/c/a/i.java @@ -9,10 +9,10 @@ import c.i.a.f.e.h.c; import c.i.a.f.e.k.c; import com.google.android.gms.auth.api.signin.GoogleSignInOptions; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ -public final class i extends a.AbstractC0106a { +public final class i extends a.AbstractC0105a { /* Return type fixed from 'c.i.a.f.e.h.a$f' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [android.content.Context, android.os.Looper, c.i.a.f.e.k.c, java.lang.Object, c.i.a.f.e.h.c$a, c.i.a.f.e.h.c$b] */ - @Override // c.i.a.f.e.h.a.AbstractC0106a + @Override // c.i.a.f.e.h.a.AbstractC0105a public final /* synthetic */ f a(Context context, Looper looper, c cVar, @Nullable GoogleSignInOptions googleSignInOptions, c.a aVar, c.b bVar) { return new f(context, looper, cVar, googleSignInOptions, aVar, bVar); } diff --git a/app/src/main/java/c/i/a/f/d/a.java b/app/src/main/java/c/i/a/f/d/a.java index 81e296a539..b36c0e33c0 100644 --- a/app/src/main/java/c/i/a/f/d/a.java +++ b/app/src/main/java/c/i/a/f/d/a.java @@ -9,8 +9,7 @@ import android.text.TextUtils; import android.util.Log; import androidx.annotation.NonNull; import androidx.annotation.WorkerThread; -import c.i.a.f.e.o.c; -import c.i.c.s.f; +import c.i.a.f.e.o.f; import com.google.android.gms.cloudmessaging.CloudMessage; import com.google.android.gms.tasks.Task; import java.util.concurrent.ExecutionException; @@ -48,7 +47,7 @@ public abstract class a extends BroadcastReceiver { } if ("com.google.firebase.messaging.NOTIFICATION_OPEN".equals(intent.getAction())) { try { - c.c(new f(context).b(new Intent("com.google.firebase.messaging.NOTIFICATION_OPEN").putExtras(extras))); + f.g(new c.i.c.s.f(context).b(new Intent("com.google.firebase.messaging.NOTIFICATION_OPEN").putExtras(extras))); return -1; } catch (InterruptedException | ExecutionException e) { Log.e("FirebaseInstanceId", "Failed to send notification open event to service.", e); @@ -56,7 +55,7 @@ public abstract class a extends BroadcastReceiver { } } else if ("com.google.firebase.messaging.NOTIFICATION_DISMISS".equals(intent.getAction())) { try { - c.c(new f(context).b(new Intent("com.google.firebase.messaging.NOTIFICATION_DISMISS").putExtras(extras))); + f.g(new c.i.c.s.f(context).b(new Intent("com.google.firebase.messaging.NOTIFICATION_DISMISS").putExtras(extras))); return -1; } catch (InterruptedException | ExecutionException e2) { Log.e("FirebaseInstanceId", "Failed to send notification dismissed event to service.", e2); @@ -78,7 +77,7 @@ public abstract class a extends BroadcastReceiver { } String stringExtra = intent.getStringExtra("google.message_id"); if (TextUtils.isEmpty(stringExtra)) { - task = c.F(null); + task = f.R(null); } else { Bundle bundle = new Bundle(); bundle.putString("google.message_id", stringExtra); @@ -90,15 +89,15 @@ public abstract class a extends BroadcastReceiver { task = a.b(new o(i, bundle)); } try { - i2 = ((Integer) c.c(new f(context).b(new CloudMessage(intent).i))).intValue(); + i2 = ((Integer) f.g(new c.i.c.s.f(context).b(new CloudMessage(intent).i))).intValue(); } catch (InterruptedException | ExecutionException e) { Log.e("FirebaseInstanceId", "Failed to send message to service.", e); } try { - c.d(task, TimeUnit.SECONDS.toMillis(1), TimeUnit.MILLISECONDS); + f.h(task, TimeUnit.SECONDS.toMillis(1), TimeUnit.MILLISECONDS); } catch (InterruptedException | ExecutionException | TimeoutException e2) { String valueOf = String.valueOf(e2); - c.d.b.a.a.b0(valueOf.length() + 20, "Message ack failed: ", valueOf, "CloudMessagingReceiver"); + c.d.b.a.a.f0(valueOf.length() + 20, "Message ack failed: ", valueOf, "CloudMessagingReceiver"); } return i2; } diff --git a/app/src/main/java/c/i/a/f/d/b.java b/app/src/main/java/c/i/a/f/d/b.java index 86cb58d50c..0d621171c6 100644 --- a/app/src/main/java/c/i/a/f/d/b.java +++ b/app/src/main/java/c/i/a/f/d/b.java @@ -30,7 +30,7 @@ public class b { public static PendingIntent b; /* renamed from: c reason: collision with root package name */ - public final SimpleArrayMap> f1095c = new SimpleArrayMap<>(); + public final SimpleArrayMap> f1065c = new SimpleArrayMap<>(); public final Context d; public final r e; public final ScheduledExecutorService f; @@ -49,8 +49,8 @@ public class b { } public final void a(String str, @Nullable Bundle bundle) { - synchronized (this.f1095c) { - TaskCompletionSource remove = this.f1095c.remove(str); + synchronized (this.f1065c) { + TaskCompletionSource remove = this.f1065c.remove(str); if (remove == null) { String valueOf = String.valueOf(str); Log.w("Rpc", valueOf.length() != 0 ? "Missing callback for ".concat(valueOf) : new String("Missing callback for ")); @@ -69,8 +69,8 @@ public class b { num = Integer.toString(i); } TaskCompletionSource taskCompletionSource = new TaskCompletionSource<>(); - synchronized (this.f1095c) { - this.f1095c.put(num, taskCompletionSource); + synchronized (this.f1065c) { + this.f1065c.put(num, taskCompletionSource); } Intent intent = new Intent(); intent.setPackage("com.google.android.gms"); @@ -89,7 +89,7 @@ public class b { } intent.putExtra("app", b); } - intent.putExtra("kid", a.g(a.b(num, 5), "|ID|", num, "|")); + intent.putExtra("kid", a.j(a.b(num, 5), "|ID|", num, "|")); if (Log.isLoggable("Rpc", 3)) { String valueOf = String.valueOf(intent.getExtras()); StringBuilder sb = new StringBuilder(valueOf.length() + 8); diff --git a/app/src/main/java/c/i/a/f/d/c.java b/app/src/main/java/c/i/a/f/d/c.java index 6f66e8badd..7f14bebdae 100644 --- a/app/src/main/java/c/i/a/f/d/c.java +++ b/app/src/main/java/c/i/a/f/d/c.java @@ -10,17 +10,17 @@ public final class c implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final CloudMessage createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); Intent intent = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); if ((65535 & readInt) != 1) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - intent = (Intent) d.S(parcel, readInt, Intent.CREATOR); + intent = (Intent) d.P(parcel, readInt, Intent.CREATOR); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new CloudMessage(intent); } diff --git a/app/src/main/java/c/i/a/f/d/f.java b/app/src/main/java/c/i/a/f/d/f.java index 2dfcbb619a..ceac5dfa86 100644 --- a/app/src/main/java/c/i/a/f/d/f.java +++ b/app/src/main/java/c/i/a/f/d/f.java @@ -15,13 +15,13 @@ public final class f { public final Context b; /* renamed from: c reason: collision with root package name */ - public final ScheduledExecutorService f1096c; + public final ScheduledExecutorService f1066c; public g d = new g(this, null); public int e = 1; @VisibleForTesting public f(Context context, ScheduledExecutorService scheduledExecutorService) { - this.f1096c = scheduledExecutorService; + this.f1066c = scheduledExecutorService; this.b = context.getApplicationContext(); } diff --git a/app/src/main/java/c/i/a/f/d/g.java b/app/src/main/java/c/i/a/f/d/g.java index d9a8e551f8..99cb41dba4 100644 --- a/app/src/main/java/c/i/a/f/d/g.java +++ b/app/src/main/java/c/i/a/f/d/g.java @@ -77,7 +77,7 @@ public final class g implements ServiceConnection { if (!c.i.a.f.e.n.a.b().a(this.n.b, intent, this, 1)) { a(0, "Unable to bind to service"); } else { - this.n.f1096c.schedule(new i(this), 30, TimeUnit.SECONDS); + this.n.f1066c.schedule(new i(this), 30, TimeUnit.SECONDS); } return true; } else if (i == 1) { @@ -96,7 +96,7 @@ public final class g implements ServiceConnection { return false; } else { this.l.add(qVar); - this.n.f1096c.execute(new k(this)); + this.n.f1066c.execute(new k(this)); return true; } } @@ -117,7 +117,7 @@ public final class g implements ServiceConnection { if (Log.isLoggable("MessengerIpcClient", 2)) { Log.v("MessengerIpcClient", "Service connected"); } - this.n.f1096c.execute(new l(this, iBinder)); + this.n.f1066c.execute(new l(this, iBinder)); } @Override // android.content.ServiceConnection @@ -126,6 +126,6 @@ public final class g implements ServiceConnection { if (Log.isLoggable("MessengerIpcClient", 2)) { Log.v("MessengerIpcClient", "Service disconnected"); } - this.n.f1096c.execute(new n(this)); + this.n.f1066c.execute(new n(this)); } } diff --git a/app/src/main/java/c/i/a/f/d/k.java b/app/src/main/java/c/i/a/f/d/k.java index d24c80d377..97c9a90fce 100644 --- a/app/src/main/java/c/i/a/f/d/k.java +++ b/app/src/main/java/c/i/a/f/d/k.java @@ -30,7 +30,7 @@ public final /* synthetic */ class k implements Runnable { } poll = gVar.l.poll(); gVar.m.put(poll.a, poll); - gVar.n.f1096c.schedule(new m(gVar, poll), 30, TimeUnit.SECONDS); + gVar.n.f1066c.schedule(new m(gVar, poll), 30, TimeUnit.SECONDS); } else { return; } @@ -45,7 +45,7 @@ public final /* synthetic */ class k implements Runnable { Context context = gVar.n.b; Messenger messenger = gVar.j; Message obtain = Message.obtain(); - obtain.what = poll.f1097c; + obtain.what = poll.f1067c; obtain.arg1 = poll.a; obtain.replyTo = messenger; Bundle bundle = new Bundle(); diff --git a/app/src/main/java/c/i/a/f/d/l.java b/app/src/main/java/c/i/a/f/d/l.java index 52b6ab2eb3..47c96dbd1d 100644 --- a/app/src/main/java/c/i/a/f/d/l.java +++ b/app/src/main/java/c/i/a/f/d/l.java @@ -24,7 +24,7 @@ public final /* synthetic */ class l implements Runnable { try { gVar.k = new p(iBinder); gVar.i = 2; - gVar.n.f1096c.execute(new k(gVar)); + gVar.n.f1066c.execute(new k(gVar)); } catch (RemoteException e) { gVar.a(0, e.getMessage()); } diff --git a/app/src/main/java/c/i/a/f/d/q.java b/app/src/main/java/c/i/a/f/d/q.java index ee73f6c2f5..f3795b1ebf 100644 --- a/app/src/main/java/c/i/a/f/d/q.java +++ b/app/src/main/java/c/i/a/f/d/q.java @@ -11,12 +11,12 @@ public abstract class q { public final TaskCompletionSource b = new TaskCompletionSource<>(); /* renamed from: c reason: collision with root package name */ - public final int f1097c; + public final int f1067c; public final Bundle d; public q(int i, int i2, Bundle bundle) { this.a = i; - this.f1097c = i2; + this.f1067c = i2; this.d = bundle; } @@ -26,7 +26,7 @@ public abstract class q { if (Log.isLoggable("MessengerIpcClient", 3)) { String valueOf = String.valueOf(this); String valueOf2 = String.valueOf(zzp); - Log.d("MessengerIpcClient", a.h(valueOf2.length() + valueOf.length() + 14, "Failing ", valueOf, " with ", valueOf2)); + Log.d("MessengerIpcClient", a.k(valueOf2.length() + valueOf.length() + 14, "Failing ", valueOf, " with ", valueOf2)); } this.b.a.s(zzp); } @@ -35,7 +35,7 @@ public abstract class q { if (Log.isLoggable("MessengerIpcClient", 3)) { String valueOf = String.valueOf(this); String valueOf2 = String.valueOf(t); - Log.d("MessengerIpcClient", a.h(valueOf2.length() + valueOf.length() + 16, "Finishing ", valueOf, " with ", valueOf2)); + Log.d("MessengerIpcClient", a.k(valueOf2.length() + valueOf.length() + 16, "Finishing ", valueOf, " with ", valueOf2)); } this.b.a.t(t); } @@ -43,17 +43,13 @@ public abstract class q { public abstract boolean d(); public String toString() { - int i = this.f1097c; + int i = this.f1067c; int i2 = this.a; boolean d = d(); - StringBuilder sb = new StringBuilder(55); - sb.append("Request { what="); - sb.append(i); - sb.append(" id="); - sb.append(i2); - sb.append(" oneWay="); - sb.append(d); - sb.append("}"); - return sb.toString(); + StringBuilder O = a.O(55, "Request { what=", i, " id=", i2); + O.append(" oneWay="); + O.append(d); + O.append("}"); + return O.toString(); } } diff --git a/app/src/main/java/c/i/a/f/d/r.java b/app/src/main/java/c/i/a/f/d/r.java index a3be846f4e..51fc6e2894 100644 --- a/app/src/main/java/c/i/a/f/d/r.java +++ b/app/src/main/java/c/i/a/f/d/r.java @@ -8,7 +8,7 @@ import android.content.pm.ResolveInfo; import android.util.Log; import androidx.annotation.Nullable; import c.d.b.a.a; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.i.a.f.e.p.b; import java.util.List; /* compiled from: com.google.android.gms:play-services-cloud-messaging@@16.0.0 */ @@ -17,14 +17,14 @@ public final class r { public int b; /* renamed from: c reason: collision with root package name */ - public int f1098c = 0; + public int f1068c = 0; public r(Context context) { this.a = context; } public final synchronized int a() { - int i = this.f1098c; + int i = this.f1068c; if (i != 0) { return i; } @@ -33,12 +33,12 @@ public final class r { Log.e("Metadata", "Google Play services missing or without correct permission."); return 0; } - if (!c.R()) { + if (!f.q0()) { Intent intent = new Intent("com.google.android.c2dm.intent.REGISTER"); intent.setPackage("com.google.android.gms"); List queryIntentServices = packageManager.queryIntentServices(intent, 0); if (queryIntentServices != null && queryIntentServices.size() > 0) { - this.f1098c = 1; + this.f1068c = 1; return 1; } } @@ -47,14 +47,14 @@ public final class r { List queryBroadcastReceivers = packageManager.queryBroadcastReceivers(intent2, 0); if (queryBroadcastReceivers == null || queryBroadcastReceivers.size() <= 0) { Log.w("Metadata", "Failed to resolve IID implementation package, falling back"); - if (c.R()) { - this.f1098c = 2; + if (f.q0()) { + this.f1068c = 2; } else { - this.f1098c = 1; + this.f1068c = 1; } - return this.f1098c; + return this.f1068c; } - this.f1098c = 2; + this.f1068c = 2; return 2; } @@ -64,7 +64,7 @@ public final class r { return b.a(this.a).a.getPackageManager().getPackageInfo(str, 0); } catch (PackageManager.NameNotFoundException e) { String valueOf = String.valueOf(e); - a.b0(valueOf.length() + 23, "Failed to find package ", valueOf, "Metadata"); + a.f0(valueOf.length() + 23, "Failed to find package ", valueOf, "Metadata"); return null; } } diff --git a/app/src/main/java/c/i/a/f/d/w.java b/app/src/main/java/c/i/a/f/d/w.java index e7d98a79cd..7c79da4f31 100644 --- a/app/src/main/java/c/i/a/f/d/w.java +++ b/app/src/main/java/c/i/a/f/d/w.java @@ -1,7 +1,6 @@ package c.i.a.f.d; import android.os.Bundle; -import c.i.a.f.e.o.c; import c.i.a.f.n.f; import com.google.android.gms.tasks.Task; /* compiled from: com.google.android.gms:play-services-cloud-messaging@@16.0.0 */ @@ -12,6 +11,6 @@ public final /* synthetic */ class w implements f { public final Task a(Object obj) { Bundle bundle = (Bundle) obj; int i = b.a; - return bundle != null && bundle.containsKey("google.messenger") ? c.F(null) : c.F(bundle); + return bundle != null && bundle.containsKey("google.messenger") ? c.i.a.f.e.o.f.R(null) : c.i.a.f.e.o.f.R(bundle); } } diff --git a/app/src/main/java/c/i/a/f/d/x.java b/app/src/main/java/c/i/a/f/d/x.java index cb01462858..c9042cdbbd 100644 --- a/app/src/main/java/c/i/a/f/d/x.java +++ b/app/src/main/java/c/i/a/f/d/x.java @@ -9,21 +9,21 @@ public final /* synthetic */ class x implements c { public final String b; /* renamed from: c reason: collision with root package name */ - public final ScheduledFuture f1099c; + public final ScheduledFuture f1069c; public x(b bVar, String str, ScheduledFuture scheduledFuture) { this.a = bVar; this.b = str; - this.f1099c = scheduledFuture; + this.f1069c = scheduledFuture; } @Override // c.i.a.f.n.c public final void onComplete(Task task) { b bVar = this.a; String str = this.b; - ScheduledFuture scheduledFuture = this.f1099c; - synchronized (bVar.f1095c) { - bVar.f1095c.remove(str); + ScheduledFuture scheduledFuture = this.f1069c; + synchronized (bVar.f1065c) { + bVar.f1065c.remove(str); } scheduledFuture.cancel(false); } diff --git a/app/src/main/java/c/i/a/f/d/y.java b/app/src/main/java/c/i/a/f/d/y.java index 418e40d610..6ec507ba28 100644 --- a/app/src/main/java/c/i/a/f/d/y.java +++ b/app/src/main/java/c/i/a/f/d/y.java @@ -51,7 +51,7 @@ public final class y extends a { String stringExtra2 = intent2.getStringExtra("error"); if (stringExtra2 == null) { String valueOf = String.valueOf(intent2.getExtras()); - c.d.b.a.a.b0(valueOf.length() + 49, "Unexpected response, no error or registration id ", valueOf, "Rpc"); + c.d.b.a.a.f0(valueOf.length() + 49, "Unexpected response, no error or registration id ", valueOf, "Rpc"); return; } if (Log.isLoggable("Rpc", 3)) { @@ -71,9 +71,9 @@ public final class y extends a { bVar.a(str, intent2.putExtra("error", str2).getExtras()); return; } - synchronized (bVar.f1095c) { - for (int i = 0; i < bVar.f1095c.size(); i++) { - bVar.a(bVar.f1095c.keyAt(i), intent2.getExtras()); + synchronized (bVar.f1065c) { + for (int i = 0; i < bVar.f1065c.size(); i++) { + bVar.a(bVar.f1065c.keyAt(i), intent2.getExtras()); } } return; diff --git a/app/src/main/java/c/i/a/f/e/a0.java b/app/src/main/java/c/i/a/f/e/a0.java index 4f6c46d14d..4628b3830e 100644 --- a/app/src/main/java/c/i/a/f/e/a0.java +++ b/app/src/main/java/c/i/a/f/e/a0.java @@ -7,12 +7,12 @@ public class a0 { public final boolean b; /* renamed from: c reason: collision with root package name */ - public final String f1100c; + public final String f1070c; public final Throwable d; public a0(boolean z2, String str, Throwable th) { this.b = z2; - this.f1100c = str; + this.f1070c = str; this.d = th; } @@ -25,6 +25,6 @@ public class a0 { } public String c() { - return this.f1100c; + return this.f1070c; } } diff --git a/app/src/main/java/c/i/a/f/e/b0.java b/app/src/main/java/c/i/a/f/e/b0.java index 7f9974cf73..eb4362ec6e 100644 --- a/app/src/main/java/c/i/a/f/e/b0.java +++ b/app/src/main/java/c/i/a/f/e/b0.java @@ -10,27 +10,27 @@ public final class b0 implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzj createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); boolean z2 = false; String str = null; IBinder iBinder = null; boolean z3 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i = 65535 & readInt; if (i == 1) { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } else if (i == 2) { - iBinder = d.F1(parcel, readInt); + iBinder = d.D1(parcel, readInt); } else if (i == 3) { - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); } else if (i != 4) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - z3 = d.E1(parcel, readInt); + z3 = d.C1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzj(str, iBinder, z2, z3); } diff --git a/app/src/main/java/c/i/a/f/e/c.java b/app/src/main/java/c/i/a/f/e/c.java index f2193d33fd..aeddaf180e 100644 --- a/app/src/main/java/c/i/a/f/e/c.java +++ b/app/src/main/java/c/i/a/f/e/c.java @@ -32,25 +32,25 @@ public class c { @RecentlyNullable public Intent a(@Nullable Context context, @RecentlyNonNull int i, @Nullable String str) { if (i == 1 || i == 2) { - if (context == null || !c.i.a.f.e.o.c.V(context)) { - StringBuilder O = a.O("gcore_"); - O.append(a); - O.append("-"); + if (context == null || !d.Z0(context)) { + StringBuilder R = a.R("gcore_"); + R.append(a); + R.append("-"); if (!TextUtils.isEmpty(str)) { - O.append(str); + R.append(str); } - O.append("-"); + R.append("-"); if (context != null) { - O.append(context.getPackageName()); + R.append(context.getPackageName()); } - O.append("-"); + R.append("-"); if (context != null) { try { - O.append(b.a(context).b(context.getPackageName(), 0).versionCode); + R.append(b.a(context).b(context.getPackageName(), 0).versionCode); } catch (PackageManager.NameNotFoundException unused) { } } - String sb = O.toString(); + String sb = R.toString(); int i2 = h0.a; Intent intent = new Intent("android.intent.action.VIEW"); Uri.Builder appendQueryParameter = Uri.parse("market://details").buildUpon().appendQueryParameter(ModelAuditLogEntry.CHANGE_KEY_ID, "com.google.android.gms"); @@ -77,13 +77,13 @@ public class c { } } - /* JADX WARNING: Removed duplicated region for block: B:33:0x009d */ - /* JADX WARNING: Removed duplicated region for block: B:34:0x009f */ - /* JADX WARNING: Removed duplicated region for block: B:37:0x00ae */ - /* JADX WARNING: Removed duplicated region for block: B:47:0x00d4 */ - /* JADX WARNING: Removed duplicated region for block: B:48:0x00e2 */ - /* JADX WARNING: Removed duplicated region for block: B:78:0x017f */ - /* JADX WARNING: Removed duplicated region for block: B:82:0x0189 A[ORIG_RETURN, RETURN, SYNTHETIC] */ + /* JADX WARNING: Removed duplicated region for block: B:33:0x0090 */ + /* JADX WARNING: Removed duplicated region for block: B:34:0x0092 */ + /* JADX WARNING: Removed duplicated region for block: B:37:0x00a1 */ + /* JADX WARNING: Removed duplicated region for block: B:47:0x00c7 */ + /* JADX WARNING: Removed duplicated region for block: B:48:0x00d5 */ + /* JADX WARNING: Removed duplicated region for block: B:78:0x016d */ + /* JADX WARNING: Removed duplicated region for block: B:82:0x0177 A[ORIG_RETURN, RETURN, SYNTHETIC] */ /* JADX WARNING: Removed duplicated region for block: B:83:? A[RETURN, SYNTHETIC] */ @RecentlyNonNull public int b(@RecentlyNonNull Context context, @RecentlyNonNull int i) { @@ -103,23 +103,19 @@ public class c { if (i3 == 0) { throw new IllegalStateException("A required meta-data tag in your app's AndroidManifest.xml does not exist. You must have the following declaration within the element: "); } else if (i3 != 12451000) { - StringBuilder sb = new StringBuilder(320); - sb.append("The meta-data tag in your app's AndroidManifest.xml does not have the right value. Expected "); - sb.append(12451000); - sb.append(" but found "); - sb.append(i3); - sb.append(". You must have the following declaration within the element: "); - throw new IllegalStateException(sb.toString()); + StringBuilder O = a.O(320, "The meta-data tag in your app's AndroidManifest.xml does not have the right value. Expected ", 12451000, " but found ", i3); + O.append(". You must have the following declaration within the element: "); + throw new IllegalStateException(O.toString()); } } boolean z4 = true; - if (!c.i.a.f.e.o.c.V(context)) { - if (c.i.a.f.e.o.c.f1136c == null) { - c.i.a.f.e.o.c.f1136c = Boolean.valueOf(context.getPackageManager().hasSystemFeature("android.hardware.type.iot") || context.getPackageManager().hasSystemFeature("android.hardware.type.embedded")); + if (!d.Z0(context)) { + if (d.e == null) { + d.e = Boolean.valueOf(context.getPackageManager().hasSystemFeature("android.hardware.type.iot") || context.getPackageManager().hasSystemFeature("android.hardware.type.embedded")); } - if (!c.i.a.f.e.o.c.f1136c.booleanValue()) { + if (!d.e.booleanValue()) { z2 = true; - d.m(i < 0); + d.l(i < 0); packageName = context.getPackageName(); PackageManager packageManager = context.getPackageManager(); PackageInfo packageInfo2 = null; @@ -148,14 +144,14 @@ public class c { i5 = i / 1000; } if (i6 < i5) { - StringBuilder sb2 = new StringBuilder(String.valueOf(packageName).length() + 82); - sb2.append("Google Play services out of date for "); - sb2.append(packageName); - sb2.append(". Requires "); - sb2.append(i); - sb2.append(" but found "); - sb2.append(i4); - Log.w("GooglePlayServicesUtil", sb2.toString()); + StringBuilder sb = new StringBuilder(a.b(packageName, 82)); + sb.append("Google Play services out of date for "); + sb.append(packageName); + sb.append(". Requires "); + sb.append(i); + sb.append(" but found "); + sb.append(i4); + Log.w("GooglePlayServicesUtil", sb.toString()); i2 = 2; } else { ApplicationInfo applicationInfo = packageInfo.applicationInfo; @@ -184,7 +180,7 @@ public class c { } } z2 = false; - d.m(i < 0); + d.l(i < 0); packageName = context.getPackageName(); PackageManager packageManager = context.getPackageManager(); PackageInfo packageInfo2 = null; diff --git a/app/src/main/java/c/i/a/f/e/e.java b/app/src/main/java/c/i/a/f/e/e.java index 56f2f5d1f0..ae89c5a3d2 100644 --- a/app/src/main/java/c/i/a/f/e/e.java +++ b/app/src/main/java/c/i/a/f/e/e.java @@ -20,7 +20,7 @@ public class e { public static boolean b = false; /* renamed from: c reason: collision with root package name */ - public static final AtomicBoolean f1101c = new AtomicBoolean(); + public static final AtomicBoolean f1071c = new AtomicBoolean(); public static final AtomicBoolean d = new AtomicBoolean(); @RecentlyNonNull diff --git a/app/src/main/java/c/i/a/f/e/f.java b/app/src/main/java/c/i/a/f/e/f.java index 8bd7bc6598..37297ac8e4 100644 --- a/app/src/main/java/c/i/a/f/e/f.java +++ b/app/src/main/java/c/i/a/f/e/f.java @@ -16,7 +16,7 @@ public class f { public final Context b; /* renamed from: c reason: collision with root package name */ - public volatile String f1102c; + public volatile String f1072c; public f(Context context) { this.b = context.getApplicationContext(); @@ -29,8 +29,8 @@ public class f { if (a == null) { o0 o0Var = s.a; synchronized (s.class) { - if (s.f1138c == null) { - s.f1138c = context.getApplicationContext(); + if (s.f1106c == null) { + s.f1106c = context.getApplicationContext(); } else { Log.w("GoogleCertificates", "GoogleCertificates has been initialized already"); } @@ -90,7 +90,7 @@ public class f { String str = packagesForUid[i2]; if (str == null) { a0Var = a0.a("null pkg"); - } else if (str.equals(this.f1102c)) { + } else if (str.equals(this.f1072c)) { a0Var = a0.a; } else { try { @@ -131,7 +131,7 @@ public class f { } } if (a0Var2.b) { - this.f1102c = str; + this.f1072c = str; } a0Var = a0Var2; } catch (PackageManager.NameNotFoundException e) { diff --git a/app/src/main/java/c/i/a/f/e/h/a.java b/app/src/main/java/c/i/a/f/e/h/a.java index 6beaeb2784..236d83743d 100644 --- a/app/src/main/java/c/i/a/f/e/h/a.java +++ b/app/src/main/java/c/i/a/f/e/h/a.java @@ -16,16 +16,16 @@ import java.util.Set; /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ public final class a { @Nullable - public final AbstractC0106a a; + public final AbstractC0105a a; @Nullable public final g b; /* renamed from: c reason: collision with root package name */ - public final String f1103c; + public final String f1073c; /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ /* renamed from: c.i.a.f.e.h.a$a reason: collision with other inner class name */ - public static abstract class AbstractC0106a extends e { + public static abstract class AbstractC0105a extends e { @Deprecated public T a(Context context, Looper looper, c.i.a.f.e.k.c cVar, O o, c.a aVar, c.b bVar) { return b(context, looper, cVar, o, aVar, bVar); @@ -49,13 +49,13 @@ public final class a { /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ /* renamed from: c.i.a.f.e.h.a$d$a reason: collision with other inner class name */ - public interface AbstractC0107a extends d { - Account S(); + public interface AbstractC0106a extends d { + Account T(); } /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ public interface b extends d { - GoogleSignInAccount K(); + GoogleSignInAccount L(); } /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ @@ -107,10 +107,10 @@ public final class a { /* JADX DEBUG: Multi-variable search result rejected for r3v0, resolved type: c.i.a.f.e.h.a$a */ /* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: c.i.a.f.e.h.a$g */ /* JADX WARN: Multi-variable type inference failed */ - public a(String str, AbstractC0106a aVar, g gVar) { + public a(String str, AbstractC0105a aVar, g gVar) { c.c.a.a0.d.z(aVar, "Cannot construct an Api with a null ClientBuilder"); c.c.a.a0.d.z(gVar, "Cannot construct an Api with a null ClientKey"); - this.f1103c = str; + this.f1073c = str; this.a = aVar; this.b = gVar; } diff --git a/app/src/main/java/c/i/a/f/e/h/b.java b/app/src/main/java/c/i/a/f/e/h/b.java index e793c918c2..3630108e48 100644 --- a/app/src/main/java/c/i/a/f/e/h/b.java +++ b/app/src/main/java/c/i/a/f/e/h/b.java @@ -24,7 +24,7 @@ import c.i.a.f.e.h.j.p0; import c.i.a.f.e.h.j.q0; import c.i.a.f.e.h.j.y; import c.i.a.f.e.k.c; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import com.google.android.gms.auth.api.signin.GoogleSignInAccount; import com.google.android.gms.common.api.GoogleApiActivity; import com.google.android.gms.common.api.Scope; @@ -43,7 +43,7 @@ public class b { public final a b; /* renamed from: c reason: collision with root package name */ - public final O f1104c; + public final O f1074c; public final c.i.a.f.e.h.j.b d; public final Looper e; public final int f; @@ -58,11 +58,11 @@ public class b { public final n b; /* renamed from: c reason: collision with root package name */ - public final Looper f1105c; + public final Looper f1075c; public a(n nVar, Account account, Looper looper) { this.b = nVar; - this.f1105c = looper; + this.f1075c = looper; } } @@ -75,8 +75,8 @@ public class b { this.a = applicationContext; e(activity); this.b = aVar; - this.f1104c = o; - this.e = aVar2.f1105c; + this.f1074c = o; + this.e = aVar2.f1075c; c.i.a.f.e.h.j.b bVar = new c.i.a.f.e.h.j.b<>(aVar, o); this.d = bVar; this.g = new y(this); @@ -90,7 +90,7 @@ public class b { } catch (IllegalStateException | ConcurrentModificationException unused) { } } - Handler handler = this.i.f1110w; + Handler handler = this.i.w; handler.sendMessage(handler.obtainMessage(7, this)); } @@ -102,15 +102,15 @@ public class b { this.a = applicationContext; e(context); this.b = aVar; - this.f1104c = o; - this.e = aVar2.f1105c; + this.f1074c = o; + this.e = aVar2.f1075c; this.d = new c.i.a.f.e.h.j.b<>(aVar, o); this.g = new y(this); g a2 = g.a(applicationContext); this.i = a2; this.f = a2.q.getAndIncrement(); this.h = aVar2.b; - Handler handler = a2.f1110w; + Handler handler = a2.w; handler.sendMessage(handler.obtainMessage(7, this)); } @@ -131,7 +131,7 @@ public class b { if (i < 30 || !Build.VERSION.CODENAME.equals("REL")) { String str = Build.VERSION.CODENAME; if (str.length() == 1 && str.charAt(0) >= 'R' && str.charAt(0) <= 'Z') { - Boolean bool = c.e; + Boolean bool = f.a; if (bool != null) { z2 = bool.booleanValue(); } else { @@ -139,14 +139,14 @@ public class b { if (!"google".equals(Build.BRAND) || Build.ID.startsWith("RPP1") || Build.ID.startsWith("RPP2") || Integer.parseInt(Build.VERSION.INCREMENTAL) < 6301457) { z2 = false; } - c.e = Boolean.valueOf(z2); + f.a = Boolean.valueOf(z2); } catch (NumberFormatException unused) { - c.e = Boolean.TRUE; + f.a = Boolean.TRUE; } - if (!c.e.booleanValue()) { + if (!f.a.booleanValue()) { Log.w("PlatformVersion", "Build version must be at least 6301457 to support R in gmscore"); } - z2 = c.e.booleanValue(); + z2 = f.a.booleanValue(); } } } @@ -165,28 +165,28 @@ public class b { } public c.a a() { - GoogleSignInAccount K; - GoogleSignInAccount K2; + GoogleSignInAccount L; + GoogleSignInAccount L2; c.a aVar = new c.a(); - O o = this.f1104c; + O o = this.f1074c; Account account = null; - if (!(o instanceof a.d.b) || (K2 = ((a.d.b) o).K()) == null) { - O o2 = this.f1104c; - if (o2 instanceof a.d.AbstractC0107a) { - account = ((a.d.AbstractC0107a) o2).S(); + if (!(o instanceof a.d.b) || (L2 = ((a.d.b) o).L()) == null) { + O o2 = this.f1074c; + if (o2 instanceof a.d.AbstractC0106a) { + account = ((a.d.AbstractC0106a) o2).T(); } - } else if (K2.l != null) { - account = new Account(K2.l, "com.google"); + } else if (L2.l != null) { + account = new Account(L2.l, "com.google"); } aVar.a = account; - O o3 = this.f1104c; - Set emptySet = (!(o3 instanceof a.d.b) || (K = ((a.d.b) o3).K()) == null) ? Collections.emptySet() : K.v0(); + O o3 = this.f1074c; + Set emptySet = (!(o3 instanceof a.d.b) || (L = ((a.d.b) o3).L()) == null) ? Collections.emptySet() : L.w0(); if (aVar.b == null) { aVar.b = new ArraySet<>(); } aVar.b.addAll(emptySet); aVar.d = this.a.getClass().getName(); - aVar.f1126c = this.a.getPackageName(); + aVar.f1094c = this.a.getPackageName(); return aVar; } @@ -196,8 +196,8 @@ public class b { Objects.requireNonNull(gVar); TaskCompletionSource taskCompletionSource = new TaskCompletionSource(); p0 p0Var = new p0(aVar, taskCompletionSource); - Handler handler = gVar.f1110w; - handler.sendMessage(handler.obtainMessage(13, new c0(p0Var, gVar.f1109r.get(), this))); + Handler handler = gVar.w; + handler.sendMessage(handler.obtainMessage(13, new c0(p0Var, gVar.r.get(), this))); return taskCompletionSource.a; } @@ -207,8 +207,8 @@ public class b { n nVar = this.h; Objects.requireNonNull(gVar); q0 q0Var = new q0(1, pVar, taskCompletionSource, nVar); - Handler handler = gVar.f1110w; - handler.sendMessage(handler.obtainMessage(4, new c0(q0Var, gVar.f1109r.get(), this))); + Handler handler = gVar.w; + handler.sendMessage(handler.obtainMessage(4, new c0(q0Var, gVar.r.get(), this))); return taskCompletionSource.a; } @@ -217,8 +217,8 @@ public class b { g gVar = this.i; Objects.requireNonNull(gVar); o0 o0Var = new o0(i, t); - Handler handler = gVar.f1110w; - handler.sendMessage(handler.obtainMessage(4, new c0(o0Var, gVar.f1109r.get(), this))); + Handler handler = gVar.w; + handler.sendMessage(handler.obtainMessage(4, new c0(o0Var, gVar.r.get(), this))); return t; } } diff --git a/app/src/main/java/c/i/a/f/e/h/e.java b/app/src/main/java/c/i/a/f/e/h/e.java index 55910963e2..e839b8035f 100644 --- a/app/src/main/java/c/i/a/f/e/h/e.java +++ b/app/src/main/java/c/i/a/f/e/h/e.java @@ -7,9 +7,9 @@ import com.google.android.gms.common.api.internal.BasePendingResult; public final class e extends BasePendingResult { public final R l; - public e(c cVar, R r2) { + public e(c cVar, R r) { super(cVar); - this.l = r2; + this.l = r; } @Override // com.google.android.gms.common.api.internal.BasePendingResult diff --git a/app/src/main/java/c/i/a/f/e/h/h.java b/app/src/main/java/c/i/a/f/e/h/h.java index 5d42c0880a..d9537ae1d7 100644 --- a/app/src/main/java/c/i/a/f/e/h/h.java +++ b/app/src/main/java/c/i/a/f/e/h/h.java @@ -5,5 +5,5 @@ import com.google.android.gms.common.api.Status; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ public interface h { @RecentlyNonNull - Status a0(); + Status b0(); } diff --git a/app/src/main/java/c/i/a/f/e/h/i.java b/app/src/main/java/c/i/a/f/e/h/i.java index 593154cd33..9be9fcba28 100644 --- a/app/src/main/java/c/i/a/f/e/h/i.java +++ b/app/src/main/java/c/i/a/f/e/h/i.java @@ -4,5 +4,5 @@ import androidx.annotation.RecentlyNonNull; import c.i.a.f.e.h.h; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ public interface i { - void a(@RecentlyNonNull R r2); + void a(@RecentlyNonNull R r); } diff --git a/app/src/main/java/c/i/a/f/e/h/j/a.java b/app/src/main/java/c/i/a/f/e/h/j/a.java index c631794f21..037096e2ad 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/a.java +++ b/app/src/main/java/c/i/a/f/e/h/j/a.java @@ -6,6 +6,6 @@ import com.google.android.gms.common.api.Status; public class a implements n { @Override // c.i.a.f.e.h.j.n public Exception a(Status status) { - return d.n0(status); + return d.k0(status); } } diff --git a/app/src/main/java/c/i/a/f/e/h/j/a1.java b/app/src/main/java/c/i/a/f/e/h/j/a1.java index e89ed10486..f938ef83b3 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/a1.java +++ b/app/src/main/java/c/i/a/f/e/h/j/a1.java @@ -16,7 +16,7 @@ public class a1 extends t0 { /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public a1(j jVar, g gVar) { super(jVar, GoogleApiAvailability.d); - Object obj = GoogleApiAvailability.f2800c; + Object obj = GoogleApiAvailability.f2382c; this.o = gVar; jVar.a("ConnectionlessLifecycleHelper", this); } @@ -62,7 +62,7 @@ public class a1 extends t0 { @Override // c.i.a.f.e.h.j.t0 public final void k() { - Handler handler = this.o.f1110w; + Handler handler = this.o.w; handler.sendMessage(handler.obtainMessage(3)); } @@ -70,7 +70,7 @@ public class a1 extends t0 { public final void l(ConnectionResult connectionResult, int i) { g gVar = this.o; if (!gVar.c(connectionResult, i)) { - Handler handler = gVar.f1110w; + Handler handler = gVar.w; handler.sendMessage(handler.obtainMessage(5, i, 0, connectionResult)); } } diff --git a/app/src/main/java/c/i/a/f/e/h/j/b.java b/app/src/main/java/c/i/a/f/e/h/j/b.java index a2c0e0e618..77d5efa866 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/b.java +++ b/app/src/main/java/c/i/a/f/e/h/j/b.java @@ -11,11 +11,11 @@ public final class b { @Nullable /* renamed from: c reason: collision with root package name */ - public final O f1106c; + public final O f1076c; public b(a aVar, @Nullable O o) { this.b = aVar; - this.f1106c = o; + this.f1076c = o; this.a = Arrays.hashCode(new Object[]{aVar, o}); } @@ -30,7 +30,7 @@ public final class b { return false; } b bVar = (b) obj; - return c.c.a.a0.d.j0(this.b, bVar.b) && c.c.a.a0.d.j0(this.f1106c, bVar.f1106c); + return c.c.a.a0.d.g0(this.b, bVar.b) && c.c.a.a0.d.g0(this.f1076c, bVar.f1076c); } public final int hashCode() { diff --git a/app/src/main/java/c/i/a/f/e/h/j/b0.java b/app/src/main/java/c/i/a/f/e/h/j/b0.java index 78b2b8f213..9a0fa79ee0 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/b0.java +++ b/app/src/main/java/c/i/a/f/e/h/j/b0.java @@ -16,7 +16,7 @@ public class b0 extends t0 { /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public b0(j jVar) { super(jVar, GoogleApiAvailability.d); - Object obj = GoogleApiAvailability.f2800c; + Object obj = GoogleApiAvailability.f2382c; jVar.a("GmsAvailabilityHelper", this); } @@ -43,6 +43,6 @@ public class b0 extends t0 { @Override // c.i.a.f.e.h.j.t0 public final void l(ConnectionResult connectionResult, int i) { TaskCompletionSource taskCompletionSource = this.n; - taskCompletionSource.a.s(d.n0(new Status(connectionResult.k, connectionResult.m, connectionResult.l))); + taskCompletionSource.a.s(d.k0(new Status(connectionResult.k, connectionResult.m, connectionResult.l))); } } diff --git a/app/src/main/java/c/i/a/f/e/h/j/c0.java b/app/src/main/java/c/i/a/f/e/h/j/c0.java index 514bb6859c..8734da2135 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/c0.java +++ b/app/src/main/java/c/i/a/f/e/h/j/c0.java @@ -7,11 +7,11 @@ public final class c0 { public final int b; /* renamed from: c reason: collision with root package name */ - public final b f1107c; + public final b f1077c; public c0(s sVar, int i, b bVar) { this.a = sVar; this.b = i; - this.f1107c = bVar; + this.f1077c = bVar; } } diff --git a/app/src/main/java/c/i/a/f/e/h/j/d.java b/app/src/main/java/c/i/a/f/e/h/j/d.java index e918f76584..eb80511846 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/d.java +++ b/app/src/main/java/c/i/a/f/e/h/j/d.java @@ -24,7 +24,7 @@ public abstract class d extends BasePendingResult @Override // c.i.a.f.e.h.j.e public final void a(@NonNull Status status) { - c.c.a.a0.d.p(!status.v0(), "Failed result must not be success"); + c.c.a.a0.d.o(!status.w0(), "Failed result must not be success"); b(d(status)); } diff --git a/app/src/main/java/c/i/a/f/e/h/j/d0.java b/app/src/main/java/c/i/a/f/e/h/j/d0.java index e3aa3b8cad..0b2f9d5f1d 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/d0.java +++ b/app/src/main/java/c/i/a/f/e/h/j/d0.java @@ -8,11 +8,11 @@ public final class d0 { public final q b; /* renamed from: c reason: collision with root package name */ - public final Runnable f1108c; + public final Runnable f1078c; public d0(@NonNull m mVar, @NonNull q qVar, @NonNull Runnable runnable) { this.a = mVar; this.b = qVar; - this.f1108c = runnable; + this.f1078c = runnable; } } diff --git a/app/src/main/java/c/i/a/f/e/h/j/d1.java b/app/src/main/java/c/i/a/f/e/h/j/d1.java index 418a66079a..9a31eddac0 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/d1.java +++ b/app/src/main/java/c/i/a/f/e/h/j/d1.java @@ -35,7 +35,7 @@ public final class d1 extends Fragment implements j { } return; } - throw new IllegalArgumentException(a.g(str.length() + 59, "LifecycleCallback with tag ", str, " already added to this fragment.")); + throw new IllegalArgumentException(a.j(str.length() + 59, "LifecycleCallback with tag ", str, " already added to this fragment.")); } @Override // c.i.a.f.e.h.j.j diff --git a/app/src/main/java/c/i/a/f/e/h/j/e.java b/app/src/main/java/c/i/a/f/e/h/j/e.java index 6a5908a75e..8d919c4ea5 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/e.java +++ b/app/src/main/java/c/i/a/f/e/h/j/e.java @@ -5,5 +5,5 @@ import com.google.android.gms.common.api.Status; public interface e { void a(Status status); - void b(R r2); + void b(R r); } diff --git a/app/src/main/java/c/i/a/f/e/h/j/e1.java b/app/src/main/java/c/i/a/f/e/h/j/e1.java index bef431f4f0..4a39b34f6b 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/e1.java +++ b/app/src/main/java/c/i/a/f/e/h/j/e1.java @@ -36,7 +36,7 @@ public final class e1 extends Fragment implements j { } return; } - throw new IllegalArgumentException(a.g(str.length() + 59, "LifecycleCallback with tag ", str, " already added to this fragment.")); + throw new IllegalArgumentException(a.j(str.length() + 59, "LifecycleCallback with tag ", str, " already added to this fragment.")); } @Override // c.i.a.f.e.h.j.j diff --git a/app/src/main/java/c/i/a/f/e/h/j/g.java b/app/src/main/java/c/i/a/f/e/h/j/g.java index eb56b8ed50..5ded42d2aa 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/g.java +++ b/app/src/main/java/c/i/a/f/e/h/j/g.java @@ -64,21 +64,19 @@ public class g implements Handler.Callback { public final GoogleApiAvailability o; public final s p; public final AtomicInteger q; + public final AtomicInteger r; - /* renamed from: r reason: collision with root package name */ - public final AtomicInteger f1109r; - public final Map, a> s; + /* renamed from: s reason: collision with root package name */ + public final Map, a> f1079s; @Nullable public a1 t; public final Set> u; public final Set> v; @NotOnlyInitialized - - /* renamed from: w reason: collision with root package name */ - public final Handler f1110w; + public final Handler w; /* renamed from: x reason: collision with root package name */ - public volatile boolean f1111x; + public volatile boolean f1080x; /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ public class a implements c.a, c.b { @@ -87,7 +85,7 @@ public class g implements Handler.Callback { public final a.f b; /* renamed from: c reason: collision with root package name */ - public final a.b f1112c; + public final a.b f1081c; public final b d; public final x0 e; public final Set f = new HashSet(); @@ -102,21 +100,21 @@ public class g implements Handler.Callback { @WorkerThread public a(c.i.a.f.e.h.b bVar) { - Looper looper = g.this.f1110w.getLooper(); + Looper looper = g.this.w.getLooper(); c.i.a.f.e.k.c a = bVar.a().a(); c.i.a.f.e.h.a aVar = bVar.b; d.G(aVar.a != null, "This API was constructed with a SimpleClientBuilder. Use getSimpleClientBuilder"); - a.AbstractC0106a aVar2 = aVar.a; + a.AbstractC0105a aVar2 = aVar.a; Objects.requireNonNull(aVar2, "null reference"); - a.f a2 = aVar2.a(bVar.a, looper, a, bVar.f1104c, this, this); + a.f a2 = aVar2.a(bVar.a, looper, a, bVar.f1074c, this, this); this.b = a2; if (!(a2 instanceof z)) { - this.f1112c = a2; + this.f1081c = a2; this.d = bVar.d; this.e = new x0(); this.h = bVar.f; if (a2.o()) { - this.i = new g0(g.this.n, g.this.f1110w, bVar.a().a()); + this.i = new g0(g.this.n, g.this.w, bVar.a().a()); } else { this.i = null; } @@ -136,11 +134,11 @@ public class g implements Handler.Callback { } ArrayMap arrayMap = new ArrayMap(m.length); for (Feature feature : m) { - arrayMap.put(feature.i, Long.valueOf(feature.v0())); + arrayMap.put(feature.i, Long.valueOf(feature.w0())); } for (Feature feature2 : featureArr) { Long l = arrayMap.get(feature2.i); - if (l == null || l.longValue() < feature2.v0()) { + if (l == null || l.longValue() < feature2.w0()) { return feature2; } } @@ -150,7 +148,7 @@ public class g implements Handler.Callback { @WorkerThread public final void b() { - d.s(g.this.f1110w); + d.s(g.this.w); Status status = g.i; f(status); x0 x0Var = this.e; @@ -183,24 +181,24 @@ public class g implements Handler.Callback { sb.append(n); } x0Var.a(true, new Status(20, sb.toString())); - Handler handler = g.this.f1110w; + Handler handler = g.this.w; Message obtain = Message.obtain(handler, 9, this.d); Objects.requireNonNull(g.this); handler.sendMessageDelayed(obtain, 5000); - Handler handler2 = g.this.f1110w; + Handler handler2 = g.this.w; Message obtain2 = Message.obtain(handler2, 11, this.d); Objects.requireNonNull(g.this); handler2.sendMessageDelayed(obtain2, 120000); g.this.p.a.clear(); for (d0 d0Var : this.g.values()) { - d0Var.f1108c.run(); + d0Var.f1078c.run(); } } @WorkerThread public final void d(@NonNull ConnectionResult connectionResult, @Nullable Exception exc) { f fVar; - d.s(g.this.f1110w); + d.s(g.this.w); g0 g0Var = this.i; if (!(g0Var == null || (fVar = g0Var.g) == null)) { fVar.h(); @@ -213,11 +211,11 @@ public class g implements Handler.Callback { } else if (this.a.isEmpty()) { this.l = connectionResult; } else if (exc != null) { - d.s(g.this.f1110w); + d.s(g.this.w); i(null, exc, false); - } else if (!g.this.f1111x) { + } else if (!g.this.f1080x) { Status p = p(connectionResult); - d.s(g.this.f1110w); + d.s(g.this.w); i(p, null, false); } else { i(p(connectionResult), null, true); @@ -226,14 +224,14 @@ public class g implements Handler.Callback { this.j = true; } if (this.j) { - Handler handler = g.this.f1110w; + Handler handler = g.this.w; Message obtain = Message.obtain(handler, 9, this.d); Objects.requireNonNull(g.this); handler.sendMessageDelayed(obtain, 5000); return; } Status p2 = p(connectionResult); - d.s(g.this.f1110w); + d.s(g.this.w); i(p2, null, false); } } @@ -241,16 +239,16 @@ public class g implements Handler.Callback { @Override // c.i.a.f.e.h.j.f public final void e(int i) { - if (Looper.myLooper() == g.this.f1110w.getLooper()) { + if (Looper.myLooper() == g.this.w.getLooper()) { c(i); } else { - g.this.f1110w.post(new v(this, i)); + g.this.w.post(new v(this, i)); } } @WorkerThread public final void f(Status status) { - d.s(g.this.f1110w); + d.s(g.this.w); i(status, null, false); } @@ -262,16 +260,16 @@ public class g implements Handler.Callback { @Override // c.i.a.f.e.h.j.f public final void h(@Nullable Bundle bundle) { - if (Looper.myLooper() == g.this.f1110w.getLooper()) { + if (Looper.myLooper() == g.this.w.getLooper()) { t(); } else { - g.this.f1110w.post(new u(this)); + g.this.w.post(new u(this)); } } @WorkerThread public final void i(@Nullable Status status, @Nullable Exception exc, boolean z2) { - d.s(g.this.f1110w); + d.s(g.this.w); boolean z3 = true; boolean z4 = status == null; if (exc != null) { @@ -297,11 +295,11 @@ public class g implements Handler.Callback { @WorkerThread public final void j(s sVar) { - d.s(g.this.f1110w); + d.s(g.this.w); if (!this.b.j()) { this.a.add(sVar); ConnectionResult connectionResult = this.l; - if (connectionResult == null || !connectionResult.v0()) { + if (connectionResult == null || !connectionResult.w0()) { r(); } else { d(this.l, null); @@ -315,7 +313,7 @@ public class g implements Handler.Callback { @WorkerThread public final boolean k(boolean z2) { - d.s(g.this.f1110w); + d.s(g.this.w); if (!this.b.j() || this.g.size() != 0) { return false; } @@ -354,14 +352,14 @@ public class g implements Handler.Callback { o(sVar); return true; } - String name = this.f1112c.getClass().getName(); + String name = this.f1081c.getClass().getName(); String str = a.i; - long v0 = a.v0(); - StringBuilder N = c.d.b.a.a.N(c.d.b.a.a.b(str, name.length() + 77), name, " could not execute call because it requires feature (", str, ", "); - N.append(v0); - N.append(")."); - Log.w("GoogleApiManager", N.toString()); - if (!g.this.f1111x || !m0Var.g(this)) { + long w0 = a.w0(); + StringBuilder Q = c.d.b.a.a.Q(c.d.b.a.a.b(str, name.length() + 77), name, " could not execute call because it requires feature (", str, ", "); + Q.append(w0); + Q.append(")."); + Log.w("GoogleApiManager", Q.toString()); + if (!g.this.f1080x || !m0Var.g(this)) { m0Var.e(new UnsupportedApiCallException(a)); return true; } @@ -369,19 +367,19 @@ public class g implements Handler.Callback { int indexOf = this.k.indexOf(cVar); if (indexOf >= 0) { c cVar2 = this.k.get(indexOf); - g.this.f1110w.removeMessages(15, cVar2); - Handler handler = g.this.f1110w; + g.this.w.removeMessages(15, cVar2); + Handler handler = g.this.w; Message obtain = Message.obtain(handler, 15, cVar2); Objects.requireNonNull(g.this); handler.sendMessageDelayed(obtain, 5000); return false; } this.k.add(cVar); - Handler handler2 = g.this.f1110w; + Handler handler2 = g.this.w; Message obtain2 = Message.obtain(handler2, 15, cVar); Objects.requireNonNull(g.this); handler2.sendMessageDelayed(obtain2, 5000); - Handler handler3 = g.this.f1110w; + Handler handler3 = g.this.w; Message obtain3 = Message.obtain(handler3, 16, cVar); Objects.requireNonNull(g.this); handler3.sendMessageDelayed(obtain3, 120000); @@ -398,7 +396,7 @@ public class g implements Handler.Callback { Iterator it = this.f.iterator(); if (it.hasNext()) { r0 next = it.next(); - if (d.j0(connectionResult, ConnectionResult.i)) { + if (d.g0(connectionResult, ConnectionResult.i)) { this.b.f(); } Objects.requireNonNull(next); @@ -416,32 +414,32 @@ public class g implements Handler.Callback { e(1); this.b.c("DeadObjectException thrown while running ApiCallRunner."); } catch (Throwable th) { - throw new IllegalStateException(String.format("Error in GoogleApi implementation for client %s.", this.f1112c.getClass().getName()), th); + throw new IllegalStateException(String.format("Error in GoogleApi implementation for client %s.", this.f1081c.getClass().getName()), th); } } public final Status p(ConnectionResult connectionResult) { - String str = this.d.b.f1103c; + String str = this.d.b.f1073c; String valueOf = String.valueOf(connectionResult); - return new Status(17, c.d.b.a.a.h(valueOf.length() + c.d.b.a.a.b(str, 63), "API: ", str, " is not available on this device. Connection failed with: ", valueOf)); + return new Status(17, c.d.b.a.a.k(valueOf.length() + c.d.b.a.a.b(str, 63), "API: ", str, " is not available on this device. Connection failed with: ", valueOf)); } @WorkerThread public final void q() { - d.s(g.this.f1110w); + d.s(g.this.w); this.l = null; } @WorkerThread public final void r() { - d.s(g.this.f1110w); + d.s(g.this.w); if (!this.b.j() && !this.b.e()) { try { g gVar = g.this; int a = gVar.p.a(gVar.n, this.b); if (a != 0) { ConnectionResult connectionResult = new ConnectionResult(a, null); - String name = this.f1112c.getClass().getName(); + String name = this.f1081c.getClass().getName(); String valueOf = String.valueOf(connectionResult); StringBuilder sb = new StringBuilder(name.length() + 35 + valueOf.length()); sb.append("The service for "); @@ -463,15 +461,15 @@ public class g implements Handler.Callback { fVar2.h(); } g0Var.f.h = Integer.valueOf(System.identityHashCode(g0Var)); - a.AbstractC0106a aVar = g0Var.d; + a.AbstractC0105a aVar = g0Var.d; Context context = g0Var.b; - Looper looper = g0Var.f1114c.getLooper(); + Looper looper = g0Var.f1083c.getLooper(); c.i.a.f.e.k.c cVar = g0Var.f; g0Var.g = (f) aVar.a(context, looper, cVar, cVar.g, g0Var, g0Var); g0Var.h = bVar; Set set = g0Var.e; if (set == null || set.isEmpty()) { - g0Var.f1114c.post(new f0(g0Var)); + g0Var.f1083c.post(new f0(g0Var)); } else { g0Var.g.p(); } @@ -505,11 +503,11 @@ public class g implements Handler.Callback { } else { try { m mVar = next.a; - a.b bVar = this.f1112c; + a.b bVar = this.f1081c; TaskCompletionSource taskCompletionSource = new TaskCompletionSource(); v vVar = (v) mVar; Objects.requireNonNull(vVar); - vVar.b.a((c.i.a.f.j.b.e.f) bVar, i.j(vVar.f1296c, taskCompletionSource)); + vVar.b.a((c.i.a.f.j.b.e.f) bVar, i.j(vVar.f1255c, taskCompletionSource)); } catch (DeadObjectException unused) { e(3); this.b.c("DeadObjectException thrown while calling register listener method."); @@ -543,15 +541,15 @@ public class g implements Handler.Callback { @WorkerThread public final void v() { if (this.j) { - g.this.f1110w.removeMessages(11, this.d); - g.this.f1110w.removeMessages(9, this.d); + g.this.w.removeMessages(11, this.d); + g.this.w.removeMessages(9, this.d); this.j = false; } } public final void w() { - g.this.f1110w.removeMessages(12, this.d); - Handler handler = g.this.f1110w; + g.this.w.removeMessages(12, this.d); + Handler handler = g.this.w; handler.sendMessageDelayed(handler.obtainMessage(12, this.d), g.this.m); } } @@ -563,7 +561,7 @@ public class g implements Handler.Callback { @Nullable /* renamed from: c reason: collision with root package name */ - public c.i.a.f.e.k.g f1113c = null; + public c.i.a.f.e.k.g f1082c = null; @Nullable public Set d = null; public boolean e = false; @@ -575,18 +573,18 @@ public class g implements Handler.Callback { @Override // c.i.a.f.e.k.b.c public final void a(@NonNull ConnectionResult connectionResult) { - g.this.f1110w.post(new z(this, connectionResult)); + g.this.w.post(new z(this, connectionResult)); } @WorkerThread public final void b(ConnectionResult connectionResult) { - a aVar = g.this.s.get(this.b); + a aVar = g.this.f1079s.get(this.b); if (aVar != null) { - d.s(g.this.f1110w); + d.s(g.this.w); a.f fVar = aVar.b; - String name = aVar.f1112c.getClass().getName(); + String name = aVar.f1081c.getClass().getName(); String valueOf = String.valueOf(connectionResult); - fVar.c(c.d.b.a.a.h(valueOf.length() + name.length() + 25, "onSignInFailed for ", name, " with ", valueOf)); + fVar.c(c.d.b.a.a.k(valueOf.length() + name.length() + 25, "onSignInFailed for ", name, " with ", valueOf)); aVar.d(connectionResult, null); } } @@ -605,7 +603,7 @@ public class g implements Handler.Callback { public final boolean equals(@Nullable Object obj) { if (obj != null && (obj instanceof c)) { c cVar = (c) obj; - if (d.j0(this.a, cVar.a) && d.j0(this.b, cVar.b)) { + if (d.g0(this.a, cVar.a) && d.g0(this.b, cVar.b)) { return true; } } @@ -627,23 +625,23 @@ public class g implements Handler.Callback { public g(Context context, Looper looper, GoogleApiAvailability googleApiAvailability) { boolean z2 = true; this.q = new AtomicInteger(1); - this.f1109r = new AtomicInteger(0); - this.s = new ConcurrentHashMap(5, 0.75f, 1); + this.r = new AtomicInteger(0); + this.f1079s = new ConcurrentHashMap(5, 0.75f, 1); this.t = null; this.u = new ArraySet(); this.v = new ArraySet(); - this.f1111x = true; + this.f1080x = true; this.n = context; c.i.a.f.h.e.c cVar = new c.i.a.f.h.e.c(looper, this); - this.f1110w = cVar; + this.w = cVar; this.o = googleApiAvailability; this.p = new s(googleApiAvailability); PackageManager packageManager = context.getPackageManager(); - if (c.i.a.f.e.o.c.d == null) { - c.i.a.f.e.o.c.d = Boolean.valueOf((!c.i.a.f.e.o.c.R() || !packageManager.hasSystemFeature("android.hardware.type.automotive")) ? false : z2); + if (d.f == null) { + d.f = Boolean.valueOf((!c.i.a.f.e.o.f.q0() || !packageManager.hasSystemFeature("android.hardware.type.automotive")) ? false : z2); } - if (c.i.a.f.e.o.c.d.booleanValue()) { - this.f1111x = false; + if (d.f.booleanValue()) { + this.f1080x = false; } cVar.sendMessage(cVar.obtainMessage(6)); } @@ -656,7 +654,7 @@ public class g implements Handler.Callback { handlerThread.start(); Looper looper = handlerThread.getLooper(); Context applicationContext = context.getApplicationContext(); - Object obj = GoogleApiAvailability.f2800c; + Object obj = GoogleApiAvailability.f2382c; l = new g(applicationContext, looper, GoogleApiAvailability.d); } gVar = l; @@ -679,7 +677,7 @@ public class g implements Handler.Callback { GoogleApiAvailability googleApiAvailability = this.o; Context context = this.n; Objects.requireNonNull(googleApiAvailability); - if (connectionResult.v0()) { + if (connectionResult.w0()) { pendingIntent = connectionResult.l; } else { Intent a2 = googleApiAvailability.a(context, connectionResult.k, null); @@ -701,10 +699,10 @@ public class g implements Handler.Callback { @WorkerThread public final a d(c.i.a.f.e.h.b bVar) { b bVar2 = bVar.d; - a aVar = this.s.get(bVar2); + a aVar = this.f1079s.get(bVar2); if (aVar == null) { aVar = new a<>(bVar); - this.s.put(bVar2, aVar); + this.f1079s.put(bVar2, aVar); } if (aVar.s()) { this.v.add(bVar2); @@ -727,9 +725,9 @@ public class g implements Handler.Callback { j2 = 10000; } this.m = j2; - this.f1110w.removeMessages(12); - for (b bVar : this.s.keySet()) { - Handler handler = this.f1110w; + this.w.removeMessages(12); + for (b bVar : this.f1079s.keySet()) { + Handler handler = this.w; handler.sendMessageDelayed(handler.obtainMessage(12, bVar), this.m); } break; @@ -737,7 +735,7 @@ public class g implements Handler.Callback { Objects.requireNonNull((r0) message.obj); throw null; case 3: - for (a aVar2 : this.s.values()) { + for (a aVar2 : this.f1079s.values()) { aVar2.q(); aVar2.r(); } @@ -746,11 +744,11 @@ public class g implements Handler.Callback { case 8: case 13: c0 c0Var = (c0) message.obj; - a aVar3 = this.s.get(c0Var.f1107c.d); + a aVar3 = this.f1079s.get(c0Var.f1077c.d); if (aVar3 == null) { - aVar3 = d(c0Var.f1107c); + aVar3 = d(c0Var.f1077c); } - if (!aVar3.s() || this.f1109r.get() == c0Var.b) { + if (!aVar3.s() || this.r.get() == c0Var.b) { aVar3.j(c0Var.a); break; } else { @@ -758,10 +756,11 @@ public class g implements Handler.Callback { aVar3.b(); break; } + break; case 5: int i4 = message.arg1; ConnectionResult connectionResult = (ConnectionResult) message.obj; - Iterator> it = this.s.values().iterator(); + Iterator> it = this.f1079s.values().iterator(); while (true) { if (it.hasNext()) { aVar = it.next(); @@ -776,10 +775,10 @@ public class g implements Handler.Callback { int i5 = connectionResult.k; Objects.requireNonNull(googleApiAvailability); boolean z2 = e.a; - String x0 = ConnectionResult.x0(i5); + String y0 = ConnectionResult.y0(i5); String str = connectionResult.m; - Status status = new Status(17, c.d.b.a.a.h(c.d.b.a.a.b(str, c.d.b.a.a.b(x0, 69)), "Error resolution was canceled by the user, original error message: ", x0, ": ", str)); - d.s(g.this.f1110w); + Status status = new Status(17, c.d.b.a.a.k(c.d.b.a.a.b(str, c.d.b.a.a.b(y0, 69)), "Error resolution was canceled by the user, original error message: ", y0, ": ", str)); + d.s(g.this.w); aVar.i(status, null, false); break; } else { @@ -816,9 +815,9 @@ public class g implements Handler.Callback { d((c.i.a.f.e.h.b) message.obj); break; case 9: - if (this.s.containsKey(message.obj)) { - a aVar4 = this.s.get(message.obj); - d.s(g.this.f1110w); + if (this.f1079s.containsKey(message.obj)) { + a aVar4 = this.f1079s.get(message.obj); + d.s(g.this.w); if (aVar4.j) { aVar4.r(); break; @@ -827,7 +826,7 @@ public class g implements Handler.Callback { break; case 10: for (b bVar2 : this.v) { - a remove = this.s.remove(bVar2); + a remove = this.f1079s.remove(bVar2); if (remove != null) { remove.b(); } @@ -835,14 +834,14 @@ public class g implements Handler.Callback { this.v.clear(); break; case 11: - if (this.s.containsKey(message.obj)) { - a aVar5 = this.s.get(message.obj); - d.s(g.this.f1110w); + if (this.f1079s.containsKey(message.obj)) { + a aVar5 = this.f1079s.get(message.obj); + d.s(g.this.w); if (aVar5.j) { aVar5.v(); g gVar = g.this; Status status2 = gVar.o.c(gVar.n) == 18 ? new Status(8, "Connection timed out while waiting for Google Play services update to complete.") : new Status(8, "API failed to connect while resuming due to an unknown error."); - d.s(g.this.f1110w); + d.s(g.this.w); aVar5.i(status2, null, false); aVar5.b.c("Timing out connection while resuming."); break; @@ -850,22 +849,22 @@ public class g implements Handler.Callback { } break; case 12: - if (this.s.containsKey(message.obj)) { - this.s.get(message.obj).k(true); + if (this.f1079s.containsKey(message.obj)) { + this.f1079s.get(message.obj).k(true); break; } break; case 14: Objects.requireNonNull((b1) message.obj); - if (!this.s.containsKey(null)) { + if (!this.f1079s.containsKey(null)) { throw null; } - this.s.get(null).k(false); + this.f1079s.get(null).k(false); throw null; case 15: c cVar2 = (c) message.obj; - if (this.s.containsKey(cVar2.a)) { - a aVar6 = this.s.get(cVar2.a); + if (this.f1079s.containsKey(cVar2.a)) { + a aVar6 = this.f1079s.get(cVar2.a); if (aVar6.k.contains(cVar2) && !aVar6.j) { if (!aVar6.b.j()) { aVar6.r(); @@ -879,11 +878,11 @@ public class g implements Handler.Callback { break; case 16: c cVar3 = (c) message.obj; - if (this.s.containsKey(cVar3.a)) { - a aVar7 = this.s.get(cVar3.a); + if (this.f1079s.containsKey(cVar3.a)) { + a aVar7 = this.f1079s.get(cVar3.a); if (aVar7.k.remove(cVar3)) { - g.this.f1110w.removeMessages(15, cVar3); - g.this.f1110w.removeMessages(16, cVar3); + g.this.w.removeMessages(15, cVar3); + g.this.w.removeMessages(16, cVar3); Feature feature = cVar3.b; ArrayList arrayList = new ArrayList(aVar7.a.size()); for (s sVar : aVar7.a) { @@ -893,7 +892,7 @@ public class g implements Handler.Callback { while (true) { if (i6 >= length) { i6 = -1; - } else if (!d.j0(f[i6], feature)) { + } else if (!d.g0(f[i6], feature)) { i6++; } } @@ -915,10 +914,7 @@ public class g implements Handler.Callback { } break; default: - StringBuilder sb2 = new StringBuilder(31); - sb2.append("Unknown message id: "); - sb2.append(i2); - Log.w("GoogleApiManager", sb2.toString()); + c.d.b.a.a.d0(31, "Unknown message id: ", i2, "GoogleApiManager"); return false; } return true; diff --git a/app/src/main/java/c/i/a/f/e/h/j/g0.java b/app/src/main/java/c/i/a/f/e/h/j/g0.java index 61b651654f..1e6d79bcc5 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/g0.java +++ b/app/src/main/java/c/i/a/f/e/h/j/g0.java @@ -16,12 +16,12 @@ import com.google.android.gms.common.api.Scope; import java.util.Set; /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ public final class g0 extends d implements c.a, c.b { - public static a.AbstractC0106a a = c.i.a.f.l.c.f1300c; + public static a.AbstractC0105a a = c.i.a.f.l.c.f1259c; public final Context b; /* renamed from: c reason: collision with root package name */ - public final Handler f1114c; - public final a.AbstractC0106a d; + public final Handler f1083c; + public final a.AbstractC0105a d; public Set e; public c.i.a.f.e.k.c f; public f g; @@ -29,9 +29,9 @@ public final class g0 extends d implements c.a, c.b { @WorkerThread public g0(Context context, Handler handler, @NonNull c.i.a.f.e.k.c cVar) { - a.AbstractC0106a aVar = a; + a.AbstractC0105a aVar = a; this.b = context; - this.f1114c = handler; + this.f1083c = handler; c.c.a.a0.d.z(cVar, "ClientSettings must not be null"); this.f = cVar; this.e = cVar.b; diff --git a/app/src/main/java/c/i/a/f/e/h/j/h.java b/app/src/main/java/c/i/a/f/e/h/j/h.java index 3441766e73..ade14d9a9b 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/h.java +++ b/app/src/main/java/c/i/a/f/e/h/j/h.java @@ -16,7 +16,7 @@ public final class h { @Nullable /* renamed from: c reason: collision with root package name */ - public final String f1115c; + public final String f1084c; public final Status d; public final boolean e; @@ -31,7 +31,7 @@ public final class h { this.e = false; } q0.a(context); - String str = q0.f1132c; + String str = q0.f1100c; if (str == null) { Resources resources2 = context.getResources(); int identifier2 = resources2.getIdentifier("google_app_id", "string", resources2.getResourcePackageName(i)); @@ -39,10 +39,10 @@ public final class h { } if (TextUtils.isEmpty(str)) { this.d = new Status(10, "Missing google app id value from from string resources with name google_app_id."); - this.f1115c = null; + this.f1084c = null; return; } - this.f1115c = str; + this.f1084c = str; this.d = Status.i; } diff --git a/app/src/main/java/c/i/a/f/e/h/j/i0.java b/app/src/main/java/c/i/a/f/e/h/j/i0.java index 0917217003..c40877b35b 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/i0.java +++ b/app/src/main/java/c/i/a/f/e/h/j/i0.java @@ -1,6 +1,7 @@ package c.i.a.f.e.h.j; import android.util.Log; +import c.d.b.a.a; import c.i.a.f.e.h.j.g; import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.api.Scope; @@ -24,33 +25,30 @@ public final class i0 implements Runnable { zam zam = this.i; Objects.requireNonNull(g0Var); ConnectionResult connectionResult = zam.j; - if (connectionResult.w0()) { + if (connectionResult.x0()) { zau zau = zam.k; Objects.requireNonNull(zau, "null reference"); ConnectionResult connectionResult2 = zau.k; - if (!connectionResult2.w0()) { + if (!connectionResult2.x0()) { String valueOf = String.valueOf(connectionResult2); - StringBuilder sb = new StringBuilder(valueOf.length() + 48); - sb.append("Sign-in succeeded with resolve account failure: "); - sb.append(valueOf); - Log.wtf("SignInCoordinator", sb.toString(), new Exception()); + Log.wtf("SignInCoordinator", a.i(valueOf.length() + 48, "Sign-in succeeded with resolve account failure: ", valueOf), new Exception()); ((g.b) g0Var.h).b(connectionResult2); g0Var.g.h(); return; } h0 h0Var = g0Var.h; - c.i.a.f.e.k.g v0 = zau.v0(); + c.i.a.f.e.k.g w0 = zau.w0(); Set set = g0Var.e; g.b bVar = (g.b) h0Var; Objects.requireNonNull(bVar); - if (v0 == null || set == null) { + if (w0 == null || set == null) { Log.wtf("GoogleApiManager", "Received null response from onSignInSuccess", new Exception()); bVar.b(new ConnectionResult(4)); } else { - bVar.f1113c = v0; + bVar.f1082c = w0; bVar.d = set; if (bVar.e) { - bVar.a.b(v0, set); + bVar.a.b(w0, set); } } } else { diff --git a/app/src/main/java/c/i/a/f/e/h/j/k.java b/app/src/main/java/c/i/a/f/e/h/j/k.java index b454577655..25cad0c6c2 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/k.java +++ b/app/src/main/java/c/i/a/f/e/h/j/k.java @@ -13,7 +13,7 @@ public final class k { @Nullable /* renamed from: c reason: collision with root package name */ - public volatile a f1116c; + public volatile a f1085c; /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ public static final class a { @@ -60,7 +60,7 @@ public final class k { if (message.what != 1) { z2 = false; } - d.m(z2); + d.l(z2); b bVar = (b) message.obj; L l = k.this.b; if (l == null) { @@ -81,7 +81,7 @@ public final class k { d.z(l, "Listener must not be null"); this.b = l; d.w(str); - this.f1116c = new a<>(l, str); + this.f1085c = new a<>(l, str); } public final void a(b bVar) { diff --git a/app/src/main/java/c/i/a/f/e/h/j/k0.java b/app/src/main/java/c/i/a/f/e/h/j/k0.java index 09a12ab0b9..02cc8d1ec2 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/k0.java +++ b/app/src/main/java/c/i/a/f/e/h/j/k0.java @@ -10,17 +10,17 @@ import java.util.Objects; public final class k0 extends p { /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ p.a f1117c; + public final /* synthetic */ p.a f1086c; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public k0(p.a aVar, Feature[] featureArr, boolean z2) { super(featureArr, z2, null); - this.f1117c = aVar; + this.f1086c = aVar; } @Override // c.i.a.f.e.h.j.p public final void c(A a, TaskCompletionSource taskCompletionSource) throws RemoteException { - Objects.requireNonNull(this.f1117c.a); - a.w().W(new k(taskCompletionSource)); + Objects.requireNonNull(this.f1086c.a); + a.w().Y(new k(taskCompletionSource)); } } diff --git a/app/src/main/java/c/i/a/f/e/h/j/n0.java b/app/src/main/java/c/i/a/f/e/h/j/n0.java index 2a3ebcbd34..d06d42e3ab 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/n0.java +++ b/app/src/main/java/c/i/a/f/e/h/j/n0.java @@ -16,11 +16,11 @@ import java.util.Objects; public final class n0 extends e0 { /* renamed from: c reason: collision with root package name */ - public final d0 f1118c; + public final d0 f1087c; public n0(d0 d0Var, TaskCompletionSource taskCompletionSource) { super(3, taskCompletionSource); - this.f1118c = d0Var; + this.f1087c = d0Var; } @Override // c.i.a.f.e.h.j.s @@ -30,27 +30,27 @@ public final class n0 extends e0 { @Override // c.i.a.f.e.h.j.m0 @Nullable public final Feature[] f(g.a aVar) { - Objects.requireNonNull(this.f1118c.a); + Objects.requireNonNull(this.f1087c.a); return null; } @Override // c.i.a.f.e.h.j.m0 public final boolean g(g.a aVar) { - Objects.requireNonNull(this.f1118c.a); + Objects.requireNonNull(this.f1087c.a); return false; } @Override // c.i.a.f.e.h.j.e0 public final void h(g.a aVar) throws RemoteException { - m mVar = this.f1118c.a; + m mVar = this.f1087c.a; a.f fVar = aVar.b; TaskCompletionSource taskCompletionSource = this.b; v vVar = (v) mVar; Objects.requireNonNull(vVar); - vVar.b.a((f) fVar, i.j(vVar.f1296c, taskCompletionSource)); - k.a aVar2 = this.f1118c.a.a.f1116c; + vVar.b.a((f) fVar, i.j(vVar.f1255c, taskCompletionSource)); + k.a aVar2 = this.f1087c.a.a.f1085c; if (aVar2 != null) { - aVar.g.put(aVar2, this.f1118c); + aVar.g.put(aVar2, this.f1087c); } } } diff --git a/app/src/main/java/c/i/a/f/e/h/j/o0.java b/app/src/main/java/c/i/a/f/e/h/j/o0.java index f6b6f8a595..f052d89ed5 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/o0.java +++ b/app/src/main/java/c/i/a/f/e/h/j/o0.java @@ -42,6 +42,6 @@ public final class o0> extends s { public final void e(@NonNull Exception exc) { String simpleName = exc.getClass().getSimpleName(); String localizedMessage = exc.getLocalizedMessage(); - this.b.a(new Status(10, c.d.b.a.a.g(c.d.b.a.a.b(localizedMessage, simpleName.length() + 2), simpleName, ": ", localizedMessage))); + this.b.a(new Status(10, c.d.b.a.a.j(c.d.b.a.a.b(localizedMessage, simpleName.length() + 2), simpleName, ": ", localizedMessage))); } } diff --git a/app/src/main/java/c/i/a/f/e/h/j/p0.java b/app/src/main/java/c/i/a/f/e/h/j/p0.java index 9d9319f453..e70552d8ce 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/p0.java +++ b/app/src/main/java/c/i/a/f/e/h/j/p0.java @@ -16,11 +16,11 @@ import java.util.Objects; public final class p0 extends e0 { /* renamed from: c reason: collision with root package name */ - public final k.a f1119c; + public final k.a f1088c; public p0(k.a aVar, TaskCompletionSource taskCompletionSource) { super(4, taskCompletionSource); - this.f1119c = aVar; + this.f1088c = aVar; } @Override // c.i.a.f.e.h.j.s @@ -30,7 +30,7 @@ public final class p0 extends e0 { @Override // c.i.a.f.e.h.j.m0 @Nullable public final Feature[] f(g.a aVar) { - d0 d0Var = aVar.g.get(this.f1119c); + d0 d0Var = aVar.g.get(this.f1088c); if (d0Var == null) { return null; } @@ -40,7 +40,7 @@ public final class p0 extends e0 { @Override // c.i.a.f.e.h.j.m0 public final boolean g(g.a aVar) { - d0 d0Var = aVar.g.get(this.f1119c); + d0 d0Var = aVar.g.get(this.f1088c); if (d0Var == null) { return false; } @@ -50,17 +50,17 @@ public final class p0 extends e0 { @Override // c.i.a.f.e.h.j.e0 public final void h(g.a aVar) throws RemoteException { - d0 remove = aVar.g.remove(this.f1119c); + d0 remove = aVar.g.remove(this.f1088c); if (remove != null) { q qVar = remove.b; a.f fVar = aVar.b; TaskCompletionSource taskCompletionSource = this.b; x xVar = (x) qVar; Objects.requireNonNull(xVar); - xVar.b.a((f) fVar, i.j(xVar.f1297c, taskCompletionSource)); + xVar.b.a((f) fVar, i.j(xVar.f1256c, taskCompletionSource)); k kVar = remove.a.a; kVar.b = null; - kVar.f1116c = null; + kVar.f1085c = null; return; } this.b.b(Boolean.FALSE); diff --git a/app/src/main/java/c/i/a/f/e/h/j/q0.java b/app/src/main/java/c/i/a/f/e/h/j/q0.java index c8f8576a82..3678639d38 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/q0.java +++ b/app/src/main/java/c/i/a/f/e/h/j/q0.java @@ -16,12 +16,12 @@ public final class q0 extends m0 { public final p b; /* renamed from: c reason: collision with root package name */ - public final TaskCompletionSource f1120c; + public final TaskCompletionSource f1089c; public final n d; public q0(int i, p pVar, TaskCompletionSource taskCompletionSource, n nVar) { super(i); - this.f1120c = taskCompletionSource; + this.f1089c = taskCompletionSource; this.b = pVar; this.d = nVar; if (i == 2 && pVar.b) { @@ -31,25 +31,25 @@ public final class q0 extends m0 { @Override // c.i.a.f.e.h.j.s public final void b(@NonNull Status status) { - this.f1120c.a(this.d.a(status)); + this.f1089c.a(this.d.a(status)); } @Override // c.i.a.f.e.h.j.s public final void c(g.a aVar) throws DeadObjectException { try { - this.b.c(aVar.b, this.f1120c); + this.b.c(aVar.b, this.f1089c); } catch (DeadObjectException e) { throw e; } catch (RemoteException e2) { - this.f1120c.a(this.d.a(s.a(e2))); + this.f1089c.a(this.d.a(s.a(e2))); } catch (RuntimeException e3) { - this.f1120c.a(e3); + this.f1089c.a(e3); } } @Override // c.i.a.f.e.h.j.s public final void d(@NonNull x0 x0Var, boolean z2) { - TaskCompletionSource taskCompletionSource = this.f1120c; + TaskCompletionSource taskCompletionSource = this.f1089c; x0Var.b.put(taskCompletionSource, Boolean.valueOf(z2)); b0 b0Var = taskCompletionSource.a; y0 y0Var = new y0(x0Var, taskCompletionSource); @@ -59,7 +59,7 @@ public final class q0 extends m0 { @Override // c.i.a.f.e.h.j.s public final void e(@NonNull Exception exc) { - this.f1120c.a(exc); + this.f1089c.a(exc); } @Override // c.i.a.f.e.h.j.m0 diff --git a/app/src/main/java/c/i/a/f/e/h/j/t.java b/app/src/main/java/c/i/a/f/e/h/j/t.java index e676e6ea0b..bc06a9c18a 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/t.java +++ b/app/src/main/java/c/i/a/f/e/h/j/t.java @@ -12,7 +12,7 @@ public final class t implements c.a { @Override // c.i.a.f.e.h.j.c.a public final void a(boolean z2) { - Handler handler = this.a.f1110w; + Handler handler = this.a.w; handler.sendMessage(handler.obtainMessage(1, Boolean.valueOf(z2))); } } diff --git a/app/src/main/java/c/i/a/f/e/h/j/v0.java b/app/src/main/java/c/i/a/f/e/h/j/v0.java index 5e39566394..2825b61907 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/v0.java +++ b/app/src/main/java/c/i/a/f/e/h/j/v0.java @@ -30,7 +30,7 @@ public final class v0 implements Runnable { public final void run() { if (this.j.j) { ConnectionResult connectionResult = this.i.b; - if (connectionResult.v0()) { + if (connectionResult.w0()) { t0 t0Var = this.j; j jVar = t0Var.i; Activity b = t0Var.b(); diff --git a/app/src/main/java/c/i/a/f/e/h/j/w.java b/app/src/main/java/c/i/a/f/e/h/j/w.java index 2c63d960d5..13b78f8ba7 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/w.java +++ b/app/src/main/java/c/i/a/f/e/h/j/w.java @@ -12,6 +12,6 @@ public final class w implements Runnable { @Override // java.lang.Runnable public final void run() { g.a aVar = this.i.a; - aVar.b.c(aVar.f1112c.getClass().getName().concat(" disconnecting because it was signed out.")); + aVar.b.c(aVar.f1081c.getClass().getName().concat(" disconnecting because it was signed out.")); } } diff --git a/app/src/main/java/c/i/a/f/e/h/j/z.java b/app/src/main/java/c/i/a/f/e/h/j/z.java index cc144ddf1d..f448bddbf5 100644 --- a/app/src/main/java/c/i/a/f/e/h/j/z.java +++ b/app/src/main/java/c/i/a/f/e/h/j/z.java @@ -18,14 +18,14 @@ public final class z implements Runnable { public final void run() { c.i.a.f.e.k.g gVar; g.b bVar = this.j; - g.a aVar = g.this.s.get(bVar.b); + g.a aVar = g.this.f1079s.get(bVar.b); if (aVar != null) { - if (this.i.w0()) { + if (this.i.x0()) { g.b bVar2 = this.j; bVar2.e = true; if (bVar2.a.o()) { g.b bVar3 = this.j; - if (bVar3.e && (gVar = bVar3.f1113c) != null) { + if (bVar3.e && (gVar = bVar3.f1082c) != null) { bVar3.a.b(gVar, bVar3.d); return; } diff --git a/app/src/main/java/c/i/a/f/e/h/l.java b/app/src/main/java/c/i/a/f/e/h/l.java index 6c0d2ab5c1..d131b6eaa0 100644 --- a/app/src/main/java/c/i/a/f/e/h/l.java +++ b/app/src/main/java/c/i/a/f/e/h/l.java @@ -9,21 +9,21 @@ public final class l implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final Scope createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; String str = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 1) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i2 != 2) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new Scope(i, str); } diff --git a/app/src/main/java/c/i/a/f/e/h/m.java b/app/src/main/java/c/i/a/f/e/h/m.java index 7170ed4290..4d1125baec 100644 --- a/app/src/main/java/c/i/a/f/e/h/m.java +++ b/app/src/main/java/c/i/a/f/e/h/m.java @@ -11,30 +11,30 @@ public final class m implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final Status createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; PendingIntent pendingIntent = null; ConnectionResult connectionResult = null; int i = 0; int i2 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i3 = 65535 & readInt; if (i3 == 1) { - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); } else if (i3 == 2) { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } else if (i3 == 3) { - pendingIntent = (PendingIntent) d.S(parcel, readInt, PendingIntent.CREATOR); + pendingIntent = (PendingIntent) d.P(parcel, readInt, PendingIntent.CREATOR); } else if (i3 == 4) { - connectionResult = (ConnectionResult) d.S(parcel, readInt, ConnectionResult.CREATOR); + connectionResult = (ConnectionResult) d.P(parcel, readInt, ConnectionResult.CREATOR); } else if (i3 != 1000) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new Status(i, i2, str, pendingIntent, connectionResult); } diff --git a/app/src/main/java/c/i/a/f/e/j/a.java b/app/src/main/java/c/i/a/f/e/j/a.java index c5dcf96237..0d9e4c9696 100644 --- a/app/src/main/java/c/i/a/f/e/j/a.java +++ b/app/src/main/java/c/i/a/f/e/j/a.java @@ -11,31 +11,31 @@ public final class a implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final DataHolder createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; String[] strArr = null; CursorWindow[] cursorWindowArr = null; Bundle bundle = null; int i2 = 0; int i3 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i4 = 65535 & readInt; if (i4 == 1) { - strArr = d.U(parcel, readInt); + strArr = d.R(parcel, readInt); } else if (i4 == 2) { - cursorWindowArr = (CursorWindow[]) d.W(parcel, readInt, CursorWindow.CREATOR); + cursorWindowArr = (CursorWindow[]) d.T(parcel, readInt, CursorWindow.CREATOR); } else if (i4 == 3) { - i3 = d.G1(parcel, readInt); + i3 = d.E1(parcel, readInt); } else if (i4 == 4) { - bundle = d.P(parcel, readInt); + bundle = d.M(parcel, readInt); } else if (i4 != 1000) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); DataHolder dataHolder = new DataHolder(i2, strArr, cursorWindowArr, i3, bundle); dataHolder.k = new Bundle(); int i5 = 0; diff --git a/app/src/main/java/c/i/a/f/e/k/a0.java b/app/src/main/java/c/i/a/f/e/k/a0.java index 3cdaccf759..8fc4ef7f47 100644 --- a/app/src/main/java/c/i/a/f/e/k/a0.java +++ b/app/src/main/java/c/i/a/f/e/k/a0.java @@ -12,26 +12,26 @@ public final class a0 implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzc createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); Bundle bundle = null; Feature[] featureArr = null; int i = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 1) { - bundle = d.P(parcel, readInt); + bundle = d.M(parcel, readInt); } else if (i2 == 2) { - featureArr = (Feature[]) d.W(parcel, readInt, Feature.CREATOR); + featureArr = (Feature[]) d.T(parcel, readInt, Feature.CREATOR); } else if (i2 == 3) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i2 != 4) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - ConnectionTelemetryConfiguration connectionTelemetryConfiguration = (ConnectionTelemetryConfiguration) d.S(parcel, readInt, ConnectionTelemetryConfiguration.CREATOR); + ConnectionTelemetryConfiguration connectionTelemetryConfiguration = (ConnectionTelemetryConfiguration) d.P(parcel, readInt, ConnectionTelemetryConfiguration.CREATOR); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzc(bundle, featureArr, i); } diff --git a/app/src/main/java/c/i/a/f/e/k/b.java b/app/src/main/java/c/i/a/f/e/k/b.java index 44e3f1c531..d155f38752 100644 --- a/app/src/main/java/c/i/a/f/e/k/b.java +++ b/app/src/main/java/c/i/a/f/e/k/b.java @@ -43,7 +43,7 @@ public abstract class b { public volatile String b = null; /* renamed from: c reason: collision with root package name */ - public j0 f1121c; + public j0 f1090c; public final Context d; public final e e; public final c.i.a.f.e.c f; @@ -63,21 +63,19 @@ public abstract class b { @Nullable public final a p; @Nullable - public final AbstractC0108b q; - - /* renamed from: r reason: collision with root package name */ - public final int f1122r; + public final AbstractC0107b q; + public final int r; @Nullable - public final String s; + + /* renamed from: s reason: collision with root package name */ + public final String f1091s; @Nullable public ConnectionResult t = null; public boolean u = false; @Nullable public volatile zzc v = null; @RecentlyNonNull - - /* renamed from: w reason: collision with root package name */ - public AtomicInteger f1123w = new AtomicInteger(0); + public AtomicInteger w = new AtomicInteger(0); /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ public interface a { @@ -88,7 +86,7 @@ public abstract class b { /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ /* renamed from: c.i.a.f.e.k.b$b reason: collision with other inner class name */ - public interface AbstractC0108b { + public interface AbstractC0107b { void g(@RecentlyNonNull ConnectionResult connectionResult); } @@ -104,12 +102,12 @@ public abstract class b { @Override // c.i.a.f.e.k.b.c public void a(@RecentlyNonNull ConnectionResult connectionResult) { - if (connectionResult.w0()) { + if (connectionResult.x0()) { b bVar = b.this; bVar.b(null, bVar.v()); return; } - AbstractC0108b bVar2 = b.this.q; + AbstractC0107b bVar2 = b.this.q; if (bVar2 != null) { bVar2.g(connectionResult); } @@ -176,7 +174,7 @@ public abstract class b { @Override // android.os.Handler public final void handleMessage(Message message) { TListener tlistener; - if (b.this.f1123w.get() == message.arg1) { + if (b.this.w.get() == message.arg1) { int i = message.what; if (!(i == 1 || i == 7)) { if (i == 4) { @@ -369,7 +367,7 @@ public abstract class b { @Override // c.i.a.f.e.k.b.f public final void d(ConnectionResult connectionResult) { - AbstractC0108b bVar = b.this.q; + AbstractC0107b bVar = b.this.q; if (bVar != null) { bVar.g(connectionResult); } @@ -385,11 +383,11 @@ public abstract class b { String interfaceDescriptor = iBinder.getInterfaceDescriptor(); if (!b.this.x().equals(interfaceDescriptor)) { String x2 = b.this.x(); - Log.e("GmsClient", c.d.b.a.a.h(c.d.b.a.a.b(interfaceDescriptor, c.d.b.a.a.b(x2, 34)), "service descriptor mismatch: ", x2, " vs. ", interfaceDescriptor)); + Log.e("GmsClient", c.d.b.a.a.k(c.d.b.a.a.b(interfaceDescriptor, c.d.b.a.a.b(x2, 34)), "service descriptor mismatch: ", x2, " vs. ", interfaceDescriptor)); return false; } - IInterface r2 = b.this.r(this.g); - if (r2 == null || (!b.E(b.this, 2, 4, r2) && !b.E(b.this, 3, 4, r2))) { + IInterface r = b.this.r(this.g); + if (r == null || (!b.E(b.this, 2, 4, r) && !b.E(b.this, 3, 4, r))) { return false; } b bVar = b.this; @@ -429,7 +427,7 @@ public abstract class b { } } - public b(@RecentlyNonNull Context context, @RecentlyNonNull Looper looper, @RecentlyNonNull e eVar, @RecentlyNonNull c.i.a.f.e.c cVar, @RecentlyNonNull int i2, @Nullable a aVar, @Nullable AbstractC0108b bVar, @Nullable String str) { + public b(@RecentlyNonNull Context context, @RecentlyNonNull Looper looper, @RecentlyNonNull e eVar, @RecentlyNonNull c.i.a.f.e.c cVar, @RecentlyNonNull int i2, @Nullable a aVar, @Nullable AbstractC0107b bVar, @Nullable String str) { c.c.a.a0.d.z(context, "Context must not be null"); this.d = context; c.c.a.a0.d.z(looper, "Looper must not be null"); @@ -438,10 +436,10 @@ public abstract class b { c.c.a.a0.d.z(cVar, "API availability must not be null"); this.f = cVar; this.g = new g(looper); - this.f1122r = i2; + this.r = i2; this.p = aVar; this.q = bVar; - this.s = str; + this.f1091s = str; } public static void D(b bVar) { @@ -457,7 +455,7 @@ public abstract class b { i2 = 4; } Handler handler = bVar.g; - handler.sendMessage(handler.obtainMessage(i2, bVar.f1123w.get(), 16)); + handler.sendMessage(handler.obtainMessage(i2, bVar.w.get(), 16)); } public static boolean E(b bVar, int i2, int i3, IInterface iInterface) { @@ -491,13 +489,13 @@ public abstract class b { } public final String B() { - String str = this.s; + String str = this.f1091s; return str == null ? this.d.getClass().getName() : str; } public final void C(int i2, @Nullable T t) { j0 j0Var; - c.c.a.a0.d.m((i2 == 4) == (t != null)); + c.c.a.a0.d.l((i2 == 4) == (t != null)); synchronized (this.h) { this.o = i2; this.l = t; @@ -505,18 +503,18 @@ public abstract class b { i iVar = this.n; if (iVar != null) { e eVar = this.e; - String str = this.f1121c.a; + String str = this.f1090c.a; Objects.requireNonNull(str, "null reference"); - Objects.requireNonNull(this.f1121c); + Objects.requireNonNull(this.f1090c); String B = B(); - Objects.requireNonNull(this.f1121c); + Objects.requireNonNull(this.f1090c); Objects.requireNonNull(eVar); eVar.c(new e.a(str, "com.google.android.gms", 4225, false), iVar, B); this.n = null; } } else if (i2 == 2 || i2 == 3) { i iVar2 = this.n; - if (!(iVar2 == null || (j0Var = this.f1121c) == null)) { + if (!(iVar2 == null || (j0Var = this.f1090c) == null)) { String str2 = j0Var.a; StringBuilder sb = new StringBuilder(String.valueOf(str2).length() + 70 + "com.google.android.gms".length()); sb.append("Calling connect() while still connected, missing disconnect() for "); @@ -525,34 +523,34 @@ public abstract class b { sb.append("com.google.android.gms"); Log.e("GmsClient", sb.toString()); e eVar2 = this.e; - String str3 = this.f1121c.a; + String str3 = this.f1090c.a; Objects.requireNonNull(str3, "null reference"); - Objects.requireNonNull(this.f1121c); + Objects.requireNonNull(this.f1090c); String B2 = B(); - Objects.requireNonNull(this.f1121c); + Objects.requireNonNull(this.f1090c); Objects.requireNonNull(eVar2); eVar2.c(new e.a(str3, "com.google.android.gms", 4225, false), iVar2, B2); - this.f1123w.incrementAndGet(); + this.w.incrementAndGet(); } - i iVar3 = new i(this.f1123w.get()); + i iVar3 = new i(this.w.get()); this.n = iVar3; String y2 = y(); Object obj = e.a; - this.f1121c = new j0("com.google.android.gms", y2, false, 4225, false); + this.f1090c = new j0("com.google.android.gms", y2, false, 4225, false); e eVar3 = this.e; Objects.requireNonNull(y2, "null reference"); - Objects.requireNonNull(this.f1121c); + Objects.requireNonNull(this.f1090c); String B3 = B(); - Objects.requireNonNull(this.f1121c); + Objects.requireNonNull(this.f1090c); if (!eVar3.b(new e.a(y2, "com.google.android.gms", 4225, false), iVar3, B3)) { - String str4 = this.f1121c.a; + String str4 = this.f1090c.a; StringBuilder sb2 = new StringBuilder(String.valueOf(str4).length() + 34 + "com.google.android.gms".length()); sb2.append("unable to connect to service: "); sb2.append(str4); sb2.append(" on "); sb2.append("com.google.android.gms"); Log.e("GmsClient", sb2.toString()); - int i3 = this.f1123w.get(); + int i3 = this.w.get(); Handler handler = this.g; handler.sendMessage(handler.obtainMessage(7, i3, -1, new l(16))); } @@ -566,29 +564,29 @@ public abstract class b { @WorkerThread public void b(@Nullable g gVar, @RecentlyNonNull Set set) { Bundle u = u(); - GetServiceRequest getServiceRequest = new GetServiceRequest(this.f1122r); + GetServiceRequest getServiceRequest = new GetServiceRequest(this.r); getServiceRequest.l = this.d.getPackageName(); getServiceRequest.o = u; if (set != null) { getServiceRequest.n = (Scope[]) set.toArray(new Scope[set.size()]); } if (o()) { - Account s = s(); - if (s == null) { - s = new Account("<>", "com.google"); + Account s2 = s(); + if (s2 == null) { + s2 = new Account("<>", "com.google"); } - getServiceRequest.p = s; + getServiceRequest.p = s2; if (gVar != null) { getServiceRequest.m = gVar.asBinder(); } } getServiceRequest.q = a; - getServiceRequest.f2803r = t(); + getServiceRequest.r = t(); try { synchronized (this.i) { j jVar = this.j; if (jVar != null) { - jVar.v(new j(this, this.f1123w.get()), getServiceRequest); + jVar.w(new j(this, this.w.get()), getServiceRequest); } else { Log.w("GmsClient", "mServiceBroker is null, client disconnected"); } @@ -596,12 +594,12 @@ public abstract class b { } catch (DeadObjectException e2) { Log.w("GmsClient", "IGmsServiceBroker.getService failed", e2); Handler handler = this.g; - handler.sendMessage(handler.obtainMessage(6, this.f1123w.get(), 3)); + handler.sendMessage(handler.obtainMessage(6, this.w.get(), 3)); } catch (SecurityException e3) { throw e3; } catch (RemoteException | RuntimeException e4) { Log.w("GmsClient", "IGmsServiceBroker.getService failed", e4); - int i2 = this.f1123w.get(); + int i2 = this.w.get(); Handler handler2 = this.g; handler2.sendMessage(handler2.obtainMessage(1, i2, -1, new k(8, null, null))); } @@ -630,7 +628,7 @@ public abstract class b { @RecentlyNonNull public String f() { j0 j0Var; - if (!j() || (j0Var = this.f1121c) == null) { + if (!j() || (j0Var = this.f1090c) == null) { throw new RuntimeException("Failed to connect when checking package"); } Objects.requireNonNull(j0Var); @@ -645,7 +643,7 @@ public abstract class b { @Override // c.i.a.f.e.h.a.f public void h() { - this.f1123w.incrementAndGet(); + this.w.incrementAndGet(); synchronized (this.m) { int size = this.m.size(); for (int i2 = 0; i2 < size; i2++) { @@ -664,7 +662,7 @@ public abstract class b { public void i(@RecentlyNonNull e eVar) { x xVar = (x) eVar; - c.i.a.f.e.h.j.g.this.f1110w.post(new w(xVar)); + c.i.a.f.e.h.j.g.this.w.post(new w(xVar)); } @RecentlyNonNull @@ -716,7 +714,7 @@ public abstract class b { c.c.a.a0.d.z(dVar, "Connection progress callbacks cannot be null."); this.k = dVar; Handler handler = this.g; - handler.sendMessage(handler.obtainMessage(3, this.f1123w.get(), b, null)); + handler.sendMessage(handler.obtainMessage(3, this.w.get(), b, null)); return; } g(new d()); diff --git a/app/src/main/java/c/i/a/f/e/k/b0.java b/app/src/main/java/c/i/a/f/e/k/b0.java index 1fc15779d1..d1394bdd32 100644 --- a/app/src/main/java/c/i/a/f/e/k/b0.java +++ b/app/src/main/java/c/i/a/f/e/k/b0.java @@ -10,37 +10,37 @@ public final class b0 implements Parcelable.Creator b; /* renamed from: c reason: collision with root package name */ - public final Set f1125c; + public final Set f1093c; public final Map, b> d; public final String e; public final String f; @@ -28,11 +28,11 @@ public final class c { public ArraySet b; /* renamed from: c reason: collision with root package name */ - public String f1126c; + public String f1094c; public String d; public final c a() { - return new c(this.a, this.b, null, 0, null, this.f1126c, this.d, c.i.a.f.l.a.i); + return new c(this.a, this.b, null, 0, null, this.f1094c, this.d, c.i.a.f.l.a.i); } } @@ -55,6 +55,6 @@ public final class c { Objects.requireNonNull(bVar); hashSet.addAll(null); } - this.f1125c = Collections.unmodifiableSet(hashSet); + this.f1093c = Collections.unmodifiableSet(hashSet); } } diff --git a/app/src/main/java/c/i/a/f/e/k/c0.java b/app/src/main/java/c/i/a/f/e/k/c0.java index 10c1053a4c..cc2d676bd3 100644 --- a/app/src/main/java/c/i/a/f/e/k/c0.java +++ b/app/src/main/java/c/i/a/f/e/k/c0.java @@ -14,7 +14,7 @@ public final class c0 implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final GetServiceRequest createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; IBinder iBinder = null; Scope[] scopeArr = null; @@ -28,55 +28,55 @@ public final class c0 implements Parcelable.Creator { boolean z2 = false; int i4 = 0; boolean z3 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); break; case 2: - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); break; case 3: - i3 = d.G1(parcel, readInt); + i3 = d.E1(parcel, readInt); break; case 4: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 5: - iBinder = d.F1(parcel, readInt); + iBinder = d.D1(parcel, readInt); break; case 6: - scopeArr = (Scope[]) d.W(parcel, readInt, Scope.CREATOR); + scopeArr = (Scope[]) d.T(parcel, readInt, Scope.CREATOR); break; case 7: - bundle = d.P(parcel, readInt); + bundle = d.M(parcel, readInt); break; case 8: - account = (Account) d.S(parcel, readInt, Account.CREATOR); + account = (Account) d.P(parcel, readInt, Account.CREATOR); break; case 9: default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; case 10: - featureArr = (Feature[]) d.W(parcel, readInt, Feature.CREATOR); + featureArr = (Feature[]) d.T(parcel, readInt, Feature.CREATOR); break; case 11: - featureArr2 = (Feature[]) d.W(parcel, readInt, Feature.CREATOR); + featureArr2 = (Feature[]) d.T(parcel, readInt, Feature.CREATOR); break; case 12: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); break; case 13: - i4 = d.G1(parcel, readInt); + i4 = d.E1(parcel, readInt); break; case 14: - z3 = d.E1(parcel, readInt); + z3 = d.C1(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new GetServiceRequest(i, i2, i3, str, iBinder, scopeArr, bundle, account, featureArr, featureArr2, z2, i4, z3); } diff --git a/app/src/main/java/c/i/a/f/e/k/d.java b/app/src/main/java/c/i/a/f/e/k/d.java index b1ed0f85d1..c16c5afdec 100644 --- a/app/src/main/java/c/i/a/f/e/k/d.java +++ b/app/src/main/java/c/i/a/f/e/k/d.java @@ -18,48 +18,48 @@ import java.util.Set; public abstract class d extends b implements a.f { /* renamed from: x reason: collision with root package name */ - public final c f1127x; + public final c f1095x; /* renamed from: y reason: collision with root package name */ - public final Set f1128y; + public final Set f1096y; @Nullable /* renamed from: z reason: collision with root package name */ - public final Account f1129z; + public final Account f1097z; /* JADX WARNING: Illegal instructions before constructor call */ public d(Context context, Looper looper, int i, c cVar, f fVar, l lVar) { super(context, looper, r3, r4, i, new r(fVar), new q(lVar), cVar.f); e a = e.a(context); - Object obj = GoogleApiAvailability.f2800c; + Object obj = GoogleApiAvailability.f2382c; GoogleApiAvailability googleApiAvailability = GoogleApiAvailability.d; Objects.requireNonNull(fVar, "null reference"); Objects.requireNonNull(lVar, "null reference"); - this.f1127x = cVar; - this.f1129z = cVar.a; - Set set = cVar.f1125c; + this.f1095x = cVar; + this.f1097z = cVar.a; + Set set = cVar.f1093c; for (Scope scope : set) { if (!set.contains(scope)) { throw new IllegalStateException("Expanding scopes is not permitted, use implied scopes instead"); } } - this.f1128y = set; + this.f1096y = set; } @Override // c.i.a.f.e.h.a.f @NonNull public Set a() { - return o() ? this.f1128y : Collections.emptySet(); + return o() ? this.f1096y : Collections.emptySet(); } @Override // c.i.a.f.e.k.b @Nullable public final Account s() { - return this.f1129z; + return this.f1097z; } @Override // c.i.a.f.e.k.b public final Set v() { - return this.f1128y; + return this.f1096y; } } diff --git a/app/src/main/java/c/i/a/f/e/k/e.java b/app/src/main/java/c/i/a/f/e/k/e.java index 24eb10b440..466f50d9ce 100644 --- a/app/src/main/java/c/i/a/f/e/k/e.java +++ b/app/src/main/java/c/i/a/f/e/k/e.java @@ -21,7 +21,7 @@ public abstract class e { @Nullable /* renamed from: c reason: collision with root package name */ - public final String f1130c; + public final String f1098c; public final int d; public final boolean e; @@ -29,7 +29,7 @@ public abstract class e { d.w(str); this.b = str; d.w(str2); - this.f1130c = str2; + this.f1098c = str2; this.d = i; this.e = z2; } @@ -42,11 +42,11 @@ public abstract class e { return false; } a aVar = (a) obj; - return d.j0(this.b, aVar.b) && d.j0(this.f1130c, aVar.f1130c) && d.j0(null, null) && this.d == aVar.d && this.e == aVar.e; + return d.g0(this.b, aVar.b) && d.g0(this.f1098c, aVar.f1098c) && d.g0(null, null) && this.d == aVar.d && this.e == aVar.e; } public final int hashCode() { - return Arrays.hashCode(new Object[]{this.b, this.f1130c, null, Integer.valueOf(this.d), Boolean.valueOf(this.e)}); + return Arrays.hashCode(new Object[]{this.b, this.f1098c, null, Integer.valueOf(this.d), Boolean.valueOf(this.e)}); } public final String toString() { diff --git a/app/src/main/java/c/i/a/f/e/k/e0.java b/app/src/main/java/c/i/a/f/e/k/e0.java index 7f83586e6f..88cc47be2b 100644 --- a/app/src/main/java/c/i/a/f/e/k/e0.java +++ b/app/src/main/java/c/i/a/f/e/k/e0.java @@ -12,7 +12,7 @@ import java.util.HashMap; public final class e0 extends e { /* renamed from: c reason: collision with root package name */ - public final HashMap f1131c = new HashMap<>(); + public final HashMap f1099c = new HashMap<>(); public final Context d; public final Handler e; public final a f; @@ -31,13 +31,13 @@ public final class e0 extends e { public final boolean b(e.a aVar, ServiceConnection serviceConnection, String str) { boolean z2; c.c.a.a0.d.z(serviceConnection, "ServiceConnection must not be null"); - synchronized (this.f1131c) { - g0 g0Var = this.f1131c.get(aVar); + synchronized (this.f1099c) { + g0 g0Var = this.f1099c.get(aVar); if (g0Var == null) { g0Var = new g0(this, aVar); g0Var.i.put(serviceConnection, serviceConnection); g0Var.a(str); - this.f1131c.put(aVar, g0Var); + this.f1099c.put(aVar, g0Var); } else { this.e.removeMessages(0, aVar); if (!g0Var.i.containsKey(serviceConnection)) { @@ -64,8 +64,8 @@ public final class e0 extends e { @Override // c.i.a.f.e.k.e public final void c(e.a aVar, ServiceConnection serviceConnection, String str) { c.c.a.a0.d.z(serviceConnection, "ServiceConnection must not be null"); - synchronized (this.f1131c) { - g0 g0Var = this.f1131c.get(aVar); + synchronized (this.f1099c) { + g0 g0Var = this.f1099c.get(aVar); if (g0Var == null) { String valueOf = String.valueOf(aVar); StringBuilder sb = new StringBuilder(valueOf.length() + 50); diff --git a/app/src/main/java/c/i/a/f/e/k/f.java b/app/src/main/java/c/i/a/f/e/k/f.java index f7007d47c1..27b2261259 100644 --- a/app/src/main/java/c/i/a/f/e/k/f.java +++ b/app/src/main/java/c/i/a/f/e/k/f.java @@ -6,6 +6,6 @@ import c.c.a.a0.d; public final class f { public f(@RecentlyNonNull String str) { d.z(str, "log tag cannot be null"); - d.o(str.length() <= 23, "tag \"%s\" is longer than the %d character maximum", str, 23); + d.n(str.length() <= 23, "tag \"%s\" is longer than the %d character maximum", str, 23); } } diff --git a/app/src/main/java/c/i/a/f/e/k/f0.java b/app/src/main/java/c/i/a/f/e/k/f0.java index 7d0cc2fb89..676e81432d 100644 --- a/app/src/main/java/c/i/a/f/e/k/f0.java +++ b/app/src/main/java/c/i/a/f/e/k/f0.java @@ -19,9 +19,9 @@ public final class f0 implements Handler.Callback { public final boolean handleMessage(Message message) { int i = message.what; if (i == 0) { - synchronized (this.i.f1131c) { + synchronized (this.i.f1099c) { e.a aVar = (e.a) message.obj; - g0 g0Var = this.i.f1131c.get(aVar); + g0 g0Var = this.i.f1099c.get(aVar); if (g0Var != null && g0Var.i.isEmpty()) { if (g0Var.k) { g0Var.o.e.removeMessages(1, g0Var.m); @@ -30,16 +30,16 @@ public final class f0 implements Handler.Callback { g0Var.k = false; g0Var.j = 2; } - this.i.f1131c.remove(aVar); + this.i.f1099c.remove(aVar); } } return true; } else if (i != 1) { return false; } else { - synchronized (this.i.f1131c) { + synchronized (this.i.f1099c) { e.a aVar2 = (e.a) message.obj; - g0 g0Var2 = this.i.f1131c.get(aVar2); + g0 g0Var2 = this.i.f1099c.get(aVar2); if (g0Var2 != null && g0Var2.j == 3) { String valueOf = String.valueOf(aVar2); StringBuilder sb = new StringBuilder(valueOf.length() + 47); @@ -52,7 +52,7 @@ public final class f0 implements Handler.Callback { componentName = null; } if (componentName == null) { - String str = aVar2.f1130c; + String str = aVar2.f1098c; Objects.requireNonNull(str, "null reference"); componentName = new ComponentName(str, EnvironmentCompat.MEDIA_UNKNOWN); } diff --git a/app/src/main/java/c/i/a/f/e/k/g.java b/app/src/main/java/c/i/a/f/e/k/g.java index b35d2eff6e..1a55f44346 100644 --- a/app/src/main/java/c/i/a/f/e/k/g.java +++ b/app/src/main/java/c/i/a/f/e/k/g.java @@ -16,8 +16,8 @@ public interface g extends IInterface { /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ /* renamed from: c.i.a.f.e.k.g$a$a reason: collision with other inner class name */ - public static class C0109a extends b implements g { - public C0109a(IBinder iBinder) { + public static class C0108a extends b implements g { + public C0108a(IBinder iBinder) { super(iBinder, "com.google.android.gms.common.internal.IAccountAccessor"); } @@ -36,7 +36,7 @@ public interface g extends IInterface { return null; } IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.common.internal.IAccountAccessor"); - return queryLocalInterface instanceof g ? (g) queryLocalInterface : new C0109a(iBinder); + return queryLocalInterface instanceof g ? (g) queryLocalInterface : new C0108a(iBinder); } } diff --git a/app/src/main/java/c/i/a/f/e/k/g0.java b/app/src/main/java/c/i/a/f/e/k/g0.java index 44c07f6750..520c63888e 100644 --- a/app/src/main/java/c/i/a/f/e/k/g0.java +++ b/app/src/main/java/c/i/a/f/e/k/g0.java @@ -49,7 +49,7 @@ public final class g0 implements ServiceConnection, i0 { bundle = context.getContentResolver().call(e.a.a, "serviceIntentCall", (String) null, bundle2); } catch (IllegalArgumentException e) { String valueOf = String.valueOf(e); - c.d.b.a.a.b0(valueOf.length() + 34, "Dynamic intent resolution failed: ", valueOf, "ConnectionStatusConfig"); + c.d.b.a.a.f0(valueOf.length() + 34, "Dynamic intent resolution failed: ", valueOf, "ConnectionStatusConfig"); bundle = null; } if (bundle != null) { @@ -61,7 +61,7 @@ public final class g0 implements ServiceConnection, i0 { } } if (intent2 == null) { - intent = new Intent(aVar2.b).setPackage(aVar2.f1130c); + intent = new Intent(aVar2.b).setPackage(aVar2.f1098c); } d = aVar.d(context, str, intent2, this, this.m.d); this.k = d; @@ -91,7 +91,7 @@ public final class g0 implements ServiceConnection, i0 { @Override // android.content.ServiceConnection public final void onServiceConnected(ComponentName componentName, IBinder iBinder) { - synchronized (this.o.f1131c) { + synchronized (this.o.f1099c) { this.o.e.removeMessages(1, this.m); this.l = iBinder; this.n = componentName; @@ -104,7 +104,7 @@ public final class g0 implements ServiceConnection, i0 { @Override // android.content.ServiceConnection public final void onServiceDisconnected(ComponentName componentName) { - synchronized (this.o.f1131c) { + synchronized (this.o.f1099c) { this.o.e.removeMessages(1, this.m); this.l = null; this.n = componentName; diff --git a/app/src/main/java/c/i/a/f/e/k/i.java b/app/src/main/java/c/i/a/f/e/k/i.java index 998218d334..83865ad951 100644 --- a/app/src/main/java/c/i/a/f/e/k/i.java +++ b/app/src/main/java/c/i/a/f/e/k/i.java @@ -20,7 +20,7 @@ public final class i implements j { } @Override // c.i.a.f.e.k.j - public final void v(h hVar, @Nullable GetServiceRequest getServiceRequest) throws RemoteException { + public final void w(h hVar, @Nullable GetServiceRequest getServiceRequest) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { diff --git a/app/src/main/java/c/i/a/f/e/k/j.java b/app/src/main/java/c/i/a/f/e/k/j.java index 1e378cdec9..112bda65a2 100644 --- a/app/src/main/java/c/i/a/f/e/k/j.java +++ b/app/src/main/java/c/i/a/f/e/k/j.java @@ -7,5 +7,5 @@ import androidx.annotation.RecentlyNonNull; import com.google.android.gms.common.internal.GetServiceRequest; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ public interface j extends IInterface { - void v(@RecentlyNonNull h hVar, @Nullable GetServiceRequest getServiceRequest) throws RemoteException; + void w(@RecentlyNonNull h hVar, @Nullable GetServiceRequest getServiceRequest) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/e/k/l.java b/app/src/main/java/c/i/a/f/e/k/l.java index d0cc6fd99e..f146645776 100644 --- a/app/src/main/java/c/i/a/f/e/k/l.java +++ b/app/src/main/java/c/i/a/f/e/k/l.java @@ -10,7 +10,7 @@ public class l { /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ public interface a { - T a(R r2); + T a(R r); } /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ diff --git a/app/src/main/java/c/i/a/f/e/k/l0.java b/app/src/main/java/c/i/a/f/e/k/l0.java index bd7367d43f..c67363e2f6 100644 --- a/app/src/main/java/c/i/a/f/e/k/l0.java +++ b/app/src/main/java/c/i/a/f/e/k/l0.java @@ -14,7 +14,7 @@ public final class l0 extends b implements k0 { @Override // c.i.a.f.e.k.k0 public final a b() throws RemoteException { Parcel g = g(1, e()); - a g2 = a.AbstractBinderC0112a.g(g.readStrongBinder()); + a g2 = a.AbstractBinderC0110a.g(g.readStrongBinder()); g.recycle(); return g2; } diff --git a/app/src/main/java/c/i/a/f/e/k/m.java b/app/src/main/java/c/i/a/f/e/k/m.java index 1d2086c1ba..988719c98d 100644 --- a/app/src/main/java/c/i/a/f/e/k/m.java +++ b/app/src/main/java/c/i/a/f/e/k/m.java @@ -10,7 +10,6 @@ import androidx.annotation.Nullable; import androidx.collection.SimpleArrayMap; import androidx.core.os.ConfigurationCompat; import c.i.a.f.e.d; -import c.i.a.f.e.o.c; import c.i.a.f.e.p.a; import c.i.a.f.e.p.b; import com.google.android.gms.base.R; @@ -144,7 +143,7 @@ public final class m { return resources.getString(R.b.common_google_play_services_install_text, d); } if (i == 2) { - return c.V(context) ? resources.getString(R.b.common_google_play_services_wear_update_text) : resources.getString(R.b.common_google_play_services_update_text, d); + return c.c.a.a0.d.Z0(context) ? resources.getString(R.b.common_google_play_services_wear_update_text) : resources.getString(R.b.common_google_play_services_update_text, d); } if (i == 3) { return resources.getString(R.b.common_google_play_services_enable_text, d); diff --git a/app/src/main/java/c/i/a/f/e/k/o0.java b/app/src/main/java/c/i/a/f/e/k/o0.java index 2363561c7f..5ef7201f96 100644 --- a/app/src/main/java/c/i/a/f/e/k/o0.java +++ b/app/src/main/java/c/i/a/f/e/k/o0.java @@ -6,5 +6,5 @@ import c.i.a.f.f.a; import com.google.android.gms.common.zzj; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ public interface o0 extends IInterface { - boolean t0(zzj zzj, a aVar) throws RemoteException; + boolean r0(zzj zzj, a aVar) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/e/k/p0.java b/app/src/main/java/c/i/a/f/e/k/p0.java index 35a9d49aa0..79eee5a9cf 100644 --- a/app/src/main/java/c/i/a/f/e/k/p0.java +++ b/app/src/main/java/c/i/a/f/e/k/p0.java @@ -14,7 +14,7 @@ public final class p0 extends b implements o0 { } @Override // c.i.a.f.e.k.o0 - public final boolean t0(zzj zzj, a aVar) throws RemoteException { + public final boolean r0(zzj zzj, a aVar) throws RemoteException { Parcel e = e(); int i = c.a; boolean z2 = true; diff --git a/app/src/main/java/c/i/a/f/e/k/q.java b/app/src/main/java/c/i/a/f/e/k/q.java index 7553721632..f46f737cf2 100644 --- a/app/src/main/java/c/i/a/f/e/k/q.java +++ b/app/src/main/java/c/i/a/f/e/k/q.java @@ -5,14 +5,14 @@ import c.i.a.f.e.h.j.l; import c.i.a.f.e.k.b; import com.google.android.gms.common.ConnectionResult; /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ -public final class q implements b.AbstractC0108b { +public final class q implements b.AbstractC0107b { public final /* synthetic */ l i; public q(l lVar) { this.i = lVar; } - @Override // c.i.a.f.e.k.b.AbstractC0108b + @Override // c.i.a.f.e.k.b.AbstractC0107b public final void g(@NonNull ConnectionResult connectionResult) { this.i.g(connectionResult); } diff --git a/app/src/main/java/c/i/a/f/e/k/q0.java b/app/src/main/java/c/i/a/f/e/k/q0.java index 49ef13c86d..bbe3022561 100644 --- a/app/src/main/java/c/i/a/f/e/k/q0.java +++ b/app/src/main/java/c/i/a/f/e/k/q0.java @@ -13,7 +13,7 @@ public final class q0 { @Nullable /* renamed from: c reason: collision with root package name */ - public static String f1132c; + public static String f1100c; public static int d; public static void a(Context context) { @@ -23,7 +23,7 @@ public final class q0 { try { Bundle bundle = b.a(context).a(context.getPackageName(), 128).metaData; if (bundle != null) { - f1132c = bundle.getString("com.google.app.id"); + f1100c = bundle.getString("com.google.app.id"); d = bundle.getInt("com.google.android.gms.version"); } } catch (PackageManager.NameNotFoundException e) { diff --git a/app/src/main/java/c/i/a/f/e/k/s0.java b/app/src/main/java/c/i/a/f/e/k/s0.java index 6949114dc1..c3d61e1f94 100644 --- a/app/src/main/java/c/i/a/f/e/k/s0.java +++ b/app/src/main/java/c/i/a/f/e/k/s0.java @@ -9,30 +9,30 @@ public final class s0 implements Parcelable.Creator /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final RootTelemetryConfiguration createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; boolean z2 = false; boolean z3 = false; int i2 = 0; int i3 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i4 = 65535 & readInt; if (i4 == 1) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i4 == 2) { - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); } else if (i4 == 3) { - z3 = d.E1(parcel, readInt); + z3 = d.C1(parcel, readInt); } else if (i4 == 4) { - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); } else if (i4 != 5) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - i3 = d.G1(parcel, readInt); + i3 = d.E1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new RootTelemetryConfiguration(i, z2, z3, i2, i3); } diff --git a/app/src/main/java/c/i/a/f/e/k/t.java b/app/src/main/java/c/i/a/f/e/k/t.java index 00d3b231e0..2515c7b9d7 100644 --- a/app/src/main/java/c/i/a/f/e/k/t.java +++ b/app/src/main/java/c/i/a/f/e/k/t.java @@ -14,17 +14,17 @@ public final class t implements d.a { public final /* synthetic */ TaskCompletionSource b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ l.a f1133c; + public final /* synthetic */ l.a f1101c; public t(d dVar, TaskCompletionSource taskCompletionSource, l.a aVar, l.b bVar) { this.a = dVar; this.b = taskCompletionSource; - this.f1133c = aVar; + this.f1101c = aVar; } @Override // c.i.a.f.e.h.d.a public final void a(Status status) { - if (status.v0()) { + if (status.w0()) { d dVar = this.a; TimeUnit timeUnit = TimeUnit.MILLISECONDS; BasePendingResult basePendingResult = (BasePendingResult) dVar; @@ -41,10 +41,10 @@ public final class t implements d.a { c.c.a.a0.d.G(basePendingResult.f(), "Result is not ready."); h j = basePendingResult.j(); TaskCompletionSource taskCompletionSource = this.b; - taskCompletionSource.a.t(this.f1133c.a(j)); + taskCompletionSource.a.t(this.f1101c.a(j)); return; } TaskCompletionSource taskCompletionSource2 = this.b; - taskCompletionSource2.a.s(c.c.a.a0.d.n0(status)); + taskCompletionSource2.a.s(c.c.a.a0.d.k0(status)); } } diff --git a/app/src/main/java/c/i/a/f/e/k/x.java b/app/src/main/java/c/i/a/f/e/k/x.java index da393a4c97..9038204525 100644 --- a/app/src/main/java/c/i/a/f/e/k/x.java +++ b/app/src/main/java/c/i/a/f/e/k/x.java @@ -11,27 +11,27 @@ public final class x implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zas createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; Account account = null; GoogleSignInAccount googleSignInAccount = null; int i2 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i3 = 65535 & readInt; if (i3 == 1) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i3 == 2) { - account = (Account) d.S(parcel, readInt, Account.CREATOR); + account = (Account) d.P(parcel, readInt, Account.CREATOR); } else if (i3 == 3) { - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); } else if (i3 != 4) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - googleSignInAccount = (GoogleSignInAccount) d.S(parcel, readInt, GoogleSignInAccount.CREATOR); + googleSignInAccount = (GoogleSignInAccount) d.P(parcel, readInt, GoogleSignInAccount.CREATOR); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zas(i, account, i2, googleSignInAccount); } diff --git a/app/src/main/java/c/i/a/f/e/k/y.java b/app/src/main/java/c/i/a/f/e/k/y.java index 078eb5e614..d6b0168aa8 100644 --- a/app/src/main/java/c/i/a/f/e/k/y.java +++ b/app/src/main/java/c/i/a/f/e/k/y.java @@ -11,30 +11,30 @@ public final class y implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zau createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); IBinder iBinder = null; ConnectionResult connectionResult = null; int i = 0; boolean z2 = false; boolean z3 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 1) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i2 == 2) { - iBinder = d.F1(parcel, readInt); + iBinder = d.D1(parcel, readInt); } else if (i2 == 3) { - connectionResult = (ConnectionResult) d.S(parcel, readInt, ConnectionResult.CREATOR); + connectionResult = (ConnectionResult) d.P(parcel, readInt, ConnectionResult.CREATOR); } else if (i2 == 4) { - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); } else if (i2 != 5) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - z3 = d.E1(parcel, readInt); + z3 = d.C1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zau(i, iBinder, connectionResult, z2, z3); } diff --git a/app/src/main/java/c/i/a/f/e/l/a.java b/app/src/main/java/c/i/a/f/e/l/a.java index 54f4b37f35..57bd971fdd 100644 --- a/app/src/main/java/c/i/a/f/e/l/a.java +++ b/app/src/main/java/c/i/a/f/e/l/a.java @@ -11,23 +11,23 @@ public class a { public final String b; /* renamed from: c reason: collision with root package name */ - public final int f1134c; + public final int f1102c; public a(@RecentlyNonNull String str, @RecentlyNonNull String... strArr) { String str2; if (strArr.length == 0) { str2 = ""; } else { - StringBuilder M = c.d.b.a.a.M('['); + StringBuilder N = c.d.b.a.a.N('['); for (String str3 : strArr) { - if (M.length() > 1) { - M.append(","); + if (N.length() > 1) { + N.append(","); } - M.append(str3); + N.append(str3); } - M.append(']'); - M.append(' '); - str2 = M.toString(); + N.append(']'); + N.append(' '); + str2 = N.toString(); } this.b = str2; this.a = str; @@ -36,11 +36,11 @@ public class a { while (7 >= i && !Log.isLoggable(this.a, i)) { i++; } - this.f1134c = i; + this.f1102c = i; } public void a(@RecentlyNonNull String str, @Nullable Object... objArr) { - if (this.f1134c <= 3) { + if (this.f1102c <= 3) { String str2 = this.a; if (objArr.length > 0) { str = String.format(Locale.US, str, objArr); diff --git a/app/src/main/java/c/i/a/f/e/m/a.java b/app/src/main/java/c/i/a/f/e/m/a.java index ade1f256bb..2302a17a87 100644 --- a/app/src/main/java/c/i/a/f/e/m/a.java +++ b/app/src/main/java/c/i/a/f/e/m/a.java @@ -2,10 +2,10 @@ package c.i.a.f.e.m; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ @Deprecated public class a { - public static AbstractC0110a a; + public static AbstractC0109a a; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ /* renamed from: c.i.a.f.e.m.a$a reason: collision with other inner class name */ - public interface AbstractC0110a { + public interface AbstractC0109a { } } diff --git a/app/src/main/java/c/i/a/f/e/m/b.java b/app/src/main/java/c/i/a/f/e/m/b.java index 7e0c986803..e5a197121c 100644 --- a/app/src/main/java/c/i/a/f/e/m/b.java +++ b/app/src/main/java/c/i/a/f/e/m/b.java @@ -2,5 +2,5 @@ package c.i.a.f.e.m; import c.i.a.f.e.m.a; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ -public final class b implements a.AbstractC0110a { +public final class b implements a.AbstractC0109a { } diff --git a/app/src/main/java/c/i/a/f/e/n/a.java b/app/src/main/java/c/i/a/f/e/n/a.java index 750ce66edf..07c82d009b 100644 --- a/app/src/main/java/c/i/a/f/e/n/a.java +++ b/app/src/main/java/c/i/a/f/e/n/a.java @@ -18,7 +18,7 @@ public class a { public static volatile a b; /* renamed from: c reason: collision with root package name */ - public ConcurrentHashMap f1135c = new ConcurrentHashMap<>(); + public ConcurrentHashMap f1103c = new ConcurrentHashMap<>(); @RecentlyNonNull public static a b() { @@ -41,7 +41,7 @@ public class a { @SuppressLint({"UntrackedBindService"}) public void c(@RecentlyNonNull Context context, @RecentlyNonNull ServiceConnection serviceConnection) { - if (!(!(serviceConnection instanceof i0)) || !this.f1135c.containsKey(serviceConnection)) { + if (!(!(serviceConnection instanceof i0)) || !this.f1103c.containsKey(serviceConnection)) { try { context.unbindService(serviceConnection); } catch (IllegalArgumentException | IllegalStateException unused) { @@ -49,11 +49,11 @@ public class a { } else { try { try { - context.unbindService(this.f1135c.get(serviceConnection)); + context.unbindService(this.f1103c.get(serviceConnection)); } catch (IllegalArgumentException | IllegalStateException unused2) { } } finally { - this.f1135c.remove(serviceConnection); + this.f1103c.remove(serviceConnection); } } } @@ -76,7 +76,7 @@ public class a { return false; } if (!(serviceConnection instanceof i0)) { - ServiceConnection putIfAbsent = this.f1135c.putIfAbsent(serviceConnection, serviceConnection); + ServiceConnection putIfAbsent = this.f1103c.putIfAbsent(serviceConnection, serviceConnection); if (!(putIfAbsent == null || serviceConnection == putIfAbsent)) { Log.w("ConnectionTracker", String.format("Duplicate binding with the same ServiceConnection: %s, %s, %s.", serviceConnection, str, intent.getAction())); } @@ -85,7 +85,7 @@ public class a { if (!z3) { } } finally { - this.f1135c.remove(serviceConnection, serviceConnection); + this.f1103c.remove(serviceConnection, serviceConnection); } } else { z3 = context.bindService(intent, serviceConnection, i); diff --git a/app/src/main/java/c/i/a/f/e/o/c.java b/app/src/main/java/c/i/a/f/e/o/c.java index 7100211660..10df6d4ae3 100644 --- a/app/src/main/java/c/i/a/f/e/o/c.java +++ b/app/src/main/java/c/i/a/f/e/o/c.java @@ -1,1777 +1,12 @@ package c.i.a.f.e.o; -import android.annotation.TargetApi; -import android.app.AppOpsManager; -import android.content.Context; -import android.content.pm.PackageInfo; -import android.content.pm.PackageManager; -import android.content.res.Resources; -import android.database.Cursor; -import android.database.sqlite.SQLiteDatabase; -import android.database.sqlite.SQLiteException; -import android.graphics.Rect; -import android.os.Binder; -import android.os.Build; -import android.os.Bundle; -import android.text.TextUtils; -import android.util.Log; -import android.util.TypedValue; -import androidx.annotation.DimenRes; -import androidx.annotation.NonNull; -import androidx.annotation.Nullable; import androidx.annotation.RecentlyNonNull; -import androidx.annotation.WorkerThread; -import androidx.media.AudioAttributesCompat; -import c.i.a.f.h.l.a3; -import c.i.a.f.h.l.b5; -import c.i.a.f.h.l.b7; -import c.i.a.f.h.l.c3; -import c.i.a.f.h.l.c6; -import c.i.a.f.h.l.c7; -import c.i.a.f.h.l.d2; -import c.i.a.f.h.l.e6; -import c.i.a.f.h.l.k7; -import c.i.a.f.h.l.q6; -import c.i.a.f.h.l.s3; -import c.i.a.f.h.l.t3; -import c.i.a.f.h.l.u4; -import c.i.a.f.h.l.w4; -import c.i.a.f.h.l.x4; -import c.i.a.f.h.l.z2; -import c.i.a.f.h.l.z3; -import c.i.a.f.i.b.ga; -import c.i.a.f.i.b.q3; -import c.i.a.f.n.b0; -import c.i.a.f.n.d0; -import c.i.a.g.d.k; -import c.i.a.g.d.l; -import c.i.b.b.h; -import c.i.b.b.y0; -import c.i.c.l.d; -import c.i.c.l.o; -import c.i.c.m.d.k.s0; -import c.i.c.m.d.k.t0; -import c.i.c.x.e; -import c.i.c.x.f; -import c.i.c.x.g; -import c.o.a.x.i; -import c.o.a.x.j; -import c0.z.d.m; -import com.discord.models.domain.ModelAuditLogEntry; -import com.discord.widgets.chat.input.MentionUtilsKt; -import com.google.android.gms.common.R; -import com.google.android.gms.common.api.Status; -import com.google.android.gms.internal.measurement.zzij; -import com.google.android.gms.tasks.Task; -import com.google.errorprone.annotations.CanIgnoreReturnValue; -import com.google.firebase.appindexing.FirebaseAppIndexingException; -import com.google.firebase.appindexing.FirebaseAppIndexingInvalidArgumentException; -import com.google.firebase.appindexing.FirebaseAppIndexingTooManyArgumentsException; -import com.google.firebase.appindexing.zza; -import com.google.firebase.appindexing.zzb; -import com.google.firebase.appindexing.zzc; -import com.google.firebase.appindexing.zzd; -import com.google.firebase.appindexing.zze; -import com.google.firebase.appindexing.zzf; -import com.google.firebase.appindexing.zzg; -import com.google.firebase.appindexing.zzh; -import com.google.gson.JsonElement; -import com.google.gson.JsonParseException; -import com.google.gson.internal.bind.TypeAdapters; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.MalformedJsonException; -import com.lytefast.flexinput.viewmodel.FlexInputViewModel; -import java.io.EOFException; -import java.io.File; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.io.Serializable; -import java.lang.reflect.Method; -import java.lang.reflect.Modifier; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; -import java.nio.FloatBuffer; -import java.text.DateFormat; -import java.text.SimpleDateFormat; -import java.util.Arrays; -import java.util.Calendar; -import java.util.Collection; -import java.util.Collections; -import java.util.Date; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Iterator; -import java.util.List; -import java.util.Locale; -import java.util.Map; -import java.util.Objects; -import java.util.Set; -import java.util.TreeSet; -import java.util.concurrent.Callable; -import java.util.concurrent.CancellationException; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.Executor; -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; -import java.util.concurrent.LinkedBlockingQueue; -import java.util.concurrent.ThreadPoolExecutor; -import java.util.concurrent.TimeUnit; -import java.util.concurrent.TimeoutException; -import java.util.concurrent.atomic.AtomicLong; -import java.util.concurrent.atomic.AtomicReference; -import java.util.logging.Level; -import java.util.logging.Logger; -import java.util.zip.GZIPOutputStream; -import org.checkerframework.checker.nullness.compatqual.NullableDecl; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ -public final class c { - @Nullable - public static Boolean a; - @Nullable - public static Boolean b; - @Nullable - - /* renamed from: c reason: collision with root package name */ - public static Boolean f1136c; - @Nullable - public static Boolean d; - public static Boolean e; - public static Context f; - @Nullable - public static Boolean g; - public static ga h; - - /* compiled from: SizeSelectors */ - public static class a implements j { - public final /* synthetic */ int a; - - public a(int i) { - this.a = i; - } - - @Override // c.o.a.x.j - public boolean a(@NonNull c.o.a.x.b bVar) { - return bVar.i <= this.a; - } - } - - /* compiled from: SizeSelectors */ - public static class b implements j { - public final /* synthetic */ int a; - - public b(int i) { - this.a = i; - } - - @Override // c.o.a.x.j - public boolean a(@NonNull c.o.a.x.b bVar) { - return bVar.i >= this.a; - } - } - - /* compiled from: SizeSelectors */ - /* renamed from: c.i.a.f.e.o.c$c reason: collision with other inner class name */ - public static class C0111c implements j { - public final /* synthetic */ int a; - - public C0111c(int i) { - this.a = i; - } - - @Override // c.o.a.x.j - public boolean a(@NonNull c.o.a.x.b bVar) { - return bVar.j <= this.a; - } - } - - /* compiled from: SizeSelectors */ - public static class d implements j { - public final /* synthetic */ int a; - - public d(int i) { - this.a = i; - } - - @Override // c.o.a.x.j - public boolean a(@NonNull c.o.a.x.b bVar) { - return bVar.j >= this.a; - } - } - - public static float A(float f2, float f3, float f4, float f5) { - float f6 = f2 / (f5 / 2.0f); - float f7 = f4 / 2.0f; - if (f6 < 1.0f) { - return (f7 * f6 * f6 * f6) + f3; - } - float f8 = f6 - 2.0f; - return (((f8 * f8 * f8) + 2.0f) * f7) + f3; - } - - public static int A0(byte[] bArr, int i, s3 s3Var) { - int i2 = i + 1; - byte b2 = bArr[i]; - if (b2 < 0) { - return v0(b2, bArr, i2, s3Var); - } - s3Var.a = b2; - return i2; - } - - public static boolean B(@NullableDecl Object obj, @NullableDecl Object obj2) { - return obj == obj2 || (obj != null && obj.equals(obj2)); - } - - public static int B0(byte[] bArr, int i, b5 b5Var, s3 s3Var) throws IOException { - x4 x4Var = (x4) b5Var; - int A0 = A0(bArr, i, s3Var); - int i2 = s3Var.a + A0; - while (A0 < i2) { - A0 = A0(bArr, A0, s3Var); - x4Var.g(s3Var.a); - } - if (A0 == i2) { - return A0; - } - throw zzij.a(); - } - - public static T C(@NullableDecl T t, @NullableDecl T t2) { - if (t != null) { - return t; - } - Objects.requireNonNull(t2, "Both parameters are null"); - return t2; - } - - public static z2 C0(z2 z2Var) { - return ((z2Var instanceof c3) || (z2Var instanceof a3)) ? z2Var : z2Var instanceof Serializable ? new a3(z2Var) : new c3(z2Var); - } - - public static final FloatBuffer D(int i) { - ByteBuffer order = ByteBuffer.allocateDirect(i * 4 * 1).order(ByteOrder.nativeOrder()); - order.limit(order.capacity()); - m.checkNotNullExpressionValue(order, "ByteBuffer\n .allo…it.limit(it.capacity()) }"); - FloatBuffer asFloatBuffer = order.asFloatBuffer(); - m.checkNotNullExpressionValue(asFloatBuffer, "byteBuffer(size * Egloo.…OF_FLOAT).asFloatBuffer()"); - return asFloatBuffer; - } - - public static FirebaseAppIndexingException D0(@NonNull Status status, String str) { - String str2 = status.p; - if (str2 != null && !str2.isEmpty()) { - str = str2; - } - int i = status.o; - if (i == 17510) { - return new FirebaseAppIndexingInvalidArgumentException(str); - } - if (i == 17511) { - return new FirebaseAppIndexingTooManyArgumentsException(str); - } - if (i == 17602) { - return new zzh(str); - } - switch (i) { - case 17513: - return new zzb(str); - case 17514: - return new zza(str); - case 17515: - return new zzg(str); - case 17516: - return new zze(str); - case 17517: - return new zzf(str); - case 17518: - return new zzd(str); - case 17519: - return new zzc(str); - default: - return new FirebaseAppIndexingException(str); - } - } - - @NonNull - public static Task E(@NonNull Exception exc) { - b0 b0Var = new b0(); - b0Var.s(exc); - return b0Var; - } - - public static T E0(@NonNull Bundle bundle, String str, Class cls, T t) { - T t2 = (T) bundle.get(str); - if (t2 == null) { - return t; - } - if (cls.isAssignableFrom(t2.getClass())) { - return t2; - } - throw new IllegalStateException(String.format("Invalid conditional user property field type. '%s' expected [%s] but was [%s]", str, cls.getCanonicalName(), t2.getClass().getCanonicalName())); - } - - @NonNull - public static Task F(TResult tresult) { - b0 b0Var = new b0(); - b0Var.t(tresult); - return b0Var; - } - - public static V F0(d2 d2Var) { - long clearCallingIdentity; - try { - return d2Var.a(); - } catch (SecurityException unused) { - clearCallingIdentity = Binder.clearCallingIdentity(); - V a2 = d2Var.a(); - Binder.restoreCallingIdentity(clearCallingIdentity); - return a2; - } catch (Throwable th) { - Binder.restoreCallingIdentity(clearCallingIdentity); - throw th; - } - } - - public static c.i.c.l.d G(String str, g gVar) { - d.b a2 = c.i.c.l.d.a(e.class); - a2.d = 1; - a2.a(new o(Context.class, 1, 0)); - a2.c(new f(str, gVar)); - return a2.b(); - } - - public static TResult G0(@NonNull Task task) throws ExecutionException { - if (task.p()) { - return task.l(); - } - if (task.n()) { - throw new CancellationException("Task is already canceled"); - } - throw new ExecutionException(task.k()); - } - - public static String H(long j) { - return I(j, null); - } - - public static String H0(Context context, String str) { - try { - Objects.requireNonNull(context, "null reference"); - Resources resources = context.getResources(); - int identifier = resources.getIdentifier(str, "string", resources.getResourcePackageName(R.a.common_google_play_services_unknown_issue)); - if (identifier == 0) { - return null; - } - return resources.getString(identifier); - } catch (Resources.NotFoundException unused) { - } - } - - public static String I(long j, @Nullable SimpleDateFormat simpleDateFormat) { - Calendar h2 = l.h(); - Calendar i = l.i(); - i.setTimeInMillis(j); - return simpleDateFormat != null ? simpleDateFormat.format(new Date(j)) : h2.get(1) == i.get(1) ? L(j, Locale.getDefault()) : O(j, Locale.getDefault()); - } - - public static String I0(t3 t3Var) { - b7 b7Var = new b7(t3Var); - StringBuilder sb = new StringBuilder(t3Var.d()); - for (int i = 0; i < b7Var.a.d(); i++) { - byte c2 = b7Var.a.c(i); - if (c2 == 34) { - sb.append("\\\""); - } else if (c2 == 39) { - sb.append("\\'"); - } else if (c2 != 92) { - switch (c2) { - case 7: - sb.append("\\a"); - continue; - case 8: - sb.append("\\b"); - continue; - case 9: - sb.append("\\t"); - continue; - case 10: - sb.append("\\n"); - continue; - case 11: - sb.append("\\v"); - continue; - case 12: - sb.append("\\f"); - continue; - case 13: - sb.append("\\r"); - continue; - default: - if (c2 < 32 || c2 > 126) { - sb.append('\\'); - sb.append((char) (((c2 >>> 6) & 3) + 48)); - sb.append((char) (((c2 >>> 3) & 7) + 48)); - sb.append((char) ((c2 & 7) + 48)); - break; - } else { - sb.append((char) c2); - continue; - } - } - } else { - sb.append("\\\\"); - } - } - return sb.toString(); - } - - public static final int J(c.p.a.b bVar, @DimenRes int i) { - m.checkNotNullParameter(bVar, "$this$getDimenPixelSize"); - return bVar.getResources().getDimensionPixelSize(i); - } - - public static final String J0(String str) { - StringBuilder sb = new StringBuilder(); - for (int i = 0; i < str.length(); i++) { - char charAt = str.charAt(i); - if (Character.isUpperCase(charAt)) { - sb.append("_"); - } - sb.append(Character.toLowerCase(charAt)); - } - return sb.toString(); - } - - @NullableDecl - public static T K(Iterable iterable, @NullableDecl T t) { - y0 y0Var = new y0((h.a) iterable); - return y0Var.hasNext() ? (T) y0Var.next() : t; - } - - @Nullable - public static String K0(String str, String[] strArr, String[] strArr2) { - int min = Math.min(strArr.length, strArr2.length); - for (int i = 0; i < min; i++) { - String str2 = strArr[i]; - if ((str == null && str2 == null) ? true : str == null ? false : str.equals(str2)) { - return strArr2[i]; - } - } - return null; - } - - public static String L(long j, Locale locale) { - if (Build.VERSION.SDK_INT >= 24) { - return l.c("MMMd", locale).format(new Date(j)); - } - AtomicReference atomicReference = l.a; - DateFormat dateInstance = DateFormat.getDateInstance(2, locale); - dateInstance.setTimeZone(l.g()); - SimpleDateFormat simpleDateFormat = (SimpleDateFormat) dateInstance; - String pattern = simpleDateFormat.toPattern(); - int b2 = l.b(pattern, "yY", 1, 0); - if (b2 < pattern.length()) { - String str = "EMd"; - int b3 = l.b(pattern, str, 1, b2); - if (b3 < pattern.length()) { - str = "EMd,"; - } - pattern = pattern.replace(pattern.substring(l.b(pattern, str, -1, b2) + 1, b3), " ").trim(); - } - simpleDateFormat.applyPattern(pattern); - return simpleDateFormat.format(new Date(j)); - } - - @WorkerThread - public static Set L0(SQLiteDatabase sQLiteDatabase, String str) { - HashSet hashSet = new HashSet(); - Cursor rawQuery = sQLiteDatabase.rawQuery(c.d.b.a.a.g(c.d.b.a.a.b(str, 22), "SELECT * FROM ", str, " LIMIT 0"), null); - try { - Collections.addAll(hashSet, rawQuery.getColumnNames()); - return hashSet; - } finally { - rawQuery.close(); - } - } - - public static int M(int[] iArr, int i, boolean z2) { - int[] iArr2 = iArr; - int i2 = 0; - for (int i3 : iArr2) { - i2 += i3; - } - int length = iArr2.length; - int i4 = 0; - int i5 = 0; - int i6 = 0; - while (true) { - int i7 = length - 1; - if (i4 >= i7) { - return i5; - } - int i8 = 1 << i4; - i6 |= i8; - int i9 = 1; - while (i9 < iArr2[i4]) { - int i10 = i2 - i9; - int i11 = length - i4; - int i12 = i11 - 2; - int u = u(i10 - 1, i12); - if (z2 && i6 == 0) { - int i13 = i11 - 1; - if (i10 - i13 >= i13) { - u -= u(i10 - i11, i12); - } - } - if (i11 - 1 > 1) { - int i14 = 0; - for (int i15 = i10 - i12; i15 > i; i15--) { - i14 += u((i10 - i15) - 1, i11 - 3); - } - u -= (i7 - i4) * i14; - } else if (i10 > i) { - u--; - } - i5 += u; - i9++; - i6 &= ~i8; - iArr2 = iArr; - } - i2 -= i9; - i4++; - iArr2 = iArr; - } - } - - public static void M0(byte b2, byte b3, byte b4, byte b5, char[] cArr, int i) throws zzij { - if (!d1(b3)) { - if ((((b3 + 112) + (b2 << 28)) >> 30) == 0 && !d1(b4) && !d1(b5)) { - int i2 = ((b2 & 7) << 18) | ((b3 & 63) << 12) | ((b4 & 63) << 6) | (b5 & 63); - cArr[i] = (char) ((i2 >>> 10) + 55232); - cArr[i + 1] = (char) ((i2 & AudioAttributesCompat.FLAG_ALL) + 56320); - return; - } - } - throw zzij.e(); - } - - public static DateFormat N(int i, int i2) { - String str; - String str2; - StringBuilder sb = new StringBuilder(); - if (i == 0) { - str = "EEEE, MMMM d, yyyy"; - } else if (i == 1) { - str = "MMMM d, yyyy"; - } else if (i == 2) { - str = "MMM d, yyyy"; - } else if (i == 3) { - str = "M/d/yy"; - } else { - throw new IllegalArgumentException(c.d.b.a.a.l("Unknown DateFormat style: ", i)); - } - sb.append(str); - sb.append(" "); - if (i2 == 0 || i2 == 1) { - str2 = "h:mm:ss a z"; - } else if (i2 == 2) { - str2 = "h:mm:ss a"; - } else if (i2 == 3) { - str2 = "h:mm a"; - } else { - throw new IllegalArgumentException(c.d.b.a.a.l("Unknown DateFormat style: ", i2)); - } - sb.append(str2); - return new SimpleDateFormat(sb.toString(), Locale.US); - } - - public static void N0(byte b2, byte b3, byte b4, char[] cArr, int i) throws zzij { - if (d1(b3) || ((b2 == -32 && b3 < -96) || ((b2 == -19 && b3 >= -96) || d1(b4)))) { - throw zzij.e(); - } - cArr[i] = (char) (((b2 & 15) << 12) | ((b3 & 63) << 6) | (b4 & 63)); - } - - public static String O(long j, Locale locale) { - if (Build.VERSION.SDK_INT >= 24) { - return l.c("yMMMd", locale).format(new Date(j)); - } - AtomicReference atomicReference = l.a; - DateFormat dateInstance = DateFormat.getDateInstance(2, locale); - dateInstance.setTimeZone(l.g()); - return dateInstance.format(new Date(j)); - } - - public static void O0(byte b2, byte b3, char[] cArr, int i) throws zzij { - if (b2 < -62 || d1(b3)) { - throw zzij.e(); - } - cArr[i] = (char) (((b2 & 31) << 6) | (b3 & 63)); - } - - public static void P(@Nullable InputStream inputStream, @NonNull File file) throws IOException { - Throwable th; - byte[] bArr = new byte[8192]; - GZIPOutputStream gZIPOutputStream = null; - try { - GZIPOutputStream gZIPOutputStream2 = new GZIPOutputStream(new FileOutputStream(file)); - while (true) { - try { - int read = inputStream.read(bArr); - if (read > 0) { - gZIPOutputStream2.write(bArr, 0, read); - } else { - gZIPOutputStream2.finish(); - c.i.c.m.d.k.h.d(gZIPOutputStream2); - return; - } - } catch (Throwable th2) { - th = th2; - gZIPOutputStream = gZIPOutputStream2; - c.i.c.m.d.k.h.d(gZIPOutputStream); - throw th; - } - } - } catch (Throwable th3) { - th = th3; - c.i.c.m.d.k.h.d(gZIPOutputStream); - throw th; - } - } - - public static void P0(@NonNull Bundle bundle, @NonNull Object obj) { - if (obj instanceof Double) { - bundle.putDouble("value", ((Double) obj).doubleValue()); - } else if (obj instanceof Long) { - bundle.putLong("value", ((Long) obj).longValue()); - } else { - bundle.putString("value", obj.toString()); - } - } - - public static int Q(long j) { - return (int) (j ^ (j >>> 32)); - } - - /* JADX WARNING: Code restructure failed: missing block: B:81:0x01e5, code lost: - if (((java.lang.Boolean) r4).booleanValue() == false) goto L_0x024a; - */ - /* JADX WARNING: Code restructure failed: missing block: B:85:0x01f3, code lost: - if (((java.lang.Integer) r4).intValue() == 0) goto L_0x024a; - */ - /* JADX WARNING: Code restructure failed: missing block: B:89:0x0204, code lost: - if (((java.lang.Float) r4).floatValue() == 0.0f) goto L_0x024a; - */ - /* JADX WARNING: Code restructure failed: missing block: B:93:0x0216, code lost: - if (((java.lang.Double) r4).doubleValue() == com.google.android.material.shadow.ShadowDrawableWrapper.COS_45) goto L_0x024a; - */ - /* JADX WARNING: Removed duplicated region for block: B:111:0x0250 */ - public static void Q0(c6 c6Var, StringBuilder sb, int i) { - boolean z2; - HashMap hashMap = new HashMap(); - HashMap hashMap2 = new HashMap(); - TreeSet treeSet = new TreeSet(); - Method[] declaredMethods = c6Var.getClass().getDeclaredMethods(); - for (Method method : declaredMethods) { - hashMap2.put(method.getName(), method); - if (method.getParameterTypes().length == 0) { - hashMap.put(method.getName(), method); - if (method.getName().startsWith("get")) { - treeSet.add(method.getName()); - } - } - } - Iterator it = treeSet.iterator(); - while (it.hasNext()) { - String str = (String) it.next(); - String substring = str.startsWith("get") ? str.substring(3) : str; - boolean z3 = true; - if (substring.endsWith("List") && !substring.endsWith("OrBuilderList") && !substring.equals("List")) { - String valueOf = String.valueOf(substring.substring(0, 1).toLowerCase()); - String valueOf2 = String.valueOf(substring.substring(1, substring.length() - 4)); - String concat = valueOf2.length() != 0 ? valueOf.concat(valueOf2) : new String(valueOf); - Method method2 = (Method) hashMap.get(str); - if (method2 != null && method2.getReturnType().equals(List.class)) { - U0(sb, i, J0(concat), u4.q(method2, c6Var, new Object[0])); - } - } - if (substring.endsWith("Map") && !substring.equals("Map")) { - String valueOf3 = String.valueOf(substring.substring(0, 1).toLowerCase()); - String valueOf4 = String.valueOf(substring.substring(1, substring.length() - 3)); - String concat2 = valueOf4.length() != 0 ? valueOf3.concat(valueOf4) : new String(valueOf3); - Method method3 = (Method) hashMap.get(str); - if (method3 != null && method3.getReturnType().equals(Map.class) && !method3.isAnnotationPresent(Deprecated.class) && Modifier.isPublic(method3.getModifiers())) { - U0(sb, i, J0(concat2), u4.q(method3, c6Var, new Object[0])); - } - } - if (((Method) hashMap2.get(substring.length() != 0 ? "set".concat(substring) : new String("set"))) != null) { - if (substring.endsWith("Bytes")) { - String valueOf5 = String.valueOf(substring.substring(0, substring.length() - 5)); - if (!hashMap.containsKey(valueOf5.length() != 0 ? "get".concat(valueOf5) : new String("get"))) { - } - } - String valueOf6 = String.valueOf(substring.substring(0, 1).toLowerCase()); - String valueOf7 = String.valueOf(substring.substring(1)); - String concat3 = valueOf7.length() != 0 ? valueOf6.concat(valueOf7) : new String(valueOf6); - Method method4 = (Method) hashMap.get(substring.length() != 0 ? "get".concat(substring) : new String("get")); - Method method5 = (Method) hashMap.get(substring.length() != 0 ? "has".concat(substring) : new String("has")); - if (method4 != null) { - Object q = u4.q(method4, c6Var, new Object[0]); - if (method5 == null) { - if (!(q instanceof Boolean)) { - if (!(q instanceof Integer)) { - if (!(q instanceof Float)) { - if (!(q instanceof Double)) { - if (q instanceof String) { - z2 = q.equals(""); - } else if (q instanceof t3) { - z2 = q.equals(t3.i); - } else { - z2 = !(q instanceof c6) ? false : false; - } - if (z2) { - z3 = false; - } - } - } - } - } - z2 = true; - if (z2) { - } - } else { - z3 = ((Boolean) u4.q(method5, c6Var, new Object[0])).booleanValue(); - } - if (z3) { - U0(sb, i, J0(concat3), q); - } - } - } - } - if (c6Var instanceof u4.d) { - Iterator> l = ((u4.d) c6Var).zzc.l(); - if (l.hasNext()) { - l.next().getKey(); - throw new NoSuchMethodError(); - } - } - c7 c7Var = ((u4) c6Var).zzb; - if (c7Var != null) { - for (int i2 = 0; i2 < c7Var.b; i2++) { - U0(sb, i, String.valueOf(c7Var.f1162c[i2] >>> 3), c7Var.d[i2]); - } - } - } +public class c implements b { + public static final c a = new c(); @RecentlyNonNull - public static boolean R() { - return Build.VERSION.SDK_INT >= 26; - } - - public static void R0(q3 q3Var, SQLiteDatabase sQLiteDatabase) { - if (q3Var != null) { - File file = new File(sQLiteDatabase.getPath()); - if (!file.setReadable(false, false)) { - q3Var.i.a("Failed to turn off database read permission"); - } - if (!file.setWritable(false, false)) { - q3Var.i.a("Failed to turn off database write permission"); - } - if (!file.setReadable(true, true)) { - q3Var.i.a("Failed to turn on database read permission for owner"); - } - if (!file.setWritable(true, true)) { - q3Var.i.a("Failed to turn on database write permission for owner"); - return; - } - return; - } - throw new IllegalArgumentException("Monitor must not be null"); - } - - @RecentlyNonNull - public static boolean S(@RecentlyNonNull Context context, @RecentlyNonNull int i) { - if (!o0(context, i, "com.google.android.gms")) { - return false; - } - try { - PackageInfo packageInfo = context.getPackageManager().getPackageInfo("com.google.android.gms", 64); - c.i.a.f.e.f a2 = c.i.a.f.e.f.a(context); - Objects.requireNonNull(a2); - if (packageInfo == null) { - return false; - } - if (!c.i.a.f.e.f.d(packageInfo, false)) { - if (!c.i.a.f.e.f.d(packageInfo, true)) { - return false; - } - if (!c.i.a.f.e.e.a(a2.b)) { - Log.w("GoogleSignatureVerifier", "Test-keys aren't accepted on this build."); - return false; - } - } - return true; - } catch (PackageManager.NameNotFoundException unused) { - if (Log.isLoggable("UidVerifier", 3)) { - Log.d("UidVerifier", "Package manager can't find google play services package, defaulting to false"); - } - return false; - } - } - - @WorkerThread - public static void S0(q3 q3Var, SQLiteDatabase sQLiteDatabase, String str, String str2, String str3, String[] strArr) throws SQLiteException { - boolean z2; - if (q3Var != null) { - Cursor cursor = null; - try { - cursor = sQLiteDatabase.query("SQLITE_MASTER", new String[]{ModelAuditLogEntry.CHANGE_KEY_NAME}, "name=?", new String[]{str}, null, null, null); - z2 = cursor.moveToFirst(); - cursor.close(); - } catch (SQLiteException e2) { - q3Var.i.c("Error querying for table", str, e2); - if (cursor != null) { - cursor.close(); - } - z2 = false; - } catch (Throwable th) { - if (cursor != null) { - cursor.close(); - } - throw th; - } - if (!z2) { - sQLiteDatabase.execSQL(str2); - } - try { - Set L0 = L0(sQLiteDatabase, str); - String[] split = str3.split(","); - for (String str4 : split) { - if (!((HashSet) L0).remove(str4)) { - StringBuilder sb = new StringBuilder(str.length() + 35 + String.valueOf(str4).length()); - sb.append("Table "); - sb.append(str); - sb.append(" is missing required column: "); - sb.append(str4); - throw new SQLiteException(sb.toString()); - } - } - if (strArr != null) { - for (int i = 0; i < strArr.length; i += 2) { - if (!((HashSet) L0).remove(strArr[i])) { - sQLiteDatabase.execSQL(strArr[i + 1]); - } - } - } - if (!((HashSet) L0).isEmpty()) { - q3Var.i.c("Table has extra columns. table, columns", str, TextUtils.join(", ", L0)); - } - } catch (SQLiteException e3) { - q3Var.f.b("Failed to verify columns on table that was just created", str); - throw e3; - } - } else { - throw new IllegalArgumentException("Monitor must not be null"); - } - } - - @RecentlyNonNull - public static synchronized boolean T(@RecentlyNonNull Context context) { - Boolean bool; - synchronized (c.class) { - Context applicationContext = context.getApplicationContext(); - Context context2 = f; - if (context2 != null && (bool = g) != null && context2 == applicationContext) { - return bool.booleanValue(); - } - g = null; - if (R()) { - g = Boolean.valueOf(applicationContext.getPackageManager().isInstantApp()); - } else { - try { - context.getClassLoader().loadClass("com.google.android.instantapps.supervisor.InstantAppsRuntime"); - g = Boolean.TRUE; - } catch (ClassNotFoundException unused) { - g = Boolean.FALSE; - } - } - f = applicationContext; - return g.booleanValue(); - } - } - - public static void T0(Task task, c.i.a.f.n.h hVar) { - Executor executor = c.i.a.f.n.g.b; - task.g(executor, hVar); - task.e(executor, hVar); - task.a(executor, hVar); - } - - @RecentlyNonNull - @TargetApi(20) - public static boolean U(@RecentlyNonNull Context context) { - PackageManager packageManager = context.getPackageManager(); - if (a == null) { - a = Boolean.valueOf(packageManager.hasSystemFeature("android.hardware.type.watch")); - } - return a.booleanValue(); - } - - public static final void U0(StringBuilder sb, int i, String str, Object obj) { - if (obj instanceof List) { - for (Object obj2 : (List) obj) { - U0(sb, i, str, obj2); - } - } else if (obj instanceof Map) { - for (Map.Entry entry : ((Map) obj).entrySet()) { - U0(sb, i, str, entry); - } - } else { - sb.append('\n'); - int i2 = 0; - for (int i3 = 0; i3 < i; i3++) { - sb.append(' '); - } - sb.append(str); - if (obj instanceof String) { - sb.append(": \""); - t3 t3Var = t3.i; - sb.append(I0(new z3(((String) obj).getBytes(w4.a)))); - sb.append('\"'); - } else if (obj instanceof t3) { - sb.append(": \""); - sb.append(I0((t3) obj)); - sb.append('\"'); - } else if (obj instanceof u4) { - sb.append(" {"); - Q0((u4) obj, sb, i + 2); - sb.append("\n"); - while (i2 < i) { - sb.append(' '); - i2++; - } - sb.append("}"); - } else if (obj instanceof Map.Entry) { - sb.append(" {"); - Map.Entry entry2 = (Map.Entry) obj; - int i4 = i + 2; - U0(sb, i4, "key", entry2.getKey()); - U0(sb, i4, "value", entry2.getValue()); - sb.append("\n"); - while (i2 < i) { - sb.append(' '); - i2++; - } - sb.append("}"); - } else { - sb.append(": "); - sb.append(obj.toString()); - } - } - } - - @RecentlyNonNull - @TargetApi(26) - public static boolean V(@RecentlyNonNull Context context) { - if (U(context)) { - if (Build.VERSION.SDK_INT >= 24) { - if (b == null) { - b = Boolean.valueOf(context.getPackageManager().hasSystemFeature("cn.google")); - } - if (!b.booleanValue() || R()) { - } - } - return true; - } - return false; - } - - public static boolean V0(byte b2) { - return b2 >= 0; - } - - public static String W(@NullableDecl String str, @NullableDecl Object... objArr) { - int indexOf; - String str2; - String valueOf = String.valueOf(str); - int i = 0; - for (int i2 = 0; i2 < objArr.length; i2++) { - Object obj = objArr[i2]; - try { - str2 = String.valueOf(obj); - } catch (Exception e2) { - String str3 = obj.getClass().getName() + MentionUtilsKt.MENTIONS_CHAR + Integer.toHexString(System.identityHashCode(obj)); - Logger.getLogger("com.google.common.base.Strings").log(Level.WARNING, "Exception during lenientFormat for " + str3, (Throwable) e2); - str2 = "<" + str3 + " threw " + e2.getClass().getName() + ">"; - } - objArr[i2] = str2; - } - StringBuilder sb = new StringBuilder((objArr.length * 16) + valueOf.length()); - int i3 = 0; - while (i < objArr.length && (indexOf = valueOf.indexOf("%s", i3)) != -1) { - sb.append((CharSequence) valueOf, i3, indexOf); - sb.append(objArr[i]); - i3 = indexOf + 2; - i++; - } - sb.append((CharSequence) valueOf, i3, valueOf.length()); - if (i < objArr.length) { - sb.append(" ["); - sb.append(objArr[i]); - for (int i4 = i + 1; i4 < objArr.length; i4++) { - sb.append(", "); - sb.append(objArr[i4]); - } - sb.append(']'); - } - return sb.toString(); - } - - public static boolean W0(@NullableDecl Object obj, @NullableDecl Object obj2) { - if (obj != obj2) { - return obj != null && obj.equals(obj2); - } - return true; - } - - public static final float[] X(float[] fArr) { - m.checkNotNullParameter(fArr, "matrix"); - return (float[]) fArr.clone(); - } - - public static int X0(byte[] bArr, int i, s3 s3Var) { - int i2 = i + 1; - long j = (long) bArr[i]; - if (j >= 0) { - s3Var.b = j; - return i2; - } - int i3 = i2 + 1; - byte b2 = bArr[i2]; - long j2 = (j & 127) | (((long) (b2 & Byte.MAX_VALUE)) << 7); - int i4 = 7; - while (b2 < 0) { - int i5 = i3 + 1; - byte b3 = bArr[i3]; - i4 += 7; - j2 |= ((long) (b3 & Byte.MAX_VALUE)) << i4; - b2 = b3; - i3 = i5; - } - s3Var.b = j2; - return i3; - } - - @NonNull - public static c.o.a.x.c Y(int i) { - return q0(new C0111c(i)); - } - - public static long Y0(byte[] bArr, int i) { - return ((((long) bArr[i + 7]) & 255) << 56) | (((long) bArr[i]) & 255) | ((((long) bArr[i + 1]) & 255) << 8) | ((((long) bArr[i + 2]) & 255) << 16) | ((((long) bArr[i + 3]) & 255) << 24) | ((((long) bArr[i + 4]) & 255) << 32) | ((((long) bArr[i + 5]) & 255) << 40) | ((((long) bArr[i + 6]) & 255) << 48); - } - - @NonNull - public static c.o.a.x.c Z(int i) { - return q0(new a(i)); - } - - public static void Z0(boolean z2, @NullableDecl Object obj) { - if (!z2) { - throw new IllegalStateException(String.valueOf(obj)); - } - } - - /* JADX DEBUG: Multi-variable search result rejected for r2v0, resolved type: java.util.Collection */ - /* JADX WARN: Multi-variable type inference failed */ - @CanIgnoreReturnValue - public static boolean a(Collection collection, Iterator it) { - Objects.requireNonNull(it); - boolean z2 = false; - while (it.hasNext()) { - z2 |= collection.add(it.next()); - } - return z2; - } - - @NonNull - public static c.o.a.x.c a0(int i) { - return q0(new d(i)); - } - - public static int a1(byte[] bArr, int i, s3 s3Var) throws zzij { - int A0 = A0(bArr, i, s3Var); - int i2 = s3Var.a; - if (i2 < 0) { - throw zzij.b(); - } else if (i2 == 0) { - s3Var.f1204c = ""; - return A0; - } else { - s3Var.f1204c = new String(bArr, A0, i2, w4.a); - return A0 + i2; - } - } - - @NonNull - public static c.o.a.x.c b(c.o.a.x.c... cVarArr) { - return new i(cVarArr, null); - } - - @NonNull - public static c.o.a.x.c b0(int i) { - return q0(new b(i)); - } - - public static int b1(byte[] bArr, int i, s3 s3Var) throws zzij { - int A0 = A0(bArr, i, s3Var); - int i2 = s3Var.a; - if (i2 < 0) { - throw zzij.b(); - } else if (i2 == 0) { - s3Var.f1204c = ""; - return A0; - } else { - s3Var.f1204c = k7.a.c(bArr, A0, i2); - return A0 + i2; - } - } - - public static TResult c(@NonNull Task task) throws ExecutionException, InterruptedException { - c.c.a.a0.d.x("Must not be called on the main application thread"); - c.c.a.a0.d.z(task, "Task must not be null"); - if (task.o()) { - return (TResult) G0(task); - } - c.i.a.f.n.i iVar = new c.i.a.f.n.i(null); - T0(task, iVar); - iVar.a.await(); - return (TResult) G0(task); - } - - public static /* synthetic */ void c0(FlexInputViewModel flexInputViewModel, boolean z2, int i, Object obj) { - if ((i & 1) != 0) { - z2 = true; - } - flexInputViewModel.onContentDialogDismissed(z2); - } - - public static int c1(byte[] bArr, int i, s3 s3Var) throws zzij { - int A0 = A0(bArr, i, s3Var); - int i2 = s3Var.a; - if (i2 < 0) { - throw zzij.b(); - } else if (i2 > bArr.length - A0) { - throw zzij.a(); - } else if (i2 == 0) { - s3Var.f1204c = t3.i; - return A0; - } else { - s3Var.f1204c = t3.h(bArr, A0, i2); - return A0 + i2; - } - } - - public static TResult d(@NonNull Task task, long j, @NonNull TimeUnit timeUnit) throws ExecutionException, InterruptedException, TimeoutException { - c.c.a.a0.d.x("Must not be called on the main application thread"); - c.c.a.a0.d.z(task, "Task must not be null"); - c.c.a.a0.d.z(timeUnit, "TimeUnit must not be null"); - if (task.o()) { - return (TResult) G0(task); - } - c.i.a.f.n.i iVar = new c.i.a.f.n.i(null); - T0(task, iVar); - if (iVar.a.await(j, timeUnit)) { - return (TResult) G0(task); - } - throw new TimeoutException("Timed out waiting for Task"); - } - - public static /* synthetic */ void d0(FlexInputViewModel flexInputViewModel, String str, Boolean bool, int i, Object obj) { - int i2 = i & 2; - flexInputViewModel.onInputTextChanged(str, null); - } - - public static boolean d1(byte b2) { - return b2 > -65; - } - - public static String e(int i, int i2, @NullableDecl String str) { - if (i < 0) { - return W("%s (%s) must not be negative", str, Integer.valueOf(i)); - } - if (i2 >= 0) { - return W("%s (%s) must not be greater than size (%s)", str, Integer.valueOf(i), Integer.valueOf(i2)); - } - throw new IllegalArgumentException(c.d.b.a.a.l("negative size: ", i2)); - } - - @NonNull - public static c.o.a.x.c e0(c.o.a.x.c... cVarArr) { - return new c.o.a.x.l(cVarArr, null); - } - - public static int e1(String str) { - if (Log.isLoggable("FirebaseAppIndex", 3) ? true : Log.isLoggable("FirebaseAppIndex", 3)) { - return Log.d("FirebaseAppIndex", str); - } - return 0; - } - - public static ExecutorService f(String str) { - ExecutorService unconfigurableExecutorService = Executors.unconfigurableExecutorService(new ThreadPoolExecutor(1, 1, 0, TimeUnit.MILLISECONDS, new LinkedBlockingQueue(), new s0(str, new AtomicLong(1)), new ThreadPoolExecutor.DiscardPolicy())); - Runtime.getRuntime().addShutdownHook(new Thread(new t0(str, unconfigurableExecutorService, 2, TimeUnit.SECONDS), c.d.b.a.a.u("Crashlytics Shutdown Hook for ", str))); - return unconfigurableExecutorService; - } - - public static int f0(int i) { - if (i >= 200 && i <= 299) { - return 0; - } - if (i >= 300 && i <= 399) { - return 1; - } - if (i >= 400 && i <= 499) { - return 0; - } - if (i >= 500) { - } - return 1; - } - - @NonNull - @Deprecated - public static Task g(@NonNull Executor executor, @NonNull Callable callable) { - c.c.a.a0.d.z(executor, "Executor must not be null"); - c.c.a.a0.d.z(callable, "Callback must not be null"); - b0 b0Var = new b0(); - executor.execute(new d0(b0Var, callable)); - return b0Var; - } - - /* JADX WARNING: Code restructure failed: missing block: B:10:0x0016, code lost: - r2 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:12:0x001c, code lost: - throw new com.google.gson.JsonIOException(r2); - */ - /* JADX WARNING: Code restructure failed: missing block: B:13:0x001d, code lost: - r2 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:15:0x0023, code lost: - throw new com.google.gson.JsonSyntaxException(r2); - */ - /* JADX WARNING: Code restructure failed: missing block: B:20:0x002a, code lost: - return c.i.d.j.a; - */ - /* JADX WARNING: Code restructure failed: missing block: B:22:0x0030, code lost: - throw new com.google.gson.JsonSyntaxException(r2); - */ - /* JADX WARNING: Code restructure failed: missing block: B:6:0x000d, code lost: - r2 = e; - */ - /* JADX WARNING: Code restructure failed: missing block: B:7:0x000f, code lost: - r2 = move-exception; - */ - /* JADX WARNING: Code restructure failed: missing block: B:9:0x0015, code lost: - throw new com.google.gson.JsonSyntaxException(r2); - */ - /* JADX WARNING: Failed to process nested try/catch */ - /* JADX WARNING: Removed duplicated region for block: B:10:0x0016 A[ExcHandler: IOException (r2v5 'e' java.io.IOException A[CUSTOM_DECLARE]), Splitter:B:0:0x0000] */ - /* JADX WARNING: Removed duplicated region for block: B:13:0x001d A[ExcHandler: MalformedJsonException (r2v4 'e' com.google.gson.stream.MalformedJsonException A[CUSTOM_DECLARE]), Splitter:B:0:0x0000] */ - /* JADX WARNING: Removed duplicated region for block: B:19:0x0028 */ - /* JADX WARNING: Removed duplicated region for block: B:21:0x002b */ - /* JADX WARNING: Removed duplicated region for block: B:7:0x000f A[ExcHandler: NumberFormatException (r2v6 'e' java.lang.NumberFormatException A[CUSTOM_DECLARE]), Splitter:B:0:0x0000] */ - public static JsonElement g0(JsonReader jsonReader) throws JsonParseException { - boolean z2; - try { - jsonReader.N(); - z2 = false; - return TypeAdapters.X.read(jsonReader); - } catch (EOFException e2) { - EOFException e3 = e2; - z2 = true; - if (!z2) { - } - } catch (MalformedJsonException e4) { - } catch (IOException e5) { - } catch (NumberFormatException e6) { - } - } - - public static void h(boolean z2) { - if (!z2) { - throw new IllegalArgumentException(); - } - } - - public static int h0(float f2) { - return (int) (f2 + (f2 < 0.0f ? -0.5f : 0.5f)); - } - - public static void i(boolean z2, @NullableDecl Object obj) { - if (!z2) { - throw new IllegalArgumentException(String.valueOf(obj)); - } - } - - public static int i0(int i) { - return (int) (((long) Integer.rotateLeft((int) (((long) i) * -862048943), 15)) * 461845907); - } - - public static void j(boolean z2) { - if (!z2) { - throw new IllegalArgumentException(); - } - } - - public static int j0(@NullableDecl Object obj) { - return i0(obj == null ? 0 : obj.hashCode()); - } - - @CanIgnoreReturnValue - public static int k(int i, int i2) { - String str; - if (i >= 0 && i < i2) { - return i; - } - if (i < 0) { - str = W("%s (%s) must not be negative", "index", Integer.valueOf(i)); - } else if (i2 >= 0) { - str = W("%s (%s) must be less than size (%s)", "index", Integer.valueOf(i), Integer.valueOf(i2)); - } else { - throw new IllegalArgumentException(c.d.b.a.a.l("negative size: ", i2)); - } - throw new IndexOutOfBoundsException(str); - } - - public static int k0(int[] iArr) { - int i = 0; - for (int i2 : iArr) { - i += i2; - } - return i; - } - - @CanIgnoreReturnValue - public static Object l(Object obj, int i) { - if (obj != null) { - return obj; - } - throw new NullPointerException(c.d.b.a.a.l("at index ", i)); - } - - public static int[] l0(Collection collection) { - if (collection instanceof c.i.b.c.a) { - c.i.b.c.a aVar = (c.i.b.c.a) collection; - return Arrays.copyOfRange(aVar.array, aVar.start, aVar.end); - } - Object[] array = collection.toArray(); - int length = array.length; - int[] iArr = new int[length]; - for (int i = 0; i < length; i++) { - Object obj = array[i]; - Objects.requireNonNull(obj); - iArr[i] = ((Number) obj).intValue(); - } - return iArr; - } - - public static void m(Object obj, Object obj2) { - if (obj == null) { - throw new NullPointerException(c.d.b.a.a.t("null key in entry: null=", obj2)); - } else if (obj2 == null) { - throw new NullPointerException("null value in entry: " + obj + "=null"); - } - } - - public static String m0(String str) { - int length = str.length(); - int i = 0; - while (i < length) { - char charAt = str.charAt(i); - if (charAt >= 'A' && charAt <= 'Z') { - char[] charArray = str.toCharArray(); - while (i < length) { - char c2 = charArray[i]; - if (c2 >= 'A' && c2 <= 'Z') { - charArray[i] = (char) (c2 ^ ' '); - } - i++; - } - return String.valueOf(charArray); - } - i++; - } - return str; - } - - @CanIgnoreReturnValue - public static int n(int i, String str) { - if (i >= 0) { - return i; - } - throw new IllegalArgumentException(str + " cannot be negative but was: " + i); - } - - @NonNull - public static c.o.a.n.o.e n0(@NonNull c.o.a.n.o.e... eVarArr) { - return new c.o.a.n.o.j(Arrays.asList(eVarArr)); - } - - @CanIgnoreReturnValue - public static int o(int i, int i2) { - if (i >= 0 && i <= i2) { - return i; - } - throw new IndexOutOfBoundsException(e(i, i2, "index")); - } - - @RecentlyNonNull - @TargetApi(19) - public static boolean o0(@RecentlyNonNull Context context, @RecentlyNonNull int i, @RecentlyNonNull String str) { - c.i.a.f.e.p.a a2 = c.i.a.f.e.p.b.a(context); - Objects.requireNonNull(a2); - try { - AppOpsManager appOpsManager = (AppOpsManager) a2.a.getSystemService("appops"); - if (appOpsManager != null) { - appOpsManager.checkPackage(i, str); - return true; - } - throw new NullPointerException("context.getSystemService(Context.APP_OPS_SERVICE) is null"); - } catch (SecurityException unused) { - return false; - } - } - - public static void p(int i, int i2, int i3) { - if (i < 0 || i2 < i || i2 > i3) { - throw new IndexOutOfBoundsException((i < 0 || i > i3) ? e(i, i3, "start index") : (i2 < 0 || i2 > i3) ? e(i2, i3, "end index") : W("end index (%s) must not be less than start index (%s)", Integer.valueOf(i2), Integer.valueOf(i))); - } - } - - @NonNull - public static Task p0(@Nullable Collection> collection) { - if (collection == null || collection.isEmpty()) { - return F(null); - } - Iterator> it = collection.iterator(); - while (it.hasNext()) { - Objects.requireNonNull((Task) it.next(), "null tasks are not accepted"); - } - b0 b0Var = new b0(); - c.i.a.f.n.j jVar = new c.i.a.f.n.j(collection.size(), b0Var); - Iterator> it2 = collection.iterator(); - while (it2.hasNext()) { - T0((Task) it2.next(), jVar); - } - return b0Var; - } - - public static void q(boolean z2) { - if (!z2) { - throw new IllegalStateException("no calls to next() since the last call to remove()"); - } - } - - @NonNull - public static c.o.a.x.c q0(@NonNull j jVar) { - return new c.o.a.x.k(jVar, null); - } - - public static void r(boolean z2, @NullableDecl String str, int i) { - if (!z2) { - throw new IllegalStateException(W(str, Integer.valueOf(i))); - } - } - - public static Class r0(Class cls) { - return cls == Integer.TYPE ? Integer.class : cls == Float.TYPE ? Float.class : cls == Byte.TYPE ? Byte.class : cls == Double.TYPE ? Double.class : cls == Long.TYPE ? Long.class : cls == Character.TYPE ? Character.class : cls == Boolean.TYPE ? Boolean.class : cls == Short.TYPE ? Short.class : cls == Void.TYPE ? Void.class : cls; - } - - public static void s(boolean z2, @NullableDecl String str, @NullableDecl Object obj) { - if (!z2) { - throw new IllegalStateException(W(str, obj)); - } - } - - public static int s0(int i, byte[] bArr, int i2, int i3, s3 s3Var) throws zzij { - if ((i >>> 3) != 0) { - int i4 = i & 7; - if (i4 == 0) { - return X0(bArr, i2, s3Var); - } - if (i4 == 1) { - return i2 + 8; - } - if (i4 == 2) { - return A0(bArr, i2, s3Var) + s3Var.a; - } - if (i4 == 3) { - int i5 = (i & -8) | 4; - int i6 = 0; - while (i2 < i3) { - i2 = A0(bArr, i2, s3Var); - i6 = s3Var.a; - if (i6 == i5) { - break; - } - i2 = s0(i6, bArr, i2, i3, s3Var); - } - if (i2 <= i3 && i6 == i5) { - return i2; - } - throw zzij.d(); - } else if (i4 == 5) { - return i2 + 4; - } else { - throw zzij.c(); - } - } else { - throw zzij.c(); - } - } - - public static int t(long j) { - int i = (int) j; - if (((long) i) == j) { - return i; - } - throw new IllegalArgumentException(W("Out of range: %s", Long.valueOf(j))); - } - - public static int t0(int i, byte[] bArr, int i2, int i3, b5 b5Var, s3 s3Var) { - x4 x4Var = (x4) b5Var; - int A0 = A0(bArr, i2, s3Var); - x4Var.g(s3Var.a); - while (A0 < i3) { - int A02 = A0(bArr, A0, s3Var); - if (i != s3Var.a) { - break; - } - A0 = A0(bArr, A02, s3Var); - x4Var.g(s3Var.a); - } - return A0; - } - - public static int u(int i, int i2) { - int i3 = i - i2; - if (i3 > i2) { - i3 = i2; - i2 = i3; - } - int i4 = 1; - int i5 = 1; - while (i > i2) { - i4 *= i; - if (i5 <= i3) { - i4 /= i5; - i5++; - } - i--; - } - while (i5 <= i3) { - i4 /= i5; - i5++; - } - return i4; - } - - public static int u0(int i, byte[] bArr, int i2, int i3, c7 c7Var, s3 s3Var) throws zzij { - if ((i >>> 3) != 0) { - int i4 = i & 7; - if (i4 == 0) { - int X0 = X0(bArr, i2, s3Var); - c7Var.a(i, Long.valueOf(s3Var.b)); - return X0; - } else if (i4 == 1) { - c7Var.a(i, Long.valueOf(Y0(bArr, i2))); - return i2 + 8; - } else if (i4 == 2) { - int A0 = A0(bArr, i2, s3Var); - int i5 = s3Var.a; - if (i5 < 0) { - throw zzij.b(); - } else if (i5 <= bArr.length - A0) { - if (i5 == 0) { - c7Var.a(i, t3.i); - } else { - c7Var.a(i, t3.h(bArr, A0, i5)); - } - return A0 + i5; - } else { - throw zzij.a(); - } - } else if (i4 == 3) { - c7 c2 = c7.c(); - int i6 = (i & -8) | 4; - int i7 = 0; - while (true) { - if (i2 >= i3) { - break; - } - int A02 = A0(bArr, i2, s3Var); - int i8 = s3Var.a; - if (i8 == i6) { - i7 = i8; - i2 = A02; - break; - } - i7 = i8; - i2 = u0(i8, bArr, A02, i3, c2, s3Var); - } - if (i2 > i3 || i7 != i6) { - throw zzij.d(); - } - c7Var.a(i, c2); - return i2; - } else if (i4 == 5) { - c7Var.a(i, Integer.valueOf(z0(bArr, i2))); - return i2 + 4; - } else { - throw zzij.c(); - } - } else { - throw zzij.c(); - } - } - - @NonNull - public static Rect v(@NonNull c.o.a.x.b bVar, @NonNull c.o.a.x.a aVar) { - int i; - int i2 = bVar.i; - int i3 = bVar.j; - int i4 = 0; - if (Math.abs(aVar.i() - c.o.a.x.a.f(bVar.i, bVar.j).i()) <= 5.0E-4f) { - return new Rect(0, 0, i2, i3); - } - if (c.o.a.x.a.f(i2, i3).i() > aVar.i()) { - int round = Math.round(aVar.i() * ((float) i3)); - i2 = round; - i4 = Math.round(((float) (i2 - round)) / 2.0f); - i = 0; - } else { - int round2 = Math.round(((float) i2) / aVar.i()); - i = Math.round(((float) (i3 - round2)) / 2.0f); - i3 = round2; - } - return new Rect(i4, i, i2 + i4, i3 + i); - } - - public static int v0(int i, byte[] bArr, int i2, s3 s3Var) { - int i3 = i & 127; - int i4 = i2 + 1; - byte b2 = bArr[i2]; - if (b2 >= 0) { - s3Var.a = i3 | (b2 << 7); - return i4; - } - int i5 = i3 | ((b2 & Byte.MAX_VALUE) << 7); - int i6 = i4 + 1; - byte b3 = bArr[i4]; - if (b3 >= 0) { - s3Var.a = i5 | (b3 << 14); - return i6; - } - int i7 = i5 | ((b3 & Byte.MAX_VALUE) << 14); - int i8 = i6 + 1; - byte b4 = bArr[i6]; - if (b4 >= 0) { - s3Var.a = i7 | (b4 << 21); - return i8; - } - int i9 = i7 | ((b4 & Byte.MAX_VALUE) << 21); - int i10 = i8 + 1; - byte b5 = bArr[i8]; - if (b5 >= 0) { - s3Var.a = i9 | (b5 << 28); - return i10; - } - int i11 = i9 | ((b5 & Byte.MAX_VALUE) << 28); - while (true) { - int i12 = i10 + 1; - if (bArr[i10] >= 0) { - s3Var.a = i11; - return i12; - } - i10 = i12; - } - } - - public static c.i.c.l.d w(String str, String str2) { - c.i.c.x.a aVar = new c.i.c.x.a(str, str2); - d.b a2 = c.i.c.l.d.a(e.class); - a2.d = 1; - a2.c(new c.i.c.l.c(aVar)); - return a2.b(); - } - - public static int w0(q6 q6Var, int i, byte[] bArr, int i2, int i3, b5 b5Var, s3 s3Var) throws IOException { - int y0 = y0(q6Var, bArr, i2, i3, s3Var); - b5Var.add(s3Var.f1204c); - while (y0 < i3) { - int A0 = A0(bArr, y0, s3Var); - if (i != s3Var.a) { - break; - } - y0 = y0(q6Var, bArr, A0, i3, s3Var); - b5Var.add(s3Var.f1204c); - } - return y0; - } - - public static float x(float f2, float f3, float f4, float f5) { - float f6 = f2 - f4; - float f7 = f3 - f5; - return (float) Math.sqrt((double) ((f7 * f7) + (f6 * f6))); - } - - public static int x0(q6 q6Var, byte[] bArr, int i, int i2, int i3, s3 s3Var) throws IOException { - e6 e6Var = (e6) q6Var; - Object b2 = e6Var.m.b(e6Var.g); - int m = e6Var.m(b2, bArr, i, i2, i3, s3Var); - e6Var.d(b2); - s3Var.f1204c = b2; - return m; - } - - public static float y(int i, int i2, int i3, int i4) { - int i5 = i - i3; - int i6 = i2 - i4; - return (float) Math.sqrt((double) ((i6 * i6) + (i5 * i5))); - } - - public static int y0(q6 q6Var, byte[] bArr, int i, int i2, s3 s3Var) throws IOException { - int i3 = i + 1; - byte b2 = bArr[i]; - byte b3 = b2; - if (b2 < 0) { - i3 = v0(b2, bArr, i3, s3Var); - b3 = s3Var.a; - } - if (b3 < 0 || b3 > i2 - i3) { - throw zzij.a(); - } - Object a2 = q6Var.a(); - int i4 = (b3 == 1 ? 1 : 0) + i3; - q6Var.h(a2, bArr, i3, i4, s3Var); - q6Var.d(a2); - s3Var.f1204c = a2; - return i4; - } - - public static int z(Context context, float f2) { - float applyDimension = TypedValue.applyDimension(1, f2, context.getResources().getDisplayMetrics()); - int i = (int) (((double) applyDimension) + 0.5d); - if (i != 0 || applyDimension <= 0.0f) { - return i; - } - return 1; - } - - public static int z0(byte[] bArr, int i) { - return ((bArr[i + 3] & 255) << 24) | (bArr[i] & 255) | ((bArr[i + 1] & 255) << 8) | ((bArr[i + 2] & 255) << 16); + public long a() { + return System.currentTimeMillis(); } } diff --git a/app/src/main/java/c/i/a/f/e/o/d.java b/app/src/main/java/c/i/a/f/e/o/d.java index 59182b1003..72bf2aad73 100644 --- a/app/src/main/java/c/i/a/f/e/o/d.java +++ b/app/src/main/java/c/i/a/f/e/o/d.java @@ -2,11 +2,21 @@ package c.i.a.f.e.o; import androidx.annotation.RecentlyNonNull; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ -public class d implements b { - public static final d a = new d(); +public class d { + public static final char[] a = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'}; + public static final char[] b = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}; @RecentlyNonNull - public long a() { - return System.currentTimeMillis(); + public static String a(@RecentlyNonNull byte[] bArr, @RecentlyNonNull boolean z2) { + int length = bArr.length; + StringBuilder sb = new StringBuilder(length << 1); + int i = 0; + while (i < length && (!z2 || i != length - 1 || (bArr[i] & 255) != 0)) { + char[] cArr = a; + sb.append(cArr[(bArr[i] & 240) >>> 4]); + sb.append(cArr[bArr[i] & 15]); + i++; + } + return sb.toString(); } } diff --git a/app/src/main/java/c/i/a/f/e/o/e.java b/app/src/main/java/c/i/a/f/e/o/e.java index f2176e23da..750974e311 100644 --- a/app/src/main/java/c/i/a/f/e/o/e.java +++ b/app/src/main/java/c/i/a/f/e/o/e.java @@ -1,22 +1,54 @@ package c.i.a.f.e.o; import androidx.annotation.RecentlyNonNull; +import java.io.UnsupportedEncodingException; +import java.net.URI; +import java.net.URLDecoder; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; +import java.util.Scanner; +import java.util.regex.Pattern; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ public class e { - public static final char[] a = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'}; - public static final char[] b = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}; + static { + Pattern.compile("^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$"); + Pattern.compile("^(?:[0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$"); + Pattern.compile("^((?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?)::((?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?)$"); + } + /* JADX DEBUG: Failed to insert an additional move for type inference into block B:29:0x0063 */ + /* JADX WARN: Multi-variable type inference failed */ + /* JADX WARNING: Unknown variable types count: 1 */ @RecentlyNonNull - public static String a(@RecentlyNonNull byte[] bArr, @RecentlyNonNull boolean z2) { - int length = bArr.length; - StringBuilder sb = new StringBuilder(length << 1); - int i = 0; - while (i < length && (!z2 || i != length - 1 || (bArr[i] & 255) != 0)) { - char[] cArr = a; - sb.append(cArr[(bArr[i] & 240) >>> 4]); - sb.append(cArr[bArr[i] & 15]); - i++; + public static Map a(@RecentlyNonNull URI uri, @RecentlyNonNull String str) { + ?? emptyMap = Collections.emptyMap(); + String rawQuery = uri.getRawQuery(); + if (rawQuery != null && rawQuery.length() > 0) { + emptyMap = new HashMap(); + Scanner scanner = new Scanner(rawQuery); + scanner.useDelimiter("&"); + while (scanner.hasNext()) { + String[] split = scanner.next().split("="); + if (split.length == 0 || split.length > 2) { + throw new IllegalArgumentException("bad parameter"); + } + try { + String decode = URLDecoder.decode(split[0], str); + String str2 = null; + if (split.length == 2) { + try { + str2 = URLDecoder.decode(split[1], str); + } catch (UnsupportedEncodingException e) { + throw new IllegalArgumentException(e); + } + } + emptyMap.put(decode, str2); + } catch (UnsupportedEncodingException e2) { + throw new IllegalArgumentException(e2); + } + } } - return sb.toString(); + return emptyMap; } } diff --git a/app/src/main/java/c/i/a/f/e/o/f.java b/app/src/main/java/c/i/a/f/e/o/f.java index d72b946e07..a88e37a9ac 100644 --- a/app/src/main/java/c/i/a/f/e/o/f.java +++ b/app/src/main/java/c/i/a/f/e/o/f.java @@ -1,54 +1,2816 @@ package c.i.a.f.e.o; +import android.annotation.TargetApi; +import android.app.AppOpsManager; +import android.content.Context; +import android.content.pm.PackageInfo; +import android.content.pm.PackageManager; +import android.content.res.Resources; +import android.database.Cursor; +import android.database.sqlite.SQLiteDatabase; +import android.database.sqlite.SQLiteException; +import android.graphics.Rect; +import android.graphics.RectF; +import android.hardware.Camera; +import android.opengl.EGL14; +import android.opengl.EGLConfig; +import android.opengl.EGLContext; +import android.opengl.EGLDisplay; +import android.opengl.EGLSurface; +import android.opengl.GLES20; +import android.os.Binder; +import android.os.Build; +import android.os.Bundle; +import android.text.TextUtils; +import android.util.Log; +import android.util.TypedValue; +import android.view.Display; +import android.view.WindowManager; +import androidx.annotation.DimenRes; +import androidx.annotation.NonNull; +import androidx.annotation.Nullable; import androidx.annotation.RecentlyNonNull; -import java.io.UnsupportedEncodingException; -import java.net.URI; -import java.net.URLDecoder; +import androidx.annotation.WorkerThread; +import androidx.media.AudioAttributesCompat; +import androidx.recyclerview.widget.RecyclerView; +import c.i.a.f.h.l.a3; +import c.i.a.f.h.l.b5; +import c.i.a.f.h.l.b7; +import c.i.a.f.h.l.c3; +import c.i.a.f.h.l.c6; +import c.i.a.f.h.l.c7; +import c.i.a.f.h.l.d2; +import c.i.a.f.h.l.e6; +import c.i.a.f.h.l.k7; +import c.i.a.f.h.l.q6; +import c.i.a.f.h.l.s3; +import c.i.a.f.h.l.t3; +import c.i.a.f.h.l.u4; +import c.i.a.f.h.l.w4; +import c.i.a.f.h.l.x4; +import c.i.a.f.h.l.z2; +import c.i.a.f.h.l.z3; +import c.i.a.f.i.b.ga; +import c.i.a.f.i.b.q3; +import c.i.a.f.n.b0; +import c.i.a.f.n.h; +import c.i.b.b.h; +import c.i.b.b.n0; +import c.i.c.l.d; +import c.i.c.l.o; +import c.i.c.m.d.k.s0; +import c.i.c.m.d.k.t0; +import c.o.a.x.i; +import c.o.a.x.j; +import c.o.a.x.l; +import com.discord.models.domain.ModelAuditLogEntry; +import com.discord.widgets.chat.input.MentionUtilsKt; +import com.google.android.gms.common.R; +import com.google.android.gms.common.api.Status; +import com.google.android.gms.internal.measurement.zzij; +import com.google.android.gms.tasks.Task; +import com.google.errorprone.annotations.CanIgnoreReturnValue; +import com.google.firebase.appindexing.FirebaseAppIndexingException; +import com.google.firebase.appindexing.FirebaseAppIndexingInvalidArgumentException; +import com.google.firebase.appindexing.FirebaseAppIndexingTooManyArgumentsException; +import com.google.firebase.appindexing.zza; +import com.google.firebase.appindexing.zzb; +import com.google.firebase.appindexing.zzc; +import com.google.firebase.appindexing.zzd; +import com.google.firebase.appindexing.zze; +import com.google.firebase.appindexing.zzf; +import com.google.firebase.appindexing.zzg; +import com.google.firebase.appindexing.zzh; +import com.google.gson.JsonElement; +import com.google.gson.JsonParseException; +import com.google.gson.internal.bind.TypeAdapters; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.MalformedJsonException; +import com.lytefast.flexinput.viewmodel.FlexInputViewModel; +import d0.g0.s; +import d0.g0.t; +import d0.k; +import d0.w.d; +import d0.w.i.a.g; +import d0.z.d.e0; +import d0.z.d.m; +import f0.e0.f.d; +import g0.n; +import g0.p; +import g0.u; +import g0.w; +import g0.x; +import java.io.EOFException; +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.io.Serializable; +import java.lang.reflect.Method; +import java.lang.reflect.Modifier; +import java.net.IDN; +import java.net.InetAddress; +import java.net.Socket; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; +import java.nio.FloatBuffer; +import java.text.DateFormat; +import java.text.SimpleDateFormat; +import java.util.Arrays; +import java.util.Calendar; +import java.util.Collection; import java.util.Collections; +import java.util.Date; import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.List; +import java.util.Locale; import java.util.Map; -import java.util.Scanner; -import java.util.regex.Pattern; +import java.util.Objects; +import java.util.Set; +import java.util.TreeSet; +import java.util.concurrent.Callable; +import java.util.concurrent.CancellationException; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.Executor; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import java.util.concurrent.LinkedBlockingQueue; +import java.util.concurrent.ThreadPoolExecutor; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; +import java.util.concurrent.atomic.AtomicLong; +import java.util.concurrent.atomic.AtomicReference; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.zip.GZIPOutputStream; +import kotlin.TypeCastException; +import kotlin.Unit; +import kotlin.coroutines.Continuation; +import kotlin.coroutines.CoroutineContext; +import kotlin.jvm.functions.Function1; +import kotlin.jvm.functions.Function2; +import kotlinx.coroutines.CoroutineExceptionHandler; +import kotlinx.coroutines.CoroutineScope; +import kotlinx.coroutines.CoroutineStart; +import kotlinx.coroutines.Job; +import kotlinx.coroutines.internal.UndeliveredElementException; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; +import s.a.a.r; +import s.a.a0; +import s.a.d; +import s.a.d0; +import s.a.e1; +import s.a.f0; +import s.a.g0; +import s.a.h0; +import s.a.h1; +import s.a.i0; +import s.a.i1; +import s.a.j1; +import s.a.k; +import s.a.l0; +import s.a.q1; +import s.a.r1; +import s.a.v; +import s.a.w1; +import s.a.y; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ -public class f { - static { - Pattern.compile("^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$"); - Pattern.compile("^(?:[0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$"); - Pattern.compile("^((?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?)::((?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?)$"); +public final class f { + public static Boolean a; + public static Context b; + @Nullable + + /* renamed from: c reason: collision with root package name */ + public static Boolean f1104c; + public static ga d; + + /* compiled from: SizeSelectors */ + public static class a implements j { + public final /* synthetic */ int a; + + public a(int i) { + this.a = i; + } + + @Override // c.o.a.x.j + public boolean a(@NonNull c.o.a.x.b bVar) { + return bVar.i <= this.a; + } } - /* JADX DEBUG: Failed to insert an additional move for type inference into block B:29:0x0063 */ - /* JADX WARN: Multi-variable type inference failed */ - /* JADX WARNING: Unknown variable types count: 1 */ - @RecentlyNonNull - public static Map a(@RecentlyNonNull URI uri, @RecentlyNonNull String str) { - ?? emptyMap = Collections.emptyMap(); - String rawQuery = uri.getRawQuery(); - if (rawQuery != null && rawQuery.length() > 0) { - emptyMap = new HashMap(); - Scanner scanner = new Scanner(rawQuery); - scanner.useDelimiter("&"); - while (scanner.hasNext()) { - String[] split = scanner.next().split("="); - if (split.length == 0 || split.length > 2) { - throw new IllegalArgumentException("bad parameter"); + /* compiled from: SizeSelectors */ + public static class b implements j { + public final /* synthetic */ int a; + + public b(int i) { + this.a = i; + } + + @Override // c.o.a.x.j + public boolean a(@NonNull c.o.a.x.b bVar) { + return bVar.i >= this.a; + } + } + + /* compiled from: SizeSelectors */ + public static class c implements j { + public final /* synthetic */ int a; + + public c(int i) { + this.a = i; + } + + @Override // c.o.a.x.j + public boolean a(@NonNull c.o.a.x.b bVar) { + return bVar.j <= this.a; + } + } + + /* compiled from: SizeSelectors */ + public static class d implements j { + public final /* synthetic */ int a; + + public d(int i) { + this.a = i; + } + + @Override // c.o.a.x.j + public boolean a(@NonNull c.o.a.x.b bVar) { + return bVar.j >= this.a; + } + } + + /* compiled from: Await.kt */ + @d0.w.i.a.e(c = "kotlinx.coroutines.AwaitKt", f = "Await.kt", l = {26}, m = "awaitAll") + public static final class e extends d0.w.i.a.d { + public Object L$0; + public int label; + public /* synthetic */ Object result; + + public e(Continuation continuation) { + super(continuation); + } + + @Override // d0.w.i.a.a + public final Object invokeSuspend(Object obj) { + this.result = obj; + this.label |= Integer.MIN_VALUE; + return f.i(null, this); + } + } + + public static void A(boolean z2, @NullableDecl String str, int i) { + if (!z2) { + throw new IllegalStateException(y0(str, Integer.valueOf(i))); + } + } + + @NonNull + public static c.o.a.x.c A0(int i) { + return l1(new c(i)); + } + + public static V A1(d2 d2Var) { + long clearCallingIdentity; + try { + return d2Var.a(); + } catch (SecurityException unused) { + clearCallingIdentity = Binder.clearCallingIdentity(); + V a2 = d2Var.a(); + Binder.restoreCallingIdentity(clearCallingIdentity); + return a2; + } catch (Throwable th) { + Binder.restoreCallingIdentity(clearCallingIdentity); + throw th; + } + } + + public static void B(boolean z2, @NullableDecl String str, @NullableDecl Object obj) { + if (!z2) { + throw new IllegalStateException(y0(str, obj)); + } + } + + @NonNull + public static c.o.a.x.c B0(int i) { + return l1(new a(i)); + } + + public static TResult B1(@NonNull Task task) throws ExecutionException { + if (task.p()) { + return task.l(); + } + if (task.n()) { + throw new CancellationException("Task is already canceled"); + } + throw new ExecutionException(task.k()); + } + + public static int C(long j) { + int i = (int) j; + if (((long) i) == j) { + return i; + } + throw new IllegalArgumentException(y0("Out of range: %s", Long.valueOf(j))); + } + + @NonNull + public static c.o.a.x.c C0(int i) { + return l1(new d(i)); + } + + public static String C1(Context context, String str) { + try { + Objects.requireNonNull(context, "null reference"); + Resources resources = context.getResources(); + int identifier = resources.getIdentifier(str, "string", resources.getResourcePackageName(R.a.common_google_play_services_unknown_issue)); + if (identifier == 0) { + return null; + } + return resources.getString(identifier); + } catch (Resources.NotFoundException unused) { + } + } + + public static int D(int i, int i2) { + int i3 = i - i2; + if (i3 > i2) { + i3 = i2; + i2 = i3; + } + int i4 = 1; + int i5 = 1; + while (i > i2) { + i4 *= i; + if (i5 <= i3) { + i4 /= i5; + i5++; + } + i--; + } + while (i5 <= i3) { + i4 /= i5; + i5++; + } + return i4; + } + + @NonNull + public static c.o.a.x.c D0(int i) { + return l1(new b(i)); + } + + public static String D1(t3 t3Var) { + b7 b7Var = new b7(t3Var); + StringBuilder sb = new StringBuilder(t3Var.d()); + for (int i = 0; i < b7Var.a.d(); i++) { + byte c2 = b7Var.a.c(i); + if (c2 == 34) { + sb.append("\\\""); + } else if (c2 == 39) { + sb.append("\\'"); + } else if (c2 != 92) { + switch (c2) { + case 7: + sb.append("\\a"); + continue; + case 8: + sb.append("\\b"); + continue; + case 9: + sb.append("\\t"); + continue; + case 10: + sb.append("\\n"); + continue; + case 11: + sb.append("\\v"); + continue; + case 12: + sb.append("\\f"); + continue; + case 13: + sb.append("\\r"); + continue; + default: + if (c2 < 32 || c2 > 126) { + sb.append('\\'); + sb.append((char) (((c2 >>> 6) & 3) + 48)); + sb.append((char) (((c2 >>> 3) & 7) + 48)); + sb.append((char) ((c2 & 7) + 48)); + break; + } else { + sb.append((char) c2); + continue; + } } - try { - String decode = URLDecoder.decode(split[0], str); - String str2 = null; - if (split.length == 2) { - try { - str2 = URLDecoder.decode(split[1], str); - } catch (UnsupportedEncodingException e) { - throw new IllegalArgumentException(e); + } else { + sb.append("\\\\"); + } + } + return sb.toString(); + } + + public static final byte[] E(String str) { + int i; + int i2; + char charAt; + m.checkParameterIsNotNull(str, "$this$commonAsUtf8ToByteArray"); + byte[] bArr = new byte[(str.length() * 4)]; + int length = str.length(); + int i3 = 0; + while (i3 < length) { + char charAt2 = str.charAt(i3); + if (charAt2 >= 128) { + int length2 = str.length(); + int i4 = i3; + while (i3 < length2) { + char charAt3 = str.charAt(i3); + if (charAt3 < 128) { + int i5 = i4 + 1; + bArr[i4] = (byte) charAt3; + i3++; + while (i3 < length2 && str.charAt(i3) < 128) { + bArr[i5] = (byte) str.charAt(i3); + i3++; + i5++; + } + i4 = i5; + } else { + if (charAt3 < 2048) { + int i6 = i4 + 1; + bArr[i4] = (byte) ((charAt3 >> 6) | 192); + i = i6 + 1; + bArr[i6] = (byte) ((charAt3 & '?') | 128); + } else if (55296 > charAt3 || 57343 < charAt3) { + int i7 = i4 + 1; + bArr[i4] = (byte) ((charAt3 >> '\f') | 224); + int i8 = i7 + 1; + bArr[i7] = (byte) (((charAt3 >> 6) & 63) | 128); + i = i8 + 1; + bArr[i8] = (byte) ((charAt3 & '?') | 128); + } else if (charAt3 > 56319 || length2 <= (i2 = i3 + 1) || 56320 > (charAt = str.charAt(i2)) || 57343 < charAt) { + i = i4 + 1; + bArr[i4] = 63; + } else { + int charAt4 = (str.charAt(i2) + (charAt3 << '\n')) - 56613888; + int i9 = i4 + 1; + bArr[i4] = (byte) ((charAt4 >> 18) | 240); + int i10 = i9 + 1; + bArr[i9] = (byte) (((charAt4 >> 12) & 63) | 128); + int i11 = i10 + 1; + bArr[i10] = (byte) (((charAt4 >> 6) & 63) | 128); + i = i11 + 1; + bArr[i11] = (byte) ((charAt4 & 63) | 128); + i3 += 2; + i4 = i; + } + i3++; + i4 = i; + } + } + byte[] copyOf = Arrays.copyOf(bArr, i4); + m.checkExpressionValueIsNotNull(copyOf, "java.util.Arrays.copyOf(this, newSize)"); + return copyOf; + } + bArr[i3] = (byte) charAt2; + i3++; + } + byte[] copyOf2 = Arrays.copyOf(bArr, str.length()); + m.checkExpressionValueIsNotNull(copyOf2, "java.util.Arrays.copyOf(this, newSize)"); + return copyOf2; + } + + public static /* synthetic */ void E0(FlexInputViewModel flexInputViewModel, boolean z2, int i, Object obj) { + if ((i & 1) != 0) { + z2 = true; + } + flexInputViewModel.onContentDialogDismissed(z2); + } + + public static final String E1(String str) { + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < str.length(); i++) { + char charAt = str.charAt(i); + if (Character.isUpperCase(charAt)) { + sb.append("_"); + } + sb.append(Character.toLowerCase(charAt)); + } + return sb.toString(); + } + + @NonNull + public static Rect F(@NonNull c.o.a.x.b bVar, @NonNull c.o.a.x.a aVar) { + int i; + int i2 = bVar.i; + int i3 = bVar.j; + int i4 = 0; + if (Math.abs(aVar.i() - c.o.a.x.a.f(bVar.i, bVar.j).i()) <= 5.0E-4f) { + return new Rect(0, 0, i2, i3); + } + if (c.o.a.x.a.f(i2, i3).i() > aVar.i()) { + int round = Math.round(aVar.i() * ((float) i3)); + i2 = round; + i4 = Math.round(((float) (i2 - round)) / 2.0f); + i = 0; + } else { + int round2 = Math.round(((float) i2) / aVar.i()); + i = Math.round(((float) (i3 - round2)) / 2.0f); + i3 = round2; + } + return new Rect(i4, i, i2 + i4, i3 + i); + } + + public static /* synthetic */ void F0(FlexInputViewModel flexInputViewModel, String str, Boolean bool, int i, Object obj) { + int i2 = i & 2; + flexInputViewModel.onInputTextChanged(str, null); + } + + @Nullable + public static String F1(String str, String[] strArr, String[] strArr2) { + int min = Math.min(strArr.length, strArr2.length); + for (int i = 0; i < min; i++) { + String str2 = strArr[i]; + if ((str == null && str2 == null) ? true : str == null ? false : str.equals(str2)) { + return strArr2[i]; + } + } + return null; + } + + public static c.i.c.l.d G(String str, String str2) { + c.i.c.x.a aVar = new c.i.c.x.a(str, str2); + d.b a2 = c.i.c.l.d.a(c.i.c.x.e.class); + a2.d = 1; + a2.c(new c.i.c.l.c(aVar)); + return a2.b(); + } + + @NonNull + public static c.o.a.x.c G0(c.o.a.x.c... cVarArr) { + return new l(cVarArr, null); + } + + @WorkerThread + public static Set G1(SQLiteDatabase sQLiteDatabase, String str) { + HashSet hashSet = new HashSet(); + Cursor rawQuery = sQLiteDatabase.rawQuery(c.d.b.a.a.j(c.d.b.a.a.b(str, 22), "SELECT * FROM ", str, " LIMIT 0"), null); + try { + Collections.addAll(hashSet, rawQuery.getColumnNames()); + return hashSet; + } finally { + rawQuery.close(); + } + } + + /* JADX WARNING: Code restructure failed: missing block: B:40:0x00a0, code lost: + if ((r2 - r15) != 0) goto L_0x00a3; + */ + /* JADX WARNING: Code restructure failed: missing block: B:61:0x00ea, code lost: + return null; + */ + public static final InetAddress H(String str, int i, int i2) { + boolean z2; + int i3; + int i4; + byte[] bArr = new byte[16]; + int i5 = i; + int i6 = 0; + int i7 = -1; + int i8 = -1; + while (true) { + if (i5 >= i2) { + break; + } else if (i6 == 16) { + return null; + } else { + int i9 = i5 + 2; + if (i9 > i2 || !t.startsWith$default(str, "::", i5, false, 4, null)) { + if (i6 != 0) { + if (t.startsWith$default(str, ":", i5, false, 4, null)) { + i5++; + } else if (!t.startsWith$default(str, ".", i5, false, 4, null)) { + return null; + } else { + int i10 = i6 - 2; + int i11 = i10; + loop1: + while (true) { + if (i8 < i2) { + if (i11 == 16) { + break; + } + if (i11 != i10) { + if (str.charAt(i8) != '.') { + break; + } + i8++; + } + i3 = i8; + i4 = 0; + while (true) { + if (i3 < i2) { + char charAt = str.charAt(i3); + if (charAt >= '0' && charAt <= '9') { + if ((i4 == 0 && i8 != i3) || (i4 = ((i4 * 10) + charAt) - 48) > 255) { + break loop1; + } + i3++; + } else { + break; + } + } else { + break; + } + } + } else if (i11 == i10 + 4) { + z2 = true; + } + bArr[i11] = (byte) i4; + i8 = i3; + i11++; + } + z2 = false; + if (!z2) { + return null; + } + i6 += 2; } } - emptyMap.put(decode, str2); - } catch (UnsupportedEncodingException e2) { - throw new IllegalArgumentException(e2); + i8 = i5; + } else if (i7 != -1) { + return null; + } else { + i6 += 2; + if (i9 == i2) { + i7 = i6; + break; + } + i8 = i9; + i7 = i6; + } + i5 = i8; + int i12 = 0; + while (i5 < i2) { + int r = f0.e0.c.r(str.charAt(i5)); + if (r == -1) { + break; + } + i12 = (i12 << 4) + r; + i5++; + } + int i13 = i5 - i8; + if (i13 == 0 || i13 > 4) { + break; + } + int i14 = i6 + 1; + bArr[i6] = (byte) ((i12 >>> 8) & 255); + i6 = i14 + 1; + bArr[i14] = (byte) (i12 & 255); + } + } + if (i6 != 16) { + if (i7 == -1) { + return null; + } + int i15 = i6 - i7; + System.arraycopy(bArr, i7, bArr, 16 - i15, i15); + Arrays.fill(bArr, i7, (16 - i6) + i7, (byte) 0); + } + return InetAddress.getByAddress(bArr); + } + + public static int H0(int i) { + if (i >= 200 && i <= 299) { + return 0; + } + if (i >= 300 && i <= 399) { + return 1; + } + if (i >= 400 && i <= 499) { + return 0; + } + if (i >= 500) { + } + return 1; + } + + public static void H1(byte b2, byte b3, byte b4, byte b5, char[] cArr, int i) throws zzij { + if (!Y1(b3)) { + if ((((b3 + 112) + (b2 << 28)) >> 30) == 0 && !Y1(b4) && !Y1(b5)) { + int i2 = ((b2 & 7) << 18) | ((b3 & 63) << 12) | ((b4 & 63) << 6) | (b5 & 63); + cArr[i] = (char) ((i2 >>> 10) + 55232); + cArr[i + 1] = (char) ((i2 & AudioAttributesCompat.FLAG_ALL) + 56320); + return; + } + } + throw zzij.e(); + } + + public static final Object I(long j, Continuation continuation) { + if (j <= 0) { + return Unit.a; + } + k kVar = new k(d0.w.h.b.intercepted(continuation), 1); + kVar.A(); + if (j < RecyclerView.FOREVER_NS) { + Z(kVar.n).b(j, kVar); + } + Object u = kVar.u(); + if (u == d0.w.h.c.getCOROUTINE_SUSPENDED()) { + g.probeCoroutineSuspended(continuation); + } + return u; + } + + /* JADX WARNING: Code restructure failed: missing block: B:10:0x0016, code lost: + r2 = move-exception; + */ + /* JADX WARNING: Code restructure failed: missing block: B:12:0x001c, code lost: + throw new com.google.gson.JsonIOException(r2); + */ + /* JADX WARNING: Code restructure failed: missing block: B:13:0x001d, code lost: + r2 = move-exception; + */ + /* JADX WARNING: Code restructure failed: missing block: B:15:0x0023, code lost: + throw new com.google.gson.JsonSyntaxException(r2); + */ + /* JADX WARNING: Code restructure failed: missing block: B:20:0x002a, code lost: + return c.i.d.j.a; + */ + /* JADX WARNING: Code restructure failed: missing block: B:22:0x0030, code lost: + throw new com.google.gson.JsonSyntaxException(r2); + */ + /* JADX WARNING: Code restructure failed: missing block: B:6:0x000d, code lost: + r2 = e; + */ + /* JADX WARNING: Code restructure failed: missing block: B:7:0x000f, code lost: + r2 = move-exception; + */ + /* JADX WARNING: Code restructure failed: missing block: B:9:0x0015, code lost: + throw new com.google.gson.JsonSyntaxException(r2); + */ + /* JADX WARNING: Failed to process nested try/catch */ + /* JADX WARNING: Removed duplicated region for block: B:10:0x0016 A[ExcHandler: IOException (r2v5 'e' java.io.IOException A[CUSTOM_DECLARE]), Splitter:B:0:0x0000] */ + /* JADX WARNING: Removed duplicated region for block: B:13:0x001d A[ExcHandler: MalformedJsonException (r2v4 'e' com.google.gson.stream.MalformedJsonException A[CUSTOM_DECLARE]), Splitter:B:0:0x0000] */ + /* JADX WARNING: Removed duplicated region for block: B:19:0x0028 */ + /* JADX WARNING: Removed duplicated region for block: B:21:0x002b */ + /* JADX WARNING: Removed duplicated region for block: B:7:0x000f A[ExcHandler: NumberFormatException (r2v6 'e' java.lang.NumberFormatException A[CUSTOM_DECLARE]), Splitter:B:0:0x0000] */ + public static JsonElement I0(JsonReader jsonReader) throws JsonParseException { + boolean z2; + try { + jsonReader.N(); + z2 = false; + return TypeAdapters.X.read(jsonReader); + } catch (EOFException e2) { + EOFException e3 = e2; + z2 = true; + if (!z2) { + } + } catch (MalformedJsonException e4) { + } catch (IOException e5) { + } catch (NumberFormatException e6) { + } + } + + public static void I1(byte b2, byte b3, byte b4, char[] cArr, int i) throws zzij { + if (Y1(b3) || ((b2 == -32 && b3 < -96) || ((b2 == -19 && b3 >= -96) || Y1(b4)))) { + throw zzij.e(); + } + cArr[i] = (char) (((b2 & 15) << 12) | ((b3 & 63) << 6) | (b4 & 63)); + } + + public static float J(float f, float f2, float f3, float f4) { + float f5 = f - f3; + float f6 = f2 - f4; + return (float) Math.sqrt((double) ((f6 * f6) + (f5 * f5))); + } + + /* JADX ERROR: JadxRuntimeException in pass: RegionMakerVisitor + jadx.core.utils.exceptions.JadxRuntimeException: Failed to find switch 'out' block + at jadx.core.dex.visitors.regions.RegionMaker.processSwitch(RegionMaker.java:821) + at jadx.core.dex.visitors.regions.RegionMaker.traverse(RegionMaker.java:157) + at jadx.core.dex.visitors.regions.RegionMaker.makeRegion(RegionMaker.java:94) + at jadx.core.dex.visitors.regions.RegionMaker.processSwitch(RegionMaker.java:860) + at jadx.core.dex.visitors.regions.RegionMaker.traverse(RegionMaker.java:157) + at jadx.core.dex.visitors.regions.RegionMaker.makeRegion(RegionMaker.java:94) + at jadx.core.dex.visitors.regions.RegionMaker.processIf(RegionMaker.java:731) + at jadx.core.dex.visitors.regions.RegionMaker.traverse(RegionMaker.java:152) + at jadx.core.dex.visitors.regions.RegionMaker.makeRegion(RegionMaker.java:94) + at jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:50) + */ + public static void J0(int r2, h0.a.a.c r3) { + /* + int r0 = r2 >>> 24 + if (r0 == 0) goto L_0x0025 + r1 = 1 + if (r0 == r1) goto L_0x0025 + switch(r0) { + case 16: goto L_0x001b; + case 17: goto L_0x001b; + case 18: goto L_0x001b; + case 19: goto L_0x0013; + case 20: goto L_0x0013; + case 21: goto L_0x0013; + case 22: goto L_0x0025; + case 23: goto L_0x001b; + default: goto L_0x000a; + } + L_0x000a: + switch(r0) { + case 66: goto L_0x001b; + case 67: goto L_0x001b; + case 68: goto L_0x001b; + case 69: goto L_0x001b; + case 70: goto L_0x001b; + case 71: goto L_0x0017; + case 72: goto L_0x0017; + case 73: goto L_0x0017; + case 74: goto L_0x0017; + case 75: goto L_0x0017; + default: goto L_0x000d; + } + L_0x000d: + java.lang.IllegalArgumentException r2 = new java.lang.IllegalArgumentException + r2.() + throw r2 + L_0x0013: + r3.g(r0) + goto L_0x002a + L_0x0017: + r3.i(r2) + goto L_0x002a + L_0x001b: + r1 = 16776960(0xffff00, float:2.3509528E-38) + r2 = r2 & r1 + int r2 = r2 >> 8 + r3.e(r0, r2) + goto L_0x002a + L_0x0025: + int r2 = r2 >>> 16 + r3.j(r2) + L_0x002a: + return + switch-data {16->0x001b, 17->0x001b, 18->0x001b, 19->0x0013, 20->0x0013, 21->0x0013, 22->0x0025, 23->0x001b, } + switch-data {66->0x001b, 67->0x001b, 68->0x001b, 69->0x001b, 70->0x001b, 71->0x0017, 72->0x0017, 73->0x0017, 74->0x0017, 75->0x0017, } + */ + throw new UnsupportedOperationException("Method not decompiled: c.i.a.f.e.o.f.J0(int, h0.a.a.c):void"); + } + + public static void J1(byte b2, byte b3, char[] cArr, int i) throws zzij { + if (b2 < -62 || Y1(b3)) { + throw zzij.e(); + } + cArr[i] = (char) (((b2 & 31) << 6) | (b3 & 63)); + } + + public static float K(int i, int i2, int i3, int i4) { + int i5 = i - i3; + int i6 = i2 - i4; + return (float) Math.sqrt((double) ((i6 * i6) + (i5 * i5))); + } + + public static final Object K0(Object obj, Continuation continuation) { + if (obj instanceof v) { + k.a aVar = d0.k.i; + return d0.k.m72constructorimpl(d0.l.createFailure(((v) obj).b)); + } + k.a aVar2 = d0.k.i; + return d0.k.m72constructorimpl(obj); + } + + public static void K1(@NonNull Bundle bundle, @NonNull Object obj) { + if (obj instanceof Double) { + bundle.putDouble("value", ((Double) obj).doubleValue()); + } else if (obj instanceof Long) { + bundle.putLong("value", ((Long) obj).longValue()); + } else { + bundle.putString("value", obj.toString()); + } + } + + public static int L(Context context, float f) { + float applyDimension = TypedValue.applyDimension(1, f, context.getResources().getDisplayMetrics()); + int i = (int) (((double) applyDimension) + 0.5d); + if (i != 0 || applyDimension <= 0.0f) { + return i; + } + return 1; + } + + public static final void L0(i0 i0Var, Continuation continuation, boolean z2) { + Object obj; + Object n = i0Var.n(); + Throwable f = i0Var.f(n); + if (f != null) { + k.a aVar = d0.k.i; + obj = d0.l.createFailure(f); + } else { + k.a aVar2 = d0.k.i; + obj = i0Var.l(n); + } + Object r2 = d0.k.m72constructorimpl(obj); + if (z2) { + Objects.requireNonNull(continuation, "null cannot be cast to non-null type kotlinx.coroutines.internal.DispatchedContinuation"); + s.a.a.g gVar = (s.a.a.g) continuation; + CoroutineContext context = gVar.getContext(); + Object b2 = s.a.a.a.b(context, gVar.o); + try { + gVar.q.resumeWith(r2); + } finally { + s.a.a.a.a(context, b2); + } + } else { + continuation.resumeWith(r2); + } + } + + /* JADX WARNING: Code restructure failed: missing block: B:81:0x01e5, code lost: + if (((java.lang.Boolean) r4).booleanValue() == false) goto L_0x024a; + */ + /* JADX WARNING: Code restructure failed: missing block: B:85:0x01f3, code lost: + if (((java.lang.Integer) r4).intValue() == 0) goto L_0x024a; + */ + /* JADX WARNING: Code restructure failed: missing block: B:89:0x0204, code lost: + if (((java.lang.Float) r4).floatValue() == 0.0f) goto L_0x024a; + */ + /* JADX WARNING: Code restructure failed: missing block: B:93:0x0216, code lost: + if (((java.lang.Double) r4).doubleValue() == com.google.android.material.shadow.ShadowDrawableWrapper.COS_45) goto L_0x024a; + */ + /* JADX WARNING: Removed duplicated region for block: B:111:0x0250 */ + public static void L1(c6 c6Var, StringBuilder sb, int i) { + boolean z2; + HashMap hashMap = new HashMap(); + HashMap hashMap2 = new HashMap(); + TreeSet treeSet = new TreeSet(); + Method[] declaredMethods = c6Var.getClass().getDeclaredMethods(); + for (Method method : declaredMethods) { + hashMap2.put(method.getName(), method); + if (method.getParameterTypes().length == 0) { + hashMap.put(method.getName(), method); + if (method.getName().startsWith("get")) { + treeSet.add(method.getName()); } } } - return emptyMap; + Iterator it = treeSet.iterator(); + while (it.hasNext()) { + String str = (String) it.next(); + String substring = str.startsWith("get") ? str.substring(3) : str; + boolean z3 = true; + if (substring.endsWith("List") && !substring.endsWith("OrBuilderList") && !substring.equals("List")) { + String valueOf = String.valueOf(substring.substring(0, 1).toLowerCase()); + String valueOf2 = String.valueOf(substring.substring(1, substring.length() - 4)); + String concat = valueOf2.length() != 0 ? valueOf.concat(valueOf2) : new String(valueOf); + Method method2 = (Method) hashMap.get(str); + if (method2 != null && method2.getReturnType().equals(List.class)) { + P1(sb, i, E1(concat), u4.q(method2, c6Var, new Object[0])); + } + } + if (substring.endsWith("Map") && !substring.equals("Map")) { + String valueOf3 = String.valueOf(substring.substring(0, 1).toLowerCase()); + String valueOf4 = String.valueOf(substring.substring(1, substring.length() - 3)); + String concat2 = valueOf4.length() != 0 ? valueOf3.concat(valueOf4) : new String(valueOf3); + Method method3 = (Method) hashMap.get(str); + if (method3 != null && method3.getReturnType().equals(Map.class) && !method3.isAnnotationPresent(Deprecated.class) && Modifier.isPublic(method3.getModifiers())) { + P1(sb, i, E1(concat2), u4.q(method3, c6Var, new Object[0])); + } + } + if (((Method) hashMap2.get(substring.length() != 0 ? "set".concat(substring) : new String("set"))) != null) { + if (substring.endsWith("Bytes")) { + String valueOf5 = String.valueOf(substring.substring(0, substring.length() - 5)); + if (!hashMap.containsKey(valueOf5.length() != 0 ? "get".concat(valueOf5) : new String("get"))) { + } + } + String valueOf6 = String.valueOf(substring.substring(0, 1).toLowerCase()); + String valueOf7 = String.valueOf(substring.substring(1)); + String concat3 = valueOf7.length() != 0 ? valueOf6.concat(valueOf7) : new String(valueOf6); + Method method4 = (Method) hashMap.get(substring.length() != 0 ? "get".concat(substring) : new String("get")); + Method method5 = (Method) hashMap.get(substring.length() != 0 ? "has".concat(substring) : new String("has")); + if (method4 != null) { + Object q = u4.q(method4, c6Var, new Object[0]); + if (method5 == null) { + if (!(q instanceof Boolean)) { + if (!(q instanceof Integer)) { + if (!(q instanceof Float)) { + if (!(q instanceof Double)) { + if (q instanceof String) { + z2 = q.equals(""); + } else if (q instanceof t3) { + z2 = q.equals(t3.i); + } else { + z2 = !(q instanceof c6) ? false : false; + } + if (z2) { + z3 = false; + } + } + } + } + } + z2 = true; + if (z2) { + } + } else { + z3 = ((Boolean) u4.q(method5, c6Var, new Object[0])).booleanValue(); + } + if (z3) { + P1(sb, i, E1(concat3), q); + } + } + } + } + if (c6Var instanceof u4.d) { + Iterator> l = ((u4.d) c6Var).zzc.l(); + if (l.hasNext()) { + l.next().getKey(); + throw new NoSuchMethodError(); + } + } + c7 c7Var = ((u4) c6Var).zzb; + if (c7Var != null) { + for (int i2 = 0; i2 < c7Var.b; i2++) { + P1(sb, i, String.valueOf(c7Var.f1129c[i2] >>> 3), c7Var.d[i2]); + } + } + } + + public static float M(float f, float f2, float f3, float f4) { + float f5 = f / (f4 / 2.0f); + float f6 = f3 / 2.0f; + if (f5 < 1.0f) { + return (f6 * f5 * f5 * f5) + f2; + } + float f7 = f5 - 2.0f; + return (((f7 * f7 * f7) + 2.0f) * f6) + f2; + } + + public static int M0(float f) { + return (int) (f + (f < 0.0f ? -0.5f : 0.5f)); + } + + public static void M1(q3 q3Var, SQLiteDatabase sQLiteDatabase) { + if (q3Var != null) { + File file = new File(sQLiteDatabase.getPath()); + if (!file.setReadable(false, false)) { + q3Var.i.a("Failed to turn off database read permission"); + } + if (!file.setWritable(false, false)) { + q3Var.i.a("Failed to turn off database write permission"); + } + if (!file.setReadable(true, true)) { + q3Var.i.a("Failed to turn on database read permission for owner"); + } + if (!file.setWritable(true, true)) { + q3Var.i.a("Failed to turn on database write permission for owner"); + return; + } + return; + } + throw new IllegalArgumentException("Monitor must not be null"); + } + + public static boolean N(@NullableDecl Object obj, @NullableDecl Object obj2) { + return obj == obj2 || (obj != null && obj.equals(obj2)); + } + + public static final int N0(u uVar, int i) { + int i2; + m.checkParameterIsNotNull(uVar, "$this$segment"); + int[] iArr = uVar.n; + int i3 = i + 1; + int length = uVar.m.length; + m.checkParameterIsNotNull(iArr, "$this$binarySearch"); + int i4 = length - 1; + int i5 = 0; + while (true) { + if (i5 <= i4) { + i2 = (i5 + i4) >>> 1; + int i6 = iArr[i2]; + if (i6 >= i3) { + if (i6 <= i3) { + break; + } + i4 = i2 - 1; + } else { + i5 = i2 + 1; + } + } else { + i2 = (-i5) - 1; + break; + } + } + return i2 >= 0 ? i2 : ~i2; + } + + @WorkerThread + public static void N1(q3 q3Var, SQLiteDatabase sQLiteDatabase, String str, String str2, String str3, String[] strArr) throws SQLiteException { + boolean z2; + if (q3Var != null) { + Cursor cursor = null; + try { + cursor = sQLiteDatabase.query("SQLITE_MASTER", new String[]{ModelAuditLogEntry.CHANGE_KEY_NAME}, "name=?", new String[]{str}, null, null, null); + z2 = cursor.moveToFirst(); + cursor.close(); + } catch (SQLiteException e2) { + q3Var.i.c("Error querying for table", str, e2); + if (cursor != null) { + cursor.close(); + } + z2 = false; + } catch (Throwable th) { + if (cursor != null) { + cursor.close(); + } + throw th; + } + if (!z2) { + sQLiteDatabase.execSQL(str2); + } + try { + Set G1 = G1(sQLiteDatabase, str); + String[] split = str3.split(","); + for (String str4 : split) { + if (!((HashSet) G1).remove(str4)) { + StringBuilder sb = new StringBuilder(str.length() + 35 + String.valueOf(str4).length()); + sb.append("Table "); + sb.append(str); + sb.append(" is missing required column: "); + sb.append(str4); + throw new SQLiteException(sb.toString()); + } + } + if (strArr != null) { + for (int i = 0; i < strArr.length; i += 2) { + if (!((HashSet) G1).remove(strArr[i])) { + sQLiteDatabase.execSQL(strArr[i + 1]); + } + } + } + if (!((HashSet) G1).isEmpty()) { + q3Var.i.c("Table has extra columns. table, columns", str, TextUtils.join(", ", G1)); + } + } catch (SQLiteException e3) { + q3Var.f.b("Failed to verify columns on table that was just created", str); + throw e3; + } + } else { + throw new IllegalArgumentException("Monitor must not be null"); + } + } + + public static T O(@NullableDecl T t, @NullableDecl T t2) { + if (t != null) { + return t; + } + Objects.requireNonNull(t2, "Both parameters are null"); + return t2; + } + + public static final g0.v O0(Socket socket) throws IOException { + m.checkParameterIsNotNull(socket, "$this$sink"); + w wVar = new w(socket); + OutputStream outputStream = socket.getOutputStream(); + m.checkExpressionValueIsNotNull(outputStream, "getOutputStream()"); + p pVar = new p(outputStream, wVar); + m.checkParameterIsNotNull(pVar, "sink"); + return new g0.c(wVar, pVar); + } + + public static void O1(Task task, h hVar) { + Executor executor = c.i.a.f.n.g.b; + task.g(executor, hVar); + task.e(executor, hVar); + task.a(executor, hVar); + } + + public static final FloatBuffer P(int i) { + ByteBuffer order = ByteBuffer.allocateDirect(i * 4 * 1).order(ByteOrder.nativeOrder()); + order.limit(order.capacity()); + m.checkNotNullExpressionValue(order, "ByteBuffer\n .allo…it.limit(it.capacity()) }"); + FloatBuffer asFloatBuffer = order.asFloatBuffer(); + m.checkNotNullExpressionValue(asFloatBuffer, "byteBuffer(size * Egloo.…OF_FLOAT).asFloatBuffer()"); + return asFloatBuffer; + } + + public static int P0(int i) { + return (int) (((long) Integer.rotateLeft((int) (((long) i) * -862048943), 15)) * 461845907); + } + + public static final void P1(StringBuilder sb, int i, String str, Object obj) { + if (obj instanceof List) { + for (Object obj2 : (List) obj) { + P1(sb, i, str, obj2); + } + } else if (obj instanceof Map) { + for (Map.Entry entry : ((Map) obj).entrySet()) { + P1(sb, i, str, entry); + } + } else { + sb.append('\n'); + int i2 = 0; + for (int i3 = 0; i3 < i; i3++) { + sb.append(' '); + } + sb.append(str); + if (obj instanceof String) { + sb.append(": \""); + t3 t3Var = t3.i; + sb.append(D1(new z3(((String) obj).getBytes(w4.a)))); + sb.append('\"'); + } else if (obj instanceof t3) { + sb.append(": \""); + sb.append(D1((t3) obj)); + sb.append('\"'); + } else if (obj instanceof u4) { + sb.append(" {"); + L1((u4) obj, sb, i + 2); + sb.append("\n"); + while (i2 < i) { + sb.append(' '); + i2++; + } + sb.append("}"); + } else if (obj instanceof Map.Entry) { + sb.append(" {"); + Map.Entry entry2 = (Map.Entry) obj; + int i4 = i + 2; + P1(sb, i4, "key", entry2.getKey()); + P1(sb, i4, "value", entry2.getValue()); + sb.append("\n"); + while (i2 < i) { + sb.append(' '); + i2++; + } + sb.append("}"); + } else { + sb.append(": "); + sb.append(obj.toString()); + } + } + } + + @NonNull + public static Task Q(@NonNull Exception exc) { + b0 b0Var = new b0(); + b0Var.s(exc); + return b0Var; + } + + public static final x Q0(Socket socket) throws IOException { + m.checkParameterIsNotNull(socket, "$this$source"); + w wVar = new w(socket); + InputStream inputStream = socket.getInputStream(); + m.checkExpressionValueIsNotNull(inputStream, "getInputStream()"); + n nVar = new n(inputStream, wVar); + m.checkParameterIsNotNull(nVar, "source"); + return new g0.d(wVar, nVar); + } + + public static boolean Q1(byte b2) { + return b2 >= 0; + } + + @NonNull + public static Task R(TResult tresult) { + b0 b0Var = new b0(); + b0Var.t(tresult); + return b0Var; + } + + public static final void R0(Continuation continuation, Continuation continuation2) { + try { + Continuation intercepted = d0.w.h.b.intercepted(continuation); + k.a aVar = d0.k.i; + s.a.a.h.b(intercepted, d0.k.m72constructorimpl(Unit.a), null, 2); + } catch (Throwable th) { + k.a aVar2 = d0.k.i; + ((s.a.b) continuation2).resumeWith(d0.k.m72constructorimpl(d0.l.createFailure(th))); + } + } + + public static boolean R1(@NullableDecl Object obj, @NullableDecl Object obj2) { + if (obj != obj2) { + return obj != null && obj.equals(obj2); + } + return true; + } + + public static final String S(long j) { + String str; + if (j <= ((long) -999500000)) { + str = ((j - ((long) 500000000)) / ((long) 1000000000)) + " s "; + } else if (j <= ((long) -999500)) { + str = ((j - ((long) 500000)) / ((long) 1000000)) + " ms"; + } else if (j <= 0) { + str = ((j - ((long) 500)) / ((long) 1000)) + " µs"; + } else if (j < ((long) 999500)) { + str = ((j + ((long) 500)) / ((long) 1000)) + " µs"; + } else if (j < ((long) 999500000)) { + str = ((j + ((long) 500000)) / ((long) 1000000)) + " ms"; + } else { + str = ((j + ((long) 500000000)) / ((long) 1000000000)) + " s "; + } + String format = String.format("%6s", Arrays.copyOf(new Object[]{str}, 1)); + m.checkExpressionValueIsNotNull(format, "java.lang.String.format(format, *args)"); + return format; + } + + public static void S0(Function2 function2, Object obj, Continuation continuation, Function1 function1, int i) { + int i2 = i & 4; + try { + Continuation intercepted = d0.w.h.b.intercepted(d0.w.h.b.createCoroutineUnintercepted(function2, obj, continuation)); + k.a aVar = d0.k.i; + s.a.a.h.a(intercepted, d0.k.m72constructorimpl(Unit.a), null); + } catch (Throwable th) { + k.a aVar2 = d0.k.i; + continuation.resumeWith(d0.k.m72constructorimpl(d0.l.createFailure(th))); + } + } + + public static int S1(byte[] bArr, int i, s3 s3Var) { + int i2 = i + 1; + long j = (long) bArr[i]; + if (j >= 0) { + s3Var.b = j; + return i2; + } + int i3 = i2 + 1; + byte b2 = bArr[i2]; + long j2 = (j & 127) | (((long) (b2 & Byte.MAX_VALUE)) << 7); + int i4 = 7; + while (b2 < 0) { + int i5 = i3 + 1; + byte b3 = bArr[i3]; + i4 += 7; + j2 |= ((long) (b3 & Byte.MAX_VALUE)) << i4; + b2 = b3; + i3 = i5; + } + s3Var.b = j2; + return i3; + } + + public static c.i.c.l.d T(String str, c.i.c.x.g gVar) { + d.b a2 = c.i.c.l.d.a(c.i.c.x.e.class); + a2.d = 1; + a2.a(new o(Context.class, 1, 0)); + a2.c(new c.i.c.x.f(str, gVar)); + return a2.b(); + } + + public static final Object T0(r rVar, R r, Function2, ? extends Object> function2) { + Object obj; + rVar.Y(); + if (function2 != null) { + try { + obj = ((Function2) e0.beforeCheckcastToFunctionOfArity(function2, 2)).invoke(r, rVar); + } catch (Throwable th) { + obj = new v(th, false, 2); + } + if (obj == d0.w.h.c.getCOROUTINE_SUSPENDED()) { + return d0.w.h.c.getCOROUTINE_SUSPENDED(); + } + Object L = rVar.L(obj); + if (L == h1.b) { + return d0.w.h.c.getCOROUTINE_SUSPENDED(); + } + if (!(L instanceof v)) { + return h1.a(L); + } + throw ((v) L).b; + } + throw new NullPointerException("null cannot be cast to non-null type (R, kotlin.coroutines.Continuation) -> kotlin.Any?"); + } + + public static long T1(byte[] bArr, int i) { + return ((((long) bArr[i + 7]) & 255) << 56) | (((long) bArr[i]) & 255) | ((((long) bArr[i + 1]) & 255) << 8) | ((((long) bArr[i + 2]) & 255) << 16) | ((((long) bArr[i + 3]) & 255) << 24) | ((((long) bArr[i + 4]) & 255) << 32) | ((((long) bArr[i + 5]) & 255) << 40) | ((((long) bArr[i + 6]) & 255) << 48); + } + + public static float[] U(RectF rectF) { + return new float[]{rectF.centerX(), rectF.centerY()}; + } + + public static int U0(int[] iArr) { + int i = 0; + for (int i2 : iArr) { + i += i2; + } + return i; + } + + public static void U1(boolean z2, @NullableDecl Object obj) { + if (!z2) { + throw new IllegalStateException(String.valueOf(obj)); + } + } + + public static final String V(Object obj) { + return obj.getClass().getSimpleName(); + } + + public static final long V0(String str, long j, long j2, long j3) { + String W0 = W0(str); + if (W0 == null) { + return j; + } + Long longOrNull = s.toLongOrNull(W0); + if (longOrNull != null) { + long longValue = longOrNull.longValue(); + if (j2 <= longValue && j3 >= longValue) { + return longValue; + } + throw new IllegalStateException(("System property '" + str + "' should be in range " + j2 + ".." + j3 + ", but is '" + longValue + '\'').toString()); + } + throw new IllegalStateException(("System property '" + str + "' has unrecognized value '" + W0 + '\'').toString()); + } + + public static int V1(byte[] bArr, int i, s3 s3Var) throws zzij { + int v1 = v1(bArr, i, s3Var); + int i2 = s3Var.a; + if (i2 < 0) { + throw zzij.b(); + } else if (i2 == 0) { + s3Var.f1168c = ""; + return v1; + } else { + s3Var.f1168c = new String(bArr, v1, i2, w4.a); + return v1 + i2; + } + } + + public static float[] W(RectF rectF) { + float f = rectF.left; + float f2 = rectF.top; + float f3 = rectF.right; + float f4 = rectF.bottom; + return new float[]{f, f2, f3, f2, f3, f4, f, f4}; + } + + public static final String W0(String str) { + int i = s.a.a.u.a; + try { + return System.getProperty(str); + } catch (SecurityException unused) { + return null; + } + } + + public static int W1(byte[] bArr, int i, s3 s3Var) throws zzij { + int v1 = v1(bArr, i, s3Var); + int i2 = s3Var.a; + if (i2 < 0) { + throw zzij.b(); + } else if (i2 == 0) { + s3Var.f1168c = ""; + return v1; + } else { + s3Var.f1168c = k7.a.c(bArr, v1, i2); + return v1 + i2; + } + } + + public static String X(long j) { + return Y(j, null); + } + + public static int X0(String str, int i, int i2, int i3, int i4, Object obj) { + if ((i4 & 4) != 0) { + i2 = 1; + } + if ((i4 & 8) != 0) { + i3 = Integer.MAX_VALUE; + } + return (int) V0(str, (long) i, (long) i2, (long) i3); + } + + public static int X1(byte[] bArr, int i, s3 s3Var) throws zzij { + int v1 = v1(bArr, i, s3Var); + int i2 = s3Var.a; + if (i2 < 0) { + throw zzij.b(); + } else if (i2 > bArr.length - v1) { + throw zzij.a(); + } else if (i2 == 0) { + s3Var.f1168c = t3.i; + return v1; + } else { + s3Var.f1168c = t3.h(bArr, v1, i2); + return v1 + i2; + } + } + + public static String Y(long j, @Nullable SimpleDateFormat simpleDateFormat) { + Calendar h = c.i.a.g.d.l.h(); + Calendar i = c.i.a.g.d.l.i(); + i.setTimeInMillis(j); + return simpleDateFormat != null ? simpleDateFormat.format(new Date(j)) : h.get(1) == i.get(1) ? e0(j, Locale.getDefault()) : i0(j, Locale.getDefault()); + } + + public static /* synthetic */ long Y0(String str, long j, long j2, long j3, int i, Object obj) { + if ((i & 4) != 0) { + j2 = 1; + } + if ((i & 8) != 0) { + j3 = RecyclerView.FOREVER_NS; + } + return V0(str, j, j2, j3); + } + + public static boolean Y1(byte b2) { + return b2 > -65; + } + + public static final g0 Z(CoroutineContext coroutineContext) { + int i = d0.w.d.e; + CoroutineContext.Element element = coroutineContext.get(d.b.a); + if (!(element instanceof g0)) { + element = null; + } + g0 g0Var = (g0) element; + return g0Var != null ? g0Var : d0.a; + } + + public static int[] Z0(Collection collection) { + if (collection instanceof c.i.b.c.a) { + c.i.b.c.a aVar = (c.i.b.c.a) collection; + return Arrays.copyOfRange(aVar.array, aVar.start, aVar.end); + } + Object[] array = collection.toArray(); + int length = array.length; + int[] iArr = new int[length]; + for (int i = 0; i < length; i++) { + Object obj = array[i]; + Objects.requireNonNull(obj); + iArr[i] = ((Number) obj).intValue(); + } + return iArr; + } + + public static int Z1(String str) { + if (Log.isLoggable("FirebaseAppIndex", 3) ? true : Log.isLoggable("FirebaseAppIndex", 3)) { + return Log.d("FirebaseAppIndex", str); + } + return 0; + } + + public static final CoroutineScope a(CoroutineContext coroutineContext) { + if (coroutineContext.get(Job.h) == null) { + coroutineContext = coroutineContext.plus(new e1(null)); + } + return new s.a.a.f(coroutineContext); + } + + public static final int a0(c.p.a.b bVar, @DimenRes int i) { + m.checkNotNullParameter(bVar, "$this$getDimenPixelSize"); + return bVar.getResources().getDimensionPixelSize(i); + } + + /* JADX WARNING: Code restructure failed: missing block: B:66:0x010b, code lost: + r1 = 1; + */ + public static final String a1(String str) { + m.checkParameterIsNotNull(str, "$this$toCanonicalHost"); + int i = 0; + int i2 = -1; + if (d0.g0.w.contains$default((CharSequence) str, (CharSequence) ":", false, 2, (Object) null)) { + InetAddress H = (!t.startsWith$default(str, "[", false, 2, null) || !t.endsWith$default(str, "]", false, 2, null)) ? H(str, 0, str.length()) : H(str, 1, str.length() - 1); + if (H == null) { + return null; + } + byte[] address = H.getAddress(); + if (address.length == 16) { + m.checkExpressionValueIsNotNull(address, "address"); + int i3 = 0; + int i4 = 0; + while (i3 < address.length) { + int i5 = i3; + while (i5 < 16 && address[i5] == 0 && address[i5 + 1] == 0) { + i5 += 2; + } + int i6 = i5 - i3; + if (i6 > i4 && i6 >= 4) { + i2 = i3; + i4 = i6; + } + i3 = i5 + 2; + } + g0.e eVar = new g0.e(); + while (i < address.length) { + if (i == i2) { + eVar.T(58); + i += i4; + if (i == 16) { + eVar.T(58); + } + } else { + if (i > 0) { + eVar.T(58); + } + byte b2 = address[i]; + byte[] bArr = f0.e0.c.a; + eVar.Q((long) (((b2 & 255) << 8) | (address[i + 1] & 255))); + i += 2; + } + } + return eVar.D(); + } else if (address.length == 4) { + return H.getHostAddress(); + } else { + throw new AssertionError("Invalid IPv6 address: '" + str + '\''); + } + } else { + try { + String ascii = IDN.toASCII(str); + m.checkExpressionValueIsNotNull(ascii, "IDN.toASCII(host)"); + Locale locale = Locale.US; + m.checkExpressionValueIsNotNull(locale, "Locale.US"); + if (ascii != null) { + String lowerCase = ascii.toLowerCase(locale); + m.checkExpressionValueIsNotNull(lowerCase, "(this as java.lang.String).toLowerCase(locale)"); + if (lowerCase.length() == 0) { + return null; + } + int length = lowerCase.length(); + int i7 = 0; + while (true) { + if (i7 >= length) { + break; + } + char charAt = lowerCase.charAt(i7); + if (charAt <= 31) { + break; + } else if (charAt >= 127) { + break; + } else if (d0.g0.w.indexOf$default((CharSequence) " #%/:?@[\\]", charAt, 0, false, 6, (Object) null) != -1) { + break; + } else { + i7++; + } + } + if (i != 0) { + return null; + } + return lowerCase; + } + throw new TypeCastException("null cannot be cast to non-null type java.lang.String"); + } catch (IllegalArgumentException unused) { + return null; + } + } + } + + public static s.a.t b(Job job, int i) { + int i2 = i & 1; + return new r1(null); + } + + @NullableDecl + public static T b0(Iterable iterable, @NullableDecl T t) { + n0 n0Var = new n0((h.a) iterable); + return n0Var.hasNext() ? (T) n0Var.next() : t; + } + + public static final String b1(Continuation continuation) { + Object obj; + if (continuation instanceof s.a.a.g) { + return continuation.toString(); + } + try { + k.a aVar = d0.k.i; + obj = d0.k.m72constructorimpl(continuation + MentionUtilsKt.MENTIONS_CHAR + c0(continuation)); + } catch (Throwable th) { + k.a aVar2 = d0.k.i; + obj = d0.k.m72constructorimpl(d0.l.createFailure(th)); + } + if (d0.k.m74exceptionOrNullimpl(obj) != null) { + obj = continuation.getClass().getName() + MentionUtilsKt.MENTIONS_CHAR + c0(continuation); + } + return (String) obj; + } + + public static final void c(f0.e0.f.a aVar, f0.e0.f.c cVar, String str) { + d.b bVar = f0.e0.f.d.f2815c; + Logger logger = f0.e0.f.d.b; + StringBuilder sb = new StringBuilder(); + sb.append(cVar.f); + sb.append(' '); + String format = String.format("%-22s", Arrays.copyOf(new Object[]{str}, 1)); + m.checkExpressionValueIsNotNull(format, "java.lang.String.format(format, *args)"); + sb.append(format); + sb.append(": "); + sb.append(aVar.f2813c); + logger.fine(sb.toString()); + } + + public static final String c0(Object obj) { + return Integer.toHexString(System.identityHashCode(obj)); + } + + public static final String c1(byte b2) { + char[] cArr = g0.z.b.a; + return new String(new char[]{cArr[(b2 >> 4) & 15], cArr[b2 & 15]}); + } + + @NonNull + public static c.o.a.x.c d(c.o.a.x.c... cVarArr) { + return new i(cVarArr, null); + } + + @TargetApi(17) + public static int d0() { + EGLDisplay eglGetDisplay = EGL14.eglGetDisplay(0); + int[] iArr = new int[2]; + EGL14.eglInitialize(eglGetDisplay, iArr, 0, iArr, 1); + EGLConfig[] eGLConfigArr = new EGLConfig[1]; + int[] iArr2 = new int[1]; + EGL14.eglChooseConfig(eglGetDisplay, new int[]{12351, 12430, 12329, 0, 12352, 4, 12339, 1, 12344}, 0, eGLConfigArr, 0, 1, iArr2, 0); + if (iArr2[0] == 0) { + return 0; + } + EGLConfig eGLConfig = eGLConfigArr[0]; + EGLSurface eglCreatePbufferSurface = EGL14.eglCreatePbufferSurface(eglGetDisplay, eGLConfig, new int[]{12375, 64, 12374, 64, 12344}, 0); + EGLContext eglCreateContext = EGL14.eglCreateContext(eglGetDisplay, eGLConfig, EGL14.EGL_NO_CONTEXT, new int[]{12440, 2, 12344}, 0); + EGL14.eglMakeCurrent(eglGetDisplay, eglCreatePbufferSurface, eglCreatePbufferSurface, eglCreateContext); + int[] iArr3 = new int[1]; + GLES20.glGetIntegerv(3379, iArr3, 0); + EGLSurface eGLSurface = EGL14.EGL_NO_SURFACE; + EGL14.eglMakeCurrent(eglGetDisplay, eGLSurface, eGLSurface, EGL14.EGL_NO_CONTEXT); + EGL14.eglDestroySurface(eglGetDisplay, eglCreatePbufferSurface); + EGL14.eglDestroyContext(eglGetDisplay, eglCreateContext); + EGL14.eglTerminate(eglGetDisplay); + return iArr3[0]; + } + + public static String d1(String str) { + int length = str.length(); + int i = 0; + while (i < length) { + char charAt = str.charAt(i); + if (charAt >= 'A' && charAt <= 'Z') { + char[] charArray = str.toCharArray(); + while (i < length) { + char c2 = charArray[i]; + if (c2 >= 'A' && c2 <= 'Z') { + charArray[i] = (char) (c2 ^ ' '); + } + i++; + } + return String.valueOf(charArray); + } + i++; + } + return str; + } + + public static final boolean e(byte[] bArr, int i, byte[] bArr2, int i2, int i3) { + m.checkParameterIsNotNull(bArr, "a"); + m.checkParameterIsNotNull(bArr2, "b"); + for (int i4 = 0; i4 < i3; i4++) { + if (bArr[i4 + i] != bArr2[i4 + i2]) { + return false; + } + } + return true; + } + + public static String e0(long j, Locale locale) { + if (Build.VERSION.SDK_INT >= 24) { + return c.i.a.g.d.l.c("MMMd", locale).format(new Date(j)); + } + AtomicReference atomicReference = c.i.a.g.d.l.a; + DateFormat dateInstance = DateFormat.getDateInstance(2, locale); + dateInstance.setTimeZone(c.i.a.g.d.l.g()); + SimpleDateFormat simpleDateFormat = (SimpleDateFormat) dateInstance; + String pattern = simpleDateFormat.toPattern(); + int b2 = c.i.a.g.d.l.b(pattern, "yY", 1, 0); + if (b2 < pattern.length()) { + String str = "EMd"; + int b3 = c.i.a.g.d.l.b(pattern, str, 1, b2); + if (b3 < pattern.length()) { + str = "EMd,"; + } + pattern = pattern.replace(pattern.substring(c.i.a.g.d.l.b(pattern, str, -1, b2) + 1, b3), " ").trim(); + } + simpleDateFormat.applyPattern(pattern); + return simpleDateFormat.format(new Date(j)); + } + + public static final Object e1(Object obj, Function1 function1) { + Throwable r0 = d0.k.m74exceptionOrNullimpl(obj); + return r0 == null ? function1 != null ? new s.a.w(obj, function1) : obj : new v(r0, false, 2); + } + + public static s.a.e0 f(CoroutineScope coroutineScope, CoroutineContext coroutineContext, CoroutineStart coroutineStart, Function2 function2, int i, Object obj) { + CoroutineStart coroutineStart2 = null; + d0.w.f fVar = (i & 1) != 0 ? d0.w.f.i : null; + if ((i & 2) != 0) { + coroutineStart2 = CoroutineStart.DEFAULT; + } + CoroutineContext a2 = y.a(coroutineScope, fVar); + Objects.requireNonNull(coroutineStart2); + f0 i1Var = coroutineStart2 == CoroutineStart.LAZY ? new i1(a2, function2) : new f0(a2, true); + i1Var.a0(coroutineStart2, i1Var, function2); + return i1Var; + } + + public static int f0(int[] iArr, int i, boolean z2) { + int[] iArr2 = iArr; + int i2 = 0; + for (int i3 : iArr2) { + i2 += i3; + } + int length = iArr2.length; + int i4 = 0; + int i5 = 0; + int i6 = 0; + while (true) { + int i7 = length - 1; + if (i4 >= i7) { + return i5; + } + int i8 = 1 << i4; + i6 |= i8; + int i9 = 1; + while (i9 < iArr2[i4]) { + int i10 = i2 - i9; + int i11 = length - i4; + int i12 = i11 - 2; + int D = D(i10 - 1, i12); + if (z2 && i6 == 0) { + int i13 = i11 - 1; + if (i10 - i13 >= i13) { + D -= D(i10 - i11, i12); + } + } + if (i11 - 1 > 1) { + int i14 = 0; + for (int i15 = i10 - i12; i15 > i; i15--) { + i14 += D((i10 - i15) - 1, i11 - 3); + } + D -= (i7 - i4) * i14; + } else if (i10 > i) { + D--; + } + i5 += D; + i9++; + i6 &= ~i8; + iArr2 = iArr; + } + i2 -= i9; + i4++; + iArr2 = iArr; + } + } + + public static String f1(String str) { + int length = str.length(); + int i = 0; + while (i < length) { + char charAt = str.charAt(i); + if (charAt >= 'a' && charAt <= 'z') { + char[] charArray = str.toCharArray(); + while (i < length) { + char c2 = charArray[i]; + if (c2 >= 'a' && c2 <= 'z') { + charArray[i] = (char) (c2 ^ ' '); + } + i++; + } + return String.valueOf(charArray); + } + i++; + } + return str; + } + + public static TResult g(@NonNull Task task) throws ExecutionException, InterruptedException { + c.c.a.a0.d.x("Must not be called on the main application thread"); + c.c.a.a0.d.z(task, "Task must not be null"); + if (task.o()) { + return (TResult) B1(task); + } + c.i.a.f.n.i iVar = new c.i.a.f.n.i(null); + O1(task, iVar); + iVar.a.await(); + return (TResult) B1(task); + } + + public static int g0(Context context) { + Display defaultDisplay = ((WindowManager) context.getSystemService("window")).getDefaultDisplay(); + if (defaultDisplay.getWidth() == defaultDisplay.getHeight()) { + return 3; + } + return defaultDisplay.getWidth() < defaultDisplay.getHeight() ? 1 : 2; + } + + @NonNull + public static c.o.a.n.o.e g1(@NonNull c.o.a.n.o.e... eVarArr) { + return new c.o.a.n.o.j(Arrays.asList(eVarArr)); + } + + public static TResult h(@NonNull Task task, long j, @NonNull TimeUnit timeUnit) throws ExecutionException, InterruptedException, TimeoutException { + c.c.a.a0.d.x("Must not be called on the main application thread"); + c.c.a.a0.d.z(task, "Task must not be null"); + c.c.a.a0.d.z(timeUnit, "TimeUnit must not be null"); + if (task.o()) { + return (TResult) B1(task); + } + c.i.a.f.n.i iVar = new c.i.a.f.n.i(null); + O1(task, iVar); + if (iVar.a.await(j, timeUnit)) { + return (TResult) B1(task); + } + throw new TimeoutException("Timed out waiting for Task"); + } + + public static DateFormat h0(int i, int i2) { + String str; + String str2; + StringBuilder sb = new StringBuilder(); + if (i == 0) { + str = "EEEE, MMMM d, yyyy"; + } else if (i == 1) { + str = "MMMM d, yyyy"; + } else if (i == 2) { + str = "MMM d, yyyy"; + } else if (i == 3) { + str = "M/d/yy"; + } else { + throw new IllegalArgumentException(c.d.b.a.a.p("Unknown DateFormat style: ", i)); + } + sb.append(str); + sb.append(" "); + if (i2 == 0 || i2 == 1) { + str2 = "h:mm:ss a z"; + } else if (i2 == 2) { + str2 = "h:mm:ss a"; + } else if (i2 == 3) { + str2 = "h:mm a"; + } else { + throw new IllegalArgumentException(c.d.b.a.a.p("Unknown DateFormat style: ", i2)); + } + sb.append(str2); + return new SimpleDateFormat(sb.toString(), Locale.US); + } + + public static RectF h1(float[] fArr) { + RectF rectF = new RectF(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY); + for (int i = 1; i < fArr.length; i += 2) { + float round = ((float) Math.round(fArr[i - 1] * 10.0f)) / 10.0f; + float round2 = ((float) Math.round(fArr[i] * 10.0f)) / 10.0f; + float f = rectF.left; + if (round < f) { + f = round; + } + rectF.left = f; + float f2 = rectF.top; + if (round2 < f2) { + f2 = round2; + } + rectF.top = f2; + float f3 = rectF.right; + if (round <= f3) { + round = f3; + } + rectF.right = round; + float f4 = rectF.bottom; + if (round2 <= f4) { + round2 = f4; + } + rectF.bottom = round2; + } + rectF.sort(); + return rectF; + } + + /* JADX WARNING: Removed duplicated region for block: B:12:0x0036 */ + /* JADX WARNING: Removed duplicated region for block: B:8:0x0023 */ + public static final Object i(s.a.e0[] e0VarArr, Continuation> continuation) { + e eVar; + int i; + if (continuation instanceof e) { + eVar = (e) continuation; + int i2 = eVar.label; + if ((i2 & Integer.MIN_VALUE) != 0) { + eVar.label = i2 - Integer.MIN_VALUE; + Object obj = eVar.result; + Object coroutine_suspended = d0.w.h.c.getCOROUTINE_SUSPENDED(); + i = eVar.label; + if (i != 0) { + d0.l.throwOnFailure(obj); + if (e0VarArr.length == 0) { + return d0.t.n.emptyList(); + } + s.a.d dVar = new s.a.d(e0VarArr); + eVar.L$0 = e0VarArr; + eVar.label = 1; + s.a.k kVar = new s.a.k(d0.w.h.b.intercepted(eVar), 1); + kVar.A(); + int length = e0VarArr.length; + d.a[] aVarArr = new d.a[length]; + for (int i3 = 0; i3 < length; i3++) { + s.a.e0 e0Var = dVar.b[d0.w.i.a.b.boxInt(i3).intValue()]; + e0Var.start(); + d.a aVar = new d.a(kVar, e0Var); + aVar.m = e0Var.t(aVar); + aVarArr[i3] = aVar; + } + d.b bVar = new d.b(dVar, aVarArr); + for (int i4 = 0; i4 < length; i4++) { + aVarArr[i4]._disposer = bVar; + } + if (kVar.v()) { + bVar.b(); + } else { + kVar.e(bVar); + } + obj = kVar.u(); + if (obj == d0.w.h.c.getCOROUTINE_SUSPENDED()) { + g.probeCoroutineSuspended(eVar); + } + if (obj == coroutine_suspended) { + return coroutine_suspended; + } + } else if (i == 1) { + s.a.e0[] e0VarArr2 = (s.a.e0[]) eVar.L$0; + d0.l.throwOnFailure(obj); + } else { + throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); + } + return (List) obj; + } + } + eVar = new e(continuation); + Object obj = eVar.result; + Object coroutine_suspended = d0.w.h.c.getCOROUTINE_SUSPENDED(); + i = eVar.label; + if (i != 0) { + } + return (List) obj; + } + + public static String i0(long j, Locale locale) { + if (Build.VERSION.SDK_INT >= 24) { + return c.i.a.g.d.l.c("yMMMd", locale).format(new Date(j)); + } + AtomicReference atomicReference = c.i.a.g.d.l.a; + DateFormat dateInstance = DateFormat.getDateInstance(2, locale); + dateInstance.setTimeZone(c.i.a.g.d.l.g()); + return dateInstance.format(new Date(j)); + } + + @RecentlyNonNull + @TargetApi(19) + public static boolean i1(@RecentlyNonNull Context context, @RecentlyNonNull int i, @RecentlyNonNull String str) { + c.i.a.f.e.p.a a2 = c.i.a.f.e.p.b.a(context); + Objects.requireNonNull(a2); + try { + AppOpsManager appOpsManager = (AppOpsManager) a2.a.getSystemService("appops"); + if (appOpsManager != null) { + appOpsManager.checkPackage(i, str); + return true; + } + throw new NullPointerException("context.getSystemService(Context.APP_OPS_SERVICE) is null"); + } catch (SecurityException unused) { + return false; + } + } + + public static String j(int i, int i2, @NullableDecl String str) { + if (i < 0) { + return y0("%s (%s) must not be negative", str, Integer.valueOf(i)); + } + if (i2 >= 0) { + return y0("%s (%s) must not be greater than size (%s)", str, Integer.valueOf(i), Integer.valueOf(i2)); + } + throw new IllegalArgumentException(c.d.b.a.a.p("negative size: ", i2)); + } + + public static void j0(@Nullable InputStream inputStream, @NonNull File file) throws IOException { + Throwable th; + byte[] bArr = new byte[8192]; + GZIPOutputStream gZIPOutputStream = null; + try { + GZIPOutputStream gZIPOutputStream2 = new GZIPOutputStream(new FileOutputStream(file)); + while (true) { + try { + int read = inputStream.read(bArr); + if (read > 0) { + gZIPOutputStream2.write(bArr, 0, read); + } else { + gZIPOutputStream2.finish(); + c.i.c.m.d.k.h.d(gZIPOutputStream2); + return; + } + } catch (Throwable th2) { + th = th2; + gZIPOutputStream = gZIPOutputStream2; + c.i.c.m.d.k.h.d(gZIPOutputStream); + throw th; + } + } + } catch (Throwable th3) { + th = th3; + c.i.c.m.d.k.h.d(gZIPOutputStream); + throw th; + } + } + + @NonNull + public static Task j1(@Nullable Collection> collection) { + if (collection == null || collection.isEmpty()) { + return R(null); + } + Iterator> it = collection.iterator(); + while (it.hasNext()) { + Objects.requireNonNull((Task) it.next(), "null tasks are not accepted"); + } + b0 b0Var = new b0(); + c.i.a.f.n.j jVar = new c.i.a.f.n.j(collection.size(), b0Var); + Iterator> it2 = collection.iterator(); + while (it2.hasNext()) { + O1((Task) it2.next(), jVar); + } + return b0Var; + } + + public static ExecutorService k(String str) { + ExecutorService unconfigurableExecutorService = Executors.unconfigurableExecutorService(new ThreadPoolExecutor(1, 1, 0, TimeUnit.MILLISECONDS, new LinkedBlockingQueue(), new s0(str, new AtomicLong(1)), new ThreadPoolExecutor.DiscardPolicy())); + Runtime.getRuntime().addShutdownHook(new Thread(new t0(str, unconfigurableExecutorService, 2, TimeUnit.SECONDS), c.d.b.a.a.v("Crashlytics Shutdown Hook for ", str))); + return unconfigurableExecutorService; + } + + public static final void k0(CoroutineContext coroutineContext, Throwable th) { + try { + int i = CoroutineExceptionHandler.g; + CoroutineExceptionHandler coroutineExceptionHandler = (CoroutineExceptionHandler) coroutineContext.get(CoroutineExceptionHandler.a.a); + if (coroutineExceptionHandler != null) { + coroutineExceptionHandler.handleException(coroutineContext, th); + } else { + a0.a(coroutineContext, th); + } + } catch (Throwable th2) { + if (th != th2) { + RuntimeException runtimeException = new RuntimeException("Exception while trying to handle coroutine exception", th2); + d0.b.addSuppressed(runtimeException, th); + th = runtimeException; + } + a0.a(coroutineContext, th); + } + } + + /* JADX INFO: finally extract failed */ + /* JADX DEBUG: Multi-variable search result rejected for r3v11, resolved type: java.util.concurrent.atomic.AtomicIntegerFieldUpdater */ + /* JADX WARN: Multi-variable type inference failed */ + public static final Object k1(CoroutineContext coroutineContext, Function2, ? extends Object> function2, Continuation continuation) { + Object obj; + boolean z2; + CoroutineContext context = continuation.getContext(); + CoroutineContext plus = context.plus(coroutineContext); + Job job = (Job) plus.get(Job.h); + if (job == null || job.a()) { + if (plus == context) { + r rVar = new r(plus, continuation); + obj = T0(rVar, rVar, function2); + } else { + int i = d0.w.d.e; + d.b bVar = d.b.a; + if (m.areEqual((d0.w.d) plus.get(bVar), (d0.w.d) context.get(bVar))) { + w1 w1Var = new w1(plus, continuation); + Object b2 = s.a.a.a.b(plus, null); + try { + Object T0 = T0(w1Var, w1Var, function2); + s.a.a.a.a(plus, b2); + obj = T0; + } catch (Throwable th) { + s.a.a.a.a(plus, b2); + throw th; + } + } else { + h0 h0Var = new h0(plus, continuation); + h0Var.Y(); + S0(function2, h0Var, h0Var, null, 4); + while (true) { + int i2 = h0Var._decision; + z2 = false; + if (i2 == 0) { + if (h0.m.compareAndSet(h0Var, 0, 1)) { + z2 = true; + break; + } + } else if (i2 != 2) { + throw new IllegalStateException("Already suspended".toString()); + } + } + if (z2) { + obj = d0.w.h.c.getCOROUTINE_SUSPENDED(); + } else { + obj = h1.a(h0Var.G()); + if (obj instanceof v) { + throw ((v) obj).b; + } + } + } + } + if (obj == d0.w.h.c.getCOROUTINE_SUSPENDED()) { + g.probeCoroutineSuspended(continuation); + } + return obj; + } + throw job.n(); + } + + @NonNull + @Deprecated + public static Task l(@NonNull Executor executor, @NonNull Callable callable) { + c.c.a.a0.d.z(executor, "Executor must not be null"); + c.c.a.a0.d.z(callable, "Callback must not be null"); + b0 b0Var = new b0(); + executor.execute(new c.i.a.f.n.d0(b0Var, callable)); + return b0Var; + } + + public static int l0(long j) { + return (int) (j ^ (j >>> 32)); + } + + @NonNull + public static c.o.a.x.c l1(@NonNull j jVar) { + return new c.o.a.x.k(jVar, null); + } + + public static final UndeliveredElementException m(Function1 function1, E e2, UndeliveredElementException undeliveredElementException) { + try { + function1.invoke(e2); + } catch (Throwable th) { + if (undeliveredElementException == null || undeliveredElementException.getCause() == th) { + return new UndeliveredElementException(c.d.b.a.a.u("Exception in undelivered element handler for ", e2), th); + } + d0.b.addSuppressed(undeliveredElementException, th); + } + return undeliveredElementException; + } + + public static /* synthetic */ l0 m0(Job job, boolean z2, boolean z3, Function1 function1, int i, Object obj) { + if ((i & 1) != 0) { + z2 = false; + } + if ((i & 2) != 0) { + z3 = true; + } + return job.f(z2, z3, function1); + } + + public static Class m1(Class cls) { + return cls == Integer.TYPE ? Integer.class : cls == Float.TYPE ? Float.class : cls == Byte.TYPE ? Byte.class : cls == Double.TYPE ? Double.class : cls == Long.TYPE ? Long.class : cls == Character.TYPE ? Character.class : cls == Boolean.TYPE ? Boolean.class : cls == Short.TYPE ? Short.class : cls == Void.TYPE ? Void.class : cls; + } + + public static final void n(CoroutineScope coroutineScope, CancellationException cancellationException) { + Job job = (Job) coroutineScope.getCoroutineContext().get(Job.h); + if (job != null) { + job.A(cancellationException); + return; + } + throw new IllegalStateException(("Scope cannot be cancelled because it does not have a job: " + coroutineScope).toString()); + } + + public static l0 n0(long j, Runnable runnable, CoroutineContext coroutineContext) { + return d0.a.u(j, runnable, coroutineContext); + } + + public static int n1(int i, byte[] bArr, int i2, int i3, s3 s3Var) throws zzij { + if ((i >>> 3) != 0) { + int i4 = i & 7; + if (i4 == 0) { + return S1(bArr, i2, s3Var); + } + if (i4 == 1) { + return i2 + 8; + } + if (i4 == 2) { + return v1(bArr, i2, s3Var) + s3Var.a; + } + if (i4 == 3) { + int i5 = (i & -8) | 4; + int i6 = 0; + while (i2 < i3) { + i2 = v1(bArr, i2, s3Var); + i6 = s3Var.a; + if (i6 == i5) { + break; + } + i2 = n1(i6, bArr, i2, i3, s3Var); + } + if (i2 <= i3 && i6 == i5) { + return i2; + } + throw zzij.d(); + } else if (i4 == 5) { + return i2 + 4; + } else { + throw zzij.c(); + } + } else { + throw zzij.c(); + } + } + + public static void o(CoroutineContext coroutineContext, CancellationException cancellationException, int i, Object obj) { + int i2 = i & 1; + Job job = (Job) coroutineContext.get(Job.h); + if (job != null) { + job.A(null); + } + } + + public static final boolean o0(CoroutineScope coroutineScope) { + Job job = (Job) coroutineScope.getCoroutineContext().get(Job.h); + if (job != null) { + return job.a(); + } + return true; + } + + public static int o1(int i, byte[] bArr, int i2, int i3, b5 b5Var, s3 s3Var) { + x4 x4Var = (x4) b5Var; + int v1 = v1(bArr, i2, s3Var); + x4Var.g(s3Var.a); + while (v1 < i3) { + int v12 = v1(bArr, v1, s3Var); + if (i != s3Var.a) { + break; + } + v1 = v1(bArr, v12, s3Var); + x4Var.g(s3Var.a); + } + return v1; + } + + public static /* synthetic */ void p(Job job, CancellationException cancellationException, int i, Object obj) { + int i2 = i & 1; + job.A(null); + } + + public static final boolean p0(AssertionError assertionError) { + m.checkParameterIsNotNull(assertionError, "$this$isAndroidGetsocknameError"); + if (assertionError.getCause() == null) { + return false; + } + String message = assertionError.getMessage(); + return message != null ? d0.g0.w.contains$default(message, "getsockname failed", false, 2, null) : false; + } + + public static int p1(int i, byte[] bArr, int i2, int i3, c7 c7Var, s3 s3Var) throws zzij { + if ((i >>> 3) != 0) { + int i4 = i & 7; + if (i4 == 0) { + int S1 = S1(bArr, i2, s3Var); + c7Var.a(i, Long.valueOf(s3Var.b)); + return S1; + } else if (i4 == 1) { + c7Var.a(i, Long.valueOf(T1(bArr, i2))); + return i2 + 8; + } else if (i4 == 2) { + int v1 = v1(bArr, i2, s3Var); + int i5 = s3Var.a; + if (i5 < 0) { + throw zzij.b(); + } else if (i5 <= bArr.length - v1) { + if (i5 == 0) { + c7Var.a(i, t3.i); + } else { + c7Var.a(i, t3.h(bArr, v1, i5)); + } + return v1 + i5; + } else { + throw zzij.a(); + } + } else if (i4 == 3) { + c7 c2 = c7.c(); + int i6 = (i & -8) | 4; + int i7 = 0; + while (true) { + if (i2 >= i3) { + break; + } + int v12 = v1(bArr, i2, s3Var); + int i8 = s3Var.a; + if (i8 == i6) { + i7 = i8; + i2 = v12; + break; + } + i7 = i8; + i2 = p1(i8, bArr, v12, i3, c2, s3Var); + } + if (i2 > i3 || i7 != i6) { + throw zzij.d(); + } + c7Var.a(i, c2); + return i2; + } else if (i4 == 5) { + c7Var.a(i, Integer.valueOf(u1(bArr, i2))); + return i2 + 4; + } else { + throw zzij.c(); + } + } else { + throw zzij.c(); + } + } + + public static void q(boolean z2) { + if (!z2) { + throw new IllegalArgumentException(); + } + } + + @RecentlyNonNull + public static boolean q0() { + return Build.VERSION.SDK_INT >= 26; + } + + public static int q1(int i, byte[] bArr, int i2, s3 s3Var) { + int i3 = i & 127; + int i4 = i2 + 1; + byte b2 = bArr[i2]; + if (b2 >= 0) { + s3Var.a = i3 | (b2 << 7); + return i4; + } + int i5 = i3 | ((b2 & Byte.MAX_VALUE) << 7); + int i6 = i4 + 1; + byte b3 = bArr[i4]; + if (b3 >= 0) { + s3Var.a = i5 | (b3 << 14); + return i6; + } + int i7 = i5 | ((b3 & Byte.MAX_VALUE) << 14); + int i8 = i6 + 1; + byte b4 = bArr[i6]; + if (b4 >= 0) { + s3Var.a = i7 | (b4 << 21); + return i8; + } + int i9 = i7 | ((b4 & Byte.MAX_VALUE) << 21); + int i10 = i8 + 1; + byte b5 = bArr[i8]; + if (b5 >= 0) { + s3Var.a = i9 | (b5 << 28); + return i10; + } + int i11 = i9 | ((b5 & Byte.MAX_VALUE) << 28); + while (true) { + int i12 = i10 + 1; + if (bArr[i10] >= 0) { + s3Var.a = i11; + return i12; + } + i10 = i12; + } + } + + public static void r(boolean z2) { + if (!z2) { + throw new IllegalArgumentException(); + } + } + + public static final boolean r0(int i) { + return i == 1 || i == 2; + } + + public static int r1(q6 q6Var, int i, byte[] bArr, int i2, int i3, b5 b5Var, s3 s3Var) throws IOException { + int t1 = t1(q6Var, bArr, i2, i3, s3Var); + b5Var.add(s3Var.f1168c); + while (t1 < i3) { + int v1 = v1(bArr, t1, s3Var); + if (i != s3Var.a) { + break; + } + t1 = t1(q6Var, bArr, v1, i3, s3Var); + b5Var.add(s3Var.f1168c); + } + return t1; + } + + @CanIgnoreReturnValue + public static int s(int i, int i2) { + String str; + if (i >= 0 && i < i2) { + return i; + } + if (i < 0) { + str = y0("%s (%s) must not be negative", "index", Integer.valueOf(i)); + } else if (i2 >= 0) { + str = y0("%s (%s) must be less than size (%s)", "index", Integer.valueOf(i), Integer.valueOf(i2)); + } else { + throw new IllegalArgumentException(c.d.b.a.a.p("negative size: ", i2)); + } + throw new IndexOutOfBoundsException(str); + } + + public static boolean s0(Camera camera) { + List supportedFlashModes; + if (camera != null) { + Camera.Parameters parameters = camera.getParameters(); + if (parameters.getFlashMode() != null && (supportedFlashModes = parameters.getSupportedFlashModes()) != null && !supportedFlashModes.isEmpty() && (supportedFlashModes.size() != 1 || !supportedFlashModes.get(0).equals("off"))) { + return true; + } + } + return false; + } + + public static int s1(q6 q6Var, byte[] bArr, int i, int i2, int i3, s3 s3Var) throws IOException { + e6 e6Var = (e6) q6Var; + Object b2 = e6Var.m.b(e6Var.g); + int m = e6Var.m(b2, bArr, i, i2, i3, s3Var); + e6Var.d(b2); + s3Var.f1168c = b2; + return m; + } + + @CanIgnoreReturnValue + public static Object t(Object obj, int i) { + if (obj != null) { + return obj; + } + throw new NullPointerException(c.d.b.a.a.p("at index ", i)); + } + + @RecentlyNonNull + public static boolean t0(@RecentlyNonNull Context context, @RecentlyNonNull int i) { + if (!i1(context, i, "com.google.android.gms")) { + return false; + } + try { + PackageInfo packageInfo = context.getPackageManager().getPackageInfo("com.google.android.gms", 64); + c.i.a.f.e.f a2 = c.i.a.f.e.f.a(context); + Objects.requireNonNull(a2); + if (packageInfo == null) { + return false; + } + if (!c.i.a.f.e.f.d(packageInfo, false)) { + if (!c.i.a.f.e.f.d(packageInfo, true)) { + return false; + } + if (!c.i.a.f.e.e.a(a2.b)) { + Log.w("GoogleSignatureVerifier", "Test-keys aren't accepted on this build."); + return false; + } + } + return true; + } catch (PackageManager.NameNotFoundException unused) { + if (Log.isLoggable("UidVerifier", 3)) { + Log.d("UidVerifier", "Package manager can't find google play services package, defaulting to false"); + } + return false; + } + } + + public static int t1(q6 q6Var, byte[] bArr, int i, int i2, s3 s3Var) throws IOException { + int i3 = i + 1; + byte b2 = bArr[i]; + byte b3 = b2; + if (b2 < 0) { + i3 = q1(b2, bArr, i3, s3Var); + b3 = s3Var.a; + } + if (b3 < 0 || b3 > i2 - i3) { + throw zzij.a(); + } + Object a2 = q6Var.a(); + int i4 = (b3 == 1 ? 1 : 0) + i3; + q6Var.h(a2, bArr, i3, i4, s3Var); + q6Var.d(a2); + s3Var.f1168c = a2; + return i4; + } + + public static void u(Object obj, Object obj2) { + if (obj == null) { + throw new NullPointerException(c.d.b.a.a.u("null key in entry: null=", obj2)); + } else if (obj2 == null) { + throw new NullPointerException("null value in entry: " + obj + "=null"); + } + } + + @RecentlyNonNull + public static synchronized boolean u0(@RecentlyNonNull Context context) { + Boolean bool; + synchronized (f.class) { + Context applicationContext = context.getApplicationContext(); + Context context2 = b; + if (context2 != null && (bool = f1104c) != null && context2 == applicationContext) { + return bool.booleanValue(); + } + f1104c = null; + if (q0()) { + f1104c = Boolean.valueOf(applicationContext.getPackageManager().isInstantApp()); + } else { + try { + context.getClassLoader().loadClass("com.google.android.instantapps.supervisor.InstantAppsRuntime"); + f1104c = Boolean.TRUE; + } catch (ClassNotFoundException unused) { + f1104c = Boolean.FALSE; + } + } + b = applicationContext; + return f1104c.booleanValue(); + } + } + + public static int u1(byte[] bArr, int i) { + return ((bArr[i + 3] & 255) << 24) | (bArr[i] & 255) | ((bArr[i + 1] & 255) << 8) | ((bArr[i + 2] & 255) << 16); + } + + @CanIgnoreReturnValue + public static int v(int i, String str) { + if (i >= 0) { + return i; + } + throw new IllegalArgumentException(str + " cannot be negative but was: " + i); + } + + public static final boolean v0(g0.e eVar) { + m.checkParameterIsNotNull(eVar, "$this$isProbablyUtf8"); + try { + g0.e eVar2 = new g0.e(); + eVar.n(eVar2, 0, d0.d0.f.coerceAtMost(eVar.j, 64)); + for (int i = 0; i < 16; i++) { + if (eVar2.w()) { + return true; + } + int I = eVar2.I(); + if (Character.isISOControl(I) && !Character.isWhitespace(I)) { + return false; + } + } + return true; + } catch (EOFException unused) { + return false; + } + } + + public static int v1(byte[] bArr, int i, s3 s3Var) { + int i2 = i + 1; + byte b2 = bArr[i]; + if (b2 < 0) { + return q1(b2, bArr, i2, s3Var); + } + s3Var.a = b2; + return i2; + } + + public static final void w(long j, long j2, long j3) { + if ((j2 | j3) < 0 || j2 > j || j - j2 < j3) { + throw new ArrayIndexOutOfBoundsException("size=" + j + " offset=" + j2 + " byteCount=" + j3); + } + } + + public static final Job w0(CoroutineScope coroutineScope, CoroutineContext coroutineContext, CoroutineStart coroutineStart, Function2, ? extends Object> function2) { + CoroutineContext a2 = y.a(coroutineScope, coroutineContext); + Objects.requireNonNull(coroutineStart); + s.a.b j1Var = coroutineStart == CoroutineStart.LAZY ? new j1(a2, function2) : new q1(a2, true); + j1Var.a0(coroutineStart, j1Var, function2); + return j1Var; + } + + public static int w1(byte[] bArr, int i, b5 b5Var, s3 s3Var) throws IOException { + x4 x4Var = (x4) b5Var; + int v1 = v1(bArr, i, s3Var); + int i2 = s3Var.a + v1; + while (v1 < i2) { + v1 = v1(bArr, v1, s3Var); + x4Var.g(s3Var.a); + } + if (v1 == i2) { + return v1; + } + throw zzij.a(); + } + + @CanIgnoreReturnValue + public static int x(int i, int i2) { + if (i >= 0 && i <= i2) { + return i; + } + throw new IndexOutOfBoundsException(j(i, i2, "index")); + } + + public static /* synthetic */ Job x0(CoroutineScope coroutineScope, CoroutineContext coroutineContext, CoroutineStart coroutineStart, Function2 function2, int i, Object obj) { + if ((i & 1) != 0) { + coroutineContext = d0.w.f.i; + } + return w0(coroutineScope, coroutineContext, (i & 2) != 0 ? CoroutineStart.DEFAULT : null, function2); + } + + public static z2 x1(z2 z2Var) { + return ((z2Var instanceof c3) || (z2Var instanceof a3)) ? z2Var : z2Var instanceof Serializable ? new a3(z2Var) : new c3(z2Var); + } + + public static void y(int i, int i2, int i3) { + if (i < 0 || i2 < i || i2 > i3) { + throw new IndexOutOfBoundsException((i < 0 || i > i3) ? j(i, i3, "start index") : (i2 < 0 || i2 > i3) ? j(i2, i3, "end index") : y0("end index (%s) must not be less than start index (%s)", Integer.valueOf(i2), Integer.valueOf(i))); + } + } + + public static String y0(@NullableDecl String str, @NullableDecl Object... objArr) { + int indexOf; + String str2; + String valueOf = String.valueOf(str); + int i = 0; + for (int i2 = 0; i2 < objArr.length; i2++) { + Object obj = objArr[i2]; + try { + str2 = String.valueOf(obj); + } catch (Exception e2) { + String str3 = obj.getClass().getName() + MentionUtilsKt.MENTIONS_CHAR + Integer.toHexString(System.identityHashCode(obj)); + Logger.getLogger("com.google.common.base.Strings").log(Level.WARNING, "Exception during lenientFormat for " + str3, (Throwable) e2); + str2 = "<" + str3 + " threw " + e2.getClass().getName() + ">"; + } + objArr[i2] = str2; + } + StringBuilder sb = new StringBuilder((objArr.length * 16) + valueOf.length()); + int i3 = 0; + while (i < objArr.length && (indexOf = valueOf.indexOf("%s", i3)) != -1) { + sb.append((CharSequence) valueOf, i3, indexOf); + sb.append(objArr[i]); + i3 = indexOf + 2; + i++; + } + sb.append((CharSequence) valueOf, i3, valueOf.length()); + if (i < objArr.length) { + sb.append(" ["); + sb.append(objArr[i]); + for (int i4 = i + 1; i4 < objArr.length; i4++) { + sb.append(", "); + sb.append(objArr[i4]); + } + sb.append(']'); + } + return sb.toString(); + } + + public static FirebaseAppIndexingException y1(@NonNull Status status, String str) { + String str2 = status.p; + if (str2 != null && !str2.isEmpty()) { + str = str2; + } + int i = status.o; + if (i == 17510) { + return new FirebaseAppIndexingInvalidArgumentException(str); + } + if (i == 17511) { + return new FirebaseAppIndexingTooManyArgumentsException(str); + } + if (i == 17602) { + return new zzh(str); + } + switch (i) { + case 17513: + return new zzb(str); + case 17514: + return new zza(str); + case 17515: + return new zzg(str); + case 17516: + return new zze(str); + case 17517: + return new zzf(str); + case 17518: + return new zzd(str); + case 17519: + return new zzc(str); + default: + return new FirebaseAppIndexingException(str); + } + } + + public static void z(boolean z2) { + if (!z2) { + throw new IllegalStateException("no calls to next() since the last call to remove()"); + } + } + + public static final float[] z0(float[] fArr) { + m.checkNotNullParameter(fArr, "matrix"); + return (float[]) fArr.clone(); + } + + public static T z1(@NonNull Bundle bundle, String str, Class cls, T t) { + T t2 = (T) bundle.get(str); + if (t2 == null) { + return t; + } + if (cls.isAssignableFrom(t2.getClass())) { + return t2; + } + throw new IllegalStateException(String.format("Invalid conditional user property field type. '%s' expected [%s] but was [%s]", str, cls.getCanonicalName(), t2.getClass().getCanonicalName())); } } diff --git a/app/src/main/java/c/i/a/f/e/o/i.java b/app/src/main/java/c/i/a/f/e/o/i.java index 3efa232ec0..3cb4667fe8 100644 --- a/app/src/main/java/c/i/a/f/e/o/i.java +++ b/app/src/main/java/c/i/a/f/e/o/i.java @@ -18,7 +18,7 @@ public class i { @Nullable /* renamed from: c reason: collision with root package name */ - public static final Method f1137c; + public static final Method f1105c; @Nullable public static final Method d; @@ -45,7 +45,7 @@ public class i { } catch (Exception unused3) { method3 = null; } - f1137c = method3; + f1105c = method3; try { WorkSource.class.getMethod("get", Integer.TYPE); } catch (Exception unused4) { diff --git a/app/src/main/java/c/i/a/f/e/p/a.java b/app/src/main/java/c/i/a/f/e/p/a.java index ade3ebc618..9d53bf2865 100644 --- a/app/src/main/java/c/i/a/f/e/p/a.java +++ b/app/src/main/java/c/i/a/f/e/p/a.java @@ -7,7 +7,7 @@ import android.content.pm.PackageManager; import android.os.Binder; import android.os.Process; import androidx.annotation.RecentlyNonNull; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ public class a { public final Context a; @@ -30,9 +30,9 @@ public class a { public boolean c() { String nameForUid; if (Binder.getCallingUid() == Process.myUid()) { - return c.T(this.a); + return f.u0(this.a); } - if (!c.R() || (nameForUid = this.a.getPackageManager().getNameForUid(Binder.getCallingUid())) == null) { + if (!f.q0() || (nameForUid = this.a.getPackageManager().getNameForUid(Binder.getCallingUid())) == null) { return false; } return this.a.getPackageManager().isInstantApp(nameForUid); diff --git a/app/src/main/java/c/i/a/f/e/q.java b/app/src/main/java/c/i/a/f/e/q.java index 1f5524e885..75e4856f3a 100644 --- a/app/src/main/java/c/i/a/f/e/q.java +++ b/app/src/main/java/c/i/a/f/e/q.java @@ -10,27 +10,27 @@ public final class q implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final ConnectionResult createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; PendingIntent pendingIntent = null; String str = null; int i2 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i3 = 65535 & readInt; if (i3 == 1) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i3 == 2) { - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); } else if (i3 == 3) { - pendingIntent = (PendingIntent) d.S(parcel, readInt, PendingIntent.CREATOR); + pendingIntent = (PendingIntent) d.P(parcel, readInt, PendingIntent.CREATOR); } else if (i3 != 4) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new ConnectionResult(i, i2, pendingIntent, str); } diff --git a/app/src/main/java/c/i/a/f/e/r.java b/app/src/main/java/c/i/a/f/e/r.java index 06c8a6c2cb..c906e7c480 100644 --- a/app/src/main/java/c/i/a/f/e/r.java +++ b/app/src/main/java/c/i/a/f/e/r.java @@ -9,24 +9,24 @@ public final class r implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final Feature createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; int i = 0; long j = -1; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 1) { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } else if (i2 == 2) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i2 != 3) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - j = d.H1(parcel, readInt); + j = d.F1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new Feature(str, i, j); } diff --git a/app/src/main/java/c/i/a/f/e/s.java b/app/src/main/java/c/i/a/f/e/s.java index 6ae27e8547..e581d8ed08 100644 --- a/app/src/main/java/c/i/a/f/e/s.java +++ b/app/src/main/java/c/i/a/f/e/s.java @@ -18,16 +18,16 @@ public final class s { public static final Object b = new Object(); /* renamed from: c reason: collision with root package name */ - public static Context f1138c; + public static Context f1106c; public static a0 a(String str, t tVar, boolean z2, boolean z3) { o0 o0Var; try { if (a == null) { - Objects.requireNonNull(f1138c, "null reference"); + Objects.requireNonNull(f1106c, "null reference"); synchronized (b) { if (a == null) { - IBinder b2 = DynamiteModule.c(f1138c, DynamiteModule.i, "com.google.android.gms.googlecertificates").b("com.google.android.gms.common.GoogleCertificatesImpl"); + IBinder b2 = DynamiteModule.c(f1106c, DynamiteModule.i, "com.google.android.gms.googlecertificates").b("com.google.android.gms.common.GoogleCertificatesImpl"); int i = n0.a; if (b2 == null) { o0Var = null; @@ -39,9 +39,9 @@ public final class s { } } } - Objects.requireNonNull(f1138c, "null reference"); + Objects.requireNonNull(f1106c, "null reference"); try { - return a.t0(new zzj(str, tVar, z2, z3), new b(f1138c.getPackageManager())) ? a0.a : new c0(new u(z2, str, tVar), null); + return a.r0(new zzj(str, tVar, z2, z3), new b(f1106c.getPackageManager())) ? a0.a : new c0(new u(z2, str, tVar), null); } catch (RemoteException e) { Log.e("GoogleCertificates", "Failed to get Google certificates from remote", e); return a0.b("module call", e); diff --git a/app/src/main/java/c/i/a/f/e/t.java b/app/src/main/java/c/i/a/f/e/t.java index 1ae4f95e10..56c6c051c9 100644 --- a/app/src/main/java/c/i/a/f/e/t.java +++ b/app/src/main/java/c/i/a/f/e/t.java @@ -15,7 +15,7 @@ public abstract class t extends m0 { public int b; public t(byte[] bArr) { - d.m(bArr.length == 25); + d.l(bArr.length == 25); this.b = Arrays.hashCode(bArr); } diff --git a/app/src/main/java/c/i/a/f/e/u.java b/app/src/main/java/c/i/a/f/e/u.java index 1b61b74620..e5a1d3c64c 100644 --- a/app/src/main/java/c/i/a/f/e/u.java +++ b/app/src/main/java/c/i/a/f/e/u.java @@ -1,7 +1,7 @@ package c.i.a.f.e; import c.i.a.f.e.o.a; -import c.i.a.f.e.o.e; +import c.i.a.f.e.o.d; import com.adjust.sdk.Constants; import java.security.MessageDigest; import java.util.Objects; @@ -39,7 +39,7 @@ public final /* synthetic */ class u implements Callable { for (byte b : digest) { int i2 = b & 255; int i3 = i + 1; - char[] cArr2 = e.b; + char[] cArr2 = d.b; cArr[i] = cArr2[i2 >>> 4]; i = i3 + 1; cArr[i3] = cArr2[i2 & 15]; diff --git a/app/src/main/java/c/i/a/f/e/v.java b/app/src/main/java/c/i/a/f/e/v.java index e0189d014b..bdcba5ab7a 100644 --- a/app/src/main/java/c/i/a/f/e/v.java +++ b/app/src/main/java/c/i/a/f/e/v.java @@ -5,8 +5,8 @@ import java.lang.ref.WeakReference; public abstract class v extends t { /* renamed from: c reason: collision with root package name */ - public static final WeakReference f1139c = new WeakReference<>(null); - public WeakReference d = f1139c; + public static final WeakReference f1107c = new WeakReference<>(null); + public WeakReference d = f1107c; public v(byte[] bArr) { super(bArr); @@ -18,12 +18,12 @@ public abstract class v extends t { synchronized (this) { bArr = this.d.get(); if (bArr == null) { - bArr = y0(); + bArr = x0(); this.d = new WeakReference<>(bArr); } } return bArr; } - public abstract byte[] y0(); + public abstract byte[] x0(); } diff --git a/app/src/main/java/c/i/a/f/e/w.java b/app/src/main/java/c/i/a/f/e/w.java index d9a701b6f0..f0cd18b325 100644 --- a/app/src/main/java/c/i/a/f/e/w.java +++ b/app/src/main/java/c/i/a/f/e/w.java @@ -5,15 +5,15 @@ import java.util.Arrays; public final class w extends t { /* renamed from: c reason: collision with root package name */ - public final byte[] f1140c; + public final byte[] f1108c; public w(byte[] bArr) { super(Arrays.copyOfRange(bArr, 0, 25)); - this.f1140c = bArr; + this.f1108c = bArr; } @Override // c.i.a.f.e.t public final byte[] g() { - return this.f1140c; + return this.f1108c; } } diff --git a/app/src/main/java/c/i/a/f/e/x.java b/app/src/main/java/c/i/a/f/e/x.java index ed62637ca9..98427fb525 100644 --- a/app/src/main/java/c/i/a/f/e/x.java +++ b/app/src/main/java/c/i/a/f/e/x.java @@ -6,7 +6,7 @@ public final class x extends v { } @Override // c.i.a.f.e.v - public final byte[] y0() { + public final byte[] x0() { return t.h("0‚\u0004C0‚\u0003+ \u0003\u0002\u0001\u0002\u0002\t\u0000Âà‡FdJ00\r\u0006\t*†H†÷\r\u0001\u0001\u0004\u0005\u00000t1\u000b0\t\u0006\u0003U\u0004\u0006\u0013\u0002US1\u00130\u0011\u0006\u0003U\u0004\b\u0013\nCalifornia1\u00160\u0014\u0006\u0003U\u0004\u0007\u0013\rMountain View1\u00140\u0012\u0006\u0003U\u0004\n\u0013\u000bGoogle Inc.1\u00100\u000e\u0006\u0003U\u0004\u000b\u0013\u0007Android1\u00100\u000e\u0006\u0003U\u0004\u0003\u0013\u0007Android0\u001e\u0017\r080821231334Z\u0017\r360107231334Z0t1\u000b0\t\u0006\u0003U\u0004\u0006\u0013\u0002US1\u00130\u0011\u0006\u0003U\u0004\b\u0013\nCalifornia1\u00160\u0014\u0006\u0003U\u0004\u0007\u0013\rMountain View1\u00140\u0012\u0006\u0003U\u0004\n\u0013\u000bGoogle Inc.1\u00100\u000e\u0006\u0003U\u0004\u000b\u0013\u0007Android1\u00100\u000e\u0006\u0003U\u0004\u0003\u0013\u0007Android0‚\u0001 0\r\u0006\t*†H†÷\r\u0001\u0001\u0001\u0005\u0000\u0003‚\u0001\r\u00000‚\u0001\b\u0002‚\u0001\u0001\u0000«V.\u0000Ø;¢\b®\n–o\u0012N)Ú\u0011ò«VЏXâÌ©\u0013\u0003é·TÓrö@§\u001b\u001dË\u0013\tgbNFV§wj’\u0019=²å¿·$©\u001ew\u0018‹\u000ejG¤;3Ù`›w\u00181EÌß{.XftÉáV[\u001fLjYU¿òQ¦=«ùÅ\\'\"\"Rèuäø\u0015Jd_‰qhÀ±¿Æ\u0012ê¿xWi»4ªy„Ü~.¢vL®ƒ\u0007ØÁqT×î_d¥\u001aD¦\u0002ÂI\u0005AWÜ\u0002Í_\\\u000eUûï…\u0019ûã'ð±Q\u0016’Å o\u0019у…õÄÛÂÖ¹?hÌ)yÇ\u000e\u0018«“†k;Õۉ™U*\u000e;L™ßXû‘‹íÁ‚º5à\u0003Á´±\rÒD¨î$ÿý38r«R!˜^Ú°ü\r\u000b\u0014[j¡’…Žy\u0002\u0001\u0003£Ù0Ö0\u001d\u0006\u0003U\u001d\u000e\u0004\u0016\u0004\u0014Ç}ŒÂ!\u0017V%šӂßkã˜ä׆¥0¦\u0006\u0003U\u001d#\u0004ž0›€\u0014Ç}ŒÂ!\u0017V%šӂßkã˜ä׆¥¡x¤v0t1\u000b0\t\u0006\u0003U\u0004\u0006\u0013\u0002US1\u00130\u0011\u0006\u0003U\u0004\b\u0013\nCalifornia1\u00160\u0014\u0006\u0003U\u0004\u0007\u0013\rMountain View1\u00140\u0012\u0006\u0003U\u0004\n\u0013\u000bGoogle Inc.1\u00100\u000e\u0006\u0003U\u0004\u000b\u0013\u0007Android1\u00100\u000e\u0006\u0003U\u0004\u0003\u0013\u0007Android‚\t\u0000Âà‡FdJ00\f\u0006\u0003U\u001d\u0013\u0004\u00050\u0003\u0001\u0001ÿ0\r\u0006\t*†H†÷\r\u0001\u0001\u0004\u0005\u0000\u0003‚\u0001\u0001\u0000mÒRÎï…0,6\nªÎ“›ÏòÌ©\u0004»]z\u0016aø®F²™B\u0004ÐÿJhÇí\u001aS\u001eÄYZb<æ\u0007c±g)zzãW\u0012Ä\u0007ò\bðË\u0010”)\u0012M{\u0010b\u0019À„Ê>³ù­_¸qï’&š‹â‹ñmDÈÙ Žl²ð\u0005»?â˖D~†Žs\u0010v­E³?`\tê\u0019Áaæ&Aª™'\u001dýR(Å҇]ÛE'XÖaöÌ\fÌ·5.BLÄ6\\R52÷2Q7Y‚…œfCéÁ–/ Áƒ33[Àÿšk\"ÞÑ­DB)¥9©Nï­«ÐeÎÒK>QåÝ{fx{ï\u0012þ—û¤„Ä#ûOøÌIL\u0002ðõ\u0005\u0016\u0012ÿe)9>ŽFêÅ»!òwÁQª_*¦'Ñ蝧\n¶\u00035iÞ;˜—¿ÿ|©Ú>\u0012Cö\u000b"); } } diff --git a/app/src/main/java/c/i/a/f/f/a.java b/app/src/main/java/c/i/a/f/f/a.java index d35c8f2db5..1e626976f2 100644 --- a/app/src/main/java/c/i/a/f/f/a.java +++ b/app/src/main/java/c/i/a/f/f/a.java @@ -9,17 +9,17 @@ public interface a extends IInterface { /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ /* renamed from: c.i.a.f.f.a$a reason: collision with other inner class name */ - public static abstract class AbstractBinderC0112a extends c.i.a.f.h.g.a implements a { + public static abstract class AbstractBinderC0110a extends c.i.a.f.h.g.a implements a { /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ /* renamed from: c.i.a.f.f.a$a$a reason: collision with other inner class name */ - public static class C0113a extends b implements a { - public C0113a(IBinder iBinder) { + public static class C0111a extends b implements a { + public C0111a(IBinder iBinder) { super(iBinder, "com.google.android.gms.dynamic.IObjectWrapper"); } } - public AbstractBinderC0112a() { + public AbstractBinderC0110a() { super("com.google.android.gms.dynamic.IObjectWrapper"); } @@ -29,7 +29,7 @@ public interface a extends IInterface { return null; } IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.dynamic.IObjectWrapper"); - return queryLocalInterface instanceof a ? (a) queryLocalInterface : new C0113a(iBinder); + return queryLocalInterface instanceof a ? (a) queryLocalInterface : new C0111a(iBinder); } } } diff --git a/app/src/main/java/c/i/a/f/f/b.java b/app/src/main/java/c/i/a/f/f/b.java index 61e0a29c8f..fc989f3d30 100644 --- a/app/src/main/java/c/i/a/f/f/b.java +++ b/app/src/main/java/c/i/a/f/f/b.java @@ -6,7 +6,7 @@ import c.i.a.f.f.a; import java.lang.reflect.Field; import java.util.Objects; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ -public final class b extends a.AbstractBinderC0112a { +public final class b extends a.AbstractBinderC0110a { public final T a; public b(T t) { diff --git a/app/src/main/java/c/i/a/f/g/b.java b/app/src/main/java/c/i/a/f/g/b.java index c186de296c..04cfa2fe06 100644 --- a/app/src/main/java/c/i/a/f/g/b.java +++ b/app/src/main/java/c/i/a/f/g/b.java @@ -5,17 +5,17 @@ import com.google.android.gms.dynamite.DynamiteModule; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ public final class b implements DynamiteModule.a { @Override // com.google.android.gms.dynamite.DynamiteModule.a - public final DynamiteModule.a.C0303a a(Context context, String str, DynamiteModule.a.b bVar) throws DynamiteModule.LoadingException { - DynamiteModule.a.C0303a aVar = new DynamiteModule.a.C0303a(); + public final DynamiteModule.a.C0190a a(Context context, String str, DynamiteModule.a.b bVar) throws DynamiteModule.LoadingException { + DynamiteModule.a.C0190a aVar = new DynamiteModule.a.C0190a(); int b = bVar.b(context, str); aVar.a = b; if (b != 0) { - aVar.f2805c = -1; + aVar.f2386c = -1; } else { int a = bVar.a(context, str, true); aVar.b = a; if (a != 0) { - aVar.f2805c = 1; + aVar.f2386c = 1; } } return aVar; diff --git a/app/src/main/java/c/i/a/f/g/c.java b/app/src/main/java/c/i/a/f/g/c.java index 99fd8ba272..d627c71c3a 100644 --- a/app/src/main/java/c/i/a/f/g/c.java +++ b/app/src/main/java/c/i/a/f/g/c.java @@ -5,8 +5,8 @@ import com.google.android.gms.dynamite.DynamiteModule; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ public final class c implements DynamiteModule.a { @Override // com.google.android.gms.dynamite.DynamiteModule.a - public final DynamiteModule.a.C0303a a(Context context, String str, DynamiteModule.a.b bVar) throws DynamiteModule.LoadingException { - DynamiteModule.a.C0303a aVar = new DynamiteModule.a.C0303a(); + public final DynamiteModule.a.C0190a a(Context context, String str, DynamiteModule.a.b bVar) throws DynamiteModule.LoadingException { + DynamiteModule.a.C0190a aVar = new DynamiteModule.a.C0190a(); int b = bVar.b(context, str); aVar.a = b; if (b != 0) { @@ -16,11 +16,11 @@ public final class c implements DynamiteModule.a { } int i = aVar.a; if (i == 0 && aVar.b == 0) { - aVar.f2805c = 0; + aVar.f2386c = 0; } else if (i >= aVar.b) { - aVar.f2805c = -1; + aVar.f2386c = -1; } else { - aVar.f2805c = 1; + aVar.f2386c = 1; } return aVar; } diff --git a/app/src/main/java/c/i/a/f/g/d.java b/app/src/main/java/c/i/a/f/g/d.java index 7d02fe7149..d4ea1c671f 100644 --- a/app/src/main/java/c/i/a/f/g/d.java +++ b/app/src/main/java/c/i/a/f/g/d.java @@ -5,18 +5,18 @@ import com.google.android.gms.dynamite.DynamiteModule; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ public final class d implements DynamiteModule.a { @Override // com.google.android.gms.dynamite.DynamiteModule.a - public final DynamiteModule.a.C0303a a(Context context, String str, DynamiteModule.a.b bVar) throws DynamiteModule.LoadingException { - DynamiteModule.a.C0303a aVar = new DynamiteModule.a.C0303a(); + public final DynamiteModule.a.C0190a a(Context context, String str, DynamiteModule.a.b bVar) throws DynamiteModule.LoadingException { + DynamiteModule.a.C0190a aVar = new DynamiteModule.a.C0190a(); aVar.a = bVar.b(context, str); int a = bVar.a(context, str, true); aVar.b = a; int i = aVar.a; if (i == 0 && a == 0) { - aVar.f2805c = 0; + aVar.f2386c = 0; } else if (a >= i) { - aVar.f2805c = 1; + aVar.f2386c = 1; } else { - aVar.f2805c = -1; + aVar.f2386c = -1; } return aVar; } diff --git a/app/src/main/java/c/i/a/f/g/f.java b/app/src/main/java/c/i/a/f/g/f.java index 34fa150249..7b733340f9 100644 --- a/app/src/main/java/c/i/a/f/g/f.java +++ b/app/src/main/java/c/i/a/f/g/f.java @@ -13,19 +13,19 @@ public final class f extends b implements g { } @Override // c.i.a.f.g.g - public final a A(a aVar, String str, int i) throws RemoteException { + public final a B(a aVar, String str, int i) throws RemoteException { Parcel e = e(); c.b(e, aVar); e.writeString(str); e.writeInt(i); Parcel g = g(2, e); - a g2 = a.AbstractBinderC0112a.g(g.readStrongBinder()); + a g2 = a.AbstractBinderC0110a.g(g.readStrongBinder()); g.recycle(); return g2; } @Override // c.i.a.f.g.g - public final int O(a aVar, String str, boolean z2) throws RemoteException { + public final int R(a aVar, String str, boolean z2) throws RemoteException { Parcel e = e(); c.b(e, aVar); e.writeString(str); @@ -45,13 +45,13 @@ public final class f extends b implements g { } @Override // c.i.a.f.g.g - public final a b0(a aVar, String str, boolean z2) throws RemoteException { + public final a c0(a aVar, String str, boolean z2) throws RemoteException { Parcel e = e(); c.b(e, aVar); e.writeString(str); e.writeInt(z2 ? 1 : 0); Parcel g = g(7, e); - a g2 = a.AbstractBinderC0112a.g(g.readStrongBinder()); + a g2 = a.AbstractBinderC0110a.g(g.readStrongBinder()); g.recycle(); return g2; } @@ -64,7 +64,7 @@ public final class f extends b implements g { e.writeInt(i); c.b(e, aVar2); Parcel g = g(8, e); - a g2 = a.AbstractBinderC0112a.g(g.readStrongBinder()); + a g2 = a.AbstractBinderC0110a.g(g.readStrongBinder()); g.recycle(); return g2; } @@ -82,13 +82,13 @@ public final class f extends b implements g { } @Override // c.i.a.f.g.g - public final a h0(a aVar, String str, int i) throws RemoteException { + public final a i0(a aVar, String str, int i) throws RemoteException { Parcel e = e(); c.b(e, aVar); e.writeString(str); e.writeInt(i); Parcel g = g(4, e); - a g2 = a.AbstractBinderC0112a.g(g.readStrongBinder()); + a g2 = a.AbstractBinderC0110a.g(g.readStrongBinder()); g.recycle(); return g2; } diff --git a/app/src/main/java/c/i/a/f/g/g.java b/app/src/main/java/c/i/a/f/g/g.java index 164d3f3185..bd0e1c9e6e 100644 --- a/app/src/main/java/c/i/a/f/g/g.java +++ b/app/src/main/java/c/i/a/f/g/g.java @@ -5,17 +5,17 @@ import android.os.RemoteException; import c.i.a.f.f.a; /* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */ public interface g extends IInterface { - a A(a aVar, String str, int i) throws RemoteException; + a B(a aVar, String str, int i) throws RemoteException; - int O(a aVar, String str, boolean z2) throws RemoteException; + int R(a aVar, String str, boolean z2) throws RemoteException; int b() throws RemoteException; - a b0(a aVar, String str, boolean z2) throws RemoteException; + a c0(a aVar, String str, boolean z2) throws RemoteException; a d(a aVar, String str, int i, a aVar2) throws RemoteException; int d0(a aVar, String str, boolean z2) throws RemoteException; - a h0(a aVar, String str, int i) throws RemoteException; + a i0(a aVar, String str, int i) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/g/h.java b/app/src/main/java/c/i/a/f/g/h.java index 25163f1468..a31353d0a1 100644 --- a/app/src/main/java/c/i/a/f/g/h.java +++ b/app/src/main/java/c/i/a/f/g/h.java @@ -20,20 +20,20 @@ public final class h extends b implements i { e.writeInt(i); c.b(e, aVar2); Parcel g = g(2, e); - a g2 = a.AbstractBinderC0112a.g(g.readStrongBinder()); + a g2 = a.AbstractBinderC0110a.g(g.readStrongBinder()); g.recycle(); return g2; } @Override // c.i.a.f.g.i - public final a q(a aVar, String str, int i, a aVar2) throws RemoteException { + public final a r(a aVar, String str, int i, a aVar2) throws RemoteException { Parcel e = e(); c.b(e, aVar); e.writeString(str); e.writeInt(i); c.b(e, aVar2); Parcel g = g(3, e); - a g2 = a.AbstractBinderC0112a.g(g.readStrongBinder()); + a g2 = a.AbstractBinderC0110a.g(g.readStrongBinder()); g.recycle(); return g2; } diff --git a/app/src/main/java/c/i/a/f/g/i.java b/app/src/main/java/c/i/a/f/g/i.java index b98b9f4be2..d3cae766be 100644 --- a/app/src/main/java/c/i/a/f/g/i.java +++ b/app/src/main/java/c/i/a/f/g/i.java @@ -7,5 +7,5 @@ import c.i.a.f.f.a; public interface i extends IInterface { a d(a aVar, String str, int i, a aVar2) throws RemoteException; - a q(a aVar, String str, int i, a aVar2) throws RemoteException; + a r(a aVar, String str, int i, a aVar2) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/h/a/b.java b/app/src/main/java/c/i/a/f/h/a/b.java index 672ccea164..c585dd16ef 100644 --- a/app/src/main/java/c/i/a/f/h/a/b.java +++ b/app/src/main/java/c/i/a/f/h/a/b.java @@ -3,7 +3,7 @@ package c.i.a.f.h.a; import android.os.IInterface; import android.os.RemoteException; public interface b extends IInterface { - boolean D(boolean z2) throws RemoteException; + boolean E(boolean z2) throws RemoteException; String getId() throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/h/a/d.java b/app/src/main/java/c/i/a/f/h/a/d.java index 337292f8e6..c0cae48ead 100644 --- a/app/src/main/java/c/i/a/f/h/a/d.java +++ b/app/src/main/java/c/i/a/f/h/a/d.java @@ -13,7 +13,7 @@ public final class d implements b, IInterface { } @Override // c.i.a.f.h.a.b - public final boolean D(boolean z2) throws RemoteException { + public final boolean E(boolean z2) throws RemoteException { Parcel obtain = Parcel.obtain(); obtain.writeInterfaceToken(this.b); int i = a.a; diff --git a/app/src/main/java/c/i/a/f/h/b/b.java b/app/src/main/java/c/i/a/f/h/b/b.java index 13cbe6f3d0..1db828ba03 100644 --- a/app/src/main/java/c/i/a/f/h/b/b.java +++ b/app/src/main/java/c/i/a/f/h/b/b.java @@ -7,7 +7,7 @@ public final class b { public static final Feature b; /* renamed from: c reason: collision with root package name */ - public static final Feature f1141c; + public static final Feature f1109c; public static final Feature[] d; static { @@ -16,7 +16,7 @@ public final class b { Feature feature2 = new Feature("sms_retrieve", 1); b = feature2; Feature feature3 = new Feature("user_consent", 3); - f1141c = feature3; + f1109c = feature3; d = new Feature[]{feature, feature2, feature3}; } } diff --git a/app/src/main/java/c/i/a/f/h/b/d.java b/app/src/main/java/c/i/a/f/h/b/d.java index d3069694ce..1d4c2faf0b 100644 --- a/app/src/main/java/c/i/a/f/h/b/d.java +++ b/app/src/main/java/c/i/a/f/h/b/d.java @@ -14,7 +14,7 @@ public final class d implements e, IInterface { } @Override // c.i.a.f.h.b.e - public final void W(g gVar) throws RemoteException { + public final void Y(g gVar) throws RemoteException { Parcel obtain = Parcel.obtain(); obtain.writeInterfaceToken(this.b); int i = c.a; diff --git a/app/src/main/java/c/i/a/f/h/b/e.java b/app/src/main/java/c/i/a/f/h/b/e.java index e745734514..174707b69b 100644 --- a/app/src/main/java/c/i/a/f/h/b/e.java +++ b/app/src/main/java/c/i/a/f/h/b/e.java @@ -4,5 +4,5 @@ import android.os.IInterface; import android.os.RemoteException; /* compiled from: com.google.android.gms:play-services-auth-api-phone@@17.4.0 */ public interface e extends IInterface { - void W(g gVar) throws RemoteException; + void Y(g gVar) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/h/c/e.java b/app/src/main/java/c/i/a/f/h/c/e.java index b8b3d33a36..d76c8dff80 100644 --- a/app/src/main/java/c/i/a/f/h/c/e.java +++ b/app/src/main/java/c/i/a/f/h/c/e.java @@ -17,12 +17,12 @@ public final class e implements b { @Override // c.i.a.f.c.a.d.b @Nullable - public final Credential Q() { + public final Credential R() { return this.j; } @Override // c.i.a.f.e.h.h - public final Status a0() { + public final Status b0() { return this.i; } } diff --git a/app/src/main/java/c/i/a/f/h/c/f.java b/app/src/main/java/c/i/a/f/h/c/f.java index 8f78a5ff97..419d42e886 100644 --- a/app/src/main/java/c/i/a/f/h/c/f.java +++ b/app/src/main/java/c/i/a/f/h/c/f.java @@ -5,7 +5,7 @@ import com.google.android.gms.common.api.Status; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ public class f extends q { @Override // c.i.a.f.h.c.r - public void L(Status status, Credential credential) { + public void O(Status status, Credential credential) { throw new UnsupportedOperationException(); } } diff --git a/app/src/main/java/c/i/a/f/h/c/g.java b/app/src/main/java/c/i/a/f/h/c/g.java index 33b958e6ac..54ed456927 100644 --- a/app/src/main/java/c/i/a/f/h/c/g.java +++ b/app/src/main/java/c/i/a/f/h/c/g.java @@ -24,6 +24,6 @@ public final class g extends m { @Override // c.i.a.f.h.c.m public final void m(Context context, t tVar) throws RemoteException { - tVar.s(new j(this), this.l); + tVar.t(new j(this), this.l); } } diff --git a/app/src/main/java/c/i/a/f/h/c/i.java b/app/src/main/java/c/i/a/f/h/c/i.java index 6a3405d7fd..1268d3f2fb 100644 --- a/app/src/main/java/c/i/a/f/h/c/i.java +++ b/app/src/main/java/c/i/a/f/h/c/i.java @@ -6,7 +6,7 @@ import c.i.a.f.e.h.c; import c.i.a.f.e.h.h; import com.google.android.gms.auth.api.credentials.Credential; import com.google.android.gms.common.api.Status; -import com.google.android.gms.internal.p000authapi.zzz; +import com.google.android.gms.internal.p001authapi.zzz; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ public final class i extends m { public final /* synthetic */ Credential l; @@ -24,6 +24,6 @@ public final class i extends m { @Override // c.i.a.f.h.c.m public final void m(Context context, t tVar) throws RemoteException { - tVar.w(new n(this), new zzz(this.l)); + tVar.x(new n(this), new zzz(this.l)); } } diff --git a/app/src/main/java/c/i/a/f/h/c/j.java b/app/src/main/java/c/i/a/f/h/c/j.java index 65df49e03d..14d87b53dc 100644 --- a/app/src/main/java/c/i/a/f/h/c/j.java +++ b/app/src/main/java/c/i/a/f/h/c/j.java @@ -11,7 +11,7 @@ public final class j extends f { } @Override // c.i.a.f.h.c.f, c.i.a.f.h.c.r - public final void L(Status status, Credential credential) { + public final void O(Status status, Credential credential) { this.a.b(new e(status, credential)); } diff --git a/app/src/main/java/c/i/a/f/h/c/k.java b/app/src/main/java/c/i/a/f/h/c/k.java index d6e501a467..8b81f02318 100644 --- a/app/src/main/java/c/i/a/f/h/c/k.java +++ b/app/src/main/java/c/i/a/f/h/c/k.java @@ -18,6 +18,6 @@ public final class k extends m { @Override // c.i.a.f.h.c.m public final void m(Context context, t tVar) throws RemoteException { - tVar.J(new n(this)); + tVar.M(new n(this)); } } diff --git a/app/src/main/java/c/i/a/f/h/c/l.java b/app/src/main/java/c/i/a/f/h/c/l.java index 41147e5892..a89adb19d4 100644 --- a/app/src/main/java/c/i/a/f/h/c/l.java +++ b/app/src/main/java/c/i/a/f/h/c/l.java @@ -6,7 +6,7 @@ import c.i.a.f.e.h.c; import c.i.a.f.e.h.h; import com.google.android.gms.auth.api.credentials.Credential; import com.google.android.gms.common.api.Status; -import com.google.android.gms.internal.p000authapi.zzt; +import com.google.android.gms.internal.p001authapi.zzt; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ public final class l extends m { public final /* synthetic */ Credential l; @@ -24,6 +24,6 @@ public final class l extends m { @Override // c.i.a.f.h.c.m public final void m(Context context, t tVar) throws RemoteException { - tVar.I(new n(this), new zzt(this.l)); + tVar.L(new n(this), new zzt(this.l)); } } diff --git a/app/src/main/java/c/i/a/f/h/c/o.java b/app/src/main/java/c/i/a/f/h/c/o.java index 675ad9ab7c..bbbcde6dd1 100644 --- a/app/src/main/java/c/i/a/f/h/c/o.java +++ b/app/src/main/java/c/i/a/f/h/c/o.java @@ -13,15 +13,15 @@ import c.i.a.f.e.k.d; import java.util.Objects; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ public final class o extends d { - public final a.C0104a A; + public final a.C0103a A; - public o(Context context, Looper looper, c cVar, a.C0104a aVar, c.a aVar2, c.b bVar) { + public o(Context context, Looper looper, c cVar, a.C0103a aVar, c.a aVar2, c.b bVar) { super(context, looper, 68, cVar, aVar2, bVar); - a.C0104a.C0105a aVar3 = new a.C0104a.C0105a(aVar == null ? a.C0104a.i : aVar); + a.C0103a.C0104a aVar3 = new a.C0103a.C0104a(aVar == null ? a.C0103a.i : aVar); byte[] bArr = new byte[16]; a.a.nextBytes(bArr); - aVar3.f1092c = Base64.encodeToString(bArr, 11); - this.A = new a.C0104a(aVar3); + aVar3.f1062c = Base64.encodeToString(bArr, 11); + this.A = new a.C0103a(aVar3); } @Override // c.i.a.f.e.k.b, c.i.a.f.e.h.a.f @@ -40,7 +40,7 @@ public final class o extends d { @Override // c.i.a.f.e.k.b public final Bundle u() { - a.C0104a aVar = this.A; + a.C0103a aVar = this.A; Objects.requireNonNull(aVar); Bundle bundle = new Bundle(); bundle.putString("consumer_package", aVar.j); diff --git a/app/src/main/java/c/i/a/f/h/c/p.java b/app/src/main/java/c/i/a/f/h/c/p.java index a325861081..75c4ea750c 100644 --- a/app/src/main/java/c/i/a/f/h/c/p.java +++ b/app/src/main/java/c/i/a/f/h/c/p.java @@ -4,23 +4,23 @@ import android.os.Parcel; import android.os.Parcelable; import c.c.a.a0.d; import com.google.android.gms.auth.api.credentials.Credential; -import com.google.android.gms.internal.p000authapi.zzt; +import com.google.android.gms.internal.p001authapi.zzt; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ public final class p implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzt createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); Credential credential = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); if ((65535 & readInt) != 1) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - credential = (Credential) d.S(parcel, readInt, Credential.CREATOR); + credential = (Credential) d.P(parcel, readInt, Credential.CREATOR); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzt(credential); } diff --git a/app/src/main/java/c/i/a/f/h/c/q.java b/app/src/main/java/c/i/a/f/h/c/q.java index f0b4383ada..dad6901899 100644 --- a/app/src/main/java/c/i/a/f/h/c/q.java +++ b/app/src/main/java/c/i/a/f/h/c/q.java @@ -13,7 +13,7 @@ public abstract class q extends b implements r { @Override // c.i.a.f.h.c.b public final boolean e(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException { if (i == 1) { - L((Status) d.a(parcel, Status.CREATOR), (Credential) d.a(parcel, Credential.CREATOR)); + O((Status) d.a(parcel, Status.CREATOR), (Credential) d.a(parcel, Credential.CREATOR)); } else if (i == 2) { k((Status) d.a(parcel, Status.CREATOR)); } else if (i != 3) { diff --git a/app/src/main/java/c/i/a/f/h/c/r.java b/app/src/main/java/c/i/a/f/h/c/r.java index ae92d27daf..453c8632ae 100644 --- a/app/src/main/java/c/i/a/f/h/c/r.java +++ b/app/src/main/java/c/i/a/f/h/c/r.java @@ -6,7 +6,7 @@ import com.google.android.gms.auth.api.credentials.Credential; import com.google.android.gms.common.api.Status; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ public interface r extends IInterface { - void L(Status status, Credential credential) throws RemoteException; + void O(Status status, Credential credential) throws RemoteException; void k(Status status) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/h/c/s.java b/app/src/main/java/c/i/a/f/h/c/s.java index c866a2c545..aee9581b00 100644 --- a/app/src/main/java/c/i/a/f/h/c/s.java +++ b/app/src/main/java/c/i/a/f/h/c/s.java @@ -4,8 +4,8 @@ import android.os.IBinder; import android.os.Parcel; import android.os.RemoteException; import com.google.android.gms.auth.api.credentials.CredentialRequest; -import com.google.android.gms.internal.p000authapi.zzt; -import com.google.android.gms.internal.p000authapi.zzz; +import com.google.android.gms.internal.p001authapi.zzt; +import com.google.android.gms.internal.p001authapi.zzz; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ public final class s extends c implements t { public s(IBinder iBinder) { @@ -13,7 +13,7 @@ public final class s extends c implements t { } @Override // c.i.a.f.h.c.t - public final void I(r rVar, zzt zzt) throws RemoteException { + public final void L(r rVar, zzt zzt) throws RemoteException { Parcel e = e(); d.b(e, rVar); d.c(e, zzt); @@ -21,14 +21,14 @@ public final class s extends c implements t { } @Override // c.i.a.f.h.c.t - public final void J(r rVar) throws RemoteException { + public final void M(r rVar) throws RemoteException { Parcel e = e(); d.b(e, rVar); g(4, e); } @Override // c.i.a.f.h.c.t - public final void s(r rVar, CredentialRequest credentialRequest) throws RemoteException { + public final void t(r rVar, CredentialRequest credentialRequest) throws RemoteException { Parcel e = e(); d.b(e, rVar); d.c(e, credentialRequest); @@ -36,7 +36,7 @@ public final class s extends c implements t { } @Override // c.i.a.f.h.c.t - public final void w(r rVar, zzz zzz) throws RemoteException { + public final void x(r rVar, zzz zzz) throws RemoteException { Parcel e = e(); d.b(e, rVar); d.c(e, zzz); diff --git a/app/src/main/java/c/i/a/f/h/c/t.java b/app/src/main/java/c/i/a/f/h/c/t.java index 1901b549b7..90a5e9fbce 100644 --- a/app/src/main/java/c/i/a/f/h/c/t.java +++ b/app/src/main/java/c/i/a/f/h/c/t.java @@ -3,15 +3,15 @@ package c.i.a.f.h.c; import android.os.IInterface; import android.os.RemoteException; import com.google.android.gms.auth.api.credentials.CredentialRequest; -import com.google.android.gms.internal.p000authapi.zzt; -import com.google.android.gms.internal.p000authapi.zzz; +import com.google.android.gms.internal.p001authapi.zzt; +import com.google.android.gms.internal.p001authapi.zzz; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ public interface t extends IInterface { - void I(r rVar, zzt zzt) throws RemoteException; + void L(r rVar, zzt zzt) throws RemoteException; - void J(r rVar) throws RemoteException; + void M(r rVar) throws RemoteException; - void s(r rVar, CredentialRequest credentialRequest) throws RemoteException; + void t(r rVar, CredentialRequest credentialRequest) throws RemoteException; - void w(r rVar, zzz zzz) throws RemoteException; + void x(r rVar, zzz zzz) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/h/c/u.java b/app/src/main/java/c/i/a/f/h/c/u.java index e46106b56a..7a953071b0 100644 --- a/app/src/main/java/c/i/a/f/h/c/u.java +++ b/app/src/main/java/c/i/a/f/h/c/u.java @@ -4,23 +4,23 @@ import android.os.Parcel; import android.os.Parcelable; import c.c.a.a0.d; import com.google.android.gms.auth.api.credentials.Credential; -import com.google.android.gms.internal.p000authapi.zzz; +import com.google.android.gms.internal.p001authapi.zzz; /* compiled from: com.google.android.gms:play-services-auth@@19.0.0 */ public final class u implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzz createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); Credential credential = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); if ((65535 & readInt) != 1) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - credential = (Credential) d.S(parcel, readInt, Credential.CREATOR); + credential = (Credential) d.P(parcel, readInt, Credential.CREATOR); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzz(credential); } diff --git a/app/src/main/java/c/i/a/f/h/d/a.java b/app/src/main/java/c/i/a/f/h/d/a.java index 17e8f270a6..7aa3916de6 100644 --- a/app/src/main/java/c/i/a/f/h/d/a.java +++ b/app/src/main/java/c/i/a/f/h/d/a.java @@ -30,12 +30,12 @@ public final class a extends d { @Override // c.i.a.f.e.k.b, c.i.a.f.e.h.a.f public final boolean o() { - c.i.a.f.e.k.c cVar = this.f1127x; + c.i.a.f.e.k.c cVar = this.f1095x; Account account = cVar.a; if (TextUtils.isEmpty(account != null ? account.name : null)) { return false; } - if (cVar.d.get(b.f1093c) == null) { + if (cVar.d.get(b.f1063c) == null) { return !cVar.b.isEmpty(); } throw null; diff --git a/app/src/main/java/c/i/a/f/h/e/a.java b/app/src/main/java/c/i/a/f/h/e/a.java index 343588ce54..2735c1d54b 100644 --- a/app/src/main/java/c/i/a/f/h/e/a.java +++ b/app/src/main/java/c/i/a/f/h/e/a.java @@ -58,7 +58,7 @@ public class a extends Binder implements IInterface { break; case 8: g0 g0Var = (g0) fVar; - g0Var.f1114c.post(new i0(g0Var, (zam) b.a(parcel, zam.CREATOR))); + g0Var.f1083c.post(new i0(g0Var, (zam) b.a(parcel, zam.CREATOR))); break; case 9: zag zag = (zag) b.a(parcel, zag.CREATOR); diff --git a/app/src/main/java/c/i/a/f/h/j/a.java b/app/src/main/java/c/i/a/f/h/j/a.java index 3cb62b9993..7e32f96159 100644 --- a/app/src/main/java/c/i/a/f/h/j/a.java +++ b/app/src/main/java/c/i/a/f/h/j/a.java @@ -1,7 +1,7 @@ package c.i.a.f.h.j; import c.i.a.f.b.f; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import java.util.Objects; public final class a extends e { public final r k; @@ -12,16 +12,16 @@ public final class a extends e { } @Override // c.i.a.f.h.j.e - public final void M() { - this.k.K(); + public final void L() { + this.k.J(); } - public final void Q() { + public final void O() { f.b(); r rVar = this.k; Objects.requireNonNull(rVar); f.b(); - Objects.requireNonNull((d) rVar.i.d); + Objects.requireNonNull((c) rVar.i.d); rVar.t = System.currentTimeMillis(); } } diff --git a/app/src/main/java/c/i/a/f/h/j/a0.java b/app/src/main/java/c/i/a/f/h/j/a0.java index 589f2a7712..fb6ad85231 100644 --- a/app/src/main/java/c/i/a/f/h/j/a0.java +++ b/app/src/main/java/c/i/a/f/h/j/a0.java @@ -1,14 +1,14 @@ package c.i.a.f.h.j; import android.os.Handler; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import java.util.Objects; public abstract class a0 { public static volatile Handler a; public final g b; /* renamed from: c reason: collision with root package name */ - public final Runnable f1142c = new b0(this); + public final Runnable f1110c = new b0(this); public volatile long d; public a0(g gVar) { @@ -18,7 +18,7 @@ public abstract class a0 { public final void a() { this.d = 0; - b().removeCallbacks(this.f1142c); + b().removeCallbacks(this.f1110c); } public final Handler b() { @@ -44,10 +44,10 @@ public abstract class a0 { public final void e(long j) { a(); if (j >= 0) { - Objects.requireNonNull((d) this.b.d); + Objects.requireNonNull((c) this.b.d); this.d = System.currentTimeMillis(); - if (!b().postDelayed(this.f1142c, j)) { - this.b.c().B("Failed to schedule delayed post. time", Long.valueOf(j)); + if (!b().postDelayed(this.f1110c, j)) { + this.b.c().A("Failed to schedule delayed post. time", Long.valueOf(j)); } } } diff --git a/app/src/main/java/c/i/a/f/h/j/a1.java b/app/src/main/java/c/i/a/f/h/j/a1.java index f3eac1f07a..20453c6ee6 100644 --- a/app/src/main/java/c/i/a/f/h/j/a1.java +++ b/app/src/main/java/c/i/a/f/h/j/a1.java @@ -19,7 +19,7 @@ public final class a1 extends e { } @Override // c.i.a.f.h.j.e - public final void M() { + public final void L() { ApplicationInfo applicationInfo; int i; Context context = this.i.b; @@ -31,14 +31,14 @@ public final class a1 extends e { applicationInfo = null; } if (applicationInfo == null) { - G("Couldn't get ApplicationInfo to load global config"); + D("Couldn't get ApplicationInfo to load global config"); return; } Bundle bundle = applicationInfo.metaData; if (bundle != null && (i = bundle.getInt("com.google.android.gms.analytics.globalConfigResource")) > 0) { g0 g0Var = new g0(this.i); try { - i0Var = g0Var.I(g0Var.i.f1151c.getResources().getXml(i)); + i0Var = g0Var.I(g0Var.i.f1118c.getResources().getXml(i)); } catch (Resources.NotFoundException e2) { g0Var.x("inflate() called with unknown resourceId", e2); } @@ -55,7 +55,7 @@ public final class a1 extends e { this.k = str2; d("XML config - app version", str2); } - String str3 = i0Var.f1152c; + String str3 = i0Var.f1119c; if (str3 != null) { String lowerCase = str3.toLowerCase(Locale.US); int i2 = "verbose".equals(lowerCase) ? 0 : "info".equals(lowerCase) ? 1 : "warning".equals(lowerCase) ? 2 : "error".equals(lowerCase) ? 3 : -1; diff --git a/app/src/main/java/c/i/a/f/h/j/b1.java b/app/src/main/java/c/i/a/f/h/j/b1.java index a4fd7a3e67..6e3146f44d 100644 --- a/app/src/main/java/c/i/a/f/h/j/b1.java +++ b/app/src/main/java/c/i/a/f/h/j/b1.java @@ -16,7 +16,7 @@ public final class b1 { public static final Method b; /* renamed from: c reason: collision with root package name */ - public static volatile d1 f1143c = c1.a; + public static volatile d1 f1111c = c1.a; /* JADX WARNING: Removed duplicated region for block: B:12:0x003b */ static { diff --git a/app/src/main/java/c/i/a/f/h/j/c0.java b/app/src/main/java/c/i/a/f/h/j/c0.java index 45f9c98561..1b3e670992 100644 --- a/app/src/main/java/c/i/a/f/h/j/c0.java +++ b/app/src/main/java/c/i/a/f/h/j/c0.java @@ -21,9 +21,9 @@ public final class c0 extends e { } @Override // c.i.a.f.h.j.e - public final void M() { + public final void L() { try { - Q(); + O(); if (z.b() > 0) { Context context = this.i.b; ActivityInfo receiverInfo = context.getPackageManager().getReceiverInfo(new ComponentName(context, "com.google.android.gms.analytics.AnalyticsReceiver"), 0); @@ -36,7 +36,7 @@ public final class c0 extends e { } } - public final void Q() { + public final void O() { this.l = false; this.m.cancel(S()); if (Build.VERSION.SDK_INT >= 24) { diff --git a/app/src/main/java/c/i/a/f/h/j/d.java b/app/src/main/java/c/i/a/f/h/j/d.java index 55656bf34d..c01603d3e8 100644 --- a/app/src/main/java/c/i/a/f/h/j/d.java +++ b/app/src/main/java/c/i/a/f/h/j/d.java @@ -49,7 +49,7 @@ public class d { return sb.toString(); } - public final void B(String str, Object obj) { + public final void A(String str, Object obj) { a(6, str, obj, null, null); } @@ -57,7 +57,7 @@ public class d { a(2, str, null, null, null); } - public final void G(String str) { + public final void D(String str) { a(5, str, null, null, null); } @@ -131,11 +131,11 @@ public class d { a(5, str, obj, obj2, null); } - public final m0 p() { + public final m0 n() { return this.i.c(); } - public final f r() { + public final f q() { return this.i.d(); } @@ -149,7 +149,7 @@ public class d { return gVar.j; } - public final p0 w() { + public final p0 u() { g gVar = this.i; g.a(gVar.k); return gVar.k; @@ -159,7 +159,7 @@ public class d { a(5, str, obj, null, null); } - public final void z(String str, Object obj, Object obj2) { + public final void y(String str, Object obj, Object obj2) { a(6, str, obj, obj2, null); } } diff --git a/app/src/main/java/c/i/a/f/h/j/e.java b/app/src/main/java/c/i/a/f/h/j/e.java index fd6b860638..3bdb60cd1f 100644 --- a/app/src/main/java/c/i/a/f/h/j/e.java +++ b/app/src/main/java/c/i/a/f/h/j/e.java @@ -10,12 +10,12 @@ public abstract class e extends d { return this.j; } - public final void K() { - M(); + public final void J() { + L(); this.j = true; } - public abstract void M(); + public abstract void L(); public final void N() { if (!I()) { diff --git a/app/src/main/java/c/i/a/f/h/j/e0.java b/app/src/main/java/c/i/a/f/h/j/e0.java index 2f0e67a745..ebbf9cf07c 100644 --- a/app/src/main/java/c/i/a/f/h/j/e0.java +++ b/app/src/main/java/c/i/a/f/h/j/e0.java @@ -11,7 +11,7 @@ public final class e0 { public static f0 b = f0.c("analytics.log_tag", "GAv4", "GAv4-SVC"); /* renamed from: c reason: collision with root package name */ - public static f0 f1144c = f0.b("analytics.local_dispatch_millis", StoreGuildScheduledEvents.FETCH_GUILD_EVENTS_THRESHOLD, 120000); + public static f0 f1112c = f0.b("analytics.local_dispatch_millis", StoreGuildScheduledEvents.FETCH_GUILD_EVENTS_THRESHOLD, 120000); public static f0 d = f0.b("analytics.initial_local_dispatch_millis", 5000, 5000); public static f0 e = f0.b("analytics.dispatch_alarm_millis", 7200000, 7200000); public static f0 f = f0.b("analytics.max_dispatch_alarm_millis", 32400000, 32400000); @@ -26,25 +26,23 @@ public final class e0 { public static f0 o = f0.c("analytics.compression_strategy.k", "GZIP", "GZIP"); public static f0 p = f0.a("analytics.max_hit_length.k", 8192, 8192); public static f0 q = f0.a("analytics.max_post_length.k", 8192, 8192); + public static f0 r = f0.a("analytics.max_batch_post_length", 8192, 8192); - /* renamed from: r reason: collision with root package name */ - public static f0 f1145r = f0.a("analytics.max_batch_post_length", 8192, 8192); - public static f0 s = f0.c("analytics.fallback_responses.k", "404,502", "404,502"); + /* renamed from: s reason: collision with root package name */ + public static f0 f1113s = f0.c("analytics.fallback_responses.k", "404,502", "404,502"); public static f0 t = f0.a("analytics.batch_retry_interval.seconds.k", 3600, 3600); public static f0 u = f0.a("analytics.http_connection.connect_timeout_millis", 60000, 60000); public static f0 v = f0.a("analytics.http_connection.read_timeout_millis", 61000, 61000); - - /* renamed from: w reason: collision with root package name */ - public static f0 f1146w = f0.d("analytics.test.disable_receiver", false, false); + public static f0 w = f0.d("analytics.test.disable_receiver", false, false); /* renamed from: x reason: collision with root package name */ - public static f0 f1147x = f0.b("analytics.service_client.idle_disconnect_millis", 10000, 10000); + public static f0 f1114x = f0.b("analytics.service_client.idle_disconnect_millis", 10000, 10000); /* renamed from: y reason: collision with root package name */ - public static f0 f1148y = f0.b("analytics.service_client.connect_timeout_millis", 5000, 5000); + public static f0 f1115y = f0.b("analytics.service_client.connect_timeout_millis", 5000, 5000); /* renamed from: z reason: collision with root package name */ - public static f0 f1149z = f0.b("analytics.service_client.reconnect_throttle_millis", StoreGuildScheduledEvents.FETCH_GUILD_EVENTS_THRESHOLD, StoreGuildScheduledEvents.FETCH_GUILD_EVENTS_THRESHOLD); + public static f0 f1116z = f0.b("analytics.service_client.reconnect_throttle_millis", StoreGuildScheduledEvents.FETCH_GUILD_EVENTS_THRESHOLD, StoreGuildScheduledEvents.FETCH_GUILD_EVENTS_THRESHOLD); static { f0.d("analytics.service_enabled", false, false); diff --git a/app/src/main/java/c/i/a/f/h/j/f1.java b/app/src/main/java/c/i/a/f/h/j/f1.java index 9b5c0b7065..ca76b301f9 100644 --- a/app/src/main/java/c/i/a/f/h/j/f1.java +++ b/app/src/main/java/c/i/a/f/h/j/f1.java @@ -7,14 +7,14 @@ public final class f1 extends e { public String b; /* renamed from: c reason: collision with root package name */ - public String f1150c; + public String f1117c; public String d; public final String toString() { HashMap hashMap = new HashMap(); hashMap.put("appName", this.a); hashMap.put("appVersion", this.b); - hashMap.put("appId", this.f1150c); + hashMap.put("appId", this.f1117c); hashMap.put("appInstallerId", this.d); return e.a(hashMap, 0); } diff --git a/app/src/main/java/c/i/a/f/h/j/g.java b/app/src/main/java/c/i/a/f/h/j/g.java index 6066dd9511..03ee0288db 100644 --- a/app/src/main/java/c/i/a/f/h/j/g.java +++ b/app/src/main/java/c/i/a/f/h/j/g.java @@ -7,6 +7,7 @@ import c.c.a.a0.d; import c.d.b.a.a; import c.i.a.f.b.f; import c.i.a.f.e.o.b; +import c.i.a.f.e.o.c; import java.util.List; import java.util.Objects; @SuppressLint({"StaticFieldLeak"}) @@ -15,7 +16,7 @@ public class g { public final Context b; /* renamed from: c reason: collision with root package name */ - public final Context f1151c; + public final Context f1118c; public final b d; public final z e = new z(this); public final m0 f; @@ -31,23 +32,23 @@ public class g { Context context2 = iVar.b; Objects.requireNonNull(context2, "null reference"); this.b = context; - this.f1151c = context2; - c.i.a.f.e.o.d dVar = c.i.a.f.e.o.d.a; - this.d = dVar; + this.f1118c = context2; + c cVar = c.a; + this.d = cVar; m0 m0Var = new m0(this); - m0Var.K(); + m0Var.J(); this.f = m0Var; m0 c2 = c(); String str = f.a; - c2.a(4, a.g(a.b(str, 134), "Google Analytics ", str, " is starting up. To enable debug logging on a device run:\n adb shell setprop log.tag.GAv4 DEBUG\n adb logcat -s GAv4"), null, null, null); + c2.a(4, a.j(a.b(str, 134), "Google Analytics ", str, " is starting up. To enable debug logging on a device run:\n adb shell setprop log.tag.GAv4 DEBUG\n adb logcat -s GAv4"), null, null, null); p0 p0Var = new p0(this); - p0Var.K(); + p0Var.J(); this.k = p0Var; a1 a1Var = new a1(this); - a1Var.K(); + a1Var.J(); this.j = a1Var; a aVar = new a(this, iVar); - Objects.requireNonNull(dVar, "null reference"); + Objects.requireNonNull(cVar, "null reference"); q qVar = new q(this); if (f.a == null) { synchronized (f.class) { @@ -60,11 +61,11 @@ public class g { fVar.e = new h(this); this.g = fVar; c.i.a.f.b.b bVar = new c.i.a.f.b.b(this); - qVar.K(); + qVar.J(); c0 c0Var = new c0(this); - c0Var.K(); + c0Var.J(); this.i = c0Var; - aVar.K(); + aVar.J(); this.h = aVar; g gVar = bVar.a; a(gVar.j); @@ -79,12 +80,12 @@ public class g { rVar.N(); d.G(!rVar.k, "Analytics backend already started"); rVar.k = true; - rVar.r().a(new u(rVar)); + rVar.q().a(new u(rVar)); } public static void a(e eVar) { d.z(eVar, "Analytics service not created/initialized"); - d.p(eVar.I(), "Analytics service not initialized"); + d.o(eVar.I(), "Analytics service not initialized"); } public static g b(Context context) { diff --git a/app/src/main/java/c/i/a/f/h/j/h.java b/app/src/main/java/c/i/a/f/h/j/h.java index 1b85bb65a9..4aa1db1a84 100644 --- a/app/src/main/java/c/i/a/f/h/j/h.java +++ b/app/src/main/java/c/i/a/f/h/j/h.java @@ -12,7 +12,7 @@ public final class h implements Thread.UncaughtExceptionHandler { public final void uncaughtException(Thread thread, Throwable th) { m0 m0Var = this.a.f; if (m0Var != null) { - m0Var.B("Job execution failed", th); + m0Var.A("Job execution failed", th); } } } diff --git a/app/src/main/java/c/i/a/f/h/j/h0.java b/app/src/main/java/c/i/a/f/h/j/h0.java index e6a5661b78..5cbd7c5f2e 100644 --- a/app/src/main/java/c/i/a/f/h/j/h0.java +++ b/app/src/main/java/c/i/a/f/h/j/h0.java @@ -29,7 +29,7 @@ public final class h0 { } else if ("ga_appVersion".equals(str)) { this.b.b = str2; } else if ("ga_logLevel".equals(str)) { - this.b.f1152c = str2; + this.b.f1119c = str2; } else { this.a.c().x("String xml configuration name not recognized", str); } diff --git a/app/src/main/java/c/i/a/f/h/j/i0.java b/app/src/main/java/c/i/a/f/h/j/i0.java index 282366a931..50082f1cd5 100644 --- a/app/src/main/java/c/i/a/f/h/j/i0.java +++ b/app/src/main/java/c/i/a/f/h/j/i0.java @@ -4,7 +4,7 @@ public final class i0 { public String b; /* renamed from: c reason: collision with root package name */ - public String f1152c; + public String f1119c; public int d = -1; public int e = -1; } diff --git a/app/src/main/java/c/i/a/f/h/j/j.java b/app/src/main/java/c/i/a/f/h/j/j.java index 90184c4dac..719ef43e3e 100644 --- a/app/src/main/java/c/i/a/f/h/j/j.java +++ b/app/src/main/java/c/i/a/f/h/j/j.java @@ -18,10 +18,10 @@ public final class j extends e { } @Override // c.i.a.f.h.j.e - public final void M() { + public final void L() { } - public final void Q() { + public final void O() { f.b(); N(); try { @@ -30,10 +30,10 @@ public final class j extends e { } if (this.l != null) { this.l = null; - a s = s(); - s.N(); + a s2 = s(); + s2.N(); f.b(); - r rVar = s.k; + r rVar = s2.k; f.b(); rVar.N(); rVar.C("Service disconnected"); @@ -55,7 +55,7 @@ public final class j extends e { return false; } try { - k0Var.i0(j0Var.a, j0Var.d, j0Var.f ? z.d() : z.e(), Collections.emptyList()); + k0Var.j0(j0Var.a, j0Var.d, j0Var.f ? z.d() : z.e(), Collections.emptyList()); T(); return true; } catch (RemoteException unused) { @@ -66,6 +66,6 @@ public final class j extends e { public final void T() { this.n.a(); - this.m.e(e0.f1147x.a.longValue()); + this.m.e(e0.f1114x.a.longValue()); } } diff --git a/app/src/main/java/c/i/a/f/h/j/j0.java b/app/src/main/java/c/i/a/f/h/j/j0.java index 5e8ac52dae..3c6a2b0cac 100644 --- a/app/src/main/java/c/i/a/f/h/j/j0.java +++ b/app/src/main/java/c/i/a/f/h/j/j0.java @@ -14,7 +14,7 @@ public final class j0 { public final List b = Collections.emptyList(); /* renamed from: c reason: collision with root package name */ - public final long f1153c; + public final long f1120c; public final long d; public final int e; public final boolean f; @@ -26,7 +26,7 @@ public final class j0 { Objects.requireNonNull(map, "null reference"); this.d = j; this.f = z2; - this.f1153c = j2; + this.f1120c = j2; this.e = i; TextUtils.isEmpty(null); this.g = null; @@ -92,15 +92,15 @@ public final class j0 { } public final String toString() { - StringBuilder O = a.O("ht="); - O.append(this.d); - if (this.f1153c != 0) { - O.append(", dbId="); - O.append(this.f1153c); + StringBuilder R = a.R("ht="); + R.append(this.d); + if (this.f1120c != 0) { + R.append(", dbId="); + R.append(this.f1120c); } if (this.e != 0) { - O.append(", appUID="); - O.append(this.e); + R.append(", appUID="); + R.append(this.e); } ArrayList arrayList = new ArrayList(this.a.keySet()); Collections.sort(arrayList); @@ -110,11 +110,11 @@ public final class j0 { Object obj = arrayList.get(i); i++; String str = (String) obj; - O.append(", "); - O.append(str); - O.append("="); - O.append(this.a.get(str)); + R.append(", "); + R.append(str); + R.append("="); + R.append(this.a.get(str)); } - return O.toString(); + return R.toString(); } } diff --git a/app/src/main/java/c/i/a/f/h/j/k.java b/app/src/main/java/c/i/a/f/h/j/k.java index 6b982fabaf..1af27a26c2 100644 --- a/app/src/main/java/c/i/a/f/h/j/k.java +++ b/app/src/main/java/c/i/a/f/h/j/k.java @@ -18,7 +18,7 @@ public final class k extends a0 { f.b(); if (jVar.R()) { jVar.C("Inactivity, disconnecting from device AnalyticsService"); - jVar.Q(); + jVar.O(); } } } diff --git a/app/src/main/java/c/i/a/f/h/j/k0.java b/app/src/main/java/c/i/a/f/h/j/k0.java index d4f92b95aa..8525637bbf 100644 --- a/app/src/main/java/c/i/a/f/h/j/k0.java +++ b/app/src/main/java/c/i/a/f/h/j/k0.java @@ -5,5 +5,5 @@ import android.os.RemoteException; import java.util.List; import java.util.Map; public interface k0 extends IInterface { - void i0(Map map, long j, String str, List list) throws RemoteException; + void j0(Map map, long j, String str, List list) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/h/j/l.java b/app/src/main/java/c/i/a/f/h/j/l.java index 96c1cd5b47..74fff30669 100644 --- a/app/src/main/java/c/i/a/f/h/j/l.java +++ b/app/src/main/java/c/i/a/f/h/j/l.java @@ -35,7 +35,7 @@ public final class l implements ServiceConnection { k0Var = queryLocalInterface instanceof k0 ? (k0) queryLocalInterface : new l0(iBinder); this.k.C("Bound to IAnalyticsService interface"); } else { - this.k.B("Got binder with a wrong descriptor", interfaceDescriptor); + this.k.A("Got binder with a wrong descriptor", interfaceDescriptor); } } catch (RemoteException unused) { this.k.H("Service connect failed to get IAnalyticsService"); @@ -48,8 +48,8 @@ public final class l implements ServiceConnection { } catch (IllegalArgumentException unused2) { } } else if (!this.j) { - this.k.G("onServiceConnected received after the timeout limit"); - this.k.r().a(new m(this, k0Var)); + this.k.D("onServiceConnected received after the timeout limit"); + this.k.q().a(new m(this, k0Var)); } else { this.i = k0Var; } @@ -61,6 +61,6 @@ public final class l implements ServiceConnection { @Override // android.content.ServiceConnection public final void onServiceDisconnected(ComponentName componentName) { d.u("AnalyticsServiceConnection.onServiceDisconnected"); - this.k.r().a(new n(this, componentName)); + this.k.q().a(new n(this, componentName)); } } diff --git a/app/src/main/java/c/i/a/f/h/j/l0.java b/app/src/main/java/c/i/a/f/h/j/l0.java index a8223da578..eca3bf8e4f 100644 --- a/app/src/main/java/c/i/a/f/h/j/l0.java +++ b/app/src/main/java/c/i/a/f/h/j/l0.java @@ -20,7 +20,7 @@ public final class l0 implements k0, IInterface { } @Override // c.i.a.f.h.j.k0 - public final void i0(Map map, long j, String str, List list) throws RemoteException { + public final void j0(Map map, long j, String str, List list) throws RemoteException { Parcel obtain = Parcel.obtain(); obtain.writeInterfaceToken(this.b); obtain.writeMap(map); diff --git a/app/src/main/java/c/i/a/f/h/j/m.java b/app/src/main/java/c/i/a/f/h/j/m.java index c42528756b..89fc141f45 100644 --- a/app/src/main/java/c/i/a/f/h/j/m.java +++ b/app/src/main/java/c/i/a/f/h/j/m.java @@ -21,10 +21,10 @@ public final class m implements Runnable { f.b(); jVar.l = k0Var; jVar.T(); - a s = jVar.s(); - Objects.requireNonNull(s); + a s2 = jVar.s(); + Objects.requireNonNull(s2); f.b(); - s.k.Q(); + s2.k.O(); } } } diff --git a/app/src/main/java/c/i/a/f/h/j/m0.java b/app/src/main/java/c/i/a/f/h/j/m0.java index b86535c8e4..2b33567510 100644 --- a/app/src/main/java/c/i/a/f/h/j/m0.java +++ b/app/src/main/java/c/i/a/f/h/j/m0.java @@ -27,22 +27,22 @@ public class m0 extends e { str = ""; } String valueOf = String.valueOf(Math.abs(l.longValue())); - StringBuilder O = a.O(str); - O.append(Math.round(Math.pow(10.0d, (double) (valueOf.length() - 1)))); - O.append("..."); - O.append(str); - O.append(Math.round(Math.pow(10.0d, (double) valueOf.length()) - 1.0d)); - return O.toString(); + StringBuilder R = a.R(str); + R.append(Math.round(Math.pow(10.0d, (double) (valueOf.length() - 1)))); + R.append("..."); + R.append(str); + R.append(Math.round(Math.pow(10.0d, (double) valueOf.length()) - 1.0d)); + return R.toString(); } @Override // c.i.a.f.h.j.e - public final void M() { + public final void L() { synchronized (m0.class) { k = this; } } - public final void Q(j0 j0Var, String str) { + public final void O(j0 j0Var, String str) { x(str.length() != 0 ? "Discarding hit. ".concat(str) : new String("Discarding hit. "), j0Var.toString()); } } diff --git a/app/src/main/java/c/i/a/f/h/j/n.java b/app/src/main/java/c/i/a/f/h/j/n.java index 878315562e..b6172807cc 100644 --- a/app/src/main/java/c/i/a/f/h/j/n.java +++ b/app/src/main/java/c/i/a/f/h/j/n.java @@ -21,10 +21,10 @@ public final class n implements Runnable { if (jVar.l != null) { jVar.l = null; jVar.b("Disconnected from device AnalyticsService", componentName); - a s = jVar.s(); - s.N(); + a s2 = jVar.s(); + s2.N(); f.b(); - r rVar = s.k; + r rVar = s2.k; f.b(); rVar.N(); rVar.C("Service disconnected"); diff --git a/app/src/main/java/c/i/a/f/h/j/n0.java b/app/src/main/java/c/i/a/f/h/j/n0.java index f0b286f299..cd256dd7ce 100644 --- a/app/src/main/java/c/i/a/f/h/j/n0.java +++ b/app/src/main/java/c/i/a/f/h/j/n0.java @@ -12,7 +12,7 @@ public class n0 extends BroadcastReceiver { public final g b; /* renamed from: c reason: collision with root package name */ - public boolean f1154c; + public boolean f1121c; public boolean d; public n0(g gVar) { @@ -21,14 +21,14 @@ public class n0 extends BroadcastReceiver { } public final void a() { - if (this.f1154c) { + if (this.f1121c) { this.b.c().C("Unregistering connectivity change receiver"); - this.f1154c = false; + this.f1121c = false; this.d = false; try { this.b.b.unregisterReceiver(this); } catch (IllegalArgumentException e) { - this.b.c().B("Failed to unregister the network broadcast receiver", e); + this.b.c().A("Failed to unregister the network broadcast receiver", e); } } } @@ -53,7 +53,7 @@ public class n0 extends BroadcastReceiver { this.d = b; a e = this.b.e(); e.b("Network connectivity status changed", Boolean.valueOf(b)); - e.r().a(new b(e, b)); + e.q().a(new b(e, b)); } } else if (!"com.google.analytics.RADIO_POWERED".equals(action)) { this.b.c().x("NetworkBroadcastReceiver received unknown action", action); @@ -64,7 +64,7 @@ public class n0 extends BroadcastReceiver { Context context2 = e2.i.b; if (!s0.a(context2) || !t0.c(context2)) { e2.N(); - e2.r().a(new c(e2, null)); + e2.q().a(new c(e2, null)); return; } Intent intent2 = new Intent("com.google.android.gms.analytics.ANALYTICS_DISPATCH"); diff --git a/app/src/main/java/c/i/a/f/h/j/o.java b/app/src/main/java/c/i/a/f/h/j/o.java index 1251535af1..329d990177 100644 --- a/app/src/main/java/c/i/a/f/h/j/o.java +++ b/app/src/main/java/c/i/a/f/h/j/o.java @@ -6,6 +6,8 @@ import android.database.sqlite.SQLiteException; import android.text.TextUtils; import c.c.a.a0.d; import c.i.a.f.b.f; +import c.i.a.f.e.o.c; +import c.i.a.f.e.o.e; import com.adjust.sdk.Constants; import com.discord.widgets.chat.list.adapter.WidgetChatListAdapterItemGuildWelcomeKt; import java.io.Closeable; @@ -29,10 +31,10 @@ public final class o extends e implements Closeable { } @Override // c.i.a.f.h.j.e - public final void M() { + public final void L() { } - public final SQLiteDatabase Q() { + public final SQLiteDatabase O() { try { return this.m.getWritableDatabase(); } catch (SQLiteException e) { @@ -46,7 +48,7 @@ public final class o extends e implements Closeable { N(); Cursor cursor = null; try { - Cursor rawQuery = Q().rawQuery("SELECT COUNT(*) FROM hits2", null); + Cursor rawQuery = O().rawQuery("SELECT COUNT(*) FROM hits2", null); if (rawQuery.moveToFirst()) { long j = rawQuery.getLong(0); rawQuery.close(); @@ -54,7 +56,7 @@ public final class o extends e implements Closeable { } throw new SQLiteException("Database returned empty set"); } catch (SQLiteException e) { - z("Database error", "SELECT COUNT(*) FROM hits2", e); + y("Database error", "SELECT COUNT(*) FROM hits2", e); throw e; } catch (Throwable th) { if (0 != 0) { @@ -83,14 +85,14 @@ public final class o extends e implements Closeable { sb.append(")"); String sb2 = sb.toString(); try { - SQLiteDatabase Q = Q(); + SQLiteDatabase O = O(); b("Deleting dispatched hits. count", Integer.valueOf(list.size())); - int delete = Q.delete("hits2", sb2, null); + int delete = O.delete("hits2", sb2, null); if (delete != list.size()) { a(5, "Deleted fewer hits then expected", Integer.valueOf(list.size()), Integer.valueOf(delete), sb2); } } catch (SQLiteException e) { - B("Error deleting hits", e); + A("Error deleting hits", e); throw e; } } @@ -98,12 +100,12 @@ public final class o extends e implements Closeable { public final List T(long j) { boolean z2; - d.m(j >= 0); + d.l(j >= 0); f.b(); N(); Cursor cursor = null; try { - Cursor query = Q().query("hits2", new String[]{"hit_id", "hit_time", "hit_string", "hit_url", "hit_app_id"}, null, null, null, null, String.format("%s ASC", "hit_id"), Long.toString(j)); + Cursor query = O().query("hits2", new String[]{"hit_id", "hit_time", "hit_string", "hit_url", "hit_app_id"}, null, null, null, null, String.format("%s ASC", "hit_id"), Long.toString(j)); ArrayList arrayList = new ArrayList(); if (query.moveToFirst()) { do { @@ -112,21 +114,21 @@ public final class o extends e implements Closeable { String string = query.getString(2); String string2 = query.getString(3); int i = query.getInt(4); - Map a02 = a0(string); + Map X = X(string); if (!TextUtils.isEmpty(string2)) { if (string2.startsWith("http:")) { z2 = false; - arrayList.add(new j0(this, a02, j3, z2, j2, i)); + arrayList.add(new j0(this, X, j3, z2, j2, i)); } } z2 = true; - arrayList.add(new j0(this, a02, j3, z2, j2, i)); + arrayList.add(new j0(this, X, j3, z2, j2, i)); } while (query.moveToNext()); } query.close(); return arrayList; } catch (SQLiteException e) { - B("Error loading hits from the database", e); + A("Error loading hits from the database", e); throw e; } catch (Throwable th) { if (0 != 0) { @@ -144,9 +146,9 @@ public final class o extends e implements Closeable { } this.n.a(); C("Deleting stale hits (if any)"); - SQLiteDatabase Q = Q(); - Objects.requireNonNull((c.i.a.f.e.o.d) this.i.d); - int delete = Q.delete("hits2", "hit_time < ?", new String[]{Long.toString(System.currentTimeMillis() - WidgetChatListAdapterItemGuildWelcomeKt.OLD_GUILD_AGE_THRESHOLD)}); + SQLiteDatabase O = O(); + Objects.requireNonNull((c) this.i.d); + int delete = O.delete("hits2", "hit_time < ?", new String[]{Long.toString(System.currentTimeMillis() - WidgetChatListAdapterItemGuildWelcomeKt.OLD_GUILD_AGE_THRESHOLD)}); b("Deleted stale hits, count", Integer.valueOf(delete)); return delete; } @@ -157,7 +159,7 @@ public final class o extends e implements Closeable { String str = l; Cursor cursor = null; try { - Cursor rawQuery = Q().rawQuery(str, null); + Cursor rawQuery = O().rawQuery(str, null); if (rawQuery.moveToFirst()) { long j = rawQuery.getLong(0); rawQuery.close(); @@ -166,7 +168,7 @@ public final class o extends e implements Closeable { rawQuery.close(); return 0; } catch (SQLiteException e) { - z("Database error", str, e); + y("Database error", str, e); throw e; } catch (Throwable th) { if (0 != 0) { @@ -185,7 +187,7 @@ public final class o extends e implements Closeable { S(arrayList); } - public final Map a0(String str) { + public final Map X(String str) { if (TextUtils.isEmpty(str)) { return new HashMap(0); } @@ -193,9 +195,9 @@ public final class o extends e implements Closeable { if (!str.startsWith("?")) { str = str.length() != 0 ? "?".concat(str) : new String("?"); } - return c.i.a.f.e.o.f.a(new URI(str), Constants.ENCODING); + return e.a(new URI(str), Constants.ENCODING); } catch (URISyntaxException e) { - B("Error parsing hit parameters", e); + A("Error parsing hit parameters", e); return new HashMap(0); } } @@ -205,19 +207,19 @@ public final class o extends e implements Closeable { try { this.m.close(); } catch (SQLiteException e) { - B("Sql error closing database", e); + A("Sql error closing database", e); } catch (IllegalStateException e2) { - B("Error closing database", e2); + A("Error closing database", e2); } } public final void endTransaction() { N(); - Q().endTransaction(); + O().endTransaction(); } public final void setTransactionSuccessful() { N(); - Q().setTransactionSuccessful(); + O().setTransactionSuccessful(); } } diff --git a/app/src/main/java/c/i/a/f/h/j/o0.java b/app/src/main/java/c/i/a/f/h/j/o0.java index f58aa3eeb3..6f0705aafb 100644 --- a/app/src/main/java/c/i/a/f/h/j/o0.java +++ b/app/src/main/java/c/i/a/f/h/j/o0.java @@ -5,9 +5,10 @@ import android.net.NetworkInfo; import android.os.Build; import android.text.TextUtils; import android.util.Log; +import c.c.a.a0.d; import c.d.b.a.a; import c.i.a.f.b.f; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import com.adjust.sdk.Constants; import java.io.ByteArrayOutputStream; import java.io.IOException; @@ -66,7 +67,7 @@ public final class o0 extends e { } @Override // c.i.a.f.h.j.e - public final void M() { + public final void L() { b("Network initialized. User agent", this.l); } @@ -75,7 +76,7 @@ public final class o0 extends e { /* JADX WARNING: Removed duplicated region for block: B:36:0x0095 A[SYNTHETIC, Splitter:B:36:0x0095] */ /* JADX WARNING: Removed duplicated region for block: B:41:0x009f */ /* JADX WARNING: Removed duplicated region for block: B:44:? A[RETURN, SYNTHETIC] */ - public final int Q(URL url, byte[] bArr) { + public final int O(URL url, byte[] bArr) { HttpURLConnection httpURLConnection; Throwable th; IOException e; @@ -98,13 +99,13 @@ public final class o0 extends e { T(httpURLConnection2); int responseCode = httpURLConnection2.getResponseCode(); if (responseCode == 200) { - s().Q(); + s().O(); } d("POST status", Integer.valueOf(responseCode)); try { outputStream2.close(); } catch (IOException e2) { - B("Error closing http post connection output stream", e2); + A("Error closing http post connection output stream", e2); } httpURLConnection2.disconnect(); return responseCode; @@ -116,7 +117,7 @@ public final class o0 extends e { try { outputStream.close(); } catch (IOException e4) { - B("Error closing http post connection output stream", e4); + A("Error closing http post connection output stream", e4); } } if (httpURLConnection2 != null) { @@ -149,7 +150,7 @@ public final class o0 extends e { try { outputStream.close(); } catch (IOException e6) { - B("Error closing http post connection output stream", e6); + A("Error closing http post connection output stream", e6); } } if (httpURLConnection != null) { @@ -170,11 +171,11 @@ public final class o0 extends e { } } S(sb, "ht", String.valueOf(j0Var.d)); - Objects.requireNonNull((d) this.i.d); + Objects.requireNonNull((c) this.i.d); S(sb, "qt", String.valueOf(System.currentTimeMillis() - j0Var.d)); if (z2) { - c.c.a.a0.d.w("_s"); - c.c.a.a0.d.p(true, "Short param name required"); + d.w("_s"); + d.o(true, "Short param name required"); String str = j0Var.a.get("_s"); if (str == null) { str = "0"; @@ -184,11 +185,11 @@ public final class o0 extends e { } catch (NumberFormatException unused) { j = 0; } - S(sb, "z", j != 0 ? String.valueOf(j) : String.valueOf(j0Var.f1153c)); + S(sb, "z", j != 0 ? String.valueOf(j) : String.valueOf(j0Var.f1120c)); } return sb.toString(); } catch (UnsupportedEncodingException e) { - B("Failed to encode name or value", e); + A("Failed to encode name or value", e); return null; } } @@ -205,7 +206,7 @@ public final class o0 extends e { try { inputStream.close(); } catch (IOException e) { - B("Error closing http connection input stream", e); + A("Error closing http connection input stream", e); } } catch (Throwable th2) { th = th2; @@ -213,7 +214,7 @@ public final class o0 extends e { try { inputStream.close(); } catch (IOException e2) { - B("Error closing http connection input stream", e2); + A("Error closing http connection input stream", e2); } } throw th; @@ -246,7 +247,7 @@ public final class o0 extends e { if (r0 != 200) goto L_0x0426; */ /* JADX WARNING: Code restructure failed: missing block: B:204:0x0422, code lost: - if (Q(r5, r4) == 200) goto L_0x0424; + if (O(r5, r4) == 200) goto L_0x0424; */ /* JADX WARNING: Removed duplicated region for block: B:112:0x0263 A[SYNTHETIC, Splitter:B:112:0x0263] */ /* JADX WARNING: Removed duplicated region for block: B:117:0x026e */ @@ -298,7 +299,7 @@ public final class o0 extends e { if (("GZIP".equalsIgnoreCase(e0.o.a) ? xVar : x.NONE) == xVar) { z2 = true; if (!z3) { - c.c.a.a0.d.m(!list.isEmpty()); + d.l(!list.isEmpty()); a(2, "Uploading batched hits. compression, count", Boolean.valueOf(z2), Integer.valueOf(list.size()), null); ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); ArrayList arrayList = new ArrayList(); @@ -309,17 +310,17 @@ public final class o0 extends e { if (i4 <= e0.h.a.intValue()) { String R = R(j0Var, false); if (R == null) { - p().Q(j0Var, "Error formatting hit"); + n().O(j0Var, "Error formatting hit"); } else { byte[] bytes = R.getBytes(); int length = bytes.length; if (length > e0.p.a.intValue()) { - p().Q(j0Var, "Hit size exceeds the maximum size limit"); + n().O(j0Var, "Hit size exceeds the maximum size limit"); } else { if (byteArrayOutputStream.size() > 0) { length++; } - if (byteArrayOutputStream.size() + length <= e0.f1145r.a.intValue()) { + if (byteArrayOutputStream.size() + length <= e0.r.a.intValue()) { try { if (byteArrayOutputStream.size() > 0) { byteArrayOutputStream.write(k); @@ -327,7 +328,7 @@ public final class o0 extends e { byteArrayOutputStream.write(bytes); i3 = i4; } catch (IOException e3) { - B("Failed to write payload when batching hits", e3); + A("Failed to write payload when batching hits", e3); } } } @@ -336,7 +337,7 @@ public final class o0 extends e { if (z5) { break; } - arrayList.add(Long.valueOf(j0Var.f1153c)); + arrayList.add(Long.valueOf(j0Var.f1120c)); } z5 = false; if (z5) { @@ -350,7 +351,7 @@ public final class o0 extends e { try { url3 = new URL(valueOf2.length() != 0 ? valueOf.concat(valueOf2) : new String(valueOf)); } catch (MalformedURLException e4) { - B("Error trying to parse the hardcoded host url", e4); + A("Error trying to parse the hardcoded host url", e4); url3 = null; } if (url3 == null) { @@ -418,7 +419,7 @@ public final class o0 extends e { T(httpURLConnection3); int responseCode = httpURLConnection3.getResponseCode(); if (responseCode == 200) { - s().Q(); + s().O(); } d("POST status", Integer.valueOf(responseCode)); httpURLConnection3.disconnect(); @@ -442,7 +443,7 @@ public final class o0 extends e { try { outputStream.close(); } catch (IOException e8) { - B("Error closing http compressed post connection output stream", e8); + A("Error closing http compressed post connection output stream", e8); } } if (httpURLConnection3 != null) { @@ -458,7 +459,7 @@ public final class o0 extends e { try { outputStream.close(); } catch (IOException e9) { - B("Error closing http compressed post connection output stream", e9); + A("Error closing http compressed post connection output stream", e9); } } if (httpURLConnection4 != null) { @@ -467,7 +468,7 @@ public final class o0 extends e { throw th2; } } else { - i2 = Q(url3, byteArrayOutputStream.toByteArray()); + i2 = O(url3, byteArrayOutputStream.toByteArray()); } if (200 != i2) { b("Batched upload completed. Hits batched", Integer.valueOf(i3)); @@ -475,7 +476,7 @@ public final class o0 extends e { } b("Network error uploading hits. status code", Integer.valueOf(i2)); if (this.i.e.g().contains(Integer.valueOf(i2))) { - G("Server instructed the client to stop batching"); + D("Server instructed the client to stop batching"); this.m.a(); } } @@ -490,16 +491,16 @@ public final class o0 extends e { if (j0Var2.f) { String d = z.d(); String f = z.f(); - str3 = a.h(R2.length() + a.b(f, a.b(d, 1)), d, f, "?", R2); + str3 = a.k(R2.length() + a.b(f, a.b(d, 1)), d, f, "?", R2); } else { String e10 = z.e(); String f2 = z.f(); - str3 = a.h(R2.length() + a.b(f2, a.b(e10, 1)), e10, f2, "?", R2); + str3 = a.k(R2.length() + a.b(f2, a.b(e10, 1)), e10, f2, "?", R2); } try { url2 = new URL(str3); } catch (MalformedURLException e11) { - B("Error trying to parse the hardcoded host url", e11); + A("Error trying to parse the hardcoded host url", e11); url2 = null; } if (url2 == null) { @@ -513,7 +514,7 @@ public final class o0 extends e { T(httpURLConnection2); i = httpURLConnection2.getResponseCode(); if (i == 200) { - s().Q(); + s().O(); } d("GET status", Integer.valueOf(i)); httpURLConnection2.disconnect(); @@ -552,11 +553,11 @@ public final class o0 extends e { } else { String R3 = R(j0Var2, false); if (R3 == null) { - p().Q(j0Var2, "Error formatting hit for POST upload"); + n().O(j0Var2, "Error formatting hit for POST upload"); } else { byte[] bytes2 = R3.getBytes(); if (bytes2.length > e0.q.a.intValue()) { - p().Q(j0Var2, "Hit payload exceeds size limit"); + n().O(j0Var2, "Hit payload exceeds size limit"); } else { if (j0Var2.f) { String valueOf3 = String.valueOf(z.d()); @@ -586,7 +587,7 @@ public final class o0 extends e { try { url = new URL(str); } catch (MalformedURLException e14) { - B("Error trying to parse the hardcoded host url", e14); + A("Error trying to parse the hardcoded host url", e14); url = null; } if (url == null) { @@ -598,12 +599,12 @@ public final class o0 extends e { if (z4) { break; } - arrayList2.add(Long.valueOf(j0Var2.f1153c)); + arrayList2.add(Long.valueOf(j0Var2.f1120c)); if (arrayList2.size() >= z.c()) { break; } } else { - p().Q(j0Var2, "Error formatting hit for upload"); + n().O(j0Var2, "Error formatting hit for upload"); } z4 = true; if (z4) { diff --git a/app/src/main/java/c/i/a/f/h/j/p.java b/app/src/main/java/c/i/a/f/h/j/p.java index 75b91671f9..b35d954147 100644 --- a/app/src/main/java/c/i/a/f/h/j/p.java +++ b/app/src/main/java/c/i/a/f/h/j/p.java @@ -24,7 +24,7 @@ public final class p extends SQLiteOpenHelper { public static Set b(SQLiteDatabase sQLiteDatabase, String str) { String[] columnNames; HashSet hashSet = new HashSet(); - Cursor rawQuery = sQLiteDatabase.rawQuery(a.g(str.length() + 22, "SELECT * FROM ", str, " LIMIT 0"), null); + Cursor rawQuery = sQLiteDatabase.rawQuery(a.j(str.length() + 22, "SELECT * FROM ", str, " LIMIT 0"), null); try { for (String str2 : rawQuery.getColumnNames()) { hashSet.add(str2); @@ -71,7 +71,7 @@ public final class p extends SQLiteOpenHelper { this.i.o.b = 0; return writableDatabase; } catch (SQLiteException e) { - this.i.B("Failed to open freshly created database", e); + this.i.A("Failed to open freshly created database", e); throw e; } } @@ -91,10 +91,10 @@ public final class p extends SQLiteOpenHelper { String str2 = Build.VERSION.SDK; m0 m0Var = m0.k; if (m0Var != null) { - m0Var.B(str, str2); + m0Var.A(str, str2); } else { if (str2 != null) { - str = a.g(str2.length() + 23, str, ":", str2); + str = a.j(str2.length() + 23, str, ":", str2); } Log.e(e0.b.a, str); } diff --git a/app/src/main/java/c/i/a/f/h/j/p0.java b/app/src/main/java/c/i/a/f/h/j/p0.java index 574d2465be..ed0463fac8 100644 --- a/app/src/main/java/c/i/a/f/h/j/p0.java +++ b/app/src/main/java/c/i/a/f/h/j/p0.java @@ -2,7 +2,7 @@ package c.i.a.f.h.j; import android.content.SharedPreferences; import c.i.a.f.b.f; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import java.util.Objects; public final class p0 extends e { public SharedPreferences k; @@ -15,11 +15,11 @@ public final class p0 extends e { } @Override // c.i.a.f.h.j.e - public final void M() { + public final void L() { this.k = this.i.b.getSharedPreferences("com.google.android.gms.analytics.prefs", 0); } - public final long Q() { + public final long O() { f.b(); N(); if (this.m == -1) { @@ -31,7 +31,7 @@ public final class p0 extends e { public final void R() { f.b(); N(); - Objects.requireNonNull((d) this.i.d); + Objects.requireNonNull((c) this.i.d); long currentTimeMillis = System.currentTimeMillis(); SharedPreferences.Editor edit = this.k.edit(); edit.putLong("last_dispatch", currentTimeMillis); diff --git a/app/src/main/java/c/i/a/f/h/j/q.java b/app/src/main/java/c/i/a/f/h/j/q.java index 100c77e186..a27f745887 100644 --- a/app/src/main/java/c/i/a/f/h/j/q.java +++ b/app/src/main/java/c/i/a/f/h/j/q.java @@ -13,19 +13,19 @@ public final class q extends e { } @Override // c.i.a.f.h.j.e - public final void M() { - f r2 = r(); - if (r2.d == null) { - synchronized (r2) { - if (r2.d == null) { + public final void L() { + f q = q(); + if (q.d == null) { + synchronized (q) { + if (q.d == null) { f1 f1Var = new f1(); - PackageManager packageManager = r2.b.getPackageManager(); - String packageName = r2.b.getPackageName(); - f1Var.f1150c = packageName; + PackageManager packageManager = q.b.getPackageManager(); + String packageName = q.b.getPackageName(); + f1Var.f1117c = packageName; f1Var.d = packageManager.getInstallerPackageName(packageName); String str = null; try { - PackageInfo packageInfo = packageManager.getPackageInfo(r2.b.getPackageName(), 0); + PackageInfo packageInfo = packageManager.getPackageInfo(q.b.getPackageName(), 0); if (packageInfo != null) { CharSequence applicationLabel = packageManager.getApplicationLabel(packageInfo.applicationInfo); if (!TextUtils.isEmpty(applicationLabel)) { @@ -39,11 +39,11 @@ public final class q extends e { } f1Var.a = packageName; f1Var.b = str; - r2.d = f1Var; + q.d = f1Var; } } } - f1 f1Var2 = r2.d; + f1 f1Var2 = q.d; f1 f1Var3 = this.k; if (!TextUtils.isEmpty(f1Var2.a)) { f1Var3.a = f1Var2.a; @@ -51,8 +51,8 @@ public final class q extends e { if (!TextUtils.isEmpty(f1Var2.b)) { f1Var3.b = f1Var2.b; } - if (!TextUtils.isEmpty(f1Var2.f1150c)) { - f1Var3.f1150c = f1Var2.f1150c; + if (!TextUtils.isEmpty(f1Var2.f1117c)) { + f1Var3.f1117c = f1Var2.f1117c; } if (!TextUtils.isEmpty(f1Var2.d)) { f1Var3.d = f1Var2.d; diff --git a/app/src/main/java/c/i/a/f/h/j/r.java b/app/src/main/java/c/i/a/f/h/j/r.java index a6602a0076..26b05c7eba 100644 --- a/app/src/main/java/c/i/a/f/h/j/r.java +++ b/app/src/main/java/c/i/a/f/h/j/r.java @@ -10,9 +10,10 @@ import android.database.sqlite.SQLiteException; import android.os.Build; import android.os.PersistableBundle; import android.os.SystemClock; +import c.c.a.a0.d; import c.i.a.f.b.f; import c.i.a.f.e.n.a; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import c.i.a.f.e.p.b; import java.lang.reflect.Method; import java.util.ArrayList; @@ -27,10 +28,10 @@ public final class r extends e { public final j o; public long p = Long.MIN_VALUE; public final a0 q; + public final a0 r; - /* renamed from: r reason: collision with root package name */ - public final a0 f1155r; - public final y0 s; + /* renamed from: s reason: collision with root package name */ + public final y0 f1122s; public long t; public boolean u; @@ -40,26 +41,26 @@ public final class r extends e { this.l = new o(gVar); this.m = new o0(gVar); this.o = new j(gVar); - this.s = new y0(this.i.d); + this.f1122s = new y0(this.i.d); this.q = new s(this, gVar); - this.f1155r = new t(this, gVar); + this.r = new t(this, gVar); } @Override // c.i.a.f.h.j.e - public final void M() { - this.l.K(); - this.m.K(); - this.o.K(); + public final void L() { + this.l.J(); + this.m.J(); + this.o.J(); } /* JADX WARNING: Removed duplicated region for block: B:15:0x004c A[LOOP:1: B:15:0x004c->B:23:?, LOOP_START] */ /* JADX WARNING: Removed duplicated region for block: B:29:0x0048 A[SYNTHETIC] */ - public final void Q() { + public final void O() { f.b(); f.b(); N(); if (!e0.a.a.booleanValue()) { - G("Service client disabled. Can't dispatch local hits to device AnalyticsService"); + D("Service client disabled. Can't dispatch local hits to device AnalyticsService"); } if (!this.o.R()) { C("Service not connected"); @@ -81,9 +82,9 @@ public final class r extends e { } arrayList.remove(j0Var); try { - this.l.W(j0Var.f1153c); + this.l.W(j0Var.f1120c); } catch (SQLiteException e) { - B("Failed to remove hit that was send for delivery", e); + A("Failed to remove hit that was send for delivery", e); W(); return; } @@ -93,7 +94,7 @@ public final class r extends e { if (!arrayList.isEmpty()) { } } catch (SQLiteException e2) { - B("Failed to read hits from store", e2); + A("Failed to read hits from store", e2); W(); return; } @@ -106,10 +107,10 @@ public final class r extends e { long j2 = this.t; f.b(); N(); - long Q = w().Q(); - if (Q != 0) { - Objects.requireNonNull((d) this.i.d); - j = Math.abs(System.currentTimeMillis() - Q); + long O = u().O(); + if (O != 0) { + Objects.requireNonNull((c) this.i.d); + j = Math.abs(System.currentTimeMillis() - O); } else { j = -1; } @@ -117,7 +118,7 @@ public final class r extends e { S(); try { T(); - w().R(); + u().R(); U(); if (d0Var != null) { d0Var.a(null); @@ -130,8 +131,8 @@ public final class r extends e { context.sendOrderedBroadcast(intent, null); } } catch (Exception e) { - B("Local dispatch failed", e); - w().R(); + A("Local dispatch failed", e); + u().R(); U(); if (d0Var != null) { d0Var.a(e); @@ -142,8 +143,8 @@ public final class r extends e { public final void S() { k0 k0Var; if (!this.u && e0.a.a.booleanValue() && !this.o.R()) { - if (this.s.b(e0.f1149z.a.longValue())) { - this.s.a(); + if (this.f1122s.b(e0.f1116z.a.longValue())) { + this.f1122s.a(); C("Connecting to service"); j jVar = this.o; Objects.requireNonNull(jVar); @@ -169,9 +170,9 @@ public final class r extends e { lVar.j = false; } else { try { - lVar.wait(e0.f1148y.a.longValue()); + lVar.wait(e0.f1115y.a.longValue()); } catch (InterruptedException unused) { - lVar.k.G("Wait for service connect was interrupted"); + lVar.k.D("Wait for service connect was interrupted"); } lVar.j = false; k0 k0Var2 = lVar.i; @@ -191,8 +192,8 @@ public final class r extends e { } if (z2) { C("Connected to service"); - this.s.b = 0; - Q(); + this.f1122s.b = 0; + O(); } } } @@ -212,7 +213,7 @@ public final class r extends e { try { o oVar = this.l; oVar.N(); - oVar.Q().beginTransaction(); + oVar.O().beginTransaction(); arrayList.clear(); try { List T = this.l.T(max); @@ -225,7 +226,7 @@ public final class r extends e { this.l.endTransaction(); return false; } catch (SQLiteException e) { - B("Failed to commit local dispatch transaction", e); + A("Failed to commit local dispatch transaction", e); W(); return false; } @@ -233,13 +234,13 @@ public final class r extends e { b("Hits loaded from store. count", Integer.valueOf(arrayList2.size())); Iterator it = arrayList2.iterator(); while (it.hasNext()) { - if (((j0) it.next()).f1153c == j) { - z("Database contains successfully uploaded hit", Long.valueOf(j), Integer.valueOf(arrayList2.size())); + if (((j0) it.next()).f1120c == j) { + y("Database contains successfully uploaded hit", Long.valueOf(j), Integer.valueOf(arrayList2.size())); W(); try { return false; } catch (SQLiteException e2) { - B("Failed to commit local dispatch transaction", e2); + A("Failed to commit local dispatch transaction", e2); W(); return false; } @@ -252,21 +253,21 @@ public final class r extends e { if (!this.o.S(j0Var)) { break; } - j = Math.max(j, j0Var.f1153c); + j = Math.max(j, j0Var.f1120c); arrayList2.remove(j0Var); d("Hit sent do device AnalyticsService for delivery", j0Var); try { - this.l.W(j0Var.f1153c); - arrayList.add(Long.valueOf(j0Var.f1153c)); + this.l.W(j0Var.f1120c); + arrayList.add(Long.valueOf(j0Var.f1120c)); } catch (SQLiteException e3) { - B("Failed to remove hit that was send for delivery", e3); + A("Failed to remove hit that was send for delivery", e3); W(); try { this.l.setTransactionSuccessful(); this.l.endTransaction(); return false; } catch (SQLiteException e4) { - B("Failed to commit local dispatch transaction", e4); + A("Failed to commit local dispatch transaction", e4); W(); return false; } @@ -282,14 +283,14 @@ public final class r extends e { this.l.S(V); arrayList.addAll(V); } catch (SQLiteException e5) { - B("Failed to remove successfully uploaded hits", e5); + A("Failed to remove successfully uploaded hits", e5); W(); try { this.l.setTransactionSuccessful(); this.l.endTransaction(); return false; } catch (SQLiteException e6) { - B("Failed to commit local dispatch transaction", e6); + A("Failed to commit local dispatch transaction", e6); W(); return false; } @@ -301,7 +302,7 @@ public final class r extends e { this.l.endTransaction(); return false; } catch (SQLiteException e7) { - B("Failed to commit local dispatch transaction", e7); + A("Failed to commit local dispatch transaction", e7); W(); return false; } @@ -310,7 +311,7 @@ public final class r extends e { this.l.setTransactionSuccessful(); this.l.endTransaction(); } catch (SQLiteException e8) { - B("Failed to commit local dispatch transaction", e8); + A("Failed to commit local dispatch transaction", e8); W(); return false; } @@ -324,7 +325,7 @@ public final class r extends e { this.l.endTransaction(); return false; } catch (SQLiteException e10) { - B("Failed to commit local dispatch transaction", e10); + A("Failed to commit local dispatch transaction", e10); W(); return false; } @@ -334,7 +335,7 @@ public final class r extends e { this.l.setTransactionSuccessful(); this.l.endTransaction(); } catch (SQLiteException e11) { - B("Failed to commit local dispatch transaction", e11); + A("Failed to commit local dispatch transaction", e11); W(); return false; } @@ -353,18 +354,18 @@ public final class r extends e { N(); boolean z2 = true; long j3 = 0; - if (!(!this.u && a0() > 0)) { + if (!(!this.u && X() > 0)) { this.n.a(); W(); } else if (this.l.R()) { this.n.a(); W(); } else { - if (!e0.f1146w.a.booleanValue()) { + if (!e0.w.a.booleanValue()) { n0 n0Var = this.n; n0Var.b.c(); n0Var.b.e(); - if (!n0Var.f1154c) { + if (!n0Var.f1121c) { Context context = n0Var.b.b; context.registerReceiver(n0Var, new IntentFilter("android.net.conn.CONNECTIVITY_CHANGE")); IntentFilter intentFilter = new IntentFilter("com.google.analytics.RADIO_POWERED"); @@ -372,26 +373,26 @@ public final class r extends e { context.registerReceiver(n0Var, intentFilter); n0Var.d = n0Var.b(); n0Var.b.c().b("Registering connectivity change receiver. Network connected", Boolean.valueOf(n0Var.d)); - n0Var.f1154c = true; + n0Var.f1121c = true; } n0 n0Var2 = this.n; - if (!n0Var2.f1154c) { - n0Var2.b.c().G("Connectivity unknown. Receiver not registered"); + if (!n0Var2.f1121c) { + n0Var2.b.c().D("Connectivity unknown. Receiver not registered"); } z2 = n0Var2.d; } if (z2) { V(); - long a02 = a0(); - long Q = w().Q(); - if (Q != 0) { - Objects.requireNonNull((d) this.i.d); - j = a02 - Math.abs(System.currentTimeMillis() - Q); + long X = X(); + long O = u().O(); + if (O != 0) { + Objects.requireNonNull((c) this.i.d); + j = X - Math.abs(System.currentTimeMillis() - O); if (j <= 0) { - j = Math.min(e0.d.a.longValue(), a02); + j = Math.min(e0.d.a.longValue(), X); } } else { - j = Math.min(e0.d.a.longValue(), a02); + j = Math.min(e0.d.a.longValue(), X); } b("Dispatch scheduled (ms)", Long.valueOf(j)); if (this.q.d()) { @@ -399,7 +400,7 @@ public final class r extends e { if (a0Var.d == 0) { j2 = 0; } else { - Objects.requireNonNull((d) a0Var.b.d); + Objects.requireNonNull((c) a0Var.b.d); j2 = Math.abs(System.currentTimeMillis() - a0Var.d); } long max = Math.max(1L, j + j2); @@ -409,14 +410,14 @@ public final class r extends e { a0Var2.a(); return; } - Objects.requireNonNull((d) a0Var2.b.d); + Objects.requireNonNull((c) a0Var2.b.d); long abs = max - Math.abs(System.currentTimeMillis() - a0Var2.d); if (abs >= 0) { j3 = abs; } - a0Var2.b().removeCallbacks(a0Var2.f1142c); - if (!a0Var2.b().postDelayed(a0Var2.f1142c, j3)) { - a0Var2.b.c().B("Failed to adjust delayed post. time", Long.valueOf(j3)); + a0Var2.b().removeCallbacks(a0Var2.f1110c); + if (!a0Var2.b().postDelayed(a0Var2.f1110c, j3)) { + a0Var2.b.c().A("Failed to adjust delayed post. time", Long.valueOf(j3)); return; } return; @@ -442,19 +443,19 @@ public final class r extends e { try { j = this.l.V(); } catch (SQLiteException e) { - B("Failed to get min/max hit times from local store", e); + A("Failed to get min/max hit times from local store", e); j = 0; } if (j != 0) { - Objects.requireNonNull((d) this.i.d); + Objects.requireNonNull((c) this.i.d); if (Math.abs(System.currentTimeMillis() - j) <= e0.f.a.longValue()) { b("Dispatch alarm scheduled (ms)", Long.valueOf(z.b())); c0Var.N(); - c.c.a.a0.d.G(c0Var.k, "Receiver not registered"); + d.G(c0Var.k, "Receiver not registered"); long b = z.b(); if (b > 0) { - c0Var.Q(); - Objects.requireNonNull((d) c0Var.i.d); + c0Var.O(); + Objects.requireNonNull((c) c0Var.i.d); long elapsedRealtime = SystemClock.elapsedRealtime() + b; c0Var.l = true; e0.C.a.booleanValue(); @@ -470,7 +471,7 @@ public final class r extends e { Method method = b1.a; JobScheduler jobScheduler = (JobScheduler) context.getSystemService("jobscheduler"); if (b1.a != null) { - Objects.requireNonNull((c1) b1.f1143c); + Objects.requireNonNull((c1) b1.f1111c); } jobScheduler.schedule(build); return; @@ -492,16 +493,16 @@ public final class r extends e { g.a(gVar.i); c0 c0Var = gVar.i; if (c0Var.l) { - c0Var.Q(); + c0Var.O(); } } - public final long a0() { + public final long X() { long j = this.p; if (j != Long.MIN_VALUE) { return j; } - long longValue = e0.f1144c.a.longValue(); + long longValue = e0.f1112c.a.longValue(); a1 t = t(); t.N(); if (!t.m) { diff --git a/app/src/main/java/c/i/a/f/h/j/r0.java b/app/src/main/java/c/i/a/f/h/j/r0.java index 4c53cb7835..7a95626624 100644 --- a/app/src/main/java/c/i/a/f/h/j/r0.java +++ b/app/src/main/java/c/i/a/f/h/j/r0.java @@ -3,6 +3,7 @@ package c.i.a.f.h.j; import android.content.SharedPreferences; import androidx.recyclerview.widget.RecyclerView; import c.c.a.a0.d; +import c.i.a.f.e.o.c; import java.util.Objects; import java.util.UUID; public final class r0 { @@ -12,13 +13,13 @@ public final class r0 { public r0(p0 p0Var, String str, long j, q0 q0Var) { this.b = p0Var; d.w(str); - d.m(j > 0); + d.l(j > 0); this.a = str; } public final void a(String str) { if (this.b.k.getLong(String.valueOf(this.a).concat(":start"), 0) == 0) { - Objects.requireNonNull((c.i.a.f.e.o.d) this.b.i.d); + Objects.requireNonNull((c) this.b.i.d); long currentTimeMillis = System.currentTimeMillis(); SharedPreferences.Editor edit = this.b.k.edit(); edit.remove(b()); diff --git a/app/src/main/java/c/i/a/f/h/j/s0.java b/app/src/main/java/c/i/a/f/h/j/s0.java index bb087bd9dc..9d10f6fc2f 100644 --- a/app/src/main/java/c/i/a/f/h/j/s0.java +++ b/app/src/main/java/c/i/a/f/h/j/s0.java @@ -8,16 +8,16 @@ public final class s0 { public static a b; /* renamed from: c reason: collision with root package name */ - public static Boolean f1156c; + public static Boolean f1123c; public static boolean a(Context context) { Objects.requireNonNull(context, "null reference"); - Boolean bool = f1156c; + Boolean bool = f1123c; if (bool != null) { return bool.booleanValue(); } boolean a2 = z0.a(context, "com.google.android.gms.analytics.AnalyticsReceiver", false); - f1156c = Boolean.valueOf(a2); + f1123c = Boolean.valueOf(a2); return a2; } } diff --git a/app/src/main/java/c/i/a/f/h/j/t.java b/app/src/main/java/c/i/a/f/h/j/t.java index 6548f49ca5..7b1544fdb8 100644 --- a/app/src/main/java/c/i/a/f/h/j/t.java +++ b/app/src/main/java/c/i/a/f/h/j/t.java @@ -21,6 +21,6 @@ public final class t extends a0 { } catch (SQLiteException e) { rVar.x("Failed to delete stale hits", e); } - rVar.f1155r.e(86400000); + rVar.r.e(86400000); } } diff --git a/app/src/main/java/c/i/a/f/h/j/t0.java b/app/src/main/java/c/i/a/f/h/j/t0.java index 50eb6d8062..e358574511 100644 --- a/app/src/main/java/c/i/a/f/h/j/t0.java +++ b/app/src/main/java/c/i/a/f/h/j/t0.java @@ -15,10 +15,10 @@ public final class t0 { public final Handler b = new e1(); /* renamed from: c reason: collision with root package name */ - public final T f1157c; + public final T f1124c; public t0(T t) { - this.f1157c = t; + this.f1124c = t; } public static boolean c(Context context) { @@ -44,15 +44,15 @@ public final class t0 { try { synchronized (s0.a) { a aVar = s0.b; - if (aVar != null && aVar.f1301c.isHeld()) { + if (aVar != null && aVar.f1260c.isHeld()) { aVar.b(); } } } catch (SecurityException unused) { } - m0 c2 = g.b(this.f1157c).c(); + m0 c2 = g.b(this.f1124c).c(); if (intent == null) { - c2.G("AnalyticsService started with null intent"); + c2.D("AnalyticsService started with null intent"); return 2; } String action = intent.getAction(); @@ -64,9 +64,9 @@ public final class t0 { } public final void b(Runnable runnable) { - a e = g.b(this.f1157c).e(); + a e = g.b(this.f1124c).e(); w0 w0Var = new w0(this, runnable); e.N(); - e.r().a(new c(e, w0Var)); + e.q().a(new c(e, w0Var)); } } diff --git a/app/src/main/java/c/i/a/f/h/j/u.java b/app/src/main/java/c/i/a/f/h/j/u.java index eb4eed7abf..5c41592a35 100644 --- a/app/src/main/java/c/i/a/f/h/j/u.java +++ b/app/src/main/java/c/i/a/f/h/j/u.java @@ -4,7 +4,7 @@ import android.content.Context; import android.content.SharedPreferences; import c.i.a.f.b.a; import c.i.a.f.b.f; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import java.util.Objects; public final class u implements Runnable { public final /* synthetic */ r i; @@ -21,7 +21,7 @@ public final class u implements Runnable { f.b(); Context context = rVar.i.b; if (!s0.a(context)) { - rVar.G("AnalyticsReceiver is not registered or is disabled. Register the receiver for reliable dispatching on non-Google Play devices. See http://goo.gl/8Rd3yj for instructions."); + rVar.D("AnalyticsReceiver is not registered or is disabled. Register the receiver for reliable dispatching on non-Google Play devices. See http://goo.gl/8Rd3yj for instructions."); } else if (!t0.c(context)) { rVar.H("AnalyticsService is not registered or is disabled. Analytics service at risk of not starting. See http://goo.gl/8Rd3yj for instructions."); } @@ -34,25 +34,25 @@ public final class u implements Runnable { a.a = Boolean.valueOf(z2); } if (!z2) { - rVar.G("CampaignTrackingReceiver is not registered, not exported or is disabled. Installation campaign tracking is not possible. See http://goo.gl/8Rd3yj for instructions."); + rVar.D("CampaignTrackingReceiver is not registered, not exported or is disabled. Installation campaign tracking is not possible. See http://goo.gl/8Rd3yj for instructions."); } - p0 w2 = rVar.w(); - Objects.requireNonNull(w2); + p0 u = rVar.u(); + Objects.requireNonNull(u); f.b(); - w2.N(); - if (w2.l == 0) { - long j = w2.k.getLong("first_run", 0); + u.N(); + if (u.l == 0) { + long j = u.k.getLong("first_run", 0); if (j != 0) { - w2.l = j; + u.l = j; } else { - Objects.requireNonNull((d) w2.i.d); + Objects.requireNonNull((c) u.i.d); long currentTimeMillis = System.currentTimeMillis(); - SharedPreferences.Editor edit = w2.k.edit(); + SharedPreferences.Editor edit = u.k.edit(); edit.putLong("first_run", currentTimeMillis); if (!edit.commit()) { - w2.G("Failed to commit first run time"); + u.D("Failed to commit first run time"); } - w2.l = currentTimeMillis; + u.l = currentTimeMillis; } } if (!rVar.b0("android.permission.ACCESS_NETWORK_STATE")) { @@ -60,7 +60,7 @@ public final class u implements Runnable { rVar.N(); f.b(); rVar.u = true; - rVar.o.Q(); + rVar.o.O(); rVar.U(); } if (!rVar.b0("android.permission.INTERNET")) { @@ -68,13 +68,13 @@ public final class u implements Runnable { rVar.N(); f.b(); rVar.u = true; - rVar.o.Q(); + rVar.o.O(); rVar.U(); } if (t0.c(rVar.i.b)) { rVar.C("AnalyticsService registered in the app manifest and enabled"); } else { - rVar.G("AnalyticsService not registered in the app manifest. Hits might not be delivered reliably. See http://goo.gl/8Rd3yj for instructions."); + rVar.D("AnalyticsService not registered in the app manifest. Hits might not be delivered reliably. See http://goo.gl/8Rd3yj for instructions."); } if (!rVar.u && !rVar.l.R()) { rVar.S(); diff --git a/app/src/main/java/c/i/a/f/h/j/u0.java b/app/src/main/java/c/i/a/f/h/j/u0.java index f39c979d38..8f8916eb7f 100644 --- a/app/src/main/java/c/i/a/f/h/j/u0.java +++ b/app/src/main/java/c/i/a/f/h/j/u0.java @@ -15,7 +15,7 @@ public final /* synthetic */ class u0 implements Runnable { t0 t0Var = this.i; int i = this.j; m0 m0Var = this.k; - if (t0Var.f1157c.b(i)) { + if (t0Var.f1124c.b(i)) { m0Var.C("Local AnalyticsService processed last dispatch request"); } } diff --git a/app/src/main/java/c/i/a/f/h/j/v0.java b/app/src/main/java/c/i/a/f/h/j/v0.java index 20ee87d3c3..cc6a49a2a4 100644 --- a/app/src/main/java/c/i/a/f/h/j/v0.java +++ b/app/src/main/java/c/i/a/f/h/j/v0.java @@ -20,6 +20,6 @@ public final /* synthetic */ class v0 implements Runnable { JobParameters jobParameters = this.k; Objects.requireNonNull(t0Var); m0Var.C("AnalyticsJobService processed last dispatch request"); - t0Var.f1157c.a(jobParameters, false); + t0Var.f1124c.a(jobParameters, false); } } diff --git a/app/src/main/java/c/i/a/f/h/j/y.java b/app/src/main/java/c/i/a/f/h/j/y.java index 614fb5b6fd..7a7385a999 100644 --- a/app/src/main/java/c/i/a/f/h/j/y.java +++ b/app/src/main/java/c/i/a/f/h/j/y.java @@ -60,7 +60,7 @@ public class y extends d { eventType = xmlResourceParser.next(); } } catch (IOException | XmlPullParserException e3) { - B("Error parsing tracker configuration file", e3); + A("Error parsing tracker configuration file", e3); } return (T) this.j.b; } diff --git a/app/src/main/java/c/i/a/f/h/j/y0.java b/app/src/main/java/c/i/a/f/h/j/y0.java index 61d855abf5..c1cd7f5741 100644 --- a/app/src/main/java/c/i/a/f/h/j/y0.java +++ b/app/src/main/java/c/i/a/f/h/j/y0.java @@ -2,7 +2,7 @@ package c.i.a.f.h.j; import android.os.SystemClock; import c.i.a.f.e.o.b; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import java.util.Objects; public final class y0 { public final b a; @@ -14,7 +14,7 @@ public final class y0 { } public final void a() { - Objects.requireNonNull((d) this.a); + Objects.requireNonNull((c) this.a); this.b = SystemClock.elapsedRealtime(); } @@ -22,7 +22,7 @@ public final class y0 { if (this.b == 0) { return true; } - Objects.requireNonNull((d) this.a); + Objects.requireNonNull((c) this.a); return SystemClock.elapsedRealtime() - this.b > j; } } diff --git a/app/src/main/java/c/i/a/f/h/j/z.java b/app/src/main/java/c/i/a/f/h/j/z.java index a94504f357..ae2e19c9bc 100644 --- a/app/src/main/java/c/i/a/f/h/j/z.java +++ b/app/src/main/java/c/i/a/f/h/j/z.java @@ -10,7 +10,7 @@ public final class z { public volatile Boolean b; /* renamed from: c reason: collision with root package name */ - public String f1158c; + public String f1125c; public Set d; public z(g gVar) { @@ -62,8 +62,8 @@ public final class z { public final Set g() { String str; - String str2 = e0.s.a; - if (this.d == null || (str = this.f1158c) == null || !str.equals(str2)) { + String str2 = e0.f1113s.a; + if (this.d == null || (str = this.f1125c) == null || !str.equals(str2)) { String[] split = TextUtils.split(str2, ","); HashSet hashSet = new HashSet(); for (String str3 : split) { @@ -72,7 +72,7 @@ public final class z { } catch (NumberFormatException unused) { } } - this.f1158c = str2; + this.f1125c = str2; this.d = hashSet; } return this.d; diff --git a/app/src/main/java/c/i/a/f/h/k/b.java b/app/src/main/java/c/i/a/f/h/k/b.java index 22374802ae..89a1011628 100644 --- a/app/src/main/java/c/i/a/f/h/k/b.java +++ b/app/src/main/java/c/i/a/f/h/k/b.java @@ -5,5 +5,5 @@ import android.os.RemoteException; import com.google.firebase.appindexing.internal.zza; /* compiled from: com.google.firebase:firebase-appindexing@@19.1.0 */ public interface b extends IInterface { - void R(c cVar, zza[] zzaArr) throws RemoteException; + void T(c cVar, zza[] zzaArr) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/h/k/d.java b/app/src/main/java/c/i/a/f/h/k/d.java index 44d214e6b9..dfc9574861 100644 --- a/app/src/main/java/c/i/a/f/h/k/d.java +++ b/app/src/main/java/c/i/a/f/h/k/d.java @@ -15,7 +15,7 @@ public final class d implements b, IInterface { } @Override // c.i.a.f.h.k.b - public final void R(c cVar, zza[] zzaArr) throws RemoteException { + public final void T(c cVar, zza[] zzaArr) throws RemoteException { Parcel obtain = Parcel.obtain(); obtain.writeInterfaceToken(this.b); int i = i.a; diff --git a/app/src/main/java/c/i/a/f/h/k/j.java b/app/src/main/java/c/i/a/f/h/k/j.java index 283d354567..8dce3731d5 100644 --- a/app/src/main/java/c/i/a/f/h/k/j.java +++ b/app/src/main/java/c/i/a/f/h/k/j.java @@ -7,10 +7,10 @@ import c.i.a.f.e.h.j.f; import c.i.a.f.e.h.j.l; import c.i.a.f.e.k.c; /* compiled from: com.google.firebase:firebase-appindexing@@19.1.0 */ -public final class j extends a.AbstractC0106a { +public final class j extends a.AbstractC0105a { /* Return type fixed from 'c.i.a.f.e.h.a$f' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [android.content.Context, android.os.Looper, c.i.a.f.e.k.c, java.lang.Object, c.i.a.f.e.h.j.f, c.i.a.f.e.h.j.l] */ - @Override // c.i.a.f.e.h.a.AbstractC0106a + @Override // c.i.a.f.e.h.a.AbstractC0105a public final /* synthetic */ g b(Context context, Looper looper, c cVar, a.d.c cVar2, f fVar, l lVar) { return new g(context, looper, cVar, fVar, lVar); } diff --git a/app/src/main/java/c/i/a/f/h/k/k.java b/app/src/main/java/c/i/a/f/h/k/k.java index cf544475a2..f6e5cde782 100644 --- a/app/src/main/java/c/i/a/f/h/k/k.java +++ b/app/src/main/java/c/i/a/f/h/k/k.java @@ -4,16 +4,16 @@ import c.i.a.f.e.h.a; /* compiled from: com.google.firebase:firebase-appindexing@@19.1.0 */ public final class k { public static final a.g a; - public static final a.AbstractC0106a b; + public static final a.AbstractC0105a b; /* renamed from: c reason: collision with root package name */ - public static final a f1159c; + public static final a f1126c; static { a.g gVar = new a.g<>(); a = gVar; j jVar = new j(); b = jVar; - f1159c = new a<>("AppDataSearch.LIGHTWEIGHT_API", jVar, gVar); + f1126c = new a<>("AppDataSearch.LIGHTWEIGHT_API", jVar, gVar); } } diff --git a/app/src/main/java/c/i/a/f/h/k/m.java b/app/src/main/java/c/i/a/f/h/k/m.java index e71ab2f9a4..3bca4069fa 100644 --- a/app/src/main/java/c/i/a/f/h/k/m.java +++ b/app/src/main/java/c/i/a/f/h/k/m.java @@ -11,27 +11,27 @@ public final class m implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzh createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); zzk[] zzkArr = null; String str = null; Account account = null; boolean z2 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i = 65535 & readInt; if (i == 1) { - zzkArr = (zzk[]) d.W(parcel, readInt, zzk.CREATOR); + zzkArr = (zzk[]) d.T(parcel, readInt, zzk.CREATOR); } else if (i == 2) { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } else if (i == 3) { - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); } else if (i != 4) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - account = (Account) d.S(parcel, readInt, Account.CREATOR); + account = (Account) d.P(parcel, readInt, Account.CREATOR); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzh(zzkArr, str, z2, account); } diff --git a/app/src/main/java/c/i/a/f/h/k/n.java b/app/src/main/java/c/i/a/f/h/k/n.java index 12b18a5899..9322995956 100644 --- a/app/src/main/java/c/i/a/f/h/k/n.java +++ b/app/src/main/java/c/i/a/f/h/k/n.java @@ -9,24 +9,24 @@ public final class n implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzi createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; String str2 = null; String str3 = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i = 65535 & readInt; if (i == 1) { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } else if (i == 2) { - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); } else if (i != 3) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - str3 = d.T(parcel, readInt); + str3 = d.Q(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzi(str, str2, str3); } diff --git a/app/src/main/java/c/i/a/f/h/k/o.java b/app/src/main/java/c/i/a/f/h/k/o.java index 9a56dc56b0..4dd788e63b 100644 --- a/app/src/main/java/c/i/a/f/h/k/o.java +++ b/app/src/main/java/c/i/a/f/h/k/o.java @@ -10,27 +10,27 @@ public final class o implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzk createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; zzt zzt = null; byte[] bArr = null; int i = -1; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 1) { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } else if (i2 == 3) { - zzt = (zzt) d.S(parcel, readInt, zzt.CREATOR); + zzt = (zzt) d.P(parcel, readInt, zzt.CREATOR); } else if (i2 == 4) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i2 != 5) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - bArr = d.Q(parcel, readInt); + bArr = d.N(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzk(str, zzt, i, bArr); } diff --git a/app/src/main/java/c/i/a/f/h/k/p.java b/app/src/main/java/c/i/a/f/h/k/p.java index 97554a8636..6b15e3ab46 100644 --- a/app/src/main/java/c/i/a/f/h/k/p.java +++ b/app/src/main/java/c/i/a/f/h/k/p.java @@ -10,21 +10,21 @@ public final class p implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzm createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; Bundle bundle = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 1) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i2 != 2) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - bundle = d.P(parcel, readInt); + bundle = d.M(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzm(i, bundle); } diff --git a/app/src/main/java/c/i/a/f/h/k/r.java b/app/src/main/java/c/i/a/f/h/k/r.java index f74ecce29b..0c9afa060c 100644 --- a/app/src/main/java/c/i/a/f/h/k/r.java +++ b/app/src/main/java/c/i/a/f/h/k/r.java @@ -12,24 +12,24 @@ public final class r implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzo createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); Status status = null; ArrayList arrayList = null; String[] strArr = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i = 65535 & readInt; if (i == 1) { - status = (Status) d.S(parcel, readInt, Status.CREATOR); + status = (Status) d.P(parcel, readInt, Status.CREATOR); } else if (i == 2) { - arrayList = d.X(parcel, readInt, zzw.CREATOR); + arrayList = d.U(parcel, readInt, zzw.CREATOR); } else if (i != 3) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - strArr = d.U(parcel, readInt); + strArr = d.R(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzo(status, arrayList, strArr); } diff --git a/app/src/main/java/c/i/a/f/h/k/s.java b/app/src/main/java/c/i/a/f/h/k/s.java index 997b592cfe..f6a7a59781 100644 --- a/app/src/main/java/c/i/a/f/h/k/s.java +++ b/app/src/main/java/c/i/a/f/h/k/s.java @@ -11,7 +11,7 @@ public final class s implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzt createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; String str2 = null; String str3 = null; @@ -21,43 +21,43 @@ public final class s implements Parcelable.Creator { boolean z2 = false; int i = 1; boolean z3 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 11) { - str4 = d.T(parcel, readInt); + str4 = d.Q(parcel, readInt); } else if (i2 != 12) { switch (i2) { case 1: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); continue; case 2: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); continue; case 3: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); continue; case 4: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); continue; case 5: - z3 = d.E1(parcel, readInt); + z3 = d.C1(parcel, readInt); continue; case 6: - str3 = d.T(parcel, readInt); + str3 = d.Q(parcel, readInt); continue; case 7: - zzmArr = (zzm[]) d.W(parcel, readInt, zzm.CREATOR); + zzmArr = (zzm[]) d.T(parcel, readInt, zzm.CREATOR); continue; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); continue; } } else { - zzu = (zzu) d.S(parcel, readInt, zzu.CREATOR); + zzu = (zzu) d.P(parcel, readInt, zzu.CREATOR); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzt(str, str2, z2, i, z3, str3, zzmArr, str4, zzu); } diff --git a/app/src/main/java/c/i/a/f/h/k/t.java b/app/src/main/java/c/i/a/f/h/k/t.java index ff1a4703ca..7418361816 100644 --- a/app/src/main/java/c/i/a/f/h/k/t.java +++ b/app/src/main/java/c/i/a/f/h/k/t.java @@ -9,17 +9,17 @@ public final class t implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzu createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); boolean z2 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); if ((65535 & readInt) != 1) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzu(z2); } diff --git a/app/src/main/java/c/i/a/f/h/k/u.java b/app/src/main/java/c/i/a/f/h/k/u.java index fe94f7ad9b..d4399a3cf2 100644 --- a/app/src/main/java/c/i/a/f/h/k/u.java +++ b/app/src/main/java/c/i/a/f/h/k/u.java @@ -11,7 +11,7 @@ public final class u implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzw createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); zzi zzi = null; String str = null; zzh zzh = null; @@ -21,42 +21,42 @@ public final class u implements Parcelable.Creator { boolean z2 = false; int i2 = -1; int i3 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - zzi = (zzi) d.S(parcel, readInt, zzi.CREATOR); + zzi = (zzi) d.P(parcel, readInt, zzi.CREATOR); break; case 2: - j = d.H1(parcel, readInt); + j = d.F1(parcel, readInt); break; case 3: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); break; case 4: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 5: - zzh = (zzh) d.S(parcel, readInt, zzh.CREATOR); + zzh = (zzh) d.P(parcel, readInt, zzh.CREATOR); break; case 6: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); break; case 7: - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); break; case 8: - i3 = d.G1(parcel, readInt); + i3 = d.E1(parcel, readInt); break; case 9: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzw(zzi, j, i, str, zzh, z2, i2, i3, str2); } diff --git a/app/src/main/java/c/i/a/f/h/l/a3.java b/app/src/main/java/c/i/a/f/h/l/a3.java index c2c7f7149e..a63d09b3cb 100644 --- a/app/src/main/java/c/i/a/f/h/l/a3.java +++ b/app/src/main/java/c/i/a/f/h/l/a3.java @@ -36,11 +36,11 @@ public final class a3 implements z2, Serializable { Object obj; if (this.i) { String valueOf = String.valueOf(this.j); - obj = a.g(valueOf.length() + 25, ""); + obj = a.j(valueOf.length() + 25, ""); } else { obj = this.zza; } String valueOf2 = String.valueOf(obj); - return a.g(valueOf2.length() + 19, "Suppliers.memoize(", valueOf2, ")"); + return a.j(valueOf2.length() + 19, "Suppliers.memoize(", valueOf2, ")"); } } diff --git a/app/src/main/java/c/i/a/f/h/l/a9.java b/app/src/main/java/c/i/a/f/h/l/a9.java index 20604bb87f..426c63c98f 100644 --- a/app/src/main/java/c/i/a/f/h/l/a9.java +++ b/app/src/main/java/c/i/a/f/h/l/a9.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class a9 implements z2 { public static a9 i = new a9(); - public final z2 j = c.C0(new b3(new c9())); + public final z2 j = f.x1(new b3(new c9())); public static boolean b() { return ((d9) i.a()).a(); diff --git a/app/src/main/java/c/i/a/f/h/l/b.java b/app/src/main/java/c/i/a/f/h/l/b.java index 5d6b0b4b01..ea9c87ab94 100644 --- a/app/src/main/java/c/i/a/f/h/l/b.java +++ b/app/src/main/java/c/i/a/f/h/l/b.java @@ -13,7 +13,7 @@ public abstract class b extends s0 implements c { @Override // c.i.a.f.h.l.s0 public final boolean e(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException { if (i == 1) { - ((g.c) this).X(parcel.readString(), parcel.readString(), (Bundle) v.a(parcel, Bundle.CREATOR), parcel.readLong()); + ((g.c) this).Z(parcel.readString(), parcel.readString(), (Bundle) v.a(parcel, Bundle.CREATOR), parcel.readLong()); parcel2.writeNoException(); } else if (i != 2) { return false; diff --git a/app/src/main/java/c/i/a/f/h/l/b3.java b/app/src/main/java/c/i/a/f/h/l/b3.java index 874e3116bd..1985b19a36 100644 --- a/app/src/main/java/c/i/a/f/h/l/b3.java +++ b/app/src/main/java/c/i/a/f/h/l/b3.java @@ -1,7 +1,7 @@ package c.i.a.f.h.l; import c.d.b.a.a; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import java.io.Serializable; import java.util.Arrays; import org.checkerframework.checker.nullness.compatqual.NullableDecl; @@ -22,7 +22,7 @@ public final class b3 implements z2, Serializable { @Override // java.lang.Object public final boolean equals(@NullableDecl Object obj) { if (obj instanceof b3) { - return c.W0(this.zza, ((b3) obj).zza); + return f.R1(this.zza, ((b3) obj).zza); } return false; } @@ -35,6 +35,6 @@ public final class b3 implements z2, Serializable { @Override // java.lang.Object public final String toString() { String valueOf = String.valueOf(this.zza); - return a.g(valueOf.length() + 22, "Suppliers.ofInstance(", valueOf, ")"); + return a.j(valueOf.length() + 22, "Suppliers.ofInstance(", valueOf, ")"); } } diff --git a/app/src/main/java/c/i/a/f/h/l/b5.java b/app/src/main/java/c/i/a/f/h/l/b5.java index 7cb28a7cde..4f93a1d0b6 100644 --- a/app/src/main/java/c/i/a/f/h/l/b5.java +++ b/app/src/main/java/c/i/a/f/h/l/b5.java @@ -8,5 +8,5 @@ public interface b5 extends List, RandomAccess { b5 f(int i); - void f0(); + void g0(); } diff --git a/app/src/main/java/c/i/a/f/h/l/b8.java b/app/src/main/java/c/i/a/f/h/l/b8.java index d816432398..e4b3dbbcdb 100644 --- a/app/src/main/java/c/i/a/f/h/l/b8.java +++ b/app/src/main/java/c/i/a/f/h/l/b8.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class b8 implements z2 { public static b8 i = new b8(); - public final z2 j = c.C0(new b3(new d8())); + public final z2 j = f.x1(new b3(new d8())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/bb.java b/app/src/main/java/c/i/a/f/h/l/bb.java index 9a445c1927..130744798d 100644 --- a/app/src/main/java/c/i/a/f/h/l/bb.java +++ b/app/src/main/java/c/i/a/f/h/l/bb.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class bb implements z2 { public static bb i = new bb(); - public final z2 j = c.C0(new b3(new db())); + public final z2 j = f.x1(new b3(new db())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/c.java b/app/src/main/java/c/i/a/f/h/l/c.java index d8baf40a3c..c7a7235acb 100644 --- a/app/src/main/java/c/i/a/f/h/l/c.java +++ b/app/src/main/java/c/i/a/f/h/l/c.java @@ -5,7 +5,7 @@ import android.os.IInterface; import android.os.RemoteException; /* compiled from: com.google.android.gms:play-services-measurement-base@@18.0.0 */ public interface c extends IInterface { - void X(String str, String str2, Bundle bundle, long j) throws RemoteException; + void Z(String str, String str2, Bundle bundle, long j) throws RemoteException; int a() throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/h/l/c0.java b/app/src/main/java/c/i/a/f/h/l/c0.java index 4fba5ffd2c..579dcc6711 100644 --- a/app/src/main/java/c/i/a/f/h/l/c0.java +++ b/app/src/main/java/c/i/a/f/h/l/c0.java @@ -10,26 +10,26 @@ public final class c0 extends g.a { public final /* synthetic */ String o; public final /* synthetic */ Bundle p; public final /* synthetic */ boolean q; + public final /* synthetic */ boolean r; - /* renamed from: r reason: collision with root package name */ - public final /* synthetic */ boolean f1160r; - public final /* synthetic */ g s; + /* renamed from: s reason: collision with root package name */ + public final /* synthetic */ g f1127s; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public c0(g gVar, Long l, String str, String str2, Bundle bundle, boolean z2, boolean z3) { super(true); - this.s = gVar; + this.f1127s = gVar; this.m = l; this.n = str; this.o = str2; this.p = bundle; this.q = z2; - this.f1160r = z3; + this.r = z3; } @Override // c.i.a.f.h.l.g.a public final void a() throws RemoteException { Long l = this.m; - this.s.j.logEvent(this.n, this.o, this.p, this.q, this.f1160r, l == null ? this.i : l.longValue()); + this.f1127s.j.logEvent(this.n, this.o, this.p, this.q, this.r, l == null ? this.i : l.longValue()); } } diff --git a/app/src/main/java/c/i/a/f/h/l/c2.java b/app/src/main/java/c/i/a/f/h/l/c2.java index 8624808e9c..4090177ec8 100644 --- a/app/src/main/java/c/i/a/f/h/l/c2.java +++ b/app/src/main/java/c/i/a/f/h/l/c2.java @@ -5,7 +5,7 @@ import android.database.ContentObserver; import android.util.Log; import androidx.annotation.GuardedBy; import androidx.core.content.PermissionChecker; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class c2 implements b2 { @GuardedBy("GservicesLoader.class") @@ -13,17 +13,17 @@ public final class c2 implements b2 { public final Context b; /* renamed from: c reason: collision with root package name */ - public final ContentObserver f1161c; + public final ContentObserver f1128c; public c2() { this.b = null; - this.f1161c = null; + this.f1128c = null; } public c2(Context context) { this.b = context; f2 f2Var = new f2(); - this.f1161c = f2Var; + this.f1128c = f2Var; context.getContentResolver().registerContentObserver(u1.a, true, f2Var); } @@ -44,7 +44,7 @@ public final class c2 implements b2 { return null; } try { - return (String) c.F0(new g2(this, str)); + return (String) f.A1(new g2(this, str)); } catch (IllegalStateException | SecurityException e) { String valueOf = String.valueOf(str); Log.e("GservicesLoader", valueOf.length() != 0 ? "Unable to read GServices for: ".concat(valueOf) : new String("Unable to read GServices for: "), e); diff --git a/app/src/main/java/c/i/a/f/h/l/c3.java b/app/src/main/java/c/i/a/f/h/l/c3.java index e5d0a82479..ef9b9f3d69 100644 --- a/app/src/main/java/c/i/a/f/h/l/c3.java +++ b/app/src/main/java/c/i/a/f/h/l/c3.java @@ -35,9 +35,9 @@ public final class c3 implements z2 { Object obj = this.i; if (obj == null) { String valueOf = String.valueOf(this.k); - obj = a.g(valueOf.length() + 25, ""); + obj = a.j(valueOf.length() + 25, ""); } String valueOf2 = String.valueOf(obj); - return a.g(valueOf2.length() + 19, "Suppliers.memoize(", valueOf2, ")"); + return a.j(valueOf2.length() + 19, "Suppliers.memoize(", valueOf2, ")"); } } diff --git a/app/src/main/java/c/i/a/f/h/l/c7.java b/app/src/main/java/c/i/a/f/h/l/c7.java index 976058c1f8..7c05c95c41 100644 --- a/app/src/main/java/c/i/a/f/h/l/c7.java +++ b/app/src/main/java/c/i/a/f/h/l/c7.java @@ -12,7 +12,7 @@ public final class c7 { public int b; /* renamed from: c reason: collision with root package name */ - public int[] f1162c; + public int[] f1129c; public Object[] d; public int e; public boolean f; @@ -24,7 +24,7 @@ public final class c7 { public c7(int i, int[] iArr, Object[] objArr, boolean z2) { this.e = -1; this.b = i; - this.f1162c = iArr; + this.f1129c = iArr; this.d = objArr; this.f = z2; } @@ -58,13 +58,13 @@ public final class c7 { public final void a(int i, Object obj) { if (this.f) { int i2 = this.b; - int[] iArr = this.f1162c; + int[] iArr = this.f1129c; if (i2 == iArr.length) { int i3 = i2 + (i2 < 4 ? 8 : i2 >> 1); - this.f1162c = Arrays.copyOf(iArr, i3); + this.f1129c = Arrays.copyOf(iArr, i3); this.d = Arrays.copyOf(this.d, i3); } - int[] iArr2 = this.f1162c; + int[] iArr2 = this.f1129c; int i4 = this.b; iArr2[i4] = i; this.d[i4] = obj; @@ -78,7 +78,7 @@ public final class c7 { if (this.b != 0) { Objects.requireNonNull(v7Var); for (int i = 0; i < this.b; i++) { - b(this.f1162c[i], this.d[i], v7Var); + b(this.f1129c[i], this.d[i], v7Var); } } } @@ -91,7 +91,7 @@ public final class c7 { } int i3 = 0; for (int i4 = 0; i4 < this.b; i4++) { - int i5 = this.f1162c[i4]; + int i5 = this.f1129c[i4]; int i6 = i5 >>> 3; int i7 = i5 & 7; if (i7 == 0) { @@ -128,8 +128,8 @@ public final class c7 { c7 c7Var = (c7) obj; int i = this.b; if (i == c7Var.b) { - int[] iArr = this.f1162c; - int[] iArr2 = c7Var.f1162c; + int[] iArr = this.f1129c; + int[] iArr2 = c7Var.f1129c; int i2 = 0; while (true) { if (i2 >= i) { @@ -169,7 +169,7 @@ public final class c7 { public final int hashCode() { int i = this.b; int i2 = (i + 527) * 31; - int[] iArr = this.f1162c; + int[] iArr = this.f1129c; int i3 = 17; int i4 = 17; for (int i5 = 0; i5 < i; i5++) { diff --git a/app/src/main/java/c/i/a/f/h/l/c8.java b/app/src/main/java/c/i/a/f/h/l/c8.java index 09cd3ecb2c..1039379da2 100644 --- a/app/src/main/java/c/i/a/f/h/l/c8.java +++ b/app/src/main/java/c/i/a/f/h/l/c8.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class c8 implements z2 { public static c8 i = new c8(); - public final z2 j = c.C0(new b3(new e8())); + public final z2 j = f.x1(new b3(new e8())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/cb.java b/app/src/main/java/c/i/a/f/h/l/cb.java index d51693bfa6..4d9fa21007 100644 --- a/app/src/main/java/c/i/a/f/h/l/cb.java +++ b/app/src/main/java/c/i/a/f/h/l/cb.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class cb implements z2 { public static cb i = new cb(); - public final z2 j = c.C0(new b3(new eb())); + public final z2 j = f.x1(new b3(new eb())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/cc.java b/app/src/main/java/c/i/a/f/h/l/cc.java index 75b1d3e321..e4f57e5b7d 100644 --- a/app/src/main/java/c/i/a/f/h/l/cc.java +++ b/app/src/main/java/c/i/a/f/h/l/cc.java @@ -39,10 +39,10 @@ public final class cc extends ic { } public final String h(long j) { - return (String) g(y0(j), String.class); + return (String) g(x0(j), String.class); } - public final Bundle y0(long j) { + public final Bundle x0(long j) { Bundle bundle; synchronized (this.a) { if (!this.b) { diff --git a/app/src/main/java/c/i/a/f/h/l/d5.java b/app/src/main/java/c/i/a/f/h/l/d5.java index 363edd53be..dde6324c35 100644 --- a/app/src/main/java/c/i/a/f/h/l/d5.java +++ b/app/src/main/java/c/i/a/f/h/l/d5.java @@ -3,7 +3,7 @@ package c.i.a.f.h.l; public final class d5 extends h5 { /* renamed from: c reason: collision with root package name */ - public static final /* synthetic */ int f1163c = 0; + public static final /* synthetic */ int f1130c = 0; @Override // c.i.a.f.h.l.h5 public final boolean equals(Object obj) { diff --git a/app/src/main/java/c/i/a/f/h/l/da.java b/app/src/main/java/c/i/a/f/h/l/da.java index 721bb6511c..773df53a4c 100644 --- a/app/src/main/java/c/i/a/f/h/l/da.java +++ b/app/src/main/java/c/i/a/f/h/l/da.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class da implements z2 { public static da i = new da(); - public final z2 j = c.C0(new b3(new fa())); + public final z2 j = f.x1(new b3(new fa())); public static boolean b() { return ((ca) i.a()).a(); diff --git a/app/src/main/java/c/i/a/f/h/l/dc.java b/app/src/main/java/c/i/a/f/h/l/dc.java index 280c54e25a..6c19f3cb35 100644 --- a/app/src/main/java/c/i/a/f/h/l/dc.java +++ b/app/src/main/java/c/i/a/f/h/l/dc.java @@ -44,7 +44,7 @@ public abstract class dc extends s0 implements ec { fc fcVar14 = null; switch (i) { case 1: - initialize(a.AbstractBinderC0112a.g(parcel.readStrongBinder()), (zzae) v.a(parcel, zzae.CREATOR), parcel.readLong()); + initialize(a.AbstractBinderC0110a.g(parcel.readStrongBinder()), (zzae) v.a(parcel, zzae.CREATOR), parcel.readLong()); break; case 2: logEvent(parcel.readString(), parcel.readString(), (Bundle) v.a(parcel, Bundle.CREATOR), parcel.readInt() != 0, parcel.readInt() != 0, parcel.readLong()); @@ -63,7 +63,7 @@ public abstract class dc extends s0 implements ec { case 4: String readString3 = parcel.readString(); String readString4 = parcel.readString(); - a g = a.AbstractBinderC0112a.g(parcel.readStrongBinder()); + a g = a.AbstractBinderC0110a.g(parcel.readStrongBinder()); ClassLoader classLoader = v.a; setUserProperty(readString3, readString4, g, parcel.readInt() != 0, parcel.readLong()); break; @@ -126,7 +126,7 @@ public abstract class dc extends s0 implements ec { setSessionTimeoutDuration(parcel.readLong()); break; case 15: - setCurrentScreen(a.AbstractBinderC0112a.g(parcel.readStrongBinder()), parcel.readString(), parcel.readString(), parcel.readLong()); + setCurrentScreen(a.AbstractBinderC0110a.g(parcel.readStrongBinder()), parcel.readString(), parcel.readString(), parcel.readLong()); break; case 16: IBinder readStrongBinder5 = parcel.readStrongBinder(); @@ -191,25 +191,25 @@ public abstract class dc extends s0 implements ec { endAdUnitExposure(parcel.readString(), parcel.readLong()); break; case 25: - onActivityStarted(a.AbstractBinderC0112a.g(parcel.readStrongBinder()), parcel.readLong()); + onActivityStarted(a.AbstractBinderC0110a.g(parcel.readStrongBinder()), parcel.readLong()); break; case 26: - onActivityStopped(a.AbstractBinderC0112a.g(parcel.readStrongBinder()), parcel.readLong()); + onActivityStopped(a.AbstractBinderC0110a.g(parcel.readStrongBinder()), parcel.readLong()); break; case 27: - onActivityCreated(a.AbstractBinderC0112a.g(parcel.readStrongBinder()), (Bundle) v.a(parcel, Bundle.CREATOR), parcel.readLong()); + onActivityCreated(a.AbstractBinderC0110a.g(parcel.readStrongBinder()), (Bundle) v.a(parcel, Bundle.CREATOR), parcel.readLong()); break; case 28: - onActivityDestroyed(a.AbstractBinderC0112a.g(parcel.readStrongBinder()), parcel.readLong()); + onActivityDestroyed(a.AbstractBinderC0110a.g(parcel.readStrongBinder()), parcel.readLong()); break; case 29: - onActivityPaused(a.AbstractBinderC0112a.g(parcel.readStrongBinder()), parcel.readLong()); + onActivityPaused(a.AbstractBinderC0110a.g(parcel.readStrongBinder()), parcel.readLong()); break; case 30: - onActivityResumed(a.AbstractBinderC0112a.g(parcel.readStrongBinder()), parcel.readLong()); + onActivityResumed(a.AbstractBinderC0110a.g(parcel.readStrongBinder()), parcel.readLong()); break; case 31: - a g2 = a.AbstractBinderC0112a.g(parcel.readStrongBinder()); + a g2 = a.AbstractBinderC0110a.g(parcel.readStrongBinder()); IBinder readStrongBinder12 = parcel.readStrongBinder(); if (readStrongBinder12 != null) { IInterface queryLocalInterface12 = readStrongBinder12.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver"); @@ -227,7 +227,7 @@ public abstract class dc extends s0 implements ec { performAction(bundle2, fcVar4, parcel.readLong()); break; case 33: - logHealthData(parcel.readInt(), parcel.readString(), a.AbstractBinderC0112a.g(parcel.readStrongBinder()), a.AbstractBinderC0112a.g(parcel.readStrongBinder()), a.AbstractBinderC0112a.g(parcel.readStrongBinder())); + logHealthData(parcel.readInt(), parcel.readString(), a.AbstractBinderC0110a.g(parcel.readStrongBinder()), a.AbstractBinderC0110a.g(parcel.readStrongBinder()), a.AbstractBinderC0110a.g(parcel.readStrongBinder())); break; case 34: IBinder readStrongBinder14 = parcel.readStrongBinder(); diff --git a/app/src/main/java/c/i/a/f/h/l/e.java b/app/src/main/java/c/i/a/f/h/l/e.java index 3ac11a2f24..6648dbd717 100644 --- a/app/src/main/java/c/i/a/f/h/l/e.java +++ b/app/src/main/java/c/i/a/f/h/l/e.java @@ -11,7 +11,7 @@ public final class e extends a implements c { } @Override // c.i.a.f.h.l.c - public final void X(String str, String str2, Bundle bundle, long j) throws RemoteException { + public final void Z(String str, String str2, Bundle bundle, long j) throws RemoteException { Parcel e = e(); e.writeString(str); e.writeString(str2); diff --git a/app/src/main/java/c/i/a/f/h/l/e1.java b/app/src/main/java/c/i/a/f/h/l/e1.java index 314fb71b6b..8d5348324a 100644 --- a/app/src/main/java/c/i/a/f/h/l/e1.java +++ b/app/src/main/java/c/i/a/f/h/l/e1.java @@ -74,7 +74,7 @@ public final class e1 extends u4 implements d6 { return ((e1) this.j).E0(); } - public final a1 C(int i) { + public final a1 B(int i) { return ((e1) this.j).u(i); } @@ -141,7 +141,7 @@ public final class e1 extends u4 implements d6 { return this; } - public final a L(long j) { + public final a K(long j) { if (this.k) { n(); this.k = false; diff --git a/app/src/main/java/c/i/a/f/h/l/e6.java b/app/src/main/java/c/i/a/f/h/l/e6.java index f1391e184a..afeaa9e338 100644 --- a/app/src/main/java/c/i/a/f/h/l/e6.java +++ b/app/src/main/java/c/i/a/f/h/l/e6.java @@ -1,7 +1,7 @@ package c.i.a.f.h.l; import c.d.b.a.a; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.i.a.f.h.l.h4; import com.google.android.gms.internal.measurement.zzhi; import com.google.android.gms.internal.measurement.zzij; @@ -20,7 +20,7 @@ public final class e6 implements q6 { public static final Unsafe b = j7.k(); /* renamed from: c reason: collision with root package name */ - public final int[] f1165c; + public final int[] f1132c; public final Object[] d; public final int e; public final int f; @@ -38,7 +38,7 @@ public final class e6 implements q6 { /* JADX WARN: Incorrect args count in method signature: ([I[Ljava/lang/Object;IILc/i/a/f/h/l/c6;ZZ[IIILc/i/a/f/h/l/i6;Lc/i/a/f/h/l/m5;Lc/i/a/f/h/l/d7<**>;Lc/i/a/f/h/l/j4<*>;Lc/i/a/f/h/l/v5;)V */ public e6(int[] iArr, Object[] objArr, int i, int i2, c6 c6Var, boolean z2, int[] iArr2, int i3, int i4, i6 i6Var, m5 m5Var, d7 d7Var, j4 j4Var, v5 v5Var) { - this.f1165c = iArr; + this.f1132c = iArr; this.d = objArr; this.e = i; this.f = i2; @@ -333,7 +333,7 @@ public final class e6 implements q6 { i33 = i57; } Unsafe unsafe = b; - Object[] objArr2 = o6Var2.f1191c; + Object[] objArr2 = o6Var2.f1157c; Class cls = o6Var2.a.getClass(); int[] iArr2 = new int[(i4 * 3)]; Object[] objArr3 = new Object[(i4 << 1)]; @@ -578,7 +578,7 @@ public final class e6 implements q6 { } String name = cls.getName(); String arrays = Arrays.toString(declaredFields); - throw new RuntimeException(a.G(a.N(a.b(arrays, name.length() + a.b(str, 40)), "Field ", str, " for ", name), " not found. Known fields are ", arrays)); + throw new RuntimeException(a.H(a.Q(a.b(arrays, name.length() + a.b(str, 40)), "Field ", str, " for ", name), " not found. Known fields are ", arrays)); } } @@ -607,7 +607,7 @@ public final class e6 implements q6 { } public final void B(T t, int i) { - int i2 = this.f1165c[i + 2]; + int i2 = this.f1132c[i + 2]; long j = (long) (1048575 & i2); if (j != 1048575) { j7.e.e(t, j, (1 << (i2 >>> 20)) | j7.b(t, j)); @@ -615,7 +615,7 @@ public final class e6 implements q6 { } public final void C(T t, int i, int i2) { - j7.e.e(t, (long) (this.f1165c[i2 + 2] & 1048575), i); + j7.e.e(t, (long) (this.f1132c[i2 + 2] & 1048575), i); } /* JADX WARNING: Removed duplicated region for block: B:168:0x0527 */ @@ -631,13 +631,13 @@ public final class e6 implements q6 { if (!b2.b.isEmpty()) { it = b2.l(); entry = it.next(); - length = this.f1165c.length; + length = this.f1132c.length; Unsafe unsafe = b; int i3 = 1048575; int i4 = 0; for (i = 0; i < length; i += 3) { int I = I(i); - int[] iArr = this.f1165c; + int[] iArr = this.f1132c; int i5 = iArr[i]; int i6 = (I & 267386880) >>> 20; if (i6 <= 17) { @@ -765,100 +765,100 @@ public final class e6 implements q6 { continue; } case 18: - s6.h(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, false); + s6.h(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, false); break; case 19: - s6.q(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, false); + s6.q(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, false); break; case 20: - s6.u(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, false); + s6.u(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, false); break; case 21: - s6.x(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, false); + s6.x(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, false); break; case 22: - s6.J(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, false); + s6.J(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, false); break; case 23: - s6.D(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, false); + s6.D(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, false); break; case 24: - s6.O(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, false); + s6.O(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, false); break; case 25: - s6.R(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, false); + s6.R(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, false); break; case 26: - s6.f(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var); + s6.f(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var); break; case 27: - s6.g(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, o(i)); + s6.g(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, o(i)); break; case 28: - s6.o(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var); + s6.o(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var); break; case 29: - s6.M(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, false); + s6.M(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, false); break; case 30: - s6.Q(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, false); + s6.Q(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, false); break; case 31: - s6.P(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, false); + s6.P(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, false); break; case 32: - s6.G(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, false); + s6.G(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, false); break; case 33: - s6.N(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, false); + s6.N(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, false); break; case 34: - s6.A(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, false); + s6.A(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, false); break; case 35: - s6.h(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, true); + s6.h(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, true); break; case 36: - s6.q(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, true); + s6.q(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, true); break; case 37: - s6.u(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, true); + s6.u(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, true); break; case 38: - s6.x(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, true); + s6.x(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, true); break; case 39: - s6.J(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, true); + s6.J(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, true); break; case 40: - s6.D(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, true); + s6.D(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, true); break; case 41: - s6.O(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, true); + s6.O(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, true); break; case 42: - s6.R(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, true); + s6.R(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, true); break; case 43: - s6.M(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, true); + s6.M(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, true); break; case 44: - s6.Q(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, true); + s6.Q(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, true); break; case 45: - s6.P(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, true); + s6.P(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, true); break; case 46: - s6.G(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, true); + s6.G(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, true); break; case 47: - s6.N(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, true); + s6.N(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, true); break; case 48: - s6.A(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, true); + s6.A(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, true); break; case 49: - s6.p(this.f1165c[i], (List) unsafe.getObject(t, j), v7Var, o(i)); + s6.p(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var, o(i)); break; case 50: t(v7Var, i5, unsafe.getObject(t, j), i); @@ -982,7 +982,7 @@ public final class e6 implements q6 { } it = null; entry = null; - length = this.f1165c.length; + length = this.f1132c.length; Unsafe unsafe = b; int i3 = 1048575; int i4 = 0; @@ -994,7 +994,7 @@ public final class e6 implements q6 { } public final void E(T t, T t2, int i) { - int[] iArr = this.f1165c; + int[] iArr = this.f1132c; int i2 = iArr[i + 1]; int i3 = iArr[i]; long j = (long) (i2 & 1048575); @@ -1003,12 +1003,12 @@ public final class e6 implements q6 { if (w(t, i3, i)) { obj = j7.r(t, j); } - Object r2 = j7.r(t2, j); - if (obj != null && r2 != null) { - j7.f(t, j, w4.c(obj, r2)); + Object r = j7.r(t2, j); + if (obj != null && r != null) { + j7.f(t, j, w4.c(obj, r)); C(t, i3, i); - } else if (r2 != null) { - j7.f(t, j, r2); + } else if (r != null) { + j7.f(t, j, r); C(t, i3, i); } } @@ -1023,11 +1023,11 @@ public final class e6 implements q6 { } public final int I(int i) { - return this.f1165c[i + 1]; + return this.f1132c[i + 1]; } public final int K(int i) { - return this.f1165c[i + 2]; + return this.f1132c[i + 2]; } @Override // c.i.a.f.h.l.q6 @@ -1039,11 +1039,11 @@ public final class e6 implements q6 { public final int b(T t) { int i; int i2; - int length = this.f1165c.length; + int length = this.f1132c.length; int i3 = 0; for (int i4 = 0; i4 < length; i4 += 3) { int I = I(i4); - int i5 = this.f1165c[i4]; + int i5 = this.f1132c[i4]; long j = (long) (1048575 & I); int i6 = 37; switch ((I & 267386880) >>> 20) { @@ -1093,9 +1093,9 @@ public final class e6 implements q6 { i3 = i + i2; break; case 9: - Object r2 = j7.r(t, j); - if (r2 != null) { - i6 = r2.hashCode(); + Object r = j7.r(t, j); + if (r != null) { + i6 = r.hashCode(); } i3 = (i3 * 53) + i6; break; @@ -1135,9 +1135,9 @@ public final class e6 implements q6 { i3 = i + i2; break; case 17: - Object r3 = j7.r(t, j); - if (r3 != null) { - i6 = r3.hashCode(); + Object r2 = j7.r(t, j); + if (r2 != null) { + i6 = r2.hashCode(); } i3 = (i3 * 53) + i6; break; @@ -1367,9 +1367,9 @@ public final class e6 implements q6 { return !this.h || this.p.b(t).m(); } int i6 = this.j[i5]; - int i7 = this.f1165c[i6]; + int i7 = this.f1132c[i6]; int I = I(i6); - int i8 = this.f1165c[i6 + 2]; + int i8 = this.f1132c[i6 + 2]; int i9 = i8 & 1048575; int i10 = 1 << (i8 >>> 20); if (i9 != i3) { @@ -1436,9 +1436,9 @@ public final class e6 implements q6 { break; } long I = (long) (I(this.j[i2]) & 1048575); - Object r2 = j7.r(t, I); - if (r2 != null) { - j7.f(t, I, this.q.c(r2)); + Object r = j7.r(t, I); + if (r != null) { + j7.f(t, I, this.q.c(r)); } i2++; } @@ -1467,13 +1467,13 @@ public final class e6 implements q6 { if (this.i) { Unsafe unsafe = b; int i10 = 0; - for (int i11 = 0; i11 < this.f1165c.length; i11 += 3) { + for (int i11 = 0; i11 < this.f1132c.length; i11 += 3) { int I = I(i11); int i12 = (I & 267386880) >>> 20; - int i13 = this.f1165c[i11]; + int i13 = this.f1132c[i11]; long j = (long) (I & 1048575); if (i12 >= o4.DOUBLE_LIST_PACKED.a() && i12 <= o4.SINT64_LIST_PACKED.a()) { - int i14 = this.f1165c[i11 + 2]; + int i14 = this.f1132c[i11 + 2]; } switch (i12) { case 0: @@ -1542,8 +1542,8 @@ public final class e6 implements q6 { } case 8: if (v(t, i11)) { - Object r2 = j7.r(t, j); - i6 = r2 instanceof t3 ? zzhi.w(i13, (t3) r2) : zzhi.o(i13, (String) r2); + Object r = j7.r(t, j); + i6 = r instanceof t3 ? zzhi.w(i13, (t3) r) : zzhi.o(i13, (String) r); i10 += i6; break; } else { @@ -1907,8 +1907,8 @@ public final class e6 implements q6 { } case 59: if (w(t, i13, i11)) { - Object r3 = j7.r(t, j); - i6 = r3 instanceof t3 ? zzhi.w(i13, (t3) r3) : zzhi.o(i13, (String) r3); + Object r2 = j7.r(t, j); + i6 = r2 instanceof t3 ? zzhi.w(i13, (t3) r2) : zzhi.o(i13, (String) r2); i10 += i6; break; } else { @@ -1995,9 +1995,9 @@ public final class e6 implements q6 { int i15 = 0; int i16 = 1048575; int i17 = 0; - for (int i18 = 0; i18 < this.f1165c.length; i18 += 3) { + for (int i18 = 0; i18 < this.f1132c.length; i18 += 3) { int I2 = I(i18); - int[] iArr = this.f1165c; + int[] iArr = this.f1132c; int i19 = iArr[i18]; int i20 = (I2 & 267386880) >>> 20; if (i20 <= 17) { @@ -2600,7 +2600,7 @@ public final class e6 implements q6 { */ @Override // c.i.a.f.h.l.q6 public final boolean f(T t, T t2) { - int length = this.f1165c.length; + int length = this.f1132c.length; int i = 0; while (true) { boolean z2 = true; @@ -2808,10 +2808,10 @@ public final class e6 implements q6 { if (!b2.b.isEmpty()) { it = b2.l(); entry = it.next(); - length = this.f1165c.length; + length = this.f1132c.length; for (i = 0; i < length; i += 3) { int I = I(i); - int i2 = this.f1165c[i]; + int i2 = this.f1132c[i]; while (entry != null && this.p.a(entry) <= i2) { this.p.d(v7Var, entry); entry = it.hasNext() ? it.next() : null; @@ -2944,100 +2944,100 @@ public final class e6 implements q6 { break; } case 18: - s6.h(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); + s6.h(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); break; case 19: - s6.q(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); + s6.q(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); break; case 20: - s6.u(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); + s6.u(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); break; case 21: - s6.x(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); + s6.x(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); break; case 22: - s6.J(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); + s6.J(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); break; case 23: - s6.D(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); + s6.D(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); break; case 24: - s6.O(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); + s6.O(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); break; case 25: - s6.R(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); + s6.R(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); break; case 26: - s6.f(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var); + s6.f(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var); break; case 27: - s6.g(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, o(i)); + s6.g(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, o(i)); break; case 28: - s6.o(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var); + s6.o(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var); break; case 29: - s6.M(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); + s6.M(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); break; case 30: - s6.Q(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); + s6.Q(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); break; case 31: - s6.P(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); + s6.P(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); break; case 32: - s6.G(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); + s6.G(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); break; case 33: - s6.N(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); + s6.N(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); break; case 34: - s6.A(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); + s6.A(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, false); break; case 35: - s6.h(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); + s6.h(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); break; case 36: - s6.q(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); + s6.q(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); break; case 37: - s6.u(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); + s6.u(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); break; case 38: - s6.x(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); + s6.x(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); break; case 39: - s6.J(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); + s6.J(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); break; case 40: - s6.D(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); + s6.D(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); break; case 41: - s6.O(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); + s6.O(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); break; case 42: - s6.R(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); + s6.R(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); break; case 43: - s6.M(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); + s6.M(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); break; case 44: - s6.Q(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); + s6.Q(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); break; case 45: - s6.P(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); + s6.P(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); break; case 46: - s6.G(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); + s6.G(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); break; case 47: - s6.N(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); + s6.N(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); break; case 48: - s6.A(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); + s6.A(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, true); break; case 49: - s6.p(this.f1165c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, o(i)); + s6.p(this.f1132c[i], (List) j7.r(t, (long) (I & 1048575)), v7Var, o(i)); break; case 50: t(v7Var, i2, j7.r(t, (long) (I & 1048575)), i); @@ -3180,7 +3180,7 @@ public final class e6 implements q6 { } it = null; entry = null; - length = this.f1165c.length; + length = this.f1132c.length; while (i < length) { } while (entry != null) { @@ -3252,7 +3252,7 @@ public final class e6 implements q6 { int i25 = i20 + 1; byte b3 = bArr3[i20]; if (b3 < 0) { - i3 = c.v0(b3, bArr3, i25, s3Var7); + i3 = f.q1(b3, bArr3, i25, s3Var7); b2 = s3Var7.a; } else { b2 = b3; @@ -3270,7 +3270,7 @@ public final class e6 implements q6 { i5 = i26; i6 = 0; } else { - int[] iArr = e6Var5.f1165c; + int[] iArr = e6Var5.f1132c; int i29 = iArr[i4 + 1]; int i30 = (i29 & 267386880) >>> 20; long j = (long) (i29 & 1048575); @@ -3298,7 +3298,7 @@ public final class e6 implements q6 { bArr3 = bArr2; e6Var = e6Var6; if (i27 == 1) { - j7.d(t7, j, Double.longBitsToDouble(c.Y0(bArr3, i3))); + j7.d(t7, j, Double.longBitsToDouble(f.T1(bArr3, i3))); i20 = i3 + 8; i7 = i24 | i32; t7 = t7; @@ -3323,7 +3323,7 @@ public final class e6 implements q6 { bArr3 = bArr2; e6Var3 = e6Var6; if (i27 == 5) { - j7.e.d(t3, j, Float.intBitsToFloat(c.z0(bArr3, i3))); + j7.e.d(t3, j, Float.intBitsToFloat(f.u1(bArr3, i3))); i20 = i3 + 4; i15 = i24 | i32; i24 = i15; @@ -3348,7 +3348,7 @@ public final class e6 implements q6 { bArr3 = bArr2; e6Var3 = e6Var6; if (i27 == 0) { - i20 = c.X0(bArr3, i3, s3Var3); + i20 = f.S1(bArr3, i3, s3Var3); unsafe2.putLong(t, j, s3Var3.b); i15 = i24 | i32; t3 = t7; @@ -3375,7 +3375,7 @@ public final class e6 implements q6 { t4 = t7; e6Var3 = e6Var6; if (i27 == 0) { - i20 = c.A0(bArr3, i3, s3Var3); + i20 = f.v1(bArr3, i3, s3Var3); unsafe2.putInt(t4, j, s3Var3.a); t3 = t4; i15 = i24 | i32; @@ -3401,7 +3401,7 @@ public final class e6 implements q6 { if (i27 == 1) { e6Var3 = e6Var6; s3Var3 = s3Var7; - unsafe2.putLong(t, j, c.Y0(bArr3, i3)); + unsafe2.putLong(t, j, f.T1(bArr3, i3)); i20 = i3 + 8; t3 = t7; i15 = i24 | i32; @@ -3431,7 +3431,7 @@ public final class e6 implements q6 { i6 = i14; break; } else { - unsafe2.putInt(t5, j, c.z0(bArr3, i3)); + unsafe2.putInt(t5, j, f.u1(bArr3, i3)); i20 = i3 + 4; i24 |= i32; t7 = t5; @@ -3453,7 +3453,7 @@ public final class e6 implements q6 { i6 = i14; break; } else { - i20 = c.X0(bArr3, i3, s3Var5); + i20 = f.S1(bArr3, i3, s3Var5); j7.e.g(t5, j, s3Var5.b != 0); i24 |= i32; t7 = t5; @@ -3471,8 +3471,8 @@ public final class e6 implements q6 { bArr3 = bArr2; t4 = t7; if (i27 == 2) { - i20 = (536870912 & i29) == 0 ? c.a1(bArr3, i3, s3Var4) : c.b1(bArr3, i3, s3Var4); - unsafe2.putObject(t4, j, s3Var4.f1204c); + i20 = (536870912 & i29) == 0 ? f.V1(bArr3, i3, s3Var4) : f.W1(bArr3, i3, s3Var4); + unsafe2.putObject(t4, j, s3Var4.f1168c); s3Var3 = s3Var4; e6Var3 = e6Var6; t3 = t4; @@ -3500,12 +3500,12 @@ public final class e6 implements q6 { if (i27 == 2) { q6 o = e6Var6.o(i14); e6Var6 = e6Var6; - i20 = c.y0(o, bArr3, i3, i2, s3Var4); + i20 = f.t1(o, bArr3, i3, i2, s3Var4); Object object = unsafe2.getObject(t4, j); if (object == null) { - unsafe2.putObject(t4, j, s3Var4.f1204c); + unsafe2.putObject(t4, j, s3Var4.f1168c); } else { - unsafe2.putObject(t4, j, w4.c(object, s3Var4.f1204c)); + unsafe2.putObject(t4, j, w4.c(object, s3Var4.f1168c)); } s3Var3 = s3Var4; e6Var3 = e6Var6; @@ -3536,8 +3536,8 @@ public final class e6 implements q6 { i6 = i14; break; } else { - i20 = c.c1(bArr3, i3, s3Var6); - unsafe2.putObject(t6, j, s3Var6.f1204c); + i20 = f.X1(bArr3, i3, s3Var6); + unsafe2.putObject(t6, j, s3Var6.f1168c); i24 |= i32; i17 = i2; e6Var2 = e6Var4; @@ -3557,7 +3557,7 @@ public final class e6 implements q6 { i6 = i14; break; } else { - i20 = c.A0(bArr3, i3, s3Var6); + i20 = f.v1(bArr3, i3, s3Var6); unsafe2.putInt(t6, j, s3Var6.a); i24 |= i32; i17 = i2; @@ -3578,7 +3578,7 @@ public final class e6 implements q6 { i6 = i14; break; } else { - i20 = c.A0(bArr3, i3, s3Var6); + i20 = f.v1(bArr3, i3, s3Var6); unsafe2.putInt(t6, j, d4.b(s3Var6.a)); i24 |= i32; i17 = i2; @@ -3596,12 +3596,12 @@ public final class e6 implements q6 { break; } else { bArr3 = bArr2; - int X0 = c.X0(bArr3, i3, s3Var7); + int S1 = f.S1(bArr3, i3, s3Var7); i14 = i4; i5 = i26; unsafe2.putLong(t, j, d4.a(s3Var7.b)); i24 |= i32; - i20 = X0; + i20 = S1; t6 = t7; s3Var6 = s3Var7; e6Var4 = e6Var6; @@ -3666,7 +3666,7 @@ public final class e6 implements q6 { } i10 = i4; t2 = t7; - i20 = c.w0(e6Var2.o(i4), b2, bArr, i3, i2, b5Var, s3Var); + i20 = f.r1(e6Var2.o(i4), b2, bArr, i3, i2, b5Var, s3Var); } else { i8 = i4; i13 = i3; @@ -3678,7 +3678,7 @@ public final class e6 implements q6 { i9 = i20; i24 = i12; i23 = i11; - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); i22 = i8; e6Var = this; t7 = t; @@ -3704,7 +3704,7 @@ public final class e6 implements q6 { i8 = i6; unsafe = unsafe2; i9 = i3; - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); i22 = i8; e6Var = this; t7 = t; @@ -3728,7 +3728,7 @@ public final class e6 implements q6 { i8 = i6; unsafe = unsafe2; i9 = i3; - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); i22 = i8; e6Var = this; t7 = t; @@ -3749,7 +3749,7 @@ public final class e6 implements q6 { i8 = i6; unsafe = unsafe2; i9 = i3; - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); i22 = i8; e6Var = this; t7 = t; @@ -3778,10 +3778,10 @@ public final class e6 implements q6 { @Override // c.i.a.f.h.l.q6 public final void i(T t, T t2) { Objects.requireNonNull(t2); - for (int i = 0; i < this.f1165c.length; i += 3) { + for (int i = 0; i < this.f1132c.length; i += 3) { int I = I(i); long j = (long) (1048575 & I); - int i2 = this.f1165c[i]; + int i2 = this.f1132c[i]; switch ((I & 267386880) >>> 20) { case 0: if (v(t2, i)) { @@ -4005,12 +4005,12 @@ public final class e6 implements q6 { public final int j(T t, byte[] bArr, int i, int i2, int i3, int i4, int i5, int i6, int i7, long j, int i8, s3 s3Var) throws IOException { int i9; Unsafe unsafe = b; - long j2 = (long) (this.f1165c[i8 + 2] & 1048575); + long j2 = (long) (this.f1132c[i8 + 2] & 1048575); boolean z2 = true; switch (i7) { case 51: if (i5 == 1) { - unsafe.putObject(t, j, Double.valueOf(Double.longBitsToDouble(c.Y0(bArr, i)))); + unsafe.putObject(t, j, Double.valueOf(Double.longBitsToDouble(f.T1(bArr, i)))); i9 = i + 8; unsafe.putInt(t, j2, i4); return i9; @@ -4018,7 +4018,7 @@ public final class e6 implements q6 { return i; case 52: if (i5 == 5) { - unsafe.putObject(t, j, Float.valueOf(Float.intBitsToFloat(c.z0(bArr, i)))); + unsafe.putObject(t, j, Float.valueOf(Float.intBitsToFloat(f.u1(bArr, i)))); i9 = i + 4; unsafe.putInt(t, j2, i4); return i9; @@ -4027,7 +4027,7 @@ public final class e6 implements q6 { case 53: case 54: if (i5 == 0) { - i9 = c.X0(bArr, i, s3Var); + i9 = f.S1(bArr, i, s3Var); unsafe.putObject(t, j, Long.valueOf(s3Var.b)); unsafe.putInt(t, j2, i4); return i9; @@ -4036,7 +4036,7 @@ public final class e6 implements q6 { case 55: case 62: if (i5 == 0) { - i9 = c.A0(bArr, i, s3Var); + i9 = f.v1(bArr, i, s3Var); unsafe.putObject(t, j, Integer.valueOf(s3Var.a)); unsafe.putInt(t, j2, i4); return i9; @@ -4045,7 +4045,7 @@ public final class e6 implements q6 { case 56: case 65: if (i5 == 1) { - unsafe.putObject(t, j, Long.valueOf(c.Y0(bArr, i))); + unsafe.putObject(t, j, Long.valueOf(f.T1(bArr, i))); i9 = i + 8; unsafe.putInt(t, j2, i4); return i9; @@ -4054,7 +4054,7 @@ public final class e6 implements q6 { case 57: case 64: if (i5 == 5) { - unsafe.putObject(t, j, Integer.valueOf(c.z0(bArr, i))); + unsafe.putObject(t, j, Integer.valueOf(f.u1(bArr, i))); i9 = i + 4; unsafe.putInt(t, j2, i4); return i9; @@ -4062,7 +4062,7 @@ public final class e6 implements q6 { return i; case 58: if (i5 == 0) { - i9 = c.X0(bArr, i, s3Var); + i9 = f.S1(bArr, i, s3Var); if (s3Var.b == 0) { z2 = false; } @@ -4073,59 +4073,59 @@ public final class e6 implements q6 { return i; case 59: if (i5 == 2) { - int A0 = c.A0(bArr, i, s3Var); + int v1 = f.v1(bArr, i, s3Var); int i10 = s3Var.a; if (i10 == 0) { unsafe.putObject(t, j, ""); - } else if ((i6 & 536870912) == 0 || k7.b(bArr, A0, A0 + i10)) { - unsafe.putObject(t, j, new String(bArr, A0, i10, w4.a)); - A0 += i10; + } else if ((i6 & 536870912) == 0 || k7.b(bArr, v1, v1 + i10)) { + unsafe.putObject(t, j, new String(bArr, v1, i10, w4.a)); + v1 += i10; } else { throw zzij.e(); } unsafe.putInt(t, j2, i4); - return A0; + return v1; } return i; case 60: if (i5 == 2) { - int y0 = c.y0(o(i8), bArr, i, i2, s3Var); + int t1 = f.t1(o(i8), bArr, i, i2, s3Var); Object object = unsafe.getInt(t, j2) == i4 ? unsafe.getObject(t, j) : null; if (object == null) { - unsafe.putObject(t, j, s3Var.f1204c); + unsafe.putObject(t, j, s3Var.f1168c); } else { - unsafe.putObject(t, j, w4.c(object, s3Var.f1204c)); + unsafe.putObject(t, j, w4.c(object, s3Var.f1168c)); } unsafe.putInt(t, j2, i4); - return y0; + return t1; } return i; case 61: if (i5 == 2) { - i9 = c.c1(bArr, i, s3Var); - unsafe.putObject(t, j, s3Var.f1204c); + i9 = f.X1(bArr, i, s3Var); + unsafe.putObject(t, j, s3Var.f1168c); unsafe.putInt(t, j2, i4); return i9; } return i; case 63: if (i5 == 0) { - int A02 = c.A0(bArr, i, s3Var); + int v12 = f.v1(bArr, i, s3Var); int i11 = s3Var.a; a5 a5Var = (a5) this.d[((i8 / 3) << 1) + 1]; if (a5Var == null || a5Var.f(i11)) { unsafe.putObject(t, j, Integer.valueOf(i11)); - i9 = A02; + i9 = v12; unsafe.putInt(t, j2, i4); return i9; } M(t).a(i3, Long.valueOf((long) i11)); - return A02; + return v12; } return i; case 66: if (i5 == 0) { - i9 = c.A0(bArr, i, s3Var); + i9 = f.v1(bArr, i, s3Var); unsafe.putObject(t, j, Integer.valueOf(d4.b(s3Var.a))); unsafe.putInt(t, j2, i4); return i9; @@ -4133,7 +4133,7 @@ public final class e6 implements q6 { return i; case 67: if (i5 == 0) { - i9 = c.X0(bArr, i, s3Var); + i9 = f.S1(bArr, i, s3Var); unsafe.putObject(t, j, Long.valueOf(d4.a(s3Var.b))); unsafe.putInt(t, j2, i4); return i9; @@ -4141,12 +4141,12 @@ public final class e6 implements q6 { return i; case 68: if (i5 == 3) { - i9 = c.x0(o(i8), bArr, i, i2, (i3 & -8) | 4, s3Var); + i9 = f.s1(o(i8), bArr, i, i2, (i3 & -8) | 4, s3Var); Object object2 = unsafe.getInt(t, j2) == i4 ? unsafe.getObject(t, j) : null; if (object2 == null) { - unsafe.putObject(t, j, s3Var.f1204c); + unsafe.putObject(t, j, s3Var.f1168c); } else { - unsafe.putObject(t, j, w4.c(object2, s3Var.f1204c)); + unsafe.putObject(t, j, w4.c(object2, s3Var.f1168c)); } unsafe.putInt(t, j2, i4); return i9; @@ -4196,9 +4196,9 @@ public final class e6 implements q6 { } t5 g = this.q.g(obj); this.q.b(object); - int A0 = c.A0(bArr, i, s3Var); + int v1 = f.v1(bArr, i, s3Var); int i4 = s3Var.a; - if (i4 < 0 || i4 > i2 - A0) { + if (i4 < 0 || i4 > i2 - v1) { throw zzij.a(); } Objects.requireNonNull(g); @@ -4236,7 +4236,7 @@ public final class e6 implements q6 { int i17; byte b5; byte b6; - int X0; + int S1; byte b7; byte b8; byte b9; @@ -4261,7 +4261,7 @@ public final class e6 implements q6 { int i26 = i20 + 1; byte b11 = bArr3[i20]; if (b11 < 0) { - i26 = c.v0(b11, bArr3, i26, s3Var3); + i26 = f.q1(b11, bArr3, i26, s3Var3); b11 = s3Var3.a; } int i27 = b11 >>> 3; @@ -4291,7 +4291,7 @@ public final class e6 implements q6 { if (s3Var2.d == h4.a()) { t3 = t; } else if (s3Var2.d.d.get(new h4.a(this.g, i8)) == null) { - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); t5 = t; bArr3 = bArr; bArr2 = bArr3; @@ -4312,7 +4312,7 @@ public final class e6 implements q6 { t3 = t; s3Var2 = s3Var; } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -4335,7 +4335,7 @@ public final class e6 implements q6 { i24 = i6; } } else { - int[] iArr = e6Var2.f1165c; + int[] iArr = e6Var2.f1132c; int i29 = iArr[i4 + 1]; int i30 = (i29 & 267386880) >>> 20; long j2 = (long) (i29 & 1048575); @@ -4368,7 +4368,7 @@ public final class e6 implements q6 { b5 = b11; i13 = i4; if (i28 == 1) { - j7.d(t5, j, Double.longBitsToDouble(c.Y0(bArr2, i26))); + j7.d(t5, j, Double.longBitsToDouble(f.T1(bArr2, i26))); i20 = i26 + 8; i7 |= i32; i24 = i17; @@ -4388,7 +4388,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -4408,7 +4408,7 @@ public final class e6 implements q6 { b5 = b11; i13 = i4; if (i28 == 5) { - j7.e.d(t5, j, Float.intBitsToFloat(c.z0(bArr2, i26))); + j7.e.d(t5, j, Float.intBitsToFloat(f.u1(bArr2, i26))); i20 = i26 + 4; i7 |= i32; i24 = i17; @@ -4428,7 +4428,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -4449,11 +4449,11 @@ public final class e6 implements q6 { b6 = b11; i13 = i4; if (i28 == 0) { - X0 = c.X0(bArr2, i26, s3Var3); + S1 = f.S1(bArr2, i26, s3Var3); b7 = b6; unsafe2.putLong(t, j, s3Var3.b); i7 |= i32; - i20 = X0; + i20 = S1; b5 = b7; i24 = i17; bArr3 = bArr2; @@ -4473,7 +4473,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -4494,7 +4494,7 @@ public final class e6 implements q6 { b6 = b11; i13 = i4; if (i28 == 0) { - i20 = c.A0(bArr2, i26, s3Var3); + i20 = f.v1(bArr2, i26, s3Var3); unsafe2.putInt(t5, j, s3Var3.a); b5 = b6; i7 |= i32; @@ -4516,7 +4516,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -4537,7 +4537,7 @@ public final class e6 implements q6 { b8 = b11; i13 = i4; if (i28 == 1) { - unsafe2.putLong(t, j, c.Y0(bArr2, i26)); + unsafe2.putLong(t, j, f.T1(bArr2, i26)); b5 = b8; i20 = i26 + 8; i7 |= i32; @@ -4559,7 +4559,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -4580,7 +4580,7 @@ public final class e6 implements q6 { b8 = b11; i13 = i4; if (i28 == 5) { - unsafe2.putInt(t5, j, c.z0(bArr2, i26)); + unsafe2.putInt(t5, j, f.u1(bArr2, i26)); i20 = i26 + 4; i18 = i7 | i32; i19 = i2; @@ -4603,7 +4603,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -4624,9 +4624,9 @@ public final class e6 implements q6 { b8 = b11; i13 = i4; if (i28 == 0) { - int X02 = c.X0(bArr2, i26, s3Var3); + int S12 = f.S1(bArr2, i26, s3Var3); j7.e.g(t5, j, s3Var3.b != 0); - i20 = X02; + i20 = S12; i18 = i7 | i32; i19 = i2; b10 = b8; @@ -4648,7 +4648,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -4669,8 +4669,8 @@ public final class e6 implements q6 { b8 = b11; i13 = i4; if (i28 == 2) { - i20 = (536870912 & i29) == 0 ? c.a1(bArr2, i26, s3Var3) : c.b1(bArr2, i26, s3Var3); - unsafe2.putObject(t5, j, s3Var3.f1204c); + i20 = (536870912 & i29) == 0 ? f.V1(bArr2, i26, s3Var3) : f.W1(bArr2, i26, s3Var3); + unsafe2.putObject(t5, j, s3Var3.f1168c); i18 = i7 | i32; i19 = i2; b10 = b8; @@ -4692,7 +4692,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -4713,11 +4713,11 @@ public final class e6 implements q6 { b8 = b11; i13 = i4; if (i28 == 2) { - i20 = c.y0(e6Var2.o(i13), bArr2, i26, i2, s3Var3); + i20 = f.t1(e6Var2.o(i13), bArr2, i26, i2, s3Var3); if ((i7 & i32) == 0) { - unsafe2.putObject(t5, j, s3Var3.f1204c); + unsafe2.putObject(t5, j, s3Var3.f1168c); } else { - unsafe2.putObject(t5, j, w4.c(unsafe2.getObject(t5, j), s3Var3.f1204c)); + unsafe2.putObject(t5, j, w4.c(unsafe2.getObject(t5, j), s3Var3.f1168c)); } i18 = i7 | i32; i19 = i2; @@ -4740,7 +4740,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -4761,8 +4761,8 @@ public final class e6 implements q6 { b9 = b11; i13 = i4; if (i28 == 2) { - i20 = c.c1(bArr2, i26, s3Var3); - unsafe2.putObject(t5, j, s3Var3.f1204c); + i20 = f.X1(bArr2, i26, s3Var3); + unsafe2.putObject(t5, j, s3Var3.f1168c); b5 = b9; i7 |= i32; i24 = i17; @@ -4783,7 +4783,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -4803,7 +4803,7 @@ public final class e6 implements q6 { b9 = b11; i13 = i4; if (i28 == 0) { - i20 = c.A0(bArr2, i26, s3Var3); + i20 = f.v1(bArr2, i26, s3Var3); int i34 = s3Var3.a; a5 G = e6Var2.G(i13); if (G == null || G.f(i34)) { @@ -4836,7 +4836,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -4856,7 +4856,7 @@ public final class e6 implements q6 { b9 = b11; i13 = i4; if (i28 == 0) { - i20 = c.A0(bArr2, i26, s3Var3); + i20 = f.v1(bArr2, i26, s3Var3); unsafe2.putInt(t5, j, d4.b(s3Var3.a)); b5 = b9; i7 |= i32; @@ -4878,7 +4878,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -4896,13 +4896,13 @@ public final class e6 implements q6 { case 16: b9 = b11; if (i28 == 0) { - X0 = c.X0(bArr2, i26, s3Var3); + S1 = f.S1(bArr2, i26, s3Var3); b7 = b9; i12 = i27; i13 = i4; unsafe2.putLong(t, j, d4.a(s3Var3.b)); i7 |= i32; - i20 = X0; + i20 = S1; b5 = b7; i24 = i17; bArr3 = bArr2; @@ -4924,7 +4924,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -4942,11 +4942,11 @@ public final class e6 implements q6 { break; case 17: if (i28 == 3) { - i20 = c.x0(e6Var2.o(i4), bArr, i26, i2, (i27 << 3) | 4, s3Var); + i20 = f.s1(e6Var2.o(i4), bArr, i26, i2, (i27 << 3) | 4, s3Var); if ((i7 & i32) == 0) { - unsafe2.putObject(t5, j, s3Var3.f1204c); + unsafe2.putObject(t5, j, s3Var3.f1168c); } else { - unsafe2.putObject(t5, j, w4.c(unsafe2.getObject(t5, j), s3Var3.f1204c)); + unsafe2.putObject(t5, j, w4.c(unsafe2.getObject(t5, j), s3Var3.f1168c)); } i18 = i7 | i32; i19 = i2; @@ -4971,7 +4971,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -5002,7 +5002,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -5045,7 +5045,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -5078,7 +5078,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -5118,7 +5118,7 @@ public final class e6 implements q6 { b5Var = b5Var.f(size == 0 ? 10 : size << 1); unsafe2.putObject(t5, j2, b5Var); } - i20 = c.w0(e6Var2.o(i13), b3, bArr, i26, i2, b5Var, s3Var); + i20 = f.r1(e6Var2.o(i13), b3, bArr, i26, i2, b5Var, s3Var); bArr3 = bArr3; i24 = i24; i25 = i25; @@ -5140,7 +5140,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.u0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.p1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -5176,16 +5176,16 @@ public final class e6 implements q6 { for (int i35 = e6Var.k; i35 < e6Var.l; i35++) { int i36 = e6Var.j[i35]; d7 d7Var = e6Var.o; - int[] iArr2 = e6Var.f1165c; + int[] iArr2 = e6Var.f1132c; int i37 = iArr2[i36]; - Object r2 = j7.r(t2, (long) (iArr2[i36 + 1] & 1048575)); - if (r2 != null) { + Object r = j7.r(t2, (long) (iArr2[i36 + 1] & 1048575)); + if (r != null) { int i38 = (i36 / 3) << 1; a5 a5Var = (a5) e6Var.d[i38 + 1]; if (a5Var == null) { continue; } else { - Map b12 = e6Var.q.b(r2); + Map b12 = e6Var.q.b(r); e6Var.q.g(e6Var.d[i38]); for (Map.Entry entry : b12.entrySet()) { if (!a5Var.f(((Integer) entry.getValue()).intValue())) { @@ -5241,22 +5241,22 @@ public final class e6 implements q6 { } public final void u(T t, T t2, int i) { - long j = (long) (this.f1165c[i + 1] & 1048575); + long j = (long) (this.f1132c[i + 1] & 1048575); if (v(t2, i)) { - Object r2 = j7.r(t, j); - Object r3 = j7.r(t2, j); - if (r2 != null && r3 != null) { - j7.f(t, j, w4.c(r2, r3)); + Object r = j7.r(t, j); + Object r2 = j7.r(t2, j); + if (r != null && r2 != null) { + j7.f(t, j, w4.c(r, r2)); B(t, i); - } else if (r3 != null) { - j7.f(t, j, r3); + } else if (r2 != null) { + j7.f(t, j, r2); B(t, i); } } } public final boolean v(T t, int i) { - int[] iArr = this.f1165c; + int[] iArr = this.f1132c; int i2 = iArr[i + 2]; long j = (long) (i2 & 1048575); if (j == 1048575) { @@ -5280,12 +5280,12 @@ public final class e6 implements q6 { case 7: return j7.m(t, j2); case 8: - Object r2 = j7.r(t, j2); - if (r2 instanceof String) { - return !((String) r2).isEmpty(); + Object r = j7.r(t, j2); + if (r instanceof String) { + return !((String) r).isEmpty(); } - if (r2 instanceof t3) { - return !t3.i.equals(r2); + if (r instanceof t3) { + return !t3.i.equals(r); } throw new IllegalArgumentException(); case 9: @@ -5315,7 +5315,7 @@ public final class e6 implements q6 { } public final boolean w(T t, int i, int i2) { - return j7.b(t, (long) (this.f1165c[i2 + 2] & 1048575)) == i; + return j7.b(t, (long) (this.f1132c[i2 + 2] & 1048575)) == i; } public final boolean x(T t, int i, int i2, int i3, int i4) { @@ -5323,11 +5323,11 @@ public final class e6 implements q6 { } public final int z(int i, int i2) { - int length = (this.f1165c.length / 3) - 1; + int length = (this.f1132c.length / 3) - 1; while (i2 <= length) { int i3 = (length + i2) >>> 1; int i4 = i3 * 3; - int i5 = this.f1165c[i4]; + int i5 = this.f1132c[i4]; if (i == i5) { return i4; } diff --git a/app/src/main/java/c/i/a/f/h/l/e7.java b/app/src/main/java/c/i/a/f/h/l/e7.java index cf550a5273..9f0f83f006 100644 --- a/app/src/main/java/c/i/a/f/h/l/e7.java +++ b/app/src/main/java/c/i/a/f/h/l/e7.java @@ -13,6 +13,11 @@ public final class e7 extends AbstractList implements j5, RandomAccess { this.i = j5Var; } + @Override // c.i.a.f.h.l.j5 + public final Object A(int i) { + return this.i.A(i); + } + @Override // c.i.a.f.h.l.j5 public final List b() { return this.i.b(); @@ -34,22 +39,17 @@ public final class e7 extends AbstractList implements j5, RandomAccess { } @Override // c.i.a.f.h.l.j5 - public final j5 r() { + public final j5 s() { return this; } - @Override // c.i.a.f.h.l.j5 - public final void s(t3 t3Var) { - throw new UnsupportedOperationException(); - } - @Override // java.util.AbstractCollection, java.util.List, java.util.Collection public final int size() { return this.i.size(); } @Override // c.i.a.f.h.l.j5 - public final Object z(int i) { - return this.i.z(i); + public final void t(t3 t3Var) { + throw new UnsupportedOperationException(); } } diff --git a/app/src/main/java/c/i/a/f/h/l/ea.java b/app/src/main/java/c/i/a/f/h/l/ea.java index a86eef0381..78a24cce08 100644 --- a/app/src/main/java/c/i/a/f/h/l/ea.java +++ b/app/src/main/java/c/i/a/f/h/l/ea.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class ea implements z2 { public static ea i = new ea(); - public final z2 j = c.C0(new b3(new ga())); + public final z2 j = f.x1(new b3(new ga())); public static boolean b() { return ((ha) i.a()).a(); diff --git a/app/src/main/java/c/i/a/f/h/l/f4.java b/app/src/main/java/c/i/a/f/h/l/f4.java index 14d655fb3c..1689e93d4e 100644 --- a/app/src/main/java/c/i/a/f/h/l/f4.java +++ b/app/src/main/java/c/i/a/f/h/l/f4.java @@ -1,5 +1,6 @@ package c.i.a.f.h.l; +import c.d.b.a.a; import java.nio.charset.Charset; import java.util.AbstractList; import java.util.Arrays; @@ -138,13 +139,7 @@ public final class f4 extends o3 implements b5, l6, RandomAccess } public final String g(int i) { - int i2 = this.k; - StringBuilder sb = new StringBuilder(35); - sb.append("Index:"); - sb.append(i); - sb.append(", Size:"); - sb.append(i2); - return sb.toString(); + return a.g(35, "Index:", i, ", Size:", this.k); } @Override // java.util.AbstractList, java.util.List diff --git a/app/src/main/java/c/i/a/f/h/l/f5.java b/app/src/main/java/c/i/a/f/h/l/f5.java index d27e14eb3f..34563a7860 100644 --- a/app/src/main/java/c/i/a/f/h/l/f5.java +++ b/app/src/main/java/c/i/a/f/h/l/f5.java @@ -19,7 +19,7 @@ public final class f5 implements Map.Entry { if (this.i.getValue() == null) { return null; } - int i = d5.f1163c; + int i = d5.f1130c; throw new NoSuchMethodError(); } diff --git a/app/src/main/java/c/i/a/f/h/l/f7.java b/app/src/main/java/c/i/a/f/h/l/f7.java index 86a3798699..928ebd8d5d 100644 --- a/app/src/main/java/c/i/a/f/h/l/f7.java +++ b/app/src/main/java/c/i/a/f/h/l/f7.java @@ -43,7 +43,7 @@ public final class f7 extends d7 { Objects.requireNonNull(c7Var2); Objects.requireNonNull(v7Var); for (int i = 0; i < c7Var2.b; i++) { - ((g4) v7Var).c(c7Var2.f1162c[i] >>> 3, c7Var2.d[i]); + ((g4) v7Var).c(c7Var2.f1129c[i] >>> 3, c7Var2.d[i]); } } @@ -57,8 +57,8 @@ public final class f7 extends d7 { return c7Var3; } int i = c7Var3.b + c7Var4.b; - int[] copyOf = Arrays.copyOf(c7Var3.f1162c, i); - System.arraycopy(c7Var4.f1162c, 0, copyOf, c7Var3.b, c7Var4.b); + int[] copyOf = Arrays.copyOf(c7Var3.f1129c, i); + System.arraycopy(c7Var4.f1129c, 0, copyOf, c7Var3.b, c7Var4.b); Object[] copyOf2 = Arrays.copyOf(c7Var3.d, i); System.arraycopy(c7Var4.d, 0, copyOf2, c7Var3.b, c7Var4.b); return new c7(i, copyOf, copyOf2, true); @@ -79,7 +79,7 @@ public final class f7 extends d7 { } int i2 = 0; for (int i3 = 0; i3 < c7Var2.b; i3++) { - int M = zzhi.M(2, c7Var2.f1162c[i3] >>> 3); + int M = zzhi.M(2, c7Var2.f1129c[i3] >>> 3); i2 += zzhi.w(3, (t3) c7Var2.d[i3]) + M + (zzhi.L(8) << 1); } c7Var2.e = i2; diff --git a/app/src/main/java/c/i/a/f/h/l/f9.java b/app/src/main/java/c/i/a/f/h/l/f9.java index c0116521a6..bf10bc74ad 100644 --- a/app/src/main/java/c/i/a/f/h/l/f9.java +++ b/app/src/main/java/c/i/a/f/h/l/f9.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class f9 implements z2 { public static f9 i = new f9(); - public final z2 j = c.C0(new b3(new h9())); + public final z2 j = f.x1(new b3(new h9())); public static boolean b() { return ((e9) i.a()).a(); diff --git a/app/src/main/java/c/i/a/f/h/l/g.java b/app/src/main/java/c/i/a/f/h/l/g.java index 535933b0a8..38f8e45a7d 100644 --- a/app/src/main/java/c/i/a/f/h/l/g.java +++ b/app/src/main/java/c/i/a/f/h/l/g.java @@ -12,7 +12,8 @@ import android.os.SystemClock; import android.util.Log; import android.util.Pair; import androidx.annotation.GuardedBy; -import c.i.a.f.e.o.d; +import c.c.a.a0.d; +import c.i.a.f.e.o.f; import c.i.a.f.i.b.z5; import java.util.ArrayList; import java.util.List; @@ -28,7 +29,7 @@ public class g { public static Boolean b; /* renamed from: c reason: collision with root package name */ - public final String f1166c; + public final String f1133c; public final c.i.a.f.e.o.b d; public final ExecutorService e; public final c.i.a.f.i.a.a f; @@ -45,8 +46,8 @@ public class g { public final boolean k; public a(boolean z2) { - Objects.requireNonNull((d) g.this.d); - Objects.requireNonNull((d) g.this.d); + Objects.requireNonNull((c.i.a.f.e.o.c) g.this.d); + Objects.requireNonNull((c.i.a.f.e.o.c) g.this.d); this.j = SystemClock.elapsedRealtime(); this.k = z2; } @@ -105,9 +106,9 @@ public class g { cc ccVar = new cc(); g gVar = g.this; gVar.e.execute(new h0(this, activity, ccVar)); - Bundle y0 = ccVar.y0(50); - if (y0 != null) { - bundle.putAll(y0); + Bundle x0 = ccVar.x0(50); + if (x0 != null) { + bundle.putAll(x0); } } @@ -133,7 +134,7 @@ public class g { } @Override // c.i.a.f.h.l.c - public final void X(String str, String str2, Bundle bundle, long j) { + public final void Z(String str, String str2, Bundle bundle, long j) { this.a.a(str, str2, bundle, j); } @@ -151,11 +152,11 @@ public class g { boolean z3; boolean z4; if (str == null || !e(str2, str3)) { - this.f1166c = "FA"; + this.f1133c = "FA"; } else { - this.f1166c = str; + this.f1133c = str; } - this.d = d.a; + this.d = c.i.a.f.e.o.c.a; ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(1, 1, 60, TimeUnit.SECONDS, new LinkedBlockingQueue(), new o()); boolean z5 = true; threadPoolExecutor.allowCoreThreadTimeOut(true); @@ -163,7 +164,7 @@ public class g { this.f = new c.i.a.f.i.a.a(this); this.g = new ArrayList(); try { - if (c.i.a.f.e.o.c.H0(context, "google_app_id") != null) { + if (f.C1(context, "google_app_id") != null) { z2 = true; if (z2) { try { @@ -176,22 +177,22 @@ public class g { z3 = false; if (!z3) { this.i = true; - Log.w(this.f1166c, "Disabling data collection. Found google_app_id in strings.xml but Google Analytics for Firebase is missing. Remove this value or add Google Analytics for Firebase to resume data collection."); + Log.w(this.f1133c, "Disabling data collection. Found google_app_id in strings.xml but Google Analytics for Firebase is missing. Remove this value or add Google Analytics for Firebase to resume data collection."); return; } if (!e(str2, str3)) { if (str2 == null || str3 == null) { if ((str2 == null) ^ (str3 != null ? false : z5)) { - Log.w(this.f1166c, "Specified origin or custom app id is null. Both parameters will be ignored."); + Log.w(this.f1133c, "Specified origin or custom app id is null. Both parameters will be ignored."); } } else { - Log.v(this.f1166c, "Deferring to Google Analytics for Firebase for event data collection. https://goo.gl/J1sWQy"); + Log.v(this.f1133c, "Deferring to Google Analytics for Firebase for event data collection. https://goo.gl/J1sWQy"); } } this.e.execute(new j(this, str2, str3, context, bundle)); Application application = (Application) context.getApplicationContext(); if (application == null) { - Log.w(this.f1166c, "Unable to register lifecycle notifications. Application null."); + Log.w(this.f1133c, "Unable to register lifecycle notifications. Application null."); return; } else { application.registerActivityLifecycleCallbacks(new b()); @@ -232,7 +233,7 @@ public class g { synchronized (g.class) { try { if (b == null) { - c.c.a.a0.d.w("app_measurement_internal_disable_startup_flags"); + d.w("app_measurement_internal_disable_startup_flags"); try { ApplicationInfo a2 = c.i.a.f.e.p.b.a(context).a(context.getPackageName(), 128); if (a2 != null) { @@ -283,13 +284,13 @@ public class g { public final void b(Exception exc, boolean z2, boolean z3) { this.i |= z2; if (z2) { - Log.w(this.f1166c, "Data collection startup failed. No data will be collected.", exc); + Log.w(this.f1133c, "Data collection startup failed. No data will be collected.", exc); return; } if (z3) { this.e.execute(new y(this, "Error with data collection. Data lost.", exc)); } - Log.w(this.f1166c, "Error with data collection. Data lost.", exc); + Log.w(this.f1133c, "Error with data collection. Data lost.", exc); } public final void c(String str, String str2, Bundle bundle, boolean z2, boolean z3, Long l) { diff --git a/app/src/main/java/c/i/a/f/h/l/g4.java b/app/src/main/java/c/i/a/f/h/l/g4.java index 35a89b89a5..d8ce6282ca 100644 --- a/app/src/main/java/c/i/a/f/h/l/g4.java +++ b/app/src/main/java/c/i/a/f/h/l/g4.java @@ -11,7 +11,7 @@ public final class g4 implements v7 { public g4(zzhi zzhi) { Charset charset = w4.a; this.a = zzhi; - zzhi.f2806c = this; + zzhi.f2387c = this; } public final void a(int i, double d) throws IOException { @@ -41,7 +41,7 @@ public final class g4 implements v7 { public final void e(int i, Object obj, q6 q6Var) throws IOException { zzhi zzhi = this.a; zzhi.f(i, 3); - q6Var.g((c6) obj, zzhi.f2806c); + q6Var.g((c6) obj, zzhi.f2387c); zzhi.f(i, 4); } diff --git a/app/src/main/java/c/i/a/f/h/l/g6.java b/app/src/main/java/c/i/a/f/h/l/g6.java index a8a1f9772a..f7bbd048fa 100644 --- a/app/src/main/java/c/i/a/f/h/l/g6.java +++ b/app/src/main/java/c/i/a/f/h/l/g6.java @@ -1,6 +1,6 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.i.a.f.h.l.u4; import com.google.android.gms.internal.measurement.zzij; import java.io.IOException; @@ -12,12 +12,12 @@ public final class g6 implements q6 { public final d7 b; /* renamed from: c reason: collision with root package name */ - public final boolean f1167c; + public final boolean f1134c; public final j4 d; public g6(d7 d7Var, j4 j4Var, c6 c6Var) { this.b = d7Var; - this.f1167c = j4Var.e(c6Var); + this.f1134c = j4Var.e(c6Var); this.d = j4Var; this.a = c6Var; } @@ -30,7 +30,7 @@ public final class g6 implements q6 { @Override // c.i.a.f.h.l.q6 public final int b(T t) { int hashCode = this.b.e(t).hashCode(); - return this.f1167c ? (hashCode * 53) + this.d.b(t).hashCode() : hashCode; + return this.f1134c ? (hashCode * 53) + this.d.b(t).hashCode() : hashCode; } @Override // c.i.a.f.h.l.q6 @@ -48,7 +48,7 @@ public final class g6 implements q6 { public final int e(T t) { d7 d7Var = this.b; int i = d7Var.i(d7Var.e(t)) + 0; - if (!this.f1167c) { + if (!this.f1134c) { return i; } n4 b = this.d.b(t); @@ -67,7 +67,7 @@ public final class g6 implements q6 { if (!this.b.e(t).equals(this.b.e(t2))) { return false; } - if (this.f1167c) { + if (this.f1134c) { return this.d.b(t).equals(this.d.b(t2)); } return true; @@ -102,13 +102,13 @@ public final class g6 implements q6 { t.u(); u4.f fVar = null; while (i < i2) { - int A0 = c.A0(bArr, i, s3Var); + int v1 = f.v1(bArr, i, s3Var); int i3 = s3Var.a; if (i3 == 11) { int i4 = 0; t3 t3Var = null; - while (A0 < i2) { - A0 = c.A0(bArr, A0, s3Var); + while (v1 < i2) { + v1 = f.v1(bArr, v1, s3Var); int i5 = s3Var.a; int i6 = i5 >>> 3; int i7 = i5 & 7; @@ -118,34 +118,34 @@ public final class g6 implements q6 { n6 n6Var = n6.a; throw new NoSuchMethodError(); } else if (i7 == 2) { - A0 = c.c1(bArr, A0, s3Var); - t3Var = (t3) s3Var.f1204c; + v1 = f.X1(bArr, v1, s3Var); + t3Var = (t3) s3Var.f1168c; } } } else if (i7 == 0) { - A0 = c.A0(bArr, A0, s3Var); + v1 = f.v1(bArr, v1, s3Var); i4 = s3Var.a; fVar = (u4.f) this.d.c(s3Var.d, this.a, i4); } if (i5 == 12) { break; } - A0 = c.s0(i5, bArr, A0, i2, s3Var); + v1 = f.n1(i5, bArr, v1, i2, s3Var); } if (t3Var != null) { c7Var.a((i4 << 3) | 2, t3Var); } - i = A0; + i = v1; } else if ((i3 & 7) == 2) { fVar = (u4.f) this.d.c(s3Var.d, this.a, i3 >>> 3); if (fVar == null) { - i = c.u0(i3, bArr, A0, i2, c7Var, s3Var); + i = f.p1(i3, bArr, v1, i2, c7Var, s3Var); } else { n6 n6Var2 = n6.a; throw new NoSuchMethodError(); } } else { - i = c.s0(i3, bArr, A0, i2, s3Var); + i = f.n1(i3, bArr, v1, i2, s3Var); } } if (i != i2) { @@ -158,7 +158,7 @@ public final class g6 implements q6 { d7 d7Var = this.b; Class cls = s6.a; d7Var.d(t, d7Var.g(d7Var.e(t), d7Var.e(t2))); - if (this.f1167c) { + if (this.f1134c) { s6.i(this.d, t, t2); } } diff --git a/app/src/main/java/c/i/a/f/h/l/g9.java b/app/src/main/java/c/i/a/f/h/l/g9.java index 757a3d6a71..c7a7d806d2 100644 --- a/app/src/main/java/c/i/a/f/h/l/g9.java +++ b/app/src/main/java/c/i/a/f/h/l/g9.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class g9 implements z2 { public static g9 i = new g9(); - public final z2 j = c.C0(new b3(new i9())); + public final z2 j = f.x1(new b3(new i9())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/ga.java b/app/src/main/java/c/i/a/f/h/l/ga.java index ed350ad63d..5027d29de4 100644 --- a/app/src/main/java/c/i/a/f/h/l/ga.java +++ b/app/src/main/java/c/i/a/f/h/l/ga.java @@ -5,13 +5,13 @@ public final class ga implements ha { public static final l2 b; /* renamed from: c reason: collision with root package name */ - public static final l2 f1168c; + public static final l2 f1135c; static { q2 q2Var = new q2(i2.a("com.google.android.gms.measurement")); a = q2Var.c("measurement.client.global_params", true); b = q2Var.c("measurement.service.global_params_in_payload", true); - f1168c = q2Var.c("measurement.service.global_params", true); + f1135c = q2Var.c("measurement.service.global_params", true); q2Var.a("measurement.id.service.global_params", 0); } @@ -32,6 +32,6 @@ public final class ga implements ha { @Override // c.i.a.f.h.l.ha public final boolean d() { - return f1168c.d().booleanValue(); + return f1135c.d().booleanValue(); } } diff --git a/app/src/main/java/c/i/a/f/h/l/h.java b/app/src/main/java/c/i/a/f/h/l/h.java index e89a36eb7c..444e2cbce4 100644 --- a/app/src/main/java/c/i/a/f/h/l/h.java +++ b/app/src/main/java/c/i/a/f/h/l/h.java @@ -10,7 +10,7 @@ public final class h implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzae createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); long j = 0; long j2 = 0; String str = null; @@ -18,36 +18,36 @@ public final class h implements Parcelable.Creator { String str3 = null; Bundle bundle = null; boolean z2 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - j = d.H1(parcel, readInt); + j = d.F1(parcel, readInt); break; case 2: - j2 = d.H1(parcel, readInt); + j2 = d.F1(parcel, readInt); break; case 3: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); break; case 4: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 5: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; case 6: - str3 = d.T(parcel, readInt); + str3 = d.Q(parcel, readInt); break; case 7: - bundle = d.P(parcel, readInt); + bundle = d.M(parcel, readInt); break; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzae(j, j2, z2, str, str2, str3, bundle); } diff --git a/app/src/main/java/c/i/a/f/h/l/h4.java b/app/src/main/java/c/i/a/f/h/l/h4.java index bb4abad586..6aea2e9bfc 100644 --- a/app/src/main/java/c/i/a/f/h/l/h4.java +++ b/app/src/main/java/c/i/a/f/h/l/h4.java @@ -10,7 +10,7 @@ public class h4 { public static volatile h4 b; /* renamed from: c reason: collision with root package name */ - public static final h4 f1169c = new h4(true); + public static final h4 f1136c = new h4(true); public final Map> d; /* compiled from: com.google.android.gms:play-services-measurement-base@@18.0.0 */ @@ -50,7 +50,7 @@ public class h4 { synchronized (h4.class) { h4Var = a; if (h4Var == null) { - h4Var = f1169c; + h4Var = f1136c; a = h4Var; } } diff --git a/app/src/main/java/c/i/a/f/h/l/h8.java b/app/src/main/java/c/i/a/f/h/l/h8.java index cdd085e9f7..201d822a8a 100644 --- a/app/src/main/java/c/i/a/f/h/l/h8.java +++ b/app/src/main/java/c/i/a/f/h/l/h8.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class h8 implements z2 { public static h8 i = new h8(); - public final z2 j = c.C0(new b3(new j8())); + public final z2 j = f.x1(new b3(new j8())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/h9.java b/app/src/main/java/c/i/a/f/h/l/h9.java index a28aa8783a..ef638ea0b4 100644 --- a/app/src/main/java/c/i/a/f/h/l/h9.java +++ b/app/src/main/java/c/i/a/f/h/l/h9.java @@ -5,14 +5,14 @@ public final class h9 implements e9 { public static final l2 b; /* renamed from: c reason: collision with root package name */ - public static final l2 f1170c; + public static final l2 f1137c; static { q2 q2Var = new q2(i2.a("com.google.android.gms.measurement")); q2Var.c("measurement.service.audience.fix_skip_audience_with_failed_filters", true); a = q2Var.c("measurement.audience.refresh_event_count_filters_timestamp", false); b = q2Var.c("measurement.audience.use_bundle_end_timestamp_for_non_sequence_property_filters", false); - f1170c = q2Var.c("measurement.audience.use_bundle_timestamp_for_event_count_filters", false); + f1137c = q2Var.c("measurement.audience.use_bundle_timestamp_for_event_count_filters", false); } @Override // c.i.a.f.h.l.e9 @@ -32,6 +32,6 @@ public final class h9 implements e9 { @Override // c.i.a.f.h.l.e9 public final boolean d() { - return f1170c.d().booleanValue(); + return f1137c.d().booleanValue(); } } diff --git a/app/src/main/java/c/i/a/f/h/l/hb.java b/app/src/main/java/c/i/a/f/h/l/hb.java index 0ff1d071b3..0c79ddddd0 100644 --- a/app/src/main/java/c/i/a/f/h/l/hb.java +++ b/app/src/main/java/c/i/a/f/h/l/hb.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class hb implements z2 { public static hb i = new hb(); - public final z2 j = c.C0(new b3(new jb())); + public final z2 j = f.x1(new b3(new jb())); public static boolean b() { return ((gb) i.a()).a(); diff --git a/app/src/main/java/c/i/a/f/h/l/i8.java b/app/src/main/java/c/i/a/f/h/l/i8.java index f433bde85e..f3400f5483 100644 --- a/app/src/main/java/c/i/a/f/h/l/i8.java +++ b/app/src/main/java/c/i/a/f/h/l/i8.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class i8 implements z2 { public static i8 i = new i8(); - public final z2 j = c.C0(new b3(new k8())); + public final z2 j = f.x1(new b3(new k8())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/ib.java b/app/src/main/java/c/i/a/f/h/l/ib.java index 1a060adcd9..074236896d 100644 --- a/app/src/main/java/c/i/a/f/h/l/ib.java +++ b/app/src/main/java/c/i/a/f/h/l/ib.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class ib implements z2 { public static ib i = new ib(); - public final z2 j = c.C0(new b3(new kb())); + public final z2 j = f.x1(new b3(new kb())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/j.java b/app/src/main/java/c/i/a/f/h/l/j.java index 2d820fe64f..797af33102 100644 --- a/app/src/main/java/c/i/a/f/h/l/j.java +++ b/app/src/main/java/c/i/a/f/h/l/j.java @@ -45,7 +45,7 @@ public final class j extends g.a { if (g.e(this.m, this.n)) { str = this.n; str2 = this.m; - str3 = this.q.f1166c; + str3 = this.q.f1133c; } else { str3 = null; str2 = null; @@ -70,7 +70,7 @@ public final class j extends g.a { ecVar = dc.asInterface(DynamiteModule.c(context, aVar, ModuleDescriptor.MODULE_ID).b("com.google.android.gms.measurement.internal.AppMeasurementDynamiteService")); gVar.j = ecVar; if (this.q.j != null) { - Log.w(this.q.f1166c, "Failed to connect to measurement client."); + Log.w(this.q.f1133c, "Failed to connect to measurement client."); return; } int a = DynamiteModule.a(this.o, ModuleDescriptor.MODULE_ID); diff --git a/app/src/main/java/c/i/a/f/h/l/j5.java b/app/src/main/java/c/i/a/f/h/l/j5.java index 9d6ff8cd9e..3d1baca279 100644 --- a/app/src/main/java/c/i/a/f/h/l/j5.java +++ b/app/src/main/java/c/i/a/f/h/l/j5.java @@ -3,11 +3,11 @@ package c.i.a.f.h.l; import java.util.List; /* compiled from: com.google.android.gms:play-services-measurement-base@@18.0.0 */ public interface j5 extends List { + Object A(int i); + List b(); - j5 r(); + j5 s(); - void s(t3 t3Var); - - Object z(int i); + void t(t3 t3Var); } diff --git a/app/src/main/java/c/i/a/f/h/l/j7.java b/app/src/main/java/c/i/a/f/h/l/j7.java index 43e5b15337..c4ce5dcb90 100644 --- a/app/src/main/java/c/i/a/f/h/l/j7.java +++ b/app/src/main/java/c/i/a/f/h/l/j7.java @@ -13,7 +13,7 @@ public final class j7 { public static final Class b = q3.a; /* renamed from: c reason: collision with root package name */ - public static final boolean f1171c; + public static final boolean f1138c; public static final boolean d; public static final c e; public static final boolean f; @@ -223,37 +223,36 @@ public final class j7 { } } - /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x00b6: APUT - (r5v27 java.lang.Class[]) + /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x00ab: APUT + (r5v17 java.lang.Class[]) (1 ??[boolean, int, float, short, byte, char]) - (wrap: java.lang.Class : 0x00b1: SGET (r1v27 java.lang.Class) = java.lang.Byte.TYPE java.lang.Class) + (wrap: java.lang.Class : 0x00a6: SGET (r22v2 java.lang.Class) = java.lang.Byte.TYPE java.lang.Class) */ - /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x016c: APUT (r3v5 java.lang.Class[]), (1 ??[boolean, int, float, short, byte, char]), (r1v12 java.lang.Class) */ - /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x017b: APUT - (r8v4 java.lang.Class[]) + /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x014e: APUT (r3v7 java.lang.Class[]), (1 ??[boolean, int, float, short, byte, char]), (r5v5 java.lang.Class) */ + /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x015d: APUT + (r3v10 java.lang.Class[]) (2 ??[int, float, short, byte, char]) - (wrap: java.lang.Class : 0x0178: SGET (r3v7 java.lang.Class) = java.lang.Integer.TYPE java.lang.Class) + (wrap: java.lang.Class : 0x015a: SGET (r8v6 java.lang.Class) = java.lang.Integer.TYPE java.lang.Class) */ - /* JADX WARNING: Removed duplicated region for block: B:36:0x013c */ - /* JADX WARNING: Removed duplicated region for block: B:38:0x0140 A[SYNTHETIC, Splitter:B:38:0x0140] */ - /* JADX WARNING: Removed duplicated region for block: B:58:0x02a7 */ + /* JADX WARNING: Removed duplicated region for block: B:31:0x0120 */ + /* JADX WARNING: Removed duplicated region for block: B:32:0x0122 A[SYNTHETIC, Splitter:B:32:0x0122] */ + /* JADX WARNING: Removed duplicated region for block: B:54:0x0282 */ static { String str; - String str2; boolean z2; Unsafe unsafe; boolean z3; boolean z4; - Field s; + Field s2; c cVar; + boolean z5; Object th; - String str3; Object th2; Unsafe k = k(); a = k; Class cls = Long.TYPE; boolean p = p(cls); - f1171c = p; + f1138c = p; Class cls2 = Integer.TYPE; boolean p2 = p(cls2); d = p2; @@ -268,143 +267,106 @@ public final class j7 { } } e = cVar2; - if (k == null) { - str2 = "com.google.protobuf.UnsafeUtil"; - str = "getByte"; - } else { + if (k != null) { try { Class cls3 = k.getClass(); - str3 = "com.google.protobuf.UnsafeUtil"; - try { - cls3.getMethod("objectFieldOffset", Field.class); - cls3.getMethod("getLong", Object.class, cls); - if (s() == null) { + cls3.getMethod("objectFieldOffset", Field.class); + cls3.getMethod("getLong", Object.class, cls); + if (s() != null) { + if (q3.a()) { str = "getByte"; - str2 = str3; } else { - if (q3.a()) { - str = "getByte"; - } else { - cls3.getMethod("getByte", cls); - Class[] clsArr = new Class[2]; - clsArr[0] = cls; - str = "getByte"; - try { - clsArr[1] = Byte.TYPE; - cls3.getMethod("putByte", clsArr); - cls3.getMethod("getInt", cls); - cls3.getMethod("putInt", cls, cls2); - cls3.getMethod("getLong", cls); - cls3.getMethod("putLong", cls, cls); - cls3.getMethod("copyMemory", cls, cls, cls); - cls3.getMethod("copyMemory", Object.class, cls, Object.class, cls, cls); - } catch (Throwable th3) { - th2 = th3; + cls3.getMethod("getByte", cls); + Class[] clsArr = new Class[2]; + clsArr[0] = cls; + str = "getByte"; + try { + clsArr[1] = Byte.TYPE; + cls3.getMethod("putByte", clsArr); + cls3.getMethod("getInt", cls); + cls3.getMethod("putInt", cls, cls2); + cls3.getMethod("getLong", cls); + cls3.getMethod("putLong", cls, cls); + cls3.getMethod("copyMemory", cls, cls, cls); + cls3.getMethod("copyMemory", Object.class, cls, Object.class, cls, cls); + } catch (Throwable th3) { + th2 = th3; + Logger logger = Logger.getLogger(j7.class.getName()); + Level level = Level.WARNING; + String valueOf = String.valueOf(th2); + logger.logp(level, "com.google.protobuf.UnsafeUtil", "supportsUnsafeByteBufferOperations", c.d.b.a.a.i(valueOf.length() + 71, "platform method missing - proto runtime falling back to safer methods: ", valueOf)); + z2 = false; + f = z2; + unsafe = a; + if (unsafe != null) { } + z3 = true; + g = z4; + h(boolean[].class); + j(boolean[].class); + h(int[].class); + j(int[].class); + h(long[].class); + j(long[].class); + h(float[].class); + j(float[].class); + h(double[].class); + j(double[].class); + h(Object[].class); + j(Object[].class); + s2 = s(); + cVar.a.objectFieldOffset(s2); + if (ByteOrder.nativeOrder() != ByteOrder.BIG_ENDIAN) { + } + i = z3; } - str2 = str3; - z2 = true; - f = z2; - unsafe = a; - if (unsafe != null) { - z4 = false; - } else { + } + z2 = true; + f = z2; + unsafe = a; + if (unsafe != null) { + z4 = false; + } else { + try { + Class cls4 = unsafe.getClass(); + cls4.getMethod("objectFieldOffset", Field.class); + cls4.getMethod("arrayBaseOffset", Class.class); + cls4.getMethod("arrayIndexScale", Class.class); + Class[] clsArr2 = new Class[2]; + clsArr2[0] = Object.class; + Class cls5 = Long.TYPE; try { - Class cls4 = unsafe.getClass(); - cls4.getMethod("objectFieldOffset", Field.class); - cls4.getMethod("arrayBaseOffset", Class.class); - cls4.getMethod("arrayIndexScale", Class.class); - Class[] clsArr2 = new Class[2]; - clsArr2[0] = Object.class; - Class cls5 = Long.TYPE; - z3 = true; - try { - clsArr2[1] = cls5; - cls4.getMethod("getInt", clsArr2); - Class[] clsArr3 = new Class[3]; - clsArr3[0] = Object.class; - clsArr3[1] = cls5; - clsArr3[2] = Integer.TYPE; - cls4.getMethod("putInt", clsArr3); - cls4.getMethod("getLong", Object.class, cls5); - cls4.getMethod("putLong", Object.class, cls5, cls5); - cls4.getMethod("getObject", Object.class, cls5); - cls4.getMethod("putObject", Object.class, cls5, Object.class); - if (q3.a()) { - z4 = true; - } else { - cls4.getMethod(str, Object.class, cls5); - cls4.getMethod("putByte", Object.class, cls5, Byte.TYPE); - cls4.getMethod("getBoolean", Object.class, cls5); - cls4.getMethod("putBoolean", Object.class, cls5, Boolean.TYPE); - cls4.getMethod("getFloat", Object.class, cls5); - cls4.getMethod("putFloat", Object.class, cls5, Float.TYPE); - z3 = true; - cls4.getMethod("getDouble", Object.class, cls5); - cls4.getMethod("putDouble", Object.class, cls5, Double.TYPE); - z4 = true; - g = z4; - h(boolean[].class); - j(boolean[].class); - h(int[].class); - j(int[].class); - h(long[].class); - j(long[].class); - h(float[].class); - j(float[].class); - h(double[].class); - j(double[].class); - h(Object[].class); - j(Object[].class); - s = s(); - if (!(s == null || (cVar = e) == null)) { - cVar.a.objectFieldOffset(s); - } - if (ByteOrder.nativeOrder() != ByteOrder.BIG_ENDIAN) { - z3 = false; - } - i = z3; - } - } catch (Throwable th4) { - th = th4; - Logger logger = Logger.getLogger(j7.class.getName()); - Level level = Level.WARNING; - String valueOf = String.valueOf(th); - StringBuilder sb = new StringBuilder(valueOf.length() + 71); - sb.append("platform method missing - proto runtime falling back to safer methods: "); - sb.append(valueOf); - logger.logp(level, str2, "supportsUnsafeArrayOperations", sb.toString()); - z4 = false; - g = z4; - h(boolean[].class); - j(boolean[].class); - h(int[].class); - j(int[].class); - h(long[].class); - j(long[].class); - h(float[].class); - j(float[].class); - h(double[].class); - j(double[].class); - h(Object[].class); - j(Object[].class); - s = s(); - cVar.a.objectFieldOffset(s); - if (ByteOrder.nativeOrder() != ByteOrder.BIG_ENDIAN) { - } - i = z3; + clsArr2[1] = cls5; + cls4.getMethod("getInt", clsArr2); + Class[] clsArr3 = new Class[3]; + clsArr3[0] = Object.class; + clsArr3[1] = cls5; + clsArr3[2] = Integer.TYPE; + cls4.getMethod("putInt", clsArr3); + cls4.getMethod("getLong", Object.class, cls5); + cls4.getMethod("putLong", Object.class, cls5, cls5); + cls4.getMethod("getObject", Object.class, cls5); + cls4.getMethod("putObject", Object.class, cls5, Object.class); + if (!q3.a()) { + cls4.getMethod(str, Object.class, cls5); + cls4.getMethod("putByte", Object.class, cls5, Byte.TYPE); + cls4.getMethod("getBoolean", Object.class, cls5); + cls4.getMethod("putBoolean", Object.class, cls5, Boolean.TYPE); + cls4.getMethod("getFloat", Object.class, cls5); + cls4.getMethod("putFloat", Object.class, cls5, Float.TYPE); + cls4.getMethod("getDouble", Object.class, cls5); + cls4.getMethod("putDouble", Object.class, cls5, Double.TYPE); } - } catch (Throwable th5) { - th = th5; - z3 = true; - Logger logger = Logger.getLogger(j7.class.getName()); - Level level = Level.WARNING; - String valueOf = String.valueOf(th); - StringBuilder sb = new StringBuilder(valueOf.length() + 71); - sb.append("platform method missing - proto runtime falling back to safer methods: "); - sb.append(valueOf); - logger.logp(level, str2, "supportsUnsafeArrayOperations", sb.toString()); + z4 = true; + } catch (Throwable th4) { + th = th4; + z5 = true; + Logger logger2 = Logger.getLogger(j7.class.getName()); + Level level2 = Level.WARNING; + String valueOf2 = String.valueOf(th); + logger2.logp(level2, "com.google.protobuf.UnsafeUtil", "supportsUnsafeArrayOperations", c.d.b.a.a.i(valueOf2.length() + 71, "platform method missing - proto runtime falling back to safer methods: ", valueOf2)); z4 = false; + z3 = z5; g = z4; h(boolean[].class); j(boolean[].class); @@ -418,49 +380,40 @@ public final class j7 { j(double[].class); h(Object[].class); j(Object[].class); - s = s(); - cVar.a.objectFieldOffset(s); + s2 = s(); + cVar.a.objectFieldOffset(s2); if (ByteOrder.nativeOrder() != ByteOrder.BIG_ENDIAN) { } i = z3; } + } catch (Throwable th5) { + th = th5; + z5 = true; + Logger logger2 = Logger.getLogger(j7.class.getName()); + Level level2 = Level.WARNING; + String valueOf2 = String.valueOf(th); + logger2.logp(level2, "com.google.protobuf.UnsafeUtil", "supportsUnsafeArrayOperations", c.d.b.a.a.i(valueOf2.length() + 71, "platform method missing - proto runtime falling back to safer methods: ", valueOf2)); + z4 = false; + z3 = z5; + g = z4; + h(boolean[].class); + j(boolean[].class); + h(int[].class); + j(int[].class); + h(long[].class); + j(long[].class); + h(float[].class); + j(float[].class); + h(double[].class); + j(double[].class); + h(Object[].class); + j(Object[].class); + s2 = s(); + cVar.a.objectFieldOffset(s2); + if (ByteOrder.nativeOrder() != ByteOrder.BIG_ENDIAN) { + } + i = z3; } - z3 = true; - g = z4; - h(boolean[].class); - j(boolean[].class); - h(int[].class); - j(int[].class); - h(long[].class); - j(long[].class); - h(float[].class); - j(float[].class); - h(double[].class); - j(double[].class); - h(Object[].class); - j(Object[].class); - s = s(); - cVar.a.objectFieldOffset(s); - if (ByteOrder.nativeOrder() != ByteOrder.BIG_ENDIAN) { - } - i = z3; - } - } catch (Throwable th6) { - th2 = th6; - str = "getByte"; - Logger logger2 = Logger.getLogger(j7.class.getName()); - Level level2 = Level.WARNING; - String valueOf2 = String.valueOf(th2); - StringBuilder sb2 = new StringBuilder(valueOf2.length() + 71); - sb2.append("platform method missing - proto runtime falling back to safer methods: "); - sb2.append(valueOf2); - String sb3 = sb2.toString(); - str2 = str3; - logger2.logp(level2, str2, "supportsUnsafeByteBufferOperations", sb3); - z2 = false; - f = z2; - unsafe = a; - if (unsafe != null) { } z3 = true; g = z4; @@ -476,25 +429,22 @@ public final class j7 { j(double[].class); h(Object[].class); j(Object[].class); - s = s(); - cVar.a.objectFieldOffset(s); + s2 = s(); + if (!(s2 == null || (cVar = e) == null)) { + cVar.a.objectFieldOffset(s2); + } if (ByteOrder.nativeOrder() != ByteOrder.BIG_ENDIAN) { + z3 = false; } i = z3; } - } catch (Throwable th7) { - th2 = th7; - str3 = "com.google.protobuf.UnsafeUtil"; + } catch (Throwable th6) { + th2 = th6; str = "getByte"; - Logger logger2 = Logger.getLogger(j7.class.getName()); - Level level2 = Level.WARNING; - String valueOf2 = String.valueOf(th2); - StringBuilder sb2 = new StringBuilder(valueOf2.length() + 71); - sb2.append("platform method missing - proto runtime falling back to safer methods: "); - sb2.append(valueOf2); - String sb3 = sb2.toString(); - str2 = str3; - logger2.logp(level2, str2, "supportsUnsafeByteBufferOperations", sb3); + Logger logger = Logger.getLogger(j7.class.getName()); + Level level = Level.WARNING; + String valueOf = String.valueOf(th2); + logger.logp(level, "com.google.protobuf.UnsafeUtil", "supportsUnsafeByteBufferOperations", c.d.b.a.a.i(valueOf.length() + 71, "platform method missing - proto runtime falling back to safer methods: ", valueOf)); z2 = false; f = z2; unsafe = a; @@ -514,13 +464,14 @@ public final class j7 { j(double[].class); h(Object[].class); j(Object[].class); - s = s(); - cVar.a.objectFieldOffset(s); + s2 = s(); + cVar.a.objectFieldOffset(s2); if (ByteOrder.nativeOrder() != ByteOrder.BIG_ENDIAN) { } i = z3; } } + str = "getByte"; z2 = false; f = z2; unsafe = a; @@ -540,8 +491,8 @@ public final class j7 { j(double[].class); h(Object[].class); j(Object[].class); - s = s(); - cVar.a.objectFieldOffset(s); + s2 = s(); + cVar.a.objectFieldOffset(s2); if (ByteOrder.nativeOrder() != ByteOrder.BIG_ENDIAN) { } i = z3; diff --git a/app/src/main/java/c/i/a/f/h/l/ja.java b/app/src/main/java/c/i/a/f/h/l/ja.java index 87263cf5d7..841552c64f 100644 --- a/app/src/main/java/c/i/a/f/h/l/ja.java +++ b/app/src/main/java/c/i/a/f/h/l/ja.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class ja implements z2 { public static ja i = new ja(); - public final z2 j = c.C0(new b3(new la())); + public final z2 j = f.x1(new b3(new la())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/k5.java b/app/src/main/java/c/i/a/f/h/l/k5.java index 0883c01e0d..5e84702551 100644 --- a/app/src/main/java/c/i/a/f/h/l/k5.java +++ b/app/src/main/java/c/i/a/f/h/l/k5.java @@ -40,6 +40,11 @@ public final class k5 extends o3 implements j5, RandomAccess { return new String((byte[]) obj, w4.a); } + @Override // c.i.a.f.h.l.j5 + public final Object A(int i) { + return this.k.get(i); + } + @Override // java.util.AbstractList, java.util.List public final /* synthetic */ void add(int i, Object obj) { c(); @@ -113,11 +118,6 @@ public final class k5 extends o3 implements j5, RandomAccess { return str; } - @Override // c.i.a.f.h.l.j5 - public final j5 r() { - return this.i ? new e7(this) : this; - } - @Override // c.i.a.f.h.l.o3, java.util.AbstractList, java.util.List public final /* synthetic */ Object remove(int i) { c(); @@ -127,10 +127,8 @@ public final class k5 extends o3 implements j5, RandomAccess { } @Override // c.i.a.f.h.l.j5 - public final void s(t3 t3Var) { - c(); - this.k.add(t3Var); - ((AbstractList) this).modCount++; + public final j5 s() { + return this.i ? new e7(this) : this; } @Override // java.util.AbstractList, java.util.List @@ -145,7 +143,9 @@ public final class k5 extends o3 implements j5, RandomAccess { } @Override // c.i.a.f.h.l.j5 - public final Object z(int i) { - return this.k.get(i); + public final void t(t3 t3Var) { + c(); + this.k.add(t3Var); + ((AbstractList) this).modCount++; } } diff --git a/app/src/main/java/c/i/a/f/h/l/ka.java b/app/src/main/java/c/i/a/f/h/l/ka.java index c776abdb90..911eda0a92 100644 --- a/app/src/main/java/c/i/a/f/h/l/ka.java +++ b/app/src/main/java/c/i/a/f/h/l/ka.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class ka implements z2 { public static ka i = new ka(); - public final z2 j = c.C0(new b3(new ma())); + public final z2 j = f.x1(new b3(new ma())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/l2.java b/app/src/main/java/c/i/a/f/h/l/l2.java index fe861d7dbc..9fa5231411 100644 --- a/app/src/main/java/c/i/a/f/h/l/l2.java +++ b/app/src/main/java/c/i/a/f/h/l/l2.java @@ -2,7 +2,7 @@ package c.i.a.f.h.l; import android.net.Uri; import android.util.Log; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import java.util.Map; import java.util.Objects; import java.util.concurrent.atomic.AtomicInteger; @@ -13,7 +13,7 @@ public abstract class l2 { public static volatile t2 b; /* renamed from: c reason: collision with root package name */ - public static u2 f1172c = new u2(n2.a); + public static u2 f1139c = new u2(n2.a); public static final AtomicInteger d = new AtomicInteger(); public final q2 e; public final String f; @@ -64,20 +64,20 @@ public abstract class l2 { Object g; boolean z2 = true; if (!this.j) { - u2 u2Var = f1172c; + u2 u2Var = f1139c; String str = this.f; Objects.requireNonNull(u2Var); Objects.requireNonNull(str, "flagName must not be null"); - c.Z0(true, "Attempt to access PhenotypeFlag not via codegen. All new PhenotypeFlags must be accessed through codegen APIs. If you believe you are seeing this error by mistake, you can add your flag to the exemption list located at //java/com/google/android/libraries/phenotype/client/lockdown/flags.textproto. Send the addition CL to ph-reviews@. See go/phenotype-android-codegen for information about generated code. See go/ph-lockdown for more information about this error."); + f.U1(true, "Attempt to access PhenotypeFlag not via codegen. All new PhenotypeFlags must be accessed through codegen APIs. If you believe you are seeing this error by mistake, you can add your flag to the exemption list located at //java/com/google/android/libraries/phenotype/client/lockdown/flags.textproto. Send the addition CL to ph-reviews@. See go/phenotype-android-codegen for information about generated code. See go/ph-lockdown for more information about this error."); } int i = d.get(); if (this.h < i) { synchronized (this) { if (this.h < i) { t2 t2Var = b; - c.Z0(t2Var != null, "Must call PhenotypeFlag.init() first"); + f.U1(t2Var != null, "Must call PhenotypeFlag.init() first"); String str2 = (String) c2.a(t2Var.a()).g("gms:phenotype:phenotype_flag:debug_bypass_phenotype"); - if (str2 == null || !u1.f1206c.matcher(str2).matches()) { + if (str2 == null || !u1.f1170c.matcher(str2).matches()) { z2 = false; } String str3 = null; diff --git a/app/src/main/java/c/i/a/f/h/l/l3.java b/app/src/main/java/c/i/a/f/h/l/l3.java index d671c1a0bd..f290037f61 100644 --- a/app/src/main/java/c/i/a/f/h/l/l3.java +++ b/app/src/main/java/c/i/a/f/h/l/l3.java @@ -39,7 +39,7 @@ public abstract class l3, Build } } } else if (obj instanceof t3) { - j5Var.s((t3) obj); + j5Var.t((t3) obj); } else { j5Var.add((String) obj); } @@ -90,9 +90,9 @@ public abstract class l3, Build throw new IllegalStateException("Did not write as much data as expected."); } catch (IOException e) { String name = getClass().getName(); - StringBuilder N = a.N(name.length() + 62 + 10, "Serializing ", name, " to a ", "ByteString"); - N.append(" threw an IOException (should never happen)."); - throw new RuntimeException(N.toString(), e); + StringBuilder Q = a.Q(name.length() + 62 + 10, "Serializing ", name, " to a ", "ByteString"); + Q.append(" threw an IOException (should never happen)."); + throw new RuntimeException(Q.toString(), e); } } @@ -110,9 +110,9 @@ public abstract class l3, Build throw new IllegalStateException("Did not write as much data as expected."); } catch (IOException e) { String name = getClass().getName(); - StringBuilder N = a.N(name.length() + 62 + 10, "Serializing ", name, " to a ", "byte array"); - N.append(" threw an IOException (should never happen)."); - throw new RuntimeException(N.toString(), e); + StringBuilder Q = a.Q(name.length() + 62 + 10, "Serializing ", name, " to a ", "byte array"); + Q.append(" threw an IOException (should never happen)."); + throw new RuntimeException(Q.toString(), e); } } diff --git a/app/src/main/java/c/i/a/f/h/l/l7.java b/app/src/main/java/c/i/a/f/h/l/l7.java index 530c6368ed..41ca6cfa48 100644 --- a/app/src/main/java/c/i/a/f/h/l/l7.java +++ b/app/src/main/java/c/i/a/f/h/l/l7.java @@ -1,6 +1,6 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import com.google.android.gms.internal.measurement.zzij; /* compiled from: com.google.android.gms:play-services-measurement-base@@18.0.0 */ public final class l7 extends m7 { @@ -141,7 +141,7 @@ public final class l7 extends m7 { int i4 = 0; while (i < i3) { byte b = bArr[i]; - if (!c.V0(b)) { + if (!f.Q1(b)) { break; } i++; @@ -152,7 +152,7 @@ public final class l7 extends m7 { while (i < i3) { int i6 = i + 1; byte b2 = bArr[i]; - if (c.V0(b2)) { + if (f.Q1(b2)) { int i7 = i5 + 1; cArr[i5] = (char) b2; i = i6; @@ -162,7 +162,7 @@ public final class l7 extends m7 { break; } byte b3 = bArr[i]; - if (!c.V0(b3)) { + if (!f.Q1(b3)) { break; } i++; @@ -174,7 +174,7 @@ public final class l7 extends m7 { if (b2 < -16) { if (i6 < i3 - 1) { int i8 = i6 + 1; - c.N0(b2, bArr[i6], bArr[i8], cArr, i5); + f.I1(b2, bArr[i6], bArr[i8], cArr, i5); i = i8 + 1; i5++; } else { @@ -184,14 +184,14 @@ public final class l7 extends m7 { int i9 = i6 + 1; byte b4 = bArr[i6]; int i10 = i9 + 1; - c.M0(b2, b4, bArr[i9], bArr[i10], cArr, i5); + f.H1(b2, b4, bArr[i9], bArr[i10], cArr, i5); i5 = i5 + 1 + 1; i = i10 + 1; } else { throw zzij.e(); } } else if (i6 < i3) { - c.O0(b2, bArr[i6], cArr, i5); + f.J1(b2, bArr[i6], cArr, i5); i = i6 + 1; i5++; } else { diff --git a/app/src/main/java/c/i/a/f/h/l/l9.java b/app/src/main/java/c/i/a/f/h/l/l9.java index cd98043bc3..585bcf176f 100644 --- a/app/src/main/java/c/i/a/f/h/l/l9.java +++ b/app/src/main/java/c/i/a/f/h/l/l9.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class l9 implements z2 { public static l9 i = new l9(); - public final z2 j = c.C0(new b3(new n9())); + public final z2 j = f.x1(new b3(new n9())); public static boolean b() { return ((k9) i.a()).a(); diff --git a/app/src/main/java/c/i/a/f/h/l/la.java b/app/src/main/java/c/i/a/f/h/l/la.java index e143537543..6a16912a38 100644 --- a/app/src/main/java/c/i/a/f/h/l/la.java +++ b/app/src/main/java/c/i/a/f/h/l/la.java @@ -5,14 +5,14 @@ public final class la implements ia { public static final l2 b; /* renamed from: c reason: collision with root package name */ - public static final l2 f1173c; + public static final l2 f1140c; public static final l2 d; static { q2 q2Var = new q2(i2.a("com.google.android.gms.measurement")); a = q2Var.c("measurement.sdk.collection.enable_extend_user_property_size", true); b = q2Var.c("measurement.sdk.collection.last_deep_link_referrer2", true); - f1173c = q2Var.c("measurement.sdk.collection.last_deep_link_referrer_campaign2", false); + f1140c = q2Var.c("measurement.sdk.collection.last_deep_link_referrer_campaign2", false); d = q2Var.c("measurement.sdk.collection.last_gclid_from_referrer2", false); q2Var.a("measurement.id.sdk.collection.last_deep_link_referrer2", 0); } @@ -29,7 +29,7 @@ public final class la implements ia { @Override // c.i.a.f.h.l.ia public final boolean c() { - return f1173c.d().booleanValue(); + return f1140c.d().booleanValue(); } @Override // c.i.a.f.h.l.ia diff --git a/app/src/main/java/c/i/a/f/h/l/m2.java b/app/src/main/java/c/i/a/f/h/l/m2.java index d41993c7ae..48bbb3ddb4 100644 --- a/app/src/main/java/c/i/a/f/h/l/m2.java +++ b/app/src/main/java/c/i/a/f/h/l/m2.java @@ -22,7 +22,7 @@ public final class m2 extends l2 { } String c2 = c(); String valueOf = String.valueOf(obj); - Log.e("PhenotypeFlag", a.h(valueOf.length() + a.b(c2, 25), "Invalid long value for ", c2, ": ", valueOf)); + Log.e("PhenotypeFlag", a.k(valueOf.length() + a.b(c2, 25), "Invalid long value for ", c2, ": ", valueOf)); return null; } } diff --git a/app/src/main/java/c/i/a/f/h/l/m6.java b/app/src/main/java/c/i/a/f/h/l/m6.java index e206cacf67..c1c2fe5248 100644 --- a/app/src/main/java/c/i/a/f/h/l/m6.java +++ b/app/src/main/java/c/i/a/f/h/l/m6.java @@ -1,5 +1,6 @@ package c.i.a.f.h.l; +import c.d.b.a.a; import java.util.AbstractList; import java.util.Arrays; import java.util.RandomAccess; @@ -64,13 +65,7 @@ public final class m6 extends o3 implements RandomAccess { } public final String e(int i) { - int i2 = this.l; - StringBuilder sb = new StringBuilder(35); - sb.append("Index:"); - sb.append(i); - sb.append(", Size:"); - sb.append(i2); - return sb.toString(); + return a.g(35, "Index:", i, ", Size:", this.l); } @Override // c.i.a.f.h.l.b5 diff --git a/app/src/main/java/c/i/a/f/h/l/m9.java b/app/src/main/java/c/i/a/f/h/l/m9.java index 3577a43690..f8f873278c 100644 --- a/app/src/main/java/c/i/a/f/h/l/m9.java +++ b/app/src/main/java/c/i/a/f/h/l/m9.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class m9 implements z2 { public static m9 i = new m9(); - public final z2 j = c.C0(new b3(new o9())); + public final z2 j = f.x1(new b3(new o9())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/n4.java b/app/src/main/java/c/i/a/f/h/l/n4.java index f545907da5..b41a3e9df7 100644 --- a/app/src/main/java/c/i/a/f/h/l/n4.java +++ b/app/src/main/java/c/i/a/f/h/l/n4.java @@ -16,7 +16,7 @@ public final class n4> { public final r6 b = new t6(16); /* renamed from: c reason: collision with root package name */ - public boolean f1174c; + public boolean f1141c; public boolean d; public n4() { @@ -263,7 +263,7 @@ public final class n4> { return obj; } d5 d5Var = (d5) obj; - int i = d5.f1163c; + int i = d5.f1130c; throw new NoSuchMethodError(); } @@ -291,9 +291,9 @@ public final class n4> { } public final void h() { - if (!this.f1174c) { + if (!this.f1141c) { this.b.c(); - this.f1174c = true; + this.f1141c = true; } } @@ -329,7 +329,7 @@ public final class n4> { Object value = entry.getValue(); if (value instanceof d5) { d5 d5Var = (d5) value; - int i = d5.f1163c; + int i = d5.f1130c; throw new NoSuchMethodError(); } else if (key.d()) { Object c2 = c(key); @@ -345,7 +345,7 @@ public final class n4> { if (c3 == null) { this.b.put(key, d(value)); } else { - this.b.put(key, c3 instanceof f6 ? key.b0((f6) c3, (f6) value) : ((u4.b) key.W(((c6) c3).f(), (c6) value)).p()); + this.b.put(key, c3 instanceof f6 ? key.c0((f6) c3, (f6) value) : ((u4.b) key.X(((c6) c3).f(), (c6) value)).p()); } } else { this.b.put(key, d(value)); diff --git a/app/src/main/java/c/i/a/f/h/l/n5.java b/app/src/main/java/c/i/a/f/h/l/n5.java index e65d3e2a6f..e62ca492da 100644 --- a/app/src/main/java/c/i/a/f/h/l/n5.java +++ b/app/src/main/java/c/i/a/f/h/l/n5.java @@ -35,6 +35,6 @@ public final class n5 extends m5 { @Override // c.i.a.f.h.l.m5 public final void b(Object obj, long j) { - c(obj, j).f0(); + c(obj, j).g0(); } } diff --git a/app/src/main/java/c/i/a/f/h/l/n6.java b/app/src/main/java/c/i/a/f/h/l/n6.java index da41065208..f19eebde9c 100644 --- a/app/src/main/java/c/i/a/f/h/l/n6.java +++ b/app/src/main/java/c/i/a/f/h/l/n6.java @@ -10,7 +10,7 @@ public final class n6 { public final p6 b = new p5(); /* renamed from: c reason: collision with root package name */ - public final ConcurrentMap, q6> f1175c = new ConcurrentHashMap(); + public final ConcurrentMap, q6> f1142c = new ConcurrentHashMap(); public final q6 a(Class cls) { q6 q6Var; @@ -18,7 +18,7 @@ public final class n6 { Class cls2; Charset charset = w4.a; Objects.requireNonNull(cls, "messageType"); - q6 q6Var2 = (q6) this.f1175c.get(cls); + q6 q6Var2 = (q6) this.f1142c.get(cls); if (q6Var2 != null) { return q6Var2; } @@ -72,11 +72,11 @@ public final class n6 { throw new IllegalStateException("Protobuf runtime is not correctly loaded."); } } else { - q6Var = e6.n(b, k6.a, m5.a, s6.f1205c, null, x5.a); + q6Var = e6.n(b, k6.a, m5.a, s6.f1169c, null, x5.a); } } } - q6 q6Var3 = (q6) this.f1175c.putIfAbsent(cls, q6Var); + q6 q6Var3 = (q6) this.f1142c.putIfAbsent(cls, q6Var); return q6Var3 != null ? q6Var3 : q6Var; } throw new IllegalArgumentException("Message classes must extend GeneratedMessage or GeneratedMessageLite"); diff --git a/app/src/main/java/c/i/a/f/h/l/n7.java b/app/src/main/java/c/i/a/f/h/l/n7.java index 42b2e7e27b..68253727cb 100644 --- a/app/src/main/java/c/i/a/f/h/l/n7.java +++ b/app/src/main/java/c/i/a/f/h/l/n7.java @@ -1,6 +1,6 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import com.google.android.gms.internal.measurement.zzij; /* compiled from: com.google.android.gms:play-services-measurement-base@@18.0.0 */ public final class n7 extends m7 { @@ -240,7 +240,7 @@ public final class n7 extends m7 { int i4 = 0; while (i < i3) { byte a = j7.a(bArr, (long) i); - if (!c.V0(a)) { + if (!f.Q1(a)) { break; } i++; @@ -251,7 +251,7 @@ public final class n7 extends m7 { while (i < i3) { int i6 = i + 1; byte a2 = j7.a(bArr, (long) i); - if (c.V0(a2)) { + if (f.Q1(a2)) { int i7 = i5 + 1; cArr[i5] = (char) a2; i = i6; @@ -261,7 +261,7 @@ public final class n7 extends m7 { break; } byte a3 = j7.a(bArr, (long) i); - if (!c.V0(a3)) { + if (!f.Q1(a3)) { break; } i++; @@ -273,7 +273,7 @@ public final class n7 extends m7 { if (a2 < -16) { if (i6 < i3 - 1) { int i8 = i6 + 1; - c.N0(a2, j7.a(bArr, (long) i6), j7.a(bArr, (long) i8), cArr, i5); + f.I1(a2, j7.a(bArr, (long) i6), j7.a(bArr, (long) i8), cArr, i5); i = i8 + 1; i5++; } else { @@ -282,14 +282,14 @@ public final class n7 extends m7 { } else if (i6 < i3 - 2) { int i9 = i6 + 1; int i10 = i9 + 1; - c.M0(a2, j7.a(bArr, (long) i6), j7.a(bArr, (long) i9), j7.a(bArr, (long) i10), cArr, i5); + f.H1(a2, j7.a(bArr, (long) i6), j7.a(bArr, (long) i9), j7.a(bArr, (long) i10), cArr, i5); i5 = i5 + 1 + 1; i = i10 + 1; } else { throw zzij.e(); } } else if (i6 < i3) { - c.O0(a2, j7.a(bArr, (long) i6), cArr, i5); + f.J1(a2, j7.a(bArr, (long) i6), cArr, i5); i = i6 + 1; i5++; } else { diff --git a/app/src/main/java/c/i/a/f/h/l/n8.java b/app/src/main/java/c/i/a/f/h/l/n8.java index 0e3861491e..d2862d1cd7 100644 --- a/app/src/main/java/c/i/a/f/h/l/n8.java +++ b/app/src/main/java/c/i/a/f/h/l/n8.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class n8 implements z2 { public static n8 i = new n8(); - public final z2 j = c.C0(new b3(new p8())); + public final z2 j = f.x1(new b3(new p8())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/nb.java b/app/src/main/java/c/i/a/f/h/l/nb.java index 6a367b8f2f..80ce9d0285 100644 --- a/app/src/main/java/c/i/a/f/h/l/nb.java +++ b/app/src/main/java/c/i/a/f/h/l/nb.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class nb implements z2 { public static nb i = new nb(); - public final z2 j = c.C0(new b3(new pb())); + public final z2 j = f.x1(new b3(new pb())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/o2.java b/app/src/main/java/c/i/a/f/h/l/o2.java index f2dae98292..1b1a0ff9a0 100644 --- a/app/src/main/java/c/i/a/f/h/l/o2.java +++ b/app/src/main/java/c/i/a/f/h/l/o2.java @@ -25,7 +25,7 @@ public final class o2 extends l2 { } String c2 = c(); String valueOf = String.valueOf(obj); - Log.e("PhenotypeFlag", a.h(valueOf.length() + a.b(c2, 27), "Invalid double value for ", c2, ": ", valueOf)); + Log.e("PhenotypeFlag", a.k(valueOf.length() + a.b(c2, 27), "Invalid double value for ", c2, ": ", valueOf)); return null; } } diff --git a/app/src/main/java/c/i/a/f/h/l/o3.java b/app/src/main/java/c/i/a/f/h/l/o3.java index b04009b997..70d73e5b3e 100644 --- a/app/src/main/java/c/i/a/f/h/l/o3.java +++ b/app/src/main/java/c/i/a/f/h/l/o3.java @@ -68,7 +68,7 @@ public abstract class o3 extends AbstractList implements b5 { } @Override // c.i.a.f.h.l.b5 - public final void f0() { + public final void g0() { this.i = false; } diff --git a/app/src/main/java/c/i/a/f/h/l/o4.java b/app/src/main/java/c/i/a/f/h/l/o4.java index 85a68c38d3..b5d594ae97 100644 --- a/app/src/main/java/c/i/a/f/h/l/o4.java +++ b/app/src/main/java/c/i/a/f/h/l/o4.java @@ -105,7 +105,7 @@ public enum o4 { /* renamed from: h0 reason: collision with root package name */ - public static final o4[] f1183h0 = new o4[51]; + public static final o4[] f1150h0 = new o4[51]; private final e5 zzaz; private final int zzba; private final q4 zzbb; @@ -129,7 +129,7 @@ public enum o4 { o4[] values = values(); for (int i = 0; i < 51; i++) { o4 o4Var = values[i]; - f1183h0[o4Var.zzba] = o4Var; + f1150h0[o4Var.zzba] = o4Var; } } diff --git a/app/src/main/java/c/i/a/f/h/l/o5.java b/app/src/main/java/c/i/a/f/h/l/o5.java index ced5e09cc9..e661475d39 100644 --- a/app/src/main/java/c/i/a/f/h/l/o5.java +++ b/app/src/main/java/c/i/a/f/h/l/o5.java @@ -7,7 +7,7 @@ import java.util.List; public final class o5 extends m5 { /* renamed from: c reason: collision with root package name */ - public static final Class f1190c = Collections.unmodifiableList(Collections.emptyList()).getClass(); + public static final Class f1156c = Collections.unmodifiableList(Collections.emptyList()).getClass(); public o5(l5 l5Var) { super(null); @@ -23,7 +23,7 @@ public final class o5 extends m5 { list2 = list2 instanceof j5 ? new k5(size) : (!(list2 instanceof l6) || !(list2 instanceof b5)) ? new ArrayList(size) : ((b5) list2).f(size); j7.f(obj, j, list2); } else { - if (f1190c.isAssignableFrom(list2.getClass())) { + if (f1156c.isAssignableFrom(list2.getClass())) { ArrayList arrayList2 = new ArrayList(list2.size() + size); arrayList2.addAll(list2); j7.f(obj, j, arrayList2); @@ -58,14 +58,14 @@ public final class o5 extends m5 { Object obj2; List list = (List) j7.r(obj, j); if (list instanceof j5) { - obj2 = ((j5) list).r(); - } else if (!f1190c.isAssignableFrom(list.getClass())) { + obj2 = ((j5) list).s(); + } else if (!f1156c.isAssignableFrom(list.getClass())) { if (!(list instanceof l6) || !(list instanceof b5)) { obj2 = Collections.unmodifiableList(list); } else { b5 b5Var = (b5) list; if (b5Var.a()) { - b5Var.f0(); + b5Var.g0(); return; } return; diff --git a/app/src/main/java/c/i/a/f/h/l/o6.java b/app/src/main/java/c/i/a/f/h/l/o6.java index 633585bf05..44fc9d354d 100644 --- a/app/src/main/java/c/i/a/f/h/l/o6.java +++ b/app/src/main/java/c/i/a/f/h/l/o6.java @@ -5,13 +5,13 @@ public final class o6 implements a6 { public final String b; /* renamed from: c reason: collision with root package name */ - public final Object[] f1191c; + public final Object[] f1157c; public final int d; public o6(c6 c6Var, String str, Object[] objArr) { this.a = c6Var; this.b = str; - this.f1191c = objArr; + this.f1157c = objArr; char charAt = str.charAt(0); if (charAt < 55296) { this.d = charAt; diff --git a/app/src/main/java/c/i/a/f/h/l/o7.java b/app/src/main/java/c/i/a/f/h/l/o7.java index 59195a7305..522b4fc119 100644 --- a/app/src/main/java/c/i/a/f/h/l/o7.java +++ b/app/src/main/java/c/i/a/f/h/l/o7.java @@ -1,13 +1,9 @@ package c.i.a.f.h.l; + +import c.d.b.a.a; /* compiled from: com.google.android.gms:play-services-measurement-base@@18.0.0 */ public final class o7 extends IllegalArgumentException { - /* JADX WARNING: Illegal instructions before constructor call */ public o7(int i, int i2) { - super(r0.toString()); - StringBuilder sb = new StringBuilder(54); - sb.append("Unpaired surrogate at index "); - sb.append(i); - sb.append(" of "); - sb.append(i2); + super(a.g(54, "Unpaired surrogate at index ", i, " of ", i2)); } } diff --git a/app/src/main/java/c/i/a/f/h/l/o8.java b/app/src/main/java/c/i/a/f/h/l/o8.java index 447b74d135..1d95e420b8 100644 --- a/app/src/main/java/c/i/a/f/h/l/o8.java +++ b/app/src/main/java/c/i/a/f/h/l/o8.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class o8 implements z2 { public static o8 i = new o8(); - public final z2 j = c.C0(new b3(new q8())); + public final z2 j = f.x1(new b3(new q8())); public static boolean b() { return ((r8) i.a()).a(); diff --git a/app/src/main/java/c/i/a/f/h/l/ob.java b/app/src/main/java/c/i/a/f/h/l/ob.java index ef832d5c18..84a84b85df 100644 --- a/app/src/main/java/c/i/a/f/h/l/ob.java +++ b/app/src/main/java/c/i/a/f/h/l/ob.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class ob implements z2 { public static ob i = new ob(); - public final z2 j = c.C0(new b3(new qb())); + public final z2 j = f.x1(new b3(new qb())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/p2.java b/app/src/main/java/c/i/a/f/h/l/p2.java index 7f32dac28e..174f762ecc 100644 --- a/app/src/main/java/c/i/a/f/h/l/p2.java +++ b/app/src/main/java/c/i/a/f/h/l/p2.java @@ -16,7 +16,7 @@ public final class p2 extends l2 { } if (obj instanceof String) { String str = (String) obj; - if (u1.f1206c.matcher(str).matches()) { + if (u1.f1170c.matcher(str).matches()) { return Boolean.TRUE; } if (u1.d.matcher(str).matches()) { @@ -25,7 +25,7 @@ public final class p2 extends l2 { } String c2 = c(); String valueOf = String.valueOf(obj); - Log.e("PhenotypeFlag", a.h(valueOf.length() + a.b(c2, 28), "Invalid boolean value for ", c2, ": ", valueOf)); + Log.e("PhenotypeFlag", a.k(valueOf.length() + a.b(c2, 28), "Invalid boolean value for ", c2, ": ", valueOf)); return null; } } diff --git a/app/src/main/java/c/i/a/f/h/l/p4.java b/app/src/main/java/c/i/a/f/h/l/p4.java index 6694ad7677..b896b0ad4d 100644 --- a/app/src/main/java/c/i/a/f/h/l/p4.java +++ b/app/src/main/java/c/i/a/f/h/l/p4.java @@ -3,16 +3,16 @@ package c.i.a.f.h.l; import c.i.a.f.h.l.p4; /* compiled from: com.google.android.gms:play-services-measurement-base@@18.0.0 */ public interface p4> extends Comparable { - b6 W(b6 b6Var, c6 c6Var); + b6 X(b6 b6Var, c6 c6Var); int a(); p7 b(); - f6 b0(f6 f6Var, f6 f6Var2); - w7 c(); + f6 c0(f6 f6Var, f6 f6Var2); + boolean d(); boolean e(); diff --git a/app/src/main/java/c/i/a/f/h/l/p8.java b/app/src/main/java/c/i/a/f/h/l/p8.java index 30578d8290..391cf99523 100644 --- a/app/src/main/java/c/i/a/f/h/l/p8.java +++ b/app/src/main/java/c/i/a/f/h/l/p8.java @@ -16,7 +16,7 @@ public final class p8 implements m8 { public static final l2 b; /* renamed from: c reason: collision with root package name */ - public static final l2 f1197c; + public static final l2 f1162c; public static final l2 d; public static final l2 e; public static final l2 f; @@ -31,32 +31,30 @@ public final class p8 implements m8 { public static final l2 o; public static final l2 p; public static final l2 q; + public static final l2 r; - /* renamed from: r reason: collision with root package name */ - public static final l2 f1198r; - public static final l2 s; + /* renamed from: s reason: collision with root package name */ + public static final l2 f1163s; public static final l2 t; public static final l2 u; public static final l2 v; - - /* renamed from: w reason: collision with root package name */ - public static final l2 f1199w; + public static final l2 w; /* renamed from: x reason: collision with root package name */ - public static final l2 f1200x; + public static final l2 f1164x; /* renamed from: y reason: collision with root package name */ - public static final l2 f1201y; + public static final l2 f1165y; /* renamed from: z reason: collision with root package name */ - public static final l2 f1202z; + public static final l2 f1166z; static { q2 q2Var = new q2(i2.a("com.google.android.gms.measurement")); a = q2Var.a("measurement.ad_id_cache_time", 10000); b = q2Var.a("measurement.config.cache_time", 86400000); q2Var.b("measurement.log_tag", "FA"); - f1197c = q2Var.b("measurement.config.url_authority", "app-measurement.com"); + f1162c = q2Var.b("measurement.config.url_authority", "app-measurement.com"); d = q2Var.b("measurement.config.url_scheme", Constants.SCHEME); e = q2Var.a("measurement.upload.debug_upload_interval", 1000); f = q2Var.a("measurement.lifetimevalue.max_currency_tracked", 4); @@ -73,15 +71,15 @@ public final class p8 implements m8 { q2Var.b("measurement.log_tag.service", "FA-SVC"); p = q2Var.a("measurement.upload.stale_data_deletion_interval", 86400000); q = q2Var.a("measurement.upload.backoff_period", 43200000); - f1198r = q2Var.a("measurement.upload.initial_upload_delay_time", 15000); - s = q2Var.a("measurement.upload.interval", 3600000); + r = q2Var.a("measurement.upload.initial_upload_delay_time", 15000); + f1163s = q2Var.a("measurement.upload.interval", 3600000); t = q2Var.a("measurement.upload.max_bundle_size", Permission.READ_MESSAGE_HISTORY); u = q2Var.a("measurement.upload.max_bundles", 100); v = q2Var.a("measurement.upload.max_conversions_per_day", 500); - f1199w = q2Var.a("measurement.upload.max_error_events_per_day", 1000); - f1200x = q2Var.a("measurement.upload.max_events_per_bundle", 1000); - f1201y = q2Var.a("measurement.upload.max_events_per_day", 100000); - f1202z = q2Var.a("measurement.upload.max_public_events_per_day", 50000); + w = q2Var.a("measurement.upload.max_error_events_per_day", 1000); + f1164x = q2Var.a("measurement.upload.max_events_per_bundle", 1000); + f1165y = q2Var.a("measurement.upload.max_events_per_day", 100000); + f1166z = q2Var.a("measurement.upload.max_public_events_per_day", 50000); A = q2Var.a("measurement.upload.max_queue_time", 2419200000L); B = q2Var.a("measurement.upload.max_realtime_events_per_day", 10); C = q2Var.a("measurement.upload.max_batch_size", Permission.READ_MESSAGE_HISTORY); @@ -118,7 +116,7 @@ public final class p8 implements m8 { @Override // c.i.a.f.h.l.m8 public final long F() { - return s.d().longValue(); + return f1163s.d().longValue(); } @Override // c.i.a.f.h.l.m8 @@ -143,7 +141,7 @@ public final class p8 implements m8 { @Override // c.i.a.f.h.l.m8 public final String c() { - return f1197c.d(); + return f1162c.d(); } @Override // c.i.a.f.h.l.m8 @@ -183,7 +181,7 @@ public final class p8 implements m8 { @Override // c.i.a.f.h.l.m8 public final long l() { - return f1201y.d().longValue(); + return f1165y.d().longValue(); } @Override // c.i.a.f.h.l.m8 @@ -198,7 +196,7 @@ public final class p8 implements m8 { @Override // c.i.a.f.h.l.m8 public final long o() { - return f1202z.d().longValue(); + return f1166z.d().longValue(); } @Override // c.i.a.f.h.l.m8 @@ -208,7 +206,7 @@ public final class p8 implements m8 { @Override // c.i.a.f.h.l.m8 public final long q() { - return f1198r.d().longValue(); + return r.d().longValue(); } @Override // c.i.a.f.h.l.m8 @@ -218,7 +216,7 @@ public final class p8 implements m8 { @Override // c.i.a.f.h.l.m8 public final long s() { - return f1199w.d().longValue(); + return w.d().longValue(); } @Override // c.i.a.f.h.l.m8 @@ -243,7 +241,7 @@ public final class p8 implements m8 { @Override // c.i.a.f.h.l.m8 public final long x() { - return f1200x.d().longValue(); + return f1164x.d().longValue(); } @Override // c.i.a.f.h.l.m8 diff --git a/app/src/main/java/c/i/a/f/h/l/pa.java b/app/src/main/java/c/i/a/f/h/l/pa.java index 895d49cd95..cf4de24286 100644 --- a/app/src/main/java/c/i/a/f/h/l/pa.java +++ b/app/src/main/java/c/i/a/f/h/l/pa.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class pa implements z2 { public static pa i = new pa(); - public final z2 j = c.C0(new b3(new ra())); + public final z2 j = f.x1(new b3(new ra())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/q5.java b/app/src/main/java/c/i/a/f/h/l/q5.java index 41e69e1f7c..5dc1788792 100644 --- a/app/src/main/java/c/i/a/f/h/l/q5.java +++ b/app/src/main/java/c/i/a/f/h/l/q5.java @@ -1,5 +1,6 @@ package c.i.a.f.h.l; +import c.d.b.a.a; import java.nio.charset.Charset; import java.util.AbstractList; import java.util.Arrays; @@ -160,13 +161,7 @@ public final class q5 extends o3 implements c5, l6, RandomAccess { } public final String i(int i) { - int i2 = this.l; - StringBuilder sb = new StringBuilder(35); - sb.append("Index:"); - sb.append(i); - sb.append(", Size:"); - sb.append(i2); - return sb.toString(); + return a.g(35, "Index:", i, ", Size:", this.l); } @Override // java.util.AbstractList, java.util.List diff --git a/app/src/main/java/c/i/a/f/h/l/qa.java b/app/src/main/java/c/i/a/f/h/l/qa.java index 8871bc012b..2512bc608d 100644 --- a/app/src/main/java/c/i/a/f/h/l/qa.java +++ b/app/src/main/java/c/i/a/f/h/l/qa.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class qa implements z2 { public static qa i = new qa(); - public final z2 j = c.C0(new b3(new sa())); + public final z2 j = f.x1(new b3(new sa())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/r3.java b/app/src/main/java/c/i/a/f/h/l/r3.java index edecba778e..685e3c05d2 100644 --- a/app/src/main/java/c/i/a/f/h/l/r3.java +++ b/app/src/main/java/c/i/a/f/h/l/r3.java @@ -1,5 +1,6 @@ package c.i.a.f.h.l; +import c.d.b.a.a; import java.nio.charset.Charset; import java.util.AbstractList; import java.util.Arrays; @@ -138,13 +139,7 @@ public final class r3 extends o3 implements b5, l6, RandomAcce } public final String g(int i) { - int i2 = this.k; - StringBuilder sb = new StringBuilder(35); - sb.append("Index:"); - sb.append(i); - sb.append(", Size:"); - sb.append(i2); - return sb.toString(); + return a.g(35, "Index:", i, ", Size:", this.k); } @Override // java.util.AbstractList, java.util.List diff --git a/app/src/main/java/c/i/a/f/h/l/r9.java b/app/src/main/java/c/i/a/f/h/l/r9.java index a9dcc0fab1..49fe184c61 100644 --- a/app/src/main/java/c/i/a/f/h/l/r9.java +++ b/app/src/main/java/c/i/a/f/h/l/r9.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class r9 implements z2 { public static r9 i = new r9(); - public final z2 j = c.C0(new b3(new t9())); + public final z2 j = f.x1(new b3(new t9())); public static boolean b() { return ((q9) i.a()).a(); diff --git a/app/src/main/java/c/i/a/f/h/l/s2.java b/app/src/main/java/c/i/a/f/h/l/s2.java index 73805ecb01..8e5e2eb720 100644 --- a/app/src/main/java/c/i/a/f/h/l/s2.java +++ b/app/src/main/java/c/i/a/f/h/l/s2.java @@ -13,7 +13,7 @@ public final class s2 implements b2 { public final SharedPreferences b; /* renamed from: c reason: collision with root package name */ - public final SharedPreferences.OnSharedPreferenceChangeListener f1203c; + public final SharedPreferences.OnSharedPreferenceChangeListener f1167c; public final Object d; public volatile Map e; @@ -40,7 +40,7 @@ public final class s2 implements b2 { public static synchronized void b() { synchronized (s2.class) { for (s2 s2Var : a.values()) { - s2Var.b.unregisterOnSharedPreferenceChangeListener(s2Var.f1203c); + s2Var.b.unregisterOnSharedPreferenceChangeListener(s2Var.f1167c); } a.clear(); } diff --git a/app/src/main/java/c/i/a/f/h/l/s3.java b/app/src/main/java/c/i/a/f/h/l/s3.java index 3553699f5d..3fe8b2e6e4 100644 --- a/app/src/main/java/c/i/a/f/h/l/s3.java +++ b/app/src/main/java/c/i/a/f/h/l/s3.java @@ -7,7 +7,7 @@ public final class s3 { public long b; /* renamed from: c reason: collision with root package name */ - public Object f1204c; + public Object f1168c; public final h4 d; public s3(h4 h4Var) { diff --git a/app/src/main/java/c/i/a/f/h/l/s6.java b/app/src/main/java/c/i/a/f/h/l/s6.java index b0c4ed6d74..21bea5a091 100644 --- a/app/src/main/java/c/i/a/f/h/l/s6.java +++ b/app/src/main/java/c/i/a/f/h/l/s6.java @@ -12,7 +12,7 @@ public final class s6 { public static final d7 b = e(false); /* renamed from: c reason: collision with root package name */ - public static final d7 f1205c = e(true); + public static final d7 f1169c = e(true); public static final d7 d = new f7(); static { @@ -396,8 +396,8 @@ public final class s6 { if (list instanceof j5) { j5 j5Var = (j5) list; while (i2 < size) { - Object z2 = j5Var.z(i2); - D = (z2 instanceof t3 ? zzhi.p((t3) z2) : zzhi.q((String) z2)) + D; + Object A = j5Var.A(i2); + D = (A instanceof t3 ? zzhi.p((t3) A) : zzhi.q((String) A)) + D; i2++; } } else { @@ -472,11 +472,11 @@ public final class s6 { if (list instanceof j5) { j5 j5Var = (j5) list; while (i2 < list.size()) { - Object z2 = j5Var.z(i2); - if (z2 instanceof String) { - g4Var.a.k(i, (String) z2); + Object A = j5Var.A(i2); + if (A instanceof String) { + g4Var.a.k(i, (String) A); } else { - g4Var.a.h(i, (t3) z2); + g4Var.a.h(i, (t3) A); } i2++; } diff --git a/app/src/main/java/c/i/a/f/h/l/s9.java b/app/src/main/java/c/i/a/f/h/l/s9.java index 120caa0baf..e43e510381 100644 --- a/app/src/main/java/c/i/a/f/h/l/s9.java +++ b/app/src/main/java/c/i/a/f/h/l/s9.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class s9 implements z2 { public static s9 i = new s9(); - public final z2 j = c.C0(new b3(new u9())); + public final z2 j = f.x1(new b3(new u9())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/t3.java b/app/src/main/java/c/i/a/f/h/l/t3.java index 50e6d5e831..1cd749b078 100644 --- a/app/src/main/java/c/i/a/f/h/l/t3.java +++ b/app/src/main/java/c/i/a/f/h/l/t3.java @@ -1,6 +1,7 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.d.b.a.a; +import c.i.a.f.e.o.f; import java.io.IOException; import java.io.Serializable; import java.nio.charset.Charset; @@ -29,19 +30,9 @@ public abstract class t3 implements Serializable, Iterable { sb.append(" < 0"); throw new IndexOutOfBoundsException(sb.toString()); } else if (i3 < i2) { - StringBuilder sb2 = new StringBuilder(66); - sb2.append("Beginning index larger than ending index: "); - sb2.append(i2); - sb2.append(", "); - sb2.append(i3); - throw new IndexOutOfBoundsException(sb2.toString()); + throw new IndexOutOfBoundsException(a.g(66, "Beginning index larger than ending index: ", i2, ", ", i3)); } else { - StringBuilder sb3 = new StringBuilder(37); - sb3.append("End index: "); - sb3.append(i3); - sb3.append(" >= "); - sb3.append(i4); - throw new IndexOutOfBoundsException(sb3.toString()); + throw new IndexOutOfBoundsException(a.g(37, "End index: ", i3, " >= ", i4)); } } @@ -95,7 +86,7 @@ public abstract class t3 implements Serializable, Iterable { Object[] objArr = new Object[3]; objArr[0] = Integer.toHexString(System.identityHashCode(this)); objArr[1] = Integer.valueOf(d()); - objArr[2] = d() <= 50 ? c.I0(this) : String.valueOf(c.I0(g(0, 47))).concat("..."); + objArr[2] = d() <= 50 ? f.D1(this) : String.valueOf(f.D1(g(0, 47))).concat("..."); return String.format(locale, "", objArr); } } diff --git a/app/src/main/java/c/i/a/f/h/l/t4.java b/app/src/main/java/c/i/a/f/h/l/t4.java index 9ed30c7988..08aa9fbb17 100644 --- a/app/src/main/java/c/i/a/f/h/l/t4.java +++ b/app/src/main/java/c/i/a/f/h/l/t4.java @@ -1,5 +1,6 @@ package c.i.a.f.h.l; +import c.d.b.a.a; import java.nio.charset.Charset; import java.util.AbstractList; import java.util.Arrays; @@ -138,13 +139,7 @@ public final class t4 extends o3 implements b5, l6, RandomAccess { } public final String g(int i) { - int i2 = this.k; - StringBuilder sb = new StringBuilder(35); - sb.append("Index:"); - sb.append(i); - sb.append(", Size:"); - sb.append(i2); - return sb.toString(); + return a.g(35, "Index:", i, ", Size:", this.k); } @Override // java.util.AbstractList, java.util.List diff --git a/app/src/main/java/c/i/a/f/h/l/t8.java b/app/src/main/java/c/i/a/f/h/l/t8.java index 93cb6e53b2..10fb424de9 100644 --- a/app/src/main/java/c/i/a/f/h/l/t8.java +++ b/app/src/main/java/c/i/a/f/h/l/t8.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class t8 implements z2 { public static t8 i = new t8(); - public final z2 j = c.C0(new b3(new v8())); + public final z2 j = f.x1(new b3(new v8())); public static boolean b() { return ((s8) i.a()).a(); diff --git a/app/src/main/java/c/i/a/f/h/l/tb.java b/app/src/main/java/c/i/a/f/h/l/tb.java index f8ced055d8..356d11a508 100644 --- a/app/src/main/java/c/i/a/f/h/l/tb.java +++ b/app/src/main/java/c/i/a/f/h/l/tb.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class tb implements z2 { public static tb i = new tb(); - public final z2 j = c.C0(new b3(new vb())); + public final z2 j = f.x1(new b3(new vb())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/u1.java b/app/src/main/java/c/i/a/f/h/l/u1.java index ab1d1c6aca..6e3bc98a30 100644 --- a/app/src/main/java/c/i/a/f/h/l/u1.java +++ b/app/src/main/java/c/i/a/f/h/l/u1.java @@ -10,7 +10,7 @@ public class u1 { public static final Uri b = Uri.parse("content://com.google.android.gsf.gservices/prefix"); /* renamed from: c reason: collision with root package name */ - public static final Pattern f1206c = Pattern.compile("^(1|true|t|on|yes|y)$", 2); + public static final Pattern f1170c = Pattern.compile("^(1|true|t|on|yes|y)$", 2); public static final Pattern d = Pattern.compile("^(0|false|f|off|no|n)$", 2); public static final AtomicBoolean e = new AtomicBoolean(); public static HashMap f; diff --git a/app/src/main/java/c/i/a/f/h/l/u4.java b/app/src/main/java/c/i/a/f/h/l/u4.java index 0575f345a0..e08114c3d0 100644 --- a/app/src/main/java/c/i/a/f/h/l/u4.java +++ b/app/src/main/java/c/i/a/f/h/l/u4.java @@ -103,7 +103,7 @@ public abstract class u4, Build /* compiled from: com.google.android.gms:play-services-measurement-base@@18.0.0 */ public static final class c implements p4 { @Override // c.i.a.f.h.l.p4 - public final b6 W(b6 b6Var, c6 c6Var) { + public final b6 X(b6 b6Var, c6 c6Var) { throw new NoSuchMethodError(); } @@ -118,12 +118,12 @@ public abstract class u4, Build } @Override // c.i.a.f.h.l.p4 - public final f6 b0(f6 f6Var, f6 f6Var2) { + public final w7 c() { throw new NoSuchMethodError(); } @Override // c.i.a.f.h.l.p4 - public final w7 c() { + public final f6 c0(f6 f6Var, f6 f6Var2) { throw new NoSuchMethodError(); } @@ -149,7 +149,7 @@ public abstract class u4, Build public final n4 u() { n4 n4Var = this.zzc; - if (n4Var.f1174c) { + if (n4Var.f1141c) { this.zzc = (n4) n4Var.clone(); } return this.zzc; @@ -270,7 +270,7 @@ public abstract class u4, Build @Override // c.i.a.f.h.l.c6 public final void i(zzhi zzhi) throws IOException { q6 b2 = n6.a.b(this); - g4 g4Var = zzhi.f2806c; + g4 g4Var = zzhi.f2387c; if (g4Var == null) { g4Var = new g4(zzhi); } @@ -318,7 +318,7 @@ public abstract class u4, Build StringBuilder sb = new StringBuilder(); sb.append("# "); sb.append(obj); - c.i.a.f.e.o.c.Q0(this, sb, 0); + c.i.a.f.e.o.f.L1(this, sb, 0); return sb.toString(); } } diff --git a/app/src/main/java/c/i/a/f/h/l/u8.java b/app/src/main/java/c/i/a/f/h/l/u8.java index 1356b1e9d4..0c286a4dc7 100644 --- a/app/src/main/java/c/i/a/f/h/l/u8.java +++ b/app/src/main/java/c/i/a/f/h/l/u8.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class u8 implements z2 { public static u8 i = new u8(); - public final z2 j = c.C0(new b3(new w8())); + public final z2 j = f.x1(new b3(new w8())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/ub.java b/app/src/main/java/c/i/a/f/h/l/ub.java index db91044b12..c8da6c7762 100644 --- a/app/src/main/java/c/i/a/f/h/l/ub.java +++ b/app/src/main/java/c/i/a/f/h/l/ub.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class ub implements z2 { public static ub i = new ub(); - public final z2 j = c.C0(new b3(new wb())); + public final z2 j = f.x1(new b3(new wb())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/v1.java b/app/src/main/java/c/i/a/f/h/l/v1.java index 9c1c0f56cb..890023b184 100644 --- a/app/src/main/java/c/i/a/f/h/l/v1.java +++ b/app/src/main/java/c/i/a/f/h/l/v1.java @@ -45,8 +45,8 @@ public final class v1 extends t2 { public final String toString() { String valueOf = String.valueOf(this.a); String valueOf2 = String.valueOf(this.b); - StringBuilder N = a.N(valueOf2.length() + valueOf.length() + 46, "FlagsContext{context=", valueOf, ", hermeticFileOverrides=", valueOf2); - N.append("}"); - return N.toString(); + StringBuilder Q = a.Q(valueOf2.length() + valueOf.length() + 46, "FlagsContext{context=", valueOf, ", hermeticFileOverrides=", valueOf2); + Q.append("}"); + return Q.toString(); } } diff --git a/app/src/main/java/c/i/a/f/h/l/v8.java b/app/src/main/java/c/i/a/f/h/l/v8.java index c8c31a5af3..73270da21a 100644 --- a/app/src/main/java/c/i/a/f/h/l/v8.java +++ b/app/src/main/java/c/i/a/f/h/l/v8.java @@ -5,14 +5,14 @@ public final class v8 implements s8 { public static final l2 b; /* renamed from: c reason: collision with root package name */ - public static final l2 f1207c; + public static final l2 f1171c; public static final l2 d; static { q2 q2Var = new q2(i2.a("com.google.android.gms.measurement")); a = q2Var.c("measurement.client.consent_state_v1", false); b = q2Var.c("measurement.client.3p_consent_state_v1", false); - f1207c = q2Var.c("measurement.service.consent_state_v1_W36", false); + f1171c = q2Var.c("measurement.service.consent_state_v1_W36", false); q2Var.a("measurement.id.service.consent_state_v1_W36", 0); d = q2Var.a("measurement.service.storage_consent_support_version", 203590); } @@ -34,7 +34,7 @@ public final class v8 implements s8 { @Override // c.i.a.f.h.l.s8 public final boolean d() { - return f1207c.d().booleanValue(); + return f1171c.d().booleanValue(); } @Override // c.i.a.f.h.l.s8 diff --git a/app/src/main/java/c/i/a/f/h/l/va.java b/app/src/main/java/c/i/a/f/h/l/va.java index 8174cfcae8..3512033afe 100644 --- a/app/src/main/java/c/i/a/f/h/l/va.java +++ b/app/src/main/java/c/i/a/f/h/l/va.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class va implements z2 { public static va i = new va(); - public final z2 j = c.C0(new b3(new xa())); + public final z2 j = f.x1(new b3(new xa())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/wa.java b/app/src/main/java/c/i/a/f/h/l/wa.java index 1a2c35a7e4..52557f5304 100644 --- a/app/src/main/java/c/i/a/f/h/l/wa.java +++ b/app/src/main/java/c/i/a/f/h/l/wa.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class wa implements z2 { public static wa i = new wa(); - public final z2 j = c.C0(new b3(new ya())); + public final z2 j = f.x1(new b3(new ya())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/x1.java b/app/src/main/java/c/i/a/f/h/l/x1.java index ffa939f6c4..5c8a73fcc2 100644 --- a/app/src/main/java/c/i/a/f/h/l/x1.java +++ b/app/src/main/java/c/i/a/f/h/l/x1.java @@ -16,7 +16,7 @@ public final /* synthetic */ class x1 implements d2 { @Override // c.i.a.f.h.l.d2 public final Object a() { y1 y1Var = this.a; - Cursor query = y1Var.f1209c.query(y1Var.d, y1.b, null, null, null); + Cursor query = y1Var.f1172c.query(y1Var.d, y1.b, null, null, null); if (query == null) { return Collections.emptyMap(); } diff --git a/app/src/main/java/c/i/a/f/h/l/x4.java b/app/src/main/java/c/i/a/f/h/l/x4.java index 6caa7edd23..8f9eb33dd9 100644 --- a/app/src/main/java/c/i/a/f/h/l/x4.java +++ b/app/src/main/java/c/i/a/f/h/l/x4.java @@ -1,5 +1,6 @@ package c.i.a.f.h.l; +import c.d.b.a.a; import java.nio.charset.Charset; import java.util.AbstractList; import java.util.Arrays; @@ -160,13 +161,7 @@ public final class x4 extends o3 implements z4, l6, RandomAccess { } public final String i(int i) { - int i2 = this.l; - StringBuilder sb = new StringBuilder(35); - sb.append("Index:"); - sb.append(i); - sb.append(", Size:"); - sb.append(i2); - return sb.toString(); + return a.g(35, "Index:", i, ", Size:", this.l); } @Override // java.util.AbstractList, java.util.List diff --git a/app/src/main/java/c/i/a/f/h/l/x7.java b/app/src/main/java/c/i/a/f/h/l/x7.java index 8db1be2154..01472b481e 100644 --- a/app/src/main/java/c/i/a/f/h/l/x7.java +++ b/app/src/main/java/c/i/a/f/h/l/x7.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class x7 implements z2 { public static x7 i = new x7(); - public final z2 j = c.C0(new b3(new y7())); + public final z2 j = f.x1(new b3(new y7())); public static boolean b() { return ((z7) i.a()).a(); diff --git a/app/src/main/java/c/i/a/f/h/l/x9.java b/app/src/main/java/c/i/a/f/h/l/x9.java index 5173e6a91f..9cc6e948ed 100644 --- a/app/src/main/java/c/i/a/f/h/l/x9.java +++ b/app/src/main/java/c/i/a/f/h/l/x9.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class x9 implements z2 { public static x9 i = new x9(); - public final z2 j = c.C0(new b3(new z9())); + public final z2 j = f.x1(new b3(new z9())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/y1.java b/app/src/main/java/c/i/a/f/h/l/y1.java index d7d2b5246e..ecc9d5c887 100644 --- a/app/src/main/java/c/i/a/f/h/l/y1.java +++ b/app/src/main/java/c/i/a/f/h/l/y1.java @@ -8,7 +8,7 @@ import android.os.StrictMode; import android.util.Log; import androidx.annotation.GuardedBy; import androidx.collection.ArrayMap; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import java.util.ArrayList; import java.util.Collections; import java.util.List; @@ -21,7 +21,7 @@ public final class y1 implements b2 { public static final String[] b = {"key", "value"}; /* renamed from: c reason: collision with root package name */ - public final ContentResolver f1209c; + public final ContentResolver f1172c; public final Uri d; public final ContentObserver e; public final Object f = new Object(); @@ -34,7 +34,7 @@ public final class y1 implements b2 { this.e = a2Var; Objects.requireNonNull(contentResolver); Objects.requireNonNull(uri); - this.f1209c = contentResolver; + this.f1172c = contentResolver; this.d = uri; contentResolver.registerContentObserver(uri, false, a2Var); } @@ -62,7 +62,7 @@ public final class y1 implements b2 { public static synchronized void c() { synchronized (y1.class) { for (y1 y1Var : a.values()) { - y1Var.f1209c.unregisterContentObserver(y1Var.e); + y1Var.f1172c.unregisterContentObserver(y1Var.e); } a.clear(); } @@ -78,7 +78,7 @@ public final class y1 implements b2 { if (map2 == null) { StrictMode.ThreadPolicy allowThreadDiskReads = StrictMode.allowThreadDiskReads(); try { - map = (Map) c.F0(new x1(this)); + map = (Map) f.A1(new x1(this)); StrictMode.setThreadPolicy(allowThreadDiskReads); } catch (SQLiteException | IllegalStateException | SecurityException unused) { Log.e("ConfigurationContentLoader", "PhenotypeFlag unable to load ContentProvider, using default values"); diff --git a/app/src/main/java/c/i/a/f/h/l/y2.java b/app/src/main/java/c/i/a/f/h/l/y2.java index 4a8993b489..174661d29a 100644 --- a/app/src/main/java/c/i/a/f/h/l/y2.java +++ b/app/src/main/java/c/i/a/f/h/l/y2.java @@ -36,6 +36,6 @@ public final class y2 extends x2 { @Override // java.lang.Object public final String toString() { String valueOf = String.valueOf(this.zza); - return a.g(valueOf.length() + 13, "Optional.of(", valueOf, ")"); + return a.j(valueOf.length() + 13, "Optional.of(", valueOf, ")"); } } diff --git a/app/src/main/java/c/i/a/f/h/l/y3.java b/app/src/main/java/c/i/a/f/h/l/y3.java index a64fa083b1..96f6154386 100644 --- a/app/src/main/java/c/i/a/f/h/l/y3.java +++ b/app/src/main/java/c/i/a/f/h/l/y3.java @@ -22,12 +22,7 @@ public final class y3 extends z3 { if (i < 0) { throw new ArrayIndexOutOfBoundsException(a.f(22, "Index < 0: ", i)); } - StringBuilder sb = new StringBuilder(40); - sb.append("Index > length: "); - sb.append(i); - sb.append(", "); - sb.append(i2); - throw new ArrayIndexOutOfBoundsException(sb.toString()); + throw new ArrayIndexOutOfBoundsException(a.g(40, "Index > length: ", i, ", ", i2)); } @Override // c.i.a.f.h.l.z3, c.i.a.f.h.l.t3 diff --git a/app/src/main/java/c/i/a/f/h/l/y6.java b/app/src/main/java/c/i/a/f/h/l/y6.java index a9e4125ffe..de390435b3 100644 --- a/app/src/main/java/c/i/a/f/h/l/y6.java +++ b/app/src/main/java/c/i/a/f/h/l/y6.java @@ -85,6 +85,6 @@ public final class y6 implements Comparable, Map.Entry { public final String toString() { String valueOf = String.valueOf(this.i); String valueOf2 = String.valueOf(this.j); - return a.g(valueOf2.length() + valueOf.length() + 1, valueOf, "=", valueOf2); + return a.j(valueOf2.length() + valueOf.length() + 1, valueOf, "=", valueOf2); } } diff --git a/app/src/main/java/c/i/a/f/h/l/y7.java b/app/src/main/java/c/i/a/f/h/l/y7.java index ac4422ed05..97956b7525 100644 --- a/app/src/main/java/c/i/a/f/h/l/y7.java +++ b/app/src/main/java/c/i/a/f/h/l/y7.java @@ -5,13 +5,13 @@ public final class y7 implements z7 { public static final l2 b; /* renamed from: c reason: collision with root package name */ - public static final l2 f1210c; + public static final l2 f1173c; static { q2 q2Var = new q2(i2.a("com.google.android.gms.measurement")); a = q2Var.c("measurement.client.ad_impression", true); b = q2Var.c("measurement.service.separate_public_internal_event_blacklisting", true); - f1210c = q2Var.c("measurement.service.ad_impression", true); + f1173c = q2Var.c("measurement.service.ad_impression", true); q2Var.a("measurement.id.service.ad_impression", 0); } @@ -32,6 +32,6 @@ public final class y7 implements z7 { @Override // c.i.a.f.h.l.z7 public final boolean d() { - return f1210c.d().booleanValue(); + return f1173c.d().booleanValue(); } } diff --git a/app/src/main/java/c/i/a/f/h/l/y9.java b/app/src/main/java/c/i/a/f/h/l/y9.java index 1f0ae028ce..4b14a24df9 100644 --- a/app/src/main/java/c/i/a/f/h/l/y9.java +++ b/app/src/main/java/c/i/a/f/h/l/y9.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class y9 implements z2 { public static y9 i = new y9(); - public final z2 j = c.C0(new b3(new aa())); + public final z2 j = f.x1(new b3(new aa())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/ya.java b/app/src/main/java/c/i/a/f/h/l/ya.java index 5fdf583872..b7aeaada76 100644 --- a/app/src/main/java/c/i/a/f/h/l/ya.java +++ b/app/src/main/java/c/i/a/f/h/l/ya.java @@ -5,7 +5,7 @@ public final class ya implements za { public static final l2 b; /* renamed from: c reason: collision with root package name */ - public static final l2 f1211c; + public static final l2 f1174c; public static final l2 d; public static final l2 e; @@ -14,7 +14,7 @@ public final class ya implements za { a = q2Var.c("measurement.test.boolean_flag", false); Object obj = l2.a; b = new o2(q2Var, "measurement.test.double_flag", Double.valueOf(-3.0d)); - f1211c = q2Var.a("measurement.test.int_flag", -2); + f1174c = q2Var.a("measurement.test.int_flag", -2); d = q2Var.a("measurement.test.long_flag", -1); e = q2Var.b("measurement.test.string_flag", "---"); } @@ -31,7 +31,7 @@ public final class ya implements za { @Override // c.i.a.f.h.l.za public final long c() { - return f1211c.d().longValue(); + return f1174c.d().longValue(); } @Override // c.i.a.f.h.l.za diff --git a/app/src/main/java/c/i/a/f/h/l/z3.java b/app/src/main/java/c/i/a/f/h/l/z3.java index 7cc3383c94..9c00bc8260 100644 --- a/app/src/main/java/c/i/a/f/h/l/z3.java +++ b/app/src/main/java/c/i/a/f/h/l/z3.java @@ -1,5 +1,6 @@ package c.i.a.f.h.l; +import c.d.b.a.a; import com.google.android.gms.internal.measurement.zzhi; import java.io.IOException; import java.nio.charset.Charset; @@ -77,13 +78,7 @@ public class z3 extends b4 { } return true; } else { - int d3 = z3Var.d(); - StringBuilder sb2 = new StringBuilder(59); - sb2.append("Ran off end of other: 0, "); - sb2.append(d); - sb2.append(", "); - sb2.append(d3); - throw new IllegalArgumentException(sb2.toString()); + throw new IllegalArgumentException(a.g(59, "Ran off end of other: 0, ", d, ", ", z3Var.d())); } } diff --git a/app/src/main/java/c/i/a/f/h/l/z8.java b/app/src/main/java/c/i/a/f/h/l/z8.java index e99ef527f0..b63fb59bc8 100644 --- a/app/src/main/java/c/i/a/f/h/l/z8.java +++ b/app/src/main/java/c/i/a/f/h/l/z8.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class z8 implements z2 { public static z8 i = new z8(); - public final z2 j = c.C0(new b3(new b9())); + public final z2 j = f.x1(new b3(new b9())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/l/zb.java b/app/src/main/java/c/i/a/f/h/l/zb.java index eb34e11474..5b2b85f995 100644 --- a/app/src/main/java/c/i/a/f/h/l/zb.java +++ b/app/src/main/java/c/i/a/f/h/l/zb.java @@ -1,10 +1,10 @@ package c.i.a.f.h.l; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class zb implements z2 { public static zb i = new zb(); - public final z2 j = c.C0(new b3(new ac())); + public final z2 j = f.x1(new b3(new ac())); /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.i.a.f.h.l.z2 diff --git a/app/src/main/java/c/i/a/f/h/m/d.java b/app/src/main/java/c/i/a/f/h/m/d.java index c150437fbf..6e721aa149 100644 --- a/app/src/main/java/c/i/a/f/h/m/d.java +++ b/app/src/main/java/c/i/a/f/h/m/d.java @@ -8,7 +8,7 @@ public final class d implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzgp createFromParcel(Parcel parcel) { - int l2 = c.c.a.a0.d.l2(parcel); + int k2 = c.c.a.a0.d.k2(parcel); ParcelUuid parcelUuid = null; ParcelUuid parcelUuid2 = null; ParcelUuid parcelUuid3 = null; @@ -18,44 +18,44 @@ public final class d implements Parcelable.Creator { byte[] bArr4 = null; int i = 0; int i2 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i3 = 65535 & readInt; if (i3 != 1) { switch (i3) { case 4: - parcelUuid = (ParcelUuid) c.c.a.a0.d.S(parcel, readInt, ParcelUuid.CREATOR); + parcelUuid = (ParcelUuid) c.c.a.a0.d.P(parcel, readInt, ParcelUuid.CREATOR); continue; case 5: - parcelUuid2 = (ParcelUuid) c.c.a.a0.d.S(parcel, readInt, ParcelUuid.CREATOR); + parcelUuid2 = (ParcelUuid) c.c.a.a0.d.P(parcel, readInt, ParcelUuid.CREATOR); continue; case 6: - parcelUuid3 = (ParcelUuid) c.c.a.a0.d.S(parcel, readInt, ParcelUuid.CREATOR); + parcelUuid3 = (ParcelUuid) c.c.a.a0.d.P(parcel, readInt, ParcelUuid.CREATOR); continue; case 7: - bArr = c.c.a.a0.d.Q(parcel, readInt); + bArr = c.c.a.a0.d.N(parcel, readInt); continue; case 8: - bArr2 = c.c.a.a0.d.Q(parcel, readInt); + bArr2 = c.c.a.a0.d.N(parcel, readInt); continue; case 9: - i2 = c.c.a.a0.d.G1(parcel, readInt); + i2 = c.c.a.a0.d.E1(parcel, readInt); continue; case 10: - bArr3 = c.c.a.a0.d.Q(parcel, readInt); + bArr3 = c.c.a.a0.d.N(parcel, readInt); continue; case 11: - bArr4 = c.c.a.a0.d.Q(parcel, readInt); + bArr4 = c.c.a.a0.d.N(parcel, readInt); continue; default: - c.c.a.a0.d.c2(parcel, readInt); + c.c.a.a0.d.b2(parcel, readInt); continue; } } else { - i = c.c.a.a0.d.G1(parcel, readInt); + i = c.c.a.a0.d.E1(parcel, readInt); } } - c.c.a.a0.d.h0(parcel, l2); + c.c.a.a0.d.e0(parcel, k2); return new zzgp(i, parcelUuid, parcelUuid2, parcelUuid3, bArr, bArr2, i2, bArr3, bArr4); } diff --git a/app/src/main/java/c/i/a/f/h/m/e.java b/app/src/main/java/c/i/a/f/h/m/e.java index 55c8aa74db..6c82257e5b 100644 --- a/app/src/main/java/c/i/a/f/h/m/e.java +++ b/app/src/main/java/c/i/a/f/h/m/e.java @@ -4,6 +4,7 @@ import android.os.ParcelUuid; import android.util.SparseArray; import androidx.annotation.Nullable; import c.d.b.a.a; +import c.i.a.f.e.o.d; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.util.Arrays; @@ -16,7 +17,7 @@ public final class e { @Nullable /* renamed from: c reason: collision with root package name */ - public final List f1212c; + public final List f1175c; @Nullable public final SparseArray d; @Nullable @@ -27,7 +28,7 @@ public final class e { public final byte[] h; public e(@Nullable List list, @Nullable SparseArray sparseArray, @Nullable Map map, int i, int i2, @Nullable String str, byte[] bArr) { - this.f1212c = list; + this.f1175c = list; this.d = sparseArray; this.e = map; this.g = str; @@ -87,7 +88,7 @@ public final class e { public final String toString() { String str; int i = this.b; - String valueOf = String.valueOf(this.f1212c); + String valueOf = String.valueOf(this.f1175c); SparseArray sparseArray = this.d; StringBuilder sb = new StringBuilder(); String str2 = "{}"; @@ -103,7 +104,7 @@ public final class e { byte[] valueAt = sparseArray.valueAt(i2); sb.append(keyAt); sb.append('='); - sb.append(valueAt == null ? null : c.i.a.f.e.o.e.a(valueAt, false)); + sb.append(valueAt == null ? null : d.a(valueAt, false)); } sb.append('}'); str = sb.toString(); @@ -120,7 +121,7 @@ public final class e { sb2.append(entry.getKey()); sb2.append('='); byte[] value = entry.getValue(); - sb2.append(value == null ? null : c.i.a.f.e.o.e.a(value, false)); + sb2.append(value == null ? null : d.a(value, false)); i3++; } sb2.append('}'); @@ -133,7 +134,7 @@ public final class e { sb3.append(i); sb3.append(", mServiceUuids="); sb3.append(valueOf); - a.n0(sb3, ", mManufacturerSpecificData=", str, ", mServiceData=", str2); + a.o0(sb3, ", mManufacturerSpecificData=", str, ", mServiceData=", str2); sb3.append(", mTxPowerLevel="); sb3.append(i4); sb3.append(", mDeviceName="); diff --git a/app/src/main/java/c/i/a/f/h/m/f.java b/app/src/main/java/c/i/a/f/h/m/f.java index 3351fd4c86..e37c33e1e1 100644 --- a/app/src/main/java/c/i/a/f/h/m/f.java +++ b/app/src/main/java/c/i/a/f/h/m/f.java @@ -8,24 +8,24 @@ public final class f implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzgs createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; String str2 = null; int i = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 3) { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } else if (i2 == 6) { - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); } else if (i2 != 1000) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzgs(i, str, str2); } diff --git a/app/src/main/java/c/i/a/f/h/m/g.java b/app/src/main/java/c/i/a/f/h/m/g.java index 905cdbb28a..4dd1ba33a4 100644 --- a/app/src/main/java/c/i/a/f/h/m/g.java +++ b/app/src/main/java/c/i/a/f/h/m/g.java @@ -8,27 +8,27 @@ public final class g implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzgu createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; byte[] bArr = null; int i2 = 0; boolean z2 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i3 = 65535 & readInt; if (i3 == 1) { - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); } else if (i3 == 2) { - bArr = d.Q(parcel, readInt); + bArr = d.N(parcel, readInt); } else if (i3 == 3) { - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); } else if (i3 != 1000) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzgu(i, i2, bArr, z2); } diff --git a/app/src/main/java/c/i/a/f/h/m/i.java b/app/src/main/java/c/i/a/f/h/m/i.java index e1aed75bd4..a8d55465ee 100644 --- a/app/src/main/java/c/i/a/f/h/m/i.java +++ b/app/src/main/java/c/i/a/f/h/m/i.java @@ -14,16 +14,16 @@ public final class i extends l { public final void a(Object obj) { MessageListener messageListener = (MessageListener) obj; for (Update update : this.a) { - if (update.v0(1)) { + if (update.w0(1)) { messageListener.onFound(update.k); } - if (update.v0(2)) { + if (update.w0(2)) { messageListener.onLost(update.k); } - if (update.v0(4)) { + if (update.w0(4)) { messageListener.onDistanceChanged(update.k, update.l); } - if (update.v0(8)) { + if (update.w0(8)) { messageListener.onBleSignalChanged(update.k, update.m); } } diff --git a/app/src/main/java/c/i/a/f/h/m/k.java b/app/src/main/java/c/i/a/f/h/m/k.java index 0803e4ce59..2aae3d0090 100644 --- a/app/src/main/java/c/i/a/f/h/m/k.java +++ b/app/src/main/java/c/i/a/f/h/m/k.java @@ -12,7 +12,7 @@ public final class k extends l> { @Override // c.i.a.f.e.h.j.k.b public final /* synthetic */ void a(Object obj) { e eVar = (e) obj; - if (this.a.v0()) { + if (this.a.w0()) { eVar.b(this.a); } else { eVar.a(this.a); diff --git a/app/src/main/java/c/i/a/f/h/m/p.java b/app/src/main/java/c/i/a/f/h/m/p.java index e31f9c2670..598564b85e 100644 --- a/app/src/main/java/c/i/a/f/h/m/p.java +++ b/app/src/main/java/c/i/a/f/h/m/p.java @@ -10,7 +10,7 @@ public class p { public static final Uri b = Uri.parse("content://com.google.android.gsf.gservices/prefix"); /* renamed from: c reason: collision with root package name */ - public static final Pattern f1213c = Pattern.compile("^(1|true|t|on|yes|y)$", 2); + public static final Pattern f1176c = Pattern.compile("^(1|true|t|on|yes|y)$", 2); public static final Pattern d = Pattern.compile("^(0|false|f|off|no|n)$", 2); public static final AtomicBoolean e = new AtomicBoolean(); public static HashMap f; diff --git a/app/src/main/java/c/i/a/f/h/n/a.java b/app/src/main/java/c/i/a/f/h/n/a.java index 58b59f6ae0..95061e2c2b 100644 --- a/app/src/main/java/c/i/a/f/h/n/a.java +++ b/app/src/main/java/c/i/a/f/h/n/a.java @@ -5,80 +5,34 @@ import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import androidx.annotation.Nullable; -import c.d.a.a.s; +import c.d.a.a.o; import com.android.billingclient.api.BillingResult; import com.android.billingclient.api.Purchase; import java.util.ArrayList; import org.json.JSONException; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ +/* compiled from: com.android.billingclient:billing@@4.0.0 */ public final class a { public static final int a = Runtime.getRuntime().availableProcessors(); - public static void a(String str, String str2) { - if (Log.isLoggable(str, 2)) { - Log.v(str, str2); - } - } - - public static void b(String str, String str2) { - if (Log.isLoggable(str, 5)) { - Log.w(str, str2); - } - } - - public static BillingResult c(Intent intent, String str) { - if (intent == null) { - b("BillingHelper", "Got null intent!"); - BillingResult billingResult = new BillingResult(); - billingResult.a = 6; - billingResult.b = "An internal error occurred."; - return billingResult; - } - int d = d(intent.getExtras(), str); - String e = e(intent.getExtras(), str); - BillingResult billingResult2 = new BillingResult(); - billingResult2.a = d; - billingResult2.b = e; - return billingResult2; - } - - public static int d(Bundle bundle, String str) { + public static int a(Bundle bundle, String str) { if (bundle == null) { - b(str, "Unexpected null bundle received!"); + f(str, "Unexpected null bundle received!"); return 6; } Object obj = bundle.get("RESPONSE_CODE"); if (obj == null) { - a(str, "getResponseCodeFromBundle() got null response code, assuming OK"); + e(str, "getResponseCodeFromBundle() got null response code, assuming OK"); return 0; } else if (obj instanceof Integer) { return ((Integer) obj).intValue(); } else { String name = obj.getClass().getName(); - b(str, name.length() != 0 ? "Unexpected type for bundle response code: ".concat(name) : new String("Unexpected type for bundle response code: ")); + f(str, name.length() != 0 ? "Unexpected type for bundle response code: ".concat(name) : new String("Unexpected type for bundle response code: ")); return 6; } } - public static String e(Bundle bundle, String str) { - if (bundle == null) { - b(str, "Unexpected null bundle received!"); - return ""; - } - Object obj = bundle.get("DEBUG_MESSAGE"); - if (obj == null) { - a(str, "getDebugMessageFromBundle() got null response code, assuming OK"); - return ""; - } else if (obj instanceof String) { - return (String) obj; - } else { - String name = obj.getClass().getName(); - b(str, name.length() != 0 ? "Unexpected type for debug message: ".concat(name) : new String("Unexpected type for debug message: ")); - return ""; - } - } - - public static Bundle f(int i, boolean z2, String str, @Nullable String str2, ArrayList arrayList) { + public static Bundle b(int i, boolean z2, String str, @Nullable String str2, ArrayList arrayList) { Bundle bundle = new Bundle(); if (i >= 9) { bundle.putString("playBillingLibraryVersion", str); @@ -102,9 +56,55 @@ public final class a { return bundle; } + public static BillingResult c(Intent intent, String str) { + if (intent == null) { + f("BillingHelper", "Got null intent!"); + BillingResult billingResult = new BillingResult(); + billingResult.a = 6; + billingResult.b = "An internal error occurred."; + return billingResult; + } + int a2 = a(intent.getExtras(), str); + String d = d(intent.getExtras(), str); + BillingResult billingResult2 = new BillingResult(); + billingResult2.a = a2; + billingResult2.b = d; + return billingResult2; + } + + public static String d(Bundle bundle, String str) { + if (bundle == null) { + f(str, "Unexpected null bundle received!"); + return ""; + } + Object obj = bundle.get("DEBUG_MESSAGE"); + if (obj == null) { + e(str, "getDebugMessageFromBundle() got null response code, assuming OK"); + return ""; + } else if (obj instanceof String) { + return (String) obj; + } else { + String name = obj.getClass().getName(); + f(str, name.length() != 0 ? "Unexpected type for debug message: ".concat(name) : new String("Unexpected type for debug message: ")); + return ""; + } + } + + public static void e(String str, String str2) { + if (Log.isLoggable(str, 2)) { + Log.v(str, str2); + } + } + + public static void f(String str, String str2) { + if (Log.isLoggable(str, 5)) { + Log.w(str, str2); + } + } + public static Purchase g(String str, String str2) { if (str == null || str2 == null) { - b("BillingHelper", "Received a bad purchase data."); + f("BillingHelper", "Received a bad purchase data."); return null; } try { @@ -114,7 +114,7 @@ public final class a { StringBuilder sb = new StringBuilder(valueOf.length() + 47); sb.append("Got JSONException while parsing purchase data: "); sb.append(valueOf); - b("BillingHelper", sb.toString()); + f("BillingHelper", sb.toString()); return null; } } diff --git a/app/src/main/java/c/i/a/f/h/n/b.java b/app/src/main/java/c/i/a/f/h/n/b.java index 10a33e80c9..05a269a9ba 100644 --- a/app/src/main/java/c/i/a/f/h/n/b.java +++ b/app/src/main/java/c/i/a/f/h/n/b.java @@ -4,73 +4,51 @@ import android.os.Bundle; import android.os.IBinder; import android.os.Parcel; import android.os.RemoteException; -import java.util.List; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ +/* compiled from: com.android.billingclient:billing@@4.0.0 */ public final class b extends e implements d { public b(IBinder iBinder) { super(iBinder); } @Override // c.i.a.f.h.n.d - public final Bundle K(int i, String str, String str2, Bundle bundle, Bundle bundle2) throws RemoteException { - Parcel e = e(); - e.writeInt(10); - e.writeString(str); - e.writeString(str2); - int i2 = g.a; - e.writeInt(1); - bundle.writeToParcel(e, 0); - e.writeInt(1); - bundle2.writeToParcel(e, 0); - Parcel g = g(901, e); - Bundle bundle3 = (Bundle) g.a(g, Bundle.CREATOR); - g.recycle(); - return bundle3; - } - - @Override // c.i.a.f.h.n.d - public final Bundle Q(int i, String str, String str2, String str3, Bundle bundle) throws RemoteException { - Parcel e = e(); - e.writeInt(9); - e.writeString(str); - e.writeString(str2); - e.writeString(str3); - int i2 = g.a; - e.writeInt(1); - bundle.writeToParcel(e, 0); - Parcel g = g(11, e); - Bundle bundle2 = (Bundle) g.a(g, Bundle.CREATOR); - g.recycle(); - return bundle2; - } - - @Override // c.i.a.f.h.n.d - public final int Y(int i, String str, String str2) throws RemoteException { + public final Bundle F(int i, String str, String str2, String str3) throws RemoteException { Parcel e = e(); e.writeInt(3); e.writeString(str); e.writeString(str2); - Parcel g = g(5, e); - int readInt = g.readInt(); - g.recycle(); - return readInt; - } - - @Override // c.i.a.f.h.n.d - public final Bundle c0(int i, String str, List list, String str2, String str3, String str4) throws RemoteException { - Parcel e = e(); - e.writeInt(5); - e.writeString(str); - e.writeStringList(list); - e.writeString(str2); - e.writeString("subs"); - e.writeString(null); - Parcel g = g(7, e); + e.writeString(str3); + Parcel g = g(4, e); Bundle bundle = (Bundle) g.a(g, Bundle.CREATOR); g.recycle(); return bundle; } + @Override // c.i.a.f.h.n.d + public final Bundle G(int i, String str, String str2, String str3, String str4) throws RemoteException { + Parcel e = e(); + e.writeInt(3); + e.writeString(str); + e.writeString(str2); + e.writeString(str3); + e.writeString(null); + Parcel g = g(3, e); + Bundle bundle = (Bundle) g.a(g, Bundle.CREATOR); + g.recycle(); + return bundle; + } + + @Override // c.i.a.f.h.n.d + public final int N(int i, String str, String str2) throws RemoteException { + Parcel e = e(); + e.writeInt(i); + e.writeString(str); + e.writeString(str2); + Parcel g = g(1, e); + int readInt = g.readInt(); + g.recycle(); + return readInt; + } + @Override // c.i.a.f.h.n.d public final Bundle e0(int i, String str, String str2, String str3, String str4, Bundle bundle) throws RemoteException { Parcel e = e(); @@ -89,7 +67,7 @@ public final class b extends e implements d { } @Override // c.i.a.f.h.n.d - public final Bundle k0(int i, String str, String str2, Bundle bundle) throws RemoteException { + public final Bundle g0(int i, String str, String str2, Bundle bundle) throws RemoteException { Parcel e = e(); e.writeInt(3); e.writeString(str); @@ -104,19 +82,36 @@ public final class b extends e implements d { } @Override // c.i.a.f.h.n.d - public final int o(int i, String str, String str2) throws RemoteException { + public final Bundle n(int i, String str, String str2, Bundle bundle, Bundle bundle2) throws RemoteException { Parcel e = e(); - e.writeInt(i); + e.writeInt(10); e.writeString(str); e.writeString(str2); - Parcel g = g(1, e); + int i2 = g.a; + e.writeInt(1); + bundle.writeToParcel(e, 0); + e.writeInt(1); + bundle2.writeToParcel(e, 0); + Parcel g = g(901, e); + Bundle bundle3 = (Bundle) g.a(g, Bundle.CREATOR); + g.recycle(); + return bundle3; + } + + @Override // c.i.a.f.h.n.d + public final int p(int i, String str, String str2) throws RemoteException { + Parcel e = e(); + e.writeInt(3); + e.writeString(str); + e.writeString(str2); + Parcel g = g(5, e); int readInt = g.readInt(); g.recycle(); return readInt; } @Override // c.i.a.f.h.n.d - public final Bundle o0(int i, String str, String str2, Bundle bundle) throws RemoteException { + public final Bundle q(int i, String str, String str2, Bundle bundle) throws RemoteException { Parcel e = e(); e.writeInt(9); e.writeString(str); @@ -131,29 +126,18 @@ public final class b extends e implements d { } @Override // c.i.a.f.h.n.d - public final Bundle p(int i, String str, String str2, String str3, String str4) throws RemoteException { + public final Bundle s0(int i, String str, String str2, String str3, Bundle bundle) throws RemoteException { Parcel e = e(); - e.writeInt(3); + e.writeInt(9); e.writeString(str); e.writeString(str2); e.writeString(str3); - e.writeString(null); - Parcel g = g(3, e); - Bundle bundle = (Bundle) g.a(g, Bundle.CREATOR); + int i2 = g.a; + e.writeInt(1); + bundle.writeToParcel(e, 0); + Parcel g = g(11, e); + Bundle bundle2 = (Bundle) g.a(g, Bundle.CREATOR); g.recycle(); - return bundle; - } - - @Override // c.i.a.f.h.n.d - public final Bundle p0(int i, String str, String str2, String str3) throws RemoteException { - Parcel e = e(); - e.writeInt(3); - e.writeString(str); - e.writeString(str2); - e.writeString(str3); - Parcel g = g(4, e); - Bundle bundle = (Bundle) g.a(g, Bundle.CREATOR); - g.recycle(); - return bundle; + return bundle2; } } diff --git a/app/src/main/java/c/i/a/f/h/n/c.java b/app/src/main/java/c/i/a/f/h/n/c.java index 257a6bafc1..c1ea150f36 100644 --- a/app/src/main/java/c/i/a/f/h/n/c.java +++ b/app/src/main/java/c/i/a/f/h/n/c.java @@ -1,5 +1,5 @@ package c.i.a.f.h.n; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ +/* compiled from: com.android.billingclient:billing@@4.0.0 */ public abstract class c extends f implements d { public static final /* synthetic */ int a = 0; } diff --git a/app/src/main/java/c/i/a/f/h/n/d.java b/app/src/main/java/c/i/a/f/h/n/d.java index 9f0577b9ef..2d95f9047b 100644 --- a/app/src/main/java/c/i/a/f/h/n/d.java +++ b/app/src/main/java/c/i/a/f/h/n/d.java @@ -3,26 +3,23 @@ package c.i.a.f.h.n; import android.os.Bundle; import android.os.IInterface; import android.os.RemoteException; -import java.util.List; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ +/* compiled from: com.android.billingclient:billing@@4.0.0 */ public interface d extends IInterface { - Bundle K(int i, String str, String str2, Bundle bundle, Bundle bundle2) throws RemoteException; + Bundle F(int i, String str, String str2, String str3) throws RemoteException; - Bundle Q(int i, String str, String str2, String str3, Bundle bundle) throws RemoteException; + Bundle G(int i, String str, String str2, String str3, String str4) throws RemoteException; - int Y(int i, String str, String str2) throws RemoteException; - - Bundle c0(int i, String str, List list, String str2, String str3, String str4) throws RemoteException; + int N(int i, String str, String str2) throws RemoteException; Bundle e0(int i, String str, String str2, String str3, String str4, Bundle bundle) throws RemoteException; - Bundle k0(int i, String str, String str2, Bundle bundle) throws RemoteException; + Bundle g0(int i, String str, String str2, Bundle bundle) throws RemoteException; - int o(int i, String str, String str2) throws RemoteException; + Bundle n(int i, String str, String str2, Bundle bundle, Bundle bundle2) throws RemoteException; - Bundle o0(int i, String str, String str2, Bundle bundle) throws RemoteException; + int p(int i, String str, String str2) throws RemoteException; - Bundle p(int i, String str, String str2, String str3, String str4) throws RemoteException; + Bundle q(int i, String str, String str2, Bundle bundle) throws RemoteException; - Bundle p0(int i, String str, String str2, String str3) throws RemoteException; + Bundle s0(int i, String str, String str2, String str3, Bundle bundle) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/h/n/e.java b/app/src/main/java/c/i/a/f/h/n/e.java index d9b24ab505..9177f24380 100644 --- a/app/src/main/java/c/i/a/f/h/n/e.java +++ b/app/src/main/java/c/i/a/f/h/n/e.java @@ -4,7 +4,7 @@ import android.os.IBinder; import android.os.IInterface; import android.os.Parcel; import android.os.RemoteException; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ +/* compiled from: com.android.billingclient:billing@@4.0.0 */ public class e implements IInterface { public final IBinder a; diff --git a/app/src/main/java/c/i/a/f/h/n/f.java b/app/src/main/java/c/i/a/f/h/n/f.java index 38676310ca..5dd120c582 100644 --- a/app/src/main/java/c/i/a/f/h/n/f.java +++ b/app/src/main/java/c/i/a/f/h/n/f.java @@ -2,6 +2,6 @@ package c.i.a.f.h.n; import android.os.Binder; import android.os.IInterface; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ +/* compiled from: com.android.billingclient:billing@@4.0.0 */ public class f extends Binder implements IInterface { } diff --git a/app/src/main/java/c/i/a/f/h/n/g.java b/app/src/main/java/c/i/a/f/h/n/g.java index e632b5dee2..0eb3ee6926 100644 --- a/app/src/main/java/c/i/a/f/h/n/g.java +++ b/app/src/main/java/c/i/a/f/h/n/g.java @@ -2,7 +2,7 @@ package c.i.a.f.h.n; import android.os.Parcel; import android.os.Parcelable; -/* compiled from: com.android.billingclient:billing@@3.0.3 */ +/* compiled from: com.android.billingclient:billing@@4.0.0 */ public final class g { public static final /* synthetic */ int a = 0; diff --git a/app/src/main/java/c/i/a/f/h/o/d.java b/app/src/main/java/c/i/a/f/h/o/d.java index f2b2f0265d..431205bf6e 100644 --- a/app/src/main/java/c/i/a/f/h/o/d.java +++ b/app/src/main/java/c/i/a/f/h/o/d.java @@ -5,6 +5,6 @@ import c.i.a.f.e.h.h; import c.i.a.f.k.a; public abstract class d extends c.i.a.f.e.h.j.d { public d(c cVar) { - super(a.f1299c, cVar); + super(a.f1258c, cVar); } } diff --git a/app/src/main/java/c/i/a/f/h/o/g.java b/app/src/main/java/c/i/a/f/h/o/g.java index 53e154e75e..224e33f563 100644 --- a/app/src/main/java/c/i/a/f/h/o/g.java +++ b/app/src/main/java/c/i/a/f/h/o/g.java @@ -3,5 +3,5 @@ package c.i.a.f.h.o; import android.os.IInterface; import android.os.RemoteException; public interface g extends IInterface { - void s0(e eVar, String str) throws RemoteException; + void q0(e eVar, String str) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/h/o/h.java b/app/src/main/java/c/i/a/f/h/o/h.java index 6fe5b0136c..54f5430586 100644 --- a/app/src/main/java/c/i/a/f/h/o/h.java +++ b/app/src/main/java/c/i/a/f/h/o/h.java @@ -18,7 +18,7 @@ public final class h implements g, IInterface { } @Override // c.i.a.f.h.o.g - public final void s0(e eVar, String str) throws RemoteException { + public final void q0(e eVar, String str) throws RemoteException { Parcel obtain = Parcel.obtain(); obtain.writeInterfaceToken(this.b); int i = b.a; diff --git a/app/src/main/java/c/i/a/f/h/o/i.java b/app/src/main/java/c/i/a/f/h/o/i.java index 93a63a1136..54ade1fe34 100644 --- a/app/src/main/java/c/i/a/f/h/o/i.java +++ b/app/src/main/java/c/i/a/f/h/o/i.java @@ -30,7 +30,7 @@ public class i implements SafetyNetApi { } @Override // com.google.android.gms.safetynet.SafetyNetApi.a - public final String B() { + public final String C() { zzf zzf = this.j; if (zzf == null) { return null; @@ -39,7 +39,7 @@ public class i implements SafetyNetApi { } @Override // c.i.a.f.e.h.h - public final Status a0() { + public final Status b0() { return this.i; } } diff --git a/app/src/main/java/c/i/a/f/h/o/j.java b/app/src/main/java/c/i/a/f/h/o/j.java index c3e17c0ddd..cb9cbac0e7 100644 --- a/app/src/main/java/c/i/a/f/h/o/j.java +++ b/app/src/main/java/c/i/a/f/h/o/j.java @@ -15,6 +15,6 @@ public final class j extends i.a { /* JADX DEBUG: Method arguments types fixed to match base method, original types: [c.i.a.f.e.h.a$b] */ @Override // c.i.a.f.e.h.j.d public final /* synthetic */ void k(l lVar) throws RemoteException { - lVar.w().s0(this.l, this.m); + lVar.w().q0(this.l, this.m); } } diff --git a/app/src/main/java/c/i/a/f/i/a/a.java b/app/src/main/java/c/i/a/f/i/a/a.java index 668482de55..2ce1ab194f 100644 --- a/app/src/main/java/c/i/a/f/i/a/a.java +++ b/app/src/main/java/c/i/a/f/i/a/a.java @@ -15,21 +15,21 @@ public class a { /* compiled from: com.google.android.gms:play-services-measurement-sdk-api@@18.0.0 */ /* renamed from: c.i.a.f.i.a.a$a reason: collision with other inner class name */ - public interface AbstractC0114a extends z5 { + public interface AbstractC0112a extends z5 { } public a(g gVar) { this.a = gVar; } - public void a(AbstractC0114a aVar) { + public void a(AbstractC0112a aVar) { g.c cVar; g gVar = this.a; Objects.requireNonNull(gVar); synchronized (gVar.g) { for (int i = 0; i < gVar.g.size(); i++) { if (aVar.equals(gVar.g.get(i).first)) { - Log.w(gVar.f1166c, "OnEventListener already registered."); + Log.w(gVar.f1133c, "OnEventListener already registered."); return; } } @@ -41,7 +41,7 @@ public class a { gVar.j.registerOnMeasurementEventListener(cVar); return; } catch (BadParcelableException | NetworkOnMainThreadException | RemoteException | IllegalArgumentException | IllegalStateException | NullPointerException | SecurityException | UnsupportedOperationException unused) { - Log.w(gVar.f1166c, "Failed to register event listener on calling thread. Trying again on the dynamite thread."); + Log.w(gVar.f1133c, "Failed to register event listener on calling thread. Trying again on the dynamite thread."); } } gVar.e.execute(new a0(gVar, cVar)); diff --git a/app/src/main/java/c/i/a/f/i/b/a.java b/app/src/main/java/c/i/a/f/i/b/a.java index 0762d04f61..99aae4f7cf 100644 --- a/app/src/main/java/c/i/a/f/i/b/a.java +++ b/app/src/main/java/c/i/a/f/i/b/a.java @@ -9,7 +9,7 @@ public final class a extends z1 { public final Map b = new ArrayMap(); /* renamed from: c reason: collision with root package name */ - public final Map f1214c = new ArrayMap(); + public final Map f1177c = new ArrayMap(); public long d; public a(u4 u4Var) { @@ -18,12 +18,12 @@ public final class a extends z1 { @WorkerThread public final void t(long j) { - i7 w2 = q().w(false); + i7 w = q().w(false); for (String str : this.b.keySet()) { - w(str, j - this.b.get(str).longValue(), w2); + w(str, j - this.b.get(str).longValue(), w); } if (!this.b.isEmpty()) { - u(j - this.d, w2); + u(j - this.d, w); } x(j); } diff --git a/app/src/main/java/c/i/a/f/i/b/a4.java b/app/src/main/java/c/i/a/f/i/b/a4.java index d532000a35..149b5248d8 100644 --- a/app/src/main/java/c/i/a/f/i/b/a4.java +++ b/app/src/main/java/c/i/a/f/i/b/a4.java @@ -20,7 +20,7 @@ public final class a4 { public final String b; /* renamed from: c reason: collision with root package name */ - public String f1215c; + public String f1178c; public String d; public String e; public String f; @@ -35,25 +35,23 @@ public final class a4 { public boolean o; public long p; public boolean q; + public boolean r; - /* renamed from: r reason: collision with root package name */ - public boolean f1216r; - public String s; + /* renamed from: s reason: collision with root package name */ + public String f1179s; public Boolean t; public long u; public List v; - - /* renamed from: w reason: collision with root package name */ - public String f1217w; + public String w; /* renamed from: x reason: collision with root package name */ - public long f1218x; + public long f1180x; /* renamed from: y reason: collision with root package name */ - public long f1219y; + public long f1181y; /* renamed from: z reason: collision with root package name */ - public long f1220z; + public long f1182z; @WorkerThread public a4(u4 u4Var, String str) { @@ -74,13 +72,13 @@ public final class a4 { @WorkerThread public final String B() { this.a.f().b(); - return this.f1217w; + return this.w; } @WorkerThread public final void C(long j) { boolean z2 = true; - d.m(j >= 0); + d.l(j >= 0); this.a.f().b(); boolean z3 = this.E; if (this.g == j) { @@ -247,8 +245,8 @@ public final class a4 { @WorkerThread public final void c(String str) { this.a.f().b(); - this.E |= !t9.q0(this.f1215c, str); - this.f1215c = str; + this.E |= !t9.q0(this.f1178c, str); + this.f1178c = str; } @WorkerThread @@ -291,7 +289,7 @@ public final class a4 { @WorkerThread public final boolean i() { this.a.f().b(); - return this.f1216r; + return this.r; } @WorkerThread @@ -350,21 +348,21 @@ public final class a4 { if (TextUtils.isEmpty(str)) { str = null; } - this.E |= !t9.q0(this.s, str); - this.s = str; + this.E |= !t9.q0(this.f1179s, str); + this.f1179s = str; } @WorkerThread public final void r(boolean z2) { this.a.f().b(); - this.E |= this.f1216r != z2; - this.f1216r = z2; + this.E |= this.r != z2; + this.r = z2; } @WorkerThread public final String s() { this.a.f().b(); - return this.f1215c; + return this.f1178c; } @WorkerThread @@ -380,8 +378,8 @@ public final class a4 { if (TextUtils.isEmpty(str)) { str = null; } - this.E |= !t9.q0(this.f1217w, str); - this.f1217w = str; + this.E |= !t9.q0(this.w, str); + this.w = str; } @WorkerThread @@ -407,7 +405,7 @@ public final class a4 { @WorkerThread public final String y() { this.a.f().b(); - return this.s; + return this.f1179s; } @WorkerThread diff --git a/app/src/main/java/c/i/a/f/i/b/a8.java b/app/src/main/java/c/i/a/f/i/b/a8.java index c24f91a4aa..4fcc218b99 100644 --- a/app/src/main/java/c/i/a/f/i/b/a8.java +++ b/app/src/main/java/c/i/a/f/i/b/a8.java @@ -24,7 +24,7 @@ public final class a8 implements Runnable { return; } try { - i3Var.r0(this.i, this.j); + i3Var.p0(this.i, this.j); } catch (RemoteException e) { this.k.g().f.b("Failed to send default event parameters to service", e); } diff --git a/app/src/main/java/c/i/a/f/i/b/a9.java b/app/src/main/java/c/i/a/f/i/b/a9.java index 76eb0c7a8f..05eab4d940 100644 --- a/app/src/main/java/c/i/a/f/i/b/a9.java +++ b/app/src/main/java/c/i/a/f/i/b/a9.java @@ -19,11 +19,11 @@ public final /* synthetic */ class a9 implements Runnable { x8Var.b.g().m.a("Application going to the background"); boolean z2 = true; if (x8Var.b.a.h.o(p.v0)) { - x8Var.b.l().f1229x.a(true); + x8Var.b.l().f1190x.a(true); } Bundle bundle = new Bundle(); if (!x8Var.b.a.h.z().booleanValue()) { - x8Var.b.e.f1232c.c(); + x8Var.b.e.f1193c.c(); if (x8Var.b.a.h.o(p.m0)) { d9 d9Var = x8Var.b.e; d9Var.b = j2; diff --git a/app/src/main/java/c/i/a/f/i/b/b4.java b/app/src/main/java/c/i/a/f/i/b/b4.java index 8639ecb9dc..517c5b8b8e 100644 --- a/app/src/main/java/c/i/a/f/i/b/b4.java +++ b/app/src/main/java/c/i/a/f/i/b/b4.java @@ -11,7 +11,7 @@ public class b4 extends BroadcastReceiver { public boolean b; /* renamed from: c reason: collision with root package name */ - public boolean f1221c; + public boolean f1183c; public b4(k9 k9Var) { this.a = k9Var; @@ -25,7 +25,7 @@ public class b4 extends BroadcastReceiver { if (this.b) { this.a.g().n.a("Unregistering connectivity change receiver"); this.b = false; - this.f1221c = false; + this.f1183c = false; try { this.a.k.b.unregisterReceiver(this); } catch (IllegalArgumentException e) { @@ -42,8 +42,8 @@ public class b4 extends BroadcastReceiver { this.a.g().n.b("NetworkBroadcastReceiver received action", action); if ("android.net.conn.CONNECTIVITY_CHANGE".equals(action)) { boolean u = this.a.J().u(); - if (this.f1221c != u) { - this.f1221c = u; + if (this.f1183c != u) { + this.f1183c = u; this.a.f().v(new e4(this, u)); return; } diff --git a/app/src/main/java/c/i/a/f/i/b/b5.java b/app/src/main/java/c/i/a/f/i/b/b5.java index 2d8c17655c..be3b4bb67c 100644 --- a/app/src/main/java/c/i/a/f/i/b/b5.java +++ b/app/src/main/java/c/i/a/f/i/b/b5.java @@ -17,7 +17,7 @@ public final class b5 implements Runnable { @Override // java.lang.Runnable public final void run() { this.k.a.R(); - if (this.i.k.v0() == null) { + if (this.i.k.w0() == null) { this.k.a.F(this.i, this.j); } else { this.k.a.q(this.i, this.j); diff --git a/app/src/main/java/c/i/a/f/i/b/ba.java b/app/src/main/java/c/i/a/f/i/b/ba.java index ff1b2adef0..423dd4d80d 100644 --- a/app/src/main/java/c/i/a/f/i/b/ba.java +++ b/app/src/main/java/c/i/a/f/i/b/ba.java @@ -146,8 +146,8 @@ public final class ba extends i9 { break; } } - boolean z4 = f9.b() && this.a.h.u(this.d, p.f1262c0); - boolean z5 = f9.b() && this.a.h.u(this.d, p.f1260b0); + boolean z4 = f9.b() && this.a.h.u(this.d, p.f1222c0); + boolean z5 = f9.b() && this.a.h.u(this.d, p.f1220b0); if (z2) { g q2 = q(); String str6 = this.d; @@ -600,10 +600,10 @@ public final class ba extends i9 { q5.g().i.c("Event aggregate wasn't created during raw event logging. appId, event", q3.s(str10), q5.d().u(F)); lVar = new l(str10, next2.F(), 1, 1, 1, next2.H(), 0, null, null, null, null); } else { - lVar = new l(z6.a, z6.b, z6.f1254c + 1, z6.d + 1, z6.e + 1, z6.f, z6.g, z6.h, z6.i, z6.j, z6.k); + lVar = new l(z6.a, z6.b, z6.f1214c + 1, z6.d + 1, z6.e + 1, z6.f, z6.g, z6.h, z6.i, z6.j, z6.k); } q().H(lVar); - long j = lVar.f1254c; + long j = lVar.f1214c; String F2 = a.F(); V v = arrayMap14.get(F2); if (v == null) { diff --git a/app/src/main/java/c/i/a/f/i/b/c.java b/app/src/main/java/c/i/a/f/i/b/c.java index deb31a7cb4..90607f89df 100644 --- a/app/src/main/java/c/i/a/f/i/b/c.java +++ b/app/src/main/java/c/i/a/f/i/b/c.java @@ -20,7 +20,7 @@ public final class c extends s5 { @NonNull /* renamed from: c reason: collision with root package name */ - public e f1222c = b.a; + public e f1184c = b.a; public Boolean d; public c(u4 u4Var) { @@ -32,15 +32,15 @@ public final class c extends s5 { } public final boolean A(String str) { - return "1".equals(this.f1222c.i(str, "measurement.event_sampling_enabled")); + return "1".equals(this.f1184c.i(str, "measurement.event_sampling_enabled")); } @WorkerThread public final boolean C() { if (this.b == null) { - Boolean w2 = w("app_measurement_lite"); - this.b = w2; - if (w2 == null) { + Boolean w = w("app_measurement_lite"); + this.b = w; + if (w == null) { this.b = Boolean.FALSE; } } @@ -93,7 +93,7 @@ public final class c extends s5 { if (str == null) { return j3Var.a(null).longValue(); } - String i = this.f1222c.i(str, j3Var.b); + String i = this.f1184c.i(str, j3Var.b); if (TextUtils.isEmpty(i)) { return j3Var.a(null).longValue(); } @@ -120,7 +120,7 @@ public final class c extends s5 { if (str == null) { return j3Var.a(null).intValue(); } - String i = this.f1222c.i(str, j3Var.b); + String i = this.f1184c.i(str, j3Var.b); if (TextUtils.isEmpty(i)) { return j3Var.a(null).intValue(); } @@ -136,7 +136,7 @@ public final class c extends s5 { if (str == null) { return j3Var.a(null).doubleValue(); } - String i = this.f1222c.i(str, j3Var.b); + String i = this.f1184c.i(str, j3Var.b); if (TextUtils.isEmpty(i)) { return j3Var.a(null).doubleValue(); } @@ -166,7 +166,7 @@ public final class c extends s5 { if (str == null) { return j3Var.a(null).booleanValue(); } - String i = this.f1222c.i(str, j3Var.b); + String i = this.f1184c.i(str, j3Var.b); return TextUtils.isEmpty(i) ? j3Var.a(null).booleanValue() : j3Var.a(Boolean.valueOf(Boolean.parseBoolean(i))).booleanValue(); } @@ -189,20 +189,20 @@ public final class c extends s5 { } public final boolean x() { - Boolean w2 = w("firebase_analytics_collection_deactivated"); - return w2 != null && w2.booleanValue(); + Boolean w = w("firebase_analytics_collection_deactivated"); + return w != null && w.booleanValue(); } public final Boolean y() { - Boolean w2 = w("google_analytics_adid_collection_enabled"); - return Boolean.valueOf(w2 == null || w2.booleanValue()); + Boolean w = w("google_analytics_adid_collection_enabled"); + return Boolean.valueOf(w == null || w.booleanValue()); } public final Boolean z() { if (!((oa) pa.i.a()).a() || !o(p.u0)) { return Boolean.TRUE; } - Boolean w2 = w("google_analytics_automatic_screen_reporting_enabled"); - return Boolean.valueOf(w2 == null || w2.booleanValue()); + Boolean w = w("google_analytics_automatic_screen_reporting_enabled"); + return Boolean.valueOf(w == null || w.booleanValue()); } } diff --git a/app/src/main/java/c/i/a/f/i/b/c6.java b/app/src/main/java/c/i/a/f/i/b/c6.java index c1d224ce84..c7323b9de9 100644 --- a/app/src/main/java/c/i/a/f/i/b/c6.java +++ b/app/src/main/java/c/i/a/f/i/b/c6.java @@ -16,6 +16,7 @@ import androidx.annotation.Nullable; import androidx.annotation.WorkerThread; import c.c.a.a0.d; import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.i.a.f.e.o.h; import c.i.a.f.h.l.a9; import c.i.a.f.h.l.ea; @@ -44,7 +45,7 @@ import java.util.concurrent.atomic.AtomicReference; public final class c6 extends a5 { /* renamed from: c reason: collision with root package name */ - public y6 f1223c; + public y6 f1185c; public w5 d; public final Set e = new CopyOnWriteArraySet(); public boolean f; @@ -123,7 +124,7 @@ public final class c6 extends a5 { boolean z4; if (t8.b() && this.a.h.o(p.H0)) { t(); - if ((!this.a.h.o(p.I0) || i != 20) && dVar.b == null && dVar.f1225c == null) { + if ((!this.a.h.o(p.I0) || i != 20) && dVar.b == null && dVar.f1187c == null) { g().k.a("Discarding empty consent settings"); return; } @@ -139,9 +140,9 @@ public final class c6 extends a5 { if (bool == null) { bool = dVar3.b; } - Boolean bool2 = dVar.f1225c; + Boolean bool2 = dVar.f1187c; if (bool2 == null) { - bool2 = dVar3.f1225c; + bool2 = dVar3.f1187c; } d dVar4 = new d(bool, bool2); this.i = dVar4; @@ -247,9 +248,9 @@ public final class c6 extends a5 { g().l.a("Tag Manager is not found and thus will not be used"); } } - if (this.a.h.o(p.f1264e0) && "_cmp".equals(str2) && bundle.containsKey("gclid")) { + if (this.a.h.o(p.f1224e0) && "_cmp".equals(str2) && bundle.containsKey("gclid")) { String string = bundle.getString("gclid"); - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); + Objects.requireNonNull((c) this.a.o); K("auto", "_lgclid", string, System.currentTimeMillis()); } if (ea.b() && this.a.h.o(p.z0) && z2) { @@ -295,11 +296,11 @@ public final class c6 extends a5 { return; } } - i7 w2 = q().w(false); - if (w2 != null && !bundle.containsKey("_sc")) { - w2.d = true; + i7 w = q().w(false); + if (w != null && !bundle.containsKey("_sc")) { + w.d = true; } - h7.A(w2, bundle, z2 && z4); + h7.A(w, bundle, z2 && z4); boolean equals = "am".equals(str); boolean r0 = t9.r0(str2); if (z2 && this.d != null && !r0 && !equals) { @@ -307,7 +308,7 @@ public final class c6 extends a5 { AppMeasurementDynamiteService.a aVar = (AppMeasurementDynamiteService.a) this.d; Objects.requireNonNull(aVar); try { - aVar.a.X(str, str2, bundle, j); + aVar.a.Z(str, str2, bundle, j); } catch (RemoteException e2) { AppMeasurementDynamiteService.this.a.g().i.b("Event interceptor threw exception", e2); } @@ -361,18 +362,18 @@ public final class c6 extends a5 { ArrayList arrayList2 = new ArrayList(); arrayList2.add(z10); e().v0().nextLong(); - if (l().v.a() <= 0 || !l().u(j) || !l().f1229x.b()) { + if (l().v.a() <= 0 || !l().u(j) || !l().f1190x.b()) { bundle2 = z10; arrayList = arrayList2; } else { g().n.a("Current session is expired, remove the session number, ID, and engagement time"); - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); + Objects.requireNonNull((c) this.a.o); bundle2 = z10; arrayList = arrayList2; K("auto", "_sid", null, System.currentTimeMillis()); - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); + Objects.requireNonNull((c) this.a.o); K("auto", "_sno", null, System.currentTimeMillis()); - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); + Objects.requireNonNull((c) this.a.o); K("auto", "_se", null, System.currentTimeMillis()); } if (bundle2.getLong("extend_session", 0) == 1) { @@ -412,18 +413,18 @@ public final class c6 extends a5 { Objects.requireNonNull(p); p.b(); p.t(); - m3 r2 = p.r(); - Objects.requireNonNull(r2); + m3 r = p.r(); + Objects.requireNonNull(r); Parcel obtain = Parcel.obtain(); zzaq.writeToParcel(obtain, 0); byte[] marshall = obtain.marshall(); obtain.recycle(); if (marshall.length > 131072) { - r2.g().g.a("Event is too long for local database. Sending event directly to service"); + r.g().g.a("Event is too long for local database. Sending event directly to service"); z6 = true; z5 = false; } else { - z5 = r2.x(0, marshall); + z5 = r.x(0, marshall); z6 = true; } p.z(new d8(p, true, z5, zzaq, p.I(z6), str3)); @@ -437,9 +438,9 @@ public final class c6 extends a5 { arrayList = arrayList; } if (q().w(false) != null && "_ae".equals(str2)) { - w8 s = s(); - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); - s.w(true, true, SystemClock.elapsedRealtime()); + w8 s2 = s(); + Objects.requireNonNull((c) this.a.o); + s2.w(true, true, SystemClock.elapsedRealtime()); } } } else { @@ -452,7 +453,7 @@ public final class c6 extends a5 { } public final void H(String str, String str2, Bundle bundle) { - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); + Objects.requireNonNull((c) this.a.o); I(str, str2, bundle, true, true, System.currentTimeMillis()); } @@ -483,10 +484,10 @@ public final class c6 extends a5 { } else { str3 = string2; } - if (q.h && q.f1238c != null) { + if (q.h && q.f1199c != null) { q.h = false; - boolean q0 = t9.q0(q.f1238c.b, str3); - boolean q02 = t9.q0(q.f1238c.a, string); + boolean q0 = t9.q0(q.f1199c.b, str3); + boolean q02 = t9.q0(q.f1199c.a, string); if (q0 && q02) { q.g().k.a("Ignoring call to log screen view event with duplicate parameters."); return; @@ -502,12 +503,12 @@ public final class c6 extends a5 { } } q.g().n.c("Logging screen view with name, class", string == null ? "null" : string, str3 == null ? "null" : str3); - i7 i7Var = q.f1238c == null ? q.d : q.f1238c; + i7 i7Var = q.f1199c == null ? q.d : q.f1199c; i7 i7Var2 = new i7(string, str3, q.e().t0(), true, j); - q.f1238c = i7Var2; + q.f1199c = i7Var2; q.d = i7Var; q.i = i7Var2; - Objects.requireNonNull((c.i.a.f.e.o.d) q.a.o); + Objects.requireNonNull((c) q.a.o); q.f().v(new k7(q, bundle2, i7Var2, i7Var, SystemClock.elapsedRealtime())); return; } @@ -516,7 +517,7 @@ public final class c6 extends a5 { } public final void J(String str, String str2, Object obj) { - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); + Objects.requireNonNull((c) this.a.o); L(str, str2, obj, true, System.currentTimeMillis()); } @@ -551,17 +552,17 @@ public final class c6 extends a5 { q7 p = p(); p.b(); p.t(); - m3 r2 = p.r(); - Objects.requireNonNull(r2); + m3 r = p.r(); + Objects.requireNonNull(r); Parcel obtain = Parcel.obtain(); boolean z2 = false; zzku.writeToParcel(obtain, 0); byte[] marshall = obtain.marshall(); obtain.recycle(); if (marshall.length > 131072) { - r2.g().g.a("User property too long for local database. Sending directly to service"); + r.g().g.a("User property too long for local database. Sending directly to service"); } else { - z2 = r2.x(1, marshall); + z2 = r.x(1, marshall); } p.z(new r7(p, z2, zzku, p.I(true))); return; @@ -623,7 +624,7 @@ public final class c6 extends a5 { public final void M() { if (this.a.b.getApplicationContext() instanceof Application) { - ((Application) this.a.b.getApplicationContext()).unregisterActivityLifecycleCallbacks(this.f1223c); + ((Application) this.a.b.getApplicationContext()).unregisterActivityLifecycleCallbacks(this.f1185c); } } @@ -632,9 +633,9 @@ public final class c6 extends a5 { b(); t(); if (this.a.m()) { - if (this.a.h.o(p.f1263d0)) { - Boolean w2 = this.a.h.w("google_analytics_deferred_deep_link_enabled"); - if (w2 != null && w2.booleanValue()) { + if (this.a.h.o(p.f1223d0)) { + Boolean w = this.a.h.w("google_analytics_deferred_deep_link_enabled"); + if (w != null && w.booleanValue()) { g().m.a("Deferred Deep Link feature enabled."); f().v(new e6(this)); } @@ -670,12 +671,12 @@ public final class c6 extends a5 { @Nullable public final String O() { u4 u4Var = this.a; - String str = u4Var.f1280c; + String str = u4Var.f1240c; if (str != null) { return str; } try { - return c.H0(u4Var.b, "google_app_id"); + return f.C1(u4Var.b, "google_app_id"); } catch (IllegalStateException e) { this.a.g().f.b("getGoogleAppId failed with exception", e); return null; @@ -688,11 +689,11 @@ public final class c6 extends a5 { String a = l().t.a(); if (a != null) { if ("unset".equals(a)) { - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); + Objects.requireNonNull((c) this.a.o); K("app", "_npa", null, System.currentTimeMillis()); } else { Long valueOf = Long.valueOf("true".equals(a) ? 1 : 0); - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); + Objects.requireNonNull((c) this.a.o); K("app", "_npa", valueOf, System.currentTimeMillis()); } } @@ -711,11 +712,11 @@ public final class c6 extends a5 { s().d.a(); } if (((j9) g9.i.a()).a() && this.a.h.o(p.t0)) { - if (this.a.f1283x.a.o().l.a() <= 0) { + if (this.a.f1242x.a.o().l.a() <= 0) { z2 = false; } if (!z2) { - m4 m4Var = this.a.f1283x; + m4 m4Var = this.a.f1242x; m4Var.a(m4Var.a.b.getPackageName()); } } @@ -756,7 +757,7 @@ public final class c6 extends a5 { } public final void R(String str, String str2, Bundle bundle) { - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); + Objects.requireNonNull((c) this.a.o); long currentTimeMillis = System.currentTimeMillis(); d.w(str); Bundle bundle2 = new Bundle(); @@ -778,10 +779,10 @@ public final class c6 extends a5 { b(); t(); g().m.a("Resetting analytics data (FE)"); - w8 s = s(); - s.b(); - d9 d9Var = s.e; - d9Var.f1232c.c(); + w8 s2 = s(); + s2.b(); + d9 d9Var = s2.e; + d9Var.f1193c.c(); d9Var.a = 0; d9Var.b = 0; boolean d = this.a.d(); @@ -835,19 +836,19 @@ public final class c6 extends a5 { g().i.a("Package name should be null when calling setConditionalUserProperty"); } bundle2.remove("app_id"); - c.E0(bundle2, "app_id", String.class, null); - c.E0(bundle2, "origin", String.class, null); - c.E0(bundle2, ModelAuditLogEntry.CHANGE_KEY_NAME, String.class, null); - c.E0(bundle2, "value", Object.class, null); - c.E0(bundle2, "trigger_event_name", String.class, null); - c.E0(bundle2, "trigger_timeout", Long.class, 0L); - c.E0(bundle2, "timed_out_event_name", String.class, null); - c.E0(bundle2, "timed_out_event_params", Bundle.class, null); - c.E0(bundle2, "triggered_event_name", String.class, null); - c.E0(bundle2, "triggered_event_params", Bundle.class, null); - c.E0(bundle2, "time_to_live", Long.class, 0L); - c.E0(bundle2, "expired_event_name", String.class, null); - c.E0(bundle2, "expired_event_params", Bundle.class, null); + f.z1(bundle2, "app_id", String.class, null); + f.z1(bundle2, "origin", String.class, null); + f.z1(bundle2, ModelAuditLogEntry.CHANGE_KEY_NAME, String.class, null); + f.z1(bundle2, "value", Object.class, null); + f.z1(bundle2, "trigger_event_name", String.class, null); + f.z1(bundle2, "trigger_timeout", Long.class, 0L); + f.z1(bundle2, "timed_out_event_name", String.class, null); + f.z1(bundle2, "timed_out_event_params", Bundle.class, null); + f.z1(bundle2, "triggered_event_name", String.class, null); + f.z1(bundle2, "triggered_event_params", Bundle.class, null); + f.z1(bundle2, "time_to_live", Long.class, 0L); + f.z1(bundle2, "expired_event_name", String.class, null); + f.z1(bundle2, "expired_event_params", Bundle.class, null); d.w(bundle2.getString(ModelAuditLogEntry.CHANGE_KEY_NAME)); d.w(bundle2.getString("origin")); Objects.requireNonNull(bundle2.get("value"), "null reference"); @@ -864,7 +865,7 @@ public final class c6 extends a5 { g().f.c("Unable to normalize conditional user property value", d().y(string), obj); return; } - c.P0(bundle2, n0); + f.K1(bundle2, n0); long j2 = bundle2.getLong("trigger_timeout"); if (TextUtils.isEmpty(bundle2.getString("trigger_event_name")) || (j2 <= 15552000000L && j2 >= 1)) { long j3 = bundle2.getLong("time_to_live"); diff --git a/app/src/main/java/c/i/a/f/i/b/c7.java b/app/src/main/java/c/i/a/f/i/b/c7.java index 66400b0aac..8624be3ee3 100644 --- a/app/src/main/java/c/i/a/f/i/b/c7.java +++ b/app/src/main/java/c/i/a/f/i/b/c7.java @@ -35,7 +35,7 @@ public final class c7 implements Runnable { String str2 = this.l; y6Var.i.b(); try { - if (y6Var.i.a.h.o(p.f1264e0) || y6Var.i.a.h.o(p.f1266g0) || y6Var.i.a.h.o(p.f1265f0)) { + if (y6Var.i.a.h.o(p.f1224e0) || y6Var.i.a.h.o(p.f1226g0) || y6Var.i.a.h.o(p.f1225f0)) { t9 e = y6Var.i.e(); if (!TextUtils.isEmpty(str2)) { if (str2.contains("gclid") || str2.contains("utm_campaign") || str2.contains("utm_source") || str2.contains("utm_medium")) { @@ -48,7 +48,7 @@ public final class c7 implements Runnable { bundle2 = y6Var.i.e().x(uri); if (bundle2 != null) { bundle2.putString("_cis", "intent"); - if (y6Var.i.a.h.o(p.f1264e0) && !bundle2.containsKey("gclid") && bundle != null && bundle.containsKey("gclid")) { + if (y6Var.i.a.h.o(p.f1224e0) && !bundle2.containsKey("gclid") && bundle != null && bundle.containsKey("gclid")) { bundle2.putString("_cer", String.format("gclid=%s", bundle.getString("gclid"))); } y6Var.i.H(str, "_cmp", bundle2); @@ -59,12 +59,12 @@ public final class c7 implements Runnable { } else { bundle2 = null; } - if (y6Var.i.a.h.o(p.f1266g0) && !y6Var.i.a.h.o(p.f1265f0) && bundle != null && bundle.containsKey("gclid") && (bundle2 == null || !bundle2.containsKey("gclid"))) { + if (y6Var.i.a.h.o(p.f1226g0) && !y6Var.i.a.h.o(p.f1225f0) && bundle != null && bundle.containsKey("gclid") && (bundle2 == null || !bundle2.containsKey("gclid"))) { y6Var.i.J("auto", "_lgclid", bundle.getString("gclid")); } if (TextUtils.isEmpty(str2)) { y6Var.i.g().m.b("Activity created with referrer", str2); - if (y6Var.i.a.h.o(p.f1265f0)) { + if (y6Var.i.a.h.o(p.f1225f0)) { if (bundle != null) { y6Var.i.H(str, "_cmp", bundle); if (y6Var.i.a.h.o(p.D0)) { diff --git a/app/src/main/java/c/i/a/f/i/b/c9.java b/app/src/main/java/c/i/a/f/i/b/c9.java index cc797de011..1cb9ed97af 100644 --- a/app/src/main/java/c/i/a/f/i/b/c9.java +++ b/app/src/main/java/c/i/a/f/i/b/c9.java @@ -2,7 +2,7 @@ package c.i.a.f.i.b; import android.os.SystemClock; import androidx.annotation.WorkerThread; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import java.util.Objects; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class c9 extends i { @@ -19,10 +19,10 @@ public final class c9 extends i { public final void a() { d9 d9Var = this.e; d9Var.d.b(); - Objects.requireNonNull((d) d9Var.d.a.o); + Objects.requireNonNull((c) d9Var.d.a.o); d9Var.a(false, false, SystemClock.elapsedRealtime()); a m = d9Var.d.m(); - Objects.requireNonNull((d) d9Var.d.a.o); + Objects.requireNonNull((c) d9Var.d.a.o); m.t(SystemClock.elapsedRealtime()); } } diff --git a/app/src/main/java/c/i/a/f/i/b/ca.java b/app/src/main/java/c/i/a/f/i/b/ca.java index b2d7077c00..fbb00ce0ac 100644 --- a/app/src/main/java/c/i/a/f/i/b/ca.java +++ b/app/src/main/java/c/i/a/f/i/b/ca.java @@ -16,7 +16,7 @@ public final class ca { public Long b; /* renamed from: c reason: collision with root package name */ - public long f1224c; + public long f1186c; public final /* synthetic */ ba d; public ca(ba baVar, aa aaVar) { @@ -114,12 +114,12 @@ public final class ca { return null; } this.a = (a1) obj; - this.f1224c = ((Long) pair.second).longValue(); + this.f1186c = ((Long) pair.second).longValue(); this.d.m(); this.b = (Long) q9.R(this.a, "_eid"); } - long j = this.f1224c - 1; - this.f1224c = j; + long j = this.f1186c - 1; + this.f1186c = j; if (j <= 0) { g q2 = this.d.q(); q2.b(); @@ -130,7 +130,7 @@ public final class ca { q2.g().f.b("Error clearing complex main event", e5); } } else { - this.d.q().Q(str, l, this.f1224c, this.a); + this.d.q().Q(str, l, this.f1186c, this.a); } ArrayList arrayList = new ArrayList(); for (c1 c1Var : this.a.v()) { @@ -156,11 +156,11 @@ public final class ca { j2 = R; } long longValue = ((Long) j2).longValue(); - this.f1224c = longValue; + this.f1186c = longValue; if (longValue <= 0) { this.d.g().g.b("Complex event with zero extra param count. eventName", F); } else { - this.d.q().Q(str, l, this.f1224c, a1Var); + this.d.q().Q(str, l, this.f1186c, a1Var); } } a1.a t = a1Var.t(); diff --git a/app/src/main/java/c/i/a/f/i/b/d.java b/app/src/main/java/c/i/a/f/i/b/d.java index 125ec98464..b58cfadf07 100644 --- a/app/src/main/java/c/i/a/f/i/b/d.java +++ b/app/src/main/java/c/i/a/f/i/b/d.java @@ -7,11 +7,11 @@ public final class d { public final Boolean b; /* renamed from: c reason: collision with root package name */ - public final Boolean f1225c; + public final Boolean f1187c; public d(Boolean bool, Boolean bool2) { this.b = bool; - this.f1225c = bool2; + this.f1187c = bool2; } public static int a(Boolean bool) { @@ -94,7 +94,7 @@ public final class d { Boolean bool = this.b; char c2 = '0'; sb.append(bool == null ? '-' : bool.booleanValue() ? '1' : '0'); - Boolean bool2 = this.f1225c; + Boolean bool2 = this.f1187c; if (bool2 == null) { c2 = '-'; } else if (bool2.booleanValue()) { @@ -109,24 +109,24 @@ public final class d { return false; } d dVar = (d) obj; - return a(this.b) == a(dVar.b) && a(this.f1225c) == a(dVar.f1225c); + return a(this.b) == a(dVar.b) && a(this.f1187c) == a(dVar.f1187c); } public final boolean f(d dVar) { Boolean bool = this.b; Boolean bool2 = Boolean.FALSE; if (bool != bool2 || dVar.b == bool2) { - return this.f1225c == bool2 && dVar.f1225c != bool2; + return this.f1187c == bool2 && dVar.f1187c != bool2; } return true; } public final d h(d dVar) { - return new d(c(this.b, dVar.b), c(this.f1225c, dVar.f1225c)); + return new d(c(this.b, dVar.b), c(this.f1187c, dVar.f1187c)); } public final int hashCode() { - return a(this.f1225c) + ((a(this.b) + 527) * 31); + return a(this.f1187c) + ((a(this.b) + 527) * 31); } public final boolean j() { @@ -135,7 +135,7 @@ public final class d { } public final boolean k() { - Boolean bool = this.f1225c; + Boolean bool = this.f1187c; return bool == null || bool.booleanValue(); } @@ -150,7 +150,7 @@ public final class d { sb.append(bool.booleanValue() ? str : "denied"); } sb.append(", analyticsStorage="); - Boolean bool2 = this.f1225c; + Boolean bool2 = this.f1187c; if (bool2 == null) { sb.append("uninitialized"); } else { diff --git a/app/src/main/java/c/i/a/f/i/b/d4.java b/app/src/main/java/c/i/a/f/i/b/d4.java index 5dd472814f..1505da4b41 100644 --- a/app/src/main/java/c/i/a/f/i/b/d4.java +++ b/app/src/main/java/c/i/a/f/i/b/d4.java @@ -8,7 +8,7 @@ import com.discord.stores.StoreGuildScheduledEvents; public final class d4 extends r5 { /* renamed from: c reason: collision with root package name */ - public static final Pair f1226c = new Pair<>("", 0L); + public static final Pair f1188c = new Pair<>("", 0L); public final j4 A = new j4(this, "firebase_feature_rollouts"); public final j4 B = new j4(this, "deferred_attribution_cache"); public final h4 C = new h4(this, "deferred_attribution_cache_timestamp", 0); @@ -27,25 +27,23 @@ public final class d4 extends r5 { public boolean o; public long p; public final h4 q = new h4(this, "time_before_start", 10000); + public final h4 r = new h4(this, "session_timeout", StoreGuildScheduledEvents.FETCH_GUILD_EVENTS_THRESHOLD); - /* renamed from: r reason: collision with root package name */ - public final h4 f1227r = new h4(this, "session_timeout", StoreGuildScheduledEvents.FETCH_GUILD_EVENTS_THRESHOLD); - public final f4 s = new f4(this, "start_new_session", true); + /* renamed from: s reason: collision with root package name */ + public final f4 f1189s = new f4(this, "start_new_session", true); public final j4 t = new j4(this, "non_personalized_ads"); public final f4 u = new f4(this, "allow_remote_dynamite", false); public final h4 v = new h4(this, "last_pause_time", 0); - - /* renamed from: w reason: collision with root package name */ - public boolean f1228w; + public boolean w; /* renamed from: x reason: collision with root package name */ - public f4 f1229x = new f4(this, "app_backgrounded", false); + public f4 f1190x = new f4(this, "app_backgrounded", false); /* renamed from: y reason: collision with root package name */ - public f4 f1230y = new f4(this, "deep_link_retrieval_complete", false); + public f4 f1191y = new f4(this, "deep_link_retrieval_complete", false); /* renamed from: z reason: collision with root package name */ - public h4 f1231z = new h4(this, "deep_link_retrieval_attempts", 0); + public h4 f1192z = new h4(this, "deep_link_retrieval_attempts", 0); public d4(u4 u4Var) { super(u4Var); @@ -57,13 +55,13 @@ public final class d4 extends r5 { SharedPreferences sharedPreferences = this.a.b.getSharedPreferences("com.google.android.gms.measurement.prefs", 0); this.d = sharedPreferences; boolean z2 = sharedPreferences.getBoolean("has_been_opened", false); - this.f1228w = z2; + this.w = z2; if (!z2) { SharedPreferences.Editor edit = this.d.edit(); edit.putBoolean("has_been_opened", true); edit.apply(); } - this.e = new k4(this, "health_monitor", Math.max(0L, p.f1261c.a(null).longValue()), null); + this.e = new k4(this, "health_monitor", Math.max(0L, p.f1221c.a(null).longValue()), null); } @Override // c.i.a.f.i.b.r5 @@ -89,7 +87,7 @@ public final class d4 extends r5 { } public final boolean u(long j) { - return j - this.f1227r.a() > this.v.a(); + return j - this.r.a() > this.v.a(); } @WorkerThread diff --git a/app/src/main/java/c/i/a/f/i/b/d6.java b/app/src/main/java/c/i/a/f/i/b/d6.java index f9cf830bc2..b5504c4f8c 100644 --- a/app/src/main/java/c/i/a/f/i/b/d6.java +++ b/app/src/main/java/c/i/a/f/i/b/d6.java @@ -21,7 +21,7 @@ public final class d6 implements Runnable { c cVar = c6Var.a.h; n3 o = c6Var.o(); o.t(); - String str = o.f1257c; + String str = o.f1217c; Objects.requireNonNull(cVar); atomicReference.set(Boolean.valueOf(cVar.u(str, p.K))); this.i.notify(); diff --git a/app/src/main/java/c/i/a/f/i/b/d9.java b/app/src/main/java/c/i/a/f/i/b/d9.java index 7221390b33..4b4da84a82 100644 --- a/app/src/main/java/c/i/a/f/i/b/d9.java +++ b/app/src/main/java/c/i/a/f/i/b/d9.java @@ -3,7 +3,7 @@ package c.i.a.f.i.b; import android.os.Bundle; import android.os.SystemClock; import androidx.annotation.WorkerThread; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import c.i.a.f.h.l.r9; import c.i.a.f.h.l.s9; import c.i.a.f.h.l.v9; @@ -14,13 +14,13 @@ public final class d9 { public long b; /* renamed from: c reason: collision with root package name */ - public final i f1232c; + public final i f1193c; public final /* synthetic */ w8 d; public d9(w8 w8Var) { this.d = w8Var; - this.f1232c = new c9(this, w8Var.a); - Objects.requireNonNull((d) w8Var.a.o); + this.f1193c = new c9(this, w8Var.a); + Objects.requireNonNull((c) w8Var.a.o); long elapsedRealtime = SystemClock.elapsedRealtime(); this.a = elapsedRealtime; this.b = elapsedRealtime; @@ -32,7 +32,7 @@ public final class d9 { this.d.t(); if (!r9.b() || !this.d.a.h.o(p.q0) || this.d.a.d()) { h4 h4Var = this.d.l().v; - Objects.requireNonNull((d) this.d.a.o); + Objects.requireNonNull((c) this.d.a.o); h4Var.b(System.currentTimeMillis()); } long j2 = j - this.a; @@ -56,8 +56,8 @@ public final class d9 { this.d.n().H("auto", "_e", bundle); } this.a = j; - this.f1232c.c(); - this.f1232c.b(3600000); + this.f1193c.c(); + this.f1193c.b(3600000); return true; } this.d.g().n.b("Screen exposed for less than 1000 ms. Event not sent. time", Long.valueOf(j2)); @@ -66,7 +66,7 @@ public final class d9 { @WorkerThread public final long b() { - Objects.requireNonNull((d) this.d.a.o); + Objects.requireNonNull((c) this.d.a.o); long elapsedRealtime = SystemClock.elapsedRealtime(); long j = elapsedRealtime - this.b; this.b = elapsedRealtime; diff --git a/app/src/main/java/c/i/a/f/i/b/da.java b/app/src/main/java/c/i/a/f/i/b/da.java index 535841a90a..b89bcd3a8f 100644 --- a/app/src/main/java/c/i/a/f/i/b/da.java +++ b/app/src/main/java/c/i/a/f/i/b/da.java @@ -19,7 +19,7 @@ public final class da { public boolean b; /* renamed from: c reason: collision with root package name */ - public g1 f1233c; + public g1 f1194c; public BitSet d; public BitSet e; public Map f; @@ -39,7 +39,7 @@ public final class da { this.g.put(num, arrayList); } this.b = false; - this.f1233c = g1Var; + this.f1194c = g1Var; } public da(ba baVar, String str, aa aaVar) { @@ -83,7 +83,7 @@ public final class da { F.k = false; } y0.w((y0) F.j, z2); - g1 g1Var = this.f1233c; + g1 g1Var = this.f1194c; if (g1Var != null) { if (F.k) { F.n(); @@ -169,7 +169,7 @@ public final class da { public final void b(@NonNull ea eaVar) { int a = eaVar.a(); - Boolean bool = eaVar.f1234c; + Boolean bool = eaVar.f1195c; if (bool != null) { this.e.set(a, bool.booleanValue()); } @@ -193,10 +193,10 @@ public final class da { if (eaVar.g()) { list.clear(); } - if (f9.b() && this.h.a.h.u(this.a, p.f1262c0) && eaVar.h()) { + if (f9.b() && this.h.a.h.u(this.a, p.f1222c0) && eaVar.h()) { list.clear(); } - if (!f9.b() || !this.h.a.h.u(this.a, p.f1262c0)) { + if (!f9.b() || !this.h.a.h.u(this.a, p.f1222c0)) { list.add(Long.valueOf(eaVar.f.longValue() / 1000)); return; } diff --git a/app/src/main/java/c/i/a/f/i/b/e5.java b/app/src/main/java/c/i/a/f/i/b/e5.java index 62e50e5512..40d054a3a0 100644 --- a/app/src/main/java/c/i/a/f/i/b/e5.java +++ b/app/src/main/java/c/i/a/f/i/b/e5.java @@ -16,7 +16,7 @@ public final class e5 implements Runnable { @Override // java.lang.Runnable public final void run() { this.j.a.R(); - if (this.i.k.v0() == null) { + if (this.i.k.w0() == null) { k9 k9Var = this.j.a; zzz zzz = this.i; Objects.requireNonNull(k9Var); diff --git a/app/src/main/java/c/i/a/f/i/b/e6.java b/app/src/main/java/c/i/a/f/i/b/e6.java index 791649f2d1..b042f7c3a2 100644 --- a/app/src/main/java/c/i/a/f/i/b/e6.java +++ b/app/src/main/java/c/i/a/f/i/b/e6.java @@ -5,7 +5,8 @@ import android.net.NetworkInfo; import android.os.SystemClock; import android.text.TextUtils; import android.util.Pair; -import c.i.a.f.e.o.d; +import c.c.a.a0.d; +import c.i.a.f.e.o.c; import com.google.android.gms.ads.identifier.AdvertisingIdClient; import java.net.MalformedURLException; import java.net.URL; @@ -25,15 +26,15 @@ public final /* synthetic */ class e6 implements Runnable { URL url; c6 c6Var = this.i; c6Var.b(); - if (c6Var.l().f1230y.b()) { + if (c6Var.l().f1191y.b()) { c6Var.g().m.a("Deferred Deep Link already retrieved. Not fetching again."); return; } - long a = c6Var.l().f1231z.a(); - c6Var.l().f1231z.b(a + 1); + long a = c6Var.l().f1192z.a(); + c6Var.l().f1192z.b(a + 1); if (a >= 5) { c6Var.g().i.a("Permanently failed to retrieve Deferred Deep Link. Reached maximum retries."); - c6Var.l().f1230y.a(true); + c6Var.l().f1191y.a(true); return; } u4 u4Var = c6Var.a; @@ -41,10 +42,10 @@ public final /* synthetic */ class e6 implements Runnable { u4.q(u4Var.n()); n3 z2 = u4Var.z(); z2.t(); - String str = z2.f1257c; + String str = z2.f1217c; d4 o = u4Var.o(); o.b(); - Objects.requireNonNull((d) o.a.o); + Objects.requireNonNull((c) o.a.o); long elapsedRealtime = SystemClock.elapsedRealtime(); if (o.n == null || elapsedRealtime >= o.p) { c cVar = o.a.h; @@ -85,11 +86,11 @@ public final /* synthetic */ class e6 implements Runnable { t9 t = u4Var.t(); u4Var.z(); String str2 = (String) pair.first; - long a2 = u4Var.o().f1231z.a() - 1; + long a2 = u4Var.o().f1192z.a() - 1; Objects.requireNonNull(t); try { - c.c.a.a0.d.w(str2); - c.c.a.a0.d.w(str); + d.w(str2); + d.w(str); String format = String.format("https://www.googleadservices.com/pagead/conversion/app/deeplink?id_type=adid&sdk_version=%s&rdid=%s&bundleid=%s&retry=%s", String.format("v%s.%s", 33025L, Integer.valueOf(t.y0())), str2, str, Long.valueOf(a2)); if (str.equals(t.a.h.i("debug.deferred.deeplink", ""))) { format = format.concat("&ddl_test=1"); diff --git a/app/src/main/java/c/i/a/f/i/b/e7.java b/app/src/main/java/c/i/a/f/i/b/e7.java index 5de6580cab..c7bf5696cb 100644 --- a/app/src/main/java/c/i/a/f/i/b/e7.java +++ b/app/src/main/java/c/i/a/f/i/b/e7.java @@ -40,7 +40,7 @@ public final /* synthetic */ class e7 implements Runnable { u4Var.g().i.c("Network Request for Deferred Deep Link failed. response, exception", Integer.valueOf(i), exc); return; } - u4Var.o().f1230y.a(true); + u4Var.o().f1191y.a(true); if (bArr.length == 0) { u4Var.g().m.a("Deferred Deep Link response empty."); return; diff --git a/app/src/main/java/c/i/a/f/i/b/ea.java b/app/src/main/java/c/i/a/f/i/b/ea.java index d055fec08b..9da6fb3bc5 100644 --- a/app/src/main/java/c/i/a/f/i/b/ea.java +++ b/app/src/main/java/c/i/a/f/i/b/ea.java @@ -17,7 +17,7 @@ public abstract class ea { public int b; /* renamed from: c reason: collision with root package name */ - public Boolean f1234c; + public Boolean f1195c; public Boolean d; public Long e; public Long f; diff --git a/app/src/main/java/c/i/a/f/i/b/f.java b/app/src/main/java/c/i/a/f/i/b/f.java index b32ff3870a..8c1d5b9743 100644 --- a/app/src/main/java/c/i/a/f/i/b/f.java +++ b/app/src/main/java/c/i/a/f/i/b/f.java @@ -5,7 +5,7 @@ public final class f { public long b; /* renamed from: c reason: collision with root package name */ - public long f1235c; + public long f1196c; public long d; public long e; } diff --git a/app/src/main/java/c/i/a/f/i/b/f4.java b/app/src/main/java/c/i/a/f/i/b/f4.java index 2349faec96..35866ea043 100644 --- a/app/src/main/java/c/i/a/f/i/b/f4.java +++ b/app/src/main/java/c/i/a/f/i/b/f4.java @@ -9,7 +9,7 @@ public final class f4 { public final boolean b; /* renamed from: c reason: collision with root package name */ - public boolean f1236c; + public boolean f1197c; public boolean d; public final /* synthetic */ d4 e; @@ -30,8 +30,8 @@ public final class f4 { @WorkerThread public final boolean b() { - if (!this.f1236c) { - this.f1236c = true; + if (!this.f1197c) { + this.f1197c = true; this.d = this.e.w().getBoolean(this.a, this.b); } return this.d; diff --git a/app/src/main/java/c/i/a/f/i/b/f8.java b/app/src/main/java/c/i/a/f/i/b/f8.java index a7488f9f9a..589e6b4029 100644 --- a/app/src/main/java/c/i/a/f/i/b/f8.java +++ b/app/src/main/java/c/i/a/f/i/b/f8.java @@ -35,9 +35,9 @@ public final class f8 implements Runnable { return; } if (TextUtils.isEmpty(this.j)) { - this.i.set(i3Var.H(this.k, this.l, this.m)); + this.i.set(i3Var.K(this.k, this.l, this.m)); } else { - this.i.set(i3Var.G(this.j, this.k, this.l)); + this.i.set(i3Var.J(this.j, this.k, this.l)); } this.n.F(); this.i.notify(); diff --git a/app/src/main/java/c/i/a/f/i/b/f9.java b/app/src/main/java/c/i/a/f/i/b/f9.java index 91ed37bdfe..076e2a8198 100644 --- a/app/src/main/java/c/i/a/f/i/b/f9.java +++ b/app/src/main/java/c/i/a/f/i/b/f9.java @@ -5,7 +5,7 @@ import android.os.Bundle; import android.os.SystemClock; import android.text.TextUtils; import androidx.annotation.WorkerThread; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import c.i.a.f.h.l.a9; import java.util.Objects; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ @@ -20,14 +20,14 @@ public final class f9 { public final void a() { this.a.b(); d4 l = this.a.l(); - Objects.requireNonNull((d) this.a.a.o); + Objects.requireNonNull((c) this.a.a.o); if (l.u(System.currentTimeMillis())) { - this.a.l().s.a(true); + this.a.l().f1189s.a(true); ActivityManager.RunningAppProcessInfo runningAppProcessInfo = new ActivityManager.RunningAppProcessInfo(); ActivityManager.getMyMemoryState(runningAppProcessInfo); if (runningAppProcessInfo.importance == 100) { this.a.g().n.a("Detected application was in foreground"); - Objects.requireNonNull((d) this.a.a.o); + Objects.requireNonNull((c) this.a.a.o); c(System.currentTimeMillis(), false); } } @@ -38,10 +38,10 @@ public final class f9 { this.a.b(); this.a.x(); if (this.a.l().u(j)) { - this.a.l().s.a(true); + this.a.l().f1189s.a(true); } this.a.l().v.b(j); - if (this.a.l().s.b()) { + if (this.a.l().f1189s.b()) { c(j, z2); } } @@ -51,11 +51,11 @@ public final class f9 { this.a.b(); if (this.a.a.d()) { this.a.l().v.b(j); - Objects.requireNonNull((d) this.a.a.o); + Objects.requireNonNull((c) this.a.a.o); this.a.g().n.b("Session started, time", Long.valueOf(SystemClock.elapsedRealtime())); Long valueOf = Long.valueOf(j / 1000); this.a.n().K("auto", "_sid", valueOf, j); - this.a.l().s.a(false); + this.a.l().f1189s.a(false); Bundle bundle = new Bundle(); bundle.putLong("_sid", valueOf.longValue()); if (this.a.a.h.o(p.k0) && z2) { diff --git a/app/src/main/java/c/i/a/f/i/b/fa.java b/app/src/main/java/c/i/a/f/i/b/fa.java index 37fd4915b4..e3255e2905 100644 --- a/app/src/main/java/c/i/a/f/i/b/fa.java +++ b/app/src/main/java/c/i/a/f/i/b/fa.java @@ -66,7 +66,7 @@ public final class fa extends ea { Boolean bool; Boolean bool2; String str; - boolean z3 = f9.b() && this.h.a.h.u(this.a, p.f1262c0); + boolean z3 = f9.b() && this.h.a.h.u(this.a, p.f1222c0); long j2 = this.g.H() ? lVar.e : j; String str2 = "null"; Integer num = null; @@ -92,37 +92,37 @@ public final class fa extends ea { if (l0Var == null) { str = str2; } else { - StringBuilder O = a.O("\nevent_filter {\n"); + StringBuilder R = a.R("\nevent_filter {\n"); if (l0Var.x()) { - q9.L(O, 0, "filter_id", Integer.valueOf(l0Var.y())); + q9.L(R, 0, "filter_id", Integer.valueOf(l0Var.y())); } - q9.L(O, 0, "event_name", m.d().u(l0Var.z())); + q9.L(R, 0, "event_name", m.d().u(l0Var.z())); String A = q9.A(l0Var.E(), l0Var.F(), l0Var.H()); if (!A.isEmpty()) { - q9.L(O, 0, "filter_type", A); + q9.L(R, 0, "filter_type", A); } if (l0Var.C()) { - q9.J(O, 1, "event_count_filter", l0Var.D()); + q9.J(R, 1, "event_count_filter", l0Var.D()); } if (l0Var.B() > 0) { - O.append(" filters {\n"); + R.append(" filters {\n"); for (m0 m0Var : l0Var.A()) { - m.I(O, 2, m0Var); + m.I(R, 2, m0Var); } } - q9.H(O, 1); - O.append("}\n}\n"); - str = O.toString(); + q9.H(R, 1); + R.append("}\n}\n"); + str = R.toString(); } s3Var.b("Filter definition", str); } if (!this.g.x() || this.g.y() > 256) { s3 s3Var2 = this.h.g().i; - Object s = q3.s(this.a); + Object s2 = q3.s(this.a); if (this.g.x()) { num = Integer.valueOf(this.g.y()); } - s3Var2.c("Invalid event filter ID. appId, id", s, String.valueOf(num)); + s3Var2.c("Invalid event filter ID. appId, id", s2, String.valueOf(num)); return false; } boolean z4 = this.g.E() || this.g.F() || this.g.H(); @@ -145,7 +145,7 @@ public final class fa extends ea { return false; } Boolean bool4 = Boolean.TRUE; - this.f1234c = bool4; + this.f1195c = bool4; if (!bool3.booleanValue()) { return true; } diff --git a/app/src/main/java/c/i/a/f/i/b/g.java b/app/src/main/java/c/i/a/f/i/b/g.java index ec2811226f..73386e4a70 100644 --- a/app/src/main/java/c/i/a/f/i/b/g.java +++ b/app/src/main/java/c/i/a/f/i/b/g.java @@ -13,6 +13,7 @@ import androidx.annotation.WorkerThread; import androidx.collection.ArrayMap; import c.c.a.a0.d; import c.d.b.a.a; +import c.i.a.f.e.o.c; import c.i.a.f.h.l.a1; import c.i.a.f.h.l.c1; import c.i.a.f.h.l.da; @@ -221,8 +222,8 @@ public final class g extends i9 { public final List> D(String str, int i2, int i3) { b(); n(); - d.m(i2 > 0); - d.m(i3 > 0); + d.l(i2 > 0); + d.l(i3 > 0); d.w(str); Cursor cursor = null; try { @@ -465,7 +466,7 @@ public final class g extends i9 { ContentValues contentValues = new ContentValues(); contentValues.put("app_id", lVar.a); contentValues.put(ModelAuditLogEntry.CHANGE_KEY_NAME, lVar.b); - contentValues.put("lifetime_count", Long.valueOf(lVar.f1254c)); + contentValues.put("lifetime_count", Long.valueOf(lVar.f1214c)); contentValues.put("current_bundle_count", Long.valueOf(lVar.d)); contentValues.put("last_fire_timestamp", Long.valueOf(lVar.f)); contentValues.put("last_bundled_timestamp", Long.valueOf(lVar.g)); @@ -502,11 +503,11 @@ public final class g extends i9 { contentValues.put("dev_cert_hash", Long.valueOf(a4Var.Q())); contentValues.put("measurement_enabled", Boolean.valueOf(a4Var.T())); a4Var.a.f().b(); - contentValues.put("day", Long.valueOf(a4Var.f1218x)); + contentValues.put("day", Long.valueOf(a4Var.f1180x)); a4Var.a.f().b(); - contentValues.put("daily_public_events_count", Long.valueOf(a4Var.f1219y)); + contentValues.put("daily_public_events_count", Long.valueOf(a4Var.f1181y)); a4Var.a.f().b(); - contentValues.put("daily_events_count", Long.valueOf(a4Var.f1220z)); + contentValues.put("daily_events_count", Long.valueOf(a4Var.f1182z)); a4Var.a.f().b(); contentValues.put("daily_conversions_count", Long.valueOf(a4Var.A)); a4Var.a.f().b(); @@ -533,7 +534,7 @@ public final class g extends i9 { contentValues.put("safelisted_events", TextUtils.join(",", a4Var.k())); } } - if (da.b() && this.a.h.u(a4Var.o(), p.j0)) { + if (da.b() && this.a.h.u(a4Var.o(), p.f1229j0)) { contentValues.put("ga_app_id", a4Var.B()); } try { @@ -555,15 +556,15 @@ public final class g extends i9 { throw new IllegalArgumentException("Given Integer is zero"); } else if (R()) { String join = TextUtils.join(",", list); - String g2 = a.g(a.b(join, 2), "(", join, ")"); - if (S(a.g(a.b(g2, 80), "SELECT COUNT(1) FROM queue WHERE rowid IN ", g2, " AND retry_count = 2147483647 LIMIT 1"), null) > 0) { + String j2 = a.j(a.b(join, 2), "(", join, ")"); + if (S(a.j(a.b(j2, 80), "SELECT COUNT(1) FROM queue WHERE rowid IN ", j2, " AND retry_count = 2147483647 LIMIT 1"), null) > 0) { g().i.a("The number of upload retries exceeds the limit. Will remain unchanged."); } try { SQLiteDatabase t = t(); - StringBuilder sb = new StringBuilder(String.valueOf(g2).length() + 127); + StringBuilder sb = new StringBuilder(String.valueOf(j2).length() + 127); sb.append("UPDATE queue SET retry_count = IFNULL(retry_count, 0) + 1 WHERE rowid IN "); - sb.append(g2); + sb.append(j2); sb.append(" AND (retry_count IS NULL OR retry_count < 2147483647)"); t.execSQL(sb.toString()); } catch (SQLiteException e2) { @@ -579,7 +580,7 @@ public final class g extends i9 { d.w(e1Var.G1()); d.F(e1Var.n1()); i0(); - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); + Objects.requireNonNull((c) this.a.o); long currentTimeMillis = System.currentTimeMillis(); if (e1Var.o1() < currentTimeMillis - c.B() || e1Var.o1() > c.B() + currentTimeMillis) { g().i.d("Storing bundle outside of the max uploading time span. appId, now, timestamp", q3.s(e1Var.G1()), Long.valueOf(currentTimeMillis), Long.valueOf(e1Var.o1())); @@ -639,8 +640,8 @@ public final class g extends i9 { public final boolean M(u9 u9Var) { b(); n(); - if (Y(u9Var.a, u9Var.f1287c) == null) { - if (t9.X(u9Var.f1287c)) { + if (Y(u9Var.a, u9Var.f1246c) == null) { + if (t9.X(u9Var.f1246c)) { long S = S("select count(1) from user_attributes where app_id=? and name not like '!_%' escape '!'", new String[]{u9Var.a}); c cVar = this.a.h; String str = u9Var.a; @@ -652,14 +653,14 @@ public final class g extends i9 { if (S >= ((long) i2)) { return false; } - } else if (!"_npa".equals(u9Var.f1287c) && S("select count(1) from user_attributes where app_id=? and origin=? AND name like '!_%' escape '!'", new String[]{u9Var.a, u9Var.b}) >= 25) { + } else if (!"_npa".equals(u9Var.f1246c) && S("select count(1) from user_attributes where app_id=? and origin=? AND name like '!_%' escape '!'", new String[]{u9Var.a, u9Var.b}) >= 25) { return false; } } ContentValues contentValues = new ContentValues(); contentValues.put("app_id", u9Var.a); contentValues.put("origin", u9Var.b); - contentValues.put(ModelAuditLogEntry.CHANGE_KEY_NAME, u9Var.f1287c); + contentValues.put(ModelAuditLogEntry.CHANGE_KEY_NAME, u9Var.f1246c); contentValues.put("set_timestamp", Long.valueOf(u9Var.d)); G(contentValues, "value", u9Var.e); try { @@ -683,7 +684,7 @@ public final class g extends i9 { contentValues.put("app_id", zzz.i); contentValues.put("origin", zzz.j); contentValues.put(ModelAuditLogEntry.CHANGE_KEY_NAME, zzz.k.j); - G(contentValues, "value", zzz.k.v0()); + G(contentValues, "value", zzz.k.w0()); contentValues.put("active", Boolean.valueOf(zzz.m)); contentValues.put("trigger_event_name", zzz.n); contentValues.put("trigger_timeout", Long.valueOf(zzz.p)); @@ -693,9 +694,9 @@ public final class g extends i9 { e(); contentValues.put("triggered_event", t9.g0(zzz.q)); contentValues.put("triggered_timestamp", Long.valueOf(zzz.k.k)); - contentValues.put("time_to_live", Long.valueOf(zzz.f2813r)); + contentValues.put("time_to_live", Long.valueOf(zzz.r)); e(); - contentValues.put("expired_event", t9.g0(zzz.s)); + contentValues.put("expired_event", t9.g0(zzz.f2393s)); try { if (t().insertWithOnConflict("conditional_properties", null, contentValues, 5) == -1) { g().f.b("Failed to insert/update conditional user property (got -1)", q3.s(zzz.i)); @@ -715,12 +716,12 @@ public final class g extends i9 { Integer num = null; if (TextUtils.isEmpty(l0Var.z())) { s3 s3Var = g().i; - Object s = q3.s(str); + Object s2 = q3.s(str); Integer valueOf = Integer.valueOf(i2); if (l0Var.x()) { num = Integer.valueOf(l0Var.y()); } - s3Var.d("Event filter had no event name. Audience definition ignored. appId, audienceId, filterId", s, valueOf, String.valueOf(num)); + s3Var.d("Event filter had no event name. Audience definition ignored. appId, audienceId, filterId", s2, valueOf, String.valueOf(num)); return false; } byte[] d2 = l0Var.d(); @@ -752,12 +753,12 @@ public final class g extends i9 { Integer num = null; if (TextUtils.isEmpty(o0Var.x())) { s3 s3Var = g().i; - Object s = q3.s(str); + Object s2 = q3.s(str); Integer valueOf = Integer.valueOf(i2); if (o0Var.v()) { num = Integer.valueOf(o0Var.w()); } - s3Var.d("Property filter had no property name. Audience definition ignored. appId, audienceId, filterId", s, valueOf, String.valueOf(num)); + s3Var.d("Property filter had no property name. Audience definition ignored. appId, audienceId, filterId", s2, valueOf, String.valueOf(num)); return false; } byte[] d2 = o0Var.d(); @@ -864,16 +865,16 @@ public final class g extends i9 { a4Var.e(cursor.isNull(10) || cursor.getInt(10) != 0); long j2 = cursor.getLong(11); a4Var.a.f().b(); - a4Var.E |= a4Var.f1218x != j2; - a4Var.f1218x = j2; + a4Var.E |= a4Var.f1180x != j2; + a4Var.f1180x = j2; long j3 = cursor.getLong(12); a4Var.a.f().b(); - a4Var.E |= a4Var.f1219y != j3; - a4Var.f1219y = j3; + a4Var.E |= a4Var.f1181y != j3; + a4Var.f1181y = j3; long j4 = cursor.getLong(13); a4Var.a.f().b(); - a4Var.E |= a4Var.f1220z != j4; - a4Var.f1220z = j4; + a4Var.E |= a4Var.f1182z != j4; + a4Var.f1182z = j4; long j5 = cursor.getLong(14); a4Var.a.f().b(); a4Var.E |= a4Var.A != j5; @@ -908,7 +909,7 @@ public final class g extends i9 { if (!cursor.isNull(27)) { a4Var.d(Arrays.asList(cursor.getString(27).split(",", -1))); } - if (da.b() && this.a.h.u(str, p.j0)) { + if (da.b() && this.a.h.u(str, p.f1229j0)) { a4Var.u(cursor.getString(28)); } a4Var.a.f().b(); @@ -1002,8 +1003,8 @@ public final class g extends i9 { arrayList.add(Integer.toString(num.intValue())); } String join = TextUtils.join(",", arrayList); - String g2 = a.g(a.b(join, 2), "(", join, ")"); - return t.delete("audience_filter_values", a.g(a.b(g2, 140), "audience_id in (select audience_id from audience_filter_values where app_id=? and audience_id not in ", g2, " order by rowid desc limit -1 offset ?)"), new String[]{str, Integer.toString(max)}) > 0; + String j2 = a.j(a.b(join, 2), "(", join, ")"); + return t.delete("audience_filter_values", a.j(a.b(j2, 140), "audience_id in (select audience_id from audience_filter_values where app_id=? and audience_id not in ", j2, " order by rowid desc limit -1 offset ?)"), new String[]{str, Integer.toString(max)}) > 0; } catch (SQLiteException e2) { g().f.c("Database error querying filters. appId", q3.s(str), e2); return false; @@ -1361,7 +1362,7 @@ public final class g extends i9 { public final long g0(String str, String str2) { Throwable th; SQLiteException e2; - long w2; + long w; d.w(str); d.w(str2); b(); @@ -1375,8 +1376,8 @@ public final class g extends i9 { sb.append(str2); sb.append(" from app2 where app_id=?"); try { - w2 = w(sb.toString(), new String[]{str}, -1); - if (w2 == -1) { + w = w(sb.toString(), new String[]{str}, -1); + if (w == -1) { ContentValues contentValues = new ContentValues(); contentValues.put("app_id", str); contentValues.put("first_open_count", (Integer) 0); @@ -1386,7 +1387,7 @@ public final class g extends i9 { t.endTransaction(); return -1; } - w2 = 0; + w = 0; } } catch (SQLiteException e3) { e2 = e3; @@ -1403,7 +1404,7 @@ public final class g extends i9 { try { ContentValues contentValues2 = new ContentValues(); contentValues2.put("app_id", str); - contentValues2.put(str2, Long.valueOf(1 + w2)); + contentValues2.put(str2, Long.valueOf(1 + w)); if (((long) t.update("app2", contentValues2, "app_id = ?", new String[]{str})) == 0) { g().f.c("Failed to update column (got 0). appId", q3.s(str), str2); t.endTransaction(); @@ -1411,10 +1412,10 @@ public final class g extends i9 { } t.setTransactionSuccessful(); t.endTransaction(); - return w2; + return w; } catch (SQLiteException e4) { e2 = e4; - j2 = w2; + j2 = w; g().f.d("Error inserting column. appId", q3.s(str), str2, e2); t.endTransaction(); return j2; @@ -1510,15 +1511,15 @@ public final class g extends i9 { n(); if (R()) { long a = l().i.a(); - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); + Objects.requireNonNull((c) this.a.o); long elapsedRealtime = SystemClock.elapsedRealtime(); - if (Math.abs(elapsedRealtime - a) > p.f1272y.a(null).longValue()) { + if (Math.abs(elapsedRealtime - a) > p.f1232y.a(null).longValue()) { l().i.b(elapsedRealtime); b(); n(); if (R()) { SQLiteDatabase t = t(); - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); + Objects.requireNonNull((c) this.a.o); int delete = t.delete("queue", "abs(bundle_end_timestamp - ?) > cast(? as integer)", new String[]{String.valueOf(System.currentTimeMillis()), String.valueOf(c.B())}); if (delete > 0) { g().n.b("Deleted stale rows. rowsDeleted", Integer.valueOf(delete)); @@ -1685,7 +1686,7 @@ public final class g extends i9 { if (query.getLong(0) == j2) { fVar.b = query.getLong(1); fVar.a = query.getLong(2); - fVar.f1235c = query.getLong(3); + fVar.f1196c = query.getLong(3); fVar.d = query.getLong(4); fVar.e = query.getLong(5); } @@ -1696,7 +1697,7 @@ public final class g extends i9 { fVar.a += j3; } if (z4) { - fVar.f1235c += j3; + fVar.f1196c += j3; } if (z5) { fVar.d += j3; @@ -1708,7 +1709,7 @@ public final class g extends i9 { contentValues.put("day", Long.valueOf(j2)); contentValues.put("daily_public_events_count", Long.valueOf(fVar.a)); contentValues.put("daily_events_count", Long.valueOf(fVar.b)); - contentValues.put("daily_conversions_count", Long.valueOf(fVar.f1235c)); + contentValues.put("daily_conversions_count", Long.valueOf(fVar.f1196c)); contentValues.put("daily_error_events_count", Long.valueOf(fVar.d)); contentValues.put("daily_realtime_events_count", Long.valueOf(fVar.e)); t.update("apps", contentValues, "app_id=?", strArr); diff --git a/app/src/main/java/c/i/a/f/i/b/h.java b/app/src/main/java/c/i/a/f/i/b/h.java index 88b63a55a4..f241519d4c 100644 --- a/app/src/main/java/c/i/a/f/i/b/h.java +++ b/app/src/main/java/c/i/a/f/i/b/h.java @@ -7,7 +7,7 @@ import android.database.sqlite.SQLiteOpenHelper; import android.os.SystemClock; import androidx.annotation.WorkerThread; import c.i.a.f.e.o.c; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.f; import java.util.Objects; /* compiled from: com.google.android.gms:play-services-measurement@@18.0.0 */ public final class h extends SQLiteOpenHelper { @@ -27,7 +27,7 @@ public final class h extends SQLiteOpenHelper { boolean z2; e9 e9Var = this.i.m; if (e9Var.b != 0) { - Objects.requireNonNull((d) e9Var.a); + Objects.requireNonNull((c) e9Var.a); if (SystemClock.elapsedRealtime() - e9Var.b < 3600000) { z2 = false; if (!z2) { @@ -35,7 +35,7 @@ public final class h extends SQLiteOpenHelper { return super.getWritableDatabase(); } catch (SQLiteException unused) { e9 e9Var2 = this.i.m; - Objects.requireNonNull((d) e9Var2.a); + Objects.requireNonNull((c) e9Var2.a); e9Var2.b = SystemClock.elapsedRealtime(); this.i.g().f.a("Opening the database failed, dropping and recreating it"); if (!this.i.a.b.getDatabasePath("google_app_measurement.db").delete()) { @@ -63,7 +63,7 @@ public final class h extends SQLiteOpenHelper { @Override // android.database.sqlite.SQLiteOpenHelper @WorkerThread public final void onCreate(SQLiteDatabase sQLiteDatabase) { - c.R0(this.i.g(), sQLiteDatabase); + f.M1(this.i.g(), sQLiteDatabase); } @Override // android.database.sqlite.SQLiteOpenHelper @@ -74,20 +74,20 @@ public final class h extends SQLiteOpenHelper { @Override // android.database.sqlite.SQLiteOpenHelper @WorkerThread public final void onOpen(SQLiteDatabase sQLiteDatabase) { - c.S0(this.i.g(), sQLiteDatabase, "events", "CREATE TABLE IF NOT EXISTS events ( app_id TEXT NOT NULL, name TEXT NOT NULL, lifetime_count INTEGER NOT NULL, current_bundle_count INTEGER NOT NULL, last_fire_timestamp INTEGER NOT NULL, PRIMARY KEY (app_id, name)) ;", "app_id,name,lifetime_count,current_bundle_count,last_fire_timestamp", g.d); - c.S0(this.i.g(), sQLiteDatabase, "conditional_properties", "CREATE TABLE IF NOT EXISTS conditional_properties ( app_id TEXT NOT NULL, origin TEXT NOT NULL, name TEXT NOT NULL, value BLOB NOT NULL, creation_timestamp INTEGER NOT NULL, active INTEGER NOT NULL, trigger_event_name TEXT, trigger_timeout INTEGER NOT NULL, timed_out_event BLOB,triggered_event BLOB, triggered_timestamp INTEGER NOT NULL, time_to_live INTEGER NOT NULL, expired_event BLOB, PRIMARY KEY (app_id, name)) ;", "app_id,origin,name,value,active,trigger_event_name,trigger_timeout,creation_timestamp,timed_out_event,triggered_event,triggered_timestamp,time_to_live,expired_event", null); - c.S0(this.i.g(), sQLiteDatabase, "user_attributes", "CREATE TABLE IF NOT EXISTS user_attributes ( app_id TEXT NOT NULL, name TEXT NOT NULL, set_timestamp INTEGER NOT NULL, value BLOB NOT NULL, PRIMARY KEY (app_id, name)) ;", "app_id,name,set_timestamp,value", g.e); - c.S0(this.i.g(), sQLiteDatabase, "apps", "CREATE TABLE IF NOT EXISTS apps ( app_id TEXT NOT NULL, app_instance_id TEXT, gmp_app_id TEXT, resettable_device_id_hash TEXT, last_bundle_index INTEGER NOT NULL, last_bundle_end_timestamp INTEGER NOT NULL, PRIMARY KEY (app_id)) ;", "app_id,app_instance_id,gmp_app_id,resettable_device_id_hash,last_bundle_index,last_bundle_end_timestamp", g.f); - c.S0(this.i.g(), sQLiteDatabase, "queue", "CREATE TABLE IF NOT EXISTS queue ( app_id TEXT NOT NULL, bundle_end_timestamp INTEGER NOT NULL, data BLOB NOT NULL);", "app_id,bundle_end_timestamp,data", g.h); - c.S0(this.i.g(), sQLiteDatabase, "raw_events_metadata", "CREATE TABLE IF NOT EXISTS raw_events_metadata ( app_id TEXT NOT NULL, metadata_fingerprint INTEGER NOT NULL, metadata BLOB NOT NULL, PRIMARY KEY (app_id, metadata_fingerprint));", "app_id,metadata_fingerprint,metadata", null); - c.S0(this.i.g(), sQLiteDatabase, "raw_events", "CREATE TABLE IF NOT EXISTS raw_events ( app_id TEXT NOT NULL, name TEXT NOT NULL, timestamp INTEGER NOT NULL, metadata_fingerprint INTEGER NOT NULL, data BLOB NOT NULL);", "app_id,name,timestamp,metadata_fingerprint,data", g.g); - c.S0(this.i.g(), sQLiteDatabase, "event_filters", "CREATE TABLE IF NOT EXISTS event_filters ( app_id TEXT NOT NULL, audience_id INTEGER NOT NULL, filter_id INTEGER NOT NULL, event_name TEXT NOT NULL, data BLOB NOT NULL, PRIMARY KEY (app_id, event_name, audience_id, filter_id));", "app_id,audience_id,filter_id,event_name,data", g.i); - c.S0(this.i.g(), sQLiteDatabase, "property_filters", "CREATE TABLE IF NOT EXISTS property_filters ( app_id TEXT NOT NULL, audience_id INTEGER NOT NULL, filter_id INTEGER NOT NULL, property_name TEXT NOT NULL, data BLOB NOT NULL, PRIMARY KEY (app_id, property_name, audience_id, filter_id));", "app_id,audience_id,filter_id,property_name,data", g.j); - c.S0(this.i.g(), sQLiteDatabase, "audience_filter_values", "CREATE TABLE IF NOT EXISTS audience_filter_values ( app_id TEXT NOT NULL, audience_id INTEGER NOT NULL, current_results BLOB, PRIMARY KEY (app_id, audience_id));", "app_id,audience_id,current_results", null); - c.S0(this.i.g(), sQLiteDatabase, "app2", "CREATE TABLE IF NOT EXISTS app2 ( app_id TEXT NOT NULL, first_open_count INTEGER NOT NULL, PRIMARY KEY (app_id));", "app_id,first_open_count", g.k); - c.S0(this.i.g(), sQLiteDatabase, "main_event_params", "CREATE TABLE IF NOT EXISTS main_event_params ( app_id TEXT NOT NULL, event_id TEXT NOT NULL, children_to_process INTEGER NOT NULL, main_event BLOB NOT NULL, PRIMARY KEY (app_id));", "app_id,event_id,children_to_process,main_event", null); - c.S0(this.i.g(), sQLiteDatabase, "default_event_params", "CREATE TABLE IF NOT EXISTS default_event_params ( app_id TEXT NOT NULL, parameters BLOB NOT NULL, PRIMARY KEY (app_id));", "app_id,parameters", null); - c.S0(this.i.g(), sQLiteDatabase, "consent_settings", "CREATE TABLE IF NOT EXISTS consent_settings ( app_id TEXT NOT NULL, consent_state TEXT NOT NULL, PRIMARY KEY (app_id));", "app_id,consent_state", null); + f.N1(this.i.g(), sQLiteDatabase, "events", "CREATE TABLE IF NOT EXISTS events ( app_id TEXT NOT NULL, name TEXT NOT NULL, lifetime_count INTEGER NOT NULL, current_bundle_count INTEGER NOT NULL, last_fire_timestamp INTEGER NOT NULL, PRIMARY KEY (app_id, name)) ;", "app_id,name,lifetime_count,current_bundle_count,last_fire_timestamp", g.d); + f.N1(this.i.g(), sQLiteDatabase, "conditional_properties", "CREATE TABLE IF NOT EXISTS conditional_properties ( app_id TEXT NOT NULL, origin TEXT NOT NULL, name TEXT NOT NULL, value BLOB NOT NULL, creation_timestamp INTEGER NOT NULL, active INTEGER NOT NULL, trigger_event_name TEXT, trigger_timeout INTEGER NOT NULL, timed_out_event BLOB,triggered_event BLOB, triggered_timestamp INTEGER NOT NULL, time_to_live INTEGER NOT NULL, expired_event BLOB, PRIMARY KEY (app_id, name)) ;", "app_id,origin,name,value,active,trigger_event_name,trigger_timeout,creation_timestamp,timed_out_event,triggered_event,triggered_timestamp,time_to_live,expired_event", null); + f.N1(this.i.g(), sQLiteDatabase, "user_attributes", "CREATE TABLE IF NOT EXISTS user_attributes ( app_id TEXT NOT NULL, name TEXT NOT NULL, set_timestamp INTEGER NOT NULL, value BLOB NOT NULL, PRIMARY KEY (app_id, name)) ;", "app_id,name,set_timestamp,value", g.e); + f.N1(this.i.g(), sQLiteDatabase, "apps", "CREATE TABLE IF NOT EXISTS apps ( app_id TEXT NOT NULL, app_instance_id TEXT, gmp_app_id TEXT, resettable_device_id_hash TEXT, last_bundle_index INTEGER NOT NULL, last_bundle_end_timestamp INTEGER NOT NULL, PRIMARY KEY (app_id)) ;", "app_id,app_instance_id,gmp_app_id,resettable_device_id_hash,last_bundle_index,last_bundle_end_timestamp", g.f); + f.N1(this.i.g(), sQLiteDatabase, "queue", "CREATE TABLE IF NOT EXISTS queue ( app_id TEXT NOT NULL, bundle_end_timestamp INTEGER NOT NULL, data BLOB NOT NULL);", "app_id,bundle_end_timestamp,data", g.h); + f.N1(this.i.g(), sQLiteDatabase, "raw_events_metadata", "CREATE TABLE IF NOT EXISTS raw_events_metadata ( app_id TEXT NOT NULL, metadata_fingerprint INTEGER NOT NULL, metadata BLOB NOT NULL, PRIMARY KEY (app_id, metadata_fingerprint));", "app_id,metadata_fingerprint,metadata", null); + f.N1(this.i.g(), sQLiteDatabase, "raw_events", "CREATE TABLE IF NOT EXISTS raw_events ( app_id TEXT NOT NULL, name TEXT NOT NULL, timestamp INTEGER NOT NULL, metadata_fingerprint INTEGER NOT NULL, data BLOB NOT NULL);", "app_id,name,timestamp,metadata_fingerprint,data", g.g); + f.N1(this.i.g(), sQLiteDatabase, "event_filters", "CREATE TABLE IF NOT EXISTS event_filters ( app_id TEXT NOT NULL, audience_id INTEGER NOT NULL, filter_id INTEGER NOT NULL, event_name TEXT NOT NULL, data BLOB NOT NULL, PRIMARY KEY (app_id, event_name, audience_id, filter_id));", "app_id,audience_id,filter_id,event_name,data", g.i); + f.N1(this.i.g(), sQLiteDatabase, "property_filters", "CREATE TABLE IF NOT EXISTS property_filters ( app_id TEXT NOT NULL, audience_id INTEGER NOT NULL, filter_id INTEGER NOT NULL, property_name TEXT NOT NULL, data BLOB NOT NULL, PRIMARY KEY (app_id, property_name, audience_id, filter_id));", "app_id,audience_id,filter_id,property_name,data", g.j); + f.N1(this.i.g(), sQLiteDatabase, "audience_filter_values", "CREATE TABLE IF NOT EXISTS audience_filter_values ( app_id TEXT NOT NULL, audience_id INTEGER NOT NULL, current_results BLOB, PRIMARY KEY (app_id, audience_id));", "app_id,audience_id,current_results", null); + f.N1(this.i.g(), sQLiteDatabase, "app2", "CREATE TABLE IF NOT EXISTS app2 ( app_id TEXT NOT NULL, first_open_count INTEGER NOT NULL, PRIMARY KEY (app_id));", "app_id,first_open_count", g.k); + f.N1(this.i.g(), sQLiteDatabase, "main_event_params", "CREATE TABLE IF NOT EXISTS main_event_params ( app_id TEXT NOT NULL, event_id TEXT NOT NULL, children_to_process INTEGER NOT NULL, main_event BLOB NOT NULL, PRIMARY KEY (app_id));", "app_id,event_id,children_to_process,main_event", null); + f.N1(this.i.g(), sQLiteDatabase, "default_event_params", "CREATE TABLE IF NOT EXISTS default_event_params ( app_id TEXT NOT NULL, parameters BLOB NOT NULL, PRIMARY KEY (app_id));", "app_id,parameters", null); + f.N1(this.i.g(), sQLiteDatabase, "consent_settings", "CREATE TABLE IF NOT EXISTS consent_settings ( app_id TEXT NOT NULL, consent_state TEXT NOT NULL, PRIMARY KEY (app_id));", "app_id,consent_state", null); } @Override // android.database.sqlite.SQLiteOpenHelper diff --git a/app/src/main/java/c/i/a/f/i/b/h4.java b/app/src/main/java/c/i/a/f/i/b/h4.java index 360b04aa11..3847c4a2b9 100644 --- a/app/src/main/java/c/i/a/f/i/b/h4.java +++ b/app/src/main/java/c/i/a/f/i/b/h4.java @@ -9,7 +9,7 @@ public final class h4 { public final long b; /* renamed from: c reason: collision with root package name */ - public boolean f1237c; + public boolean f1198c; public long d; public final /* synthetic */ d4 e; @@ -22,8 +22,8 @@ public final class h4 { @WorkerThread public final long a() { - if (!this.f1237c) { - this.f1237c = true; + if (!this.f1198c) { + this.f1198c = true; this.d = this.e.w().getLong(this.a, this.b); } return this.d; diff --git a/app/src/main/java/c/i/a/f/i/b/h6.java b/app/src/main/java/c/i/a/f/i/b/h6.java index e5c214c2bd..cc68b966b0 100644 --- a/app/src/main/java/c/i/a/f/i/b/h6.java +++ b/app/src/main/java/c/i/a/f/i/b/h6.java @@ -11,7 +11,7 @@ public final class h6 implements Runnable { @Override // java.lang.Runnable public final void run() { - this.j.l().f1227r.b(this.i); + this.j.l().r.b(this.i); this.j.g().m.b("Session timeout duration set", Long.valueOf(this.i)); } } diff --git a/app/src/main/java/c/i/a/f/i/b/h7.java b/app/src/main/java/c/i/a/f/i/b/h7.java index 79c4598a79..dab394cc5a 100644 --- a/app/src/main/java/c/i/a/f/i/b/h7.java +++ b/app/src/main/java/c/i/a/f/i/b/h7.java @@ -6,7 +6,7 @@ import android.os.SystemClock; import androidx.annotation.MainThread; import androidx.annotation.NonNull; import androidx.annotation.WorkerThread; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import c.i.a.f.h.l.s9; import c.i.a.f.h.l.v9; import com.discord.models.domain.ModelAuditLogEntry; @@ -17,7 +17,7 @@ import java.util.concurrent.ConcurrentHashMap; public final class h7 extends a5 { /* renamed from: c reason: collision with root package name */ - public volatile i7 f1238c; + public volatile i7 f1199c; public i7 d; public i7 e; public final Map f = new ConcurrentHashMap(); @@ -47,7 +47,7 @@ public final class h7 extends a5 { } else { bundle.remove("_sc"); } - bundle.putLong("_si", i7Var.f1241c); + bundle.putLong("_si", i7Var.f1202c); } else if (i7Var == null && z2) { bundle.remove("_sn"); bundle.remove("_sc"); @@ -83,7 +83,7 @@ public final class h7 extends a5 { } z3 = false; } - if (i7Var2 == null || i7Var2.f1241c != i7Var.f1241c || !t9.q0(i7Var2.b, i7Var.b) || !t9.q0(i7Var2.a, i7Var.a)) { + if (i7Var2 == null || i7Var2.f1202c != i7Var.f1202c || !t9.q0(i7Var2.b, i7Var.b) || !t9.q0(i7Var2.a, i7Var.a)) { z4 = true; } if (z4) { @@ -101,7 +101,7 @@ public final class h7 extends a5 { if (str3 != null) { bundle2.putString("_pc", str3); } - bundle2.putLong("_pi", i7Var2.f1241c); + bundle2.putLong("_pi", i7Var2.f1202c); } if (this.a.h.o(p.T) && z3) { if (!((v9) s9.i.a()).a() || !this.a.h.o(p.V)) { @@ -122,7 +122,7 @@ public final class h7 extends a5 { if (i7Var.e) { str = "app"; if (!this.a.h.o(p.v0)) { - Objects.requireNonNull((d) this.a.o); + Objects.requireNonNull((c) this.a.o); long currentTimeMillis = System.currentTimeMillis(); if (i7Var.e) { long j4 = i7Var.f; @@ -136,7 +136,7 @@ public final class h7 extends a5 { } else { c6 n = n(); n.b(); - Objects.requireNonNull((d) n.a.o); + Objects.requireNonNull((c) n.a.o); n.E(str, "_vs", System.currentTimeMillis(), bundle2); } } @@ -158,7 +158,7 @@ public final class h7 extends a5 { @WorkerThread public final void C(i7 i7Var, boolean z2, long j) { a m = m(); - Objects.requireNonNull((d) this.a.o); + Objects.requireNonNull((c) this.a.o); m.t(SystemClock.elapsedRealtime()); if (s().w(i7Var != null && i7Var.d, z2, j) && i7Var != null) { i7Var.d = false; @@ -215,15 +215,15 @@ public final class h7 extends a5 { @MainThread public final void z(Activity activity, i7 i7Var, boolean z2) { i7 i7Var2; - i7 i7Var3 = this.f1238c == null ? this.d : this.f1238c; + i7 i7Var3 = this.f1199c == null ? this.d : this.f1199c; if (i7Var.b == null) { - i7Var2 = new i7(i7Var.a, activity != null ? x(activity.getClass().getCanonicalName()) : null, i7Var.f1241c, i7Var.e, i7Var.f); + i7Var2 = new i7(i7Var.a, activity != null ? x(activity.getClass().getCanonicalName()) : null, i7Var.f1202c, i7Var.e, i7Var.f); } else { i7Var2 = i7Var; } - this.d = this.f1238c; - this.f1238c = i7Var2; - Objects.requireNonNull((d) this.a.o); + this.d = this.f1199c; + this.f1199c = i7Var2; + Objects.requireNonNull((c) this.a.o); f().v(new j7(this, i7Var2, i7Var3, SystemClock.elapsedRealtime(), z2)); } } diff --git a/app/src/main/java/c/i/a/f/i/b/h8.java b/app/src/main/java/c/i/a/f/i/b/h8.java index 87fd6b6052..31b776268b 100644 --- a/app/src/main/java/c/i/a/f/i/b/h8.java +++ b/app/src/main/java/c/i/a/f/i/b/h8.java @@ -37,9 +37,9 @@ public final class h8 implements Runnable { return; } if (TextUtils.isEmpty(this.j)) { - this.i.set(i3Var.P(this.k, this.l, this.m, this.n)); + this.i.set(i3Var.S(this.k, this.l, this.m, this.n)); } else { - this.i.set(i3Var.t(this.j, this.k, this.l, this.m)); + this.i.set(i3Var.u(this.j, this.k, this.l, this.m)); } this.o.F(); this.i.notify(); diff --git a/app/src/main/java/c/i/a/f/i/b/ha.java b/app/src/main/java/c/i/a/f/i/b/ha.java index c2cd5b0441..0fa75681f4 100644 --- a/app/src/main/java/c/i/a/f/i/b/ha.java +++ b/app/src/main/java/c/i/a/f/i/b/ha.java @@ -33,7 +33,7 @@ public final class ha extends ea { } public final boolean i(Long l, Long l2, i1 i1Var, boolean z2) { - boolean z3 = f9.b() && this.h.a.h.u(this.a, p.f1259a0); + boolean z3 = f9.b() && this.h.a.h.u(this.a, p.f1219a0); boolean z4 = this.g.z(); boolean A = this.g.A(); boolean C = this.g.C(); @@ -80,7 +80,7 @@ public final class ha extends ea { if (bool == null) { return false; } - this.f1234c = Boolean.TRUE; + this.f1195c = Boolean.TRUE; if (C && !bool.booleanValue()) { return true; } diff --git a/app/src/main/java/c/i/a/f/i/b/i.java b/app/src/main/java/c/i/a/f/i/b/i.java index a861142761..1999913dd0 100644 --- a/app/src/main/java/c/i/a/f/i/b/i.java +++ b/app/src/main/java/c/i/a/f/i/b/i.java @@ -1,7 +1,7 @@ package c.i.a.f.i.b; import android.os.Handler; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import c.i.a.f.h.l.bc; import java.util.Objects; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ @@ -10,13 +10,13 @@ public abstract class i { public final t5 b; /* renamed from: c reason: collision with root package name */ - public final Runnable f1239c; + public final Runnable f1200c; public volatile long d; public i(t5 t5Var) { Objects.requireNonNull(t5Var, "null reference"); this.b = t5Var; - this.f1239c = new k(this, t5Var); + this.f1200c = new k(this, t5Var); } public abstract void a(); @@ -24,9 +24,9 @@ public abstract class i { public final void b(long j) { c(); if (j >= 0) { - Objects.requireNonNull((d) this.b.h()); + Objects.requireNonNull((c) this.b.h()); this.d = System.currentTimeMillis(); - if (!d().postDelayed(this.f1239c, j)) { + if (!d().postDelayed(this.f1200c, j)) { this.b.g().f.b("Failed to schedule delayed post. time", Long.valueOf(j)); } } @@ -34,7 +34,7 @@ public abstract class i { public final void c() { this.d = 0; - d().removeCallbacks(this.f1239c); + d().removeCallbacks(this.f1200c); } public final Handler d() { diff --git a/app/src/main/java/c/i/a/f/i/b/i3.java b/app/src/main/java/c/i/a/f/i/b/i3.java index 4c6af90e2f..09c14acd9a 100644 --- a/app/src/main/java/c/i/a/f/i/b/i3.java +++ b/app/src/main/java/c/i/a/f/i/b/i3.java @@ -10,17 +10,19 @@ import com.google.android.gms.measurement.internal.zzz; import java.util.List; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public interface i3 extends IInterface { - void E(long j, String str, String str2, String str3) throws RemoteException; + String A(zzn zzn) throws RemoteException; - void F(zzn zzn) throws RemoteException; + void H(long j, String str, String str2, String str3) throws RemoteException; - List G(String str, String str2, String str3) throws RemoteException; + void I(zzn zzn) throws RemoteException; - List H(String str, String str2, zzn zzn) throws RemoteException; + List J(String str, String str2, String str3) throws RemoteException; - List P(String str, String str2, boolean z2, zzn zzn) throws RemoteException; + List K(String str, String str2, zzn zzn) throws RemoteException; - void S(zzn zzn) throws RemoteException; + List S(String str, String str2, boolean z2, zzn zzn) throws RemoteException; + + void U(zzn zzn) throws RemoteException; void f0(zzn zzn) throws RemoteException; @@ -28,15 +30,13 @@ public interface i3 extends IInterface { void l(zzn zzn) throws RemoteException; - void q0(zzaq zzaq, zzn zzn) throws RemoteException; + void o0(zzaq zzaq, zzn zzn) throws RemoteException; - void r0(Bundle bundle, zzn zzn) throws RemoteException; + void p0(Bundle bundle, zzn zzn) throws RemoteException; - List t(String str, String str2, String str3, boolean z2) throws RemoteException; + void t0(zzku zzku, zzn zzn) throws RemoteException; - void u0(zzku zzku, zzn zzn) throws RemoteException; + List u(String str, String str2, String str3, boolean z2) throws RemoteException; - void v0(zzz zzz, zzn zzn) throws RemoteException; - - String z(zzn zzn) throws RemoteException; + void u0(zzz zzz, zzn zzn) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/i/b/i4.java b/app/src/main/java/c/i/a/f/i/b/i4.java index a3dd23406e..c7dfdc8801 100644 --- a/app/src/main/java/c/i/a/f/i/b/i4.java +++ b/app/src/main/java/c/i/a/f/i/b/i4.java @@ -13,7 +13,7 @@ public final class i4 { public final Bundle b = new Bundle(); /* renamed from: c reason: collision with root package name */ - public boolean f1240c; + public boolean f1201c; public Bundle d; public final /* synthetic */ d4 e; @@ -25,8 +25,8 @@ public final class i4 { @WorkerThread public final Bundle a() { - if (!this.f1240c) { - this.f1240c = true; + if (!this.f1201c) { + this.f1201c = true; String string = this.e.w().getString(this.a, null); if (string != null) { try { diff --git a/app/src/main/java/c/i/a/f/i/b/i7.java b/app/src/main/java/c/i/a/f/i/b/i7.java index e208c6c671..562a1583b5 100644 --- a/app/src/main/java/c/i/a/f/i/b/i7.java +++ b/app/src/main/java/c/i/a/f/i/b/i7.java @@ -5,7 +5,7 @@ public final class i7 { public final String b; /* renamed from: c reason: collision with root package name */ - public final long f1241c; + public final long f1202c; public boolean d; public final boolean e; public final long f; @@ -17,7 +17,7 @@ public final class i7 { public i7(String str, String str2, long j, boolean z2, long j2) { this.a = str; this.b = str2; - this.f1241c = j; + this.f1202c = j; this.d = false; this.e = z2; this.f = j2; diff --git a/app/src/main/java/c/i/a/f/i/b/i8.java b/app/src/main/java/c/i/a/f/i/b/i8.java index e34c72f8e6..247630908a 100644 --- a/app/src/main/java/c/i/a/f/i/b/i8.java +++ b/app/src/main/java/c/i/a/f/i/b/i8.java @@ -31,9 +31,9 @@ public final class i8 implements Runnable { q7Var.g().f.c("Failed to get conditional properties; not connected to service", this.i, this.j); return; } - ArrayList j0 = t9.j0(i3Var.H(this.i, this.j, this.k)); + ArrayList j02 = t9.j0(i3Var.K(this.i, this.j, this.k)); this.m.F(); - this.m.e().N(this.l, j0); + this.m.e().N(this.l, j02); } catch (RemoteException e) { this.m.g().f.d("Failed to get conditional properties; remote exception", this.i, this.j, e); } finally { diff --git a/app/src/main/java/c/i/a/f/i/b/i9.java b/app/src/main/java/c/i/a/f/i/b/i9.java index fb47c21f42..8b88d89d11 100644 --- a/app/src/main/java/c/i/a/f/i/b/i9.java +++ b/app/src/main/java/c/i/a/f/i/b/i9.java @@ -4,7 +4,7 @@ public abstract class i9 extends s5 implements t5 { public final k9 b; /* renamed from: c reason: collision with root package name */ - public boolean f1242c; + public boolean f1203c; public i9(k9 k9Var) { super(k9Var.k); @@ -17,16 +17,16 @@ public abstract class i9 extends s5 implements t5 { } public final void n() { - if (!this.f1242c) { + if (!this.f1203c) { throw new IllegalStateException("Not initialized"); } } public final void o() { - if (!this.f1242c) { + if (!this.f1203c) { p(); this.b.q++; - this.f1242c = true; + this.f1203c = true; return; } throw new IllegalStateException("Can't initialize twice"); diff --git a/app/src/main/java/c/i/a/f/i/b/ia.java b/app/src/main/java/c/i/a/f/i/b/ia.java index 88e46b158c..78b1347d9b 100644 --- a/app/src/main/java/c/i/a/f/i/b/ia.java +++ b/app/src/main/java/c/i/a/f/i/b/ia.java @@ -11,7 +11,7 @@ public final class ia implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzz createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); long j = 0; long j2 = 0; long j3 = 0; @@ -23,48 +23,48 @@ public final class ia implements Parcelable.Creator { zzaq zzaq2 = null; zzaq zzaq3 = null; boolean z2 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 2: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 3: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; case 4: - zzku = (zzku) d.S(parcel, readInt, zzku.CREATOR); + zzku = (zzku) d.P(parcel, readInt, zzku.CREATOR); break; case 5: - j = d.H1(parcel, readInt); + j = d.F1(parcel, readInt); break; case 6: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); break; case 7: - str3 = d.T(parcel, readInt); + str3 = d.Q(parcel, readInt); break; case 8: - zzaq = (zzaq) d.S(parcel, readInt, zzaq.CREATOR); + zzaq = (zzaq) d.P(parcel, readInt, zzaq.CREATOR); break; case 9: - j2 = d.H1(parcel, readInt); + j2 = d.F1(parcel, readInt); break; case 10: - zzaq2 = (zzaq) d.S(parcel, readInt, zzaq.CREATOR); + zzaq2 = (zzaq) d.P(parcel, readInt, zzaq.CREATOR); break; case 11: - j3 = d.H1(parcel, readInt); + j3 = d.F1(parcel, readInt); break; case 12: - zzaq3 = (zzaq) d.S(parcel, readInt, zzaq.CREATOR); + zzaq3 = (zzaq) d.P(parcel, readInt, zzaq.CREATOR); break; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzz(str, str2, zzku, j, z2, str3, zzaq, j2, zzaq2, j3, zzaq3); } diff --git a/app/src/main/java/c/i/a/f/i/b/j.java b/app/src/main/java/c/i/a/f/i/b/j.java index b5e0fa27de..92e1dcfa39 100644 --- a/app/src/main/java/c/i/a/f/i/b/j.java +++ b/app/src/main/java/c/i/a/f/i/b/j.java @@ -9,7 +9,7 @@ import android.content.pm.PackageManager; import androidx.annotation.WorkerThread; import androidx.core.content.ContextCompat; import c.d.b.a.a; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import java.io.IOException; import java.util.Calendar; import java.util.Locale; @@ -19,7 +19,7 @@ import java.util.concurrent.TimeUnit; public final class j extends r5 { /* renamed from: c reason: collision with root package name */ - public long f1243c; + public long f1204c; public String d; public Boolean e; public AccountManager f; @@ -33,13 +33,13 @@ public final class j extends r5 { @Override // c.i.a.f.i.b.r5 public final boolean r() { Calendar instance = Calendar.getInstance(); - this.f1243c = TimeUnit.MINUTES.convert((long) (instance.get(16) + instance.get(15)), TimeUnit.MILLISECONDS); + this.f1204c = TimeUnit.MINUTES.convert((long) (instance.get(16) + instance.get(15)), TimeUnit.MILLISECONDS); Locale locale = Locale.getDefault(); String language = locale.getLanguage(); Locale locale2 = Locale.ENGLISH; String lowerCase = language.toLowerCase(locale2); String lowerCase2 = locale.getCountry().toLowerCase(locale2); - this.d = a.g(a.b(lowerCase2, a.b(lowerCase, 1)), lowerCase, "-", lowerCase2); + this.d = a.j(a.b(lowerCase2, a.b(lowerCase, 1)), lowerCase, "-", lowerCase2); return false; } @@ -60,7 +60,7 @@ public final class j extends r5 { public final long t() { o(); - return this.f1243c; + return this.f1204c; } public final String u() { @@ -77,7 +77,7 @@ public final class j extends r5 { @WorkerThread public final boolean w() { b(); - Objects.requireNonNull((d) this.a.o); + Objects.requireNonNull((c) this.a.o); long currentTimeMillis = System.currentTimeMillis(); if (currentTimeMillis - this.h > 86400000) { this.g = null; diff --git a/app/src/main/java/c/i/a/f/i/b/j3.java b/app/src/main/java/c/i/a/f/i/b/j3.java index ff84cf56c0..7376ecd434 100644 --- a/app/src/main/java/c/i/a/f/i/b/j3.java +++ b/app/src/main/java/c/i/a/f/i/b/j3.java @@ -2,14 +2,14 @@ package c.i.a.f.i.b; import androidx.annotation.GuardedBy; import androidx.annotation.Nullable; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class j3 { public static final Object a = new Object(); public final String b; /* renamed from: c reason: collision with root package name */ - public final h3 f1244c; + public final h3 f1205c; public final V d; public final V e; public final Object f = new Object(); @@ -23,7 +23,7 @@ public final class j3 { this.b = str; this.d = obj; this.e = obj2; - this.f1244c = h3Var; + this.f1205c = h3Var; } public final V a(@Nullable V v) { @@ -32,7 +32,7 @@ public final class j3 { if (v != null) { return v; } - if (c.h == null) { + if (f.d == null) { return this.d; } synchronized (a) { @@ -45,7 +45,7 @@ public final class j3 { if (!ga.a()) { V v2 = null; try { - h3 h3Var = j3Var.f1244c; + h3 h3Var = j3Var.f1205c; if (h3Var != null) { v2 = (V) h3Var.a(); } @@ -60,7 +60,7 @@ public final class j3 { } } catch (SecurityException unused2) { } - h3 h3Var2 = this.f1244c; + h3 h3Var2 = this.f1205c; if (h3Var2 == null) { return this.d; } diff --git a/app/src/main/java/c/i/a/f/i/b/j4.java b/app/src/main/java/c/i/a/f/i/b/j4.java index 93c7665321..69e0a7146e 100644 --- a/app/src/main/java/c/i/a/f/i/b/j4.java +++ b/app/src/main/java/c/i/a/f/i/b/j4.java @@ -9,7 +9,7 @@ public final class j4 { public boolean b; /* renamed from: c reason: collision with root package name */ - public String f1245c; + public String f1206c; public final /* synthetic */ d4 d; public j4(d4 d4Var, String str) { @@ -22,9 +22,9 @@ public final class j4 { public final String a() { if (!this.b) { this.b = true; - this.f1245c = this.d.w().getString(this.a, null); + this.f1206c = this.d.w().getString(this.a, null); } - return this.f1245c; + return this.f1206c; } @WorkerThread @@ -32,6 +32,6 @@ public final class j4 { SharedPreferences.Editor edit = this.d.w().edit(); edit.putString(this.a, str); edit.apply(); - this.f1245c = str; + this.f1206c = str; } } diff --git a/app/src/main/java/c/i/a/f/i/b/j9.java b/app/src/main/java/c/i/a/f/i/b/j9.java index 45e19673bb..bc8d842eb6 100644 --- a/app/src/main/java/c/i/a/f/i/b/j9.java +++ b/app/src/main/java/c/i/a/f/i/b/j9.java @@ -1,6 +1,6 @@ package c.i.a.f.i.b; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import java.util.Objects; /* compiled from: com.google.android.gms:play-services-measurement@@18.0.0 */ public final class j9 implements Runnable { @@ -19,7 +19,7 @@ public final class j9 implements Runnable { g gVar = new g(k9Var); gVar.o(); k9Var.d = gVar; - k9Var.k.h.f1222c = k9Var.b; + k9Var.k.h.f1184c = k9Var.b; q8 q8Var = new q8(k9Var); q8Var.o(); k9Var.j = q8Var; @@ -42,7 +42,7 @@ public final class j9 implements Runnable { k9Var2.K().i0(); if (k9Var2.k.o().f.a() == 0) { h4 h4Var = k9Var2.k.o().f; - Objects.requireNonNull((d) k9Var2.k.o); + Objects.requireNonNull((c) k9Var2.k.o); h4Var.b(System.currentTimeMillis()); } k9Var2.w(); diff --git a/app/src/main/java/c/i/a/f/i/b/k3.java b/app/src/main/java/c/i/a/f/i/b/k3.java index 87fc3f3802..cb626826b6 100644 --- a/app/src/main/java/c/i/a/f/i/b/k3.java +++ b/app/src/main/java/c/i/a/f/i/b/k3.java @@ -19,7 +19,17 @@ public final class k3 extends a implements i3 { } @Override // c.i.a.f.i.b.i3 - public final void E(long j, String str, String str2, String str3) throws RemoteException { + public final String A(zzn zzn) throws RemoteException { + Parcel e = e(); + v.c(e, zzn); + Parcel g = g(11, e); + String readString = g.readString(); + g.recycle(); + return readString; + } + + @Override // c.i.a.f.i.b.i3 + public final void H(long j, String str, String str2, String str3) throws RemoteException { Parcel e = e(); e.writeLong(j); e.writeString(str); @@ -29,14 +39,14 @@ public final class k3 extends a implements i3 { } @Override // c.i.a.f.i.b.i3 - public final void F(zzn zzn) throws RemoteException { + public final void I(zzn zzn) throws RemoteException { Parcel e = e(); v.c(e, zzn); h(18, e); } @Override // c.i.a.f.i.b.i3 - public final List G(String str, String str2, String str3) throws RemoteException { + public final List J(String str, String str2, String str3) throws RemoteException { Parcel e = e(); e.writeString(str); e.writeString(str2); @@ -48,7 +58,7 @@ public final class k3 extends a implements i3 { } @Override // c.i.a.f.i.b.i3 - public final List H(String str, String str2, zzn zzn) throws RemoteException { + public final List K(String str, String str2, zzn zzn) throws RemoteException { Parcel e = e(); e.writeString(str); e.writeString(str2); @@ -60,7 +70,7 @@ public final class k3 extends a implements i3 { } @Override // c.i.a.f.i.b.i3 - public final List P(String str, String str2, boolean z2, zzn zzn) throws RemoteException { + public final List S(String str, String str2, boolean z2, zzn zzn) throws RemoteException { Parcel e = e(); e.writeString(str); e.writeString(str2); @@ -74,7 +84,7 @@ public final class k3 extends a implements i3 { } @Override // c.i.a.f.i.b.i3 - public final void S(zzn zzn) throws RemoteException { + public final void U(zzn zzn) throws RemoteException { Parcel e = e(); v.c(e, zzn); h(4, e); @@ -106,7 +116,7 @@ public final class k3 extends a implements i3 { } @Override // c.i.a.f.i.b.i3 - public final void q0(zzaq zzaq, zzn zzn) throws RemoteException { + public final void o0(zzaq zzaq, zzn zzn) throws RemoteException { Parcel e = e(); v.c(e, zzaq); v.c(e, zzn); @@ -114,7 +124,7 @@ public final class k3 extends a implements i3 { } @Override // c.i.a.f.i.b.i3 - public final void r0(Bundle bundle, zzn zzn) throws RemoteException { + public final void p0(Bundle bundle, zzn zzn) throws RemoteException { Parcel e = e(); v.c(e, bundle); v.c(e, zzn); @@ -122,7 +132,15 @@ public final class k3 extends a implements i3 { } @Override // c.i.a.f.i.b.i3 - public final List t(String str, String str2, String str3, boolean z2) throws RemoteException { + public final void t0(zzku zzku, zzn zzn) throws RemoteException { + Parcel e = e(); + v.c(e, zzku); + v.c(e, zzn); + h(2, e); + } + + @Override // c.i.a.f.i.b.i3 + public final List u(String str, String str2, String str3, boolean z2) throws RemoteException { Parcel e = e(); e.writeString(str); e.writeString(str2); @@ -136,28 +154,10 @@ public final class k3 extends a implements i3 { } @Override // c.i.a.f.i.b.i3 - public final void u0(zzku zzku, zzn zzn) throws RemoteException { - Parcel e = e(); - v.c(e, zzku); - v.c(e, zzn); - h(2, e); - } - - @Override // c.i.a.f.i.b.i3 - public final void v0(zzz zzz, zzn zzn) throws RemoteException { + public final void u0(zzz zzz, zzn zzn) throws RemoteException { Parcel e = e(); v.c(e, zzz); v.c(e, zzn); h(12, e); } - - @Override // c.i.a.f.i.b.i3 - public final String z(zzn zzn) throws RemoteException { - Parcel e = e(); - v.c(e, zzn); - Parcel g = g(11, e); - String readString = g.readString(); - g.recycle(); - return readString; - } } diff --git a/app/src/main/java/c/i/a/f/i/b/k4.java b/app/src/main/java/c/i/a/f/i/b/k4.java index e5e91f71c3..f3b39cc44e 100644 --- a/app/src/main/java/c/i/a/f/i/b/k4.java +++ b/app/src/main/java/c/i/a/f/i/b/k4.java @@ -3,6 +3,7 @@ package c.i.a.f.i.b; import android.content.SharedPreferences; import androidx.annotation.WorkerThread; import c.c.a.a0.d; +import c.i.a.f.e.o.c; import java.util.Objects; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class k4 { @@ -10,28 +11,28 @@ public final class k4 { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1246c; + public final String f1207c; public final long d; public final /* synthetic */ d4 e; public k4(d4 d4Var, String str, long j, g4 g4Var) { this.e = d4Var; d.w(str); - d.m(j > 0); + d.l(j > 0); this.a = str.concat(":start"); this.b = str.concat(":count"); - this.f1246c = str.concat(":value"); + this.f1207c = str.concat(":value"); this.d = j; } @WorkerThread public final void a() { this.e.b(); - Objects.requireNonNull((c.i.a.f.e.o.d) this.e.a.o); + Objects.requireNonNull((c) this.e.a.o); long currentTimeMillis = System.currentTimeMillis(); SharedPreferences.Editor edit = this.e.w().edit(); edit.remove(this.b); - edit.remove(this.f1246c); + edit.remove(this.f1207c); edit.putLong(this.a, currentTimeMillis); edit.apply(); } diff --git a/app/src/main/java/c/i/a/f/i/b/k8.java b/app/src/main/java/c/i/a/f/i/b/k8.java index 953f524511..c2518cfa47 100644 --- a/app/src/main/java/c/i/a/f/i/b/k8.java +++ b/app/src/main/java/c/i/a/f/i/b/k8.java @@ -15,7 +15,7 @@ import c.i.a.f.e.k.b; import c.i.a.f.e.n.a; import com.google.android.gms.common.ConnectionResult; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ -public final class k8 implements ServiceConnection, b.a, b.AbstractC0108b { +public final class k8 implements ServiceConnection, b.a, b.AbstractC0107b { public volatile boolean i; public volatile r3 j; public final /* synthetic */ q7 k; @@ -32,7 +32,7 @@ public final class k8 implements ServiceConnection, b.a, b.AbstractC0108b { this.k.f().v(new o8(this)); } - @Override // c.i.a.f.e.k.b.AbstractC0108b + @Override // c.i.a.f.e.k.b.AbstractC0107b @MainThread public final void g(@NonNull ConnectionResult connectionResult) { d.u("MeasurementServiceConnection.onConnectionFailed"); @@ -91,7 +91,7 @@ public final class k8 implements ServiceConnection, b.a, b.AbstractC0108b { try { a b = a.b(); q7 q7Var = this.k; - b.c(q7Var.a.b, q7Var.f1275c); + b.c(q7Var.a.b, q7Var.f1235c); } catch (IllegalArgumentException unused2) { } } else { diff --git a/app/src/main/java/c/i/a/f/i/b/k9.java b/app/src/main/java/c/i/a/f/i/b/k9.java index d49657d2a1..da94017dc1 100644 --- a/app/src/main/java/c/i/a/f/i/b/k9.java +++ b/app/src/main/java/c/i/a/f/i/b/k9.java @@ -27,6 +27,7 @@ import androidx.collection.ArrayMap; import androidx.exifinterface.media.ExifInterface; import androidx.recyclerview.widget.RecyclerView; import c.c.a.a0.d; +import c.i.a.f.e.o.c; import c.i.a.f.e.p.b; import c.i.a.f.h.l.a1; import c.i.a.f.h.l.a4; @@ -81,7 +82,7 @@ public class k9 implements t5 { public p4 b; /* renamed from: c reason: collision with root package name */ - public x3 f1247c; + public x3 f1208c; public g d; public b4 e; public h9 f; @@ -96,25 +97,23 @@ public class k9 implements t5 { public List o; public int p; public int q; + public boolean r; - /* renamed from: r reason: collision with root package name */ - public boolean f1248r; - public boolean s; + /* renamed from: s reason: collision with root package name */ + public boolean f1209s; public boolean t; public FileLock u; public FileChannel v; - - /* renamed from: w reason: collision with root package name */ - public List f1249w; + public List w; /* renamed from: x reason: collision with root package name */ - public List f1250x; + public List f1210x; /* renamed from: y reason: collision with root package name */ - public long f1251y; + public long f1211y; /* renamed from: z reason: collision with root package name */ - public final Map f1252z; + public final Map f1212z; /* compiled from: com.google.android.gms:play-services-measurement@@18.0.0 */ public class a { @@ -122,7 +121,7 @@ public class k9 implements t5 { public List b; /* renamed from: c reason: collision with root package name */ - public List f1253c; + public List f1213c; public long d; public a(k9 k9Var, j9 j9Var) { @@ -133,13 +132,13 @@ public class k9 implements t5 { } public final boolean b(long j, a1 a1Var) { - if (this.f1253c == null) { - this.f1253c = new ArrayList(); + if (this.f1213c == null) { + this.f1213c = new ArrayList(); } if (this.b == null) { this.b = new ArrayList(); } - if (this.f1253c.size() > 0 && ((this.f1253c.get(0).H() / 1000) / 60) / 60 != ((a1Var.H() / 1000) / 60) / 60) { + if (this.f1213c.size() > 0 && ((this.f1213c.get(0).H() / 1000) / 60) / 60 != ((a1Var.H() / 1000) / 60) / 60) { return false; } long g = this.d + ((long) a1Var.g()); @@ -147,38 +146,35 @@ public class k9 implements t5 { return false; } this.d = g; - this.f1253c.add(a1Var); + this.f1213c.add(a1Var); this.b.add(Long.valueOf(j)); - return this.f1253c.size() < Math.max(1, p.j.a(null).intValue()); + return this.f1213c.size() < Math.max(1, p.j.a(null).intValue()); } } public k9(r9 r9Var) { u4 b = u4.b(r9Var.a, null, null); this.k = b; - this.f1251y = -1; + this.f1211y = -1; q9 q9Var = new q9(this); q9Var.o(); this.h = q9Var; x3 x3Var = new x3(this); x3Var.o(); - this.f1247c = x3Var; + this.f1208c = x3Var; p4 p4Var = new p4(this); p4Var.o(); this.b = p4Var; - this.f1252z = new HashMap(); + this.f1212z = new HashMap(); b.f().v(new j9(this, r9Var)); } public static void C(i9 i9Var) { if (i9Var == null) { throw new IllegalStateException("Upload Component not created"); - } else if (!i9Var.f1242c) { + } else if (!i9Var.f1203c) { String valueOf = String.valueOf(i9Var.getClass()); - StringBuilder sb = new StringBuilder(valueOf.length() + 27); - sb.append("Component not initialized: "); - sb.append(valueOf); - throw new IllegalStateException(sb.toString()); + throw new IllegalStateException(c.d.b.a.a.i(valueOf.length() + 27, "Component not initialized: ", valueOf)); } } @@ -233,15 +229,15 @@ public class k9 implements t5 { } public final void A(a1.a aVar, a1.a aVar2) { - d.m("_e".equals(aVar.y())); + d.l("_e".equals(aVar.y())); N(); - c1 w2 = q9.w((a1) ((u4) aVar.p()), "_et"); - if (w2.I() && w2.J() > 0) { - long J = w2.J(); + c1 w = q9.w((a1) ((u4) aVar.p()), "_et"); + if (w.I() && w.J() > 0) { + long J = w.J(); N(); - c1 w3 = q9.w((a1) ((u4) aVar2.p()), "_et"); - if (w3 != null && w3.J() > 0) { - J += w3.J(); + c1 w2 = q9.w((a1) ((u4) aVar2.p()), "_et"); + if (w2 != null && w2.J() > 0) { + J += w2.J(); } N(); q9.E(aVar2, "_et", Long.valueOf(J)); @@ -258,7 +254,7 @@ public class k9 implements t5 { this.k.t().Q(b, this.k.h.m(zzn.i)); zzaq = b.a(); } - if (this.k.h.o(p.f1264e0) && "_cmp".equals(zzaq.i) && "referrer API v2".equals(zzaq.j.i.getString("_cis"))) { + if (this.k.h.o(p.f1224e0) && "_cmp".equals(zzaq.i) && "referrer API v2".equals(zzaq.j.i.getString("_cis"))) { String string = zzaq.j.i.getString("gclid"); if (!TextUtils.isEmpty(string)) { o(new zzku("_lgclid", zzaq.l, string, "auto"), zzn); @@ -287,7 +283,7 @@ public class k9 implements t5 { } } else { this.k.g().m.a("Falling back to manifest metadata value for ad personalization"); - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); o(new zzku("_npa", System.currentTimeMillis(), Long.valueOf(zzn.A.booleanValue() ? 1 : 0), "auto"), zzn); } } @@ -338,7 +334,7 @@ public class k9 implements t5 { } long j4 = zzn.u; if (j4 == 0) { - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); j4 = System.currentTimeMillis(); } j y2 = this.k.y(); @@ -359,7 +355,7 @@ public class k9 implements t5 { T = K().T(zzn.i); if (T != null) { this.k.t(); - if (t9.d0(zzn.j, T.v(), zzn.f2812z, T.y())) { + if (t9.d0(zzn.j, T.v(), zzn.f2392z, T.y())) { this.k.g().i.b("New GMP App Id passed in. Removing cached database data. appId", q3.s(T.o())); g K = K(); String o = T.o(); @@ -380,7 +376,7 @@ public class k9 implements t5 { } } if (T != null) { - if (((T.N() == -2147483648L || T.N() == zzn.f2808r) ? false : true) || (T.N() == -2147483648L && T.M() != null && !T.M().equals(zzn.k))) { + if (((T.N() == -2147483648L || T.N() == zzn.r) ? false : true) || (T.N() == -2147483648L && T.M() != null && !T.M().equals(zzn.k))) { Bundle bundle = new Bundle(); bundle.putString("_pv", T.M()); l(new zzaq("_au", new zzap(bundle), "auto", j4), zzn); @@ -390,7 +386,7 @@ public class k9 implements t5 { if (i == 0) { o(new zzku("_fot", j4, Long.valueOf(j5), "auto"), zzn); U(); - this.k.f1283x.a(zzn.i); + this.k.f1242x.a(zzn.i); U(); P(); Bundle bundle2 = new Bundle(); @@ -408,7 +404,7 @@ public class k9 implements t5 { str2 = "_et"; j2 = 1; } - if (zzn.f2811y) { + if (zzn.f2391y) { bundle2.putLong("_dac", j2); } g K2 = K(); @@ -486,7 +482,7 @@ public class k9 implements t5 { } else { j = 1; } - if (zzn.f2811y) { + if (zzn.f2391y) { bundle3.putLong("_dac", j); } B(new zzaq("_v", new zzap(bundle3), "auto", j4), zzn); @@ -563,16 +559,16 @@ public class k9 implements t5 { if (Z.m) { K().V(zzz.i, zzz.k.j); } - zzaq zzaq = zzz.s; + zzaq zzaq = zzz.f2393s; if (zzaq != null) { Bundle bundle = null; zzap zzap = zzaq.j; if (zzap != null) { - bundle = zzap.w0(); + bundle = zzap.x0(); } t9 t = this.k.t(); String str = zzz.i; - zzaq zzaq2 = zzz.s; + zzaq zzaq2 = zzz.f2393s; I(t.B(str, zzaq2.i, bundle, Z.j, zzaq2.l, true, x7.b() && this.k.h.o(p.M0)), zzn); } } else { @@ -638,16 +634,16 @@ public class k9 implements t5 { T.m(zzn.j); z2 = true; } - if (!TextUtils.equals(zzn.f2812z, T.y())) { - T.q(zzn.f2812z); + if (!TextUtils.equals(zzn.f2392z, T.y())) { + T.q(zzn.f2392z); z2 = true; } - if (da.b() && this.k.h.u(T.o(), p.j0) && !TextUtils.equals(zzn.D, T.B())) { + if (da.b() && this.k.h.u(T.o(), p.f1229j0) && !TextUtils.equals(zzn.D, T.B())) { T.u(zzn.D); z2 = true; } - if (!TextUtils.isEmpty(zzn.s) && !zzn.s.equals(T.H())) { - T.A(zzn.s); + if (!TextUtils.isEmpty(zzn.f2389s) && !zzn.f2389s.equals(T.H())) { + T.A(zzn.f2389s); z2 = true; } long j2 = zzn.m; @@ -659,8 +655,8 @@ public class k9 implements t5 { T.D(zzn.k); z2 = true; } - if (zzn.f2808r != T.N()) { - T.p(zzn.f2808r); + if (zzn.r != T.N()) { + T.p(zzn.r); z2 = true; } String str = zzn.l; @@ -688,12 +684,12 @@ public class k9 implements t5 { T.R(zzn.t); z2 = true; } - if (zzn.f2809w != T.h()) { - T.n(zzn.f2809w); + if (zzn.w != T.h()) { + T.n(zzn.w); z2 = true; } - if (zzn.f2810x != T.i()) { - T.r(zzn.f2810x); + if (zzn.f2390x != T.i()) { + T.r(zzn.f2390x); z2 = true; } if (zzn.A != T.j()) { @@ -716,18 +712,18 @@ public class k9 implements t5 { z2 = true; if (!TextUtils.equals(zzn.j, T.v())) { } - if (!TextUtils.equals(zzn.f2812z, T.y())) { + if (!TextUtils.equals(zzn.f2392z, T.y())) { } T.u(zzn.D); z2 = true; - T.A(zzn.s); + T.A(zzn.f2389s); z2 = true; long j2 = zzn.m; T.t(zzn.m); z2 = true; T.D(zzn.k); z2 = true; - if (zzn.f2808r != T.N()) { + if (zzn.r != T.N()) { } String str = zzn.l; T.G(zzn.l); @@ -740,9 +736,9 @@ public class k9 implements t5 { } T.R(zzn.t); z2 = true; - if (zzn.f2809w != T.h()) { + if (zzn.w != T.h()) { } - if (zzn.f2810x != T.i()) { + if (zzn.f2390x != T.i()) { } if (zzn.A != T.j()) { } @@ -778,12 +774,12 @@ public class k9 implements t5 { T.c(c(h)); } T.m(zzn.j); - T.q(zzn.f2812z); - if (da.b() && this.k.h.u(T.o(), p.j0)) { + T.q(zzn.f2392z); + if (da.b() && this.k.h.u(T.o(), p.f1229j0)) { T.u(zzn.D); } - if (!TextUtils.isEmpty(zzn.s)) { - T.A(zzn.s); + if (!TextUtils.isEmpty(zzn.f2389s)) { + T.A(zzn.f2389s); } long j3 = zzn.m; if (j3 != 0) { @@ -792,7 +788,7 @@ public class k9 implements t5 { if (!TextUtils.isEmpty(zzn.k)) { T.D(zzn.k); } - T.p(zzn.f2808r); + T.p(zzn.r); String str3 = zzn.l; if (str3 != null) { T.G(str3); @@ -805,8 +801,8 @@ public class k9 implements t5 { if (!this.k.h.o(p.y0)) { T.R(zzn.t); } - T.n(zzn.f2809w); - T.r(zzn.f2810x); + T.n(zzn.w); + T.r(zzn.f2390x); T.b(zzn.A); T.z(zzn.B); T.a.f().b(); @@ -867,7 +863,7 @@ public class k9 implements t5 { l = null; this.k.t().S(this.A, str, 11, "_ev", zzaq2.i, 0); } - if (z3 && (T = K().T(str)) != null && Math.abs(((c.i.a.f.e.o.d) this.k.h()).a() - Math.max(T.W(), T.V())) > p.f1273z.a(l).longValue()) { + if (z3 && (T = K().T(str)) != null && Math.abs(((c) this.k.h()).a() - Math.max(T.W(), T.V())) > p.f1233z.a(l).longValue()) { this.k.g().C().a("Fetching config for blacklisted app"); n(T); return; @@ -887,11 +883,11 @@ public class k9 implements t5 { G(zzn); boolean z4 = "ecommerce_purchase".equals(zzaq2.i) || "purchase".equals(zzaq2.i) || "refund".equals(zzaq2.i); if ("_iap".equals(zzaq2.i) || z4) { - String z0 = zzaq2.j.z0("currency"); + String A0 = zzaq2.j.A0("currency"); if (z4) { - double doubleValue = zzaq2.j.y0("value").doubleValue() * 1000000.0d; + double doubleValue = zzaq2.j.z0("value").doubleValue() * 1000000.0d; if (doubleValue == ShadowDrawableWrapper.COS_45) { - doubleValue = ((double) zzaq2.j.x0("value").longValue()) * 1000000.0d; + doubleValue = ((double) zzaq2.j.y0("value").longValue()) * 1000000.0d; } if (doubleValue > 9.223372036854776E18d || doubleValue < -9.223372036854776E18d) { this.k.g().A().c("Data lost. Currency value is too big. appId", q3.s(str), Double.valueOf(doubleValue)); @@ -909,10 +905,10 @@ public class k9 implements t5 { } } } else { - j2 = zzaq2.j.x0("value").longValue(); + j2 = zzaq2.j.y0("value").longValue(); } - if (!TextUtils.isEmpty(z0)) { - String upperCase = z0.toUpperCase(Locale.US); + if (!TextUtils.isEmpty(A0)) { + String upperCase = A0.toUpperCase(Locale.US); if (upperCase.matches("[A-Z]{3}")) { String concat = upperCase.length() != 0 ? "_ltv_".concat(upperCase) : new String("_ltv_"); u9 Y2 = K().Y(str, concat); @@ -921,9 +917,9 @@ public class k9 implements t5 { if (obj instanceof Long) { j = nanoTime; i = 0; - u9Var = new u9(str, zzaq2.k, concat, ((c.i.a.f.e.o.d) this.k.h()).a(), Long.valueOf(((Long) obj).longValue() + j2)); + u9Var = new u9(str, zzaq2.k, concat, ((c) this.k.h()).a(), Long.valueOf(((Long) obj).longValue() + j2)); if (!K().M(u9Var)) { - this.k.g().z().d("Too many unique user properties are set. Ignoring user property. appId", q3.s(str), this.k.u().y(u9Var.f1287c), u9Var.e); + this.k.g().z().d("Too many unique user properties are set. Ignoring user property. appId", q3.s(str), this.k.u().y(u9Var.f1246c), u9Var.e); this.k.t().S(this.A, str, 9, null, null, 0); } z2 = true; @@ -943,7 +939,7 @@ public class k9 implements t5 { } catch (SQLiteException e) { K.g().z().c("Error pruning currencies. appId", q3.s(str), e); } - u9Var = new u9(str, zzaq2.k, concat, ((c.i.a.f.e.o.d) this.k.h()).a(), Long.valueOf(j2)); + u9Var = new u9(str, zzaq2.k, concat, ((c) this.k.h()).a(), Long.valueOf(j2)); if (!K().M(u9Var)) { } z2 = true; @@ -999,20 +995,20 @@ public class k9 implements t5 { return; } } - Bundle w0 = zzaq2.j.w0(); - this.k.t().I(w0, "_o", zzaq2.k); + Bundle x0 = zzaq2.j.x0(); + this.k.t().I(x0, "_o", zzaq2.k); if (this.k.t().s0(str)) { - this.k.t().I(w0, "_dbg", 1L); - this.k.t().I(w0, "_r", 1L); + this.k.t().I(x0, "_dbg", 1L); + this.k.t().I(x0, "_r", 1L); } if ("_s".equals(zzaq2.i) && (Y = K().Y(zzn.i, "_sno")) != null && (Y.e instanceof Long)) { - this.k.t().I(w0, "_sno", Y.e); + this.k.t().I(x0, "_sno", Y.e); } long X2 = K().X(str); if (X2 > 0) { this.k.g().A().c("Data lost. Too many events stored on disk, deleted. appId", q3.s(str), Long.valueOf(X2)); } - m mVar = new m(this.k, zzaq2.k, str, zzaq2.i, zzaq2.l, 0, w0); + m mVar = new m(this.k, zzaq2.k, str, zzaq2.i, zzaq2.l, 0, x0); l z5 = K().z(str, mVar.b); if (z5 != null) { mVar = mVar.a(this.k, z5.f); @@ -1031,7 +1027,7 @@ public class k9 implements t5 { d.A(mVar); d.A(zzn); d.w(mVar.a); - d.m(mVar.a.equals(zzn.i)); + d.l(mVar.a.equals(zzn.i)); e1.a u0 = e1.u0(); u0.q(); u0.x("android"); @@ -1044,7 +1040,7 @@ public class k9 implements t5 { if (!TextUtils.isEmpty(zzn.k)) { u0.a0(zzn.k); } - long j3 = zzn.f2808r; + long j3 = zzn.r; if (j3 != -2147483648L) { u0.c0((int) j3); } @@ -1055,15 +1051,15 @@ public class k9 implements t5 { if (t8.b() && this.k.a().o(p.J0)) { u0.w0(a(zzn.i).h(d.b(zzn.E)).d()); } - if (da.b() && this.k.a().v(zzn.i, p.j0)) { + if (da.b() && this.k.a().v(zzn.i, p.f1229j0)) { if (TextUtils.isEmpty(u0.s0()) && !TextUtils.isEmpty(zzn.D)) { u0.u0(zzn.D); } - if (TextUtils.isEmpty(u0.s0()) && TextUtils.isEmpty(u0.x0()) && !TextUtils.isEmpty(zzn.f2812z)) { - u0.r0(zzn.f2812z); + if (TextUtils.isEmpty(u0.s0()) && TextUtils.isEmpty(u0.x0()) && !TextUtils.isEmpty(zzn.f2392z)) { + u0.r0(zzn.f2392z); } - } else if (TextUtils.isEmpty(u0.s0()) && !TextUtils.isEmpty(zzn.f2812z)) { - u0.r0(zzn.f2812z); + } else if (TextUtils.isEmpty(u0.s0()) && !TextUtils.isEmpty(zzn.f2392z)) { + u0.r0(zzn.f2392z); } long j4 = zzn.n; if (j4 != 0) { @@ -1076,16 +1072,16 @@ public class k9 implements t5 { } d h = a(zzn.i).h(d.b(zzn.E)); if (!t8.b() || !this.k.a().o(p.J0) || h.j()) { - Pair s = this.j.s(zzn.i, h); - if (!TextUtils.isEmpty((CharSequence) s.first)) { - if (zzn.f2809w) { - u0.e0((String) s.first); - Object obj2 = s.second; + Pair s2 = this.j.s(zzn.i, h); + if (!TextUtils.isEmpty((CharSequence) s2.first)) { + if (zzn.w) { + u0.e0((String) s2.first); + Object obj2 = s2.second; if (obj2 != null) { u0.y(((Boolean) obj2).booleanValue()); } } - } else if (!this.k.y().s(this.k.j()) && zzn.f2810x && (!hb.b() || !this.k.a().v(zzn.i, p.G0))) { + } else if (!this.k.y().s(this.k.j()) && zzn.f2390x && (!hb.b() || !this.k.a().v(zzn.i, p.G0))) { String string = Settings.Secure.getString(this.k.j().getContentResolver(), "android_id"); if (string == null) { this.k.g().A().b("null secure ID. appId", q3.s(u0.k0())); @@ -1124,7 +1120,7 @@ public class k9 implements t5 { } else { T2.c(c(h)); } - T2.A(zzn.s); + T2.A(zzn.f2389s); T2.m(zzn.j); if (!t8.b() || !this.k.a().o(p.J0) || h.j()) { T2.x(this.j.t(zzn.i)); @@ -1133,7 +1129,7 @@ public class k9 implements t5 { T2.a(0); T2.l(0); T2.D(zzn.k); - T2.p(zzn.f2808r); + T2.p(zzn.r); T2.G(zzn.l); T2.t(zzn.m); T2.w(zzn.n); @@ -1153,7 +1149,7 @@ public class k9 implements t5 { List C = K().C(zzn.i); for (int i2 = 0; i2 < C.size(); i2++) { i1.a L = i1.L(); - L.r(C.get(i2).f1287c); + L.r(C.get(i2).f1246c); L.q(C.get(i2).d); N().G(L, C.get(i2).e); u0.u(L); @@ -1194,8 +1190,8 @@ public class k9 implements t5 { } public final x3 J() { - C(this.f1247c); - return this.f1247c; + C(this.f1208c); + return this.f1208c; } public final g K() { @@ -1204,7 +1200,7 @@ public class k9 implements t5 { } public final boolean L(zzn zzn) { - return (!da.b() || !this.k.h.u(zzn.i, p.j0)) ? !TextUtils.isEmpty(zzn.j) || !TextUtils.isEmpty(zzn.f2812z) : !TextUtils.isEmpty(zzn.j) || !TextUtils.isEmpty(zzn.D) || !TextUtils.isEmpty(zzn.f2812z); + return (!da.b() || !this.k.h.u(zzn.i, p.f1229j0)) ? !TextUtils.isEmpty(zzn.j) || !TextUtils.isEmpty(zzn.f2392z) : !TextUtils.isEmpty(zzn.j) || !TextUtils.isEmpty(zzn.D) || !TextUtils.isEmpty(zzn.f2392z); } public final ba M() { @@ -1249,7 +1245,7 @@ public class k9 implements t5 { x(); } else { U(); - if (this.f1249w != null) { + if (this.w != null) { this.k.g().n.a("Uploading requested multiple times"); this.t = false; x(); @@ -1259,7 +1255,7 @@ public class k9 implements t5 { this.t = false; x(); } else { - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); long currentTimeMillis = System.currentTimeMillis(); int q = this.k.h.q(null, p.Q); long longValue = currentTimeMillis - p.d.a(null).longValue(); @@ -1271,8 +1267,8 @@ public class k9 implements t5 { } String u = K().u(); if (!TextUtils.isEmpty(u)) { - if (this.f1251y == -1) { - this.f1251y = K().j0(); + if (this.f1211y == -1) { + this.f1211y = K().j0(); } List> D = K().D(u, this.k.h.q(u, p.g), Math.max(0, this.k.h.q(u, p.h))); if (!D.isEmpty()) { @@ -1307,7 +1303,7 @@ public class k9 implements t5 { d1.a x2 = d1.x(); int size = D.size(); ArrayList arrayList = new ArrayList(D.size()); - boolean z3 = "1".equals(this.k.h.f1222c.i(u, "gaia_collection_enabled")) && (!t8.b() || !this.k.h.o(p.J0) || a(u).j()); + boolean z3 = "1".equals(this.k.h.f1184c.i(u, "gaia_collection_enabled")) && (!t8.b() || !this.k.h.o(p.J0) || a(u).j()); boolean z4 = !t8.b() || !this.k.h.o(p.J0) || a(u).j(); boolean z5 = !t8.b() || !this.k.h.o(p.J0) || a(u).k(); int i3 = 0; @@ -1375,11 +1371,11 @@ public class k9 implements t5 { String a3 = p.q.a(null); try { URL url = new URL(a3); - d.m(!arrayList.isEmpty()); - if (this.f1249w != null) { + d.l(!arrayList.isEmpty()); + if (this.w != null) { this.k.g().f.a("Set uploading progress before finishing the previous upload"); } else { - this.f1249w = new ArrayList(arrayList); + this.w = new ArrayList(arrayList); } this.k.o().g.b(currentTimeMillis); String str2 = "?"; @@ -1387,7 +1383,7 @@ public class k9 implements t5 { str2 = ((d1) x2.j).u().G1(); } this.k.g().n.d("Uploading data. app, uncompressed size, data", str2, Integer.valueOf(d.length), z6); - this.s = true; + this.f1209s = true; x3 J = J(); m9 m9Var = new m9(this, u); J.b(); @@ -1398,7 +1394,7 @@ public class k9 implements t5 { } } } else { - this.f1251y = -1; + this.f1211y = -1; String B = K().B(currentTimeMillis - p.d.a(null).longValue()); if (!TextUtils.isEmpty(B) && (T = K().T(B)) != null) { n(T); @@ -1432,7 +1428,7 @@ public class k9 implements t5 { boolean z3 = true; this.m = true; U(); - if (!this.k.h.o(p.f1268i0) || (fileLock = this.u) == null || !fileLock.isValid()) { + if (!this.k.h.o(p.f1228i0) || (fileLock = this.u) == null || !fileLock.isValid()) { try { FileChannel channel = new RandomAccessFile(new File(this.k.b.getFilesDir(), "google_app_measurement.db"), "rw").getChannel(); this.v = channel; @@ -1550,7 +1546,7 @@ public class k9 implements t5 { } public final long V() { - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); long currentTimeMillis = System.currentTimeMillis(); d4 o = this.k.o(); o.o(); @@ -1580,7 +1576,7 @@ public class k9 implements t5 { } U(); P(); - d dVar2 = this.f1252z.get(str); + d dVar2 = this.f1212z.get(str); if (dVar2 != null) { return dVar2; } @@ -1643,26 +1639,26 @@ public class k9 implements t5 { u9 Y = K().Y(aVar.k0(), str); if (Y == null || Y.e == null) { String k0 = aVar.k0(); - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); u9Var = new u9(k0, "auto", str, System.currentTimeMillis(), Long.valueOf(j)); } else { String k02 = aVar.k0(); - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); u9Var = new u9(k02, "auto", str, System.currentTimeMillis(), Long.valueOf(((Long) Y.e).longValue() + j)); } i1.a L = i1.L(); L.r(str); - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); L.q(System.currentTimeMillis()); L.s(((Long) u9Var.e).longValue()); i1 i1Var = (i1) ((u4) L.p()); - int s = q9.s(aVar, str); - if (s >= 0) { + int s2 = q9.s(aVar, str); + if (s2 >= 0) { if (aVar.k) { aVar.n(); aVar.k = false; } - e1.x((e1) aVar.j, s, i1Var); + e1.x((e1) aVar.j, s2, i1Var); z3 = true; } else { z3 = false; @@ -1711,9 +1707,9 @@ public class k9 implements t5 { List list4 = zzn.C; if (list4 != null) { if (list4.contains(zzaq2.i)) { - Bundle w0 = zzaq2.j.w0(); - w0.putLong("ga_safelisted", 1); - zzaq2 = new zzaq(zzaq2.i, new zzap(w0), zzaq2.k, zzaq2.l); + Bundle x0 = zzaq2.j.x0(); + x0.putLong("ga_safelisted", 1); + zzaq2 = new zzaq(zzaq2.i, new zzap(x0), zzaq2.k, zzaq2.l); } else { this.k.g().m.d("Dropping non-safelisted event. appId, event name, origin", str, zzaq2.i, zzaq2.k); return; @@ -1734,7 +1730,7 @@ public class k9 implements t5 { } for (zzz zzz : list) { if (zzz != null) { - this.k.g().n.d("User property timed out", zzz.i, this.k.u().y(zzz.k.j), zzz.k.v0()); + this.k.g().n.d("User property timed out", zzz.i, this.k.u().y(zzz.k.j), zzz.k.w0()); zzaq zzaq3 = zzz.o; if (zzaq3 != null) { I(new zzaq(zzaq3, j), zzn); @@ -1755,9 +1751,9 @@ public class k9 implements t5 { ArrayList arrayList = new ArrayList(list2.size()); for (zzz zzz2 : list2) { if (zzz2 != null) { - this.k.g().n.d("User property expired", zzz2.i, this.k.u().y(zzz2.k.j), zzz2.k.v0()); + this.k.g().n.d("User property expired", zzz2.i, this.k.u().y(zzz2.k.j), zzz2.k.w0()); K().V(str, zzz2.k.j); - zzaq zzaq4 = zzz2.s; + zzaq zzaq4 = zzz2.f2393s; if (zzaq4 != null) { arrayList.add(zzaq4); } @@ -1787,11 +1783,11 @@ public class k9 implements t5 { for (zzz zzz3 : list3) { if (zzz3 != null) { zzku zzku = zzz3.k; - u9 u9Var = new u9(zzz3.i, zzz3.j, zzku.j, j, zzku.v0()); + u9 u9Var = new u9(zzz3.i, zzz3.j, zzku.j, j, zzku.w0()); if (K().M(u9Var)) { - this.k.g().n.d("User property triggered", zzz3.i, this.k.u().y(u9Var.f1287c), u9Var.e); + this.k.g().n.d("User property triggered", zzz3.i, this.k.u().y(u9Var.f1246c), u9Var.e); } else { - this.k.g().f.d("Too many active user properties, ignoring", q3.s(zzz3.i), this.k.u().y(u9Var.f1287c), u9Var.e); + this.k.g().f.d("Too many active user properties, ignoring", q3.s(zzz3.i), this.k.u().y(u9Var.f1246c), u9Var.e); } zzaq zzaq5 = zzz3.q; if (zzaq5 != null) { @@ -1852,7 +1848,7 @@ public class k9 implements t5 { List k = T.k(); if (da.b()) { z2 = T2; - if (this.k.h.u(T.o(), p.j0)) { + if (this.k.h.u(T.o(), p.f1229j0)) { str2 = T.B(); B(zzaq, new zzn(str, v, M, N, O, P, Q, (String) null, z2, false, H, g, 0L, 0, h, i, false, y2, j, S, k, str2, (t8.b() || !this.k.h.o(p.J0)) ? "" : a(str).d())); } @@ -1869,7 +1865,7 @@ public class k9 implements t5 { @WorkerThread public final void n(a4 a4Var) { U(); - if (!da.b() || !this.k.h.u(a4Var.o(), p.j0)) { + if (!da.b() || !this.k.h.u(a4Var.o(), p.f1229j0)) { if (TextUtils.isEmpty(a4Var.v()) && TextUtils.isEmpty(a4Var.y())) { r(a4Var.o(), 204, null, null, null); return; @@ -1883,7 +1879,7 @@ public class k9 implements t5 { Uri.Builder builder = new Uri.Builder(); String v = a4Var.v(); if (TextUtils.isEmpty(v)) { - if (da.b() && cVar.a.h.u(a4Var.o(), p.j0)) { + if (da.b() && cVar.a.h.u(a4Var.o(), p.f1229j0)) { v = a4Var.B(); } v = a4Var.y(); @@ -1896,16 +1892,16 @@ public class k9 implements t5 { try { URL url = new URL(uri); this.k.g().n.b("Fetching remote configuration", a4Var.o()); - u0 s = H().s(a4Var.o()); + u0 s2 = H().s(a4Var.o()); p4 H = H(); String o = a4Var.o(); H.b(); String str = H.i.get(o); - if (s != null && !TextUtils.isEmpty(str)) { + if (s2 != null && !TextUtils.isEmpty(str)) { arrayMap = new ArrayMap(); arrayMap.put("If-Modified-Since", str); } - this.f1248r = true; + this.r = true; x3 J = J(); String o2 = a4Var.o(); l9 l9Var = new l9(this); @@ -1934,15 +1930,15 @@ public class k9 implements t5 { this.k.t().S(this.A, zzn.i, h02, "_ev", E, str != null ? str.length() : 0); return; } - int i02 = this.k.t().i0(zzku.j, zzku.v0()); + int i02 = this.k.t().i0(zzku.j, zzku.w0()); if (i02 != 0) { this.k.t(); String E2 = t9.E(zzku.j, 24, true); - Object v0 = zzku.v0(); - this.k.t().S(this.A, zzn.i, i02, "_ev", E2, (v0 == null || (!(v0 instanceof String) && !(v0 instanceof CharSequence))) ? 0 : String.valueOf(v0).length()); + Object w0 = zzku.w0(); + this.k.t().S(this.A, zzn.i, i02, "_ev", E2, (w0 == null || (!(w0 instanceof String) && !(w0 instanceof CharSequence))) ? 0 : String.valueOf(w0).length()); return; } - Object n0 = this.k.t().n0(zzku.j, zzku.v0()); + Object n0 = this.k.t().n0(zzku.j, zzku.w0()); if (n0 != null) { if ("_sid".equals(zzku.j)) { long j = zzku.k; @@ -1961,20 +1957,20 @@ public class k9 implements t5 { } l z2 = K().z(zzn.i, "_s"); if (z2 != null) { - j2 = z2.f1254c; + j2 = z2.f1214c; this.k.g().n.b("Backfill the session number. Last used session number", Long.valueOf(j2)); } o(new zzku("_sno", j, Long.valueOf(j2 + 1), str2), zzn); } u9 u9Var = new u9(zzn.i, zzku.n, zzku.j, zzku.k, n0); - this.k.g().n.c("Setting user property", this.k.u().y(u9Var.f1287c), n0); + this.k.g().n.c("Setting user property", this.k.u().y(u9Var.f1246c), n0); K().b0(); try { G(zzn); boolean M = K().M(u9Var); K().s(); if (!M) { - this.k.g().f.c("Too many unique user properties are set. Ignoring user property", this.k.u().y(u9Var.f1287c), u9Var.e); + this.k.g().f.c("Too many unique user properties are set. Ignoring user property", this.k.u().y(u9Var.f1246c), u9Var.e); this.k.t().S(this.A, zzn.i, 9, null, null, 0); } } finally { @@ -1986,10 +1982,10 @@ public class k9 implements t5 { @WorkerThread public final void p(zzn zzn) { - if (this.f1249w != null) { + if (this.w != null) { ArrayList arrayList = new ArrayList(); - this.f1250x = arrayList; - arrayList.addAll(this.f1249w); + this.f1210x = arrayList; + arrayList.addAll(this.w); } g K = K(); String str = zzn.i; @@ -2044,29 +2040,29 @@ public class k9 implements t5 { zzz2.q = Z.q; zzz2.m = z2; zzku zzku = zzz2.k; - zzz2.k = new zzku(zzku.j, Z.k.k, zzku.v0(), Z.k.n); + zzz2.k = new zzku(zzku.j, Z.k.k, zzku.w0(), Z.k.n); } else if (TextUtils.isEmpty(zzz2.n)) { zzku zzku2 = zzz2.k; - zzz2.k = new zzku(zzku2.j, zzz2.l, zzku2.v0(), zzz2.k.n); + zzz2.k = new zzku(zzku2.j, zzz2.l, zzku2.w0(), zzz2.k.n); zzz2.m = true; z3 = true; } if (zzz2.m) { zzku zzku3 = zzz2.k; - u9 u9Var = new u9(zzz2.i, zzz2.j, zzku3.j, zzku3.k, zzku3.v0()); + u9 u9Var = new u9(zzz2.i, zzz2.j, zzku3.j, zzku3.k, zzku3.w0()); if (K().M(u9Var)) { - this.k.g().m.d("User property updated immediately", zzz2.i, this.k.u().y(u9Var.f1287c), u9Var.e); + this.k.g().m.d("User property updated immediately", zzz2.i, this.k.u().y(u9Var.f1246c), u9Var.e); } else { - this.k.g().f.d("(2)Too many active user properties, ignoring", q3.s(zzz2.i), this.k.u().y(u9Var.f1287c), u9Var.e); + this.k.g().f.d("(2)Too many active user properties, ignoring", q3.s(zzz2.i), this.k.u().y(u9Var.f1246c), u9Var.e); } if (z3 && (zzaq = zzz2.q) != null) { I(new zzaq(zzaq, zzz2.l), zzn); } } if (K().N(zzz2)) { - this.k.g().m.d("Conditional property added", zzz2.i, this.k.u().y(zzz2.k.j), zzz2.k.v0()); + this.k.g().m.d("Conditional property added", zzz2.i, this.k.u().y(zzz2.k.j), zzz2.k.w0()); } else { - this.k.g().f.d("Too many conditional properties, ignoring", q3.s(zzz2.i), this.k.u().y(zzz2.k.j), zzz2.k.v0()); + this.k.g().f.d("Too many conditional properties, ignoring", q3.s(zzz2.i), this.k.u().y(zzz2.k.j), zzz2.k.w0()); } K().s(); } finally { @@ -2087,7 +2083,7 @@ public class k9 implements t5 { try { bArr = new byte[0]; } catch (Throwable th2) { - this.f1248r = false; + this.r = false; x(); throw th2; } @@ -2103,7 +2099,7 @@ public class k9 implements t5 { } else { if (!z3) { if (i != 404) { - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); T.I(System.currentTimeMillis()); K().I(T); this.k.g().n.c("Fetching config failed. code, error", Integer.valueOf(i), th); @@ -2111,7 +2107,7 @@ public class k9 implements t5 { H.b(); H.i.put(str, null); h4 h4Var = this.k.o().g; - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); h4Var.b(System.currentTimeMillis()); if (i != 503) { if (i != 429) { @@ -2120,7 +2116,7 @@ public class k9 implements t5 { } if (z2) { h4 h4Var2 = this.k.o().h; - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); h4Var2.b(System.currentTimeMillis()); } w(); @@ -2131,7 +2127,7 @@ public class k9 implements t5 { if (i != 404) { if (i != 304) { H().w(str, bArr, str2); - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); T.F(System.currentTimeMillis()); K().I(T); if (i != 404) { @@ -2149,7 +2145,7 @@ public class k9 implements t5 { if (H().s(str) == null) { H().w(str, null, null); } - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); T.F(System.currentTimeMillis()); K().I(T); if (i != 404) { @@ -2160,7 +2156,7 @@ public class k9 implements t5 { } K().s(); K().e0(); - this.f1248r = false; + this.r = false; x(); } catch (Throwable th3) { K().e0(); @@ -2173,7 +2169,7 @@ public class k9 implements t5 { if (t8.b() && this.k.h.o(p.J0)) { U(); P(); - this.f1252z.put(str, dVar); + this.f1212z.put(str, dVar); g K = K(); if (t8.b() && K.a.h.o(p.J0)) { Objects.requireNonNull(str, "null reference"); @@ -2394,7 +2390,7 @@ public class k9 implements t5 { try { a aVar9 = new a(k9Var3, null); g K = K(); - long j3 = k9Var3.f1251y; + long j3 = k9Var3.f1211y; d.A(aVar9); K.b(); K.n(); @@ -2417,7 +2413,7 @@ public class k9 implements t5 { str = "_sc"; str5 = str14; str3 = "_npa"; - list = aVar9.f1253c; + list = aVar9.f1213c; if (!(list != null || list.isEmpty())) { e1.a t2 = aVar9.a.t(); t2.F(); @@ -2432,10 +2428,10 @@ public class k9 implements t5 { long j4 = 0; while (true) { z2 = z11; - if (i13 >= aVar9.f1253c.size()) { + if (i13 >= aVar9.f1213c.size()) { break; } - a1.a t3 = aVar9.f1253c.get(i13).t(); + a1.a t3 = aVar9.f1213c.get(i13).t(); if (H().x(aVar9.a.G1(), t3.y())) { z7 = v; k9Var3.k.g().A().c("Dropping blacklisted raw event. appId", q3.s(aVar9.a.G1()), k9Var3.k.u().u(t3.y())); @@ -2530,7 +2526,7 @@ public class k9 implements t5 { } else { z2 = true; } - if (t9.X(t3.y()) && y2 && K().y(V(), aVar9.a.G1(), true, false).f1235c > ((long) k9Var3.k.a().q(aVar9.a.G1(), p.n))) { + if (t9.X(t3.y()) && y2 && K().y(V(), aVar9.a.G1(), true, false).f1196c > ((long) k9Var3.k.a().q(aVar9.a.G1(), p.n))) { k9Var3.k.g().A().b("Too many conversions. Not logging as conversion. appId", q3.s(aVar9.a.G1())); z9 = false; int i16 = -1; @@ -2773,7 +2769,7 @@ public class k9 implements t5 { } } i4 = i13; - aVar9.f1253c.set(i4, (a1) ((u4) t3.p())); + aVar9.f1213c.set(i4, (a1) ((u4) t3.p())); i12++; aVar4.t(t3); aVar10 = aVar5; @@ -2810,7 +2806,7 @@ public class k9 implements t5 { if (t3.w() == 0) { } i4 = i13; - aVar9.f1253c.set(i4, (a1) ((u4) t3.p())); + aVar9.f1213c.set(i4, (a1) ((u4) t3.p())); i12++; aVar4.t(t3); aVar10 = aVar5; @@ -2831,30 +2827,30 @@ public class k9 implements t5 { if (q9.w((a1) ((u4) t3.p()), str10) == null && aVar5 != null && Math.abs(aVar5.z() - t3.z()) <= 4000) { a1.a aVar15 = (a1.a) ((u4.b) aVar5.clone()); k9Var3.A(aVar15, t3); - d.m("_e".equals(aVar15.y())); + d.l("_e".equals(aVar15.y())); N(); str7 = str5; - c1 w2 = q9.w((a1) ((u4) aVar15.p()), str7); + c1 w = q9.w((a1) ((u4) aVar15.p()), str7); N(); str9 = str; - c1 w3 = q9.w((a1) ((u4) aVar15.p()), str9); + c1 w2 = q9.w((a1) ((u4) aVar15.p()), str9); N(); i3 = i11; str8 = str2; - c1 w4 = q9.w((a1) ((u4) aVar15.p()), str8); - String G2 = w2 != null ? w2.G() : str4; + c1 w3 = q9.w((a1) ((u4) aVar15.p()), str8); + String G2 = w != null ? w.G() : str4; if (!TextUtils.isEmpty(G2)) { N(); q9.E(t3, str7, G2); } - String G3 = w3 != null ? w3.G() : str4; + String G3 = w2 != null ? w2.G() : str4; if (!TextUtils.isEmpty(G3)) { N(); q9.E(t3, str9, G3); } - if (w4 != null) { + if (w3 != null) { N(); - q9.E(t3, str8, Long.valueOf(w4.J())); + q9.E(t3, str8, Long.valueOf(w3.J())); } aVar4.r(i8, aVar15); i14 = i8; @@ -2862,7 +2858,7 @@ public class k9 implements t5 { if (t3.w() == 0) { } i4 = i13; - aVar9.f1253c.set(i4, (a1) ((u4) t3.p())); + aVar9.f1213c.set(i4, (a1) ((u4) t3.p())); i12++; aVar4.t(t3); aVar10 = aVar5; @@ -2879,7 +2875,7 @@ public class k9 implements t5 { if (t3.w() == 0) { } i4 = i13; - aVar9.f1253c.set(i4, (a1) ((u4) t3.p())); + aVar9.f1213c.set(i4, (a1) ((u4) t3.p())); i12++; aVar4.t(t3); aVar10 = aVar5; @@ -2896,7 +2892,7 @@ public class k9 implements t5 { if (t3.w() == 0) { } i4 = i13; - aVar9.f1253c.set(i4, (a1) ((u4) t3.p())); + aVar9.f1213c.set(i4, (a1) ((u4) t3.p())); i12++; aVar4.t(t3); aVar10 = aVar5; @@ -2913,7 +2909,7 @@ public class k9 implements t5 { if (t3.w() == 0) { } i4 = i13; - aVar9.f1253c.set(i4, (a1) ((u4) t3.p())); + aVar9.f1213c.set(i4, (a1) ((u4) t3.p())); i12++; aVar4.t(t3); aVar10 = aVar5; @@ -2924,7 +2920,7 @@ public class k9 implements t5 { if (t3.w() == 0) { } i4 = i13; - aVar9.f1253c.set(i4, (a1) ((u4) t3.p())); + aVar9.f1213c.set(i4, (a1) ((u4) t3.p())); i12++; aVar4.t(t3); aVar10 = aVar5; @@ -2943,10 +2939,10 @@ public class k9 implements t5 { int i21 = i12; int i22 = 0; while (i22 < i21) { - a1 C = t2.C(i22); - if ("_e".equals(C.F())) { + a1 B = t2.B(i22); + if ("_e".equals(B.F())) { N(); - if (q9.w(C, "_fr") != null) { + if (q9.w(B, "_fr") != null) { t2.G(i22); i21--; i22--; @@ -2954,9 +2950,9 @@ public class k9 implements t5 { } } N(); - c1 w5 = q9.w(C, "_et"); - if (w5 != null) { - Long valueOf = w5.I() ? Long.valueOf(w5.J()) : null; + c1 w4 = q9.w(B, "_et"); + if (w4 != null) { + Long valueOf = w4.I() ? Long.valueOf(w4.J()) : null; if (valueOf != null && valueOf.longValue() > 0) { j4 += valueOf.longValue(); } @@ -2983,9 +2979,9 @@ public class k9 implements t5 { if (q9.s(t2, "_sid") >= 0) { k9Var3.i(t2, j4, true); } else { - int s = q9.s(t2, "_se"); - if (s >= 0) { - t2.R(s); + int s2 = q9.s(t2, "_se"); + if (s2 >= 0) { + t2.R(s2); k9Var3.k.g().z().b("Session engagement user property is in the bundle without session ID. appId", q3.s(aVar9.a.G1())); } } @@ -3018,12 +3014,12 @@ public class k9 implements t5 { t2.D(RecyclerView.FOREVER_NS); t2.H(Long.MIN_VALUE); for (int i24 = 0; i24 < t2.A(); i24++) { - a1 C2 = t2.C(i24); - if (C2.H() < t2.U()) { - t2.D(C2.H()); + a1 B2 = t2.B(i24); + if (B2.H() < t2.U()) { + t2.D(B2.H()); } - if (C2.H() > t2.Y()) { - t2.H(C2.H()); + if (B2.H() > t2.Y()) { + t2.H(B2.H()); } } if (hb.b() && k9Var3.k.a().v(t2.k0(), p.G0)) { @@ -3037,7 +3033,7 @@ public class k9 implements t5 { SecureRandom v0 = k9Var3.k.t().v0(); int i25 = 0; while (i25 < t2.A()) { - a1.a t6 = t2.C(i25).t(); + a1.a t6 = t2.B(i25).t(); if (t6.y().equals("_ep")) { N(); String str17 = (String) q9.R((a1) ((u4) t6.p()), "_en"); @@ -3060,9 +3056,9 @@ public class k9 implements t5 { } t2.r(i25, t6); } else { - long B = H().B(aVar9.a.G1()); + long B3 = H().B(aVar9.a.G1()); k9Var3.k.t(); - long u2 = t9.u(t6.z(), B); + long u2 = t9.u(t6.z(), B3); a1 a1Var = (a1) ((u4) t6.p()); Long l3 = 1L; if (!TextUtils.isEmpty("_dbg") && l3 != null) { @@ -3140,7 +3136,7 @@ public class k9 implements t5 { i2 = i25; l = l4; hashMap2 = hashMap3; - j2 = t9.u(t6.A(), B); + j2 = t9.u(t6.A(), B3); } if (j2 != u2) { N(); @@ -3217,7 +3213,7 @@ public class k9 implements t5 { L2 = K2; } if (L2 != 0) { - t2.L(L2); + t2.K(L2); } else { t2.b0(); } @@ -3234,10 +3230,10 @@ public class k9 implements t5 { K().I(T2); } if (t2.A() > 0) { - u0 s2 = H().s(aVar.a.G1()); - if (s2 != null) { - if (s2.x()) { - t2.g0(s2.y()); + u0 s3 = H().s(aVar.a.G1()); + if (s3 != null) { + if (s3.x()) { + t2.g0(s3.y()); K().K((e1) ((u4) t2.p()), z2); } } @@ -3306,7 +3302,7 @@ public class k9 implements t5 { str = "_sc"; str5 = str14; str3 = "_npa"; - list = aVar9.f1253c; + list = aVar9.f1213c; if (!(list != null || list.isEmpty())) { } } else { @@ -3326,7 +3322,7 @@ public class k9 implements t5 { str = "_sc"; str5 = str14; str3 = "_npa"; - list = aVar9.f1253c; + list = aVar9.f1213c; if (!(list != null || list.isEmpty())) { } } else { @@ -3385,7 +3381,7 @@ public class k9 implements t5 { K.g().z().c("Data loss. Failed to merge raw event metadata. appId", q3.s(str11), e6); cursor2.close(); } - list = aVar9.f1253c; + list = aVar9.f1213c; if (!(list != null || list.isEmpty())) { } } @@ -3402,7 +3398,7 @@ public class k9 implements t5 { if (cursor2 != null) { cursor2.close(); } - list = aVar9.f1253c; + list = aVar9.f1213c; if (!(list != null || list.isEmpty())) { } } catch (Throwable th5) { @@ -3431,7 +3427,7 @@ public class k9 implements t5 { K.g().z().c("Data loss. Error selecting raw event. appId", q3.s(str11), sQLiteException); if (cursor2 != null) { } - list = aVar9.f1253c; + list = aVar9.f1213c; if (!(list != null || list.isEmpty())) { } } catch (Throwable th7) { @@ -3448,7 +3444,7 @@ public class k9 implements t5 { K.g().z().c("Data loss. Error selecting raw event. appId", q3.s(str11), sQLiteException); if (cursor2 != null) { } - list = aVar9.f1253c; + list = aVar9.f1213c; if (!(list != null || list.isEmpty())) { } } catch (SQLiteException e9) { @@ -3464,15 +3460,15 @@ public class k9 implements t5 { } public final boolean u(a1.a aVar, a1.a aVar2) { - d.m("_e".equals(aVar.y())); + d.l("_e".equals(aVar.y())); N(); - c1 w2 = q9.w((a1) ((u4) aVar.p()), "_sc"); + c1 w = q9.w((a1) ((u4) aVar.p()), "_sc"); String str = null; - String G = w2 == null ? null : w2.G(); + String G = w == null ? null : w.G(); N(); - c1 w3 = q9.w((a1) ((u4) aVar2.p()), "_pc"); - if (w3 != null) { - str = w3.G(); + c1 w2 = q9.w((a1) ((u4) aVar2.p()), "_pc"); + if (w2 != null) { + str = w2.G(); } if (str == null || !str.equals(G)) { return false; @@ -3504,7 +3500,7 @@ public class k9 implements t5 { U(); P(); if (this.n > 0) { - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); long abs = 3600000 - Math.abs(SystemClock.elapsedRealtime() - this.n); if (abs > 0) { this.k.g().n.b("Upload has been suspended. Will update scheduling later in approximately ms", Long.valueOf(abs)); @@ -3520,7 +3516,7 @@ public class k9 implements t5 { T().s(); return; } - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); long currentTimeMillis = System.currentTimeMillis(); long max2 = Math.max(0L, p.A.a(null).longValue()); if (!(K().S("select count(1) > 0 from raw_events where realtime = 1", null) != 0)) { @@ -3572,25 +3568,25 @@ public class k9 implements t5 { S.a.f().b(); if (!S.b) { S.a.k.b.registerReceiver(S, new IntentFilter("android.net.conn.CONNECTIVITY_CHANGE")); - S.f1221c = S.a.J().u(); - S.a.g().n.b("Registering connectivity change receiver. Network connected", Boolean.valueOf(S.f1221c)); + S.f1183c = S.a.J().u(); + S.a.g().n.b("Registering connectivity change receiver. Network connected", Boolean.valueOf(S.f1183c)); S.b = true; } T().s(); return; } else { long a4 = this.k.o().h.a(); - long max4 = Math.max(0L, p.f1269r.a(null).longValue()); + long max4 = Math.max(0L, p.r.a(null).longValue()); if (!N().N(a4, max4)) { j2 = Math.max(j2, a4 + max4); } S().a(); - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); long currentTimeMillis2 = j2 - System.currentTimeMillis(); if (currentTimeMillis2 <= 0) { - currentTimeMillis2 = Math.max(0L, p.f1270w.a(null).longValue()); + currentTimeMillis2 = Math.max(0L, p.w.a(null).longValue()); h4 h4Var = this.k.o().f; - Objects.requireNonNull((c.i.a.f.e.o.d) this.k.o); + Objects.requireNonNull((c) this.k.o); h4Var.b(System.currentTimeMillis()); } this.k.g().n.b("Upload scheduled in approximately ms", Long.valueOf(currentTimeMillis2)); @@ -3605,9 +3601,9 @@ public class k9 implements t5 { } T.s(); T.g().n.b("Scheduling upload, millis", Long.valueOf(currentTimeMillis2)); - Objects.requireNonNull((c.i.a.f.e.o.d) T.a.o); + Objects.requireNonNull((c) T.a.o); long elapsedRealtime = SystemClock.elapsedRealtime() + currentTimeMillis2; - if (currentTimeMillis2 < Math.max(0L, p.f1271x.a(null).longValue())) { + if (currentTimeMillis2 < Math.max(0L, p.f1231x.a(null).longValue())) { if (!(T.e.d != 0)) { T.e.b(currentTimeMillis2); } @@ -3653,7 +3649,7 @@ public class k9 implements t5 { jobScheduler.schedule(build); return; } - T.d.setInexactRepeating(2, elapsedRealtime, Math.max(p.s.a(null).longValue(), currentTimeMillis2), T.u()); + T.d.setInexactRepeating(2, elapsedRealtime, Math.max(p.f1230s.a(null).longValue(), currentTimeMillis2), T.u()); return; } } @@ -3678,8 +3674,8 @@ public class k9 implements t5 { @WorkerThread public final void x() { U(); - if (this.f1248r || this.s || this.t) { - this.k.g().n.d("Not stopping services. fetch, network, upload", Boolean.valueOf(this.f1248r), Boolean.valueOf(this.s), Boolean.valueOf(this.t)); + if (this.r || this.f1209s || this.t) { + this.k.g().n.d("Not stopping services. fetch, network, upload", Boolean.valueOf(this.r), Boolean.valueOf(this.f1209s), Boolean.valueOf(this.t)); return; } this.k.g().n.a("Stopping uploading service(s)"); @@ -3701,7 +3697,7 @@ public class k9 implements t5 { } Boolean z2 = z(T); if (z2 == null || z2.booleanValue()) { - return new zzn(str, T.v(), T.M(), T.N(), T.O(), T.P(), T.Q(), (String) null, T.T(), false, T.H(), T.g(), 0L, 0, T.h(), T.i(), false, T.y(), T.j(), T.S(), T.k(), (!da.b() || !this.k.h.u(str, p.j0)) ? null : T.B(), (!t8.b() || !this.k.h.o(p.J0)) ? "" : a(str).d()); + return new zzn(str, T.v(), T.M(), T.N(), T.O(), T.P(), T.Q(), (String) null, T.T(), false, T.H(), T.g(), 0L, 0, T.h(), T.i(), false, T.y(), T.j(), T.S(), T.k(), (!da.b() || !this.k.h.u(str, p.f1229j0)) ? null : T.B(), (!t8.b() || !this.k.h.o(p.J0)) ? "" : a(str).d()); } this.k.g().f.b("App version does not match; dropping. appId", q3.s(str)); return null; diff --git a/app/src/main/java/c/i/a/f/i/b/l.java b/app/src/main/java/c/i/a/f/i/b/l.java index 16af714ffe..5e3e1fe711 100644 --- a/app/src/main/java/c/i/a/f/i/b/l.java +++ b/app/src/main/java/c/i/a/f/i/b/l.java @@ -7,7 +7,7 @@ public final class l { public final String b; /* renamed from: c reason: collision with root package name */ - public final long f1254c; + public final long f1214c; public final long d; public final long e; public final long f; @@ -25,13 +25,13 @@ public final class l { d.w(str); d.w(str2); boolean z2 = true; - d.m(j >= 0); - d.m(j2 >= 0); - d.m(j3 >= 0); - d.m(j5 < 0 ? false : z2); + d.l(j >= 0); + d.l(j2 >= 0); + d.l(j3 >= 0); + d.l(j5 < 0 ? false : z2); this.a = str; this.b = str2; - this.f1254c = j; + this.f1214c = j; this.d = j2; this.e = j3; this.f = j4; @@ -43,14 +43,14 @@ public final class l { } public final l a(long j) { - return new l(this.a, this.b, this.f1254c, this.d, this.e, j, this.g, this.h, this.i, this.j, this.k); + return new l(this.a, this.b, this.f1214c, this.d, this.e, j, this.g, this.h, this.i, this.j, this.k); } public final l b(long j, long j2) { - return new l(this.a, this.b, this.f1254c, this.d, this.e, this.f, j, Long.valueOf(j2), this.i, this.j, this.k); + return new l(this.a, this.b, this.f1214c, this.d, this.e, this.f, j, Long.valueOf(j2), this.i, this.j, this.k); } public final l c(Long l, Long l2, Boolean bool) { - return new l(this.a, this.b, this.f1254c, this.d, this.e, this.f, this.g, this.h, l, l2, (bool == null || bool.booleanValue()) ? bool : null); + return new l(this.a, this.b, this.f1214c, this.d, this.e, this.f, this.g, this.h, l, l2, (bool == null || bool.booleanValue()) ? bool : null); } } diff --git a/app/src/main/java/c/i/a/f/i/b/l3.java b/app/src/main/java/c/i/a/f/i/b/l3.java index 60e20dfea2..6c260ca498 100644 --- a/app/src/main/java/c/i/a/f/i/b/l3.java +++ b/app/src/main/java/c/i/a/f/i/b/l3.java @@ -27,7 +27,7 @@ public abstract class l3 extends s0 implements i3 { boolean z2 = false; switch (i) { case 1: - ((z4) this).q0((zzaq) v.a(parcel, zzaq.CREATOR), (zzn) v.a(parcel, zzn.CREATOR)); + ((z4) this).o0((zzaq) v.a(parcel, zzaq.CREATOR), (zzn) v.a(parcel, zzn.CREATOR)); parcel2.writeNoException(); break; case 2: @@ -35,7 +35,7 @@ public abstract class l3 extends s0 implements i3 { zzn zzn = (zzn) v.a(parcel, zzn.CREATOR); z4 z4Var = (z4) this; Objects.requireNonNull(zzku, "null reference"); - z4Var.z0(zzn); + z4Var.y0(zzn); z4Var.h(new o5(z4Var, zzku, zzn)); parcel2.writeNoException(); break; @@ -46,7 +46,7 @@ public abstract class l3 extends s0 implements i3 { case 4: zzn zzn2 = (zzn) v.a(parcel, zzn.CREATOR); z4 z4Var2 = (z4) this; - z4Var2.z0(zzn2); + z4Var2.y0(zzn2); z4Var2.h(new q5(z4Var2, zzn2)); parcel2.writeNoException(); break; @@ -57,14 +57,14 @@ public abstract class l3 extends s0 implements i3 { z4 z4Var3 = (z4) this; Objects.requireNonNull(zzaq, "null reference"); d.w(readString); - z4Var3.y0(readString, true); + z4Var3.x0(readString, true); z4Var3.h(new m5(z4Var3, zzaq, readString)); parcel2.writeNoException(); break; case 6: zzn zzn3 = (zzn) v.a(parcel, zzn.CREATOR); z4 z4Var4 = (z4) this; - z4Var4.z0(zzn3); + z4Var4.y0(zzn3); z4Var4.h(new c5(z4Var4, zzn3)); parcel2.writeNoException(); break; @@ -74,12 +74,12 @@ public abstract class l3 extends s0 implements i3 { z2 = true; } z4 z4Var5 = (z4) this; - z4Var5.z0(zzn4); + z4Var5.y0(zzn4); try { List list = (List) ((FutureTask) z4Var5.a.f().t(new n5(z4Var5, zzn4))).get(); arrayList = new ArrayList(list.size()); for (u9 u9Var : list) { - if (z2 || !t9.r0(u9Var.f1287c)) { + if (z2 || !t9.r0(u9Var.f1246c)) { arrayList.add(new zzku(u9Var)); } } @@ -96,16 +96,16 @@ public abstract class l3 extends s0 implements i3 { parcel2.writeByteArray(i3); break; case 10: - ((z4) this).E(parcel.readLong(), parcel.readString(), parcel.readString(), parcel.readString()); + ((z4) this).H(parcel.readLong(), parcel.readString(), parcel.readString(), parcel.readString()); parcel2.writeNoException(); break; case 11: - String z3 = ((z4) this).z((zzn) v.a(parcel, zzn.CREATOR)); + String A = ((z4) this).A((zzn) v.a(parcel, zzn.CREATOR)); parcel2.writeNoException(); - parcel2.writeString(z3); + parcel2.writeString(A); break; case 12: - ((z4) this).v0((zzz) v.a(parcel, zzz.CREATOR), (zzn) v.a(parcel, zzn.CREATOR)); + ((z4) this).u0((zzz) v.a(parcel, zzz.CREATOR), (zzn) v.a(parcel, zzn.CREATOR)); parcel2.writeNoException(); break; case 13: @@ -119,9 +119,9 @@ public abstract class l3 extends s0 implements i3 { if (parcel.readInt() != 0) { z2 = true; } - List P = ((z4) this).P(readString2, readString3, z2, (zzn) v.a(parcel, zzn.CREATOR)); + List S = ((z4) this).S(readString2, readString3, z2, (zzn) v.a(parcel, zzn.CREATOR)); parcel2.writeNoException(); - parcel2.writeTypedList(P); + parcel2.writeTypedList(S); break; case 15: String readString4 = parcel.readString(); @@ -131,29 +131,29 @@ public abstract class l3 extends s0 implements i3 { if (parcel.readInt() != 0) { z2 = true; } - List t = ((z4) this).t(readString4, readString5, readString6, z2); + List u = ((z4) this).u(readString4, readString5, readString6, z2); parcel2.writeNoException(); - parcel2.writeTypedList(t); + parcel2.writeTypedList(u); break; case 16: - List H = ((z4) this).H(parcel.readString(), parcel.readString(), (zzn) v.a(parcel, zzn.CREATOR)); + List K = ((z4) this).K(parcel.readString(), parcel.readString(), (zzn) v.a(parcel, zzn.CREATOR)); parcel2.writeNoException(); - parcel2.writeTypedList(H); + parcel2.writeTypedList(K); break; case 17: - List G = ((z4) this).G(parcel.readString(), parcel.readString(), parcel.readString()); + List J = ((z4) this).J(parcel.readString(), parcel.readString(), parcel.readString()); parcel2.writeNoException(); - parcel2.writeTypedList(G); + parcel2.writeTypedList(J); break; case 18: zzn zzn5 = (zzn) v.a(parcel, zzn.CREATOR); z4 z4Var6 = (z4) this; - z4Var6.y0(zzn5.i, false); + z4Var6.x0(zzn5.i, false); z4Var6.h(new h5(z4Var6, zzn5)); parcel2.writeNoException(); break; case 19: - ((z4) this).r0((Bundle) v.a(parcel, Bundle.CREATOR), (zzn) v.a(parcel, zzn.CREATOR)); + ((z4) this).p0((Bundle) v.a(parcel, Bundle.CREATOR), (zzn) v.a(parcel, zzn.CREATOR)); parcel2.writeNoException(); break; case 20: diff --git a/app/src/main/java/c/i/a/f/i/b/m.java b/app/src/main/java/c/i/a/f/i/b/m.java index 9d4ff12fe4..8235fc040e 100644 --- a/app/src/main/java/c/i/a/f/i/b/m.java +++ b/app/src/main/java/c/i/a/f/i/b/m.java @@ -13,7 +13,7 @@ public final class m { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1255c; + public final String f1215c; public final long d; public final long e; public final zzap f; @@ -24,7 +24,7 @@ public final class m { d.w(str3); this.a = str2; this.b = str3; - this.f1255c = TextUtils.isEmpty(str) ? null : str; + this.f1215c = TextUtils.isEmpty(str) ? null : str; this.d = j; this.e = j2; if (j2 != 0 && j2 > j) { @@ -61,7 +61,7 @@ public final class m { Objects.requireNonNull(zzap, "null reference"); this.a = str2; this.b = str3; - this.f1255c = TextUtils.isEmpty(str) ? null : str; + this.f1215c = TextUtils.isEmpty(str) ? null : str; this.d = j; this.e = j2; if (j2 != 0 && j2 > j) { @@ -71,17 +71,17 @@ public final class m { } public final m a(u4 u4Var, long j) { - return new m(u4Var, this.f1255c, this.a, this.b, this.d, j, this.f); + return new m(u4Var, this.f1215c, this.a, this.b, this.d, j, this.f); } public final String toString() { String str = this.a; String str2 = this.b; String valueOf = String.valueOf(this.f); - StringBuilder N = a.N(valueOf.length() + a.b(str2, a.b(str, 33)), "Event{appId='", str, "', name='", str2); - N.append("', params="); - N.append(valueOf); - N.append('}'); - return N.toString(); + StringBuilder Q = a.Q(valueOf.length() + a.b(str2, a.b(str, 33)), "Event{appId='", str, "', name='", str2); + Q.append("', params="); + Q.append(valueOf); + Q.append('}'); + return Q.toString(); } } diff --git a/app/src/main/java/c/i/a/f/i/b/m3.java b/app/src/main/java/c/i/a/f/i/b/m3.java index 4a595a7ffb..1b2df6c28c 100644 --- a/app/src/main/java/c/i/a/f/i/b/m3.java +++ b/app/src/main/java/c/i/a/f/i/b/m3.java @@ -13,7 +13,7 @@ import androidx.exifinterface.media.ExifInterface; public final class m3 extends a5 { /* renamed from: c reason: collision with root package name */ - public final p3 f1256c = new p3(this, this.a.b, "google_app_measurement_local.db"); + public final p3 f1216c = new p3(this, this.a.b, "google_app_measurement_local.db"); public boolean d; public m3(u4 u4Var) { @@ -44,7 +44,7 @@ public final class m3 extends a5 { if (this.d) { return null; } - SQLiteDatabase writableDatabase = this.f1256c.getWritableDatabase(); + SQLiteDatabase writableDatabase = this.f1216c.getWritableDatabase(); if (writableDatabase != null) { return writableDatabase; } diff --git a/app/src/main/java/c/i/a/f/i/b/m6.java b/app/src/main/java/c/i/a/f/i/b/m6.java index db8b888482..1b7cacaa32 100644 --- a/app/src/main/java/c/i/a/f/i/b/m6.java +++ b/app/src/main/java/c/i/a/f/i/b/m6.java @@ -21,10 +21,10 @@ public final class m6 implements Runnable { c cVar = c6Var.a.h; n3 o = c6Var.o(); o.t(); - String str = o.f1257c; + String str = o.f1217c; Objects.requireNonNull(cVar); j3 j3Var = p.L; - atomicReference.set(str == null ? j3Var.a(null) : j3Var.a(cVar.f1222c.i(str, j3Var.b))); + atomicReference.set(str == null ? j3Var.a(null) : j3Var.a(cVar.f1184c.i(str, j3Var.b))); this.i.notify(); } catch (Throwable th) { this.i.notify(); diff --git a/app/src/main/java/c/i/a/f/i/b/m9.java b/app/src/main/java/c/i/a/f/i/b/m9.java index 9bc4e80b8d..9152c4ae2f 100644 --- a/app/src/main/java/c/i/a/f/i/b/m9.java +++ b/app/src/main/java/c/i/a/f/i/b/m9.java @@ -2,7 +2,7 @@ package c.i.a.f.i.b; import android.database.sqlite.SQLiteException; import android.os.SystemClock; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import java.util.List; import java.util.Map; import java.util.Objects; @@ -26,18 +26,18 @@ public final class m9 implements z3 { try { bArr = new byte[0]; } catch (Throwable th2) { - k9Var.s = false; + k9Var.f1209s = false; k9Var.x(); throw th2; } } - List list = k9Var.f1249w; - k9Var.f1249w = null; + List list = k9Var.w; + k9Var.w = null; boolean z2 = true; if ((i == 200 || i == 204) && th == null) { try { h4 h4Var = k9Var.k.o().f; - Objects.requireNonNull((d) k9Var.k.o); + Objects.requireNonNull((c) k9Var.k.o); h4Var.b(System.currentTimeMillis()); k9Var.k.o().g.b(0); k9Var.w(); @@ -59,7 +59,7 @@ public final class m9 implements z3 { throw e; } } catch (SQLiteException e2) { - List list2 = k9Var.f1250x; + List list2 = k9Var.f1210x; if (list2 == null || !list2.contains(l)) { throw e2; } @@ -67,9 +67,9 @@ public final class m9 implements z3 { } k9Var.K().s(); k9Var.K().e0(); - k9Var.f1250x = null; + k9Var.f1210x = null; if (!k9Var.J().u() || !k9Var.v()) { - k9Var.f1251y = -1; + k9Var.f1211y = -1; k9Var.w(); } else { k9Var.Q(); @@ -81,27 +81,27 @@ public final class m9 implements z3 { } } catch (SQLiteException e3) { k9Var.k.g().f.b("Database error while trying to delete uploaded bundles", e3); - Objects.requireNonNull((d) k9Var.k.o); + Objects.requireNonNull((c) k9Var.k.o); k9Var.n = SystemClock.elapsedRealtime(); k9Var.k.g().n.b("Disable upload, time", Long.valueOf(k9Var.n)); } } else { k9Var.k.g().n.c("Network upload failed. Will retry later. code, error", Integer.valueOf(i), th); h4 h4Var2 = k9Var.k.o().g; - Objects.requireNonNull((d) k9Var.k.o); + Objects.requireNonNull((c) k9Var.k.o); h4Var2.b(System.currentTimeMillis()); if (!(i == 503 || i == 429)) { z2 = false; } if (z2) { h4 h4Var3 = k9Var.k.o().h; - Objects.requireNonNull((d) k9Var.k.o); + Objects.requireNonNull((c) k9Var.k.o); h4Var3.b(System.currentTimeMillis()); } k9Var.K().J(list); k9Var.w(); } - k9Var.s = false; + k9Var.f1209s = false; k9Var.x(); } } diff --git a/app/src/main/java/c/i/a/f/i/b/n3.java b/app/src/main/java/c/i/a/f/i/b/n3.java index 42ef40ffa9..12444f4553 100644 --- a/app/src/main/java/c/i/a/f/i/b/n3.java +++ b/app/src/main/java/c/i/a/f/i/b/n3.java @@ -9,7 +9,7 @@ import android.text.TextUtils; import androidx.core.os.EnvironmentCompat; import c.c.a.a0.d; import c.i.a.f.e.h.j.h; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.i.a.f.h.l.da; import c.i.a.f.h.l.ib; import c.i.a.f.h.l.lb; @@ -23,7 +23,7 @@ import java.util.Objects; public final class n3 extends a5 { /* renamed from: c reason: collision with root package name */ - public String f1257c; + public String f1217c; public String d; public int e; public String f; @@ -63,7 +63,7 @@ public final class n3 extends a5 { List list; Bundle D; Integer num; - String H0; + String C1; String str = EnvironmentCompat.MEDIA_UNKNOWN; String str2 = "Unknown"; String packageName = this.a.b.getPackageName(); @@ -96,7 +96,7 @@ public final class n3 extends a5 { g().f.c("Error retrieving package info. appId, appName", q3.s(packageName), "Unknown"); } } - this.f1257c = packageName; + this.f1217c = packageName; this.f = str; this.d = str2; this.e = i; @@ -111,8 +111,8 @@ public final class n3 extends a5 { status = h.b.d; } boolean z3 = true; - boolean z4 = status != null && status.v0(); - boolean z5 = !TextUtils.isEmpty(this.a.f1280c) && "am".equals(this.a.d); + boolean z4 = status != null && status.w0(); + boolean z5 = !TextUtils.isEmpty(this.a.f1240c) && "am".equals(this.a.d); boolean z6 = z4 | z5; if (!z6) { if (status == null) { @@ -162,12 +162,12 @@ public final class n3 extends a5 { this.l = ""; this.m = ""; if (z5) { - this.l = this.a.f1280c; + this.l = this.a.f1240c; } list = null; - H0 = (((lb) ib.i.a()).a() || !this.a.h.o(p.C0)) ? h.a("getGoogleAppId").f1115c : c.H0(this.a.b, "google_app_id"); - this.k = !TextUtils.isEmpty(H0) ? "" : H0; - if (!da.b() && this.a.h.o(p.j0)) { + C1 = (((lb) ib.i.a()).a() || !this.a.h.o(p.C0)) ? h.a("getGoogleAppId").f1084c : f.C1(this.a.b, "google_app_id"); + this.k = !TextUtils.isEmpty(C1) ? "" : C1; + if (!da.b() && this.a.h.o(p.f1229j0)) { Context context2 = this.a.b; Objects.requireNonNull(context2, "null reference"); Resources resources = context2.getResources(); @@ -175,11 +175,11 @@ public final class n3 extends a5 { int identifier = resources.getIdentifier("ga_app_id", "string", resourcePackageName); String string = identifier == 0 ? null : resources.getString(identifier); this.m = TextUtils.isEmpty(string) ? "" : string; - if (!TextUtils.isEmpty(H0) || !TextUtils.isEmpty(string)) { + if (!TextUtils.isEmpty(C1) || !TextUtils.isEmpty(string)) { int identifier2 = resources.getIdentifier("admob_app_id", "string", resourcePackageName); this.l = identifier2 == 0 ? null : resources.getString(identifier2); } - } else if (!TextUtils.isEmpty(H0)) { + } else if (!TextUtils.isEmpty(C1)) { Context context3 = this.a.b; Objects.requireNonNull(context3, "null reference"); Resources resources2 = context3.getResources(); @@ -187,7 +187,7 @@ public final class n3 extends a5 { this.l = identifier3 == 0 ? null : resources2.getString(identifier3); } if (z2) { - g().n.c("App measurement enabled for app package, google app id", this.f1257c, TextUtils.isEmpty(this.k) ? this.l : this.k); + g().n.c("App measurement enabled for app package, google app id", this.f1217c, TextUtils.isEmpty(this.k) ? this.l : this.k); } this.i = null; c cVar = this.a.h; @@ -226,7 +226,7 @@ public final class n3 extends a5 { this.i = list; } if (packageManager != null) { - this.j = c.T(this.a.b) ? 1 : 0; + this.j = f.u0(this.a.b) ? 1 : 0; return; } else { this.j = 0; @@ -254,10 +254,10 @@ public final class n3 extends a5 { try { if (((lb) ib.i.a()).a()) { } - this.k = !TextUtils.isEmpty(H0) ? "" : H0; + this.k = !TextUtils.isEmpty(C1) ? "" : C1; if (!da.b()) { } - if (!TextUtils.isEmpty(H0)) { + if (!TextUtils.isEmpty(C1)) { } if (z2) { } diff --git a/app/src/main/java/c/i/a/f/i/b/o.java b/app/src/main/java/c/i/a/f/i/b/o.java index 8ccc4fa048..8791a1abd5 100644 --- a/app/src/main/java/c/i/a/f/i/b/o.java +++ b/app/src/main/java/c/i/a/f/i/b/o.java @@ -10,17 +10,17 @@ public final class o implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzap createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); Bundle bundle = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); if ((65535 & readInt) != 2) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - bundle = d.P(parcel, readInt); + bundle = d.M(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzap(bundle); } diff --git a/app/src/main/java/c/i/a/f/i/b/o3.java b/app/src/main/java/c/i/a/f/i/b/o3.java index c6fb9fa703..d13cd85845 100644 --- a/app/src/main/java/c/i/a/f/i/b/o3.java +++ b/app/src/main/java/c/i/a/f/i/b/o3.java @@ -13,7 +13,7 @@ import java.util.concurrent.atomic.AtomicReference; public final class o3 extends r5 { /* renamed from: c reason: collision with root package name */ - public static final AtomicReference f1258c = new AtomicReference<>(); + public static final AtomicReference f1218c = new AtomicReference<>(); public static final AtomicReference d = new AtomicReference<>(); public static final AtomicReference e = new AtomicReference<>(); @@ -25,7 +25,7 @@ public final class o3 extends r5 { public static String v(String str, String[] strArr, String[] strArr2, AtomicReference atomicReference) { String str2; Objects.requireNonNull(atomicReference, "null reference"); - d.m(strArr.length == strArr2.length); + d.l(strArr.length == strArr2.length); for (int i = 0; i < strArr.length; i++) { if (t9.q0(str, strArr[i])) { synchronized (atomicReference) { @@ -58,18 +58,18 @@ public final class o3 extends r5 { if (!z()) { return bundle.toString(); } - StringBuilder O = a.O("Bundle[{"); + StringBuilder R = a.R("Bundle[{"); for (String str : bundle.keySet()) { - if (O.length() != 8) { - O.append(", "); + if (R.length() != 8) { + R.append(", "); } - O.append(x(str)); - O.append("="); + R.append(x(str)); + R.append("="); Object obj = bundle.get(str); - O.append(obj instanceof Bundle ? w(new Object[]{obj}) : obj instanceof Object[] ? w((Object[]) obj) : obj instanceof ArrayList ? w(((ArrayList) obj).toArray()) : String.valueOf(obj)); + R.append(obj instanceof Bundle ? w(new Object[]{obj}) : obj instanceof Object[] ? w((Object[]) obj) : obj instanceof ArrayList ? w(((ArrayList) obj).toArray()) : String.valueOf(obj)); } - O.append("}]"); - return O.toString(); + R.append("}]"); + return R.toString(); } @Nullable @@ -77,14 +77,14 @@ public final class o3 extends r5 { if (!z()) { return zzaq.toString(); } - StringBuilder O = a.O("origin="); - O.append(zzaq.k); - O.append(",name="); - O.append(u(zzaq.i)); - O.append(",params="); + StringBuilder R = a.R("origin="); + R.append(zzaq.k); + R.append(",name="); + R.append(u(zzaq.i)); + R.append(",params="); zzap zzap = zzaq.j; - O.append(zzap == null ? null : !z() ? zzap.toString() : s(zzap.w0())); - return O.toString(); + R.append(zzap == null ? null : !z() ? zzap.toString() : s(zzap.x0())); + return R.toString(); } @Nullable @@ -92,7 +92,7 @@ public final class o3 extends r5 { if (str == null) { return null; } - return !z() ? str : v(str, v5.f1288c, v5.a, f1258c); + return !z() ? str : v(str, v5.f1247c, v5.a, f1218c); } @Nullable @@ -100,18 +100,18 @@ public final class o3 extends r5 { if (objArr == null) { return "[]"; } - StringBuilder O = a.O("["); + StringBuilder R = a.R("["); for (Object obj : objArr) { - String s = obj instanceof Bundle ? s((Bundle) obj) : String.valueOf(obj); - if (s != null) { - if (O.length() != 1) { - O.append(", "); + String s2 = obj instanceof Bundle ? s((Bundle) obj) : String.valueOf(obj); + if (s2 != null) { + if (R.length() != 1) { + R.append(", "); } - O.append(s); + R.append(s2); } } - O.append("]"); - return O.toString(); + R.append("]"); + return R.toString(); } @Nullable diff --git a/app/src/main/java/c/i/a/f/i/b/o5.java b/app/src/main/java/c/i/a/f/i/b/o5.java index 29759fb751..e7708aab20 100644 --- a/app/src/main/java/c/i/a/f/i/b/o5.java +++ b/app/src/main/java/c/i/a/f/i/b/o5.java @@ -17,7 +17,7 @@ public final class o5 implements Runnable { @Override // java.lang.Runnable public final void run() { this.k.a.R(); - if (this.i.v0() == null) { + if (this.i.w0() == null) { this.k.a.D(this.i, this.j); } else { this.k.a.o(this.i, this.j); diff --git a/app/src/main/java/c/i/a/f/i/b/p.java b/app/src/main/java/c/i/a/f/i/b/p.java index c6a71a347b..df19fe7a8a 100644 --- a/app/src/main/java/c/i/a/f/i/b/p.java +++ b/app/src/main/java/c/i/a/f/i/b/p.java @@ -53,43 +53,45 @@ public final class p { public static List> a = Collections.synchronizedList(new ArrayList()); /* renamed from: a0 reason: collision with root package name */ - public static j3 f1259a0; + public static j3 f1219a0; public static j3 b = a("measurement.ad_id_cache_time", 10000L, 10000L, s.a); /* renamed from: b0 reason: collision with root package name */ - public static j3 f1260b0; + public static j3 f1220b0; /* renamed from: c reason: collision with root package name */ - public static j3 f1261c = a("measurement.monitoring.sample_period_millis", 86400000L, 86400000L, r.a); + public static j3 f1221c = a("measurement.monitoring.sample_period_millis", 86400000L, 86400000L, r.a); /* renamed from: c0 reason: collision with root package name */ - public static j3 f1262c0; + public static j3 f1222c0; public static j3 d = a("measurement.config.cache_time", 86400000L, 3600000L, f0.a); /* renamed from: d0 reason: collision with root package name */ - public static j3 f1263d0; + public static j3 f1223d0; public static j3 e = a("measurement.config.url_scheme", Constants.SCHEME, Constants.SCHEME, o0.a); /* renamed from: e0 reason: collision with root package name */ - public static j3 f1264e0; + public static j3 f1224e0; public static j3 f = a("measurement.config.url_authority", "app-measurement.com", "app-measurement.com", c1.a); /* renamed from: f0 reason: collision with root package name */ - public static j3 f1265f0; + public static j3 f1225f0; public static j3 g = a("measurement.upload.max_bundles", 100, 100, l1.a); /* renamed from: g0 reason: collision with root package name */ - public static j3 f1266g0; + public static j3 f1226g0; public static j3 h = a("measurement.upload.max_batch_size", 65536, 65536, y1.a); /* renamed from: h0 reason: collision with root package name */ - public static j3 f1267h0; + public static j3 f1227h0; public static j3 i = a("measurement.upload.max_bundle_size", 65536, 65536, i2.a); /* renamed from: i0 reason: collision with root package name */ - public static j3 f1268i0; + public static j3 f1228i0; public static j3 j = a("measurement.upload.max_events_per_bundle", 1000, 1000, v2.a); - public static j3 j0; + + /* renamed from: j0 reason: collision with root package name */ + public static j3 f1229j0; public static j3 k = a("measurement.upload.max_events_per_day", 100000, 100000, g3.a); public static j3 k0; public static j3 l = a("measurement.upload.max_error_events_per_day", 1000, 1000, u.a); @@ -104,11 +106,11 @@ public final class p { public static j3 p0; public static j3 q = a("measurement.upload.url", "https://app-measurement.com/a", "https://app-measurement.com/a", y.a); public static j3 q0; - - /* renamed from: r reason: collision with root package name */ - public static j3 f1269r = a("measurement.upload.backoff_period", 43200000L, 43200000L, b0.a); + public static j3 r = a("measurement.upload.backoff_period", 43200000L, 43200000L, b0.a); public static j3 r0; - public static j3 s = a("measurement.upload.window_interval", 3600000L, 3600000L, a0.a); + + /* renamed from: s reason: collision with root package name */ + public static j3 f1230s = a("measurement.upload.window_interval", 3600000L, 3600000L, a0.a); public static j3 s0; public static j3 t = a("measurement.upload.interval", 3600000L, 3600000L, d0.a); public static j3 t0; @@ -116,21 +118,19 @@ public final class p { public static j3 u0; public static j3 v = a("measurement.upload.debug_upload_interval", 1000L, 1000L, e0.a); public static j3 v0; - - /* renamed from: w reason: collision with root package name */ - public static j3 f1270w = a("measurement.upload.minimum_delay", 500L, 500L, h0.a); + public static j3 w = a("measurement.upload.minimum_delay", 500L, 500L, h0.a); public static j3 w0; /* renamed from: x reason: collision with root package name */ - public static j3 f1271x = a("measurement.alarm_manager.minimum_interval", 60000L, 60000L, g0.a); + public static j3 f1231x = a("measurement.alarm_manager.minimum_interval", 60000L, 60000L, g0.a); public static j3 x0; /* renamed from: y reason: collision with root package name */ - public static j3 f1272y = a("measurement.upload.stale_data_deletion_interval", 86400000L, 86400000L, j0.a); + public static j3 f1232y = a("measurement.upload.stale_data_deletion_interval", 86400000L, 86400000L, j0.a); public static j3 y0; /* renamed from: z reason: collision with root package name */ - public static j3 f1273z = a("measurement.upload.refresh_blacklisted_config_interval", 604800000L, 604800000L, i0.a); + public static j3 f1233z = a("measurement.upload.refresh_blacklisted_config_interval", 604800000L, 604800000L, i0.a); public static j3 z0; static { @@ -151,16 +151,16 @@ public final class p { X = a("measurement.quality.checksum", bool, bool, null); Y = a("measurement.sdk.dynamite.allow_remote_dynamite3", bool2, bool2, i1.a); Z = a("measurement.sdk.collection.validate_param_names_alphabetical", bool2, bool2, h1.a); - f1259a0 = a("measurement.audience.use_bundle_end_timestamp_for_non_sequence_property_filters", bool, bool, k1.a); - f1260b0 = a("measurement.audience.refresh_event_count_filters_timestamp", bool, bool, j1.a); - f1262c0 = a("measurement.audience.use_bundle_timestamp_for_event_count_filters", bool, bool, m1.a); - f1263d0 = a("measurement.sdk.collection.retrieve_deeplink_from_bow_2", bool2, bool2, o1.a); - f1264e0 = a("measurement.sdk.collection.last_deep_link_referrer2", bool2, bool2, n1.a); - f1265f0 = a("measurement.sdk.collection.last_deep_link_referrer_campaign2", bool, bool, q1.a); - f1266g0 = a("measurement.sdk.collection.last_gclid_from_referrer2", bool, bool, p1.a); - f1267h0 = a("measurement.sdk.collection.enable_extend_user_property_size", bool2, bool2, s1.a); - f1268i0 = a("measurement.upload.file_lock_state_check", bool, bool, r1.a); - j0 = a("measurement.ga.ga_app_id", bool, bool, u1.a); + f1219a0 = a("measurement.audience.use_bundle_end_timestamp_for_non_sequence_property_filters", bool, bool, k1.a); + f1220b0 = a("measurement.audience.refresh_event_count_filters_timestamp", bool, bool, j1.a); + f1222c0 = a("measurement.audience.use_bundle_timestamp_for_event_count_filters", bool, bool, m1.a); + f1223d0 = a("measurement.sdk.collection.retrieve_deeplink_from_bow_2", bool2, bool2, o1.a); + f1224e0 = a("measurement.sdk.collection.last_deep_link_referrer2", bool2, bool2, n1.a); + f1225f0 = a("measurement.sdk.collection.last_deep_link_referrer_campaign2", bool, bool, q1.a); + f1226g0 = a("measurement.sdk.collection.last_gclid_from_referrer2", bool, bool, p1.a); + f1227h0 = a("measurement.sdk.collection.enable_extend_user_property_size", bool2, bool2, s1.a); + f1228i0 = a("measurement.upload.file_lock_state_check", bool, bool, r1.a); + f1229j0 = a("measurement.ga.ga_app_id", bool, bool, u1.a); k0 = a("measurement.lifecycle.app_in_background_parameter", bool, bool, t1.a); l0 = a("measurement.integration.disable_firebase_instance_id", bool, bool, w1.a); m0 = a("measurement.lifecycle.app_backgrounded_engagement", bool, bool, v1.a); diff --git a/app/src/main/java/c/i/a/f/i/b/p3.java b/app/src/main/java/c/i/a/f/i/b/p3.java index 08267716b9..0022c240b4 100644 --- a/app/src/main/java/c/i/a/f/i/b/p3.java +++ b/app/src/main/java/c/i/a/f/i/b/p3.java @@ -6,7 +6,7 @@ import android.database.sqlite.SQLiteDatabaseLockedException; import android.database.sqlite.SQLiteException; import android.database.sqlite.SQLiteOpenHelper; import androidx.annotation.WorkerThread; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class p3 extends SQLiteOpenHelper { public final /* synthetic */ m3 i; @@ -41,7 +41,7 @@ public final class p3 extends SQLiteOpenHelper { @Override // android.database.sqlite.SQLiteOpenHelper @WorkerThread public final void onCreate(SQLiteDatabase sQLiteDatabase) { - c.R0(this.i.g(), sQLiteDatabase); + f.M1(this.i.g(), sQLiteDatabase); } @Override // android.database.sqlite.SQLiteOpenHelper @@ -52,7 +52,7 @@ public final class p3 extends SQLiteOpenHelper { @Override // android.database.sqlite.SQLiteOpenHelper @WorkerThread public final void onOpen(SQLiteDatabase sQLiteDatabase) { - c.S0(this.i.g(), sQLiteDatabase, "messages", "create table if not exists messages ( type INTEGER NOT NULL, entry BLOB NOT NULL)", "type,entry", null); + f.N1(this.i.g(), sQLiteDatabase, "messages", "create table if not exists messages ( type INTEGER NOT NULL, entry BLOB NOT NULL)", "type,entry", null); } @Override // android.database.sqlite.SQLiteOpenHelper diff --git a/app/src/main/java/c/i/a/f/i/b/p4.java b/app/src/main/java/c/i/a/f/i/b/p4.java index 3a82f1bccc..2862d3f0a1 100644 --- a/app/src/main/java/c/i/a/f/i/b/p4.java +++ b/app/src/main/java/c/i/a/f/i/b/p4.java @@ -8,7 +8,7 @@ import android.text.TextUtils; import androidx.annotation.WorkerThread; import androidx.collection.ArrayMap; import c.c.a.a0.d; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.i.a.f.h.l.k0; import c.i.a.f.h.l.l0; import c.i.a.f.h.l.m0; @@ -48,11 +48,11 @@ public final class p4 extends i9 implements e { @WorkerThread public final boolean A(String str) { b(); - u0 s = s(str); - if (s == null) { + u0 s2 = s(str); + if (s2 == null) { return false; } - return s.E(); + return s2.E(); } @WorkerThread @@ -223,13 +223,13 @@ public final class p4 extends i9 implements e { g().i.a("EventConfig contained null event name"); } else { String q = t.q(); - String K0 = c.K0(t.q(), v5.a, v5.f1288c); - if (!TextUtils.isEmpty(K0)) { + String F1 = f.F1(t.q(), v5.a, v5.f1247c); + if (!TextUtils.isEmpty(F1)) { if (t.k) { t.n(); t.k = false; } - t0.v((t0) t.j, K0); + t0.v((t0) t.j, F1); if (aVar.k) { aVar.n(); aVar.k = false; @@ -284,13 +284,13 @@ public final class p4 extends i9 implements e { while (i2 < ((k0) t2.j).D()) { l0.a t3 = ((k0) t2.j).z(i2).t(); l0.a aVar = (l0.a) ((u4.b) t3.clone()); - String K0 = c.K0(((l0) t3.j).z(), v5.a, v5.f1288c); - if (K0 != null) { + String F1 = f.F1(((l0) t3.j).z(), v5.a, v5.f1247c); + if (F1 != null) { if (aVar.k) { aVar.n(); aVar.k = false; } - l0.w((l0) aVar.j, K0); + l0.w((l0) aVar.j, F1); z4 = true; } else { z4 = false; @@ -298,14 +298,14 @@ public final class p4 extends i9 implements e { int i3 = 0; while (i3 < ((l0) t3.j).B()) { m0 u = ((l0) t3.j).u(i3); - String K02 = c.K0(u.C(), u5.a, u5.b); - if (K02 != null) { + String F12 = f.F1(u.C(), u5.a, u5.b); + if (F12 != null) { m0.a t4 = u.t(); if (t4.k) { t4.n(); t4.k = false; } - m0.u((m0) t4.j, K02); + m0.u((m0) t4.j, F12); m0 m0Var = (m0) ((u4) t4.p()); if (aVar.k) { aVar.n(); @@ -336,8 +336,8 @@ public final class p4 extends i9 implements e { if (((k0) t2.j).B() != 0) { for (int i4 = 0; i4 < ((k0) t2.j).B(); i4++) { o0 u2 = ((k0) t2.j).u(i4); - String K03 = c.K0(u2.x(), x5.a, x5.b); - if (K03 != null) { + String F13 = f.F1(u2.x(), x5.a, x5.b); + if (F13 != null) { o0.a t5 = u2.t(); if (t5.k) { t5.n(); @@ -346,7 +346,7 @@ public final class p4 extends i9 implements e { } else { z3 = false; } - o0.u((o0) t5.j, K03); + o0.u((o0) t5.j, F13); if (t2.k) { t2.n(); t2.k = z3; diff --git a/app/src/main/java/c/i/a/f/i/b/p5.java b/app/src/main/java/c/i/a/f/i/b/p5.java index 83ea6186a7..cee1c40d31 100644 --- a/app/src/main/java/c/i/a/f/i/b/p5.java +++ b/app/src/main/java/c/i/a/f/i/b/p5.java @@ -21,15 +21,15 @@ public final class p5 implements Runnable { this.m.a.k.w().D(this.j, null); return; } - h7 w2 = this.m.a.k.w(); + h7 w = this.m.a.k.w(); String str = this.j; - w2.b(); - synchronized (w2) { - String str2 = w2.m; + w.b(); + synchronized (w) { + String str2 = w.m; if (str2 != null) { str2.equals(str); } - w2.m = str; + w.m = str; } } } diff --git a/app/src/main/java/c/i/a/f/i/b/p9.java b/app/src/main/java/c/i/a/f/i/b/p9.java index f5fb947db2..b62d382ee8 100644 --- a/app/src/main/java/c/i/a/f/i/b/p9.java +++ b/app/src/main/java/c/i/a/f/i/b/p9.java @@ -1,7 +1,7 @@ package c.i.a.f.i.b; import android.os.Bundle; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import java.util.Objects; /* compiled from: com.google.android.gms:play-services-measurement@@18.0.0 */ public final class p9 implements Runnable { @@ -20,7 +20,7 @@ public final class p9 implements Runnable { t9 t = this.k.a.k.t(); String str = this.i; Bundle bundle = this.j; - Objects.requireNonNull((d) this.k.a.k.o); + Objects.requireNonNull((c) this.k.a.k.o); this.k.a.m(t.B(str, "_err", bundle, "auto", System.currentTimeMillis(), false, false), this.i); } } diff --git a/app/src/main/java/c/i/a/f/i/b/q.java b/app/src/main/java/c/i/a/f/i/b/q.java index f684b63d01..6eae32928b 100644 --- a/app/src/main/java/c/i/a/f/i/b/q.java +++ b/app/src/main/java/c/i/a/f/i/b/q.java @@ -10,27 +10,27 @@ public final class q implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzaq createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; zzap zzap = null; String str2 = null; long j = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i = 65535 & readInt; if (i == 2) { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } else if (i == 3) { - zzap = (zzap) d.S(parcel, readInt, zzap.CREATOR); + zzap = (zzap) d.P(parcel, readInt, zzap.CREATOR); } else if (i == 4) { - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); } else if (i != 5) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - j = d.H1(parcel, readInt); + j = d.F1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzaq(str, zzap, str2, j); } diff --git a/app/src/main/java/c/i/a/f/i/b/q3.java b/app/src/main/java/c/i/a/f/i/b/q3.java index 9a50b57280..b1683efdc1 100644 --- a/app/src/main/java/c/i/a/f/i/b/q3.java +++ b/app/src/main/java/c/i/a/f/i/b/q3.java @@ -5,13 +5,13 @@ import android.util.Log; import android.util.Pair; import androidx.annotation.GuardedBy; import c.d.b.a.a; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import java.util.Objects; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class q3 extends r5 { /* renamed from: c reason: collision with root package name */ - public char f1274c = 0; + public char f1234c = 0; public long d = -1; @GuardedBy("this") public String e; @@ -60,13 +60,10 @@ public final class q3 extends r5 { String valueOf = String.valueOf(Math.abs(l.longValue())); long round = Math.round(Math.pow(10.0d, (double) (valueOf.length() - 1))); long round2 = Math.round(Math.pow(10.0d, (double) valueOf.length()) - 1.0d); - StringBuilder sb = new StringBuilder(str.length() + str.length() + 43); - sb.append(str); - sb.append(round); - sb.append("..."); - sb.append(str); - sb.append(round2); - return sb.toString(); + StringBuilder P = a.P(str.length() + str.length() + 43, str, round, "..."); + P.append(str); + P.append(round2); + return P.toString(); } else if (obj instanceof Boolean) { return String.valueOf(obj); } else { @@ -74,7 +71,7 @@ public final class q3 extends r5 { return obj instanceof v3 ? ((v3) obj).a : z2 ? "-" : String.valueOf(obj); } Throwable th = (Throwable) obj; - StringBuilder sb2 = new StringBuilder(z2 ? th.getClass().getName() : th.toString()); + StringBuilder sb = new StringBuilder(z2 ? th.getClass().getName() : th.toString()); String y2 = y(u4.class.getCanonicalName()); StackTraceElement[] stackTrace = th.getStackTrace(); int length = stackTrace.length; @@ -84,13 +81,13 @@ public final class q3 extends r5 { } StackTraceElement stackTraceElement = stackTrace[i]; if (!stackTraceElement.isNativeMethod() && (className = stackTraceElement.getClassName()) != null && y(className).equals(y2)) { - sb2.append(": "); - sb2.append(stackTraceElement); + sb.append(": "); + sb.append(stackTraceElement); break; } i++; } - return sb2.toString(); + return sb.toString(); } } @@ -161,7 +158,7 @@ public final class q3 extends r5 { k4Var.a(); j = 0; } else { - Objects.requireNonNull((d) k4Var.e.a.o); + Objects.requireNonNull((c) k4Var.e.a.o); j = Math.abs(j2 - System.currentTimeMillis()); } long j3 = k4Var.d; @@ -169,16 +166,16 @@ public final class q3 extends r5 { if (j > (j3 << 1)) { k4Var.a(); } else { - String string = k4Var.e.w().getString(k4Var.f1246c, null); + String string = k4Var.e.w().getString(k4Var.f1207c, null); long j4 = k4Var.e.w().getLong(k4Var.b, 0); k4Var.a(); - pair = (string == null || j4 <= 0) ? d4.f1226c : new Pair<>(string, Long.valueOf(j4)); - if (pair != null || pair == d4.f1226c) { + pair = (string == null || j4 <= 0) ? d4.f1188c : new Pair<>(string, Long.valueOf(j4)); + if (pair != null || pair == d4.f1188c) { return null; } String valueOf = String.valueOf(pair.second); String str = (String) pair.first; - return a.g(a.b(str, valueOf.length() + 1), valueOf, ":", str); + return a.j(a.b(str, valueOf.length() + 1), valueOf, ":", str); } } pair = null; diff --git a/app/src/main/java/c/i/a/f/i/b/q7.java b/app/src/main/java/c/i/a/f/i/b/q7.java index 82fb8e9989..5dbdaced84 100644 --- a/app/src/main/java/c/i/a/f/i/b/q7.java +++ b/app/src/main/java/c/i/a/f/i/b/q7.java @@ -18,9 +18,9 @@ import android.os.RemoteException; import android.os.SystemClock; import androidx.annotation.Nullable; import androidx.annotation.WorkerThread; -import c.i.a.f.e.c; +import c.c.a.a0.d; import c.i.a.f.e.n.a; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import c.i.a.f.e.p.b; import c.i.a.f.h.l.da; import c.i.a.f.h.l.ob; @@ -42,7 +42,7 @@ import java.util.concurrent.atomic.AtomicReference; public final class q7 extends a5 { /* renamed from: c reason: collision with root package name */ - public final k8 f1275c; + public final k8 f1235c; public i3 d; public volatile Boolean e; public final i f; @@ -53,7 +53,7 @@ public final class q7 extends a5 { public q7(u4 u4Var) { super(u4Var); this.g = new e9(u4Var.o); - this.f1275c = new k8(this); + this.f1235c = new k8(this); this.f = new p7(this, u4Var); this.i = new z7(this, u4Var); } @@ -88,7 +88,7 @@ public final class q7 extends a5 { t(); if (!B()) { if (G()) { - k8 k8Var = this.f1275c; + k8 k8Var = this.f1235c; k8Var.k.b(); Context context = k8Var.k.a.b; synchronized (k8Var) { @@ -108,7 +108,7 @@ public final class q7 extends a5 { if (queryIntentServices != null && queryIntentServices.size() > 0) { Intent intent = new Intent("com.google.android.gms.measurement.START"); intent.setComponent(new ComponentName(this.a.b, "com.google.android.gms.measurement.AppMeasurementService")); - k8 k8Var2 = this.f1275c; + k8 k8Var2 = this.f1235c; k8Var2.k.b(); Context context2 = k8Var2.k.a.b; a b = a.b(); @@ -119,7 +119,7 @@ public final class q7 extends a5 { } k8Var2.k.g().n.a("Using local app measurement service"); k8Var2.i = true; - b.a(context2, intent, k8Var2.k.f1275c, 129); + b.a(context2, intent, k8Var2.k.f1235c, 129); return; } } @@ -132,13 +132,13 @@ public final class q7 extends a5 { public final void D() { b(); t(); - k8 k8Var = this.f1275c; + k8 k8Var = this.f1235c; if (k8Var.j != null && (k8Var.j.j() || k8Var.j.e())) { k8Var.j.h(); } k8Var.j = null; try { - a.b().c(this.a.b, this.f1275c); + a.b().c(this.a.b, this.f1235c); } catch (IllegalArgumentException | IllegalStateException unused) { } this.d = null; @@ -158,7 +158,7 @@ public final class q7 extends a5 { public final void F() { b(); e9 e9Var = this.g; - Objects.requireNonNull((d) e9Var.a); + Objects.requireNonNull((c) e9Var.a); e9Var.b = SystemClock.elapsedRealtime(); this.f.b(p.J.a(null).longValue()); } @@ -185,7 +185,7 @@ public final class q7 extends a5 { g().n.a("Checking service availability"); t9 e = e(); Objects.requireNonNull(e); - int b = c.b.b(e.a.b, 12451000); + int b = c.i.a.f.e.c.b.b(e.a.b, 12451000); if (b != 0) { if (b == 1) { g().n.a("Service missing"); @@ -288,7 +288,7 @@ public final class q7 extends a5 { String E = z2 ? g().E() : null; o.b(); o.t(); - String str4 = o.f1257c; + String str4 = o.f1217c; o.t(); String str5 = o.k; o.t(); @@ -304,7 +304,7 @@ public final class q7 extends a5 { Context context = o.a.b; String packageName = context.getPackageName(); t.b(); - c.c.a.a0.d.w(packageName); + d.w(packageName); PackageManager packageManager = context.getPackageManager(); MessageDigest x0 = t9.x0(); long j5 = -1; @@ -333,7 +333,7 @@ public final class q7 extends a5 { } long j6 = o.g; boolean d = o.a.d(); - boolean z4 = !o.l().f1228w; + boolean z4 = !o.l().w; o.b(); if (o.a.d()) { if (!((rb) ob.i.a()).a() || !o.a.h.o(p.l0)) { @@ -366,15 +366,15 @@ public final class q7 extends a5 { o.t(); int i = o.j; boolean booleanValue = o.a.h.y().booleanValue(); - Boolean w2 = o.a.h.w("google_analytics_ssaid_collection_enabled"); - boolean booleanValue2 = Boolean.valueOf(w2 != null || w2.booleanValue()).booleanValue(); + Boolean w = o.a.h.w("google_analytics_ssaid_collection_enabled"); + boolean booleanValue2 = Boolean.valueOf(w != null || w.booleanValue()).booleanValue(); d4 l = o.l(); l.b(); boolean z5 = l.w().getBoolean("deferred_analytics_collection", false); o.t(); String str8 = o.l; - Boolean w3 = o.a.h.w("google_analytics_default_allow_ad_personalization_signals"); - if (w3 != null) { + Boolean w2 = o.a.h.w("google_analytics_default_allow_ad_personalization_signals"); + if (w2 != null) { } long j7 = o.h; List list2 = o.i; @@ -394,15 +394,15 @@ public final class q7 extends a5 { o.t(); int i = o.j; boolean booleanValue = o.a.h.y().booleanValue(); - Boolean w2 = o.a.h.w("google_analytics_ssaid_collection_enabled"); - boolean booleanValue2 = Boolean.valueOf(w2 != null || w2.booleanValue()).booleanValue(); + Boolean w = o.a.h.w("google_analytics_ssaid_collection_enabled"); + boolean booleanValue2 = Boolean.valueOf(w != null || w.booleanValue()).booleanValue(); d4 l = o.l(); l.b(); boolean z5 = l.w().getBoolean("deferred_analytics_collection", false); o.t(); String str8 = o.l; - Boolean w3 = o.a.h.w("google_analytics_default_allow_ad_personalization_signals"); - if (w3 != null) { + Boolean w2 = o.a.h.w("google_analytics_default_allow_ad_personalization_signals"); + if (w2 != null) { } long j7 = o.h; List list2 = o.i; @@ -423,21 +423,21 @@ public final class q7 extends a5 { o.t(); int i = o.j; boolean booleanValue = o.a.h.y().booleanValue(); - Boolean w2 = o.a.h.w("google_analytics_ssaid_collection_enabled"); - boolean booleanValue2 = Boolean.valueOf(w2 != null || w2.booleanValue()).booleanValue(); + Boolean w = o.a.h.w("google_analytics_ssaid_collection_enabled"); + boolean booleanValue2 = Boolean.valueOf(w != null || w.booleanValue()).booleanValue(); d4 l = o.l(); l.b(); boolean z5 = l.w().getBoolean("deferred_analytics_collection", false); o.t(); String str8 = o.l; - Boolean w3 = o.a.h.w("google_analytics_default_allow_ad_personalization_signals"); - Boolean valueOf2 = w3 != null ? null : Boolean.valueOf(!w3.booleanValue()); + Boolean w2 = o.a.h.w("google_analytics_default_allow_ad_personalization_signals"); + Boolean valueOf2 = w2 != null ? null : Boolean.valueOf(!w2.booleanValue()); long j7 = o.h; List list2 = o.i; if (!da.b()) { list = list2; j2 = j7; - if (o.a.h.o(p.j0)) { + if (o.a.h.o(p.f1229j0)) { o.t(); str3 = o.m; return new zzn(str4, str5, str6, j4, str7, 33025, j6, E, z3, z4, str2, 0, j, i, booleanValue, booleanValue2, z5, str8, valueOf2, j2, list, str3, (t8.b() || !o.a.h.o(p.H0)) ? "" : o.l().y().d()); @@ -464,15 +464,15 @@ public final class q7 extends a5 { o.t(); int i = o.j; boolean booleanValue = o.a.h.y().booleanValue(); - Boolean w2 = o.a.h.w("google_analytics_ssaid_collection_enabled"); - boolean booleanValue2 = Boolean.valueOf(w2 != null || w2.booleanValue()).booleanValue(); + Boolean w = o.a.h.w("google_analytics_ssaid_collection_enabled"); + boolean booleanValue2 = Boolean.valueOf(w != null || w.booleanValue()).booleanValue(); d4 l = o.l(); l.b(); boolean z5 = l.w().getBoolean("deferred_analytics_collection", false); o.t(); String str8 = o.l; - Boolean w3 = o.a.h.w("google_analytics_default_allow_ad_personalization_signals"); - if (w3 != null) { + Boolean w2 = o.a.h.w("google_analytics_default_allow_ad_personalization_signals"); + if (w2 != null) { } long j7 = o.h; List list2 = o.i; @@ -533,11 +533,11 @@ public final class q7 extends a5 { int i6 = 0; while (i6 < 1001 && i5 == i3) { ArrayList arrayList2 = new ArrayList(); - m3 r2 = r(); - r2.b(); - if (!r2.d) { + m3 r = r(); + r.b(); + if (!r.d) { ArrayList arrayList3 = new ArrayList(); - if (!r2.a.b.getDatabasePath("google_app_measurement_local.db").exists()) { + if (!r.a.b.getDatabasePath("google_app_measurement_local.db").exists()) { arrayList = arrayList3; if (arrayList != null) { arrayList2.addAll(arrayList); @@ -555,19 +555,19 @@ public final class q7 extends a5 { AbstractSafeParcelable abstractSafeParcelable2 = (AbstractSafeParcelable) arrayList2.get(i2); if (abstractSafeParcelable2 instanceof zzaq) { try { - i3Var.q0((zzaq) abstractSafeParcelable2, zzn); + i3Var.o0((zzaq) abstractSafeParcelable2, zzn); } catch (RemoteException e3) { g().f.b("Failed to send event to the service", e3); } } else if (abstractSafeParcelable2 instanceof zzku) { try { - i3Var.u0((zzku) abstractSafeParcelable2, zzn); + i3Var.t0((zzku) abstractSafeParcelable2, zzn); } catch (RemoteException e4) { g().f.b("Failed to send user property to the service", e4); } } else if (abstractSafeParcelable2 instanceof zzz) { try { - i3Var.v0((zzz) abstractSafeParcelable2, zzn); + i3Var.u0((zzz) abstractSafeParcelable2, zzn); } catch (RemoteException e5) { g().f.b("Failed to send conditional user property to the service", e5); } @@ -586,15 +586,15 @@ public final class q7 extends a5 { int i10 = 5; while (true) { if (i9 >= i8) { - r2.g().i.a("Failed to read events from database in reasonable time"); + r.g().i.a("Failed to read events from database in reasonable time"); arrayList = null; break; } try { - sQLiteDatabase2 = r2.A(); + sQLiteDatabase2 = r.A(); if (sQLiteDatabase2 == null) { try { - r2.d = true; + r.d = true; if (sQLiteDatabase2 != null) { sQLiteDatabase2.close(); } @@ -633,8 +633,8 @@ public final class q7 extends a5 { throw th; } } - r2.g().f.b("Error reading entries from local database", e2); - r2.d = true; + r.g().f.b("Error reading entries from local database", e2); + r.d = true; if (cursor2 != null) { cursor2.close(); } @@ -659,11 +659,11 @@ public final class q7 extends a5 { } } else { sQLiteDatabase2.beginTransaction(); - long w2 = m3.w(sQLiteDatabase2); + long w = m3.w(sQLiteDatabase2); long j = -1; - if (w2 != -1) { + if (w != -1) { String[] strArr2 = new String[1]; - strArr2[i4] = String.valueOf(w2); + strArr2[i4] = String.valueOf(w); str = "rowid 131072) { - r2.g().g.a("Conditional user property too long for local database. Sending directly to service"); + r.g().g.a("Conditional user property too long for local database. Sending directly to service"); z2 = false; } else { - z2 = r2.x(2, g02); + z2 = r.x(2, g02); } z(new g8(this, z2, new zzz(zzz), I(true), zzz)); } diff --git a/app/src/main/java/c/i/a/f/i/b/q8.java b/app/src/main/java/c/i/a/f/i/b/q8.java index 67ad032655..86640a32aa 100644 --- a/app/src/main/java/c/i/a/f/i/b/q8.java +++ b/app/src/main/java/c/i/a/f/i/b/q8.java @@ -4,7 +4,7 @@ import android.os.SystemClock; import android.util.Pair; import androidx.annotation.NonNull; import androidx.annotation.WorkerThread; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import c.i.a.f.h.l.t8; import com.google.android.gms.ads.identifier.AdvertisingIdClient; import java.math.BigInteger; @@ -49,7 +49,7 @@ public final class q8 extends i9 { @WorkerThread public final Pair u(String str) { b(); - Objects.requireNonNull((d) this.a.o); + Objects.requireNonNull((c) this.a.o); long elapsedRealtime = SystemClock.elapsedRealtime(); if (this.d != null && elapsedRealtime < this.f) { return new Pair<>(this.d, Boolean.valueOf(this.e)); diff --git a/app/src/main/java/c/i/a/f/i/b/q9.java b/app/src/main/java/c/i/a/f/i/b/q9.java index 0ef2fff6d4..4ac3950ec4 100644 --- a/app/src/main/java/c/i/a/f/i/b/q9.java +++ b/app/src/main/java/c/i/a/f/i/b/q9.java @@ -8,7 +8,7 @@ import android.text.TextUtils; import androidx.annotation.Nullable; import androidx.annotation.WorkerThread; import c.d.b.a.a; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import c.i.a.f.h.l.a1; import c.i.a.f.h.l.b6; import c.i.a.f.h.l.c1; @@ -282,7 +282,7 @@ public final class q9 extends i9 { @WorkerThread public static boolean O(zzaq zzaq, zzn zzn) { Objects.requireNonNull(zzaq, "null reference"); - return !TextUtils.isEmpty(zzn.j) || !TextUtils.isEmpty(zzn.f2812z); + return !TextUtils.isEmpty(zzn.j) || !TextUtils.isEmpty(zzn.f2392z); } public static boolean P(String str) { @@ -297,23 +297,23 @@ public final class q9 extends i9 { } public static Object R(a1 a1Var, String str) { - c1 w2 = w(a1Var, str); - if (w2 == null) { + c1 w = w(a1Var, str); + if (w == null) { return null; } - if (w2.F()) { - return w2.G(); + if (w.F()) { + return w.G(); } - if (w2.I()) { - return Long.valueOf(w2.J()); + if (w.I()) { + return Long.valueOf(w.J()); } - if (w2.M()) { - return Double.valueOf(w2.N()); + if (w.M()) { + return Double.valueOf(w.N()); } - if (w2.P() <= 0) { + if (w.P() <= 0) { return null; } - List O = w2.O(); + List O = w.O(); ArrayList arrayList = new ArrayList(); for (c1 c1Var : O) { if (c1Var != null) { @@ -494,24 +494,24 @@ public final class q9 extends i9 { } if (m0Var.v()) { int i2 = i + 1; - p0 w2 = m0Var.w(); - if (w2 != null) { + p0 w = m0Var.w(); + if (w != null) { H(sb, i2); sb.append("string_filter"); sb.append(" {\n"); - if (w2.u()) { - L(sb, i2, "match_type", w2.v().name()); + if (w.u()) { + L(sb, i2, "match_type", w.v().name()); } - if (w2.w()) { - L(sb, i2, "expression", w2.x()); + if (w.w()) { + L(sb, i2, "expression", w.x()); } - if (w2.y()) { - L(sb, i2, "case_sensitive", Boolean.valueOf(w2.z())); + if (w.y()) { + L(sb, i2, "case_sensitive", Boolean.valueOf(w.z())); } - if (w2.B() > 0) { + if (w.B() > 0) { H(sb, i2 + 1); sb.append("expression_list {\n"); - for (String str : w2.A()) { + for (String str : w.A()) { H(sb, i2 + 2); sb.append(str); sb.append("\n"); @@ -559,7 +559,7 @@ public final class q9 extends i9 { if (j == 0 || j2 <= 0) { return true; } - Objects.requireNonNull((d) this.a.o); + Objects.requireNonNull((c) this.a.o); return Math.abs(System.currentTimeMillis() - j) > j2; } @@ -685,122 +685,122 @@ public final class q9 extends i9 { for (String str : zzap.i.keySet()) { c1.a Q = c1.Q(); Q.s(str); - F(Q, mVar.f.v0(str)); + F(Q, mVar.f.w0(str)); M.s(Q); } return (a1) ((u4) M.p()); } public final String y(o0 o0Var) { - StringBuilder O = a.O("\nproperty_filter {\n"); + StringBuilder R = a.R("\nproperty_filter {\n"); if (o0Var.v()) { - L(O, 0, "filter_id", Integer.valueOf(o0Var.w())); + L(R, 0, "filter_id", Integer.valueOf(o0Var.w())); } - L(O, 0, "property_name", d().y(o0Var.x())); + L(R, 0, "property_name", d().y(o0Var.x())); String A = A(o0Var.z(), o0Var.A(), o0Var.C()); if (!A.isEmpty()) { - L(O, 0, "filter_type", A); + L(R, 0, "filter_type", A); } - I(O, 1, o0Var.y()); - O.append("}\n"); - return O.toString(); + I(R, 1, o0Var.y()); + R.append("}\n"); + return R.toString(); } public final String z(d1 d1Var) { - StringBuilder O = a.O("\nbatch {\n"); + StringBuilder R = a.R("\nbatch {\n"); for (e1 e1Var : d1Var.v()) { if (e1Var != null) { - H(O, 1); - O.append("bundle {\n"); + H(R, 1); + R.append("bundle {\n"); if (e1Var.E()) { - L(O, 1, "protocol_version", Integer.valueOf(e1Var.g0())); + L(R, 1, "protocol_version", Integer.valueOf(e1Var.g0())); } - L(O, 1, "platform", e1Var.y1()); + L(R, 1, "platform", e1Var.y1()); if (e1Var.I1()) { - L(O, 1, "gmp_version", Long.valueOf(e1Var.F())); + L(R, 1, "gmp_version", Long.valueOf(e1Var.F())); } if (e1Var.H()) { - L(O, 1, "uploading_gmp_version", Long.valueOf(e1Var.I())); + L(R, 1, "uploading_gmp_version", Long.valueOf(e1Var.I())); } if (e1Var.p0()) { - L(O, 1, "dynamite_version", Long.valueOf(e1Var.q0())); + L(R, 1, "dynamite_version", Long.valueOf(e1Var.q0())); } if (e1Var.a0()) { - L(O, 1, "config_version", Long.valueOf(e1Var.b0())); + L(R, 1, "config_version", Long.valueOf(e1Var.b0())); } - L(O, 1, "gmp_app_id", e1Var.S()); - L(O, 1, "admob_app_id", e1Var.o0()); - L(O, 1, "app_id", e1Var.G1()); - L(O, 1, "app_version", e1Var.H1()); + L(R, 1, "gmp_app_id", e1Var.S()); + L(R, 1, "admob_app_id", e1Var.o0()); + L(R, 1, "app_id", e1Var.G1()); + L(R, 1, "app_version", e1Var.H1()); if (e1Var.X()) { - L(O, 1, "app_version_major", Integer.valueOf(e1Var.Y())); + L(R, 1, "app_version_major", Integer.valueOf(e1Var.Y())); } - L(O, 1, "firebase_instance_id", e1Var.W()); + L(R, 1, "firebase_instance_id", e1Var.W()); if (e1Var.N()) { - L(O, 1, "dev_cert_hash", Long.valueOf(e1Var.O())); + L(R, 1, "dev_cert_hash", Long.valueOf(e1Var.O())); } - L(O, 1, "app_store", e1Var.F1()); + L(R, 1, "app_store", e1Var.F1()); if (e1Var.Y0()) { - L(O, 1, "upload_timestamp_millis", Long.valueOf(e1Var.Z0())); + L(R, 1, "upload_timestamp_millis", Long.valueOf(e1Var.Z0())); } if (e1Var.g1()) { - L(O, 1, "start_timestamp_millis", Long.valueOf(e1Var.h1())); + L(R, 1, "start_timestamp_millis", Long.valueOf(e1Var.h1())); } if (e1Var.n1()) { - L(O, 1, "end_timestamp_millis", Long.valueOf(e1Var.o1())); + L(R, 1, "end_timestamp_millis", Long.valueOf(e1Var.o1())); } if (e1Var.s1()) { - L(O, 1, "previous_bundle_start_timestamp_millis", Long.valueOf(e1Var.t1())); + L(R, 1, "previous_bundle_start_timestamp_millis", Long.valueOf(e1Var.t1())); } if (e1Var.v1()) { - L(O, 1, "previous_bundle_end_timestamp_millis", Long.valueOf(e1Var.w1())); + L(R, 1, "previous_bundle_end_timestamp_millis", Long.valueOf(e1Var.w1())); } - L(O, 1, "app_instance_id", e1Var.M()); - L(O, 1, "resettable_device_id", e1Var.J()); - L(O, 1, "device_id", e1Var.Z()); - L(O, 1, "ds_id", e1Var.e0()); + L(R, 1, "app_instance_id", e1Var.M()); + L(R, 1, "resettable_device_id", e1Var.J()); + L(R, 1, "device_id", e1Var.Z()); + L(R, 1, "ds_id", e1Var.e0()); if (e1Var.K()) { - L(O, 1, "limited_ad_tracking", Boolean.valueOf(e1Var.L())); + L(R, 1, "limited_ad_tracking", Boolean.valueOf(e1Var.L())); } - L(O, 1, "os_version", e1Var.A1()); - L(O, 1, "device_model", e1Var.B1()); - L(O, 1, "user_default_language", e1Var.C1()); + L(R, 1, "os_version", e1Var.A1()); + L(R, 1, "device_model", e1Var.B1()); + L(R, 1, "user_default_language", e1Var.C1()); if (e1Var.D1()) { - L(O, 1, "time_zone_offset_minutes", Integer.valueOf(e1Var.E1())); + L(R, 1, "time_zone_offset_minutes", Integer.valueOf(e1Var.E1())); } if (e1Var.P()) { - L(O, 1, "bundle_sequential_index", Integer.valueOf(e1Var.Q())); + L(R, 1, "bundle_sequential_index", Integer.valueOf(e1Var.Q())); } if (e1Var.T()) { - L(O, 1, "service_upload", Boolean.valueOf(e1Var.U())); + L(R, 1, "service_upload", Boolean.valueOf(e1Var.U())); } - L(O, 1, "health_monitor", e1Var.R()); + L(R, 1, "health_monitor", e1Var.R()); if (!this.a.h.o(p.y0) && e1Var.c0() && e1Var.d0() != 0) { - L(O, 1, "android_id", Long.valueOf(e1Var.d0())); + L(R, 1, "android_id", Long.valueOf(e1Var.d0())); } if (e1Var.f0()) { - L(O, 1, "retry_counter", Integer.valueOf(e1Var.n0())); + L(R, 1, "retry_counter", Integer.valueOf(e1Var.n0())); } if (e1Var.s0()) { - L(O, 1, "consent_signals", e1Var.t0()); + L(R, 1, "consent_signals", e1Var.t0()); } List K0 = e1Var.K0(); if (K0 != null) { for (i1 i1Var : K0) { if (i1Var != null) { - H(O, 2); - O.append("user_property {\n"); + H(R, 2); + R.append("user_property {\n"); Double d = null; - L(O, 2, "set_timestamp_millis", i1Var.y() ? Long.valueOf(i1Var.z()) : null); - L(O, 2, ModelAuditLogEntry.CHANGE_KEY_NAME, d().y(i1Var.D())); - L(O, 2, "string_value", i1Var.G()); - L(O, 2, "int_value", i1Var.H() ? Long.valueOf(i1Var.I()) : null); + L(R, 2, "set_timestamp_millis", i1Var.y() ? Long.valueOf(i1Var.z()) : null); + L(R, 2, ModelAuditLogEntry.CHANGE_KEY_NAME, d().y(i1Var.D())); + L(R, 2, "string_value", i1Var.G()); + L(R, 2, "int_value", i1Var.H() ? Long.valueOf(i1Var.I()) : null); if (i1Var.J()) { d = Double.valueOf(i1Var.K()); } - L(O, 2, "double_value", d); - H(O, 2); - O.append("}\n"); + L(R, 2, "double_value", d); + H(R, 2); + R.append("}\n"); } } } @@ -808,20 +808,20 @@ public final class q9 extends i9 { if (V != null) { for (y0 y0Var : V) { if (y0Var != null) { - H(O, 2); - O.append("audience_membership {\n"); + H(R, 2); + R.append("audience_membership {\n"); if (y0Var.x()) { - L(O, 2, "audience_id", Integer.valueOf(y0Var.y())); + L(R, 2, "audience_id", Integer.valueOf(y0Var.y())); } if (y0Var.D()) { - L(O, 2, "new_audience", Boolean.valueOf(y0Var.E())); + L(R, 2, "new_audience", Boolean.valueOf(y0Var.E())); } - K(O, 2, "current_data", y0Var.A()); + K(R, 2, "current_data", y0Var.A()); if (y0Var.B()) { - K(O, 2, "previous_data", y0Var.C()); + K(R, 2, "previous_data", y0Var.C()); } - H(O, 2); - O.append("}\n"); + H(R, 2); + R.append("}\n"); } } } @@ -829,31 +829,31 @@ public final class q9 extends i9 { if (y0 != null) { for (a1 a1Var : y0) { if (a1Var != null) { - H(O, 2); - O.append("event {\n"); - L(O, 2, ModelAuditLogEntry.CHANGE_KEY_NAME, d().u(a1Var.F())); + H(R, 2); + R.append("event {\n"); + L(R, 2, ModelAuditLogEntry.CHANGE_KEY_NAME, d().u(a1Var.F())); if (a1Var.G()) { - L(O, 2, "timestamp_millis", Long.valueOf(a1Var.H())); + L(R, 2, "timestamp_millis", Long.valueOf(a1Var.H())); } if (a1Var.I()) { - L(O, 2, "previous_timestamp_millis", Long.valueOf(a1Var.J())); + L(R, 2, "previous_timestamp_millis", Long.valueOf(a1Var.J())); } if (a1Var.K()) { - L(O, 2, "count", Integer.valueOf(a1Var.L())); + L(R, 2, "count", Integer.valueOf(a1Var.L())); } if (a1Var.D() != 0) { - M(O, 2, a1Var.v()); + M(R, 2, a1Var.v()); } - H(O, 2); - O.append("}\n"); + H(R, 2); + R.append("}\n"); } } } - H(O, 1); - O.append("}\n"); + H(R, 1); + R.append("}\n"); } } - O.append("}\n"); - return O.toString(); + R.append("}\n"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/a/f/i/b/r3.java b/app/src/main/java/c/i/a/f/i/b/r3.java index 5da9d81d57..7549492993 100644 --- a/app/src/main/java/c/i/a/f/i/b/r3.java +++ b/app/src/main/java/c/i/a/f/i/b/r3.java @@ -10,7 +10,7 @@ import c.i.a.f.e.k.b; import c.i.a.f.e.k.e; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class r3 extends b { - public r3(Context context, Looper looper, b.a aVar, b.AbstractC0108b bVar) { + public r3(Context context, Looper looper, b.a aVar, b.AbstractC0107b bVar) { super(context, looper, e.a(context), c.b, 93, aVar, bVar, null); } diff --git a/app/src/main/java/c/i/a/f/i/b/r4.java b/app/src/main/java/c/i/a/f/i/b/r4.java index be038a0c45..c4c4cb205b 100644 --- a/app/src/main/java/c/i/a/f/i/b/r4.java +++ b/app/src/main/java/c/i/a/f/i/b/r4.java @@ -14,7 +14,7 @@ import java.util.concurrent.atomic.AtomicReference; public final class r4 extends r5 { /* renamed from: c reason: collision with root package name */ - public static final AtomicLong f1276c = new AtomicLong(Long.MIN_VALUE); + public static final AtomicLong f1236c = new AtomicLong(Long.MIN_VALUE); public v4 d; public v4 e; public final PriorityBlockingQueue> f = new PriorityBlockingQueue<>(); diff --git a/app/src/main/java/c/i/a/f/i/b/s3.java b/app/src/main/java/c/i/a/f/i/b/s3.java index 6435796cfb..ef1e7060eb 100644 --- a/app/src/main/java/c/i/a/f/i/b/s3.java +++ b/app/src/main/java/c/i/a/f/i/b/s3.java @@ -5,29 +5,29 @@ public final class s3 { public final boolean b; /* renamed from: c reason: collision with root package name */ - public final boolean f1277c; + public final boolean f1237c; public final /* synthetic */ q3 d; public s3(q3 q3Var, int i, boolean z2, boolean z3) { this.d = q3Var; this.a = i; this.b = z2; - this.f1277c = z3; + this.f1237c = z3; } public final void a(String str) { - this.d.w(this.a, this.b, this.f1277c, str, null, null, null); + this.d.w(this.a, this.b, this.f1237c, str, null, null, null); } public final void b(String str, Object obj) { - this.d.w(this.a, this.b, this.f1277c, str, obj, null, null); + this.d.w(this.a, this.b, this.f1237c, str, obj, null, null); } public final void c(String str, Object obj, Object obj2) { - this.d.w(this.a, this.b, this.f1277c, str, obj, obj2, null); + this.d.w(this.a, this.b, this.f1237c, str, obj, obj2, null); } public final void d(String str, Object obj, Object obj2, Object obj3) { - this.d.w(this.a, this.b, this.f1277c, str, obj, obj2, obj3); + this.d.w(this.a, this.b, this.f1237c, str, obj, obj2, obj3); } } diff --git a/app/src/main/java/c/i/a/f/i/b/s4.java b/app/src/main/java/c/i/a/f/i/b/s4.java index 2a50ab0029..befc71737d 100644 --- a/app/src/main/java/c/i/a/f/i/b/s4.java +++ b/app/src/main/java/c/i/a/f/i/b/s4.java @@ -15,7 +15,7 @@ public final class s4 extends FutureTask implements Comparable> { public s4(r4 r4Var, Runnable runnable, boolean z2, String str) { super(runnable, null); this.l = r4Var; - long andIncrement = r4.f1276c.getAndIncrement(); + long andIncrement = r4.f1236c.getAndIncrement(); this.i = andIncrement; this.k = str; this.j = z2; @@ -28,7 +28,7 @@ public final class s4 extends FutureTask implements Comparable> { public s4(r4 r4Var, Callable callable, boolean z2, String str) { super(callable); this.l = r4Var; - long andIncrement = r4.f1276c.getAndIncrement(); + long andIncrement = r4.f1236c.getAndIncrement(); this.i = andIncrement; this.k = str; this.j = z2; diff --git a/app/src/main/java/c/i/a/f/i/b/s6.java b/app/src/main/java/c/i/a/f/i/b/s6.java index 0ffa39a96a..e7b17152a0 100644 --- a/app/src/main/java/c/i/a/f/i/b/s6.java +++ b/app/src/main/java/c/i/a/f/i/b/s6.java @@ -20,7 +20,7 @@ public final class s6 implements Runnable { c cVar = c6Var.a.h; n3 o = c6Var.o(); o.t(); - atomicReference.set(Integer.valueOf(cVar.q(o.f1257c, p.N))); + atomicReference.set(Integer.valueOf(cVar.q(o.f1217c, p.N))); this.i.notify(); } catch (Throwable th) { this.i.notify(); diff --git a/app/src/main/java/c/i/a/f/i/b/s7.java b/app/src/main/java/c/i/a/f/i/b/s7.java index 62f6044120..fae2c54d8b 100644 --- a/app/src/main/java/c/i/a/f/i/b/s7.java +++ b/app/src/main/java/c/i/a/f/i/b/s7.java @@ -32,7 +32,7 @@ public final class s7 implements Runnable { q7Var.g().f.c("Failed to get user properties; not connected to service", this.i, this.j); return; } - Bundle A = t9.A(i3Var.P(this.i, this.j, this.k, this.l)); + Bundle A = t9.A(i3Var.S(this.i, this.j, this.k, this.l)); this.n.F(); this.n.e().L(this.m, A); } catch (RemoteException e) { diff --git a/app/src/main/java/c/i/a/f/i/b/s9.java b/app/src/main/java/c/i/a/f/i/b/s9.java index b15d4b214c..41917d85fd 100644 --- a/app/src/main/java/c/i/a/f/i/b/s9.java +++ b/app/src/main/java/c/i/a/f/i/b/s9.java @@ -9,7 +9,7 @@ public final class s9 implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzku createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; Long l = null; Float f = null; @@ -18,22 +18,22 @@ public final class s9 implements Parcelable.Creator { Double d = null; long j = 0; int i = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); break; case 2: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 3: - j = d.H1(parcel, readInt); + j = d.F1(parcel, readInt); break; case 4: - int M1 = d.M1(parcel, readInt); - if (M1 != 0) { - d.A2(parcel, M1, 8); + int K1 = d.K1(parcel, readInt); + if (K1 != 0) { + d.z2(parcel, K1, 8); l = Long.valueOf(parcel.readLong()); break; } else { @@ -41,9 +41,9 @@ public final class s9 implements Parcelable.Creator { break; } case 5: - int M12 = d.M1(parcel, readInt); - if (M12 != 0) { - d.A2(parcel, M12, 4); + int K12 = d.K1(parcel, readInt); + if (K12 != 0) { + d.z2(parcel, K12, 4); f = Float.valueOf(parcel.readFloat()); break; } else { @@ -51,15 +51,15 @@ public final class s9 implements Parcelable.Creator { break; } case 6: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; case 7: - str3 = d.T(parcel, readInt); + str3 = d.Q(parcel, readInt); break; case 8: - int M13 = d.M1(parcel, readInt); - if (M13 != 0) { - d.A2(parcel, M13, 8); + int K13 = d.K1(parcel, readInt); + if (K13 != 0) { + d.z2(parcel, K13, 8); d = Double.valueOf(parcel.readDouble()); break; } else { @@ -67,11 +67,11 @@ public final class s9 implements Parcelable.Creator { break; } default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzku(i, str, j, l, f, str2, str3, d); } diff --git a/app/src/main/java/c/i/a/f/i/b/t3.java b/app/src/main/java/c/i/a/f/i/b/t3.java index b89ee71241..0224273c1e 100644 --- a/app/src/main/java/c/i/a/f/i/b/t3.java +++ b/app/src/main/java/c/i/a/f/i/b/t3.java @@ -32,7 +32,7 @@ public final class t3 implements Runnable { } q3 q3Var = this.n; boolean z2 = true; - if (q3Var.f1274c == 0) { + if (q3Var.f1234c == 0) { c cVar = q3Var.a.h; if (cVar.d == null) { synchronized (cVar) { @@ -51,9 +51,9 @@ public final class t3 implements Runnable { } } if (cVar.d.booleanValue()) { - this.n.f1274c = 'C'; + this.n.f1234c = 'C'; } else { - this.n.f1274c = 'c'; + this.n.f1234c = 'c'; } } q3 q3Var2 = this.n; @@ -62,7 +62,7 @@ public final class t3 implements Runnable { } char charAt = "01VDIWEA?".charAt(this.i); q3 q3Var3 = this.n; - char c2 = q3Var3.f1274c; + char c2 = q3Var3.f1234c; long j = q3Var3.d; String u = q3.u(true, this.j, this.k, this.l, this.m); StringBuilder sb = new StringBuilder(String.valueOf(u).length() + 24); @@ -87,7 +87,7 @@ public final class t3 implements Runnable { long j2 = k4Var.e.w().getLong(k4Var.b, 0); if (j2 <= 0) { SharedPreferences.Editor edit = k4Var.e.w().edit(); - edit.putString(k4Var.f1246c, sb2); + edit.putString(k4Var.f1207c, sb2); edit.putLong(k4Var.b, 1); edit.apply(); return; @@ -98,7 +98,7 @@ public final class t3 implements Runnable { } SharedPreferences.Editor edit2 = k4Var.e.w().edit(); if (z2) { - edit2.putString(k4Var.f1246c, sb2); + edit2.putString(k4Var.f1207c, sb2); } edit2.putLong(k4Var.b, j3); edit2.apply(); diff --git a/app/src/main/java/c/i/a/f/i/b/t6.java b/app/src/main/java/c/i/a/f/i/b/t6.java index 51f13cfe8d..c8fb2927ac 100644 --- a/app/src/main/java/c/i/a/f/i/b/t6.java +++ b/app/src/main/java/c/i/a/f/i/b/t6.java @@ -20,7 +20,7 @@ public final class t6 implements Runnable { c cVar = c6Var.a.h; n3 o = c6Var.o(); o.t(); - atomicReference.set(Long.valueOf(cVar.n(o.f1257c, p.M))); + atomicReference.set(Long.valueOf(cVar.n(o.f1217c, p.M))); this.i.notify(); } catch (Throwable th) { this.i.notify(); diff --git a/app/src/main/java/c/i/a/f/i/b/t7.java b/app/src/main/java/c/i/a/f/i/b/t7.java index aad4c107f3..41632d4737 100644 --- a/app/src/main/java/c/i/a/f/i/b/t7.java +++ b/app/src/main/java/c/i/a/f/i/b/t7.java @@ -21,7 +21,7 @@ public final class t7 implements Runnable { return; } try { - i3Var.F(this.i); + i3Var.I(this.i); } catch (RemoteException e) { this.j.g().f.b("Failed to reset data on the service: remote exception", e); } diff --git a/app/src/main/java/c/i/a/f/i/b/t9.java b/app/src/main/java/c/i/a/f/i/b/t9.java index c0e249863e..9e0e4f74b1 100644 --- a/app/src/main/java/c/i/a/f/i/b/t9.java +++ b/app/src/main/java/c/i/a/f/i/b/t9.java @@ -24,6 +24,7 @@ import c.c.a.a0.d; import c.d.b.a.a; import c.i.a.f.e.e; import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.i.a.f.e.p.b; import c.i.a.f.h.l.da; import c.i.a.f.h.l.fc; @@ -56,7 +57,7 @@ import javax.security.auth.x500.X500Principal; public final class t9 extends r5 { /* renamed from: c reason: collision with root package name */ - public static final String[] f1278c = {"firebase_", "google_", "ga_"}; + public static final String[] f1238c = {"firebase_", "google_", "ga_"}; public static final String[] d = {"_err"}; public SecureRandom e; public final AtomicLong f = new AtomicLong(0); @@ -186,7 +187,7 @@ public final class t9 extends r5 { bundle.putString("origin", zzz.j); bundle.putLong("creation_timestamp", zzz.l); bundle.putString(ModelAuditLogEntry.CHANGE_KEY_NAME, zzz.k.j); - c.P0(bundle, zzz.k.v0()); + f.K1(bundle, zzz.k.w0()); bundle.putBoolean("active", zzz.m); String str = zzz.n; if (str != null) { @@ -197,7 +198,7 @@ public final class t9 extends r5 { bundle.putString("timed_out_event_name", zzaq.i); zzap zzap = zzz.o.j; if (zzap != null) { - bundle.putBundle("timed_out_event_params", zzap.w0()); + bundle.putBundle("timed_out_event_params", zzap.x0()); } } bundle.putLong("trigger_timeout", zzz.p); @@ -206,17 +207,17 @@ public final class t9 extends r5 { bundle.putString("triggered_event_name", zzaq2.i); zzap zzap2 = zzz.q.j; if (zzap2 != null) { - bundle.putBundle("triggered_event_params", zzap2.w0()); + bundle.putBundle("triggered_event_params", zzap2.x0()); } } bundle.putLong("triggered_timestamp", zzz.k.k); - bundle.putLong("time_to_live", zzz.f2813r); - zzaq zzaq3 = zzz.s; + bundle.putLong("time_to_live", zzz.r); + zzaq zzaq3 = zzz.f2393s; if (zzaq3 != null) { bundle.putString("expired_event_name", zzaq3.i); - zzap zzap3 = zzz.s.j; + zzap zzap3 = zzz.f2393s.j; if (zzap3 != null) { - bundle.putBundle("expired_event_params", zzap3.w0()); + bundle.putBundle("expired_event_params", zzap3.x0()); } } arrayList.add(bundle); @@ -265,9 +266,9 @@ public final class t9 extends r5 { return 0; } for (String str : zzap.i.keySet()) { - Object v0 = zzap.v0(str); - if (v0 instanceof Parcelable[]) { - j += (long) ((Parcelable[]) v0).length; + Object w0 = zzap.w0(str); + if (w0 instanceof Parcelable[]) { + j += (long) ((Parcelable[]) w0).length; } } return j; @@ -626,7 +627,7 @@ public final class t9 extends r5 { g().h.b("Invalid google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI. provided id", q3.s(str)); } return false; - } else if (da.b() && this.a.h.o(p.j0) && !TextUtils.isEmpty(str3)) { + } else if (da.b() && this.a.h.o(p.f1229j0) && !TextUtils.isEmpty(str3)) { return true; } else { if (!TextUtils.isEmpty(str2)) { @@ -650,7 +651,7 @@ public final class t9 extends r5 { g().h.b("Name is required and can't be null. Type", str); return false; } - String[] strArr3 = f1278c; + String[] strArr3 = f1238c; int length = strArr3.length; int i = 0; while (true) { @@ -783,7 +784,7 @@ public final class t9 extends r5 { if (!z3) { return 21; } - if (!e0(str3, u5.f1286c)) { + if (!e0(str3, u5.f1245c)) { return 20; } q7 x2 = this.a.x(); @@ -906,7 +907,7 @@ public final class t9 extends r5 { if (this.f.get() == 0) { synchronized (this.f) { long nanoTime = System.nanoTime(); - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); + Objects.requireNonNull((c) this.a.o); long nextLong = new Random(nanoTime ^ System.currentTimeMillis()).nextLong(); int i = this.g + 1; this.g = i; @@ -1072,11 +1073,11 @@ public final class t9 extends r5 { i2 = t; } else { i2 = t; - int s = s(str, str2, str3, bundle.get(str3), bundle2, list, z2, e02); - if (s == 17) { - F(bundle2, s, str3, Boolean.FALSE); - } else if (s != 0 && !"_ev".equals(str3)) { - F(bundle2, s, s == 21 ? str2 : str3, bundle.get(str3)); + int s2 = s(str, str2, str3, bundle.get(str3), bundle2, list, z2, e02); + if (s2 == 17) { + F(bundle2, s2, str3, Boolean.FALSE); + } else if (s2 != 0 && !"_ev".equals(str3)) { + F(bundle2, s2, s2 == 21 ? str2 : str3, bundle.get(str3)); bundle2.remove(str3); } if (X(str3)) { @@ -1110,6 +1111,6 @@ public final class t9 extends r5 { if ("_id".equals(str)) { return 256; } - return (!this.a.h.o(p.f1267h0) || !"_lgclid".equals(str)) ? 36 : 100; + return (!this.a.h.o(p.f1227h0) || !"_lgclid".equals(str)) ? 36 : 100; } } diff --git a/app/src/main/java/c/i/a/f/i/b/u3.java b/app/src/main/java/c/i/a/f/i/b/u3.java index e1600f2b26..dc90776d99 100644 --- a/app/src/main/java/c/i/a/f/i/b/u3.java +++ b/app/src/main/java/c/i/a/f/i/b/u3.java @@ -14,7 +14,7 @@ public final class u3 { public String b; /* renamed from: c reason: collision with root package name */ - public long f1279c; + public long f1239c; @NonNull public Bundle d; @@ -22,21 +22,21 @@ public final class u3 { this.a = str; this.b = str2; this.d = bundle; - this.f1279c = j; + this.f1239c = j; } public static u3 b(zzaq zzaq) { - return new u3(zzaq.i, zzaq.k, zzaq.j.w0(), zzaq.l); + return new u3(zzaq.i, zzaq.k, zzaq.j.x0(), zzaq.l); } public final zzaq a() { - return new zzaq(this.a, new zzap(new Bundle(this.d)), this.b, this.f1279c); + return new zzaq(this.a, new zzap(new Bundle(this.d)), this.b, this.f1239c); } public final String toString() { String str = this.b; String str2 = this.a; String valueOf = String.valueOf(this.d); - return a.G(a.N(valueOf.length() + a.b(str2, a.b(str, 21)), "origin=", str, ",name=", str2), ",params=", valueOf); + return a.H(a.Q(valueOf.length() + a.b(str2, a.b(str, 21)), "origin=", str, ",name=", str2), ",params=", valueOf); } } diff --git a/app/src/main/java/c/i/a/f/i/b/u4.java b/app/src/main/java/c/i/a/f/i/b/u4.java index 96bb4af6a8..ef87b6015e 100644 --- a/app/src/main/java/c/i/a/f/i/b/u4.java +++ b/app/src/main/java/c/i/a/f/i/b/u4.java @@ -6,10 +6,11 @@ import android.os.Bundle; import android.os.SystemClock; import android.text.TextUtils; import androidx.annotation.WorkerThread; +import c.d.b.a.a; import c.i.a.f.e.h.j.h; import c.i.a.f.e.o.b; import c.i.a.f.e.o.c; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.f; import c.i.a.f.h.l.c2; import c.i.a.f.h.l.k2; import c.i.a.f.h.l.l2; @@ -35,7 +36,7 @@ public class u4 implements t5 { public final Context b; /* renamed from: c reason: collision with root package name */ - public final String f1280c; + public final String f1240c; public final String d; public final String e; public final boolean f; @@ -50,25 +51,23 @@ public class u4 implements t5 { public final b o; public final h7 p; public final c6 q; + public final a r; - /* renamed from: r reason: collision with root package name */ - public final a f1281r; - public final d7 s; + /* renamed from: s reason: collision with root package name */ + public final d7 f1241s; public m3 t; public q7 u; public j v; - - /* renamed from: w reason: collision with root package name */ - public n3 f1282w; + public n3 w; /* renamed from: x reason: collision with root package name */ - public m4 f1283x; + public m4 f1242x; /* renamed from: y reason: collision with root package name */ - public boolean f1284y = false; + public boolean f1243y = false; /* renamed from: z reason: collision with root package name */ - public Boolean f1285z; + public Boolean f1244z; public u4(y5 y5Var) { Context context; @@ -77,10 +76,10 @@ public class u4 implements t5 { Context context2 = y5Var.a; ga gaVar = new ga(); this.g = gaVar; - c.h = gaVar; + f.d = gaVar; this.b = context2; - this.f1280c = y5Var.b; - this.d = y5Var.f1290c; + this.f1240c = y5Var.b; + this.d = y5Var.f1249c; this.e = y5Var.d; this.f = y5Var.h; this.B = y5Var.e; @@ -105,16 +104,16 @@ public class u4 implements t5 { s2.b(); synchronized (c2.class) { c2 c2Var = c2.a; - if (!(c2Var == null || (context = c2Var.b) == null || c2Var.f1161c == null)) { - context.getContentResolver().unregisterContentObserver(c2.a.f1161c); + if (!(c2Var == null || (context = c2Var.b) == null || c2Var.f1128c == null)) { + context.getContentResolver().unregisterContentObserver(c2.a.f1128c); } c2.a = null; } - l2.b = new v1(applicationContext, c.C0(new k2(applicationContext))); + l2.b = new v1(applicationContext, f.x1(new k2(applicationContext))); l2.d.incrementAndGet(); } } - this.o = d.a; + this.o = c.a; Long l = y5Var.i; this.H = l != null ? l.longValue() : System.currentTimeMillis(); this.h = new c(this); @@ -130,7 +129,7 @@ public class u4 implements t5 { o3 o3Var = new o3(this); o3Var.p(); this.n = o3Var; - this.f1281r = new a(this); + this.r = new a(this); h7 h7Var = new h7(this); h7Var.u(); this.p = h7Var; @@ -142,7 +141,7 @@ public class u4 implements t5 { this.l = w8Var; d7 d7Var = new d7(this); d7Var.p(); - this.s = d7Var; + this.f1241s = d7Var; r4 r4Var = new r4(this); r4Var.p(); this.k = r4Var; @@ -152,16 +151,16 @@ public class u4 implements t5 { } boolean z3 = !z2; if (context2.getApplicationContext() instanceof Application) { - c6 s = s(); - if (s.a.b.getApplicationContext() instanceof Application) { - Application application = (Application) s.a.b.getApplicationContext(); - if (s.f1223c == null) { - s.f1223c = new y6(s, null); + c6 s2 = s(); + if (s2.a.b.getApplicationContext() instanceof Application) { + Application application = (Application) s2.a.b.getApplicationContext(); + if (s2.f1185c == null) { + s2.f1185c = new y6(s2, null); } if (z3) { - application.unregisterActivityLifecycleCallbacks(s.f1223c); - application.registerActivityLifecycleCallbacks(s.f1223c); - s.g().n.a("Registered activity lifecycle callback"); + application.unregisterActivityLifecycleCallbacks(s2.f1185c); + application.registerActivityLifecycleCallbacks(s2.f1185c); + s2.g().n.a("Registered activity lifecycle callback"); } } } else { @@ -200,10 +199,7 @@ public class u4 implements t5 { throw new IllegalStateException("Component not created"); } else if (!a5Var.b) { String valueOf = String.valueOf(a5Var.getClass()); - StringBuilder sb = new StringBuilder(valueOf.length() + 27); - sb.append("Component not initialized: "); - sb.append(valueOf); - throw new IllegalStateException(sb.toString()); + throw new IllegalStateException(a.i(valueOf.length() + 27, "Component not initialized: ", valueOf)); } } @@ -212,15 +208,12 @@ public class u4 implements t5 { throw new IllegalStateException("Component not created"); } else if (!r5Var.n()) { String valueOf = String.valueOf(r5Var.getClass()); - StringBuilder sb = new StringBuilder(valueOf.length() + 27); - sb.append("Component not initialized: "); - sb.append(valueOf); - throw new IllegalStateException(sb.toString()); + throw new IllegalStateException(a.i(valueOf.length() + 27, "Component not initialized: ", valueOf)); } } public final a A() { - a aVar = this.f1281r; + a aVar = this.r; if (aVar != null) { return aVar; } @@ -258,9 +251,9 @@ public class u4 implements t5 { if (x2 != null) { return x2.booleanValue() ? 0 : 3; } - Boolean w2 = this.h.w("firebase_analytics_collection_enabled"); - if (w2 != null) { - return w2.booleanValue() ? 0 : 4; + Boolean w = this.h.w("firebase_analytics_collection_enabled"); + if (w != null) { + return w.booleanValue() ? 0 : 4; } Boolean bool2 = this.C; if (bool2 != null) { @@ -317,20 +310,20 @@ public class u4 implements t5 { */ @WorkerThread public final boolean m() { - if (this.f1284y) { + if (this.f1243y) { f().b(); - Boolean bool = this.f1285z; + Boolean bool = this.f1244z; if (!(bool == null || this.A == 0)) { if (!bool.booleanValue()) { - Objects.requireNonNull((d) this.o); + Objects.requireNonNull((c) this.o); } - return this.f1285z.booleanValue(); + return this.f1244z.booleanValue(); } - Objects.requireNonNull((d) this.o); + Objects.requireNonNull((c) this.o); this.A = SystemClock.elapsedRealtime(); boolean z2 = false; Boolean valueOf = Boolean.valueOf(t().p0("android.permission.INTERNET") && t().p0("android.permission.ACCESS_NETWORK_STATE") && (c.i.a.f.e.p.b.a(this.b).c() || this.h.C() || (n4.a(this.b) && t9.U(this.b)))); - this.f1285z = valueOf; + this.f1244z = valueOf; if (valueOf.booleanValue()) { t9 t = t(); n3 z3 = z(); @@ -346,16 +339,16 @@ public class u4 implements t5 { z6.t(); } z2 = true; - this.f1285z = Boolean.valueOf(z2); + this.f1244z = Boolean.valueOf(z2); } - return this.f1285z.booleanValue(); + return this.f1244z.booleanValue(); } throw new IllegalStateException("AppMeasurement is not initialized"); } public final d7 n() { - q(this.s); - return this.s; + q(this.f1241s); + return this.f1241s; } public final d4 o() { @@ -384,7 +377,7 @@ public class u4 implements t5 { } public final boolean v() { - return TextUtils.isEmpty(this.f1280c); + return TextUtils.isEmpty(this.f1240c); } public final h7 w() { @@ -403,7 +396,7 @@ public class u4 implements t5 { } public final n3 z() { - p(this.f1282w); - return this.f1282w; + p(this.w); + return this.w; } } diff --git a/app/src/main/java/c/i/a/f/i/b/u5.java b/app/src/main/java/c/i/a/f/i/b/u5.java index fe009f9fb6..f4f72f7384 100644 --- a/app/src/main/java/c/i/a/f/i/b/u5.java +++ b/app/src/main/java/c/i/a/f/i/b/u5.java @@ -7,6 +7,6 @@ public final class u5 { public static final String[] b = {"_c", "_et", "_xt", "_aeid", "_ai", "_err", "_ev", "_el", "_o", "_sn", "_sc", "_si", "_pn", "_pc", "_pi", "_mst", "_ndt", "_nmid", "_nmn", "_nmt", "_nmtid", "_nmc", "_pv", "_po", "_nt", "_uwa", "_pfo", "_sys", "_sysu", "_pin", "_eid", "_epc", "_gn", "_ll", "_i", "_en", "_cis", "_cc", "_dac", "_sno", "_sid", "_cer", "_aib", "_ffr", "_c", "_err", "_ev", "_el", "_o", "_sn", "_sc", "_si", "_pn", "_pc", "_pi", "_sno", "_sid"}; /* renamed from: c reason: collision with root package name */ - public static final String[] f1286c = {"items"}; + public static final String[] f1245c = {"items"}; public static final String[] d = {"affiliation", "coupon", "creative_name", "creative_slot", "currency", "discount", "index", "item_id", "item_brand", "item_category", "item_category2", "item_category3", "item_category4", "item_category5", "item_list_name", "item_list_id", "item_name", "item_variant", "location_id", "payment_type", "price", "promotion_id", "promotion_name", "quantity", "shipping", "shipping_tier", "tax", "transaction_id", "value", "item_list", "checkout_step", "checkout_option", "item_location_id"}; } diff --git a/app/src/main/java/c/i/a/f/i/b/u7.java b/app/src/main/java/c/i/a/f/i/b/u7.java index a3e9338500..39ab32a06d 100644 --- a/app/src/main/java/c/i/a/f/i/b/u7.java +++ b/app/src/main/java/c/i/a/f/i/b/u7.java @@ -28,13 +28,13 @@ public final class u7 implements Runnable { this.k.e().M(this.j, null); return; } - String z2 = i3Var.z(this.i); - if (z2 != null) { - this.k.n().g.set(z2); - this.k.l().m.b(z2); + String A = i3Var.A(this.i); + if (A != null) { + this.k.n().g.set(A); + this.k.l().m.b(A); } this.k.F(); - this.k.e().M(this.j, z2); + this.k.e().M(this.j, A); return; } this.k.g().k.a("Analytics storage consent denied; will not get app instance id"); diff --git a/app/src/main/java/c/i/a/f/i/b/u9.java b/app/src/main/java/c/i/a/f/i/b/u9.java index 724787e3b3..b10536b551 100644 --- a/app/src/main/java/c/i/a/f/i/b/u9.java +++ b/app/src/main/java/c/i/a/f/i/b/u9.java @@ -8,7 +8,7 @@ public final class u9 { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1287c; + public final String f1246c; public final long d; public final Object e; @@ -18,7 +18,7 @@ public final class u9 { Objects.requireNonNull(obj, "null reference"); this.a = str; this.b = str2; - this.f1287c = str3; + this.f1246c = str3; this.d = j; this.e = obj; } diff --git a/app/src/main/java/c/i/a/f/i/b/v5.java b/app/src/main/java/c/i/a/f/i/b/v5.java index 0a4f82ec24..54b60e701b 100644 --- a/app/src/main/java/c/i/a/f/i/b/v5.java +++ b/app/src/main/java/c/i/a/f/i/b/v5.java @@ -1,16 +1,16 @@ package c.i.a.f.i.b; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.google.android.gms:play-services-measurement-base@@18.0.0 */ public final class v5 { public static final String[] a = {"ad_activeview", "ad_click", "ad_exposure", "ad_query", "ad_reward", "adunit_exposure", "app_background", "app_clear_data", "app_exception", "app_remove", "app_store_refund", "app_store_subscription_cancel", "app_store_subscription_convert", "app_store_subscription_renew", "app_upgrade", "app_update", "dynamic_link_app_open", "dynamic_link_app_update", "dynamic_link_first_open", "ga_campaign", "error", "first_open", "first_visit", "in_app_purchase", "notification_dismiss", "notification_foreground", "notification_open", "notification_receive", "os_update", "session_start", "session_start_with_rollout", "user_engagement", "ad_impression", "screen_view", "ga_extra_parameter", "firebase_campaign"}; public static final String[] b = {"ad_impression"}; /* renamed from: c reason: collision with root package name */ - public static final String[] f1288c = {"_aa", "_ac", "_xa", "_aq", "_ar", "_xu", "_ab", "_cd", "_ae", "_ui", "app_store_refund", "app_store_subscription_cancel", "app_store_subscription_convert", "app_store_subscription_renew", "_ug", "_au", "dynamic_link_app_open", "dynamic_link_app_update", "dynamic_link_first_open", "_cmp", "_err", "_f", "_v", "_iap", "_nd", "_nf", "_no", "_nr", "_ou", "_s", "_ssr", "_e", "_ai", "_vs", "_ep", "_cmp"}; + public static final String[] f1247c = {"_aa", "_ac", "_xa", "_aq", "_ar", "_xu", "_ab", "_cd", "_ae", "_ui", "app_store_refund", "app_store_subscription_cancel", "app_store_subscription_convert", "app_store_subscription_renew", "_ug", "_au", "dynamic_link_app_open", "dynamic_link_app_update", "dynamic_link_first_open", "_cmp", "_err", "_f", "_v", "_iap", "_nd", "_nf", "_no", "_nr", "_ou", "_s", "_ssr", "_e", "_ai", "_vs", "_ep", "_cmp"}; public static final String[] d = {"purchase", "refund", "add_payment_info", "add_shipping_info", "add_to_cart", "add_to_wishlist", "begin_checkout", "remove_from_cart", "select_item", "select_promotion", "view_cart", "view_item", "view_item_list", "view_promotion", "ecommerce_purchase", "purchase_refund", "set_checkout_option", "checkout_progress", "select_content", "view_search_results"}; public static String a(String str) { - return c.K0(str, f1288c, a); + return f.F1(str, f1247c, a); } } diff --git a/app/src/main/java/c/i/a/f/i/b/v6.java b/app/src/main/java/c/i/a/f/i/b/v6.java index f8308e6b02..613cb5fb2a 100644 --- a/app/src/main/java/c/i/a/f/i/b/v6.java +++ b/app/src/main/java/c/i/a/f/i/b/v6.java @@ -20,7 +20,7 @@ public final class v6 implements Runnable { c cVar = c6Var.a.h; n3 o = c6Var.o(); o.t(); - atomicReference.set(Double.valueOf(cVar.r(o.f1257c, p.O))); + atomicReference.set(Double.valueOf(cVar.r(o.f1217c, p.O))); this.i.notify(); } catch (Throwable th) { this.i.notify(); diff --git a/app/src/main/java/c/i/a/f/i/b/v7.java b/app/src/main/java/c/i/a/f/i/b/v7.java index 48fbbd4fde..ecb8ff18d1 100644 --- a/app/src/main/java/c/i/a/f/i/b/v7.java +++ b/app/src/main/java/c/i/a/f/i/b/v7.java @@ -28,7 +28,7 @@ public final class v7 implements Runnable { this.i.notify(); return; } - this.i.set(i3Var.z(this.j)); + this.i.set(i3Var.A(this.j)); String str = (String) this.i.get(); if (str != null) { this.k.n().g.set(str); diff --git a/app/src/main/java/c/i/a/f/i/b/v8.java b/app/src/main/java/c/i/a/f/i/b/v8.java index 137cd6811c..ddd43ba50d 100644 --- a/app/src/main/java/c/i/a/f/i/b/v8.java +++ b/app/src/main/java/c/i/a/f/i/b/v8.java @@ -1,6 +1,6 @@ package c.i.a.f.i.b; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import java.util.Objects; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class v8 implements Runnable { @@ -20,10 +20,10 @@ public final class v8 implements Runnable { w8Var.x(); w8Var.g().n.b("Activity resumed, time", Long.valueOf(j)); if (w8Var.a.h.o(p.v0)) { - if (w8Var.a.h.z().booleanValue() || w8Var.l().f1229x.b()) { + if (w8Var.a.h.z().booleanValue() || w8Var.l().f1190x.b()) { d9 d9Var = w8Var.e; d9Var.d.b(); - d9Var.f1232c.c(); + d9Var.f1193c.c(); d9Var.a = j; d9Var.b = j; } @@ -33,7 +33,7 @@ public final class v8 implements Runnable { if (w8Var.a.h.z().booleanValue()) { d9 d9Var2 = w8Var.e; d9Var2.d.b(); - d9Var2.f1232c.c(); + d9Var2.f1193c.c(); d9Var2.a = j; d9Var2.b = j; } @@ -42,9 +42,9 @@ public final class v8 implements Runnable { f9Var.a.b(); if (f9Var.a.a.d()) { if (!f9Var.a.a.h.o(p.v0)) { - f9Var.a.l().f1229x.a(false); + f9Var.a.l().f1190x.a(false); } - Objects.requireNonNull((d) f9Var.a.a.o); + Objects.requireNonNull((c) f9Var.a.a.o); f9Var.b(System.currentTimeMillis(), false); } } diff --git a/app/src/main/java/c/i/a/f/i/b/w4.java b/app/src/main/java/c/i/a/f/i/b/w4.java index 90a9206322..0f65408036 100644 --- a/app/src/main/java/c/i/a/f/i/b/w4.java +++ b/app/src/main/java/c/i/a/f/i/b/w4.java @@ -3,7 +3,7 @@ package c.i.a.f.i.b; import android.content.SharedPreferences; import android.os.Bundle; import android.text.TextUtils; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import c.i.a.f.e.p.b; import c.i.a.f.h.l.a9; import c.i.a.f.h.l.ea; @@ -43,7 +43,7 @@ public final class w4 implements Runnable { u4Var.v = jVar; n3 n3Var = new n3(u4Var, y5Var.f); n3Var.u(); - u4Var.f1282w = n3Var; + u4Var.w = n3Var; m3 m3Var = new m3(u4Var); m3Var.u(); u4Var.t = m3Var; @@ -52,8 +52,8 @@ public final class w4 implements Runnable { u4Var.u = q7Var; u4Var.m.q(); u4Var.i.q(); - u4Var.f1283x = new m4(u4Var); - n3 n3Var2 = u4Var.f1282w; + u4Var.f1242x = new m4(u4Var); + n3 n3Var2 = u4Var.w; if (!n3Var2.b) { n3Var2.w(); n3Var2.a.G.incrementAndGet(); @@ -62,8 +62,8 @@ public final class w4 implements Runnable { u4Var.g().l.b("App measurement initialized, version", 33025L); u4Var.g().l.a("To enable debug logging run: adb shell setprop log.tag.FA VERBOSE"); n3Var.t(); - String str2 = n3Var.f1257c; - if (TextUtils.isEmpty(u4Var.f1280c)) { + String str2 = n3Var.f1217c; + if (TextUtils.isEmpty(u4Var.f1240c)) { if (u4Var.t().s0(str2)) { s3Var = u4Var.g().l; str = "Faster debug mode event logging enabled. To disable, run:\n adb shell setprop debug.firebase.analytics.app .none."; @@ -79,7 +79,7 @@ public final class w4 implements Runnable { if (u4Var.F != u4Var.G.get()) { u4Var.g().f.c("Not all components initialized", Integer.valueOf(u4Var.F), Integer.valueOf(u4Var.G.get())); } - u4Var.f1284y = true; + u4Var.f1243y = true; u4 u4Var2 = this.j; zzae zzae = this.i.g; u4Var2.f().b(); @@ -92,12 +92,12 @@ public final class w4 implements Runnable { if (u4Var2.h.o(p.I0)) { c cVar = u4Var2.h; Objects.requireNonNull(cVar); - Boolean w2 = (!t8.b() || !cVar.o(p.I0)) ? null : cVar.w("google_analytics_default_allow_ad_storage"); + Boolean w = (!t8.b() || !cVar.o(p.I0)) ? null : cVar.w("google_analytics_default_allow_ad_storage"); c cVar2 = u4Var2.h; Objects.requireNonNull(cVar2); - Boolean w3 = (!t8.b() || !cVar2.o(p.I0)) ? null : cVar2.w("google_analytics_default_allow_analytics_storage"); - if (!(w2 == null && w3 == null) && u4Var2.o().t(20)) { - dVar = new d(w2, w3); + Boolean w2 = (!t8.b() || !cVar2.o(p.I0)) ? null : cVar2.w("google_analytics_default_allow_analytics_storage"); + if (!(w == null && w2 == null) && u4Var2.o().t(20)) { + dVar = new d(w, w2); i2 = 20; } else { n3 z3 = u4Var2.z(); @@ -128,7 +128,7 @@ public final class w4 implements Runnable { } if (u4Var2.o().f.a() == 0) { h4 h4Var = u4Var2.o().f; - Objects.requireNonNull((d) u4Var2.o); + Objects.requireNonNull((c) u4Var2.o); h4Var.b(System.currentTimeMillis()); } if (Long.valueOf(u4Var2.o().k.a()).longValue() == 0) { diff --git a/app/src/main/java/c/i/a/f/i/b/w7.java b/app/src/main/java/c/i/a/f/i/b/w7.java index b5d5f1b4bc..9f031440b0 100644 --- a/app/src/main/java/c/i/a/f/i/b/w7.java +++ b/app/src/main/java/c/i/a/f/i/b/w7.java @@ -22,9 +22,9 @@ public final class w7 implements Runnable { try { i7 i7Var = this.i; if (i7Var == null) { - i3Var.E(0, null, null, q7Var.a.b.getPackageName()); + i3Var.H(0, null, null, q7Var.a.b.getPackageName()); } else { - i3Var.E(i7Var.f1241c, i7Var.a, i7Var.b, q7Var.a.b.getPackageName()); + i3Var.H(i7Var.f1202c, i7Var.a, i7Var.b, q7Var.a.b.getPackageName()); } this.j.F(); } catch (RemoteException e) { diff --git a/app/src/main/java/c/i/a/f/i/b/w8.java b/app/src/main/java/c/i/a/f/i/b/w8.java index 77b0e6ba85..c18f750503 100644 --- a/app/src/main/java/c/i/a/f/i/b/w8.java +++ b/app/src/main/java/c/i/a/f/i/b/w8.java @@ -8,7 +8,7 @@ import c.i.a.f.h.l.bc; public final class w8 extends a5 { /* renamed from: c reason: collision with root package name */ - public Handler f1289c; + public Handler f1248c; public final f9 d = new f9(this); public final d9 e = new d9(this); public final x8 f = new x8(this); @@ -29,8 +29,8 @@ public final class w8 extends a5 { @WorkerThread public final void x() { b(); - if (this.f1289c == null) { - this.f1289c = new bc(Looper.getMainLooper()); + if (this.f1248c == null) { + this.f1248c = new bc(Looper.getMainLooper()); } } } diff --git a/app/src/main/java/c/i/a/f/i/b/x.java b/app/src/main/java/c/i/a/f/i/b/x.java index afd26d8065..88639d27b7 100644 --- a/app/src/main/java/c/i/a/f/i/b/x.java +++ b/app/src/main/java/c/i/a/f/i/b/x.java @@ -20,32 +20,32 @@ public final class x implements Runnable { long j = this.j; aVar.b(); d.w(str); - Integer num = aVar.f1214c.get(str); + Integer num = aVar.f1177c.get(str); if (num != null) { - i7 w2 = aVar.q().w(false); + i7 w = aVar.q().w(false); int intValue = num.intValue() - 1; if (intValue == 0) { - aVar.f1214c.remove(str); + aVar.f1177c.remove(str); Long l = aVar.b.get(str); if (l == null) { aVar.g().f.a("First ad unit exposure time was never set"); } else { aVar.b.remove(str); - aVar.w(str, j - l.longValue(), w2); + aVar.w(str, j - l.longValue(), w); } - if (aVar.f1214c.isEmpty()) { + if (aVar.f1177c.isEmpty()) { long j2 = aVar.d; if (j2 == 0) { aVar.g().f.a("First ad exposure time was never set"); return; } - aVar.u(j - j2, w2); + aVar.u(j - j2, w); aVar.d = 0; return; } return; } - aVar.f1214c.put(str, Integer.valueOf(intValue)); + aVar.f1177c.put(str, Integer.valueOf(intValue)); return; } aVar.g().f.b("Call to endAdUnitExposure for unknown ad unit id", str); diff --git a/app/src/main/java/c/i/a/f/i/b/x7.java b/app/src/main/java/c/i/a/f/i/b/x7.java index ef2f0db438..64e0ba38a2 100644 --- a/app/src/main/java/c/i/a/f/i/b/x7.java +++ b/app/src/main/java/c/i/a/f/i/b/x7.java @@ -21,7 +21,7 @@ public final class x7 implements Runnable { return; } try { - i3Var.S(this.i); + i3Var.U(this.i); this.j.r().z(); this.j.w(i3Var, null, this.i); this.j.F(); diff --git a/app/src/main/java/c/i/a/f/i/b/x8.java b/app/src/main/java/c/i/a/f/i/b/x8.java index 2602100fb9..c26bd5db90 100644 --- a/app/src/main/java/c/i/a/f/i/b/x8.java +++ b/app/src/main/java/c/i/a/f/i/b/x8.java @@ -15,10 +15,10 @@ public final class x8 { this.b.b(); b9 b9Var = this.a; if (b9Var != null) { - this.b.f1289c.removeCallbacks(b9Var); + this.b.f1248c.removeCallbacks(b9Var); } if (this.b.a.h.o(p.v0)) { - this.b.l().f1229x.a(false); + this.b.l().f1190x.a(false); } } } diff --git a/app/src/main/java/c/i/a/f/i/b/y0.java b/app/src/main/java/c/i/a/f/i/b/y0.java index 78788b1140..298ea42590 100644 --- a/app/src/main/java/c/i/a/f/i/b/y0.java +++ b/app/src/main/java/c/i/a/f/i/b/y0.java @@ -20,16 +20,16 @@ public final class y0 implements Runnable { long j = this.j; aVar.b(); d.w(str); - if (aVar.f1214c.isEmpty()) { + if (aVar.f1177c.isEmpty()) { aVar.d = j; } - Integer num = aVar.f1214c.get(str); + Integer num = aVar.f1177c.get(str); if (num != null) { - aVar.f1214c.put(str, Integer.valueOf(num.intValue() + 1)); - } else if (aVar.f1214c.size() >= 100) { + aVar.f1177c.put(str, Integer.valueOf(num.intValue() + 1)); + } else if (aVar.f1177c.size() >= 100) { aVar.g().i.a("Too many ads visible"); } else { - aVar.f1214c.put(str, 1); + aVar.f1177c.put(str, 1); aVar.b.put(str, Long.valueOf(j)); } } diff --git a/app/src/main/java/c/i/a/f/i/b/y4.java b/app/src/main/java/c/i/a/f/i/b/y4.java index afecde4a10..4865f4bf83 100644 --- a/app/src/main/java/c/i/a/f/i/b/y4.java +++ b/app/src/main/java/c/i/a/f/i/b/y4.java @@ -69,7 +69,7 @@ public final /* synthetic */ class y4 implements Runnable { for (String str2 : zzap.i.keySet()) { c1.a Q = c1.Q(); Q.s(str2); - m.F(Q, zzap.v0(str2)); + m.F(Q, zzap.w0(str2)); M.s(Q); } byte[] d = ((a1) ((u4) M.p())).d(); diff --git a/app/src/main/java/c/i/a/f/i/b/y5.java b/app/src/main/java/c/i/a/f/i/b/y5.java index 3995c490d5..0e9a5eb2b9 100644 --- a/app/src/main/java/c/i/a/f/i/b/y5.java +++ b/app/src/main/java/c/i/a/f/i/b/y5.java @@ -10,7 +10,7 @@ public final class y5 { public String b; /* renamed from: c reason: collision with root package name */ - public String f1290c; + public String f1249c; public String d; public Boolean e; public long f; @@ -26,7 +26,7 @@ public final class y5 { if (zzae != null) { this.g = zzae; this.b = zzae.n; - this.f1290c = zzae.m; + this.f1249c = zzae.m; this.d = zzae.l; this.h = zzae.k; this.f = zzae.j; diff --git a/app/src/main/java/c/i/a/f/i/b/y6.java b/app/src/main/java/c/i/a/f/i/b/y6.java index 54e7a22f3d..ecf1bdfe3e 100644 --- a/app/src/main/java/c/i/a/f/i/b/y6.java +++ b/app/src/main/java/c/i/a/f/i/b/y6.java @@ -8,7 +8,7 @@ import android.net.Uri; import android.os.Bundle; import android.os.SystemClock; import androidx.annotation.MainThread; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import com.adjust.sdk.Constants; import com.discord.models.domain.ModelAuditLogEntry; import java.util.Objects; @@ -67,28 +67,28 @@ public final class y6 implements Application.ActivityLifecycleCallbacks { q.h = true; } } - Objects.requireNonNull((d) q.a.o); + Objects.requireNonNull((c) q.a.o); long elapsedRealtime = SystemClock.elapsedRealtime(); if (!q.a.h.o(p.u0) || q.a.h.z().booleanValue()) { i7 E = q.E(activity); - q.d = q.f1238c; - q.f1238c = null; + q.d = q.f1199c; + q.f1199c = null; q.f().v(new o7(q, E, elapsedRealtime)); } else { - q.f1238c = null; + q.f1199c = null; q.f().v(new l7(q, elapsedRealtime)); } - w8 s = this.i.s(); - Objects.requireNonNull((d) s.a.o); - s.f().v(new y8(s, SystemClock.elapsedRealtime())); + w8 s2 = this.i.s(); + Objects.requireNonNull((c) s2.a.o); + s2.f().v(new y8(s2, SystemClock.elapsedRealtime())); } @Override // android.app.Application.ActivityLifecycleCallbacks @MainThread public final void onActivityResumed(Activity activity) { - w8 s = this.i.s(); - Objects.requireNonNull((d) s.a.o); - s.f().v(new v8(s, SystemClock.elapsedRealtime())); + w8 s2 = this.i.s(); + Objects.requireNonNull((c) s2.a.o); + s2.f().v(new v8(s2, SystemClock.elapsedRealtime())); h7 q = this.i.q(); if (q.a.h.o(p.v0)) { synchronized (q.l) { @@ -108,11 +108,11 @@ public final class y6 implements Application.ActivityLifecycleCallbacks { if (!q.a.h.o(p.u0) || q.a.h.z().booleanValue()) { q.z(activity, q.E(activity), false); a m = q.m(); - Objects.requireNonNull((d) m.a.o); + Objects.requireNonNull((c) m.a.o); m.f().v(new a3(m, SystemClock.elapsedRealtime())); return; } - q.f1238c = q.i; + q.f1199c = q.i; q.f().v(new m7(q)); } @@ -122,7 +122,7 @@ public final class y6 implements Application.ActivityLifecycleCallbacks { h7 q = this.i.q(); if (q.a.h.z().booleanValue() && bundle != null && (i7Var = q.f.get(activity)) != null) { Bundle bundle2 = new Bundle(); - bundle2.putLong(ModelAuditLogEntry.CHANGE_KEY_ID, i7Var.f1241c); + bundle2.putLong(ModelAuditLogEntry.CHANGE_KEY_ID, i7Var.f1202c); bundle2.putString(ModelAuditLogEntry.CHANGE_KEY_NAME, i7Var.a); bundle2.putString("referrer_name", i7Var.b); bundle.putBundle("com.google.app_measurement.screen_service", bundle2); diff --git a/app/src/main/java/c/i/a/f/i/b/y8.java b/app/src/main/java/c/i/a/f/i/b/y8.java index 9ead7725e2..484ae8cf80 100644 --- a/app/src/main/java/c/i/a/f/i/b/y8.java +++ b/app/src/main/java/c/i/a/f/i/b/y8.java @@ -1,6 +1,6 @@ package c.i.a.f.i.b; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import java.util.Objects; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class y8 implements Runnable { @@ -20,16 +20,16 @@ public final class y8 implements Runnable { w8Var.x(); w8Var.g().n.b("Activity paused, time", Long.valueOf(j)); x8 x8Var = w8Var.f; - Objects.requireNonNull((d) x8Var.b.a.o); + Objects.requireNonNull((c) x8Var.b.a.o); b9 b9Var = new b9(x8Var, System.currentTimeMillis(), j); x8Var.a = b9Var; - x8Var.b.f1289c.postDelayed(b9Var, 2000); + x8Var.b.f1248c.postDelayed(b9Var, 2000); if (w8Var.a.h.z().booleanValue()) { - w8Var.e.f1232c.c(); + w8Var.e.f1193c.c(); } f9 f9Var = w8Var.d; if (!f9Var.a.a.h.o(p.v0)) { - f9Var.a.l().f1229x.a(true); + f9Var.a.l().f1190x.a(true); } } } diff --git a/app/src/main/java/c/i/a/f/i/b/y9.java b/app/src/main/java/c/i/a/f/i/b/y9.java index 0922b50243..18fff0f8e1 100644 --- a/app/src/main/java/c/i/a/f/i/b/y9.java +++ b/app/src/main/java/c/i/a/f/i/b/y9.java @@ -4,7 +4,7 @@ import android.net.Uri; import android.os.Bundle; import android.text.TextUtils; import androidx.annotation.WorkerThread; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import java.util.Objects; /* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */ public final class y9 { @@ -35,7 +35,7 @@ public final class y9 { if (!TextUtils.isEmpty(str2)) { this.a.o().B.b(str2); h4 h4Var = this.a.o().C; - Objects.requireNonNull((d) this.a.o); + Objects.requireNonNull((c) this.a.o); h4Var.b(System.currentTimeMillis()); } } @@ -45,7 +45,7 @@ public final class y9 { if (!c()) { return false; } - Objects.requireNonNull((d) this.a.o); + Objects.requireNonNull((c) this.a.o); return System.currentTimeMillis() - this.a.o().C.a() > this.a.h.n(null, p.E0); } diff --git a/app/src/main/java/c/i/a/f/i/b/z4.java b/app/src/main/java/c/i/a/f/i/b/z4.java index b0f7feb00b..14560db1ce 100644 --- a/app/src/main/java/c/i/a/f/i/b/z4.java +++ b/app/src/main/java/c/i/a/f/i/b/z4.java @@ -8,8 +8,8 @@ import androidx.annotation.BinderThread; import androidx.annotation.Nullable; import c.c.a.a0.d; import c.i.a.f.e.e; -import c.i.a.f.e.f; import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.i.a.f.h.l.ea; import c.i.a.f.h.l.t8; import com.google.android.gms.measurement.internal.zzaq; @@ -32,7 +32,7 @@ public final class z4 extends l3 { @Nullable /* renamed from: c reason: collision with root package name */ - public String f1291c = null; + public String f1250c = null; public z4(k9 k9Var) { Objects.requireNonNull(k9Var, "null reference"); @@ -41,21 +41,34 @@ public final class z4 extends l3 { @Override // c.i.a.f.i.b.i3 @BinderThread - public final void E(long j, String str, String str2, String str3) { + public final String A(zzn zzn) { + y0(zzn); + k9 k9Var = this.a; + try { + return (String) ((FutureTask) k9Var.k.f().t(new o9(k9Var, zzn))).get(30000, TimeUnit.MILLISECONDS); + } catch (InterruptedException | ExecutionException | TimeoutException e) { + k9Var.k.g().f.c("Failed to get app instance id. appId", q3.s(zzn.i), e); + return null; + } + } + + @Override // c.i.a.f.i.b.i3 + @BinderThread + public final void H(long j, String str, String str2, String str3) { h(new p5(this, str2, str3, str, j)); } @Override // c.i.a.f.i.b.i3 @BinderThread - public final void F(zzn zzn) { - y0(zzn.i, false); + public final void I(zzn zzn) { + x0(zzn.i, false); h(new h5(this, zzn)); } @Override // c.i.a.f.i.b.i3 @BinderThread - public final List G(String str, String str2, String str3) { - y0(str, true); + public final List J(String str, String str2, String str3) { + x0(str, true); try { return (List) ((FutureTask) this.a.f().t(new i5(this, str, str2, str3))).get(); } catch (InterruptedException | ExecutionException e) { @@ -66,8 +79,8 @@ public final class z4 extends l3 { @Override // c.i.a.f.i.b.i3 @BinderThread - public final List H(String str, String str2, zzn zzn) { - z0(zzn); + public final List K(String str, String str2, zzn zzn) { + y0(zzn); try { return (List) ((FutureTask) this.a.f().t(new f5(this, zzn, str, str2))).get(); } catch (InterruptedException | ExecutionException e) { @@ -78,13 +91,13 @@ public final class z4 extends l3 { @Override // c.i.a.f.i.b.i3 @BinderThread - public final List P(String str, String str2, boolean z2, zzn zzn) { - z0(zzn); + public final List S(String str, String str2, boolean z2, zzn zzn) { + y0(zzn); try { List list = (List) ((FutureTask) this.a.f().t(new d5(this, zzn, str, str2))).get(); ArrayList arrayList = new ArrayList(list.size()); for (u9 u9Var : list) { - if (z2 || !t9.r0(u9Var.f1287c)) { + if (z2 || !t9.r0(u9Var.f1246c)) { arrayList.add(new zzku(u9Var)); } } @@ -97,15 +110,15 @@ public final class z4 extends l3 { @Override // c.i.a.f.i.b.i3 @BinderThread - public final void S(zzn zzn) { - z0(zzn); + public final void U(zzn zzn) { + y0(zzn); h(new q5(this, zzn)); } @Override // c.i.a.f.i.b.i3 @BinderThread public final void f0(zzn zzn) { - z0(zzn); + y0(zzn); h(new c5(this, zzn)); } @@ -113,7 +126,7 @@ public final class z4 extends l3 { public final void g(zzz zzz) { Objects.requireNonNull(zzz, "null reference"); Objects.requireNonNull(zzz.k, "null reference"); - y0(zzz.i, true); + x0(zzz.i, true); h(new e5(this, new zzz(zzz))); } @@ -130,9 +143,9 @@ public final class z4 extends l3 { public final byte[] i(zzaq zzaq, String str) { d.w(str); Objects.requireNonNull(zzaq, "null reference"); - y0(str, true); + x0(str, true); this.a.g().m.b("Log and bundle. event", this.a.O().u(zzaq.i)); - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.k.o); + Objects.requireNonNull((c) this.a.k.o); long nanoTime = System.nanoTime() / 1000000; r4 f = this.a.f(); l5 l5Var = new l5(this, zzaq, str); @@ -149,7 +162,7 @@ public final class z4 extends l3 { this.a.g().f.b("Log and bundle returned null. appId", q3.s(str)); bArr = new byte[0]; } - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.k.o); + Objects.requireNonNull((c) this.a.k.o); this.a.g().m.d("Log and bundle processed. event, size, time_ms", this.a.O().u(zzaq.i), Integer.valueOf(bArr.length), Long.valueOf((System.nanoTime() / 1000000) - nanoTime)); return bArr; } catch (InterruptedException | ExecutionException e) { @@ -175,30 +188,38 @@ public final class z4 extends l3 { @Override // c.i.a.f.i.b.i3 @BinderThread - public final void q0(zzaq zzaq, zzn zzn) { + public final void o0(zzaq zzaq, zzn zzn) { Objects.requireNonNull(zzaq, "null reference"); - z0(zzn); + y0(zzn); h(new j5(this, zzaq, zzn)); } @Override // c.i.a.f.i.b.i3 @BinderThread - public final void r0(Bundle bundle, zzn zzn) { + public final void p0(Bundle bundle, zzn zzn) { if (ea.b() && this.a.k.h.o(p.A0)) { - z0(zzn); + y0(zzn); h(new y4(this, zzn, bundle)); } } @Override // c.i.a.f.i.b.i3 @BinderThread - public final List t(String str, String str2, String str3, boolean z2) { - y0(str, true); + public final void t0(zzku zzku, zzn zzn) { + Objects.requireNonNull(zzku, "null reference"); + y0(zzn); + h(new o5(this, zzku, zzn)); + } + + @Override // c.i.a.f.i.b.i3 + @BinderThread + public final List u(String str, String str2, String str3, boolean z2) { + x0(str, true); try { List list = (List) ((FutureTask) this.a.f().t(new g5(this, str, str2, str3))).get(); ArrayList arrayList = new ArrayList(list.size()); for (u9 u9Var : list) { - if (z2 || !t9.r0(u9Var.f1287c)) { + if (z2 || !t9.r0(u9Var.f1246c)) { arrayList.add(new zzku(u9Var)); } } @@ -211,32 +232,24 @@ public final class z4 extends l3 { @Override // c.i.a.f.i.b.i3 @BinderThread - public final void u0(zzku zzku, zzn zzn) { - Objects.requireNonNull(zzku, "null reference"); - z0(zzn); - h(new o5(this, zzku, zzn)); - } - - @Override // c.i.a.f.i.b.i3 - @BinderThread - public final void v0(zzz zzz, zzn zzn) { + public final void u0(zzz zzz, zzn zzn) { Objects.requireNonNull(zzz, "null reference"); Objects.requireNonNull(zzz.k, "null reference"); - z0(zzn); + y0(zzn); zzz zzz2 = new zzz(zzz); zzz2.i = zzn.i; h(new b5(this, zzz2, zzn)); } @BinderThread - public final void y0(String str, boolean z2) { + public final void x0(String str, boolean z2) { boolean z3; if (!TextUtils.isEmpty(str)) { if (z2) { try { if (this.b == null) { - if (!"com.google.android.gms".equals(this.f1291c) && !c.S(this.a.k.b, Binder.getCallingUid())) { - if (!f.a(this.a.k.b).b(Binder.getCallingUid())) { + if (!"com.google.android.gms".equals(this.f1250c) && !f.t0(this.a.k.b, Binder.getCallingUid())) { + if (!c.i.a.f.e.f.a(this.a.k.b).b(Binder.getCallingUid())) { z3 = false; this.b = Boolean.valueOf(z3); } @@ -252,15 +265,15 @@ public final class z4 extends l3 { throw e; } } - if (this.f1291c == null) { + if (this.f1250c == null) { Context context = this.a.k.b; int callingUid = Binder.getCallingUid(); boolean z4 = e.a; - if (c.o0(context, callingUid, str)) { - this.f1291c = str; + if (f.i1(context, callingUid, str)) { + this.f1250c = str; } } - if (!str.equals(this.f1291c)) { + if (!str.equals(this.f1250c)) { throw new SecurityException(String.format("Unknown calling package name '%s'.", str)); } return; @@ -269,23 +282,10 @@ public final class z4 extends l3 { throw new SecurityException("Measurement Service called without app package"); } - @Override // c.i.a.f.i.b.i3 @BinderThread - public final String z(zzn zzn) { - z0(zzn); - k9 k9Var = this.a; - try { - return (String) ((FutureTask) k9Var.k.f().t(new o9(k9Var, zzn))).get(30000, TimeUnit.MILLISECONDS); - } catch (InterruptedException | ExecutionException | TimeoutException e) { - k9Var.k.g().f.c("Failed to get app instance id. appId", q3.s(zzn.i), e); - return null; - } - } - - @BinderThread - public final void z0(zzn zzn) { + public final void y0(zzn zzn) { Objects.requireNonNull(zzn, "null reference"); - y0(zzn.i, false); - this.a.k.t().c0(zzn.j, zzn.f2812z, zzn.D); + x0(zzn.i, false); + this.a.k.t().c0(zzn.j, zzn.f2392z, zzn.D); } } diff --git a/app/src/main/java/c/i/a/f/i/b/z9.java b/app/src/main/java/c/i/a/f/i/b/z9.java index 186c993fd3..dfdeecd80f 100644 --- a/app/src/main/java/c/i/a/f/i/b/z9.java +++ b/app/src/main/java/c/i/a/f/i/b/z9.java @@ -10,7 +10,7 @@ public final class z9 implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzn createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); long j = 0; long j2 = 0; long j3 = 0; @@ -34,71 +34,71 @@ public final class z9 implements Parcelable.Creator { boolean z4 = true; boolean z5 = true; boolean z6 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 2: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 3: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; case 4: - str3 = d.T(parcel, readInt); + str3 = d.Q(parcel, readInt); break; case 5: - str4 = d.T(parcel, readInt); + str4 = d.Q(parcel, readInt); break; case 6: - j = d.H1(parcel, readInt); + j = d.F1(parcel, readInt); break; case 7: - j2 = d.H1(parcel, readInt); + j2 = d.F1(parcel, readInt); break; case 8: - str5 = d.T(parcel, readInt); + str5 = d.Q(parcel, readInt); break; case 9: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); break; case 10: - z3 = d.E1(parcel, readInt); + z3 = d.C1(parcel, readInt); break; case 11: - j6 = d.H1(parcel, readInt); + j6 = d.F1(parcel, readInt); break; case 12: - str6 = d.T(parcel, readInt); + str6 = d.Q(parcel, readInt); break; case 13: - j3 = d.H1(parcel, readInt); + j3 = d.F1(parcel, readInt); break; case 14: - j4 = d.H1(parcel, readInt); + j4 = d.F1(parcel, readInt); break; case 15: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); break; case 16: - z4 = d.E1(parcel, readInt); + z4 = d.C1(parcel, readInt); break; case 17: - z5 = d.E1(parcel, readInt); + z5 = d.C1(parcel, readInt); break; case 18: - z6 = d.E1(parcel, readInt); + z6 = d.C1(parcel, readInt); break; case 19: - str7 = d.T(parcel, readInt); + str7 = d.Q(parcel, readInt); break; case 20: default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; case 21: - int M1 = d.M1(parcel, readInt); - if (M1 != 0) { - d.A2(parcel, M1, 4); + int K1 = d.K1(parcel, readInt); + if (K1 != 0) { + d.z2(parcel, K1, 4); bool = Boolean.valueOf(parcel.readInt() != 0); break; } else { @@ -106,20 +106,20 @@ public final class z9 implements Parcelable.Creator { break; } case 22: - j5 = d.H1(parcel, readInt); + j5 = d.F1(parcel, readInt); break; case 23: - arrayList = d.V(parcel, readInt); + arrayList = d.S(parcel, readInt); break; case 24: - str8 = d.T(parcel, readInt); + str8 = d.Q(parcel, readInt); break; case 25: - str9 = d.T(parcel, readInt); + str9 = d.Q(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzn(str, str2, str3, str4, j, j2, str5, z2, z3, j6, str6, j3, j4, i, z4, z5, z6, str7, bool, j5, arrayList, str8, str9); } diff --git a/app/src/main/java/c/i/a/f/j/a.java b/app/src/main/java/c/i/a/f/j/a.java index b46a64873a..3fa0fbe852 100644 --- a/app/src/main/java/c/i/a/f/j/a.java +++ b/app/src/main/java/c/i/a/f/j/a.java @@ -109,7 +109,7 @@ public final class a { str = str2; } if (str != null && !str.equals("")) { - if (p.f1213c.matcher(str).matches()) { + if (p.f1176c.matcher(str).matches()) { bool4 = Boolean.TRUE; } else if (p.d.matcher(str).matches()) { bool = Boolean.FALSE; diff --git a/app/src/main/java/c/i/a/f/j/b/a.java b/app/src/main/java/c/i/a/f/j/b/a.java index 67e575a845..b280837bd8 100644 --- a/app/src/main/java/c/i/a/f/j/b/a.java +++ b/app/src/main/java/c/i/a/f/j/b/a.java @@ -5,9 +5,9 @@ public class a implements a.d { public final int i = -1; /* renamed from: c.i.a.f.j.b.a$a reason: collision with other inner class name */ - public static class C0115a { + public static class C0113a { } - public a(C0115a aVar, h hVar) { + public a(C0113a aVar, h hVar) { } } diff --git a/app/src/main/java/c/i/a/f/j/b/e/b.java b/app/src/main/java/c/i/a/f/j/b/e/b.java index fb858960e4..eabb40addb 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/b.java +++ b/app/src/main/java/c/i/a/f/j/b/e/b.java @@ -15,7 +15,7 @@ public abstract class b extends c.i.a.f.h.m.b implements a { return false; } s sVar = (s) this; - sVar.d.b(sVar.f1295c.f1116c); + sVar.d.b(sVar.f1254c.f1085c); k kVar = sVar.b; if (kVar != null) { kVar.a(d0.a); diff --git a/app/src/main/java/c/i/a/f/j/b/e/d.java b/app/src/main/java/c/i/a/f/j/b/e/d.java index 5b94ebe80c..c92e6e6cda 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/d.java +++ b/app/src/main/java/c/i/a/f/j/b/e/d.java @@ -7,24 +7,24 @@ public final class d implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzad createFromParcel(Parcel parcel) { - int l2 = c.c.a.a0.d.l2(parcel); + int k2 = c.c.a.a0.d.k2(parcel); String str = null; String str2 = null; int i = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 1) { - str = c.c.a.a0.d.T(parcel, readInt); + str = c.c.a.a0.d.Q(parcel, readInt); } else if (i2 == 2) { - str2 = c.c.a.a0.d.T(parcel, readInt); + str2 = c.c.a.a0.d.Q(parcel, readInt); } else if (i2 != 1000) { - c.c.a.a0.d.c2(parcel, readInt); + c.c.a.a0.d.b2(parcel, readInt); } else { - i = c.c.a.a0.d.G1(parcel, readInt); + i = c.c.a.a0.d.E1(parcel, readInt); } } - c.c.a.a0.d.h0(parcel, l2); + c.c.a.a0.d.e0(parcel, k2); return new zzad(i, str, str2); } diff --git a/app/src/main/java/c/i/a/f/j/b/e/e.java b/app/src/main/java/c/i/a/f/j/b/e/e.java index 275446f08d..026fbf9064 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/e.java +++ b/app/src/main/java/c/i/a/f/j/b/e/e.java @@ -9,21 +9,21 @@ public final class e implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzaf createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; Message message = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 1) { - message = (Message) d.S(parcel, readInt, Message.CREATOR); + message = (Message) d.P(parcel, readInt, Message.CREATOR); } else if (i2 != 1000) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzaf(i, message); } diff --git a/app/src/main/java/c/i/a/f/j/b/e/f0.java b/app/src/main/java/c/i/a/f/j/b/e/f0.java index 8cf540467d..9e1d3ceb97 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/f0.java +++ b/app/src/main/java/c/i/a/f/j/b/e/f0.java @@ -12,7 +12,7 @@ public final class f0 implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzbz createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); zzaf zzaf = null; Strategy strategy = null; IBinder iBinder = null; @@ -24,48 +24,48 @@ public final class f0 implements Parcelable.Creator { boolean z2 = false; boolean z3 = false; int i2 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); break; case 2: - zzaf = (zzaf) d.S(parcel, readInt, zzaf.CREATOR); + zzaf = (zzaf) d.P(parcel, readInt, zzaf.CREATOR); break; case 3: - strategy = (Strategy) d.S(parcel, readInt, Strategy.CREATOR); + strategy = (Strategy) d.P(parcel, readInt, Strategy.CREATOR); break; case 4: - iBinder = d.F1(parcel, readInt); + iBinder = d.D1(parcel, readInt); break; case 5: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 6: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; case 7: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); break; case 8: - iBinder2 = d.F1(parcel, readInt); + iBinder2 = d.D1(parcel, readInt); break; case 9: - z3 = d.E1(parcel, readInt); + z3 = d.C1(parcel, readInt); break; case 10: - clientAppContext = (ClientAppContext) d.S(parcel, readInt, ClientAppContext.CREATOR); + clientAppContext = (ClientAppContext) d.P(parcel, readInt, ClientAppContext.CREATOR); break; case 11: - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); break; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzbz(i, zzaf, strategy, iBinder, str, str2, z2, iBinder2, z3, clientAppContext, i2); } diff --git a/app/src/main/java/c/i/a/f/j/b/e/g0.java b/app/src/main/java/c/i/a/f/j/b/e/g0.java index 6a929b7c14..6196c6669d 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/g0.java +++ b/app/src/main/java/c/i/a/f/j/b/e/g0.java @@ -10,40 +10,40 @@ public final class g0 implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzcb createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); IBinder iBinder = null; IBinder iBinder2 = null; String str = null; ClientAppContext clientAppContext = null; int i = 0; boolean z2 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); break; case 2: - iBinder = d.F1(parcel, readInt); + iBinder = d.D1(parcel, readInt); break; case 3: - iBinder2 = d.F1(parcel, readInt); + iBinder2 = d.D1(parcel, readInt); break; case 4: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); break; case 5: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 6: - clientAppContext = (ClientAppContext) d.S(parcel, readInt, ClientAppContext.CREATOR); + clientAppContext = (ClientAppContext) d.P(parcel, readInt, ClientAppContext.CREATOR); break; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzcb(i, iBinder, iBinder2, z2, str, clientAppContext); } diff --git a/app/src/main/java/c/i/a/f/j/b/e/h0.java b/app/src/main/java/c/i/a/f/j/b/e/h0.java index c90a1957ee..d95ddd2780 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/h0.java +++ b/app/src/main/java/c/i/a/f/j/b/e/h0.java @@ -13,7 +13,7 @@ public final class h0 implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final SubscribeRequest createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); IBinder iBinder = null; Strategy strategy = null; IBinder iBinder2 = null; @@ -31,66 +31,66 @@ public final class h0 implements Parcelable.Creator { boolean z4 = false; int i3 = 0; int i4 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); break; case 2: - iBinder = d.F1(parcel, readInt); + iBinder = d.D1(parcel, readInt); break; case 3: - strategy = (Strategy) d.S(parcel, readInt, Strategy.CREATOR); + strategy = (Strategy) d.P(parcel, readInt, Strategy.CREATOR); break; case 4: - iBinder2 = d.F1(parcel, readInt); + iBinder2 = d.D1(parcel, readInt); break; case 5: - messageFilter = (MessageFilter) d.S(parcel, readInt, MessageFilter.CREATOR); + messageFilter = (MessageFilter) d.P(parcel, readInt, MessageFilter.CREATOR); break; case 6: - pendingIntent = (PendingIntent) d.S(parcel, readInt, PendingIntent.CREATOR); + pendingIntent = (PendingIntent) d.P(parcel, readInt, PendingIntent.CREATOR); break; case 7: - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); break; case 8: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 9: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; case 10: - bArr = d.Q(parcel, readInt); + bArr = d.N(parcel, readInt); break; case 11: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); break; case 12: - iBinder3 = d.F1(parcel, readInt); + iBinder3 = d.D1(parcel, readInt); break; case 13: - z3 = d.E1(parcel, readInt); + z3 = d.C1(parcel, readInt); break; case 14: - clientAppContext = (ClientAppContext) d.S(parcel, readInt, ClientAppContext.CREATOR); + clientAppContext = (ClientAppContext) d.P(parcel, readInt, ClientAppContext.CREATOR); break; case 15: - z4 = d.E1(parcel, readInt); + z4 = d.C1(parcel, readInt); break; case 16: - i3 = d.G1(parcel, readInt); + i3 = d.E1(parcel, readInt); break; case 17: - i4 = d.G1(parcel, readInt); + i4 = d.E1(parcel, readInt); break; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new SubscribeRequest(i, iBinder, strategy, iBinder2, messageFilter, pendingIntent, i2, str, str2, bArr, z2, iBinder3, z3, clientAppContext, z4, i3, i4); } diff --git a/app/src/main/java/c/i/a/f/j/b/e/i.java b/app/src/main/java/c/i/a/f/j/b/e/i.java index d42689837a..b4de3d70dc 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/i.java +++ b/app/src/main/java/c/i/a/f/j/b/e/i.java @@ -25,7 +25,7 @@ import com.google.android.gms.tasks.TaskCompletionSource; import java.util.Objects; public final class i extends MessagesClient { public static final a.g j; - public static final a.AbstractC0106a k; + public static final a.AbstractC0105a k; public static final a l; public final int m = 1; @@ -66,9 +66,9 @@ public final class i extends MessagesClient { @Override // com.google.android.gms.nearby.messages.MessagesClient public final Task g(MessageListener messageListener, SubscribeOptions subscribeOptions) { - d.p(subscribeOptions.a.f2814r == 0, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."); + d.o(subscribeOptions.a.r == 0, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."); k m = m(messageListener); - return k(m, new l(this, m, new s(this, m(subscribeOptions.f2815c), m), subscribeOptions), new m(m)); + return k(m, new l(this, m, new s(this, m(subscribeOptions.f2394c), m), subscribeOptions), new m(m)); } @Override // com.google.android.gms.nearby.messages.MessagesClient @@ -83,18 +83,18 @@ public final class i extends MessagesClient { public final Task k(k kVar, a0 a0Var, a0 a0Var2) { v vVar = new v(this, kVar, a0Var); - k.a aVar = kVar.f1116c; + k.a aVar = kVar.f1085c; x xVar = new x(this, aVar, a0Var2); - d.z(kVar.f1116c, "Listener has already been released."); + d.z(kVar.f1085c, "Listener has already been released."); d.z(aVar, "Listener has already been released."); - d.p(d.j0(kVar.f1116c, aVar), "Listener registration and unregistration methods must be constructed with the same ListenerHolder."); + d.o(d.g0(kVar.f1085c, aVar), "Listener registration and unregistration methods must be constructed with the same ListenerHolder."); g gVar = this.i; Runnable runnable = c.i.a.f.e.h.k.i; Objects.requireNonNull(gVar); TaskCompletionSource taskCompletionSource = new TaskCompletionSource(); n0 n0Var = new n0(new d0(vVar, xVar, runnable), taskCompletionSource); - Handler handler = gVar.f1110w; - handler.sendMessage(handler.obtainMessage(8, new c0(n0Var, gVar.f1109r.get(), this))); + Handler handler = gVar.w; + handler.sendMessage(handler.obtainMessage(8, new c0(n0Var, gVar.r.get(), this))); return taskCompletionSource.a; } diff --git a/app/src/main/java/c/i/a/f/j/b/e/i0.java b/app/src/main/java/c/i/a/f/j/b/e/i0.java index 9880ddf97a..a96da142f0 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/i0.java +++ b/app/src/main/java/c/i/a/f/j/b/e/i0.java @@ -11,7 +11,7 @@ public final class i0 implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzce createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); zzaf zzaf = null; IBinder iBinder = null; String str = null; @@ -19,36 +19,36 @@ public final class i0 implements Parcelable.Creator { ClientAppContext clientAppContext = null; int i = 0; boolean z2 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); break; case 2: - zzaf = (zzaf) d.S(parcel, readInt, zzaf.CREATOR); + zzaf = (zzaf) d.P(parcel, readInt, zzaf.CREATOR); break; case 3: - iBinder = d.F1(parcel, readInt); + iBinder = d.D1(parcel, readInt); break; case 4: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 5: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; case 6: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); break; case 7: - clientAppContext = (ClientAppContext) d.S(parcel, readInt, ClientAppContext.CREATOR); + clientAppContext = (ClientAppContext) d.P(parcel, readInt, ClientAppContext.CREATOR); break; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzce(i, zzaf, iBinder, str, str2, z2, clientAppContext); } diff --git a/app/src/main/java/c/i/a/f/j/b/e/j.java b/app/src/main/java/c/i/a/f/j/b/e/j.java index 8855710678..e8f81b9e01 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/j.java +++ b/app/src/main/java/c/i/a/f/j/b/e/j.java @@ -11,13 +11,13 @@ public final /* synthetic */ class j implements a0 { public final Message b; /* renamed from: c reason: collision with root package name */ - public final b0 f1292c; + public final b0 f1251c; public final PublishOptions d; public j(i iVar, Message message, b0 b0Var, PublishOptions publishOptions) { this.a = iVar; this.b = message; - this.f1292c = b0Var; + this.f1251c = b0Var; this.d = publishOptions; } @@ -25,7 +25,7 @@ public final /* synthetic */ class j implements a0 { public final void a(f fVar, k kVar) { i iVar = this.a; Message message = this.b; - b0 b0Var = this.f1292c; + b0 b0Var = this.f1251c; PublishOptions publishOptions = this.d; Objects.requireNonNull(iVar); zzaf zzaf = new zzaf(1, message); diff --git a/app/src/main/java/c/i/a/f/j/b/e/j0.java b/app/src/main/java/c/i/a/f/j/b/e/j0.java index f406cca084..cb5299858b 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/j0.java +++ b/app/src/main/java/c/i/a/f/j/b/e/j0.java @@ -11,7 +11,7 @@ public final class j0 implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzcg createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); IBinder iBinder = null; IBinder iBinder2 = null; PendingIntent pendingIntent = null; @@ -21,42 +21,42 @@ public final class j0 implements Parcelable.Creator { int i = 0; int i2 = 0; boolean z2 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); break; case 2: - iBinder = d.F1(parcel, readInt); + iBinder = d.D1(parcel, readInt); break; case 3: - iBinder2 = d.F1(parcel, readInt); + iBinder2 = d.D1(parcel, readInt); break; case 4: - pendingIntent = (PendingIntent) d.S(parcel, readInt, PendingIntent.CREATOR); + pendingIntent = (PendingIntent) d.P(parcel, readInt, PendingIntent.CREATOR); break; case 5: - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); break; case 6: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 7: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; case 8: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); break; case 9: - clientAppContext = (ClientAppContext) d.S(parcel, readInt, ClientAppContext.CREATOR); + clientAppContext = (ClientAppContext) d.P(parcel, readInt, ClientAppContext.CREATOR); break; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzcg(i, iBinder, iBinder2, pendingIntent, i2, str, str2, z2, clientAppContext); } diff --git a/app/src/main/java/c/i/a/f/j/b/e/k.java b/app/src/main/java/c/i/a/f/j/b/e/k.java index 363d438964..a80d664b27 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/k.java +++ b/app/src/main/java/c/i/a/f/j/b/e/k.java @@ -16,6 +16,6 @@ public final /* synthetic */ class k implements a0 { public final void a(f fVar, c.i.a.f.e.h.j.k kVar) { zzaf zzaf = new zzaf(1, this.a); Objects.requireNonNull(fVar); - fVar.w().M(new zzce(1, zzaf, new j(kVar), null, null, false, null)); + fVar.w().P(new zzce(1, zzaf, new j(kVar), null, null, false, null)); } } diff --git a/app/src/main/java/c/i/a/f/j/b/e/k0.java b/app/src/main/java/c/i/a/f/j/b/e/k0.java index 8db7abf79b..5410b0f3c8 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/k0.java +++ b/app/src/main/java/c/i/a/f/j/b/e/k0.java @@ -12,7 +12,7 @@ public final class k0 implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final Update createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); Message message = null; zze zze = null; zza zza = null; @@ -20,36 +20,36 @@ public final class k0 implements Parcelable.Creator { byte[] bArr = null; int i = 0; int i2 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); break; case 2: - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); break; case 3: - message = (Message) d.S(parcel, readInt, Message.CREATOR); + message = (Message) d.P(parcel, readInt, Message.CREATOR); break; case 4: - zze = (zze) d.S(parcel, readInt, zze.CREATOR); + zze = (zze) d.P(parcel, readInt, zze.CREATOR); break; case 5: - zza = (zza) d.S(parcel, readInt, zza.CREATOR); + zza = (zza) d.P(parcel, readInt, zza.CREATOR); break; case 6: - zzgs = (zzgs) d.S(parcel, readInt, zzgs.CREATOR); + zzgs = (zzgs) d.P(parcel, readInt, zzgs.CREATOR); break; case 7: - bArr = d.Q(parcel, readInt); + bArr = d.N(parcel, readInt); break; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new Update(i, i2, message, zze, zza, zzgs, bArr); } diff --git a/app/src/main/java/c/i/a/f/j/b/e/l.java b/app/src/main/java/c/i/a/f/j/b/e/l.java index 0eacdc8a82..0a07c0c778 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/l.java +++ b/app/src/main/java/c/i/a/f/j/b/e/l.java @@ -13,13 +13,13 @@ public final /* synthetic */ class l implements a0 { public final k b; /* renamed from: c reason: collision with root package name */ - public final d0 f1293c; + public final d0 f1252c; public final SubscribeOptions d; public l(i iVar, k kVar, d0 d0Var, SubscribeOptions subscribeOptions) { this.a = iVar; this.b = kVar; - this.f1293c = d0Var; + this.f1252c = d0Var; this.d = subscribeOptions; } @@ -27,13 +27,13 @@ public final /* synthetic */ class l implements a0 { public final void a(f fVar, k kVar) { i iVar = this.a; k kVar2 = this.b; - d0 d0Var = this.f1293c; + d0 d0Var = this.f1252c; SubscribeOptions subscribeOptions = this.d; int i = iVar.m; - if (!fVar.A.a(kVar2.f1116c)) { + if (!fVar.A.a(kVar2.f1085c)) { o oVar = fVar.A; - oVar.a.put(kVar2.f1116c, new WeakReference<>(new h(kVar2))); + oVar.a.put(kVar2.f1085c, new WeakReference<>(new h(kVar2))); } - fVar.w().C(new SubscribeRequest(3, fVar.A.b(kVar2.f1116c), subscribeOptions.a, new j(kVar), subscribeOptions.b, null, 0, null, null, null, false, d0Var, false, null, subscribeOptions.d, 0, i)); + fVar.w().D(new SubscribeRequest(3, fVar.A.b(kVar2.f1085c), subscribeOptions.a, new j(kVar), subscribeOptions.b, null, 0, null, null, null, false, d0Var, false, null, subscribeOptions.d, 0, i)); } } diff --git a/app/src/main/java/c/i/a/f/j/b/e/l0.java b/app/src/main/java/c/i/a/f/j/b/e/l0.java index d76873b9c2..46ca78ccd7 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/l0.java +++ b/app/src/main/java/c/i/a/f/j/b/e/l0.java @@ -8,40 +8,40 @@ public final class l0 implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final ClientAppContext createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; String str2 = null; String str3 = null; int i = 0; boolean z2 = false; int i2 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); break; case 2: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 3: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; case 4: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); break; case 5: - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); break; case 6: - str3 = d.T(parcel, readInt); + str3 = d.Q(parcel, readInt); break; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new ClientAppContext(i, str, str2, z2, i2, str3); } diff --git a/app/src/main/java/c/i/a/f/j/b/e/m.java b/app/src/main/java/c/i/a/f/j/b/e/m.java index b7a709e0a0..06fc9f69bc 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/m.java +++ b/app/src/main/java/c/i/a/f/j/b/e/m.java @@ -19,12 +19,12 @@ public final /* synthetic */ class m implements a0 { k kVar2 = this.a; Objects.requireNonNull(fVar); j jVar = new j(kVar); - if (!fVar.A.a(kVar2.f1116c)) { + if (!fVar.A.a(kVar2.f1085c)) { jVar.g(new Status(0, null)); return; } - fVar.w().m0(new zzcg(1, fVar.A.b(kVar2.f1116c), jVar, null, 0, null, null, false, null)); + fVar.w().m0(new zzcg(1, fVar.A.b(kVar2.f1085c), jVar, null, 0, null, null, false, null)); o oVar = fVar.A; - oVar.a.remove(kVar2.f1116c); + oVar.a.remove(kVar2.f1085c); } } diff --git a/app/src/main/java/c/i/a/f/j/b/e/m0.java b/app/src/main/java/c/i/a/f/j/b/e/m0.java index 458f454d7b..57bcac77de 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/m0.java +++ b/app/src/main/java/c/i/a/f/j/b/e/m0.java @@ -8,25 +8,25 @@ public final class m0 implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zze createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; double d = 0.0d; int i2 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i3 = 65535 & readInt; if (i3 == 1) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i3 == 2) { - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); } else if (i3 != 3) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - d.x2(parcel, readInt, 8); + d.w2(parcel, readInt, 8); d = parcel.readDouble(); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zze(i, i2, d); } diff --git a/app/src/main/java/c/i/a/f/j/b/e/n.java b/app/src/main/java/c/i/a/f/j/b/e/n.java index 02d2ad5487..f0915da294 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/n.java +++ b/app/src/main/java/c/i/a/f/j/b/e/n.java @@ -17,12 +17,12 @@ public final /* synthetic */ class n implements a0 { @Override // c.i.a.f.j.b.e.a0 public final void a(f fVar, k kVar) { k kVar2 = this.a; - if (!fVar.A.a(kVar2.f1116c)) { + if (!fVar.A.a(kVar2.f1085c)) { o oVar = fVar.A; - oVar.a.put(kVar2.f1116c, new WeakReference<>(new m(kVar2))); + oVar.a.put(kVar2.f1085c, new WeakReference<>(new m(kVar2))); } - zzcb zzcb = new zzcb(1, new j(kVar), fVar.A.b(kVar2.f1116c), false, null, null); + zzcb zzcb = new zzcb(1, new j(kVar), fVar.A.b(kVar2.f1085c), false, null, null); zzcb.l = true; - fVar.w().r(zzcb); + fVar.w().s(zzcb); } } diff --git a/app/src/main/java/c/i/a/f/j/b/e/n0.java b/app/src/main/java/c/i/a/f/j/b/e/n0.java index fa2616bc24..74e858012d 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/n0.java +++ b/app/src/main/java/c/i/a/f/j/b/e/n0.java @@ -9,24 +9,24 @@ public final class n0 implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzj createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; ClientAppContext clientAppContext = null; int i2 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i3 = 65535 & readInt; if (i3 == 1) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i3 == 2) { - clientAppContext = (ClientAppContext) d.S(parcel, readInt, ClientAppContext.CREATOR); + clientAppContext = (ClientAppContext) d.P(parcel, readInt, ClientAppContext.CREATOR); } else if (i3 != 3) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzj(i, clientAppContext, i2); } diff --git a/app/src/main/java/c/i/a/f/j/b/e/o.java b/app/src/main/java/c/i/a/f/j/b/e/o.java index 6129dc22d0..a40fb299c8 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/o.java +++ b/app/src/main/java/c/i/a/f/j/b/e/o.java @@ -18,14 +18,14 @@ public final /* synthetic */ class o implements a0 { k kVar2 = this.a; Objects.requireNonNull(fVar); j jVar = new j(kVar); - if (!fVar.A.a(kVar2.f1116c)) { + if (!fVar.A.a(kVar2.f1085c)) { jVar.g(new Status(0, null)); return; } - zzcb zzcb = new zzcb(1, jVar, fVar.A.b(kVar2.f1116c), false, null, null); + zzcb zzcb = new zzcb(1, jVar, fVar.A.b(kVar2.f1085c), false, null, null); zzcb.l = false; - fVar.w().r(zzcb); + fVar.w().s(zzcb); c.i.a.f.h.m.o oVar = fVar.A; - oVar.a.remove(kVar2.f1116c); + oVar.a.remove(kVar2.f1085c); } } diff --git a/app/src/main/java/c/i/a/f/j/b/e/q.java b/app/src/main/java/c/i/a/f/j/b/e/q.java index e49177ee8e..14ffd01c86 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/q.java +++ b/app/src/main/java/c/i/a/f/j/b/e/q.java @@ -5,10 +5,10 @@ import android.os.Looper; import c.i.a.f.e.h.a; import c.i.a.f.e.h.c; import c.i.a.f.e.k.c; -public final class q extends a.AbstractC0106a { +public final class q extends a.AbstractC0105a { /* Return type fixed from 'c.i.a.f.e.h.a$f' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [android.content.Context, android.os.Looper, c.i.a.f.e.k.c, java.lang.Object, c.i.a.f.e.h.c$a, c.i.a.f.e.h.c$b] */ - @Override // c.i.a.f.e.h.a.AbstractC0106a + @Override // c.i.a.f.e.h.a.AbstractC0105a public final /* synthetic */ f a(Context context, Looper looper, c cVar, c.i.a.f.j.b.a aVar, c.a aVar2, c.b bVar) { return new f(context, looper, aVar2, bVar, cVar, aVar); } diff --git a/app/src/main/java/c/i/a/f/j/b/e/r.java b/app/src/main/java/c/i/a/f/j/b/e/r.java index a74f08d7be..c87dfe0c6f 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/r.java +++ b/app/src/main/java/c/i/a/f/j/b/e/r.java @@ -4,13 +4,13 @@ import c.i.a.f.e.h.j.k; public final class r extends b0 { /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ k f1294c; + public final /* synthetic */ k f1253c; public final /* synthetic */ i d; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public r(i iVar, k kVar, k kVar2) { super(kVar); this.d = iVar; - this.f1294c = kVar2; + this.f1253c = kVar2; } } diff --git a/app/src/main/java/c/i/a/f/j/b/e/s.java b/app/src/main/java/c/i/a/f/j/b/e/s.java index dd65c5fc31..612de7add3 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/s.java +++ b/app/src/main/java/c/i/a/f/j/b/e/s.java @@ -4,13 +4,13 @@ import c.i.a.f.e.h.j.k; public final class s extends d0 { /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ k f1295c; + public final /* synthetic */ k f1254c; public final /* synthetic */ i d; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public s(i iVar, k kVar, k kVar2) { super(kVar); this.d = iVar; - this.f1295c = kVar2; + this.f1254c = kVar2; } } diff --git a/app/src/main/java/c/i/a/f/j/b/e/u0.java b/app/src/main/java/c/i/a/f/j/b/e/u0.java index 895fdcaa3b..fdad3fcbfa 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/u0.java +++ b/app/src/main/java/c/i/a/f/j/b/e/u0.java @@ -9,9 +9,9 @@ import com.google.android.gms.nearby.messages.internal.zzce; import com.google.android.gms.nearby.messages.internal.zzcg; import com.google.android.gms.nearby.messages.internal.zzj; public interface u0 extends IInterface { - void C(SubscribeRequest subscribeRequest) throws RemoteException; + void D(SubscribeRequest subscribeRequest) throws RemoteException; - void M(zzce zzce) throws RemoteException; + void P(zzce zzce) throws RemoteException; void l0(zzj zzj) throws RemoteException; @@ -19,5 +19,5 @@ public interface u0 extends IInterface { void m0(zzcg zzcg) throws RemoteException; - void r(zzcb zzcb) throws RemoteException; + void s(zzcb zzcb) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/j/b/e/v.java b/app/src/main/java/c/i/a/f/j/b/e/v.java index 1b31264199..7e66191b92 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/v.java +++ b/app/src/main/java/c/i/a/f/j/b/e/v.java @@ -6,12 +6,12 @@ public final class v extends m { public final /* synthetic */ a0 b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ i f1296c; + public final /* synthetic */ i f1255c; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public v(i iVar, k kVar, a0 a0Var) { super(kVar); - this.f1296c = iVar; + this.f1255c = iVar; this.b = a0Var; } } diff --git a/app/src/main/java/c/i/a/f/j/b/e/v0.java b/app/src/main/java/c/i/a/f/j/b/e/v0.java index 9f8d5d1386..11706181e9 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/v0.java +++ b/app/src/main/java/c/i/a/f/j/b/e/v0.java @@ -17,14 +17,14 @@ public final class v0 extends a implements u0 { } @Override // c.i.a.f.j.b.e.u0 - public final void C(SubscribeRequest subscribeRequest) throws RemoteException { + public final void D(SubscribeRequest subscribeRequest) throws RemoteException { Parcel e = e(); c.b(e, subscribeRequest); g(3, e); } @Override // c.i.a.f.j.b.e.u0 - public final void M(zzce zzce) throws RemoteException { + public final void P(zzce zzce) throws RemoteException { Parcel e = e(); c.b(e, zzce); g(2, e); @@ -52,7 +52,7 @@ public final class v0 extends a implements u0 { } @Override // c.i.a.f.j.b.e.u0 - public final void r(zzcb zzcb) throws RemoteException { + public final void s(zzcb zzcb) throws RemoteException { Parcel e = e(); c.b(e, zzcb); g(8, e); diff --git a/app/src/main/java/c/i/a/f/j/b/e/w.java b/app/src/main/java/c/i/a/f/j/b/e/w.java index 6d45eee554..d4caa17bc9 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/w.java +++ b/app/src/main/java/c/i/a/f/j/b/e/w.java @@ -8,24 +8,24 @@ public final class w implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zza createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; int i2 = 0; int i3 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i4 = 65535 & readInt; if (i4 == 1) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i4 == 2) { - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); } else if (i4 != 3) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - i3 = d.G1(parcel, readInt); + i3 = d.E1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zza(i, i2, i3); } diff --git a/app/src/main/java/c/i/a/f/j/b/e/x.java b/app/src/main/java/c/i/a/f/j/b/e/x.java index 5d4f3e7456..1145586994 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/x.java +++ b/app/src/main/java/c/i/a/f/j/b/e/x.java @@ -6,12 +6,12 @@ public final class x extends q { public final /* synthetic */ a0 b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ i f1297c; + public final /* synthetic */ i f1256c; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public x(i iVar, k.a aVar, a0 a0Var) { super(aVar); - this.f1297c = iVar; + this.f1256c = iVar; this.b = a0Var; } } diff --git a/app/src/main/java/c/i/a/f/j/b/e/x0.java b/app/src/main/java/c/i/a/f/j/b/e/x0.java index 63bead65d5..dde2e76b23 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/x0.java +++ b/app/src/main/java/c/i/a/f/j/b/e/x0.java @@ -15,7 +15,7 @@ public abstract class x0 extends b implements w0 { return false; } r rVar = (r) this; - rVar.d.b(rVar.f1294c.f1116c); + rVar.d.b(rVar.f1253c.f1085c); k kVar = rVar.b; if (kVar != null) { kVar.a(b0.a); diff --git a/app/src/main/java/c/i/a/f/j/b/e/y.java b/app/src/main/java/c/i/a/f/j/b/e/y.java index df41b35c08..7ea5a3a188 100644 --- a/app/src/main/java/c/i/a/f/j/b/e/y.java +++ b/app/src/main/java/c/i/a/f/j/b/e/y.java @@ -6,17 +6,17 @@ import com.google.android.gms.tasks.TaskCompletionSource; public final class y extends p { /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ a0 f1298c; + public final /* synthetic */ a0 f1257c; public final /* synthetic */ i d; public y(i iVar, a0 a0Var) { this.d = iVar; - this.f1298c = a0Var; + this.f1257c = a0Var; } /* JADX DEBUG: Method arguments types fixed to match base method, original types: [c.i.a.f.e.h.a$b, com.google.android.gms.tasks.TaskCompletionSource] */ @Override // c.i.a.f.e.h.j.p public final /* synthetic */ void c(f fVar, TaskCompletionSource taskCompletionSource) throws RemoteException { - this.f1298c.a(fVar, i.j(this.d, taskCompletionSource)); + this.f1257c.a(fVar, i.j(this.d, taskCompletionSource)); } } diff --git a/app/src/main/java/c/i/a/f/j/b/f.java b/app/src/main/java/c/i/a/f/j/b/f.java index 5312850b29..dd54093108 100644 --- a/app/src/main/java/c/i/a/f/j/b/f.java +++ b/app/src/main/java/c/i/a/f/j/b/f.java @@ -9,33 +9,33 @@ public final class f implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final Message createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); byte[] bArr = null; String str = null; String str2 = null; zzgs[] zzgsArr = null; long j = 0; int i = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 1) { - bArr = d.Q(parcel, readInt); + bArr = d.N(parcel, readInt); } else if (i2 == 2) { - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); } else if (i2 == 3) { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } else if (i2 == 4) { - zzgsArr = (zzgs[]) d.W(parcel, readInt, zzgs.CREATOR); + zzgsArr = (zzgs[]) d.T(parcel, readInt, zzgs.CREATOR); } else if (i2 == 5) { - j = d.H1(parcel, readInt); + j = d.F1(parcel, readInt); } else if (i2 != 1000) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new Message(i, bArr, str, str2, zzgsArr, j); } diff --git a/app/src/main/java/c/i/a/f/j/b/g.java b/app/src/main/java/c/i/a/f/j/b/g.java index cd1cd57366..c15a266c13 100644 --- a/app/src/main/java/c/i/a/f/j/b/g.java +++ b/app/src/main/java/c/i/a/f/j/b/g.java @@ -12,33 +12,33 @@ public final class g implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final MessageFilter createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); ArrayList arrayList = null; ArrayList arrayList2 = null; ArrayList arrayList3 = null; int i = 0; boolean z2 = false; int i2 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i3 = 65535 & readInt; if (i3 == 1) { - arrayList = d.X(parcel, readInt, zzad.CREATOR); + arrayList = d.U(parcel, readInt, zzad.CREATOR); } else if (i3 == 2) { - arrayList2 = d.X(parcel, readInt, zzgu.CREATOR); + arrayList2 = d.U(parcel, readInt, zzgu.CREATOR); } else if (i3 == 3) { - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); } else if (i3 == 4) { - arrayList3 = d.X(parcel, readInt, zzgp.CREATOR); + arrayList3 = d.U(parcel, readInt, zzgp.CREATOR); } else if (i3 == 5) { - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); } else if (i3 != 1000) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new MessageFilter(i, arrayList, arrayList2, z2, arrayList3, i2); } diff --git a/app/src/main/java/c/i/a/f/j/b/j.java b/app/src/main/java/c/i/a/f/j/b/j.java index e881273223..6a290cc743 100644 --- a/app/src/main/java/c/i/a/f/j/b/j.java +++ b/app/src/main/java/c/i/a/f/j/b/j.java @@ -8,7 +8,7 @@ public final class j implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final Strategy createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; int i2 = 0; int i3 = 0; @@ -17,41 +17,41 @@ public final class j implements Parcelable.Creator { int i5 = 0; int i6 = 0; int i7 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i8 = 65535 & readInt; if (i8 != 1000) { switch (i8) { case 1: - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); continue; case 2: - i3 = d.G1(parcel, readInt); + i3 = d.E1(parcel, readInt); continue; case 3: - i4 = d.G1(parcel, readInt); + i4 = d.E1(parcel, readInt); continue; case 4: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); continue; case 5: - i5 = d.G1(parcel, readInt); + i5 = d.E1(parcel, readInt); continue; case 6: - i6 = d.G1(parcel, readInt); + i6 = d.E1(parcel, readInt); continue; case 7: - i7 = d.G1(parcel, readInt); + i7 = d.E1(parcel, readInt); continue; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); continue; } } else { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new Strategy(i, i2, i3, i4, z2, i5, i6, i7); } diff --git a/app/src/main/java/c/i/a/f/k/a.java b/app/src/main/java/c/i/a/f/k/a.java index fb47767982..bb52684300 100644 --- a/app/src/main/java/c/i/a/f/k/a.java +++ b/app/src/main/java/c/i/a/f/k/a.java @@ -6,11 +6,11 @@ import c.i.a.f.h.o.l; import com.google.android.gms.safetynet.SafetyNetApi; public final class a { public static final a.g a; - public static final a.AbstractC0106a b; + public static final a.AbstractC0105a b; @Deprecated /* renamed from: c reason: collision with root package name */ - public static final c.i.a.f.e.h.a f1299c; + public static final c.i.a.f.e.h.a f1258c; @Deprecated public static final SafetyNetApi d = new i(); @@ -19,6 +19,6 @@ public final class a { a = gVar; h hVar = new h(); b = hVar; - f1299c = new c.i.a.f.e.h.a<>("SafetyNet.API", hVar, gVar); + f1258c = new c.i.a.f.e.h.a<>("SafetyNet.API", hVar, gVar); } } diff --git a/app/src/main/java/c/i/a/f/k/b.java b/app/src/main/java/c/i/a/f/k/b.java index c6c34cc2bf..289a8ed880 100644 --- a/app/src/main/java/c/i/a/f/k/b.java +++ b/app/src/main/java/c/i/a/f/k/b.java @@ -8,17 +8,17 @@ public final class b implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zza createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); if ((65535 & readInt) != 2) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zza(str); } diff --git a/app/src/main/java/c/i/a/f/k/c.java b/app/src/main/java/c/i/a/f/k/c.java index 79212016fc..17fd244944 100644 --- a/app/src/main/java/c/i/a/f/k/c.java +++ b/app/src/main/java/c/i/a/f/k/c.java @@ -8,24 +8,24 @@ public final class c implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final HarmfulAppsData createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; byte[] bArr = null; int i = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 2) { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } else if (i2 == 3) { - bArr = d.Q(parcel, readInt); + bArr = d.N(parcel, readInt); } else if (i2 != 4) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new HarmfulAppsData(str, bArr, i); } diff --git a/app/src/main/java/c/i/a/f/k/d.java b/app/src/main/java/c/i/a/f/k/d.java index e967b89180..4c1d123794 100644 --- a/app/src/main/java/c/i/a/f/k/d.java +++ b/app/src/main/java/c/i/a/f/k/d.java @@ -8,27 +8,27 @@ public final class d implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzd createFromParcel(Parcel parcel) { - int l2 = c.c.a.a0.d.l2(parcel); + int k2 = c.c.a.a0.d.k2(parcel); long j = 0; HarmfulAppsData[] harmfulAppsDataArr = null; int i = 0; boolean z2 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 2) { - j = c.c.a.a0.d.H1(parcel, readInt); + j = c.c.a.a0.d.F1(parcel, readInt); } else if (i2 == 3) { - harmfulAppsDataArr = (HarmfulAppsData[]) c.c.a.a0.d.W(parcel, readInt, HarmfulAppsData.CREATOR); + harmfulAppsDataArr = (HarmfulAppsData[]) c.c.a.a0.d.T(parcel, readInt, HarmfulAppsData.CREATOR); } else if (i2 == 4) { - i = c.c.a.a0.d.G1(parcel, readInt); + i = c.c.a.a0.d.E1(parcel, readInt); } else if (i2 != 5) { - c.c.a.a0.d.c2(parcel, readInt); + c.c.a.a0.d.b2(parcel, readInt); } else { - z2 = c.c.a.a0.d.E1(parcel, readInt); + z2 = c.c.a.a0.d.C1(parcel, readInt); } } - c.c.a.a0.d.h0(parcel, l2); + c.c.a.a0.d.e0(parcel, k2); return new zzd(j, harmfulAppsDataArr, i, z2); } diff --git a/app/src/main/java/c/i/a/f/k/e.java b/app/src/main/java/c/i/a/f/k/e.java index 4df55255cc..ddd7823cca 100644 --- a/app/src/main/java/c/i/a/f/k/e.java +++ b/app/src/main/java/c/i/a/f/k/e.java @@ -8,17 +8,17 @@ public final class e implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzf createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); if ((65535 & readInt) != 2) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzf(str); } diff --git a/app/src/main/java/c/i/a/f/k/f.java b/app/src/main/java/c/i/a/f/k/f.java index dcece31a75..f32ef82b69 100644 --- a/app/src/main/java/c/i/a/f/k/f.java +++ b/app/src/main/java/c/i/a/f/k/f.java @@ -8,21 +8,21 @@ public final class f implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzh createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; boolean z2 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 2) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i2 != 3) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzh(i, z2); } diff --git a/app/src/main/java/c/i/a/f/k/g.java b/app/src/main/java/c/i/a/f/k/g.java index d1bdd5cfab..528c3ecbcd 100644 --- a/app/src/main/java/c/i/a/f/k/g.java +++ b/app/src/main/java/c/i/a/f/k/g.java @@ -8,44 +8,44 @@ import com.google.android.gms.common.data.DataHolder; import com.google.android.gms.safetynet.SafeBrowsingData; public final class g implements Parcelable.Creator { public static void a(SafeBrowsingData safeBrowsingData, Parcel parcel, int i) { - int w2 = d.w2(parcel, 20293); - d.s2(parcel, 2, safeBrowsingData.i, false); - d.r2(parcel, 3, safeBrowsingData.j, i, false); - d.r2(parcel, 4, safeBrowsingData.k, i, false); + int v2 = d.v2(parcel, 20293); + d.r2(parcel, 2, safeBrowsingData.i, false); + d.q2(parcel, 3, safeBrowsingData.j, i, false); + d.q2(parcel, 4, safeBrowsingData.k, i, false); long j = safeBrowsingData.l; - d.z2(parcel, 5, 8); + d.y2(parcel, 5, 8); parcel.writeLong(j); - d.p2(parcel, 6, safeBrowsingData.m, false); - d.B2(parcel, w2); + d.o2(parcel, 6, safeBrowsingData.m, false); + d.A2(parcel, v2); } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final SafeBrowsingData createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; DataHolder dataHolder = null; ParcelFileDescriptor parcelFileDescriptor = null; byte[] bArr = null; long j = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i = 65535 & readInt; if (i == 2) { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } else if (i == 3) { - dataHolder = (DataHolder) d.S(parcel, readInt, DataHolder.CREATOR); + dataHolder = (DataHolder) d.P(parcel, readInt, DataHolder.CREATOR); } else if (i == 4) { - parcelFileDescriptor = (ParcelFileDescriptor) d.S(parcel, readInt, ParcelFileDescriptor.CREATOR); + parcelFileDescriptor = (ParcelFileDescriptor) d.P(parcel, readInt, ParcelFileDescriptor.CREATOR); } else if (i == 5) { - j = d.H1(parcel, readInt); + j = d.F1(parcel, readInt); } else if (i != 6) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - bArr = d.Q(parcel, readInt); + bArr = d.N(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new SafeBrowsingData(str, dataHolder, parcelFileDescriptor, j, bArr); } diff --git a/app/src/main/java/c/i/a/f/k/h.java b/app/src/main/java/c/i/a/f/k/h.java index 2b9bda5573..9a92917270 100644 --- a/app/src/main/java/c/i/a/f/k/h.java +++ b/app/src/main/java/c/i/a/f/k/h.java @@ -6,10 +6,10 @@ import c.i.a.f.e.h.a; import c.i.a.f.e.h.c; import c.i.a.f.e.k.c; import c.i.a.f.h.o.l; -public final class h extends a.AbstractC0106a { +public final class h extends a.AbstractC0105a { /* Return type fixed from 'c.i.a.f.e.h.a$f' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [android.content.Context, android.os.Looper, c.i.a.f.e.k.c, java.lang.Object, c.i.a.f.e.h.c$a, c.i.a.f.e.h.c$b] */ - @Override // c.i.a.f.e.h.a.AbstractC0106a + @Override // c.i.a.f.e.h.a.AbstractC0105a public final /* synthetic */ l a(Context context, Looper looper, c cVar, a.d.c cVar2, c.a aVar, c.b bVar) { return new l(context, looper, cVar, aVar, bVar); } diff --git a/app/src/main/java/c/i/a/f/l/a.java b/app/src/main/java/c/i/a/f/l/a.java index ddea352f62..56e43e2bf2 100644 --- a/app/src/main/java/c/i/a/f/l/a.java +++ b/app/src/main/java/c/i/a/f/l/a.java @@ -17,7 +17,7 @@ public final class a implements a.d { return false; } Objects.requireNonNull((a) obj); - return d.j0(null, null) && d.j0(null, null) && d.j0(null, null) && d.j0(null, null) && d.j0(null, null); + return d.g0(null, null) && d.g0(null, null) && d.g0(null, null) && d.g0(null, null) && d.g0(null, null); } public final int hashCode() { diff --git a/app/src/main/java/c/i/a/f/l/b/a.java b/app/src/main/java/c/i/a/f/l/b/a.java index 6ef5e438f9..a3722d5c1f 100644 --- a/app/src/main/java/c/i/a/f/l/b/a.java +++ b/app/src/main/java/c/i/a/f/l/b/a.java @@ -51,12 +51,12 @@ public class a extends d implements f { } Integer num = this.D; Objects.requireNonNull(num, "null reference"); - w().g0(new zak(new zas(account, num.intValue(), googleSignInAccount)), cVar); + w().h0(new zak(new zas(account, num.intValue(), googleSignInAccount)), cVar); } catch (RemoteException e) { Log.w("SignInClientImpl", "Remote service probably died when signIn is called"); try { g0 g0Var = (g0) cVar; - g0Var.f1114c.post(new i0(g0Var, new zam())); + g0Var.f1083c.post(new i0(g0Var, new zam())); } catch (RemoteException unused) { Log.wtf("SignInClientImpl", "ISignInCallbacks#onSignInComplete should be executed from the same process, unexpected RemoteException.", e); } diff --git a/app/src/main/java/c/i/a/f/l/b/b.java b/app/src/main/java/c/i/a/f/l/b/b.java index 2407aeb9b6..ecb23f36c6 100644 --- a/app/src/main/java/c/i/a/f/l/b/b.java +++ b/app/src/main/java/c/i/a/f/l/b/b.java @@ -10,24 +10,24 @@ public final class b implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zab createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; Intent intent = null; int i2 = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i3 = 65535 & readInt; if (i3 == 1) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i3 == 2) { - i2 = d.G1(parcel, readInt); + i2 = d.E1(parcel, readInt); } else if (i3 != 3) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - intent = (Intent) d.S(parcel, readInt, Intent.CREATOR); + intent = (Intent) d.P(parcel, readInt, Intent.CREATOR); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zab(i, i2, intent); } diff --git a/app/src/main/java/c/i/a/f/l/b/e.java b/app/src/main/java/c/i/a/f/l/b/e.java index 7da00da0f4..673e164e9f 100644 --- a/app/src/main/java/c/i/a/f/l/b/e.java +++ b/app/src/main/java/c/i/a/f/l/b/e.java @@ -5,5 +5,5 @@ import android.os.RemoteException; import com.google.android.gms.signin.internal.zak; /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ public interface e extends IInterface { - void g0(zak zak, c cVar) throws RemoteException; + void h0(zak zak, c cVar) throws RemoteException; } diff --git a/app/src/main/java/c/i/a/f/l/b/g.java b/app/src/main/java/c/i/a/f/l/b/g.java index 7def019683..bebb47ca6f 100644 --- a/app/src/main/java/c/i/a/f/l/b/g.java +++ b/app/src/main/java/c/i/a/f/l/b/g.java @@ -22,7 +22,7 @@ public final class g implements e, IInterface { } @Override // c.i.a.f.l.b.e - public final void g0(zak zak, c cVar) throws RemoteException { + public final void h0(zak zak, c cVar) throws RemoteException { Parcel obtain = Parcel.obtain(); obtain.writeInterfaceToken(this.b); int i = b.a; diff --git a/app/src/main/java/c/i/a/f/l/b/h.java b/app/src/main/java/c/i/a/f/l/b/h.java index 3ee525c2d3..fcee9588ab 100644 --- a/app/src/main/java/c/i/a/f/l/b/h.java +++ b/app/src/main/java/c/i/a/f/l/b/h.java @@ -10,21 +10,21 @@ public final class h implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zag createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); ArrayList arrayList = null; String str = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i = 65535 & readInt; if (i == 1) { - arrayList = d.V(parcel, readInt); + arrayList = d.S(parcel, readInt); } else if (i != 2) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zag(arrayList, str); } diff --git a/app/src/main/java/c/i/a/f/l/b/i.java b/app/src/main/java/c/i/a/f/l/b/i.java index f86c43e108..bfe242a4f7 100644 --- a/app/src/main/java/c/i/a/f/l/b/i.java +++ b/app/src/main/java/c/i/a/f/l/b/i.java @@ -10,21 +10,21 @@ public final class i implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zak createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); int i = 0; zas zas = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 1) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i2 != 2) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - zas = (zas) d.S(parcel, readInt, zas.CREATOR); + zas = (zas) d.P(parcel, readInt, zas.CREATOR); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zak(i, zas); } diff --git a/app/src/main/java/c/i/a/f/l/b/j.java b/app/src/main/java/c/i/a/f/l/b/j.java index a2cb1eab3a..d1e8c4313f 100644 --- a/app/src/main/java/c/i/a/f/l/b/j.java +++ b/app/src/main/java/c/i/a/f/l/b/j.java @@ -11,24 +11,24 @@ public final class j implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zam createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); ConnectionResult connectionResult = null; zau zau = null; int i = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i2 = 65535 & readInt; if (i2 == 1) { - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); } else if (i2 == 2) { - connectionResult = (ConnectionResult) d.S(parcel, readInt, ConnectionResult.CREATOR); + connectionResult = (ConnectionResult) d.P(parcel, readInt, ConnectionResult.CREATOR); } else if (i2 != 3) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - zau = (zau) d.S(parcel, readInt, zau.CREATOR); + zau = (zau) d.P(parcel, readInt, zau.CREATOR); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zam(i, connectionResult, zau); } diff --git a/app/src/main/java/c/i/a/f/l/c.java b/app/src/main/java/c/i/a/f/l/c.java index a0bb02e9bf..2d49b808f2 100644 --- a/app/src/main/java/c/i/a/f/l/c.java +++ b/app/src/main/java/c/i/a/f/l/c.java @@ -10,8 +10,8 @@ public final class c { public static final a.g b; /* renamed from: c reason: collision with root package name */ - public static final a.AbstractC0106a f1300c; - public static final a.AbstractC0106a d; + public static final a.AbstractC0105a f1259c; + public static final a.AbstractC0105a d; static { a.g gVar = new a.g<>(); @@ -19,7 +19,7 @@ public final class c { a.g gVar2 = new a.g<>(); b = gVar2; e eVar = new e(); - f1300c = eVar; + f1259c = eVar; d dVar = new d(); d = dVar; new Scope("profile"); diff --git a/app/src/main/java/c/i/a/f/l/d.java b/app/src/main/java/c/i/a/f/l/d.java index 76f024a793..b0719652a0 100644 --- a/app/src/main/java/c/i/a/f/l/d.java +++ b/app/src/main/java/c/i/a/f/l/d.java @@ -6,10 +6,10 @@ import c.i.a.f.e.h.a; import c.i.a.f.e.h.c; import c.i.a.f.e.k.c; /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ -public final class d extends a.AbstractC0106a { +public final class d extends a.AbstractC0105a { /* Return type fixed from 'c.i.a.f.e.h.a$f' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [android.content.Context, android.os.Looper, c.i.a.f.e.k.c, java.lang.Object, c.i.a.f.e.h.c$a, c.i.a.f.e.h.c$b] */ - @Override // c.i.a.f.e.h.a.AbstractC0106a + @Override // c.i.a.f.e.h.a.AbstractC0105a public final c.i.a.f.l.b.a a(Context context, Looper looper, c cVar, g gVar, c.a aVar, c.b bVar) { throw new NoSuchMethodError(); } diff --git a/app/src/main/java/c/i/a/f/l/e.java b/app/src/main/java/c/i/a/f/l/e.java index 5746921861..8f03c06c58 100644 --- a/app/src/main/java/c/i/a/f/l/e.java +++ b/app/src/main/java/c/i/a/f/l/e.java @@ -7,10 +7,10 @@ import c.i.a.f.e.h.a; import c.i.a.f.e.h.c; import c.i.a.f.e.k.c; /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ -public final class e extends a.AbstractC0106a { +public final class e extends a.AbstractC0105a { /* Return type fixed from 'c.i.a.f.e.h.a$f' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [android.content.Context, android.os.Looper, c.i.a.f.e.k.c, java.lang.Object, c.i.a.f.e.h.c$a, c.i.a.f.e.h.c$b] */ - @Override // c.i.a.f.e.h.a.AbstractC0106a + @Override // c.i.a.f.e.h.a.AbstractC0105a public final c.i.a.f.l.b.a a(Context context, Looper looper, c cVar, a aVar, c.a aVar2, c.b bVar) { a aVar3 = cVar.g; Integer num = cVar.h; diff --git a/app/src/main/java/c/i/a/f/m/a.java b/app/src/main/java/c/i/a/f/m/a.java index 0759f6209c..abe5e4b585 100644 --- a/app/src/main/java/c/i/a/f/m/a.java +++ b/app/src/main/java/c/i/a/f/m/a.java @@ -30,7 +30,7 @@ public class a { public final Object b; /* renamed from: c reason: collision with root package name */ - public final PowerManager.WakeLock f1301c; + public final PowerManager.WakeLock f1260c; public WorkSource d; public final int e; public final String f; @@ -41,7 +41,7 @@ public class a { public AtomicInteger k; public a(@NonNull Context context, int i, @NonNull String str) { - a.AbstractC0110a aVar; + a.AbstractC0109a aVar; WorkSource workSource = null; String packageName = context == null ? null : context.getPackageName(); this.b = this; @@ -58,7 +58,7 @@ public class a { } else { this.f = str; } - this.f1301c = ((PowerManager) context.getSystemService("power")).newWakeLock(i, str); + this.f1260c = ((PowerManager) context.getSystemService("power")).newWakeLock(i, str); if (i.a(context)) { packageName = h.a(packageName) ? context.getPackageName() : packageName; if (!(context.getPackageManager() == null || packageName == null)) { @@ -100,7 +100,7 @@ public class a { this.d = workSource; } try { - this.f1301c.setWorkSource(this.d); + this.f1260c.setWorkSource(this.d); } catch (ArrayIndexOutOfBoundsException | IllegalArgumentException e3) { Log.wtf("WakeLock", e3.toString()); } @@ -125,7 +125,7 @@ public class a { if (r7.j == 0) goto L_0x0061; */ /* JADX WARNING: Code restructure failed: missing block: B:24:0x0061, code lost: - c.c.a.a0.d.x0(r7.f1301c, null); + c.c.a.a0.d.u0(r7.f1260c, null); c(); r7.j++; */ @@ -136,7 +136,7 @@ public class a { } synchronized (this.b) { boolean z2 = false; - if ((!this.i.isEmpty() || this.j > 0) && !this.f1301c.isHeld()) { + if ((!this.i.isEmpty() || this.j > 0) && !this.f1260c.isHeld()) { this.i.clear(); this.j = 0; } @@ -152,7 +152,7 @@ public class a { if (!this.h) { } } - this.f1301c.acquire(); + this.f1260c.acquire(); if (j > 0) { a.schedule(new b(this), j, TimeUnit.MILLISECONDS); } @@ -165,7 +165,7 @@ public class a { if (r6.j == 1) goto L_0x005b; */ /* JADX WARNING: Code restructure failed: missing block: B:23:0x005b, code lost: - c.c.a.a0.d.x0(r6.f1301c, null); + c.c.a.a0.d.u0(r6.f1260c, null); c(); r6.j--; */ @@ -205,7 +205,7 @@ public class a { WorkSource workSource = this.d; Method method2 = i.a; ArrayList arrayList = new ArrayList(); - if (!(workSource == null || (method = i.f1137c) == null)) { + if (!(workSource == null || (method = i.f1105c) == null)) { try { Object invoke = method.invoke(workSource, new Object[0]); Objects.requireNonNull(invoke, "null reference"); @@ -241,9 +241,9 @@ public class a { } public final void d() { - if (this.f1301c.isHeld()) { + if (this.f1260c.isHeld()) { try { - this.f1301c.release(); + this.f1260c.release(); } catch (RuntimeException e) { if (e.getClass().equals(RuntimeException.class)) { Log.e("WakeLock", String.valueOf(this.f).concat(" was already released!"), e); @@ -251,7 +251,7 @@ public class a { throw e; } } - this.f1301c.isHeld(); + this.f1260c.isHeld(); } } } diff --git a/app/src/main/java/c/i/a/f/n/b0.java b/app/src/main/java/c/i/a/f/n/b0.java index f923a82b2d..c994787c0f 100644 --- a/app/src/main/java/c/i/a/f/n/b0.java +++ b/app/src/main/java/c/i/a/f/n/b0.java @@ -3,6 +3,7 @@ package c.i.a.f.n; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import c.c.a.a0.d; +import c.d.b.a.a; import com.google.android.gms.tasks.DuplicateTaskCompletionException; import com.google.android.gms.tasks.RuntimeExecutionException; import com.google.android.gms.tasks.Task; @@ -14,7 +15,7 @@ public final class b0 extends Task { public final y b = new y<>(); /* renamed from: c reason: collision with root package name */ - public boolean f1302c; + public boolean f1261c; public volatile boolean d; @Nullable public TResult e; @@ -123,7 +124,7 @@ public final class b0 extends Task { public final TResult l() { TResult tresult; synchronized (this.a) { - d.G(this.f1302c, "Task is not yet complete"); + d.G(this.f1261c, "Task is not yet complete"); if (this.d) { throw new CancellationException("Task is already canceled."); } else if (this.f == null) { @@ -139,7 +140,7 @@ public final class b0 extends Task { public final TResult m(@NonNull Class cls) throws Throwable { TResult tresult; synchronized (this.a) { - d.G(this.f1302c, "Task is not yet complete"); + d.G(this.f1261c, "Task is not yet complete"); if (this.d) { throw new CancellationException("Task is already canceled."); } else if (cls.isInstance(this.f)) { @@ -162,7 +163,7 @@ public final class b0 extends Task { public final boolean o() { boolean z2; synchronized (this.a) { - z2 = this.f1302c; + z2 = this.f1261c; } return z2; } @@ -171,7 +172,7 @@ public final class b0 extends Task { public final boolean p() { boolean z2; synchronized (this.a) { - z2 = this.f1302c && !this.d && this.f == null; + z2 = this.f1261c && !this.d && this.f == null; } return z2; } @@ -197,7 +198,7 @@ public final class b0 extends Task { d.z(exc, "Exception must not be null"); synchronized (this.a) { v(); - this.f1302c = true; + this.f1261c = true; this.f = exc; } this.b.a(this); @@ -206,7 +207,7 @@ public final class b0 extends Task { public final void t(@Nullable TResult tresult) { synchronized (this.a) { v(); - this.f1302c = true; + this.f1261c = true; this.e = tresult; } this.b.a(this); @@ -214,10 +215,10 @@ public final class b0 extends Task { public final boolean u() { synchronized (this.a) { - if (this.f1302c) { + if (this.f1261c) { return false; } - this.f1302c = true; + this.f1261c = true; this.d = true; this.b.a(this); return true; @@ -226,7 +227,7 @@ public final class b0 extends Task { public final void v() { String str; - if (this.f1302c) { + if (this.f1261c) { int i = DuplicateTaskCompletionException.i; if (o()) { Exception k = k(); @@ -234,10 +235,7 @@ public final class b0 extends Task { str = "failure"; } else if (p()) { String valueOf = String.valueOf(l()); - StringBuilder sb = new StringBuilder(valueOf.length() + 7); - sb.append("result "); - sb.append(valueOf); - str = sb.toString(); + str = a.i(valueOf.length() + 7, "result ", valueOf); } else { str = n() ? "cancellation" : "unknown issue"; } @@ -250,7 +248,7 @@ public final class b0 extends Task { public final void w() { synchronized (this.a) { - if (this.f1302c) { + if (this.f1261c) { this.b.a(this); } } diff --git a/app/src/main/java/c/i/a/f/n/j.java b/app/src/main/java/c/i/a/f/n/j.java index d2a069aea9..e407ba3c60 100644 --- a/app/src/main/java/c/i/a/f/n/j.java +++ b/app/src/main/java/c/i/a/f/n/j.java @@ -8,7 +8,7 @@ public final class j implements h { public final int b; /* renamed from: c reason: collision with root package name */ - public final b0 f1303c; + public final b0 f1262c; public int d; public int e; public int f; @@ -17,7 +17,7 @@ public final class j implements h { public j(int i, b0 b0Var) { this.b = i; - this.f1303c = b0Var; + this.f1262c = b0Var; } public final void a() { @@ -25,7 +25,7 @@ public final class j implements h { return; } if (this.g != null) { - b0 b0Var = this.f1303c; + b0 b0Var = this.f1262c; int i = this.e; int i2 = this.b; StringBuilder sb = new StringBuilder(54); @@ -35,9 +35,9 @@ public final class j implements h { sb.append(" underlying tasks failed"); b0Var.s(new ExecutionException(sb.toString(), this.g)); } else if (this.h) { - this.f1303c.u(); + this.f1262c.u(); } else { - this.f1303c.t(null); + this.f1262c.t(null); } } diff --git a/app/src/main/java/c/i/a/f/n/k.java b/app/src/main/java/c/i/a/f/n/k.java index 7c2ea861fa..248375ff69 100644 --- a/app/src/main/java/c/i/a/f/n/k.java +++ b/app/src/main/java/c/i/a/f/n/k.java @@ -9,12 +9,12 @@ public final class k implements z { public final a b; /* renamed from: c reason: collision with root package name */ - public final b0 f1304c; + public final b0 f1263c; public k(@NonNull Executor executor, @NonNull a aVar, @NonNull b0 b0Var) { this.a = executor; this.b = aVar; - this.f1304c = b0Var; + this.f1263c = b0Var; } @Override // c.i.a.f.n.z diff --git a/app/src/main/java/c/i/a/f/n/l.java b/app/src/main/java/c/i/a/f/n/l.java index bb650439a7..8828d6a479 100644 --- a/app/src/main/java/c/i/a/f/n/l.java +++ b/app/src/main/java/c/i/a/f/n/l.java @@ -9,12 +9,12 @@ public final class l implements b, d, e> b; /* renamed from: c reason: collision with root package name */ - public final b0 f1305c; + public final b0 f1264c; public l(@NonNull Executor executor, @NonNull a> aVar, @NonNull b0 b0Var) { this.a = executor; this.b = aVar; - this.f1305c = b0Var; + this.f1264c = b0Var; } @Override // c.i.a.f.n.z @@ -24,16 +24,16 @@ public final class l implements b, d, e implements z { public final Object b = new Object(); /* renamed from: c reason: collision with root package name */ - public b f1306c; + public b f1265c; public p(@NonNull Executor executor, @NonNull b bVar) { this.a = executor; - this.f1306c = bVar; + this.f1265c = bVar; } @Override // c.i.a.f.n.z public final void a(@NonNull Task task) { if (task.n()) { synchronized (this.b) { - if (this.f1306c != null) { + if (this.f1265c != null) { this.a.execute(new o(this)); } } diff --git a/app/src/main/java/c/i/a/f/n/q.java b/app/src/main/java/c/i/a/f/n/q.java index 558a448354..3407f7d055 100644 --- a/app/src/main/java/c/i/a/f/n/q.java +++ b/app/src/main/java/c/i/a/f/n/q.java @@ -9,17 +9,17 @@ public final class q implements z { public final Object b = new Object(); /* renamed from: c reason: collision with root package name */ - public c f1307c; + public c f1266c; public q(@NonNull Executor executor, @NonNull c cVar) { this.a = executor; - this.f1307c = cVar; + this.f1266c = cVar; } @Override // c.i.a.f.n.z public final void a(@NonNull Task task) { synchronized (this.b) { - if (this.f1307c != null) { + if (this.f1266c != null) { this.a.execute(new r(this, task)); } } diff --git a/app/src/main/java/c/i/a/f/n/r.java b/app/src/main/java/c/i/a/f/n/r.java index e61b87cfdb..f0f5943353 100644 --- a/app/src/main/java/c/i/a/f/n/r.java +++ b/app/src/main/java/c/i/a/f/n/r.java @@ -14,7 +14,7 @@ public final class r implements Runnable { @Override // java.lang.Runnable public final void run() { synchronized (this.j.b) { - c cVar = this.j.f1307c; + c cVar = this.j.f1266c; if (cVar != 0) { cVar.onComplete(this.i); } diff --git a/app/src/main/java/c/i/a/f/n/s.java b/app/src/main/java/c/i/a/f/n/s.java index 580a9437c2..2f24961dff 100644 --- a/app/src/main/java/c/i/a/f/n/s.java +++ b/app/src/main/java/c/i/a/f/n/s.java @@ -15,7 +15,7 @@ public final class s implements Runnable { @Override // java.lang.Runnable public final void run() { synchronized (this.j.b) { - d dVar = this.j.f1308c; + d dVar = this.j.f1267c; if (dVar != null) { Exception k = this.i.k(); Objects.requireNonNull(k, "null reference"); diff --git a/app/src/main/java/c/i/a/f/n/t.java b/app/src/main/java/c/i/a/f/n/t.java index 595037f2a4..7168b62606 100644 --- a/app/src/main/java/c/i/a/f/n/t.java +++ b/app/src/main/java/c/i/a/f/n/t.java @@ -9,18 +9,18 @@ public final class t implements z { public final Object b = new Object(); /* renamed from: c reason: collision with root package name */ - public d f1308c; + public d f1267c; public t(@NonNull Executor executor, @NonNull d dVar) { this.a = executor; - this.f1308c = dVar; + this.f1267c = dVar; } @Override // c.i.a.f.n.z public final void a(@NonNull Task task) { if (!task.p() && !task.n()) { synchronized (this.b) { - if (this.f1308c != null) { + if (this.f1267c != null) { this.a.execute(new s(this, task)); } } diff --git a/app/src/main/java/c/i/a/f/n/u.java b/app/src/main/java/c/i/a/f/n/u.java index a47d8961a6..574c312ab2 100644 --- a/app/src/main/java/c/i/a/f/n/u.java +++ b/app/src/main/java/c/i/a/f/n/u.java @@ -9,18 +9,18 @@ public final class u implements z { public final Object b = new Object(); /* renamed from: c reason: collision with root package name */ - public e f1309c; + public e f1268c; public u(@NonNull Executor executor, @NonNull e eVar) { this.a = executor; - this.f1309c = eVar; + this.f1268c = eVar; } @Override // c.i.a.f.n.z public final void a(@NonNull Task task) { if (task.p()) { synchronized (this.b) { - if (this.f1309c != null) { + if (this.f1268c != null) { this.a.execute(new v(this, task)); } } diff --git a/app/src/main/java/c/i/a/f/n/v.java b/app/src/main/java/c/i/a/f/n/v.java index 509632b803..fe7a275f2a 100644 --- a/app/src/main/java/c/i/a/f/n/v.java +++ b/app/src/main/java/c/i/a/f/n/v.java @@ -14,7 +14,7 @@ public final class v implements Runnable { @Override // java.lang.Runnable public final void run() { synchronized (this.j.b) { - e eVar = this.j.f1309c; + e eVar = this.j.f1268c; if (eVar != 0) { eVar.onSuccess(this.i.l()); } diff --git a/app/src/main/java/c/i/a/f/n/w.java b/app/src/main/java/c/i/a/f/n/w.java index 15fbc37308..46ee8bed1d 100644 --- a/app/src/main/java/c/i/a/f/n/w.java +++ b/app/src/main/java/c/i/a/f/n/w.java @@ -20,7 +20,7 @@ public final class w implements Runnable { Task a = this.j.b.a(this.i.l()); if (a == null) { x xVar = this.j; - xVar.f1310c.s(new NullPointerException("Continuation returned null")); + xVar.f1269c.s(new NullPointerException("Continuation returned null")); return; } Executor executor = g.b; @@ -29,14 +29,14 @@ public final class w implements Runnable { a.a(executor, this.j); } catch (RuntimeExecutionException e) { if (e.getCause() instanceof Exception) { - this.j.f1310c.s((Exception) e.getCause()); + this.j.f1269c.s((Exception) e.getCause()); return; } - this.j.f1310c.s(e); + this.j.f1269c.s(e); } catch (CancellationException unused) { - this.j.f1310c.u(); + this.j.f1269c.u(); } catch (Exception e2) { - this.j.f1310c.s(e2); + this.j.f1269c.s(e2); } } } diff --git a/app/src/main/java/c/i/a/f/n/x.java b/app/src/main/java/c/i/a/f/n/x.java index 4addd4b3d9..9eb1aa89bc 100644 --- a/app/src/main/java/c/i/a/f/n/x.java +++ b/app/src/main/java/c/i/a/f/n/x.java @@ -9,12 +9,12 @@ public final class x implements b, d, e b; /* renamed from: c reason: collision with root package name */ - public final b0 f1310c; + public final b0 f1269c; public x(@NonNull Executor executor, @NonNull f fVar, @NonNull b0 b0Var) { this.a = executor; this.b = fVar; - this.f1310c = b0Var; + this.f1269c = b0Var; } @Override // c.i.a.f.n.z @@ -24,16 +24,16 @@ public final class x implements b, d, e { public Queue> b; /* renamed from: c reason: collision with root package name */ - public boolean f1311c; + public boolean f1270c; public final void a(@NonNull Task task) { z poll; synchronized (this.a) { if (this.b != null) { - if (!this.f1311c) { - this.f1311c = true; + if (!this.f1270c) { + this.f1270c = true; } } return; @@ -26,7 +26,7 @@ public final class y { synchronized (this.a) { poll = this.b.poll(); if (poll == null) { - this.f1311c = false; + this.f1270c = false; return; } } diff --git a/app/src/main/java/c/i/a/g/a/a.java b/app/src/main/java/c/i/a/g/a/a.java index 1ec33267cb..43f6355c19 100644 --- a/app/src/main/java/c/i/a/g/a/a.java +++ b/app/src/main/java/c/i/a/g/a/a.java @@ -26,11 +26,11 @@ public abstract class a extends c { /* compiled from: HeaderBehavior */ /* renamed from: c.i.a.g.a.a$a reason: collision with other inner class name */ - public class RunnableC0116a implements Runnable { + public class RunnableC0114a implements Runnable { public final CoordinatorLayout i; public final V j; - public RunnableC0116a(CoordinatorLayout coordinatorLayout, V v) { + public RunnableC0114a(CoordinatorLayout coordinatorLayout, V v) { this.i = coordinatorLayout; this.j = v; } @@ -79,7 +79,7 @@ public abstract class a extends c { } this.scroller.fling(0, getTopAndBottomOffset(), 0, Math.round(f), 0, 0, i, i2); if (this.scroller.computeScrollOffset()) { - RunnableC0116a aVar = new RunnableC0116a(coordinatorLayout, v); + RunnableC0114a aVar = new RunnableC0114a(coordinatorLayout, v); this.flingRunnable = aVar; ViewCompat.postOnAnimation(v, aVar); return true; diff --git a/app/src/main/java/c/i/a/g/a/c.java b/app/src/main/java/c/i/a/g/a/c.java index 9b7884b508..151dc57210 100644 --- a/app/src/main/java/c/i/a/g/a/c.java +++ b/app/src/main/java/c/i/a/g/a/c.java @@ -56,7 +56,7 @@ public class c extends CoordinatorLayout.Behavior { } d dVar = this.viewOffsetHelper; dVar.b = dVar.a.getTop(); - dVar.f1312c = dVar.a.getLeft(); + dVar.f1271c = dVar.a.getLeft(); this.viewOffsetHelper.a(); int i2 = this.tempTopBottomOffset; if (i2 != 0) { diff --git a/app/src/main/java/c/i/a/g/a/d.java b/app/src/main/java/c/i/a/g/a/d.java index 246eb74257..456653ee65 100644 --- a/app/src/main/java/c/i/a/g/a/d.java +++ b/app/src/main/java/c/i/a/g/a/d.java @@ -8,7 +8,7 @@ public class d { public int b; /* renamed from: c reason: collision with root package name */ - public int f1312c; + public int f1271c; public int d; public int e; public boolean f = true; @@ -22,7 +22,7 @@ public class d { View view = this.a; ViewCompat.offsetTopAndBottom(view, this.d - (view.getTop() - this.b)); View view2 = this.a; - ViewCompat.offsetLeftAndRight(view2, this.e - (view2.getLeft() - this.f1312c)); + ViewCompat.offsetLeftAndRight(view2, this.e - (view2.getLeft() - this.f1271c)); } public boolean b(int i) { diff --git a/app/src/main/java/c/i/a/g/b/a.java b/app/src/main/java/c/i/a/g/b/a.java index 7f95d5b0b2..ec06a4bb9c 100644 --- a/app/src/main/java/c/i/a/g/b/a.java +++ b/app/src/main/java/c/i/a/g/b/a.java @@ -27,7 +27,7 @@ public class a { public ShapeAppearanceModel b; /* renamed from: c reason: collision with root package name */ - public int f1313c; + public int f1272c; public int d; public int e; public int f; @@ -47,10 +47,10 @@ public class a { public boolean o = false; public boolean p = false; public boolean q; + public LayerDrawable r; - /* renamed from: r reason: collision with root package name */ - public LayerDrawable f1314r; - public int s; + /* renamed from: s reason: collision with root package name */ + public int f1273s; public a(MaterialButton materialButton, @NonNull ShapeAppearanceModel shapeAppearanceModel) { this.a = materialButton; @@ -59,11 +59,11 @@ public class a { @Nullable public Shapeable a() { - LayerDrawable layerDrawable = this.f1314r; + LayerDrawable layerDrawable = this.r; if (layerDrawable == null || layerDrawable.getNumberOfLayers() <= 1) { return null; } - return this.f1314r.getNumberOfLayers() > 2 ? (Shapeable) this.f1314r.getDrawable(2) : (Shapeable) this.f1314r.getDrawable(1); + return this.r.getNumberOfLayers() > 2 ? (Shapeable) this.r.getDrawable(2) : (Shapeable) this.r.getDrawable(1); } @Nullable @@ -73,11 +73,11 @@ public class a { @Nullable public final MaterialShapeDrawable c(boolean z2) { - LayerDrawable layerDrawable = this.f1314r; + LayerDrawable layerDrawable = this.r; if (layerDrawable == null || layerDrawable.getNumberOfLayers() <= 0) { return null; } - return (MaterialShapeDrawable) ((LayerDrawable) ((InsetDrawable) this.f1314r.getDrawable(0)).getDrawable()).getDrawable(!z2 ? 1 : 0); + return (MaterialShapeDrawable) ((LayerDrawable) ((InsetDrawable) this.r.getDrawable(0)).getDrawable()).getDrawable(!z2 ? 1 : 0); } @Nullable @@ -129,12 +129,12 @@ public class a { MaterialShapeDrawable materialShapeDrawable3 = new MaterialShapeDrawable(this.b); this.m = materialShapeDrawable3; DrawableCompat.setTint(materialShapeDrawable3, -1); - RippleDrawable rippleDrawable = new RippleDrawable(RippleUtils.sanitizeRippleDrawableColor(this.l), new InsetDrawable((Drawable) new LayerDrawable(new Drawable[]{materialShapeDrawable2, materialShapeDrawable}), this.f1313c, this.e, this.d, this.f), this.m); - this.f1314r = rippleDrawable; + RippleDrawable rippleDrawable = new RippleDrawable(RippleUtils.sanitizeRippleDrawableColor(this.l), new InsetDrawable((Drawable) new LayerDrawable(new Drawable[]{materialShapeDrawable2, materialShapeDrawable}), this.f1272c, this.e, this.d, this.f), this.m); + this.r = rippleDrawable; materialButton.setInternalBackground(rippleDrawable); MaterialShapeDrawable b = b(); if (b != null) { - b.setElevation((float) this.s); + b.setElevation((float) this.f1273s); } } diff --git a/app/src/main/java/c/i/a/g/c/a.java b/app/src/main/java/c/i/a/g/c/a.java index 2dc8ddfe43..77ea7ffd38 100644 --- a/app/src/main/java/c/i/a/g/c/a.java +++ b/app/src/main/java/c/i/a/g/c/a.java @@ -31,7 +31,7 @@ public class a { @NonNull /* renamed from: c reason: collision with root package name */ - public final MaterialCardView f1315c; + public final MaterialCardView f1274c; @NonNull public final Rect d = new Rect(); @NonNull @@ -61,18 +61,18 @@ public class a { @Nullable public LayerDrawable q; @Nullable - - /* renamed from: r reason: collision with root package name */ - public MaterialShapeDrawable f1316r; + public MaterialShapeDrawable r; @Nullable - public MaterialShapeDrawable s; + + /* renamed from: s reason: collision with root package name */ + public MaterialShapeDrawable f1275s; public boolean t = false; public boolean u; /* compiled from: MaterialCardViewHelper */ /* renamed from: c.i.a.g.c.a$a reason: collision with other inner class name */ - public class C0117a extends InsetDrawable { - public C0117a(a aVar, Drawable drawable, int i, int i2, int i3, int i4) { + public class C0115a extends InsetDrawable { + public C0115a(a aVar, Drawable drawable, int i, int i2, int i3, int i4) { super(drawable, i, i2, i3, i4); } @@ -93,7 +93,7 @@ public class a { } public a(@NonNull MaterialCardView materialCardView, AttributeSet attributeSet, int i, @StyleRes int i2) { - this.f1315c = materialCardView; + this.f1274c = materialCardView; MaterialShapeDrawable materialShapeDrawable = new MaterialShapeDrawable(materialCardView.getContext(), attributeSet, i, i2); this.e = materialShapeDrawable; materialShapeDrawable.initializeElevationOverlay(materialCardView.getContext()); @@ -124,11 +124,11 @@ public class a { } public final float c() { - return this.f1315c.getMaxCardElevation() + (j() ? a() : 0.0f); + return this.f1274c.getMaxCardElevation() + (j() ? a() : 0.0f); } public final float d() { - return (this.f1315c.getMaxCardElevation() * 1.5f) + (j() ? a() : 0.0f); + return (this.f1274c.getMaxCardElevation() * 1.5f) + (j() ? a() : 0.0f); } @NonNull @@ -136,14 +136,14 @@ public class a { RippleDrawable rippleDrawable; if (this.p == null) { if (RippleUtils.USE_FRAMEWORK_RIPPLE) { - this.s = new MaterialShapeDrawable(this.n); - rippleDrawable = new RippleDrawable(this.l, null, this.s); + this.f1275s = new MaterialShapeDrawable(this.n); + rippleDrawable = new RippleDrawable(this.l, null, this.f1275s); } else { StateListDrawable stateListDrawable = new StateListDrawable(); MaterialShapeDrawable materialShapeDrawable = new MaterialShapeDrawable(this.n); - this.f1316r = materialShapeDrawable; + this.r = materialShapeDrawable; materialShapeDrawable.setFillColor(this.l); - stateListDrawable.addState(new int[]{16842919}, this.f1316r); + stateListDrawable.addState(new int[]{16842919}, this.r); rippleDrawable = stateListDrawable; } this.p = rippleDrawable; @@ -165,7 +165,7 @@ public class a { public final Drawable f(Drawable drawable) { int i; int i2; - if (this.f1315c.getUseCompatPadding()) { + if (this.f1274c.getUseCompatPadding()) { int ceil = (int) Math.ceil((double) d()); i2 = (int) Math.ceil((double) c()); i = ceil; @@ -173,7 +173,7 @@ public class a { i2 = 0; i = 0; } - return new C0117a(this, drawable, i2, i, i2, i); + return new C0115a(this, drawable, i2, i, i2, i); } public void g(@Nullable Drawable drawable) { @@ -202,47 +202,47 @@ public class a { if (materialShapeDrawable2 != null) { materialShapeDrawable2.setShapeAppearanceModel(shapeAppearanceModel); } - MaterialShapeDrawable materialShapeDrawable3 = this.s; + MaterialShapeDrawable materialShapeDrawable3 = this.f1275s; if (materialShapeDrawable3 != null) { materialShapeDrawable3.setShapeAppearanceModel(shapeAppearanceModel); } - MaterialShapeDrawable materialShapeDrawable4 = this.f1316r; + MaterialShapeDrawable materialShapeDrawable4 = this.r; if (materialShapeDrawable4 != null) { materialShapeDrawable4.setShapeAppearanceModel(shapeAppearanceModel); } } public final boolean i() { - return this.f1315c.getPreventCornerOverlap() && !this.e.isRoundRect(); + return this.f1274c.getPreventCornerOverlap() && !this.e.isRoundRect(); } public final boolean j() { - return this.f1315c.getPreventCornerOverlap() && this.e.isRoundRect() && this.f1315c.getUseCompatPadding(); + return this.f1274c.getPreventCornerOverlap() && this.e.isRoundRect() && this.f1274c.getUseCompatPadding(); } public void k() { float f = 0.0f; float a2 = i() || j() ? a() : 0.0f; - if (this.f1315c.getPreventCornerOverlap() && this.f1315c.getUseCompatPadding()) { - f = (float) ((1.0d - b) * ((double) this.f1315c.getCardViewRadius())); + if (this.f1274c.getPreventCornerOverlap() && this.f1274c.getUseCompatPadding()) { + f = (float) ((1.0d - b) * ((double) this.f1274c.getCardViewRadius())); } int i = (int) (a2 - f); - MaterialCardView materialCardView = this.f1315c; + MaterialCardView materialCardView = this.f1274c; Rect rect = this.d; materialCardView.setAncestorContentPadding(rect.left + i, rect.top + i, rect.right + i, rect.bottom + i); } public void l() { if (!this.t) { - this.f1315c.setBackgroundInternal(f(this.e)); + this.f1274c.setBackgroundInternal(f(this.e)); } - this.f1315c.setForeground(f(this.j)); + this.f1274c.setForeground(f(this.j)); } public final void m() { Drawable drawable; if (!RippleUtils.USE_FRAMEWORK_RIPPLE || (drawable = this.p) == null) { - MaterialShapeDrawable materialShapeDrawable = this.f1316r; + MaterialShapeDrawable materialShapeDrawable = this.r; if (materialShapeDrawable != null) { materialShapeDrawable.setFillColor(this.l); return; diff --git a/app/src/main/java/c/i/a/g/d/a.java b/app/src/main/java/c/i/a/g/d/a.java index 61783ce5e6..165868b0fd 100644 --- a/app/src/main/java/c/i/a/g/d/a.java +++ b/app/src/main/java/c/i/a/g/d/a.java @@ -23,7 +23,7 @@ public final class a { public final ColorStateList b; /* renamed from: c reason: collision with root package name */ - public final ColorStateList f1317c; + public final ColorStateList f1276c; public final ColorStateList d; public final int e; public final ShapeAppearanceModel f; @@ -35,7 +35,7 @@ public final class a { Preconditions.checkArgumentNonnegative(rect.bottom); this.a = rect; this.b = colorStateList2; - this.f1317c = colorStateList; + this.f1276c = colorStateList; this.d = colorStateList3; this.e = i; this.f = shapeAppearanceModel; @@ -60,7 +60,7 @@ public final class a { MaterialShapeDrawable materialShapeDrawable2 = new MaterialShapeDrawable(); materialShapeDrawable.setShapeAppearanceModel(this.f); materialShapeDrawable2.setShapeAppearanceModel(this.f); - materialShapeDrawable.setFillColor(this.f1317c); + materialShapeDrawable.setFillColor(this.f1276c); materialShapeDrawable.setStroke((float) this.e, this.d); textView.setTextColor(this.b); RippleDrawable rippleDrawable = new RippleDrawable(this.b.withAlpha(30), materialShapeDrawable, materialShapeDrawable2); diff --git a/app/src/main/java/c/i/a/g/d/b.java b/app/src/main/java/c/i/a/g/d/b.java index d70e4eefd7..2dae14e6be 100644 --- a/app/src/main/java/c/i/a/g/d/b.java +++ b/app/src/main/java/c/i/a/g/d/b.java @@ -18,7 +18,7 @@ public final class b { @NonNull /* renamed from: c reason: collision with root package name */ - public final a f1318c; + public final a f1277c; @NonNull public final a d; @NonNull @@ -35,7 +35,7 @@ public final class b { this.a = a.a(context, obtainStyledAttributes.getResourceId(R.styleable.MaterialCalendar_dayStyle, 0)); this.g = a.a(context, obtainStyledAttributes.getResourceId(R.styleable.MaterialCalendar_dayInvalidStyle, 0)); this.b = a.a(context, obtainStyledAttributes.getResourceId(R.styleable.MaterialCalendar_daySelectedStyle, 0)); - this.f1318c = a.a(context, obtainStyledAttributes.getResourceId(R.styleable.MaterialCalendar_dayTodayStyle, 0)); + this.f1277c = a.a(context, obtainStyledAttributes.getResourceId(R.styleable.MaterialCalendar_dayTodayStyle, 0)); ColorStateList colorStateList = MaterialResources.getColorStateList(context, obtainStyledAttributes, R.styleable.MaterialCalendar_rangeFillColor); this.d = a.a(context, obtainStyledAttributes.getResourceId(R.styleable.MaterialCalendar_yearStyle, 0)); this.e = a.a(context, obtainStyledAttributes.getResourceId(R.styleable.MaterialCalendar_yearSelectedStyle, 0)); diff --git a/app/src/main/java/c/i/a/g/d/d.java b/app/src/main/java/c/i/a/g/d/d.java index 4b8358a3ee..afd91abfa6 100644 --- a/app/src/main/java/c/i/a/g/d/d.java +++ b/app/src/main/java/c/i/a/g/d/d.java @@ -1,6 +1,6 @@ package c.i.a.g.d; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: DateFormatTextWatcher */ public class d implements Runnable { public final /* synthetic */ long i; @@ -14,7 +14,7 @@ public class d implements Runnable { @Override // java.lang.Runnable public void run() { c cVar = this.j; - cVar.i.setError(String.format(cVar.l, c.H(this.i))); + cVar.i.setError(String.format(cVar.l, f.X(this.i))); this.j.a(); } } diff --git a/app/src/main/java/c/i/a/g/d/g.java b/app/src/main/java/c/i/a/g/d/g.java index ce66cdfa10..fcc829e0b8 100644 --- a/app/src/main/java/c/i/a/g/d/g.java +++ b/app/src/main/java/c/i/a/g/d/g.java @@ -75,7 +75,7 @@ public class g extends BaseAdapter { break; } } - aVar = z2 ? this.m.b : l.h().getTimeInMillis() == j ? this.m.f1318c : this.m.a; + aVar = z2 ? this.m.b : l.h().getTimeInMillis() == j ? this.m.f1277c : this.m.a; } else { textView.setEnabled(false); aVar = this.m.g; diff --git a/app/src/main/java/c/i/a/g/d/k.java b/app/src/main/java/c/i/a/g/d/k.java index 35acd04745..0cb1955dfa 100644 --- a/app/src/main/java/c/i/a/g/d/k.java +++ b/app/src/main/java/c/i/a/g/d/k.java @@ -10,7 +10,7 @@ public class k { @Nullable /* renamed from: c reason: collision with root package name */ - public final TimeZone f1319c = null; + public final TimeZone f1278c = null; public k(@Nullable Long l, @Nullable TimeZone timeZone) { } diff --git a/app/src/main/java/c/i/a/g/d/l.java b/app/src/main/java/c/i/a/g/d/l.java index b387877eb5..2db18ba276 100644 --- a/app/src/main/java/c/i/a/g/d/l.java +++ b/app/src/main/java/c/i/a/g/d/l.java @@ -71,7 +71,7 @@ public class l { if (kVar == null) { kVar = k.a; } - java.util.TimeZone timeZone = kVar.f1319c; + java.util.TimeZone timeZone = kVar.f1278c; Calendar instance = timeZone == null ? Calendar.getInstance() : Calendar.getInstance(timeZone); Long l = kVar.b; if (l != null) { diff --git a/app/src/main/java/c/i/a/g/e/b.java b/app/src/main/java/c/i/a/g/e/b.java index 028afed95b..b50e1f89c3 100644 --- a/app/src/main/java/c/i/a/g/e/b.java +++ b/app/src/main/java/c/i/a/g/e/b.java @@ -23,7 +23,7 @@ public abstract class b implements j { public final ExtendedFloatingActionButton b; /* renamed from: c reason: collision with root package name */ - public final ArrayList f1320c = new ArrayList<>(); + public final ArrayList f1279c = new ArrayList<>(); public final a d; @Nullable public MotionSpec e; diff --git a/app/src/main/java/c/i/a/g/e/c.java b/app/src/main/java/c/i/a/g/e/c.java index a129879933..a601d321b0 100644 --- a/app/src/main/java/c/i/a/g/e/c.java +++ b/app/src/main/java/c/i/a/g/e/c.java @@ -29,7 +29,7 @@ public class c extends Drawable { public final Paint b; /* renamed from: c reason: collision with root package name */ - public final Path f1321c = new Path(); + public final Path f1280c = new Path(); public final Rect d = new Rect(); public final RectF e = new RectF(); public final RectF f = new RectF(); @@ -130,9 +130,9 @@ public class c extends Drawable { } copyBounds(this.d); this.e.set(this.d); - this.a.calculatePath(this.o, 1.0f, this.e, this.f1321c); - if (this.f1321c.isConvex()) { - outline.setConvexPath(this.f1321c); + this.a.calculatePath(this.o, 1.0f, this.e, this.f1280c); + if (this.f1280c.isConvex()) { + outline.setConvexPath(this.f1280c); } } diff --git a/app/src/main/java/c/i/a/g/e/d.java b/app/src/main/java/c/i/a/g/e/d.java index 0f792e6b87..1bf30a09a2 100644 --- a/app/src/main/java/c/i/a/g/e/d.java +++ b/app/src/main/java/c/i/a/g/e/d.java @@ -10,13 +10,13 @@ public class d extends AnimatorListenerAdapter { public final /* synthetic */ boolean b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ f.AbstractC0118f f1322c; + public final /* synthetic */ f.AbstractC0116f f1281c; public final /* synthetic */ f d; - public d(f fVar, boolean z2, f.AbstractC0118f fVar2) { + public d(f fVar, boolean z2, f.AbstractC0116f fVar2) { this.d = fVar; this.b = z2; - this.f1322c = fVar2; + this.f1281c = fVar2; } @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener @@ -33,7 +33,7 @@ public class d extends AnimatorListenerAdapter { FloatingActionButton floatingActionButton = fVar.F; boolean z2 = this.b; floatingActionButton.internalSetVisibility(z2 ? 8 : 4, z2); - f.AbstractC0118f fVar2 = this.f1322c; + f.AbstractC0116f fVar2 = this.f1281c; if (fVar2 != null) { FloatingActionButton.a aVar = (FloatingActionButton.a) fVar2; aVar.a.onHidden(FloatingActionButton.this); diff --git a/app/src/main/java/c/i/a/g/e/e.java b/app/src/main/java/c/i/a/g/e/e.java index a57f76e3d7..4e62be9034 100644 --- a/app/src/main/java/c/i/a/g/e/e.java +++ b/app/src/main/java/c/i/a/g/e/e.java @@ -7,23 +7,23 @@ import com.google.android.material.floatingactionbutton.FloatingActionButton; /* compiled from: FloatingActionButtonImpl */ public class e extends AnimatorListenerAdapter { public final /* synthetic */ boolean a; - public final /* synthetic */ f.AbstractC0118f b; + public final /* synthetic */ f.AbstractC0116f b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ f f1323c; + public final /* synthetic */ f f1282c; - public e(f fVar, boolean z2, f.AbstractC0118f fVar2) { - this.f1323c = fVar; + public e(f fVar, boolean z2, f.AbstractC0116f fVar2) { + this.f1282c = fVar; this.a = z2; this.b = fVar2; } @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener public void onAnimationEnd(Animator animator) { - f fVar = this.f1323c; + f fVar = this.f1282c; fVar.B = 0; fVar.v = null; - f.AbstractC0118f fVar2 = this.b; + f.AbstractC0116f fVar2 = this.b; if (fVar2 != null) { FloatingActionButton.a aVar = (FloatingActionButton.a) fVar2; aVar.a.onShown(FloatingActionButton.this); @@ -32,8 +32,8 @@ public class e extends AnimatorListenerAdapter { @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener public void onAnimationStart(Animator animator) { - this.f1323c.F.internalSetVisibility(0, this.a); - f fVar = this.f1323c; + this.f1282c.F.internalSetVisibility(0, this.a); + f fVar = this.f1282c; fVar.B = 2; fVar.v = animator; } diff --git a/app/src/main/java/c/i/a/g/e/f.java b/app/src/main/java/c/i/a/g/e/f.java index 343657b1f9..262d091764 100644 --- a/app/src/main/java/c/i/a/g/e/f.java +++ b/app/src/main/java/c/i/a/g/e/f.java @@ -39,7 +39,7 @@ public class f { public static final int[] b = {16842919, 16842910}; /* renamed from: c reason: collision with root package name */ - public static final int[] f1324c = {16843623, 16842908, 16842910}; + public static final int[] f1283c = {16843623, 16842908, 16842910}; public static final int[] d = {16842908, 16842910}; public static final int[] e = {16843623, 16842910}; public static final int[] f = {16842910}; @@ -72,11 +72,11 @@ public class f { public float o; public float p; public float q; - - /* renamed from: r reason: collision with root package name */ - public int f1325r; + public int r; @NonNull - public final StateListAnimator s; + + /* renamed from: s reason: collision with root package name */ + public final StateListAnimator f1284s; @Nullable public MotionSpec t; @Nullable @@ -84,19 +84,17 @@ public class f { @Nullable public Animator v; @Nullable - - /* renamed from: w reason: collision with root package name */ - public MotionSpec f1326w; + public MotionSpec w; @Nullable /* renamed from: x reason: collision with root package name */ - public MotionSpec f1327x; + public MotionSpec f1285x; /* renamed from: y reason: collision with root package name */ - public float f1328y; + public float f1286y; /* renamed from: z reason: collision with root package name */ - public float f1329z = 1.0f; + public float f1287z = 1.0f; /* compiled from: FloatingActionButtonImpl */ public class a extends MatrixEvaluator { @@ -105,7 +103,7 @@ public class f { @Override // com.google.android.material.animation.MatrixEvaluator public Matrix evaluate(float f, @NonNull Matrix matrix, @NonNull Matrix matrix2) { - f.this.f1329z = f; + f.this.f1287z = f; return super.evaluate(f, matrix, matrix2); } @@ -113,7 +111,7 @@ public class f { /* JADX DEBUG: Method arguments types fixed to match base method, original types: [float, java.lang.Object, java.lang.Object] */ @Override // com.google.android.material.animation.MatrixEvaluator, android.animation.TypeEvaluator public Matrix evaluate(float f, @NonNull Matrix matrix, @NonNull Matrix matrix2) { - f.this.f1329z = f; + f.this.f1287z = f; return super.evaluate(f, matrix, matrix2); } } @@ -165,7 +163,7 @@ public class f { /* compiled from: FloatingActionButtonImpl */ /* renamed from: c.i.a.g.e.f$f reason: collision with other inner class name */ - public interface AbstractC0118f { + public interface AbstractC0116f { } /* compiled from: FloatingActionButtonImpl */ @@ -186,7 +184,7 @@ public class f { public float b; /* renamed from: c reason: collision with root package name */ - public float f1330c; + public float f1288c; public h(d dVar) { } @@ -195,7 +193,7 @@ public class f { @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener public void onAnimationEnd(Animator animator) { - f.this.w((float) ((int) this.f1330c)); + f.this.w((float) ((int) this.f1288c)); this.a = false; } @@ -204,12 +202,12 @@ public class f { if (!this.a) { MaterialShapeDrawable materialShapeDrawable = f.this.i; this.b = materialShapeDrawable == null ? 0.0f : materialShapeDrawable.getElevation(); - this.f1330c = a(); + this.f1288c = a(); this.a = true; } f fVar = f.this; float f = this.b; - fVar.w((float) ((int) ((valueAnimator.getAnimatedFraction() * (this.f1330c - f)) + f))); + fVar.w((float) ((int) ((valueAnimator.getAnimatedFraction() * (this.f1288c - f)) + f))); } } @@ -217,14 +215,14 @@ public class f { this.F = floatingActionButton; this.G = shadowViewDelegate; StateListAnimator stateListAnimator = new StateListAnimator(); - this.s = stateListAnimator; + this.f1284s = stateListAnimator; stateListAnimator.addState(b, c(new d())); - stateListAnimator.addState(f1324c, c(new c())); + stateListAnimator.addState(f1283c, c(new c())); stateListAnimator.addState(d, c(new c())); stateListAnimator.addState(e, c(new c())); stateListAnimator.addState(f, c(new g())); stateListAnimator.addState(g, c(new b(this))); - this.f1328y = floatingActionButton.getRotation(); + this.f1286y = floatingActionButton.getRotation(); } public final void a(float f2, @NonNull Matrix matrix) { @@ -286,7 +284,7 @@ public class f { } public void e(@NonNull Rect rect) { - int sizeDimension = this.m ? (this.f1325r - this.F.getSizeDimension()) / 2 : 0; + int sizeDimension = this.m ? (this.r - this.F.getSizeDimension()) / 2 : 0; float d2 = this.n ? d() + this.q : 0.0f; int max = Math.max(sizeDimension, (int) Math.ceil((double) d2)); int max2 = Math.max(sizeDimension, (int) Math.ceil((double) (d2 * 1.5f))); @@ -342,7 +340,7 @@ public class f { } public final void o(float f2) { - this.f1329z = f2; + this.f1287z = f2; Matrix matrix = this.K; a(f2, matrix); this.F.setImageMatrix(matrix); @@ -378,7 +376,7 @@ public class f { } public final boolean t() { - return !this.m || this.F.getSizeDimension() >= this.f1325r; + return !this.m || this.F.getSizeDimension() >= this.r; } public void u() { diff --git a/app/src/main/java/c/i/a/g/e/h.java b/app/src/main/java/c/i/a/g/e/h.java index 0a18894a85..1c48ab9730 100644 --- a/app/src/main/java/c/i/a/g/e/h.java +++ b/app/src/main/java/c/i/a/g/e/h.java @@ -13,10 +13,10 @@ public class h implements ViewTreeObserver.OnPreDrawListener { public boolean onPreDraw() { f fVar = this.i; float rotation = fVar.F.getRotation(); - if (fVar.f1328y == rotation) { + if (fVar.f1286y == rotation) { return true; } - fVar.f1328y = rotation; + fVar.f1286y = rotation; fVar.u(); return true; } diff --git a/app/src/main/java/c/i/a/g/e/i.java b/app/src/main/java/c/i/a/g/e/i.java index 38e4a8cba9..2c08562cc6 100644 --- a/app/src/main/java/c/i/a/g/e/i.java +++ b/app/src/main/java/c/i/a/g/e/i.java @@ -57,7 +57,7 @@ public class i extends f { if (this.G.isCompatPaddingEnabled()) { super.e(rect); } else if (!t()) { - int sizeDimension = (this.f1325r - this.F.getSizeDimension()) / 2; + int sizeDimension = (this.r - this.F.getSizeDimension()) / 2; rect.set(sizeDimension, sizeDimension, sizeDimension, sizeDimension); } else { rect.set(0, 0, 0, 0); @@ -141,7 +141,7 @@ public class i extends f { } else { StateListAnimator stateListAnimator = new StateListAnimator(); stateListAnimator.addState(f.b, x(f, f3)); - stateListAnimator.addState(f.f1324c, x(f, f2)); + stateListAnimator.addState(f.f1283c, x(f, f2)); stateListAnimator.addState(f.d, x(f, f2)); stateListAnimator.addState(f.e, x(f, f2)); AnimatorSet animatorSet = new AnimatorSet(); diff --git a/app/src/main/java/c/i/a/g/f/a.java b/app/src/main/java/c/i/a/g/f/a.java index 41506d16a6..30586aee46 100644 --- a/app/src/main/java/c/i/a/g/f/a.java +++ b/app/src/main/java/c/i/a/g/f/a.java @@ -20,7 +20,7 @@ public final class a { @Nullable /* renamed from: c reason: collision with root package name */ - public static Object f1331c; + public static Object f1289c; public CharSequence d; public final TextPaint e; public final int f; @@ -34,12 +34,12 @@ public final class a { /* compiled from: StaticLayoutBuilderCompat */ /* renamed from: c.i.a.g.f.a$a reason: collision with other inner class name */ - public static class C0119a extends Exception { + public static class C0117a extends Exception { /* JADX WARNING: Illegal instructions before constructor call */ - public C0119a(Throwable th) { + public C0117a(Throwable th) { super(r0.toString(), th); - StringBuilder O = c.d.b.a.a.O("Error thrown initializing StaticLayout "); - O.append(th.getMessage()); + StringBuilder R = c.d.b.a.a.R("Error thrown initializing StaticLayout "); + R.append(th.getMessage()); } } @@ -50,7 +50,7 @@ public final class a { this.g = charSequence.length(); } - public StaticLayout a() throws C0119a { + public StaticLayout a() throws C0117a { if (this.d == null) { this.d = ""; } @@ -79,7 +79,7 @@ public final class a { } if (!a) { try { - f1331c = this.k && i >= 23 ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR; + f1289c = this.k && i >= 23 ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR; Class cls = Integer.TYPE; Class cls2 = Float.TYPE; Constructor declaredConstructor = StaticLayout.class.getDeclaredConstructor(CharSequence.class, cls, cls, TextPaint.class, cls, Layout.Alignment.class, TextDirectionHeuristic.class, cls2, cls2, Boolean.TYPE, TextUtils.TruncateAt.class, cls, cls); @@ -87,13 +87,13 @@ public final class a { declaredConstructor.setAccessible(true); a = true; } catch (Exception e) { - throw new C0119a(e); + throw new C0117a(e); } } try { - return (StaticLayout) ((Constructor) Preconditions.checkNotNull(b)).newInstance(charSequence, 0, Integer.valueOf(this.g), this.e, Integer.valueOf(max), this.h, Preconditions.checkNotNull(f1331c), Float.valueOf(1.0f), Float.valueOf(0.0f), Boolean.valueOf(this.j), null, Integer.valueOf(max), Integer.valueOf(this.i)); + return (StaticLayout) ((Constructor) Preconditions.checkNotNull(b)).newInstance(charSequence, 0, Integer.valueOf(this.g), this.e, Integer.valueOf(max), this.h, Preconditions.checkNotNull(f1289c), Float.valueOf(1.0f), Float.valueOf(0.0f), Boolean.valueOf(this.j), null, Integer.valueOf(max), Integer.valueOf(this.i)); } catch (Exception e2) { - throw new C0119a(e2); + throw new C0117a(e2); } } } diff --git a/app/src/main/java/c/i/a/g/g/a.java b/app/src/main/java/c/i/a/g/g/a.java index 9d24059ae0..0aa4cf5077 100644 --- a/app/src/main/java/c/i/a/g/g/a.java +++ b/app/src/main/java/c/i/a/g/g/a.java @@ -12,7 +12,7 @@ import com.google.android.material.progressindicator.CircularProgressIndicatorSp public final class a extends f { /* renamed from: c reason: collision with root package name */ - public int f1332c = 1; + public int f1290c = 1; public float d; public float e; public float f; @@ -23,17 +23,17 @@ public final class a extends f { @Override // c.i.a.g.g.f public void a(@NonNull Canvas canvas, @FloatRange(from = 0.0d, to = 1.0d) float f) { - S s = this.a; - float f2 = (((float) ((CircularProgressIndicatorSpec) s).indicatorSize) / 2.0f) + ((float) ((CircularProgressIndicatorSpec) s).indicatorInset); + S s2 = this.a; + float f2 = (((float) ((CircularProgressIndicatorSpec) s2).indicatorSize) / 2.0f) + ((float) ((CircularProgressIndicatorSpec) s2).indicatorInset); canvas.translate(f2, f2); canvas.rotate(-90.0f); float f3 = -f2; canvas.clipRect(f3, f3, f2, f2); - S s2 = this.a; - this.f1332c = ((CircularProgressIndicatorSpec) s2).indicatorDirection == 0 ? 1 : -1; - this.d = ((float) ((CircularProgressIndicatorSpec) s2).trackThickness) * f; - this.e = ((float) ((CircularProgressIndicatorSpec) s2).trackCornerRadius) * f; - this.f = ((float) (((CircularProgressIndicatorSpec) s2).indicatorSize - ((CircularProgressIndicatorSpec) s2).trackThickness)) / 2.0f; + S s3 = this.a; + this.f1290c = ((CircularProgressIndicatorSpec) s3).indicatorDirection == 0 ? 1 : -1; + this.d = ((float) ((CircularProgressIndicatorSpec) s3).trackThickness) * f; + this.e = ((float) ((CircularProgressIndicatorSpec) s3).trackCornerRadius) * f; + this.f = ((float) (((CircularProgressIndicatorSpec) s3).indicatorSize - ((CircularProgressIndicatorSpec) s3).trackThickness)) / 2.0f; if ((this.b.isShowing() && ((CircularProgressIndicatorSpec) this.a).showAnimationBehavior == 2) || (this.b.isHiding() && ((CircularProgressIndicatorSpec) this.a).hideAnimationBehavior == 1)) { this.f = (((1.0f - f) * ((float) ((CircularProgressIndicatorSpec) this.a).trackThickness)) / 2.0f) + this.f; } else if ((this.b.isShowing() && ((CircularProgressIndicatorSpec) this.a).showAnimationBehavior == 1) || (this.b.isHiding() && ((CircularProgressIndicatorSpec) this.a).hideAnimationBehavior == 2)) { @@ -49,7 +49,7 @@ public final class a extends f { paint.setAntiAlias(true); paint.setColor(i); paint.setStrokeWidth(this.d); - float f3 = (float) this.f1332c; + float f3 = (float) this.f1290c; float f4 = f * 360.0f * f3; if (f2 < f) { f2 += 1.0f; @@ -100,11 +100,11 @@ public final class a extends f { canvas.rotate(f3); float f5 = f / 2.0f; float f6 = f4 * f2; - canvas.drawRect((this.f - f5) + f2, Math.min(0.0f, ((float) this.f1332c) * f6), (this.f + f5) - f2, Math.max(0.0f, f6 * ((float) this.f1332c)), paint); + canvas.drawRect((this.f - f5) + f2, Math.min(0.0f, ((float) this.f1290c) * f6), (this.f + f5) - f2, Math.max(0.0f, f6 * ((float) this.f1290c)), paint); canvas.translate((this.f - f5) + f2, 0.0f); - canvas.drawArc(rectF, 180.0f, (-f4) * 90.0f * ((float) this.f1332c), true, paint); + canvas.drawArc(rectF, 180.0f, (-f4) * 90.0f * ((float) this.f1290c), true, paint); canvas.translate(f - (f2 * 2.0f), 0.0f); - canvas.drawArc(rectF, 0.0f, f4 * 90.0f * ((float) this.f1332c), true, paint); + canvas.drawArc(rectF, 0.0f, f4 * 90.0f * ((float) this.f1290c), true, paint); canvas.restore(); } } diff --git a/app/src/main/java/c/i/a/g/g/d.java b/app/src/main/java/c/i/a/g/g/d.java index c63ecc38d3..8f100ab9ac 100644 --- a/app/src/main/java/c/i/a/g/g/d.java +++ b/app/src/main/java/c/i/a/g/g/d.java @@ -74,7 +74,7 @@ public final class d extends g { int length = i4 % iArr.length; int compositeARGBWithAlpha = MaterialColors.compositeARGBWithAlpha(iArr[length], dVar2.a.getAlpha()); int compositeARGBWithAlpha2 = MaterialColors.compositeARGBWithAlpha(dVar2.l.indicatorColors[(length + 1) % iArr.length], dVar2.a.getAlpha()); - dVar2.f1333c[0] = ArgbEvaluatorCompat.getInstance().evaluate(dVar2.k.getInterpolation(b3), Integer.valueOf(compositeARGBWithAlpha), Integer.valueOf(compositeARGBWithAlpha2)).intValue(); + dVar2.f1291c[0] = ArgbEvaluatorCompat.getInstance().evaluate(dVar2.k.getInterpolation(b3), Integer.valueOf(compositeARGBWithAlpha), Integer.valueOf(compositeARGBWithAlpha2)).intValue(); break; } i3++; @@ -167,7 +167,7 @@ public final class d extends g { @VisibleForTesting public void h() { this.m = 0; - this.f1333c[0] = MaterialColors.compositeARGBWithAlpha(this.l.indicatorColors[0], this.a.getAlpha()); + this.f1291c[0] = MaterialColors.compositeARGBWithAlpha(this.l.indicatorColors[0], this.a.getAlpha()); this.o = 0.0f; } } diff --git a/app/src/main/java/c/i/a/g/g/f.java b/app/src/main/java/c/i/a/g/g/f.java index 7e00fb28f5..6b13d321fd 100644 --- a/app/src/main/java/c/i/a/g/g/f.java +++ b/app/src/main/java/c/i/a/g/g/f.java @@ -11,8 +11,8 @@ public abstract class f { public S a; public e b; - public f(S s) { - this.a = s; + public f(S s2) { + this.a = s2; } public abstract void a(@NonNull Canvas canvas, @FloatRange(from = 0.0d, to = 1.0d) float f); diff --git a/app/src/main/java/c/i/a/g/g/g.java b/app/src/main/java/c/i/a/g/g/g.java index f8ac588bfe..8f4a888762 100644 --- a/app/src/main/java/c/i/a/g/g/g.java +++ b/app/src/main/java/c/i/a/g/g/g.java @@ -10,11 +10,11 @@ public abstract class g { public final float[] b; /* renamed from: c reason: collision with root package name */ - public final int[] f1333c; + public final int[] f1291c; public g(int i) { this.b = new float[(i * 2)]; - this.f1333c = new int[i]; + this.f1291c = new int[i]; } public abstract void a(); diff --git a/app/src/main/java/c/i/a/g/g/h.java b/app/src/main/java/c/i/a/g/g/h.java index 5362b5ec84..1d49868ff7 100644 --- a/app/src/main/java/c/i/a/g/g/h.java +++ b/app/src/main/java/c/i/a/g/g/h.java @@ -13,7 +13,7 @@ import com.google.android.material.progressindicator.LinearProgressIndicatorSpec public final class h extends f { /* renamed from: c reason: collision with root package name */ - public float f1334c = 300.0f; + public float f1292c = 300.0f; public float d; public float e; @@ -42,7 +42,7 @@ public final class h extends f { @Override // c.i.a.g.g.f public void a(@NonNull Canvas canvas, @FloatRange(from = 0.0d, to = 1.0d) float f) { Rect clipBounds = canvas.getClipBounds(); - this.f1334c = (float) clipBounds.width(); + this.f1292c = (float) clipBounds.width(); float f2 = (float) ((LinearProgressIndicatorSpec) this.a).trackThickness; canvas.translate(((float) clipBounds.width()) / 2.0f, Math.max(0.0f, ((float) (clipBounds.height() - ((LinearProgressIndicatorSpec) this.a).trackThickness)) / 2.0f) + (((float) clipBounds.height()) / 2.0f)); if (((LinearProgressIndicatorSpec) this.a).drawHorizontallyInverse) { @@ -54,17 +54,17 @@ public final class h extends f { if (this.b.isShowing() || this.b.isHiding()) { canvas.translate(0.0f, ((f - 1.0f) * ((float) ((LinearProgressIndicatorSpec) this.a).trackThickness)) / 2.0f); } - float f3 = this.f1334c; + float f3 = this.f1292c; canvas.clipRect((-f3) / 2.0f, (-f2) / 2.0f, f3 / 2.0f, f2 / 2.0f); - S s = this.a; - this.d = ((float) ((LinearProgressIndicatorSpec) s).trackThickness) * f; - this.e = ((float) ((LinearProgressIndicatorSpec) s).trackCornerRadius) * f; + S s2 = this.a; + this.d = ((float) ((LinearProgressIndicatorSpec) s2).trackThickness) * f; + this.e = ((float) ((LinearProgressIndicatorSpec) s2).trackCornerRadius) * f; } @Override // c.i.a.g.g.f public void b(@NonNull Canvas canvas, @NonNull Paint paint, @FloatRange(from = 0.0d, to = 1.0d) float f, @FloatRange(from = 0.0d, to = 1.0d) float f2, @ColorInt int i) { if (f != f2) { - float f3 = this.f1334c; + float f3 = this.f1292c; float f4 = this.e; float f5 = ((-f3) / 2.0f) + f4; float f6 = f3 - (f4 * 2.0f); @@ -86,7 +86,7 @@ public final class h extends f { @Override // c.i.a.g.g.f public void c(@NonNull Canvas canvas, @NonNull Paint paint) { int compositeARGBWithAlpha = MaterialColors.compositeARGBWithAlpha(((LinearProgressIndicatorSpec) this.a).trackColor, this.b.getAlpha()); - float f = ((-this.f1334c) / 2.0f) + this.e; + float f = ((-this.f1292c) / 2.0f) + this.e; float f2 = -f; paint.setStyle(Paint.Style.FILL); paint.setAntiAlias(true); diff --git a/app/src/main/java/c/i/a/g/g/j.java b/app/src/main/java/c/i/a/g/g/j.java index ba7b4bc3e6..46cb56960e 100644 --- a/app/src/main/java/c/i/a/g/g/j.java +++ b/app/src/main/java/c/i/a/g/g/j.java @@ -53,7 +53,7 @@ public final class j extends g { float[] fArr3 = jVar2.b; fArr3[5] = 1.0f; if (jVar2.i && fArr3[3] < 1.0f) { - int[] iArr = jVar2.f1333c; + int[] iArr = jVar2.f1291c; iArr[2] = iArr[1]; iArr[1] = iArr[0]; iArr[0] = MaterialColors.compositeARGBWithAlpha(jVar2.g.indicatorColors[jVar2.h], jVar2.a.getAlpha()); @@ -112,6 +112,6 @@ public final class j extends g { public void h() { this.i = true; this.h = 1; - Arrays.fill(this.f1333c, MaterialColors.compositeARGBWithAlpha(this.g.indicatorColors[0], this.a.getAlpha())); + Arrays.fill(this.f1291c, MaterialColors.compositeARGBWithAlpha(this.g.indicatorColors[0], this.a.getAlpha())); } } diff --git a/app/src/main/java/c/i/a/g/g/l.java b/app/src/main/java/c/i/a/g/g/l.java index e02a4b38cc..8de50659a5 100644 --- a/app/src/main/java/c/i/a/g/g/l.java +++ b/app/src/main/java/c/i/a/g/g/l.java @@ -51,7 +51,7 @@ public final class l extends g { lVar2.b[i2] = Math.max(0.0f, Math.min(1.0f, lVar2.h[i2].getInterpolation(lVar2.b(i, l.e[i2], l.d[i2])))); } if (lVar2.k) { - Arrays.fill(lVar2.f1333c, MaterialColors.compositeARGBWithAlpha(lVar2.i.indicatorColors[lVar2.j], lVar2.a.getAlpha())); + Arrays.fill(lVar2.f1291c, MaterialColors.compositeARGBWithAlpha(lVar2.i.indicatorColors[lVar2.j], lVar2.a.getAlpha())); lVar2.k = false; } lVar2.a.invalidateSelf(); @@ -118,7 +118,7 @@ public final class l extends g { public void h() { this.j = 0; int compositeARGBWithAlpha = MaterialColors.compositeARGBWithAlpha(this.i.indicatorColors[0], this.a.getAlpha()); - int[] iArr = this.f1333c; + int[] iArr = this.f1291c; iArr[0] = compositeARGBWithAlpha; iArr[1] = compositeARGBWithAlpha; } diff --git a/app/src/main/java/c/i/a/g/h/a.java b/app/src/main/java/c/i/a/g/h/a.java index 328aa40b92..b2932d9537 100644 --- a/app/src/main/java/c/i/a/g/h/a.java +++ b/app/src/main/java/c/i/a/g/h/a.java @@ -14,7 +14,7 @@ public class a { @NonNull /* renamed from: c reason: collision with root package name */ - public final Handler f1335c = new Handler(Looper.getMainLooper(), new C0120a()); + public final Handler f1293c = new Handler(Looper.getMainLooper(), new C0118a()); @Nullable public c d; @Nullable @@ -22,8 +22,8 @@ public class a { /* compiled from: SnackbarManager */ /* renamed from: c.i.a.g.h.a$a reason: collision with other inner class name */ - public class C0120a implements Handler.Callback { - public C0120a() { + public class C0118a implements Handler.Callback { + public C0118a() { } @Override // android.os.Handler.Callback @@ -56,7 +56,7 @@ public class a { public int b; /* renamed from: c reason: collision with root package name */ - public boolean f1336c; + public boolean f1294c; public c(int i, b bVar) { this.a = new WeakReference<>(bVar); @@ -76,7 +76,7 @@ public class a { if (bVar == null) { return false; } - this.f1335c.removeCallbacksAndMessages(cVar); + this.f1293c.removeCallbacksAndMessages(cVar); bVar.a(i); return true; } @@ -101,9 +101,9 @@ public class a { synchronized (this.b) { if (c(bVar)) { c cVar = this.d; - if (!cVar.f1336c) { - cVar.f1336c = true; - this.f1335c.removeCallbacksAndMessages(cVar); + if (!cVar.f1294c) { + cVar.f1294c = true; + this.f1293c.removeCallbacksAndMessages(cVar); } } } @@ -113,8 +113,8 @@ public class a { synchronized (this.b) { if (c(bVar)) { c cVar = this.d; - if (cVar.f1336c) { - cVar.f1336c = false; + if (cVar.f1294c) { + cVar.f1294c = false; g(cVar); } } @@ -127,8 +127,8 @@ public class a { if (i <= 0) { i = i == -1 ? 1500 : 2750; } - this.f1335c.removeCallbacksAndMessages(cVar); - Handler handler = this.f1335c; + this.f1293c.removeCallbacksAndMessages(cVar); + Handler handler = this.f1293c; handler.sendMessageDelayed(Message.obtain(handler, 0, cVar), (long) i); } } diff --git a/app/src/main/java/c/i/a/g/j/a.java b/app/src/main/java/c/i/a/g/j/a.java index 46c5b3c7ee..f98b8f5980 100644 --- a/app/src/main/java/c/i/a/g/j/a.java +++ b/app/src/main/java/c/i/a/g/j/a.java @@ -15,7 +15,7 @@ import com.google.android.material.animation.AnimationUtils; import com.google.android.material.textfield.TextInputLayout; /* compiled from: ClearTextEndIconDelegate */ public class a extends m { - public final TextWatcher d = new C0121a(); + public final TextWatcher d = new C0119a(); public final View.OnFocusChangeListener e = new b(); public final TextInputLayout.OnEditTextAttachedListener f = new c(); public final TextInputLayout.OnEndIconChangedListener g = new d(); @@ -24,8 +24,8 @@ public class a extends m { /* compiled from: ClearTextEndIconDelegate */ /* renamed from: c.i.a.g.j.a$a reason: collision with other inner class name */ - public class C0121a implements TextWatcher { - public C0121a() { + public class C0119a implements TextWatcher { + public C0119a() { } @Override // android.text.TextWatcher @@ -89,10 +89,10 @@ public class a extends m { /* compiled from: ClearTextEndIconDelegate */ /* renamed from: c.i.a.g.j.a$d$a reason: collision with other inner class name */ - public class RunnableC0122a implements Runnable { + public class RunnableC0120a implements Runnable { public final /* synthetic */ EditText i; - public RunnableC0122a(EditText editText) { + public RunnableC0120a(EditText editText) { this.i = editText; } @@ -109,7 +109,7 @@ public class a extends m { public void onEndIconChanged(@NonNull TextInputLayout textInputLayout, int i) { EditText editText = textInputLayout.getEditText(); if (editText != null && i == 2) { - editText.post(new RunnableC0122a(editText)); + editText.post(new RunnableC0120a(editText)); if (editText.getOnFocusChangeListener() == a.this.e) { editText.setOnFocusChangeListener(null); } diff --git a/app/src/main/java/c/i/a/g/j/d.java b/app/src/main/java/c/i/a/g/j/d.java index aa78942dbf..425e4c0d80 100644 --- a/app/src/main/java/c/i/a/g/j/d.java +++ b/app/src/main/java/c/i/a/g/j/d.java @@ -12,6 +12,6 @@ public class d implements ValueAnimator.AnimatorUpdateListener { @Override // android.animation.ValueAnimator.AnimatorUpdateListener public void onAnimationUpdate(@NonNull ValueAnimator valueAnimator) { - this.a.f1337c.setAlpha(((Float) valueAnimator.getAnimatedValue()).floatValue()); + this.a.f1295c.setAlpha(((Float) valueAnimator.getAnimatedValue()).floatValue()); } } diff --git a/app/src/main/java/c/i/a/g/j/e.java b/app/src/main/java/c/i/a/g/j/e.java index 898a50004a..ec3110832e 100644 --- a/app/src/main/java/c/i/a/g/j/e.java +++ b/app/src/main/java/c/i/a/g/j/e.java @@ -13,7 +13,7 @@ public class e implements ValueAnimator.AnimatorUpdateListener { @Override // android.animation.ValueAnimator.AnimatorUpdateListener public void onAnimationUpdate(@NonNull ValueAnimator valueAnimator) { float floatValue = ((Float) valueAnimator.getAnimatedValue()).floatValue(); - this.a.f1337c.setScaleX(floatValue); - this.a.f1337c.setScaleY(floatValue); + this.a.f1295c.setScaleX(floatValue); + this.a.f1295c.setScaleY(floatValue); } } diff --git a/app/src/main/java/c/i/a/g/j/h.java b/app/src/main/java/c/i/a/g/j/h.java index 5d0c2974ad..15cce03bee 100644 --- a/app/src/main/java/c/i/a/g/j/h.java +++ b/app/src/main/java/c/i/a/g/j/h.java @@ -53,10 +53,10 @@ public class h extends m { /* compiled from: DropdownMenuEndIconDelegate */ /* renamed from: c.i.a.g.j.h$a$a reason: collision with other inner class name */ - public class RunnableC0123a implements Runnable { + public class RunnableC0121a implements Runnable { public final /* synthetic */ AutoCompleteTextView i; - public RunnableC0123a(AutoCompleteTextView autoCompleteTextView) { + public RunnableC0121a(AutoCompleteTextView autoCompleteTextView) { this.i = autoCompleteTextView; } @@ -74,10 +74,10 @@ public class h extends m { @Override // com.google.android.material.internal.TextWatcherAdapter, android.text.TextWatcher public void afterTextChanged(Editable editable) { AutoCompleteTextView d = h.d(h.this.a.getEditText()); - if (h.this.n.isTouchExplorationEnabled() && h.e(d) && !h.this.f1337c.hasFocus()) { + if (h.this.n.isTouchExplorationEnabled() && h.e(d) && !h.this.f1295c.hasFocus()) { d.dismissDropDown(); } - d.post(new RunnableC0123a(d)); + d.post(new RunnableC0121a(d)); } } @@ -175,7 +175,7 @@ public class h extends m { z2 = true; } if (!z2) { - ViewCompat.setImportantForAccessibility(h.this.f1337c, 2); + ViewCompat.setImportantForAccessibility(h.this.f1295c, 2); } textInputLayout.setTextInputAccessibilityDelegate(h.this.f); textInputLayout.setEndIconVisible(true); diff --git a/app/src/main/java/c/i/a/g/j/i.java b/app/src/main/java/c/i/a/g/j/i.java index 2485a256ef..7d809510f6 100644 --- a/app/src/main/java/c/i/a/g/j/i.java +++ b/app/src/main/java/c/i/a/g/j/i.java @@ -12,6 +12,6 @@ public class i implements ValueAnimator.AnimatorUpdateListener { @Override // android.animation.ValueAnimator.AnimatorUpdateListener public void onAnimationUpdate(@NonNull ValueAnimator valueAnimator) { - this.a.f1337c.setAlpha(((Float) valueAnimator.getAnimatedValue()).floatValue()); + this.a.f1295c.setAlpha(((Float) valueAnimator.getAnimatedValue()).floatValue()); } } diff --git a/app/src/main/java/c/i/a/g/j/l.java b/app/src/main/java/c/i/a/g/j/l.java index ff900fa894..fb719bd6f4 100644 --- a/app/src/main/java/c/i/a/g/j/l.java +++ b/app/src/main/java/c/i/a/g/j/l.java @@ -13,7 +13,7 @@ public class l extends AnimatorListenerAdapter { @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener public void onAnimationEnd(Animator animator) { h hVar = this.a; - hVar.f1337c.setChecked(hVar.j); + hVar.f1295c.setChecked(hVar.j); this.a.p.start(); } } diff --git a/app/src/main/java/c/i/a/g/j/m.java b/app/src/main/java/c/i/a/g/j/m.java index 706e0471d6..54a1f8bfd9 100644 --- a/app/src/main/java/c/i/a/g/j/m.java +++ b/app/src/main/java/c/i/a/g/j/m.java @@ -10,12 +10,12 @@ public abstract class m { public Context b; /* renamed from: c reason: collision with root package name */ - public CheckableImageButton f1337c; + public CheckableImageButton f1295c; public m(@NonNull TextInputLayout textInputLayout) { this.a = textInputLayout; this.b = textInputLayout.getContext(); - this.f1337c = textInputLayout.getEndIconView(); + this.f1295c = textInputLayout.getEndIconView(); } public abstract void a(); diff --git a/app/src/main/java/c/i/a/g/j/n.java b/app/src/main/java/c/i/a/g/j/n.java index 1dac2d4b27..aa7b930b08 100644 --- a/app/src/main/java/c/i/a/g/j/n.java +++ b/app/src/main/java/c/i/a/g/j/n.java @@ -32,7 +32,7 @@ public final class n { public final TextInputLayout b; /* renamed from: c reason: collision with root package name */ - public LinearLayout f1338c; + public LinearLayout f1296c; public int d; public FrameLayout e; @Nullable @@ -53,10 +53,10 @@ public final class n { public CharSequence p; public boolean q; @Nullable + public TextView r; - /* renamed from: r reason: collision with root package name */ - public TextView f1339r; - public int s; + /* renamed from: s reason: collision with root package name */ + public int f1297s; @Nullable public ColorStateList t; public Typeface u; @@ -67,13 +67,13 @@ public final class n { public final /* synthetic */ TextView b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ int f1340c; + public final /* synthetic */ int f1298c; public final /* synthetic */ TextView d; public a(int i, TextView textView, int i2, TextView textView2) { this.a = i; this.b = textView; - this.f1340c = i2; + this.f1298c = i2; this.d = textView2; } @@ -86,7 +86,7 @@ public final class n { TextView textView2 = this.b; if (textView2 != null) { textView2.setVisibility(4); - if (this.f1340c == 1 && (textView = n.this.l) != null) { + if (this.f1298c == 1 && (textView = n.this.l) != null) { textView.setText((CharSequence) null); } } @@ -114,13 +114,13 @@ public final class n { } public void a(TextView textView, int i) { - if (this.f1338c == null && this.e == null) { + if (this.f1296c == null && this.e == null) { LinearLayout linearLayout = new LinearLayout(this.a); - this.f1338c = linearLayout; + this.f1296c = linearLayout; linearLayout.setOrientation(0); - this.b.addView(this.f1338c, -1, -2); + this.b.addView(this.f1296c, -1, -2); this.e = new FrameLayout(this.a); - this.f1338c.addView(this.e, new LinearLayout.LayoutParams(0, -2, 1.0f)); + this.f1296c.addView(this.e, new LinearLayout.LayoutParams(0, -2, 1.0f)); if (this.b.getEditText() != null) { b(); } @@ -129,17 +129,17 @@ public final class n { this.e.setVisibility(0); this.e.addView(textView); } else { - this.f1338c.addView(textView, new LinearLayout.LayoutParams(-2, -2)); + this.f1296c.addView(textView, new LinearLayout.LayoutParams(-2, -2)); } - this.f1338c.setVisibility(0); + this.f1296c.setVisibility(0); this.d++; } public void b() { - if ((this.f1338c == null || this.b.getEditText() == null) ? false : true) { + if ((this.f1296c == null || this.b.getEditText() == null) ? false : true) { EditText editText = this.b.getEditText(); boolean isFontScaleAtLeast1_3 = MaterialResources.isFontScaleAtLeast1_3(this.a); - LinearLayout linearLayout = this.f1338c; + LinearLayout linearLayout = this.f1296c; int i = R.dimen.material_helper_text_font_1_3_padding_horizontal; ViewCompat.setPaddingRelative(linearLayout, h(isFontScaleAtLeast1_3, i, ViewCompat.getPaddingStart(editText)), h(isFontScaleAtLeast1_3, R.dimen.material_helper_text_font_1_3_padding_top, this.a.getResources().getDimensionPixelSize(R.dimen.material_helper_text_default_padding_top)), h(isFontScaleAtLeast1_3, i, ViewCompat.getPaddingEnd(editText)), 0); } @@ -181,7 +181,7 @@ public final class n { if (i != 2) { return null; } - return this.f1339r; + return this.r; } @ColorInt @@ -212,7 +212,7 @@ public final class n { public void j(TextView textView, int i) { FrameLayout frameLayout; - LinearLayout linearLayout = this.f1338c; + LinearLayout linearLayout = this.f1296c; if (linearLayout != null) { if (!(i == 0 || i == 1) || (frameLayout = this.e) == null) { linearLayout.removeView(textView); @@ -221,7 +221,7 @@ public final class n { } int i2 = this.d - 1; this.d = i2; - LinearLayout linearLayout2 = this.f1338c; + LinearLayout linearLayout2 = this.f1296c; if (i2 == 0) { linearLayout2.setVisibility(8); } @@ -240,7 +240,7 @@ public final class n { AnimatorSet animatorSet = new AnimatorSet(); this.f = animatorSet; ArrayList arrayList = new ArrayList(); - d(arrayList, this.q, this.f1339r, 2, i, i2); + d(arrayList, this.q, this.r, 2, i, i2); d(arrayList, this.k, this.l, 1, i, i2); AnimatorSetCompat.playTogether(animatorSet, arrayList); animatorSet.addListener(new a(i2, f(i), i, f(i2))); diff --git a/app/src/main/java/c/i/a/g/j/p.java b/app/src/main/java/c/i/a/g/j/p.java index 645048a623..6285f8294c 100644 --- a/app/src/main/java/c/i/a/g/j/p.java +++ b/app/src/main/java/c/i/a/g/j/p.java @@ -23,7 +23,7 @@ public class p extends m { @Override // com.google.android.material.internal.TextWatcherAdapter, android.text.TextWatcher public void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) { p pVar = p.this; - pVar.f1337c.setChecked(!p.d(pVar)); + pVar.f1295c.setChecked(!p.d(pVar)); } } @@ -38,7 +38,7 @@ public class p extends m { textInputLayout.setEndIconVisible(true); textInputLayout.setEndIconCheckable(true); p pVar = p.this; - pVar.f1337c.setChecked(!p.d(pVar)); + pVar.f1295c.setChecked(!p.d(pVar)); editText.removeTextChangedListener(p.this.d); editText.addTextChangedListener(p.this.d); } diff --git a/app/src/main/java/c/i/a/g/k/b.java b/app/src/main/java/c/i/a/g/k/b.java index 49a24ade5c..d4f2fe5295 100644 --- a/app/src/main/java/c/i/a/g/k/b.java +++ b/app/src/main/java/c/i/a/g/k/b.java @@ -18,12 +18,12 @@ public class b implements ViewTreeObserver.OnPreDrawListener { } this.i.getViewTreeObserver().removeOnPreDrawListener(this); ClockFaceView clockFaceView = this.i; - int height = ((this.i.getHeight() / 2) - clockFaceView.l.q) - clockFaceView.s; + int height = ((this.i.getHeight() / 2) - clockFaceView.l.q) - clockFaceView.f2425s; if (height != clockFaceView.j) { clockFaceView.j = height; clockFaceView.a(); ClockHandView clockHandView = clockFaceView.l; - clockHandView.f2854z = clockFaceView.j; + clockHandView.f2429z = clockFaceView.j; clockHandView.invalidate(); } return true; diff --git a/app/src/main/java/c/i/a/g/k/f.java b/app/src/main/java/c/i/a/g/k/f.java index 01b3ecb710..e5441c5822 100644 --- a/app/src/main/java/c/i/a/g/k/f.java +++ b/app/src/main/java/c/i/a/g/k/f.java @@ -32,7 +32,7 @@ public class f implements ClockHandView.OnRotateListener, TimePickerView.d, Time TimePickerView timePickerView2 = this.l; timePickerView2.p = this; timePickerView2.o = this; - timePickerView2.k.f2852x = this; + timePickerView2.k.f2427x = this; g(i, "%d"); g(j, "%d"); g(k, "%02d"); diff --git a/app/src/main/java/c/i/a/g/k/i.java b/app/src/main/java/c/i/a/g/k/i.java index 7be68dfefb..b6c3eca9cc 100644 --- a/app/src/main/java/c/i/a/g/k/i.java +++ b/app/src/main/java/c/i/a/g/k/i.java @@ -31,9 +31,7 @@ public class i implements TimePickerView.d, g { public final h o; public final EditText p; public final EditText q; - - /* renamed from: r reason: collision with root package name */ - public MaterialButtonToggleGroup f1341r; + public MaterialButtonToggleGroup r; /* compiled from: TimePickerTextInputPresenter */ public class a extends TextWatcherAdapter { @@ -107,9 +105,9 @@ public class i implements TimePickerView.d, g { chipTextInputComboView2.setTag(i2, 10); if (timeModel.k == 0) { MaterialButtonToggleGroup materialButtonToggleGroup = (MaterialButtonToggleGroup) linearLayout.findViewById(R.id.material_clock_period_toggle); - this.f1341r = materialButtonToggleGroup; + this.r = materialButtonToggleGroup; materialButtonToggleGroup.addOnButtonCheckedListener(new j(this)); - this.f1341r.setVisibility(0); + this.r.setVisibility(0); e(); } c cVar = new c(); @@ -185,7 +183,7 @@ public class i implements TimePickerView.d, g { } public final void e() { - MaterialButtonToggleGroup materialButtonToggleGroup = this.f1341r; + MaterialButtonToggleGroup materialButtonToggleGroup = this.r; if (materialButtonToggleGroup != null) { materialButtonToggleGroup.check(this.j.o == 0 ? R.id.material_clock_period_am_button : R.id.material_clock_period_pm_button); } diff --git a/app/src/main/java/c/i/a/g/l/b.java b/app/src/main/java/c/i/a/g/l/b.java index bf41f29178..cce8d09163 100644 --- a/app/src/main/java/c/i/a/g/l/b.java +++ b/app/src/main/java/c/i/a/g/l/b.java @@ -2,10 +2,10 @@ package c.i.a.g.l; /* compiled from: FadeModeEvaluators */ public class b { public static final a a = new a(); - public static final a b = new C0124b(); + public static final a b = new C0122b(); /* renamed from: c reason: collision with root package name */ - public static final a f1342c = new c(); + public static final a f1299c = new c(); public static final a d = new d(); /* compiled from: FadeModeEvaluators */ @@ -18,7 +18,7 @@ public class b { /* compiled from: FadeModeEvaluators */ /* renamed from: c.i.a.g.l.b$b reason: collision with other inner class name */ - public static class C0124b implements a { + public static class C0122b implements a { @Override // c.i.a.g.l.a public c a(float f, float f2, float f3) { return c.a(k.g(255, 0, f2, f3, f), 255); diff --git a/app/src/main/java/c/i/a/g/l/c.java b/app/src/main/java/c/i/a/g/l/c.java index d00c2f4b34..bb04419182 100644 --- a/app/src/main/java/c/i/a/g/l/c.java +++ b/app/src/main/java/c/i/a/g/l/c.java @@ -5,12 +5,12 @@ public class c { public final int b; /* renamed from: c reason: collision with root package name */ - public final boolean f1343c; + public final boolean f1300c; public c(int i, int i2, boolean z2) { this.a = i; this.b = i2; - this.f1343c = z2; + this.f1300c = z2; } public static c a(int i, int i2) { diff --git a/app/src/main/java/c/i/a/g/l/e.java b/app/src/main/java/c/i/a/g/l/e.java index 880492f90a..d582878326 100644 --- a/app/src/main/java/c/i/a/g/l/e.java +++ b/app/src/main/java/c/i/a/g/l/e.java @@ -39,12 +39,12 @@ public class e { @Override // c.i.a.g.l.d public boolean b(f fVar) { - return fVar.f1344c > fVar.e; + return fVar.f1301c > fVar.e; } @Override // c.i.a.g.l.d public void c(RectF rectF, float f, f fVar) { - float abs = (Math.abs(fVar.e - fVar.f1344c) / 2.0f) * f; + float abs = (Math.abs(fVar.e - fVar.f1301c) / 2.0f) * f; rectF.left += abs; rectF.right -= abs; } diff --git a/app/src/main/java/c/i/a/g/l/f.java b/app/src/main/java/c/i/a/g/l/f.java index b5928023a8..ff96d946ce 100644 --- a/app/src/main/java/c/i/a/g/l/f.java +++ b/app/src/main/java/c/i/a/g/l/f.java @@ -5,7 +5,7 @@ public class f { public final float b; /* renamed from: c reason: collision with root package name */ - public final float f1344c; + public final float f1301c; public final float d; public final float e; public final float f; @@ -13,7 +13,7 @@ public class f { public f(float f, float f2, float f3, float f4, float f5, float f6) { this.a = f; this.b = f2; - this.f1344c = f3; + this.f1301c = f3; this.d = f4; this.e = f5; this.f = f6; diff --git a/app/src/main/java/c/i/a/g/l/g.java b/app/src/main/java/c/i/a/g/l/g.java index cfef460d53..99408945ad 100644 --- a/app/src/main/java/c/i/a/g/l/g.java +++ b/app/src/main/java/c/i/a/g/l/g.java @@ -9,7 +9,7 @@ public class g { public final Path b = new Path(); /* renamed from: c reason: collision with root package name */ - public final Path f1345c = new Path(); + public final Path f1302c = new Path(); public final ShapeAppearancePathProvider d = ShapeAppearancePathProvider.getInstance(); public ShapeAppearanceModel e; } diff --git a/app/src/main/java/c/i/a/g/l/k.java b/app/src/main/java/c/i/a/g/l/k.java index 9dd01a04f4..ddfa8a5c6d 100644 --- a/app/src/main/java/c/i/a/g/l/k.java +++ b/app/src/main/java/c/i/a/g/l/k.java @@ -36,7 +36,7 @@ public class k { return view; } } - throw new IllegalArgumentException(c.d.b.a.a.u(resourceName, " is not a valid ancestor")); + throw new IllegalArgumentException(c.d.b.a.a.v(resourceName, " is not a valid ancestor")); } public static RectF c(View view) { diff --git a/app/src/main/java/c/i/a/g/l/l/b.java b/app/src/main/java/c/i/a/g/l/l/b.java index 36d8104ea4..edcc216cb5 100644 --- a/app/src/main/java/c/i/a/g/l/l/b.java +++ b/app/src/main/java/c/i/a/g/l/l/b.java @@ -5,10 +5,10 @@ import androidx.annotation.RequiresApi; @RequiresApi(21) public class b { public static final a a = new a(); - public static final a b = new C0125b(); + public static final a b = new C0123b(); /* renamed from: c reason: collision with root package name */ - public static final a f1346c = new c(); + public static final a f1303c = new c(); public static final a d = new d(); /* compiled from: FadeModeEvaluators */ @@ -21,7 +21,7 @@ public class b { /* compiled from: FadeModeEvaluators */ /* renamed from: c.i.a.g.l.l.b$b reason: collision with other inner class name */ - public static class C0125b implements a { + public static class C0123b implements a { @Override // c.i.a.g.l.l.a public c a(float f, float f2, float f3) { return c.a(k.g(255, 0, f2, f3, f), 255); diff --git a/app/src/main/java/c/i/a/g/l/l/c.java b/app/src/main/java/c/i/a/g/l/l/c.java index 290c215321..b5b2d42358 100644 --- a/app/src/main/java/c/i/a/g/l/l/c.java +++ b/app/src/main/java/c/i/a/g/l/l/c.java @@ -8,12 +8,12 @@ public class c { public final int b; /* renamed from: c reason: collision with root package name */ - public final boolean f1347c; + public final boolean f1304c; public c(int i, int i2, boolean z2) { this.a = i; this.b = i2; - this.f1347c = z2; + this.f1304c = z2; } public static c a(int i, int i2) { diff --git a/app/src/main/java/c/i/a/g/l/l/e.java b/app/src/main/java/c/i/a/g/l/l/e.java index 3fa485b907..a4892e2f50 100644 --- a/app/src/main/java/c/i/a/g/l/l/e.java +++ b/app/src/main/java/c/i/a/g/l/l/e.java @@ -41,12 +41,12 @@ public class e { @Override // c.i.a.g.l.l.d public boolean b(f fVar) { - return fVar.f1348c > fVar.e; + return fVar.f1305c > fVar.e; } @Override // c.i.a.g.l.l.d public void c(RectF rectF, float f, f fVar) { - float abs = (Math.abs(fVar.e - fVar.f1348c) / 2.0f) * f; + float abs = (Math.abs(fVar.e - fVar.f1305c) / 2.0f) * f; rectF.left += abs; rectF.right -= abs; } diff --git a/app/src/main/java/c/i/a/g/l/l/f.java b/app/src/main/java/c/i/a/g/l/l/f.java index ef7ff83384..c573f5c8f2 100644 --- a/app/src/main/java/c/i/a/g/l/l/f.java +++ b/app/src/main/java/c/i/a/g/l/l/f.java @@ -8,7 +8,7 @@ public class f { public final float b; /* renamed from: c reason: collision with root package name */ - public final float f1348c; + public final float f1305c; public final float d; public final float e; public final float f; @@ -16,7 +16,7 @@ public class f { public f(float f, float f2, float f3, float f4, float f5, float f6) { this.a = f; this.b = f2; - this.f1348c = f3; + this.f1305c = f3; this.d = f4; this.e = f5; this.f = f6; diff --git a/app/src/main/java/c/i/a/g/l/l/g.java b/app/src/main/java/c/i/a/g/l/l/g.java index 13b48a8017..73e0dda1fe 100644 --- a/app/src/main/java/c/i/a/g/l/l/g.java +++ b/app/src/main/java/c/i/a/g/l/l/g.java @@ -11,7 +11,7 @@ public class g { public final Path b = new Path(); /* renamed from: c reason: collision with root package name */ - public final Path f1349c = new Path(); + public final Path f1306c = new Path(); public final ShapeAppearancePathProvider d = ShapeAppearancePathProvider.getInstance(); public ShapeAppearanceModel e; } diff --git a/app/src/main/java/c/i/a/g/l/l/k.java b/app/src/main/java/c/i/a/g/l/l/k.java index 7f9efa250a..808b10758a 100644 --- a/app/src/main/java/c/i/a/g/l/l/k.java +++ b/app/src/main/java/c/i/a/g/l/l/k.java @@ -38,7 +38,7 @@ public class k { return view; } } - throw new IllegalArgumentException(c.d.b.a.a.u(resourceName, " is not a valid ancestor")); + throw new IllegalArgumentException(c.d.b.a.a.v(resourceName, " is not a valid ancestor")); } public static RectF c(View view) { diff --git a/app/src/main/java/c/i/b/a/b.java b/app/src/main/java/c/i/b/a/b.java index 8575232228..e7c6c6dbb8 100644 --- a/app/src/main/java/c/i/b/a/b.java +++ b/app/src/main/java/c/i/b/a/b.java @@ -1,4 +1,6 @@ package c.i.b.a; + +import c.i.a.f.e.o.f; /* compiled from: CharMatcher */ public abstract class b implements h { @@ -14,10 +16,10 @@ public abstract class b implements h { /* compiled from: CharMatcher */ /* renamed from: c.i.b.a.b$b reason: collision with other inner class name */ - public static final class C0126b extends a { + public static final class C0124b extends a { public final char a; - public C0126b(char c2) { + public C0124b(char c2) { this.a = c2; } @@ -27,16 +29,16 @@ public abstract class b implements h { } public String toString() { - StringBuilder O = c.d.b.a.a.O("CharMatcher.is('"); + StringBuilder R = c.d.b.a.a.R("CharMatcher.is('"); char c2 = this.a; char[] cArr = {'\\', 'u', 0, 0, 0, 0}; for (int i = 0; i < 4; i++) { cArr[5 - i] = "0123456789ABCDEF".charAt(c2 & 15); c2 = (char) (c2 >> 4); } - O.append(String.copyValueOf(cArr)); - O.append("')"); - return O.toString(); + R.append(String.copyValueOf(cArr)); + R.append("')"); + return R.toString(); } } @@ -63,7 +65,7 @@ public abstract class b implements h { @Override // c.i.b.a.b public int a(CharSequence charSequence, int i) { - c.i.a.f.e.o.c.o(i, charSequence.length()); + f.x(i, charSequence.length()); return -1; } @@ -75,7 +77,7 @@ public abstract class b implements h { public int a(CharSequence charSequence, int i) { int length = charSequence.length(); - c.i.a.f.e.o.c.o(i, length); + f.x(i, length); while (i < length) { if (b(charSequence.charAt(i))) { return i; diff --git a/app/src/main/java/c/i/b/a/c.java b/app/src/main/java/c/i/b/a/c.java index 22330a94b0..e03759c37e 100644 --- a/app/src/main/java/c/i/b/a/c.java +++ b/app/src/main/java/c/i/b/a/c.java @@ -8,7 +8,7 @@ public final class c { public static final Charset b = Charset.forName("ISO-8859-1"); /* renamed from: c reason: collision with root package name */ - public static final Charset f1350c = Charset.forName(Constants.ENCODING); + public static final Charset f1307c = Charset.forName(Constants.ENCODING); public static final Charset d = Charset.forName("UTF-16LE"); public static final Charset e = Charset.forName("UTF-16"); diff --git a/app/src/main/java/c/i/b/a/g.java b/app/src/main/java/c/i/b/a/g.java index 812eeb4cd3..5645c9d87e 100644 --- a/app/src/main/java/c/i/b/a/g.java +++ b/app/src/main/java/c/i/b/a/g.java @@ -9,7 +9,7 @@ public final class g { public final a b; /* renamed from: c reason: collision with root package name */ - public a f1351c; + public a f1308c; /* compiled from: MoreObjects */ public static final class a { @@ -20,7 +20,7 @@ public final class g { @NullableDecl /* renamed from: c reason: collision with root package name */ - public a f1352c; + public a f1309c; public a(f fVar) { } @@ -29,7 +29,7 @@ public final class g { public g(String str, f fVar) { a aVar = new a(null); this.b = aVar; - this.f1351c = aVar; + this.f1308c = aVar; this.a = str; } @@ -37,8 +37,8 @@ public final class g { public g a(String str, int i) { String valueOf = String.valueOf(i); a aVar = new a(null); - this.f1351c.f1352c = aVar; - this.f1351c = aVar; + this.f1308c.f1309c = aVar; + this.f1308c = aVar; aVar.b = valueOf; aVar.a = str; return this; @@ -48,7 +48,7 @@ public final class g { StringBuilder sb = new StringBuilder(32); sb.append(this.a); sb.append('{'); - a aVar = this.b.f1352c; + a aVar = this.b.f1309c; String str = ""; while (aVar != null) { Object obj = aVar.b; @@ -64,7 +64,7 @@ public final class g { String deepToString = Arrays.deepToString(new Object[]{obj}); sb.append((CharSequence) deepToString, 1, deepToString.length() - 1); } - aVar = aVar.f1352c; + aVar = aVar.f1309c; str = ", "; } sb.append('}'); diff --git a/app/src/main/java/c/i/b/a/k.java b/app/src/main/java/c/i/b/a/k.java index bff9e362ee..1a0a0e3a07 100644 --- a/app/src/main/java/c/i/b/a/k.java +++ b/app/src/main/java/c/i/b/a/k.java @@ -11,7 +11,7 @@ public final class k { public final b b; /* renamed from: c reason: collision with root package name */ - public final int f1353c = Integer.MAX_VALUE; + public final int f1310c = Integer.MAX_VALUE; /* compiled from: Splitter */ public static abstract class a extends a { @@ -24,7 +24,7 @@ public final class k { public a(k kVar, CharSequence charSequence) { this.l = kVar.a; this.m = false; - this.o = kVar.f1353c; + this.o = kVar.f1310c; this.k = charSequence; } } diff --git a/app/src/main/java/c/i/b/b/a.java b/app/src/main/java/c/i/b/b/a.java index 5db2bee845..915c40aeea 100644 --- a/app/src/main/java/c/i/b/b/a.java +++ b/app/src/main/java/c/i/b/b/a.java @@ -1,6 +1,7 @@ package c.i.b.b; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; +import c.i.b.b.p; import java.util.ListIterator; import java.util.NoSuchElementException; /* compiled from: AbstractIndexedListIterator */ @@ -9,13 +10,11 @@ public abstract class a implements ListIterator { public int j; public a(int i, int i2) { - c.o(i2, i); + f.x(i2, i); this.i = i; this.j = i2; } - public abstract E a(int i); - @Override // java.util.ListIterator public final void add(Object obj) { throw new UnsupportedOperationException(); @@ -36,7 +35,7 @@ public abstract class a implements ListIterator { if (hasNext()) { int i = this.j; this.j = i + 1; - return a(i); + return ((p.b) this).k.get(i); } throw new NoSuchElementException(); } @@ -51,7 +50,7 @@ public abstract class a implements ListIterator { if (hasPrevious()) { int i = this.j - 1; this.j = i; - return a(i); + return ((p.b) this).k.get(i); } throw new NoSuchElementException(); } diff --git a/app/src/main/java/c/i/b/b/a0.java b/app/src/main/java/c/i/b/b/a0.java index 1f80fe75b7..082f10790f 100644 --- a/app/src/main/java/c/i/b/b/a0.java +++ b/app/src/main/java/c/i/b/b/a0.java @@ -1,27 +1,37 @@ package c.i.b.b; -import java.util.NoSuchElementException; -/* compiled from: Iterators */ -public final class a0 extends d1 { - public boolean i; - public final /* synthetic */ Object j; +import c.i.b.b.e; +import java.util.AbstractMap; +import java.util.Collection; +import java.util.Map; +import java.util.Set; +import org.checkerframework.checker.nullness.compatqual.MonotonicNonNullDecl; +/* compiled from: Maps */ +public abstract class a0 extends AbstractMap { + @MonotonicNonNullDecl + public transient Set> i; + @MonotonicNonNullDecl + public transient Collection j; - public a0(Object obj) { - this.j = obj; - } - - @Override // java.util.Iterator - public boolean hasNext() { - return !this.i; - } - - /* JADX WARNING: Unknown variable types count: 1 */ - @Override // java.util.Iterator - public T next() { - if (!this.i) { - this.i = true; - return this.j; + @Override // java.util.AbstractMap, java.util.Map + public Set> entrySet() { + Set> set = this.i; + if (set != null) { + return set; } - throw new NoSuchElementException(); + e.a.C0125a aVar = new e.a.C0125a(); + this.i = aVar; + return aVar; + } + + @Override // java.util.AbstractMap, java.util.Map + public Collection values() { + Collection collection = this.j; + if (collection != null) { + return collection; + } + z zVar = new z(this); + this.j = zVar; + return zVar; } } diff --git a/app/src/main/java/c/i/b/b/a1.java b/app/src/main/java/c/i/b/b/a1.java deleted file mode 100644 index 86c5037dff..0000000000 --- a/app/src/main/java/c/i/b/b/a1.java +++ /dev/null @@ -1,51 +0,0 @@ -package c.i.b.b; - -import com.google.errorprone.annotations.CanIgnoreReturnValue; -import java.util.AbstractSet; -import java.util.Collection; -/* compiled from: Sets */ -public abstract class a1 extends AbstractSet { - public a1(x0 x0Var) { - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - @CanIgnoreReturnValue - @Deprecated - public final boolean add(E e) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - @CanIgnoreReturnValue - @Deprecated - public final boolean addAll(Collection collection) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - @Deprecated - public final void clear() { - throw new UnsupportedOperationException(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - @CanIgnoreReturnValue - @Deprecated - public final boolean remove(Object obj) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.AbstractSet, java.util.AbstractCollection, java.util.Collection, java.util.Set - @CanIgnoreReturnValue - @Deprecated - public final boolean removeAll(Collection collection) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - @CanIgnoreReturnValue - @Deprecated - public final boolean retainAll(Collection collection) { - throw new UnsupportedOperationException(); - } -} diff --git a/app/src/main/java/c/i/b/b/b.java b/app/src/main/java/c/i/b/b/b.java index 41fb678372..b59a17bcfe 100644 --- a/app/src/main/java/c/i/b/b/b.java +++ b/app/src/main/java/c/i/b/b/b.java @@ -4,7 +4,7 @@ import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.NoSuchElementException; import org.checkerframework.checker.nullness.compatqual.NullableDecl; /* compiled from: AbstractIterator */ -public abstract class b extends d1 { +public abstract class b extends s0 { public int i = 2; @NullableDecl public T j; @@ -23,15 +23,15 @@ public abstract class b extends d1 { return false; } this.i = 4; - y0 y0Var = (y0) this; + n0 n0Var = (n0) this; while (true) { - if (!y0Var.k.hasNext()) { - y0Var.i = 3; + if (!n0Var.k.hasNext()) { + n0Var.i = 3; t = null; break; } - t = (T) y0Var.k.next(); - if (y0Var.l.j.contains(t)) { + t = (T) n0Var.k.next(); + if (n0Var.l.j.contains(t)) { break; } } diff --git a/app/src/main/java/c/i/b/b/b0.java b/app/src/main/java/c/i/b/b/b0.java index 16d44659a6..563a13a78c 100644 --- a/app/src/main/java/c/i/b/b/b0.java +++ b/app/src/main/java/c/i/b/b/b0.java @@ -1,18 +1,8 @@ package c.i.b.b; -/* compiled from: Iterators */ -public final class b0 extends a { - public static final a k = new b0(new Object[0], 0, 0, 0); - public final T[] l; - public final int m; - public b0(T[] tArr, int i, int i2, int i3) { - super(i2, i3); - this.l = tArr; - this.m = i; - } - - @Override // c.i.b.b.a - public T a(int i) { - return this.l[this.m + i]; - } +import java.util.Collection; +import java.util.Map; +/* compiled from: Multimap */ +public interface b0 { + Map> a(); } diff --git a/app/src/main/java/c/i/b/b/b1.java b/app/src/main/java/c/i/b/b/b1.java deleted file mode 100644 index f01b7f0f41..0000000000 --- a/app/src/main/java/c/i/b/b/b1.java +++ /dev/null @@ -1,77 +0,0 @@ -package c.i.b.b; - -import c.d.b.a.a; -import com.google.errorprone.annotations.concurrent.LazyInit; -import java.util.Objects; -/* compiled from: SingletonImmutableSet */ -public final class b1 extends z { - public final transient E l; - @LazyInit - public transient int m; - - public b1(E e) { - Objects.requireNonNull(e); - this.l = e; - } - - public b1(E e, int i) { - this.l = e; - this.m = i; - } - - @Override // c.i.b.b.s, java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean contains(Object obj) { - return this.l.equals(obj); - } - - @Override // c.i.b.b.s - public int d(Object[] objArr, int i) { - objArr[i] = this.l; - return i + 1; - } - - @Override // c.i.b.b.z, java.util.Collection, java.lang.Object, java.util.Set - public final int hashCode() { - int i = this.m; - if (i != 0) { - return i; - } - int hashCode = this.l.hashCode(); - this.m = hashCode; - return hashCode; - } - - @Override // c.i.b.b.s - public boolean i() { - return false; - } - - @Override // c.i.b.b.s - /* renamed from: j */ - public d1 iterator() { - return new a0(this.l); - } - - @Override // c.i.b.b.z - public u o() { - return u.t(this.l); - } - - @Override // c.i.b.b.z - public boolean q() { - return this.m != 0; - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public int size() { - return 1; - } - - @Override // java.util.AbstractCollection, java.lang.Object - public String toString() { - StringBuilder M = a.M('['); - M.append(this.l.toString()); - M.append(']'); - return M.toString(); - } -} diff --git a/app/src/main/java/c/i/b/b/c.java b/app/src/main/java/c/i/b/b/c.java index 931bfe5dca..64c2608126 100644 --- a/app/src/main/java/c/i/b/b/c.java +++ b/app/src/main/java/c/i/b/b/c.java @@ -1,28 +1,32 @@ package c.i.b.b; +import c.i.b.b.e; import java.util.Collection; import java.util.Map; +import java.util.NavigableMap; +import java.util.SortedMap; import org.checkerframework.checker.nullness.compatqual.NullableDecl; /* compiled from: AbstractListMultimap */ -public abstract class c extends d implements k0 { +public abstract class c extends e implements b0 { private static final long serialVersionUID = 6588350623831699109L; public c(Map> map) { super(map); } - @Override // c.i.b.b.f, c.i.b.b.k0 + @Override // c.i.b.b.g, c.i.b.b.b0 public Map> a() { Map> map = this.k; - if (map != null) { - return map; + if (map == null) { + d0 d0Var = (d0) this; + Map> map2 = d0Var.l; + map = map2 instanceof NavigableMap ? new e.d((NavigableMap) d0Var.l) : map2 instanceof SortedMap ? new e.g((SortedMap) d0Var.l) : new e.a(d0Var.l); + this.k = map; } - Map> c2 = c(); - this.k = c2; - return c2; + return map; } - @Override // c.i.b.b.f, java.lang.Object + @Override // c.i.b.b.g, java.lang.Object public boolean equals(@NullableDecl Object obj) { return super.equals(obj); } diff --git a/app/src/main/java/c/i/b/b/c0.java b/app/src/main/java/c/i/b/b/c0.java index 896acd8501..882affd556 100644 --- a/app/src/main/java/c/i/b/b/c0.java +++ b/app/src/main/java/c/i/b/b/c0.java @@ -1,24 +1,21 @@ package c.i.b.b; -import c.i.a.f.e.o.c; -import java.util.Iterator; -import java.util.NoSuchElementException; -/* compiled from: Iterators */ -public enum c0 implements Iterator { - INSTANCE; +import c.i.a.f.e.o.f; +import c.i.b.a.l; +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; +/* compiled from: MultimapBuilder */ +public final class c0 implements l>, Serializable { + private final int expectedValuesPerKey; - @Override // java.util.Iterator - public boolean hasNext() { - return false; + public c0(int i) { + f.v(i, "expectedValuesPerKey"); + this.expectedValuesPerKey = i; } - @Override // java.util.Iterator - public Object next() { - throw new NoSuchElementException(); - } - - @Override // java.util.Iterator - public void remove() { - c.q(false); + @Override // c.i.b.a.l + public Object get() { + return new ArrayList(this.expectedValuesPerKey); } } diff --git a/app/src/main/java/c/i/b/b/c1.java b/app/src/main/java/c/i/b/b/c1.java deleted file mode 100644 index 3bc55b3d6d..0000000000 --- a/app/src/main/java/c/i/b/b/c1.java +++ /dev/null @@ -1,29 +0,0 @@ -package c.i.b.b; - -import java.util.Iterator; -import java.util.Map; -import java.util.Objects; -/* compiled from: TransformedIterator */ -public abstract class c1 implements Iterator { - public final Iterator i; - - public c1(Iterator it) { - Objects.requireNonNull(it); - this.i = it; - } - - @Override // java.util.Iterator - public final boolean hasNext() { - return this.i.hasNext(); - } - - @Override // java.util.Iterator - public final T next() { - return (T) ((Map.Entry) this.i.next()).getValue(); - } - - @Override // java.util.Iterator - public final void remove() { - this.i.remove(); - } -} diff --git a/app/src/main/java/c/i/b/b/d.java b/app/src/main/java/c/i/b/b/d.java index 67acce5db5..7e9b7e9956 100644 --- a/app/src/main/java/c/i/b/b/d.java +++ b/app/src/main/java/c/i/b/b/d.java @@ -1,1128 +1,7 @@ package c.i.b.b; - -import java.io.Serializable; -import java.util.AbstractCollection; -import java.util.Collection; -import java.util.Collections; -import java.util.Comparator; -import java.util.ConcurrentModificationException; -import java.util.Iterator; -import java.util.List; -import java.util.ListIterator; -import java.util.Map; -import java.util.NavigableMap; -import java.util.NavigableSet; -import java.util.Objects; -import java.util.RandomAccess; -import java.util.Set; -import java.util.SortedMap; -import java.util.SortedSet; -import org.checkerframework.checker.nullness.compatqual.MonotonicNonNullDecl; -import org.checkerframework.checker.nullness.compatqual.NullableDecl; /* compiled from: AbstractMapBasedMultimap */ -public abstract class d extends f implements Serializable { - private static final long serialVersionUID = 2447537837011683357L; - public transient Map> l; - public transient int m; - - /* compiled from: AbstractMapBasedMultimap */ - public class a extends d.c { - public a(d dVar) { - super(); - } - } - - /* compiled from: AbstractMapBasedMultimap */ - public class b extends j0> { - public final transient Map> k; - - /* compiled from: AbstractMapBasedMultimap */ - public class a extends g0> { - public a() { - } - - @Override // c.i.b.b.g0, java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean contains(Object obj) { - Set>> entrySet = b.this.k.entrySet(); - Objects.requireNonNull(entrySet); - try { - return entrySet.contains(obj); - } catch (ClassCastException | NullPointerException unused) { - return false; - } - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set, java.lang.Iterable - public Iterator>> iterator() { - return new C0127b(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean remove(Object obj) { - Collection collection; - if (!contains(obj)) { - return false; - } - d dVar = d.this; - Object key = ((Map.Entry) obj).getKey(); - Map> map = dVar.l; - Objects.requireNonNull(map); - try { - collection = map.remove(key); - } catch (ClassCastException | NullPointerException unused) { - collection = null; - } - Collection collection2 = collection; - if (collection2 == null) { - return true; - } - int size = collection2.size(); - collection2.clear(); - dVar.m -= size; - return true; - } - } - - /* compiled from: AbstractMapBasedMultimap */ - /* renamed from: c.i.b.b.d$b$b reason: collision with other inner class name */ - public class C0127b implements Iterator>> { - public final Iterator>> i; - @NullableDecl - public Collection j; - - public C0127b() { - this.i = b.this.k.entrySet().iterator(); - } - - @Override // java.util.Iterator - public boolean hasNext() { - return this.i.hasNext(); - } - - @Override // java.util.Iterator - public Object next() { - Map.Entry> next = this.i.next(); - this.j = next.getValue(); - return b.this.a(next); - } - - @Override // java.util.Iterator - public void remove() { - c.i.a.f.e.o.c.q(this.j != null); - this.i.remove(); - d.this.m -= this.j.size(); - this.j.clear(); - this.j = null; - } - } - - public b(Map> map) { - this.k = map; - } - - public Map.Entry> a(Map.Entry> entry) { - K key = entry.getKey(); - c cVar = (c) d.this; - Objects.requireNonNull(cVar); - List list = (List) entry.getValue(); - return new t(key, list instanceof RandomAccess ? new g(cVar, key, list, null) : new k(key, list, null)); - } - - @Override // java.util.AbstractMap, java.util.Map - public void clear() { - Map> map = this.k; - d dVar = d.this; - if (map == dVar.l) { - dVar.clear(); - return; - } - C0127b bVar = new C0127b(); - while (bVar.hasNext()) { - bVar.next(); - bVar.remove(); - } - } - - @Override // java.util.AbstractMap, java.util.Map - public boolean containsKey(Object obj) { - Map> map = this.k; - Objects.requireNonNull(map); - try { - return map.containsKey(obj); - } catch (ClassCastException | NullPointerException unused) { - return false; - } - } - - @Override // java.util.AbstractMap, java.util.Map, java.lang.Object - public boolean equals(@NullableDecl Object obj) { - return this == obj || this.k.equals(obj); - } - - @Override // java.util.AbstractMap, java.util.Map - public Object get(Object obj) { - Collection collection; - Map> map = this.k; - Objects.requireNonNull(map); - try { - collection = map.get(obj); - } catch (ClassCastException | NullPointerException unused) { - collection = null; - } - Collection collection2 = collection; - if (collection2 == null) { - return null; - } - c cVar = (c) d.this; - Objects.requireNonNull(cVar); - List list = (List) collection2; - return list instanceof RandomAccess ? new g(cVar, obj, list, null) : new k(obj, list, null); - } - - @Override // java.util.AbstractMap, java.util.Map, java.lang.Object - public int hashCode() { - return this.k.hashCode(); - } - - @Override // java.util.AbstractMap, java.util.Map - public Set keySet() { - d dVar = d.this; - Set set = dVar.i; - if (set != null) { - return set; - } - Set d = dVar.d(); - dVar.i = d; - return d; - } - - @Override // java.util.AbstractMap, java.util.Map - public Object remove(Object obj) { - Collection remove = this.k.remove(obj); - if (remove == null) { - return null; - } - Collection h = d.this.h(); - h.addAll(remove); - d.this.m -= remove.size(); - remove.clear(); - return h; - } - - @Override // java.util.AbstractMap, java.util.Map - public int size() { - return this.k.size(); - } - - @Override // java.util.AbstractMap, java.lang.Object - public String toString() { - return this.k.toString(); - } - } - - /* compiled from: AbstractMapBasedMultimap */ - public abstract class c implements Iterator { - public final Iterator>> i; - @NullableDecl - public K j = null; - @MonotonicNonNullDecl - public Collection k = null; - public Iterator l = c0.INSTANCE; - - public c() { - this.i = d.this.l.entrySet().iterator(); - } - - @Override // java.util.Iterator - public boolean hasNext() { - return this.i.hasNext() || this.l.hasNext(); - } - - @Override // java.util.Iterator - public T next() { - if (!this.l.hasNext()) { - Map.Entry> next = this.i.next(); - this.j = next.getKey(); - Collection value = next.getValue(); - this.k = value; - this.l = value.iterator(); - } - return this.l.next(); - } - - @Override // java.util.Iterator - public void remove() { - this.l.remove(); - if (this.k.isEmpty()) { - this.i.remove(); - } - d.g(d.this); - } - } - - /* compiled from: AbstractMapBasedMultimap */ - /* renamed from: c.i.b.b.d$d reason: collision with other inner class name */ - public class C0128d extends h0> { - - /* compiled from: AbstractMapBasedMultimap */ - /* renamed from: c.i.b.b.d$d$a */ - public class a implements Iterator { - @NullableDecl - public Map.Entry> i; - public final /* synthetic */ Iterator j; - - public a(Iterator it) { - this.j = it; - } - - @Override // java.util.Iterator - public boolean hasNext() { - return this.j.hasNext(); - } - - @Override // java.util.Iterator - public K next() { - Map.Entry> entry = (Map.Entry) this.j.next(); - this.i = entry; - return entry.getKey(); - } - - @Override // java.util.Iterator - public void remove() { - c.i.a.f.e.o.c.q(this.i != null); - Collection value = this.i.getValue(); - this.j.remove(); - d.this.m -= value.size(); - value.clear(); - this.i = null; - } - } - - public C0128d(Map> map) { - super(map); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public void clear() { - Iterator it = iterator(); - while (true) { - a aVar = (a) it; - if (aVar.hasNext()) { - aVar.next(); - aVar.remove(); - } else { - return; - } - } - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean containsAll(Collection collection) { - return this.i.keySet().containsAll(collection); - } - - @Override // java.util.AbstractSet, java.util.Collection, java.util.Set, java.lang.Object - public boolean equals(@NullableDecl Object obj) { - return this == obj || this.i.keySet().equals(obj); - } - - @Override // java.util.AbstractSet, java.util.Collection, java.util.Set, java.lang.Object - public int hashCode() { - return this.i.keySet().hashCode(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set, java.lang.Iterable - public Iterator iterator() { - return new a(this.i.entrySet().iterator()); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean remove(Object obj) { - int i; - V remove = this.i.remove(obj); - if (remove != null) { - i = remove.size(); - remove.clear(); - d.this.m -= i; - } else { - i = 0; - } - return i > 0; - } - } - - /* compiled from: AbstractMapBasedMultimap */ - public class e extends d.h implements NavigableMap> { - public e(NavigableMap> navigableMap) { - super(navigableMap); - } - - @Override // c.i.b.b.d.h - public SortedSet b() { - return new f(d()); - } - - @Override // java.util.NavigableMap - public Map.Entry> ceilingEntry(K k) { - Map.Entry> ceilingEntry = d().ceilingEntry(k); - if (ceilingEntry == null) { - return null; - } - return a(ceilingEntry); - } - - @Override // java.util.NavigableMap - public K ceilingKey(K k) { - return d().ceilingKey(k); - } - - @Override // java.util.NavigableMap - public NavigableSet descendingKeySet() { - return ((e) descendingMap()).navigableKeySet(); - } - - @Override // java.util.NavigableMap - public NavigableMap> descendingMap() { - return new e(d().descendingMap()); - } - - /* renamed from: e */ - public NavigableSet keySet() { - SortedSet sortedSet = this.m; - if (sortedSet == null) { - sortedSet = b(); - this.m = sortedSet; - } - return (NavigableSet) sortedSet; - } - - public Map.Entry> f(Iterator>> it) { - if (!it.hasNext()) { - return null; - } - Map.Entry> next = it.next(); - Collection h = d.this.h(); - h.addAll(next.getValue()); - it.remove(); - K key = next.getKey(); - Objects.requireNonNull((c) d.this); - return new t(key, Collections.unmodifiableList((List) h)); - } - - @Override // java.util.NavigableMap - public Map.Entry> firstEntry() { - Map.Entry> firstEntry = d().firstEntry(); - if (firstEntry == null) { - return null; - } - return a(firstEntry); - } - - @Override // java.util.NavigableMap - public Map.Entry> floorEntry(K k) { - Map.Entry> floorEntry = d().floorEntry(k); - if (floorEntry == null) { - return null; - } - return a(floorEntry); - } - - @Override // java.util.NavigableMap - public K floorKey(K k) { - return d().floorKey(k); - } - - /* renamed from: g */ - public NavigableMap> d() { - return (NavigableMap) ((SortedMap) this.k); - } - - @Override // java.util.NavigableMap - public NavigableMap> headMap(K k, boolean z2) { - return new e(d().headMap(k, z2)); - } - - @Override // c.i.b.b.d.h, java.util.SortedMap, java.util.NavigableMap - public SortedMap headMap(Object obj) { - return headMap(obj, false); - } - - @Override // java.util.NavigableMap - public Map.Entry> higherEntry(K k) { - Map.Entry> higherEntry = d().higherEntry(k); - if (higherEntry == null) { - return null; - } - return a(higherEntry); - } - - @Override // java.util.NavigableMap - public K higherKey(K k) { - return d().higherKey(k); - } - - @Override // java.util.NavigableMap - public Map.Entry> lastEntry() { - Map.Entry> lastEntry = d().lastEntry(); - if (lastEntry == null) { - return null; - } - return a(lastEntry); - } - - @Override // java.util.NavigableMap - public Map.Entry> lowerEntry(K k) { - Map.Entry> lowerEntry = d().lowerEntry(k); - if (lowerEntry == null) { - return null; - } - return a(lowerEntry); - } - - @Override // java.util.NavigableMap - public K lowerKey(K k) { - return d().lowerKey(k); - } - - @Override // java.util.NavigableMap - public NavigableSet navigableKeySet() { - return keySet(); - } - - @Override // java.util.NavigableMap - public Map.Entry> pollFirstEntry() { - return f(entrySet().iterator()); - } - - @Override // java.util.NavigableMap - public Map.Entry> pollLastEntry() { - return f(((j0) descendingMap()).entrySet().iterator()); - } - - @Override // java.util.NavigableMap - public NavigableMap> subMap(K k, boolean z2, K k2, boolean z3) { - return new e(d().subMap(k, z2, k2, z3)); - } - - @Override // c.i.b.b.d.h, java.util.SortedMap, java.util.NavigableMap - public SortedMap subMap(Object obj, Object obj2) { - return subMap(obj, true, obj2, false); - } - - @Override // java.util.NavigableMap - public NavigableMap> tailMap(K k, boolean z2) { - return new e(d().tailMap(k, z2)); - } - - @Override // c.i.b.b.d.h, java.util.SortedMap, java.util.NavigableMap - public SortedMap tailMap(Object obj) { - return tailMap(obj, true); - } - } - - /* compiled from: AbstractMapBasedMultimap */ - public class f extends d.i implements NavigableSet { - public f(NavigableMap> navigableMap) { - super(navigableMap); - } - - @Override // java.util.NavigableSet - public K ceiling(K k) { - return c().ceilingKey(k); - } - - /* renamed from: d */ - public NavigableMap> c() { - return (NavigableMap) ((SortedMap) this.i); - } - - @Override // java.util.NavigableSet - public Iterator descendingIterator() { - return ((C0128d) descendingSet()).iterator(); - } - - @Override // java.util.NavigableSet - public NavigableSet descendingSet() { - return new f(c().descendingMap()); - } - - @Override // java.util.NavigableSet - public K floor(K k) { - return c().floorKey(k); - } - - @Override // java.util.NavigableSet - public NavigableSet headSet(K k, boolean z2) { - return new f(c().headMap(k, z2)); - } - - @Override // c.i.b.b.d.i, java.util.SortedSet, java.util.NavigableSet - public SortedSet headSet(Object obj) { - return headSet(obj, false); - } - - @Override // java.util.NavigableSet - public K higher(K k) { - return c().higherKey(k); - } - - @Override // java.util.NavigableSet - public K lower(K k) { - return c().lowerKey(k); - } - - @Override // java.util.NavigableSet - public K pollFirst() { - C0128d.a aVar = (C0128d.a) iterator(); - if (!aVar.hasNext()) { - return null; - } - K k = (K) aVar.next(); - aVar.remove(); - return k; - } - - @Override // java.util.NavigableSet - public K pollLast() { - Iterator descendingIterator = descendingIterator(); - if (!descendingIterator.hasNext()) { - return null; - } - K next = descendingIterator.next(); - descendingIterator.remove(); - return next; - } - - @Override // java.util.NavigableSet - public NavigableSet subSet(K k, boolean z2, K k2, boolean z3) { - return new f(c().subMap(k, z2, k2, z3)); - } - - @Override // c.i.b.b.d.i, java.util.SortedSet, java.util.NavigableSet - public SortedSet subSet(Object obj, Object obj2) { - return subSet(obj, true, obj2, false); - } - - @Override // java.util.NavigableSet - public NavigableSet tailSet(K k, boolean z2) { - return new f(c().tailMap(k, z2)); - } - - @Override // c.i.b.b.d.i, java.util.SortedSet, java.util.NavigableSet - public SortedSet tailSet(Object obj) { - return tailSet(obj, true); - } - } - - /* compiled from: AbstractMapBasedMultimap */ - public class g extends d.k implements RandomAccess { - public g(@NullableDecl d dVar, K k, @NullableDecl List list, d.j jVar) { - super(k, list, jVar); - } - } - - /* compiled from: AbstractMapBasedMultimap */ - public class h extends d.b implements SortedMap> { - @MonotonicNonNullDecl - public SortedSet m; - - public h(SortedMap> sortedMap) { - super(sortedMap); - } - - public SortedSet b() { - return new i(d()); - } - - /* renamed from: c */ - public SortedSet keySet() { - SortedSet sortedSet = this.m; - if (sortedSet != null) { - return sortedSet; - } - SortedSet b = b(); - this.m = b; - return b; - } - - @Override // java.util.SortedMap - public Comparator comparator() { - return d().comparator(); - } - - public SortedMap> d() { - return (SortedMap) this.k; - } - - @Override // java.util.SortedMap - public K firstKey() { - return d().firstKey(); - } - - @Override // java.util.SortedMap, java.util.NavigableMap - public SortedMap> headMap(K k) { - return new h(d().headMap(k)); - } - - @Override // java.util.SortedMap - public K lastKey() { - return d().lastKey(); - } - - @Override // java.util.SortedMap, java.util.NavigableMap - public SortedMap> subMap(K k, K k2) { - return new h(d().subMap(k, k2)); - } - - @Override // java.util.SortedMap, java.util.NavigableMap - public SortedMap> tailMap(K k) { - return new h(d().tailMap(k)); - } - } - - /* compiled from: AbstractMapBasedMultimap */ - public class i extends d.C0128d implements SortedSet { - public i(SortedMap> sortedMap) { - super(sortedMap); - } - - public SortedMap> c() { - return (SortedMap) this.i; - } - - @Override // java.util.SortedSet - public Comparator comparator() { - return c().comparator(); - } - - @Override // java.util.SortedSet - public K first() { - return c().firstKey(); - } - - @Override // java.util.SortedSet, java.util.NavigableSet - public SortedSet headSet(K k) { - return new i(c().headMap(k)); - } - - @Override // java.util.SortedSet - public K last() { - return c().lastKey(); - } - - @Override // java.util.SortedSet, java.util.NavigableSet - public SortedSet subSet(K k, K k2) { - return new i(c().subMap(k, k2)); - } - - @Override // java.util.SortedSet, java.util.NavigableSet - public SortedSet tailSet(K k) { - return new i(c().tailMap(k)); - } - } - - /* compiled from: AbstractMapBasedMultimap */ - public class j extends AbstractCollection { - @NullableDecl - public final K i; - public Collection j; - @NullableDecl - public final d.j k; - @NullableDecl - public final Collection l; - - /* compiled from: AbstractMapBasedMultimap */ - public class a implements Iterator { - public final Iterator i; - public final Collection j; - - public a() { - Collection collection = j.this.j; - this.j = collection; - this.i = collection instanceof List ? ((List) collection).listIterator() : collection.iterator(); - } - - public a(Iterator it) { - this.j = j.this.j; - this.i = it; - } - - public void a() { - j.this.d(); - if (j.this.j != this.j) { - throw new ConcurrentModificationException(); - } - } - - @Override // java.util.Iterator - public boolean hasNext() { - a(); - return this.i.hasNext(); - } - - @Override // java.util.Iterator - public V next() { - a(); - return this.i.next(); - } - - @Override // java.util.Iterator - public void remove() { - this.i.remove(); - d.g(d.this); - j.this.e(); - } - } - - public j(@NullableDecl K k, Collection collection, @NullableDecl d.j jVar) { - this.i = k; - this.j = collection; - this.k = jVar; - this.l = jVar == null ? null : jVar.j; - } - - @Override // java.util.AbstractCollection, java.util.Collection - public boolean add(V v) { - d(); - boolean isEmpty = this.j.isEmpty(); - boolean add = this.j.add(v); - if (add) { - d.f(d.this); - if (isEmpty) { - c(); - } - } - return add; - } - - @Override // java.util.AbstractCollection, java.util.Collection - public boolean addAll(Collection collection) { - if (collection.isEmpty()) { - return false; - } - int size = size(); - boolean addAll = this.j.addAll(collection); - if (addAll) { - int size2 = this.j.size(); - d dVar = d.this; - dVar.m = (size2 - size) + dVar.m; - if (size == 0) { - c(); - } - } - return addAll; - } - - public void c() { - d.j jVar = this.k; - if (jVar != null) { - jVar.c(); - } else { - d.this.l.put(this.i, this.j); - } - } - - @Override // java.util.AbstractCollection, java.util.Collection - public void clear() { - int size = size(); - if (size != 0) { - this.j.clear(); - d.this.m -= size; - e(); - } - } - - @Override // java.util.AbstractCollection, java.util.Collection - public boolean contains(Object obj) { - d(); - return this.j.contains(obj); - } - - @Override // java.util.AbstractCollection, java.util.Collection - public boolean containsAll(Collection collection) { - d(); - return this.j.containsAll(collection); - } - - public void d() { - Collection collection; - d.j jVar = this.k; - if (jVar != null) { - jVar.d(); - if (this.k.j != this.l) { - throw new ConcurrentModificationException(); - } - } else if (this.j.isEmpty() && (collection = d.this.l.get(this.i)) != null) { - this.j = collection; - } - } - - public void e() { - d.j jVar = this.k; - if (jVar != null) { - jVar.e(); - } else if (this.j.isEmpty()) { - d.this.l.remove(this.i); - } - } - - @Override // java.util.Collection, java.lang.Object - public boolean equals(@NullableDecl Object obj) { - if (obj == this) { - return true; - } - d(); - return this.j.equals(obj); - } - - @Override // java.util.Collection, java.lang.Object - public int hashCode() { - d(); - return this.j.hashCode(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable - public Iterator iterator() { - d(); - return new a(); - } - - @Override // java.util.AbstractCollection, java.util.Collection - public boolean remove(Object obj) { - d(); - boolean remove = this.j.remove(obj); - if (remove) { - d.g(d.this); - e(); - } - return remove; - } - - @Override // java.util.AbstractCollection, java.util.Collection - public boolean removeAll(Collection collection) { - if (collection.isEmpty()) { - return false; - } - int size = size(); - boolean removeAll = this.j.removeAll(collection); - if (removeAll) { - int size2 = this.j.size(); - d dVar = d.this; - dVar.m = (size2 - size) + dVar.m; - e(); - } - return removeAll; - } - - @Override // java.util.AbstractCollection, java.util.Collection - public boolean retainAll(Collection collection) { - Objects.requireNonNull(collection); - int size = size(); - boolean retainAll = this.j.retainAll(collection); - if (retainAll) { - int size2 = this.j.size(); - d dVar = d.this; - dVar.m = (size2 - size) + dVar.m; - e(); - } - return retainAll; - } - - @Override // java.util.AbstractCollection, java.util.Collection - public int size() { - d(); - return this.j.size(); - } - - @Override // java.util.AbstractCollection, java.lang.Object - public String toString() { - d(); - return this.j.toString(); - } - } - - /* compiled from: AbstractMapBasedMultimap */ - public class k extends d.j implements List { - - /* compiled from: AbstractMapBasedMultimap */ - public class a extends d.j.a implements ListIterator { - public a() { - super(); - } - - public a(int i) { - super(((List) k.this.j).listIterator(i)); - } - - @Override // java.util.ListIterator - public void add(V v) { - boolean isEmpty = k.this.isEmpty(); - b().add(v); - d.f(d.this); - if (isEmpty) { - k.this.c(); - } - } - - public final ListIterator b() { - a(); - return (ListIterator) this.i; - } - - @Override // java.util.ListIterator - public boolean hasPrevious() { - return b().hasPrevious(); - } - - @Override // java.util.ListIterator - public int nextIndex() { - return b().nextIndex(); - } - - @Override // java.util.ListIterator - public V previous() { - return b().previous(); - } - - @Override // java.util.ListIterator - public int previousIndex() { - return b().previousIndex(); - } - - @Override // java.util.ListIterator - public void set(V v) { - b().set(v); - } - } - - public k(@NullableDecl K k, List list, @NullableDecl d.j jVar) { - super(k, list, jVar); - } - - @Override // java.util.List - public void add(int i, V v) { - d(); - boolean isEmpty = this.j.isEmpty(); - ((List) this.j).add(i, v); - d.f(d.this); - if (isEmpty) { - c(); - } - } - - @Override // java.util.List - public boolean addAll(int i, Collection collection) { - if (collection.isEmpty()) { - return false; - } - int size = size(); - boolean addAll = ((List) this.j).addAll(i, collection); - if (addAll) { - int size2 = this.j.size(); - d dVar = d.this; - dVar.m = (size2 - size) + dVar.m; - if (size == 0) { - c(); - } - } - return addAll; - } - - @Override // java.util.List - public V get(int i) { - d(); - return (V) ((List) this.j).get(i); - } - - @Override // java.util.List - public int indexOf(Object obj) { - d(); - return ((List) this.j).indexOf(obj); - } - - @Override // java.util.List - public int lastIndexOf(Object obj) { - d(); - return ((List) this.j).lastIndexOf(obj); - } - - @Override // java.util.List - public ListIterator listIterator() { - d(); - return new a(); - } - - @Override // java.util.List - public ListIterator listIterator(int i) { - d(); - return new a(i); - } - - @Override // java.util.List - public V remove(int i) { - d(); - V v = (V) ((List) this.j).remove(i); - d.g(d.this); - e(); - return v; - } - - @Override // java.util.List - public V set(int i, V v) { - d(); - return (V) ((List) this.j).set(i, v); - } - - @Override // java.util.List - public List subList(int i, int i2) { - d(); - d dVar = d.this; - K k = this.i; - List subList = ((List) this.j).subList(i, i2); - d.j jVar = this.k; - if (jVar == null) { - jVar = this; - } - Objects.requireNonNull(dVar); - return subList instanceof RandomAccess ? new g(dVar, k, subList, jVar) : new k(k, subList, jVar); - } - } - - public d(Map> map) { - c.i.a.f.e.o.c.h(map.isEmpty()); - this.l = map; - } - - public static /* synthetic */ int f(d dVar) { - int i2 = dVar.m; - dVar.m = i2 + 1; - return i2; - } - - public static /* synthetic */ int g(d dVar) { - int i2 = dVar.m; - dVar.m = i2 - 1; - return i2; - } - - @Override // c.i.b.b.k0 - public void clear() { - for (Collection collection : this.l.values()) { - collection.clear(); - } - this.l.clear(); - this.m = 0; - } - - @Override // c.i.b.b.f - public Iterator e() { - return new a(this); - } - - public abstract Collection h(); - - @Override // c.i.b.b.k0 - public int size() { - return this.m; +public class d extends e.b { + public d(e eVar) { + super(); } } diff --git a/app/src/main/java/c/i/b/b/d0.java b/app/src/main/java/c/i/b/b/d0.java index d859af593a..0a9af67970 100644 --- a/app/src/main/java/c/i/b/b/d0.java +++ b/app/src/main/java/c/i/b/b/d0.java @@ -1,111 +1,45 @@ package c.i.b.b; -import c.i.a.f.e.o.c; -import c.i.b.a.d; -import c.i.b.a.g; -import c.i.b.b.e0; +import c.i.a.f.e.o.f; +import c.i.b.a.l; +import java.io.IOException; +import java.io.ObjectInputStream; +import java.io.ObjectOutputStream; +import java.util.Collection; +import java.util.List; +import java.util.Map; import java.util.Objects; -import java.util.concurrent.ConcurrentHashMap; -import java.util.concurrent.ConcurrentMap; -import org.checkerframework.checker.nullness.compatqual.MonotonicNonNullDecl; -/* compiled from: MapMaker */ -public final class d0 { - public boolean a; - public int b = -1; +/* compiled from: Multimaps */ +public class d0 extends c { + private static final long serialVersionUID = 0; + public transient l> n; - /* renamed from: c reason: collision with root package name */ - public int f1354c = -1; - @MonotonicNonNullDecl - public e0.p d; - @MonotonicNonNullDecl - public e0.p e; - @MonotonicNonNullDecl - public d f; - - public e0.p a() { - return (e0.p) c.C(this.d, e0.p.STRONG); + public d0(Map> map, l> lVar) { + super(map); + Objects.requireNonNull(lVar); + this.n = lVar; } - public e0.p b() { - return (e0.p) c.C(this.e, e0.p.STRONG); + private void readObject(ObjectInputStream objectInputStream) throws IOException, ClassNotFoundException { + objectInputStream.defaultReadObject(); + this.n = (l) objectInputStream.readObject(); + Map> map = (Map) objectInputStream.readObject(); + this.l = map; + this.m = 0; + for (Collection collection : map.values()) { + f.q(!collection.isEmpty()); + this.m = collection.size() + this.m; + } } - public ConcurrentMap c() { - if (!this.a) { - int i = this.b; - if (i == -1) { - i = 16; - } - int i2 = this.f1354c; - if (i2 == -1) { - i2 = 4; - } - return new ConcurrentHashMap(i, 0.75f, i2); - } - e0.b0 b0Var = e0.i; - e0.p pVar = e0.p.WEAK; - e0.p a = a(); - e0.p pVar2 = e0.p.STRONG; - if (a == pVar2 && b() == pVar2) { - return new e0(this, e0.q.a.a); - } - if (a() == pVar2 && b() == pVar) { - return new e0(this, e0.s.a.a); - } - if (a() == pVar && b() == pVar2) { - return new e0(this, e0.w.a.a); - } - if (a() == pVar && b() == pVar) { - return new e0(this, e0.y.a.a); - } - throw new AssertionError(); + private void writeObject(ObjectOutputStream objectOutputStream) throws IOException { + objectOutputStream.defaultWriteObject(); + objectOutputStream.writeObject(this.n); + objectOutputStream.writeObject(this.l); } - public d0 d(e0.p pVar) { - e0.p pVar2 = this.d; - c.s(pVar2 == null, "Key strength was already set to %s", pVar2); - Objects.requireNonNull(pVar); - this.d = pVar; - if (pVar != e0.p.STRONG) { - this.a = true; - } - return this; - } - - public String toString() { - g gVar = new g(d0.class.getSimpleName(), null); - int i = this.b; - if (i != -1) { - gVar.a("initialCapacity", i); - } - int i2 = this.f1354c; - if (i2 != -1) { - gVar.a("concurrencyLevel", i2); - } - e0.p pVar = this.d; - if (pVar != null) { - String m0 = c.m0(pVar.toString()); - g.a aVar = new g.a(null); - gVar.f1351c.f1352c = aVar; - gVar.f1351c = aVar; - aVar.b = m0; - aVar.a = "keyStrength"; - } - e0.p pVar2 = this.e; - if (pVar2 != null) { - String m02 = c.m0(pVar2.toString()); - g.a aVar2 = new g.a(null); - gVar.f1351c.f1352c = aVar2; - gVar.f1351c = aVar2; - aVar2.b = m02; - aVar2.a = "valueStrength"; - } - if (this.f != null) { - g.a aVar3 = new g.a(null); - gVar.f1351c.f1352c = aVar3; - gVar.f1351c = aVar3; - aVar3.b = "keyEquivalence"; - } - return gVar.toString(); + @Override // c.i.b.b.e + public Collection e() { + return (List) this.n.get(); } } diff --git a/app/src/main/java/c/i/b/b/d1.java b/app/src/main/java/c/i/b/b/d1.java deleted file mode 100644 index b80ca99da2..0000000000 --- a/app/src/main/java/c/i/b/b/d1.java +++ /dev/null @@ -1,11 +0,0 @@ -package c.i.b.b; - -import java.util.Iterator; -/* compiled from: UnmodifiableIterator */ -public abstract class d1 implements Iterator { - @Override // java.util.Iterator - @Deprecated - public final void remove() { - throw new UnsupportedOperationException(); - } -} diff --git a/app/src/main/java/c/i/b/b/e.java b/app/src/main/java/c/i/b/b/e.java index 010387523c..e7bdb69467 100644 --- a/app/src/main/java/c/i/b/b/e.java +++ b/app/src/main/java/c/i/b/b/e.java @@ -1,39 +1,1110 @@ package c.i.b.b; -import c.i.a.f.e.o.c; +import java.io.Serializable; +import java.util.AbstractCollection; +import java.util.Collection; +import java.util.Collections; +import java.util.Comparator; +import java.util.ConcurrentModificationException; +import java.util.Iterator; +import java.util.List; +import java.util.ListIterator; import java.util.Map; +import java.util.NavigableMap; +import java.util.NavigableSet; +import java.util.Objects; +import java.util.RandomAccess; +import java.util.Set; +import java.util.SortedMap; +import java.util.SortedSet; +import org.checkerframework.checker.nullness.compatqual.MonotonicNonNullDecl; import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: AbstractMapEntry */ -public abstract class e implements Map.Entry { - @Override // java.util.Map.Entry, java.lang.Object - public boolean equals(@NullableDecl Object obj) { - if (!(obj instanceof Map.Entry)) { - return false; +/* compiled from: AbstractMapBasedMultimap */ +public abstract class e extends g implements Serializable { + private static final long serialVersionUID = 2447537837011683357L; + public transient Map> l; + public transient int m; + + /* compiled from: AbstractMapBasedMultimap */ + public class a extends a0> { + public final transient Map> k; + + /* compiled from: AbstractMapBasedMultimap */ + /* renamed from: c.i.b.b.e$a$a reason: collision with other inner class name */ + public class C0125a extends x> { + public C0125a() { + } + + @Override // c.i.b.b.x, java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean contains(Object obj) { + Set>> entrySet = a.this.k.entrySet(); + Objects.requireNonNull(entrySet); + try { + return entrySet.contains(obj); + } catch (ClassCastException | NullPointerException unused) { + return false; + } + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set, java.lang.Iterable + public Iterator>> iterator() { + return new b(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean remove(Object obj) { + Collection collection; + if (!contains(obj)) { + return false; + } + e eVar = e.this; + Object key = ((Map.Entry) obj).getKey(); + Map> map = eVar.l; + Objects.requireNonNull(map); + try { + collection = map.remove(key); + } catch (ClassCastException | NullPointerException unused) { + collection = null; + } + Collection collection2 = collection; + if (collection2 == null) { + return true; + } + int size = collection2.size(); + collection2.clear(); + eVar.m -= size; + return true; + } } - Map.Entry entry = (Map.Entry) obj; - return c.B(getKey(), entry.getKey()) && c.B(getValue(), entry.getValue()); - } - @Override // java.util.Map.Entry - public abstract K getKey(); + /* compiled from: AbstractMapBasedMultimap */ + public class b implements Iterator>> { + public final Iterator>> i; + @NullableDecl + public Collection j; - @Override // java.util.Map.Entry - public abstract V getValue(); + public b() { + this.i = a.this.k.entrySet().iterator(); + } - @Override // java.util.Map.Entry, java.lang.Object - public int hashCode() { - K key = getKey(); - V value = getValue(); - int i = 0; - int hashCode = key == null ? 0 : key.hashCode(); - if (value != null) { - i = value.hashCode(); + @Override // java.util.Iterator + public boolean hasNext() { + return this.i.hasNext(); + } + + @Override // java.util.Iterator + public Object next() { + Map.Entry> next = this.i.next(); + this.j = next.getValue(); + return a.this.a(next); + } + + @Override // java.util.Iterator + public void remove() { + c.i.a.f.e.o.f.z(this.j != null); + this.i.remove(); + e.this.m -= this.j.size(); + this.j.clear(); + this.j = null; + } + } + + public a(Map> map) { + this.k = map; + } + + public Map.Entry> a(Map.Entry> entry) { + K key = entry.getKey(); + c cVar = (c) e.this; + Objects.requireNonNull(cVar); + List list = (List) entry.getValue(); + return new o(key, list instanceof RandomAccess ? new f(cVar, key, list, null) : new j(key, list, null)); + } + + @Override // java.util.AbstractMap, java.util.Map + public void clear() { + Map> map = this.k; + e eVar = e.this; + if (map == eVar.l) { + eVar.d(); + return; + } + b bVar = new b(); + while (bVar.hasNext()) { + bVar.next(); + bVar.remove(); + } + } + + @Override // java.util.AbstractMap, java.util.Map + public boolean containsKey(Object obj) { + Map> map = this.k; + Objects.requireNonNull(map); + try { + return map.containsKey(obj); + } catch (ClassCastException | NullPointerException unused) { + return false; + } + } + + @Override // java.util.AbstractMap, java.util.Map, java.lang.Object + public boolean equals(@NullableDecl Object obj) { + return this == obj || this.k.equals(obj); + } + + @Override // java.util.AbstractMap, java.util.Map + public Object get(Object obj) { + Collection collection; + Map> map = this.k; + Objects.requireNonNull(map); + try { + collection = map.get(obj); + } catch (ClassCastException | NullPointerException unused) { + collection = null; + } + Collection collection2 = collection; + if (collection2 == null) { + return null; + } + c cVar = (c) e.this; + Objects.requireNonNull(cVar); + List list = (List) collection2; + return list instanceof RandomAccess ? new f(cVar, obj, list, null) : new j(obj, list, null); + } + + @Override // java.util.AbstractMap, java.util.Map, java.lang.Object + public int hashCode() { + return this.k.hashCode(); + } + + @Override // java.util.AbstractMap, java.util.Map + public Set keySet() { + e eVar = e.this; + Set set = eVar.i; + if (set == null) { + d0 d0Var = (d0) eVar; + Map> map = d0Var.l; + set = map instanceof NavigableMap ? new C0126e((NavigableMap) d0Var.l) : map instanceof SortedMap ? new h((SortedMap) d0Var.l) : new c(d0Var.l); + eVar.i = set; + } + return set; + } + + @Override // java.util.AbstractMap, java.util.Map + public Object remove(Object obj) { + Collection remove = this.k.remove(obj); + if (remove == null) { + return null; + } + Collection e = e.this.e(); + e.addAll(remove); + e.this.m -= remove.size(); + remove.clear(); + return e; + } + + @Override // java.util.AbstractMap, java.util.Map + public int size() { + return this.k.size(); + } + + @Override // java.util.AbstractMap, java.lang.Object + public String toString() { + return this.k.toString(); } - return hashCode ^ i; } - @Override // java.lang.Object - public String toString() { - return ((Object) getKey()) + "=" + ((Object) getValue()); + /* compiled from: AbstractMapBasedMultimap */ + public abstract class b implements Iterator { + public final Iterator>> i; + @NullableDecl + public K j = null; + @MonotonicNonNullDecl + public Collection k = null; + public Iterator l = t.INSTANCE; + + public b() { + this.i = e.this.l.entrySet().iterator(); + } + + @Override // java.util.Iterator + public boolean hasNext() { + return this.i.hasNext() || this.l.hasNext(); + } + + @Override // java.util.Iterator + public T next() { + if (!this.l.hasNext()) { + Map.Entry> next = this.i.next(); + this.j = next.getKey(); + Collection value = next.getValue(); + this.k = value; + this.l = value.iterator(); + } + return this.l.next(); + } + + @Override // java.util.Iterator + public void remove() { + this.l.remove(); + if (this.k.isEmpty()) { + this.i.remove(); + } + e.c(e.this); + } } + + /* compiled from: AbstractMapBasedMultimap */ + public class c extends y> { + + /* compiled from: AbstractMapBasedMultimap */ + public class a implements Iterator { + @NullableDecl + public Map.Entry> i; + public final /* synthetic */ Iterator j; + + public a(Iterator it) { + this.j = it; + } + + @Override // java.util.Iterator + public boolean hasNext() { + return this.j.hasNext(); + } + + @Override // java.util.Iterator + public K next() { + Map.Entry> entry = (Map.Entry) this.j.next(); + this.i = entry; + return entry.getKey(); + } + + @Override // java.util.Iterator + public void remove() { + c.i.a.f.e.o.f.z(this.i != null); + Collection value = this.i.getValue(); + this.j.remove(); + e.this.m -= value.size(); + value.clear(); + this.i = null; + } + } + + public c(Map> map) { + super(map); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public void clear() { + Iterator it = iterator(); + while (true) { + a aVar = (a) it; + if (aVar.hasNext()) { + aVar.next(); + aVar.remove(); + } else { + return; + } + } + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean containsAll(Collection collection) { + return this.i.keySet().containsAll(collection); + } + + @Override // java.util.AbstractSet, java.util.Collection, java.util.Set, java.lang.Object + public boolean equals(@NullableDecl Object obj) { + return this == obj || this.i.keySet().equals(obj); + } + + @Override // java.util.AbstractSet, java.util.Collection, java.util.Set, java.lang.Object + public int hashCode() { + return this.i.keySet().hashCode(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set, java.lang.Iterable + public Iterator iterator() { + return new a(this.i.entrySet().iterator()); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean remove(Object obj) { + int i; + V remove = this.i.remove(obj); + if (remove != null) { + i = remove.size(); + remove.clear(); + e.this.m -= i; + } else { + i = 0; + } + return i > 0; + } + } + + /* compiled from: AbstractMapBasedMultimap */ + public class d extends e.g implements NavigableMap> { + public d(NavigableMap> navigableMap) { + super(navigableMap); + } + + @Override // c.i.b.b.e.g + public SortedSet b() { + return new C0126e(d()); + } + + @Override // java.util.NavigableMap + public Map.Entry> ceilingEntry(K k) { + Map.Entry> ceilingEntry = d().ceilingEntry(k); + if (ceilingEntry == null) { + return null; + } + return a(ceilingEntry); + } + + @Override // java.util.NavigableMap + public K ceilingKey(K k) { + return d().ceilingKey(k); + } + + @Override // java.util.NavigableMap + public NavigableSet descendingKeySet() { + return ((d) descendingMap()).navigableKeySet(); + } + + @Override // java.util.NavigableMap + public NavigableMap> descendingMap() { + return new d(d().descendingMap()); + } + + /* renamed from: e */ + public NavigableSet keySet() { + SortedSet sortedSet = this.m; + if (sortedSet == null) { + sortedSet = b(); + this.m = sortedSet; + } + return (NavigableSet) sortedSet; + } + + public Map.Entry> f(Iterator>> it) { + if (!it.hasNext()) { + return null; + } + Map.Entry> next = it.next(); + Collection e = e.this.e(); + e.addAll(next.getValue()); + it.remove(); + K key = next.getKey(); + Objects.requireNonNull((c) e.this); + return new o(key, Collections.unmodifiableList((List) e)); + } + + @Override // java.util.NavigableMap + public Map.Entry> firstEntry() { + Map.Entry> firstEntry = d().firstEntry(); + if (firstEntry == null) { + return null; + } + return a(firstEntry); + } + + @Override // java.util.NavigableMap + public Map.Entry> floorEntry(K k) { + Map.Entry> floorEntry = d().floorEntry(k); + if (floorEntry == null) { + return null; + } + return a(floorEntry); + } + + @Override // java.util.NavigableMap + public K floorKey(K k) { + return d().floorKey(k); + } + + /* renamed from: g */ + public NavigableMap> d() { + return (NavigableMap) ((SortedMap) this.k); + } + + @Override // java.util.NavigableMap + public NavigableMap> headMap(K k, boolean z2) { + return new d(d().headMap(k, z2)); + } + + @Override // c.i.b.b.e.g, java.util.SortedMap, java.util.NavigableMap + public SortedMap headMap(Object obj) { + return headMap(obj, false); + } + + @Override // java.util.NavigableMap + public Map.Entry> higherEntry(K k) { + Map.Entry> higherEntry = d().higherEntry(k); + if (higherEntry == null) { + return null; + } + return a(higherEntry); + } + + @Override // java.util.NavigableMap + public K higherKey(K k) { + return d().higherKey(k); + } + + @Override // java.util.NavigableMap + public Map.Entry> lastEntry() { + Map.Entry> lastEntry = d().lastEntry(); + if (lastEntry == null) { + return null; + } + return a(lastEntry); + } + + @Override // java.util.NavigableMap + public Map.Entry> lowerEntry(K k) { + Map.Entry> lowerEntry = d().lowerEntry(k); + if (lowerEntry == null) { + return null; + } + return a(lowerEntry); + } + + @Override // java.util.NavigableMap + public K lowerKey(K k) { + return d().lowerKey(k); + } + + @Override // java.util.NavigableMap + public NavigableSet navigableKeySet() { + return keySet(); + } + + @Override // java.util.NavigableMap + public Map.Entry> pollFirstEntry() { + return f(entrySet().iterator()); + } + + @Override // java.util.NavigableMap + public Map.Entry> pollLastEntry() { + return f(((a0) descendingMap()).entrySet().iterator()); + } + + @Override // java.util.NavigableMap + public NavigableMap> subMap(K k, boolean z2, K k2, boolean z3) { + return new d(d().subMap(k, z2, k2, z3)); + } + + @Override // c.i.b.b.e.g, java.util.SortedMap, java.util.NavigableMap + public SortedMap subMap(Object obj, Object obj2) { + return subMap(obj, true, obj2, false); + } + + @Override // java.util.NavigableMap + public NavigableMap> tailMap(K k, boolean z2) { + return new d(d().tailMap(k, z2)); + } + + @Override // c.i.b.b.e.g, java.util.SortedMap, java.util.NavigableMap + public SortedMap tailMap(Object obj) { + return tailMap(obj, true); + } + } + + /* compiled from: AbstractMapBasedMultimap */ + /* renamed from: c.i.b.b.e$e reason: collision with other inner class name */ + public class C0126e extends e.h implements NavigableSet { + public C0126e(NavigableMap> navigableMap) { + super(navigableMap); + } + + @Override // java.util.NavigableSet + public K ceiling(K k) { + return c().ceilingKey(k); + } + + /* renamed from: d */ + public NavigableMap> c() { + return (NavigableMap) ((SortedMap) this.i); + } + + @Override // java.util.NavigableSet + public Iterator descendingIterator() { + return ((c) descendingSet()).iterator(); + } + + @Override // java.util.NavigableSet + public NavigableSet descendingSet() { + return new C0126e(c().descendingMap()); + } + + @Override // java.util.NavigableSet + public K floor(K k) { + return c().floorKey(k); + } + + @Override // java.util.NavigableSet + public NavigableSet headSet(K k, boolean z2) { + return new C0126e(c().headMap(k, z2)); + } + + @Override // c.i.b.b.e.h, java.util.SortedSet, java.util.NavigableSet + public SortedSet headSet(Object obj) { + return headSet(obj, false); + } + + @Override // java.util.NavigableSet + public K higher(K k) { + return c().higherKey(k); + } + + @Override // java.util.NavigableSet + public K lower(K k) { + return c().lowerKey(k); + } + + @Override // java.util.NavigableSet + public K pollFirst() { + c.a aVar = (c.a) iterator(); + if (!aVar.hasNext()) { + return null; + } + K k = (K) aVar.next(); + aVar.remove(); + return k; + } + + @Override // java.util.NavigableSet + public K pollLast() { + Iterator descendingIterator = descendingIterator(); + if (!descendingIterator.hasNext()) { + return null; + } + K next = descendingIterator.next(); + descendingIterator.remove(); + return next; + } + + @Override // java.util.NavigableSet + public NavigableSet subSet(K k, boolean z2, K k2, boolean z3) { + return new C0126e(c().subMap(k, z2, k2, z3)); + } + + @Override // c.i.b.b.e.h, java.util.SortedSet, java.util.NavigableSet + public SortedSet subSet(Object obj, Object obj2) { + return subSet(obj, true, obj2, false); + } + + @Override // java.util.NavigableSet + public NavigableSet tailSet(K k, boolean z2) { + return new C0126e(c().tailMap(k, z2)); + } + + @Override // c.i.b.b.e.h, java.util.SortedSet, java.util.NavigableSet + public SortedSet tailSet(Object obj) { + return tailSet(obj, true); + } + } + + /* compiled from: AbstractMapBasedMultimap */ + public class f extends e.j implements RandomAccess { + public f(@NullableDecl e eVar, K k, @NullableDecl List list, e.i iVar) { + super(k, list, iVar); + } + } + + /* compiled from: AbstractMapBasedMultimap */ + public class g extends e.a implements SortedMap> { + @MonotonicNonNullDecl + public SortedSet m; + + public g(SortedMap> sortedMap) { + super(sortedMap); + } + + public SortedSet b() { + return new h(d()); + } + + /* renamed from: c */ + public SortedSet keySet() { + SortedSet sortedSet = this.m; + if (sortedSet != null) { + return sortedSet; + } + SortedSet b = b(); + this.m = b; + return b; + } + + @Override // java.util.SortedMap + public Comparator comparator() { + return d().comparator(); + } + + public SortedMap> d() { + return (SortedMap) this.k; + } + + @Override // java.util.SortedMap + public K firstKey() { + return d().firstKey(); + } + + @Override // java.util.SortedMap, java.util.NavigableMap + public SortedMap> headMap(K k) { + return new g(d().headMap(k)); + } + + @Override // java.util.SortedMap + public K lastKey() { + return d().lastKey(); + } + + @Override // java.util.SortedMap, java.util.NavigableMap + public SortedMap> subMap(K k, K k2) { + return new g(d().subMap(k, k2)); + } + + @Override // java.util.SortedMap, java.util.NavigableMap + public SortedMap> tailMap(K k) { + return new g(d().tailMap(k)); + } + } + + /* compiled from: AbstractMapBasedMultimap */ + public class h extends e.c implements SortedSet { + public h(SortedMap> sortedMap) { + super(sortedMap); + } + + public SortedMap> c() { + return (SortedMap) this.i; + } + + @Override // java.util.SortedSet + public Comparator comparator() { + return c().comparator(); + } + + @Override // java.util.SortedSet + public K first() { + return c().firstKey(); + } + + @Override // java.util.SortedSet, java.util.NavigableSet + public SortedSet headSet(K k) { + return new h(c().headMap(k)); + } + + @Override // java.util.SortedSet + public K last() { + return c().lastKey(); + } + + @Override // java.util.SortedSet, java.util.NavigableSet + public SortedSet subSet(K k, K k2) { + return new h(c().subMap(k, k2)); + } + + @Override // java.util.SortedSet, java.util.NavigableSet + public SortedSet tailSet(K k) { + return new h(c().tailMap(k)); + } + } + + /* compiled from: AbstractMapBasedMultimap */ + public class i extends AbstractCollection { + @NullableDecl + public final K i; + public Collection j; + @NullableDecl + public final e.i k; + @NullableDecl + public final Collection l; + + /* compiled from: AbstractMapBasedMultimap */ + public class a implements Iterator { + public final Iterator i; + public final Collection j; + + public a() { + Collection collection = i.this.j; + this.j = collection; + this.i = collection instanceof List ? ((List) collection).listIterator() : collection.iterator(); + } + + public a(Iterator it) { + this.j = i.this.j; + this.i = it; + } + + public void a() { + i.this.d(); + if (i.this.j != this.j) { + throw new ConcurrentModificationException(); + } + } + + @Override // java.util.Iterator + public boolean hasNext() { + a(); + return this.i.hasNext(); + } + + @Override // java.util.Iterator + public V next() { + a(); + return this.i.next(); + } + + @Override // java.util.Iterator + public void remove() { + this.i.remove(); + e.c(e.this); + i.this.e(); + } + } + + public i(@NullableDecl K k, Collection collection, @NullableDecl e.i iVar) { + this.i = k; + this.j = collection; + this.k = iVar; + this.l = iVar == null ? null : iVar.j; + } + + @Override // java.util.AbstractCollection, java.util.Collection + public boolean add(V v) { + d(); + boolean isEmpty = this.j.isEmpty(); + boolean add = this.j.add(v); + if (add) { + e.b(e.this); + if (isEmpty) { + c(); + } + } + return add; + } + + @Override // java.util.AbstractCollection, java.util.Collection + public boolean addAll(Collection collection) { + if (collection.isEmpty()) { + return false; + } + int size = size(); + boolean addAll = this.j.addAll(collection); + if (addAll) { + int size2 = this.j.size(); + e eVar = e.this; + eVar.m = (size2 - size) + eVar.m; + if (size == 0) { + c(); + } + } + return addAll; + } + + public void c() { + e.i iVar = this.k; + if (iVar != null) { + iVar.c(); + } else { + e.this.l.put(this.i, this.j); + } + } + + @Override // java.util.AbstractCollection, java.util.Collection + public void clear() { + int size = size(); + if (size != 0) { + this.j.clear(); + e.this.m -= size; + e(); + } + } + + @Override // java.util.AbstractCollection, java.util.Collection + public boolean contains(Object obj) { + d(); + return this.j.contains(obj); + } + + @Override // java.util.AbstractCollection, java.util.Collection + public boolean containsAll(Collection collection) { + d(); + return this.j.containsAll(collection); + } + + public void d() { + Collection collection; + e.i iVar = this.k; + if (iVar != null) { + iVar.d(); + if (this.k.j != this.l) { + throw new ConcurrentModificationException(); + } + } else if (this.j.isEmpty() && (collection = e.this.l.get(this.i)) != null) { + this.j = collection; + } + } + + public void e() { + e.i iVar = this.k; + if (iVar != null) { + iVar.e(); + } else if (this.j.isEmpty()) { + e.this.l.remove(this.i); + } + } + + @Override // java.util.Collection, java.lang.Object + public boolean equals(@NullableDecl Object obj) { + if (obj == this) { + return true; + } + d(); + return this.j.equals(obj); + } + + @Override // java.util.Collection, java.lang.Object + public int hashCode() { + d(); + return this.j.hashCode(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable + public Iterator iterator() { + d(); + return new a(); + } + + @Override // java.util.AbstractCollection, java.util.Collection + public boolean remove(Object obj) { + d(); + boolean remove = this.j.remove(obj); + if (remove) { + e.c(e.this); + e(); + } + return remove; + } + + @Override // java.util.AbstractCollection, java.util.Collection + public boolean removeAll(Collection collection) { + if (collection.isEmpty()) { + return false; + } + int size = size(); + boolean removeAll = this.j.removeAll(collection); + if (removeAll) { + int size2 = this.j.size(); + e eVar = e.this; + eVar.m = (size2 - size) + eVar.m; + e(); + } + return removeAll; + } + + @Override // java.util.AbstractCollection, java.util.Collection + public boolean retainAll(Collection collection) { + Objects.requireNonNull(collection); + int size = size(); + boolean retainAll = this.j.retainAll(collection); + if (retainAll) { + int size2 = this.j.size(); + e eVar = e.this; + eVar.m = (size2 - size) + eVar.m; + e(); + } + return retainAll; + } + + @Override // java.util.AbstractCollection, java.util.Collection + public int size() { + d(); + return this.j.size(); + } + + @Override // java.util.AbstractCollection, java.lang.Object + public String toString() { + d(); + return this.j.toString(); + } + } + + /* compiled from: AbstractMapBasedMultimap */ + public class j extends e.i implements List { + + /* compiled from: AbstractMapBasedMultimap */ + public class a extends e.i.a implements ListIterator { + public a() { + super(); + } + + public a(int i) { + super(((List) j.this.j).listIterator(i)); + } + + @Override // java.util.ListIterator + public void add(V v) { + boolean isEmpty = j.this.isEmpty(); + b().add(v); + e.b(e.this); + if (isEmpty) { + j.this.c(); + } + } + + public final ListIterator b() { + a(); + return (ListIterator) this.i; + } + + @Override // java.util.ListIterator + public boolean hasPrevious() { + return b().hasPrevious(); + } + + @Override // java.util.ListIterator + public int nextIndex() { + return b().nextIndex(); + } + + @Override // java.util.ListIterator + public V previous() { + return b().previous(); + } + + @Override // java.util.ListIterator + public int previousIndex() { + return b().previousIndex(); + } + + @Override // java.util.ListIterator + public void set(V v) { + b().set(v); + } + } + + public j(@NullableDecl K k, List list, @NullableDecl e.i iVar) { + super(k, list, iVar); + } + + @Override // java.util.List + public void add(int i, V v) { + d(); + boolean isEmpty = this.j.isEmpty(); + ((List) this.j).add(i, v); + e.b(e.this); + if (isEmpty) { + c(); + } + } + + @Override // java.util.List + public boolean addAll(int i, Collection collection) { + if (collection.isEmpty()) { + return false; + } + int size = size(); + boolean addAll = ((List) this.j).addAll(i, collection); + if (addAll) { + int size2 = this.j.size(); + e eVar = e.this; + eVar.m = (size2 - size) + eVar.m; + if (size == 0) { + c(); + } + } + return addAll; + } + + @Override // java.util.List + public V get(int i) { + d(); + return (V) ((List) this.j).get(i); + } + + @Override // java.util.List + public int indexOf(Object obj) { + d(); + return ((List) this.j).indexOf(obj); + } + + @Override // java.util.List + public int lastIndexOf(Object obj) { + d(); + return ((List) this.j).lastIndexOf(obj); + } + + @Override // java.util.List + public ListIterator listIterator() { + d(); + return new a(); + } + + @Override // java.util.List + public ListIterator listIterator(int i) { + d(); + return new a(i); + } + + @Override // java.util.List + public V remove(int i) { + d(); + V v = (V) ((List) this.j).remove(i); + e.c(e.this); + e(); + return v; + } + + @Override // java.util.List + public V set(int i, V v) { + d(); + return (V) ((List) this.j).set(i, v); + } + + @Override // java.util.List + public List subList(int i, int i2) { + d(); + e eVar = e.this; + K k = this.i; + List subList = ((List) this.j).subList(i, i2); + e.i iVar = this.k; + if (iVar == null) { + iVar = this; + } + Objects.requireNonNull(eVar); + return subList instanceof RandomAccess ? new f(eVar, k, subList, iVar) : new j(k, subList, iVar); + } + } + + public e(Map> map) { + c.i.a.f.e.o.f.q(map.isEmpty()); + this.l = map; + } + + public static /* synthetic */ int b(e eVar) { + int i2 = eVar.m; + eVar.m = i2 + 1; + return i2; + } + + public static /* synthetic */ int c(e eVar) { + int i2 = eVar.m; + eVar.m = i2 - 1; + return i2; + } + + public void d() { + for (Collection collection : this.l.values()) { + collection.clear(); + } + this.l.clear(); + this.m = 0; + } + + public abstract Collection e(); } diff --git a/app/src/main/java/c/i/b/b/e0.java b/app/src/main/java/c/i/b/b/e0.java index 5f47b773dd..f56c0dd528 100644 --- a/app/src/main/java/c/i/b/b/e0.java +++ b/app/src/main/java/c/i/b/b/e0.java @@ -1,1776 +1,8 @@ package c.i.b.b; -import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; -import c.i.b.a.d; -import c.i.b.b.e0.i; -import c.i.b.b.e0.n; -import com.google.errorprone.annotations.CanIgnoreReturnValue; -import com.google.errorprone.annotations.concurrent.GuardedBy; -import com.google.j2objc.annotations.Weak; -import java.io.IOException; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; -import java.io.Serializable; -import java.lang.ref.Reference; -import java.lang.ref.ReferenceQueue; -import java.lang.ref.WeakReference; -import java.util.AbstractCollection; -import java.util.AbstractMap; -import java.util.AbstractSet; -import java.util.ArrayList; import java.util.Collection; -import java.util.Iterator; -import java.util.Map; -import java.util.NoSuchElementException; -import java.util.Objects; import java.util.Set; -import java.util.concurrent.ConcurrentMap; -import java.util.concurrent.atomic.AtomicInteger; -import java.util.concurrent.atomic.AtomicReferenceArray; -import java.util.concurrent.locks.ReentrantLock; -import org.checkerframework.checker.nullness.compatqual.MonotonicNonNullDecl; -import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: MapMakerInternalMap */ -public class e0, S extends n> extends AbstractMap implements ConcurrentMap, Serializable { - public static final b0 i = new a(); - private static final long serialVersionUID = 5; - public final int concurrencyLevel; - public final transient int j; - public final transient int k; - public final c.i.b.a.d keyEquivalence; - public final transient n[] l; - public final transient j m; - @MonotonicNonNullDecl - public transient Set n; - @MonotonicNonNullDecl - public transient Collection o; - @MonotonicNonNullDecl - public transient Set> p; - - /* compiled from: MapMakerInternalMap */ - public static class a implements b0 { - /* Return type fixed from 'c.i.b.b.e0$i' to match base method */ - @Override // c.i.b.b.e0.b0 - public /* bridge */ /* synthetic */ e a() { - return null; - } - - /* Return type fixed from 'c.i.b.b.e0$b0' to match base method */ - /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.ref.ReferenceQueue, c.i.b.b.e0$i] */ - @Override // c.i.b.b.e0.b0 - public b0 b(ReferenceQueue referenceQueue, e eVar) { - return this; - } - - @Override // c.i.b.b.e0.b0 - public void clear() { - } - - @Override // c.i.b.b.e0.b0 - public Object get() { - return null; - } - } - - /* compiled from: MapMakerInternalMap */ - public interface a0> extends i { - b0 b(); - } - - /* compiled from: MapMakerInternalMap */ - public static abstract class b extends p implements Serializable { - private static final long serialVersionUID = 3; - public final int concurrencyLevel; - public transient ConcurrentMap i; - public final c.i.b.a.d keyEquivalence; - public final p keyStrength; - public final c.i.b.a.d valueEquivalence; - public final p valueStrength; - - public b(p pVar, p pVar2, c.i.b.a.d dVar, c.i.b.a.d dVar2, int i, ConcurrentMap concurrentMap) { - this.keyStrength = pVar; - this.valueStrength = pVar2; - this.keyEquivalence = dVar; - this.valueEquivalence = dVar2; - this.concurrencyLevel = i; - this.i = concurrentMap; - } - } - - /* compiled from: MapMakerInternalMap */ - public interface b0> { - E a(); - - b0 b(ReferenceQueue referenceQueue, E e); - - void clear(); - - @NullableDecl - V get(); - } - - /* compiled from: MapMakerInternalMap */ - public static abstract class c> implements i { - public final K a; - public final int b; - @NullableDecl - - /* renamed from: c reason: collision with root package name */ - public final E f1355c; - - public c(K k, int i, @NullableDecl E e) { - this.a = k; - this.b = i; - this.f1355c = e; - } - - @Override // c.i.b.b.e0.i - public E a() { - return this.f1355c; - } - - @Override // c.i.b.b.e0.i - public int c() { - return this.b; - } - - @Override // c.i.b.b.e0.i - public K getKey() { - return this.a; - } - } - - /* compiled from: MapMakerInternalMap */ - public static final class c0> extends WeakReference implements b0 { - @Weak - public final E a; - - public c0(ReferenceQueue referenceQueue, V v, E e) { - super(v, referenceQueue); - this.a = e; - } - - @Override // c.i.b.b.e0.b0 - public E a() { - return this.a; - } - - @Override // c.i.b.b.e0.b0 - public b0 b(ReferenceQueue referenceQueue, E e) { - return new c0(referenceQueue, get(), e); - } - } - - /* compiled from: MapMakerInternalMap */ - public static abstract class d> extends WeakReference implements i { - public final int a; - @NullableDecl - public final E b; - - public d(ReferenceQueue referenceQueue, K k, int i, @NullableDecl E e) { - super(k, referenceQueue); - this.a = i; - this.b = e; - } - - @Override // c.i.b.b.e0.i - public E a() { - return this.b; - } - - @Override // c.i.b.b.e0.i - public int c() { - return this.a; - } - - @Override // c.i.b.b.e0.i - public K getKey() { - return get(); - } - } - - /* compiled from: MapMakerInternalMap */ - public final class d0 extends e { - public final K i; - public V j; - - public d0(K k, V v) { - this.i = k; - this.j = v; - } - - @Override // c.i.b.b.e, java.util.Map.Entry, java.lang.Object - public boolean equals(@NullableDecl Object obj) { - if (!(obj instanceof Map.Entry)) { - return false; - } - Map.Entry entry = (Map.Entry) obj; - return this.i.equals(entry.getKey()) && this.j.equals(entry.getValue()); - } - - @Override // c.i.b.b.e, java.util.Map.Entry - public K getKey() { - return this.i; - } - - @Override // c.i.b.b.e, java.util.Map.Entry - public V getValue() { - return this.j; - } - - @Override // c.i.b.b.e, java.util.Map.Entry, java.lang.Object - public int hashCode() { - return this.i.hashCode() ^ this.j.hashCode(); - } - - @Override // java.util.Map.Entry - public V setValue(V v) { - V v2 = (V) e0.this.put(this.i, v); - this.j = v; - return v2; - } - } - - /* compiled from: MapMakerInternalMap */ - public static final class e implements i { - public e() { - throw new AssertionError(); - } - - /* Return type fixed from 'c.i.b.b.e0$i' to match base method */ - @Override // c.i.b.b.e0.i - public e a() { - throw new AssertionError(); - } - - @Override // c.i.b.b.e0.i - public int c() { - throw new AssertionError(); - } - - @Override // c.i.b.b.e0.i - public Object getKey() { - throw new AssertionError(); - } - - @Override // c.i.b.b.e0.i - public Object getValue() { - throw new AssertionError(); - } - } - - /* compiled from: MapMakerInternalMap */ - public final class f extends e0.h { - public f(e0 e0Var) { - super(); - } - - @Override // java.util.Iterator - public Object next() { - return c(); - } - } - - /* compiled from: MapMakerInternalMap */ - public final class g extends m> { - public g() { - super(null); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public void clear() { - e0.this.clear(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean contains(Object obj) { - Map.Entry entry; - Object key; - Object obj2; - return (obj instanceof Map.Entry) && (key = (entry = (Map.Entry) obj).getKey()) != null && (obj2 = e0.this.get(key)) != null && e0.this.d().c(entry.getValue(), obj2); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean isEmpty() { - return e0.this.isEmpty(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set, java.lang.Iterable - public Iterator> iterator() { - return new f(e0.this); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean remove(Object obj) { - Map.Entry entry; - Object key; - return (obj instanceof Map.Entry) && (key = (entry = (Map.Entry) obj).getKey()) != null && e0.this.remove(key, entry.getValue()); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public int size() { - return e0.this.size(); - } - } - - /* compiled from: MapMakerInternalMap */ - public abstract class h implements Iterator { - public int i; - public int j = -1; - @MonotonicNonNullDecl - public n k; - @MonotonicNonNullDecl - public AtomicReferenceArray l; - @NullableDecl - public E m; - @NullableDecl - public e0.d0 n; - @NullableDecl - public e0.d0 o; - - public h() { - this.i = e0.this.l.length - 1; - a(); - } - - public final void a() { - this.n = null; - if (!d() && !e()) { - while (true) { - int i = this.i; - if (i >= 0) { - n[] nVarArr = e0.this.l; - this.i = i - 1; - n nVar = nVarArr[i]; - this.k = nVar; - if (nVar.count != 0) { - AtomicReferenceArray atomicReferenceArray = this.k.table; - this.l = atomicReferenceArray; - this.j = atomicReferenceArray.length() - 1; - if (e()) { - return; - } - } - } else { - return; - } - } - } - } - - public boolean b(E e) { - boolean z2; - try { - Object key = e.getKey(); - Objects.requireNonNull(e0.this); - Object obj = null; - if (e.getKey() != null) { - Object value = e.getValue(); - if (value != null) { - obj = value; - } - } - if (obj != null) { - this.n = new d0(key, obj); - z2 = true; - } else { - z2 = false; - } - return z2; - } finally { - this.k.h(); - } - } - - public e0.d0 c() { - e0.d0 d0Var = this.n; - if (d0Var != null) { - this.o = d0Var; - a(); - return this.o; - } - throw new NoSuchElementException(); - } - - /* JADX WARNING: Unknown variable types count: 1 */ - public boolean d() { - i iVar = this.m; - if (iVar == null) { - return false; - } - while (true) { - this.m = iVar.a(); - E e = this.m; - if (e == 0) { - return false; - } - if (b(e)) { - return true; - } - iVar = this.m; - } - } - - /* JADX WARNING: Unknown variable types count: 1 */ - public boolean e() { - while (true) { - int i = this.j; - if (i < 0) { - return false; - } - AtomicReferenceArray atomicReferenceArray = this.l; - this.j = i - 1; - ?? r0 = (i) atomicReferenceArray.get(i); - this.m = r0; - if (r0 != 0 && (b(r0) || d())) { - return true; - } - } - } - - @Override // java.util.Iterator - public boolean hasNext() { - return this.n != null; - } - - @Override // java.util.Iterator - public void remove() { - c.i.a.f.e.o.c.q(this.o != null); - e0.this.remove(this.o.i); - this.o = null; - } - } - - /* compiled from: MapMakerInternalMap */ - public interface i> { - E a(); - - int c(); - - K getKey(); - - V getValue(); - } - - /* compiled from: MapMakerInternalMap */ - public interface j, S extends n> { - E a(S s, E e, @NullableDecl E e2); - - p b(); - - p c(); - - void d(S s, E e, V v); - - S e(e0 e0Var, int i, int i2); - - E f(S s, K k, int i, @NullableDecl E e); - } - - /* compiled from: MapMakerInternalMap */ - public final class k extends e0.h { - public k(e0 e0Var) { - super(); - } - - @Override // java.util.Iterator - public K next() { - return c().i; - } - } - - /* compiled from: MapMakerInternalMap */ - public final class l extends m { - public l() { - super(null); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public void clear() { - e0.this.clear(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean contains(Object obj) { - return e0.this.containsKey(obj); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean isEmpty() { - return e0.this.isEmpty(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set, java.lang.Iterable - public Iterator iterator() { - return new k(e0.this); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean remove(Object obj) { - return e0.this.remove(obj) != null; - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public int size() { - return e0.this.size(); - } - } - - /* compiled from: MapMakerInternalMap */ - public static abstract class m extends AbstractSet { - public m(a aVar) { - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public Object[] toArray() { - return e0.a(this).toArray(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public T[] toArray(T[] tArr) { - return (T[]) e0.a(this).toArray(tArr); - } - } - - /* compiled from: MapMakerInternalMap */ - public static abstract class n, S extends n> extends ReentrantLock { - public static final /* synthetic */ int i = 0; - public volatile int count; - @Weak - public final e0 map; - public final int maxSegmentSize; - public int modCount; - public final AtomicInteger readCount = new AtomicInteger(); - @MonotonicNonNullDecl - public volatile AtomicReferenceArray table; - public int threshold; - - public n(e0 e0Var, int i2, int i3) { - this.map = e0Var; - this.maxSegmentSize = i3; - AtomicReferenceArray atomicReferenceArray = new AtomicReferenceArray<>(i2); - int length = (atomicReferenceArray.length() * 3) / 4; - this.threshold = length; - if (length == i3) { - this.threshold = length + 1; - } - this.table = atomicReferenceArray; - } - - public void a(ReferenceQueue referenceQueue) { - do { - } while (referenceQueue.poll() != null); - } - - /* JADX INFO: finally extract failed */ - @GuardedBy("this") - public void b(ReferenceQueue referenceQueue) { - int i2 = 0; - do { - Reference poll = referenceQueue.poll(); - if (poll != null) { - i iVar = (i) poll; - e0 e0Var = this.map; - Objects.requireNonNull(e0Var); - int c2 = iVar.c(); - n c3 = e0Var.c(c2); - c3.lock(); - try { - AtomicReferenceArray atomicReferenceArray = c3.table; - int length = c2 & (atomicReferenceArray.length() - 1); - E e = atomicReferenceArray.get(length); - i iVar2 = e; - while (true) { - if (iVar2 == null) { - break; - } else if (iVar2 == iVar) { - c3.modCount++; - atomicReferenceArray.set(length, c3.j(e, iVar2)); - c3.count--; - break; - } else { - iVar2 = iVar2.a(); - } - } - c3.unlock(); - i2++; - } catch (Throwable th) { - c3.unlock(); - throw th; - } - } else { - return; - } - } while (i2 != 16); - } - - /* JADX INFO: finally extract failed */ - @GuardedBy("this") - public void c(ReferenceQueue referenceQueue) { - int i2 = 0; - do { - Reference poll = referenceQueue.poll(); - if (poll != null) { - b0 b0Var = (b0) poll; - e0 e0Var = this.map; - Objects.requireNonNull(e0Var); - E a = b0Var.a(); - int c2 = a.c(); - n c3 = e0Var.c(c2); - Object key = a.getKey(); - c3.lock(); - try { - AtomicReferenceArray atomicReferenceArray = c3.table; - int length = (atomicReferenceArray.length() - 1) & c2; - E e = atomicReferenceArray.get(length); - E e2 = e; - while (true) { - if (e2 == null) { - break; - } - Object key2 = e2.getKey(); - if (e2.c() != c2 || key2 == null || !c3.map.keyEquivalence.c(key, key2)) { - e2 = (E) e2.a(); - } else if (((a0) e2).b() == b0Var) { - c3.modCount++; - atomicReferenceArray.set(length, c3.j(e, e2)); - c3.count--; - } - } - c3.unlock(); - i2++; - } catch (Throwable th) { - c3.unlock(); - throw th; - } - } else { - return; - } - } while (i2 != 16); - } - - /* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: java.util.concurrent.atomic.AtomicReferenceArray> */ - /* JADX DEBUG: Multi-variable search result rejected for r10v1, resolved type: c.i.b.b.e0$j, S extends c.i.b.b.e0$n> */ - /* JADX WARN: Multi-variable type inference failed */ - @GuardedBy("this") - public void d() { - AtomicReferenceArray atomicReferenceArray = this.table; - int length = atomicReferenceArray.length(); - if (length < 1073741824) { - int i2 = this.count; - AtomicReferenceArray atomicReferenceArray2 = (AtomicReferenceArray) new AtomicReferenceArray(length << 1); - this.threshold = (atomicReferenceArray2.length() * 3) / 4; - int length2 = atomicReferenceArray2.length() - 1; - for (int i3 = 0; i3 < length; i3++) { - E e = atomicReferenceArray.get(i3); - if (e != null) { - i a = e.a(); - int c2 = e.c() & length2; - if (a == null) { - atomicReferenceArray2.set(c2, e); - } else { - i iVar = e; - while (a != null) { - int c3 = a.c() & length2; - if (c3 != c2) { - iVar = a; - c2 = c3; - } - a = a.a(); - } - atomicReferenceArray2.set(c2, iVar); - while (e != iVar) { - int c4 = e.c() & length2; - i a2 = this.map.m.a(l(), e, (i) atomicReferenceArray2.get(c4)); - if (a2 != null) { - atomicReferenceArray2.set(c4, a2); - } else { - i2--; - } - e = e.a(); - } - } - } - } - this.table = atomicReferenceArray2; - this.count = i2; - } - } - - public E e(Object obj, int i2) { - if (this.count != 0) { - AtomicReferenceArray atomicReferenceArray = this.table; - for (E e = atomicReferenceArray.get((atomicReferenceArray.length() - 1) & i2); e != null; e = (E) e.a()) { - if (e.c() == i2) { - Object key = e.getKey(); - if (key == null) { - n(); - } else if (this.map.keyEquivalence.c(obj, key)) { - return e; - } - } - } - } - return null; - } - - public void f() { - } - - @GuardedBy("this") - public void g() { - } - - public void h() { - if ((this.readCount.incrementAndGet() & 63) == 0) { - k(); - } - } - - /* JADX DEBUG: Multi-variable search result rejected for r10v4, resolved type: c.i.b.b.e0$j, S extends c.i.b.b.e0$n> */ - /* JADX DEBUG: Multi-variable search result rejected for r9v7, resolved type: c.i.b.b.e0$j, S extends c.i.b.b.e0$n> */ - /* JADX WARN: Multi-variable type inference failed */ - public V i(K k, int i2, V v, boolean z2) { - lock(); - try { - k(); - int i3 = this.count + 1; - if (i3 > this.threshold) { - d(); - i3 = this.count + 1; - } - AtomicReferenceArray atomicReferenceArray = this.table; - int length = (atomicReferenceArray.length() - 1) & i2; - E e = atomicReferenceArray.get(length); - for (i iVar = e; iVar != null; iVar = iVar.a()) { - Object key = iVar.getKey(); - if (iVar.c() == i2 && key != null && this.map.keyEquivalence.c(k, key)) { - V v2 = (V) iVar.getValue(); - if (v2 == null) { - this.modCount++; - this.map.m.d(l(), iVar, v); - this.count = this.count; - return null; - } else if (z2) { - unlock(); - return v2; - } else { - this.modCount++; - this.map.m.d(l(), iVar, v); - unlock(); - return v2; - } - } - } - this.modCount++; - E f = this.map.m.f(l(), k, i2, e); - m(f, v); - atomicReferenceArray.set(length, f); - this.count = i3; - unlock(); - return null; - } finally { - unlock(); - } - } - - @GuardedBy("this") - public E j(E e, E e2) { - int i2 = this.count; - E e3 = (E) e2.a(); - while (e != e2) { - E a = this.map.m.a(l(), e, e3); - if (a != null) { - e3 = a; - } else { - i2--; - } - e = (E) e.a(); - } - this.count = i2; - return e3; - } - - public void k() { - if (tryLock()) { - try { - g(); - this.readCount.set(0); - } finally { - unlock(); - } - } - } - - public abstract S l(); - - public void m(E e, V v) { - this.map.m.d(l(), e, v); - } - - public void n() { - if (tryLock()) { - try { - g(); - } finally { - unlock(); - } - } - } - } - - /* compiled from: MapMakerInternalMap */ - public static final class o extends b { - private static final long serialVersionUID = 3; - - public o(p pVar, p pVar2, c.i.b.a.d dVar, c.i.b.a.d dVar2, int i, ConcurrentMap concurrentMap) { - super(pVar, pVar2, dVar, dVar2, i, concurrentMap); - } - - /* JADX DEBUG: Multi-variable search result rejected for r2v6, resolved type: java.util.concurrent.ConcurrentMap */ - /* JADX WARN: Multi-variable type inference failed */ - private void readObject(ObjectInputStream objectInputStream) throws IOException, ClassNotFoundException { - objectInputStream.defaultReadObject(); - int readInt = objectInputStream.readInt(); - d0 d0Var = new d0(); - int i = d0Var.b; - boolean z2 = false; - c.i.a.f.e.o.c.r(i == -1, "initial capacity was already set to %s", i); - c.i.a.f.e.o.c.h(readInt >= 0); - d0Var.b = readInt; - d0Var.d(this.keyStrength); - p pVar = this.valueStrength; - p pVar2 = d0Var.e; - c.i.a.f.e.o.c.s(pVar2 == null, "Value strength was already set to %s", pVar2); - Objects.requireNonNull(pVar); - d0Var.e = pVar; - if (pVar != p.STRONG) { - d0Var.a = true; - } - c.i.b.a.d dVar = this.keyEquivalence; - c.i.b.a.d dVar2 = d0Var.f; - c.i.a.f.e.o.c.s(dVar2 == null, "key equivalence was already set to %s", dVar2); - Objects.requireNonNull(dVar); - d0Var.f = dVar; - d0Var.a = true; - int i2 = this.concurrencyLevel; - int i3 = d0Var.f1354c; - c.i.a.f.e.o.c.r(i3 == -1, "concurrency level was already set to %s", i3); - if (i2 > 0) { - z2 = true; - } - c.i.a.f.e.o.c.h(z2); - d0Var.f1354c = i2; - this.i = d0Var.c(); - while (true) { - Object readObject = objectInputStream.readObject(); - if (readObject != null) { - this.i.put(readObject, objectInputStream.readObject()); - } else { - return; - } - } - } - - private Object readResolve() { - return this.i; - } - - private void writeObject(ObjectOutputStream objectOutputStream) throws IOException { - objectOutputStream.defaultWriteObject(); - objectOutputStream.writeInt(this.i.size()); - for (Map.Entry entry : this.i.entrySet()) { - objectOutputStream.writeObject(entry.getKey()); - objectOutputStream.writeObject(entry.getValue()); - } - objectOutputStream.writeObject(null); - } - } - - /* compiled from: MapMakerInternalMap */ - public enum p { - STRONG { - @Override // c.i.b.b.e0.p - public c.i.b.a.d f() { - return d.a.i; - } - }, - WEAK { - @Override // c.i.b.b.e0.p - public c.i.b.a.d f() { - return d.b.i; - } - }; - - public p(a aVar) { - } - - public abstract c.i.b.a.d f(); - } - - /* compiled from: MapMakerInternalMap */ - public static final class q extends c> implements i { - @NullableDecl - public volatile V d = null; - - /* compiled from: MapMakerInternalMap */ - public static final class a implements j, r> { - public static final a a = new a<>(); - - @Override // c.i.b.b.e0.j - public i a(n nVar, i iVar, @NullableDecl i iVar2) { - r rVar = (r) nVar; - q qVar = (q) iVar; - q qVar2 = new q(qVar.a, qVar.b, (q) iVar2); - qVar2.d = qVar.d; - return qVar2; - } - - @Override // c.i.b.b.e0.j - public p b() { - return p.STRONG; - } - - @Override // c.i.b.b.e0.j - public p c() { - return p.STRONG; - } - - /* JADX DEBUG: Multi-variable search result rejected for r3v0, resolved type: java.lang.Object */ - /* JADX WARN: Multi-variable type inference failed */ - @Override // c.i.b.b.e0.j - public void d(n nVar, i iVar, Object obj) { - r rVar = (r) nVar; - ((q) iVar).d = obj; - } - - @Override // c.i.b.b.e0.j - public n e(e0 e0Var, int i, int i2) { - return new r(e0Var, i, i2); - } - - @Override // c.i.b.b.e0.j - public i f(n nVar, Object obj, int i, @NullableDecl i iVar) { - r rVar = (r) nVar; - return new q(obj, i, (q) iVar); - } - } - - public q(K k, int i, @NullableDecl q qVar) { - super(k, i, qVar); - } - - @Override // c.i.b.b.e0.i - @NullableDecl - public V getValue() { - return this.d; - } - } - - /* compiled from: MapMakerInternalMap */ - public static final class r extends n, r> { - public r(e0, r> e0Var, int i, int i2) { - super(e0Var, i, i2); - } - - @Override // c.i.b.b.e0.n - public n l() { - return this; - } - } - - /* compiled from: MapMakerInternalMap */ - public static final class s extends c> implements a0> { - public volatile b0> d = ((b0>) e0.i); - - /* compiled from: MapMakerInternalMap */ - public static final class a implements j, t> { - public static final a a = new a<>(); - - @Override // c.i.b.b.e0.j - public i a(n nVar, i iVar, @NullableDecl i iVar2) { - t tVar = (t) nVar; - s sVar = (s) iVar; - s sVar2 = (s) iVar2; - int i = n.i; - if (sVar.getValue() == null) { - return null; - } - ReferenceQueue o = t.o(tVar); - s sVar3 = new s<>(sVar.a, sVar.b, sVar2); - sVar3.d = sVar.d.b(o, sVar3); - return sVar3; - } - - @Override // c.i.b.b.e0.j - public p b() { - return p.STRONG; - } - - @Override // c.i.b.b.e0.j - public p c() { - return p.WEAK; - } - - @Override // c.i.b.b.e0.j - public void d(n nVar, i iVar, Object obj) { - s sVar = (s) iVar; - ReferenceQueue o = t.o((t) nVar); - b0> b0Var = sVar.d; - sVar.d = new c0(o, obj, sVar); - b0Var.clear(); - } - - @Override // c.i.b.b.e0.j - public n e(e0 e0Var, int i, int i2) { - return new t(e0Var, i, i2); - } - - @Override // c.i.b.b.e0.j - public i f(n nVar, Object obj, int i, @NullableDecl i iVar) { - t tVar = (t) nVar; - return new s(obj, i, (s) iVar); - } - } - - public s(K k, int i, @NullableDecl s sVar) { - super(k, i, sVar); - b0 b0Var = e0.i; - } - - @Override // c.i.b.b.e0.a0 - public b0> b() { - return this.d; - } - - @Override // c.i.b.b.e0.i - public V getValue() { - return this.d.get(); - } - } - - /* compiled from: MapMakerInternalMap */ - public static final class t extends n, t> { - private final ReferenceQueue queueForValues = new ReferenceQueue<>(); - - public t(e0, t> e0Var, int i, int i2) { - super(e0Var, i, i2); - } - - public static /* synthetic */ ReferenceQueue o(t tVar) { - return tVar.queueForValues; - } - - /* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: java.lang.ref.ReferenceQueue, java.lang.ref.ReferenceQueue */ - @Override // c.i.b.b.e0.n - public void f() { - a((ReferenceQueue) this.queueForValues); - } - - @Override // c.i.b.b.e0.n - public void g() { - c(this.queueForValues); - } - - @Override // c.i.b.b.e0.n - public n l() { - return this; - } - } - - /* compiled from: MapMakerInternalMap */ - public final class u extends e0.h { - public u(e0 e0Var) { - super(); - } - - @Override // java.util.Iterator - public V next() { - return c().j; - } - } - - /* compiled from: MapMakerInternalMap */ - public final class v extends AbstractCollection { - public v() { - } - - @Override // java.util.AbstractCollection, java.util.Collection - public void clear() { - e0.this.clear(); - } - - @Override // java.util.AbstractCollection, java.util.Collection - public boolean contains(Object obj) { - return e0.this.containsValue(obj); - } - - @Override // java.util.AbstractCollection, java.util.Collection - public boolean isEmpty() { - return e0.this.isEmpty(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable - public Iterator iterator() { - return new u(e0.this); - } - - @Override // java.util.AbstractCollection, java.util.Collection - public int size() { - return e0.this.size(); - } - - @Override // java.util.AbstractCollection, java.util.Collection - public Object[] toArray() { - return e0.a(this).toArray(); - } - - @Override // java.util.AbstractCollection, java.util.Collection - public T[] toArray(T[] tArr) { - return (T[]) e0.a(this).toArray(tArr); - } - } - - /* compiled from: MapMakerInternalMap */ - public static final class w extends d> implements i { - @NullableDecl - - /* renamed from: c reason: collision with root package name */ - public volatile V f1356c = null; - - /* compiled from: MapMakerInternalMap */ - public static final class a implements j, x> { - public static final a a = new a<>(); - - @Override // c.i.b.b.e0.j - public i a(n nVar, i iVar, @NullableDecl i iVar2) { - x xVar = (x) nVar; - w wVar = (w) iVar; - w wVar2 = (w) iVar2; - if (wVar.get() == null) { - return null; - } - w wVar3 = new w(x.o(xVar), wVar.get(), wVar.a, wVar2); - wVar3.f1356c = wVar.f1356c; - return wVar3; - } - - @Override // c.i.b.b.e0.j - public p b() { - return p.WEAK; - } - - @Override // c.i.b.b.e0.j - public p c() { - return p.STRONG; - } - - /* JADX DEBUG: Multi-variable search result rejected for r3v0, resolved type: java.lang.Object */ - /* JADX WARN: Multi-variable type inference failed */ - @Override // c.i.b.b.e0.j - public void d(n nVar, i iVar, Object obj) { - x xVar = (x) nVar; - ((w) iVar).f1356c = obj; - } - - @Override // c.i.b.b.e0.j - public n e(e0 e0Var, int i, int i2) { - return new x(e0Var, i, i2); - } - - @Override // c.i.b.b.e0.j - public i f(n nVar, Object obj, int i, @NullableDecl i iVar) { - return new w(x.o((x) nVar), obj, i, (w) iVar); - } - } - - public w(ReferenceQueue referenceQueue, K k, int i, @NullableDecl w wVar) { - super(referenceQueue, k, i, wVar); - } - - @Override // c.i.b.b.e0.i - @NullableDecl - public V getValue() { - return this.f1356c; - } - } - - /* compiled from: MapMakerInternalMap */ - public static final class x extends n, x> { - private final ReferenceQueue queueForKeys = new ReferenceQueue<>(); - - public x(e0, x> e0Var, int i, int i2) { - super(e0Var, i, i2); - } - - public static /* synthetic */ ReferenceQueue o(x xVar) { - return xVar.queueForKeys; - } - - /* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: java.lang.ref.ReferenceQueue, java.lang.ref.ReferenceQueue */ - @Override // c.i.b.b.e0.n - public void f() { - a((ReferenceQueue) this.queueForKeys); - } - - @Override // c.i.b.b.e0.n - public void g() { - b(this.queueForKeys); - } - - @Override // c.i.b.b.e0.n - public n l() { - return this; - } - } - - /* compiled from: MapMakerInternalMap */ - public static final class y extends d> implements a0> { - - /* renamed from: c reason: collision with root package name */ - public volatile b0> f1357c = ((b0>) e0.i); - - /* compiled from: MapMakerInternalMap */ - public static final class a implements j, z> { - public static final a a = new a<>(); - - @Override // c.i.b.b.e0.j - public i a(n nVar, i iVar, @NullableDecl i iVar2) { - z zVar = (z) nVar; - y yVar = (y) iVar; - y yVar2 = (y) iVar2; - if (yVar.get() == null) { - return null; - } - int i = n.i; - if (yVar.getValue() == null) { - return null; - } - ReferenceQueue o = z.o(zVar); - ReferenceQueue p = z.p(zVar); - y yVar3 = new y<>(o, yVar.get(), yVar.a, yVar2); - yVar3.f1357c = yVar.f1357c.b(p, yVar3); - return yVar3; - } - - @Override // c.i.b.b.e0.j - public p b() { - return p.WEAK; - } - - @Override // c.i.b.b.e0.j - public p c() { - return p.WEAK; - } - - @Override // c.i.b.b.e0.j - public void d(n nVar, i iVar, Object obj) { - y yVar = (y) iVar; - ReferenceQueue p = z.p((z) nVar); - b0> b0Var = yVar.f1357c; - yVar.f1357c = new c0(p, obj, yVar); - b0Var.clear(); - } - - @Override // c.i.b.b.e0.j - public n e(e0 e0Var, int i, int i2) { - return new z(e0Var, i, i2); - } - - @Override // c.i.b.b.e0.j - public i f(n nVar, Object obj, int i, @NullableDecl i iVar) { - return new y(z.o((z) nVar), obj, i, (y) iVar); - } - } - - public y(ReferenceQueue referenceQueue, K k, int i, @NullableDecl y yVar) { - super(referenceQueue, k, i, yVar); - b0 b0Var = e0.i; - } - - @Override // c.i.b.b.e0.a0 - public b0> b() { - return this.f1357c; - } - - @Override // c.i.b.b.e0.i - public V getValue() { - return this.f1357c.get(); - } - } - - /* compiled from: MapMakerInternalMap */ - public static final class z extends n, z> { - private final ReferenceQueue queueForKeys = new ReferenceQueue<>(); - private final ReferenceQueue queueForValues = new ReferenceQueue<>(); - - public z(e0, z> e0Var, int i, int i2) { - super(e0Var, i, i2); - } - - public static /* synthetic */ ReferenceQueue o(z zVar) { - return zVar.queueForKeys; - } - - public static /* synthetic */ ReferenceQueue p(z zVar) { - return zVar.queueForValues; - } - - /* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: java.lang.ref.ReferenceQueue, java.lang.ref.ReferenceQueue */ - @Override // c.i.b.b.e0.n - public void f() { - a((ReferenceQueue) this.queueForKeys); - } - - @Override // c.i.b.b.e0.n - public void g() { - b(this.queueForKeys); - c(this.queueForValues); - } - - @Override // c.i.b.b.e0.n - public n l() { - return this; - } - } - - public e0(d0 d0Var, j jVar) { - int i2 = d0Var.f1354c; - this.concurrencyLevel = Math.min(i2 == -1 ? 4 : i2, 65536); - this.keyEquivalence = (c.i.b.a.d) c.i.a.f.e.o.c.C(d0Var.f, d0Var.a().f()); - this.m = jVar; - int i3 = d0Var.b; - int min = Math.min(i3 == -1 ? 16 : i3, (int) BasicMeasure.EXACTLY); - int i4 = 0; - int i5 = 1; - int i6 = 1; - int i7 = 0; - while (i6 < this.concurrencyLevel) { - i7++; - i6 <<= 1; - } - this.k = 32 - i7; - this.j = i6 - 1; - this.l = new n[i6]; - int i8 = min / i6; - while (i5 < (i6 * i8 < min ? i8 + 1 : i8)) { - i5 <<= 1; - } - while (true) { - n[] nVarArr = this.l; - if (i4 < nVarArr.length) { - nVarArr[i4] = this.m.e(this, i5, -1); - i4++; - } else { - return; - } - } - } - - public static ArrayList a(Collection collection) { - ArrayList arrayList = new ArrayList(collection.size()); - c.i.a.f.e.o.c.a(arrayList, collection.iterator()); - return arrayList; - } - - public int b(Object obj) { - c.i.b.a.d dVar = this.keyEquivalence; - Objects.requireNonNull(dVar); - int b2 = dVar.b(obj); - int i2 = b2 + ((b2 << 15) ^ -12931); - int i3 = i2 ^ (i2 >>> 10); - int i4 = i3 + (i3 << 3); - int i5 = i4 ^ (i4 >>> 6); - int i6 = (i5 << 2) + (i5 << 14) + i5; - return (i6 >>> 16) ^ i6; - } - - public n c(int i2) { - return this.l[(i2 >>> this.k) & this.j]; - } - - @Override // java.util.AbstractMap, java.util.Map - public void clear() { - n[] nVarArr = this.l; - int length = nVarArr.length; - for (int i2 = 0; i2 < length; i2++) { - n nVar = nVarArr[i2]; - if (nVar.count != 0) { - nVar.lock(); - try { - AtomicReferenceArray atomicReferenceArray = nVar.table; - for (int i3 = 0; i3 < atomicReferenceArray.length(); i3++) { - atomicReferenceArray.set(i3, null); - } - nVar.f(); - nVar.readCount.set(0); - nVar.modCount++; - nVar.count = 0; - } finally { - nVar.unlock(); - } - } - } - } - - @Override // java.util.AbstractMap, java.util.Map - public boolean containsKey(@NullableDecl Object obj) { - E e2; - boolean z2 = false; - if (obj == null) { - return false; - } - int b2 = b(obj); - n c2 = c(b2); - Objects.requireNonNull(c2); - try { - if (!(c2.count == 0 || (e2 = c2.e(obj, b2)) == null || e2.getValue() == null)) { - z2 = true; - } - return z2; - } finally { - c2.h(); - } - } - - @Override // java.util.AbstractMap, java.util.Map - public boolean containsValue(@NullableDecl Object obj) { - Object obj2; - if (obj == null) { - return false; - } - n[] nVarArr = this.l; - long j2 = -1; - int i2 = 0; - while (i2 < 3) { - long j3 = 0; - for (n nVar : nVarArr) { - int i3 = nVar.count; - AtomicReferenceArray atomicReferenceArray = nVar.table; - for (int i4 = 0; i4 < atomicReferenceArray.length(); i4++) { - for (E e2 = atomicReferenceArray.get(i4); e2 != null; e2 = e2.a()) { - if (e2.getKey() == null) { - nVar.n(); - } else { - obj2 = e2.getValue(); - if (obj2 == null) { - nVar.n(); - } - if (obj2 == null && d().c(obj, obj2)) { - return true; - } - } - obj2 = null; - if (obj2 == null) { - } - } - } - j3 += (long) nVar.modCount; - } - if (j3 == j2) { - return false; - } - i2++; - j2 = j3; - } - return false; - } - - public c.i.b.a.d d() { - return this.m.c().f(); - } - - @Override // java.util.AbstractMap, java.util.Map - public Set> entrySet() { - Set> set = this.p; - if (set != null) { - return set; - } - g gVar = new g(); - this.p = gVar; - return gVar; - } - - @Override // java.util.AbstractMap, java.util.Map - public V get(@NullableDecl Object obj) { - V v2 = null; - if (obj == null) { - return null; - } - int b2 = b(obj); - n c2 = c(b2); - Objects.requireNonNull(c2); - try { - E e2 = c2.e(obj, b2); - if (e2 != null && (v2 = (V) e2.getValue()) == null) { - c2.n(); - } - return v2; - } finally { - c2.h(); - } - } - - @Override // java.util.AbstractMap, java.util.Map - public boolean isEmpty() { - n[] nVarArr = this.l; - long j2 = 0; - for (int i2 = 0; i2 < nVarArr.length; i2++) { - if (nVarArr[i2].count != 0) { - return false; - } - j2 += (long) nVarArr[i2].modCount; - } - if (j2 == 0) { - return true; - } - for (int i3 = 0; i3 < nVarArr.length; i3++) { - if (nVarArr[i3].count != 0) { - return false; - } - j2 -= (long) nVarArr[i3].modCount; - } - return j2 == 0; - } - - @Override // java.util.AbstractMap, java.util.Map - public Set keySet() { - Set set = this.n; - if (set != null) { - return set; - } - l lVar = new l(); - this.n = lVar; - return lVar; - } - - @Override // java.util.AbstractMap, java.util.Map - @CanIgnoreReturnValue - public V put(K k2, V v2) { - Objects.requireNonNull(k2); - Objects.requireNonNull(v2); - int b2 = b(k2); - return c(b2).i(k2, b2, v2, false); - } - - /* JADX DEBUG: Multi-variable search result rejected for r2v0, resolved type: c.i.b.b.e0, S extends c.i.b.b.e0$n> */ - /* JADX WARN: Multi-variable type inference failed */ - @Override // java.util.AbstractMap, java.util.Map - public void putAll(Map map) { - for (Map.Entry entry : map.entrySet()) { - put(entry.getKey(), entry.getValue()); - } - } - - @Override // java.util.Map, java.util.concurrent.ConcurrentMap - @CanIgnoreReturnValue - public V putIfAbsent(K k2, V v2) { - Objects.requireNonNull(k2); - Objects.requireNonNull(v2); - int b2 = b(k2); - return c(b2).i(k2, b2, v2, true); - } - - /* JADX WARNING: Code restructure failed: missing block: B:19:0x004a, code lost: - if ((r7.getValue() == null) != false) goto L_0x004c; - */ - @Override // java.util.AbstractMap, java.util.Map - @CanIgnoreReturnValue - public V remove(@NullableDecl Object obj) { - if (obj == null) { - return null; - } - int b2 = b(obj); - n c2 = c(b2); - c2.lock(); - try { - c2.k(); - AtomicReferenceArray atomicReferenceArray = c2.table; - int length = (atomicReferenceArray.length() - 1) & b2; - E e2 = atomicReferenceArray.get(length); - E e3 = e2; - while (true) { - if (e3 == null) { - break; - } - Object key = e3.getKey(); - if (e3.c() != b2 || key == null || !c2.map.keyEquivalence.c(obj, key)) { - e3 = (E) e3.a(); - } else { - V v2 = (V) e3.getValue(); - if (v2 != null) { - } - c2.modCount++; - atomicReferenceArray.set(length, c2.j(e2, e3)); - c2.count--; - return v2; - } - } - c2.unlock(); - return null; - } finally { - c2.unlock(); - } - } - - /* JADX WARNING: Code restructure failed: missing block: B:19:0x0058, code lost: - if ((r7.getValue() == null) != false) goto L_0x005a; - */ - @Override // java.util.Map, java.util.concurrent.ConcurrentMap - @CanIgnoreReturnValue - public boolean remove(@NullableDecl Object obj, @NullableDecl Object obj2) { - boolean z2 = false; - if (obj == null || obj2 == null) { - return false; - } - int b2 = b(obj); - n c2 = c(b2); - c2.lock(); - try { - c2.k(); - AtomicReferenceArray atomicReferenceArray = c2.table; - int length = (atomicReferenceArray.length() - 1) & b2; - E e2 = atomicReferenceArray.get(length); - E e3 = e2; - while (true) { - if (e3 == null) { - break; - } - Object key = e3.getKey(); - if (e3.c() != b2 || key == null || !c2.map.keyEquivalence.c(obj, key)) { - e3 = (E) e3.a(); - } else { - if (c2.map.d().c(obj2, e3.getValue())) { - z2 = true; - } - c2.modCount++; - atomicReferenceArray.set(length, c2.j(e2, e3)); - c2.count--; - } - } - return z2; - } finally { - c2.unlock(); - } - } - - @Override // java.util.Map, java.util.concurrent.ConcurrentMap - @CanIgnoreReturnValue - public V replace(K k2, V v2) { - Objects.requireNonNull(k2); - Objects.requireNonNull(v2); - int b2 = b(k2); - n c2 = c(b2); - c2.lock(); - try { - c2.k(); - AtomicReferenceArray atomicReferenceArray = c2.table; - int length = (atomicReferenceArray.length() - 1) & b2; - E e2 = atomicReferenceArray.get(length); - E e3 = e2; - while (true) { - if (e3 == null) { - break; - } - Object key = e3.getKey(); - if (e3.c() != b2 || key == null || !c2.map.keyEquivalence.c(k2, key)) { - e3 = (E) e3.a(); - } else { - V v3 = (V) e3.getValue(); - if (v3 == null) { - if (e3.getValue() == null) { - c2.modCount++; - atomicReferenceArray.set(length, c2.j(e2, e3)); - c2.count--; - } - } else { - c2.modCount++; - c2.map.m.d(c2.l(), e3, v2); - c2.unlock(); - return v3; - } - } - } - return null; - } finally { - c2.unlock(); - } - } - - @Override // java.util.Map, java.util.concurrent.ConcurrentMap - @CanIgnoreReturnValue - public boolean replace(K k2, @NullableDecl V v2, V v3) { - Objects.requireNonNull(k2); - Objects.requireNonNull(v3); - if (v2 == null) { - return false; - } - int b2 = b(k2); - n c2 = c(b2); - c2.lock(); - try { - c2.k(); - AtomicReferenceArray atomicReferenceArray = c2.table; - int length = (atomicReferenceArray.length() - 1) & b2; - E e2 = atomicReferenceArray.get(length); - E e3 = e2; - while (true) { - if (e3 == null) { - break; - } - Object key = e3.getKey(); - if (e3.c() != b2 || key == null || !c2.map.keyEquivalence.c(k2, key)) { - e3 = (E) e3.a(); - } else { - Object value = e3.getValue(); - if (value == null) { - if (e3.getValue() == null) { - c2.modCount++; - atomicReferenceArray.set(length, c2.j(e2, e3)); - c2.count--; - } - } else if (c2.map.d().c(v2, value)) { - c2.modCount++; - c2.map.m.d(c2.l(), e3, v3); - c2.unlock(); - return true; - } - } - } - return false; - } finally { - c2.unlock(); - } - } - - @Override // java.util.AbstractMap, java.util.Map - public int size() { - n[] nVarArr; - long j2 = 0; - for (n nVar : this.l) { - j2 += (long) nVar.count; - } - if (j2 > 2147483647L) { - return Integer.MAX_VALUE; - } - if (j2 < -2147483648L) { - return Integer.MIN_VALUE; - } - return (int) j2; - } - - @Override // java.util.AbstractMap, java.util.Map - public Collection values() { - Collection collection = this.o; - if (collection != null) { - return collection; - } - v vVar = new v(); - this.o = vVar; - return vVar; - } - - public Object writeReplace() { - return new o(this.m.b(), this.m.c(), this.keyEquivalence, this.m.c().f(), this.concurrencyLevel, this); - } +/* compiled from: Multiset */ +public interface e0 extends Collection { + Set q(); } diff --git a/app/src/main/java/c/i/b/b/f.java b/app/src/main/java/c/i/b/b/f.java index 2421f6f8e4..bb6ae5394a 100644 --- a/app/src/main/java/c/i/b/b/f.java +++ b/app/src/main/java/c/i/b/b/f.java @@ -1,81 +1,38 @@ package c.i.b.b; -import java.util.AbstractCollection; -import java.util.Collection; -import java.util.Iterator; import java.util.Map; -import java.util.Set; -import org.checkerframework.checker.nullness.compatqual.MonotonicNonNullDecl; import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: AbstractMultimap */ -public abstract class f implements k0 { - @MonotonicNonNullDecl - public transient Set i; - @MonotonicNonNullDecl - public transient Collection j; - @MonotonicNonNullDecl - public transient Map> k; - - /* compiled from: AbstractMultimap */ - public class a extends AbstractCollection { - public a() { - } - - @Override // java.util.AbstractCollection, java.util.Collection - public void clear() { - f.this.clear(); - } - - @Override // java.util.AbstractCollection, java.util.Collection - public boolean contains(@NullableDecl Object obj) { - return f.this.b(obj); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable - public Iterator iterator() { - return f.this.e(); - } - - @Override // java.util.AbstractCollection, java.util.Collection - public int size() { - return f.this.size(); +/* compiled from: AbstractMapEntry */ +public abstract class f implements Map.Entry { + @Override // java.util.Map.Entry, java.lang.Object + public boolean equals(@NullableDecl Object obj) { + if (!(obj instanceof Map.Entry)) { + return false; } + Map.Entry entry = (Map.Entry) obj; + return c.i.a.f.e.o.f.N(getKey(), entry.getKey()) && c.i.a.f.e.o.f.N(getValue(), entry.getValue()); } - @Override // c.i.b.b.k0 - public abstract Map> a(); + @Override // java.util.Map.Entry + public abstract K getKey(); - public boolean b(@NullableDecl Object obj) { - for (Collection collection : a().values()) { - if (collection.contains(obj)) { - return true; - } + @Override // java.util.Map.Entry + public abstract V getValue(); + + @Override // java.util.Map.Entry, java.lang.Object + public int hashCode() { + K key = getKey(); + V value = getValue(); + int i = 0; + int hashCode = key == null ? 0 : key.hashCode(); + if (value != null) { + i = value.hashCode(); } - return false; + return hashCode ^ i; } - public abstract Map> c(); - - public abstract Set d(); - - public abstract Iterator e(); - @Override // java.lang.Object - public boolean equals(@NullableDecl Object obj) { - if (obj == this) { - return true; - } - if (obj instanceof k0) { - return a().equals(((k0) obj).a()); - } - return false; - } - - public int hashCode() { - return a().hashCode(); - } - public String toString() { - return a().toString(); + return ((Object) getKey()) + "=" + ((Object) getValue()); } } diff --git a/app/src/main/java/c/i/b/b/f0.java b/app/src/main/java/c/i/b/b/f0.java index 1ae818c50d..dd43afde52 100644 --- a/app/src/main/java/c/i/b/b/f0.java +++ b/app/src/main/java/c/i/b/b/f0.java @@ -1,10 +1,32 @@ package c.i.b.b; -import java.util.Iterator; -import java.util.Map; -/* compiled from: Maps */ -public final class f0 extends c1, V> { - public f0(Iterator it) { - super(it); +import java.io.Serializable; +import java.util.Objects; +/* compiled from: NaturalOrdering */ +public final class f0 extends g0 implements Serializable { + public static final f0 i = new f0(); + private static final long serialVersionUID = 0; + + private Object readResolve() { + return i; + } + + @Override // c.i.b.b.g0 + public g0 b() { + return k0.i; + } + + @Override // c.i.b.b.g0, java.util.Comparator + public int compare(Object obj, Object obj2) { + Comparable comparable = (Comparable) obj; + Comparable comparable2 = (Comparable) obj2; + Objects.requireNonNull(comparable); + Objects.requireNonNull(comparable2); + return comparable.compareTo(comparable2); + } + + @Override // java.lang.Object + public String toString() { + return "Ordering.natural()"; } } diff --git a/app/src/main/java/c/i/b/b/g.java b/app/src/main/java/c/i/b/b/g.java index 735decfefd..b04dabf056 100644 --- a/app/src/main/java/c/i/b/b/g.java +++ b/app/src/main/java/c/i/b/b/g.java @@ -1,4 +1,86 @@ package c.i.b.b; -/* compiled from: BaseImmutableMultimap */ -public abstract class g extends f { + +import c.i.b.b.e; +import java.util.AbstractCollection; +import java.util.Collection; +import java.util.Iterator; +import java.util.Map; +import java.util.NavigableMap; +import java.util.Objects; +import java.util.Set; +import java.util.SortedMap; +import org.checkerframework.checker.nullness.compatqual.MonotonicNonNullDecl; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; +/* compiled from: AbstractMultimap */ +public abstract class g implements b0 { + @MonotonicNonNullDecl + public transient Set i; + @MonotonicNonNullDecl + public transient Collection j; + @MonotonicNonNullDecl + public transient Map> k; + + /* compiled from: AbstractMultimap */ + public class a extends AbstractCollection { + public a() { + } + + @Override // java.util.AbstractCollection, java.util.Collection + public void clear() { + ((e) g.this).d(); + } + + @Override // java.util.AbstractCollection, java.util.Collection + public boolean contains(@NullableDecl Object obj) { + for (Collection collection : g.this.a().values()) { + if (collection.contains(obj)) { + return true; + } + } + return false; + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable + public Iterator iterator() { + e eVar = (e) g.this; + Objects.requireNonNull(eVar); + return new d(eVar); + } + + @Override // java.util.AbstractCollection, java.util.Collection + public int size() { + return ((e) g.this).m; + } + } + + @Override // c.i.b.b.b0 + public Map> a() { + Map> map = this.k; + if (map == null) { + d0 d0Var = (d0) this; + Map> map2 = d0Var.l; + map = map2 instanceof NavigableMap ? new e.d((NavigableMap) d0Var.l) : map2 instanceof SortedMap ? new e.g((SortedMap) d0Var.l) : new e.a(d0Var.l); + this.k = map; + } + return map; + } + + @Override // java.lang.Object + public boolean equals(@NullableDecl Object obj) { + if (obj == this) { + return true; + } + if (obj instanceof b0) { + return ((c) this).a().equals(((b0) obj).a()); + } + return false; + } + + public int hashCode() { + return a().hashCode(); + } + + public String toString() { + return a().toString(); + } } diff --git a/app/src/main/java/c/i/b/b/g0.java b/app/src/main/java/c/i/b/b/g0.java index 7f06fde7fd..5a5f67ac89 100644 --- a/app/src/main/java/c/i/b/b/g0.java +++ b/app/src/main/java/c/i/b/b/g0.java @@ -1,62 +1,19 @@ package c.i.b.b; -import c.i.a.f.e.o.c; -import c.i.b.b.d; -import java.util.Collection; -import java.util.HashSet; -import java.util.Map; -import java.util.Objects; -/* compiled from: Maps */ -public abstract class g0 extends z0> { - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public void clear() { - d.b.this.clear(); +import com.google.errorprone.annotations.CanIgnoreReturnValue; +import java.util.Comparator; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; +/* compiled from: Ordering */ +public abstract class g0 implements Comparator { + public static g0 a(Comparator comparator) { + return comparator instanceof g0 ? (g0) comparator : new i(comparator); } - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public abstract boolean contains(Object obj); - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean isEmpty() { - return d.b.this.isEmpty(); + public g0 b() { + return new l0(this); } - @Override // c.i.b.b.z0, java.util.AbstractSet, java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean removeAll(Collection collection) { - try { - Objects.requireNonNull(collection); - return super.removeAll(collection); - } catch (UnsupportedOperationException unused) { - return h.c(this, collection.iterator()); - } - } - - @Override // c.i.b.b.z0, java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean retainAll(Collection collection) { - int i; - try { - Objects.requireNonNull(collection); - return super.retainAll(collection); - } catch (UnsupportedOperationException unused) { - int size = collection.size(); - if (size < 3) { - c.n(size, "expectedSize"); - i = size + 1; - } else { - i = size < 1073741824 ? (int) ((((float) size) / 0.75f) + 1.0f) : Integer.MAX_VALUE; - } - HashSet hashSet = new HashSet(i); - for (Object obj : collection) { - if (contains(obj)) { - hashSet.add(((Map.Entry) obj).getKey()); - } - } - return d.b.this.keySet().retainAll(hashSet); - } - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public int size() { - return d.b.this.size(); - } + @Override // java.util.Comparator + @CanIgnoreReturnValue + public abstract int compare(@NullableDecl T t, @NullableDecl T t2); } diff --git a/app/src/main/java/c/i/b/b/h.java b/app/src/main/java/c/i/b/b/h.java index a6e9241f2a..c5e42136cd 100644 --- a/app/src/main/java/c/i/b/b/h.java +++ b/app/src/main/java/c/i/b/b/h.java @@ -2,6 +2,7 @@ package c.i.b.b; import java.util.Collection; import java.util.Collections; +import java.util.IdentityHashMap; import java.util.Iterator; import java.util.Objects; import java.util.Set; @@ -9,7 +10,7 @@ import java.util.Set; public final class h { /* compiled from: Sets */ - public static class a extends a1 { + public static class a extends p0 { public final /* synthetic */ Set i; public final /* synthetic */ Set j; @@ -37,7 +38,7 @@ public final class h { @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set, java.lang.Iterable public Iterator iterator() { - return new y0(this); + return new n0(this); } @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set @@ -62,13 +63,17 @@ public final class h { return i; } - public static a1 b(Set set, Set set2) { + public static p0 b(Set set, Set set2) { Objects.requireNonNull(set, "set1"); Objects.requireNonNull(set2, "set2"); return new a(set, set2); } - public static boolean c(Set set, Iterator it) { + public static Set c() { + return Collections.newSetFromMap(new IdentityHashMap()); + } + + public static boolean d(Set set, Iterator it) { boolean z2 = false; while (it.hasNext()) { z2 |= set.remove(it.next()); diff --git a/app/src/main/java/c/i/b/b/h0.java b/app/src/main/java/c/i/b/b/h0.java index 59747ec0ce..cddc62892a 100644 --- a/app/src/main/java/c/i/b/b/h0.java +++ b/app/src/main/java/c/i/b/b/h0.java @@ -1,30 +1,51 @@ package c.i.b.b; -import com.google.j2objc.annotations.Weak; -import java.util.Map; -import java.util.Objects; -/* compiled from: Maps */ -public class h0 extends z0 { - @Weak - public final Map i; +import c.i.a.f.e.o.f; +/* compiled from: RegularImmutableList */ +public class h0 extends p { + public static final p k = new h0(new Object[0], 0); + public final transient Object[] l; + public final transient int m; - public h0(Map map) { - Objects.requireNonNull(map); - this.i = map; + public h0(Object[] objArr, int i) { + this.l = objArr; + this.m = i; } - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean contains(Object obj) { - return this.i.containsKey(obj); + @Override // c.i.b.b.p, c.i.b.b.n + public int d(Object[] objArr, int i) { + System.arraycopy(this.l, 0, objArr, i, this.m); + return i + this.m; } - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean isEmpty() { - return this.i.isEmpty(); + @Override // c.i.b.b.n + public Object[] e() { + return this.l; } - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + @Override // c.i.b.b.n + public int g() { + return this.m; + } + + @Override // java.util.List + public E get(int i) { + f.s(i, this.m); + return (E) this.l[i]; + } + + @Override // c.i.b.b.n + public int h() { + return 0; + } + + @Override // c.i.b.b.n + public boolean i() { + return false; + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.List public int size() { - return this.i.size(); + return this.m; } } diff --git a/app/src/main/java/c/i/b/b/i.java b/app/src/main/java/c/i/b/b/i.java index 0c47f5ce02..de888a884d 100644 --- a/app/src/main/java/c/i/b/b/i.java +++ b/app/src/main/java/c/i/b/b/i.java @@ -1,19 +1,42 @@ package c.i.b.b; -/* compiled from: CompactHashMap */ -public class i extends l.b { - public final /* synthetic */ l m; - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public i(l lVar) { - super(null); - this.m = lVar; +import java.io.Serializable; +import java.util.Comparator; +import java.util.Objects; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; +/* compiled from: ComparatorOrdering */ +public final class i extends g0 implements Serializable { + private static final long serialVersionUID = 0; + public final Comparator comparator; + + public i(Comparator comparator) { + Objects.requireNonNull(comparator); + this.comparator = comparator; } - /* JADX DEBUG: Multi-variable search result rejected for r0v1, resolved type: java.lang.Object[] */ - /* JADX DEBUG: Multi-variable search result rejected for r2v1, resolved type: K */ - /* JADX WARN: Multi-variable type inference failed */ - @Override // c.i.b.b.l.b - public K a(int i) { - return this.m.l[i]; + @Override // c.i.b.b.g0, java.util.Comparator + public int compare(T t, T t2) { + return this.comparator.compare(t, t2); + } + + @Override // java.util.Comparator, java.lang.Object + public boolean equals(@NullableDecl Object obj) { + if (obj == this) { + return true; + } + if (obj instanceof i) { + return this.comparator.equals(((i) obj).comparator); + } + return false; + } + + @Override // java.lang.Object + public int hashCode() { + return this.comparator.hashCode(); + } + + @Override // java.lang.Object + public String toString() { + return this.comparator.toString(); } } diff --git a/app/src/main/java/c/i/b/b/i0.java b/app/src/main/java/c/i/b/b/i0.java index 575ce4f7e3..c29c78ef03 100644 --- a/app/src/main/java/c/i/b/b/i0.java +++ b/app/src/main/java/c/i/b/b/i0.java @@ -1,92 +1,228 @@ package c.i.b.b; -import c.i.a.f.e.o.c; -import com.google.j2objc.annotations.Weak; -import java.util.AbstractCollection; -import java.util.Collection; -import java.util.HashSet; -import java.util.Iterator; +import c.i.a.f.e.o.f; +import java.util.AbstractMap; import java.util.Map; -import java.util.Objects; import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: Maps */ -public class i0 extends AbstractCollection { - @Weak - public final Map i; +/* compiled from: RegularImmutableMap */ +public final class i0 extends q { + public static final q l = new i0(null, new Object[0], 0); + private static final long serialVersionUID = 0; + public final transient int[] m; + public final transient Object[] n; + public final transient int o; - public i0(Map map) { - this.i = map; - } + /* compiled from: RegularImmutableMap */ + public static class a extends r> { + public final transient q l; + public final transient Object[] m; + public final transient int n; + public final transient int o; - @Override // java.util.AbstractCollection, java.util.Collection - public void clear() { - this.i.clear(); - } - - @Override // java.util.AbstractCollection, java.util.Collection - public boolean contains(@NullableDecl Object obj) { - return this.i.containsValue(obj); - } - - @Override // java.util.AbstractCollection, java.util.Collection - public boolean isEmpty() { - return this.i.isEmpty(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable - public Iterator iterator() { - return new f0(this.i.entrySet().iterator()); - } - - @Override // java.util.AbstractCollection, java.util.Collection - public boolean remove(Object obj) { - try { - return super.remove(obj); - } catch (UnsupportedOperationException unused) { - for (Map.Entry entry : this.i.entrySet()) { - if (c.B(obj, entry.getValue())) { - this.i.remove(entry.getKey()); - return true; - } + /* compiled from: RegularImmutableMap */ + /* renamed from: c.i.b.b.i0$a$a reason: collision with other inner class name */ + public class C0127a extends p> { + public C0127a() { } - return false; + + @Override // java.util.List + public Object get(int i) { + f.s(i, a.this.o); + a aVar = a.this; + Object[] objArr = aVar.m; + int i2 = i * 2; + int i3 = aVar.n; + return new AbstractMap.SimpleImmutableEntry(objArr[i2 + i3], objArr[i2 + (i3 ^ 1)]); + } + + @Override // c.i.b.b.n + public boolean i() { + return true; + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.List + public int size() { + return a.this.o; + } + } + + public a(q qVar, Object[] objArr, int i, int i2) { + this.l = qVar; + this.m = objArr; + this.n = i; + this.o = i2; + } + + @Override // c.i.b.b.n, java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean contains(Object obj) { + if (!(obj instanceof Map.Entry)) { + return false; + } + Map.Entry entry = (Map.Entry) obj; + Object key = entry.getKey(); + Object value = entry.getValue(); + return value != null && value.equals(this.l.get(key)); + } + + @Override // c.i.b.b.n + public int d(Object[] objArr, int i) { + return c().d(objArr, i); + } + + @Override // c.i.b.b.n + public boolean i() { + return true; + } + + @Override // c.i.b.b.n + /* renamed from: j */ + public s0> iterator() { + return c().listIterator(); + } + + @Override // c.i.b.b.r + public p> o() { + return new C0127a(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public int size() { + return this.o; } } - @Override // java.util.AbstractCollection, java.util.Collection - public boolean removeAll(Collection collection) { - try { - Objects.requireNonNull(collection); - return super.removeAll(collection); - } catch (UnsupportedOperationException unused) { - HashSet hashSet = new HashSet(); - for (Map.Entry entry : this.i.entrySet()) { - if (collection.contains(entry.getValue())) { - hashSet.add(entry.getKey()); - } - } - return this.i.keySet().removeAll(hashSet); + /* compiled from: RegularImmutableMap */ + public static final class b extends r { + public final transient q l; + public final transient p m; + + public b(q qVar, p pVar) { + this.l = qVar; + this.m = pVar; + } + + @Override // c.i.b.b.r, c.i.b.b.n + public p c() { + return this.m; + } + + @Override // c.i.b.b.n, java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean contains(@NullableDecl Object obj) { + return this.l.get(obj) != null; + } + + @Override // c.i.b.b.n + public int d(Object[] objArr, int i) { + return this.m.d(objArr, i); + } + + @Override // c.i.b.b.n + public boolean i() { + return true; + } + + @Override // c.i.b.b.n + /* renamed from: j */ + public s0 iterator() { + return this.m.listIterator(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public int size() { + return this.l.size(); } } - @Override // java.util.AbstractCollection, java.util.Collection - public boolean retainAll(Collection collection) { - try { - Objects.requireNonNull(collection); - return super.retainAll(collection); - } catch (UnsupportedOperationException unused) { - HashSet hashSet = new HashSet(); - for (Map.Entry entry : this.i.entrySet()) { - if (collection.contains(entry.getValue())) { - hashSet.add(entry.getKey()); - } - } - return this.i.keySet().retainAll(hashSet); + /* compiled from: RegularImmutableMap */ + public static final class c extends p { + public final transient Object[] k; + public final transient int l; + public final transient int m; + + public c(Object[] objArr, int i, int i2) { + this.k = objArr; + this.l = i; + this.m = i2; + } + + @Override // java.util.List + public Object get(int i) { + f.s(i, this.m); + return this.k[(i * 2) + this.l]; + } + + @Override // c.i.b.b.n + public boolean i() { + return true; + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.List + public int size() { + return this.m; } } - @Override // java.util.AbstractCollection, java.util.Collection + public i0(int[] iArr, Object[] objArr, int i) { + this.m = iArr; + this.n = objArr; + this.o = i; + } + + @Override // c.i.b.b.q + public r> b() { + return new a(this, this.n, 0, this.o); + } + + @Override // c.i.b.b.q + public r c() { + return new b(this, new c(this.n, 0, this.o)); + } + + @Override // c.i.b.b.q + public n d() { + return new c(this.n, 1, this.o); + } + + @Override // c.i.b.b.q + public boolean f() { + return false; + } + + @Override // c.i.b.b.q, java.util.Map + @NullableDecl + public V get(@NullableDecl Object obj) { + int[] iArr = this.m; + Object[] objArr = this.n; + int i = this.o; + if (obj == null) { + return null; + } + if (i == 1) { + if (objArr[0].equals(obj)) { + return (V) objArr[1]; + } + return null; + } else if (iArr == null) { + return null; + } else { + int length = iArr.length - 1; + int P0 = f.P0(obj.hashCode()); + while (true) { + int i2 = P0 & length; + int i3 = iArr[i2]; + if (i3 == -1) { + return null; + } + if (objArr[i3].equals(obj)) { + return (V) objArr[i3 ^ 1]; + } + P0 = i2 + 1; + } + } + } + + @Override // java.util.Map public int size() { - return this.i.size(); + return this.o; } } diff --git a/app/src/main/java/c/i/b/b/j.java b/app/src/main/java/c/i/b/b/j.java index 32732faceb..52836a8812 100644 --- a/app/src/main/java/c/i/b/b/j.java +++ b/app/src/main/java/c/i/b/b/j.java @@ -1,18 +1,96 @@ package c.i.b.b; -import c.i.b.b.l; -/* compiled from: CompactHashMap */ -public class j extends l.b { - public final /* synthetic */ l m; +import java.util.Comparator; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; +/* compiled from: ComparisonChain */ +public abstract class j { + public static final j a = new a(); + public static final j b = new b(-1); - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public j(l lVar) { - super(null); - this.m = lVar; + /* renamed from: c reason: collision with root package name */ + public static final j f1311c = new b(1); + + /* compiled from: ComparisonChain */ + public static class a extends j { + public a() { + super(null); + } + + @Override // c.i.b.b.j + public j a(int i, int i2) { + return f(i < i2 ? -1 : i > i2 ? 1 : 0); + } + + @Override // c.i.b.b.j + public j b(@NullableDecl T t, @NullableDecl T t2, Comparator comparator) { + return f(comparator.compare(t, t2)); + } + + @Override // c.i.b.b.j + public j c(boolean z2, boolean z3) { + return f(z2 == z3 ? 0 : z2 ? 1 : -1); + } + + @Override // c.i.b.b.j + public j d(boolean z2, boolean z3) { + return f(z3 == z2 ? 0 : z3 ? 1 : -1); + } + + @Override // c.i.b.b.j + public int e() { + return 0; + } + + public j f(int i) { + return i < 0 ? j.b : i > 0 ? j.f1311c : j.a; + } } - @Override // c.i.b.b.l.b - public Object a(int i) { - return new l.d(i); + /* compiled from: ComparisonChain */ + public static final class b extends j { + public final int d; + + public b(int i) { + super(null); + this.d = i; + } + + @Override // c.i.b.b.j + public j a(int i, int i2) { + return this; + } + + @Override // c.i.b.b.j + public j b(@NullableDecl T t, @NullableDecl T t2, @NullableDecl Comparator comparator) { + return this; + } + + @Override // c.i.b.b.j + public j c(boolean z2, boolean z3) { + return this; + } + + @Override // c.i.b.b.j + public j d(boolean z2, boolean z3) { + return this; + } + + @Override // c.i.b.b.j + public int e() { + return this.d; + } } + + public j(a aVar) { + } + + public abstract j a(int i, int i2); + + public abstract j b(@NullableDecl T t, @NullableDecl T t2, Comparator comparator); + + public abstract j c(boolean z2, boolean z3); + + public abstract j d(boolean z2, boolean z3); + + public abstract int e(); } diff --git a/app/src/main/java/c/i/b/b/j0.java b/app/src/main/java/c/i/b/b/j0.java index adf27a0e81..b8e5b143fd 100644 --- a/app/src/main/java/c/i/b/b/j0.java +++ b/app/src/main/java/c/i/b/b/j0.java @@ -1,37 +1,88 @@ package c.i.b.b; -import c.i.b.b.d; -import java.util.AbstractMap; -import java.util.Collection; -import java.util.Map; -import java.util.Set; -import org.checkerframework.checker.nullness.compatqual.MonotonicNonNullDecl; -/* compiled from: Maps */ -public abstract class j0 extends AbstractMap { - @MonotonicNonNullDecl - public transient Set> i; - @MonotonicNonNullDecl - public transient Collection j; +import c.i.a.f.e.o.f; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; +/* compiled from: RegularImmutableSet */ +public final class j0 extends r { + public static final j0 l = new j0<>(new Object[0], 0, null, 0, 0); + public final transient Object[] m; + public final transient Object[] n; + public final transient int o; + public final transient int p; + public final transient int q; - @Override // java.util.AbstractMap, java.util.Map - public Set> entrySet() { - Set> set = this.i; - if (set != null) { - return set; - } - d.b.a aVar = new d.b.a(); - this.i = aVar; - return aVar; + public j0(Object[] objArr, int i, Object[] objArr2, int i2, int i3) { + this.m = objArr; + this.n = objArr2; + this.o = i2; + this.p = i; + this.q = i3; } - @Override // java.util.AbstractMap, java.util.Map - public Collection values() { - Collection collection = this.j; - if (collection != null) { - return collection; + @Override // c.i.b.b.n, java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean contains(@NullableDecl Object obj) { + Object[] objArr = this.n; + if (obj == null || objArr == null) { + return false; } - i0 i0Var = new i0(this); - this.j = i0Var; - return i0Var; + int P0 = f.P0(obj.hashCode()); + while (true) { + int i = P0 & this.o; + Object obj2 = objArr[i]; + if (obj2 == null) { + return false; + } + if (obj2.equals(obj)) { + return true; + } + P0 = i + 1; + } + } + + @Override // c.i.b.b.n + public int d(Object[] objArr, int i) { + System.arraycopy(this.m, 0, objArr, i, this.q); + return i + this.q; + } + + @Override // c.i.b.b.n + public Object[] e() { + return this.m; + } + + @Override // c.i.b.b.n + public int g() { + return this.q; + } + + @Override // c.i.b.b.n + public int h() { + return 0; + } + + @Override // c.i.b.b.r, java.util.Collection, java.lang.Object, java.util.Set + public int hashCode() { + return this.p; + } + + @Override // c.i.b.b.n + public boolean i() { + return false; + } + + @Override // c.i.b.b.n + /* renamed from: j */ + public s0 iterator() { + return c().listIterator(); + } + + @Override // c.i.b.b.r + public p o() { + return p.l(this.m, this.q); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public int size() { + return this.q; } } diff --git a/app/src/main/java/c/i/b/b/k.java b/app/src/main/java/c/i/b/b/k.java index f4189568f5..4117680a3b 100644 --- a/app/src/main/java/c/i/b/b/k.java +++ b/app/src/main/java/c/i/b/b/k.java @@ -1,19 +1,31 @@ package c.i.b.b; -/* compiled from: CompactHashMap */ -public class k extends l.b { - public final /* synthetic */ l m; - /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public k(l lVar) { - super(null); - this.m = lVar; +import c.i.b.b.v; +import com.google.errorprone.annotations.CanIgnoreReturnValue; +import java.util.concurrent.ConcurrentMap; +/* compiled from: ForwardingConcurrentMap */ +public abstract class k extends l implements ConcurrentMap { + @Override // java.util.Map, java.util.concurrent.ConcurrentMap + @CanIgnoreReturnValue + public V putIfAbsent(K k, V v) { + return ((v.b) this).i.putIfAbsent(k, v); } - /* JADX DEBUG: Multi-variable search result rejected for r0v1, resolved type: java.lang.Object[] */ - /* JADX DEBUG: Multi-variable search result rejected for r2v1, resolved type: V */ - /* JADX WARN: Multi-variable type inference failed */ - @Override // c.i.b.b.l.b - public V a(int i) { - return this.m.m[i]; + @Override // java.util.Map, java.util.concurrent.ConcurrentMap + @CanIgnoreReturnValue + public boolean remove(Object obj, Object obj2) { + return ((v.b) this).i.remove(obj, obj2); + } + + @Override // java.util.Map, java.util.concurrent.ConcurrentMap + @CanIgnoreReturnValue + public V replace(K k, V v) { + return ((v.b) this).i.replace(k, v); + } + + @Override // java.util.Map, java.util.concurrent.ConcurrentMap + @CanIgnoreReturnValue + public boolean replace(K k, V v, V v2) { + return ((v.b) this).i.replace(k, v, v2); } } diff --git a/app/src/main/java/c/i/b/b/k0.java b/app/src/main/java/c/i/b/b/k0.java index e9a9b8e96c..d3aa8b0c18 100644 --- a/app/src/main/java/c/i/b/b/k0.java +++ b/app/src/main/java/c/i/b/b/k0.java @@ -1,12 +1,34 @@ package c.i.b.b; -import java.util.Collection; -import java.util.Map; -/* compiled from: Multimap */ -public interface k0 { - Map> a(); +import java.io.Serializable; +import java.util.Objects; +/* compiled from: ReverseNaturalOrdering */ +public final class k0 extends g0 implements Serializable { + public static final k0 i = new k0(); + private static final long serialVersionUID = 0; - void clear(); + private Object readResolve() { + return i; + } - int size(); + @Override // c.i.b.b.g0 + public g0 b() { + return f0.i; + } + + @Override // c.i.b.b.g0, java.util.Comparator + public int compare(Object obj, Object obj2) { + Comparable comparable = (Comparable) obj; + Comparable comparable2 = (Comparable) obj2; + Objects.requireNonNull(comparable); + if (comparable == comparable2) { + return 0; + } + return comparable2.compareTo(comparable); + } + + @Override // java.lang.Object + public String toString() { + return "Ordering.natural().reverse()"; + } } diff --git a/app/src/main/java/c/i/b/b/l.java b/app/src/main/java/c/i/b/b/l.java index 8cee36f805..b977409467 100644 --- a/app/src/main/java/c/i/b/b/l.java +++ b/app/src/main/java/c/i/b/b/l.java @@ -1,580 +1,82 @@ package c.i.b.b; -import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; +import c.i.b.b.v; import com.google.errorprone.annotations.CanIgnoreReturnValue; -import java.io.IOException; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; -import java.io.Serializable; -import java.util.AbstractCollection; -import java.util.AbstractMap; -import java.util.AbstractSet; -import java.util.Arrays; import java.util.Collection; -import java.util.ConcurrentModificationException; -import java.util.Iterator; import java.util.Map; -import java.util.NoSuchElementException; -import java.util.Objects; import java.util.Set; -import org.checkerframework.checker.nullness.compatqual.MonotonicNonNullDecl; import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: CompactHashMap */ -public class l extends AbstractMap implements Serializable { - public static final /* synthetic */ int i = 0; - @MonotonicNonNullDecl - public transient int[] j; - @MonotonicNonNullDecl - public transient long[] k; - @MonotonicNonNullDecl - public transient Object[] l; - @MonotonicNonNullDecl - public transient Object[] m; - public transient float n; - public transient int o; - public transient int p; - public transient int q; - @MonotonicNonNullDecl - - /* renamed from: r reason: collision with root package name */ - public transient Set f1358r; - @MonotonicNonNullDecl - public transient Set> s; - @MonotonicNonNullDecl - public transient Collection t; - - /* compiled from: CompactHashMap */ - public class a extends AbstractSet> { - public a() { - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public void clear() { - l.this.clear(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean contains(@NullableDecl Object obj) { - if (!(obj instanceof Map.Entry)) { - return false; - } - Map.Entry entry = (Map.Entry) obj; - int d = l.this.d(entry.getKey()); - return d != -1 && c.i.a.f.e.o.c.B(l.this.m[d], entry.getValue()); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set, java.lang.Iterable - public Iterator> iterator() { - l lVar = l.this; - Objects.requireNonNull(lVar); - return new j(lVar); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean remove(@NullableDecl Object obj) { - if (!(obj instanceof Map.Entry)) { - return false; - } - Map.Entry entry = (Map.Entry) obj; - int d = l.this.d(entry.getKey()); - if (d == -1 || !c.i.a.f.e.o.c.B(l.this.m[d], entry.getValue())) { - return false; - } - l.a(l.this, d); - return true; - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public int size() { - return l.this.q; - } - } - - /* compiled from: CompactHashMap */ - public abstract class b implements Iterator { - public int i; - public int j; - public int k; - - public b(i iVar) { - this.i = l.this.o; - this.j = l.this.isEmpty() ? -1 : 0; - this.k = -1; - } - - public abstract T a(int i); - - @Override // java.util.Iterator - public boolean hasNext() { - return this.j >= 0; - } - - @Override // java.util.Iterator - public T next() { - if (l.this.o != this.i) { - throw new ConcurrentModificationException(); - } else if (hasNext()) { - int i = this.j; - this.k = i; - T a = a(i); - l lVar = l.this; - int i2 = this.j + 1; - if (i2 >= lVar.q) { - i2 = -1; - } - this.j = i2; - return a; - } else { - throw new NoSuchElementException(); - } - } - - @Override // java.util.Iterator - public void remove() { - if (l.this.o == this.i) { - c.i.a.f.e.o.c.q(this.k >= 0); - this.i++; - l.a(l.this, this.k); - l lVar = l.this; - int i = this.j; - Objects.requireNonNull(lVar); - this.j = i - 1; - this.k = -1; - return; - } - throw new ConcurrentModificationException(); - } - } - - /* compiled from: CompactHashMap */ - public class c extends AbstractSet { - public c() { - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public void clear() { - l.this.clear(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean contains(Object obj) { - return l.this.containsKey(obj); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set, java.lang.Iterable - public Iterator iterator() { - l lVar = l.this; - Objects.requireNonNull(lVar); - return new i(lVar); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean remove(@NullableDecl Object obj) { - int d = l.this.d(obj); - if (d == -1) { - return false; - } - l.a(l.this, d); - return true; - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public int size() { - return l.this.q; - } - } - - /* compiled from: CompactHashMap */ - public final class d extends e { - @NullableDecl - public final K i; - public int j; - - public d(int i) { - this.i = (K) l.this.l[i]; - this.j = i; - } - - public final void a() { - int i = this.j; - if (i != -1) { - l lVar = l.this; - if (i < lVar.q && c.i.a.f.e.o.c.B(this.i, lVar.l[i])) { - return; - } - } - l lVar2 = l.this; - K k = this.i; - int i2 = l.i; - this.j = lVar2.d(k); - } - - @Override // c.i.b.b.e, java.util.Map.Entry - public K getKey() { - return this.i; - } - - @Override // c.i.b.b.e, java.util.Map.Entry - public V getValue() { - a(); - int i = this.j; - if (i == -1) { - return null; - } - return (V) l.this.m[i]; - } - - @Override // java.util.Map.Entry - public V setValue(V v) { - a(); - int i = this.j; - if (i == -1) { - l.this.put(this.i, v); - return null; - } - Object[] objArr = l.this.m; - V v2 = (V) objArr[i]; - objArr[i] = v; - return v2; - } - } - - /* compiled from: CompactHashMap */ - public class e extends AbstractCollection { - public e() { - } - - @Override // java.util.AbstractCollection, java.util.Collection - public void clear() { - l.this.clear(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable - public Iterator iterator() { - l lVar = l.this; - Objects.requireNonNull(lVar); - return new k(lVar); - } - - @Override // java.util.AbstractCollection, java.util.Collection - public int size() { - return l.this.q; - } - } - - public l() { - e(3, 1.0f); - } - - public static Object a(l lVar, int i2) { - return lVar.f(lVar.l[i2], b(lVar.k[i2])); - } - - public static int b(long j) { - return (int) (j >>> 32); - } - - public static long g(long j, int i2) { - return (j & -4294967296L) | (((long) i2) & 4294967295L); - } - - /* JADX DEBUG: Multi-variable search result rejected for r3v0, resolved type: c.i.b.b.l */ - /* JADX WARN: Multi-variable type inference failed */ - private void readObject(ObjectInputStream objectInputStream) throws IOException, ClassNotFoundException { - objectInputStream.defaultReadObject(); - e(3, 1.0f); - int readInt = objectInputStream.readInt(); - while (true) { - readInt--; - if (readInt >= 0) { - put(objectInputStream.readObject(), objectInputStream.readObject()); - } else { - return; - } - } - } - - private void writeObject(ObjectOutputStream objectOutputStream) throws IOException { - objectOutputStream.defaultWriteObject(); - objectOutputStream.writeInt(this.q); - for (int i2 = 0; i2 < this.q; i2++) { - objectOutputStream.writeObject(this.l[i2]); - objectOutputStream.writeObject(this.m[i2]); - } - } - - public final int c() { - return this.j.length - 1; - } - - @Override // java.util.AbstractMap, java.util.Map +/* compiled from: ForwardingMap */ +public abstract class l extends m implements Map { + @Override // java.util.Map public void clear() { - this.o++; - Arrays.fill(this.l, 0, this.q, (Object) null); - Arrays.fill(this.m, 0, this.q, (Object) null); - Arrays.fill(this.j, -1); - Arrays.fill(this.k, -1L); - this.q = 0; + ((v.b) this).i.clear(); } - @Override // java.util.AbstractMap, java.util.Map + @Override // java.util.Map public boolean containsKey(@NullableDecl Object obj) { - return d(obj) != -1; + return ((v.b) this).i.containsKey(obj); } - @Override // java.util.AbstractMap, java.util.Map + @Override // java.util.Map public boolean containsValue(@NullableDecl Object obj) { - for (int i2 = 0; i2 < this.q; i2++) { - if (c.i.a.f.e.o.c.B(obj, this.m[i2])) { - return true; - } - } - return false; + return ((v.b) this).i.containsValue(obj); } - public final int d(@NullableDecl Object obj) { - int j0 = c.i.a.f.e.o.c.j0(obj); - int i2 = this.j[c() & j0]; - while (i2 != -1) { - long j = this.k[i2]; - if (b(j) == j0 && c.i.a.f.e.o.c.B(obj, this.l[i2])) { - return i2; - } - i2 = (int) j; - } - return -1; - } - - public void e(int i2, float f) { - boolean z2 = false; - c.i.a.f.e.o.c.i(i2 >= 0, "Initial capacity must be non-negative"); - if (f > 0.0f) { - z2 = true; - } - c.i.a.f.e.o.c.i(z2, "Illegal load factor"); - int max = Math.max(i2, 2); - int highestOneBit = Integer.highestOneBit(max); - if (max > ((int) (((double) f) * ((double) highestOneBit))) && (highestOneBit = highestOneBit << 1) <= 0) { - highestOneBit = BasicMeasure.EXACTLY; - } - int[] iArr = new int[highestOneBit]; - Arrays.fill(iArr, -1); - this.j = iArr; - this.n = f; - this.l = new Object[i2]; - this.m = new Object[i2]; - long[] jArr = new long[i2]; - Arrays.fill(jArr, -1L); - this.k = jArr; - this.p = Math.max(1, (int) (((float) highestOneBit) * f)); - } - - @Override // java.util.AbstractMap, java.util.Map + @Override // java.util.Map public Set> entrySet() { - Set> set = this.s; - if (set != null) { - return set; - } - a aVar = new a(); - this.s = aVar; - return aVar; + return ((v.b) this).i.entrySet(); } - @NullableDecl - public final V f(@NullableDecl Object obj, int i2) { - long[] jArr; - long j; - int c2 = c() & i2; - int i3 = this.j[c2]; - if (i3 == -1) { - return null; - } - int i4 = -1; - while (true) { - if (b(this.k[i3]) != i2 || !c.i.a.f.e.o.c.B(obj, this.l[i3])) { - int i5 = (int) this.k[i3]; - if (i5 == -1) { - return null; - } - i4 = i3; - i3 = i5; - } else { - V v = (V) this.m[i3]; - if (i4 == -1) { - this.j[c2] = (int) this.k[i3]; - } else { - long[] jArr2 = this.k; - jArr2[i4] = g(jArr2[i4], (int) jArr2[i3]); - } - int i6 = this.q - 1; - if (i3 < i6) { - Object[] objArr = this.l; - objArr[i3] = objArr[i6]; - Object[] objArr2 = this.m; - objArr2[i3] = objArr2[i6]; - objArr[i6] = null; - objArr2[i6] = null; - long[] jArr3 = this.k; - long j2 = jArr3[i6]; - jArr3[i3] = j2; - jArr3[i6] = -1; - int b2 = b(j2) & c(); - int[] iArr = this.j; - int i7 = iArr[b2]; - if (i7 == i6) { - iArr[b2] = i3; - } else { - while (true) { - jArr = this.k; - j = jArr[i7]; - int i8 = (int) j; - if (i8 == i6) { - break; - } - i7 = i8; - } - jArr[i7] = g(j, i3); - } - } else { - this.l[i3] = null; - this.m[i3] = null; - this.k[i3] = -1; - } - this.q--; - this.o++; - return v; - } - } + @Override // java.util.Map, java.lang.Object + public boolean equals(@NullableDecl Object obj) { + return obj == this || ((v.b) this).i.equals(obj); } - @Override // java.util.AbstractMap, java.util.Map + @Override // java.util.Map public V get(@NullableDecl Object obj) { - int d2 = d(obj); - if (d2 == -1) { - return null; - } - return (V) this.m[d2]; + return ((v.b) this).i.get(obj); } - @Override // java.util.AbstractMap, java.util.Map + @Override // java.util.Map, java.lang.Object + public int hashCode() { + return ((v.b) this).i.hashCode(); + } + + @Override // java.util.Map public boolean isEmpty() { - return this.q == 0; + return ((v.b) this).i.isEmpty(); } - @Override // java.util.AbstractMap, java.util.Map + @Override // java.util.Map public Set keySet() { - Set set = this.f1358r; - if (set != null) { - return set; - } - c cVar = new c(); - this.f1358r = cVar; - return cVar; + return ((v.b) this).i.keySet(); } - @Override // java.util.AbstractMap, java.util.Map + @Override // java.util.Map @CanIgnoreReturnValue - @NullableDecl - public V put(@NullableDecl K k, @NullableDecl V v) { - long[] jArr = this.k; - Object[] objArr = this.l; - Object[] objArr2 = this.m; - int j0 = c.i.a.f.e.o.c.j0(k); - int c2 = c() & j0; - int i2 = this.q; - int[] iArr = this.j; - int i3 = iArr[c2]; - if (i3 == -1) { - iArr[c2] = i2; - } else { - while (true) { - long j = jArr[i3]; - if (b(j) != j0 || !c.i.a.f.e.o.c.B(k, objArr[i3])) { - int i4 = (int) j; - if (i4 == -1) { - jArr[i3] = g(j, i2); - break; - } - i3 = i4; - } else { - V v2 = (V) objArr2[i3]; - objArr2[i3] = v; - return v2; - } - } - } - if (i2 != Integer.MAX_VALUE) { - int i5 = i2 + 1; - int length = this.k.length; - if (i5 > length) { - int max = Math.max(1, length >>> 1) + length; - if (max < 0) { - max = Integer.MAX_VALUE; - } - if (max != length) { - this.l = Arrays.copyOf(this.l, max); - this.m = Arrays.copyOf(this.m, max); - long[] jArr2 = this.k; - int length2 = jArr2.length; - long[] copyOf = Arrays.copyOf(jArr2, max); - if (max > length2) { - Arrays.fill(copyOf, length2, max, -1L); - } - this.k = copyOf; - } - } - this.k[i2] = (((long) j0) << 32) | 4294967295L; - this.l[i2] = k; - this.m[i2] = v; - this.q = i5; - if (i2 >= this.p) { - int[] iArr2 = this.j; - int length3 = iArr2.length * 2; - if (iArr2.length >= 1073741824) { - this.p = Integer.MAX_VALUE; - } else { - int i6 = ((int) (((float) length3) * this.n)) + 1; - int[] iArr3 = new int[length3]; - Arrays.fill(iArr3, -1); - long[] jArr3 = this.k; - int i7 = length3 - 1; - for (int i8 = 0; i8 < this.q; i8++) { - int b2 = b(jArr3[i8]); - int i9 = b2 & i7; - int i10 = iArr3[i9]; - iArr3[i9] = i8; - jArr3[i8] = (((long) b2) << 32) | (((long) i10) & 4294967295L); - } - this.p = i6; - this.j = iArr3; - } - } - this.o++; - return null; - } - throw new IllegalStateException("Cannot contain more than Integer.MAX_VALUE elements!"); + public V put(K k, V v) { + return ((v.b) this).i.put(k, v); } - @Override // java.util.AbstractMap, java.util.Map + @Override // java.util.Map + public void putAll(Map map) { + ((v.b) this).i.putAll(map); + } + + @Override // java.util.Map @CanIgnoreReturnValue - @NullableDecl - public V remove(@NullableDecl Object obj) { - return f(obj, c.i.a.f.e.o.c.j0(obj)); + public V remove(Object obj) { + return ((v.b) this).i.remove(obj); } - @Override // java.util.AbstractMap, java.util.Map + @Override // java.util.Map public int size() { - return this.q; + return ((v.b) this).i.size(); } - @Override // java.util.AbstractMap, java.util.Map + @Override // java.util.Map public Collection values() { - Collection collection = this.t; - if (collection != null) { - return collection; - } - e eVar = new e(); - this.t = eVar; - return eVar; + return ((v.b) this).i.values(); } } diff --git a/app/src/main/java/c/i/b/b/l0.java b/app/src/main/java/c/i/b/b/l0.java index 76d309333c..46b58bfad1 100644 --- a/app/src/main/java/c/i/b/b/l0.java +++ b/app/src/main/java/c/i/b/b/l0.java @@ -1,21 +1,45 @@ package c.i.b.b; -import c.i.a.f.e.o.c; -import c.i.b.a.l; import java.io.Serializable; -import java.util.ArrayList; -import java.util.List; -/* compiled from: MultimapBuilder */ -public final class l0 implements l>, Serializable { - private final int expectedValuesPerKey; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; +/* compiled from: ReverseOrdering */ +public final class l0 extends g0 implements Serializable { + private static final long serialVersionUID = 0; + public final g0 forwardOrder; - public l0(int i) { - c.n(i, "expectedValuesPerKey"); - this.expectedValuesPerKey = i; + public l0(g0 g0Var) { + this.forwardOrder = g0Var; } - @Override // c.i.b.a.l - public Object get() { - return new ArrayList(this.expectedValuesPerKey); + /* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: c.i.b.b.g0, c.i.b.b.g0 */ + @Override // c.i.b.b.g0 + public g0 b() { + return (g0) this.forwardOrder; + } + + @Override // c.i.b.b.g0, java.util.Comparator + public int compare(T t, T t2) { + return this.forwardOrder.compare(t2, t); + } + + @Override // java.util.Comparator, java.lang.Object + public boolean equals(@NullableDecl Object obj) { + if (obj == this) { + return true; + } + if (obj instanceof l0) { + return this.forwardOrder.equals(((l0) obj).forwardOrder); + } + return false; + } + + @Override // java.lang.Object + public int hashCode() { + return -this.forwardOrder.hashCode(); + } + + @Override // java.lang.Object + public String toString() { + return this.forwardOrder + ".reverse()"; } } diff --git a/app/src/main/java/c/i/b/b/m.java b/app/src/main/java/c/i/b/b/m.java index 986154020a..ca6d9bb2a2 100644 --- a/app/src/main/java/c/i/b/b/m.java +++ b/app/src/main/java/c/i/b/b/m.java @@ -1,42 +1,9 @@ package c.i.b.b; -import java.io.Serializable; -import java.util.Comparator; -import java.util.Objects; -import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: ComparatorOrdering */ -public final class m extends p0 implements Serializable { - private static final long serialVersionUID = 0; - public final Comparator comparator; - - public m(Comparator comparator) { - Objects.requireNonNull(comparator); - this.comparator = comparator; - } - - @Override // c.i.b.b.p0, java.util.Comparator - public int compare(T t, T t2) { - return this.comparator.compare(t, t2); - } - - @Override // java.util.Comparator, java.lang.Object - public boolean equals(@NullableDecl Object obj) { - if (obj == this) { - return true; - } - if (obj instanceof m) { - return this.comparator.equals(((m) obj).comparator); - } - return false; - } - - @Override // java.lang.Object - public int hashCode() { - return this.comparator.hashCode(); - } - - @Override // java.lang.Object +import c.i.b.b.v; +/* compiled from: ForwardingObject */ +public abstract class m { public String toString() { - return this.comparator.toString(); + return ((v.b) this).i.toString(); } } diff --git a/app/src/main/java/c/i/b/b/m0.java b/app/src/main/java/c/i/b/b/m0.java index 4d10aebc0f..5735f941f7 100644 --- a/app/src/main/java/c/i/b/b/m0.java +++ b/app/src/main/java/c/i/b/b/m0.java @@ -1,61 +1,4 @@ package c.i.b.b; - -import c.i.a.f.e.o.c; -import c.i.b.a.l; -import c.i.b.b.d; -import java.io.IOException; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; -import java.util.Collection; -import java.util.List; -import java.util.Map; -import java.util.NavigableMap; -import java.util.Objects; -import java.util.Set; -import java.util.SortedMap; -/* compiled from: Multimaps */ -public class m0 extends c { - private static final long serialVersionUID = 0; - public transient l> n; - - public m0(Map> map, l> lVar) { - super(map); - Objects.requireNonNull(lVar); - this.n = lVar; - } - - private void readObject(ObjectInputStream objectInputStream) throws IOException, ClassNotFoundException { - objectInputStream.defaultReadObject(); - this.n = (l) objectInputStream.readObject(); - Map> map = (Map) objectInputStream.readObject(); - this.l = map; - this.m = 0; - for (Collection collection : map.values()) { - c.h(!collection.isEmpty()); - this.m = collection.size() + this.m; - } - } - - private void writeObject(ObjectOutputStream objectOutputStream) throws IOException { - objectOutputStream.defaultWriteObject(); - objectOutputStream.writeObject(this.n); - objectOutputStream.writeObject(this.l); - } - - @Override // c.i.b.b.f - public Map> c() { - Map> map = this.l; - return map instanceof NavigableMap ? new d.e((NavigableMap) this.l) : map instanceof SortedMap ? new d.h((SortedMap) this.l) : new d.b(this.l); - } - - @Override // c.i.b.b.f - public Set d() { - Map> map = this.l; - return map instanceof NavigableMap ? new d.f((NavigableMap) this.l) : map instanceof SortedMap ? new d.i((SortedMap) this.l) : new d.C0128d(this.l); - } - - @Override // c.i.b.b.d - public Collection h() { - return (List) this.n.get(); - } +/* compiled from: Sets */ +public final class m0 extends p0 { } diff --git a/app/src/main/java/c/i/b/b/n.java b/app/src/main/java/c/i/b/b/n.java index a2b43762a4..9cae71df2c 100644 --- a/app/src/main/java/c/i/b/b/n.java +++ b/app/src/main/java/c/i/b/b/n.java @@ -1,96 +1,153 @@ package c.i.b.b; -import java.util.Comparator; +import c.i.a.f.e.o.f; +import c.i.b.b.p; +import com.google.errorprone.annotations.CanIgnoreReturnValue; +import java.io.Serializable; +import java.lang.reflect.Array; +import java.util.AbstractCollection; +import java.util.Arrays; +import java.util.Collection; +import java.util.Objects; import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: ComparisonChain */ -public abstract class n { - public static final n a = new a(); - public static final n b = new b(-1); +/* compiled from: ImmutableCollection */ +public abstract class n extends AbstractCollection implements Serializable { + public static final Object[] i = new Object[0]; - /* renamed from: c reason: collision with root package name */ - public static final n f1359c = new b(1); + /* compiled from: ImmutableCollection */ + public static abstract class a extends b { + public Object[] a; + public int b = 0; - /* compiled from: ComparisonChain */ - public static class a extends n { - public a() { - super(null); - } + /* renamed from: c reason: collision with root package name */ + public boolean f1312c; - @Override // c.i.b.b.n - public n a(int i, int i2) { - return f(i < i2 ? -1 : i > i2 ? 1 : 0); - } - - @Override // c.i.b.b.n - public n b(@NullableDecl T t, @NullableDecl T t2, Comparator comparator) { - return f(comparator.compare(t, t2)); - } - - @Override // c.i.b.b.n - public n c(boolean z2, boolean z3) { - return f(z2 == z3 ? 0 : z2 ? 1 : -1); - } - - @Override // c.i.b.b.n - public n d(boolean z2, boolean z3) { - return f(z3 == z2 ? 0 : z3 ? 1 : -1); - } - - @Override // c.i.b.b.n - public int e() { - return 0; - } - - public n f(int i) { - return i < 0 ? n.b : i > 0 ? n.f1359c : n.a; + public a(int i) { + f.v(i, "initialCapacity"); + this.a = new Object[i]; } } - /* compiled from: ComparisonChain */ - public static final class b extends n { - public final int d; - - public b(int i) { - super(null); - this.d = i; - } - - @Override // c.i.b.b.n - public n a(int i, int i2) { - return this; - } - - @Override // c.i.b.b.n - public n b(@NullableDecl T t, @NullableDecl T t2, @NullableDecl Comparator comparator) { - return this; - } - - @Override // c.i.b.b.n - public n c(boolean z2, boolean z3) { - return this; - } - - @Override // c.i.b.b.n - public n d(boolean z2, boolean z3) { - return this; - } - - @Override // c.i.b.b.n - public int e() { - return this.d; + /* compiled from: ImmutableCollection */ + public static abstract class b { + public static int a(int i, int i2) { + if (i2 >= 0) { + int i3 = i + (i >> 1) + 1; + if (i3 < i2) { + i3 = Integer.highestOneBit(i2 - 1) << 1; + } + if (i3 < 0) { + return Integer.MAX_VALUE; + } + return i3; + } + throw new AssertionError("cannot store more than MAX_VALUE elements"); } } - public n(a aVar) { + @Override // java.util.AbstractCollection, java.util.Collection + @CanIgnoreReturnValue + @Deprecated + public final boolean add(E e) { + throw new UnsupportedOperationException(); } - public abstract n a(int i, int i2); + @Override // java.util.AbstractCollection, java.util.Collection + @CanIgnoreReturnValue + @Deprecated + public final boolean addAll(Collection collection) { + throw new UnsupportedOperationException(); + } - public abstract n b(@NullableDecl T t, @NullableDecl T t2, Comparator comparator); + public p c() { + if (!isEmpty()) { + return p.k(toArray()); + } + a aVar = p.j; + return (p) h0.k; + } - public abstract n c(boolean z2, boolean z3); + @Override // java.util.AbstractCollection, java.util.Collection + @Deprecated + public final void clear() { + throw new UnsupportedOperationException(); + } - public abstract n d(boolean z2, boolean z3); + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public abstract boolean contains(@NullableDecl Object obj); - public abstract int e(); + @CanIgnoreReturnValue + public int d(Object[] objArr, int i2) { + s0 j = iterator(); + while (j.hasNext()) { + objArr[i2] = j.next(); + i2++; + } + return i2; + } + + public Object[] e() { + return null; + } + + public int g() { + throw new UnsupportedOperationException(); + } + + public int h() { + throw new UnsupportedOperationException(); + } + + public abstract boolean i(); + + /* renamed from: j */ + public abstract s0 iterator(); + + @Override // java.util.AbstractCollection, java.util.Collection + @CanIgnoreReturnValue + @Deprecated + public final boolean remove(Object obj) { + throw new UnsupportedOperationException(); + } + + @Override // java.util.AbstractCollection, java.util.Collection + @CanIgnoreReturnValue + @Deprecated + public final boolean removeAll(Collection collection) { + throw new UnsupportedOperationException(); + } + + @Override // java.util.AbstractCollection, java.util.Collection + @CanIgnoreReturnValue + @Deprecated + public final boolean retainAll(Collection collection) { + throw new UnsupportedOperationException(); + } + + @Override // java.util.AbstractCollection, java.util.Collection + public final Object[] toArray() { + return toArray(i); + } + + @Override // java.util.AbstractCollection, java.util.Collection + @CanIgnoreReturnValue + public final T[] toArray(T[] tArr) { + Objects.requireNonNull(tArr); + int size = size(); + if (tArr.length < size) { + Object[] e = e(); + if (e != null) { + return (T[]) Arrays.copyOfRange(e, h(), g(), tArr.getClass()); + } + tArr = (T[]) ((Object[]) Array.newInstance(tArr.getClass().getComponentType(), size)); + } else if (tArr.length > size) { + tArr[size] = null; + } + d(tArr, 0); + return tArr; + } + + public Object writeReplace() { + return new p.c(toArray()); + } } diff --git a/app/src/main/java/c/i/b/b/n0.java b/app/src/main/java/c/i/b/b/n0.java index 28f840ce4f..4447675de3 100644 --- a/app/src/main/java/c/i/b/b/n0.java +++ b/app/src/main/java/c/i/b/b/n0.java @@ -1,8 +1,14 @@ package c.i.b.b; -import java.util.Collection; -import java.util.Set; -/* compiled from: Multiset */ -public interface n0 extends Collection { - Set p(); +import c.i.b.b.h; +import java.util.Iterator; +/* compiled from: Sets */ +public class n0 extends b { + public final Iterator k; + public final /* synthetic */ h.a l; + + public n0(h.a aVar) { + this.l = aVar; + this.k = aVar.i.iterator(); + } } diff --git a/app/src/main/java/c/i/b/b/o.java b/app/src/main/java/c/i/b/b/o.java index 1f46d97b5e..d75f0fa70c 100644 --- a/app/src/main/java/c/i/b/b/o.java +++ b/app/src/main/java/c/i/b/b/o.java @@ -1,14 +1,34 @@ package c.i.b.b; -/* compiled from: EmptyImmutableListMultimap */ -public class o extends v { - public static final o n = new o(); - private static final long serialVersionUID = 0; - public o() { - super(r0.l, 0); +import java.io.Serializable; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; +/* compiled from: ImmutableEntry */ +public class o extends f implements Serializable { + private static final long serialVersionUID = 0; + @NullableDecl + public final K key; + @NullableDecl + public final V value; + + public o(@NullableDecl K k, @NullableDecl V v) { + this.key = k; + this.value = v; } - private Object readResolve() { - return n; + @Override // c.i.b.b.f, java.util.Map.Entry + @NullableDecl + public final K getKey() { + return this.key; + } + + @Override // c.i.b.b.f, java.util.Map.Entry + @NullableDecl + public final V getValue() { + return this.value; + } + + @Override // java.util.Map.Entry + public final V setValue(V v) { + throw new UnsupportedOperationException(); } } diff --git a/app/src/main/java/c/i/b/b/o0.java b/app/src/main/java/c/i/b/b/o0.java index a4ccf89178..92e4ce9181 100644 --- a/app/src/main/java/c/i/b/b/o0.java +++ b/app/src/main/java/c/i/b/b/o0.java @@ -1,32 +1,35 @@ package c.i.b.b; -import java.io.Serializable; +import java.util.AbstractSet; +import java.util.Collection; +import java.util.Iterator; import java.util.Objects; -/* compiled from: NaturalOrdering */ -public final class o0 extends p0 implements Serializable { - public static final o0 i = new o0(); - private static final long serialVersionUID = 0; - - private Object readResolve() { - return i; +import java.util.Set; +/* compiled from: Sets */ +public abstract class o0 extends AbstractSet { + @Override // java.util.AbstractSet, java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean removeAll(Collection collection) { + Objects.requireNonNull(collection); + if (collection instanceof e0) { + collection = ((e0) collection).q(); + } + if (!(collection instanceof Set) || collection.size() <= size()) { + return h.d(this, collection.iterator()); + } + Iterator it = iterator(); + boolean z2 = false; + while (it.hasNext()) { + if (collection.contains(it.next())) { + it.remove(); + z2 = true; + } + } + return z2; } - @Override // c.i.b.b.p0 - public p0 b() { - return t0.i; - } - - @Override // c.i.b.b.p0, java.util.Comparator - public int compare(Object obj, Object obj2) { - Comparable comparable = (Comparable) obj; - Comparable comparable2 = (Comparable) obj2; - Objects.requireNonNull(comparable); - Objects.requireNonNull(comparable2); - return comparable.compareTo(comparable2); - } - - @Override // java.lang.Object - public String toString() { - return "Ordering.natural()"; + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean retainAll(Collection collection) { + Objects.requireNonNull(collection); + return super.retainAll(collection); } } diff --git a/app/src/main/java/c/i/b/b/p.java b/app/src/main/java/c/i/b/b/p.java index c88b2ec8bf..14d921ff1c 100644 --- a/app/src/main/java/c/i/b/b/p.java +++ b/app/src/main/java/c/i/b/b/p.java @@ -1,31 +1,330 @@ package c.i.b.b; -import c.i.b.b.e0; +import c.i.a.f.e.o.f; +import c.i.b.b.n; import com.google.errorprone.annotations.CanIgnoreReturnValue; -import java.util.concurrent.ConcurrentMap; -/* compiled from: ForwardingConcurrentMap */ -public abstract class p extends q implements ConcurrentMap { - @Override // java.util.Map, java.util.concurrent.ConcurrentMap - @CanIgnoreReturnValue - public V putIfAbsent(K k, V v) { - return ((e0.b) this).i.putIfAbsent(k, v); +import java.io.InvalidObjectException; +import java.io.ObjectInputStream; +import java.io.Serializable; +import java.util.Arrays; +import java.util.Collection; +import java.util.Iterator; +import java.util.List; +import java.util.ListIterator; +import java.util.Objects; +import java.util.RandomAccess; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; +/* compiled from: ImmutableList */ +public abstract class p extends n implements List, RandomAccess { + public static final a j = new b(h0.k, 0); + + /* compiled from: ImmutableList */ + public static final class a extends n.a { + public a() { + super(4); + } + + @CanIgnoreReturnValue + public a b(E e) { + Objects.requireNonNull(e); + int i = this.b + 1; + Object[] objArr = this.a; + if (objArr.length < i) { + this.a = Arrays.copyOf(objArr, n.b.a(objArr.length, i)); + this.f1312c = false; + } else if (this.f1312c) { + this.a = (Object[]) objArr.clone(); + this.f1312c = false; + } + Object[] objArr2 = this.a; + int i2 = this.b; + this.b = i2 + 1; + objArr2[i2] = e; + return this; + } + + public p c() { + this.f1312c = true; + return p.l(this.a, this.b); + } } - @Override // java.util.Map, java.util.concurrent.ConcurrentMap - @CanIgnoreReturnValue - public boolean remove(Object obj, Object obj2) { - return ((e0.b) this).i.remove(obj, obj2); + /* compiled from: ImmutableList */ + public static class b extends a { + public final p k; + + public b(p pVar, int i) { + super(pVar.size(), i); + this.k = pVar; + } } - @Override // java.util.Map, java.util.concurrent.ConcurrentMap - @CanIgnoreReturnValue - public V replace(K k, V v) { - return ((e0.b) this).i.replace(k, v); + /* compiled from: ImmutableList */ + public static class c implements Serializable { + private static final long serialVersionUID = 0; + public final Object[] elements; + + public c(Object[] objArr) { + this.elements = objArr; + } + + public Object readResolve() { + return p.o(this.elements); + } } - @Override // java.util.Map, java.util.concurrent.ConcurrentMap + /* compiled from: ImmutableList */ + public class d extends p { + public final transient int k; + public final transient int l; + + public d(int i, int i2) { + this.k = i; + this.l = i2; + } + + @Override // c.i.b.b.n + public Object[] e() { + return p.this.e(); + } + + @Override // c.i.b.b.n + public int g() { + return p.this.h() + this.k + this.l; + } + + @Override // java.util.List + public E get(int i) { + f.s(i, this.l); + return p.this.get(i + this.k); + } + + @Override // c.i.b.b.n + public int h() { + return p.this.h() + this.k; + } + + @Override // c.i.b.b.n + public boolean i() { + return true; + } + + @Override // c.i.b.b.p, c.i.b.b.n, java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.Set + public Iterator iterator() { + return listIterator(); + } + + @Override // c.i.b.b.p, java.util.List + public /* bridge */ /* synthetic */ ListIterator listIterator() { + return listIterator(); + } + + @Override // c.i.b.b.p, java.util.List + public /* bridge */ /* synthetic */ ListIterator listIterator(int i) { + return listIterator(i); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.List + public int size() { + return this.l; + } + + @Override // c.i.b.b.p + /* renamed from: w */ + public p subList(int i, int i2) { + f.y(i, i2, this.l); + p pVar = p.this; + int i3 = this.k; + return pVar.subList(i + i3, i2 + i3); + } + } + + public static p k(Object[] objArr) { + return l(objArr, objArr.length); + } + + public static p l(Object[] objArr, int i) { + return i == 0 ? (p) h0.k : new h0(objArr, i); + } + + public static p m(Object... objArr) { + int length = objArr.length; + for (int i = 0; i < length; i++) { + f.t(objArr[i], i); + } + return l(objArr, objArr.length); + } + + public static p n(Collection collection) { + if (!(collection instanceof n)) { + return m(collection.toArray()); + } + p c2 = ((n) collection).c(); + return c2.i() ? k(c2.toArray()) : c2; + } + + public static p o(E[] eArr) { + return eArr.length == 0 ? (p) h0.k : m((Object[]) eArr.clone()); + } + + private void readObject(ObjectInputStream objectInputStream) throws InvalidObjectException { + throw new InvalidObjectException("Use SerializedForm"); + } + + public static p u(E e) { + return m(e); + } + + public static p v(E e, E e2, E e3, E e4, E e5) { + return m(e, e2, e3, e4, e5); + } + + @Override // java.util.List + @Deprecated + public final void add(int i, E e) { + throw new UnsupportedOperationException(); + } + + @Override // java.util.List @CanIgnoreReturnValue - public boolean replace(K k, V v, V v2) { - return ((e0.b) this).i.replace(k, v, v2); + @Deprecated + public final boolean addAll(int i, Collection collection) { + throw new UnsupportedOperationException(); + } + + @Override // c.i.b.b.n + public final p c() { + return this; + } + + @Override // c.i.b.b.n, java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean contains(@NullableDecl Object obj) { + return indexOf(obj) >= 0; + } + + @Override // c.i.b.b.n + public int d(Object[] objArr, int i) { + int size = size(); + for (int i2 = 0; i2 < size; i2++) { + objArr[i + i2] = get(i2); + } + return i + size; + } + + /* JADX WARNING: Removed duplicated region for block: B:17:0x003f */ + @Override // java.util.Collection, java.lang.Object, java.util.List + public boolean equals(@NullableDecl Object obj) { + if (obj != this) { + if (!(obj instanceof List)) { + return false; + } + List list = (List) obj; + int size = size(); + if (size != list.size()) { + return false; + } + if (list instanceof RandomAccess) { + for (int i = 0; i < size; i++) { + if (!f.N(get(i), list.get(i))) { + return false; + } + } + } else { + Iterator it = list.iterator(); + for (E e : this) { + if (!it.hasNext() || !f.N(e, it.next())) { + return false; + } + while (r2.hasNext()) { + } + } + return !it.hasNext(); + } + } + return true; + } + + @Override // java.util.Collection, java.lang.Object, java.util.List + public int hashCode() { + int size = size(); + int i = 1; + for (int i2 = 0; i2 < size; i2++) { + i = ~(~(get(i2).hashCode() + (i * 31))); + } + return i; + } + + @Override // java.util.List + public int indexOf(@NullableDecl Object obj) { + if (obj == null) { + return -1; + } + int size = size(); + for (int i = 0; i < size; i++) { + if (obj.equals(get(i))) { + return i; + } + } + return -1; + } + + @Override // c.i.b.b.n, java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.Set + public Iterator iterator() { + return listIterator(); + } + + @Override // c.i.b.b.n + public s0 j() { + return listIterator(); + } + + @Override // java.util.List + public int lastIndexOf(@NullableDecl Object obj) { + if (obj == null) { + return -1; + } + for (int size = size() - 1; size >= 0; size--) { + if (obj.equals(get(size))) { + return size; + } + } + return -1; + } + + /* renamed from: p */ + public a listIterator() { + return listIterator(0); + } + + /* renamed from: r */ + public a listIterator(int i) { + f.x(i, size()); + return isEmpty() ? (a) j : new b(this, i); + } + + @Override // java.util.List + @CanIgnoreReturnValue + @Deprecated + public final E remove(int i) { + throw new UnsupportedOperationException(); + } + + @Override // java.util.List + @CanIgnoreReturnValue + @Deprecated + public final E set(int i, E e) { + throw new UnsupportedOperationException(); + } + + /* renamed from: w */ + public p subList(int i, int i2) { + f.y(i, i2, size()); + int i3 = i2 - i; + return i3 == size() ? this : i3 == 0 ? (p) h0.k : new d(i, i3); + } + + @Override // c.i.b.b.n + public Object writeReplace() { + return new c(toArray()); } } diff --git a/app/src/main/java/c/i/b/b/p0.java b/app/src/main/java/c/i/b/b/p0.java index dd6516db6e..509027a01c 100644 --- a/app/src/main/java/c/i/b/b/p0.java +++ b/app/src/main/java/c/i/b/b/p0.java @@ -1,19 +1,51 @@ package c.i.b.b; import com.google.errorprone.annotations.CanIgnoreReturnValue; -import java.util.Comparator; -import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: Ordering */ -public abstract class p0 implements Comparator { - public static p0 a(Comparator comparator) { - return comparator instanceof p0 ? (p0) comparator : new m(comparator); +import java.util.AbstractSet; +import java.util.Collection; +/* compiled from: Sets */ +public abstract class p0 extends AbstractSet { + public p0(m0 m0Var) { } - public p0 b() { - return new u0(this); - } - - @Override // java.util.Comparator + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set @CanIgnoreReturnValue - public abstract int compare(@NullableDecl T t, @NullableDecl T t2); + @Deprecated + public final boolean add(E e) { + throw new UnsupportedOperationException(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + @CanIgnoreReturnValue + @Deprecated + public final boolean addAll(Collection collection) { + throw new UnsupportedOperationException(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + @Deprecated + public final void clear() { + throw new UnsupportedOperationException(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + @CanIgnoreReturnValue + @Deprecated + public final boolean remove(Object obj) { + throw new UnsupportedOperationException(); + } + + @Override // java.util.AbstractSet, java.util.AbstractCollection, java.util.Collection, java.util.Set + @CanIgnoreReturnValue + @Deprecated + public final boolean removeAll(Collection collection) { + throw new UnsupportedOperationException(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + @CanIgnoreReturnValue + @Deprecated + public final boolean retainAll(Collection collection) { + throw new UnsupportedOperationException(); + } } diff --git a/app/src/main/java/c/i/b/b/q.java b/app/src/main/java/c/i/b/b/q.java index 84cd1da35d..260a90ffa7 100644 --- a/app/src/main/java/c/i/b/b/q.java +++ b/app/src/main/java/c/i/b/b/q.java @@ -1,82 +1,304 @@ package c.i.b.b; -import c.i.b.b.e0; +import c.i.a.f.e.o.f; +import c.i.b.b.n; +import com.discord.api.permission.Permission; import com.google.errorprone.annotations.CanIgnoreReturnValue; +import com.google.errorprone.annotations.concurrent.LazyInit; +import com.google.j2objc.annotations.RetainedWith; +import java.io.Serializable; +import java.util.Arrays; import java.util.Collection; +import java.util.Iterator; import java.util.Map; import java.util.Set; +import java.util.SortedMap; import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: ForwardingMap */ -public abstract class q extends r implements Map { +/* compiled from: ImmutableMap */ +public abstract class q implements Map, Serializable { + @LazyInit + public transient r> i; + @RetainedWith + @LazyInit + public transient r j; + @RetainedWith + @LazyInit + public transient n k; + + /* compiled from: ImmutableMap */ + public static class a { + public Object[] a; + public int b = 0; + + /* renamed from: c reason: collision with root package name */ + public boolean f1313c = false; + + public a(int i) { + this.a = new Object[(i * 2)]; + } + + /* JADX WARNING: Code restructure failed: missing block: B:14:0x0058, code lost: + r5[r10] = r8; + r4 = r4 + 1; + */ + public q a() { + this.f1313c = true; + int i = this.b; + Object[] objArr = this.a; + if (i == 0) { + return (i0) i0.l; + } + int[] iArr = null; + int i2 = 0; + if (i == 1) { + f.u(objArr[0], objArr[1]); + return new i0(null, objArr, 1); + } + f.x(i, objArr.length >> 1); + int k = r.k(i); + if (i == 1) { + f.u(objArr[0], objArr[1]); + } else { + int i3 = k - 1; + int[] iArr2 = new int[k]; + Arrays.fill(iArr2, -1); + while (i2 < i) { + int i4 = i2 * 2; + int i5 = i4 + 0; + Object obj = objArr[i5]; + Object obj2 = objArr[i4 + 1]; + f.u(obj, obj2); + int P0 = f.P0(obj.hashCode()); + while (true) { + int i6 = P0 & i3; + int i7 = iArr2[i6]; + if (i7 == -1) { + break; + } else if (!objArr[i7].equals(obj)) { + P0 = i6 + 1; + } else { + throw new IllegalArgumentException("Multiple entries with same key: " + obj + "=" + obj2 + " and " + objArr[i7] + "=" + objArr[1 ^ i7]); + } + } + } + iArr = iArr2; + } + return new i0(iArr, objArr, i); + } + + public final void b(int i) { + int i2 = i * 2; + Object[] objArr = this.a; + if (i2 > objArr.length) { + this.a = Arrays.copyOf(objArr, n.b.a(objArr.length, i2)); + this.f1313c = false; + } + } + + @CanIgnoreReturnValue + public a c(K k, V v) { + b(this.b + 1); + f.u(k, v); + Object[] objArr = this.a; + int i = this.b; + objArr[i * 2] = k; + objArr[(i * 2) + 1] = v; + this.b = i + 1; + return this; + } + } + + /* compiled from: ImmutableMap */ + public static class b implements Serializable { + private static final long serialVersionUID = 0; + private final Object[] keys; + private final Object[] values; + + public b(q qVar) { + this.keys = new Object[qVar.size()]; + this.values = new Object[qVar.size()]; + s0> j = qVar.entrySet().iterator(); + int i = 0; + while (j.hasNext()) { + Map.Entry next = j.next(); + this.keys[i] = next.getKey(); + this.values[i] = next.getValue(); + i++; + } + } + + /* JADX DEBUG: Multi-variable search result rejected for r0v0, resolved type: c.i.b.b.q$a */ + /* JADX WARN: Multi-variable type inference failed */ + public Object readResolve() { + a aVar = new a(this.keys.length); + int i = 0; + while (true) { + Object[] objArr = this.keys; + if (i >= objArr.length) { + return aVar.a(); + } + aVar.c(objArr[i], this.values[i]); + i++; + } + } + } + + /* JADX DEBUG: Multi-variable search result rejected for r2v0, resolved type: c.i.b.b.q$a */ + /* JADX WARN: Multi-variable type inference failed */ + public static q a(Map map) { + if ((map instanceof q) && !(map instanceof SortedMap)) { + q qVar = (q) map; + if (!qVar.f()) { + return qVar; + } + } + Set> entrySet = map.entrySet(); + boolean z2 = entrySet instanceof Collection; + a aVar = new a(z2 ? entrySet.size() : 4); + if (z2) { + aVar.b(entrySet.size() + aVar.b); + } + Iterator it = entrySet.iterator(); + while (it.hasNext()) { + Map.Entry entry = (Map.Entry) it.next(); + aVar.c(entry.getKey(), entry.getValue()); + } + return aVar.a(); + } + + public abstract r> b(); + + public abstract r c(); + @Override // java.util.Map - public void clear() { - ((e0.b) this).i.clear(); + @Deprecated + public final void clear() { + throw new UnsupportedOperationException(); } @Override // java.util.Map public boolean containsKey(@NullableDecl Object obj) { - return ((e0.b) this).i.containsKey(obj); + return get(obj) != null; } @Override // java.util.Map public boolean containsValue(@NullableDecl Object obj) { - return ((e0.b) this).i.containsValue(obj); + n nVar = this.k; + if (nVar == null) { + nVar = d(); + this.k = nVar; + } + return nVar.contains(obj); } - @Override // java.util.Map - public Set> entrySet() { - return ((e0.b) this).i.entrySet(); + public abstract n d(); + + /* renamed from: e */ + public r> entrySet() { + r> rVar = this.i; + if (rVar != null) { + return rVar; + } + r> b2 = b(); + this.i = b2; + return b2; } @Override // java.util.Map, java.lang.Object public boolean equals(@NullableDecl Object obj) { - return obj == this || ((e0.b) this).i.equals(obj); + if (this == obj) { + return true; + } + if (obj instanceof Map) { + return entrySet().equals(((Map) obj).entrySet()); + } + return false; } + public abstract boolean f(); + @Override // java.util.Map - public V get(@NullableDecl Object obj) { - return ((e0.b) this).i.get(obj); + public abstract V get(@NullableDecl Object obj); + + @Override // java.util.Map + public final V getOrDefault(@NullableDecl Object obj, @NullableDecl V v) { + V v2 = get(obj); + return v2 != null ? v2 : v; } @Override // java.util.Map, java.lang.Object public int hashCode() { - return ((e0.b) this).i.hashCode(); + return h.a(entrySet()); } @Override // java.util.Map public boolean isEmpty() { - return ((e0.b) this).i.isEmpty(); + return size() == 0; } @Override // java.util.Map - public Set keySet() { - return ((e0.b) this).i.keySet(); + public Set keySet() { + r rVar = this.j; + if (rVar != null) { + return rVar; + } + r c2 = c(); + this.j = c2; + return c2; } @Override // java.util.Map @CanIgnoreReturnValue - public V put(K k, V v) { - return ((e0.b) this).i.put(k, v); + @Deprecated + public final V put(K k, V v) { + throw new UnsupportedOperationException(); } @Override // java.util.Map - public void putAll(Map map) { - ((e0.b) this).i.putAll(map); + @Deprecated + public final void putAll(Map map) { + throw new UnsupportedOperationException(); } @Override // java.util.Map @CanIgnoreReturnValue - public V remove(Object obj) { - return ((e0.b) this).i.remove(obj); + @Deprecated + public final V remove(Object obj) { + throw new UnsupportedOperationException(); + } + + @Override // java.lang.Object + public String toString() { + int size = size(); + f.v(size, "size"); + StringBuilder sb = new StringBuilder((int) Math.min(((long) size) * 8, (long) Permission.MANAGE_EMOJIS_AND_STICKERS)); + sb.append('{'); + boolean z2 = true; + for (Map.Entry entry : entrySet()) { + if (!z2) { + sb.append(", "); + } + z2 = false; + sb.append(entry.getKey()); + sb.append('='); + sb.append(entry.getValue()); + } + sb.append('}'); + return sb.toString(); } @Override // java.util.Map - public int size() { - return ((e0.b) this).i.size(); + public Collection values() { + n nVar = this.k; + if (nVar != null) { + return nVar; + } + n d = d(); + this.k = d; + return d; } - @Override // java.util.Map - public Collection values() { - return ((e0.b) this).i.values(); + public Object writeReplace() { + return new b(this); } } diff --git a/app/src/main/java/c/i/b/b/q0.java b/app/src/main/java/c/i/b/b/q0.java index 2dc76ad2ac..5b74e45e13 100644 --- a/app/src/main/java/c/i/b/b/q0.java +++ b/app/src/main/java/c/i/b/b/q0.java @@ -1,51 +1,77 @@ package c.i.b.b; -import c.i.a.f.e.o.c; -/* compiled from: RegularImmutableList */ -public class q0 extends u { - public static final u k = new q0(new Object[0], 0); - public final transient Object[] l; - public final transient int m; +import c.d.b.a.a; +import com.google.errorprone.annotations.concurrent.LazyInit; +import java.util.Objects; +/* compiled from: SingletonImmutableSet */ +public final class q0 extends r { + public final transient E l; + @LazyInit + public transient int m; - public q0(Object[] objArr, int i) { - this.l = objArr; + public q0(E e) { + Objects.requireNonNull(e); + this.l = e; + } + + public q0(E e, int i) { + this.l = e; this.m = i; } - @Override // c.i.b.b.u, c.i.b.b.s + @Override // c.i.b.b.n, java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean contains(Object obj) { + return this.l.equals(obj); + } + + @Override // c.i.b.b.n public int d(Object[] objArr, int i) { - System.arraycopy(this.l, 0, objArr, i, this.m); - return i + this.m; + objArr[i] = this.l; + return i + 1; } - @Override // c.i.b.b.s - public Object[] e() { - return this.l; + @Override // c.i.b.b.r, java.util.Collection, java.lang.Object, java.util.Set + public final int hashCode() { + int i = this.m; + if (i != 0) { + return i; + } + int hashCode = this.l.hashCode(); + this.m = hashCode; + return hashCode; } - @Override // c.i.b.b.s - public int g() { - return this.m; - } - - @Override // java.util.List - public E get(int i) { - c.k(i, this.m); - return (E) this.l[i]; - } - - @Override // c.i.b.b.s - public int h() { - return 0; - } - - @Override // c.i.b.b.s + @Override // c.i.b.b.n public boolean i() { return false; } - @Override // java.util.AbstractCollection, java.util.Collection, java.util.List + @Override // c.i.b.b.n + /* renamed from: j */ + public s0 iterator() { + return new s(this.l); + } + + @Override // c.i.b.b.r + public p o() { + return p.u(this.l); + } + + @Override // c.i.b.b.r + public boolean p() { + return this.m != 0; + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set public int size() { - return this.m; + return 1; + } + + @Override // java.util.AbstractCollection, java.lang.Object + public String toString() { + StringBuilder N = a.N('['); + N.append(this.l.toString()); + N.append(']'); + return N.toString(); } } diff --git a/app/src/main/java/c/i/b/b/r.java b/app/src/main/java/c/i/b/b/r.java index 9363697c5e..55732809d0 100644 --- a/app/src/main/java/c/i/b/b/r.java +++ b/app/src/main/java/c/i/b/b/r.java @@ -1,9 +1,182 @@ package c.i.b.b; -import c.i.b.b.e0; -/* compiled from: ForwardingObject */ -public abstract class r { - public String toString() { - return ((e0.b) this).i.toString(); +import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; +import c.i.a.f.e.o.f; +import com.google.errorprone.annotations.concurrent.LazyInit; +import com.google.j2objc.annotations.RetainedWith; +import java.io.Serializable; +import java.util.Arrays; +import java.util.Collection; +import java.util.Iterator; +import java.util.Set; +import java.util.SortedSet; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; +/* compiled from: ImmutableSet */ +public abstract class r extends n implements Set { + public static final /* synthetic */ int j = 0; + @NullableDecl + @RetainedWith + @LazyInit + public transient p k; + + /* compiled from: ImmutableSet */ + public static class a implements Serializable { + private static final long serialVersionUID = 0; + public final Object[] elements; + + public a(Object[] objArr) { + this.elements = objArr; + } + + public Object readResolve() { + return r.n(this.elements); + } + } + + public static int k(int i) { + int max = Math.max(i, 2); + boolean z2 = true; + if (max < 751619276) { + int highestOneBit = Integer.highestOneBit(max - 1) << 1; + while (((double) highestOneBit) * 0.7d < ((double) max)) { + highestOneBit <<= 1; + } + return highestOneBit; + } + if (max >= 1073741824) { + z2 = false; + } + if (z2) { + return BasicMeasure.EXACTLY; + } + throw new IllegalArgumentException("collection too large"); + } + + public static r l(int i, Object... objArr) { + if (i == 0) { + return j0.l; + } + boolean z2 = false; + if (i == 1) { + return new q0(objArr[0]); + } + int k = k(i); + Object[] objArr2 = new Object[k]; + int i2 = k - 1; + int i3 = 0; + int i4 = 0; + for (int i5 = 0; i5 < i; i5++) { + Object obj = objArr[i5]; + f.t(obj, i5); + int hashCode = obj.hashCode(); + int P0 = f.P0(hashCode); + while (true) { + int i6 = P0 & i2; + Object obj2 = objArr2[i6]; + if (obj2 == null) { + objArr[i4] = obj; + objArr2[i6] = obj; + i3 += hashCode; + i4++; + break; + } else if (obj2.equals(obj)) { + break; + } else { + P0++; + } + } + } + Arrays.fill(objArr, i4, i, (Object) null); + if (i4 == 1) { + return new q0(objArr[0], i3); + } + if (k(i4) < k / 2) { + return l(i4, objArr); + } + int length = objArr.length; + if (i4 < (length >> 1) + (length >> 2)) { + z2 = true; + } + if (z2) { + objArr = Arrays.copyOf(objArr, i4); + } + return new j0(objArr, i3, objArr2, i2, i4); + } + + public static r m(Collection collection) { + if ((collection instanceof r) && !(collection instanceof SortedSet)) { + r rVar = (r) collection; + if (!rVar.i()) { + return rVar; + } + } + Object[] array = collection.toArray(); + return l(array.length, array); + } + + public static r n(E[] eArr) { + int length = eArr.length; + return length != 0 ? length != 1 ? l(eArr.length, (Object[]) eArr.clone()) : new q0(eArr[0]) : j0.l; + } + + public static r r(E e, E e2, E e3) { + return l(3, e, e2, e3); + } + + @Override // c.i.b.b.n + public p c() { + p pVar = this.k; + if (pVar != null) { + return pVar; + } + p o = o(); + this.k = o; + return o; + } + + @Override // java.util.Collection, java.lang.Object, java.util.Set + public boolean equals(@NullableDecl Object obj) { + if (obj == this) { + return true; + } + if ((obj instanceof r) && p() && ((r) obj).p() && hashCode() != obj.hashCode()) { + return false; + } + if (this == obj) { + return true; + } + if (obj instanceof Set) { + Set set = (Set) obj; + try { + if (size() == set.size() && containsAll(set)) { + return true; + } + } catch (ClassCastException | NullPointerException unused) { + } + } + return false; + } + + @Override // java.util.Collection, java.lang.Object, java.util.Set + public int hashCode() { + return h.a(this); + } + + @Override // c.i.b.b.n, java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.Set + public /* bridge */ /* synthetic */ Iterator iterator() { + return iterator(); + } + + public p o() { + return p.k(toArray()); + } + + public boolean p() { + return this instanceof j0; + } + + @Override // c.i.b.b.n + public Object writeReplace() { + return new a(toArray()); } } diff --git a/app/src/main/java/c/i/b/b/r0.java b/app/src/main/java/c/i/b/b/r0.java index 908a156890..bd256130cb 100644 --- a/app/src/main/java/c/i/b/b/r0.java +++ b/app/src/main/java/c/i/b/b/r0.java @@ -1,227 +1,29 @@ package c.i.b.b; -import java.util.AbstractMap; +import java.util.Iterator; import java.util.Map; -import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: RegularImmutableMap */ -public final class r0 extends w { - public static final w l = new r0(null, new Object[0], 0); - private static final long serialVersionUID = 0; - public final transient int[] m; - public final transient Object[] n; - public final transient int o; +import java.util.Objects; +/* compiled from: TransformedIterator */ +public abstract class r0 implements Iterator { + public final Iterator i; - /* compiled from: RegularImmutableMap */ - public static class a extends z> { - public final transient w l; - public final transient Object[] m; - public final transient int n; - public final transient int o; - - /* compiled from: RegularImmutableMap */ - /* renamed from: c.i.b.b.r0$a$a reason: collision with other inner class name */ - public class C0129a extends u> { - public C0129a() { - } - - @Override // java.util.List - public Object get(int i) { - c.i.a.f.e.o.c.k(i, a.this.o); - a aVar = a.this; - Object[] objArr = aVar.m; - int i2 = i * 2; - int i3 = aVar.n; - return new AbstractMap.SimpleImmutableEntry(objArr[i2 + i3], objArr[i2 + (i3 ^ 1)]); - } - - @Override // c.i.b.b.s - public boolean i() { - return true; - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.List - public int size() { - return a.this.o; - } - } - - public a(w wVar, Object[] objArr, int i, int i2) { - this.l = wVar; - this.m = objArr; - this.n = i; - this.o = i2; - } - - @Override // c.i.b.b.s, java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean contains(Object obj) { - if (!(obj instanceof Map.Entry)) { - return false; - } - Map.Entry entry = (Map.Entry) obj; - Object key = entry.getKey(); - Object value = entry.getValue(); - return value != null && value.equals(this.l.get(key)); - } - - @Override // c.i.b.b.s - public int d(Object[] objArr, int i) { - return c().d(objArr, i); - } - - @Override // c.i.b.b.s - public boolean i() { - return true; - } - - @Override // c.i.b.b.s - /* renamed from: j */ - public d1> iterator() { - return c().listIterator(); - } - - @Override // c.i.b.b.z - public u> o() { - return new C0129a(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public int size() { - return this.o; - } + public r0(Iterator it) { + Objects.requireNonNull(it); + this.i = it; } - /* compiled from: RegularImmutableMap */ - public static final class b extends z { - public final transient w l; - public final transient u m; - - public b(w wVar, u uVar) { - this.l = wVar; - this.m = uVar; - } - - @Override // c.i.b.b.z, c.i.b.b.s - public u c() { - return this.m; - } - - @Override // c.i.b.b.s, java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean contains(@NullableDecl Object obj) { - return this.l.get(obj) != null; - } - - @Override // c.i.b.b.s - public int d(Object[] objArr, int i) { - return this.m.d(objArr, i); - } - - @Override // c.i.b.b.s - public boolean i() { - return true; - } - - @Override // c.i.b.b.s - /* renamed from: j */ - public d1 iterator() { - return this.m.listIterator(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public int size() { - return this.l.size(); - } + @Override // java.util.Iterator + public final boolean hasNext() { + return this.i.hasNext(); } - /* compiled from: RegularImmutableMap */ - public static final class c extends u { - public final transient Object[] k; - public final transient int l; - public final transient int m; - - public c(Object[] objArr, int i, int i2) { - this.k = objArr; - this.l = i; - this.m = i2; - } - - @Override // java.util.List - public Object get(int i) { - c.i.a.f.e.o.c.k(i, this.m); - return this.k[(i * 2) + this.l]; - } - - @Override // c.i.b.b.s - public boolean i() { - return true; - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.List - public int size() { - return this.m; - } + @Override // java.util.Iterator + public final T next() { + return (T) ((Map.Entry) this.i.next()).getValue(); } - public r0(int[] iArr, Object[] objArr, int i) { - this.m = iArr; - this.n = objArr; - this.o = i; - } - - @Override // c.i.b.b.w - public z> a() { - return new a(this, this.n, 0, this.o); - } - - @Override // c.i.b.b.w - public z b() { - return new b(this, new c(this.n, 0, this.o)); - } - - @Override // c.i.b.b.w - public s c() { - return new c(this.n, 1, this.o); - } - - @Override // c.i.b.b.w - public boolean e() { - return false; - } - - @Override // c.i.b.b.w, java.util.Map - @NullableDecl - public V get(@NullableDecl Object obj) { - int[] iArr = this.m; - Object[] objArr = this.n; - int i = this.o; - if (obj == null) { - return null; - } - if (i == 1) { - if (objArr[0].equals(obj)) { - return (V) objArr[1]; - } - return null; - } else if (iArr == null) { - return null; - } else { - int length = iArr.length - 1; - int i02 = c.i.a.f.e.o.c.i0(obj.hashCode()); - while (true) { - int i2 = i02 & length; - int i3 = iArr[i2]; - if (i3 == -1) { - return null; - } - if (objArr[i3].equals(obj)) { - return (V) objArr[i3 ^ 1]; - } - i02 = i2 + 1; - } - } - } - - @Override // java.util.Map - public int size() { - return this.o; + @Override // java.util.Iterator + public final void remove() { + this.i.remove(); } } diff --git a/app/src/main/java/c/i/b/b/s.java b/app/src/main/java/c/i/b/b/s.java index ecb1ced2de..3e5ad009a4 100644 --- a/app/src/main/java/c/i/b/b/s.java +++ b/app/src/main/java/c/i/b/b/s.java @@ -1,153 +1,27 @@ package c.i.b.b; -import c.i.a.f.e.o.c; -import c.i.b.b.u; -import com.google.errorprone.annotations.CanIgnoreReturnValue; -import java.io.Serializable; -import java.lang.reflect.Array; -import java.util.AbstractCollection; -import java.util.Arrays; -import java.util.Collection; -import java.util.Objects; -import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: ImmutableCollection */ -public abstract class s extends AbstractCollection implements Serializable { - public static final Object[] i = new Object[0]; +import java.util.NoSuchElementException; +/* compiled from: Iterators */ +public final class s extends s0 { + public boolean i; + public final /* synthetic */ Object j; - /* compiled from: ImmutableCollection */ - public static abstract class a extends b { - public Object[] a; - public int b = 0; + public s(Object obj) { + this.j = obj; + } - /* renamed from: c reason: collision with root package name */ - public boolean f1360c; + @Override // java.util.Iterator + public boolean hasNext() { + return !this.i; + } - public a(int i) { - c.n(i, "initialCapacity"); - this.a = new Object[i]; + /* JADX WARNING: Unknown variable types count: 1 */ + @Override // java.util.Iterator + public T next() { + if (!this.i) { + this.i = true; + return this.j; } - } - - /* compiled from: ImmutableCollection */ - public static abstract class b { - public static int a(int i, int i2) { - if (i2 >= 0) { - int i3 = i + (i >> 1) + 1; - if (i3 < i2) { - i3 = Integer.highestOneBit(i2 - 1) << 1; - } - if (i3 < 0) { - return Integer.MAX_VALUE; - } - return i3; - } - throw new AssertionError("cannot store more than MAX_VALUE elements"); - } - } - - @Override // java.util.AbstractCollection, java.util.Collection - @CanIgnoreReturnValue - @Deprecated - public final boolean add(E e) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.AbstractCollection, java.util.Collection - @CanIgnoreReturnValue - @Deprecated - public final boolean addAll(Collection collection) { - throw new UnsupportedOperationException(); - } - - public u c() { - if (!isEmpty()) { - return u.k(toArray()); - } - a aVar = u.j; - return (u) q0.k; - } - - @Override // java.util.AbstractCollection, java.util.Collection - @Deprecated - public final void clear() { - throw new UnsupportedOperationException(); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public abstract boolean contains(@NullableDecl Object obj); - - @CanIgnoreReturnValue - public int d(Object[] objArr, int i2) { - d1 j = iterator(); - while (j.hasNext()) { - objArr[i2] = j.next(); - i2++; - } - return i2; - } - - public Object[] e() { - return null; - } - - public int g() { - throw new UnsupportedOperationException(); - } - - public int h() { - throw new UnsupportedOperationException(); - } - - public abstract boolean i(); - - /* renamed from: j */ - public abstract d1 iterator(); - - @Override // java.util.AbstractCollection, java.util.Collection - @CanIgnoreReturnValue - @Deprecated - public final boolean remove(Object obj) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.AbstractCollection, java.util.Collection - @CanIgnoreReturnValue - @Deprecated - public final boolean removeAll(Collection collection) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.AbstractCollection, java.util.Collection - @CanIgnoreReturnValue - @Deprecated - public final boolean retainAll(Collection collection) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.AbstractCollection, java.util.Collection - public final Object[] toArray() { - return toArray(i); - } - - @Override // java.util.AbstractCollection, java.util.Collection - @CanIgnoreReturnValue - public final T[] toArray(T[] tArr) { - Objects.requireNonNull(tArr); - int size = size(); - if (tArr.length < size) { - Object[] e = e(); - if (e != null) { - return (T[]) Arrays.copyOfRange(e, h(), g(), tArr.getClass()); - } - tArr = (T[]) ((Object[]) Array.newInstance(tArr.getClass().getComponentType(), size)); - } else if (tArr.length > size) { - tArr[size] = null; - } - d(tArr, 0); - return tArr; - } - - public Object writeReplace() { - return new u.c(toArray()); + throw new NoSuchElementException(); } } diff --git a/app/src/main/java/c/i/b/b/s0.java b/app/src/main/java/c/i/b/b/s0.java index fe0a861af8..2000eefebb 100644 --- a/app/src/main/java/c/i/b/b/s0.java +++ b/app/src/main/java/c/i/b/b/s0.java @@ -1,88 +1,11 @@ package c.i.b.b; -import c.i.a.f.e.o.c; -import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: RegularImmutableSet */ -public final class s0 extends z { - public static final s0 l = new s0<>(new Object[0], 0, null, 0, 0); - public final transient Object[] m; - public final transient Object[] n; - public final transient int o; - public final transient int p; - public final transient int q; - - public s0(Object[] objArr, int i, Object[] objArr2, int i2, int i3) { - this.m = objArr; - this.n = objArr2; - this.o = i2; - this.p = i; - this.q = i3; - } - - @Override // c.i.b.b.s, java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean contains(@NullableDecl Object obj) { - Object[] objArr = this.n; - if (obj == null || objArr == null) { - return false; - } - int j0 = c.j0(obj); - while (true) { - int i = j0 & this.o; - Object obj2 = objArr[i]; - if (obj2 == null) { - return false; - } - if (obj2.equals(obj)) { - return true; - } - j0 = i + 1; - } - } - - @Override // c.i.b.b.s - public int d(Object[] objArr, int i) { - System.arraycopy(this.m, 0, objArr, i, this.q); - return i + this.q; - } - - @Override // c.i.b.b.s - public Object[] e() { - return this.m; - } - - @Override // c.i.b.b.s - public int g() { - return this.q; - } - - @Override // c.i.b.b.s - public int h() { - return 0; - } - - @Override // c.i.b.b.z, java.util.Collection, java.lang.Object, java.util.Set - public int hashCode() { - return this.p; - } - - @Override // c.i.b.b.s - public boolean i() { - return false; - } - - @Override // c.i.b.b.s - /* renamed from: j */ - public d1 iterator() { - return c().listIterator(); - } - - @Override // c.i.b.b.z - public u o() { - return u.l(this.m, this.q); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public int size() { - return this.q; +import java.util.Iterator; +/* compiled from: UnmodifiableIterator */ +public abstract class s0 implements Iterator { + @Override // java.util.Iterator + @Deprecated + public final void remove() { + throw new UnsupportedOperationException(); } } diff --git a/app/src/main/java/c/i/b/b/t.java b/app/src/main/java/c/i/b/b/t.java index 446602cbdf..c27f64cf40 100644 --- a/app/src/main/java/c/i/b/b/t.java +++ b/app/src/main/java/c/i/b/b/t.java @@ -1,34 +1,24 @@ package c.i.b.b; -import java.io.Serializable; -import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: ImmutableEntry */ -public class t extends e implements Serializable { - private static final long serialVersionUID = 0; - @NullableDecl - public final K key; - @NullableDecl - public final V value; +import c.i.a.f.e.o.f; +import java.util.Iterator; +import java.util.NoSuchElementException; +/* compiled from: Iterators */ +public enum t implements Iterator { + INSTANCE; - public t(@NullableDecl K k, @NullableDecl V v) { - this.key = k; - this.value = v; + @Override // java.util.Iterator + public boolean hasNext() { + return false; } - @Override // c.i.b.b.e, java.util.Map.Entry - @NullableDecl - public final K getKey() { - return this.key; + @Override // java.util.Iterator + public Object next() { + throw new NoSuchElementException(); } - @Override // c.i.b.b.e, java.util.Map.Entry - @NullableDecl - public final V getValue() { - return this.value; - } - - @Override // java.util.Map.Entry - public final V setValue(V v) { - throw new UnsupportedOperationException(); + @Override // java.util.Iterator + public void remove() { + f.z(false); } } diff --git a/app/src/main/java/c/i/b/b/t0.java b/app/src/main/java/c/i/b/b/t0.java deleted file mode 100644 index 4da01c64a4..0000000000 --- a/app/src/main/java/c/i/b/b/t0.java +++ /dev/null @@ -1,34 +0,0 @@ -package c.i.b.b; - -import java.io.Serializable; -import java.util.Objects; -/* compiled from: ReverseNaturalOrdering */ -public final class t0 extends p0 implements Serializable { - public static final t0 i = new t0(); - private static final long serialVersionUID = 0; - - private Object readResolve() { - return i; - } - - @Override // c.i.b.b.p0 - public p0 b() { - return o0.i; - } - - @Override // c.i.b.b.p0, java.util.Comparator - public int compare(Object obj, Object obj2) { - Comparable comparable = (Comparable) obj; - Comparable comparable2 = (Comparable) obj2; - Objects.requireNonNull(comparable); - if (comparable == comparable2) { - return 0; - } - return comparable2.compareTo(comparable); - } - - @Override // java.lang.Object - public String toString() { - return "Ordering.natural().reverse()"; - } -} diff --git a/app/src/main/java/c/i/b/b/u.java b/app/src/main/java/c/i/b/b/u.java index 552798f9ec..e8c4aff291 100644 --- a/app/src/main/java/c/i/b/b/u.java +++ b/app/src/main/java/c/i/b/b/u.java @@ -1,332 +1,111 @@ package c.i.b.b; -import c.i.b.b.s; -import com.google.errorprone.annotations.CanIgnoreReturnValue; -import java.io.InvalidObjectException; -import java.io.ObjectInputStream; -import java.io.Serializable; -import java.util.Arrays; -import java.util.Collection; -import java.util.Iterator; -import java.util.List; -import java.util.ListIterator; +import c.i.a.f.e.o.f; +import c.i.b.a.d; +import c.i.b.a.g; +import c.i.b.b.v; import java.util.Objects; -import java.util.RandomAccess; -import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: ImmutableList */ -public abstract class u extends s implements List, RandomAccess { - public static final a j = new b(q0.k, 0); +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentMap; +import org.checkerframework.checker.nullness.compatqual.MonotonicNonNullDecl; +/* compiled from: MapMaker */ +public final class u { + public boolean a; + public int b = -1; - /* compiled from: ImmutableList */ - public static final class a extends s.a { - public a() { - super(4); - } + /* renamed from: c reason: collision with root package name */ + public int f1314c = -1; + @MonotonicNonNullDecl + public v.p d; + @MonotonicNonNullDecl + public v.p e; + @MonotonicNonNullDecl + public d f; - @CanIgnoreReturnValue - public a b(E e) { - Objects.requireNonNull(e); - int i = this.b + 1; - Object[] objArr = this.a; - if (objArr.length < i) { - this.a = Arrays.copyOf(objArr, s.b.a(objArr.length, i)); - this.f1360c = false; - } else if (this.f1360c) { - this.a = (Object[]) objArr.clone(); - this.f1360c = false; + public v.p a() { + return (v.p) f.O(this.d, v.p.STRONG); + } + + public v.p b() { + return (v.p) f.O(this.e, v.p.STRONG); + } + + public ConcurrentMap c() { + if (!this.a) { + int i = this.b; + if (i == -1) { + i = 16; } - Object[] objArr2 = this.a; - int i2 = this.b; - this.b = i2 + 1; - objArr2[i2] = e; - return this; + int i2 = this.f1314c; + if (i2 == -1) { + i2 = 4; + } + return new ConcurrentHashMap(i, 0.75f, i2); } - - public u c() { - this.f1360c = true; - return u.l(this.a, this.b); + v.b0 b0Var = v.i; + v.p pVar = v.p.WEAK; + v.p a = a(); + v.p pVar2 = v.p.STRONG; + if (a == pVar2 && b() == pVar2) { + return new v(this, v.q.a.a); } + if (a() == pVar2 && b() == pVar) { + return new v(this, v.s.a.a); + } + if (a() == pVar && b() == pVar2) { + return new v(this, v.w.a.a); + } + if (a() == pVar && b() == pVar) { + return new v(this, v.y.a.a); + } + throw new AssertionError(); } - /* compiled from: ImmutableList */ - public static class b extends a { - public final u k; - - public b(u uVar, int i) { - super(uVar.size(), i); - this.k = uVar; + public u d(v.p pVar) { + v.p pVar2 = this.d; + f.B(pVar2 == null, "Key strength was already set to %s", pVar2); + Objects.requireNonNull(pVar); + this.d = pVar; + if (pVar != v.p.STRONG) { + this.a = true; } - - @Override // c.i.b.b.a - public E a(int i) { - return this.k.get(i); - } - } - - /* compiled from: ImmutableList */ - public static class c implements Serializable { - private static final long serialVersionUID = 0; - public final Object[] elements; - - public c(Object[] objArr) { - this.elements = objArr; - } - - public Object readResolve() { - Object[] objArr = this.elements; - a aVar = u.j; - return objArr.length == 0 ? q0.k : u.m((Object[]) objArr.clone()); - } - } - - /* compiled from: ImmutableList */ - public class d extends u { - public final transient int k; - public final transient int l; - - public d(int i, int i2) { - this.k = i; - this.l = i2; - } - - @Override // c.i.b.b.s - public Object[] e() { - return u.this.e(); - } - - @Override // c.i.b.b.s - public int g() { - return u.this.h() + this.k + this.l; - } - - @Override // java.util.List - public E get(int i) { - c.i.a.f.e.o.c.k(i, this.l); - return u.this.get(i + this.k); - } - - @Override // c.i.b.b.s - public int h() { - return u.this.h() + this.k; - } - - @Override // c.i.b.b.s - public boolean i() { - return true; - } - - @Override // c.i.b.b.u, c.i.b.b.s, java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.Set - public Iterator iterator() { - return listIterator(); - } - - @Override // c.i.b.b.u, java.util.List - public /* bridge */ /* synthetic */ ListIterator listIterator() { - return listIterator(); - } - - @Override // c.i.b.b.u, java.util.List - public /* bridge */ /* synthetic */ ListIterator listIterator(int i) { - return listIterator(i); - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.List - public int size() { - return this.l; - } - - @Override // c.i.b.b.u - /* renamed from: v */ - public u subList(int i, int i2) { - c.i.a.f.e.o.c.p(i, i2, this.l); - u uVar = u.this; - int i3 = this.k; - return uVar.subList(i + i3, i2 + i3); - } - } - - public static u k(Object[] objArr) { - return l(objArr, objArr.length); - } - - public static u l(Object[] objArr, int i) { - return i == 0 ? (u) q0.k : new q0(objArr, i); - } - - public static u m(Object... objArr) { - int length = objArr.length; - for (int i = 0; i < length; i++) { - c.i.a.f.e.o.c.l(objArr[i], i); - } - return l(objArr, objArr.length); - } - - public static u n(Collection collection) { - if (!(collection instanceof s)) { - return m(collection.toArray()); - } - u c2 = ((s) collection).c(); - return c2.i() ? k(c2.toArray()) : c2; - } - - private void readObject(ObjectInputStream objectInputStream) throws InvalidObjectException { - throw new InvalidObjectException("Use SerializedForm"); - } - - public static u t(E e) { - return m(e); - } - - public static u u(E e, E e2, E e3, E e4, E e5) { - return m(e, e2, e3, e4, e5); - } - - @Override // java.util.List - @Deprecated - public final void add(int i, E e) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.List - @CanIgnoreReturnValue - @Deprecated - public final boolean addAll(int i, Collection collection) { - throw new UnsupportedOperationException(); - } - - @Override // c.i.b.b.s - public final u c() { return this; } - @Override // c.i.b.b.s, java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean contains(@NullableDecl Object obj) { - return indexOf(obj) >= 0; - } - - @Override // c.i.b.b.s - public int d(Object[] objArr, int i) { - int size = size(); - for (int i2 = 0; i2 < size; i2++) { - objArr[i + i2] = get(i2); + public String toString() { + g gVar = new g(u.class.getSimpleName(), null); + int i = this.b; + if (i != -1) { + gVar.a("initialCapacity", i); } - return i + size; - } - - /* JADX WARNING: Removed duplicated region for block: B:17:0x003f */ - @Override // java.util.Collection, java.lang.Object, java.util.List - public boolean equals(@NullableDecl Object obj) { - if (obj != this) { - if (!(obj instanceof List)) { - return false; - } - List list = (List) obj; - int size = size(); - if (size != list.size()) { - return false; - } - if (list instanceof RandomAccess) { - for (int i = 0; i < size; i++) { - if (!c.i.a.f.e.o.c.B(get(i), list.get(i))) { - return false; - } - } - } else { - Iterator it = list.iterator(); - for (E e : this) { - if (!it.hasNext() || !c.i.a.f.e.o.c.B(e, it.next())) { - return false; - } - while (r2.hasNext()) { - } - } - return !it.hasNext(); - } + int i2 = this.f1314c; + if (i2 != -1) { + gVar.a("concurrencyLevel", i2); } - return true; - } - - @Override // java.util.Collection, java.lang.Object, java.util.List - public int hashCode() { - int size = size(); - int i = 1; - for (int i2 = 0; i2 < size; i2++) { - i = ~(~(get(i2).hashCode() + (i * 31))); + v.p pVar = this.d; + if (pVar != null) { + String d1 = f.d1(pVar.toString()); + g.a aVar = new g.a(null); + gVar.f1308c.f1309c = aVar; + gVar.f1308c = aVar; + aVar.b = d1; + aVar.a = "keyStrength"; } - return i; - } - - @Override // java.util.List - public int indexOf(@NullableDecl Object obj) { - if (obj == null) { - return -1; + v.p pVar2 = this.e; + if (pVar2 != null) { + String d12 = f.d1(pVar2.toString()); + g.a aVar2 = new g.a(null); + gVar.f1308c.f1309c = aVar2; + gVar.f1308c = aVar2; + aVar2.b = d12; + aVar2.a = "valueStrength"; } - int size = size(); - for (int i = 0; i < size; i++) { - if (obj.equals(get(i))) { - return i; - } + if (this.f != null) { + g.a aVar3 = new g.a(null); + gVar.f1308c.f1309c = aVar3; + gVar.f1308c = aVar3; + aVar3.b = "keyEquivalence"; } - return -1; - } - - @Override // c.i.b.b.s, java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.Set - public Iterator iterator() { - return listIterator(); - } - - @Override // c.i.b.b.s - public d1 j() { - return listIterator(); - } - - @Override // java.util.List - public int lastIndexOf(@NullableDecl Object obj) { - if (obj == null) { - return -1; - } - for (int size = size() - 1; size >= 0; size--) { - if (obj.equals(get(size))) { - return size; - } - } - return -1; - } - - /* renamed from: o */ - public a listIterator() { - return listIterator(0); - } - - /* renamed from: q */ - public a listIterator(int i) { - c.i.a.f.e.o.c.o(i, size()); - return isEmpty() ? (a) j : new b(this, i); - } - - @Override // java.util.List - @CanIgnoreReturnValue - @Deprecated - public final E remove(int i) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.List - @CanIgnoreReturnValue - @Deprecated - public final E set(int i, E e) { - throw new UnsupportedOperationException(); - } - - /* renamed from: v */ - public u subList(int i, int i2) { - c.i.a.f.e.o.c.p(i, i2, size()); - int i3 = i2 - i; - return i3 == size() ? this : i3 == 0 ? (u) q0.k : new d(i, i3); - } - - @Override // c.i.b.b.s - public Object writeReplace() { - return new c(toArray()); + return gVar.toString(); } } diff --git a/app/src/main/java/c/i/b/b/u0.java b/app/src/main/java/c/i/b/b/u0.java deleted file mode 100644 index be03ead258..0000000000 --- a/app/src/main/java/c/i/b/b/u0.java +++ /dev/null @@ -1,45 +0,0 @@ -package c.i.b.b; - -import java.io.Serializable; -import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: ReverseOrdering */ -public final class u0 extends p0 implements Serializable { - private static final long serialVersionUID = 0; - public final p0 forwardOrder; - - public u0(p0 p0Var) { - this.forwardOrder = p0Var; - } - - /* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: c.i.b.b.p0, c.i.b.b.p0 */ - @Override // c.i.b.b.p0 - public p0 b() { - return (p0) this.forwardOrder; - } - - @Override // c.i.b.b.p0, java.util.Comparator - public int compare(T t, T t2) { - return this.forwardOrder.compare(t2, t); - } - - @Override // java.util.Comparator, java.lang.Object - public boolean equals(@NullableDecl Object obj) { - if (obj == this) { - return true; - } - if (obj instanceof u0) { - return this.forwardOrder.equals(((u0) obj).forwardOrder); - } - return false; - } - - @Override // java.lang.Object - public int hashCode() { - return -this.forwardOrder.hashCode(); - } - - @Override // java.lang.Object - public String toString() { - return this.forwardOrder + ".reverse()"; - } -} diff --git a/app/src/main/java/c/i/b/b/v.java b/app/src/main/java/c/i/b/b/v.java index be6dcdd313..9d4b3878c9 100644 --- a/app/src/main/java/c/i/b/b/v.java +++ b/app/src/main/java/c/i/b/b/v.java @@ -1,148 +1,1781 @@ package c.i.b.b; -import c.i.a.f.e.o.c; -import c.i.b.b.s; -import c.i.b.b.w; -import c.i.b.b.y; +import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; +import c.i.b.a.d; +import c.i.b.b.v.i; +import c.i.b.b.v.n; import com.google.errorprone.annotations.CanIgnoreReturnValue; +import com.google.errorprone.annotations.concurrent.GuardedBy; +import com.google.j2objc.annotations.Weak; import java.io.IOException; -import java.io.InvalidObjectException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; +import java.io.Serializable; +import java.lang.ref.Reference; +import java.lang.ref.ReferenceQueue; +import java.lang.ref.WeakReference; +import java.util.AbstractCollection; +import java.util.AbstractMap; +import java.util.AbstractSet; import java.util.ArrayList; -import java.util.Arrays; import java.util.Collection; import java.util.Iterator; -import java.util.List; import java.util.Map; +import java.util.NoSuchElementException; import java.util.Objects; import java.util.Set; -/* compiled from: ImmutableListMultimap */ -public class v extends y implements k0 { - private static final long serialVersionUID = 0; +import java.util.concurrent.ConcurrentMap; +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicReferenceArray; +import java.util.concurrent.locks.ReentrantLock; +import org.checkerframework.checker.nullness.compatqual.MonotonicNonNullDecl; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; +/* compiled from: MapMakerInternalMap */ +public class v, S extends n> extends AbstractMap implements ConcurrentMap, Serializable { + public static final b0 i = new a(); + private static final long serialVersionUID = 5; + public final int concurrencyLevel; + public final transient int j; + public final transient int k; + public final c.i.b.a.d keyEquivalence; + public final transient n[] l; + public final transient j m; + @MonotonicNonNullDecl + public transient Set n; + @MonotonicNonNullDecl + public transient Collection o; + @MonotonicNonNullDecl + public transient Set> p; - /* compiled from: ImmutableListMultimap */ - public static final class a extends y.a { - /* JADX DEBUG: Multi-variable search result rejected for r1v1, resolved type: c.i.b.b.w$a */ - /* JADX WARN: Multi-variable type inference failed */ - public v a() { - Set>> entrySet = this.a.entrySet(); - if (entrySet.isEmpty()) { - return o.n; - } - w.a aVar = new w.a(entrySet.size()); - int i = 0; - for (Map.Entry> entry : entrySet) { - K key = entry.getKey(); - u n = u.n(entry.getValue()); - if (!n.isEmpty()) { - aVar.c(key, n); - i += n.size(); - } - } - return new v<>(aVar.a(), i); + /* compiled from: MapMakerInternalMap */ + public static class a implements b0 { + /* Return type fixed from 'c.i.b.b.v$i' to match base method */ + @Override // c.i.b.b.v.b0 + public /* bridge */ /* synthetic */ e a() { + return null; } - @CanIgnoreReturnValue - public a b(K k, V... vArr) { - List asList = Arrays.asList(vArr); - Collection collection = this.a.get(k); - if (collection != null) { - for (V v : asList) { - c.m(k, v); - collection.add(v); - } - } else { - Iterator it = asList.iterator(); - if (it.hasNext()) { - ArrayList arrayList = new ArrayList(); - while (it.hasNext()) { - Object next = it.next(); - c.m(k, next); - arrayList.add(next); + /* Return type fixed from 'c.i.b.b.v$b0' to match base method */ + /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.ref.ReferenceQueue, c.i.b.b.v$i] */ + @Override // c.i.b.b.v.b0 + public b0 b(ReferenceQueue referenceQueue, e eVar) { + return this; + } + + @Override // c.i.b.b.v.b0 + public void clear() { + } + + @Override // c.i.b.b.v.b0 + public Object get() { + return null; + } + } + + /* compiled from: MapMakerInternalMap */ + public interface a0> extends i { + b0 b(); + } + + /* compiled from: MapMakerInternalMap */ + public static abstract class b extends k implements Serializable { + private static final long serialVersionUID = 3; + public final int concurrencyLevel; + public transient ConcurrentMap i; + public final c.i.b.a.d keyEquivalence; + public final p keyStrength; + public final c.i.b.a.d valueEquivalence; + public final p valueStrength; + + public b(p pVar, p pVar2, c.i.b.a.d dVar, c.i.b.a.d dVar2, int i, ConcurrentMap concurrentMap) { + this.keyStrength = pVar; + this.valueStrength = pVar2; + this.keyEquivalence = dVar; + this.valueEquivalence = dVar2; + this.concurrencyLevel = i; + this.i = concurrentMap; + } + } + + /* compiled from: MapMakerInternalMap */ + public interface b0> { + E a(); + + b0 b(ReferenceQueue referenceQueue, E e); + + void clear(); + + @NullableDecl + V get(); + } + + /* compiled from: MapMakerInternalMap */ + public static abstract class c> implements i { + public final K a; + public final int b; + @NullableDecl + + /* renamed from: c reason: collision with root package name */ + public final E f1315c; + + public c(K k, int i, @NullableDecl E e) { + this.a = k; + this.b = i; + this.f1315c = e; + } + + @Override // c.i.b.b.v.i + public E a() { + return this.f1315c; + } + + @Override // c.i.b.b.v.i + public int c() { + return this.b; + } + + @Override // c.i.b.b.v.i + public K getKey() { + return this.a; + } + } + + /* compiled from: MapMakerInternalMap */ + public static final class c0> extends WeakReference implements b0 { + @Weak + public final E a; + + public c0(ReferenceQueue referenceQueue, V v, E e) { + super(v, referenceQueue); + this.a = e; + } + + @Override // c.i.b.b.v.b0 + public E a() { + return this.a; + } + + @Override // c.i.b.b.v.b0 + public b0 b(ReferenceQueue referenceQueue, E e) { + return new c0(referenceQueue, get(), e); + } + } + + /* compiled from: MapMakerInternalMap */ + public static abstract class d> extends WeakReference implements i { + public final int a; + @NullableDecl + public final E b; + + public d(ReferenceQueue referenceQueue, K k, int i, @NullableDecl E e) { + super(k, referenceQueue); + this.a = i; + this.b = e; + } + + @Override // c.i.b.b.v.i + public E a() { + return this.b; + } + + @Override // c.i.b.b.v.i + public int c() { + return this.a; + } + + @Override // c.i.b.b.v.i + public K getKey() { + return get(); + } + } + + /* compiled from: MapMakerInternalMap */ + public final class d0 extends f { + public final K i; + public V j; + + public d0(K k, V v) { + this.i = k; + this.j = v; + } + + @Override // c.i.b.b.f, java.util.Map.Entry, java.lang.Object + public boolean equals(@NullableDecl Object obj) { + if (!(obj instanceof Map.Entry)) { + return false; + } + Map.Entry entry = (Map.Entry) obj; + return this.i.equals(entry.getKey()) && this.j.equals(entry.getValue()); + } + + @Override // c.i.b.b.f, java.util.Map.Entry + public K getKey() { + return this.i; + } + + @Override // c.i.b.b.f, java.util.Map.Entry + public V getValue() { + return this.j; + } + + @Override // c.i.b.b.f, java.util.Map.Entry, java.lang.Object + public int hashCode() { + return this.i.hashCode() ^ this.j.hashCode(); + } + + @Override // java.util.Map.Entry + public V setValue(V v) { + V v2 = (V) v.this.put(this.i, v); + this.j = v; + return v2; + } + } + + /* compiled from: MapMakerInternalMap */ + public static final class e implements i { + public e() { + throw new AssertionError(); + } + + /* Return type fixed from 'c.i.b.b.v$i' to match base method */ + @Override // c.i.b.b.v.i + public e a() { + throw new AssertionError(); + } + + @Override // c.i.b.b.v.i + public int c() { + throw new AssertionError(); + } + + @Override // c.i.b.b.v.i + public Object getKey() { + throw new AssertionError(); + } + + @Override // c.i.b.b.v.i + public Object getValue() { + throw new AssertionError(); + } + } + + /* compiled from: MapMakerInternalMap */ + public final class f extends v.h { + public f(v vVar) { + super(); + } + + @Override // java.util.Iterator + public Object next() { + return c(); + } + } + + /* compiled from: MapMakerInternalMap */ + public final class g extends m> { + public g() { + super(null); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public void clear() { + v.this.clear(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean contains(Object obj) { + Map.Entry entry; + Object key; + Object obj2; + return (obj instanceof Map.Entry) && (key = (entry = (Map.Entry) obj).getKey()) != null && (obj2 = v.this.get(key)) != null && v.this.d().c(entry.getValue(), obj2); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean isEmpty() { + return v.this.isEmpty(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set, java.lang.Iterable + public Iterator> iterator() { + return new f(v.this); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean remove(Object obj) { + Map.Entry entry; + Object key; + return (obj instanceof Map.Entry) && (key = (entry = (Map.Entry) obj).getKey()) != null && v.this.remove(key, entry.getValue()); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public int size() { + return v.this.size(); + } + } + + /* compiled from: MapMakerInternalMap */ + public abstract class h implements Iterator { + public int i; + public int j = -1; + @MonotonicNonNullDecl + public n k; + @MonotonicNonNullDecl + public AtomicReferenceArray l; + @NullableDecl + public E m; + @NullableDecl + public v.d0 n; + @NullableDecl + public v.d0 o; + + public h() { + this.i = v.this.l.length - 1; + a(); + } + + public final void a() { + this.n = null; + if (!d() && !e()) { + while (true) { + int i = this.i; + if (i >= 0) { + n[] nVarArr = v.this.l; + this.i = i - 1; + n nVar = nVarArr[i]; + this.k = nVar; + if (nVar.count != 0) { + AtomicReferenceArray atomicReferenceArray = this.k.table; + this.l = atomicReferenceArray; + this.j = atomicReferenceArray.length() - 1; + if (e()) { + return; + } + } + } else { + return; } - this.a.put(k, arrayList); } } + } + + public boolean b(E e) { + boolean z2; + try { + Object key = e.getKey(); + Objects.requireNonNull(v.this); + Object obj = null; + if (e.getKey() != null) { + Object value = e.getValue(); + if (value != null) { + obj = value; + } + } + if (obj != null) { + this.n = new d0(key, obj); + z2 = true; + } else { + z2 = false; + } + return z2; + } finally { + this.k.h(); + } + } + + public v.d0 c() { + v.d0 d0Var = this.n; + if (d0Var != null) { + this.o = d0Var; + a(); + return this.o; + } + throw new NoSuchElementException(); + } + + /* JADX WARNING: Unknown variable types count: 1 */ + public boolean d() { + i iVar = this.m; + if (iVar == null) { + return false; + } + while (true) { + this.m = iVar.a(); + E e = this.m; + if (e == 0) { + return false; + } + if (b(e)) { + return true; + } + iVar = this.m; + } + } + + /* JADX WARNING: Unknown variable types count: 1 */ + public boolean e() { + while (true) { + int i = this.j; + if (i < 0) { + return false; + } + AtomicReferenceArray atomicReferenceArray = this.l; + this.j = i - 1; + ?? r0 = (i) atomicReferenceArray.get(i); + this.m = r0; + if (r0 != 0 && (b(r0) || d())) { + return true; + } + } + } + + @Override // java.util.Iterator + public boolean hasNext() { + return this.n != null; + } + + @Override // java.util.Iterator + public void remove() { + c.i.a.f.e.o.f.z(this.o != null); + v.this.remove(this.o.i); + this.o = null; + } + } + + /* compiled from: MapMakerInternalMap */ + public interface i> { + E a(); + + int c(); + + K getKey(); + + V getValue(); + } + + /* compiled from: MapMakerInternalMap */ + public interface j, S extends n> { + E a(S s2, E e, @NullableDecl E e2); + + p b(); + + p c(); + + void d(S s2, E e, V v); + + S e(v vVar, int i, int i2); + + E f(S s2, K k, int i, @NullableDecl E e); + } + + /* compiled from: MapMakerInternalMap */ + public final class k extends v.h { + public k(v vVar) { + super(); + } + + @Override // java.util.Iterator + public K next() { + return c().i; + } + } + + /* compiled from: MapMakerInternalMap */ + public final class l extends m { + public l() { + super(null); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public void clear() { + v.this.clear(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean contains(Object obj) { + return v.this.containsKey(obj); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean isEmpty() { + return v.this.isEmpty(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set, java.lang.Iterable + public Iterator iterator() { + return new k(v.this); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean remove(Object obj) { + return v.this.remove(obj) != null; + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public int size() { + return v.this.size(); + } + } + + /* compiled from: MapMakerInternalMap */ + public static abstract class m extends AbstractSet { + public m(a aVar) { + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public Object[] toArray() { + return v.a(this).toArray(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public T[] toArray(T[] tArr) { + return (T[]) v.a(this).toArray(tArr); + } + } + + /* compiled from: MapMakerInternalMap */ + public static abstract class n, S extends n> extends ReentrantLock { + public static final /* synthetic */ int i = 0; + public volatile int count; + @Weak + public final v map; + public final int maxSegmentSize; + public int modCount; + public final AtomicInteger readCount = new AtomicInteger(); + @MonotonicNonNullDecl + public volatile AtomicReferenceArray table; + public int threshold; + + public n(v vVar, int i2, int i3) { + this.map = vVar; + this.maxSegmentSize = i3; + AtomicReferenceArray atomicReferenceArray = new AtomicReferenceArray<>(i2); + int length = (atomicReferenceArray.length() * 3) / 4; + this.threshold = length; + if (length == i3) { + this.threshold = length + 1; + } + this.table = atomicReferenceArray; + } + + public void a(ReferenceQueue referenceQueue) { + do { + } while (referenceQueue.poll() != null); + } + + /* JADX INFO: finally extract failed */ + @GuardedBy("this") + public void b(ReferenceQueue referenceQueue) { + int i2 = 0; + do { + Reference poll = referenceQueue.poll(); + if (poll != null) { + i iVar = (i) poll; + v vVar = this.map; + Objects.requireNonNull(vVar); + int c2 = iVar.c(); + n c3 = vVar.c(c2); + c3.lock(); + try { + AtomicReferenceArray atomicReferenceArray = c3.table; + int length = c2 & (atomicReferenceArray.length() - 1); + E e = atomicReferenceArray.get(length); + i iVar2 = e; + while (true) { + if (iVar2 == null) { + break; + } else if (iVar2 == iVar) { + c3.modCount++; + atomicReferenceArray.set(length, c3.j(e, iVar2)); + c3.count--; + break; + } else { + iVar2 = iVar2.a(); + } + } + c3.unlock(); + i2++; + } catch (Throwable th) { + c3.unlock(); + throw th; + } + } else { + return; + } + } while (i2 != 16); + } + + /* JADX INFO: finally extract failed */ + @GuardedBy("this") + public void c(ReferenceQueue referenceQueue) { + int i2 = 0; + do { + Reference poll = referenceQueue.poll(); + if (poll != null) { + b0 b0Var = (b0) poll; + v vVar = this.map; + Objects.requireNonNull(vVar); + E a = b0Var.a(); + int c2 = a.c(); + n c3 = vVar.c(c2); + Object key = a.getKey(); + c3.lock(); + try { + AtomicReferenceArray atomicReferenceArray = c3.table; + int length = (atomicReferenceArray.length() - 1) & c2; + E e = atomicReferenceArray.get(length); + E e2 = e; + while (true) { + if (e2 == null) { + break; + } + Object key2 = e2.getKey(); + if (e2.c() != c2 || key2 == null || !c3.map.keyEquivalence.c(key, key2)) { + e2 = (E) e2.a(); + } else if (((a0) e2).b() == b0Var) { + c3.modCount++; + atomicReferenceArray.set(length, c3.j(e, e2)); + c3.count--; + } + } + c3.unlock(); + i2++; + } catch (Throwable th) { + c3.unlock(); + throw th; + } + } else { + return; + } + } while (i2 != 16); + } + + /* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: java.util.concurrent.atomic.AtomicReferenceArray> */ + /* JADX DEBUG: Multi-variable search result rejected for r10v1, resolved type: c.i.b.b.v$j, S extends c.i.b.b.v$n> */ + /* JADX WARN: Multi-variable type inference failed */ + @GuardedBy("this") + public void d() { + AtomicReferenceArray atomicReferenceArray = this.table; + int length = atomicReferenceArray.length(); + if (length < 1073741824) { + int i2 = this.count; + AtomicReferenceArray atomicReferenceArray2 = (AtomicReferenceArray) new AtomicReferenceArray(length << 1); + this.threshold = (atomicReferenceArray2.length() * 3) / 4; + int length2 = atomicReferenceArray2.length() - 1; + for (int i3 = 0; i3 < length; i3++) { + E e = atomicReferenceArray.get(i3); + if (e != null) { + i a = e.a(); + int c2 = e.c() & length2; + if (a == null) { + atomicReferenceArray2.set(c2, e); + } else { + i iVar = e; + while (a != null) { + int c3 = a.c() & length2; + if (c3 != c2) { + iVar = a; + c2 = c3; + } + a = a.a(); + } + atomicReferenceArray2.set(c2, iVar); + while (e != iVar) { + int c4 = e.c() & length2; + i a2 = this.map.m.a(l(), e, (i) atomicReferenceArray2.get(c4)); + if (a2 != null) { + atomicReferenceArray2.set(c4, a2); + } else { + i2--; + } + e = e.a(); + } + } + } + } + this.table = atomicReferenceArray2; + this.count = i2; + } + } + + public E e(Object obj, int i2) { + if (this.count != 0) { + AtomicReferenceArray atomicReferenceArray = this.table; + for (E e = atomicReferenceArray.get((atomicReferenceArray.length() - 1) & i2); e != null; e = (E) e.a()) { + if (e.c() == i2) { + Object key = e.getKey(); + if (key == null) { + n(); + } else if (this.map.keyEquivalence.c(obj, key)) { + return e; + } + } + } + } + return null; + } + + public void f() { + } + + @GuardedBy("this") + public void g() { + } + + public void h() { + if ((this.readCount.incrementAndGet() & 63) == 0) { + k(); + } + } + + /* JADX DEBUG: Multi-variable search result rejected for r10v4, resolved type: c.i.b.b.v$j, S extends c.i.b.b.v$n> */ + /* JADX DEBUG: Multi-variable search result rejected for r9v7, resolved type: c.i.b.b.v$j, S extends c.i.b.b.v$n> */ + /* JADX WARN: Multi-variable type inference failed */ + public V i(K k, int i2, V v, boolean z2) { + lock(); + try { + k(); + int i3 = this.count + 1; + if (i3 > this.threshold) { + d(); + i3 = this.count + 1; + } + AtomicReferenceArray atomicReferenceArray = this.table; + int length = (atomicReferenceArray.length() - 1) & i2; + E e = atomicReferenceArray.get(length); + for (i iVar = e; iVar != null; iVar = iVar.a()) { + Object key = iVar.getKey(); + if (iVar.c() == i2 && key != null && this.map.keyEquivalence.c(k, key)) { + V v2 = (V) iVar.getValue(); + if (v2 == null) { + this.modCount++; + this.map.m.d(l(), iVar, v); + this.count = this.count; + return null; + } else if (z2) { + unlock(); + return v2; + } else { + this.modCount++; + this.map.m.d(l(), iVar, v); + unlock(); + return v2; + } + } + } + this.modCount++; + E f = this.map.m.f(l(), k, i2, e); + m(f, v); + atomicReferenceArray.set(length, f); + this.count = i3; + unlock(); + return null; + } finally { + unlock(); + } + } + + @GuardedBy("this") + public E j(E e, E e2) { + int i2 = this.count; + E e3 = (E) e2.a(); + while (e != e2) { + E a = this.map.m.a(l(), e, e3); + if (a != null) { + e3 = a; + } else { + i2--; + } + e = (E) e.a(); + } + this.count = i2; + return e3; + } + + public void k() { + if (tryLock()) { + try { + g(); + this.readCount.set(0); + } finally { + unlock(); + } + } + } + + public abstract S l(); + + public void m(E e, V v) { + this.map.m.d(l(), e, v); + } + + public void n() { + if (tryLock()) { + try { + g(); + } finally { + unlock(); + } + } + } + } + + /* compiled from: MapMakerInternalMap */ + public static final class o extends b { + private static final long serialVersionUID = 3; + + public o(p pVar, p pVar2, c.i.b.a.d dVar, c.i.b.a.d dVar2, int i, ConcurrentMap concurrentMap) { + super(pVar, pVar2, dVar, dVar2, i, concurrentMap); + } + + /* JADX DEBUG: Multi-variable search result rejected for r2v6, resolved type: java.util.concurrent.ConcurrentMap */ + /* JADX WARN: Multi-variable type inference failed */ + private void readObject(ObjectInputStream objectInputStream) throws IOException, ClassNotFoundException { + objectInputStream.defaultReadObject(); + int readInt = objectInputStream.readInt(); + u uVar = new u(); + int i = uVar.b; + boolean z2 = false; + c.i.a.f.e.o.f.A(i == -1, "initial capacity was already set to %s", i); + c.i.a.f.e.o.f.q(readInt >= 0); + uVar.b = readInt; + uVar.d(this.keyStrength); + p pVar = this.valueStrength; + p pVar2 = uVar.e; + c.i.a.f.e.o.f.B(pVar2 == null, "Value strength was already set to %s", pVar2); + Objects.requireNonNull(pVar); + uVar.e = pVar; + if (pVar != p.STRONG) { + uVar.a = true; + } + c.i.b.a.d dVar = this.keyEquivalence; + c.i.b.a.d dVar2 = uVar.f; + c.i.a.f.e.o.f.B(dVar2 == null, "key equivalence was already set to %s", dVar2); + Objects.requireNonNull(dVar); + uVar.f = dVar; + uVar.a = true; + int i2 = this.concurrencyLevel; + int i3 = uVar.f1314c; + c.i.a.f.e.o.f.A(i3 == -1, "concurrency level was already set to %s", i3); + if (i2 > 0) { + z2 = true; + } + c.i.a.f.e.o.f.q(z2); + uVar.f1314c = i2; + this.i = uVar.c(); + while (true) { + Object readObject = objectInputStream.readObject(); + if (readObject != null) { + this.i.put(readObject, objectInputStream.readObject()); + } else { + return; + } + } + } + + private Object readResolve() { + return this.i; + } + + private void writeObject(ObjectOutputStream objectOutputStream) throws IOException { + objectOutputStream.defaultWriteObject(); + objectOutputStream.writeInt(this.i.size()); + for (Map.Entry entry : this.i.entrySet()) { + objectOutputStream.writeObject(entry.getKey()); + objectOutputStream.writeObject(entry.getValue()); + } + objectOutputStream.writeObject(null); + } + } + + /* compiled from: MapMakerInternalMap */ + public enum p { + STRONG { + @Override // c.i.b.b.v.p + public c.i.b.a.d f() { + return d.a.i; + } + }, + WEAK { + @Override // c.i.b.b.v.p + public c.i.b.a.d f() { + return d.b.i; + } + }; + + public p(a aVar) { + } + + public abstract c.i.b.a.d f(); + } + + /* compiled from: MapMakerInternalMap */ + public static final class q extends c> implements i { + @NullableDecl + public volatile V d = null; + + /* compiled from: MapMakerInternalMap */ + public static final class a implements j, r> { + public static final a a = new a<>(); + + @Override // c.i.b.b.v.j + public i a(n nVar, i iVar, @NullableDecl i iVar2) { + r rVar = (r) nVar; + q qVar = (q) iVar; + q qVar2 = new q(qVar.a, qVar.b, (q) iVar2); + qVar2.d = qVar.d; + return qVar2; + } + + @Override // c.i.b.b.v.j + public p b() { + return p.STRONG; + } + + @Override // c.i.b.b.v.j + public p c() { + return p.STRONG; + } + + /* JADX DEBUG: Multi-variable search result rejected for r3v0, resolved type: java.lang.Object */ + /* JADX WARN: Multi-variable type inference failed */ + @Override // c.i.b.b.v.j + public void d(n nVar, i iVar, Object obj) { + r rVar = (r) nVar; + ((q) iVar).d = obj; + } + + @Override // c.i.b.b.v.j + public n e(v vVar, int i, int i2) { + return new r(vVar, i, i2); + } + + @Override // c.i.b.b.v.j + public i f(n nVar, Object obj, int i, @NullableDecl i iVar) { + r rVar = (r) nVar; + return new q(obj, i, (q) iVar); + } + } + + public q(K k, int i, @NullableDecl q qVar) { + super(k, i, qVar); + } + + @Override // c.i.b.b.v.i + @NullableDecl + public V getValue() { + return this.d; + } + } + + /* compiled from: MapMakerInternalMap */ + public static final class r extends n, r> { + public r(v, r> vVar, int i, int i2) { + super(vVar, i, i2); + } + + @Override // c.i.b.b.v.n + public n l() { return this; } } - public v(w> wVar, int i) { - super(wVar, i); - } + /* compiled from: MapMakerInternalMap */ + public static final class s extends c> implements a0> { + public volatile b0> d = ((b0>) v.i); - public static a f() { - return new a<>(); - } + /* compiled from: MapMakerInternalMap */ + public static final class a implements j, t> { + public static final a a = new a<>(); - /* JADX DEBUG: Multi-variable search result rejected for r1v1, resolved type: c.i.b.b.w$a */ - /* JADX WARN: Multi-variable type inference failed */ - private void readObject(ObjectInputStream objectInputStream) throws IOException, ClassNotFoundException { - objectInputStream.defaultReadObject(); - int readInt = objectInputStream.readInt(); - if (readInt >= 0) { - w.a aVar = new w.a(4); - int i = 0; - for (int i2 = 0; i2 < readInt; i2++) { - Object readObject = objectInputStream.readObject(); - int readInt2 = objectInputStream.readInt(); - if (readInt2 > 0) { - a aVar2 = u.j; - c.n(4, "initialCapacity"); - Object[] objArr = new Object[4]; - int i3 = 0; - int i4 = 0; - while (i3 < readInt2) { - Object readObject2 = objectInputStream.readObject(); - Objects.requireNonNull(readObject2); - int i5 = i4 + 1; - if (objArr.length < i5) { - objArr = Arrays.copyOf(objArr, s.b.a(objArr.length, i5)); - } - objArr[i4] = readObject2; - i3++; - i4 = i5; - } - aVar.c(readObject, u.l(objArr, i4)); - i += readInt2; - } else { - throw new InvalidObjectException(c.d.b.a.a.l("Invalid value count ", readInt2)); + @Override // c.i.b.b.v.j + public i a(n nVar, i iVar, @NullableDecl i iVar2) { + t tVar = (t) nVar; + s sVar = (s) iVar; + s sVar2 = (s) iVar2; + int i = n.i; + if (sVar.getValue() == null) { + return null; } + ReferenceQueue o = t.o(tVar); + s sVar3 = new s<>(sVar.a, sVar.b, sVar2); + sVar3.d = sVar.d.b(o, sVar3); + return sVar3; } - try { - w a2 = aVar.a(); - w0 w0Var = y.b.a; - Objects.requireNonNull(w0Var); + + @Override // c.i.b.b.v.j + public p b() { + return p.STRONG; + } + + @Override // c.i.b.b.v.j + public p c() { + return p.WEAK; + } + + @Override // c.i.b.b.v.j + public void d(n nVar, i iVar, Object obj) { + s sVar = (s) iVar; + ReferenceQueue o = t.o((t) nVar); + b0> b0Var = sVar.d; + sVar.d = new c0(o, obj, sVar); + b0Var.clear(); + } + + @Override // c.i.b.b.v.j + public n e(v vVar, int i, int i2) { + return new t(vVar, i, i2); + } + + @Override // c.i.b.b.v.j + public i f(n nVar, Object obj, int i, @NullableDecl i iVar) { + t tVar = (t) nVar; + return new s(obj, i, (s) iVar); + } + } + + public s(K k, int i, @NullableDecl s sVar) { + super(k, i, sVar); + b0 b0Var = v.i; + } + + @Override // c.i.b.b.v.a0 + public b0> b() { + return this.d; + } + + @Override // c.i.b.b.v.i + public V getValue() { + return this.d.get(); + } + } + + /* compiled from: MapMakerInternalMap */ + public static final class t extends n, t> { + private final ReferenceQueue queueForValues = new ReferenceQueue<>(); + + public t(v, t> vVar, int i, int i2) { + super(vVar, i, i2); + } + + public static /* synthetic */ ReferenceQueue o(t tVar) { + return tVar.queueForValues; + } + + /* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: java.lang.ref.ReferenceQueue, java.lang.ref.ReferenceQueue */ + @Override // c.i.b.b.v.n + public void f() { + a((ReferenceQueue) this.queueForValues); + } + + @Override // c.i.b.b.v.n + public void g() { + c(this.queueForValues); + } + + @Override // c.i.b.b.v.n + public n l() { + return this; + } + } + + /* compiled from: MapMakerInternalMap */ + public final class u extends v.h { + public u(v vVar) { + super(); + } + + @Override // java.util.Iterator + public V next() { + return c().j; + } + } + + /* compiled from: MapMakerInternalMap */ + /* renamed from: c.i.b.b.v$v reason: collision with other inner class name */ + public final class C0128v extends AbstractCollection { + public C0128v() { + } + + @Override // java.util.AbstractCollection, java.util.Collection + public void clear() { + v.this.clear(); + } + + @Override // java.util.AbstractCollection, java.util.Collection + public boolean contains(Object obj) { + return v.this.containsValue(obj); + } + + @Override // java.util.AbstractCollection, java.util.Collection + public boolean isEmpty() { + return v.this.isEmpty(); + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable + public Iterator iterator() { + return new u(v.this); + } + + @Override // java.util.AbstractCollection, java.util.Collection + public int size() { + return v.this.size(); + } + + @Override // java.util.AbstractCollection, java.util.Collection + public Object[] toArray() { + return v.a(this).toArray(); + } + + @Override // java.util.AbstractCollection, java.util.Collection + public T[] toArray(T[] tArr) { + return (T[]) v.a(this).toArray(tArr); + } + } + + /* compiled from: MapMakerInternalMap */ + public static final class w extends d> implements i { + @NullableDecl + + /* renamed from: c reason: collision with root package name */ + public volatile V f1316c = null; + + /* compiled from: MapMakerInternalMap */ + public static final class a implements j, x> { + public static final a a = new a<>(); + + @Override // c.i.b.b.v.j + public i a(n nVar, i iVar, @NullableDecl i iVar2) { + x xVar = (x) nVar; + w wVar = (w) iVar; + w wVar2 = (w) iVar2; + if (wVar.get() == null) { + return null; + } + w wVar3 = new w(x.o(xVar), wVar.get(), wVar.a, wVar2); + wVar3.f1316c = wVar.f1316c; + return wVar3; + } + + @Override // c.i.b.b.v.j + public p b() { + return p.WEAK; + } + + @Override // c.i.b.b.v.j + public p c() { + return p.STRONG; + } + + /* JADX DEBUG: Multi-variable search result rejected for r3v0, resolved type: java.lang.Object */ + /* JADX WARN: Multi-variable type inference failed */ + @Override // c.i.b.b.v.j + public void d(n nVar, i iVar, Object obj) { + x xVar = (x) nVar; + ((w) iVar).f1316c = obj; + } + + @Override // c.i.b.b.v.j + public n e(v vVar, int i, int i2) { + return new x(vVar, i, i2); + } + + @Override // c.i.b.b.v.j + public i f(n nVar, Object obj, int i, @NullableDecl i iVar) { + return new w(x.o((x) nVar), obj, i, (w) iVar); + } + } + + public w(ReferenceQueue referenceQueue, K k, int i, @NullableDecl w wVar) { + super(referenceQueue, k, i, wVar); + } + + @Override // c.i.b.b.v.i + @NullableDecl + public V getValue() { + return this.f1316c; + } + } + + /* compiled from: MapMakerInternalMap */ + public static final class x extends n, x> { + private final ReferenceQueue queueForKeys = new ReferenceQueue<>(); + + public x(v, x> vVar, int i, int i2) { + super(vVar, i, i2); + } + + public static /* synthetic */ ReferenceQueue o(x xVar) { + return xVar.queueForKeys; + } + + /* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: java.lang.ref.ReferenceQueue, java.lang.ref.ReferenceQueue */ + @Override // c.i.b.b.v.n + public void f() { + a((ReferenceQueue) this.queueForKeys); + } + + @Override // c.i.b.b.v.n + public void g() { + b(this.queueForKeys); + } + + @Override // c.i.b.b.v.n + public n l() { + return this; + } + } + + /* compiled from: MapMakerInternalMap */ + public static final class y extends d> implements a0> { + + /* renamed from: c reason: collision with root package name */ + public volatile b0> f1317c = ((b0>) v.i); + + /* compiled from: MapMakerInternalMap */ + public static final class a implements j, z> { + public static final a a = new a<>(); + + @Override // c.i.b.b.v.j + public i a(n nVar, i iVar, @NullableDecl i iVar2) { + z zVar = (z) nVar; + y yVar = (y) iVar; + y yVar2 = (y) iVar2; + if (yVar.get() == null) { + return null; + } + int i = n.i; + if (yVar.getValue() == null) { + return null; + } + ReferenceQueue o = z.o(zVar); + ReferenceQueue p = z.p(zVar); + y yVar3 = new y<>(o, yVar.get(), yVar.a, yVar2); + yVar3.f1317c = yVar.f1317c.b(p, yVar3); + return yVar3; + } + + @Override // c.i.b.b.v.j + public p b() { + return p.WEAK; + } + + @Override // c.i.b.b.v.j + public p c() { + return p.WEAK; + } + + @Override // c.i.b.b.v.j + public void d(n nVar, i iVar, Object obj) { + y yVar = (y) iVar; + ReferenceQueue p = z.p((z) nVar); + b0> b0Var = yVar.f1317c; + yVar.f1317c = new c0(p, obj, yVar); + b0Var.clear(); + } + + @Override // c.i.b.b.v.j + public n e(v vVar, int i, int i2) { + return new z(vVar, i, i2); + } + + @Override // c.i.b.b.v.j + public i f(n nVar, Object obj, int i, @NullableDecl i iVar) { + return new y(z.o((z) nVar), obj, i, (y) iVar); + } + } + + public y(ReferenceQueue referenceQueue, K k, int i, @NullableDecl y yVar) { + super(referenceQueue, k, i, yVar); + b0 b0Var = v.i; + } + + @Override // c.i.b.b.v.a0 + public b0> b() { + return this.f1317c; + } + + @Override // c.i.b.b.v.i + public V getValue() { + return this.f1317c.get(); + } + } + + /* compiled from: MapMakerInternalMap */ + public static final class z extends n, z> { + private final ReferenceQueue queueForKeys = new ReferenceQueue<>(); + private final ReferenceQueue queueForValues = new ReferenceQueue<>(); + + public z(v, z> vVar, int i, int i2) { + super(vVar, i, i2); + } + + public static /* synthetic */ ReferenceQueue o(z zVar) { + return zVar.queueForKeys; + } + + public static /* synthetic */ ReferenceQueue p(z zVar) { + return zVar.queueForValues; + } + + /* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: java.lang.ref.ReferenceQueue, java.lang.ref.ReferenceQueue */ + @Override // c.i.b.b.v.n + public void f() { + a((ReferenceQueue) this.queueForKeys); + } + + @Override // c.i.b.b.v.n + public void g() { + b(this.queueForKeys); + c(this.queueForValues); + } + + @Override // c.i.b.b.v.n + public n l() { + return this; + } + } + + public v(u uVar, j jVar) { + int i2 = uVar.f1314c; + this.concurrencyLevel = Math.min(i2 == -1 ? 4 : i2, 65536); + this.keyEquivalence = (c.i.b.a.d) c.i.a.f.e.o.f.O(uVar.f, uVar.a().f()); + this.m = jVar; + int i3 = uVar.b; + int min = Math.min(i3 == -1 ? 16 : i3, (int) BasicMeasure.EXACTLY); + int i4 = 0; + int i5 = 1; + int i6 = 1; + int i7 = 0; + while (i6 < this.concurrencyLevel) { + i7++; + i6 <<= 1; + } + this.k = 32 - i7; + this.j = i6 - 1; + this.l = new n[i6]; + int i8 = min / i6; + while (i5 < (i6 * i8 < min ? i8 + 1 : i8)) { + i5 <<= 1; + } + while (true) { + n[] nVarArr = this.l; + if (i4 < nVarArr.length) { + nVarArr[i4] = this.m.e(this, i5, -1); + i4++; + } else { + return; + } + } + } + + public static ArrayList a(Collection collection) { + ArrayList arrayList = new ArrayList(collection.size()); + Iterator it = collection.iterator(); + Objects.requireNonNull(it); + while (it.hasNext()) { + arrayList.add(it.next()); + } + return arrayList; + } + + public int b(Object obj) { + c.i.b.a.d dVar = this.keyEquivalence; + Objects.requireNonNull(dVar); + int b2 = dVar.b(obj); + int i2 = b2 + ((b2 << 15) ^ -12931); + int i3 = i2 ^ (i2 >>> 10); + int i4 = i3 + (i3 << 3); + int i5 = i4 ^ (i4 >>> 6); + int i6 = (i5 << 2) + (i5 << 14) + i5; + return (i6 >>> 16) ^ i6; + } + + public n c(int i2) { + return this.l[(i2 >>> this.k) & this.j]; + } + + @Override // java.util.AbstractMap, java.util.Map + public void clear() { + n[] nVarArr = this.l; + int length = nVarArr.length; + for (int i2 = 0; i2 < length; i2++) { + n nVar = nVarArr[i2]; + if (nVar.count != 0) { + nVar.lock(); try { - w0Var.a.set(this, a2); - w0 w0Var2 = y.b.b; - Objects.requireNonNull(w0Var2); - try { - w0Var2.a.set(this, Integer.valueOf(i)); - } catch (IllegalAccessException e) { - throw new AssertionError(e); + AtomicReferenceArray atomicReferenceArray = nVar.table; + for (int i3 = 0; i3 < atomicReferenceArray.length(); i3++) { + atomicReferenceArray.set(i3, null); } - } catch (IllegalAccessException e2) { - throw new AssertionError(e2); + nVar.f(); + nVar.readCount.set(0); + nVar.modCount++; + nVar.count = 0; + } finally { + nVar.unlock(); } - } catch (IllegalArgumentException e3) { - throw ((InvalidObjectException) new InvalidObjectException(e3.getMessage()).initCause(e3)); } - } else { - throw new InvalidObjectException(c.d.b.a.a.l("Invalid key count ", readInt)); } } - private void writeObject(ObjectOutputStream objectOutputStream) throws IOException { - objectOutputStream.defaultWriteObject(); - objectOutputStream.writeInt(a().size()); - for (Map.Entry entry : ((w) a()).entrySet()) { - objectOutputStream.writeObject(entry.getKey()); - objectOutputStream.writeInt(((Collection) entry.getValue()).size()); - for (Object obj : (Collection) entry.getValue()) { - objectOutputStream.writeObject(obj); - } + @Override // java.util.AbstractMap, java.util.Map + public boolean containsKey(@NullableDecl Object obj) { + E e2; + boolean z2 = false; + if (obj == null) { + return false; } + int b2 = b(obj); + n c2 = c(b2); + Objects.requireNonNull(c2); + try { + if (!(c2.count == 0 || (e2 = c2.e(obj, b2)) == null || e2.getValue() == null)) { + z2 = true; + } + return z2; + } finally { + c2.h(); + } + } + + @Override // java.util.AbstractMap, java.util.Map + public boolean containsValue(@NullableDecl Object obj) { + Object obj2; + if (obj == null) { + return false; + } + n[] nVarArr = this.l; + long j2 = -1; + int i2 = 0; + while (i2 < 3) { + long j3 = 0; + for (n nVar : nVarArr) { + int i3 = nVar.count; + AtomicReferenceArray atomicReferenceArray = nVar.table; + for (int i4 = 0; i4 < atomicReferenceArray.length(); i4++) { + for (E e2 = atomicReferenceArray.get(i4); e2 != null; e2 = e2.a()) { + if (e2.getKey() == null) { + nVar.n(); + } else { + obj2 = e2.getValue(); + if (obj2 == null) { + nVar.n(); + } + if (obj2 == null && d().c(obj, obj2)) { + return true; + } + } + obj2 = null; + if (obj2 == null) { + } + } + } + j3 += (long) nVar.modCount; + } + if (j3 == j2) { + return false; + } + i2++; + j2 = j3; + } + return false; + } + + public c.i.b.a.d d() { + return this.m.c().f(); + } + + @Override // java.util.AbstractMap, java.util.Map + public Set> entrySet() { + Set> set = this.p; + if (set != null) { + return set; + } + g gVar = new g(); + this.p = gVar; + return gVar; + } + + @Override // java.util.AbstractMap, java.util.Map + public V get(@NullableDecl Object obj) { + V v = null; + if (obj == null) { + return null; + } + int b2 = b(obj); + n c2 = c(b2); + Objects.requireNonNull(c2); + try { + E e2 = c2.e(obj, b2); + if (e2 != null && (v = (V) e2.getValue()) == null) { + c2.n(); + } + return v; + } finally { + c2.h(); + } + } + + @Override // java.util.AbstractMap, java.util.Map + public boolean isEmpty() { + n[] nVarArr = this.l; + long j2 = 0; + for (int i2 = 0; i2 < nVarArr.length; i2++) { + if (nVarArr[i2].count != 0) { + return false; + } + j2 += (long) nVarArr[i2].modCount; + } + if (j2 == 0) { + return true; + } + for (int i3 = 0; i3 < nVarArr.length; i3++) { + if (nVarArr[i3].count != 0) { + return false; + } + j2 -= (long) nVarArr[i3].modCount; + } + return j2 == 0; + } + + @Override // java.util.AbstractMap, java.util.Map + public Set keySet() { + Set set = this.n; + if (set != null) { + return set; + } + l lVar = new l(); + this.n = lVar; + return lVar; + } + + @Override // java.util.AbstractMap, java.util.Map + @CanIgnoreReturnValue + public V put(K k2, V v) { + Objects.requireNonNull(k2); + Objects.requireNonNull(v); + int b2 = b(k2); + return c(b2).i(k2, b2, v, false); + } + + /* JADX DEBUG: Multi-variable search result rejected for r2v0, resolved type: c.i.b.b.v, S extends c.i.b.b.v$n> */ + /* JADX WARN: Multi-variable type inference failed */ + @Override // java.util.AbstractMap, java.util.Map + public void putAll(Map map) { + for (Map.Entry entry : map.entrySet()) { + put(entry.getKey(), entry.getValue()); + } + } + + @Override // java.util.Map, java.util.concurrent.ConcurrentMap + @CanIgnoreReturnValue + public V putIfAbsent(K k2, V v) { + Objects.requireNonNull(k2); + Objects.requireNonNull(v); + int b2 = b(k2); + return c(b2).i(k2, b2, v, true); + } + + /* JADX WARNING: Code restructure failed: missing block: B:19:0x004a, code lost: + if ((r7.getValue() == null) != false) goto L_0x004c; + */ + @Override // java.util.AbstractMap, java.util.Map + @CanIgnoreReturnValue + public V remove(@NullableDecl Object obj) { + if (obj == null) { + return null; + } + int b2 = b(obj); + n c2 = c(b2); + c2.lock(); + try { + c2.k(); + AtomicReferenceArray atomicReferenceArray = c2.table; + int length = (atomicReferenceArray.length() - 1) & b2; + E e2 = atomicReferenceArray.get(length); + E e3 = e2; + while (true) { + if (e3 == null) { + break; + } + Object key = e3.getKey(); + if (e3.c() != b2 || key == null || !c2.map.keyEquivalence.c(obj, key)) { + e3 = (E) e3.a(); + } else { + V v = (V) e3.getValue(); + if (v != null) { + } + c2.modCount++; + atomicReferenceArray.set(length, c2.j(e2, e3)); + c2.count--; + return v; + } + } + c2.unlock(); + return null; + } finally { + c2.unlock(); + } + } + + /* JADX WARNING: Code restructure failed: missing block: B:19:0x0058, code lost: + if ((r7.getValue() == null) != false) goto L_0x005a; + */ + @Override // java.util.Map, java.util.concurrent.ConcurrentMap + @CanIgnoreReturnValue + public boolean remove(@NullableDecl Object obj, @NullableDecl Object obj2) { + boolean z2 = false; + if (obj == null || obj2 == null) { + return false; + } + int b2 = b(obj); + n c2 = c(b2); + c2.lock(); + try { + c2.k(); + AtomicReferenceArray atomicReferenceArray = c2.table; + int length = (atomicReferenceArray.length() - 1) & b2; + E e2 = atomicReferenceArray.get(length); + E e3 = e2; + while (true) { + if (e3 == null) { + break; + } + Object key = e3.getKey(); + if (e3.c() != b2 || key == null || !c2.map.keyEquivalence.c(obj, key)) { + e3 = (E) e3.a(); + } else { + if (c2.map.d().c(obj2, e3.getValue())) { + z2 = true; + } + c2.modCount++; + atomicReferenceArray.set(length, c2.j(e2, e3)); + c2.count--; + } + } + return z2; + } finally { + c2.unlock(); + } + } + + @Override // java.util.Map, java.util.concurrent.ConcurrentMap + @CanIgnoreReturnValue + public V replace(K k2, V v) { + Objects.requireNonNull(k2); + Objects.requireNonNull(v); + int b2 = b(k2); + n c2 = c(b2); + c2.lock(); + try { + c2.k(); + AtomicReferenceArray atomicReferenceArray = c2.table; + int length = (atomicReferenceArray.length() - 1) & b2; + E e2 = atomicReferenceArray.get(length); + E e3 = e2; + while (true) { + if (e3 == null) { + break; + } + Object key = e3.getKey(); + if (e3.c() != b2 || key == null || !c2.map.keyEquivalence.c(k2, key)) { + e3 = (E) e3.a(); + } else { + V v2 = (V) e3.getValue(); + if (v2 == null) { + if (e3.getValue() == null) { + c2.modCount++; + atomicReferenceArray.set(length, c2.j(e2, e3)); + c2.count--; + } + } else { + c2.modCount++; + c2.map.m.d(c2.l(), e3, v); + c2.unlock(); + return v2; + } + } + } + return null; + } finally { + c2.unlock(); + } + } + + @Override // java.util.Map, java.util.concurrent.ConcurrentMap + @CanIgnoreReturnValue + public boolean replace(K k2, @NullableDecl V v, V v2) { + Objects.requireNonNull(k2); + Objects.requireNonNull(v2); + if (v == null) { + return false; + } + int b2 = b(k2); + n c2 = c(b2); + c2.lock(); + try { + c2.k(); + AtomicReferenceArray atomicReferenceArray = c2.table; + int length = (atomicReferenceArray.length() - 1) & b2; + E e2 = atomicReferenceArray.get(length); + E e3 = e2; + while (true) { + if (e3 == null) { + break; + } + Object key = e3.getKey(); + if (e3.c() != b2 || key == null || !c2.map.keyEquivalence.c(k2, key)) { + e3 = (E) e3.a(); + } else { + Object value = e3.getValue(); + if (value == null) { + if (e3.getValue() == null) { + c2.modCount++; + atomicReferenceArray.set(length, c2.j(e2, e3)); + c2.count--; + } + } else if (c2.map.d().c(v, value)) { + c2.modCount++; + c2.map.m.d(c2.l(), e3, v2); + c2.unlock(); + return true; + } + } + } + return false; + } finally { + c2.unlock(); + } + } + + @Override // java.util.AbstractMap, java.util.Map + public int size() { + n[] nVarArr; + long j2 = 0; + for (n nVar : this.l) { + j2 += (long) nVar.count; + } + if (j2 > 2147483647L) { + return Integer.MAX_VALUE; + } + if (j2 < -2147483648L) { + return Integer.MIN_VALUE; + } + return (int) j2; + } + + @Override // java.util.AbstractMap, java.util.Map + public Collection values() { + Collection collection = this.o; + if (collection != null) { + return collection; + } + C0128v vVar = new C0128v(); + this.o = vVar; + return vVar; + } + + public Object writeReplace() { + return new o(this.m.b(), this.m.c(), this.keyEquivalence, this.m.c().f(), this.concurrencyLevel, this); } } diff --git a/app/src/main/java/c/i/b/b/w.java b/app/src/main/java/c/i/b/b/w.java index 001ff58d73..73f454edf1 100644 --- a/app/src/main/java/c/i/b/b/w.java +++ b/app/src/main/java/c/i/b/b/w.java @@ -1,273 +1,10 @@ package c.i.b.b; -import c.i.a.f.e.o.c; -import c.i.b.b.s; -import com.discord.api.permission.Permission; -import com.google.errorprone.annotations.CanIgnoreReturnValue; -import com.google.errorprone.annotations.concurrent.LazyInit; -import com.google.j2objc.annotations.RetainedWith; -import java.io.Serializable; -import java.util.Arrays; +import java.util.Iterator; import java.util.Map; -import java.util.Set; -import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: ImmutableMap */ -public abstract class w implements Map, Serializable { - @LazyInit - public transient z> i; - @RetainedWith - @LazyInit - public transient z j; - @RetainedWith - @LazyInit - public transient s k; - - /* compiled from: ImmutableMap */ - public static class a { - public Object[] a; - public int b = 0; - - /* renamed from: c reason: collision with root package name */ - public boolean f1361c = false; - - public a(int i) { - this.a = new Object[(i * 2)]; - } - - /* JADX WARNING: Code restructure failed: missing block: B:14:0x0058, code lost: - r5[r10] = r8; - r4 = r4 + 1; - */ - public w a() { - this.f1361c = true; - int i = this.b; - Object[] objArr = this.a; - if (i == 0) { - return (r0) r0.l; - } - int[] iArr = null; - int i2 = 0; - if (i == 1) { - c.m(objArr[0], objArr[1]); - return new r0(null, objArr, 1); - } - c.o(i, objArr.length >> 1); - int k = z.k(i); - if (i == 1) { - c.m(objArr[0], objArr[1]); - } else { - int i3 = k - 1; - int[] iArr2 = new int[k]; - Arrays.fill(iArr2, -1); - while (i2 < i) { - int i4 = i2 * 2; - int i5 = i4 + 0; - Object obj = objArr[i5]; - Object obj2 = objArr[i4 + 1]; - c.m(obj, obj2); - int i02 = c.i0(obj.hashCode()); - while (true) { - int i6 = i02 & i3; - int i7 = iArr2[i6]; - if (i7 == -1) { - break; - } else if (!objArr[i7].equals(obj)) { - i02 = i6 + 1; - } else { - throw new IllegalArgumentException("Multiple entries with same key: " + obj + "=" + obj2 + " and " + objArr[i7] + "=" + objArr[1 ^ i7]); - } - } - } - iArr = iArr2; - } - return new r0(iArr, objArr, i); - } - - public final void b(int i) { - int i2 = i * 2; - Object[] objArr = this.a; - if (i2 > objArr.length) { - this.a = Arrays.copyOf(objArr, s.b.a(objArr.length, i2)); - this.f1361c = false; - } - } - - @CanIgnoreReturnValue - public a c(K k, V v) { - b(this.b + 1); - c.m(k, v); - Object[] objArr = this.a; - int i = this.b; - objArr[i * 2] = k; - objArr[(i * 2) + 1] = v; - this.b = i + 1; - return this; - } - } - - /* compiled from: ImmutableMap */ - public static class b implements Serializable { - private static final long serialVersionUID = 0; - private final Object[] keys; - private final Object[] values; - - public b(w wVar) { - this.keys = new Object[wVar.size()]; - this.values = new Object[wVar.size()]; - d1> j = wVar.entrySet().iterator(); - int i = 0; - while (j.hasNext()) { - Map.Entry next = j.next(); - this.keys[i] = next.getKey(); - this.values[i] = next.getValue(); - i++; - } - } - - /* JADX DEBUG: Multi-variable search result rejected for r0v0, resolved type: c.i.b.b.w$a */ - /* JADX WARN: Multi-variable type inference failed */ - public Object readResolve() { - a aVar = new a(this.keys.length); - int i = 0; - while (true) { - Object[] objArr = this.keys; - if (i >= objArr.length) { - return aVar.a(); - } - aVar.c(objArr[i], this.values[i]); - i++; - } - } - } - - public abstract z> a(); - - public abstract z b(); - - public abstract s c(); - - @Override // java.util.Map - @Deprecated - public final void clear() { - throw new UnsupportedOperationException(); - } - - @Override // java.util.Map - public boolean containsKey(@NullableDecl Object obj) { - return get(obj) != null; - } - - @Override // java.util.Map - public boolean containsValue(@NullableDecl Object obj) { - return values().contains(obj); - } - - /* renamed from: d */ - public z> entrySet() { - z> zVar = this.i; - if (zVar != null) { - return zVar; - } - z> a2 = a(); - this.i = a2; - return a2; - } - - public abstract boolean e(); - - @Override // java.util.Map, java.lang.Object - public boolean equals(@NullableDecl Object obj) { - if (this == obj) { - return true; - } - if (obj instanceof Map) { - return entrySet().equals(((Map) obj).entrySet()); - } - return false; - } - - /* renamed from: f */ - public s values() { - s sVar = this.k; - if (sVar != null) { - return sVar; - } - s c2 = c(); - this.k = c2; - return c2; - } - - @Override // java.util.Map - public abstract V get(@NullableDecl Object obj); - - @Override // java.util.Map - public final V getOrDefault(@NullableDecl Object obj, @NullableDecl V v) { - V v2 = get(obj); - return v2 != null ? v2 : v; - } - - @Override // java.util.Map, java.lang.Object - public int hashCode() { - return h.a(entrySet()); - } - - @Override // java.util.Map - public boolean isEmpty() { - return size() == 0; - } - - @Override // java.util.Map - public Set keySet() { - z zVar = this.j; - if (zVar != null) { - return zVar; - } - z b2 = b(); - this.j = b2; - return b2; - } - - @Override // java.util.Map - @CanIgnoreReturnValue - @Deprecated - public final V put(K k, V v) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.Map - @Deprecated - public final void putAll(Map map) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.Map - @CanIgnoreReturnValue - @Deprecated - public final V remove(Object obj) { - throw new UnsupportedOperationException(); - } - - @Override // java.lang.Object - public String toString() { - int size = size(); - c.n(size, "size"); - StringBuilder sb = new StringBuilder((int) Math.min(((long) size) * 8, (long) Permission.MANAGE_EMOJIS_AND_STICKERS)); - sb.append('{'); - boolean z2 = true; - for (Map.Entry entry : entrySet()) { - if (!z2) { - sb.append(", "); - } - z2 = false; - sb.append(entry.getKey()); - sb.append('='); - sb.append(entry.getValue()); - } - sb.append('}'); - return sb.toString(); - } - - public Object writeReplace() { - return new b(this); +/* compiled from: Maps */ +public final class w extends r0, V> { + public w(Iterator it) { + super(it); } } diff --git a/app/src/main/java/c/i/b/b/w0.java b/app/src/main/java/c/i/b/b/w0.java deleted file mode 100644 index 53128d64e7..0000000000 --- a/app/src/main/java/c/i/b/b/w0.java +++ /dev/null @@ -1,12 +0,0 @@ -package c.i.b.b; - -import java.lang.reflect.Field; -/* compiled from: Serialization */ -public final class w0 { - public final Field a; - - public w0(Field field, v0 v0Var) { - this.a = field; - field.setAccessible(true); - } -} diff --git a/app/src/main/java/c/i/b/b/x.java b/app/src/main/java/c/i/b/b/x.java index 50a0451a43..2d53a8ae7e 100644 --- a/app/src/main/java/c/i/b/b/x.java +++ b/app/src/main/java/c/i/b/b/x.java @@ -1,28 +1,62 @@ package c.i.b.b; -import java.util.Iterator; -/* compiled from: ImmutableMultimap */ -public class x extends d1 { - public Iterator> i; - public Iterator j = b0.k; - public final /* synthetic */ y k; - - public x(y yVar) { - this.k = yVar; - this.i = yVar.l.values().iterator(); +import c.i.a.f.e.o.f; +import c.i.b.b.e; +import java.util.Collection; +import java.util.HashSet; +import java.util.Map; +import java.util.Objects; +/* compiled from: Maps */ +public abstract class x extends o0> { + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public void clear() { + e.a.this.clear(); } - @Override // java.util.Iterator - public boolean hasNext() { - return this.j.hasNext() || this.i.hasNext(); + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public abstract boolean contains(Object obj); + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean isEmpty() { + return e.a.this.isEmpty(); } - /* JADX WARNING: Unknown variable types count: 1 */ - @Override // java.util.Iterator - public V next() { - if (!this.j.hasNext()) { - this.j = ((s) this.i.next()).iterator(); + @Override // c.i.b.b.o0, java.util.AbstractSet, java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean removeAll(Collection collection) { + try { + Objects.requireNonNull(collection); + return super.removeAll(collection); + } catch (UnsupportedOperationException unused) { + return h.d(this, collection.iterator()); } - return this.j.next(); + } + + @Override // c.i.b.b.o0, java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean retainAll(Collection collection) { + int i; + try { + Objects.requireNonNull(collection); + return super.retainAll(collection); + } catch (UnsupportedOperationException unused) { + int size = collection.size(); + if (size < 3) { + f.v(size, "expectedSize"); + i = size + 1; + } else { + i = size < 1073741824 ? (int) ((((float) size) / 0.75f) + 1.0f) : Integer.MAX_VALUE; + } + HashSet hashSet = new HashSet(i); + for (Object obj : collection) { + if (contains(obj)) { + hashSet.add(((Map.Entry) obj).getKey()); + } + } + return e.a.this.keySet().retainAll(hashSet); + } + } + + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public int size() { + return e.a.this.size(); } } diff --git a/app/src/main/java/c/i/b/b/x0.java b/app/src/main/java/c/i/b/b/x0.java deleted file mode 100644 index 552cf68337..0000000000 --- a/app/src/main/java/c/i/b/b/x0.java +++ /dev/null @@ -1,4 +0,0 @@ -package c.i.b.b; -/* compiled from: Sets */ -public final class x0 extends a1 { -} diff --git a/app/src/main/java/c/i/b/b/y.java b/app/src/main/java/c/i/b/b/y.java index 571fefafde..7767dc5b9d 100644 --- a/app/src/main/java/c/i/b/b/y.java +++ b/app/src/main/java/c/i/b/b/y.java @@ -1,77 +1,30 @@ package c.i.b.b; -import java.io.Serializable; -import java.util.Collection; -import java.util.Iterator; +import com.google.j2objc.annotations.Weak; import java.util.Map; -import java.util.Set; -import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: ImmutableMultimap */ -public abstract class y extends g implements Serializable { - private static final long serialVersionUID = 0; - public final transient w> l; - public final transient int m; +import java.util.Objects; +/* compiled from: Maps */ +public class y extends o0 { + @Weak + public final Map i; - /* compiled from: ImmutableMultimap */ - public static class a { - public Map> a = new l(); + public y(Map map) { + Objects.requireNonNull(map); + this.i = map; } - /* compiled from: ImmutableMultimap */ - public static class b { - public static final w0 a = new w0<>(y.class.getDeclaredField("l"), null); - public static final w0 b = new w0<>(y.class.getDeclaredField("m"), null); - - static { - try { - try { - } catch (NoSuchFieldException e) { - throw new AssertionError(e); - } - } catch (NoSuchFieldException e2) { - throw new AssertionError(e2); - } - } + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean contains(Object obj) { + return this.i.containsKey(obj); } - public y(w> wVar, int i) { - this.l = wVar; - this.m = i; + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set + public boolean isEmpty() { + return this.i.isEmpty(); } - @Override // c.i.b.b.f, c.i.b.b.k0 - public Map a() { - return this.l; - } - - @Override // c.i.b.b.f - public boolean b(@NullableDecl Object obj) { - return obj != null && super.b(obj); - } - - @Override // c.i.b.b.f - public Map> c() { - throw new AssertionError("should never be called"); - } - - @Override // c.i.b.b.k0 - @Deprecated - public void clear() { - throw new UnsupportedOperationException(); - } - - @Override // c.i.b.b.f - public Set d() { - throw new AssertionError("unreachable"); - } - - @Override // c.i.b.b.f - public Iterator e() { - return new x(this); - } - - @Override // c.i.b.b.k0 + @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set public int size() { - return this.m; + return this.i.size(); } } diff --git a/app/src/main/java/c/i/b/b/y0.java b/app/src/main/java/c/i/b/b/y0.java deleted file mode 100644 index 9938b53e25..0000000000 --- a/app/src/main/java/c/i/b/b/y0.java +++ /dev/null @@ -1,14 +0,0 @@ -package c.i.b.b; - -import c.i.b.b.h; -import java.util.Iterator; -/* compiled from: Sets */ -public class y0 extends b { - public final Iterator k; - public final /* synthetic */ h.a l; - - public y0(h.a aVar) { - this.l = aVar; - this.k = aVar.i.iterator(); - } -} diff --git a/app/src/main/java/c/i/b/b/z.java b/app/src/main/java/c/i/b/b/z.java index 0d59408bc6..31d70afd10 100644 --- a/app/src/main/java/c/i/b/b/z.java +++ b/app/src/main/java/c/i/b/b/z.java @@ -1,180 +1,92 @@ package c.i.b.b; -import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; -import c.i.a.f.e.o.c; -import com.google.errorprone.annotations.concurrent.LazyInit; -import com.google.j2objc.annotations.RetainedWith; -import java.io.Serializable; -import java.util.Arrays; +import c.i.a.f.e.o.f; +import com.google.j2objc.annotations.Weak; +import java.util.AbstractCollection; import java.util.Collection; +import java.util.HashSet; import java.util.Iterator; -import java.util.Set; -import java.util.SortedSet; +import java.util.Map; +import java.util.Objects; import org.checkerframework.checker.nullness.compatqual.NullableDecl; -/* compiled from: ImmutableSet */ -public abstract class z extends s implements Set { - public static final /* synthetic */ int j = 0; - @NullableDecl - @RetainedWith - @LazyInit - public transient u k; +/* compiled from: Maps */ +public class z extends AbstractCollection { + @Weak + public final Map i; - /* compiled from: ImmutableSet */ - public static class a implements Serializable { - private static final long serialVersionUID = 0; - public final Object[] elements; - - public a(Object[] objArr) { - this.elements = objArr; - } - - public Object readResolve() { - return z.n(this.elements); - } + public z(Map map) { + this.i = map; } - public static int k(int i) { - int max = Math.max(i, 2); - boolean z2 = true; - if (max < 751619276) { - int highestOneBit = Integer.highestOneBit(max - 1) << 1; - while (((double) highestOneBit) * 0.7d < ((double) max)) { - highestOneBit <<= 1; - } - return highestOneBit; - } - if (max >= 1073741824) { - z2 = false; - } - c.i(z2, "collection too large"); - return BasicMeasure.EXACTLY; + @Override // java.util.AbstractCollection, java.util.Collection + public void clear() { + this.i.clear(); } - public static z l(int i, Object... objArr) { - if (i == 0) { - return s0.l; - } - boolean z2 = false; - if (i == 1) { - return new b1(objArr[0]); - } - int k = k(i); - Object[] objArr2 = new Object[k]; - int i2 = k - 1; - int i3 = 0; - int i4 = 0; - for (int i5 = 0; i5 < i; i5++) { - Object obj = objArr[i5]; - c.l(obj, i5); - int hashCode = obj.hashCode(); - int i02 = c.i0(hashCode); - while (true) { - int i6 = i02 & i2; - Object obj2 = objArr2[i6]; - if (obj2 == null) { - objArr[i4] = obj; - objArr2[i6] = obj; - i3 += hashCode; - i4++; - break; - } else if (obj2.equals(obj)) { - break; - } else { - i02++; - } - } - } - Arrays.fill(objArr, i4, i, (Object) null); - if (i4 == 1) { - return new b1(objArr[0], i3); - } - if (k(i4) < k / 2) { - return l(i4, objArr); - } - int length = objArr.length; - if (i4 < (length >> 1) + (length >> 2)) { - z2 = true; - } - if (z2) { - objArr = Arrays.copyOf(objArr, i4); - } - return new s0(objArr, i3, objArr2, i2, i4); + @Override // java.util.AbstractCollection, java.util.Collection + public boolean contains(@NullableDecl Object obj) { + return this.i.containsValue(obj); } - public static z m(Collection collection) { - if ((collection instanceof z) && !(collection instanceof SortedSet)) { - z zVar = (z) collection; - if (!zVar.i()) { - return zVar; - } - } - Object[] array = collection.toArray(); - return l(array.length, array); + @Override // java.util.AbstractCollection, java.util.Collection + public boolean isEmpty() { + return this.i.isEmpty(); } - public static z n(E[] eArr) { - int length = eArr.length; - return length != 0 ? length != 1 ? l(eArr.length, (Object[]) eArr.clone()) : new b1(eArr[0]) : s0.l; + @Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable + public Iterator iterator() { + return new w(this.i.entrySet().iterator()); } - public static z t(E e, E e2, E e3) { - return l(3, e, e2, e3); - } - - @Override // c.i.b.b.s - public u c() { - u uVar = this.k; - if (uVar != null) { - return uVar; - } - u o = o(); - this.k = o; - return o; - } - - @Override // java.util.Collection, java.lang.Object, java.util.Set - public boolean equals(@NullableDecl Object obj) { - if (obj == this) { - return true; - } - if ((obj instanceof z) && q() && ((z) obj).q() && hashCode() != obj.hashCode()) { - return false; - } - if (this == obj) { - return true; - } - if (obj instanceof Set) { - Set set = (Set) obj; - try { - if (size() == set.size() && containsAll(set)) { + @Override // java.util.AbstractCollection, java.util.Collection + public boolean remove(Object obj) { + try { + return super.remove(obj); + } catch (UnsupportedOperationException unused) { + for (Map.Entry entry : this.i.entrySet()) { + if (f.N(obj, entry.getValue())) { + this.i.remove(entry.getKey()); return true; } - } catch (ClassCastException | NullPointerException unused) { } + return false; } - return false; } - @Override // java.util.Collection, java.lang.Object, java.util.Set - public int hashCode() { - return h.a(this); + @Override // java.util.AbstractCollection, java.util.Collection + public boolean removeAll(Collection collection) { + try { + Objects.requireNonNull(collection); + return super.removeAll(collection); + } catch (UnsupportedOperationException unused) { + HashSet hashSet = new HashSet(); + for (Map.Entry entry : this.i.entrySet()) { + if (collection.contains(entry.getValue())) { + hashSet.add(entry.getKey()); + } + } + return this.i.keySet().removeAll(hashSet); + } } - @Override // c.i.b.b.s, java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.Set - public /* bridge */ /* synthetic */ Iterator iterator() { - return iterator(); + @Override // java.util.AbstractCollection, java.util.Collection + public boolean retainAll(Collection collection) { + try { + Objects.requireNonNull(collection); + return super.retainAll(collection); + } catch (UnsupportedOperationException unused) { + HashSet hashSet = new HashSet(); + for (Map.Entry entry : this.i.entrySet()) { + if (collection.contains(entry.getValue())) { + hashSet.add(entry.getKey()); + } + } + return this.i.keySet().retainAll(hashSet); + } } - public u o() { - return u.k(toArray()); - } - - public boolean q() { - return this instanceof s0; - } - - @Override // c.i.b.b.s - public Object writeReplace() { - return new a(toArray()); + @Override // java.util.AbstractCollection, java.util.Collection + public int size() { + return this.i.size(); } } diff --git a/app/src/main/java/c/i/b/b/z0.java b/app/src/main/java/c/i/b/b/z0.java deleted file mode 100644 index f0487a6127..0000000000 --- a/app/src/main/java/c/i/b/b/z0.java +++ /dev/null @@ -1,35 +0,0 @@ -package c.i.b.b; - -import java.util.AbstractSet; -import java.util.Collection; -import java.util.Iterator; -import java.util.Objects; -import java.util.Set; -/* compiled from: Sets */ -public abstract class z0 extends AbstractSet { - @Override // java.util.AbstractSet, java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean removeAll(Collection collection) { - Objects.requireNonNull(collection); - if (collection instanceof n0) { - collection = ((n0) collection).p(); - } - if (!(collection instanceof Set) || collection.size() <= size()) { - return h.c(this, collection.iterator()); - } - Iterator it = iterator(); - boolean z2 = false; - while (it.hasNext()) { - if (collection.contains(it.next())) { - it.remove(); - z2 = true; - } - } - return z2; - } - - @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set - public boolean retainAll(Collection collection) { - Objects.requireNonNull(collection); - return super.retainAll(collection); - } -} diff --git a/app/src/main/java/c/i/b/c/a.java b/app/src/main/java/c/i/b/c/a.java index 1f4fe4c1b0..a451e88647 100644 --- a/app/src/main/java/c/i/b/c/a.java +++ b/app/src/main/java/c/i/b/c/a.java @@ -1,6 +1,6 @@ package c.i.b.c; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import java.io.Serializable; import java.util.AbstractList; import java.util.Collections; @@ -15,6 +15,13 @@ public class a extends AbstractList implements RandomAccess, Serializab public final int end; public final int start; + public a(int[] iArr) { + int length = iArr.length; + this.array = iArr; + this.start = 0; + this.end = length; + } + public a(int[] iArr, int i, int i2) { this.array = iArr; this.start = i; @@ -68,7 +75,7 @@ public class a extends AbstractList implements RandomAccess, Serializab @Override // java.util.AbstractList, java.util.List public Object get(int i) { - c.k(i, size()); + f.s(i, size()); return Integer.valueOf(this.array[this.start + i]); } @@ -137,7 +144,7 @@ public class a extends AbstractList implements RandomAccess, Serializab @Override // java.util.AbstractList, java.util.List public Object set(int i, Object obj) { Integer num = (Integer) obj; - c.k(i, size()); + f.s(i, size()); int[] iArr = this.array; int i2 = this.start + i; int i3 = iArr[i2]; @@ -153,7 +160,7 @@ public class a extends AbstractList implements RandomAccess, Serializab @Override // java.util.AbstractList, java.util.List public List subList(int i, int i2) { - c.p(i, i2, size()); + f.y(i, i2, size()); if (i == i2) { return Collections.emptyList(); } diff --git a/app/src/main/java/c/i/c/c.java b/app/src/main/java/c/i/c/c.java index b1e6161dce..79925fe82e 100644 --- a/app/src/main/java/c/i/c/c.java +++ b/app/src/main/java/c/i/c/c.java @@ -50,7 +50,7 @@ public class c { public static final Executor b = new d(null); /* renamed from: c reason: collision with root package name */ - public static final Map f1362c = new ArrayMap(); + public static final Map f1318c = new ArrayMap(); public final Context d; public final String e; public final i f; @@ -68,14 +68,14 @@ public class c { /* compiled from: FirebaseApp */ @TargetApi(14) /* renamed from: c.i.c.c$c reason: collision with other inner class name */ - public static class C0130c implements c.a { - public static AtomicReference a = new AtomicReference<>(); + public static class C0129c implements c.a { + public static AtomicReference a = new AtomicReference<>(); @Override // c.i.a.f.e.h.j.c.a public void a(boolean z2) { Object obj = c.a; synchronized (c.a) { - Iterator it = new ArrayList(c.f1362c.values()).iterator(); + Iterator it = new ArrayList(c.f1318c.values()).iterator(); while (it.hasNext()) { c cVar = (c) it.next(); if (cVar.h.get()) { @@ -116,7 +116,7 @@ public class c { public void onReceive(Context context, Intent intent) { Object obj = c.a; synchronized (c.a) { - for (c cVar : c.f1362c.values()) { + for (c cVar : c.f1318c.values()) { cVar.d(); } } @@ -202,7 +202,7 @@ public class c { public static c b() { c cVar; synchronized (a) { - cVar = f1362c.get("[DEFAULT]"); + cVar = f1318c.get("[DEFAULT]"); if (cVar == null) { throw new IllegalStateException("Default FirebaseApp is not initialized in this process " + c.i.a.f.e.o.g.a() + ". Make sure to call FirebaseApp.initializeApp(Context) first."); } @@ -213,7 +213,7 @@ public class c { @Nullable public static c e(@NonNull Context context) { synchronized (a) { - if (f1362c.containsKey("[DEFAULT]")) { + if (f1318c.containsKey("[DEFAULT]")) { return b(); } i a2 = i.a(context); @@ -228,12 +228,12 @@ public class c { @NonNull public static c f(@NonNull Context context, @NonNull i iVar) { c cVar; - AtomicReference atomicReference = C0130c.a; + AtomicReference atomicReference = C0129c.a; if (context.getApplicationContext() instanceof Application) { Application application = (Application) context.getApplicationContext(); - if (C0130c.a.get() == null) { - C0130c cVar2 = new C0130c(); - if (C0130c.a.compareAndSet(null, cVar2)) { + if (C0129c.a.get() == null) { + C0129c cVar2 = new C0129c(); + if (C0129c.a.compareAndSet(null, cVar2)) { c.i.a.f.e.h.j.c.a(application); c.i.a.f.e.h.j.c cVar3 = c.i.a.f.e.h.j.c.i; Objects.requireNonNull(cVar3); @@ -247,7 +247,7 @@ public class c { context = context.getApplicationContext(); } synchronized (a) { - Map map = f1362c; + Map map = f1318c; c.c.a.a0.d.G(!map.containsKey("[DEFAULT]"), "FirebaseApp name [DEFAULT] already exists!"); c.c.a.a0.d.z(context, "Application context cannot be null."); cVar = new c(context, "[DEFAULT]", iVar); @@ -306,7 +306,7 @@ public class c { boolean h = h(); for (Map.Entry, r> entry : kVar.b.entrySet()) { r value = entry.getValue(); - int i = entry.getKey().f1370c; + int i = entry.getKey().f1326c; boolean z2 = false; if (!(i == 1)) { if (i == 2) { diff --git a/app/src/main/java/c/i/c/h.java b/app/src/main/java/c/i/c/h.java index 6e0d6a14ff..988d9c0859 100644 --- a/app/src/main/java/c/i/c/h.java +++ b/app/src/main/java/c/i/c/h.java @@ -10,6 +10,6 @@ public class h implements n { @Override // c.i.a.f.e.h.j.n @RecentlyNonNull public Exception a(@RecentlyNonNull Status status) { - return status.o == 8 ? new FirebaseException(status.w0()) : new FirebaseApiNotAvailableException(status.w0()); + return status.o == 8 ? new FirebaseException(status.x0()) : new FirebaseApiNotAvailableException(status.x0()); } } diff --git a/app/src/main/java/c/i/c/i.java b/app/src/main/java/c/i/c/i.java index 3b4b64c7f3..38cfeb84b8 100644 --- a/app/src/main/java/c/i/c/i.java +++ b/app/src/main/java/c/i/c/i.java @@ -17,7 +17,7 @@ public final class i { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1363c; + public final String f1319c; public final String d; public final String e; public final String f; @@ -27,7 +27,7 @@ public final class i { d.G(!h.a(str), "ApplicationId must be set."); this.b = str; this.a = str2; - this.f1363c = str3; + this.f1319c = str3; this.d = str4; this.e = str5; this.f = str6; @@ -67,18 +67,18 @@ public final class i { return false; } i iVar = (i) obj; - return d.j0(this.b, iVar.b) && d.j0(this.a, iVar.a) && d.j0(this.f1363c, iVar.f1363c) && d.j0(this.d, iVar.d) && d.j0(this.e, iVar.e) && d.j0(this.f, iVar.f) && d.j0(this.g, iVar.g); + return d.g0(this.b, iVar.b) && d.g0(this.a, iVar.a) && d.g0(this.f1319c, iVar.f1319c) && d.g0(this.d, iVar.d) && d.g0(this.e, iVar.e) && d.g0(this.f, iVar.f) && d.g0(this.g, iVar.g); } public int hashCode() { - return Arrays.hashCode(new Object[]{this.b, this.a, this.f1363c, this.d, this.e, this.f, this.g}); + return Arrays.hashCode(new Object[]{this.b, this.a, this.f1319c, this.d, this.e, this.f, this.g}); } public String toString() { k kVar = new k(this, null); kVar.a("applicationId", this.b); kVar.a("apiKey", this.a); - kVar.a("databaseUrl", this.f1363c); + kVar.a("databaseUrl", this.f1319c); kVar.a("gcmSenderId", this.e); kVar.a("storageBucket", this.f); kVar.a("projectId", this.g); diff --git a/app/src/main/java/c/i/c/j/a/a.java b/app/src/main/java/c/i/c/j/a/a.java index e189c25862..cf4fbb574e 100644 --- a/app/src/main/java/c/i/c/j/a/a.java +++ b/app/src/main/java/c/i/c/j/a/a.java @@ -5,7 +5,7 @@ import androidx.annotation.NonNull; public interface a { /* renamed from: c.i.c.j.a.a$a reason: collision with other inner class name */ - public interface AbstractC0131a { + public interface AbstractC0130a { } public interface b { @@ -15,5 +15,5 @@ public interface a { void b(@NonNull String str, @NonNull String str2, Object obj); - AbstractC0131a c(String str, b bVar); + AbstractC0130a c(String str, b bVar); } diff --git a/app/src/main/java/c/i/c/j/a/b.java b/app/src/main/java/c/i/c/j/a/b.java index f120284b12..b5ea580d49 100644 --- a/app/src/main/java/c/i/c/j/a/b.java +++ b/app/src/main/java/c/i/c/j/a/b.java @@ -18,10 +18,10 @@ public class b implements a { public final c.i.a.f.i.a.a b; /* renamed from: c reason: collision with root package name */ - public final Map f1364c = new ConcurrentHashMap(); + public final Map f1320c = new ConcurrentHashMap(); /* compiled from: com.google.android.gms:play-services-measurement-api@@18.0.0 */ - public class a implements a.AbstractC0131a { + public class a implements a.AbstractC0130a { public a(b bVar, String str) { } } @@ -154,12 +154,12 @@ public class b implements a { @Override // c.i.c.j.a.a @WorkerThread - public a.AbstractC0131a c(@NonNull String str, a.b bVar) { + public a.AbstractC0130a c(@NonNull String str, a.b bVar) { Objects.requireNonNull(bVar, "null reference"); if (!c.a(str)) { return null; } - if (!str.isEmpty() && this.f1364c.containsKey(str) && this.f1364c.get(str) != null) { + if (!str.isEmpty() && this.f1320c.containsKey(str) && this.f1320c.get(str) != null) { return null; } c.i.a.f.i.a.a aVar = this.b; @@ -167,7 +167,7 @@ public class b implements a { if (bVar2 == null) { return null; } - this.f1364c.put(str, bVar2); + this.f1320c.put(str, bVar2); return new a(this, str); } } diff --git a/app/src/main/java/c/i/c/j/a/c/b.java b/app/src/main/java/c/i/c/j/a/c/b.java index 2c5ed48a04..cea7f15e55 100644 --- a/app/src/main/java/c/i/c/j/a/c/b.java +++ b/app/src/main/java/c/i/c/j/a/c/b.java @@ -9,12 +9,12 @@ public final class b { public a.b b; /* renamed from: c reason: collision with root package name */ - public c.i.a.f.i.a.a f1365c; + public c.i.a.f.i.a.a f1321c; public e d; public b(c.i.a.f.i.a.a aVar, a.b bVar) { this.b = bVar; - this.f1365c = aVar; + this.f1321c = aVar; e eVar = new e(this); this.d = eVar; aVar.a(eVar); diff --git a/app/src/main/java/c/i/c/j/a/c/c.java b/app/src/main/java/c/i/c/j/a/c/c.java index 4880755c95..6eb63940a9 100644 --- a/app/src/main/java/c/i/c/j/a/c/c.java +++ b/app/src/main/java/c/i/c/j/a/c/c.java @@ -12,7 +12,7 @@ public final class c { public static final List b = Arrays.asList("_e", "_f", "_iap", "_s", "_au", "_ui", "_cd"); /* renamed from: c reason: collision with root package name */ - public static final List f1366c = Arrays.asList("auto", "app", "am"); + public static final List f1322c = Arrays.asList("auto", "app", "am"); public static final List d = Arrays.asList("_r", "_dbg"); public static final List e; public static final List f = Arrays.asList("^_ltv_[A-Z]{3}$", "^_cc[1-5]{1}$"); @@ -34,6 +34,6 @@ public final class c { } public static boolean a(@NonNull String str) { - return !f1366c.contains(str); + return !f1322c.contains(str); } } diff --git a/app/src/main/java/c/i/c/j/a/c/d.java b/app/src/main/java/c/i/c/j/a/c/d.java index 71c73773f8..abe049f906 100644 --- a/app/src/main/java/c/i/c/j/a/c/d.java +++ b/app/src/main/java/c/i/c/j/a/c/d.java @@ -7,13 +7,13 @@ public final class d { public c.i.a.f.i.a.a b; /* renamed from: c reason: collision with root package name */ - public f f1367c; + public f f1323c; public d(c.i.a.f.i.a.a aVar, a.b bVar) { this.a = bVar; this.b = aVar; f fVar = new f(this); - this.f1367c = fVar; + this.f1323c = fVar; aVar.a(fVar); } } diff --git a/app/src/main/java/c/i/c/j/a/c/e.java b/app/src/main/java/c/i/c/j/a/c/e.java index 90950ebcb2..ce9c088fee 100644 --- a/app/src/main/java/c/i/c/j/a/c/e.java +++ b/app/src/main/java/c/i/c/j/a/c/e.java @@ -1,12 +1,12 @@ package c.i.c.j.a.c; import android.os.Bundle; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.i.a.f.i.a.a; import c.i.a.f.i.b.v5; import java.util.Set; /* compiled from: com.google.android.gms:play-services-measurement-api@@18.0.0 */ -public final class e implements a.AbstractC0114a { +public final class e implements a.AbstractC0112a { public final /* synthetic */ b a; public e(b bVar) { @@ -18,9 +18,9 @@ public final class e implements a.AbstractC0114a { if (this.a.a.contains(str2)) { Bundle bundle2 = new Bundle(); Set set = c.a; - String K0 = c.K0(str2, v5.f1288c, v5.a); - if (K0 != null) { - str2 = K0; + String F1 = f.F1(str2, v5.f1247c, v5.a); + if (F1 != null) { + str2 = F1; } bundle2.putString("events", str2); ((c.i.c.m.a) this.a.b).a(2, bundle2); diff --git a/app/src/main/java/c/i/c/j/a/c/f.java b/app/src/main/java/c/i/c/j/a/c/f.java index a1ac9bc2d7..7347a6810d 100644 --- a/app/src/main/java/c/i/c/j/a/c/f.java +++ b/app/src/main/java/c/i/c/j/a/c/f.java @@ -4,7 +4,7 @@ import android.os.Bundle; import c.i.a.f.i.a.a; import com.discord.models.domain.ModelAuditLogEntry; /* compiled from: com.google.android.gms:play-services-measurement-api@@18.0.0 */ -public final class f implements a.AbstractC0114a { +public final class f implements a.AbstractC0112a { public final /* synthetic */ d a; public f(d dVar) { diff --git a/app/src/main/java/c/i/c/j/b.java b/app/src/main/java/c/i/c/j/b.java index 744ccfda1e..f7b9e81aec 100644 --- a/app/src/main/java/c/i/c/j/b.java +++ b/app/src/main/java/c/i/c/j/b.java @@ -1,7 +1,7 @@ package c.i.c.j; import android.os.Bundle; -import c.i.a.f.e.o.d; +import c.i.a.f.e.o.c; import c.i.a.f.h.l.cc; import c.i.a.f.h.l.g; import c.i.a.f.h.l.i; @@ -73,12 +73,12 @@ public final class b implements b7 { Objects.requireNonNull(gVar); cc ccVar = new cc(); gVar.e.execute(new u(gVar, ccVar)); - Long l = (Long) cc.g(ccVar.y0(500), Long.class); + Long l = (Long) cc.g(ccVar.x0(500), Long.class); if (l != null) { return l.longValue(); } long nanoTime = System.nanoTime(); - Objects.requireNonNull((d) gVar.d); + Objects.requireNonNull((c) gVar.d); long nextLong = new Random(nanoTime ^ System.currentTimeMillis()).nextLong(); int i = gVar.h + 1; gVar.h = i; @@ -105,7 +105,7 @@ public final class b implements b7 { Objects.requireNonNull(gVar); cc ccVar = new cc(); gVar.e.execute(new z(gVar, str, ccVar)); - Integer num = (Integer) cc.g(ccVar.y0(10000), Integer.class); + Integer num = (Integer) cc.g(ccVar.x0(10000), Integer.class); if (num == null) { return 25; } @@ -118,7 +118,7 @@ public final class b implements b7 { Objects.requireNonNull(gVar); cc ccVar = new cc(); gVar.e.execute(new k(gVar, str, str2, ccVar)); - List list = (List) cc.g(ccVar.y0(5000), List.class); + List list = (List) cc.g(ccVar.x0(5000), List.class); return list == null ? Collections.emptyList() : list; } @@ -135,13 +135,13 @@ public final class b implements b7 { Objects.requireNonNull(gVar); cc ccVar = new cc(); gVar.e.execute(new w(gVar, str, str2, z2, ccVar)); - Bundle y0 = ccVar.y0(5000); - if (y0 == null || y0.size() == 0) { + Bundle x0 = ccVar.x0(5000); + if (x0 == null || x0.size() == 0) { return Collections.emptyMap(); } - HashMap hashMap = new HashMap(y0.size()); - for (String str3 : y0.keySet()) { - Object obj = y0.get(str3); + HashMap hashMap = new HashMap(x0.size()); + for (String str3 : x0.keySet()) { + Object obj = x0.get(str3); if ((obj instanceof Double) || (obj instanceof Long) || (obj instanceof String)) { hashMap.put(str3, obj); } diff --git a/app/src/main/java/c/i/c/k/a.java b/app/src/main/java/c/i/c/k/a.java index 29701960f0..74d1e9bc55 100644 --- a/app/src/main/java/c/i/c/k/a.java +++ b/app/src/main/java/c/i/c/k/a.java @@ -2,27 +2,27 @@ package c.i.c.k; import android.os.Bundle; import androidx.annotation.NonNull; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import java.util.Arrays; /* compiled from: com.google.firebase:firebase-appindexing@@19.1.0 */ public interface a { /* compiled from: com.google.firebase:firebase-appindexing@@19.1.0 */ /* renamed from: c.i.c.k.a$a reason: collision with other inner class name */ - public static class C0132a { + public static class C0131a { public final Bundle a = new Bundle(); public final String b; /* renamed from: c reason: collision with root package name */ - public String f1368c; + public String f1324c; public String d; public String e; - public C0132a(@NonNull String str) { + public C0131a(@NonNull String str) { this.b = str; } - public C0132a a(@NonNull String str, @NonNull String... strArr) { + public C0131a a(@NonNull String str, @NonNull String... strArr) { Bundle bundle = this.a; String[] strArr2 = (String[]) Arrays.copyOf(strArr, strArr.length); if (strArr2.length > 0) { @@ -34,7 +34,7 @@ public interface a { sb.append("String at "); sb.append(i2); sb.append(" is null and is ignored by put method."); - c.e1(sb.toString()); + f.Z1(sb.toString()); } else { int i3 = 20000; if (strArr2[i].length() > 20000) { @@ -42,7 +42,7 @@ public interface a { sb2.append("String at "); sb2.append(i2); sb2.append(" is too long, truncating string."); - c.e1(sb2.toString()); + f.Z1(sb2.toString()); String str2 = strArr2[i]; if (str2.length() > 20000) { if (Character.isHighSurrogate(str2.charAt(19999)) && Character.isLowSurrogate(str2.charAt(20000))) { @@ -58,13 +58,13 @@ public interface a { if (i > 0) { Object[] objArr = (String[]) Arrays.copyOfRange(strArr2, 0, i); if (objArr.length >= 100) { - c.e1("Input Array of elements is too big, cutting off."); + f.Z1("Input Array of elements is too big, cutting off."); objArr = Arrays.copyOf(objArr, 100); } bundle.putStringArray(str, (String[]) objArr); } } else { - c.e1("String array is empty and is ignored by put method."); + f.Z1("String array is empty and is ignored by put method."); } return this; } diff --git a/app/src/main/java/c/i/c/k/c/a.java b/app/src/main/java/c/i/c/k/c/a.java index a537cc5824..c652319734 100644 --- a/app/src/main/java/c/i/c/k/c/a.java +++ b/app/src/main/java/c/i/c/k/c/a.java @@ -2,7 +2,7 @@ package c.i.c.k.c; import c.i.c.k.a; /* compiled from: com.google.firebase:firebase-appindexing@@19.1.0 */ -public final class a extends a.C0132a { +public final class a extends a.C0131a { public String f; public a() { diff --git a/app/src/main/java/c/i/c/k/d/a.java b/app/src/main/java/c/i/c/k/d/a.java index 9cc9a3e70e..a5551a7f4f 100644 --- a/app/src/main/java/c/i/c/k/d/a.java +++ b/app/src/main/java/c/i/c/k/d/a.java @@ -11,7 +11,7 @@ public final class a implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zza createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; String str2 = null; String str3 = null; @@ -19,36 +19,36 @@ public final class a implements Parcelable.Creator { zzc zzc = null; String str5 = null; Bundle bundle = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 2: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; case 3: - str3 = d.T(parcel, readInt); + str3 = d.Q(parcel, readInt); break; case 4: - str4 = d.T(parcel, readInt); + str4 = d.Q(parcel, readInt); break; case 5: - zzc = (zzc) d.S(parcel, readInt, zzc.CREATOR); + zzc = (zzc) d.P(parcel, readInt, zzc.CREATOR); break; case 6: - str5 = d.T(parcel, readInt); + str5 = d.Q(parcel, readInt); break; case 7: - bundle = d.P(parcel, readInt); + bundle = d.M(parcel, readInt); break; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zza(str, str2, str3, str4, zzc, str5, bundle); } diff --git a/app/src/main/java/c/i/c/k/d/c.java b/app/src/main/java/c/i/c/k/d/c.java index 69f3b81d9f..0b9b8cd04b 100644 --- a/app/src/main/java/c/i/c/k/d/c.java +++ b/app/src/main/java/c/i/c/k/d/c.java @@ -8,6 +8,6 @@ import c.i.c.h; /* compiled from: com.google.firebase:firebase-appindexing@@19.1.0 */ public final class c extends b { public c(Context context) { - super(context, k.f1159c, (a.d) null, new h()); + super(context, k.f1126c, (a.d) null, new h()); } } diff --git a/app/src/main/java/c/i/c/k/d/e.java b/app/src/main/java/c/i/c/k/d/e.java index cd77702cfa..132535bc1a 100644 --- a/app/src/main/java/c/i/c/k/d/e.java +++ b/app/src/main/java/c/i/c/k/d/e.java @@ -3,7 +3,7 @@ package c.i.c.k.d; import android.os.RemoteException; import c.c.a.a0.d; import c.i.a.f.e.h.j.p; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.i.a.f.h.k.g; import c.i.a.f.h.k.h; import com.google.android.gms.common.api.Status; @@ -12,35 +12,35 @@ import com.google.android.gms.tasks.TaskCompletionSource; public abstract class e extends p implements c.i.a.f.e.h.j.e { /* renamed from: c reason: collision with root package name */ - public TaskCompletionSource f1369c; + public TaskCompletionSource f1325c; public e(d dVar) { } @Override // c.i.a.f.e.h.j.e public void a(Status status) { - d.p(!status.v0(), "Failed result must not be success."); - TaskCompletionSource taskCompletionSource = this.f1369c; - taskCompletionSource.a.s(c.D0(status, status.p)); + d.o(!status.w0(), "Failed result must not be success."); + TaskCompletionSource taskCompletionSource = this.f1325c; + taskCompletionSource.a.s(f.y1(status, status.p)); } /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // c.i.a.f.e.h.j.e public void b(Status status) { Status status2 = status; - if (status2.v0()) { - this.f1369c.a.t(null); + if (status2.w0()) { + this.f1325c.a.t(null); return; } - TaskCompletionSource taskCompletionSource = this.f1369c; - taskCompletionSource.a.s(c.D0(status2, "User Action indexing error, please try again.")); + TaskCompletionSource taskCompletionSource = this.f1325c; + taskCompletionSource.a.s(f.y1(status2, "User Action indexing error, please try again.")); } /* JADX DEBUG: Method arguments types fixed to match base method, original types: [c.i.a.f.e.h.a$b, com.google.android.gms.tasks.TaskCompletionSource] */ @Override // c.i.a.f.e.h.j.p public void c(g gVar, TaskCompletionSource taskCompletionSource) throws RemoteException { - this.f1369c = taskCompletionSource; + this.f1325c = taskCompletionSource; d dVar = (d) this; - gVar.w().R(new h(dVar), dVar.d); + gVar.w().T(new h(dVar), dVar.d); } } diff --git a/app/src/main/java/c/i/c/k/d/f.java b/app/src/main/java/c/i/c/k/d/f.java index 8456db1675..a9cce16ecd 100644 --- a/app/src/main/java/c/i/c/k/d/f.java +++ b/app/src/main/java/c/i/c/k/d/f.java @@ -9,40 +9,40 @@ public final class f implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzc createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; String str2 = null; byte[] bArr = null; int i = 0; boolean z2 = false; boolean z3 = false; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); break; case 2: - z2 = d.E1(parcel, readInt); + z2 = d.C1(parcel, readInt); break; case 3: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 4: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; case 5: - bArr = d.Q(parcel, readInt); + bArr = d.N(parcel, readInt); break; case 6: - z3 = d.E1(parcel, readInt); + z3 = d.C1(parcel, readInt); break; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzc(i, z2, str, str2, bArr, z3); } diff --git a/app/src/main/java/c/i/c/l/d.java b/app/src/main/java/c/i/c/l/d.java index b16103dd37..6aebd17daf 100644 --- a/app/src/main/java/c/i/c/l/d.java +++ b/app/src/main/java/c/i/c/l/d.java @@ -11,7 +11,7 @@ public final class d { public final Set b; /* renamed from: c reason: collision with root package name */ - public final int f1370c; + public final int f1326c; public final int d; public final f e; public final Set> f; @@ -22,7 +22,7 @@ public final class d { public final Set b = new HashSet(); /* renamed from: c reason: collision with root package name */ - public int f1371c; + public int f1327c; public int d; public f e; public Set> f; @@ -30,7 +30,7 @@ public final class d { public b(Class cls, Class[] clsArr, a aVar) { HashSet hashSet = new HashSet(); this.a = hashSet; - this.f1371c = 0; + this.f1327c = 0; this.d = 0; this.f = new HashSet(); Objects.requireNonNull(cls, "Null interface"); @@ -51,7 +51,7 @@ public final class d { public d b() { if (this.e != null) { - return new d<>(new HashSet(this.a), new HashSet(this.b), this.f1371c, this.d, this.e, this.f, null); + return new d<>(new HashSet(this.a), new HashSet(this.b), this.f1327c, this.d, this.e, this.f, null); } throw new IllegalStateException("Missing required property: factory."); } @@ -62,8 +62,8 @@ public final class d { } public final b d(int i) { - if (this.f1371c == 0) { - this.f1371c = i; + if (this.f1327c == 0) { + this.f1327c = i; return this; } throw new IllegalStateException("Instantiation type has already been set."); @@ -73,7 +73,7 @@ public final class d { public d(Set set, Set set2, int i, int i2, f fVar, Set set3, a aVar) { this.a = Collections.unmodifiableSet(set); this.b = Collections.unmodifiableSet(set2); - this.f1370c = i; + this.f1326c = i; this.d = i2; this.e = fVar; this.f = Collections.unmodifiableSet(set3); @@ -95,6 +95,6 @@ public final class d { } public String toString() { - return "Component<" + Arrays.toString(this.a.toArray()) + ">{" + this.f1370c + ", type=" + this.d + ", deps=" + Arrays.toString(this.b.toArray()) + "}"; + return "Component<" + Arrays.toString(this.a.toArray()) + ">{" + this.f1326c + ", type=" + this.d + ", deps=" + Arrays.toString(this.b.toArray()) + "}"; } } diff --git a/app/src/main/java/c/i/c/l/k.java b/app/src/main/java/c/i/c/l/k.java index 6a9ac2130d..ca65e3f10b 100644 --- a/app/src/main/java/c/i/c/l/k.java +++ b/app/src/main/java/c/i/c/l/k.java @@ -19,7 +19,7 @@ public class k extends a { public final Map, r> b = new HashMap(); /* renamed from: c reason: collision with root package name */ - public final Map, r> f1372c = new HashMap(); + public final Map, r> f1328c = new HashMap(); public final Map, r>> d = new HashMap(); public final q e; @@ -63,10 +63,10 @@ public class k extends a { for (Set set3 : hashMap.values()) { for (m mVar2 : set3) { for (o oVar : mVar2.a.b) { - if ((oVar.f1374c == 0) && (set = (Set) hashMap.get(new n(oVar.a, oVar.a(), null))) != null) { + if ((oVar.f1330c == 0) && (set = (Set) hashMap.get(new n(oVar.a, oVar.a(), null))) != null) { for (m mVar3 : set) { mVar2.b.add(mVar3); - mVar3.f1373c.add(mVar2); + mVar3.f1329c.add(mVar2); } } } @@ -90,7 +90,7 @@ public class k extends a { hashSet2.remove(mVar5); i++; for (m mVar6 : mVar5.b) { - mVar6.f1373c.remove(mVar5); + mVar6.f1329c.remove(mVar5); if (mVar6.a()) { hashSet2.add(mVar6); } @@ -107,7 +107,7 @@ public class k extends a { if (key.b()) { r value = entry.getValue(); for (Class cls2 : key.a) { - this.f1372c.put(cls2, value); + this.f1328c.put(cls2, value); } } } @@ -116,7 +116,7 @@ public class k extends a { while (true) { if (it5.hasNext()) { o next = it5.next(); - if ((next.b == 1) && !this.f1372c.containsKey(next.a)) { + if ((next.b == 1) && !this.f1328c.containsKey(next.a)) { throw new MissingDependencyException(String.format("Unsatisfied dependency for component %s: %s", dVar4, next.a)); } } @@ -154,7 +154,7 @@ public class k extends a { @Override // c.i.c.l.e public a b(Class cls) { Objects.requireNonNull(cls, "Null interface requested."); - return this.f1372c.get(cls); + return this.f1328c.get(cls); } @Override // c.i.c.l.e diff --git a/app/src/main/java/c/i/c/l/m.java b/app/src/main/java/c/i/c/l/m.java index 9f79e1679a..40dad85c02 100644 --- a/app/src/main/java/c/i/c/l/m.java +++ b/app/src/main/java/c/i/c/l/m.java @@ -8,13 +8,13 @@ public class m { public final Set b = new HashSet(); /* renamed from: c reason: collision with root package name */ - public final Set f1373c = new HashSet(); + public final Set f1329c = new HashSet(); public m(d dVar) { this.a = dVar; } public boolean a() { - return this.f1373c.isEmpty(); + return this.f1329c.isEmpty(); } } diff --git a/app/src/main/java/c/i/c/l/o.java b/app/src/main/java/c/i/c/l/o.java index dae6c215da..d0d7998475 100644 --- a/app/src/main/java/c/i/c/l/o.java +++ b/app/src/main/java/c/i/c/l/o.java @@ -8,13 +8,13 @@ public final class o { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f1374c; + public final int f1330c; public o(Class cls, int i, int i2) { Objects.requireNonNull(cls, "Null dependency anInterface."); this.a = cls; this.b = i; - this.f1374c = i2; + this.f1330c = i2; } public boolean a() { @@ -26,11 +26,11 @@ public final class o { return false; } o oVar = (o) obj; - return this.a == oVar.a && this.b == oVar.b && this.f1374c == oVar.f1374c; + return this.a == oVar.a && this.b == oVar.b && this.f1330c == oVar.f1330c; } public int hashCode() { - return ((((this.a.hashCode() ^ 1000003) * 1000003) ^ this.b) * 1000003) ^ this.f1374c; + return ((((this.a.hashCode() ^ 1000003) * 1000003) ^ this.b) * 1000003) ^ this.f1330c; } public String toString() { @@ -41,9 +41,9 @@ public final class o { boolean z2 = true; sb.append(i == 1 ? "required" : i == 0 ? "optional" : "set"); sb.append(", direct="); - if (this.f1374c != 0) { + if (this.f1330c != 0) { z2 = false; } - return a.K(sb, z2, "}"); + return a.L(sb, z2, "}"); } } diff --git a/app/src/main/java/c/i/c/l/q.java b/app/src/main/java/c/i/c/l/q.java index 070a9c58e5..d7af827c86 100644 --- a/app/src/main/java/c/i/c/l/q.java +++ b/app/src/main/java/c/i/c/l/q.java @@ -20,15 +20,15 @@ public class q implements d, c { public Queue> b = new ArrayDeque(); /* renamed from: c reason: collision with root package name */ - public final Executor f1375c; + public final Executor f1331c; public q(Executor executor) { - this.f1375c = executor; + this.f1331c = executor; } @Override // c.i.c.q.d public void a(Class cls, b bVar) { - b(cls, this.f1375c, bVar); + b(cls, this.f1331c, bVar); } @Override // c.i.c.q.d diff --git a/app/src/main/java/c/i/c/l/r.java b/app/src/main/java/c/i/c/l/r.java index 9a87cf30c8..a7edf6f9ee 100644 --- a/app/src/main/java/c/i/c/l/r.java +++ b/app/src/main/java/c/i/c/l/r.java @@ -7,10 +7,10 @@ public class r implements a { public volatile Object b = a; /* renamed from: c reason: collision with root package name */ - public volatile a f1376c; + public volatile a f1332c; public r(a aVar) { - this.f1376c = aVar; + this.f1332c = aVar; } @Override // c.i.c.t.a @@ -21,9 +21,9 @@ public class r implements a { synchronized (this) { t = this.b; if (t == obj) { - t = this.f1376c.get(); + t = this.f1332c.get(); this.b = t; - this.f1376c = null; + this.f1332c = null; } } } diff --git a/app/src/main/java/c/i/c/l/s.java b/app/src/main/java/c/i/c/l/s.java index 1623773224..e65da24736 100644 --- a/app/src/main/java/c/i/c/l/s.java +++ b/app/src/main/java/c/i/c/l/s.java @@ -10,7 +10,7 @@ public final class s extends a { public final Set> b; /* renamed from: c reason: collision with root package name */ - public final Set> f1377c; + public final Set> f1333c; public final Set> d; public final Set> e; public final e f; @@ -30,7 +30,7 @@ public final class s extends a { HashSet hashSet3 = new HashSet(); HashSet hashSet4 = new HashSet(); for (o oVar : dVar.b) { - if (oVar.f1374c == 0) { + if (oVar.f1330c == 0) { if (oVar.a()) { hashSet3.add(oVar.a); } else { @@ -47,7 +47,7 @@ public final class s extends a { } this.a = Collections.unmodifiableSet(hashSet); this.b = Collections.unmodifiableSet(hashSet2); - this.f1377c = Collections.unmodifiableSet(hashSet3); + this.f1333c = Collections.unmodifiableSet(hashSet3); this.d = Collections.unmodifiableSet(hashSet4); this.e = dVar.f; this.f = eVar; @@ -80,7 +80,7 @@ public final class s extends a { @Override // c.i.c.l.a, c.i.c.l.e public Set d(Class cls) { - if (this.f1377c.contains(cls)) { + if (this.f1333c.contains(cls)) { return this.f.d(cls); } throw new IllegalArgumentException(String.format("Attempting to request an undeclared dependency Set<%s>.", cls)); diff --git a/app/src/main/java/c/i/c/m/b.java b/app/src/main/java/c/i/c/m/b.java index 5ab4cf82d8..dbcbe618d4 100644 --- a/app/src/main/java/c/i/c/m/b.java +++ b/app/src/main/java/c/i/c/m/b.java @@ -72,7 +72,7 @@ public final /* synthetic */ class b implements f { bVar2.b("Firebase Analytics is available."); ?? eVar2 = new c.i.c.m.d.i.e(aVar2); a aVar3 = new a(); - a.AbstractC0131a c2 = aVar2.c("clx", aVar3); + a.AbstractC0130a c2 = aVar2.c("clx", aVar3); if (c2 == null) { bVar2.b("Could not register AnalyticsConnectorListener with Crashlytics origin."); c2 = aVar2.c("crash", aVar3); @@ -100,7 +100,7 @@ public final /* synthetic */ class b implements f { bVar = new c.i.c.m.d.j.b(); fVar = new c.i.c.m.d.i.f(); } - k0 k0Var = new k0(cVar, v0Var, cVar2, q0Var, bVar, fVar, c.i.a.f.e.o.c.f("Crashlytics Exception Handler")); + k0 k0Var = new k0(cVar, v0Var, cVar2, q0Var, bVar, fVar, c.i.a.f.e.o.f.k("Crashlytics Exception Handler")); try { hVar.i = hVar.l.c(); hVar.d = context.getPackageManager(); @@ -127,7 +127,7 @@ public final /* synthetic */ class b implements f { c.i.c.m.d.b.a.d("Unable to start Crashlytics."); return null; } - ExecutorService f = c.i.a.f.e.o.c.f("com.google.firebase.crashlytics.startup"); + ExecutorService k = c.i.a.f.e.o.f.k("com.google.firebase.crashlytics.startup"); cVar.a(); String str3 = cVar.f.b; v0 v0Var2 = hVar.l; @@ -142,10 +142,10 @@ public final /* synthetic */ class b implements f { c.i.c.m.d.s.a aVar4 = new c.i.c.m.d.s.a(context); Locale locale = Locale.US; c.i.c.m.d.s.c cVar4 = new c.i.c.m.d.s.c(context, new c.i.c.m.d.s.h.g(str3, String.format(locale, "%s/%s", v0Var2.e(Build.MANUFACTURER), v0Var2.e(Build.MODEL)), v0Var2.e(Build.VERSION.INCREMENTAL), v0Var2.e(Build.VERSION.RELEASE), v0Var2, c.i.c.m.d.k.h.f(c.i.c.m.d.k.h.l(context), str3, str5, str4), str5, str4, r0.f(c4).g()), e1Var, eVar3, aVar4, new c.i.c.m.d.s.i.c(c3, String.format(locale, "https://firebase-settings.crashlytics.com/spi/v2/platforms/android/gmp/%s/settings", str3), bVar3), q0Var2); - cVar4.d(1, f).i(f, new c.i.c.m.d.g(hVar)); + cVar4.d(1, k).i(k, new c.i.c.m.d.g(hVar)); String l = c.i.c.m.d.k.h.l(k0Var.a); c.i.c.m.d.b bVar4 = c.i.c.m.d.b.a; - c.d.b.a.a.j0("Mapping file ID is: ", l, bVar4); + c.d.b.a.a.l0("Mapping file ID is: ", l, bVar4); if (!c.i.c.m.d.k.h.j(k0Var.a, "com.crashlytics.RequireBuildId", true)) { bVar4.b("Configured not to require a build ID."); } else if (c.i.c.m.d.k.h.s(l)) { @@ -191,11 +191,11 @@ public final /* synthetic */ class b implements f { if (str7 == null) { str7 = "0.0"; } - executorService = f; + executorService = k; try { c.i.c.m.d.k.b bVar6 = new c.i.c.m.d.k.b(str6, l, c5, packageName2, num, str7, aVar5); bVar4.b("Installer package name is: " + c5); - k0Var.h = new x(k0Var.a, k0Var.m, bVar5, k0Var.i, k0Var.f1388c, hVar2, k0Var.f, bVar6, null, null, k0Var.n, k0Var.k, cVar4); + k0Var.h = new x(k0Var.a, k0Var.m, bVar5, k0Var.i, k0Var.f1344c, hVar2, k0Var.f, bVar6, null, null, k0Var.n, k0Var.k, cVar4); boolean exists = k0Var.e.b().exists(); try { k0Var.g = Boolean.TRUE.equals((Boolean) h1.a(k0Var.m.b(new l0(k0Var)))); @@ -211,13 +211,13 @@ public final /* synthetic */ class b implements f { if (!exists || !c.i.c.m.d.k.h.b(k0Var.a)) { c.i.c.m.d.b.a.b("Exception handling initialization successful"); z4 = true; - c.i.a.f.e.o.c.g(executorService, new c(hVar, executorService, cVar4, z4, k0Var)); + c.i.a.f.e.o.f.l(executorService, new c(hVar, executorService, cVar4, z4, k0Var)); return new FirebaseCrashlytics(k0Var); } c.i.c.m.d.b.a.b("Crashlytics did not finish previous background initialization. Initializing synchronously."); k0Var.b(cVar4); z4 = false; - c.i.a.f.e.o.c.g(executorService, new c(hVar, executorService, cVar4, z4, k0Var)); + c.i.a.f.e.o.f.l(executorService, new c(hVar, executorService, cVar4, z4, k0Var)); return new FirebaseCrashlytics(k0Var); } catch (Exception e3) { e = e3; @@ -225,18 +225,18 @@ public final /* synthetic */ class b implements f { } k0Var.h = null; z4 = false; - c.i.a.f.e.o.c.g(executorService, new c(hVar, executorService, cVar4, z4, k0Var)); + c.i.a.f.e.o.f.l(executorService, new c(hVar, executorService, cVar4, z4, k0Var)); return new FirebaseCrashlytics(k0Var); } } catch (Exception e4) { e = e4; - executorService = f; + executorService = k; if (c.i.c.m.d.b.a.a(6)) { Log.e(str, "Crashlytics was not started due to an exception during initialization", e); } k0Var.h = null; z4 = false; - c.i.a.f.e.o.c.g(executorService, new c(hVar, executorService, cVar4, z4, k0Var)); + c.i.a.f.e.o.f.l(executorService, new c(hVar, executorService, cVar4, z4, k0Var)); return new FirebaseCrashlytics(k0Var); } } else { diff --git a/app/src/main/java/c/i/c/m/d/e.java b/app/src/main/java/c/i/c/m/d/e.java index ba6d7e93c9..43f3647423 100644 --- a/app/src/main/java/c/i/c/m/d/e.java +++ b/app/src/main/java/c/i/c/m/d/e.java @@ -14,14 +14,14 @@ public class e implements f { public final /* synthetic */ c b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ Executor f1378c; + public final /* synthetic */ Executor f1334c; public final /* synthetic */ h d; public e(h hVar, String str, c cVar, Executor executor) { this.d = hVar; this.a = str; this.b = cVar; - this.f1378c = executor; + this.f1334c = executor; } /* Return type fixed from 'com.google.android.gms.tasks.Task' to match base method */ @@ -30,7 +30,7 @@ public class e implements f { @NonNull public Task a(@Nullable b bVar) throws Exception { try { - h.a(this.d, bVar, this.a, this.b, this.f1378c, true); + h.a(this.d, bVar, this.a, this.b, this.f1334c, true); return null; } catch (Exception e) { if (b.a.a(6)) { diff --git a/app/src/main/java/c/i/c/m/d/h.java b/app/src/main/java/c/i/c/m/d/h.java index d554e29540..d755d8a061 100644 --- a/app/src/main/java/c/i/c/m/d/h.java +++ b/app/src/main/java/c/i/c/m/d/h.java @@ -19,7 +19,7 @@ public class h { public final c b; /* renamed from: c reason: collision with root package name */ - public final Context f1379c; + public final Context f1335c; public PackageManager d; public String e; public PackageInfo f; @@ -33,7 +33,7 @@ public class h { public h(c cVar, Context context, v0 v0Var, q0 q0Var) { this.b = cVar; - this.f1379c = context; + this.f1335c = context; this.l = v0Var; this.m = q0Var; } @@ -55,11 +55,11 @@ public class h { } public final a b(String str, String str2) { - return new a(str, str2, this.l.e, this.h, this.g, c.i.c.m.d.k.h.f(c.i.c.m.d.k.h.l(this.f1379c), str2, this.h, this.g), this.j, r0.f(this.i).g(), this.k, "0"); + return new a(str, str2, this.l.e, this.h, this.g, c.i.c.m.d.k.h.f(c.i.c.m.d.k.h.l(this.f1335c), str2, this.h, this.g), this.j, r0.f(this.i).g(), this.k, "0"); } public String c() { - Context context = this.f1379c; + Context context = this.f1335c; int n = c.i.c.m.d.k.h.n(context, "com.crashlytics.ApiEndpoint", "string"); return n > 0 ? context.getString(n) : ""; } diff --git a/app/src/main/java/c/i/c/m/d/i/c.java b/app/src/main/java/c/i/c/m/d/i/c.java index 3721f4591c..82e6b21428 100644 --- a/app/src/main/java/c/i/c/m/d/i/c.java +++ b/app/src/main/java/c/i/c/m/d/i/c.java @@ -12,7 +12,7 @@ public class c implements b, a { public final Object b = new Object(); /* renamed from: c reason: collision with root package name */ - public CountDownLatch f1380c; + public CountDownLatch f1336c; public c(@NonNull e eVar, int i, TimeUnit timeUnit) { this.a = eVar; @@ -23,11 +23,11 @@ public class c implements b, a { synchronized (this.b) { b bVar = b.a; bVar.b("Logging Crashlytics event to Firebase"); - this.f1380c = new CountDownLatch(1); + this.f1336c = new CountDownLatch(1); this.a.a.a("clx", str, bundle); bVar.b("Awaiting app exception callback from FA..."); try { - if (this.f1380c.await((long) 500, TimeUnit.MILLISECONDS)) { + if (this.f1336c.await((long) 500, TimeUnit.MILLISECONDS)) { bVar.b("App exception callback received from FA listener."); } else { bVar.b("Timeout exceeded while awaiting app exception callback from FA listener."); @@ -35,13 +35,13 @@ public class c implements b, a { } catch (InterruptedException unused) { b.a.b("Interrupted while awaiting app exception callback from FA listener."); } - this.f1380c = null; + this.f1336c = null; } } @Override // c.i.c.m.d.i.b public void b(@NonNull String str, @NonNull Bundle bundle) { - CountDownLatch countDownLatch = this.f1380c; + CountDownLatch countDownLatch = this.f1336c; if (countDownLatch != null && "_ae".equals(str)) { countDownLatch.countDown(); } diff --git a/app/src/main/java/c/i/c/m/d/k/a.java b/app/src/main/java/c/i/c/m/d/k/a.java index 57b823549b..9ac598dd3b 100644 --- a/app/src/main/java/c/i/c/m/d/k/a.java +++ b/app/src/main/java/c/i/c/m/d/k/a.java @@ -11,7 +11,7 @@ public abstract class a { public final String b; /* renamed from: c reason: collision with root package name */ - public final b f1381c; + public final b f1337c; public final int d; public final String e; @@ -21,7 +21,7 @@ public abstract class a { } else if (bVar != null) { this.e = str; this.b = !h.s(str) ? a.matcher(str2).replaceFirst(str) : str2; - this.f1381c = bVar; + this.f1337c = bVar; this.d = i; } else { throw new IllegalArgumentException("requestFactory must not be null."); @@ -33,7 +33,7 @@ public abstract class a { } public c.i.c.m.d.n.a c(Map map) { - b bVar = this.f1381c; + b bVar = this.f1337c; int i = this.d; String str = this.b; Objects.requireNonNull(bVar); diff --git a/app/src/main/java/c/i/c/m/d/k/a0.java b/app/src/main/java/c/i/c/m/d/k/a0.java index 42876784b6..9f59449b66 100644 --- a/app/src/main/java/c/i/c/m/d/k/a0.java +++ b/app/src/main/java/c/i/c/m/d/k/a0.java @@ -18,7 +18,7 @@ public class a0 implements Callable { Bundle bundle = new Bundle(); bundle.putInt("fatal", 1); bundle.putLong("timestamp", this.i); - this.j.f1402z.a("_ae", bundle); + this.j.f1357z.a("_ae", bundle); return null; } } diff --git a/app/src/main/java/c/i/c/m/d/k/b.java b/app/src/main/java/c/i/c/m/d/k/b.java index 717898c612..94ed2bba8e 100644 --- a/app/src/main/java/c/i/c/m/d/k/b.java +++ b/app/src/main/java/c/i/c/m/d/k/b.java @@ -7,7 +7,7 @@ public class b { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1382c; + public final String f1338c; public final String d; public final String e; public final String f; @@ -16,7 +16,7 @@ public class b { public b(String str, String str2, String str3, String str4, String str5, String str6, a aVar) { this.a = str; this.b = str2; - this.f1382c = str3; + this.f1338c = str3; this.d = str4; this.e = str5; this.f = str6; diff --git a/app/src/main/java/c/i/c/m/d/k/b1.java b/app/src/main/java/c/i/c/m/d/k/b1.java index 442f6ea803..ceb8bbc6a5 100644 --- a/app/src/main/java/c/i/c/m/d/k/b1.java +++ b/app/src/main/java/c/i/c/m/d/k/b1.java @@ -21,9 +21,9 @@ public final /* synthetic */ class b1 implements a { if (task.p()) { o0 o0Var = (o0) task.l(); b bVar = b.a; - StringBuilder O = c.d.b.a.a.O("Crashlytics report successfully enqueued to DataTransport: "); - O.append(o0Var.b()); - bVar.b(O.toString()); + StringBuilder R = c.d.b.a.a.R("Crashlytics report successfully enqueued to DataTransport: "); + R.append(o0Var.b()); + bVar.b(R.toString()); d1Var.b.c(o0Var.b()); z2 = true; } else { diff --git a/app/src/main/java/c/i/c/m/d/k/c.java b/app/src/main/java/c/i/c/m/d/k/c.java index 62ed2c9baa..b8dccf9569 100644 --- a/app/src/main/java/c/i/c/m/d/k/c.java +++ b/app/src/main/java/c/i/c/m/d/k/c.java @@ -41,9 +41,9 @@ public final class c extends o0 { } public String toString() { - StringBuilder O = a.O("CrashlyticsReportWithSessionId{report="); - O.append(this.a); - O.append(", sessionId="); - return a.G(O, this.b, "}"); + StringBuilder R = a.R("CrashlyticsReportWithSessionId{report="); + R.append(this.a); + R.append(", sessionId="); + return a.H(R, this.b, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/k/c0.java b/app/src/main/java/c/i/c/m/d/k/c0.java index 8b54203e9e..7adcc30c70 100644 --- a/app/src/main/java/c/i/c/m/d/k/c0.java +++ b/app/src/main/java/c/i/c/m/d/k/c0.java @@ -3,7 +3,6 @@ package c.i.c.m.d.k; import android.content.Context; import androidx.annotation.NonNull; import androidx.annotation.Nullable; -import c.i.a.f.e.o.c; import c.i.a.f.n.f; import c.i.c.m.d.k.x; import c.i.c.m.d.q.c.d; @@ -30,11 +29,11 @@ public class c0 implements f { b bVar2 = bVar; if (bVar2 == null) { c.i.c.m.d.b.a.g("Received null app settings, cannot send reports at crash time."); - return c.F(null); + return c.i.a.f.e.o.f.R(null); } x xVar = this.b.m; Context context = xVar.i; - c.i.c.m.d.q.b a = ((h0) xVar.f1398r).a(bVar2); + c.i.c.m.d.q.b a = ((h0) xVar.r).a(bVar2); File[] q = xVar.q(); for (File file : q) { x.c(bVar2.e, file); @@ -42,6 +41,6 @@ public class c0 implements f { i iVar = xVar.m; iVar.b(new j(iVar, new x.m(context, dVar, a, true))); } - return c.p0(Arrays.asList(x.b(this.b.m), this.b.m.A.b(this.a, c.c.a.y.b.m(bVar2)))); + return c.i.a.f.e.o.f.j1(Arrays.asList(x.b(this.b.m), this.b.m.A.b(this.a, c.c.a.y.b.m(bVar2)))); } } diff --git a/app/src/main/java/c/i/c/m/d/k/d0.java b/app/src/main/java/c/i/c/m/d/k/d0.java index e16d3a1434..057aef6acb 100644 --- a/app/src/main/java/c/i/c/m/d/k/d0.java +++ b/app/src/main/java/c/i/c/m/d/k/d0.java @@ -2,6 +2,7 @@ package c.i.c.m.d.k; import android.util.Log; import c.d.b.a.a; +import c.i.a.f.e.o.f; import c.i.c.m.d.p.b; import c.i.c.m.d.p.c; import c.i.c.m.d.s.d; @@ -51,7 +52,7 @@ public class d0 implements Callable> { c cVar2 = null; if (i == null) { c.i.c.m.d.b.a.d("Tried to write a fatal exception while no session was open."); - return c.i.a.f.e.o.c.F(null); + return f.R(null); } this.m.k.a(); d1 d1Var = this.m.A; @@ -59,7 +60,7 @@ public class d0 implements Callable> { Thread thread = this.k; String replaceAll = i.replaceAll("-", ""); Objects.requireNonNull(d1Var); - a.j0("Persisting fatal event for session ", replaceAll, c.i.c.m.d.b.a); + a.l0("Persisting fatal event for session ", replaceAll, c.i.c.m.d.b.a); d1Var.a(th2, thread, replaceAll, "crash", time, true); x xVar = this.m; Thread thread2 = this.k; @@ -189,7 +190,7 @@ public class d0 implements Callable> { int c3 = 4 - h1.c(arrayList, 4, comparator); h1.b(xVar2.l(), x.b, c3 - h1.b(xVar2.n(), filenameFilter2, c3, comparator), comparator); if (!this.m.j.b()) { - return c.i.a.f.e.o.c.F(null); + return f.R(null); } Executor executor = this.m.m.a; return ((c.i.c.m.d.s.c) this.l).a().r(executor, new c0(this, executor)); diff --git a/app/src/main/java/c/i/c/m/d/k/d1.java b/app/src/main/java/c/i/c/m/d/k/d1.java index 8b727d3fb2..1a45c2b69a 100644 --- a/app/src/main/java/c/i/c/m/d/k/d1.java +++ b/app/src/main/java/c/i/c/m/d/k/d1.java @@ -6,6 +6,7 @@ import android.os.Environment; import androidx.annotation.NonNull; import androidx.appcompat.widget.ActivityChooserModel; import c.d.b.a.a; +import c.i.a.f.e.o.f; import c.i.c.m.d.l.b; import c.i.c.m.d.m.j; import c.i.c.m.d.m.k; @@ -40,14 +41,14 @@ public class d1 { public final g b; /* renamed from: c reason: collision with root package name */ - public final c f1383c; + public final c f1339c; public final b d; public final f1 e; public d1(n0 n0Var, g gVar, c cVar, b bVar, f1 f1Var) { this.a = n0Var; this.b = gVar; - this.f1383c = cVar; + this.f1339c = cVar; this.d = bVar; this.e = f1Var; } @@ -67,14 +68,14 @@ public class d1 { s sVar; boolean equals = str2.equals("crash"); n0 n0Var = this.a; - int i = n0Var.f1389c.getResources().getConfiguration().orientation; + int i = n0Var.f1345c.getResources().getConfiguration().orientation; e eVar = new e(th, n0Var.f); Long valueOf = Long.valueOf(j); - ActivityManager.RunningAppProcessInfo i2 = h.i(n0Var.e.d, n0Var.f1389c); + ActivityManager.RunningAppProcessInfo i2 = h.i(n0Var.e.d, n0Var.f1345c); Boolean valueOf2 = i2 != null ? Boolean.valueOf(i2.importance != 100) : null; Integer valueOf3 = Integer.valueOf(i); ArrayList arrayList = new ArrayList(); - arrayList.add(n0Var.c(thread, eVar.f1440c, 4)); + arrayList.add(n0Var.c(thread, eVar.f1395c, 4)); if (z2) { for (Map.Entry entry : Thread.getAllStackTraces().entrySet()) { Thread key = entry.getKey(); @@ -84,13 +85,13 @@ public class d1 { } } w wVar = new w(arrayList); - v.d.AbstractC0138d.a.b.AbstractC0141b a = n0Var.a(eVar, 4, 8, 0); + v.d.AbstractC0137d.a.b.AbstractC0140b a = n0Var.a(eVar, 4, 8, 0); Long l = 0L; String str3 = ""; String str4 = l == null ? " address" : str3; if (str4.isEmpty()) { o oVar = new o("0", "0", l.longValue(), null); - v.d.AbstractC0138d.a.b.AbstractC0140a[] aVarArr = new v.d.AbstractC0138d.a.b.AbstractC0140a[1]; + v.d.AbstractC0137d.a.b.AbstractC0139a[] aVarArr = new v.d.AbstractC0137d.a.b.AbstractC0139a[1]; Long l2 = 0L; Long l3 = 0L; String str5 = n0Var.e.d; @@ -98,7 +99,7 @@ public class d1 { String str6 = n0Var.e.b; String str7 = l2 == null ? " baseAddress" : str3; if (l3 == null) { - str7 = a.u(str7, " size"); + str7 = a.v(str7, " size"); } if (str7.isEmpty()) { aVarArr[0] = new m(l2.longValue(), l3.longValue(), str5, str6, null); @@ -106,13 +107,13 @@ public class d1 { String str8 = valueOf3 == null ? " uiOrientation" : str3; if (str8.isEmpty()) { k kVar = new k(lVar, null, valueOf2, valueOf3.intValue(), null); - e a2 = e.a(n0Var.f1389c); + e a2 = e.a(n0Var.f1345c); Float f = a2.a; Double valueOf4 = f != null ? Double.valueOf(f.doubleValue()) : null; int b = a2.b(); - boolean m = h.m(n0Var.f1389c); + boolean m = h.m(n0Var.f1345c); long p = h.p(); - Context context = n0Var.f1389c; + Context context = n0Var.f1345c; ActivityManager.MemoryInfo memoryInfo = new ActivityManager.MemoryInfo(); ((ActivityManager) context.getSystemService(ActivityChooserModel.ATTRIBUTE_ACTIVITY)).getMemoryInfo(memoryInfo); long j2 = p - memoryInfo.availMem; @@ -120,11 +121,11 @@ public class d1 { r.b bVar = new r.b(); bVar.a = valueOf4; bVar.b = Integer.valueOf(b); - bVar.f1426c = Boolean.valueOf(m); + bVar.f1381c = Boolean.valueOf(m); bVar.d = Integer.valueOf(i); bVar.e = Long.valueOf(j2); bVar.f = Long.valueOf(a3); - v.d.AbstractC0138d.b a4 = bVar.a(); + v.d.AbstractC0137d.b a4 = bVar.a(); String str9 = " timestamp"; String str10 = valueOf == null ? str9 : str3; if (str10.isEmpty()) { @@ -161,14 +162,14 @@ public class d1 { j jVar = new j(valueOf5.longValue(), str2, kVar2, a4, sVar, null); int i3 = ((c.i.c.m.d.s.c) gVar.k).c().b().a; File h = gVar.h(str); - Objects.requireNonNull(g.f1430c); + Objects.requireNonNull(g.f1385c); String a6 = ((d) h.a).a(jVar); String format = String.format(Locale.US, "%010d", Integer.valueOf(gVar.f.getAndIncrement())); if (equals) { str3 = "_"; } try { - g.l(new File(h, a.v("event", format, str3)), a6); + g.l(new File(h, a.w("event", format, str3)), a6); } catch (IOException e) { c.i.c.m.d.b.a.c("Could not persist event for session " + str, e); } @@ -185,15 +186,15 @@ public class d1 { } return; } - throw new IllegalStateException(a.u("Missing required properties:", str9)); + throw new IllegalStateException(a.v("Missing required properties:", str9)); } - throw new IllegalStateException(a.u("Missing required properties:", str10)); + throw new IllegalStateException(a.v("Missing required properties:", str10)); } - throw new IllegalStateException(a.u("Missing required properties:", str8)); + throw new IllegalStateException(a.v("Missing required properties:", str8)); } - throw new IllegalStateException(a.u("Missing required properties:", str7)); + throw new IllegalStateException(a.v("Missing required properties:", str7)); } - throw new IllegalStateException(a.u("Missing required properties:", str4)); + throw new IllegalStateException(a.v("Missing required properties:", str4)); } /* JADX WARN: Incorrect types in method signature: (Ljava/util/concurrent/Executor;Ljava/lang/Object;)Lcom/google/android/gms/tasks/Task; */ @@ -201,7 +202,7 @@ public class d1 { if (i == 1) { c.i.c.m.d.b.a.b("Send via DataTransport disabled. Removing DataTransport reports."); this.b.b(); - return c.i.a.f.e.o.c.F(null); + return f.R(null); } g gVar = this.b; List e = gVar.e(); @@ -211,7 +212,7 @@ public class d1 { while (it.hasNext()) { File file = (File) it.next(); try { - arrayList.add(new c(g.f1430c.f(g.j(file)), file.getName())); + arrayList.add(new c(g.f1385c.f(g.j(file)), file.getName())); } catch (IOException e2) { c.i.c.m.d.b bVar = c.i.c.m.d.b.a; bVar.c("Could not load report file " + file + "; deleting", e2); @@ -224,7 +225,7 @@ public class d1 { o0 o0Var = (o0) it2.next(); v a = o0Var.a(); if ((a.h() != null ? 2 : a.e() != null ? (char) 3 : 1) != 3 || i == 3) { - c cVar = this.f1383c; + c cVar = this.f1339c; Objects.requireNonNull(cVar); v a2 = o0Var.a(); TaskCompletionSource taskCompletionSource = new TaskCompletionSource(); @@ -235,6 +236,6 @@ public class d1 { this.b.c(o0Var.b()); } } - return c.i.a.f.e.o.c.p0(arrayList2); + return f.j1(arrayList2); } } diff --git a/app/src/main/java/c/i/c/m/d/k/e0.java b/app/src/main/java/c/i/c/m/d/k/e0.java index f2e73d4728..62755247b5 100644 --- a/app/src/main/java/c/i/c/m/d/k/e0.java +++ b/app/src/main/java/c/i/c/m/d/k/e0.java @@ -2,7 +2,6 @@ package c.i.c.m.d.k; import androidx.annotation.NonNull; import androidx.annotation.Nullable; -import c.i.a.f.e.o.c; import c.i.a.f.n.f; import com.google.android.gms.tasks.Task; /* compiled from: CrashlyticsController */ @@ -15,6 +14,6 @@ public class e0 implements f { @Override // c.i.a.f.n.f @NonNull public Task a(@Nullable Void r1) throws Exception { - return c.F(Boolean.TRUE); + return c.i.a.f.e.o.f.R(Boolean.TRUE); } } diff --git a/app/src/main/java/c/i/c/m/d/k/f0.java b/app/src/main/java/c/i/c/m/d/k/f0.java index fad2fde817..5d31223682 100644 --- a/app/src/main/java/c/i/c/m/d/k/f0.java +++ b/app/src/main/java/c/i/c/m/d/k/f0.java @@ -2,9 +2,9 @@ package c.i.c.m.d.k; import androidx.annotation.NonNull; import androidx.annotation.Nullable; -import c.i.a.f.e.o.c; import c.i.a.f.n.f; import c.i.c.m.d.q.b; +import c.i.c.m.d.q.c.c; import c.i.c.m.d.s.h.b; import com.google.android.gms.tasks.Task; import java.util.List; @@ -15,14 +15,14 @@ public class f0 implements f { public final /* synthetic */ boolean b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ Executor f1384c; + public final /* synthetic */ Executor f1340c; public final /* synthetic */ g0 d; public f0(g0 g0Var, List list, boolean z2, Executor executor) { this.d = g0Var; this.a = list; this.b = z2; - this.f1384c = executor; + this.f1340c = executor; } /* Return type fixed from 'com.google.android.gms.tasks.Task' to match base method */ @@ -33,15 +33,15 @@ public class f0 implements f { b bVar2 = bVar; if (bVar2 == null) { c.i.c.m.d.b.a.g("Received null app settings, cannot send reports during app startup."); - return c.F(null); + return c.i.a.f.e.o.f.R(null); } - for (c.i.c.m.d.q.c.c cVar : this.a) { + for (c cVar : this.a) { if (cVar.d() == 1) { x.c(bVar2.e, cVar.c()); } } x.b(x.this); - c.i.c.m.d.q.b a = ((h0) x.this.f1398r).a(bVar2); + c.i.c.m.d.q.b a = ((h0) x.this.r).a(bVar2); List list = this.a; boolean z2 = this.b; float f = this.d.j.b; @@ -54,8 +54,8 @@ public class f0 implements f { thread.start(); } } - x.this.A.b(this.f1384c, c.c.a.y.b.m(bVar2)); + x.this.A.b(this.f1340c, c.c.a.y.b.m(bVar2)); x.this.E.b(null); - return c.F(null); + return c.i.a.f.e.o.f.R(null); } } diff --git a/app/src/main/java/c/i/c/m/d/k/g0.java b/app/src/main/java/c/i/c/m/d/k/g0.java index 9bee5814d6..3761bcda0b 100644 --- a/app/src/main/java/c/i/c/m/d/k/g0.java +++ b/app/src/main/java/c/i/c/m/d/k/g0.java @@ -1,5 +1,6 @@ package c.i.c.m.d.k; +import c.i.a.f.e.o.f; import c.i.c.m.d.b; import c.i.c.m.d.k.x; import c.i.c.m.d.q.a; @@ -37,9 +38,9 @@ public class g0 implements Callable> { if (q != null) { for (File file : q) { b bVar = b.a; - StringBuilder O = c.d.b.a.a.O("Found crash report "); - O.append(file.getPath()); - bVar.b(O.toString()); + StringBuilder R = c.d.b.a.a.R("Found crash report "); + R.append(file.getPath()); + bVar.b(R.toString()); linkedList.add(new d(file, Collections.emptyMap())); } } @@ -60,7 +61,7 @@ public class g0 implements Callable> { } x.this.A.b.b(); x.this.E.b(null); - return c.i.a.f.e.o.c.F(null); + return f.R(null); } b.a.b("Reports are being sent."); boolean booleanValue = this.i.booleanValue(); diff --git a/app/src/main/java/c/i/c/m/d/k/h.java b/app/src/main/java/c/i/c/m/d/k/h.java index a171144983..f989d38210 100644 --- a/app/src/main/java/c/i/c/m/d/k/h.java +++ b/app/src/main/java/c/i/c/m/d/k/h.java @@ -43,7 +43,7 @@ public class h { public static long b = -1; /* renamed from: c reason: collision with root package name */ - public static final Comparator f1385c = new a(); + public static final Comparator f1341c = new a(); /* compiled from: CommonUtils */ public class a implements Comparator { @@ -67,7 +67,9 @@ public class h { ARMV7S, ARM64; - public static final Map s; + + /* renamed from: s reason: collision with root package name */ + public static final Map f1342s; static { b bVar = X86_32; @@ -75,7 +77,7 @@ public class h { b bVar3 = ARMV7; b bVar4 = ARM64; HashMap hashMap = new HashMap(4); - s = hashMap; + f1342s = hashMap; hashMap.put("armeabi-v7a", bVar3); hashMap.put("armeabi", bVar2); hashMap.put("arm64-v8a", bVar4); @@ -342,12 +344,12 @@ public class h { } public static boolean t(Context context) { - boolean r2 = r(context); + boolean r = r(context); String str = Build.TAGS; - if ((!r2 && str != null && str.contains("test-keys")) || new File("/system/app/Superuser.apk").exists()) { + if ((!r && str != null && str.contains("test-keys")) || new File("/system/app/Superuser.apk").exists()) { return true; } - return !r2 && new File("/system/xbin/su").exists(); + return !r && new File("/system/xbin/su").exists(); } public static String u(int i) { diff --git a/app/src/main/java/c/i/c/m/d/k/h0.java b/app/src/main/java/c/i/c/m/d/k/h0.java index 841f1421d2..f4c0b8bf4b 100644 --- a/app/src/main/java/c/i/c/m/d/k/h0.java +++ b/app/src/main/java/c/i/c/m/d/k/h0.java @@ -7,7 +7,7 @@ import c.i.c.m.d.q.d.a; import c.i.c.m.d.q.d.c; import c.i.c.m.d.q.d.d; /* compiled from: CrashlyticsController */ -public class h0 implements b.AbstractC0145b { +public class h0 implements b.AbstractC0144b { public final /* synthetic */ x a; public h0(x xVar) { @@ -15,7 +15,7 @@ public class h0 implements b.AbstractC0145b { } public b a(@NonNull c.i.c.m.d.s.h.b bVar) { - String str = bVar.f1437c; + String str = bVar.f1392c; String str2 = bVar.d; String str3 = bVar.e; x xVar = this.a; diff --git a/app/src/main/java/c/i/c/m/d/k/h1.java b/app/src/main/java/c/i/c/m/d/k/h1.java index 9652eeb55d..7660282e52 100644 --- a/app/src/main/java/c/i/c/m/d/k/h1.java +++ b/app/src/main/java/c/i/c/m/d/k/h1.java @@ -1,7 +1,7 @@ package c.i.c.m.d.k; import android.os.Looper; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import com.google.android.gms.tasks.Task; import java.io.File; import java.io.FilenameFilter; @@ -17,7 +17,7 @@ import java.util.concurrent.TimeoutException; /* compiled from: Utils */ public final class h1 { public static final FilenameFilter a = new a(); - public static final ExecutorService b = c.f("awaitEvenIfOnMainThread task continuation executor"); + public static final ExecutorService b = f.k("awaitEvenIfOnMainThread task continuation executor"); /* compiled from: Utils */ public class a implements FilenameFilter { diff --git a/app/src/main/java/c/i/c/m/d/k/i.java b/app/src/main/java/c/i/c/m/d/k/i.java index 7b23a569e2..de96b5dbf3 100644 --- a/app/src/main/java/c/i/c/m/d/k/i.java +++ b/app/src/main/java/c/i/c/m/d/k/i.java @@ -1,16 +1,16 @@ package c.i.c.m.d.k; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import com.google.android.gms.tasks.Task; import java.util.concurrent.Callable; import java.util.concurrent.Executor; /* compiled from: CrashlyticsBackgroundWorker */ public class i { public final Executor a; - public Task b = c.F(null); + public Task b = f.R(null); /* renamed from: c reason: collision with root package name */ - public final Object f1387c = new Object(); + public final Object f1343c = new Object(); public ThreadLocal d = new ThreadLocal<>(); /* compiled from: CrashlyticsBackgroundWorker */ @@ -37,7 +37,7 @@ public class i { public Task b(Callable callable) { Task task; - synchronized (this.f1387c) { + synchronized (this.f1343c) { task = (Task) this.b.i(this.a, new k(this, callable)); this.b = task.i(this.a, new l(this)); } @@ -46,7 +46,7 @@ public class i { public Task c(Callable> callable) { Task task; - synchronized (this.f1387c) { + synchronized (this.f1343c) { task = (Task) this.b.j(this.a, new k(this, callable)); this.b = task.i(this.a, new l(this)); } diff --git a/app/src/main/java/c/i/c/m/d/k/k0.java b/app/src/main/java/c/i/c/m/d/k/k0.java index 2a5aba123c..5b673e6df9 100644 --- a/app/src/main/java/c/i/c/m/d/k/k0.java +++ b/app/src/main/java/c/i/c/m/d/k/k0.java @@ -4,6 +4,7 @@ import android.content.Context; import android.content.SharedPreferences; import android.util.Log; import androidx.annotation.Nullable; +import c.i.a.f.e.o.f; import c.i.c.c; import c.i.c.m.d.s.d; import c.i.c.m.d.s.h.e; @@ -22,7 +23,7 @@ public class k0 { public final c b; /* renamed from: c reason: collision with root package name */ - public final q0 f1388c; + public final q0 f1344c; public final long d = System.currentTimeMillis(); public m0 e; public m0 f; @@ -73,7 +74,7 @@ public class k0 { public k0(c cVar, v0 v0Var, c.i.c.m.d.a aVar, q0 q0Var, c.i.c.m.d.j.a aVar2, c.i.c.m.d.i.a aVar3, ExecutorService executorService) { this.b = cVar; - this.f1388c = q0Var; + this.f1344c = q0Var; cVar.a(); this.a = cVar.d; this.i = v0Var; @@ -99,7 +100,7 @@ public class k0 { e c2 = cVar.c(); if (!c2.a().a) { bVar.b("Collection of crash reports disabled in Crashlytics settings."); - task = c.i.a.f.e.o.c.E(new RuntimeException("Collection of crash reports disabled in Crashlytics settings.")); + task = f.Q(new RuntimeException("Collection of crash reports disabled in Crashlytics settings.")); } else { if (!k0Var.h.h(c2.b().a)) { bVar.b("Could not finalize previous sessions."); @@ -110,7 +111,7 @@ public class k0 { if (c.i.c.m.d.b.a.a(6)) { Log.e("FirebaseCrashlytics", "Crashlytics encountered a problem during asynchronous initialization.", e); } - task = c.i.a.f.e.o.c.E(e); + task = f.Q(e); } catch (Throwable th) { k0Var.c(); throw th; @@ -145,7 +146,7 @@ public class k0 { public void d(@Nullable Boolean bool) { Boolean bool2; - q0 q0Var = this.f1388c; + q0 q0Var = this.f1344c; synchronized (q0Var) { if (bool != null) { try { @@ -169,7 +170,7 @@ public class k0 { edit.remove("firebase_crashlytics_collection_enabled"); } edit.commit(); - synchronized (q0Var.f1391c) { + synchronized (q0Var.f1347c) { if (q0Var.b()) { if (!q0Var.e) { q0Var.d.b(null); diff --git a/app/src/main/java/c/i/c/m/d/k/l0.java b/app/src/main/java/c/i/c/m/d/k/l0.java index 75fd60ec0b..a5679f5055 100644 --- a/app/src/main/java/c/i/c/m/d/k/l0.java +++ b/app/src/main/java/c/i/c/m/d/k/l0.java @@ -17,7 +17,7 @@ public class l0 implements Callable { boolean z2 = true; if (!xVar.k.b().exists()) { String i = xVar.i(); - if (i == null || !xVar.f1399w.e(i)) { + if (i == null || !xVar.w.e(i)) { z2 = false; } } else { diff --git a/app/src/main/java/c/i/c/m/d/k/m0.java b/app/src/main/java/c/i/c/m/d/k/m0.java index aeae565f7a..652a6291a3 100644 --- a/app/src/main/java/c/i/c/m/d/k/m0.java +++ b/app/src/main/java/c/i/c/m/d/k/m0.java @@ -20,9 +20,9 @@ public class m0 { return b().createNewFile(); } catch (IOException e) { b bVar = b.a; - StringBuilder O = a.O("Error creating marker: "); - O.append(this.a); - bVar.e(O.toString(), e); + StringBuilder R = a.R("Error creating marker: "); + R.append(this.a); + bVar.e(R.toString(), e); return false; } } diff --git a/app/src/main/java/c/i/c/m/d/k/n0.java b/app/src/main/java/c/i/c/m/d/k/n0.java index e99b9d043a..1e7462b0d5 100644 --- a/app/src/main/java/c/i/c/m/d/k/n0.java +++ b/app/src/main/java/c/i/c/m/d/k/n0.java @@ -20,7 +20,7 @@ public class n0 { public static final Map b; /* renamed from: c reason: collision with root package name */ - public final Context f1389c; + public final Context f1345c; public final v0 d; public final b e; public final d f; @@ -28,21 +28,21 @@ public class n0 { static { HashMap hashMap = new HashMap(); b = hashMap; - a.d0(5, hashMap, "armeabi", 6, "armeabi-v7a", 9, "arm64-v8a", 0, "x86"); + a.h0(5, hashMap, "armeabi", 6, "armeabi-v7a", 9, "arm64-v8a", 0, "x86"); hashMap.put("x86_64", 1); } public n0(Context context, v0 v0Var, b bVar, d dVar) { - this.f1389c = context; + this.f1345c = context; this.d = v0Var; this.e = bVar; this.f = dVar; } - public final v.d.AbstractC0138d.a.b.AbstractC0141b a(e eVar, int i, int i2, int i3) { + public final v.d.AbstractC0137d.a.b.AbstractC0140b a(e eVar, int i, int i2, int i3) { String str = eVar.b; String str2 = eVar.a; - StackTraceElement[] stackTraceElementArr = eVar.f1440c; + StackTraceElement[] stackTraceElementArr = eVar.f1395c; int i4 = 0; if (stackTraceElementArr == null) { stackTraceElementArr = new StackTraceElement[0]; @@ -55,7 +55,7 @@ public class n0 { i4++; } } - v.d.AbstractC0138d.a.b.AbstractC0141b bVar = null; + v.d.AbstractC0137d.a.b.AbstractC0140b bVar = null; Objects.requireNonNull(str, "Null type"); w wVar = new w(b(stackTraceElementArr, i)); Integer valueOf = Integer.valueOf(i4); @@ -66,10 +66,10 @@ public class n0 { if (str3.isEmpty()) { return new n(str, str2, wVar, bVar, valueOf.intValue(), null); } - throw new IllegalStateException(a.u("Missing required properties:", str3)); + throw new IllegalStateException(a.v("Missing required properties:", str3)); } - public final w b(StackTraceElement[] stackTraceElementArr, int i) { + public final w b(StackTraceElement[] stackTraceElementArr, int i) { ArrayList arrayList = new ArrayList(); for (StackTraceElement stackTraceElement : stackTraceElementArr) { q.b bVar = new q.b(); @@ -84,14 +84,14 @@ public class n0 { bVar.a = Long.valueOf(max); Objects.requireNonNull(str, "Null symbol"); bVar.b = str; - bVar.f1424c = fileName; + bVar.f1379c = fileName; bVar.d = Long.valueOf(j); arrayList.add(bVar.a()); } return new w<>(arrayList); } - public final v.d.AbstractC0138d.a.b.AbstractC0142d c(Thread thread, StackTraceElement[] stackTraceElementArr, int i) { + public final v.d.AbstractC0137d.a.b.AbstractC0141d c(Thread thread, StackTraceElement[] stackTraceElementArr, int i) { String name = thread.getName(); Objects.requireNonNull(name, "Null name"); Integer valueOf = Integer.valueOf(i); @@ -100,6 +100,6 @@ public class n0 { if (str.isEmpty()) { return new p(name, valueOf.intValue(), wVar, null); } - throw new IllegalStateException(a.u("Missing required properties:", str)); + throw new IllegalStateException(a.v("Missing required properties:", str)); } } diff --git a/app/src/main/java/c/i/c/m/d/k/o.java b/app/src/main/java/c/i/c/m/d/k/o.java index ef1c803105..32edf9008b 100644 --- a/app/src/main/java/c/i/c/m/d/k/o.java +++ b/app/src/main/java/c/i/c/m/d/k/o.java @@ -45,7 +45,7 @@ public class o implements Runnable { String replaceAll = i3.replaceAll("-", ""); Objects.requireNonNull(d1Var); c.i.c.m.d.b bVar4 = c.i.c.m.d.b.a; - a.j0("Persisting non-fatal event for session ", replaceAll, bVar4); + a.l0("Persisting non-fatal event for session ", replaceAll, bVar4); d1Var.a(th2, thread, replaceAll, "error", time, false); x xVar = this.l; Thread thread2 = this.k; diff --git a/app/src/main/java/c/i/c/m/d/k/p0.java b/app/src/main/java/c/i/c/m/d/k/p0.java index 8679385526..3ee40c2f32 100644 --- a/app/src/main/java/c/i/c/m/d/k/p0.java +++ b/app/src/main/java/c/i/c/m/d/k/p0.java @@ -11,7 +11,7 @@ public class p0 implements Thread.UncaughtExceptionHandler { public final d b; /* renamed from: c reason: collision with root package name */ - public final Thread.UncaughtExceptionHandler f1390c; + public final Thread.UncaughtExceptionHandler f1346c; public final AtomicBoolean d = new AtomicBoolean(false); /* compiled from: CrashlyticsUncaughtExceptionHandler */ @@ -21,7 +21,7 @@ public class p0 implements Thread.UncaughtExceptionHandler { public p0(a aVar, d dVar, Thread.UncaughtExceptionHandler uncaughtExceptionHandler) { this.a = aVar; this.b = dVar; - this.f1390c = uncaughtExceptionHandler; + this.f1346c = uncaughtExceptionHandler; } @Override // java.lang.Thread.UncaughtExceptionHandler @@ -38,7 +38,7 @@ public class p0 implements Thread.UncaughtExceptionHandler { bVar.b("Crashlytics completed exception processing. Invoking default exception handler."); } catch (Throwable th2) { b.a.b("Crashlytics completed exception processing. Invoking default exception handler."); - this.f1390c.uncaughtException(thread, th); + this.f1346c.uncaughtException(thread, th); this.d.set(false); throw th2; } @@ -48,7 +48,7 @@ public class p0 implements Thread.UncaughtExceptionHandler { ((b0) this.a).a(this.b, thread, th); } b.a.b("Crashlytics completed exception processing. Invoking default exception handler."); - this.f1390c.uncaughtException(thread, th); + this.f1346c.uncaughtException(thread, th); this.d.set(false); } } diff --git a/app/src/main/java/c/i/c/m/d/k/q0.java b/app/src/main/java/c/i/c/m/d/k/q0.java index 021b7a515e..2ebf736e25 100644 --- a/app/src/main/java/c/i/c/m/d/k/q0.java +++ b/app/src/main/java/c/i/c/m/d/k/q0.java @@ -19,7 +19,7 @@ public class q0 { public final c b; /* renamed from: c reason: collision with root package name */ - public final Object f1391c; + public final Object f1347c; public TaskCompletionSource d = new TaskCompletionSource<>(); public boolean e = false; public boolean f = false; @@ -30,7 +30,7 @@ public class q0 { public q0(c cVar) { Boolean bool; Object obj = new Object(); - this.f1391c = obj; + this.f1347c = obj; cVar.a(); Context context = cVar.d; this.b = cVar; @@ -90,7 +90,7 @@ public class q0 { public Task c() { b0 b0Var; b0 b0Var2 = this.h.a; - synchronized (this.f1391c) { + synchronized (this.f1347c) { b0Var = this.d.a; } FilenameFilter filenameFilter = h1.a; diff --git a/app/src/main/java/c/i/c/m/d/k/r0.java b/app/src/main/java/c/i/c/m/d/k/r0.java index a0ac2d34a0..0cea3c2218 100644 --- a/app/src/main/java/c/i/c/m/d/k/r0.java +++ b/app/src/main/java/c/i/c/m/d/k/r0.java @@ -8,10 +8,10 @@ public enum r0 { /* renamed from: id reason: collision with root package name */ - private final int f1392id; + private final int f1348id; public r0(int i) { - this.f1392id = i; + this.f1348id = i; } public static r0 f(String str) { @@ -19,11 +19,11 @@ public enum r0 { } public int g() { - return this.f1392id; + return this.f1348id; } @Override // java.lang.Enum, java.lang.Object public String toString() { - return Integer.toString(this.f1392id); + return Integer.toString(this.f1348id); } } diff --git a/app/src/main/java/c/i/c/m/d/k/s.java b/app/src/main/java/c/i/c/m/d/k/s.java index 2e9ddd9536..2556dfa39f 100644 --- a/app/src/main/java/c/i/c/m/d/k/s.java +++ b/app/src/main/java/c/i/c/m/d/k/s.java @@ -16,16 +16,16 @@ public class s implements Runnable { @Override // java.lang.Runnable public void run() { x xVar = this.i; - File[] r2 = x.r(xVar.l(), new x.i()); + File[] r = x.r(xVar.l(), new x.i()); Objects.requireNonNull(xVar); HashSet hashSet = new HashSet(); - for (File file : r2) { + for (File file : r) { b.a.b("Found invalid session part file: " + file); hashSet.add(x.o(file)); } if (!hashSet.isEmpty()) { - File[] r3 = x.r(xVar.l(), new t(xVar, hashSet)); - for (File file2 : r3) { + File[] r2 = x.r(xVar.l(), new t(xVar, hashSet)); + for (File file2 : r2) { b.a.b("Deleting invalid session file: " + file2); file2.delete(); } diff --git a/app/src/main/java/c/i/c/m/d/k/u.java b/app/src/main/java/c/i/c/m/d/k/u.java index c673a0b5e1..b63a0d7d63 100644 --- a/app/src/main/java/c/i/c/m/d/k/u.java +++ b/app/src/main/java/c/i/c/m/d/k/u.java @@ -10,19 +10,19 @@ public class u implements x.g { public final /* synthetic */ String b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ long f1393c; + public final /* synthetic */ long f1349c; public u(x xVar, String str, String str2, long j) { this.a = str; this.b = str2; - this.f1393c = j; + this.f1349c = j; } @Override // c.i.c.m.d.k.x.g public void a(c cVar) throws Exception { String str = this.a; String str2 = this.b; - long j = this.f1393c; + long j = this.f1349c; a aVar = d.a; cVar.l(1, a.a(str2)); cVar.l(2, a.a(str)); diff --git a/app/src/main/java/c/i/c/m/d/k/u0.java b/app/src/main/java/c/i/c/m/d/k/u0.java index d56654c69d..e8e15f8790 100644 --- a/app/src/main/java/c/i/c/m/d/k/u0.java +++ b/app/src/main/java/c/i/c/m/d/k/u0.java @@ -22,18 +22,18 @@ public class u0 implements a1 { @NonNull /* renamed from: c reason: collision with root package name */ - public final String f1394c; + public final String f1350c; public u0(@NonNull String str, @NonNull String str2, @NonNull File file) { this.b = str; - this.f1394c = str2; + this.f1350c = str2; this.a = file; } @Override // c.i.c.m.d.k.a1 @NonNull public String a() { - return this.f1394c; + return this.f1350c; } /* JADX WARNING: Removed duplicated region for block: B:37:0x0051 */ @@ -65,7 +65,7 @@ public class u0 implements a1 { if (1 != 0) { return new e(str, bArr, null); } - throw new IllegalStateException(a.u("Missing required properties:", "")); + throw new IllegalStateException(a.v("Missing required properties:", "")); } while (true) { try { diff --git a/app/src/main/java/c/i/c/m/d/k/v.java b/app/src/main/java/c/i/c/m/d/k/v.java index 634a88ee19..cf5d55402d 100644 --- a/app/src/main/java/c/i/c/m/d/k/v.java +++ b/app/src/main/java/c/i/c/m/d/k/v.java @@ -10,7 +10,7 @@ public class v implements x.g { public final /* synthetic */ String b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ String f1395c; + public final /* synthetic */ String f1351c; public final /* synthetic */ String d; public final /* synthetic */ int e; public final /* synthetic */ x f; @@ -19,7 +19,7 @@ public class v implements x.g { this.f = xVar; this.a = str; this.b = str2; - this.f1395c = str3; + this.f1351c = str3; this.d = str4; this.e = i; } @@ -28,10 +28,10 @@ public class v implements x.g { public void a(c cVar) throws Exception { String str = this.a; String str2 = this.b; - String str3 = this.f1395c; + String str3 = this.f1351c; String str4 = this.d; int i = this.e; - String str5 = this.f.f1401y; + String str5 = this.f.f1356y; a aVar = d.a; a a = a.a(str); a a2 = a.a(str2); @@ -44,7 +44,7 @@ public class v implements x.g { if (a5 != null) { b2 = c.b(9, a5) + c.b(8, d.b) + b2; } - cVar.p(c.c(10, i) + b2); + cVar.o(c.c(10, i) + b2); cVar.l(1, a); cVar.l(2, a2); cVar.l(3, a3); diff --git a/app/src/main/java/c/i/c/m/d/k/v0.java b/app/src/main/java/c/i/c/m/d/k/v0.java index 6be1afd6ac..a5e7ab9c76 100644 --- a/app/src/main/java/c/i/c/m/d/k/v0.java +++ b/app/src/main/java/c/i/c/m/d/k/v0.java @@ -17,7 +17,7 @@ public class v0 implements w0 { public static final String b = Pattern.quote(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN); /* renamed from: c reason: collision with root package name */ - public final x0 f1396c; + public final x0 f1352c; public final Context d; public final String e; public final g f; @@ -28,7 +28,7 @@ public class v0 implements w0 { this.d = context; this.e = str; this.f = gVar; - this.f1396c = new x0(); + this.f1352c = new x0(); return; } throw new IllegalArgumentException("appIdentifier must not be null"); @@ -90,7 +90,7 @@ public class v0 implements w0 { public String c() { String str; - x0 x0Var = this.f1396c; + x0 x0Var = this.f1352c; Context context = this.d; synchronized (x0Var) { if (x0Var.a == null) { diff --git a/app/src/main/java/c/i/c/m/d/k/w.java b/app/src/main/java/c/i/c/m/d/k/w.java index 3ab8fd2186..1ad14bddd4 100644 --- a/app/src/main/java/c/i/c/m/d/k/w.java +++ b/app/src/main/java/c/i/c/m/d/k/w.java @@ -23,7 +23,7 @@ public class w implements x.g { a a2 = a.a(str2); cVar.r(8, 2); int b = c.b(2, a) + c.c(1, 3) + 0; - cVar.p(c.a(4, z2) + c.b(3, a2) + b); + cVar.o(c.a(4, z2) + c.b(3, a2) + b); cVar.m(1, 3); cVar.l(2, a); cVar.l(3, a2); diff --git a/app/src/main/java/c/i/c/m/d/k/x.java b/app/src/main/java/c/i/c/m/d/k/x.java index 2ae46ec0df..f4e813cf62 100644 --- a/app/src/main/java/c/i/c/m/d/k/x.java +++ b/app/src/main/java/c/i/c/m/d/k/x.java @@ -56,7 +56,7 @@ public class x { public static final FilenameFilter b = new b(); /* renamed from: c reason: collision with root package name */ - public static final Comparator f1397c = new c(); + public static final Comparator f1353c = new c(); public static final Comparator d = new d(); public static final Pattern e = Pattern.compile("([\\d|A-Z|a-z]{12}\\-[\\d|A-Z|a-z]{4}\\-[\\d|A-Z|a-z]{4}\\-[\\d|A-Z|a-z]{12}).+"); public static final Map f = Collections.singletonMap("X-CRASHLYTICS-SEND-FLAGS", "1"); @@ -77,25 +77,23 @@ public class x { public final v0 o; public final c.i.c.m.d.o.h p; public final b q; + public final b.AbstractC0144b r; - /* renamed from: r reason: collision with root package name */ - public final b.AbstractC0145b f1398r; - public final j s; + /* renamed from: s reason: collision with root package name */ + public final j f1354s; public final c.i.c.m.d.l.b t; public final c.i.c.m.d.q.a u; public final b.a v; - - /* renamed from: w reason: collision with root package name */ - public final c.i.c.m.d.a f1399w; + public final c.i.c.m.d.a w; /* renamed from: x reason: collision with root package name */ - public final c.i.c.m.d.t.d f1400x; + public final c.i.c.m.d.t.d f1355x; /* renamed from: y reason: collision with root package name */ - public final String f1401y; + public final String f1356y; /* renamed from: z reason: collision with root package name */ - public final c.i.c.m.d.i.a f1402z; + public final c.i.c.m.d.i.a f1357z; /* compiled from: CrashlyticsController */ public class a extends h { @@ -193,7 +191,7 @@ public class x { } /* compiled from: CrashlyticsController */ - public static final class j implements b.AbstractC0133b { + public static final class j implements b.AbstractC0132b { public final c.i.c.m.d.o.h a; public j(c.i.c.m.d.o.h hVar) { @@ -261,7 +259,7 @@ public class x { } } - public x(Context context, i iVar, c.i.c.m.d.n.b bVar, v0 v0Var, q0 q0Var, c.i.c.m.d.o.h hVar, m0 m0Var, b bVar2, c.i.c.m.d.q.a aVar, b.AbstractC0145b bVar3, c.i.c.m.d.a aVar2, c.i.c.m.d.i.a aVar3, c.i.c.m.d.s.d dVar) { + public x(Context context, i iVar, c.i.c.m.d.n.b bVar, v0 v0Var, q0 q0Var, c.i.c.m.d.o.h hVar, m0 m0Var, b bVar2, c.i.c.m.d.q.a aVar, b.AbstractC0144b bVar3, c.i.c.m.d.a aVar2, c.i.c.m.d.i.a aVar3, c.i.c.m.d.s.d dVar) { this.i = context; this.m = iVar; this.n = bVar; @@ -270,26 +268,26 @@ public class x { this.p = hVar; this.k = m0Var; this.q = bVar2; - this.f1398r = new h0(this); - this.f1399w = aVar2; - this.f1401y = bVar2.g.a(); - this.f1402z = aVar3; + this.r = new h0(this); + this.w = aVar2; + this.f1356y = bVar2.g.a(); + this.f1357z = aVar3; f1 f1Var = new f1(); this.l = f1Var; j jVar = new j(hVar); - this.s = jVar; + this.f1354s = jVar; c.i.c.m.d.l.b bVar4 = new c.i.c.m.d.l.b(context, jVar); this.t = bVar4; this.u = new c.i.c.m.d.q.a(new k(null)); this.v = new l(null); c.i.c.m.d.t.a aVar4 = new c.i.c.m.d.t.a(1024, new c.i.c.m.d.t.c(10)); - this.f1400x = aVar4; + this.f1355x = aVar4; File file = new File(new File(hVar.a.getFilesDir(), ".com.google.firebase.crashlytics").getPath()); n0 n0Var = new n0(context, v0Var, bVar2, aVar4); c.i.c.m.d.o.g gVar = new c.i.c.m.d.o.g(file, dVar); c.i.c.m.d.m.x.h hVar2 = c.i.c.m.d.r.c.a; c.i.a.b.j.n.b(context); - c.i.a.b.g c2 = c.i.a.b.j.n.a().c(new c.i.a.b.i.a(c.i.c.m.d.r.c.b, c.i.c.m.d.r.c.f1434c)); + c.i.a.b.g c2 = c.i.a.b.j.n.a().c(new c.i.a.b.i.a(c.i.c.m.d.r.c.b, c.i.c.m.d.r.c.f1389c)); c.i.a.b.b bVar5 = new c.i.a.b.b("json"); c.i.a.b.e eVar = c.i.c.m.d.r.c.d; this.A = new d1(n0Var, gVar, new c.i.c.m.d.r.c(((c.i.a.b.j.j) c2).a("FIREBASE_CRASHLYTICS_REPORT", v.class, bVar5, eVar), eVar), bVar4, f1Var); @@ -299,9 +297,9 @@ public class x { Throwable th; if (!file.exists()) { c.i.c.m.d.b bVar = c.i.c.m.d.b.a; - StringBuilder O = c.d.b.a.a.O("Tried to include a file that doesn't exist: "); - O.append(file.getName()); - bVar.d(O.toString()); + StringBuilder R = c.d.b.a.a.R("Tried to include a file that doesn't exist: "); + R.append(file.getName()); + bVar.d(R.toString()); return; } FileInputStream fileInputStream = null; @@ -332,26 +330,26 @@ public class x { new g(xVar.o); String str3 = g.b; c.i.c.m.d.b bVar = c.i.c.m.d.b.a; - c.d.b.a.a.j0("Opening a new session with ID ", str3, bVar); - xVar.f1399w.h(str3); + c.d.b.a.a.l0("Opening a new session with ID ", str3, bVar); + xVar.w.h(str3); Locale locale = Locale.US; String format = String.format(locale, "Crashlytics Android SDK/%s", "17.3.0"); xVar.z(str3, "BeginSession", new u(xVar, str3, format, j2)); - xVar.f1399w.d(str3, format, j2); + xVar.w.d(str3, format, j2); v0 v0Var = xVar.o; String str4 = v0Var.e; b bVar2 = xVar.q; String str5 = bVar2.e; String str6 = bVar2.f; String b2 = v0Var.b(); - int g2 = r0.f(xVar.q.f1382c).g(); + int g2 = r0.f(xVar.q.f1338c).g(); xVar.z(str3, "SessionApp", new v(xVar, str4, str5, str6, b2, g2)); - xVar.f1399w.f(str3, str4, str5, str6, b2, g2, xVar.f1401y); + xVar.w.f(str3, str4, str5, str6, b2, g2, xVar.f1356y); String str7 = Build.VERSION.RELEASE; String str8 = Build.VERSION.CODENAME; boolean t = h.t(xVar.i); xVar.z(str3, "SessionOS", new w(xVar, str7, str8, t)); - xVar.f1399w.g(str3, str7, str8, t); + xVar.w.g(str3, str7, str8, t); Context context = xVar.i; StatFs statFs = new StatFs(Environment.getDataDirectory().getPath()); h.b bVar3 = h.b.UNKNOWN; @@ -359,7 +357,7 @@ public class x { if (TextUtils.isEmpty(str9)) { bVar.b("Architecture#getValue()::Build.CPU_ABI returned null or empty"); } else { - h.b bVar4 = h.b.s.get(str9.toLowerCase(locale)); + h.b bVar4 = h.b.f1342s.get(str9.toLowerCase(locale)); if (bVar4 != null) { bVar3 = bVar4; } @@ -369,19 +367,19 @@ public class x { int availableProcessors = Runtime.getRuntime().availableProcessors(); long p = h.p(); long blockCount = ((long) statFs.getBlockCount()) * ((long) statFs.getBlockSize()); - boolean r2 = h.r(context); + boolean r = h.r(context); int k2 = h.k(context); String str11 = Build.MANUFACTURER; String str12 = Build.PRODUCT; - xVar.z(str3, "SessionDevice", new y(xVar, ordinal, str10, availableProcessors, p, blockCount, r2, k2, str11, str12)); - xVar.f1399w.c(str3, ordinal, str10, availableProcessors, p, blockCount, r2, k2, str11, str12); + xVar.z(str3, "SessionDevice", new y(xVar, ordinal, str10, availableProcessors, p, blockCount, r, k2, str11, str12)); + xVar.w.c(str3, ordinal, str10, availableProcessors, p, blockCount, r, k2, str11, str12); xVar.t.a(str3); d1 d1Var = xVar.A; String t2 = t(str3); n0 n0Var = d1Var.a; Objects.requireNonNull(n0Var); Charset charset = v.a; - b.C0136b bVar5 = new b.C0136b(); + b.C0135b bVar5 = new b.C0135b(); bVar5.a = "17.3.0"; String str13 = n0Var.e.a; Objects.requireNonNull(str13, "Null gmpAppId"); @@ -395,10 +393,10 @@ public class x { String str15 = n0Var.e.f; Objects.requireNonNull(str15, "Null displayVersion"); bVar5.f = str15; - bVar5.f1409c = 4; + bVar5.f1364c = 4; f.b bVar6 = new f.b(); bVar6.b(false); - bVar6.f1411c = Long.valueOf(j2); + bVar6.f1366c = Long.valueOf(j2); Objects.requireNonNull(t2, "Null identifier"); bVar6.b = t2; String str16 = n0.a; @@ -422,10 +420,10 @@ public class x { Integer num2 = 3; Objects.requireNonNull(str7, "Null version"); Objects.requireNonNull(str8, "Null buildVersion"); - Boolean valueOf = Boolean.valueOf(h.t(n0Var.f1389c)); + Boolean valueOf = Boolean.valueOf(h.t(n0Var.f1345c)); String str20 = num2 == null ? " platform" : ""; if (valueOf == null) { - str20 = c.d.b.a.a.u(str20, " jailbroken"); + str20 = c.d.b.a.a.v(str20, " jailbroken"); } if (str20.isEmpty()) { bVar6.h = new t(num2.intValue(), str7, str8, valueOf.booleanValue(), null); @@ -437,16 +435,16 @@ public class x { int availableProcessors2 = Runtime.getRuntime().availableProcessors(); long p2 = h.p(); long blockCount2 = ((long) statFs2.getBlockCount()) * ((long) statFs2.getBlockSize()); - boolean r3 = h.r(n0Var.f1389c); - int k3 = h.k(n0Var.f1389c); + boolean r2 = h.r(n0Var.f1345c); + int k3 = h.k(n0Var.f1345c); i.b bVar7 = new i.b(); bVar7.a = Integer.valueOf(i2); Objects.requireNonNull(str10, "Null model"); bVar7.b = str10; - bVar7.f1414c = Integer.valueOf(availableProcessors2); + bVar7.f1369c = Integer.valueOf(availableProcessors2); bVar7.d = Long.valueOf(p2); bVar7.e = Long.valueOf(blockCount2); - bVar7.f = Boolean.valueOf(r3); + bVar7.f = Boolean.valueOf(r2); bVar7.g = Integer.valueOf(k3); Objects.requireNonNull(str11, "Null manufacturer"); bVar7.h = str11; @@ -467,12 +465,12 @@ public class x { try { File h3 = gVar.h(g3); c.i.c.m.d.o.g.i(h3); - c.i.c.m.d.o.g.l(new File(h3, "report"), c.i.c.m.d.o.g.f1430c.g(a3)); + c.i.c.m.d.o.g.l(new File(h3, "report"), c.i.c.m.d.o.g.f1385c.g(a3)); } catch (IOException e2) { c.i.c.m.d.b.a.c("Could not persist report for session " + g3, e2); } } else { - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str20)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str20)); } } @@ -481,8 +479,8 @@ public class x { Task task; Objects.requireNonNull(xVar); ArrayList arrayList = new ArrayList(); - File[] r2 = r(xVar.l(), m.a); - for (File file : r2) { + File[] r = r(xVar.l(), m.a); + for (File file : r) { try { long parseLong = Long.parseLong(file.getName().substring(3)); try { @@ -493,20 +491,20 @@ public class x { } if (z2) { c.i.c.m.d.b.a.b("Skipping logging Crashlytics event to Firebase, FirebaseCrash exists"); - task = c.i.a.f.e.o.c.F(null); + task = c.i.a.f.e.o.f.R(null); } else { - task = c.i.a.f.e.o.c.g(new ScheduledThreadPoolExecutor(1), new a0(xVar, parseLong)); + task = c.i.a.f.e.o.f.l(new ScheduledThreadPoolExecutor(1), new a0(xVar, parseLong)); } arrayList.add(task); } catch (NumberFormatException unused2) { c.i.c.m.d.b bVar = c.i.c.m.d.b.a; - StringBuilder O = c.d.b.a.a.O("Could not parse timestamp from file "); - O.append(file.getName()); - bVar.b(O.toString()); + StringBuilder R = c.d.b.a.a.R("Could not parse timestamp from file "); + R.append(file.getName()); + bVar.b(R.toString()); } file.delete(); } - return c.i.a.f.e.o.c.p0(arrayList); + return c.i.a.f.e.o.f.j1(arrayList); } public static void c(@Nullable String str, @NonNull File file) throws Exception { @@ -522,28 +520,28 @@ public class x { c.i.c.m.d.p.a a2 = c.i.c.m.d.p.a.a(str); cVar.r(7, 2); int b2 = c.i.c.m.d.p.c.b(2, a2); - cVar.p(c.i.c.m.d.p.c.d(b2) + c.i.c.m.d.p.c.e(5) + b2); + cVar.o(c.i.c.m.d.p.c.d(b2) + c.i.c.m.d.p.c.e(5) + b2); cVar.r(5, 2); - cVar.p(b2); + cVar.o(b2); cVar.l(2, a2); - StringBuilder O = c.d.b.a.a.O("Failed to flush to append to "); - O.append(file.getPath()); - h.h(cVar, O.toString()); + StringBuilder R = c.d.b.a.a.R("Failed to flush to append to "); + R.append(file.getPath()); + h.h(cVar, R.toString()); h.c(fileOutputStream, "Failed to close " + file.getPath()); } catch (Throwable th2) { th = th2; - StringBuilder O2 = c.d.b.a.a.O("Failed to flush to append to "); - O2.append(file.getPath()); - h.h(cVar, O2.toString()); + StringBuilder R2 = c.d.b.a.a.R("Failed to flush to append to "); + R2.append(file.getPath()); + h.h(cVar, R2.toString()); h.c(fileOutputStream, "Failed to close " + file.getPath()); throw th; } } catch (Throwable th3) { th = th3; fileOutputStream = null; - StringBuilder O2 = c.d.b.a.a.O("Failed to flush to append to "); - O2.append(file.getPath()); - h.h(cVar, O2.toString()); + StringBuilder R2 = c.d.b.a.a.R("Failed to flush to append to "); + R2.append(file.getPath()); + h.h(cVar, R2.toString()); h.c(fileOutputStream, "Failed to close " + file.getPath()); throw th; } @@ -601,7 +599,7 @@ public class x { } public static void x(c.i.c.m.d.p.c cVar, File[] fileArr, String str) { - Arrays.sort(fileArr, h.f1385c); + Arrays.sort(fileArr, h.f1341c); for (File file : fileArr) { try { c.i.c.m.d.b.a.b(String.format(Locale.US, "Found Non Fatal for session ID %s in %s ", str, file.getName())); @@ -663,12 +661,12 @@ public class x { Exception e3; int i4 = i2; HashSet hashSet = new HashSet(); - File[] s = s(); - int min = Math.min((z2 ? 1 : 0) + 8, s.length); + File[] s2 = s(); + int min = Math.min((z2 ? 1 : 0) + 8, s2.length); for (int i5 = 0; i5 < min; i5++) { - hashSet.add(o(s[i5])); + hashSet.add(o(s2[i5])); } - File[] listFiles = ((j) this.t.f1405c).a().listFiles(); + File[] listFiles = ((j) this.t.f1360c).a().listFiles(); if (listFiles != null) { for (File file2 : listFiles) { String name = file2.getName(); @@ -682,8 +680,8 @@ public class x { } } FileInputStream fileInputStream = null; - File[] r2 = r(l(), new f(null)); - for (File file3 : r2) { + File[] r = r(l(), new f(null)); + for (File file3 : r) { String name2 = file3.getName(); Matcher matcher = e.matcher(name2); if (!matcher.matches()) { @@ -694,12 +692,12 @@ public class x { file3.delete(); } } - File[] s2 = s(); - if (s2.length <= z2) { + File[] s3 = s(); + if (s3.length <= z2) { c.i.c.m.d.b.a.b("No open sessions to be closed."); return; } - String o = o(s2[z2 ? 1 : 0]); + String o = o(s3[z2 ? 1 : 0]); if (p()) { f1Var = this.l; } else { @@ -723,11 +721,11 @@ public class x { z(o, "SessionUser", new z(this, f1Var)); String str4 = "report"; String str5 = "user"; - if (this.f1399w.e(o)) { + if (this.w.e(o)) { } c.i.c.m.d.b.a.b("Closing open sessions."); i3 = z2 ? 1 : 0; - while (i3 < s2.length) { + while (i3 < s3.length) { } String str6 = str4; if (z2 != 0) { @@ -767,11 +765,11 @@ public class x { z(o, "SessionUser", new z(this, f1Var)); String str4 = "report"; String str5 = "user"; - if (this.f1399w.e(o)) { + if (this.w.e(o)) { } c.i.c.m.d.b.a.b("Closing open sessions."); i3 = z2 ? 1 : 0; - while (i3 < s2.length) { + while (i3 < s3.length) { } String str6 = str4; if (z2 != 0) { @@ -796,16 +794,16 @@ public class x { z(o, "SessionUser", new z(this, f1Var)); String str4 = "report"; String str5 = "user"; - if (this.f1399w.e(o)) { + if (this.w.e(o)) { c.i.c.m.d.b bVar2 = c.i.c.m.d.b.a; - c.d.b.a.a.j0("Finalizing native report for session ", o, bVar2); - c.i.c.m.d.d b3 = this.f1399w.b(o); + c.d.b.a.a.l0("Finalizing native report for session ", o, bVar2); + c.i.c.m.d.d b3 = this.w.b(o); File d2 = b3.d(); if (d2 == null || !d2.exists()) { bVar2.g("No minidump data found for session " + o); } else { long lastModified = d2.lastModified(); - c.i.c.m.d.l.b bVar3 = new c.i.c.m.d.l.b(this.i, this.s, o); + c.i.c.m.d.l.b bVar3 = new c.i.c.m.d.l.b(this.i, this.f1354s, o); File file4 = new File(m(), o); if (!file4.mkdirs()) { bVar2.b("Couldn't create native sessions directory"); @@ -833,7 +831,7 @@ public class x { inputStream = a1Var.h(); if (inputStream != null) { try { - c.i.a.f.e.o.c.P(inputStream, new File(file4, a1Var.a())); + c.i.a.f.e.o.f.j0(inputStream, new File(file4, a1Var.a())); } catch (IOException unused) { } catch (Throwable th6) { th2 = th6; @@ -868,8 +866,8 @@ public class x { File file5 = new File(gVar2.h(replaceAll), str4); File file6 = gVar2.j; try { - c.i.c.m.d.m.x.h hVar = c.i.c.m.d.o.g.f1430c; - b.C0136b bVar4 = (b.C0136b) hVar.f(c.i.c.m.d.o.g.j(file5)).i(); + c.i.c.m.d.m.x.h hVar = c.i.c.m.d.o.g.f1385c; + b.C0135b bVar4 = (b.C0135b) hVar.f(c.i.c.m.d.o.g.j(file5)).i(); bVar4.g = null; bVar4.h = dVar; v a3 = bVar4.a(); @@ -881,32 +879,32 @@ public class x { bVar3.d.d(); } } - if (!this.f1399w.a(o)) { - c.d.b.a.a.j0("Could not finalize native session: ", o, c.i.c.m.d.b.a); + if (!this.w.a(o)) { + c.d.b.a.a.l0("Could not finalize native session: ", o, c.i.c.m.d.b.a); } } c.i.c.m.d.b.a.b("Closing open sessions."); i3 = z2 ? 1 : 0; - while (i3 < s2.length) { - File file7 = s2[i3]; + while (i3 < s3.length) { + File file7 = s3[i3]; String o2 = o(file7); c.i.c.m.d.b bVar5 = c.i.c.m.d.b.a; bVar5.b("Closing session: " + o2); bVar5.b("Collecting session parts for ID " + o2); - File[] r3 = r(l(), new h(c.d.b.a.a.u(o2, "SessionCrash"))); - boolean z4 = r3.length > 0; + File[] r2 = r(l(), new h(c.d.b.a.a.v(o2, "SessionCrash"))); + boolean z4 = r2.length > 0; Locale locale = Locale.US; bVar5.b(String.format(locale, "Session %s has fatal exception: %s", o2, Boolean.valueOf(z4))); - File[] r4 = r(l(), new h(c.d.b.a.a.u(o2, "SessionEvent"))); - boolean z5 = r4.length > 0; + File[] r3 = r(l(), new h(c.d.b.a.a.v(o2, "SessionEvent"))); + boolean z5 = r3.length > 0; bVar5.b(String.format(locale, "Session %s has non-fatal exceptions: %s", o2, Boolean.valueOf(z5))); if (z4 || z5) { - if (r4.length > i4) { + if (r3.length > i4) { bVar5.b(String.format(locale, "Trimming down to %d logged exceptions.", Integer.valueOf(i2))); v(o2, i4); - r4 = r(l(), new h(c.d.b.a.a.u(o2, "SessionEvent"))); + r3 = r(l(), new h(c.d.b.a.a.v(o2, "SessionEvent"))); } - File file8 = z4 ? r3[0] : null; + File file8 = z4 ? r2[0] : null; boolean z6 = file8 != null; File k2 = z6 ? k() : n(); if (!k2.exists()) { @@ -926,7 +924,7 @@ public class x { cVar.s(11, 1); cVar.m(12, 3); w(cVar, o2); - x(cVar, r4, o2); + x(cVar, r3, o2); if (z6) { A(cVar, file8); } @@ -939,7 +937,7 @@ public class x { h.h(cVar, "Error flushing session file stream"); d(bVar); c.i.c.m.d.b.a.b("Removing session part files for ID " + o2); - File[] r5 = r(l(), new n(o2)); + File[] r4 = r(l(), new n(o2)); while (r6 < r5) { } i3++; @@ -960,7 +958,7 @@ public class x { h.h(cVar, "Error flushing session file stream"); d(bVar); c.i.c.m.d.b.a.b("Removing session part files for ID " + o2); - File[] r5 = r(l(), new n(o2)); + File[] r4 = r(l(), new n(o2)); while (r6 < r5) { } i3++; @@ -976,7 +974,7 @@ public class x { h.h(cVar, "Error flushing session file stream"); d(bVar); c.i.c.m.d.b.a.b("Removing session part files for ID " + o2); - File[] r5 = r(l(), new n(o2)); + File[] r4 = r(l(), new n(o2)); while (r6 < r5) { } i3++; @@ -999,7 +997,7 @@ public class x { h.h(cVar, "Error flushing session file stream"); d(bVar); c.i.c.m.d.b.a.b("Removing session part files for ID " + o2); - File[] r5 = r(l(), new n(o2)); + File[] r4 = r(l(), new n(o2)); while (r6 < r5) { } i3++; @@ -1015,12 +1013,12 @@ public class x { throw th; } } else { - c.d.b.a.a.j0("No events present for session ID ", o2, bVar5); + c.d.b.a.a.l0("No events present for session ID ", o2, bVar5); str3 = str5; } c.i.c.m.d.b.a.b("Removing session part files for ID " + o2); - File[] r5 = r(l(), new n(o2)); - for (File file9 : r5) { + File[] r4 = r(l(), new n(o2)); + for (File file9 : r4) { file9.delete(); } i3++; @@ -1029,7 +1027,7 @@ public class x { i4 = i2; } String str6 = str4; - String t = z2 != 0 ? t(o(s2[0])) : null; + String t = z2 != 0 ? t(o(s3[0])) : null; d1 d1Var = this.A; long j3 = j(); c.i.c.m.d.o.g gVar = d1Var.b; @@ -1043,15 +1041,15 @@ public class x { } for (File file11 : f2) { c.i.c.m.d.b bVar6 = c.i.c.m.d.b.a; - StringBuilder O = c.d.b.a.a.O("Finalizing report for session "); - O.append(file11.getName()); - bVar6.b(O.toString()); + StringBuilder R = c.d.b.a.a.R("Finalizing report for session "); + R.append(file11.getName()); + bVar6.b(R.toString()); List g2 = c.i.c.m.d.o.g.g(file11, c.i.c.m.d.o.g.e); if (g2.isEmpty()) { - StringBuilder O2 = c.d.b.a.a.O("Session "); - O2.append(file11.getName()); - O2.append(" has no events."); - bVar6.b(O2.toString()); + StringBuilder R2 = c.d.b.a.a.R("Session "); + R2.append(file11.getName()); + R2.append(" has no events."); + bVar6.b(R2.toString()); } else { Collections.sort(g2); ArrayList arrayList4 = new ArrayList(); @@ -1064,13 +1062,13 @@ public class x { } File next = it3.next(); try { - c.i.c.m.d.m.x.h hVar2 = c.i.c.m.d.o.g.f1430c; + c.i.c.m.d.m.x.h hVar2 = c.i.c.m.d.o.g.f1385c; String j4 = c.i.c.m.d.o.g.j(next); Objects.requireNonNull(hVar2); try { JsonReader jsonReader = new JsonReader(new StringReader(j4)); try { - v.d.AbstractC0138d b6 = c.i.c.m.d.m.x.h.b(jsonReader); + v.d.AbstractC0137d b6 = c.i.c.m.d.m.x.h.b(jsonReader); jsonReader.close(); arrayList4.add(b6); if (!z3) { @@ -1093,9 +1091,9 @@ public class x { } if (arrayList4.isEmpty()) { c.i.c.m.d.b bVar7 = c.i.c.m.d.b.a; - StringBuilder O3 = c.d.b.a.a.O("Could not parse event files for session "); - O3.append(file11.getName()); - bVar7.b(O3.toString()); + StringBuilder R3 = c.d.b.a.a.R("Could not parse event files for session "); + R3.append(file11.getName()); + bVar7.b(R3.toString()); } else { File file12 = new File(file11, str5); if (file12.isFile()) { @@ -1103,21 +1101,21 @@ public class x { str2 = c.i.c.m.d.o.g.j(file12); } catch (IOException e13) { c.i.c.m.d.b bVar8 = c.i.c.m.d.b.a; - StringBuilder O4 = c.d.b.a.a.O("Could not read user ID file in "); - O4.append(file11.getName()); - bVar8.c(O4.toString(), e13); + StringBuilder R4 = c.d.b.a.a.R("Could not read user ID file in "); + R4.append(file11.getName()); + bVar8.c(R4.toString(), e13); } str = str6; file = new File(file11, str); File file13 = !z3 ? gVar.h : gVar.i; - c.i.c.m.d.m.x.h hVar3 = c.i.c.m.d.o.g.f1430c; + c.i.c.m.d.m.x.h hVar3 = c.i.c.m.d.o.g.f1385c; j2 = hVar3.f(c.i.c.m.d.o.g.j(file)).j(j3, z3, str2); - w wVar = new w<>(arrayList4); + w wVar = new w<>(arrayList4); if (j2.h() == null) { v.a i6 = j2.i(); f.b bVar9 = (f.b) j2.h().l(); bVar9.j = wVar; - b.C0136b bVar10 = (b.C0136b) i6; + b.C0135b bVar10 = (b.C0135b) i6; bVar10.g = bVar9.a(); v a4 = bVar10.a(); v.d h2 = a4.h(); @@ -1137,9 +1135,9 @@ public class x { if (!z3) { } try { - c.i.c.m.d.m.x.h hVar3 = c.i.c.m.d.o.g.f1430c; + c.i.c.m.d.m.x.h hVar3 = c.i.c.m.d.o.g.f1385c; j2 = hVar3.f(c.i.c.m.d.o.g.j(file)).j(j3, z3, str2); - w wVar = new w<>(arrayList4); + w wVar = new w<>(arrayList4); if (j2.h() == null) { } } catch (IOException e14) { @@ -1195,9 +1193,9 @@ public class x { @Nullable public final String i() { - File[] s = s(); - if (s.length > 0) { - return o(s[0]); + File[] s2 = s(); + if (s2.length > 0) { + return o(s2[0]); } return null; } @@ -1242,9 +1240,9 @@ public class x { } public final File[] s() { - File[] r2 = r(l(), a); - Arrays.sort(r2, f1397c); - return r2; + File[] r = r(l(), a); + Arrays.sort(r, f1353c); + return r; } public Task u(float f2, Task task) { @@ -1263,20 +1261,20 @@ public class x { if (!z2) { c.i.c.m.d.b.a.b("No reports are available."); this.C.b(Boolean.FALSE); - return c.i.a.f.e.o.c.F(null); + return c.i.a.f.e.o.f.R(null); } c.i.c.m.d.b bVar = c.i.c.m.d.b.a; bVar.b("Unsent reports are available."); if (this.j.b()) { bVar.b("Automatic data collection is enabled. Allowing upload."); this.C.b(Boolean.FALSE); - task2 = c.i.a.f.e.o.c.F(Boolean.TRUE); + task2 = c.i.a.f.e.o.f.R(Boolean.TRUE); } else { bVar.b("Automatic data collection is disabled."); bVar.b("Notifying that unsent reports are available."); this.C.b(Boolean.TRUE); q0 q0Var = this.j; - synchronized (q0Var.f1391c) { + synchronized (q0Var.f1347c) { b0Var = q0Var.d.a; } Task q2 = b0Var.q(new e0(this)); @@ -1293,18 +1291,18 @@ public class x { } public final void v(String str, int i2) { - h1.b(l(), new h(c.d.b.a.a.u(str, "SessionEvent")), i2, d); + h1.b(l(), new h(c.d.b.a.a.v(str, "SessionEvent")), i2, d); } public final void w(c.i.c.m.d.p.c cVar, String str) throws IOException { String[] strArr = g; for (String str2 : strArr) { - File[] r2 = r(l(), new h(c.d.b.a.a.v(str, str2, ".cls"))); - if (r2.length == 0) { + File[] r = r(l(), new h(c.d.b.a.a.w(str, str2, ".cls"))); + if (r.length == 0) { c.i.c.m.d.b.a.b("Can't find " + str2 + " data for session ID " + str); } else { c.i.c.m.d.b.a.b("Collecting " + str2 + " data for session ID " + str); - A(cVar, r2[0]); + A(cVar, r[0]); } } } @@ -1330,7 +1328,7 @@ public class x { int length; int i2; Map map; - c.i.c.m.d.t.e eVar = new c.i.c.m.d.t.e(th, this.f1400x); + c.i.c.m.d.t.e eVar = new c.i.c.m.d.t.e(th, this.f1355x); Context context = this.i; e a2 = e.a(context); Float f2 = a2.a; @@ -1344,7 +1342,7 @@ public class x { long a3 = h.a(Environment.getDataDirectory().getPath()); ActivityManager.RunningAppProcessInfo i4 = h.i(context.getPackageName(), context); LinkedList linkedList = new LinkedList(); - StackTraceElement[] stackTraceElementArr = eVar.f1440c; + StackTraceElement[] stackTraceElementArr = eVar.f1395c; String str3 = this.q.b; String str4 = this.o.e; if (z2) { @@ -1353,7 +1351,7 @@ public class x { int i5 = 0; for (Map.Entry entry : allStackTraces.entrySet()) { threadArr2[i5] = entry.getKey(); - linkedList.add(this.f1400x.a(entry.getValue())); + linkedList.add(this.f1355x.a(entry.getValue())); i5++; threadArr2 = threadArr2; } @@ -1394,13 +1392,13 @@ public class x { int b4 = c.i.c.m.d.p.c.b(1, aVar2); d3 += c.i.c.m.d.p.c.d(b4) + c.i.c.m.d.p.c.e(6) + b4; } - cVar.p(d3); + cVar.o(d3); cVar.t(1, j2); cVar.l(2, c.i.c.m.d.p.a.a(str)); cVar.r(3, 2); - cVar.p(c.i.c.m.d.p.d.f(eVar, thread, stackTraceElementArr, threadArr, linkedList, 8, a4, aVar, treeMap, i4, i3)); + cVar.o(c.i.c.m.d.p.d.f(eVar, thread, stackTraceElementArr, threadArr, linkedList, 8, a4, aVar, treeMap, i4, i3)); cVar.r(1, 2); - cVar.p(c.i.c.m.d.p.d.e(eVar, thread, stackTraceElementArr, threadArr, linkedList, 8, a4, aVar)); + cVar.o(c.i.c.m.d.p.d.e(eVar, thread, stackTraceElementArr, threadArr, linkedList, 8, a4, aVar)); c.i.c.m.d.p.d.m(cVar, thread, stackTraceElementArr, 4, true); length = threadArr.length; for (i2 = 0; i2 < length; i2++) { @@ -1409,13 +1407,13 @@ public class x { boolean z3 = false; c.i.c.m.d.p.d.l(cVar, eVar, 1, 8, 2); cVar.r(3, 2); - cVar.p(c.i.c.m.d.p.d.d()); + cVar.o(c.i.c.m.d.p.d.d()); c.i.c.m.d.p.a aVar4 = c.i.c.m.d.p.d.a; cVar.l(1, aVar4); cVar.l(2, aVar4); cVar.t(3, 0); cVar.r(4, 2); - cVar.p(c.i.c.m.d.p.d.a(a4, aVar)); + cVar.o(c.i.c.m.d.p.d.a(a4, aVar)); cVar.t(1, 0); cVar.t(2, 0); cVar.l(3, a4); @@ -1425,7 +1423,7 @@ public class x { if (treeMap != null && !treeMap.isEmpty()) { for (Map.Entry entry2 : treeMap.entrySet()) { cVar.r(2, 2); - cVar.p(c.i.c.m.d.p.d.b(entry2.getKey(), entry2.getValue())); + cVar.o(c.i.c.m.d.p.d.b(entry2.getKey(), entry2.getValue())); cVar.l(1, c.i.c.m.d.p.a.a(entry2.getKey())); String value = entry2.getValue(); if (value == null) { @@ -1442,25 +1440,25 @@ public class x { } cVar.s(4, i3); cVar.r(5, 2); - cVar.p(c.i.c.m.d.p.d.g(f2, b2, m2, i3, j3, a3)); + cVar.o(c.i.c.m.d.p.d.g(f2, b2, m2, i3, j3, a3)); if (f2 != null) { float floatValue = f2.floatValue(); - cVar.p(13); + cVar.o(13); int floatToRawIntBits = Float.floatToRawIntBits(floatValue); cVar.n(floatToRawIntBits & 255); cVar.n((floatToRawIntBits >> 8) & 255); cVar.n((floatToRawIntBits >> 16) & 255); cVar.n((floatToRawIntBits >> 24) & 255); } - cVar.p(16); - cVar.p((b2 << 1) ^ (b2 >> 31)); + cVar.o(16); + cVar.o((b2 << 1) ^ (b2 >> 31)); cVar.k(3, m2); cVar.s(4, i3); cVar.t(5, j3); cVar.t(6, a3); if (aVar2 != null) { cVar.r(6, 2); - cVar.p(c.i.c.m.d.p.c.b(1, aVar2)); + cVar.o(c.i.c.m.d.p.c.b(1, aVar2)); cVar.l(1, aVar2); } this.t.d.d(); @@ -1482,13 +1480,13 @@ public class x { int d3 = c.i.c.m.d.p.c.d(g2) + c.i.c.m.d.p.c.e(5) + g2 + d2; if (aVar2 != null) { } - cVar.p(d3); + cVar.o(d3); cVar.t(1, j2); cVar.l(2, c.i.c.m.d.p.a.a(str)); cVar.r(3, 2); - cVar.p(c.i.c.m.d.p.d.f(eVar, thread, stackTraceElementArr, threadArr, linkedList, 8, a4, aVar, treeMap, i4, i3)); + cVar.o(c.i.c.m.d.p.d.f(eVar, thread, stackTraceElementArr, threadArr, linkedList, 8, a4, aVar, treeMap, i4, i3)); cVar.r(1, 2); - cVar.p(c.i.c.m.d.p.d.e(eVar, thread, stackTraceElementArr, threadArr, linkedList, 8, a4, aVar)); + cVar.o(c.i.c.m.d.p.d.e(eVar, thread, stackTraceElementArr, threadArr, linkedList, 8, a4, aVar)); c.i.c.m.d.p.d.m(cVar, thread, stackTraceElementArr, 4, true); length = threadArr.length; while (i2 < length) { @@ -1496,13 +1494,13 @@ public class x { boolean z3 = false; c.i.c.m.d.p.d.l(cVar, eVar, 1, 8, 2); cVar.r(3, 2); - cVar.p(c.i.c.m.d.p.d.d()); + cVar.o(c.i.c.m.d.p.d.d()); c.i.c.m.d.p.a aVar4 = c.i.c.m.d.p.d.a; cVar.l(1, aVar4); cVar.l(2, aVar4); cVar.t(3, 0); cVar.r(4, 2); - cVar.p(c.i.c.m.d.p.d.a(a4, aVar)); + cVar.o(c.i.c.m.d.p.d.a(a4, aVar)); cVar.t(1, 0); cVar.t(2, 0); cVar.l(3, a4); @@ -1514,11 +1512,11 @@ public class x { } cVar.s(4, i3); cVar.r(5, 2); - cVar.p(c.i.c.m.d.p.d.g(f2, b2, m2, i3, j3, a3)); + cVar.o(c.i.c.m.d.p.d.g(f2, b2, m2, i3, j3, a3)); if (f2 != null) { } - cVar.p(16); - cVar.p((b2 << 1) ^ (b2 >> 31)); + cVar.o(16); + cVar.o((b2 << 1) ^ (b2 >> 31)); cVar.k(3, m2); cVar.s(4, i3); cVar.t(5, j3); diff --git a/app/src/main/java/c/i/c/m/d/k/y.java b/app/src/main/java/c/i/c/m/d/k/y.java index 7ff79ef758..46bee2da62 100644 --- a/app/src/main/java/c/i/c/m/d/k/y.java +++ b/app/src/main/java/c/i/c/m/d/k/y.java @@ -11,7 +11,7 @@ public class y implements x.g { public final /* synthetic */ int b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ long f1404c; + public final /* synthetic */ long f1359c; public final /* synthetic */ long d; public final /* synthetic */ boolean e; public final /* synthetic */ int f; @@ -19,7 +19,7 @@ public class y implements x.g { public y(x xVar, int i, String str, int i2, long j, long j2, boolean z2, int i3, String str2, String str3) { this.a = i; this.b = i2; - this.f1404c = j; + this.f1359c = j; this.d = j2; this.e = z2; this.f = i3; @@ -30,7 +30,7 @@ public class y implements x.g { int i = this.a; String str = Build.MODEL; int i2 = this.b; - long j = this.f1404c; + long j = this.f1359c; long j2 = this.d; boolean z2 = this.e; int i3 = this.f; @@ -43,7 +43,7 @@ public class y implements x.g { int c2 = c.c(3, i) + 0; int b = j3 == null ? 0 : c.b(4, j3); int f = c.f(5, i2); - cVar.p(c.f(12, i3) + c.a(10, z2) + c.h(7, j2) + c.h(6, j) + f + c2 + b + (j5 == null ? 0 : c.b(13, j5)) + (j4 == null ? 0 : c.b(14, j4))); + cVar.o(c.f(12, i3) + c.a(10, z2) + c.h(7, j2) + c.h(6, j) + f + c2 + b + (j5 == null ? 0 : c.b(13, j5)) + (j4 == null ? 0 : c.b(14, j4))); cVar.m(3, i); cVar.l(4, j3); cVar.s(5, i2); diff --git a/app/src/main/java/c/i/c/m/d/k/z.java b/app/src/main/java/c/i/c/m/d/k/z.java index b3c2e99504..49ffd8b8cc 100644 --- a/app/src/main/java/c/i/c/m/d/k/z.java +++ b/app/src/main/java/c/i/c/m/d/k/z.java @@ -23,7 +23,7 @@ public class z implements x.g { d.j(null); d.j(null); cVar.r(6, 2); - cVar.p(c.b(1, a) + 0); + cVar.o(c.b(1, a) + 0); cVar.l(1, a); } } diff --git a/app/src/main/java/c/i/c/m/d/k/z0.java b/app/src/main/java/c/i/c/m/d/k/z0.java index 5bd6c1b260..d2f6161aaa 100644 --- a/app/src/main/java/c/i/c/m/d/k/z0.java +++ b/app/src/main/java/c/i/c/m/d/k/z0.java @@ -29,11 +29,11 @@ public class z0 { @NonNull public File a(String str) { - return new File(this.b, a.v(str, "keys", ".meta")); + return new File(this.b, a.w(str, "keys", ".meta")); } @NonNull public File b(String str) { - return new File(this.b, a.v(str, "user", ".meta")); + return new File(this.b, a.w(str, "user", ".meta")); } } diff --git a/app/src/main/java/c/i/c/m/d/l/b.java b/app/src/main/java/c/i/c/m/d/l/b.java index 2318e97bdc..fba97a61ec 100644 --- a/app/src/main/java/c/i/c/m/d/l/b.java +++ b/app/src/main/java/c/i/c/m/d/l/b.java @@ -10,12 +10,12 @@ public class b { public final Context b; /* renamed from: c reason: collision with root package name */ - public final AbstractC0133b f1405c; + public final AbstractC0132b f1360c; public a d = a; /* compiled from: LogFileManager */ /* renamed from: c.i.c.m.d.l.b$b reason: collision with other inner class name */ - public interface AbstractC0133b { + public interface AbstractC0132b { } /* compiled from: LogFileManager */ @@ -46,15 +46,15 @@ public class b { } } - public b(Context context, AbstractC0133b bVar) { + public b(Context context, AbstractC0132b bVar) { this.b = context; - this.f1405c = bVar; + this.f1360c = bVar; a(null); } - public b(Context context, AbstractC0133b bVar, String str) { + public b(Context context, AbstractC0132b bVar, String str) { this.b = context; - this.f1405c = bVar; + this.f1360c = bVar; a(str); } @@ -66,7 +66,7 @@ public class b { c.i.c.m.d.b.a.b("Preferences requested no custom logs. Aborting log file creation."); return; } - this.d = new e(new File(((x.j) this.f1405c).a(), c.d.b.a.a.v("crashlytics-userlog-", str, ".temp")), 65536); + this.d = new e(new File(((x.j) this.f1360c).a(), c.d.b.a.a.w("crashlytics-userlog-", str, ".temp")), 65536); } } } diff --git a/app/src/main/java/c/i/c/m/d/l/c.java b/app/src/main/java/c/i/c/m/d/l/c.java index be5aef021d..28849c8acf 100644 --- a/app/src/main/java/c/i/c/m/d/l/c.java +++ b/app/src/main/java/c/i/c/m/d/l/c.java @@ -47,11 +47,11 @@ public class c implements Closeable { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f1406c; + public final int f1361c; public b(int i, int i2) { this.b = i; - this.f1406c = i2; + this.f1361c = i2; } public String toString() { @@ -60,21 +60,21 @@ public class c implements Closeable { sb.append("[position = "); sb.append(this.b); sb.append(", length = "); - return c.d.b.a.a.z(sb, this.f1406c, "]"); + return c.d.b.a.a.A(sb, this.f1361c, "]"); } } /* compiled from: QueueFile */ /* renamed from: c.i.c.m.d.l.c$c reason: collision with other inner class name */ - public final class C0134c extends InputStream { + public final class C0133c extends InputStream { public int i; public int j; - public C0134c(b bVar, a aVar) { + public C0133c(b bVar, a aVar) { int i = bVar.b + 4; int i2 = c.this.k; this.i = i >= i2 ? (i + 16) - i2 : i; - this.j = bVar.f1406c; + this.j = bVar.f1361c; } @Override // java.io.InputStream @@ -143,21 +143,21 @@ public class c implements Closeable { this.j = randomAccessFile2; randomAccessFile2.seek(0); randomAccessFile2.readFully(this.o); - int r2 = r(this.o, 0); - this.k = r2; - if (((long) r2) <= randomAccessFile2.length()) { - this.l = r(this.o, 4); - int r3 = r(this.o, 8); - int r4 = r(this.o, 12); - this.m = p(r3); - this.n = p(r4); + int q = q(this.o, 0); + this.k = q; + if (((long) q) <= randomAccessFile2.length()) { + this.l = q(this.o, 4); + int q2 = q(this.o, 8); + int q3 = q(this.o, 12); + this.m = n(q2); + this.n = n(q3); return; } - StringBuilder O = c.d.b.a.a.O("File is truncated. Expected length: "); - O.append(this.k); - O.append(", Actual length: "); - O.append(randomAccessFile2.length()); - throw new IOException(O.toString()); + StringBuilder R = c.d.b.a.a.R("File is truncated. Expected length: "); + R.append(this.k); + R.append(", Actual length: "); + R.append(randomAccessFile2.length()); + throw new IOException(R.toString()); } public static void C(byte[] bArr, int i2, int i3) { @@ -172,11 +172,11 @@ public class c implements Closeable { return i2 < i3 ? i2 : (i2 + 16) - i3; } - public static int r(byte[] bArr, int i2) { + public static int q(byte[] bArr, int i2) { return ((bArr[i2] & 255) << 24) + ((bArr[i2 + 1] & 255) << 16) + ((bArr[i2 + 2] & 255) << 8) + (bArr[i2 + 3] & 255); } - public final void B(int i2, int i3, int i4, int i5) throws IOException { + public final void A(int i2, int i3, int i4, int i5) throws IOException { byte[] bArr = this.o; int[] iArr = {i2, i3, i4, i5}; int i6 = 0; @@ -200,13 +200,13 @@ public class c implements Closeable { i2 = 16; } else { b bVar = this.n; - i2 = z(bVar.b + 4 + bVar.f1406c); + i2 = y(bVar.b + 4 + bVar.f1361c); } b bVar2 = new b(i2, length); C(this.o, 0, length); - w(i2, this.o, 0, 4); - w(i2 + 4, bArr, 0, length); - B(this.k, this.l + 1, f ? i2 : this.m.b, i2); + u(i2, this.o, 0, 4); + u(i2 + 4, bArr, 0, length); + A(this.k, this.l + 1, f ? i2 : this.m.b, i2); this.n = bVar2; this.l++; if (f) { @@ -219,7 +219,7 @@ public class c implements Closeable { } public synchronized void c() throws IOException { - B(4096, 0, 0, 0); + A(4096, 0, 0, 0); this.l = 0; b bVar = b.a; this.m = bVar; @@ -248,11 +248,11 @@ public class c implements Closeable { this.j.setLength((long) i4); this.j.getChannel().force(true); b bVar = this.n; - int z2 = z(bVar.b + 4 + bVar.f1406c); - if (z2 < this.m.b) { + int y2 = y(bVar.b + 4 + bVar.f1361c); + if (y2 < this.m.b) { FileChannel channel = this.j.getChannel(); channel.position((long) this.k); - long j = (long) (z2 - 4); + long j = (long) (y2 - 4); if (channel.transferTo(16, j, channel) != j) { throw new AssertionError("Copied insufficient number of bytes!"); } @@ -261,10 +261,10 @@ public class c implements Closeable { int i6 = this.m.b; if (i5 < i6) { int i7 = (this.k + i5) - 16; - B(i4, this.l, i6, i7); - this.n = new b(i7, this.n.f1406c); + A(i4, this.l, i6, i7); + this.n = new b(i7, this.n.f1361c); } else { - B(i4, this.l, i6, i5); + A(i4, this.l, i6, i5); } this.k = i4; } @@ -273,9 +273,9 @@ public class c implements Closeable { public synchronized void e(d dVar) throws IOException { int i2 = this.m.b; for (int i3 = 0; i3 < this.l; i3++) { - b p = p(i2); - dVar.a(new C0134c(p, null), p.f1406c); - i2 = z(p.b + 4 + p.f1406c); + b n = n(i2); + dVar.a(new C0133c(n, null), n.f1361c); + i2 = y(n.b + 4 + n.f1361c); } } @@ -283,7 +283,7 @@ public class c implements Closeable { return this.l == 0; } - public final b p(int i2) throws IOException { + public final b n(int i2) throws IOException { if (i2 == 0) { return b.a; } @@ -298,12 +298,12 @@ public class c implements Closeable { c(); } else { b bVar = this.m; - int z2 = z(bVar.b + 4 + bVar.f1406c); - t(z2, this.o, 0, 4); - int r2 = r(this.o, 0); - B(this.k, this.l - 1, z2, this.n.b); + int y2 = y(bVar.b + 4 + bVar.f1361c); + t(y2, this.o, 0, 4); + int q = q(this.o, 0); + A(this.k, this.l - 1, y2, this.n.b); this.l--; - this.m = new b(z2, r2); + this.m = new b(y2, q); } } @@ -347,7 +347,7 @@ public class c implements Closeable { return sb.toString(); } - public final void w(int i2, byte[] bArr, int i3, int i4) throws IOException { + public final void u(int i2, byte[] bArr, int i3, int i4) throws IOException { int i5 = this.k; if (i2 >= i5) { i2 = (i2 + 16) - i5; @@ -371,10 +371,10 @@ public class c implements Closeable { b bVar = this.n; int i2 = bVar.b; int i3 = this.m.b; - return i2 >= i3 ? (i2 - i3) + 4 + bVar.f1406c + 16 : (((i2 + 4) + bVar.f1406c) + this.k) - i3; + return i2 >= i3 ? (i2 - i3) + 4 + bVar.f1361c + 16 : (((i2 + 4) + bVar.f1361c) + this.k) - i3; } - public final int z(int i2) { + public final int y(int i2) { int i3 = this.k; return i2 < i3 ? i2 : (i2 + 16) - i3; } diff --git a/app/src/main/java/c/i/c/m/d/l/e.java b/app/src/main/java/c/i/c/m/d/l/e.java index f709981e7d..5a6f1789cd 100644 --- a/app/src/main/java/c/i/c/m/d/l/e.java +++ b/app/src/main/java/c/i/c/m/d/l/e.java @@ -14,7 +14,7 @@ public class e implements a { public final File b; /* renamed from: c reason: collision with root package name */ - public final int f1407c; + public final int f1362c; public c d; /* compiled from: QueueFileLogStore */ @@ -30,7 +30,7 @@ public class e implements a { public e(File file, int i) { this.b = file; - this.f1407c = i; + this.f1362c = i; } @Override // c.i.c.m.d.l.a @@ -96,12 +96,12 @@ public class e implements a { str = "null"; } try { - int i = this.f1407c / 4; + int i = this.f1362c / 4; if (str.length() > i) { str = "..." + str.substring(str.length() - i); } this.d.b(String.format(Locale.US, "%d %s%n", Long.valueOf(j), str.replaceAll("\r", " ").replaceAll("\n", " ")).getBytes(a)); - while (!this.d.f() && this.d.x() > this.f1407c) { + while (!this.d.f() && this.d.x() > this.f1362c) { this.d.s(); } } catch (IOException e) { @@ -118,9 +118,9 @@ public class e implements a { this.d = new c(this.b); } catch (IOException e) { b bVar = b.a; - StringBuilder O = c.d.b.a.a.O("Could not open log file: "); - O.append(this.b); - bVar.e(O.toString(), e); + StringBuilder R = c.d.b.a.a.R("Could not open log file: "); + R.append(this.b); + bVar.e(R.toString(), e); } } } diff --git a/app/src/main/java/c/i/c/m/d/m/a.java b/app/src/main/java/c/i/c/m/d/m/a.java index 567f7ad133..4b6fb034d6 100644 --- a/app/src/main/java/c/i/c/m/d/m/a.java +++ b/app/src/main/java/c/i/c/m/d/m/a.java @@ -10,8 +10,8 @@ public final class a implements c.i.c.p.g.a { /* compiled from: AutoCrashlyticsReportEncoder */ /* renamed from: c.i.c.m.d.m.a$a reason: collision with other inner class name */ - public static final class C0135a implements c.i.c.p.c { - public static final C0135a a = new C0135a(); + public static final class C0134a implements c.i.c.p.c { + public static final C0134a a = new C0134a(); /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // c.i.c.p.b @@ -91,13 +91,13 @@ public final class a implements c.i.c.p.g.a { } /* compiled from: AutoCrashlyticsReportEncoder */ - public static final class f implements c.i.c.p.c { + public static final class f implements c.i.c.p.c { public static final f a = new f(); /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // c.i.c.p.b public void a(Object obj, c.i.c.p.d dVar) throws IOException { - dVar.f("clsId", ((v.d.a.AbstractC0137a) obj).a()); + dVar.f("clsId", ((v.d.a.AbstractC0136a) obj).a()); } } @@ -146,13 +146,13 @@ public final class a implements c.i.c.p.g.a { } /* compiled from: AutoCrashlyticsReportEncoder */ - public static final class i implements c.i.c.p.c { + public static final class i implements c.i.c.p.c { public static final i a = new i(); /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // c.i.c.p.b public void a(Object obj, c.i.c.p.d dVar) throws IOException { - v.d.AbstractC0138d.a aVar = (v.d.AbstractC0138d.a) obj; + v.d.AbstractC0137d.a aVar = (v.d.AbstractC0137d.a) obj; c.i.c.p.d dVar2 = dVar; dVar2.f("execution", aVar.c()); dVar2.f("customAttributes", aVar.b()); @@ -162,13 +162,13 @@ public final class a implements c.i.c.p.g.a { } /* compiled from: AutoCrashlyticsReportEncoder */ - public static final class j implements c.i.c.p.c { + public static final class j implements c.i.c.p.c { public static final j a = new j(); /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // c.i.c.p.b public void a(Object obj, c.i.c.p.d dVar) throws IOException { - v.d.AbstractC0138d.a.b.AbstractC0140a aVar = (v.d.AbstractC0138d.a.b.AbstractC0140a) obj; + v.d.AbstractC0137d.a.b.AbstractC0139a aVar = (v.d.AbstractC0137d.a.b.AbstractC0139a) obj; c.i.c.p.d dVar2 = dVar; dVar2.b("baseAddress", aVar.a()); dVar2.b("size", aVar.c()); @@ -179,13 +179,13 @@ public final class a implements c.i.c.p.g.a { } /* compiled from: AutoCrashlyticsReportEncoder */ - public static final class k implements c.i.c.p.c { + public static final class k implements c.i.c.p.c { public static final k a = new k(); /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // c.i.c.p.b public void a(Object obj, c.i.c.p.d dVar) throws IOException { - v.d.AbstractC0138d.a.b bVar = (v.d.AbstractC0138d.a.b) obj; + v.d.AbstractC0137d.a.b bVar = (v.d.AbstractC0137d.a.b) obj; c.i.c.p.d dVar2 = dVar; dVar2.f("threads", bVar.d()); dVar2.f("exception", bVar.b()); @@ -195,13 +195,13 @@ public final class a implements c.i.c.p.g.a { } /* compiled from: AutoCrashlyticsReportEncoder */ - public static final class l implements c.i.c.p.c { + public static final class l implements c.i.c.p.c { public static final l a = new l(); /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // c.i.c.p.b public void a(Object obj, c.i.c.p.d dVar) throws IOException { - v.d.AbstractC0138d.a.b.AbstractC0141b bVar = (v.d.AbstractC0138d.a.b.AbstractC0141b) obj; + v.d.AbstractC0137d.a.b.AbstractC0140b bVar = (v.d.AbstractC0137d.a.b.AbstractC0140b) obj; c.i.c.p.d dVar2 = dVar; dVar2.f("type", bVar.e()); dVar2.f(ModelAuditLogEntry.CHANGE_KEY_REASON, bVar.d()); @@ -212,13 +212,13 @@ public final class a implements c.i.c.p.g.a { } /* compiled from: AutoCrashlyticsReportEncoder */ - public static final class m implements c.i.c.p.c { + public static final class m implements c.i.c.p.c { public static final m a = new m(); /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // c.i.c.p.b public void a(Object obj, c.i.c.p.d dVar) throws IOException { - v.d.AbstractC0138d.a.b.c cVar = (v.d.AbstractC0138d.a.b.c) obj; + v.d.AbstractC0137d.a.b.c cVar = (v.d.AbstractC0137d.a.b.c) obj; c.i.c.p.d dVar2 = dVar; dVar2.f(ModelAuditLogEntry.CHANGE_KEY_NAME, cVar.c()); dVar2.f(ModelAuditLogEntry.CHANGE_KEY_CODE, cVar.b()); @@ -227,13 +227,13 @@ public final class a implements c.i.c.p.g.a { } /* compiled from: AutoCrashlyticsReportEncoder */ - public static final class n implements c.i.c.p.c { + public static final class n implements c.i.c.p.c { public static final n a = new n(); /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // c.i.c.p.b public void a(Object obj, c.i.c.p.d dVar) throws IOException { - v.d.AbstractC0138d.a.b.AbstractC0142d dVar2 = (v.d.AbstractC0138d.a.b.AbstractC0142d) obj; + v.d.AbstractC0137d.a.b.AbstractC0141d dVar2 = (v.d.AbstractC0137d.a.b.AbstractC0141d) obj; c.i.c.p.d dVar3 = dVar; dVar3.f(ModelAuditLogEntry.CHANGE_KEY_NAME, dVar2.c()); dVar3.c("importance", dVar2.b()); @@ -242,13 +242,13 @@ public final class a implements c.i.c.p.g.a { } /* compiled from: AutoCrashlyticsReportEncoder */ - public static final class o implements c.i.c.p.c { + public static final class o implements c.i.c.p.c { public static final o a = new o(); /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // c.i.c.p.b public void a(Object obj, c.i.c.p.d dVar) throws IOException { - v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a aVar = (v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a) obj; + v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a aVar = (v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a) obj; c.i.c.p.d dVar2 = dVar; dVar2.b("pc", aVar.d()); dVar2.f("symbol", aVar.e()); @@ -259,13 +259,13 @@ public final class a implements c.i.c.p.g.a { } /* compiled from: AutoCrashlyticsReportEncoder */ - public static final class p implements c.i.c.p.c { + public static final class p implements c.i.c.p.c { public static final p a = new p(); /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // c.i.c.p.b public void a(Object obj, c.i.c.p.d dVar) throws IOException { - v.d.AbstractC0138d.b bVar = (v.d.AbstractC0138d.b) obj; + v.d.AbstractC0137d.b bVar = (v.d.AbstractC0137d.b) obj; c.i.c.p.d dVar2 = dVar; dVar2.f("batteryLevel", bVar.a()); dVar2.c("batteryVelocity", bVar.b()); @@ -277,13 +277,13 @@ public final class a implements c.i.c.p.g.a { } /* compiled from: AutoCrashlyticsReportEncoder */ - public static final class q implements c.i.c.p.c { + public static final class q implements c.i.c.p.c { public static final q a = new q(); /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // c.i.c.p.b public void a(Object obj, c.i.c.p.d dVar) throws IOException { - v.d.AbstractC0138d dVar2 = (v.d.AbstractC0138d) obj; + v.d.AbstractC0137d dVar2 = (v.d.AbstractC0137d) obj; c.i.c.p.d dVar3 = dVar; dVar3.b("timestamp", dVar2.d()); dVar3.f("type", dVar2.e()); @@ -294,13 +294,13 @@ public final class a implements c.i.c.p.g.a { } /* compiled from: AutoCrashlyticsReportEncoder */ - public static final class r implements c.i.c.p.c { + public static final class r implements c.i.c.p.c { public static final r a = new r(); /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // c.i.c.p.b public void a(Object obj, c.i.c.p.d dVar) throws IOException { - dVar.f("content", ((v.d.AbstractC0138d.c) obj).a()); + dVar.f("content", ((v.d.AbstractC0137d.c) obj).a()); } } @@ -335,103 +335,103 @@ public final class a implements c.i.c.p.g.a { b bVar2 = b.a; c.i.c.p.h.e eVar = (c.i.c.p.h.e) bVar; eVar.b.put(v.class, bVar2); - eVar.f1446c.remove(v.class); + eVar.f1401c.remove(v.class); eVar.b.put(b.class, bVar2); - eVar.f1446c.remove(b.class); + eVar.f1401c.remove(b.class); h hVar = h.a; eVar.b.put(v.d.class, hVar); - eVar.f1446c.remove(v.d.class); + eVar.f1401c.remove(v.d.class); eVar.b.put(f.class, hVar); - eVar.f1446c.remove(f.class); + eVar.f1401c.remove(f.class); e eVar2 = e.a; eVar.b.put(v.d.a.class, eVar2); - eVar.f1446c.remove(v.d.a.class); + eVar.f1401c.remove(v.d.a.class); eVar.b.put(g.class, eVar2); - eVar.f1446c.remove(g.class); + eVar.f1401c.remove(g.class); f fVar = f.a; - eVar.b.put(v.d.a.AbstractC0137a.class, fVar); - eVar.f1446c.remove(v.d.a.AbstractC0137a.class); + eVar.b.put(v.d.a.AbstractC0136a.class, fVar); + eVar.f1401c.remove(v.d.a.AbstractC0136a.class); eVar.b.put(h.class, fVar); - eVar.f1446c.remove(h.class); + eVar.f1401c.remove(h.class); t tVar = t.a; eVar.b.put(v.d.f.class, tVar); - eVar.f1446c.remove(v.d.f.class); + eVar.f1401c.remove(v.d.f.class); eVar.b.put(u.class, tVar); - eVar.f1446c.remove(u.class); + eVar.f1401c.remove(u.class); s sVar = s.a; eVar.b.put(v.d.e.class, sVar); - eVar.f1446c.remove(v.d.e.class); + eVar.f1401c.remove(v.d.e.class); eVar.b.put(t.class, sVar); - eVar.f1446c.remove(t.class); + eVar.f1401c.remove(t.class); g gVar = g.a; eVar.b.put(v.d.c.class, gVar); - eVar.f1446c.remove(v.d.c.class); + eVar.f1401c.remove(v.d.c.class); eVar.b.put(i.class, gVar); - eVar.f1446c.remove(i.class); + eVar.f1401c.remove(i.class); q qVar = q.a; - eVar.b.put(v.d.AbstractC0138d.class, qVar); - eVar.f1446c.remove(v.d.AbstractC0138d.class); + eVar.b.put(v.d.AbstractC0137d.class, qVar); + eVar.f1401c.remove(v.d.AbstractC0137d.class); eVar.b.put(j.class, qVar); - eVar.f1446c.remove(j.class); + eVar.f1401c.remove(j.class); i iVar = i.a; - eVar.b.put(v.d.AbstractC0138d.a.class, iVar); - eVar.f1446c.remove(v.d.AbstractC0138d.a.class); + eVar.b.put(v.d.AbstractC0137d.a.class, iVar); + eVar.f1401c.remove(v.d.AbstractC0137d.a.class); eVar.b.put(k.class, iVar); - eVar.f1446c.remove(k.class); + eVar.f1401c.remove(k.class); k kVar = k.a; - eVar.b.put(v.d.AbstractC0138d.a.b.class, kVar); - eVar.f1446c.remove(v.d.AbstractC0138d.a.b.class); + eVar.b.put(v.d.AbstractC0137d.a.b.class, kVar); + eVar.f1401c.remove(v.d.AbstractC0137d.a.b.class); eVar.b.put(l.class, kVar); - eVar.f1446c.remove(l.class); + eVar.f1401c.remove(l.class); n nVar = n.a; - eVar.b.put(v.d.AbstractC0138d.a.b.AbstractC0142d.class, nVar); - eVar.f1446c.remove(v.d.AbstractC0138d.a.b.AbstractC0142d.class); + eVar.b.put(v.d.AbstractC0137d.a.b.AbstractC0141d.class, nVar); + eVar.f1401c.remove(v.d.AbstractC0137d.a.b.AbstractC0141d.class); eVar.b.put(p.class, nVar); - eVar.f1446c.remove(p.class); + eVar.f1401c.remove(p.class); o oVar = o.a; - eVar.b.put(v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a.class, oVar); - eVar.f1446c.remove(v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a.class); + eVar.b.put(v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a.class, oVar); + eVar.f1401c.remove(v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a.class); eVar.b.put(q.class, oVar); - eVar.f1446c.remove(q.class); + eVar.f1401c.remove(q.class); l lVar = l.a; - eVar.b.put(v.d.AbstractC0138d.a.b.AbstractC0141b.class, lVar); - eVar.f1446c.remove(v.d.AbstractC0138d.a.b.AbstractC0141b.class); + eVar.b.put(v.d.AbstractC0137d.a.b.AbstractC0140b.class, lVar); + eVar.f1401c.remove(v.d.AbstractC0137d.a.b.AbstractC0140b.class); eVar.b.put(n.class, lVar); - eVar.f1446c.remove(n.class); + eVar.f1401c.remove(n.class); m mVar = m.a; - eVar.b.put(v.d.AbstractC0138d.a.b.c.class, mVar); - eVar.f1446c.remove(v.d.AbstractC0138d.a.b.c.class); + eVar.b.put(v.d.AbstractC0137d.a.b.c.class, mVar); + eVar.f1401c.remove(v.d.AbstractC0137d.a.b.c.class); eVar.b.put(o.class, mVar); - eVar.f1446c.remove(o.class); + eVar.f1401c.remove(o.class); j jVar = j.a; - eVar.b.put(v.d.AbstractC0138d.a.b.AbstractC0140a.class, jVar); - eVar.f1446c.remove(v.d.AbstractC0138d.a.b.AbstractC0140a.class); + eVar.b.put(v.d.AbstractC0137d.a.b.AbstractC0139a.class, jVar); + eVar.f1401c.remove(v.d.AbstractC0137d.a.b.AbstractC0139a.class); eVar.b.put(m.class, jVar); - eVar.f1446c.remove(m.class); - C0135a aVar = C0135a.a; + eVar.f1401c.remove(m.class); + C0134a aVar = C0134a.a; eVar.b.put(v.b.class, aVar); - eVar.f1446c.remove(v.b.class); + eVar.f1401c.remove(v.b.class); eVar.b.put(c.class, aVar); - eVar.f1446c.remove(c.class); + eVar.f1401c.remove(c.class); p pVar = p.a; - eVar.b.put(v.d.AbstractC0138d.b.class, pVar); - eVar.f1446c.remove(v.d.AbstractC0138d.b.class); + eVar.b.put(v.d.AbstractC0137d.b.class, pVar); + eVar.f1401c.remove(v.d.AbstractC0137d.b.class); eVar.b.put(r.class, pVar); - eVar.f1446c.remove(r.class); + eVar.f1401c.remove(r.class); r rVar = r.a; - eVar.b.put(v.d.AbstractC0138d.c.class, rVar); - eVar.f1446c.remove(v.d.AbstractC0138d.c.class); + eVar.b.put(v.d.AbstractC0137d.c.class, rVar); + eVar.f1401c.remove(v.d.AbstractC0137d.c.class); eVar.b.put(s.class, rVar); - eVar.f1446c.remove(s.class); + eVar.f1401c.remove(s.class); c cVar = c.a; eVar.b.put(v.c.class, cVar); - eVar.f1446c.remove(v.c.class); + eVar.f1401c.remove(v.c.class); eVar.b.put(d.class, cVar); - eVar.f1446c.remove(d.class); + eVar.f1401c.remove(d.class); d dVar = d.a; eVar.b.put(v.c.a.class, dVar); - eVar.f1446c.remove(v.c.a.class); + eVar.f1401c.remove(v.c.a.class); eVar.b.put(e.class, dVar); - eVar.f1446c.remove(e.class); + eVar.f1401c.remove(e.class); } } diff --git a/app/src/main/java/c/i/c/m/d/m/b.java b/app/src/main/java/c/i/c/m/d/m/b.java index 8274c2abac..bd84fc7a3a 100644 --- a/app/src/main/java/c/i/c/m/d/m/b.java +++ b/app/src/main/java/c/i/c/m/d/m/b.java @@ -8,7 +8,7 @@ public final class b extends v { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1408c; + public final String f1363c; public final int d; public final String e; public final String f; @@ -18,26 +18,26 @@ public final class b extends v { /* compiled from: AutoValue_CrashlyticsReport */ /* renamed from: c.i.c.m.d.m.b$b reason: collision with other inner class name */ - public static final class C0136b extends v.a { + public static final class C0135b extends v.a { public String a; public String b; /* renamed from: c reason: collision with root package name */ - public Integer f1409c; + public Integer f1364c; public String d; public String e; public String f; public v.d g; public v.c h; - public C0136b() { + public C0135b() { } - public C0136b(v vVar, a aVar) { + public C0135b(v vVar, a aVar) { b bVar = (b) vVar; this.a = bVar.b; - this.b = bVar.f1408c; - this.f1409c = Integer.valueOf(bVar.d); + this.b = bVar.f1363c; + this.f1364c = Integer.valueOf(bVar.d); this.d = bVar.e; this.e = bVar.f; this.f = bVar.g; @@ -49,30 +49,30 @@ public final class b extends v { public v a() { String str = this.a == null ? " sdkVersion" : ""; if (this.b == null) { - str = c.d.b.a.a.u(str, " gmpAppId"); + str = c.d.b.a.a.v(str, " gmpAppId"); } - if (this.f1409c == null) { - str = c.d.b.a.a.u(str, " platform"); + if (this.f1364c == null) { + str = c.d.b.a.a.v(str, " platform"); } if (this.d == null) { - str = c.d.b.a.a.u(str, " installationUuid"); + str = c.d.b.a.a.v(str, " installationUuid"); } if (this.e == null) { - str = c.d.b.a.a.u(str, " buildVersion"); + str = c.d.b.a.a.v(str, " buildVersion"); } if (this.f == null) { - str = c.d.b.a.a.u(str, " displayVersion"); + str = c.d.b.a.a.v(str, " displayVersion"); } if (str.isEmpty()) { - return new b(this.a, this.b, this.f1409c.intValue(), this.d, this.e, this.f, this.g, this.h, null); + return new b(this.a, this.b, this.f1364c.intValue(), this.d, this.e, this.f, this.g, this.h, null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str)); } } public b(String str, String str2, int i, String str3, String str4, String str5, v.d dVar, v.c cVar, a aVar) { this.b = str; - this.f1408c = str2; + this.f1363c = str2; this.d = i; this.e = str3; this.f = str4; @@ -96,7 +96,7 @@ public final class b extends v { @Override // c.i.c.m.d.m.v @NonNull public String c() { - return this.f1408c; + return this.f1363c; } @Override // c.i.c.m.d.m.v @@ -120,7 +120,7 @@ public final class b extends v { return false; } v vVar = (v) obj; - if (this.b.equals(vVar.g()) && this.f1408c.equals(vVar.c()) && this.d == vVar.f() && this.e.equals(vVar.d()) && this.f.equals(vVar.a()) && this.g.equals(vVar.b()) && ((dVar = this.h) != null ? dVar.equals(vVar.h()) : vVar.h() == null)) { + if (this.b.equals(vVar.g()) && this.f1363c.equals(vVar.c()) && this.d == vVar.f() && this.e.equals(vVar.d()) && this.f.equals(vVar.a()) && this.g.equals(vVar.b()) && ((dVar = this.h) != null ? dVar.equals(vVar.h()) : vVar.h() == null)) { v.c cVar = this.i; if (cVar == null) { if (vVar.e() == null) { @@ -151,7 +151,7 @@ public final class b extends v { } public int hashCode() { - int hashCode = (((((((((((this.b.hashCode() ^ 1000003) * 1000003) ^ this.f1408c.hashCode()) * 1000003) ^ this.d) * 1000003) ^ this.e.hashCode()) * 1000003) ^ this.f.hashCode()) * 1000003) ^ this.g.hashCode()) * 1000003; + int hashCode = (((((((((((this.b.hashCode() ^ 1000003) * 1000003) ^ this.f1363c.hashCode()) * 1000003) ^ this.d) * 1000003) ^ this.e.hashCode()) * 1000003) ^ this.f.hashCode()) * 1000003) ^ this.g.hashCode()) * 1000003; v.d dVar = this.h; int i = 0; int hashCode2 = (hashCode ^ (dVar == null ? 0 : dVar.hashCode())) * 1000003; @@ -164,27 +164,27 @@ public final class b extends v { @Override // c.i.c.m.d.m.v public v.a i() { - return new C0136b(this, null); + return new C0135b(this, null); } public String toString() { - StringBuilder O = c.d.b.a.a.O("CrashlyticsReport{sdkVersion="); - O.append(this.b); - O.append(", gmpAppId="); - O.append(this.f1408c); - O.append(", platform="); - O.append(this.d); - O.append(", installationUuid="); - O.append(this.e); - O.append(", buildVersion="); - O.append(this.f); - O.append(", displayVersion="); - O.append(this.g); - O.append(", session="); - O.append(this.h); - O.append(", ndkPayload="); - O.append(this.i); - O.append("}"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("CrashlyticsReport{sdkVersion="); + R.append(this.b); + R.append(", gmpAppId="); + R.append(this.f1363c); + R.append(", platform="); + R.append(this.d); + R.append(", installationUuid="); + R.append(this.e); + R.append(", buildVersion="); + R.append(this.f); + R.append(", displayVersion="); + R.append(this.g); + R.append(", session="); + R.append(this.h); + R.append(", ndkPayload="); + R.append(this.i); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/c/m/d/m/c.java b/app/src/main/java/c/i/c/m/d/m/c.java index a4a65e94bf..22c1a8054c 100644 --- a/app/src/main/java/c/i/c/m/d/m/c.java +++ b/app/src/main/java/c/i/c/m/d/m/c.java @@ -40,9 +40,9 @@ public final class c extends v.b { } public String toString() { - StringBuilder O = c.d.b.a.a.O("CustomAttribute{key="); - O.append(this.a); - O.append(", value="); - return c.d.b.a.a.G(O, this.b, "}"); + StringBuilder R = c.d.b.a.a.R("CustomAttribute{key="); + R.append(this.a); + R.append(", value="); + return c.d.b.a.a.H(R, this.b, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/m/d.java b/app/src/main/java/c/i/c/m/d/m/d.java index d1fc980f9a..a66e462936 100644 --- a/app/src/main/java/c/i/c/m/d/m/d.java +++ b/app/src/main/java/c/i/c/m/d/m/d.java @@ -53,9 +53,9 @@ public final class d extends v.c { } public String toString() { - StringBuilder O = c.d.b.a.a.O("FilesPayload{files="); - O.append(this.a); - O.append(", orgId="); - return c.d.b.a.a.G(O, this.b, "}"); + StringBuilder R = c.d.b.a.a.R("FilesPayload{files="); + R.append(this.a); + R.append(", orgId="); + return c.d.b.a.a.H(R, this.b, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/m/e.java b/app/src/main/java/c/i/c/m/d/m/e.java index 16f75e570a..7bf279e5d4 100644 --- a/app/src/main/java/c/i/c/m/d/m/e.java +++ b/app/src/main/java/c/i/c/m/d/m/e.java @@ -46,11 +46,11 @@ public final class e extends v.c.a { } public String toString() { - StringBuilder O = c.d.b.a.a.O("File{filename="); - O.append(this.a); - O.append(", contents="); - O.append(Arrays.toString(this.b)); - O.append("}"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("File{filename="); + R.append(this.a); + R.append(", contents="); + R.append(Arrays.toString(this.b)); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/c/m/d/m/f.java b/app/src/main/java/c/i/c/m/d/m/f.java index ad5c3e7371..5abd548f5b 100644 --- a/app/src/main/java/c/i/c/m/d/m/f.java +++ b/app/src/main/java/c/i/c/m/d/m/f.java @@ -9,14 +9,14 @@ public final class f extends v.d { public final String b; /* renamed from: c reason: collision with root package name */ - public final long f1410c; + public final long f1365c; public final Long d; public final boolean e; public final v.d.a f; public final v.d.f g; public final v.d.e h; public final v.d.c i; - public final w j; + public final w j; public final int k; /* compiled from: AutoValue_CrashlyticsReport_Session */ @@ -25,14 +25,14 @@ public final class f extends v.d { public String b; /* renamed from: c reason: collision with root package name */ - public Long f1411c; + public Long f1366c; public Long d; public Boolean e; public v.d.a f; public v.d.f g; public v.d.e h; public v.d.c i; - public w j; + public w j; public Integer k; public b() { @@ -42,7 +42,7 @@ public final class f extends v.d { f fVar = (f) dVar; this.a = fVar.a; this.b = fVar.b; - this.f1411c = Long.valueOf(fVar.f1410c); + this.f1366c = Long.valueOf(fVar.f1365c); this.d = fVar.d; this.e = Boolean.valueOf(fVar.e); this.f = fVar.f; @@ -57,24 +57,24 @@ public final class f extends v.d { public v.d a() { String str = this.a == null ? " generator" : ""; if (this.b == null) { - str = c.d.b.a.a.u(str, " identifier"); + str = c.d.b.a.a.v(str, " identifier"); } - if (this.f1411c == null) { - str = c.d.b.a.a.u(str, " startedAt"); + if (this.f1366c == null) { + str = c.d.b.a.a.v(str, " startedAt"); } if (this.e == null) { - str = c.d.b.a.a.u(str, " crashed"); + str = c.d.b.a.a.v(str, " crashed"); } if (this.f == null) { - str = c.d.b.a.a.u(str, " app"); + str = c.d.b.a.a.v(str, " app"); } if (this.k == null) { - str = c.d.b.a.a.u(str, " generatorType"); + str = c.d.b.a.a.v(str, " generatorType"); } if (str.isEmpty()) { - return new f(this.a, this.b, this.f1411c.longValue(), this.d, this.e.booleanValue(), this.f, this.g, this.h, this.i, this.j, this.k.intValue(), null); + return new f(this.a, this.b, this.f1366c.longValue(), this.d, this.e.booleanValue(), this.f, this.g, this.h, this.i, this.j, this.k.intValue(), null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str)); } public v.d.b b(boolean z2) { @@ -86,7 +86,7 @@ public final class f extends v.d { public f(String str, String str2, long j, Long l, boolean z2, v.d.a aVar, v.d.f fVar, v.d.e eVar, v.d.c cVar, w wVar, int i, a aVar2) { this.a = str; this.b = str2; - this.f1410c = j; + this.f1365c = j; this.d = l; this.e = z2; this.f = aVar; @@ -117,7 +117,7 @@ public final class f extends v.d { @Override // c.i.c.m.d.m.v.d @Nullable - public w d() { + public w d() { return this.j; } @@ -132,7 +132,7 @@ public final class f extends v.d { v.d.f fVar; v.d.e eVar; v.d.c cVar; - w wVar; + w wVar; if (obj == this) { return true; } @@ -140,7 +140,7 @@ public final class f extends v.d { return false; } v.d dVar = (v.d) obj; - return this.a.equals(dVar.e()) && this.b.equals(dVar.g()) && this.f1410c == dVar.i() && ((l = this.d) != null ? l.equals(dVar.c()) : dVar.c() == null) && this.e == dVar.k() && this.f.equals(dVar.a()) && ((fVar = this.g) != null ? fVar.equals(dVar.j()) : dVar.j() == null) && ((eVar = this.h) != null ? eVar.equals(dVar.h()) : dVar.h() == null) && ((cVar = this.i) != null ? cVar.equals(dVar.b()) : dVar.b() == null) && ((wVar = this.j) != null ? wVar.equals(dVar.d()) : dVar.d() == null) && this.k == dVar.f(); + return this.a.equals(dVar.e()) && this.b.equals(dVar.g()) && this.f1365c == dVar.i() && ((l = this.d) != null ? l.equals(dVar.c()) : dVar.c() == null) && this.e == dVar.k() && this.f.equals(dVar.a()) && ((fVar = this.g) != null ? fVar.equals(dVar.j()) : dVar.j() == null) && ((eVar = this.h) != null ? eVar.equals(dVar.h()) : dVar.h() == null) && ((cVar = this.i) != null ? cVar.equals(dVar.b()) : dVar.b() == null) && ((wVar = this.j) != null ? wVar.equals(dVar.d()) : dVar.d() == null) && this.k == dVar.f(); } @Override // c.i.c.m.d.m.v.d @@ -161,7 +161,7 @@ public final class f extends v.d { } public int hashCode() { - long j = this.f1410c; + long j = this.f1365c; int hashCode = (((((this.a.hashCode() ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003) ^ ((int) (j ^ (j >>> 32)))) * 1000003; Long l = this.d; int i = 0; @@ -172,7 +172,7 @@ public final class f extends v.d { int hashCode4 = (hashCode3 ^ (eVar == null ? 0 : eVar.hashCode())) * 1000003; v.d.c cVar = this.i; int hashCode5 = (hashCode4 ^ (cVar == null ? 0 : cVar.hashCode())) * 1000003; - w wVar = this.j; + w wVar = this.j; if (wVar != null) { i = wVar.hashCode(); } @@ -181,7 +181,7 @@ public final class f extends v.d { @Override // c.i.c.m.d.m.v.d public long i() { - return this.f1410c; + return this.f1365c; } @Override // c.i.c.m.d.m.v.d @@ -201,27 +201,27 @@ public final class f extends v.d { } public String toString() { - StringBuilder O = c.d.b.a.a.O("Session{generator="); - O.append(this.a); - O.append(", identifier="); - O.append(this.b); - O.append(", startedAt="); - O.append(this.f1410c); - O.append(", endedAt="); - O.append(this.d); - O.append(", crashed="); - O.append(this.e); - O.append(", app="); - O.append(this.f); - O.append(", user="); - O.append(this.g); - O.append(", os="); - O.append(this.h); - O.append(", device="); - O.append(this.i); - O.append(", events="); - O.append(this.j); - O.append(", generatorType="); - return c.d.b.a.a.z(O, this.k, "}"); + StringBuilder R = c.d.b.a.a.R("Session{generator="); + R.append(this.a); + R.append(", identifier="); + R.append(this.b); + R.append(", startedAt="); + R.append(this.f1365c); + R.append(", endedAt="); + R.append(this.d); + R.append(", crashed="); + R.append(this.e); + R.append(", app="); + R.append(this.f); + R.append(", user="); + R.append(this.g); + R.append(", os="); + R.append(this.h); + R.append(", device="); + R.append(this.i); + R.append(", events="); + R.append(this.j); + R.append(", generatorType="); + return c.d.b.a.a.A(R, this.k, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/m/g.java b/app/src/main/java/c/i/c/m/d/m/g.java index 2df733d592..b259f38860 100644 --- a/app/src/main/java/c/i/c/m/d/m/g.java +++ b/app/src/main/java/c/i/c/m/d/m/g.java @@ -9,16 +9,16 @@ public final class g extends v.d.a { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1412c; - public final v.d.a.AbstractC0137a d = null; + public final String f1367c; + public final v.d.a.AbstractC0136a d = null; public final String e; public final String f; public final String g; - public g(String str, String str2, String str3, v.d.a.AbstractC0137a aVar, String str4, String str5, String str6, a aVar2) { + public g(String str, String str2, String str3, v.d.a.AbstractC0136a aVar, String str4, String str5, String str6, a aVar2) { this.a = str; this.b = str2; - this.f1412c = str3; + this.f1367c = str3; this.e = str4; this.f = str5; this.g = str6; @@ -39,7 +39,7 @@ public final class g extends v.d.a { @Override // c.i.c.m.d.m.v.d.a @Nullable public String c() { - return this.f1412c; + return this.f1367c; } @Override // c.i.c.m.d.m.v.d.a @@ -56,7 +56,7 @@ public final class g extends v.d.a { public boolean equals(Object obj) { String str; - v.d.a.AbstractC0137a aVar; + v.d.a.AbstractC0136a aVar; String str2; String str3; if (obj == this) { @@ -66,7 +66,7 @@ public final class g extends v.d.a { return false; } v.d.a aVar2 = (v.d.a) obj; - if (this.a.equals(aVar2.d()) && this.b.equals(aVar2.g()) && ((str = this.f1412c) != null ? str.equals(aVar2.c()) : aVar2.c() == null) && ((aVar = this.d) != null ? aVar.equals(aVar2.f()) : aVar2.f() == null) && ((str2 = this.e) != null ? str2.equals(aVar2.e()) : aVar2.e() == null) && ((str3 = this.f) != null ? str3.equals(aVar2.a()) : aVar2.a() == null)) { + if (this.a.equals(aVar2.d()) && this.b.equals(aVar2.g()) && ((str = this.f1367c) != null ? str.equals(aVar2.c()) : aVar2.c() == null) && ((aVar = this.d) != null ? aVar.equals(aVar2.f()) : aVar2.f() == null) && ((str2 = this.e) != null ? str2.equals(aVar2.e()) : aVar2.e() == null) && ((str3 = this.f) != null ? str3.equals(aVar2.a()) : aVar2.a() == null)) { String str4 = this.g; if (str4 == null) { if (aVar2.b() == null) { @@ -81,7 +81,7 @@ public final class g extends v.d.a { @Override // c.i.c.m.d.m.v.d.a @Nullable - public v.d.a.AbstractC0137a f() { + public v.d.a.AbstractC0136a f() { return this.d; } @@ -93,10 +93,10 @@ public final class g extends v.d.a { public int hashCode() { int hashCode = (((this.a.hashCode() ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003; - String str = this.f1412c; + String str = this.f1367c; int i = 0; int hashCode2 = (hashCode ^ (str == null ? 0 : str.hashCode())) * 1000003; - v.d.a.AbstractC0137a aVar = this.d; + v.d.a.AbstractC0136a aVar = this.d; int hashCode3 = (hashCode2 ^ (aVar == null ? 0 : aVar.hashCode())) * 1000003; String str2 = this.e; int hashCode4 = (hashCode3 ^ (str2 == null ? 0 : str2.hashCode())) * 1000003; @@ -110,19 +110,19 @@ public final class g extends v.d.a { } public String toString() { - StringBuilder O = c.d.b.a.a.O("Application{identifier="); - O.append(this.a); - O.append(", version="); - O.append(this.b); - O.append(", displayVersion="); - O.append(this.f1412c); - O.append(", organization="); - O.append(this.d); - O.append(", installationUuid="); - O.append(this.e); - O.append(", developmentPlatform="); - O.append(this.f); - O.append(", developmentPlatformVersion="); - return c.d.b.a.a.G(O, this.g, "}"); + StringBuilder R = c.d.b.a.a.R("Application{identifier="); + R.append(this.a); + R.append(", version="); + R.append(this.b); + R.append(", displayVersion="); + R.append(this.f1367c); + R.append(", organization="); + R.append(this.d); + R.append(", installationUuid="); + R.append(this.e); + R.append(", developmentPlatform="); + R.append(this.f); + R.append(", developmentPlatformVersion="); + return c.d.b.a.a.H(R, this.g, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/m/h.java b/app/src/main/java/c/i/c/m/d/m/h.java index 91e073ea27..5e86a15332 100644 --- a/app/src/main/java/c/i/c/m/d/m/h.java +++ b/app/src/main/java/c/i/c/m/d/m/h.java @@ -3,8 +3,8 @@ package c.i.c.m.d.m; import androidx.annotation.NonNull; import c.i.c.m.d.m.v; /* compiled from: AutoValue_CrashlyticsReport_Session_Application_Organization */ -public final class h extends v.d.a.AbstractC0137a { - @Override // c.i.c.m.d.m.v.d.a.AbstractC0137a +public final class h extends v.d.a.AbstractC0136a { + @Override // c.i.c.m.d.m.v.d.a.AbstractC0136a @NonNull public String a() { return null; @@ -14,10 +14,10 @@ public final class h extends v.d.a.AbstractC0137a { if (obj == this) { return true; } - if (!(obj instanceof v.d.a.AbstractC0137a)) { + if (!(obj instanceof v.d.a.AbstractC0136a)) { return false; } - ((v.d.a.AbstractC0137a) obj).a(); + ((v.d.a.AbstractC0136a) obj).a(); throw null; } diff --git a/app/src/main/java/c/i/c/m/d/m/i.java b/app/src/main/java/c/i/c/m/d/m/i.java index d86a7dcb2b..5460379a43 100644 --- a/app/src/main/java/c/i/c/m/d/m/i.java +++ b/app/src/main/java/c/i/c/m/d/m/i.java @@ -8,7 +8,7 @@ public final class i extends v.d.c { public final String b; /* renamed from: c reason: collision with root package name */ - public final int f1413c; + public final int f1368c; public final long d; public final long e; public final boolean f; @@ -22,7 +22,7 @@ public final class i extends v.d.c { public String b; /* renamed from: c reason: collision with root package name */ - public Integer f1414c; + public Integer f1369c; public Long d; public Long e; public Boolean f; @@ -33,40 +33,40 @@ public final class i extends v.d.c { public v.d.c a() { String str = this.a == null ? " arch" : ""; if (this.b == null) { - str = c.d.b.a.a.u(str, " model"); + str = c.d.b.a.a.v(str, " model"); } - if (this.f1414c == null) { - str = c.d.b.a.a.u(str, " cores"); + if (this.f1369c == null) { + str = c.d.b.a.a.v(str, " cores"); } if (this.d == null) { - str = c.d.b.a.a.u(str, " ram"); + str = c.d.b.a.a.v(str, " ram"); } if (this.e == null) { - str = c.d.b.a.a.u(str, " diskSpace"); + str = c.d.b.a.a.v(str, " diskSpace"); } if (this.f == null) { - str = c.d.b.a.a.u(str, " simulator"); + str = c.d.b.a.a.v(str, " simulator"); } if (this.g == null) { - str = c.d.b.a.a.u(str, " state"); + str = c.d.b.a.a.v(str, " state"); } if (this.h == null) { - str = c.d.b.a.a.u(str, " manufacturer"); + str = c.d.b.a.a.v(str, " manufacturer"); } if (this.i == null) { - str = c.d.b.a.a.u(str, " modelClass"); + str = c.d.b.a.a.v(str, " modelClass"); } if (str.isEmpty()) { - return new i(this.a.intValue(), this.b, this.f1414c.intValue(), this.d.longValue(), this.e.longValue(), this.f.booleanValue(), this.g.intValue(), this.h, this.i, null); + return new i(this.a.intValue(), this.b, this.f1369c.intValue(), this.d.longValue(), this.e.longValue(), this.f.booleanValue(), this.g.intValue(), this.h, this.i, null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str)); } } public i(int i, String str, int i2, long j, long j2, boolean z2, int i3, String str2, String str3, a aVar) { this.a = i; this.b = str; - this.f1413c = i2; + this.f1368c = i2; this.d = j; this.e = j2; this.f = z2; @@ -83,7 +83,7 @@ public final class i extends v.d.c { @Override // c.i.c.m.d.m.v.d.c public int b() { - return this.f1413c; + return this.f1368c; } @Override // c.i.c.m.d.m.v.d.c @@ -111,7 +111,7 @@ public final class i extends v.d.c { return false; } v.d.c cVar = (v.d.c) obj; - return this.a == cVar.a() && this.b.equals(cVar.e()) && this.f1413c == cVar.b() && this.d == cVar.g() && this.e == cVar.c() && this.f == cVar.i() && this.g == cVar.h() && this.h.equals(cVar.d()) && this.i.equals(cVar.f()); + return this.a == cVar.a() && this.b.equals(cVar.e()) && this.f1368c == cVar.b() && this.d == cVar.g() && this.e == cVar.c() && this.f == cVar.i() && this.g == cVar.h() && this.h.equals(cVar.d()) && this.i.equals(cVar.f()); } @Override // c.i.c.m.d.m.v.d.c @@ -133,7 +133,7 @@ public final class i extends v.d.c { public int hashCode() { long j = this.d; long j2 = this.e; - return ((((((((((((((((this.a ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003) ^ this.f1413c) * 1000003) ^ ((int) (j ^ (j >>> 32)))) * 1000003) ^ ((int) (j2 ^ (j2 >>> 32)))) * 1000003) ^ (this.f ? 1231 : 1237)) * 1000003) ^ this.g) * 1000003) ^ this.h.hashCode()) * 1000003) ^ this.i.hashCode(); + return ((((((((((((((((this.a ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003) ^ this.f1368c) * 1000003) ^ ((int) (j ^ (j >>> 32)))) * 1000003) ^ ((int) (j2 ^ (j2 >>> 32)))) * 1000003) ^ (this.f ? 1231 : 1237)) * 1000003) ^ this.g) * 1000003) ^ this.h.hashCode()) * 1000003) ^ this.i.hashCode(); } @Override // c.i.c.m.d.m.v.d.c @@ -142,23 +142,23 @@ public final class i extends v.d.c { } public String toString() { - StringBuilder O = c.d.b.a.a.O("Device{arch="); - O.append(this.a); - O.append(", model="); - O.append(this.b); - O.append(", cores="); - O.append(this.f1413c); - O.append(", ram="); - O.append(this.d); - O.append(", diskSpace="); - O.append(this.e); - O.append(", simulator="); - O.append(this.f); - O.append(", state="); - O.append(this.g); - O.append(", manufacturer="); - O.append(this.h); - O.append(", modelClass="); - return c.d.b.a.a.G(O, this.i, "}"); + StringBuilder R = c.d.b.a.a.R("Device{arch="); + R.append(this.a); + R.append(", model="); + R.append(this.b); + R.append(", cores="); + R.append(this.f1368c); + R.append(", ram="); + R.append(this.d); + R.append(", diskSpace="); + R.append(this.e); + R.append(", simulator="); + R.append(this.f); + R.append(", state="); + R.append(this.g); + R.append(", manufacturer="); + R.append(this.h); + R.append(", modelClass="); + return c.d.b.a.a.H(R, this.i, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/m/j.java b/app/src/main/java/c/i/c/m/d/m/j.java index 79e2ae7742..43fb641a35 100644 --- a/app/src/main/java/c/i/c/m/d/m/j.java +++ b/app/src/main/java/c/i/c/m/d/m/j.java @@ -4,47 +4,47 @@ import androidx.annotation.NonNull; import androidx.annotation.Nullable; import c.i.c.m.d.m.v; /* compiled from: AutoValue_CrashlyticsReport_Session_Event */ -public final class j extends v.d.AbstractC0138d { +public final class j extends v.d.AbstractC0137d { public final long a; public final String b; /* renamed from: c reason: collision with root package name */ - public final v.d.AbstractC0138d.a f1415c; - public final v.d.AbstractC0138d.b d; - public final v.d.AbstractC0138d.c e; + public final v.d.AbstractC0137d.a f1370c; + public final v.d.AbstractC0137d.b d; + public final v.d.AbstractC0137d.c e; - public j(long j, String str, v.d.AbstractC0138d.a aVar, v.d.AbstractC0138d.b bVar, v.d.AbstractC0138d.c cVar, a aVar2) { + public j(long j, String str, v.d.AbstractC0137d.a aVar, v.d.AbstractC0137d.b bVar, v.d.AbstractC0137d.c cVar, a aVar2) { this.a = j; this.b = str; - this.f1415c = aVar; + this.f1370c = aVar; this.d = bVar; this.e = cVar; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d + @Override // c.i.c.m.d.m.v.d.AbstractC0137d @NonNull - public v.d.AbstractC0138d.a a() { - return this.f1415c; + public v.d.AbstractC0137d.a a() { + return this.f1370c; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d + @Override // c.i.c.m.d.m.v.d.AbstractC0137d @NonNull - public v.d.AbstractC0138d.b b() { + public v.d.AbstractC0137d.b b() { return this.d; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d + @Override // c.i.c.m.d.m.v.d.AbstractC0137d @Nullable - public v.d.AbstractC0138d.c c() { + public v.d.AbstractC0137d.c c() { return this.e; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d + @Override // c.i.c.m.d.m.v.d.AbstractC0137d public long d() { return this.a; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d + @Override // c.i.c.m.d.m.v.d.AbstractC0137d @NonNull public String e() { return this.b; @@ -54,12 +54,12 @@ public final class j extends v.d.AbstractC0138d { if (obj == this) { return true; } - if (!(obj instanceof v.d.AbstractC0138d)) { + if (!(obj instanceof v.d.AbstractC0137d)) { return false; } - v.d.AbstractC0138d dVar = (v.d.AbstractC0138d) obj; - if (this.a == dVar.d() && this.b.equals(dVar.e()) && this.f1415c.equals(dVar.a()) && this.d.equals(dVar.b())) { - v.d.AbstractC0138d.c cVar = this.e; + v.d.AbstractC0137d dVar = (v.d.AbstractC0137d) obj; + if (this.a == dVar.d() && this.b.equals(dVar.e()) && this.f1370c.equals(dVar.a()) && this.d.equals(dVar.b())) { + v.d.AbstractC0137d.c cVar = this.e; if (cVar == null) { if (dVar.c() == null) { return true; @@ -73,23 +73,23 @@ public final class j extends v.d.AbstractC0138d { public int hashCode() { long j = this.a; - int hashCode = (((((((((int) (j ^ (j >>> 32))) ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003) ^ this.f1415c.hashCode()) * 1000003) ^ this.d.hashCode()) * 1000003; - v.d.AbstractC0138d.c cVar = this.e; + int hashCode = (((((((((int) (j ^ (j >>> 32))) ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003) ^ this.f1370c.hashCode()) * 1000003) ^ this.d.hashCode()) * 1000003; + v.d.AbstractC0137d.c cVar = this.e; return (cVar == null ? 0 : cVar.hashCode()) ^ hashCode; } public String toString() { - StringBuilder O = c.d.b.a.a.O("Event{timestamp="); - O.append(this.a); - O.append(", type="); - O.append(this.b); - O.append(", app="); - O.append(this.f1415c); - O.append(", device="); - O.append(this.d); - O.append(", log="); - O.append(this.e); - O.append("}"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("Event{timestamp="); + R.append(this.a); + R.append(", type="); + R.append(this.b); + R.append(", app="); + R.append(this.f1370c); + R.append(", device="); + R.append(this.d); + R.append(", log="); + R.append(this.e); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/c/m/d/m/k.java b/app/src/main/java/c/i/c/m/d/m/k.java index 22a1127e9f..121e89c387 100644 --- a/app/src/main/java/c/i/c/m/d/m/k.java +++ b/app/src/main/java/c/i/c/m/d/m/k.java @@ -4,77 +4,77 @@ import androidx.annotation.NonNull; import androidx.annotation.Nullable; import c.i.c.m.d.m.v; /* compiled from: AutoValue_CrashlyticsReport_Session_Event_Application */ -public final class k extends v.d.AbstractC0138d.a { - public final v.d.AbstractC0138d.a.b a; +public final class k extends v.d.AbstractC0137d.a { + public final v.d.AbstractC0137d.a.b a; public final w b; /* renamed from: c reason: collision with root package name */ - public final Boolean f1416c; + public final Boolean f1371c; public final int d; /* compiled from: AutoValue_CrashlyticsReport_Session_Event_Application */ - public static final class b extends v.d.AbstractC0138d.a.AbstractC0139a { - public v.d.AbstractC0138d.a.b a; + public static final class b extends v.d.AbstractC0137d.a.AbstractC0138a { + public v.d.AbstractC0137d.a.b a; public w b; /* renamed from: c reason: collision with root package name */ - public Boolean f1417c; + public Boolean f1372c; public Integer d; public b() { } - public b(v.d.AbstractC0138d.a aVar, a aVar2) { + public b(v.d.AbstractC0137d.a aVar, a aVar2) { k kVar = (k) aVar; this.a = kVar.a; this.b = kVar.b; - this.f1417c = kVar.f1416c; + this.f1372c = kVar.f1371c; this.d = Integer.valueOf(kVar.d); } - public v.d.AbstractC0138d.a a() { + public v.d.AbstractC0137d.a a() { String str = this.a == null ? " execution" : ""; if (this.d == null) { - str = c.d.b.a.a.u(str, " uiOrientation"); + str = c.d.b.a.a.v(str, " uiOrientation"); } if (str.isEmpty()) { - return new k(this.a, this.b, this.f1417c, this.d.intValue(), null); + return new k(this.a, this.b, this.f1372c, this.d.intValue(), null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str)); } } - public k(v.d.AbstractC0138d.a.b bVar, w wVar, Boolean bool, int i, a aVar) { + public k(v.d.AbstractC0137d.a.b bVar, w wVar, Boolean bool, int i, a aVar) { this.a = bVar; this.b = wVar; - this.f1416c = bool; + this.f1371c = bool; this.d = i; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a @Nullable public Boolean a() { - return this.f1416c; + return this.f1371c; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a @Nullable public w b() { return this.b; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a @NonNull - public v.d.AbstractC0138d.a.b c() { + public v.d.AbstractC0137d.a.b c() { return this.a; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a public int d() { return this.d; } - public v.d.AbstractC0138d.a.AbstractC0139a e() { + public v.d.AbstractC0137d.a.AbstractC0138a e() { return new b(this, null); } @@ -84,11 +84,11 @@ public final class k extends v.d.AbstractC0138d.a { if (obj == this) { return true; } - if (!(obj instanceof v.d.AbstractC0138d.a)) { + if (!(obj instanceof v.d.AbstractC0137d.a)) { return false; } - v.d.AbstractC0138d.a aVar = (v.d.AbstractC0138d.a) obj; - return this.a.equals(aVar.c()) && ((wVar = this.b) != null ? wVar.equals(aVar.b()) : aVar.b() == null) && ((bool = this.f1416c) != null ? bool.equals(aVar.a()) : aVar.a() == null) && this.d == aVar.d(); + v.d.AbstractC0137d.a aVar = (v.d.AbstractC0137d.a) obj; + return this.a.equals(aVar.c()) && ((wVar = this.b) != null ? wVar.equals(aVar.b()) : aVar.b() == null) && ((bool = this.f1371c) != null ? bool.equals(aVar.a()) : aVar.a() == null) && this.d == aVar.d(); } public int hashCode() { @@ -96,7 +96,7 @@ public final class k extends v.d.AbstractC0138d.a { w wVar = this.b; int i = 0; int hashCode2 = (hashCode ^ (wVar == null ? 0 : wVar.hashCode())) * 1000003; - Boolean bool = this.f1416c; + Boolean bool = this.f1371c; if (bool != null) { i = bool.hashCode(); } @@ -104,13 +104,13 @@ public final class k extends v.d.AbstractC0138d.a { } public String toString() { - StringBuilder O = c.d.b.a.a.O("Application{execution="); - O.append(this.a); - O.append(", customAttributes="); - O.append(this.b); - O.append(", background="); - O.append(this.f1416c); - O.append(", uiOrientation="); - return c.d.b.a.a.z(O, this.d, "}"); + StringBuilder R = c.d.b.a.a.R("Application{execution="); + R.append(this.a); + R.append(", customAttributes="); + R.append(this.b); + R.append(", background="); + R.append(this.f1371c); + R.append(", uiOrientation="); + return c.d.b.a.a.A(R, this.d, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/m/l.java b/app/src/main/java/c/i/c/m/d/m/l.java index 82aa4d900b..7b4a8b7cfb 100644 --- a/app/src/main/java/c/i/c/m/d/m/l.java +++ b/app/src/main/java/c/i/c/m/d/m/l.java @@ -3,42 +3,42 @@ package c.i.c.m.d.m; import androidx.annotation.NonNull; import c.i.c.m.d.m.v; /* compiled from: AutoValue_CrashlyticsReport_Session_Event_Application_Execution */ -public final class l extends v.d.AbstractC0138d.a.b { - public final w a; - public final v.d.AbstractC0138d.a.b.AbstractC0141b b; +public final class l extends v.d.AbstractC0137d.a.b { + public final w a; + public final v.d.AbstractC0137d.a.b.AbstractC0140b b; /* renamed from: c reason: collision with root package name */ - public final v.d.AbstractC0138d.a.b.c f1418c; - public final w d; + public final v.d.AbstractC0137d.a.b.c f1373c; + public final w d; - public l(w wVar, v.d.AbstractC0138d.a.b.AbstractC0141b bVar, v.d.AbstractC0138d.a.b.c cVar, w wVar2, a aVar) { + public l(w wVar, v.d.AbstractC0137d.a.b.AbstractC0140b bVar, v.d.AbstractC0137d.a.b.c cVar, w wVar2, a aVar) { this.a = wVar; this.b = bVar; - this.f1418c = cVar; + this.f1373c = cVar; this.d = wVar2; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b @NonNull - public w a() { + public w a() { return this.d; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b @NonNull - public v.d.AbstractC0138d.a.b.AbstractC0141b b() { + public v.d.AbstractC0137d.a.b.AbstractC0140b b() { return this.b; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b @NonNull - public v.d.AbstractC0138d.a.b.c c() { - return this.f1418c; + public v.d.AbstractC0137d.a.b.c c() { + return this.f1373c; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b @NonNull - public w d() { + public w d() { return this.a; } @@ -46,27 +46,27 @@ public final class l extends v.d.AbstractC0138d.a.b { if (obj == this) { return true; } - if (!(obj instanceof v.d.AbstractC0138d.a.b)) { + if (!(obj instanceof v.d.AbstractC0137d.a.b)) { return false; } - v.d.AbstractC0138d.a.b bVar = (v.d.AbstractC0138d.a.b) obj; - return this.a.equals(bVar.d()) && this.b.equals(bVar.b()) && this.f1418c.equals(bVar.c()) && this.d.equals(bVar.a()); + v.d.AbstractC0137d.a.b bVar = (v.d.AbstractC0137d.a.b) obj; + return this.a.equals(bVar.d()) && this.b.equals(bVar.b()) && this.f1373c.equals(bVar.c()) && this.d.equals(bVar.a()); } public int hashCode() { - return ((((((this.a.hashCode() ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003) ^ this.f1418c.hashCode()) * 1000003) ^ this.d.hashCode(); + return ((((((this.a.hashCode() ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003) ^ this.f1373c.hashCode()) * 1000003) ^ this.d.hashCode(); } public String toString() { - StringBuilder O = c.d.b.a.a.O("Execution{threads="); - O.append(this.a); - O.append(", exception="); - O.append(this.b); - O.append(", signal="); - O.append(this.f1418c); - O.append(", binaries="); - O.append(this.d); - O.append("}"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("Execution{threads="); + R.append(this.a); + R.append(", exception="); + R.append(this.b); + R.append(", signal="); + R.append(this.f1373c); + R.append(", binaries="); + R.append(this.d); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/c/m/d/m/m.java b/app/src/main/java/c/i/c/m/d/m/m.java index c88819bb7e..5fea1d74cb 100644 --- a/app/src/main/java/c/i/c/m/d/m/m.java +++ b/app/src/main/java/c/i/c/m/d/m/m.java @@ -4,39 +4,39 @@ import androidx.annotation.NonNull; import androidx.annotation.Nullable; import c.i.c.m.d.m.v; /* compiled from: AutoValue_CrashlyticsReport_Session_Event_Application_Execution_BinaryImage */ -public final class m extends v.d.AbstractC0138d.a.b.AbstractC0140a { +public final class m extends v.d.AbstractC0137d.a.b.AbstractC0139a { public final long a; public final long b; /* renamed from: c reason: collision with root package name */ - public final String f1419c; + public final String f1374c; public final String d; public m(long j, long j2, String str, String str2, a aVar) { this.a = j; this.b = j2; - this.f1419c = str; + this.f1374c = str; this.d = str2; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0140a + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0139a @NonNull public long a() { return this.a; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0140a + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0139a @NonNull public String b() { - return this.f1419c; + return this.f1374c; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0140a + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0139a public long c() { return this.b; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0140a + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0139a @Nullable public String d() { return this.d; @@ -46,11 +46,11 @@ public final class m extends v.d.AbstractC0138d.a.b.AbstractC0140a { if (obj == this) { return true; } - if (!(obj instanceof v.d.AbstractC0138d.a.b.AbstractC0140a)) { + if (!(obj instanceof v.d.AbstractC0137d.a.b.AbstractC0139a)) { return false; } - v.d.AbstractC0138d.a.b.AbstractC0140a aVar = (v.d.AbstractC0138d.a.b.AbstractC0140a) obj; - if (this.a == aVar.a() && this.b == aVar.c() && this.f1419c.equals(aVar.b())) { + v.d.AbstractC0137d.a.b.AbstractC0139a aVar = (v.d.AbstractC0137d.a.b.AbstractC0139a) obj; + if (this.a == aVar.a() && this.b == aVar.c() && this.f1374c.equals(aVar.b())) { String str = this.d; if (str == null) { if (aVar.d() == null) { @@ -66,19 +66,19 @@ public final class m extends v.d.AbstractC0138d.a.b.AbstractC0140a { public int hashCode() { long j = this.a; long j2 = this.b; - int hashCode = (((((((int) (j ^ (j >>> 32))) ^ 1000003) * 1000003) ^ ((int) ((j2 >>> 32) ^ j2))) * 1000003) ^ this.f1419c.hashCode()) * 1000003; + int hashCode = (((((((int) (j ^ (j >>> 32))) ^ 1000003) * 1000003) ^ ((int) ((j2 >>> 32) ^ j2))) * 1000003) ^ this.f1374c.hashCode()) * 1000003; String str = this.d; return (str == null ? 0 : str.hashCode()) ^ hashCode; } public String toString() { - StringBuilder O = c.d.b.a.a.O("BinaryImage{baseAddress="); - O.append(this.a); - O.append(", size="); - O.append(this.b); - O.append(", name="); - O.append(this.f1419c); - O.append(", uuid="); - return c.d.b.a.a.G(O, this.d, "}"); + StringBuilder R = c.d.b.a.a.R("BinaryImage{baseAddress="); + R.append(this.a); + R.append(", size="); + R.append(this.b); + R.append(", name="); + R.append(this.f1374c); + R.append(", uuid="); + return c.d.b.a.a.H(R, this.d, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/m/n.java b/app/src/main/java/c/i/c/m/d/m/n.java index 7191db8288..09d6123ae0 100644 --- a/app/src/main/java/c/i/c/m/d/m/n.java +++ b/app/src/main/java/c/i/c/m/d/m/n.java @@ -4,47 +4,47 @@ import androidx.annotation.NonNull; import androidx.annotation.Nullable; import c.i.c.m.d.m.v; /* compiled from: AutoValue_CrashlyticsReport_Session_Event_Application_Execution_Exception */ -public final class n extends v.d.AbstractC0138d.a.b.AbstractC0141b { +public final class n extends v.d.AbstractC0137d.a.b.AbstractC0140b { public final String a; public final String b; /* renamed from: c reason: collision with root package name */ - public final w f1420c; - public final v.d.AbstractC0138d.a.b.AbstractC0141b d; + public final w f1375c; + public final v.d.AbstractC0137d.a.b.AbstractC0140b d; public final int e; - public n(String str, String str2, w wVar, v.d.AbstractC0138d.a.b.AbstractC0141b bVar, int i, a aVar) { + public n(String str, String str2, w wVar, v.d.AbstractC0137d.a.b.AbstractC0140b bVar, int i, a aVar) { this.a = str; this.b = str2; - this.f1420c = wVar; + this.f1375c = wVar; this.d = bVar; this.e = i; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0141b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0140b @Nullable - public v.d.AbstractC0138d.a.b.AbstractC0141b a() { + public v.d.AbstractC0137d.a.b.AbstractC0140b a() { return this.d; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0141b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0140b @NonNull - public w b() { - return this.f1420c; + public w b() { + return this.f1375c; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0141b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0140b public int c() { return this.e; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0141b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0140b @Nullable public String d() { return this.b; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0141b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0140b @NonNull public String e() { return this.a; @@ -52,23 +52,23 @@ public final class n extends v.d.AbstractC0138d.a.b.AbstractC0141b { public boolean equals(Object obj) { String str; - v.d.AbstractC0138d.a.b.AbstractC0141b bVar; + v.d.AbstractC0137d.a.b.AbstractC0140b bVar; if (obj == this) { return true; } - if (!(obj instanceof v.d.AbstractC0138d.a.b.AbstractC0141b)) { + if (!(obj instanceof v.d.AbstractC0137d.a.b.AbstractC0140b)) { return false; } - v.d.AbstractC0138d.a.b.AbstractC0141b bVar2 = (v.d.AbstractC0138d.a.b.AbstractC0141b) obj; - return this.a.equals(bVar2.e()) && ((str = this.b) != null ? str.equals(bVar2.d()) : bVar2.d() == null) && this.f1420c.equals(bVar2.b()) && ((bVar = this.d) != null ? bVar.equals(bVar2.a()) : bVar2.a() == null) && this.e == bVar2.c(); + v.d.AbstractC0137d.a.b.AbstractC0140b bVar2 = (v.d.AbstractC0137d.a.b.AbstractC0140b) obj; + return this.a.equals(bVar2.e()) && ((str = this.b) != null ? str.equals(bVar2.d()) : bVar2.d() == null) && this.f1375c.equals(bVar2.b()) && ((bVar = this.d) != null ? bVar.equals(bVar2.a()) : bVar2.a() == null) && this.e == bVar2.c(); } public int hashCode() { int hashCode = (this.a.hashCode() ^ 1000003) * 1000003; String str = this.b; int i = 0; - int hashCode2 = (((hashCode ^ (str == null ? 0 : str.hashCode())) * 1000003) ^ this.f1420c.hashCode()) * 1000003; - v.d.AbstractC0138d.a.b.AbstractC0141b bVar = this.d; + int hashCode2 = (((hashCode ^ (str == null ? 0 : str.hashCode())) * 1000003) ^ this.f1375c.hashCode()) * 1000003; + v.d.AbstractC0137d.a.b.AbstractC0140b bVar = this.d; if (bVar != null) { i = bVar.hashCode(); } @@ -76,15 +76,15 @@ public final class n extends v.d.AbstractC0138d.a.b.AbstractC0141b { } public String toString() { - StringBuilder O = c.d.b.a.a.O("Exception{type="); - O.append(this.a); - O.append(", reason="); - O.append(this.b); - O.append(", frames="); - O.append(this.f1420c); - O.append(", causedBy="); - O.append(this.d); - O.append(", overflowCount="); - return c.d.b.a.a.z(O, this.e, "}"); + StringBuilder R = c.d.b.a.a.R("Exception{type="); + R.append(this.a); + R.append(", reason="); + R.append(this.b); + R.append(", frames="); + R.append(this.f1375c); + R.append(", causedBy="); + R.append(this.d); + R.append(", overflowCount="); + return c.d.b.a.a.A(R, this.e, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/m/o.java b/app/src/main/java/c/i/c/m/d/m/o.java index 305680501a..0ab8264e39 100644 --- a/app/src/main/java/c/i/c/m/d/m/o.java +++ b/app/src/main/java/c/i/c/m/d/m/o.java @@ -3,32 +3,32 @@ package c.i.c.m.d.m; import androidx.annotation.NonNull; import c.i.c.m.d.m.v; /* compiled from: AutoValue_CrashlyticsReport_Session_Event_Application_Execution_Signal */ -public final class o extends v.d.AbstractC0138d.a.b.c { +public final class o extends v.d.AbstractC0137d.a.b.c { public final String a; public final String b; /* renamed from: c reason: collision with root package name */ - public final long f1421c; + public final long f1376c; public o(String str, String str2, long j, a aVar) { this.a = str; this.b = str2; - this.f1421c = j; + this.f1376c = j; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.c + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.c @NonNull public long a() { - return this.f1421c; + return this.f1376c; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.c + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.c @NonNull public String b() { return this.b; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.c + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.c @NonNull public String c() { return this.a; @@ -38,24 +38,24 @@ public final class o extends v.d.AbstractC0138d.a.b.c { if (obj == this) { return true; } - if (!(obj instanceof v.d.AbstractC0138d.a.b.c)) { + if (!(obj instanceof v.d.AbstractC0137d.a.b.c)) { return false; } - v.d.AbstractC0138d.a.b.c cVar = (v.d.AbstractC0138d.a.b.c) obj; - return this.a.equals(cVar.c()) && this.b.equals(cVar.b()) && this.f1421c == cVar.a(); + v.d.AbstractC0137d.a.b.c cVar = (v.d.AbstractC0137d.a.b.c) obj; + return this.a.equals(cVar.c()) && this.b.equals(cVar.b()) && this.f1376c == cVar.a(); } public int hashCode() { - long j = this.f1421c; + long j = this.f1376c; return ((((this.a.hashCode() ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003) ^ ((int) (j ^ (j >>> 32))); } public String toString() { - StringBuilder O = c.d.b.a.a.O("Signal{name="); - O.append(this.a); - O.append(", code="); - O.append(this.b); - O.append(", address="); - return c.d.b.a.a.A(O, this.f1421c, "}"); + StringBuilder R = c.d.b.a.a.R("Signal{name="); + R.append(this.a); + R.append(", code="); + R.append(this.b); + R.append(", address="); + return c.d.b.a.a.B(R, this.f1376c, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/m/p.java b/app/src/main/java/c/i/c/m/d/m/p.java index 444a0f2ce4..18333d23b7 100644 --- a/app/src/main/java/c/i/c/m/d/m/p.java +++ b/app/src/main/java/c/i/c/m/d/m/p.java @@ -3,31 +3,31 @@ package c.i.c.m.d.m; import androidx.annotation.NonNull; import c.i.c.m.d.m.v; /* compiled from: AutoValue_CrashlyticsReport_Session_Event_Application_Execution_Thread */ -public final class p extends v.d.AbstractC0138d.a.b.AbstractC0142d { +public final class p extends v.d.AbstractC0137d.a.b.AbstractC0141d { public final String a; public final int b; /* renamed from: c reason: collision with root package name */ - public final w f1422c; + public final w f1377c; public p(String str, int i, w wVar, a aVar) { this.a = str; this.b = i; - this.f1422c = wVar; + this.f1377c = wVar; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0142d + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0141d @NonNull - public w a() { - return this.f1422c; + public w a() { + return this.f1377c; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0142d + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0141d public int b() { return this.b; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0142d + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0141d @NonNull public String c() { return this.a; @@ -37,25 +37,25 @@ public final class p extends v.d.AbstractC0138d.a.b.AbstractC0142d { if (obj == this) { return true; } - if (!(obj instanceof v.d.AbstractC0138d.a.b.AbstractC0142d)) { + if (!(obj instanceof v.d.AbstractC0137d.a.b.AbstractC0141d)) { return false; } - v.d.AbstractC0138d.a.b.AbstractC0142d dVar = (v.d.AbstractC0138d.a.b.AbstractC0142d) obj; - return this.a.equals(dVar.c()) && this.b == dVar.b() && this.f1422c.equals(dVar.a()); + v.d.AbstractC0137d.a.b.AbstractC0141d dVar = (v.d.AbstractC0137d.a.b.AbstractC0141d) obj; + return this.a.equals(dVar.c()) && this.b == dVar.b() && this.f1377c.equals(dVar.a()); } public int hashCode() { - return ((((this.a.hashCode() ^ 1000003) * 1000003) ^ this.b) * 1000003) ^ this.f1422c.hashCode(); + return ((((this.a.hashCode() ^ 1000003) * 1000003) ^ this.b) * 1000003) ^ this.f1377c.hashCode(); } public String toString() { - StringBuilder O = c.d.b.a.a.O("Thread{name="); - O.append(this.a); - O.append(", importance="); - O.append(this.b); - O.append(", frames="); - O.append(this.f1422c); - O.append("}"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("Thread{name="); + R.append(this.a); + R.append(", importance="); + R.append(this.b); + R.append(", frames="); + R.append(this.f1377c); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/c/m/d/m/q.java b/app/src/main/java/c/i/c/m/d/m/q.java index 1d7c9fa55c..1d553ce826 100644 --- a/app/src/main/java/c/i/c/m/d/m/q.java +++ b/app/src/main/java/c/i/c/m/d/m/q.java @@ -4,73 +4,73 @@ import androidx.annotation.NonNull; import androidx.annotation.Nullable; import c.i.c.m.d.m.v; /* compiled from: AutoValue_CrashlyticsReport_Session_Event_Application_Execution_Thread_Frame */ -public final class q extends v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a { +public final class q extends v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a { public final long a; public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1423c; + public final String f1378c; public final long d; public final int e; /* compiled from: AutoValue_CrashlyticsReport_Session_Event_Application_Execution_Thread_Frame */ - public static final class b extends v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a.AbstractC0144a { + public static final class b extends v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a.AbstractC0143a { public Long a; public String b; /* renamed from: c reason: collision with root package name */ - public String f1424c; + public String f1379c; public Long d; public Integer e; - public v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a a() { + public v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a a() { String str = this.a == null ? " pc" : ""; if (this.b == null) { - str = c.d.b.a.a.u(str, " symbol"); + str = c.d.b.a.a.v(str, " symbol"); } if (this.d == null) { - str = c.d.b.a.a.u(str, " offset"); + str = c.d.b.a.a.v(str, " offset"); } if (this.e == null) { - str = c.d.b.a.a.u(str, " importance"); + str = c.d.b.a.a.v(str, " importance"); } if (str.isEmpty()) { - return new q(this.a.longValue(), this.b, this.f1424c, this.d.longValue(), this.e.intValue(), null); + return new q(this.a.longValue(), this.b, this.f1379c, this.d.longValue(), this.e.intValue(), null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str)); } } public q(long j, String str, String str2, long j2, int i, a aVar) { this.a = j; this.b = str; - this.f1423c = str2; + this.f1378c = str2; this.d = j2; this.e = i; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a @Nullable public String a() { - return this.f1423c; + return this.f1378c; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a public int b() { return this.e; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a public long c() { return this.d; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a public long d() { return this.a; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a @NonNull public String e() { return this.b; @@ -81,32 +81,32 @@ public final class q extends v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143 if (obj == this) { return true; } - if (!(obj instanceof v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a)) { + if (!(obj instanceof v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a)) { return false; } - v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a aVar = (v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a) obj; - return this.a == aVar.d() && this.b.equals(aVar.e()) && ((str = this.f1423c) != null ? str.equals(aVar.a()) : aVar.a() == null) && this.d == aVar.c() && this.e == aVar.b(); + v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a aVar = (v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a) obj; + return this.a == aVar.d() && this.b.equals(aVar.e()) && ((str = this.f1378c) != null ? str.equals(aVar.a()) : aVar.a() == null) && this.d == aVar.c() && this.e == aVar.b(); } public int hashCode() { long j = this.a; int hashCode = (((((int) (j ^ (j >>> 32))) ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003; - String str = this.f1423c; + String str = this.f1378c; int hashCode2 = str == null ? 0 : str.hashCode(); long j2 = this.d; return this.e ^ ((((hashCode ^ hashCode2) * 1000003) ^ ((int) ((j2 >>> 32) ^ j2))) * 1000003); } public String toString() { - StringBuilder O = c.d.b.a.a.O("Frame{pc="); - O.append(this.a); - O.append(", symbol="); - O.append(this.b); - O.append(", file="); - O.append(this.f1423c); - O.append(", offset="); - O.append(this.d); - O.append(", importance="); - return c.d.b.a.a.z(O, this.e, "}"); + StringBuilder R = c.d.b.a.a.R("Frame{pc="); + R.append(this.a); + R.append(", symbol="); + R.append(this.b); + R.append(", file="); + R.append(this.f1378c); + R.append(", offset="); + R.append(this.d); + R.append(", importance="); + return c.d.b.a.a.A(R, this.e, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/m/r.java b/app/src/main/java/c/i/c/m/d/m/r.java index 465b5615e6..c09bb8ac41 100644 --- a/app/src/main/java/c/i/c/m/d/m/r.java +++ b/app/src/main/java/c/i/c/m/d/m/r.java @@ -3,79 +3,79 @@ package c.i.c.m.d.m; import androidx.annotation.Nullable; import c.i.c.m.d.m.v; /* compiled from: AutoValue_CrashlyticsReport_Session_Event_Device */ -public final class r extends v.d.AbstractC0138d.b { +public final class r extends v.d.AbstractC0137d.b { public final Double a; public final int b; /* renamed from: c reason: collision with root package name */ - public final boolean f1425c; + public final boolean f1380c; public final int d; public final long e; public final long f; /* compiled from: AutoValue_CrashlyticsReport_Session_Event_Device */ - public static final class b extends v.d.AbstractC0138d.b.a { + public static final class b extends v.d.AbstractC0137d.b.a { public Double a; public Integer b; /* renamed from: c reason: collision with root package name */ - public Boolean f1426c; + public Boolean f1381c; public Integer d; public Long e; public Long f; - public v.d.AbstractC0138d.b a() { + public v.d.AbstractC0137d.b a() { String str = this.b == null ? " batteryVelocity" : ""; - if (this.f1426c == null) { - str = c.d.b.a.a.u(str, " proximityOn"); + if (this.f1381c == null) { + str = c.d.b.a.a.v(str, " proximityOn"); } if (this.d == null) { - str = c.d.b.a.a.u(str, " orientation"); + str = c.d.b.a.a.v(str, " orientation"); } if (this.e == null) { - str = c.d.b.a.a.u(str, " ramUsed"); + str = c.d.b.a.a.v(str, " ramUsed"); } if (this.f == null) { - str = c.d.b.a.a.u(str, " diskUsed"); + str = c.d.b.a.a.v(str, " diskUsed"); } if (str.isEmpty()) { - return new r(this.a, this.b.intValue(), this.f1426c.booleanValue(), this.d.intValue(), this.e.longValue(), this.f.longValue(), null); + return new r(this.a, this.b.intValue(), this.f1381c.booleanValue(), this.d.intValue(), this.e.longValue(), this.f.longValue(), null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str)); } } public r(Double d, int i, boolean z2, int i2, long j, long j2, a aVar) { this.a = d; this.b = i; - this.f1425c = z2; + this.f1380c = z2; this.d = i2; this.e = j; this.f = j2; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.b @Nullable public Double a() { return this.a; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.b public int b() { return this.b; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.b public long c() { return this.f; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.b public int d() { return this.d; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.b public long e() { return this.e; } @@ -84,45 +84,45 @@ public final class r extends v.d.AbstractC0138d.b { if (obj == this) { return true; } - if (!(obj instanceof v.d.AbstractC0138d.b)) { + if (!(obj instanceof v.d.AbstractC0137d.b)) { return false; } - v.d.AbstractC0138d.b bVar = (v.d.AbstractC0138d.b) obj; + v.d.AbstractC0137d.b bVar = (v.d.AbstractC0137d.b) obj; Double d = this.a; if (d != null ? d.equals(bVar.a()) : bVar.a() == null) { - if (this.b == bVar.b() && this.f1425c == bVar.f() && this.d == bVar.d() && this.e == bVar.e() && this.f == bVar.c()) { + if (this.b == bVar.b() && this.f1380c == bVar.f() && this.d == bVar.d() && this.e == bVar.e() && this.f == bVar.c()) { return true; } } return false; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.b + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.b public boolean f() { - return this.f1425c; + return this.f1380c; } public int hashCode() { Double d = this.a; int hashCode = ((((d == null ? 0 : d.hashCode()) ^ 1000003) * 1000003) ^ this.b) * 1000003; - int i = this.f1425c ? 1231 : 1237; + int i = this.f1380c ? 1231 : 1237; long j = this.e; long j2 = this.f; return ((((((hashCode ^ i) * 1000003) ^ this.d) * 1000003) ^ ((int) (j ^ (j >>> 32)))) * 1000003) ^ ((int) (j2 ^ (j2 >>> 32))); } public String toString() { - StringBuilder O = c.d.b.a.a.O("Device{batteryLevel="); - O.append(this.a); - O.append(", batteryVelocity="); - O.append(this.b); - O.append(", proximityOn="); - O.append(this.f1425c); - O.append(", orientation="); - O.append(this.d); - O.append(", ramUsed="); - O.append(this.e); - O.append(", diskUsed="); - return c.d.b.a.a.A(O, this.f, "}"); + StringBuilder R = c.d.b.a.a.R("Device{batteryLevel="); + R.append(this.a); + R.append(", batteryVelocity="); + R.append(this.b); + R.append(", proximityOn="); + R.append(this.f1380c); + R.append(", orientation="); + R.append(this.d); + R.append(", ramUsed="); + R.append(this.e); + R.append(", diskUsed="); + return c.d.b.a.a.B(R, this.f, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/m/s.java b/app/src/main/java/c/i/c/m/d/m/s.java index 470c81d897..d4c9cd7075 100644 --- a/app/src/main/java/c/i/c/m/d/m/s.java +++ b/app/src/main/java/c/i/c/m/d/m/s.java @@ -3,14 +3,14 @@ package c.i.c.m.d.m; import androidx.annotation.NonNull; import c.i.c.m.d.m.v; /* compiled from: AutoValue_CrashlyticsReport_Session_Event_Log */ -public final class s extends v.d.AbstractC0138d.c { +public final class s extends v.d.AbstractC0137d.c { public final String a; public s(String str, a aVar) { this.a = str; } - @Override // c.i.c.m.d.m.v.d.AbstractC0138d.c + @Override // c.i.c.m.d.m.v.d.AbstractC0137d.c @NonNull public String a() { return this.a; @@ -20,8 +20,8 @@ public final class s extends v.d.AbstractC0138d.c { if (obj == this) { return true; } - if (obj instanceof v.d.AbstractC0138d.c) { - return this.a.equals(((v.d.AbstractC0138d.c) obj).a()); + if (obj instanceof v.d.AbstractC0137d.c) { + return this.a.equals(((v.d.AbstractC0137d.c) obj).a()); } return false; } @@ -31,6 +31,6 @@ public final class s extends v.d.AbstractC0138d.c { } public String toString() { - return c.d.b.a.a.G(c.d.b.a.a.O("Log{content="), this.a, "}"); + return c.d.b.a.a.H(c.d.b.a.a.R("Log{content="), this.a, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/m/t.java b/app/src/main/java/c/i/c/m/d/m/t.java index a2cc58104b..6ba2343548 100644 --- a/app/src/main/java/c/i/c/m/d/m/t.java +++ b/app/src/main/java/c/i/c/m/d/m/t.java @@ -8,20 +8,20 @@ public final class t extends v.d.e { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1427c; + public final String f1382c; public final boolean d; public t(int i, String str, String str2, boolean z2, a aVar) { this.a = i; this.b = str; - this.f1427c = str2; + this.f1382c = str2; this.d = z2; } @Override // c.i.c.m.d.m.v.d.e @NonNull public String a() { - return this.f1427c; + return this.f1382c; } @Override // c.i.c.m.d.m.v.d.e @@ -48,21 +48,21 @@ public final class t extends v.d.e { return false; } v.d.e eVar = (v.d.e) obj; - return this.a == eVar.b() && this.b.equals(eVar.c()) && this.f1427c.equals(eVar.a()) && this.d == eVar.d(); + return this.a == eVar.b() && this.b.equals(eVar.c()) && this.f1382c.equals(eVar.a()) && this.d == eVar.d(); } public int hashCode() { - return ((((((this.a ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003) ^ this.f1427c.hashCode()) * 1000003) ^ (this.d ? 1231 : 1237); + return ((((((this.a ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003) ^ this.f1382c.hashCode()) * 1000003) ^ (this.d ? 1231 : 1237); } public String toString() { - StringBuilder O = c.d.b.a.a.O("OperatingSystem{platform="); - O.append(this.a); - O.append(", version="); - O.append(this.b); - O.append(", buildVersion="); - O.append(this.f1427c); - O.append(", jailbroken="); - return c.d.b.a.a.K(O, this.d, "}"); + StringBuilder R = c.d.b.a.a.R("OperatingSystem{platform="); + R.append(this.a); + R.append(", version="); + R.append(this.b); + R.append(", buildVersion="); + R.append(this.f1382c); + R.append(", jailbroken="); + return c.d.b.a.a.L(R, this.d, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/m/u.java b/app/src/main/java/c/i/c/m/d/m/u.java index b952787fdb..6b64ea518d 100644 --- a/app/src/main/java/c/i/c/m/d/m/u.java +++ b/app/src/main/java/c/i/c/m/d/m/u.java @@ -31,6 +31,6 @@ public final class u extends v.d.f { } public String toString() { - return c.d.b.a.a.G(c.d.b.a.a.O("User{identifier="), this.a, "}"); + return c.d.b.a.a.H(c.d.b.a.a.R("User{identifier="), this.a, "}"); } } diff --git a/app/src/main/java/c/i/c/m/d/m/v.java b/app/src/main/java/c/i/c/m/d/m/v.java index 8662c2a34f..46d49ac510 100644 --- a/app/src/main/java/c/i/c/m/d/m/v.java +++ b/app/src/main/java/c/i/c/m/d/m/v.java @@ -61,7 +61,7 @@ public abstract class v { /* compiled from: CrashlyticsReport */ @AutoValue /* renamed from: c.i.c.m.d.m.v$d$a$a reason: collision with other inner class name */ - public static abstract class AbstractC0137a { + public static abstract class AbstractC0136a { @NonNull public abstract String a(); } @@ -82,7 +82,7 @@ public abstract class v { public abstract String e(); @Nullable - public abstract AbstractC0137a f(); + public abstract AbstractC0136a f(); @NonNull public abstract String g(); @@ -130,7 +130,7 @@ public abstract class v { /* compiled from: CrashlyticsReport */ @AutoValue /* renamed from: c.i.c.m.d.m.v$d$d reason: collision with other inner class name */ - public static abstract class AbstractC0138d { + public static abstract class AbstractC0137d { /* compiled from: CrashlyticsReport */ @AutoValue @@ -140,7 +140,7 @@ public abstract class v { /* compiled from: CrashlyticsReport */ @AutoValue.Builder /* renamed from: c.i.c.m.d.m.v$d$d$a$a reason: collision with other inner class name */ - public static abstract class AbstractC0139a { + public static abstract class AbstractC0138a { } /* compiled from: CrashlyticsReport */ @@ -151,7 +151,7 @@ public abstract class v { /* compiled from: CrashlyticsReport */ @AutoValue /* renamed from: c.i.c.m.d.m.v$d$d$a$b$a reason: collision with other inner class name */ - public static abstract class AbstractC0140a { + public static abstract class AbstractC0139a { @NonNull public abstract long a(); @@ -167,12 +167,12 @@ public abstract class v { /* compiled from: CrashlyticsReport */ @AutoValue /* renamed from: c.i.c.m.d.m.v$d$d$a$b$b reason: collision with other inner class name */ - public static abstract class AbstractC0141b { + public static abstract class AbstractC0140b { @Nullable - public abstract AbstractC0141b a(); + public abstract AbstractC0140b a(); @NonNull - public abstract w b(); + public abstract w b(); public abstract int c(); @@ -200,17 +200,17 @@ public abstract class v { /* compiled from: CrashlyticsReport */ @AutoValue /* renamed from: c.i.c.m.d.m.v$d$d$a$b$d reason: collision with other inner class name */ - public static abstract class AbstractC0142d { + public static abstract class AbstractC0141d { /* compiled from: CrashlyticsReport */ @AutoValue /* renamed from: c.i.c.m.d.m.v$d$d$a$b$d$a reason: collision with other inner class name */ - public static abstract class AbstractC0143a { + public static abstract class AbstractC0142a { /* compiled from: CrashlyticsReport */ @AutoValue.Builder /* renamed from: c.i.c.m.d.m.v$d$d$a$b$d$a$a reason: collision with other inner class name */ - public static abstract class AbstractC0144a { + public static abstract class AbstractC0143a { } @Nullable @@ -227,7 +227,7 @@ public abstract class v { } @NonNull - public abstract w a(); + public abstract w a(); public abstract int b(); @@ -236,16 +236,16 @@ public abstract class v { } @NonNull - public abstract w a(); + public abstract w a(); @NonNull - public abstract AbstractC0141b b(); + public abstract AbstractC0140b b(); @NonNull public abstract c c(); @NonNull - public abstract w d(); + public abstract w d(); } @Nullable @@ -339,7 +339,7 @@ public abstract class v { public abstract Long c(); @Nullable - public abstract w d(); + public abstract w d(); @NonNull public abstract String e(); @@ -402,7 +402,7 @@ public abstract class v { bVar.g = new u(str, null); bVar.a(); } - ((b.C0136b) i).g = l.a(); + ((b.C0135b) i).g = l.a(); } return i.a(); } diff --git a/app/src/main/java/c/i/c/m/d/m/x/b.java b/app/src/main/java/c/i/c/m/d/m/x/b.java index 42b0e009bd..54dd456173 100644 --- a/app/src/main/java/c/i/c/m/d/m/x/b.java +++ b/app/src/main/java/c/i/c/m/d/m/x/b.java @@ -32,11 +32,11 @@ public final /* synthetic */ class b implements h.a { jsonReader.endObject(); String str2 = str == null ? " filename" : ""; if (bArr == null) { - str2 = c.d.b.a.a.u(str2, " contents"); + str2 = c.d.b.a.a.v(str2, " contents"); } if (str2.isEmpty()) { return new e(str, bArr, null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str2)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str2)); } } diff --git a/app/src/main/java/c/i/c/m/d/m/x/c.java b/app/src/main/java/c/i/c/m/d/m/x/c.java index dc86f5835b..85605df432 100644 --- a/app/src/main/java/c/i/c/m/d/m/x/c.java +++ b/app/src/main/java/c/i/c/m/d/m/x/c.java @@ -30,11 +30,11 @@ public final /* synthetic */ class c implements h.a { jsonReader.endObject(); String str3 = str == null ? " key" : ""; if (str2 == null) { - str3 = c.d.b.a.a.u(str3, " value"); + str3 = c.d.b.a.a.v(str3, " value"); } if (str3.isEmpty()) { return new c.i.c.m.d.m.c(str, str2, null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str3)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str3)); } } diff --git a/app/src/main/java/c/i/c/m/d/m/x/d.java b/app/src/main/java/c/i/c/m/d/m/x/d.java index d52f1384ac..9b0d71a0e4 100644 --- a/app/src/main/java/c/i/c/m/d/m/x/d.java +++ b/app/src/main/java/c/i/c/m/d/m/x/d.java @@ -62,14 +62,14 @@ public final /* synthetic */ class d implements h.a { jsonReader.endObject(); String str2 = str == null ? " name" : ""; if (num == null) { - str2 = c.d.b.a.a.u(str2, " importance"); + str2 = c.d.b.a.a.v(str2, " importance"); } if (wVar == null) { - str2 = c.d.b.a.a.u(str2, " frames"); + str2 = c.d.b.a.a.v(str2, " frames"); } if (str2.isEmpty()) { return new p(str, num.intValue(), wVar, null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str2)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str2)); } } diff --git a/app/src/main/java/c/i/c/m/d/m/x/e.java b/app/src/main/java/c/i/c/m/d/m/x/e.java index 99361d4379..5482d88f3b 100644 --- a/app/src/main/java/c/i/c/m/d/m/x/e.java +++ b/app/src/main/java/c/i/c/m/d/m/x/e.java @@ -73,14 +73,14 @@ public final /* synthetic */ class e implements h.a { jsonReader.endObject(); String str3 = l == null ? " baseAddress" : ""; if (l2 == null) { - str3 = c.d.b.a.a.u(str3, " size"); + str3 = c.d.b.a.a.v(str3, " size"); } if (str == null) { - str3 = c.d.b.a.a.u(str3, " name"); + str3 = c.d.b.a.a.v(str3, " name"); } if (str3.isEmpty()) { return new m(l.longValue(), l2.longValue(), str, str2, null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str3)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str3)); } } diff --git a/app/src/main/java/c/i/c/m/d/m/x/h.java b/app/src/main/java/c/i/c/m/d/m/x/h.java index 9201b19782..f37eed9d1f 100644 --- a/app/src/main/java/c/i/c/m/d/m/x/h.java +++ b/app/src/main/java/c/i/c/m/d/m/x/h.java @@ -67,7 +67,7 @@ public class h { /* JADX WARNING: Removed duplicated region for block: B:261:0x0209 A[SYNTHETIC] */ /* JADX WARNING: Removed duplicated region for block: B:267:0x01e9 A[SYNTHETIC] */ @NonNull - public static v.d.AbstractC0138d b(@NonNull JsonReader jsonReader) throws IOException { + public static v.d.AbstractC0137d b(@NonNull JsonReader jsonReader) throws IOException { char c2; char c3; char c4; @@ -78,7 +78,7 @@ public class h { Integer num = 0; String str = null; k kVar = null; - v.d.AbstractC0138d.b bVar = null; + v.d.AbstractC0137d.b bVar = null; s sVar = null; while (true) { String str2 = ""; @@ -191,7 +191,7 @@ public class h { } else if (c3 != 5) { jsonReader.skipValue(); } else { - bVar2.f1426c = Boolean.valueOf(jsonReader.nextBoolean()); + bVar2.f1381c = Boolean.valueOf(jsonReader.nextBoolean()); } } jsonReader.endObject(); @@ -243,7 +243,7 @@ public class h { bool = Boolean.valueOf(jsonReader.nextBoolean()); } else if (c4 == 1) { jsonReader.beginObject(); - v.d.AbstractC0138d.a.b.AbstractC0141b bVar3 = null; + v.d.AbstractC0137d.a.b.AbstractC0140b bVar3 = null; o oVar = null; w wVar2 = null; w wVar3 = null; @@ -329,15 +329,15 @@ public class h { jsonReader.endObject(); String str5 = str3 == null ? " name" : str2; if (str4 == null) { - str5 = c.d.b.a.a.u(str5, " code"); + str5 = c.d.b.a.a.v(str5, " code"); } if (l2 == null) { - str5 = c.d.b.a.a.u(str5, " address"); + str5 = c.d.b.a.a.v(str5, " address"); } if (str5.isEmpty()) { oVar = new o(str3, str4, l2.longValue(), null); } else { - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str5)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str5)); } } else if (c5 == 2) { wVar2 = a(jsonReader, e.a); @@ -351,18 +351,18 @@ public class h { jsonReader.endObject(); String str6 = wVar3 == null ? " threads" : str2; if (bVar3 == null) { - str6 = c.d.b.a.a.u(str6, " exception"); + str6 = c.d.b.a.a.v(str6, " exception"); } if (oVar == null) { - str6 = c.d.b.a.a.u(str6, " signal"); + str6 = c.d.b.a.a.v(str6, " signal"); } if (wVar2 == null) { - str6 = c.d.b.a.a.u(str6, " binaries"); + str6 = c.d.b.a.a.v(str6, " binaries"); } if (str6.isEmpty()) { lVar = new l(wVar3, bVar3, oVar, wVar2, null); } else { - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str6)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str6)); } } else if (c4 == 2) { wVar = a(jsonReader, c.a); @@ -377,12 +377,12 @@ public class h { str2 = " execution"; } if (num == 0) { - str2 = c.d.b.a.a.u(str2, " uiOrientation"); + str2 = c.d.b.a.a.v(str2, " uiOrientation"); } if (str2.isEmpty()) { kVar = new k(lVar, wVar, bool, num.intValue(), null); } else { - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str2)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str2)); } } } @@ -406,7 +406,7 @@ public class h { if (str2.isEmpty()) { sVar = new s(str7, num); } else { - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str2)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str2)); } } else if (c2 == 3) { String nextString3 = jsonReader.nextString(); @@ -424,30 +424,30 @@ public class h { str2 = " timestamp"; } if (str == null) { - str2 = c.d.b.a.a.u(str2, " type"); + str2 = c.d.b.a.a.v(str2, " type"); } if (kVar == null) { - str2 = c.d.b.a.a.u(str2, " app"); + str2 = c.d.b.a.a.v(str2, " app"); } if (bVar == null) { - str2 = c.d.b.a.a.u(str2, " device"); + str2 = c.d.b.a.a.v(str2, " device"); } if (str2.isEmpty()) { return new j(l.longValue(), str, kVar, bVar, sVar, null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str2)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str2)); } } } @NonNull - public static v.d.AbstractC0138d.a.b.AbstractC0141b c(@NonNull JsonReader jsonReader) throws IOException { + public static v.d.AbstractC0137d.a.b.AbstractC0140b c(@NonNull JsonReader jsonReader) throws IOException { jsonReader.beginObject(); Integer num = null; String str = null; String str2 = null; w wVar = null; - v.d.AbstractC0138d.a.b.AbstractC0141b bVar = null; + v.d.AbstractC0137d.a.b.AbstractC0140b bVar = null; while (jsonReader.hasNext()) { String nextName = jsonReader.nextName(); nextName.hashCode(); @@ -510,19 +510,19 @@ public class h { jsonReader.endObject(); String str3 = str == null ? " type" : ""; if (wVar == null) { - str3 = c.d.b.a.a.u(str3, " frames"); + str3 = c.d.b.a.a.v(str3, " frames"); } if (num == null) { - str3 = c.d.b.a.a.u(str3, " overflowCount"); + str3 = c.d.b.a.a.v(str3, " overflowCount"); } if (str3.isEmpty()) { return new n(str, str2, wVar, bVar, num.intValue(), null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str3)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str3)); } @NonNull - public static v.d.AbstractC0138d.a.b.AbstractC0142d.AbstractC0143a d(@NonNull JsonReader jsonReader) throws IOException { + public static v.d.AbstractC0137d.a.b.AbstractC0141d.AbstractC0142a d(@NonNull JsonReader jsonReader) throws IOException { q.b bVar = new q.b(); jsonReader.beginObject(); while (jsonReader.hasNext()) { @@ -574,7 +574,7 @@ public class h { bVar.a = Long.valueOf(jsonReader.nextLong()); break; case 3: - bVar.f1424c = jsonReader.nextString(); + bVar.f1379c = jsonReader.nextString(); break; case 4: bVar.e = Integer.valueOf(jsonReader.nextInt()); @@ -599,7 +599,7 @@ public class h { String str2; char c6; Charset charset = v.a; - b.C0136b bVar = new b.C0136b(); + b.C0135b bVar = new b.C0135b(); jsonReader.beginObject(); while (jsonReader.hasNext()) { String nextName = jsonReader.nextName(); @@ -688,7 +688,7 @@ public class h { bVar.h = new c.i.c.m.d.m.d(wVar, str4, null); break; } else { - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str5)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str5)); } case 1: String nextString = jsonReader.nextString(); @@ -711,7 +711,7 @@ public class h { bVar.d = nextString4; break; case 5: - bVar.f1409c = Integer.valueOf(jsonReader.nextInt()); + bVar.f1364c = Integer.valueOf(jsonReader.nextInt()); break; case 6: String nextString5 = jsonReader.nextString(); @@ -810,7 +810,7 @@ public class h { switch (c3) { case 0: str = str3; - bVar2.f1411c = Long.valueOf(jsonReader.nextLong()); + bVar2.f1366c = Long.valueOf(jsonReader.nextLong()); break; case 1: str = str3; @@ -914,7 +914,7 @@ public class h { bVar3.e = Long.valueOf(jsonReader.nextLong()); break; case 5: - bVar3.f1414c = Integer.valueOf(jsonReader.nextInt()); + bVar3.f1369c = Integer.valueOf(jsonReader.nextInt()); break; case 6: String nextString7 = jsonReader.nextString(); @@ -1003,19 +1003,19 @@ public class h { jsonReader.endObject(); String str8 = num == null ? " platform" : str; if (str6 == null) { - str8 = c.d.b.a.a.u(str8, " version"); + str8 = c.d.b.a.a.v(str8, " version"); } if (str7 == null) { - str8 = c.d.b.a.a.u(str8, " buildVersion"); + str8 = c.d.b.a.a.v(str8, " buildVersion"); } if (bool == null) { - str8 = c.d.b.a.a.u(str8, " jailbroken"); + str8 = c.d.b.a.a.v(str8, " jailbroken"); } if (str8.isEmpty()) { bVar2.h = new t(num.intValue(), str6, str7, bool.booleanValue(), null); break; } else { - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str8)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str8)); } case 6: jsonReader.beginObject(); @@ -1110,13 +1110,13 @@ public class h { jsonReader.endObject(); String str15 = str9 == null ? " identifier" : str; if (str10 == null) { - str15 = c.d.b.a.a.u(str15, " version"); + str15 = c.d.b.a.a.v(str15, " version"); } if (str15.isEmpty()) { bVar2.f = new g(str9, str10, str11, null, str12, str13, str14, null); break; } else { - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str15)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str15)); } case 7: jsonReader.beginObject(); @@ -1138,7 +1138,7 @@ public class h { str = str3; break; } else { - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str17)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str17)); } case '\b': String nextString13 = jsonReader.nextString(); diff --git a/app/src/main/java/c/i/c/m/d/n/a.java b/app/src/main/java/c/i/c/m/d/n/a.java index 88d7224036..db4da475ca 100644 --- a/app/src/main/java/c/i/c/m/d/n/a.java +++ b/app/src/main/java/c/i/c/m/d/n/a.java @@ -1,13 +1,13 @@ package c.i.c.m.d.n; import c.c.a.y.b; -import c0.z.d.m; import com.discord.models.domain.ModelAuditLogEntry; -import e0.d; -import e0.e0.c; -import e0.e0.g.e; -import e0.w; -import e0.x; +import d0.z.d.m; +import f0.d; +import f0.e0.c; +import f0.e0.g.e; +import f0.w; +import f0.x; import java.io.File; import java.io.IOException; import java.util.HashMap; @@ -26,7 +26,7 @@ public class a { public final int b; /* renamed from: c reason: collision with root package name */ - public final String f1428c; + public final String f1383c; public final Map d; public final Map e; public MultipartBody.a f = null; @@ -35,14 +35,14 @@ public class a { x.a f = new x().f(); TimeUnit timeUnit = TimeUnit.MILLISECONDS; m.checkParameterIsNotNull(timeUnit, "unit"); - f.f3030w = c.b("timeout", 10000, timeUnit); + f.w = c.b("timeout", 10000, timeUnit); a = new x(f); } /* JADX WARN: Incorrect types in method signature: (Ljava/lang/Object;Ljava/lang/String;Ljava/util/Map;)V */ public a(int i, String str, Map map) { this.b = i; - this.f1428c = str; + this.f1383c = str; this.d = map; this.e = new HashMap(); } @@ -58,7 +58,7 @@ public class a { } else { aVar.b("Cache-Control", dVar2); } - String str = this.f1428c; + String str = this.f1383c; m.checkParameterIsNotNull(str, "$this$toHttpUrlOrNull"); String str2 = null; try { @@ -105,7 +105,7 @@ public class a { } public a c(String str, String str2, String str3, File file) { - MediaType.a aVar = MediaType.f3125c; + MediaType.a aVar = MediaType.f2962c; RequestBody create = RequestBody.create(MediaType.a.b(str3), file); if (this.f == null) { MultipartBody.a aVar2 = new MultipartBody.a(); diff --git a/app/src/main/java/c/i/c/m/d/n/c.java b/app/src/main/java/c/i/c/m/d/n/c.java index 2fc650296a..aff3993cd6 100644 --- a/app/src/main/java/c/i/c/m/d/n/c.java +++ b/app/src/main/java/c/i/c/m/d/n/c.java @@ -7,11 +7,11 @@ public class c { public String b; /* renamed from: c reason: collision with root package name */ - public Headers f1429c; + public Headers f1384c; public c(int i, String str, Headers headers) { this.a = i; this.b = str; - this.f1429c = headers; + this.f1384c = headers; } } diff --git a/app/src/main/java/c/i/c/m/d/o/g.java b/app/src/main/java/c/i/c/m/d/o/g.java index ceea7e502c..3bb888ee95 100644 --- a/app/src/main/java/c/i/c/m/d/o/g.java +++ b/app/src/main/java/c/i/c/m/d/o/g.java @@ -27,7 +27,7 @@ public class g { public static final int b = 15; /* renamed from: c reason: collision with root package name */ - public static final h f1430c = new h(); + public static final h f1385c = new h(); public static final Comparator d = e.i; public static final FilenameFilter e = f.a; @NonNull diff --git a/app/src/main/java/c/i/c/m/d/p/b.java b/app/src/main/java/c/i/c/m/d/p/b.java index eaba6f145c..bb4330b236 100644 --- a/app/src/main/java/c/i/c/m/d/p/b.java +++ b/app/src/main/java/c/i/c/m/d/p/b.java @@ -21,12 +21,12 @@ public class b extends FileOutputStream { } public b(File file, String str) throws FileNotFoundException { - super(new File(file, c.d.b.a.a.u(str, ".cls_temp"))); + super(new File(file, c.d.b.a.a.v(str, ".cls_temp"))); StringBuilder sb = new StringBuilder(); sb.append(file); - String G = c.d.b.a.a.G(sb, File.separator, str); - this.j = G; - this.k = new File(c.d.b.a.a.u(G, ".cls_temp")); + String H = c.d.b.a.a.H(sb, File.separator, str); + this.j = H; + this.k = new File(c.d.b.a.a.v(H, ".cls_temp")); } public void a() throws IOException { diff --git a/app/src/main/java/c/i/c/m/d/p/c.java b/app/src/main/java/c/i/c/m/d/p/c.java index 4cff0c86cf..8fe144aae2 100644 --- a/app/src/main/java/c/i/c/m/d/p/c.java +++ b/app/src/main/java/c/i/c/m/d/p/c.java @@ -85,13 +85,13 @@ public final class c implements Flushable { } public void k(int i, boolean z2) throws IOException { - p((i << 3) | 0); + o((i << 3) | 0); n(z2 ? 1 : 0); } public void l(int i, a aVar) throws IOException { - p((i << 3) | 2); - p(aVar.a.length); + o((i << 3) | 2); + o(aVar.a.length); byte[] bArr = aVar.a; int length = bArr.length; int i2 = this.j; @@ -131,9 +131,9 @@ public final class c implements Flushable { } public void m(int i, int i2) throws IOException { - p((i << 3) | 0); + o((i << 3) | 0); if (i2 >= 0) { - p(i2); + o(i2); } else { q((long) i2); } @@ -150,7 +150,7 @@ public final class c implements Flushable { bArr[i2] = b; } - public void p(int i) throws IOException { + public void o(int i) throws IOException { while ((i & -128) != 0) { n((i & 127) | 128); i >>>= 7; @@ -167,16 +167,16 @@ public final class c implements Flushable { } public void r(int i, int i2) throws IOException { - p((i << 3) | i2); + o((i << 3) | i2); } public void s(int i, int i2) throws IOException { - p((i << 3) | 0); - p(i2); + o((i << 3) | 0); + o(i2); } public void t(int i, long j) throws IOException { - p((i << 3) | 0); + o((i << 3) | 0); q(j); } } diff --git a/app/src/main/java/c/i/c/m/d/p/d.java b/app/src/main/java/c/i/c/m/d/p/d.java index d2fbd072c3..c442033fd3 100644 --- a/app/src/main/java/c/i/c/m/d/p/d.java +++ b/app/src/main/java/c/i/c/m/d/p/d.java @@ -29,7 +29,7 @@ public class d { if (str != null) { b2 += c.b(3, a.a(str)); } - for (StackTraceElement stackTraceElement : eVar.f1440c) { + for (StackTraceElement stackTraceElement : eVar.f1395c) { int h = h(stackTraceElement, true); b2 += c.d(h) + c.e(4) + h; } @@ -134,8 +134,8 @@ public class d { } public static void k(c cVar, int i, StackTraceElement stackTraceElement, boolean z2) throws Exception { - cVar.p((i << 3) | 2); - cVar.p(h(stackTraceElement, z2)); + cVar.o((i << 3) | 2); + cVar.o(h(stackTraceElement, z2)); int i2 = 0; if (stackTraceElement.isNativeMethod()) { cVar.t(1, (long) Math.max(stackTraceElement.getLineNumber(), 0)); @@ -156,15 +156,15 @@ public class d { } public static void l(c cVar, e eVar, int i, int i2, int i3) throws Exception { - cVar.p((i3 << 3) | 2); - cVar.p(c(eVar, 1, i2)); + cVar.o((i3 << 3) | 2); + cVar.o(c(eVar, 1, i2)); cVar.l(1, a.a(eVar.b)); String str = eVar.a; if (str != null) { cVar.l(3, a.a(str)); } int i4 = 0; - for (StackTraceElement stackTraceElement : eVar.f1440c) { + for (StackTraceElement stackTraceElement : eVar.f1395c) { k(cVar, 4, stackTraceElement, true); } e eVar2 = eVar.d; @@ -184,7 +184,7 @@ public class d { public static void m(c cVar, Thread thread, StackTraceElement[] stackTraceElementArr, int i, boolean z2) throws Exception { cVar.r(1, 2); - cVar.p(i(thread, stackTraceElementArr, i, z2)); + cVar.o(i(thread, stackTraceElementArr, i, z2)); cVar.l(1, a.a(thread.getName())); cVar.s(2, i); for (StackTraceElement stackTraceElement : stackTraceElementArr) { diff --git a/app/src/main/java/c/i/c/m/d/q/b.java b/app/src/main/java/c/i/c/m/d/q/b.java index f422aafe84..79140db8ac 100644 --- a/app/src/main/java/c/i/c/m/d/q/b.java +++ b/app/src/main/java/c/i/c/m/d/q/b.java @@ -13,7 +13,7 @@ public class b { @Nullable /* renamed from: c reason: collision with root package name */ - public final String f1431c; + public final String f1386c; public final String d; public final int e; public final a f; @@ -26,7 +26,7 @@ public class b { /* compiled from: ReportUploader */ /* renamed from: c.i.c.m.d.q.b$b reason: collision with other inner class name */ - public interface AbstractC0145b { + public interface AbstractC0144b { } /* compiled from: ReportUploader */ @@ -59,10 +59,10 @@ public class b { public final void b(List list, boolean z2) { c.i.c.m.d.b bVar = c.i.c.m.d.b.a; - StringBuilder O = c.d.b.a.a.O("Starting report processing in "); - O.append(this.k); - O.append(" second(s)..."); - bVar.b(O.toString()); + StringBuilder R = c.d.b.a.a.R("Starting report processing in "); + R.append(this.k); + R.append(" second(s)..."); + bVar.b(R.toString()); float f = this.k; if (f > 0.0f) { try { @@ -76,10 +76,10 @@ public class b { int i = 0; while (list.size() > 0 && !x.this.p()) { c.i.c.m.d.b bVar2 = c.i.c.m.d.b.a; - StringBuilder O2 = c.d.b.a.a.O("Attempting to send "); - O2.append(list.size()); - O2.append(" report(s)"); - bVar2.b(O2.toString()); + StringBuilder R2 = c.d.b.a.a.R("Attempting to send "); + R2.append(list.size()); + R2.append(" report(s)"); + bVar2.b(R2.toString()); ArrayList arrayList = new ArrayList(); for (c.i.c.m.d.q.c.c cVar : list) { if (!b.this.a(cVar, z2)) { @@ -109,7 +109,7 @@ public class b { public b(@Nullable String str, String str2, int i, a aVar, c.i.c.m.d.q.d.b bVar, a aVar2) { if (bVar != null) { this.b = bVar; - this.f1431c = str; + this.f1386c = str; this.d = str2; this.e = i; this.f = aVar; @@ -123,7 +123,7 @@ public class b { public boolean a(c.i.c.m.d.q.c.c cVar, boolean z2) { boolean z3; try { - c.i.c.m.d.q.c.a aVar = new c.i.c.m.d.q.c.a(this.f1431c, this.d, cVar); + c.i.c.m.d.q.c.a aVar = new c.i.c.m.d.q.c.a(this.f1386c, this.d, cVar); int i = this.e; if (i == 3) { c.i.c.m.d.b.a.b("Report configured to be sent via DataTransport."); diff --git a/app/src/main/java/c/i/c/m/d/q/c/a.java b/app/src/main/java/c/i/c/m/d/q/c/a.java index aee5939f5b..e94b16a67d 100644 --- a/app/src/main/java/c/i/c/m/d/q/c/a.java +++ b/app/src/main/java/c/i/c/m/d/q/c/a.java @@ -8,11 +8,11 @@ public class a { public final String b; /* renamed from: c reason: collision with root package name */ - public final c f1432c; + public final c f1387c; public a(@Nullable String str, String str2, c cVar) { this.a = str; this.b = str2; - this.f1432c = cVar; + this.f1387c = cVar; } } diff --git a/app/src/main/java/c/i/c/m/d/q/c/b.java b/app/src/main/java/c/i/c/m/d/q/c/b.java index ac43de8493..9c8d51ff44 100644 --- a/app/src/main/java/c/i/c/m/d/q/c/b.java +++ b/app/src/main/java/c/i/c/m/d/q/c/b.java @@ -46,15 +46,15 @@ public class b implements c { File[] e = e(); for (File file : e) { c.i.c.m.d.b bVar = c.i.c.m.d.b.a; - StringBuilder O = a.O("Removing native report file at "); - O.append(file.getPath()); - bVar.b(O.toString()); + StringBuilder R = a.R("Removing native report file at "); + R.append(file.getPath()); + bVar.b(R.toString()); file.delete(); } c.i.c.m.d.b bVar2 = c.i.c.m.d.b.a; - StringBuilder O2 = a.O("Removing native report directory at "); - O2.append(this.a); - bVar2.b(O2.toString()); + StringBuilder R2 = a.R("Removing native report directory at "); + R2.append(this.a); + bVar2.b(R2.toString()); this.a.delete(); } } diff --git a/app/src/main/java/c/i/c/m/d/q/c/d.java b/app/src/main/java/c/i/c/m/d/q/c/d.java index 1406007295..fa93dfb730 100644 --- a/app/src/main/java/c/i/c/m/d/q/c/d.java +++ b/app/src/main/java/c/i/c/m/d/q/c/d.java @@ -12,12 +12,12 @@ public class d implements c { public final File[] b; /* renamed from: c reason: collision with root package name */ - public final Map f1433c; + public final Map f1388c; public d(File file, Map map) { this.a = file; this.b = new File[]{file}; - this.f1433c = new HashMap(map); + this.f1388c = new HashMap(map); } @Override // c.i.c.m.d.q.c.c @@ -28,7 +28,7 @@ public class d implements c { @Override // c.i.c.m.d.q.c.c public Map b() { - return Collections.unmodifiableMap(this.f1433c); + return Collections.unmodifiableMap(this.f1388c); } @Override // c.i.c.m.d.q.c.c @@ -54,9 +54,9 @@ public class d implements c { @Override // c.i.c.m.d.q.c.c public void remove() { b bVar = b.a; - StringBuilder O = a.O("Removing report at "); - O.append(this.a.getPath()); - bVar.b(O.toString()); + StringBuilder R = a.R("Removing report at "); + R.append(this.a.getPath()); + bVar.b(R.toString()); this.a.delete(); } } diff --git a/app/src/main/java/c/i/c/m/d/q/d/a.java b/app/src/main/java/c/i/c/m/d/q/d/a.java index ffbb8de36a..22002cf02c 100644 --- a/app/src/main/java/c/i/c/m/d/q/d/a.java +++ b/app/src/main/java/c/i/c/m/d/q/d/a.java @@ -13,7 +13,7 @@ public class a implements b { @Override // c.i.c.m.d.q.d.b public boolean a(c.i.c.m.d.q.c.a aVar, boolean z2) { - int h = b.h(aVar.f1432c.d()); + int h = b.h(aVar.f1387c.d()); if (h == 0) { this.a.a(aVar, z2); return true; diff --git a/app/src/main/java/c/i/c/m/d/q/d/c.java b/app/src/main/java/c/i/c/m/d/q/d/c.java index 8d33785468..1ea780abc0 100644 --- a/app/src/main/java/c/i/c/m/d/q/d/c.java +++ b/app/src/main/java/c/i/c/m/d/q/d/c.java @@ -1,6 +1,7 @@ package c.i.c.m.d.q.d; import android.util.Log; +import c.i.a.f.e.o.f; import c.i.c.m.d.k.a; import c.i.c.m.d.n.b; import java.io.File; @@ -22,43 +23,43 @@ public class c extends a implements b { b.e.put("X-CRASHLYTICS-GOOGLE-APP-ID", aVar.b); b.e.put("X-CRASHLYTICS-API-CLIENT-TYPE", "android"); b.e.put("X-CRASHLYTICS-API-CLIENT-VERSION", this.f); - for (Map.Entry entry : aVar.f1432c.b().entrySet()) { + for (Map.Entry entry : aVar.f1387c.b().entrySet()) { b.e.put(entry.getKey(), entry.getValue()); } - c.i.c.m.d.q.c.c cVar = aVar.f1432c; + c.i.c.m.d.q.c.c cVar = aVar.f1387c; b.b("report[identifier]", cVar.a()); if (cVar.e().length == 1) { c.i.c.m.d.b bVar = c.i.c.m.d.b.a; - StringBuilder O = c.d.b.a.a.O("Adding single file "); - O.append(cVar.f()); - O.append(" to report "); - O.append(cVar.a()); - bVar.b(O.toString()); + StringBuilder R = c.d.b.a.a.R("Adding single file "); + R.append(cVar.f()); + R.append(" to report "); + R.append(cVar.a()); + bVar.b(R.toString()); b.c("report[file]", cVar.f(), "application/octet-stream", cVar.c()); } else { File[] e = cVar.e(); int i = 0; for (File file : e) { c.i.c.m.d.b bVar2 = c.i.c.m.d.b.a; - StringBuilder O2 = c.d.b.a.a.O("Adding file "); - O2.append(file.getName()); - O2.append(" to report "); - O2.append(cVar.a()); - bVar2.b(O2.toString()); + StringBuilder R2 = c.d.b.a.a.R("Adding file "); + R2.append(file.getName()); + R2.append(" to report "); + R2.append(cVar.a()); + bVar2.b(R2.toString()); b.c("report[file" + i + "]", file.getName(), "application/octet-stream", file); i++; } } c.i.c.m.d.b bVar3 = c.i.c.m.d.b.a; - StringBuilder O3 = c.d.b.a.a.O("Sending report to: "); - O3.append(this.b); - bVar3.b(O3.toString()); + StringBuilder R3 = c.d.b.a.a.R("Sending report to: "); + R3.append(this.b); + bVar3.b(R3.toString()); try { c.i.c.m.d.n.c a = b.a(); int i2 = a.a; - bVar3.b("Create report request ID: " + a.f1429c.c("X-REQUEST-ID")); + bVar3.b("Create report request ID: " + a.f1384c.c("X-REQUEST-ID")); bVar3.b("Result was: " + i2); - return c.i.a.f.e.o.c.f0(i2) == 0; + return f.H0(i2) == 0; } catch (IOException e2) { if (c.i.c.m.d.b.a.a(6)) { Log.e("FirebaseCrashlytics", "Create report HTTP request failed.", e2); diff --git a/app/src/main/java/c/i/c/m/d/q/d/d.java b/app/src/main/java/c/i/c/m/d/q/d/d.java index f51ac3df04..5ff95249e4 100644 --- a/app/src/main/java/c/i/c/m/d/q/d/d.java +++ b/app/src/main/java/c/i/c/m/d/q/d/d.java @@ -1,5 +1,6 @@ package c.i.c.m.d.q.d; +import c.i.a.f.e.o.f; import c.i.c.m.d.k.a; import c.i.c.m.d.n.b; import c.i.c.m.d.q.c.c; @@ -24,7 +25,7 @@ public class d extends a implements b { b.e.put("X-CRASHLYTICS-API-CLIENT-VERSION", this.f); b.e.put("X-CRASHLYTICS-GOOGLE-APP-ID", str); String str2 = aVar.a; - c cVar = aVar.f1432c; + c cVar = aVar.f1387c; if (str2 != null) { b.b("org_id", str2); } @@ -54,13 +55,13 @@ public class d extends a implements b { } } c.i.c.m.d.b bVar = c.i.c.m.d.b.a; - StringBuilder O = c.d.b.a.a.O("Sending report to: "); - O.append(this.b); - bVar.b(O.toString()); + StringBuilder R = c.d.b.a.a.R("Sending report to: "); + R.append(this.b); + bVar.b(R.toString()); try { int i = b.a().a; bVar.b("Result was: " + i); - return c.i.a.f.e.o.c.f0(i) == 0; + return f.H0(i) == 0; } catch (IOException e2) { throw new RuntimeException(e2); } diff --git a/app/src/main/java/c/i/c/m/d/r/c.java b/app/src/main/java/c/i/c/m/d/r/c.java index e97961d8c6..b5e11df463 100644 --- a/app/src/main/java/c/i/c/m/d/r/c.java +++ b/app/src/main/java/c/i/c/m/d/r/c.java @@ -10,7 +10,7 @@ public class c { public static final String b = a("hts/cahyiseot-agolai.o/1frlglgc/aclg", "tp:/rsltcrprsp.ogepscmv/ieo/eaybtho"); /* renamed from: c reason: collision with root package name */ - public static final String f1434c = a("AzSBpY4F0rHiHFdinTvM", "IayrSTFL9eJ69YeSUO2"); + public static final String f1389c = a("AzSBpY4F0rHiHFdinTvM", "IayrSTFL9eJ69YeSUO2"); public static final e d = b.a; public final f e; diff --git a/app/src/main/java/c/i/c/m/d/s/c.java b/app/src/main/java/c/i/c/m/d/s/c.java index 90a0d54356..20e0e1d38e 100644 --- a/app/src/main/java/c/i/c/m/d/s/c.java +++ b/app/src/main/java/c/i/c/m/d/s/c.java @@ -30,7 +30,7 @@ public class c implements d { public final g b; /* renamed from: c reason: collision with root package name */ - public final e f1435c; + public final e f1390c; public final e1 d; public final a e; public final d f; @@ -65,7 +65,7 @@ public class c implements d { cVar2.f.b("Requesting settings from " + cVar2.b); cVar2.f.b("Settings query params were: " + f); c.i.c.m.d.n.c a = c2.a(); - cVar2.f.b("Settings request ID: " + a.f1429c.c("X-REQUEST-ID")); + cVar2.f.b("Settings request ID: " + a.f1384c.c("X-REQUEST-ID")); jSONObject = cVar2.g(a); } catch (IOException e2) { if (cVar2.f.a(6)) { @@ -74,7 +74,7 @@ public class c implements d { jSONObject = null; } if (jSONObject != null) { - c.i.c.m.d.s.h.f a2 = c.this.f1435c.a(jSONObject); + c.i.c.m.d.s.h.f a2 = c.this.f1390c.a(jSONObject); a aVar = c.this.e; long j = a2.d; Objects.requireNonNull(aVar); @@ -111,7 +111,7 @@ public class c implements d { TaskCompletionSource taskCompletionSource = new TaskCompletionSource<>(); taskCompletionSource.b(a2.a); c.this.i.set(taskCompletionSource); - return c.i.a.f.e.o.c.F(null); + return c.i.a.f.e.o.f.R(null); } catch (Throwable th3) { th = th3; fileWriter2 = fileWriter; @@ -138,7 +138,7 @@ public class c implements d { taskCompletionSource.b(a2.a); c.this.i.set(taskCompletionSource); } - return c.i.a.f.e.o.c.F(null); + return c.i.a.f.e.o.f.R(null); } } @@ -148,7 +148,7 @@ public class c implements d { this.a = context; this.b = gVar; this.d = e1Var; - this.f1435c = eVar; + this.f1390c = eVar; this.e = aVar; this.f = dVar; this.g = q0Var; @@ -171,7 +171,7 @@ public class c implements d { } JSONObject a2 = this.e.a(); if (a2 != null) { - c.i.c.m.d.s.h.f a3 = this.f1435c.a(a2); + c.i.c.m.d.s.h.f a3 = this.f1390c.a(a2); if (a3 != null) { e(a2, "Loaded cached settings: "); Objects.requireNonNull(this.d); @@ -228,13 +228,13 @@ public class c implements d { } this.h.set(b); this.i.get().b(b.a); - return c.i.a.f.e.o.c.F(null); + return c.i.a.f.e.o.f.R(null); } public final void e(JSONObject jSONObject, String str) throws JSONException { c.i.c.m.d.b bVar = c.i.c.m.d.b.a; - StringBuilder O = c.d.b.a.a.O(str); - O.append(jSONObject.toString()); - bVar.b(O.toString()); + StringBuilder R = c.d.b.a.a.R(str); + R.append(jSONObject.toString()); + bVar.b(R.toString()); } } diff --git a/app/src/main/java/c/i/c/m/d/s/h/a.java b/app/src/main/java/c/i/c/m/d/s/h/a.java index 5b2d7804e6..bb4148f728 100644 --- a/app/src/main/java/c/i/c/m/d/s/h/a.java +++ b/app/src/main/java/c/i/c/m/d/s/h/a.java @@ -5,7 +5,7 @@ public class a { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1436c; + public final String f1391c; public final String d; public final String e; public final String f; @@ -16,7 +16,7 @@ public class a { public a(String str, String str2, String str3, String str4, String str5, String str6, String str7, int i, String str8, String str9) { this.a = str; this.b = str2; - this.f1436c = str3; + this.f1391c = str3; this.d = str4; this.e = str5; this.f = str6; diff --git a/app/src/main/java/c/i/c/m/d/s/h/b.java b/app/src/main/java/c/i/c/m/d/s/h/b.java index 5e40baacf3..119fe73e7b 100644 --- a/app/src/main/java/c/i/c/m/d/s/h/b.java +++ b/app/src/main/java/c/i/c/m/d/s/h/b.java @@ -5,7 +5,7 @@ public class b { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1437c; + public final String f1392c; public final String d; public final String e; public final boolean f; @@ -15,7 +15,7 @@ public class b { public b(String str, String str2, String str3, String str4, String str5, String str6, boolean z2, int i, int i2) { this.a = str; this.b = str2; - this.f1437c = str3; + this.f1392c = str3; this.d = str4; this.e = str6; this.f = z2; @@ -26,7 +26,7 @@ public class b { public b(String str, String str2, String str3, String str4, boolean z2) { this.a = str; this.b = str2; - this.f1437c = str3; + this.f1392c = str3; this.d = str4; this.e = null; this.f = z2; diff --git a/app/src/main/java/c/i/c/m/d/s/h/f.java b/app/src/main/java/c/i/c/m/d/s/h/f.java index 0038a0b6da..675f317b24 100644 --- a/app/src/main/java/c/i/c/m/d/s/h/f.java +++ b/app/src/main/java/c/i/c/m/d/s/h/f.java @@ -5,19 +5,19 @@ public class f implements e { public final d b; /* renamed from: c reason: collision with root package name */ - public final c f1438c; + public final c f1393c; public final long d; public f(long j, b bVar, d dVar, c cVar, int i, int i2) { this.d = j; this.a = bVar; this.b = dVar; - this.f1438c = cVar; + this.f1393c = cVar; } @Override // c.i.c.m.d.s.h.e public c a() { - return this.f1438c; + return this.f1393c; } @Override // c.i.c.m.d.s.h.e diff --git a/app/src/main/java/c/i/c/m/d/s/h/g.java b/app/src/main/java/c/i/c/m/d/s/h/g.java index b2512c95df..48a0eb4950 100644 --- a/app/src/main/java/c/i/c/m/d/s/h/g.java +++ b/app/src/main/java/c/i/c/m/d/s/h/g.java @@ -7,7 +7,7 @@ public class g { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1439c; + public final String f1394c; public final String d; public final w0 e; public final String f; @@ -18,7 +18,7 @@ public class g { public g(String str, String str2, String str3, String str4, w0 w0Var, String str5, String str6, String str7, int i) { this.a = str; this.b = str2; - this.f1439c = str3; + this.f1394c = str3; this.d = str4; this.e = w0Var; this.f = str5; diff --git a/app/src/main/java/c/i/c/m/d/s/i/a.java b/app/src/main/java/c/i/c/m/d/s/i/a.java index de6aba5d7b..1e1815f659 100644 --- a/app/src/main/java/c/i/c/m/d/s/i/a.java +++ b/app/src/main/java/c/i/c/m/d/s/i/a.java @@ -2,6 +2,7 @@ package c.i.c.m.d.s.i; import android.util.Log; import androidx.browser.trusted.sharing.ShareTarget; +import c.i.a.f.e.o.f; import c.i.c.m.d.k.h; import c.i.c.m.d.n.b; import c.i.c.m.d.n.c; @@ -23,7 +24,7 @@ public abstract class a extends c.i.c.m.d.k.a { b.e.put("X-CRASHLYTICS-API-CLIENT-TYPE", "android"); b.e.put("X-CRASHLYTICS-API-CLIENT-VERSION", this.f); b.b("org_id", aVar.a); - b.b("app[identifier]", aVar.f1436c); + b.b("app[identifier]", aVar.f1391c); b.b("app[name]", aVar.g); b.b("app[display_version]", aVar.d); b.b("app[build_version]", aVar.e); @@ -34,19 +35,19 @@ public abstract class a extends c.i.c.m.d.k.a { b.b("app[instance_identifier]", aVar.f); } c.i.c.m.d.b bVar = c.i.c.m.d.b.a; - StringBuilder O = c.d.b.a.a.O("Sending app info to "); - O.append(this.b); - bVar.b(O.toString()); + StringBuilder R = c.d.b.a.a.R("Sending app info to "); + R.append(this.b); + bVar.b(R.toString()); try { c a = b.a(); int i = a.a; String str = ShareTarget.METHOD_POST.equalsIgnoreCase(c.c.a.y.b.n(b.b)) ? "Create" : "Update"; - bVar.b(str + " app request ID: " + a.f1429c.c("X-REQUEST-ID")); + bVar.b(str + " app request ID: " + a.f1384c.c("X-REQUEST-ID")); StringBuilder sb = new StringBuilder(); sb.append("Result was "); sb.append(i); bVar.b(sb.toString()); - return c.i.a.f.e.o.c.f0(i) == 0; + return f.H0(i) == 0; } catch (IOException e) { if (c.i.c.m.d.b.a.a(6)) { Log.e("FirebaseCrashlytics", "HTTP request failed.", e); diff --git a/app/src/main/java/c/i/c/m/d/s/i/c.java b/app/src/main/java/c/i/c/m/d/s/i/c.java index 567e939571..1b8321af47 100644 --- a/app/src/main/java/c/i/c/m/d/s/i/c.java +++ b/app/src/main/java/c/i/c/m/d/s/i/c.java @@ -26,7 +26,7 @@ public class c extends a implements d { e(aVar, "X-CRASHLYTICS-API-CLIENT-VERSION", "17.3.0"); e(aVar, "Accept", RestAPIBuilder.CONTENT_TYPE_JSON); e(aVar, "X-CRASHLYTICS-DEVICE-MODEL", gVar.b); - e(aVar, "X-CRASHLYTICS-OS-BUILD-VERSION", gVar.f1439c); + e(aVar, "X-CRASHLYTICS-OS-BUILD-VERSION", gVar.f1394c); e(aVar, "X-CRASHLYTICS-OS-DISPLAY-VERSION", gVar.d); e(aVar, "X-CRASHLYTICS-INSTALLATION-ID", ((v0) gVar.e).b()); return aVar; @@ -60,17 +60,17 @@ public class c extends a implements d { return new JSONObject(str); } catch (Exception e) { b bVar2 = this.f; - StringBuilder O = c.d.b.a.a.O("Failed to parse settings JSON from "); - O.append(this.b); - bVar2.c(O.toString(), e); - c.d.b.a.a.j0("Settings response ", str, this.f); + StringBuilder R = c.d.b.a.a.R("Failed to parse settings JSON from "); + R.append(this.b); + bVar2.c(R.toString(), e); + c.d.b.a.a.l0("Settings response ", str, this.f); return null; } } else { b bVar3 = this.f; - StringBuilder O2 = c.d.b.a.a.O("Failed to retrieve settings from "); - O2.append(this.b); - bVar3.d(O2.toString()); + StringBuilder R2 = c.d.b.a.a.R("Failed to retrieve settings from "); + R2.append(this.b); + bVar3.d(R2.toString()); return null; } } diff --git a/app/src/main/java/c/i/c/m/d/t/e.java b/app/src/main/java/c/i/c/m/d/t/e.java index eaa4b0eb28..6f8cc0c170 100644 --- a/app/src/main/java/c/i/c/m/d/t/e.java +++ b/app/src/main/java/c/i/c/m/d/t/e.java @@ -5,13 +5,13 @@ public class e { public final String b; /* renamed from: c reason: collision with root package name */ - public final StackTraceElement[] f1440c; + public final StackTraceElement[] f1395c; public final e d; public e(Throwable th, d dVar) { this.a = th.getLocalizedMessage(); this.b = th.getClass().getName(); - this.f1440c = dVar.a(th.getStackTrace()); + this.f1395c = dVar.a(th.getStackTrace()); Throwable cause = th.getCause(); this.d = cause != null ? new e(cause, dVar) : null; } diff --git a/app/src/main/java/c/i/c/m/d/u/a.java b/app/src/main/java/c/i/c/m/d/u/a.java index 4857946385..a3937c1899 100644 --- a/app/src/main/java/c/i/c/m/d/u/a.java +++ b/app/src/main/java/c/i/c/m/d/u/a.java @@ -9,7 +9,7 @@ public class a { public boolean b = false; /* renamed from: c reason: collision with root package name */ - public String f1441c; + public String f1396c; public a(Context context) { this.a = context; @@ -22,14 +22,14 @@ public class a { int n = h.n(context, "com.google.firebase.crashlytics.unity_version", "string"); if (n != 0) { str = context.getResources().getString(n); - c.d.b.a.a.j0("Unity Editor version is: ", str, b.a); + c.d.b.a.a.l0("Unity Editor version is: ", str, b.a); } else { str = null; } - this.f1441c = str; + this.f1396c = str; this.b = true; } - String str2 = this.f1441c; + String str2 = this.f1396c; if (str2 != null) { return str2; } diff --git a/app/src/main/java/c/i/c/m/e/a.java b/app/src/main/java/c/i/c/m/e/a.java index 79b6c742e5..0fb6785566 100644 --- a/app/src/main/java/c/i/c/m/e/a.java +++ b/app/src/main/java/c/i/c/m/e/a.java @@ -19,12 +19,12 @@ public class a implements e { public final Context b; /* renamed from: c reason: collision with root package name */ - public final d f1442c; + public final d f1397c; public final f d; public a(Context context, d dVar, f fVar) { this.b = context; - this.f1442c = dVar; + this.f1397c = dVar; this.d = fVar; } @@ -47,18 +47,18 @@ public class a implements e { File a2 = this.d.a(str); File file = new File(a2, "pending"); b bVar = b.a; - StringBuilder O = c.d.b.a.a.O("Minidump directory: "); - O.append(file.getAbsolutePath()); - bVar.b(O.toString()); + StringBuilder R = c.d.b.a.a.R("Minidump directory: "); + R.append(file.getAbsolutePath()); + bVar.b(R.toString()); File b = b(file, ".dmp"); - StringBuilder O2 = c.d.b.a.a.O("Minidump "); - O2.append((b == null || !b.exists()) ? "does not exist" : "exists"); - bVar.b(O2.toString()); + StringBuilder R2 = c.d.b.a.a.R("Minidump "); + R2.append((b == null || !b.exists()) ? "does not exist" : "exists"); + bVar.b(R2.toString()); g.b bVar2 = new g.b(); if (a2 != null && a2.exists() && file.exists()) { bVar2.a = b(file, ".dmp"); bVar2.b = b(a2, ".device_info"); - bVar2.f1444c = new File(a2, "session.json"); + bVar2.f1399c = new File(a2, "session.json"); bVar2.d = new File(a2, "app.json"); bVar2.e = new File(a2, "device.json"); bVar2.f = new File(a2, "os.json"); diff --git a/app/src/main/java/c/i/c/m/e/c.java b/app/src/main/java/c/i/c/m/e/c.java index 11f32db416..fd357fb44d 100644 --- a/app/src/main/java/c/i/c/m/e/c.java +++ b/app/src/main/java/c/i/c/m/e/c.java @@ -106,7 +106,7 @@ public class c implements a { boolean z2 = false; if (a != null) { try { - z2 = ((JniNativeApi) aVar.f1442c).a(a.getCanonicalPath(), aVar.b.getAssets()); + z2 = ((JniNativeApi) aVar.f1397c).a(a.getCanonicalPath(), aVar.b.getAssets()); } catch (IOException e) { if (b.a.a(6)) { Log.e("FirebaseCrashlytics", "Error initializing CrashlyticsNdk", e); @@ -114,9 +114,9 @@ public class c implements a { } } b bVar = b.a; - StringBuilder O = c.d.b.a.a.O("Crashlytics NDK initialization "); - O.append(z2 ? "successful" : "FAILED"); - bVar.f(O.toString()); + StringBuilder R = c.d.b.a.a.R("Crashlytics NDK initialization "); + R.append(z2 ? "successful" : "FAILED"); + bVar.f(R.toString()); return z2; } } diff --git a/app/src/main/java/c/i/c/m/e/g.java b/app/src/main/java/c/i/c/m/e/g.java index a8e7b24378..40c0832db3 100644 --- a/app/src/main/java/c/i/c/m/e/g.java +++ b/app/src/main/java/c/i/c/m/e/g.java @@ -7,7 +7,7 @@ public final class g { public final File b; /* renamed from: c reason: collision with root package name */ - public final File f1443c; + public final File f1398c; public final File d; public final File e; public final File f; @@ -18,7 +18,7 @@ public final class g { public File b; /* renamed from: c reason: collision with root package name */ - public File f1444c; + public File f1399c; public File d; public File e; public File f; @@ -27,7 +27,7 @@ public final class g { public g(b bVar, a aVar) { this.a = bVar.a; this.b = bVar.b; - this.f1443c = bVar.f1444c; + this.f1398c = bVar.f1399c; this.d = bVar.d; this.e = bVar.e; this.f = bVar.f; diff --git a/app/src/main/java/c/i/c/m/e/h.java b/app/src/main/java/c/i/c/m/e/h.java index 277c5fe4f9..934724d841 100644 --- a/app/src/main/java/c/i/c/m/e/h.java +++ b/app/src/main/java/c/i/c/m/e/h.java @@ -32,7 +32,7 @@ public class h implements d { @Override // c.i.c.m.d.d public File e() { - return this.a.f1443c; + return this.a.f1398c; } @Override // c.i.c.m.d.d diff --git a/app/src/main/java/c/i/c/o/b/a.java b/app/src/main/java/c/i/c/o/b/a.java index f4fe01a2d2..6eca001e90 100644 --- a/app/src/main/java/c/i/c/o/b/a.java +++ b/app/src/main/java/c/i/c/o/b/a.java @@ -11,40 +11,40 @@ public final class a implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final DynamicLinkData createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; String str2 = null; Bundle bundle = null; Uri uri = null; long j = 0; int i = 0; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); switch (65535 & readInt) { case 1: - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); break; case 2: - str2 = d.T(parcel, readInt); + str2 = d.Q(parcel, readInt); break; case 3: - i = d.G1(parcel, readInt); + i = d.E1(parcel, readInt); break; case 4: - j = d.H1(parcel, readInt); + j = d.F1(parcel, readInt); break; case 5: - bundle = d.P(parcel, readInt); + bundle = d.M(parcel, readInt); break; case 6: - uri = (Uri) d.S(parcel, readInt, Uri.CREATOR); + uri = (Uri) d.P(parcel, readInt, Uri.CREATOR); break; default: - d.c2(parcel, readInt); + d.b2(parcel, readInt); break; } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new DynamicLinkData(str, str2, i, j, bundle, uri); } diff --git a/app/src/main/java/c/i/c/o/b/b.java b/app/src/main/java/c/i/c/o/b/b.java index 45eaa85743..ad0d7d63b1 100644 --- a/app/src/main/java/c/i/c/o/b/b.java +++ b/app/src/main/java/c/i/c/o/b/b.java @@ -6,10 +6,10 @@ import c.i.a.f.e.h.a; import c.i.a.f.e.h.c; import c.i.a.f.e.k.c; /* compiled from: com.google.firebase:firebase-dynamic-links@@19.1.1 */ -public final class b extends a.AbstractC0106a { +public final class b extends a.AbstractC0105a { /* Return type fixed from 'c.i.a.f.e.h.a$f' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [android.content.Context, android.os.Looper, c.i.a.f.e.k.c, java.lang.Object, c.i.a.f.e.h.c$a, c.i.a.f.e.h.c$b] */ - @Override // c.i.a.f.e.h.a.AbstractC0106a + @Override // c.i.a.f.e.h.a.AbstractC0105a public final /* synthetic */ d a(Context context, Looper looper, c cVar, a.d.c cVar2, c.a aVar, c.b bVar) { return new d(context, looper, cVar, aVar, bVar); } diff --git a/app/src/main/java/c/i/c/o/b/c.java b/app/src/main/java/c/i/c/o/b/c.java index e37a11f70b..213246d3c9 100644 --- a/app/src/main/java/c/i/c/o/b/c.java +++ b/app/src/main/java/c/i/c/o/b/c.java @@ -7,7 +7,7 @@ import c.i.a.f.e.h.b; /* compiled from: com.google.firebase:firebase-dynamic-links@@19.1.1 */ public final class c extends b { public static final a.g j; - public static final a.AbstractC0106a k; + public static final a.AbstractC0105a k; public static final a l; static { diff --git a/app/src/main/java/c/i/c/o/b/e.java b/app/src/main/java/c/i/c/o/b/e.java index 0383190ae8..e069fc5b43 100644 --- a/app/src/main/java/c/i/c/o/b/e.java +++ b/app/src/main/java/c/i/c/o/b/e.java @@ -8,6 +8,7 @@ import androidx.annotation.NonNull; import androidx.annotation.Nullable; import c.i.a.f.e.h.a; import c.i.a.f.e.h.b; +import c.i.a.f.e.o.f; import c.i.c.c; import c.i.c.o.a; import com.google.android.gms.tasks.Task; @@ -50,6 +51,6 @@ public final class e extends a { if (dynamicLinkData2 != null) { pendingDynamicLinkData = new PendingDynamicLinkData(dynamicLinkData2); } - return pendingDynamicLinkData != null ? c.i.a.f.e.o.c.F(pendingDynamicLinkData) : c2; + return pendingDynamicLinkData != null ? f.R(pendingDynamicLinkData) : c2; } } diff --git a/app/src/main/java/c/i/c/o/b/i.java b/app/src/main/java/c/i/c/o/b/i.java index afb8ed884c..33a0867624 100644 --- a/app/src/main/java/c/i/c/o/b/i.java +++ b/app/src/main/java/c/i/c/o/b/i.java @@ -10,12 +10,12 @@ import com.google.firebase.dynamiclinks.PendingDynamicLinkData; public final class i extends p { /* renamed from: c reason: collision with root package name */ - public final String f1445c; + public final String f1400c; @Nullable public final a d; public i(a aVar, String str) { - this.f1445c = str; + this.f1400c = str; this.d = aVar; } @@ -24,7 +24,7 @@ public final class i extends p { public final /* synthetic */ void c(d dVar, TaskCompletionSource taskCompletionSource) throws RemoteException { d dVar2 = dVar; try { - dVar2.w().a0(new g(this.d, taskCompletionSource), this.f1445c); + dVar2.w().b0(new g(this.d, taskCompletionSource), this.f1400c); } catch (RemoteException unused) { } } diff --git a/app/src/main/java/c/i/c/o/b/j.java b/app/src/main/java/c/i/c/o/b/j.java index b323944f9d..b4008448a3 100644 --- a/app/src/main/java/c/i/c/o/b/j.java +++ b/app/src/main/java/c/i/c/o/b/j.java @@ -4,5 +4,5 @@ import android.os.IInterface; import android.os.RemoteException; /* compiled from: com.google.firebase:firebase-dynamic-links@@19.1.1 */ public interface j extends IInterface { - void a0(h hVar, String str) throws RemoteException; + void b0(h hVar, String str) throws RemoteException; } diff --git a/app/src/main/java/c/i/c/o/b/l.java b/app/src/main/java/c/i/c/o/b/l.java index 3dc5601e2b..75a9660cc7 100644 --- a/app/src/main/java/c/i/c/o/b/l.java +++ b/app/src/main/java/c/i/c/o/b/l.java @@ -15,8 +15,13 @@ public final class l implements j, IInterface { this.a = iBinder; } + @Override // android.os.IInterface + public IBinder asBinder() { + return this.a; + } + @Override // c.i.c.o.b.j - public final void a0(h hVar, String str) throws RemoteException { + public final void b0(h hVar, String str) throws RemoteException { Parcel obtain = Parcel.obtain(); obtain.writeInterfaceToken(this.b); int i = b.a; @@ -31,9 +36,4 @@ public final class l implements j, IInterface { obtain2.recycle(); } } - - @Override // android.os.IInterface - public IBinder asBinder() { - return this.a; - } } diff --git a/app/src/main/java/c/i/c/o/b/m.java b/app/src/main/java/c/i/c/o/b/m.java index b569f46f26..71f0383c6c 100644 --- a/app/src/main/java/c/i/c/o/b/m.java +++ b/app/src/main/java/c/i/c/o/b/m.java @@ -12,24 +12,24 @@ public final class m implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzo createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); Uri uri = null; Uri uri2 = null; ArrayList arrayList = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); int i = 65535 & readInt; if (i == 1) { - uri = (Uri) d.S(parcel, readInt, Uri.CREATOR); + uri = (Uri) d.P(parcel, readInt, Uri.CREATOR); } else if (i == 2) { - uri2 = (Uri) d.S(parcel, readInt, Uri.CREATOR); + uri2 = (Uri) d.P(parcel, readInt, Uri.CREATOR); } else if (i != 3) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - arrayList = d.X(parcel, readInt, zzr.CREATOR); + arrayList = d.U(parcel, readInt, zzr.CREATOR); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzo(uri, uri2, arrayList); } diff --git a/app/src/main/java/c/i/c/o/b/n.java b/app/src/main/java/c/i/c/o/b/n.java index e8812ecb95..444a05e710 100644 --- a/app/src/main/java/c/i/c/o/b/n.java +++ b/app/src/main/java/c/i/c/o/b/n.java @@ -9,17 +9,17 @@ public final class n implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public final zzr createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); String str = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); if ((65535 & readInt) != 2) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - str = d.T(parcel, readInt); + str = d.Q(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new zzr(str); } diff --git a/app/src/main/java/c/i/c/p/h/a.java b/app/src/main/java/c/i/c/p/h/a.java index ae03fba12b..4ddcffde80 100644 --- a/app/src/main/java/c/i/c/p/h/a.java +++ b/app/src/main/java/c/i/c/p/h/a.java @@ -12,8 +12,8 @@ public final /* synthetic */ class a implements c { @Override // c.i.c.p.b public void a(Object obj, d dVar) { e.a aVar = e.a; - StringBuilder O = c.d.b.a.a.O("Couldn't find encoder for type "); - O.append(obj.getClass().getCanonicalName()); - throw new EncodingException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Couldn't find encoder for type "); + R.append(obj.getClass().getCanonicalName()); + throw new EncodingException(R.toString()); } } diff --git a/app/src/main/java/c/i/c/p/h/d.java b/app/src/main/java/c/i/c/p/h/d.java index 32a5eeb354..eeca40919c 100644 --- a/app/src/main/java/c/i/c/p/h/d.java +++ b/app/src/main/java/c/i/c/p/h/d.java @@ -24,7 +24,7 @@ public class d implements a { public void b(@NonNull Object obj, @NonNull Writer writer) throws IOException { e eVar = this.a; - f fVar = new f(writer, eVar.b, eVar.f1446c, eVar.d, eVar.e); + f fVar = new f(writer, eVar.b, eVar.f1401c, eVar.d, eVar.e); fVar.g(obj, false); fVar.i(); fVar.b.flush(); diff --git a/app/src/main/java/c/i/c/p/h/e.java b/app/src/main/java/c/i/c/p/h/e.java index eee74f7da5..43b1aa2294 100644 --- a/app/src/main/java/c/i/c/p/h/e.java +++ b/app/src/main/java/c/i/c/p/h/e.java @@ -18,7 +18,7 @@ public final class e implements b { public final Map, c> b; /* renamed from: c reason: collision with root package name */ - public final Map, c.i.c.p.e> f1446c; + public final Map, c.i.c.p.e> f1401c; public c d = a.a; public boolean e = false; @@ -46,7 +46,7 @@ public final class e implements b { HashMap hashMap = new HashMap(); this.b = hashMap; HashMap hashMap2 = new HashMap(); - this.f1446c = hashMap2; + this.f1401c = hashMap2; hashMap2.put(String.class, b.a); hashMap.remove(String.class); hashMap2.put(Boolean.class, c.a); diff --git a/app/src/main/java/c/i/c/p/h/f.java b/app/src/main/java/c/i/c/p/h/f.java index 1190d4ae9f..be539735d6 100644 --- a/app/src/main/java/c/i/c/p/h/f.java +++ b/app/src/main/java/c/i/c/p/h/f.java @@ -19,14 +19,14 @@ public final class f implements d, c.i.c.p.f { public final JsonWriter b; /* renamed from: c reason: collision with root package name */ - public final Map, c> f1447c; + public final Map, c> f1402c; public final Map, e> d; public final c e; public final boolean f; public f(@NonNull Writer writer, @NonNull Map, c> map, @NonNull Map, e> map2, c cVar, boolean z2) { this.b = new JsonWriter(writer); - this.f1447c = map; + this.f1402c = map; this.d = map2; this.e = cVar; this.f = z2; @@ -163,7 +163,7 @@ public final class f implements d, c.i.c.p.f { this.b.endObject(); return this; } else { - c cVar = this.f1447c.get(obj.getClass()); + c cVar = this.f1402c.get(obj.getClass()); if (cVar != null) { if (!z2) { this.b.beginObject(); diff --git a/app/src/main/java/c/i/c/s/c.java b/app/src/main/java/c/i/c/s/c.java index 67c16144f7..65be356abe 100644 --- a/app/src/main/java/c/i/c/s/c.java +++ b/app/src/main/java/c/i/c/s/c.java @@ -2,6 +2,7 @@ package c.i.c.s; import android.content.Context; import android.content.Intent; +import c.i.a.f.e.o.f; import c.i.a.f.n.a; import com.google.android.gms.tasks.Task; /* compiled from: com.google.firebase:firebase-iid@@21.0.0 */ @@ -18,7 +19,7 @@ public final /* synthetic */ class c implements a { public final Object a(Task task) { Context context = this.a; Intent intent = this.b; - if (!c.i.a.f.e.o.c.R() || ((Integer) task.l()).intValue() != 402) { + if (!f.q0() || ((Integer) task.l()).intValue() != 402) { return task; } Task a = f.a(context, intent); diff --git a/app/src/main/java/c/i/c/s/f.java b/app/src/main/java/c/i/c/s/f.java index d0c1ab4abb..bb0ead1886 100644 --- a/app/src/main/java/c/i/c/s/f.java +++ b/app/src/main/java/c/i/c/s/f.java @@ -4,7 +4,6 @@ import android.content.Context; import android.content.Intent; import android.util.Base64; import android.util.Log; -import c.i.a.f.e.o.c; import c.i.a.f.n.b0; import c.i.a.f.n.c0; import c.i.a.f.n.q; @@ -22,16 +21,16 @@ public class f { public static d0 b; /* renamed from: c reason: collision with root package name */ - public final Context f1448c; + public final Context f1403c; public final Executor d; public f(Context context) { - this.f1448c = context; + this.f1403c = context; this.d = a.i; } public f(Context context, ExecutorService executorService) { - this.f1448c = context; + this.f1403c = context; this.d = executorService; } @@ -75,11 +74,11 @@ public class f { intent.putExtra("rawData", Base64.decode(stringExtra, 0)); intent.removeExtra("gcm.rawData64"); } - Context context = this.f1448c; - boolean z3 = c.R() && context.getApplicationInfo().targetSdkVersion >= 26; + Context context = this.f1403c; + boolean z3 = c.i.a.f.e.o.f.q0() && context.getApplicationInfo().targetSdkVersion >= 26; if ((intent.getFlags() & 268435456) != 0) { z2 = true; } - return (!z3 || z2) ? c.g(this.d, new b(context, intent)).j(this.d, new c(context, intent)) : a(context, intent); + return (!z3 || z2) ? c.i.a.f.e.o.f.l(this.d, new b(context, intent)).j(this.d, new c(context, intent)) : a(context, intent); } } diff --git a/app/src/main/java/c/i/c/s/i.java b/app/src/main/java/c/i/c/s/i.java index 3b9158eb20..31834e09fe 100644 --- a/app/src/main/java/c/i/c/s/i.java +++ b/app/src/main/java/c/i/c/s/i.java @@ -9,16 +9,16 @@ public final /* synthetic */ class i implements a { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1449c; + public final String f1404c; public i(FirebaseInstanceId firebaseInstanceId, String str, String str2) { this.a = firebaseInstanceId; this.b = str; - this.f1449c = str2; + this.f1404c = str2; } @Override // c.i.a.f.n.a public final Object a(Task task) { - return this.a.m(this.b, this.f1449c); + return this.a.m(this.b, this.f1404c); } } diff --git a/app/src/main/java/c/i/c/s/l.java b/app/src/main/java/c/i/c/s/l.java index d56b1a9496..f17f41e946 100644 --- a/app/src/main/java/c/i/c/s/l.java +++ b/app/src/main/java/c/i/c/s/l.java @@ -1,7 +1,6 @@ package c.i.c.s; import android.content.SharedPreferences; -import c.i.a.f.e.o.c; import c.i.a.f.n.f; import c.i.c.s.w; import com.google.android.gms.tasks.Task; @@ -12,13 +11,13 @@ public final /* synthetic */ class l implements f { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1450c; + public final String f1405c; public final String d; public l(FirebaseInstanceId firebaseInstanceId, String str, String str2, String str3) { this.a = firebaseInstanceId; this.b = str; - this.f1450c = str2; + this.f1405c = str2; this.d = str3; } @@ -26,7 +25,7 @@ public final /* synthetic */ class l implements f { public final Task a(Object obj) { FirebaseInstanceId firebaseInstanceId = this.a; String str = this.b; - String str2 = this.f1450c; + String str2 = this.f1405c; String str3 = this.d; String str4 = (String) obj; w wVar = FirebaseInstanceId.b; @@ -40,6 +39,6 @@ public final /* synthetic */ class l implements f { edit.commit(); } } - return c.F(new p(str3, str4)); + return c.i.a.f.e.o.f.R(new p(str3, str4)); } } diff --git a/app/src/main/java/c/i/c/s/m.java b/app/src/main/java/c/i/c/s/m.java index 2de2e8a2b7..90d612c5ab 100644 --- a/app/src/main/java/c/i/c/s/m.java +++ b/app/src/main/java/c/i/c/s/m.java @@ -30,10 +30,7 @@ public final /* synthetic */ class m implements a { throw new IOException(string2); } else { String valueOf = String.valueOf(bundle); - StringBuilder sb = new StringBuilder(valueOf.length() + 21); - sb.append("Unexpected response: "); - sb.append(valueOf); - Log.w("FirebaseInstanceId", sb.toString(), new Throwable()); + Log.w("FirebaseInstanceId", c.d.b.a.a.i(valueOf.length() + 21, "Unexpected response: ", valueOf), new Throwable()); throw new IOException("SERVICE_NOT_AVAILABLE"); } } else { diff --git a/app/src/main/java/c/i/c/s/n.java b/app/src/main/java/c/i/c/s/n.java index 6c1b31153d..6c5d955c76 100644 --- a/app/src/main/java/c/i/c/s/n.java +++ b/app/src/main/java/c/i/c/s/n.java @@ -8,12 +8,12 @@ import android.util.Base64; import android.util.Log; import androidx.core.app.NotificationCompat; import c.i.a.f.d.b; -import c.i.a.f.d.f; import c.i.a.f.d.r; import c.i.a.f.d.s; import c.i.a.f.d.t; import c.i.a.f.d.v; import c.i.a.f.d.z; +import c.i.a.f.e.o.f; import c.i.c.c; import c.i.c.r.d; import c.i.c.t.a; @@ -32,7 +32,7 @@ public class n { public final q b; /* renamed from: c reason: collision with root package name */ - public final b f1451c; + public final b f1406c; public final a d; public final a e; public final g f; @@ -42,7 +42,7 @@ public class n { b bVar = new b(cVar.d); this.a = cVar; this.b = qVar; - this.f1451c = bVar; + this.f1406c = bVar; this.d = aVar; this.e = aVar2; this.f = gVar; @@ -81,10 +81,10 @@ public class n { bundle.putString("app_ver", this.b.a()); q qVar2 = this.b; synchronized (qVar2) { - if (qVar2.f1452c == null) { + if (qVar2.f1407c == null) { qVar2.e(); } - str4 = qVar2.f1452c; + str4 = qVar2.f1407c; } bundle.putString("app_ver_name", str4); c cVar2 = this.a; @@ -97,7 +97,7 @@ public class n { bundle.putString("firebase-app-name-hash", str5); boolean z2 = false; try { - String a2 = ((k) c.i.a.f.e.o.c.c(this.f.a(false))).a(); + String a2 = ((k) f.g(this.f.a(false))).a(); if (!TextUtils.isEmpty(a2)) { bundle.putString("Goog-Firebase-Installations-Auth", a2); } else { @@ -113,7 +113,7 @@ public class n { bundle.putString("Firebase-Client-Log-Type", Integer.toString(a.f())); bundle.putString("Firebase-Client", hVar.getUserAgent()); } - b bVar = this.f1451c; + b bVar = this.f1406c; r rVar = bVar.e; synchronized (rVar) { if (rVar.b == 0 && (b = rVar.b("com.google.android.gms")) != null) { @@ -122,7 +122,7 @@ public class n { i2 = rVar.b; } if (i2 >= 12000000) { - f a3 = f.a(bVar.d); + c.i.a.f.d.f a3 = c.i.a.f.d.f.a(bVar.d); synchronized (a3) { i3 = a3.e; a3.e = i3 + 1; @@ -132,6 +132,6 @@ public class n { if (bVar.e.a() != 0) { z2 = true; } - return !z2 ? c.i.a.f.e.o.c.E(new IOException("MISSING_INSTANCEID_SERVICE")) : bVar.b(bundle).j(z.i, new v(bVar, bundle)); + return !z2 ? f.Q(new IOException("MISSING_INSTANCEID_SERVICE")) : bVar.b(bundle).j(z.i, new v(bVar, bundle)); } } diff --git a/app/src/main/java/c/i/c/s/q.java b/app/src/main/java/c/i/c/s/q.java index df3884ad2b..4d93507bf4 100644 --- a/app/src/main/java/c/i/c/s/q.java +++ b/app/src/main/java/c/i/c/s/q.java @@ -7,6 +7,7 @@ import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.util.Log; import c.d.b.a.a; +import c.i.a.f.e.o.f; import c.i.c.c; import java.util.List; /* compiled from: com.google.firebase:firebase-iid@@21.0.0 */ @@ -15,7 +16,7 @@ public class q { public String b; /* renamed from: c reason: collision with root package name */ - public String f1452c; + public String f1407c; public int d; public int e = 0; @@ -57,7 +58,7 @@ public class q { return this.a.getPackageManager().getPackageInfo(str, 0); } catch (PackageManager.NameNotFoundException e) { String valueOf = String.valueOf(e); - a.b0(valueOf.length() + 23, "Failed to find package ", valueOf, "FirebaseInstanceId"); + a.f0(valueOf.length() + 23, "Failed to find package ", valueOf, "FirebaseInstanceId"); return null; } } @@ -72,7 +73,7 @@ public class q { Log.e("FirebaseInstanceId", "Google Play services missing or without correct permission."); i = 0; } else { - if (!c.i.a.f.e.o.c.R()) { + if (!f.q0()) { Intent intent = new Intent("com.google.android.c2dm.intent.REGISTER"); intent.setPackage("com.google.android.gms"); List queryIntentServices = packageManager.queryIntentServices(intent, 0); @@ -86,7 +87,7 @@ public class q { List queryBroadcastReceivers = packageManager.queryBroadcastReceivers(intent2, 0); if (queryBroadcastReceivers == null || queryBroadcastReceivers.size() <= 0) { Log.w("FirebaseInstanceId", "Failed to resolve IID implementation package, falling back"); - if (c.i.a.f.e.o.c.R()) { + if (f.q0()) { this.e = 2; } else { this.e = 1; @@ -106,7 +107,7 @@ public class q { PackageInfo c2 = c(this.a.getPackageName()); if (c2 != null) { this.b = Integer.toString(c2.versionCode); - this.f1452c = c2.versionName; + this.f1407c = c2.versionName; } } } diff --git a/app/src/main/java/c/i/c/s/v.java b/app/src/main/java/c/i/c/s/v.java index aa94f91440..59b7802a9d 100644 --- a/app/src/main/java/c/i/c/s/v.java +++ b/app/src/main/java/c/i/c/s/v.java @@ -13,7 +13,7 @@ public class v { public String b = null; /* renamed from: c reason: collision with root package name */ - public Boolean f1453c = null; + public Boolean f1408c = null; public Boolean d = null; public final Queue e = new ArrayDeque(); @@ -32,19 +32,19 @@ public class v { if (this.d == null) { this.d = Boolean.valueOf(context.checkCallingOrSelfPermission("android.permission.ACCESS_NETWORK_STATE") == 0); } - if (!this.f1453c.booleanValue() && Log.isLoggable("FirebaseInstanceId", 3)) { + if (!this.f1408c.booleanValue() && Log.isLoggable("FirebaseInstanceId", 3)) { Log.d("FirebaseInstanceId", "Missing Permission: android.permission.ACCESS_NETWORK_STATE this should normally be included by the manifest merger, but may needed to be manually added to your manifest"); } return this.d.booleanValue(); } public boolean c(Context context) { - if (this.f1453c == null) { - this.f1453c = Boolean.valueOf(context.checkCallingOrSelfPermission("android.permission.WAKE_LOCK") == 0); + if (this.f1408c == null) { + this.f1408c = Boolean.valueOf(context.checkCallingOrSelfPermission("android.permission.WAKE_LOCK") == 0); } - if (!this.f1453c.booleanValue() && Log.isLoggable("FirebaseInstanceId", 3)) { + if (!this.f1408c.booleanValue() && Log.isLoggable("FirebaseInstanceId", 3)) { Log.d("FirebaseInstanceId", "Missing Permission: android.permission.WAKE_LOCK this should normally be included by the manifest merger, but may needed to be manually added to your manifest"); } - return this.f1453c.booleanValue(); + return this.f1408c.booleanValue(); } } diff --git a/app/src/main/java/c/i/c/s/w.java b/app/src/main/java/c/i/c/s/w.java index 6b49e30012..871dc2d153 100644 --- a/app/src/main/java/c/i/c/s/w.java +++ b/app/src/main/java/c/i/c/s/w.java @@ -22,7 +22,7 @@ public class w { @GuardedBy("this") /* renamed from: c reason: collision with root package name */ - public final Map f1454c = new ArrayMap(); + public final Map f1409c = new ArrayMap(); /* compiled from: com.google.firebase:firebase-iid@@21.0.0 */ public static class a { @@ -30,12 +30,12 @@ public class w { public static final /* synthetic */ int b = 0; /* renamed from: c reason: collision with root package name */ - public final String f1455c; + public final String f1410c; public final String d; public final long e; public a(String str, String str2, long j) { - this.f1455c = str; + this.f1410c = str; this.d = str2; this.e = j; } @@ -49,7 +49,7 @@ public class w { return jSONObject.toString(); } catch (JSONException e) { String valueOf = String.valueOf(e); - c.d.b.a.a.b0(valueOf.length() + 24, "Failed to encode token: ", valueOf, "FirebaseInstanceId"); + c.d.b.a.a.f0(valueOf.length() + 24, "Failed to encode token: ", valueOf, "FirebaseInstanceId"); return null; } } @@ -66,7 +66,7 @@ public class w { return new a(jSONObject.getString("token"), jSONObject.getString("appVersion"), jSONObject.getLong("timestamp")); } catch (JSONException e) { String valueOf = String.valueOf(e); - c.d.b.a.a.b0(valueOf.length() + 23, "Failed to parse token: ", valueOf, "FirebaseInstanceId"); + c.d.b.a.a.f0(valueOf.length() + 23, "Failed to parse token: ", valueOf, "FirebaseInstanceId"); return null; } } @@ -103,17 +103,17 @@ public class w { } public static String a(String str, String str2) { - return c.d.b.a.a.g(str2.length() + c.d.b.a.a.b(str, 3), str, "|S|", str2); + return c.d.b.a.a.j(str2.length() + c.d.b.a.a.b(str, 3), str, "|S|", str2); } public final String b(String str, String str2, String str3) { - StringBuilder N = c.d.b.a.a.N(c.d.b.a.a.b(str3, c.d.b.a.a.b(str2, c.d.b.a.a.b(str, 4))), str, "|T|", str2, "|"); - N.append(str3); - return N.toString(); + StringBuilder Q = c.d.b.a.a.Q(c.d.b.a.a.b(str3, c.d.b.a.a.b(str2, c.d.b.a.a.b(str, 4))), str, "|T|", str2, "|"); + Q.append(str3); + return Q.toString(); } public synchronized void c() { - this.f1454c.clear(); + this.f1409c.clear(); this.a.edit().clear().commit(); } diff --git a/app/src/main/java/c/i/c/s/x.java b/app/src/main/java/c/i/c/s/x.java index 5f0a74d88d..7e55ebfc7c 100644 --- a/app/src/main/java/c/i/c/s/x.java +++ b/app/src/main/java/c/i/c/s/x.java @@ -102,7 +102,7 @@ public class x implements Runnable { if (Log.isLoggable("FirebaseInstanceId", 3)) { Log.d("FirebaseInstanceId", "Token successfully retrieved"); } - if (j == null || !b.equals(j.f1455c)) { + if (j == null || !b.equals(j.f1410c)) { b(b); } return true; @@ -113,7 +113,7 @@ public class x implements Runnable { } if (z2) { String message2 = e.getMessage(); - c.d.b.a.a.c0(c.d.b.a.a.b(message2, 52), "Token retrieval failed: ", message2, ". Will retry token retrieval", "FirebaseInstanceId"); + c.d.b.a.a.g0(c.d.b.a.a.b(message2, 52), "Token retrieval failed: ", message2, ". Will retry token retrieval", "FirebaseInstanceId"); return false; } else if (e.getMessage() == null) { Log.w("FirebaseInstanceId", "Token retrieval failed without exception message. Will retry token retrieval"); diff --git a/app/src/main/java/c/i/c/s/y.java b/app/src/main/java/c/i/c/s/y.java index fd363fbde8..04b0930c73 100644 --- a/app/src/main/java/c/i/c/s/y.java +++ b/app/src/main/java/c/i/c/s/y.java @@ -12,14 +12,14 @@ public final class y { public static final Object b = new Object(); /* renamed from: c reason: collision with root package name */ - public static a f1456c; + public static a f1411c; public static ComponentName a(@NonNull Context context, @NonNull Intent intent) { synchronized (b) { - if (f1456c == null) { + if (f1411c == null) { a aVar = new a(context, 1, "wake:com.google.firebase.iid.WakeLockHolder"); - f1456c = aVar; - aVar.f1301c.setReferenceCounted(true); + f1411c = aVar; + aVar.f1260c.setReferenceCounted(true); aVar.h = true; } boolean booleanExtra = intent.getBooleanExtra("com.google.firebase.iid.WakeLockHolder.wakefulintent", false); @@ -29,7 +29,7 @@ public final class y { return null; } if (!booleanExtra) { - f1456c.a(a); + f1411c.a(a); } return startService; } diff --git a/app/src/main/java/c/i/c/u/a.java b/app/src/main/java/c/i/c/u/a.java index 2290af725c..48fa6d3bbb 100644 --- a/app/src/main/java/c/i/c/u/a.java +++ b/app/src/main/java/c/i/c/u/a.java @@ -7,12 +7,12 @@ public final class a extends k { public final long b; /* renamed from: c reason: collision with root package name */ - public final long f1457c; + public final long f1412c; - public a(String str, long j, long j2, C0146a aVar) { + public a(String str, long j, long j2, C0145a aVar) { this.a = str; this.b = j; - this.f1457c = j2; + this.f1412c = j2; } @Override // c.i.c.u.k @@ -24,7 +24,7 @@ public final class a extends k { @Override // c.i.c.u.k @NonNull public long b() { - return this.f1457c; + return this.f1412c; } @Override // c.i.c.u.k @@ -41,21 +41,21 @@ public final class a extends k { return false; } k kVar = (k) obj; - return this.a.equals(kVar.a()) && this.b == kVar.c() && this.f1457c == kVar.b(); + return this.a.equals(kVar.a()) && this.b == kVar.c() && this.f1412c == kVar.b(); } public int hashCode() { long j = this.b; - long j2 = this.f1457c; + long j2 = this.f1412c; return ((((this.a.hashCode() ^ 1000003) * 1000003) ^ ((int) (j ^ (j >>> 32)))) * 1000003) ^ ((int) (j2 ^ (j2 >>> 32))); } public String toString() { - StringBuilder O = c.d.b.a.a.O("InstallationTokenResult{token="); - O.append(this.a); - O.append(", tokenExpirationTimestamp="); - O.append(this.b); - O.append(", tokenCreationTimestamp="); - return c.d.b.a.a.A(O, this.f1457c, "}"); + StringBuilder R = c.d.b.a.a.R("InstallationTokenResult{token="); + R.append(this.a); + R.append(", tokenExpirationTimestamp="); + R.append(this.b); + R.append(", tokenCreationTimestamp="); + return c.d.b.a.a.B(R, this.f1412c, "}"); } } diff --git a/app/src/main/java/c/i/c/u/e.java b/app/src/main/java/c/i/c/u/e.java index befcdec39c..03b94e54d9 100644 --- a/app/src/main/java/c/i/c/u/e.java +++ b/app/src/main/java/c/i/c/u/e.java @@ -28,7 +28,7 @@ public final /* synthetic */ class e implements Runnable { Objects.requireNonNull(fVar); Object obj2 = f.a; synchronized (obj2) { - c cVar = fVar.f1458c; + c cVar = fVar.f1413c; cVar.a(); b a = b.a(cVar.d, "generatefid.lock"); try { @@ -45,7 +45,7 @@ public final /* synthetic */ class e implements Runnable { if (z2 || fVar.f.d(b)) { dVar = fVar.c(b); synchronized (obj2) { - c.i.c.c cVar2 = fVar.f1458c; + c.i.c.c cVar2 = fVar.f1413c; cVar2.a(); b a2 = b.a(cVar2.d, "generatefid.lock"); try { diff --git a/app/src/main/java/c/i/c/u/f.java b/app/src/main/java/c/i/c/u/f.java index 7fb13d663f..ea4a5031f5 100644 --- a/app/src/main/java/c/i/c/u/f.java +++ b/app/src/main/java/c/i/c/u/f.java @@ -41,7 +41,7 @@ public class f implements g { public static final ThreadFactory b = new a(); /* renamed from: c reason: collision with root package name */ - public final c f1458c; + public final c f1413c; public final c.i.c.u.p.c d; public final c.i.c.u.o.c e; public final n f; @@ -76,7 +76,7 @@ public class f implements g { n c2 = n.c(); b bVar = new b(cVar); l lVar = new l(); - this.f1458c = cVar; + this.f1413c = cVar; this.d = cVar2; this.e = cVar3; this.f = c2; @@ -89,7 +89,7 @@ public class f implements g { @NonNull public static f f() { c b2 = c.b(); - c.c.a.a0.d.p(true, "Null is not a valid value of FirebaseApp."); + c.c.a.a0.d.o(true, "Null is not a valid value of FirebaseApp."); b2.a(); return (f) b2.g.a(g.class); } @@ -111,7 +111,7 @@ public class f implements g { public final void b(boolean z2) { c.i.c.u.o.d b2; synchronized (a) { - c cVar = this.f1458c; + c cVar = this.f1413c; cVar.a(); b a2 = b.a(cVar.d, "generatefid.lock"); try { @@ -133,7 +133,7 @@ public class f implements g { } if (z2) { a.b bVar2 = (a.b) b2.k(); - bVar2.f1461c = null; + bVar2.f1416c = null; b2 = bVar2.a(); } l(b2); @@ -170,27 +170,27 @@ public class f implements g { throw new FirebaseInstallationsException("Firebase servers have received too many requests from this client in a short period of time. Please try again later.", FirebaseInstallationsException.a.TOO_MANY_REQUESTS); } else if (responseCode < 500 || responseCode >= 600) { Log.e("Firebase-Installations", "Firebase Installations can not communicate with Firebase server APIs due to invalid configuration. Please update your Firebase initialization process and set valid Firebase options (API key, Project ID, Application ID) when initializing Firebase."); - b.C0149b bVar = (b.C0149b) c.i.c.u.p.f.a(); - bVar.f1465c = f.b.BAD_CONFIG; + b.C0148b bVar = (b.C0148b) c.i.c.u.p.f.a(); + bVar.f1420c = f.b.BAD_CONFIG; f = bVar.a(); } else { c2.disconnect(); } } } - b.C0149b bVar2 = (b.C0149b) c.i.c.u.p.f.a(); - bVar2.f1465c = f.b.AUTH_ERROR; + b.C0148b bVar2 = (b.C0148b) c.i.c.u.p.f.a(); + bVar2.f1420c = f.b.AUTH_ERROR; f = bVar2.a(); } c2.disconnect(); c.i.c.u.p.b bVar3 = (c.i.c.u.p.b) f; - int ordinal = bVar3.f1464c.ordinal(); + int ordinal = bVar3.f1419c.ordinal(); if (ordinal == 0) { String str3 = bVar3.a; long j = bVar3.b; long b2 = this.f.b(); a.b bVar4 = (a.b) dVar.k(); - bVar4.f1461c = str3; + bVar4.f1416c = str3; bVar4.e = Long.valueOf(j); bVar4.f = Long.valueOf(b2); return bVar4.a(); @@ -222,21 +222,21 @@ public class f implements g { @Nullable public String d() { - c.i.c.c cVar = this.f1458c; + c.i.c.c cVar = this.f1413c; cVar.a(); return cVar.f.a; } @VisibleForTesting public String e() { - c.i.c.c cVar = this.f1458c; + c.i.c.c cVar = this.f1413c; cVar.a(); return cVar.f.b; } @Nullable public String g() { - c.i.c.c cVar = this.f1458c; + c.i.c.c cVar = this.f1413c; cVar.a(); return cVar.f.g; } @@ -250,7 +250,7 @@ public class f implements g { str = this.l; } if (str != null) { - return c.i.a.f.e.o.c.F(str); + return c.i.a.f.e.o.f.R(str); } TaskCompletionSource taskCompletionSource = new TaskCompletionSource(); j jVar = new j(taskCompletionSource); @@ -268,16 +268,16 @@ public class f implements g { c.c.a.a0.d.v(d(), "Please set a valid API key. A Firebase API key is required to communicate with Firebase server APIs: It authenticates your project with Google.Please refer to https://firebase.google.com/support/privacy/init-options."); String e = e(); Pattern pattern = n.b; - c.c.a.a0.d.p(e.contains(":"), "Please set your Application ID. A valid Firebase App ID is required to communicate with Firebase server APIs: It identifies your application with Firebase.Please refer to https://firebase.google.com/support/privacy/init-options."); - c.c.a.a0.d.p(n.b.matcher(d()).matches(), "Please set a valid API key. A Firebase API key is required to communicate with Firebase server APIs: It authenticates your project with Google.Please refer to https://firebase.google.com/support/privacy/init-options."); + c.c.a.a0.d.o(e.contains(":"), "Please set your Application ID. A valid Firebase App ID is required to communicate with Firebase server APIs: It identifies your application with Firebase.Please refer to https://firebase.google.com/support/privacy/init-options."); + c.c.a.a0.d.o(n.b.matcher(d()).matches(), "Please set a valid API key. A Firebase API key is required to communicate with Firebase server APIs: It authenticates your project with Google.Please refer to https://firebase.google.com/support/privacy/init-options."); } public final String i(c.i.c.u.o.d dVar) { String string; - c.i.c.c cVar = this.f1458c; + c.i.c.c cVar = this.f1413c; cVar.a(); - if (cVar.e.equals("CHIME_ANDROID_SDK") || this.f1458c.h()) { - if (((c.i.c.u.o.a) dVar).f1460c == c.a.ATTEMPT_MIGRATION) { + if (cVar.e.equals("CHIME_ANDROID_SDK") || this.f1413c.h()) { + if (((c.i.c.u.o.a) dVar).f1415c == c.a.ATTEMPT_MIGRATION) { c.i.c.u.o.b bVar = this.g; synchronized (bVar.b) { synchronized (bVar.b) { @@ -311,7 +311,7 @@ public class f implements g { break; } String str3 = strArr[i]; - String str4 = bVar.f1462c; + String str4 = bVar.f1417c; String string = bVar.b.getString("|T|" + str4 + "|" + str3, null); if (string == null || string.isEmpty()) { i++; @@ -367,14 +367,14 @@ public class f implements g { int ordinal = aVar4.e.ordinal(); if (ordinal == 0) { String str6 = aVar4.b; - String str7 = aVar4.f1463c; + String str7 = aVar4.f1418c; long b2 = this.f.b(); String c3 = aVar4.d.c(); long d2 = aVar4.d.d(); a.b bVar2 = (a.b) dVar.k(); bVar2.a = str6; bVar2.b(c.a.REGISTERED); - bVar2.f1461c = c3; + bVar2.f1416c = c3; bVar2.d = str7; bVar2.e = Long.valueOf(d2); bVar2.f = Long.valueOf(b2); diff --git a/app/src/main/java/c/i/c/u/i.java b/app/src/main/java/c/i/c/u/i.java index 97d130dc7a..d31a27d1ab 100644 --- a/app/src/main/java/c/i/c/u/i.java +++ b/app/src/main/java/c/i/c/u/i.java @@ -32,15 +32,15 @@ public class i implements m { Long valueOf2 = Long.valueOf(dVar.g()); String str = ""; if (valueOf == null) { - str = a.u(str, " tokenExpirationTimestamp"); + str = a.v(str, " tokenExpirationTimestamp"); } if (valueOf2 == null) { - str = a.u(str, " tokenCreationTimestamp"); + str = a.v(str, " tokenCreationTimestamp"); } if (str.isEmpty()) { taskCompletionSource.a.t(new a(a, valueOf.longValue(), valueOf2.longValue(), null)); return true; } - throw new IllegalStateException(a.u("Missing required properties:", str)); + throw new IllegalStateException(a.v("Missing required properties:", str)); } } diff --git a/app/src/main/java/c/i/c/u/n.java b/app/src/main/java/c/i/c/u/n.java index 1ab6b51314..8c16c53206 100644 --- a/app/src/main/java/c/i/c/u/n.java +++ b/app/src/main/java/c/i/c/u/n.java @@ -13,7 +13,7 @@ public final class n { public static final Pattern b = Pattern.compile("\\AA[\\w-]{38}\\z"); /* renamed from: c reason: collision with root package name */ - public static n f1459c; + public static n f1414c; public final a d; public n(a aVar) { @@ -25,10 +25,10 @@ public final class n { a.a = new a(); } a aVar = a.a; - if (f1459c == null) { - f1459c = new n(aVar); + if (f1414c == null) { + f1414c = new n(aVar); } - return f1459c; + return f1414c; } public long a() { diff --git a/app/src/main/java/c/i/c/u/o/a.java b/app/src/main/java/c/i/c/u/o/a.java index 5759e3dfaf..c4a52f30c3 100644 --- a/app/src/main/java/c/i/c/u/o/a.java +++ b/app/src/main/java/c/i/c/u/o/a.java @@ -10,7 +10,7 @@ public final class a extends d { public final String b; /* renamed from: c reason: collision with root package name */ - public final c.a f1460c; + public final c.a f1415c; public final String d; public final String e; public final long f; @@ -23,7 +23,7 @@ public final class a extends d { public c.a b; /* renamed from: c reason: collision with root package name */ - public String f1461c; + public String f1416c; public String d; public Long e; public Long f; @@ -32,11 +32,11 @@ public final class a extends d { public b() { } - public b(d dVar, C0147a aVar) { + public b(d dVar, C0146a aVar) { a aVar2 = (a) dVar; this.a = aVar2.b; - this.b = aVar2.f1460c; - this.f1461c = aVar2.d; + this.b = aVar2.f1415c; + this.f1416c = aVar2.d; this.d = aVar2.e; this.e = Long.valueOf(aVar2.f); this.f = Long.valueOf(aVar2.g); @@ -47,15 +47,15 @@ public final class a extends d { public d a() { String str = this.b == null ? " registrationStatus" : ""; if (this.e == null) { - str = c.d.b.a.a.u(str, " expiresInSecs"); + str = c.d.b.a.a.v(str, " expiresInSecs"); } if (this.f == null) { - str = c.d.b.a.a.u(str, " tokenCreationEpochInSecs"); + str = c.d.b.a.a.v(str, " tokenCreationEpochInSecs"); } if (str.isEmpty()) { - return new a(this.a, this.b, this.f1461c, this.d, this.e.longValue(), this.f.longValue(), this.g, null); + return new a(this.a, this.b, this.f1416c, this.d, this.e.longValue(), this.f.longValue(), this.g, null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str)); } @Override // c.i.c.u.o.d.a @@ -76,9 +76,9 @@ public final class a extends d { } } - public a(String str, c.a aVar, String str2, String str3, long j, long j2, String str4, C0147a aVar2) { + public a(String str, c.a aVar, String str2, String str3, long j, long j2, String str4, C0146a aVar2) { this.b = str; - this.f1460c = aVar; + this.f1415c = aVar; this.d = str2; this.e = str3; this.f = j; @@ -127,7 +127,7 @@ public final class a extends d { d dVar = (d) obj; String str3 = this.b; if (str3 != null ? str3.equals(dVar.c()) : dVar.c() == null) { - if (this.f1460c.equals(dVar.f()) && ((str = this.d) != null ? str.equals(dVar.a()) : dVar.a() == null) && ((str2 = this.e) != null ? str2.equals(dVar.e()) : dVar.e() == null) && this.f == dVar.b() && this.g == dVar.g()) { + if (this.f1415c.equals(dVar.f()) && ((str = this.d) != null ? str.equals(dVar.a()) : dVar.a() == null) && ((str2 = this.e) != null ? str2.equals(dVar.e()) : dVar.e() == null) && this.f == dVar.b() && this.g == dVar.g()) { String str4 = this.h; if (str4 == null) { if (dVar.d() == null) { @@ -144,7 +144,7 @@ public final class a extends d { @Override // c.i.c.u.o.d @NonNull public c.a f() { - return this.f1460c; + return this.f1415c; } @Override // c.i.c.u.o.d @@ -155,7 +155,7 @@ public final class a extends d { public int hashCode() { String str = this.b; int i = 0; - int hashCode = ((((str == null ? 0 : str.hashCode()) ^ 1000003) * 1000003) ^ this.f1460c.hashCode()) * 1000003; + int hashCode = ((((str == null ? 0 : str.hashCode()) ^ 1000003) * 1000003) ^ this.f1415c.hashCode()) * 1000003; String str2 = this.d; int hashCode2 = (hashCode ^ (str2 == null ? 0 : str2.hashCode())) * 1000003; String str3 = this.e; @@ -176,19 +176,19 @@ public final class a extends d { } public String toString() { - StringBuilder O = c.d.b.a.a.O("PersistedInstallationEntry{firebaseInstallationId="); - O.append(this.b); - O.append(", registrationStatus="); - O.append(this.f1460c); - O.append(", authToken="); - O.append(this.d); - O.append(", refreshToken="); - O.append(this.e); - O.append(", expiresInSecs="); - O.append(this.f); - O.append(", tokenCreationEpochInSecs="); - O.append(this.g); - O.append(", fisError="); - return c.d.b.a.a.G(O, this.h, "}"); + StringBuilder R = c.d.b.a.a.R("PersistedInstallationEntry{firebaseInstallationId="); + R.append(this.b); + R.append(", registrationStatus="); + R.append(this.f1415c); + R.append(", authToken="); + R.append(this.d); + R.append(", refreshToken="); + R.append(this.e); + R.append(", expiresInSecs="); + R.append(this.f); + R.append(", tokenCreationEpochInSecs="); + R.append(this.g); + R.append(", fisError="); + return c.d.b.a.a.H(R, this.h, "}"); } } diff --git a/app/src/main/java/c/i/c/u/o/b.java b/app/src/main/java/c/i/c/u/o/b.java index d051ae3de9..21246c34ac 100644 --- a/app/src/main/java/c/i/c/u/o/b.java +++ b/app/src/main/java/c/i/c/u/o/b.java @@ -20,7 +20,7 @@ public class b { public final SharedPreferences b; /* renamed from: c reason: collision with root package name */ - public final String f1462c; + public final String f1417c; /* JADX WARNING: Code restructure failed: missing block: B:9:0x0046, code lost: if (r0.isEmpty() != false) goto L_0x0048; @@ -41,7 +41,7 @@ public class b { str = null; } } - this.f1462c = str; + this.f1417c = str; } @Nullable diff --git a/app/src/main/java/c/i/c/u/o/c.java b/app/src/main/java/c/i/c/u/o/c.java index d8fbc12646..7f7463dc97 100644 --- a/app/src/main/java/c/i/c/u/o/c.java +++ b/app/src/main/java/c/i/c/u/o/c.java @@ -28,10 +28,10 @@ public class c { public c(@NonNull c.i.c.c cVar) { cVar.a(); File filesDir = cVar.d.getFilesDir(); - StringBuilder O = c.d.b.a.a.O("PersistedInstallation."); - O.append(cVar.c()); - O.append(".json"); - this.a = new File(filesDir, O.toString()); + StringBuilder R = c.d.b.a.a.R("PersistedInstallation."); + R.append(cVar.c()); + R.append(".json"); + this.a = new File(filesDir, R.toString()); this.b = cVar; } @@ -96,7 +96,7 @@ public class c { bVar.c(0); bVar.a = optString; bVar.b(a.values()[optInt]); - bVar.f1461c = optString2; + bVar.f1416c = optString2; bVar.d = optString3; bVar.d(optLong); bVar.c(optLong2); diff --git a/app/src/main/java/c/i/c/u/o/d.java b/app/src/main/java/c/i/c/u/o/d.java index 6cbaefa151..50cfc9fff3 100644 --- a/app/src/main/java/c/i/c/u/o/d.java +++ b/app/src/main/java/c/i/c/u/o/d.java @@ -23,14 +23,14 @@ public abstract class d { Long l = 0L; String str = l == null ? " expiresInSecs" : ""; if (l == null) { - str = c.d.b.a.a.u(str, " tokenCreationEpochInSecs"); + str = c.d.b.a.a.v(str, " tokenCreationEpochInSecs"); } if (str.isEmpty()) { l.longValue(); l.longValue(); return; } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str)); } @Nullable @@ -57,7 +57,7 @@ public abstract class d { } public boolean i() { - c.a aVar = ((a) this).f1460c; + c.a aVar = ((a) this).f1415c; return aVar == c.a.NOT_GENERATED || aVar == c.a.ATTEMPT_MIGRATION; } diff --git a/app/src/main/java/c/i/c/u/p/a.java b/app/src/main/java/c/i/c/u/p/a.java index 6b5746329a..69b6a0d7f2 100644 --- a/app/src/main/java/c/i/c/u/p/a.java +++ b/app/src/main/java/c/i/c/u/p/a.java @@ -8,14 +8,14 @@ public final class a extends d { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1463c; + public final String f1418c; public final f d; public final d.a e; - public a(String str, String str2, String str3, f fVar, d.a aVar, C0148a aVar2) { + public a(String str, String str2, String str3, f fVar, d.a aVar, C0147a aVar2) { this.a = str; this.b = str2; - this.f1463c = str3; + this.f1418c = str3; this.d = fVar; this.e = aVar; } @@ -35,7 +35,7 @@ public final class a extends d { @Override // c.i.c.u.p.d @Nullable public String c() { - return this.f1463c; + return this.f1418c; } @Override // c.i.c.u.p.d @@ -62,7 +62,7 @@ public final class a extends d { if (str != null ? str.equals(dVar.e()) : dVar.e() == null) { String str2 = this.b; if (str2 != null ? str2.equals(dVar.b()) : dVar.b() == null) { - String str3 = this.f1463c; + String str3 = this.f1418c; if (str3 != null ? str3.equals(dVar.c()) : dVar.c() == null) { f fVar = this.d; if (fVar != null ? fVar.equals(dVar.a()) : dVar.a() == null) { @@ -87,7 +87,7 @@ public final class a extends d { int hashCode = ((str == null ? 0 : str.hashCode()) ^ 1000003) * 1000003; String str2 = this.b; int hashCode2 = (hashCode ^ (str2 == null ? 0 : str2.hashCode())) * 1000003; - String str3 = this.f1463c; + String str3 = this.f1418c; int hashCode3 = (hashCode2 ^ (str3 == null ? 0 : str3.hashCode())) * 1000003; f fVar = this.d; int hashCode4 = (hashCode3 ^ (fVar == null ? 0 : fVar.hashCode())) * 1000003; @@ -99,17 +99,17 @@ public final class a extends d { } public String toString() { - StringBuilder O = c.d.b.a.a.O("InstallationResponse{uri="); - O.append(this.a); - O.append(", fid="); - O.append(this.b); - O.append(", refreshToken="); - O.append(this.f1463c); - O.append(", authToken="); - O.append(this.d); - O.append(", responseCode="); - O.append(this.e); - O.append("}"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("InstallationResponse{uri="); + R.append(this.a); + R.append(", fid="); + R.append(this.b); + R.append(", refreshToken="); + R.append(this.f1418c); + R.append(", authToken="); + R.append(this.d); + R.append(", responseCode="); + R.append(this.e); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/c/u/p/b.java b/app/src/main/java/c/i/c/u/p/b.java index d514d75b8c..733169f9bc 100644 --- a/app/src/main/java/c/i/c/u/p/b.java +++ b/app/src/main/java/c/i/c/u/p/b.java @@ -9,24 +9,24 @@ public final class b extends f { public final long b; /* renamed from: c reason: collision with root package name */ - public final f.b f1464c; + public final f.b f1419c; /* compiled from: AutoValue_TokenResult */ /* renamed from: c.i.c.u.p.b$b reason: collision with other inner class name */ - public static final class C0149b extends f.a { + public static final class C0148b extends f.a { public String a; public Long b; /* renamed from: c reason: collision with root package name */ - public f.b f1465c; + public f.b f1420c; @Override // c.i.c.u.p.f.a public f a() { String str = this.b == null ? " tokenExpirationTimestamp" : ""; if (str.isEmpty()) { - return new b(this.a, this.b.longValue(), this.f1465c, null); + return new b(this.a, this.b.longValue(), this.f1420c, null); } - throw new IllegalStateException(c.d.b.a.a.u("Missing required properties:", str)); + throw new IllegalStateException(c.d.b.a.a.v("Missing required properties:", str)); } @Override // c.i.c.u.p.f.a @@ -39,13 +39,13 @@ public final class b extends f { public b(String str, long j, f.b bVar, a aVar) { this.a = str; this.b = j; - this.f1464c = bVar; + this.f1419c = bVar; } @Override // c.i.c.u.p.f @Nullable public f.b b() { - return this.f1464c; + return this.f1419c; } @Override // c.i.c.u.p.f @@ -71,7 +71,7 @@ public final class b extends f { String str = this.a; if (str != null ? str.equals(fVar.c()) : fVar.c() == null) { if (this.b == fVar.d()) { - f.b bVar = this.f1464c; + f.b bVar = this.f1419c; if (bVar == null) { if (fVar.b() == null) { return true; @@ -90,7 +90,7 @@ public final class b extends f { int hashCode = str == null ? 0 : str.hashCode(); long j = this.b; int i2 = (((hashCode ^ 1000003) * 1000003) ^ ((int) (j ^ (j >>> 32)))) * 1000003; - f.b bVar = this.f1464c; + f.b bVar = this.f1419c; if (bVar != null) { i = bVar.hashCode(); } @@ -98,13 +98,13 @@ public final class b extends f { } public String toString() { - StringBuilder O = c.d.b.a.a.O("TokenResult{token="); - O.append(this.a); - O.append(", tokenExpirationTimestamp="); - O.append(this.b); - O.append(", responseCode="); - O.append(this.f1464c); - O.append("}"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("TokenResult{token="); + R.append(this.a); + R.append(", tokenExpirationTimestamp="); + R.append(this.b); + R.append(", responseCode="); + R.append(this.f1419c); + R.append("}"); + return R.toString(); } } diff --git a/app/src/main/java/c/i/c/u/p/c.java b/app/src/main/java/c/i/c/u/p/c.java index d2481d54c0..1d8c3100ea 100644 --- a/app/src/main/java/c/i/c/u/p/c.java +++ b/app/src/main/java/c/i/c/u/p/c.java @@ -9,7 +9,6 @@ import android.util.JsonReader; import android.util.Log; import androidx.annotation.NonNull; import androidx.annotation.Nullable; -import c.i.a.f.e.o.e; import c.i.a.f.e.p.b; import c.i.c.r.d; import c.i.c.t.a; @@ -42,13 +41,13 @@ public class c { public static final Charset b = Charset.forName(Constants.ENCODING); /* renamed from: c reason: collision with root package name */ - public final Context f1466c; + public final Context f1421c; public final a d; public final a e; public final e f = new e(); public c(@NonNull Context context, @NonNull a aVar, @NonNull a aVar2) { - this.f1466c = context; + this.f1421c = context; this.d = aVar; this.e = aVar2; } @@ -88,13 +87,13 @@ public class c { Object[] objArr = new Object[3]; objArr[0] = str2; objArr[1] = str3; - objArr[2] = TextUtils.isEmpty(str) ? "" : c.d.b.a.a.u(", ", str); + objArr[2] = TextUtils.isEmpty(str) ? "" : c.d.b.a.a.v(", ", str); Log.w("Firebase-Installations", String.format("Firebase options used while communicating with Firebase server APIs: %s, %s%s", objArr)); } } public static long d(String str) { - c.c.a.a0.d.p(a.matcher(str).matches(), "Invalid Expiration Timestamp."); + c.c.a.a0.d.o(a.matcher(str).matches(), "Invalid Expiration Timestamp."); if (str == null || str.length() == 0) { return 0; } @@ -139,26 +138,26 @@ public class c { httpURLConnection.addRequestProperty("Accept", RestAPIBuilder.CONTENT_TYPE_JSON); httpURLConnection.addRequestProperty("Content-Encoding", "gzip"); httpURLConnection.addRequestProperty("Cache-Control", "no-cache"); - httpURLConnection.addRequestProperty("X-Android-Package", this.f1466c.getPackageName()); + httpURLConnection.addRequestProperty("X-Android-Package", this.f1421c.getPackageName()); if (!(this.e.get() == null || this.d.get() == null || (a3 = this.e.get().a("fire-installations-id")) == d.a.NONE)) { httpURLConnection.addRequestProperty("x-firebase-client", this.d.get().getUserAgent()); httpURLConnection.addRequestProperty("x-firebase-client-log-type", Integer.toString(a3.f())); } String str2 = null; try { - Context context = this.f1466c; + Context context = this.f1421c; PackageInfo packageInfo = b.a(context).a.getPackageManager().getPackageInfo(context.getPackageName(), 64); Signature[] signatureArr = packageInfo.signatures; byte[] digest = (signatureArr == null || signatureArr.length != 1 || (a2 = c.i.a.f.e.o.a.a("SHA1")) == null) ? null : a2.digest(packageInfo.signatures[0].toByteArray()); if (digest == null) { - Log.e("ContentValues", "Could not get fingerprint hash for package: " + this.f1466c.getPackageName()); + Log.e("ContentValues", "Could not get fingerprint hash for package: " + this.f1421c.getPackageName()); } else { - str2 = e.a(digest, false); + str2 = c.i.a.f.e.o.d.a(digest, false); } } catch (PackageManager.NameNotFoundException e) { - StringBuilder O = c.d.b.a.a.O("No such package: "); - O.append(this.f1466c.getPackageName()); - Log.e("ContentValues", O.toString(), e); + StringBuilder R = c.d.b.a.a.R("No such package: "); + R.append(this.f1421c.getPackageName()); + Log.e("ContentValues", R.toString(), e); } httpURLConnection.addRequestProperty("X-Android-Cert", str2); httpURLConnection.addRequestProperty("x-goog-api-key", str); @@ -190,7 +189,7 @@ public class c { while (jsonReader.hasNext()) { String nextName2 = jsonReader.nextName(); if (nextName2.equals("token")) { - ((b.C0149b) a2).a = jsonReader.nextString(); + ((b.C0148b) a2).a = jsonReader.nextString(); } else if (nextName2.equals("expiresIn")) { a2.b(d(jsonReader.nextString())); } else { @@ -217,7 +216,7 @@ public class c { while (jsonReader.hasNext()) { String nextName = jsonReader.nextName(); if (nextName.equals("token")) { - ((b.C0149b) a2).a = jsonReader.nextString(); + ((b.C0148b) a2).a = jsonReader.nextString(); } else if (nextName.equals("expiresIn")) { a2.b(d(jsonReader.nextString())); } else { @@ -227,8 +226,8 @@ public class c { jsonReader.endObject(); jsonReader.close(); inputStream.close(); - b.C0149b bVar = (b.C0149b) a2; - bVar.f1465c = f.b.OK; + b.C0148b bVar = (b.C0148b) a2; + bVar.f1420c = f.b.OK; return bVar.a(); } diff --git a/app/src/main/java/c/i/c/u/p/e.java b/app/src/main/java/c/i/c/u/p/e.java index b5d652639f..fd9c4f6258 100644 --- a/app/src/main/java/c/i/c/u/p/e.java +++ b/app/src/main/java/c/i/c/u/p/e.java @@ -10,14 +10,14 @@ public class e { public static final long b = TimeUnit.MINUTES.toMillis(30); /* renamed from: c reason: collision with root package name */ - public final n f1467c = n.c(); + public final n f1422c = n.c(); @GuardedBy("this") public long d; @GuardedBy("this") public int e; public synchronized boolean a() { - return this.e == 0 || this.f1467c.a() > this.d; + return this.e == 0 || this.f1422c.a() > this.d; } public synchronized void b(int i) { @@ -38,11 +38,11 @@ public class e { j = a; } else { double pow = Math.pow(2.0d, (double) this.e); - Objects.requireNonNull(this.f1467c); + Objects.requireNonNull(this.f1422c); j = (long) Math.min(pow + ((double) ((long) (Math.random() * 1000.0d))), (double) b); } - this.d = this.f1467c.a() + j; + this.d = this.f1422c.a() + j; } - this.d = this.f1467c.a() + j; + this.d = this.f1422c.a() + j; } } diff --git a/app/src/main/java/c/i/c/u/p/f.java b/app/src/main/java/c/i/c/u/p/f.java index 8c6edb07cb..3687d0f1e3 100644 --- a/app/src/main/java/c/i/c/u/p/f.java +++ b/app/src/main/java/c/i/c/u/p/f.java @@ -27,7 +27,7 @@ public abstract class f { @NonNull public static a a() { - b.C0149b bVar = new b.C0149b(); + b.C0148b bVar = new b.C0148b(); bVar.b(0); return bVar; } diff --git a/app/src/main/java/c/i/c/v/a.java b/app/src/main/java/c/i/c/v/a.java index e2a08d5944..4ced220624 100644 --- a/app/src/main/java/c/i/c/v/a.java +++ b/app/src/main/java/c/i/c/v/a.java @@ -14,7 +14,7 @@ public class a { public final SharedPreferences b; /* renamed from: c reason: collision with root package name */ - public final c f1468c; + public final c f1423c; public boolean d; public a(Context context, String str, c cVar) { @@ -25,7 +25,7 @@ public class a { this.a = context; SharedPreferences sharedPreferences = context.getSharedPreferences("com.google.firebase.common.prefs:" + str, 0); this.b = sharedPreferences; - this.f1468c = cVar; + this.f1423c = cVar; boolean z3 = true; if (sharedPreferences.contains("firebase_data_collection_default_enabled")) { z2 = sharedPreferences.getBoolean("firebase_data_collection_default_enabled", true); diff --git a/app/src/main/java/c/i/c/w/c.java b/app/src/main/java/c/i/c/w/c.java index 986d6cc369..10336d15f3 100644 --- a/app/src/main/java/c/i/c/w/c.java +++ b/app/src/main/java/c/i/c/w/c.java @@ -25,6 +25,7 @@ import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; import androidx.core.app.NotificationCompat; import androidx.core.content.ContextCompat; import c.d.b.a.a; +import c.i.a.f.e.o.f; import com.google.android.gms.tasks.Task; import java.net.MalformedURLException; import java.net.URL; @@ -44,12 +45,12 @@ public class c { public final Context b; /* renamed from: c reason: collision with root package name */ - public final r f1469c; + public final r f1424c; public c(Context context, r rVar, Executor executor) { this.a = executor; this.b = context; - this.f1469c = rVar; + this.f1424c = rVar; } /* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x04cc: APUT (r9v4 int[]), (0 ??[int, short, byte, char]), (r8v21 int) */ @@ -126,7 +127,7 @@ public class c { String e7; int i2; ApplicationInfo applicationInfo; - if (this.f1469c.a("gcm.n.noui")) { + if (this.f1424c.a("gcm.n.noui")) { return true; } if (!((KeyguardManager) this.b.getSystemService("keyguard")).inKeyguardRestrictedInputMode()) { @@ -151,7 +152,7 @@ public class c { if (z2) { return false; } - String e8 = this.f1469c.e("gcm.n.image"); + String e8 = this.f1424c.e("gcm.n.image"); if (!TextUtils.isEmpty(e8)) { try { oVar = new o(new URL(e8)); @@ -160,10 +161,10 @@ public class c { Log.w("FirebaseMessaging", valueOf.length() != 0 ? "Not downloading image, bad URL: ".concat(valueOf) : new String("Not downloading image, bad URL: ")); } if (oVar != null) { - oVar.j = c.i.a.f.e.o.c.g(this.a, new n(oVar)); + oVar.j = f.l(this.a, new n(oVar)); } context = this.b; - rVar = this.f1469c; + rVar = this.f1424c; AtomicInteger atomicInteger = a.a; applicationInfo = context.getPackageManager().getApplicationInfo(context.getPackageName(), 128); if (applicationInfo != null) { @@ -178,7 +179,7 @@ public class c { NotificationManager notificationManager = (NotificationManager) context.getSystemService(NotificationManager.class); if (!TextUtils.isEmpty(e9)) { if (notificationManager.getNotificationChannel(e9) == null) { - a.c0(a.b(e9, 122), "Notification Channel requested (", e9, ") has not been created by the app. Manifest configuration, or default, value will be used.", "FirebaseMessaging"); + a.g0(a.b(e9, 122), "Notification Channel requested (", e9, ") has not been created by the app. Manifest configuration, or default, value will be used.", "FirebaseMessaging"); } Resources resources = context.getResources(); packageManager = context.getPackageManager(); @@ -196,7 +197,7 @@ public class c { if (!TextUtils.isEmpty(e)) { i = resources.getIdentifier(e, "drawable", packageName); if ((i == 0 || !a.b(resources, i)) && ((i = resources.getIdentifier(e, "mipmap", packageName)) == 0 || !a.b(resources, i))) { - a.c0(a.b(e, 61), "Icon resource ", e, " not found. Notification will use default icon.", "FirebaseMessaging"); + a.g0(a.b(e, 61), "Icon resource ", e, " not found. Notification will use default icon.", "FirebaseMessaging"); } builder.setSmallIcon(i); e2 = rVar.e("gcm.n.sound2"); @@ -266,7 +267,7 @@ public class c { try { num = Integer.valueOf(Color.parseColor(e4)); } catch (IllegalArgumentException unused2) { - a.c0(a.b(e4, 56), "Color is invalid: ", e4, ". Notification will use default color.", "FirebaseMessaging"); + a.g0(a.b(e4, 56), "Color is invalid: ", e4, ". Notification will use default color.", "FirebaseMessaging"); } if (num != null) { builder.setColor(num.intValue()); @@ -281,7 +282,7 @@ public class c { if (b != null) { if (b.intValue() < -2 || b.intValue() > 2) { String valueOf2 = String.valueOf(b); - a.c0(valueOf2.length() + 72, "notificationPriority is invalid ", valueOf2, ". Skipping setting notificationPriority.", "FirebaseMessaging"); + a.g0(valueOf2.length() + 72, "notificationPriority is invalid ", valueOf2, ". Skipping setting notificationPriority.", "FirebaseMessaging"); } if (b != null) { builder.setPriority(b.intValue()); @@ -290,7 +291,7 @@ public class c { if (b2 != null) { if (b2.intValue() < -1 || b2.intValue() > 1) { String valueOf3 = String.valueOf(b2); - a.c0(valueOf3.length() + 53, "visibility is invalid: ", valueOf3, ". Skipping setting visibility.", "NotificationParams"); + a.g0(valueOf3.length() + 53, "visibility is invalid: ", valueOf3, ". Skipping setting visibility.", "NotificationParams"); } if (b2 != null) { builder.setVisibility(b2.intValue()); @@ -299,7 +300,7 @@ public class c { if (b3 != null) { if (b3.intValue() < 0) { String valueOf4 = String.valueOf(b3); - a.c0(valueOf4.length() + 67, "notificationCount is invalid: ", valueOf4, ". Skipping setting notificationCount.", "FirebaseMessaging"); + a.g0(valueOf4.length() + 67, "notificationCount is invalid: ", valueOf4, ". Skipping setting notificationCount.", "FirebaseMessaging"); } if (b3 != null) { builder.setNumber(b3.intValue()); @@ -310,7 +311,7 @@ public class c { l = Long.valueOf(Long.parseLong(e6)); } catch (NumberFormatException unused3) { String h = r.h("gcm.n.event_time"); - a.m0(a.N(a.b(e6, a.b(h, 38)), "Couldn't parse value of ", h, "(", e6), ") into a long", "NotificationParams"); + a.n0(a.Q(a.b(e6, a.b(h, 38)), "Couldn't parse value of ", h, "(", e6), ") into a long", "NotificationParams"); } if (l != null) { builder.setShowWhen(true); @@ -368,12 +369,12 @@ public class c { try { Task task = oVar.j; Objects.requireNonNull(task, "null reference"); - Bitmap bitmap = (Bitmap) c.i.a.f.e.o.c.d(task, 5, TimeUnit.SECONDS); + Bitmap bitmap = (Bitmap) f.h(task, 5, TimeUnit.SECONDS); builder.setLargeIcon(bitmap); builder.setStyle(new NotificationCompat.BigPictureStyle().bigPicture(bitmap).bigLargeIcon(null)); } catch (ExecutionException e11) { String valueOf5 = String.valueOf(e11.getCause()); - a.b0(valueOf5.length() + 26, "Failed to download image: ", valueOf5, "FirebaseMessaging"); + a.f0(valueOf5.length() + 26, "Failed to download image: ", valueOf5, "FirebaseMessaging"); } catch (InterruptedException unused4) { Log.w("FirebaseMessaging", "Interrupted while downloading image, showing notification without it"); oVar.close(); @@ -394,11 +395,11 @@ public class c { throw new JSONException("lightSettings don't have all three fields"); } catch (JSONException unused6) { String valueOf6 = String.valueOf(c3); - a.c0(valueOf6.length() + 58, "LightSettings is invalid: ", valueOf6, ". Skipping setting LightSettings", "NotificationParams"); + a.g0(valueOf6.length() + 58, "LightSettings is invalid: ", valueOf6, ". Skipping setting LightSettings", "NotificationParams"); } catch (IllegalArgumentException e12) { String valueOf7 = String.valueOf(c3); String message = e12.getMessage(); - a.m0(a.N(a.b(message, valueOf7.length() + 60), "LightSettings is invalid: ", valueOf7, ". ", message), ". Skipping setting LightSettings", "NotificationParams"); + a.n0(a.Q(a.b(message, valueOf7.length() + 60), "LightSettings is invalid: ", valueOf7, ". ", message), ". Skipping setting LightSettings", "NotificationParams"); } } iArr = null; @@ -427,7 +428,7 @@ public class c { throw new JSONException("vibrateTimings have invalid length"); } catch (NumberFormatException | JSONException unused7) { String valueOf8 = String.valueOf(c2); - a.c0(valueOf8.length() + 74, "User defined vibrateTimings is invalid: ", valueOf8, ". Skipping setting vibrateTimings.", "NotificationParams"); + a.g0(valueOf8.length() + 74, "User defined vibrateTimings is invalid: ", valueOf8, ". Skipping setting vibrateTimings.", "NotificationParams"); } } jArr = null; @@ -1280,7 +1281,7 @@ public class c { if (oVar != null) { } context = this.b; - rVar = this.f1469c; + rVar = this.f1424c; AtomicInteger atomicInteger = a.a; try { applicationInfo = context.getPackageManager().getApplicationInfo(context.getPackageName(), 128); @@ -1288,7 +1289,7 @@ public class c { } } catch (PackageManager.NameNotFoundException e13) { String valueOf9 = String.valueOf(e13); - a.b0(valueOf9.length() + 35, "Couldn't get own application info: ", valueOf9, "FirebaseMessaging"); + a.f0(valueOf9.length() + 35, "Couldn't get own application info: ", valueOf9, "FirebaseMessaging"); } bundle = Bundle.EMPTY; String packageName = context.getPackageName(); @@ -1313,7 +1314,7 @@ public class c { i = packageManager.getApplicationInfo(packageName, 0).icon; } catch (PackageManager.NameNotFoundException e14) { String valueOf10 = String.valueOf(e14); - a.b0(valueOf10.length() + 35, "Couldn't get own application info: ", valueOf10, "FirebaseMessaging"); + a.f0(valueOf10.length() + 35, "Couldn't get own application info: ", valueOf10, "FirebaseMessaging"); } i = 17301651; builder.setSmallIcon(i); diff --git a/app/src/main/java/c/i/c/w/m.java b/app/src/main/java/c/i/c/w/m.java index 089b07e8ba..7479e18299 100644 --- a/app/src/main/java/c/i/c/w/m.java +++ b/app/src/main/java/c/i/c/w/m.java @@ -50,7 +50,7 @@ public final class m { i = Integer.parseInt((String) obj2); } catch (NumberFormatException unused) { String valueOf = String.valueOf(obj2); - c.d.b.a.a.b0(valueOf.length() + 13, "Invalid TTL: ", valueOf, "FirebaseMessaging"); + c.d.b.a.a.f0(valueOf.length() + 13, "Invalid TTL: ", valueOf, "FirebaseMessaging"); } } i = 0; diff --git a/app/src/main/java/c/i/c/w/n.java b/app/src/main/java/c/i/c/w/n.java index f0908c2ca5..97bf466ce5 100644 --- a/app/src/main/java/c/i/c/w/n.java +++ b/app/src/main/java/c/i/c/w/n.java @@ -3,6 +3,7 @@ package c.i.c.w; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.util.Log; +import c.d.b.a.a; import c.i.a.f.h.i.b; import c.i.a.f.h.i.d; import c.i.a.f.h.i.e; @@ -89,10 +90,7 @@ public final /* synthetic */ class n implements Callable { return decodeByteArray; } String valueOf4 = String.valueOf(oVar.i); - StringBuilder sb4 = new StringBuilder(valueOf4.length() + 24); - sb4.append("Failed to decode image: "); - sb4.append(valueOf4); - throw new IOException(sb4.toString()); + throw new IOException(a.i(valueOf4.length() + 24, "Failed to decode image: ", valueOf4)); } throw new IOException("Image exceeds max size of 1048576"); } catch (Throwable th) { diff --git a/app/src/main/java/c/i/c/w/q.java b/app/src/main/java/c/i/c/w/q.java index 3237cb8b13..c4fe4554d0 100644 --- a/app/src/main/java/c/i/c/w/q.java +++ b/app/src/main/java/c/i/c/w/q.java @@ -19,9 +19,9 @@ public class q { static { e eVar = new e(); eVar.b.put(m.b.class, new m.c()); - eVar.f1446c.remove(m.b.class); + eVar.f1401c.remove(m.b.class); eVar.b.put(m.class, new m.a()); - eVar.f1446c.remove(m.class); + eVar.f1401c.remove(m.class); a = new d(eVar); } @@ -79,7 +79,7 @@ public class q { } if (Log.isLoggable("FirebaseMessaging", 3)) { String valueOf = String.valueOf(bundle); - Log.d("FirebaseMessaging", c.d.b.a.a.h(valueOf.length() + str.length() + 37, "Logging to scion event=", str, " scionPayload=", valueOf)); + Log.d("FirebaseMessaging", c.d.b.a.a.k(valueOf.length() + str.length() + 37, "Logging to scion event=", str, " scionPayload=", valueOf)); } c b = c.b(); b.a(); diff --git a/app/src/main/java/c/i/c/w/r.java b/app/src/main/java/c/i/c/w/r.java index d9d738ee4e..cbbfc5c0c4 100644 --- a/app/src/main/java/c/i/c/w/r.java +++ b/app/src/main/java/c/i/c/w/r.java @@ -42,7 +42,7 @@ public class r { return Integer.valueOf(Integer.parseInt(e)); } catch (NumberFormatException unused) { String h = h(str); - a.m0(a.N(a.b(e, a.b(h, 38)), "Couldn't parse value of ", h, "(", e), ") into an int", "NotificationParams"); + a.n0(a.Q(a.b(e, a.b(h, 38)), "Couldn't parse value of ", h, "(", e), ") into an int", "NotificationParams"); return null; } } @@ -57,7 +57,7 @@ public class r { return new JSONArray(e); } catch (JSONException unused) { String h = h(str); - a.m0(a.N(a.b(e, a.b(h, 50)), "Malformed JSON for key ", h, ": ", e), ", falling back to default", "NotificationParams"); + a.n0(a.Q(a.b(e, a.b(h, 50)), "Malformed JSON for key ", h, ": ", e), ", falling back to default", "NotificationParams"); return null; } } @@ -75,7 +75,7 @@ public class r { int identifier = resources.getIdentifier(e2, "string", str); if (identifier == 0) { String h = h(str2.concat("_loc_key")); - Log.w("NotificationParams", a.h(str2.length() + a.b(h, 49), h, " resource not found: ", str2, " Default value will be used.")); + Log.w("NotificationParams", a.k(str2.length() + a.b(h, 49), h, " resource not found: ", str2, " Default value will be used.")); return null; } JSONArray c2 = c(str2.concat("_loc_args")); @@ -96,9 +96,9 @@ public class r { } catch (MissingFormatArgumentException e3) { String h2 = h(str2); String arrays = Arrays.toString(strArr); - StringBuilder N = a.N(a.b(arrays, a.b(h2, 58)), "Missing format argument for ", h2, ": ", arrays); - N.append(" Default value will be used."); - Log.w("NotificationParams", N.toString(), e3); + StringBuilder Q = a.Q(a.b(arrays, a.b(h2, 58)), "Missing format argument for ", h2, ": ", arrays); + Q.append(" Default value will be used."); + Log.w("NotificationParams", Q.toString(), e3); return null; } } diff --git a/app/src/main/java/c/i/c/w/s.java b/app/src/main/java/c/i/c/w/s.java index 889a8c13be..f8d1482df4 100644 --- a/app/src/main/java/c/i/c/w/s.java +++ b/app/src/main/java/c/i/c/w/s.java @@ -10,17 +10,17 @@ public class s implements Parcelable.Creator { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // android.os.Parcelable.Creator public RemoteMessage createFromParcel(Parcel parcel) { - int l2 = d.l2(parcel); + int k2 = d.k2(parcel); Bundle bundle = null; - while (parcel.dataPosition() < l2) { + while (parcel.dataPosition() < k2) { int readInt = parcel.readInt(); if ((65535 & readInt) != 2) { - d.c2(parcel, readInt); + d.b2(parcel, readInt); } else { - bundle = d.P(parcel, readInt); + bundle = d.M(parcel, readInt); } } - d.h0(parcel, l2); + d.e0(parcel, k2); return new RemoteMessage(bundle); } diff --git a/app/src/main/java/c/i/c/w/t.java b/app/src/main/java/c/i/c/w/t.java index c2d87cb2fb..f31f6359d8 100644 --- a/app/src/main/java/c/i/c/w/t.java +++ b/app/src/main/java/c/i/c/w/t.java @@ -20,7 +20,7 @@ public final /* synthetic */ class t implements Runnable { Iterator it = uVar.d.iterator(); while (it.hasNext()) { sb.append(it.next()); - sb.append(uVar.f1470c); + sb.append(uVar.f1425c); } edit.putString(str, sb.toString()).commit(); } diff --git a/app/src/main/java/c/i/c/w/u.java b/app/src/main/java/c/i/c/w/u.java index 0f6117bfe4..69de72f207 100644 --- a/app/src/main/java/c/i/c/w/u.java +++ b/app/src/main/java/c/i/c/w/u.java @@ -13,7 +13,7 @@ public final class u { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1470c; + public final String f1425c; @GuardedBy("internalQueue") public final ArrayDeque d = new ArrayDeque<>(); public final Executor e; @@ -21,7 +21,7 @@ public final class u { public u(SharedPreferences sharedPreferences, String str, String str2, Executor executor) { this.a = sharedPreferences; this.b = str; - this.f1470c = str2; + this.f1425c = str2; this.e = executor; } @@ -32,8 +32,8 @@ public final class u { uVar.d.clear(); String string = uVar.a.getString(uVar.b, ""); if (!TextUtils.isEmpty(string)) { - if (string.contains(uVar.f1470c)) { - String[] split = string.split(uVar.f1470c, -1); + if (string.contains(uVar.f1425c)) { + String[] split = string.split(uVar.f1425c, -1); if (split.length == 0) { Log.e("FirebaseMessaging", "Corrupted queue. Please check the queue contents and item separator provided"); } diff --git a/app/src/main/java/c/i/c/w/v.java b/app/src/main/java/c/i/c/w/v.java index c8be921719..b8b53ea3e6 100644 --- a/app/src/main/java/c/i/c/w/v.java +++ b/app/src/main/java/c/i/c/w/v.java @@ -11,7 +11,7 @@ public final class v { public final String b; /* renamed from: c reason: collision with root package name */ - public final String f1471c; + public final String f1426c; public final String d; public v(String str, String str2) { @@ -26,8 +26,8 @@ public final class v { throw new IllegalArgumentException(String.format("Invalid topic name: %s does not match the allowed format %s.", str3, "[a-zA-Z0-9-_.~%]{1,900}")); } this.b = str3; - this.f1471c = str; - this.d = a.g(a.b(str2, a.b(str, 1)), str, "!", str2); + this.f1426c = str; + this.d = a.j(a.b(str2, a.b(str, 1)), str, "!", str2); } public final boolean equals(@Nullable Object obj) { @@ -35,10 +35,10 @@ public final class v { return false; } v vVar = (v) obj; - return this.b.equals(vVar.b) && this.f1471c.equals(vVar.f1471c); + return this.b.equals(vVar.b) && this.f1426c.equals(vVar.f1426c); } public final int hashCode() { - return Arrays.hashCode(new Object[]{this.f1471c, this.b}); + return Arrays.hashCode(new Object[]{this.f1426c, this.b}); } } diff --git a/app/src/main/java/c/i/c/w/w.java b/app/src/main/java/c/i/c/w/w.java index 12108d1b01..24861c0608 100644 --- a/app/src/main/java/c/i/c/w/w.java +++ b/app/src/main/java/c/i/c/w/w.java @@ -14,7 +14,7 @@ public final class w { public final SharedPreferences b; /* renamed from: c reason: collision with root package name */ - public u f1472c; + public u f1427c; public final Executor d; public w(SharedPreferences sharedPreferences, Executor executor) { @@ -26,7 +26,7 @@ public final class w { public final synchronized v a() { String peek; v vVar; - u uVar = this.f1472c; + u uVar = this.f1427c; synchronized (uVar.d) { peek = uVar.d.peek(); } diff --git a/app/src/main/java/c/i/c/w/x.java b/app/src/main/java/c/i/c/w/x.java index 39d0b6507d..df5ca0f5cf 100644 --- a/app/src/main/java/c/i/c/w/x.java +++ b/app/src/main/java/c/i/c/w/x.java @@ -42,7 +42,7 @@ public final /* synthetic */ class x implements Callable { SharedPreferences sharedPreferences = context.getSharedPreferences("com.google.android.gms.appid", 0); w wVar2 = new w(sharedPreferences, scheduledExecutorService); synchronized (wVar2) { - wVar2.f1472c = u.a(sharedPreferences, "topic_operation_queue", ",", scheduledExecutorService); + wVar2.f1427c = u.a(sharedPreferences, "topic_operation_queue", ",", scheduledExecutorService); } w.a = new WeakReference<>(wVar2); wVar = wVar2; diff --git a/app/src/main/java/c/i/c/w/y.java b/app/src/main/java/c/i/c/w/y.java index 57de8e90a5..984ae91f5e 100644 --- a/app/src/main/java/c/i/c/w/y.java +++ b/app/src/main/java/c/i/c/w/y.java @@ -9,7 +9,7 @@ import androidx.annotation.NonNull; import androidx.annotation.WorkerThread; import androidx.collection.ArrayMap; import androidx.exifinterface.media.ExifInterface; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.i.c.s.n; import c.i.c.s.o; import c.i.c.s.q; @@ -30,7 +30,7 @@ public class y { public static final /* synthetic */ int b = 0; /* renamed from: c reason: collision with root package name */ - public final FirebaseInstanceId f1473c; + public final FirebaseInstanceId f1428c; public final Context d; public final q e; public final n f; @@ -42,7 +42,7 @@ public class y { public final w j; public y(FirebaseInstanceId firebaseInstanceId, q qVar, w wVar, n nVar, Context context, @NonNull ScheduledExecutorService scheduledExecutorService) { - this.f1473c = firebaseInstanceId; + this.f1428c = firebaseInstanceId; this.e = qVar; this.j = wVar; this.f = nVar; @@ -53,7 +53,7 @@ public class y { @WorkerThread public static T a(Task task) throws IOException { try { - return (T) c.d(task, 30, TimeUnit.SECONDS); + return (T) f.h(task, 30, TimeUnit.SECONDS); } catch (ExecutionException e) { Throwable cause = e.getCause(); if (cause instanceof IOException) { @@ -77,7 +77,7 @@ public class y { @WorkerThread public final void b(String str) throws IOException { - o oVar = (o) a(this.f1473c.f()); + o oVar = (o) a(this.f1428c.f()); n nVar = this.f; String id2 = oVar.getId(); String a2 = oVar.a(); @@ -91,7 +91,7 @@ public class y { @WorkerThread public final void c(String str) throws IOException { - o oVar = (o) a(this.f1473c.f()); + o oVar = (o) a(this.f1428c.f()); n nVar = this.f; String id2 = oVar.getId(); String a2 = oVar.a(); @@ -124,7 +124,7 @@ public class y { } } try { - String str = a2.f1471c; + String str = a2.f1426c; char c2 = 65535; int hashCode = str.hashCode(); if (hashCode != 83) { @@ -184,7 +184,7 @@ public class y { } w wVar = this.j; synchronized (wVar) { - u uVar = wVar.f1472c; + u uVar = wVar.f1427c; String str4 = a2.d; synchronized (uVar.d) { if (uVar.d.remove(str4)) { diff --git a/app/src/main/java/c/i/c/x/a.java b/app/src/main/java/c/i/c/x/a.java index c84455a1db..f5bb482fae 100644 --- a/app/src/main/java/c/i/c/x/a.java +++ b/app/src/main/java/c/i/c/x/a.java @@ -39,9 +39,9 @@ public final class a extends e { } public String toString() { - StringBuilder O = c.d.b.a.a.O("LibraryVersion{libraryName="); - O.append(this.a); - O.append(", version="); - return c.d.b.a.a.G(O, this.b, "}"); + StringBuilder R = c.d.b.a.a.R("LibraryVersion{libraryName="); + R.append(this.a); + R.append(", version="); + return c.d.b.a.a.H(R, this.b, "}"); } } diff --git a/app/src/main/java/c/i/d/c.java b/app/src/main/java/c/i/d/c.java index 4b2ca48a16..224eb48164 100644 --- a/app/src/main/java/c/i/d/c.java +++ b/app/src/main/java/c/i/d/c.java @@ -69,9 +69,9 @@ public enum c implements d { } char upperCase = Character.toUpperCase(charAt); if (i == 0) { - StringBuilder M = c.d.b.a.a.M(upperCase); - M.append(str.substring(1)); - return M.toString(); + StringBuilder N = c.d.b.a.a.N(upperCase); + N.append(str.substring(1)); + return N.toString(); } return str.substring(0, i) + upperCase + str.substring(i + 1); } diff --git a/app/src/main/java/c/i/d/e.java b/app/src/main/java/c/i/d/e.java index e3800b3bf0..3d5dedf28e 100644 --- a/app/src/main/java/c/i/d/e.java +++ b/app/src/main/java/c/i/d/e.java @@ -1,6 +1,6 @@ package c.i.d; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import com.google.gson.DefaultDateTypeAdapter; import com.google.gson.Gson; import com.google.gson.TypeAdapter; @@ -22,7 +22,7 @@ public final class e { public n b = n.DEFAULT; /* renamed from: c reason: collision with root package name */ - public d f1474c = c.IDENTITY; + public d f1429c = c.IDENTITY; public final Map> d = new HashMap(); public final List e = new ArrayList(); public final List f = new ArrayList(); @@ -49,13 +49,13 @@ public final class e { arrayList.add(new TypeAdapters.AnonymousClass32(Timestamp.class, defaultDateTypeAdapter2)); arrayList.add(new TypeAdapters.AnonymousClass32(java.sql.Date.class, defaultDateTypeAdapter3)); } - return new Gson(this.a, this.f1474c, this.d, this.g, false, false, this.j, false, false, false, this.b, null, this.h, this.i, this.e, this.f, arrayList); + return new Gson(this.a, this.f1429c, this.d, this.g, false, false, this.j, false, false, false, this.b, null, this.h, this.i, this.e, this.f, arrayList); } public e b(Type type, Object obj) { boolean z2 = obj instanceof m; boolean z3 = true; - c.j(z2 || (obj instanceof i) || (obj instanceof f) || (obj instanceof TypeAdapter)); + f.r(z2 || (obj instanceof i) || (obj instanceof f) || (obj instanceof TypeAdapter)); if (obj instanceof f) { this.d.put(type, (f) obj); } diff --git a/app/src/main/java/c/i/d/q/a.java b/app/src/main/java/c/i/d/q/a.java index 7fe0533da7..7ad836e548 100644 --- a/app/src/main/java/c/i/d/q/a.java +++ b/app/src/main/java/c/i/d/q/a.java @@ -1,5 +1,6 @@ package c.i.d.q; +import c.i.a.f.e.o.f; import java.io.Serializable; import java.lang.reflect.Array; import java.lang.reflect.GenericArrayType; @@ -20,11 +21,11 @@ public final class a { /* compiled from: $Gson$Types */ /* renamed from: c.i.d.q.a$a reason: collision with other inner class name */ - public static final class C0151a implements GenericArrayType, Serializable { + public static final class C0150a implements GenericArrayType, Serializable { private static final long serialVersionUID = 0; private final Type componentType; - public C0151a(Type type) { + public C0150a(Type type) { this.componentType = a.a(type); } @@ -64,7 +65,7 @@ public final class a { if (type == null && !z3) { z2 = false; } - c.i.a.f.e.o.c.j(z2); + f.r(z2); } this.ownerType = type == null ? null : a.a(type); this.rawType = a.a(type2); @@ -133,12 +134,12 @@ public final class a { public c(Type[] typeArr, Type[] typeArr2) { boolean z2 = true; - c.i.a.f.e.o.c.j(typeArr2.length <= 1); - c.i.a.f.e.o.c.j(typeArr.length == 1); + f.r(typeArr2.length <= 1); + f.r(typeArr.length == 1); if (typeArr2.length == 1) { Objects.requireNonNull(typeArr2[0]); a.b(typeArr2[0]); - c.i.a.f.e.o.c.j(typeArr[0] != Object.class ? false : z2); + f.r(typeArr[0] != Object.class ? false : z2); this.lowerBound = a.a(typeArr2[0]); this.upperBound = Object.class; return; @@ -174,15 +175,15 @@ public final class a { @Override // java.lang.Object public String toString() { if (this.lowerBound != null) { - StringBuilder O = c.d.b.a.a.O("? super "); - O.append(a.i(this.lowerBound)); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("? super "); + R.append(a.i(this.lowerBound)); + return R.toString(); } else if (this.upperBound == Object.class) { return "?"; } else { - StringBuilder O2 = c.d.b.a.a.O("? extends "); - O2.append(a.i(this.upperBound)); - return O2.toString(); + StringBuilder R2 = c.d.b.a.a.R("? extends "); + R2.append(a.i(this.upperBound)); + return R2.toString(); } } } @@ -190,12 +191,12 @@ public final class a { public static Type a(Type type) { if (type instanceof Class) { Class cls = (Class) type; - return cls.isArray() ? new C0151a(a(cls.getComponentType())) : cls; + return cls.isArray() ? new C0150a(a(cls.getComponentType())) : cls; } else if (type instanceof ParameterizedType) { ParameterizedType parameterizedType = (ParameterizedType) type; return new b(parameterizedType.getOwnerType(), parameterizedType.getRawType(), parameterizedType.getActualTypeArguments()); } else if (type instanceof GenericArrayType) { - return new C0151a(((GenericArrayType) type).getGenericComponentType()); + return new C0150a(((GenericArrayType) type).getGenericComponentType()); } else { if (!(type instanceof WildcardType)) { return type; @@ -206,7 +207,7 @@ public final class a { } public static void b(Type type) { - c.i.a.f.e.o.c.j(!(type instanceof Class) || !((Class) type).isPrimitive()); + f.r(!(type instanceof Class) || !((Class) type).isPrimitive()); } public static boolean c(Type type, Type type2) { @@ -283,7 +284,7 @@ public final class a { } if (type instanceof ParameterizedType) { Type rawType = ((ParameterizedType) type).getRawType(); - c.i.a.f.e.o.c.j(rawType instanceof Class); + f.r(rawType instanceof Class); return (Class) rawType; } else if (type instanceof GenericArrayType) { return Array.newInstance(e(((GenericArrayType) type).getGenericComponentType()), 0).getClass(); @@ -303,7 +304,7 @@ public final class a { if (type instanceof WildcardType) { type = ((WildcardType) type).getUpperBounds()[0]; } - c.i.a.f.e.o.c.j(cls2.isAssignableFrom(cls)); + f.r(cls2.isAssignableFrom(cls)); return g(type, cls, d(type, cls, cls2)); } @@ -349,14 +350,14 @@ public final class a { if (cls3.isArray()) { Class componentType = cls3.getComponentType(); Type h = h(type, cls, componentType, collection); - return componentType == h ? cls3 : new C0151a(h); + return componentType == h ? cls3 : new C0150a(h); } } if (type2 instanceof GenericArrayType) { GenericArrayType genericArrayType = (GenericArrayType) type2; Type genericComponentType = genericArrayType.getGenericComponentType(); Type h2 = h(type, cls, genericComponentType, collection); - return genericComponentType == h2 ? genericArrayType : new C0151a(h2); + return genericComponentType == h2 ? genericArrayType : new C0150a(h2); } else if (type2 instanceof ParameterizedType) { ParameterizedType parameterizedType = (ParameterizedType) type2; Type ownerType = parameterizedType.getOwnerType(); diff --git a/app/src/main/java/c/i/d/q/f.java b/app/src/main/java/c/i/d/q/f.java index 74a11cb0cf..3b4adb03b6 100644 --- a/app/src/main/java/c/i/d/q/f.java +++ b/app/src/main/java/c/i/d/q/f.java @@ -12,12 +12,12 @@ public class f implements r { public final /* synthetic */ Class b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ Type f1475c; + public final /* synthetic */ Type f1430c; public f(g gVar, Class cls, Type type) { w wVar; this.b = cls; - this.f1475c = type; + this.f1430c = type; try { Class cls2 = Class.forName("sun.misc.Unsafe"); Field declaredField = cls2.getDeclaredField("theUnsafe"); @@ -50,10 +50,10 @@ public class f implements r { try { return this.a.b(this.b); } catch (Exception e) { - StringBuilder O = a.O("Unable to invoke no-args constructor for "); - O.append(this.f1475c); - O.append(". Registering an InstanceCreator with Gson for this type may fix this problem."); - throw new RuntimeException(O.toString(), e); + StringBuilder R = a.R("Unable to invoke no-args constructor for "); + R.append(this.f1430c); + R.append(". Registering an InstanceCreator with Gson for this type may fix this problem."); + throw new RuntimeException(R.toString(), e); } } } diff --git a/app/src/main/java/c/i/d/q/h.java b/app/src/main/java/c/i/d/q/h.java index 92e305cf0e..3c9e76c8dd 100644 --- a/app/src/main/java/c/i/d/q/h.java +++ b/app/src/main/java/c/i/d/q/h.java @@ -17,15 +17,15 @@ public class h implements r { try { return this.a.newInstance(null); } catch (InstantiationException e) { - StringBuilder O = a.O("Failed to invoke "); - O.append(this.a); - O.append(" with no args"); - throw new RuntimeException(O.toString(), e); + StringBuilder R = a.R("Failed to invoke "); + R.append(this.a); + R.append(" with no args"); + throw new RuntimeException(R.toString(), e); } catch (InvocationTargetException e2) { - StringBuilder O2 = a.O("Failed to invoke "); - O2.append(this.a); - O2.append(" with no args"); - throw new RuntimeException(O2.toString(), e2.getTargetException()); + StringBuilder R2 = a.R("Failed to invoke "); + R2.append(this.a); + R2.append(" with no args"); + throw new RuntimeException(R2.toString(), e2.getTargetException()); } catch (IllegalAccessException e3) { throw new AssertionError(e3); } diff --git a/app/src/main/java/c/i/d/q/j.java b/app/src/main/java/c/i/d/q/j.java index a0459fccf9..327133f367 100644 --- a/app/src/main/java/c/i/d/q/j.java +++ b/app/src/main/java/c/i/d/q/j.java @@ -22,12 +22,12 @@ public class j implements r { if (type2 instanceof Class) { return EnumSet.noneOf((Class) type2); } - StringBuilder O = a.O("Invalid EnumSet type: "); - O.append(this.a.toString()); - throw new JsonIOException(O.toString()); + StringBuilder R = a.R("Invalid EnumSet type: "); + R.append(this.a.toString()); + throw new JsonIOException(R.toString()); } - StringBuilder O2 = a.O("Invalid EnumSet type: "); - O2.append(this.a.toString()); - throw new JsonIOException(O2.toString()); + StringBuilder R2 = a.R("Invalid EnumSet type: "); + R2.append(this.a.toString()); + throw new JsonIOException(R2.toString()); } } diff --git a/app/src/main/java/c/i/d/q/w.java b/app/src/main/java/c/i/d/q/w.java index e3a1dc2ba2..2c6c7c750f 100644 --- a/app/src/main/java/c/i/d/q/w.java +++ b/app/src/main/java/c/i/d/q/w.java @@ -7,13 +7,13 @@ public abstract class w { public static void a(Class cls) { int modifiers = cls.getModifiers(); if (Modifier.isInterface(modifiers)) { - StringBuilder O = a.O("Interface can't be instantiated! Interface name: "); - O.append(cls.getName()); - throw new UnsupportedOperationException(O.toString()); + StringBuilder R = a.R("Interface can't be instantiated! Interface name: "); + R.append(cls.getName()); + throw new UnsupportedOperationException(R.toString()); } else if (Modifier.isAbstract(modifiers)) { - StringBuilder O2 = a.O("Abstract class can't be instantiated! Class name: "); - O2.append(cls.getName()); - throw new UnsupportedOperationException(O2.toString()); + StringBuilder R2 = a.R("Abstract class can't be instantiated! Class name: "); + R2.append(cls.getName()); + throw new UnsupportedOperationException(R2.toString()); } } diff --git a/app/src/main/java/c/i/d/q/x/a.java b/app/src/main/java/c/i/d/q/x/a.java index ec3224fe5d..2b469a83f1 100644 --- a/app/src/main/java/c/i/d/q/x/a.java +++ b/app/src/main/java/c/i/d/q/x/a.java @@ -17,10 +17,10 @@ import java.util.Map; public final class a extends JsonReader { /* renamed from: y reason: collision with root package name */ - public static final Reader f1476y = new C0152a(); + public static final Reader f1431y = new C0151a(); /* renamed from: z reason: collision with root package name */ - public static final Object f1477z = new Object(); + public static final Object f1432z = new Object(); public Object[] A = new Object[32]; public int B = 0; public String[] C = new String[32]; @@ -28,7 +28,7 @@ public final class a extends JsonReader { /* compiled from: JsonTreeReader */ /* renamed from: c.i.d.q.x.a$a reason: collision with other inner class name */ - public class C0152a extends Reader { + public class C0151a extends Reader { @Override // java.io.Reader, java.io.Closeable, java.lang.AutoCloseable public void close() throws IOException { throw new AssertionError(); @@ -41,22 +41,22 @@ public final class a extends JsonReader { } public a(JsonElement jsonElement) { - super(f1476y); + super(f1431y); c0(jsonElement); } private String t() { - StringBuilder O = c.d.b.a.a.O(" at path "); - O.append(getPath()); - return O.toString(); + StringBuilder R = c.d.b.a.a.R(" at path "); + R.append(getPath()); + return R.toString(); } @Override // com.google.gson.stream.JsonReader - public long B() throws IOException { + public long A() throws IOException { JsonToken N = N(); JsonToken jsonToken = JsonToken.NUMBER; if (N == jsonToken || N == JsonToken.STRING) { - k kVar = (k) a0(); + k kVar = (k) X(); long longValue = kVar.a instanceof Number ? kVar.i().longValue() : Long.parseLong(kVar.g()); b0(); int i = this.B; @@ -73,7 +73,7 @@ public final class a extends JsonReader { @Override // com.google.gson.stream.JsonReader public String C() throws IOException { W(JsonToken.NAME); - Map.Entry entry = (Map.Entry) ((Iterator) a0()).next(); + Map.Entry entry = (Map.Entry) ((Iterator) X()).next(); String str = (String) entry.getKey(); this.C[this.B - 1] = str; c0(entry.getValue()); @@ -93,7 +93,7 @@ public final class a extends JsonReader { } @Override // com.google.gson.stream.JsonReader - public String K() throws IOException { + public String J() throws IOException { JsonToken N = N(); JsonToken jsonToken = JsonToken.STRING; if (N == jsonToken || N == JsonToken.NUMBER) { @@ -114,10 +114,10 @@ public final class a extends JsonReader { if (this.B == 0) { return JsonToken.END_DOCUMENT; } - Object a02 = a0(); - if (a02 instanceof Iterator) { + Object X = X(); + if (X instanceof Iterator) { boolean z2 = this.A[this.B - 2] instanceof JsonObject; - Iterator it = (Iterator) a02; + Iterator it = (Iterator) X; if (!it.hasNext()) { return z2 ? JsonToken.END_OBJECT : JsonToken.END_ARRAY; } @@ -126,14 +126,14 @@ public final class a extends JsonReader { } c0(it.next()); return N(); - } else if (a02 instanceof JsonObject) { + } else if (X instanceof JsonObject) { return JsonToken.BEGIN_OBJECT; } else { - if (a02 instanceof g) { + if (X instanceof g) { return JsonToken.BEGIN_ARRAY; } - if (a02 instanceof k) { - Object obj = ((k) a02).a; + if (X instanceof k) { + Object obj = ((k) X).a; if (obj instanceof String) { return JsonToken.STRING; } @@ -144,10 +144,10 @@ public final class a extends JsonReader { return JsonToken.NUMBER; } throw new AssertionError(); - } else if (a02 instanceof j) { + } else if (X instanceof j) { return JsonToken.NULL; } else { - if (a02 == f1477z) { + if (X == f1432z) { throw new IllegalStateException("JsonReader is closed"); } throw new AssertionError(); @@ -181,21 +181,21 @@ public final class a extends JsonReader { } } + public final Object X() { + return this.A[this.B - 1]; + } + @Override // com.google.gson.stream.JsonReader public void a() throws IOException { W(JsonToken.BEGIN_ARRAY); - c0(((g) a0()).iterator()); + c0(((g) X()).iterator()); this.D[this.B - 1] = 0; } - public final Object a0() { - return this.A[this.B - 1]; - } - @Override // com.google.gson.stream.JsonReader public void b() throws IOException { W(JsonToken.BEGIN_OBJECT); - c0(new LinkedTreeMap.b.a((LinkedTreeMap.b) ((JsonObject) a0()).j())); + c0(new LinkedTreeMap.b.a((LinkedTreeMap.b) ((JsonObject) X()).j())); } public final Object b0() { @@ -224,7 +224,7 @@ public final class a extends JsonReader { @Override // com.google.gson.stream.JsonReader, java.io.Closeable, java.lang.AutoCloseable public void close() throws IOException { - this.A = new Object[]{f1477z}; + this.A = new Object[]{f1432z}; this.B = 1; } @@ -256,34 +256,34 @@ public final class a extends JsonReader { @Override // com.google.gson.stream.JsonReader public String getPath() { - StringBuilder M = c.d.b.a.a.M('$'); + StringBuilder N = c.d.b.a.a.N('$'); int i = 0; while (i < this.B) { Object[] objArr = this.A; if (objArr[i] instanceof g) { i++; if (objArr[i] instanceof Iterator) { - M.append('['); - M.append(this.D[i]); - M.append(']'); + N.append('['); + N.append(this.D[i]); + N.append(']'); } } else if (objArr[i] instanceof JsonObject) { i++; if (objArr[i] instanceof Iterator) { - M.append('.'); + N.append('.'); String[] strArr = this.C; if (strArr[i] != null) { - M.append(strArr[i]); + N.append(strArr[i]); } } } i++; } - return M.toString(); + return N.toString(); } @Override // com.google.gson.stream.JsonReader - public boolean r() throws IOException { + public boolean q() throws IOException { JsonToken N = N(); return (N == JsonToken.END_OBJECT || N == JsonToken.END_ARRAY) ? false : true; } @@ -294,7 +294,7 @@ public final class a extends JsonReader { } @Override // com.google.gson.stream.JsonReader - public boolean w() throws IOException { + public boolean u() throws IOException { W(JsonToken.BOOLEAN); boolean h = ((k) b0()).h(); int i = this.B; @@ -311,7 +311,7 @@ public final class a extends JsonReader { JsonToken N = N(); JsonToken jsonToken = JsonToken.NUMBER; if (N == jsonToken || N == JsonToken.STRING) { - k kVar = (k) a0(); + k kVar = (k) X(); double doubleValue = kVar.a instanceof Number ? kVar.i().doubleValue() : Double.parseDouble(kVar.g()); if (this.k || (!Double.isNaN(doubleValue) && !Double.isInfinite(doubleValue))) { b0(); @@ -329,11 +329,11 @@ public final class a extends JsonReader { } @Override // com.google.gson.stream.JsonReader - public int z() throws IOException { + public int y() throws IOException { JsonToken N = N(); JsonToken jsonToken = JsonToken.NUMBER; if (N == jsonToken || N == JsonToken.STRING) { - int c2 = ((k) a0()).c(); + int c2 = ((k) X()).c(); b0(); int i = this.B; if (i > 0) { diff --git a/app/src/main/java/c/i/d/q/x/b.java b/app/src/main/java/c/i/d/q/x/b.java index cd3d29c12b..0842485e1e 100644 --- a/app/src/main/java/c/i/d/q/x/b.java +++ b/app/src/main/java/c/i/d/q/x/b.java @@ -15,12 +15,10 @@ public final class b extends JsonWriter { public static final Writer t = new a(); public static final k u = new k("closed"); public final List v = new ArrayList(); - - /* renamed from: w reason: collision with root package name */ - public String f1478w; + public String w; /* renamed from: x reason: collision with root package name */ - public JsonElement f1479x = j.a; + public JsonElement f1433x = j.a; /* compiled from: JsonTreeWriter */ public class a extends Writer { @@ -45,25 +43,25 @@ public final class b extends JsonWriter { } @Override // com.google.gson.stream.JsonWriter - public JsonWriter B(long j) throws IOException { - Q(new k(Long.valueOf(j))); + public JsonWriter A(long j) throws IOException { + O(new k(Long.valueOf(j))); return this; } @Override // com.google.gson.stream.JsonWriter public JsonWriter C(Boolean bool) throws IOException { if (bool == null) { - Q(j.a); + O(j.a); return this; } - Q(new k(bool)); + O(new k(bool)); return this; } @Override // com.google.gson.stream.JsonWriter - public JsonWriter G(Number number) throws IOException { + public JsonWriter D(Number number) throws IOException { if (number == null) { - Q(j.a); + O(j.a); return this; } if (!this.p) { @@ -72,33 +70,33 @@ public final class b extends JsonWriter { throw new IllegalArgumentException("JSON forbids NaN and infinities: " + number); } } - Q(new k(number)); + O(new k(number)); return this; } @Override // com.google.gson.stream.JsonWriter public JsonWriter H(String str) throws IOException { if (str == null) { - Q(j.a); + O(j.a); return this; } - Q(new k(str)); + O(new k(str)); return this; } @Override // com.google.gson.stream.JsonWriter public JsonWriter I(boolean z2) throws IOException { - Q(new k(Boolean.valueOf(z2))); + O(new k(Boolean.valueOf(z2))); return this; } - public JsonElement M() { + public JsonElement L() { if (this.v.isEmpty()) { - return this.f1479x; + return this.f1433x; } - StringBuilder O = c.d.b.a.a.O("Expected one JSON element but was "); - O.append(this.v); - throw new IllegalStateException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Expected one JSON element but was "); + R.append(this.v); + throw new IllegalStateException(R.toString()); } public final JsonElement N() { @@ -106,14 +104,14 @@ public final class b extends JsonWriter { return list.get(list.size() - 1); } - public final void Q(JsonElement jsonElement) { - if (this.f1478w != null) { - if (!(jsonElement instanceof j) || this.s) { - ((JsonObject) N()).a.put(this.f1478w, jsonElement); + public final void O(JsonElement jsonElement) { + if (this.w != null) { + if (!(jsonElement instanceof j) || this.f2469s) { + ((JsonObject) N()).a.put(this.w, jsonElement); } - this.f1478w = null; + this.w = null; } else if (this.v.isEmpty()) { - this.f1479x = jsonElement; + this.f1433x = jsonElement; } else { JsonElement N = N(); if (N instanceof g) { @@ -127,7 +125,7 @@ public final class b extends JsonWriter { @Override // com.google.gson.stream.JsonWriter public JsonWriter b() throws IOException { g gVar = new g(); - Q(gVar); + O(gVar); this.v.add(gVar); return this; } @@ -135,7 +133,7 @@ public final class b extends JsonWriter { @Override // com.google.gson.stream.JsonWriter public JsonWriter c() throws IOException { JsonObject jsonObject = new JsonObject(); - Q(jsonObject); + O(jsonObject); this.v.add(jsonObject); return this; } @@ -151,7 +149,7 @@ public final class b extends JsonWriter { @Override // com.google.gson.stream.JsonWriter public JsonWriter e() throws IOException { - if (this.v.isEmpty() || this.f1478w != null) { + if (this.v.isEmpty() || this.w != null) { throw new IllegalStateException(); } else if (N() instanceof g) { List list = this.v; @@ -164,7 +162,7 @@ public final class b extends JsonWriter { @Override // com.google.gson.stream.JsonWriter public JsonWriter f() throws IOException { - if (this.v.isEmpty() || this.f1478w != null) { + if (this.v.isEmpty() || this.w != null) { throw new IllegalStateException(); } else if (N() instanceof JsonObject) { List list = this.v; @@ -180,11 +178,11 @@ public final class b extends JsonWriter { } @Override // com.google.gson.stream.JsonWriter - public JsonWriter p(String str) throws IOException { - if (this.v.isEmpty() || this.f1478w != null) { + public JsonWriter n(String str) throws IOException { + if (this.v.isEmpty() || this.w != null) { throw new IllegalStateException(); } else if (N() instanceof JsonObject) { - this.f1478w = str; + this.w = str; return this; } else { throw new IllegalStateException(); @@ -193,7 +191,7 @@ public final class b extends JsonWriter { @Override // com.google.gson.stream.JsonWriter public JsonWriter s() throws IOException { - Q(j.a); + O(j.a); return this; } } diff --git a/app/src/main/java/c/i/d/q/x/d/a.java b/app/src/main/java/c/i/d/q/x/d/a.java index cb7559fd4b..f64428273b 100644 --- a/app/src/main/java/c/i/d/q/x/d/a.java +++ b/app/src/main/java/c/i/d/q/x/d/a.java @@ -161,10 +161,10 @@ public class a { } String message = e.getMessage(); if (message == null || message.isEmpty()) { - StringBuilder O = c.d.b.a.a.O("("); - O.append(e.getClass().getName()); - O.append(")"); - message = O.toString(); + StringBuilder R = c.d.b.a.a.R("("); + R.append(e.getClass().getName()); + R.append(")"); + message = R.toString(); } ParseException parseException = new ParseException("Failed to parse date [" + str2 + "]: " + message, parsePosition.getIndex()); parseException.initCause(e); @@ -184,9 +184,9 @@ public class a { if (digit >= 0) { i3 = -digit; } else { - StringBuilder O = c.d.b.a.a.O("Invalid number: "); - O.append(str.substring(i, i2)); - throw new NumberFormatException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Invalid number: "); + R.append(str.substring(i, i2)); + throw new NumberFormatException(R.toString()); } } else { i3 = 0; @@ -199,9 +199,9 @@ public class a { i3 = (i3 * 10) - digit2; i4 = i5; } else { - StringBuilder O2 = c.d.b.a.a.O("Invalid number: "); - O2.append(str.substring(i, i2)); - throw new NumberFormatException(O2.toString()); + StringBuilder R2 = c.d.b.a.a.R("Invalid number: "); + R2.append(str.substring(i, i2)); + throw new NumberFormatException(R2.toString()); } } return -i3; diff --git a/app/src/main/java/c/i/d/q/y/c.java b/app/src/main/java/c/i/d/q/y/c.java index 629a15486c..b6ce9a4049 100644 --- a/app/src/main/java/c/i/d/q/y/c.java +++ b/app/src/main/java/c/i/d/q/y/c.java @@ -8,7 +8,7 @@ public final class c extends b { public static Class b; /* renamed from: c reason: collision with root package name */ - public final Object f1480c; + public final Object f1434c; public final Field d; public c() { @@ -23,7 +23,7 @@ public final class c extends b { } catch (Exception unused) { obj = null; } - this.f1480c = obj; + this.f1434c = obj; try { field = AccessibleObject.class.getDeclaredField("override"); } catch (NoSuchFieldException unused2) { @@ -34,9 +34,9 @@ public final class c extends b { @Override // c.i.d.q.y.b public void a(AccessibleObject accessibleObject) { boolean z2 = false; - if (!(this.f1480c == null || this.d == null)) { + if (!(this.f1434c == null || this.d == null)) { try { - b.getMethod("putBoolean", Object.class, Long.TYPE, Boolean.TYPE).invoke(this.f1480c, accessibleObject, Long.valueOf(((Long) b.getMethod("objectFieldOffset", Field.class).invoke(this.f1480c, this.d)).longValue()), Boolean.TRUE); + b.getMethod("putBoolean", Object.class, Long.TYPE, Boolean.TYPE).invoke(this.f1434c, accessibleObject, Long.valueOf(((Long) b.getMethod("objectFieldOffset", Field.class).invoke(this.f1434c, this.d)).longValue()), Boolean.TRUE); z2 = true; } catch (Exception unused) { } diff --git a/app/src/main/java/c/i/e/c.java b/app/src/main/java/c/i/e/c.java index 74e9904c63..c155a5fcdf 100644 --- a/app/src/main/java/c/i/e/c.java +++ b/app/src/main/java/c/i/e/c.java @@ -29,7 +29,7 @@ public final class c { hVar.b(i2); int[] iArr = hVar.d; for (int i4 = 1; i4 < 5; i4++) { - byte[] b = fVar.b((i3 * i4) / 5, hVar.f1500c); + byte[] b = fVar.b((i3 * i4) / 5, hVar.f1452c); int i5 = (i2 << 2) / 5; for (int i6 = i2 / 5; i6 < i5; i6++) { int i7 = (b[i6] & 255) >> 3; @@ -224,7 +224,7 @@ public final class c { } } hVar.b(i3); - byte[] b = fVar.b(i, hVar.f1500c); + byte[] b = fVar.b(i, hVar.f1452c); int[] iArr = hVar.d; int i5 = 0; while (true) { diff --git a/app/src/main/java/c/i/e/e.java b/app/src/main/java/c/i/e/e.java index 3db365b4fa..35be385afa 100644 --- a/app/src/main/java/c/i/e/e.java +++ b/app/src/main/java/c/i/e/e.java @@ -3,16 +3,16 @@ package c.i.e; public final class e extends f { /* renamed from: c reason: collision with root package name */ - public final f f1487c; + public final f f1440c; public e(f fVar) { super(fVar.a, fVar.b); - this.f1487c = fVar; + this.f1440c = fVar; } @Override // c.i.e.f public byte[] a() { - byte[] a = this.f1487c.a(); + byte[] a = this.f1440c.a(); int i = this.a * this.b; byte[] bArr = new byte[i]; for (int i2 = 0; i2 < i; i2++) { @@ -23,7 +23,7 @@ public final class e extends f { @Override // c.i.e.f public byte[] b(int i, byte[] bArr) { - byte[] b = this.f1487c.b(i, bArr); + byte[] b = this.f1440c.b(i, bArr); int i2 = this.a; for (int i3 = 0; i3 < i2; i3++) { b[i3] = (byte) (255 - (b[i3] & 255)); @@ -33,11 +33,11 @@ public final class e extends f { @Override // c.i.e.f public boolean c() { - return this.f1487c.c(); + return this.f1440c.c(); } @Override // c.i.e.f public f d() { - return new e(this.f1487c.d()); + return new e(this.f1440c.d()); } } diff --git a/app/src/main/java/c/i/e/h.java b/app/src/main/java/c/i/e/h.java index 8b35fe4252..6f20ed102e 100644 --- a/app/src/main/java/c/i/e/h.java +++ b/app/src/main/java/c/i/e/h.java @@ -3,7 +3,7 @@ package c.i.e; public final class h extends f { /* renamed from: c reason: collision with root package name */ - public final byte[] f1488c; + public final byte[] f1441c; public final int d; public final int e; public final int f; @@ -14,7 +14,7 @@ public final class h extends f { if (i3 + i5 > i || i4 + i6 > i2) { throw new IllegalArgumentException("Crop rectangle does not fit within image data."); } - this.f1488c = bArr; + this.f1441c = bArr; this.d = i; this.e = i2; this.f = i3; @@ -45,17 +45,17 @@ public final class h extends f { int i2 = this.b; int i3 = this.d; if (i == i3 && i2 == this.e) { - return this.f1488c; + return this.f1441c; } int i4 = i * i2; byte[] bArr = new byte[i4]; int i5 = (this.g * i3) + this.f; if (i == i3) { - System.arraycopy(this.f1488c, i5, bArr, 0, i4); + System.arraycopy(this.f1441c, i5, bArr, 0, i4); return bArr; } for (int i6 = 0; i6 < i2; i6++) { - System.arraycopy(this.f1488c, i5, bArr, i6 * i, i); + System.arraycopy(this.f1441c, i5, bArr, i6 * i, i); i5 += this.d; } return bArr; @@ -70,7 +70,7 @@ public final class h extends f { if (bArr == null || bArr.length < i2) { bArr = new byte[i2]; } - System.arraycopy(this.f1488c, ((i + this.g) * this.d) + this.f, bArr, 0, i2); + System.arraycopy(this.f1441c, ((i + this.g) * this.d) + this.f, bArr, 0, i2); return bArr; } } diff --git a/app/src/main/java/c/i/e/k.java b/app/src/main/java/c/i/e/k.java index 5c5ef2802a..2445d54aaf 100644 --- a/app/src/main/java/c/i/e/k.java +++ b/app/src/main/java/c/i/e/k.java @@ -1,6 +1,6 @@ package c.i.e; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: ResultPoint */ public class k { public final float a; @@ -12,7 +12,7 @@ public class k { } public static float a(k kVar, k kVar2) { - return c.x(kVar.a, kVar.b, kVar2.a, kVar2.b); + return f.J(kVar.a, kVar.b, kVar2.a, kVar2.b); } public static void b(k[] kVarArr) { diff --git a/app/src/main/java/c/i/e/m/a.java b/app/src/main/java/c/i/e/m/a.java index 200c2a5fb2..605047d05a 100644 --- a/app/src/main/java/c/i/e/m/a.java +++ b/app/src/main/java/c/i/e/m/a.java @@ -7,13 +7,13 @@ import c.i.e.n.g; public final class a extends g { /* renamed from: c reason: collision with root package name */ - public final boolean f1490c; + public final boolean f1443c; public final int d; public final int e; public a(b bVar, k[] kVarArr, boolean z2, int i, int i2) { super(bVar, kVarArr); - this.f1490c = z2; + this.f1443c = z2; this.d = i; this.e = i2; } diff --git a/app/src/main/java/c/i/e/m/b.java b/app/src/main/java/c/i/e/m/b.java index aba4a4c16f..f2efc8bf60 100644 --- a/app/src/main/java/c/i/e/m/b.java +++ b/app/src/main/java/c/i/e/m/b.java @@ -47,7 +47,7 @@ public final class b implements i { } while (r11 < r0) { } - Result result = new Result(eVar.f1499c, eVar.a, eVar.b, kVarArr, c.i.e.a.AZTEC, System.currentTimeMillis()); + Result result = new Result(eVar.f1451c, eVar.a, eVar.b, kVarArr, c.i.e.a.AZTEC, System.currentTimeMillis()); list = eVar.d; if (list != null) { } @@ -64,7 +64,7 @@ public final class b implements i { } while (r11 < r0) { } - Result result = new Result(eVar.f1499c, eVar.a, eVar.b, kVarArr, c.i.e.a.AZTEC, System.currentTimeMillis()); + Result result = new Result(eVar.f1451c, eVar.a, eVar.b, kVarArr, c.i.e.a.AZTEC, System.currentTimeMillis()); list = eVar.d; if (list != null) { } @@ -82,7 +82,7 @@ public final class b implements i { } while (r11 < r0) { } - Result result = new Result(eVar.f1499c, eVar.a, eVar.b, kVarArr, c.i.e.a.AZTEC, System.currentTimeMillis()); + Result result = new Result(eVar.f1451c, eVar.a, eVar.b, kVarArr, c.i.e.a.AZTEC, System.currentTimeMillis()); list = eVar.d; if (list != null) { } @@ -100,7 +100,7 @@ public final class b implements i { } while (r11 < r0) { } - Result result = new Result(eVar.f1499c, eVar.a, eVar.b, kVarArr, c.i.e.a.AZTEC, System.currentTimeMillis()); + Result result = new Result(eVar.f1451c, eVar.a, eVar.b, kVarArr, c.i.e.a.AZTEC, System.currentTimeMillis()); list = eVar.d; if (list != null) { } @@ -129,7 +129,7 @@ public final class b implements i { lVar.a(kVar); } } - Result result = new Result(eVar.f1499c, eVar.a, eVar.b, kVarArr, c.i.e.a.AZTEC, System.currentTimeMillis()); + Result result = new Result(eVar.f1451c, eVar.a, eVar.b, kVarArr, c.i.e.a.AZTEC, System.currentTimeMillis()); list = eVar.d; if (list != null) { result.b(j.BYTE_SEGMENTS, list); diff --git a/app/src/main/java/c/i/e/m/c/a.java b/app/src/main/java/c/i/e/m/c/a.java index ce54321a33..176dcb59e3 100644 --- a/app/src/main/java/c/i/e/m/c/a.java +++ b/app/src/main/java/c/i/e/m/c/a.java @@ -16,7 +16,7 @@ public final class a { public static final String[] b = {"CTRL_PS", " ", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "CTRL_US", "CTRL_ML", "CTRL_DL", "CTRL_BS"}; /* renamed from: c reason: collision with root package name */ - public static final String[] f1491c = {"CTRL_PS", " ", "\u0001", "\u0002", "\u0003", "\u0004", "\u0005", "\u0006", "\u0007", "\b", "\t", "\n", "\u000b", "\f", "\r", "\u001b", "\u001c", "\u001d", "\u001e", "\u001f", "@", "\\", "^", "_", "`", "|", "~", "", "CTRL_LL", "CTRL_UL", "CTRL_PL", "CTRL_BS"}; + public static final String[] f1444c = {"CTRL_PS", " ", "\u0001", "\u0002", "\u0003", "\u0004", "\u0005", "\u0006", "\u0007", "\b", "\t", "\n", "\u000b", "\f", "\r", "\u001b", "\u001c", "\u001d", "\u001e", "\u001f", "@", "\\", "^", "_", "`", "|", "~", "", "CTRL_LL", "CTRL_UL", "CTRL_PL", "CTRL_BS"}; public static final String[] d = {"", "\r", "\r\n", ". ", ", ", ": ", "!", "\"", "#", "$", "%", "&", "'", "(", ")", "*", BadgeDrawable.DEFAULT_EXCEED_MAX_BADGE_NUMBER_SUFFIX, ",", "-", ".", AutocompleteViewModel.COMMAND_DISCOVER_TOKEN, ":", ";", "<", "=", ">", "?", "[", "]", "{", "}", "CTRL_UL"}; public static final String[] e = {"CTRL_PS", " ", "0", "1", ExifInterface.GPS_MEASUREMENT_2D, ExifInterface.GPS_MEASUREMENT_3D, "4", "5", "6", "7", "8", "9", ",", ".", "CTRL_UL", "CTRL_US"}; public c.i.e.m.a f; @@ -38,7 +38,7 @@ public final class a { String str; this.f = aVar; b bVar = aVar.a; - boolean z2 = aVar.f1490c; + boolean z2 = aVar.f1443c; int i2 = aVar.e; int i3 = (z2 ? 11 : 14) + (i2 << 2); int[] iArr = new int[i3]; @@ -102,7 +102,7 @@ public final class a { int i24 = aVar3.e; int i25 = 8; if (i24 <= 2) { - aVar2 = c.i.e.n.l.a.f1503c; + aVar2 = c.i.e.n.l.a.f1455c; i = 6; } else if (i24 <= 8) { aVar2 = c.i.e.n.l.a.g; @@ -213,7 +213,7 @@ public final class a { } else if (h == 1) { str = b[b3]; } else if (h == 2) { - str = f1491c[b3]; + str = f1444c[b3]; } else if (h == 3) { str = e[b3]; } else if (h == 4) { diff --git a/app/src/main/java/c/i/e/m/d/a.java b/app/src/main/java/c/i/e/m/d/a.java index c51821d640..6f3d78ca12 100644 --- a/app/src/main/java/c/i/e/m/d/a.java +++ b/app/src/main/java/c/i/e/m/d/a.java @@ -1,10 +1,10 @@ package c.i.e.m.d; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.i.e.k; import c.i.e.n.b; -import c.i.e.n.f; import c.i.e.n.i; +import c.i.e.n.l.c; import com.google.zxing.NotFoundException; import com.google.zxing.common.reedsolomon.ReedSolomonException; /* compiled from: Detector */ @@ -13,7 +13,7 @@ public final class a { public final b b; /* renamed from: c reason: collision with root package name */ - public boolean f1492c; + public boolean f1445c; public int d; public int e; public int f; @@ -21,11 +21,11 @@ public final class a { /* compiled from: Detector */ /* renamed from: c.i.e.m.d.a$a reason: collision with other inner class name */ - public static final class C0153a { + public static final class C0152a { public final int a; public final int b; - public C0153a(int i, int i2) { + public C0152a(int i, int i2) { this.a = i; this.b = i2; } @@ -34,7 +34,7 @@ public final class a { StringBuilder sb = new StringBuilder("<"); sb.append(this.a); sb.append(' '); - return c.d.b.a.a.y(sb, this.b, '>'); + return c.d.b.a.a.z(sb, this.b, '>'); } } @@ -73,7 +73,7 @@ public final class a { int i; int i2; long j; - C0153a aVar; + C0152a aVar; int i3 = 2; int i4 = -1; int i5 = 1; @@ -168,17 +168,17 @@ public final class a { kVar2 = kVar10; kVar3 = kVar9; } - int h02 = c.h0((((kVar3.a + kVar4.a) + kVar2.a) + kVar.a) / 4.0f); - int h03 = c.h0((((kVar3.b + kVar4.b) + kVar2.b) + kVar.b) / 4.0f); + int M0 = f.M0((((kVar3.a + kVar4.a) + kVar2.a) + kVar.a) / 4.0f); + int M02 = f.M0((((kVar3.b + kVar4.b) + kVar2.b) + kVar.b) / 4.0f); try { - k[] b2 = new c.i.e.n.k.a(this.b, 15, h02, h03).b(); + k[] b2 = new c.i.e.n.k.a(this.b, 15, M0, M02).b(); kVar7 = b2[0]; kVar6 = b2[1]; kVar5 = b2[2]; kVar8 = b2[3]; } catch (NotFoundException unused2) { - int i28 = h03 - 7; - int i29 = h02 + 7 + 1; + int i28 = M02 - 7; + int i29 = M0 + 7 + 1; int i30 = i29; int i31 = i28; while (true) { @@ -198,7 +198,7 @@ public final class a { i33--; } k kVar12 = new k((float) i34, (float) (i33 + 1)); - int i35 = h03 + 7; + int i35 = M02 + 7; int i36 = i35; while (true) { i36++; @@ -217,7 +217,7 @@ public final class a { i38++; } k kVar13 = new k((float) i39, (float) (i38 - 1)); - int i40 = h02 - 7; + int i40 = M0 - 7; int i41 = i40 - 1; while (true) { i35++; @@ -257,27 +257,27 @@ public final class a { kVar5 = kVar14; kVar6 = kVar13; } - C0153a aVar2 = new C0153a(c.h0((((kVar7.a + kVar8.a) + kVar6.a) + kVar5.a) / 4.0f), c.h0((((kVar7.b + kVar8.b) + kVar6.b) + kVar5.b) / 4.0f)); + C0152a aVar2 = new C0152a(f.M0((((kVar7.a + kVar8.a) + kVar6.a) + kVar5.a) / 4.0f), f.M0((((kVar7.b + kVar8.b) + kVar6.b) + kVar5.b) / 4.0f)); this.f = 1; - C0153a aVar3 = aVar2; - C0153a aVar4 = aVar3; - C0153a aVar5 = aVar4; + C0152a aVar3 = aVar2; + C0152a aVar4 = aVar3; + C0152a aVar5 = aVar4; boolean z3 = true; while (this.f < 9) { - C0153a e = e(aVar2, z3, i5, i4); - C0153a e2 = e(aVar3, z3, i5, i5); - C0153a e3 = e(aVar4, z3, i4, i5); - C0153a e4 = e(aVar5, z3, i4, i4); + C0152a e = e(aVar2, z3, i5, i4); + C0152a e2 = e(aVar3, z3, i5, i5); + C0152a e3 = e(aVar4, z3, i4, i5); + C0152a e4 = e(aVar5, z3, i4, i4); if (this.f > i3) { - double y2 = (double) ((c.y(e4.a, e4.b, e.a, e.b) * ((float) this.f)) / (c.y(aVar5.a, aVar5.b, aVar2.a, aVar2.b) * ((float) (this.f + i3)))); - if (y2 < 0.75d || y2 > 1.25d) { + double K = (double) ((f.K(e4.a, e4.b, e.a, e.b) * ((float) this.f)) / (f.K(aVar5.a, aVar5.b, aVar2.a, aVar2.b) * ((float) (this.f + i3)))); + if (K < 0.75d || K > 1.25d) { break; } - C0153a aVar6 = new C0153a(e.a - 3, e.b + 3); - C0153a aVar7 = new C0153a(e2.a - 3, e2.b - 3); - C0153a aVar8 = new C0153a(e3.a + 3, e3.b - 3); + C0152a aVar6 = new C0152a(e.a - 3, e.b + 3); + C0152a aVar7 = new C0152a(e2.a - 3, e2.b - 3); + C0152a aVar8 = new C0152a(e3.a + 3, e3.b - 3); aVar = e; - C0153a aVar9 = new C0153a(e4.a + 3, e4.b + 3); + C0152a aVar9 = new C0152a(e4.a + 3, e4.b + 3); int c2 = c(aVar9, aVar6); if (!(c2 != 0 && c(aVar6, aVar7) == c2 && c(aVar7, aVar8) == c2 && c(aVar8, aVar9) == c2)) { break; @@ -297,7 +297,7 @@ public final class a { } int i48 = this.f; if (i48 == 5 || i48 == 7) { - this.f1492c = i48 == 5; + this.f1445c = i48 == 5; int i49 = i48 * 2; k[] b3 = b(new k[]{new k(((float) aVar2.a) + 0.5f, ((float) aVar2.b) - 0.5f), new k(((float) aVar3.a) + 0.5f, ((float) aVar3.b) + 0.5f), new k(((float) aVar4.a) - 0.5f, ((float) aVar4.b) + 0.5f), new k(((float) aVar5.a) - 0.5f, ((float) aVar5.b) - 0.5f)}, i49 - 3, i49); if (z2) { @@ -322,7 +322,7 @@ public final class a { long j2 = 0; for (int i56 = 0; i56 < 4; i56++) { int i57 = iArr[(this.g + i56) % 4]; - if (this.f1492c) { + if (this.f1445c) { j = j2 << 7; i2 = (i57 >> 1) & 127; } else { @@ -332,7 +332,7 @@ public final class a { j2 = j + ((long) i2); } int i58 = 7; - if (this.f1492c) { + if (this.f1445c) { i = 2; } else { i = 4; @@ -353,12 +353,12 @@ public final class a { } } } - new c.i.e.n.l.c(c.i.e.n.l.a.d).a(iArr2, i59); + new c(c.i.e.n.l.a.d).a(iArr2, i59); int i60 = 0; for (int i61 = 0; i61 < i; i61++) { i60 = (i60 << 4) + iArr2[i61]; } - if (this.f1492c) { + if (this.f1445c) { this.d = (i60 >> 6) + 1; this.e = (i60 & 63) + 1; } else { @@ -371,13 +371,13 @@ public final class a { k kVar17 = b3[(i62 + 1) % 4]; k kVar18 = b3[(i62 + 2) % 4]; k kVar19 = b3[(i62 + 3) % 4]; - f fVar = f.a; + c.i.e.n.f fVar = c.i.e.n.f.a; int d = d(); float f = ((float) d) / 2.0f; float f2 = (float) this.f; float f3 = f - f2; float f4 = f + f2; - return new c.i.e.m.a(fVar.a(bVar3, d, d, i.a(f3, f3, f4, f3, f4, f4, f3, f4, kVar16.a, kVar16.b, kVar17.a, kVar17.b, kVar18.a, kVar18.b, kVar19.a, kVar19.b)), b(b3, this.f * 2, d()), this.f1492c, this.e, this.d); + return new c.i.e.m.a(fVar.a(bVar3, d, d, i.a(f3, f3, f4, f3, f4, f4, f3, f4, kVar16.a, kVar16.b, kVar17.a, kVar17.b, kVar18.a, kVar18.b, kVar19.a, kVar19.b)), b(b3, this.f * 2, d()), this.f1445c, this.e, this.d); } } throw NotFoundException.k; @@ -385,28 +385,28 @@ public final class a { throw NotFoundException.k; } - public final int c(C0153a aVar, C0153a aVar2) { - float y2 = c.y(aVar.a, aVar.b, aVar2.a, aVar2.b); + public final int c(C0152a aVar, C0152a aVar2) { + float K = f.K(aVar.a, aVar.b, aVar2.a, aVar2.b); int i = aVar2.a; int i2 = aVar.a; - float f = ((float) (i - i2)) / y2; + float f = ((float) (i - i2)) / K; int i3 = aVar2.b; int i4 = aVar.b; - float f2 = ((float) (i3 - i4)) / y2; + float f2 = ((float) (i3 - i4)) / K; float f3 = (float) i2; float f4 = (float) i4; boolean f5 = this.b.f(i2, i4); - int ceil = (int) Math.ceil((double) y2); + int ceil = (int) Math.ceil((double) K); boolean z2 = false; int i5 = 0; for (int i6 = 0; i6 < ceil; i6++) { f3 += f; f4 += f2; - if (this.b.f(c.h0(f3), c.h0(f4)) != f5) { + if (this.b.f(f.M0(f3), f.M0(f4)) != f5) { i5++; } } - float f6 = ((float) i5) / y2; + float f6 = ((float) i5) / K; if (f6 > 0.1f && f6 < 0.9f) { return 0; } @@ -417,7 +417,7 @@ public final class a { } public final int d() { - if (this.f1492c) { + if (this.f1445c) { return (this.d * 4) + 11; } int i = this.d; @@ -427,7 +427,7 @@ public final class a { return ((((i - 4) / 8) + 1) * 2) + (i * 4) + 15; } - public final C0153a e(C0153a aVar, boolean z2, int i, int i2) { + public final C0152a e(C0152a aVar, boolean z2, int i, int i2) { int i3 = aVar.a + i; int i4 = aVar.b; while (true) { @@ -446,7 +446,7 @@ public final class a { while (f(i7, i6) && this.b.f(i7, i6) == z2) { i6 += i2; } - return new C0153a(i7, i6 - i2); + return new C0152a(i7, i6 - i2); } public final boolean f(int i, int i2) { @@ -458,20 +458,20 @@ public final class a { } public final boolean g(k kVar) { - return f(c.h0(kVar.a), c.h0(kVar.b)); + return f(f.M0(kVar.a), f.M0(kVar.b)); } public final int h(k kVar, k kVar2, int i) { - float x2 = c.x(kVar.a, kVar.b, kVar2.a, kVar2.b); - float f = x2 / ((float) i); + float J = f.J(kVar.a, kVar.b, kVar2.a, kVar2.b); + float f = J / ((float) i); float f2 = kVar.a; float f3 = kVar.b; - float f4 = ((kVar2.a - f2) * f) / x2; - float f5 = ((kVar2.b - f3) * f) / x2; + float f4 = ((kVar2.a - f2) * f) / J; + float f5 = ((kVar2.b - f3) * f) / J; int i2 = 0; for (int i3 = 0; i3 < i; i3++) { float f6 = (float) i3; - if (this.b.f(c.h0((f6 * f4) + f2), c.h0((f6 * f5) + f3))) { + if (this.b.f(f.M0((f6 * f4) + f2), f.M0((f6 * f5) + f3))) { i2 |= 1 << ((i - i3) - 1); } } diff --git a/app/src/main/java/c/i/e/n/c.java b/app/src/main/java/c/i/e/n/c.java index 9b4bb2bf5b..2d38444cb6 100644 --- a/app/src/main/java/c/i/e/n/c.java +++ b/app/src/main/java/c/i/e/n/c.java @@ -5,21 +5,21 @@ public final class c { public int b; /* renamed from: c reason: collision with root package name */ - public int f1493c; + public int f1446c; public c(byte[] bArr) { this.a = bArr; } public int a() { - return ((this.a.length - this.b) * 8) - this.f1493c; + return ((this.a.length - this.b) * 8) - this.f1446c; } public int b(int i) { if (i <= 0 || i > 32 || i > a()) { throw new IllegalArgumentException(String.valueOf(i)); } - int i2 = this.f1493c; + int i2 = this.f1446c; int i3 = 0; if (i2 > 0) { int i4 = 8 - i2; @@ -30,9 +30,9 @@ public final class c { int i8 = (((255 >> (8 - i5)) << i6) & bArr[i7]) >> i6; i -= i5; int i9 = i2 + i5; - this.f1493c = i9; + this.f1446c = i9; if (i9 == 8) { - this.f1493c = 0; + this.f1446c = 0; this.b = i7 + 1; } i3 = i8; @@ -53,7 +53,7 @@ public final class c { } int i12 = 8 - i; int i13 = (i3 << i) | ((((255 >> i12) << i12) & this.a[this.b]) >> i12); - this.f1493c += i; + this.f1446c += i; return i13; } } diff --git a/app/src/main/java/c/i/e/n/e.java b/app/src/main/java/c/i/e/n/e.java index 5143d7c6f6..09eb82e039 100644 --- a/app/src/main/java/c/i/e/n/e.java +++ b/app/src/main/java/c/i/e/n/e.java @@ -7,7 +7,7 @@ public final class e { public int b; /* renamed from: c reason: collision with root package name */ - public final String f1499c; + public final String f1451c; public final List d; public final String e; public Object f; @@ -21,7 +21,7 @@ public final class e { public e(byte[] bArr, String str, List list, String str2, int i, int i2) { this.a = bArr; this.b = bArr == null ? 0 : bArr.length * 8; - this.f1499c = str; + this.f1451c = str; this.d = list; this.e = str2; this.g = i2; diff --git a/app/src/main/java/c/i/e/n/f.java b/app/src/main/java/c/i/e/n/f.java index 7afb914e03..97e0e28576 100644 --- a/app/src/main/java/c/i/e/n/f.java +++ b/app/src/main/java/c/i/e/n/f.java @@ -28,7 +28,7 @@ public final class f { Objects.requireNonNull(iVar); float f2 = iVar.a; float f3 = iVar.b; - float f4 = iVar.f1501c; + float f4 = iVar.f1453c; float f5 = iVar.d; float f6 = iVar.e; float f7 = iVar.f; diff --git a/app/src/main/java/c/i/e/n/h.java b/app/src/main/java/c/i/e/n/h.java index 1f0ff81ce9..37bf6b1369 100644 --- a/app/src/main/java/c/i/e/n/h.java +++ b/app/src/main/java/c/i/e/n/h.java @@ -8,7 +8,7 @@ public final class h extends b { public static final byte[] b = new byte[0]; /* renamed from: c reason: collision with root package name */ - public byte[] f1500c = b; + public byte[] f1452c = b; public final int[] d = new int[32]; public b e; @@ -63,8 +63,8 @@ public final class h extends b { } public final void b(int i) { - if (this.f1500c.length < i) { - this.f1500c = new byte[i]; + if (this.f1452c.length < i) { + this.f1452c = new byte[i]; } for (int i2 = 0; i2 < 32; i2++) { this.d[i2] = 0; diff --git a/app/src/main/java/c/i/e/n/i.java b/app/src/main/java/c/i/e/n/i.java index acc0efbbdd..be1a86d891 100644 --- a/app/src/main/java/c/i/e/n/i.java +++ b/app/src/main/java/c/i/e/n/i.java @@ -5,7 +5,7 @@ public final class i { public final float b; /* renamed from: c reason: collision with root package name */ - public final float f1501c; + public final float f1453c; public final float d; public final float e; public final float f; @@ -16,7 +16,7 @@ public final class i { public i(float f, float f2, float f3, float f4, float f5, float f6, float f7, float f8, float f9) { this.a = f; this.b = f4; - this.f1501c = f7; + this.f1453c = f7; this.d = f2; this.e = f5; this.f = f8; @@ -36,7 +36,7 @@ public final class i { float f23 = b.d; float f24 = (f19 * f22) - (f23 * f18); float f25 = (f23 * f20) - (f17 * f22); - float f26 = b.f1501c; + float f26 = b.f1453c; float f27 = b.b; float f28 = (f26 * f20) - (f27 * f18); float f29 = b.a; @@ -59,7 +59,7 @@ public final class i { float f45 = (f44 * f32) + (f43 * f28) + (f42 * f21); float f46 = (f43 * f30) + (f42 * f24); float f47 = (f43 * f31) + (f42 * f25) + (f44 * f34); - float f48 = b2.f1501c; + float f48 = b2.f1453c; float f49 = b2.f; float f50 = f28 * f49; float f51 = b2.i; diff --git a/app/src/main/java/c/i/e/n/k/a.java b/app/src/main/java/c/i/e/n/k/a.java index 2f3718488c..f4c1919975 100644 --- a/app/src/main/java/c/i/e/n/k/a.java +++ b/app/src/main/java/c/i/e/n/k/a.java @@ -1,6 +1,6 @@ package c.i.e.n.k; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.i.e.k; import c.i.e.n.b; import com.google.zxing.NotFoundException; @@ -10,7 +10,7 @@ public final class a { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f1502c; + public final int f1454c; public final int d; public final int e; public final int f; @@ -21,7 +21,7 @@ public final class a { int i4 = bVar.j; this.b = i4; int i5 = bVar.i; - this.f1502c = i5; + this.f1454c = i5; int i6 = i / 2; int i7 = i2 - i6; this.d = i7; @@ -75,7 +75,7 @@ public final class a { boolean z9 = true; boolean z10 = false; while (true) { - if ((z9 || !z4) && i2 < this.f1502c) { + if ((z9 || !z4) && i2 < this.f1454c) { z9 = a(i3, i4, i2, false); if (z9) { i2++; @@ -86,7 +86,7 @@ public final class a { } } } - if (i2 >= this.f1502c) { + if (i2 >= this.f1454c) { break; } boolean z11 = true; @@ -182,7 +182,7 @@ public final class a { float f6 = kVar4.b; float f7 = kVar3.a; float f8 = kVar3.b; - return f < ((float) this.f1502c) / 2.0f ? new k[]{new k(f7 - 1.0f, f8 + 1.0f), new k(f3 + 1.0f, f4 + 1.0f), new k(f5 - 1.0f, f6 - 1.0f), new k(f + 1.0f, f2 - 1.0f)} : new k[]{new k(f7 + 1.0f, f8 + 1.0f), new k(f3 + 1.0f, f4 - 1.0f), new k(f5 - 1.0f, f6 + 1.0f), new k(f - 1.0f, f2 - 1.0f)}; + return f < ((float) this.f1454c) / 2.0f ? new k[]{new k(f7 - 1.0f, f8 + 1.0f), new k(f3 + 1.0f, f4 + 1.0f), new k(f5 - 1.0f, f6 - 1.0f), new k(f + 1.0f, f2 - 1.0f)} : new k[]{new k(f7 + 1.0f, f8 + 1.0f), new k(f3 + 1.0f, f4 - 1.0f), new k(f5 - 1.0f, f6 + 1.0f), new k(f - 1.0f, f2 - 1.0f)}; } throw NotFoundException.k; } @@ -194,16 +194,16 @@ public final class a { } public final k c(float f, float f2, float f3, float f4) { - int h02 = c.h0(c.x(f, f2, f3, f4)); - float f5 = (float) h02; + int M0 = f.M0(f.J(f, f2, f3, f4)); + float f5 = (float) M0; float f6 = (f3 - f) / f5; float f7 = (f4 - f2) / f5; - for (int i = 0; i < h02; i++) { + for (int i = 0; i < M0; i++) { float f8 = (float) i; - int h03 = c.h0((f8 * f6) + f); - int h04 = c.h0((f8 * f7) + f2); - if (this.a.f(h03, h04)) { - return new k((float) h03, (float) h04); + int M02 = f.M0((f8 * f6) + f); + int M03 = f.M0((f8 * f7) + f2); + if (this.a.f(M02, M03)) { + return new k((float) M02, (float) M03); } } return null; diff --git a/app/src/main/java/c/i/e/n/l/a.java b/app/src/main/java/c/i/e/n/l/a.java index 3c5888ba3b..ade318db6c 100644 --- a/app/src/main/java/c/i/e/n/l/a.java +++ b/app/src/main/java/c/i/e/n/l/a.java @@ -5,7 +5,7 @@ public final class a { public static final a b = new a(1033, 1024, 1); /* renamed from: c reason: collision with root package name */ - public static final a f1503c; + public static final a f1455c; public static final a d = new a(19, 16, 1); public static final a e = new a(285, 256, 0); public static final a f; @@ -21,7 +21,7 @@ public final class a { static { a aVar = new a(67, 64, 1); - f1503c = aVar; + f1455c = aVar; a aVar2 = new a(301, 256, 1); f = aVar2; g = aVar2; @@ -81,6 +81,6 @@ public final class a { StringBuilder sb = new StringBuilder("GF(0x"); sb.append(Integer.toHexString(this.n)); sb.append(','); - return c.d.b.a.a.y(sb, this.m, ')'); + return c.d.b.a.a.z(sb, this.m, ')'); } } diff --git a/app/src/main/java/c/i/e/o/a.java b/app/src/main/java/c/i/e/o/a.java index c2431dc96d..5b02725590 100644 --- a/app/src/main/java/c/i/e/o/a.java +++ b/app/src/main/java/c/i/e/o/a.java @@ -71,8 +71,8 @@ public final class a implements i { if (hashMap.containsKey(kVar)) { kVar = !hashMap.containsKey(kVar2) ? kVar2 : !hashMap.containsKey(kVar3) ? kVar3 : kVar4; } - int i = aVar.e(kVar11, kVar).f1507c; - int i2 = aVar.e(kVar9, kVar).f1507c; + int i = aVar.e(kVar11, kVar).f1459c; + int i2 = aVar.e(kVar9, kVar).f1459c; if ((i & 1) == 1) { i++; } @@ -98,14 +98,14 @@ public final class a implements i { if (!aVar.c(kVar13)) { kVar13 = null; } - } else if (!aVar.c(kVar13) || Math.abs(i4 - aVar.e(kVar9, kVar12).f1507c) + Math.abs(i3 - aVar.e(kVar11, kVar12).f1507c) <= Math.abs(i4 - aVar.e(kVar9, kVar13).f1507c) + Math.abs(i3 - aVar.e(kVar11, kVar13).f1507c)) { + } else if (!aVar.c(kVar13) || Math.abs(i4 - aVar.e(kVar9, kVar12).f1459c) + Math.abs(i3 - aVar.e(kVar11, kVar12).f1459c) <= Math.abs(i4 - aVar.e(kVar9, kVar13).f1459c) + Math.abs(i3 - aVar.e(kVar11, kVar13).f1459c)) { kVar13 = kVar12; } if (kVar13 != null) { kVar = kVar13; } - int i5 = aVar.e(kVar11, kVar).f1507c; - int i6 = aVar.e(kVar9, kVar).f1507c; + int i5 = aVar.e(kVar11, kVar).f1459c; + int i6 = aVar.e(kVar9, kVar).f1459c; if ((i5 & 1) == 1) { i5++; } @@ -131,13 +131,13 @@ public final class a implements i { if (!aVar.c(kVar15)) { kVar15 = null; } - } else if (!aVar.c(kVar15) || Math.abs(aVar.e(kVar11, kVar14).f1507c - aVar.e(kVar9, kVar14).f1507c) <= Math.abs(aVar.e(kVar11, kVar15).f1507c - aVar.e(kVar9, kVar15).f1507c)) { + } else if (!aVar.c(kVar15) || Math.abs(aVar.e(kVar11, kVar14).f1459c - aVar.e(kVar9, kVar14).f1459c) <= Math.abs(aVar.e(kVar11, kVar15).f1459c - aVar.e(kVar9, kVar15).f1459c)) { kVar15 = kVar14; } if (kVar15 != null) { kVar = kVar15; } - int max = Math.max(aVar.e(kVar11, kVar).f1507c, aVar.e(kVar9, kVar).f1507c) + 1; + int max = Math.max(aVar.e(kVar11, kVar).f1459c, aVar.e(kVar9, kVar).f1459c) + 1; if ((max & 1) == 1) { max++; } @@ -190,7 +190,7 @@ public final class a implements i { throw NotFoundException.k; } } - Result result = new Result(eVar.f1499c, eVar.a, kVarArr, c.i.e.a.DATA_MATRIX); + Result result = new Result(eVar.f1451c, eVar.a, kVarArr, c.i.e.a.DATA_MATRIX); List list = eVar.d; if (list != null) { result.b(j.BYTE_SEGMENTS, list); diff --git a/app/src/main/java/c/i/e/o/b/a.java b/app/src/main/java/c/i/e/o/b/a.java index 40f337e7ae..83abcba51b 100644 --- a/app/src/main/java/c/i/e/o/b/a.java +++ b/app/src/main/java/c/i/e/o/b/a.java @@ -8,7 +8,7 @@ public final class a { public final b b; /* renamed from: c reason: collision with root package name */ - public final e f1504c; + public final e f1456c; public a(b bVar) throws FormatException { int i; @@ -21,9 +21,9 @@ public final class a { if ((i2 & 1) == 0 && (i3 & 1) == 0) { e[] eVarArr2 = e.a; for (e eVar : eVarArr2) { - int i4 = eVar.f1506c; + int i4 = eVar.f1458c; if (i4 == i2 && (i = eVar.d) == i3) { - this.f1504c = eVar; + this.f1456c = eVar; if (bVar.j == i4) { int i5 = eVar.e; int i6 = eVar.f; diff --git a/app/src/main/java/c/i/e/o/b/c.java b/app/src/main/java/c/i/e/o/b/c.java index 8e59dcedd5..66accc9101 100644 --- a/app/src/main/java/c/i/e/o/b/c.java +++ b/app/src/main/java/c/i/e/o/b/c.java @@ -7,7 +7,7 @@ public final class c { public static final char[] b; /* renamed from: c reason: collision with root package name */ - public static final char[] f1505c = {'*', '*', '*', ' ', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}; + public static final char[] f1457c = {'*', '*', '*', ' ', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}; public static final char[] d; public static final char[] e = {'`', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '{', '|', '}', '~', 127}; diff --git a/app/src/main/java/c/i/e/o/b/d.java b/app/src/main/java/c/i/e/o/b/d.java index 619c085e8d..8200cedab0 100644 --- a/app/src/main/java/c/i/e/o/b/d.java +++ b/app/src/main/java/c/i/e/o/b/d.java @@ -44,7 +44,7 @@ public final class d { int b2; int b3; a aVar = new a(bVar); - e eVar = aVar.f1504c; + e eVar = aVar.f1456c; int i2 = eVar.h; byte[] bArr = new byte[i2]; b bVar2 = aVar.a; @@ -249,7 +249,7 @@ public final class d { } i5 = 0; } - if (i8 == aVar.f1504c.h) { + if (i8 == aVar.f1456c.h) { e.c cVar = eVar.g; e.b[] bVarArr = cVar.b; int i52 = 0; @@ -551,7 +551,7 @@ public final class d { } else if (i83 < i80) { i81 = i83 + 1; } else { - char[] cArr5 = c.f1505c; + char[] cArr5 = c.f1457c; if (i83 < cArr5.length) { char c7 = cArr5[i83]; if (z11) { @@ -612,7 +612,7 @@ public final class d { if (i87 < 4) { int b5 = cVar2.b(6); if (b5 == 31) { - int i88 = 8 - cVar2.f1493c; + int i88 = 8 - cVar2.f1446c; if (i88 != i60) { cVar2.b(i88); } diff --git a/app/src/main/java/c/i/e/o/b/e.java b/app/src/main/java/c/i/e/o/b/e.java index fc309bb0f7..d0065c0dbf 100644 --- a/app/src/main/java/c/i/e/o/b/e.java +++ b/app/src/main/java/c/i/e/o/b/e.java @@ -7,7 +7,7 @@ public final class e { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f1506c; + public final int f1458c; public final int d; public final int e; public final int f; @@ -43,7 +43,7 @@ public final class e { public e(int i, int i2, int i3, int i4, int i5, c cVar) { this.b = i; - this.f1506c = i2; + this.f1458c = i2; this.d = i3; this.e = i4; this.f = i5; diff --git a/app/src/main/java/c/i/e/o/c/a.java b/app/src/main/java/c/i/e/o/c/a.java index 917719655e..4e4f039cb0 100644 --- a/app/src/main/java/c/i/e/o/c/a.java +++ b/app/src/main/java/c/i/e/o/c/a.java @@ -1,7 +1,7 @@ package c.i.e.o.c; +import c.i.a.f.e.o.f; import c.i.e.k; -import c.i.e.n.f; import c.i.e.n.i; import com.discord.widgets.chat.input.MentionUtilsKt; import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel; @@ -20,28 +20,28 @@ public final class a { public final k b; /* renamed from: c reason: collision with root package name */ - public final int f1507c; + public final int f1459c; - public b(k kVar, k kVar2, int i, C0154a aVar) { + public b(k kVar, k kVar2, int i, C0153a aVar) { this.a = kVar; this.b = kVar2; - this.f1507c = i; + this.f1459c = i; } public String toString() { - return this.a + AutocompleteViewModel.COMMAND_DISCOVER_TOKEN + this.b + MentionUtilsKt.SLASH_CHAR + this.f1507c; + return this.a + AutocompleteViewModel.COMMAND_DISCOVER_TOKEN + this.b + MentionUtilsKt.SLASH_CHAR + this.f1459c; } } /* compiled from: Detector */ public static final class c implements Serializable, Comparator { - public c(C0154a aVar) { + public c(C0153a aVar) { } /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // java.util.Comparator public int compare(b bVar, b bVar2) { - return bVar.f1507c - bVar2.f1507c; + return bVar.f1459c - bVar2.f1459c; } } @@ -51,7 +51,7 @@ public final class a { } public static int a(k kVar, k kVar2) { - return c.i.a.f.e.o.c.h0(c.i.a.f.e.o.c.x(kVar.a, kVar.b, kVar2.a, kVar2.b)); + return f.M0(f.J(kVar.a, kVar.b, kVar2.a, kVar2.b)); } public static void b(Map map, k kVar) { @@ -66,7 +66,7 @@ public final class a { public static c.i.e.n.b d(c.i.e.n.b bVar, k kVar, k kVar2, k kVar3, k kVar4, int i, int i2) throws NotFoundException { float f = ((float) i) - 0.5f; float f2 = ((float) i2) - 0.5f; - return f.a.a(bVar, i, i2, i.a(0.5f, 0.5f, f, 0.5f, f, f2, 0.5f, f2, kVar.a, kVar.b, kVar4.a, kVar4.b, kVar3.a, kVar3.b, kVar2.a, kVar2.b)); + return c.i.e.n.f.a.a(bVar, i, i2, i.a(0.5f, 0.5f, f, 0.5f, f, f2, 0.5f, f2, kVar.a, kVar.b, kVar4.a, kVar4.b, kVar3.a, kVar3.b, kVar2.a, kVar2.b)); } public final boolean c(k kVar) { diff --git a/app/src/main/java/c/i/e/q/a.java b/app/src/main/java/c/i/e/q/a.java index f2d5b63c29..7cd049f53e 100644 --- a/app/src/main/java/c/i/e/q/a.java +++ b/app/src/main/java/c/i/e/q/a.java @@ -12,7 +12,7 @@ public final class a extends k { public static final int[] b = {3, 6, 9, 96, 18, 66, 33, 36, 48, 72, 12, 24, 69, 81, 84, 21, 26, 41, 11, 14}; /* renamed from: c reason: collision with root package name */ - public static final char[] f1508c = {'A', 'B', 'C', 'D'}; + public static final char[] f1460c = {'A', 'B', 'C', 'D'}; public final StringBuilder d = new StringBuilder(20); public int[] e = new int[80]; public int f = 0; @@ -51,7 +51,7 @@ public final class a extends k { int i4 = 1; while (i4 < this.f) { int i5 = i(i4); - if (i5 != -1 && g(f1508c, a[i5])) { + if (i5 != -1 && g(f1460c, a[i5])) { int i6 = 0; for (int i7 = i4; i7 < i4 + 7; i7++) { i6 += this.e[i7]; @@ -64,7 +64,7 @@ public final class a extends k { if (i9 != -1) { this.d.append((char) i9); i8 += 8; - if ((this.d.length() <= 1 || !g(f1508c, a[i9])) && i8 < this.f) { + if ((this.d.length() <= 1 || !g(f1460c, a[i9])) && i8 < this.f) { } } else { throw NotFoundException.k; @@ -129,7 +129,7 @@ public final class a extends k { sb.setCharAt(i27, a[sb.charAt(i27)]); } char charAt = this.d.charAt(0); - char[] cArr = f1508c; + char[] cArr = f1460c; if (g(cArr, charAt)) { StringBuilder sb2 = this.d; if (!g(cArr, sb2.charAt(sb2.length() - 1))) { diff --git a/app/src/main/java/c/i/e/q/c.java b/app/src/main/java/c/i/e/q/c.java index 6e787398ac..ca6cadb0b0 100644 --- a/app/src/main/java/c/i/e/q/c.java +++ b/app/src/main/java/c/i/e/q/c.java @@ -15,7 +15,7 @@ public final class c extends k { public final boolean b; /* renamed from: c reason: collision with root package name */ - public final StringBuilder f1509c = new StringBuilder(20); + public final StringBuilder f1461c = new StringBuilder(20); public final int[] d = new int[9]; public c(boolean z2) { @@ -67,7 +67,7 @@ public final class c extends k { char c2; int[] iArr = this.d; Arrays.fill(iArr, 0); - StringBuilder sb = this.f1509c; + StringBuilder sb = this.f1461c; sb.setLength(0); int i2 = aVar.j; int f = aVar.f(0); @@ -129,7 +129,7 @@ public final class c extends k { int length2 = sb.length() - 1; int i13 = 0; for (int i14 = 0; i14 < length2; i14++) { - i13 += "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%".indexOf(this.f1509c.charAt(i14)); + i13 += "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%".indexOf(this.f1461c.charAt(i14)); } if (sb.charAt(length2) == "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%".charAt(i13 % 43)) { sb.setLength(length2); diff --git a/app/src/main/java/c/i/e/q/d.java b/app/src/main/java/c/i/e/q/d.java index 4f24e80bbc..18ba64b78f 100644 --- a/app/src/main/java/c/i/e/q/d.java +++ b/app/src/main/java/c/i/e/q/d.java @@ -13,14 +13,14 @@ public final class d extends k { public static final int[] b; /* renamed from: c reason: collision with root package name */ - public static final int f1510c; + public static final int f1462c; public final StringBuilder d = new StringBuilder(20); public final int[] e = new int[6]; static { int[] iArr = {276, 328, 324, 322, 296, 292, 290, 336, 274, 266, 424, 420, 418, 404, 402, 394, 360, 356, 354, 308, 282, 344, 332, 326, 300, 278, 436, 434, 428, 422, 406, 410, 364, 358, 310, 314, 302, 468, 466, 458, 366, 374, 430, 294, 474, 470, 306, 350}; b = iArr; - f1510c = iArr[47]; + f1462c = iArr[47]; } public static void g(CharSequence charSequence, int i, int i2) throws ChecksumException { @@ -277,7 +277,7 @@ public final class d extends k { } else { if (i4 != length - 1) { i4++; - } else if (h(iArr) == f1510c) { + } else if (h(iArr) == f1462c) { int[] iArr2 = {i3, f2}; int f3 = aVar.f(iArr2[1]); int i5 = aVar.j; diff --git a/app/src/main/java/c/i/e/q/e.java b/app/src/main/java/c/i/e/q/e.java index 0a62681406..38f48a836b 100644 --- a/app/src/main/java/c/i/e/q/e.java +++ b/app/src/main/java/c/i/e/q/e.java @@ -33,7 +33,7 @@ public final class e extends p { int[] iArr3 = p.b; int i7 = p.l(aVar, i2, true, iArr3, new int[iArr3.length])[1]; for (int i8 = 0; i8 < 6 && i7 < i; i8++) { - sb.append((char) (p.h(aVar, iArr2, i7, p.f1514c) + 48)); + sb.append((char) (p.h(aVar, iArr2, i7, p.f1466c) + 48)); for (int i9 : iArr2) { i7 += i9; } diff --git a/app/src/main/java/c/i/e/q/f.java b/app/src/main/java/c/i/e/q/f.java index 61aa370f31..ed37740295 100644 --- a/app/src/main/java/c/i/e/q/f.java +++ b/app/src/main/java/c/i/e/q/f.java @@ -16,7 +16,7 @@ public final class f extends p { int i = aVar.j; int i2 = iArr[1]; for (int i3 = 0; i3 < 4 && i2 < i; i3++) { - sb.append((char) (p.h(aVar, iArr2, i2, p.f1514c) + 48)); + sb.append((char) (p.h(aVar, iArr2, i2, p.f1466c) + 48)); for (int i4 : iArr2) { i2 += i4; } @@ -24,7 +24,7 @@ public final class f extends p { int[] iArr3 = p.b; int i5 = p.l(aVar, i2, true, iArr3, new int[iArr3.length])[1]; for (int i6 = 0; i6 < 4 && i5 < i; i6++) { - sb.append((char) (p.h(aVar, iArr2, i5, p.f1514c) + 48)); + sb.append((char) (p.h(aVar, iArr2, i5, p.f1466c) + 48)); for (int i7 : iArr2) { i5 += i7; } diff --git a/app/src/main/java/c/i/e/q/h.java b/app/src/main/java/c/i/e/q/h.java index 1d0c26a4cb..a3151ad933 100644 --- a/app/src/main/java/c/i/e/q/h.java +++ b/app/src/main/java/c/i/e/q/h.java @@ -13,7 +13,7 @@ public final class h extends k { public static final int[] b = {1, 1, 1, 1}; /* renamed from: c reason: collision with root package name */ - public static final int[][] f1511c = {new int[]{1, 1, 2}, new int[]{1, 1, 3}}; + public static final int[][] f1463c = {new int[]{1, 1, 2}, new int[]{1, 1, 3}}; public static final int[][] d = {new int[]{1, 1, 2, 2, 1}, new int[]{2, 1, 1, 1, 2}, new int[]{1, 2, 1, 1, 2}, new int[]{2, 2, 1, 1, 1}, new int[]{1, 1, 2, 1, 2}, new int[]{2, 1, 2, 1, 1}, new int[]{1, 2, 2, 1, 1}, new int[]{1, 1, 1, 2, 2}, new int[]{2, 1, 1, 2, 1}, new int[]{1, 2, 1, 2, 1}, new int[]{1, 1, 3, 3, 1}, new int[]{3, 1, 1, 1, 3}, new int[]{1, 3, 1, 1, 3}, new int[]{3, 3, 1, 1, 1}, new int[]{1, 1, 3, 1, 3}, new int[]{3, 1, 3, 1, 1}, new int[]{1, 3, 3, 1, 1}, new int[]{1, 1, 1, 3, 3}, new int[]{3, 1, 1, 3, 1}, new int[]{1, 3, 1, 3, 1}}; public int e = -1; @@ -84,9 +84,9 @@ public final class h extends k { int f2 = aVar.f(0); if (f2 != i3) { try { - iArr = h(aVar, f2, f1511c[0]); + iArr = h(aVar, f2, f1463c[0]); } catch (NotFoundException unused) { - iArr = h(aVar, f2, f1511c[1]); + iArr = h(aVar, f2, f1463c[1]); } i(aVar, iArr[0]); int i4 = iArr[0]; diff --git a/app/src/main/java/c/i/e/q/j.java b/app/src/main/java/c/i/e/q/j.java index 79197a1cb7..33715314bb 100644 --- a/app/src/main/java/c/i/e/q/j.java +++ b/app/src/main/java/c/i/e/q/j.java @@ -54,7 +54,7 @@ public final class j extends k { if (z3 || !z2) { return k; } - Result result = new Result(k.a.substring(1), k.b, k.f2899c, aVar2); + Result result = new Result(k.a.substring(1), k.b, k.f2470c, aVar2); result.a(k.e); return result; } diff --git a/app/src/main/java/c/i/e/q/k.java b/app/src/main/java/c/i/e/q/k.java index 9e050c46c7..96109dbbc8 100644 --- a/app/src/main/java/c/i/e/q/k.java +++ b/app/src/main/java/c/i/e/q/k.java @@ -113,7 +113,7 @@ public abstract class k implements i { i = (((Integer) map2.get(jVar)).intValue() + 270) % 360; } c2.b(jVar, Integer.valueOf(i)); - c.i.e.k[] kVarArr = c2.f2899c; + c.i.e.k[] kVarArr = c2.f2470c; if (kVarArr != null) { int i2 = d.b; for (int i3 = 0; i3 < kVarArr.length; i3++) { @@ -171,7 +171,7 @@ public abstract class k implements i { Result b = kVar.b(i10, aVar, enumMap); if (i11 != i4) { b.b(j.ORIENTATION, Integer.valueOf((int) BaseTransientBottomBar.ANIMATION_FADE_DURATION)); - c.i.e.k[] kVarArr = b.f2899c; + c.i.e.k[] kVarArr = b.f2470c; if (kVarArr != null) { float f = (float) i2; map2 = enumMap; diff --git a/app/src/main/java/c/i/e/q/l.java b/app/src/main/java/c/i/e/q/l.java index 7bda0e356a..5e05733ac0 100644 --- a/app/src/main/java/c/i/e/q/l.java +++ b/app/src/main/java/c/i/e/q/l.java @@ -16,7 +16,7 @@ public final class l extends p { public static Result o(Result result) throws FormatException { String str = result.a; if (str.charAt(0) == '0') { - Result result2 = new Result(str.substring(1), null, result.f2899c, a.UPC_A); + Result result2 = new Result(str.substring(1), null, result.f2470c, a.UPC_A); Map map = result.e; if (map != null) { result2.a(map); diff --git a/app/src/main/java/c/i/e/q/n.java b/app/src/main/java/c/i/e/q/n.java index d046087755..60ebc1927f 100644 --- a/app/src/main/java/c/i/e/q/n.java +++ b/app/src/main/java/c/i/e/q/n.java @@ -12,7 +12,7 @@ public final class n { public final int[] b = new int[4]; /* renamed from: c reason: collision with root package name */ - public final StringBuilder f1512c = new StringBuilder(); + public final StringBuilder f1464c = new StringBuilder(); /* JADX WARNING: Removed duplicated region for block: B:60:0x0121 */ /* JADX WARNING: Removed duplicated region for block: B:63:0x0153 */ @@ -20,7 +20,7 @@ public final class n { EnumMap enumMap; String str; String str2; - StringBuilder sb = this.f1512c; + StringBuilder sb = this.f1464c; sb.setLength(0); int[] iArr2 = this.b; iArr2[0] = 0; diff --git a/app/src/main/java/c/i/e/q/o.java b/app/src/main/java/c/i/e/q/o.java index 79d358f6f0..4a8c0285c4 100644 --- a/app/src/main/java/c/i/e/q/o.java +++ b/app/src/main/java/c/i/e/q/o.java @@ -13,14 +13,14 @@ public final class o { public final m b = new m(); /* renamed from: c reason: collision with root package name */ - public final n f1513c = new n(); + public final n f1465c = new n(); public Result a(int i, a aVar, int i2) throws NotFoundException { EnumMap enumMap; int[] iArr = a; int[] l = p.l(aVar, i2, false, iArr, new int[iArr.length]); try { - return this.f1513c.a(i, aVar, l); + return this.f1465c.a(i, aVar, l); } catch (ReaderException unused) { m mVar = this.b; StringBuilder sb = mVar.b; diff --git a/app/src/main/java/c/i/e/q/p.java b/app/src/main/java/c/i/e/q/p.java index a30894a77b..82afc6930c 100644 --- a/app/src/main/java/c/i/e/q/p.java +++ b/app/src/main/java/c/i/e/q/p.java @@ -18,7 +18,7 @@ public abstract class p extends k { public static final int[] b = {1, 1, 1, 1, 1}; /* renamed from: c reason: collision with root package name */ - public static final int[][] f1514c; + public static final int[][] f1466c; public static final int[][] d; public final StringBuilder e = new StringBuilder(20); public final o f = new o(); @@ -26,12 +26,12 @@ public abstract class p extends k { static { int[][] iArr = {new int[]{3, 2, 1, 1}, new int[]{2, 2, 2, 1}, new int[]{2, 1, 2, 2}, new int[]{1, 4, 1, 1}, new int[]{1, 1, 3, 2}, new int[]{1, 2, 3, 1}, new int[]{1, 1, 1, 4}, new int[]{1, 3, 1, 2}, new int[]{1, 2, 1, 3}, new int[]{3, 1, 1, 2}}; - f1514c = iArr; + f1466c = iArr; int[][] iArr2 = new int[20][]; d = iArr2; System.arraycopy(iArr, 0, iArr2, 0, 10); for (int i = 10; i < 20; i++) { - int[] iArr3 = f1514c[i - 10]; + int[] iArr3 = f1466c[i - 10]; int[] iArr4 = new int[iArr3.length]; for (int i2 = 0; i2 < iArr3.length; i2++) { iArr4[i2] = iArr3[(iArr3.length - i2) - 1]; @@ -187,15 +187,15 @@ public abstract class p extends k { Result a2 = this.f.a(i, aVar, i3[1]); result.b(j.UPC_EAN_EXTENSION, a2.a); result.a(a2.e); - k[] kVarArr = a2.f2899c; - k[] kVarArr2 = result.f2899c; + k[] kVarArr = a2.f2470c; + k[] kVarArr2 = result.f2470c; if (kVarArr2 == null) { - result.f2899c = kVarArr; + result.f2470c = kVarArr; } else if (kVarArr != null && kVarArr.length > 0) { k[] kVarArr3 = new k[(kVarArr2.length + kVarArr.length)]; System.arraycopy(kVarArr2, 0, kVarArr3, 0, kVarArr2.length); System.arraycopy(kVarArr, 0, kVarArr3, kVarArr2.length, kVarArr.length); - result.f2899c = kVarArr3; + result.f2470c = kVarArr3; } i2 = a2.a.length(); } catch (ReaderException unused) { diff --git a/app/src/main/java/c/i/e/q/r/a.java b/app/src/main/java/c/i/e/q/r/a.java index 5f3063cce8..92d3b62ce5 100644 --- a/app/src/main/java/c/i/e/q/r/a.java +++ b/app/src/main/java/c/i/e/q/r/a.java @@ -8,7 +8,7 @@ public abstract class a extends k { public final int[] b; /* renamed from: c reason: collision with root package name */ - public final float[] f1515c; + public final float[] f1467c; public final float[] d; public final int[] e; public final int[] f; @@ -16,7 +16,7 @@ public abstract class a extends k { public a() { int[] iArr = new int[8]; this.b = iArr; - this.f1515c = new float[4]; + this.f1467c = new float[4]; this.d = new float[4]; this.e = new int[(iArr.length / 2)]; this.f = new int[(iArr.length / 2)]; diff --git a/app/src/main/java/c/i/e/q/r/b.java b/app/src/main/java/c/i/e/q/r/b.java index 435e5754ce..4a28bc3a32 100644 --- a/app/src/main/java/c/i/e/q/r/b.java +++ b/app/src/main/java/c/i/e/q/r/b.java @@ -27,6 +27,6 @@ public class b { StringBuilder sb = new StringBuilder(); sb.append(this.a); sb.append("("); - return a.y(sb, this.b, ')'); + return a.z(sb, this.b, ')'); } } diff --git a/app/src/main/java/c/i/e/q/r/c.java b/app/src/main/java/c/i/e/q/r/c.java index 170c099b09..3321997d8c 100644 --- a/app/src/main/java/c/i/e/q/r/c.java +++ b/app/src/main/java/c/i/e/q/r/c.java @@ -7,13 +7,13 @@ public final class c { public final int[] b; /* renamed from: c reason: collision with root package name */ - public final k[] f1516c; + public final k[] f1468c; public c(int i, int[] iArr, int i2, int i3, int i4) { this.a = i; this.b = iArr; float f = (float) i4; - this.f1516c = new k[]{new k((float) i2, f), new k((float) i3, f)}; + this.f1468c = new k[]{new k((float) i2, f), new k((float) i3, f)}; } public boolean equals(Object obj) { diff --git a/app/src/main/java/c/i/e/q/r/d.java b/app/src/main/java/c/i/e/q/r/d.java index fc1952be7f..6ced1b9aaf 100644 --- a/app/src/main/java/c/i/e/q/r/d.java +++ b/app/src/main/java/c/i/e/q/r/d.java @@ -3,11 +3,11 @@ package c.i.e.q.r; public final class d extends b { /* renamed from: c reason: collision with root package name */ - public final c f1517c; + public final c f1469c; public int d; public d(int i, int i2, c cVar) { super(i, i2); - this.f1517c = cVar; + this.f1469c = cVar; } } diff --git a/app/src/main/java/c/i/e/q/r/e.java b/app/src/main/java/c/i/e/q/r/e.java index a1d3153ee3..015423b4e7 100644 --- a/app/src/main/java/c/i/e/q/r/e.java +++ b/app/src/main/java/c/i/e/q/r/e.java @@ -1,6 +1,6 @@ package c.i.e.q.r; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.i.e.d; import c.i.e.k; import c.i.e.l; @@ -56,7 +56,7 @@ public final class e extends a { for (d dVar2 : this.o) { if (dVar2.d > 1) { int i3 = ((dVar2.b * 16) + dVar.b) % 79; - int i4 = (dVar.f1517c.a * 9) + dVar2.f1517c.a; + int i4 = (dVar.f1469c.a * 9) + dVar2.f1469c.a; if (i4 > 72) { i4--; } @@ -83,8 +83,8 @@ public final class e extends a { i7 = 0; } sb.append(i7); - k[] kVarArr = dVar.f1517c.f1516c; - k[] kVarArr2 = dVar2.f1517c.f1516c; + k[] kVarArr = dVar.f1469c.f1468c; + k[] kVarArr2 = dVar2.f1469c.f1468c; return new Result(sb.toString(), null, new k[]{kVarArr[0], kVarArr[1], kVarArr2[0], kVarArr2[1]}, c.i.e.a.RSS_14); } } @@ -140,13 +140,13 @@ public final class e extends a { } } int i5 = z2 ? 16 : 15; - float k0 = ((float) c.k0(iArr)) / ((float) i5); + float U0 = ((float) f.U0(iArr)) / ((float) i5); int[] iArr2 = this.e; int[] iArr3 = this.f; - float[] fArr = this.f1515c; + float[] fArr = this.f1467c; float[] fArr2 = this.d; for (int i6 = 0; i6 < iArr.length; i6++) { - float f = ((float) iArr[i6]) / k0; + float f = ((float) iArr[i6]) / U0; int i7 = (int) (0.5f + f); if (i7 <= 0) { i7 = 1; @@ -162,34 +162,34 @@ public final class e extends a { fArr2[i8] = f - ((float) i7); } } - int k02 = c.k0(this.e); - int k03 = c.k0(this.f); + int U02 = f.U0(this.e); + int U03 = f.U0(this.f); if (z2) { - if (k02 > 12) { + if (U02 > 12) { z4 = false; z3 = true; } else { - z4 = k02 < 4; + z4 = U02 < 4; z3 = false; } - if (k03 <= 12) { + if (U03 <= 12) { } } else { - if (k02 > 11) { + if (U02 > 11) { z4 = false; z3 = true; } else { - z4 = k02 < 5; + z4 = U02 < 5; z3 = false; } - if (k03 <= 10) { + if (U03 <= 10) { } } boolean z5 = false; boolean z6 = true; - int i9 = (k02 + k03) - i5; - boolean z7 = (k02 & 1) == z2; - boolean z8 = (k03 & 1) == 1; + int i9 = (U02 + U03) - i5; + boolean z7 = (U02 & 1) == z2; + boolean z8 = (U03 & 1) == 1; if (i9 != 1) { if (i9 == -1) { if (z7) { @@ -208,7 +208,7 @@ public final class e extends a { } else if (z7) { if (!z8) { throw NotFoundException.k; - } else if (k02 < k03) { + } else if (U02 < U03) { z4 = true; } else { z5 = true; @@ -243,17 +243,17 @@ public final class e extends a { z3 = true; if (z4) { if (!z3) { - a.h(this.e, this.f1515c); + a.h(this.e, this.f1467c); } else { throw NotFoundException.k; } } if (z3) { - a.g(this.e, this.f1515c); + a.g(this.e, this.f1467c); } if (z5) { if (!z6) { - a.h(this.f, this.f1515c); + a.h(this.f, this.f1467c); } else { throw NotFoundException.k; } @@ -280,13 +280,13 @@ public final class e extends a { } int i15 = (12 - i11) / 2; int i16 = k[i15]; - return new b((c.M(iArr2, i16, false) * g[i15]) + c.M(iArr3, 9 - i16, true) + i[i15], i14); + return new b((f.f0(iArr2, i16, false) * g[i15]) + f.f0(iArr3, 9 - i16, true) + i[i15], i14); } else if ((i13 & 1) != 0 || i13 > 10 || i13 < 4) { throw NotFoundException.k; } else { int i17 = (10 - i13) / 2; int i18 = l[i17]; - return new b((c.M(iArr3, 9 - i18, false) * h[i17]) + c.M(iArr2, i18, true) + j[i17], i14); + return new b((f.f0(iArr3, 9 - i18, false) * h[i17]) + f.f0(iArr2, i18, true) + j[i17], i14); } } else if (!z8) { throw NotFoundException.k; diff --git a/app/src/main/java/c/i/e/q/r/f/a.java b/app/src/main/java/c/i/e/q/r/f/a.java index 47fb78fefb..c907926d9e 100644 --- a/app/src/main/java/c/i/e/q/r/f/a.java +++ b/app/src/main/java/c/i/e/q/r/f/a.java @@ -8,12 +8,12 @@ public final class a { public final b b; /* renamed from: c reason: collision with root package name */ - public final c f1518c; + public final c f1470c; public a(b bVar, b bVar2, c cVar, boolean z2) { this.a = bVar; this.b = bVar2; - this.f1518c = cVar; + this.f1470c = cVar; } public static boolean a(Object obj, Object obj2) { @@ -32,11 +32,11 @@ public final class a { return false; } a aVar = (a) obj; - return a(this.a, aVar.a) && a(this.b, aVar.b) && a(this.f1518c, aVar.f1518c); + return a(this.a, aVar.a) && a(this.b, aVar.b) && a(this.f1470c, aVar.f1470c); } public int hashCode() { - return (b(this.a) ^ b(this.b)) ^ b(this.f1518c); + return (b(this.a) ^ b(this.b)) ^ b(this.f1470c); } public String toString() { @@ -45,7 +45,7 @@ public final class a { sb.append(" , "); sb.append(this.b); sb.append(" : "); - c cVar = this.f1518c; + c cVar = this.f1470c; sb.append(cVar == null ? "null" : Integer.valueOf(cVar.a)); sb.append(" ]"); return sb.toString(); diff --git a/app/src/main/java/c/i/e/q/r/f/b.java b/app/src/main/java/c/i/e/q/r/f/b.java index 349b0c96f1..68419ec10a 100644 --- a/app/src/main/java/c/i/e/q/r/f/b.java +++ b/app/src/main/java/c/i/e/q/r/f/b.java @@ -9,12 +9,12 @@ public final class b { public final int b; /* renamed from: c reason: collision with root package name */ - public final boolean f1519c; + public final boolean f1471c; public b(List list, int i, boolean z2) { this.a = new ArrayList(list); this.b = i; - this.f1519c = z2; + this.f1471c = z2; } public boolean equals(Object obj) { @@ -22,14 +22,14 @@ public final class b { return false; } b bVar = (b) obj; - return this.a.equals(bVar.a) && this.f1519c == bVar.f1519c; + return this.a.equals(bVar.a) && this.f1471c == bVar.f1471c; } public int hashCode() { - return this.a.hashCode() ^ Boolean.valueOf(this.f1519c).hashCode(); + return this.a.hashCode() ^ Boolean.valueOf(this.f1471c).hashCode(); } public String toString() { - return a.H(new StringBuilder("{ "), this.a, " }"); + return a.J(new StringBuilder("{ "), this.a, " }"); } } diff --git a/app/src/main/java/c/i/e/q/r/f/c.java b/app/src/main/java/c/i/e/q/r/f/c.java index 66d6a2aae7..8cae29cdc5 100644 --- a/app/src/main/java/c/i/e/q/r/f/c.java +++ b/app/src/main/java/c/i/e/q/r/f/c.java @@ -1,5 +1,6 @@ package c.i.e.q.r.f; +import c.i.a.f.e.o.f; import c.i.e.q.r.a; import c.i.e.q.r.b; import c.i.e.q.r.f.d.d; @@ -116,8 +117,8 @@ public final class c extends a { } } String a = jVar.a(); - c.i.e.k[] kVarArr = list.get(0).f1518c.f1516c; - c.i.e.k[] kVarArr2 = list.get(list.size() - 1).f1518c.f1516c; + c.i.e.k[] kVarArr = list.get(0).f1470c.f1468c; + c.i.e.k[] kVarArr2 = list.get(list.size() - 1).f1470c.f1468c; return new Result(a, null, new c.i.e.k[]{kVarArr[0], kVarArr[1], kVarArr2[0], kVarArr2[1]}, c.i.e.a.RSS_EXPANDED); } @@ -191,7 +192,7 @@ public final class c extends a { if (i4 >= list2.size()) { z2 = true; break; - } else if (list2.get(i4).f1518c.a != iArr2[i4]) { + } else if (list2.get(i4).f1470c.a != iArr2[i4]) { z2 = false; break; } else { @@ -275,16 +276,16 @@ public final class c extends a { i4++; } } - float k0 = ((float) c.i.a.f.e.o.c.k0(iArr)) / 17.0f; + float U0 = ((float) f.U0(iArr)) / 17.0f; int[] iArr2 = cVar.b; float f = ((float) (iArr2[1] - iArr2[0])) / 15.0f; - if (Math.abs(k0 - f) / f <= 0.3f) { + if (Math.abs(U0 - f) / f <= 0.3f) { int[] iArr3 = this.e; int[] iArr4 = this.f; - float[] fArr = this.f1515c; + float[] fArr = this.f1467c; float[] fArr2 = this.d; for (int i6 = 0; i6 < iArr.length; i6++) { - float f2 = (((float) iArr[i6]) * 1.0f) / k0; + float f2 = (((float) iArr[i6]) * 1.0f) / U0; int i7 = (int) (0.5f + f2); if (i7 <= 0) { if (f2 >= 0.3f) { @@ -308,25 +309,25 @@ public final class c extends a { fArr2[i8] = f2 - ((float) i7); } } - int k02 = c.i.a.f.e.o.c.k0(this.e); - int k03 = c.i.a.f.e.o.c.k0(this.f); - if (k02 > 13) { + int U02 = f.U0(this.e); + int U03 = f.U0(this.f); + if (U02 > 13) { z5 = false; z4 = true; } else { - z5 = k02 < 4; + z5 = U02 < 4; z4 = false; } - if (k03 > 13) { + if (U03 > 13) { z7 = false; z6 = true; } else { - z7 = k03 < 4; + z7 = U03 < 4; z6 = false; } - int i9 = (k02 + k03) - 17; - boolean z8 = (k02 & 1) == 1; - boolean z9 = (k03 & 1) == 0; + int i9 = (U02 + U03) - 17; + boolean z8 = (U02 & 1) == 1; + boolean z9 = (U03 & 1) == 0; if (i9 != 1) { if (i9 == -1) { if (z8) { @@ -345,7 +346,7 @@ public final class c extends a { } else if (z8) { if (!z9) { throw NotFoundException.k; - } else if (k02 < k03) { + } else if (U02 < U03) { z5 = true; } else { z7 = true; @@ -381,17 +382,17 @@ public final class c extends a { z4 = true; if (z5) { if (!z4) { - a.h(this.e, this.f1515c); + a.h(this.e, this.f1467c); } else { throw NotFoundException.k; } } if (z4) { - a.g(this.e, this.f1515c); + a.g(this.e, this.f1467c); } if (z7) { if (!z6) { - a.h(this.f, this.f1515c); + a.h(this.f, this.f1467c); } else { throw NotFoundException.k; } @@ -420,7 +421,7 @@ public final class c extends a { } int i14 = (13 - i2) / 2; int i15 = g[i14]; - return new b((c.i.a.f.e.o.c.M(iArr3, i15, true) * h[i14]) + c.i.a.f.e.o.c.M(iArr4, 9 - i15, false) + i[i14], i13); + return new b((f.f0(iArr3, i15, true) * h[i14]) + f.f0(iArr4, 9 - i15, false) + i[i14], i13); } else if (!z9) { throw NotFoundException.k; } @@ -604,7 +605,7 @@ public final class c extends a { iArr[i7] = i8; iArr[3] = i8; int i10 = aVar.j; - int i11 = i9 >= 0 ? i9 : list.isEmpty() ? 0 : list.get(list.size() - 1).f1518c.b[1]; + int i11 = i9 >= 0 ? i9 : list.isEmpty() ? 0 : list.get(list.size() - 1).f1470c.b[1]; boolean z4 = list.size() % i7 != 0; if (this.p) { z4 = !z4; diff --git a/app/src/main/java/c/i/e/q/r/f/d/e.java b/app/src/main/java/c/i/e/q/r/f/d/e.java index 3e51109c37..9430388b15 100644 --- a/app/src/main/java/c/i/e/q/r/f/d/e.java +++ b/app/src/main/java/c/i/e/q/r/f/d/e.java @@ -6,12 +6,12 @@ import com.google.zxing.NotFoundException; public final class e extends i { /* renamed from: c reason: collision with root package name */ - public final String f1520c; + public final String f1472c; public final String d; public e(a aVar, String str, String str2) { super(aVar); - this.f1520c = str2; + this.f1472c = str2; this.d = str; } @@ -24,7 +24,7 @@ public final class e extends i { int d = s.d(this.b.a, 68, 16); if (d != 38400) { sb.append('('); - sb.append(this.f1520c); + sb.append(this.f1472c); sb.append(')'); int i = d % 32; int i2 = d / 32; diff --git a/app/src/main/java/c/i/e/q/r/f/d/g.java b/app/src/main/java/c/i/e/q/r/f/d/g.java index 2680a6a98e..16f174c225 100644 --- a/app/src/main/java/c/i/e/q/r/f/d/g.java +++ b/app/src/main/java/c/i/e/q/r/f/d/g.java @@ -11,10 +11,10 @@ public final class g extends h { @Override // c.i.e.q.r.f.d.j public String a() throws NotFoundException, FormatException { - StringBuilder O = c.d.b.a.a.O("(01)"); - int length = O.length(); - O.append(this.b.c(4, 4)); - c(O, 8, length); - return this.b.a(O, 48); + StringBuilder R = c.d.b.a.a.R("(01)"); + int length = R.length(); + R.append(this.b.c(4, 4)); + c(R, 8, length); + return this.b.a(R, 48); } } diff --git a/app/src/main/java/c/i/e/q/r/f/d/o.java b/app/src/main/java/c/i/e/q/r/f/d/o.java index 5474777d77..d589b0c805 100644 --- a/app/src/main/java/c/i/e/q/r/f/d/o.java +++ b/app/src/main/java/c/i/e/q/r/f/d/o.java @@ -4,20 +4,20 @@ public final class o extends q { public final String b; /* renamed from: c reason: collision with root package name */ - public final int f1521c; + public final int f1473c; public final boolean d; public o(int i, String str) { super(i); this.b = str; this.d = false; - this.f1521c = 0; + this.f1473c = 0; } public o(int i, String str, int i2) { super(i); this.d = true; - this.f1521c = i2; + this.f1473c = i2; this.b = str; } } diff --git a/app/src/main/java/c/i/e/q/r/f/d/p.java b/app/src/main/java/c/i/e/q/r/f/d/p.java index bd1995ea06..2dc6dd1ea7 100644 --- a/app/src/main/java/c/i/e/q/r/f/d/p.java +++ b/app/src/main/java/c/i/e/q/r/f/d/p.java @@ -6,7 +6,7 @@ public final class p extends q { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f1522c; + public final int f1474c; public p(int i, int i2, int i3) throws FormatException { super(i); @@ -14,6 +14,6 @@ public final class p extends q { throw FormatException.a(); } this.b = i2; - this.f1522c = i3; + this.f1474c = i3; } } diff --git a/app/src/main/java/c/i/e/q/r/f/d/r.java b/app/src/main/java/c/i/e/q/r/f/d/r.java index 58b182be65..f7e3628c06 100644 --- a/app/src/main/java/c/i/e/q/r/f/d/r.java +++ b/app/src/main/java/c/i/e/q/r/f/d/r.java @@ -8,7 +8,7 @@ public final class r { public static final Object[][] b; /* renamed from: c reason: collision with root package name */ - public static final Object[][] f1523c; + public static final Object[][] f1475c; public static final Object[][] d; public static final Object[][] e; @@ -16,7 +16,7 @@ public final class r { Object obj = new Object(); a = obj; b = new Object[][]{new Object[]{"00", 18}, new Object[]{"01", 14}, new Object[]{"02", 14}, new Object[]{"10", obj, 20}, new Object[]{"11", 6}, new Object[]{"12", 6}, new Object[]{"13", 6}, new Object[]{"15", 6}, new Object[]{"17", 6}, new Object[]{"20", 2}, new Object[]{"21", obj, 20}, new Object[]{"22", obj, 29}, new Object[]{"30", obj, 8}, new Object[]{"37", obj, 8}, new Object[]{"90", obj, 30}, new Object[]{"91", obj, 30}, new Object[]{"92", obj, 30}, new Object[]{"93", obj, 30}, new Object[]{"94", obj, 30}, new Object[]{"95", obj, 30}, new Object[]{"96", obj, 30}, new Object[]{"97", obj, 30}, new Object[]{"98", obj, 30}, new Object[]{"99", obj, 30}}; - f1523c = new Object[][]{new Object[]{"240", obj, 30}, new Object[]{"241", obj, 30}, new Object[]{"242", obj, 6}, new Object[]{"250", obj, 30}, new Object[]{"251", obj, 30}, new Object[]{"253", obj, 17}, new Object[]{"254", obj, 20}, new Object[]{"400", obj, 30}, new Object[]{"401", obj, 30}, new Object[]{"402", 17}, new Object[]{"403", obj, 30}, new Object[]{"410", 13}, new Object[]{"411", 13}, new Object[]{"412", 13}, new Object[]{"413", 13}, new Object[]{"414", 13}, new Object[]{"420", obj, 20}, new Object[]{"421", obj, 15}, new Object[]{"422", 3}, new Object[]{"423", obj, 15}, new Object[]{"424", 3}, new Object[]{"425", 3}, new Object[]{"426", 3}}; + f1475c = new Object[][]{new Object[]{"240", obj, 30}, new Object[]{"241", obj, 30}, new Object[]{"242", obj, 6}, new Object[]{"250", obj, 30}, new Object[]{"251", obj, 30}, new Object[]{"253", obj, 17}, new Object[]{"254", obj, 20}, new Object[]{"400", obj, 30}, new Object[]{"401", obj, 30}, new Object[]{"402", 17}, new Object[]{"403", obj, 30}, new Object[]{"410", 13}, new Object[]{"411", 13}, new Object[]{"412", 13}, new Object[]{"413", 13}, new Object[]{"414", 13}, new Object[]{"420", obj, 20}, new Object[]{"421", obj, 15}, new Object[]{"422", 3}, new Object[]{"423", obj, 15}, new Object[]{"424", 3}, new Object[]{"425", 3}, new Object[]{"426", 3}}; d = new Object[][]{new Object[]{"310", 6}, new Object[]{"311", 6}, new Object[]{"312", 6}, new Object[]{"313", 6}, new Object[]{"314", 6}, new Object[]{"315", 6}, new Object[]{"316", 6}, new Object[]{"320", 6}, new Object[]{"321", 6}, new Object[]{"322", 6}, new Object[]{"323", 6}, new Object[]{"324", 6}, new Object[]{"325", 6}, new Object[]{"326", 6}, new Object[]{"327", 6}, new Object[]{"328", 6}, new Object[]{"329", 6}, new Object[]{"330", 6}, new Object[]{"331", 6}, new Object[]{"332", 6}, new Object[]{"333", 6}, new Object[]{"334", 6}, new Object[]{"335", 6}, new Object[]{"336", 6}, new Object[]{"340", 6}, new Object[]{"341", 6}, new Object[]{"342", 6}, new Object[]{"343", 6}, new Object[]{"344", 6}, new Object[]{"345", 6}, new Object[]{"346", 6}, new Object[]{"347", 6}, new Object[]{"348", 6}, new Object[]{"349", 6}, new Object[]{"350", 6}, new Object[]{"351", 6}, new Object[]{"352", 6}, new Object[]{"353", 6}, new Object[]{"354", 6}, new Object[]{"355", 6}, new Object[]{"356", 6}, new Object[]{"357", 6}, new Object[]{"360", 6}, new Object[]{"361", 6}, new Object[]{"362", 6}, new Object[]{"363", 6}, new Object[]{"364", 6}, new Object[]{"365", 6}, new Object[]{"366", 6}, new Object[]{"367", 6}, new Object[]{"368", 6}, new Object[]{"369", 6}, new Object[]{"390", obj, 15}, new Object[]{"391", obj, 18}, new Object[]{"392", obj, 15}, new Object[]{"393", obj, 18}, new Object[]{"703", obj, 30}}; e = new Object[][]{new Object[]{"7001", 13}, new Object[]{"7002", obj, 30}, new Object[]{"7003", 10}, new Object[]{"8001", 14}, new Object[]{"8002", obj, 20}, new Object[]{"8003", obj, 30}, new Object[]{"8004", obj, 30}, new Object[]{"8005", 6}, new Object[]{"8006", 18}, new Object[]{"8007", obj, 30}, new Object[]{"8008", obj, 12}, new Object[]{"8018", 18}, new Object[]{"8020", obj, 25}, new Object[]{"8100", 6}, new Object[]{"8101", 10}, new Object[]{"8102", 2}, new Object[]{"8110", obj, 70}, new Object[]{"8200", obj, 70}}; } @@ -35,7 +35,7 @@ public final class r { } if (str.length() >= 3) { String substring2 = str.substring(0, 3); - Object[][] objArr3 = f1523c; + Object[][] objArr3 = f1475c; for (Object[] objArr4 : objArr3) { if (objArr4[0].equals(substring2)) { return objArr4[1] == a ? c(3, ((Integer) objArr4[2]).intValue(), str) : b(3, ((Integer) objArr4[1]).intValue(), str); @@ -72,7 +72,7 @@ public final class r { String substring2 = str.substring(i, i3); String str2 = "(" + substring + ')' + substring2; String a2 = a(str.substring(i3)); - return a2 == null ? str2 : a.u(str2, a2); + return a2 == null ? str2 : a.v(str2, a2); } throw NotFoundException.k; } @@ -88,6 +88,6 @@ public final class r { String substring2 = str.substring(i, i3); String str2 = "(" + substring + ')' + substring2; String a2 = a(str.substring(i3)); - return a2 == null ? str2 : a.u(str2, a2); + return a2 == null ? str2 : a.v(str2, a2); } } diff --git a/app/src/main/java/c/i/e/q/r/f/d/s.java b/app/src/main/java/c/i/e/q/r/f/d/s.java index 9e702b793e..aa444f363b 100644 --- a/app/src/main/java/c/i/e/q/r/f/d/s.java +++ b/app/src/main/java/c/i/e/q/r/f/d/s.java @@ -10,7 +10,7 @@ public final class s { public final m b = new m(); /* renamed from: c reason: collision with root package name */ - public final StringBuilder f1524c = new StringBuilder(); + public final StringBuilder f1476c = new StringBuilder(); public s(a aVar) { this.a = aVar; @@ -34,7 +34,7 @@ public final class s { if (a != null) { sb.append(a); } - String valueOf = b.d ? String.valueOf(b.f1521c) : null; + String valueOf = b.d ? String.valueOf(b.f1473c) : null; int i2 = b.a; if (i == i2) { return sb.toString(); @@ -74,9 +74,9 @@ public final class s { n nVar3; char c3; n nVar4; - this.f1524c.setLength(0); + this.f1476c.setLength(0); if (str != null) { - this.f1524c.append(str); + this.f1476c.append(str); } this.b.a = i; int i3 = 2; @@ -144,9 +144,9 @@ public final class s { mVar2.a = i10; char c4 = nVar3.b; if (c4 == '$') { - lVar = new l(new o(i10, this.f1524c.toString()), true); + lVar = new l(new o(i10, this.f1476c.toString()), true); } else { - this.f1524c.append(c4); + this.f1476c.append(c4); } } else { if (e(this.b.a)) { @@ -288,9 +288,9 @@ public final class s { mVar4.a = i18; char c5 = nVar.b; if (c5 == '$') { - lVar = new l(new o(i18, this.f1524c.toString()), true); + lVar = new l(new o(i18, this.f1476c.toString()), true); } else { - this.f1524c.append(c5); + this.f1476c.append(c5); } } else { if (e(this.b.a)) { @@ -348,14 +348,14 @@ public final class s { mVar6.a = i28; int i29 = pVar.b; if (i29 == 10) { - lVar = new l(pVar.f1522c == 10 ? new o(i28, this.f1524c.toString()) : new o(i28, this.f1524c.toString(), pVar.f1522c), true); + lVar = new l(pVar.f1474c == 10 ? new o(i28, this.f1476c.toString()) : new o(i28, this.f1476c.toString(), pVar.f1474c), true); } else { - this.f1524c.append(i29); - int i30 = pVar.f1522c; + this.f1476c.append(i29); + int i30 = pVar.f1474c; if (i30 == 10) { - lVar = new l(new o(this.b.a, this.f1524c.toString()), true); + lVar = new l(new o(this.b.a, this.f1476c.toString()), true); } else { - this.f1524c.append(i30); + this.f1476c.append(i30); } } } else { @@ -409,7 +409,7 @@ public final class s { i3 = 2; } o oVar = lVar.a; - return (oVar == null || !oVar.d) ? new o(i2, this.f1524c.toString()) : new o(i2, this.f1524c.toString(), oVar.f1521c); + return (oVar == null || !oVar.d) ? new o(i2, this.f1476c.toString()) : new o(i2, this.f1476c.toString(), oVar.f1473c); } public int c(int i, int i2) { diff --git a/app/src/main/java/c/i/e/r/a.java b/app/src/main/java/c/i/e/r/a.java index 8b83d641cf..c257279e76 100644 --- a/app/src/main/java/c/i/e/r/a.java +++ b/app/src/main/java/c/i/e/r/a.java @@ -21,14 +21,14 @@ public final class a { public static final int[] b = {66142, 66170, 66206, 66236, 66290, 66292, 66350, 66382, 66396, 66454, 66470, 66476, 66594, 66600, 66614, 66626, 66628, 66632, 66640, 66654, 66662, 66668, 66682, 66690, 66718, 66720, 66748, 66758, 66776, 66798, 66802, 66804, 66820, 66824, 66832, 66846, 66848, 66876, 66880, 66936, 66950, 66956, 66968, 66992, 67006, 67022, 67036, 67042, 67044, 67048, 67062, 67118, 67150, 67164, 67214, 67228, 67256, 67294, 67322, 67350, 67366, 67372, 67398, 67404, 67416, 67438, 67474, 67476, 67490, 67492, 67496, 67510, 67618, 67624, 67650, 67656, 67664, 67678, 67686, 67692, 67706, 67714, 67716, 67728, 67742, 67744, 67772, 67782, 67788, 67800, 67822, 67826, 67828, 67842, 67848, 67870, 67872, 67900, 67904, 67960, 67974, 67992, 68016, 68030, 68046, 68060, 68066, 68068, 68072, 68086, 68104, 68112, 68126, 68128, 68156, 68160, 68216, 68336, 68358, 68364, 68376, 68400, 68414, 68448, 68476, 68494, 68508, 68536, 68546, 68548, 68552, 68560, 68574, 68582, 68588, 68654, 68686, 68700, 68706, 68708, 68712, 68726, 68750, 68764, 68792, 68802, 68804, 68808, 68816, 68830, 68838, 68844, 68858, 68878, 68892, 68920, 68976, 68990, 68994, 68996, 69000, 69008, 69022, 69024, 69052, 69062, 69068, 69080, 69102, 69106, 69108, 69142, 69158, 69164, 69190, 69208, 69230, 69254, 69260, 69272, 69296, 69310, 69326, 69340, 69386, 69394, 69396, 69410, 69416, 69430, 69442, 69444, 69448, 69456, 69470, 69478, 69484, 69554, 69556, 69666, 69672, 69698, 69704, 69712, 69726, 69754, 69762, 69764, 69776, 69790, 69792, 69820, 69830, 69836, 69848, 69870, 69874, 69876, 69890, 69918, 69920, 69948, 69952, 70008, 70022, 70040, 70064, 70078, 70094, 70108, 70114, 70116, 70120, 70134, 70152, 70174, 70176, 70264, 70384, 70412, 70448, 70462, 70496, 70524, 70542, 70556, 70584, 70594, 70600, 70608, 70622, 70630, 70636, 70664, 70672, 70686, 70688, 70716, 70720, 70776, 70896, 71136, 71180, 71192, 71216, 71230, 71264, 71292, 71360, 71416, 71452, 71480, 71536, 71550, 71554, 71556, 71560, 71568, 71582, 71584, 71612, 71622, 71628, 71640, 71662, 71726, 71732, 71758, 71772, 71778, 71780, 71784, 71798, 71822, 71836, 71864, 71874, 71880, 71888, 71902, 71910, 71916, 71930, 71950, 71964, 71992, 72048, 72062, 72066, 72068, 72080, 72094, 72096, 72124, 72134, 72140, 72152, 72174, 72178, 72180, 72206, 72220, 72248, 72304, 72318, 72416, 72444, 72456, 72464, 72478, 72480, 72508, 72512, 72568, 72588, 72600, 72624, 72638, 72654, 72668, 72674, 72676, 72680, 72694, 72726, 72742, 72748, 72774, 72780, 72792, 72814, 72838, 72856, 72880, 72894, 72910, 72924, 72930, 72932, 72936, 72950, 72966, 72972, 72984, 73008, 73022, 73056, 73084, 73102, 73116, 73144, 73156, 73160, 73168, 73182, 73190, 73196, 73210, 73226, 73234, 73236, 73250, 73252, 73256, 73270, 73282, 73284, 73296, 73310, 73318, 73324, 73346, 73348, 73352, 73360, 73374, 73376, 73404, 73414, 73420, 73432, 73454, 73498, 73518, 73522, 73524, 73550, 73564, 73570, 73572, 73576, 73590, 73800, 73822, 73858, 73860, 73872, 73886, 73888, 73916, 73944, 73970, 73972, 73992, 74014, 74016, 74044, 74048, 74104, 74118, 74136, 74160, 74174, 74210, 74212, 74216, 74230, 74244, 74256, 74270, 74272, 74360, 74480, 74502, 74508, 74544, 74558, 74592, 74620, 74638, 74652, 74680, 74690, 74696, 74704, 74726, 74732, 74782, 74784, 74812, 74992, 75232, 75288, 75326, 75360, 75388, 75456, 75512, 75576, 75632, 75646, 75650, 75652, 75664, 75678, 75680, 75708, 75718, 75724, 75736, 75758, 75808, 75836, 75840, 75896, 76016, 76256, 76736, 76824, 76848, 76862, 76896, 76924, 76992, 77048, 77296, 77340, 77368, 77424, 77438, 77536, 77564, 77572, 77576, 77584, 77600, 77628, 77632, 77688, 77702, 77708, 77720, 77744, 77758, 77774, 77788, 77870, 77902, 77916, 77922, 77928, 77966, 77980, 78008, 78018, 78024, 78032, 78046, 78060, 78074, 78094, 78136, 78192, 78206, 78210, 78212, 78224, 78238, 78240, 78268, 78278, 78284, 78296, 78322, 78324, 78350, 78364, 78448, 78462, 78560, 78588, 78600, 78622, 78624, 78652, 78656, 78712, 78726, 78744, 78768, 78782, 78798, 78812, 78818, 78820, 78824, 78838, 78862, 78876, 78904, 78960, 78974, 79072, 79100, 79296, 79352, 79368, 79376, 79390, 79392, 79420, 79424, 79480, 79600, 79628, 79640, 79664, 79678, 79712, 79740, 79772, 79800, 79810, 79812, 79816, 79824, 79838, 79846, 79852, 79894, 79910, 79916, 79942, 79948, 79960, 79982, 79988, 80006, 80024, 80048, 80062, 80078, 80092, 80098, 80100, 80104, 80134, 80140, 80176, 80190, 80224, 80252, 80270, 80284, 80312, 80328, 80336, 80350, 80358, 80364, 80378, 80390, 80396, 80408, 80432, 80446, 80480, 80508, 80576, 80632, 80654, 80668, 80696, 80752, 80766, 80776, 80784, 80798, 80800, 80828, 80844, 80856, 80878, 80882, 80884, 80914, 80916, 80930, 80932, 80936, 80950, 80962, 80968, 80976, 80990, 80998, 81004, 81026, 81028, 81040, 81054, 81056, 81084, 81094, 81100, 81112, 81134, 81154, 81156, 81160, 81168, 81182, 81184, 81212, 81216, 81272, 81286, 81292, 81304, 81328, 81342, 81358, 81372, 81380, 81384, 81398, 81434, 81454, 81458, 81460, 81486, 81500, 81506, 81508, 81512, 81526, 81550, 81564, 81592, 81602, 81604, 81608, 81616, 81630, 81638, 81644, 81702, 81708, 81722, 81734, 81740, 81752, 81774, 81778, 81780, 82050, 82078, 82080, 82108, 82180, 82184, 82192, 82206, 82208, 82236, 82240, 82296, 82316, 82328, 82352, 82366, 82402, 82404, 82408, 82440, 82448, 82462, 82464, 82492, 82496, 82552, 82672, 82694, 82700, 82712, 82736, 82750, 82784, 82812, 82830, 82882, 82884, 82888, 82896, 82918, 82924, 82952, 82960, 82974, 82976, 83004, 83008, 83064, 83184, 83424, 83468, 83480, 83504, 83518, 83552, 83580, 83648, 83704, 83740, 83768, 83824, 83838, 83842, 83844, 83848, 83856, 83872, 83900, 83910, 83916, 83928, 83950, 83984, 84000, 84028, 84032, 84088, 84208, 84448, 84928, 85040, 85054, 85088, 85116, 85184, 85240, 85488, 85560, 85616, 85630, 85728, 85756, 85764, 85768, 85776, 85790, 85792, 85820, 85824, 85880, 85894, 85900, 85912, 85936, 85966, 85980, 86048, 86080, 86136, 86256, 86496, 86976, 88160, 88188, 88256, 88312, 88560, 89056, 89200, 89214, 89312, 89340, 89536, 89592, 89608, 89616, 89632, 89664, 89720, 89840, 89868, 89880, 89904, 89952, 89980, 89998, 90012, 90040, 90190, 90204, 90254, 90268, 90296, 90306, 90308, 90312, 90334, 90382, 90396, 90424, 90480, 90494, 90500, 90504, 90512, 90526, 90528, 90556, 90566, 90572, 90584, 90610, 90612, 90638, 90652, 90680, 90736, 90750, 90848, 90876, 90884, 90888, 90896, 90910, 90912, 90940, 90944, 91000, 91014, 91020, 91032, 91056, 91070, 91086, 91100, 91106, 91108, 91112, 91126, 91150, 91164, 91192, 91248, 91262, 91360, 91388, 91584, 91640, 91664, 91678, 91680, 91708, 91712, 91768, 91888, 91928, 91952, 91966, 92000, 92028, 92046, 92060, 92088, 92098, 92100, 92104, 92112, 92126, 92134, 92140, 92188, 92216, 92272, 92384, 92412, 92608, 92664, 93168, 93200, 93214, 93216, 93244, 93248, 93304, 93424, 93664, 93720, 93744, 93758, 93792, 93820, 93888, 93944, 93980, 94008, 94064, 94078, 94084, 94088, 94096, 94110, 94112, 94140, 94150, 94156, 94168, 94246, 94252, 94278, 94284, 94296, 94318, 94342, 94348, 94360, 94384, 94398, 94414, 94428, 94440, 94470, 94476, 94488, 94512, 94526, 94560, 94588, 94606, 94620, 94648, 94658, 94660, 94664, 94672, 94686, 94694, 94700, 94714, 94726, 94732, 94744, 94768, 94782, 94816, 94844, 94912, 94968, 94990, 95004, 95032, 95088, 95102, 95112, 95120, 95134, 95136, 95164, 95180, 95192, 95214, 95218, 95220, 95244, 95256, 95280, 95294, 95328, 95356, 95424, 95480, 95728, 95758, 95772, 95800, 95856, 95870, 95968, 95996, 96008, 96016, 96030, 96032, 96060, 96064, 96120, 96152, 96176, 96190, 96220, 96226, 96228, 96232, 96290, 96292, 96296, 96310, 96322, 96324, 96328, 96336, 96350, 96358, 96364, 96386, 96388, 96392, 96400, 96414, 96416, 96444, 96454, 96460, 96472, 96494, 96498, 96500, 96514, 96516, 96520, 96528, 96542, 96544, 96572, 96576, 96632, 96646, 96652, 96664, 96688, 96702, 96718, 96732, 96738, 96740, 96744, 96758, 96772, 96776, 96784, 96798, 96800, 96828, 96832, 96888, 97008, 97030, 97036, 97048, 97072, 97086, 97120, 97148, 97166, 97180, 97208, 97220, 97224, 97232, 97246, 97254, 97260, 97326, 97330, 97332, 97358, 97372, 97378, 97380, 97384, 97398, 97422, 97436, 97464, 97474, 97476, 97480, 97488, 97502, 97510, 97516, 97550, 97564, 97592, 97648, 97666, 97668, 97672, 97680, 97694, 97696, 97724, 97734, 97740, 97752, 97774, 97830, 97836, 97850, 97862, 97868, 97880, 97902, 97906, 97908, 97926, 97932, 97944, 97968, 97998, 98012, 98018, 98020, 98024, 98038, 98618, 98674, 98676, 98838, 98854, 98874, 98892, 98904, 98926, 98930, 98932, 98968, 99006, 99042, 99044, 99048, 99062, 99166, 99194, 99246, 99286, 99350, 99366, 99372, 99386, 99398, 99416, 99438, 99442, 99444, 99462, 99504, 99518, 99534, 99548, 99554, 99556, 99560, 99574, 99590, 99596, 99608, 99632, 99646, 99680, 99708, 99726, 99740, 99768, 99778, 99780, 99784, 99792, 99806, 99814, 99820, 99834, 99858, 99860, 99874, 99880, 99894, 99906, 99920, 99934, 99962, 99970, 99972, 99976, 99984, 99998, 100000, 100028, 100038, 100044, 100056, 100078, 100082, 100084, 100142, 100174, 100188, 100246, 100262, 100268, 100306, 100308, 100390, 100396, 100410, 100422, 100428, 100440, 100462, 100466, 100468, 100486, 100504, 100528, 100542, 100558, 100572, 100578, 100580, 100584, 100598, 100620, 100656, 100670, 100704, 100732, 100750, 100792, 100802, 100808, 100816, 100830, 100838, 100844, 100858, 100888, 100912, 100926, 100960, 100988, 101056, 101112, 101148, 101176, 101232, 101246, 101250, 101252, 101256, 101264, 101278, 101280, 101308, 101318, 101324, 101336, 101358, 101362, 101364, 101410, 101412, 101416, 101430, 101442, 101448, 101456, 101470, 101478, 101498, 101506, 101508, 101520, 101534, 101536, 101564, 101580, 101618, 101620, 101636, 101640, 101648, 101662, 101664, 101692, 101696, 101752, 101766, 101784, 101838, 101858, 101860, 101864, 101934, 101938, 101940, 101966, 101980, 101986, 101988, 101992, 102030, 102044, 102072, 102082, 102084, 102088, 102096, 102138, 102166, 102182, 102188, 102214, 102220, 102232, 102254, 102282, 102290, 102292, 102306, 102308, 102312, 102326, 102444, 102458, 102470, 102476, 102488, 102514, 102516, 102534, 102552, 102576, 102590, 102606, 102620, 102626, 102632, 102646, 102662, 102668, 102704, 102718, 102752, 102780, 102798, 102812, 102840, 102850, 102856, 102864, 102878, 102886, 102892, 102906, 102936, 102974, 103008, 103036, 103104, 103160, 103224, 103280, 103294, 103298, 103300, 103312, 103326, 103328, 103356, 103366, 103372, 103384, 103406, 103410, 103412, 103472, 103486, 103520, 103548, 103616, 103672, 103920, 103992, 104048, 104062, 104160, 104188, 104194, 104196, 104200, 104208, 104224, 104252, 104256, 104312, 104326, 104332, 104344, 104368, 104382, 104398, 104412, 104418, 104420, 104424, 104482, 104484, 104514, 104520, 104528, 104542, 104550, 104570, 104578, 104580, 104592, 104606, 104608, 104636, 104652, 104690, 104692, 104706, 104712, 104734, 104736, 104764, 104768, 104824, 104838, 104856, 104910, 104930, 104932, 104936, 104968, 104976, 104990, 104992, 105020, 105024, 105080, 105200, 105240, 105278, 105312, 105372, 105410, 105412, 105416, 105424, 105446, 105518, 105524, 105550, 105564, 105570, 105572, 105576, 105614, 105628, 105656, 105666, 105672, 105680, 105702, 105722, 105742, 105756, 105784, 105840, 105854, 105858, 105860, 105864, 105872, 105888, 105932, 105970, 105972, 106006, 106022, 106028, 106054, 106060, 106072, 106100, 106118, 106124, 106136, 106160, 106174, 106190, 106210, 106212, 106216, 106250, 106258, 106260, 106274, 106276, 106280, 106306, 106308, 106312, 106320, 106334, 106348, 106394, 106414, 106418, 106420, 106566, 106572, 106610, 106612, 106630, 106636, 106648, 106672, 106686, 106722, 106724, 106728, 106742, 106758, 106764, 106776, 106800, 106814, 106848, 106876, 106894, 106908, 106936, 106946, 106948, 106952, 106960, 106974, 106982, 106988, 107032, 107056, 107070, 107104, 107132, 107200, 107256, 107292, 107320, 107376, 107390, 107394, 107396, 107400, 107408, 107422, 107424, 107452, 107462, 107468, 107480, 107502, 107506, 107508, 107544, 107568, 107582, 107616, 107644, 107712, 107768, 108016, 108060, 108088, 108144, 108158, 108256, 108284, 108290, 108292, 108296, 108304, 108318, 108320, 108348, 108352, 108408, 108422, 108428, 108440, 108464, 108478, 108494, 108508, 108514, 108516, 108520, 108592, 108640, 108668, 108736, 108792, 109040, 109536, 109680, 109694, 109792, 109820, 110016, 110072, 110084, 110088, 110096, 110112, 110140, 110144, 110200, 110320, 110342, 110348, 110360, 110384, 110398, 110432, 110460, 110478, 110492, 110520, 110532, 110536, 110544, 110558, 110658, 110686, 110714, 110722, 110724, 110728, 110736, 110750, 110752, 110780, 110796, 110834, 110836, 110850, 110852, 110856, 110864, 110878, 110880, 110908, 110912, 110968, 110982, RestAPIAbortCodes.SEARCH_INDEXING, 111054, 111074, 111076, 111080, 111108, 111112, 111120, 111134, 111136, 111164, 111168, 111224, 111344, 111372, 111422, 111456, 111516, 111554, 111556, 111560, 111568, 111590, 111632, 111646, 111648, 111676, 111680, 111736, 111856, 112096, 112152, 112224, 112252, 112320, 112440, 112514, 112516, 112520, 112528, 112542, 112544, 112588, 112686, 112718, 112732, 112782, 112796, 112824, 112834, 112836, 112840, 112848, 112870, 112890, 112910, 112924, 112952, 113008, 113022, 113026, 113028, 113032, 113040, 113054, 113056, 113100, 113138, 113140, 113166, 113180, 113208, 113264, 113278, 113376, 113404, 113416, 113424, 113440, 113468, 113472, 113560, 113614, 113634, 113636, 113640, 113686, 113702, 113708, 113734, 113740, 113752, 113778, 113780, 113798, 113804, 113816, 113840, 113854, 113870, 113890, 113892, 113896, 113926, 113932, 113944, 113968, 113982, 114016, 114044, 114076, 114114, 114116, 114120, 114128, 114150, 114170, 114194, 114196, 114210, 114212, 114216, 114242, 114244, 114248, 114256, 114270, 114278, 114306, 114308, 114312, 114320, 114334, 114336, 114364, 114380, 114420, 114458, 114478, 114482, 114484, 114510, 114524, 114530, 114532, 114536, 114842, 114866, 114868, 114970, 114994, 114996, 115042, 115044, 115048, 115062, 115130, 115226, 115250, 115252, 115278, 115292, 115298, 115300, 115304, 115318, 115342, 115394, 115396, 115400, 115408, 115422, 115430, 115436, 115450, 115478, 115494, 115514, 115526, 115532, 115570, 115572, 115738, 115758, 115762, 115764, 115790, 115804, 115810, 115812, 115816, 115830, 115854, 115868, 115896, 115906, 115912, 115920, 115934, 115942, 115948, 115962, 115996, 116024, 116080, 116094, 116098, 116100, 116104, 116112, 116126, 116128, 116156, 116166, 116172, 116184, 116206, 116210, 116212, 116246, 116262, 116268, 116282, 116294, 116300, 116312, 116334, 116338, 116340, 116358, 116364, 116376, 116400, 116414, 116430, 116444, 116450, 116452, 116456, 116498, 116500, 116514, 116520, 116534, 116546, 116548, 116552, 116560, 116574, 116582, 116588, 116602, 116654, 116694, 116714, 116762, 116782, 116786, 116788, 116814, 116828, 116834, 116836, 116840, 116854, 116878, 116892, 116920, 116930, 116936, 116944, 116958, 116966, 116972, 116986, 117006, 117048, 117104, 117118, 117122, 117124, 117136, 117150, 117152, 117180, 117190, 117196, 117208, 117230, 117234, 117236, 117304, 117360, 117374, 117472, 117500, 117506, 117508, 117512, 117520, 117536, 117564, 117568, 117624, 117638, 117644, 117656, 117680, 117694, 117710, 117724, 117730, 117732, 117736, 117750, 117782, 117798, 117804, 117818, 117830, 117848, 117874, 117876, 117894, 117936, 117950, 117966, 117986, 117988, 117992, 118022, 118028, 118040, 118064, 118078, 118112, 118140, 118172, 118210, 118212, 118216, 118224, 118238, 118246, 118266, 118306, 118312, 118338, 118352, 118366, 118374, 118394, 118402, 118404, 118408, 118416, 118430, 118432, 118460, 118476, 118514, 118516, 118574, 118578, 118580, 118606, 118620, 118626, 118628, 118632, 118678, 118694, 118700, 118730, 118738, 118740, 118830, 118834, 118836, 118862, 118876, 118882, 118884, 118888, 118902, 118926, 118940, 118968, 118978, 118980, 118984, 118992, 119006, 119014, 119020, 119034, 119068, 119096, 119152, 119166, 119170, 119172, 119176, 119184, 119198, 119200, 119228, 119238, 119244, 119256, 119278, 119282, 119284, 119324, 119352, 119408, 119422, 119520, 119548, 119554, 119556, 119560, 119568, 119582, 119584, 119612, 119616, 119672, 119686, 119692, 119704, 119728, 119742, 119758, 119772, 119778, 119780, 119784, 119798, 119920, 119934, 120032, 120060, 120256, 120312, 120324, 120328, 120336, 120352, 120384, 120440, 120560, 120582, 120588, 120600, 120624, 120638, 120672, 120700, 120718, 120732, 120760, 120770, 120772, 120776, 120784, 120798, 120806, 120812, 120870, 120876, 120890, 120902, 120908, 120920, 120946, 120948, 120966, 120972, 120984, 121008, 121022, 121038, 121058, 121060, 121064, 121078, 121100, 121112, 121136, 121150, 121184, 121212, 121244, 121282, 121284, 121288, 121296, 121318, 121338, 121356, 121368, 121392, 121406, 121440, 121468, 121536, 121592, 121656, 121730, 121732, 121736, 121744, 121758, 121760, 121804, 121842, 121844, 121890, 121922, 121924, 121928, 121936, 121950, 121958, 121978, 121986, 121988, 121992, 122000, 122014, 122016, 122044, 122060, 122098, 122100, 122116, 122120, 122128, 122142, 122144, 122172, 122176, 122232, 122246, 122264, 122318, 122338, 122340, 122344, 122414, 122418, 122420, 122446, 122460, 122466, 122468, 122472, 122510, 122524, 122552, 122562, 122564, 122568, 122576, 122598, 122618, 122646, 122662, 122668, 122694, 122700, 122712, 122738, 122740, 122762, 122770, 122772, 122786, 122788, 122792, 123018, 123026, 123028, 123042, 123044, 123048, 123062, 123098, 123146, 123154, 123156, 123170, 123172, 123176, 123190, 123202, 123204, 123208, 123216, 123238, 123244, 123258, 123290, 123314, 123316, 123402, 123410, 123412, 123426, 123428, 123432, 123446, 123458, 123464, 123472, 123486, 123494, 123500, 123514, 123522, 123524, 123528, 123536, 123552, 123580, 123590, 123596, 123608, 123630, 123634, 123636, 123674, 123698, 123700, 123740, 123746, 123748, 123752, 123834, 123914, 123922, 123924, 123938, 123944, 123958, 123970, 123976, 123984, 123998, 124006, 124012, 124026, 124034, 124036, 124048, 124062, 124064, 124092, 124102, 124108, 124120, 124142, 124146, 124148, 124162, 124164, 124168, 124176, 124190, 124192, 124220, 124224, 124280, 124294, 124300, 124312, 124336, 124350, 124366, 124380, 124386, 124388, 124392, 124406, 124442, 124462, 124466, 124468, 124494, 124508, 124514, 124520, 124558, 124572, 124600, 124610, 124612, 124616, 124624, 124646, 124666, 124694, 124710, 124716, 124730, 124742, 124748, 124760, 124786, 124788, 124818, 124820, 124834, 124836, 124840, 124854, 124946, 124948, 124962, 124964, 124968, 124982, 124994, 124996, 125000, 125008, 125022, 125030, 125036, 125050, 125058, 125060, 125064, 125072, 125086, 125088, 125116, 125126, 125132, 125144, 125166, 125170, 125172, 125186, 125188, 125192, 125200, 125216, 125244, 125248, 125304, 125318, 125324, 125336, 125360, 125374, 125390, 125404, 125410, 125412, 125416, 125430, 125444, 125448, 125456, 125472, 125504, 125560, 125680, 125702, 125708, 125720, 125744, 125758, 125792, 125820, 125838, 125852, 125880, 125890, 125892, 125896, 125904, 125918, 125926, 125932, 125978, 125998, 126002, 126004, 126030, 126044, 126050, 126052, 126056, 126094, 126108, 126136, 126146, 126148, 126152, 126160, 126182, 126202, 126222, 126236, 126264, 126320, 126334, 126338, 126340, 126344, 126352, 126366, 126368, 126412, 126450, 126452, 126486, 126502, 126508, 126522, 126534, 126540, 126552, 126574, 126578, 126580, 126598, 126604, 126616, 126640, 126654, 126670, 126684, 126690, 126692, 126696, 126738, 126754, 126756, 126760, 126774, 126786, 126788, 126792, 126800, 126814, 126822, 126828, 126842, 126894, 126898, 126900, 126934, 127126, 127142, 127148, 127162, 127178, 127186, 127188, 127254, 127270, 127276, 127290, 127302, 127308, 127320, 127342, 127346, 127348, 127370, 127378, 127380, 127394, 127396, 127400, 127450, 127510, 127526, 127532, 127546, 127558, 127576, 127598, 127602, 127604, 127622, 127628, 127640, 127664, 127678, 127694, 127708, 127714, 127716, 127720, 127734, 127754, 127762, 127764, 127778, 127784, 127810, 127812, 127816, 127824, 127838, 127846, 127866, 127898, 127918, 127922, 127924, 128022, 128038, 128044, 128058, 128070, 128076, 128088, 128110, 128114, 128116, 128134, 128140, 128152, 128176, 128190, 128206, 128220, 128226, 128228, 128232, 128246, 128262, 128268, 128280, 128304, 128318, 128352, 128380, 128398, 128412, 128440, 128450, 128452, 128456, 128464, 128478, 128486, 128492, 128506, 128522, 128530, 128532, 128546, 128548, 128552, 128566, 128578, 128580, 128584, 128592, 128606, 128614, 128634, 128642, 128644, 128648, 128656, 128670, 128672, 128700, 128716, 128754, 128756, 128794, 128814, 128818, 128820, 128846, 128860, 128866, 128868, 128872, 128886, 128918, 128934, 128940, 128954, 128978, 128980, 129178, 129198, 129202, 129204, 129238, 129258, 129306, 129326, 129330, 129332, 129358, 129372, 129378, 129380, 129384, 129398, 129430, 129446, 129452, 129466, 129482, 129490, 129492, 129562, 129582, 129586, 129588, 129614, 129628, 129634, 129636, 129640, 129654, 129678, 129692, 129720, 129730, 129732, 129736, 129744, 129758, 129766, 129772, 129814, 129830, 129836, 129850, 129862, 129868, 129880, 129902, 129906, 129908, 129930, 129938, 129940, 129954, 129956, 129960, 129974, 130010}; /* renamed from: c reason: collision with root package name */ - public static final int[] f1525c = {2627, 1819, 2622, 2621, 1813, 1812, 2729, 2724, 2723, 2779, 2774, 2773, 902, 896, 908, 868, 865, 861, 859, 2511, 873, 871, 1780, 835, 2493, 825, 2491, 842, 837, 844, 1764, 1762, 811, 810, 809, 2483, 807, 2482, 806, 2480, 815, 814, 813, 812, 2484, 817, 816, 1745, 1744, 1742, 1746, 2655, 2637, 2635, 2626, 2625, 2623, 2628, 1820, 2752, 2739, 2737, 2728, 2727, 2725, 2730, 2785, 2783, 2778, 2777, 2775, 2780, 787, 781, 747, 739, 736, 2413, 754, 752, 1719, 692, 689, 681, 2371, 678, 2369, 700, 697, 694, 703, 1688, 1686, 642, 638, 2343, 631, 2341, 627, 2338, 651, 646, 643, 2345, 654, 652, 1652, 1650, 1647, 1654, 601, 599, 2322, 596, 2321, 594, 2319, 2317, 611, 610, 608, 606, 2324, 603, 2323, 615, 614, 612, 1617, 1616, 1614, 1612, 616, 1619, 1618, 2575, 2538, 2536, 905, 901, 898, 909, 2509, 2507, 2504, 870, 867, 864, 860, 2512, 875, 872, 1781, 2490, 2489, 2487, 2485, 1748, 836, 834, 832, 830, 2494, 827, 2492, 843, 841, 839, 845, 1765, 1763, 2701, 2676, 2674, 2653, 2648, 2656, 2634, 2633, 2631, 2629, 1821, 2638, 2636, 2770, 2763, 2761, 2750, 2745, 2753, 2736, 2735, 2733, 2731, 1848, 2740, 2738, 2786, 2784, 591, 588, 576, 569, 566, 2296, 1590, 537, 534, 526, 2276, 522, 2274, 545, 542, 539, 548, 1572, 1570, 481, 2245, 466, 2242, 462, 2239, 492, 485, 482, 2249, 496, 494, 1534, 1531, 1528, 1538, 413, 2196, 406, 2191, 2188, 425, 419, 2202, 415, 2199, 432, 430, 427, 1472, 1467, 1464, 433, 1476, 1474, 368, 367, 2160, 365, 2159, 362, 2157, 2155, 2152, 378, 377, 375, 2166, 372, 2165, 369, 2162, 383, 381, 379, 2168, 1419, 1418, 1416, 1414, 385, 1411, 384, 1423, 1422, 1420, 1424, 2461, 802, 2441, 2439, 790, 786, 783, 794, 2409, 2406, 2403, 750, 742, 738, 2414, 756, 753, 1720, 2367, 2365, 2362, 2359, 1663, 693, 691, 684, 2373, 680, 2370, 702, 699, 696, 704, 1690, 1687, 2337, 2336, 2334, 2332, 1624, 2329, 1622, 640, 637, 2344, 634, 2342, 630, 2340, 650, 648, 645, 2346, 655, 653, 1653, 1651, 1649, 1655, 2612, 2597, 2595, 2571, 2568, 2565, 2576, 2534, 2529, 2526, 1787, 2540, 2537, 907, 904, 900, 910, 2503, 2502, GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, 2498, 1768, 2495, 1767, 2510, 2508, 2506, 869, 866, 863, 2513, 876, 874, 1782, 2720, 2713, 2711, 2697, 2694, 2691, 2702, 2672, 2670, 2664, 1828, 2678, 2675, 2647, 2646, 2644, 2642, 1823, 2639, 1822, 2654, 2652, 2650, 2657, 2771, 1855, 2765, 2762, 1850, 1849, 2751, 2749, 2747, 2754, 353, 2148, 344, 342, 336, 2142, 332, 2140, 345, 1375, 1373, 306, 2130, 299, 2128, 295, 2125, 319, 314, 311, 2132, 1354, 1352, 1349, 1356, 262, 257, 2101, 253, 2096, 2093, 274, AudioAttributesCompat.FLAG_ALL_PUBLIC, 267, 2107, 263, 2104, 280, 278, 275, 1316, 1311, 1308, 1320, 1318, 2052, 202, 2050, 2044, 2040, 219, 2063, 212, 2060, 208, 2055, 224, 221, 2066, 1260, 1258, 1252, 231, 1248, 229, 1266, 1264, 1261, 1268, 155, 1998, 153, 1996, 1994, 1991, 1988, 165, 164, 2007, 162, 2006, 159, 2003, 2000, 172, 171, 169, 2012, 166, 2010, 1186, 1184, 1182, 1179, HideBottomViewOnScrollBehavior.EXIT_ANIMATION_DURATION, 1176, 173, 1192, 1191, 1189, 1187, 176, 1194, 1193, 2313, 2307, 2305, 592, 589, 2294, 2292, 2289, 578, 572, 568, 2297, 580, 1591, 2272, 2267, 2264, 1547, 538, 536, 529, 2278, 525, 2275, 547, 544, 541, 1574, 1571, 2237, 2235, 2229, 1493, 2225, 1489, 478, 2247, 470, 2244, 465, 2241, 493, 488, 484, 2250, 498, 495, 1536, 1533, 1530, 1539, 2187, 2186, 2184, 2182, 1432, 2179, 1430, 2176, 1427, 414, 412, 2197, 409, 2195, 405, 2193, 2190, 426, 424, 421, 2203, 418, 2201, 431, 429, 1473, 1471, 1469, 1466, 434, 1477, 1475, 2478, 2472, 2470, 2459, 2457, 2454, 2462, 803, 2437, 2432, 2429, 1726, 2443, 2440, 792, 789, 785, 2401, 2399, 2393, 1702, 2389, 1699, 2411, 2408, 2405, 745, 741, 2415, 758, 755, 1721, 2358, 2357, 2355, 2353, 1661, 2350, 1660, 2347, 1657, 2368, 2366, 2364, 2361, 1666, 690, 687, 2374, 683, 2372, 701, 698, 705, 1691, 1689, 2619, 2617, 2610, 2608, 2605, 2613, 2593, 2588, 2585, 1803, 2599, 2596, 2563, 2561, 2555, 1797, 2551, 1795, 2573, 2570, 2567, 2577, 2525, 2524, 2522, 2520, 1786, 2517, 1785, 2514, 1783, 2535, 2533, 2531, 2528, 1788, 2541, 2539, 906, 903, 911, 2721, 1844, 2715, 2712, 1838, 1836, 2699, 2696, 2693, 2703, 1827, 1826, 1824, 2673, 2671, 2669, 2666, 1829, 2679, 2677, 1858, 1857, 2772, 1854, 1853, 1851, 1856, 2766, 2764, 143, 1987, 139, 1986, 135, 133, 131, 1984, 128, 1983, 125, 1981, 138, 137, 136, 1985, 1133, 1132, 1130, 112, 110, 1974, 107, 1973, 104, 1971, 1969, 122, 121, 119, 117, 1977, 114, 1976, 124, 1115, 1114, 1112, 1110, 1117, 1116, 84, 83, 1953, 81, 1952, 78, 1950, 1948, 1945, 94, 93, 91, 1959, 88, 1958, 85, 1955, 99, 97, 95, 1961, 1086, 1085, 1083, 1081, 1078, 100, 1090, 1089, 1087, 1091, 49, 47, 1917, 44, 1915, 1913, 1910, 1907, 59, 1926, 56, 1925, 53, 1922, 1919, 66, 64, 1931, 61, 1929, 1042, 1040, 1038, 71, 1035, 70, 1032, 68, 1048, 1047, 1045, 1043, 1050, 1049, 12, 10, 1869, 1867, 1864, 1861, 21, 1880, 19, 1877, 1874, 1871, 28, 1888, 25, 1886, 22, 1883, 982, 980, 977, 974, 32, 30, 991, 989, 987, 984, 34, 995, 994, 992, 2151, 2150, 2147, 2146, 2144, 356, 355, 354, 2149, 2139, 2138, 2136, 2134, 1359, 343, 341, 338, 2143, 335, 2141, 348, 347, 346, 1376, 1374, 2124, 2123, 2121, 2119, 1326, 2116, 1324, 310, 308, 305, 2131, 302, 2129, 298, 2127, 320, 318, 316, 313, 2133, 322, 321, 1355, 1353, 1351, 1357, 2092, 2091, 2089, 2087, 1276, 2084, 1274, 2081, 1271, 259, 2102, 256, 2100, 252, 2098, 2095, 272, 269, 2108, 266, 2106, 281, 279, 277, 1317, 1315, 1313, 1310, 282, 1321, 1319, 2039, 2037, 2035, 2032, 1203, 2029, 1200, 1197, 207, 2053, 205, 2051, 201, 2049, 2046, 2043, 220, 218, 2064, 215, 2062, 211, 2059, 228, 226, 223, 2069, 1259, 1257, 1254, 232, 1251, 230, 1267, 1265, 1263, 2316, 2315, 2312, 2311, 2309, 2314, 2304, 2303, 2301, 2299, 1593, 2308, 2306, 590, 2288, 2287, 2285, 2283, 1578, 2280, 1577, 2295, 2293, 2291, 579, 577, 574, 571, 2298, 582, 581, 1592, 2263, 2262, 2260, 2258, 1545, 2255, 1544, 2252, 1541, 2273, 2271, 2269, 2266, 1550, 535, 532, 2279, 528, 2277, 546, 543, 549, 1575, 1573, 2224, 2222, 2220, 1486, 2217, 1485, 2214, 1482, 1479, 2238, 2236, 2234, 2231, 1496, 2228, 1492, 480, 477, 2248, 473, 2246, 469, 2243, 490, 487, 2251, 497, 1537, 1535, 1532, 2477, 2476, 2474, 2479, 2469, 2468, 2466, 2464, 1730, 2473, 2471, 2453, 2452, 2450, 2448, 1729, 2445, 1728, 2460, 2458, 2456, 2463, 805, 804, 2428, 2427, 2425, 2423, 1725, 2420, 1724, 2417, 1722, 2438, 2436, 2434, 2431, 1727, 2444, 2442, 793, 791, 788, 795, 2388, 2386, 2384, 1697, 2381, 1696, 2378, 1694, 1692, 2402, 2400, 2398, 2395, 1703, 2392, 1701, 2412, 2410, 2407, 751, 748, 744, 2416, 759, 757, 1807, 2620, 2618, 1806, 1805, 2611, 2609, 2607, 2614, 1802, 1801, 1799, 2594, 2592, 2590, 2587, 1804, 2600, 2598, 1794, 1793, 1791, 1789, 2564, 2562, 2560, 2557, 1798, 2554, 1796, 2574, 2572, 2569, 2578, 1847, 1846, 2722, 1843, 1842, 1840, 1845, 2716, 2714, 1835, 1834, 1832, 1830, 1839, 1837, 2700, 2698, 2695, 2704, 1817, 1811, 1810, 897, 862, 1777, 829, 826, 838, 1760, 1758, 808, 2481, 1741, 1740, 1738, 1743, 2624, 1818, 2726, 2776, 782, 740, 737, 1715, 686, 679, 695, 1682, 1680, 639, 628, 2339, 647, 644, 1645, 1643, 1640, 1648, 602, 600, 597, 595, 2320, 593, 2318, 609, 607, 604, 1611, 1610, 1608, 1606, 613, 1615, 1613, 2328, 926, 924, 892, 886, 899, 857, 850, 2505, 1778, 824, 823, 821, 819, 2488, 818, 2486, 833, 831, 828, 840, 1761, 1759, 2649, 2632, 2630, 2746, 2734, 2732, 2782, 2781, 570, 567, 1587, 531, 527, 523, 540, 1566, 1564, 476, 467, 463, 2240, 486, 483, 1524, 1521, 1518, 1529, 411, 403, 2192, 399, 2189, 423, 416, 1462, 1457, 1454, 428, 1468, 1465, 2210, 366, 363, 2158, 360, 2156, 357, 2153, 376, 373, 370, 2163, 1410, 1409, 1407, 1405, 382, 1402, 380, 1417, 1415, 1412, 1421, 2175, 2174, 777, 774, 771, 784, 732, 725, 722, 2404, 743, 1716, 676, 674, 668, 2363, 665, 2360, 685, 1684, 1681, 626, 624, 622, 2335, 620, 2333, 617, 2330, 641, 635, 649, 1646, 1644, 1642, 2566, 928, 925, 2530, 2527, 894, 891, 888, 2501, 2499, 2496, 858, 856, 854, 851, 1779, 2692, 2668, 2665, 2645, 2643, 2640, 2651, 2768, 2759, 2757, 2744, 2743, 2741, 2748, 352, 1382, 340, 337, 333, 1371, 1369, 307, 300, 296, 2126, 315, 312, 1347, 1342, 1350, 261, 258, 250, 2097, 246, 2094, 271, 268, 264, 1306, 1301, 1298, 276, 1312, 1309, 2115, 203, 2048, 195, 2045, 191, 2041, 213, 209, 2056, 1246, 1244, 1238, HideBottomViewOnScrollBehavior.ENTER_ANIMATION_DURATION, 1234, 222, 1256, 1253, 1249, 1262, 2080, 2079, 154, 1997, FontUtils.MAX_FONT_SCALING, 1995, 147, 1992, 1989, 163, 160, 2004, 156, 2001, 1175, 1174, 1172, 1170, 1167, 170, 1164, 167, 1185, 1183, 1180, 1177, 174, 1190, 1188, 2025, 2024, 2022, 587, 586, 564, 559, 556, 2290, 573, 1588, 520, 518, 512, 2268, 508, 2265, 530, 1568, 1565, 461, 457, 2233, 450, 2230, 446, 2226, 479, 471, 489, 1526, 1523, 1520, 397, 395, 2185, 392, 2183, 389, 2180, 2177, 410, 2194, 402, 422, 1463, 1461, 1459, 1456, 1470, 2455, 799, 2433, 2430, 779, 776, 773, 2397, 2394, 2390, 734, 728, 724, 746, 1717, 2356, 2354, 2351, 2348, 1658, 677, 675, 673, 670, 667, 688, 1685, 1683, 2606, 2589, 2586, 2559, 2556, 2552, 927, 2523, 2521, 2518, 2515, 1784, 2532, 895, 893, 890, 2718, 2709, 2707, 2689, 2687, 2684, 2663, 2662, 2660, 2658, 1825, 2667, 2769, 1852, 2760, 2758, 142, 141, 1139, 1138, 134, 132, 129, 126, 1982, 1129, 1128, 1126, 1131, 113, 111, 108, 105, 1972, 101, 1970, 120, 118, 115, 1109, 1108, 1106, 1104, 123, 1113, 1111, 82, 79, 1951, 75, 1949, 72, 1946, 92, 89, 86, 1956, 1077, 1076, 1074, 1072, 98, 1069, 96, 1084, 1082, 1079, 1088, 1968, 1967, 48, 45, 1916, 42, 1914, 39, 1911, 1908, 60, 57, 54, 1923, 50, 1920, 1031, 1030, 1028, 1026, 67, AudioAttributesCompat.FLAG_ALL, 65, PointerIconCompat.TYPE_GRAB, 62, 1041, 1039, 1036, 1033, 69, 1046, 1044, 1944, 1943, 1941, 11, 9, 1868, 7, 1865, 1862, 1859, 20, 1878, 16, 1875, 13, 1872, 970, 968, 966, 963, 29, 960, 26, 23, 983, 981, 978, 975, 33, 971, 31, 990, 988, 985, 1906, 1904, 1902, 993, 351, 2145, 1383, 331, 330, 328, 326, 2137, 323, 2135, 339, 1372, 1370, 294, 293, 291, 289, 2122, 286, 2120, 283, 2117, 309, 303, 317, 1348, 1346, 1344, 245, 244, 242, 2090, 239, 2088, 236, 2085, 2082, 260, 2099, 249, 270, 1307, 1305, 1303, 1300, 1314, 189, 2038, 186, 2036, 183, 2033, 2030, 2026, 206, 198, 2047, 194, 216, 1247, 1245, 1243, 1240, 227, 1237, 1255, 2310, 2302, 2300, 2286, 2284, 2281, 565, 563, 561, 558, 575, 1589, 2261, 2259, 2256, 2253, 1542, 521, 519, 517, 514, 2270, FrameMetricsAggregator.EVERY_DURATION, 533, 1569, 1567, 2223, 2221, 2218, 2215, 1483, 2211, 1480, 459, 456, 453, 2232, 449, 474, 491, 1527, 1525, 1522, 2475, 2467, 2465, 2451, 2449, 2446, 801, 800, 2426, 2424, 2421, 2418, 1723, 2435, 780, 778, 775, 2387, 2385, 2382, 2379, 1695, 2375, 1693, 2396, 735, 733, 730, 727, 749, 1718, 2616, 2615, 2604, 2603, 2601, 2584, 2583, 2581, 2579, ModelInvite.Settings.HALF_HOUR, 2591, 2550, 2549, 2547, 2545, 1792, 2542, 1790, 2558, 929, 2719, 1841, 2710, 2708, 1833, 1831, 2690, 2688, 2686, 1815, 1809, 1808, 1774, 1756, 1754, 1737, 1736, 1734, 1739, 1816, 1711, 1676, 1674, 633, 629, 1638, 1636, 1633, 1641, 598, 1605, 1604, 1602, 1600, 605, 1609, 1607, 2327, 887, 853, 1775, 822, 820, 1757, 1755, 1584, 524, 1560, 1558, 468, 464, 1514, 1511, 1508, 1519, 408, 404, 400, 1452, 1447, 1444, 417, 1458, 1455, 2208, 364, 361, 358, 2154, 1401, 1400, 1398, 1396, 374, 1393, 371, 1408, 1406, 1403, 1413, 2173, 2172, 772, 726, 723, 1712, 672, 669, 666, 682, 1678, 1675, 625, 623, 621, 618, 2331, 636, 632, 1639, 1637, 1635, 920, 918, 884, 880, 889, 849, 848, 847, 846, 2497, 855, 852, 1776, 2641, 2742, 2787, 1380, 334, 1367, 1365, 301, 297, 1340, 1338, 1335, 1343, 255, 251, 247, 1296, 1291, 1288, 265, 1302, 1299, 2113, 204, 196, 192, 2042, 1232, 1230, 1224, 214, 1220, 210, 1242, 1239, 1235, 1250, 2077, 2075, 151, 148, 1993, 144, 1990, 1163, 1162, 1160, 1158, 1155, 161, 1152, 157, 1173, 1171, 1168, 1165, 168, 1181, 1178, 2021, 2020, 2018, 2023, 585, 560, 557, 1585, 516, 509, 1562, 1559, 458, 447, 2227, 472, 1516, 1513, 1510, 398, 396, 393, 390, 2181, 386, 2178, 407, 1453, 1451, 1449, 1446, 420, 1460, 2209, 769, 764, 720, 712, 2391, 729, 1713, 664, 663, 661, 659, 2352, 656, 2349, 671, 1679, 1677, 2553, 922, 919, 2519, 2516, 885, 883, 881, 2685, 2661, 2659, 2767, 2756, 2755, 140, 1137, 1136, 130, 127, 1125, 1124, 1122, 1127, 109, 106, 102, 1103, 1102, 1100, 1098, 116, 1107, 1105, 1980, 80, 76, 73, 1947, 1068, 1067, 1065, 1063, 90, 1060, 87, 1075, 1073, 1070, WidgetSettingsUserProfile.MAX_BANNER_IMAGE_SIZE, 1966, 1965, 46, 43, 40, 1912, 36, 1909, PointerIconCompat.TYPE_ZOOM_OUT, PointerIconCompat.TYPE_ZOOM_IN, PointerIconCompat.TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW, PointerIconCompat.TYPE_HORIZONTAL_DOUBLE_ARROW, 58, PointerIconCompat.TYPE_COPY, 55, PointerIconCompat.TYPE_TEXT, 51, 1029, 1027, 1024, PointerIconCompat.TYPE_GRABBING, 63, 1037, 1034, 1940, 1939, 1937, 1942, 8, 1866, 4, 1863, 1, 1860, 956, 954, 952, 949, 946, 17, 14, 969, 967, 964, 961, 27, 957, 24, 979, 976, 972, 1901, 1900, 1898, 1896, 986, 1905, 1903, 350, 349, 1381, 329, 327, 324, 1368, 1366, 292, 290, 287, 284, 2118, 304, 1341, 1339, 1337, 1345, 243, 240, 237, 2086, 233, 2083, 254, 1297, 1295, 1293, 1290, 1304, 2114, 190, 187, 184, 2034, BaseTransientBottomBar.ANIMATION_FADE_DURATION, 2031, 177, 2027, 199, 1233, 1231, 1229, 1226, 217, 1223, 1241, 2078, 2076, 584, 555, 554, 552, 550, 2282, 562, 1586, 507, 506, 504, 502, 2257, 499, 2254, 515, 1563, 1561, 445, 443, 441, 2219, 438, 2216, 435, 2212, 460, 454, 475, 1517, 1515, 1512, 2447, 798, 797, 2422, 2419, 770, 768, 766, 2383, 2380, 2376, 721, 719, 717, 714, 731, 1714, 2602, 2582, 2580, 2548, 2546, 2543, 923, 921, 2717, 2706, 2705, 2683, 2682, 2680, 1771, 1752, 1750, 1733, 1732, 1731, 1735, 1814, 1707, 1670, 1668, 1631, 1629, 1626, 1634, 1599, 1598, 1596, 1594, 1603, 1601, 2326, 1772, 1753, 1751, 1581, 1554, 1552, 1504, 1501, 1498, 1509, 1442, 1437, 1434, 401, 1448, 1445, 2206, 1392, 1391, 1389, 1387, 1384, 359, 1399, 1397, 1394, 1404, 2171, 2170, 1708, 1672, 1669, 619, 1632, 1630, 1628, 1773, 1378, 1363, 1361, 1333, 1328, 1336, 1286, 1281, 1278, 248, 1292, 1289, 2111, 1218, 1216, 1210, 197, 1206, 193, 1228, 1225, 1221, 1236, 2073, 2071, 1151, 1150, 1148, 1146, 152, 1143, 149, 1140, 145, 1161, 1159, 1156, 1153, 158, 1169, 1166, 2017, 2016, 2014, 2019, 1582, 510, 1556, 1553, 452, 448, 1506, 1500, 394, 391, 387, 1443, 1441, 1439, 1436, 1450, 2207, 765, 716, 713, 1709, 662, 660, 657, 1673, 1671, 916, 914, 879, 878, 877, 882, 1135, 1134, 1121, 1120, 1118, 1123, 1097, 1096, 1094, 1092, 103, 1101, 1099, 1979, 1059, 1058, 1056, 1054, 77, 1051, 74, 1066, 1064, 1061, 1071, 1964, 1963, PointerIconCompat.TYPE_CROSSHAIR, PointerIconCompat.TYPE_CELL, PointerIconCompat.TYPE_WAIT, PointerIconCompat.TYPE_HAND, RoomDatabase.MAX_BIND_PARAMETER_CNT, 41, 996, 37, PointerIconCompat.TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW, PointerIconCompat.TYPE_VERTICAL_DOUBLE_ARROW, PointerIconCompat.TYPE_NO_DROP, PointerIconCompat.TYPE_VERTICAL_TEXT, 52, InputDeviceCompat.SOURCE_GAMEPAD, 1022, 1936, 1935, 1933, 1938, 942, 940, 938, 935, 932, 5, 2, 955, 953, 950, 947, 18, 943, 15, 965, 962, 958, 1895, 1894, 1892, 1890, 973, 1899, 1897, 1379, 325, 1364, 1362, ScreenShareManager.THUMBNAIL_HEIGHT_PX, 285, 1334, 1332, 1330, 241, 238, 234, 1287, 1285, 1283, 1280, 1294, 2112, 188, 185, 181, 178, 2028, 1219, 1217, 1215, 1212, 200, 1209, 1227, 2074, 2072, 583, 553, 551, 1583, 505, 503, 500, InputDeviceCompat.SOURCE_DPAD, 1557, 1555, 444, 442, 439, 436, 2213, 455, 451, 1507, 1505, 1502, 796, 763, 762, 760, 767, 711, 710, 708, 706, 2377, 718, 715, 1710, 2544, 917, 915, 2681, 1627, 1597, 1595, 2325, 1769, 1749, 1747, 1499, 1438, 1435, 2204, 1390, 1388, 1385, 1395, 2169, 2167, 1704, 1665, 1662, 1625, 1623, 1620, 1770, 1329, 1282, 1279, 2109, 1214, 1207, 1222, 2068, 2065, 1149, 1147, 1144, 1141, 146, 1157, 1154, 2013, 2011, 2008, 2015, 1579, 1549, 1546, 1495, 1487, 1433, 1431, 1428, 1425, 388, 1440, 2205, 1705, 658, 1667, 1664, 1119, 1095, 1093, 1978, 1057, 1055, 1052, 1062, 1962, 1960, 1005, PointerIconCompat.TYPE_HELP, 1000, 997, 38, PointerIconCompat.TYPE_ALL_SCROLL, PointerIconCompat.TYPE_ALIAS, 1932, 1930, 1927, 1934, 941, 939, 936, 933, 6, 930, 3, 951, 948, 944, 1889, 1887, 1884, 1881, 959, 1893, 1891, 35, 1377, 1360, 1358, 1327, 1325, 1322, 1331, 1277, 1275, 1272, 1269, 235, 1284, 2110, 1205, 1204, 1201, 1198, 182, 1195, 179, 1213, 2070, 2067, 1580, 501, 1551, 1548, 440, 437, 1497, 1494, 1490, 1503, 761, 709, 707, 1706, 913, 912, 2198, 1386, 2164, 2161, 1621, 1766, 2103, 1208, 2058, 2054, 1145, 1142, 2005, 2002, 1999, 2009, 1488, 1429, 1426, 2200, 1698, 1659, 1656, 1975, 1053, 1957, 1954, PointerIconCompat.TYPE_CONTEXT_MENU, 998, 1924, 1921, 1918, 1928, 937, 934, 931, 1879, 1876, 1873, 1870, 945, 1885, 1882, 1323, 1273, 1270, 2105, 1202, 1199, 1196, 1211, 2061, 2057, 1576, 1543, 1540, 1484, 1481, 1478, 1491, 1700}; + public static final int[] f1477c = {2627, 1819, 2622, 2621, 1813, 1812, 2729, 2724, 2723, 2779, 2774, 2773, 902, 896, 908, 868, 865, 861, 859, 2511, 873, 871, 1780, 835, 2493, 825, 2491, 842, 837, 844, 1764, 1762, 811, 810, 809, 2483, 807, 2482, 806, 2480, 815, 814, 813, 812, 2484, 817, 816, 1745, 1744, 1742, 1746, 2655, 2637, 2635, 2626, 2625, 2623, 2628, 1820, 2752, 2739, 2737, 2728, 2727, 2725, 2730, 2785, 2783, 2778, 2777, 2775, 2780, 787, 781, 747, 739, 736, 2413, 754, 752, 1719, 692, 689, 681, 2371, 678, 2369, 700, 697, 694, 703, 1688, 1686, 642, 638, 2343, 631, 2341, 627, 2338, 651, 646, 643, 2345, 654, 652, 1652, 1650, 1647, 1654, 601, 599, 2322, 596, 2321, 594, 2319, 2317, 611, 610, 608, 606, 2324, 603, 2323, 615, 614, 612, 1617, 1616, 1614, 1612, 616, 1619, 1618, 2575, 2538, 2536, 905, 901, 898, 909, 2509, 2507, 2504, 870, 867, 864, 860, 2512, 875, 872, 1781, 2490, 2489, 2487, 2485, 1748, 836, 834, 832, 830, 2494, 827, 2492, 843, 841, 839, 845, 1765, 1763, 2701, 2676, 2674, 2653, 2648, 2656, 2634, 2633, 2631, 2629, 1821, 2638, 2636, 2770, 2763, 2761, 2750, 2745, 2753, 2736, 2735, 2733, 2731, 1848, 2740, 2738, 2786, 2784, 591, 588, 576, 569, 566, 2296, 1590, 537, 534, 526, 2276, 522, 2274, 545, 542, 539, 548, 1572, 1570, 481, 2245, 466, 2242, 462, 2239, 492, 485, 482, 2249, 496, 494, 1534, 1531, 1528, 1538, 413, 2196, 406, 2191, 2188, 425, 419, 2202, 415, 2199, 432, 430, 427, 1472, 1467, 1464, 433, 1476, 1474, 368, 367, 2160, 365, 2159, 362, 2157, 2155, 2152, 378, 377, 375, 2166, 372, 2165, 369, 2162, 383, 381, 379, 2168, 1419, 1418, 1416, 1414, 385, 1411, 384, 1423, 1422, 1420, 1424, 2461, 802, 2441, 2439, 790, 786, 783, 794, 2409, 2406, 2403, 750, 742, 738, 2414, 756, 753, 1720, 2367, 2365, 2362, 2359, 1663, 693, 691, 684, 2373, 680, 2370, 702, 699, 696, 704, 1690, 1687, 2337, 2336, 2334, 2332, 1624, 2329, 1622, 640, 637, 2344, 634, 2342, 630, 2340, 650, 648, 645, 2346, 655, 653, 1653, 1651, 1649, 1655, 2612, 2597, 2595, 2571, 2568, 2565, 2576, 2534, 2529, 2526, 1787, 2540, 2537, 907, 904, 900, 910, 2503, 2502, GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, 2498, 1768, 2495, 1767, 2510, 2508, 2506, 869, 866, 863, 2513, 876, 874, 1782, 2720, 2713, 2711, 2697, 2694, 2691, 2702, 2672, 2670, 2664, 1828, 2678, 2675, 2647, 2646, 2644, 2642, 1823, 2639, 1822, 2654, 2652, 2650, 2657, 2771, 1855, 2765, 2762, 1850, 1849, 2751, 2749, 2747, 2754, 353, 2148, 344, 342, 336, 2142, 332, 2140, 345, 1375, 1373, 306, 2130, 299, 2128, 295, 2125, 319, 314, 311, 2132, 1354, 1352, 1349, 1356, 262, 257, 2101, 253, 2096, 2093, 274, AudioAttributesCompat.FLAG_ALL_PUBLIC, 267, 2107, 263, 2104, 280, 278, 275, 1316, 1311, 1308, 1320, 1318, 2052, 202, 2050, 2044, 2040, 219, 2063, 212, 2060, 208, 2055, 224, 221, 2066, 1260, 1258, 1252, 231, 1248, 229, 1266, 1264, 1261, 1268, 155, 1998, 153, 1996, 1994, 1991, 1988, 165, 164, 2007, 162, 2006, 159, 2003, 2000, 172, 171, 169, 2012, 166, 2010, 1186, 1184, 1182, 1179, HideBottomViewOnScrollBehavior.EXIT_ANIMATION_DURATION, 1176, 173, 1192, 1191, 1189, 1187, 176, 1194, 1193, 2313, 2307, 2305, 592, 589, 2294, 2292, 2289, 578, 572, 568, 2297, 580, 1591, 2272, 2267, 2264, 1547, 538, 536, 529, 2278, 525, 2275, 547, 544, 541, 1574, 1571, 2237, 2235, 2229, 1493, 2225, 1489, 478, 2247, 470, 2244, 465, 2241, 493, 488, 484, 2250, 498, 495, 1536, 1533, 1530, 1539, 2187, 2186, 2184, 2182, 1432, 2179, 1430, 2176, 1427, 414, 412, 2197, 409, 2195, 405, 2193, 2190, 426, 424, 421, 2203, 418, 2201, 431, 429, 1473, 1471, 1469, 1466, 434, 1477, 1475, 2478, 2472, 2470, 2459, 2457, 2454, 2462, 803, 2437, 2432, 2429, 1726, 2443, 2440, 792, 789, 785, 2401, 2399, 2393, 1702, 2389, 1699, 2411, 2408, 2405, 745, 741, 2415, 758, 755, 1721, 2358, 2357, 2355, 2353, 1661, 2350, 1660, 2347, 1657, 2368, 2366, 2364, 2361, 1666, 690, 687, 2374, 683, 2372, 701, 698, 705, 1691, 1689, 2619, 2617, 2610, 2608, 2605, 2613, 2593, 2588, 2585, 1803, 2599, 2596, 2563, 2561, 2555, 1797, 2551, 1795, 2573, 2570, 2567, 2577, 2525, 2524, 2522, 2520, 1786, 2517, 1785, 2514, 1783, 2535, 2533, 2531, 2528, 1788, 2541, 2539, 906, 903, 911, 2721, 1844, 2715, 2712, 1838, 1836, 2699, 2696, 2693, 2703, 1827, 1826, 1824, 2673, 2671, 2669, 2666, 1829, 2679, 2677, 1858, 1857, 2772, 1854, 1853, 1851, 1856, 2766, 2764, 143, 1987, 139, 1986, 135, 133, 131, 1984, 128, 1983, 125, 1981, 138, 137, 136, 1985, 1133, 1132, 1130, 112, 110, 1974, 107, 1973, 104, 1971, 1969, 122, 121, 119, 117, 1977, 114, 1976, 124, 1115, 1114, 1112, 1110, 1117, 1116, 84, 83, 1953, 81, 1952, 78, 1950, 1948, 1945, 94, 93, 91, 1959, 88, 1958, 85, 1955, 99, 97, 95, 1961, 1086, 1085, 1083, 1081, 1078, 100, 1090, 1089, 1087, 1091, 49, 47, 1917, 44, 1915, 1913, 1910, 1907, 59, 1926, 56, 1925, 53, 1922, 1919, 66, 64, 1931, 61, 1929, 1042, 1040, 1038, 71, 1035, 70, 1032, 68, 1048, 1047, 1045, 1043, 1050, 1049, 12, 10, 1869, 1867, 1864, 1861, 21, 1880, 19, 1877, 1874, 1871, 28, 1888, 25, 1886, 22, 1883, 982, 980, 977, 974, 32, 30, 991, 989, 987, 984, 34, 995, 994, 992, 2151, 2150, 2147, 2146, 2144, 356, 355, 354, 2149, 2139, 2138, 2136, 2134, 1359, 343, 341, 338, 2143, 335, 2141, 348, 347, 346, 1376, 1374, 2124, 2123, 2121, 2119, 1326, 2116, 1324, 310, 308, 305, 2131, 302, 2129, 298, 2127, 320, 318, 316, 313, 2133, 322, 321, 1355, 1353, 1351, 1357, 2092, 2091, 2089, 2087, 1276, 2084, 1274, 2081, 1271, 259, 2102, 256, 2100, 252, 2098, 2095, 272, 269, 2108, 266, 2106, 281, 279, 277, 1317, 1315, 1313, 1310, 282, 1321, 1319, 2039, 2037, 2035, 2032, 1203, 2029, 1200, 1197, 207, 2053, 205, 2051, 201, 2049, 2046, 2043, 220, 218, 2064, 215, 2062, 211, 2059, 228, 226, 223, 2069, 1259, 1257, 1254, 232, 1251, 230, 1267, 1265, 1263, 2316, 2315, 2312, 2311, 2309, 2314, 2304, 2303, 2301, 2299, 1593, 2308, 2306, 590, 2288, 2287, 2285, 2283, 1578, 2280, 1577, 2295, 2293, 2291, 579, 577, 574, 571, 2298, 582, 581, 1592, 2263, 2262, 2260, 2258, 1545, 2255, 1544, 2252, 1541, 2273, 2271, 2269, 2266, 1550, 535, 532, 2279, 528, 2277, 546, 543, 549, 1575, 1573, 2224, 2222, 2220, 1486, 2217, 1485, 2214, 1482, 1479, 2238, 2236, 2234, 2231, 1496, 2228, 1492, 480, 477, 2248, 473, 2246, 469, 2243, 490, 487, 2251, 497, 1537, 1535, 1532, 2477, 2476, 2474, 2479, 2469, 2468, 2466, 2464, 1730, 2473, 2471, 2453, 2452, 2450, 2448, 1729, 2445, 1728, 2460, 2458, 2456, 2463, 805, 804, 2428, 2427, 2425, 2423, 1725, 2420, 1724, 2417, 1722, 2438, 2436, 2434, 2431, 1727, 2444, 2442, 793, 791, 788, 795, 2388, 2386, 2384, 1697, 2381, 1696, 2378, 1694, 1692, 2402, 2400, 2398, 2395, 1703, 2392, 1701, 2412, 2410, 2407, 751, 748, 744, 2416, 759, 757, 1807, 2620, 2618, 1806, 1805, 2611, 2609, 2607, 2614, 1802, 1801, 1799, 2594, 2592, 2590, 2587, 1804, 2600, 2598, 1794, 1793, 1791, 1789, 2564, 2562, 2560, 2557, 1798, 2554, 1796, 2574, 2572, 2569, 2578, 1847, 1846, 2722, 1843, 1842, 1840, 1845, 2716, 2714, 1835, 1834, 1832, 1830, 1839, 1837, 2700, 2698, 2695, 2704, 1817, 1811, 1810, 897, 862, 1777, 829, 826, 838, 1760, 1758, 808, 2481, 1741, 1740, 1738, 1743, 2624, 1818, 2726, 2776, 782, 740, 737, 1715, 686, 679, 695, 1682, 1680, 639, 628, 2339, 647, 644, 1645, 1643, 1640, 1648, 602, 600, 597, 595, 2320, 593, 2318, 609, 607, 604, 1611, 1610, 1608, 1606, 613, 1615, 1613, 2328, 926, 924, 892, 886, 899, 857, 850, 2505, 1778, 824, 823, 821, 819, 2488, 818, 2486, 833, 831, 828, 840, 1761, 1759, 2649, 2632, 2630, 2746, 2734, 2732, 2782, 2781, 570, 567, 1587, 531, 527, 523, 540, 1566, 1564, 476, 467, 463, 2240, 486, 483, 1524, 1521, 1518, 1529, 411, 403, 2192, 399, 2189, 423, 416, 1462, 1457, 1454, 428, 1468, 1465, 2210, 366, 363, 2158, 360, 2156, 357, 2153, 376, 373, 370, 2163, 1410, 1409, 1407, 1405, 382, 1402, 380, 1417, 1415, 1412, 1421, 2175, 2174, 777, 774, 771, 784, 732, 725, 722, 2404, 743, 1716, 676, 674, 668, 2363, 665, 2360, 685, 1684, 1681, 626, 624, 622, 2335, 620, 2333, 617, 2330, 641, 635, 649, 1646, 1644, 1642, 2566, 928, 925, 2530, 2527, 894, 891, 888, 2501, 2499, 2496, 858, 856, 854, 851, 1779, 2692, 2668, 2665, 2645, 2643, 2640, 2651, 2768, 2759, 2757, 2744, 2743, 2741, 2748, 352, 1382, 340, 337, 333, 1371, 1369, 307, 300, 296, 2126, 315, 312, 1347, 1342, 1350, 261, 258, 250, 2097, 246, 2094, 271, 268, 264, 1306, 1301, 1298, 276, 1312, 1309, 2115, 203, 2048, 195, 2045, 191, 2041, 213, 209, 2056, 1246, 1244, 1238, HideBottomViewOnScrollBehavior.ENTER_ANIMATION_DURATION, 1234, 222, 1256, 1253, 1249, 1262, 2080, 2079, 154, 1997, FontUtils.MAX_FONT_SCALING, 1995, 147, 1992, 1989, 163, 160, 2004, 156, 2001, 1175, 1174, 1172, 1170, 1167, 170, 1164, 167, 1185, 1183, 1180, 1177, 174, 1190, 1188, 2025, 2024, 2022, 587, 586, 564, 559, 556, 2290, 573, 1588, 520, 518, 512, 2268, 508, 2265, 530, 1568, 1565, 461, 457, 2233, 450, 2230, 446, 2226, 479, 471, 489, 1526, 1523, 1520, 397, 395, 2185, 392, 2183, 389, 2180, 2177, 410, 2194, 402, 422, 1463, 1461, 1459, 1456, 1470, 2455, 799, 2433, 2430, 779, 776, 773, 2397, 2394, 2390, 734, 728, 724, 746, 1717, 2356, 2354, 2351, 2348, 1658, 677, 675, 673, 670, 667, 688, 1685, 1683, 2606, 2589, 2586, 2559, 2556, 2552, 927, 2523, 2521, 2518, 2515, 1784, 2532, 895, 893, 890, 2718, 2709, 2707, 2689, 2687, 2684, 2663, 2662, 2660, 2658, 1825, 2667, 2769, 1852, 2760, 2758, 142, 141, 1139, 1138, 134, 132, 129, 126, 1982, 1129, 1128, 1126, 1131, 113, 111, 108, 105, 1972, 101, 1970, 120, 118, 115, 1109, 1108, 1106, 1104, 123, 1113, 1111, 82, 79, 1951, 75, 1949, 72, 1946, 92, 89, 86, 1956, 1077, 1076, 1074, 1072, 98, 1069, 96, 1084, 1082, 1079, 1088, 1968, 1967, 48, 45, 1916, 42, 1914, 39, 1911, 1908, 60, 57, 54, 1923, 50, 1920, 1031, 1030, 1028, 1026, 67, AudioAttributesCompat.FLAG_ALL, 65, PointerIconCompat.TYPE_GRAB, 62, 1041, 1039, 1036, 1033, 69, 1046, 1044, 1944, 1943, 1941, 11, 9, 1868, 7, 1865, 1862, 1859, 20, 1878, 16, 1875, 13, 1872, 970, 968, 966, 963, 29, 960, 26, 23, 983, 981, 978, 975, 33, 971, 31, 990, 988, 985, 1906, 1904, 1902, 993, 351, 2145, 1383, 331, 330, 328, 326, 2137, 323, 2135, 339, 1372, 1370, 294, 293, 291, 289, 2122, 286, 2120, 283, 2117, 309, 303, 317, 1348, 1346, 1344, 245, 244, 242, 2090, 239, 2088, 236, 2085, 2082, 260, 2099, 249, 270, 1307, 1305, 1303, 1300, 1314, 189, 2038, 186, 2036, 183, 2033, 2030, 2026, 206, 198, 2047, 194, 216, 1247, 1245, 1243, 1240, 227, 1237, 1255, 2310, 2302, 2300, 2286, 2284, 2281, 565, 563, 561, 558, 575, 1589, 2261, 2259, 2256, 2253, 1542, 521, 519, 517, 514, 2270, FrameMetricsAggregator.EVERY_DURATION, 533, 1569, 1567, 2223, 2221, 2218, 2215, 1483, 2211, 1480, 459, 456, 453, 2232, 449, 474, 491, 1527, 1525, 1522, 2475, 2467, 2465, 2451, 2449, 2446, 801, 800, 2426, 2424, 2421, 2418, 1723, 2435, 780, 778, 775, 2387, 2385, 2382, 2379, 1695, 2375, 1693, 2396, 735, 733, 730, 727, 749, 1718, 2616, 2615, 2604, 2603, 2601, 2584, 2583, 2581, 2579, ModelInvite.Settings.HALF_HOUR, 2591, 2550, 2549, 2547, 2545, 1792, 2542, 1790, 2558, 929, 2719, 1841, 2710, 2708, 1833, 1831, 2690, 2688, 2686, 1815, 1809, 1808, 1774, 1756, 1754, 1737, 1736, 1734, 1739, 1816, 1711, 1676, 1674, 633, 629, 1638, 1636, 1633, 1641, 598, 1605, 1604, 1602, 1600, 605, 1609, 1607, 2327, 887, 853, 1775, 822, 820, 1757, 1755, 1584, 524, 1560, 1558, 468, 464, 1514, 1511, 1508, 1519, 408, 404, 400, 1452, 1447, 1444, 417, 1458, 1455, 2208, 364, 361, 358, 2154, 1401, 1400, 1398, 1396, 374, 1393, 371, 1408, 1406, 1403, 1413, 2173, 2172, 772, 726, 723, 1712, 672, 669, 666, 682, 1678, 1675, 625, 623, 621, 618, 2331, 636, 632, 1639, 1637, 1635, 920, 918, 884, 880, 889, 849, 848, 847, 846, 2497, 855, 852, 1776, 2641, 2742, 2787, 1380, 334, 1367, 1365, 301, 297, 1340, 1338, 1335, 1343, 255, 251, 247, 1296, 1291, 1288, 265, 1302, 1299, 2113, 204, 196, 192, 2042, 1232, 1230, 1224, 214, 1220, 210, 1242, 1239, 1235, 1250, 2077, 2075, 151, 148, 1993, 144, 1990, 1163, 1162, 1160, 1158, 1155, 161, 1152, 157, 1173, 1171, 1168, 1165, 168, 1181, 1178, 2021, 2020, 2018, 2023, 585, 560, 557, 1585, 516, 509, 1562, 1559, 458, 447, 2227, 472, 1516, 1513, 1510, 398, 396, 393, 390, 2181, 386, 2178, 407, 1453, 1451, 1449, 1446, 420, 1460, 2209, 769, 764, 720, 712, 2391, 729, 1713, 664, 663, 661, 659, 2352, 656, 2349, 671, 1679, 1677, 2553, 922, 919, 2519, 2516, 885, 883, 881, 2685, 2661, 2659, 2767, 2756, 2755, 140, 1137, 1136, 130, 127, 1125, 1124, 1122, 1127, 109, 106, 102, 1103, 1102, 1100, 1098, 116, 1107, 1105, 1980, 80, 76, 73, 1947, 1068, 1067, 1065, 1063, 90, 1060, 87, 1075, 1073, 1070, WidgetSettingsUserProfile.MAX_BANNER_IMAGE_SIZE, 1966, 1965, 46, 43, 40, 1912, 36, 1909, PointerIconCompat.TYPE_ZOOM_OUT, PointerIconCompat.TYPE_ZOOM_IN, PointerIconCompat.TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW, PointerIconCompat.TYPE_HORIZONTAL_DOUBLE_ARROW, 58, PointerIconCompat.TYPE_COPY, 55, PointerIconCompat.TYPE_TEXT, 51, 1029, 1027, 1024, PointerIconCompat.TYPE_GRABBING, 63, 1037, 1034, 1940, 1939, 1937, 1942, 8, 1866, 4, 1863, 1, 1860, 956, 954, 952, 949, 946, 17, 14, 969, 967, 964, 961, 27, 957, 24, 979, 976, 972, 1901, 1900, 1898, 1896, 986, 1905, 1903, 350, 349, 1381, 329, 327, 324, 1368, 1366, 292, 290, 287, 284, 2118, 304, 1341, 1339, 1337, 1345, 243, 240, 237, 2086, 233, 2083, 254, 1297, 1295, 1293, 1290, 1304, 2114, 190, 187, 184, 2034, BaseTransientBottomBar.ANIMATION_FADE_DURATION, 2031, 177, 2027, 199, 1233, 1231, 1229, 1226, 217, 1223, 1241, 2078, 2076, 584, 555, 554, 552, 550, 2282, 562, 1586, 507, 506, 504, 502, 2257, 499, 2254, 515, 1563, 1561, 445, 443, 441, 2219, 438, 2216, 435, 2212, 460, 454, 475, 1517, 1515, 1512, 2447, 798, 797, 2422, 2419, 770, 768, 766, 2383, 2380, 2376, 721, 719, 717, 714, 731, 1714, 2602, 2582, 2580, 2548, 2546, 2543, 923, 921, 2717, 2706, 2705, 2683, 2682, 2680, 1771, 1752, 1750, 1733, 1732, 1731, 1735, 1814, 1707, 1670, 1668, 1631, 1629, 1626, 1634, 1599, 1598, 1596, 1594, 1603, 1601, 2326, 1772, 1753, 1751, 1581, 1554, 1552, 1504, 1501, 1498, 1509, 1442, 1437, 1434, 401, 1448, 1445, 2206, 1392, 1391, 1389, 1387, 1384, 359, 1399, 1397, 1394, 1404, 2171, 2170, 1708, 1672, 1669, 619, 1632, 1630, 1628, 1773, 1378, 1363, 1361, 1333, 1328, 1336, 1286, 1281, 1278, 248, 1292, 1289, 2111, 1218, 1216, 1210, 197, 1206, 193, 1228, 1225, 1221, 1236, 2073, 2071, 1151, 1150, 1148, 1146, 152, 1143, 149, 1140, 145, 1161, 1159, 1156, 1153, 158, 1169, 1166, 2017, 2016, 2014, 2019, 1582, 510, 1556, 1553, 452, 448, 1506, 1500, 394, 391, 387, 1443, 1441, 1439, 1436, 1450, 2207, 765, 716, 713, 1709, 662, 660, 657, 1673, 1671, 916, 914, 879, 878, 877, 882, 1135, 1134, 1121, 1120, 1118, 1123, 1097, 1096, 1094, 1092, 103, 1101, 1099, 1979, 1059, 1058, 1056, 1054, 77, 1051, 74, 1066, 1064, 1061, 1071, 1964, 1963, PointerIconCompat.TYPE_CROSSHAIR, PointerIconCompat.TYPE_CELL, PointerIconCompat.TYPE_WAIT, PointerIconCompat.TYPE_HAND, RoomDatabase.MAX_BIND_PARAMETER_CNT, 41, 996, 37, PointerIconCompat.TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW, PointerIconCompat.TYPE_VERTICAL_DOUBLE_ARROW, PointerIconCompat.TYPE_NO_DROP, PointerIconCompat.TYPE_VERTICAL_TEXT, 52, InputDeviceCompat.SOURCE_GAMEPAD, 1022, 1936, 1935, 1933, 1938, 942, 940, 938, 935, 932, 5, 2, 955, 953, 950, 947, 18, 943, 15, 965, 962, 958, 1895, 1894, 1892, 1890, 973, 1899, 1897, 1379, 325, 1364, 1362, ScreenShareManager.THUMBNAIL_HEIGHT_PX, 285, 1334, 1332, 1330, 241, 238, 234, 1287, 1285, 1283, 1280, 1294, 2112, 188, 185, 181, 178, 2028, 1219, 1217, 1215, 1212, 200, 1209, 1227, 2074, 2072, 583, 553, 551, 1583, 505, 503, 500, InputDeviceCompat.SOURCE_DPAD, 1557, 1555, 444, 442, 439, 436, 2213, 455, 451, 1507, 1505, 1502, 796, 763, 762, 760, 767, 711, 710, 708, 706, 2377, 718, 715, 1710, 2544, 917, 915, 2681, 1627, 1597, 1595, 2325, 1769, 1749, 1747, 1499, 1438, 1435, 2204, 1390, 1388, 1385, 1395, 2169, 2167, 1704, 1665, 1662, 1625, 1623, 1620, 1770, 1329, 1282, 1279, 2109, 1214, 1207, 1222, 2068, 2065, 1149, 1147, 1144, 1141, 146, 1157, 1154, 2013, 2011, 2008, 2015, 1579, 1549, 1546, 1495, 1487, 1433, 1431, 1428, 1425, 388, 1440, 2205, 1705, 658, 1667, 1664, 1119, 1095, 1093, 1978, 1057, 1055, 1052, 1062, 1962, 1960, 1005, PointerIconCompat.TYPE_HELP, 1000, 997, 38, PointerIconCompat.TYPE_ALL_SCROLL, PointerIconCompat.TYPE_ALIAS, 1932, 1930, 1927, 1934, 941, 939, 936, 933, 6, 930, 3, 951, 948, 944, 1889, 1887, 1884, 1881, 959, 1893, 1891, 35, 1377, 1360, 1358, 1327, 1325, 1322, 1331, 1277, 1275, 1272, 1269, 235, 1284, 2110, 1205, 1204, 1201, 1198, 182, 1195, 179, 1213, 2070, 2067, 1580, 501, 1551, 1548, 440, 437, 1497, 1494, 1490, 1503, 761, 709, 707, 1706, 913, 912, 2198, 1386, 2164, 2161, 1621, 1766, 2103, 1208, 2058, 2054, 1145, 1142, 2005, 2002, 1999, 2009, 1488, 1429, 1426, 2200, 1698, 1659, 1656, 1975, 1053, 1957, 1954, PointerIconCompat.TYPE_CONTEXT_MENU, 998, 1924, 1921, 1918, 1928, 937, 934, 931, 1879, 1876, 1873, 1870, 945, 1885, 1882, 1323, 1273, 1270, 2105, 1202, 1199, 1196, 1211, 2061, 2057, 1576, 1543, 1540, 1484, 1481, 1478, 1491, 1700}; public static int a(int i) { int binarySearch = Arrays.binarySearch(b, i & 262143); if (binarySearch < 0) { return -1; } - return (f1525c[binarySearch] - 1) % 929; + return (f1477c[binarySearch] - 1) % 929; } public static int[] b(Collection collection) { diff --git a/app/src/main/java/c/i/e/r/b.java b/app/src/main/java/c/i/e/r/b.java index 0101d8d478..b2e98fc8e8 100644 --- a/app/src/main/java/c/i/e/r/b.java +++ b/app/src/main/java/c/i/e/r/b.java @@ -36,7 +36,7 @@ public final class b implements i { } /* JADX WARNING: Code restructure failed: missing block: B:312:0x064c, code lost: - r3 = new com.google.zxing.Result(r2.f1499c, r2.a, r4, c.i.e.a.PDF_417); + r3 = new com.google.zxing.Result(r2.f1451c, r2.a, r4, c.i.e.a.PDF_417); r3.b(c.i.e.j.ERROR_CORRECTION_LEVEL, r2.e); r2 = (c.i.e.r.c) r2.f; */ @@ -170,11 +170,11 @@ public final class b implements i { if (a3 == null) { a3 = a4; } else if (a4 != null) { - a3 = new c.i.e.r.d.c(a3.a, a3.b, a3.f1527c, a4.d, a4.e); + a3 = new c.i.e.r.d.c(a3.a, a3.b, a3.f1479c, a4.d, a4.e); } fVar2 = new f(aVar, a3); if (fVar2 == null) { - if (i12 != 0 || (cVar6 = fVar2.f1530c) == null) { + if (i12 != 0 || (cVar6 = fVar2.f1482c) == null) { break; } cVar2 = cVar5; @@ -197,7 +197,7 @@ public final class b implements i { if (fVar2 == null) { } } - fVar2.f1530c = cVar2; + fVar2.f1482c = cVar2; fVar = fVar2; hVar = hVar; int i21 = fVar.d + 1; @@ -263,7 +263,7 @@ public final class b implements i { i25 = i5; } else { i5 = i25; - i6 = z3 ? fVar.f1530c.f : fVar.f1530c.g; + i6 = z3 ? fVar.f1482c.f : fVar.f1482c.g; } } if (i6 < 0 && i6 <= cVar2.g) { @@ -468,7 +468,7 @@ public final class b implements i { int i64 = 0; for (int i65 = 14; i64 < i65; i65 = 14) { c.i.e.r.d.d dVar7 = dVarArr9[i64]; - if (dVar7 != null && dVar7.a() && dVar7.f1528c == dVar6.f1528c) { + if (dVar7 != null && dVar7.a() && dVar7.f1480c == dVar6.f1480c) { dVar6.e = dVar7.e; z2 = true; } else { diff --git a/app/src/main/java/c/i/e/r/d/a.java b/app/src/main/java/c/i/e/r/d/a.java index cc13534bca..09a3bf80bc 100644 --- a/app/src/main/java/c/i/e/r/d/a.java +++ b/app/src/main/java/c/i/e/r/d/a.java @@ -5,14 +5,14 @@ public final class a { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f1526c; + public final int f1478c; public final int d; public final int e; public a(int i, int i2, int i3, int i4) { this.a = i; this.b = i4; - this.f1526c = i2; + this.f1478c = i2; this.d = i3; this.e = i2 + i3; } diff --git a/app/src/main/java/c/i/e/r/d/c.java b/app/src/main/java/c/i/e/r/d/c.java index 97e065444c..1091fee21f 100644 --- a/app/src/main/java/c/i/e/r/d/c.java +++ b/app/src/main/java/c/i/e/r/d/c.java @@ -9,7 +9,7 @@ public final class c { public final k b; /* renamed from: c reason: collision with root package name */ - public final k f1527c; + public final k f1479c; public final k d; public final k e; public final int f; @@ -32,7 +32,7 @@ public final class c { } this.a = bVar; this.b = kVar; - this.f1527c = kVar2; + this.f1479c = kVar2; this.d = kVar3; this.e = kVar4; this.f = (int) Math.min(kVar.a, kVar2.a); @@ -47,7 +47,7 @@ public final class c { public c(c cVar) { this.a = cVar.a; this.b = cVar.b; - this.f1527c = cVar.f1527c; + this.f1479c = cVar.f1479c; this.d = cVar.d; this.e = cVar.e; this.f = cVar.f; diff --git a/app/src/main/java/c/i/e/r/d/d.java b/app/src/main/java/c/i/e/r/d/d.java index 138ac41c23..cca63fc05d 100644 --- a/app/src/main/java/c/i/e/r/d/d.java +++ b/app/src/main/java/c/i/e/r/d/d.java @@ -5,24 +5,24 @@ public final class d { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f1528c; + public final int f1480c; public final int d; public int e = -1; public d(int i, int i2, int i3, int i4) { this.a = i; this.b = i2; - this.f1528c = i3; + this.f1480c = i3; this.d = i4; } public boolean a() { int i = this.e; - return i != -1 && this.f1528c == (i % 3) * 3; + return i != -1 && this.f1480c == (i % 3) * 3; } public void b() { - this.e = (this.f1528c / 3) + ((this.d / 30) * 3); + this.e = (this.f1480c / 3) + ((this.d / 30) * 3); } public String toString() { diff --git a/app/src/main/java/c/i/e/r/d/e.java b/app/src/main/java/c/i/e/r/d/e.java index 951f0a0ba9..dda2b944be 100644 --- a/app/src/main/java/c/i/e/r/d/e.java +++ b/app/src/main/java/c/i/e/r/d/e.java @@ -9,17 +9,17 @@ public final class e { public static final char[] b = "0123456789&\r\t,:#-.$/+%*=^".toCharArray(); /* renamed from: c reason: collision with root package name */ - public static final BigInteger[] f1529c; + public static final BigInteger[] f1481c; static { BigInteger[] bigIntegerArr = new BigInteger[16]; - f1529c = bigIntegerArr; + f1481c = bigIntegerArr; bigIntegerArr[0] = BigInteger.ONE; BigInteger valueOf = BigInteger.valueOf(900); bigIntegerArr[1] = valueOf; int i = 2; while (true) { - BigInteger[] bigIntegerArr2 = f1529c; + BigInteger[] bigIntegerArr2 = f1481c; if (i < bigIntegerArr2.length) { bigIntegerArr2[i] = bigIntegerArr2[i - 1].multiply(valueOf); i++; @@ -32,7 +32,7 @@ public final class e { public static String a(int[] iArr, int i) throws FormatException { BigInteger bigInteger = BigInteger.ZERO; for (int i2 = 0; i2 < i; i2++) { - bigInteger = bigInteger.add(f1529c[(i - i2) - 1].multiply(BigInteger.valueOf((long) iArr[i2]))); + bigInteger = bigInteger.add(f1481c[(i - i2) - 1].multiply(BigInteger.valueOf((long) iArr[i2]))); } String bigInteger2 = bigInteger.toString(); if (bigInteger2.charAt(0) == '1') { diff --git a/app/src/main/java/c/i/e/r/d/f.java b/app/src/main/java/c/i/e/r/d/f.java index 34d4cdb394..76cce2a33e 100644 --- a/app/src/main/java/c/i/e/r/d/f.java +++ b/app/src/main/java/c/i/e/r/d/f.java @@ -8,14 +8,14 @@ public final class f { public final g[] b; /* renamed from: c reason: collision with root package name */ - public c f1530c; + public c f1482c; public final int d; public f(a aVar, c cVar) { this.a = aVar; int i = aVar.a; this.d = i; - this.f1530c = cVar; + this.f1482c = cVar; this.b = new g[(i + 2)]; } @@ -23,7 +23,7 @@ public final class f { if (dVar.a()) { return i2; } - if (!(i != -1 && dVar.f1528c == (i % 3) * 3)) { + if (!(i != -1 && dVar.f1480c == (i % 3) * 3)) { return i2 + 1; } dVar.e = i; @@ -43,9 +43,9 @@ public final class f { } hVar.d(dVarArr, aVar); c cVar = hVar.a; - boolean z2 = hVar.f1531c; + boolean z2 = hVar.f1483c; k kVar = z2 ? cVar.b : cVar.d; - k kVar2 = z2 ? cVar.f1527c : cVar.e; + k kVar2 = z2 ? cVar.f1479c : cVar.e; int b = hVar.b((int) kVar.b); int b2 = hVar.b((int) kVar2.b); int i2 = -1; diff --git a/app/src/main/java/c/i/e/r/d/h.java b/app/src/main/java/c/i/e/r/d/h.java index 1f78d5c155..0696017e8b 100644 --- a/app/src/main/java/c/i/e/r/d/h.java +++ b/app/src/main/java/c/i/e/r/d/h.java @@ -3,11 +3,11 @@ package c.i.e.r.d; public final class h extends g { /* renamed from: c reason: collision with root package name */ - public final boolean f1531c; + public final boolean f1483c; public h(c cVar, boolean z2) { super(cVar); - this.f1531c = z2; + this.f1483c = z2; } public a c() { @@ -21,7 +21,7 @@ public final class h extends g { dVar.b(); int i = dVar.d % 30; int i2 = dVar.e; - if (!this.f1531c) { + if (!this.f1483c) { i2 += 2; } int i3 = i2 % 3; @@ -52,7 +52,7 @@ public final class h extends g { if (i3 > aVar.e) { dVarArr[i] = null; } else { - if (!this.f1531c) { + if (!this.f1483c) { i3 += 2; } int i4 = i3 % 3; @@ -64,7 +64,7 @@ public final class h extends g { } else if (i2 / 3 != aVar.b || i2 % 3 != aVar.d) { dVarArr[i] = null; } - } else if ((i2 * 3) + 1 != aVar.f1526c) { + } else if ((i2 * 3) + 1 != aVar.f1478c) { dVarArr[i] = null; } } @@ -74,6 +74,6 @@ public final class h extends g { @Override // c.i.e.r.d.g public String toString() { - return "IsLeft: " + this.f1531c + '\n' + super.toString(); + return "IsLeft: " + this.f1483c + '\n' + super.toString(); } } diff --git a/app/src/main/java/c/i/e/r/d/j.java b/app/src/main/java/c/i/e/r/d/j.java index 5e4bf8e5e7..64c35016ae 100644 --- a/app/src/main/java/c/i/e/r/d/j.java +++ b/app/src/main/java/c/i/e/r/d/j.java @@ -1,5 +1,6 @@ package c.i.e.r.d; +import c.i.a.f.e.o.f; import c.i.e.k; import c.i.e.n.d; import c.i.e.n.e; @@ -35,9 +36,9 @@ public final class j { iArr = null; } else { c cVar = hVar.a; - boolean z2 = hVar.f1531c; + boolean z2 = hVar.f1483c; k kVar5 = z2 ? cVar.b : cVar.d; - k kVar6 = z2 ? cVar.f1527c : cVar.e; + k kVar6 = z2 ? cVar.f1479c : cVar.e; int b = hVar.b((int) kVar6.b); d[] dVarArr = hVar.b; int i3 = -1; @@ -106,9 +107,9 @@ public final class j { length2--; } c cVar2 = hVar.a; - boolean z3 = hVar.f1531c; + boolean z3 = hVar.f1483c; k kVar7 = cVar2.b; - k kVar8 = cVar2.f1527c; + k kVar8 = cVar2.f1479c; k kVar9 = cVar2.d; k kVar10 = cVar2.e; if (i11 > 0) { @@ -242,7 +243,7 @@ public final class j { int i16 = iArr4[i15]; Objects.requireNonNull(bVar3); if (i16 != 0) { - int i17 = length - bVar3.f1532c[i16]; + int i17 = length - bVar3.f1484c[i16]; if (i17 >= 0) { iArr[i17] = aVar.a.e(iArr[i17], iArr6[i15]); } else { @@ -652,28 +653,28 @@ public final class j { if (iArr == null) { return null; } - int k0 = c.i.a.f.e.o.c.k0(iArr); + int U0 = f.U0(iArr); if (z2) { - i7 = i10 + k0; + i7 = i10 + U0; } else { for (int i15 = 0; i15 < iArr.length / 2; i15++) { int i16 = iArr[i15]; iArr[i15] = iArr[(iArr.length - 1) - i15]; iArr[(iArr.length - 1) - i15] = i16; } - i10 -= k0; + i10 -= U0; i7 = i10; } - if (!(i5 + -2 <= k0 && k0 <= i6 + 2)) { + if (!(i5 + -2 <= U0 && U0 <= i6 + 2)) { return null; } float[][] fArr = i.a; - float k02 = (float) c.i.a.f.e.o.c.k0(iArr); + float U02 = (float) f.U0(iArr); int[] iArr2 = new int[8]; int i17 = 0; int i18 = 0; for (int i19 = 0; i19 < 17; i19++) { - if (((float) (iArr[i17] + i18)) <= ((((float) i19) * k02) / 17.0f) + (k02 / 34.0f)) { + if (((float) (iArr[i17] + i18)) <= ((((float) i19) * U02) / 17.0f) + (U02 / 34.0f)) { i18 += iArr[i17]; i17++; } @@ -690,11 +691,11 @@ public final class j { i22 = -1; } if (i22 == -1) { - int k03 = c.i.a.f.e.o.c.k0(iArr); + int U03 = f.U0(iArr); float[] fArr2 = new float[8]; - if (k03 > 1) { + if (U03 > 1) { for (int i23 = 0; i23 < 8; i23++) { - fArr2[i23] = ((float) iArr[i23]) / ((float) k03); + fArr2[i23] = ((float) iArr[i23]) / ((float) U03); } } float f = Float.MAX_VALUE; diff --git a/app/src/main/java/c/i/e/r/d/k/b.java b/app/src/main/java/c/i/e/r/d/k/b.java index 16dcea5b74..21f727aaa5 100644 --- a/app/src/main/java/c/i/e/r/d/k/b.java +++ b/app/src/main/java/c/i/e/r/d/k/b.java @@ -5,20 +5,20 @@ public final class b { public final int[] b; /* renamed from: c reason: collision with root package name */ - public final int[] f1532c; + public final int[] f1484c; public final c d; public final c e; public b(int i, int i2) { this.b = new int[i]; - this.f1532c = new int[i]; + this.f1484c = new int[i]; int i3 = 1; for (int i4 = 0; i4 < i; i4++) { this.b[i4] = i3; i3 = (i3 * i2) % i; } for (int i5 = 0; i5 < i - 1; i5++) { - this.f1532c[this.b[i5]] = i5; + this.f1484c[this.b[i5]] = i5; } this.d = new c(this, new int[]{0}); this.e = new c(this, new int[]{1}); @@ -42,7 +42,7 @@ public final class b { public int c(int i) { if (i != 0) { - return this.b[(929 - this.f1532c[i]) - 1]; + return this.b[(929 - this.f1484c[i]) - 1]; } throw new ArithmeticException(); } @@ -52,7 +52,7 @@ public final class b { return 0; } int[] iArr = this.b; - int[] iArr2 = this.f1532c; + int[] iArr2 = this.f1484c; return iArr[(iArr2[i] + iArr2[i2]) % 928]; } diff --git a/app/src/main/java/c/i/e/r/e/a.java b/app/src/main/java/c/i/e/r/e/a.java index ff5844fe02..18b4c63dbe 100644 --- a/app/src/main/java/c/i/e/r/e/a.java +++ b/app/src/main/java/c/i/e/r/e/a.java @@ -11,7 +11,7 @@ public final class a { public static final int[] b = {6, 2, 7, 3}; /* renamed from: c reason: collision with root package name */ - public static final int[] f1533c = {8, 1, 1, 1, 1, 1, 1, 3}; + public static final int[] f1485c = {8, 1, 1, 1, 1, 1, 1, 3}; public static final int[] d = {7, 1, 1, 3, 1, 1, 1, 2, 1}; /* JADX WARNING: Code restructure failed: missing block: B:20:0x0068, code lost: @@ -55,7 +55,7 @@ public final class a { } int i6 = bVar.i; k[] kVarArr = new k[8]; - k[] c2 = c(bVar, i5, i6, i3, i4, f1533c); + k[] c2 = c(bVar, i5, i6, i3, i4, f1485c); int[] iArr = a; for (int i7 = 0; i7 < iArr.length; i7++) { kVarArr[iArr[i7]] = c2[i7]; diff --git a/app/src/main/java/c/i/e/s/a.java b/app/src/main/java/c/i/e/s/a.java index 646de0cd39..539a58c2f4 100644 --- a/app/src/main/java/c/i/e/s/a.java +++ b/app/src/main/java/c/i/e/s/a.java @@ -70,7 +70,7 @@ public class a implements i { if (!c.i.e.s.c.e.c(iArr)) { eVar2.g(iArr); } else if (eVar2.e(iArr, i7, i9)) { - if (eVar2.f1541c) { + if (eVar2.f1493c) { z3 = eVar2.f(); } else { if (eVar2.b.size() > 1) { @@ -83,7 +83,7 @@ public class a implements i { c.i.e.s.c.d next = it.next(); if (next.d >= 2) { if (dVar != null) { - eVar2.f1541c = true; + eVar2.f1493c = true; i2 = 2; i3 = ((int) (Math.abs(dVar.a - next.a) - Math.abs(dVar.b - next.b))) / 2; break; @@ -115,7 +115,7 @@ public class a implements i { } if (c.i.e.s.c.e.c(iArr) && eVar2.e(iArr, i7, i5)) { i6 = iArr[0]; - if (eVar2.f1541c) { + if (eVar2.f1493c) { z3 = eVar2.f(); } } @@ -128,7 +128,7 @@ public class a implements i { float f5 = 0.0f; float f6 = 0.0f; for (c.i.e.s.c.d dVar2 : eVar2.b) { - float f7 = dVar2.f1540c; + float f7 = dVar2.f1492c; f5 += f7; f6 += f7 * f7; } @@ -138,7 +138,7 @@ public class a implements i { float max = Math.max(0.2f * f9, (float) Math.sqrt((double) ((f6 / f8) - (f9 * f9)))); int i11 = 0; while (i11 < eVar2.b.size() && eVar2.b.size() > 3) { - if (Math.abs(eVar2.b.get(i11).f1540c - f9) > max) { + if (Math.abs(eVar2.b.get(i11).f1492c - f9) > max) { eVar2.b.remove(i11); i11--; } @@ -147,7 +147,7 @@ public class a implements i { } if (eVar2.b.size() > 3) { for (c.i.e.s.c.d dVar3 : eVar2.b) { - f4 += dVar3.f1540c; + f4 += dVar3.f1492c; } Collections.sort(eVar2.b, new e.b(f4 / ((float) eVar2.b.size()), null)); List list = eVar2.b; @@ -163,23 +163,23 @@ public class a implements i { k.b(dVarArr); f fVar = new f(dVarArr); c.i.e.s.c.d dVar4 = fVar.b; - c.i.e.s.c.d dVar5 = fVar.f1542c; + c.i.e.s.c.d dVar5 = fVar.f1494c; c.i.e.s.c.d dVar6 = fVar.a; float a3 = (cVar2.a(dVar4, dVar6) + cVar2.a(dVar4, dVar5)) / 2.0f; if (a3 >= 1.0f) { - int h02 = ((c.i.a.f.e.o.c.h0(c.i.a.f.e.o.c.x(dVar4.a, dVar4.b, dVar6.a, dVar6.b) / a3) + c.i.a.f.e.o.c.h0(c.i.a.f.e.o.c.x(dVar4.a, dVar4.b, dVar5.a, dVar5.b) / a3)) / 2) + 7; - int i12 = h02 & 3; + int M0 = ((c.i.a.f.e.o.f.M0(c.i.a.f.e.o.f.J(dVar4.a, dVar4.b, dVar6.a, dVar6.b) / a3) + c.i.a.f.e.o.f.M0(c.i.a.f.e.o.f.J(dVar4.a, dVar4.b, dVar5.a, dVar5.b) / a3)) / 2) + 7; + int i12 = M0 & 3; if (i12 == 0) { - h02++; + M0++; } else if (i12 == 2) { - h02--; + M0--; } else if (i12 == 3) { throw NotFoundException.k; } int[] iArr2 = j.a; - if (h02 % 4 == 1) { + if (M0 % 4 == 1) { try { - j d = j.d((h02 - 17) / 4); + j d = j.d((M0 - 17) / 4); int c2 = d.c() - 7; if (d.d.length > 0) { float f10 = dVar5.a; @@ -204,7 +204,7 @@ public class a implements i { } } aVar = null; - float f16 = ((float) h02) - 3.5f; + float f16 = ((float) M0) - 3.5f; if (aVar != null) { f2 = aVar.a; f = aVar.b; @@ -214,7 +214,7 @@ public class a implements i { f = (dVar5.b - dVar4.b) + dVar6.b; f3 = f16; } - b a6 = c.i.e.n.f.a.a(cVar2.a, h02, h02, c.i.e.n.i.a(3.5f, 3.5f, f16, 3.5f, f3, f3, 3.5f, f16, dVar4.a, dVar4.b, dVar5.a, dVar5.b, f2, f, dVar6.a, dVar6.b)); + b a6 = c.i.e.n.f.a.a(cVar2.a, M0, M0, c.i.e.n.i.a(3.5f, 3.5f, f16, 3.5f, f3, f3, 3.5f, f16, dVar4.a, dVar4.b, dVar5.a, dVar5.b, f2, f, dVar6.a, dVar6.b)); k[] kVarArr2 = aVar == null ? new k[]{dVar6, dVar4, dVar5} : new k[]{dVar6, dVar4, dVar5, aVar}; eVar = this.b.a(a6, map); kVarArr = kVarArr2; @@ -315,7 +315,7 @@ public class a implements i { kVarArr[0] = kVarArr[2]; kVarArr[2] = kVar; } - Result result = new Result(eVar.f1499c, eVar.a, kVarArr, c.i.e.a.QR_CODE); + Result result = new Result(eVar.f1451c, eVar.a, kVarArr, c.i.e.a.QR_CODE); List list2 = eVar.d; if (list2 != null) { result.b(c.i.e.j.BYTE_SEGMENTS, list2); diff --git a/app/src/main/java/c/i/e/s/b/a.java b/app/src/main/java/c/i/e/s/b/a.java index 3dccb097d3..1d8350a64b 100644 --- a/app/src/main/java/c/i/e/s/b/a.java +++ b/app/src/main/java/c/i/e/s/b/a.java @@ -8,7 +8,7 @@ public final class a { public j b; /* renamed from: c reason: collision with root package name */ - public g f1534c; + public g f1486c; public boolean d; public a(b bVar) throws FormatException { @@ -44,7 +44,7 @@ public final class a { } public g c() throws FormatException { - g gVar = this.f1534c; + g gVar = this.f1486c; if (gVar != null) { return gVar; } @@ -69,7 +69,7 @@ public final class a { if (a2 == null) { a2 = g.a(a ^ 21522, i ^ 21522); } - this.f1534c = a2; + this.f1486c = a2; if (a2 != null) { return a2; } @@ -113,8 +113,8 @@ public final class a { } public void e() { - if (this.f1534c != null) { - c cVar = c.values()[this.f1534c.f1535c]; + if (this.f1486c != null) { + c cVar = c.values()[this.f1486c.f1487c]; b bVar = this.a; cVar.g(bVar, bVar.j); } diff --git a/app/src/main/java/c/i/e/s/b/e.java b/app/src/main/java/c/i/e/s/b/e.java index 163f45a393..addeb37538 100644 --- a/app/src/main/java/c/i/e/s/b/e.java +++ b/app/src/main/java/c/i/e/s/b/e.java @@ -26,7 +26,7 @@ public final class e { try { aVar.e(); aVar.b = null; - aVar.f1534c = null; + aVar.f1486c = null; aVar.d = true; aVar.d(); aVar.c(); @@ -45,7 +45,7 @@ public final class e { e = null; aVar.e(); aVar.b = null; - aVar.f1534c = null; + aVar.f1486c = null; aVar.d = true; aVar.d(); aVar.c(); @@ -70,7 +70,7 @@ public final class e { f fVar = aVar.c().b; g c2 = aVar.c(); j d2 = aVar.d(); - c cVar = c.values()[c2.f1535c]; + c cVar = c.values()[c2.f1487c]; b bVar2 = aVar.a; int i4 = bVar2.j; cVar.g(bVar2, i4); @@ -94,7 +94,7 @@ public final class e { int i11 = 6; bVar3.k(6, 9, 1, i10); bVar3.k(9, 6, i10, 1); - if (d2.f1537c > 6) { + if (d2.f1489c > 6) { int i12 = c3 - 11; bVar3.k(i12, 0, 3, 6); bVar3.k(0, i12, 6, 3); diff --git a/app/src/main/java/c/i/e/s/b/g.java b/app/src/main/java/c/i/e/s/b/g.java index 4930d3877a..912dee7e8e 100644 --- a/app/src/main/java/c/i/e/s/b/g.java +++ b/app/src/main/java/c/i/e/s/b/g.java @@ -5,7 +5,7 @@ public final class g { public final f b; /* renamed from: c reason: collision with root package name */ - public final byte f1535c; + public final byte f1487c; public g(int i) { int i2 = (i >> 3) & 3; @@ -13,7 +13,7 @@ public final class g { f[] fVarArr = f.m; if (i2 < fVarArr.length) { this.b = fVarArr[i2]; - this.f1535c = (byte) (i & 7); + this.f1487c = (byte) (i & 7); return; } } @@ -55,10 +55,10 @@ public final class g { return false; } g gVar = (g) obj; - return this.b == gVar.b && this.f1535c == gVar.f1535c; + return this.b == gVar.b && this.f1487c == gVar.f1487c; } public int hashCode() { - return (this.b.ordinal() << 3) | this.f1535c; + return (this.b.ordinal() << 3) | this.f1487c; } } diff --git a/app/src/main/java/c/i/e/s/b/h.java b/app/src/main/java/c/i/e/s/b/h.java index 0c30d721b2..afe5a3aebe 100644 --- a/app/src/main/java/c/i/e/s/b/h.java +++ b/app/src/main/java/c/i/e/s/b/h.java @@ -21,7 +21,7 @@ public enum h { } public int f(j jVar) { - int i = jVar.f1537c; + int i = jVar.f1489c; return this.characterCountBitsForVersions[i <= 9 ? 0 : i <= 26 ? (char) 1 : 2]; } } diff --git a/app/src/main/java/c/i/e/s/b/j.java b/app/src/main/java/c/i/e/s/b/j.java index b0e2784379..8be797c29a 100644 --- a/app/src/main/java/c/i/e/s/b/j.java +++ b/app/src/main/java/c/i/e/s/b/j.java @@ -7,7 +7,7 @@ public final class j { public static final j[] b = a(); /* renamed from: c reason: collision with root package name */ - public final int f1537c; + public final int f1489c; public final int[] d; public final b[] e; public final int f; @@ -35,7 +35,7 @@ public final class j { } public j(int i, int[] iArr, b... bVarArr) { - this.f1537c = i; + this.f1489c = i; this.d = iArr; this.e = bVarArr; int i2 = bVarArr[0].a; @@ -84,10 +84,10 @@ public final class j { } public int c() { - return (this.f1537c * 4) + 17; + return (this.f1489c * 4) + 17; } public String toString() { - return String.valueOf(this.f1537c); + return String.valueOf(this.f1489c); } } diff --git a/app/src/main/java/c/i/e/s/c/a.java b/app/src/main/java/c/i/e/s/c/a.java index cb27f37b60..537b46b69d 100644 --- a/app/src/main/java/c/i/e/s/c/a.java +++ b/app/src/main/java/c/i/e/s/c/a.java @@ -5,10 +5,10 @@ import c.i.e.k; public final class a extends k { /* renamed from: c reason: collision with root package name */ - public final float f1538c; + public final float f1490c; public a(float f, float f2, float f3) { super(f, f2); - this.f1538c = f3; + this.f1490c = f3; } } diff --git a/app/src/main/java/c/i/e/s/c/b.java b/app/src/main/java/c/i/e/s/c/b.java index 9d5a5014e2..7e6f8717ad 100644 --- a/app/src/main/java/c/i/e/s/c/b.java +++ b/app/src/main/java/c/i/e/s/c/b.java @@ -9,7 +9,7 @@ public final class b { public final List b = new ArrayList(5); /* renamed from: c reason: collision with root package name */ - public final int f1539c; + public final int f1491c; public final int d; public final int e; public final int f; @@ -19,7 +19,7 @@ public final class b { public b(c.i.e.n.b bVar, int i, int i2, int i3, int i4, float f, l lVar) { this.a = bVar; - this.f1539c = i; + this.f1491c = i; this.d = i2; this.e = i3; this.f = i4; @@ -90,12 +90,12 @@ public final class b { float f2 = ((float) ((iArr[0] + iArr[1]) + iArr[2])) / 3.0f; for (a aVar : this.b) { if (Math.abs(f - aVar.b) <= f2 && Math.abs(a - aVar.a) <= f2) { - float abs = Math.abs(f2 - aVar.f1538c); - if (abs <= 1.0f || abs <= aVar.f1538c) { + float abs = Math.abs(f2 - aVar.f1490c); + if (abs <= 1.0f || abs <= aVar.f1490c) { z2 = true; continue; if (z2) { - return new a((aVar.a + a) / 2.0f, (aVar.b + f) / 2.0f, (aVar.f1538c + f2) / 2.0f); + return new a((aVar.a + a) / 2.0f, (aVar.b + f) / 2.0f, (aVar.f1490c + f2) / 2.0f); } } } diff --git a/app/src/main/java/c/i/e/s/c/c.java b/app/src/main/java/c/i/e/s/c/c.java index 1f757bc18e..2d464b7863 100644 --- a/app/src/main/java/c/i/e/s/c/c.java +++ b/app/src/main/java/c/i/e/s/c/c.java @@ -1,5 +1,6 @@ package c.i.e.s.c; +import c.i.a.f.e.o.f; import c.i.e.k; import c.i.e.l; import c.i.e.n.b; @@ -32,7 +33,7 @@ public class c { int min2 = Math.min(this.a.j - 1, i2 + i3) - max2; if (((float) min2) >= f3) { b bVar = new b(this.a, max, max2, min, min2, f, this.b); - int i4 = bVar.f1539c; + int i4 = bVar.f1491c; int i5 = bVar.f; int i6 = bVar.e + i4; int i7 = (i5 / 2) + bVar.d; @@ -136,7 +137,7 @@ public class c { } if (z3 == cVar.a.f(i18, i19)) { if (i17 == 2) { - return c.i.a.f.e.o.c.y(i15, i16, i8, i7); + return f.K(i15, i16, i8, i7); } i17++; } @@ -154,7 +155,7 @@ public class c { i10 = 1; } if (i17 == 2) { - return c.i.a.f.e.o.c.y(i9, i5, i8, i7); + return f.K(i9, i5, i8, i7); } return Float.NaN; } diff --git a/app/src/main/java/c/i/e/s/c/d.java b/app/src/main/java/c/i/e/s/c/d.java index 9a5f248e29..54b6470d54 100644 --- a/app/src/main/java/c/i/e/s/c/d.java +++ b/app/src/main/java/c/i/e/s/c/d.java @@ -5,18 +5,18 @@ import c.i.e.k; public final class d extends k { /* renamed from: c reason: collision with root package name */ - public final float f1540c; + public final float f1492c; public final int d; public d(float f, float f2, float f3) { super(f, f2); - this.f1540c = f3; + this.f1492c = f3; this.d = 1; } public d(float f, float f2, float f3, int i) { super(f, f2); - this.f1540c = f3; + this.f1492c = f3; this.d = i; } } diff --git a/app/src/main/java/c/i/e/s/c/e.java b/app/src/main/java/c/i/e/s/c/e.java index dde95fa106..dcea7172da 100644 --- a/app/src/main/java/c/i/e/s/c/e.java +++ b/app/src/main/java/c/i/e/s/c/e.java @@ -11,7 +11,7 @@ public class e { public final List b = new ArrayList(); /* renamed from: c reason: collision with root package name */ - public boolean f1541c; + public boolean f1493c; public final int[] d = new int[5]; public final l e; @@ -29,7 +29,7 @@ public class e { d dVar3 = dVar; d dVar4 = dVar2; int compare = Integer.compare(dVar4.d, dVar3.d); - return compare == 0 ? Float.compare(Math.abs(dVar3.f1540c - this.average), Math.abs(dVar4.f1540c - this.average)) : compare; + return compare == 0 ? Float.compare(Math.abs(dVar3.f1492c - this.average), Math.abs(dVar4.f1492c - this.average)) : compare; } } @@ -44,7 +44,7 @@ public class e { /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // java.util.Comparator public int compare(d dVar, d dVar2) { - return Float.compare(Math.abs(dVar2.f1540c - this.average), Math.abs(dVar.f1540c - this.average)); + return Float.compare(Math.abs(dVar2.f1492c - this.average), Math.abs(dVar.f1492c - this.average)); } } @@ -267,8 +267,8 @@ public class e { } d dVar = this.b.get(i27); if (Math.abs(f - dVar.b) <= f5 && Math.abs(f2 - dVar.a) <= f5) { - float abs = Math.abs(f5 - dVar.f1540c); - if (abs <= 1.0f || abs <= dVar.f1540c) { + float abs = Math.abs(f5 - dVar.f1492c); + if (abs <= 1.0f || abs <= dVar.f1492c) { z4 = true; if (!z4) { List list = this.b; @@ -276,7 +276,7 @@ public class e { int i29 = i28 + 1; float f6 = (float) i28; float f7 = (float) i29; - list.set(i27, new d(((dVar.a * f6) + f2) / f7, ((dVar.b * f6) + f) / f7, ((f6 * dVar.f1540c) + f5) / f7, i29)); + list.set(i27, new d(((dVar.a * f6) + f2) / f7, ((dVar.b * f6) + f) / f7, ((f6 * dVar.f1492c) + f5) / f7, i29)); z3 = true; break; } @@ -324,7 +324,7 @@ public class e { for (d dVar : this.b) { if (dVar.d >= 2) { i++; - f2 += dVar.f1540c; + f2 += dVar.f1492c; } } if (i < 3) { @@ -332,7 +332,7 @@ public class e { } float f3 = f2 / ((float) size); for (d dVar2 : this.b) { - f += Math.abs(dVar2.f1540c - f3); + f += Math.abs(dVar2.f1492c - f3); } return f <= f2 * 0.05f; } diff --git a/app/src/main/java/c/i/e/s/c/f.java b/app/src/main/java/c/i/e/s/c/f.java index 264c50849e..de0bcc8501 100644 --- a/app/src/main/java/c/i/e/s/c/f.java +++ b/app/src/main/java/c/i/e/s/c/f.java @@ -5,11 +5,11 @@ public final class f { public final d b; /* renamed from: c reason: collision with root package name */ - public final d f1542c; + public final d f1494c; public f(d[] dVarArr) { this.a = dVarArr[0]; this.b = dVarArr[1]; - this.f1542c = dVarArr[2]; + this.f1494c = dVarArr[2]; } } diff --git a/app/src/main/java/c/j/a/e.java b/app/src/main/java/c/j/a/e.java index ffaa1ef840..7ef58179ad 100644 --- a/app/src/main/java/c/j/a/e.java +++ b/app/src/main/java/c/j/a/e.java @@ -70,7 +70,7 @@ public class e implements Serializable { rVar.b(rVar.c(iVar), hCaptchaConfig); String c2 = iVar.i.c(); k kVar = iVar.i; - kVar.f567c = -1; + kVar.f539c = -1; kVar.h = 0; kVar.j = null; if (kVar.e) { @@ -127,15 +127,15 @@ public class e implements Serializable { @Override // java.lang.Object public String toString() { - StringBuilder O = c.d.b.a.a.O("HCaptchaJSInterface(hCaptchaConfig="); - O.append(this.hCaptchaConfig); - O.append(", onLoadedListener="); - O.append(this.onLoadedListener); - O.append(", onSuccessListener="); - O.append(this.onSuccessListener); - O.append(", onFailureListener="); - O.append(this.onFailureListener); - O.append(")"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("HCaptchaJSInterface(hCaptchaConfig="); + R.append(this.hCaptchaConfig); + R.append(", onLoadedListener="); + R.append(this.onLoadedListener); + R.append(", onSuccessListener="); + R.append(this.onSuccessListener); + R.append(", onFailureListener="); + R.append(this.onFailureListener); + R.append(")"); + return R.toString(); } } diff --git a/app/src/main/java/c/j/a/f/d.java b/app/src/main/java/c/j/a/f/d.java index 62ba671609..af54748c3b 100644 --- a/app/src/main/java/c/j/a/f/d.java +++ b/app/src/main/java/c/j/a/f/d.java @@ -9,12 +9,12 @@ public abstract class d { public HCaptchaException b; /* renamed from: c reason: collision with root package name */ - public final List> f1543c = new ArrayList(); + public final List> f1495c = new ArrayList(); public final List d = new ArrayList(); public final void a() { if (this.a != null) { - Iterator> it = this.f1543c.iterator(); + Iterator> it = this.f1495c.iterator(); while (it.hasNext()) { it.next().onSuccess(this.a); it.remove(); diff --git a/app/src/main/java/c/k/a/a/a.java b/app/src/main/java/c/k/a/a/a.java index 4f9302dd07..19d1a129c5 100644 --- a/app/src/main/java/c/k/a/a/a.java +++ b/app/src/main/java/c/k/a/a/a.java @@ -12,7 +12,7 @@ public class a extends Drawable { public Paint b = new Paint(); /* renamed from: c reason: collision with root package name */ - public Paint f1544c = new Paint(); + public Paint f1496c = new Paint(); public Paint d = new Paint(); public int e; public int f; @@ -20,7 +20,7 @@ public class a extends Drawable { public a(int i) { this.a = i; - this.f1544c.setColor(-1); + this.f1496c.setColor(-1); this.d.setColor(-3421237); } @@ -58,7 +58,7 @@ public class a extends Drawable { rect2.left = i5; rect2.bottom = i4 + i3; rect2.right = i5 + i3; - canvas.drawRect(rect2, z3 ? this.f1544c : this.d); + canvas.drawRect(rect2, z3 ? this.f1496c : this.d); z3 = !z3; } z2 = !z2; diff --git a/app/src/main/java/c/k/a/a/b.java b/app/src/main/java/c/k/a/a/b.java index f3e965baa4..b3dd20e953 100644 --- a/app/src/main/java/c/k/a/a/b.java +++ b/app/src/main/java/c/k/a/a/b.java @@ -25,19 +25,19 @@ public class b extends BaseAdapter { /* compiled from: ColorPaletteAdapter */ /* renamed from: c.k.a.a.b$b reason: collision with other inner class name */ - public final class C0156b { + public final class C0155b { public View a; public ColorPanelView b; /* renamed from: c reason: collision with root package name */ - public ImageView f1545c; + public ImageView f1497c; public int d; - public C0156b(Context context) { + public C0155b(Context context) { View inflate = View.inflate(context, b.this.l == 0 ? R.d.cpv_color_item_square : R.d.cpv_color_item_circle, null); this.a = inflate; this.b = (ColorPanelView) inflate.findViewById(R.c.cpv_color_panel_view); - this.f1545c = (ImageView) this.a.findViewById(R.c.cpv_color_image_view); + this.f1497c = (ImageView) this.a.findViewById(R.c.cpv_color_image_view); this.d = this.b.getBorderColor(); this.a.setTag(this); } @@ -68,31 +68,31 @@ public class b extends BaseAdapter { @Override // android.widget.Adapter public View getView(int i, View view, ViewGroup viewGroup) { View view2; - C0156b bVar; + C0155b bVar; if (view == null) { - bVar = new C0156b(viewGroup.getContext()); + bVar = new C0155b(viewGroup.getContext()); view2 = bVar.a; } else { view2 = view; - bVar = (C0156b) view.getTag(); + bVar = (C0155b) view.getTag(); } int i2 = b.this.j[i]; int alpha = Color.alpha(i2); bVar.b.setColor(i2); - bVar.f1545c.setImageResource(b.this.k == i ? R.b.cpv_preset_checked : 0); + bVar.f1497c.setImageResource(b.this.k == i ? R.b.cpv_preset_checked : 0); if (alpha == 255) { b bVar2 = b.this; if (i != bVar2.k || ColorUtils.calculateLuminance(bVar2.j[i]) < 0.65d) { - bVar.f1545c.setColorFilter((ColorFilter) null); + bVar.f1497c.setColorFilter((ColorFilter) null); } else { - bVar.f1545c.setColorFilter(ViewCompat.MEASURED_STATE_MASK, PorterDuff.Mode.SRC_IN); + bVar.f1497c.setColorFilter(ViewCompat.MEASURED_STATE_MASK, PorterDuff.Mode.SRC_IN); } } else if (alpha <= 165) { bVar.b.setBorderColor(i2 | ViewCompat.MEASURED_STATE_MASK); - bVar.f1545c.setColorFilter(ViewCompat.MEASURED_STATE_MASK, PorterDuff.Mode.SRC_IN); + bVar.f1497c.setColorFilter(ViewCompat.MEASURED_STATE_MASK, PorterDuff.Mode.SRC_IN); } else { bVar.b.setBorderColor(bVar.d); - bVar.f1545c.setColorFilter(-1, PorterDuff.Mode.SRC_IN); + bVar.f1497c.setColorFilter(-1, PorterDuff.Mode.SRC_IN); } bVar.b.setOnClickListener(new c(bVar, i)); bVar.b.setOnLongClickListener(new d(bVar)); diff --git a/app/src/main/java/c/k/a/a/c.java b/app/src/main/java/c/k/a/a/c.java index 628f1a0d0f..25da45f2ba 100644 --- a/app/src/main/java/c/k/a/a/c.java +++ b/app/src/main/java/c/k/a/a/c.java @@ -6,9 +6,9 @@ import com.jaredrummler.android.colorpicker.ColorPickerDialog; /* compiled from: ColorPaletteAdapter */ public class c implements View.OnClickListener { public final /* synthetic */ int i; - public final /* synthetic */ b.C0156b j; + public final /* synthetic */ b.C0155b j; - public c(b.C0156b bVar, int i) { + public c(b.C0155b bVar, int i) { this.j = bVar; this.i = i; } diff --git a/app/src/main/java/c/k/a/a/d.java b/app/src/main/java/c/k/a/a/d.java index 5507a31e58..62cae5946d 100644 --- a/app/src/main/java/c/k/a/a/d.java +++ b/app/src/main/java/c/k/a/a/d.java @@ -4,9 +4,9 @@ import android.view.View; import c.k.a.a.b; /* compiled from: ColorPaletteAdapter */ public class d implements View.OnLongClickListener { - public final /* synthetic */ b.C0156b i; + public final /* synthetic */ b.C0155b i; - public d(b.C0156b bVar) { + public d(b.C0155b bVar) { this.i = bVar; } diff --git a/app/src/main/java/c/k/a/a/e.java b/app/src/main/java/c/k/a/a/e.java index b59d4fcc78..a0e479d1aa 100644 --- a/app/src/main/java/c/k/a/a/e.java +++ b/app/src/main/java/c/k/a/a/e.java @@ -26,13 +26,13 @@ public class e implements SeekBar.OnSeekBarChangeListener { int i2 = 255 - i; int i3 = 0; while (true) { - bVar = this.a.s; + bVar = this.a.f2473s; int[] iArr = bVar.j; if (i3 >= iArr.length) { break; } int i4 = iArr[i3]; - this.a.s.j[i3] = Color.argb(i2, Color.red(i4), Color.green(i4), Color.blue(i4)); + this.a.f2473s.j[i3] = Color.argb(i2, Color.red(i4), Color.green(i4), Color.blue(i4)); i3++; } bVar.notifyDataSetChanged(); diff --git a/app/src/main/java/c/l/a/a.java b/app/src/main/java/c/l/a/a.java index 7df613a2d3..5f3cc8184c 100644 --- a/app/src/main/java/c/l/a/a.java +++ b/app/src/main/java/c/l/a/a.java @@ -10,11 +10,11 @@ import androidx.annotation.IntRange; import androidx.annotation.VisibleForTesting; import androidx.annotation.WorkerThread; import androidx.vectordrawable.graphics.drawable.Animatable2Compat; -import c0.t.k; -import c0.z.d.m; -import c0.z.d.o; import com.linecorp.apng.decoder.Apng; import com.linecorp.apng.decoder.ApngException; +import d0.t.k; +import d0.z.d.m; +import d0.z.d.o; import java.io.InputStream; import java.util.ArrayList; import java.util.List; @@ -25,66 +25,64 @@ public final class a extends Drawable implements Animatable2Compat { public final int i; @IntRange(from = 1, to = 2147483647L) public final int j; - public final List k = k.toList(this.f1547w.a.getFrameDurations()); + public final List k = k.toList(this.w.a.getFrameDurations()); @IntRange(from = 0, to = 2147483647L) - public final int l = this.f1547w.a.getByteCount(); + public final int l = this.w.a.getByteCount(); @IntRange(from = -1, to = 2147483647L) public int m; public final Paint n; public final List o; public final List p; public final int[] q; + public int r; - /* renamed from: r reason: collision with root package name */ - public int f1546r; - public int s; + /* renamed from: s reason: collision with root package name */ + public int f1498s; public boolean t; public long u; public Long v; - - /* renamed from: w reason: collision with root package name */ - public C0157a f1547w; + public C0156a w; /* compiled from: ApngDrawable.kt */ /* renamed from: c.l.a.a$a reason: collision with other inner class name */ - public static final class C0157a extends Drawable.ConstantState { + public static final class C0156a extends Drawable.ConstantState { public final Apng a; public final int b; /* renamed from: c reason: collision with root package name */ - public final int f1548c; + public final int f1499c; public final int d; public final Function0 e; /* compiled from: ApngDrawable.kt */ /* renamed from: c.l.a.a$a$a reason: collision with other inner class name */ - public static final class C0158a extends o implements Function0 { - public static final C0158a i = new C0158a(); + public static final class C0157a extends o implements Function0 { + public static final C0157a i = new C0157a(); - public C0158a() { + public C0157a() { super(0); } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Long mo17invoke() { + public Long mo1invoke() { return Long.valueOf(AnimationUtils.currentAnimationTimeMillis()); } } /* JADX INFO: this call moved to the top of the method (can break code semantics) */ - public C0157a(C0157a aVar) { - this(aVar.a.copy(), aVar.b, aVar.f1548c, aVar.d, aVar.e); + public C0156a(C0156a aVar) { + this(aVar.a.copy(), aVar.b, aVar.f1499c, aVar.d, aVar.e); m.checkNotNullParameter(aVar, "apngState"); } - public C0157a(Apng apng, @IntRange(from = 1, to = 2147483647L) int i, @IntRange(from = 1, to = 2147483647L) int i2, int i3, Function0 function0) { + public C0156a(Apng apng, @IntRange(from = 1, to = 2147483647L) int i, @IntRange(from = 1, to = 2147483647L) int i2, int i3, Function0 function0) { m.checkNotNullParameter(apng, "apng"); m.checkNotNullParameter(function0, "currentTimeProvider"); this.a = apng; this.b = i; - this.f1548c = i2; + this.f1499c = i2; this.d = i3; this.e = function0; } @@ -96,35 +94,35 @@ public final class a extends Drawable implements Animatable2Compat { @Override // android.graphics.drawable.Drawable.ConstantState public Drawable newDrawable() { - return new a(new C0157a(this)); + return new a(new C0156a(this)); } } @VisibleForTesting - public a(C0157a aVar) { + public a(C0156a aVar) { m.checkNotNullParameter(aVar, "apngState"); - this.f1547w = aVar; + this.w = aVar; this.i = aVar.a.getDuration(); - int frameCount = this.f1547w.a.getFrameCount(); + int frameCount = this.w.a.getFrameCount(); this.j = frameCount; - this.f1547w.a.getAllFrameByteCount(); - this.m = this.f1547w.a.getLoopCount(); - this.f1547w.a.isRecycled(); + this.w.a.getAllFrameByteCount(); + this.m = this.w.a.getLoopCount(); + this.w.a.isRecycled(); this.n = new Paint(6); this.o = new ArrayList(); this.p = new ArrayList(); this.q = new int[frameCount]; - C0157a aVar2 = this.f1547w; - this.f1546r = aVar2.b; - this.s = aVar2.f1548c; + C0156a aVar2 = this.w; + this.r = aVar2.b; + this.f1498s = aVar2.f1499c; for (int i = 1; i < frameCount; i++) { int[] iArr = this.q; int i2 = i - 1; - iArr[i] = iArr[i2] + this.f1547w.a.getFrameDurations()[i2]; + iArr[i] = iArr[i2] + this.w.a.getFrameDurations()[i2]; } Rect bounds = getBounds(); - C0157a aVar3 = this.f1547w; - bounds.set(0, 0, aVar3.b, aVar3.f1548c); + C0156a aVar3 = this.w; + bounds.set(0, 0, aVar3.b, aVar3.f1499c); } @WorkerThread @@ -139,7 +137,7 @@ public final class a extends Drawable implements Animatable2Compat { if (z2) { int i = (num == null && num2 == null) ? 160 : 0; Apng decode = Apng.Companion.decode(inputStream); - return new a(new C0157a(decode, num != null ? num.intValue() : decode.getWidth(), num2 != null ? num2.intValue() : decode.getHeight(), i, C0157a.C0158a.i)); + return new a(new C0156a(decode, num != null ? num.intValue() : decode.getWidth(), num2 != null ? num2.intValue() : decode.getHeight(), i, C0156a.C0157a.i)); } throw new IllegalArgumentException(("Can not specify 0 or negative as height value. height = " + num2).toString()); } @@ -186,7 +184,7 @@ public final class a extends Drawable implements Animatable2Compat { m.checkNotNullParameter(canvas, "canvas"); if (this.t) { int c2 = c(); - long longValue = this.f1547w.e.mo17invoke().longValue(); + long longValue = this.w.e.mo1invoke().longValue(); Long l = this.v; this.u = l == null ? this.u : (this.u + longValue) - l.longValue(); this.v = Long.valueOf(longValue); @@ -215,7 +213,7 @@ public final class a extends Drawable implements Animatable2Compat { } } } - Apng apng = this.f1547w.a; + Apng apng = this.w.a; int c3 = c(); Rect bounds = getBounds(); m.checkNotNullExpressionValue(bounds, "bounds"); @@ -227,17 +225,17 @@ public final class a extends Drawable implements Animatable2Compat { @Override // android.graphics.drawable.Drawable public Drawable.ConstantState getConstantState() { - return this.f1547w; + return this.w; } @Override // android.graphics.drawable.Drawable public int getIntrinsicHeight() { - return this.s; + return this.f1498s; } @Override // android.graphics.drawable.Drawable public int getIntrinsicWidth() { - return this.f1546r; + return this.r; } @Override // android.graphics.drawable.Drawable @@ -252,7 +250,7 @@ public final class a extends Drawable implements Animatable2Compat { @Override // android.graphics.drawable.Drawable public Drawable mutate() { - this.f1547w = new C0157a(this.f1547w); + this.w = new C0156a(this.w); return this; } diff --git a/app/src/main/java/c/m/a/a.java b/app/src/main/java/c/m/a/a.java index f22cb8a749..74a60c0466 100644 --- a/app/src/main/java/c/m/a/a.java +++ b/app/src/main/java/c/m/a/a.java @@ -8,8 +8,8 @@ import c.m.a.g.d.d; import c.m.a.g.d.e; import c.m.a.g.d.g; import c.m.a.g.d.i; -import c0.z.d.m; import com.lyft.kronos.KronosClock; +import d0.z.d.m; import java.util.List; /* compiled from: AndroidClockFactory.kt */ public final class a { @@ -33,7 +33,7 @@ public final class a { } if ((i & 16) != 0) { c cVar3 = c.e; - j5 = c.f1549c; + j5 = c.f1500c; } else { j5 = j2; } diff --git a/app/src/main/java/c/m/a/c.java b/app/src/main/java/c/m/a/c.java index cac89738ab..f7b382dace 100644 --- a/app/src/main/java/c/m/a/c.java +++ b/app/src/main/java/c/m/a/c.java @@ -1,6 +1,6 @@ package c.m.a; -import c0.t.n; +import d0.t.n; import java.util.List; import java.util.concurrent.TimeUnit; /* compiled from: DefaultParam.kt */ @@ -9,13 +9,13 @@ public final class c { public static final long b; /* renamed from: c reason: collision with root package name */ - public static final long f1549c; + public static final long f1500c; public static final long d = TimeUnit.SECONDS.toMillis(6); public static final c e = new c(); static { TimeUnit timeUnit = TimeUnit.MINUTES; b = timeUnit.toMillis(1); - f1549c = timeUnit.toMillis(1); + f1500c = timeUnit.toMillis(1); } } diff --git a/app/src/main/java/c/m/a/d.java b/app/src/main/java/c/m/a/d.java index 1be56cbe37..f5eea42ae1 100644 --- a/app/src/main/java/c/m/a/d.java +++ b/app/src/main/java/c/m/a/d.java @@ -1,7 +1,7 @@ package c.m.a; import c.d.b.a.a; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Clock.kt */ public final class d { public final long a; @@ -32,9 +32,9 @@ public final class d { } public String toString() { - StringBuilder O = a.O("KronosTime(posixTimeMs="); - O.append(this.a); - O.append(", timeSinceLastNtpSyncMs="); - return a.E(O, this.b, ")"); + StringBuilder R = a.R("KronosTime(posixTimeMs="); + R.append(this.a); + R.append(", timeSinceLastNtpSyncMs="); + return a.F(R, this.b, ")"); } } diff --git a/app/src/main/java/c/m/a/g/b.java b/app/src/main/java/c/m/a/g/b.java index 78d49cecd3..42e21c490d 100644 --- a/app/src/main/java/c/m/a/g/b.java +++ b/app/src/main/java/c/m/a/g/b.java @@ -2,8 +2,8 @@ package c.m.a.g; import c.m.a.d; import c.m.a.g.d.h; -import c0.z.d.m; import com.lyft.kronos.KronosClock; +import d0.z.d.m; /* compiled from: KronosClockImpl.kt */ public final class b implements KronosClock { public final h a; diff --git a/app/src/main/java/c/m/a/g/c.java b/app/src/main/java/c/m/a/g/c.java index de6e9791ca..3caf847712 100644 --- a/app/src/main/java/c/m/a/g/c.java +++ b/app/src/main/java/c/m/a/g/c.java @@ -2,7 +2,7 @@ package c.m.a.g; import android.content.SharedPreferences; import c.m.a.f; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: SharedPreferenceSyncResponseCache.kt */ public final class c implements f { public final SharedPreferences a; diff --git a/app/src/main/java/c/m/a/g/d/b.java b/app/src/main/java/c/m/a/g/d/b.java index c56657779c..9fd19c2f25 100644 --- a/app/src/main/java/c/m/a/g/d/b.java +++ b/app/src/main/java/c/m/a/g/d/b.java @@ -1,6 +1,6 @@ package c.m.a.g.d; -import c0.z.d.m; +import d0.z.d.m; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; diff --git a/app/src/main/java/c/m/a/g/d/d.java b/app/src/main/java/c/m/a/g/d/d.java index ac10f0da3f..1e43c14fe6 100644 --- a/app/src/main/java/c/m/a/g/d/d.java +++ b/app/src/main/java/c/m/a/g/d/d.java @@ -1,6 +1,6 @@ package c.m.a.g.d; -import c0.z.d.m; +import d0.z.d.m; import java.net.InetAddress; import java.net.UnknownHostException; /* compiled from: DnsResolver.kt */ diff --git a/app/src/main/java/c/m/a/g/d/e.java b/app/src/main/java/c/m/a/g/d/e.java index 535e91c5e6..2e232c0602 100644 --- a/app/src/main/java/c/m/a/g/d/e.java +++ b/app/src/main/java/c/m/a/g/d/e.java @@ -12,7 +12,7 @@ public class e { public final c b; /* renamed from: c reason: collision with root package name */ - public final a f1550c; + public final a f1501c; /* compiled from: SntpClient */ public static class a extends IOException { @@ -27,34 +27,34 @@ public class e { public final long b; /* renamed from: c reason: collision with root package name */ - public final long f1551c; + public final long f1502c; public final c.m.a.b d; public b(long j, long j2, long j3, c.m.a.b bVar) { this.a = j; this.b = j2; - this.f1551c = j3; + this.f1502c = j3; this.d = bVar; } public long a() { - return this.a + this.f1551c + (this.d.b() - this.b); + return this.a + this.f1502c + (this.d.b() - this.b); } } public e(c.m.a.b bVar, c cVar, a aVar) { this.a = bVar; this.b = cVar; - this.f1550c = aVar; + this.f1501c = aVar; } public static void a(byte b2, byte b3, int i, long j) throws a { if (b2 == 3) { throw new a("unsynchronized server"); } else if (b3 != 4 && b3 != 5) { - throw new a(c.d.b.a.a.l("untrusted mode: ", b3)); + throw new a(c.d.b.a.a.p("untrusted mode: ", b3)); } else if (i == 0 || i > 15) { - throw new a(c.d.b.a.a.l("untrusted stratum: ", i)); + throw new a(c.d.b.a.a.p("untrusted stratum: ", i)); } else if (j == 0) { throw new a("zero transmitTime"); } @@ -97,10 +97,10 @@ public class e { DatagramSocket datagramSocket = null; try { InetAddress a2 = this.b.a(str); - datagramSocket = this.f1550c.c(); + datagramSocket = this.f1501c.c(); datagramSocket.setSoTimeout(l.intValue()); byte[] bArr = new byte[48]; - DatagramPacket b2 = this.f1550c.b(bArr, a2, 123); + DatagramPacket b2 = this.f1501c.b(bArr, a2, 123); bArr[0] = 27; long a3 = this.a.a(); long b3 = this.a.b(); @@ -119,7 +119,7 @@ public class e { bArr[47] = (byte) ((int) (Math.random() * 255.0d)); datagramSocket.send(b2); byte[] copyOf = Arrays.copyOf(bArr, 48); - datagramSocket.receive(this.f1550c.a(copyOf)); + datagramSocket.receive(this.f1501c.a(copyOf)); long b4 = this.a.b(); long j5 = (b4 - b3) + a3; long c2 = c(copyOf, 24); diff --git a/app/src/main/java/c/m/a/g/d/g.java b/app/src/main/java/c/m/a/g/d/g.java index 5efcbf9390..ed3c2d9e9d 100644 --- a/app/src/main/java/c/m/a/g/d/g.java +++ b/app/src/main/java/c/m/a/g/d/g.java @@ -3,7 +3,7 @@ package c.m.a.g.d; import c.m.a.b; import c.m.a.f; import c.m.a.g.d.e; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: SntpResponseCache.kt */ public final class g implements f { public final f a; @@ -21,7 +21,7 @@ public final class g implements f { m.checkParameterIsNotNull(bVar, "response"); this.a.f(bVar.a); this.a.a(bVar.b); - this.a.b(bVar.f1551c); + this.a.b(bVar.f1502c); } @Override // c.m.a.g.d.f diff --git a/app/src/main/java/c/m/a/g/d/i.java b/app/src/main/java/c/m/a/g/d/i.java index cab6af1cc8..9b28a336c4 100644 --- a/app/src/main/java/c/m/a/g/d/i.java +++ b/app/src/main/java/c/m/a/g/d/i.java @@ -3,8 +3,8 @@ package c.m.a.g.d; import c.m.a.d; import c.m.a.e; import c.m.a.g.d.e; -import c0.z.d.m; import com.lyft.kronos.internal.ntp.NTPSyncException; +import d0.z.d.m; import java.util.Iterator; import java.util.List; import java.util.concurrent.ExecutorService; @@ -18,7 +18,7 @@ public final class i implements h { public final AtomicLong b = new AtomicLong(0); /* renamed from: c reason: collision with root package name */ - public final ExecutorService f1552c = Executors.newSingleThreadExecutor(b.i); + public final ExecutorService f1503c = Executors.newSingleThreadExecutor(b.i); public final e d; public final c.m.a.b e; public final f f; @@ -78,7 +78,7 @@ public final class i implements h { m.checkExpressionValueIsNotNull(d, "response"); if (d.a() >= 0) { iVar.f.a(d); - long j = d.f1551c; + long j = d.f1502c; long b2 = iVar.e.b() - b; c.m.a.e eVar2 = iVar.g; if (eVar2 != null) { @@ -151,7 +151,7 @@ public final class i implements h { public void b() { c(); if (this.a.get() != a.SYNCING) { - this.f1552c.submit(new c(this)); + this.f1503c.submit(new c(this)); } } diff --git a/app/src/main/java/c/n/a/a/a.java b/app/src/main/java/c/n/a/a/a.java index 4b881bfbe7..e261ad2d2c 100644 --- a/app/src/main/java/c/n/a/a/a.java +++ b/app/src/main/java/c/n/a/a/a.java @@ -8,18 +8,18 @@ import android.os.Parcel; import android.os.RemoteException; import android.util.Log; import c.a.r.d; -import c0.g0.t; -import c0.g0.y; -import c0.z.d.m; import com.discord.samsung.SamsungConnectActivity; import com.discord.widgets.chat.input.MentionUtilsKt; +import d0.g0.t; +import d0.g0.y; +import d0.z.d.m; /* compiled from: ISACallback */ public interface a extends IInterface { /* compiled from: ISACallback */ /* renamed from: c.n.a.a.a$a reason: collision with other inner class name */ - public static abstract class AbstractBinderC0159a extends Binder implements a { - public AbstractBinderC0159a() { + public static abstract class AbstractBinderC0158a extends Binder implements a { + public AbstractBinderC0158a() { attachInterface(this, "com.msc.sa.aidl.ISACallback"); } @@ -78,7 +78,7 @@ public interface a extends IInterface { } String string3 = bundle4 != null ? bundle4.getString("error_code") : null; String string4 = bundle4 != null ? bundle4.getString("error_message") : null; - StringBuilder O = c.d.b.a.a.O("Samsung Account link failure "); + StringBuilder R = c.d.b.a.a.R("Samsung Account link failure "); StringBuilder sb = new StringBuilder(); sb.append('['); sb.append(string3); @@ -89,8 +89,8 @@ public interface a extends IInterface { sb.append(str); sb.append("]: "); sb.append(string4); - O.append(sb.toString()); - String sb2 = O.toString(); + R.append(sb.toString()); + String sb2 = R.toString(); m.checkNotNullExpressionValue(sb2, "StringBuilder()\n … .toString()"); Log.w("Discord", sb2); SamsungConnectActivity.a(dVar.a, string, string2); diff --git a/app/src/main/java/c/n/a/a/b.java b/app/src/main/java/c/n/a/a/b.java index 0e159cb55d..89b8bc0dc0 100644 --- a/app/src/main/java/c/n/a/a/b.java +++ b/app/src/main/java/c/n/a/a/b.java @@ -15,15 +15,15 @@ public interface b extends IInterface { /* compiled from: ISAService */ /* renamed from: c.n.a.a.b$a$a reason: collision with other inner class name */ - public static class C0160a implements b { + public static class C0159a implements b { public IBinder a; - public C0160a(IBinder iBinder) { + public C0159a(IBinder iBinder) { this.a = iBinder; } @Override // c.n.a.a.b - public String N(String str, String str2, String str3, a aVar) throws RemoteException { + public String Q(String str, String str2, String str3, a aVar) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { @@ -49,7 +49,7 @@ public interface b extends IInterface { } @Override // c.n.a.a.b - public boolean j0(int i, String str, Bundle bundle) throws RemoteException { + public boolean k0(int i, String str, Bundle bundle) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { @@ -75,7 +75,7 @@ public interface b extends IInterface { } } - String N(String str, String str2, String str3, a aVar) throws RemoteException; + String Q(String str, String str2, String str3, a aVar) throws RemoteException; - boolean j0(int i, String str, Bundle bundle) throws RemoteException; + boolean k0(int i, String str, Bundle bundle) throws RemoteException; } diff --git a/app/src/main/java/c/o/a/b.java b/app/src/main/java/c/o/a/b.java index 9882161abf..a865169e99 100644 --- a/app/src/main/java/c/o/a/b.java +++ b/app/src/main/java/c/o/a/b.java @@ -9,17 +9,17 @@ import java.util.concurrent.CopyOnWriteArraySet; /* compiled from: CameraLogger */ public final class b { public static int a = 3; - public static Set b; + public static Set b; @VisibleForTesting /* renamed from: c reason: collision with root package name */ - public static AbstractC0161b f1553c; + public static AbstractC0160b f1504c; @NonNull public String d; /* compiled from: CameraLogger */ - public static class a implements AbstractC0161b { - @Override // c.o.a.b.AbstractC0161b + public static class a implements AbstractC0160b { + @Override // c.o.a.b.AbstractC0160b public void a(int i, @NonNull String str, @NonNull String str2, @Nullable Throwable th) { if (i == 0) { Log.v(str, str2, th); @@ -35,7 +35,7 @@ public final class b { /* compiled from: CameraLogger */ /* renamed from: c.o.a.b$b reason: collision with other inner class name */ - public interface AbstractC0161b { + public interface AbstractC0160b { void a(int i, @NonNull String str, @NonNull String str2, @Nullable Throwable th); } @@ -43,7 +43,7 @@ public final class b { CopyOnWriteArraySet copyOnWriteArraySet = new CopyOnWriteArraySet(); b = copyOnWriteArraySet; a aVar = new a(); - f1553c = aVar; + f1504c = aVar; copyOnWriteArraySet.add(aVar); } @@ -66,7 +66,7 @@ public final class b { sb.append(" "); } String trim = sb.toString().trim(); - for (AbstractC0161b bVar : b) { + for (AbstractC0160b bVar : b) { bVar.a(i, this.d, trim, th); } return trim; diff --git a/app/src/main/java/c/o/a/c.java b/app/src/main/java/c/o/a/c.java index 5048ad6430..a2fcfe0842 100644 --- a/app/src/main/java/c/o/a/c.java +++ b/app/src/main/java/c/o/a/c.java @@ -24,7 +24,7 @@ public abstract class c { public Set b = new HashSet(2); /* renamed from: c reason: collision with root package name */ - public Set f1554c = new HashSet(4); + public Set f1505c = new HashSet(4); public Set d = new HashSet(2); public Set e = new HashSet(15); public Set f = new HashSet(5); @@ -47,7 +47,7 @@ public abstract class c { @NonNull public final Collection b() { - return Collections.unmodifiableSet(this.f1554c); + return Collections.unmodifiableSet(this.f1505c); } public final boolean c(@NonNull c.o.a.m.c cVar) { diff --git a/app/src/main/java/c/o/a/l.java b/app/src/main/java/c/o/a/l.java index b1cf762878..36a3eaefed 100644 --- a/app/src/main/java/c/o/a/l.java +++ b/app/src/main/java/c/o/a/l.java @@ -15,7 +15,7 @@ public class l { public Location b; /* renamed from: c reason: collision with root package name */ - public int f1555c; + public int f1506c; public b d; public e e; public byte[] f; diff --git a/app/src/main/java/c/o/a/n/b.java b/app/src/main/java/c/o/a/n/b.java index 94ef01587e..2da92e572a 100644 --- a/app/src/main/java/c/o/a/n/b.java +++ b/app/src/main/java/c/o/a/n/b.java @@ -24,17 +24,17 @@ import java.util.Collections; import java.util.List; import java.util.Objects; /* compiled from: Camera1Engine */ -public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback, a.AbstractC0170a { +public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback, a.AbstractC0169a { /* renamed from: c0 reason: collision with root package name */ - public final c.o.a.n.q.a f1556c0 = c.o.a.n.q.a.a(); + public final c.o.a.n.q.a f1507c0 = c.o.a.n.q.a.a(); /* renamed from: d0 reason: collision with root package name */ - public Camera f1557d0; + public Camera f1508d0; @VisibleForTesting /* renamed from: e0 reason: collision with root package name */ - public int f1558e0; + public int f1509e0; /* compiled from: Camera1Engine */ public class a implements Runnable { @@ -44,8 +44,8 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback /* compiled from: Camera1Engine */ /* renamed from: c.o.a.n.b$a$a reason: collision with other inner class name */ - public class RunnableC0162a implements Runnable { - public RunnableC0162a() { + public class RunnableC0161a implements Runnable { + public RunnableC0161a() { } @Override // java.lang.Runnable @@ -57,18 +57,18 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback /* compiled from: Camera1Engine */ /* renamed from: c.o.a.n.b$a$b reason: collision with other inner class name */ - public class C0163b implements Camera.AutoFocusCallback { + public class C0162b implements Camera.AutoFocusCallback { /* compiled from: Camera1Engine */ /* renamed from: c.o.a.n.b$a$b$a reason: collision with other inner class name */ - public class RunnableC0164a implements Runnable { - public RunnableC0164a() { + public class RunnableC0163a implements Runnable { + public RunnableC0163a() { } @Override // java.lang.Runnable public void run() { - b.this.f1557d0.cancelAutoFocus(); - Camera.Parameters parameters = b.this.f1557d0.getParameters(); + b.this.f1508d0.cancelAutoFocus(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); int maxNumFocusAreas = parameters.getMaxNumFocusAreas(); int maxNumMeteringAreas = parameters.getMaxNumMeteringAreas(); if (maxNumFocusAreas > 0) { @@ -78,11 +78,11 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback parameters.setMeteringAreas(null); } b.this.c1(parameters); - b.this.f1557d0.setParameters(parameters); + b.this.f1508d0.setParameters(parameters); } } - public C0163b() { + public C0162b() { } @Override // android.hardware.Camera.AutoFocusCallback @@ -94,7 +94,7 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback if (b.this.a1()) { b bVar = b.this; c.o.a.n.v.f fVar = bVar.m; - fVar.c("focus reset", true, bVar.V, new c.o.a.n.v.i(fVar, c.o.a.n.v.e.ENGINE, new RunnableC0164a())); + fVar.c("focus reset", true, bVar.V, new c.o.a.n.v.i(fVar, c.o.a.n.v.e.ENGINE, new RunnableC0163a())); } } } @@ -111,7 +111,7 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback b bVar = b.this; c.o.a.n.s.a aVar = new c.o.a.n.s.a(bVar.K, bVar.n.l()); c.o.a.t.b c2 = this.i.c(aVar); - Camera.Parameters parameters = b.this.f1557d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); int maxNumFocusAreas = parameters.getMaxNumFocusAreas(); int maxNumMeteringAreas = parameters.getMaxNumMeteringAreas(); if (maxNumFocusAreas > 0) { @@ -121,12 +121,12 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback parameters.setMeteringAreas(c2.b(maxNumMeteringAreas, aVar)); } parameters.setFocusMode("auto"); - b.this.f1557d0.setParameters(parameters); + b.this.f1508d0.setParameters(parameters); ((CameraView.b) b.this.l).e(this.j, this.k); b.this.m.e("focus end", 0); - b.this.m.c("focus end", true, 2500, new RunnableC0162a()); + b.this.m.c("focus end", true, 2500, new RunnableC0161a()); try { - b.this.f1557d0.autoFocus(new C0163b()); + b.this.f1508d0.autoFocus(new C0162b()); } catch (RuntimeException e) { i.i.a(3, "startAutoFocus:", "Error calling autoFocus", e); } @@ -136,18 +136,18 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback /* compiled from: Camera1Engine */ /* renamed from: c.o.a.n.b$b reason: collision with other inner class name */ - public class RunnableC0165b implements Runnable { + public class RunnableC0164b implements Runnable { public final /* synthetic */ c.o.a.m.f i; - public RunnableC0165b(c.o.a.m.f fVar) { + public RunnableC0164b(c.o.a.m.f fVar) { this.i = fVar; } @Override // java.lang.Runnable public void run() { - Camera.Parameters parameters = b.this.f1557d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); if (b.this.e1(parameters, this.i)) { - b.this.f1557d0.setParameters(parameters); + b.this.f1508d0.setParameters(parameters); } } } @@ -162,9 +162,9 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback @Override // java.lang.Runnable public void run() { - Camera.Parameters parameters = b.this.f1557d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); b.this.g1(parameters); - b.this.f1557d0.setParameters(parameters); + b.this.f1508d0.setParameters(parameters); } } @@ -178,9 +178,9 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback @Override // java.lang.Runnable public void run() { - Camera.Parameters parameters = b.this.f1557d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); if (b.this.j1(parameters, this.i)) { - b.this.f1557d0.setParameters(parameters); + b.this.f1508d0.setParameters(parameters); } } } @@ -195,9 +195,9 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback @Override // java.lang.Runnable public void run() { - Camera.Parameters parameters = b.this.f1557d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); if (b.this.f1(parameters, this.i)) { - b.this.f1557d0.setParameters(parameters); + b.this.f1508d0.setParameters(parameters); } } } @@ -216,9 +216,9 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback @Override // java.lang.Runnable public void run() { - Camera.Parameters parameters = b.this.f1557d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); if (b.this.k1(parameters, this.i)) { - b.this.f1557d0.setParameters(parameters); + b.this.f1508d0.setParameters(parameters); if (this.j) { b bVar = b.this; ((CameraView.b) bVar.l).f(bVar.C, this.k); @@ -243,9 +243,9 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback @Override // java.lang.Runnable public void run() { - Camera.Parameters parameters = b.this.f1557d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); if (b.this.d1(parameters, this.i)) { - b.this.f1557d0.setParameters(parameters); + b.this.f1508d0.setParameters(parameters); if (this.j) { b bVar = b.this; ((CameraView.b) bVar.l).c(bVar.D, this.k, this.l); @@ -278,9 +278,9 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback @Override // java.lang.Runnable public void run() { - Camera.Parameters parameters = b.this.f1557d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); if (b.this.i1(parameters, this.i)) { - b.this.f1557d0.setParameters(parameters); + b.this.f1508d0.setParameters(parameters); } } } @@ -291,8 +291,8 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback @Override // c.o.a.n.i public void F0(@NonNull m mVar) { - m mVar2 = this.f1569w; - this.f1569w = mVar; + m mVar2 = this.w; + this.w = mVar; c.o.a.n.v.f fVar = this.m; fVar.b("white balance (" + mVar + ")", true, new c.o.a.n.v.h(fVar, c.o.a.n.v.e.ENGINE, new d(mVar2))); } @@ -319,16 +319,16 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback bVar.a(1, "onStartBind:", "Started"); try { if (this.n.j() == SurfaceHolder.class) { - this.f1557d0.setPreviewDisplay((SurfaceHolder) this.n.i()); + this.f1508d0.setPreviewDisplay((SurfaceHolder) this.n.i()); } else if (this.n.j() == SurfaceTexture.class) { - this.f1557d0.setPreviewTexture((SurfaceTexture) this.n.i()); + this.f1508d0.setPreviewTexture((SurfaceTexture) this.n.i()); } else { throw new RuntimeException("Unknown CameraPreview output class."); } this.q = Q0(this.P); - this.f1568r = R0(); + this.r = R0(); bVar.a(1, "onStartBind:", "Returning"); - return c.i.a.f.e.o.c.F(null); + return c.i.a.f.e.o.f.R(null); } catch (IOException e2) { i.i.a(3, "onStartBind:", "Failed to bind.", e2); throw new CameraException(e2, 2); @@ -339,25 +339,25 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback @NonNull public Task Q() { try { - Camera open = Camera.open(this.f1558e0); - this.f1557d0 = open; + Camera open = Camera.open(this.f1509e0); + this.f1508d0 = open; if (open != null) { open.setErrorCallback(this); c.o.a.b bVar = i.i; bVar.a(1, "onStartEngine:", "Applying default parameters."); try { - Camera.Parameters parameters = this.f1557d0.getParameters(); - int i2 = this.f1558e0; + Camera.Parameters parameters = this.f1508d0.getParameters(); + int i2 = this.f1509e0; c.o.a.n.t.a aVar = this.K; c.o.a.n.t.b bVar2 = c.o.a.n.t.b.SENSOR; c.o.a.n.t.b bVar3 = c.o.a.n.t.b.VIEW; this.o = new c.o.a.n.u.a(parameters, i2, aVar.b(bVar2, bVar3)); b1(parameters); - this.f1557d0.setParameters(parameters); + this.f1508d0.setParameters(parameters); try { - this.f1557d0.setDisplayOrientation(this.K.c(bVar2, bVar3, 1)); + this.f1508d0.setDisplayOrientation(this.K.c(bVar2, bVar3, 1)); bVar.a(1, "onStartEngine:", "Ended"); - return c.i.a.f.e.o.c.F(this.o); + return c.i.a.f.e.o.f.R(this.o); } catch (Exception unused) { i.i.a(3, "onStartEngine:", "Failed to connect. Can't set display orientation, maybe preview already exists?"); throw new CameraException(1); @@ -387,9 +387,9 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback this.n.s(C.i, C.j); this.n.r(0); try { - Camera.Parameters parameters = this.f1557d0.getParameters(); + Camera.Parameters parameters = this.f1508d0.getParameters(); parameters.setPreviewFormat(17); - c.o.a.x.b bVar2 = this.f1568r; + c.o.a.x.b bVar2 = this.r; parameters.setPreviewSize(bVar2.i, bVar2.j); c.o.a.m.i iVar = this.P; c.o.a.m.i iVar2 = c.o.a.m.i.PICTURE; @@ -401,15 +401,15 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback parameters.setPictureSize(Q0.i, Q0.j); } try { - this.f1557d0.setParameters(parameters); - this.f1557d0.setPreviewCallbackWithBuffer(null); - this.f1557d0.setPreviewCallbackWithBuffer(this); - l1().e(17, this.f1568r, this.K); + this.f1508d0.setParameters(parameters); + this.f1508d0.setPreviewCallbackWithBuffer(null); + this.f1508d0.setPreviewCallbackWithBuffer(this); + l1().e(17, this.r, this.K); bVar.a(1, "onStartPreview", "Starting preview with startPreview()."); try { - this.f1557d0.startPreview(); + this.f1508d0.startPreview(); bVar.a(1, "onStartPreview", "Started preview."); - return c.i.a.f.e.o.c.F(null); + return c.i.a.f.e.o.f.R(null); } catch (Exception e2) { i.i.a(3, "onStartPreview", "Failed to start preview.", e2); throw new CameraException(e2, 2); @@ -430,20 +430,20 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback @Override // c.o.a.n.i @NonNull public Task S() { - this.f1568r = null; + this.r = null; this.q = null; try { if (this.n.j() == SurfaceHolder.class) { - this.f1557d0.setPreviewDisplay(null); + this.f1508d0.setPreviewDisplay(null); } else if (this.n.j() == SurfaceTexture.class) { - this.f1557d0.setPreviewTexture(null); + this.f1508d0.setPreviewTexture(null); } else { throw new RuntimeException("Unknown CameraPreview output class."); } } catch (IOException e2) { i.i.a(3, "onStopBind", "Could not release surface", e2); } - return c.i.a.f.e.o.c.F(null); + return c.i.a.f.e.o.f.R(null); } @Override // c.o.a.n.i @@ -453,28 +453,28 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback bVar.a(1, "onStopEngine:", "About to clean up."); this.m.e("focus reset", 0); this.m.e("focus end", 0); - if (this.f1557d0 != null) { + if (this.f1508d0 != null) { try { bVar.a(1, "onStopEngine:", "Clean up.", "Releasing camera."); - this.f1557d0.release(); + this.f1508d0.release(); bVar.a(1, "onStopEngine:", "Clean up.", "Released camera."); } catch (Exception e2) { i.i.a(2, "onStopEngine:", "Clean up.", "Exception while releasing camera.", e2); } - this.f1557d0 = null; + this.f1508d0 = null; this.o = null; } this.o = null; - this.f1557d0 = null; + this.f1508d0 = null; i.i.a(2, "onStopEngine:", "Clean up.", "Returning."); - return c.i.a.f.e.o.c.F(null); + return c.i.a.f.e.o.f.R(null); } @Override // c.o.a.n.g @NonNull public List T0() { try { - List supportedPreviewSizes = this.f1557d0.getParameters().getSupportedPreviewSizes(); + List supportedPreviewSizes = this.f1508d0.getParameters().getSupportedPreviewSizes(); ArrayList arrayList = new ArrayList(supportedPreviewSizes.size()); for (Camera.Size size : supportedPreviewSizes) { c.o.a.x.b bVar = new c.o.a.x.b(size.width, size.height); @@ -498,15 +498,15 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback this.p = null; l1().d(); bVar.a(1, "onStopPreview:", "Releasing preview buffers."); - this.f1557d0.setPreviewCallbackWithBuffer(null); + this.f1508d0.setPreviewCallbackWithBuffer(null); try { bVar.a(1, "onStopPreview:", "Stopping preview."); - this.f1557d0.stopPreview(); + this.f1508d0.stopPreview(); bVar.a(1, "onStopPreview:", "Stopped preview."); } catch (Exception e2) { i.i.a(3, "stopPreview", "Could not stop preview", e2); } - return c.i.a.f.e.o.c.F(null); + return c.i.a.f.e.o.f.R(null); } @Override // c.o.a.n.g @@ -529,9 +529,9 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback c.o.a.n.t.a aVar2 = this.K; c.o.a.n.t.b bVar2 = c.o.a.n.t.b.SENSOR; c.o.a.n.t.b bVar3 = c.o.a.n.t.b.OUTPUT; - aVar.f1555c = aVar2.c(bVar2, bVar3, 2); + aVar.f1506c = aVar2.c(bVar2, bVar3, 2); aVar.d = w(bVar3); - c.o.a.v.a aVar3 = new c.o.a.v.a(aVar, this, this.f1557d0); + c.o.a.v.a aVar3 = new c.o.a.v.a(aVar, this, this.f1508d0); this.p = aVar3; aVar3.c(); bVar.a(1, "onTakePicture:", "executed."); @@ -544,11 +544,11 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback c.o.a.n.t.b bVar2 = c.o.a.n.t.b.OUTPUT; aVar.d = F(bVar2); if (this.n instanceof c.o.a.w.e) { - aVar.f1555c = this.K.c(c.o.a.n.t.b.VIEW, bVar2, 1); - this.p = new c.o.a.v.g(aVar, this, (c.o.a.w.e) this.n, aVar2, this.f1567b0); + aVar.f1506c = this.K.c(c.o.a.n.t.b.VIEW, bVar2, 1); + this.p = new c.o.a.v.g(aVar, this, (c.o.a.w.e) this.n, aVar2, this.f1519b0); } else { - aVar.f1555c = this.K.c(c.o.a.n.t.b.SENSOR, bVar2, 2); - this.p = new c.o.a.v.e(aVar, this, this.f1557d0, aVar2); + aVar.f1506c = this.K.c(c.o.a.n.t.b.SENSOR, bVar2, 2); + this.p = new c.o.a.v.e(aVar, this, this.f1508d0, aVar2); } this.p.c(); bVar.a(1, "onTakePictureSnapshot:", "executed."); @@ -569,7 +569,7 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback @Override // c.o.a.n.i public boolean c(@NonNull c.o.a.m.e eVar) { - Objects.requireNonNull(this.f1556c0); + Objects.requireNonNull(this.f1507c0); int intValue = c.o.a.n.q.a.d.get(eVar).intValue(); i.i.a(1, "collectCameraInfo", "Facing:", eVar, "Internal:", Integer.valueOf(intValue), "Cameras:", Integer.valueOf(Camera.getNumberOfCameras())); Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); @@ -578,7 +578,7 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback Camera.getCameraInfo(i2, cameraInfo); if (cameraInfo.facing == intValue) { this.K.f(eVar, cameraInfo.orientation); - this.f1558e0 = i2; + this.f1509e0 = i2; return true; } } @@ -628,7 +628,7 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback public final boolean e1(@NonNull Camera.Parameters parameters, @NonNull c.o.a.m.f fVar) { if (this.o.c(this.v)) { - c.o.a.n.q.a aVar = this.f1556c0; + c.o.a.n.q.a aVar = this.f1507c0; c.o.a.m.f fVar2 = this.v; Objects.requireNonNull(aVar); parameters.setFlashMode(c.o.a.n.q.a.b.get(fVar2)); @@ -643,18 +643,18 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback c.o.a.m.f fVar2 = this.v; this.v = fVar; c.o.a.n.v.f fVar3 = this.m; - fVar3.b("flash (" + fVar + ")", true, new c.o.a.n.v.h(fVar3, c.o.a.n.v.e.ENGINE, new RunnableC0165b(fVar2))); + fVar3.b("flash (" + fVar + ")", true, new c.o.a.n.v.h(fVar3, c.o.a.n.v.e.ENGINE, new RunnableC0164b(fVar2))); } public final boolean f1(@NonNull Camera.Parameters parameters, @NonNull c.o.a.m.h hVar) { - if (this.o.c(this.f1572z)) { - c.o.a.n.q.a aVar = this.f1556c0; - c.o.a.m.h hVar2 = this.f1572z; + if (this.o.c(this.f1523z)) { + c.o.a.n.q.a aVar = this.f1507c0; + c.o.a.m.h hVar2 = this.f1523z; Objects.requireNonNull(aVar); parameters.setSceneMode(c.o.a.n.q.a.e.get(hVar2)); return true; } - this.f1572z = hVar; + this.f1523z = hVar; return false; } @@ -679,10 +679,10 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback @TargetApi(17) public final boolean h1(boolean z2) { Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); - Camera.getCameraInfo(this.f1558e0, cameraInfo); + Camera.getCameraInfo(this.f1509e0, cameraInfo); if (cameraInfo.canDisableShutterSound) { try { - return this.f1557d0.enableShutterSound(this.E); + return this.f1508d0.enableShutterSound(this.E); } catch (RuntimeException unused) { return false; } @@ -729,15 +729,15 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback } public final boolean j1(@NonNull Camera.Parameters parameters, @NonNull m mVar) { - if (this.o.c(this.f1569w)) { - c.o.a.n.q.a aVar = this.f1556c0; - m mVar2 = this.f1569w; + if (this.o.c(this.w)) { + c.o.a.n.q.a aVar = this.f1507c0; + m mVar2 = this.w; Objects.requireNonNull(aVar); - parameters.setWhiteBalance(c.o.a.n.q.a.f1574c.get(mVar2)); + parameters.setWhiteBalance(c.o.a.n.q.a.f1525c.get(mVar2)); parameters.remove("auto-whitebalance-lock"); return true; } - this.f1569w = mVar; + this.w = mVar; return false; } @@ -749,7 +749,7 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback public final boolean k1(@NonNull Camera.Parameters parameters, float f2) { if (this.o.k) { parameters.setZoom((int) (this.C * ((float) parameters.getMaxZoom()))); - this.f1557d0.setParameters(parameters); + this.f1508d0.setParameters(parameters); return true; } this.C = f2; @@ -758,8 +758,8 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback @Override // c.o.a.n.i public void l0(@NonNull c.o.a.m.h hVar) { - c.o.a.m.h hVar2 = this.f1572z; - this.f1572z = hVar; + c.o.a.m.h hVar2 = this.f1523z; + this.f1523z = hVar; c.o.a.n.v.f fVar = this.m; fVar.b("hdr (" + hVar + ")", true, new c.o.a.n.v.h(fVar, c.o.a.n.v.e.ENGINE, new e(hVar2))); } @@ -781,7 +781,7 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback c.o.a.n.v.e eVar = this.m.f; c.o.a.n.v.e eVar2 = c.o.a.n.v.e.ENGINE; if (eVar.f(eVar2) && this.m.g.f(eVar2)) { - this.f1557d0.addCallbackBuffer(bArr); + this.f1508d0.addCallbackBuffer(bArr); } } diff --git a/app/src/main/java/c/o/a/n/d.java b/app/src/main/java/c/o/a/n/d.java index 715b2891cc..17dc3c97fd 100644 --- a/app/src/main/java/c/o/a/n/d.java +++ b/app/src/main/java/c/o/a/n/d.java @@ -49,26 +49,28 @@ import java.util.concurrent.ExecutionException; public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a.n.o.c { /* renamed from: c0 reason: collision with root package name */ - public final CameraManager f1559c0; + public final CameraManager f1510c0; /* renamed from: d0 reason: collision with root package name */ - public String f1560d0; + public String f1511d0; /* renamed from: e0 reason: collision with root package name */ - public CameraDevice f1561e0; + public CameraDevice f1512e0; /* renamed from: f0 reason: collision with root package name */ - public CameraCharacteristics f1562f0; + public CameraCharacteristics f1513f0; /* renamed from: g0 reason: collision with root package name */ - public CameraCaptureSession f1563g0; + public CameraCaptureSession f1514g0; /* renamed from: h0 reason: collision with root package name */ - public CaptureRequest.Builder f1564h0; + public CaptureRequest.Builder f1515h0; /* renamed from: i0 reason: collision with root package name */ - public TotalCaptureResult f1565i0; - public final c.o.a.n.q.b j0; + public TotalCaptureResult f1516i0; + + /* renamed from: j0 reason: collision with root package name */ + public final c.o.a.n.q.b f1517j0; public ImageReader k0; public Surface l0; public Surface m0; @@ -90,17 +92,17 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @Override // java.lang.Runnable public void run() { d dVar = d.this; - boolean h1 = dVar.h1(dVar.f1564h0, this.i); + boolean h1 = dVar.h1(dVar.f1515h0, this.i); d dVar2 = d.this; if (dVar2.m.f == c.o.a.n.v.e.PREVIEW) { dVar2.v = c.o.a.m.f.OFF; - dVar2.h1(dVar2.f1564h0, this.i); + dVar2.h1(dVar2.f1515h0, this.i); try { d dVar3 = d.this; - dVar3.f1563g0.capture(dVar3.f1564h0.build(), null, null); + dVar3.f1514g0.capture(dVar3.f1515h0.build(), null, null); d dVar4 = d.this; dVar4.v = this.j; - dVar4.h1(dVar4.f1564h0, this.i); + dVar4.h1(dVar4.f1515h0, this.i); d.this.k1(); } catch (CameraAccessException e) { throw d.this.o1(e); @@ -122,7 +124,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @Override // java.lang.Runnable public void run() { d dVar = d.this; - CaptureRequest.Builder builder = dVar.f1564h0; + CaptureRequest.Builder builder = dVar.f1515h0; Location location = dVar.B; if (location != null) { builder.set(CaptureRequest.JPEG_GPS_LOCATION, location); @@ -142,7 +144,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @Override // java.lang.Runnable public void run() { d dVar = d.this; - if (dVar.m1(dVar.f1564h0, this.i)) { + if (dVar.m1(dVar.f1515h0, this.i)) { d.this.k1(); } } @@ -150,17 +152,17 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. /* compiled from: Camera2Engine */ /* renamed from: c.o.a.n.d$d reason: collision with other inner class name */ - public class RunnableC0166d implements Runnable { + public class RunnableC0165d implements Runnable { public final /* synthetic */ c.o.a.m.h i; - public RunnableC0166d(c.o.a.m.h hVar) { + public RunnableC0165d(c.o.a.m.h hVar) { this.i = hVar; } @Override // java.lang.Runnable public void run() { d dVar = d.this; - if (dVar.i1(dVar.f1564h0, this.i)) { + if (dVar.i1(dVar.f1515h0, this.i)) { d.this.k1(); } } @@ -183,7 +185,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @Override // java.lang.Runnable public void run() { d dVar = d.this; - if (dVar.n1(dVar.f1564h0, this.i)) { + if (dVar.n1(dVar.f1515h0, this.i)) { d.this.k1(); if (this.j) { ((CameraView.b) d.this.l).f(this.k, this.l); @@ -211,7 +213,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @Override // java.lang.Runnable public void run() { d dVar = d.this; - if (dVar.g1(dVar.f1564h0, this.i)) { + if (dVar.g1(dVar.f1515h0, this.i)) { d.this.k1(); if (this.j) { ((CameraView.b) d.this.l).c(this.k, this.l, this.m); @@ -231,7 +233,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @Override // java.lang.Runnable public void run() { d dVar = d.this; - if (dVar.j1(dVar.f1564h0, this.i)) { + if (dVar.j1(dVar.f1515h0, this.i)) { d.this.k1(); } } @@ -256,7 +258,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback public void onCaptureCompleted(@NonNull CameraCaptureSession cameraCaptureSession, @NonNull CaptureRequest captureRequest, @NonNull TotalCaptureResult totalCaptureResult) { d dVar = d.this; - dVar.f1565i0 = totalCaptureResult; + dVar.f1516i0 = totalCaptureResult; for (c.o.a.n.o.a aVar : dVar.o0) { aVar.b(d.this, captureRequest, totalCaptureResult); } @@ -343,8 +345,8 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. /* compiled from: Camera2Engine */ /* renamed from: c.o.a.n.d$l$a$a reason: collision with other inner class name */ - public class RunnableC0167a implements Runnable { - public RunnableC0167a() { + public class RunnableC0166a implements Runnable { + public RunnableC0166a() { } @Override // java.lang.Runnable @@ -382,7 +384,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. if (d.this.a1()) { d dVar = d.this; c.o.a.n.v.f fVar = dVar.m; - fVar.c("reset metering", true, dVar.V, new c.o.a.n.v.i(fVar, c.o.a.n.v.e.PREVIEW, new RunnableC0167a())); + fVar.c("reset metering", true, dVar.V, new c.o.a.n.v.i(fVar, c.o.a.n.v.e.PREVIEW, new RunnableC0166a())); } } } @@ -444,11 +446,11 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @Override // android.hardware.camera2.CameraDevice.StateCallback public void onOpened(@NonNull CameraDevice cameraDevice) { int i; - d.this.f1561e0 = cameraDevice; + d.this.f1512e0 = cameraDevice; try { i.i.a(1, "onStartEngine:", "Opened camera device."); d dVar = d.this; - dVar.f1562f0 = dVar.f1559c0.getCameraCharacteristics(dVar.f1560d0); + dVar.f1513f0 = dVar.f1510c0.getCameraCharacteristics(dVar.f1511d0); boolean b = d.this.K.b(c.o.a.n.t.b.SENSOR, c.o.a.n.t.b.VIEW); int ordinal = d.this.A.ordinal(); if (ordinal == 0) { @@ -459,7 +461,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. throw new IllegalArgumentException("Unknown format:" + d.this.A); } d dVar2 = d.this; - dVar2.o = new c.o.a.n.u.b(dVar2.f1559c0, dVar2.f1560d0, b, i); + dVar2.o = new c.o.a.n.u.b(dVar2.f1510c0, dVar2.f1511d0, b, i); d dVar3 = d.this; Objects.requireNonNull(dVar3); dVar3.q1(1); @@ -481,7 +483,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. /* Return type fixed from 'java.lang.Object' to match base method */ @Override // java.util.concurrent.Callable public Void call() throws Exception { - c.o.a.x.b bVar = d.this.f1568r; + c.o.a.x.b bVar = d.this.r; ((SurfaceHolder) this.i).setFixedSize(bVar.i, bVar.j); return null; } @@ -502,7 +504,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @Override // android.hardware.camera2.CameraCaptureSession.StateCallback public void onConfigured(@NonNull CameraCaptureSession cameraCaptureSession) { - d.this.f1563g0 = cameraCaptureSession; + d.this.f1514g0 = cameraCaptureSession; i.i.a(1, "onStartBind:", "Completed"); this.a.b(null); } @@ -579,10 +581,10 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. if (c.o.a.n.q.b.a == null) { c.o.a.n.q.b.a = new c.o.a.n.q.b(); } - this.j0 = c.o.a.n.q.b.a; + this.f1517j0 = c.o.a.n.q.b.a; this.o0 = new CopyOnWriteArrayList(); this.q0 = new i(); - this.f1559c0 = (CameraManager) ((CameraView.b) this.l).g().getSystemService(ChatInputComponentTypes.CAMERA); + this.f1510c0 = (CameraManager) ((CameraView.b) this.l).g().getSystemService(ChatInputComponentTypes.CAMERA); new c.o.a.n.o.g().e(this); } @@ -593,8 +595,8 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @Override // c.o.a.n.i public void F0(@NonNull c.o.a.m.m mVar) { - c.o.a.m.m mVar2 = this.f1569w; - this.f1569w = mVar; + c.o.a.m.m mVar2 = this.w; + this.w = mVar; c.o.a.n.v.f fVar = this.m; fVar.b("white balance (" + mVar + ")", true, new c.o.a.n.v.h(fVar, c.o.a.n.v.e.ENGINE, new c(mVar2))); } @@ -623,21 +625,21 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. bVar.a(1, "onStartBind:", "Started"); TaskCompletionSource taskCompletionSource = new TaskCompletionSource(); this.q = Q0(this.P); - this.f1568r = R0(); + this.r = R0(); ArrayList arrayList = new ArrayList(); Class j2 = this.n.j(); Object i3 = this.n.i(); if (j2 == SurfaceHolder.class) { try { bVar.a(1, "onStartBind:", "Waiting on UI thread..."); - c.i.a.f.e.o.c.c(c.i.a.f.e.o.c.g(c.i.a.f.n.g.a, new n(i3))); + c.i.a.f.e.o.f.g(c.i.a.f.e.o.f.l(c.i.a.f.n.g.a, new n(i3))); this.m0 = ((SurfaceHolder) i3).getSurface(); } catch (InterruptedException | ExecutionException e2) { throw new CameraException(e2, 1); } } else if (j2 == SurfaceTexture.class) { SurfaceTexture surfaceTexture = (SurfaceTexture) i3; - c.o.a.x.b bVar2 = this.f1568r; + c.o.a.x.b bVar2 = this.r; surfaceTexture.setDefaultBufferSize(bVar2.i, bVar2.j); this.m0 = new Surface(surfaceTexture); } else { @@ -651,9 +653,9 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. } else if (ordinal == 1) { i2 = 32; } else { - StringBuilder O = c.d.b.a.a.O("Unknown format:"); - O.append(this.A); - throw new IllegalArgumentException(O.toString()); + StringBuilder R = c.d.b.a.a.R("Unknown format:"); + R.append(this.A); + throw new IllegalArgumentException(R.toString()); } c.o.a.x.b bVar3 = this.q; ImageReader newInstance = ImageReader.newInstance(bVar3.i, bVar3.j, i2, 2); @@ -673,7 +675,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. } arrayList3.add(bVar4); } - c.o.a.x.b bVar5 = this.f1568r; + c.o.a.x.b bVar5 = this.r; c.o.a.x.a f2 = c.o.a.x.a.f(bVar5.i, bVar5.j); if (b2) { f2 = c.o.a.x.a.f(f2.k, f2.j); @@ -689,16 +691,16 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. c.o.a.x.b bVar6 = new c.o.a.x.b(i4, i5); c.o.a.b bVar7 = i.i; bVar7.a(1, "computeFrameProcessingSize:", "targetRatio:", f2, "targetMaxSize:", bVar6); - c.o.a.x.c q0 = c.i.a.f.e.o.c.q0(new c.o.a.x.d(f2.i(), 0.0f)); - c.o.a.x.c b3 = c.i.a.f.e.o.c.b(c.i.a.f.e.o.c.Y(i5), c.i.a.f.e.o.c.Z(i4), new c.o.a.x.e()); - c.o.a.x.b bVar8 = ((c.o.a.x.l) c.i.a.f.e.o.c.e0(c.i.a.f.e.o.c.b(q0, b3), b3, new c.o.a.x.f())).a(arrayList3).get(0); + c.o.a.x.c l1 = c.i.a.f.e.o.f.l1(new c.o.a.x.d(f2.i(), 0.0f)); + c.o.a.x.c d = c.i.a.f.e.o.f.d(c.i.a.f.e.o.f.A0(i5), c.i.a.f.e.o.f.B0(i4), new c.o.a.x.e()); + c.o.a.x.b bVar8 = ((c.o.a.x.l) c.i.a.f.e.o.f.G0(c.i.a.f.e.o.f.d(l1, d), d, new c.o.a.x.f())).a(arrayList3).get(0); if (arrayList3.contains(bVar8)) { if (b2) { bVar8 = bVar8.f(); } bVar7.a(1, "computeFrameProcessingSize:", "result:", bVar8, "flip:", Boolean.valueOf(b2)); - this.s = bVar8; - ImageReader newInstance2 = ImageReader.newInstance(bVar8.i, bVar8.j, this.t, this.f1566a0 + 1); + this.f1520s = bVar8; + ImageReader newInstance2 = ImageReader.newInstance(bVar8.i, bVar8.j, this.t, this.f1518a0 + 1); this.k0 = newInstance2; handler = null; newInstance2.setOnImageAvailableListener(this, null); @@ -711,11 +713,11 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. } else { handler = null; this.k0 = null; - this.s = null; + this.f1520s = null; this.l0 = null; } try { - this.f1561e0.createCaptureSession(arrayList, new o(taskCompletionSource), handler); + this.f1512e0.createCaptureSession(arrayList, new o(taskCompletionSource), handler); return taskCompletionSource.a; } catch (CameraAccessException e3) { throw o1(e3); @@ -728,7 +730,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. public Task Q() { TaskCompletionSource taskCompletionSource = new TaskCompletionSource(); try { - this.f1559c0.openCamera(this.f1560d0, new m(taskCompletionSource), (Handler) null); + this.f1510c0.openCamera(this.f1511d0, new m(taskCompletionSource), (Handler) null); return taskCompletionSource.a; } catch (CameraAccessException e2) { throw o1(e2); @@ -747,7 +749,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. this.n.s(C.i, C.j); this.n.r(this.K.c(c.o.a.n.t.b.BASE, bVar2, 1)); if (this.u) { - S0().e(this.t, this.s, this.K); + S0().e(this.t, this.f1520s, this.K); } bVar.a(1, "onStartPreview:", "Starting preview."); c1(new Surface[0]); @@ -767,9 +769,9 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. bVar.a(1, "onStopBind:", "About to clean up."); this.l0 = null; this.m0 = null; - this.f1568r = null; + this.r = null; this.q = null; - this.s = null; + this.f1520s = null; ImageReader imageReader = this.k0; if (imageReader != null) { imageReader.close(); @@ -780,10 +782,10 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. imageReader2.close(); this.n0 = null; } - this.f1563g0.close(); - this.f1563g0 = null; + this.f1514g0.close(); + this.f1514g0 = null; bVar.a(1, "onStopBind:", "Returning."); - return c.i.a.f.e.o.c.F(null); + return c.i.a.f.e.o.f.R(null); } @Override // c.o.a.n.i @@ -792,28 +794,28 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. try { c.o.a.b bVar = i.i; bVar.a(1, "onStopEngine:", "Clean up.", "Releasing camera."); - this.f1561e0.close(); + this.f1512e0.close(); bVar.a(1, "onStopEngine:", "Clean up.", "Released camera."); } catch (Exception e2) { i.i.a(2, "onStopEngine:", "Clean up.", "Exception while releasing camera.", e2); } - this.f1561e0 = null; + this.f1512e0 = null; i.i.a(1, "onStopEngine:", "Aborting actions."); for (c.o.a.n.o.a aVar : this.o0) { aVar.a(this); } - this.f1562f0 = null; + this.f1513f0 = null; this.o = null; - this.f1564h0 = null; + this.f1515h0 = null; i.i.a(2, "onStopEngine:", "Returning."); - return c.i.a.f.e.o.c.F(null); + return c.i.a.f.e.o.f.R(null); } @Override // c.o.a.n.g @NonNull public List T0() { try { - StreamConfigurationMap streamConfigurationMap = (StreamConfigurationMap) this.f1559c0.getCameraCharacteristics(this.f1560d0).get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); + StreamConfigurationMap streamConfigurationMap = (StreamConfigurationMap) this.f1510c0.getCameraCharacteristics(this.f1511d0).get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); if (streamConfigurationMap != null) { Size[] outputSizes = streamConfigurationMap.getOutputSizes(this.n.j()); ArrayList arrayList = new ArrayList(outputSizes.length); @@ -840,14 +842,14 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. if (this.u) { S0().d(); } - this.f1564h0.removeTarget(this.m0); + this.f1515h0.removeTarget(this.m0); Surface surface = this.l0; if (surface != null) { - this.f1564h0.removeTarget(surface); + this.f1515h0.removeTarget(surface); } - this.f1565i0 = null; + this.f1516i0 = null; bVar.a(1, "onStopPreview:", "Returning."); - return c.i.a.f.e.o.c.F(null); + return c.i.a.f.e.o.f.R(null); } @Override // c.o.a.n.g @@ -875,11 +877,11 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. c.o.a.n.t.a aVar2 = this.K; c.o.a.n.t.b bVar = c.o.a.n.t.b.SENSOR; c.o.a.n.t.b bVar2 = c.o.a.n.t.b.OUTPUT; - aVar.f1555c = aVar2.c(bVar, bVar2, 2); + aVar.f1506c = aVar2.c(bVar, bVar2, 2); aVar.d = w(bVar2); try { - CaptureRequest.Builder createCaptureRequest = this.f1561e0.createCaptureRequest(2); - d1(createCaptureRequest, this.f1564h0); + CaptureRequest.Builder createCaptureRequest = this.f1512e0.createCaptureRequest(2); + d1(createCaptureRequest, this.f1515h0); c.o.a.v.b bVar3 = new c.o.a.v.b(aVar, this, createCaptureRequest, this.n0); this.p = bVar3; bVar3.c(); @@ -901,7 +903,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. if (this.n instanceof c.o.a.w.e) { c.o.a.n.t.b bVar = c.o.a.n.t.b.OUTPUT; aVar.d = F(bVar); - aVar.f1555c = this.K.c(c.o.a.n.t.b.VIEW, bVar, 1); + aVar.f1506c = this.K.c(c.o.a.n.t.b.VIEW, bVar, 1); c.o.a.v.f fVar = new c.o.a.v.f(aVar, this, (c.o.a.w.e) this.n, aVar2); this.p = fVar; fVar.c(); @@ -922,16 +924,16 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @Override // c.o.a.n.i public final boolean c(@NonNull c.o.a.m.e eVar) { - Objects.requireNonNull(this.j0); + Objects.requireNonNull(this.f1517j0); int intValue = c.o.a.n.q.b.b.get(eVar).intValue(); try { - String[] cameraIdList = this.f1559c0.getCameraIdList(); + String[] cameraIdList = this.f1510c0.getCameraIdList(); i.i.a(1, "collectCameraInfo", "Facing:", eVar, "Internal:", Integer.valueOf(intValue), "Cameras:", Integer.valueOf(cameraIdList.length)); for (String str : cameraIdList) { try { - CameraCharacteristics cameraCharacteristics = this.f1559c0.getCameraCharacteristics(str); + CameraCharacteristics cameraCharacteristics = this.f1510c0.getCameraCharacteristics(str); if (intValue == ((Integer) u1(cameraCharacteristics, CameraCharacteristics.LENS_FACING, -99)).intValue()) { - this.f1560d0 = str; + this.f1511d0 = str; this.K.f(eVar, ((Integer) u1(cameraCharacteristics, CameraCharacteristics.SENSOR_ORIENTATION, 0)).intValue()); return true; } @@ -945,14 +947,14 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. } public final void c1(@NonNull Surface... surfaceArr) { - this.f1564h0.addTarget(this.m0); + this.f1515h0.addTarget(this.m0); Surface surface = this.l0; if (surface != null) { - this.f1564h0.addTarget(surface); + this.f1515h0.addTarget(surface); } for (Surface surface2 : surfaceArr) { if (surface2 != null) { - this.f1564h0.addTarget(surface2); + this.f1515h0.addTarget(surface2); } else { throw new IllegalArgumentException("Should not add a null surface."); } @@ -996,7 +998,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. public void e1(@NonNull c.o.a.n.o.a aVar, @NonNull CaptureRequest.Builder builder) throws CameraAccessException { if (this.m.f == c.o.a.n.v.e.PREVIEW && !O()) { - this.f1563g0.capture(builder.build(), this.q0, null); + this.f1514g0.capture(builder.build(), this.q0, null); } } @@ -1031,7 +1033,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. if (this.t == 0) { this.t = 35; } - this.m.b(c.d.b.a.a.n("frame processing format (", i2, ")"), true, new k(i2)); + this.m.b(c.d.b.a.a.q("frame processing format (", i2, ")"), true, new k(i2)); } public boolean g1(@NonNull CaptureRequest.Builder builder, float f2) { @@ -1050,7 +1052,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. for (int i2 : iArr) { arrayList.add(Integer.valueOf(i2)); } - c.o.a.n.q.b bVar = this.j0; + c.o.a.n.q.b bVar = this.f1517j0; c.o.a.m.f fVar2 = this.v; Objects.requireNonNull(bVar); ArrayList arrayList2 = new ArrayList(); @@ -1085,14 +1087,14 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. } public boolean i1(@NonNull CaptureRequest.Builder builder, @NonNull c.o.a.m.h hVar) { - if (this.o.c(this.f1572z)) { - c.o.a.n.q.b bVar = this.j0; - c.o.a.m.h hVar2 = this.f1572z; + if (this.o.c(this.f1523z)) { + c.o.a.n.q.b bVar = this.f1517j0; + c.o.a.m.h hVar2 = this.f1523z; Objects.requireNonNull(bVar); builder.set(CaptureRequest.CONTROL_SCENE_MODE, Integer.valueOf(c.o.a.n.q.b.d.get(hVar2).intValue())); return true; } - this.f1572z = hVar; + this.f1523z = hVar; return false; } @@ -1141,16 +1143,16 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @Override // c.o.a.n.i public void l0(@NonNull c.o.a.m.h hVar) { - c.o.a.m.h hVar2 = this.f1572z; - this.f1572z = hVar; + c.o.a.m.h hVar2 = this.f1523z; + this.f1523z = hVar; c.o.a.n.v.f fVar = this.m; - fVar.b("hdr (" + hVar + ")", true, new c.o.a.n.v.h(fVar, c.o.a.n.v.e.ENGINE, new RunnableC0166d(hVar2))); + fVar.b("hdr (" + hVar + ")", true, new c.o.a.n.v.h(fVar, c.o.a.n.v.e.ENGINE, new RunnableC0165d(hVar2))); } public final void l1(boolean z2, int i2) { if ((this.m.f == c.o.a.n.v.e.PREVIEW && !O()) || !z2) { try { - this.f1563g0.setRepeatingRequest(this.f1564h0.build(), this.q0, null); + this.f1514g0.setRepeatingRequest(this.f1515h0.build(), this.q0, null); } catch (CameraAccessException e2) { throw new CameraException(e2, i2); } catch (IllegalStateException e3) { @@ -1171,14 +1173,14 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. } public boolean m1(@NonNull CaptureRequest.Builder builder, @NonNull c.o.a.m.m mVar) { - if (this.o.c(this.f1569w)) { - c.o.a.n.q.b bVar = this.j0; - c.o.a.m.m mVar2 = this.f1569w; + if (this.o.c(this.w)) { + c.o.a.n.q.b bVar = this.f1517j0; + c.o.a.m.m mVar2 = this.w; Objects.requireNonNull(bVar); - builder.set(CaptureRequest.CONTROL_AWB_MODE, Integer.valueOf(c.o.a.n.q.b.f1575c.get(mVar2).intValue())); + builder.set(CaptureRequest.CONTROL_AWB_MODE, Integer.valueOf(c.o.a.n.q.b.f1526c.get(mVar2).intValue())); return true; } - this.f1569w = mVar; + this.w = mVar; return false; } @@ -1255,7 +1257,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. if (gVar != null) { gVar.a(this); } - CaptureRequest.Builder builder = this.f1564h0; + CaptureRequest.Builder builder = this.f1515h0; boolean z2 = false; int[] iArr = (int[]) t1(CameraCharacteristics.CONTROL_AF_AVAILABLE_MODES, new int[0]); ArrayList arrayList = new ArrayList(); @@ -1279,12 +1281,12 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @NonNull public final CaptureRequest.Builder q1(int i2) throws CameraAccessException { - CaptureRequest.Builder builder = this.f1564h0; - CaptureRequest.Builder createCaptureRequest = this.f1561e0.createCaptureRequest(i2); - this.f1564h0 = createCaptureRequest; + CaptureRequest.Builder builder = this.f1515h0; + CaptureRequest.Builder createCaptureRequest = this.f1512e0.createCaptureRequest(i2); + this.f1515h0 = createCaptureRequest; createCaptureRequest.setTag(Integer.valueOf(i2)); - d1(this.f1564h0, builder); - return this.f1564h0; + d1(this.f1515h0, builder); + return this.f1515h0; } @NonNull @@ -1315,7 +1317,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @NonNull public List s1() { try { - StreamConfigurationMap streamConfigurationMap = (StreamConfigurationMap) this.f1559c0.getCameraCharacteristics(this.f1560d0).get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); + StreamConfigurationMap streamConfigurationMap = (StreamConfigurationMap) this.f1510c0.getCameraCharacteristics(this.f1511d0).get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); if (streamConfigurationMap != null) { Size[] outputSizes = streamConfigurationMap.getOutputSizes(this.t); ArrayList arrayList = new ArrayList(outputSizes.length); @@ -1336,13 +1338,13 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @Override // c.o.a.n.i public void t0(boolean z2) { this.E = z2; - c.i.a.f.e.o.c.F(null); + c.i.a.f.e.o.f.R(null); } @NonNull @VisibleForTesting public T t1(@NonNull CameraCharacteristics.Key key, @NonNull T t) { - T t2 = (T) this.f1562f0.get(key); + T t2 = (T) this.f1513f0.get(key); return t2 == null ? t : t2; } diff --git a/app/src/main/java/c/o/a/n/f.java b/app/src/main/java/c/o/a/n/f.java index 40c2600ef7..6fb95b9382 100644 --- a/app/src/main/java/c/o/a/n/f.java +++ b/app/src/main/java/c/o/a/n/f.java @@ -14,14 +14,14 @@ public class f extends e { @Override // c.o.a.n.o.e public void j(@NonNull c cVar) { - this.f1573c = cVar; - this.e.f1(((d) cVar).f1564h0); + this.f1524c = cVar; + this.e.f1(((d) cVar).f1515h0); d dVar = (d) cVar; - CaptureRequest.Builder builder = dVar.f1564h0; + CaptureRequest.Builder builder = dVar.f1515h0; CaptureRequest.Key key = CaptureRequest.CONTROL_AE_LOCK; Boolean bool = Boolean.FALSE; builder.set(key, bool); - dVar.f1564h0.set(CaptureRequest.CONTROL_AWB_LOCK, bool); + dVar.f1515h0.set(CaptureRequest.CONTROL_AWB_LOCK, bool); dVar.k1(); l(Integer.MAX_VALUE); } diff --git a/app/src/main/java/c/o/a/n/g.java b/app/src/main/java/c/o/a/n/g.java index 3647e0c9a2..35fd77f50f 100644 --- a/app/src/main/java/c/o/a/n/g.java +++ b/app/src/main/java/c/o/a/n/g.java @@ -51,33 +51,31 @@ public abstract class g extends i { public int Z; /* renamed from: a0 reason: collision with root package name */ - public int f1566a0; + public int f1518a0; /* renamed from: b0 reason: collision with root package name */ - public c.o.a.u.a f1567b0; + public c.o.a.u.a f1519b0; public c.o.a.w.a n; public c.o.a.c o; public c.o.a.v.d p; public c.o.a.x.b q; + public c.o.a.x.b r; - /* renamed from: r reason: collision with root package name */ - public c.o.a.x.b f1568r; - public c.o.a.x.b s; + /* renamed from: s reason: collision with root package name */ + public c.o.a.x.b f1520s; public int t; public boolean u; public f v; - - /* renamed from: w reason: collision with root package name */ - public m f1569w; + public m w; /* renamed from: x reason: collision with root package name */ - public l f1570x; + public l f1521x; /* renamed from: y reason: collision with root package name */ - public c.o.a.m.b f1571y; + public c.o.a.m.b f1522y; /* renamed from: z reason: collision with root package name */ - public h f1572z; + public h f1523z; /* compiled from: CameraBaseEngine */ public class a implements Runnable { @@ -166,14 +164,14 @@ public abstract class g extends i { public g(@NonNull i.g gVar) { super(gVar); - c.i.a.f.e.o.c.F(null); - c.i.a.f.e.o.c.F(null); - c.i.a.f.e.o.c.F(null); - c.i.a.f.e.o.c.F(null); - c.i.a.f.e.o.c.F(null); - c.i.a.f.e.o.c.F(null); - c.i.a.f.e.o.c.F(null); - c.i.a.f.e.o.c.F(null); + c.i.a.f.e.o.f.R(null); + c.i.a.f.e.o.f.R(null); + c.i.a.f.e.o.f.R(null); + c.i.a.f.e.o.f.R(null); + c.i.a.f.e.o.f.R(null); + c.i.a.f.e.o.f.R(null); + c.i.a.f.e.o.f.R(null); + c.i.a.f.e.o.f.R(null); } @Override // c.o.a.n.i @@ -193,13 +191,13 @@ public abstract class g extends i { @Override // c.o.a.n.i public final void B0(@NonNull c.o.a.m.l lVar) { - this.f1570x = lVar; + this.f1521x = lVar; } @Override // c.o.a.n.i @Nullable public final c.o.a.x.b C(@NonNull c.o.a.n.t.b bVar) { - c.o.a.x.b bVar2 = this.f1568r; + c.o.a.x.b bVar2 = this.r; if (bVar2 == null) { return null; } @@ -265,7 +263,7 @@ public abstract class g extends i { @Override // c.o.a.n.i @NonNull public final c.o.a.m.l H() { - return this.f1570x; + return this.f1521x; } @Override // c.o.a.n.i @@ -297,7 +295,7 @@ public abstract class g extends i { @Override // c.o.a.n.i @NonNull public final m M() { - return this.f1569w; + return this.w; } @Override // c.o.a.n.i @@ -331,9 +329,9 @@ public abstract class g extends i { cVar = this.N; set = Collections.unmodifiableSet(this.o.f); } - c.o.a.x.c e02 = c.i.a.f.e.o.c.e0(cVar, new c.o.a.x.e()); + c.o.a.x.c G0 = c.i.a.f.e.o.f.G0(cVar, new c.o.a.x.e()); ArrayList arrayList = new ArrayList(set); - c.o.a.x.b bVar = ((c.o.a.x.l) e02).a(arrayList).get(0); + c.o.a.x.b bVar = ((c.o.a.x.l) G0).a(arrayList).get(0); if (arrayList.contains(bVar)) { i.i.a(1, "computeCaptureSize:", "result:", bVar, "flip:", Boolean.valueOf(b2), "mode:", iVar); return b2 ? bVar.f() : bVar; @@ -362,14 +360,14 @@ public abstract class g extends i { } c.o.a.b bVar4 = i.i; bVar4.a(1, "computePreviewStreamSize:", "targetRatio:", f, "targetMinSize:", U0); - c.o.a.x.c b3 = c.i.a.f.e.o.c.b(c.i.a.f.e.o.c.q0(new c.o.a.x.d(f.i(), 0.0f)), new c.o.a.x.e()); - c.o.a.x.c b4 = c.i.a.f.e.o.c.b(c.i.a.f.e.o.c.a0(U0.j), c.i.a.f.e.o.c.b0(U0.i), new c.o.a.x.f()); - c.o.a.x.c e02 = c.i.a.f.e.o.c.e0(c.i.a.f.e.o.c.b(b3, b4), b4, b3, new c.o.a.x.e()); + c.o.a.x.c d2 = c.i.a.f.e.o.f.d(c.i.a.f.e.o.f.l1(new c.o.a.x.d(f.i(), 0.0f)), new c.o.a.x.e()); + c.o.a.x.c d3 = c.i.a.f.e.o.f.d(c.i.a.f.e.o.f.C0(U0.j), c.i.a.f.e.o.f.D0(U0.i), new c.o.a.x.f()); + c.o.a.x.c G0 = c.i.a.f.e.o.f.G0(c.i.a.f.e.o.f.d(d2, d3), d3, d2, new c.o.a.x.e()); c.o.a.x.c cVar = this.L; if (cVar != null) { - e02 = c.i.a.f.e.o.c.e0(cVar, e02); + G0 = c.i.a.f.e.o.f.G0(cVar, G0); } - c.o.a.x.b bVar5 = ((c.o.a.x.l) e02).a(arrayList).get(0); + c.o.a.x.b bVar5 = ((c.o.a.x.l) G0).a(arrayList).get(0); if (arrayList.contains(bVar5)) { if (b2) { bVar5 = bVar5.f(); @@ -385,7 +383,7 @@ public abstract class g extends i { @NonNull public c.o.a.p.c S0() { if (this.J == null) { - this.J = V0(this.f1566a0); + this.J = V0(this.f1518a0); } return this.J; } @@ -428,7 +426,7 @@ public abstract class g extends i { if (aVar != null) { CameraView.b bVar = (CameraView.b) this.l; bVar.b.a(1, "dispatchOnPictureTaken", aVar); - CameraView.this.s.post(new c.o.a.i(bVar, aVar)); + CameraView.this.f2498s.post(new c.o.a.i(bVar, aVar)); return; } i.i.a(3, "onPictureResult", "result is null: something went wrong.", exc); @@ -447,7 +445,7 @@ public abstract class g extends i { @Override // c.o.a.n.i public final void b0(@NonNull c.o.a.m.b bVar) { - this.f1571y = bVar; + this.f1522y = bVar; } @Override // c.o.a.n.i @@ -485,7 +483,7 @@ public abstract class g extends i { @Override // c.o.a.n.i @NonNull public final c.o.a.m.b h() { - return this.f1571y; + return this.f1522y; } @Override // c.o.a.n.i @@ -511,7 +509,7 @@ public abstract class g extends i { @Override // c.o.a.n.i public final void j0(int i) { - this.f1566a0 = i; + this.f1518a0 = i; } @Override // c.o.a.n.i @@ -552,7 +550,7 @@ public abstract class g extends i { @Override // c.o.a.n.i public final void o0(@Nullable c.o.a.u.a aVar) { - this.f1567b0 = aVar; + this.f1519b0 = aVar; } @Override // c.o.a.n.i @@ -562,7 +560,7 @@ public abstract class g extends i { @Override // c.o.a.n.i public final int q() { - return this.f1566a0; + return this.f1518a0; } @Override // c.o.a.n.i @@ -573,7 +571,7 @@ public abstract class g extends i { @Override // c.o.a.n.i @NonNull public final h r() { - return this.f1572z; + return this.f1523z; } @Override // c.o.a.n.i diff --git a/app/src/main/java/c/o/a/n/h.java b/app/src/main/java/c/o/a/n/h.java index 4ecb021b80..8043c6819d 100644 --- a/app/src/main/java/c/o/a/n/h.java +++ b/app/src/main/java/c/o/a/n/h.java @@ -12,13 +12,13 @@ public class h implements Runnable { @Override // java.lang.Runnable public void run() { b R0 = this.i.R0(); - if (R0.equals(this.i.f1568r)) { + if (R0.equals(this.i.r)) { i.i.a(1, "onSurfaceChanged:", "The computed preview size is identical. No op."); return; } i.i.a(1, "onSurfaceChanged:", "Computed a new preview size. Calling onPreviewStreamSizeChanged()."); g gVar = this.i; - gVar.f1568r = R0; + gVar.r = R0; gVar.X0(); } } diff --git a/app/src/main/java/c/o/a/n/i.java b/app/src/main/java/c/o/a/n/i.java index cfa2f8adb3..6ca6915860 100644 --- a/app/src/main/java/c/o/a/n/i.java +++ b/app/src/main/java/c/o/a/n/i.java @@ -123,8 +123,8 @@ public abstract class i implements a.c, d.a { /* compiled from: CameraEngine */ /* renamed from: c.o.a.n.i$i reason: collision with other inner class name */ - public static class C0168i implements Thread.UncaughtExceptionHandler { - public C0168i(c cVar) { + public static class C0167i implements Thread.UncaughtExceptionHandler { + public C0167i(c cVar) { } @Override // java.lang.Thread.UncaughtExceptionHandler @@ -242,7 +242,7 @@ public abstract class i implements a.c, d.a { boolean z2; c.o.a.n.v.f fVar = this.m; synchronized (fVar.e) { - Iterator> it = fVar.f1579c.iterator(); + Iterator> it = fVar.f1530c.iterator(); while (true) { if (!it.hasNext()) { z2 = false; @@ -305,7 +305,7 @@ public abstract class i implements a.c, d.a { c.o.a.n.v.f fVar = this.m; synchronized (fVar.e) { HashSet hashSet = new HashSet(); - Iterator> it = fVar.f1579c.iterator(); + Iterator> it = fVar.f1530c.iterator(); while (it.hasNext()) { hashSet.add(it.next().a); } @@ -346,7 +346,7 @@ public abstract class i implements a.c, d.a { c.o.a.b bVar = i; bVar.a(1, "DESTROY:", "state:", this.m.f, "thread:", Thread.currentThread(), "depth:", Integer.valueOf(i2), "unrecoverably:", Boolean.valueOf(z2)); if (z2) { - this.j.e.setUncaughtExceptionHandler(new C0168i(null)); + this.j.e.setUncaughtExceptionHandler(new C0167i(null)); } CountDownLatch countDownLatch = new CountDownLatch(1); L0(true).c(this.j.g, new d(this, countDownLatch)); diff --git a/app/src/main/java/c/o/a/n/k.java b/app/src/main/java/c/o/a/n/k.java index b1eaa23290..aa2c07cce7 100644 --- a/app/src/main/java/c/o/a/n/k.java +++ b/app/src/main/java/c/o/a/n/k.java @@ -23,8 +23,8 @@ public class k implements f { if (cVar2 != null) { CameraView.b bVar = (CameraView.b) this.a.l; bVar.b.a(1, "dispatchOnCameraOpened", cVar2); - CameraView.this.s.post(new c.o.a.f(bVar, cVar2)); - return c.i.a.f.e.o.c.F(null); + CameraView.this.f2498s.post(new c.o.a.f(bVar, cVar2)); + return c.i.a.f.e.o.f.R(null); } throw new RuntimeException("Null options!"); } diff --git a/app/src/main/java/c/o/a/n/m.java b/app/src/main/java/c/o/a/n/m.java index 11d9f27353..ba78b4c7be 100644 --- a/app/src/main/java/c/o/a/n/m.java +++ b/app/src/main/java/c/o/a/n/m.java @@ -16,6 +16,6 @@ public class m implements e { public void onSuccess(Void r6) { CameraView.b bVar = (CameraView.b) this.a.l; bVar.b.a(1, "dispatchOnCameraClosed"); - CameraView.this.s.post(new g(bVar)); + CameraView.this.f2498s.post(new g(bVar)); } } diff --git a/app/src/main/java/c/o/a/n/o/d.java b/app/src/main/java/c/o/a/n/o/d.java index dbc3de6294..93ac978bcf 100644 --- a/app/src/main/java/c/o/a/n/o/d.java +++ b/app/src/main/java/c/o/a/n/o/d.java @@ -49,7 +49,7 @@ public abstract class d extends e { @Override // c.o.a.n.o.e public void j(@NonNull c cVar) { - this.f1573c = cVar; + this.f1524c = cVar; m().f(new a()); m().j(cVar); } diff --git a/app/src/main/java/c/o/a/n/o/e.java b/app/src/main/java/c/o/a/n/o/e.java index eb33886bcc..065a7f5de1 100644 --- a/app/src/main/java/c/o/a/n/o/e.java +++ b/app/src/main/java/c/o/a/n/o/e.java @@ -17,7 +17,7 @@ public abstract class e implements a { public int b; /* renamed from: c reason: collision with root package name */ - public c f1573c; + public c f1524c; public boolean d; @Override // c.o.a.n.o.a @@ -49,12 +49,12 @@ public abstract class e implements a { @Override // c.o.a.n.o.a public final void e(@NonNull c cVar) { - this.f1573c = cVar; + this.f1524c = cVar; d dVar = (d) cVar; if (!dVar.o0.contains(this)) { dVar.o0.add(this); } - if (((d) cVar).f1565i0 != null) { + if (((d) cVar).f1516i0 != null) { j(cVar); } else { this.d = true; @@ -80,12 +80,12 @@ public abstract class e implements a { @CallSuper public void j(@NonNull c cVar) { - this.f1573c = cVar; + this.f1524c = cVar; } @NonNull public T k(@NonNull CameraCharacteristics.Key key, @NonNull T t) { - T t2 = (T) ((d) this.f1573c).f1562f0.get(key); + T t2 = (T) ((d) this.f1524c).f1513f0.get(key); return t2 == null ? t : t2; } @@ -96,8 +96,8 @@ public abstract class e implements a { bVar.a(this, this.b); } if (this.b == Integer.MAX_VALUE) { - ((d) this.f1573c).o0.remove(this); - i(this.f1573c); + ((d) this.f1524c).o0.remove(this); + i(this.f1524c); } } } diff --git a/app/src/main/java/c/o/a/n/o/h.java b/app/src/main/java/c/o/a/n/o/h.java index 1b708c6542..29f5cbe3f1 100644 --- a/app/src/main/java/c/o/a/n/o/h.java +++ b/app/src/main/java/c/o/a/n/o/h.java @@ -69,7 +69,7 @@ public class h extends e { @Override // c.o.a.n.o.e public void j(@NonNull c cVar) { - this.f1573c = cVar; + this.f1524c = cVar; int i = this.f; if (i >= 0) { this.e.get(i).j(cVar); @@ -91,7 +91,7 @@ public class h extends e { this.f = i2; this.e.get(i2).f(new a()); if (!z3) { - this.e.get(this.f).j(this.f1573c); + this.e.get(this.f).j(this.f1524c); } } } diff --git a/app/src/main/java/c/o/a/n/o/j.java b/app/src/main/java/c/o/a/n/o/j.java index a1fa6280ac..76f710e8ff 100644 --- a/app/src/main/java/c/o/a/n/o/j.java +++ b/app/src/main/java/c/o/a/n/o/j.java @@ -79,7 +79,7 @@ public class j extends e { @Override // c.o.a.n.o.e public void j(@NonNull c cVar) { - this.f1573c = cVar; + this.f1524c = cVar; for (e eVar : this.e) { if (!eVar.g()) { eVar.j(cVar); diff --git a/app/src/main/java/c/o/a/n/p/a.java b/app/src/main/java/c/o/a/n/p/a.java index 56877f91d7..d8aafd0075 100644 --- a/app/src/main/java/c/o/a/n/p/a.java +++ b/app/src/main/java/c/o/a/n/p/a.java @@ -9,7 +9,7 @@ import c.o.a.n.o.e; public abstract class a extends e { @Override // c.o.a.n.o.e public final void j(@NonNull c cVar) { - this.f1573c = cVar; + this.f1524c = cVar; boolean n = n(cVar); if (!m(cVar) || n) { l(Integer.MAX_VALUE); diff --git a/app/src/main/java/c/o/a/n/p/b.java b/app/src/main/java/c/o/a/n/p/b.java index aaa5b10f94..9ee3d151da 100644 --- a/app/src/main/java/c/o/a/n/p/b.java +++ b/app/src/main/java/c/o/a/n/p/b.java @@ -26,7 +26,7 @@ public class b extends a { @Override // c.o.a.n.p.a public boolean m(@NonNull c cVar) { boolean z2 = ((Integer) k(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL, -1)).intValue() != 2; - Integer num = (Integer) ((d) cVar).f1564h0.get(CaptureRequest.CONTROL_AE_MODE); + Integer num = (Integer) ((d) cVar).f1515h0.get(CaptureRequest.CONTROL_AE_MODE); boolean z3 = z2 && (num != null && (num.intValue() == 1 || num.intValue() == 3 || num.intValue() == 2 || num.intValue() == 4 || num.intValue() == 5)); e.a(1, "checkIsSupported:", Boolean.valueOf(z3)); return z3; @@ -34,7 +34,7 @@ public class b extends a { @Override // c.o.a.n.p.a public boolean n(@NonNull c cVar) { - TotalCaptureResult totalCaptureResult = ((d) cVar).f1565i0; + TotalCaptureResult totalCaptureResult = ((d) cVar).f1516i0; if (totalCaptureResult != null) { Integer num = (Integer) totalCaptureResult.get(CaptureResult.CONTROL_AE_STATE); boolean z2 = num != null && num.intValue() == 3; @@ -47,9 +47,9 @@ public class b extends a { @Override // c.o.a.n.p.a public void o(@NonNull c cVar) { - ((d) cVar).f1564h0.set(CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, Integer.valueOf(Build.VERSION.SDK_INT >= 23 ? 2 : 0)); + ((d) cVar).f1515h0.set(CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, Integer.valueOf(Build.VERSION.SDK_INT >= 23 ? 2 : 0)); d dVar = (d) cVar; - dVar.f1564h0.set(CaptureRequest.CONTROL_AE_LOCK, Boolean.TRUE); + dVar.f1515h0.set(CaptureRequest.CONTROL_AE_LOCK, Boolean.TRUE); dVar.k1(); } } diff --git a/app/src/main/java/c/o/a/n/p/c.java b/app/src/main/java/c/o/a/n/p/c.java index 2c4f788543..9c0c9e1af6 100644 --- a/app/src/main/java/c/o/a/n/p/c.java +++ b/app/src/main/java/c/o/a/n/p/c.java @@ -38,7 +38,7 @@ public class c extends a { @Override // c.o.a.n.p.a public boolean n(@NonNull c.o.a.n.o.c cVar) { - TotalCaptureResult totalCaptureResult = ((d) cVar).f1565i0; + TotalCaptureResult totalCaptureResult = ((d) cVar).f1516i0; if (totalCaptureResult != null) { Integer num = (Integer) totalCaptureResult.get(CaptureResult.CONTROL_AF_STATE); boolean z2 = num != null && (num.intValue() == 4 || num.intValue() == 5 || num.intValue() == 0 || num.intValue() == 2 || num.intValue() == 6); @@ -53,9 +53,9 @@ public class c extends a { @Override // c.o.a.n.p.a public void o(@NonNull c.o.a.n.o.c cVar) { - ((d) cVar).f1564h0.set(CaptureRequest.CONTROL_AF_MODE, 1); + ((d) cVar).f1515h0.set(CaptureRequest.CONTROL_AF_MODE, 1); d dVar = (d) cVar; - dVar.f1564h0.set(CaptureRequest.CONTROL_AF_TRIGGER, 2); + dVar.f1515h0.set(CaptureRequest.CONTROL_AF_TRIGGER, 2); dVar.k1(); } } diff --git a/app/src/main/java/c/o/a/n/p/d.java b/app/src/main/java/c/o/a/n/p/d.java index 3ef5fe9d40..03721b841c 100644 --- a/app/src/main/java/c/o/a/n/p/d.java +++ b/app/src/main/java/c/o/a/n/p/d.java @@ -2,12 +2,12 @@ package c.o.a.n.p; import androidx.annotation.NonNull; import androidx.annotation.RequiresApi; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.o.a.n.o.e; /* compiled from: LockAction */ @RequiresApi(21) public class d extends c.o.a.n.o.d { - public final e e = c.n0(new b(), new c(), new e()); + public final e e = f.g1(new b(), new c(), new e()); @Override // c.o.a.n.o.d @NonNull diff --git a/app/src/main/java/c/o/a/n/p/e.java b/app/src/main/java/c/o/a/n/p/e.java index 23c01457c1..25d8acc3ea 100644 --- a/app/src/main/java/c/o/a/n/p/e.java +++ b/app/src/main/java/c/o/a/n/p/e.java @@ -26,7 +26,7 @@ public class e extends a { @Override // c.o.a.n.p.a public boolean m(@NonNull c cVar) { boolean z2 = ((Integer) k(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL, -1)).intValue() != 2; - Integer num = (Integer) ((d) cVar).f1564h0.get(CaptureRequest.CONTROL_AWB_MODE); + Integer num = (Integer) ((d) cVar).f1515h0.get(CaptureRequest.CONTROL_AWB_MODE); boolean z3 = z2 && num != null && num.intValue() == 1; e.a(1, "checkIsSupported:", Boolean.valueOf(z3)); return z3; @@ -34,7 +34,7 @@ public class e extends a { @Override // c.o.a.n.p.a public boolean n(@NonNull c cVar) { - TotalCaptureResult totalCaptureResult = ((d) cVar).f1565i0; + TotalCaptureResult totalCaptureResult = ((d) cVar).f1516i0; if (totalCaptureResult != null) { Integer num = (Integer) totalCaptureResult.get(CaptureResult.CONTROL_AWB_STATE); boolean z2 = num != null && num.intValue() == 3; @@ -47,7 +47,7 @@ public class e extends a { @Override // c.o.a.n.p.a public void o(@NonNull c cVar) { - ((d) cVar).f1564h0.set(CaptureRequest.CONTROL_AWB_LOCK, Boolean.TRUE); + ((d) cVar).f1515h0.set(CaptureRequest.CONTROL_AWB_LOCK, Boolean.TRUE); ((d) cVar).k1(); } } diff --git a/app/src/main/java/c/o/a/n/q/a.java b/app/src/main/java/c/o/a/n/q/a.java index ca4fdb2885..a880fe479a 100644 --- a/app/src/main/java/c/o/a/n/q/a.java +++ b/app/src/main/java/c/o/a/n/q/a.java @@ -15,7 +15,7 @@ public class a { public static final Map b; /* renamed from: c reason: collision with root package name */ - public static final Map f1574c; + public static final Map f1525c; public static final Map d; public static final Map e; @@ -23,7 +23,7 @@ public class a { HashMap hashMap = new HashMap(); b = hashMap; HashMap hashMap2 = new HashMap(); - f1574c = hashMap2; + f1525c = hashMap2; HashMap hashMap3 = new HashMap(); d = hashMap3; HashMap hashMap4 = new HashMap(); diff --git a/app/src/main/java/c/o/a/n/q/b.java b/app/src/main/java/c/o/a/n/q/b.java index 761c25a0ed..ba10ba4245 100644 --- a/app/src/main/java/c/o/a/n/q/b.java +++ b/app/src/main/java/c/o/a/n/q/b.java @@ -16,14 +16,14 @@ public class b { public static final Map b; /* renamed from: c reason: collision with root package name */ - public static final Map f1575c; + public static final Map f1526c; public static final Map d; static { HashMap hashMap = new HashMap(); b = hashMap; HashMap hashMap2 = new HashMap(); - f1575c = hashMap2; + f1526c = hashMap2; HashMap hashMap3 = new HashMap(); d = hashMap3; hashMap.put(e.BACK, 1); diff --git a/app/src/main/java/c/o/a/n/r/a.java b/app/src/main/java/c/o/a/n/r/a.java index ad6113e94d..4db13b5c4f 100644 --- a/app/src/main/java/c/o/a/n/r/a.java +++ b/app/src/main/java/c/o/a/n/r/a.java @@ -22,7 +22,7 @@ public abstract class a extends e { @Override // c.o.a.n.o.e public final void j(@NonNull c cVar) { - this.f1573c = cVar; + this.f1524c = cVar; boolean z2 = this.h && n(cVar); if (!m(cVar) || z2) { e.a(1, "onStart:", "not supported or skipped. Dispatching COMPLETED state."); diff --git a/app/src/main/java/c/o/a/n/r/b.java b/app/src/main/java/c/o/a/n/r/b.java index 0abfb76c71..96f8230537 100644 --- a/app/src/main/java/c/o/a/n/r/b.java +++ b/app/src/main/java/c/o/a/n/r/b.java @@ -19,7 +19,7 @@ public abstract class b extends e { @Override // c.o.a.n.o.e public final void j(@NonNull c cVar) { - this.f1573c = cVar; + this.f1524c = cVar; MeteringRectangle meteringRectangle = null; if (this.e) { meteringRectangle = new MeteringRectangle((Rect) k(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE, new Rect()), 0); diff --git a/app/src/main/java/c/o/a/n/r/c.java b/app/src/main/java/c/o/a/n/r/c.java index 53908454d4..b2d11d515a 100644 --- a/app/src/main/java/c/o/a/n/r/c.java +++ b/app/src/main/java/c/o/a/n/r/c.java @@ -63,13 +63,13 @@ public class c extends a { @Override // c.o.a.n.o.e public void i(@NonNull c.o.a.n.o.c cVar) { - ((d) cVar).f1564h0.set(CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, null); + ((d) cVar).f1515h0.set(CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, null); } @Override // c.o.a.n.r.a public boolean m(@NonNull c.o.a.n.o.c cVar) { boolean z2 = ((Integer) k(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL, -1)).intValue() == 2; - Integer num = (Integer) ((d) cVar).f1564h0.get(CaptureRequest.CONTROL_AE_MODE); + Integer num = (Integer) ((d) cVar).f1515h0.get(CaptureRequest.CONTROL_AE_MODE); boolean z3 = num != null && (num.intValue() == 1 || num.intValue() == 3 || num.intValue() == 2 || num.intValue() == 4 || num.intValue() == 5); this.k = !z2; boolean z4 = ((Integer) k(CameraCharacteristics.CONTROL_MAX_REGIONS_AE, 0)).intValue() > 0; @@ -81,7 +81,7 @@ public class c extends a { @Override // c.o.a.n.r.a public boolean n(@NonNull c.o.a.n.o.c cVar) { - TotalCaptureResult totalCaptureResult = ((d) cVar).f1565i0; + TotalCaptureResult totalCaptureResult = ((d) cVar).f1516i0; if (totalCaptureResult != null) { Integer num = (Integer) totalCaptureResult.get(CaptureResult.CONTROL_AE_STATE); boolean z2 = num != null && num.intValue() == 2; @@ -96,10 +96,10 @@ public class c extends a { public void o(@NonNull c.o.a.n.o.c cVar, @NonNull List list) { i.a(1, "onStarted:", "with areas:", list); if (this.j && !list.isEmpty()) { - ((d) cVar).f1564h0.set(CaptureRequest.CONTROL_AE_REGIONS, list.subList(0, Math.min(((Integer) k(CameraCharacteristics.CONTROL_MAX_REGIONS_AE, 0)).intValue(), list.size())).toArray(new MeteringRectangle[0])); + ((d) cVar).f1515h0.set(CaptureRequest.CONTROL_AE_REGIONS, list.subList(0, Math.min(((Integer) k(CameraCharacteristics.CONTROL_MAX_REGIONS_AE, 0)).intValue(), list.size())).toArray(new MeteringRectangle[0])); } if (this.k) { - ((d) cVar).f1564h0.set(CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, 1); + ((d) cVar).f1515h0.set(CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, 1); } ((d) cVar).k1(); if (this.k) { diff --git a/app/src/main/java/c/o/a/n/r/d.java b/app/src/main/java/c/o/a/n/r/d.java index 8b08cfb553..a306cf8744 100644 --- a/app/src/main/java/c/o/a/n/r/d.java +++ b/app/src/main/java/c/o/a/n/r/d.java @@ -23,7 +23,7 @@ public class d extends b { @Override // c.o.a.n.o.e, c.o.a.n.o.a public void b(@NonNull c cVar, @NonNull CaptureRequest captureRequest, @NonNull TotalCaptureResult totalCaptureResult) { if (this.b == 0) { - ((c.o.a.n.d) cVar).f1564h0.set(CaptureRequest.CONTROL_AE_LOCK, Boolean.FALSE); + ((c.o.a.n.d) cVar).f1515h0.set(CaptureRequest.CONTROL_AE_LOCK, Boolean.FALSE); ((c.o.a.n.d) cVar).k1(); l(Integer.MAX_VALUE); } @@ -33,9 +33,9 @@ public class d extends b { public void m(@NonNull c cVar, @Nullable MeteringRectangle meteringRectangle) { int intValue = ((Integer) k(CameraCharacteristics.CONTROL_MAX_REGIONS_AE, 0)).intValue(); if (meteringRectangle != null && intValue > 0) { - ((c.o.a.n.d) cVar).f1564h0.set(CaptureRequest.CONTROL_AE_REGIONS, new MeteringRectangle[]{meteringRectangle}); + ((c.o.a.n.d) cVar).f1515h0.set(CaptureRequest.CONTROL_AE_REGIONS, new MeteringRectangle[]{meteringRectangle}); } - TotalCaptureResult totalCaptureResult = ((c.o.a.n.d) cVar).f1565i0; + TotalCaptureResult totalCaptureResult = ((c.o.a.n.d) cVar).f1516i0; Integer num = totalCaptureResult == null ? null : (Integer) totalCaptureResult.get(CaptureResult.CONTROL_AE_PRECAPTURE_TRIGGER); b bVar = f; int i = 2; @@ -45,10 +45,10 @@ public class d extends b { if (Build.VERSION.SDK_INT < 23) { i = 0; } - ((c.o.a.n.d) cVar).f1564h0.set(CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, Integer.valueOf(i)); + ((c.o.a.n.d) cVar).f1515h0.set(CaptureRequest.CONTROL_AE_PRECAPTURE_TRIGGER, Integer.valueOf(i)); } c.o.a.n.d dVar = (c.o.a.n.d) cVar; - dVar.f1564h0.set(CaptureRequest.CONTROL_AE_LOCK, Boolean.TRUE); + dVar.f1515h0.set(CaptureRequest.CONTROL_AE_LOCK, Boolean.TRUE); dVar.k1(); l(0); } diff --git a/app/src/main/java/c/o/a/n/r/e.java b/app/src/main/java/c/o/a/n/r/e.java index ccda576d40..b5e12ba1b6 100644 --- a/app/src/main/java/c/o/a/n/r/e.java +++ b/app/src/main/java/c/o/a/n/r/e.java @@ -38,12 +38,12 @@ public class e extends a { @Override // c.o.a.n.o.e public void i(@NonNull c cVar) { - ((d) cVar).f1564h0.set(CaptureRequest.CONTROL_AF_TRIGGER, null); + ((d) cVar).f1515h0.set(CaptureRequest.CONTROL_AF_TRIGGER, null); } @Override // c.o.a.n.r.a public boolean m(@NonNull c cVar) { - Integer num = (Integer) ((d) cVar).f1564h0.get(CaptureRequest.CONTROL_AF_MODE); + Integer num = (Integer) ((d) cVar).f1515h0.get(CaptureRequest.CONTROL_AF_MODE); boolean z2 = num != null && (num.intValue() == 1 || num.intValue() == 4 || num.intValue() == 3 || num.intValue() == 2); i.a(1, "checkIsSupported:", Boolean.valueOf(z2)); return z2; @@ -51,7 +51,7 @@ public class e extends a { @Override // c.o.a.n.r.a public boolean n(@NonNull c cVar) { - TotalCaptureResult totalCaptureResult = ((d) cVar).f1565i0; + TotalCaptureResult totalCaptureResult = ((d) cVar).f1516i0; if (totalCaptureResult != null) { Integer num = (Integer) totalCaptureResult.get(CaptureResult.CONTROL_AF_STATE); boolean z2 = num != null && (num.intValue() == 4 || num.intValue() == 2); @@ -65,10 +65,10 @@ public class e extends a { @Override // c.o.a.n.r.a public void o(@NonNull c cVar, @NonNull List list) { i.a(1, "onStarted:", "with areas:", list); - ((d) cVar).f1564h0.set(CaptureRequest.CONTROL_AF_TRIGGER, 1); + ((d) cVar).f1515h0.set(CaptureRequest.CONTROL_AF_TRIGGER, 1); int intValue = ((Integer) k(CameraCharacteristics.CONTROL_MAX_REGIONS_AF, 0)).intValue(); if (!list.isEmpty() && intValue > 0) { - ((d) cVar).f1564h0.set(CaptureRequest.CONTROL_AF_REGIONS, list.subList(0, Math.min(intValue, list.size())).toArray(new MeteringRectangle[0])); + ((d) cVar).f1515h0.set(CaptureRequest.CONTROL_AF_REGIONS, list.subList(0, Math.min(intValue, list.size())).toArray(new MeteringRectangle[0])); } ((d) cVar).k1(); } diff --git a/app/src/main/java/c/o/a/n/r/f.java b/app/src/main/java/c/o/a/n/r/f.java index 1a5b8f1733..092d77286b 100644 --- a/app/src/main/java/c/o/a/n/r/f.java +++ b/app/src/main/java/c/o/a/n/r/f.java @@ -28,16 +28,16 @@ public class f extends b { if (meteringRectangle == null || intValue <= 0) { z2 = false; } else { - ((d) cVar).f1564h0.set(CaptureRequest.CONTROL_AF_REGIONS, new MeteringRectangle[]{meteringRectangle}); + ((d) cVar).f1515h0.set(CaptureRequest.CONTROL_AF_REGIONS, new MeteringRectangle[]{meteringRectangle}); z2 = true; } - TotalCaptureResult totalCaptureResult = ((d) cVar).f1565i0; + TotalCaptureResult totalCaptureResult = ((d) cVar).f1516i0; Integer num = totalCaptureResult == null ? null : (Integer) totalCaptureResult.get(CaptureResult.CONTROL_AF_TRIGGER); f.a(2, "onStarted:", "last focus trigger is", num); if (num == null || num.intValue() != 1) { z3 = z2; } else { - ((d) cVar).f1564h0.set(CaptureRequest.CONTROL_AF_TRIGGER, 2); + ((d) cVar).f1515h0.set(CaptureRequest.CONTROL_AF_TRIGGER, 2); } if (z3) { ((d) cVar).k1(); diff --git a/app/src/main/java/c/o/a/n/r/g.java b/app/src/main/java/c/o/a/n/r/g.java index 4624d06ac9..6332bfed98 100644 --- a/app/src/main/java/c/o/a/n/r/g.java +++ b/app/src/main/java/c/o/a/n/r/g.java @@ -3,6 +3,7 @@ package c.o.a.n.r; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.RequiresApi; +import c.i.a.f.e.o.f; import c.o.a.b; import c.o.a.n.i; import c.o.a.n.o.c; @@ -46,13 +47,13 @@ public class g extends d { List arrayList = new ArrayList(); if (this.h != null) { c.o.a.n.d dVar = (c.o.a.n.d) cVar; - c.o.a.n.s.b bVar = new c.o.a.n.s.b(this.i.e(), this.i.z().l(), this.i.C(c.o.a.n.t.b.VIEW), this.i.z().d, dVar.f1562f0, dVar.f1564h0); + c.o.a.n.s.b bVar = new c.o.a.n.s.b(this.i.e(), this.i.z().l(), this.i.C(c.o.a.n.t.b.VIEW), this.i.z().d, dVar.f1513f0, dVar.f1515h0); arrayList = this.h.c(bVar).b(Integer.MAX_VALUE, bVar); } c cVar2 = new c(arrayList, this.j); e eVar = new e(arrayList, this.j); i iVar = new i(arrayList, this.j); this.f = Arrays.asList(cVar2, eVar, iVar); - this.g = c.i.a.f.e.o.c.n0(cVar2, eVar, iVar); + this.g = f.g1(cVar2, eVar, iVar); } } diff --git a/app/src/main/java/c/o/a/n/r/h.java b/app/src/main/java/c/o/a/n/r/h.java index 03a237caa5..118dc01fbd 100644 --- a/app/src/main/java/c/o/a/n/r/h.java +++ b/app/src/main/java/c/o/a/n/r/h.java @@ -2,13 +2,13 @@ package c.o.a.n.r; import androidx.annotation.NonNull; import androidx.annotation.RequiresApi; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.o.a.n.o.d; import c.o.a.n.o.e; /* compiled from: MeterResetAction */ @RequiresApi(21) public class h extends d { - public final e e = c.n0(new d(), new f(), new j()); + public final e e = f.g1(new d(), new f(), new j()); @Override // c.o.a.n.o.d @NonNull diff --git a/app/src/main/java/c/o/a/n/r/i.java b/app/src/main/java/c/o/a/n/r/i.java index 08b1aa0df5..acdd1683d3 100644 --- a/app/src/main/java/c/o/a/n/r/i.java +++ b/app/src/main/java/c/o/a/n/r/i.java @@ -39,7 +39,7 @@ public class i extends a { @Override // c.o.a.n.r.a public boolean m(@NonNull c cVar) { boolean z2 = ((Integer) k(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL, -1)).intValue() != 2; - Integer num = (Integer) ((d) cVar).f1564h0.get(CaptureRequest.CONTROL_AWB_MODE); + Integer num = (Integer) ((d) cVar).f1515h0.get(CaptureRequest.CONTROL_AWB_MODE); boolean z3 = z2 && num != null && num.intValue() == 1; i.a(1, "checkIsSupported:", Boolean.valueOf(z3)); return z3; @@ -47,7 +47,7 @@ public class i extends a { @Override // c.o.a.n.r.a public boolean n(@NonNull c cVar) { - TotalCaptureResult totalCaptureResult = ((d) cVar).f1565i0; + TotalCaptureResult totalCaptureResult = ((d) cVar).f1516i0; if (totalCaptureResult != null) { Integer num = (Integer) totalCaptureResult.get(CaptureResult.CONTROL_AWB_STATE); boolean z2 = num != null && num.intValue() == 2; @@ -63,7 +63,7 @@ public class i extends a { i.a(1, "onStarted:", "with areas:", list); int intValue = ((Integer) k(CameraCharacteristics.CONTROL_MAX_REGIONS_AWB, 0)).intValue(); if (!list.isEmpty() && intValue > 0) { - ((d) cVar).f1564h0.set(CaptureRequest.CONTROL_AWB_REGIONS, list.subList(0, Math.min(intValue, list.size())).toArray(new MeteringRectangle[0])); + ((d) cVar).f1515h0.set(CaptureRequest.CONTROL_AWB_REGIONS, list.subList(0, Math.min(intValue, list.size())).toArray(new MeteringRectangle[0])); ((d) cVar).k1(); } } diff --git a/app/src/main/java/c/o/a/n/r/j.java b/app/src/main/java/c/o/a/n/r/j.java index 092ba66edc..11f8398f8a 100644 --- a/app/src/main/java/c/o/a/n/r/j.java +++ b/app/src/main/java/c/o/a/n/r/j.java @@ -23,7 +23,7 @@ public class j extends b { f.a(2, "onStarted:", "with area:", meteringRectangle); int intValue = ((Integer) k(CameraCharacteristics.CONTROL_MAX_REGIONS_AWB, 0)).intValue(); if (meteringRectangle != null && intValue > 0) { - ((d) cVar).f1564h0.set(CaptureRequest.CONTROL_AWB_REGIONS, new MeteringRectangle[]{meteringRectangle}); + ((d) cVar).f1515h0.set(CaptureRequest.CONTROL_AWB_REGIONS, new MeteringRectangle[]{meteringRectangle}); ((d) cVar).k1(); } l(Integer.MAX_VALUE); diff --git a/app/src/main/java/c/o/a/n/s/a.java b/app/src/main/java/c/o/a/n/s/a.java index 0dc6b5de5d..2ff8bd38dd 100644 --- a/app/src/main/java/c/o/a/n/s/a.java +++ b/app/src/main/java/c/o/a/n/s/a.java @@ -13,11 +13,11 @@ public class a implements c { public final int b; /* renamed from: c reason: collision with root package name */ - public final c.o.a.x.b f1576c; + public final c.o.a.x.b f1527c; public a(@NonNull c.o.a.n.t.a aVar, @NonNull c.o.a.x.b bVar) { this.b = -aVar.c(c.o.a.n.t.b.SENSOR, c.o.a.n.t.b.VIEW, 1); - this.f1576c = bVar; + this.f1527c = bVar; } /* Return type fixed from 'java.lang.Object' to match base method */ @@ -34,7 +34,7 @@ public class a implements c { public PointF b(@NonNull PointF pointF) { PointF pointF2 = new PointF(); float f = pointF.x; - c.o.a.x.b bVar = this.f1576c; + c.o.a.x.b bVar = this.f1527c; pointF2.x = ((f / ((float) bVar.i)) * 2000.0f) - 0.0040893555f; pointF2.y = ((pointF.y / ((float) bVar.j)) * 2000.0f) - 0.0040893555f; PointF pointF3 = new PointF(); diff --git a/app/src/main/java/c/o/a/n/s/b.java b/app/src/main/java/c/o/a/n/s/b.java index 6a834b68de..36e6f0eee2 100644 --- a/app/src/main/java/c/o/a/n/s/b.java +++ b/app/src/main/java/c/o/a/n/s/b.java @@ -18,7 +18,7 @@ public class b implements c { public final a b; /* renamed from: c reason: collision with root package name */ - public final c.o.a.x.b f1577c; + public final c.o.a.x.b f1528c; public final c.o.a.x.b d; public final boolean e; public final CameraCharacteristics f; @@ -26,7 +26,7 @@ public class b implements c { public b(@NonNull a aVar, @NonNull c.o.a.x.b bVar, @NonNull c.o.a.x.b bVar2, boolean z2, @NonNull CameraCharacteristics cameraCharacteristics, @NonNull CaptureRequest.Builder builder) { this.b = aVar; - this.f1577c = bVar; + this.f1528c = bVar; this.d = bVar2; this.e = z2; this.f = cameraCharacteristics; @@ -46,7 +46,7 @@ public class b implements c { @NonNull public PointF b(@NonNull PointF pointF) { PointF pointF2 = new PointF(pointF.x, pointF.y); - c.o.a.x.b bVar = this.f1577c; + c.o.a.x.b bVar = this.f1528c; c.o.a.x.b bVar2 = this.d; int i = bVar.i; int i2 = bVar.j; @@ -87,7 +87,7 @@ public class b implements c { pointF2.x = ((float) bVar3.j) - f7; pointF2.y = f6; } else { - throw new IllegalStateException(c.d.b.a.a.l("Unexpected angle ", c2)); + throw new IllegalStateException(c.d.b.a.a.p("Unexpected angle ", c2)); } if (z2) { bVar3 = bVar3.f(); diff --git a/app/src/main/java/c/o/a/n/t/a.java b/app/src/main/java/c/o/a/n/t/a.java index 26690a5835..9e370f9ae3 100644 --- a/app/src/main/java/c/o/a/n/t/a.java +++ b/app/src/main/java/c/o/a/n/t/a.java @@ -12,7 +12,7 @@ public class a { @VisibleForTesting /* renamed from: c reason: collision with root package name */ - public int f1578c = 0; + public int f1529c = 0; @VisibleForTesting public int d = 0; @VisibleForTesting @@ -31,7 +31,7 @@ public class a { } int ordinal = bVar2.ordinal(); if (ordinal == 1) { - return ((360 - this.f1578c) + 360) % 360; + return ((360 - this.f1529c) + 360) % 360; } if (ordinal == 2) { return ((360 - this.d) + 360) % 360; @@ -52,21 +52,21 @@ public class a { } public final void d() { - a.a(1, "Angles changed:", "sensorOffset:", Integer.valueOf(this.f1578c), "displayOffset:", Integer.valueOf(this.d), "deviceOrientation:", Integer.valueOf(this.e)); + a.a(1, "Angles changed:", "sensorOffset:", Integer.valueOf(this.f1529c), "displayOffset:", Integer.valueOf(this.d), "deviceOrientation:", Integer.valueOf(this.e)); } public final void e(int i) { if (i != 0 && i != 90 && i != 180 && i != 270) { - throw new IllegalStateException(c.d.b.a.a.l("This value is not sanitized: ", i)); + throw new IllegalStateException(c.d.b.a.a.p("This value is not sanitized: ", i)); } } public void f(@NonNull e eVar, int i) { e(i); this.b = eVar; - this.f1578c = i; + this.f1529c = i; if (eVar == e.FRONT) { - this.f1578c = ((360 - i) + 360) % 360; + this.f1529c = ((360 - i) + 360) % 360; } d(); } diff --git a/app/src/main/java/c/o/a/n/u/a.java b/app/src/main/java/c/o/a/n/u/a.java index 84373dcec9..941ced179e 100644 --- a/app/src/main/java/c/o/a/n/u/a.java +++ b/app/src/main/java/c/o/a/n/u/a.java @@ -33,19 +33,19 @@ public class a extends c { List supportedWhiteBalance = parameters.getSupportedWhiteBalance(); if (supportedWhiteBalance != null) { for (String str : supportedWhiteBalance) { - m mVar = (m) a.b(c.o.a.n.q.a.f1574c, str); + m mVar = (m) a.b(c.o.a.n.q.a.f1525c, str); if (mVar != null) { this.a.add(mVar); } } } - this.f1554c.add(f.OFF); + this.f1505c.add(f.OFF); List supportedFlashModes = parameters.getSupportedFlashModes(); if (supportedFlashModes != null) { for (String str2 : supportedFlashModes) { f fVar = (f) a.b(c.o.a.n.q.a.b, str2); if (fVar != null) { - this.f1554c.add(fVar); + this.f1505c.add(fVar); } } } @@ -72,7 +72,7 @@ public class a extends c { this.g.add(c.o.a.x.a.f(i5, i6)); } ArrayList arrayList = new ArrayList(c.o.a.r.a.b.keySet()); - Collections.sort(arrayList, new a.C0171a(((long) Integer.MAX_VALUE) * ((long) Integer.MAX_VALUE))); + Collections.sort(arrayList, new a.C0170a(((long) Integer.MAX_VALUE) * ((long) Integer.MAX_VALUE))); while (true) { if (arrayList.size() <= 0) { camcorderProfile = CamcorderProfile.get(i, 0); diff --git a/app/src/main/java/c/o/a/n/u/b.java b/app/src/main/java/c/o/a/n/u/b.java index b8aa6d7ab3..a1364c2c2f 100644 --- a/app/src/main/java/c/o/a/n/u/b.java +++ b/app/src/main/java/c/o/a/n/u/b.java @@ -41,12 +41,12 @@ public class b extends c { } } for (int i2 : (int[]) cameraCharacteristics.get(CameraCharacteristics.CONTROL_AWB_AVAILABLE_MODES)) { - m mVar = (m) bVar.a(c.o.a.n.q.b.f1575c, Integer.valueOf(i2)); + m mVar = (m) bVar.a(c.o.a.n.q.b.f1526c, Integer.valueOf(i2)); if (mVar != null) { this.a.add(mVar); } } - this.f1554c.add(fVar); + this.f1505c.add(fVar); Boolean bool = (Boolean) cameraCharacteristics.get(CameraCharacteristics.FLASH_INFO_AVAILABLE); boolean z3 = true; if (bool != null && bool.booleanValue()) { @@ -66,7 +66,7 @@ public class b extends c { } hashSet.add(f.AUTO); } - this.f1554c.addAll(hashSet); + this.f1505c.addAll(hashSet); } } this.d.add(h.OFF); @@ -156,7 +156,7 @@ public class b extends c { } return; } - throw new IllegalStateException(c.d.b.a.a.l("Picture format not supported: ", i)); + throw new IllegalStateException(c.d.b.a.a.p("Picture format not supported: ", i)); } throw new RuntimeException("StreamConfigurationMap is null. Should not happen."); } diff --git a/app/src/main/java/c/o/a/n/v/a.java b/app/src/main/java/c/o/a/n/v/a.java index 368d92baff..d6210757ca 100644 --- a/app/src/main/java/c/o/a/n/v/a.java +++ b/app/src/main/java/c/o/a/n/v/a.java @@ -1,6 +1,7 @@ package c.o.a.n.v; import androidx.annotation.NonNull; +import c.i.a.f.e.o.f; import c.o.a.n.i; import c.o.a.r.g; import com.google.android.gms.tasks.Task; @@ -16,16 +17,16 @@ public class a { public final b b; /* renamed from: c reason: collision with root package name */ - public final ArrayDeque> f1579c = new ArrayDeque<>(); + public final ArrayDeque> f1530c = new ArrayDeque<>(); public boolean d = false; public final Object e = new Object(); /* compiled from: CameraOrchestrator */ /* renamed from: c.o.a.n.v.a$a reason: collision with other inner class name */ - public class CallableC0169a implements Callable> { + public class CallableC0168a implements Callable> { public final /* synthetic */ Runnable i; - public CallableC0169a(a aVar, Runnable runnable) { + public CallableC0168a(a aVar, Runnable runnable) { this.i = runnable; } @@ -33,7 +34,7 @@ public class a { @Override // java.util.concurrent.Callable public Task call() throws Exception { this.i.run(); - return c.i.a.f.e.o.c.F(null); + return f.R(null); } } @@ -47,13 +48,13 @@ public class a { public final TaskCompletionSource b = new TaskCompletionSource<>(); /* renamed from: c reason: collision with root package name */ - public final Callable> f1580c; + public final Callable> f1531c; public final boolean d; public final long e; - public c(String str, Callable callable, boolean z2, long j, CallableC0169a aVar) { + public c(String str, Callable callable, boolean z2, long j, CallableC0168a aVar) { this.a = str; - this.f1580c = callable; + this.f1531c = callable; this.d = z2; this.e = j; } @@ -66,24 +67,24 @@ public class a { public static void a(a aVar, c cVar) { if (aVar.d) { aVar.d = false; - aVar.f1579c.remove(cVar); + aVar.f1530c.remove(cVar); g gVar = i.this.j; gVar.f.postDelayed(new b(aVar), 0); return; } - StringBuilder O = c.d.b.a.a.O("mJobRunning was not true after completing job="); - O.append(cVar.a); - throw new IllegalStateException(O.toString()); + StringBuilder R = c.d.b.a.a.R("mJobRunning was not true after completing job="); + R.append(cVar.a); + throw new IllegalStateException(R.toString()); } @NonNull public Task b(@NonNull String str, boolean z2, @NonNull Runnable runnable) { - return d(str, z2, 0, new CallableC0169a(this, runnable)); + return d(str, z2, 0, new CallableC0168a(this, runnable)); } @NonNull public Task c(@NonNull String str, boolean z2, long j, @NonNull Runnable runnable) { - return d(str, z2, j, new CallableC0169a(this, runnable)); + return d(str, z2, j, new CallableC0168a(this, runnable)); } @NonNull @@ -91,7 +92,7 @@ public class a { a.a(1, str.toUpperCase(), "- Scheduling."); c cVar = new c<>(str, callable, z2, System.currentTimeMillis() + j, null); synchronized (this.e) { - this.f1579c.addLast(cVar); + this.f1530c.addLast(cVar); i.this.j.f.postDelayed(new b(this), j); } return cVar.b.a; @@ -100,7 +101,7 @@ public class a { public void e(@NonNull String str, int i) { synchronized (this.e) { ArrayList arrayList = new ArrayList(); - Iterator> it = this.f1579c.iterator(); + Iterator> it = this.f1530c.iterator(); while (it.hasNext()) { c next = it.next(); if (next.a.equals(str)) { @@ -112,7 +113,7 @@ public class a { if (max > 0) { Collections.reverse(arrayList); for (c cVar : arrayList.subList(0, max)) { - this.f1579c.remove(cVar); + this.f1530c.remove(cVar); } } } diff --git a/app/src/main/java/c/o/a/n/v/b.java b/app/src/main/java/c/o/a/n/v/b.java index 03ad9f4dba..83174682e5 100644 --- a/app/src/main/java/c/o/a/n/v/b.java +++ b/app/src/main/java/c/o/a/n/v/b.java @@ -19,7 +19,7 @@ public class b implements Runnable { cVar = null; if (!this.i.d) { long currentTimeMillis = System.currentTimeMillis(); - Iterator> it = this.i.f1579c.iterator(); + Iterator> it = this.i.f1530c.iterator(); while (true) { if (!it.hasNext()) { break; diff --git a/app/src/main/java/c/o/a/n/v/c.java b/app/src/main/java/c/o/a/n/v/c.java index 6f38bba7b9..127b2abc78 100644 --- a/app/src/main/java/c/o/a/n/v/c.java +++ b/app/src/main/java/c/o/a/n/v/c.java @@ -51,7 +51,7 @@ public class c implements Runnable { public void run() { try { a.a.a(1, this.i.a.toUpperCase(), "- Executing."); - Task task = (Task) this.i.f1580c.call(); + Task task = (Task) this.i.f1531c.call(); g gVar = this.j; a aVar = new a(); if (task.o()) { diff --git a/app/src/main/java/c/o/a/o/a.java b/app/src/main/java/c/o/a/o/a.java index efed205eb4..dfc0851ce0 100644 --- a/app/src/main/java/c/o/a/o/a.java +++ b/app/src/main/java/c/o/a/o/a.java @@ -4,12 +4,12 @@ import android.graphics.RectF; import android.opengl.GLES20; import androidx.annotation.NonNull; import androidx.annotation.VisibleForTesting; -import c.i.a.f.e.o.c; import c.o.a.b; import c.o.b.c.f; +import c.o.b.d.c; import c.o.b.d.d; -import c0.p; -import c0.z.d.m; +import d0.p; +import d0.z.d.m; import java.nio.Buffer; import java.nio.FloatBuffer; import java.util.Objects; @@ -20,7 +20,7 @@ public abstract class a implements b { public d b = null; /* renamed from: c reason: collision with root package name */ - public c.o.b.b.b f1581c = null; + public c.o.b.b.b f1532c = null; @VisibleForTesting public c.o.a.x.b d; @@ -56,9 +56,9 @@ public abstract class a implements b { sb.append(";\nuniform mat4 "); sb.append("uTexMatrix"); sb.append(";\nattribute vec4 "); - c.d.b.a.a.n0(sb, "aPosition", ";\nattribute vec4 ", "aTextureCoord", ";\nvarying vec2 "); - c.d.b.a.a.n0(sb, "vTextureCoord", ";\nvoid main() {\n gl_Position = ", "uMVPMatrix", " * "); - c.d.b.a.a.n0(sb, "aPosition", ";\n ", "vTextureCoord", " = ("); + c.d.b.a.a.o0(sb, "aPosition", ";\nattribute vec4 ", "aTextureCoord", ";\nvarying vec2 "); + c.d.b.a.a.o0(sb, "vTextureCoord", ";\nvoid main() {\n gl_Position = ", "uMVPMatrix", " * "); + c.d.b.a.a.o0(sb, "aPosition", ";\n ", "vTextureCoord", " = ("); sb.append("uTexMatrix"); sb.append(" * "); sb.append("aTextureCoord"); @@ -77,7 +77,7 @@ public abstract class a implements b { m.checkNotNullParameter(fArr, ""); dVar.e = fArr; d dVar2 = this.b; - c.o.b.b.b bVar = this.f1581c; + c.o.b.b.b bVar = this.f1532c; float[] fArr2 = bVar.a; Objects.requireNonNull(dVar2); m.checkNotNullParameter(bVar, "drawable"); @@ -130,7 +130,7 @@ public abstract class a implements b { if (floatBuffer instanceof c.o.b.g.a) { ((c.o.b.g.a) floatBuffer).dispose(); } - dVar2.g = c.D(limit); + dVar2.g = c.i.a.f.e.o.f.P(limit); } dVar2.g.clear(); dVar2.g.limit(limit); @@ -152,12 +152,12 @@ public abstract class a implements b { c.o.b.a.d.b("glVertexAttribPointer"); } d dVar3 = this.b; - c.o.b.b.b bVar5 = this.f1581c; + c.o.b.b.b bVar5 = this.f1532c; Objects.requireNonNull(dVar3); m.checkNotNullParameter(bVar5, "drawable"); bVar5.a(); d dVar4 = this.b; - c.o.b.b.b bVar6 = this.f1581c; + c.o.b.b.b bVar6 = this.f1532c; Objects.requireNonNull(dVar4); m.checkNotNullParameter(bVar6, "drawable"); m.checkNotNullParameter(bVar6, "drawable"); @@ -176,11 +176,11 @@ public abstract class a implements b { public void f() { d dVar = this.b; if (!dVar.a) { - if (dVar.f1598c) { - GLES20.glDeleteProgram(p.m10constructorimpl(dVar.b)); + if (dVar.f1548c) { + GLES20.glDeleteProgram(p.m80constructorimpl(dVar.b)); } - for (c.o.b.d.c cVar : dVar.d) { - GLES20.glDeleteShader(p.m10constructorimpl(cVar.b)); + for (c cVar : dVar.d) { + GLES20.glDeleteShader(p.m80constructorimpl(cVar.b)); } dVar.a = true; } @@ -190,13 +190,13 @@ public abstract class a implements b { ((c.o.b.g.a) floatBuffer).dispose(); } this.b = null; - this.f1581c = null; + this.f1532c = null; } @Override // c.o.a.o.b public void j(int i) { this.b = new d(i, "aPosition", "uMVPMatrix", "aTextureCoord", "uTexMatrix"); - this.f1581c = new c.o.b.b.c(); + this.f1532c = new c.o.b.b.c(); } @Override // c.o.a.o.b diff --git a/app/src/main/java/c/o/a/p/a.java b/app/src/main/java/c/o/a/p/a.java index c36bd8d961..4d6f24839f 100644 --- a/app/src/main/java/c/o/a/p/a.java +++ b/app/src/main/java/c/o/a/p/a.java @@ -7,15 +7,15 @@ import java.util.concurrent.LinkedBlockingQueue; /* compiled from: ByteBufferFrameManager */ public class a extends c { public LinkedBlockingQueue i; - public AbstractC0170a j; + public AbstractC0169a j; public final int k = 0; /* compiled from: ByteBufferFrameManager */ /* renamed from: c.o.a.p.a$a reason: collision with other inner class name */ - public interface AbstractC0170a { + public interface AbstractC0169a { } - public a(int i, @Nullable AbstractC0170a aVar) { + public a(int i, @Nullable AbstractC0169a aVar) { super(i, byte[].class); this.j = aVar; } @@ -24,7 +24,7 @@ public class a extends c { @Override // c.o.a.p.c public void c(@NonNull byte[] bArr, boolean z2) { byte[] bArr2 = bArr; - if (z2 && bArr2.length == this.f1583c) { + if (z2 && bArr2.length == this.f1534c) { if (this.k == 0) { ((b) this.j).m1(bArr2); } else { @@ -44,7 +44,7 @@ public class a extends c { @Override // c.o.a.p.c public void e(int i, @NonNull c.o.a.x.b bVar, @NonNull c.o.a.n.t.a aVar) { super.e(i, bVar, aVar); - int i2 = this.f1583c; + int i2 = this.f1534c; for (int i3 = 0; i3 < this.b; i3++) { if (this.k == 0) { ((b) this.j).m1(new byte[i2]); diff --git a/app/src/main/java/c/o/a/p/b.java b/app/src/main/java/c/o/a/p/b.java index 2c8aaed0cb..a11b686311 100644 --- a/app/src/main/java/c/o/a/p/b.java +++ b/app/src/main/java/c/o/a/p/b.java @@ -7,7 +7,7 @@ public class b { public final c b; /* renamed from: c reason: collision with root package name */ - public Object f1582c = null; + public Object f1533c = null; public long d = -1; public long e = -1; @@ -16,7 +16,7 @@ public class b { } public long a() { - if (this.f1582c != null) { + if (this.f1533c != null) { return this.d; } a.a(3, "Frame is dead! time:", Long.valueOf(this.d), "lastTime:", Long.valueOf(this.e)); @@ -24,10 +24,10 @@ public class b { } public void b() { - if (this.f1582c != null) { + if (this.f1533c != null) { a.a(0, "Frame with time", Long.valueOf(this.d), "is being released."); - Object obj = this.f1582c; - this.f1582c = null; + Object obj = this.f1533c; + this.f1533c = null; this.d = -1; c cVar = this.b; if (cVar.b()) { diff --git a/app/src/main/java/c/o/a/p/c.java b/app/src/main/java/c/o/a/p/c.java index 2c68310327..aa6e1b91dc 100644 --- a/app/src/main/java/c/o/a/p/c.java +++ b/app/src/main/java/c/o/a/p/c.java @@ -12,7 +12,7 @@ public abstract class c { public final int b; /* renamed from: c reason: collision with root package name */ - public int f1583c = -1; + public int f1534c = -1; public c.o.a.x.b d = null; public int e = -1; public final Class f; @@ -35,7 +35,7 @@ public abstract class c { c.o.a.n.t.b bVar = c.o.a.n.t.b.SENSOR; aVar.c(bVar, c.o.a.n.t.b.OUTPUT, 2); this.h.c(bVar, c.o.a.n.t.b.VIEW, 2); - poll.f1582c = t; + poll.f1533c = t; poll.d = j; poll.e = j; return poll; @@ -60,7 +60,7 @@ public abstract class c { } a.a(1, "release: Clearing the frame and buffer queue."); this.g.clear(); - this.f1583c = -1; + this.f1534c = -1; this.d = null; this.e = -1; this.h = null; @@ -69,7 +69,7 @@ public abstract class c { public void e(int i, @NonNull c.o.a.x.b bVar, @NonNull a aVar) { this.d = bVar; this.e = i; - this.f1583c = (int) Math.ceil(((double) ((long) ((bVar.j * bVar.i) * ImageFormat.getBitsPerPixel(i)))) / 8.0d); + this.f1534c = (int) Math.ceil(((double) ((long) ((bVar.j * bVar.i) * ImageFormat.getBitsPerPixel(i)))) / 8.0d); for (int i2 = 0; i2 < this.b; i2++) { this.g.offer(new b(this)); } diff --git a/app/src/main/java/c/o/a/q/c.java b/app/src/main/java/c/o/a/q/c.java index 44bf2af39d..fcadcae6e5 100644 --- a/app/src/main/java/c/o/a/q/c.java +++ b/app/src/main/java/c/o/a/q/c.java @@ -10,16 +10,16 @@ public abstract class c { public a b; /* renamed from: c reason: collision with root package name */ - public PointF[] f1584c; + public PointF[] f1535c; /* compiled from: GestureFinder */ public interface a { } public c(@NonNull a aVar, int i) { - this.f1584c = new PointF[i]; + this.f1535c = new PointF[i]; for (int i2 = 0; i2 < i; i2++) { - this.f1584c[i2] = new PointF(0.0f, 0.0f); + this.f1535c[i2] = new PointF(0.0f, 0.0f); } } diff --git a/app/src/main/java/c/o/a/q/e.java b/app/src/main/java/c/o/a/q/e.java index 65be0bc75d..278f82234f 100644 --- a/app/src/main/java/c/o/a/q/e.java +++ b/app/src/main/java/c/o/a/q/e.java @@ -45,12 +45,12 @@ public class e extends c { } this.d.onTouchEvent(motionEvent); if (this.e) { - this.f1584c[0].x = motionEvent.getX(0); - this.f1584c[0].y = motionEvent.getY(0); + this.f1535c[0].x = motionEvent.getX(0); + this.f1535c[0].y = motionEvent.getY(0); z2 = true; if (motionEvent.getPointerCount() > 1) { - this.f1584c[1].x = motionEvent.getX(1); - this.f1584c[1].y = motionEvent.getY(1); + this.f1535c[1].x = motionEvent.getX(1); + this.f1535c[1].y = motionEvent.getY(1); } } return z2; diff --git a/app/src/main/java/c/o/a/q/f.java b/app/src/main/java/c/o/a/q/f.java index 65e08d713c..0578d34db3 100644 --- a/app/src/main/java/c/o/a/q/f.java +++ b/app/src/main/java/c/o/a/q/f.java @@ -34,14 +34,14 @@ public class f extends c { if (motionEvent == null || motionEvent2 == null) { return false; } - if (motionEvent.getX() == f.this.f1584c[0].x) { + if (motionEvent.getX() == f.this.f1535c[0].x) { float y2 = motionEvent.getY(); f fVar = f.this; - if (y2 == fVar.f1584c[0].y) { + if (y2 == fVar.f1535c[0].y) { if (fVar.b == aVar) { z2 = true; } - f.this.f1584c[1].set(motionEvent2.getX(), motionEvent2.getY()); + f.this.f1535c[1].set(motionEvent2.getX(), motionEvent2.getY()); f fVar2 = f.this; c.a aVar2 = this.i; fVar2.g = !z2 ? f / ((float) CameraView.this.getWidth()) : f2 / ((float) CameraView.this.getHeight()); @@ -57,9 +57,9 @@ public class f extends c { aVar = a.SCROLL_VERTICAL; } fVar4.b = aVar; - fVar4.f1584c[0].set(motionEvent.getX(), motionEvent.getY()); + fVar4.f1535c[0].set(motionEvent.getX(), motionEvent.getY()); z2 = z3; - f.this.f1584c[1].set(motionEvent2.getX(), motionEvent2.getY()); + f.this.f1535c[1].set(motionEvent2.getX(), motionEvent2.getY()); f fVar2 = f.this; c.a aVar2 = this.i; fVar2.g = !z2 ? f / ((float) CameraView.this.getWidth()) : f2 / ((float) CameraView.this.getHeight()); diff --git a/app/src/main/java/c/o/a/q/g.java b/app/src/main/java/c/o/a/q/g.java index 06b2ab436a..5198c77695 100644 --- a/app/src/main/java/c/o/a/q/g.java +++ b/app/src/main/java/c/o/a/q/g.java @@ -51,8 +51,8 @@ public class g extends c { if (!this.e) { return false; } - this.f1584c[0].x = motionEvent.getX(); - this.f1584c[0].y = motionEvent.getY(); + this.f1535c[0].x = motionEvent.getX(); + this.f1535c[0].y = motionEvent.getY(); return true; } } diff --git a/app/src/main/java/c/o/a/r/a.java b/app/src/main/java/c/o/a/r/a.java index 1260c94ecc..40e8078699 100644 --- a/app/src/main/java/c/o/a/r/a.java +++ b/app/src/main/java/c/o/a/r/a.java @@ -19,10 +19,10 @@ public class a { /* compiled from: CamcorderProfiles */ /* renamed from: c.o.a.r.a$a reason: collision with other inner class name */ - public static class C0171a implements Comparator { + public static class C0170a implements Comparator { public final /* synthetic */ long i; - public C0171a(long j) { + public C0170a(long j) { this.i = j; } @@ -55,7 +55,7 @@ public class a { public static CamcorderProfile a(int i, @NonNull c.o.a.x.b bVar) { long j = ((long) bVar.i) * ((long) bVar.j); ArrayList arrayList = new ArrayList(b.keySet()); - Collections.sort(arrayList, new C0171a(j)); + Collections.sort(arrayList, new C0170a(j)); while (arrayList.size() > 0) { int intValue = b.get((c.o.a.x.b) arrayList.remove(0)).intValue(); if (CamcorderProfile.hasProfile(i, intValue)) { diff --git a/app/src/main/java/c/o/a/r/c.java b/app/src/main/java/c/o/a/r/c.java index 24566ebe45..a9daec6390 100644 --- a/app/src/main/java/c/o/a/r/c.java +++ b/app/src/main/java/c/o/a/r/c.java @@ -6,8 +6,8 @@ import c.d.b.a.a; import c.o.b.a.d; import c.o.b.c.f; import c.o.b.f.b; -import c0.p; -import c0.z.d.m; +import d0.p; +import d0.z.d.m; /* compiled from: GlTextureDrawer */ public class c { public final b a; @@ -15,7 +15,7 @@ public class c { @NonNull /* renamed from: c reason: collision with root package name */ - public c.o.a.o.b f1585c = new c.o.a.o.c(); + public c.o.a.o.b f1536c = new c.o.a.o.c(); public c.o.a.o.b d = null; public int e = -1; @@ -26,21 +26,21 @@ public class c { public void a(long j) { if (this.d != null) { b(); - this.f1585c = this.d; + this.f1536c = this.d; this.d = null; } if (this.e == -1) { - String c2 = this.f1585c.c(); - String h = this.f1585c.h(); + String c2 = this.f1536c.c(); + String h = this.f1536c.h(); m.checkNotNullParameter(c2, "vertexShaderSource"); m.checkNotNullParameter(h, "fragmentShaderSource"); c.o.b.d.c[] cVarArr = {new c.o.b.d.c(f.n, c2), new c.o.b.d.c(f.o, h)}; m.checkNotNullParameter(cVarArr, "shaders"); - int r0 = p.m10constructorimpl(GLES20.glCreateProgram()); + int r0 = p.m80constructorimpl(GLES20.glCreateProgram()); d.b("glCreateProgram"); if (r0 != 0) { for (int i = 0; i < 2; i++) { - GLES20.glAttachShader(r0, p.m10constructorimpl(cVarArr[i].b)); + GLES20.glAttachShader(r0, p.m80constructorimpl(cVarArr[i].b)); d.b("glAttachShader"); } GLES20.glLinkProgram(r0); @@ -50,12 +50,12 @@ public class c { int i3 = f.a; if (i2 == 1) { this.e = r0; - this.f1585c.j(r0); + this.f1536c.j(r0); d.b("program creation"); } else { - StringBuilder O = a.O("Could not link program: "); - O.append(GLES20.glGetProgramInfoLog(r0)); - String sb = O.toString(); + StringBuilder R = a.R("Could not link program: "); + R.append(GLES20.glGetProgramInfoLog(r0)); + String sb = R.toString(); GLES20.glDeleteProgram(r0); throw new RuntimeException(sb); } @@ -66,7 +66,7 @@ public class c { GLES20.glUseProgram(this.e); d.b("glUseProgram(handle)"); this.a.a(); - this.f1585c.e(j, this.b); + this.f1536c.e(j, this.b); this.a.b(); GLES20.glUseProgram(0); d.b("glUseProgram(0)"); @@ -74,7 +74,7 @@ public class c { public void b() { if (this.e != -1) { - this.f1585c.f(); + this.f1536c.f(); GLES20.glDeleteProgram(this.e); this.e = -1; } diff --git a/app/src/main/java/c/o/a/r/f.java b/app/src/main/java/c/o/a/r/f.java index d1fcc0ba08..19209eb986 100644 --- a/app/src/main/java/c/o/a/r/f.java +++ b/app/src/main/java/c/o/a/r/f.java @@ -17,7 +17,7 @@ public class f { public final Context b; /* renamed from: c reason: collision with root package name */ - public final c f1586c; + public final c f1537c; @VisibleForTesting public final OrientationEventListener d; public int e = -1; @@ -59,23 +59,23 @@ public class f { fVar = f.this; if (i2 == fVar.e) { fVar.e = i2; - CameraView.b bVar = (CameraView.b) fVar.f1586c; + CameraView.b bVar = (CameraView.b) fVar.f1537c; bVar.b.a(1, "onDeviceOrientationChanged", Integer.valueOf(i2)); CameraView cameraView = CameraView.this; - int i3 = cameraView.f2932w.g; + int i3 = cameraView.w.g; if (!cameraView.l) { int i4 = (360 - i3) % 360; - c.o.a.n.t.a e = cameraView.f2933x.e(); + c.o.a.n.t.a e = cameraView.f2499x.e(); e.e(i4); e.e = i4; e.d(); } else { - c.o.a.n.t.a e2 = cameraView.f2933x.e(); + c.o.a.n.t.a e2 = cameraView.f2499x.e(); e2.e(i2); e2.e = i2; e2.d(); } - CameraView.this.s.post(new j(bVar, (i2 + i3) % 360)); + CameraView.this.f2498s.post(new j(bVar, (i2 + i3) % 360)); return; } return; @@ -105,7 +105,7 @@ public class f { if (a != i2) { f.this.g = a; boolean z2 = Math.abs(a - i2) != 180; - CameraView.b bVar = (CameraView.b) f.this.f1586c; + CameraView.b bVar = (CameraView.b) f.this.f1537c; bVar.b.a(1, "onDisplayOffsetChanged", Integer.valueOf(a), "recreate:", Boolean.valueOf(z2)); if (CameraView.this.d() && !z2) { bVar.b.a(2, "onDisplayOffsetChanged", "restarting the camera."); @@ -126,7 +126,7 @@ public class f { public f(@NonNull Context context, @NonNull c cVar) { this.b = context; - this.f1586c = cVar; + this.f1537c = cVar; this.d = new a(context.getApplicationContext(), 3); this.f = new b(); } diff --git a/app/src/main/java/c/o/a/r/g.java b/app/src/main/java/c/o/a/r/g.java index fe006cbfd2..a78a12b933 100644 --- a/app/src/main/java/c/o/a/r/g.java +++ b/app/src/main/java/c/o/a/r/g.java @@ -13,7 +13,7 @@ public class g { public static final ConcurrentHashMap> b = new ConcurrentHashMap<>(4); /* renamed from: c reason: collision with root package name */ - public static g f1587c; + public static g f1538c; public String d; public HandlerThread e; public Handler f = new Handler(this.e.getLooper()); @@ -73,7 +73,7 @@ public class g { public static void a(@NonNull Runnable runnable) { g b2 = b("FallbackCameraThread"); - f1587c = b2; + f1538c = b2; b2.f.post(runnable); } diff --git a/app/src/main/java/c/o/a/u/a.java b/app/src/main/java/c/o/a/u/a.java index 4ed50c318b..a6a4fb4f95 100644 --- a/app/src/main/java/c/o/a/u/a.java +++ b/app/src/main/java/c/o/a/u/a.java @@ -4,7 +4,7 @@ public interface a { /* compiled from: Overlay */ /* renamed from: c.o.a.u.a$a reason: collision with other inner class name */ - public enum EnumC0172a { + public enum EnumC0171a { PREVIEW, PICTURE_SNAPSHOT, VIDEO_SNAPSHOT diff --git a/app/src/main/java/c/o/a/u/b.java b/app/src/main/java/c/o/a/u/b.java index d0bf9b1fc0..480d11a4ae 100644 --- a/app/src/main/java/c/o/a/u/b.java +++ b/app/src/main/java/c/o/a/u/b.java @@ -12,7 +12,7 @@ public class b { public a b; /* renamed from: c reason: collision with root package name */ - public SurfaceTexture f1588c; + public SurfaceTexture f1539c; public Surface d; @VisibleForTesting public c e; @@ -23,9 +23,9 @@ public class b { this.b = aVar; this.e = new c(new c.o.b.f.b(33984, 36197, null, 4)); SurfaceTexture surfaceTexture = new SurfaceTexture(this.e.a.a); - this.f1588c = surfaceTexture; + this.f1539c = surfaceTexture; surfaceTexture.setDefaultBufferSize(bVar.i, bVar.j); - this.d = new Surface(this.f1588c); + this.d = new Surface(this.f1539c); this.f = new e(this.e.a.a); } } diff --git a/app/src/main/java/c/o/a/u/c.java b/app/src/main/java/c/o/a/u/c.java index fa0bcd5bd3..75b14bd656 100644 --- a/app/src/main/java/c/o/a/u/c.java +++ b/app/src/main/java/c/o/a/u/c.java @@ -18,7 +18,7 @@ public class c extends FrameLayout implements a { public static final String i; public static final b j; @VisibleForTesting - public a.EnumC0172a k = a.EnumC0172a.PREVIEW; + public a.EnumC0171a k = a.EnumC0171a.PREVIEW; /* compiled from: OverlayLayout */ public static class a extends FrameLayout.LayoutParams { @@ -26,7 +26,7 @@ public class c extends FrameLayout implements a { public boolean b = false; /* renamed from: c reason: collision with root package name */ - public boolean f1589c = false; + public boolean f1540c = false; public a(@NonNull Context context, @NonNull AttributeSet attributeSet) { super(context, attributeSet); @@ -34,27 +34,27 @@ public class c extends FrameLayout implements a { try { this.a = obtainStyledAttributes.getBoolean(R.c.CameraView_Layout_layout_drawOnPreview, false); this.b = obtainStyledAttributes.getBoolean(R.c.CameraView_Layout_layout_drawOnPictureSnapshot, false); - this.f1589c = obtainStyledAttributes.getBoolean(R.c.CameraView_Layout_layout_drawOnVideoSnapshot, false); + this.f1540c = obtainStyledAttributes.getBoolean(R.c.CameraView_Layout_layout_drawOnVideoSnapshot, false); } finally { obtainStyledAttributes.recycle(); } } @VisibleForTesting - public boolean a(@NonNull a.EnumC0172a aVar) { - return (aVar == a.EnumC0172a.PREVIEW && this.a) || (aVar == a.EnumC0172a.VIDEO_SNAPSHOT && this.f1589c) || (aVar == a.EnumC0172a.PICTURE_SNAPSHOT && this.b); + public boolean a(@NonNull a.EnumC0171a aVar) { + return (aVar == a.EnumC0171a.PREVIEW && this.a) || (aVar == a.EnumC0171a.VIDEO_SNAPSHOT && this.f1540c) || (aVar == a.EnumC0171a.PICTURE_SNAPSHOT && this.b); } @Override // java.lang.Object @NonNull public String toString() { StringBuilder sb = new StringBuilder(); - c.d.b.a.a.f0(a.class, sb, "[drawOnPreview:"); + c.d.b.a.a.i0(a.class, sb, "[drawOnPreview:"); sb.append(this.a); sb.append(",drawOnPictureSnapshot:"); sb.append(this.b); sb.append(",drawOnVideoSnapshot:"); - return c.d.b.a.a.K(sb, this.f1589c, "]"); + return c.d.b.a.a.L(sb, this.f1540c, "]"); } } @@ -69,7 +69,7 @@ public class c extends FrameLayout implements a { setWillNotDraw(false); } - public void a(@NonNull a.EnumC0172a aVar, @NonNull Canvas canvas) { + public void a(@NonNull a.EnumC0171a aVar, @NonNull Canvas canvas) { synchronized (this) { this.k = aVar; int ordinal = aVar.ordinal(); @@ -88,7 +88,7 @@ public class c extends FrameLayout implements a { } } - public boolean b(@NonNull a.EnumC0172a aVar) { + public boolean b(@NonNull a.EnumC0171a aVar) { for (int i2 = 0; i2 < getChildCount(); i2++) { if (((a) getChildAt(i2).getLayoutParams()).a(aVar)) { return true; @@ -106,7 +106,7 @@ public class c extends FrameLayout implements a { @SuppressLint({"MissingSuperCall"}) public void draw(Canvas canvas) { j.a(1, "normal draw called."); - a.EnumC0172a aVar = a.EnumC0172a.PREVIEW; + a.EnumC0171a aVar = a.EnumC0171a.PREVIEW; if (b(aVar)) { a(aVar, canvas); } diff --git a/app/src/main/java/c/o/a/v/a.java b/app/src/main/java/c/o/a/v/a.java index 80c25eb8ff..4656e867de 100644 --- a/app/src/main/java/c/o/a/v/a.java +++ b/app/src/main/java/c/o/a/v/a.java @@ -15,8 +15,8 @@ public class a extends c { /* compiled from: Full1PictureRecorder */ /* renamed from: c.o.a.v.a$a reason: collision with other inner class name */ - public class C0173a implements Camera.ShutterCallback { - public C0173a() { + public class C0172a implements Camera.ShutterCallback { + public C0172a() { } @Override // android.hardware.Camera.ShutterCallback @@ -57,7 +57,7 @@ public class a extends c { } l.a aVar = a.this.i; aVar.f = bArr; - aVar.f1555c = i; + aVar.f1506c = i; c.l.a(1, "take(): starting preview again. ", Thread.currentThread()); if (a.this.n.m.f.f(e.PREVIEW)) { camera.setPreviewCallbackWithBuffer(a.this.n); @@ -80,7 +80,7 @@ public class a extends c { this.n = bVar; this.m = camera; Camera.Parameters parameters = camera.getParameters(); - parameters.setRotation(this.i.f1555c); + parameters.setRotation(this.i.f1506c); camera.setParameters(parameters); } @@ -97,7 +97,7 @@ public class a extends c { this.m.setPreviewCallbackWithBuffer(null); this.n.l1().d(); try { - this.m.takePicture(new C0173a(), null, null, new b()); + this.m.takePicture(new C0172a(), null, null, new b()); bVar.a(1, "take() returned."); } catch (Exception e) { this.k = e; diff --git a/app/src/main/java/c/o/a/v/b.java b/app/src/main/java/c/o/a/v/b.java index b3d736794f..01b34af160 100644 --- a/app/src/main/java/c/o/a/v/b.java +++ b/app/src/main/java/c/o/a/v/b.java @@ -41,10 +41,10 @@ public class b extends c implements ImageReader.OnImageAvailableListener { int i; b bVar = b.this; if (bVar.i.g == j.DNG) { - bVar.q = new DngCreator(((d) cVar).f1562f0, totalCaptureResult); + bVar.q = new DngCreator(((d) cVar).f1513f0, totalCaptureResult); b bVar2 = b.this; DngCreator dngCreator = bVar2.q; - int i2 = bVar2.i.f1555c; + int i2 = bVar2.i.f1506c; int i3 = (i2 + 360) % 360; if (i3 == 0) { i = 1; @@ -55,7 +55,7 @@ public class b extends c implements ImageReader.OnImageAvailableListener { } else if (i3 == 270) { i = 8; } else { - throw new IllegalArgumentException(c.d.b.a.a.l("Invalid orientation: ", i2)); + throw new IllegalArgumentException(c.d.b.a.a.p("Invalid orientation: ", i2)); } dngCreator.setOrientation(i); b bVar3 = b.this; @@ -81,13 +81,13 @@ public class b extends c implements ImageReader.OnImageAvailableListener { @Override // c.o.a.n.o.e public void j(@NonNull c cVar) { - this.f1573c = cVar; + this.f1524c = cVar; b bVar = b.this; bVar.p.addTarget(bVar.o.getSurface()); b bVar2 = b.this; l.a aVar = bVar2.i; if (aVar.g == j.JPEG) { - bVar2.p.set(CaptureRequest.JPEG_ORIENTATION, Integer.valueOf(aVar.f1555c)); + bVar2.p.set(CaptureRequest.JPEG_ORIENTATION, Integer.valueOf(aVar.f1506c)); } b.this.p.setTag(2); try { @@ -108,7 +108,7 @@ public class b extends c implements ImageReader.OnImageAvailableListener { this.p = builder; this.o = imageReader; g b = g.b("FallbackCameraThread"); - g.f1587c = b; + g.f1538c = b; imageReader.setOnImageAvailableListener(this, b.f); } @@ -124,7 +124,7 @@ public class b extends c implements ImageReader.OnImageAvailableListener { buffer.get(bArr); l.a aVar = this.i; aVar.f = bArr; - aVar.f1555c = 0; + aVar.f1506c = 0; try { int attributeInt = new ExifInterface(new ByteArrayInputStream(this.i.f)).getAttributeInt(ExifInterface.TAG_ORIENTATION, 1); l.a aVar2 = this.i; @@ -142,7 +142,7 @@ public class b extends c implements ImageReader.OnImageAvailableListener { i = 270; break; } - aVar2.f1555c = i; + aVar2.f1506c = i; } catch (IOException unused) { } } diff --git a/app/src/main/java/c/o/a/v/d.java b/app/src/main/java/c/o/a/v/d.java index 005632cbd5..d6f7432b7e 100644 --- a/app/src/main/java/c/o/a/v/d.java +++ b/app/src/main/java/c/o/a/v/d.java @@ -34,12 +34,12 @@ public abstract class d { boolean z4 = !z2; CameraView.b bVar = (CameraView.b) ((g) aVar).l; if (z4 && (z3 = (cameraView = CameraView.this).k) && z3) { - if (cameraView.f2935z == null) { - cameraView.f2935z = new MediaActionSound(); + if (cameraView.f2501z == null) { + cameraView.f2501z = new MediaActionSound(); } - cameraView.f2935z.play(0); + cameraView.f2501z.play(0); } - CameraView.this.s.post(new h(bVar)); + CameraView.this.f2498s.post(new h(bVar)); } } diff --git a/app/src/main/java/c/o/a/v/e.java b/app/src/main/java/c/o/a/v/e.java index f2374f9f82..14a8e7acdc 100644 --- a/app/src/main/java/c/o/a/v/e.java +++ b/app/src/main/java/c/o/a/v/e.java @@ -4,7 +4,7 @@ import android.graphics.Rect; import android.graphics.YuvImage; import android.hardware.Camera; import androidx.annotation.NonNull; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.o.a.l; import c.o.a.n.b; import c.o.a.r.g; @@ -22,13 +22,13 @@ public class e extends i { /* compiled from: Snapshot1PictureRecorder */ /* renamed from: c.o.a.v.e$a$a reason: collision with other inner class name */ - public class RunnableC0174a implements Runnable { + public class RunnableC0173a implements Runnable { public final /* synthetic */ byte[] i; public final /* synthetic */ c.o.a.x.b j; public final /* synthetic */ int k; public final /* synthetic */ c.o.a.x.b l; - public RunnableC0174a(byte[] bArr, c.o.a.x.b bVar, int i, c.o.a.x.b bVar2) { + public RunnableC0173a(byte[] bArr, c.o.a.x.b bVar, int i, c.o.a.x.b bVar2) { this.i = bArr; this.j = bVar; this.k = i; @@ -80,14 +80,14 @@ public class e extends i { c.o.a.x.b bVar2 = this.l; YuvImage yuvImage = new YuvImage(bArr, i15, bVar2.i, bVar2.j, null); ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); - Rect v = c.v(this.l, e.this.o); - yuvImage.compressToJpeg(v, 90, byteArrayOutputStream); + Rect F = f.F(this.l, e.this.o); + yuvImage.compressToJpeg(F, 90, byteArrayOutputStream); byte[] byteArray = byteArrayOutputStream.toByteArray(); l.a aVar = e.this.i; aVar.f = byteArray; - aVar.d = new c.o.a.x.b(v.width(), v.height()); + aVar.d = new c.o.a.x.b(F.width(), F.height()); e eVar = e.this; - eVar.i.f1555c = 0; + eVar.i.f1506c = 0; eVar.b(); } } @@ -100,11 +100,11 @@ public class e extends i { e.this.a(false); e eVar = e.this; l.a aVar = eVar.i; - int i = aVar.f1555c; + int i = aVar.f1506c; c.o.a.x.b bVar = aVar.d; c.o.a.x.b C = eVar.m.C(c.o.a.n.t.b.SENSOR); if (C != null) { - g.a(new RunnableC0174a(bArr, C, i, bVar)); + g.a(new RunnableC0173a(bArr, C, i, bVar)); camera.setPreviewCallbackWithBuffer(null); camera.setPreviewCallbackWithBuffer(e.this.m); c.o.a.p.a l1 = e.this.m.l1(); diff --git a/app/src/main/java/c/o/a/v/f.java b/app/src/main/java/c/o/a/v/f.java index 0a1fd370e6..4497fdeca2 100644 --- a/app/src/main/java/c/o/a/v/f.java +++ b/app/src/main/java/c/o/a/v/f.java @@ -15,13 +15,13 @@ import java.util.Arrays; /* compiled from: Snapshot2PictureRecorder */ @RequiresApi(21) public class f extends g { - public final c.o.a.n.o.a s; + + /* renamed from: s reason: collision with root package name */ + public final c.o.a.n.o.a f1541s; public final c.o.a.n.o.c t; public final boolean u; public Integer v; - - /* renamed from: w reason: collision with root package name */ - public Integer f1590w; + public Integer w; /* compiled from: Snapshot2PictureRecorder */ public class a extends c.o.a.n.o.f { @@ -56,11 +56,11 @@ public class f extends g { @Override // c.o.a.n.o.e public void j(@NonNull c.o.a.n.o.c cVar) { - this.f1573c = cVar; + this.f1524c = cVar; i.l.a(1, "FlashAction:", "Parameters locked, opening torch."); - ((d) cVar).f1564h0.set(CaptureRequest.FLASH_MODE, 2); + ((d) cVar).f1515h0.set(CaptureRequest.FLASH_MODE, 2); d dVar = (d) cVar; - dVar.f1564h0.set(CaptureRequest.CONTROL_AE_MODE, 1); + dVar.f1515h0.set(CaptureRequest.CONTROL_AE_MODE, 1); dVar.k1(); } } @@ -72,15 +72,15 @@ public class f extends g { @Override // c.o.a.n.o.e public void j(@NonNull c.o.a.n.o.c cVar) { - this.f1573c = cVar; + this.f1524c = cVar; try { i.l.a(1, "ResetFlashAction:", "Reverting the flash changes."); - CaptureRequest.Builder builder = ((d) cVar).f1564h0; + CaptureRequest.Builder builder = ((d) cVar).f1515h0; builder.set(CaptureRequest.CONTROL_AE_MODE, 1); builder.set(CaptureRequest.FLASH_MODE, 0); ((d) cVar).e1(this, builder); builder.set(CaptureRequest.CONTROL_AE_MODE, f.this.v); - builder.set(CaptureRequest.FLASH_MODE, f.this.f1590w); + builder.set(CaptureRequest.FLASH_MODE, f.this.w); ((d) cVar).k1(); } catch (CameraAccessException unused) { } @@ -88,14 +88,14 @@ public class f extends g { } public f(@NonNull l.a aVar, @NonNull d dVar, @NonNull c.o.a.w.e eVar, @NonNull c.o.a.x.a aVar2) { - super(aVar, dVar, eVar, aVar2, dVar.f1567b0); + super(aVar, dVar, eVar, aVar2, dVar.f1519b0); this.t = dVar; boolean z2 = false; Integer num = null; h hVar = new h(Arrays.asList(new i(2500, new c.o.a.n.p.d()), new b(this, null))); - this.s = hVar; + this.f1541s = hVar; hVar.f(new a()); - TotalCaptureResult totalCaptureResult = dVar.f1565i0; + TotalCaptureResult totalCaptureResult = dVar.f1516i0; if (totalCaptureResult == null) { i.l.a(2, "Picture snapshot requested very early, before the first preview frame.", "Metering might not work as intended."); } @@ -104,8 +104,8 @@ public class f extends g { z2 = true; } this.u = z2; - this.v = (Integer) dVar.f1564h0.get(CaptureRequest.CONTROL_AE_MODE); - this.f1590w = (Integer) dVar.f1564h0.get(CaptureRequest.FLASH_MODE); + this.v = (Integer) dVar.f1515h0.get(CaptureRequest.CONTROL_AE_MODE); + this.w = (Integer) dVar.f1515h0.get(CaptureRequest.FLASH_MODE); } public static /* synthetic */ void d(f fVar) { @@ -126,6 +126,6 @@ public class f extends g { return; } i.l.a(1, "take:", "Engine needs flash. Starting action"); - this.s.e(this.t); + this.f1541s.e(this.t); } } diff --git a/app/src/main/java/c/o/a/v/g.java b/app/src/main/java/c/o/a/v/g.java index d4f405335b..845231b801 100644 --- a/app/src/main/java/c/o/a/v/g.java +++ b/app/src/main/java/c/o/a/v/g.java @@ -21,9 +21,7 @@ public class g extends i { public c.o.a.u.a o; public boolean p; public b q; - - /* renamed from: r reason: collision with root package name */ - public c f1591r; + public c r; /* compiled from: SnapshotGlPictureRecorder */ public class a implements f { @@ -42,9 +40,9 @@ public class g extends i { public void b(int i) { g gVar = g.this; Objects.requireNonNull(gVar); - gVar.f1591r = new c(new c.o.b.f.b(33984, 36197, Integer.valueOf(i))); - Rect v = c.i.a.f.e.o.c.v(gVar.i.d, gVar.n); - gVar.i.d = new c.o.a.x.b(v.width(), v.height()); + gVar.r = new c(new c.o.b.f.b(33984, 36197, Integer.valueOf(i))); + Rect F = c.i.a.f.e.o.f.F(gVar.i.d, gVar.n); + gVar.i.d = new c.o.a.x.b(F.width(), F.height()); if (gVar.p) { gVar.q = new b(gVar.o, gVar.i.d); } @@ -52,7 +50,7 @@ public class g extends i { @Override // c.o.a.w.f public void c(@NonNull c.o.a.o.b bVar) { - g.this.f1591r.d = bVar.a(); + g.this.r.d = bVar.a(); } } @@ -63,7 +61,7 @@ public class g extends i { this.n = aVar3; this.o = aVar4; if (aVar4 != null) { - if (((c.o.a.u.c) aVar4).b(a.EnumC0172a.PICTURE_SNAPSHOT)) { + if (((c.o.a.u.c) aVar4).b(a.EnumC0171a.PICTURE_SNAPSHOT)) { z2 = true; this.p = z2; } diff --git a/app/src/main/java/c/o/a/v/h.java b/app/src/main/java/c/o/a/v/h.java index 94f7114862..a0b2b39a61 100644 --- a/app/src/main/java/c/o/a/v/h.java +++ b/app/src/main/java/c/o/a/v/h.java @@ -19,7 +19,7 @@ import c.o.b.a.a; import c.o.b.c.c; import c.o.b.c.d; import c.o.b.c.e; -import c0.z.d.m; +import d0.z.d.m; import java.io.ByteArrayOutputStream; import java.util.Objects; /* compiled from: SnapshotGlPictureRecorder */ @@ -44,7 +44,7 @@ public class h implements Runnable { r0 = move-exception; */ /* JADX WARNING: Code restructure failed: missing block: B:57:0x01f8, code lost: - c0.y.b.closeFinally(r4, r0); + d0.y.b.closeFinally(r4, r0); */ /* JADX WARNING: Code restructure failed: missing block: B:58:0x01fc, code lost: throw r0; @@ -65,7 +65,7 @@ public class h implements Runnable { surfaceTexture2.setDefaultBufferSize(bVar.i, bVar.j); a aVar = new a(eGLContext, 1); c.o.b.e.b bVar2 = new c.o.b.e.b(aVar, surfaceTexture2); - a aVar2 = bVar2.f1600c; + a aVar2 = bVar2.f1550c; e eVar = bVar2.d; Objects.requireNonNull(aVar2); m.checkNotNullParameter(eVar, "eglSurface"); @@ -77,17 +77,17 @@ public class h implements Runnable { EGLDisplay eGLDisplay = cVar.a; EGLSurface eGLSurface = eVar.a; if (EGL14.eglMakeCurrent(eGLDisplay, eGLSurface, eGLSurface, bVar3.a)) { - float[] fArr = gVar.f1591r.b; + float[] fArr = gVar.r.b; surfaceTexture.getTransformMatrix(fArr); Matrix.translateM(fArr, 0, (1.0f - f) / 2.0f, (1.0f - f2) / 2.0f, 0.0f); Matrix.scaleM(fArr, 0, f, f2, 1.0f); Matrix.translateM(fArr, 0, 0.5f, 0.5f, 0.0f); - Matrix.rotateM(fArr, 0, (float) (i + gVar.i.f1555c), 0.0f, 0.0f, 1.0f); + Matrix.rotateM(fArr, 0, (float) (i + gVar.i.f1506c), 0.0f, 0.0f, 1.0f); Matrix.scaleM(fArr, 0, 1.0f, -1.0f, 1.0f); Matrix.translateM(fArr, 0, -0.5f, -0.5f, 0.0f); if (gVar.p) { c.o.a.u.b bVar4 = gVar.q; - a.EnumC0172a aVar3 = a.EnumC0172a.PICTURE_SNAPSHOT; + a.EnumC0171a aVar3 = a.EnumC0171a.PICTURE_SNAPSHOT; Objects.requireNonNull(bVar4); try { Canvas lockCanvas = bVar4.d.lockCanvas(null); @@ -99,18 +99,18 @@ public class h implements Runnable { } synchronized (bVar4.g) { GLES20.glBindTexture(36197, bVar4.f.a); - bVar4.f1588c.updateTexImage(); + bVar4.f1539c.updateTexImage(); } - bVar4.f1588c.getTransformMatrix(bVar4.e.b); + bVar4.f1539c.getTransformMatrix(bVar4.e.b); Matrix.translateM(gVar.q.e.b, 0, 0.5f, 0.5f, 0.0f); - Matrix.rotateM(gVar.q.e.b, 0, (float) gVar.i.f1555c, 0.0f, 0.0f, 1.0f); + Matrix.rotateM(gVar.q.e.b, 0, (float) gVar.i.f1506c, 0.0f, 0.0f, 1.0f); Matrix.scaleM(gVar.q.e.b, 0, 1.0f, -1.0f, 1.0f); Matrix.translateM(gVar.q.e.b, 0, -0.5f, -0.5f, 0.0f); } - gVar.i.f1555c = 0; + gVar.i.f1506c = 0; long timestamp = surfaceTexture.getTimestamp() / 1000; i.l.a(1, "takeFrame:", "timestampUs:", Long.valueOf(timestamp)); - gVar.f1591r.a(timestamp); + gVar.r.a(timestamp); if (gVar.p) { c.o.a.u.b bVar5 = gVar.q; Objects.requireNonNull(bVar5); @@ -129,17 +129,17 @@ public class h implements Runnable { bVar2.a(byteArrayOutputStream, compressFormat); byte[] byteArray = byteArrayOutputStream.toByteArray(); m.checkNotNullExpressionValue(byteArray, "it.toByteArray()"); - c0.y.b.closeFinally(byteArrayOutputStream, null); + d0.y.b.closeFinally(byteArrayOutputStream, null); aVar4.f = byteArray; - c.o.b.a.a aVar5 = bVar2.f1600c; + c.o.b.a.a aVar5 = bVar2.f1550c; e eVar2 = bVar2.d; Objects.requireNonNull(aVar5); m.checkNotNullParameter(eVar2, "eglSurface"); EGL14.eglDestroySurface(aVar5.a.a, eVar2.a); - bVar2.d = d.f1595c; + bVar2.d = d.f1545c; bVar2.b = -1; bVar2.a = -1; - gVar.f1591r.b(); + gVar.r.b(); surfaceTexture2.release(); if (gVar.p) { c.o.a.u.b bVar6 = gVar.q; @@ -150,10 +150,10 @@ public class h implements Runnable { } else { r3 = 0; } - SurfaceTexture surfaceTexture3 = bVar6.f1588c; + SurfaceTexture surfaceTexture3 = bVar6.f1539c; if (surfaceTexture3 != null) { surfaceTexture3.release(); - bVar6.f1588c = r3; + bVar6.f1539c = r3; } Surface surface = bVar6.d; if (surface != null) { diff --git a/app/src/main/java/c/o/a/w/a.java b/app/src/main/java/c/o/a/w/a.java index 41b1f4e1d8..74b79fbddb 100644 --- a/app/src/main/java/c/o/a/w/a.java +++ b/app/src/main/java/c/o/a/w/a.java @@ -22,7 +22,7 @@ public abstract class a { public c b; /* renamed from: c reason: collision with root package name */ - public T f1592c; + public T f1542c; public boolean d; public int e; public int f; @@ -32,10 +32,10 @@ public abstract class a { /* compiled from: CameraPreview */ /* renamed from: c.o.a.w.a$a reason: collision with other inner class name */ - public class RunnableC0175a implements Runnable { + public class RunnableC0174a implements Runnable { public final /* synthetic */ TaskCompletionSource i; - public RunnableC0175a(TaskCompletionSource taskCompletionSource) { + public RunnableC0174a(TaskCompletionSource taskCompletionSource) { this.i = taskCompletionSource; } @@ -60,7 +60,7 @@ public abstract class a { } public a(@NonNull Context context, @NonNull ViewGroup viewGroup) { - this.f1592c = n(context, viewGroup); + this.f1542c = n(context, viewGroup); } public void e(@Nullable b bVar) { @@ -144,9 +144,9 @@ public abstract class a { } Handler handler = new Handler(Looper.getMainLooper()); TaskCompletionSource taskCompletionSource = new TaskCompletionSource(); - handler.post(new RunnableC0175a(taskCompletionSource)); + handler.post(new RunnableC0174a(taskCompletionSource)); try { - c.i.a.f.e.o.c.c(taskCompletionSource.a); + c.i.a.f.e.o.f.g(taskCompletionSource.a); } catch (Exception unused) { } } diff --git a/app/src/main/java/c/o/a/w/d.java b/app/src/main/java/c/o/a/w/d.java index 7185666984..4a5b206640 100644 --- a/app/src/main/java/c/o/a/w/d.java +++ b/app/src/main/java/c/o/a/w/d.java @@ -95,7 +95,7 @@ public class d extends a implements b, e { @Override // android.graphics.SurfaceTexture.OnFrameAvailableListener public void onFrameAvailable(SurfaceTexture surfaceTexture) { - ((GLSurfaceView) d.this.f1592c).requestRender(); + ((GLSurfaceView) d.this.f1542c).requestRender(); } } @@ -155,7 +155,7 @@ public class d extends a implements b, e { cVar.d = dVar2.q; int i = cVar.a.a; dVar2.k = new SurfaceTexture(i); - ((GLSurfaceView) d.this.f1592c).queueEvent(new a(i)); + ((GLSurfaceView) d.this.f1542c).queueEvent(new a(i)); d.this.k.setOnFrameAvailableListener(new b()); } } @@ -170,12 +170,12 @@ public class d extends a implements b, e { if (m()) { bVar.k(this.e, this.f); } - ((GLSurfaceView) this.f1592c).queueEvent(new b(bVar)); + ((GLSurfaceView) this.f1542c).queueEvent(new b(bVar)); } @Override // c.o.a.w.e public void b(@NonNull f fVar) { - ((GLSurfaceView) this.f1592c).queueEvent(new a(fVar)); + ((GLSurfaceView) this.f1542c).queueEvent(new a(fVar)); } @Override // c.o.a.w.b @@ -208,7 +208,7 @@ public class d extends a implements b, e { this.d = f2 > 1.02f || f > 1.02f; this.n = 1.0f / f2; this.o = 1.0f / f; - ((GLSurfaceView) this.f1592c).requestRender(); + ((GLSurfaceView) this.f1542c).requestRender(); } } @@ -255,11 +255,11 @@ public class d extends a implements b, e { @Override // c.o.a.w.a public void p() { - ((GLSurfaceView) this.f1592c).onPause(); + ((GLSurfaceView) this.f1542c).onPause(); } @Override // c.o.a.w.a public void q() { - ((GLSurfaceView) this.f1592c).onResume(); + ((GLSurfaceView) this.f1542c).onResume(); } } diff --git a/app/src/main/java/c/o/a/w/h.java b/app/src/main/java/c/o/a/w/h.java index 69ec5cadd9..3d87906bed 100644 --- a/app/src/main/java/c/o/a/w/h.java +++ b/app/src/main/java/c/o/a/w/h.java @@ -23,7 +23,7 @@ public class h extends a { @Override // c.o.a.w.a @NonNull public SurfaceHolder i() { - return ((SurfaceView) this.f1592c).getHolder(); + return ((SurfaceView) this.f1542c).getHolder(); } @Override // c.o.a.w.a diff --git a/app/src/main/java/c/o/a/w/j.java b/app/src/main/java/c/o/a/w/j.java index 1f41814da5..a72ca4e3d6 100644 --- a/app/src/main/java/c/o/a/w/j.java +++ b/app/src/main/java/c/o/a/w/j.java @@ -9,7 +9,7 @@ import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.o.a.w.a; import com.google.android.gms.tasks.TaskCompletionSource; import com.google.android.material.snackbar.BaseTransientBottomBar; @@ -51,8 +51,8 @@ public class j extends a { f4 = f3.i() / f2.i(); f = 1.0f; } - ((TextureView) j.this.f1592c).setScaleX(f4); - ((TextureView) j.this.f1592c).setScaleY(f); + ((TextureView) j.this.f1542c).setScaleX(f4); + ((TextureView) j.this.f1542c).setScaleY(f); j.this.d = f4 > 1.02f || f > 1.02f; c.o.a.b bVar2 = a.a; bVar2.a(1, "crop:", "applied scaleX=", Float.valueOf(f4)); @@ -87,7 +87,7 @@ public class j extends a { matrix.postScale(f3, 1.0f / f3, f, f2); } matrix.postRotate((float) this.i, f, f2); - ((TextureView) j.this.f1592c).setTransform(matrix); + ((TextureView) j.this.f1542c).setTransform(matrix); this.j.a.t(null); } } @@ -98,14 +98,14 @@ public class j extends a { @Override // c.o.a.w.a public void e(@Nullable a.b bVar) { - ((TextureView) this.f1592c).post(new a(null)); + ((TextureView) this.f1542c).post(new a(null)); } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // c.o.a.w.a @NonNull public SurfaceTexture i() { - return ((TextureView) this.f1592c).getSurfaceTexture(); + return ((TextureView) this.f1542c).getSurfaceTexture(); } @Override // c.o.a.w.a @@ -136,9 +136,9 @@ public class j extends a { public void r(int i) { this.i = i; TaskCompletionSource taskCompletionSource = new TaskCompletionSource(); - ((TextureView) this.f1592c).post(new b(i, taskCompletionSource)); + ((TextureView) this.f1542c).post(new b(i, taskCompletionSource)); try { - c.c(taskCompletionSource.a); + f.g(taskCompletionSource.a); } catch (InterruptedException | ExecutionException unused) { } } diff --git a/app/src/main/java/c/o/a/x/i.java b/app/src/main/java/c/o/a/x/i.java index bb4a72ebdd..fc9808cbc3 100644 --- a/app/src/main/java/c/o/a/x/i.java +++ b/app/src/main/java/c/o/a/x/i.java @@ -1,13 +1,13 @@ package c.o.a.x; import androidx.annotation.NonNull; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import java.util.List; /* compiled from: SizeSelectors */ public class i implements c { public c[] a; - public i(c[] cVarArr, c.a aVar) { + public i(c[] cVarArr, f.a aVar) { this.a = cVarArr; } diff --git a/app/src/main/java/c/o/a/x/k.java b/app/src/main/java/c/o/a/x/k.java index b18f5a4015..b6c99b7dc7 100644 --- a/app/src/main/java/c/o/a/x/k.java +++ b/app/src/main/java/c/o/a/x/k.java @@ -1,14 +1,14 @@ package c.o.a.x; import androidx.annotation.NonNull; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import java.util.ArrayList; import java.util.List; /* compiled from: SizeSelectors */ public class k implements c { public j a; - public k(j jVar, c.a aVar) { + public k(j jVar, f.a aVar) { this.a = jVar; } diff --git a/app/src/main/java/c/o/a/x/l.java b/app/src/main/java/c/o/a/x/l.java index 803ba822d7..dda4d669b5 100644 --- a/app/src/main/java/c/o/a/x/l.java +++ b/app/src/main/java/c/o/a/x/l.java @@ -1,14 +1,14 @@ package c.o.a.x; import androidx.annotation.NonNull; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import java.util.ArrayList; import java.util.List; /* compiled from: SizeSelectors */ public class l implements c { public c[] a; - public l(c[] cVarArr, c.a aVar) { + public l(c[] cVarArr, f.a aVar) { this.a = cVarArr; } diff --git a/app/src/main/java/c/o/b/a/a.java b/app/src/main/java/c/o/b/a/a.java index 50e4445a79..f19178db20 100644 --- a/app/src/main/java/c/o/b/a/a.java +++ b/app/src/main/java/c/o/b/a/a.java @@ -18,7 +18,7 @@ public final class a extends c { c cVar = this.a; c cVar2 = d.b; if (cVar != cVar2) { - e eVar = d.f1595c; + e eVar = d.f1545c; b bVar = d.a; EGLDisplay eGLDisplay = cVar.a; EGLSurface eGLSurface = eVar.a; @@ -29,7 +29,7 @@ public final class a extends c { } this.a = cVar2; this.b = d.a; - this.f1593c = null; + this.f1543c = null; } public final void finalize() { diff --git a/app/src/main/java/c/o/b/a/b.java b/app/src/main/java/c/o/b/a/b.java index ef34217f85..d2c181b89f 100644 --- a/app/src/main/java/c/o/b/a/b.java +++ b/app/src/main/java/c/o/b/a/b.java @@ -6,9 +6,9 @@ import android.util.Log; import c.o.b.c.a; import c.o.b.c.c; import c.o.b.c.d; -import c0.t.c0; -import c0.t.k; -import c0.z.d.m; +import d0.t.c0; +import d0.t.k; +import d0.z.d.m; import java.util.Iterator; import org.webrtc.EglBase; /* compiled from: EglNativeConfigChooser.kt */ @@ -27,8 +27,8 @@ public class b { iArr[6] = d.o; iArr[7] = 8; iArr[8] = d.p; - iArr[9] = d.q | d.f1596r; - iArr[10] = d.s; + iArr[9] = d.q | d.r; + iArr[10] = d.f1546s; iArr[11] = i2; iArr[12] = z2 ? EglBase.EGL_RECORDABLE_ANDROID : d.e; iArr[13] = z2 ? 1 : 0; diff --git a/app/src/main/java/c/o/b/a/c.java b/app/src/main/java/c/o/b/a/c.java index 7fdc14e1f0..991b440d10 100644 --- a/app/src/main/java/c/o/b/a/c.java +++ b/app/src/main/java/c/o/b/a/c.java @@ -6,14 +6,14 @@ import c.o.b.c.a; import c.o.b.c.b; import c.o.b.c.d; import c.o.b.c.e; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: EglNativeCore.kt */ public class c { public c.o.b.c.c a; public b b = d.a; /* renamed from: c reason: collision with root package name */ - public a f1593c; + public a f1543c; public c(b bVar, int i) { a a; @@ -32,7 +32,7 @@ public class c { b bVar3 = new b(EGL14.eglCreateContext(this.a.a, a.a, bVar.a, new int[]{d.i, 3, d.e}, 0)); try { d.a("eglCreateContext (3)"); - this.f1593c = a; + this.f1543c = a; this.b = bVar3; } catch (Exception unused) { } @@ -42,7 +42,7 @@ public class c { if (a2 != null) { b bVar4 = new b(EGL14.eglCreateContext(this.a.a, a2.a, bVar.a, new int[]{d.i, 2, d.e}, 0)); d.a("eglCreateContext (2)"); - this.f1593c = a2; + this.f1543c = a2; this.b = bVar4; return; } diff --git a/app/src/main/java/c/o/b/a/d.java b/app/src/main/java/c/o/b/a/d.java index 8794a7a6c4..caa9f9b9e3 100644 --- a/app/src/main/java/c/o/b/a/d.java +++ b/app/src/main/java/c/o/b/a/d.java @@ -7,8 +7,8 @@ import android.opengl.Matrix; import android.util.Log; import c.d.b.a.a; import c.o.b.c.f; -import c0.p; -import c0.z.d.m; +import d0.p; +import d0.z.d.m; /* compiled from: Egloo.kt */ public final class d { public static final float[] a; @@ -25,11 +25,11 @@ public final class d { m.checkNotNullParameter(str, "opName"); int eglGetError = EGL14.eglGetError(); if (eglGetError != c.o.b.c.d.d) { - StringBuilder U = a.U("Error during ", str, ": EGL error 0x"); + StringBuilder W = a.W("Error during ", str, ": EGL error 0x"); String hexString = Integer.toHexString(eglGetError); m.checkNotNullExpressionValue(hexString, "Integer.toHexString(value)"); - U.append(hexString); - String sb = U.toString(); + W.append(hexString); + String sb = W.toString(); Log.e("Egloo", sb); throw new RuntimeException(sb); } @@ -37,18 +37,18 @@ public final class d { public static final void b(String str) { m.checkNotNullParameter(str, "opName"); - int r0 = p.m10constructorimpl(GLES20.glGetError()); + int r0 = p.m80constructorimpl(GLES20.glGetError()); int i = f.a; if (r0 != 0) { - StringBuilder U = a.U("Error during ", str, ": glError 0x"); + StringBuilder W = a.W("Error during ", str, ": glError 0x"); String hexString = Integer.toHexString(r0); m.checkNotNullExpressionValue(hexString, "Integer.toHexString(value)"); - U.append(hexString); - U.append(": "); + W.append(hexString); + W.append(": "); String gluErrorString = GLU.gluErrorString(r0); m.checkNotNullExpressionValue(gluErrorString, "GLU.gluErrorString(value)"); - U.append(gluErrorString); - String sb = U.toString(); + W.append(gluErrorString); + String sb = W.toString(); Log.e("Egloo", sb); throw new RuntimeException(sb); } diff --git a/app/src/main/java/c/o/b/b/b.java b/app/src/main/java/c/o/b/b/b.java index 4e49a4eed0..551b6dfe6a 100644 --- a/app/src/main/java/c/o/b/b/b.java +++ b/app/src/main/java/c/o/b/b/b.java @@ -1,11 +1,11 @@ package c.o.b.b; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.o.b.a.d; import java.nio.FloatBuffer; /* compiled from: GlDrawable.kt */ public abstract class b { - public final float[] a = c.X(d.a); + public final float[] a = f.z0(d.a); public abstract void a(); diff --git a/app/src/main/java/c/o/b/b/c.java b/app/src/main/java/c/o/b/b/c.java index 4647dbdd6c..edbbc49aaf 100644 --- a/app/src/main/java/c/o/b/b/c.java +++ b/app/src/main/java/c/o/b/b/c.java @@ -1,28 +1,28 @@ package c.o.b.b; import android.opengl.GLES20; +import c.i.a.f.e.o.f; import c.o.b.a.d; -import c.o.b.c.f; import java.nio.FloatBuffer; /* compiled from: GlRect.kt */ public class c extends a { /* renamed from: c reason: collision with root package name */ - public static final float[] f1594c = {-1.0f, -1.0f, 1.0f, -1.0f, -1.0f, 1.0f, 1.0f, 1.0f}; + public static final float[] f1544c = {-1.0f, -1.0f, 1.0f, -1.0f, -1.0f, 1.0f, 1.0f, 1.0f}; public FloatBuffer d; public c() { - float[] fArr = f1594c; - FloatBuffer D = c.i.a.f.e.o.c.D(fArr.length); - D.put(fArr); - D.clear(); - this.d = D; + float[] fArr = f1544c; + FloatBuffer P = f.P(fArr.length); + P.put(fArr); + P.clear(); + this.d = P; } @Override // c.o.b.b.b public void a() { d.b("glDrawArrays start"); - GLES20.glDrawArrays(f.b, 0, this.d.limit() / this.b); + GLES20.glDrawArrays(c.o.b.c.f.b, 0, this.d.limit() / this.b); d.b("glDrawArrays end"); } diff --git a/app/src/main/java/c/o/b/c/a.java b/app/src/main/java/c/o/b/c/a.java index 1f4f15c322..f5db096a08 100644 --- a/app/src/main/java/c/o/b/c/a.java +++ b/app/src/main/java/c/o/b/c/a.java @@ -1,7 +1,7 @@ package c.o.b.c; import android.opengl.EGLConfig; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: egl.kt */ public final class a { public final EGLConfig a; @@ -27,9 +27,9 @@ public final class a { } public String toString() { - StringBuilder O = c.d.b.a.a.O("EglConfig(native="); - O.append(this.a); - O.append(")"); - return O.toString(); + StringBuilder R = c.d.b.a.a.R("EglConfig(native="); + R.append(this.a); + R.append(")"); + return R.toString(); } } diff --git a/app/src/main/java/c/o/b/c/b.java b/app/src/main/java/c/o/b/c/b.java index d83e8cbf31..bcb0116154 100644 --- a/app/src/main/java/c/o/b/c/b.java +++ b/app/src/main/java/c/o/b/c/b.java @@ -2,7 +2,7 @@ package c.o.b.c; import android.opengl.EGLContext; import c.d.b.a.a; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: egl.kt */ public final class b { public final EGLContext a; @@ -27,9 +27,9 @@ public final class b { } public String toString() { - StringBuilder O = a.O("EglContext(native="); - O.append(this.a); - O.append(")"); - return O.toString(); + StringBuilder R = a.R("EglContext(native="); + R.append(this.a); + R.append(")"); + return R.toString(); } } diff --git a/app/src/main/java/c/o/b/c/c.java b/app/src/main/java/c/o/b/c/c.java index 9edc16a651..60cc7f3d42 100644 --- a/app/src/main/java/c/o/b/c/c.java +++ b/app/src/main/java/c/o/b/c/c.java @@ -2,7 +2,7 @@ package c.o.b.c; import android.opengl.EGLDisplay; import c.d.b.a.a; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: egl.kt */ public final class c { public final EGLDisplay a; @@ -27,9 +27,9 @@ public final class c { } public String toString() { - StringBuilder O = a.O("EglDisplay(native="); - O.append(this.a); - O.append(")"); - return O.toString(); + StringBuilder R = a.R("EglDisplay(native="); + R.append(this.a); + R.append(")"); + return R.toString(); } } diff --git a/app/src/main/java/c/o/b/c/d.java b/app/src/main/java/c/o/b/c/d.java index 452858f432..2d32fe9d8a 100644 --- a/app/src/main/java/c/o/b/c/d.java +++ b/app/src/main/java/c/o/b/c/d.java @@ -7,7 +7,7 @@ public final class d { public static final c b = new c(EGL14.EGL_NO_DISPLAY); /* renamed from: c reason: collision with root package name */ - public static final e f1595c = new e(EGL14.EGL_NO_SURFACE); + public static final e f1545c = new e(EGL14.EGL_NO_SURFACE); public static final int d = 12288; public static final int e = 12344; public static final int f = 12375; @@ -22,8 +22,8 @@ public final class d { public static final int o = 12321; public static final int p = 12339; public static final int q = 4; + public static final int r = 1; - /* renamed from: r reason: collision with root package name */ - public static final int f1596r = 1; - public static final int s = 12352; + /* renamed from: s reason: collision with root package name */ + public static final int f1546s = 12352; } diff --git a/app/src/main/java/c/o/b/c/e.java b/app/src/main/java/c/o/b/c/e.java index 78b2aa4370..05ee794b07 100644 --- a/app/src/main/java/c/o/b/c/e.java +++ b/app/src/main/java/c/o/b/c/e.java @@ -2,7 +2,7 @@ package c.o.b.c; import android.opengl.EGLSurface; import c.d.b.a.a; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: egl.kt */ public final class e { public final EGLSurface a; @@ -27,9 +27,9 @@ public final class e { } public String toString() { - StringBuilder O = a.O("EglSurface(native="); - O.append(this.a); - O.append(")"); - return O.toString(); + StringBuilder R = a.R("EglSurface(native="); + R.append(this.a); + R.append(")"); + return R.toString(); } } diff --git a/app/src/main/java/c/o/b/c/f.java b/app/src/main/java/c/o/b/c/f.java index eeedb96a5f..e1d574a927 100644 --- a/app/src/main/java/c/o/b/c/f.java +++ b/app/src/main/java/c/o/b/c/f.java @@ -1,35 +1,35 @@ package c.o.b.c; import androidx.work.Data; -import c0.p; +import d0.p; /* compiled from: gl.kt */ public final class f { - public static final int a = p.m10constructorimpl(5126); - public static final int b = p.m10constructorimpl(5); + public static final int a = p.m80constructorimpl(5126); + public static final int b = p.m80constructorimpl(5); /* renamed from: c reason: collision with root package name */ - public static final int f1597c = p.m10constructorimpl(33984); - public static final int d = p.m10constructorimpl(36197); - public static final int e = p.m10constructorimpl(10241); - public static final int f = p.m10constructorimpl(Data.MAX_DATA_BYTES); - public static final int g = p.m10constructorimpl(10242); - public static final int h = p.m10constructorimpl(10243); + public static final int f1547c = p.m80constructorimpl(33984); + public static final int d = p.m80constructorimpl(36197); + public static final int e = p.m80constructorimpl(10241); + public static final int f = p.m80constructorimpl(Data.MAX_DATA_BYTES); + public static final int g = p.m80constructorimpl(10242); + public static final int h = p.m80constructorimpl(10243); public static final int i = 33071; public static final float j = ((float) 9728); public static final float k = ((float) 9729); - public static final int l = p.m10constructorimpl(35713); - public static final int m = p.m10constructorimpl(35714); - public static final int n = p.m10constructorimpl(35633); - public static final int o = p.m10constructorimpl(35632); + public static final int l = p.m80constructorimpl(35713); + public static final int m = p.m80constructorimpl(35714); + public static final int n = p.m80constructorimpl(35633); + public static final int o = p.m80constructorimpl(35632); static { - p.m10constructorimpl(37074); - p.m10constructorimpl(5121); - p.m10constructorimpl(6408); - p.m10constructorimpl(4); - p.m10constructorimpl(6); - p.m10constructorimpl(36160); - p.m10constructorimpl(36053); - p.m10constructorimpl(36064); + p.m80constructorimpl(37074); + p.m80constructorimpl(5121); + p.m80constructorimpl(6408); + p.m80constructorimpl(4); + p.m80constructorimpl(6); + p.m80constructorimpl(36160); + p.m80constructorimpl(36053); + p.m80constructorimpl(36064); } } diff --git a/app/src/main/java/c/o/b/d/a.java b/app/src/main/java/c/o/b/d/a.java index 799b266f92..e905bca08b 100644 --- a/app/src/main/java/c/o/b/d/a.java +++ b/app/src/main/java/c/o/b/d/a.java @@ -1,19 +1,19 @@ package c.o.b.d; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: GlProgram.kt */ public class a { public boolean a; public final int b; /* renamed from: c reason: collision with root package name */ - public final boolean f1598c; + public final boolean f1548c; public final c[] d; public a(int i, boolean z2, c... cVarArr) { m.checkNotNullParameter(cVarArr, "shaders"); this.b = i; - this.f1598c = z2; + this.f1548c = z2; this.d = cVarArr; } } diff --git a/app/src/main/java/c/o/b/d/b.java b/app/src/main/java/c/o/b/d/b.java index 12329c2d1c..bac3a9c4f6 100644 --- a/app/src/main/java/c/o/b/d/b.java +++ b/app/src/main/java/c/o/b/d/b.java @@ -3,8 +3,8 @@ package c.o.b.d; import android.opengl.GLES20; import android.util.Log; import c.o.b.a.d; -import c0.p; -import c0.z.d.m; +import d0.p; +import d0.z.d.m; import kotlin.NoWhenBranchMatchedException; import kotlin.jvm.internal.DefaultConstructorMarker; /* compiled from: GlProgramLocation.kt */ @@ -13,16 +13,16 @@ public final class b { public final int b; /* renamed from: c reason: collision with root package name */ - public final String f1599c; + public final String f1549c; public b(int i, int i2, String str, DefaultConstructorMarker defaultConstructorMarker) { int i3; - this.f1599c = str; + this.f1549c = str; int h = c.c.a.y.b.h(i2); if (h == 0) { - i3 = GLES20.glGetAttribLocation(p.m10constructorimpl(i), str); + i3 = GLES20.glGetAttribLocation(p.m80constructorimpl(i), str); } else if (h == 1) { - i3 = GLES20.glGetUniformLocation(p.m10constructorimpl(i), str); + i3 = GLES20.glGetUniformLocation(p.m80constructorimpl(i), str); } else { throw new NoWhenBranchMatchedException(); } @@ -30,7 +30,7 @@ public final class b { float[] fArr = d.a; m.checkNotNullParameter(str, "label"); if (i3 >= 0) { - this.b = p.m10constructorimpl(i3); + this.b = p.m80constructorimpl(i3); return; } String str2 = "Unable to locate " + str + " in program"; diff --git a/app/src/main/java/c/o/b/d/c.java b/app/src/main/java/c/o/b/d/c.java index 039559a893..500300331b 100644 --- a/app/src/main/java/c/o/b/d/c.java +++ b/app/src/main/java/c/o/b/d/c.java @@ -3,8 +3,8 @@ package c.o.b.d; import android.opengl.GLES20; import c.o.b.a.d; import c.o.b.c.f; -import c0.p; -import c0.z.d.m; +import d0.p; +import d0.z.d.m; import kotlin.jvm.internal.DefaultConstructorMarker; /* compiled from: GlShader.kt */ public final class c { @@ -19,7 +19,7 @@ public final class c { public c(int i, String str) { m.checkNotNullParameter(str, "source"); - int r0 = p.m10constructorimpl(GLES20.glCreateShader(p.m10constructorimpl(i))); + int r0 = p.m80constructorimpl(GLES20.glCreateShader(p.m80constructorimpl(i))); d.b("glCreateShader type=" + i); GLES20.glShaderSource(r0, str); GLES20.glCompileShader(r0); @@ -29,11 +29,11 @@ public final class c { this.b = r0; return; } - StringBuilder P = c.d.b.a.a.P("Could not compile shader ", i, ": '"); - P.append(GLES20.glGetShaderInfoLog(r0)); - P.append("' source: "); - P.append(str); - String sb = P.toString(); + StringBuilder S = c.d.b.a.a.S("Could not compile shader ", i, ": '"); + S.append(GLES20.glGetShaderInfoLog(r0)); + S.append("' source: "); + S.append(str); + String sb = S.toString(); GLES20.glDeleteShader(r0); throw new RuntimeException(sb); } diff --git a/app/src/main/java/c/o/b/d/d.java b/app/src/main/java/c/o/b/d/d.java index df4501a32d..330c396b28 100644 --- a/app/src/main/java/c/o/b/d/d.java +++ b/app/src/main/java/c/o/b/d/d.java @@ -1,14 +1,14 @@ package c.o.b.d; import android.graphics.RectF; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.o.b.b.a; -import c0.z.d.m; import com.discord.models.domain.ModelAuditLogEntry; +import d0.z.d.m; import java.nio.FloatBuffer; /* compiled from: GlTextureProgram.kt */ public class d extends a { - public float[] e = c.X(c.o.b.a.d.a); + public float[] e = f.z0(c.o.b.a.d.a); public final b f; public FloatBuffer g; public final b h; @@ -29,7 +29,7 @@ public class d extends a { int i2 = this.b; m.checkNotNullParameter(str4, ModelAuditLogEntry.CHANGE_KEY_NAME); this.f = new b(i2, 2, str4, null); - this.g = c.D(8); + this.g = f.P(8); m.checkNotNullParameter(str3, ModelAuditLogEntry.CHANGE_KEY_NAME); int i3 = this.b; m.checkNotNullParameter(str3, ModelAuditLogEntry.CHANGE_KEY_NAME); diff --git a/app/src/main/java/c/o/b/e/a.java b/app/src/main/java/c/o/b/e/a.java index 588d6e1bac..22f613d841 100644 --- a/app/src/main/java/c/o/b/e/a.java +++ b/app/src/main/java/c/o/b/e/a.java @@ -6,7 +6,7 @@ import android.opengl.GLES20; import c.o.b.c.b; import c.o.b.c.d; import c.o.b.c.e; -import c0.z.d.m; +import d0.z.d.m; import java.io.OutputStream; import java.nio.ByteBuffer; import java.nio.ByteOrder; @@ -17,7 +17,7 @@ public abstract class a { public int b = -1; /* renamed from: c reason: collision with root package name */ - public c.o.b.a.a f1600c; + public c.o.b.a.a f1550c; public e d; public a(c.o.b.a.a aVar, e eVar) { @@ -25,25 +25,25 @@ public abstract class a { m.checkNotNullParameter(eVar, "eglSurface"); m.checkNotNullParameter(aVar, "eglCore"); m.checkNotNullParameter(eVar, "eglSurface"); - this.f1600c = aVar; + this.f1550c = aVar; this.d = eVar; } public final void a(OutputStream outputStream, Bitmap.CompressFormat compressFormat) { m.checkNotNullParameter(outputStream, "stream"); m.checkNotNullParameter(compressFormat, "format"); - c.o.b.a.a aVar = this.f1600c; + c.o.b.a.a aVar = this.f1550c; e eVar = this.d; Objects.requireNonNull(aVar); m.checkNotNullParameter(eVar, "eglSurface"); if (m.areEqual(aVar.b, new b(EGL14.eglGetCurrentContext())) && m.areEqual(eVar, new e(EGL14.eglGetCurrentSurface(d.h)))) { int i = this.a; if (i < 0) { - i = this.f1600c.a(this.d, d.f); + i = this.f1550c.a(this.d, d.f); } int i2 = this.b; if (i2 < 0) { - i2 = this.f1600c.a(this.d, d.g); + i2 = this.f1550c.a(this.d, d.g); } ByteBuffer allocateDirect = ByteBuffer.allocateDirect(i * i2 * 4); allocateDirect.order(ByteOrder.LITTLE_ENDIAN); diff --git a/app/src/main/java/c/o/b/e/b.java b/app/src/main/java/c/o/b/e/b.java index 402f9d7858..2f5a897f45 100644 --- a/app/src/main/java/c/o/b/e/b.java +++ b/app/src/main/java/c/o/b/e/b.java @@ -6,7 +6,7 @@ import c.o.b.a.a; import c.o.b.c.c; import c.o.b.c.d; import c.o.b.c.e; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: EglWindowSurface.kt */ public class b extends a { /* JADX WARNING: Illegal instructions before constructor call */ @@ -17,11 +17,11 @@ public class b extends a { m.checkNotNullParameter(surfaceTexture, "surface"); int[] iArr = {d.e}; c cVar = aVar.a; - c.o.b.c.a aVar2 = aVar.f1593c; + c.o.b.c.a aVar2 = aVar.f1543c; m.checkNotNull(aVar2); e eVar = new e(EGL14.eglCreateWindowSurface(cVar.a, aVar2.a, surfaceTexture, iArr, 0)); c.o.b.a.d.a("eglCreateWindowSurface"); - if (eVar != d.f1595c) { + if (eVar != d.f1545c) { m.checkNotNullParameter(aVar, "eglCore"); m.checkNotNullParameter(eVar, "eglSurface"); return; diff --git a/app/src/main/java/c/o/b/f/a.java b/app/src/main/java/c/o/b/f/a.java index 66f31bed1e..012f9d83d6 100644 --- a/app/src/main/java/c/o/b/f/a.java +++ b/app/src/main/java/c/o/b/f/a.java @@ -3,8 +3,8 @@ package c.o.b.f; import android.opengl.GLES20; import c.o.b.a.d; import c.o.b.c.f; -import c0.p; -import c0.z.d.o; +import d0.p; +import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: GlTexture.kt */ @@ -22,18 +22,18 @@ public final class a extends o implements Function0 { /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ - public Unit mo17invoke() { + public Unit mo1invoke() { b bVar = this.this$0; if (!(bVar.d == null || bVar.e == null || bVar.f == null || this.$internalFormat == null || bVar.g == null)) { - GLES20.glTexImage2D(p.m10constructorimpl(bVar.f1601c), 0, this.$internalFormat.intValue(), this.this$0.d.intValue(), this.this$0.e.intValue(), 0, p.m10constructorimpl(this.this$0.f.intValue()), p.m10constructorimpl(this.this$0.g.intValue()), null); + GLES20.glTexImage2D(p.m80constructorimpl(bVar.f1551c), 0, this.$internalFormat.intValue(), this.this$0.d.intValue(), this.this$0.e.intValue(), 0, p.m80constructorimpl(this.this$0.f.intValue()), p.m80constructorimpl(this.this$0.g.intValue()), null); } - GLES20.glTexParameterf(p.m10constructorimpl(this.this$0.f1601c), f.e, f.j); - GLES20.glTexParameterf(p.m10constructorimpl(this.this$0.f1601c), f.f, f.k); - int r0 = p.m10constructorimpl(this.this$0.f1601c); + GLES20.glTexParameterf(p.m80constructorimpl(this.this$0.f1551c), f.e, f.j); + GLES20.glTexParameterf(p.m80constructorimpl(this.this$0.f1551c), f.f, f.k); + int r0 = p.m80constructorimpl(this.this$0.f1551c); int i = f.g; int i2 = f.i; GLES20.glTexParameteri(r0, i, i2); - GLES20.glTexParameteri(p.m10constructorimpl(this.this$0.f1601c), f.h, i2); + GLES20.glTexParameteri(p.m80constructorimpl(this.this$0.f1551c), f.h, i2); d.b("glTexParameter"); return Unit.a; } diff --git a/app/src/main/java/c/o/b/f/b.java b/app/src/main/java/c/o/b/f/b.java index b1be4a4220..630bf571a0 100644 --- a/app/src/main/java/c/o/b/f/b.java +++ b/app/src/main/java/c/o/b/f/b.java @@ -3,16 +3,16 @@ package c.o.b.f; import android.opengl.GLES20; import c.o.b.a.d; import c.o.b.c.f; -import c0.p; -import c0.q; -import c0.z.d.m; +import d0.p; +import d0.q; +import d0.z.d.m; /* compiled from: GlTexture.kt */ public final class b { public final int a; public final int b; /* renamed from: c reason: collision with root package name */ - public final int f1601c; + public final int f1551c; public final Integer d; public final Integer e; public final Integer f; @@ -21,7 +21,7 @@ public final class b { public b(int i, int i2, Integer num) { int i3; this.b = i; - this.f1601c = i2; + this.f1551c = i2; this.d = null; this.e = null; this.f = null; @@ -29,18 +29,18 @@ public final class b { if (num != null) { i3 = num.intValue(); } else { - int[] r0 = q.m11constructorimpl(1); - int r1 = q.m14getSizeimpl(r0); + int[] r0 = q.m81constructorimpl(1); + int r1 = q.m84getSizeimpl(r0); int[] iArr = new int[r1]; for (int i4 = 0; i4 < r1; i4++) { - iArr[i4] = q.m13getpVg5ArA(r0, i4); + iArr[i4] = q.m83getpVg5ArA(r0, i4); } GLES20.glGenTextures(1, iArr, 0); for (int i5 = 0; i5 < 1; i5++) { - q.m15setVXSXFK8(r0, i5, p.m10constructorimpl(iArr[i5])); + q.m85setVXSXFK8(r0, i5, p.m80constructorimpl(iArr[i5])); } d.b("glGenTextures"); - i3 = q.m13getpVg5ArA(r0, 0); + i3 = q.m83getpVg5ArA(r0, 0); } this.a = i3; if (num == null) { @@ -48,26 +48,26 @@ public final class b { m.checkNotNullParameter(this, "$this$use"); m.checkNotNullParameter(aVar, "block"); a(); - aVar.mo17invoke(); + aVar.mo1invoke(); b(); } } /* JADX INFO: this call moved to the top of the method (can break code semantics) */ public b(int i, int i2, Integer num, int i3) { - this((i3 & 1) != 0 ? f.f1597c : i, (i3 & 2) != 0 ? f.d : i2, null); + this((i3 & 1) != 0 ? f.f1547c : i, (i3 & 2) != 0 ? f.d : i2, null); int i4 = i3 & 4; } public void a() { - GLES20.glActiveTexture(p.m10constructorimpl(this.b)); - GLES20.glBindTexture(p.m10constructorimpl(this.f1601c), p.m10constructorimpl(this.a)); + GLES20.glActiveTexture(p.m80constructorimpl(this.b)); + GLES20.glBindTexture(p.m80constructorimpl(this.f1551c), p.m80constructorimpl(this.a)); d.b("bind"); } public void b() { - GLES20.glBindTexture(p.m10constructorimpl(this.f1601c), p.m10constructorimpl(0)); - GLES20.glActiveTexture(f.f1597c); + GLES20.glBindTexture(p.m80constructorimpl(this.f1551c), p.m80constructorimpl(0)); + GLES20.glActiveTexture(f.f1547c); d.b("unbind"); } } diff --git a/app/src/main/java/c/p/a/a.java b/app/src/main/java/c/p/a/a.java index 13312fa87b..a63e645078 100644 --- a/app/src/main/java/c/p/a/a.java +++ b/app/src/main/java/c/p/a/a.java @@ -2,7 +2,7 @@ package c.p.a; import android.view.View; import c.p.a.l; -import c0.z.d.m; +import d0.z.d.m; /* compiled from: Alert.kt */ public final class a implements l.a { public final /* synthetic */ b i; diff --git a/app/src/main/java/c/p/a/b.java b/app/src/main/java/c/p/a/b.java index bc45a270d5..475e3a2761 100644 --- a/app/src/main/java/c/p/a/b.java +++ b/app/src/main/java/c/p/a/b.java @@ -43,11 +43,11 @@ import androidx.core.app.NotificationCompat; import androidx.core.content.ContextCompat; import androidx.core.view.ViewCompat; import androidx.core.widget.TextViewCompat; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import c.p.a.l; -import c0.g; -import c0.z.d.m; import com.tapadoo.alerter.R; +import d0.g; +import d0.z.d.m; import java.util.ArrayList; import java.util.HashMap; import java.util.Objects; @@ -68,25 +68,23 @@ public final class b extends FrameLayout implements View.OnClickListener, Animat public boolean o; public boolean p; public boolean q; + public boolean r; - /* renamed from: r reason: collision with root package name */ - public boolean f1602r; - public boolean s; + /* renamed from: s reason: collision with root package name */ + public boolean f1552s; public Runnable t; public boolean u; public ArrayList